OSDN Git Service

* configure.ac: Check for Sun symbol versioning.
[pf3gnuchains/gcc-fork.git] / libgfortran / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Fortran Runtime Library 0.3.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 case $0 in #((
91   *[\\/]* ) as_myself=$0 ;;
92   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95   IFS=$as_save_IFS
96   test -z "$as_dir" && as_dir=.
97     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98   done
99 IFS=$as_save_IFS
100
101      ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106   as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110   exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there.  '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136   emulate sh
137   NULLCMD=:
138   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139   # is contrary to our usage.  Disable this feature.
140   alias -g '\${1+\"\$@\"}'='\"\$@\"'
141   setopt NO_GLOB_SUBST
142 else
143   case \`(set -o) 2>/dev/null\` in #(
144   *posix*) :
145     set -o posix ;; #(
146   *) :
147      ;;
148 esac
149 fi
150 "
151   as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165   exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172
173   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177     PATH=/empty FPATH=/empty; export PATH FPATH
178     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || exit 1"
181   if (eval "$as_required") 2>/dev/null; then :
182   as_have_required=yes
183 else
184   as_have_required=no
185 fi
186   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193   IFS=$as_save_IFS
194   test -z "$as_dir" && as_dir=.
195   as_found=:
196   case $as_dir in #(
197          /*)
198            for as_base in sh bash ksh sh5; do
199              # Try only shells that exist, to save several forks.
200              as_shell=$as_dir/$as_base
201              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203   CONFIG_SHELL=$as_shell as_have_required=yes
204                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205   break 2
206 fi
207 fi
208            done;;
209        esac
210   as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214   CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219       if test "x$CONFIG_SHELL" != x; then :
220   # We cannot yet assume a decent shell, so we have to provide a
221         # neutralization value for shells without unset; and this also
222         # works around shells that cannot unset nonexistent variables.
223         BASH_ENV=/dev/null
224         ENV=/dev/null
225         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226         export CONFIG_SHELL
227         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230     if test x$as_have_required = xno; then :
231   $as_echo "$0: This script requires a shell more modern than all"
232   $as_echo "$0: the shells that I found on your system."
233   if test x${ZSH_VERSION+set} = xset ; then
234     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236   else
237     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241   fi
242   exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260   { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269   return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277   set +e
278   as_fn_set_status $1
279   exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288   case $as_dir in #(
289   -*) as_dir=./$as_dir;;
290   esac
291   test -d "$as_dir" || eval $as_mkdir_p || {
292     as_dirs=
293     while :; do
294       case $as_dir in #(
295       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296       *) as_qdir=$as_dir;;
297       esac
298       as_dirs="'$as_qdir' $as_dirs"
299       as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301          X"$as_dir" : 'X\(//\)[^/]' \| \
302          X"$as_dir" : 'X\(//\)$' \| \
303          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306             s//\1/
307             q
308           }
309           /^X\(\/\/\)[^/].*/{
310             s//\1/
311             q
312           }
313           /^X\(\/\/\)$/{
314             s//\1/
315             q
316           }
317           /^X\(\/\).*/{
318             s//\1/
319             q
320           }
321           s/.*/./; q'`
322       test -d "$as_dir" && break
323     done
324     test -z "$as_dirs" || eval "mkdir $as_dirs"
325   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336   eval 'as_fn_append ()
337   {
338     eval $1+=\$2
339   }'
340 else
341   as_fn_append ()
342   {
343     eval $1=\$$1\$2
344   }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353   eval 'as_fn_arith ()
354   {
355     as_val=$(( $* ))
356   }'
357 else
358   as_fn_arith ()
359   {
360     as_val=`expr "$@" || test $? -eq 1`
361   }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372   as_status=$?; test $as_status -eq 0 && as_status=1
373   if test "$3"; then
374     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376   fi
377   $as_echo "$as_me: error: $1" >&2
378   as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382    test "X`expr 00001 : '.*\(...\)'`" = X001; then
383   as_expr=expr
384 else
385   as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389   as_basename=basename
390 else
391   as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395   as_dirname=dirname
396 else
397   as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402          X"$0" : 'X\(//\)$' \| \
403          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405     sed '/^.*\/\([^/][^/]*\)\/*$/{
406             s//\1/
407             q
408           }
409           /^X\/\(\/\/\)$/{
410             s//\1/
411             q
412           }
413           /^X\/\(\/\).*/{
414             s//\1/
415             q
416           }
417           s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427   as_lineno_1=$LINENO as_lineno_1a=$LINENO
428   as_lineno_2=$LINENO as_lineno_2a=$LINENO
429   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
432   sed -n '
433     p
434     /[$]LINENO/=
435   ' <$as_myself |
436     sed '
437       s/[$]LINENO.*/&-/
438       t lineno
439       b
440       :lineno
441       N
442       :loop
443       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444       t loop
445       s/-\n.*//
446     ' >$as_me.lineno &&
447   chmod +x "$as_me.lineno" ||
448     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450   # Don't try to exec as it changes $[0], causing all sort of problems
451   # (the dirname of $[0] is not the place where we might find the
452   # original and so on.  Autoconf is especially sensitive to this).
453   . "./$as_me.lineno"
454   # Exit status is that of the last command.
455   exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461   case `echo 'xy\c'` in
462   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
463   xy)  ECHO_C='\c';;
464   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
465        ECHO_T=' ';;
466   esac;;
467 *)
468   ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473   rm -f conf$$.dir/conf$$.file
474 else
475   rm -f conf$$.dir
476   mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479   if ln -s conf$$.file conf$$ 2>/dev/null; then
480     as_ln_s='ln -s'
481     # ... but there are two gotchas:
482     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484     # In both cases, we have to default to `cp -p'.
485     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486       as_ln_s='cp -p'
487   elif ln conf$$.file conf$$ 2>/dev/null; then
488     as_ln_s=ln
489   else
490     as_ln_s='cp -p'
491   fi
492 else
493   as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499   as_mkdir_p='mkdir -p "$as_dir"'
500 else
501   test -d ./-p && rmdir ./-p
502   as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506   as_test_x='test -x'
507 else
508   if ls -dL / >/dev/null 2>&1; then
509     as_ls_L_option=L
510   else
511     as_ls_L_option=
512   fi
513   as_test_x='
514     eval sh -c '\''
515       if test -d "$1"; then
516         test -d "$1/.";
517       else
518         case $1 in #(
519         -*)set "./$1";;
520         esac;
521         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522         ???[sx]*):;;*)false;;esac;fi
523     '\'' sh
524   '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='GNU Fortran Runtime Library'
558 PACKAGE_TARNAME='libgfortran'
559 PACKAGE_VERSION='0.3'
560 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
563
564 # Factoring default headers for most tests.
565 ac_includes_default="\
566 #include <stdio.h>
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
569 #endif
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
572 #endif
573 #ifdef STDC_HEADERS
574 # include <stdlib.h>
575 # include <stddef.h>
576 #else
577 # ifdef HAVE_STDLIB_H
578 #  include <stdlib.h>
579 # endif
580 #endif
581 #ifdef HAVE_STRING_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
583 #  include <memory.h>
584 # endif
585 # include <string.h>
586 #endif
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
589 #endif
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
592 #endif
593 #ifdef HAVE_STDINT_H
594 # include <stdint.h>
595 #endif
596 #ifdef HAVE_UNISTD_H
597 # include <unistd.h>
598 #endif"
599
600 ac_subst_vars='am__EXEEXT_FALSE
601 am__EXEEXT_TRUE
602 LTLIBOBJS
603 LIBOBJS
604 IEEE_FLAGS
605 FPU_HOST_HEADER
606 extra_ldflags_libgfortran
607 ac_ct_FC
608 FCFLAGS
609 FC
610 enable_static
611 enable_shared
612 CPP
613 OTOOL64
614 OTOOL
615 LIPO
616 NMEDIT
617 DSYMUTIL
618 OBJDUMP
619 LN_S
620 NM
621 ac_ct_DUMPBIN
622 DUMPBIN
623 LD
624 FGREP
625 EGREP
626 GREP
627 SED
628 LIBTOOL
629 RANLIB
630 AR
631 AS
632 SECTION_FLAGS
633 LIBGFOR_USE_SYMVER_SUN_FALSE
634 LIBGFOR_USE_SYMVER_SUN_TRUE
635 LIBGFOR_USE_SYMVER_GNU_FALSE
636 LIBGFOR_USE_SYMVER_GNU_TRUE
637 LIBGFOR_USE_SYMVER_FALSE
638 LIBGFOR_USE_SYMVER_TRUE
639 AM_CFLAGS
640 AM_FCFLAGS
641 am__fastdepCC_FALSE
642 am__fastdepCC_TRUE
643 CCDEPMODE
644 AMDEPBACKSLASH
645 AMDEP_FALSE
646 AMDEP_TRUE
647 am__quote
648 am__include
649 DEPDIR
650 OBJEXT
651 EXEEXT
652 ac_ct_CC
653 CPPFLAGS
654 LDFLAGS
655 CFLAGS
656 CC
657 toolexeclibdir
658 toolexecdir
659 multi_basedir
660 MAINT
661 MAINTAINER_MODE_FALSE
662 MAINTAINER_MODE_TRUE
663 am__untar
664 am__tar
665 AMTAR
666 am__leading_dot
667 SET_MAKE
668 AWK
669 mkdir_p
670 MKDIR_P
671 INSTALL_STRIP_PROGRAM
672 STRIP
673 install_sh
674 MAKEINFO
675 AUTOHEADER
676 AUTOMAKE
677 AUTOCONF
678 ACLOCAL
679 VERSION
680 PACKAGE
681 CYGPATH_W
682 am__isrc
683 INSTALL_DATA
684 INSTALL_SCRIPT
685 INSTALL_PROGRAM
686 target_os
687 target_vendor
688 target_cpu
689 target
690 host_os
691 host_vendor
692 host_cpu
693 host
694 onestep
695 onestep_FALSE
696 onestep_TRUE
697 target_subdir
698 host_subdir
699 build_subdir
700 build_libsubdir
701 build_os
702 build_vendor
703 build_cpu
704 build
705 target_alias
706 host_alias
707 build_alias
708 LIBS
709 ECHO_T
710 ECHO_N
711 ECHO_C
712 DEFS
713 mandir
714 localedir
715 libdir
716 psdir
717 pdfdir
718 dvidir
719 htmldir
720 infodir
721 docdir
722 oldincludedir
723 includedir
724 localstatedir
725 sharedstatedir
726 sysconfdir
727 datadir
728 datarootdir
729 libexecdir
730 sbindir
731 bindir
732 program_transform_name
733 prefix
734 exec_prefix
735 PACKAGE_URL
736 PACKAGE_BUGREPORT
737 PACKAGE_STRING
738 PACKAGE_VERSION
739 PACKAGE_TARNAME
740 PACKAGE_NAME
741 PATH_SEPARATOR
742 SHELL'
743 ac_subst_files=''
744 ac_user_opts='
745 enable_option_checking
746 with_build_libsubdir
747 enable_version_specific_runtime_libs
748 enable_intermodule
749 enable_maintainer_mode
750 enable_multilib
751 enable_dependency_tracking
752 enable_shared
753 enable_static
754 with_pic
755 enable_fast_install
756 with_gnu_ld
757 enable_libtool_lock
758 enable_largefile
759 '
760       ac_precious_vars='build_alias
761 host_alias
762 target_alias
763 CPP
764 CPPFLAGS
765 FC
766 FCFLAGS
767 LDFLAGS
768 LIBS'
769
770
771 # Initialize some variables set by options.
772 ac_init_help=
773 ac_init_version=false
774 ac_unrecognized_opts=
775 ac_unrecognized_sep=
776 # The variables have the same names as the options, with
777 # dashes changed to underlines.
778 cache_file=/dev/null
779 exec_prefix=NONE
780 no_create=
781 no_recursion=
782 prefix=NONE
783 program_prefix=NONE
784 program_suffix=NONE
785 program_transform_name=s,x,x,
786 silent=
787 site=
788 srcdir=
789 verbose=
790 x_includes=NONE
791 x_libraries=NONE
792
793 # Installation directory options.
794 # These are left unexpanded so users can "make install exec_prefix=/foo"
795 # and all the variables that are supposed to be based on exec_prefix
796 # by default will actually change.
797 # Use braces instead of parens because sh, perl, etc. also accept them.
798 # (The list follows the same order as the GNU Coding Standards.)
799 bindir='${exec_prefix}/bin'
800 sbindir='${exec_prefix}/sbin'
801 libexecdir='${exec_prefix}/libexec'
802 datarootdir='${prefix}/share'
803 datadir='${datarootdir}'
804 sysconfdir='${prefix}/etc'
805 sharedstatedir='${prefix}/com'
806 localstatedir='${prefix}/var'
807 includedir='${prefix}/include'
808 oldincludedir='/usr/include'
809 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
810 infodir='${datarootdir}/info'
811 htmldir='${docdir}'
812 dvidir='${docdir}'
813 pdfdir='${docdir}'
814 psdir='${docdir}'
815 libdir='${exec_prefix}/lib'
816 localedir='${datarootdir}/locale'
817 mandir='${datarootdir}/man'
818
819 ac_prev=
820 ac_dashdash=
821 for ac_option
822 do
823   # If the previous option needs an argument, assign it.
824   if test -n "$ac_prev"; then
825     eval $ac_prev=\$ac_option
826     ac_prev=
827     continue
828   fi
829
830   case $ac_option in
831   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
832   *)    ac_optarg=yes ;;
833   esac
834
835   # Accept the important Cygnus configure options, so we can diagnose typos.
836
837   case $ac_dashdash$ac_option in
838   --)
839     ac_dashdash=yes ;;
840
841   -bindir | --bindir | --bindi | --bind | --bin | --bi)
842     ac_prev=bindir ;;
843   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
844     bindir=$ac_optarg ;;
845
846   -build | --build | --buil | --bui | --bu)
847     ac_prev=build_alias ;;
848   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
849     build_alias=$ac_optarg ;;
850
851   -cache-file | --cache-file | --cache-fil | --cache-fi \
852   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
853     ac_prev=cache_file ;;
854   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
855   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
856     cache_file=$ac_optarg ;;
857
858   --config-cache | -C)
859     cache_file=config.cache ;;
860
861   -datadir | --datadir | --datadi | --datad)
862     ac_prev=datadir ;;
863   -datadir=* | --datadir=* | --datadi=* | --datad=*)
864     datadir=$ac_optarg ;;
865
866   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
867   | --dataroo | --dataro | --datar)
868     ac_prev=datarootdir ;;
869   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
870   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
871     datarootdir=$ac_optarg ;;
872
873   -disable-* | --disable-*)
874     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
875     # Reject names that are not valid shell variable names.
876     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
877       as_fn_error "invalid feature name: $ac_useropt"
878     ac_useropt_orig=$ac_useropt
879     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
880     case $ac_user_opts in
881       *"
882 "enable_$ac_useropt"
883 "*) ;;
884       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
885          ac_unrecognized_sep=', ';;
886     esac
887     eval enable_$ac_useropt=no ;;
888
889   -docdir | --docdir | --docdi | --doc | --do)
890     ac_prev=docdir ;;
891   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
892     docdir=$ac_optarg ;;
893
894   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
895     ac_prev=dvidir ;;
896   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
897     dvidir=$ac_optarg ;;
898
899   -enable-* | --enable-*)
900     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
901     # Reject names that are not valid shell variable names.
902     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
903       as_fn_error "invalid feature name: $ac_useropt"
904     ac_useropt_orig=$ac_useropt
905     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
906     case $ac_user_opts in
907       *"
908 "enable_$ac_useropt"
909 "*) ;;
910       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
911          ac_unrecognized_sep=', ';;
912     esac
913     eval enable_$ac_useropt=\$ac_optarg ;;
914
915   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
916   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
917   | --exec | --exe | --ex)
918     ac_prev=exec_prefix ;;
919   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
920   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
921   | --exec=* | --exe=* | --ex=*)
922     exec_prefix=$ac_optarg ;;
923
924   -gas | --gas | --ga | --g)
925     # Obsolete; use --with-gas.
926     with_gas=yes ;;
927
928   -help | --help | --hel | --he | -h)
929     ac_init_help=long ;;
930   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
931     ac_init_help=recursive ;;
932   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
933     ac_init_help=short ;;
934
935   -host | --host | --hos | --ho)
936     ac_prev=host_alias ;;
937   -host=* | --host=* | --hos=* | --ho=*)
938     host_alias=$ac_optarg ;;
939
940   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
941     ac_prev=htmldir ;;
942   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
943   | --ht=*)
944     htmldir=$ac_optarg ;;
945
946   -includedir | --includedir | --includedi | --included | --include \
947   | --includ | --inclu | --incl | --inc)
948     ac_prev=includedir ;;
949   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
950   | --includ=* | --inclu=* | --incl=* | --inc=*)
951     includedir=$ac_optarg ;;
952
953   -infodir | --infodir | --infodi | --infod | --info | --inf)
954     ac_prev=infodir ;;
955   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
956     infodir=$ac_optarg ;;
957
958   -libdir | --libdir | --libdi | --libd)
959     ac_prev=libdir ;;
960   -libdir=* | --libdir=* | --libdi=* | --libd=*)
961     libdir=$ac_optarg ;;
962
963   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
964   | --libexe | --libex | --libe)
965     ac_prev=libexecdir ;;
966   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
967   | --libexe=* | --libex=* | --libe=*)
968     libexecdir=$ac_optarg ;;
969
970   -localedir | --localedir | --localedi | --localed | --locale)
971     ac_prev=localedir ;;
972   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
973     localedir=$ac_optarg ;;
974
975   -localstatedir | --localstatedir | --localstatedi | --localstated \
976   | --localstate | --localstat | --localsta | --localst | --locals)
977     ac_prev=localstatedir ;;
978   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
979   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
980     localstatedir=$ac_optarg ;;
981
982   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
983     ac_prev=mandir ;;
984   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
985     mandir=$ac_optarg ;;
986
987   -nfp | --nfp | --nf)
988     # Obsolete; use --without-fp.
989     with_fp=no ;;
990
991   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
992   | --no-cr | --no-c | -n)
993     no_create=yes ;;
994
995   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
996   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
997     no_recursion=yes ;;
998
999   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1000   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1001   | --oldin | --oldi | --old | --ol | --o)
1002     ac_prev=oldincludedir ;;
1003   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1004   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1005   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1006     oldincludedir=$ac_optarg ;;
1007
1008   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1009     ac_prev=prefix ;;
1010   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1011     prefix=$ac_optarg ;;
1012
1013   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1014   | --program-pre | --program-pr | --program-p)
1015     ac_prev=program_prefix ;;
1016   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1017   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1018     program_prefix=$ac_optarg ;;
1019
1020   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1021   | --program-suf | --program-su | --program-s)
1022     ac_prev=program_suffix ;;
1023   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1024   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1025     program_suffix=$ac_optarg ;;
1026
1027   -program-transform-name | --program-transform-name \
1028   | --program-transform-nam | --program-transform-na \
1029   | --program-transform-n | --program-transform- \
1030   | --program-transform | --program-transfor \
1031   | --program-transfo | --program-transf \
1032   | --program-trans | --program-tran \
1033   | --progr-tra | --program-tr | --program-t)
1034     ac_prev=program_transform_name ;;
1035   -program-transform-name=* | --program-transform-name=* \
1036   | --program-transform-nam=* | --program-transform-na=* \
1037   | --program-transform-n=* | --program-transform-=* \
1038   | --program-transform=* | --program-transfor=* \
1039   | --program-transfo=* | --program-transf=* \
1040   | --program-trans=* | --program-tran=* \
1041   | --progr-tra=* | --program-tr=* | --program-t=*)
1042     program_transform_name=$ac_optarg ;;
1043
1044   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1045     ac_prev=pdfdir ;;
1046   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1047     pdfdir=$ac_optarg ;;
1048
1049   -psdir | --psdir | --psdi | --psd | --ps)
1050     ac_prev=psdir ;;
1051   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1052     psdir=$ac_optarg ;;
1053
1054   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1055   | -silent | --silent | --silen | --sile | --sil)
1056     silent=yes ;;
1057
1058   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1059     ac_prev=sbindir ;;
1060   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1061   | --sbi=* | --sb=*)
1062     sbindir=$ac_optarg ;;
1063
1064   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1065   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1066   | --sharedst | --shareds | --shared | --share | --shar \
1067   | --sha | --sh)
1068     ac_prev=sharedstatedir ;;
1069   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1070   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1071   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1072   | --sha=* | --sh=*)
1073     sharedstatedir=$ac_optarg ;;
1074
1075   -site | --site | --sit)
1076     ac_prev=site ;;
1077   -site=* | --site=* | --sit=*)
1078     site=$ac_optarg ;;
1079
1080   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1081     ac_prev=srcdir ;;
1082   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1083     srcdir=$ac_optarg ;;
1084
1085   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1086   | --syscon | --sysco | --sysc | --sys | --sy)
1087     ac_prev=sysconfdir ;;
1088   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1089   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1090     sysconfdir=$ac_optarg ;;
1091
1092   -target | --target | --targe | --targ | --tar | --ta | --t)
1093     ac_prev=target_alias ;;
1094   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1095     target_alias=$ac_optarg ;;
1096
1097   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1098     verbose=yes ;;
1099
1100   -version | --version | --versio | --versi | --vers | -V)
1101     ac_init_version=: ;;
1102
1103   -with-* | --with-*)
1104     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1105     # Reject names that are not valid shell variable names.
1106     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1107       as_fn_error "invalid package name: $ac_useropt"
1108     ac_useropt_orig=$ac_useropt
1109     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1110     case $ac_user_opts in
1111       *"
1112 "with_$ac_useropt"
1113 "*) ;;
1114       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1115          ac_unrecognized_sep=', ';;
1116     esac
1117     eval with_$ac_useropt=\$ac_optarg ;;
1118
1119   -without-* | --without-*)
1120     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
1131          ac_unrecognized_sep=', ';;
1132     esac
1133     eval with_$ac_useropt=no ;;
1134
1135   --x)
1136     # Obsolete; use --with-x.
1137     with_x=yes ;;
1138
1139   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1140   | --x-incl | --x-inc | --x-in | --x-i)
1141     ac_prev=x_includes ;;
1142   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1143   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1144     x_includes=$ac_optarg ;;
1145
1146   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1147   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1148     ac_prev=x_libraries ;;
1149   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1150   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1151     x_libraries=$ac_optarg ;;
1152
1153   -*) as_fn_error "unrecognized option: \`$ac_option'
1154 Try \`$0 --help' for more information."
1155     ;;
1156
1157   *=*)
1158     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1159     # Reject names that are not valid shell variable names.
1160     case $ac_envvar in #(
1161       '' | [0-9]* | *[!_$as_cr_alnum]* )
1162       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1163     esac
1164     eval $ac_envvar=\$ac_optarg
1165     export $ac_envvar ;;
1166
1167   *)
1168     # FIXME: should be removed in autoconf 3.0.
1169     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1170     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1171       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1172     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1173     ;;
1174
1175   esac
1176 done
1177
1178 if test -n "$ac_prev"; then
1179   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1180   as_fn_error "missing argument to $ac_option"
1181 fi
1182
1183 if test -n "$ac_unrecognized_opts"; then
1184   case $enable_option_checking in
1185     no) ;;
1186     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1187     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1188   esac
1189 fi
1190
1191 # Check all directory arguments for consistency.
1192 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1193                 datadir sysconfdir sharedstatedir localstatedir includedir \
1194                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1195                 libdir localedir mandir
1196 do
1197   eval ac_val=\$$ac_var
1198   # Remove trailing slashes.
1199   case $ac_val in
1200     */ )
1201       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1202       eval $ac_var=\$ac_val;;
1203   esac
1204   # Be sure to have absolute directory names.
1205   case $ac_val in
1206     [\\/$]* | ?:[\\/]* )  continue;;
1207     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1208   esac
1209   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1210 done
1211
1212 # There might be people who depend on the old broken behavior: `$host'
1213 # used to hold the argument of --host etc.
1214 # FIXME: To remove some day.
1215 build=$build_alias
1216 host=$host_alias
1217 target=$target_alias
1218
1219 # FIXME: To remove some day.
1220 if test "x$host_alias" != x; then
1221   if test "x$build_alias" = x; then
1222     cross_compiling=maybe
1223     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1224     If a cross compiler is detected then cross compile mode will be used." >&2
1225   elif test "x$build_alias" != "x$host_alias"; then
1226     cross_compiling=yes
1227   fi
1228 fi
1229
1230 ac_tool_prefix=
1231 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1232
1233 test "$silent" = yes && exec 6>/dev/null
1234
1235
1236 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1237 ac_ls_di=`ls -di .` &&
1238 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1239   as_fn_error "working directory cannot be determined"
1240 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1241   as_fn_error "pwd does not report name of working directory"
1242
1243
1244 # Find the source files, if location was not specified.
1245 if test -z "$srcdir"; then
1246   ac_srcdir_defaulted=yes
1247   # Try the directory containing this script, then the parent directory.
1248   ac_confdir=`$as_dirname -- "$as_myself" ||
1249 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1250          X"$as_myself" : 'X\(//\)[^/]' \| \
1251          X"$as_myself" : 'X\(//\)$' \| \
1252          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1253 $as_echo X"$as_myself" |
1254     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1255             s//\1/
1256             q
1257           }
1258           /^X\(\/\/\)[^/].*/{
1259             s//\1/
1260             q
1261           }
1262           /^X\(\/\/\)$/{
1263             s//\1/
1264             q
1265           }
1266           /^X\(\/\).*/{
1267             s//\1/
1268             q
1269           }
1270           s/.*/./; q'`
1271   srcdir=$ac_confdir
1272   if test ! -r "$srcdir/$ac_unique_file"; then
1273     srcdir=..
1274   fi
1275 else
1276   ac_srcdir_defaulted=no
1277 fi
1278 if test ! -r "$srcdir/$ac_unique_file"; then
1279   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1280   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1281 fi
1282 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1283 ac_abs_confdir=`(
1284         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1285         pwd)`
1286 # When building in place, set srcdir=.
1287 if test "$ac_abs_confdir" = "$ac_pwd"; then
1288   srcdir=.
1289 fi
1290 # Remove unnecessary trailing slashes from srcdir.
1291 # Double slashes in file names in object file debugging info
1292 # mess up M-x gdb in Emacs.
1293 case $srcdir in
1294 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1295 esac
1296 for ac_var in $ac_precious_vars; do
1297   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1298   eval ac_env_${ac_var}_value=\$${ac_var}
1299   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1300   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1301 done
1302
1303 #
1304 # Report the --help message.
1305 #
1306 if test "$ac_init_help" = "long"; then
1307   # Omit some internal or obsolete options to make the list less imposing.
1308   # This message is too long to be a string in the A/UX 3.1 sh.
1309   cat <<_ACEOF
1310 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1311
1312 Usage: $0 [OPTION]... [VAR=VALUE]...
1313
1314 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1315 VAR=VALUE.  See below for descriptions of some of the useful variables.
1316
1317 Defaults for the options are specified in brackets.
1318
1319 Configuration:
1320   -h, --help              display this help and exit
1321       --help=short        display options specific to this package
1322       --help=recursive    display the short help of all the included packages
1323   -V, --version           display version information and exit
1324   -q, --quiet, --silent   do not print \`checking...' messages
1325       --cache-file=FILE   cache test results in FILE [disabled]
1326   -C, --config-cache      alias for \`--cache-file=config.cache'
1327   -n, --no-create         do not create output files
1328       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1329
1330 Installation directories:
1331   --prefix=PREFIX         install architecture-independent files in PREFIX
1332                           [$ac_default_prefix]
1333   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1334                           [PREFIX]
1335
1336 By default, \`make install' will install all the files in
1337 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1338 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1339 for instance \`--prefix=\$HOME'.
1340
1341 For better control, use the options below.
1342
1343 Fine tuning of the installation directories:
1344   --bindir=DIR            user executables [EPREFIX/bin]
1345   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1346   --libexecdir=DIR        program executables [EPREFIX/libexec]
1347   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1348   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1349   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1350   --libdir=DIR            object code libraries [EPREFIX/lib]
1351   --includedir=DIR        C header files [PREFIX/include]
1352   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1353   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1354   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1355   --infodir=DIR           info documentation [DATAROOTDIR/info]
1356   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1357   --mandir=DIR            man documentation [DATAROOTDIR/man]
1358   --docdir=DIR            documentation root [DATAROOTDIR/doc/libgfortran]
1359   --htmldir=DIR           html documentation [DOCDIR]
1360   --dvidir=DIR            dvi documentation [DOCDIR]
1361   --pdfdir=DIR            pdf documentation [DOCDIR]
1362   --psdir=DIR             ps documentation [DOCDIR]
1363 _ACEOF
1364
1365   cat <<\_ACEOF
1366
1367 Program names:
1368   --program-prefix=PREFIX            prepend PREFIX to installed program names
1369   --program-suffix=SUFFIX            append SUFFIX to installed program names
1370   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1371
1372 System types:
1373   --build=BUILD     configure for building on BUILD [guessed]
1374   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1375   --target=TARGET   configure for building compilers for TARGET [HOST]
1376 _ACEOF
1377 fi
1378
1379 if test -n "$ac_init_help"; then
1380   case $ac_init_help in
1381      short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1382    esac
1383   cat <<\_ACEOF
1384
1385 Optional Features:
1386   --disable-option-checking  ignore unrecognized --enable/--with options
1387   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1388   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1389   --enable-version-specific-runtime-libs    Specify that runtime libraries should be installed in a compiler-specific directory
1390   --enable-intermodule    build the library in one step
1391   --enable-maintainer-mode  enable make rules and dependencies not useful
1392                           (and sometimes confusing) to the casual installer
1393   --enable-multilib       build many library versions (default)
1394   --disable-dependency-tracking  speeds up one-time build
1395   --enable-dependency-tracking   do not reject slow dependency extractors
1396   --enable-shared[=PKGS]  build shared libraries [default=yes]
1397   --enable-static[=PKGS]  build static libraries [default=yes]
1398   --enable-fast-install[=PKGS]
1399                           optimize for fast installation [default=yes]
1400   --disable-libtool-lock  avoid locking (might break parallel builds)
1401   --disable-largefile     omit support for large files
1402
1403 Optional Packages:
1404   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1405   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1406   --with-build-libsubdir=DIR  Directory where to find libraries for build system
1407   --with-pic              try to use only PIC/non-PIC objects [default=use
1408                           both]
1409   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1410
1411 Some influential environment variables:
1412   CC          C compiler command
1413   CFLAGS      C compiler flags
1414   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1415               nonstandard directory <lib dir>
1416   LIBS        libraries to pass to the linker, e.g. -l<library>
1417   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1418               you have headers in a nonstandard directory <include dir>
1419   CPP         C preprocessor
1420   FC          Fortran compiler command
1421   FCFLAGS     Fortran compiler flags
1422
1423 Use these variables to override the choices made by `configure' or to help
1424 it to find libraries and programs with nonstandard names/locations.
1425
1426 Report bugs to the package provider.
1427 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1428 General help using GNU software: <http://www.gnu.org/gethelp/>.
1429 _ACEOF
1430 ac_status=$?
1431 fi
1432
1433 if test "$ac_init_help" = "recursive"; then
1434   # If there are subdirs, report their specific --help.
1435   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1436     test -d "$ac_dir" ||
1437       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1438       continue
1439     ac_builddir=.
1440
1441 case "$ac_dir" in
1442 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1443 *)
1444   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1445   # A ".." for each directory in $ac_dir_suffix.
1446   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1447   case $ac_top_builddir_sub in
1448   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1449   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1450   esac ;;
1451 esac
1452 ac_abs_top_builddir=$ac_pwd
1453 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1454 # for backward compatibility:
1455 ac_top_builddir=$ac_top_build_prefix
1456
1457 case $srcdir in
1458   .)  # We are building in place.
1459     ac_srcdir=.
1460     ac_top_srcdir=$ac_top_builddir_sub
1461     ac_abs_top_srcdir=$ac_pwd ;;
1462   [\\/]* | ?:[\\/]* )  # Absolute name.
1463     ac_srcdir=$srcdir$ac_dir_suffix;
1464     ac_top_srcdir=$srcdir
1465     ac_abs_top_srcdir=$srcdir ;;
1466   *) # Relative name.
1467     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1468     ac_top_srcdir=$ac_top_build_prefix$srcdir
1469     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1470 esac
1471 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1472
1473     cd "$ac_dir" || { ac_status=$?; continue; }
1474     # Check for guested configure.
1475     if test -f "$ac_srcdir/configure.gnu"; then
1476       echo &&
1477       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1478     elif test -f "$ac_srcdir/configure"; then
1479       echo &&
1480       $SHELL "$ac_srcdir/configure" --help=recursive
1481     else
1482       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1483     fi || ac_status=$?
1484     cd "$ac_pwd" || { ac_status=$?; break; }
1485   done
1486 fi
1487
1488 test -n "$ac_init_help" && exit $ac_status
1489 if $ac_init_version; then
1490   cat <<\_ACEOF
1491 GNU Fortran Runtime Library configure 0.3
1492 generated by GNU Autoconf 2.64
1493
1494 Copyright (C) 2009 Free Software Foundation, Inc.
1495 This configure script is free software; the Free Software Foundation
1496 gives unlimited permission to copy, distribute and modify it.
1497 _ACEOF
1498   exit
1499 fi
1500
1501 ## ------------------------ ##
1502 ## Autoconf initialization. ##
1503 ## ------------------------ ##
1504
1505 # ac_fn_c_try_compile LINENO
1506 # --------------------------
1507 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1508 ac_fn_c_try_compile ()
1509 {
1510   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1511   rm -f conftest.$ac_objext
1512   if { { ac_try="$ac_compile"
1513 case "(($ac_try" in
1514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1515   *) ac_try_echo=$ac_try;;
1516 esac
1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1518 $as_echo "$ac_try_echo"; } >&5
1519   (eval "$ac_compile") 2>conftest.err
1520   ac_status=$?
1521   if test -s conftest.err; then
1522     grep -v '^ *+' conftest.err >conftest.er1
1523     cat conftest.er1 >&5
1524     mv -f conftest.er1 conftest.err
1525   fi
1526   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1527   test $ac_status = 0; } && {
1528          test -z "$ac_c_werror_flag" ||
1529          test ! -s conftest.err
1530        } && test -s conftest.$ac_objext; then :
1531   ac_retval=0
1532 else
1533   $as_echo "$as_me: failed program was:" >&5
1534 sed 's/^/| /' conftest.$ac_ext >&5
1535
1536         ac_retval=1
1537 fi
1538   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1539   return $ac_retval
1540
1541 } # ac_fn_c_try_compile
1542
1543 # ac_fn_c_try_link LINENO
1544 # -----------------------
1545 # Try to link conftest.$ac_ext, and return whether this succeeded.
1546 ac_fn_c_try_link ()
1547 {
1548   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1549   rm -f conftest.$ac_objext conftest$ac_exeext
1550   if { { ac_try="$ac_link"
1551 case "(($ac_try" in
1552   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1553   *) ac_try_echo=$ac_try;;
1554 esac
1555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1556 $as_echo "$ac_try_echo"; } >&5
1557   (eval "$ac_link") 2>conftest.err
1558   ac_status=$?
1559   if test -s conftest.err; then
1560     grep -v '^ *+' conftest.err >conftest.er1
1561     cat conftest.er1 >&5
1562     mv -f conftest.er1 conftest.err
1563   fi
1564   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1565   test $ac_status = 0; } && {
1566          test -z "$ac_c_werror_flag" ||
1567          test ! -s conftest.err
1568        } && test -s conftest$ac_exeext && {
1569          test "$cross_compiling" = yes ||
1570          $as_test_x conftest$ac_exeext
1571        }; then :
1572   ac_retval=0
1573 else
1574   $as_echo "$as_me: failed program was:" >&5
1575 sed 's/^/| /' conftest.$ac_ext >&5
1576
1577         ac_retval=1
1578 fi
1579   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1580   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1581   # interfere with the next link command; also delete a directory that is
1582   # left behind by Apple's compiler.  We do this before executing the actions.
1583   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1584   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1585   return $ac_retval
1586
1587 } # ac_fn_c_try_link
1588
1589 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1590 # -------------------------------------------------------
1591 # Tests whether HEADER exists and can be compiled using the include files in
1592 # INCLUDES, setting the cache variable VAR accordingly.
1593 ac_fn_c_check_header_compile ()
1594 {
1595   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1597 $as_echo_n "checking for $2... " >&6; }
1598 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1599   $as_echo_n "(cached) " >&6
1600 else
1601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1602 /* end confdefs.h.  */
1603 $4
1604 #include <$2>
1605 _ACEOF
1606 if ac_fn_c_try_compile "$LINENO"; then :
1607   eval "$3=yes"
1608 else
1609   eval "$3=no"
1610 fi
1611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1612 fi
1613 eval ac_res=\$$3
1614                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1615 $as_echo "$ac_res" >&6; }
1616   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1617
1618 } # ac_fn_c_check_header_compile
1619
1620 # ac_fn_c_try_cpp LINENO
1621 # ----------------------
1622 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1623 ac_fn_c_try_cpp ()
1624 {
1625   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626   if { { ac_try="$ac_cpp conftest.$ac_ext"
1627 case "(($ac_try" in
1628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1629   *) ac_try_echo=$ac_try;;
1630 esac
1631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1632 $as_echo "$ac_try_echo"; } >&5
1633   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1634   ac_status=$?
1635   if test -s conftest.err; then
1636     grep -v '^ *+' conftest.err >conftest.er1
1637     cat conftest.er1 >&5
1638     mv -f conftest.er1 conftest.err
1639   fi
1640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1641   test $ac_status = 0; } >/dev/null && {
1642          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1643          test ! -s conftest.err
1644        }; then :
1645   ac_retval=0
1646 else
1647   $as_echo "$as_me: failed program was:" >&5
1648 sed 's/^/| /' conftest.$ac_ext >&5
1649
1650     ac_retval=1
1651 fi
1652   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1653   return $ac_retval
1654
1655 } # ac_fn_c_try_cpp
1656
1657 # ac_fn_c_try_run LINENO
1658 # ----------------------
1659 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1660 # that executables *can* be run.
1661 ac_fn_c_try_run ()
1662 {
1663   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664   if { { ac_try="$ac_link"
1665 case "(($ac_try" in
1666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1667   *) ac_try_echo=$ac_try;;
1668 esac
1669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1670 $as_echo "$ac_try_echo"; } >&5
1671   (eval "$ac_link") 2>&5
1672   ac_status=$?
1673   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1675   { { case "(($ac_try" in
1676   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1677   *) ac_try_echo=$ac_try;;
1678 esac
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681   (eval "$ac_try") 2>&5
1682   ac_status=$?
1683   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1684   test $ac_status = 0; }; }; then :
1685   ac_retval=0
1686 else
1687   $as_echo "$as_me: program exited with status $ac_status" >&5
1688        $as_echo "$as_me: failed program was:" >&5
1689 sed 's/^/| /' conftest.$ac_ext >&5
1690
1691        ac_retval=$ac_status
1692 fi
1693   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1694   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1695   return $ac_retval
1696
1697 } # ac_fn_c_try_run
1698
1699 # ac_fn_c_check_func LINENO FUNC VAR
1700 # ----------------------------------
1701 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1702 ac_fn_c_check_func ()
1703 {
1704   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1706 $as_echo_n "checking for $2... " >&6; }
1707 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1708   $as_echo_n "(cached) " >&6
1709 else
1710   if test x$gcc_no_link = xyes; then
1711   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1712 fi
1713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1714 /* end confdefs.h.  */
1715 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1716    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1717 #define $2 innocuous_$2
1718
1719 /* System header to define __stub macros and hopefully few prototypes,
1720     which can conflict with char $2 (); below.
1721     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1722     <limits.h> exists even on freestanding compilers.  */
1723
1724 #ifdef __STDC__
1725 # include <limits.h>
1726 #else
1727 # include <assert.h>
1728 #endif
1729
1730 #undef $2
1731
1732 /* Override any GCC internal prototype to avoid an error.
1733    Use char because int might match the return type of a GCC
1734    builtin and then its argument prototype would still apply.  */
1735 #ifdef __cplusplus
1736 extern "C"
1737 #endif
1738 char $2 ();
1739 /* The GNU C library defines this for functions which it implements
1740     to always fail with ENOSYS.  Some functions are actually named
1741     something starting with __ and the normal name is an alias.  */
1742 #if defined __stub_$2 || defined __stub___$2
1743 choke me
1744 #endif
1745
1746 int
1747 main ()
1748 {
1749 return $2 ();
1750   ;
1751   return 0;
1752 }
1753 _ACEOF
1754 if ac_fn_c_try_link "$LINENO"; then :
1755   eval "$3=yes"
1756 else
1757   eval "$3=no"
1758 fi
1759 rm -f core conftest.err conftest.$ac_objext \
1760     conftest$ac_exeext conftest.$ac_ext
1761 fi
1762 eval ac_res=\$$3
1763                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1764 $as_echo "$ac_res" >&6; }
1765   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1766
1767 } # ac_fn_c_check_func
1768
1769 # ac_fn_fc_try_compile LINENO
1770 # ---------------------------
1771 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1772 ac_fn_fc_try_compile ()
1773 {
1774   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775   rm -f conftest.$ac_objext
1776   if { { ac_try="$ac_compile"
1777 case "(($ac_try" in
1778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1779   *) ac_try_echo=$ac_try;;
1780 esac
1781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1782 $as_echo "$ac_try_echo"; } >&5
1783   (eval "$ac_compile") 2>conftest.err
1784   ac_status=$?
1785   if test -s conftest.err; then
1786     grep -v '^ *+' conftest.err >conftest.er1
1787     cat conftest.er1 >&5
1788     mv -f conftest.er1 conftest.err
1789   fi
1790   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791   test $ac_status = 0; } && {
1792          test -z "$ac_fc_werror_flag" ||
1793          test ! -s conftest.err
1794        } && test -s conftest.$ac_objext; then :
1795   ac_retval=0
1796 else
1797   $as_echo "$as_me: failed program was:" >&5
1798 sed 's/^/| /' conftest.$ac_ext >&5
1799
1800         ac_retval=1
1801 fi
1802   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1803   return $ac_retval
1804
1805 } # ac_fn_fc_try_compile
1806
1807 # ac_fn_fc_try_link LINENO
1808 # ------------------------
1809 # Try to link conftest.$ac_ext, and return whether this succeeded.
1810 ac_fn_fc_try_link ()
1811 {
1812   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813   rm -f conftest.$ac_objext conftest$ac_exeext
1814   if { { ac_try="$ac_link"
1815 case "(($ac_try" in
1816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1817   *) ac_try_echo=$ac_try;;
1818 esac
1819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820 $as_echo "$ac_try_echo"; } >&5
1821   (eval "$ac_link") 2>conftest.err
1822   ac_status=$?
1823   if test -s conftest.err; then
1824     grep -v '^ *+' conftest.err >conftest.er1
1825     cat conftest.er1 >&5
1826     mv -f conftest.er1 conftest.err
1827   fi
1828   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829   test $ac_status = 0; } && {
1830          test -z "$ac_fc_werror_flag" ||
1831          test ! -s conftest.err
1832        } && test -s conftest$ac_exeext && {
1833          test "$cross_compiling" = yes ||
1834          $as_test_x conftest$ac_exeext
1835        }; then :
1836   ac_retval=0
1837 else
1838   $as_echo "$as_me: failed program was:" >&5
1839 sed 's/^/| /' conftest.$ac_ext >&5
1840
1841         ac_retval=1
1842 fi
1843   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1844   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1845   # interfere with the next link command; also delete a directory that is
1846   # left behind by Apple's compiler.  We do this before executing the actions.
1847   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1848   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1849   return $ac_retval
1850
1851 } # ac_fn_fc_try_link
1852
1853 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1854 # -------------------------------------------
1855 # Tests whether TYPE exists after having included INCLUDES, setting cache
1856 # variable VAR accordingly.
1857 ac_fn_c_check_type ()
1858 {
1859   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1861 $as_echo_n "checking for $2... " >&6; }
1862 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1863   $as_echo_n "(cached) " >&6
1864 else
1865   eval "$3=no"
1866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1867 /* end confdefs.h.  */
1868 $4
1869 int
1870 main ()
1871 {
1872 if (sizeof ($2))
1873          return 0;
1874   ;
1875   return 0;
1876 }
1877 _ACEOF
1878 if ac_fn_c_try_compile "$LINENO"; then :
1879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1880 /* end confdefs.h.  */
1881 $4
1882 int
1883 main ()
1884 {
1885 if (sizeof (($2)))
1886             return 0;
1887   ;
1888   return 0;
1889 }
1890 _ACEOF
1891 if ac_fn_c_try_compile "$LINENO"; then :
1892
1893 else
1894   eval "$3=yes"
1895 fi
1896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1897 fi
1898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1899 fi
1900 eval ac_res=\$$3
1901                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1902 $as_echo "$ac_res" >&6; }
1903   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1904
1905 } # ac_fn_c_check_type
1906
1907 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1908 # -------------------------------------------------------
1909 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1910 # the include files in INCLUDES and setting the cache variable VAR
1911 # accordingly.
1912 ac_fn_c_check_header_mongrel ()
1913 {
1914   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1915   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1917 $as_echo_n "checking for $2... " >&6; }
1918 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1919   $as_echo_n "(cached) " >&6
1920 fi
1921 eval ac_res=\$$3
1922                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1923 $as_echo "$ac_res" >&6; }
1924 else
1925   # Is the header compilable?
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1927 $as_echo_n "checking $2 usability... " >&6; }
1928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1929 /* end confdefs.h.  */
1930 $4
1931 #include <$2>
1932 _ACEOF
1933 if ac_fn_c_try_compile "$LINENO"; then :
1934   ac_header_compiler=yes
1935 else
1936   ac_header_compiler=no
1937 fi
1938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1940 $as_echo "$ac_header_compiler" >&6; }
1941
1942 # Is the header present?
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1944 $as_echo_n "checking $2 presence... " >&6; }
1945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1946 /* end confdefs.h.  */
1947 #include <$2>
1948 _ACEOF
1949 if ac_fn_c_try_cpp "$LINENO"; then :
1950   ac_header_preproc=yes
1951 else
1952   ac_header_preproc=no
1953 fi
1954 rm -f conftest.err conftest.$ac_ext
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1956 $as_echo "$ac_header_preproc" >&6; }
1957
1958 # So?  What about this header?
1959 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1960   yes:no: )
1961     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1962 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1963     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1964 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1965     ;;
1966   no:yes:* )
1967     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1968 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1969     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1970 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1971     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1972 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1973     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1974 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1975     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1976 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1977     ;;
1978 esac
1979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1980 $as_echo_n "checking for $2... " >&6; }
1981 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1982   $as_echo_n "(cached) " >&6
1983 else
1984   eval "$3=\$ac_header_compiler"
1985 fi
1986 eval ac_res=\$$3
1987                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988 $as_echo "$ac_res" >&6; }
1989 fi
1990   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1991
1992 } # ac_fn_c_check_header_mongrel
1993
1994 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1995 # --------------------------------------------
1996 # Tries to find the compile-time value of EXPR in a program that includes
1997 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1998 # computed
1999 ac_fn_c_compute_int ()
2000 {
2001   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2002   if test "$cross_compiling" = yes; then
2003     # Depending upon the size, compute the lo and hi bounds.
2004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2005 /* end confdefs.h.  */
2006 $4
2007 int
2008 main ()
2009 {
2010 static int test_array [1 - 2 * !(($2) >= 0)];
2011 test_array [0] = 0
2012
2013   ;
2014   return 0;
2015 }
2016 _ACEOF
2017 if ac_fn_c_try_compile "$LINENO"; then :
2018   ac_lo=0 ac_mid=0
2019   while :; do
2020     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2021 /* end confdefs.h.  */
2022 $4
2023 int
2024 main ()
2025 {
2026 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2027 test_array [0] = 0
2028
2029   ;
2030   return 0;
2031 }
2032 _ACEOF
2033 if ac_fn_c_try_compile "$LINENO"; then :
2034   ac_hi=$ac_mid; break
2035 else
2036   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2037                         if test $ac_lo -le $ac_mid; then
2038                           ac_lo= ac_hi=
2039                           break
2040                         fi
2041                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2042 fi
2043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2044   done
2045 else
2046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2047 /* end confdefs.h.  */
2048 $4
2049 int
2050 main ()
2051 {
2052 static int test_array [1 - 2 * !(($2) < 0)];
2053 test_array [0] = 0
2054
2055   ;
2056   return 0;
2057 }
2058 _ACEOF
2059 if ac_fn_c_try_compile "$LINENO"; then :
2060   ac_hi=-1 ac_mid=-1
2061   while :; do
2062     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2063 /* end confdefs.h.  */
2064 $4
2065 int
2066 main ()
2067 {
2068 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2069 test_array [0] = 0
2070
2071   ;
2072   return 0;
2073 }
2074 _ACEOF
2075 if ac_fn_c_try_compile "$LINENO"; then :
2076   ac_lo=$ac_mid; break
2077 else
2078   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2079                         if test $ac_mid -le $ac_hi; then
2080                           ac_lo= ac_hi=
2081                           break
2082                         fi
2083                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2084 fi
2085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2086   done
2087 else
2088   ac_lo= ac_hi=
2089 fi
2090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2091 fi
2092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2093 # Binary search between lo and hi bounds.
2094 while test "x$ac_lo" != "x$ac_hi"; do
2095   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h.  */
2098 $4
2099 int
2100 main ()
2101 {
2102 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2103 test_array [0] = 0
2104
2105   ;
2106   return 0;
2107 }
2108 _ACEOF
2109 if ac_fn_c_try_compile "$LINENO"; then :
2110   ac_hi=$ac_mid
2111 else
2112   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2113 fi
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 done
2116 case $ac_lo in #((
2117 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2118 '') ac_retval=1 ;;
2119 esac
2120   else
2121     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h.  */
2123 $4
2124 static long int longval () { return $2; }
2125 static unsigned long int ulongval () { return $2; }
2126 #include <stdio.h>
2127 #include <stdlib.h>
2128 int
2129 main ()
2130 {
2131
2132   FILE *f = fopen ("conftest.val", "w");
2133   if (! f)
2134     return 1;
2135   if (($2) < 0)
2136     {
2137       long int i = longval ();
2138       if (i != ($2))
2139         return 1;
2140       fprintf (f, "%ld", i);
2141     }
2142   else
2143     {
2144       unsigned long int i = ulongval ();
2145       if (i != ($2))
2146         return 1;
2147       fprintf (f, "%lu", i);
2148     }
2149   /* Do not output a trailing newline, as this causes \r\n confusion
2150      on some platforms.  */
2151   return ferror (f) || fclose (f) != 0;
2152
2153   ;
2154   return 0;
2155 }
2156 _ACEOF
2157 if ac_fn_c_try_run "$LINENO"; then :
2158   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2159 else
2160   ac_retval=1
2161 fi
2162 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2163   conftest.$ac_objext conftest.beam conftest.$ac_ext
2164 rm -f conftest.val
2165
2166   fi
2167   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2168   return $ac_retval
2169
2170 } # ac_fn_c_compute_int
2171
2172 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2173 # ----------------------------------------------------
2174 # Tries to find if the field MEMBER exists in type AGGR, after including
2175 # INCLUDES, setting cache variable VAR accordingly.
2176 ac_fn_c_check_member ()
2177 {
2178   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2180 $as_echo_n "checking for $2.$3... " >&6; }
2181 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2182   $as_echo_n "(cached) " >&6
2183 else
2184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h.  */
2186 $5
2187 int
2188 main ()
2189 {
2190 static $2 ac_aggr;
2191 if (ac_aggr.$3)
2192 return 0;
2193   ;
2194   return 0;
2195 }
2196 _ACEOF
2197 if ac_fn_c_try_compile "$LINENO"; then :
2198   eval "$4=yes"
2199 else
2200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2201 /* end confdefs.h.  */
2202 $5
2203 int
2204 main ()
2205 {
2206 static $2 ac_aggr;
2207 if (sizeof ac_aggr.$3)
2208 return 0;
2209   ;
2210   return 0;
2211 }
2212 _ACEOF
2213 if ac_fn_c_try_compile "$LINENO"; then :
2214   eval "$4=yes"
2215 else
2216   eval "$4=no"
2217 fi
2218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2219 fi
2220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2221 fi
2222 eval ac_res=\$$4
2223                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2224 $as_echo "$ac_res" >&6; }
2225   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2226
2227 } # ac_fn_c_check_member
2228 cat >config.log <<_ACEOF
2229 This file contains any messages produced by compilers while
2230 running configure, to aid debugging if configure makes a mistake.
2231
2232 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2233 generated by GNU Autoconf 2.64.  Invocation command line was
2234
2235   $ $0 $@
2236
2237 _ACEOF
2238 exec 5>>config.log
2239 {
2240 cat <<_ASUNAME
2241 ## --------- ##
2242 ## Platform. ##
2243 ## --------- ##
2244
2245 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2246 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2247 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2248 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2249 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2250
2251 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2252 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2253
2254 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2255 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2256 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2257 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2258 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2259 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2260 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2261
2262 _ASUNAME
2263
2264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265 for as_dir in $PATH
2266 do
2267   IFS=$as_save_IFS
2268   test -z "$as_dir" && as_dir=.
2269     $as_echo "PATH: $as_dir"
2270   done
2271 IFS=$as_save_IFS
2272
2273 } >&5
2274
2275 cat >&5 <<_ACEOF
2276
2277
2278 ## ----------- ##
2279 ## Core tests. ##
2280 ## ----------- ##
2281
2282 _ACEOF
2283
2284
2285 # Keep a trace of the command line.
2286 # Strip out --no-create and --no-recursion so they do not pile up.
2287 # Strip out --silent because we don't want to record it for future runs.
2288 # Also quote any args containing shell meta-characters.
2289 # Make two passes to allow for proper duplicate-argument suppression.
2290 ac_configure_args=
2291 ac_configure_args0=
2292 ac_configure_args1=
2293 ac_must_keep_next=false
2294 for ac_pass in 1 2
2295 do
2296   for ac_arg
2297   do
2298     case $ac_arg in
2299     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2300     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2301     | -silent | --silent | --silen | --sile | --sil)
2302       continue ;;
2303     *\'*)
2304       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2305     esac
2306     case $ac_pass in
2307     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2308     2)
2309       as_fn_append ac_configure_args1 " '$ac_arg'"
2310       if test $ac_must_keep_next = true; then
2311         ac_must_keep_next=false # Got value, back to normal.
2312       else
2313         case $ac_arg in
2314           *=* | --config-cache | -C | -disable-* | --disable-* \
2315           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2316           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2317           | -with-* | --with-* | -without-* | --without-* | --x)
2318             case "$ac_configure_args0 " in
2319               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2320             esac
2321             ;;
2322           -* ) ac_must_keep_next=true ;;
2323         esac
2324       fi
2325       as_fn_append ac_configure_args " '$ac_arg'"
2326       ;;
2327     esac
2328   done
2329 done
2330 { ac_configure_args0=; unset ac_configure_args0;}
2331 { ac_configure_args1=; unset ac_configure_args1;}
2332
2333 # When interrupted or exit'd, cleanup temporary files, and complete
2334 # config.log.  We remove comments because anyway the quotes in there
2335 # would cause problems or look ugly.
2336 # WARNING: Use '\'' to represent an apostrophe within the trap.
2337 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2338 trap 'exit_status=$?
2339   # Save into config.log some information that might help in debugging.
2340   {
2341     echo
2342
2343     cat <<\_ASBOX
2344 ## ---------------- ##
2345 ## Cache variables. ##
2346 ## ---------------- ##
2347 _ASBOX
2348     echo
2349     # The following way of writing the cache mishandles newlines in values,
2350 (
2351   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2352     eval ac_val=\$$ac_var
2353     case $ac_val in #(
2354     *${as_nl}*)
2355       case $ac_var in #(
2356       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2357 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2358       esac
2359       case $ac_var in #(
2360       _ | IFS | as_nl) ;; #(
2361       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2362       *) { eval $ac_var=; unset $ac_var;} ;;
2363       esac ;;
2364     esac
2365   done
2366   (set) 2>&1 |
2367     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2368     *${as_nl}ac_space=\ *)
2369       sed -n \
2370         "s/'\''/'\''\\\\'\'''\''/g;
2371           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2372       ;; #(
2373     *)
2374       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2375       ;;
2376     esac |
2377     sort
2378 )
2379     echo
2380
2381     cat <<\_ASBOX
2382 ## ----------------- ##
2383 ## Output variables. ##
2384 ## ----------------- ##
2385 _ASBOX
2386     echo
2387     for ac_var in $ac_subst_vars
2388     do
2389       eval ac_val=\$$ac_var
2390       case $ac_val in
2391       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2392       esac
2393       $as_echo "$ac_var='\''$ac_val'\''"
2394     done | sort
2395     echo
2396
2397     if test -n "$ac_subst_files"; then
2398       cat <<\_ASBOX
2399 ## ------------------- ##
2400 ## File substitutions. ##
2401 ## ------------------- ##
2402 _ASBOX
2403       echo
2404       for ac_var in $ac_subst_files
2405       do
2406         eval ac_val=\$$ac_var
2407         case $ac_val in
2408         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2409         esac
2410         $as_echo "$ac_var='\''$ac_val'\''"
2411       done | sort
2412       echo
2413     fi
2414
2415     if test -s confdefs.h; then
2416       cat <<\_ASBOX
2417 ## ----------- ##
2418 ## confdefs.h. ##
2419 ## ----------- ##
2420 _ASBOX
2421       echo
2422       cat confdefs.h
2423       echo
2424     fi
2425     test "$ac_signal" != 0 &&
2426       $as_echo "$as_me: caught signal $ac_signal"
2427     $as_echo "$as_me: exit $exit_status"
2428   } >&5
2429   rm -f core *.core core.conftest.* &&
2430     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2431     exit $exit_status
2432 ' 0
2433 for ac_signal in 1 2 13 15; do
2434   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2435 done
2436 ac_signal=0
2437
2438 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2439 rm -f -r conftest* confdefs.h
2440
2441 $as_echo "/* confdefs.h */" > confdefs.h
2442
2443 # Predefined preprocessor variables.
2444
2445 cat >>confdefs.h <<_ACEOF
2446 #define PACKAGE_NAME "$PACKAGE_NAME"
2447 _ACEOF
2448
2449 cat >>confdefs.h <<_ACEOF
2450 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2451 _ACEOF
2452
2453 cat >>confdefs.h <<_ACEOF
2454 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2455 _ACEOF
2456
2457 cat >>confdefs.h <<_ACEOF
2458 #define PACKAGE_STRING "$PACKAGE_STRING"
2459 _ACEOF
2460
2461 cat >>confdefs.h <<_ACEOF
2462 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2463 _ACEOF
2464
2465 cat >>confdefs.h <<_ACEOF
2466 #define PACKAGE_URL "$PACKAGE_URL"
2467 _ACEOF
2468
2469
2470 # Let the site file select an alternate cache file if it wants to.
2471 # Prefer an explicitly selected file to automatically selected ones.
2472 ac_site_file1=NONE
2473 ac_site_file2=NONE
2474 if test -n "$CONFIG_SITE"; then
2475   ac_site_file1=$CONFIG_SITE
2476 elif test "x$prefix" != xNONE; then
2477   ac_site_file1=$prefix/share/config.site
2478   ac_site_file2=$prefix/etc/config.site
2479 else
2480   ac_site_file1=$ac_default_prefix/share/config.site
2481   ac_site_file2=$ac_default_prefix/etc/config.site
2482 fi
2483 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2484 do
2485   test "x$ac_site_file" = xNONE && continue
2486   if test -r "$ac_site_file"; then
2487     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2488 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2489     sed 's/^/| /' "$ac_site_file" >&5
2490     . "$ac_site_file"
2491   fi
2492 done
2493
2494 if test -r "$cache_file"; then
2495   # Some versions of bash will fail to source /dev/null (special
2496   # files actually), so we avoid doing that.
2497   if test -f "$cache_file"; then
2498     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2499 $as_echo "$as_me: loading cache $cache_file" >&6;}
2500     case $cache_file in
2501       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2502       *)                      . "./$cache_file";;
2503     esac
2504   fi
2505 else
2506   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2507 $as_echo "$as_me: creating cache $cache_file" >&6;}
2508   >$cache_file
2509 fi
2510
2511 # Check that the precious variables saved in the cache have kept the same
2512 # value.
2513 ac_cache_corrupted=false
2514 for ac_var in $ac_precious_vars; do
2515   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2516   eval ac_new_set=\$ac_env_${ac_var}_set
2517   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2518   eval ac_new_val=\$ac_env_${ac_var}_value
2519   case $ac_old_set,$ac_new_set in
2520     set,)
2521       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2522 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2523       ac_cache_corrupted=: ;;
2524     ,set)
2525       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2526 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2527       ac_cache_corrupted=: ;;
2528     ,);;
2529     *)
2530       if test "x$ac_old_val" != "x$ac_new_val"; then
2531         # differences in whitespace do not lead to failure.
2532         ac_old_val_w=`echo x $ac_old_val`
2533         ac_new_val_w=`echo x $ac_new_val`
2534         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2535           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2536 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2537           ac_cache_corrupted=:
2538         else
2539           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2540 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2541           eval $ac_var=\$ac_old_val
2542         fi
2543         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2544 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2545         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2546 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2547       fi;;
2548   esac
2549   # Pass precious variables to config.status.
2550   if test "$ac_new_set" = set; then
2551     case $ac_new_val in
2552     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2553     *) ac_arg=$ac_var=$ac_new_val ;;
2554     esac
2555     case " $ac_configure_args " in
2556       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2557       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2558     esac
2559   fi
2560 done
2561 if $ac_cache_corrupted; then
2562   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2564   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2565 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2566   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2567 fi
2568 ## -------------------- ##
2569 ## Main body of script. ##
2570 ## -------------------- ##
2571
2572 ac_ext=c
2573 ac_cpp='$CPP $CPPFLAGS'
2574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2577
2578
2579
2580
2581
2582 ac_config_headers="$ac_config_headers config.h"
2583
2584 ac_aux_dir=
2585 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2586   for ac_t in install-sh install.sh shtool; do
2587     if test -f "$ac_dir/$ac_t"; then
2588       ac_aux_dir=$ac_dir
2589       ac_install_sh="$ac_aux_dir/$ac_t -c"
2590       break 2
2591     fi
2592   done
2593 done
2594 if test -z "$ac_aux_dir"; then
2595   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2596 fi
2597
2598 # These three variables are undocumented and unsupported,
2599 # and are intended to be withdrawn in a future Autoconf release.
2600 # They can cause serious problems if a builder's source tree is in a directory
2601 # whose full name contains unusual characters.
2602 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2603 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2604 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2605
2606
2607 # Make sure we can run config.sub.
2608 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2609   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2610
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2612 $as_echo_n "checking build system type... " >&6; }
2613 if test "${ac_cv_build+set}" = set; then :
2614   $as_echo_n "(cached) " >&6
2615 else
2616   ac_build_alias=$build_alias
2617 test "x$ac_build_alias" = x &&
2618   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2619 test "x$ac_build_alias" = x &&
2620   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2621 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2622   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2623
2624 fi
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2626 $as_echo "$ac_cv_build" >&6; }
2627 case $ac_cv_build in
2628 *-*-*) ;;
2629 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2630 esac
2631 build=$ac_cv_build
2632 ac_save_IFS=$IFS; IFS='-'
2633 set x $ac_cv_build
2634 shift
2635 build_cpu=$1
2636 build_vendor=$2
2637 shift; shift
2638 # Remember, the first character of IFS is used to create $*,
2639 # except with old shells:
2640 build_os=$*
2641 IFS=$ac_save_IFS
2642 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2643
2644
2645  case ${build_alias} in
2646   "") build_noncanonical=${build} ;;
2647   *) build_noncanonical=${build_alias} ;;
2648 esac
2649
2650  case ${host_alias} in
2651   "") host_noncanonical=${build_noncanonical} ;;
2652   *) host_noncanonical=${host_alias} ;;
2653 esac
2654
2655  case ${target_alias} in
2656   "") target_noncanonical=${host_noncanonical} ;;
2657   *) target_noncanonical=${target_alias} ;;
2658 esac
2659
2660
2661 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2662 # have matching libraries, they should use host libraries: Makefile.tpl
2663 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2664 # However, they still use the build modules, because the corresponding
2665 # host modules (e.g. bison) are only built for the host when bootstrap
2666 # finishes. So:
2667 # - build_subdir is where we find build modules, and never changes.
2668 # - build_libsubdir is where we find build libraries, and can be overridden.
2669
2670 # Prefix 'build-' so this never conflicts with target_subdir.
2671 build_subdir="build-${build_noncanonical}"
2672
2673 # Check whether --with-build-libsubdir was given.
2674 if test "${with_build_libsubdir+set}" = set; then :
2675   withval=$with_build_libsubdir; build_libsubdir="$withval"
2676 else
2677   build_libsubdir="$build_subdir"
2678 fi
2679
2680 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2681 if ( test $srcdir = . && test -d gcc ) \
2682    || test -d $srcdir/../host-${host_noncanonical}; then
2683   host_subdir="host-${host_noncanonical}"
2684 else
2685   host_subdir=.
2686 fi
2687 # No prefix.
2688 target_subdir=${target_noncanonical}
2689
2690
2691 # -------
2692 # Options
2693 # -------
2694
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2696 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2697 # Check whether --enable-version-specific-runtime-libs was given.
2698 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2699   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2700  yes) version_specific_libs=yes ;;
2701  no)  version_specific_libs=no ;;
2702  *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2703  esac
2704 else
2705   version_specific_libs=no
2706 fi
2707
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2709 $as_echo "$version_specific_libs" >&6; }
2710
2711 # Build with intermodule optimisations
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2713 $as_echo_n "checking for --enable-intermodule... " >&6; }
2714 # Check whether --enable-intermodule was given.
2715 if test "${enable_intermodule+set}" = set; then :
2716   enableval=$enable_intermodule; case "$enable_intermodule" in
2717   yes) onestep="-onestep";;
2718     *) onestep="";;
2719 esac
2720 else
2721   onestep=""
2722 fi
2723
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2725 $as_echo "$enable_intermodule" >&6; }
2726  if test x$onestep = x-onestep; then
2727   onestep_TRUE=
2728   onestep_FALSE='#'
2729 else
2730   onestep_TRUE='#'
2731   onestep_FALSE=
2732 fi
2733
2734
2735
2736 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2737 #
2738 # You will slowly go insane if you do not grok the following fact:  when
2739 # building this library, the top-level /target/ becomes the library's /host/.
2740 #
2741 # configure then causes --target to default to --host, exactly like any
2742 # other package using autoconf.  Therefore, 'target' and 'host' will
2743 # always be the same.  This makes sense both for native and cross compilers
2744 # just think about it for a little while.  :-)
2745 #
2746 # Also, if this library is being configured as part of a cross compiler, the
2747 # top-level configure script will pass the "real" host as $with_cross_host.
2748 #
2749 # Do not delete or change the following two lines.  For why, see
2750 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2752 $as_echo_n "checking host system type... " >&6; }
2753 if test "${ac_cv_host+set}" = set; then :
2754   $as_echo_n "(cached) " >&6
2755 else
2756   if test "x$host_alias" = x; then
2757   ac_cv_host=$ac_cv_build
2758 else
2759   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2760     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2761 fi
2762
2763 fi
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2765 $as_echo "$ac_cv_host" >&6; }
2766 case $ac_cv_host in
2767 *-*-*) ;;
2768 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2769 esac
2770 host=$ac_cv_host
2771 ac_save_IFS=$IFS; IFS='-'
2772 set x $ac_cv_host
2773 shift
2774 host_cpu=$1
2775 host_vendor=$2
2776 shift; shift
2777 # Remember, the first character of IFS is used to create $*,
2778 # except with old shells:
2779 host_os=$*
2780 IFS=$ac_save_IFS
2781 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2782
2783
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2785 $as_echo_n "checking target system type... " >&6; }
2786 if test "${ac_cv_target+set}" = set; then :
2787   $as_echo_n "(cached) " >&6
2788 else
2789   if test "x$target_alias" = x; then
2790   ac_cv_target=$ac_cv_host
2791 else
2792   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2793     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2794 fi
2795
2796 fi
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2798 $as_echo "$ac_cv_target" >&6; }
2799 case $ac_cv_target in
2800 *-*-*) ;;
2801 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2802 esac
2803 target=$ac_cv_target
2804 ac_save_IFS=$IFS; IFS='-'
2805 set x $ac_cv_target
2806 shift
2807 target_cpu=$1
2808 target_vendor=$2
2809 shift; shift
2810 # Remember, the first character of IFS is used to create $*,
2811 # except with old shells:
2812 target_os=$*
2813 IFS=$ac_save_IFS
2814 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2815
2816
2817 # The aliases save the names the user supplied, while $host etc.
2818 # will get canonicalized.
2819 test -n "$target_alias" &&
2820   test "$program_prefix$program_suffix$program_transform_name" = \
2821     NONENONEs,x,x, &&
2822   program_prefix=${target_alias}-
2823
2824 target_alias=${target_alias-$host_alias}
2825
2826 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
2827 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2828 #  1.9.6:  minimum required version
2829 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
2830 #              of other PACKAGE_* variables will, however, and there's nothing
2831 #              we can do about that; they come from AC_INIT).
2832 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
2833 #            file in the top srcdir, etc, etc), so stop complaining.
2834 #  no-dist:  we don't want 'dist' and related rules.
2835 #  -Wall:  turns on all automake warnings...
2836 #  -Wno-portability:  ...except this one, since GNU make is required.
2837 am__api_version='1.11'
2838
2839 # Find a good install program.  We prefer a C program (faster),
2840 # so one script is as good as another.  But avoid the broken or
2841 # incompatible versions:
2842 # SysV /etc/install, /usr/sbin/install
2843 # SunOS /usr/etc/install
2844 # IRIX /sbin/install
2845 # AIX /bin/install
2846 # AmigaOS /C/install, which installs bootblocks on floppy discs
2847 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2848 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2849 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2850 # OS/2's system install, which has a completely different semantic
2851 # ./install, which can be erroneously created by make from ./install.sh.
2852 # Reject install programs that cannot install multiple files.
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2854 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2855 if test -z "$INSTALL"; then
2856 if test "${ac_cv_path_install+set}" = set; then :
2857   $as_echo_n "(cached) " >&6
2858 else
2859   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2860 for as_dir in $PATH
2861 do
2862   IFS=$as_save_IFS
2863   test -z "$as_dir" && as_dir=.
2864     # Account for people who put trailing slashes in PATH elements.
2865 case $as_dir/ in #((
2866   ./ | .// | /[cC]/* | \
2867   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2868   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2869   /usr/ucb/* ) ;;
2870   *)
2871     # OSF1 and SCO ODT 3.0 have their own names for install.
2872     # Don't use installbsd from OSF since it installs stuff as root
2873     # by default.
2874     for ac_prog in ginstall scoinst install; do
2875       for ac_exec_ext in '' $ac_executable_extensions; do
2876         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2877           if test $ac_prog = install &&
2878             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2879             # AIX install.  It has an incompatible calling convention.
2880             :
2881           elif test $ac_prog = install &&
2882             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2883             # program-specific install script used by HP pwplus--don't use.
2884             :
2885           else
2886             rm -rf conftest.one conftest.two conftest.dir
2887             echo one > conftest.one
2888             echo two > conftest.two
2889             mkdir conftest.dir
2890             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2891               test -s conftest.one && test -s conftest.two &&
2892               test -s conftest.dir/conftest.one &&
2893               test -s conftest.dir/conftest.two
2894             then
2895               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2896               break 3
2897             fi
2898           fi
2899         fi
2900       done
2901     done
2902     ;;
2903 esac
2904
2905   done
2906 IFS=$as_save_IFS
2907
2908 rm -rf conftest.one conftest.two conftest.dir
2909
2910 fi
2911   if test "${ac_cv_path_install+set}" = set; then
2912     INSTALL=$ac_cv_path_install
2913   else
2914     # As a last resort, use the slow shell script.  Don't cache a
2915     # value for INSTALL within a source directory, because that will
2916     # break other packages using the cache if that directory is
2917     # removed, or if the value is a relative name.
2918     INSTALL=$ac_install_sh
2919   fi
2920 fi
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2922 $as_echo "$INSTALL" >&6; }
2923
2924 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2925 # It thinks the first close brace ends the variable substitution.
2926 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2927
2928 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2929
2930 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2931
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2933 $as_echo_n "checking whether build environment is sane... " >&6; }
2934 # Just in case
2935 sleep 1
2936 echo timestamp > conftest.file
2937 # Reject unsafe characters in $srcdir or the absolute working directory
2938 # name.  Accept space and tab only in the latter.
2939 am_lf='
2940 '
2941 case `pwd` in
2942   *[\\\"\#\$\&\'\`$am_lf]*)
2943     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2944 esac
2945 case $srcdir in
2946   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2947     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2948 esac
2949
2950 # Do `set' in a subshell so we don't clobber the current shell's
2951 # arguments.  Must try -L first in case configure is actually a
2952 # symlink; some systems play weird games with the mod time of symlinks
2953 # (eg FreeBSD returns the mod time of the symlink's containing
2954 # directory).
2955 if (
2956    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2957    if test "$*" = "X"; then
2958       # -L didn't work.
2959       set X `ls -t "$srcdir/configure" conftest.file`
2960    fi
2961    rm -f conftest.file
2962    if test "$*" != "X $srcdir/configure conftest.file" \
2963       && test "$*" != "X conftest.file $srcdir/configure"; then
2964
2965       # If neither matched, then we have a broken ls.  This can happen
2966       # if, for instance, CONFIG_SHELL is bash and it inherits a
2967       # broken ls alias from the environment.  This has actually
2968       # happened.  Such a system could not be considered "sane".
2969       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2970 alias in your environment" "$LINENO" 5
2971    fi
2972
2973    test "$2" = conftest.file
2974    )
2975 then
2976    # Ok.
2977    :
2978 else
2979    as_fn_error "newly created file is older than distributed files!
2980 Check your system clock" "$LINENO" 5
2981 fi
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2983 $as_echo "yes" >&6; }
2984 test "$program_prefix" != NONE &&
2985   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2986 # Use a double $ so make ignores it.
2987 test "$program_suffix" != NONE &&
2988   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2989 # Double any \ or $.
2990 # By default was `s,x,x', remove it if useless.
2991 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2992 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2993
2994 # expand $ac_aux_dir to an absolute path
2995 am_aux_dir=`cd $ac_aux_dir && pwd`
2996
2997 if test x"${MISSING+set}" != xset; then
2998   case $am_aux_dir in
2999   *\ * | *\     *)
3000     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3001   *)
3002     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3003   esac
3004 fi
3005 # Use eval to expand $SHELL
3006 if eval "$MISSING --run true"; then
3007   am_missing_run="$MISSING --run "
3008 else
3009   am_missing_run=
3010   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3011 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3012 fi
3013
3014 if test x"${install_sh}" != xset; then
3015   case $am_aux_dir in
3016   *\ * | *\     *)
3017     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3018   *)
3019     install_sh="\${SHELL} $am_aux_dir/install-sh"
3020   esac
3021 fi
3022
3023 # Installed binaries are usually stripped using `strip' when the user
3024 # run `make install-strip'.  However `strip' might not be the right
3025 # tool to use in cross-compilation environments, therefore Automake
3026 # will honor the `STRIP' environment variable to overrule this program.
3027 if test "$cross_compiling" != no; then
3028   if test -n "$ac_tool_prefix"; then
3029   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3030 set dummy ${ac_tool_prefix}strip; ac_word=$2
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3032 $as_echo_n "checking for $ac_word... " >&6; }
3033 if test "${ac_cv_prog_STRIP+set}" = set; then :
3034   $as_echo_n "(cached) " >&6
3035 else
3036   if test -n "$STRIP"; then
3037   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3038 else
3039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3040 for as_dir in $PATH
3041 do
3042   IFS=$as_save_IFS
3043   test -z "$as_dir" && as_dir=.
3044     for ac_exec_ext in '' $ac_executable_extensions; do
3045   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3046     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3047     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3048     break 2
3049   fi
3050 done
3051   done
3052 IFS=$as_save_IFS
3053
3054 fi
3055 fi
3056 STRIP=$ac_cv_prog_STRIP
3057 if test -n "$STRIP"; then
3058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3059 $as_echo "$STRIP" >&6; }
3060 else
3061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3062 $as_echo "no" >&6; }
3063 fi
3064
3065
3066 fi
3067 if test -z "$ac_cv_prog_STRIP"; then
3068   ac_ct_STRIP=$STRIP
3069   # Extract the first word of "strip", so it can be a program name with args.
3070 set dummy strip; ac_word=$2
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3072 $as_echo_n "checking for $ac_word... " >&6; }
3073 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3074   $as_echo_n "(cached) " >&6
3075 else
3076   if test -n "$ac_ct_STRIP"; then
3077   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3078 else
3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 for as_dir in $PATH
3081 do
3082   IFS=$as_save_IFS
3083   test -z "$as_dir" && as_dir=.
3084     for ac_exec_ext in '' $ac_executable_extensions; do
3085   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3086     ac_cv_prog_ac_ct_STRIP="strip"
3087     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3088     break 2
3089   fi
3090 done
3091   done
3092 IFS=$as_save_IFS
3093
3094 fi
3095 fi
3096 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3097 if test -n "$ac_ct_STRIP"; then
3098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3099 $as_echo "$ac_ct_STRIP" >&6; }
3100 else
3101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3102 $as_echo "no" >&6; }
3103 fi
3104
3105   if test "x$ac_ct_STRIP" = x; then
3106     STRIP=":"
3107   else
3108     case $cross_compiling:$ac_tool_warned in
3109 yes:)
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3112 ac_tool_warned=yes ;;
3113 esac
3114     STRIP=$ac_ct_STRIP
3115   fi
3116 else
3117   STRIP="$ac_cv_prog_STRIP"
3118 fi
3119
3120 fi
3121 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3122
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3124 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3125 if test -z "$MKDIR_P"; then
3126   if test "${ac_cv_path_mkdir+set}" = set; then :
3127   $as_echo_n "(cached) " >&6
3128 else
3129   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3130 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3131 do
3132   IFS=$as_save_IFS
3133   test -z "$as_dir" && as_dir=.
3134     for ac_prog in mkdir gmkdir; do
3135          for ac_exec_ext in '' $ac_executable_extensions; do
3136            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3137            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3138              'mkdir (GNU coreutils) '* | \
3139              'mkdir (coreutils) '* | \
3140              'mkdir (fileutils) '4.1*)
3141                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3142                break 3;;
3143            esac
3144          done
3145        done
3146   done
3147 IFS=$as_save_IFS
3148
3149 fi
3150
3151   if test "${ac_cv_path_mkdir+set}" = set; then
3152     MKDIR_P="$ac_cv_path_mkdir -p"
3153   else
3154     # As a last resort, use the slow shell script.  Don't cache a
3155     # value for MKDIR_P within a source directory, because that will
3156     # break other packages using the cache if that directory is
3157     # removed, or if the value is a relative name.
3158     test -d ./--version && rmdir ./--version
3159     MKDIR_P="$ac_install_sh -d"
3160   fi
3161 fi
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3163 $as_echo "$MKDIR_P" >&6; }
3164
3165 mkdir_p="$MKDIR_P"
3166 case $mkdir_p in
3167   [\\/$]* | ?:[\\/]*) ;;
3168   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3169 esac
3170
3171 for ac_prog in gawk mawk nawk awk
3172 do
3173   # Extract the first word of "$ac_prog", so it can be a program name with args.
3174 set dummy $ac_prog; ac_word=$2
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3176 $as_echo_n "checking for $ac_word... " >&6; }
3177 if test "${ac_cv_prog_AWK+set}" = set; then :
3178   $as_echo_n "(cached) " >&6
3179 else
3180   if test -n "$AWK"; then
3181   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3182 else
3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3184 for as_dir in $PATH
3185 do
3186   IFS=$as_save_IFS
3187   test -z "$as_dir" && as_dir=.
3188     for ac_exec_ext in '' $ac_executable_extensions; do
3189   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3190     ac_cv_prog_AWK="$ac_prog"
3191     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3192     break 2
3193   fi
3194 done
3195   done
3196 IFS=$as_save_IFS
3197
3198 fi
3199 fi
3200 AWK=$ac_cv_prog_AWK
3201 if test -n "$AWK"; then
3202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3203 $as_echo "$AWK" >&6; }
3204 else
3205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3207 fi
3208
3209
3210   test -n "$AWK" && break
3211 done
3212
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3214 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3215 set x ${MAKE-make}
3216 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3217 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3218   $as_echo_n "(cached) " >&6
3219 else
3220   cat >conftest.make <<\_ACEOF
3221 SHELL = /bin/sh
3222 all:
3223         @echo '@@@%%%=$(MAKE)=@@@%%%'
3224 _ACEOF
3225 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3226 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3227   *@@@%%%=?*=@@@%%%*)
3228     eval ac_cv_prog_make_${ac_make}_set=yes;;
3229   *)
3230     eval ac_cv_prog_make_${ac_make}_set=no;;
3231 esac
3232 rm -f conftest.make
3233 fi
3234 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3236 $as_echo "yes" >&6; }
3237   SET_MAKE=
3238 else
3239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3240 $as_echo "no" >&6; }
3241   SET_MAKE="MAKE=${MAKE-make}"
3242 fi
3243
3244 rm -rf .tst 2>/dev/null
3245 mkdir .tst 2>/dev/null
3246 if test -d .tst; then
3247   am__leading_dot=.
3248 else
3249   am__leading_dot=_
3250 fi
3251 rmdir .tst 2>/dev/null
3252
3253 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3254   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3255   # is not polluted with repeated "-I."
3256   am__isrc=' -I$(srcdir)'
3257   # test to see if srcdir already configured
3258   if test -f $srcdir/config.status; then
3259     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3260   fi
3261 fi
3262
3263 # test whether we have cygpath
3264 if test -z "$CYGPATH_W"; then
3265   if (cygpath --version) >/dev/null 2>/dev/null; then
3266     CYGPATH_W='cygpath -w'
3267   else
3268     CYGPATH_W=echo
3269   fi
3270 fi
3271
3272
3273 # Define the identity of the package.
3274  PACKAGE='libgfortran'
3275  VERSION='0.3'
3276
3277
3278 # Some tools Automake needs.
3279
3280 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3281
3282
3283 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3284
3285
3286 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3287
3288
3289 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3290
3291
3292 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3293
3294 # We need awk for the "check" target.  The system "awk" is bad on
3295 # some platforms.
3296 # Always define AMTAR for backward compatibility.
3297
3298 AMTAR=${AMTAR-"${am_missing_run}tar"}
3299
3300 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3301
3302
3303
3304
3305
3306
3307
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3309 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3310     # Check whether --enable-maintainer-mode was given.
3311 if test "${enable_maintainer_mode+set}" = set; then :
3312   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3313 else
3314   USE_MAINTAINER_MODE=no
3315 fi
3316
3317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3318 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3319    if test $USE_MAINTAINER_MODE = yes; then
3320   MAINTAINER_MODE_TRUE=
3321   MAINTAINER_MODE_FALSE='#'
3322 else
3323   MAINTAINER_MODE_TRUE='#'
3324   MAINTAINER_MODE_FALSE=
3325 fi
3326
3327   MAINT=$MAINTAINER_MODE_TRUE
3328
3329
3330 # Default to --enable-multilib
3331 # Check whether --enable-multilib was given.
3332 if test "${enable_multilib+set}" = set; then :
3333   enableval=$enable_multilib; case "$enableval" in
3334   yes) multilib=yes ;;
3335   no)  multilib=no ;;
3336   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3337  esac
3338 else
3339   multilib=yes
3340 fi
3341
3342
3343 # We may get other options which we leave undocumented:
3344 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3345 # See config-ml.in if you want the gory details.
3346
3347 if test "$srcdir" = "."; then
3348   if test "$with_target_subdir" != "."; then
3349     multi_basedir="$srcdir/$with_multisrctop../.."
3350   else
3351     multi_basedir="$srcdir/$with_multisrctop.."
3352   fi
3353 else
3354   multi_basedir="$srcdir/.."
3355 fi
3356
3357
3358 # Even if the default multilib is not a cross compilation,
3359 # it may be that some of the other multilibs are.
3360 if test $cross_compiling = no && test $multilib = yes \
3361    && test "x${with_multisubdir}" != x ; then
3362    cross_compiling=maybe
3363 fi
3364
3365 ac_config_commands="$ac_config_commands default-1"
3366
3367
3368 # Handy for debugging:
3369 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3370
3371 # Are we being configured with some form of cross compiler?
3372 # NB: We don't actually need to know this just now, but when, say, a test
3373 #     suite is included, we'll have to know.
3374 if test "$build" != "$host"; then
3375   LIBGFOR_IS_NATIVE=false
3376
3377 else
3378   LIBGFOR_IS_NATIVE=true
3379 fi
3380
3381 # Calculate toolexeclibdir
3382 # Also toolexecdir, though it's only used in toolexeclibdir
3383 case ${version_specific_libs} in
3384   yes)
3385     # Need the gcc compiler version to know where to install libraries
3386     # and header files if --enable-version-specific-runtime-libs option
3387     # is selected.
3388     toolexecdir='$(libdir)/gcc/$(target_alias)'
3389     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3390     ;;
3391   no)
3392     if test -n "$with_cross_host" &&
3393        test x"$with_cross_host" != x"no"; then
3394       # Install a library built with a cross compiler in tooldir, not libdir.
3395       toolexecdir='$(exec_prefix)/$(target_alias)'
3396       toolexeclibdir='$(toolexecdir)/lib'
3397     else
3398       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
3399       toolexeclibdir='$(libdir)'
3400     fi
3401     multi_os_directory=`$CC -print-multi-os-directory`
3402     case $multi_os_directory in
3403       .) ;; # Avoid trailing /.
3404       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
3405     esac
3406     ;;
3407 esac
3408
3409
3410
3411 # Check the compiler.
3412 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3413 # We must force CC to /not/ be precious variables; otherwise
3414 # the wrong, non-multilib-adjusted value will be used in multilibs.
3415 # As a side effect, we have to subst CFLAGS ourselves.
3416
3417
3418
3419 ac_ext=c
3420 ac_cpp='$CPP $CPPFLAGS'
3421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3424 if test -n "$ac_tool_prefix"; then
3425   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3426 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3428 $as_echo_n "checking for $ac_word... " >&6; }
3429 if test "${ac_cv_prog_CC+set}" = set; then :
3430   $as_echo_n "(cached) " >&6
3431 else
3432   if test -n "$CC"; then
3433   ac_cv_prog_CC="$CC" # Let the user override the test.
3434 else
3435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3436 for as_dir in $PATH
3437 do
3438   IFS=$as_save_IFS
3439   test -z "$as_dir" && as_dir=.
3440     for ac_exec_ext in '' $ac_executable_extensions; do
3441   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3442     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3443     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3444     break 2
3445   fi
3446 done
3447   done
3448 IFS=$as_save_IFS
3449
3450 fi
3451 fi
3452 CC=$ac_cv_prog_CC
3453 if test -n "$CC"; then
3454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3455 $as_echo "$CC" >&6; }
3456 else
3457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3458 $as_echo "no" >&6; }
3459 fi
3460
3461
3462 fi
3463 if test -z "$ac_cv_prog_CC"; then
3464   ac_ct_CC=$CC
3465   # Extract the first word of "gcc", so it can be a program name with args.
3466 set dummy gcc; ac_word=$2
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3468 $as_echo_n "checking for $ac_word... " >&6; }
3469 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3470   $as_echo_n "(cached) " >&6
3471 else
3472   if test -n "$ac_ct_CC"; then
3473   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3474 else
3475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3476 for as_dir in $PATH
3477 do
3478   IFS=$as_save_IFS
3479   test -z "$as_dir" && as_dir=.
3480     for ac_exec_ext in '' $ac_executable_extensions; do
3481   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3482     ac_cv_prog_ac_ct_CC="gcc"
3483     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3484     break 2
3485   fi
3486 done
3487   done
3488 IFS=$as_save_IFS
3489
3490 fi
3491 fi
3492 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3493 if test -n "$ac_ct_CC"; then
3494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3495 $as_echo "$ac_ct_CC" >&6; }
3496 else
3497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3498 $as_echo "no" >&6; }
3499 fi
3500
3501   if test "x$ac_ct_CC" = x; then
3502     CC=""
3503   else
3504     case $cross_compiling:$ac_tool_warned in
3505 yes:)
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3508 ac_tool_warned=yes ;;
3509 esac
3510     CC=$ac_ct_CC
3511   fi
3512 else
3513   CC="$ac_cv_prog_CC"
3514 fi
3515
3516 if test -z "$CC"; then
3517           if test -n "$ac_tool_prefix"; then
3518     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3519 set dummy ${ac_tool_prefix}cc; ac_word=$2
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3521 $as_echo_n "checking for $ac_word... " >&6; }
3522 if test "${ac_cv_prog_CC+set}" = set; then :
3523   $as_echo_n "(cached) " >&6
3524 else
3525   if test -n "$CC"; then
3526   ac_cv_prog_CC="$CC" # Let the user override the test.
3527 else
3528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3529 for as_dir in $PATH
3530 do
3531   IFS=$as_save_IFS
3532   test -z "$as_dir" && as_dir=.
3533     for ac_exec_ext in '' $ac_executable_extensions; do
3534   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3535     ac_cv_prog_CC="${ac_tool_prefix}cc"
3536     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3537     break 2
3538   fi
3539 done
3540   done
3541 IFS=$as_save_IFS
3542
3543 fi
3544 fi
3545 CC=$ac_cv_prog_CC
3546 if test -n "$CC"; then
3547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3548 $as_echo "$CC" >&6; }
3549 else
3550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3551 $as_echo "no" >&6; }
3552 fi
3553
3554
3555   fi
3556 fi
3557 if test -z "$CC"; then
3558   # Extract the first word of "cc", so it can be a program name with args.
3559 set dummy cc; ac_word=$2
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3561 $as_echo_n "checking for $ac_word... " >&6; }
3562 if test "${ac_cv_prog_CC+set}" = set; then :
3563   $as_echo_n "(cached) " >&6
3564 else
3565   if test -n "$CC"; then
3566   ac_cv_prog_CC="$CC" # Let the user override the test.
3567 else
3568   ac_prog_rejected=no
3569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3570 for as_dir in $PATH
3571 do
3572   IFS=$as_save_IFS
3573   test -z "$as_dir" && as_dir=.
3574     for ac_exec_ext in '' $ac_executable_extensions; do
3575   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3576     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3577        ac_prog_rejected=yes
3578        continue
3579      fi
3580     ac_cv_prog_CC="cc"
3581     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3582     break 2
3583   fi
3584 done
3585   done
3586 IFS=$as_save_IFS
3587
3588 if test $ac_prog_rejected = yes; then
3589   # We found a bogon in the path, so make sure we never use it.
3590   set dummy $ac_cv_prog_CC
3591   shift
3592   if test $# != 0; then
3593     # We chose a different compiler from the bogus one.
3594     # However, it has the same basename, so the bogon will be chosen
3595     # first if we set CC to just the basename; use the full file name.
3596     shift
3597     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3598   fi
3599 fi
3600 fi
3601 fi
3602 CC=$ac_cv_prog_CC
3603 if test -n "$CC"; then
3604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3605 $as_echo "$CC" >&6; }
3606 else
3607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3608 $as_echo "no" >&6; }
3609 fi
3610
3611
3612 fi
3613 if test -z "$CC"; then
3614   if test -n "$ac_tool_prefix"; then
3615   for ac_prog in cl.exe
3616   do
3617     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3618 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3620 $as_echo_n "checking for $ac_word... " >&6; }
3621 if test "${ac_cv_prog_CC+set}" = set; then :
3622   $as_echo_n "(cached) " >&6
3623 else
3624   if test -n "$CC"; then
3625   ac_cv_prog_CC="$CC" # Let the user override the test.
3626 else
3627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3628 for as_dir in $PATH
3629 do
3630   IFS=$as_save_IFS
3631   test -z "$as_dir" && as_dir=.
3632     for ac_exec_ext in '' $ac_executable_extensions; do
3633   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3634     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3635     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3636     break 2
3637   fi
3638 done
3639   done
3640 IFS=$as_save_IFS
3641
3642 fi
3643 fi
3644 CC=$ac_cv_prog_CC
3645 if test -n "$CC"; then
3646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3647 $as_echo "$CC" >&6; }
3648 else
3649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3650 $as_echo "no" >&6; }
3651 fi
3652
3653
3654     test -n "$CC" && break
3655   done
3656 fi
3657 if test -z "$CC"; then
3658   ac_ct_CC=$CC
3659   for ac_prog in cl.exe
3660 do
3661   # Extract the first word of "$ac_prog", so it can be a program name with args.
3662 set dummy $ac_prog; ac_word=$2
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3664 $as_echo_n "checking for $ac_word... " >&6; }
3665 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3666   $as_echo_n "(cached) " >&6
3667 else
3668   if test -n "$ac_ct_CC"; then
3669   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3670 else
3671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3672 for as_dir in $PATH
3673 do
3674   IFS=$as_save_IFS
3675   test -z "$as_dir" && as_dir=.
3676     for ac_exec_ext in '' $ac_executable_extensions; do
3677   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3678     ac_cv_prog_ac_ct_CC="$ac_prog"
3679     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3680     break 2
3681   fi
3682 done
3683   done
3684 IFS=$as_save_IFS
3685
3686 fi
3687 fi
3688 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3689 if test -n "$ac_ct_CC"; then
3690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3691 $as_echo "$ac_ct_CC" >&6; }
3692 else
3693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3694 $as_echo "no" >&6; }
3695 fi
3696
3697
3698   test -n "$ac_ct_CC" && break
3699 done
3700
3701   if test "x$ac_ct_CC" = x; then
3702     CC=""
3703   else
3704     case $cross_compiling:$ac_tool_warned in
3705 yes:)
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3708 ac_tool_warned=yes ;;
3709 esac
3710     CC=$ac_ct_CC
3711   fi
3712 fi
3713
3714 fi
3715
3716
3717 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3719 as_fn_error "no acceptable C compiler found in \$PATH
3720 See \`config.log' for more details." "$LINENO" 5; }
3721
3722 # Provide some information about the compiler.
3723 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3724 set X $ac_compile
3725 ac_compiler=$2
3726 for ac_option in --version -v -V -qversion; do
3727   { { ac_try="$ac_compiler $ac_option >&5"
3728 case "(($ac_try" in
3729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3730   *) ac_try_echo=$ac_try;;
3731 esac
3732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3733 $as_echo "$ac_try_echo"; } >&5
3734   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3735   ac_status=$?
3736   if test -s conftest.err; then
3737     sed '10a\
3738 ... rest of stderr output deleted ...
3739          10q' conftest.err >conftest.er1
3740     cat conftest.er1 >&5
3741     rm -f conftest.er1 conftest.err
3742   fi
3743   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3744   test $ac_status = 0; }
3745 done
3746
3747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3748 /* end confdefs.h.  */
3749
3750 int
3751 main ()
3752 {
3753
3754   ;
3755   return 0;
3756 }
3757 _ACEOF
3758 # FIXME: Cleanup?
3759 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3760   (eval $ac_link) 2>&5
3761   ac_status=$?
3762   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3763   test $ac_status = 0; }; then :
3764   gcc_no_link=no
3765 else
3766   gcc_no_link=yes
3767 fi
3768 if test x$gcc_no_link = xyes; then
3769   # Setting cross_compile will disable run tests; it will
3770   # also disable AC_CHECK_FILE but that's generally
3771   # correct if we can't link.
3772   cross_compiling=yes
3773   EXEEXT=
3774 else
3775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3776 /* end confdefs.h.  */
3777
3778 int
3779 main ()
3780 {
3781
3782   ;
3783   return 0;
3784 }
3785 _ACEOF
3786 ac_clean_files_save=$ac_clean_files
3787 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3788 # Try to create an executable without -o first, disregard a.out.
3789 # It will help us diagnose broken compilers, and finding out an intuition
3790 # of exeext.
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3792 $as_echo_n "checking for C compiler default output file name... " >&6; }
3793 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3794
3795 # The possible output files:
3796 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3797
3798 ac_rmfiles=
3799 for ac_file in $ac_files
3800 do
3801   case $ac_file in
3802     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3803     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3804   esac
3805 done
3806 rm -f $ac_rmfiles
3807
3808 if { { ac_try="$ac_link_default"
3809 case "(($ac_try" in
3810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3811   *) ac_try_echo=$ac_try;;
3812 esac
3813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3814 $as_echo "$ac_try_echo"; } >&5
3815   (eval "$ac_link_default") 2>&5
3816   ac_status=$?
3817   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3818   test $ac_status = 0; }; then :
3819   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3820 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3821 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3822 # so that the user can short-circuit this test for compilers unknown to
3823 # Autoconf.
3824 for ac_file in $ac_files ''
3825 do
3826   test -f "$ac_file" || continue
3827   case $ac_file in
3828     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3829         ;;
3830     [ab].out )
3831         # We found the default executable, but exeext='' is most
3832         # certainly right.
3833         break;;
3834     *.* )
3835         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3836         then :; else
3837            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3838         fi
3839         # We set ac_cv_exeext here because the later test for it is not
3840         # safe: cross compilers may not add the suffix if given an `-o'
3841         # argument, so we may need to know it at that point already.
3842         # Even if this section looks crufty: it has the advantage of
3843         # actually working.
3844         break;;
3845     * )
3846         break;;
3847   esac
3848 done
3849 test "$ac_cv_exeext" = no && ac_cv_exeext=
3850
3851 else
3852   ac_file=''
3853 fi
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3855 $as_echo "$ac_file" >&6; }
3856 if test -z "$ac_file"; then :
3857   $as_echo "$as_me: failed program was:" >&5
3858 sed 's/^/| /' conftest.$ac_ext >&5
3859
3860 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3861 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3862 { as_fn_set_status 77
3863 as_fn_error "C compiler cannot create executables
3864 See \`config.log' for more details." "$LINENO" 5; }; }
3865 fi
3866 ac_exeext=$ac_cv_exeext
3867
3868 # Check that the compiler produces executables we can run.  If not, either
3869 # the compiler is broken, or we cross compile.
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3871 $as_echo_n "checking whether the C compiler works... " >&6; }
3872 # If not cross compiling, check that we can run a simple program.
3873 if test "$cross_compiling" != yes; then
3874   if { ac_try='./$ac_file'
3875   { { case "(($ac_try" in
3876   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3877   *) ac_try_echo=$ac_try;;
3878 esac
3879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3880 $as_echo "$ac_try_echo"; } >&5
3881   (eval "$ac_try") 2>&5
3882   ac_status=$?
3883   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3884   test $ac_status = 0; }; }; then
3885     cross_compiling=no
3886   else
3887     if test "$cross_compiling" = maybe; then
3888         cross_compiling=yes
3889     else
3890         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3892 as_fn_error "cannot run C compiled programs.
3893 If you meant to cross compile, use \`--host'.
3894 See \`config.log' for more details." "$LINENO" 5; }
3895     fi
3896   fi
3897 fi
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3899 $as_echo "yes" >&6; }
3900
3901 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3902 ac_clean_files=$ac_clean_files_save
3903 # Check that the compiler produces executables we can run.  If not, either
3904 # the compiler is broken, or we cross compile.
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3906 $as_echo_n "checking whether we are cross compiling... " >&6; }
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3908 $as_echo "$cross_compiling" >&6; }
3909
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3911 $as_echo_n "checking for suffix of executables... " >&6; }
3912 if { { ac_try="$ac_link"
3913 case "(($ac_try" in
3914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3915   *) ac_try_echo=$ac_try;;
3916 esac
3917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3918 $as_echo "$ac_try_echo"; } >&5
3919   (eval "$ac_link") 2>&5
3920   ac_status=$?
3921   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3922   test $ac_status = 0; }; then :
3923   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3924 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3925 # work properly (i.e., refer to `conftest.exe'), while it won't with
3926 # `rm'.
3927 for ac_file in conftest.exe conftest conftest.*; do
3928   test -f "$ac_file" || continue
3929   case $ac_file in
3930     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3931     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3932           break;;
3933     * ) break;;
3934   esac
3935 done
3936 else
3937   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3939 as_fn_error "cannot compute suffix of executables: cannot compile and link
3940 See \`config.log' for more details." "$LINENO" 5; }
3941 fi
3942 rm -f conftest$ac_cv_exeext
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3944 $as_echo "$ac_cv_exeext" >&6; }
3945
3946 rm -f conftest.$ac_ext
3947 EXEEXT=$ac_cv_exeext
3948 ac_exeext=$EXEEXT
3949 fi
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3951 $as_echo_n "checking for suffix of object files... " >&6; }
3952 if test "${ac_cv_objext+set}" = set; then :
3953   $as_echo_n "(cached) " >&6
3954 else
3955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956 /* end confdefs.h.  */
3957
3958 int
3959 main ()
3960 {
3961
3962   ;
3963   return 0;
3964 }
3965 _ACEOF
3966 rm -f conftest.o conftest.obj
3967 if { { ac_try="$ac_compile"
3968 case "(($ac_try" in
3969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3970   *) ac_try_echo=$ac_try;;
3971 esac
3972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3973 $as_echo "$ac_try_echo"; } >&5
3974   (eval "$ac_compile") 2>&5
3975   ac_status=$?
3976   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3977   test $ac_status = 0; }; then :
3978   for ac_file in conftest.o conftest.obj conftest.*; do
3979   test -f "$ac_file" || continue;
3980   case $ac_file in
3981     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3982     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3983        break;;
3984   esac
3985 done
3986 else
3987   $as_echo "$as_me: failed program was:" >&5
3988 sed 's/^/| /' conftest.$ac_ext >&5
3989
3990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3992 as_fn_error "cannot compute suffix of object files: cannot compile
3993 See \`config.log' for more details." "$LINENO" 5; }
3994 fi
3995 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3996 fi
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3998 $as_echo "$ac_cv_objext" >&6; }
3999 OBJEXT=$ac_cv_objext
4000 ac_objext=$OBJEXT
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4002 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4003 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4004   $as_echo_n "(cached) " >&6
4005 else
4006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4007 /* end confdefs.h.  */
4008
4009 int
4010 main ()
4011 {
4012 #ifndef __GNUC__
4013        choke me
4014 #endif
4015
4016   ;
4017   return 0;
4018 }
4019 _ACEOF
4020 if ac_fn_c_try_compile "$LINENO"; then :
4021   ac_compiler_gnu=yes
4022 else
4023   ac_compiler_gnu=no
4024 fi
4025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4026 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4027
4028 fi
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4030 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4031 if test $ac_compiler_gnu = yes; then
4032   GCC=yes
4033 else
4034   GCC=
4035 fi
4036 ac_test_CFLAGS=${CFLAGS+set}
4037 ac_save_CFLAGS=$CFLAGS
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4039 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4040 if test "${ac_cv_prog_cc_g+set}" = set; then :
4041   $as_echo_n "(cached) " >&6
4042 else
4043   ac_save_c_werror_flag=$ac_c_werror_flag
4044    ac_c_werror_flag=yes
4045    ac_cv_prog_cc_g=no
4046    CFLAGS="-g"
4047    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4048 /* end confdefs.h.  */
4049
4050 int
4051 main ()
4052 {
4053
4054   ;
4055   return 0;
4056 }
4057 _ACEOF
4058 if ac_fn_c_try_compile "$LINENO"; then :
4059   ac_cv_prog_cc_g=yes
4060 else
4061   CFLAGS=""
4062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4063 /* end confdefs.h.  */
4064
4065 int
4066 main ()
4067 {
4068
4069   ;
4070   return 0;
4071 }
4072 _ACEOF
4073 if ac_fn_c_try_compile "$LINENO"; then :
4074
4075 else
4076   ac_c_werror_flag=$ac_save_c_werror_flag
4077          CFLAGS="-g"
4078          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h.  */
4080
4081 int
4082 main ()
4083 {
4084
4085   ;
4086   return 0;
4087 }
4088 _ACEOF
4089 if ac_fn_c_try_compile "$LINENO"; then :
4090   ac_cv_prog_cc_g=yes
4091 fi
4092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4093 fi
4094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4095 fi
4096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4097    ac_c_werror_flag=$ac_save_c_werror_flag
4098 fi
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4100 $as_echo "$ac_cv_prog_cc_g" >&6; }
4101 if test "$ac_test_CFLAGS" = set; then
4102   CFLAGS=$ac_save_CFLAGS
4103 elif test $ac_cv_prog_cc_g = yes; then
4104   if test "$GCC" = yes; then
4105     CFLAGS="-g -O2"
4106   else
4107     CFLAGS="-g"
4108   fi
4109 else
4110   if test "$GCC" = yes; then
4111     CFLAGS="-O2"
4112   else
4113     CFLAGS=
4114   fi
4115 fi
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4117 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4118 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4119   $as_echo_n "(cached) " >&6
4120 else
4121   ac_cv_prog_cc_c89=no
4122 ac_save_CC=$CC
4123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4124 /* end confdefs.h.  */
4125 #include <stdarg.h>
4126 #include <stdio.h>
4127 #include <sys/types.h>
4128 #include <sys/stat.h>
4129 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4130 struct buf { int x; };
4131 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4132 static char *e (p, i)
4133      char **p;
4134      int i;
4135 {
4136   return p[i];
4137 }
4138 static char *f (char * (*g) (char **, int), char **p, ...)
4139 {
4140   char *s;
4141   va_list v;
4142   va_start (v,p);
4143   s = g (p, va_arg (v,int));
4144   va_end (v);
4145   return s;
4146 }
4147
4148 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4149    function prototypes and stuff, but not '\xHH' hex character constants.
4150    These don't provoke an error unfortunately, instead are silently treated
4151    as 'x'.  The following induces an error, until -std is added to get
4152    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4153    array size at least.  It's necessary to write '\x00'==0 to get something
4154    that's true only with -std.  */
4155 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4156
4157 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4158    inside strings and character constants.  */
4159 #define FOO(x) 'x'
4160 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4161
4162 int test (int i, double x);
4163 struct s1 {int (*f) (int a);};
4164 struct s2 {int (*f) (double a);};
4165 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4166 int argc;
4167 char **argv;
4168 int
4169 main ()
4170 {
4171 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4172   ;
4173   return 0;
4174 }
4175 _ACEOF
4176 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4177         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4178 do
4179   CC="$ac_save_CC $ac_arg"
4180   if ac_fn_c_try_compile "$LINENO"; then :
4181   ac_cv_prog_cc_c89=$ac_arg
4182 fi
4183 rm -f core conftest.err conftest.$ac_objext
4184   test "x$ac_cv_prog_cc_c89" != "xno" && break
4185 done
4186 rm -f conftest.$ac_ext
4187 CC=$ac_save_CC
4188
4189 fi
4190 # AC_CACHE_VAL
4191 case "x$ac_cv_prog_cc_c89" in
4192   x)
4193     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4194 $as_echo "none needed" >&6; } ;;
4195   xno)
4196     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4197 $as_echo "unsupported" >&6; } ;;
4198   *)
4199     CC="$CC $ac_cv_prog_cc_c89"
4200     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4201 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4202 esac
4203 if test "x$ac_cv_prog_cc_c89" != xno; then :
4204
4205 fi
4206
4207 ac_ext=c
4208 ac_cpp='$CPP $CPPFLAGS'
4209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4212 DEPDIR="${am__leading_dot}deps"
4213
4214 ac_config_commands="$ac_config_commands depfiles"
4215
4216
4217 am_make=${MAKE-make}
4218 cat > confinc << 'END'
4219 am__doit:
4220         @echo this is the am__doit target
4221 .PHONY: am__doit
4222 END
4223 # If we don't find an include directive, just comment out the code.
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4225 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4226 am__include="#"
4227 am__quote=
4228 _am_result=none
4229 # First try GNU make style include.
4230 echo "include confinc" > confmf
4231 # Ignore all kinds of additional output from `make'.
4232 case `$am_make -s -f confmf 2> /dev/null` in #(
4233 *the\ am__doit\ target*)
4234   am__include=include
4235   am__quote=
4236   _am_result=GNU
4237   ;;
4238 esac
4239 # Now try BSD make style include.
4240 if test "$am__include" = "#"; then
4241    echo '.include "confinc"' > confmf
4242    case `$am_make -s -f confmf 2> /dev/null` in #(
4243    *the\ am__doit\ target*)
4244      am__include=.include
4245      am__quote="\""
4246      _am_result=BSD
4247      ;;
4248    esac
4249 fi
4250
4251
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4253 $as_echo "$_am_result" >&6; }
4254 rm -f confinc confmf
4255
4256 # Check whether --enable-dependency-tracking was given.
4257 if test "${enable_dependency_tracking+set}" = set; then :
4258   enableval=$enable_dependency_tracking;
4259 fi
4260
4261 if test "x$enable_dependency_tracking" != xno; then
4262   am_depcomp="$ac_aux_dir/depcomp"
4263   AMDEPBACKSLASH='\'
4264 fi
4265  if test "x$enable_dependency_tracking" != xno; then
4266   AMDEP_TRUE=
4267   AMDEP_FALSE='#'
4268 else
4269   AMDEP_TRUE='#'
4270   AMDEP_FALSE=
4271 fi
4272
4273
4274
4275 depcc="$CC"   am_compiler_list=
4276
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4278 $as_echo_n "checking dependency style of $depcc... " >&6; }
4279 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4280   $as_echo_n "(cached) " >&6
4281 else
4282   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4283   # We make a subdir and do the tests there.  Otherwise we can end up
4284   # making bogus files that we don't know about and never remove.  For
4285   # instance it was reported that on HP-UX the gcc test will end up
4286   # making a dummy file named `D' -- because `-MD' means `put the output
4287   # in D'.
4288   mkdir conftest.dir
4289   # Copy depcomp to subdir because otherwise we won't find it if we're
4290   # using a relative directory.
4291   cp "$am_depcomp" conftest.dir
4292   cd conftest.dir
4293   # We will build objects and dependencies in a subdirectory because
4294   # it helps to detect inapplicable dependency modes.  For instance
4295   # both Tru64's cc and ICC support -MD to output dependencies as a
4296   # side effect of compilation, but ICC will put the dependencies in
4297   # the current directory while Tru64 will put them in the object
4298   # directory.
4299   mkdir sub
4300
4301   am_cv_CC_dependencies_compiler_type=none
4302   if test "$am_compiler_list" = ""; then
4303      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4304   fi
4305   am__universal=false
4306   case " $depcc " in #(
4307      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4308      esac
4309
4310   for depmode in $am_compiler_list; do
4311     # Setup a source with many dependencies, because some compilers
4312     # like to wrap large dependency lists on column 80 (with \), and
4313     # we should not choose a depcomp mode which is confused by this.
4314     #
4315     # We need to recreate these files for each test, as the compiler may
4316     # overwrite some of them when testing with obscure command lines.
4317     # This happens at least with the AIX C compiler.
4318     : > sub/conftest.c
4319     for i in 1 2 3 4 5 6; do
4320       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4321       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4322       # Solaris 8's {/usr,}/bin/sh.
4323       touch sub/conftst$i.h
4324     done
4325     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4326
4327     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4328     # mode.  It turns out that the SunPro C++ compiler does not properly
4329     # handle `-M -o', and we need to detect this.  Also, some Intel
4330     # versions had trouble with output in subdirs
4331     am__obj=sub/conftest.${OBJEXT-o}
4332     am__minus_obj="-o $am__obj"
4333     case $depmode in
4334     gcc)
4335       # This depmode causes a compiler race in universal mode.
4336       test "$am__universal" = false || continue
4337       ;;
4338     nosideeffect)
4339       # after this tag, mechanisms are not by side-effect, so they'll
4340       # only be used when explicitly requested
4341       if test "x$enable_dependency_tracking" = xyes; then
4342         continue
4343       else
4344         break
4345       fi
4346       ;;
4347     msvisualcpp | msvcmsys)
4348       # This compiler won't grok `-c -o', but also, the minuso test has
4349       # not run yet.  These depmodes are late enough in the game, and
4350       # so weak that their functioning should not be impacted.
4351       am__obj=conftest.${OBJEXT-o}
4352       am__minus_obj=
4353       ;;
4354     none) break ;;
4355     esac
4356     if depmode=$depmode \
4357        source=sub/conftest.c object=$am__obj \
4358        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4359        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4360          >/dev/null 2>conftest.err &&
4361        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4362        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4363        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4364        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4365       # icc doesn't choke on unknown options, it will just issue warnings
4366       # or remarks (even with -Werror).  So we grep stderr for any message
4367       # that says an option was ignored or not supported.
4368       # When given -MP, icc 7.0 and 7.1 complain thusly:
4369       #   icc: Command line warning: ignoring option '-M'; no argument required
4370       # The diagnosis changed in icc 8.0:
4371       #   icc: Command line remark: option '-MP' not supported
4372       if (grep 'ignoring option' conftest.err ||
4373           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4374         am_cv_CC_dependencies_compiler_type=$depmode
4375         break
4376       fi
4377     fi
4378   done
4379
4380   cd ..
4381   rm -rf conftest.dir
4382 else
4383   am_cv_CC_dependencies_compiler_type=none
4384 fi
4385
4386 fi
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4388 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4389 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4390
4391  if
4392   test "x$enable_dependency_tracking" != xno \
4393   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4394   am__fastdepCC_TRUE=
4395   am__fastdepCC_FALSE='#'
4396 else
4397   am__fastdepCC_TRUE='#'
4398   am__fastdepCC_FALSE=
4399 fi
4400
4401
4402
4403
4404 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
4405 if test "x$GCC" = "xyes"; then
4406   AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
4407   ## We like to use C99 routines when available.  This makes sure that
4408   ## __STDC_VERSION__ is set such that libc includes make them available.
4409   AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
4410   ## Compile the following tests with the same system header contents
4411   ## that we'll encounter when compiling our own source files.
4412   CFLAGS="-std=gnu99 $CFLAGS"
4413 fi
4414
4415
4416
4417
4418 # Check for symbol versioning (copied from libssp).
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
4420 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
4421 save_LDFLAGS="$LDFLAGS"
4422 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
4423 cat > conftest.map <<EOF
4424 FOO_1.0 {
4425   global: *foo*; bar; local: *;
4426 };
4427 EOF
4428
4429 if test x$gcc_no_link = xyes; then
4430   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4431 fi
4432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4433 /* end confdefs.h.  */
4434 int foo;
4435 int
4436 main ()
4437 {
4438
4439   ;
4440   return 0;
4441 }
4442 _ACEOF
4443 if ac_fn_c_try_link "$LINENO"; then :
4444   gfortran_use_symver=gnu
4445 else
4446   gfortran_use_symver=no
4447 fi
4448 rm -f core conftest.err conftest.$ac_objext \
4449     conftest$ac_exeext conftest.$ac_ext
4450 if test x$gfortran_use_symver = xno; then
4451   LDFLAGS="$save_LDFLAGS"
4452   LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
4453   # Sun ld cannot handle wildcards and treats all entries as undefined.
4454   cat > conftest.map <<EOF
4455 FOO_1.0 {
4456   global: foo; local: *;
4457 };
4458 EOF
4459   if test x$gcc_no_link = xyes; then
4460   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4461 fi
4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4463 /* end confdefs.h.  */
4464 int foo;
4465 int
4466 main ()
4467 {
4468
4469   ;
4470   return 0;
4471 }
4472 _ACEOF
4473 if ac_fn_c_try_link "$LINENO"; then :
4474   gfortran_use_symver=sun
4475 else
4476   gfortran_use_symver=no
4477 fi
4478 rm -f core conftest.err conftest.$ac_objext \
4479     conftest$ac_exeext conftest.$ac_ext
4480 fi
4481 LDFLAGS="$save_LDFLAGS"
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
4483 $as_echo "$gfortran_use_symver" >&6; }
4484  if test "x$gfortran_use_symver" != xno; then
4485   LIBGFOR_USE_SYMVER_TRUE=
4486   LIBGFOR_USE_SYMVER_FALSE='#'
4487 else
4488   LIBGFOR_USE_SYMVER_TRUE='#'
4489   LIBGFOR_USE_SYMVER_FALSE=
4490 fi
4491
4492  if test "x$gfortran_use_symver" = xgnu; then
4493   LIBGFOR_USE_SYMVER_GNU_TRUE=
4494   LIBGFOR_USE_SYMVER_GNU_FALSE='#'
4495 else
4496   LIBGFOR_USE_SYMVER_GNU_TRUE='#'
4497   LIBGFOR_USE_SYMVER_GNU_FALSE=
4498 fi
4499
4500  if test "x$gfortran_use_symver" = xsun; then
4501   LIBGFOR_USE_SYMVER_SUN_TRUE=
4502   LIBGFOR_USE_SYMVER_SUN_FALSE='#'
4503 else
4504   LIBGFOR_USE_SYMVER_SUN_TRUE='#'
4505   LIBGFOR_USE_SYMVER_SUN_FALSE=
4506 fi
4507
4508
4509 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
4510 # similarly to how libstdc++ does it
4511 ac_test_CFLAGS="${CFLAGS+set}"
4512 ac_save_CFLAGS="$CFLAGS"
4513
4514 # Check for -ffunction-sections -fdata-sections
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
4516 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
4517 CFLAGS='-Werror -ffunction-sections -fdata-sections'
4518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4519 /* end confdefs.h.  */
4520
4521 int
4522 main ()
4523 {
4524 int foo;
4525   ;
4526   return 0;
4527 }
4528 _ACEOF
4529 if ac_fn_c_try_compile "$LINENO"; then :
4530   ac_fdsections=yes
4531 else
4532   ac_fdsections=no
4533 fi
4534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4535 if test "$ac_test_CFLAGS" = set; then
4536   CFLAGS="$ac_save_CFLAGS"
4537 else
4538   # this is the suspicious part
4539   CFLAGS=""
4540 fi
4541 if test x"$ac_fdsections" = x"yes"; then
4542   SECTION_FLAGS='-ffunction-sections -fdata-sections'
4543 fi
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
4545 $as_echo "$ac_fdsections" >&6; }
4546
4547
4548 # Find other programs we need.
4549 if test -n "$ac_tool_prefix"; then
4550   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4551 set dummy ${ac_tool_prefix}as; ac_word=$2
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4553 $as_echo_n "checking for $ac_word... " >&6; }
4554 if test "${ac_cv_prog_AS+set}" = set; then :
4555   $as_echo_n "(cached) " >&6
4556 else
4557   if test -n "$AS"; then
4558   ac_cv_prog_AS="$AS" # Let the user override the test.
4559 else
4560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4561 for as_dir in $PATH
4562 do
4563   IFS=$as_save_IFS
4564   test -z "$as_dir" && as_dir=.
4565     for ac_exec_ext in '' $ac_executable_extensions; do
4566   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4567     ac_cv_prog_AS="${ac_tool_prefix}as"
4568     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4569     break 2
4570   fi
4571 done
4572   done
4573 IFS=$as_save_IFS
4574
4575 fi
4576 fi
4577 AS=$ac_cv_prog_AS
4578 if test -n "$AS"; then
4579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4580 $as_echo "$AS" >&6; }
4581 else
4582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4583 $as_echo "no" >&6; }
4584 fi
4585
4586
4587 fi
4588 if test -z "$ac_cv_prog_AS"; then
4589   ac_ct_AS=$AS
4590   # Extract the first word of "as", so it can be a program name with args.
4591 set dummy as; ac_word=$2
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4593 $as_echo_n "checking for $ac_word... " >&6; }
4594 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4595   $as_echo_n "(cached) " >&6
4596 else
4597   if test -n "$ac_ct_AS"; then
4598   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4599 else
4600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4601 for as_dir in $PATH
4602 do
4603   IFS=$as_save_IFS
4604   test -z "$as_dir" && as_dir=.
4605     for ac_exec_ext in '' $ac_executable_extensions; do
4606   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4607     ac_cv_prog_ac_ct_AS="as"
4608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4609     break 2
4610   fi
4611 done
4612   done
4613 IFS=$as_save_IFS
4614
4615 fi
4616 fi
4617 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4618 if test -n "$ac_ct_AS"; then
4619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4620 $as_echo "$ac_ct_AS" >&6; }
4621 else
4622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4623 $as_echo "no" >&6; }
4624 fi
4625
4626   if test "x$ac_ct_AS" = x; then
4627     AS=""
4628   else
4629     case $cross_compiling:$ac_tool_warned in
4630 yes:)
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4633 ac_tool_warned=yes ;;
4634 esac
4635     AS=$ac_ct_AS
4636   fi
4637 else
4638   AS="$ac_cv_prog_AS"
4639 fi
4640
4641 if test -n "$ac_tool_prefix"; then
4642   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4643 set dummy ${ac_tool_prefix}ar; ac_word=$2
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4645 $as_echo_n "checking for $ac_word... " >&6; }
4646 if test "${ac_cv_prog_AR+set}" = set; then :
4647   $as_echo_n "(cached) " >&6
4648 else
4649   if test -n "$AR"; then
4650   ac_cv_prog_AR="$AR" # Let the user override the test.
4651 else
4652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4653 for as_dir in $PATH
4654 do
4655   IFS=$as_save_IFS
4656   test -z "$as_dir" && as_dir=.
4657     for ac_exec_ext in '' $ac_executable_extensions; do
4658   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4659     ac_cv_prog_AR="${ac_tool_prefix}ar"
4660     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4661     break 2
4662   fi
4663 done
4664   done
4665 IFS=$as_save_IFS
4666
4667 fi
4668 fi
4669 AR=$ac_cv_prog_AR
4670 if test -n "$AR"; then
4671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4672 $as_echo "$AR" >&6; }
4673 else
4674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4675 $as_echo "no" >&6; }
4676 fi
4677
4678
4679 fi
4680 if test -z "$ac_cv_prog_AR"; then
4681   ac_ct_AR=$AR
4682   # Extract the first word of "ar", so it can be a program name with args.
4683 set dummy ar; ac_word=$2
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4685 $as_echo_n "checking for $ac_word... " >&6; }
4686 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4687   $as_echo_n "(cached) " >&6
4688 else
4689   if test -n "$ac_ct_AR"; then
4690   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4691 else
4692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4693 for as_dir in $PATH
4694 do
4695   IFS=$as_save_IFS
4696   test -z "$as_dir" && as_dir=.
4697     for ac_exec_ext in '' $ac_executable_extensions; do
4698   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4699     ac_cv_prog_ac_ct_AR="ar"
4700     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4701     break 2
4702   fi
4703 done
4704   done
4705 IFS=$as_save_IFS
4706
4707 fi
4708 fi
4709 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4710 if test -n "$ac_ct_AR"; then
4711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4712 $as_echo "$ac_ct_AR" >&6; }
4713 else
4714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4715 $as_echo "no" >&6; }
4716 fi
4717
4718   if test "x$ac_ct_AR" = x; then
4719     AR=""
4720   else
4721     case $cross_compiling:$ac_tool_warned in
4722 yes:)
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4725 ac_tool_warned=yes ;;
4726 esac
4727     AR=$ac_ct_AR
4728   fi
4729 else
4730   AR="$ac_cv_prog_AR"
4731 fi
4732
4733 if test -n "$ac_tool_prefix"; then
4734   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4735 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4737 $as_echo_n "checking for $ac_word... " >&6; }
4738 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4739   $as_echo_n "(cached) " >&6
4740 else
4741   if test -n "$RANLIB"; then
4742   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4743 else
4744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4745 for as_dir in $PATH
4746 do
4747   IFS=$as_save_IFS
4748   test -z "$as_dir" && as_dir=.
4749     for ac_exec_ext in '' $ac_executable_extensions; do
4750   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4751     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4752     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4753     break 2
4754   fi
4755 done
4756   done
4757 IFS=$as_save_IFS
4758
4759 fi
4760 fi
4761 RANLIB=$ac_cv_prog_RANLIB
4762 if test -n "$RANLIB"; then
4763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4764 $as_echo "$RANLIB" >&6; }
4765 else
4766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4767 $as_echo "no" >&6; }
4768 fi
4769
4770
4771 fi
4772 if test -z "$ac_cv_prog_RANLIB"; then
4773   ac_ct_RANLIB=$RANLIB
4774   # Extract the first word of "ranlib", so it can be a program name with args.
4775 set dummy ranlib; ac_word=$2
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4777 $as_echo_n "checking for $ac_word... " >&6; }
4778 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4779   $as_echo_n "(cached) " >&6
4780 else
4781   if test -n "$ac_ct_RANLIB"; then
4782   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4783 else
4784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4785 for as_dir in $PATH
4786 do
4787   IFS=$as_save_IFS
4788   test -z "$as_dir" && as_dir=.
4789     for ac_exec_ext in '' $ac_executable_extensions; do
4790   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4791     ac_cv_prog_ac_ct_RANLIB="ranlib"
4792     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4793     break 2
4794   fi
4795 done
4796   done
4797 IFS=$as_save_IFS
4798
4799 fi
4800 fi
4801 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4802 if test -n "$ac_ct_RANLIB"; then
4803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4804 $as_echo "$ac_ct_RANLIB" >&6; }
4805 else
4806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4807 $as_echo "no" >&6; }
4808 fi
4809
4810   if test "x$ac_ct_RANLIB" = x; then
4811     RANLIB="ranlib-not-found-in-path-error"
4812   else
4813     case $cross_compiling:$ac_tool_warned in
4814 yes:)
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4817 ac_tool_warned=yes ;;
4818 esac
4819     RANLIB=$ac_ct_RANLIB
4820   fi
4821 else
4822   RANLIB="$ac_cv_prog_RANLIB"
4823 fi
4824
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4826 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4827 set x ${MAKE-make}
4828 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4829 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4830   $as_echo_n "(cached) " >&6
4831 else
4832   cat >conftest.make <<\_ACEOF
4833 SHELL = /bin/sh
4834 all:
4835         @echo '@@@%%%=$(MAKE)=@@@%%%'
4836 _ACEOF
4837 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4838 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4839   *@@@%%%=?*=@@@%%%*)
4840     eval ac_cv_prog_make_${ac_make}_set=yes;;
4841   *)
4842     eval ac_cv_prog_make_${ac_make}_set=no;;
4843 esac
4844 rm -f conftest.make
4845 fi
4846 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4848 $as_echo "yes" >&6; }
4849   SET_MAKE=
4850 else
4851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4852 $as_echo "no" >&6; }
4853   SET_MAKE="MAKE=${MAKE-make}"
4854 fi
4855
4856
4857
4858 # Configure libtool
4859 #AC_MSG_NOTICE([====== Starting libtool configuration])
4860 enable_dlopen=yes
4861
4862
4863
4864 case `pwd` in
4865   *\ * | *\     *)
4866     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4867 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4868 esac
4869
4870
4871
4872 macro_version='2.2.7a'
4873 macro_revision='1.3134'
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887 ltmain="$ac_aux_dir/ltmain.sh"
4888
4889 # Backslashify metacharacters that are still active within
4890 # double-quoted strings.
4891 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4892
4893 # Same as above, but do not quote variable references.
4894 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4895
4896 # Sed substitution to delay expansion of an escaped shell variable in a
4897 # double_quote_subst'ed string.
4898 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4899
4900 # Sed substitution to delay expansion of an escaped single quote.
4901 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4902
4903 # Sed substitution to avoid accidental globbing in evaled expressions
4904 no_glob_subst='s/\*/\\\*/g'
4905
4906 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4907 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4908 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4909
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4911 $as_echo_n "checking how to print strings... " >&6; }
4912 # Test print first, because it will be a builtin if present.
4913 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4914    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4915   ECHO='print -r --'
4916 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4917   ECHO='printf %s\n'
4918 else
4919   # Use this function as a fallback that always works.
4920   func_fallback_echo ()
4921   {
4922     eval 'cat <<_LTECHO_EOF
4923 $1
4924 _LTECHO_EOF'
4925   }
4926   ECHO='func_fallback_echo'
4927 fi
4928
4929 # func_echo_all arg...
4930 # Invoke $ECHO with all args, space-separated.
4931 func_echo_all ()
4932 {
4933     $ECHO ""
4934 }
4935
4936 case "$ECHO" in
4937   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4938 $as_echo "printf" >&6; } ;;
4939   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4940 $as_echo "print -r" >&6; } ;;
4941   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4942 $as_echo "cat" >&6; } ;;
4943 esac
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4959 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4960 if test "${ac_cv_path_SED+set}" = set; then :
4961   $as_echo_n "(cached) " >&6
4962 else
4963             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4964      for ac_i in 1 2 3 4 5 6 7; do
4965        ac_script="$ac_script$as_nl$ac_script"
4966      done
4967      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4968      { ac_script=; unset ac_script;}
4969      if test -z "$SED"; then
4970   ac_path_SED_found=false
4971   # Loop through the user's path and test for each of PROGNAME-LIST
4972   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4973 for as_dir in $PATH
4974 do
4975   IFS=$as_save_IFS
4976   test -z "$as_dir" && as_dir=.
4977     for ac_prog in sed gsed; do
4978     for ac_exec_ext in '' $ac_executable_extensions; do
4979       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4980       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4981 # Check for GNU ac_path_SED and select it if it is found.
4982   # Check for GNU $ac_path_SED
4983 case `"$ac_path_SED" --version 2>&1` in
4984 *GNU*)
4985   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4986 *)
4987   ac_count=0
4988   $as_echo_n 0123456789 >"conftest.in"
4989   while :
4990   do
4991     cat "conftest.in" "conftest.in" >"conftest.tmp"
4992     mv "conftest.tmp" "conftest.in"
4993     cp "conftest.in" "conftest.nl"
4994     $as_echo '' >> "conftest.nl"
4995     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4996     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4997     as_fn_arith $ac_count + 1 && ac_count=$as_val
4998     if test $ac_count -gt ${ac_path_SED_max-0}; then
4999       # Best one so far, save it but keep looking for a better one
5000       ac_cv_path_SED="$ac_path_SED"
5001       ac_path_SED_max=$ac_count
5002     fi
5003     # 10*(2^10) chars as input seems more than enough
5004     test $ac_count -gt 10 && break
5005   done
5006   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5007 esac
5008
5009       $ac_path_SED_found && break 3
5010     done
5011   done
5012   done
5013 IFS=$as_save_IFS
5014   if test -z "$ac_cv_path_SED"; then
5015     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5016   fi
5017 else
5018   ac_cv_path_SED=$SED
5019 fi
5020
5021 fi
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5023 $as_echo "$ac_cv_path_SED" >&6; }
5024  SED="$ac_cv_path_SED"
5025   rm -f conftest.sed
5026
5027 test -z "$SED" && SED=sed
5028 Xsed="$SED -e 1s/^X//"
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5041 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5042 if test "${ac_cv_path_GREP+set}" = set; then :
5043   $as_echo_n "(cached) " >&6
5044 else
5045   if test -z "$GREP"; then
5046   ac_path_GREP_found=false
5047   # Loop through the user's path and test for each of PROGNAME-LIST
5048   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5049 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5050 do
5051   IFS=$as_save_IFS
5052   test -z "$as_dir" && as_dir=.
5053     for ac_prog in grep ggrep; do
5054     for ac_exec_ext in '' $ac_executable_extensions; do
5055       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5056       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5057 # Check for GNU ac_path_GREP and select it if it is found.
5058   # Check for GNU $ac_path_GREP
5059 case `"$ac_path_GREP" --version 2>&1` in
5060 *GNU*)
5061   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5062 *)
5063   ac_count=0
5064   $as_echo_n 0123456789 >"conftest.in"
5065   while :
5066   do
5067     cat "conftest.in" "conftest.in" >"conftest.tmp"
5068     mv "conftest.tmp" "conftest.in"
5069     cp "conftest.in" "conftest.nl"
5070     $as_echo 'GREP' >> "conftest.nl"
5071     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5072     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5073     as_fn_arith $ac_count + 1 && ac_count=$as_val
5074     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5075       # Best one so far, save it but keep looking for a better one
5076       ac_cv_path_GREP="$ac_path_GREP"
5077       ac_path_GREP_max=$ac_count
5078     fi
5079     # 10*(2^10) chars as input seems more than enough
5080     test $ac_count -gt 10 && break
5081   done
5082   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5083 esac
5084
5085       $ac_path_GREP_found && break 3
5086     done
5087   done
5088   done
5089 IFS=$as_save_IFS
5090   if test -z "$ac_cv_path_GREP"; then
5091     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5092   fi
5093 else
5094   ac_cv_path_GREP=$GREP
5095 fi
5096
5097 fi
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5099 $as_echo "$ac_cv_path_GREP" >&6; }
5100  GREP="$ac_cv_path_GREP"
5101
5102
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5104 $as_echo_n "checking for egrep... " >&6; }
5105 if test "${ac_cv_path_EGREP+set}" = set; then :
5106   $as_echo_n "(cached) " >&6
5107 else
5108   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5109    then ac_cv_path_EGREP="$GREP -E"
5110    else
5111      if test -z "$EGREP"; then
5112   ac_path_EGREP_found=false
5113   # Loop through the user's path and test for each of PROGNAME-LIST
5114   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5115 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5116 do
5117   IFS=$as_save_IFS
5118   test -z "$as_dir" && as_dir=.
5119     for ac_prog in egrep; do
5120     for ac_exec_ext in '' $ac_executable_extensions; do
5121       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5122       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5123 # Check for GNU ac_path_EGREP and select it if it is found.
5124   # Check for GNU $ac_path_EGREP
5125 case `"$ac_path_EGREP" --version 2>&1` in
5126 *GNU*)
5127   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5128 *)
5129   ac_count=0
5130   $as_echo_n 0123456789 >"conftest.in"
5131   while :
5132   do
5133     cat "conftest.in" "conftest.in" >"conftest.tmp"
5134     mv "conftest.tmp" "conftest.in"
5135     cp "conftest.in" "conftest.nl"
5136     $as_echo 'EGREP' >> "conftest.nl"
5137     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5138     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5139     as_fn_arith $ac_count + 1 && ac_count=$as_val
5140     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5141       # Best one so far, save it but keep looking for a better one
5142       ac_cv_path_EGREP="$ac_path_EGREP"
5143       ac_path_EGREP_max=$ac_count
5144     fi
5145     # 10*(2^10) chars as input seems more than enough
5146     test $ac_count -gt 10 && break
5147   done
5148   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5149 esac
5150
5151       $ac_path_EGREP_found && break 3
5152     done
5153   done
5154   done
5155 IFS=$as_save_IFS
5156   if test -z "$ac_cv_path_EGREP"; then
5157     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5158   fi
5159 else
5160   ac_cv_path_EGREP=$EGREP
5161 fi
5162
5163    fi
5164 fi
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5166 $as_echo "$ac_cv_path_EGREP" >&6; }
5167  EGREP="$ac_cv_path_EGREP"
5168
5169
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5171 $as_echo_n "checking for fgrep... " >&6; }
5172 if test "${ac_cv_path_FGREP+set}" = set; then :
5173   $as_echo_n "(cached) " >&6
5174 else
5175   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5176    then ac_cv_path_FGREP="$GREP -F"
5177    else
5178      if test -z "$FGREP"; then
5179   ac_path_FGREP_found=false
5180   # Loop through the user's path and test for each of PROGNAME-LIST
5181   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5182 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5183 do
5184   IFS=$as_save_IFS
5185   test -z "$as_dir" && as_dir=.
5186     for ac_prog in fgrep; do
5187     for ac_exec_ext in '' $ac_executable_extensions; do
5188       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5189       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5190 # Check for GNU ac_path_FGREP and select it if it is found.
5191   # Check for GNU $ac_path_FGREP
5192 case `"$ac_path_FGREP" --version 2>&1` in
5193 *GNU*)
5194   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5195 *)
5196   ac_count=0
5197   $as_echo_n 0123456789 >"conftest.in"
5198   while :
5199   do
5200     cat "conftest.in" "conftest.in" >"conftest.tmp"
5201     mv "conftest.tmp" "conftest.in"
5202     cp "conftest.in" "conftest.nl"
5203     $as_echo 'FGREP' >> "conftest.nl"
5204     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5205     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5206     as_fn_arith $ac_count + 1 && ac_count=$as_val
5207     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5208       # Best one so far, save it but keep looking for a better one
5209       ac_cv_path_FGREP="$ac_path_FGREP"
5210       ac_path_FGREP_max=$ac_count
5211     fi
5212     # 10*(2^10) chars as input seems more than enough
5213     test $ac_count -gt 10 && break
5214   done
5215   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5216 esac
5217
5218       $ac_path_FGREP_found && break 3
5219     done
5220   done
5221   done
5222 IFS=$as_save_IFS
5223   if test -z "$ac_cv_path_FGREP"; then
5224     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5225   fi
5226 else
5227   ac_cv_path_FGREP=$FGREP
5228 fi
5229
5230    fi
5231 fi
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5233 $as_echo "$ac_cv_path_FGREP" >&6; }
5234  FGREP="$ac_cv_path_FGREP"
5235
5236
5237 test -z "$GREP" && GREP=grep
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257 # Check whether --with-gnu-ld was given.
5258 if test "${with_gnu_ld+set}" = set; then :
5259   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5260 else
5261   with_gnu_ld=no
5262 fi
5263
5264 ac_prog=ld
5265 if test "$GCC" = yes; then
5266   # Check if gcc -print-prog-name=ld gives a path.
5267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5268 $as_echo_n "checking for ld used by $CC... " >&6; }
5269   case $host in
5270   *-*-mingw*)
5271     # gcc leaves a trailing carriage return which upsets mingw
5272     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5273   *)
5274     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5275   esac
5276   case $ac_prog in
5277     # Accept absolute paths.
5278     [\\/]* | ?:[\\/]*)
5279       re_direlt='/[^/][^/]*/\.\./'
5280       # Canonicalize the pathname of ld
5281       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5282       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5283         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5284       done
5285       test -z "$LD" && LD="$ac_prog"
5286       ;;
5287   "")
5288     # If it fails, then pretend we aren't using GCC.
5289     ac_prog=ld
5290     ;;
5291   *)
5292     # If it is relative, then search for the first ld in PATH.
5293     with_gnu_ld=unknown
5294     ;;
5295   esac
5296 elif test "$with_gnu_ld" = yes; then
5297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5298 $as_echo_n "checking for GNU ld... " >&6; }
5299 else
5300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5301 $as_echo_n "checking for non-GNU ld... " >&6; }
5302 fi
5303 if test "${lt_cv_path_LD+set}" = set; then :
5304   $as_echo_n "(cached) " >&6
5305 else
5306   if test -z "$LD"; then
5307   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5308   for ac_dir in $PATH; do
5309     IFS="$lt_save_ifs"
5310     test -z "$ac_dir" && ac_dir=.
5311     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5312       lt_cv_path_LD="$ac_dir/$ac_prog"
5313       # Check to see if the program is GNU ld.  I'd rather use --version,
5314       # but apparently some variants of GNU ld only accept -v.
5315       # Break only if it was the GNU/non-GNU ld that we prefer.
5316       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5317       *GNU* | *'with BFD'*)
5318         test "$with_gnu_ld" != no && break
5319         ;;
5320       *)
5321         test "$with_gnu_ld" != yes && break
5322         ;;
5323       esac
5324     fi
5325   done
5326   IFS="$lt_save_ifs"
5327 else
5328   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5329 fi
5330 fi
5331
5332 LD="$lt_cv_path_LD"
5333 if test -n "$LD"; then
5334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5335 $as_echo "$LD" >&6; }
5336 else
5337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5338 $as_echo "no" >&6; }
5339 fi
5340 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5342 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5343 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5344   $as_echo_n "(cached) " >&6
5345 else
5346   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5347 case `$LD -v 2>&1 </dev/null` in
5348 *GNU* | *'with BFD'*)
5349   lt_cv_prog_gnu_ld=yes
5350   ;;
5351 *)
5352   lt_cv_prog_gnu_ld=no
5353   ;;
5354 esac
5355 fi
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5357 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5358 with_gnu_ld=$lt_cv_prog_gnu_ld
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5369 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5370 if test "${lt_cv_path_NM+set}" = set; then :
5371   $as_echo_n "(cached) " >&6
5372 else
5373   if test -n "$NM"; then
5374   # Let the user override the test.
5375   lt_cv_path_NM="$NM"
5376 else
5377   lt_nm_to_check="${ac_tool_prefix}nm"
5378   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5379     lt_nm_to_check="$lt_nm_to_check nm"
5380   fi
5381   for lt_tmp_nm in $lt_nm_to_check; do
5382     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5383     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5384       IFS="$lt_save_ifs"
5385       test -z "$ac_dir" && ac_dir=.
5386       tmp_nm="$ac_dir/$lt_tmp_nm"
5387       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5388         # Check to see if the nm accepts a BSD-compat flag.
5389         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5390         #   nm: unknown option "B" ignored
5391         # Tru64's nm complains that /dev/null is an invalid object file
5392         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5393         */dev/null* | *'Invalid file or object type'*)
5394           lt_cv_path_NM="$tmp_nm -B"
5395           break
5396           ;;
5397         *)
5398           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5399           */dev/null*)
5400             lt_cv_path_NM="$tmp_nm -p"
5401             break
5402             ;;
5403           *)
5404             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5405             continue # so that we can try to find one that supports BSD flags
5406             ;;
5407           esac
5408           ;;
5409         esac
5410       fi
5411     done
5412     IFS="$lt_save_ifs"
5413   done
5414   : ${lt_cv_path_NM=no}
5415 fi
5416 fi
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5418 $as_echo "$lt_cv_path_NM" >&6; }
5419 if test "$lt_cv_path_NM" != "no"; then
5420   NM="$lt_cv_path_NM"
5421 else
5422   # Didn't find any BSD compatible name lister, look for dumpbin.
5423   if test -n "$DUMPBIN"; then :
5424     # Let the user override the test.
5425   else
5426     if test -n "$ac_tool_prefix"; then
5427   for ac_prog in dumpbin "link -dump"
5428   do
5429     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5430 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5432 $as_echo_n "checking for $ac_word... " >&6; }
5433 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5434   $as_echo_n "(cached) " >&6
5435 else
5436   if test -n "$DUMPBIN"; then
5437   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5438 else
5439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440 for as_dir in $PATH
5441 do
5442   IFS=$as_save_IFS
5443   test -z "$as_dir" && as_dir=.
5444     for ac_exec_ext in '' $ac_executable_extensions; do
5445   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5446     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5447     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5448     break 2
5449   fi
5450 done
5451   done
5452 IFS=$as_save_IFS
5453
5454 fi
5455 fi
5456 DUMPBIN=$ac_cv_prog_DUMPBIN
5457 if test -n "$DUMPBIN"; then
5458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5459 $as_echo "$DUMPBIN" >&6; }
5460 else
5461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5462 $as_echo "no" >&6; }
5463 fi
5464
5465
5466     test -n "$DUMPBIN" && break
5467   done
5468 fi
5469 if test -z "$DUMPBIN"; then
5470   ac_ct_DUMPBIN=$DUMPBIN
5471   for ac_prog in dumpbin "link -dump"
5472 do
5473   # Extract the first word of "$ac_prog", so it can be a program name with args.
5474 set dummy $ac_prog; ac_word=$2
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5476 $as_echo_n "checking for $ac_word... " >&6; }
5477 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5478   $as_echo_n "(cached) " >&6
5479 else
5480   if test -n "$ac_ct_DUMPBIN"; then
5481   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5482 else
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH
5485 do
5486   IFS=$as_save_IFS
5487   test -z "$as_dir" && as_dir=.
5488     for ac_exec_ext in '' $ac_executable_extensions; do
5489   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5490     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492     break 2
5493   fi
5494 done
5495   done
5496 IFS=$as_save_IFS
5497
5498 fi
5499 fi
5500 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5501 if test -n "$ac_ct_DUMPBIN"; then
5502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5503 $as_echo "$ac_ct_DUMPBIN" >&6; }
5504 else
5505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5507 fi
5508
5509
5510   test -n "$ac_ct_DUMPBIN" && break
5511 done
5512
5513   if test "x$ac_ct_DUMPBIN" = x; then
5514     DUMPBIN=":"
5515   else
5516     case $cross_compiling:$ac_tool_warned in
5517 yes:)
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5520 ac_tool_warned=yes ;;
5521 esac
5522     DUMPBIN=$ac_ct_DUMPBIN
5523   fi
5524 fi
5525
5526     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5527     *COFF*)
5528       DUMPBIN="$DUMPBIN -symbols"
5529       ;;
5530     *)
5531       DUMPBIN=:
5532       ;;
5533     esac
5534   fi
5535
5536   if test "$DUMPBIN" != ":"; then
5537     NM="$DUMPBIN"
5538   fi
5539 fi
5540 test -z "$NM" && NM=nm
5541
5542
5543
5544
5545
5546
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5548 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5549 if test "${lt_cv_nm_interface+set}" = set; then :
5550   $as_echo_n "(cached) " >&6
5551 else
5552   lt_cv_nm_interface="BSD nm"
5553   echo "int some_variable = 0;" > conftest.$ac_ext
5554   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5555   (eval "$ac_compile" 2>conftest.err)
5556   cat conftest.err >&5
5557   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5558   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5559   cat conftest.err >&5
5560   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5561   cat conftest.out >&5
5562   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5563     lt_cv_nm_interface="MS dumpbin"
5564   fi
5565   rm -f conftest*
5566 fi
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5568 $as_echo "$lt_cv_nm_interface" >&6; }
5569
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5571 $as_echo_n "checking whether ln -s works... " >&6; }
5572 LN_S=$as_ln_s
5573 if test "$LN_S" = "ln -s"; then
5574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5575 $as_echo "yes" >&6; }
5576 else
5577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5578 $as_echo "no, using $LN_S" >&6; }
5579 fi
5580
5581 # find the maximum length of command line arguments
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5583 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5584 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5585   $as_echo_n "(cached) " >&6
5586 else
5587     i=0
5588   teststring="ABCD"
5589
5590   case $build_os in
5591   msdosdjgpp*)
5592     # On DJGPP, this test can blow up pretty badly due to problems in libc
5593     # (any single argument exceeding 2000 bytes causes a buffer overrun
5594     # during glob expansion).  Even if it were fixed, the result of this
5595     # check would be larger than it should be.
5596     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5597     ;;
5598
5599   gnu*)
5600     # Under GNU Hurd, this test is not required because there is
5601     # no limit to the length of command line arguments.
5602     # Libtool will interpret -1 as no limit whatsoever
5603     lt_cv_sys_max_cmd_len=-1;
5604     ;;
5605
5606   cygwin* | mingw* | cegcc*)
5607     # On Win9x/ME, this test blows up -- it succeeds, but takes
5608     # about 5 minutes as the teststring grows exponentially.
5609     # Worse, since 9x/ME are not pre-emptively multitasking,
5610     # you end up with a "frozen" computer, even though with patience
5611     # the test eventually succeeds (with a max line length of 256k).
5612     # Instead, let's just punt: use the minimum linelength reported by
5613     # all of the supported platforms: 8192 (on NT/2K/XP).
5614     lt_cv_sys_max_cmd_len=8192;
5615     ;;
5616
5617   mint*)
5618     # On MiNT this can take a long time and run out of memory.
5619     lt_cv_sys_max_cmd_len=8192;
5620     ;;
5621
5622   amigaos*)
5623     # On AmigaOS with pdksh, this test takes hours, literally.
5624     # So we just punt and use a minimum line length of 8192.
5625     lt_cv_sys_max_cmd_len=8192;
5626     ;;
5627
5628   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5629     # This has been around since 386BSD, at least.  Likely further.
5630     if test -x /sbin/sysctl; then
5631       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5632     elif test -x /usr/sbin/sysctl; then
5633       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5634     else
5635       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5636     fi
5637     # And add a safety zone
5638     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5639     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5640     ;;
5641
5642   interix*)
5643     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5644     lt_cv_sys_max_cmd_len=196608
5645     ;;
5646
5647   osf*)
5648     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5649     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5650     # nice to cause kernel panics so lets avoid the loop below.
5651     # First set a reasonable default.
5652     lt_cv_sys_max_cmd_len=16384
5653     #
5654     if test -x /sbin/sysconfig; then
5655       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5656         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5657       esac
5658     fi
5659     ;;
5660   sco3.2v5*)
5661     lt_cv_sys_max_cmd_len=102400
5662     ;;
5663   sysv5* | sco5v6* | sysv4.2uw2*)
5664     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5665     if test -n "$kargmax"; then
5666       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5667     else
5668       lt_cv_sys_max_cmd_len=32768
5669     fi
5670     ;;
5671   *)
5672     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5673     if test -n "$lt_cv_sys_max_cmd_len"; then
5674       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5675       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5676     else
5677       # Make teststring a little bigger before we do anything with it.
5678       # a 1K string should be a reasonable start.
5679       for i in 1 2 3 4 5 6 7 8 ; do
5680         teststring=$teststring$teststring
5681       done
5682       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5683       # If test is not a shell built-in, we'll probably end up computing a
5684       # maximum length that is only half of the actual maximum length, but
5685       # we can't tell.
5686       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5687                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5688               test $i != 17 # 1/2 MB should be enough
5689       do
5690         i=`expr $i + 1`
5691         teststring=$teststring$teststring
5692       done
5693       # Only check the string length outside the loop.
5694       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5695       teststring=
5696       # Add a significant safety factor because C++ compilers can tack on
5697       # massive amounts of additional arguments before passing them to the
5698       # linker.  It appears as though 1/2 is a usable value.
5699       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5700     fi
5701     ;;
5702   esac
5703
5704 fi
5705
5706 if test -n $lt_cv_sys_max_cmd_len ; then
5707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5708 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5709 else
5710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5711 $as_echo "none" >&6; }
5712 fi
5713 max_cmd_len=$lt_cv_sys_max_cmd_len
5714
5715
5716
5717
5718
5719
5720 : ${CP="cp -f"}
5721 : ${MV="mv -f"}
5722 : ${RM="rm -f"}
5723
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5725 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5726 # Try some XSI features
5727 xsi_shell=no
5728 ( _lt_dummy="a/b/c"
5729   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5730       = c,a/b,, \
5731     && eval 'test $(( 1 + 1 )) -eq 2 \
5732     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5733   && xsi_shell=yes
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5735 $as_echo "$xsi_shell" >&6; }
5736
5737
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5739 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5740 lt_shell_append=no
5741 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5742     >/dev/null 2>&1 \
5743   && lt_shell_append=yes
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5745 $as_echo "$lt_shell_append" >&6; }
5746
5747
5748 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5749   lt_unset=unset
5750 else
5751   lt_unset=false
5752 fi
5753
5754
5755
5756
5757
5758 # test EBCDIC or ASCII
5759 case `echo X|tr X '\101'` in
5760  A) # ASCII based system
5761     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5762   lt_SP2NL='tr \040 \012'
5763   lt_NL2SP='tr \015\012 \040\040'
5764   ;;
5765  *) # EBCDIC based system
5766   lt_SP2NL='tr \100 \n'
5767   lt_NL2SP='tr \r\n \100\100'
5768   ;;
5769 esac
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5780 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5781 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5782   $as_echo_n "(cached) " >&6
5783 else
5784   lt_cv_ld_reload_flag='-r'
5785 fi
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5787 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5788 reload_flag=$lt_cv_ld_reload_flag
5789 case $reload_flag in
5790 "" | " "*) ;;
5791 *) reload_flag=" $reload_flag" ;;
5792 esac
5793 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5794 case $host_os in
5795   darwin*)
5796     if test "$GCC" = yes; then
5797       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5798     else
5799       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5800     fi
5801     ;;
5802 esac
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812 if test -n "$ac_tool_prefix"; then
5813   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5814 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5816 $as_echo_n "checking for $ac_word... " >&6; }
5817 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5818   $as_echo_n "(cached) " >&6
5819 else
5820   if test -n "$OBJDUMP"; then
5821   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5822 else
5823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5824 for as_dir in $PATH
5825 do
5826   IFS=$as_save_IFS
5827   test -z "$as_dir" && as_dir=.
5828     for ac_exec_ext in '' $ac_executable_extensions; do
5829   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5830     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5831     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5832     break 2
5833   fi
5834 done
5835   done
5836 IFS=$as_save_IFS
5837
5838 fi
5839 fi
5840 OBJDUMP=$ac_cv_prog_OBJDUMP
5841 if test -n "$OBJDUMP"; then
5842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5843 $as_echo "$OBJDUMP" >&6; }
5844 else
5845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5846 $as_echo "no" >&6; }
5847 fi
5848
5849
5850 fi
5851 if test -z "$ac_cv_prog_OBJDUMP"; then
5852   ac_ct_OBJDUMP=$OBJDUMP
5853   # Extract the first word of "objdump", so it can be a program name with args.
5854 set dummy objdump; ac_word=$2
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5858   $as_echo_n "(cached) " >&6
5859 else
5860   if test -n "$ac_ct_OBJDUMP"; then
5861   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5862 else
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 for as_dir in $PATH
5865 do
5866   IFS=$as_save_IFS
5867   test -z "$as_dir" && as_dir=.
5868     for ac_exec_ext in '' $ac_executable_extensions; do
5869   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5870     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5871     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5872     break 2
5873   fi
5874 done
5875   done
5876 IFS=$as_save_IFS
5877
5878 fi
5879 fi
5880 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5881 if test -n "$ac_ct_OBJDUMP"; then
5882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5883 $as_echo "$ac_ct_OBJDUMP" >&6; }
5884 else
5885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5887 fi
5888
5889   if test "x$ac_ct_OBJDUMP" = x; then
5890     OBJDUMP="false"
5891   else
5892     case $cross_compiling:$ac_tool_warned in
5893 yes:)
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5896 ac_tool_warned=yes ;;
5897 esac
5898     OBJDUMP=$ac_ct_OBJDUMP
5899   fi
5900 else
5901   OBJDUMP="$ac_cv_prog_OBJDUMP"
5902 fi
5903
5904 test -z "$OBJDUMP" && OBJDUMP=objdump
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5915 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5916 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5917   $as_echo_n "(cached) " >&6
5918 else
5919   lt_cv_file_magic_cmd='$MAGIC_CMD'
5920 lt_cv_file_magic_test_file=
5921 lt_cv_deplibs_check_method='unknown'
5922 # Need to set the preceding variable on all platforms that support
5923 # interlibrary dependencies.
5924 # 'none' -- dependencies not supported.
5925 # `unknown' -- same as none, but documents that we really don't know.
5926 # 'pass_all' -- all dependencies passed with no checks.
5927 # 'test_compile' -- check by making test program.
5928 # 'file_magic [[regex]]' -- check by looking for files in library path
5929 # which responds to the $file_magic_cmd with a given extended regex.
5930 # If you have `file' or equivalent on your system and you're not sure
5931 # whether `pass_all' will *always* work, you probably want this one.
5932
5933 case $host_os in
5934 aix[4-9]*)
5935   lt_cv_deplibs_check_method=pass_all
5936   ;;
5937
5938 beos*)
5939   lt_cv_deplibs_check_method=pass_all
5940   ;;
5941
5942 bsdi[45]*)
5943   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5944   lt_cv_file_magic_cmd='/usr/bin/file -L'
5945   lt_cv_file_magic_test_file=/shlib/libc.so
5946   ;;
5947
5948 cygwin*)
5949   # func_win32_libid is a shell function defined in ltmain.sh
5950   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5951   lt_cv_file_magic_cmd='func_win32_libid'
5952   ;;
5953
5954 mingw* | pw32*)
5955   # Base MSYS/MinGW do not provide the 'file' command needed by
5956   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5957   # unless we find 'file', for example because we are cross-compiling.
5958   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5959   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5960     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5961     lt_cv_file_magic_cmd='func_win32_libid'
5962   else
5963     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5964     lt_cv_file_magic_cmd='$OBJDUMP -f'
5965   fi
5966   ;;
5967
5968 cegcc*)
5969   # use the weaker test based on 'objdump'. See mingw*.
5970   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5971   lt_cv_file_magic_cmd='$OBJDUMP -f'
5972   ;;
5973
5974 darwin* | rhapsody*)
5975   lt_cv_deplibs_check_method=pass_all
5976   ;;
5977
5978 freebsd* | dragonfly*)
5979   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5980     case $host_cpu in
5981     i*86 )
5982       # Not sure whether the presence of OpenBSD here was a mistake.
5983       # Let's accept both of them until this is cleared up.
5984       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5985       lt_cv_file_magic_cmd=/usr/bin/file
5986       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5987       ;;
5988     esac
5989   else
5990     lt_cv_deplibs_check_method=pass_all
5991   fi
5992   ;;
5993
5994 gnu*)
5995   lt_cv_deplibs_check_method=pass_all
5996   ;;
5997
5998 haiku*)
5999   lt_cv_deplibs_check_method=pass_all
6000   ;;
6001
6002 hpux10.20* | hpux11*)
6003   lt_cv_file_magic_cmd=/usr/bin/file
6004   case $host_cpu in
6005   ia64*)
6006     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6007     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6008     ;;
6009   hppa*64*)
6010     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]'
6011     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6012     ;;
6013   *)
6014     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6015     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6016     ;;
6017   esac
6018   ;;
6019
6020 interix[3-9]*)
6021   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6022   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6023   ;;
6024
6025 irix5* | irix6* | nonstopux*)
6026   case $LD in
6027   *-32|*"-32 ") libmagic=32-bit;;
6028   *-n32|*"-n32 ") libmagic=N32;;
6029   *-64|*"-64 ") libmagic=64-bit;;
6030   *) libmagic=never-match;;
6031   esac
6032   lt_cv_deplibs_check_method=pass_all
6033   ;;
6034
6035 # This must be Linux ELF.
6036 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6037   lt_cv_deplibs_check_method=pass_all
6038   ;;
6039
6040 netbsd*)
6041   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6042     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6043   else
6044     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6045   fi
6046   ;;
6047
6048 newos6*)
6049   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6050   lt_cv_file_magic_cmd=/usr/bin/file
6051   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6052   ;;
6053
6054 *nto* | *qnx*)
6055   lt_cv_deplibs_check_method=pass_all
6056   ;;
6057
6058 openbsd*)
6059   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6060     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6061   else
6062     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6063   fi
6064   ;;
6065
6066 osf3* | osf4* | osf5*)
6067   lt_cv_deplibs_check_method=pass_all
6068   ;;
6069
6070 rdos*)
6071   lt_cv_deplibs_check_method=pass_all
6072   ;;
6073
6074 solaris*)
6075   lt_cv_deplibs_check_method=pass_all
6076   ;;
6077
6078 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6079   lt_cv_deplibs_check_method=pass_all
6080   ;;
6081
6082 sysv4 | sysv4.3*)
6083   case $host_vendor in
6084   motorola)
6085     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]'
6086     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6087     ;;
6088   ncr)
6089     lt_cv_deplibs_check_method=pass_all
6090     ;;
6091   sequent)
6092     lt_cv_file_magic_cmd='/bin/file'
6093     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6094     ;;
6095   sni)
6096     lt_cv_file_magic_cmd='/bin/file'
6097     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6098     lt_cv_file_magic_test_file=/lib/libc.so
6099     ;;
6100   siemens)
6101     lt_cv_deplibs_check_method=pass_all
6102     ;;
6103   pc)
6104     lt_cv_deplibs_check_method=pass_all
6105     ;;
6106   esac
6107   ;;
6108
6109 tpf*)
6110   lt_cv_deplibs_check_method=pass_all
6111   ;;
6112 esac
6113
6114 fi
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6116 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6117 file_magic_cmd=$lt_cv_file_magic_cmd
6118 deplibs_check_method=$lt_cv_deplibs_check_method
6119 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132 if test -n "$ac_tool_prefix"; then
6133   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6134 set dummy ${ac_tool_prefix}ar; ac_word=$2
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6136 $as_echo_n "checking for $ac_word... " >&6; }
6137 if test "${ac_cv_prog_AR+set}" = set; then :
6138   $as_echo_n "(cached) " >&6
6139 else
6140   if test -n "$AR"; then
6141   ac_cv_prog_AR="$AR" # Let the user override the test.
6142 else
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 for as_dir in $PATH
6145 do
6146   IFS=$as_save_IFS
6147   test -z "$as_dir" && as_dir=.
6148     for ac_exec_ext in '' $ac_executable_extensions; do
6149   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6150     ac_cv_prog_AR="${ac_tool_prefix}ar"
6151     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6152     break 2
6153   fi
6154 done
6155   done
6156 IFS=$as_save_IFS
6157
6158 fi
6159 fi
6160 AR=$ac_cv_prog_AR
6161 if test -n "$AR"; then
6162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6163 $as_echo "$AR" >&6; }
6164 else
6165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6166 $as_echo "no" >&6; }
6167 fi
6168
6169
6170 fi
6171 if test -z "$ac_cv_prog_AR"; then
6172   ac_ct_AR=$AR
6173   # Extract the first word of "ar", so it can be a program name with args.
6174 set dummy ar; ac_word=$2
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6176 $as_echo_n "checking for $ac_word... " >&6; }
6177 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6178   $as_echo_n "(cached) " >&6
6179 else
6180   if test -n "$ac_ct_AR"; then
6181   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6182 else
6183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6184 for as_dir in $PATH
6185 do
6186   IFS=$as_save_IFS
6187   test -z "$as_dir" && as_dir=.
6188     for ac_exec_ext in '' $ac_executable_extensions; do
6189   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6190     ac_cv_prog_ac_ct_AR="ar"
6191     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6192     break 2
6193   fi
6194 done
6195   done
6196 IFS=$as_save_IFS
6197
6198 fi
6199 fi
6200 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6201 if test -n "$ac_ct_AR"; then
6202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6203 $as_echo "$ac_ct_AR" >&6; }
6204 else
6205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6206 $as_echo "no" >&6; }
6207 fi
6208
6209   if test "x$ac_ct_AR" = x; then
6210     AR="false"
6211   else
6212     case $cross_compiling:$ac_tool_warned in
6213 yes:)
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6216 ac_tool_warned=yes ;;
6217 esac
6218     AR=$ac_ct_AR
6219   fi
6220 else
6221   AR="$ac_cv_prog_AR"
6222 fi
6223
6224 test -z "$AR" && AR=ar
6225 test -z "$AR_FLAGS" && AR_FLAGS=cru
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237 if test -n "$ac_tool_prefix"; then
6238   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6239 set dummy ${ac_tool_prefix}strip; ac_word=$2
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6241 $as_echo_n "checking for $ac_word... " >&6; }
6242 if test "${ac_cv_prog_STRIP+set}" = set; then :
6243   $as_echo_n "(cached) " >&6
6244 else
6245   if test -n "$STRIP"; then
6246   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6247 else
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 for as_dir in $PATH
6250 do
6251   IFS=$as_save_IFS
6252   test -z "$as_dir" && as_dir=.
6253     for ac_exec_ext in '' $ac_executable_extensions; do
6254   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6255     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6256     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6257     break 2
6258   fi
6259 done
6260   done
6261 IFS=$as_save_IFS
6262
6263 fi
6264 fi
6265 STRIP=$ac_cv_prog_STRIP
6266 if test -n "$STRIP"; then
6267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6268 $as_echo "$STRIP" >&6; }
6269 else
6270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6271 $as_echo "no" >&6; }
6272 fi
6273
6274
6275 fi
6276 if test -z "$ac_cv_prog_STRIP"; then
6277   ac_ct_STRIP=$STRIP
6278   # Extract the first word of "strip", so it can be a program name with args.
6279 set dummy strip; ac_word=$2
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6281 $as_echo_n "checking for $ac_word... " >&6; }
6282 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6283   $as_echo_n "(cached) " >&6
6284 else
6285   if test -n "$ac_ct_STRIP"; then
6286   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6287 else
6288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6289 for as_dir in $PATH
6290 do
6291   IFS=$as_save_IFS
6292   test -z "$as_dir" && as_dir=.
6293     for ac_exec_ext in '' $ac_executable_extensions; do
6294   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6295     ac_cv_prog_ac_ct_STRIP="strip"
6296     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297     break 2
6298   fi
6299 done
6300   done
6301 IFS=$as_save_IFS
6302
6303 fi
6304 fi
6305 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6306 if test -n "$ac_ct_STRIP"; then
6307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6308 $as_echo "$ac_ct_STRIP" >&6; }
6309 else
6310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6311 $as_echo "no" >&6; }
6312 fi
6313
6314   if test "x$ac_ct_STRIP" = x; then
6315     STRIP=":"
6316   else
6317     case $cross_compiling:$ac_tool_warned in
6318 yes:)
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6321 ac_tool_warned=yes ;;
6322 esac
6323     STRIP=$ac_ct_STRIP
6324   fi
6325 else
6326   STRIP="$ac_cv_prog_STRIP"
6327 fi
6328
6329 test -z "$STRIP" && STRIP=:
6330
6331
6332
6333
6334
6335
6336 if test -n "$ac_tool_prefix"; then
6337   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6338 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6340 $as_echo_n "checking for $ac_word... " >&6; }
6341 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6342   $as_echo_n "(cached) " >&6
6343 else
6344   if test -n "$RANLIB"; then
6345   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6346 else
6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6348 for as_dir in $PATH
6349 do
6350   IFS=$as_save_IFS
6351   test -z "$as_dir" && as_dir=.
6352     for ac_exec_ext in '' $ac_executable_extensions; do
6353   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6354     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6355     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6356     break 2
6357   fi
6358 done
6359   done
6360 IFS=$as_save_IFS
6361
6362 fi
6363 fi
6364 RANLIB=$ac_cv_prog_RANLIB
6365 if test -n "$RANLIB"; then
6366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6367 $as_echo "$RANLIB" >&6; }
6368 else
6369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6370 $as_echo "no" >&6; }
6371 fi
6372
6373
6374 fi
6375 if test -z "$ac_cv_prog_RANLIB"; then
6376   ac_ct_RANLIB=$RANLIB
6377   # Extract the first word of "ranlib", so it can be a program name with args.
6378 set dummy ranlib; ac_word=$2
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6380 $as_echo_n "checking for $ac_word... " >&6; }
6381 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6382   $as_echo_n "(cached) " >&6
6383 else
6384   if test -n "$ac_ct_RANLIB"; then
6385   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6386 else
6387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6388 for as_dir in $PATH
6389 do
6390   IFS=$as_save_IFS
6391   test -z "$as_dir" && as_dir=.
6392     for ac_exec_ext in '' $ac_executable_extensions; do
6393   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6394     ac_cv_prog_ac_ct_RANLIB="ranlib"
6395     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6396     break 2
6397   fi
6398 done
6399   done
6400 IFS=$as_save_IFS
6401
6402 fi
6403 fi
6404 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6405 if test -n "$ac_ct_RANLIB"; then
6406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6407 $as_echo "$ac_ct_RANLIB" >&6; }
6408 else
6409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6410 $as_echo "no" >&6; }
6411 fi
6412
6413   if test "x$ac_ct_RANLIB" = x; then
6414     RANLIB=":"
6415   else
6416     case $cross_compiling:$ac_tool_warned in
6417 yes:)
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6420 ac_tool_warned=yes ;;
6421 esac
6422     RANLIB=$ac_ct_RANLIB
6423   fi
6424 else
6425   RANLIB="$ac_cv_prog_RANLIB"
6426 fi
6427
6428 test -z "$RANLIB" && RANLIB=:
6429
6430
6431
6432
6433
6434
6435 # Determine commands to create old-style static archives.
6436 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6437 old_postinstall_cmds='chmod 644 $oldlib'
6438 old_postuninstall_cmds=
6439
6440 if test -n "$RANLIB"; then
6441   case $host_os in
6442   openbsd*)
6443     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6444     ;;
6445   *)
6446     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6447     ;;
6448   esac
6449   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6450 fi
6451
6452 case $host_os in
6453   darwin*)
6454     lock_old_archive_extraction=yes ;;
6455   *)
6456     lock_old_archive_extraction=no ;;
6457 esac
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497 # If no C compiler was specified, use CC.
6498 LTCC=${LTCC-"$CC"}
6499
6500 # If no C compiler flags were specified, use CFLAGS.
6501 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6502
6503 # Allow CC to be a program name with arguments.
6504 compiler=$CC
6505
6506
6507 # Check for command to grab the raw symbol name followed by C symbol from nm.
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6509 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6510 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6511   $as_echo_n "(cached) " >&6
6512 else
6513
6514 # These are sane defaults that work on at least a few old systems.
6515 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6516
6517 # Character class describing NM global symbol codes.
6518 symcode='[BCDEGRST]'
6519
6520 # Regexp to match symbols that can be accessed directly from C.
6521 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6522
6523 # Define system-specific variables.
6524 case $host_os in
6525 aix*)
6526   symcode='[BCDT]'
6527   ;;
6528 cygwin* | mingw* | pw32* | cegcc*)
6529   symcode='[ABCDGISTW]'
6530   ;;
6531 hpux*)
6532   if test "$host_cpu" = ia64; then
6533     symcode='[ABCDEGRST]'
6534   fi
6535   ;;
6536 irix* | nonstopux*)
6537   symcode='[BCDEGRST]'
6538   ;;
6539 osf*)
6540   symcode='[BCDEGQRST]'
6541   ;;
6542 solaris*)
6543   symcode='[BDRT]'
6544   ;;
6545 sco3.2v5*)
6546   symcode='[DT]'
6547   ;;
6548 sysv4.2uw2*)
6549   symcode='[DT]'
6550   ;;
6551 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6552   symcode='[ABDT]'
6553   ;;
6554 sysv4)
6555   symcode='[DFNSTU]'
6556   ;;
6557 esac
6558
6559 # If we're using GNU nm, then use its standard symbol codes.
6560 case `$NM -V 2>&1` in
6561 *GNU* | *'with BFD'*)
6562   symcode='[ABCDGIRSTW]' ;;
6563 esac
6564
6565 # Transform an extracted symbol line into a proper C declaration.
6566 # Some systems (esp. on ia64) link data and code symbols differently,
6567 # so use this general approach.
6568 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6569
6570 # Transform an extracted symbol line into symbol name and symbol address
6571 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6572 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'"
6573
6574 # Handle CRLF in mingw tool chain
6575 opt_cr=
6576 case $build_os in
6577 mingw*)
6578   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6579   ;;
6580 esac
6581
6582 # Try without a prefix underscore, then with it.
6583 for ac_symprfx in "" "_"; do
6584
6585   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6586   symxfrm="\\1 $ac_symprfx\\2 \\2"
6587
6588   # Write the raw and C identifiers.
6589   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6590     # Fake it for dumpbin and say T for any non-static function
6591     # and D for any global variable.
6592     # Also find C++ and __fastcall symbols from MSVC++,
6593     # which start with @ or ?.
6594     lt_cv_sys_global_symbol_pipe="$AWK '"\
6595 "     {last_section=section; section=\$ 3};"\
6596 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6597 "     \$ 0!~/External *\|/{next};"\
6598 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6599 "     {if(hide[section]) next};"\
6600 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6601 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6602 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6603 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6604 "     ' prfx=^$ac_symprfx"
6605   else
6606     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6607   fi
6608
6609   # Check to see that the pipe works correctly.
6610   pipe_works=no
6611
6612   rm -f conftest*
6613   cat > conftest.$ac_ext <<_LT_EOF
6614 #ifdef __cplusplus
6615 extern "C" {
6616 #endif
6617 char nm_test_var;
6618 void nm_test_func(void);
6619 void nm_test_func(void){}
6620 #ifdef __cplusplus
6621 }
6622 #endif
6623 int main(){nm_test_var='a';nm_test_func();return(0);}
6624 _LT_EOF
6625
6626   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6627   (eval $ac_compile) 2>&5
6628   ac_status=$?
6629   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6630   test $ac_status = 0; }; then
6631     # Now try to grab the symbols.
6632     nlist=conftest.nm
6633     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6634   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6635   ac_status=$?
6636   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6637   test $ac_status = 0; } && test -s "$nlist"; then
6638       # Try sorting and uniquifying the output.
6639       if sort "$nlist" | uniq > "$nlist"T; then
6640         mv -f "$nlist"T "$nlist"
6641       else
6642         rm -f "$nlist"T
6643       fi
6644
6645       # Make sure that we snagged all the symbols we need.
6646       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6647         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6648           cat <<_LT_EOF > conftest.$ac_ext
6649 #ifdef __cplusplus
6650 extern "C" {
6651 #endif
6652
6653 _LT_EOF
6654           # Now generate the symbol file.
6655           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6656
6657           cat <<_LT_EOF >> conftest.$ac_ext
6658
6659 /* The mapping between symbol names and symbols.  */
6660 const struct {
6661   const char *name;
6662   void       *address;
6663 }
6664 lt__PROGRAM__LTX_preloaded_symbols[] =
6665 {
6666   { "@PROGRAM@", (void *) 0 },
6667 _LT_EOF
6668           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6669           cat <<\_LT_EOF >> conftest.$ac_ext
6670   {0, (void *) 0}
6671 };
6672
6673 /* This works around a problem in FreeBSD linker */
6674 #ifdef FREEBSD_WORKAROUND
6675 static const void *lt_preloaded_setup() {
6676   return lt__PROGRAM__LTX_preloaded_symbols;
6677 }
6678 #endif
6679
6680 #ifdef __cplusplus
6681 }
6682 #endif
6683 _LT_EOF
6684           # Now try linking the two files.
6685           mv conftest.$ac_objext conftstm.$ac_objext
6686           lt_save_LIBS="$LIBS"
6687           lt_save_CFLAGS="$CFLAGS"
6688           LIBS="conftstm.$ac_objext"
6689           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6690           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6691   (eval $ac_link) 2>&5
6692   ac_status=$?
6693   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6694   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6695             pipe_works=yes
6696           fi
6697           LIBS="$lt_save_LIBS"
6698           CFLAGS="$lt_save_CFLAGS"
6699         else
6700           echo "cannot find nm_test_func in $nlist" >&5
6701         fi
6702       else
6703         echo "cannot find nm_test_var in $nlist" >&5
6704       fi
6705     else
6706       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6707     fi
6708   else
6709     echo "$progname: failed program was:" >&5
6710     cat conftest.$ac_ext >&5
6711   fi
6712   rm -rf conftest* conftst*
6713
6714   # Do not use the global_symbol_pipe unless it works.
6715   if test "$pipe_works" = yes; then
6716     break
6717   else
6718     lt_cv_sys_global_symbol_pipe=
6719   fi
6720 done
6721
6722 fi
6723
6724 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6725   lt_cv_sys_global_symbol_to_cdecl=
6726 fi
6727 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6729 $as_echo "failed" >&6; }
6730 else
6731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6732 $as_echo "ok" >&6; }
6733 fi
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756 # Check whether --enable-libtool-lock was given.
6757 if test "${enable_libtool_lock+set}" = set; then :
6758   enableval=$enable_libtool_lock;
6759 fi
6760
6761 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6762
6763 # Some flags need to be propagated to the compiler or linker for good
6764 # libtool support.
6765 case $host in
6766 ia64-*-hpux*)
6767   # Find out which ABI we are using.
6768   echo 'int i;' > conftest.$ac_ext
6769   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6770   (eval $ac_compile) 2>&5
6771   ac_status=$?
6772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6773   test $ac_status = 0; }; then
6774     case `/usr/bin/file conftest.$ac_objext` in
6775       *ELF-32*)
6776         HPUX_IA64_MODE="32"
6777         ;;
6778       *ELF-64*)
6779         HPUX_IA64_MODE="64"
6780         ;;
6781     esac
6782   fi
6783   rm -rf conftest*
6784   ;;
6785 *-*-irix6*)
6786   # Find out which ABI we are using.
6787   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6788   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6789   (eval $ac_compile) 2>&5
6790   ac_status=$?
6791   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6792   test $ac_status = 0; }; then
6793     if test "$lt_cv_prog_gnu_ld" = yes; then
6794       case `/usr/bin/file conftest.$ac_objext` in
6795         *32-bit*)
6796           LD="${LD-ld} -melf32bsmip"
6797           ;;
6798         *N32*)
6799           LD="${LD-ld} -melf32bmipn32"
6800           ;;
6801         *64-bit*)
6802           LD="${LD-ld} -melf64bmip"
6803         ;;
6804       esac
6805     else
6806       case `/usr/bin/file conftest.$ac_objext` in
6807         *32-bit*)
6808           LD="${LD-ld} -32"
6809           ;;
6810         *N32*)
6811           LD="${LD-ld} -n32"
6812           ;;
6813         *64-bit*)
6814           LD="${LD-ld} -64"
6815           ;;
6816       esac
6817     fi
6818   fi
6819   rm -rf conftest*
6820   ;;
6821
6822 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6823 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6824   # Find out which ABI we are using.
6825   echo 'int i;' > conftest.$ac_ext
6826   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6827   (eval $ac_compile) 2>&5
6828   ac_status=$?
6829   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6830   test $ac_status = 0; }; then
6831     case `/usr/bin/file conftest.o` in
6832       *32-bit*)
6833         case $host in
6834           x86_64-*kfreebsd*-gnu)
6835             LD="${LD-ld} -m elf_i386_fbsd"
6836             ;;
6837           x86_64-*linux*)
6838             LD="${LD-ld} -m elf_i386"
6839             ;;
6840           ppc64-*linux*|powerpc64-*linux*)
6841             LD="${LD-ld} -m elf32ppclinux"
6842             ;;
6843           s390x-*linux*)
6844             LD="${LD-ld} -m elf_s390"
6845             ;;
6846           sparc64-*linux*)
6847             LD="${LD-ld} -m elf32_sparc"
6848             ;;
6849         esac
6850         ;;
6851       *64-bit*)
6852         case $host in
6853           x86_64-*kfreebsd*-gnu)
6854             LD="${LD-ld} -m elf_x86_64_fbsd"
6855             ;;
6856           x86_64-*linux*)
6857             LD="${LD-ld} -m elf_x86_64"
6858             ;;
6859           ppc*-*linux*|powerpc*-*linux*)
6860             LD="${LD-ld} -m elf64ppc"
6861             ;;
6862           s390*-*linux*|s390*-*tpf*)
6863             LD="${LD-ld} -m elf64_s390"
6864             ;;
6865           sparc*-*linux*)
6866             LD="${LD-ld} -m elf64_sparc"
6867             ;;
6868         esac
6869         ;;
6870     esac
6871   fi
6872   rm -rf conftest*
6873   ;;
6874
6875 *-*-sco3.2v5*)
6876   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6877   SAVE_CFLAGS="$CFLAGS"
6878   CFLAGS="$CFLAGS -belf"
6879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6880 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6881 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6882   $as_echo_n "(cached) " >&6
6883 else
6884   ac_ext=c
6885 ac_cpp='$CPP $CPPFLAGS'
6886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6889
6890      if test x$gcc_no_link = xyes; then
6891   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6892 fi
6893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6894 /* end confdefs.h.  */
6895
6896 int
6897 main ()
6898 {
6899
6900   ;
6901   return 0;
6902 }
6903 _ACEOF
6904 if ac_fn_c_try_link "$LINENO"; then :
6905   lt_cv_cc_needs_belf=yes
6906 else
6907   lt_cv_cc_needs_belf=no
6908 fi
6909 rm -f core conftest.err conftest.$ac_objext \
6910     conftest$ac_exeext conftest.$ac_ext
6911      ac_ext=c
6912 ac_cpp='$CPP $CPPFLAGS'
6913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6916
6917 fi
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6919 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6920   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6921     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6922     CFLAGS="$SAVE_CFLAGS"
6923   fi
6924   ;;
6925 sparc*-*solaris*)
6926   # Find out which ABI we are using.
6927   echo 'int i;' > conftest.$ac_ext
6928   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6929   (eval $ac_compile) 2>&5
6930   ac_status=$?
6931   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6932   test $ac_status = 0; }; then
6933     case `/usr/bin/file conftest.o` in
6934     *64-bit*)
6935       case $lt_cv_prog_gnu_ld in
6936       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6937       *)
6938         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6939           LD="${LD-ld} -64"
6940         fi
6941         ;;
6942       esac
6943       ;;
6944     esac
6945   fi
6946   rm -rf conftest*
6947   ;;
6948 esac
6949
6950 need_locks="$enable_libtool_lock"
6951
6952
6953   case $host_os in
6954     rhapsody* | darwin*)
6955     if test -n "$ac_tool_prefix"; then
6956   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6957 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6959 $as_echo_n "checking for $ac_word... " >&6; }
6960 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6961   $as_echo_n "(cached) " >&6
6962 else
6963   if test -n "$DSYMUTIL"; then
6964   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6965 else
6966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6967 for as_dir in $PATH
6968 do
6969   IFS=$as_save_IFS
6970   test -z "$as_dir" && as_dir=.
6971     for ac_exec_ext in '' $ac_executable_extensions; do
6972   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6973     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6974     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6975     break 2
6976   fi
6977 done
6978   done
6979 IFS=$as_save_IFS
6980
6981 fi
6982 fi
6983 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6984 if test -n "$DSYMUTIL"; then
6985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6986 $as_echo "$DSYMUTIL" >&6; }
6987 else
6988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6989 $as_echo "no" >&6; }
6990 fi
6991
6992
6993 fi
6994 if test -z "$ac_cv_prog_DSYMUTIL"; then
6995   ac_ct_DSYMUTIL=$DSYMUTIL
6996   # Extract the first word of "dsymutil", so it can be a program name with args.
6997 set dummy dsymutil; ac_word=$2
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6999 $as_echo_n "checking for $ac_word... " >&6; }
7000 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7001   $as_echo_n "(cached) " >&6
7002 else
7003   if test -n "$ac_ct_DSYMUTIL"; then
7004   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7005 else
7006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7007 for as_dir in $PATH
7008 do
7009   IFS=$as_save_IFS
7010   test -z "$as_dir" && as_dir=.
7011     for ac_exec_ext in '' $ac_executable_extensions; do
7012   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7013     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7014     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7015     break 2
7016   fi
7017 done
7018   done
7019 IFS=$as_save_IFS
7020
7021 fi
7022 fi
7023 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7024 if test -n "$ac_ct_DSYMUTIL"; then
7025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7026 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7027 else
7028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7029 $as_echo "no" >&6; }
7030 fi
7031
7032   if test "x$ac_ct_DSYMUTIL" = x; then
7033     DSYMUTIL=":"
7034   else
7035     case $cross_compiling:$ac_tool_warned in
7036 yes:)
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7039 ac_tool_warned=yes ;;
7040 esac
7041     DSYMUTIL=$ac_ct_DSYMUTIL
7042   fi
7043 else
7044   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7045 fi
7046
7047     if test -n "$ac_tool_prefix"; then
7048   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7049 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7051 $as_echo_n "checking for $ac_word... " >&6; }
7052 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7053   $as_echo_n "(cached) " >&6
7054 else
7055   if test -n "$NMEDIT"; then
7056   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7057 else
7058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7059 for as_dir in $PATH
7060 do
7061   IFS=$as_save_IFS
7062   test -z "$as_dir" && as_dir=.
7063     for ac_exec_ext in '' $ac_executable_extensions; do
7064   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7065     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7066     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7067     break 2
7068   fi
7069 done
7070   done
7071 IFS=$as_save_IFS
7072
7073 fi
7074 fi
7075 NMEDIT=$ac_cv_prog_NMEDIT
7076 if test -n "$NMEDIT"; then
7077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7078 $as_echo "$NMEDIT" >&6; }
7079 else
7080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7081 $as_echo "no" >&6; }
7082 fi
7083
7084
7085 fi
7086 if test -z "$ac_cv_prog_NMEDIT"; then
7087   ac_ct_NMEDIT=$NMEDIT
7088   # Extract the first word of "nmedit", so it can be a program name with args.
7089 set dummy nmedit; ac_word=$2
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7091 $as_echo_n "checking for $ac_word... " >&6; }
7092 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7093   $as_echo_n "(cached) " >&6
7094 else
7095   if test -n "$ac_ct_NMEDIT"; then
7096   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7097 else
7098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7099 for as_dir in $PATH
7100 do
7101   IFS=$as_save_IFS
7102   test -z "$as_dir" && as_dir=.
7103     for ac_exec_ext in '' $ac_executable_extensions; do
7104   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7105     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7106     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7107     break 2
7108   fi
7109 done
7110   done
7111 IFS=$as_save_IFS
7112
7113 fi
7114 fi
7115 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7116 if test -n "$ac_ct_NMEDIT"; then
7117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7118 $as_echo "$ac_ct_NMEDIT" >&6; }
7119 else
7120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7121 $as_echo "no" >&6; }
7122 fi
7123
7124   if test "x$ac_ct_NMEDIT" = x; then
7125     NMEDIT=":"
7126   else
7127     case $cross_compiling:$ac_tool_warned in
7128 yes:)
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7131 ac_tool_warned=yes ;;
7132 esac
7133     NMEDIT=$ac_ct_NMEDIT
7134   fi
7135 else
7136   NMEDIT="$ac_cv_prog_NMEDIT"
7137 fi
7138
7139     if test -n "$ac_tool_prefix"; then
7140   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7141 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7143 $as_echo_n "checking for $ac_word... " >&6; }
7144 if test "${ac_cv_prog_LIPO+set}" = set; then :
7145   $as_echo_n "(cached) " >&6
7146 else
7147   if test -n "$LIPO"; then
7148   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7149 else
7150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7151 for as_dir in $PATH
7152 do
7153   IFS=$as_save_IFS
7154   test -z "$as_dir" && as_dir=.
7155     for ac_exec_ext in '' $ac_executable_extensions; do
7156   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7157     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7158     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7159     break 2
7160   fi
7161 done
7162   done
7163 IFS=$as_save_IFS
7164
7165 fi
7166 fi
7167 LIPO=$ac_cv_prog_LIPO
7168 if test -n "$LIPO"; then
7169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7170 $as_echo "$LIPO" >&6; }
7171 else
7172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7173 $as_echo "no" >&6; }
7174 fi
7175
7176
7177 fi
7178 if test -z "$ac_cv_prog_LIPO"; then
7179   ac_ct_LIPO=$LIPO
7180   # Extract the first word of "lipo", so it can be a program name with args.
7181 set dummy lipo; ac_word=$2
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7183 $as_echo_n "checking for $ac_word... " >&6; }
7184 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7185   $as_echo_n "(cached) " >&6
7186 else
7187   if test -n "$ac_ct_LIPO"; then
7188   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7189 else
7190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7191 for as_dir in $PATH
7192 do
7193   IFS=$as_save_IFS
7194   test -z "$as_dir" && as_dir=.
7195     for ac_exec_ext in '' $ac_executable_extensions; do
7196   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7197     ac_cv_prog_ac_ct_LIPO="lipo"
7198     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7199     break 2
7200   fi
7201 done
7202   done
7203 IFS=$as_save_IFS
7204
7205 fi
7206 fi
7207 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7208 if test -n "$ac_ct_LIPO"; then
7209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7210 $as_echo "$ac_ct_LIPO" >&6; }
7211 else
7212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7213 $as_echo "no" >&6; }
7214 fi
7215
7216   if test "x$ac_ct_LIPO" = x; then
7217     LIPO=":"
7218   else
7219     case $cross_compiling:$ac_tool_warned in
7220 yes:)
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7223 ac_tool_warned=yes ;;
7224 esac
7225     LIPO=$ac_ct_LIPO
7226   fi
7227 else
7228   LIPO="$ac_cv_prog_LIPO"
7229 fi
7230
7231     if test -n "$ac_tool_prefix"; then
7232   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7233 set dummy ${ac_tool_prefix}otool; ac_word=$2
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7235 $as_echo_n "checking for $ac_word... " >&6; }
7236 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7237   $as_echo_n "(cached) " >&6
7238 else
7239   if test -n "$OTOOL"; then
7240   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7241 else
7242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 for as_dir in $PATH
7244 do
7245   IFS=$as_save_IFS
7246   test -z "$as_dir" && as_dir=.
7247     for ac_exec_ext in '' $ac_executable_extensions; do
7248   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7249     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7250     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7251     break 2
7252   fi
7253 done
7254   done
7255 IFS=$as_save_IFS
7256
7257 fi
7258 fi
7259 OTOOL=$ac_cv_prog_OTOOL
7260 if test -n "$OTOOL"; then
7261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7262 $as_echo "$OTOOL" >&6; }
7263 else
7264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7265 $as_echo "no" >&6; }
7266 fi
7267
7268
7269 fi
7270 if test -z "$ac_cv_prog_OTOOL"; then
7271   ac_ct_OTOOL=$OTOOL
7272   # Extract the first word of "otool", so it can be a program name with args.
7273 set dummy otool; ac_word=$2
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7275 $as_echo_n "checking for $ac_word... " >&6; }
7276 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7277   $as_echo_n "(cached) " >&6
7278 else
7279   if test -n "$ac_ct_OTOOL"; then
7280   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7281 else
7282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 for as_dir in $PATH
7284 do
7285   IFS=$as_save_IFS
7286   test -z "$as_dir" && as_dir=.
7287     for ac_exec_ext in '' $ac_executable_extensions; do
7288   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7289     ac_cv_prog_ac_ct_OTOOL="otool"
7290     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7291     break 2
7292   fi
7293 done
7294   done
7295 IFS=$as_save_IFS
7296
7297 fi
7298 fi
7299 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7300 if test -n "$ac_ct_OTOOL"; then
7301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7302 $as_echo "$ac_ct_OTOOL" >&6; }
7303 else
7304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7305 $as_echo "no" >&6; }
7306 fi
7307
7308   if test "x$ac_ct_OTOOL" = x; then
7309     OTOOL=":"
7310   else
7311     case $cross_compiling:$ac_tool_warned in
7312 yes:)
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7315 ac_tool_warned=yes ;;
7316 esac
7317     OTOOL=$ac_ct_OTOOL
7318   fi
7319 else
7320   OTOOL="$ac_cv_prog_OTOOL"
7321 fi
7322
7323     if test -n "$ac_tool_prefix"; then
7324   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7325 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7327 $as_echo_n "checking for $ac_word... " >&6; }
7328 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7329   $as_echo_n "(cached) " >&6
7330 else
7331   if test -n "$OTOOL64"; then
7332   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7333 else
7334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 for as_dir in $PATH
7336 do
7337   IFS=$as_save_IFS
7338   test -z "$as_dir" && as_dir=.
7339     for ac_exec_ext in '' $ac_executable_extensions; do
7340   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7341     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7342     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7343     break 2
7344   fi
7345 done
7346   done
7347 IFS=$as_save_IFS
7348
7349 fi
7350 fi
7351 OTOOL64=$ac_cv_prog_OTOOL64
7352 if test -n "$OTOOL64"; then
7353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7354 $as_echo "$OTOOL64" >&6; }
7355 else
7356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7357 $as_echo "no" >&6; }
7358 fi
7359
7360
7361 fi
7362 if test -z "$ac_cv_prog_OTOOL64"; then
7363   ac_ct_OTOOL64=$OTOOL64
7364   # Extract the first word of "otool64", so it can be a program name with args.
7365 set dummy otool64; ac_word=$2
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7367 $as_echo_n "checking for $ac_word... " >&6; }
7368 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7369   $as_echo_n "(cached) " >&6
7370 else
7371   if test -n "$ac_ct_OTOOL64"; then
7372   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7373 else
7374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7375 for as_dir in $PATH
7376 do
7377   IFS=$as_save_IFS
7378   test -z "$as_dir" && as_dir=.
7379     for ac_exec_ext in '' $ac_executable_extensions; do
7380   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7381     ac_cv_prog_ac_ct_OTOOL64="otool64"
7382     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7383     break 2
7384   fi
7385 done
7386   done
7387 IFS=$as_save_IFS
7388
7389 fi
7390 fi
7391 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7392 if test -n "$ac_ct_OTOOL64"; then
7393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7394 $as_echo "$ac_ct_OTOOL64" >&6; }
7395 else
7396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7397 $as_echo "no" >&6; }
7398 fi
7399
7400   if test "x$ac_ct_OTOOL64" = x; then
7401     OTOOL64=":"
7402   else
7403     case $cross_compiling:$ac_tool_warned in
7404 yes:)
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7407 ac_tool_warned=yes ;;
7408 esac
7409     OTOOL64=$ac_ct_OTOOL64
7410   fi
7411 else
7412   OTOOL64="$ac_cv_prog_OTOOL64"
7413 fi
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7442 $as_echo_n "checking for -single_module linker flag... " >&6; }
7443 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7444   $as_echo_n "(cached) " >&6
7445 else
7446   lt_cv_apple_cc_single_mod=no
7447       if test -z "${LT_MULTI_MODULE}"; then
7448         # By default we will add the -single_module flag. You can override
7449         # by either setting the environment variable LT_MULTI_MODULE
7450         # non-empty at configure time, or by adding -multi_module to the
7451         # link flags.
7452         rm -rf libconftest.dylib*
7453         echo "int foo(void){return 1;}" > conftest.c
7454         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7455 -dynamiclib -Wl,-single_module conftest.c" >&5
7456         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7457           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7458         _lt_result=$?
7459         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7460           lt_cv_apple_cc_single_mod=yes
7461         else
7462           cat conftest.err >&5
7463         fi
7464         rm -rf libconftest.dylib*
7465         rm -f conftest.*
7466       fi
7467 fi
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7469 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7470     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7471 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7472 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7473   $as_echo_n "(cached) " >&6
7474 else
7475   lt_cv_ld_exported_symbols_list=no
7476       save_LDFLAGS=$LDFLAGS
7477       echo "_main" > conftest.sym
7478       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7479       if test x$gcc_no_link = xyes; then
7480   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7481 fi
7482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7483 /* end confdefs.h.  */
7484
7485 int
7486 main ()
7487 {
7488
7489   ;
7490   return 0;
7491 }
7492 _ACEOF
7493 if ac_fn_c_try_link "$LINENO"; then :
7494   lt_cv_ld_exported_symbols_list=yes
7495 else
7496   lt_cv_ld_exported_symbols_list=no
7497 fi
7498 rm -f core conftest.err conftest.$ac_objext \
7499     conftest$ac_exeext conftest.$ac_ext
7500         LDFLAGS="$save_LDFLAGS"
7501
7502 fi
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7504 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7505     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7506 $as_echo_n "checking for -force_load linker flag... " >&6; }
7507 if test "${lt_cv_ld_force_load+set}" = set; then :
7508   $as_echo_n "(cached) " >&6
7509 else
7510   lt_cv_ld_force_load=no
7511       cat > conftest.c << _LT_EOF
7512 int forced_loaded() { return 2;}
7513 _LT_EOF
7514       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7515       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7516       echo "$AR cru libconftest.a conftest.o" >&5
7517       $AR cru libconftest.a conftest.o 2>&5
7518       cat > conftest.c << _LT_EOF
7519 int main() { return 0;}
7520 _LT_EOF
7521       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7522       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7523       _lt_result=$?
7524       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7525         lt_cv_ld_force_load=yes
7526       else
7527         cat conftest.err >&5
7528       fi
7529         rm -f conftest.err libconftest.a conftest conftest.c
7530         rm -rf conftest.dSYM
7531
7532 fi
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7534 $as_echo "$lt_cv_ld_force_load" >&6; }
7535     case $host_os in
7536     rhapsody* | darwin1.[012])
7537       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7538     darwin1.*)
7539       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7540     darwin*) # darwin 5.x on
7541       # if running on 10.5 or later, the deployment target defaults
7542       # to the OS version, if on x86, and 10.4, the deployment
7543       # target defaults to 10.4. Don't you love it?
7544       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7545         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7546           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7547         10.[012]*)
7548           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7549         10.*)
7550           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7551       esac
7552     ;;
7553   esac
7554     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7555       _lt_dar_single_mod='$single_module'
7556     fi
7557     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7558       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7559     else
7560       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7561     fi
7562     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7563       _lt_dsymutil='~$DSYMUTIL $lib || :'
7564     else
7565       _lt_dsymutil=
7566     fi
7567     ;;
7568   esac
7569
7570 ac_ext=c
7571 ac_cpp='$CPP $CPPFLAGS'
7572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7576 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7577 # On Suns, sometimes $CPP names a directory.
7578 if test -n "$CPP" && test -d "$CPP"; then
7579   CPP=
7580 fi
7581 if test -z "$CPP"; then
7582   if test "${ac_cv_prog_CPP+set}" = set; then :
7583   $as_echo_n "(cached) " >&6
7584 else
7585       # Double quotes because CPP needs to be expanded
7586     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7587     do
7588       ac_preproc_ok=false
7589 for ac_c_preproc_warn_flag in '' yes
7590 do
7591   # Use a header file that comes with gcc, so configuring glibc
7592   # with a fresh cross-compiler works.
7593   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7594   # <limits.h> exists even on freestanding compilers.
7595   # On the NeXT, cc -E runs the code through the compiler's parser,
7596   # not just through cpp. "Syntax error" is here to catch this case.
7597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7598 /* end confdefs.h.  */
7599 #ifdef __STDC__
7600 # include <limits.h>
7601 #else
7602 # include <assert.h>
7603 #endif
7604                      Syntax error
7605 _ACEOF
7606 if ac_fn_c_try_cpp "$LINENO"; then :
7607
7608 else
7609   # Broken: fails on valid input.
7610 continue
7611 fi
7612 rm -f conftest.err conftest.$ac_ext
7613
7614   # OK, works on sane cases.  Now check whether nonexistent headers
7615   # can be detected and how.
7616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7617 /* end confdefs.h.  */
7618 #include <ac_nonexistent.h>
7619 _ACEOF
7620 if ac_fn_c_try_cpp "$LINENO"; then :
7621   # Broken: success on invalid input.
7622 continue
7623 else
7624   # Passes both tests.
7625 ac_preproc_ok=:
7626 break
7627 fi
7628 rm -f conftest.err conftest.$ac_ext
7629
7630 done
7631 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7632 rm -f conftest.err conftest.$ac_ext
7633 if $ac_preproc_ok; then :
7634   break
7635 fi
7636
7637     done
7638     ac_cv_prog_CPP=$CPP
7639
7640 fi
7641   CPP=$ac_cv_prog_CPP
7642 else
7643   ac_cv_prog_CPP=$CPP
7644 fi
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7646 $as_echo "$CPP" >&6; }
7647 ac_preproc_ok=false
7648 for ac_c_preproc_warn_flag in '' yes
7649 do
7650   # Use a header file that comes with gcc, so configuring glibc
7651   # with a fresh cross-compiler works.
7652   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7653   # <limits.h> exists even on freestanding compilers.
7654   # On the NeXT, cc -E runs the code through the compiler's parser,
7655   # not just through cpp. "Syntax error" is here to catch this case.
7656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7657 /* end confdefs.h.  */
7658 #ifdef __STDC__
7659 # include <limits.h>
7660 #else
7661 # include <assert.h>
7662 #endif
7663                      Syntax error
7664 _ACEOF
7665 if ac_fn_c_try_cpp "$LINENO"; then :
7666
7667 else
7668   # Broken: fails on valid input.
7669 continue
7670 fi
7671 rm -f conftest.err conftest.$ac_ext
7672
7673   # OK, works on sane cases.  Now check whether nonexistent headers
7674   # can be detected and how.
7675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7676 /* end confdefs.h.  */
7677 #include <ac_nonexistent.h>
7678 _ACEOF
7679 if ac_fn_c_try_cpp "$LINENO"; then :
7680   # Broken: success on invalid input.
7681 continue
7682 else
7683   # Passes both tests.
7684 ac_preproc_ok=:
7685 break
7686 fi
7687 rm -f conftest.err conftest.$ac_ext
7688
7689 done
7690 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7691 rm -f conftest.err conftest.$ac_ext
7692 if $ac_preproc_ok; then :
7693
7694 else
7695   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7697 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7698 See \`config.log' for more details." "$LINENO" 5; }
7699 fi
7700
7701 ac_ext=c
7702 ac_cpp='$CPP $CPPFLAGS'
7703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7706
7707
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7709 $as_echo_n "checking for ANSI C header files... " >&6; }
7710 if test "${ac_cv_header_stdc+set}" = set; then :
7711   $as_echo_n "(cached) " >&6
7712 else
7713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7714 /* end confdefs.h.  */
7715 #include <stdlib.h>
7716 #include <stdarg.h>
7717 #include <string.h>
7718 #include <float.h>
7719
7720 int
7721 main ()
7722 {
7723
7724   ;
7725   return 0;
7726 }
7727 _ACEOF
7728 if ac_fn_c_try_compile "$LINENO"; then :
7729   ac_cv_header_stdc=yes
7730 else
7731   ac_cv_header_stdc=no
7732 fi
7733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7734
7735 if test $ac_cv_header_stdc = yes; then
7736   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7738 /* end confdefs.h.  */
7739 #include <string.h>
7740
7741 _ACEOF
7742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7743   $EGREP "memchr" >/dev/null 2>&1; then :
7744
7745 else
7746   ac_cv_header_stdc=no
7747 fi
7748 rm -f conftest*
7749
7750 fi
7751
7752 if test $ac_cv_header_stdc = yes; then
7753   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7755 /* end confdefs.h.  */
7756 #include <stdlib.h>
7757
7758 _ACEOF
7759 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7760   $EGREP "free" >/dev/null 2>&1; then :
7761
7762 else
7763   ac_cv_header_stdc=no
7764 fi
7765 rm -f conftest*
7766
7767 fi
7768
7769 if test $ac_cv_header_stdc = yes; then
7770   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7771   if test "$cross_compiling" = yes; then :
7772   :
7773 else
7774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7775 /* end confdefs.h.  */
7776 #include <ctype.h>
7777 #include <stdlib.h>
7778 #if ((' ' & 0x0FF) == 0x020)
7779 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7780 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7781 #else
7782 # define ISLOWER(c) \
7783                    (('a' <= (c) && (c) <= 'i') \
7784                      || ('j' <= (c) && (c) <= 'r') \
7785                      || ('s' <= (c) && (c) <= 'z'))
7786 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7787 #endif
7788
7789 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7790 int
7791 main ()
7792 {
7793   int i;
7794   for (i = 0; i < 256; i++)
7795     if (XOR (islower (i), ISLOWER (i))
7796         || toupper (i) != TOUPPER (i))
7797       return 2;
7798   return 0;
7799 }
7800 _ACEOF
7801 if ac_fn_c_try_run "$LINENO"; then :
7802
7803 else
7804   ac_cv_header_stdc=no
7805 fi
7806 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7807   conftest.$ac_objext conftest.beam conftest.$ac_ext
7808 fi
7809
7810 fi
7811 fi
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7813 $as_echo "$ac_cv_header_stdc" >&6; }
7814 if test $ac_cv_header_stdc = yes; then
7815
7816 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7817
7818 fi
7819
7820 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7821 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7822                   inttypes.h stdint.h unistd.h
7823 do :
7824   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7825 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7826 "
7827 eval as_val=\$$as_ac_Header
7828    if test "x$as_val" = x""yes; then :
7829   cat >>confdefs.h <<_ACEOF
7830 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7831 _ACEOF
7832
7833 fi
7834
7835 done
7836
7837
7838 for ac_header in dlfcn.h
7839 do :
7840   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7841 "
7842 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7843   cat >>confdefs.h <<_ACEOF
7844 #define HAVE_DLFCN_H 1
7845 _ACEOF
7846
7847 fi
7848
7849 done
7850
7851
7852
7853
7854
7855 # Set options
7856
7857
7858
7859
7860   enable_win32_dll=no
7861
7862
7863             # Check whether --enable-shared was given.
7864 if test "${enable_shared+set}" = set; then :
7865   enableval=$enable_shared; p=${PACKAGE-default}
7866     case $enableval in
7867     yes) enable_shared=yes ;;
7868     no) enable_shared=no ;;
7869     *)
7870       enable_shared=no
7871       # Look at the argument we got.  We use all the common list separators.
7872       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7873       for pkg in $enableval; do
7874         IFS="$lt_save_ifs"
7875         if test "X$pkg" = "X$p"; then
7876           enable_shared=yes
7877         fi
7878       done
7879       IFS="$lt_save_ifs"
7880       ;;
7881     esac
7882 else
7883   enable_shared=yes
7884 fi
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894   # Check whether --enable-static was given.
7895 if test "${enable_static+set}" = set; then :
7896   enableval=$enable_static; p=${PACKAGE-default}
7897     case $enableval in
7898     yes) enable_static=yes ;;
7899     no) enable_static=no ;;
7900     *)
7901      enable_static=no
7902       # Look at the argument we got.  We use all the common list separators.
7903       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7904       for pkg in $enableval; do
7905         IFS="$lt_save_ifs"
7906         if test "X$pkg" = "X$p"; then
7907           enable_static=yes
7908         fi
7909       done
7910       IFS="$lt_save_ifs"
7911       ;;
7912     esac
7913 else
7914   enable_static=yes
7915 fi
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926 # Check whether --with-pic was given.
7927 if test "${with_pic+set}" = set; then :
7928   withval=$with_pic; pic_mode="$withval"
7929 else
7930   pic_mode=default
7931 fi
7932
7933
7934 test -z "$pic_mode" && pic_mode=default
7935
7936
7937
7938
7939
7940
7941
7942   # Check whether --enable-fast-install was given.
7943 if test "${enable_fast_install+set}" = set; then :
7944   enableval=$enable_fast_install; p=${PACKAGE-default}
7945     case $enableval in
7946     yes) enable_fast_install=yes ;;
7947     no) enable_fast_install=no ;;
7948     *)
7949       enable_fast_install=no
7950       # Look at the argument we got.  We use all the common list separators.
7951       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7952       for pkg in $enableval; do
7953         IFS="$lt_save_ifs"
7954         if test "X$pkg" = "X$p"; then
7955           enable_fast_install=yes
7956         fi
7957       done
7958       IFS="$lt_save_ifs"
7959       ;;
7960     esac
7961 else
7962   enable_fast_install=yes
7963 fi
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975 # This can be used to rebuild libtool when needed
7976 LIBTOOL_DEPS="$ltmain"
7977
7978 # Always use our own libtool.
7979 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006 test -z "$LN_S" && LN_S="ln -s"
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021 if test -n "${ZSH_VERSION+set}" ; then
8022    setopt NO_GLOB_SUBST
8023 fi
8024
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8026 $as_echo_n "checking for objdir... " >&6; }
8027 if test "${lt_cv_objdir+set}" = set; then :
8028   $as_echo_n "(cached) " >&6
8029 else
8030   rm -f .libs 2>/dev/null
8031 mkdir .libs 2>/dev/null
8032 if test -d .libs; then
8033   lt_cv_objdir=.libs
8034 else
8035   # MS-DOS does not allow filenames that begin with a dot.
8036   lt_cv_objdir=_libs
8037 fi
8038 rmdir .libs 2>/dev/null
8039 fi
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8041 $as_echo "$lt_cv_objdir" >&6; }
8042 objdir=$lt_cv_objdir
8043
8044
8045
8046
8047
8048 cat >>confdefs.h <<_ACEOF
8049 #define LT_OBJDIR "$lt_cv_objdir/"
8050 _ACEOF
8051
8052
8053
8054
8055 case $host_os in
8056 aix3*)
8057   # AIX sometimes has problems with the GCC collect2 program.  For some
8058   # reason, if we set the COLLECT_NAMES environment variable, the problems
8059   # vanish in a puff of smoke.
8060   if test "X${COLLECT_NAMES+set}" != Xset; then
8061     COLLECT_NAMES=
8062     export COLLECT_NAMES
8063   fi
8064   ;;
8065 esac
8066
8067 # Global variables:
8068 ofile=libtool
8069 can_build_shared=yes
8070
8071 # All known linkers require a `.a' archive for static linking (except MSVC,
8072 # which needs '.lib').
8073 libext=a
8074
8075 with_gnu_ld="$lt_cv_prog_gnu_ld"
8076
8077 old_CC="$CC"
8078 old_CFLAGS="$CFLAGS"
8079
8080 # Set sane defaults for various variables
8081 test -z "$CC" && CC=cc
8082 test -z "$LTCC" && LTCC=$CC
8083 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8084 test -z "$LD" && LD=ld
8085 test -z "$ac_objext" && ac_objext=o
8086
8087 for cc_temp in $compiler""; do
8088   case $cc_temp in
8089     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8090     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8091     \-*) ;;
8092     *) break;;
8093   esac
8094 done
8095 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8096
8097
8098 # Only perform the check for file, if the check method requires it
8099 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8100 case $deplibs_check_method in
8101 file_magic*)
8102   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8103     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8104 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8105 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8106   $as_echo_n "(cached) " >&6
8107 else
8108   case $MAGIC_CMD in
8109 [\\/*] |  ?:[\\/]*)
8110   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8111   ;;
8112 *)
8113   lt_save_MAGIC_CMD="$MAGIC_CMD"
8114   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8115   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8116   for ac_dir in $ac_dummy; do
8117     IFS="$lt_save_ifs"
8118     test -z "$ac_dir" && ac_dir=.
8119     if test -f $ac_dir/${ac_tool_prefix}file; then
8120       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8121       if test -n "$file_magic_test_file"; then
8122         case $deplibs_check_method in
8123         "file_magic "*)
8124           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8125           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8126           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8127             $EGREP "$file_magic_regex" > /dev/null; then
8128             :
8129           else
8130             cat <<_LT_EOF 1>&2
8131
8132 *** Warning: the command libtool uses to detect shared libraries,
8133 *** $file_magic_cmd, produces output that libtool cannot recognize.
8134 *** The result is that libtool may fail to recognize shared libraries
8135 *** as such.  This will affect the creation of libtool libraries that
8136 *** depend on shared libraries, but programs linked with such libtool
8137 *** libraries will work regardless of this problem.  Nevertheless, you
8138 *** may want to report the problem to your system manager and/or to
8139 *** bug-libtool@gnu.org
8140
8141 _LT_EOF
8142           fi ;;
8143         esac
8144       fi
8145       break
8146     fi
8147   done
8148   IFS="$lt_save_ifs"
8149   MAGIC_CMD="$lt_save_MAGIC_CMD"
8150   ;;
8151 esac
8152 fi
8153
8154 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8155 if test -n "$MAGIC_CMD"; then
8156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8157 $as_echo "$MAGIC_CMD" >&6; }
8158 else
8159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8160 $as_echo "no" >&6; }
8161 fi
8162
8163
8164
8165
8166
8167 if test -z "$lt_cv_path_MAGIC_CMD"; then
8168   if test -n "$ac_tool_prefix"; then
8169     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8170 $as_echo_n "checking for file... " >&6; }
8171 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8172   $as_echo_n "(cached) " >&6
8173 else
8174   case $MAGIC_CMD in
8175 [\\/*] |  ?:[\\/]*)
8176   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8177   ;;
8178 *)
8179   lt_save_MAGIC_CMD="$MAGIC_CMD"
8180   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8181   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8182   for ac_dir in $ac_dummy; do
8183     IFS="$lt_save_ifs"
8184     test -z "$ac_dir" && ac_dir=.
8185     if test -f $ac_dir/file; then
8186       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8187       if test -n "$file_magic_test_file"; then
8188         case $deplibs_check_method in
8189         "file_magic "*)
8190           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8191           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8192           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8193             $EGREP "$file_magic_regex" > /dev/null; then
8194             :
8195           else
8196             cat <<_LT_EOF 1>&2
8197
8198 *** Warning: the command libtool uses to detect shared libraries,
8199 *** $file_magic_cmd, produces output that libtool cannot recognize.
8200 *** The result is that libtool may fail to recognize shared libraries
8201 *** as such.  This will affect the creation of libtool libraries that
8202 *** depend on shared libraries, but programs linked with such libtool
8203 *** libraries will work regardless of this problem.  Nevertheless, you
8204 *** may want to report the problem to your system manager and/or to
8205 *** bug-libtool@gnu.org
8206
8207 _LT_EOF
8208           fi ;;
8209         esac
8210       fi
8211       break
8212     fi
8213   done
8214   IFS="$lt_save_ifs"
8215   MAGIC_CMD="$lt_save_MAGIC_CMD"
8216   ;;
8217 esac
8218 fi
8219
8220 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8221 if test -n "$MAGIC_CMD"; then
8222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8223 $as_echo "$MAGIC_CMD" >&6; }
8224 else
8225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8226 $as_echo "no" >&6; }
8227 fi
8228
8229
8230   else
8231     MAGIC_CMD=:
8232   fi
8233 fi
8234
8235   fi
8236   ;;
8237 esac
8238
8239 # Use C for the default configuration in the libtool script
8240
8241 lt_save_CC="$CC"
8242 ac_ext=c
8243 ac_cpp='$CPP $CPPFLAGS'
8244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8247
8248
8249 # Source file extension for C test sources.
8250 ac_ext=c
8251
8252 # Object file extension for compiled C test sources.
8253 objext=o
8254 objext=$objext
8255
8256 # Code to be used in simple compile tests
8257 lt_simple_compile_test_code="int some_variable = 0;"
8258
8259 # Code to be used in simple link tests
8260 lt_simple_link_test_code='int main(){return(0);}'
8261
8262
8263
8264
8265
8266
8267
8268 # If no C compiler was specified, use CC.
8269 LTCC=${LTCC-"$CC"}
8270
8271 # If no C compiler flags were specified, use CFLAGS.
8272 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8273
8274 # Allow CC to be a program name with arguments.
8275 compiler=$CC
8276
8277 # Save the default compiler, since it gets overwritten when the other
8278 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8279 compiler_DEFAULT=$CC
8280
8281 # save warnings/boilerplate of simple test code
8282 ac_outfile=conftest.$ac_objext
8283 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8284 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8285 _lt_compiler_boilerplate=`cat conftest.err`
8286 $RM conftest*
8287
8288 ac_outfile=conftest.$ac_objext
8289 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8290 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8291 _lt_linker_boilerplate=`cat conftest.err`
8292 $RM -r conftest*
8293
8294
8295 ## CAVEAT EMPTOR:
8296 ## There is no encapsulation within the following macros, do not change
8297 ## the running order or otherwise move them around unless you know exactly
8298 ## what you are doing...
8299 if test -n "$compiler"; then
8300
8301 lt_prog_compiler_no_builtin_flag=
8302
8303 if test "$GCC" = yes; then
8304   case $cc_basename in
8305   nvcc*)
8306     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8307   *)
8308     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8309   esac
8310
8311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8312 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8313 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8314   $as_echo_n "(cached) " >&6
8315 else
8316   lt_cv_prog_compiler_rtti_exceptions=no
8317    ac_outfile=conftest.$ac_objext
8318    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8319    lt_compiler_flag="-fno-rtti -fno-exceptions"
8320    # Insert the option either (1) after the last *FLAGS variable, or
8321    # (2) before a word containing "conftest.", or (3) at the end.
8322    # Note that $ac_compile itself does not contain backslashes and begins
8323    # with a dollar sign (not a hyphen), so the echo should work correctly.
8324    # The option is referenced via a variable to avoid confusing sed.
8325    lt_compile=`echo "$ac_compile" | $SED \
8326    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8327    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8328    -e 's:$: $lt_compiler_flag:'`
8329    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8330    (eval "$lt_compile" 2>conftest.err)
8331    ac_status=$?
8332    cat conftest.err >&5
8333    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8334    if (exit $ac_status) && test -s "$ac_outfile"; then
8335      # The compiler can only warn and ignore the option if not recognized
8336      # So say no if there are warnings other than the usual output.
8337      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8338      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8339      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8340        lt_cv_prog_compiler_rtti_exceptions=yes
8341      fi
8342    fi
8343    $RM conftest*
8344
8345 fi
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8347 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8348
8349 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8350     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8351 else
8352     :
8353 fi
8354
8355 fi
8356
8357
8358
8359
8360
8361
8362   lt_prog_compiler_wl=
8363 lt_prog_compiler_pic=
8364 lt_prog_compiler_static=
8365
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8367 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8368
8369   if test "$GCC" = yes; then
8370     lt_prog_compiler_wl='-Wl,'
8371     lt_prog_compiler_static='-static'
8372
8373     case $host_os in
8374       aix*)
8375       # All AIX code is PIC.
8376       if test "$host_cpu" = ia64; then
8377         # AIX 5 now supports IA64 processor
8378         lt_prog_compiler_static='-Bstatic'
8379       fi
8380       ;;
8381
8382     amigaos*)
8383       case $host_cpu in
8384       powerpc)
8385             # see comment about AmigaOS4 .so support
8386             lt_prog_compiler_pic='-fPIC'
8387         ;;
8388       m68k)
8389             # FIXME: we need at least 68020 code to build shared libraries, but
8390             # adding the `-m68020' flag to GCC prevents building anything better,
8391             # like `-m68040'.
8392             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8393         ;;
8394       esac
8395       ;;
8396
8397     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8398       # PIC is the default for these OSes.
8399       ;;
8400
8401     mingw* | cygwin* | pw32* | os2* | cegcc*)
8402       # This hack is so that the source file can tell whether it is being
8403       # built for inclusion in a dll (and should export symbols for example).
8404       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8405       # (--disable-auto-import) libraries
8406       lt_prog_compiler_pic='-DDLL_EXPORT'
8407       ;;
8408
8409     darwin* | rhapsody*)
8410       # PIC is the default on this platform
8411       # Common symbols not allowed in MH_DYLIB files
8412       lt_prog_compiler_pic='-fno-common'
8413       ;;
8414
8415     haiku*)
8416       # PIC is the default for Haiku.
8417       # The "-static" flag exists, but is broken.
8418       lt_prog_compiler_static=
8419       ;;
8420
8421     hpux*)
8422       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8423       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8424       # sets the default TLS model and affects inlining.
8425       case $host_cpu in
8426       hppa*64*)
8427         # +Z the default
8428         ;;
8429       *)
8430         lt_prog_compiler_pic='-fPIC'
8431         ;;
8432       esac
8433       ;;
8434
8435     interix[3-9]*)
8436       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8437       # Instead, we relocate shared libraries at runtime.
8438       ;;
8439
8440     msdosdjgpp*)
8441       # Just because we use GCC doesn't mean we suddenly get shared libraries
8442       # on systems that don't support them.
8443       lt_prog_compiler_can_build_shared=no
8444       enable_shared=no
8445       ;;
8446
8447     *nto* | *qnx*)
8448       # QNX uses GNU C++, but need to define -shared option too, otherwise
8449       # it will coredump.
8450       lt_prog_compiler_pic='-fPIC -shared'
8451       ;;
8452
8453     sysv4*MP*)
8454       if test -d /usr/nec; then
8455         lt_prog_compiler_pic=-Kconform_pic
8456       fi
8457       ;;
8458
8459     *)
8460       lt_prog_compiler_pic='-fPIC'
8461       ;;
8462     esac
8463
8464     case $cc_basename in
8465     nvcc*) # Cuda Compiler Driver 2.2
8466       lt_prog_compiler_wl='-Xlinker '
8467       lt_prog_compiler_pic='-Xcompiler -fPIC'
8468       ;;
8469     esac
8470   else
8471     # PORTME Check for flag to pass linker flags through the system compiler.
8472     case $host_os in
8473     aix*)
8474       lt_prog_compiler_wl='-Wl,'
8475       if test "$host_cpu" = ia64; then
8476         # AIX 5 now supports IA64 processor
8477         lt_prog_compiler_static='-Bstatic'
8478       else
8479         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8480       fi
8481       ;;
8482
8483     mingw* | cygwin* | pw32* | os2* | cegcc*)
8484       # This hack is so that the source file can tell whether it is being
8485       # built for inclusion in a dll (and should export symbols for example).
8486       lt_prog_compiler_pic='-DDLL_EXPORT'
8487       ;;
8488
8489     hpux9* | hpux10* | hpux11*)
8490       lt_prog_compiler_wl='-Wl,'
8491       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8492       # not for PA HP-UX.
8493       case $host_cpu in
8494       hppa*64*|ia64*)
8495         # +Z the default
8496         ;;
8497       *)
8498         lt_prog_compiler_pic='+Z'
8499         ;;
8500       esac
8501       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8502       lt_prog_compiler_static='${wl}-a ${wl}archive'
8503       ;;
8504
8505     irix5* | irix6* | nonstopux*)
8506       lt_prog_compiler_wl='-Wl,'
8507       # PIC (with -KPIC) is the default.
8508       lt_prog_compiler_static='-non_shared'
8509       ;;
8510
8511     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8512       case $cc_basename in
8513       # old Intel for x86_64 which still supported -KPIC.
8514       ecc*)
8515         lt_prog_compiler_wl='-Wl,'
8516         lt_prog_compiler_pic='-KPIC'
8517         lt_prog_compiler_static='-static'
8518         ;;
8519       # icc used to be incompatible with GCC.
8520       # ICC 10 doesn't accept -KPIC any more.
8521       icc* | ifort*)
8522         lt_prog_compiler_wl='-Wl,'
8523         lt_prog_compiler_pic='-fPIC'
8524         lt_prog_compiler_static='-static'
8525         ;;
8526       # Lahey Fortran 8.1.
8527       lf95*)
8528         lt_prog_compiler_wl='-Wl,'
8529         lt_prog_compiler_pic='--shared'
8530         lt_prog_compiler_static='--static'
8531         ;;
8532       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8533         # Portland Group compilers (*not* the Pentium gcc compiler,
8534         # which looks to be a dead project)
8535         lt_prog_compiler_wl='-Wl,'
8536         lt_prog_compiler_pic='-fpic'
8537         lt_prog_compiler_static='-Bstatic'
8538         ;;
8539       ccc*)
8540         lt_prog_compiler_wl='-Wl,'
8541         # All Alpha code is PIC.
8542         lt_prog_compiler_static='-non_shared'
8543         ;;
8544       xl* | bgxl* | bgf* | mpixl*)
8545         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8546         lt_prog_compiler_wl='-Wl,'
8547         lt_prog_compiler_pic='-qpic'
8548         lt_prog_compiler_static='-qstaticlink'
8549         ;;
8550       *)
8551         case `$CC -V 2>&1 | sed 5q` in
8552         *Sun\ F* | *Sun*Fortran*)
8553           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8554           lt_prog_compiler_pic='-KPIC'
8555           lt_prog_compiler_static='-Bstatic'
8556           lt_prog_compiler_wl=''
8557           ;;
8558         *Sun\ C*)
8559           # Sun C 5.9
8560           lt_prog_compiler_pic='-KPIC'
8561           lt_prog_compiler_static='-Bstatic'
8562           lt_prog_compiler_wl='-Wl,'
8563           ;;
8564         esac
8565         ;;
8566       esac
8567       ;;
8568
8569     newsos6)
8570       lt_prog_compiler_pic='-KPIC'
8571       lt_prog_compiler_static='-Bstatic'
8572       ;;
8573
8574     *nto* | *qnx*)
8575       # QNX uses GNU C++, but need to define -shared option too, otherwise
8576       # it will coredump.
8577       lt_prog_compiler_pic='-fPIC -shared'
8578       ;;
8579
8580     osf3* | osf4* | osf5*)
8581       lt_prog_compiler_wl='-Wl,'
8582       # All OSF/1 code is PIC.
8583       lt_prog_compiler_static='-non_shared'
8584       ;;
8585
8586     rdos*)
8587       lt_prog_compiler_static='-non_shared'
8588       ;;
8589
8590     solaris*)
8591       lt_prog_compiler_pic='-KPIC'
8592       lt_prog_compiler_static='-Bstatic'
8593       case $cc_basename in
8594       f77* | f90* | f95*)
8595         lt_prog_compiler_wl='-Qoption ld ';;
8596       *)
8597         lt_prog_compiler_wl='-Wl,';;
8598       esac
8599       ;;
8600
8601     sunos4*)
8602       lt_prog_compiler_wl='-Qoption ld '
8603       lt_prog_compiler_pic='-PIC'
8604       lt_prog_compiler_static='-Bstatic'
8605       ;;
8606
8607     sysv4 | sysv4.2uw2* | sysv4.3*)
8608       lt_prog_compiler_wl='-Wl,'
8609       lt_prog_compiler_pic='-KPIC'
8610       lt_prog_compiler_static='-Bstatic'
8611       ;;
8612
8613     sysv4*MP*)
8614       if test -d /usr/nec ;then
8615         lt_prog_compiler_pic='-Kconform_pic'
8616         lt_prog_compiler_static='-Bstatic'
8617       fi
8618       ;;
8619
8620     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8621       lt_prog_compiler_wl='-Wl,'
8622       lt_prog_compiler_pic='-KPIC'
8623       lt_prog_compiler_static='-Bstatic'
8624       ;;
8625
8626     unicos*)
8627       lt_prog_compiler_wl='-Wl,'
8628       lt_prog_compiler_can_build_shared=no
8629       ;;
8630
8631     uts4*)
8632       lt_prog_compiler_pic='-pic'
8633       lt_prog_compiler_static='-Bstatic'
8634       ;;
8635
8636     *)
8637       lt_prog_compiler_can_build_shared=no
8638       ;;
8639     esac
8640   fi
8641
8642 case $host_os in
8643   # For platforms which do not support PIC, -DPIC is meaningless:
8644   *djgpp*)
8645     lt_prog_compiler_pic=
8646     ;;
8647   *)
8648     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8649     ;;
8650 esac
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8652 $as_echo "$lt_prog_compiler_pic" >&6; }
8653
8654
8655
8656
8657
8658
8659 #
8660 # Check to make sure the PIC flag actually works.
8661 #
8662 if test -n "$lt_prog_compiler_pic"; then
8663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8664 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8665 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8666   $as_echo_n "(cached) " >&6
8667 else
8668   lt_cv_prog_compiler_pic_works=no
8669    ac_outfile=conftest.$ac_objext
8670    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8671    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8672    # Insert the option either (1) after the last *FLAGS variable, or
8673    # (2) before a word containing "conftest.", or (3) at the end.
8674    # Note that $ac_compile itself does not contain backslashes and begins
8675    # with a dollar sign (not a hyphen), so the echo should work correctly.
8676    # The option is referenced via a variable to avoid confusing sed.
8677    lt_compile=`echo "$ac_compile" | $SED \
8678    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8679    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8680    -e 's:$: $lt_compiler_flag:'`
8681    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8682    (eval "$lt_compile" 2>conftest.err)
8683    ac_status=$?
8684    cat conftest.err >&5
8685    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686    if (exit $ac_status) && test -s "$ac_outfile"; then
8687      # The compiler can only warn and ignore the option if not recognized
8688      # So say no if there are warnings other than the usual output.
8689      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8690      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8691      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8692        lt_cv_prog_compiler_pic_works=yes
8693      fi
8694    fi
8695    $RM conftest*
8696
8697 fi
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8699 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8700
8701 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8702     case $lt_prog_compiler_pic in
8703      "" | " "*) ;;
8704      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8705      esac
8706 else
8707     lt_prog_compiler_pic=
8708      lt_prog_compiler_can_build_shared=no
8709 fi
8710
8711 fi
8712
8713
8714
8715
8716
8717
8718 #
8719 # Check to make sure the static flag actually works.
8720 #
8721 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8723 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8724 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8725   $as_echo_n "(cached) " >&6
8726 else
8727   lt_cv_prog_compiler_static_works=no
8728    save_LDFLAGS="$LDFLAGS"
8729    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8730    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8731    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8732      # The linker can only warn and ignore the option if not recognized
8733      # So say no if there are warnings
8734      if test -s conftest.err; then
8735        # Append any errors to the config.log.
8736        cat conftest.err 1>&5
8737        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8738        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8739        if diff conftest.exp conftest.er2 >/dev/null; then
8740          lt_cv_prog_compiler_static_works=yes
8741        fi
8742      else
8743        lt_cv_prog_compiler_static_works=yes
8744      fi
8745    fi
8746    $RM -r conftest*
8747    LDFLAGS="$save_LDFLAGS"
8748
8749 fi
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8751 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8752
8753 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8754     :
8755 else
8756     lt_prog_compiler_static=
8757 fi
8758
8759
8760
8761
8762
8763
8764
8765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8766 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8767 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8768   $as_echo_n "(cached) " >&6
8769 else
8770   lt_cv_prog_compiler_c_o=no
8771    $RM -r conftest 2>/dev/null
8772    mkdir conftest
8773    cd conftest
8774    mkdir out
8775    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8776
8777    lt_compiler_flag="-o out/conftest2.$ac_objext"
8778    # Insert the option either (1) after the last *FLAGS variable, or
8779    # (2) before a word containing "conftest.", or (3) at the end.
8780    # Note that $ac_compile itself does not contain backslashes and begins
8781    # with a dollar sign (not a hyphen), so the echo should work correctly.
8782    lt_compile=`echo "$ac_compile" | $SED \
8783    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8784    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8785    -e 's:$: $lt_compiler_flag:'`
8786    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8787    (eval "$lt_compile" 2>out/conftest.err)
8788    ac_status=$?
8789    cat out/conftest.err >&5
8790    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8791    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8792    then
8793      # The compiler can only warn and ignore the option if not recognized
8794      # So say no if there are warnings
8795      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8796      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8797      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8798        lt_cv_prog_compiler_c_o=yes
8799      fi
8800    fi
8801    chmod u+w . 2>&5
8802    $RM conftest*
8803    # SGI C++ compiler will create directory out/ii_files/ for
8804    # template instantiation
8805    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8806    $RM out/* && rmdir out
8807    cd ..
8808    $RM -r conftest
8809    $RM conftest*
8810
8811 fi
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8813 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8814
8815
8816
8817
8818
8819
8820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8821 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8822 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8823   $as_echo_n "(cached) " >&6
8824 else
8825   lt_cv_prog_compiler_c_o=no
8826    $RM -r conftest 2>/dev/null
8827    mkdir conftest
8828    cd conftest
8829    mkdir out
8830    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8831
8832    lt_compiler_flag="-o out/conftest2.$ac_objext"
8833    # Insert the option either (1) after the last *FLAGS variable, or
8834    # (2) before a word containing "conftest.", or (3) at the end.
8835    # Note that $ac_compile itself does not contain backslashes and begins
8836    # with a dollar sign (not a hyphen), so the echo should work correctly.
8837    lt_compile=`echo "$ac_compile" | $SED \
8838    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8839    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8840    -e 's:$: $lt_compiler_flag:'`
8841    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8842    (eval "$lt_compile" 2>out/conftest.err)
8843    ac_status=$?
8844    cat out/conftest.err >&5
8845    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8846    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8847    then
8848      # The compiler can only warn and ignore the option if not recognized
8849      # So say no if there are warnings
8850      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8851      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8852      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8853        lt_cv_prog_compiler_c_o=yes
8854      fi
8855    fi
8856    chmod u+w . 2>&5
8857    $RM conftest*
8858    # SGI C++ compiler will create directory out/ii_files/ for
8859    # template instantiation
8860    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8861    $RM out/* && rmdir out
8862    cd ..
8863    $RM -r conftest
8864    $RM conftest*
8865
8866 fi
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8868 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8869
8870
8871
8872
8873 hard_links="nottested"
8874 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8875   # do not overwrite the value of need_locks provided by the user
8876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8877 $as_echo_n "checking if we can lock with hard links... " >&6; }
8878   hard_links=yes
8879   $RM conftest*
8880   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8881   touch conftest.a
8882   ln conftest.a conftest.b 2>&5 || hard_links=no
8883   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8885 $as_echo "$hard_links" >&6; }
8886   if test "$hard_links" = no; then
8887     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8888 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8889     need_locks=warn
8890   fi
8891 else
8892   need_locks=no
8893 fi
8894
8895
8896
8897
8898
8899
8900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8901 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8902
8903   runpath_var=
8904   allow_undefined_flag=
8905   always_export_symbols=no
8906   archive_cmds=
8907   archive_expsym_cmds=
8908   compiler_needs_object=no
8909   enable_shared_with_static_runtimes=no
8910   export_dynamic_flag_spec=
8911   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8912   hardcode_automatic=no
8913   hardcode_direct=no
8914   hardcode_direct_absolute=no
8915   hardcode_libdir_flag_spec=
8916   hardcode_libdir_flag_spec_ld=
8917   hardcode_libdir_separator=
8918   hardcode_minus_L=no
8919   hardcode_shlibpath_var=unsupported
8920   inherit_rpath=no
8921   link_all_deplibs=unknown
8922   module_cmds=
8923   module_expsym_cmds=
8924   old_archive_from_new_cmds=
8925   old_archive_from_expsyms_cmds=
8926   thread_safe_flag_spec=
8927   whole_archive_flag_spec=
8928   # include_expsyms should be a list of space-separated symbols to be *always*
8929   # included in the symbol list
8930   include_expsyms=
8931   # exclude_expsyms can be an extended regexp of symbols to exclude
8932   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8933   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8934   # as well as any symbol that contains `d'.
8935   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8936   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8937   # platforms (ab)use it in PIC code, but their linkers get confused if
8938   # the symbol is explicitly referenced.  Since portable code cannot
8939   # rely on this symbol name, it's probably fine to never include it in
8940   # preloaded symbol tables.
8941   # Exclude shared library initialization/finalization symbols.
8942   extract_expsyms_cmds=
8943
8944   case $host_os in
8945   cygwin* | mingw* | pw32* | cegcc*)
8946     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8947     # When not using gcc, we currently assume that we are using
8948     # Microsoft Visual C++.
8949     if test "$GCC" != yes; then
8950       with_gnu_ld=no
8951     fi
8952     ;;
8953   interix*)
8954     # we just hope/assume this is gcc and not c89 (= MSVC++)
8955     with_gnu_ld=yes
8956     ;;
8957   openbsd*)
8958     with_gnu_ld=no
8959     ;;
8960   esac
8961
8962   ld_shlibs=yes
8963
8964   # On some targets, GNU ld is compatible enough with the native linker
8965   # that we're better off using the native interface for both.
8966   lt_use_gnu_ld_interface=no
8967   if test "$with_gnu_ld" = yes; then
8968     case $host_os in
8969       aix*)
8970         # The AIX port of GNU ld has always aspired to compatibility
8971         # with the native linker.  However, as the warning in the GNU ld
8972         # block says, versions before 2.19.5* couldn't really create working
8973         # shared libraries, regardless of the interface used.
8974         case `$LD -v 2>&1` in
8975           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8976           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8977           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8978           *)
8979             lt_use_gnu_ld_interface=yes
8980             ;;
8981         esac
8982         ;;
8983       *)
8984         lt_use_gnu_ld_interface=yes
8985         ;;
8986     esac
8987   fi
8988
8989   if test "$lt_use_gnu_ld_interface" = yes; then
8990     # If archive_cmds runs LD, not CC, wlarc should be empty
8991     wlarc='${wl}'
8992
8993     # Set some defaults for GNU ld with shared library support. These
8994     # are reset later if shared libraries are not supported. Putting them
8995     # here allows them to be overridden if necessary.
8996     runpath_var=LD_RUN_PATH
8997     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8998     export_dynamic_flag_spec='${wl}--export-dynamic'
8999     # ancient GNU ld didn't support --whole-archive et. al.
9000     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9001       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9002     else
9003       whole_archive_flag_spec=
9004     fi
9005     supports_anon_versioning=no
9006     case `$LD -v 2>&1` in
9007       *GNU\ gold*) supports_anon_versioning=yes ;;
9008       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9009       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9010       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9011       *\ 2.11.*) ;; # other 2.11 versions
9012       *) supports_anon_versioning=yes ;;
9013     esac
9014
9015     # See if GNU ld supports shared libraries.
9016     case $host_os in
9017     aix[3-9]*)
9018       # On AIX/PPC, the GNU linker is very broken
9019       if test "$host_cpu" != ia64; then
9020         ld_shlibs=no
9021         cat <<_LT_EOF 1>&2
9022
9023 *** Warning: the GNU linker, at least up to release 2.19, is reported
9024 *** to be unable to reliably create shared libraries on AIX.
9025 *** Therefore, libtool is disabling shared libraries support.  If you
9026 *** really care for shared libraries, you may want to install binutils
9027 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9028 *** You will then need to restart the configuration process.
9029
9030 _LT_EOF
9031       fi
9032       ;;
9033
9034     amigaos*)
9035       case $host_cpu in
9036       powerpc)
9037             # see comment about AmigaOS4 .so support
9038             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9039             archive_expsym_cmds=''
9040         ;;
9041       m68k)
9042             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)'
9043             hardcode_libdir_flag_spec='-L$libdir'
9044             hardcode_minus_L=yes
9045         ;;
9046       esac
9047       ;;
9048
9049     beos*)
9050       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9051         allow_undefined_flag=unsupported
9052         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9053         # support --undefined.  This deserves some investigation.  FIXME
9054         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9055       else
9056         ld_shlibs=no
9057       fi
9058       ;;
9059
9060     cygwin* | mingw* | pw32* | cegcc*)
9061       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9062       # as there is no search path for DLLs.
9063       hardcode_libdir_flag_spec='-L$libdir'
9064       export_dynamic_flag_spec='${wl}--export-all-symbols'
9065       allow_undefined_flag=unsupported
9066       always_export_symbols=no
9067       enable_shared_with_static_runtimes=yes
9068       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9069
9070       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9071         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9072         # If the export-symbols file already is a .def file (1st line
9073         # is EXPORTS), use it as is; otherwise, prepend...
9074         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9075           cp $export_symbols $output_objdir/$soname.def;
9076         else
9077           echo EXPORTS > $output_objdir/$soname.def;
9078           cat $export_symbols >> $output_objdir/$soname.def;
9079         fi~
9080         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9081       else
9082         ld_shlibs=no
9083       fi
9084       ;;
9085
9086     haiku*)
9087       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9088       link_all_deplibs=yes
9089       ;;
9090
9091     interix[3-9]*)
9092       hardcode_direct=no
9093       hardcode_shlibpath_var=no
9094       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9095       export_dynamic_flag_spec='${wl}-E'
9096       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9097       # Instead, shared libraries are loaded at an image base (0x10000000 by
9098       # default) and relocated if they conflict, which is a slow very memory
9099       # consuming and fragmenting process.  To avoid this, we pick a random,
9100       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9101       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9102       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9103       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'
9104       ;;
9105
9106     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9107       tmp_diet=no
9108       if test "$host_os" = linux-dietlibc; then
9109         case $cc_basename in
9110           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9111         esac
9112       fi
9113       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9114          && test "$tmp_diet" = no
9115       then
9116         tmp_addflag=
9117         tmp_sharedflag='-shared'
9118         case $cc_basename,$host_cpu in
9119         pgcc*)                          # Portland Group C compiler
9120           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'
9121           tmp_addflag=' $pic_flag'
9122           ;;
9123         pgf77* | pgf90* | pgf95* | pgfortran*)
9124                                         # Portland Group f77 and f90 compilers
9125           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'
9126           tmp_addflag=' $pic_flag -Mnomain' ;;
9127         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9128           tmp_addflag=' -i_dynamic' ;;
9129         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9130           tmp_addflag=' -i_dynamic -nofor_main' ;;
9131         ifc* | ifort*)                  # Intel Fortran compiler
9132           tmp_addflag=' -nofor_main' ;;
9133         lf95*)                          # Lahey Fortran 8.1
9134           whole_archive_flag_spec=
9135           tmp_sharedflag='--shared' ;;
9136         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9137           tmp_sharedflag='-qmkshrobj'
9138           tmp_addflag= ;;
9139         nvcc*)  # Cuda Compiler Driver 2.2
9140           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9141           compiler_needs_object=yes
9142           ;;
9143         esac
9144         case `$CC -V 2>&1 | sed 5q` in
9145         *Sun\ C*)                       # Sun C 5.9
9146           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'
9147           compiler_needs_object=yes
9148           tmp_sharedflag='-G' ;;
9149         *Sun\ F*)                       # Sun Fortran 8.3
9150           tmp_sharedflag='-G' ;;
9151         esac
9152         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9153
9154         if test "x$supports_anon_versioning" = xyes; then
9155           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9156             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9157             echo "local: *; };" >> $output_objdir/$libname.ver~
9158             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9159         fi
9160
9161         case $cc_basename in
9162         xlf* | bgf* | bgxlf* | mpixlf*)
9163           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9164           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9165           hardcode_libdir_flag_spec=
9166           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9167           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9168           if test "x$supports_anon_versioning" = xyes; then
9169             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9170               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9171               echo "local: *; };" >> $output_objdir/$libname.ver~
9172               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9173           fi
9174           ;;
9175         esac
9176       else
9177         ld_shlibs=no
9178       fi
9179       ;;
9180
9181     netbsd*)
9182       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9183         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9184         wlarc=
9185       else
9186         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9187         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9188       fi
9189       ;;
9190
9191     solaris*)
9192       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9193         ld_shlibs=no
9194         cat <<_LT_EOF 1>&2
9195
9196 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9197 *** create shared libraries on Solaris systems.  Therefore, libtool
9198 *** is disabling shared libraries support.  We urge you to upgrade GNU
9199 *** binutils to release 2.9.1 or newer.  Another option is to modify
9200 *** your PATH or compiler configuration so that the native linker is
9201 *** used, and then restart.
9202
9203 _LT_EOF
9204       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9205         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9206         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9207       else
9208         ld_shlibs=no
9209       fi
9210       ;;
9211
9212     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9213       case `$LD -v 2>&1` in
9214         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9215         ld_shlibs=no
9216         cat <<_LT_EOF 1>&2
9217
9218 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9219 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9220 *** is disabling shared libraries support.  We urge you to upgrade GNU
9221 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9222 *** your PATH or compiler configuration so that the native linker is
9223 *** used, and then restart.
9224
9225 _LT_EOF
9226         ;;
9227         *)
9228           # For security reasons, it is highly recommended that you always
9229           # use absolute paths for naming shared libraries, and exclude the
9230           # DT_RUNPATH tag from executables and libraries.  But doing so
9231           # requires that you compile everything twice, which is a pain.
9232           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9233             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9234             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9235             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9236           else
9237             ld_shlibs=no
9238           fi
9239         ;;
9240       esac
9241       ;;
9242
9243     sunos4*)
9244       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9245       wlarc=
9246       hardcode_direct=yes
9247       hardcode_shlibpath_var=no
9248       ;;
9249
9250     *)
9251       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9252         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9253         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9254       else
9255         ld_shlibs=no
9256       fi
9257       ;;
9258     esac
9259
9260     if test "$ld_shlibs" = no; then
9261       runpath_var=
9262       hardcode_libdir_flag_spec=
9263       export_dynamic_flag_spec=
9264       whole_archive_flag_spec=
9265     fi
9266   else
9267     # PORTME fill in a description of your system's linker (not GNU ld)
9268     case $host_os in
9269     aix3*)
9270       allow_undefined_flag=unsupported
9271       always_export_symbols=yes
9272       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'
9273       # Note: this linker hardcodes the directories in LIBPATH if there
9274       # are no directories specified by -L.
9275       hardcode_minus_L=yes
9276       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9277         # Neither direct hardcoding nor static linking is supported with a
9278         # broken collect2.
9279         hardcode_direct=unsupported
9280       fi
9281       ;;
9282
9283     aix[4-9]*)
9284       if test "$host_cpu" = ia64; then
9285         # On IA64, the linker does run time linking by default, so we don't
9286         # have to do anything special.
9287         aix_use_runtimelinking=no
9288         exp_sym_flag='-Bexport'
9289         no_entry_flag=""
9290       else
9291         # If we're using GNU nm, then we don't want the "-C" option.
9292         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9293         # Also, AIX nm treats weak defined symbols like other global
9294         # defined symbols, whereas GNU nm marks them as "W".
9295         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9296           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'
9297         else
9298           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'
9299         fi
9300         aix_use_runtimelinking=no
9301
9302         # Test if we are trying to use run time linking or normal
9303         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9304         # need to do runtime linking.
9305         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9306           for ld_flag in $LDFLAGS; do
9307           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9308             aix_use_runtimelinking=yes
9309             break
9310           fi
9311           done
9312           ;;
9313         esac
9314
9315         exp_sym_flag='-bexport'
9316         no_entry_flag='-bnoentry'
9317       fi
9318
9319       # When large executables or shared objects are built, AIX ld can
9320       # have problems creating the table of contents.  If linking a library
9321       # or program results in "error TOC overflow" add -mminimal-toc to
9322       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9323       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9324
9325       archive_cmds=''
9326       hardcode_direct=yes
9327       hardcode_direct_absolute=yes
9328       hardcode_libdir_separator=':'
9329       link_all_deplibs=yes
9330       file_list_spec='${wl}-f,'
9331
9332       if test "$GCC" = yes; then
9333         case $host_os in aix4.[012]|aix4.[012].*)
9334         # We only want to do this on AIX 4.2 and lower, the check
9335         # below for broken collect2 doesn't work under 4.3+
9336           collect2name=`${CC} -print-prog-name=collect2`
9337           if test -f "$collect2name" &&
9338            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9339           then
9340           # We have reworked collect2
9341           :
9342           else
9343           # We have old collect2
9344           hardcode_direct=unsupported
9345           # It fails to find uninstalled libraries when the uninstalled
9346           # path is not listed in the libpath.  Setting hardcode_minus_L
9347           # to unsupported forces relinking
9348           hardcode_minus_L=yes
9349           hardcode_libdir_flag_spec='-L$libdir'
9350           hardcode_libdir_separator=
9351           fi
9352           ;;
9353         esac
9354         shared_flag='-shared'
9355         if test "$aix_use_runtimelinking" = yes; then
9356           shared_flag="$shared_flag "'${wl}-G'
9357         fi
9358       else
9359         # not using gcc
9360         if test "$host_cpu" = ia64; then
9361         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9362         # chokes on -Wl,-G. The following line is correct:
9363           shared_flag='-G'
9364         else
9365           if test "$aix_use_runtimelinking" = yes; then
9366             shared_flag='${wl}-G'
9367           else
9368             shared_flag='${wl}-bM:SRE'
9369           fi
9370         fi
9371       fi
9372
9373       export_dynamic_flag_spec='${wl}-bexpall'
9374       # It seems that -bexpall does not export symbols beginning with
9375       # underscore (_), so it is better to generate a list of symbols to export.
9376       always_export_symbols=yes
9377       if test "$aix_use_runtimelinking" = yes; then
9378         # Warning - without using the other runtime loading flags (-brtl),
9379         # -berok will link without error, but may produce a broken library.
9380         allow_undefined_flag='-berok'
9381         # Determine the default libpath from the value encoded in an
9382         # empty executable.
9383         if test x$gcc_no_link = xyes; then
9384   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9385 fi
9386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9387 /* end confdefs.h.  */
9388
9389 int
9390 main ()
9391 {
9392
9393   ;
9394   return 0;
9395 }
9396 _ACEOF
9397 if ac_fn_c_try_link "$LINENO"; then :
9398
9399 lt_aix_libpath_sed='
9400     /Import File Strings/,/^$/ {
9401         /^0/ {
9402             s/^0  *\(.*\)$/\1/
9403             p
9404         }
9405     }'
9406 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9407 # Check for a 64-bit object if we didn't find anything.
9408 if test -z "$aix_libpath"; then
9409   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9410 fi
9411 fi
9412 rm -f core conftest.err conftest.$ac_objext \
9413     conftest$ac_exeext conftest.$ac_ext
9414 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9415
9416         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9417         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"
9418       else
9419         if test "$host_cpu" = ia64; then
9420           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9421           allow_undefined_flag="-z nodefs"
9422           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"
9423         else
9424          # Determine the default libpath from the value encoded in an
9425          # empty executable.
9426          if test x$gcc_no_link = xyes; then
9427   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9428 fi
9429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9430 /* end confdefs.h.  */
9431
9432 int
9433 main ()
9434 {
9435
9436   ;
9437   return 0;
9438 }
9439 _ACEOF
9440 if ac_fn_c_try_link "$LINENO"; then :
9441
9442 lt_aix_libpath_sed='
9443     /Import File Strings/,/^$/ {
9444         /^0/ {
9445             s/^0  *\(.*\)$/\1/
9446             p
9447         }
9448     }'
9449 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9450 # Check for a 64-bit object if we didn't find anything.
9451 if test -z "$aix_libpath"; then
9452   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9453 fi
9454 fi
9455 rm -f core conftest.err conftest.$ac_objext \
9456     conftest$ac_exeext conftest.$ac_ext
9457 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9458
9459          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9460           # Warning - without using the other run time loading flags,
9461           # -berok will link without error, but may produce a broken library.
9462           no_undefined_flag=' ${wl}-bernotok'
9463           allow_undefined_flag=' ${wl}-berok'
9464           if test "$with_gnu_ld" = yes; then
9465             # We only use this code for GNU lds that support --whole-archive.
9466             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9467           else
9468             # Exported symbols can be pulled into shared objects from archives
9469             whole_archive_flag_spec='$convenience'
9470           fi
9471           archive_cmds_need_lc=yes
9472           # This is similar to how AIX traditionally builds its shared libraries.
9473           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'
9474         fi
9475       fi
9476       ;;
9477
9478     amigaos*)
9479       case $host_cpu in
9480       powerpc)
9481             # see comment about AmigaOS4 .so support
9482             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9483             archive_expsym_cmds=''
9484         ;;
9485       m68k)
9486             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)'
9487             hardcode_libdir_flag_spec='-L$libdir'
9488             hardcode_minus_L=yes
9489         ;;
9490       esac
9491       ;;
9492
9493     bsdi[45]*)
9494       export_dynamic_flag_spec=-rdynamic
9495       ;;
9496
9497     cygwin* | mingw* | pw32* | cegcc*)
9498       # When not using gcc, we currently assume that we are using
9499       # Microsoft Visual C++.
9500       # hardcode_libdir_flag_spec is actually meaningless, as there is
9501       # no search path for DLLs.
9502       hardcode_libdir_flag_spec=' '
9503       allow_undefined_flag=unsupported
9504       # Tell ltmain to make .lib files, not .a files.
9505       libext=lib
9506       # Tell ltmain to make .dll files, not .so files.
9507       shrext_cmds=".dll"
9508       # FIXME: Setting linknames here is a bad hack.
9509       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9510       # The linker will automatically build a .lib file if we build a DLL.
9511       old_archive_from_new_cmds='true'
9512       # FIXME: Should let the user specify the lib program.
9513       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9514       fix_srcfile_path='`cygpath -w "$srcfile"`'
9515       enable_shared_with_static_runtimes=yes
9516       ;;
9517
9518     darwin* | rhapsody*)
9519
9520
9521   archive_cmds_need_lc=no
9522   hardcode_direct=no
9523   hardcode_automatic=yes
9524   hardcode_shlibpath_var=unsupported
9525   if test "$lt_cv_ld_force_load" = "yes"; then
9526     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\"`'
9527   else
9528     whole_archive_flag_spec=''
9529   fi
9530   link_all_deplibs=yes
9531   allow_undefined_flag="$_lt_dar_allow_undefined"
9532   case $cc_basename in
9533      ifort*) _lt_dar_can_shared=yes ;;
9534      *) _lt_dar_can_shared=$GCC ;;
9535   esac
9536   if test "$_lt_dar_can_shared" = "yes"; then
9537     output_verbose_link_cmd=func_echo_all
9538     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9539     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9540     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}"
9541     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}"
9542
9543   else
9544   ld_shlibs=no
9545   fi
9546
9547       ;;
9548
9549     dgux*)
9550       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9551       hardcode_libdir_flag_spec='-L$libdir'
9552       hardcode_shlibpath_var=no
9553       ;;
9554
9555     freebsd1*)
9556       ld_shlibs=no
9557       ;;
9558
9559     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9560     # support.  Future versions do this automatically, but an explicit c++rt0.o
9561     # does not break anything, and helps significantly (at the cost of a little
9562     # extra space).
9563     freebsd2.2*)
9564       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9565       hardcode_libdir_flag_spec='-R$libdir'
9566       hardcode_direct=yes
9567       hardcode_shlibpath_var=no
9568       ;;
9569
9570     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9571     freebsd2*)
9572       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9573       hardcode_direct=yes
9574       hardcode_minus_L=yes
9575       hardcode_shlibpath_var=no
9576       ;;
9577
9578     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9579     freebsd* | dragonfly*)
9580       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9581       hardcode_libdir_flag_spec='-R$libdir'
9582       hardcode_direct=yes
9583       hardcode_shlibpath_var=no
9584       ;;
9585
9586     hpux9*)
9587       if test "$GCC" = yes; then
9588         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'
9589       else
9590         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'
9591       fi
9592       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9593       hardcode_libdir_separator=:
9594       hardcode_direct=yes
9595
9596       # hardcode_minus_L: Not really in the search PATH,
9597       # but as the default location of the library.
9598       hardcode_minus_L=yes
9599       export_dynamic_flag_spec='${wl}-E'
9600       ;;
9601
9602     hpux10*)
9603       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9604         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9605       else
9606         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9607       fi
9608       if test "$with_gnu_ld" = no; then
9609         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9610         hardcode_libdir_flag_spec_ld='+b $libdir'
9611         hardcode_libdir_separator=:
9612         hardcode_direct=yes
9613         hardcode_direct_absolute=yes
9614         export_dynamic_flag_spec='${wl}-E'
9615         # hardcode_minus_L: Not really in the search PATH,
9616         # but as the default location of the library.
9617         hardcode_minus_L=yes
9618       fi
9619       ;;
9620
9621     hpux11*)
9622       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9623         case $host_cpu in
9624         hppa*64*)
9625           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9626           ;;
9627         ia64*)
9628           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9629           ;;
9630         *)
9631           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9632           ;;
9633         esac
9634       else
9635         case $host_cpu in
9636         hppa*64*)
9637           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9638           ;;
9639         ia64*)
9640           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9641           ;;
9642         *)
9643
9644           # Older versions of the 11.00 compiler do not understand -b yet
9645           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9646           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9647 $as_echo_n "checking if $CC understands -b... " >&6; }
9648 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9649   $as_echo_n "(cached) " >&6
9650 else
9651   lt_cv_prog_compiler__b=no
9652    save_LDFLAGS="$LDFLAGS"
9653    LDFLAGS="$LDFLAGS -b"
9654    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9655    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9656      # The linker can only warn and ignore the option if not recognized
9657      # So say no if there are warnings
9658      if test -s conftest.err; then
9659        # Append any errors to the config.log.
9660        cat conftest.err 1>&5
9661        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9662        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9663        if diff conftest.exp conftest.er2 >/dev/null; then
9664          lt_cv_prog_compiler__b=yes
9665        fi
9666      else
9667        lt_cv_prog_compiler__b=yes
9668      fi
9669    fi
9670    $RM -r conftest*
9671    LDFLAGS="$save_LDFLAGS"
9672
9673 fi
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9675 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9676
9677 if test x"$lt_cv_prog_compiler__b" = xyes; then
9678     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9679 else
9680     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9681 fi
9682
9683           ;;
9684         esac
9685       fi
9686       if test "$with_gnu_ld" = no; then
9687         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9688         hardcode_libdir_separator=:
9689
9690         case $host_cpu in
9691         hppa*64*|ia64*)
9692           hardcode_direct=no
9693           hardcode_shlibpath_var=no
9694           ;;
9695         *)
9696           hardcode_direct=yes
9697           hardcode_direct_absolute=yes
9698           export_dynamic_flag_spec='${wl}-E'
9699
9700           # hardcode_minus_L: Not really in the search PATH,
9701           # but as the default location of the library.
9702           hardcode_minus_L=yes
9703           ;;
9704         esac
9705       fi
9706       ;;
9707
9708     irix5* | irix6* | nonstopux*)
9709       if test "$GCC" = yes; then
9710         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'
9711         # Try to use the -exported_symbol ld option, if it does not
9712         # work, assume that -exports_file does not work either and
9713         # implicitly export all symbols.
9714         save_LDFLAGS="$LDFLAGS"
9715         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9716         if test x$gcc_no_link = xyes; then
9717   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9718 fi
9719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9720 /* end confdefs.h.  */
9721 int foo(void) {}
9722 _ACEOF
9723 if ac_fn_c_try_link "$LINENO"; then :
9724   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'
9725
9726 fi
9727 rm -f core conftest.err conftest.$ac_objext \
9728     conftest$ac_exeext conftest.$ac_ext
9729         LDFLAGS="$save_LDFLAGS"
9730       else
9731         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'
9732         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'
9733       fi
9734       archive_cmds_need_lc='no'
9735       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9736       hardcode_libdir_separator=:
9737       inherit_rpath=yes
9738       link_all_deplibs=yes
9739       ;;
9740
9741     netbsd*)
9742       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9743         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9744       else
9745         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9746       fi
9747       hardcode_libdir_flag_spec='-R$libdir'
9748       hardcode_direct=yes
9749       hardcode_shlibpath_var=no
9750       ;;
9751
9752     newsos6)
9753       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9754       hardcode_direct=yes
9755       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9756       hardcode_libdir_separator=:
9757       hardcode_shlibpath_var=no
9758       ;;
9759
9760     *nto* | *qnx*)
9761       ;;
9762
9763     openbsd*)
9764       if test -f /usr/libexec/ld.so; then
9765         hardcode_direct=yes
9766         hardcode_shlibpath_var=no
9767         hardcode_direct_absolute=yes
9768         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9769           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9770           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9771           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9772           export_dynamic_flag_spec='${wl}-E'
9773         else
9774           case $host_os in
9775            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9776              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9777              hardcode_libdir_flag_spec='-R$libdir'
9778              ;;
9779            *)
9780              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9781              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9782              ;;
9783           esac
9784         fi
9785       else
9786         ld_shlibs=no
9787       fi
9788       ;;
9789
9790     os2*)
9791       hardcode_libdir_flag_spec='-L$libdir'
9792       hardcode_minus_L=yes
9793       allow_undefined_flag=unsupported
9794       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'
9795       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9796       ;;
9797
9798     osf3*)
9799       if test "$GCC" = yes; then
9800         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9801         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'
9802       else
9803         allow_undefined_flag=' -expect_unresolved \*'
9804         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'
9805       fi
9806       archive_cmds_need_lc='no'
9807       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9808       hardcode_libdir_separator=:
9809       ;;
9810
9811     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9812       if test "$GCC" = yes; then
9813         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9814         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'
9815         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9816       else
9817         allow_undefined_flag=' -expect_unresolved \*'
9818         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'
9819         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~
9820         $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'
9821
9822         # Both c and cxx compiler support -rpath directly
9823         hardcode_libdir_flag_spec='-rpath $libdir'
9824       fi
9825       archive_cmds_need_lc='no'
9826       hardcode_libdir_separator=:
9827       ;;
9828
9829     solaris*)
9830       no_undefined_flag=' -z defs'
9831       if test "$GCC" = yes; then
9832         wlarc='${wl}'
9833         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9834         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9835           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9836       else
9837         case `$CC -V 2>&1` in
9838         *"Compilers 5.0"*)
9839           wlarc=''
9840           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9841           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9842           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9843           ;;
9844         *)
9845           wlarc='${wl}'
9846           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9847           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9848           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9849           ;;
9850         esac
9851       fi
9852       hardcode_libdir_flag_spec='-R$libdir'
9853       hardcode_shlibpath_var=no
9854       case $host_os in
9855       solaris2.[0-5] | solaris2.[0-5].*) ;;
9856       *)
9857         # The compiler driver will combine and reorder linker options,
9858         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9859         # but is careful enough not to reorder.
9860         # Supported since Solaris 2.6 (maybe 2.5.1?)
9861         if test "$GCC" = yes; then
9862           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9863         else
9864           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9865         fi
9866         ;;
9867       esac
9868       link_all_deplibs=yes
9869       ;;
9870
9871     sunos4*)
9872       if test "x$host_vendor" = xsequent; then
9873         # Use $CC to link under sequent, because it throws in some extra .o
9874         # files that make .init and .fini sections work.
9875         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9876       else
9877         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9878       fi
9879       hardcode_libdir_flag_spec='-L$libdir'
9880       hardcode_direct=yes
9881       hardcode_minus_L=yes
9882       hardcode_shlibpath_var=no
9883       ;;
9884
9885     sysv4)
9886       case $host_vendor in
9887         sni)
9888           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9889           hardcode_direct=yes # is this really true???
9890         ;;
9891         siemens)
9892           ## LD is ld it makes a PLAMLIB
9893           ## CC just makes a GrossModule.
9894           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9895           reload_cmds='$CC -r -o $output$reload_objs'
9896           hardcode_direct=no
9897         ;;
9898         motorola)
9899           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9900           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9901         ;;
9902       esac
9903       runpath_var='LD_RUN_PATH'
9904       hardcode_shlibpath_var=no
9905       ;;
9906
9907     sysv4.3*)
9908       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9909       hardcode_shlibpath_var=no
9910       export_dynamic_flag_spec='-Bexport'
9911       ;;
9912
9913     sysv4*MP*)
9914       if test -d /usr/nec; then
9915         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9916         hardcode_shlibpath_var=no
9917         runpath_var=LD_RUN_PATH
9918         hardcode_runpath_var=yes
9919         ld_shlibs=yes
9920       fi
9921       ;;
9922
9923     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9924       no_undefined_flag='${wl}-z,text'
9925       archive_cmds_need_lc=no
9926       hardcode_shlibpath_var=no
9927       runpath_var='LD_RUN_PATH'
9928
9929       if test "$GCC" = yes; then
9930         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9931         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9932       else
9933         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9934         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9935       fi
9936       ;;
9937
9938     sysv5* | sco3.2v5* | sco5v6*)
9939       # Note: We can NOT use -z defs as we might desire, because we do not
9940       # link with -lc, and that would cause any symbols used from libc to
9941       # always be unresolved, which means just about no library would
9942       # ever link correctly.  If we're not using GNU ld we use -z text
9943       # though, which does catch some bad symbols but isn't as heavy-handed
9944       # as -z defs.
9945       no_undefined_flag='${wl}-z,text'
9946       allow_undefined_flag='${wl}-z,nodefs'
9947       archive_cmds_need_lc=no
9948       hardcode_shlibpath_var=no
9949       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9950       hardcode_libdir_separator=':'
9951       link_all_deplibs=yes
9952       export_dynamic_flag_spec='${wl}-Bexport'
9953       runpath_var='LD_RUN_PATH'
9954
9955       if test "$GCC" = yes; then
9956         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9957         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9958       else
9959         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9960         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9961       fi
9962       ;;
9963
9964     uts4*)
9965       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9966       hardcode_libdir_flag_spec='-L$libdir'
9967       hardcode_shlibpath_var=no
9968       ;;
9969
9970     *)
9971       ld_shlibs=no
9972       ;;
9973     esac
9974
9975     if test x$host_vendor = xsni; then
9976       case $host in
9977       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9978         export_dynamic_flag_spec='${wl}-Blargedynsym'
9979         ;;
9980       esac
9981     fi
9982   fi
9983
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9985 $as_echo "$ld_shlibs" >&6; }
9986 test "$ld_shlibs" = no && can_build_shared=no
9987
9988 with_gnu_ld=$with_gnu_ld
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004 #
10005 # Do we need to explicitly link libc?
10006 #
10007 case "x$archive_cmds_need_lc" in
10008 x|xyes)
10009   # Assume -lc should be added
10010   archive_cmds_need_lc=yes
10011
10012   if test "$enable_shared" = yes && test "$GCC" = yes; then
10013     case $archive_cmds in
10014     *'~'*)
10015       # FIXME: we may have to deal with multi-command sequences.
10016       ;;
10017     '$CC '*)
10018       # Test whether the compiler implicitly links with -lc since on some
10019       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10020       # to ld, don't add -lc before -lgcc.
10021       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10022 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10023 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10024   $as_echo_n "(cached) " >&6
10025 else
10026   $RM conftest*
10027         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10028
10029         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10030   (eval $ac_compile) 2>&5
10031   ac_status=$?
10032   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10033   test $ac_status = 0; } 2>conftest.err; then
10034           soname=conftest
10035           lib=conftest
10036           libobjs=conftest.$ac_objext
10037           deplibs=
10038           wl=$lt_prog_compiler_wl
10039           pic_flag=$lt_prog_compiler_pic
10040           compiler_flags=-v
10041           linker_flags=-v
10042           verstring=
10043           output_objdir=.
10044           libname=conftest
10045           lt_save_allow_undefined_flag=$allow_undefined_flag
10046           allow_undefined_flag=
10047           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10048   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10049   ac_status=$?
10050   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10051   test $ac_status = 0; }
10052           then
10053             lt_cv_archive_cmds_need_lc=no
10054           else
10055             lt_cv_archive_cmds_need_lc=yes
10056           fi
10057           allow_undefined_flag=$lt_save_allow_undefined_flag
10058         else
10059           cat conftest.err 1>&5
10060         fi
10061         $RM conftest*
10062
10063 fi
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10065 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10066       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10067       ;;
10068     esac
10069   fi
10070   ;;
10071 esac
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10230 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10231
10232 if test "$GCC" = yes; then
10233   case $host_os in
10234     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10235     *) lt_awk_arg="/^libraries:/" ;;
10236   esac
10237   case $host_os in
10238     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10239     *) lt_sed_strip_eq="s,=/,/,g" ;;
10240   esac
10241   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10242   case $lt_search_path_spec in
10243   *\;*)
10244     # if the path contains ";" then we assume it to be the separator
10245     # otherwise default to the standard path separator (i.e. ":") - it is
10246     # assumed that no part of a normal pathname contains ";" but that should
10247     # okay in the real world where ";" in dirpaths is itself problematic.
10248     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10249     ;;
10250   *)
10251     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10252     ;;
10253   esac
10254   # Ok, now we have the path, separated by spaces, we can step through it
10255   # and add multilib dir if necessary.
10256   lt_tmp_lt_search_path_spec=
10257   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10258   for lt_sys_path in $lt_search_path_spec; do
10259     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10260       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10261     else
10262       test -d "$lt_sys_path" && \
10263         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10264     fi
10265   done
10266   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10267 BEGIN {RS=" "; FS="/|\n";} {
10268   lt_foo="";
10269   lt_count=0;
10270   for (lt_i = NF; lt_i > 0; lt_i--) {
10271     if ($lt_i != "" && $lt_i != ".") {
10272       if ($lt_i == "..") {
10273         lt_count++;
10274       } else {
10275         if (lt_count == 0) {
10276           lt_foo="/" $lt_i lt_foo;
10277         } else {
10278           lt_count--;
10279         }
10280       }
10281     }
10282   }
10283   if (lt_foo != "") { lt_freq[lt_foo]++; }
10284   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10285 }'`
10286   # AWK program above erroneously prepends '/' to C:/dos/paths
10287   # for these hosts.
10288   case $host_os in
10289     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10290       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10291   esac
10292   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10293 else
10294   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10295 fi
10296 library_names_spec=
10297 libname_spec='lib$name'
10298 soname_spec=
10299 shrext_cmds=".so"
10300 postinstall_cmds=
10301 postuninstall_cmds=
10302 finish_cmds=
10303 finish_eval=
10304 shlibpath_var=
10305 shlibpath_overrides_runpath=unknown
10306 version_type=none
10307 dynamic_linker="$host_os ld.so"
10308 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10309 need_lib_prefix=unknown
10310 hardcode_into_libs=no
10311
10312 # when you set need_version to no, make sure it does not cause -set_version
10313 # flags to be left without arguments
10314 need_version=unknown
10315
10316 case $host_os in
10317 aix3*)
10318   version_type=linux
10319   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10320   shlibpath_var=LIBPATH
10321
10322   # AIX 3 has no versioning support, so we append a major version to the name.
10323   soname_spec='${libname}${release}${shared_ext}$major'
10324   ;;
10325
10326 aix[4-9]*)
10327   version_type=linux
10328   need_lib_prefix=no
10329   need_version=no
10330   hardcode_into_libs=yes
10331   if test "$host_cpu" = ia64; then
10332     # AIX 5 supports IA64
10333     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10334     shlibpath_var=LD_LIBRARY_PATH
10335   else
10336     # With GCC up to 2.95.x, collect2 would create an import file
10337     # for dependence libraries.  The import file would start with
10338     # the line `#! .'.  This would cause the generated library to
10339     # depend on `.', always an invalid library.  This was fixed in
10340     # development snapshots of GCC prior to 3.0.
10341     case $host_os in
10342       aix4 | aix4.[01] | aix4.[01].*)
10343       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10344            echo ' yes '
10345            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10346         :
10347       else
10348         can_build_shared=no
10349       fi
10350       ;;
10351     esac
10352     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10353     # soname into executable. Probably we can add versioning support to
10354     # collect2, so additional links can be useful in future.
10355     if test "$aix_use_runtimelinking" = yes; then
10356       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10357       # instead of lib<name>.a to let people know that these are not
10358       # typical AIX shared libraries.
10359       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10360     else
10361       # We preserve .a as extension for shared libraries through AIX4.2
10362       # and later when we are not doing run time linking.
10363       library_names_spec='${libname}${release}.a $libname.a'
10364       soname_spec='${libname}${release}${shared_ext}$major'
10365     fi
10366     shlibpath_var=LIBPATH
10367   fi
10368   ;;
10369
10370 amigaos*)
10371   case $host_cpu in
10372   powerpc)
10373     # Since July 2007 AmigaOS4 officially supports .so libraries.
10374     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10375     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10376     ;;
10377   m68k)
10378     library_names_spec='$libname.ixlibrary $libname.a'
10379     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10380     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'
10381     ;;
10382   esac
10383   ;;
10384
10385 beos*)
10386   library_names_spec='${libname}${shared_ext}'
10387   dynamic_linker="$host_os ld.so"
10388   shlibpath_var=LIBRARY_PATH
10389   ;;
10390
10391 bsdi[45]*)
10392   version_type=linux
10393   need_version=no
10394   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10395   soname_spec='${libname}${release}${shared_ext}$major'
10396   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10397   shlibpath_var=LD_LIBRARY_PATH
10398   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10399   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10400   # the default ld.so.conf also contains /usr/contrib/lib and
10401   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10402   # libtool to hard-code these into programs
10403   ;;
10404
10405 cygwin* | mingw* | pw32* | cegcc*)
10406   version_type=windows
10407   shrext_cmds=".dll"
10408   need_version=no
10409   need_lib_prefix=no
10410
10411   case $GCC,$host_os in
10412   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10413     library_names_spec='$libname.dll.a'
10414     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10415     postinstall_cmds='base_file=`basename \${file}`~
10416       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10417       dldir=$destdir/`dirname \$dlpath`~
10418       test -d \$dldir || mkdir -p \$dldir~
10419       $install_prog $dir/$dlname \$dldir/$dlname~
10420       chmod a+x \$dldir/$dlname~
10421       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10422         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10423       fi'
10424     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10425       dlpath=$dir/\$dldll~
10426        $RM \$dlpath'
10427     shlibpath_overrides_runpath=yes
10428
10429     case $host_os in
10430     cygwin*)
10431       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10432       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10433
10434       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10435       ;;
10436     mingw* | cegcc*)
10437       # MinGW DLLs use traditional 'lib' prefix
10438       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10439       ;;
10440     pw32*)
10441       # pw32 DLLs use 'pw' prefix rather than 'lib'
10442       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10443       ;;
10444     esac
10445     ;;
10446
10447   *)
10448     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10449     ;;
10450   esac
10451   dynamic_linker='Win32 ld.exe'
10452   # FIXME: first we should search . and the directory the executable is in
10453   shlibpath_var=PATH
10454   ;;
10455
10456 darwin* | rhapsody*)
10457   dynamic_linker="$host_os dyld"
10458   version_type=darwin
10459   need_lib_prefix=no
10460   need_version=no
10461   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10462   soname_spec='${libname}${release}${major}$shared_ext'
10463   shlibpath_overrides_runpath=yes
10464   shlibpath_var=DYLD_LIBRARY_PATH
10465   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10466
10467   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10468   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10469   ;;
10470
10471 dgux*)
10472   version_type=linux
10473   need_lib_prefix=no
10474   need_version=no
10475   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10476   soname_spec='${libname}${release}${shared_ext}$major'
10477   shlibpath_var=LD_LIBRARY_PATH
10478   ;;
10479
10480 freebsd1*)
10481   dynamic_linker=no
10482   ;;
10483
10484 freebsd* | dragonfly*)
10485   # DragonFly does not have aout.  When/if they implement a new
10486   # versioning mechanism, adjust this.
10487   if test -x /usr/bin/objformat; then
10488     objformat=`/usr/bin/objformat`
10489   else
10490     case $host_os in
10491     freebsd[123]*) objformat=aout ;;
10492     *) objformat=elf ;;
10493     esac
10494   fi
10495   version_type=freebsd-$objformat
10496   case $version_type in
10497     freebsd-elf*)
10498       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10499       need_version=no
10500       need_lib_prefix=no
10501       ;;
10502     freebsd-*)
10503       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10504       need_version=yes
10505       ;;
10506   esac
10507   shlibpath_var=LD_LIBRARY_PATH
10508   case $host_os in
10509   freebsd2*)
10510     shlibpath_overrides_runpath=yes
10511     ;;
10512   freebsd3.[01]* | freebsdelf3.[01]*)
10513     shlibpath_overrides_runpath=yes
10514     hardcode_into_libs=yes
10515     ;;
10516   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10517   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10518     shlibpath_overrides_runpath=no
10519     hardcode_into_libs=yes
10520     ;;
10521   *) # from 4.6 on, and DragonFly
10522     shlibpath_overrides_runpath=yes
10523     hardcode_into_libs=yes
10524     ;;
10525   esac
10526   ;;
10527
10528 gnu*)
10529   version_type=linux
10530   need_lib_prefix=no
10531   need_version=no
10532   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10533   soname_spec='${libname}${release}${shared_ext}$major'
10534   shlibpath_var=LD_LIBRARY_PATH
10535   hardcode_into_libs=yes
10536   ;;
10537
10538 haiku*)
10539   version_type=linux
10540   need_lib_prefix=no
10541   need_version=no
10542   dynamic_linker="$host_os runtime_loader"
10543   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10544   soname_spec='${libname}${release}${shared_ext}$major'
10545   shlibpath_var=LIBRARY_PATH
10546   shlibpath_overrides_runpath=yes
10547   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10548   hardcode_into_libs=yes
10549   ;;
10550
10551 hpux9* | hpux10* | hpux11*)
10552   # Give a soname corresponding to the major version so that dld.sl refuses to
10553   # link against other versions.
10554   version_type=sunos
10555   need_lib_prefix=no
10556   need_version=no
10557   case $host_cpu in
10558   ia64*)
10559     shrext_cmds='.so'
10560     hardcode_into_libs=yes
10561     dynamic_linker="$host_os dld.so"
10562     shlibpath_var=LD_LIBRARY_PATH
10563     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10564     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10565     soname_spec='${libname}${release}${shared_ext}$major'
10566     if test "X$HPUX_IA64_MODE" = X32; then
10567       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10568     else
10569       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10570     fi
10571     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10572     ;;
10573   hppa*64*)
10574     shrext_cmds='.sl'
10575     hardcode_into_libs=yes
10576     dynamic_linker="$host_os dld.sl"
10577     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10578     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10579     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10580     soname_spec='${libname}${release}${shared_ext}$major'
10581     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10582     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10583     ;;
10584   *)
10585     shrext_cmds='.sl'
10586     dynamic_linker="$host_os dld.sl"
10587     shlibpath_var=SHLIB_PATH
10588     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10589     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10590     soname_spec='${libname}${release}${shared_ext}$major'
10591     ;;
10592   esac
10593   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10594   postinstall_cmds='chmod 555 $lib'
10595   # or fails outright, so override atomically:
10596   install_override_mode=555
10597   ;;
10598
10599 interix[3-9]*)
10600   version_type=linux
10601   need_lib_prefix=no
10602   need_version=no
10603   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10604   soname_spec='${libname}${release}${shared_ext}$major'
10605   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10606   shlibpath_var=LD_LIBRARY_PATH
10607   shlibpath_overrides_runpath=no
10608   hardcode_into_libs=yes
10609   ;;
10610
10611 irix5* | irix6* | nonstopux*)
10612   case $host_os in
10613     nonstopux*) version_type=nonstopux ;;
10614     *)
10615         if test "$lt_cv_prog_gnu_ld" = yes; then
10616                 version_type=linux
10617         else
10618                 version_type=irix
10619         fi ;;
10620   esac
10621   need_lib_prefix=no
10622   need_version=no
10623   soname_spec='${libname}${release}${shared_ext}$major'
10624   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10625   case $host_os in
10626   irix5* | nonstopux*)
10627     libsuff= shlibsuff=
10628     ;;
10629   *)
10630     case $LD in # libtool.m4 will add one of these switches to LD
10631     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10632       libsuff= shlibsuff= libmagic=32-bit;;
10633     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10634       libsuff=32 shlibsuff=N32 libmagic=N32;;
10635     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10636       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10637     *) libsuff= shlibsuff= libmagic=never-match;;
10638     esac
10639     ;;
10640   esac
10641   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10642   shlibpath_overrides_runpath=no
10643   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10644   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10645   hardcode_into_libs=yes
10646   ;;
10647
10648 # No shared lib support for Linux oldld, aout, or coff.
10649 linux*oldld* | linux*aout* | linux*coff*)
10650   dynamic_linker=no
10651   ;;
10652
10653 # This must be Linux ELF.
10654 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10655   version_type=linux
10656   need_lib_prefix=no
10657   need_version=no
10658   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10659   soname_spec='${libname}${release}${shared_ext}$major'
10660   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10661   shlibpath_var=LD_LIBRARY_PATH
10662   shlibpath_overrides_runpath=no
10663
10664   # Some binutils ld are patched to set DT_RUNPATH
10665   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10666   $as_echo_n "(cached) " >&6
10667 else
10668   lt_cv_shlibpath_overrides_runpath=no
10669     save_LDFLAGS=$LDFLAGS
10670     save_libdir=$libdir
10671     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10672          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10673     if test x$gcc_no_link = xyes; then
10674   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10675 fi
10676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10677 /* end confdefs.h.  */
10678
10679 int
10680 main ()
10681 {
10682
10683   ;
10684   return 0;
10685 }
10686 _ACEOF
10687 if ac_fn_c_try_link "$LINENO"; then :
10688   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10689   lt_cv_shlibpath_overrides_runpath=yes
10690 fi
10691 fi
10692 rm -f core conftest.err conftest.$ac_objext \
10693     conftest$ac_exeext conftest.$ac_ext
10694     LDFLAGS=$save_LDFLAGS
10695     libdir=$save_libdir
10696
10697 fi
10698
10699   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10700
10701   # This implies no fast_install, which is unacceptable.
10702   # Some rework will be needed to allow for fast_install
10703   # before this can be enabled.
10704   hardcode_into_libs=yes
10705
10706   # Append ld.so.conf contents to the search path
10707   if test -f /etc/ld.so.conf; then
10708     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' ' '`
10709     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10710   fi
10711
10712   # We used to test for /lib/ld.so.1 and disable shared libraries on
10713   # powerpc, because MkLinux only supported shared libraries with the
10714   # GNU dynamic linker.  Since this was broken with cross compilers,
10715   # most powerpc-linux boxes support dynamic linking these days and
10716   # people can always --disable-shared, the test was removed, and we
10717   # assume the GNU/Linux dynamic linker is in use.
10718   dynamic_linker='GNU/Linux ld.so'
10719   ;;
10720
10721 netbsd*)
10722   version_type=sunos
10723   need_lib_prefix=no
10724   need_version=no
10725   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10726     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10727     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10728     dynamic_linker='NetBSD (a.out) ld.so'
10729   else
10730     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10731     soname_spec='${libname}${release}${shared_ext}$major'
10732     dynamic_linker='NetBSD ld.elf_so'
10733   fi
10734   shlibpath_var=LD_LIBRARY_PATH
10735   shlibpath_overrides_runpath=yes
10736   hardcode_into_libs=yes
10737   ;;
10738
10739 newsos6)
10740   version_type=linux
10741   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10742   shlibpath_var=LD_LIBRARY_PATH
10743   shlibpath_overrides_runpath=yes
10744   ;;
10745
10746 *nto* | *qnx*)
10747   version_type=qnx
10748   need_lib_prefix=no
10749   need_version=no
10750   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10751   soname_spec='${libname}${release}${shared_ext}$major'
10752   shlibpath_var=LD_LIBRARY_PATH
10753   shlibpath_overrides_runpath=no
10754   hardcode_into_libs=yes
10755   dynamic_linker='ldqnx.so'
10756   ;;
10757
10758 openbsd*)
10759   version_type=sunos
10760   sys_lib_dlsearch_path_spec="/usr/lib"
10761   need_lib_prefix=no
10762   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10763   case $host_os in
10764     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10765     *)                          need_version=no  ;;
10766   esac
10767   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10768   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10769   shlibpath_var=LD_LIBRARY_PATH
10770   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10771     case $host_os in
10772       openbsd2.[89] | openbsd2.[89].*)
10773         shlibpath_overrides_runpath=no
10774         ;;
10775       *)
10776         shlibpath_overrides_runpath=yes
10777         ;;
10778       esac
10779   else
10780     shlibpath_overrides_runpath=yes
10781   fi
10782   ;;
10783
10784 os2*)
10785   libname_spec='$name'
10786   shrext_cmds=".dll"
10787   need_lib_prefix=no
10788   library_names_spec='$libname${shared_ext} $libname.a'
10789   dynamic_linker='OS/2 ld.exe'
10790   shlibpath_var=LIBPATH
10791   ;;
10792
10793 osf3* | osf4* | osf5*)
10794   version_type=osf
10795   need_lib_prefix=no
10796   need_version=no
10797   soname_spec='${libname}${release}${shared_ext}$major'
10798   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10799   shlibpath_var=LD_LIBRARY_PATH
10800   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10801   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10802   ;;
10803
10804 rdos*)
10805   dynamic_linker=no
10806   ;;
10807
10808 solaris*)
10809   version_type=linux
10810   need_lib_prefix=no
10811   need_version=no
10812   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10813   soname_spec='${libname}${release}${shared_ext}$major'
10814   shlibpath_var=LD_LIBRARY_PATH
10815   shlibpath_overrides_runpath=yes
10816   hardcode_into_libs=yes
10817   # ldd complains unless libraries are executable
10818   postinstall_cmds='chmod +x $lib'
10819   ;;
10820
10821 sunos4*)
10822   version_type=sunos
10823   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10824   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10825   shlibpath_var=LD_LIBRARY_PATH
10826   shlibpath_overrides_runpath=yes
10827   if test "$with_gnu_ld" = yes; then
10828     need_lib_prefix=no
10829   fi
10830   need_version=yes
10831   ;;
10832
10833 sysv4 | sysv4.3*)
10834   version_type=linux
10835   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10836   soname_spec='${libname}${release}${shared_ext}$major'
10837   shlibpath_var=LD_LIBRARY_PATH
10838   case $host_vendor in
10839     sni)
10840       shlibpath_overrides_runpath=no
10841       need_lib_prefix=no
10842       runpath_var=LD_RUN_PATH
10843       ;;
10844     siemens)
10845       need_lib_prefix=no
10846       ;;
10847     motorola)
10848       need_lib_prefix=no
10849       need_version=no
10850       shlibpath_overrides_runpath=no
10851       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10852       ;;
10853   esac
10854   ;;
10855
10856 sysv4*MP*)
10857   if test -d /usr/nec ;then
10858     version_type=linux
10859     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10860     soname_spec='$libname${shared_ext}.$major'
10861     shlibpath_var=LD_LIBRARY_PATH
10862   fi
10863   ;;
10864
10865 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10866   version_type=freebsd-elf
10867   need_lib_prefix=no
10868   need_version=no
10869   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10870   soname_spec='${libname}${release}${shared_ext}$major'
10871   shlibpath_var=LD_LIBRARY_PATH
10872   shlibpath_overrides_runpath=yes
10873   hardcode_into_libs=yes
10874   if test "$with_gnu_ld" = yes; then
10875     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10876   else
10877     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10878     case $host_os in
10879       sco3.2v5*)
10880         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10881         ;;
10882     esac
10883   fi
10884   sys_lib_dlsearch_path_spec='/usr/lib'
10885   ;;
10886
10887 tpf*)
10888   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10889   version_type=linux
10890   need_lib_prefix=no
10891   need_version=no
10892   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10893   shlibpath_var=LD_LIBRARY_PATH
10894   shlibpath_overrides_runpath=no
10895   hardcode_into_libs=yes
10896   ;;
10897
10898 uts4*)
10899   version_type=linux
10900   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10901   soname_spec='${libname}${release}${shared_ext}$major'
10902   shlibpath_var=LD_LIBRARY_PATH
10903   ;;
10904
10905 *)
10906   dynamic_linker=no
10907   ;;
10908 esac
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10910 $as_echo "$dynamic_linker" >&6; }
10911 test "$dynamic_linker" = no && can_build_shared=no
10912
10913 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10914 if test "$GCC" = yes; then
10915   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10916 fi
10917
10918 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10919   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10920 fi
10921 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10922   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10923 fi
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11017 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11018 hardcode_action=
11019 if test -n "$hardcode_libdir_flag_spec" ||
11020    test -n "$runpath_var" ||
11021    test "X$hardcode_automatic" = "Xyes" ; then
11022
11023   # We can hardcode non-existent directories.
11024   if test "$hardcode_direct" != no &&
11025      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11026      # have to relink, otherwise we might link with an installed library
11027      # when we should be linking with a yet-to-be-installed one
11028      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11029      test "$hardcode_minus_L" != no; then
11030     # Linking always hardcodes the temporary library directory.
11031     hardcode_action=relink
11032   else
11033     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11034     hardcode_action=immediate
11035   fi
11036 else
11037   # We cannot hardcode anything, or else we can only hardcode existing
11038   # directories.
11039   hardcode_action=unsupported
11040 fi
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11042 $as_echo "$hardcode_action" >&6; }
11043
11044 if test "$hardcode_action" = relink ||
11045    test "$inherit_rpath" = yes; then
11046   # Fast installation is not supported
11047   enable_fast_install=no
11048 elif test "$shlibpath_overrides_runpath" = yes ||
11049      test "$enable_shared" = no; then
11050   # Fast installation is not necessary
11051   enable_fast_install=needless
11052 fi
11053
11054
11055
11056
11057
11058
11059   if test "x$enable_dlopen" != xyes; then
11060   enable_dlopen=unknown
11061   enable_dlopen_self=unknown
11062   enable_dlopen_self_static=unknown
11063 else
11064   lt_cv_dlopen=no
11065   lt_cv_dlopen_libs=
11066
11067   case $host_os in
11068   beos*)
11069     lt_cv_dlopen="load_add_on"
11070     lt_cv_dlopen_libs=
11071     lt_cv_dlopen_self=yes
11072     ;;
11073
11074   mingw* | pw32* | cegcc*)
11075     lt_cv_dlopen="LoadLibrary"
11076     lt_cv_dlopen_libs=
11077     ;;
11078
11079   cygwin*)
11080     lt_cv_dlopen="dlopen"
11081     lt_cv_dlopen_libs=
11082     ;;
11083
11084   darwin*)
11085   # if libdl is installed we need to link against it
11086     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11087 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11088 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11089   $as_echo_n "(cached) " >&6
11090 else
11091   ac_check_lib_save_LIBS=$LIBS
11092 LIBS="-ldl  $LIBS"
11093 if test x$gcc_no_link = xyes; then
11094   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11095 fi
11096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11097 /* end confdefs.h.  */
11098
11099 /* Override any GCC internal prototype to avoid an error.
11100    Use char because int might match the return type of a GCC
11101    builtin and then its argument prototype would still apply.  */
11102 #ifdef __cplusplus
11103 extern "C"
11104 #endif
11105 char dlopen ();
11106 int
11107 main ()
11108 {
11109 return dlopen ();
11110   ;
11111   return 0;
11112 }
11113 _ACEOF
11114 if ac_fn_c_try_link "$LINENO"; then :
11115   ac_cv_lib_dl_dlopen=yes
11116 else
11117   ac_cv_lib_dl_dlopen=no
11118 fi
11119 rm -f core conftest.err conftest.$ac_objext \
11120     conftest$ac_exeext conftest.$ac_ext
11121 LIBS=$ac_check_lib_save_LIBS
11122 fi
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11124 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11125 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11126   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11127 else
11128
11129     lt_cv_dlopen="dyld"
11130     lt_cv_dlopen_libs=
11131     lt_cv_dlopen_self=yes
11132
11133 fi
11134
11135     ;;
11136
11137   *)
11138     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11139 if test "x$ac_cv_func_shl_load" = x""yes; then :
11140   lt_cv_dlopen="shl_load"
11141 else
11142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11143 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11144 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11145   $as_echo_n "(cached) " >&6
11146 else
11147   ac_check_lib_save_LIBS=$LIBS
11148 LIBS="-ldld  $LIBS"
11149 if test x$gcc_no_link = xyes; then
11150   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11151 fi
11152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11153 /* end confdefs.h.  */
11154
11155 /* Override any GCC internal prototype to avoid an error.
11156    Use char because int might match the return type of a GCC
11157    builtin and then its argument prototype would still apply.  */
11158 #ifdef __cplusplus
11159 extern "C"
11160 #endif
11161 char shl_load ();
11162 int
11163 main ()
11164 {
11165 return shl_load ();
11166   ;
11167   return 0;
11168 }
11169 _ACEOF
11170 if ac_fn_c_try_link "$LINENO"; then :
11171   ac_cv_lib_dld_shl_load=yes
11172 else
11173   ac_cv_lib_dld_shl_load=no
11174 fi
11175 rm -f core conftest.err conftest.$ac_objext \
11176     conftest$ac_exeext conftest.$ac_ext
11177 LIBS=$ac_check_lib_save_LIBS
11178 fi
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11180 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11181 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11182   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11183 else
11184   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11185 if test "x$ac_cv_func_dlopen" = x""yes; then :
11186   lt_cv_dlopen="dlopen"
11187 else
11188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11189 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11190 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11191   $as_echo_n "(cached) " >&6
11192 else
11193   ac_check_lib_save_LIBS=$LIBS
11194 LIBS="-ldl  $LIBS"
11195 if test x$gcc_no_link = xyes; then
11196   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11197 fi
11198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11199 /* end confdefs.h.  */
11200
11201 /* Override any GCC internal prototype to avoid an error.
11202    Use char because int might match the return type of a GCC
11203    builtin and then its argument prototype would still apply.  */
11204 #ifdef __cplusplus
11205 extern "C"
11206 #endif
11207 char dlopen ();
11208 int
11209 main ()
11210 {
11211 return dlopen ();
11212   ;
11213   return 0;
11214 }
11215 _ACEOF
11216 if ac_fn_c_try_link "$LINENO"; then :
11217   ac_cv_lib_dl_dlopen=yes
11218 else
11219   ac_cv_lib_dl_dlopen=no
11220 fi
11221 rm -f core conftest.err conftest.$ac_objext \
11222     conftest$ac_exeext conftest.$ac_ext
11223 LIBS=$ac_check_lib_save_LIBS
11224 fi
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11226 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11227 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11228   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11229 else
11230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11231 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11232 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11233   $as_echo_n "(cached) " >&6
11234 else
11235   ac_check_lib_save_LIBS=$LIBS
11236 LIBS="-lsvld  $LIBS"
11237 if test x$gcc_no_link = xyes; then
11238   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11239 fi
11240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h.  */
11242
11243 /* Override any GCC internal prototype to avoid an error.
11244    Use char because int might match the return type of a GCC
11245    builtin and then its argument prototype would still apply.  */
11246 #ifdef __cplusplus
11247 extern "C"
11248 #endif
11249 char dlopen ();
11250 int
11251 main ()
11252 {
11253 return dlopen ();
11254   ;
11255   return 0;
11256 }
11257 _ACEOF
11258 if ac_fn_c_try_link "$LINENO"; then :
11259   ac_cv_lib_svld_dlopen=yes
11260 else
11261   ac_cv_lib_svld_dlopen=no
11262 fi
11263 rm -f core conftest.err conftest.$ac_objext \
11264     conftest$ac_exeext conftest.$ac_ext
11265 LIBS=$ac_check_lib_save_LIBS
11266 fi
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11268 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11269 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11270   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11271 else
11272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11273 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11274 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11275   $as_echo_n "(cached) " >&6
11276 else
11277   ac_check_lib_save_LIBS=$LIBS
11278 LIBS="-ldld  $LIBS"
11279 if test x$gcc_no_link = xyes; then
11280   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11281 fi
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h.  */
11284
11285 /* Override any GCC internal prototype to avoid an error.
11286    Use char because int might match the return type of a GCC
11287    builtin and then its argument prototype would still apply.  */
11288 #ifdef __cplusplus
11289 extern "C"
11290 #endif
11291 char dld_link ();
11292 int
11293 main ()
11294 {
11295 return dld_link ();
11296   ;
11297   return 0;
11298 }
11299 _ACEOF
11300 if ac_fn_c_try_link "$LINENO"; then :
11301   ac_cv_lib_dld_dld_link=yes
11302 else
11303   ac_cv_lib_dld_dld_link=no
11304 fi
11305 rm -f core conftest.err conftest.$ac_objext \
11306     conftest$ac_exeext conftest.$ac_ext
11307 LIBS=$ac_check_lib_save_LIBS
11308 fi
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11310 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11311 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11312   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11313 fi
11314
11315
11316 fi
11317
11318
11319 fi
11320
11321
11322 fi
11323
11324
11325 fi
11326
11327
11328 fi
11329
11330     ;;
11331   esac
11332
11333   if test "x$lt_cv_dlopen" != xno; then
11334     enable_dlopen=yes
11335   else
11336     enable_dlopen=no
11337   fi
11338
11339   case $lt_cv_dlopen in
11340   dlopen)
11341     save_CPPFLAGS="$CPPFLAGS"
11342     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11343
11344     save_LDFLAGS="$LDFLAGS"
11345     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11346
11347     save_LIBS="$LIBS"
11348     LIBS="$lt_cv_dlopen_libs $LIBS"
11349
11350     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11351 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11352 if test "${lt_cv_dlopen_self+set}" = set; then :
11353   $as_echo_n "(cached) " >&6
11354 else
11355           if test "$cross_compiling" = yes; then :
11356   lt_cv_dlopen_self=cross
11357 else
11358   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11359   lt_status=$lt_dlunknown
11360   cat > conftest.$ac_ext <<_LT_EOF
11361 #line 11361 "configure"
11362 #include "confdefs.h"
11363
11364 #if HAVE_DLFCN_H
11365 #include <dlfcn.h>
11366 #endif
11367
11368 #include <stdio.h>
11369
11370 #ifdef RTLD_GLOBAL
11371 #  define LT_DLGLOBAL           RTLD_GLOBAL
11372 #else
11373 #  ifdef DL_GLOBAL
11374 #    define LT_DLGLOBAL         DL_GLOBAL
11375 #  else
11376 #    define LT_DLGLOBAL         0
11377 #  endif
11378 #endif
11379
11380 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11381    find out it does not work in some platform. */
11382 #ifndef LT_DLLAZY_OR_NOW
11383 #  ifdef RTLD_LAZY
11384 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11385 #  else
11386 #    ifdef DL_LAZY
11387 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11388 #    else
11389 #      ifdef RTLD_NOW
11390 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11391 #      else
11392 #        ifdef DL_NOW
11393 #          define LT_DLLAZY_OR_NOW      DL_NOW
11394 #        else
11395 #          define LT_DLLAZY_OR_NOW      0
11396 #        endif
11397 #      endif
11398 #    endif
11399 #  endif
11400 #endif
11401
11402 /* When -fvisbility=hidden is used, assume the code has been annotated
11403    correspondingly for the symbols needed.  */
11404 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11405 void fnord () __attribute__((visibility("default")));
11406 #endif
11407
11408 void fnord () { int i=42; }
11409 int main ()
11410 {
11411   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11412   int status = $lt_dlunknown;
11413
11414   if (self)
11415     {
11416       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11417       else
11418         {
11419           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11420           else puts (dlerror ());
11421         }
11422       /* dlclose (self); */
11423     }
11424   else
11425     puts (dlerror ());
11426
11427   return status;
11428 }
11429 _LT_EOF
11430   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11431   (eval $ac_link) 2>&5
11432   ac_status=$?
11433   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11434   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11435     (./conftest; exit; ) >&5 2>/dev/null
11436     lt_status=$?
11437     case x$lt_status in
11438       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11439       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11440       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11441     esac
11442   else :
11443     # compilation failed
11444     lt_cv_dlopen_self=no
11445   fi
11446 fi
11447 rm -fr conftest*
11448
11449
11450 fi
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11452 $as_echo "$lt_cv_dlopen_self" >&6; }
11453
11454     if test "x$lt_cv_dlopen_self" = xyes; then
11455       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11456       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11457 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11458 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11459   $as_echo_n "(cached) " >&6
11460 else
11461           if test "$cross_compiling" = yes; then :
11462   lt_cv_dlopen_self_static=cross
11463 else
11464   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11465   lt_status=$lt_dlunknown
11466   cat > conftest.$ac_ext <<_LT_EOF
11467 #line 11467 "configure"
11468 #include "confdefs.h"
11469
11470 #if HAVE_DLFCN_H
11471 #include <dlfcn.h>
11472 #endif
11473
11474 #include <stdio.h>
11475
11476 #ifdef RTLD_GLOBAL
11477 #  define LT_DLGLOBAL           RTLD_GLOBAL
11478 #else
11479 #  ifdef DL_GLOBAL
11480 #    define LT_DLGLOBAL         DL_GLOBAL
11481 #  else
11482 #    define LT_DLGLOBAL         0
11483 #  endif
11484 #endif
11485
11486 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11487    find out it does not work in some platform. */
11488 #ifndef LT_DLLAZY_OR_NOW
11489 #  ifdef RTLD_LAZY
11490 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11491 #  else
11492 #    ifdef DL_LAZY
11493 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11494 #    else
11495 #      ifdef RTLD_NOW
11496 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11497 #      else
11498 #        ifdef DL_NOW
11499 #          define LT_DLLAZY_OR_NOW      DL_NOW
11500 #        else
11501 #          define LT_DLLAZY_OR_NOW      0
11502 #        endif
11503 #      endif
11504 #    endif
11505 #  endif
11506 #endif
11507
11508 /* When -fvisbility=hidden is used, assume the code has been annotated
11509    correspondingly for the symbols needed.  */
11510 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11511 void fnord () __attribute__((visibility("default")));
11512 #endif
11513
11514 void fnord () { int i=42; }
11515 int main ()
11516 {
11517   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11518   int status = $lt_dlunknown;
11519
11520   if (self)
11521     {
11522       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11523       else
11524         {
11525           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11526           else puts (dlerror ());
11527         }
11528       /* dlclose (self); */
11529     }
11530   else
11531     puts (dlerror ());
11532
11533   return status;
11534 }
11535 _LT_EOF
11536   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11537   (eval $ac_link) 2>&5
11538   ac_status=$?
11539   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11540   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11541     (./conftest; exit; ) >&5 2>/dev/null
11542     lt_status=$?
11543     case x$lt_status in
11544       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11545       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11546       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11547     esac
11548   else :
11549     # compilation failed
11550     lt_cv_dlopen_self_static=no
11551   fi
11552 fi
11553 rm -fr conftest*
11554
11555
11556 fi
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11558 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11559     fi
11560
11561     CPPFLAGS="$save_CPPFLAGS"
11562     LDFLAGS="$save_LDFLAGS"
11563     LIBS="$save_LIBS"
11564     ;;
11565   esac
11566
11567   case $lt_cv_dlopen_self in
11568   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11569   *) enable_dlopen_self=unknown ;;
11570   esac
11571
11572   case $lt_cv_dlopen_self_static in
11573   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11574   *) enable_dlopen_self_static=unknown ;;
11575   esac
11576 fi
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594 striplib=
11595 old_striplib=
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11597 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11598 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11599   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11600   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11602 $as_echo "yes" >&6; }
11603 else
11604 # FIXME - insert some real tests, host_os isn't really good enough
11605   case $host_os in
11606   darwin*)
11607     if test -n "$STRIP" ; then
11608       striplib="$STRIP -x"
11609       old_striplib="$STRIP -S"
11610       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11611 $as_echo "yes" >&6; }
11612     else
11613       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11614 $as_echo "no" >&6; }
11615     fi
11616     ;;
11617   *)
11618     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11619 $as_echo "no" >&6; }
11620     ;;
11621   esac
11622 fi
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635   # Report which library types will actually be built
11636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11637 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11639 $as_echo "$can_build_shared" >&6; }
11640
11641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11642 $as_echo_n "checking whether to build shared libraries... " >&6; }
11643   test "$can_build_shared" = "no" && enable_shared=no
11644
11645   # On AIX, shared libraries and static libraries use the same namespace, and
11646   # are all built from PIC.
11647   case $host_os in
11648   aix3*)
11649     test "$enable_shared" = yes && enable_static=no
11650     if test -n "$RANLIB"; then
11651       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11652       postinstall_cmds='$RANLIB $lib'
11653     fi
11654     ;;
11655
11656   aix[4-9]*)
11657     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11658       test "$enable_shared" = yes && enable_static=no
11659     fi
11660     ;;
11661   esac
11662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11663 $as_echo "$enable_shared" >&6; }
11664
11665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11666 $as_echo_n "checking whether to build static libraries... " >&6; }
11667   # Make sure either enable_shared or enable_static is yes.
11668   test "$enable_shared" = yes || enable_static=yes
11669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11670 $as_echo "$enable_static" >&6; }
11671
11672
11673
11674
11675 fi
11676 ac_ext=c
11677 ac_cpp='$CPP $CPPFLAGS'
11678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11681
11682 CC="$lt_save_CC"
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696         ac_config_commands="$ac_config_commands libtool"
11697
11698
11699
11700
11701 # Only expand once:
11702
11703
11704
11705
11706 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
11707
11708 # We need gfortran to compile parts of the library
11709 #AC_PROG_FC(gfortran)
11710 FC="$GFORTRAN"
11711 ac_ext=${ac_fc_srcext-f}
11712 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11713 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11714 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11715 if test -n "$ac_tool_prefix"; then
11716   for ac_prog in gfortran
11717   do
11718     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11719 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11721 $as_echo_n "checking for $ac_word... " >&6; }
11722 if test "${ac_cv_prog_FC+set}" = set; then :
11723   $as_echo_n "(cached) " >&6
11724 else
11725   if test -n "$FC"; then
11726   ac_cv_prog_FC="$FC" # Let the user override the test.
11727 else
11728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11729 for as_dir in $PATH
11730 do
11731   IFS=$as_save_IFS
11732   test -z "$as_dir" && as_dir=.
11733     for ac_exec_ext in '' $ac_executable_extensions; do
11734   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11735     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11736     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11737     break 2
11738   fi
11739 done
11740   done
11741 IFS=$as_save_IFS
11742
11743 fi
11744 fi
11745 FC=$ac_cv_prog_FC
11746 if test -n "$FC"; then
11747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11748 $as_echo "$FC" >&6; }
11749 else
11750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11751 $as_echo "no" >&6; }
11752 fi
11753
11754
11755     test -n "$FC" && break
11756   done
11757 fi
11758 if test -z "$FC"; then
11759   ac_ct_FC=$FC
11760   for ac_prog in gfortran
11761 do
11762   # Extract the first word of "$ac_prog", so it can be a program name with args.
11763 set dummy $ac_prog; ac_word=$2
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11765 $as_echo_n "checking for $ac_word... " >&6; }
11766 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11767   $as_echo_n "(cached) " >&6
11768 else
11769   if test -n "$ac_ct_FC"; then
11770   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11771 else
11772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11773 for as_dir in $PATH
11774 do
11775   IFS=$as_save_IFS
11776   test -z "$as_dir" && as_dir=.
11777     for ac_exec_ext in '' $ac_executable_extensions; do
11778   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11779     ac_cv_prog_ac_ct_FC="$ac_prog"
11780     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11781     break 2
11782   fi
11783 done
11784   done
11785 IFS=$as_save_IFS
11786
11787 fi
11788 fi
11789 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11790 if test -n "$ac_ct_FC"; then
11791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11792 $as_echo "$ac_ct_FC" >&6; }
11793 else
11794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11795 $as_echo "no" >&6; }
11796 fi
11797
11798
11799   test -n "$ac_ct_FC" && break
11800 done
11801
11802   if test "x$ac_ct_FC" = x; then
11803     FC=""
11804   else
11805     case $cross_compiling:$ac_tool_warned in
11806 yes:)
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11809 ac_tool_warned=yes ;;
11810 esac
11811     FC=$ac_ct_FC
11812   fi
11813 fi
11814
11815
11816 # Provide some information about the compiler.
11817 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11818 set X $ac_compile
11819 ac_compiler=$2
11820 for ac_option in --version -v -V -qversion; do
11821   { { ac_try="$ac_compiler $ac_option >&5"
11822 case "(($ac_try" in
11823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11824   *) ac_try_echo=$ac_try;;
11825 esac
11826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11827 $as_echo "$ac_try_echo"; } >&5
11828   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11829   ac_status=$?
11830   if test -s conftest.err; then
11831     sed '10a\
11832 ... rest of stderr output deleted ...
11833          10q' conftest.err >conftest.er1
11834     cat conftest.er1 >&5
11835     rm -f conftest.er1 conftest.err
11836   fi
11837   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11838   test $ac_status = 0; }
11839 done
11840 rm -f a.out
11841
11842 # If we don't use `.F' as extension, the preprocessor is not run on the
11843 # input file.  (Note that this only needs to work for GNU compilers.)
11844 ac_save_ext=$ac_ext
11845 ac_ext=F
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11847 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11848 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11849   $as_echo_n "(cached) " >&6
11850 else
11851   cat > conftest.$ac_ext <<_ACEOF
11852       program main
11853 #ifndef __GNUC__
11854        choke me
11855 #endif
11856
11857       end
11858 _ACEOF
11859 if ac_fn_fc_try_compile "$LINENO"; then :
11860   ac_compiler_gnu=yes
11861 else
11862   ac_compiler_gnu=no
11863 fi
11864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11865 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11866
11867 fi
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11869 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11870 ac_ext=$ac_save_ext
11871 ac_test_FCFLAGS=${FCFLAGS+set}
11872 ac_save_FCFLAGS=$FCFLAGS
11873 FCFLAGS=
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11875 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11876 if test "${ac_cv_prog_fc_g+set}" = set; then :
11877   $as_echo_n "(cached) " >&6
11878 else
11879   FCFLAGS=-g
11880 cat > conftest.$ac_ext <<_ACEOF
11881       program main
11882
11883       end
11884 _ACEOF
11885 if ac_fn_fc_try_compile "$LINENO"; then :
11886   ac_cv_prog_fc_g=yes
11887 else
11888   ac_cv_prog_fc_g=no
11889 fi
11890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11891
11892 fi
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11894 $as_echo "$ac_cv_prog_fc_g" >&6; }
11895 if test "$ac_test_FCFLAGS" = set; then
11896   FCFLAGS=$ac_save_FCFLAGS
11897 elif test $ac_cv_prog_fc_g = yes; then
11898   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11899     FCFLAGS="-g -O2"
11900   else
11901     FCFLAGS="-g"
11902   fi
11903 else
11904   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11905     FCFLAGS="-O2"
11906   else
11907     FCFLAGS=
11908   fi
11909 fi
11910
11911 ac_ext=c
11912 ac_cpp='$CPP $CPPFLAGS'
11913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11916
11917       ac_ext=${ac_fc_srcext-f}
11918 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11919 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11920 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11921
11922
11923 if test -z "$FC" || test "X$FC" = "Xno"; then
11924   _lt_disable_FC=yes
11925 fi
11926
11927 archive_cmds_need_lc_FC=no
11928 allow_undefined_flag_FC=
11929 always_export_symbols_FC=no
11930 archive_expsym_cmds_FC=
11931 export_dynamic_flag_spec_FC=
11932 hardcode_direct_FC=no
11933 hardcode_direct_absolute_FC=no
11934 hardcode_libdir_flag_spec_FC=
11935 hardcode_libdir_flag_spec_ld_FC=
11936 hardcode_libdir_separator_FC=
11937 hardcode_minus_L_FC=no
11938 hardcode_automatic_FC=no
11939 inherit_rpath_FC=no
11940 module_cmds_FC=
11941 module_expsym_cmds_FC=
11942 link_all_deplibs_FC=unknown
11943 old_archive_cmds_FC=$old_archive_cmds
11944 reload_flag_FC=$reload_flag
11945 reload_cmds_FC=$reload_cmds
11946 no_undefined_flag_FC=
11947 whole_archive_flag_spec_FC=
11948 enable_shared_with_static_runtimes_FC=no
11949
11950 # Source file extension for fc test sources.
11951 ac_ext=${ac_fc_srcext-f}
11952
11953 # Object file extension for compiled fc test sources.
11954 objext=o
11955 objext_FC=$objext
11956
11957 # No sense in running all these tests if we already determined that
11958 # the FC compiler isn't working.  Some variables (like enable_shared)
11959 # are currently assumed to apply to all compilers on this platform,
11960 # and will be corrupted by setting them based on a non-working compiler.
11961 if test "$_lt_disable_FC" != yes; then
11962   # Code to be used in simple compile tests
11963   lt_simple_compile_test_code="\
11964       subroutine t
11965       return
11966       end
11967 "
11968
11969   # Code to be used in simple link tests
11970   lt_simple_link_test_code="\
11971       program t
11972       end
11973 "
11974
11975   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11976
11977
11978
11979
11980
11981
11982 # If no C compiler was specified, use CC.
11983 LTCC=${LTCC-"$CC"}
11984
11985 # If no C compiler flags were specified, use CFLAGS.
11986 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11987
11988 # Allow CC to be a program name with arguments.
11989 compiler=$CC
11990
11991
11992   # save warnings/boilerplate of simple test code
11993   ac_outfile=conftest.$ac_objext
11994 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11995 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11996 _lt_compiler_boilerplate=`cat conftest.err`
11997 $RM conftest*
11998
11999   ac_outfile=conftest.$ac_objext
12000 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12001 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12002 _lt_linker_boilerplate=`cat conftest.err`
12003 $RM -r conftest*
12004
12005
12006   # Allow CC to be a program name with arguments.
12007   lt_save_CC="$CC"
12008   lt_save_GCC=$GCC
12009   CC=${FC-"f95"}
12010   compiler=$CC
12011   GCC=$ac_cv_fc_compiler_gnu
12012
12013   compiler_FC=$CC
12014   for cc_temp in $compiler""; do
12015   case $cc_temp in
12016     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12017     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12018     \-*) ;;
12019     *) break;;
12020   esac
12021 done
12022 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12023
12024
12025   if test -n "$compiler"; then
12026     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12027 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12028     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12029 $as_echo "$can_build_shared" >&6; }
12030
12031     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12032 $as_echo_n "checking whether to build shared libraries... " >&6; }
12033     test "$can_build_shared" = "no" && enable_shared=no
12034
12035     # On AIX, shared libraries and static libraries use the same namespace, and
12036     # are all built from PIC.
12037     case $host_os in
12038       aix3*)
12039         test "$enable_shared" = yes && enable_static=no
12040         if test -n "$RANLIB"; then
12041           archive_cmds="$archive_cmds~\$RANLIB \$lib"
12042           postinstall_cmds='$RANLIB $lib'
12043         fi
12044         ;;
12045       aix[4-9]*)
12046         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12047           test "$enable_shared" = yes && enable_static=no
12048         fi
12049         ;;
12050     esac
12051     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12052 $as_echo "$enable_shared" >&6; }
12053
12054     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12055 $as_echo_n "checking whether to build static libraries... " >&6; }
12056     # Make sure either enable_shared or enable_static is yes.
12057     test "$enable_shared" = yes || enable_static=yes
12058     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12059 $as_echo "$enable_static" >&6; }
12060
12061     GCC_FC="$ac_cv_fc_compiler_gnu"
12062     LD_FC="$LD"
12063
12064     ## CAVEAT EMPTOR:
12065     ## There is no encapsulation within the following macros, do not change
12066     ## the running order or otherwise move them around unless you know exactly
12067     ## what you are doing...
12068     # Dependencies to place before and after the object being linked:
12069 predep_objects_FC=
12070 postdep_objects_FC=
12071 predeps_FC=
12072 postdeps_FC=
12073 compiler_lib_search_path_FC=
12074
12075 cat > conftest.$ac_ext <<_LT_EOF
12076       subroutine foo
12077       implicit none
12078       integer a
12079       a=0
12080       return
12081       end
12082 _LT_EOF
12083
12084 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12085   (eval $ac_compile) 2>&5
12086   ac_status=$?
12087   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12088   test $ac_status = 0; }; then
12089   # Parse the compiler output and extract the necessary
12090   # objects, libraries and library flags.
12091
12092   # Sentinel used to keep track of whether or not we are before
12093   # the conftest object file.
12094   pre_test_object_deps_done=no
12095
12096   for p in `eval "$output_verbose_link_cmd"`; do
12097     case $p in
12098
12099     -L* | -R* | -l*)
12100        # Some compilers place space between "-{L,R}" and the path.
12101        # Remove the space.
12102        if test $p = "-L" ||
12103           test $p = "-R"; then
12104          prev=$p
12105          continue
12106        else
12107          prev=
12108        fi
12109
12110        if test "$pre_test_object_deps_done" = no; then
12111          case $p in
12112          -L* | -R*)
12113            # Internal compiler library paths should come after those
12114            # provided the user.  The postdeps already come after the
12115            # user supplied libs so there is no need to process them.
12116            if test -z "$compiler_lib_search_path_FC"; then
12117              compiler_lib_search_path_FC="${prev}${p}"
12118            else
12119              compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
12120            fi
12121            ;;
12122          # The "-l" case would never come before the object being
12123          # linked, so don't bother handling this case.
12124          esac
12125        else
12126          if test -z "$postdeps_FC"; then
12127            postdeps_FC="${prev}${p}"
12128          else
12129            postdeps_FC="${postdeps_FC} ${prev}${p}"
12130          fi
12131        fi
12132        ;;
12133
12134     *.$objext)
12135        # This assumes that the test object file only shows up
12136        # once in the compiler output.
12137        if test "$p" = "conftest.$objext"; then
12138          pre_test_object_deps_done=yes
12139          continue
12140        fi
12141
12142        if test "$pre_test_object_deps_done" = no; then
12143          if test -z "$predep_objects_FC"; then
12144            predep_objects_FC="$p"
12145          else
12146            predep_objects_FC="$predep_objects_FC $p"
12147          fi
12148        else
12149          if test -z "$postdep_objects_FC"; then
12150            postdep_objects_FC="$p"
12151          else
12152            postdep_objects_FC="$postdep_objects_FC $p"
12153          fi
12154        fi
12155        ;;
12156
12157     *) ;; # Ignore the rest.
12158
12159     esac
12160   done
12161
12162   # Clean up.
12163   rm -f a.out a.exe
12164 else
12165   echo "libtool.m4: error: problem compiling FC test program"
12166 fi
12167
12168 $RM -f confest.$objext
12169
12170 # PORTME: override above test on systems where it is broken
12171
12172
12173 case " $postdeps_FC " in
12174 *" -lc "*) archive_cmds_need_lc_FC=no ;;
12175 esac
12176  compiler_lib_search_dirs_FC=
12177 if test -n "${compiler_lib_search_path_FC}"; then
12178  compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12179 fi
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211     lt_prog_compiler_wl_FC=
12212 lt_prog_compiler_pic_FC=
12213 lt_prog_compiler_static_FC=
12214
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12216 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12217
12218   if test "$GCC" = yes; then
12219     lt_prog_compiler_wl_FC='-Wl,'
12220     lt_prog_compiler_static_FC='-static'
12221
12222     case $host_os in
12223       aix*)
12224       # All AIX code is PIC.
12225       if test "$host_cpu" = ia64; then
12226         # AIX 5 now supports IA64 processor
12227         lt_prog_compiler_static_FC='-Bstatic'
12228       fi
12229       ;;
12230
12231     amigaos*)
12232       case $host_cpu in
12233       powerpc)
12234             # see comment about AmigaOS4 .so support
12235             lt_prog_compiler_pic_FC='-fPIC'
12236         ;;
12237       m68k)
12238             # FIXME: we need at least 68020 code to build shared libraries, but
12239             # adding the `-m68020' flag to GCC prevents building anything better,
12240             # like `-m68040'.
12241             lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
12242         ;;
12243       esac
12244       ;;
12245
12246     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12247       # PIC is the default for these OSes.
12248       ;;
12249
12250     mingw* | cygwin* | pw32* | os2* | cegcc*)
12251       # This hack is so that the source file can tell whether it is being
12252       # built for inclusion in a dll (and should export symbols for example).
12253       # Although the cygwin gcc ignores -fPIC, still need this for old-style
12254       # (--disable-auto-import) libraries
12255       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12256       ;;
12257
12258     darwin* | rhapsody*)
12259       # PIC is the default on this platform
12260       # Common symbols not allowed in MH_DYLIB files
12261       lt_prog_compiler_pic_FC='-fno-common'
12262       ;;
12263
12264     haiku*)
12265       # PIC is the default for Haiku.
12266       # The "-static" flag exists, but is broken.
12267       lt_prog_compiler_static_FC=
12268       ;;
12269
12270     hpux*)
12271       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12272       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
12273       # sets the default TLS model and affects inlining.
12274       case $host_cpu in
12275       hppa*64*)
12276         # +Z the default
12277         ;;
12278       *)
12279         lt_prog_compiler_pic_FC='-fPIC'
12280         ;;
12281       esac
12282       ;;
12283
12284     interix[3-9]*)
12285       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12286       # Instead, we relocate shared libraries at runtime.
12287       ;;
12288
12289     msdosdjgpp*)
12290       # Just because we use GCC doesn't mean we suddenly get shared libraries
12291       # on systems that don't support them.
12292       lt_prog_compiler_can_build_shared_FC=no
12293       enable_shared=no
12294       ;;
12295
12296     *nto* | *qnx*)
12297       # QNX uses GNU C++, but need to define -shared option too, otherwise
12298       # it will coredump.
12299       lt_prog_compiler_pic_FC='-fPIC -shared'
12300       ;;
12301
12302     sysv4*MP*)
12303       if test -d /usr/nec; then
12304         lt_prog_compiler_pic_FC=-Kconform_pic
12305       fi
12306       ;;
12307
12308     *)
12309       lt_prog_compiler_pic_FC='-fPIC'
12310       ;;
12311     esac
12312
12313     case $cc_basename in
12314     nvcc*) # Cuda Compiler Driver 2.2
12315       lt_prog_compiler_wl_FC='-Xlinker '
12316       lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
12317       ;;
12318     esac
12319   else
12320     # PORTME Check for flag to pass linker flags through the system compiler.
12321     case $host_os in
12322     aix*)
12323       lt_prog_compiler_wl_FC='-Wl,'
12324       if test "$host_cpu" = ia64; then
12325         # AIX 5 now supports IA64 processor
12326         lt_prog_compiler_static_FC='-Bstatic'
12327       else
12328         lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
12329       fi
12330       ;;
12331
12332     mingw* | cygwin* | pw32* | os2* | cegcc*)
12333       # This hack is so that the source file can tell whether it is being
12334       # built for inclusion in a dll (and should export symbols for example).
12335       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12336       ;;
12337
12338     hpux9* | hpux10* | hpux11*)
12339       lt_prog_compiler_wl_FC='-Wl,'
12340       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12341       # not for PA HP-UX.
12342       case $host_cpu in
12343       hppa*64*|ia64*)
12344         # +Z the default
12345         ;;
12346       *)
12347         lt_prog_compiler_pic_FC='+Z'
12348         ;;
12349       esac
12350       # Is there a better lt_prog_compiler_static that works with the bundled CC?
12351       lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
12352       ;;
12353
12354     irix5* | irix6* | nonstopux*)
12355       lt_prog_compiler_wl_FC='-Wl,'
12356       # PIC (with -KPIC) is the default.
12357       lt_prog_compiler_static_FC='-non_shared'
12358       ;;
12359
12360     linux* | k*bsd*-gnu | kopensolaris*-gnu)
12361       case $cc_basename in
12362       # old Intel for x86_64 which still supported -KPIC.
12363       ecc*)
12364         lt_prog_compiler_wl_FC='-Wl,'
12365         lt_prog_compiler_pic_FC='-KPIC'
12366         lt_prog_compiler_static_FC='-static'
12367         ;;
12368       # icc used to be incompatible with GCC.
12369       # ICC 10 doesn't accept -KPIC any more.
12370       icc* | ifort*)
12371         lt_prog_compiler_wl_FC='-Wl,'
12372         lt_prog_compiler_pic_FC='-fPIC'
12373         lt_prog_compiler_static_FC='-static'
12374         ;;
12375       # Lahey Fortran 8.1.
12376       lf95*)
12377         lt_prog_compiler_wl_FC='-Wl,'
12378         lt_prog_compiler_pic_FC='--shared'
12379         lt_prog_compiler_static_FC='--static'
12380         ;;
12381       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
12382         # Portland Group compilers (*not* the Pentium gcc compiler,
12383         # which looks to be a dead project)
12384         lt_prog_compiler_wl_FC='-Wl,'
12385         lt_prog_compiler_pic_FC='-fpic'
12386         lt_prog_compiler_static_FC='-Bstatic'
12387         ;;
12388       ccc*)
12389         lt_prog_compiler_wl_FC='-Wl,'
12390         # All Alpha code is PIC.
12391         lt_prog_compiler_static_FC='-non_shared'
12392         ;;
12393       xl* | bgxl* | bgf* | mpixl*)
12394         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12395         lt_prog_compiler_wl_FC='-Wl,'
12396         lt_prog_compiler_pic_FC='-qpic'
12397         lt_prog_compiler_static_FC='-qstaticlink'
12398         ;;
12399       *)
12400         case `$CC -V 2>&1 | sed 5q` in
12401         *Sun\ F* | *Sun*Fortran*)
12402           # Sun Fortran 8.3 passes all unrecognized flags to the linker
12403           lt_prog_compiler_pic_FC='-KPIC'
12404           lt_prog_compiler_static_FC='-Bstatic'
12405           lt_prog_compiler_wl_FC=''
12406           ;;
12407         *Sun\ C*)
12408           # Sun C 5.9
12409           lt_prog_compiler_pic_FC='-KPIC'
12410           lt_prog_compiler_static_FC='-Bstatic'
12411           lt_prog_compiler_wl_FC='-Wl,'
12412           ;;
12413         esac
12414         ;;
12415       esac
12416       ;;
12417
12418     newsos6)
12419       lt_prog_compiler_pic_FC='-KPIC'
12420       lt_prog_compiler_static_FC='-Bstatic'
12421       ;;
12422
12423     *nto* | *qnx*)
12424       # QNX uses GNU C++, but need to define -shared option too, otherwise
12425       # it will coredump.
12426       lt_prog_compiler_pic_FC='-fPIC -shared'
12427       ;;
12428
12429     osf3* | osf4* | osf5*)
12430       lt_prog_compiler_wl_FC='-Wl,'
12431       # All OSF/1 code is PIC.
12432       lt_prog_compiler_static_FC='-non_shared'
12433       ;;
12434
12435     rdos*)
12436       lt_prog_compiler_static_FC='-non_shared'
12437       ;;
12438
12439     solaris*)
12440       lt_prog_compiler_pic_FC='-KPIC'
12441       lt_prog_compiler_static_FC='-Bstatic'
12442       case $cc_basename in
12443       f77* | f90* | f95*)
12444         lt_prog_compiler_wl_FC='-Qoption ld ';;
12445       *)
12446         lt_prog_compiler_wl_FC='-Wl,';;
12447       esac
12448       ;;
12449
12450     sunos4*)
12451       lt_prog_compiler_wl_FC='-Qoption ld '
12452       lt_prog_compiler_pic_FC='-PIC'
12453       lt_prog_compiler_static_FC='-Bstatic'
12454       ;;
12455
12456     sysv4 | sysv4.2uw2* | sysv4.3*)
12457       lt_prog_compiler_wl_FC='-Wl,'
12458       lt_prog_compiler_pic_FC='-KPIC'
12459       lt_prog_compiler_static_FC='-Bstatic'
12460       ;;
12461
12462     sysv4*MP*)
12463       if test -d /usr/nec ;then
12464         lt_prog_compiler_pic_FC='-Kconform_pic'
12465         lt_prog_compiler_static_FC='-Bstatic'
12466       fi
12467       ;;
12468
12469     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12470       lt_prog_compiler_wl_FC='-Wl,'
12471       lt_prog_compiler_pic_FC='-KPIC'
12472       lt_prog_compiler_static_FC='-Bstatic'
12473       ;;
12474
12475     unicos*)
12476       lt_prog_compiler_wl_FC='-Wl,'
12477       lt_prog_compiler_can_build_shared_FC=no
12478       ;;
12479
12480     uts4*)
12481       lt_prog_compiler_pic_FC='-pic'
12482       lt_prog_compiler_static_FC='-Bstatic'
12483       ;;
12484
12485     *)
12486       lt_prog_compiler_can_build_shared_FC=no
12487       ;;
12488     esac
12489   fi
12490
12491 case $host_os in
12492   # For platforms which do not support PIC, -DPIC is meaningless:
12493   *djgpp*)
12494     lt_prog_compiler_pic_FC=
12495     ;;
12496   *)
12497     lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
12498     ;;
12499 esac
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12501 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12502
12503
12504
12505 #
12506 # Check to make sure the PIC flag actually works.
12507 #
12508 if test -n "$lt_prog_compiler_pic_FC"; then
12509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12510 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12511 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
12512   $as_echo_n "(cached) " >&6
12513 else
12514   lt_cv_prog_compiler_pic_works_FC=no
12515    ac_outfile=conftest.$ac_objext
12516    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12517    lt_compiler_flag="$lt_prog_compiler_pic_FC"
12518    # Insert the option either (1) after the last *FLAGS variable, or
12519    # (2) before a word containing "conftest.", or (3) at the end.
12520    # Note that $ac_compile itself does not contain backslashes and begins
12521    # with a dollar sign (not a hyphen), so the echo should work correctly.
12522    # The option is referenced via a variable to avoid confusing sed.
12523    lt_compile=`echo "$ac_compile" | $SED \
12524    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12525    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12526    -e 's:$: $lt_compiler_flag:'`
12527    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12528    (eval "$lt_compile" 2>conftest.err)
12529    ac_status=$?
12530    cat conftest.err >&5
12531    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12532    if (exit $ac_status) && test -s "$ac_outfile"; then
12533      # The compiler can only warn and ignore the option if not recognized
12534      # So say no if there are warnings other than the usual output.
12535      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
12536      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12537      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12538        lt_cv_prog_compiler_pic_works_FC=yes
12539      fi
12540    fi
12541    $RM conftest*
12542
12543 fi
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12545 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12546
12547 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
12548     case $lt_prog_compiler_pic_FC in
12549      "" | " "*) ;;
12550      *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
12551      esac
12552 else
12553     lt_prog_compiler_pic_FC=
12554      lt_prog_compiler_can_build_shared_FC=no
12555 fi
12556
12557 fi
12558
12559
12560
12561 #
12562 # Check to make sure the static flag actually works.
12563 #
12564 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12566 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12567 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
12568   $as_echo_n "(cached) " >&6
12569 else
12570   lt_cv_prog_compiler_static_works_FC=no
12571    save_LDFLAGS="$LDFLAGS"
12572    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12573    echo "$lt_simple_link_test_code" > conftest.$ac_ext
12574    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12575      # The linker can only warn and ignore the option if not recognized
12576      # So say no if there are warnings
12577      if test -s conftest.err; then
12578        # Append any errors to the config.log.
12579        cat conftest.err 1>&5
12580        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12581        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12582        if diff conftest.exp conftest.er2 >/dev/null; then
12583          lt_cv_prog_compiler_static_works_FC=yes
12584        fi
12585      else
12586        lt_cv_prog_compiler_static_works_FC=yes
12587      fi
12588    fi
12589    $RM -r conftest*
12590    LDFLAGS="$save_LDFLAGS"
12591
12592 fi
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12594 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12595
12596 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
12597     :
12598 else
12599     lt_prog_compiler_static_FC=
12600 fi
12601
12602
12603
12604
12605     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12606 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12607 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12608   $as_echo_n "(cached) " >&6
12609 else
12610   lt_cv_prog_compiler_c_o_FC=no
12611    $RM -r conftest 2>/dev/null
12612    mkdir conftest
12613    cd conftest
12614    mkdir out
12615    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12616
12617    lt_compiler_flag="-o out/conftest2.$ac_objext"
12618    # Insert the option either (1) after the last *FLAGS variable, or
12619    # (2) before a word containing "conftest.", or (3) at the end.
12620    # Note that $ac_compile itself does not contain backslashes and begins
12621    # with a dollar sign (not a hyphen), so the echo should work correctly.
12622    lt_compile=`echo "$ac_compile" | $SED \
12623    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12624    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12625    -e 's:$: $lt_compiler_flag:'`
12626    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12627    (eval "$lt_compile" 2>out/conftest.err)
12628    ac_status=$?
12629    cat out/conftest.err >&5
12630    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12632    then
12633      # The compiler can only warn and ignore the option if not recognized
12634      # So say no if there are warnings
12635      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12636      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12637      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12638        lt_cv_prog_compiler_c_o_FC=yes
12639      fi
12640    fi
12641    chmod u+w . 2>&5
12642    $RM conftest*
12643    # SGI C++ compiler will create directory out/ii_files/ for
12644    # template instantiation
12645    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12646    $RM out/* && rmdir out
12647    cd ..
12648    $RM -r conftest
12649    $RM conftest*
12650
12651 fi
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12653 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12654
12655
12656
12657     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12658 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12659 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12660   $as_echo_n "(cached) " >&6
12661 else
12662   lt_cv_prog_compiler_c_o_FC=no
12663    $RM -r conftest 2>/dev/null
12664    mkdir conftest
12665    cd conftest
12666    mkdir out
12667    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12668
12669    lt_compiler_flag="-o out/conftest2.$ac_objext"
12670    # Insert the option either (1) after the last *FLAGS variable, or
12671    # (2) before a word containing "conftest.", or (3) at the end.
12672    # Note that $ac_compile itself does not contain backslashes and begins
12673    # with a dollar sign (not a hyphen), so the echo should work correctly.
12674    lt_compile=`echo "$ac_compile" | $SED \
12675    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12676    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12677    -e 's:$: $lt_compiler_flag:'`
12678    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12679    (eval "$lt_compile" 2>out/conftest.err)
12680    ac_status=$?
12681    cat out/conftest.err >&5
12682    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12684    then
12685      # The compiler can only warn and ignore the option if not recognized
12686      # So say no if there are warnings
12687      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12688      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12689      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12690        lt_cv_prog_compiler_c_o_FC=yes
12691      fi
12692    fi
12693    chmod u+w . 2>&5
12694    $RM conftest*
12695    # SGI C++ compiler will create directory out/ii_files/ for
12696    # template instantiation
12697    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12698    $RM out/* && rmdir out
12699    cd ..
12700    $RM -r conftest
12701    $RM conftest*
12702
12703 fi
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12705 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12706
12707
12708
12709
12710 hard_links="nottested"
12711 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
12712   # do not overwrite the value of need_locks provided by the user
12713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12714 $as_echo_n "checking if we can lock with hard links... " >&6; }
12715   hard_links=yes
12716   $RM conftest*
12717   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12718   touch conftest.a
12719   ln conftest.a conftest.b 2>&5 || hard_links=no
12720   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12722 $as_echo "$hard_links" >&6; }
12723   if test "$hard_links" = no; then
12724     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12725 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12726     need_locks=warn
12727   fi
12728 else
12729   need_locks=no
12730 fi
12731
12732
12733
12734     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12735 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12736
12737   runpath_var=
12738   allow_undefined_flag_FC=
12739   always_export_symbols_FC=no
12740   archive_cmds_FC=
12741   archive_expsym_cmds_FC=
12742   compiler_needs_object_FC=no
12743   enable_shared_with_static_runtimes_FC=no
12744   export_dynamic_flag_spec_FC=
12745   export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12746   hardcode_automatic_FC=no
12747   hardcode_direct_FC=no
12748   hardcode_direct_absolute_FC=no
12749   hardcode_libdir_flag_spec_FC=
12750   hardcode_libdir_flag_spec_ld_FC=
12751   hardcode_libdir_separator_FC=
12752   hardcode_minus_L_FC=no
12753   hardcode_shlibpath_var_FC=unsupported
12754   inherit_rpath_FC=no
12755   link_all_deplibs_FC=unknown
12756   module_cmds_FC=
12757   module_expsym_cmds_FC=
12758   old_archive_from_new_cmds_FC=
12759   old_archive_from_expsyms_cmds_FC=
12760   thread_safe_flag_spec_FC=
12761   whole_archive_flag_spec_FC=
12762   # include_expsyms should be a list of space-separated symbols to be *always*
12763   # included in the symbol list
12764   include_expsyms_FC=
12765   # exclude_expsyms can be an extended regexp of symbols to exclude
12766   # it will be wrapped by ` (' and `)$', so one must not match beginning or
12767   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12768   # as well as any symbol that contains `d'.
12769   exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12770   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12771   # platforms (ab)use it in PIC code, but their linkers get confused if
12772   # the symbol is explicitly referenced.  Since portable code cannot
12773   # rely on this symbol name, it's probably fine to never include it in
12774   # preloaded symbol tables.
12775   # Exclude shared library initialization/finalization symbols.
12776   extract_expsyms_cmds=
12777
12778   case $host_os in
12779   cygwin* | mingw* | pw32* | cegcc*)
12780     # FIXME: the MSVC++ port hasn't been tested in a loooong time
12781     # When not using gcc, we currently assume that we are using
12782     # Microsoft Visual C++.
12783     if test "$GCC" != yes; then
12784       with_gnu_ld=no
12785     fi
12786     ;;
12787   interix*)
12788     # we just hope/assume this is gcc and not c89 (= MSVC++)
12789     with_gnu_ld=yes
12790     ;;
12791   openbsd*)
12792     with_gnu_ld=no
12793     ;;
12794   esac
12795
12796   ld_shlibs_FC=yes
12797
12798   # On some targets, GNU ld is compatible enough with the native linker
12799   # that we're better off using the native interface for both.
12800   lt_use_gnu_ld_interface=no
12801   if test "$with_gnu_ld" = yes; then
12802     case $host_os in
12803       aix*)
12804         # The AIX port of GNU ld has always aspired to compatibility
12805         # with the native linker.  However, as the warning in the GNU ld
12806         # block says, versions before 2.19.5* couldn't really create working
12807         # shared libraries, regardless of the interface used.
12808         case `$LD -v 2>&1` in
12809           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12810           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12811           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12812           *)
12813             lt_use_gnu_ld_interface=yes
12814             ;;
12815         esac
12816         ;;
12817       *)
12818         lt_use_gnu_ld_interface=yes
12819         ;;
12820     esac
12821   fi
12822
12823   if test "$lt_use_gnu_ld_interface" = yes; then
12824     # If archive_cmds runs LD, not CC, wlarc should be empty
12825     wlarc='${wl}'
12826
12827     # Set some defaults for GNU ld with shared library support. These
12828     # are reset later if shared libraries are not supported. Putting them
12829     # here allows them to be overridden if necessary.
12830     runpath_var=LD_RUN_PATH
12831     hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12832     export_dynamic_flag_spec_FC='${wl}--export-dynamic'
12833     # ancient GNU ld didn't support --whole-archive et. al.
12834     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12835       whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12836     else
12837       whole_archive_flag_spec_FC=
12838     fi
12839     supports_anon_versioning=no
12840     case `$LD -v 2>&1` in
12841       *GNU\ gold*) supports_anon_versioning=yes ;;
12842       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12843       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12844       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12845       *\ 2.11.*) ;; # other 2.11 versions
12846       *) supports_anon_versioning=yes ;;
12847     esac
12848
12849     # See if GNU ld supports shared libraries.
12850     case $host_os in
12851     aix[3-9]*)
12852       # On AIX/PPC, the GNU linker is very broken
12853       if test "$host_cpu" != ia64; then
12854         ld_shlibs_FC=no
12855         cat <<_LT_EOF 1>&2
12856
12857 *** Warning: the GNU linker, at least up to release 2.19, is reported
12858 *** to be unable to reliably create shared libraries on AIX.
12859 *** Therefore, libtool is disabling shared libraries support.  If you
12860 *** really care for shared libraries, you may want to install binutils
12861 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12862 *** You will then need to restart the configuration process.
12863
12864 _LT_EOF
12865       fi
12866       ;;
12867
12868     amigaos*)
12869       case $host_cpu in
12870       powerpc)
12871             # see comment about AmigaOS4 .so support
12872             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12873             archive_expsym_cmds_FC=''
12874         ;;
12875       m68k)
12876             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)'
12877             hardcode_libdir_flag_spec_FC='-L$libdir'
12878             hardcode_minus_L_FC=yes
12879         ;;
12880       esac
12881       ;;
12882
12883     beos*)
12884       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12885         allow_undefined_flag_FC=unsupported
12886         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12887         # support --undefined.  This deserves some investigation.  FIXME
12888         archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12889       else
12890         ld_shlibs_FC=no
12891       fi
12892       ;;
12893
12894     cygwin* | mingw* | pw32* | cegcc*)
12895       # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12896       # as there is no search path for DLLs.
12897       hardcode_libdir_flag_spec_FC='-L$libdir'
12898       export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
12899       allow_undefined_flag_FC=unsupported
12900       always_export_symbols_FC=no
12901       enable_shared_with_static_runtimes_FC=yes
12902       export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12903
12904       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12905         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12906         # If the export-symbols file already is a .def file (1st line
12907         # is EXPORTS), use it as is; otherwise, prepend...
12908         archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12909           cp $export_symbols $output_objdir/$soname.def;
12910         else
12911           echo EXPORTS > $output_objdir/$soname.def;
12912           cat $export_symbols >> $output_objdir/$soname.def;
12913         fi~
12914         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12915       else
12916         ld_shlibs_FC=no
12917       fi
12918       ;;
12919
12920     haiku*)
12921       archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12922       link_all_deplibs_FC=yes
12923       ;;
12924
12925     interix[3-9]*)
12926       hardcode_direct_FC=no
12927       hardcode_shlibpath_var_FC=no
12928       hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12929       export_dynamic_flag_spec_FC='${wl}-E'
12930       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12931       # Instead, shared libraries are loaded at an image base (0x10000000 by
12932       # default) and relocated if they conflict, which is a slow very memory
12933       # consuming and fragmenting process.  To avoid this, we pick a random,
12934       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12935       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12936       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'
12937       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'
12938       ;;
12939
12940     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12941       tmp_diet=no
12942       if test "$host_os" = linux-dietlibc; then
12943         case $cc_basename in
12944           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
12945         esac
12946       fi
12947       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12948          && test "$tmp_diet" = no
12949       then
12950         tmp_addflag=
12951         tmp_sharedflag='-shared'
12952         case $cc_basename,$host_cpu in
12953         pgcc*)                          # Portland Group C compiler
12954           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'
12955           tmp_addflag=' $pic_flag'
12956           ;;
12957         pgf77* | pgf90* | pgf95* | pgfortran*)
12958                                         # Portland Group f77 and f90 compilers
12959           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'
12960           tmp_addflag=' $pic_flag -Mnomain' ;;
12961         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
12962           tmp_addflag=' -i_dynamic' ;;
12963         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
12964           tmp_addflag=' -i_dynamic -nofor_main' ;;
12965         ifc* | ifort*)                  # Intel Fortran compiler
12966           tmp_addflag=' -nofor_main' ;;
12967         lf95*)                          # Lahey Fortran 8.1
12968           whole_archive_flag_spec_FC=
12969           tmp_sharedflag='--shared' ;;
12970         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12971           tmp_sharedflag='-qmkshrobj'
12972           tmp_addflag= ;;
12973         nvcc*)  # Cuda Compiler Driver 2.2
12974           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'
12975           compiler_needs_object_FC=yes
12976           ;;
12977         esac
12978         case `$CC -V 2>&1 | sed 5q` in
12979         *Sun\ C*)                       # Sun C 5.9
12980           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'
12981           compiler_needs_object_FC=yes
12982           tmp_sharedflag='-G' ;;
12983         *Sun\ F*)                       # Sun Fortran 8.3
12984           tmp_sharedflag='-G' ;;
12985         esac
12986         archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12987
12988         if test "x$supports_anon_versioning" = xyes; then
12989           archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12990             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12991             echo "local: *; };" >> $output_objdir/$libname.ver~
12992             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12993         fi
12994
12995         case $cc_basename in
12996         xlf* | bgf* | bgxlf* | mpixlf*)
12997           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12998           whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
12999           hardcode_libdir_flag_spec_FC=
13000           hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
13001           archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13002           if test "x$supports_anon_versioning" = xyes; then
13003             archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13004               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13005               echo "local: *; };" >> $output_objdir/$libname.ver~
13006               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13007           fi
13008           ;;
13009         esac
13010       else
13011         ld_shlibs_FC=no
13012       fi
13013       ;;
13014
13015     netbsd*)
13016       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13017         archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13018         wlarc=
13019       else
13020         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13021         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13022       fi
13023       ;;
13024
13025     solaris*)
13026       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
13027         ld_shlibs_FC=no
13028         cat <<_LT_EOF 1>&2
13029
13030 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13031 *** create shared libraries on Solaris systems.  Therefore, libtool
13032 *** is disabling shared libraries support.  We urge you to upgrade GNU
13033 *** binutils to release 2.9.1 or newer.  Another option is to modify
13034 *** your PATH or compiler configuration so that the native linker is
13035 *** used, and then restart.
13036
13037 _LT_EOF
13038       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13039         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13040         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13041       else
13042         ld_shlibs_FC=no
13043       fi
13044       ;;
13045
13046     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13047       case `$LD -v 2>&1` in
13048         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13049         ld_shlibs_FC=no
13050         cat <<_LT_EOF 1>&2
13051
13052 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13053 *** reliably create shared libraries on SCO systems.  Therefore, libtool
13054 *** is disabling shared libraries support.  We urge you to upgrade GNU
13055 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
13056 *** your PATH or compiler configuration so that the native linker is
13057 *** used, and then restart.
13058
13059 _LT_EOF
13060         ;;
13061         *)
13062           # For security reasons, it is highly recommended that you always
13063           # use absolute paths for naming shared libraries, and exclude the
13064           # DT_RUNPATH tag from executables and libraries.  But doing so
13065           # requires that you compile everything twice, which is a pain.
13066           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13067             hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13068             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13069             archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13070           else
13071             ld_shlibs_FC=no
13072           fi
13073         ;;
13074       esac
13075       ;;
13076
13077     sunos4*)
13078       archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13079       wlarc=
13080       hardcode_direct_FC=yes
13081       hardcode_shlibpath_var_FC=no
13082       ;;
13083
13084     *)
13085       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13086         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13087         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13088       else
13089         ld_shlibs_FC=no
13090       fi
13091       ;;
13092     esac
13093
13094     if test "$ld_shlibs_FC" = no; then
13095       runpath_var=
13096       hardcode_libdir_flag_spec_FC=
13097       export_dynamic_flag_spec_FC=
13098       whole_archive_flag_spec_FC=
13099     fi
13100   else
13101     # PORTME fill in a description of your system's linker (not GNU ld)
13102     case $host_os in
13103     aix3*)
13104       allow_undefined_flag_FC=unsupported
13105       always_export_symbols_FC=yes
13106       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'
13107       # Note: this linker hardcodes the directories in LIBPATH if there
13108       # are no directories specified by -L.
13109       hardcode_minus_L_FC=yes
13110       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13111         # Neither direct hardcoding nor static linking is supported with a
13112         # broken collect2.
13113         hardcode_direct_FC=unsupported
13114       fi
13115       ;;
13116
13117     aix[4-9]*)
13118       if test "$host_cpu" = ia64; then
13119         # On IA64, the linker does run time linking by default, so we don't
13120         # have to do anything special.
13121         aix_use_runtimelinking=no
13122         exp_sym_flag='-Bexport'
13123         no_entry_flag=""
13124       else
13125         # If we're using GNU nm, then we don't want the "-C" option.
13126         # -C means demangle to AIX nm, but means don't demangle with GNU nm
13127         # Also, AIX nm treats weak defined symbols like other global
13128         # defined symbols, whereas GNU nm marks them as "W".
13129         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13130           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'
13131         else
13132           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'
13133         fi
13134         aix_use_runtimelinking=no
13135
13136         # Test if we are trying to use run time linking or normal
13137         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13138         # need to do runtime linking.
13139         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13140           for ld_flag in $LDFLAGS; do
13141           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13142             aix_use_runtimelinking=yes
13143             break
13144           fi
13145           done
13146           ;;
13147         esac
13148
13149         exp_sym_flag='-bexport'
13150         no_entry_flag='-bnoentry'
13151       fi
13152
13153       # When large executables or shared objects are built, AIX ld can
13154       # have problems creating the table of contents.  If linking a library
13155       # or program results in "error TOC overflow" add -mminimal-toc to
13156       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13157       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13158
13159       archive_cmds_FC=''
13160       hardcode_direct_FC=yes
13161       hardcode_direct_absolute_FC=yes
13162       hardcode_libdir_separator_FC=':'
13163       link_all_deplibs_FC=yes
13164       file_list_spec_FC='${wl}-f,'
13165
13166       if test "$GCC" = yes; then
13167         case $host_os in aix4.[012]|aix4.[012].*)
13168         # We only want to do this on AIX 4.2 and lower, the check
13169         # below for broken collect2 doesn't work under 4.3+
13170           collect2name=`${CC} -print-prog-name=collect2`
13171           if test -f "$collect2name" &&
13172            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13173           then
13174           # We have reworked collect2
13175           :
13176           else
13177           # We have old collect2
13178           hardcode_direct_FC=unsupported
13179           # It fails to find uninstalled libraries when the uninstalled
13180           # path is not listed in the libpath.  Setting hardcode_minus_L
13181           # to unsupported forces relinking
13182           hardcode_minus_L_FC=yes
13183           hardcode_libdir_flag_spec_FC='-L$libdir'
13184           hardcode_libdir_separator_FC=
13185           fi
13186           ;;
13187         esac
13188         shared_flag='-shared'
13189         if test "$aix_use_runtimelinking" = yes; then
13190           shared_flag="$shared_flag "'${wl}-G'
13191         fi
13192       else
13193         # not using gcc
13194         if test "$host_cpu" = ia64; then
13195         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13196         # chokes on -Wl,-G. The following line is correct:
13197           shared_flag='-G'
13198         else
13199           if test "$aix_use_runtimelinking" = yes; then
13200             shared_flag='${wl}-G'
13201           else
13202             shared_flag='${wl}-bM:SRE'
13203           fi
13204         fi
13205       fi
13206
13207       export_dynamic_flag_spec_FC='${wl}-bexpall'
13208       # It seems that -bexpall does not export symbols beginning with
13209       # underscore (_), so it is better to generate a list of symbols to export.
13210       always_export_symbols_FC=yes
13211       if test "$aix_use_runtimelinking" = yes; then
13212         # Warning - without using the other runtime loading flags (-brtl),
13213         # -berok will link without error, but may produce a broken library.
13214         allow_undefined_flag_FC='-berok'
13215         # Determine the default libpath from the value encoded in an
13216         # empty executable.
13217         if test x$gcc_no_link = xyes; then
13218   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13219 fi
13220 cat > conftest.$ac_ext <<_ACEOF
13221       program main
13222
13223       end
13224 _ACEOF
13225 if ac_fn_fc_try_link "$LINENO"; then :
13226
13227 lt_aix_libpath_sed='
13228     /Import File Strings/,/^$/ {
13229         /^0/ {
13230             s/^0  *\(.*\)$/\1/
13231             p
13232         }
13233     }'
13234 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13235 # Check for a 64-bit object if we didn't find anything.
13236 if test -z "$aix_libpath"; then
13237   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13238 fi
13239 fi
13240 rm -f core conftest.err conftest.$ac_objext \
13241     conftest$ac_exeext conftest.$ac_ext
13242 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13243
13244         hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13245         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"
13246       else
13247         if test "$host_cpu" = ia64; then
13248           hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
13249           allow_undefined_flag_FC="-z nodefs"
13250           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"
13251         else
13252          # Determine the default libpath from the value encoded in an
13253          # empty executable.
13254          if test x$gcc_no_link = xyes; then
13255   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13256 fi
13257 cat > conftest.$ac_ext <<_ACEOF
13258       program main
13259
13260       end
13261 _ACEOF
13262 if ac_fn_fc_try_link "$LINENO"; then :
13263
13264 lt_aix_libpath_sed='
13265     /Import File Strings/,/^$/ {
13266         /^0/ {
13267             s/^0  *\(.*\)$/\1/
13268             p
13269         }
13270     }'
13271 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13272 # Check for a 64-bit object if we didn't find anything.
13273 if test -z "$aix_libpath"; then
13274   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13275 fi
13276 fi
13277 rm -f core conftest.err conftest.$ac_objext \
13278     conftest$ac_exeext conftest.$ac_ext
13279 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13280
13281          hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13282           # Warning - without using the other run time loading flags,
13283           # -berok will link without error, but may produce a broken library.
13284           no_undefined_flag_FC=' ${wl}-bernotok'
13285           allow_undefined_flag_FC=' ${wl}-berok'
13286           if test "$with_gnu_ld" = yes; then
13287             # We only use this code for GNU lds that support --whole-archive.
13288             whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13289           else
13290             # Exported symbols can be pulled into shared objects from archives
13291             whole_archive_flag_spec_FC='$convenience'
13292           fi
13293           archive_cmds_need_lc_FC=yes
13294           # This is similar to how AIX traditionally builds its shared libraries.
13295           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'
13296         fi
13297       fi
13298       ;;
13299
13300     amigaos*)
13301       case $host_cpu in
13302       powerpc)
13303             # see comment about AmigaOS4 .so support
13304             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13305             archive_expsym_cmds_FC=''
13306         ;;
13307       m68k)
13308             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)'
13309             hardcode_libdir_flag_spec_FC='-L$libdir'
13310             hardcode_minus_L_FC=yes
13311         ;;
13312       esac
13313       ;;
13314
13315     bsdi[45]*)
13316       export_dynamic_flag_spec_FC=-rdynamic
13317       ;;
13318
13319     cygwin* | mingw* | pw32* | cegcc*)
13320       # When not using gcc, we currently assume that we are using
13321       # Microsoft Visual C++.
13322       # hardcode_libdir_flag_spec is actually meaningless, as there is
13323       # no search path for DLLs.
13324       hardcode_libdir_flag_spec_FC=' '
13325       allow_undefined_flag_FC=unsupported
13326       # Tell ltmain to make .lib files, not .a files.
13327       libext=lib
13328       # Tell ltmain to make .dll files, not .so files.
13329       shrext_cmds=".dll"
13330       # FIXME: Setting linknames here is a bad hack.
13331       archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13332       # The linker will automatically build a .lib file if we build a DLL.
13333       old_archive_from_new_cmds_FC='true'
13334       # FIXME: Should let the user specify the lib program.
13335       old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
13336       fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
13337       enable_shared_with_static_runtimes_FC=yes
13338       ;;
13339
13340     darwin* | rhapsody*)
13341
13342
13343   archive_cmds_need_lc_FC=no
13344   hardcode_direct_FC=no
13345   hardcode_automatic_FC=yes
13346   hardcode_shlibpath_var_FC=unsupported
13347   if test "$lt_cv_ld_force_load" = "yes"; then
13348     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\"`'
13349   else
13350     whole_archive_flag_spec_FC=''
13351   fi
13352   link_all_deplibs_FC=yes
13353   allow_undefined_flag_FC="$_lt_dar_allow_undefined"
13354   case $cc_basename in
13355      ifort*) _lt_dar_can_shared=yes ;;
13356      *) _lt_dar_can_shared=$GCC ;;
13357   esac
13358   if test "$_lt_dar_can_shared" = "yes"; then
13359     output_verbose_link_cmd=func_echo_all
13360     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}"
13361     module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13362     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}"
13363     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}"
13364
13365   else
13366   ld_shlibs_FC=no
13367   fi
13368
13369       ;;
13370
13371     dgux*)
13372       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13373       hardcode_libdir_flag_spec_FC='-L$libdir'
13374       hardcode_shlibpath_var_FC=no
13375       ;;
13376
13377     freebsd1*)
13378       ld_shlibs_FC=no
13379       ;;
13380
13381     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13382     # support.  Future versions do this automatically, but an explicit c++rt0.o
13383     # does not break anything, and helps significantly (at the cost of a little
13384     # extra space).
13385     freebsd2.2*)
13386       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13387       hardcode_libdir_flag_spec_FC='-R$libdir'
13388       hardcode_direct_FC=yes
13389       hardcode_shlibpath_var_FC=no
13390       ;;
13391
13392     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13393     freebsd2*)
13394       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13395       hardcode_direct_FC=yes
13396       hardcode_minus_L_FC=yes
13397       hardcode_shlibpath_var_FC=no
13398       ;;
13399
13400     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13401     freebsd* | dragonfly*)
13402       archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13403       hardcode_libdir_flag_spec_FC='-R$libdir'
13404       hardcode_direct_FC=yes
13405       hardcode_shlibpath_var_FC=no
13406       ;;
13407
13408     hpux9*)
13409       if test "$GCC" = yes; then
13410         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'
13411       else
13412         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'
13413       fi
13414       hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13415       hardcode_libdir_separator_FC=:
13416       hardcode_direct_FC=yes
13417
13418       # hardcode_minus_L: Not really in the search PATH,
13419       # but as the default location of the library.
13420       hardcode_minus_L_FC=yes
13421       export_dynamic_flag_spec_FC='${wl}-E'
13422       ;;
13423
13424     hpux10*)
13425       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13426         archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13427       else
13428         archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13429       fi
13430       if test "$with_gnu_ld" = no; then
13431         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13432         hardcode_libdir_flag_spec_ld_FC='+b $libdir'
13433         hardcode_libdir_separator_FC=:
13434         hardcode_direct_FC=yes
13435         hardcode_direct_absolute_FC=yes
13436         export_dynamic_flag_spec_FC='${wl}-E'
13437         # hardcode_minus_L: Not really in the search PATH,
13438         # but as the default location of the library.
13439         hardcode_minus_L_FC=yes
13440       fi
13441       ;;
13442
13443     hpux11*)
13444       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13445         case $host_cpu in
13446         hppa*64*)
13447           archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13448           ;;
13449         ia64*)
13450           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13451           ;;
13452         *)
13453           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13454           ;;
13455         esac
13456       else
13457         case $host_cpu in
13458         hppa*64*)
13459           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13460           ;;
13461         ia64*)
13462           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13463           ;;
13464         *)
13465         archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13466           ;;
13467         esac
13468       fi
13469       if test "$with_gnu_ld" = no; then
13470         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13471         hardcode_libdir_separator_FC=:
13472
13473         case $host_cpu in
13474         hppa*64*|ia64*)
13475           hardcode_direct_FC=no
13476           hardcode_shlibpath_var_FC=no
13477           ;;
13478         *)
13479           hardcode_direct_FC=yes
13480           hardcode_direct_absolute_FC=yes
13481           export_dynamic_flag_spec_FC='${wl}-E'
13482
13483           # hardcode_minus_L: Not really in the search PATH,
13484           # but as the default location of the library.
13485           hardcode_minus_L_FC=yes
13486           ;;
13487         esac
13488       fi
13489       ;;
13490
13491     irix5* | irix6* | nonstopux*)
13492       if test "$GCC" = yes; then
13493         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'
13494         # Try to use the -exported_symbol ld option, if it does not
13495         # work, assume that -exports_file does not work either and
13496         # implicitly export all symbols.
13497         save_LDFLAGS="$LDFLAGS"
13498         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13499         if test x$gcc_no_link = xyes; then
13500   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13501 fi
13502 cat > conftest.$ac_ext <<_ACEOF
13503 int foo(void) {}
13504 _ACEOF
13505 if ac_fn_fc_try_link "$LINENO"; then :
13506   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'
13507
13508 fi
13509 rm -f core conftest.err conftest.$ac_objext \
13510     conftest$ac_exeext conftest.$ac_ext
13511         LDFLAGS="$save_LDFLAGS"
13512       else
13513         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'
13514         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'
13515       fi
13516       archive_cmds_need_lc_FC='no'
13517       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13518       hardcode_libdir_separator_FC=:
13519       inherit_rpath_FC=yes
13520       link_all_deplibs_FC=yes
13521       ;;
13522
13523     netbsd*)
13524       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13525         archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
13526       else
13527         archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
13528       fi
13529       hardcode_libdir_flag_spec_FC='-R$libdir'
13530       hardcode_direct_FC=yes
13531       hardcode_shlibpath_var_FC=no
13532       ;;
13533
13534     newsos6)
13535       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13536       hardcode_direct_FC=yes
13537       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13538       hardcode_libdir_separator_FC=:
13539       hardcode_shlibpath_var_FC=no
13540       ;;
13541
13542     *nto* | *qnx*)
13543       ;;
13544
13545     openbsd*)
13546       if test -f /usr/libexec/ld.so; then
13547         hardcode_direct_FC=yes
13548         hardcode_shlibpath_var_FC=no
13549         hardcode_direct_absolute_FC=yes
13550         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13551           archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13552           archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13553           hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13554           export_dynamic_flag_spec_FC='${wl}-E'
13555         else
13556           case $host_os in
13557            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13558              archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13559              hardcode_libdir_flag_spec_FC='-R$libdir'
13560              ;;
13561            *)
13562              archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13563              hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13564              ;;
13565           esac
13566         fi
13567       else
13568         ld_shlibs_FC=no
13569       fi
13570       ;;
13571
13572     os2*)
13573       hardcode_libdir_flag_spec_FC='-L$libdir'
13574       hardcode_minus_L_FC=yes
13575       allow_undefined_flag_FC=unsupported
13576       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'
13577       old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13578       ;;
13579
13580     osf3*)
13581       if test "$GCC" = yes; then
13582         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13583         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'
13584       else
13585         allow_undefined_flag_FC=' -expect_unresolved \*'
13586         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'
13587       fi
13588       archive_cmds_need_lc_FC='no'
13589       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13590       hardcode_libdir_separator_FC=:
13591       ;;
13592
13593     osf4* | osf5*)      # as osf3* with the addition of -msym flag
13594       if test "$GCC" = yes; then
13595         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13596         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'
13597         hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13598       else
13599         allow_undefined_flag_FC=' -expect_unresolved \*'
13600         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'
13601         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~
13602         $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'
13603
13604         # Both c and cxx compiler support -rpath directly
13605         hardcode_libdir_flag_spec_FC='-rpath $libdir'
13606       fi
13607       archive_cmds_need_lc_FC='no'
13608       hardcode_libdir_separator_FC=:
13609       ;;
13610
13611     solaris*)
13612       no_undefined_flag_FC=' -z defs'
13613       if test "$GCC" = yes; then
13614         wlarc='${wl}'
13615         archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13616         archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13617           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13618       else
13619         case `$CC -V 2>&1` in
13620         *"Compilers 5.0"*)
13621           wlarc=''
13622           archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13623           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13624           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13625           ;;
13626         *)
13627           wlarc='${wl}'
13628           archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13629           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13630           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13631           ;;
13632         esac
13633       fi
13634       hardcode_libdir_flag_spec_FC='-R$libdir'
13635       hardcode_shlibpath_var_FC=no
13636       case $host_os in
13637       solaris2.[0-5] | solaris2.[0-5].*) ;;
13638       *)
13639         # The compiler driver will combine and reorder linker options,
13640         # but understands `-z linker_flag'.  GCC discards it without `$wl',
13641         # but is careful enough not to reorder.
13642         # Supported since Solaris 2.6 (maybe 2.5.1?)
13643         if test "$GCC" = yes; then
13644           whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13645         else
13646           whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
13647         fi
13648         ;;
13649       esac
13650       link_all_deplibs_FC=yes
13651       ;;
13652
13653     sunos4*)
13654       if test "x$host_vendor" = xsequent; then
13655         # Use $CC to link under sequent, because it throws in some extra .o
13656         # files that make .init and .fini sections work.
13657         archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13658       else
13659         archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13660       fi
13661       hardcode_libdir_flag_spec_FC='-L$libdir'
13662       hardcode_direct_FC=yes
13663       hardcode_minus_L_FC=yes
13664       hardcode_shlibpath_var_FC=no
13665       ;;
13666
13667     sysv4)
13668       case $host_vendor in
13669         sni)
13670           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13671           hardcode_direct_FC=yes # is this really true???
13672         ;;
13673         siemens)
13674           ## LD is ld it makes a PLAMLIB
13675           ## CC just makes a GrossModule.
13676           archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13677           reload_cmds_FC='$CC -r -o $output$reload_objs'
13678           hardcode_direct_FC=no
13679         ;;
13680         motorola)
13681           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13682           hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
13683         ;;
13684       esac
13685       runpath_var='LD_RUN_PATH'
13686       hardcode_shlibpath_var_FC=no
13687       ;;
13688
13689     sysv4.3*)
13690       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13691       hardcode_shlibpath_var_FC=no
13692       export_dynamic_flag_spec_FC='-Bexport'
13693       ;;
13694
13695     sysv4*MP*)
13696       if test -d /usr/nec; then
13697         archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13698         hardcode_shlibpath_var_FC=no
13699         runpath_var=LD_RUN_PATH
13700         hardcode_runpath_var=yes
13701         ld_shlibs_FC=yes
13702       fi
13703       ;;
13704
13705     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13706       no_undefined_flag_FC='${wl}-z,text'
13707       archive_cmds_need_lc_FC=no
13708       hardcode_shlibpath_var_FC=no
13709       runpath_var='LD_RUN_PATH'
13710
13711       if test "$GCC" = yes; then
13712         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13713         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13714       else
13715         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13716         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13717       fi
13718       ;;
13719
13720     sysv5* | sco3.2v5* | sco5v6*)
13721       # Note: We can NOT use -z defs as we might desire, because we do not
13722       # link with -lc, and that would cause any symbols used from libc to
13723       # always be unresolved, which means just about no library would
13724       # ever link correctly.  If we're not using GNU ld we use -z text
13725       # though, which does catch some bad symbols but isn't as heavy-handed
13726       # as -z defs.
13727       no_undefined_flag_FC='${wl}-z,text'
13728       allow_undefined_flag_FC='${wl}-z,nodefs'
13729       archive_cmds_need_lc_FC=no
13730       hardcode_shlibpath_var_FC=no
13731       hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
13732       hardcode_libdir_separator_FC=':'
13733       link_all_deplibs_FC=yes
13734       export_dynamic_flag_spec_FC='${wl}-Bexport'
13735       runpath_var='LD_RUN_PATH'
13736
13737       if test "$GCC" = yes; then
13738         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13739         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13740       else
13741         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13742         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13743       fi
13744       ;;
13745
13746     uts4*)
13747       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13748       hardcode_libdir_flag_spec_FC='-L$libdir'
13749       hardcode_shlibpath_var_FC=no
13750       ;;
13751
13752     *)
13753       ld_shlibs_FC=no
13754       ;;
13755     esac
13756
13757     if test x$host_vendor = xsni; then
13758       case $host in
13759       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13760         export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
13761         ;;
13762       esac
13763     fi
13764   fi
13765
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13767 $as_echo "$ld_shlibs_FC" >&6; }
13768 test "$ld_shlibs_FC" = no && can_build_shared=no
13769
13770 with_gnu_ld_FC=$with_gnu_ld
13771
13772
13773
13774
13775
13776
13777 #
13778 # Do we need to explicitly link libc?
13779 #
13780 case "x$archive_cmds_need_lc_FC" in
13781 x|xyes)
13782   # Assume -lc should be added
13783   archive_cmds_need_lc_FC=yes
13784
13785   if test "$enable_shared" = yes && test "$GCC" = yes; then
13786     case $archive_cmds_FC in
13787     *'~'*)
13788       # FIXME: we may have to deal with multi-command sequences.
13789       ;;
13790     '$CC '*)
13791       # Test whether the compiler implicitly links with -lc since on some
13792       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13793       # to ld, don't add -lc before -lgcc.
13794       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13795 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13796 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
13797   $as_echo_n "(cached) " >&6
13798 else
13799   $RM conftest*
13800         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13801
13802         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13803   (eval $ac_compile) 2>&5
13804   ac_status=$?
13805   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13806   test $ac_status = 0; } 2>conftest.err; then
13807           soname=conftest
13808           lib=conftest
13809           libobjs=conftest.$ac_objext
13810           deplibs=
13811           wl=$lt_prog_compiler_wl_FC
13812           pic_flag=$lt_prog_compiler_pic_FC
13813           compiler_flags=-v
13814           linker_flags=-v
13815           verstring=
13816           output_objdir=.
13817           libname=conftest
13818           lt_save_allow_undefined_flag=$allow_undefined_flag_FC
13819           allow_undefined_flag_FC=
13820           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13821   (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13822   ac_status=$?
13823   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13824   test $ac_status = 0; }
13825           then
13826             lt_cv_archive_cmds_need_lc_FC=no
13827           else
13828             lt_cv_archive_cmds_need_lc_FC=yes
13829           fi
13830           allow_undefined_flag_FC=$lt_save_allow_undefined_flag
13831         else
13832           cat conftest.err 1>&5
13833         fi
13834         $RM conftest*
13835
13836 fi
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13838 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
13839       archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
13840       ;;
13841     esac
13842   fi
13843   ;;
13844 esac
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13910 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13911
13912 library_names_spec=
13913 libname_spec='lib$name'
13914 soname_spec=
13915 shrext_cmds=".so"
13916 postinstall_cmds=
13917 postuninstall_cmds=
13918 finish_cmds=
13919 finish_eval=
13920 shlibpath_var=
13921 shlibpath_overrides_runpath=unknown
13922 version_type=none
13923 dynamic_linker="$host_os ld.so"
13924 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13925 need_lib_prefix=unknown
13926 hardcode_into_libs=no
13927
13928 # when you set need_version to no, make sure it does not cause -set_version
13929 # flags to be left without arguments
13930 need_version=unknown
13931
13932 case $host_os in
13933 aix3*)
13934   version_type=linux
13935   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13936   shlibpath_var=LIBPATH
13937
13938   # AIX 3 has no versioning support, so we append a major version to the name.
13939   soname_spec='${libname}${release}${shared_ext}$major'
13940   ;;
13941
13942 aix[4-9]*)
13943   version_type=linux
13944   need_lib_prefix=no
13945   need_version=no
13946   hardcode_into_libs=yes
13947   if test "$host_cpu" = ia64; then
13948     # AIX 5 supports IA64
13949     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13950     shlibpath_var=LD_LIBRARY_PATH
13951   else
13952     # With GCC up to 2.95.x, collect2 would create an import file
13953     # for dependence libraries.  The import file would start with
13954     # the line `#! .'.  This would cause the generated library to
13955     # depend on `.', always an invalid library.  This was fixed in
13956     # development snapshots of GCC prior to 3.0.
13957     case $host_os in
13958       aix4 | aix4.[01] | aix4.[01].*)
13959       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13960            echo ' yes '
13961            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13962         :
13963       else
13964         can_build_shared=no
13965       fi
13966       ;;
13967     esac
13968     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13969     # soname into executable. Probably we can add versioning support to
13970     # collect2, so additional links can be useful in future.
13971     if test "$aix_use_runtimelinking" = yes; then
13972       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13973       # instead of lib<name>.a to let people know that these are not
13974       # typical AIX shared libraries.
13975       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13976     else
13977       # We preserve .a as extension for shared libraries through AIX4.2
13978       # and later when we are not doing run time linking.
13979       library_names_spec='${libname}${release}.a $libname.a'
13980       soname_spec='${libname}${release}${shared_ext}$major'
13981     fi
13982     shlibpath_var=LIBPATH
13983   fi
13984   ;;
13985
13986 amigaos*)
13987   case $host_cpu in
13988   powerpc)
13989     # Since July 2007 AmigaOS4 officially supports .so libraries.
13990     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13991     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13992     ;;
13993   m68k)
13994     library_names_spec='$libname.ixlibrary $libname.a'
13995     # Create ${libname}_ixlibrary.a entries in /sys/libs.
13996     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'
13997     ;;
13998   esac
13999   ;;
14000
14001 beos*)
14002   library_names_spec='${libname}${shared_ext}'
14003   dynamic_linker="$host_os ld.so"
14004   shlibpath_var=LIBRARY_PATH
14005   ;;
14006
14007 bsdi[45]*)
14008   version_type=linux
14009   need_version=no
14010   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14011   soname_spec='${libname}${release}${shared_ext}$major'
14012   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14013   shlibpath_var=LD_LIBRARY_PATH
14014   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14015   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14016   # the default ld.so.conf also contains /usr/contrib/lib and
14017   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14018   # libtool to hard-code these into programs
14019   ;;
14020
14021 cygwin* | mingw* | pw32* | cegcc*)
14022   version_type=windows
14023   shrext_cmds=".dll"
14024   need_version=no
14025   need_lib_prefix=no
14026
14027   case $GCC,$host_os in
14028   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14029     library_names_spec='$libname.dll.a'
14030     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14031     postinstall_cmds='base_file=`basename \${file}`~
14032       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14033       dldir=$destdir/`dirname \$dlpath`~
14034       test -d \$dldir || mkdir -p \$dldir~
14035       $install_prog $dir/$dlname \$dldir/$dlname~
14036       chmod a+x \$dldir/$dlname~
14037       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14038         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14039       fi'
14040     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14041       dlpath=$dir/\$dldll~
14042        $RM \$dlpath'
14043     shlibpath_overrides_runpath=yes
14044
14045     case $host_os in
14046     cygwin*)
14047       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14048       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14049
14050       ;;
14051     mingw* | cegcc*)
14052       # MinGW DLLs use traditional 'lib' prefix
14053       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14054       ;;
14055     pw32*)
14056       # pw32 DLLs use 'pw' prefix rather than 'lib'
14057       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14058       ;;
14059     esac
14060     ;;
14061
14062   *)
14063     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14064     ;;
14065   esac
14066   dynamic_linker='Win32 ld.exe'
14067   # FIXME: first we should search . and the directory the executable is in
14068   shlibpath_var=PATH
14069   ;;
14070
14071 darwin* | rhapsody*)
14072   dynamic_linker="$host_os dyld"
14073   version_type=darwin
14074   need_lib_prefix=no
14075   need_version=no
14076   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14077   soname_spec='${libname}${release}${major}$shared_ext'
14078   shlibpath_overrides_runpath=yes
14079   shlibpath_var=DYLD_LIBRARY_PATH
14080   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14081
14082   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14083   ;;
14084
14085 dgux*)
14086   version_type=linux
14087   need_lib_prefix=no
14088   need_version=no
14089   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14090   soname_spec='${libname}${release}${shared_ext}$major'
14091   shlibpath_var=LD_LIBRARY_PATH
14092   ;;
14093
14094 freebsd1*)
14095   dynamic_linker=no
14096   ;;
14097
14098 freebsd* | dragonfly*)
14099   # DragonFly does not have aout.  When/if they implement a new
14100   # versioning mechanism, adjust this.
14101   if test -x /usr/bin/objformat; then
14102     objformat=`/usr/bin/objformat`
14103   else
14104     case $host_os in
14105     freebsd[123]*) objformat=aout ;;
14106     *) objformat=elf ;;
14107     esac
14108   fi
14109   version_type=freebsd-$objformat
14110   case $version_type in
14111     freebsd-elf*)
14112       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14113       need_version=no
14114       need_lib_prefix=no
14115       ;;
14116     freebsd-*)
14117       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14118       need_version=yes
14119       ;;
14120   esac
14121   shlibpath_var=LD_LIBRARY_PATH
14122   case $host_os in
14123   freebsd2*)
14124     shlibpath_overrides_runpath=yes
14125     ;;
14126   freebsd3.[01]* | freebsdelf3.[01]*)
14127     shlibpath_overrides_runpath=yes
14128     hardcode_into_libs=yes
14129     ;;
14130   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14131   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14132     shlibpath_overrides_runpath=no
14133     hardcode_into_libs=yes
14134     ;;
14135   *) # from 4.6 on, and DragonFly
14136     shlibpath_overrides_runpath=yes
14137     hardcode_into_libs=yes
14138     ;;
14139   esac
14140   ;;
14141
14142 gnu*)
14143   version_type=linux
14144   need_lib_prefix=no
14145   need_version=no
14146   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14147   soname_spec='${libname}${release}${shared_ext}$major'
14148   shlibpath_var=LD_LIBRARY_PATH
14149   hardcode_into_libs=yes
14150   ;;
14151
14152 haiku*)
14153   version_type=linux
14154   need_lib_prefix=no
14155   need_version=no
14156   dynamic_linker="$host_os runtime_loader"
14157   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14158   soname_spec='${libname}${release}${shared_ext}$major'
14159   shlibpath_var=LIBRARY_PATH
14160   shlibpath_overrides_runpath=yes
14161   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14162   hardcode_into_libs=yes
14163   ;;
14164
14165 hpux9* | hpux10* | hpux11*)
14166   # Give a soname corresponding to the major version so that dld.sl refuses to
14167   # link against other versions.
14168   version_type=sunos
14169   need_lib_prefix=no
14170   need_version=no
14171   case $host_cpu in
14172   ia64*)
14173     shrext_cmds='.so'
14174     hardcode_into_libs=yes
14175     dynamic_linker="$host_os dld.so"
14176     shlibpath_var=LD_LIBRARY_PATH
14177     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14178     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14179     soname_spec='${libname}${release}${shared_ext}$major'
14180     if test "X$HPUX_IA64_MODE" = X32; then
14181       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14182     else
14183       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14184     fi
14185     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14186     ;;
14187   hppa*64*)
14188     shrext_cmds='.sl'
14189     hardcode_into_libs=yes
14190     dynamic_linker="$host_os dld.sl"
14191     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14192     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14193     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14194     soname_spec='${libname}${release}${shared_ext}$major'
14195     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14196     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14197     ;;
14198   *)
14199     shrext_cmds='.sl'
14200     dynamic_linker="$host_os dld.sl"
14201     shlibpath_var=SHLIB_PATH
14202     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14203     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14204     soname_spec='${libname}${release}${shared_ext}$major'
14205     ;;
14206   esac
14207   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14208   postinstall_cmds='chmod 555 $lib'
14209   # or fails outright, so override atomically:
14210   install_override_mode=555
14211   ;;
14212
14213 interix[3-9]*)
14214   version_type=linux
14215   need_lib_prefix=no
14216   need_version=no
14217   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14218   soname_spec='${libname}${release}${shared_ext}$major'
14219   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14220   shlibpath_var=LD_LIBRARY_PATH
14221   shlibpath_overrides_runpath=no
14222   hardcode_into_libs=yes
14223   ;;
14224
14225 irix5* | irix6* | nonstopux*)
14226   case $host_os in
14227     nonstopux*) version_type=nonstopux ;;
14228     *)
14229         if test "$lt_cv_prog_gnu_ld" = yes; then
14230                 version_type=linux
14231         else
14232                 version_type=irix
14233         fi ;;
14234   esac
14235   need_lib_prefix=no
14236   need_version=no
14237   soname_spec='${libname}${release}${shared_ext}$major'
14238   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14239   case $host_os in
14240   irix5* | nonstopux*)
14241     libsuff= shlibsuff=
14242     ;;
14243   *)
14244     case $LD in # libtool.m4 will add one of these switches to LD
14245     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14246       libsuff= shlibsuff= libmagic=32-bit;;
14247     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14248       libsuff=32 shlibsuff=N32 libmagic=N32;;
14249     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14250       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14251     *) libsuff= shlibsuff= libmagic=never-match;;
14252     esac
14253     ;;
14254   esac
14255   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14256   shlibpath_overrides_runpath=no
14257   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14258   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14259   hardcode_into_libs=yes
14260   ;;
14261
14262 # No shared lib support for Linux oldld, aout, or coff.
14263 linux*oldld* | linux*aout* | linux*coff*)
14264   dynamic_linker=no
14265   ;;
14266
14267 # This must be Linux ELF.
14268 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14269   version_type=linux
14270   need_lib_prefix=no
14271   need_version=no
14272   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14273   soname_spec='${libname}${release}${shared_ext}$major'
14274   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14275   shlibpath_var=LD_LIBRARY_PATH
14276   shlibpath_overrides_runpath=no
14277
14278   # Some binutils ld are patched to set DT_RUNPATH
14279   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14280   $as_echo_n "(cached) " >&6
14281 else
14282   lt_cv_shlibpath_overrides_runpath=no
14283     save_LDFLAGS=$LDFLAGS
14284     save_libdir=$libdir
14285     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14286          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14287     if test x$gcc_no_link = xyes; then
14288   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14289 fi
14290 cat > conftest.$ac_ext <<_ACEOF
14291       program main
14292
14293       end
14294 _ACEOF
14295 if ac_fn_fc_try_link "$LINENO"; then :
14296   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14297   lt_cv_shlibpath_overrides_runpath=yes
14298 fi
14299 fi
14300 rm -f core conftest.err conftest.$ac_objext \
14301     conftest$ac_exeext conftest.$ac_ext
14302     LDFLAGS=$save_LDFLAGS
14303     libdir=$save_libdir
14304
14305 fi
14306
14307   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14308
14309   # This implies no fast_install, which is unacceptable.
14310   # Some rework will be needed to allow for fast_install
14311   # before this can be enabled.
14312   hardcode_into_libs=yes
14313
14314   # Append ld.so.conf contents to the search path
14315   if test -f /etc/ld.so.conf; then
14316     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' ' '`
14317     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14318   fi
14319
14320   # We used to test for /lib/ld.so.1 and disable shared libraries on
14321   # powerpc, because MkLinux only supported shared libraries with the
14322   # GNU dynamic linker.  Since this was broken with cross compilers,
14323   # most powerpc-linux boxes support dynamic linking these days and
14324   # people can always --disable-shared, the test was removed, and we
14325   # assume the GNU/Linux dynamic linker is in use.
14326   dynamic_linker='GNU/Linux ld.so'
14327   ;;
14328
14329 netbsd*)
14330   version_type=sunos
14331   need_lib_prefix=no
14332   need_version=no
14333   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14334     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14335     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14336     dynamic_linker='NetBSD (a.out) ld.so'
14337   else
14338     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14339     soname_spec='${libname}${release}${shared_ext}$major'
14340     dynamic_linker='NetBSD ld.elf_so'
14341   fi
14342   shlibpath_var=LD_LIBRARY_PATH
14343   shlibpath_overrides_runpath=yes
14344   hardcode_into_libs=yes
14345   ;;
14346
14347 newsos6)
14348   version_type=linux
14349   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14350   shlibpath_var=LD_LIBRARY_PATH
14351   shlibpath_overrides_runpath=yes
14352   ;;
14353
14354 *nto* | *qnx*)
14355   version_type=qnx
14356   need_lib_prefix=no
14357   need_version=no
14358   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14359   soname_spec='${libname}${release}${shared_ext}$major'
14360   shlibpath_var=LD_LIBRARY_PATH
14361   shlibpath_overrides_runpath=no
14362   hardcode_into_libs=yes
14363   dynamic_linker='ldqnx.so'
14364   ;;
14365
14366 openbsd*)
14367   version_type=sunos
14368   sys_lib_dlsearch_path_spec="/usr/lib"
14369   need_lib_prefix=no
14370   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14371   case $host_os in
14372     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14373     *)                          need_version=no  ;;
14374   esac
14375   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14376   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14377   shlibpath_var=LD_LIBRARY_PATH
14378   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14379     case $host_os in
14380       openbsd2.[89] | openbsd2.[89].*)
14381         shlibpath_overrides_runpath=no
14382         ;;
14383       *)
14384         shlibpath_overrides_runpath=yes
14385         ;;
14386       esac
14387   else
14388     shlibpath_overrides_runpath=yes
14389   fi
14390   ;;
14391
14392 os2*)
14393   libname_spec='$name'
14394   shrext_cmds=".dll"
14395   need_lib_prefix=no
14396   library_names_spec='$libname${shared_ext} $libname.a'
14397   dynamic_linker='OS/2 ld.exe'
14398   shlibpath_var=LIBPATH
14399   ;;
14400
14401 osf3* | osf4* | osf5*)
14402   version_type=osf
14403   need_lib_prefix=no
14404   need_version=no
14405   soname_spec='${libname}${release}${shared_ext}$major'
14406   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14407   shlibpath_var=LD_LIBRARY_PATH
14408   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14409   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14410   ;;
14411
14412 rdos*)
14413   dynamic_linker=no
14414   ;;
14415
14416 solaris*)
14417   version_type=linux
14418   need_lib_prefix=no
14419   need_version=no
14420   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14421   soname_spec='${libname}${release}${shared_ext}$major'
14422   shlibpath_var=LD_LIBRARY_PATH
14423   shlibpath_overrides_runpath=yes
14424   hardcode_into_libs=yes
14425   # ldd complains unless libraries are executable
14426   postinstall_cmds='chmod +x $lib'
14427   ;;
14428
14429 sunos4*)
14430   version_type=sunos
14431   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14432   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14433   shlibpath_var=LD_LIBRARY_PATH
14434   shlibpath_overrides_runpath=yes
14435   if test "$with_gnu_ld" = yes; then
14436     need_lib_prefix=no
14437   fi
14438   need_version=yes
14439   ;;
14440
14441 sysv4 | sysv4.3*)
14442   version_type=linux
14443   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14444   soname_spec='${libname}${release}${shared_ext}$major'
14445   shlibpath_var=LD_LIBRARY_PATH
14446   case $host_vendor in
14447     sni)
14448       shlibpath_overrides_runpath=no
14449       need_lib_prefix=no
14450       runpath_var=LD_RUN_PATH
14451       ;;
14452     siemens)
14453       need_lib_prefix=no
14454       ;;
14455     motorola)
14456       need_lib_prefix=no
14457       need_version=no
14458       shlibpath_overrides_runpath=no
14459       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14460       ;;
14461   esac
14462   ;;
14463
14464 sysv4*MP*)
14465   if test -d /usr/nec ;then
14466     version_type=linux
14467     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14468     soname_spec='$libname${shared_ext}.$major'
14469     shlibpath_var=LD_LIBRARY_PATH
14470   fi
14471   ;;
14472
14473 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14474   version_type=freebsd-elf
14475   need_lib_prefix=no
14476   need_version=no
14477   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14478   soname_spec='${libname}${release}${shared_ext}$major'
14479   shlibpath_var=LD_LIBRARY_PATH
14480   shlibpath_overrides_runpath=yes
14481   hardcode_into_libs=yes
14482   if test "$with_gnu_ld" = yes; then
14483     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14484   else
14485     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14486     case $host_os in
14487       sco3.2v5*)
14488         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14489         ;;
14490     esac
14491   fi
14492   sys_lib_dlsearch_path_spec='/usr/lib'
14493   ;;
14494
14495 tpf*)
14496   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14497   version_type=linux
14498   need_lib_prefix=no
14499   need_version=no
14500   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14501   shlibpath_var=LD_LIBRARY_PATH
14502   shlibpath_overrides_runpath=no
14503   hardcode_into_libs=yes
14504   ;;
14505
14506 uts4*)
14507   version_type=linux
14508   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14509   soname_spec='${libname}${release}${shared_ext}$major'
14510   shlibpath_var=LD_LIBRARY_PATH
14511   ;;
14512
14513 *)
14514   dynamic_linker=no
14515   ;;
14516 esac
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14518 $as_echo "$dynamic_linker" >&6; }
14519 test "$dynamic_linker" = no && can_build_shared=no
14520
14521 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14522 if test "$GCC" = yes; then
14523   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14524 fi
14525
14526 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14527   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14528 fi
14529 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14530   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14531 fi
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14571 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14572 hardcode_action_FC=
14573 if test -n "$hardcode_libdir_flag_spec_FC" ||
14574    test -n "$runpath_var_FC" ||
14575    test "X$hardcode_automatic_FC" = "Xyes" ; then
14576
14577   # We can hardcode non-existent directories.
14578   if test "$hardcode_direct_FC" != no &&
14579      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14580      # have to relink, otherwise we might link with an installed library
14581      # when we should be linking with a yet-to-be-installed one
14582      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14583      test "$hardcode_minus_L_FC" != no; then
14584     # Linking always hardcodes the temporary library directory.
14585     hardcode_action_FC=relink
14586   else
14587     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14588     hardcode_action_FC=immediate
14589   fi
14590 else
14591   # We cannot hardcode anything, or else we can only hardcode existing
14592   # directories.
14593   hardcode_action_FC=unsupported
14594 fi
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14596 $as_echo "$hardcode_action_FC" >&6; }
14597
14598 if test "$hardcode_action_FC" = relink ||
14599    test "$inherit_rpath_FC" = yes; then
14600   # Fast installation is not supported
14601   enable_fast_install=no
14602 elif test "$shlibpath_overrides_runpath" = yes ||
14603      test "$enable_shared" = no; then
14604   # Fast installation is not necessary
14605   enable_fast_install=needless
14606 fi
14607
14608
14609
14610
14611
14612
14613
14614   fi # test -n "$compiler"
14615
14616   GCC=$lt_save_GCC
14617   CC="$lt_save_CC"
14618 fi # test "$_lt_disable_FC" != yes
14619
14620 ac_ext=c
14621 ac_cpp='$CPP $CPPFLAGS'
14622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14625
14626
14627
14628 # extra LD Flags which are required for targets
14629 case "${host}" in
14630   *-darwin*)
14631     # Darwin needs -single_module when linking libgfortran
14632     extra_ldflags_libgfortran=-Wl,-single_module
14633     ;;
14634 esac
14635
14636
14637 # We need a working compiler at that point, otherwise give a clear
14638 # error message and bail out.
14639
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
14641 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
14642 ac_ext=${ac_fc_srcext-f}
14643 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
14644 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
14645 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
14646
14647 cat > conftest.$ac_ext <<_ACEOF
14648
14649       program foo
14650       real, parameter :: bar = sin (12.34 / 2.5)
14651       end program foo
14652 _ACEOF
14653 if ac_fn_fc_try_compile "$LINENO"; then :
14654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14655 $as_echo "yes" >&6; }
14656 else
14657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14658 $as_echo "no" >&6; }
14659      as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
14660
14661 fi
14662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14663 ac_ext=c
14664 ac_cpp='$CPP $CPPFLAGS'
14665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14668
14669
14670
14671 # Check whether --enable-largefile was given.
14672 if test "${enable_largefile+set}" = set; then :
14673   enableval=$enable_largefile;
14674 fi
14675
14676 if test "$enable_largefile" != no; then
14677
14678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14679 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14680 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
14681   $as_echo_n "(cached) " >&6
14682 else
14683   ac_cv_sys_largefile_CC=no
14684      if test "$GCC" != yes; then
14685        ac_save_CC=$CC
14686        while :; do
14687          # IRIX 6.2 and later do not support large files by default,
14688          # so use the C compiler's -n32 option if that helps.
14689          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14690 /* end confdefs.h.  */
14691 #include <sys/types.h>
14692  /* Check that off_t can represent 2**63 - 1 correctly.
14693     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14694     since some C++ compilers masquerading as C compilers
14695     incorrectly reject 9223372036854775807.  */
14696 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14697   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14698                        && LARGE_OFF_T % 2147483647 == 1)
14699                       ? 1 : -1];
14700 int
14701 main ()
14702 {
14703
14704   ;
14705   return 0;
14706 }
14707 _ACEOF
14708          if ac_fn_c_try_compile "$LINENO"; then :
14709   break
14710 fi
14711 rm -f core conftest.err conftest.$ac_objext
14712          CC="$CC -n32"
14713          if ac_fn_c_try_compile "$LINENO"; then :
14714   ac_cv_sys_largefile_CC=' -n32'; break
14715 fi
14716 rm -f core conftest.err conftest.$ac_objext
14717          break
14718        done
14719        CC=$ac_save_CC
14720        rm -f conftest.$ac_ext
14721     fi
14722 fi
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14724 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
14725   if test "$ac_cv_sys_largefile_CC" != no; then
14726     CC=$CC$ac_cv_sys_largefile_CC
14727   fi
14728
14729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14730 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14731 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
14732   $as_echo_n "(cached) " >&6
14733 else
14734   while :; do
14735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14736 /* end confdefs.h.  */
14737 #include <sys/types.h>
14738  /* Check that off_t can represent 2**63 - 1 correctly.
14739     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14740     since some C++ compilers masquerading as C compilers
14741     incorrectly reject 9223372036854775807.  */
14742 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14743   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14744                        && LARGE_OFF_T % 2147483647 == 1)
14745                       ? 1 : -1];
14746 int
14747 main ()
14748 {
14749
14750   ;
14751   return 0;
14752 }
14753 _ACEOF
14754 if ac_fn_c_try_compile "$LINENO"; then :
14755   ac_cv_sys_file_offset_bits=no; break
14756 fi
14757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14759 /* end confdefs.h.  */
14760 #define _FILE_OFFSET_BITS 64
14761 #include <sys/types.h>
14762  /* Check that off_t can represent 2**63 - 1 correctly.
14763     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14764     since some C++ compilers masquerading as C compilers
14765     incorrectly reject 9223372036854775807.  */
14766 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14767   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14768                        && LARGE_OFF_T % 2147483647 == 1)
14769                       ? 1 : -1];
14770 int
14771 main ()
14772 {
14773
14774   ;
14775   return 0;
14776 }
14777 _ACEOF
14778 if ac_fn_c_try_compile "$LINENO"; then :
14779   ac_cv_sys_file_offset_bits=64; break
14780 fi
14781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14782   ac_cv_sys_file_offset_bits=unknown
14783   break
14784 done
14785 fi
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14787 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14788 case $ac_cv_sys_file_offset_bits in #(
14789   no | unknown) ;;
14790   *)
14791 cat >>confdefs.h <<_ACEOF
14792 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14793 _ACEOF
14794 ;;
14795 esac
14796 rm -rf conftest*
14797   if test $ac_cv_sys_file_offset_bits = unknown; then
14798     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14799 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14800 if test "${ac_cv_sys_large_files+set}" = set; then :
14801   $as_echo_n "(cached) " >&6
14802 else
14803   while :; do
14804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14805 /* end confdefs.h.  */
14806 #include <sys/types.h>
14807  /* Check that off_t can represent 2**63 - 1 correctly.
14808     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14809     since some C++ compilers masquerading as C compilers
14810     incorrectly reject 9223372036854775807.  */
14811 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14812   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14813                        && LARGE_OFF_T % 2147483647 == 1)
14814                       ? 1 : -1];
14815 int
14816 main ()
14817 {
14818
14819   ;
14820   return 0;
14821 }
14822 _ACEOF
14823 if ac_fn_c_try_compile "$LINENO"; then :
14824   ac_cv_sys_large_files=no; break
14825 fi
14826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14828 /* end confdefs.h.  */
14829 #define _LARGE_FILES 1
14830 #include <sys/types.h>
14831  /* Check that off_t can represent 2**63 - 1 correctly.
14832     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14833     since some C++ compilers masquerading as C compilers
14834     incorrectly reject 9223372036854775807.  */
14835 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14836   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14837                        && LARGE_OFF_T % 2147483647 == 1)
14838                       ? 1 : -1];
14839 int
14840 main ()
14841 {
14842
14843   ;
14844   return 0;
14845 }
14846 _ACEOF
14847 if ac_fn_c_try_compile "$LINENO"; then :
14848   ac_cv_sys_large_files=1; break
14849 fi
14850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14851   ac_cv_sys_large_files=unknown
14852   break
14853 done
14854 fi
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14856 $as_echo "$ac_cv_sys_large_files" >&6; }
14857 case $ac_cv_sys_large_files in #(
14858   no | unknown) ;;
14859   *)
14860 cat >>confdefs.h <<_ACEOF
14861 #define _LARGE_FILES $ac_cv_sys_large_files
14862 _ACEOF
14863 ;;
14864 esac
14865 rm -rf conftest*
14866   fi
14867 fi
14868
14869 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14870 if test "x$ac_cv_type_off_t" = x""yes; then :
14871
14872 else
14873
14874 cat >>confdefs.h <<_ACEOF
14875 #define off_t long int
14876 _ACEOF
14877
14878 fi
14879
14880
14881 # check header files
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14883 $as_echo_n "checking for ANSI C header files... " >&6; }
14884 if test "${ac_cv_header_stdc+set}" = set; then :
14885   $as_echo_n "(cached) " >&6
14886 else
14887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14888 /* end confdefs.h.  */
14889 #include <stdlib.h>
14890 #include <stdarg.h>
14891 #include <string.h>
14892 #include <float.h>
14893
14894 int
14895 main ()
14896 {
14897
14898   ;
14899   return 0;
14900 }
14901 _ACEOF
14902 if ac_fn_c_try_compile "$LINENO"; then :
14903   ac_cv_header_stdc=yes
14904 else
14905   ac_cv_header_stdc=no
14906 fi
14907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14908
14909 if test $ac_cv_header_stdc = yes; then
14910   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14912 /* end confdefs.h.  */
14913 #include <string.h>
14914
14915 _ACEOF
14916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14917   $EGREP "memchr" >/dev/null 2>&1; then :
14918
14919 else
14920   ac_cv_header_stdc=no
14921 fi
14922 rm -f conftest*
14923
14924 fi
14925
14926 if test $ac_cv_header_stdc = yes; then
14927   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14929 /* end confdefs.h.  */
14930 #include <stdlib.h>
14931
14932 _ACEOF
14933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14934   $EGREP "free" >/dev/null 2>&1; then :
14935
14936 else
14937   ac_cv_header_stdc=no
14938 fi
14939 rm -f conftest*
14940
14941 fi
14942
14943 if test $ac_cv_header_stdc = yes; then
14944   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14945   if test "$cross_compiling" = yes; then :
14946   :
14947 else
14948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h.  */
14950 #include <ctype.h>
14951 #include <stdlib.h>
14952 #if ((' ' & 0x0FF) == 0x020)
14953 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14954 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14955 #else
14956 # define ISLOWER(c) \
14957                    (('a' <= (c) && (c) <= 'i') \
14958                      || ('j' <= (c) && (c) <= 'r') \
14959                      || ('s' <= (c) && (c) <= 'z'))
14960 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14961 #endif
14962
14963 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14964 int
14965 main ()
14966 {
14967   int i;
14968   for (i = 0; i < 256; i++)
14969     if (XOR (islower (i), ISLOWER (i))
14970         || toupper (i) != TOUPPER (i))
14971       return 2;
14972   return 0;
14973 }
14974 _ACEOF
14975 if ac_fn_c_try_run "$LINENO"; then :
14976
14977 else
14978   ac_cv_header_stdc=no
14979 fi
14980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14981   conftest.$ac_objext conftest.beam conftest.$ac_ext
14982 fi
14983
14984 fi
14985 fi
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14987 $as_echo "$ac_cv_header_stdc" >&6; }
14988 if test $ac_cv_header_stdc = yes; then
14989
14990 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14991
14992 fi
14993
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14995 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14996 if test "${ac_cv_header_time+set}" = set; then :
14997   $as_echo_n "(cached) " >&6
14998 else
14999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15000 /* end confdefs.h.  */
15001 #include <sys/types.h>
15002 #include <sys/time.h>
15003 #include <time.h>
15004
15005 int
15006 main ()
15007 {
15008 if ((struct tm *) 0)
15009 return 0;
15010   ;
15011   return 0;
15012 }
15013 _ACEOF
15014 if ac_fn_c_try_compile "$LINENO"; then :
15015   ac_cv_header_time=yes
15016 else
15017   ac_cv_header_time=no
15018 fi
15019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15020 fi
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
15022 $as_echo "$ac_cv_header_time" >&6; }
15023 if test $ac_cv_header_time = yes; then
15024
15025 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
15026
15027 fi
15028
15029 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
15030 do :
15031   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15032 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15033 eval as_val=\$$as_ac_Header
15034    if test "x$as_val" = x""yes; then :
15035   cat >>confdefs.h <<_ACEOF
15036 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15037 _ACEOF
15038
15039 fi
15040
15041 done
15042
15043 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
15044 do :
15045   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15046 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15047 eval as_val=\$$as_ac_Header
15048    if test "x$as_val" = x""yes; then :
15049   cat >>confdefs.h <<_ACEOF
15050 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15051 _ACEOF
15052
15053 fi
15054
15055 done
15056
15057 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15058 do :
15059   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15060 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15061 eval as_val=\$$as_ac_Header
15062    if test "x$as_val" = x""yes; then :
15063   cat >>confdefs.h <<_ACEOF
15064 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15065 _ACEOF
15066
15067 fi
15068
15069 done
15070
15071 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15072 do :
15073   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15074 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15075 eval as_val=\$$as_ac_Header
15076    if test "x$as_val" = x""yes; then :
15077   cat >>confdefs.h <<_ACEOF
15078 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15079 _ACEOF
15080
15081 fi
15082
15083 done
15084
15085 ac_fn_c_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
15086 if test "x$ac_cv_header_complex_h" = x""yes; then :
15087
15088 $as_echo "#define HAVE_COMPLEX_H 1" >>confdefs.h
15089
15090 fi
15091
15092
15093
15094
15095 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
15096
15097 acx_cv_header_stdint=stddef.h
15098 acx_cv_header_stdint_kind="(already complete)"
15099 for i in stdint.h $inttype_headers; do
15100   unset ac_cv_type_uintptr_t
15101   unset ac_cv_type_uintmax_t
15102   unset ac_cv_type_int_least32_t
15103   unset ac_cv_type_int_fast32_t
15104   unset ac_cv_type_uint64_t
15105   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15106   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15107 #include <$i>
15108 "
15109 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
15110   acx_cv_header_stdint=$i
15111 else
15112   continue
15113 fi
15114
15115   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15116 #include <$i>
15117 "
15118 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15119
15120 else
15121   acx_cv_header_stdint_kind="(mostly complete)"
15122 fi
15123
15124   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15125 #include <$i>
15126 "
15127 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
15128
15129 else
15130   acx_cv_header_stdint_kind="(mostly complete)"
15131 fi
15132
15133   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15134 #include <$i>
15135 "
15136 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
15137
15138 else
15139   acx_cv_header_stdint_kind="(mostly complete)"
15140 fi
15141
15142   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15143 #include <$i>
15144 "
15145 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15146
15147 else
15148   acx_cv_header_stdint_kind="(lacks uint64_t)"
15149 fi
15150
15151   break
15152 done
15153 if test "$acx_cv_header_stdint" = stddef.h; then
15154   acx_cv_header_stdint_kind="(lacks uintmax_t)"
15155   for i in stdint.h $inttype_headers; do
15156     unset ac_cv_type_uintptr_t
15157     unset ac_cv_type_uint32_t
15158     unset ac_cv_type_uint64_t
15159     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15160     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15161 #include <$i>
15162 "
15163 if test "x$ac_cv_type_uint32_t" = x""yes; then :
15164   acx_cv_header_stdint=$i
15165 else
15166   continue
15167 fi
15168
15169     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15170 #include <$i>
15171 "
15172 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15173
15174 fi
15175
15176     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15177 #include <$i>
15178 "
15179 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15180
15181 fi
15182
15183     break
15184   done
15185 fi
15186 if test "$acx_cv_header_stdint" = stddef.h; then
15187   acx_cv_header_stdint_kind="(u_intXX_t style)"
15188   for i in sys/types.h $inttype_headers; do
15189     unset ac_cv_type_u_int32_t
15190     unset ac_cv_type_u_int64_t
15191     $as_echo_n "looking for u_intXX_t types in $i, " >&6
15192     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15193 #include <$i>
15194 "
15195 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
15196   acx_cv_header_stdint=$i
15197 else
15198   continue
15199 fi
15200
15201     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15202 #include <$i>
15203 "
15204 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
15205
15206 fi
15207
15208     break
15209   done
15210 fi
15211 if test "$acx_cv_header_stdint" = stddef.h; then
15212   acx_cv_header_stdint_kind="(using manual detection)"
15213 fi
15214
15215 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15216 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15217 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15218 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15219 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15220
15221 # ----------------- Summarize what we found so far
15222
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15224 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15225
15226 case `$as_basename -- gstdint.h ||
15227 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15228          Xgstdint.h : 'X\(//\)$' \| \
15229          Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15230 $as_echo X/gstdint.h |
15231     sed '/^.*\/\([^/][^/]*\)\/*$/{
15232             s//\1/
15233             q
15234           }
15235           /^X\/\(\/\/\)$/{
15236             s//\1/
15237             q
15238           }
15239           /^X\/\(\/\).*/{
15240             s//\1/
15241             q
15242           }
15243           s/.*/./; q'` in
15244   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15245 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15246   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15247 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15248   *) ;;
15249 esac
15250
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15252 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15253
15254 # ----------------- done included file, check C basic types --------
15255
15256 # Lacking an uintptr_t?  Test size of void *
15257 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15258   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
15259 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15260 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15261 # This bug is HP SR number 8606223364.
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15263 $as_echo_n "checking size of void *... " >&6; }
15264 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15265   $as_echo_n "(cached) " >&6
15266 else
15267   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
15268
15269 else
15270   if test "$ac_cv_type_void_p" = yes; then
15271      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15273 { as_fn_set_status 77
15274 as_fn_error "cannot compute sizeof (void *)
15275 See \`config.log' for more details." "$LINENO" 5; }; }
15276    else
15277      ac_cv_sizeof_void_p=0
15278    fi
15279 fi
15280
15281 fi
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15283 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15284
15285
15286
15287 cat >>confdefs.h <<_ACEOF
15288 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15289 _ACEOF
15290
15291  ;;
15292 esac
15293
15294 # Lacking an uint64_t?  Test size of long
15295 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15296   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
15297 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15298 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15299 # This bug is HP SR number 8606223364.
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15301 $as_echo_n "checking size of long... " >&6; }
15302 if test "${ac_cv_sizeof_long+set}" = set; then :
15303   $as_echo_n "(cached) " >&6
15304 else
15305   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
15306
15307 else
15308   if test "$ac_cv_type_long" = yes; then
15309      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15311 { as_fn_set_status 77
15312 as_fn_error "cannot compute sizeof (long)
15313 See \`config.log' for more details." "$LINENO" 5; }; }
15314    else
15315      ac_cv_sizeof_long=0
15316    fi
15317 fi
15318
15319 fi
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15321 $as_echo "$ac_cv_sizeof_long" >&6; }
15322
15323
15324
15325 cat >>confdefs.h <<_ACEOF
15326 #define SIZEOF_LONG $ac_cv_sizeof_long
15327 _ACEOF
15328
15329  ;;
15330 esac
15331
15332 if test $acx_cv_header_stdint = stddef.h; then
15333   # Lacking a good header?  Test size of everything and deduce all types.
15334   # The cast to long int works around a bug in the HP C Compiler
15335 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15336 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15337 # This bug is HP SR number 8606223364.
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15339 $as_echo_n "checking size of int... " >&6; }
15340 if test "${ac_cv_sizeof_int+set}" = set; then :
15341   $as_echo_n "(cached) " >&6
15342 else
15343   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
15344
15345 else
15346   if test "$ac_cv_type_int" = yes; then
15347      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15349 { as_fn_set_status 77
15350 as_fn_error "cannot compute sizeof (int)
15351 See \`config.log' for more details." "$LINENO" 5; }; }
15352    else
15353      ac_cv_sizeof_int=0
15354    fi
15355 fi
15356
15357 fi
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15359 $as_echo "$ac_cv_sizeof_int" >&6; }
15360
15361
15362
15363 cat >>confdefs.h <<_ACEOF
15364 #define SIZEOF_INT $ac_cv_sizeof_int
15365 _ACEOF
15366
15367
15368   # The cast to long int works around a bug in the HP C Compiler
15369 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15370 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15371 # This bug is HP SR number 8606223364.
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15373 $as_echo_n "checking size of short... " >&6; }
15374 if test "${ac_cv_sizeof_short+set}" = set; then :
15375   $as_echo_n "(cached) " >&6
15376 else
15377   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
15378
15379 else
15380   if test "$ac_cv_type_short" = yes; then
15381      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15383 { as_fn_set_status 77
15384 as_fn_error "cannot compute sizeof (short)
15385 See \`config.log' for more details." "$LINENO" 5; }; }
15386    else
15387      ac_cv_sizeof_short=0
15388    fi
15389 fi
15390
15391 fi
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15393 $as_echo "$ac_cv_sizeof_short" >&6; }
15394
15395
15396
15397 cat >>confdefs.h <<_ACEOF
15398 #define SIZEOF_SHORT $ac_cv_sizeof_short
15399 _ACEOF
15400
15401
15402   # The cast to long int works around a bug in the HP C Compiler
15403 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15404 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15405 # This bug is HP SR number 8606223364.
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
15407 $as_echo_n "checking size of char... " >&6; }
15408 if test "${ac_cv_sizeof_char+set}" = set; then :
15409   $as_echo_n "(cached) " >&6
15410 else
15411   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
15412
15413 else
15414   if test "$ac_cv_type_char" = yes; then
15415      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15417 { as_fn_set_status 77
15418 as_fn_error "cannot compute sizeof (char)
15419 See \`config.log' for more details." "$LINENO" 5; }; }
15420    else
15421      ac_cv_sizeof_char=0
15422    fi
15423 fi
15424
15425 fi
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
15427 $as_echo "$ac_cv_sizeof_char" >&6; }
15428
15429
15430
15431 cat >>confdefs.h <<_ACEOF
15432 #define SIZEOF_CHAR $ac_cv_sizeof_char
15433 _ACEOF
15434
15435
15436
15437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
15438 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
15439   case "$ac_cv_sizeof_char" in
15440     1) acx_cv_type_int8_t=char ;;
15441     *) { as_fn_set_status please report a bug
15442 as_fn_error "no 8-bit type" "$LINENO" 5; }
15443   esac
15444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
15445 $as_echo "$acx_cv_type_int8_t" >&6; }
15446
15447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
15448 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
15449   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15450     2:*) acx_cv_type_int16_t=int ;;
15451     *:2) acx_cv_type_int16_t=short ;;
15452     *) { as_fn_set_status please report a bug
15453 as_fn_error "no 16-bit type" "$LINENO" 5; }
15454   esac
15455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
15456 $as_echo "$acx_cv_type_int16_t" >&6; }
15457
15458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
15459 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
15460   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15461     4:*) acx_cv_type_int32_t=int ;;
15462     *:4) acx_cv_type_int32_t=long ;;
15463     *) { as_fn_set_status please report a bug
15464 as_fn_error "no 32-bit type" "$LINENO" 5; }
15465   esac
15466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
15467 $as_echo "$acx_cv_type_int32_t" >&6; }
15468 fi
15469
15470 # These tests are here to make the output prettier
15471
15472 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15473   case "$ac_cv_sizeof_long" in
15474     8) acx_cv_type_int64_t=long ;;
15475   esac
15476   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
15477 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
15478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15479 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
15480 fi
15481
15482 # Now we can use the above types
15483
15484 if test "$ac_cv_type_uintptr_t" != yes; then
15485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
15486 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
15487   case $ac_cv_sizeof_void_p in
15488     2) acx_cv_type_intptr_t=int16_t ;;
15489     4) acx_cv_type_intptr_t=int32_t ;;
15490     8) acx_cv_type_intptr_t=int64_t ;;
15491     *) { as_fn_set_status please report a bug
15492 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
15493   esac
15494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
15495 $as_echo "$acx_cv_type_intptr_t" >&6; }
15496 fi
15497
15498 # ----------------- done all checks, emit header -------------
15499 ac_config_commands="$ac_config_commands gstdint.h"
15500
15501
15502
15503
15504 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
15505 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
15506
15507 cat >>confdefs.h <<_ACEOF
15508 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15509 _ACEOF
15510
15511
15512 fi
15513
15514 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15515 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
15516
15517 cat >>confdefs.h <<_ACEOF
15518 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15519 _ACEOF
15520
15521
15522 fi
15523
15524 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
15525 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
15526
15527 cat >>confdefs.h <<_ACEOF
15528 #define HAVE_STRUCT_STAT_ST_RDEV 1
15529 _ACEOF
15530
15531
15532 fi
15533
15534
15535 # Check for library functions.
15536 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
15537 do :
15538   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15539 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15540 eval as_val=\$$as_ac_var
15541    if test "x$as_val" = x""yes; then :
15542   cat >>confdefs.h <<_ACEOF
15543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15544 _ACEOF
15545
15546 fi
15547 done
15548
15549 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
15550 do :
15551   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15552 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15553 eval as_val=\$$as_ac_var
15554    if test "x$as_val" = x""yes; then :
15555   cat >>confdefs.h <<_ACEOF
15556 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15557 _ACEOF
15558
15559 fi
15560 done
15561
15562 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
15563 do :
15564   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15565 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15566 eval as_val=\$$as_ac_var
15567    if test "x$as_val" = x""yes; then :
15568   cat >>confdefs.h <<_ACEOF
15569 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15570 _ACEOF
15571
15572 fi
15573 done
15574
15575 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
15576 do :
15577   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15578 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15579 eval as_val=\$$as_ac_var
15580    if test "x$as_val" = x""yes; then :
15581   cat >>confdefs.h <<_ACEOF
15582 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15583 _ACEOF
15584
15585 fi
15586 done
15587
15588 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
15589 do :
15590   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15591 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15592 eval as_val=\$$as_ac_var
15593    if test "x$as_val" = x""yes; then :
15594   cat >>confdefs.h <<_ACEOF
15595 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15596 _ACEOF
15597
15598 fi
15599 done
15600
15601 for ac_func in localtime_r gmtime_r
15602 do :
15603   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15604 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15605 eval as_val=\$$as_ac_var
15606    if test "x$as_val" = x""yes; then :
15607   cat >>confdefs.h <<_ACEOF
15608 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15609 _ACEOF
15610
15611 fi
15612 done
15613
15614
15615 # Check for glibc backtrace functions
15616 for ac_func in backtrace backtrace_symbols
15617 do :
15618   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15619 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15620 eval as_val=\$$as_ac_var
15621    if test "x$as_val" = x""yes; then :
15622   cat >>confdefs.h <<_ACEOF
15623 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15624 _ACEOF
15625
15626 fi
15627 done
15628
15629
15630 # Check for types
15631 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15632 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15633
15634 cat >>confdefs.h <<_ACEOF
15635 #define HAVE_INTPTR_T 1
15636 _ACEOF
15637
15638
15639 fi
15640
15641 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15642 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15643
15644 cat >>confdefs.h <<_ACEOF
15645 #define HAVE_UINTPTR_T 1
15646 _ACEOF
15647
15648
15649 fi
15650
15651
15652 # Check libc for getgid, getpid, getuid
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
15654 $as_echo_n "checking for getgid in -lc... " >&6; }
15655 if test "${ac_cv_lib_c_getgid+set}" = set; then :
15656   $as_echo_n "(cached) " >&6
15657 else
15658   ac_check_lib_save_LIBS=$LIBS
15659 LIBS="-lc  $LIBS"
15660 if test x$gcc_no_link = xyes; then
15661   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15662 fi
15663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15664 /* end confdefs.h.  */
15665
15666 /* Override any GCC internal prototype to avoid an error.
15667    Use char because int might match the return type of a GCC
15668    builtin and then its argument prototype would still apply.  */
15669 #ifdef __cplusplus
15670 extern "C"
15671 #endif
15672 char getgid ();
15673 int
15674 main ()
15675 {
15676 return getgid ();
15677   ;
15678   return 0;
15679 }
15680 _ACEOF
15681 if ac_fn_c_try_link "$LINENO"; then :
15682   ac_cv_lib_c_getgid=yes
15683 else
15684   ac_cv_lib_c_getgid=no
15685 fi
15686 rm -f core conftest.err conftest.$ac_objext \
15687     conftest$ac_exeext conftest.$ac_ext
15688 LIBS=$ac_check_lib_save_LIBS
15689 fi
15690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
15691 $as_echo "$ac_cv_lib_c_getgid" >&6; }
15692 if test "x$ac_cv_lib_c_getgid" = x""yes; then :
15693
15694 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
15695
15696 fi
15697
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
15699 $as_echo_n "checking for getpid in -lc... " >&6; }
15700 if test "${ac_cv_lib_c_getpid+set}" = set; then :
15701   $as_echo_n "(cached) " >&6
15702 else
15703   ac_check_lib_save_LIBS=$LIBS
15704 LIBS="-lc  $LIBS"
15705 if test x$gcc_no_link = xyes; then
15706   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15707 fi
15708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15709 /* end confdefs.h.  */
15710
15711 /* Override any GCC internal prototype to avoid an error.
15712    Use char because int might match the return type of a GCC
15713    builtin and then its argument prototype would still apply.  */
15714 #ifdef __cplusplus
15715 extern "C"
15716 #endif
15717 char getpid ();
15718 int
15719 main ()
15720 {
15721 return getpid ();
15722   ;
15723   return 0;
15724 }
15725 _ACEOF
15726 if ac_fn_c_try_link "$LINENO"; then :
15727   ac_cv_lib_c_getpid=yes
15728 else
15729   ac_cv_lib_c_getpid=no
15730 fi
15731 rm -f core conftest.err conftest.$ac_objext \
15732     conftest$ac_exeext conftest.$ac_ext
15733 LIBS=$ac_check_lib_save_LIBS
15734 fi
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
15736 $as_echo "$ac_cv_lib_c_getpid" >&6; }
15737 if test "x$ac_cv_lib_c_getpid" = x""yes; then :
15738
15739 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
15740
15741 fi
15742
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getppid in -lc" >&5
15744 $as_echo_n "checking for getppid in -lc... " >&6; }
15745 if test "${ac_cv_lib_c_getppid+set}" = set; then :
15746   $as_echo_n "(cached) " >&6
15747 else
15748   ac_check_lib_save_LIBS=$LIBS
15749 LIBS="-lc  $LIBS"
15750 if test x$gcc_no_link = xyes; then
15751   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15752 fi
15753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15754 /* end confdefs.h.  */
15755
15756 /* Override any GCC internal prototype to avoid an error.
15757    Use char because int might match the return type of a GCC
15758    builtin and then its argument prototype would still apply.  */
15759 #ifdef __cplusplus
15760 extern "C"
15761 #endif
15762 char getppid ();
15763 int
15764 main ()
15765 {
15766 return getppid ();
15767   ;
15768   return 0;
15769 }
15770 _ACEOF
15771 if ac_fn_c_try_link "$LINENO"; then :
15772   ac_cv_lib_c_getppid=yes
15773 else
15774   ac_cv_lib_c_getppid=no
15775 fi
15776 rm -f core conftest.err conftest.$ac_objext \
15777     conftest$ac_exeext conftest.$ac_ext
15778 LIBS=$ac_check_lib_save_LIBS
15779 fi
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getppid" >&5
15781 $as_echo "$ac_cv_lib_c_getppid" >&6; }
15782 if test "x$ac_cv_lib_c_getppid" = x""yes; then :
15783
15784 $as_echo "#define HAVE_GETPPID 1" >>confdefs.h
15785
15786 fi
15787
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
15789 $as_echo_n "checking for getuid in -lc... " >&6; }
15790 if test "${ac_cv_lib_c_getuid+set}" = set; then :
15791   $as_echo_n "(cached) " >&6
15792 else
15793   ac_check_lib_save_LIBS=$LIBS
15794 LIBS="-lc  $LIBS"
15795 if test x$gcc_no_link = xyes; then
15796   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15797 fi
15798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15799 /* end confdefs.h.  */
15800
15801 /* Override any GCC internal prototype to avoid an error.
15802    Use char because int might match the return type of a GCC
15803    builtin and then its argument prototype would still apply.  */
15804 #ifdef __cplusplus
15805 extern "C"
15806 #endif
15807 char getuid ();
15808 int
15809 main ()
15810 {
15811 return getuid ();
15812   ;
15813   return 0;
15814 }
15815 _ACEOF
15816 if ac_fn_c_try_link "$LINENO"; then :
15817   ac_cv_lib_c_getuid=yes
15818 else
15819   ac_cv_lib_c_getuid=no
15820 fi
15821 rm -f core conftest.err conftest.$ac_objext \
15822     conftest$ac_exeext conftest.$ac_ext
15823 LIBS=$ac_check_lib_save_LIBS
15824 fi
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
15826 $as_echo "$ac_cv_lib_c_getuid" >&6; }
15827 if test "x$ac_cv_lib_c_getuid" = x""yes; then :
15828
15829 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
15830
15831 fi
15832
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geteuid in -lc" >&5
15834 $as_echo_n "checking for geteuid in -lc... " >&6; }
15835 if test "${ac_cv_lib_c_geteuid+set}" = set; then :
15836   $as_echo_n "(cached) " >&6
15837 else
15838   ac_check_lib_save_LIBS=$LIBS
15839 LIBS="-lc  $LIBS"
15840 if test x$gcc_no_link = xyes; then
15841   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15842 fi
15843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15844 /* end confdefs.h.  */
15845
15846 /* Override any GCC internal prototype to avoid an error.
15847    Use char because int might match the return type of a GCC
15848    builtin and then its argument prototype would still apply.  */
15849 #ifdef __cplusplus
15850 extern "C"
15851 #endif
15852 char geteuid ();
15853 int
15854 main ()
15855 {
15856 return geteuid ();
15857   ;
15858   return 0;
15859 }
15860 _ACEOF
15861 if ac_fn_c_try_link "$LINENO"; then :
15862   ac_cv_lib_c_geteuid=yes
15863 else
15864   ac_cv_lib_c_geteuid=no
15865 fi
15866 rm -f core conftest.err conftest.$ac_objext \
15867     conftest$ac_exeext conftest.$ac_ext
15868 LIBS=$ac_check_lib_save_LIBS
15869 fi
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_geteuid" >&5
15871 $as_echo "$ac_cv_lib_c_geteuid" >&6; }
15872 if test "x$ac_cv_lib_c_geteuid" = x""yes; then :
15873
15874 $as_echo "#define HAVE_GETEUID 1" >>confdefs.h
15875
15876 fi
15877
15878
15879 # Check for C99 (and other IEEE) math functions
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
15881 $as_echo_n "checking for acosf in -lm... " >&6; }
15882 if test "${ac_cv_lib_m_acosf+set}" = set; then :
15883   $as_echo_n "(cached) " >&6
15884 else
15885   ac_check_lib_save_LIBS=$LIBS
15886 LIBS="-lm  $LIBS"
15887 if test x$gcc_no_link = xyes; then
15888   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15889 fi
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h.  */
15892
15893 /* Override any GCC internal prototype to avoid an error.
15894    Use char because int might match the return type of a GCC
15895    builtin and then its argument prototype would still apply.  */
15896 #ifdef __cplusplus
15897 extern "C"
15898 #endif
15899 char acosf ();
15900 int
15901 main ()
15902 {
15903 return acosf ();
15904   ;
15905   return 0;
15906 }
15907 _ACEOF
15908 if ac_fn_c_try_link "$LINENO"; then :
15909   ac_cv_lib_m_acosf=yes
15910 else
15911   ac_cv_lib_m_acosf=no
15912 fi
15913 rm -f core conftest.err conftest.$ac_objext \
15914     conftest$ac_exeext conftest.$ac_ext
15915 LIBS=$ac_check_lib_save_LIBS
15916 fi
15917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
15918 $as_echo "$ac_cv_lib_m_acosf" >&6; }
15919 if test "x$ac_cv_lib_m_acosf" = x""yes; then :
15920
15921 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
15922
15923 fi
15924
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
15926 $as_echo_n "checking for acos in -lm... " >&6; }
15927 if test "${ac_cv_lib_m_acos+set}" = set; then :
15928   $as_echo_n "(cached) " >&6
15929 else
15930   ac_check_lib_save_LIBS=$LIBS
15931 LIBS="-lm  $LIBS"
15932 if test x$gcc_no_link = xyes; then
15933   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15934 fi
15935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15936 /* end confdefs.h.  */
15937
15938 /* Override any GCC internal prototype to avoid an error.
15939    Use char because int might match the return type of a GCC
15940    builtin and then its argument prototype would still apply.  */
15941 #ifdef __cplusplus
15942 extern "C"
15943 #endif
15944 char acos ();
15945 int
15946 main ()
15947 {
15948 return acos ();
15949   ;
15950   return 0;
15951 }
15952 _ACEOF
15953 if ac_fn_c_try_link "$LINENO"; then :
15954   ac_cv_lib_m_acos=yes
15955 else
15956   ac_cv_lib_m_acos=no
15957 fi
15958 rm -f core conftest.err conftest.$ac_objext \
15959     conftest$ac_exeext conftest.$ac_ext
15960 LIBS=$ac_check_lib_save_LIBS
15961 fi
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
15963 $as_echo "$ac_cv_lib_m_acos" >&6; }
15964 if test "x$ac_cv_lib_m_acos" = x""yes; then :
15965
15966 $as_echo "#define HAVE_ACOS 1" >>confdefs.h
15967
15968 fi
15969
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
15971 $as_echo_n "checking for acosl in -lm... " >&6; }
15972 if test "${ac_cv_lib_m_acosl+set}" = set; then :
15973   $as_echo_n "(cached) " >&6
15974 else
15975   ac_check_lib_save_LIBS=$LIBS
15976 LIBS="-lm  $LIBS"
15977 if test x$gcc_no_link = xyes; then
15978   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15979 fi
15980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15981 /* end confdefs.h.  */
15982
15983 /* Override any GCC internal prototype to avoid an error.
15984    Use char because int might match the return type of a GCC
15985    builtin and then its argument prototype would still apply.  */
15986 #ifdef __cplusplus
15987 extern "C"
15988 #endif
15989 char acosl ();
15990 int
15991 main ()
15992 {
15993 return acosl ();
15994   ;
15995   return 0;
15996 }
15997 _ACEOF
15998 if ac_fn_c_try_link "$LINENO"; then :
15999   ac_cv_lib_m_acosl=yes
16000 else
16001   ac_cv_lib_m_acosl=no
16002 fi
16003 rm -f core conftest.err conftest.$ac_objext \
16004     conftest$ac_exeext conftest.$ac_ext
16005 LIBS=$ac_check_lib_save_LIBS
16006 fi
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosl" >&5
16008 $as_echo "$ac_cv_lib_m_acosl" >&6; }
16009 if test "x$ac_cv_lib_m_acosl" = x""yes; then :
16010
16011 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
16012
16013 fi
16014
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
16016 $as_echo_n "checking for acoshf in -lm... " >&6; }
16017 if test "${ac_cv_lib_m_acoshf+set}" = set; then :
16018   $as_echo_n "(cached) " >&6
16019 else
16020   ac_check_lib_save_LIBS=$LIBS
16021 LIBS="-lm  $LIBS"
16022 if test x$gcc_no_link = xyes; then
16023   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16024 fi
16025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16026 /* end confdefs.h.  */
16027
16028 /* Override any GCC internal prototype to avoid an error.
16029    Use char because int might match the return type of a GCC
16030    builtin and then its argument prototype would still apply.  */
16031 #ifdef __cplusplus
16032 extern "C"
16033 #endif
16034 char acoshf ();
16035 int
16036 main ()
16037 {
16038 return acoshf ();
16039   ;
16040   return 0;
16041 }
16042 _ACEOF
16043 if ac_fn_c_try_link "$LINENO"; then :
16044   ac_cv_lib_m_acoshf=yes
16045 else
16046   ac_cv_lib_m_acoshf=no
16047 fi
16048 rm -f core conftest.err conftest.$ac_objext \
16049     conftest$ac_exeext conftest.$ac_ext
16050 LIBS=$ac_check_lib_save_LIBS
16051 fi
16052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshf" >&5
16053 $as_echo "$ac_cv_lib_m_acoshf" >&6; }
16054 if test "x$ac_cv_lib_m_acoshf" = x""yes; then :
16055
16056 $as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16057
16058 fi
16059
16060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16061 $as_echo_n "checking for acosh in -lm... " >&6; }
16062 if test "${ac_cv_lib_m_acosh+set}" = set; then :
16063   $as_echo_n "(cached) " >&6
16064 else
16065   ac_check_lib_save_LIBS=$LIBS
16066 LIBS="-lm  $LIBS"
16067 if test x$gcc_no_link = xyes; then
16068   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16069 fi
16070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16071 /* end confdefs.h.  */
16072
16073 /* Override any GCC internal prototype to avoid an error.
16074    Use char because int might match the return type of a GCC
16075    builtin and then its argument prototype would still apply.  */
16076 #ifdef __cplusplus
16077 extern "C"
16078 #endif
16079 char acosh ();
16080 int
16081 main ()
16082 {
16083 return acosh ();
16084   ;
16085   return 0;
16086 }
16087 _ACEOF
16088 if ac_fn_c_try_link "$LINENO"; then :
16089   ac_cv_lib_m_acosh=yes
16090 else
16091   ac_cv_lib_m_acosh=no
16092 fi
16093 rm -f core conftest.err conftest.$ac_objext \
16094     conftest$ac_exeext conftest.$ac_ext
16095 LIBS=$ac_check_lib_save_LIBS
16096 fi
16097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosh" >&5
16098 $as_echo "$ac_cv_lib_m_acosh" >&6; }
16099 if test "x$ac_cv_lib_m_acosh" = x""yes; then :
16100
16101 $as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16102
16103 fi
16104
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16106 $as_echo_n "checking for acoshl in -lm... " >&6; }
16107 if test "${ac_cv_lib_m_acoshl+set}" = set; then :
16108   $as_echo_n "(cached) " >&6
16109 else
16110   ac_check_lib_save_LIBS=$LIBS
16111 LIBS="-lm  $LIBS"
16112 if test x$gcc_no_link = xyes; then
16113   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16114 fi
16115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16116 /* end confdefs.h.  */
16117
16118 /* Override any GCC internal prototype to avoid an error.
16119    Use char because int might match the return type of a GCC
16120    builtin and then its argument prototype would still apply.  */
16121 #ifdef __cplusplus
16122 extern "C"
16123 #endif
16124 char acoshl ();
16125 int
16126 main ()
16127 {
16128 return acoshl ();
16129   ;
16130   return 0;
16131 }
16132 _ACEOF
16133 if ac_fn_c_try_link "$LINENO"; then :
16134   ac_cv_lib_m_acoshl=yes
16135 else
16136   ac_cv_lib_m_acoshl=no
16137 fi
16138 rm -f core conftest.err conftest.$ac_objext \
16139     conftest$ac_exeext conftest.$ac_ext
16140 LIBS=$ac_check_lib_save_LIBS
16141 fi
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshl" >&5
16143 $as_echo "$ac_cv_lib_m_acoshl" >&6; }
16144 if test "x$ac_cv_lib_m_acoshl" = x""yes; then :
16145
16146 $as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16147
16148 fi
16149
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16151 $as_echo_n "checking for asinf in -lm... " >&6; }
16152 if test "${ac_cv_lib_m_asinf+set}" = set; then :
16153   $as_echo_n "(cached) " >&6
16154 else
16155   ac_check_lib_save_LIBS=$LIBS
16156 LIBS="-lm  $LIBS"
16157 if test x$gcc_no_link = xyes; then
16158   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16159 fi
16160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16161 /* end confdefs.h.  */
16162
16163 /* Override any GCC internal prototype to avoid an error.
16164    Use char because int might match the return type of a GCC
16165    builtin and then its argument prototype would still apply.  */
16166 #ifdef __cplusplus
16167 extern "C"
16168 #endif
16169 char asinf ();
16170 int
16171 main ()
16172 {
16173 return asinf ();
16174   ;
16175   return 0;
16176 }
16177 _ACEOF
16178 if ac_fn_c_try_link "$LINENO"; then :
16179   ac_cv_lib_m_asinf=yes
16180 else
16181   ac_cv_lib_m_asinf=no
16182 fi
16183 rm -f core conftest.err conftest.$ac_objext \
16184     conftest$ac_exeext conftest.$ac_ext
16185 LIBS=$ac_check_lib_save_LIBS
16186 fi
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinf" >&5
16188 $as_echo "$ac_cv_lib_m_asinf" >&6; }
16189 if test "x$ac_cv_lib_m_asinf" = x""yes; then :
16190
16191 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
16192
16193 fi
16194
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16196 $as_echo_n "checking for asin in -lm... " >&6; }
16197 if test "${ac_cv_lib_m_asin+set}" = set; then :
16198   $as_echo_n "(cached) " >&6
16199 else
16200   ac_check_lib_save_LIBS=$LIBS
16201 LIBS="-lm  $LIBS"
16202 if test x$gcc_no_link = xyes; then
16203   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16204 fi
16205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16206 /* end confdefs.h.  */
16207
16208 /* Override any GCC internal prototype to avoid an error.
16209    Use char because int might match the return type of a GCC
16210    builtin and then its argument prototype would still apply.  */
16211 #ifdef __cplusplus
16212 extern "C"
16213 #endif
16214 char asin ();
16215 int
16216 main ()
16217 {
16218 return asin ();
16219   ;
16220   return 0;
16221 }
16222 _ACEOF
16223 if ac_fn_c_try_link "$LINENO"; then :
16224   ac_cv_lib_m_asin=yes
16225 else
16226   ac_cv_lib_m_asin=no
16227 fi
16228 rm -f core conftest.err conftest.$ac_objext \
16229     conftest$ac_exeext conftest.$ac_ext
16230 LIBS=$ac_check_lib_save_LIBS
16231 fi
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5
16233 $as_echo "$ac_cv_lib_m_asin" >&6; }
16234 if test "x$ac_cv_lib_m_asin" = x""yes; then :
16235
16236 $as_echo "#define HAVE_ASIN 1" >>confdefs.h
16237
16238 fi
16239
16240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
16241 $as_echo_n "checking for asinl in -lm... " >&6; }
16242 if test "${ac_cv_lib_m_asinl+set}" = set; then :
16243   $as_echo_n "(cached) " >&6
16244 else
16245   ac_check_lib_save_LIBS=$LIBS
16246 LIBS="-lm  $LIBS"
16247 if test x$gcc_no_link = xyes; then
16248   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16249 fi
16250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16251 /* end confdefs.h.  */
16252
16253 /* Override any GCC internal prototype to avoid an error.
16254    Use char because int might match the return type of a GCC
16255    builtin and then its argument prototype would still apply.  */
16256 #ifdef __cplusplus
16257 extern "C"
16258 #endif
16259 char asinl ();
16260 int
16261 main ()
16262 {
16263 return asinl ();
16264   ;
16265   return 0;
16266 }
16267 _ACEOF
16268 if ac_fn_c_try_link "$LINENO"; then :
16269   ac_cv_lib_m_asinl=yes
16270 else
16271   ac_cv_lib_m_asinl=no
16272 fi
16273 rm -f core conftest.err conftest.$ac_objext \
16274     conftest$ac_exeext conftest.$ac_ext
16275 LIBS=$ac_check_lib_save_LIBS
16276 fi
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinl" >&5
16278 $as_echo "$ac_cv_lib_m_asinl" >&6; }
16279 if test "x$ac_cv_lib_m_asinl" = x""yes; then :
16280
16281 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
16282
16283 fi
16284
16285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
16286 $as_echo_n "checking for asinhf in -lm... " >&6; }
16287 if test "${ac_cv_lib_m_asinhf+set}" = set; then :
16288   $as_echo_n "(cached) " >&6
16289 else
16290   ac_check_lib_save_LIBS=$LIBS
16291 LIBS="-lm  $LIBS"
16292 if test x$gcc_no_link = xyes; then
16293   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16294 fi
16295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16296 /* end confdefs.h.  */
16297
16298 /* Override any GCC internal prototype to avoid an error.
16299    Use char because int might match the return type of a GCC
16300    builtin and then its argument prototype would still apply.  */
16301 #ifdef __cplusplus
16302 extern "C"
16303 #endif
16304 char asinhf ();
16305 int
16306 main ()
16307 {
16308 return asinhf ();
16309   ;
16310   return 0;
16311 }
16312 _ACEOF
16313 if ac_fn_c_try_link "$LINENO"; then :
16314   ac_cv_lib_m_asinhf=yes
16315 else
16316   ac_cv_lib_m_asinhf=no
16317 fi
16318 rm -f core conftest.err conftest.$ac_objext \
16319     conftest$ac_exeext conftest.$ac_ext
16320 LIBS=$ac_check_lib_save_LIBS
16321 fi
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhf" >&5
16323 $as_echo "$ac_cv_lib_m_asinhf" >&6; }
16324 if test "x$ac_cv_lib_m_asinhf" = x""yes; then :
16325
16326 $as_echo "#define HAVE_ASINHF 1" >>confdefs.h
16327
16328 fi
16329
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
16331 $as_echo_n "checking for asinh in -lm... " >&6; }
16332 if test "${ac_cv_lib_m_asinh+set}" = set; then :
16333   $as_echo_n "(cached) " >&6
16334 else
16335   ac_check_lib_save_LIBS=$LIBS
16336 LIBS="-lm  $LIBS"
16337 if test x$gcc_no_link = xyes; then
16338   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16339 fi
16340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16341 /* end confdefs.h.  */
16342
16343 /* Override any GCC internal prototype to avoid an error.
16344    Use char because int might match the return type of a GCC
16345    builtin and then its argument prototype would still apply.  */
16346 #ifdef __cplusplus
16347 extern "C"
16348 #endif
16349 char asinh ();
16350 int
16351 main ()
16352 {
16353 return asinh ();
16354   ;
16355   return 0;
16356 }
16357 _ACEOF
16358 if ac_fn_c_try_link "$LINENO"; then :
16359   ac_cv_lib_m_asinh=yes
16360 else
16361   ac_cv_lib_m_asinh=no
16362 fi
16363 rm -f core conftest.err conftest.$ac_objext \
16364     conftest$ac_exeext conftest.$ac_ext
16365 LIBS=$ac_check_lib_save_LIBS
16366 fi
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinh" >&5
16368 $as_echo "$ac_cv_lib_m_asinh" >&6; }
16369 if test "x$ac_cv_lib_m_asinh" = x""yes; then :
16370
16371 $as_echo "#define HAVE_ASINH 1" >>confdefs.h
16372
16373 fi
16374
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
16376 $as_echo_n "checking for asinhl in -lm... " >&6; }
16377 if test "${ac_cv_lib_m_asinhl+set}" = set; then :
16378   $as_echo_n "(cached) " >&6
16379 else
16380   ac_check_lib_save_LIBS=$LIBS
16381 LIBS="-lm  $LIBS"
16382 if test x$gcc_no_link = xyes; then
16383   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16384 fi
16385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16386 /* end confdefs.h.  */
16387
16388 /* Override any GCC internal prototype to avoid an error.
16389    Use char because int might match the return type of a GCC
16390    builtin and then its argument prototype would still apply.  */
16391 #ifdef __cplusplus
16392 extern "C"
16393 #endif
16394 char asinhl ();
16395 int
16396 main ()
16397 {
16398 return asinhl ();
16399   ;
16400   return 0;
16401 }
16402 _ACEOF
16403 if ac_fn_c_try_link "$LINENO"; then :
16404   ac_cv_lib_m_asinhl=yes
16405 else
16406   ac_cv_lib_m_asinhl=no
16407 fi
16408 rm -f core conftest.err conftest.$ac_objext \
16409     conftest$ac_exeext conftest.$ac_ext
16410 LIBS=$ac_check_lib_save_LIBS
16411 fi
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhl" >&5
16413 $as_echo "$ac_cv_lib_m_asinhl" >&6; }
16414 if test "x$ac_cv_lib_m_asinhl" = x""yes; then :
16415
16416 $as_echo "#define HAVE_ASINHL 1" >>confdefs.h
16417
16418 fi
16419
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
16421 $as_echo_n "checking for atan2f in -lm... " >&6; }
16422 if test "${ac_cv_lib_m_atan2f+set}" = set; then :
16423   $as_echo_n "(cached) " >&6
16424 else
16425   ac_check_lib_save_LIBS=$LIBS
16426 LIBS="-lm  $LIBS"
16427 if test x$gcc_no_link = xyes; then
16428   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16429 fi
16430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16431 /* end confdefs.h.  */
16432
16433 /* Override any GCC internal prototype to avoid an error.
16434    Use char because int might match the return type of a GCC
16435    builtin and then its argument prototype would still apply.  */
16436 #ifdef __cplusplus
16437 extern "C"
16438 #endif
16439 char atan2f ();
16440 int
16441 main ()
16442 {
16443 return atan2f ();
16444   ;
16445   return 0;
16446 }
16447 _ACEOF
16448 if ac_fn_c_try_link "$LINENO"; then :
16449   ac_cv_lib_m_atan2f=yes
16450 else
16451   ac_cv_lib_m_atan2f=no
16452 fi
16453 rm -f core conftest.err conftest.$ac_objext \
16454     conftest$ac_exeext conftest.$ac_ext
16455 LIBS=$ac_check_lib_save_LIBS
16456 fi
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2f" >&5
16458 $as_echo "$ac_cv_lib_m_atan2f" >&6; }
16459 if test "x$ac_cv_lib_m_atan2f" = x""yes; then :
16460
16461 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
16462
16463 fi
16464
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
16466 $as_echo_n "checking for atan2 in -lm... " >&6; }
16467 if test "${ac_cv_lib_m_atan2+set}" = set; then :
16468   $as_echo_n "(cached) " >&6
16469 else
16470   ac_check_lib_save_LIBS=$LIBS
16471 LIBS="-lm  $LIBS"
16472 if test x$gcc_no_link = xyes; then
16473   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16474 fi
16475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16476 /* end confdefs.h.  */
16477
16478 /* Override any GCC internal prototype to avoid an error.
16479    Use char because int might match the return type of a GCC
16480    builtin and then its argument prototype would still apply.  */
16481 #ifdef __cplusplus
16482 extern "C"
16483 #endif
16484 char atan2 ();
16485 int
16486 main ()
16487 {
16488 return atan2 ();
16489   ;
16490   return 0;
16491 }
16492 _ACEOF
16493 if ac_fn_c_try_link "$LINENO"; then :
16494   ac_cv_lib_m_atan2=yes
16495 else
16496   ac_cv_lib_m_atan2=no
16497 fi
16498 rm -f core conftest.err conftest.$ac_objext \
16499     conftest$ac_exeext conftest.$ac_ext
16500 LIBS=$ac_check_lib_save_LIBS
16501 fi
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
16503 $as_echo "$ac_cv_lib_m_atan2" >&6; }
16504 if test "x$ac_cv_lib_m_atan2" = x""yes; then :
16505
16506 $as_echo "#define HAVE_ATAN2 1" >>confdefs.h
16507
16508 fi
16509
16510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
16511 $as_echo_n "checking for atan2l in -lm... " >&6; }
16512 if test "${ac_cv_lib_m_atan2l+set}" = set; then :
16513   $as_echo_n "(cached) " >&6
16514 else
16515   ac_check_lib_save_LIBS=$LIBS
16516 LIBS="-lm  $LIBS"
16517 if test x$gcc_no_link = xyes; then
16518   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16519 fi
16520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16521 /* end confdefs.h.  */
16522
16523 /* Override any GCC internal prototype to avoid an error.
16524    Use char because int might match the return type of a GCC
16525    builtin and then its argument prototype would still apply.  */
16526 #ifdef __cplusplus
16527 extern "C"
16528 #endif
16529 char atan2l ();
16530 int
16531 main ()
16532 {
16533 return atan2l ();
16534   ;
16535   return 0;
16536 }
16537 _ACEOF
16538 if ac_fn_c_try_link "$LINENO"; then :
16539   ac_cv_lib_m_atan2l=yes
16540 else
16541   ac_cv_lib_m_atan2l=no
16542 fi
16543 rm -f core conftest.err conftest.$ac_objext \
16544     conftest$ac_exeext conftest.$ac_ext
16545 LIBS=$ac_check_lib_save_LIBS
16546 fi
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2l" >&5
16548 $as_echo "$ac_cv_lib_m_atan2l" >&6; }
16549 if test "x$ac_cv_lib_m_atan2l" = x""yes; then :
16550
16551 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
16552
16553 fi
16554
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
16556 $as_echo_n "checking for atanf in -lm... " >&6; }
16557 if test "${ac_cv_lib_m_atanf+set}" = set; then :
16558   $as_echo_n "(cached) " >&6
16559 else
16560   ac_check_lib_save_LIBS=$LIBS
16561 LIBS="-lm  $LIBS"
16562 if test x$gcc_no_link = xyes; then
16563   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16564 fi
16565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16566 /* end confdefs.h.  */
16567
16568 /* Override any GCC internal prototype to avoid an error.
16569    Use char because int might match the return type of a GCC
16570    builtin and then its argument prototype would still apply.  */
16571 #ifdef __cplusplus
16572 extern "C"
16573 #endif
16574 char atanf ();
16575 int
16576 main ()
16577 {
16578 return atanf ();
16579   ;
16580   return 0;
16581 }
16582 _ACEOF
16583 if ac_fn_c_try_link "$LINENO"; then :
16584   ac_cv_lib_m_atanf=yes
16585 else
16586   ac_cv_lib_m_atanf=no
16587 fi
16588 rm -f core conftest.err conftest.$ac_objext \
16589     conftest$ac_exeext conftest.$ac_ext
16590 LIBS=$ac_check_lib_save_LIBS
16591 fi
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanf" >&5
16593 $as_echo "$ac_cv_lib_m_atanf" >&6; }
16594 if test "x$ac_cv_lib_m_atanf" = x""yes; then :
16595
16596 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
16597
16598 fi
16599
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
16601 $as_echo_n "checking for atan in -lm... " >&6; }
16602 if test "${ac_cv_lib_m_atan+set}" = set; then :
16603   $as_echo_n "(cached) " >&6
16604 else
16605   ac_check_lib_save_LIBS=$LIBS
16606 LIBS="-lm  $LIBS"
16607 if test x$gcc_no_link = xyes; then
16608   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16609 fi
16610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16611 /* end confdefs.h.  */
16612
16613 /* Override any GCC internal prototype to avoid an error.
16614    Use char because int might match the return type of a GCC
16615    builtin and then its argument prototype would still apply.  */
16616 #ifdef __cplusplus
16617 extern "C"
16618 #endif
16619 char atan ();
16620 int
16621 main ()
16622 {
16623 return atan ();
16624   ;
16625   return 0;
16626 }
16627 _ACEOF
16628 if ac_fn_c_try_link "$LINENO"; then :
16629   ac_cv_lib_m_atan=yes
16630 else
16631   ac_cv_lib_m_atan=no
16632 fi
16633 rm -f core conftest.err conftest.$ac_objext \
16634     conftest$ac_exeext conftest.$ac_ext
16635 LIBS=$ac_check_lib_save_LIBS
16636 fi
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5
16638 $as_echo "$ac_cv_lib_m_atan" >&6; }
16639 if test "x$ac_cv_lib_m_atan" = x""yes; then :
16640
16641 $as_echo "#define HAVE_ATAN 1" >>confdefs.h
16642
16643 fi
16644
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
16646 $as_echo_n "checking for atanl in -lm... " >&6; }
16647 if test "${ac_cv_lib_m_atanl+set}" = set; then :
16648   $as_echo_n "(cached) " >&6
16649 else
16650   ac_check_lib_save_LIBS=$LIBS
16651 LIBS="-lm  $LIBS"
16652 if test x$gcc_no_link = xyes; then
16653   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16654 fi
16655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16656 /* end confdefs.h.  */
16657
16658 /* Override any GCC internal prototype to avoid an error.
16659    Use char because int might match the return type of a GCC
16660    builtin and then its argument prototype would still apply.  */
16661 #ifdef __cplusplus
16662 extern "C"
16663 #endif
16664 char atanl ();
16665 int
16666 main ()
16667 {
16668 return atanl ();
16669   ;
16670   return 0;
16671 }
16672 _ACEOF
16673 if ac_fn_c_try_link "$LINENO"; then :
16674   ac_cv_lib_m_atanl=yes
16675 else
16676   ac_cv_lib_m_atanl=no
16677 fi
16678 rm -f core conftest.err conftest.$ac_objext \
16679     conftest$ac_exeext conftest.$ac_ext
16680 LIBS=$ac_check_lib_save_LIBS
16681 fi
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanl" >&5
16683 $as_echo "$ac_cv_lib_m_atanl" >&6; }
16684 if test "x$ac_cv_lib_m_atanl" = x""yes; then :
16685
16686 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
16687
16688 fi
16689
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
16691 $as_echo_n "checking for atanhf in -lm... " >&6; }
16692 if test "${ac_cv_lib_m_atanhf+set}" = set; then :
16693   $as_echo_n "(cached) " >&6
16694 else
16695   ac_check_lib_save_LIBS=$LIBS
16696 LIBS="-lm  $LIBS"
16697 if test x$gcc_no_link = xyes; then
16698   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16699 fi
16700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16701 /* end confdefs.h.  */
16702
16703 /* Override any GCC internal prototype to avoid an error.
16704    Use char because int might match the return type of a GCC
16705    builtin and then its argument prototype would still apply.  */
16706 #ifdef __cplusplus
16707 extern "C"
16708 #endif
16709 char atanhf ();
16710 int
16711 main ()
16712 {
16713 return atanhf ();
16714   ;
16715   return 0;
16716 }
16717 _ACEOF
16718 if ac_fn_c_try_link "$LINENO"; then :
16719   ac_cv_lib_m_atanhf=yes
16720 else
16721   ac_cv_lib_m_atanhf=no
16722 fi
16723 rm -f core conftest.err conftest.$ac_objext \
16724     conftest$ac_exeext conftest.$ac_ext
16725 LIBS=$ac_check_lib_save_LIBS
16726 fi
16727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhf" >&5
16728 $as_echo "$ac_cv_lib_m_atanhf" >&6; }
16729 if test "x$ac_cv_lib_m_atanhf" = x""yes; then :
16730
16731 $as_echo "#define HAVE_ATANHF 1" >>confdefs.h
16732
16733 fi
16734
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
16736 $as_echo_n "checking for atanh in -lm... " >&6; }
16737 if test "${ac_cv_lib_m_atanh+set}" = set; then :
16738   $as_echo_n "(cached) " >&6
16739 else
16740   ac_check_lib_save_LIBS=$LIBS
16741 LIBS="-lm  $LIBS"
16742 if test x$gcc_no_link = xyes; then
16743   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16744 fi
16745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16746 /* end confdefs.h.  */
16747
16748 /* Override any GCC internal prototype to avoid an error.
16749    Use char because int might match the return type of a GCC
16750    builtin and then its argument prototype would still apply.  */
16751 #ifdef __cplusplus
16752 extern "C"
16753 #endif
16754 char atanh ();
16755 int
16756 main ()
16757 {
16758 return atanh ();
16759   ;
16760   return 0;
16761 }
16762 _ACEOF
16763 if ac_fn_c_try_link "$LINENO"; then :
16764   ac_cv_lib_m_atanh=yes
16765 else
16766   ac_cv_lib_m_atanh=no
16767 fi
16768 rm -f core conftest.err conftest.$ac_objext \
16769     conftest$ac_exeext conftest.$ac_ext
16770 LIBS=$ac_check_lib_save_LIBS
16771 fi
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanh" >&5
16773 $as_echo "$ac_cv_lib_m_atanh" >&6; }
16774 if test "x$ac_cv_lib_m_atanh" = x""yes; then :
16775
16776 $as_echo "#define HAVE_ATANH 1" >>confdefs.h
16777
16778 fi
16779
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
16781 $as_echo_n "checking for atanhl in -lm... " >&6; }
16782 if test "${ac_cv_lib_m_atanhl+set}" = set; then :
16783   $as_echo_n "(cached) " >&6
16784 else
16785   ac_check_lib_save_LIBS=$LIBS
16786 LIBS="-lm  $LIBS"
16787 if test x$gcc_no_link = xyes; then
16788   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16789 fi
16790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16791 /* end confdefs.h.  */
16792
16793 /* Override any GCC internal prototype to avoid an error.
16794    Use char because int might match the return type of a GCC
16795    builtin and then its argument prototype would still apply.  */
16796 #ifdef __cplusplus
16797 extern "C"
16798 #endif
16799 char atanhl ();
16800 int
16801 main ()
16802 {
16803 return atanhl ();
16804   ;
16805   return 0;
16806 }
16807 _ACEOF
16808 if ac_fn_c_try_link "$LINENO"; then :
16809   ac_cv_lib_m_atanhl=yes
16810 else
16811   ac_cv_lib_m_atanhl=no
16812 fi
16813 rm -f core conftest.err conftest.$ac_objext \
16814     conftest$ac_exeext conftest.$ac_ext
16815 LIBS=$ac_check_lib_save_LIBS
16816 fi
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhl" >&5
16818 $as_echo "$ac_cv_lib_m_atanhl" >&6; }
16819 if test "x$ac_cv_lib_m_atanhl" = x""yes; then :
16820
16821 $as_echo "#define HAVE_ATANHL 1" >>confdefs.h
16822
16823 fi
16824
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
16826 $as_echo_n "checking for cargf in -lm... " >&6; }
16827 if test "${ac_cv_lib_m_cargf+set}" = set; then :
16828   $as_echo_n "(cached) " >&6
16829 else
16830   ac_check_lib_save_LIBS=$LIBS
16831 LIBS="-lm  $LIBS"
16832 if test x$gcc_no_link = xyes; then
16833   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16834 fi
16835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16836 /* end confdefs.h.  */
16837
16838 /* Override any GCC internal prototype to avoid an error.
16839    Use char because int might match the return type of a GCC
16840    builtin and then its argument prototype would still apply.  */
16841 #ifdef __cplusplus
16842 extern "C"
16843 #endif
16844 char cargf ();
16845 int
16846 main ()
16847 {
16848 return cargf ();
16849   ;
16850   return 0;
16851 }
16852 _ACEOF
16853 if ac_fn_c_try_link "$LINENO"; then :
16854   ac_cv_lib_m_cargf=yes
16855 else
16856   ac_cv_lib_m_cargf=no
16857 fi
16858 rm -f core conftest.err conftest.$ac_objext \
16859     conftest$ac_exeext conftest.$ac_ext
16860 LIBS=$ac_check_lib_save_LIBS
16861 fi
16862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargf" >&5
16863 $as_echo "$ac_cv_lib_m_cargf" >&6; }
16864 if test "x$ac_cv_lib_m_cargf" = x""yes; then :
16865
16866 $as_echo "#define HAVE_CARGF 1" >>confdefs.h
16867
16868 fi
16869
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
16871 $as_echo_n "checking for carg in -lm... " >&6; }
16872 if test "${ac_cv_lib_m_carg+set}" = set; then :
16873   $as_echo_n "(cached) " >&6
16874 else
16875   ac_check_lib_save_LIBS=$LIBS
16876 LIBS="-lm  $LIBS"
16877 if test x$gcc_no_link = xyes; then
16878   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16879 fi
16880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16881 /* end confdefs.h.  */
16882
16883 /* Override any GCC internal prototype to avoid an error.
16884    Use char because int might match the return type of a GCC
16885    builtin and then its argument prototype would still apply.  */
16886 #ifdef __cplusplus
16887 extern "C"
16888 #endif
16889 char carg ();
16890 int
16891 main ()
16892 {
16893 return carg ();
16894   ;
16895   return 0;
16896 }
16897 _ACEOF
16898 if ac_fn_c_try_link "$LINENO"; then :
16899   ac_cv_lib_m_carg=yes
16900 else
16901   ac_cv_lib_m_carg=no
16902 fi
16903 rm -f core conftest.err conftest.$ac_objext \
16904     conftest$ac_exeext conftest.$ac_ext
16905 LIBS=$ac_check_lib_save_LIBS
16906 fi
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_carg" >&5
16908 $as_echo "$ac_cv_lib_m_carg" >&6; }
16909 if test "x$ac_cv_lib_m_carg" = x""yes; then :
16910
16911 $as_echo "#define HAVE_CARG 1" >>confdefs.h
16912
16913 fi
16914
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
16916 $as_echo_n "checking for cargl in -lm... " >&6; }
16917 if test "${ac_cv_lib_m_cargl+set}" = set; then :
16918   $as_echo_n "(cached) " >&6
16919 else
16920   ac_check_lib_save_LIBS=$LIBS
16921 LIBS="-lm  $LIBS"
16922 if test x$gcc_no_link = xyes; then
16923   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16924 fi
16925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h.  */
16927
16928 /* Override any GCC internal prototype to avoid an error.
16929    Use char because int might match the return type of a GCC
16930    builtin and then its argument prototype would still apply.  */
16931 #ifdef __cplusplus
16932 extern "C"
16933 #endif
16934 char cargl ();
16935 int
16936 main ()
16937 {
16938 return cargl ();
16939   ;
16940   return 0;
16941 }
16942 _ACEOF
16943 if ac_fn_c_try_link "$LINENO"; then :
16944   ac_cv_lib_m_cargl=yes
16945 else
16946   ac_cv_lib_m_cargl=no
16947 fi
16948 rm -f core conftest.err conftest.$ac_objext \
16949     conftest$ac_exeext conftest.$ac_ext
16950 LIBS=$ac_check_lib_save_LIBS
16951 fi
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargl" >&5
16953 $as_echo "$ac_cv_lib_m_cargl" >&6; }
16954 if test "x$ac_cv_lib_m_cargl" = x""yes; then :
16955
16956 $as_echo "#define HAVE_CARGL 1" >>confdefs.h
16957
16958 fi
16959
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
16961 $as_echo_n "checking for ceilf in -lm... " >&6; }
16962 if test "${ac_cv_lib_m_ceilf+set}" = set; then :
16963   $as_echo_n "(cached) " >&6
16964 else
16965   ac_check_lib_save_LIBS=$LIBS
16966 LIBS="-lm  $LIBS"
16967 if test x$gcc_no_link = xyes; then
16968   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16969 fi
16970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16971 /* end confdefs.h.  */
16972
16973 /* Override any GCC internal prototype to avoid an error.
16974    Use char because int might match the return type of a GCC
16975    builtin and then its argument prototype would still apply.  */
16976 #ifdef __cplusplus
16977 extern "C"
16978 #endif
16979 char ceilf ();
16980 int
16981 main ()
16982 {
16983 return ceilf ();
16984   ;
16985   return 0;
16986 }
16987 _ACEOF
16988 if ac_fn_c_try_link "$LINENO"; then :
16989   ac_cv_lib_m_ceilf=yes
16990 else
16991   ac_cv_lib_m_ceilf=no
16992 fi
16993 rm -f core conftest.err conftest.$ac_objext \
16994     conftest$ac_exeext conftest.$ac_ext
16995 LIBS=$ac_check_lib_save_LIBS
16996 fi
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5
16998 $as_echo "$ac_cv_lib_m_ceilf" >&6; }
16999 if test "x$ac_cv_lib_m_ceilf" = x""yes; then :
17000
17001 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
17002
17003 fi
17004
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
17006 $as_echo_n "checking for ceil in -lm... " >&6; }
17007 if test "${ac_cv_lib_m_ceil+set}" = set; then :
17008   $as_echo_n "(cached) " >&6
17009 else
17010   ac_check_lib_save_LIBS=$LIBS
17011 LIBS="-lm  $LIBS"
17012 if test x$gcc_no_link = xyes; then
17013   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17014 fi
17015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17016 /* end confdefs.h.  */
17017
17018 /* Override any GCC internal prototype to avoid an error.
17019    Use char because int might match the return type of a GCC
17020    builtin and then its argument prototype would still apply.  */
17021 #ifdef __cplusplus
17022 extern "C"
17023 #endif
17024 char ceil ();
17025 int
17026 main ()
17027 {
17028 return ceil ();
17029   ;
17030   return 0;
17031 }
17032 _ACEOF
17033 if ac_fn_c_try_link "$LINENO"; then :
17034   ac_cv_lib_m_ceil=yes
17035 else
17036   ac_cv_lib_m_ceil=no
17037 fi
17038 rm -f core conftest.err conftest.$ac_objext \
17039     conftest$ac_exeext conftest.$ac_ext
17040 LIBS=$ac_check_lib_save_LIBS
17041 fi
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
17043 $as_echo "$ac_cv_lib_m_ceil" >&6; }
17044 if test "x$ac_cv_lib_m_ceil" = x""yes; then :
17045
17046 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
17047
17048 fi
17049
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
17051 $as_echo_n "checking for ceill in -lm... " >&6; }
17052 if test "${ac_cv_lib_m_ceill+set}" = set; then :
17053   $as_echo_n "(cached) " >&6
17054 else
17055   ac_check_lib_save_LIBS=$LIBS
17056 LIBS="-lm  $LIBS"
17057 if test x$gcc_no_link = xyes; then
17058   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17059 fi
17060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17061 /* end confdefs.h.  */
17062
17063 /* Override any GCC internal prototype to avoid an error.
17064    Use char because int might match the return type of a GCC
17065    builtin and then its argument prototype would still apply.  */
17066 #ifdef __cplusplus
17067 extern "C"
17068 #endif
17069 char ceill ();
17070 int
17071 main ()
17072 {
17073 return ceill ();
17074   ;
17075   return 0;
17076 }
17077 _ACEOF
17078 if ac_fn_c_try_link "$LINENO"; then :
17079   ac_cv_lib_m_ceill=yes
17080 else
17081   ac_cv_lib_m_ceill=no
17082 fi
17083 rm -f core conftest.err conftest.$ac_objext \
17084     conftest$ac_exeext conftest.$ac_ext
17085 LIBS=$ac_check_lib_save_LIBS
17086 fi
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceill" >&5
17088 $as_echo "$ac_cv_lib_m_ceill" >&6; }
17089 if test "x$ac_cv_lib_m_ceill" = x""yes; then :
17090
17091 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
17092
17093 fi
17094
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17096 $as_echo_n "checking for copysignf in -lm... " >&6; }
17097 if test "${ac_cv_lib_m_copysignf+set}" = set; then :
17098   $as_echo_n "(cached) " >&6
17099 else
17100   ac_check_lib_save_LIBS=$LIBS
17101 LIBS="-lm  $LIBS"
17102 if test x$gcc_no_link = xyes; then
17103   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17104 fi
17105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17106 /* end confdefs.h.  */
17107
17108 /* Override any GCC internal prototype to avoid an error.
17109    Use char because int might match the return type of a GCC
17110    builtin and then its argument prototype would still apply.  */
17111 #ifdef __cplusplus
17112 extern "C"
17113 #endif
17114 char copysignf ();
17115 int
17116 main ()
17117 {
17118 return copysignf ();
17119   ;
17120   return 0;
17121 }
17122 _ACEOF
17123 if ac_fn_c_try_link "$LINENO"; then :
17124   ac_cv_lib_m_copysignf=yes
17125 else
17126   ac_cv_lib_m_copysignf=no
17127 fi
17128 rm -f core conftest.err conftest.$ac_objext \
17129     conftest$ac_exeext conftest.$ac_ext
17130 LIBS=$ac_check_lib_save_LIBS
17131 fi
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignf" >&5
17133 $as_echo "$ac_cv_lib_m_copysignf" >&6; }
17134 if test "x$ac_cv_lib_m_copysignf" = x""yes; then :
17135
17136 $as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17137
17138 fi
17139
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17141 $as_echo_n "checking for copysign in -lm... " >&6; }
17142 if test "${ac_cv_lib_m_copysign+set}" = set; then :
17143   $as_echo_n "(cached) " >&6
17144 else
17145   ac_check_lib_save_LIBS=$LIBS
17146 LIBS="-lm  $LIBS"
17147 if test x$gcc_no_link = xyes; then
17148   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17149 fi
17150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17151 /* end confdefs.h.  */
17152
17153 /* Override any GCC internal prototype to avoid an error.
17154    Use char because int might match the return type of a GCC
17155    builtin and then its argument prototype would still apply.  */
17156 #ifdef __cplusplus
17157 extern "C"
17158 #endif
17159 char copysign ();
17160 int
17161 main ()
17162 {
17163 return copysign ();
17164   ;
17165   return 0;
17166 }
17167 _ACEOF
17168 if ac_fn_c_try_link "$LINENO"; then :
17169   ac_cv_lib_m_copysign=yes
17170 else
17171   ac_cv_lib_m_copysign=no
17172 fi
17173 rm -f core conftest.err conftest.$ac_objext \
17174     conftest$ac_exeext conftest.$ac_ext
17175 LIBS=$ac_check_lib_save_LIBS
17176 fi
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysign" >&5
17178 $as_echo "$ac_cv_lib_m_copysign" >&6; }
17179 if test "x$ac_cv_lib_m_copysign" = x""yes; then :
17180
17181 $as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17182
17183 fi
17184
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17186 $as_echo_n "checking for copysignl in -lm... " >&6; }
17187 if test "${ac_cv_lib_m_copysignl+set}" = set; then :
17188   $as_echo_n "(cached) " >&6
17189 else
17190   ac_check_lib_save_LIBS=$LIBS
17191 LIBS="-lm  $LIBS"
17192 if test x$gcc_no_link = xyes; then
17193   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17194 fi
17195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17196 /* end confdefs.h.  */
17197
17198 /* Override any GCC internal prototype to avoid an error.
17199    Use char because int might match the return type of a GCC
17200    builtin and then its argument prototype would still apply.  */
17201 #ifdef __cplusplus
17202 extern "C"
17203 #endif
17204 char copysignl ();
17205 int
17206 main ()
17207 {
17208 return copysignl ();
17209   ;
17210   return 0;
17211 }
17212 _ACEOF
17213 if ac_fn_c_try_link "$LINENO"; then :
17214   ac_cv_lib_m_copysignl=yes
17215 else
17216   ac_cv_lib_m_copysignl=no
17217 fi
17218 rm -f core conftest.err conftest.$ac_objext \
17219     conftest$ac_exeext conftest.$ac_ext
17220 LIBS=$ac_check_lib_save_LIBS
17221 fi
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignl" >&5
17223 $as_echo "$ac_cv_lib_m_copysignl" >&6; }
17224 if test "x$ac_cv_lib_m_copysignl" = x""yes; then :
17225
17226 $as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
17227
17228 fi
17229
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
17231 $as_echo_n "checking for cosf in -lm... " >&6; }
17232 if test "${ac_cv_lib_m_cosf+set}" = set; then :
17233   $as_echo_n "(cached) " >&6
17234 else
17235   ac_check_lib_save_LIBS=$LIBS
17236 LIBS="-lm  $LIBS"
17237 if test x$gcc_no_link = xyes; then
17238   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17239 fi
17240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17241 /* end confdefs.h.  */
17242
17243 /* Override any GCC internal prototype to avoid an error.
17244    Use char because int might match the return type of a GCC
17245    builtin and then its argument prototype would still apply.  */
17246 #ifdef __cplusplus
17247 extern "C"
17248 #endif
17249 char cosf ();
17250 int
17251 main ()
17252 {
17253 return cosf ();
17254   ;
17255   return 0;
17256 }
17257 _ACEOF
17258 if ac_fn_c_try_link "$LINENO"; then :
17259   ac_cv_lib_m_cosf=yes
17260 else
17261   ac_cv_lib_m_cosf=no
17262 fi
17263 rm -f core conftest.err conftest.$ac_objext \
17264     conftest$ac_exeext conftest.$ac_ext
17265 LIBS=$ac_check_lib_save_LIBS
17266 fi
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
17268 $as_echo "$ac_cv_lib_m_cosf" >&6; }
17269 if test "x$ac_cv_lib_m_cosf" = x""yes; then :
17270
17271 $as_echo "#define HAVE_COSF 1" >>confdefs.h
17272
17273 fi
17274
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
17276 $as_echo_n "checking for cos in -lm... " >&6; }
17277 if test "${ac_cv_lib_m_cos+set}" = set; then :
17278   $as_echo_n "(cached) " >&6
17279 else
17280   ac_check_lib_save_LIBS=$LIBS
17281 LIBS="-lm  $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
17289    Use char because int might match the return type of a GCC
17290    builtin and then its argument prototype would still apply.  */
17291 #ifdef __cplusplus
17292 extern "C"
17293 #endif
17294 char cos ();
17295 int
17296 main ()
17297 {
17298 return cos ();
17299   ;
17300   return 0;
17301 }
17302 _ACEOF
17303 if ac_fn_c_try_link "$LINENO"; then :
17304   ac_cv_lib_m_cos=yes
17305 else
17306   ac_cv_lib_m_cos=no
17307 fi
17308 rm -f core conftest.err conftest.$ac_objext \
17309     conftest$ac_exeext conftest.$ac_ext
17310 LIBS=$ac_check_lib_save_LIBS
17311 fi
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
17313 $as_echo "$ac_cv_lib_m_cos" >&6; }
17314 if test "x$ac_cv_lib_m_cos" = x""yes; then :
17315
17316 $as_echo "#define HAVE_COS 1" >>confdefs.h
17317
17318 fi
17319
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
17321 $as_echo_n "checking for cosl in -lm... " >&6; }
17322 if test "${ac_cv_lib_m_cosl+set}" = set; then :
17323   $as_echo_n "(cached) " >&6
17324 else
17325   ac_check_lib_save_LIBS=$LIBS
17326 LIBS="-lm  $LIBS"
17327 if test x$gcc_no_link = xyes; then
17328   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17329 fi
17330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h.  */
17332
17333 /* Override any GCC internal prototype to avoid an error.
17334    Use char because int might match the return type of a GCC
17335    builtin and then its argument prototype would still apply.  */
17336 #ifdef __cplusplus
17337 extern "C"
17338 #endif
17339 char cosl ();
17340 int
17341 main ()
17342 {
17343 return cosl ();
17344   ;
17345   return 0;
17346 }
17347 _ACEOF
17348 if ac_fn_c_try_link "$LINENO"; then :
17349   ac_cv_lib_m_cosl=yes
17350 else
17351   ac_cv_lib_m_cosl=no
17352 fi
17353 rm -f core conftest.err conftest.$ac_objext \
17354     conftest$ac_exeext conftest.$ac_ext
17355 LIBS=$ac_check_lib_save_LIBS
17356 fi
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosl" >&5
17358 $as_echo "$ac_cv_lib_m_cosl" >&6; }
17359 if test "x$ac_cv_lib_m_cosl" = x""yes; then :
17360
17361 $as_echo "#define HAVE_COSL 1" >>confdefs.h
17362
17363 fi
17364
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
17366 $as_echo_n "checking for ccosf in -lm... " >&6; }
17367 if test "${ac_cv_lib_m_ccosf+set}" = set; then :
17368   $as_echo_n "(cached) " >&6
17369 else
17370   ac_check_lib_save_LIBS=$LIBS
17371 LIBS="-lm  $LIBS"
17372 if test x$gcc_no_link = xyes; then
17373   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17374 fi
17375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17376 /* end confdefs.h.  */
17377
17378 /* Override any GCC internal prototype to avoid an error.
17379    Use char because int might match the return type of a GCC
17380    builtin and then its argument prototype would still apply.  */
17381 #ifdef __cplusplus
17382 extern "C"
17383 #endif
17384 char ccosf ();
17385 int
17386 main ()
17387 {
17388 return ccosf ();
17389   ;
17390   return 0;
17391 }
17392 _ACEOF
17393 if ac_fn_c_try_link "$LINENO"; then :
17394   ac_cv_lib_m_ccosf=yes
17395 else
17396   ac_cv_lib_m_ccosf=no
17397 fi
17398 rm -f core conftest.err conftest.$ac_objext \
17399     conftest$ac_exeext conftest.$ac_ext
17400 LIBS=$ac_check_lib_save_LIBS
17401 fi
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosf" >&5
17403 $as_echo "$ac_cv_lib_m_ccosf" >&6; }
17404 if test "x$ac_cv_lib_m_ccosf" = x""yes; then :
17405
17406 $as_echo "#define HAVE_CCOSF 1" >>confdefs.h
17407
17408 fi
17409
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
17411 $as_echo_n "checking for ccos in -lm... " >&6; }
17412 if test "${ac_cv_lib_m_ccos+set}" = set; then :
17413   $as_echo_n "(cached) " >&6
17414 else
17415   ac_check_lib_save_LIBS=$LIBS
17416 LIBS="-lm  $LIBS"
17417 if test x$gcc_no_link = xyes; then
17418   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17419 fi
17420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17421 /* end confdefs.h.  */
17422
17423 /* Override any GCC internal prototype to avoid an error.
17424    Use char because int might match the return type of a GCC
17425    builtin and then its argument prototype would still apply.  */
17426 #ifdef __cplusplus
17427 extern "C"
17428 #endif
17429 char ccos ();
17430 int
17431 main ()
17432 {
17433 return ccos ();
17434   ;
17435   return 0;
17436 }
17437 _ACEOF
17438 if ac_fn_c_try_link "$LINENO"; then :
17439   ac_cv_lib_m_ccos=yes
17440 else
17441   ac_cv_lib_m_ccos=no
17442 fi
17443 rm -f core conftest.err conftest.$ac_objext \
17444     conftest$ac_exeext conftest.$ac_ext
17445 LIBS=$ac_check_lib_save_LIBS
17446 fi
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccos" >&5
17448 $as_echo "$ac_cv_lib_m_ccos" >&6; }
17449 if test "x$ac_cv_lib_m_ccos" = x""yes; then :
17450
17451 $as_echo "#define HAVE_CCOS 1" >>confdefs.h
17452
17453 fi
17454
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
17456 $as_echo_n "checking for ccosl in -lm... " >&6; }
17457 if test "${ac_cv_lib_m_ccosl+set}" = set; then :
17458   $as_echo_n "(cached) " >&6
17459 else
17460   ac_check_lib_save_LIBS=$LIBS
17461 LIBS="-lm  $LIBS"
17462 if test x$gcc_no_link = xyes; then
17463   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17464 fi
17465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17466 /* end confdefs.h.  */
17467
17468 /* Override any GCC internal prototype to avoid an error.
17469    Use char because int might match the return type of a GCC
17470    builtin and then its argument prototype would still apply.  */
17471 #ifdef __cplusplus
17472 extern "C"
17473 #endif
17474 char ccosl ();
17475 int
17476 main ()
17477 {
17478 return ccosl ();
17479   ;
17480   return 0;
17481 }
17482 _ACEOF
17483 if ac_fn_c_try_link "$LINENO"; then :
17484   ac_cv_lib_m_ccosl=yes
17485 else
17486   ac_cv_lib_m_ccosl=no
17487 fi
17488 rm -f core conftest.err conftest.$ac_objext \
17489     conftest$ac_exeext conftest.$ac_ext
17490 LIBS=$ac_check_lib_save_LIBS
17491 fi
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosl" >&5
17493 $as_echo "$ac_cv_lib_m_ccosl" >&6; }
17494 if test "x$ac_cv_lib_m_ccosl" = x""yes; then :
17495
17496 $as_echo "#define HAVE_CCOSL 1" >>confdefs.h
17497
17498 fi
17499
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
17501 $as_echo_n "checking for coshf in -lm... " >&6; }
17502 if test "${ac_cv_lib_m_coshf+set}" = set; then :
17503   $as_echo_n "(cached) " >&6
17504 else
17505   ac_check_lib_save_LIBS=$LIBS
17506 LIBS="-lm  $LIBS"
17507 if test x$gcc_no_link = xyes; then
17508   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17509 fi
17510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17511 /* end confdefs.h.  */
17512
17513 /* Override any GCC internal prototype to avoid an error.
17514    Use char because int might match the return type of a GCC
17515    builtin and then its argument prototype would still apply.  */
17516 #ifdef __cplusplus
17517 extern "C"
17518 #endif
17519 char coshf ();
17520 int
17521 main ()
17522 {
17523 return coshf ();
17524   ;
17525   return 0;
17526 }
17527 _ACEOF
17528 if ac_fn_c_try_link "$LINENO"; then :
17529   ac_cv_lib_m_coshf=yes
17530 else
17531   ac_cv_lib_m_coshf=no
17532 fi
17533 rm -f core conftest.err conftest.$ac_objext \
17534     conftest$ac_exeext conftest.$ac_ext
17535 LIBS=$ac_check_lib_save_LIBS
17536 fi
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshf" >&5
17538 $as_echo "$ac_cv_lib_m_coshf" >&6; }
17539 if test "x$ac_cv_lib_m_coshf" = x""yes; then :
17540
17541 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
17542
17543 fi
17544
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
17546 $as_echo_n "checking for cosh in -lm... " >&6; }
17547 if test "${ac_cv_lib_m_cosh+set}" = set; then :
17548   $as_echo_n "(cached) " >&6
17549 else
17550   ac_check_lib_save_LIBS=$LIBS
17551 LIBS="-lm  $LIBS"
17552 if test x$gcc_no_link = xyes; then
17553   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17554 fi
17555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17556 /* end confdefs.h.  */
17557
17558 /* Override any GCC internal prototype to avoid an error.
17559    Use char because int might match the return type of a GCC
17560    builtin and then its argument prototype would still apply.  */
17561 #ifdef __cplusplus
17562 extern "C"
17563 #endif
17564 char cosh ();
17565 int
17566 main ()
17567 {
17568 return cosh ();
17569   ;
17570   return 0;
17571 }
17572 _ACEOF
17573 if ac_fn_c_try_link "$LINENO"; then :
17574   ac_cv_lib_m_cosh=yes
17575 else
17576   ac_cv_lib_m_cosh=no
17577 fi
17578 rm -f core conftest.err conftest.$ac_objext \
17579     conftest$ac_exeext conftest.$ac_ext
17580 LIBS=$ac_check_lib_save_LIBS
17581 fi
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosh" >&5
17583 $as_echo "$ac_cv_lib_m_cosh" >&6; }
17584 if test "x$ac_cv_lib_m_cosh" = x""yes; then :
17585
17586 $as_echo "#define HAVE_COSH 1" >>confdefs.h
17587
17588 fi
17589
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
17591 $as_echo_n "checking for coshl in -lm... " >&6; }
17592 if test "${ac_cv_lib_m_coshl+set}" = set; then :
17593   $as_echo_n "(cached) " >&6
17594 else
17595   ac_check_lib_save_LIBS=$LIBS
17596 LIBS="-lm  $LIBS"
17597 if test x$gcc_no_link = xyes; then
17598   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17599 fi
17600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17601 /* end confdefs.h.  */
17602
17603 /* Override any GCC internal prototype to avoid an error.
17604    Use char because int might match the return type of a GCC
17605    builtin and then its argument prototype would still apply.  */
17606 #ifdef __cplusplus
17607 extern "C"
17608 #endif
17609 char coshl ();
17610 int
17611 main ()
17612 {
17613 return coshl ();
17614   ;
17615   return 0;
17616 }
17617 _ACEOF
17618 if ac_fn_c_try_link "$LINENO"; then :
17619   ac_cv_lib_m_coshl=yes
17620 else
17621   ac_cv_lib_m_coshl=no
17622 fi
17623 rm -f core conftest.err conftest.$ac_objext \
17624     conftest$ac_exeext conftest.$ac_ext
17625 LIBS=$ac_check_lib_save_LIBS
17626 fi
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshl" >&5
17628 $as_echo "$ac_cv_lib_m_coshl" >&6; }
17629 if test "x$ac_cv_lib_m_coshl" = x""yes; then :
17630
17631 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
17632
17633 fi
17634
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
17636 $as_echo_n "checking for ccoshf in -lm... " >&6; }
17637 if test "${ac_cv_lib_m_ccoshf+set}" = set; then :
17638   $as_echo_n "(cached) " >&6
17639 else
17640   ac_check_lib_save_LIBS=$LIBS
17641 LIBS="-lm  $LIBS"
17642 if test x$gcc_no_link = xyes; then
17643   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17644 fi
17645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17646 /* end confdefs.h.  */
17647
17648 /* Override any GCC internal prototype to avoid an error.
17649    Use char because int might match the return type of a GCC
17650    builtin and then its argument prototype would still apply.  */
17651 #ifdef __cplusplus
17652 extern "C"
17653 #endif
17654 char ccoshf ();
17655 int
17656 main ()
17657 {
17658 return ccoshf ();
17659   ;
17660   return 0;
17661 }
17662 _ACEOF
17663 if ac_fn_c_try_link "$LINENO"; then :
17664   ac_cv_lib_m_ccoshf=yes
17665 else
17666   ac_cv_lib_m_ccoshf=no
17667 fi
17668 rm -f core conftest.err conftest.$ac_objext \
17669     conftest$ac_exeext conftest.$ac_ext
17670 LIBS=$ac_check_lib_save_LIBS
17671 fi
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshf" >&5
17673 $as_echo "$ac_cv_lib_m_ccoshf" >&6; }
17674 if test "x$ac_cv_lib_m_ccoshf" = x""yes; then :
17675
17676 $as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
17677
17678 fi
17679
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
17681 $as_echo_n "checking for ccosh in -lm... " >&6; }
17682 if test "${ac_cv_lib_m_ccosh+set}" = set; then :
17683   $as_echo_n "(cached) " >&6
17684 else
17685   ac_check_lib_save_LIBS=$LIBS
17686 LIBS="-lm  $LIBS"
17687 if test x$gcc_no_link = xyes; then
17688   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17689 fi
17690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17691 /* end confdefs.h.  */
17692
17693 /* Override any GCC internal prototype to avoid an error.
17694    Use char because int might match the return type of a GCC
17695    builtin and then its argument prototype would still apply.  */
17696 #ifdef __cplusplus
17697 extern "C"
17698 #endif
17699 char ccosh ();
17700 int
17701 main ()
17702 {
17703 return ccosh ();
17704   ;
17705   return 0;
17706 }
17707 _ACEOF
17708 if ac_fn_c_try_link "$LINENO"; then :
17709   ac_cv_lib_m_ccosh=yes
17710 else
17711   ac_cv_lib_m_ccosh=no
17712 fi
17713 rm -f core conftest.err conftest.$ac_objext \
17714     conftest$ac_exeext conftest.$ac_ext
17715 LIBS=$ac_check_lib_save_LIBS
17716 fi
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosh" >&5
17718 $as_echo "$ac_cv_lib_m_ccosh" >&6; }
17719 if test "x$ac_cv_lib_m_ccosh" = x""yes; then :
17720
17721 $as_echo "#define HAVE_CCOSH 1" >>confdefs.h
17722
17723 fi
17724
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
17726 $as_echo_n "checking for ccoshl in -lm... " >&6; }
17727 if test "${ac_cv_lib_m_ccoshl+set}" = set; then :
17728   $as_echo_n "(cached) " >&6
17729 else
17730   ac_check_lib_save_LIBS=$LIBS
17731 LIBS="-lm  $LIBS"
17732 if test x$gcc_no_link = xyes; then
17733   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17734 fi
17735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17736 /* end confdefs.h.  */
17737
17738 /* Override any GCC internal prototype to avoid an error.
17739    Use char because int might match the return type of a GCC
17740    builtin and then its argument prototype would still apply.  */
17741 #ifdef __cplusplus
17742 extern "C"
17743 #endif
17744 char ccoshl ();
17745 int
17746 main ()
17747 {
17748 return ccoshl ();
17749   ;
17750   return 0;
17751 }
17752 _ACEOF
17753 if ac_fn_c_try_link "$LINENO"; then :
17754   ac_cv_lib_m_ccoshl=yes
17755 else
17756   ac_cv_lib_m_ccoshl=no
17757 fi
17758 rm -f core conftest.err conftest.$ac_objext \
17759     conftest$ac_exeext conftest.$ac_ext
17760 LIBS=$ac_check_lib_save_LIBS
17761 fi
17762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshl" >&5
17763 $as_echo "$ac_cv_lib_m_ccoshl" >&6; }
17764 if test "x$ac_cv_lib_m_ccoshl" = x""yes; then :
17765
17766 $as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
17767
17768 fi
17769
17770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
17771 $as_echo_n "checking for expf in -lm... " >&6; }
17772 if test "${ac_cv_lib_m_expf+set}" = set; then :
17773   $as_echo_n "(cached) " >&6
17774 else
17775   ac_check_lib_save_LIBS=$LIBS
17776 LIBS="-lm  $LIBS"
17777 if test x$gcc_no_link = xyes; then
17778   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17779 fi
17780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17781 /* end confdefs.h.  */
17782
17783 /* Override any GCC internal prototype to avoid an error.
17784    Use char because int might match the return type of a GCC
17785    builtin and then its argument prototype would still apply.  */
17786 #ifdef __cplusplus
17787 extern "C"
17788 #endif
17789 char expf ();
17790 int
17791 main ()
17792 {
17793 return expf ();
17794   ;
17795   return 0;
17796 }
17797 _ACEOF
17798 if ac_fn_c_try_link "$LINENO"; then :
17799   ac_cv_lib_m_expf=yes
17800 else
17801   ac_cv_lib_m_expf=no
17802 fi
17803 rm -f core conftest.err conftest.$ac_objext \
17804     conftest$ac_exeext conftest.$ac_ext
17805 LIBS=$ac_check_lib_save_LIBS
17806 fi
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expf" >&5
17808 $as_echo "$ac_cv_lib_m_expf" >&6; }
17809 if test "x$ac_cv_lib_m_expf" = x""yes; then :
17810
17811 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
17812
17813 fi
17814
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
17816 $as_echo_n "checking for exp in -lm... " >&6; }
17817 if test "${ac_cv_lib_m_exp+set}" = set; then :
17818   $as_echo_n "(cached) " >&6
17819 else
17820   ac_check_lib_save_LIBS=$LIBS
17821 LIBS="-lm  $LIBS"
17822 if test x$gcc_no_link = xyes; then
17823   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17824 fi
17825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17826 /* end confdefs.h.  */
17827
17828 /* Override any GCC internal prototype to avoid an error.
17829    Use char because int might match the return type of a GCC
17830    builtin and then its argument prototype would still apply.  */
17831 #ifdef __cplusplus
17832 extern "C"
17833 #endif
17834 char exp ();
17835 int
17836 main ()
17837 {
17838 return exp ();
17839   ;
17840   return 0;
17841 }
17842 _ACEOF
17843 if ac_fn_c_try_link "$LINENO"; then :
17844   ac_cv_lib_m_exp=yes
17845 else
17846   ac_cv_lib_m_exp=no
17847 fi
17848 rm -f core conftest.err conftest.$ac_objext \
17849     conftest$ac_exeext conftest.$ac_ext
17850 LIBS=$ac_check_lib_save_LIBS
17851 fi
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
17853 $as_echo "$ac_cv_lib_m_exp" >&6; }
17854 if test "x$ac_cv_lib_m_exp" = x""yes; then :
17855
17856 $as_echo "#define HAVE_EXP 1" >>confdefs.h
17857
17858 fi
17859
17860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
17861 $as_echo_n "checking for expl in -lm... " >&6; }
17862 if test "${ac_cv_lib_m_expl+set}" = set; then :
17863   $as_echo_n "(cached) " >&6
17864 else
17865   ac_check_lib_save_LIBS=$LIBS
17866 LIBS="-lm  $LIBS"
17867 if test x$gcc_no_link = xyes; then
17868   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17869 fi
17870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17871 /* end confdefs.h.  */
17872
17873 /* Override any GCC internal prototype to avoid an error.
17874    Use char because int might match the return type of a GCC
17875    builtin and then its argument prototype would still apply.  */
17876 #ifdef __cplusplus
17877 extern "C"
17878 #endif
17879 char expl ();
17880 int
17881 main ()
17882 {
17883 return expl ();
17884   ;
17885   return 0;
17886 }
17887 _ACEOF
17888 if ac_fn_c_try_link "$LINENO"; then :
17889   ac_cv_lib_m_expl=yes
17890 else
17891   ac_cv_lib_m_expl=no
17892 fi
17893 rm -f core conftest.err conftest.$ac_objext \
17894     conftest$ac_exeext conftest.$ac_ext
17895 LIBS=$ac_check_lib_save_LIBS
17896 fi
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expl" >&5
17898 $as_echo "$ac_cv_lib_m_expl" >&6; }
17899 if test "x$ac_cv_lib_m_expl" = x""yes; then :
17900
17901 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
17902
17903 fi
17904
17905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
17906 $as_echo_n "checking for cexpf in -lm... " >&6; }
17907 if test "${ac_cv_lib_m_cexpf+set}" = set; then :
17908   $as_echo_n "(cached) " >&6
17909 else
17910   ac_check_lib_save_LIBS=$LIBS
17911 LIBS="-lm  $LIBS"
17912 if test x$gcc_no_link = xyes; then
17913   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17914 fi
17915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h.  */
17917
17918 /* Override any GCC internal prototype to avoid an error.
17919    Use char because int might match the return type of a GCC
17920    builtin and then its argument prototype would still apply.  */
17921 #ifdef __cplusplus
17922 extern "C"
17923 #endif
17924 char cexpf ();
17925 int
17926 main ()
17927 {
17928 return cexpf ();
17929   ;
17930   return 0;
17931 }
17932 _ACEOF
17933 if ac_fn_c_try_link "$LINENO"; then :
17934   ac_cv_lib_m_cexpf=yes
17935 else
17936   ac_cv_lib_m_cexpf=no
17937 fi
17938 rm -f core conftest.err conftest.$ac_objext \
17939     conftest$ac_exeext conftest.$ac_ext
17940 LIBS=$ac_check_lib_save_LIBS
17941 fi
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpf" >&5
17943 $as_echo "$ac_cv_lib_m_cexpf" >&6; }
17944 if test "x$ac_cv_lib_m_cexpf" = x""yes; then :
17945
17946 $as_echo "#define HAVE_CEXPF 1" >>confdefs.h
17947
17948 fi
17949
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
17951 $as_echo_n "checking for cexp in -lm... " >&6; }
17952 if test "${ac_cv_lib_m_cexp+set}" = set; then :
17953   $as_echo_n "(cached) " >&6
17954 else
17955   ac_check_lib_save_LIBS=$LIBS
17956 LIBS="-lm  $LIBS"
17957 if test x$gcc_no_link = xyes; then
17958   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17959 fi
17960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17961 /* end confdefs.h.  */
17962
17963 /* Override any GCC internal prototype to avoid an error.
17964    Use char because int might match the return type of a GCC
17965    builtin and then its argument prototype would still apply.  */
17966 #ifdef __cplusplus
17967 extern "C"
17968 #endif
17969 char cexp ();
17970 int
17971 main ()
17972 {
17973 return cexp ();
17974   ;
17975   return 0;
17976 }
17977 _ACEOF
17978 if ac_fn_c_try_link "$LINENO"; then :
17979   ac_cv_lib_m_cexp=yes
17980 else
17981   ac_cv_lib_m_cexp=no
17982 fi
17983 rm -f core conftest.err conftest.$ac_objext \
17984     conftest$ac_exeext conftest.$ac_ext
17985 LIBS=$ac_check_lib_save_LIBS
17986 fi
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexp" >&5
17988 $as_echo "$ac_cv_lib_m_cexp" >&6; }
17989 if test "x$ac_cv_lib_m_cexp" = x""yes; then :
17990
17991 $as_echo "#define HAVE_CEXP 1" >>confdefs.h
17992
17993 fi
17994
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
17996 $as_echo_n "checking for cexpl in -lm... " >&6; }
17997 if test "${ac_cv_lib_m_cexpl+set}" = set; then :
17998   $as_echo_n "(cached) " >&6
17999 else
18000   ac_check_lib_save_LIBS=$LIBS
18001 LIBS="-lm  $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
18009    Use char because int might match the return type of a GCC
18010    builtin and then its argument prototype would still apply.  */
18011 #ifdef __cplusplus
18012 extern "C"
18013 #endif
18014 char cexpl ();
18015 int
18016 main ()
18017 {
18018 return cexpl ();
18019   ;
18020   return 0;
18021 }
18022 _ACEOF
18023 if ac_fn_c_try_link "$LINENO"; then :
18024   ac_cv_lib_m_cexpl=yes
18025 else
18026   ac_cv_lib_m_cexpl=no
18027 fi
18028 rm -f core conftest.err conftest.$ac_objext \
18029     conftest$ac_exeext conftest.$ac_ext
18030 LIBS=$ac_check_lib_save_LIBS
18031 fi
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpl" >&5
18033 $as_echo "$ac_cv_lib_m_cexpl" >&6; }
18034 if test "x$ac_cv_lib_m_cexpl" = x""yes; then :
18035
18036 $as_echo "#define HAVE_CEXPL 1" >>confdefs.h
18037
18038 fi
18039
18040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
18041 $as_echo_n "checking for fabsf in -lm... " >&6; }
18042 if test "${ac_cv_lib_m_fabsf+set}" = set; then :
18043   $as_echo_n "(cached) " >&6
18044 else
18045   ac_check_lib_save_LIBS=$LIBS
18046 LIBS="-lm  $LIBS"
18047 if test x$gcc_no_link = xyes; then
18048   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18049 fi
18050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18051 /* end confdefs.h.  */
18052
18053 /* Override any GCC internal prototype to avoid an error.
18054    Use char because int might match the return type of a GCC
18055    builtin and then its argument prototype would still apply.  */
18056 #ifdef __cplusplus
18057 extern "C"
18058 #endif
18059 char fabsf ();
18060 int
18061 main ()
18062 {
18063 return fabsf ();
18064   ;
18065   return 0;
18066 }
18067 _ACEOF
18068 if ac_fn_c_try_link "$LINENO"; then :
18069   ac_cv_lib_m_fabsf=yes
18070 else
18071   ac_cv_lib_m_fabsf=no
18072 fi
18073 rm -f core conftest.err conftest.$ac_objext \
18074     conftest$ac_exeext conftest.$ac_ext
18075 LIBS=$ac_check_lib_save_LIBS
18076 fi
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
18078 $as_echo "$ac_cv_lib_m_fabsf" >&6; }
18079 if test "x$ac_cv_lib_m_fabsf" = x""yes; then :
18080
18081 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
18082
18083 fi
18084
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18086 $as_echo_n "checking for fabs in -lm... " >&6; }
18087 if test "${ac_cv_lib_m_fabs+set}" = set; then :
18088   $as_echo_n "(cached) " >&6
18089 else
18090   ac_check_lib_save_LIBS=$LIBS
18091 LIBS="-lm  $LIBS"
18092 if test x$gcc_no_link = xyes; then
18093   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18094 fi
18095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18096 /* end confdefs.h.  */
18097
18098 /* Override any GCC internal prototype to avoid an error.
18099    Use char because int might match the return type of a GCC
18100    builtin and then its argument prototype would still apply.  */
18101 #ifdef __cplusplus
18102 extern "C"
18103 #endif
18104 char fabs ();
18105 int
18106 main ()
18107 {
18108 return fabs ();
18109   ;
18110   return 0;
18111 }
18112 _ACEOF
18113 if ac_fn_c_try_link "$LINENO"; then :
18114   ac_cv_lib_m_fabs=yes
18115 else
18116   ac_cv_lib_m_fabs=no
18117 fi
18118 rm -f core conftest.err conftest.$ac_objext \
18119     conftest$ac_exeext conftest.$ac_ext
18120 LIBS=$ac_check_lib_save_LIBS
18121 fi
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
18123 $as_echo "$ac_cv_lib_m_fabs" >&6; }
18124 if test "x$ac_cv_lib_m_fabs" = x""yes; then :
18125
18126 $as_echo "#define HAVE_FABS 1" >>confdefs.h
18127
18128 fi
18129
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18131 $as_echo_n "checking for fabsl in -lm... " >&6; }
18132 if test "${ac_cv_lib_m_fabsl+set}" = set; then :
18133   $as_echo_n "(cached) " >&6
18134 else
18135   ac_check_lib_save_LIBS=$LIBS
18136 LIBS="-lm  $LIBS"
18137 if test x$gcc_no_link = xyes; then
18138   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18139 fi
18140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18141 /* end confdefs.h.  */
18142
18143 /* Override any GCC internal prototype to avoid an error.
18144    Use char because int might match the return type of a GCC
18145    builtin and then its argument prototype would still apply.  */
18146 #ifdef __cplusplus
18147 extern "C"
18148 #endif
18149 char fabsl ();
18150 int
18151 main ()
18152 {
18153 return fabsl ();
18154   ;
18155   return 0;
18156 }
18157 _ACEOF
18158 if ac_fn_c_try_link "$LINENO"; then :
18159   ac_cv_lib_m_fabsl=yes
18160 else
18161   ac_cv_lib_m_fabsl=no
18162 fi
18163 rm -f core conftest.err conftest.$ac_objext \
18164     conftest$ac_exeext conftest.$ac_ext
18165 LIBS=$ac_check_lib_save_LIBS
18166 fi
18167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsl" >&5
18168 $as_echo "$ac_cv_lib_m_fabsl" >&6; }
18169 if test "x$ac_cv_lib_m_fabsl" = x""yes; then :
18170
18171 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
18172
18173 fi
18174
18175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18176 $as_echo_n "checking for cabsf in -lm... " >&6; }
18177 if test "${ac_cv_lib_m_cabsf+set}" = set; then :
18178   $as_echo_n "(cached) " >&6
18179 else
18180   ac_check_lib_save_LIBS=$LIBS
18181 LIBS="-lm  $LIBS"
18182 if test x$gcc_no_link = xyes; then
18183   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18184 fi
18185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18186 /* end confdefs.h.  */
18187
18188 /* Override any GCC internal prototype to avoid an error.
18189    Use char because int might match the return type of a GCC
18190    builtin and then its argument prototype would still apply.  */
18191 #ifdef __cplusplus
18192 extern "C"
18193 #endif
18194 char cabsf ();
18195 int
18196 main ()
18197 {
18198 return cabsf ();
18199   ;
18200   return 0;
18201 }
18202 _ACEOF
18203 if ac_fn_c_try_link "$LINENO"; then :
18204   ac_cv_lib_m_cabsf=yes
18205 else
18206   ac_cv_lib_m_cabsf=no
18207 fi
18208 rm -f core conftest.err conftest.$ac_objext \
18209     conftest$ac_exeext conftest.$ac_ext
18210 LIBS=$ac_check_lib_save_LIBS
18211 fi
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsf" >&5
18213 $as_echo "$ac_cv_lib_m_cabsf" >&6; }
18214 if test "x$ac_cv_lib_m_cabsf" = x""yes; then :
18215
18216 $as_echo "#define HAVE_CABSF 1" >>confdefs.h
18217
18218 fi
18219
18220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
18221 $as_echo_n "checking for cabs in -lm... " >&6; }
18222 if test "${ac_cv_lib_m_cabs+set}" = set; then :
18223   $as_echo_n "(cached) " >&6
18224 else
18225   ac_check_lib_save_LIBS=$LIBS
18226 LIBS="-lm  $LIBS"
18227 if test x$gcc_no_link = xyes; then
18228   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18229 fi
18230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18231 /* end confdefs.h.  */
18232
18233 /* Override any GCC internal prototype to avoid an error.
18234    Use char because int might match the return type of a GCC
18235    builtin and then its argument prototype would still apply.  */
18236 #ifdef __cplusplus
18237 extern "C"
18238 #endif
18239 char cabs ();
18240 int
18241 main ()
18242 {
18243 return cabs ();
18244   ;
18245   return 0;
18246 }
18247 _ACEOF
18248 if ac_fn_c_try_link "$LINENO"; then :
18249   ac_cv_lib_m_cabs=yes
18250 else
18251   ac_cv_lib_m_cabs=no
18252 fi
18253 rm -f core conftest.err conftest.$ac_objext \
18254     conftest$ac_exeext conftest.$ac_ext
18255 LIBS=$ac_check_lib_save_LIBS
18256 fi
18257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabs" >&5
18258 $as_echo "$ac_cv_lib_m_cabs" >&6; }
18259 if test "x$ac_cv_lib_m_cabs" = x""yes; then :
18260
18261 $as_echo "#define HAVE_CABS 1" >>confdefs.h
18262
18263 fi
18264
18265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
18266 $as_echo_n "checking for cabsl in -lm... " >&6; }
18267 if test "${ac_cv_lib_m_cabsl+set}" = set; then :
18268   $as_echo_n "(cached) " >&6
18269 else
18270   ac_check_lib_save_LIBS=$LIBS
18271 LIBS="-lm  $LIBS"
18272 if test x$gcc_no_link = xyes; then
18273   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18274 fi
18275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18276 /* end confdefs.h.  */
18277
18278 /* Override any GCC internal prototype to avoid an error.
18279    Use char because int might match the return type of a GCC
18280    builtin and then its argument prototype would still apply.  */
18281 #ifdef __cplusplus
18282 extern "C"
18283 #endif
18284 char cabsl ();
18285 int
18286 main ()
18287 {
18288 return cabsl ();
18289   ;
18290   return 0;
18291 }
18292 _ACEOF
18293 if ac_fn_c_try_link "$LINENO"; then :
18294   ac_cv_lib_m_cabsl=yes
18295 else
18296   ac_cv_lib_m_cabsl=no
18297 fi
18298 rm -f core conftest.err conftest.$ac_objext \
18299     conftest$ac_exeext conftest.$ac_ext
18300 LIBS=$ac_check_lib_save_LIBS
18301 fi
18302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsl" >&5
18303 $as_echo "$ac_cv_lib_m_cabsl" >&6; }
18304 if test "x$ac_cv_lib_m_cabsl" = x""yes; then :
18305
18306 $as_echo "#define HAVE_CABSL 1" >>confdefs.h
18307
18308 fi
18309
18310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
18311 $as_echo_n "checking for floorf in -lm... " >&6; }
18312 if test "${ac_cv_lib_m_floorf+set}" = set; then :
18313   $as_echo_n "(cached) " >&6
18314 else
18315   ac_check_lib_save_LIBS=$LIBS
18316 LIBS="-lm  $LIBS"
18317 if test x$gcc_no_link = xyes; then
18318   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18319 fi
18320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18321 /* end confdefs.h.  */
18322
18323 /* Override any GCC internal prototype to avoid an error.
18324    Use char because int might match the return type of a GCC
18325    builtin and then its argument prototype would still apply.  */
18326 #ifdef __cplusplus
18327 extern "C"
18328 #endif
18329 char floorf ();
18330 int
18331 main ()
18332 {
18333 return floorf ();
18334   ;
18335   return 0;
18336 }
18337 _ACEOF
18338 if ac_fn_c_try_link "$LINENO"; then :
18339   ac_cv_lib_m_floorf=yes
18340 else
18341   ac_cv_lib_m_floorf=no
18342 fi
18343 rm -f core conftest.err conftest.$ac_objext \
18344     conftest$ac_exeext conftest.$ac_ext
18345 LIBS=$ac_check_lib_save_LIBS
18346 fi
18347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorf" >&5
18348 $as_echo "$ac_cv_lib_m_floorf" >&6; }
18349 if test "x$ac_cv_lib_m_floorf" = x""yes; then :
18350
18351 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
18352
18353 fi
18354
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
18356 $as_echo_n "checking for floor in -lm... " >&6; }
18357 if test "${ac_cv_lib_m_floor+set}" = set; then :
18358   $as_echo_n "(cached) " >&6
18359 else
18360   ac_check_lib_save_LIBS=$LIBS
18361 LIBS="-lm  $LIBS"
18362 if test x$gcc_no_link = xyes; then
18363   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18364 fi
18365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18366 /* end confdefs.h.  */
18367
18368 /* Override any GCC internal prototype to avoid an error.
18369    Use char because int might match the return type of a GCC
18370    builtin and then its argument prototype would still apply.  */
18371 #ifdef __cplusplus
18372 extern "C"
18373 #endif
18374 char floor ();
18375 int
18376 main ()
18377 {
18378 return floor ();
18379   ;
18380   return 0;
18381 }
18382 _ACEOF
18383 if ac_fn_c_try_link "$LINENO"; then :
18384   ac_cv_lib_m_floor=yes
18385 else
18386   ac_cv_lib_m_floor=no
18387 fi
18388 rm -f core conftest.err conftest.$ac_objext \
18389     conftest$ac_exeext conftest.$ac_ext
18390 LIBS=$ac_check_lib_save_LIBS
18391 fi
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
18393 $as_echo "$ac_cv_lib_m_floor" >&6; }
18394 if test "x$ac_cv_lib_m_floor" = x""yes; then :
18395
18396 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
18397
18398 fi
18399
18400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
18401 $as_echo_n "checking for floorl in -lm... " >&6; }
18402 if test "${ac_cv_lib_m_floorl+set}" = set; then :
18403   $as_echo_n "(cached) " >&6
18404 else
18405   ac_check_lib_save_LIBS=$LIBS
18406 LIBS="-lm  $LIBS"
18407 if test x$gcc_no_link = xyes; then
18408   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18409 fi
18410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18411 /* end confdefs.h.  */
18412
18413 /* Override any GCC internal prototype to avoid an error.
18414    Use char because int might match the return type of a GCC
18415    builtin and then its argument prototype would still apply.  */
18416 #ifdef __cplusplus
18417 extern "C"
18418 #endif
18419 char floorl ();
18420 int
18421 main ()
18422 {
18423 return floorl ();
18424   ;
18425   return 0;
18426 }
18427 _ACEOF
18428 if ac_fn_c_try_link "$LINENO"; then :
18429   ac_cv_lib_m_floorl=yes
18430 else
18431   ac_cv_lib_m_floorl=no
18432 fi
18433 rm -f core conftest.err conftest.$ac_objext \
18434     conftest$ac_exeext conftest.$ac_ext
18435 LIBS=$ac_check_lib_save_LIBS
18436 fi
18437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorl" >&5
18438 $as_echo "$ac_cv_lib_m_floorl" >&6; }
18439 if test "x$ac_cv_lib_m_floorl" = x""yes; then :
18440
18441 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
18442
18443 fi
18444
18445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
18446 $as_echo_n "checking for fmodf in -lm... " >&6; }
18447 if test "${ac_cv_lib_m_fmodf+set}" = set; then :
18448   $as_echo_n "(cached) " >&6
18449 else
18450   ac_check_lib_save_LIBS=$LIBS
18451 LIBS="-lm  $LIBS"
18452 if test x$gcc_no_link = xyes; then
18453   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18454 fi
18455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18456 /* end confdefs.h.  */
18457
18458 /* Override any GCC internal prototype to avoid an error.
18459    Use char because int might match the return type of a GCC
18460    builtin and then its argument prototype would still apply.  */
18461 #ifdef __cplusplus
18462 extern "C"
18463 #endif
18464 char fmodf ();
18465 int
18466 main ()
18467 {
18468 return fmodf ();
18469   ;
18470   return 0;
18471 }
18472 _ACEOF
18473 if ac_fn_c_try_link "$LINENO"; then :
18474   ac_cv_lib_m_fmodf=yes
18475 else
18476   ac_cv_lib_m_fmodf=no
18477 fi
18478 rm -f core conftest.err conftest.$ac_objext \
18479     conftest$ac_exeext conftest.$ac_ext
18480 LIBS=$ac_check_lib_save_LIBS
18481 fi
18482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodf" >&5
18483 $as_echo "$ac_cv_lib_m_fmodf" >&6; }
18484 if test "x$ac_cv_lib_m_fmodf" = x""yes; then :
18485
18486 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
18487
18488 fi
18489
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
18491 $as_echo_n "checking for fmod in -lm... " >&6; }
18492 if test "${ac_cv_lib_m_fmod+set}" = set; then :
18493   $as_echo_n "(cached) " >&6
18494 else
18495   ac_check_lib_save_LIBS=$LIBS
18496 LIBS="-lm  $LIBS"
18497 if test x$gcc_no_link = xyes; then
18498   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18499 fi
18500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18501 /* end confdefs.h.  */
18502
18503 /* Override any GCC internal prototype to avoid an error.
18504    Use char because int might match the return type of a GCC
18505    builtin and then its argument prototype would still apply.  */
18506 #ifdef __cplusplus
18507 extern "C"
18508 #endif
18509 char fmod ();
18510 int
18511 main ()
18512 {
18513 return fmod ();
18514   ;
18515   return 0;
18516 }
18517 _ACEOF
18518 if ac_fn_c_try_link "$LINENO"; then :
18519   ac_cv_lib_m_fmod=yes
18520 else
18521   ac_cv_lib_m_fmod=no
18522 fi
18523 rm -f core conftest.err conftest.$ac_objext \
18524     conftest$ac_exeext conftest.$ac_ext
18525 LIBS=$ac_check_lib_save_LIBS
18526 fi
18527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5
18528 $as_echo "$ac_cv_lib_m_fmod" >&6; }
18529 if test "x$ac_cv_lib_m_fmod" = x""yes; then :
18530
18531 $as_echo "#define HAVE_FMOD 1" >>confdefs.h
18532
18533 fi
18534
18535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
18536 $as_echo_n "checking for fmodl in -lm... " >&6; }
18537 if test "${ac_cv_lib_m_fmodl+set}" = set; then :
18538   $as_echo_n "(cached) " >&6
18539 else
18540   ac_check_lib_save_LIBS=$LIBS
18541 LIBS="-lm  $LIBS"
18542 if test x$gcc_no_link = xyes; then
18543   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18544 fi
18545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18546 /* end confdefs.h.  */
18547
18548 /* Override any GCC internal prototype to avoid an error.
18549    Use char because int might match the return type of a GCC
18550    builtin and then its argument prototype would still apply.  */
18551 #ifdef __cplusplus
18552 extern "C"
18553 #endif
18554 char fmodl ();
18555 int
18556 main ()
18557 {
18558 return fmodl ();
18559   ;
18560   return 0;
18561 }
18562 _ACEOF
18563 if ac_fn_c_try_link "$LINENO"; then :
18564   ac_cv_lib_m_fmodl=yes
18565 else
18566   ac_cv_lib_m_fmodl=no
18567 fi
18568 rm -f core conftest.err conftest.$ac_objext \
18569     conftest$ac_exeext conftest.$ac_ext
18570 LIBS=$ac_check_lib_save_LIBS
18571 fi
18572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodl" >&5
18573 $as_echo "$ac_cv_lib_m_fmodl" >&6; }
18574 if test "x$ac_cv_lib_m_fmodl" = x""yes; then :
18575
18576 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
18577
18578 fi
18579
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
18581 $as_echo_n "checking for frexpf in -lm... " >&6; }
18582 if test "${ac_cv_lib_m_frexpf+set}" = set; then :
18583   $as_echo_n "(cached) " >&6
18584 else
18585   ac_check_lib_save_LIBS=$LIBS
18586 LIBS="-lm  $LIBS"
18587 if test x$gcc_no_link = xyes; then
18588   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18589 fi
18590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18591 /* end confdefs.h.  */
18592
18593 /* Override any GCC internal prototype to avoid an error.
18594    Use char because int might match the return type of a GCC
18595    builtin and then its argument prototype would still apply.  */
18596 #ifdef __cplusplus
18597 extern "C"
18598 #endif
18599 char frexpf ();
18600 int
18601 main ()
18602 {
18603 return frexpf ();
18604   ;
18605   return 0;
18606 }
18607 _ACEOF
18608 if ac_fn_c_try_link "$LINENO"; then :
18609   ac_cv_lib_m_frexpf=yes
18610 else
18611   ac_cv_lib_m_frexpf=no
18612 fi
18613 rm -f core conftest.err conftest.$ac_objext \
18614     conftest$ac_exeext conftest.$ac_ext
18615 LIBS=$ac_check_lib_save_LIBS
18616 fi
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpf" >&5
18618 $as_echo "$ac_cv_lib_m_frexpf" >&6; }
18619 if test "x$ac_cv_lib_m_frexpf" = x""yes; then :
18620
18621 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
18622
18623 fi
18624
18625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
18626 $as_echo_n "checking for frexp in -lm... " >&6; }
18627 if test "${ac_cv_lib_m_frexp+set}" = set; then :
18628   $as_echo_n "(cached) " >&6
18629 else
18630   ac_check_lib_save_LIBS=$LIBS
18631 LIBS="-lm  $LIBS"
18632 if test x$gcc_no_link = xyes; then
18633   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18634 fi
18635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18636 /* end confdefs.h.  */
18637
18638 /* Override any GCC internal prototype to avoid an error.
18639    Use char because int might match the return type of a GCC
18640    builtin and then its argument prototype would still apply.  */
18641 #ifdef __cplusplus
18642 extern "C"
18643 #endif
18644 char frexp ();
18645 int
18646 main ()
18647 {
18648 return frexp ();
18649   ;
18650   return 0;
18651 }
18652 _ACEOF
18653 if ac_fn_c_try_link "$LINENO"; then :
18654   ac_cv_lib_m_frexp=yes
18655 else
18656   ac_cv_lib_m_frexp=no
18657 fi
18658 rm -f core conftest.err conftest.$ac_objext \
18659     conftest$ac_exeext conftest.$ac_ext
18660 LIBS=$ac_check_lib_save_LIBS
18661 fi
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexp" >&5
18663 $as_echo "$ac_cv_lib_m_frexp" >&6; }
18664 if test "x$ac_cv_lib_m_frexp" = x""yes; then :
18665
18666 $as_echo "#define HAVE_FREXP 1" >>confdefs.h
18667
18668 fi
18669
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
18671 $as_echo_n "checking for frexpl in -lm... " >&6; }
18672 if test "${ac_cv_lib_m_frexpl+set}" = set; then :
18673   $as_echo_n "(cached) " >&6
18674 else
18675   ac_check_lib_save_LIBS=$LIBS
18676 LIBS="-lm  $LIBS"
18677 if test x$gcc_no_link = xyes; then
18678   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18679 fi
18680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18681 /* end confdefs.h.  */
18682
18683 /* Override any GCC internal prototype to avoid an error.
18684    Use char because int might match the return type of a GCC
18685    builtin and then its argument prototype would still apply.  */
18686 #ifdef __cplusplus
18687 extern "C"
18688 #endif
18689 char frexpl ();
18690 int
18691 main ()
18692 {
18693 return frexpl ();
18694   ;
18695   return 0;
18696 }
18697 _ACEOF
18698 if ac_fn_c_try_link "$LINENO"; then :
18699   ac_cv_lib_m_frexpl=yes
18700 else
18701   ac_cv_lib_m_frexpl=no
18702 fi
18703 rm -f core conftest.err conftest.$ac_objext \
18704     conftest$ac_exeext conftest.$ac_ext
18705 LIBS=$ac_check_lib_save_LIBS
18706 fi
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpl" >&5
18708 $as_echo "$ac_cv_lib_m_frexpl" >&6; }
18709 if test "x$ac_cv_lib_m_frexpl" = x""yes; then :
18710
18711 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
18712
18713 fi
18714
18715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
18716 $as_echo_n "checking for hypotf in -lm... " >&6; }
18717 if test "${ac_cv_lib_m_hypotf+set}" = set; then :
18718   $as_echo_n "(cached) " >&6
18719 else
18720   ac_check_lib_save_LIBS=$LIBS
18721 LIBS="-lm  $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
18729    Use char because int might match the return type of a GCC
18730    builtin and then its argument prototype would still apply.  */
18731 #ifdef __cplusplus
18732 extern "C"
18733 #endif
18734 char hypotf ();
18735 int
18736 main ()
18737 {
18738 return hypotf ();
18739   ;
18740   return 0;
18741 }
18742 _ACEOF
18743 if ac_fn_c_try_link "$LINENO"; then :
18744   ac_cv_lib_m_hypotf=yes
18745 else
18746   ac_cv_lib_m_hypotf=no
18747 fi
18748 rm -f core conftest.err conftest.$ac_objext \
18749     conftest$ac_exeext conftest.$ac_ext
18750 LIBS=$ac_check_lib_save_LIBS
18751 fi
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotf" >&5
18753 $as_echo "$ac_cv_lib_m_hypotf" >&6; }
18754 if test "x$ac_cv_lib_m_hypotf" = x""yes; then :
18755
18756 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
18757
18758 fi
18759
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
18761 $as_echo_n "checking for hypot in -lm... " >&6; }
18762 if test "${ac_cv_lib_m_hypot+set}" = set; then :
18763   $as_echo_n "(cached) " >&6
18764 else
18765   ac_check_lib_save_LIBS=$LIBS
18766 LIBS="-lm  $LIBS"
18767 if test x$gcc_no_link = xyes; then
18768   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18769 fi
18770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18771 /* end confdefs.h.  */
18772
18773 /* Override any GCC internal prototype to avoid an error.
18774    Use char because int might match the return type of a GCC
18775    builtin and then its argument prototype would still apply.  */
18776 #ifdef __cplusplus
18777 extern "C"
18778 #endif
18779 char hypot ();
18780 int
18781 main ()
18782 {
18783 return hypot ();
18784   ;
18785   return 0;
18786 }
18787 _ACEOF
18788 if ac_fn_c_try_link "$LINENO"; then :
18789   ac_cv_lib_m_hypot=yes
18790 else
18791   ac_cv_lib_m_hypot=no
18792 fi
18793 rm -f core conftest.err conftest.$ac_objext \
18794     conftest$ac_exeext conftest.$ac_ext
18795 LIBS=$ac_check_lib_save_LIBS
18796 fi
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
18798 $as_echo "$ac_cv_lib_m_hypot" >&6; }
18799 if test "x$ac_cv_lib_m_hypot" = x""yes; then :
18800
18801 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
18802
18803 fi
18804
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
18806 $as_echo_n "checking for hypotl in -lm... " >&6; }
18807 if test "${ac_cv_lib_m_hypotl+set}" = set; then :
18808   $as_echo_n "(cached) " >&6
18809 else
18810   ac_check_lib_save_LIBS=$LIBS
18811 LIBS="-lm  $LIBS"
18812 if test x$gcc_no_link = xyes; then
18813   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18814 fi
18815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18816 /* end confdefs.h.  */
18817
18818 /* Override any GCC internal prototype to avoid an error.
18819    Use char because int might match the return type of a GCC
18820    builtin and then its argument prototype would still apply.  */
18821 #ifdef __cplusplus
18822 extern "C"
18823 #endif
18824 char hypotl ();
18825 int
18826 main ()
18827 {
18828 return hypotl ();
18829   ;
18830   return 0;
18831 }
18832 _ACEOF
18833 if ac_fn_c_try_link "$LINENO"; then :
18834   ac_cv_lib_m_hypotl=yes
18835 else
18836   ac_cv_lib_m_hypotl=no
18837 fi
18838 rm -f core conftest.err conftest.$ac_objext \
18839     conftest$ac_exeext conftest.$ac_ext
18840 LIBS=$ac_check_lib_save_LIBS
18841 fi
18842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotl" >&5
18843 $as_echo "$ac_cv_lib_m_hypotl" >&6; }
18844 if test "x$ac_cv_lib_m_hypotl" = x""yes; then :
18845
18846 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
18847
18848 fi
18849
18850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
18851 $as_echo_n "checking for ldexpf in -lm... " >&6; }
18852 if test "${ac_cv_lib_m_ldexpf+set}" = set; then :
18853   $as_echo_n "(cached) " >&6
18854 else
18855   ac_check_lib_save_LIBS=$LIBS
18856 LIBS="-lm  $LIBS"
18857 if test x$gcc_no_link = xyes; then
18858   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18859 fi
18860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18861 /* end confdefs.h.  */
18862
18863 /* Override any GCC internal prototype to avoid an error.
18864    Use char because int might match the return type of a GCC
18865    builtin and then its argument prototype would still apply.  */
18866 #ifdef __cplusplus
18867 extern "C"
18868 #endif
18869 char ldexpf ();
18870 int
18871 main ()
18872 {
18873 return ldexpf ();
18874   ;
18875   return 0;
18876 }
18877 _ACEOF
18878 if ac_fn_c_try_link "$LINENO"; then :
18879   ac_cv_lib_m_ldexpf=yes
18880 else
18881   ac_cv_lib_m_ldexpf=no
18882 fi
18883 rm -f core conftest.err conftest.$ac_objext \
18884     conftest$ac_exeext conftest.$ac_ext
18885 LIBS=$ac_check_lib_save_LIBS
18886 fi
18887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpf" >&5
18888 $as_echo "$ac_cv_lib_m_ldexpf" >&6; }
18889 if test "x$ac_cv_lib_m_ldexpf" = x""yes; then :
18890
18891 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
18892
18893 fi
18894
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
18896 $as_echo_n "checking for ldexp in -lm... " >&6; }
18897 if test "${ac_cv_lib_m_ldexp+set}" = set; then :
18898   $as_echo_n "(cached) " >&6
18899 else
18900   ac_check_lib_save_LIBS=$LIBS
18901 LIBS="-lm  $LIBS"
18902 if test x$gcc_no_link = xyes; then
18903   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18904 fi
18905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18906 /* end confdefs.h.  */
18907
18908 /* Override any GCC internal prototype to avoid an error.
18909    Use char because int might match the return type of a GCC
18910    builtin and then its argument prototype would still apply.  */
18911 #ifdef __cplusplus
18912 extern "C"
18913 #endif
18914 char ldexp ();
18915 int
18916 main ()
18917 {
18918 return ldexp ();
18919   ;
18920   return 0;
18921 }
18922 _ACEOF
18923 if ac_fn_c_try_link "$LINENO"; then :
18924   ac_cv_lib_m_ldexp=yes
18925 else
18926   ac_cv_lib_m_ldexp=no
18927 fi
18928 rm -f core conftest.err conftest.$ac_objext \
18929     conftest$ac_exeext conftest.$ac_ext
18930 LIBS=$ac_check_lib_save_LIBS
18931 fi
18932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexp" >&5
18933 $as_echo "$ac_cv_lib_m_ldexp" >&6; }
18934 if test "x$ac_cv_lib_m_ldexp" = x""yes; then :
18935
18936 $as_echo "#define HAVE_LDEXP 1" >>confdefs.h
18937
18938 fi
18939
18940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
18941 $as_echo_n "checking for ldexpl in -lm... " >&6; }
18942 if test "${ac_cv_lib_m_ldexpl+set}" = set; then :
18943   $as_echo_n "(cached) " >&6
18944 else
18945   ac_check_lib_save_LIBS=$LIBS
18946 LIBS="-lm  $LIBS"
18947 if test x$gcc_no_link = xyes; then
18948   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18949 fi
18950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18951 /* end confdefs.h.  */
18952
18953 /* Override any GCC internal prototype to avoid an error.
18954    Use char because int might match the return type of a GCC
18955    builtin and then its argument prototype would still apply.  */
18956 #ifdef __cplusplus
18957 extern "C"
18958 #endif
18959 char ldexpl ();
18960 int
18961 main ()
18962 {
18963 return ldexpl ();
18964   ;
18965   return 0;
18966 }
18967 _ACEOF
18968 if ac_fn_c_try_link "$LINENO"; then :
18969   ac_cv_lib_m_ldexpl=yes
18970 else
18971   ac_cv_lib_m_ldexpl=no
18972 fi
18973 rm -f core conftest.err conftest.$ac_objext \
18974     conftest$ac_exeext conftest.$ac_ext
18975 LIBS=$ac_check_lib_save_LIBS
18976 fi
18977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpl" >&5
18978 $as_echo "$ac_cv_lib_m_ldexpl" >&6; }
18979 if test "x$ac_cv_lib_m_ldexpl" = x""yes; then :
18980
18981 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
18982
18983 fi
18984
18985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
18986 $as_echo_n "checking for logf in -lm... " >&6; }
18987 if test "${ac_cv_lib_m_logf+set}" = set; then :
18988   $as_echo_n "(cached) " >&6
18989 else
18990   ac_check_lib_save_LIBS=$LIBS
18991 LIBS="-lm  $LIBS"
18992 if test x$gcc_no_link = xyes; then
18993   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18994 fi
18995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18996 /* end confdefs.h.  */
18997
18998 /* Override any GCC internal prototype to avoid an error.
18999    Use char because int might match the return type of a GCC
19000    builtin and then its argument prototype would still apply.  */
19001 #ifdef __cplusplus
19002 extern "C"
19003 #endif
19004 char logf ();
19005 int
19006 main ()
19007 {
19008 return logf ();
19009   ;
19010   return 0;
19011 }
19012 _ACEOF
19013 if ac_fn_c_try_link "$LINENO"; then :
19014   ac_cv_lib_m_logf=yes
19015 else
19016   ac_cv_lib_m_logf=no
19017 fi
19018 rm -f core conftest.err conftest.$ac_objext \
19019     conftest$ac_exeext conftest.$ac_ext
19020 LIBS=$ac_check_lib_save_LIBS
19021 fi
19022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logf" >&5
19023 $as_echo "$ac_cv_lib_m_logf" >&6; }
19024 if test "x$ac_cv_lib_m_logf" = x""yes; then :
19025
19026 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
19027
19028 fi
19029
19030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
19031 $as_echo_n "checking for log in -lm... " >&6; }
19032 if test "${ac_cv_lib_m_log+set}" = set; then :
19033   $as_echo_n "(cached) " >&6
19034 else
19035   ac_check_lib_save_LIBS=$LIBS
19036 LIBS="-lm  $LIBS"
19037 if test x$gcc_no_link = xyes; then
19038   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19039 fi
19040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19041 /* end confdefs.h.  */
19042
19043 /* Override any GCC internal prototype to avoid an error.
19044    Use char because int might match the return type of a GCC
19045    builtin and then its argument prototype would still apply.  */
19046 #ifdef __cplusplus
19047 extern "C"
19048 #endif
19049 char log ();
19050 int
19051 main ()
19052 {
19053 return log ();
19054   ;
19055   return 0;
19056 }
19057 _ACEOF
19058 if ac_fn_c_try_link "$LINENO"; then :
19059   ac_cv_lib_m_log=yes
19060 else
19061   ac_cv_lib_m_log=no
19062 fi
19063 rm -f core conftest.err conftest.$ac_objext \
19064     conftest$ac_exeext conftest.$ac_ext
19065 LIBS=$ac_check_lib_save_LIBS
19066 fi
19067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
19068 $as_echo "$ac_cv_lib_m_log" >&6; }
19069 if test "x$ac_cv_lib_m_log" = x""yes; then :
19070
19071 $as_echo "#define HAVE_LOG 1" >>confdefs.h
19072
19073 fi
19074
19075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19076 $as_echo_n "checking for logl in -lm... " >&6; }
19077 if test "${ac_cv_lib_m_logl+set}" = set; then :
19078   $as_echo_n "(cached) " >&6
19079 else
19080   ac_check_lib_save_LIBS=$LIBS
19081 LIBS="-lm  $LIBS"
19082 if test x$gcc_no_link = xyes; then
19083   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19084 fi
19085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19086 /* end confdefs.h.  */
19087
19088 /* Override any GCC internal prototype to avoid an error.
19089    Use char because int might match the return type of a GCC
19090    builtin and then its argument prototype would still apply.  */
19091 #ifdef __cplusplus
19092 extern "C"
19093 #endif
19094 char logl ();
19095 int
19096 main ()
19097 {
19098 return logl ();
19099   ;
19100   return 0;
19101 }
19102 _ACEOF
19103 if ac_fn_c_try_link "$LINENO"; then :
19104   ac_cv_lib_m_logl=yes
19105 else
19106   ac_cv_lib_m_logl=no
19107 fi
19108 rm -f core conftest.err conftest.$ac_objext \
19109     conftest$ac_exeext conftest.$ac_ext
19110 LIBS=$ac_check_lib_save_LIBS
19111 fi
19112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logl" >&5
19113 $as_echo "$ac_cv_lib_m_logl" >&6; }
19114 if test "x$ac_cv_lib_m_logl" = x""yes; then :
19115
19116 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
19117
19118 fi
19119
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19121 $as_echo_n "checking for clogf in -lm... " >&6; }
19122 if test "${ac_cv_lib_m_clogf+set}" = set; then :
19123   $as_echo_n "(cached) " >&6
19124 else
19125   ac_check_lib_save_LIBS=$LIBS
19126 LIBS="-lm  $LIBS"
19127 if test x$gcc_no_link = xyes; then
19128   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19129 fi
19130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19131 /* end confdefs.h.  */
19132
19133 /* Override any GCC internal prototype to avoid an error.
19134    Use char because int might match the return type of a GCC
19135    builtin and then its argument prototype would still apply.  */
19136 #ifdef __cplusplus
19137 extern "C"
19138 #endif
19139 char clogf ();
19140 int
19141 main ()
19142 {
19143 return clogf ();
19144   ;
19145   return 0;
19146 }
19147 _ACEOF
19148 if ac_fn_c_try_link "$LINENO"; then :
19149   ac_cv_lib_m_clogf=yes
19150 else
19151   ac_cv_lib_m_clogf=no
19152 fi
19153 rm -f core conftest.err conftest.$ac_objext \
19154     conftest$ac_exeext conftest.$ac_ext
19155 LIBS=$ac_check_lib_save_LIBS
19156 fi
19157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogf" >&5
19158 $as_echo "$ac_cv_lib_m_clogf" >&6; }
19159 if test "x$ac_cv_lib_m_clogf" = x""yes; then :
19160
19161 $as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19162
19163 fi
19164
19165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19166 $as_echo_n "checking for clog in -lm... " >&6; }
19167 if test "${ac_cv_lib_m_clog+set}" = set; then :
19168   $as_echo_n "(cached) " >&6
19169 else
19170   ac_check_lib_save_LIBS=$LIBS
19171 LIBS="-lm  $LIBS"
19172 if test x$gcc_no_link = xyes; then
19173   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19174 fi
19175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19176 /* end confdefs.h.  */
19177
19178 /* Override any GCC internal prototype to avoid an error.
19179    Use char because int might match the return type of a GCC
19180    builtin and then its argument prototype would still apply.  */
19181 #ifdef __cplusplus
19182 extern "C"
19183 #endif
19184 char clog ();
19185 int
19186 main ()
19187 {
19188 return clog ();
19189   ;
19190   return 0;
19191 }
19192 _ACEOF
19193 if ac_fn_c_try_link "$LINENO"; then :
19194   ac_cv_lib_m_clog=yes
19195 else
19196   ac_cv_lib_m_clog=no
19197 fi
19198 rm -f core conftest.err conftest.$ac_objext \
19199     conftest$ac_exeext conftest.$ac_ext
19200 LIBS=$ac_check_lib_save_LIBS
19201 fi
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog" >&5
19203 $as_echo "$ac_cv_lib_m_clog" >&6; }
19204 if test "x$ac_cv_lib_m_clog" = x""yes; then :
19205
19206 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
19207
19208 fi
19209
19210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19211 $as_echo_n "checking for clogl in -lm... " >&6; }
19212 if test "${ac_cv_lib_m_clogl+set}" = set; then :
19213   $as_echo_n "(cached) " >&6
19214 else
19215   ac_check_lib_save_LIBS=$LIBS
19216 LIBS="-lm  $LIBS"
19217 if test x$gcc_no_link = xyes; then
19218   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19219 fi
19220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19221 /* end confdefs.h.  */
19222
19223 /* Override any GCC internal prototype to avoid an error.
19224    Use char because int might match the return type of a GCC
19225    builtin and then its argument prototype would still apply.  */
19226 #ifdef __cplusplus
19227 extern "C"
19228 #endif
19229 char clogl ();
19230 int
19231 main ()
19232 {
19233 return clogl ();
19234   ;
19235   return 0;
19236 }
19237 _ACEOF
19238 if ac_fn_c_try_link "$LINENO"; then :
19239   ac_cv_lib_m_clogl=yes
19240 else
19241   ac_cv_lib_m_clogl=no
19242 fi
19243 rm -f core conftest.err conftest.$ac_objext \
19244     conftest$ac_exeext conftest.$ac_ext
19245 LIBS=$ac_check_lib_save_LIBS
19246 fi
19247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogl" >&5
19248 $as_echo "$ac_cv_lib_m_clogl" >&6; }
19249 if test "x$ac_cv_lib_m_clogl" = x""yes; then :
19250
19251 $as_echo "#define HAVE_CLOGL 1" >>confdefs.h
19252
19253 fi
19254
19255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
19256 $as_echo_n "checking for log10f in -lm... " >&6; }
19257 if test "${ac_cv_lib_m_log10f+set}" = set; then :
19258   $as_echo_n "(cached) " >&6
19259 else
19260   ac_check_lib_save_LIBS=$LIBS
19261 LIBS="-lm  $LIBS"
19262 if test x$gcc_no_link = xyes; then
19263   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19264 fi
19265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19266 /* end confdefs.h.  */
19267
19268 /* Override any GCC internal prototype to avoid an error.
19269    Use char because int might match the return type of a GCC
19270    builtin and then its argument prototype would still apply.  */
19271 #ifdef __cplusplus
19272 extern "C"
19273 #endif
19274 char log10f ();
19275 int
19276 main ()
19277 {
19278 return log10f ();
19279   ;
19280   return 0;
19281 }
19282 _ACEOF
19283 if ac_fn_c_try_link "$LINENO"; then :
19284   ac_cv_lib_m_log10f=yes
19285 else
19286   ac_cv_lib_m_log10f=no
19287 fi
19288 rm -f core conftest.err conftest.$ac_objext \
19289     conftest$ac_exeext conftest.$ac_ext
19290 LIBS=$ac_check_lib_save_LIBS
19291 fi
19292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10f" >&5
19293 $as_echo "$ac_cv_lib_m_log10f" >&6; }
19294 if test "x$ac_cv_lib_m_log10f" = x""yes; then :
19295
19296 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
19297
19298 fi
19299
19300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
19301 $as_echo_n "checking for log10 in -lm... " >&6; }
19302 if test "${ac_cv_lib_m_log10+set}" = set; then :
19303   $as_echo_n "(cached) " >&6
19304 else
19305   ac_check_lib_save_LIBS=$LIBS
19306 LIBS="-lm  $LIBS"
19307 if test x$gcc_no_link = xyes; then
19308   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19309 fi
19310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19311 /* end confdefs.h.  */
19312
19313 /* Override any GCC internal prototype to avoid an error.
19314    Use char because int might match the return type of a GCC
19315    builtin and then its argument prototype would still apply.  */
19316 #ifdef __cplusplus
19317 extern "C"
19318 #endif
19319 char log10 ();
19320 int
19321 main ()
19322 {
19323 return log10 ();
19324   ;
19325   return 0;
19326 }
19327 _ACEOF
19328 if ac_fn_c_try_link "$LINENO"; then :
19329   ac_cv_lib_m_log10=yes
19330 else
19331   ac_cv_lib_m_log10=no
19332 fi
19333 rm -f core conftest.err conftest.$ac_objext \
19334     conftest$ac_exeext conftest.$ac_ext
19335 LIBS=$ac_check_lib_save_LIBS
19336 fi
19337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
19338 $as_echo "$ac_cv_lib_m_log10" >&6; }
19339 if test "x$ac_cv_lib_m_log10" = x""yes; then :
19340
19341 $as_echo "#define HAVE_LOG10 1" >>confdefs.h
19342
19343 fi
19344
19345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
19346 $as_echo_n "checking for log10l in -lm... " >&6; }
19347 if test "${ac_cv_lib_m_log10l+set}" = set; then :
19348   $as_echo_n "(cached) " >&6
19349 else
19350   ac_check_lib_save_LIBS=$LIBS
19351 LIBS="-lm  $LIBS"
19352 if test x$gcc_no_link = xyes; then
19353   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19354 fi
19355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19356 /* end confdefs.h.  */
19357
19358 /* Override any GCC internal prototype to avoid an error.
19359    Use char because int might match the return type of a GCC
19360    builtin and then its argument prototype would still apply.  */
19361 #ifdef __cplusplus
19362 extern "C"
19363 #endif
19364 char log10l ();
19365 int
19366 main ()
19367 {
19368 return log10l ();
19369   ;
19370   return 0;
19371 }
19372 _ACEOF
19373 if ac_fn_c_try_link "$LINENO"; then :
19374   ac_cv_lib_m_log10l=yes
19375 else
19376   ac_cv_lib_m_log10l=no
19377 fi
19378 rm -f core conftest.err conftest.$ac_objext \
19379     conftest$ac_exeext conftest.$ac_ext
19380 LIBS=$ac_check_lib_save_LIBS
19381 fi
19382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10l" >&5
19383 $as_echo "$ac_cv_lib_m_log10l" >&6; }
19384 if test "x$ac_cv_lib_m_log10l" = x""yes; then :
19385
19386 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
19387
19388 fi
19389
19390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
19391 $as_echo_n "checking for clog10f in -lm... " >&6; }
19392 if test "${ac_cv_lib_m_clog10f+set}" = set; then :
19393   $as_echo_n "(cached) " >&6
19394 else
19395   ac_check_lib_save_LIBS=$LIBS
19396 LIBS="-lm  $LIBS"
19397 if test x$gcc_no_link = xyes; then
19398   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19399 fi
19400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19401 /* end confdefs.h.  */
19402
19403 /* Override any GCC internal prototype to avoid an error.
19404    Use char because int might match the return type of a GCC
19405    builtin and then its argument prototype would still apply.  */
19406 #ifdef __cplusplus
19407 extern "C"
19408 #endif
19409 char clog10f ();
19410 int
19411 main ()
19412 {
19413 return clog10f ();
19414   ;
19415   return 0;
19416 }
19417 _ACEOF
19418 if ac_fn_c_try_link "$LINENO"; then :
19419   ac_cv_lib_m_clog10f=yes
19420 else
19421   ac_cv_lib_m_clog10f=no
19422 fi
19423 rm -f core conftest.err conftest.$ac_objext \
19424     conftest$ac_exeext conftest.$ac_ext
19425 LIBS=$ac_check_lib_save_LIBS
19426 fi
19427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10f" >&5
19428 $as_echo "$ac_cv_lib_m_clog10f" >&6; }
19429 if test "x$ac_cv_lib_m_clog10f" = x""yes; then :
19430
19431 $as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
19432
19433 fi
19434
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
19436 $as_echo_n "checking for clog10 in -lm... " >&6; }
19437 if test "${ac_cv_lib_m_clog10+set}" = set; then :
19438   $as_echo_n "(cached) " >&6
19439 else
19440   ac_check_lib_save_LIBS=$LIBS
19441 LIBS="-lm  $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
19449    Use char because int might match the return type of a GCC
19450    builtin and then its argument prototype would still apply.  */
19451 #ifdef __cplusplus
19452 extern "C"
19453 #endif
19454 char clog10 ();
19455 int
19456 main ()
19457 {
19458 return clog10 ();
19459   ;
19460   return 0;
19461 }
19462 _ACEOF
19463 if ac_fn_c_try_link "$LINENO"; then :
19464   ac_cv_lib_m_clog10=yes
19465 else
19466   ac_cv_lib_m_clog10=no
19467 fi
19468 rm -f core conftest.err conftest.$ac_objext \
19469     conftest$ac_exeext conftest.$ac_ext
19470 LIBS=$ac_check_lib_save_LIBS
19471 fi
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10" >&5
19473 $as_echo "$ac_cv_lib_m_clog10" >&6; }
19474 if test "x$ac_cv_lib_m_clog10" = x""yes; then :
19475
19476 $as_echo "#define HAVE_CLOG10 1" >>confdefs.h
19477
19478 fi
19479
19480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
19481 $as_echo_n "checking for clog10l in -lm... " >&6; }
19482 if test "${ac_cv_lib_m_clog10l+set}" = set; then :
19483   $as_echo_n "(cached) " >&6
19484 else
19485   ac_check_lib_save_LIBS=$LIBS
19486 LIBS="-lm  $LIBS"
19487 if test x$gcc_no_link = xyes; then
19488   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19489 fi
19490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19491 /* end confdefs.h.  */
19492
19493 /* Override any GCC internal prototype to avoid an error.
19494    Use char because int might match the return type of a GCC
19495    builtin and then its argument prototype would still apply.  */
19496 #ifdef __cplusplus
19497 extern "C"
19498 #endif
19499 char clog10l ();
19500 int
19501 main ()
19502 {
19503 return clog10l ();
19504   ;
19505   return 0;
19506 }
19507 _ACEOF
19508 if ac_fn_c_try_link "$LINENO"; then :
19509   ac_cv_lib_m_clog10l=yes
19510 else
19511   ac_cv_lib_m_clog10l=no
19512 fi
19513 rm -f core conftest.err conftest.$ac_objext \
19514     conftest$ac_exeext conftest.$ac_ext
19515 LIBS=$ac_check_lib_save_LIBS
19516 fi
19517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10l" >&5
19518 $as_echo "$ac_cv_lib_m_clog10l" >&6; }
19519 if test "x$ac_cv_lib_m_clog10l" = x""yes; then :
19520
19521 $as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
19522
19523 fi
19524
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
19526 $as_echo_n "checking for nextafterf in -lm... " >&6; }
19527 if test "${ac_cv_lib_m_nextafterf+set}" = set; then :
19528   $as_echo_n "(cached) " >&6
19529 else
19530   ac_check_lib_save_LIBS=$LIBS
19531 LIBS="-lm  $LIBS"
19532 if test x$gcc_no_link = xyes; then
19533   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19534 fi
19535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19536 /* end confdefs.h.  */
19537
19538 /* Override any GCC internal prototype to avoid an error.
19539    Use char because int might match the return type of a GCC
19540    builtin and then its argument prototype would still apply.  */
19541 #ifdef __cplusplus
19542 extern "C"
19543 #endif
19544 char nextafterf ();
19545 int
19546 main ()
19547 {
19548 return nextafterf ();
19549   ;
19550   return 0;
19551 }
19552 _ACEOF
19553 if ac_fn_c_try_link "$LINENO"; then :
19554   ac_cv_lib_m_nextafterf=yes
19555 else
19556   ac_cv_lib_m_nextafterf=no
19557 fi
19558 rm -f core conftest.err conftest.$ac_objext \
19559     conftest$ac_exeext conftest.$ac_ext
19560 LIBS=$ac_check_lib_save_LIBS
19561 fi
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterf" >&5
19563 $as_echo "$ac_cv_lib_m_nextafterf" >&6; }
19564 if test "x$ac_cv_lib_m_nextafterf" = x""yes; then :
19565
19566 $as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
19567
19568 fi
19569
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
19571 $as_echo_n "checking for nextafter in -lm... " >&6; }
19572 if test "${ac_cv_lib_m_nextafter+set}" = set; then :
19573   $as_echo_n "(cached) " >&6
19574 else
19575   ac_check_lib_save_LIBS=$LIBS
19576 LIBS="-lm  $LIBS"
19577 if test x$gcc_no_link = xyes; then
19578   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19579 fi
19580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19581 /* end confdefs.h.  */
19582
19583 /* Override any GCC internal prototype to avoid an error.
19584    Use char because int might match the return type of a GCC
19585    builtin and then its argument prototype would still apply.  */
19586 #ifdef __cplusplus
19587 extern "C"
19588 #endif
19589 char nextafter ();
19590 int
19591 main ()
19592 {
19593 return nextafter ();
19594   ;
19595   return 0;
19596 }
19597 _ACEOF
19598 if ac_fn_c_try_link "$LINENO"; then :
19599   ac_cv_lib_m_nextafter=yes
19600 else
19601   ac_cv_lib_m_nextafter=no
19602 fi
19603 rm -f core conftest.err conftest.$ac_objext \
19604     conftest$ac_exeext conftest.$ac_ext
19605 LIBS=$ac_check_lib_save_LIBS
19606 fi
19607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafter" >&5
19608 $as_echo "$ac_cv_lib_m_nextafter" >&6; }
19609 if test "x$ac_cv_lib_m_nextafter" = x""yes; then :
19610
19611 $as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
19612
19613 fi
19614
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
19616 $as_echo_n "checking for nextafterl in -lm... " >&6; }
19617 if test "${ac_cv_lib_m_nextafterl+set}" = set; then :
19618   $as_echo_n "(cached) " >&6
19619 else
19620   ac_check_lib_save_LIBS=$LIBS
19621 LIBS="-lm  $LIBS"
19622 if test x$gcc_no_link = xyes; then
19623   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19624 fi
19625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19626 /* end confdefs.h.  */
19627
19628 /* Override any GCC internal prototype to avoid an error.
19629    Use char because int might match the return type of a GCC
19630    builtin and then its argument prototype would still apply.  */
19631 #ifdef __cplusplus
19632 extern "C"
19633 #endif
19634 char nextafterl ();
19635 int
19636 main ()
19637 {
19638 return nextafterl ();
19639   ;
19640   return 0;
19641 }
19642 _ACEOF
19643 if ac_fn_c_try_link "$LINENO"; then :
19644   ac_cv_lib_m_nextafterl=yes
19645 else
19646   ac_cv_lib_m_nextafterl=no
19647 fi
19648 rm -f core conftest.err conftest.$ac_objext \
19649     conftest$ac_exeext conftest.$ac_ext
19650 LIBS=$ac_check_lib_save_LIBS
19651 fi
19652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterl" >&5
19653 $as_echo "$ac_cv_lib_m_nextafterl" >&6; }
19654 if test "x$ac_cv_lib_m_nextafterl" = x""yes; then :
19655
19656 $as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
19657
19658 fi
19659
19660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
19661 $as_echo_n "checking for powf in -lm... " >&6; }
19662 if test "${ac_cv_lib_m_powf+set}" = set; then :
19663   $as_echo_n "(cached) " >&6
19664 else
19665   ac_check_lib_save_LIBS=$LIBS
19666 LIBS="-lm  $LIBS"
19667 if test x$gcc_no_link = xyes; then
19668   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19669 fi
19670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19671 /* end confdefs.h.  */
19672
19673 /* Override any GCC internal prototype to avoid an error.
19674    Use char because int might match the return type of a GCC
19675    builtin and then its argument prototype would still apply.  */
19676 #ifdef __cplusplus
19677 extern "C"
19678 #endif
19679 char powf ();
19680 int
19681 main ()
19682 {
19683 return powf ();
19684   ;
19685   return 0;
19686 }
19687 _ACEOF
19688 if ac_fn_c_try_link "$LINENO"; then :
19689   ac_cv_lib_m_powf=yes
19690 else
19691   ac_cv_lib_m_powf=no
19692 fi
19693 rm -f core conftest.err conftest.$ac_objext \
19694     conftest$ac_exeext conftest.$ac_ext
19695 LIBS=$ac_check_lib_save_LIBS
19696 fi
19697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powf" >&5
19698 $as_echo "$ac_cv_lib_m_powf" >&6; }
19699 if test "x$ac_cv_lib_m_powf" = x""yes; then :
19700
19701 $as_echo "#define HAVE_POWF 1" >>confdefs.h
19702
19703 fi
19704
19705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19706 $as_echo_n "checking for pow in -lm... " >&6; }
19707 if test "${ac_cv_lib_m_pow+set}" = set; then :
19708   $as_echo_n "(cached) " >&6
19709 else
19710   ac_check_lib_save_LIBS=$LIBS
19711 LIBS="-lm  $LIBS"
19712 if test x$gcc_no_link = xyes; then
19713   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19714 fi
19715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19716 /* end confdefs.h.  */
19717
19718 /* Override any GCC internal prototype to avoid an error.
19719    Use char because int might match the return type of a GCC
19720    builtin and then its argument prototype would still apply.  */
19721 #ifdef __cplusplus
19722 extern "C"
19723 #endif
19724 char pow ();
19725 int
19726 main ()
19727 {
19728 return pow ();
19729   ;
19730   return 0;
19731 }
19732 _ACEOF
19733 if ac_fn_c_try_link "$LINENO"; then :
19734   ac_cv_lib_m_pow=yes
19735 else
19736   ac_cv_lib_m_pow=no
19737 fi
19738 rm -f core conftest.err conftest.$ac_objext \
19739     conftest$ac_exeext conftest.$ac_ext
19740 LIBS=$ac_check_lib_save_LIBS
19741 fi
19742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19743 $as_echo "$ac_cv_lib_m_pow" >&6; }
19744 if test "x$ac_cv_lib_m_pow" = x""yes; then :
19745
19746 $as_echo "#define HAVE_POW 1" >>confdefs.h
19747
19748 fi
19749
19750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
19751 $as_echo_n "checking for powl in -lm... " >&6; }
19752 if test "${ac_cv_lib_m_powl+set}" = set; then :
19753   $as_echo_n "(cached) " >&6
19754 else
19755   ac_check_lib_save_LIBS=$LIBS
19756 LIBS="-lm  $LIBS"
19757 if test x$gcc_no_link = xyes; then
19758   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19759 fi
19760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19761 /* end confdefs.h.  */
19762
19763 /* Override any GCC internal prototype to avoid an error.
19764    Use char because int might match the return type of a GCC
19765    builtin and then its argument prototype would still apply.  */
19766 #ifdef __cplusplus
19767 extern "C"
19768 #endif
19769 char powl ();
19770 int
19771 main ()
19772 {
19773 return powl ();
19774   ;
19775   return 0;
19776 }
19777 _ACEOF
19778 if ac_fn_c_try_link "$LINENO"; then :
19779   ac_cv_lib_m_powl=yes
19780 else
19781   ac_cv_lib_m_powl=no
19782 fi
19783 rm -f core conftest.err conftest.$ac_objext \
19784     conftest$ac_exeext conftest.$ac_ext
19785 LIBS=$ac_check_lib_save_LIBS
19786 fi
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powl" >&5
19788 $as_echo "$ac_cv_lib_m_powl" >&6; }
19789 if test "x$ac_cv_lib_m_powl" = x""yes; then :
19790
19791 $as_echo "#define HAVE_POWL 1" >>confdefs.h
19792
19793 fi
19794
19795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
19796 $as_echo_n "checking for cpowf in -lm... " >&6; }
19797 if test "${ac_cv_lib_m_cpowf+set}" = set; then :
19798   $as_echo_n "(cached) " >&6
19799 else
19800   ac_check_lib_save_LIBS=$LIBS
19801 LIBS="-lm  $LIBS"
19802 if test x$gcc_no_link = xyes; then
19803   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19804 fi
19805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19806 /* end confdefs.h.  */
19807
19808 /* Override any GCC internal prototype to avoid an error.
19809    Use char because int might match the return type of a GCC
19810    builtin and then its argument prototype would still apply.  */
19811 #ifdef __cplusplus
19812 extern "C"
19813 #endif
19814 char cpowf ();
19815 int
19816 main ()
19817 {
19818 return cpowf ();
19819   ;
19820   return 0;
19821 }
19822 _ACEOF
19823 if ac_fn_c_try_link "$LINENO"; then :
19824   ac_cv_lib_m_cpowf=yes
19825 else
19826   ac_cv_lib_m_cpowf=no
19827 fi
19828 rm -f core conftest.err conftest.$ac_objext \
19829     conftest$ac_exeext conftest.$ac_ext
19830 LIBS=$ac_check_lib_save_LIBS
19831 fi
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowf" >&5
19833 $as_echo "$ac_cv_lib_m_cpowf" >&6; }
19834 if test "x$ac_cv_lib_m_cpowf" = x""yes; then :
19835
19836 $as_echo "#define HAVE_CPOWF 1" >>confdefs.h
19837
19838 fi
19839
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
19841 $as_echo_n "checking for cpow in -lm... " >&6; }
19842 if test "${ac_cv_lib_m_cpow+set}" = set; then :
19843   $as_echo_n "(cached) " >&6
19844 else
19845   ac_check_lib_save_LIBS=$LIBS
19846 LIBS="-lm  $LIBS"
19847 if test x$gcc_no_link = xyes; then
19848   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19849 fi
19850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19851 /* end confdefs.h.  */
19852
19853 /* Override any GCC internal prototype to avoid an error.
19854    Use char because int might match the return type of a GCC
19855    builtin and then its argument prototype would still apply.  */
19856 #ifdef __cplusplus
19857 extern "C"
19858 #endif
19859 char cpow ();
19860 int
19861 main ()
19862 {
19863 return cpow ();
19864   ;
19865   return 0;
19866 }
19867 _ACEOF
19868 if ac_fn_c_try_link "$LINENO"; then :
19869   ac_cv_lib_m_cpow=yes
19870 else
19871   ac_cv_lib_m_cpow=no
19872 fi
19873 rm -f core conftest.err conftest.$ac_objext \
19874     conftest$ac_exeext conftest.$ac_ext
19875 LIBS=$ac_check_lib_save_LIBS
19876 fi
19877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpow" >&5
19878 $as_echo "$ac_cv_lib_m_cpow" >&6; }
19879 if test "x$ac_cv_lib_m_cpow" = x""yes; then :
19880
19881 $as_echo "#define HAVE_CPOW 1" >>confdefs.h
19882
19883 fi
19884
19885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
19886 $as_echo_n "checking for cpowl in -lm... " >&6; }
19887 if test "${ac_cv_lib_m_cpowl+set}" = set; then :
19888   $as_echo_n "(cached) " >&6
19889 else
19890   ac_check_lib_save_LIBS=$LIBS
19891 LIBS="-lm  $LIBS"
19892 if test x$gcc_no_link = xyes; then
19893   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19894 fi
19895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19896 /* end confdefs.h.  */
19897
19898 /* Override any GCC internal prototype to avoid an error.
19899    Use char because int might match the return type of a GCC
19900    builtin and then its argument prototype would still apply.  */
19901 #ifdef __cplusplus
19902 extern "C"
19903 #endif
19904 char cpowl ();
19905 int
19906 main ()
19907 {
19908 return cpowl ();
19909   ;
19910   return 0;
19911 }
19912 _ACEOF
19913 if ac_fn_c_try_link "$LINENO"; then :
19914   ac_cv_lib_m_cpowl=yes
19915 else
19916   ac_cv_lib_m_cpowl=no
19917 fi
19918 rm -f core conftest.err conftest.$ac_objext \
19919     conftest$ac_exeext conftest.$ac_ext
19920 LIBS=$ac_check_lib_save_LIBS
19921 fi
19922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowl" >&5
19923 $as_echo "$ac_cv_lib_m_cpowl" >&6; }
19924 if test "x$ac_cv_lib_m_cpowl" = x""yes; then :
19925
19926 $as_echo "#define HAVE_CPOWL 1" >>confdefs.h
19927
19928 fi
19929
19930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
19931 $as_echo_n "checking for roundf in -lm... " >&6; }
19932 if test "${ac_cv_lib_m_roundf+set}" = set; then :
19933   $as_echo_n "(cached) " >&6
19934 else
19935   ac_check_lib_save_LIBS=$LIBS
19936 LIBS="-lm  $LIBS"
19937 if test x$gcc_no_link = xyes; then
19938   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19939 fi
19940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19941 /* end confdefs.h.  */
19942
19943 /* Override any GCC internal prototype to avoid an error.
19944    Use char because int might match the return type of a GCC
19945    builtin and then its argument prototype would still apply.  */
19946 #ifdef __cplusplus
19947 extern "C"
19948 #endif
19949 char roundf ();
19950 int
19951 main ()
19952 {
19953 return roundf ();
19954   ;
19955   return 0;
19956 }
19957 _ACEOF
19958 if ac_fn_c_try_link "$LINENO"; then :
19959   ac_cv_lib_m_roundf=yes
19960 else
19961   ac_cv_lib_m_roundf=no
19962 fi
19963 rm -f core conftest.err conftest.$ac_objext \
19964     conftest$ac_exeext conftest.$ac_ext
19965 LIBS=$ac_check_lib_save_LIBS
19966 fi
19967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
19968 $as_echo "$ac_cv_lib_m_roundf" >&6; }
19969 if test "x$ac_cv_lib_m_roundf" = x""yes; then :
19970
19971 $as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
19972
19973 fi
19974
19975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
19976 $as_echo_n "checking for round in -lm... " >&6; }
19977 if test "${ac_cv_lib_m_round+set}" = set; then :
19978   $as_echo_n "(cached) " >&6
19979 else
19980   ac_check_lib_save_LIBS=$LIBS
19981 LIBS="-lm  $LIBS"
19982 if test x$gcc_no_link = xyes; then
19983   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19984 fi
19985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19986 /* end confdefs.h.  */
19987
19988 /* Override any GCC internal prototype to avoid an error.
19989    Use char because int might match the return type of a GCC
19990    builtin and then its argument prototype would still apply.  */
19991 #ifdef __cplusplus
19992 extern "C"
19993 #endif
19994 char round ();
19995 int
19996 main ()
19997 {
19998 return round ();
19999   ;
20000   return 0;
20001 }
20002 _ACEOF
20003 if ac_fn_c_try_link "$LINENO"; then :
20004   ac_cv_lib_m_round=yes
20005 else
20006   ac_cv_lib_m_round=no
20007 fi
20008 rm -f core conftest.err conftest.$ac_objext \
20009     conftest$ac_exeext conftest.$ac_ext
20010 LIBS=$ac_check_lib_save_LIBS
20011 fi
20012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
20013 $as_echo "$ac_cv_lib_m_round" >&6; }
20014 if test "x$ac_cv_lib_m_round" = x""yes; then :
20015
20016 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
20017
20018 fi
20019
20020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
20021 $as_echo_n "checking for roundl in -lm... " >&6; }
20022 if test "${ac_cv_lib_m_roundl+set}" = set; then :
20023   $as_echo_n "(cached) " >&6
20024 else
20025   ac_check_lib_save_LIBS=$LIBS
20026 LIBS="-lm  $LIBS"
20027 if test x$gcc_no_link = xyes; then
20028   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20029 fi
20030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20031 /* end confdefs.h.  */
20032
20033 /* Override any GCC internal prototype to avoid an error.
20034    Use char because int might match the return type of a GCC
20035    builtin and then its argument prototype would still apply.  */
20036 #ifdef __cplusplus
20037 extern "C"
20038 #endif
20039 char roundl ();
20040 int
20041 main ()
20042 {
20043 return roundl ();
20044   ;
20045   return 0;
20046 }
20047 _ACEOF
20048 if ac_fn_c_try_link "$LINENO"; then :
20049   ac_cv_lib_m_roundl=yes
20050 else
20051   ac_cv_lib_m_roundl=no
20052 fi
20053 rm -f core conftest.err conftest.$ac_objext \
20054     conftest$ac_exeext conftest.$ac_ext
20055 LIBS=$ac_check_lib_save_LIBS
20056 fi
20057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundl" >&5
20058 $as_echo "$ac_cv_lib_m_roundl" >&6; }
20059 if test "x$ac_cv_lib_m_roundl" = x""yes; then :
20060
20061 $as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20062
20063 fi
20064
20065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20066 $as_echo_n "checking for lroundf in -lm... " >&6; }
20067 if test "${ac_cv_lib_m_lroundf+set}" = set; then :
20068   $as_echo_n "(cached) " >&6
20069 else
20070   ac_check_lib_save_LIBS=$LIBS
20071 LIBS="-lm  $LIBS"
20072 if test x$gcc_no_link = xyes; then
20073   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20074 fi
20075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20076 /* end confdefs.h.  */
20077
20078 /* Override any GCC internal prototype to avoid an error.
20079    Use char because int might match the return type of a GCC
20080    builtin and then its argument prototype would still apply.  */
20081 #ifdef __cplusplus
20082 extern "C"
20083 #endif
20084 char lroundf ();
20085 int
20086 main ()
20087 {
20088 return lroundf ();
20089   ;
20090   return 0;
20091 }
20092 _ACEOF
20093 if ac_fn_c_try_link "$LINENO"; then :
20094   ac_cv_lib_m_lroundf=yes
20095 else
20096   ac_cv_lib_m_lroundf=no
20097 fi
20098 rm -f core conftest.err conftest.$ac_objext \
20099     conftest$ac_exeext conftest.$ac_ext
20100 LIBS=$ac_check_lib_save_LIBS
20101 fi
20102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5
20103 $as_echo "$ac_cv_lib_m_lroundf" >&6; }
20104 if test "x$ac_cv_lib_m_lroundf" = x""yes; then :
20105
20106 $as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20107
20108 fi
20109
20110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20111 $as_echo_n "checking for lround in -lm... " >&6; }
20112 if test "${ac_cv_lib_m_lround+set}" = set; then :
20113   $as_echo_n "(cached) " >&6
20114 else
20115   ac_check_lib_save_LIBS=$LIBS
20116 LIBS="-lm  $LIBS"
20117 if test x$gcc_no_link = xyes; then
20118   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20119 fi
20120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20121 /* end confdefs.h.  */
20122
20123 /* Override any GCC internal prototype to avoid an error.
20124    Use char because int might match the return type of a GCC
20125    builtin and then its argument prototype would still apply.  */
20126 #ifdef __cplusplus
20127 extern "C"
20128 #endif
20129 char lround ();
20130 int
20131 main ()
20132 {
20133 return lround ();
20134   ;
20135   return 0;
20136 }
20137 _ACEOF
20138 if ac_fn_c_try_link "$LINENO"; then :
20139   ac_cv_lib_m_lround=yes
20140 else
20141   ac_cv_lib_m_lround=no
20142 fi
20143 rm -f core conftest.err conftest.$ac_objext \
20144     conftest$ac_exeext conftest.$ac_ext
20145 LIBS=$ac_check_lib_save_LIBS
20146 fi
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20148 $as_echo "$ac_cv_lib_m_lround" >&6; }
20149 if test "x$ac_cv_lib_m_lround" = x""yes; then :
20150
20151 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20152
20153 fi
20154
20155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20156 $as_echo_n "checking for lroundl in -lm... " >&6; }
20157 if test "${ac_cv_lib_m_lroundl+set}" = set; then :
20158   $as_echo_n "(cached) " >&6
20159 else
20160   ac_check_lib_save_LIBS=$LIBS
20161 LIBS="-lm  $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
20169    Use char because int might match the return type of a GCC
20170    builtin and then its argument prototype would still apply.  */
20171 #ifdef __cplusplus
20172 extern "C"
20173 #endif
20174 char lroundl ();
20175 int
20176 main ()
20177 {
20178 return lroundl ();
20179   ;
20180   return 0;
20181 }
20182 _ACEOF
20183 if ac_fn_c_try_link "$LINENO"; then :
20184   ac_cv_lib_m_lroundl=yes
20185 else
20186   ac_cv_lib_m_lroundl=no
20187 fi
20188 rm -f core conftest.err conftest.$ac_objext \
20189     conftest$ac_exeext conftest.$ac_ext
20190 LIBS=$ac_check_lib_save_LIBS
20191 fi
20192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundl" >&5
20193 $as_echo "$ac_cv_lib_m_lroundl" >&6; }
20194 if test "x$ac_cv_lib_m_lroundl" = x""yes; then :
20195
20196 $as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20197
20198 fi
20199
20200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20201 $as_echo_n "checking for llroundf in -lm... " >&6; }
20202 if test "${ac_cv_lib_m_llroundf+set}" = set; then :
20203   $as_echo_n "(cached) " >&6
20204 else
20205   ac_check_lib_save_LIBS=$LIBS
20206 LIBS="-lm  $LIBS"
20207 if test x$gcc_no_link = xyes; then
20208   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20209 fi
20210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20211 /* end confdefs.h.  */
20212
20213 /* Override any GCC internal prototype to avoid an error.
20214    Use char because int might match the return type of a GCC
20215    builtin and then its argument prototype would still apply.  */
20216 #ifdef __cplusplus
20217 extern "C"
20218 #endif
20219 char llroundf ();
20220 int
20221 main ()
20222 {
20223 return llroundf ();
20224   ;
20225   return 0;
20226 }
20227 _ACEOF
20228 if ac_fn_c_try_link "$LINENO"; then :
20229   ac_cv_lib_m_llroundf=yes
20230 else
20231   ac_cv_lib_m_llroundf=no
20232 fi
20233 rm -f core conftest.err conftest.$ac_objext \
20234     conftest$ac_exeext conftest.$ac_ext
20235 LIBS=$ac_check_lib_save_LIBS
20236 fi
20237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundf" >&5
20238 $as_echo "$ac_cv_lib_m_llroundf" >&6; }
20239 if test "x$ac_cv_lib_m_llroundf" = x""yes; then :
20240
20241 $as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
20242
20243 fi
20244
20245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
20246 $as_echo_n "checking for llround in -lm... " >&6; }
20247 if test "${ac_cv_lib_m_llround+set}" = set; then :
20248   $as_echo_n "(cached) " >&6
20249 else
20250   ac_check_lib_save_LIBS=$LIBS
20251 LIBS="-lm  $LIBS"
20252 if test x$gcc_no_link = xyes; then
20253   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20254 fi
20255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20256 /* end confdefs.h.  */
20257
20258 /* Override any GCC internal prototype to avoid an error.
20259    Use char because int might match the return type of a GCC
20260    builtin and then its argument prototype would still apply.  */
20261 #ifdef __cplusplus
20262 extern "C"
20263 #endif
20264 char llround ();
20265 int
20266 main ()
20267 {
20268 return llround ();
20269   ;
20270   return 0;
20271 }
20272 _ACEOF
20273 if ac_fn_c_try_link "$LINENO"; then :
20274   ac_cv_lib_m_llround=yes
20275 else
20276   ac_cv_lib_m_llround=no
20277 fi
20278 rm -f core conftest.err conftest.$ac_objext \
20279     conftest$ac_exeext conftest.$ac_ext
20280 LIBS=$ac_check_lib_save_LIBS
20281 fi
20282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llround" >&5
20283 $as_echo "$ac_cv_lib_m_llround" >&6; }
20284 if test "x$ac_cv_lib_m_llround" = x""yes; then :
20285
20286 $as_echo "#define HAVE_LLROUND 1" >>confdefs.h
20287
20288 fi
20289
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
20291 $as_echo_n "checking for llroundl in -lm... " >&6; }
20292 if test "${ac_cv_lib_m_llroundl+set}" = set; then :
20293   $as_echo_n "(cached) " >&6
20294 else
20295   ac_check_lib_save_LIBS=$LIBS
20296 LIBS="-lm  $LIBS"
20297 if test x$gcc_no_link = xyes; then
20298   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20299 fi
20300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20301 /* end confdefs.h.  */
20302
20303 /* Override any GCC internal prototype to avoid an error.
20304    Use char because int might match the return type of a GCC
20305    builtin and then its argument prototype would still apply.  */
20306 #ifdef __cplusplus
20307 extern "C"
20308 #endif
20309 char llroundl ();
20310 int
20311 main ()
20312 {
20313 return llroundl ();
20314   ;
20315   return 0;
20316 }
20317 _ACEOF
20318 if ac_fn_c_try_link "$LINENO"; then :
20319   ac_cv_lib_m_llroundl=yes
20320 else
20321   ac_cv_lib_m_llroundl=no
20322 fi
20323 rm -f core conftest.err conftest.$ac_objext \
20324     conftest$ac_exeext conftest.$ac_ext
20325 LIBS=$ac_check_lib_save_LIBS
20326 fi
20327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundl" >&5
20328 $as_echo "$ac_cv_lib_m_llroundl" >&6; }
20329 if test "x$ac_cv_lib_m_llroundl" = x""yes; then :
20330
20331 $as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
20332
20333 fi
20334
20335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
20336 $as_echo_n "checking for scalbnf in -lm... " >&6; }
20337 if test "${ac_cv_lib_m_scalbnf+set}" = set; then :
20338   $as_echo_n "(cached) " >&6
20339 else
20340   ac_check_lib_save_LIBS=$LIBS
20341 LIBS="-lm  $LIBS"
20342 if test x$gcc_no_link = xyes; then
20343   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20344 fi
20345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20346 /* end confdefs.h.  */
20347
20348 /* Override any GCC internal prototype to avoid an error.
20349    Use char because int might match the return type of a GCC
20350    builtin and then its argument prototype would still apply.  */
20351 #ifdef __cplusplus
20352 extern "C"
20353 #endif
20354 char scalbnf ();
20355 int
20356 main ()
20357 {
20358 return scalbnf ();
20359   ;
20360   return 0;
20361 }
20362 _ACEOF
20363 if ac_fn_c_try_link "$LINENO"; then :
20364   ac_cv_lib_m_scalbnf=yes
20365 else
20366   ac_cv_lib_m_scalbnf=no
20367 fi
20368 rm -f core conftest.err conftest.$ac_objext \
20369     conftest$ac_exeext conftest.$ac_ext
20370 LIBS=$ac_check_lib_save_LIBS
20371 fi
20372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnf" >&5
20373 $as_echo "$ac_cv_lib_m_scalbnf" >&6; }
20374 if test "x$ac_cv_lib_m_scalbnf" = x""yes; then :
20375
20376 $as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
20377
20378 fi
20379
20380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
20381 $as_echo_n "checking for scalbn in -lm... " >&6; }
20382 if test "${ac_cv_lib_m_scalbn+set}" = set; then :
20383   $as_echo_n "(cached) " >&6
20384 else
20385   ac_check_lib_save_LIBS=$LIBS
20386 LIBS="-lm  $LIBS"
20387 if test x$gcc_no_link = xyes; then
20388   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20389 fi
20390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20391 /* end confdefs.h.  */
20392
20393 /* Override any GCC internal prototype to avoid an error.
20394    Use char because int might match the return type of a GCC
20395    builtin and then its argument prototype would still apply.  */
20396 #ifdef __cplusplus
20397 extern "C"
20398 #endif
20399 char scalbn ();
20400 int
20401 main ()
20402 {
20403 return scalbn ();
20404   ;
20405   return 0;
20406 }
20407 _ACEOF
20408 if ac_fn_c_try_link "$LINENO"; then :
20409   ac_cv_lib_m_scalbn=yes
20410 else
20411   ac_cv_lib_m_scalbn=no
20412 fi
20413 rm -f core conftest.err conftest.$ac_objext \
20414     conftest$ac_exeext conftest.$ac_ext
20415 LIBS=$ac_check_lib_save_LIBS
20416 fi
20417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbn" >&5
20418 $as_echo "$ac_cv_lib_m_scalbn" >&6; }
20419 if test "x$ac_cv_lib_m_scalbn" = x""yes; then :
20420
20421 $as_echo "#define HAVE_SCALBN 1" >>confdefs.h
20422
20423 fi
20424
20425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
20426 $as_echo_n "checking for scalbnl in -lm... " >&6; }
20427 if test "${ac_cv_lib_m_scalbnl+set}" = set; then :
20428   $as_echo_n "(cached) " >&6
20429 else
20430   ac_check_lib_save_LIBS=$LIBS
20431 LIBS="-lm  $LIBS"
20432 if test x$gcc_no_link = xyes; then
20433   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20434 fi
20435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20436 /* end confdefs.h.  */
20437
20438 /* Override any GCC internal prototype to avoid an error.
20439    Use char because int might match the return type of a GCC
20440    builtin and then its argument prototype would still apply.  */
20441 #ifdef __cplusplus
20442 extern "C"
20443 #endif
20444 char scalbnl ();
20445 int
20446 main ()
20447 {
20448 return scalbnl ();
20449   ;
20450   return 0;
20451 }
20452 _ACEOF
20453 if ac_fn_c_try_link "$LINENO"; then :
20454   ac_cv_lib_m_scalbnl=yes
20455 else
20456   ac_cv_lib_m_scalbnl=no
20457 fi
20458 rm -f core conftest.err conftest.$ac_objext \
20459     conftest$ac_exeext conftest.$ac_ext
20460 LIBS=$ac_check_lib_save_LIBS
20461 fi
20462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnl" >&5
20463 $as_echo "$ac_cv_lib_m_scalbnl" >&6; }
20464 if test "x$ac_cv_lib_m_scalbnl" = x""yes; then :
20465
20466 $as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
20467
20468 fi
20469
20470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
20471 $as_echo_n "checking for sinf in -lm... " >&6; }
20472 if test "${ac_cv_lib_m_sinf+set}" = set; then :
20473   $as_echo_n "(cached) " >&6
20474 else
20475   ac_check_lib_save_LIBS=$LIBS
20476 LIBS="-lm  $LIBS"
20477 if test x$gcc_no_link = xyes; then
20478   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20479 fi
20480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20481 /* end confdefs.h.  */
20482
20483 /* Override any GCC internal prototype to avoid an error.
20484    Use char because int might match the return type of a GCC
20485    builtin and then its argument prototype would still apply.  */
20486 #ifdef __cplusplus
20487 extern "C"
20488 #endif
20489 char sinf ();
20490 int
20491 main ()
20492 {
20493 return sinf ();
20494   ;
20495   return 0;
20496 }
20497 _ACEOF
20498 if ac_fn_c_try_link "$LINENO"; then :
20499   ac_cv_lib_m_sinf=yes
20500 else
20501   ac_cv_lib_m_sinf=no
20502 fi
20503 rm -f core conftest.err conftest.$ac_objext \
20504     conftest$ac_exeext conftest.$ac_ext
20505 LIBS=$ac_check_lib_save_LIBS
20506 fi
20507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
20508 $as_echo "$ac_cv_lib_m_sinf" >&6; }
20509 if test "x$ac_cv_lib_m_sinf" = x""yes; then :
20510
20511 $as_echo "#define HAVE_SINF 1" >>confdefs.h
20512
20513 fi
20514
20515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20516 $as_echo_n "checking for sin in -lm... " >&6; }
20517 if test "${ac_cv_lib_m_sin+set}" = set; then :
20518   $as_echo_n "(cached) " >&6
20519 else
20520   ac_check_lib_save_LIBS=$LIBS
20521 LIBS="-lm  $LIBS"
20522 if test x$gcc_no_link = xyes; then
20523   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20524 fi
20525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20526 /* end confdefs.h.  */
20527
20528 /* Override any GCC internal prototype to avoid an error.
20529    Use char because int might match the return type of a GCC
20530    builtin and then its argument prototype would still apply.  */
20531 #ifdef __cplusplus
20532 extern "C"
20533 #endif
20534 char sin ();
20535 int
20536 main ()
20537 {
20538 return sin ();
20539   ;
20540   return 0;
20541 }
20542 _ACEOF
20543 if ac_fn_c_try_link "$LINENO"; then :
20544   ac_cv_lib_m_sin=yes
20545 else
20546   ac_cv_lib_m_sin=no
20547 fi
20548 rm -f core conftest.err conftest.$ac_objext \
20549     conftest$ac_exeext conftest.$ac_ext
20550 LIBS=$ac_check_lib_save_LIBS
20551 fi
20552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20553 $as_echo "$ac_cv_lib_m_sin" >&6; }
20554 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20555
20556 $as_echo "#define HAVE_SIN 1" >>confdefs.h
20557
20558 fi
20559
20560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
20561 $as_echo_n "checking for sinl in -lm... " >&6; }
20562 if test "${ac_cv_lib_m_sinl+set}" = set; then :
20563   $as_echo_n "(cached) " >&6
20564 else
20565   ac_check_lib_save_LIBS=$LIBS
20566 LIBS="-lm  $LIBS"
20567 if test x$gcc_no_link = xyes; then
20568   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20569 fi
20570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20571 /* end confdefs.h.  */
20572
20573 /* Override any GCC internal prototype to avoid an error.
20574    Use char because int might match the return type of a GCC
20575    builtin and then its argument prototype would still apply.  */
20576 #ifdef __cplusplus
20577 extern "C"
20578 #endif
20579 char sinl ();
20580 int
20581 main ()
20582 {
20583 return sinl ();
20584   ;
20585   return 0;
20586 }
20587 _ACEOF
20588 if ac_fn_c_try_link "$LINENO"; then :
20589   ac_cv_lib_m_sinl=yes
20590 else
20591   ac_cv_lib_m_sinl=no
20592 fi
20593 rm -f core conftest.err conftest.$ac_objext \
20594     conftest$ac_exeext conftest.$ac_ext
20595 LIBS=$ac_check_lib_save_LIBS
20596 fi
20597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinl" >&5
20598 $as_echo "$ac_cv_lib_m_sinl" >&6; }
20599 if test "x$ac_cv_lib_m_sinl" = x""yes; then :
20600
20601 $as_echo "#define HAVE_SINL 1" >>confdefs.h
20602
20603 fi
20604
20605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
20606 $as_echo_n "checking for csinf in -lm... " >&6; }
20607 if test "${ac_cv_lib_m_csinf+set}" = set; then :
20608   $as_echo_n "(cached) " >&6
20609 else
20610   ac_check_lib_save_LIBS=$LIBS
20611 LIBS="-lm  $LIBS"
20612 if test x$gcc_no_link = xyes; then
20613   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20614 fi
20615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20616 /* end confdefs.h.  */
20617
20618 /* Override any GCC internal prototype to avoid an error.
20619    Use char because int might match the return type of a GCC
20620    builtin and then its argument prototype would still apply.  */
20621 #ifdef __cplusplus
20622 extern "C"
20623 #endif
20624 char csinf ();
20625 int
20626 main ()
20627 {
20628 return csinf ();
20629   ;
20630   return 0;
20631 }
20632 _ACEOF
20633 if ac_fn_c_try_link "$LINENO"; then :
20634   ac_cv_lib_m_csinf=yes
20635 else
20636   ac_cv_lib_m_csinf=no
20637 fi
20638 rm -f core conftest.err conftest.$ac_objext \
20639     conftest$ac_exeext conftest.$ac_ext
20640 LIBS=$ac_check_lib_save_LIBS
20641 fi
20642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinf" >&5
20643 $as_echo "$ac_cv_lib_m_csinf" >&6; }
20644 if test "x$ac_cv_lib_m_csinf" = x""yes; then :
20645
20646 $as_echo "#define HAVE_CSINF 1" >>confdefs.h
20647
20648 fi
20649
20650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
20651 $as_echo_n "checking for csin in -lm... " >&6; }
20652 if test "${ac_cv_lib_m_csin+set}" = set; then :
20653   $as_echo_n "(cached) " >&6
20654 else
20655   ac_check_lib_save_LIBS=$LIBS
20656 LIBS="-lm  $LIBS"
20657 if test x$gcc_no_link = xyes; then
20658   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20659 fi
20660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20661 /* end confdefs.h.  */
20662
20663 /* Override any GCC internal prototype to avoid an error.
20664    Use char because int might match the return type of a GCC
20665    builtin and then its argument prototype would still apply.  */
20666 #ifdef __cplusplus
20667 extern "C"
20668 #endif
20669 char csin ();
20670 int
20671 main ()
20672 {
20673 return csin ();
20674   ;
20675   return 0;
20676 }
20677 _ACEOF
20678 if ac_fn_c_try_link "$LINENO"; then :
20679   ac_cv_lib_m_csin=yes
20680 else
20681   ac_cv_lib_m_csin=no
20682 fi
20683 rm -f core conftest.err conftest.$ac_objext \
20684     conftest$ac_exeext conftest.$ac_ext
20685 LIBS=$ac_check_lib_save_LIBS
20686 fi
20687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csin" >&5
20688 $as_echo "$ac_cv_lib_m_csin" >&6; }
20689 if test "x$ac_cv_lib_m_csin" = x""yes; then :
20690
20691 $as_echo "#define HAVE_CSIN 1" >>confdefs.h
20692
20693 fi
20694
20695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
20696 $as_echo_n "checking for csinl in -lm... " >&6; }
20697 if test "${ac_cv_lib_m_csinl+set}" = set; then :
20698   $as_echo_n "(cached) " >&6
20699 else
20700   ac_check_lib_save_LIBS=$LIBS
20701 LIBS="-lm  $LIBS"
20702 if test x$gcc_no_link = xyes; then
20703   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20704 fi
20705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20706 /* end confdefs.h.  */
20707
20708 /* Override any GCC internal prototype to avoid an error.
20709    Use char because int might match the return type of a GCC
20710    builtin and then its argument prototype would still apply.  */
20711 #ifdef __cplusplus
20712 extern "C"
20713 #endif
20714 char csinl ();
20715 int
20716 main ()
20717 {
20718 return csinl ();
20719   ;
20720   return 0;
20721 }
20722 _ACEOF
20723 if ac_fn_c_try_link "$LINENO"; then :
20724   ac_cv_lib_m_csinl=yes
20725 else
20726   ac_cv_lib_m_csinl=no
20727 fi
20728 rm -f core conftest.err conftest.$ac_objext \
20729     conftest$ac_exeext conftest.$ac_ext
20730 LIBS=$ac_check_lib_save_LIBS
20731 fi
20732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinl" >&5
20733 $as_echo "$ac_cv_lib_m_csinl" >&6; }
20734 if test "x$ac_cv_lib_m_csinl" = x""yes; then :
20735
20736 $as_echo "#define HAVE_CSINL 1" >>confdefs.h
20737
20738 fi
20739
20740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
20741 $as_echo_n "checking for sinhf in -lm... " >&6; }
20742 if test "${ac_cv_lib_m_sinhf+set}" = set; then :
20743   $as_echo_n "(cached) " >&6
20744 else
20745   ac_check_lib_save_LIBS=$LIBS
20746 LIBS="-lm  $LIBS"
20747 if test x$gcc_no_link = xyes; then
20748   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20749 fi
20750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20751 /* end confdefs.h.  */
20752
20753 /* Override any GCC internal prototype to avoid an error.
20754    Use char because int might match the return type of a GCC
20755    builtin and then its argument prototype would still apply.  */
20756 #ifdef __cplusplus
20757 extern "C"
20758 #endif
20759 char sinhf ();
20760 int
20761 main ()
20762 {
20763 return sinhf ();
20764   ;
20765   return 0;
20766 }
20767 _ACEOF
20768 if ac_fn_c_try_link "$LINENO"; then :
20769   ac_cv_lib_m_sinhf=yes
20770 else
20771   ac_cv_lib_m_sinhf=no
20772 fi
20773 rm -f core conftest.err conftest.$ac_objext \
20774     conftest$ac_exeext conftest.$ac_ext
20775 LIBS=$ac_check_lib_save_LIBS
20776 fi
20777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhf" >&5
20778 $as_echo "$ac_cv_lib_m_sinhf" >&6; }
20779 if test "x$ac_cv_lib_m_sinhf" = x""yes; then :
20780
20781 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
20782
20783 fi
20784
20785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
20786 $as_echo_n "checking for sinh in -lm... " >&6; }
20787 if test "${ac_cv_lib_m_sinh+set}" = set; then :
20788   $as_echo_n "(cached) " >&6
20789 else
20790   ac_check_lib_save_LIBS=$LIBS
20791 LIBS="-lm  $LIBS"
20792 if test x$gcc_no_link = xyes; then
20793   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20794 fi
20795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20796 /* end confdefs.h.  */
20797
20798 /* Override any GCC internal prototype to avoid an error.
20799    Use char because int might match the return type of a GCC
20800    builtin and then its argument prototype would still apply.  */
20801 #ifdef __cplusplus
20802 extern "C"
20803 #endif
20804 char sinh ();
20805 int
20806 main ()
20807 {
20808 return sinh ();
20809   ;
20810   return 0;
20811 }
20812 _ACEOF
20813 if ac_fn_c_try_link "$LINENO"; then :
20814   ac_cv_lib_m_sinh=yes
20815 else
20816   ac_cv_lib_m_sinh=no
20817 fi
20818 rm -f core conftest.err conftest.$ac_objext \
20819     conftest$ac_exeext conftest.$ac_ext
20820 LIBS=$ac_check_lib_save_LIBS
20821 fi
20822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinh" >&5
20823 $as_echo "$ac_cv_lib_m_sinh" >&6; }
20824 if test "x$ac_cv_lib_m_sinh" = x""yes; then :
20825
20826 $as_echo "#define HAVE_SINH 1" >>confdefs.h
20827
20828 fi
20829
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
20831 $as_echo_n "checking for sinhl in -lm... " >&6; }
20832 if test "${ac_cv_lib_m_sinhl+set}" = set; then :
20833   $as_echo_n "(cached) " >&6
20834 else
20835   ac_check_lib_save_LIBS=$LIBS
20836 LIBS="-lm  $LIBS"
20837 if test x$gcc_no_link = xyes; then
20838   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20839 fi
20840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20841 /* end confdefs.h.  */
20842
20843 /* Override any GCC internal prototype to avoid an error.
20844    Use char because int might match the return type of a GCC
20845    builtin and then its argument prototype would still apply.  */
20846 #ifdef __cplusplus
20847 extern "C"
20848 #endif
20849 char sinhl ();
20850 int
20851 main ()
20852 {
20853 return sinhl ();
20854   ;
20855   return 0;
20856 }
20857 _ACEOF
20858 if ac_fn_c_try_link "$LINENO"; then :
20859   ac_cv_lib_m_sinhl=yes
20860 else
20861   ac_cv_lib_m_sinhl=no
20862 fi
20863 rm -f core conftest.err conftest.$ac_objext \
20864     conftest$ac_exeext conftest.$ac_ext
20865 LIBS=$ac_check_lib_save_LIBS
20866 fi
20867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhl" >&5
20868 $as_echo "$ac_cv_lib_m_sinhl" >&6; }
20869 if test "x$ac_cv_lib_m_sinhl" = x""yes; then :
20870
20871 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
20872
20873 fi
20874
20875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
20876 $as_echo_n "checking for csinhf in -lm... " >&6; }
20877 if test "${ac_cv_lib_m_csinhf+set}" = set; then :
20878   $as_echo_n "(cached) " >&6
20879 else
20880   ac_check_lib_save_LIBS=$LIBS
20881 LIBS="-lm  $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
20889    Use char because int might match the return type of a GCC
20890    builtin and then its argument prototype would still apply.  */
20891 #ifdef __cplusplus
20892 extern "C"
20893 #endif
20894 char csinhf ();
20895 int
20896 main ()
20897 {
20898 return csinhf ();
20899   ;
20900   return 0;
20901 }
20902 _ACEOF
20903 if ac_fn_c_try_link "$LINENO"; then :
20904   ac_cv_lib_m_csinhf=yes
20905 else
20906   ac_cv_lib_m_csinhf=no
20907 fi
20908 rm -f core conftest.err conftest.$ac_objext \
20909     conftest$ac_exeext conftest.$ac_ext
20910 LIBS=$ac_check_lib_save_LIBS
20911 fi
20912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhf" >&5
20913 $as_echo "$ac_cv_lib_m_csinhf" >&6; }
20914 if test "x$ac_cv_lib_m_csinhf" = x""yes; then :
20915
20916 $as_echo "#define HAVE_CSINHF 1" >>confdefs.h
20917
20918 fi
20919
20920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
20921 $as_echo_n "checking for csinh in -lm... " >&6; }
20922 if test "${ac_cv_lib_m_csinh+set}" = set; then :
20923   $as_echo_n "(cached) " >&6
20924 else
20925   ac_check_lib_save_LIBS=$LIBS
20926 LIBS="-lm  $LIBS"
20927 if test x$gcc_no_link = xyes; then
20928   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20929 fi
20930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20931 /* end confdefs.h.  */
20932
20933 /* Override any GCC internal prototype to avoid an error.
20934    Use char because int might match the return type of a GCC
20935    builtin and then its argument prototype would still apply.  */
20936 #ifdef __cplusplus
20937 extern "C"
20938 #endif
20939 char csinh ();
20940 int
20941 main ()
20942 {
20943 return csinh ();
20944   ;
20945   return 0;
20946 }
20947 _ACEOF
20948 if ac_fn_c_try_link "$LINENO"; then :
20949   ac_cv_lib_m_csinh=yes
20950 else
20951   ac_cv_lib_m_csinh=no
20952 fi
20953 rm -f core conftest.err conftest.$ac_objext \
20954     conftest$ac_exeext conftest.$ac_ext
20955 LIBS=$ac_check_lib_save_LIBS
20956 fi
20957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinh" >&5
20958 $as_echo "$ac_cv_lib_m_csinh" >&6; }
20959 if test "x$ac_cv_lib_m_csinh" = x""yes; then :
20960
20961 $as_echo "#define HAVE_CSINH 1" >>confdefs.h
20962
20963 fi
20964
20965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
20966 $as_echo_n "checking for csinhl in -lm... " >&6; }
20967 if test "${ac_cv_lib_m_csinhl+set}" = set; then :
20968   $as_echo_n "(cached) " >&6
20969 else
20970   ac_check_lib_save_LIBS=$LIBS
20971 LIBS="-lm  $LIBS"
20972 if test x$gcc_no_link = xyes; then
20973   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20974 fi
20975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20976 /* end confdefs.h.  */
20977
20978 /* Override any GCC internal prototype to avoid an error.
20979    Use char because int might match the return type of a GCC
20980    builtin and then its argument prototype would still apply.  */
20981 #ifdef __cplusplus
20982 extern "C"
20983 #endif
20984 char csinhl ();
20985 int
20986 main ()
20987 {
20988 return csinhl ();
20989   ;
20990   return 0;
20991 }
20992 _ACEOF
20993 if ac_fn_c_try_link "$LINENO"; then :
20994   ac_cv_lib_m_csinhl=yes
20995 else
20996   ac_cv_lib_m_csinhl=no
20997 fi
20998 rm -f core conftest.err conftest.$ac_objext \
20999     conftest$ac_exeext conftest.$ac_ext
21000 LIBS=$ac_check_lib_save_LIBS
21001 fi
21002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhl" >&5
21003 $as_echo "$ac_cv_lib_m_csinhl" >&6; }
21004 if test "x$ac_cv_lib_m_csinhl" = x""yes; then :
21005
21006 $as_echo "#define HAVE_CSINHL 1" >>confdefs.h
21007
21008 fi
21009
21010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
21011 $as_echo_n "checking for sqrtf in -lm... " >&6; }
21012 if test "${ac_cv_lib_m_sqrtf+set}" = set; then :
21013   $as_echo_n "(cached) " >&6
21014 else
21015   ac_check_lib_save_LIBS=$LIBS
21016 LIBS="-lm  $LIBS"
21017 if test x$gcc_no_link = xyes; then
21018   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21019 fi
21020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21021 /* end confdefs.h.  */
21022
21023 /* Override any GCC internal prototype to avoid an error.
21024    Use char because int might match the return type of a GCC
21025    builtin and then its argument prototype would still apply.  */
21026 #ifdef __cplusplus
21027 extern "C"
21028 #endif
21029 char sqrtf ();
21030 int
21031 main ()
21032 {
21033 return sqrtf ();
21034   ;
21035   return 0;
21036 }
21037 _ACEOF
21038 if ac_fn_c_try_link "$LINENO"; then :
21039   ac_cv_lib_m_sqrtf=yes
21040 else
21041   ac_cv_lib_m_sqrtf=no
21042 fi
21043 rm -f core conftest.err conftest.$ac_objext \
21044     conftest$ac_exeext conftest.$ac_ext
21045 LIBS=$ac_check_lib_save_LIBS
21046 fi
21047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
21048 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
21049 if test "x$ac_cv_lib_m_sqrtf" = x""yes; then :
21050
21051 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21052
21053 fi
21054
21055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21056 $as_echo_n "checking for sqrt in -lm... " >&6; }
21057 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
21058   $as_echo_n "(cached) " >&6
21059 else
21060   ac_check_lib_save_LIBS=$LIBS
21061 LIBS="-lm  $LIBS"
21062 if test x$gcc_no_link = xyes; then
21063   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21064 fi
21065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21066 /* end confdefs.h.  */
21067
21068 /* Override any GCC internal prototype to avoid an error.
21069    Use char because int might match the return type of a GCC
21070    builtin and then its argument prototype would still apply.  */
21071 #ifdef __cplusplus
21072 extern "C"
21073 #endif
21074 char sqrt ();
21075 int
21076 main ()
21077 {
21078 return sqrt ();
21079   ;
21080   return 0;
21081 }
21082 _ACEOF
21083 if ac_fn_c_try_link "$LINENO"; then :
21084   ac_cv_lib_m_sqrt=yes
21085 else
21086   ac_cv_lib_m_sqrt=no
21087 fi
21088 rm -f core conftest.err conftest.$ac_objext \
21089     conftest$ac_exeext conftest.$ac_ext
21090 LIBS=$ac_check_lib_save_LIBS
21091 fi
21092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
21093 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
21094 if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
21095
21096 $as_echo "#define HAVE_SQRT 1" >>confdefs.h
21097
21098 fi
21099
21100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21101 $as_echo_n "checking for sqrtl in -lm... " >&6; }
21102 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
21103   $as_echo_n "(cached) " >&6
21104 else
21105   ac_check_lib_save_LIBS=$LIBS
21106 LIBS="-lm  $LIBS"
21107 if test x$gcc_no_link = xyes; then
21108   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21109 fi
21110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21111 /* end confdefs.h.  */
21112
21113 /* Override any GCC internal prototype to avoid an error.
21114    Use char because int might match the return type of a GCC
21115    builtin and then its argument prototype would still apply.  */
21116 #ifdef __cplusplus
21117 extern "C"
21118 #endif
21119 char sqrtl ();
21120 int
21121 main ()
21122 {
21123 return sqrtl ();
21124   ;
21125   return 0;
21126 }
21127 _ACEOF
21128 if ac_fn_c_try_link "$LINENO"; then :
21129   ac_cv_lib_m_sqrtl=yes
21130 else
21131   ac_cv_lib_m_sqrtl=no
21132 fi
21133 rm -f core conftest.err conftest.$ac_objext \
21134     conftest$ac_exeext conftest.$ac_ext
21135 LIBS=$ac_check_lib_save_LIBS
21136 fi
21137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
21138 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21139 if test "x$ac_cv_lib_m_sqrtl" = x""yes; then :
21140
21141 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21142
21143 fi
21144
21145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21146 $as_echo_n "checking for csqrtf in -lm... " >&6; }
21147 if test "${ac_cv_lib_m_csqrtf+set}" = set; then :
21148   $as_echo_n "(cached) " >&6
21149 else
21150   ac_check_lib_save_LIBS=$LIBS
21151 LIBS="-lm  $LIBS"
21152 if test x$gcc_no_link = xyes; then
21153   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21154 fi
21155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21156 /* end confdefs.h.  */
21157
21158 /* Override any GCC internal prototype to avoid an error.
21159    Use char because int might match the return type of a GCC
21160    builtin and then its argument prototype would still apply.  */
21161 #ifdef __cplusplus
21162 extern "C"
21163 #endif
21164 char csqrtf ();
21165 int
21166 main ()
21167 {
21168 return csqrtf ();
21169   ;
21170   return 0;
21171 }
21172 _ACEOF
21173 if ac_fn_c_try_link "$LINENO"; then :
21174   ac_cv_lib_m_csqrtf=yes
21175 else
21176   ac_cv_lib_m_csqrtf=no
21177 fi
21178 rm -f core conftest.err conftest.$ac_objext \
21179     conftest$ac_exeext conftest.$ac_ext
21180 LIBS=$ac_check_lib_save_LIBS
21181 fi
21182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtf" >&5
21183 $as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21184 if test "x$ac_cv_lib_m_csqrtf" = x""yes; then :
21185
21186 $as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21187
21188 fi
21189
21190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21191 $as_echo_n "checking for csqrt in -lm... " >&6; }
21192 if test "${ac_cv_lib_m_csqrt+set}" = set; then :
21193   $as_echo_n "(cached) " >&6
21194 else
21195   ac_check_lib_save_LIBS=$LIBS
21196 LIBS="-lm  $LIBS"
21197 if test x$gcc_no_link = xyes; then
21198   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21199 fi
21200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21201 /* end confdefs.h.  */
21202
21203 /* Override any GCC internal prototype to avoid an error.
21204    Use char because int might match the return type of a GCC
21205    builtin and then its argument prototype would still apply.  */
21206 #ifdef __cplusplus
21207 extern "C"
21208 #endif
21209 char csqrt ();
21210 int
21211 main ()
21212 {
21213 return csqrt ();
21214   ;
21215   return 0;
21216 }
21217 _ACEOF
21218 if ac_fn_c_try_link "$LINENO"; then :
21219   ac_cv_lib_m_csqrt=yes
21220 else
21221   ac_cv_lib_m_csqrt=no
21222 fi
21223 rm -f core conftest.err conftest.$ac_objext \
21224     conftest$ac_exeext conftest.$ac_ext
21225 LIBS=$ac_check_lib_save_LIBS
21226 fi
21227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrt" >&5
21228 $as_echo "$ac_cv_lib_m_csqrt" >&6; }
21229 if test "x$ac_cv_lib_m_csqrt" = x""yes; then :
21230
21231 $as_echo "#define HAVE_CSQRT 1" >>confdefs.h
21232
21233 fi
21234
21235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
21236 $as_echo_n "checking for csqrtl in -lm... " >&6; }
21237 if test "${ac_cv_lib_m_csqrtl+set}" = set; then :
21238   $as_echo_n "(cached) " >&6
21239 else
21240   ac_check_lib_save_LIBS=$LIBS
21241 LIBS="-lm  $LIBS"
21242 if test x$gcc_no_link = xyes; then
21243   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21244 fi
21245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21246 /* end confdefs.h.  */
21247
21248 /* Override any GCC internal prototype to avoid an error.
21249    Use char because int might match the return type of a GCC
21250    builtin and then its argument prototype would still apply.  */
21251 #ifdef __cplusplus
21252 extern "C"
21253 #endif
21254 char csqrtl ();
21255 int
21256 main ()
21257 {
21258 return csqrtl ();
21259   ;
21260   return 0;
21261 }
21262 _ACEOF
21263 if ac_fn_c_try_link "$LINENO"; then :
21264   ac_cv_lib_m_csqrtl=yes
21265 else
21266   ac_cv_lib_m_csqrtl=no
21267 fi
21268 rm -f core conftest.err conftest.$ac_objext \
21269     conftest$ac_exeext conftest.$ac_ext
21270 LIBS=$ac_check_lib_save_LIBS
21271 fi
21272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtl" >&5
21273 $as_echo "$ac_cv_lib_m_csqrtl" >&6; }
21274 if test "x$ac_cv_lib_m_csqrtl" = x""yes; then :
21275
21276 $as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
21277
21278 fi
21279
21280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
21281 $as_echo_n "checking for tanf in -lm... " >&6; }
21282 if test "${ac_cv_lib_m_tanf+set}" = set; then :
21283   $as_echo_n "(cached) " >&6
21284 else
21285   ac_check_lib_save_LIBS=$LIBS
21286 LIBS="-lm  $LIBS"
21287 if test x$gcc_no_link = xyes; then
21288   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21289 fi
21290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21291 /* end confdefs.h.  */
21292
21293 /* Override any GCC internal prototype to avoid an error.
21294    Use char because int might match the return type of a GCC
21295    builtin and then its argument prototype would still apply.  */
21296 #ifdef __cplusplus
21297 extern "C"
21298 #endif
21299 char tanf ();
21300 int
21301 main ()
21302 {
21303 return tanf ();
21304   ;
21305   return 0;
21306 }
21307 _ACEOF
21308 if ac_fn_c_try_link "$LINENO"; then :
21309   ac_cv_lib_m_tanf=yes
21310 else
21311   ac_cv_lib_m_tanf=no
21312 fi
21313 rm -f core conftest.err conftest.$ac_objext \
21314     conftest$ac_exeext conftest.$ac_ext
21315 LIBS=$ac_check_lib_save_LIBS
21316 fi
21317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanf" >&5
21318 $as_echo "$ac_cv_lib_m_tanf" >&6; }
21319 if test "x$ac_cv_lib_m_tanf" = x""yes; then :
21320
21321 $as_echo "#define HAVE_TANF 1" >>confdefs.h
21322
21323 fi
21324
21325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
21326 $as_echo_n "checking for tan in -lm... " >&6; }
21327 if test "${ac_cv_lib_m_tan+set}" = set; then :
21328   $as_echo_n "(cached) " >&6
21329 else
21330   ac_check_lib_save_LIBS=$LIBS
21331 LIBS="-lm  $LIBS"
21332 if test x$gcc_no_link = xyes; then
21333   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21334 fi
21335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21336 /* end confdefs.h.  */
21337
21338 /* Override any GCC internal prototype to avoid an error.
21339    Use char because int might match the return type of a GCC
21340    builtin and then its argument prototype would still apply.  */
21341 #ifdef __cplusplus
21342 extern "C"
21343 #endif
21344 char tan ();
21345 int
21346 main ()
21347 {
21348 return tan ();
21349   ;
21350   return 0;
21351 }
21352 _ACEOF
21353 if ac_fn_c_try_link "$LINENO"; then :
21354   ac_cv_lib_m_tan=yes
21355 else
21356   ac_cv_lib_m_tan=no
21357 fi
21358 rm -f core conftest.err conftest.$ac_objext \
21359     conftest$ac_exeext conftest.$ac_ext
21360 LIBS=$ac_check_lib_save_LIBS
21361 fi
21362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5
21363 $as_echo "$ac_cv_lib_m_tan" >&6; }
21364 if test "x$ac_cv_lib_m_tan" = x""yes; then :
21365
21366 $as_echo "#define HAVE_TAN 1" >>confdefs.h
21367
21368 fi
21369
21370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
21371 $as_echo_n "checking for tanl in -lm... " >&6; }
21372 if test "${ac_cv_lib_m_tanl+set}" = set; then :
21373   $as_echo_n "(cached) " >&6
21374 else
21375   ac_check_lib_save_LIBS=$LIBS
21376 LIBS="-lm  $LIBS"
21377 if test x$gcc_no_link = xyes; then
21378   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21379 fi
21380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21381 /* end confdefs.h.  */
21382
21383 /* Override any GCC internal prototype to avoid an error.
21384    Use char because int might match the return type of a GCC
21385    builtin and then its argument prototype would still apply.  */
21386 #ifdef __cplusplus
21387 extern "C"
21388 #endif
21389 char tanl ();
21390 int
21391 main ()
21392 {
21393 return tanl ();
21394   ;
21395   return 0;
21396 }
21397 _ACEOF
21398 if ac_fn_c_try_link "$LINENO"; then :
21399   ac_cv_lib_m_tanl=yes
21400 else
21401   ac_cv_lib_m_tanl=no
21402 fi
21403 rm -f core conftest.err conftest.$ac_objext \
21404     conftest$ac_exeext conftest.$ac_ext
21405 LIBS=$ac_check_lib_save_LIBS
21406 fi
21407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanl" >&5
21408 $as_echo "$ac_cv_lib_m_tanl" >&6; }
21409 if test "x$ac_cv_lib_m_tanl" = x""yes; then :
21410
21411 $as_echo "#define HAVE_TANL 1" >>confdefs.h
21412
21413 fi
21414
21415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
21416 $as_echo_n "checking for ctanf in -lm... " >&6; }
21417 if test "${ac_cv_lib_m_ctanf+set}" = set; then :
21418   $as_echo_n "(cached) " >&6
21419 else
21420   ac_check_lib_save_LIBS=$LIBS
21421 LIBS="-lm  $LIBS"
21422 if test x$gcc_no_link = xyes; then
21423   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21424 fi
21425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21426 /* end confdefs.h.  */
21427
21428 /* Override any GCC internal prototype to avoid an error.
21429    Use char because int might match the return type of a GCC
21430    builtin and then its argument prototype would still apply.  */
21431 #ifdef __cplusplus
21432 extern "C"
21433 #endif
21434 char ctanf ();
21435 int
21436 main ()
21437 {
21438 return ctanf ();
21439   ;
21440   return 0;
21441 }
21442 _ACEOF
21443 if ac_fn_c_try_link "$LINENO"; then :
21444   ac_cv_lib_m_ctanf=yes
21445 else
21446   ac_cv_lib_m_ctanf=no
21447 fi
21448 rm -f core conftest.err conftest.$ac_objext \
21449     conftest$ac_exeext conftest.$ac_ext
21450 LIBS=$ac_check_lib_save_LIBS
21451 fi
21452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanf" >&5
21453 $as_echo "$ac_cv_lib_m_ctanf" >&6; }
21454 if test "x$ac_cv_lib_m_ctanf" = x""yes; then :
21455
21456 $as_echo "#define HAVE_CTANF 1" >>confdefs.h
21457
21458 fi
21459
21460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
21461 $as_echo_n "checking for ctan in -lm... " >&6; }
21462 if test "${ac_cv_lib_m_ctan+set}" = set; then :
21463   $as_echo_n "(cached) " >&6
21464 else
21465   ac_check_lib_save_LIBS=$LIBS
21466 LIBS="-lm  $LIBS"
21467 if test x$gcc_no_link = xyes; then
21468   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21469 fi
21470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21471 /* end confdefs.h.  */
21472
21473 /* Override any GCC internal prototype to avoid an error.
21474    Use char because int might match the return type of a GCC
21475    builtin and then its argument prototype would still apply.  */
21476 #ifdef __cplusplus
21477 extern "C"
21478 #endif
21479 char ctan ();
21480 int
21481 main ()
21482 {
21483 return ctan ();
21484   ;
21485   return 0;
21486 }
21487 _ACEOF
21488 if ac_fn_c_try_link "$LINENO"; then :
21489   ac_cv_lib_m_ctan=yes
21490 else
21491   ac_cv_lib_m_ctan=no
21492 fi
21493 rm -f core conftest.err conftest.$ac_objext \
21494     conftest$ac_exeext conftest.$ac_ext
21495 LIBS=$ac_check_lib_save_LIBS
21496 fi
21497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctan" >&5
21498 $as_echo "$ac_cv_lib_m_ctan" >&6; }
21499 if test "x$ac_cv_lib_m_ctan" = x""yes; then :
21500
21501 $as_echo "#define HAVE_CTAN 1" >>confdefs.h
21502
21503 fi
21504
21505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
21506 $as_echo_n "checking for ctanl in -lm... " >&6; }
21507 if test "${ac_cv_lib_m_ctanl+set}" = set; then :
21508   $as_echo_n "(cached) " >&6
21509 else
21510   ac_check_lib_save_LIBS=$LIBS
21511 LIBS="-lm  $LIBS"
21512 if test x$gcc_no_link = xyes; then
21513   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21514 fi
21515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21516 /* end confdefs.h.  */
21517
21518 /* Override any GCC internal prototype to avoid an error.
21519    Use char because int might match the return type of a GCC
21520    builtin and then its argument prototype would still apply.  */
21521 #ifdef __cplusplus
21522 extern "C"
21523 #endif
21524 char ctanl ();
21525 int
21526 main ()
21527 {
21528 return ctanl ();
21529   ;
21530   return 0;
21531 }
21532 _ACEOF
21533 if ac_fn_c_try_link "$LINENO"; then :
21534   ac_cv_lib_m_ctanl=yes
21535 else
21536   ac_cv_lib_m_ctanl=no
21537 fi
21538 rm -f core conftest.err conftest.$ac_objext \
21539     conftest$ac_exeext conftest.$ac_ext
21540 LIBS=$ac_check_lib_save_LIBS
21541 fi
21542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanl" >&5
21543 $as_echo "$ac_cv_lib_m_ctanl" >&6; }
21544 if test "x$ac_cv_lib_m_ctanl" = x""yes; then :
21545
21546 $as_echo "#define HAVE_CTANL 1" >>confdefs.h
21547
21548 fi
21549
21550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
21551 $as_echo_n "checking for tanhf in -lm... " >&6; }
21552 if test "${ac_cv_lib_m_tanhf+set}" = set; then :
21553   $as_echo_n "(cached) " >&6
21554 else
21555   ac_check_lib_save_LIBS=$LIBS
21556 LIBS="-lm  $LIBS"
21557 if test x$gcc_no_link = xyes; then
21558   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21559 fi
21560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21561 /* end confdefs.h.  */
21562
21563 /* Override any GCC internal prototype to avoid an error.
21564    Use char because int might match the return type of a GCC
21565    builtin and then its argument prototype would still apply.  */
21566 #ifdef __cplusplus
21567 extern "C"
21568 #endif
21569 char tanhf ();
21570 int
21571 main ()
21572 {
21573 return tanhf ();
21574   ;
21575   return 0;
21576 }
21577 _ACEOF
21578 if ac_fn_c_try_link "$LINENO"; then :
21579   ac_cv_lib_m_tanhf=yes
21580 else
21581   ac_cv_lib_m_tanhf=no
21582 fi
21583 rm -f core conftest.err conftest.$ac_objext \
21584     conftest$ac_exeext conftest.$ac_ext
21585 LIBS=$ac_check_lib_save_LIBS
21586 fi
21587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhf" >&5
21588 $as_echo "$ac_cv_lib_m_tanhf" >&6; }
21589 if test "x$ac_cv_lib_m_tanhf" = x""yes; then :
21590
21591 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
21592
21593 fi
21594
21595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
21596 $as_echo_n "checking for tanh in -lm... " >&6; }
21597 if test "${ac_cv_lib_m_tanh+set}" = set; then :
21598   $as_echo_n "(cached) " >&6
21599 else
21600   ac_check_lib_save_LIBS=$LIBS
21601 LIBS="-lm  $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
21609    Use char because int might match the return type of a GCC
21610    builtin and then its argument prototype would still apply.  */
21611 #ifdef __cplusplus
21612 extern "C"
21613 #endif
21614 char tanh ();
21615 int
21616 main ()
21617 {
21618 return tanh ();
21619   ;
21620   return 0;
21621 }
21622 _ACEOF
21623 if ac_fn_c_try_link "$LINENO"; then :
21624   ac_cv_lib_m_tanh=yes
21625 else
21626   ac_cv_lib_m_tanh=no
21627 fi
21628 rm -f core conftest.err conftest.$ac_objext \
21629     conftest$ac_exeext conftest.$ac_ext
21630 LIBS=$ac_check_lib_save_LIBS
21631 fi
21632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanh" >&5
21633 $as_echo "$ac_cv_lib_m_tanh" >&6; }
21634 if test "x$ac_cv_lib_m_tanh" = x""yes; then :
21635
21636 $as_echo "#define HAVE_TANH 1" >>confdefs.h
21637
21638 fi
21639
21640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
21641 $as_echo_n "checking for tanhl in -lm... " >&6; }
21642 if test "${ac_cv_lib_m_tanhl+set}" = set; then :
21643   $as_echo_n "(cached) " >&6
21644 else
21645   ac_check_lib_save_LIBS=$LIBS
21646 LIBS="-lm  $LIBS"
21647 if test x$gcc_no_link = xyes; then
21648   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21649 fi
21650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21651 /* end confdefs.h.  */
21652
21653 /* Override any GCC internal prototype to avoid an error.
21654    Use char because int might match the return type of a GCC
21655    builtin and then its argument prototype would still apply.  */
21656 #ifdef __cplusplus
21657 extern "C"
21658 #endif
21659 char tanhl ();
21660 int
21661 main ()
21662 {
21663 return tanhl ();
21664   ;
21665   return 0;
21666 }
21667 _ACEOF
21668 if ac_fn_c_try_link "$LINENO"; then :
21669   ac_cv_lib_m_tanhl=yes
21670 else
21671   ac_cv_lib_m_tanhl=no
21672 fi
21673 rm -f core conftest.err conftest.$ac_objext \
21674     conftest$ac_exeext conftest.$ac_ext
21675 LIBS=$ac_check_lib_save_LIBS
21676 fi
21677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhl" >&5
21678 $as_echo "$ac_cv_lib_m_tanhl" >&6; }
21679 if test "x$ac_cv_lib_m_tanhl" = x""yes; then :
21680
21681 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
21682
21683 fi
21684
21685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
21686 $as_echo_n "checking for ctanhf in -lm... " >&6; }
21687 if test "${ac_cv_lib_m_ctanhf+set}" = set; then :
21688   $as_echo_n "(cached) " >&6
21689 else
21690   ac_check_lib_save_LIBS=$LIBS
21691 LIBS="-lm  $LIBS"
21692 if test x$gcc_no_link = xyes; then
21693   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21694 fi
21695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21696 /* end confdefs.h.  */
21697
21698 /* Override any GCC internal prototype to avoid an error.
21699    Use char because int might match the return type of a GCC
21700    builtin and then its argument prototype would still apply.  */
21701 #ifdef __cplusplus
21702 extern "C"
21703 #endif
21704 char ctanhf ();
21705 int
21706 main ()
21707 {
21708 return ctanhf ();
21709   ;
21710   return 0;
21711 }
21712 _ACEOF
21713 if ac_fn_c_try_link "$LINENO"; then :
21714   ac_cv_lib_m_ctanhf=yes
21715 else
21716   ac_cv_lib_m_ctanhf=no
21717 fi
21718 rm -f core conftest.err conftest.$ac_objext \
21719     conftest$ac_exeext conftest.$ac_ext
21720 LIBS=$ac_check_lib_save_LIBS
21721 fi
21722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhf" >&5
21723 $as_echo "$ac_cv_lib_m_ctanhf" >&6; }
21724 if test "x$ac_cv_lib_m_ctanhf" = x""yes; then :
21725
21726 $as_echo "#define HAVE_CTANHF 1" >>confdefs.h
21727
21728 fi
21729
21730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
21731 $as_echo_n "checking for ctanh in -lm... " >&6; }
21732 if test "${ac_cv_lib_m_ctanh+set}" = set; then :
21733   $as_echo_n "(cached) " >&6
21734 else
21735   ac_check_lib_save_LIBS=$LIBS
21736 LIBS="-lm  $LIBS"
21737 if test x$gcc_no_link = xyes; then
21738   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21739 fi
21740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21741 /* end confdefs.h.  */
21742
21743 /* Override any GCC internal prototype to avoid an error.
21744    Use char because int might match the return type of a GCC
21745    builtin and then its argument prototype would still apply.  */
21746 #ifdef __cplusplus
21747 extern "C"
21748 #endif
21749 char ctanh ();
21750 int
21751 main ()
21752 {
21753 return ctanh ();
21754   ;
21755   return 0;
21756 }
21757 _ACEOF
21758 if ac_fn_c_try_link "$LINENO"; then :
21759   ac_cv_lib_m_ctanh=yes
21760 else
21761   ac_cv_lib_m_ctanh=no
21762 fi
21763 rm -f core conftest.err conftest.$ac_objext \
21764     conftest$ac_exeext conftest.$ac_ext
21765 LIBS=$ac_check_lib_save_LIBS
21766 fi
21767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanh" >&5
21768 $as_echo "$ac_cv_lib_m_ctanh" >&6; }
21769 if test "x$ac_cv_lib_m_ctanh" = x""yes; then :
21770
21771 $as_echo "#define HAVE_CTANH 1" >>confdefs.h
21772
21773 fi
21774
21775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
21776 $as_echo_n "checking for ctanhl in -lm... " >&6; }
21777 if test "${ac_cv_lib_m_ctanhl+set}" = set; then :
21778   $as_echo_n "(cached) " >&6
21779 else
21780   ac_check_lib_save_LIBS=$LIBS
21781 LIBS="-lm  $LIBS"
21782 if test x$gcc_no_link = xyes; then
21783   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21784 fi
21785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21786 /* end confdefs.h.  */
21787
21788 /* Override any GCC internal prototype to avoid an error.
21789    Use char because int might match the return type of a GCC
21790    builtin and then its argument prototype would still apply.  */
21791 #ifdef __cplusplus
21792 extern "C"
21793 #endif
21794 char ctanhl ();
21795 int
21796 main ()
21797 {
21798 return ctanhl ();
21799   ;
21800   return 0;
21801 }
21802 _ACEOF
21803 if ac_fn_c_try_link "$LINENO"; then :
21804   ac_cv_lib_m_ctanhl=yes
21805 else
21806   ac_cv_lib_m_ctanhl=no
21807 fi
21808 rm -f core conftest.err conftest.$ac_objext \
21809     conftest$ac_exeext conftest.$ac_ext
21810 LIBS=$ac_check_lib_save_LIBS
21811 fi
21812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhl" >&5
21813 $as_echo "$ac_cv_lib_m_ctanhl" >&6; }
21814 if test "x$ac_cv_lib_m_ctanhl" = x""yes; then :
21815
21816 $as_echo "#define HAVE_CTANHL 1" >>confdefs.h
21817
21818 fi
21819
21820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
21821 $as_echo_n "checking for truncf in -lm... " >&6; }
21822 if test "${ac_cv_lib_m_truncf+set}" = set; then :
21823   $as_echo_n "(cached) " >&6
21824 else
21825   ac_check_lib_save_LIBS=$LIBS
21826 LIBS="-lm  $LIBS"
21827 if test x$gcc_no_link = xyes; then
21828   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21829 fi
21830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21831 /* end confdefs.h.  */
21832
21833 /* Override any GCC internal prototype to avoid an error.
21834    Use char because int might match the return type of a GCC
21835    builtin and then its argument prototype would still apply.  */
21836 #ifdef __cplusplus
21837 extern "C"
21838 #endif
21839 char truncf ();
21840 int
21841 main ()
21842 {
21843 return truncf ();
21844   ;
21845   return 0;
21846 }
21847 _ACEOF
21848 if ac_fn_c_try_link "$LINENO"; then :
21849   ac_cv_lib_m_truncf=yes
21850 else
21851   ac_cv_lib_m_truncf=no
21852 fi
21853 rm -f core conftest.err conftest.$ac_objext \
21854     conftest$ac_exeext conftest.$ac_ext
21855 LIBS=$ac_check_lib_save_LIBS
21856 fi
21857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncf" >&5
21858 $as_echo "$ac_cv_lib_m_truncf" >&6; }
21859 if test "x$ac_cv_lib_m_truncf" = x""yes; then :
21860
21861 $as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
21862
21863 fi
21864
21865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
21866 $as_echo_n "checking for trunc in -lm... " >&6; }
21867 if test "${ac_cv_lib_m_trunc+set}" = set; then :
21868   $as_echo_n "(cached) " >&6
21869 else
21870   ac_check_lib_save_LIBS=$LIBS
21871 LIBS="-lm  $LIBS"
21872 if test x$gcc_no_link = xyes; then
21873   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21874 fi
21875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21876 /* end confdefs.h.  */
21877
21878 /* Override any GCC internal prototype to avoid an error.
21879    Use char because int might match the return type of a GCC
21880    builtin and then its argument prototype would still apply.  */
21881 #ifdef __cplusplus
21882 extern "C"
21883 #endif
21884 char trunc ();
21885 int
21886 main ()
21887 {
21888 return trunc ();
21889   ;
21890   return 0;
21891 }
21892 _ACEOF
21893 if ac_fn_c_try_link "$LINENO"; then :
21894   ac_cv_lib_m_trunc=yes
21895 else
21896   ac_cv_lib_m_trunc=no
21897 fi
21898 rm -f core conftest.err conftest.$ac_objext \
21899     conftest$ac_exeext conftest.$ac_ext
21900 LIBS=$ac_check_lib_save_LIBS
21901 fi
21902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
21903 $as_echo "$ac_cv_lib_m_trunc" >&6; }
21904 if test "x$ac_cv_lib_m_trunc" = x""yes; then :
21905
21906 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
21907
21908 fi
21909
21910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
21911 $as_echo_n "checking for truncl in -lm... " >&6; }
21912 if test "${ac_cv_lib_m_truncl+set}" = set; then :
21913   $as_echo_n "(cached) " >&6
21914 else
21915   ac_check_lib_save_LIBS=$LIBS
21916 LIBS="-lm  $LIBS"
21917 if test x$gcc_no_link = xyes; then
21918   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21919 fi
21920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21921 /* end confdefs.h.  */
21922
21923 /* Override any GCC internal prototype to avoid an error.
21924    Use char because int might match the return type of a GCC
21925    builtin and then its argument prototype would still apply.  */
21926 #ifdef __cplusplus
21927 extern "C"
21928 #endif
21929 char truncl ();
21930 int
21931 main ()
21932 {
21933 return truncl ();
21934   ;
21935   return 0;
21936 }
21937 _ACEOF
21938 if ac_fn_c_try_link "$LINENO"; then :
21939   ac_cv_lib_m_truncl=yes
21940 else
21941   ac_cv_lib_m_truncl=no
21942 fi
21943 rm -f core conftest.err conftest.$ac_objext \
21944     conftest$ac_exeext conftest.$ac_ext
21945 LIBS=$ac_check_lib_save_LIBS
21946 fi
21947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncl" >&5
21948 $as_echo "$ac_cv_lib_m_truncl" >&6; }
21949 if test "x$ac_cv_lib_m_truncl" = x""yes; then :
21950
21951 $as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
21952
21953 fi
21954
21955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
21956 $as_echo_n "checking for erff in -lm... " >&6; }
21957 if test "${ac_cv_lib_m_erff+set}" = set; then :
21958   $as_echo_n "(cached) " >&6
21959 else
21960   ac_check_lib_save_LIBS=$LIBS
21961 LIBS="-lm  $LIBS"
21962 if test x$gcc_no_link = xyes; then
21963   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21964 fi
21965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21966 /* end confdefs.h.  */
21967
21968 /* Override any GCC internal prototype to avoid an error.
21969    Use char because int might match the return type of a GCC
21970    builtin and then its argument prototype would still apply.  */
21971 #ifdef __cplusplus
21972 extern "C"
21973 #endif
21974 char erff ();
21975 int
21976 main ()
21977 {
21978 return erff ();
21979   ;
21980   return 0;
21981 }
21982 _ACEOF
21983 if ac_fn_c_try_link "$LINENO"; then :
21984   ac_cv_lib_m_erff=yes
21985 else
21986   ac_cv_lib_m_erff=no
21987 fi
21988 rm -f core conftest.err conftest.$ac_objext \
21989     conftest$ac_exeext conftest.$ac_ext
21990 LIBS=$ac_check_lib_save_LIBS
21991 fi
21992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erff" >&5
21993 $as_echo "$ac_cv_lib_m_erff" >&6; }
21994 if test "x$ac_cv_lib_m_erff" = x""yes; then :
21995
21996 $as_echo "#define HAVE_ERFF 1" >>confdefs.h
21997
21998 fi
21999
22000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
22001 $as_echo_n "checking for erf in -lm... " >&6; }
22002 if test "${ac_cv_lib_m_erf+set}" = set; then :
22003   $as_echo_n "(cached) " >&6
22004 else
22005   ac_check_lib_save_LIBS=$LIBS
22006 LIBS="-lm  $LIBS"
22007 if test x$gcc_no_link = xyes; then
22008   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22009 fi
22010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22011 /* end confdefs.h.  */
22012
22013 /* Override any GCC internal prototype to avoid an error.
22014    Use char because int might match the return type of a GCC
22015    builtin and then its argument prototype would still apply.  */
22016 #ifdef __cplusplus
22017 extern "C"
22018 #endif
22019 char erf ();
22020 int
22021 main ()
22022 {
22023 return erf ();
22024   ;
22025   return 0;
22026 }
22027 _ACEOF
22028 if ac_fn_c_try_link "$LINENO"; then :
22029   ac_cv_lib_m_erf=yes
22030 else
22031   ac_cv_lib_m_erf=no
22032 fi
22033 rm -f core conftest.err conftest.$ac_objext \
22034     conftest$ac_exeext conftest.$ac_ext
22035 LIBS=$ac_check_lib_save_LIBS
22036 fi
22037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erf" >&5
22038 $as_echo "$ac_cv_lib_m_erf" >&6; }
22039 if test "x$ac_cv_lib_m_erf" = x""yes; then :
22040
22041 $as_echo "#define HAVE_ERF 1" >>confdefs.h
22042
22043 fi
22044
22045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
22046 $as_echo_n "checking for erfl in -lm... " >&6; }
22047 if test "${ac_cv_lib_m_erfl+set}" = set; then :
22048   $as_echo_n "(cached) " >&6
22049 else
22050   ac_check_lib_save_LIBS=$LIBS
22051 LIBS="-lm  $LIBS"
22052 if test x$gcc_no_link = xyes; then
22053   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22054 fi
22055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22056 /* end confdefs.h.  */
22057
22058 /* Override any GCC internal prototype to avoid an error.
22059    Use char because int might match the return type of a GCC
22060    builtin and then its argument prototype would still apply.  */
22061 #ifdef __cplusplus
22062 extern "C"
22063 #endif
22064 char erfl ();
22065 int
22066 main ()
22067 {
22068 return erfl ();
22069   ;
22070   return 0;
22071 }
22072 _ACEOF
22073 if ac_fn_c_try_link "$LINENO"; then :
22074   ac_cv_lib_m_erfl=yes
22075 else
22076   ac_cv_lib_m_erfl=no
22077 fi
22078 rm -f core conftest.err conftest.$ac_objext \
22079     conftest$ac_exeext conftest.$ac_ext
22080 LIBS=$ac_check_lib_save_LIBS
22081 fi
22082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfl" >&5
22083 $as_echo "$ac_cv_lib_m_erfl" >&6; }
22084 if test "x$ac_cv_lib_m_erfl" = x""yes; then :
22085
22086 $as_echo "#define HAVE_ERFL 1" >>confdefs.h
22087
22088 fi
22089
22090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22091 $as_echo_n "checking for erfcf in -lm... " >&6; }
22092 if test "${ac_cv_lib_m_erfcf+set}" = set; then :
22093   $as_echo_n "(cached) " >&6
22094 else
22095   ac_check_lib_save_LIBS=$LIBS
22096 LIBS="-lm  $LIBS"
22097 if test x$gcc_no_link = xyes; then
22098   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22099 fi
22100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22101 /* end confdefs.h.  */
22102
22103 /* Override any GCC internal prototype to avoid an error.
22104    Use char because int might match the return type of a GCC
22105    builtin and then its argument prototype would still apply.  */
22106 #ifdef __cplusplus
22107 extern "C"
22108 #endif
22109 char erfcf ();
22110 int
22111 main ()
22112 {
22113 return erfcf ();
22114   ;
22115   return 0;
22116 }
22117 _ACEOF
22118 if ac_fn_c_try_link "$LINENO"; then :
22119   ac_cv_lib_m_erfcf=yes
22120 else
22121   ac_cv_lib_m_erfcf=no
22122 fi
22123 rm -f core conftest.err conftest.$ac_objext \
22124     conftest$ac_exeext conftest.$ac_ext
22125 LIBS=$ac_check_lib_save_LIBS
22126 fi
22127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcf" >&5
22128 $as_echo "$ac_cv_lib_m_erfcf" >&6; }
22129 if test "x$ac_cv_lib_m_erfcf" = x""yes; then :
22130
22131 $as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22132
22133 fi
22134
22135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22136 $as_echo_n "checking for erfc in -lm... " >&6; }
22137 if test "${ac_cv_lib_m_erfc+set}" = set; then :
22138   $as_echo_n "(cached) " >&6
22139 else
22140   ac_check_lib_save_LIBS=$LIBS
22141 LIBS="-lm  $LIBS"
22142 if test x$gcc_no_link = xyes; then
22143   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22144 fi
22145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22146 /* end confdefs.h.  */
22147
22148 /* Override any GCC internal prototype to avoid an error.
22149    Use char because int might match the return type of a GCC
22150    builtin and then its argument prototype would still apply.  */
22151 #ifdef __cplusplus
22152 extern "C"
22153 #endif
22154 char erfc ();
22155 int
22156 main ()
22157 {
22158 return erfc ();
22159   ;
22160   return 0;
22161 }
22162 _ACEOF
22163 if ac_fn_c_try_link "$LINENO"; then :
22164   ac_cv_lib_m_erfc=yes
22165 else
22166   ac_cv_lib_m_erfc=no
22167 fi
22168 rm -f core conftest.err conftest.$ac_objext \
22169     conftest$ac_exeext conftest.$ac_ext
22170 LIBS=$ac_check_lib_save_LIBS
22171 fi
22172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfc" >&5
22173 $as_echo "$ac_cv_lib_m_erfc" >&6; }
22174 if test "x$ac_cv_lib_m_erfc" = x""yes; then :
22175
22176 $as_echo "#define HAVE_ERFC 1" >>confdefs.h
22177
22178 fi
22179
22180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22181 $as_echo_n "checking for erfcl in -lm... " >&6; }
22182 if test "${ac_cv_lib_m_erfcl+set}" = set; then :
22183   $as_echo_n "(cached) " >&6
22184 else
22185   ac_check_lib_save_LIBS=$LIBS
22186 LIBS="-lm  $LIBS"
22187 if test x$gcc_no_link = xyes; then
22188   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22189 fi
22190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22191 /* end confdefs.h.  */
22192
22193 /* Override any GCC internal prototype to avoid an error.
22194    Use char because int might match the return type of a GCC
22195    builtin and then its argument prototype would still apply.  */
22196 #ifdef __cplusplus
22197 extern "C"
22198 #endif
22199 char erfcl ();
22200 int
22201 main ()
22202 {
22203 return erfcl ();
22204   ;
22205   return 0;
22206 }
22207 _ACEOF
22208 if ac_fn_c_try_link "$LINENO"; then :
22209   ac_cv_lib_m_erfcl=yes
22210 else
22211   ac_cv_lib_m_erfcl=no
22212 fi
22213 rm -f core conftest.err conftest.$ac_objext \
22214     conftest$ac_exeext conftest.$ac_ext
22215 LIBS=$ac_check_lib_save_LIBS
22216 fi
22217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcl" >&5
22218 $as_echo "$ac_cv_lib_m_erfcl" >&6; }
22219 if test "x$ac_cv_lib_m_erfcl" = x""yes; then :
22220
22221 $as_echo "#define HAVE_ERFCL 1" >>confdefs.h
22222
22223 fi
22224
22225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
22226 $as_echo_n "checking for j0f in -lm... " >&6; }
22227 if test "${ac_cv_lib_m_j0f+set}" = set; then :
22228   $as_echo_n "(cached) " >&6
22229 else
22230   ac_check_lib_save_LIBS=$LIBS
22231 LIBS="-lm  $LIBS"
22232 if test x$gcc_no_link = xyes; then
22233   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22234 fi
22235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22236 /* end confdefs.h.  */
22237
22238 /* Override any GCC internal prototype to avoid an error.
22239    Use char because int might match the return type of a GCC
22240    builtin and then its argument prototype would still apply.  */
22241 #ifdef __cplusplus
22242 extern "C"
22243 #endif
22244 char j0f ();
22245 int
22246 main ()
22247 {
22248 return j0f ();
22249   ;
22250   return 0;
22251 }
22252 _ACEOF
22253 if ac_fn_c_try_link "$LINENO"; then :
22254   ac_cv_lib_m_j0f=yes
22255 else
22256   ac_cv_lib_m_j0f=no
22257 fi
22258 rm -f core conftest.err conftest.$ac_objext \
22259     conftest$ac_exeext conftest.$ac_ext
22260 LIBS=$ac_check_lib_save_LIBS
22261 fi
22262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0f" >&5
22263 $as_echo "$ac_cv_lib_m_j0f" >&6; }
22264 if test "x$ac_cv_lib_m_j0f" = x""yes; then :
22265
22266 $as_echo "#define HAVE_J0F 1" >>confdefs.h
22267
22268 fi
22269
22270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
22271 $as_echo_n "checking for j0 in -lm... " >&6; }
22272 if test "${ac_cv_lib_m_j0+set}" = set; then :
22273   $as_echo_n "(cached) " >&6
22274 else
22275   ac_check_lib_save_LIBS=$LIBS
22276 LIBS="-lm  $LIBS"
22277 if test x$gcc_no_link = xyes; then
22278   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22279 fi
22280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22281 /* end confdefs.h.  */
22282
22283 /* Override any GCC internal prototype to avoid an error.
22284    Use char because int might match the return type of a GCC
22285    builtin and then its argument prototype would still apply.  */
22286 #ifdef __cplusplus
22287 extern "C"
22288 #endif
22289 char j0 ();
22290 int
22291 main ()
22292 {
22293 return j0 ();
22294   ;
22295   return 0;
22296 }
22297 _ACEOF
22298 if ac_fn_c_try_link "$LINENO"; then :
22299   ac_cv_lib_m_j0=yes
22300 else
22301   ac_cv_lib_m_j0=no
22302 fi
22303 rm -f core conftest.err conftest.$ac_objext \
22304     conftest$ac_exeext conftest.$ac_ext
22305 LIBS=$ac_check_lib_save_LIBS
22306 fi
22307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0" >&5
22308 $as_echo "$ac_cv_lib_m_j0" >&6; }
22309 if test "x$ac_cv_lib_m_j0" = x""yes; then :
22310
22311 $as_echo "#define HAVE_J0 1" >>confdefs.h
22312
22313 fi
22314
22315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
22316 $as_echo_n "checking for j0l in -lm... " >&6; }
22317 if test "${ac_cv_lib_m_j0l+set}" = set; then :
22318   $as_echo_n "(cached) " >&6
22319 else
22320   ac_check_lib_save_LIBS=$LIBS
22321 LIBS="-lm  $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
22329    Use char because int might match the return type of a GCC
22330    builtin and then its argument prototype would still apply.  */
22331 #ifdef __cplusplus
22332 extern "C"
22333 #endif
22334 char j0l ();
22335 int
22336 main ()
22337 {
22338 return j0l ();
22339   ;
22340   return 0;
22341 }
22342 _ACEOF
22343 if ac_fn_c_try_link "$LINENO"; then :
22344   ac_cv_lib_m_j0l=yes
22345 else
22346   ac_cv_lib_m_j0l=no
22347 fi
22348 rm -f core conftest.err conftest.$ac_objext \
22349     conftest$ac_exeext conftest.$ac_ext
22350 LIBS=$ac_check_lib_save_LIBS
22351 fi
22352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0l" >&5
22353 $as_echo "$ac_cv_lib_m_j0l" >&6; }
22354 if test "x$ac_cv_lib_m_j0l" = x""yes; then :
22355
22356 $as_echo "#define HAVE_J0L 1" >>confdefs.h
22357
22358 fi
22359
22360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
22361 $as_echo_n "checking for j1f in -lm... " >&6; }
22362 if test "${ac_cv_lib_m_j1f+set}" = set; then :
22363   $as_echo_n "(cached) " >&6
22364 else
22365   ac_check_lib_save_LIBS=$LIBS
22366 LIBS="-lm  $LIBS"
22367 if test x$gcc_no_link = xyes; then
22368   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22369 fi
22370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22371 /* end confdefs.h.  */
22372
22373 /* Override any GCC internal prototype to avoid an error.
22374    Use char because int might match the return type of a GCC
22375    builtin and then its argument prototype would still apply.  */
22376 #ifdef __cplusplus
22377 extern "C"
22378 #endif
22379 char j1f ();
22380 int
22381 main ()
22382 {
22383 return j1f ();
22384   ;
22385   return 0;
22386 }
22387 _ACEOF
22388 if ac_fn_c_try_link "$LINENO"; then :
22389   ac_cv_lib_m_j1f=yes
22390 else
22391   ac_cv_lib_m_j1f=no
22392 fi
22393 rm -f core conftest.err conftest.$ac_objext \
22394     conftest$ac_exeext conftest.$ac_ext
22395 LIBS=$ac_check_lib_save_LIBS
22396 fi
22397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1f" >&5
22398 $as_echo "$ac_cv_lib_m_j1f" >&6; }
22399 if test "x$ac_cv_lib_m_j1f" = x""yes; then :
22400
22401 $as_echo "#define HAVE_J1F 1" >>confdefs.h
22402
22403 fi
22404
22405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
22406 $as_echo_n "checking for j1 in -lm... " >&6; }
22407 if test "${ac_cv_lib_m_j1+set}" = set; then :
22408   $as_echo_n "(cached) " >&6
22409 else
22410   ac_check_lib_save_LIBS=$LIBS
22411 LIBS="-lm  $LIBS"
22412 if test x$gcc_no_link = xyes; then
22413   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22414 fi
22415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22416 /* end confdefs.h.  */
22417
22418 /* Override any GCC internal prototype to avoid an error.
22419    Use char because int might match the return type of a GCC
22420    builtin and then its argument prototype would still apply.  */
22421 #ifdef __cplusplus
22422 extern "C"
22423 #endif
22424 char j1 ();
22425 int
22426 main ()
22427 {
22428 return j1 ();
22429   ;
22430   return 0;
22431 }
22432 _ACEOF
22433 if ac_fn_c_try_link "$LINENO"; then :
22434   ac_cv_lib_m_j1=yes
22435 else
22436   ac_cv_lib_m_j1=no
22437 fi
22438 rm -f core conftest.err conftest.$ac_objext \
22439     conftest$ac_exeext conftest.$ac_ext
22440 LIBS=$ac_check_lib_save_LIBS
22441 fi
22442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1" >&5
22443 $as_echo "$ac_cv_lib_m_j1" >&6; }
22444 if test "x$ac_cv_lib_m_j1" = x""yes; then :
22445
22446 $as_echo "#define HAVE_J1 1" >>confdefs.h
22447
22448 fi
22449
22450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
22451 $as_echo_n "checking for j1l in -lm... " >&6; }
22452 if test "${ac_cv_lib_m_j1l+set}" = set; then :
22453   $as_echo_n "(cached) " >&6
22454 else
22455   ac_check_lib_save_LIBS=$LIBS
22456 LIBS="-lm  $LIBS"
22457 if test x$gcc_no_link = xyes; then
22458   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22459 fi
22460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22461 /* end confdefs.h.  */
22462
22463 /* Override any GCC internal prototype to avoid an error.
22464    Use char because int might match the return type of a GCC
22465    builtin and then its argument prototype would still apply.  */
22466 #ifdef __cplusplus
22467 extern "C"
22468 #endif
22469 char j1l ();
22470 int
22471 main ()
22472 {
22473 return j1l ();
22474   ;
22475   return 0;
22476 }
22477 _ACEOF
22478 if ac_fn_c_try_link "$LINENO"; then :
22479   ac_cv_lib_m_j1l=yes
22480 else
22481   ac_cv_lib_m_j1l=no
22482 fi
22483 rm -f core conftest.err conftest.$ac_objext \
22484     conftest$ac_exeext conftest.$ac_ext
22485 LIBS=$ac_check_lib_save_LIBS
22486 fi
22487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1l" >&5
22488 $as_echo "$ac_cv_lib_m_j1l" >&6; }
22489 if test "x$ac_cv_lib_m_j1l" = x""yes; then :
22490
22491 $as_echo "#define HAVE_J1L 1" >>confdefs.h
22492
22493 fi
22494
22495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
22496 $as_echo_n "checking for jnf in -lm... " >&6; }
22497 if test "${ac_cv_lib_m_jnf+set}" = set; then :
22498   $as_echo_n "(cached) " >&6
22499 else
22500   ac_check_lib_save_LIBS=$LIBS
22501 LIBS="-lm  $LIBS"
22502 if test x$gcc_no_link = xyes; then
22503   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22504 fi
22505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22506 /* end confdefs.h.  */
22507
22508 /* Override any GCC internal prototype to avoid an error.
22509    Use char because int might match the return type of a GCC
22510    builtin and then its argument prototype would still apply.  */
22511 #ifdef __cplusplus
22512 extern "C"
22513 #endif
22514 char jnf ();
22515 int
22516 main ()
22517 {
22518 return jnf ();
22519   ;
22520   return 0;
22521 }
22522 _ACEOF
22523 if ac_fn_c_try_link "$LINENO"; then :
22524   ac_cv_lib_m_jnf=yes
22525 else
22526   ac_cv_lib_m_jnf=no
22527 fi
22528 rm -f core conftest.err conftest.$ac_objext \
22529     conftest$ac_exeext conftest.$ac_ext
22530 LIBS=$ac_check_lib_save_LIBS
22531 fi
22532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnf" >&5
22533 $as_echo "$ac_cv_lib_m_jnf" >&6; }
22534 if test "x$ac_cv_lib_m_jnf" = x""yes; then :
22535
22536 $as_echo "#define HAVE_JNF 1" >>confdefs.h
22537
22538 fi
22539
22540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
22541 $as_echo_n "checking for jn in -lm... " >&6; }
22542 if test "${ac_cv_lib_m_jn+set}" = set; then :
22543   $as_echo_n "(cached) " >&6
22544 else
22545   ac_check_lib_save_LIBS=$LIBS
22546 LIBS="-lm  $LIBS"
22547 if test x$gcc_no_link = xyes; then
22548   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22549 fi
22550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22551 /* end confdefs.h.  */
22552
22553 /* Override any GCC internal prototype to avoid an error.
22554    Use char because int might match the return type of a GCC
22555    builtin and then its argument prototype would still apply.  */
22556 #ifdef __cplusplus
22557 extern "C"
22558 #endif
22559 char jn ();
22560 int
22561 main ()
22562 {
22563 return jn ();
22564   ;
22565   return 0;
22566 }
22567 _ACEOF
22568 if ac_fn_c_try_link "$LINENO"; then :
22569   ac_cv_lib_m_jn=yes
22570 else
22571   ac_cv_lib_m_jn=no
22572 fi
22573 rm -f core conftest.err conftest.$ac_objext \
22574     conftest$ac_exeext conftest.$ac_ext
22575 LIBS=$ac_check_lib_save_LIBS
22576 fi
22577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jn" >&5
22578 $as_echo "$ac_cv_lib_m_jn" >&6; }
22579 if test "x$ac_cv_lib_m_jn" = x""yes; then :
22580
22581 $as_echo "#define HAVE_JN 1" >>confdefs.h
22582
22583 fi
22584
22585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
22586 $as_echo_n "checking for jnl in -lm... " >&6; }
22587 if test "${ac_cv_lib_m_jnl+set}" = set; then :
22588   $as_echo_n "(cached) " >&6
22589 else
22590   ac_check_lib_save_LIBS=$LIBS
22591 LIBS="-lm  $LIBS"
22592 if test x$gcc_no_link = xyes; then
22593   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22594 fi
22595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22596 /* end confdefs.h.  */
22597
22598 /* Override any GCC internal prototype to avoid an error.
22599    Use char because int might match the return type of a GCC
22600    builtin and then its argument prototype would still apply.  */
22601 #ifdef __cplusplus
22602 extern "C"
22603 #endif
22604 char jnl ();
22605 int
22606 main ()
22607 {
22608 return jnl ();
22609   ;
22610   return 0;
22611 }
22612 _ACEOF
22613 if ac_fn_c_try_link "$LINENO"; then :
22614   ac_cv_lib_m_jnl=yes
22615 else
22616   ac_cv_lib_m_jnl=no
22617 fi
22618 rm -f core conftest.err conftest.$ac_objext \
22619     conftest$ac_exeext conftest.$ac_ext
22620 LIBS=$ac_check_lib_save_LIBS
22621 fi
22622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnl" >&5
22623 $as_echo "$ac_cv_lib_m_jnl" >&6; }
22624 if test "x$ac_cv_lib_m_jnl" = x""yes; then :
22625
22626 $as_echo "#define HAVE_JNL 1" >>confdefs.h
22627
22628 fi
22629
22630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
22631 $as_echo_n "checking for y0f in -lm... " >&6; }
22632 if test "${ac_cv_lib_m_y0f+set}" = set; then :
22633   $as_echo_n "(cached) " >&6
22634 else
22635   ac_check_lib_save_LIBS=$LIBS
22636 LIBS="-lm  $LIBS"
22637 if test x$gcc_no_link = xyes; then
22638   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22639 fi
22640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22641 /* end confdefs.h.  */
22642
22643 /* Override any GCC internal prototype to avoid an error.
22644    Use char because int might match the return type of a GCC
22645    builtin and then its argument prototype would still apply.  */
22646 #ifdef __cplusplus
22647 extern "C"
22648 #endif
22649 char y0f ();
22650 int
22651 main ()
22652 {
22653 return y0f ();
22654   ;
22655   return 0;
22656 }
22657 _ACEOF
22658 if ac_fn_c_try_link "$LINENO"; then :
22659   ac_cv_lib_m_y0f=yes
22660 else
22661   ac_cv_lib_m_y0f=no
22662 fi
22663 rm -f core conftest.err conftest.$ac_objext \
22664     conftest$ac_exeext conftest.$ac_ext
22665 LIBS=$ac_check_lib_save_LIBS
22666 fi
22667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0f" >&5
22668 $as_echo "$ac_cv_lib_m_y0f" >&6; }
22669 if test "x$ac_cv_lib_m_y0f" = x""yes; then :
22670
22671 $as_echo "#define HAVE_Y0F 1" >>confdefs.h
22672
22673 fi
22674
22675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
22676 $as_echo_n "checking for y0 in -lm... " >&6; }
22677 if test "${ac_cv_lib_m_y0+set}" = set; then :
22678   $as_echo_n "(cached) " >&6
22679 else
22680   ac_check_lib_save_LIBS=$LIBS
22681 LIBS="-lm  $LIBS"
22682 if test x$gcc_no_link = xyes; then
22683   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22684 fi
22685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22686 /* end confdefs.h.  */
22687
22688 /* Override any GCC internal prototype to avoid an error.
22689    Use char because int might match the return type of a GCC
22690    builtin and then its argument prototype would still apply.  */
22691 #ifdef __cplusplus
22692 extern "C"
22693 #endif
22694 char y0 ();
22695 int
22696 main ()
22697 {
22698 return y0 ();
22699   ;
22700   return 0;
22701 }
22702 _ACEOF
22703 if ac_fn_c_try_link "$LINENO"; then :
22704   ac_cv_lib_m_y0=yes
22705 else
22706   ac_cv_lib_m_y0=no
22707 fi
22708 rm -f core conftest.err conftest.$ac_objext \
22709     conftest$ac_exeext conftest.$ac_ext
22710 LIBS=$ac_check_lib_save_LIBS
22711 fi
22712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0" >&5
22713 $as_echo "$ac_cv_lib_m_y0" >&6; }
22714 if test "x$ac_cv_lib_m_y0" = x""yes; then :
22715
22716 $as_echo "#define HAVE_Y0 1" >>confdefs.h
22717
22718 fi
22719
22720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
22721 $as_echo_n "checking for y0l in -lm... " >&6; }
22722 if test "${ac_cv_lib_m_y0l+set}" = set; then :
22723   $as_echo_n "(cached) " >&6
22724 else
22725   ac_check_lib_save_LIBS=$LIBS
22726 LIBS="-lm  $LIBS"
22727 if test x$gcc_no_link = xyes; then
22728   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22729 fi
22730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22731 /* end confdefs.h.  */
22732
22733 /* Override any GCC internal prototype to avoid an error.
22734    Use char because int might match the return type of a GCC
22735    builtin and then its argument prototype would still apply.  */
22736 #ifdef __cplusplus
22737 extern "C"
22738 #endif
22739 char y0l ();
22740 int
22741 main ()
22742 {
22743 return y0l ();
22744   ;
22745   return 0;
22746 }
22747 _ACEOF
22748 if ac_fn_c_try_link "$LINENO"; then :
22749   ac_cv_lib_m_y0l=yes
22750 else
22751   ac_cv_lib_m_y0l=no
22752 fi
22753 rm -f core conftest.err conftest.$ac_objext \
22754     conftest$ac_exeext conftest.$ac_ext
22755 LIBS=$ac_check_lib_save_LIBS
22756 fi
22757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0l" >&5
22758 $as_echo "$ac_cv_lib_m_y0l" >&6; }
22759 if test "x$ac_cv_lib_m_y0l" = x""yes; then :
22760
22761 $as_echo "#define HAVE_Y0L 1" >>confdefs.h
22762
22763 fi
22764
22765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
22766 $as_echo_n "checking for y1f in -lm... " >&6; }
22767 if test "${ac_cv_lib_m_y1f+set}" = set; then :
22768   $as_echo_n "(cached) " >&6
22769 else
22770   ac_check_lib_save_LIBS=$LIBS
22771 LIBS="-lm  $LIBS"
22772 if test x$gcc_no_link = xyes; then
22773   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22774 fi
22775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22776 /* end confdefs.h.  */
22777
22778 /* Override any GCC internal prototype to avoid an error.
22779    Use char because int might match the return type of a GCC
22780    builtin and then its argument prototype would still apply.  */
22781 #ifdef __cplusplus
22782 extern "C"
22783 #endif
22784 char y1f ();
22785 int
22786 main ()
22787 {
22788 return y1f ();
22789   ;
22790   return 0;
22791 }
22792 _ACEOF
22793 if ac_fn_c_try_link "$LINENO"; then :
22794   ac_cv_lib_m_y1f=yes
22795 else
22796   ac_cv_lib_m_y1f=no
22797 fi
22798 rm -f core conftest.err conftest.$ac_objext \
22799     conftest$ac_exeext conftest.$ac_ext
22800 LIBS=$ac_check_lib_save_LIBS
22801 fi
22802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1f" >&5
22803 $as_echo "$ac_cv_lib_m_y1f" >&6; }
22804 if test "x$ac_cv_lib_m_y1f" = x""yes; then :
22805
22806 $as_echo "#define HAVE_Y1F 1" >>confdefs.h
22807
22808 fi
22809
22810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
22811 $as_echo_n "checking for y1 in -lm... " >&6; }
22812 if test "${ac_cv_lib_m_y1+set}" = set; then :
22813   $as_echo_n "(cached) " >&6
22814 else
22815   ac_check_lib_save_LIBS=$LIBS
22816 LIBS="-lm  $LIBS"
22817 if test x$gcc_no_link = xyes; then
22818   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22819 fi
22820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22821 /* end confdefs.h.  */
22822
22823 /* Override any GCC internal prototype to avoid an error.
22824    Use char because int might match the return type of a GCC
22825    builtin and then its argument prototype would still apply.  */
22826 #ifdef __cplusplus
22827 extern "C"
22828 #endif
22829 char y1 ();
22830 int
22831 main ()
22832 {
22833 return y1 ();
22834   ;
22835   return 0;
22836 }
22837 _ACEOF
22838 if ac_fn_c_try_link "$LINENO"; then :
22839   ac_cv_lib_m_y1=yes
22840 else
22841   ac_cv_lib_m_y1=no
22842 fi
22843 rm -f core conftest.err conftest.$ac_objext \
22844     conftest$ac_exeext conftest.$ac_ext
22845 LIBS=$ac_check_lib_save_LIBS
22846 fi
22847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1" >&5
22848 $as_echo "$ac_cv_lib_m_y1" >&6; }
22849 if test "x$ac_cv_lib_m_y1" = x""yes; then :
22850
22851 $as_echo "#define HAVE_Y1 1" >>confdefs.h
22852
22853 fi
22854
22855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
22856 $as_echo_n "checking for y1l in -lm... " >&6; }
22857 if test "${ac_cv_lib_m_y1l+set}" = set; then :
22858   $as_echo_n "(cached) " >&6
22859 else
22860   ac_check_lib_save_LIBS=$LIBS
22861 LIBS="-lm  $LIBS"
22862 if test x$gcc_no_link = xyes; then
22863   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22864 fi
22865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22866 /* end confdefs.h.  */
22867
22868 /* Override any GCC internal prototype to avoid an error.
22869    Use char because int might match the return type of a GCC
22870    builtin and then its argument prototype would still apply.  */
22871 #ifdef __cplusplus
22872 extern "C"
22873 #endif
22874 char y1l ();
22875 int
22876 main ()
22877 {
22878 return y1l ();
22879   ;
22880   return 0;
22881 }
22882 _ACEOF
22883 if ac_fn_c_try_link "$LINENO"; then :
22884   ac_cv_lib_m_y1l=yes
22885 else
22886   ac_cv_lib_m_y1l=no
22887 fi
22888 rm -f core conftest.err conftest.$ac_objext \
22889     conftest$ac_exeext conftest.$ac_ext
22890 LIBS=$ac_check_lib_save_LIBS
22891 fi
22892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1l" >&5
22893 $as_echo "$ac_cv_lib_m_y1l" >&6; }
22894 if test "x$ac_cv_lib_m_y1l" = x""yes; then :
22895
22896 $as_echo "#define HAVE_Y1L 1" >>confdefs.h
22897
22898 fi
22899
22900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
22901 $as_echo_n "checking for ynf in -lm... " >&6; }
22902 if test "${ac_cv_lib_m_ynf+set}" = set; then :
22903   $as_echo_n "(cached) " >&6
22904 else
22905   ac_check_lib_save_LIBS=$LIBS
22906 LIBS="-lm  $LIBS"
22907 if test x$gcc_no_link = xyes; then
22908   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22909 fi
22910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22911 /* end confdefs.h.  */
22912
22913 /* Override any GCC internal prototype to avoid an error.
22914    Use char because int might match the return type of a GCC
22915    builtin and then its argument prototype would still apply.  */
22916 #ifdef __cplusplus
22917 extern "C"
22918 #endif
22919 char ynf ();
22920 int
22921 main ()
22922 {
22923 return ynf ();
22924   ;
22925   return 0;
22926 }
22927 _ACEOF
22928 if ac_fn_c_try_link "$LINENO"; then :
22929   ac_cv_lib_m_ynf=yes
22930 else
22931   ac_cv_lib_m_ynf=no
22932 fi
22933 rm -f core conftest.err conftest.$ac_objext \
22934     conftest$ac_exeext conftest.$ac_ext
22935 LIBS=$ac_check_lib_save_LIBS
22936 fi
22937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynf" >&5
22938 $as_echo "$ac_cv_lib_m_ynf" >&6; }
22939 if test "x$ac_cv_lib_m_ynf" = x""yes; then :
22940
22941 $as_echo "#define HAVE_YNF 1" >>confdefs.h
22942
22943 fi
22944
22945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
22946 $as_echo_n "checking for yn in -lm... " >&6; }
22947 if test "${ac_cv_lib_m_yn+set}" = set; then :
22948   $as_echo_n "(cached) " >&6
22949 else
22950   ac_check_lib_save_LIBS=$LIBS
22951 LIBS="-lm  $LIBS"
22952 if test x$gcc_no_link = xyes; then
22953   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22954 fi
22955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22956 /* end confdefs.h.  */
22957
22958 /* Override any GCC internal prototype to avoid an error.
22959    Use char because int might match the return type of a GCC
22960    builtin and then its argument prototype would still apply.  */
22961 #ifdef __cplusplus
22962 extern "C"
22963 #endif
22964 char yn ();
22965 int
22966 main ()
22967 {
22968 return yn ();
22969   ;
22970   return 0;
22971 }
22972 _ACEOF
22973 if ac_fn_c_try_link "$LINENO"; then :
22974   ac_cv_lib_m_yn=yes
22975 else
22976   ac_cv_lib_m_yn=no
22977 fi
22978 rm -f core conftest.err conftest.$ac_objext \
22979     conftest$ac_exeext conftest.$ac_ext
22980 LIBS=$ac_check_lib_save_LIBS
22981 fi
22982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_yn" >&5
22983 $as_echo "$ac_cv_lib_m_yn" >&6; }
22984 if test "x$ac_cv_lib_m_yn" = x""yes; then :
22985
22986 $as_echo "#define HAVE_YN 1" >>confdefs.h
22987
22988 fi
22989
22990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
22991 $as_echo_n "checking for ynl in -lm... " >&6; }
22992 if test "${ac_cv_lib_m_ynl+set}" = set; then :
22993   $as_echo_n "(cached) " >&6
22994 else
22995   ac_check_lib_save_LIBS=$LIBS
22996 LIBS="-lm  $LIBS"
22997 if test x$gcc_no_link = xyes; then
22998   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22999 fi
23000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23001 /* end confdefs.h.  */
23002
23003 /* Override any GCC internal prototype to avoid an error.
23004    Use char because int might match the return type of a GCC
23005    builtin and then its argument prototype would still apply.  */
23006 #ifdef __cplusplus
23007 extern "C"
23008 #endif
23009 char ynl ();
23010 int
23011 main ()
23012 {
23013 return ynl ();
23014   ;
23015   return 0;
23016 }
23017 _ACEOF
23018 if ac_fn_c_try_link "$LINENO"; then :
23019   ac_cv_lib_m_ynl=yes
23020 else
23021   ac_cv_lib_m_ynl=no
23022 fi
23023 rm -f core conftest.err conftest.$ac_objext \
23024     conftest$ac_exeext conftest.$ac_ext
23025 LIBS=$ac_check_lib_save_LIBS
23026 fi
23027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynl" >&5
23028 $as_echo "$ac_cv_lib_m_ynl" >&6; }
23029 if test "x$ac_cv_lib_m_ynl" = x""yes; then :
23030
23031 $as_echo "#define HAVE_YNL 1" >>confdefs.h
23032
23033 fi
23034
23035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
23036 $as_echo_n "checking for tgamma in -lm... " >&6; }
23037 if test "${ac_cv_lib_m_tgamma+set}" = set; then :
23038   $as_echo_n "(cached) " >&6
23039 else
23040   ac_check_lib_save_LIBS=$LIBS
23041 LIBS="-lm  $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
23049    Use char because int might match the return type of a GCC
23050    builtin and then its argument prototype would still apply.  */
23051 #ifdef __cplusplus
23052 extern "C"
23053 #endif
23054 char tgamma ();
23055 int
23056 main ()
23057 {
23058 return tgamma ();
23059   ;
23060   return 0;
23061 }
23062 _ACEOF
23063 if ac_fn_c_try_link "$LINENO"; then :
23064   ac_cv_lib_m_tgamma=yes
23065 else
23066   ac_cv_lib_m_tgamma=no
23067 fi
23068 rm -f core conftest.err conftest.$ac_objext \
23069     conftest$ac_exeext conftest.$ac_ext
23070 LIBS=$ac_check_lib_save_LIBS
23071 fi
23072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgamma" >&5
23073 $as_echo "$ac_cv_lib_m_tgamma" >&6; }
23074 if test "x$ac_cv_lib_m_tgamma" = x""yes; then :
23075
23076 $as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23077
23078 fi
23079
23080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23081 $as_echo_n "checking for tgammaf in -lm... " >&6; }
23082 if test "${ac_cv_lib_m_tgammaf+set}" = set; then :
23083   $as_echo_n "(cached) " >&6
23084 else
23085   ac_check_lib_save_LIBS=$LIBS
23086 LIBS="-lm  $LIBS"
23087 if test x$gcc_no_link = xyes; then
23088   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23089 fi
23090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23091 /* end confdefs.h.  */
23092
23093 /* Override any GCC internal prototype to avoid an error.
23094    Use char because int might match the return type of a GCC
23095    builtin and then its argument prototype would still apply.  */
23096 #ifdef __cplusplus
23097 extern "C"
23098 #endif
23099 char tgammaf ();
23100 int
23101 main ()
23102 {
23103 return tgammaf ();
23104   ;
23105   return 0;
23106 }
23107 _ACEOF
23108 if ac_fn_c_try_link "$LINENO"; then :
23109   ac_cv_lib_m_tgammaf=yes
23110 else
23111   ac_cv_lib_m_tgammaf=no
23112 fi
23113 rm -f core conftest.err conftest.$ac_objext \
23114     conftest$ac_exeext conftest.$ac_ext
23115 LIBS=$ac_check_lib_save_LIBS
23116 fi
23117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammaf" >&5
23118 $as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23119 if test "x$ac_cv_lib_m_tgammaf" = x""yes; then :
23120
23121 $as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23122
23123 fi
23124
23125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23126 $as_echo_n "checking for tgammal in -lm... " >&6; }
23127 if test "${ac_cv_lib_m_tgammal+set}" = set; then :
23128   $as_echo_n "(cached) " >&6
23129 else
23130   ac_check_lib_save_LIBS=$LIBS
23131 LIBS="-lm  $LIBS"
23132 if test x$gcc_no_link = xyes; then
23133   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23134 fi
23135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23136 /* end confdefs.h.  */
23137
23138 /* Override any GCC internal prototype to avoid an error.
23139    Use char because int might match the return type of a GCC
23140    builtin and then its argument prototype would still apply.  */
23141 #ifdef __cplusplus
23142 extern "C"
23143 #endif
23144 char tgammal ();
23145 int
23146 main ()
23147 {
23148 return tgammal ();
23149   ;
23150   return 0;
23151 }
23152 _ACEOF
23153 if ac_fn_c_try_link "$LINENO"; then :
23154   ac_cv_lib_m_tgammal=yes
23155 else
23156   ac_cv_lib_m_tgammal=no
23157 fi
23158 rm -f core conftest.err conftest.$ac_objext \
23159     conftest$ac_exeext conftest.$ac_ext
23160 LIBS=$ac_check_lib_save_LIBS
23161 fi
23162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammal" >&5
23163 $as_echo "$ac_cv_lib_m_tgammal" >&6; }
23164 if test "x$ac_cv_lib_m_tgammal" = x""yes; then :
23165
23166 $as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23167
23168 fi
23169
23170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23171 $as_echo_n "checking for lgamma in -lm... " >&6; }
23172 if test "${ac_cv_lib_m_lgamma+set}" = set; then :
23173   $as_echo_n "(cached) " >&6
23174 else
23175   ac_check_lib_save_LIBS=$LIBS
23176 LIBS="-lm  $LIBS"
23177 if test x$gcc_no_link = xyes; then
23178   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23179 fi
23180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23181 /* end confdefs.h.  */
23182
23183 /* Override any GCC internal prototype to avoid an error.
23184    Use char because int might match the return type of a GCC
23185    builtin and then its argument prototype would still apply.  */
23186 #ifdef __cplusplus
23187 extern "C"
23188 #endif
23189 char lgamma ();
23190 int
23191 main ()
23192 {
23193 return lgamma ();
23194   ;
23195   return 0;
23196 }
23197 _ACEOF
23198 if ac_fn_c_try_link "$LINENO"; then :
23199   ac_cv_lib_m_lgamma=yes
23200 else
23201   ac_cv_lib_m_lgamma=no
23202 fi
23203 rm -f core conftest.err conftest.$ac_objext \
23204     conftest$ac_exeext conftest.$ac_ext
23205 LIBS=$ac_check_lib_save_LIBS
23206 fi
23207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgamma" >&5
23208 $as_echo "$ac_cv_lib_m_lgamma" >&6; }
23209 if test "x$ac_cv_lib_m_lgamma" = x""yes; then :
23210
23211 $as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23212
23213 fi
23214
23215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23216 $as_echo_n "checking for lgammaf in -lm... " >&6; }
23217 if test "${ac_cv_lib_m_lgammaf+set}" = set; then :
23218   $as_echo_n "(cached) " >&6
23219 else
23220   ac_check_lib_save_LIBS=$LIBS
23221 LIBS="-lm  $LIBS"
23222 if test x$gcc_no_link = xyes; then
23223   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23224 fi
23225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23226 /* end confdefs.h.  */
23227
23228 /* Override any GCC internal prototype to avoid an error.
23229    Use char because int might match the return type of a GCC
23230    builtin and then its argument prototype would still apply.  */
23231 #ifdef __cplusplus
23232 extern "C"
23233 #endif
23234 char lgammaf ();
23235 int
23236 main ()
23237 {
23238 return lgammaf ();
23239   ;
23240   return 0;
23241 }
23242 _ACEOF
23243 if ac_fn_c_try_link "$LINENO"; then :
23244   ac_cv_lib_m_lgammaf=yes
23245 else
23246   ac_cv_lib_m_lgammaf=no
23247 fi
23248 rm -f core conftest.err conftest.$ac_objext \
23249     conftest$ac_exeext conftest.$ac_ext
23250 LIBS=$ac_check_lib_save_LIBS
23251 fi
23252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammaf" >&5
23253 $as_echo "$ac_cv_lib_m_lgammaf" >&6; }
23254 if test "x$ac_cv_lib_m_lgammaf" = x""yes; then :
23255
23256 $as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
23257
23258 fi
23259
23260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
23261 $as_echo_n "checking for lgammal in -lm... " >&6; }
23262 if test "${ac_cv_lib_m_lgammal+set}" = set; then :
23263   $as_echo_n "(cached) " >&6
23264 else
23265   ac_check_lib_save_LIBS=$LIBS
23266 LIBS="-lm  $LIBS"
23267 if test x$gcc_no_link = xyes; then
23268   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23269 fi
23270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23271 /* end confdefs.h.  */
23272
23273 /* Override any GCC internal prototype to avoid an error.
23274    Use char because int might match the return type of a GCC
23275    builtin and then its argument prototype would still apply.  */
23276 #ifdef __cplusplus
23277 extern "C"
23278 #endif
23279 char lgammal ();
23280 int
23281 main ()
23282 {
23283 return lgammal ();
23284   ;
23285   return 0;
23286 }
23287 _ACEOF
23288 if ac_fn_c_try_link "$LINENO"; then :
23289   ac_cv_lib_m_lgammal=yes
23290 else
23291   ac_cv_lib_m_lgammal=no
23292 fi
23293 rm -f core conftest.err conftest.$ac_objext \
23294     conftest$ac_exeext conftest.$ac_ext
23295 LIBS=$ac_check_lib_save_LIBS
23296 fi
23297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammal" >&5
23298 $as_echo "$ac_cv_lib_m_lgammal" >&6; }
23299 if test "x$ac_cv_lib_m_lgammal" = x""yes; then :
23300
23301 $as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
23302
23303 fi
23304
23305
23306 # Check for GFORTRAN_C99_1.1 funcs
23307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos in -lm" >&5
23308 $as_echo_n "checking for cacos in -lm... " >&6; }
23309 if test "${ac_cv_lib_m_cacos+set}" = set; then :
23310   $as_echo_n "(cached) " >&6
23311 else
23312   ac_check_lib_save_LIBS=$LIBS
23313 LIBS="-lm  $LIBS"
23314 if test x$gcc_no_link = xyes; then
23315   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23316 fi
23317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23318 /* end confdefs.h.  */
23319
23320 /* Override any GCC internal prototype to avoid an error.
23321    Use char because int might match the return type of a GCC
23322    builtin and then its argument prototype would still apply.  */
23323 #ifdef __cplusplus
23324 extern "C"
23325 #endif
23326 char cacos ();
23327 int
23328 main ()
23329 {
23330 return cacos ();
23331   ;
23332   return 0;
23333 }
23334 _ACEOF
23335 if ac_fn_c_try_link "$LINENO"; then :
23336   ac_cv_lib_m_cacos=yes
23337 else
23338   ac_cv_lib_m_cacos=no
23339 fi
23340 rm -f core conftest.err conftest.$ac_objext \
23341     conftest$ac_exeext conftest.$ac_ext
23342 LIBS=$ac_check_lib_save_LIBS
23343 fi
23344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacos" >&5
23345 $as_echo "$ac_cv_lib_m_cacos" >&6; }
23346 if test "x$ac_cv_lib_m_cacos" = x""yes; then :
23347
23348 $as_echo "#define HAVE_CACOS 1" >>confdefs.h
23349
23350 fi
23351
23352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf in -lm" >&5
23353 $as_echo_n "checking for cacosf in -lm... " >&6; }
23354 if test "${ac_cv_lib_m_cacosf+set}" = set; then :
23355   $as_echo_n "(cached) " >&6
23356 else
23357   ac_check_lib_save_LIBS=$LIBS
23358 LIBS="-lm  $LIBS"
23359 if test x$gcc_no_link = xyes; then
23360   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23361 fi
23362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23363 /* end confdefs.h.  */
23364
23365 /* Override any GCC internal prototype to avoid an error.
23366    Use char because int might match the return type of a GCC
23367    builtin and then its argument prototype would still apply.  */
23368 #ifdef __cplusplus
23369 extern "C"
23370 #endif
23371 char cacosf ();
23372 int
23373 main ()
23374 {
23375 return cacosf ();
23376   ;
23377   return 0;
23378 }
23379 _ACEOF
23380 if ac_fn_c_try_link "$LINENO"; then :
23381   ac_cv_lib_m_cacosf=yes
23382 else
23383   ac_cv_lib_m_cacosf=no
23384 fi
23385 rm -f core conftest.err conftest.$ac_objext \
23386     conftest$ac_exeext conftest.$ac_ext
23387 LIBS=$ac_check_lib_save_LIBS
23388 fi
23389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosf" >&5
23390 $as_echo "$ac_cv_lib_m_cacosf" >&6; }
23391 if test "x$ac_cv_lib_m_cacosf" = x""yes; then :
23392
23393 $as_echo "#define HAVE_CACOSF 1" >>confdefs.h
23394
23395 fi
23396
23397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh in -lm" >&5
23398 $as_echo_n "checking for cacosh in -lm... " >&6; }
23399 if test "${ac_cv_lib_m_cacosh+set}" = set; then :
23400   $as_echo_n "(cached) " >&6
23401 else
23402   ac_check_lib_save_LIBS=$LIBS
23403 LIBS="-lm  $LIBS"
23404 if test x$gcc_no_link = xyes; then
23405   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23406 fi
23407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23408 /* end confdefs.h.  */
23409
23410 /* Override any GCC internal prototype to avoid an error.
23411    Use char because int might match the return type of a GCC
23412    builtin and then its argument prototype would still apply.  */
23413 #ifdef __cplusplus
23414 extern "C"
23415 #endif
23416 char cacosh ();
23417 int
23418 main ()
23419 {
23420 return cacosh ();
23421   ;
23422   return 0;
23423 }
23424 _ACEOF
23425 if ac_fn_c_try_link "$LINENO"; then :
23426   ac_cv_lib_m_cacosh=yes
23427 else
23428   ac_cv_lib_m_cacosh=no
23429 fi
23430 rm -f core conftest.err conftest.$ac_objext \
23431     conftest$ac_exeext conftest.$ac_ext
23432 LIBS=$ac_check_lib_save_LIBS
23433 fi
23434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosh" >&5
23435 $as_echo "$ac_cv_lib_m_cacosh" >&6; }
23436 if test "x$ac_cv_lib_m_cacosh" = x""yes; then :
23437
23438 $as_echo "#define HAVE_CACOSH 1" >>confdefs.h
23439
23440 fi
23441
23442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf in -lm" >&5
23443 $as_echo_n "checking for cacoshf in -lm... " >&6; }
23444 if test "${ac_cv_lib_m_cacoshf+set}" = set; then :
23445   $as_echo_n "(cached) " >&6
23446 else
23447   ac_check_lib_save_LIBS=$LIBS
23448 LIBS="-lm  $LIBS"
23449 if test x$gcc_no_link = xyes; then
23450   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23451 fi
23452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23453 /* end confdefs.h.  */
23454
23455 /* Override any GCC internal prototype to avoid an error.
23456    Use char because int might match the return type of a GCC
23457    builtin and then its argument prototype would still apply.  */
23458 #ifdef __cplusplus
23459 extern "C"
23460 #endif
23461 char cacoshf ();
23462 int
23463 main ()
23464 {
23465 return cacoshf ();
23466   ;
23467   return 0;
23468 }
23469 _ACEOF
23470 if ac_fn_c_try_link "$LINENO"; then :
23471   ac_cv_lib_m_cacoshf=yes
23472 else
23473   ac_cv_lib_m_cacoshf=no
23474 fi
23475 rm -f core conftest.err conftest.$ac_objext \
23476     conftest$ac_exeext conftest.$ac_ext
23477 LIBS=$ac_check_lib_save_LIBS
23478 fi
23479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshf" >&5
23480 $as_echo "$ac_cv_lib_m_cacoshf" >&6; }
23481 if test "x$ac_cv_lib_m_cacoshf" = x""yes; then :
23482
23483 $as_echo "#define HAVE_CACOSHF 1" >>confdefs.h
23484
23485 fi
23486
23487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl in -lm" >&5
23488 $as_echo_n "checking for cacoshl in -lm... " >&6; }
23489 if test "${ac_cv_lib_m_cacoshl+set}" = set; then :
23490   $as_echo_n "(cached) " >&6
23491 else
23492   ac_check_lib_save_LIBS=$LIBS
23493 LIBS="-lm  $LIBS"
23494 if test x$gcc_no_link = xyes; then
23495   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23496 fi
23497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23498 /* end confdefs.h.  */
23499
23500 /* Override any GCC internal prototype to avoid an error.
23501    Use char because int might match the return type of a GCC
23502    builtin and then its argument prototype would still apply.  */
23503 #ifdef __cplusplus
23504 extern "C"
23505 #endif
23506 char cacoshl ();
23507 int
23508 main ()
23509 {
23510 return cacoshl ();
23511   ;
23512   return 0;
23513 }
23514 _ACEOF
23515 if ac_fn_c_try_link "$LINENO"; then :
23516   ac_cv_lib_m_cacoshl=yes
23517 else
23518   ac_cv_lib_m_cacoshl=no
23519 fi
23520 rm -f core conftest.err conftest.$ac_objext \
23521     conftest$ac_exeext conftest.$ac_ext
23522 LIBS=$ac_check_lib_save_LIBS
23523 fi
23524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshl" >&5
23525 $as_echo "$ac_cv_lib_m_cacoshl" >&6; }
23526 if test "x$ac_cv_lib_m_cacoshl" = x""yes; then :
23527
23528 $as_echo "#define HAVE_CACOSHL 1" >>confdefs.h
23529
23530 fi
23531
23532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl in -lm" >&5
23533 $as_echo_n "checking for cacosl in -lm... " >&6; }
23534 if test "${ac_cv_lib_m_cacosl+set}" = set; then :
23535   $as_echo_n "(cached) " >&6
23536 else
23537   ac_check_lib_save_LIBS=$LIBS
23538 LIBS="-lm  $LIBS"
23539 if test x$gcc_no_link = xyes; then
23540   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23541 fi
23542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23543 /* end confdefs.h.  */
23544
23545 /* Override any GCC internal prototype to avoid an error.
23546    Use char because int might match the return type of a GCC
23547    builtin and then its argument prototype would still apply.  */
23548 #ifdef __cplusplus
23549 extern "C"
23550 #endif
23551 char cacosl ();
23552 int
23553 main ()
23554 {
23555 return cacosl ();
23556   ;
23557   return 0;
23558 }
23559 _ACEOF
23560 if ac_fn_c_try_link "$LINENO"; then :
23561   ac_cv_lib_m_cacosl=yes
23562 else
23563   ac_cv_lib_m_cacosl=no
23564 fi
23565 rm -f core conftest.err conftest.$ac_objext \
23566     conftest$ac_exeext conftest.$ac_ext
23567 LIBS=$ac_check_lib_save_LIBS
23568 fi
23569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosl" >&5
23570 $as_echo "$ac_cv_lib_m_cacosl" >&6; }
23571 if test "x$ac_cv_lib_m_cacosl" = x""yes; then :
23572
23573 $as_echo "#define HAVE_CACOSL 1" >>confdefs.h
23574
23575 fi
23576
23577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin in -lm" >&5
23578 $as_echo_n "checking for casin in -lm... " >&6; }
23579 if test "${ac_cv_lib_m_casin+set}" = set; then :
23580   $as_echo_n "(cached) " >&6
23581 else
23582   ac_check_lib_save_LIBS=$LIBS
23583 LIBS="-lm  $LIBS"
23584 if test x$gcc_no_link = xyes; then
23585   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23586 fi
23587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23588 /* end confdefs.h.  */
23589
23590 /* Override any GCC internal prototype to avoid an error.
23591    Use char because int might match the return type of a GCC
23592    builtin and then its argument prototype would still apply.  */
23593 #ifdef __cplusplus
23594 extern "C"
23595 #endif
23596 char casin ();
23597 int
23598 main ()
23599 {
23600 return casin ();
23601   ;
23602   return 0;
23603 }
23604 _ACEOF
23605 if ac_fn_c_try_link "$LINENO"; then :
23606   ac_cv_lib_m_casin=yes
23607 else
23608   ac_cv_lib_m_casin=no
23609 fi
23610 rm -f core conftest.err conftest.$ac_objext \
23611     conftest$ac_exeext conftest.$ac_ext
23612 LIBS=$ac_check_lib_save_LIBS
23613 fi
23614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casin" >&5
23615 $as_echo "$ac_cv_lib_m_casin" >&6; }
23616 if test "x$ac_cv_lib_m_casin" = x""yes; then :
23617
23618 $as_echo "#define HAVE_CASIN 1" >>confdefs.h
23619
23620 fi
23621
23622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf in -lm" >&5
23623 $as_echo_n "checking for casinf in -lm... " >&6; }
23624 if test "${ac_cv_lib_m_casinf+set}" = set; then :
23625   $as_echo_n "(cached) " >&6
23626 else
23627   ac_check_lib_save_LIBS=$LIBS
23628 LIBS="-lm  $LIBS"
23629 if test x$gcc_no_link = xyes; then
23630   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23631 fi
23632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23633 /* end confdefs.h.  */
23634
23635 /* Override any GCC internal prototype to avoid an error.
23636    Use char because int might match the return type of a GCC
23637    builtin and then its argument prototype would still apply.  */
23638 #ifdef __cplusplus
23639 extern "C"
23640 #endif
23641 char casinf ();
23642 int
23643 main ()
23644 {
23645 return casinf ();
23646   ;
23647   return 0;
23648 }
23649 _ACEOF
23650 if ac_fn_c_try_link "$LINENO"; then :
23651   ac_cv_lib_m_casinf=yes
23652 else
23653   ac_cv_lib_m_casinf=no
23654 fi
23655 rm -f core conftest.err conftest.$ac_objext \
23656     conftest$ac_exeext conftest.$ac_ext
23657 LIBS=$ac_check_lib_save_LIBS
23658 fi
23659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinf" >&5
23660 $as_echo "$ac_cv_lib_m_casinf" >&6; }
23661 if test "x$ac_cv_lib_m_casinf" = x""yes; then :
23662
23663 $as_echo "#define HAVE_CASINF 1" >>confdefs.h
23664
23665 fi
23666
23667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh in -lm" >&5
23668 $as_echo_n "checking for casinh in -lm... " >&6; }
23669 if test "${ac_cv_lib_m_casinh+set}" = set; then :
23670   $as_echo_n "(cached) " >&6
23671 else
23672   ac_check_lib_save_LIBS=$LIBS
23673 LIBS="-lm  $LIBS"
23674 if test x$gcc_no_link = xyes; then
23675   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23676 fi
23677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23678 /* end confdefs.h.  */
23679
23680 /* Override any GCC internal prototype to avoid an error.
23681    Use char because int might match the return type of a GCC
23682    builtin and then its argument prototype would still apply.  */
23683 #ifdef __cplusplus
23684 extern "C"
23685 #endif
23686 char casinh ();
23687 int
23688 main ()
23689 {
23690 return casinh ();
23691   ;
23692   return 0;
23693 }
23694 _ACEOF
23695 if ac_fn_c_try_link "$LINENO"; then :
23696   ac_cv_lib_m_casinh=yes
23697 else
23698   ac_cv_lib_m_casinh=no
23699 fi
23700 rm -f core conftest.err conftest.$ac_objext \
23701     conftest$ac_exeext conftest.$ac_ext
23702 LIBS=$ac_check_lib_save_LIBS
23703 fi
23704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinh" >&5
23705 $as_echo "$ac_cv_lib_m_casinh" >&6; }
23706 if test "x$ac_cv_lib_m_casinh" = x""yes; then :
23707
23708 $as_echo "#define HAVE_CASINH 1" >>confdefs.h
23709
23710 fi
23711
23712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf in -lm" >&5
23713 $as_echo_n "checking for casinhf in -lm... " >&6; }
23714 if test "${ac_cv_lib_m_casinhf+set}" = set; then :
23715   $as_echo_n "(cached) " >&6
23716 else
23717   ac_check_lib_save_LIBS=$LIBS
23718 LIBS="-lm  $LIBS"
23719 if test x$gcc_no_link = xyes; then
23720   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23721 fi
23722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23723 /* end confdefs.h.  */
23724
23725 /* Override any GCC internal prototype to avoid an error.
23726    Use char because int might match the return type of a GCC
23727    builtin and then its argument prototype would still apply.  */
23728 #ifdef __cplusplus
23729 extern "C"
23730 #endif
23731 char casinhf ();
23732 int
23733 main ()
23734 {
23735 return casinhf ();
23736   ;
23737   return 0;
23738 }
23739 _ACEOF
23740 if ac_fn_c_try_link "$LINENO"; then :
23741   ac_cv_lib_m_casinhf=yes
23742 else
23743   ac_cv_lib_m_casinhf=no
23744 fi
23745 rm -f core conftest.err conftest.$ac_objext \
23746     conftest$ac_exeext conftest.$ac_ext
23747 LIBS=$ac_check_lib_save_LIBS
23748 fi
23749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhf" >&5
23750 $as_echo "$ac_cv_lib_m_casinhf" >&6; }
23751 if test "x$ac_cv_lib_m_casinhf" = x""yes; then :
23752
23753 $as_echo "#define HAVE_CASINHF 1" >>confdefs.h
23754
23755 fi
23756
23757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl in -lm" >&5
23758 $as_echo_n "checking for casinhl in -lm... " >&6; }
23759 if test "${ac_cv_lib_m_casinhl+set}" = set; then :
23760   $as_echo_n "(cached) " >&6
23761 else
23762   ac_check_lib_save_LIBS=$LIBS
23763 LIBS="-lm  $LIBS"
23764 if test x$gcc_no_link = xyes; then
23765   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23766 fi
23767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23768 /* end confdefs.h.  */
23769
23770 /* Override any GCC internal prototype to avoid an error.
23771    Use char because int might match the return type of a GCC
23772    builtin and then its argument prototype would still apply.  */
23773 #ifdef __cplusplus
23774 extern "C"
23775 #endif
23776 char casinhl ();
23777 int
23778 main ()
23779 {
23780 return casinhl ();
23781   ;
23782   return 0;
23783 }
23784 _ACEOF
23785 if ac_fn_c_try_link "$LINENO"; then :
23786   ac_cv_lib_m_casinhl=yes
23787 else
23788   ac_cv_lib_m_casinhl=no
23789 fi
23790 rm -f core conftest.err conftest.$ac_objext \
23791     conftest$ac_exeext conftest.$ac_ext
23792 LIBS=$ac_check_lib_save_LIBS
23793 fi
23794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhl" >&5
23795 $as_echo "$ac_cv_lib_m_casinhl" >&6; }
23796 if test "x$ac_cv_lib_m_casinhl" = x""yes; then :
23797
23798 $as_echo "#define HAVE_CASINHL 1" >>confdefs.h
23799
23800 fi
23801
23802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl in -lm" >&5
23803 $as_echo_n "checking for casinl in -lm... " >&6; }
23804 if test "${ac_cv_lib_m_casinl+set}" = set; then :
23805   $as_echo_n "(cached) " >&6
23806 else
23807   ac_check_lib_save_LIBS=$LIBS
23808 LIBS="-lm  $LIBS"
23809 if test x$gcc_no_link = xyes; then
23810   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23811 fi
23812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23813 /* end confdefs.h.  */
23814
23815 /* Override any GCC internal prototype to avoid an error.
23816    Use char because int might match the return type of a GCC
23817    builtin and then its argument prototype would still apply.  */
23818 #ifdef __cplusplus
23819 extern "C"
23820 #endif
23821 char casinl ();
23822 int
23823 main ()
23824 {
23825 return casinl ();
23826   ;
23827   return 0;
23828 }
23829 _ACEOF
23830 if ac_fn_c_try_link "$LINENO"; then :
23831   ac_cv_lib_m_casinl=yes
23832 else
23833   ac_cv_lib_m_casinl=no
23834 fi
23835 rm -f core conftest.err conftest.$ac_objext \
23836     conftest$ac_exeext conftest.$ac_ext
23837 LIBS=$ac_check_lib_save_LIBS
23838 fi
23839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinl" >&5
23840 $as_echo "$ac_cv_lib_m_casinl" >&6; }
23841 if test "x$ac_cv_lib_m_casinl" = x""yes; then :
23842
23843 $as_echo "#define HAVE_CASINL 1" >>confdefs.h
23844
23845 fi
23846
23847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan in -lm" >&5
23848 $as_echo_n "checking for catan in -lm... " >&6; }
23849 if test "${ac_cv_lib_m_catan+set}" = set; then :
23850   $as_echo_n "(cached) " >&6
23851 else
23852   ac_check_lib_save_LIBS=$LIBS
23853 LIBS="-lm  $LIBS"
23854 if test x$gcc_no_link = xyes; then
23855   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23856 fi
23857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23858 /* end confdefs.h.  */
23859
23860 /* Override any GCC internal prototype to avoid an error.
23861    Use char because int might match the return type of a GCC
23862    builtin and then its argument prototype would still apply.  */
23863 #ifdef __cplusplus
23864 extern "C"
23865 #endif
23866 char catan ();
23867 int
23868 main ()
23869 {
23870 return catan ();
23871   ;
23872   return 0;
23873 }
23874 _ACEOF
23875 if ac_fn_c_try_link "$LINENO"; then :
23876   ac_cv_lib_m_catan=yes
23877 else
23878   ac_cv_lib_m_catan=no
23879 fi
23880 rm -f core conftest.err conftest.$ac_objext \
23881     conftest$ac_exeext conftest.$ac_ext
23882 LIBS=$ac_check_lib_save_LIBS
23883 fi
23884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catan" >&5
23885 $as_echo "$ac_cv_lib_m_catan" >&6; }
23886 if test "x$ac_cv_lib_m_catan" = x""yes; then :
23887
23888 $as_echo "#define HAVE_CATAN 1" >>confdefs.h
23889
23890 fi
23891
23892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf in -lm" >&5
23893 $as_echo_n "checking for catanf in -lm... " >&6; }
23894 if test "${ac_cv_lib_m_catanf+set}" = set; then :
23895   $as_echo_n "(cached) " >&6
23896 else
23897   ac_check_lib_save_LIBS=$LIBS
23898 LIBS="-lm  $LIBS"
23899 if test x$gcc_no_link = xyes; then
23900   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23901 fi
23902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23903 /* end confdefs.h.  */
23904
23905 /* Override any GCC internal prototype to avoid an error.
23906    Use char because int might match the return type of a GCC
23907    builtin and then its argument prototype would still apply.  */
23908 #ifdef __cplusplus
23909 extern "C"
23910 #endif
23911 char catanf ();
23912 int
23913 main ()
23914 {
23915 return catanf ();
23916   ;
23917   return 0;
23918 }
23919 _ACEOF
23920 if ac_fn_c_try_link "$LINENO"; then :
23921   ac_cv_lib_m_catanf=yes
23922 else
23923   ac_cv_lib_m_catanf=no
23924 fi
23925 rm -f core conftest.err conftest.$ac_objext \
23926     conftest$ac_exeext conftest.$ac_ext
23927 LIBS=$ac_check_lib_save_LIBS
23928 fi
23929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanf" >&5
23930 $as_echo "$ac_cv_lib_m_catanf" >&6; }
23931 if test "x$ac_cv_lib_m_catanf" = x""yes; then :
23932
23933 $as_echo "#define HAVE_CATANF 1" >>confdefs.h
23934
23935 fi
23936
23937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh in -lm" >&5
23938 $as_echo_n "checking for catanh in -lm... " >&6; }
23939 if test "${ac_cv_lib_m_catanh+set}" = set; then :
23940   $as_echo_n "(cached) " >&6
23941 else
23942   ac_check_lib_save_LIBS=$LIBS
23943 LIBS="-lm  $LIBS"
23944 if test x$gcc_no_link = xyes; then
23945   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23946 fi
23947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23948 /* end confdefs.h.  */
23949
23950 /* Override any GCC internal prototype to avoid an error.
23951    Use char because int might match the return type of a GCC
23952    builtin and then its argument prototype would still apply.  */
23953 #ifdef __cplusplus
23954 extern "C"
23955 #endif
23956 char catanh ();
23957 int
23958 main ()
23959 {
23960 return catanh ();
23961   ;
23962   return 0;
23963 }
23964 _ACEOF
23965 if ac_fn_c_try_link "$LINENO"; then :
23966   ac_cv_lib_m_catanh=yes
23967 else
23968   ac_cv_lib_m_catanh=no
23969 fi
23970 rm -f core conftest.err conftest.$ac_objext \
23971     conftest$ac_exeext conftest.$ac_ext
23972 LIBS=$ac_check_lib_save_LIBS
23973 fi
23974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanh" >&5
23975 $as_echo "$ac_cv_lib_m_catanh" >&6; }
23976 if test "x$ac_cv_lib_m_catanh" = x""yes; then :
23977
23978 $as_echo "#define HAVE_CATANH 1" >>confdefs.h
23979
23980 fi
23981
23982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf in -lm" >&5
23983 $as_echo_n "checking for catanhf in -lm... " >&6; }
23984 if test "${ac_cv_lib_m_catanhf+set}" = set; then :
23985   $as_echo_n "(cached) " >&6
23986 else
23987   ac_check_lib_save_LIBS=$LIBS
23988 LIBS="-lm  $LIBS"
23989 if test x$gcc_no_link = xyes; then
23990   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23991 fi
23992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23993 /* end confdefs.h.  */
23994
23995 /* Override any GCC internal prototype to avoid an error.
23996    Use char because int might match the return type of a GCC
23997    builtin and then its argument prototype would still apply.  */
23998 #ifdef __cplusplus
23999 extern "C"
24000 #endif
24001 char catanhf ();
24002 int
24003 main ()
24004 {
24005 return catanhf ();
24006   ;
24007   return 0;
24008 }
24009 _ACEOF
24010 if ac_fn_c_try_link "$LINENO"; then :
24011   ac_cv_lib_m_catanhf=yes
24012 else
24013   ac_cv_lib_m_catanhf=no
24014 fi
24015 rm -f core conftest.err conftest.$ac_objext \
24016     conftest$ac_exeext conftest.$ac_ext
24017 LIBS=$ac_check_lib_save_LIBS
24018 fi
24019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhf" >&5
24020 $as_echo "$ac_cv_lib_m_catanhf" >&6; }
24021 if test "x$ac_cv_lib_m_catanhf" = x""yes; then :
24022
24023 $as_echo "#define HAVE_CATANHF 1" >>confdefs.h
24024
24025 fi
24026
24027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl in -lm" >&5
24028 $as_echo_n "checking for catanhl in -lm... " >&6; }
24029 if test "${ac_cv_lib_m_catanhl+set}" = set; then :
24030   $as_echo_n "(cached) " >&6
24031 else
24032   ac_check_lib_save_LIBS=$LIBS
24033 LIBS="-lm  $LIBS"
24034 if test x$gcc_no_link = xyes; then
24035   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24036 fi
24037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24038 /* end confdefs.h.  */
24039
24040 /* Override any GCC internal prototype to avoid an error.
24041    Use char because int might match the return type of a GCC
24042    builtin and then its argument prototype would still apply.  */
24043 #ifdef __cplusplus
24044 extern "C"
24045 #endif
24046 char catanhl ();
24047 int
24048 main ()
24049 {
24050 return catanhl ();
24051   ;
24052   return 0;
24053 }
24054 _ACEOF
24055 if ac_fn_c_try_link "$LINENO"; then :
24056   ac_cv_lib_m_catanhl=yes
24057 else
24058   ac_cv_lib_m_catanhl=no
24059 fi
24060 rm -f core conftest.err conftest.$ac_objext \
24061     conftest$ac_exeext conftest.$ac_ext
24062 LIBS=$ac_check_lib_save_LIBS
24063 fi
24064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhl" >&5
24065 $as_echo "$ac_cv_lib_m_catanhl" >&6; }
24066 if test "x$ac_cv_lib_m_catanhl" = x""yes; then :
24067
24068 $as_echo "#define HAVE_CATANHL 1" >>confdefs.h
24069
24070 fi
24071
24072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl in -lm" >&5
24073 $as_echo_n "checking for catanl in -lm... " >&6; }
24074 if test "${ac_cv_lib_m_catanl+set}" = set; then :
24075   $as_echo_n "(cached) " >&6
24076 else
24077   ac_check_lib_save_LIBS=$LIBS
24078 LIBS="-lm  $LIBS"
24079 if test x$gcc_no_link = xyes; then
24080   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24081 fi
24082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24083 /* end confdefs.h.  */
24084
24085 /* Override any GCC internal prototype to avoid an error.
24086    Use char because int might match the return type of a GCC
24087    builtin and then its argument prototype would still apply.  */
24088 #ifdef __cplusplus
24089 extern "C"
24090 #endif
24091 char catanl ();
24092 int
24093 main ()
24094 {
24095 return catanl ();
24096   ;
24097   return 0;
24098 }
24099 _ACEOF
24100 if ac_fn_c_try_link "$LINENO"; then :
24101   ac_cv_lib_m_catanl=yes
24102 else
24103   ac_cv_lib_m_catanl=no
24104 fi
24105 rm -f core conftest.err conftest.$ac_objext \
24106     conftest$ac_exeext conftest.$ac_ext
24107 LIBS=$ac_check_lib_save_LIBS
24108 fi
24109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanl" >&5
24110 $as_echo "$ac_cv_lib_m_catanl" >&6; }
24111 if test "x$ac_cv_lib_m_catanl" = x""yes; then :
24112
24113 $as_echo "#define HAVE_CATANL 1" >>confdefs.h
24114
24115 fi
24116
24117
24118 # On AIX, clog is present in libm as __clog
24119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
24120 $as_echo_n "checking for __clog in -lm... " >&6; }
24121 if test "${ac_cv_lib_m___clog+set}" = set; then :
24122   $as_echo_n "(cached) " >&6
24123 else
24124   ac_check_lib_save_LIBS=$LIBS
24125 LIBS="-lm  $LIBS"
24126 if test x$gcc_no_link = xyes; then
24127   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24128 fi
24129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24130 /* end confdefs.h.  */
24131
24132 /* Override any GCC internal prototype to avoid an error.
24133    Use char because int might match the return type of a GCC
24134    builtin and then its argument prototype would still apply.  */
24135 #ifdef __cplusplus
24136 extern "C"
24137 #endif
24138 char __clog ();
24139 int
24140 main ()
24141 {
24142 return __clog ();
24143   ;
24144   return 0;
24145 }
24146 _ACEOF
24147 if ac_fn_c_try_link "$LINENO"; then :
24148   ac_cv_lib_m___clog=yes
24149 else
24150   ac_cv_lib_m___clog=no
24151 fi
24152 rm -f core conftest.err conftest.$ac_objext \
24153     conftest$ac_exeext conftest.$ac_ext
24154 LIBS=$ac_check_lib_save_LIBS
24155 fi
24156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
24157 $as_echo "$ac_cv_lib_m___clog" >&6; }
24158 if test "x$ac_cv_lib_m___clog" = x""yes; then :
24159
24160 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
24161
24162 fi
24163
24164
24165 # Check for a isfinite macro that works on long doubles.
24166
24167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isfinite is broken" >&5
24168 $as_echo_n "checking whether isfinite is broken... " >&6; }
24169 if test "${libgfor_cv_have_broken_isfinite+set}" = set; then :
24170   $as_echo_n "(cached) " >&6
24171 else
24172
24173   libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
24174   LIBS="$LIBS -lm"
24175   if test "$cross_compiling" = yes; then :
24176
24177 case "${target}" in
24178   hppa*-*-hpux*) libgfor_cv_have_broken_isfinite=yes ;;
24179   *) libgfor_cv_have_broken_isfinite=no ;;
24180 esac
24181 else
24182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24183 /* end confdefs.h.  */
24184
24185 #include <math.h>
24186 #include <float.h>
24187 int main ()
24188 {
24189 #ifdef isfinite
24190 #ifdef LDBL_MAX
24191   if (!isfinite(LDBL_MAX)) return 1;
24192 #endif
24193 #ifdef DBL_MAX
24194   if (!isfinite(DBL_MAX)) return 1;
24195 #endif
24196 #endif
24197 return 0;
24198 }
24199 _ACEOF
24200 if ac_fn_c_try_run "$LINENO"; then :
24201   libgfor_cv_have_broken_isfinite=no
24202 else
24203   libgfor_cv_have_broken_isfinite=yes
24204 fi
24205 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24206   conftest.$ac_objext conftest.beam conftest.$ac_ext
24207 fi
24208
24209   LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
24210 fi
24211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_isfinite" >&5
24212 $as_echo "$libgfor_cv_have_broken_isfinite" >&6; }
24213 if test x"$libgfor_cv_have_broken_isfinite" = xyes; then
24214
24215 $as_echo "#define HAVE_BROKEN_ISFINITE 1" >>confdefs.h
24216
24217 fi
24218
24219 # Check for a isnan macro that works on long doubles.
24220
24221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan is broken" >&5
24222 $as_echo_n "checking whether isnan is broken... " >&6; }
24223 if test "${libgfor_cv_have_broken_isnan+set}" = set; then :
24224   $as_echo_n "(cached) " >&6
24225 else
24226
24227   libgfor_check_for_broken_isnan_save_LIBS=$LIBS
24228   LIBS="$LIBS -lm"
24229   if test "$cross_compiling" = yes; then :
24230
24231 case "${target}" in
24232   hppa*-*-hpux*) libgfor_cv_have_broken_isnan=yes ;;
24233   *) libgfor_cv_have_broken_isnan=no ;;
24234 esac
24235 else
24236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24237 /* end confdefs.h.  */
24238
24239 #include <math.h>
24240 #include <float.h>
24241 int main ()
24242 {
24243 #ifdef isnan
24244 #ifdef LDBL_MAX
24245   {
24246     long double x;
24247     x = __builtin_nanl ("");
24248     if (!isnan(x)) return 1;
24249     if (isnan(LDBL_MAX)) return 1;
24250 #ifdef NAN
24251     x = (long double) NAN;
24252     if (!isnan(x)) return 1;
24253 #endif
24254   }
24255 #endif
24256 #ifdef DBL_MAX
24257   {
24258     double y;
24259     y = __builtin_nan ("");
24260     if (!isnan(y)) return 1;
24261     if (isnan(DBL_MAX)) return 1;
24262 #ifdef NAN
24263     y = (double) NAN;
24264     if (!isnan(y)) return 1;
24265 #endif
24266   }
24267 #endif
24268 #endif
24269 return 0;
24270 }
24271 _ACEOF
24272 if ac_fn_c_try_run "$LINENO"; then :
24273   libgfor_cv_have_broken_isnan=no
24274 else
24275   libgfor_cv_have_broken_isnan=yes
24276 fi
24277 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24278   conftest.$ac_objext conftest.beam conftest.$ac_ext
24279 fi
24280
24281   LIBS=$libgfor_check_for_broken_isnan_save_LIBS
24282 fi
24283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_isnan" >&5
24284 $as_echo "$libgfor_cv_have_broken_isnan" >&6; }
24285 if test x"$libgfor_cv_have_broken_isnan" = xyes; then
24286
24287 $as_echo "#define HAVE_BROKEN_ISNAN 1" >>confdefs.h
24288
24289 fi
24290
24291 # Check for a fpclassify macro that works on long doubles.
24292
24293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpclassify is broken" >&5
24294 $as_echo_n "checking whether fpclassify is broken... " >&6; }
24295 if test "${libgfor_cv_have_broken_fpclassify+set}" = set; then :
24296   $as_echo_n "(cached) " >&6
24297 else
24298
24299   libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
24300   LIBS="$LIBS -lm"
24301   if test "$cross_compiling" = yes; then :
24302
24303 case "${target}" in
24304   hppa*-*-hpux*) libgfor_cv_have_broken_fpclassify=yes ;;
24305   *) libgfor_cv_have_broken_fpclassify=no ;;
24306 esac
24307 else
24308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24309 /* end confdefs.h.  */
24310
24311 #include <math.h>
24312 #include <float.h>
24313 int main ()
24314 {
24315 #ifdef fpclassify
24316 #ifdef LDBL_MAX
24317         if (fpclassify(LDBL_MAX) == FP_NAN
24318             || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
24319 #endif
24320 #ifdef DBL_MAX
24321         if (fpclassify(DBL_MAX) == FP_NAN
24322             || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
24323 #endif
24324 #endif
24325 return 0;
24326 }
24327 _ACEOF
24328 if ac_fn_c_try_run "$LINENO"; then :
24329   libgfor_cv_have_broken_fpclassify=no
24330 else
24331   libgfor_cv_have_broken_fpclassify=yes
24332 fi
24333 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24334   conftest.$ac_objext conftest.beam conftest.$ac_ext
24335 fi
24336
24337   LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
24338 fi
24339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_fpclassify" >&5
24340 $as_echo "$libgfor_cv_have_broken_fpclassify" >&6; }
24341 if test x"$libgfor_cv_have_broken_fpclassify" = xyes; then
24342
24343 $as_echo "#define HAVE_BROKEN_FPCLASSIFY 1" >>confdefs.h
24344
24345 fi
24346
24347 # Check whether the system has a working stat()
24348
24349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
24350 $as_echo_n "checking whether the target stat is reliable... " >&6; }
24351 if test "${libgfor_cv_have_working_stat+set}" = set; then :
24352   $as_echo_n "(cached) " >&6
24353 else
24354
24355   if test "$cross_compiling" = yes; then :
24356
24357 case "${target}" in
24358   *mingw*) libgfor_cv_have_working_stat=no ;;
24359   *) libgfor_cv_have_working_stat=yes;;
24360 esac
24361 else
24362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24363 /* end confdefs.h.  */
24364
24365 #include <stdio.h>
24366 #include <sys/types.h>
24367 #include <sys/stat.h>
24368 #include <unistd.h>
24369
24370 int main ()
24371 {
24372   FILE *f, *g;
24373   struct stat st1, st2;
24374
24375   f = fopen ("foo", "w");
24376   g = fopen ("bar", "w");
24377   if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
24378     return 1;
24379   if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
24380     return 1;
24381   fclose(f);
24382   fclose(g);
24383   return 0;
24384 }
24385 _ACEOF
24386 if ac_fn_c_try_run "$LINENO"; then :
24387   libgfor_cv_have_working_stat=yes
24388 else
24389   libgfor_cv_have_working_stat=no
24390 fi
24391 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24392   conftest.$ac_objext conftest.beam conftest.$ac_ext
24393 fi
24394
24395 fi
24396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
24397 $as_echo "$libgfor_cv_have_working_stat" >&6; }
24398 if test x"$libgfor_cv_have_working_stat" = xyes; then
24399
24400 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
24401
24402 fi
24403
24404 # Check whether __mingw_snprintf() is present
24405
24406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
24407 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
24408 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
24409   $as_echo_n "(cached) " >&6
24410 else
24411
24412     if test x$gcc_no_link = xyes; then
24413   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24414 fi
24415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24416 /* end confdefs.h.  */
24417
24418 #include <stdio.h>
24419 extern int __mingw_snprintf (char *, size_t, const char *, ...);
24420
24421 int
24422 main ()
24423 {
24424
24425 __mingw_snprintf (NULL, 0, "%d\n", 1);
24426
24427   ;
24428   return 0;
24429 }
24430 _ACEOF
24431 if ac_fn_c_try_link "$LINENO"; then :
24432   eval "libgfor_cv_have_mingw_snprintf=yes"
24433 else
24434   eval "libgfor_cv_have_mingw_snprintf=no"
24435 fi
24436 rm -f core conftest.err conftest.$ac_objext \
24437     conftest$ac_exeext conftest.$ac_ext
24438
24439 fi
24440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
24441 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
24442   if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
24443
24444 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
24445
24446   fi
24447
24448
24449 # Check for a broken powf implementation
24450
24451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
24452 $as_echo_n "checking whether powf is broken... " >&6; }
24453 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
24454   $as_echo_n "(cached) " >&6
24455 else
24456
24457 case "${target}" in
24458   hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
24459   *) libgfor_cv_have_broken_powf=no;;
24460 esac
24461 fi
24462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
24463 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
24464   if test x"$libgfor_cv_have_broken_powf" = xyes; then
24465
24466 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
24467
24468   fi
24469
24470
24471 # Check for GNU libc feenableexcept
24472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
24473 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
24474 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
24475   $as_echo_n "(cached) " >&6
24476 else
24477   ac_check_lib_save_LIBS=$LIBS
24478 LIBS="-lm  $LIBS"
24479 if test x$gcc_no_link = xyes; then
24480   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24481 fi
24482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24483 /* end confdefs.h.  */
24484
24485 /* Override any GCC internal prototype to avoid an error.
24486    Use char because int might match the return type of a GCC
24487    builtin and then its argument prototype would still apply.  */
24488 #ifdef __cplusplus
24489 extern "C"
24490 #endif
24491 char feenableexcept ();
24492 int
24493 main ()
24494 {
24495 return feenableexcept ();
24496   ;
24497   return 0;
24498 }
24499 _ACEOF
24500 if ac_fn_c_try_link "$LINENO"; then :
24501   ac_cv_lib_m_feenableexcept=yes
24502 else
24503   ac_cv_lib_m_feenableexcept=no
24504 fi
24505 rm -f core conftest.err conftest.$ac_objext \
24506     conftest$ac_exeext conftest.$ac_ext
24507 LIBS=$ac_check_lib_save_LIBS
24508 fi
24509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
24510 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
24511 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
24512   have_feenableexcept=yes
24513 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
24514
24515 fi
24516
24517
24518 # Check for SysV fpsetmask
24519
24520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
24521 $as_echo_n "checking whether fpsetmask is present... " >&6; }
24522 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
24523   $as_echo_n "(cached) " >&6
24524 else
24525
24526     if test x$gcc_no_link = xyes; then
24527   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24528 fi
24529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24530 /* end confdefs.h.  */
24531
24532 #if HAVE_FLOATINGPOINT_H
24533 # include <floatingpoint.h>
24534 #endif /* HAVE_FLOATINGPOINT_H */
24535 #if HAVE_IEEEFP_H
24536 # include <ieeefp.h>
24537 #endif /* HAVE_IEEEFP_H */
24538 int
24539 main ()
24540 {
24541 fpsetmask(0);
24542   ;
24543   return 0;
24544 }
24545 _ACEOF
24546 if ac_fn_c_try_link "$LINENO"; then :
24547   eval "libgfor_cv_have_fpsetmask=yes"
24548 else
24549   eval "libgfor_cv_have_fpsetmask=no"
24550 fi
24551 rm -f core conftest.err conftest.$ac_objext \
24552     conftest$ac_exeext conftest.$ac_ext
24553
24554 fi
24555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
24556 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
24557   if test x"$libgfor_cv_have_fpsetmask" = xyes; then
24558
24559 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
24560
24561   fi
24562
24563
24564 # Check for AIX fp_trap and fp_enable
24565 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
24566 if test "x$ac_cv_func_fp_trap" = x""yes; then :
24567   have_fp_trap=yes
24568 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
24569
24570 fi
24571
24572 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
24573 if test "x$ac_cv_func_fp_enable" = x""yes; then :
24574   have_fp_enable=yes
24575 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
24576
24577 fi
24578
24579
24580 # Runs configure.host to set up necessary host-dependent shell variables.
24581 # We then display a message about it, and propagate them through the
24582 # build chain.
24583 . ${srcdir}/configure.host
24584 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
24585 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
24586 FPU_HOST_HEADER=config/${fpu_host}.h
24587
24588
24589 # Some targets require additional compiler options for IEEE compatibility.
24590 IEEE_FLAGS="${ieee_flags}"
24591
24592
24593 # Check out attribute support.
24594
24595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
24596 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
24597 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
24598   $as_echo_n "(cached) " >&6
24599 else
24600
24601   save_CFLAGS="$CFLAGS"
24602   CFLAGS="$CFLAGS -Werror"
24603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24604 /* end confdefs.h.  */
24605 void __attribute__((visibility("hidden"))) foo(void) { }
24606 int
24607 main ()
24608 {
24609
24610   ;
24611   return 0;
24612 }
24613 _ACEOF
24614 if ac_fn_c_try_compile "$LINENO"; then :
24615   libgfor_cv_have_attribute_visibility=yes
24616 else
24617   libgfor_cv_have_attribute_visibility=no
24618 fi
24619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24620   CFLAGS="$save_CFLAGS"
24621 fi
24622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
24623 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
24624   if test $libgfor_cv_have_attribute_visibility = yes; then
24625
24626 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
24627
24628   fi
24629
24630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
24631 $as_echo_n "checking whether the target supports dllexport... " >&6; }
24632 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
24633   $as_echo_n "(cached) " >&6
24634 else
24635
24636   save_CFLAGS="$CFLAGS"
24637   CFLAGS="$CFLAGS -Werror"
24638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24639 /* end confdefs.h.  */
24640 void __attribute__((dllexport)) foo(void) { }
24641 int
24642 main ()
24643 {
24644
24645   ;
24646   return 0;
24647 }
24648 _ACEOF
24649 if ac_fn_c_try_compile "$LINENO"; then :
24650   libgfor_cv_have_attribute_dllexport=yes
24651 else
24652   libgfor_cv_have_attribute_dllexport=no
24653 fi
24654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24655   CFLAGS="$save_CFLAGS"
24656 fi
24657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
24658 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
24659   if test $libgfor_cv_have_attribute_dllexport = yes; then
24660
24661 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
24662
24663   fi
24664
24665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
24666 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
24667 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
24668   $as_echo_n "(cached) " >&6
24669 else
24670
24671   if test x$gcc_no_link = xyes; then
24672   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24673 fi
24674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24675 /* end confdefs.h.  */
24676
24677 void foo(void) { }
24678 extern void bar(void) __attribute__((alias("foo")));
24679 int
24680 main ()
24681 {
24682 bar();
24683   ;
24684   return 0;
24685 }
24686 _ACEOF
24687 if ac_fn_c_try_link "$LINENO"; then :
24688   libgfor_cv_have_attribute_alias=yes
24689 else
24690   libgfor_cv_have_attribute_alias=no
24691 fi
24692 rm -f core conftest.err conftest.$ac_objext \
24693     conftest$ac_exeext conftest.$ac_ext
24694 fi
24695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
24696 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
24697   if test $libgfor_cv_have_attribute_alias = yes; then
24698
24699 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
24700
24701   fi
24702
24703 # Check out sync builtins support.
24704
24705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
24706 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
24707 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
24708   $as_echo_n "(cached) " >&6
24709 else
24710
24711   if test x$gcc_no_link = xyes; then
24712   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24713 fi
24714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24715 /* end confdefs.h.  */
24716 int foovar = 0;
24717 int
24718 main ()
24719 {
24720
24721 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
24722 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
24723   ;
24724   return 0;
24725 }
24726 _ACEOF
24727 if ac_fn_c_try_link "$LINENO"; then :
24728   libgfor_cv_have_sync_fetch_and_add=yes
24729 else
24730   libgfor_cv_have_sync_fetch_and_add=no
24731 fi
24732 rm -f core conftest.err conftest.$ac_objext \
24733     conftest$ac_exeext conftest.$ac_ext
24734 fi
24735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
24736 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
24737   if test $libgfor_cv_have_sync_fetch_and_add = yes; then
24738
24739 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
24740
24741   fi
24742
24743 # Check out thread support.
24744
24745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured target thread model" >&5
24746 $as_echo_n "checking configured target thread model... " >&6; }
24747 if test "${libgfor_cv_target_thread_file+set}" = set; then :
24748   $as_echo_n "(cached) " >&6
24749 else
24750
24751 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
24752 fi
24753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_target_thread_file" >&5
24754 $as_echo "$libgfor_cv_target_thread_file" >&6; }
24755
24756   if test $libgfor_cv_target_thread_file != single; then
24757
24758 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
24759
24760   fi
24761
24762 # Check out #pragma weak.
24763
24764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
24765 $as_echo_n "checking whether pragma weak works... " >&6; }
24766 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
24767   $as_echo_n "(cached) " >&6
24768 else
24769
24770   gfor_save_CFLAGS="$CFLAGS"
24771   CFLAGS="$CFLAGS -Wunknown-pragmas"
24772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24773 /* end confdefs.h.  */
24774 void foo (void);
24775 #pragma weak foo
24776 int
24777 main ()
24778 {
24779 if (foo) foo ();
24780   ;
24781   return 0;
24782 }
24783 _ACEOF
24784 if ac_fn_c_try_compile "$LINENO"; then :
24785   libgfor_cv_have_pragma_weak=yes
24786 else
24787   libgfor_cv_have_pragma_weak=no
24788 fi
24789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24790 fi
24791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
24792 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
24793   if test $libgfor_cv_have_pragma_weak = yes; then
24794
24795 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
24796
24797   fi
24798   case "$host" in
24799     *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
24800
24801 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
24802
24803       ;;
24804   esac
24805
24806 # Various other checks on target
24807
24808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
24809 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
24810 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
24811   $as_echo_n "(cached) " >&6
24812 else
24813
24814   if test "$cross_compiling" = yes; then :
24815
24816 case "${target}" in
24817   *mingw*) libgfor_cv_have_unlink_open_file=no ;;
24818   *) libgfor_cv_have_unlink_open_file=yes;;
24819 esac
24820 else
24821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24822 /* end confdefs.h.  */
24823
24824 #include <errno.h>
24825 #include <fcntl.h>
24826 #include <unistd.h>
24827 #include <sys/stat.h>
24828
24829 int main ()
24830 {
24831   int fd;
24832
24833   fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
24834   if (fd <= 0)
24835     return 0;
24836   if (unlink ("testfile") == -1)
24837     return 1;
24838   write (fd, "This is a test\n", 15);
24839   close (fd);
24840
24841   if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24842     return 0;
24843   else
24844     return 1;
24845 }
24846 _ACEOF
24847 if ac_fn_c_try_run "$LINENO"; then :
24848   libgfor_cv_have_unlink_open_file=yes
24849 else
24850   libgfor_cv_have_unlink_open_file=no
24851 fi
24852 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24853   conftest.$ac_objext conftest.beam conftest.$ac_ext
24854 fi
24855
24856 fi
24857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
24858 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
24859 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
24860
24861 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
24862
24863 fi
24864
24865 # Check whether line terminator is LF or CRLF
24866
24867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
24868 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
24869 if test "${libgfor_cv_have_crlf+set}" = set; then :
24870   $as_echo_n "(cached) " >&6
24871 else
24872
24873   if test "$cross_compiling" = yes; then :
24874
24875 case "${target}" in
24876   *mingw*) libgfor_cv_have_crlf=yes ;;
24877   *) libgfor_cv_have_crlf=no;;
24878 esac
24879 else
24880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24881 /* end confdefs.h.  */
24882
24883 /* This test program should exit with status 0 if system uses a CRLF as
24884    line terminator, and status 1 otherwise.
24885    Since it is used to check for mingw systems, and should return 0 in any
24886    other case, in case of a failure we will not use CRLF.  */
24887 #include <sys/stat.h>
24888 #include <stdlib.h>
24889 #include <fcntl.h>
24890 #include <stdio.h>
24891
24892 int main ()
24893 {
24894 #ifndef O_BINARY
24895   exit(1);
24896 #else
24897   int fd, bytes;
24898   char buff[5];
24899
24900   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24901   if (fd < 0)
24902     exit(1);
24903   if (write (fd, "\n", 1) < 0)
24904     perror ("write");
24905
24906   close (fd);
24907
24908   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24909     exit(1);
24910   bytes = read (fd, buff, 5);
24911   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24912     exit(0);
24913   else
24914     exit(1);
24915 #endif
24916 }
24917 _ACEOF
24918 if ac_fn_c_try_run "$LINENO"; then :
24919   libgfor_cv_have_crlf=yes
24920 else
24921   libgfor_cv_have_crlf=no
24922 fi
24923 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24924   conftest.$ac_objext conftest.beam conftest.$ac_ext
24925 fi
24926
24927 fi
24928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
24929 $as_echo "$libgfor_cv_have_crlf" >&6; }
24930 if test x"$libgfor_cv_have_crlf" = xyes; then
24931
24932 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
24933
24934 fi
24935
24936 cat >confcache <<\_ACEOF
24937 # This file is a shell script that caches the results of configure
24938 # tests run on this system so they can be shared between configure
24939 # scripts and configure runs, see configure's option --config-cache.
24940 # It is not useful on other systems.  If it contains results you don't
24941 # want to keep, you may remove or edit it.
24942 #
24943 # config.status only pays attention to the cache file if you give it
24944 # the --recheck option to rerun configure.
24945 #
24946 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24947 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24948 # following values.
24949
24950 _ACEOF
24951
24952 # The following way of writing the cache mishandles newlines in values,
24953 # but we know of no workaround that is simple, portable, and efficient.
24954 # So, we kill variables containing newlines.
24955 # Ultrix sh set writes to stderr and can't be redirected directly,
24956 # and sets the high bit in the cache file unless we assign to the vars.
24957 (
24958   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24959     eval ac_val=\$$ac_var
24960     case $ac_val in #(
24961     *${as_nl}*)
24962       case $ac_var in #(
24963       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24964 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24965       esac
24966       case $ac_var in #(
24967       _ | IFS | as_nl) ;; #(
24968       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
24969       *) { eval $ac_var=; unset $ac_var;} ;;
24970       esac ;;
24971     esac
24972   done
24973
24974   (set) 2>&1 |
24975     case $as_nl`(ac_space=' '; set) 2>&1` in #(
24976     *${as_nl}ac_space=\ *)
24977       # `set' does not quote correctly, so add quotes: double-quote
24978       # substitution turns \\\\ into \\, and sed turns \\ into \.
24979       sed -n \
24980         "s/'/'\\\\''/g;
24981           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24982       ;; #(
24983     *)
24984       # `set' quotes correctly as required by POSIX, so do not add quotes.
24985       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24986       ;;
24987     esac |
24988     sort
24989 ) |
24990   sed '
24991      /^ac_cv_env_/b end
24992      t clear
24993      :clear
24994      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24995      t end
24996      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24997      :end' >>confcache
24998 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24999   if test -w "$cache_file"; then
25000     test "x$cache_file" != "x/dev/null" &&
25001       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25002 $as_echo "$as_me: updating cache $cache_file" >&6;}
25003     cat confcache >$cache_file
25004   else
25005     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25006 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25007   fi
25008 fi
25009 rm -f confcache
25010
25011 if test ${multilib} = yes; then
25012   multilib_arg="--enable-multilib"
25013 else
25014   multilib_arg=
25015 fi
25016
25017 # Write our Makefile.
25018 ac_config_files="$ac_config_files Makefile"
25019
25020 cat >confcache <<\_ACEOF
25021 # This file is a shell script that caches the results of configure
25022 # tests run on this system so they can be shared between configure
25023 # scripts and configure runs, see configure's option --config-cache.
25024 # It is not useful on other systems.  If it contains results you don't
25025 # want to keep, you may remove or edit it.
25026 #
25027 # config.status only pays attention to the cache file if you give it
25028 # the --recheck option to rerun configure.
25029 #
25030 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25031 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25032 # following values.
25033
25034 _ACEOF
25035
25036 # The following way of writing the cache mishandles newlines in values,
25037 # but we know of no workaround that is simple, portable, and efficient.
25038 # So, we kill variables containing newlines.
25039 # Ultrix sh set writes to stderr and can't be redirected directly,
25040 # and sets the high bit in the cache file unless we assign to the vars.
25041 (
25042   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25043     eval ac_val=\$$ac_var
25044     case $ac_val in #(
25045     *${as_nl}*)
25046       case $ac_var in #(
25047       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25048 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25049       esac
25050       case $ac_var in #(
25051       _ | IFS | as_nl) ;; #(
25052       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25053       *) { eval $ac_var=; unset $ac_var;} ;;
25054       esac ;;
25055     esac
25056   done
25057
25058   (set) 2>&1 |
25059     case $as_nl`(ac_space=' '; set) 2>&1` in #(
25060     *${as_nl}ac_space=\ *)
25061       # `set' does not quote correctly, so add quotes: double-quote
25062       # substitution turns \\\\ into \\, and sed turns \\ into \.
25063       sed -n \
25064         "s/'/'\\\\''/g;
25065           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25066       ;; #(
25067     *)
25068       # `set' quotes correctly as required by POSIX, so do not add quotes.
25069       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25070       ;;
25071     esac |
25072     sort
25073 ) |
25074   sed '
25075      /^ac_cv_env_/b end
25076      t clear
25077      :clear
25078      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25079      t end
25080      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25081      :end' >>confcache
25082 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25083   if test -w "$cache_file"; then
25084     test "x$cache_file" != "x/dev/null" &&
25085       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25086 $as_echo "$as_me: updating cache $cache_file" >&6;}
25087     cat confcache >$cache_file
25088   else
25089     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25090 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25091   fi
25092 fi
25093 rm -f confcache
25094
25095 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25096 # Let make expand exec_prefix.
25097 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25098
25099 DEFS=-DHAVE_CONFIG_H
25100
25101 ac_libobjs=
25102 ac_ltlibobjs=
25103 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25104   # 1. Remove the extension, and $U if already installed.
25105   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25106   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25107   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
25108   #    will be set to the directory where LIBOBJS objects are built.
25109   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25110   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25111 done
25112 LIBOBJS=$ac_libobjs
25113
25114 LTLIBOBJS=$ac_ltlibobjs
25115
25116
25117 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
25118   as_fn_error "conditional \"onestep\" was never defined.
25119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25120 fi
25121  if test -n "$EXEEXT"; then
25122   am__EXEEXT_TRUE=
25123   am__EXEEXT_FALSE='#'
25124 else
25125   am__EXEEXT_TRUE='#'
25126   am__EXEEXT_FALSE=
25127 fi
25128
25129 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25130   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
25131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25132 fi
25133 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25134   as_fn_error "conditional \"AMDEP\" was never defined.
25135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25136 fi
25137 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25138   as_fn_error "conditional \"am__fastdepCC\" was never defined.
25139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25140 fi
25141 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
25142   as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
25143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25144 fi
25145 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
25146   as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
25147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25148 fi
25149 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
25150   as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
25151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25152 fi
25153
25154 : ${CONFIG_STATUS=./config.status}
25155 ac_write_fail=0
25156 ac_clean_files_save=$ac_clean_files
25157 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25158 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25159 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25160 as_write_fail=0
25161 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25162 #! $SHELL
25163 # Generated by $as_me.
25164 # Run this file to recreate the current configuration.
25165 # Compiler output produced by configure, useful for debugging
25166 # configure, is in config.log if it exists.
25167
25168 debug=false
25169 ac_cs_recheck=false
25170 ac_cs_silent=false
25171
25172 SHELL=\${CONFIG_SHELL-$SHELL}
25173 export SHELL
25174 _ASEOF
25175 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25176 ## -------------------- ##
25177 ## M4sh Initialization. ##
25178 ## -------------------- ##
25179
25180 # Be more Bourne compatible
25181 DUALCASE=1; export DUALCASE # for MKS sh
25182 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25183   emulate sh
25184   NULLCMD=:
25185   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25186   # is contrary to our usage.  Disable this feature.
25187   alias -g '${1+"$@"}'='"$@"'
25188   setopt NO_GLOB_SUBST
25189 else
25190   case `(set -o) 2>/dev/null` in #(
25191   *posix*) :
25192     set -o posix ;; #(
25193   *) :
25194      ;;
25195 esac
25196 fi
25197
25198
25199 as_nl='
25200 '
25201 export as_nl
25202 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25203 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25204 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25205 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25206 # Prefer a ksh shell builtin over an external printf program on Solaris,
25207 # but without wasting forks for bash or zsh.
25208 if test -z "$BASH_VERSION$ZSH_VERSION" \
25209     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25210   as_echo='print -r --'
25211   as_echo_n='print -rn --'
25212 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25213   as_echo='printf %s\n'
25214   as_echo_n='printf %s'
25215 else
25216   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25217     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25218     as_echo_n='/usr/ucb/echo -n'
25219   else
25220     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25221     as_echo_n_body='eval
25222       arg=$1;
25223       case $arg in #(
25224       *"$as_nl"*)
25225         expr "X$arg" : "X\\(.*\\)$as_nl";
25226         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25227       esac;
25228       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25229     '
25230     export as_echo_n_body
25231     as_echo_n='sh -c $as_echo_n_body as_echo'
25232   fi
25233   export as_echo_body
25234   as_echo='sh -c $as_echo_body as_echo'
25235 fi
25236
25237 # The user is always right.
25238 if test "${PATH_SEPARATOR+set}" != set; then
25239   PATH_SEPARATOR=:
25240   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25241     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25242       PATH_SEPARATOR=';'
25243   }
25244 fi
25245
25246
25247 # IFS
25248 # We need space, tab and new line, in precisely that order.  Quoting is
25249 # there to prevent editors from complaining about space-tab.
25250 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25251 # splitting by setting IFS to empty value.)
25252 IFS=" ""        $as_nl"
25253
25254 # Find who we are.  Look in the path if we contain no directory separator.
25255 case $0 in #((
25256   *[\\/]* ) as_myself=$0 ;;
25257   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25258 for as_dir in $PATH
25259 do
25260   IFS=$as_save_IFS
25261   test -z "$as_dir" && as_dir=.
25262     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25263   done
25264 IFS=$as_save_IFS
25265
25266      ;;
25267 esac
25268 # We did not find ourselves, most probably we were run as `sh COMMAND'
25269 # in which case we are not to be found in the path.
25270 if test "x$as_myself" = x; then
25271   as_myself=$0
25272 fi
25273 if test ! -f "$as_myself"; then
25274   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25275   exit 1
25276 fi
25277
25278 # Unset variables that we do not need and which cause bugs (e.g. in
25279 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
25280 # suppresses any "Segmentation fault" message there.  '((' could
25281 # trigger a bug in pdksh 5.2.14.
25282 for as_var in BASH_ENV ENV MAIL MAILPATH
25283 do eval test x\${$as_var+set} = xset \
25284   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
25285 done
25286 PS1='$ '
25287 PS2='> '
25288 PS4='+ '
25289
25290 # NLS nuisances.
25291 LC_ALL=C
25292 export LC_ALL
25293 LANGUAGE=C
25294 export LANGUAGE
25295
25296 # CDPATH.
25297 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25298
25299
25300 # as_fn_error ERROR [LINENO LOG_FD]
25301 # ---------------------------------
25302 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25303 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25304 # script with status $?, using 1 if that was 0.
25305 as_fn_error ()
25306 {
25307   as_status=$?; test $as_status -eq 0 && as_status=1
25308   if test "$3"; then
25309     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
25310     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
25311   fi
25312   $as_echo "$as_me: error: $1" >&2
25313   as_fn_exit $as_status
25314 } # as_fn_error
25315
25316
25317 # as_fn_set_status STATUS
25318 # -----------------------
25319 # Set $? to STATUS, without forking.
25320 as_fn_set_status ()
25321 {
25322   return $1
25323 } # as_fn_set_status
25324
25325 # as_fn_exit STATUS
25326 # -----------------
25327 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25328 as_fn_exit ()
25329 {
25330   set +e
25331   as_fn_set_status $1
25332   exit $1
25333 } # as_fn_exit
25334
25335 # as_fn_unset VAR
25336 # ---------------
25337 # Portably unset VAR.
25338 as_fn_unset ()
25339 {
25340   { eval $1=; unset $1;}
25341 }
25342 as_unset=as_fn_unset
25343 # as_fn_append VAR VALUE
25344 # ----------------------
25345 # Append the text in VALUE to the end of the definition contained in VAR. Take
25346 # advantage of any shell optimizations that allow amortized linear growth over
25347 # repeated appends, instead of the typical quadratic growth present in naive
25348 # implementations.
25349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
25350   eval 'as_fn_append ()
25351   {
25352     eval $1+=\$2
25353   }'
25354 else
25355   as_fn_append ()
25356   {
25357     eval $1=\$$1\$2
25358   }
25359 fi # as_fn_append
25360
25361 # as_fn_arith ARG...
25362 # ------------------
25363 # Perform arithmetic evaluation on the ARGs, and store the result in the
25364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25365 # must be portable across $(()) and expr.
25366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25367   eval 'as_fn_arith ()
25368   {
25369     as_val=$(( $* ))
25370   }'
25371 else
25372   as_fn_arith ()
25373   {
25374     as_val=`expr "$@" || test $? -eq 1`
25375   }
25376 fi # as_fn_arith
25377
25378
25379 if expr a : '\(a\)' >/dev/null 2>&1 &&
25380    test "X`expr 00001 : '.*\(...\)'`" = X001; then
25381   as_expr=expr
25382 else
25383   as_expr=false
25384 fi
25385
25386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25387   as_basename=basename
25388 else
25389   as_basename=false
25390 fi
25391
25392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25393   as_dirname=dirname
25394 else
25395   as_dirname=false
25396 fi
25397
25398 as_me=`$as_basename -- "$0" ||
25399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25400          X"$0" : 'X\(//\)$' \| \
25401          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25402 $as_echo X/"$0" |
25403     sed '/^.*\/\([^/][^/]*\)\/*$/{
25404             s//\1/
25405             q
25406           }
25407           /^X\/\(\/\/\)$/{
25408             s//\1/
25409             q
25410           }
25411           /^X\/\(\/\).*/{
25412             s//\1/
25413             q
25414           }
25415           s/.*/./; q'`
25416
25417 # Avoid depending upon Character Ranges.
25418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25421 as_cr_digits='0123456789'
25422 as_cr_alnum=$as_cr_Letters$as_cr_digits
25423
25424 ECHO_C= ECHO_N= ECHO_T=
25425 case `echo -n x` in #(((((
25426 -n*)
25427   case `echo 'xy\c'` in
25428   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
25429   xy)  ECHO_C='\c';;
25430   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
25431        ECHO_T=' ';;
25432   esac;;
25433 *)
25434   ECHO_N='-n';;
25435 esac
25436
25437 rm -f conf$$ conf$$.exe conf$$.file
25438 if test -d conf$$.dir; then
25439   rm -f conf$$.dir/conf$$.file
25440 else
25441   rm -f conf$$.dir
25442   mkdir conf$$.dir 2>/dev/null
25443 fi
25444 if (echo >conf$$.file) 2>/dev/null; then
25445   if ln -s conf$$.file conf$$ 2>/dev/null; then
25446     as_ln_s='ln -s'
25447     # ... but there are two gotchas:
25448     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25449     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25450     # In both cases, we have to default to `cp -p'.
25451     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25452       as_ln_s='cp -p'
25453   elif ln conf$$.file conf$$ 2>/dev/null; then
25454     as_ln_s=ln
25455   else
25456     as_ln_s='cp -p'
25457   fi
25458 else
25459   as_ln_s='cp -p'
25460 fi
25461 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25462 rmdir conf$$.dir 2>/dev/null
25463
25464
25465 # as_fn_mkdir_p
25466 # -------------
25467 # Create "$as_dir" as a directory, including parents if necessary.
25468 as_fn_mkdir_p ()
25469 {
25470
25471   case $as_dir in #(
25472   -*) as_dir=./$as_dir;;
25473   esac
25474   test -d "$as_dir" || eval $as_mkdir_p || {
25475     as_dirs=
25476     while :; do
25477       case $as_dir in #(
25478       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25479       *) as_qdir=$as_dir;;
25480       esac
25481       as_dirs="'$as_qdir' $as_dirs"
25482       as_dir=`$as_dirname -- "$as_dir" ||
25483 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25484          X"$as_dir" : 'X\(//\)[^/]' \| \
25485          X"$as_dir" : 'X\(//\)$' \| \
25486          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25487 $as_echo X"$as_dir" |
25488     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25489             s//\1/
25490             q
25491           }
25492           /^X\(\/\/\)[^/].*/{
25493             s//\1/
25494             q
25495           }
25496           /^X\(\/\/\)$/{
25497             s//\1/
25498             q
25499           }
25500           /^X\(\/\).*/{
25501             s//\1/
25502             q
25503           }
25504           s/.*/./; q'`
25505       test -d "$as_dir" && break
25506     done
25507     test -z "$as_dirs" || eval "mkdir $as_dirs"
25508   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
25509
25510
25511 } # as_fn_mkdir_p
25512 if mkdir -p . 2>/dev/null; then
25513   as_mkdir_p='mkdir -p "$as_dir"'
25514 else
25515   test -d ./-p && rmdir ./-p
25516   as_mkdir_p=false
25517 fi
25518
25519 if test -x / >/dev/null 2>&1; then
25520   as_test_x='test -x'
25521 else
25522   if ls -dL / >/dev/null 2>&1; then
25523     as_ls_L_option=L
25524   else
25525     as_ls_L_option=
25526   fi
25527   as_test_x='
25528     eval sh -c '\''
25529       if test -d "$1"; then
25530         test -d "$1/.";
25531       else
25532         case $1 in #(
25533         -*)set "./$1";;
25534         esac;
25535         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25536         ???[sx]*):;;*)false;;esac;fi
25537     '\'' sh
25538   '
25539 fi
25540 as_executable_p=$as_test_x
25541
25542 # Sed expression to map a string onto a valid CPP name.
25543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25544
25545 # Sed expression to map a string onto a valid variable name.
25546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25547
25548
25549 exec 6>&1
25550 ## ----------------------------------- ##
25551 ## Main body of $CONFIG_STATUS script. ##
25552 ## ----------------------------------- ##
25553 _ASEOF
25554 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
25555
25556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25557 # Save the log message, to keep $0 and so on meaningful, and to
25558 # report actual input values of CONFIG_FILES etc. instead of their
25559 # values after options handling.
25560 ac_log="
25561 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
25562 generated by GNU Autoconf 2.64.  Invocation command line was
25563
25564   CONFIG_FILES    = $CONFIG_FILES
25565   CONFIG_HEADERS  = $CONFIG_HEADERS
25566   CONFIG_LINKS    = $CONFIG_LINKS
25567   CONFIG_COMMANDS = $CONFIG_COMMANDS
25568   $ $0 $@
25569
25570 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25571 "
25572
25573 _ACEOF
25574
25575 case $ac_config_files in *"
25576 "*) set x $ac_config_files; shift; ac_config_files=$*;;
25577 esac
25578
25579 case $ac_config_headers in *"
25580 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
25581 esac
25582
25583
25584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25585 # Files that config.status was made for.
25586 config_files="$ac_config_files"
25587 config_headers="$ac_config_headers"
25588 config_commands="$ac_config_commands"
25589
25590 _ACEOF
25591
25592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25593 ac_cs_usage="\
25594 \`$as_me' instantiates files and other configuration actions
25595 from templates according to the current configuration.  Unless the files
25596 and actions are specified as TAGs, all are instantiated by default.
25597
25598 Usage: $0 [OPTION]... [TAG]...
25599
25600   -h, --help       print this help, then exit
25601   -V, --version    print version number and configuration settings, then exit
25602   -q, --quiet, --silent
25603                    do not print progress messages
25604   -d, --debug      don't remove temporary files
25605       --recheck    update $as_me by reconfiguring in the same conditions
25606       --file=FILE[:TEMPLATE]
25607                    instantiate the configuration file FILE
25608       --header=FILE[:TEMPLATE]
25609                    instantiate the configuration header FILE
25610
25611 Configuration files:
25612 $config_files
25613
25614 Configuration headers:
25615 $config_headers
25616
25617 Configuration commands:
25618 $config_commands
25619
25620 Report bugs to the package provider.
25621 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
25622 General help using GNU software: <http://www.gnu.org/gethelp/>."
25623
25624 _ACEOF
25625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25626 ac_cs_version="\\
25627 GNU Fortran Runtime Library config.status 0.3
25628 configured by $0, generated by GNU Autoconf 2.64,
25629   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25630
25631 Copyright (C) 2009 Free Software Foundation, Inc.
25632 This config.status script is free software; the Free Software Foundation
25633 gives unlimited permission to copy, distribute and modify it."
25634
25635 ac_pwd='$ac_pwd'
25636 srcdir='$srcdir'
25637 INSTALL='$INSTALL'
25638 MKDIR_P='$MKDIR_P'
25639 AWK='$AWK'
25640 test -n "\$AWK" || AWK=awk
25641 _ACEOF
25642
25643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25644 # The default lists apply if the user does not specify any file.
25645 ac_need_defaults=:
25646 while test $# != 0
25647 do
25648   case $1 in
25649   --*=*)
25650     ac_option=`expr "X$1" : 'X\([^=]*\)='`
25651     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25652     ac_shift=:
25653     ;;
25654   *)
25655     ac_option=$1
25656     ac_optarg=$2
25657     ac_shift=shift
25658     ;;
25659   esac
25660
25661   case $ac_option in
25662   # Handling of the options.
25663   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25664     ac_cs_recheck=: ;;
25665   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25666     $as_echo "$ac_cs_version"; exit ;;
25667   --debug | --debu | --deb | --de | --d | -d )
25668     debug=: ;;
25669   --file | --fil | --fi | --f )
25670     $ac_shift
25671     case $ac_optarg in
25672     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25673     esac
25674     as_fn_append CONFIG_FILES " '$ac_optarg'"
25675     ac_need_defaults=false;;
25676   --header | --heade | --head | --hea )
25677     $ac_shift
25678     case $ac_optarg in
25679     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25680     esac
25681     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25682     ac_need_defaults=false;;
25683   --he | --h)
25684     # Conflict between --help and --header
25685     as_fn_error "ambiguous option: \`$1'
25686 Try \`$0 --help' for more information.";;
25687   --help | --hel | -h )
25688     $as_echo "$ac_cs_usage"; exit ;;
25689   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25690   | -silent | --silent | --silen | --sile | --sil | --si | --s)
25691     ac_cs_silent=: ;;
25692
25693   # This is an error.
25694   -*) as_fn_error "unrecognized option: \`$1'
25695 Try \`$0 --help' for more information." ;;
25696
25697   *) as_fn_append ac_config_targets " $1"
25698      ac_need_defaults=false ;;
25699
25700   esac
25701   shift
25702 done
25703
25704 ac_configure_extra_args=
25705
25706 if $ac_cs_silent; then
25707   exec 6>/dev/null
25708   ac_configure_extra_args="$ac_configure_extra_args --silent"
25709 fi
25710
25711 _ACEOF
25712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25713 if \$ac_cs_recheck; then
25714   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25715   shift
25716   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25717   CONFIG_SHELL='$SHELL'
25718   export CONFIG_SHELL
25719   exec "\$@"
25720 fi
25721
25722 _ACEOF
25723 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25724 exec 5>>config.log
25725 {
25726   echo
25727   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25728 ## Running $as_me. ##
25729 _ASBOX
25730   $as_echo "$ac_log"
25731 } >&5
25732
25733 _ACEOF
25734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25735 #
25736 # INIT-COMMANDS
25737 #
25738
25739 srcdir="$srcdir"
25740 host="$host"
25741 target="$target"
25742 with_multisubdir="$with_multisubdir"
25743 with_multisrctop="$with_multisrctop"
25744 with_target_subdir="$with_target_subdir"
25745 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25746 multi_basedir="$multi_basedir"
25747 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25748 CC="$CC"
25749 CXX="$CXX"
25750 GFORTRAN="$GFORTRAN"
25751 GCJ="$GCJ"
25752 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25753
25754
25755 # The HP-UX ksh and POSIX shell print the target directory to stdout
25756 # if CDPATH is set.
25757 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25758
25759 sed_quote_subst='$sed_quote_subst'
25760 double_quote_subst='$double_quote_subst'
25761 delay_variable_subst='$delay_variable_subst'
25762 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25763 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25764 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25765 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25766 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25767 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25768 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25769 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25770 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25771 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25772 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25773 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25774 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25775 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25776 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25777 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25778 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25779 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25780 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25781 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25782 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25783 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25784 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25785 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25786 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25787 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25788 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25789 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25790 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25791 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25792 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25793 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25794 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25795 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25796 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25797 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25798 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25799 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25800 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25801 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25802 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25803 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25804 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25805 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25806 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25807 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25808 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25809 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25810 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"`'
25811 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25812 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25813 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25814 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25815 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25816 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25817 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25818 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25819 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25820 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25821 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25822 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25823 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25824 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25825 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25826 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25827 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25828 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25829 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25830 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25831 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25832 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25833 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25834 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25835 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25836 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25837 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25838 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25839 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25840 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25841 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25842 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25843 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25844 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25845 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25846 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25847 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25848 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25849 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25850 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25851 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25852 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25853 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25854 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25855 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25856 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25857 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25858 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25859 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25860 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25861 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25862 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25863 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25864 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25865 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25866 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25867 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25868 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25869 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25870 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25871 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25872 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25873 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25874 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25875 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25876 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25877 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25878 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25879 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25880 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25881 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25882 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25883 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25884 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25885 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25886 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25887 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25888 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
25889 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
25890 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
25891 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25892 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
25893 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
25894 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
25895 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
25896 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
25897 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
25898 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
25899 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
25900 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
25901 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25902 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25903 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
25904 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
25905 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
25906 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25907 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25908 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
25909 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25910 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
25911 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25912 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25913 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25914 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
25915 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
25916 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
25917 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
25918 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
25919 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
25920 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
25921 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
25922 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
25923 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
25924 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
25925 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
25926 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25927 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25928 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
25929 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
25930 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
25931 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
25932 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
25933 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
25934 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
25935 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
25936 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
25937
25938 LTCC='$LTCC'
25939 LTCFLAGS='$LTCFLAGS'
25940 compiler='$compiler_DEFAULT'
25941
25942 # A function that is used when there is no print builtin or printf.
25943 func_fallback_echo ()
25944 {
25945   eval 'cat <<_LTECHO_EOF
25946 \$1
25947 _LTECHO_EOF'
25948 }
25949
25950 # Quote evaled strings.
25951 for var in SHELL \
25952 ECHO \
25953 SED \
25954 GREP \
25955 EGREP \
25956 FGREP \
25957 LD \
25958 NM \
25959 LN_S \
25960 lt_SP2NL \
25961 lt_NL2SP \
25962 reload_flag \
25963 OBJDUMP \
25964 deplibs_check_method \
25965 file_magic_cmd \
25966 AR \
25967 AR_FLAGS \
25968 STRIP \
25969 RANLIB \
25970 CC \
25971 CFLAGS \
25972 compiler \
25973 lt_cv_sys_global_symbol_pipe \
25974 lt_cv_sys_global_symbol_to_cdecl \
25975 lt_cv_sys_global_symbol_to_c_name_address \
25976 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25977 lt_prog_compiler_no_builtin_flag \
25978 lt_prog_compiler_wl \
25979 lt_prog_compiler_pic \
25980 lt_prog_compiler_static \
25981 lt_cv_prog_compiler_c_o \
25982 need_locks \
25983 DSYMUTIL \
25984 NMEDIT \
25985 LIPO \
25986 OTOOL \
25987 OTOOL64 \
25988 shrext_cmds \
25989 export_dynamic_flag_spec \
25990 whole_archive_flag_spec \
25991 compiler_needs_object \
25992 with_gnu_ld \
25993 allow_undefined_flag \
25994 no_undefined_flag \
25995 hardcode_libdir_flag_spec \
25996 hardcode_libdir_flag_spec_ld \
25997 hardcode_libdir_separator \
25998 fix_srcfile_path \
25999 exclude_expsyms \
26000 include_expsyms \
26001 file_list_spec \
26002 variables_saved_for_relink \
26003 libname_spec \
26004 library_names_spec \
26005 soname_spec \
26006 install_override_mode \
26007 finish_eval \
26008 old_striplib \
26009 striplib \
26010 compiler_lib_search_dirs \
26011 predep_objects \
26012 postdep_objects \
26013 predeps \
26014 postdeps \
26015 compiler_lib_search_path \
26016 LD_FC \
26017 reload_flag_FC \
26018 compiler_FC \
26019 lt_prog_compiler_no_builtin_flag_FC \
26020 lt_prog_compiler_wl_FC \
26021 lt_prog_compiler_pic_FC \
26022 lt_prog_compiler_static_FC \
26023 lt_cv_prog_compiler_c_o_FC \
26024 export_dynamic_flag_spec_FC \
26025 whole_archive_flag_spec_FC \
26026 compiler_needs_object_FC \
26027 with_gnu_ld_FC \
26028 allow_undefined_flag_FC \
26029 no_undefined_flag_FC \
26030 hardcode_libdir_flag_spec_FC \
26031 hardcode_libdir_flag_spec_ld_FC \
26032 hardcode_libdir_separator_FC \
26033 fix_srcfile_path_FC \
26034 exclude_expsyms_FC \
26035 include_expsyms_FC \
26036 file_list_spec_FC \
26037 compiler_lib_search_dirs_FC \
26038 predep_objects_FC \
26039 postdep_objects_FC \
26040 predeps_FC \
26041 postdeps_FC \
26042 compiler_lib_search_path_FC; do
26043     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26044     *[\\\\\\\`\\"\\\$]*)
26045       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26046       ;;
26047     *)
26048       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26049       ;;
26050     esac
26051 done
26052
26053 # Double-quote double-evaled strings.
26054 for var in reload_cmds \
26055 old_postinstall_cmds \
26056 old_postuninstall_cmds \
26057 old_archive_cmds \
26058 extract_expsyms_cmds \
26059 old_archive_from_new_cmds \
26060 old_archive_from_expsyms_cmds \
26061 archive_cmds \
26062 archive_expsym_cmds \
26063 module_cmds \
26064 module_expsym_cmds \
26065 export_symbols_cmds \
26066 prelink_cmds \
26067 postinstall_cmds \
26068 postuninstall_cmds \
26069 finish_cmds \
26070 sys_lib_search_path_spec \
26071 sys_lib_dlsearch_path_spec \
26072 reload_cmds_FC \
26073 old_archive_cmds_FC \
26074 old_archive_from_new_cmds_FC \
26075 old_archive_from_expsyms_cmds_FC \
26076 archive_cmds_FC \
26077 archive_expsym_cmds_FC \
26078 module_cmds_FC \
26079 module_expsym_cmds_FC \
26080 export_symbols_cmds_FC \
26081 prelink_cmds_FC; do
26082     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26083     *[\\\\\\\`\\"\\\$]*)
26084       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26085       ;;
26086     *)
26087       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26088       ;;
26089     esac
26090 done
26091
26092 ac_aux_dir='$ac_aux_dir'
26093 xsi_shell='$xsi_shell'
26094 lt_shell_append='$lt_shell_append'
26095
26096 # See if we are running on zsh, and set the options which allow our
26097 # commands through without removal of \ escapes INIT.
26098 if test -n "\${ZSH_VERSION+set}" ; then
26099    setopt NO_GLOB_SUBST
26100 fi
26101
26102
26103     PACKAGE='$PACKAGE'
26104     VERSION='$VERSION'
26105     TIMESTAMP='$TIMESTAMP'
26106     RM='$RM'
26107     ofile='$ofile'
26108
26109
26110
26111
26112
26113
26114 GCC="$GCC"
26115 CC="$CC"
26116 acx_cv_header_stdint="$acx_cv_header_stdint"
26117 acx_cv_type_int8_t="$acx_cv_type_int8_t"
26118 acx_cv_type_int16_t="$acx_cv_type_int16_t"
26119 acx_cv_type_int32_t="$acx_cv_type_int32_t"
26120 acx_cv_type_int64_t="$acx_cv_type_int64_t"
26121 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
26122 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
26123 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
26124 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
26125 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
26126 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
26127 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
26128 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
26129 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
26130
26131
26132 _ACEOF
26133
26134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26135
26136 # Handling of arguments.
26137 for ac_config_target in $ac_config_targets
26138 do
26139   case $ac_config_target in
26140     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26141     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26142     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26143     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26144     "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
26145     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26146
26147   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26148   esac
26149 done
26150
26151
26152 # If the user did not use the arguments to specify the items to instantiate,
26153 # then the envvar interface is used.  Set only those that are not.
26154 # We use the long form for the default assignment because of an extremely
26155 # bizarre bug on SunOS 4.1.3.
26156 if $ac_need_defaults; then
26157   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26158   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26159   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26160 fi
26161
26162 # Have a temporary directory for convenience.  Make it in the build tree
26163 # simply because there is no reason against having it here, and in addition,
26164 # creating and moving files from /tmp can sometimes cause problems.
26165 # Hook for its removal unless debugging.
26166 # Note that there is a small window in which the directory will not be cleaned:
26167 # after its creation but before its name has been assigned to `$tmp'.
26168 $debug ||
26169 {
26170   tmp=
26171   trap 'exit_status=$?
26172   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26173 ' 0
26174   trap 'as_fn_exit 1' 1 2 13 15
26175 }
26176 # Create a (secure) tmp directory for tmp files.
26177
26178 {
26179   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26180   test -n "$tmp" && test -d "$tmp"
26181 }  ||
26182 {
26183   tmp=./conf$$-$RANDOM
26184   (umask 077 && mkdir "$tmp")
26185 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
26186
26187 # Set up the scripts for CONFIG_FILES section.
26188 # No need to generate them if there are no CONFIG_FILES.
26189 # This happens for instance with `./config.status config.h'.
26190 if test -n "$CONFIG_FILES"; then
26191
26192
26193 ac_cr=`echo X | tr X '\015'`
26194 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26195 # But we know of no other shell where ac_cr would be empty at this
26196 # point, so we can use a bashism as a fallback.
26197 if test "x$ac_cr" = x; then
26198   eval ac_cr=\$\'\\r\'
26199 fi
26200 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26201 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26202   ac_cs_awk_cr='\r'
26203 else
26204   ac_cs_awk_cr=$ac_cr
26205 fi
26206
26207 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26208 _ACEOF
26209
26210
26211 {
26212   echo "cat >conf$$subs.awk <<_ACEOF" &&
26213   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26214   echo "_ACEOF"
26215 } >conf$$subs.sh ||
26216   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26217 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26218 ac_delim='%!_!# '
26219 for ac_last_try in false false false false false :; do
26220   . ./conf$$subs.sh ||
26221     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26222
26223   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26224   if test $ac_delim_n = $ac_delim_num; then
26225     break
26226   elif $ac_last_try; then
26227     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26228   else
26229     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26230   fi
26231 done
26232 rm -f conf$$subs.sh
26233
26234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26235 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
26236 _ACEOF
26237 sed -n '
26238 h
26239 s/^/S["/; s/!.*/"]=/
26240 p
26241 g
26242 s/^[^!]*!//
26243 :repl
26244 t repl
26245 s/'"$ac_delim"'$//
26246 t delim
26247 :nl
26248 h
26249 s/\(.\{148\}\).*/\1/
26250 t more1
26251 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26252 p
26253 n
26254 b repl
26255 :more1
26256 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26257 p
26258 g
26259 s/.\{148\}//
26260 t nl
26261 :delim
26262 h
26263 s/\(.\{148\}\).*/\1/
26264 t more2
26265 s/["\\]/\\&/g; s/^/"/; s/$/"/
26266 p
26267 b
26268 :more2
26269 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26270 p
26271 g
26272 s/.\{148\}//
26273 t delim
26274 ' <conf$$subs.awk | sed '
26275 /^[^""]/{
26276   N
26277   s/\n//
26278 }
26279 ' >>$CONFIG_STATUS || ac_write_fail=1
26280 rm -f conf$$subs.awk
26281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26282 _ACAWK
26283 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
26284   for (key in S) S_is_set[key] = 1
26285   FS = "\a"
26286
26287 }
26288 {
26289   line = $ 0
26290   nfields = split(line, field, "@")
26291   substed = 0
26292   len = length(field[1])
26293   for (i = 2; i < nfields; i++) {
26294     key = field[i]
26295     keylen = length(key)
26296     if (S_is_set[key]) {
26297       value = S[key]
26298       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26299       len += length(value) + length(field[++i])
26300       substed = 1
26301     } else
26302       len += 1 + keylen
26303   }
26304
26305   print line
26306 }
26307
26308 _ACAWK
26309 _ACEOF
26310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26311 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26312   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26313 else
26314   cat
26315 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
26316   || as_fn_error "could not setup config files machinery" "$LINENO" 5
26317 _ACEOF
26318
26319 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26320 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26321 # trailing colons and then remove the whole line if VPATH becomes empty
26322 # (actually we leave an empty line to preserve line numbers).
26323 if test "x$srcdir" = x.; then
26324   ac_vpsub='/^[  ]*VPATH[        ]*=/{
26325 s/:*\$(srcdir):*/:/
26326 s/:*\${srcdir}:*/:/
26327 s/:*@srcdir@:*/:/
26328 s/^\([^=]*=[     ]*\):*/\1/
26329 s/:*$//
26330 s/^[^=]*=[       ]*$//
26331 }'
26332 fi
26333
26334 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26335 fi # test -n "$CONFIG_FILES"
26336
26337 # Set up the scripts for CONFIG_HEADERS section.
26338 # No need to generate them if there are no CONFIG_HEADERS.
26339 # This happens for instance with `./config.status Makefile'.
26340 if test -n "$CONFIG_HEADERS"; then
26341 cat >"$tmp/defines.awk" <<\_ACAWK ||
26342 BEGIN {
26343 _ACEOF
26344
26345 # Transform confdefs.h into an awk script `defines.awk', embedded as
26346 # here-document in config.status, that substitutes the proper values into
26347 # config.h.in to produce config.h.
26348
26349 # Create a delimiter string that does not exist in confdefs.h, to ease
26350 # handling of long lines.
26351 ac_delim='%!_!# '
26352 for ac_last_try in false false :; do
26353   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
26354   if test -z "$ac_t"; then
26355     break
26356   elif $ac_last_try; then
26357     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
26358   else
26359     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26360   fi
26361 done
26362
26363 # For the awk script, D is an array of macro values keyed by name,
26364 # likewise P contains macro parameters if any.  Preserve backslash
26365 # newline sequences.
26366
26367 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26368 sed -n '
26369 s/.\{148\}/&'"$ac_delim"'/g
26370 t rset
26371 :rset
26372 s/^[     ]*#[    ]*define[       ][      ]*/ /
26373 t def
26374 d
26375 :def
26376 s/\\$//
26377 t bsnl
26378 s/["\\]/\\&/g
26379 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
26380 D["\1"]=" \3"/p
26381 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
26382 d
26383 :bsnl
26384 s/["\\]/\\&/g
26385 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
26386 D["\1"]=" \3\\\\\\n"\\/p
26387 t cont
26388 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26389 t cont
26390 d
26391 :cont
26392 n
26393 s/.\{148\}/&'"$ac_delim"'/g
26394 t clear
26395 :clear
26396 s/\\$//
26397 t bsnlc
26398 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26399 d
26400 :bsnlc
26401 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26402 b cont
26403 ' <confdefs.h | sed '
26404 s/'"$ac_delim"'/"\\\
26405 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26406
26407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26408   for (key in D) D_is_set[key] = 1
26409   FS = "\a"
26410 }
26411 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26412   line = \$ 0
26413   split(line, arg, " ")
26414   if (arg[1] == "#") {
26415     defundef = arg[2]
26416     mac1 = arg[3]
26417   } else {
26418     defundef = substr(arg[1], 2)
26419     mac1 = arg[2]
26420   }
26421   split(mac1, mac2, "(") #)
26422   macro = mac2[1]
26423   prefix = substr(line, 1, index(line, defundef) - 1)
26424   if (D_is_set[macro]) {
26425     # Preserve the white space surrounding the "#".
26426     print prefix "define", macro P[macro] D[macro]
26427     next
26428   } else {
26429     # Replace #undef with comments.  This is necessary, for example,
26430     # in the case of _POSIX_SOURCE, which is predefined and required
26431     # on some systems where configure will not decide to define it.
26432     if (defundef == "undef") {
26433       print "/*", prefix defundef, macro, "*/"
26434       next
26435     }
26436   }
26437 }
26438 { print }
26439 _ACAWK
26440 _ACEOF
26441 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26442   as_fn_error "could not setup config headers machinery" "$LINENO" 5
26443 fi # test -n "$CONFIG_HEADERS"
26444
26445
26446 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
26447 shift
26448 for ac_tag
26449 do
26450   case $ac_tag in
26451   :[FHLC]) ac_mode=$ac_tag; continue;;
26452   esac
26453   case $ac_mode$ac_tag in
26454   :[FHL]*:*);;
26455   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
26456   :[FH]-) ac_tag=-:-;;
26457   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26458   esac
26459   ac_save_IFS=$IFS
26460   IFS=:
26461   set x $ac_tag
26462   IFS=$ac_save_IFS
26463   shift
26464   ac_file=$1
26465   shift
26466
26467   case $ac_mode in
26468   :L) ac_source=$1;;
26469   :[FH])
26470     ac_file_inputs=
26471     for ac_f
26472     do
26473       case $ac_f in
26474       -) ac_f="$tmp/stdin";;
26475       *) # Look for the file first in the build tree, then in the source tree
26476          # (if the path is not absolute).  The absolute path cannot be DOS-style,
26477          # because $ac_f cannot contain `:'.
26478          test -f "$ac_f" ||
26479            case $ac_f in
26480            [\\/$]*) false;;
26481            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26482            esac ||
26483            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26484       esac
26485       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26486       as_fn_append ac_file_inputs " '$ac_f'"
26487     done
26488
26489     # Let's still pretend it is `configure' which instantiates (i.e., don't
26490     # use $as_me), people would be surprised to read:
26491     #    /* config.h.  Generated by config.status.  */
26492     configure_input='Generated from '`
26493           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26494         `' by configure.'
26495     if test x"$ac_file" != x-; then
26496       configure_input="$ac_file.  $configure_input"
26497       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26498 $as_echo "$as_me: creating $ac_file" >&6;}
26499     fi
26500     # Neutralize special characters interpreted by sed in replacement strings.
26501     case $configure_input in #(
26502     *\&* | *\|* | *\\* )
26503        ac_sed_conf_input=`$as_echo "$configure_input" |
26504        sed 's/[\\\\&|]/\\\\&/g'`;; #(
26505     *) ac_sed_conf_input=$configure_input;;
26506     esac
26507
26508     case $ac_tag in
26509     *:-:* | *:-) cat >"$tmp/stdin" \
26510       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
26511     esac
26512     ;;
26513   esac
26514
26515   ac_dir=`$as_dirname -- "$ac_file" ||
26516 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26517          X"$ac_file" : 'X\(//\)[^/]' \| \
26518          X"$ac_file" : 'X\(//\)$' \| \
26519          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26520 $as_echo X"$ac_file" |
26521     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26522             s//\1/
26523             q
26524           }
26525           /^X\(\/\/\)[^/].*/{
26526             s//\1/
26527             q
26528           }
26529           /^X\(\/\/\)$/{
26530             s//\1/
26531             q
26532           }
26533           /^X\(\/\).*/{
26534             s//\1/
26535             q
26536           }
26537           s/.*/./; q'`
26538   as_dir="$ac_dir"; as_fn_mkdir_p
26539   ac_builddir=.
26540
26541 case "$ac_dir" in
26542 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26543 *)
26544   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26545   # A ".." for each directory in $ac_dir_suffix.
26546   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26547   case $ac_top_builddir_sub in
26548   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26549   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26550   esac ;;
26551 esac
26552 ac_abs_top_builddir=$ac_pwd
26553 ac_abs_builddir=$ac_pwd$ac_dir_suffix
26554 # for backward compatibility:
26555 ac_top_builddir=$ac_top_build_prefix
26556
26557 case $srcdir in
26558   .)  # We are building in place.
26559     ac_srcdir=.
26560     ac_top_srcdir=$ac_top_builddir_sub
26561     ac_abs_top_srcdir=$ac_pwd ;;
26562   [\\/]* | ?:[\\/]* )  # Absolute name.
26563     ac_srcdir=$srcdir$ac_dir_suffix;
26564     ac_top_srcdir=$srcdir
26565     ac_abs_top_srcdir=$srcdir ;;
26566   *) # Relative name.
26567     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26568     ac_top_srcdir=$ac_top_build_prefix$srcdir
26569     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26570 esac
26571 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26572
26573
26574   case $ac_mode in
26575   :F)
26576   #
26577   # CONFIG_FILE
26578   #
26579
26580   case $INSTALL in
26581   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26582   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26583   esac
26584   ac_MKDIR_P=$MKDIR_P
26585   case $MKDIR_P in
26586   [\\/$]* | ?:[\\/]* ) ;;
26587   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
26588   esac
26589 _ACEOF
26590
26591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26592 # If the template does not know about datarootdir, expand it.
26593 # FIXME: This hack should be removed a few years after 2.60.
26594 ac_datarootdir_hack=; ac_datarootdir_seen=
26595 ac_sed_dataroot='
26596 /datarootdir/ {
26597   p
26598   q
26599 }
26600 /@datadir@/p
26601 /@docdir@/p
26602 /@infodir@/p
26603 /@localedir@/p
26604 /@mandir@/p'
26605 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26606 *datarootdir*) ac_datarootdir_seen=yes;;
26607 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26608   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26609 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26610 _ACEOF
26611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26612   ac_datarootdir_hack='
26613   s&@datadir@&$datadir&g
26614   s&@docdir@&$docdir&g
26615   s&@infodir@&$infodir&g
26616   s&@localedir@&$localedir&g
26617   s&@mandir@&$mandir&g
26618   s&\\\${datarootdir}&$datarootdir&g' ;;
26619 esac
26620 _ACEOF
26621
26622 # Neutralize VPATH when `$srcdir' = `.'.
26623 # Shell code in configure.ac might set extrasub.
26624 # FIXME: do we really want to maintain this feature?
26625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26626 ac_sed_extra="$ac_vpsub
26627 $extrasub
26628 _ACEOF
26629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26630 :t
26631 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26632 s|@configure_input@|$ac_sed_conf_input|;t t
26633 s&@top_builddir@&$ac_top_builddir_sub&;t t
26634 s&@top_build_prefix@&$ac_top_build_prefix&;t t
26635 s&@srcdir@&$ac_srcdir&;t t
26636 s&@abs_srcdir@&$ac_abs_srcdir&;t t
26637 s&@top_srcdir@&$ac_top_srcdir&;t t
26638 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26639 s&@builddir@&$ac_builddir&;t t
26640 s&@abs_builddir@&$ac_abs_builddir&;t t
26641 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26642 s&@INSTALL@&$ac_INSTALL&;t t
26643 s&@MKDIR_P@&$ac_MKDIR_P&;t t
26644 $ac_datarootdir_hack
26645 "
26646 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
26647   || as_fn_error "could not create $ac_file" "$LINENO" 5
26648
26649 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26650   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
26651   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
26652   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26653 which seems to be undefined.  Please make sure it is defined." >&5
26654 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26655 which seems to be undefined.  Please make sure it is defined." >&2;}
26656
26657   rm -f "$tmp/stdin"
26658   case $ac_file in
26659   -) cat "$tmp/out" && rm -f "$tmp/out";;
26660   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26661   esac \
26662   || as_fn_error "could not create $ac_file" "$LINENO" 5
26663  ;;
26664   :H)
26665   #
26666   # CONFIG_HEADER
26667   #
26668   if test x"$ac_file" != x-; then
26669     {
26670       $as_echo "/* $configure_input  */" \
26671       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26672     } >"$tmp/config.h" \
26673       || as_fn_error "could not create $ac_file" "$LINENO" 5
26674     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26675       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26676 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26677     else
26678       rm -f "$ac_file"
26679       mv "$tmp/config.h" "$ac_file" \
26680         || as_fn_error "could not create $ac_file" "$LINENO" 5
26681     fi
26682   else
26683     $as_echo "/* $configure_input  */" \
26684       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26685       || as_fn_error "could not create -" "$LINENO" 5
26686   fi
26687 # Compute "$ac_file"'s index in $config_headers.
26688 _am_arg="$ac_file"
26689 _am_stamp_count=1
26690 for _am_header in $config_headers :; do
26691   case $_am_header in
26692     $_am_arg | $_am_arg:* )
26693       break ;;
26694     * )
26695       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
26696   esac
26697 done
26698 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26699 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26700          X"$_am_arg" : 'X\(//\)[^/]' \| \
26701          X"$_am_arg" : 'X\(//\)$' \| \
26702          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26703 $as_echo X"$_am_arg" |
26704     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26705             s//\1/
26706             q
26707           }
26708           /^X\(\/\/\)[^/].*/{
26709             s//\1/
26710             q
26711           }
26712           /^X\(\/\/\)$/{
26713             s//\1/
26714             q
26715           }
26716           /^X\(\/\).*/{
26717             s//\1/
26718             q
26719           }
26720           s/.*/./; q'`/stamp-h$_am_stamp_count
26721  ;;
26722
26723   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26724 $as_echo "$as_me: executing $ac_file commands" >&6;}
26725  ;;
26726   esac
26727
26728
26729   case $ac_file$ac_mode in
26730     "default-1":C)
26731 # Only add multilib support code if we just rebuilt the top-level
26732 # Makefile.
26733 case " $CONFIG_FILES " in
26734  *" Makefile "*)
26735    ac_file=Makefile . ${multi_basedir}/config-ml.in
26736    ;;
26737 esac ;;
26738     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
26739   # Autoconf 2.62 quotes --file arguments for eval, but not when files
26740   # are listed without --file.  Let's play safe and only enable the eval
26741   # if we detect the quoting.
26742   case $CONFIG_FILES in
26743   *\'*) eval set x "$CONFIG_FILES" ;;
26744   *)   set x $CONFIG_FILES ;;
26745   esac
26746   shift
26747   for mf
26748   do
26749     # Strip MF so we end up with the name of the file.
26750     mf=`echo "$mf" | sed -e 's/:.*$//'`
26751     # Check whether this is an Automake generated Makefile or not.
26752     # We used to match only the files named `Makefile.in', but
26753     # some people rename them; so instead we look at the file content.
26754     # Grep'ing the first line is not enough: some people post-process
26755     # each Makefile.in and add a new line on top of each file to say so.
26756     # Grep'ing the whole file is not good either: AIX grep has a line
26757     # limit of 2048, but all sed's we know have understand at least 4000.
26758     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
26759       dirpart=`$as_dirname -- "$mf" ||
26760 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26761          X"$mf" : 'X\(//\)[^/]' \| \
26762          X"$mf" : 'X\(//\)$' \| \
26763          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26764 $as_echo X"$mf" |
26765     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26766             s//\1/
26767             q
26768           }
26769           /^X\(\/\/\)[^/].*/{
26770             s//\1/
26771             q
26772           }
26773           /^X\(\/\/\)$/{
26774             s//\1/
26775             q
26776           }
26777           /^X\(\/\).*/{
26778             s//\1/
26779             q
26780           }
26781           s/.*/./; q'`
26782     else
26783       continue
26784     fi
26785     # Extract the definition of DEPDIR, am__include, and am__quote
26786     # from the Makefile without running `make'.
26787     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
26788     test -z "$DEPDIR" && continue
26789     am__include=`sed -n 's/^am__include = //p' < "$mf"`
26790     test -z "am__include" && continue
26791     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
26792     # When using ansi2knr, U may be empty or an underscore; expand it
26793     U=`sed -n 's/^U = //p' < "$mf"`
26794     # Find all dependency output files, they are included files with
26795     # $(DEPDIR) in their names.  We invoke sed twice because it is the
26796     # simplest approach to changing $(DEPDIR) to its actual value in the
26797     # expansion.
26798     for file in `sed -n "
26799       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26800          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26801       # Make sure the directory exists.
26802       test -f "$dirpart/$file" && continue
26803       fdir=`$as_dirname -- "$file" ||
26804 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26805          X"$file" : 'X\(//\)[^/]' \| \
26806          X"$file" : 'X\(//\)$' \| \
26807          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26808 $as_echo X"$file" |
26809     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26810             s//\1/
26811             q
26812           }
26813           /^X\(\/\/\)[^/].*/{
26814             s//\1/
26815             q
26816           }
26817           /^X\(\/\/\)$/{
26818             s//\1/
26819             q
26820           }
26821           /^X\(\/\).*/{
26822             s//\1/
26823             q
26824           }
26825           s/.*/./; q'`
26826       as_dir=$dirpart/$fdir; as_fn_mkdir_p
26827       # echo "creating $dirpart/$file"
26828       echo '# dummy' > "$dirpart/$file"
26829     done
26830   done
26831 }
26832  ;;
26833     "libtool":C)
26834
26835     # See if we are running on zsh, and set the options which allow our
26836     # commands through without removal of \ escapes.
26837     if test -n "${ZSH_VERSION+set}" ; then
26838       setopt NO_GLOB_SUBST
26839     fi
26840
26841     cfgfile="${ofile}T"
26842     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26843     $RM "$cfgfile"
26844
26845     cat <<_LT_EOF >> "$cfgfile"
26846 #! $SHELL
26847
26848 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26849 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26850 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26851 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26852 #
26853 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26854 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
26855 #   Written by Gordon Matzigkeit, 1996
26856 #
26857 #   This file is part of GNU Libtool.
26858 #
26859 # GNU Libtool is free software; you can redistribute it and/or
26860 # modify it under the terms of the GNU General Public License as
26861 # published by the Free Software Foundation; either version 2 of
26862 # the License, or (at your option) any later version.
26863 #
26864 # As a special exception to the GNU General Public License,
26865 # if you distribute this file as part of a program or library that
26866 # is built using GNU Libtool, you may include this file under the
26867 # same distribution terms that you use for the rest of that program.
26868 #
26869 # GNU Libtool is distributed in the hope that it will be useful,
26870 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26871 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26872 # GNU General Public License for more details.
26873 #
26874 # You should have received a copy of the GNU General Public License
26875 # along with GNU Libtool; see the file COPYING.  If not, a copy
26876 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26877 # obtained by writing to the Free Software Foundation, Inc.,
26878 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26879
26880
26881 # The names of the tagged configurations supported by this script.
26882 available_tags="FC "
26883
26884 # ### BEGIN LIBTOOL CONFIG
26885
26886 # Which release of libtool.m4 was used?
26887 macro_version=$macro_version
26888 macro_revision=$macro_revision
26889
26890 # Whether or not to build shared libraries.
26891 build_libtool_libs=$enable_shared
26892
26893 # Whether or not to build static libraries.
26894 build_old_libs=$enable_static
26895
26896 # What type of objects to build.
26897 pic_mode=$pic_mode
26898
26899 # Whether or not to optimize for fast installation.
26900 fast_install=$enable_fast_install
26901
26902 # Shell to use when invoking shell scripts.
26903 SHELL=$lt_SHELL
26904
26905 # An echo program that protects backslashes.
26906 ECHO=$lt_ECHO
26907
26908 # The host system.
26909 host_alias=$host_alias
26910 host=$host
26911 host_os=$host_os
26912
26913 # The build system.
26914 build_alias=$build_alias
26915 build=$build
26916 build_os=$build_os
26917
26918 # A sed program that does not truncate output.
26919 SED=$lt_SED
26920
26921 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26922 Xsed="\$SED -e 1s/^X//"
26923
26924 # A grep program that handles long lines.
26925 GREP=$lt_GREP
26926
26927 # An ERE matcher.
26928 EGREP=$lt_EGREP
26929
26930 # A literal string matcher.
26931 FGREP=$lt_FGREP
26932
26933 # A BSD- or MS-compatible name lister.
26934 NM=$lt_NM
26935
26936 # Whether we need soft or hard links.
26937 LN_S=$lt_LN_S
26938
26939 # What is the maximum length of a command?
26940 max_cmd_len=$max_cmd_len
26941
26942 # Object file suffix (normally "o").
26943 objext=$ac_objext
26944
26945 # Executable file suffix (normally "").
26946 exeext=$exeext
26947
26948 # whether the shell understands "unset".
26949 lt_unset=$lt_unset
26950
26951 # turn spaces into newlines.
26952 SP2NL=$lt_lt_SP2NL
26953
26954 # turn newlines into spaces.
26955 NL2SP=$lt_lt_NL2SP
26956
26957 # An object symbol dumper.
26958 OBJDUMP=$lt_OBJDUMP
26959
26960 # Method to check whether dependent libraries are shared objects.
26961 deplibs_check_method=$lt_deplibs_check_method
26962
26963 # Command to use when deplibs_check_method == "file_magic".
26964 file_magic_cmd=$lt_file_magic_cmd
26965
26966 # The archiver.
26967 AR=$lt_AR
26968 AR_FLAGS=$lt_AR_FLAGS
26969
26970 # A symbol stripping program.
26971 STRIP=$lt_STRIP
26972
26973 # Commands used to install an old-style archive.
26974 RANLIB=$lt_RANLIB
26975 old_postinstall_cmds=$lt_old_postinstall_cmds
26976 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26977
26978 # Whether to use a lock for old archive extraction.
26979 lock_old_archive_extraction=$lock_old_archive_extraction
26980
26981 # A C compiler.
26982 LTCC=$lt_CC
26983
26984 # LTCC compiler flags.
26985 LTCFLAGS=$lt_CFLAGS
26986
26987 # Take the output of nm and produce a listing of raw symbols and C names.
26988 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26989
26990 # Transform the output of nm in a proper C declaration.
26991 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26992
26993 # Transform the output of nm in a C name address pair.
26994 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26995
26996 # Transform the output of nm in a C name address pair when lib prefix is needed.
26997 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26998
26999 # The name of the directory that contains temporary libtool files.
27000 objdir=$objdir
27001
27002 # Used to examine libraries when file_magic_cmd begins with "file".
27003 MAGIC_CMD=$MAGIC_CMD
27004
27005 # Must we lock files when doing compilation?
27006 need_locks=$lt_need_locks
27007
27008 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27009 DSYMUTIL=$lt_DSYMUTIL
27010
27011 # Tool to change global to local symbols on Mac OS X.
27012 NMEDIT=$lt_NMEDIT
27013
27014 # Tool to manipulate fat objects and archives on Mac OS X.
27015 LIPO=$lt_LIPO
27016
27017 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27018 OTOOL=$lt_OTOOL
27019
27020 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27021 OTOOL64=$lt_OTOOL64
27022
27023 # Old archive suffix (normally "a").
27024 libext=$libext
27025
27026 # Shared library suffix (normally ".so").
27027 shrext_cmds=$lt_shrext_cmds
27028
27029 # The commands to extract the exported symbol list from a shared archive.
27030 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27031
27032 # Variables whose values should be saved in libtool wrapper scripts and
27033 # restored at link time.
27034 variables_saved_for_relink=$lt_variables_saved_for_relink
27035
27036 # Do we need the "lib" prefix for modules?
27037 need_lib_prefix=$need_lib_prefix
27038
27039 # Do we need a version for libraries?
27040 need_version=$need_version
27041
27042 # Library versioning type.
27043 version_type=$version_type
27044
27045 # Shared library runtime path variable.
27046 runpath_var=$runpath_var
27047
27048 # Shared library path variable.
27049 shlibpath_var=$shlibpath_var
27050
27051 # Is shlibpath searched before the hard-coded library search path?
27052 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27053
27054 # Format of library name prefix.
27055 libname_spec=$lt_libname_spec
27056
27057 # List of archive names.  First name is the real one, the rest are links.
27058 # The last name is the one that the linker finds with -lNAME
27059 library_names_spec=$lt_library_names_spec
27060
27061 # The coded name of the library, if different from the real name.
27062 soname_spec=$lt_soname_spec
27063
27064 # Permission mode override for installation of shared libraries.
27065 install_override_mode=$lt_install_override_mode
27066
27067 # Command to use after installation of a shared archive.
27068 postinstall_cmds=$lt_postinstall_cmds
27069
27070 # Command to use after uninstallation of a shared archive.
27071 postuninstall_cmds=$lt_postuninstall_cmds
27072
27073 # Commands used to finish a libtool library installation in a directory.
27074 finish_cmds=$lt_finish_cmds
27075
27076 # As "finish_cmds", except a single script fragment to be evaled but
27077 # not shown.
27078 finish_eval=$lt_finish_eval
27079
27080 # Whether we should hardcode library paths into libraries.
27081 hardcode_into_libs=$hardcode_into_libs
27082
27083 # Compile-time system search path for libraries.
27084 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27085
27086 # Run-time system search path for libraries.
27087 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27088
27089 # Whether dlopen is supported.
27090 dlopen_support=$enable_dlopen
27091
27092 # Whether dlopen of programs is supported.
27093 dlopen_self=$enable_dlopen_self
27094
27095 # Whether dlopen of statically linked programs is supported.
27096 dlopen_self_static=$enable_dlopen_self_static
27097
27098 # Commands to strip libraries.
27099 old_striplib=$lt_old_striplib
27100 striplib=$lt_striplib
27101
27102
27103 # The linker used to build libraries.
27104 LD=$lt_LD
27105
27106 # How to create reloadable object files.
27107 reload_flag=$lt_reload_flag
27108 reload_cmds=$lt_reload_cmds
27109
27110 # Commands used to build an old-style archive.
27111 old_archive_cmds=$lt_old_archive_cmds
27112
27113 # A language specific compiler.
27114 CC=$lt_compiler
27115
27116 # Is the compiler the GNU compiler?
27117 with_gcc=$GCC
27118
27119 # Compiler flag to turn off builtin functions.
27120 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27121
27122 # How to pass a linker flag through the compiler.
27123 wl=$lt_lt_prog_compiler_wl
27124
27125 # Additional compiler flags for building library objects.
27126 pic_flag=$lt_lt_prog_compiler_pic
27127
27128 # Compiler flag to prevent dynamic linking.
27129 link_static_flag=$lt_lt_prog_compiler_static
27130
27131 # Does compiler simultaneously support -c and -o options?
27132 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27133
27134 # Whether or not to add -lc for building shared libraries.
27135 build_libtool_need_lc=$archive_cmds_need_lc
27136
27137 # Whether or not to disallow shared libs when runtime libs are static.
27138 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27139
27140 # Compiler flag to allow reflexive dlopens.
27141 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27142
27143 # Compiler flag to generate shared objects directly from archives.
27144 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27145
27146 # Whether the compiler copes with passing no objects directly.
27147 compiler_needs_object=$lt_compiler_needs_object
27148
27149 # Create an old-style archive from a shared archive.
27150 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27151
27152 # Create a temporary old-style archive to link instead of a shared archive.
27153 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27154
27155 # Commands used to build a shared archive.
27156 archive_cmds=$lt_archive_cmds
27157 archive_expsym_cmds=$lt_archive_expsym_cmds
27158
27159 # Commands used to build a loadable module if different from building
27160 # a shared archive.
27161 module_cmds=$lt_module_cmds
27162 module_expsym_cmds=$lt_module_expsym_cmds
27163
27164 # Whether we are building with GNU ld or not.
27165 with_gnu_ld=$lt_with_gnu_ld
27166
27167 # Flag that allows shared libraries with undefined symbols to be built.
27168 allow_undefined_flag=$lt_allow_undefined_flag
27169
27170 # Flag that enforces no undefined symbols.
27171 no_undefined_flag=$lt_no_undefined_flag
27172
27173 # Flag to hardcode \$libdir into a binary during linking.
27174 # This must work even if \$libdir does not exist
27175 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27176
27177 # If ld is used when linking, flag to hardcode \$libdir into a binary
27178 # during linking.  This must work even if \$libdir does not exist.
27179 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27180
27181 # Whether we need a single "-rpath" flag with a separated argument.
27182 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27183
27184 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27185 # DIR into the resulting binary.
27186 hardcode_direct=$hardcode_direct
27187
27188 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27189 # DIR into the resulting binary and the resulting library dependency is
27190 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27191 # library is relocated.
27192 hardcode_direct_absolute=$hardcode_direct_absolute
27193
27194 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27195 # into the resulting binary.
27196 hardcode_minus_L=$hardcode_minus_L
27197
27198 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27199 # into the resulting binary.
27200 hardcode_shlibpath_var=$hardcode_shlibpath_var
27201
27202 # Set to "yes" if building a shared library automatically hardcodes DIR
27203 # into the library and all subsequent libraries and executables linked
27204 # against it.
27205 hardcode_automatic=$hardcode_automatic
27206
27207 # Set to yes if linker adds runtime paths of dependent libraries
27208 # to runtime path list.
27209 inherit_rpath=$inherit_rpath
27210
27211 # Whether libtool must link a program against all its dependency libraries.
27212 link_all_deplibs=$link_all_deplibs
27213
27214 # Fix the shell variable \$srcfile for the compiler.
27215 fix_srcfile_path=$lt_fix_srcfile_path
27216
27217 # Set to "yes" if exported symbols are required.
27218 always_export_symbols=$always_export_symbols
27219
27220 # The commands to list exported symbols.
27221 export_symbols_cmds=$lt_export_symbols_cmds
27222
27223 # Symbols that should not be listed in the preloaded symbols.
27224 exclude_expsyms=$lt_exclude_expsyms
27225
27226 # Symbols that must always be exported.
27227 include_expsyms=$lt_include_expsyms
27228
27229 # Commands necessary for linking programs (against libraries) with templates.
27230 prelink_cmds=$lt_prelink_cmds
27231
27232 # Specify filename containing input files.
27233 file_list_spec=$lt_file_list_spec
27234
27235 # How to hardcode a shared library path into an executable.
27236 hardcode_action=$hardcode_action
27237
27238 # The directories searched by this compiler when creating a shared library.
27239 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27240
27241 # Dependencies to place before and after the objects being linked to
27242 # create a shared library.
27243 predep_objects=$lt_predep_objects
27244 postdep_objects=$lt_postdep_objects
27245 predeps=$lt_predeps
27246 postdeps=$lt_postdeps
27247
27248 # The library search path used internally by the compiler when linking
27249 # a shared library.
27250 compiler_lib_search_path=$lt_compiler_lib_search_path
27251
27252 # ### END LIBTOOL CONFIG
27253
27254 _LT_EOF
27255
27256   case $host_os in
27257   aix3*)
27258     cat <<\_LT_EOF >> "$cfgfile"
27259 # AIX sometimes has problems with the GCC collect2 program.  For some
27260 # reason, if we set the COLLECT_NAMES environment variable, the problems
27261 # vanish in a puff of smoke.
27262 if test "X${COLLECT_NAMES+set}" != Xset; then
27263   COLLECT_NAMES=
27264   export COLLECT_NAMES
27265 fi
27266 _LT_EOF
27267     ;;
27268   esac
27269
27270
27271 ltmain="$ac_aux_dir/ltmain.sh"
27272
27273
27274   # We use sed instead of cat because bash on DJGPP gets confused if
27275   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
27276   # text mode, it properly converts lines to CR/LF.  This bash problem
27277   # is reportedly fixed, but why not run on old versions too?
27278   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27279     || (rm -f "$cfgfile"; exit 1)
27280
27281   case $xsi_shell in
27282   yes)
27283     cat << \_LT_EOF >> "$cfgfile"
27284
27285 # func_dirname file append nondir_replacement
27286 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
27287 # otherwise set result to NONDIR_REPLACEMENT.
27288 func_dirname ()
27289 {
27290   case ${1} in
27291     */*) func_dirname_result="${1%/*}${2}" ;;
27292     *  ) func_dirname_result="${3}" ;;
27293   esac
27294 }
27295
27296 # func_basename file
27297 func_basename ()
27298 {
27299   func_basename_result="${1##*/}"
27300 }
27301
27302 # func_dirname_and_basename file append nondir_replacement
27303 # perform func_basename and func_dirname in a single function
27304 # call:
27305 #   dirname:  Compute the dirname of FILE.  If nonempty,
27306 #             add APPEND to the result, otherwise set result
27307 #             to NONDIR_REPLACEMENT.
27308 #             value returned in "$func_dirname_result"
27309 #   basename: Compute filename of FILE.
27310 #             value retuned in "$func_basename_result"
27311 # Implementation must be kept synchronized with func_dirname
27312 # and func_basename. For efficiency, we do not delegate to
27313 # those functions but instead duplicate the functionality here.
27314 func_dirname_and_basename ()
27315 {
27316   case ${1} in
27317     */*) func_dirname_result="${1%/*}${2}" ;;
27318     *  ) func_dirname_result="${3}" ;;
27319   esac
27320   func_basename_result="${1##*/}"
27321 }
27322
27323 # func_stripname prefix suffix name
27324 # strip PREFIX and SUFFIX off of NAME.
27325 # PREFIX and SUFFIX must not contain globbing or regex special
27326 # characters, hashes, percent signs, but SUFFIX may contain a leading
27327 # dot (in which case that matches only a dot).
27328 func_stripname ()
27329 {
27330   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27331   # positional parameters, so assign one to ordinary parameter first.
27332   func_stripname_result=${3}
27333   func_stripname_result=${func_stripname_result#"${1}"}
27334   func_stripname_result=${func_stripname_result%"${2}"}
27335 }
27336
27337 # func_opt_split
27338 func_opt_split ()
27339 {
27340   func_opt_split_opt=${1%%=*}
27341   func_opt_split_arg=${1#*=}
27342 }
27343
27344 # func_lo2o object
27345 func_lo2o ()
27346 {
27347   case ${1} in
27348     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
27349     *)    func_lo2o_result=${1} ;;
27350   esac
27351 }
27352
27353 # func_xform libobj-or-source
27354 func_xform ()
27355 {
27356   func_xform_result=${1%.*}.lo
27357 }
27358
27359 # func_arith arithmetic-term...
27360 func_arith ()
27361 {
27362   func_arith_result=$(( $* ))
27363 }
27364
27365 # func_len string
27366 # STRING may not start with a hyphen.
27367 func_len ()
27368 {
27369   func_len_result=${#1}
27370 }
27371
27372 _LT_EOF
27373     ;;
27374   *) # Bourne compatible functions.
27375     cat << \_LT_EOF >> "$cfgfile"
27376
27377 # func_dirname file append nondir_replacement
27378 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
27379 # otherwise set result to NONDIR_REPLACEMENT.
27380 func_dirname ()
27381 {
27382   # Extract subdirectory from the argument.
27383   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
27384   if test "X$func_dirname_result" = "X${1}"; then
27385     func_dirname_result="${3}"
27386   else
27387     func_dirname_result="$func_dirname_result${2}"
27388   fi
27389 }
27390
27391 # func_basename file
27392 func_basename ()
27393 {
27394   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
27395 }
27396
27397
27398 # func_stripname prefix suffix name
27399 # strip PREFIX and SUFFIX off of NAME.
27400 # PREFIX and SUFFIX must not contain globbing or regex special
27401 # characters, hashes, percent signs, but SUFFIX may contain a leading
27402 # dot (in which case that matches only a dot).
27403 # func_strip_suffix prefix name
27404 func_stripname ()
27405 {
27406   case ${2} in
27407     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27408     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27409   esac
27410 }
27411
27412 # sed scripts:
27413 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
27414 my_sed_long_arg='1s/^-[^=]*=//'
27415
27416 # func_opt_split
27417 func_opt_split ()
27418 {
27419   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27420   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27421 }
27422
27423 # func_lo2o object
27424 func_lo2o ()
27425 {
27426   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
27427 }
27428
27429 # func_xform libobj-or-source
27430 func_xform ()
27431 {
27432   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27433 }
27434
27435 # func_arith arithmetic-term...
27436 func_arith ()
27437 {
27438   func_arith_result=`expr "$@"`
27439 }
27440
27441 # func_len string
27442 # STRING may not start with a hyphen.
27443 func_len ()
27444 {
27445   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27446 }
27447
27448 _LT_EOF
27449 esac
27450
27451 case $lt_shell_append in
27452   yes)
27453     cat << \_LT_EOF >> "$cfgfile"
27454
27455 # func_append var value
27456 # Append VALUE to the end of shell variable VAR.
27457 func_append ()
27458 {
27459   eval "$1+=\$2"
27460 }
27461 _LT_EOF
27462     ;;
27463   *)
27464     cat << \_LT_EOF >> "$cfgfile"
27465
27466 # func_append var value
27467 # Append VALUE to the end of shell variable VAR.
27468 func_append ()
27469 {
27470   eval "$1=\$$1\$2"
27471 }
27472
27473 _LT_EOF
27474     ;;
27475   esac
27476
27477
27478   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27479     || (rm -f "$cfgfile"; exit 1)
27480
27481   mv -f "$cfgfile" "$ofile" ||
27482     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27483   chmod +x "$ofile"
27484
27485
27486     cat <<_LT_EOF >> "$ofile"
27487
27488 # ### BEGIN LIBTOOL TAG CONFIG: FC
27489
27490 # The linker used to build libraries.
27491 LD=$lt_LD_FC
27492
27493 # How to create reloadable object files.
27494 reload_flag=$lt_reload_flag_FC
27495 reload_cmds=$lt_reload_cmds_FC
27496
27497 # Commands used to build an old-style archive.
27498 old_archive_cmds=$lt_old_archive_cmds_FC
27499
27500 # A language specific compiler.
27501 CC=$lt_compiler_FC
27502
27503 # Is the compiler the GNU compiler?
27504 with_gcc=$GCC_FC
27505
27506 # Compiler flag to turn off builtin functions.
27507 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
27508
27509 # How to pass a linker flag through the compiler.
27510 wl=$lt_lt_prog_compiler_wl_FC
27511
27512 # Additional compiler flags for building library objects.
27513 pic_flag=$lt_lt_prog_compiler_pic_FC
27514
27515 # Compiler flag to prevent dynamic linking.
27516 link_static_flag=$lt_lt_prog_compiler_static_FC
27517
27518 # Does compiler simultaneously support -c and -o options?
27519 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
27520
27521 # Whether or not to add -lc for building shared libraries.
27522 build_libtool_need_lc=$archive_cmds_need_lc_FC
27523
27524 # Whether or not to disallow shared libs when runtime libs are static.
27525 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
27526
27527 # Compiler flag to allow reflexive dlopens.
27528 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
27529
27530 # Compiler flag to generate shared objects directly from archives.
27531 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
27532
27533 # Whether the compiler copes with passing no objects directly.
27534 compiler_needs_object=$lt_compiler_needs_object_FC
27535
27536 # Create an old-style archive from a shared archive.
27537 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
27538
27539 # Create a temporary old-style archive to link instead of a shared archive.
27540 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
27541
27542 # Commands used to build a shared archive.
27543 archive_cmds=$lt_archive_cmds_FC
27544 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
27545
27546 # Commands used to build a loadable module if different from building
27547 # a shared archive.
27548 module_cmds=$lt_module_cmds_FC
27549 module_expsym_cmds=$lt_module_expsym_cmds_FC
27550
27551 # Whether we are building with GNU ld or not.
27552 with_gnu_ld=$lt_with_gnu_ld_FC
27553
27554 # Flag that allows shared libraries with undefined symbols to be built.
27555 allow_undefined_flag=$lt_allow_undefined_flag_FC
27556
27557 # Flag that enforces no undefined symbols.
27558 no_undefined_flag=$lt_no_undefined_flag_FC
27559
27560 # Flag to hardcode \$libdir into a binary during linking.
27561 # This must work even if \$libdir does not exist
27562 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
27563
27564 # If ld is used when linking, flag to hardcode \$libdir into a binary
27565 # during linking.  This must work even if \$libdir does not exist.
27566 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
27567
27568 # Whether we need a single "-rpath" flag with a separated argument.
27569 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
27570
27571 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27572 # DIR into the resulting binary.
27573 hardcode_direct=$hardcode_direct_FC
27574
27575 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27576 # DIR into the resulting binary and the resulting library dependency is
27577 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27578 # library is relocated.
27579 hardcode_direct_absolute=$hardcode_direct_absolute_FC
27580
27581 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27582 # into the resulting binary.
27583 hardcode_minus_L=$hardcode_minus_L_FC
27584
27585 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27586 # into the resulting binary.
27587 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
27588
27589 # Set to "yes" if building a shared library automatically hardcodes DIR
27590 # into the library and all subsequent libraries and executables linked
27591 # against it.
27592 hardcode_automatic=$hardcode_automatic_FC
27593
27594 # Set to yes if linker adds runtime paths of dependent libraries
27595 # to runtime path list.
27596 inherit_rpath=$inherit_rpath_FC
27597
27598 # Whether libtool must link a program against all its dependency libraries.
27599 link_all_deplibs=$link_all_deplibs_FC
27600
27601 # Fix the shell variable \$srcfile for the compiler.
27602 fix_srcfile_path=$lt_fix_srcfile_path_FC
27603
27604 # Set to "yes" if exported symbols are required.
27605 always_export_symbols=$always_export_symbols_FC
27606
27607 # The commands to list exported symbols.
27608 export_symbols_cmds=$lt_export_symbols_cmds_FC
27609
27610 # Symbols that should not be listed in the preloaded symbols.
27611 exclude_expsyms=$lt_exclude_expsyms_FC
27612
27613 # Symbols that must always be exported.
27614 include_expsyms=$lt_include_expsyms_FC
27615
27616 # Commands necessary for linking programs (against libraries) with templates.
27617 prelink_cmds=$lt_prelink_cmds_FC
27618
27619 # Specify filename containing input files.
27620 file_list_spec=$lt_file_list_spec_FC
27621
27622 # How to hardcode a shared library path into an executable.
27623 hardcode_action=$hardcode_action_FC
27624
27625 # The directories searched by this compiler when creating a shared library.
27626 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
27627
27628 # Dependencies to place before and after the objects being linked to
27629 # create a shared library.
27630 predep_objects=$lt_predep_objects_FC
27631 postdep_objects=$lt_postdep_objects_FC
27632 predeps=$lt_predeps_FC
27633 postdeps=$lt_postdeps_FC
27634
27635 # The library search path used internally by the compiler when linking
27636 # a shared library.
27637 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
27638
27639 # ### END LIBTOOL TAG CONFIG: FC
27640 _LT_EOF
27641
27642  ;;
27643     "gstdint.h":C)
27644 if test "$GCC" = yes; then
27645   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
27646 else
27647   echo "/* generated for $CC */" > tmp-stdint.h
27648 fi
27649
27650 sed 's/^ *//' >> tmp-stdint.h <<EOF
27651
27652   #ifndef GCC_GENERATED_STDINT_H
27653   #define GCC_GENERATED_STDINT_H 1
27654
27655   #include <sys/types.h>
27656 EOF
27657
27658 if test "$acx_cv_header_stdint" != stdint.h; then
27659   echo "#include <stddef.h>" >> tmp-stdint.h
27660 fi
27661 if test "$acx_cv_header_stdint" != stddef.h; then
27662   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
27663 fi
27664
27665 sed 's/^ *//' >> tmp-stdint.h <<EOF
27666   /* glibc uses these symbols as guards to prevent redefinitions.  */
27667   #ifdef __int8_t_defined
27668   #define _INT8_T
27669   #define _INT16_T
27670   #define _INT32_T
27671   #endif
27672   #ifdef __uint32_t_defined
27673   #define _UINT32_T
27674   #endif
27675
27676 EOF
27677
27678 # ----------------- done header, emit basic int types -------------
27679 if test "$acx_cv_header_stdint" = stddef.h; then
27680   sed 's/^ *//' >> tmp-stdint.h <<EOF
27681
27682     #ifndef _UINT8_T
27683     #define _UINT8_T
27684     #ifndef __uint8_t_defined
27685     #define __uint8_t_defined
27686     #ifndef uint8_t
27687     typedef unsigned $acx_cv_type_int8_t uint8_t;
27688     #endif
27689     #endif
27690     #endif
27691
27692     #ifndef _UINT16_T
27693     #define _UINT16_T
27694     #ifndef __uint16_t_defined
27695     #define __uint16_t_defined
27696     #ifndef uint16_t
27697     typedef unsigned $acx_cv_type_int16_t uint16_t;
27698     #endif
27699     #endif
27700     #endif
27701
27702     #ifndef _UINT32_T
27703     #define _UINT32_T
27704     #ifndef __uint32_t_defined
27705     #define __uint32_t_defined
27706     #ifndef uint32_t
27707     typedef unsigned $acx_cv_type_int32_t uint32_t;
27708     #endif
27709     #endif
27710     #endif
27711
27712     #ifndef _INT8_T
27713     #define _INT8_T
27714     #ifndef __int8_t_defined
27715     #define __int8_t_defined
27716     #ifndef int8_t
27717     typedef $acx_cv_type_int8_t int8_t;
27718     #endif
27719     #endif
27720     #endif
27721
27722     #ifndef _INT16_T
27723     #define _INT16_T
27724     #ifndef __int16_t_defined
27725     #define __int16_t_defined
27726     #ifndef int16_t
27727     typedef $acx_cv_type_int16_t int16_t;
27728     #endif
27729     #endif
27730     #endif
27731
27732     #ifndef _INT32_T
27733     #define _INT32_T
27734     #ifndef __int32_t_defined
27735     #define __int32_t_defined
27736     #ifndef int32_t
27737     typedef $acx_cv_type_int32_t int32_t;
27738     #endif
27739     #endif
27740     #endif
27741 EOF
27742 elif test "$ac_cv_type_u_int32_t" = yes; then
27743   sed 's/^ *//' >> tmp-stdint.h <<EOF
27744
27745     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
27746     #ifndef _INT8_T
27747     #define _INT8_T
27748     #endif
27749     #ifndef _INT16_T
27750     #define _INT16_T
27751     #endif
27752     #ifndef _INT32_T
27753     #define _INT32_T
27754     #endif
27755
27756     #ifndef _UINT8_T
27757     #define _UINT8_T
27758     #ifndef __uint8_t_defined
27759     #define __uint8_t_defined
27760     #ifndef uint8_t
27761     typedef u_int8_t uint8_t;
27762     #endif
27763     #endif
27764     #endif
27765
27766     #ifndef _UINT16_T
27767     #define _UINT16_T
27768     #ifndef __uint16_t_defined
27769     #define __uint16_t_defined
27770     #ifndef uint16_t
27771     typedef u_int16_t uint16_t;
27772     #endif
27773     #endif
27774     #endif
27775
27776     #ifndef _UINT32_T
27777     #define _UINT32_T
27778     #ifndef __uint32_t_defined
27779     #define __uint32_t_defined
27780     #ifndef uint32_t
27781     typedef u_int32_t uint32_t;
27782     #endif
27783     #endif
27784     #endif
27785 EOF
27786 else
27787   sed 's/^ *//' >> tmp-stdint.h <<EOF
27788
27789     /* Some systems have guard macros to prevent redefinitions, define them.  */
27790     #ifndef _INT8_T
27791     #define _INT8_T
27792     #endif
27793     #ifndef _INT16_T
27794     #define _INT16_T
27795     #endif
27796     #ifndef _INT32_T
27797     #define _INT32_T
27798     #endif
27799     #ifndef _UINT8_T
27800     #define _UINT8_T
27801     #endif
27802     #ifndef _UINT16_T
27803     #define _UINT16_T
27804     #endif
27805     #ifndef _UINT32_T
27806     #define _UINT32_T
27807     #endif
27808 EOF
27809 fi
27810
27811 # ------------- done basic int types, emit int64_t types ------------
27812 if test "$ac_cv_type_uint64_t" = yes; then
27813   sed 's/^ *//' >> tmp-stdint.h <<EOF
27814
27815     /* system headers have good uint64_t and int64_t */
27816     #ifndef _INT64_T
27817     #define _INT64_T
27818     #endif
27819     #ifndef _UINT64_T
27820     #define _UINT64_T
27821     #endif
27822 EOF
27823 elif test "$ac_cv_type_u_int64_t" = yes; then
27824   sed 's/^ *//' >> tmp-stdint.h <<EOF
27825
27826     /* system headers have an u_int64_t (and int64_t) */
27827     #ifndef _INT64_T
27828     #define _INT64_T
27829     #endif
27830     #ifndef _UINT64_T
27831     #define _UINT64_T
27832     #ifndef __uint64_t_defined
27833     #define __uint64_t_defined
27834     #ifndef uint64_t
27835     typedef u_int64_t uint64_t;
27836     #endif
27837     #endif
27838     #endif
27839 EOF
27840 elif test -n "$acx_cv_type_int64_t"; then
27841   sed 's/^ *//' >> tmp-stdint.h <<EOF
27842
27843     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
27844     #ifndef _INT64_T
27845     #define _INT64_T
27846     #ifndef int64_t
27847     typedef $acx_cv_type_int64_t int64_t;
27848     #endif
27849     #endif
27850     #ifndef _UINT64_T
27851     #define _UINT64_T
27852     #ifndef __uint64_t_defined
27853     #define __uint64_t_defined
27854     #ifndef uint64_t
27855     typedef unsigned $acx_cv_type_int64_t uint64_t;
27856     #endif
27857     #endif
27858     #endif
27859 EOF
27860 else
27861   sed 's/^ *//' >> tmp-stdint.h <<EOF
27862
27863     /* some common heuristics for int64_t, using compiler-specific tests */
27864     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
27865     #ifndef _INT64_T
27866     #define _INT64_T
27867     #ifndef __int64_t_defined
27868     #ifndef int64_t
27869     typedef long long int64_t;
27870     #endif
27871     #endif
27872     #endif
27873     #ifndef _UINT64_T
27874     #define _UINT64_T
27875     #ifndef uint64_t
27876     typedef unsigned long long uint64_t;
27877     #endif
27878     #endif
27879
27880     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
27881     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
27882        does not implement __extension__.  But that compiler doesn't define
27883        __GNUC_MINOR__.  */
27884     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
27885     # define __extension__
27886     # endif
27887
27888     # ifndef _INT64_T
27889     # define _INT64_T
27890     # ifndef int64_t
27891     __extension__ typedef long long int64_t;
27892     # endif
27893     # endif
27894     # ifndef _UINT64_T
27895     # define _UINT64_T
27896     # ifndef uint64_t
27897     __extension__ typedef unsigned long long uint64_t;
27898     # endif
27899     # endif
27900
27901     #elif !defined __STRICT_ANSI__
27902     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
27903
27904     #  ifndef _INT64_T
27905     #  define _INT64_T
27906     #  ifndef int64_t
27907     typedef __int64 int64_t;
27908     #  endif
27909     #  endif
27910     #  ifndef _UINT64_T
27911     #  define _UINT64_T
27912     #  ifndef uint64_t
27913     typedef unsigned __int64 uint64_t;
27914     #  endif
27915     #  endif
27916     # endif /* compiler */
27917
27918     #endif /* ANSI version */
27919 EOF
27920 fi
27921
27922 # ------------- done int64_t types, emit intptr types ------------
27923 if test "$ac_cv_type_uintptr_t" != yes; then
27924   sed 's/^ *//' >> tmp-stdint.h <<EOF
27925
27926     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
27927     #ifndef __uintptr_t_defined
27928     #ifndef uintptr_t
27929     typedef u$acx_cv_type_intptr_t uintptr_t;
27930     #endif
27931     #endif
27932     #ifndef __intptr_t_defined
27933     #ifndef intptr_t
27934     typedef $acx_cv_type_intptr_t  intptr_t;
27935     #endif
27936     #endif
27937 EOF
27938 fi
27939
27940 # ------------- done intptr types, emit int_least types ------------
27941 if test "$ac_cv_type_int_least32_t" != yes; then
27942   sed 's/^ *//' >> tmp-stdint.h <<EOF
27943
27944     /* Define int_least types */
27945     typedef int8_t     int_least8_t;
27946     typedef int16_t    int_least16_t;
27947     typedef int32_t    int_least32_t;
27948     #ifdef _INT64_T
27949     typedef int64_t    int_least64_t;
27950     #endif
27951
27952     typedef uint8_t    uint_least8_t;
27953     typedef uint16_t   uint_least16_t;
27954     typedef uint32_t   uint_least32_t;
27955     #ifdef _UINT64_T
27956     typedef uint64_t   uint_least64_t;
27957     #endif
27958 EOF
27959 fi
27960
27961 # ------------- done intptr types, emit int_fast types ------------
27962 if test "$ac_cv_type_int_fast32_t" != yes; then
27963       sed 's/^ *//' >> tmp-stdint.h <<EOF
27964
27965     /* Define int_fast types.  short is often slow */
27966     typedef int8_t       int_fast8_t;
27967     typedef int          int_fast16_t;
27968     typedef int32_t      int_fast32_t;
27969     #ifdef _INT64_T
27970     typedef int64_t      int_fast64_t;
27971     #endif
27972
27973     typedef uint8_t      uint_fast8_t;
27974     typedef unsigned int uint_fast16_t;
27975     typedef uint32_t     uint_fast32_t;
27976     #ifdef _UINT64_T
27977     typedef uint64_t     uint_fast64_t;
27978     #endif
27979 EOF
27980 fi
27981
27982 if test "$ac_cv_type_uintmax_t" != yes; then
27983   sed 's/^ *//' >> tmp-stdint.h <<EOF
27984
27985     /* Define intmax based on what we found */
27986     #ifndef intmax_t
27987     #ifdef _INT64_T
27988     typedef int64_t       intmax_t;
27989     #else
27990     typedef long          intmax_t;
27991     #endif
27992     #endif
27993     #ifndef uintmax_t
27994     #ifdef _UINT64_T
27995     typedef uint64_t      uintmax_t;
27996     #else
27997     typedef unsigned long uintmax_t;
27998     #endif
27999     #endif
28000 EOF
28001 fi
28002
28003 sed 's/^ *//' >> tmp-stdint.h <<EOF
28004
28005   #endif /* GCC_GENERATED_STDINT_H */
28006 EOF
28007
28008 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
28009   rm -f tmp-stdint.h
28010 else
28011   mv -f tmp-stdint.h gstdint.h
28012 fi
28013
28014  ;;
28015
28016   esac
28017 done # for ac_tag
28018
28019
28020 as_fn_exit 0
28021 _ACEOF
28022 ac_clean_files=$ac_clean_files_save
28023
28024 test $ac_write_fail = 0 ||
28025   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
28026
28027
28028 # configure is writing to config.log, and then calls config.status.
28029 # config.status does its own redirection, appending to config.log.
28030 # Unfortunately, on DOS this fails, as config.log is still kept open
28031 # by configure, so config.status won't be able to write to it; its
28032 # output is simply discarded.  So we exec the FD to /dev/null,
28033 # effectively closing config.log, so it can be properly (re)opened and
28034 # appended to by config.status.  When coming back to configure, we
28035 # need to make the FD available again.
28036 if test "$no_create" != yes; then
28037   ac_cs_success=:
28038   ac_config_status_args=
28039   test "$silent" = yes &&
28040     ac_config_status_args="$ac_config_status_args --quiet"
28041   exec 5>/dev/null
28042   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28043   exec 5>>config.log
28044   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28045   # would make configure fail if this is the last instruction.
28046   $ac_cs_success || as_fn_exit $?
28047 fi
28048 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28049   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28050 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28051 fi
28052