OSDN Git Service

* acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): Set shell variable
[pf3gnuchains/gcc-fork.git] / libgfortran / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Fortran Runtime Library 0.3.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 case $0 in #((
91   *[\\/]* ) as_myself=$0 ;;
92   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95   IFS=$as_save_IFS
96   test -z "$as_dir" && as_dir=.
97     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98   done
99 IFS=$as_save_IFS
100
101      ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106   as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110   exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there.  '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136   emulate sh
137   NULLCMD=:
138   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139   # is contrary to our usage.  Disable this feature.
140   alias -g '\${1+\"\$@\"}'='\"\$@\"'
141   setopt NO_GLOB_SUBST
142 else
143   case \`(set -o) 2>/dev/null\` in #(
144   *posix*) :
145     set -o posix ;; #(
146   *) :
147      ;;
148 esac
149 fi
150 "
151   as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165   exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178     PATH=/empty FPATH=/empty; export PATH FPATH
179     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181   if (eval "$as_required") 2>/dev/null; then :
182   as_have_required=yes
183 else
184   as_have_required=no
185 fi
186   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193   IFS=$as_save_IFS
194   test -z "$as_dir" && as_dir=.
195   as_found=:
196   case $as_dir in #(
197          /*)
198            for as_base in sh bash ksh sh5; do
199              # Try only shells that exist, to save several forks.
200              as_shell=$as_dir/$as_base
201              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203   CONFIG_SHELL=$as_shell as_have_required=yes
204                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205   break 2
206 fi
207 fi
208            done;;
209        esac
210   as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214   CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219       if test "x$CONFIG_SHELL" != x; then :
220   # We cannot yet assume a decent shell, so we have to provide a
221         # neutralization value for shells without unset; and this also
222         # works around shells that cannot unset nonexistent variables.
223         BASH_ENV=/dev/null
224         ENV=/dev/null
225         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226         export CONFIG_SHELL
227         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230     if test x$as_have_required = xno; then :
231   $as_echo "$0: This script requires a shell more modern than all"
232   $as_echo "$0: the shells that I found on your system."
233   if test x${ZSH_VERSION+set} = xset ; then
234     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236   else
237     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241   fi
242   exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260   { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269   return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277   set +e
278   as_fn_set_status $1
279   exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288   case $as_dir in #(
289   -*) as_dir=./$as_dir;;
290   esac
291   test -d "$as_dir" || eval $as_mkdir_p || {
292     as_dirs=
293     while :; do
294       case $as_dir in #(
295       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296       *) as_qdir=$as_dir;;
297       esac
298       as_dirs="'$as_qdir' $as_dirs"
299       as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301          X"$as_dir" : 'X\(//\)[^/]' \| \
302          X"$as_dir" : 'X\(//\)$' \| \
303          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306             s//\1/
307             q
308           }
309           /^X\(\/\/\)[^/].*/{
310             s//\1/
311             q
312           }
313           /^X\(\/\/\)$/{
314             s//\1/
315             q
316           }
317           /^X\(\/\).*/{
318             s//\1/
319             q
320           }
321           s/.*/./; q'`
322       test -d "$as_dir" && break
323     done
324     test -z "$as_dirs" || eval "mkdir $as_dirs"
325   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336   eval 'as_fn_append ()
337   {
338     eval $1+=\$2
339   }'
340 else
341   as_fn_append ()
342   {
343     eval $1=\$$1\$2
344   }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353   eval 'as_fn_arith ()
354   {
355     as_val=$(( $* ))
356   }'
357 else
358   as_fn_arith ()
359   {
360     as_val=`expr "$@" || test $? -eq 1`
361   }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372   as_status=$?; test $as_status -eq 0 && as_status=1
373   if test "$3"; then
374     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376   fi
377   $as_echo "$as_me: error: $1" >&2
378   as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382    test "X`expr 00001 : '.*\(...\)'`" = X001; then
383   as_expr=expr
384 else
385   as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389   as_basename=basename
390 else
391   as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395   as_dirname=dirname
396 else
397   as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402          X"$0" : 'X\(//\)$' \| \
403          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405     sed '/^.*\/\([^/][^/]*\)\/*$/{
406             s//\1/
407             q
408           }
409           /^X\/\(\/\/\)$/{
410             s//\1/
411             q
412           }
413           /^X\/\(\/\).*/{
414             s//\1/
415             q
416           }
417           s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427   as_lineno_1=$LINENO as_lineno_1a=$LINENO
428   as_lineno_2=$LINENO as_lineno_2a=$LINENO
429   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
432   sed -n '
433     p
434     /[$]LINENO/=
435   ' <$as_myself |
436     sed '
437       s/[$]LINENO.*/&-/
438       t lineno
439       b
440       :lineno
441       N
442       :loop
443       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444       t loop
445       s/-\n.*//
446     ' >$as_me.lineno &&
447   chmod +x "$as_me.lineno" ||
448     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450   # Don't try to exec as it changes $[0], causing all sort of problems
451   # (the dirname of $[0] is not the place where we might find the
452   # original and so on.  Autoconf is especially sensitive to this).
453   . "./$as_me.lineno"
454   # Exit status is that of the last command.
455   exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461   case `echo 'xy\c'` in
462   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
463   xy)  ECHO_C='\c';;
464   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
465        ECHO_T=' ';;
466   esac;;
467 *)
468   ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473   rm -f conf$$.dir/conf$$.file
474 else
475   rm -f conf$$.dir
476   mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479   if ln -s conf$$.file conf$$ 2>/dev/null; then
480     as_ln_s='ln -s'
481     # ... but there are two gotchas:
482     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484     # In both cases, we have to default to `cp -p'.
485     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486       as_ln_s='cp -p'
487   elif ln conf$$.file conf$$ 2>/dev/null; then
488     as_ln_s=ln
489   else
490     as_ln_s='cp -p'
491   fi
492 else
493   as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499   as_mkdir_p='mkdir -p "$as_dir"'
500 else
501   test -d ./-p && rmdir ./-p
502   as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506   as_test_x='test -x'
507 else
508   if ls -dL / >/dev/null 2>&1; then
509     as_ls_L_option=L
510   else
511     as_ls_L_option=
512   fi
513   as_test_x='
514     eval sh -c '\''
515       if test -d "$1"; then
516         test -d "$1/.";
517       else
518         case $1 in #(
519         -*)set "./$1";;
520         esac;
521         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522         ???[sx]*):;;*)false;;esac;fi
523     '\'' sh
524   '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='GNU Fortran Runtime Library'
558 PACKAGE_TARNAME='libgfortran'
559 PACKAGE_VERSION='0.3'
560 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
563
564 # Factoring default headers for most tests.
565 ac_includes_default="\
566 #include <stdio.h>
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
569 #endif
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
572 #endif
573 #ifdef STDC_HEADERS
574 # include <stdlib.h>
575 # include <stddef.h>
576 #else
577 # ifdef HAVE_STDLIB_H
578 #  include <stdlib.h>
579 # endif
580 #endif
581 #ifdef HAVE_STRING_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
583 #  include <memory.h>
584 # endif
585 # include <string.h>
586 #endif
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
589 #endif
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
592 #endif
593 #ifdef HAVE_STDINT_H
594 # include <stdint.h>
595 #endif
596 #ifdef HAVE_UNISTD_H
597 # include <unistd.h>
598 #endif"
599
600 ac_c_werror_flag=
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 IEEE_FLAGS
606 FPU_HOST_HEADER
607 LIBGFOR_BUILD_QUAD_FALSE
608 LIBGFOR_BUILD_QUAD_TRUE
609 LIBQUADINCLUDE
610 LIBQUADLIB_DEP
611 LIBQUADLIB
612 LIBQUADSPEC
613 extra_ldflags_libgfortran
614 ac_ct_FC
615 FCFLAGS
616 FC
617 enable_static
618 enable_shared
619 lt_host_flags
620 OTOOL64
621 OTOOL
622 LIPO
623 NMEDIT
624 DSYMUTIL
625 OBJDUMP
626 LN_S
627 NM
628 ac_ct_DUMPBIN
629 DUMPBIN
630 LD
631 FGREP
632 SED
633 LIBTOOL
634 RANLIB
635 AR
636 AS
637 SECTION_FLAGS
638 LIBGFOR_USE_SYMVER_SUN_FALSE
639 LIBGFOR_USE_SYMVER_SUN_TRUE
640 LIBGFOR_USE_SYMVER_GNU_FALSE
641 LIBGFOR_USE_SYMVER_GNU_TRUE
642 LIBGFOR_USE_SYMVER_FALSE
643 LIBGFOR_USE_SYMVER_TRUE
644 AM_CFLAGS
645 AM_FCFLAGS
646 toolexeclibdir
647 toolexecdir
648 EGREP
649 GREP
650 CPP
651 am__fastdepCC_FALSE
652 am__fastdepCC_TRUE
653 CCDEPMODE
654 AMDEPBACKSLASH
655 AMDEP_FALSE
656 AMDEP_TRUE
657 am__quote
658 am__include
659 DEPDIR
660 OBJEXT
661 EXEEXT
662 ac_ct_CC
663 CPPFLAGS
664 LDFLAGS
665 CFLAGS
666 CC
667 multi_basedir
668 MAINT
669 MAINTAINER_MODE_FALSE
670 MAINTAINER_MODE_TRUE
671 am__untar
672 am__tar
673 AMTAR
674 am__leading_dot
675 SET_MAKE
676 AWK
677 mkdir_p
678 MKDIR_P
679 INSTALL_STRIP_PROGRAM
680 STRIP
681 install_sh
682 MAKEINFO
683 AUTOHEADER
684 AUTOMAKE
685 AUTOCONF
686 ACLOCAL
687 VERSION
688 PACKAGE
689 CYGPATH_W
690 am__isrc
691 INSTALL_DATA
692 INSTALL_SCRIPT
693 INSTALL_PROGRAM
694 target_os
695 target_vendor
696 target_cpu
697 target
698 host_os
699 host_vendor
700 host_cpu
701 host
702 onestep
703 onestep_FALSE
704 onestep_TRUE
705 target_subdir
706 host_subdir
707 build_subdir
708 build_libsubdir
709 build_os
710 build_vendor
711 build_cpu
712 build
713 target_alias
714 host_alias
715 build_alias
716 LIBS
717 ECHO_T
718 ECHO_N
719 ECHO_C
720 DEFS
721 mandir
722 localedir
723 libdir
724 psdir
725 pdfdir
726 dvidir
727 htmldir
728 infodir
729 docdir
730 oldincludedir
731 includedir
732 localstatedir
733 sharedstatedir
734 sysconfdir
735 datadir
736 datarootdir
737 libexecdir
738 sbindir
739 bindir
740 program_transform_name
741 prefix
742 exec_prefix
743 PACKAGE_URL
744 PACKAGE_BUGREPORT
745 PACKAGE_STRING
746 PACKAGE_VERSION
747 PACKAGE_TARNAME
748 PACKAGE_NAME
749 PATH_SEPARATOR
750 SHELL'
751 ac_subst_files=''
752 ac_user_opts='
753 enable_option_checking
754 with_build_libsubdir
755 enable_version_specific_runtime_libs
756 enable_intermodule
757 enable_maintainer_mode
758 enable_multilib
759 enable_dependency_tracking
760 enable_shared
761 enable_static
762 with_pic
763 enable_fast_install
764 with_gnu_ld
765 enable_libtool_lock
766 enable_largefile
767 enable_libquadmath_support
768 '
769       ac_precious_vars='build_alias
770 host_alias
771 target_alias
772 CC
773 CFLAGS
774 LDFLAGS
775 LIBS
776 CPPFLAGS
777 CPP
778 FC
779 FCFLAGS'
780
781
782 # Initialize some variables set by options.
783 ac_init_help=
784 ac_init_version=false
785 ac_unrecognized_opts=
786 ac_unrecognized_sep=
787 # The variables have the same names as the options, with
788 # dashes changed to underlines.
789 cache_file=/dev/null
790 exec_prefix=NONE
791 no_create=
792 no_recursion=
793 prefix=NONE
794 program_prefix=NONE
795 program_suffix=NONE
796 program_transform_name=s,x,x,
797 silent=
798 site=
799 srcdir=
800 verbose=
801 x_includes=NONE
802 x_libraries=NONE
803
804 # Installation directory options.
805 # These are left unexpanded so users can "make install exec_prefix=/foo"
806 # and all the variables that are supposed to be based on exec_prefix
807 # by default will actually change.
808 # Use braces instead of parens because sh, perl, etc. also accept them.
809 # (The list follows the same order as the GNU Coding Standards.)
810 bindir='${exec_prefix}/bin'
811 sbindir='${exec_prefix}/sbin'
812 libexecdir='${exec_prefix}/libexec'
813 datarootdir='${prefix}/share'
814 datadir='${datarootdir}'
815 sysconfdir='${prefix}/etc'
816 sharedstatedir='${prefix}/com'
817 localstatedir='${prefix}/var'
818 includedir='${prefix}/include'
819 oldincludedir='/usr/include'
820 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
821 infodir='${datarootdir}/info'
822 htmldir='${docdir}'
823 dvidir='${docdir}'
824 pdfdir='${docdir}'
825 psdir='${docdir}'
826 libdir='${exec_prefix}/lib'
827 localedir='${datarootdir}/locale'
828 mandir='${datarootdir}/man'
829
830 ac_prev=
831 ac_dashdash=
832 for ac_option
833 do
834   # If the previous option needs an argument, assign it.
835   if test -n "$ac_prev"; then
836     eval $ac_prev=\$ac_option
837     ac_prev=
838     continue
839   fi
840
841   case $ac_option in
842   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
843   *)    ac_optarg=yes ;;
844   esac
845
846   # Accept the important Cygnus configure options, so we can diagnose typos.
847
848   case $ac_dashdash$ac_option in
849   --)
850     ac_dashdash=yes ;;
851
852   -bindir | --bindir | --bindi | --bind | --bin | --bi)
853     ac_prev=bindir ;;
854   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
855     bindir=$ac_optarg ;;
856
857   -build | --build | --buil | --bui | --bu)
858     ac_prev=build_alias ;;
859   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
860     build_alias=$ac_optarg ;;
861
862   -cache-file | --cache-file | --cache-fil | --cache-fi \
863   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
864     ac_prev=cache_file ;;
865   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
866   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
867     cache_file=$ac_optarg ;;
868
869   --config-cache | -C)
870     cache_file=config.cache ;;
871
872   -datadir | --datadir | --datadi | --datad)
873     ac_prev=datadir ;;
874   -datadir=* | --datadir=* | --datadi=* | --datad=*)
875     datadir=$ac_optarg ;;
876
877   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
878   | --dataroo | --dataro | --datar)
879     ac_prev=datarootdir ;;
880   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
881   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
882     datarootdir=$ac_optarg ;;
883
884   -disable-* | --disable-*)
885     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
886     # Reject names that are not valid shell variable names.
887     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
888       as_fn_error "invalid feature name: $ac_useropt"
889     ac_useropt_orig=$ac_useropt
890     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
891     case $ac_user_opts in
892       *"
893 "enable_$ac_useropt"
894 "*) ;;
895       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
896          ac_unrecognized_sep=', ';;
897     esac
898     eval enable_$ac_useropt=no ;;
899
900   -docdir | --docdir | --docdi | --doc | --do)
901     ac_prev=docdir ;;
902   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
903     docdir=$ac_optarg ;;
904
905   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
906     ac_prev=dvidir ;;
907   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
908     dvidir=$ac_optarg ;;
909
910   -enable-* | --enable-*)
911     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
912     # Reject names that are not valid shell variable names.
913     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
914       as_fn_error "invalid feature name: $ac_useropt"
915     ac_useropt_orig=$ac_useropt
916     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
917     case $ac_user_opts in
918       *"
919 "enable_$ac_useropt"
920 "*) ;;
921       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
922          ac_unrecognized_sep=', ';;
923     esac
924     eval enable_$ac_useropt=\$ac_optarg ;;
925
926   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
927   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
928   | --exec | --exe | --ex)
929     ac_prev=exec_prefix ;;
930   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
931   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
932   | --exec=* | --exe=* | --ex=*)
933     exec_prefix=$ac_optarg ;;
934
935   -gas | --gas | --ga | --g)
936     # Obsolete; use --with-gas.
937     with_gas=yes ;;
938
939   -help | --help | --hel | --he | -h)
940     ac_init_help=long ;;
941   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
942     ac_init_help=recursive ;;
943   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
944     ac_init_help=short ;;
945
946   -host | --host | --hos | --ho)
947     ac_prev=host_alias ;;
948   -host=* | --host=* | --hos=* | --ho=*)
949     host_alias=$ac_optarg ;;
950
951   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
952     ac_prev=htmldir ;;
953   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
954   | --ht=*)
955     htmldir=$ac_optarg ;;
956
957   -includedir | --includedir | --includedi | --included | --include \
958   | --includ | --inclu | --incl | --inc)
959     ac_prev=includedir ;;
960   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
961   | --includ=* | --inclu=* | --incl=* | --inc=*)
962     includedir=$ac_optarg ;;
963
964   -infodir | --infodir | --infodi | --infod | --info | --inf)
965     ac_prev=infodir ;;
966   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
967     infodir=$ac_optarg ;;
968
969   -libdir | --libdir | --libdi | --libd)
970     ac_prev=libdir ;;
971   -libdir=* | --libdir=* | --libdi=* | --libd=*)
972     libdir=$ac_optarg ;;
973
974   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
975   | --libexe | --libex | --libe)
976     ac_prev=libexecdir ;;
977   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
978   | --libexe=* | --libex=* | --libe=*)
979     libexecdir=$ac_optarg ;;
980
981   -localedir | --localedir | --localedi | --localed | --locale)
982     ac_prev=localedir ;;
983   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
984     localedir=$ac_optarg ;;
985
986   -localstatedir | --localstatedir | --localstatedi | --localstated \
987   | --localstate | --localstat | --localsta | --localst | --locals)
988     ac_prev=localstatedir ;;
989   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
990   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
991     localstatedir=$ac_optarg ;;
992
993   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
994     ac_prev=mandir ;;
995   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
996     mandir=$ac_optarg ;;
997
998   -nfp | --nfp | --nf)
999     # Obsolete; use --without-fp.
1000     with_fp=no ;;
1001
1002   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1003   | --no-cr | --no-c | -n)
1004     no_create=yes ;;
1005
1006   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1007   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1008     no_recursion=yes ;;
1009
1010   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1011   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1012   | --oldin | --oldi | --old | --ol | --o)
1013     ac_prev=oldincludedir ;;
1014   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1015   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1016   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1017     oldincludedir=$ac_optarg ;;
1018
1019   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1020     ac_prev=prefix ;;
1021   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1022     prefix=$ac_optarg ;;
1023
1024   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1025   | --program-pre | --program-pr | --program-p)
1026     ac_prev=program_prefix ;;
1027   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1028   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1029     program_prefix=$ac_optarg ;;
1030
1031   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1032   | --program-suf | --program-su | --program-s)
1033     ac_prev=program_suffix ;;
1034   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1035   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1036     program_suffix=$ac_optarg ;;
1037
1038   -program-transform-name | --program-transform-name \
1039   | --program-transform-nam | --program-transform-na \
1040   | --program-transform-n | --program-transform- \
1041   | --program-transform | --program-transfor \
1042   | --program-transfo | --program-transf \
1043   | --program-trans | --program-tran \
1044   | --progr-tra | --program-tr | --program-t)
1045     ac_prev=program_transform_name ;;
1046   -program-transform-name=* | --program-transform-name=* \
1047   | --program-transform-nam=* | --program-transform-na=* \
1048   | --program-transform-n=* | --program-transform-=* \
1049   | --program-transform=* | --program-transfor=* \
1050   | --program-transfo=* | --program-transf=* \
1051   | --program-trans=* | --program-tran=* \
1052   | --progr-tra=* | --program-tr=* | --program-t=*)
1053     program_transform_name=$ac_optarg ;;
1054
1055   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1056     ac_prev=pdfdir ;;
1057   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1058     pdfdir=$ac_optarg ;;
1059
1060   -psdir | --psdir | --psdi | --psd | --ps)
1061     ac_prev=psdir ;;
1062   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1063     psdir=$ac_optarg ;;
1064
1065   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1066   | -silent | --silent | --silen | --sile | --sil)
1067     silent=yes ;;
1068
1069   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1070     ac_prev=sbindir ;;
1071   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1072   | --sbi=* | --sb=*)
1073     sbindir=$ac_optarg ;;
1074
1075   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1076   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1077   | --sharedst | --shareds | --shared | --share | --shar \
1078   | --sha | --sh)
1079     ac_prev=sharedstatedir ;;
1080   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1081   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1082   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1083   | --sha=* | --sh=*)
1084     sharedstatedir=$ac_optarg ;;
1085
1086   -site | --site | --sit)
1087     ac_prev=site ;;
1088   -site=* | --site=* | --sit=*)
1089     site=$ac_optarg ;;
1090
1091   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1092     ac_prev=srcdir ;;
1093   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1094     srcdir=$ac_optarg ;;
1095
1096   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1097   | --syscon | --sysco | --sysc | --sys | --sy)
1098     ac_prev=sysconfdir ;;
1099   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1100   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1101     sysconfdir=$ac_optarg ;;
1102
1103   -target | --target | --targe | --targ | --tar | --ta | --t)
1104     ac_prev=target_alias ;;
1105   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1106     target_alias=$ac_optarg ;;
1107
1108   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1109     verbose=yes ;;
1110
1111   -version | --version | --versio | --versi | --vers | -V)
1112     ac_init_version=: ;;
1113
1114   -with-* | --with-*)
1115     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1116     # Reject names that are not valid shell variable names.
1117     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118       as_fn_error "invalid package name: $ac_useropt"
1119     ac_useropt_orig=$ac_useropt
1120     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121     case $ac_user_opts in
1122       *"
1123 "with_$ac_useropt"
1124 "*) ;;
1125       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1126          ac_unrecognized_sep=', ';;
1127     esac
1128     eval with_$ac_useropt=\$ac_optarg ;;
1129
1130   -without-* | --without-*)
1131     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1132     # Reject names that are not valid shell variable names.
1133     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1134       as_fn_error "invalid package name: $ac_useropt"
1135     ac_useropt_orig=$ac_useropt
1136     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137     case $ac_user_opts in
1138       *"
1139 "with_$ac_useropt"
1140 "*) ;;
1141       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1142          ac_unrecognized_sep=', ';;
1143     esac
1144     eval with_$ac_useropt=no ;;
1145
1146   --x)
1147     # Obsolete; use --with-x.
1148     with_x=yes ;;
1149
1150   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1151   | --x-incl | --x-inc | --x-in | --x-i)
1152     ac_prev=x_includes ;;
1153   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1154   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1155     x_includes=$ac_optarg ;;
1156
1157   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1158   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1159     ac_prev=x_libraries ;;
1160   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1161   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1162     x_libraries=$ac_optarg ;;
1163
1164   -*) as_fn_error "unrecognized option: \`$ac_option'
1165 Try \`$0 --help' for more information."
1166     ;;
1167
1168   *=*)
1169     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1170     # Reject names that are not valid shell variable names.
1171     case $ac_envvar in #(
1172       '' | [0-9]* | *[!_$as_cr_alnum]* )
1173       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1174     esac
1175     eval $ac_envvar=\$ac_optarg
1176     export $ac_envvar ;;
1177
1178   *)
1179     # FIXME: should be removed in autoconf 3.0.
1180     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1181     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1183     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1184     ;;
1185
1186   esac
1187 done
1188
1189 if test -n "$ac_prev"; then
1190   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1191   as_fn_error "missing argument to $ac_option"
1192 fi
1193
1194 if test -n "$ac_unrecognized_opts"; then
1195   case $enable_option_checking in
1196     no) ;;
1197     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1198     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1199   esac
1200 fi
1201
1202 # Check all directory arguments for consistency.
1203 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1204                 datadir sysconfdir sharedstatedir localstatedir includedir \
1205                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1206                 libdir localedir mandir
1207 do
1208   eval ac_val=\$$ac_var
1209   # Remove trailing slashes.
1210   case $ac_val in
1211     */ )
1212       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1213       eval $ac_var=\$ac_val;;
1214   esac
1215   # Be sure to have absolute directory names.
1216   case $ac_val in
1217     [\\/$]* | ?:[\\/]* )  continue;;
1218     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1219   esac
1220   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1221 done
1222
1223 # There might be people who depend on the old broken behavior: `$host'
1224 # used to hold the argument of --host etc.
1225 # FIXME: To remove some day.
1226 build=$build_alias
1227 host=$host_alias
1228 target=$target_alias
1229
1230 # FIXME: To remove some day.
1231 if test "x$host_alias" != x; then
1232   if test "x$build_alias" = x; then
1233     cross_compiling=maybe
1234     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1235     If a cross compiler is detected then cross compile mode will be used." >&2
1236   elif test "x$build_alias" != "x$host_alias"; then
1237     cross_compiling=yes
1238   fi
1239 fi
1240
1241 ac_tool_prefix=
1242 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1243
1244 test "$silent" = yes && exec 6>/dev/null
1245
1246
1247 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1248 ac_ls_di=`ls -di .` &&
1249 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1250   as_fn_error "working directory cannot be determined"
1251 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1252   as_fn_error "pwd does not report name of working directory"
1253
1254
1255 # Find the source files, if location was not specified.
1256 if test -z "$srcdir"; then
1257   ac_srcdir_defaulted=yes
1258   # Try the directory containing this script, then the parent directory.
1259   ac_confdir=`$as_dirname -- "$as_myself" ||
1260 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1261          X"$as_myself" : 'X\(//\)[^/]' \| \
1262          X"$as_myself" : 'X\(//\)$' \| \
1263          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1264 $as_echo X"$as_myself" |
1265     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1266             s//\1/
1267             q
1268           }
1269           /^X\(\/\/\)[^/].*/{
1270             s//\1/
1271             q
1272           }
1273           /^X\(\/\/\)$/{
1274             s//\1/
1275             q
1276           }
1277           /^X\(\/\).*/{
1278             s//\1/
1279             q
1280           }
1281           s/.*/./; q'`
1282   srcdir=$ac_confdir
1283   if test ! -r "$srcdir/$ac_unique_file"; then
1284     srcdir=..
1285   fi
1286 else
1287   ac_srcdir_defaulted=no
1288 fi
1289 if test ! -r "$srcdir/$ac_unique_file"; then
1290   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1291   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1292 fi
1293 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1294 ac_abs_confdir=`(
1295         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1296         pwd)`
1297 # When building in place, set srcdir=.
1298 if test "$ac_abs_confdir" = "$ac_pwd"; then
1299   srcdir=.
1300 fi
1301 # Remove unnecessary trailing slashes from srcdir.
1302 # Double slashes in file names in object file debugging info
1303 # mess up M-x gdb in Emacs.
1304 case $srcdir in
1305 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1306 esac
1307 for ac_var in $ac_precious_vars; do
1308   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1309   eval ac_env_${ac_var}_value=\$${ac_var}
1310   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1311   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1312 done
1313
1314 #
1315 # Report the --help message.
1316 #
1317 if test "$ac_init_help" = "long"; then
1318   # Omit some internal or obsolete options to make the list less imposing.
1319   # This message is too long to be a string in the A/UX 3.1 sh.
1320   cat <<_ACEOF
1321 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1322
1323 Usage: $0 [OPTION]... [VAR=VALUE]...
1324
1325 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1326 VAR=VALUE.  See below for descriptions of some of the useful variables.
1327
1328 Defaults for the options are specified in brackets.
1329
1330 Configuration:
1331   -h, --help              display this help and exit
1332       --help=short        display options specific to this package
1333       --help=recursive    display the short help of all the included packages
1334   -V, --version           display version information and exit
1335   -q, --quiet, --silent   do not print \`checking...' messages
1336       --cache-file=FILE   cache test results in FILE [disabled]
1337   -C, --config-cache      alias for \`--cache-file=config.cache'
1338   -n, --no-create         do not create output files
1339       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1340
1341 Installation directories:
1342   --prefix=PREFIX         install architecture-independent files in PREFIX
1343                           [$ac_default_prefix]
1344   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1345                           [PREFIX]
1346
1347 By default, \`make install' will install all the files in
1348 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1349 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1350 for instance \`--prefix=\$HOME'.
1351
1352 For better control, use the options below.
1353
1354 Fine tuning of the installation directories:
1355   --bindir=DIR            user executables [EPREFIX/bin]
1356   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1357   --libexecdir=DIR        program executables [EPREFIX/libexec]
1358   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1359   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1360   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1361   --libdir=DIR            object code libraries [EPREFIX/lib]
1362   --includedir=DIR        C header files [PREFIX/include]
1363   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1364   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1365   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1366   --infodir=DIR           info documentation [DATAROOTDIR/info]
1367   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1368   --mandir=DIR            man documentation [DATAROOTDIR/man]
1369   --docdir=DIR            documentation root [DATAROOTDIR/doc/libgfortran]
1370   --htmldir=DIR           html documentation [DOCDIR]
1371   --dvidir=DIR            dvi documentation [DOCDIR]
1372   --pdfdir=DIR            pdf documentation [DOCDIR]
1373   --psdir=DIR             ps documentation [DOCDIR]
1374 _ACEOF
1375
1376   cat <<\_ACEOF
1377
1378 Program names:
1379   --program-prefix=PREFIX            prepend PREFIX to installed program names
1380   --program-suffix=SUFFIX            append SUFFIX to installed program names
1381   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1382
1383 System types:
1384   --build=BUILD     configure for building on BUILD [guessed]
1385   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1386   --target=TARGET   configure for building compilers for TARGET [HOST]
1387 _ACEOF
1388 fi
1389
1390 if test -n "$ac_init_help"; then
1391   case $ac_init_help in
1392      short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1393    esac
1394   cat <<\_ACEOF
1395
1396 Optional Features:
1397   --disable-option-checking  ignore unrecognized --enable/--with options
1398   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1399   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1400   --enable-version-specific-runtime-libs
1401                           specify that runtime libraries should be installed
1402                           in a compiler-specific directory
1403   --enable-intermodule    build the library in one step
1404   --enable-maintainer-mode  enable make rules and dependencies not useful
1405                           (and sometimes confusing) to the casual installer
1406   --enable-multilib       build many library versions (default)
1407   --disable-dependency-tracking  speeds up one-time build
1408   --enable-dependency-tracking   do not reject slow dependency extractors
1409   --enable-shared[=PKGS]  build shared libraries [default=yes]
1410   --enable-static[=PKGS]  build static libraries [default=yes]
1411   --enable-fast-install[=PKGS]
1412                           optimize for fast installation [default=yes]
1413   --disable-libtool-lock  avoid locking (might break parallel builds)
1414   --disable-largefile     omit support for large files
1415   --disable-libquadmath-support
1416                           disable libquadmath support for Fortran
1417
1418 Optional Packages:
1419   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1420   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1421   --with-build-libsubdir=DIR  Directory where to find libraries for build system
1422   --with-pic              try to use only PIC/non-PIC objects [default=use
1423                           both]
1424   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1425
1426 Some influential environment variables:
1427   CC          C compiler command
1428   CFLAGS      C compiler flags
1429   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1430               nonstandard directory <lib dir>
1431   LIBS        libraries to pass to the linker, e.g. -l<library>
1432   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1433               you have headers in a nonstandard directory <include dir>
1434   CPP         C preprocessor
1435   FC          Fortran compiler command
1436   FCFLAGS     Fortran compiler flags
1437
1438 Use these variables to override the choices made by `configure' or to help
1439 it to find libraries and programs with nonstandard names/locations.
1440
1441 Report bugs to the package provider.
1442 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1443 General help using GNU software: <http://www.gnu.org/gethelp/>.
1444 _ACEOF
1445 ac_status=$?
1446 fi
1447
1448 if test "$ac_init_help" = "recursive"; then
1449   # If there are subdirs, report their specific --help.
1450   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1451     test -d "$ac_dir" ||
1452       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1453       continue
1454     ac_builddir=.
1455
1456 case "$ac_dir" in
1457 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1458 *)
1459   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1460   # A ".." for each directory in $ac_dir_suffix.
1461   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1462   case $ac_top_builddir_sub in
1463   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1464   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1465   esac ;;
1466 esac
1467 ac_abs_top_builddir=$ac_pwd
1468 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1469 # for backward compatibility:
1470 ac_top_builddir=$ac_top_build_prefix
1471
1472 case $srcdir in
1473   .)  # We are building in place.
1474     ac_srcdir=.
1475     ac_top_srcdir=$ac_top_builddir_sub
1476     ac_abs_top_srcdir=$ac_pwd ;;
1477   [\\/]* | ?:[\\/]* )  # Absolute name.
1478     ac_srcdir=$srcdir$ac_dir_suffix;
1479     ac_top_srcdir=$srcdir
1480     ac_abs_top_srcdir=$srcdir ;;
1481   *) # Relative name.
1482     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1483     ac_top_srcdir=$ac_top_build_prefix$srcdir
1484     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1485 esac
1486 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1487
1488     cd "$ac_dir" || { ac_status=$?; continue; }
1489     # Check for guested configure.
1490     if test -f "$ac_srcdir/configure.gnu"; then
1491       echo &&
1492       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1493     elif test -f "$ac_srcdir/configure"; then
1494       echo &&
1495       $SHELL "$ac_srcdir/configure" --help=recursive
1496     else
1497       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1498     fi || ac_status=$?
1499     cd "$ac_pwd" || { ac_status=$?; break; }
1500   done
1501 fi
1502
1503 test -n "$ac_init_help" && exit $ac_status
1504 if $ac_init_version; then
1505   cat <<\_ACEOF
1506 GNU Fortran Runtime Library configure 0.3
1507 generated by GNU Autoconf 2.64
1508
1509 Copyright (C) 2009 Free Software Foundation, Inc.
1510 This configure script is free software; the Free Software Foundation
1511 gives unlimited permission to copy, distribute and modify it.
1512 _ACEOF
1513   exit
1514 fi
1515
1516 ## ------------------------ ##
1517 ## Autoconf initialization. ##
1518 ## ------------------------ ##
1519
1520 # ac_fn_c_try_compile LINENO
1521 # --------------------------
1522 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1523 ac_fn_c_try_compile ()
1524 {
1525   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1526   rm -f conftest.$ac_objext
1527   if { { ac_try="$ac_compile"
1528 case "(($ac_try" in
1529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1530   *) ac_try_echo=$ac_try;;
1531 esac
1532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1533 $as_echo "$ac_try_echo"; } >&5
1534   (eval "$ac_compile") 2>conftest.err
1535   ac_status=$?
1536   if test -s conftest.err; then
1537     grep -v '^ *+' conftest.err >conftest.er1
1538     cat conftest.er1 >&5
1539     mv -f conftest.er1 conftest.err
1540   fi
1541   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1542   test $ac_status = 0; } && {
1543          test -z "$ac_c_werror_flag" ||
1544          test ! -s conftest.err
1545        } && test -s conftest.$ac_objext; then :
1546   ac_retval=0
1547 else
1548   $as_echo "$as_me: failed program was:" >&5
1549 sed 's/^/| /' conftest.$ac_ext >&5
1550
1551         ac_retval=1
1552 fi
1553   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1554   return $ac_retval
1555
1556 } # ac_fn_c_try_compile
1557
1558 # ac_fn_c_try_cpp LINENO
1559 # ----------------------
1560 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1561 ac_fn_c_try_cpp ()
1562 {
1563   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1564   if { { ac_try="$ac_cpp conftest.$ac_ext"
1565 case "(($ac_try" in
1566   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1567   *) ac_try_echo=$ac_try;;
1568 esac
1569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1570 $as_echo "$ac_try_echo"; } >&5
1571   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1572   ac_status=$?
1573   if test -s conftest.err; then
1574     grep -v '^ *+' conftest.err >conftest.er1
1575     cat conftest.er1 >&5
1576     mv -f conftest.er1 conftest.err
1577   fi
1578   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1579   test $ac_status = 0; } >/dev/null && {
1580          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1581          test ! -s conftest.err
1582        }; then :
1583   ac_retval=0
1584 else
1585   $as_echo "$as_me: failed program was:" >&5
1586 sed 's/^/| /' conftest.$ac_ext >&5
1587
1588     ac_retval=1
1589 fi
1590   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1591   return $ac_retval
1592
1593 } # ac_fn_c_try_cpp
1594
1595 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1596 # -------------------------------------------------------
1597 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1598 # the include files in INCLUDES and setting the cache variable VAR
1599 # accordingly.
1600 ac_fn_c_check_header_mongrel ()
1601 {
1602   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1605 $as_echo_n "checking for $2... " >&6; }
1606 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1607   $as_echo_n "(cached) " >&6
1608 fi
1609 eval ac_res=\$$3
1610                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1611 $as_echo "$ac_res" >&6; }
1612 else
1613   # Is the header compilable?
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1615 $as_echo_n "checking $2 usability... " >&6; }
1616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1617 /* end confdefs.h.  */
1618 $4
1619 #include <$2>
1620 _ACEOF
1621 if ac_fn_c_try_compile "$LINENO"; then :
1622   ac_header_compiler=yes
1623 else
1624   ac_header_compiler=no
1625 fi
1626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1628 $as_echo "$ac_header_compiler" >&6; }
1629
1630 # Is the header present?
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1632 $as_echo_n "checking $2 presence... " >&6; }
1633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1634 /* end confdefs.h.  */
1635 #include <$2>
1636 _ACEOF
1637 if ac_fn_c_try_cpp "$LINENO"; then :
1638   ac_header_preproc=yes
1639 else
1640   ac_header_preproc=no
1641 fi
1642 rm -f conftest.err conftest.$ac_ext
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1644 $as_echo "$ac_header_preproc" >&6; }
1645
1646 # So?  What about this header?
1647 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1648   yes:no: )
1649     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1650 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1651     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1652 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1653     ;;
1654   no:yes:* )
1655     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1656 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1657     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1658 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1659     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1660 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1661     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1662 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1663     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1664 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1665     ;;
1666 esac
1667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1668 $as_echo_n "checking for $2... " >&6; }
1669 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1670   $as_echo_n "(cached) " >&6
1671 else
1672   eval "$3=\$ac_header_compiler"
1673 fi
1674 eval ac_res=\$$3
1675                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1676 $as_echo "$ac_res" >&6; }
1677 fi
1678   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1679
1680 } # ac_fn_c_check_header_mongrel
1681
1682 # ac_fn_c_try_run LINENO
1683 # ----------------------
1684 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1685 # that executables *can* be run.
1686 ac_fn_c_try_run ()
1687 {
1688   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1689   if { { ac_try="$ac_link"
1690 case "(($ac_try" in
1691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1692   *) ac_try_echo=$ac_try;;
1693 esac
1694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695 $as_echo "$ac_try_echo"; } >&5
1696   (eval "$ac_link") 2>&5
1697   ac_status=$?
1698   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1700   { { case "(($ac_try" in
1701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1702   *) ac_try_echo=$ac_try;;
1703 esac
1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706   (eval "$ac_try") 2>&5
1707   ac_status=$?
1708   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709   test $ac_status = 0; }; }; then :
1710   ac_retval=0
1711 else
1712   $as_echo "$as_me: program exited with status $ac_status" >&5
1713        $as_echo "$as_me: failed program was:" >&5
1714 sed 's/^/| /' conftest.$ac_ext >&5
1715
1716        ac_retval=$ac_status
1717 fi
1718   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1719   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1720   return $ac_retval
1721
1722 } # ac_fn_c_try_run
1723
1724 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1725 # -------------------------------------------------------
1726 # Tests whether HEADER exists and can be compiled using the include files in
1727 # INCLUDES, setting the cache variable VAR accordingly.
1728 ac_fn_c_check_header_compile ()
1729 {
1730   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1732 $as_echo_n "checking for $2... " >&6; }
1733 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1734   $as_echo_n "(cached) " >&6
1735 else
1736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1737 /* end confdefs.h.  */
1738 $4
1739 #include <$2>
1740 _ACEOF
1741 if ac_fn_c_try_compile "$LINENO"; then :
1742   eval "$3=yes"
1743 else
1744   eval "$3=no"
1745 fi
1746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1747 fi
1748 eval ac_res=\$$3
1749                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1750 $as_echo "$ac_res" >&6; }
1751   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1752
1753 } # ac_fn_c_check_header_compile
1754
1755 # ac_fn_c_try_link LINENO
1756 # -----------------------
1757 # Try to link conftest.$ac_ext, and return whether this succeeded.
1758 ac_fn_c_try_link ()
1759 {
1760   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761   rm -f conftest.$ac_objext conftest$ac_exeext
1762   if { { ac_try="$ac_link"
1763 case "(($ac_try" in
1764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765   *) ac_try_echo=$ac_try;;
1766 esac
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769   (eval "$ac_link") 2>conftest.err
1770   ac_status=$?
1771   if test -s conftest.err; then
1772     grep -v '^ *+' conftest.err >conftest.er1
1773     cat conftest.er1 >&5
1774     mv -f conftest.er1 conftest.err
1775   fi
1776   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1777   test $ac_status = 0; } && {
1778          test -z "$ac_c_werror_flag" ||
1779          test ! -s conftest.err
1780        } && test -s conftest$ac_exeext && {
1781          test "$cross_compiling" = yes ||
1782          $as_test_x conftest$ac_exeext
1783        }; then :
1784   ac_retval=0
1785 else
1786   $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1788
1789         ac_retval=1
1790 fi
1791   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1792   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1793   # interfere with the next link command; also delete a directory that is
1794   # left behind by Apple's compiler.  We do this before executing the actions.
1795   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1796   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1797   return $ac_retval
1798
1799 } # ac_fn_c_try_link
1800
1801 # ac_fn_c_check_func LINENO FUNC VAR
1802 # ----------------------------------
1803 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1804 ac_fn_c_check_func ()
1805 {
1806   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1808 $as_echo_n "checking for $2... " >&6; }
1809 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1810   $as_echo_n "(cached) " >&6
1811 else
1812   if test x$gcc_no_link = xyes; then
1813   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1814 fi
1815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1816 /* end confdefs.h.  */
1817 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1818    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1819 #define $2 innocuous_$2
1820
1821 /* System header to define __stub macros and hopefully few prototypes,
1822     which can conflict with char $2 (); below.
1823     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1824     <limits.h> exists even on freestanding compilers.  */
1825
1826 #ifdef __STDC__
1827 # include <limits.h>
1828 #else
1829 # include <assert.h>
1830 #endif
1831
1832 #undef $2
1833
1834 /* Override any GCC internal prototype to avoid an error.
1835    Use char because int might match the return type of a GCC
1836    builtin and then its argument prototype would still apply.  */
1837 #ifdef __cplusplus
1838 extern "C"
1839 #endif
1840 char $2 ();
1841 /* The GNU C library defines this for functions which it implements
1842     to always fail with ENOSYS.  Some functions are actually named
1843     something starting with __ and the normal name is an alias.  */
1844 #if defined __stub_$2 || defined __stub___$2
1845 choke me
1846 #endif
1847
1848 int
1849 main ()
1850 {
1851 return $2 ();
1852   ;
1853   return 0;
1854 }
1855 _ACEOF
1856 if ac_fn_c_try_link "$LINENO"; then :
1857   eval "$3=yes"
1858 else
1859   eval "$3=no"
1860 fi
1861 rm -f core conftest.err conftest.$ac_objext \
1862     conftest$ac_exeext conftest.$ac_ext
1863 fi
1864 eval ac_res=\$$3
1865                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1866 $as_echo "$ac_res" >&6; }
1867   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1868
1869 } # ac_fn_c_check_func
1870
1871 # ac_fn_fc_try_compile LINENO
1872 # ---------------------------
1873 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1874 ac_fn_fc_try_compile ()
1875 {
1876   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877   rm -f conftest.$ac_objext
1878   if { { ac_try="$ac_compile"
1879 case "(($ac_try" in
1880   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1881   *) ac_try_echo=$ac_try;;
1882 esac
1883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1884 $as_echo "$ac_try_echo"; } >&5
1885   (eval "$ac_compile") 2>conftest.err
1886   ac_status=$?
1887   if test -s conftest.err; then
1888     grep -v '^ *+' conftest.err >conftest.er1
1889     cat conftest.er1 >&5
1890     mv -f conftest.er1 conftest.err
1891   fi
1892   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1893   test $ac_status = 0; } && {
1894          test -z "$ac_fc_werror_flag" ||
1895          test ! -s conftest.err
1896        } && test -s conftest.$ac_objext; then :
1897   ac_retval=0
1898 else
1899   $as_echo "$as_me: failed program was:" >&5
1900 sed 's/^/| /' conftest.$ac_ext >&5
1901
1902         ac_retval=1
1903 fi
1904   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1905   return $ac_retval
1906
1907 } # ac_fn_fc_try_compile
1908
1909 # ac_fn_fc_try_link LINENO
1910 # ------------------------
1911 # Try to link conftest.$ac_ext, and return whether this succeeded.
1912 ac_fn_fc_try_link ()
1913 {
1914   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1915   rm -f conftest.$ac_objext conftest$ac_exeext
1916   if { { ac_try="$ac_link"
1917 case "(($ac_try" in
1918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1919   *) ac_try_echo=$ac_try;;
1920 esac
1921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1922 $as_echo "$ac_try_echo"; } >&5
1923   (eval "$ac_link") 2>conftest.err
1924   ac_status=$?
1925   if test -s conftest.err; then
1926     grep -v '^ *+' conftest.err >conftest.er1
1927     cat conftest.er1 >&5
1928     mv -f conftest.er1 conftest.err
1929   fi
1930   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931   test $ac_status = 0; } && {
1932          test -z "$ac_fc_werror_flag" ||
1933          test ! -s conftest.err
1934        } && test -s conftest$ac_exeext && {
1935          test "$cross_compiling" = yes ||
1936          $as_test_x conftest$ac_exeext
1937        }; then :
1938   ac_retval=0
1939 else
1940   $as_echo "$as_me: failed program was:" >&5
1941 sed 's/^/| /' conftest.$ac_ext >&5
1942
1943         ac_retval=1
1944 fi
1945   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1946   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1947   # interfere with the next link command; also delete a directory that is
1948   # left behind by Apple's compiler.  We do this before executing the actions.
1949   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1950   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1951   return $ac_retval
1952
1953 } # ac_fn_fc_try_link
1954
1955 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1956 # -------------------------------------------
1957 # Tests whether TYPE exists after having included INCLUDES, setting cache
1958 # variable VAR accordingly.
1959 ac_fn_c_check_type ()
1960 {
1961   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1963 $as_echo_n "checking for $2... " >&6; }
1964 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1965   $as_echo_n "(cached) " >&6
1966 else
1967   eval "$3=no"
1968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1969 /* end confdefs.h.  */
1970 $4
1971 int
1972 main ()
1973 {
1974 if (sizeof ($2))
1975          return 0;
1976   ;
1977   return 0;
1978 }
1979 _ACEOF
1980 if ac_fn_c_try_compile "$LINENO"; then :
1981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1982 /* end confdefs.h.  */
1983 $4
1984 int
1985 main ()
1986 {
1987 if (sizeof (($2)))
1988             return 0;
1989   ;
1990   return 0;
1991 }
1992 _ACEOF
1993 if ac_fn_c_try_compile "$LINENO"; then :
1994
1995 else
1996   eval "$3=yes"
1997 fi
1998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1999 fi
2000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2001 fi
2002 eval ac_res=\$$3
2003                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2004 $as_echo "$ac_res" >&6; }
2005   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2006
2007 } # ac_fn_c_check_type
2008
2009 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2010 # --------------------------------------------
2011 # Tries to find the compile-time value of EXPR in a program that includes
2012 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2013 # computed
2014 ac_fn_c_compute_int ()
2015 {
2016   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017   if test "$cross_compiling" = yes; then
2018     # Depending upon the size, compute the lo and hi bounds.
2019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2020 /* end confdefs.h.  */
2021 $4
2022 int
2023 main ()
2024 {
2025 static int test_array [1 - 2 * !(($2) >= 0)];
2026 test_array [0] = 0
2027
2028   ;
2029   return 0;
2030 }
2031 _ACEOF
2032 if ac_fn_c_try_compile "$LINENO"; then :
2033   ac_lo=0 ac_mid=0
2034   while :; do
2035     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h.  */
2037 $4
2038 int
2039 main ()
2040 {
2041 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2042 test_array [0] = 0
2043
2044   ;
2045   return 0;
2046 }
2047 _ACEOF
2048 if ac_fn_c_try_compile "$LINENO"; then :
2049   ac_hi=$ac_mid; break
2050 else
2051   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2052                         if test $ac_lo -le $ac_mid; then
2053                           ac_lo= ac_hi=
2054                           break
2055                         fi
2056                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2057 fi
2058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2059   done
2060 else
2061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2062 /* end confdefs.h.  */
2063 $4
2064 int
2065 main ()
2066 {
2067 static int test_array [1 - 2 * !(($2) < 0)];
2068 test_array [0] = 0
2069
2070   ;
2071   return 0;
2072 }
2073 _ACEOF
2074 if ac_fn_c_try_compile "$LINENO"; then :
2075   ac_hi=-1 ac_mid=-1
2076   while :; do
2077     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2078 /* end confdefs.h.  */
2079 $4
2080 int
2081 main ()
2082 {
2083 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2084 test_array [0] = 0
2085
2086   ;
2087   return 0;
2088 }
2089 _ACEOF
2090 if ac_fn_c_try_compile "$LINENO"; then :
2091   ac_lo=$ac_mid; break
2092 else
2093   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2094                         if test $ac_mid -le $ac_hi; then
2095                           ac_lo= ac_hi=
2096                           break
2097                         fi
2098                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2099 fi
2100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101   done
2102 else
2103   ac_lo= ac_hi=
2104 fi
2105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2106 fi
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108 # Binary search between lo and hi bounds.
2109 while test "x$ac_lo" != "x$ac_hi"; do
2110   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h.  */
2113 $4
2114 int
2115 main ()
2116 {
2117 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2118 test_array [0] = 0
2119
2120   ;
2121   return 0;
2122 }
2123 _ACEOF
2124 if ac_fn_c_try_compile "$LINENO"; then :
2125   ac_hi=$ac_mid
2126 else
2127   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2128 fi
2129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2130 done
2131 case $ac_lo in #((
2132 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2133 '') ac_retval=1 ;;
2134 esac
2135   else
2136     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2137 /* end confdefs.h.  */
2138 $4
2139 static long int longval () { return $2; }
2140 static unsigned long int ulongval () { return $2; }
2141 #include <stdio.h>
2142 #include <stdlib.h>
2143 int
2144 main ()
2145 {
2146
2147   FILE *f = fopen ("conftest.val", "w");
2148   if (! f)
2149     return 1;
2150   if (($2) < 0)
2151     {
2152       long int i = longval ();
2153       if (i != ($2))
2154         return 1;
2155       fprintf (f, "%ld", i);
2156     }
2157   else
2158     {
2159       unsigned long int i = ulongval ();
2160       if (i != ($2))
2161         return 1;
2162       fprintf (f, "%lu", i);
2163     }
2164   /* Do not output a trailing newline, as this causes \r\n confusion
2165      on some platforms.  */
2166   return ferror (f) || fclose (f) != 0;
2167
2168   ;
2169   return 0;
2170 }
2171 _ACEOF
2172 if ac_fn_c_try_run "$LINENO"; then :
2173   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2174 else
2175   ac_retval=1
2176 fi
2177 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2178   conftest.$ac_objext conftest.beam conftest.$ac_ext
2179 rm -f conftest.val
2180
2181   fi
2182   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2183   return $ac_retval
2184
2185 } # ac_fn_c_compute_int
2186
2187 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2188 # ----------------------------------------------------
2189 # Tries to find if the field MEMBER exists in type AGGR, after including
2190 # INCLUDES, setting cache variable VAR accordingly.
2191 ac_fn_c_check_member ()
2192 {
2193   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2195 $as_echo_n "checking for $2.$3... " >&6; }
2196 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2197   $as_echo_n "(cached) " >&6
2198 else
2199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2200 /* end confdefs.h.  */
2201 $5
2202 int
2203 main ()
2204 {
2205 static $2 ac_aggr;
2206 if (ac_aggr.$3)
2207 return 0;
2208   ;
2209   return 0;
2210 }
2211 _ACEOF
2212 if ac_fn_c_try_compile "$LINENO"; then :
2213   eval "$4=yes"
2214 else
2215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2216 /* end confdefs.h.  */
2217 $5
2218 int
2219 main ()
2220 {
2221 static $2 ac_aggr;
2222 if (sizeof ac_aggr.$3)
2223 return 0;
2224   ;
2225   return 0;
2226 }
2227 _ACEOF
2228 if ac_fn_c_try_compile "$LINENO"; then :
2229   eval "$4=yes"
2230 else
2231   eval "$4=no"
2232 fi
2233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2234 fi
2235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2236 fi
2237 eval ac_res=\$$4
2238                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2239 $as_echo "$ac_res" >&6; }
2240   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2241
2242 } # ac_fn_c_check_member
2243 cat >config.log <<_ACEOF
2244 This file contains any messages produced by compilers while
2245 running configure, to aid debugging if configure makes a mistake.
2246
2247 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2248 generated by GNU Autoconf 2.64.  Invocation command line was
2249
2250   $ $0 $@
2251
2252 _ACEOF
2253 exec 5>>config.log
2254 {
2255 cat <<_ASUNAME
2256 ## --------- ##
2257 ## Platform. ##
2258 ## --------- ##
2259
2260 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2261 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2262 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2263 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2264 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2265
2266 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2267 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2268
2269 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2270 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2271 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2272 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2273 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2274 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2275 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2276
2277 _ASUNAME
2278
2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280 for as_dir in $PATH
2281 do
2282   IFS=$as_save_IFS
2283   test -z "$as_dir" && as_dir=.
2284     $as_echo "PATH: $as_dir"
2285   done
2286 IFS=$as_save_IFS
2287
2288 } >&5
2289
2290 cat >&5 <<_ACEOF
2291
2292
2293 ## ----------- ##
2294 ## Core tests. ##
2295 ## ----------- ##
2296
2297 _ACEOF
2298
2299
2300 # Keep a trace of the command line.
2301 # Strip out --no-create and --no-recursion so they do not pile up.
2302 # Strip out --silent because we don't want to record it for future runs.
2303 # Also quote any args containing shell meta-characters.
2304 # Make two passes to allow for proper duplicate-argument suppression.
2305 ac_configure_args=
2306 ac_configure_args0=
2307 ac_configure_args1=
2308 ac_must_keep_next=false
2309 for ac_pass in 1 2
2310 do
2311   for ac_arg
2312   do
2313     case $ac_arg in
2314     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2315     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2316     | -silent | --silent | --silen | --sile | --sil)
2317       continue ;;
2318     *\'*)
2319       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2320     esac
2321     case $ac_pass in
2322     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2323     2)
2324       as_fn_append ac_configure_args1 " '$ac_arg'"
2325       if test $ac_must_keep_next = true; then
2326         ac_must_keep_next=false # Got value, back to normal.
2327       else
2328         case $ac_arg in
2329           *=* | --config-cache | -C | -disable-* | --disable-* \
2330           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2331           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2332           | -with-* | --with-* | -without-* | --without-* | --x)
2333             case "$ac_configure_args0 " in
2334               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2335             esac
2336             ;;
2337           -* ) ac_must_keep_next=true ;;
2338         esac
2339       fi
2340       as_fn_append ac_configure_args " '$ac_arg'"
2341       ;;
2342     esac
2343   done
2344 done
2345 { ac_configure_args0=; unset ac_configure_args0;}
2346 { ac_configure_args1=; unset ac_configure_args1;}
2347
2348 # When interrupted or exit'd, cleanup temporary files, and complete
2349 # config.log.  We remove comments because anyway the quotes in there
2350 # would cause problems or look ugly.
2351 # WARNING: Use '\'' to represent an apostrophe within the trap.
2352 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2353 trap 'exit_status=$?
2354   # Save into config.log some information that might help in debugging.
2355   {
2356     echo
2357
2358     cat <<\_ASBOX
2359 ## ---------------- ##
2360 ## Cache variables. ##
2361 ## ---------------- ##
2362 _ASBOX
2363     echo
2364     # The following way of writing the cache mishandles newlines in values,
2365 (
2366   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2367     eval ac_val=\$$ac_var
2368     case $ac_val in #(
2369     *${as_nl}*)
2370       case $ac_var in #(
2371       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2372 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2373       esac
2374       case $ac_var in #(
2375       _ | IFS | as_nl) ;; #(
2376       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2377       *) { eval $ac_var=; unset $ac_var;} ;;
2378       esac ;;
2379     esac
2380   done
2381   (set) 2>&1 |
2382     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2383     *${as_nl}ac_space=\ *)
2384       sed -n \
2385         "s/'\''/'\''\\\\'\'''\''/g;
2386           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2387       ;; #(
2388     *)
2389       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2390       ;;
2391     esac |
2392     sort
2393 )
2394     echo
2395
2396     cat <<\_ASBOX
2397 ## ----------------- ##
2398 ## Output variables. ##
2399 ## ----------------- ##
2400 _ASBOX
2401     echo
2402     for ac_var in $ac_subst_vars
2403     do
2404       eval ac_val=\$$ac_var
2405       case $ac_val in
2406       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2407       esac
2408       $as_echo "$ac_var='\''$ac_val'\''"
2409     done | sort
2410     echo
2411
2412     if test -n "$ac_subst_files"; then
2413       cat <<\_ASBOX
2414 ## ------------------- ##
2415 ## File substitutions. ##
2416 ## ------------------- ##
2417 _ASBOX
2418       echo
2419       for ac_var in $ac_subst_files
2420       do
2421         eval ac_val=\$$ac_var
2422         case $ac_val in
2423         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2424         esac
2425         $as_echo "$ac_var='\''$ac_val'\''"
2426       done | sort
2427       echo
2428     fi
2429
2430     if test -s confdefs.h; then
2431       cat <<\_ASBOX
2432 ## ----------- ##
2433 ## confdefs.h. ##
2434 ## ----------- ##
2435 _ASBOX
2436       echo
2437       cat confdefs.h
2438       echo
2439     fi
2440     test "$ac_signal" != 0 &&
2441       $as_echo "$as_me: caught signal $ac_signal"
2442     $as_echo "$as_me: exit $exit_status"
2443   } >&5
2444   rm -f core *.core core.conftest.* &&
2445     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2446     exit $exit_status
2447 ' 0
2448 for ac_signal in 1 2 13 15; do
2449   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2450 done
2451 ac_signal=0
2452
2453 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2454 rm -f -r conftest* confdefs.h
2455
2456 $as_echo "/* confdefs.h */" > confdefs.h
2457
2458 # Predefined preprocessor variables.
2459
2460 cat >>confdefs.h <<_ACEOF
2461 #define PACKAGE_NAME "$PACKAGE_NAME"
2462 _ACEOF
2463
2464 cat >>confdefs.h <<_ACEOF
2465 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2466 _ACEOF
2467
2468 cat >>confdefs.h <<_ACEOF
2469 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2470 _ACEOF
2471
2472 cat >>confdefs.h <<_ACEOF
2473 #define PACKAGE_STRING "$PACKAGE_STRING"
2474 _ACEOF
2475
2476 cat >>confdefs.h <<_ACEOF
2477 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2478 _ACEOF
2479
2480 cat >>confdefs.h <<_ACEOF
2481 #define PACKAGE_URL "$PACKAGE_URL"
2482 _ACEOF
2483
2484
2485 # Let the site file select an alternate cache file if it wants to.
2486 # Prefer an explicitly selected file to automatically selected ones.
2487 ac_site_file1=NONE
2488 ac_site_file2=NONE
2489 if test -n "$CONFIG_SITE"; then
2490   ac_site_file1=$CONFIG_SITE
2491 elif test "x$prefix" != xNONE; then
2492   ac_site_file1=$prefix/share/config.site
2493   ac_site_file2=$prefix/etc/config.site
2494 else
2495   ac_site_file1=$ac_default_prefix/share/config.site
2496   ac_site_file2=$ac_default_prefix/etc/config.site
2497 fi
2498 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2499 do
2500   test "x$ac_site_file" = xNONE && continue
2501   if test -r "$ac_site_file"; then
2502     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2503 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2504     sed 's/^/| /' "$ac_site_file" >&5
2505     . "$ac_site_file"
2506   fi
2507 done
2508
2509 if test -r "$cache_file"; then
2510   # Some versions of bash will fail to source /dev/null (special
2511   # files actually), so we avoid doing that.
2512   if test -f "$cache_file"; then
2513     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2514 $as_echo "$as_me: loading cache $cache_file" >&6;}
2515     case $cache_file in
2516       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2517       *)                      . "./$cache_file";;
2518     esac
2519   fi
2520 else
2521   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2522 $as_echo "$as_me: creating cache $cache_file" >&6;}
2523   >$cache_file
2524 fi
2525
2526 # Check that the precious variables saved in the cache have kept the same
2527 # value.
2528 ac_cache_corrupted=false
2529 for ac_var in $ac_precious_vars; do
2530   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2531   eval ac_new_set=\$ac_env_${ac_var}_set
2532   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2533   eval ac_new_val=\$ac_env_${ac_var}_value
2534   case $ac_old_set,$ac_new_set in
2535     set,)
2536       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2537 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2538       ac_cache_corrupted=: ;;
2539     ,set)
2540       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2541 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2542       ac_cache_corrupted=: ;;
2543     ,);;
2544     *)
2545       if test "x$ac_old_val" != "x$ac_new_val"; then
2546         # differences in whitespace do not lead to failure.
2547         ac_old_val_w=`echo x $ac_old_val`
2548         ac_new_val_w=`echo x $ac_new_val`
2549         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2550           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2551 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2552           ac_cache_corrupted=:
2553         else
2554           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2555 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2556           eval $ac_var=\$ac_old_val
2557         fi
2558         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2559 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2560         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2561 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2562       fi;;
2563   esac
2564   # Pass precious variables to config.status.
2565   if test "$ac_new_set" = set; then
2566     case $ac_new_val in
2567     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2568     *) ac_arg=$ac_var=$ac_new_val ;;
2569     esac
2570     case " $ac_configure_args " in
2571       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2572       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2573     esac
2574   fi
2575 done
2576 if $ac_cache_corrupted; then
2577   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2579   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2580 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2581   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2582 fi
2583 ## -------------------- ##
2584 ## Main body of script. ##
2585 ## -------------------- ##
2586
2587 ac_ext=c
2588 ac_cpp='$CPP $CPPFLAGS'
2589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2592
2593
2594
2595
2596
2597 ac_config_headers="$ac_config_headers config.h"
2598
2599 ac_aux_dir=
2600 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2601   for ac_t in install-sh install.sh shtool; do
2602     if test -f "$ac_dir/$ac_t"; then
2603       ac_aux_dir=$ac_dir
2604       ac_install_sh="$ac_aux_dir/$ac_t -c"
2605       break 2
2606     fi
2607   done
2608 done
2609 if test -z "$ac_aux_dir"; then
2610   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2611 fi
2612
2613 # These three variables are undocumented and unsupported,
2614 # and are intended to be withdrawn in a future Autoconf release.
2615 # They can cause serious problems if a builder's source tree is in a directory
2616 # whose full name contains unusual characters.
2617 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2618 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2619 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2620
2621
2622 # Make sure we can run config.sub.
2623 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2624   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2625
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2627 $as_echo_n "checking build system type... " >&6; }
2628 if test "${ac_cv_build+set}" = set; then :
2629   $as_echo_n "(cached) " >&6
2630 else
2631   ac_build_alias=$build_alias
2632 test "x$ac_build_alias" = x &&
2633   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2634 test "x$ac_build_alias" = x &&
2635   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2636 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2637   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2638
2639 fi
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2641 $as_echo "$ac_cv_build" >&6; }
2642 case $ac_cv_build in
2643 *-*-*) ;;
2644 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2645 esac
2646 build=$ac_cv_build
2647 ac_save_IFS=$IFS; IFS='-'
2648 set x $ac_cv_build
2649 shift
2650 build_cpu=$1
2651 build_vendor=$2
2652 shift; shift
2653 # Remember, the first character of IFS is used to create $*,
2654 # except with old shells:
2655 build_os=$*
2656 IFS=$ac_save_IFS
2657 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2658
2659
2660  case ${build_alias} in
2661   "") build_noncanonical=${build} ;;
2662   *) build_noncanonical=${build_alias} ;;
2663 esac
2664
2665  case ${host_alias} in
2666   "") host_noncanonical=${build_noncanonical} ;;
2667   *) host_noncanonical=${host_alias} ;;
2668 esac
2669
2670  case ${target_alias} in
2671   "") target_noncanonical=${host_noncanonical} ;;
2672   *) target_noncanonical=${target_alias} ;;
2673 esac
2674
2675
2676 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2677 # have matching libraries, they should use host libraries: Makefile.tpl
2678 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2679 # However, they still use the build modules, because the corresponding
2680 # host modules (e.g. bison) are only built for the host when bootstrap
2681 # finishes. So:
2682 # - build_subdir is where we find build modules, and never changes.
2683 # - build_libsubdir is where we find build libraries, and can be overridden.
2684
2685 # Prefix 'build-' so this never conflicts with target_subdir.
2686 build_subdir="build-${build_noncanonical}"
2687
2688 # Check whether --with-build-libsubdir was given.
2689 if test "${with_build_libsubdir+set}" = set; then :
2690   withval=$with_build_libsubdir; build_libsubdir="$withval"
2691 else
2692   build_libsubdir="$build_subdir"
2693 fi
2694
2695 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2696 if ( test $srcdir = . && test -d gcc ) \
2697    || test -d $srcdir/../host-${host_noncanonical}; then
2698   host_subdir="host-${host_noncanonical}"
2699 else
2700   host_subdir=.
2701 fi
2702 # No prefix.
2703 target_subdir=${target_noncanonical}
2704
2705
2706 # -------
2707 # Options
2708 # -------
2709
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2711 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2712 # Check whether --enable-version-specific-runtime-libs was given.
2713 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2714   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2715  yes) version_specific_libs=yes ;;
2716  no)  version_specific_libs=no ;;
2717  *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2718  esac
2719 else
2720   version_specific_libs=no
2721 fi
2722
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2724 $as_echo "$version_specific_libs" >&6; }
2725
2726 # Build with intermodule optimisations
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2728 $as_echo_n "checking for --enable-intermodule... " >&6; }
2729 # Check whether --enable-intermodule was given.
2730 if test "${enable_intermodule+set}" = set; then :
2731   enableval=$enable_intermodule; case "$enable_intermodule" in
2732   yes) onestep="-onestep";;
2733     *) onestep="";;
2734 esac
2735 else
2736   onestep=""
2737 fi
2738
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2740 $as_echo "$enable_intermodule" >&6; }
2741  if test x$onestep = x-onestep; then
2742   onestep_TRUE=
2743   onestep_FALSE='#'
2744 else
2745   onestep_TRUE='#'
2746   onestep_FALSE=
2747 fi
2748
2749
2750
2751 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2752 #
2753 # You will slowly go insane if you do not grok the following fact:  when
2754 # building this library, the top-level /target/ becomes the library's /host/.
2755 #
2756 # configure then causes --target to default to --host, exactly like any
2757 # other package using autoconf.  Therefore, 'target' and 'host' will
2758 # always be the same.  This makes sense both for native and cross compilers
2759 # just think about it for a little while.  :-)
2760 #
2761 # Also, if this library is being configured as part of a cross compiler, the
2762 # top-level configure script will pass the "real" host as $with_cross_host.
2763 #
2764 # Do not delete or change the following two lines.  For why, see
2765 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2767 $as_echo_n "checking host system type... " >&6; }
2768 if test "${ac_cv_host+set}" = set; then :
2769   $as_echo_n "(cached) " >&6
2770 else
2771   if test "x$host_alias" = x; then
2772   ac_cv_host=$ac_cv_build
2773 else
2774   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2775     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2776 fi
2777
2778 fi
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2780 $as_echo "$ac_cv_host" >&6; }
2781 case $ac_cv_host in
2782 *-*-*) ;;
2783 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2784 esac
2785 host=$ac_cv_host
2786 ac_save_IFS=$IFS; IFS='-'
2787 set x $ac_cv_host
2788 shift
2789 host_cpu=$1
2790 host_vendor=$2
2791 shift; shift
2792 # Remember, the first character of IFS is used to create $*,
2793 # except with old shells:
2794 host_os=$*
2795 IFS=$ac_save_IFS
2796 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2797
2798
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2800 $as_echo_n "checking target system type... " >&6; }
2801 if test "${ac_cv_target+set}" = set; then :
2802   $as_echo_n "(cached) " >&6
2803 else
2804   if test "x$target_alias" = x; then
2805   ac_cv_target=$ac_cv_host
2806 else
2807   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2808     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2809 fi
2810
2811 fi
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2813 $as_echo "$ac_cv_target" >&6; }
2814 case $ac_cv_target in
2815 *-*-*) ;;
2816 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2817 esac
2818 target=$ac_cv_target
2819 ac_save_IFS=$IFS; IFS='-'
2820 set x $ac_cv_target
2821 shift
2822 target_cpu=$1
2823 target_vendor=$2
2824 shift; shift
2825 # Remember, the first character of IFS is used to create $*,
2826 # except with old shells:
2827 target_os=$*
2828 IFS=$ac_save_IFS
2829 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2830
2831
2832 # The aliases save the names the user supplied, while $host etc.
2833 # will get canonicalized.
2834 test -n "$target_alias" &&
2835   test "$program_prefix$program_suffix$program_transform_name" = \
2836     NONENONEs,x,x, &&
2837   program_prefix=${target_alias}-
2838
2839 target_alias=${target_alias-$host_alias}
2840
2841 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
2842 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2843 #  1.9.6:  minimum required version
2844 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
2845 #              of other PACKAGE_* variables will, however, and there's nothing
2846 #              we can do about that; they come from AC_INIT).
2847 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
2848 #            file in the top srcdir, etc, etc), so stop complaining.
2849 #  no-dist:  we don't want 'dist' and related rules.
2850 #  -Wall:  turns on all automake warnings...
2851 #  -Wno-portability:  ...except this one, since GNU make is required.
2852 am__api_version='1.11'
2853
2854 # Find a good install program.  We prefer a C program (faster),
2855 # so one script is as good as another.  But avoid the broken or
2856 # incompatible versions:
2857 # SysV /etc/install, /usr/sbin/install
2858 # SunOS /usr/etc/install
2859 # IRIX /sbin/install
2860 # AIX /bin/install
2861 # AmigaOS /C/install, which installs bootblocks on floppy discs
2862 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2863 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2864 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2865 # OS/2's system install, which has a completely different semantic
2866 # ./install, which can be erroneously created by make from ./install.sh.
2867 # Reject install programs that cannot install multiple files.
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2869 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2870 if test -z "$INSTALL"; then
2871 if test "${ac_cv_path_install+set}" = set; then :
2872   $as_echo_n "(cached) " >&6
2873 else
2874   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2875 for as_dir in $PATH
2876 do
2877   IFS=$as_save_IFS
2878   test -z "$as_dir" && as_dir=.
2879     # Account for people who put trailing slashes in PATH elements.
2880 case $as_dir/ in #((
2881   ./ | .// | /[cC]/* | \
2882   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2883   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2884   /usr/ucb/* ) ;;
2885   *)
2886     # OSF1 and SCO ODT 3.0 have their own names for install.
2887     # Don't use installbsd from OSF since it installs stuff as root
2888     # by default.
2889     for ac_prog in ginstall scoinst install; do
2890       for ac_exec_ext in '' $ac_executable_extensions; do
2891         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2892           if test $ac_prog = install &&
2893             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2894             # AIX install.  It has an incompatible calling convention.
2895             :
2896           elif test $ac_prog = install &&
2897             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2898             # program-specific install script used by HP pwplus--don't use.
2899             :
2900           else
2901             rm -rf conftest.one conftest.two conftest.dir
2902             echo one > conftest.one
2903             echo two > conftest.two
2904             mkdir conftest.dir
2905             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2906               test -s conftest.one && test -s conftest.two &&
2907               test -s conftest.dir/conftest.one &&
2908               test -s conftest.dir/conftest.two
2909             then
2910               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2911               break 3
2912             fi
2913           fi
2914         fi
2915       done
2916     done
2917     ;;
2918 esac
2919
2920   done
2921 IFS=$as_save_IFS
2922
2923 rm -rf conftest.one conftest.two conftest.dir
2924
2925 fi
2926   if test "${ac_cv_path_install+set}" = set; then
2927     INSTALL=$ac_cv_path_install
2928   else
2929     # As a last resort, use the slow shell script.  Don't cache a
2930     # value for INSTALL within a source directory, because that will
2931     # break other packages using the cache if that directory is
2932     # removed, or if the value is a relative name.
2933     INSTALL=$ac_install_sh
2934   fi
2935 fi
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2937 $as_echo "$INSTALL" >&6; }
2938
2939 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2940 # It thinks the first close brace ends the variable substitution.
2941 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2942
2943 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2944
2945 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2946
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2948 $as_echo_n "checking whether build environment is sane... " >&6; }
2949 # Just in case
2950 sleep 1
2951 echo timestamp > conftest.file
2952 # Reject unsafe characters in $srcdir or the absolute working directory
2953 # name.  Accept space and tab only in the latter.
2954 am_lf='
2955 '
2956 case `pwd` in
2957   *[\\\"\#\$\&\'\`$am_lf]*)
2958     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2959 esac
2960 case $srcdir in
2961   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2962     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2963 esac
2964
2965 # Do `set' in a subshell so we don't clobber the current shell's
2966 # arguments.  Must try -L first in case configure is actually a
2967 # symlink; some systems play weird games with the mod time of symlinks
2968 # (eg FreeBSD returns the mod time of the symlink's containing
2969 # directory).
2970 if (
2971    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2972    if test "$*" = "X"; then
2973       # -L didn't work.
2974       set X `ls -t "$srcdir/configure" conftest.file`
2975    fi
2976    rm -f conftest.file
2977    if test "$*" != "X $srcdir/configure conftest.file" \
2978       && test "$*" != "X conftest.file $srcdir/configure"; then
2979
2980       # If neither matched, then we have a broken ls.  This can happen
2981       # if, for instance, CONFIG_SHELL is bash and it inherits a
2982       # broken ls alias from the environment.  This has actually
2983       # happened.  Such a system could not be considered "sane".
2984       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2985 alias in your environment" "$LINENO" 5
2986    fi
2987
2988    test "$2" = conftest.file
2989    )
2990 then
2991    # Ok.
2992    :
2993 else
2994    as_fn_error "newly created file is older than distributed files!
2995 Check your system clock" "$LINENO" 5
2996 fi
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2998 $as_echo "yes" >&6; }
2999 test "$program_prefix" != NONE &&
3000   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3001 # Use a double $ so make ignores it.
3002 test "$program_suffix" != NONE &&
3003   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3004 # Double any \ or $.
3005 # By default was `s,x,x', remove it if useless.
3006 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3007 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3008
3009 # expand $ac_aux_dir to an absolute path
3010 am_aux_dir=`cd $ac_aux_dir && pwd`
3011
3012 if test x"${MISSING+set}" != xset; then
3013   case $am_aux_dir in
3014   *\ * | *\     *)
3015     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3016   *)
3017     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3018   esac
3019 fi
3020 # Use eval to expand $SHELL
3021 if eval "$MISSING --run true"; then
3022   am_missing_run="$MISSING --run "
3023 else
3024   am_missing_run=
3025   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3026 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3027 fi
3028
3029 if test x"${install_sh}" != xset; then
3030   case $am_aux_dir in
3031   *\ * | *\     *)
3032     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3033   *)
3034     install_sh="\${SHELL} $am_aux_dir/install-sh"
3035   esac
3036 fi
3037
3038 # Installed binaries are usually stripped using `strip' when the user
3039 # run `make install-strip'.  However `strip' might not be the right
3040 # tool to use in cross-compilation environments, therefore Automake
3041 # will honor the `STRIP' environment variable to overrule this program.
3042 if test "$cross_compiling" != no; then
3043   if test -n "$ac_tool_prefix"; then
3044   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3045 set dummy ${ac_tool_prefix}strip; ac_word=$2
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3047 $as_echo_n "checking for $ac_word... " >&6; }
3048 if test "${ac_cv_prog_STRIP+set}" = set; then :
3049   $as_echo_n "(cached) " >&6
3050 else
3051   if test -n "$STRIP"; then
3052   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3053 else
3054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3055 for as_dir in $PATH
3056 do
3057   IFS=$as_save_IFS
3058   test -z "$as_dir" && as_dir=.
3059     for ac_exec_ext in '' $ac_executable_extensions; do
3060   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3061     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3062     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3063     break 2
3064   fi
3065 done
3066   done
3067 IFS=$as_save_IFS
3068
3069 fi
3070 fi
3071 STRIP=$ac_cv_prog_STRIP
3072 if test -n "$STRIP"; then
3073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3074 $as_echo "$STRIP" >&6; }
3075 else
3076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077 $as_echo "no" >&6; }
3078 fi
3079
3080
3081 fi
3082 if test -z "$ac_cv_prog_STRIP"; then
3083   ac_ct_STRIP=$STRIP
3084   # Extract the first word of "strip", so it can be a program name with args.
3085 set dummy strip; ac_word=$2
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3087 $as_echo_n "checking for $ac_word... " >&6; }
3088 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3089   $as_echo_n "(cached) " >&6
3090 else
3091   if test -n "$ac_ct_STRIP"; then
3092   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3093 else
3094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3095 for as_dir in $PATH
3096 do
3097   IFS=$as_save_IFS
3098   test -z "$as_dir" && as_dir=.
3099     for ac_exec_ext in '' $ac_executable_extensions; do
3100   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3101     ac_cv_prog_ac_ct_STRIP="strip"
3102     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3103     break 2
3104   fi
3105 done
3106   done
3107 IFS=$as_save_IFS
3108
3109 fi
3110 fi
3111 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3112 if test -n "$ac_ct_STRIP"; then
3113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3114 $as_echo "$ac_ct_STRIP" >&6; }
3115 else
3116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3117 $as_echo "no" >&6; }
3118 fi
3119
3120   if test "x$ac_ct_STRIP" = x; then
3121     STRIP=":"
3122   else
3123     case $cross_compiling:$ac_tool_warned in
3124 yes:)
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3127 ac_tool_warned=yes ;;
3128 esac
3129     STRIP=$ac_ct_STRIP
3130   fi
3131 else
3132   STRIP="$ac_cv_prog_STRIP"
3133 fi
3134
3135 fi
3136 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3137
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3139 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3140 if test -z "$MKDIR_P"; then
3141   if test "${ac_cv_path_mkdir+set}" = set; then :
3142   $as_echo_n "(cached) " >&6
3143 else
3144   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3146 do
3147   IFS=$as_save_IFS
3148   test -z "$as_dir" && as_dir=.
3149     for ac_prog in mkdir gmkdir; do
3150          for ac_exec_ext in '' $ac_executable_extensions; do
3151            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3152            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3153              'mkdir (GNU coreutils) '* | \
3154              'mkdir (coreutils) '* | \
3155              'mkdir (fileutils) '4.1*)
3156                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3157                break 3;;
3158            esac
3159          done
3160        done
3161   done
3162 IFS=$as_save_IFS
3163
3164 fi
3165
3166   if test "${ac_cv_path_mkdir+set}" = set; then
3167     MKDIR_P="$ac_cv_path_mkdir -p"
3168   else
3169     # As a last resort, use the slow shell script.  Don't cache a
3170     # value for MKDIR_P within a source directory, because that will
3171     # break other packages using the cache if that directory is
3172     # removed, or if the value is a relative name.
3173     test -d ./--version && rmdir ./--version
3174     MKDIR_P="$ac_install_sh -d"
3175   fi
3176 fi
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3178 $as_echo "$MKDIR_P" >&6; }
3179
3180 mkdir_p="$MKDIR_P"
3181 case $mkdir_p in
3182   [\\/$]* | ?:[\\/]*) ;;
3183   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3184 esac
3185
3186 for ac_prog in gawk mawk nawk awk
3187 do
3188   # Extract the first word of "$ac_prog", so it can be a program name with args.
3189 set dummy $ac_prog; ac_word=$2
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3191 $as_echo_n "checking for $ac_word... " >&6; }
3192 if test "${ac_cv_prog_AWK+set}" = set; then :
3193   $as_echo_n "(cached) " >&6
3194 else
3195   if test -n "$AWK"; then
3196   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3197 else
3198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3199 for as_dir in $PATH
3200 do
3201   IFS=$as_save_IFS
3202   test -z "$as_dir" && as_dir=.
3203     for ac_exec_ext in '' $ac_executable_extensions; do
3204   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3205     ac_cv_prog_AWK="$ac_prog"
3206     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3207     break 2
3208   fi
3209 done
3210   done
3211 IFS=$as_save_IFS
3212
3213 fi
3214 fi
3215 AWK=$ac_cv_prog_AWK
3216 if test -n "$AWK"; then
3217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3218 $as_echo "$AWK" >&6; }
3219 else
3220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3221 $as_echo "no" >&6; }
3222 fi
3223
3224
3225   test -n "$AWK" && break
3226 done
3227
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3229 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3230 set x ${MAKE-make}
3231 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3232 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3233   $as_echo_n "(cached) " >&6
3234 else
3235   cat >conftest.make <<\_ACEOF
3236 SHELL = /bin/sh
3237 all:
3238         @echo '@@@%%%=$(MAKE)=@@@%%%'
3239 _ACEOF
3240 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3241 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3242   *@@@%%%=?*=@@@%%%*)
3243     eval ac_cv_prog_make_${ac_make}_set=yes;;
3244   *)
3245     eval ac_cv_prog_make_${ac_make}_set=no;;
3246 esac
3247 rm -f conftest.make
3248 fi
3249 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3251 $as_echo "yes" >&6; }
3252   SET_MAKE=
3253 else
3254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255 $as_echo "no" >&6; }
3256   SET_MAKE="MAKE=${MAKE-make}"
3257 fi
3258
3259 rm -rf .tst 2>/dev/null
3260 mkdir .tst 2>/dev/null
3261 if test -d .tst; then
3262   am__leading_dot=.
3263 else
3264   am__leading_dot=_
3265 fi
3266 rmdir .tst 2>/dev/null
3267
3268 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3269   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3270   # is not polluted with repeated "-I."
3271   am__isrc=' -I$(srcdir)'
3272   # test to see if srcdir already configured
3273   if test -f $srcdir/config.status; then
3274     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3275   fi
3276 fi
3277
3278 # test whether we have cygpath
3279 if test -z "$CYGPATH_W"; then
3280   if (cygpath --version) >/dev/null 2>/dev/null; then
3281     CYGPATH_W='cygpath -w'
3282   else
3283     CYGPATH_W=echo
3284   fi
3285 fi
3286
3287
3288 # Define the identity of the package.
3289  PACKAGE='libgfortran'
3290  VERSION='0.3'
3291
3292
3293 # Some tools Automake needs.
3294
3295 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3296
3297
3298 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3299
3300
3301 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3302
3303
3304 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3305
3306
3307 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3308
3309 # We need awk for the "check" target.  The system "awk" is bad on
3310 # some platforms.
3311 # Always define AMTAR for backward compatibility.
3312
3313 AMTAR=${AMTAR-"${am_missing_run}tar"}
3314
3315 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3316
3317
3318
3319
3320
3321
3322
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3324 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3325     # Check whether --enable-maintainer-mode was given.
3326 if test "${enable_maintainer_mode+set}" = set; then :
3327   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3328 else
3329   USE_MAINTAINER_MODE=no
3330 fi
3331
3332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3333 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3334    if test $USE_MAINTAINER_MODE = yes; then
3335   MAINTAINER_MODE_TRUE=
3336   MAINTAINER_MODE_FALSE='#'
3337 else
3338   MAINTAINER_MODE_TRUE='#'
3339   MAINTAINER_MODE_FALSE=
3340 fi
3341
3342   MAINT=$MAINTAINER_MODE_TRUE
3343
3344
3345 # Default to --enable-multilib
3346 # Check whether --enable-multilib was given.
3347 if test "${enable_multilib+set}" = set; then :
3348   enableval=$enable_multilib; case "$enableval" in
3349   yes) multilib=yes ;;
3350   no)  multilib=no ;;
3351   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3352  esac
3353 else
3354   multilib=yes
3355 fi
3356
3357
3358 # We may get other options which we leave undocumented:
3359 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3360 # See config-ml.in if you want the gory details.
3361
3362 if test "$srcdir" = "."; then
3363   if test "$with_target_subdir" != "."; then
3364     multi_basedir="$srcdir/$with_multisrctop../.."
3365   else
3366     multi_basedir="$srcdir/$with_multisrctop.."
3367   fi
3368 else
3369   multi_basedir="$srcdir/.."
3370 fi
3371
3372
3373 # Even if the default multilib is not a cross compilation,
3374 # it may be that some of the other multilibs are.
3375 if test $cross_compiling = no && test $multilib = yes \
3376    && test "x${with_multisubdir}" != x ; then
3377    cross_compiling=maybe
3378 fi
3379
3380 ac_config_commands="$ac_config_commands default-1"
3381
3382
3383 # Handy for debugging:
3384 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3385
3386 # Are we being configured with some form of cross compiler?
3387 # NB: We don't actually need to know this just now, but when, say, a test
3388 #     suite is included, we'll have to know.
3389 if test "$build" != "$host"; then
3390   LIBGFOR_IS_NATIVE=false
3391
3392 else
3393   LIBGFOR_IS_NATIVE=true
3394 fi
3395
3396 DEPDIR="${am__leading_dot}deps"
3397
3398 ac_config_commands="$ac_config_commands depfiles"
3399
3400
3401 am_make=${MAKE-make}
3402 cat > confinc << 'END'
3403 am__doit:
3404         @echo this is the am__doit target
3405 .PHONY: am__doit
3406 END
3407 # If we don't find an include directive, just comment out the code.
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3409 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3410 am__include="#"
3411 am__quote=
3412 _am_result=none
3413 # First try GNU make style include.
3414 echo "include confinc" > confmf
3415 # Ignore all kinds of additional output from `make'.
3416 case `$am_make -s -f confmf 2> /dev/null` in #(
3417 *the\ am__doit\ target*)
3418   am__include=include
3419   am__quote=
3420   _am_result=GNU
3421   ;;
3422 esac
3423 # Now try BSD make style include.
3424 if test "$am__include" = "#"; then
3425    echo '.include "confinc"' > confmf
3426    case `$am_make -s -f confmf 2> /dev/null` in #(
3427    *the\ am__doit\ target*)
3428      am__include=.include
3429      am__quote="\""
3430      _am_result=BSD
3431      ;;
3432    esac
3433 fi
3434
3435
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3437 $as_echo "$_am_result" >&6; }
3438 rm -f confinc confmf
3439
3440 # Check whether --enable-dependency-tracking was given.
3441 if test "${enable_dependency_tracking+set}" = set; then :
3442   enableval=$enable_dependency_tracking;
3443 fi
3444
3445 if test "x$enable_dependency_tracking" != xno; then
3446   am_depcomp="$ac_aux_dir/depcomp"
3447   AMDEPBACKSLASH='\'
3448 fi
3449  if test "x$enable_dependency_tracking" != xno; then
3450   AMDEP_TRUE=
3451   AMDEP_FALSE='#'
3452 else
3453   AMDEP_TRUE='#'
3454   AMDEP_FALSE=
3455 fi
3456
3457
3458 ac_ext=c
3459 ac_cpp='$CPP $CPPFLAGS'
3460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3463 if test -n "$ac_tool_prefix"; then
3464   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3465 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3467 $as_echo_n "checking for $ac_word... " >&6; }
3468 if test "${ac_cv_prog_CC+set}" = set; then :
3469   $as_echo_n "(cached) " >&6
3470 else
3471   if test -n "$CC"; then
3472   ac_cv_prog_CC="$CC" # Let the user override the test.
3473 else
3474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3475 for as_dir in $PATH
3476 do
3477   IFS=$as_save_IFS
3478   test -z "$as_dir" && as_dir=.
3479     for ac_exec_ext in '' $ac_executable_extensions; do
3480   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3481     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3483     break 2
3484   fi
3485 done
3486   done
3487 IFS=$as_save_IFS
3488
3489 fi
3490 fi
3491 CC=$ac_cv_prog_CC
3492 if test -n "$CC"; then
3493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3494 $as_echo "$CC" >&6; }
3495 else
3496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3497 $as_echo "no" >&6; }
3498 fi
3499
3500
3501 fi
3502 if test -z "$ac_cv_prog_CC"; then
3503   ac_ct_CC=$CC
3504   # Extract the first word of "gcc", so it can be a program name with args.
3505 set dummy gcc; ac_word=$2
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3507 $as_echo_n "checking for $ac_word... " >&6; }
3508 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3509   $as_echo_n "(cached) " >&6
3510 else
3511   if test -n "$ac_ct_CC"; then
3512   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3513 else
3514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3515 for as_dir in $PATH
3516 do
3517   IFS=$as_save_IFS
3518   test -z "$as_dir" && as_dir=.
3519     for ac_exec_ext in '' $ac_executable_extensions; do
3520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3521     ac_cv_prog_ac_ct_CC="gcc"
3522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3523     break 2
3524   fi
3525 done
3526   done
3527 IFS=$as_save_IFS
3528
3529 fi
3530 fi
3531 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3532 if test -n "$ac_ct_CC"; then
3533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3534 $as_echo "$ac_ct_CC" >&6; }
3535 else
3536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3537 $as_echo "no" >&6; }
3538 fi
3539
3540   if test "x$ac_ct_CC" = x; then
3541     CC=""
3542   else
3543     case $cross_compiling:$ac_tool_warned in
3544 yes:)
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3547 ac_tool_warned=yes ;;
3548 esac
3549     CC=$ac_ct_CC
3550   fi
3551 else
3552   CC="$ac_cv_prog_CC"
3553 fi
3554
3555 if test -z "$CC"; then
3556           if test -n "$ac_tool_prefix"; then
3557     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3558 set dummy ${ac_tool_prefix}cc; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if test "${ac_cv_prog_CC+set}" = set; then :
3562   $as_echo_n "(cached) " >&6
3563 else
3564   if test -n "$CC"; then
3565   ac_cv_prog_CC="$CC" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3569 do
3570   IFS=$as_save_IFS
3571   test -z "$as_dir" && as_dir=.
3572     for ac_exec_ext in '' $ac_executable_extensions; do
3573   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3574     ac_cv_prog_CC="${ac_tool_prefix}cc"
3575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576     break 2
3577   fi
3578 done
3579   done
3580 IFS=$as_save_IFS
3581
3582 fi
3583 fi
3584 CC=$ac_cv_prog_CC
3585 if test -n "$CC"; then
3586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3587 $as_echo "$CC" >&6; }
3588 else
3589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3591 fi
3592
3593
3594   fi
3595 fi
3596 if test -z "$CC"; then
3597   # Extract the first word of "cc", so it can be a program name with args.
3598 set dummy cc; ac_word=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if test "${ac_cv_prog_CC+set}" = set; then :
3602   $as_echo_n "(cached) " >&6
3603 else
3604   if test -n "$CC"; then
3605   ac_cv_prog_CC="$CC" # Let the user override the test.
3606 else
3607   ac_prog_rejected=no
3608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3609 for as_dir in $PATH
3610 do
3611   IFS=$as_save_IFS
3612   test -z "$as_dir" && as_dir=.
3613     for ac_exec_ext in '' $ac_executable_extensions; do
3614   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3615     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3616        ac_prog_rejected=yes
3617        continue
3618      fi
3619     ac_cv_prog_CC="cc"
3620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3621     break 2
3622   fi
3623 done
3624   done
3625 IFS=$as_save_IFS
3626
3627 if test $ac_prog_rejected = yes; then
3628   # We found a bogon in the path, so make sure we never use it.
3629   set dummy $ac_cv_prog_CC
3630   shift
3631   if test $# != 0; then
3632     # We chose a different compiler from the bogus one.
3633     # However, it has the same basename, so the bogon will be chosen
3634     # first if we set CC to just the basename; use the full file name.
3635     shift
3636     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3637   fi
3638 fi
3639 fi
3640 fi
3641 CC=$ac_cv_prog_CC
3642 if test -n "$CC"; then
3643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3644 $as_echo "$CC" >&6; }
3645 else
3646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3647 $as_echo "no" >&6; }
3648 fi
3649
3650
3651 fi
3652 if test -z "$CC"; then
3653   if test -n "$ac_tool_prefix"; then
3654   for ac_prog in cl.exe
3655   do
3656     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3657 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3659 $as_echo_n "checking for $ac_word... " >&6; }
3660 if test "${ac_cv_prog_CC+set}" = set; then :
3661   $as_echo_n "(cached) " >&6
3662 else
3663   if test -n "$CC"; then
3664   ac_cv_prog_CC="$CC" # Let the user override the test.
3665 else
3666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3667 for as_dir in $PATH
3668 do
3669   IFS=$as_save_IFS
3670   test -z "$as_dir" && as_dir=.
3671     for ac_exec_ext in '' $ac_executable_extensions; do
3672   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3673     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3674     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3675     break 2
3676   fi
3677 done
3678   done
3679 IFS=$as_save_IFS
3680
3681 fi
3682 fi
3683 CC=$ac_cv_prog_CC
3684 if test -n "$CC"; then
3685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3686 $as_echo "$CC" >&6; }
3687 else
3688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689 $as_echo "no" >&6; }
3690 fi
3691
3692
3693     test -n "$CC" && break
3694   done
3695 fi
3696 if test -z "$CC"; then
3697   ac_ct_CC=$CC
3698   for ac_prog in cl.exe
3699 do
3700   # Extract the first word of "$ac_prog", so it can be a program name with args.
3701 set dummy $ac_prog; ac_word=$2
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3703 $as_echo_n "checking for $ac_word... " >&6; }
3704 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3705   $as_echo_n "(cached) " >&6
3706 else
3707   if test -n "$ac_ct_CC"; then
3708   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3709 else
3710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3711 for as_dir in $PATH
3712 do
3713   IFS=$as_save_IFS
3714   test -z "$as_dir" && as_dir=.
3715     for ac_exec_ext in '' $ac_executable_extensions; do
3716   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3717     ac_cv_prog_ac_ct_CC="$ac_prog"
3718     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3719     break 2
3720   fi
3721 done
3722   done
3723 IFS=$as_save_IFS
3724
3725 fi
3726 fi
3727 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3728 if test -n "$ac_ct_CC"; then
3729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3730 $as_echo "$ac_ct_CC" >&6; }
3731 else
3732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3734 fi
3735
3736
3737   test -n "$ac_ct_CC" && break
3738 done
3739
3740   if test "x$ac_ct_CC" = x; then
3741     CC=""
3742   else
3743     case $cross_compiling:$ac_tool_warned in
3744 yes:)
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3747 ac_tool_warned=yes ;;
3748 esac
3749     CC=$ac_ct_CC
3750   fi
3751 fi
3752
3753 fi
3754
3755
3756 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3758 as_fn_error "no acceptable C compiler found in \$PATH
3759 See \`config.log' for more details." "$LINENO" 5; }
3760
3761 # Provide some information about the compiler.
3762 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3763 set X $ac_compile
3764 ac_compiler=$2
3765 for ac_option in --version -v -V -qversion; do
3766   { { ac_try="$ac_compiler $ac_option >&5"
3767 case "(($ac_try" in
3768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3769   *) ac_try_echo=$ac_try;;
3770 esac
3771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3772 $as_echo "$ac_try_echo"; } >&5
3773   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3774   ac_status=$?
3775   if test -s conftest.err; then
3776     sed '10a\
3777 ... rest of stderr output deleted ...
3778          10q' conftest.err >conftest.er1
3779     cat conftest.er1 >&5
3780     rm -f conftest.er1 conftest.err
3781   fi
3782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3783   test $ac_status = 0; }
3784 done
3785
3786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3787 /* end confdefs.h.  */
3788
3789 int
3790 main ()
3791 {
3792
3793   ;
3794   return 0;
3795 }
3796 _ACEOF
3797 # FIXME: Cleanup?
3798 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3799   (eval $ac_link) 2>&5
3800   ac_status=$?
3801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3802   test $ac_status = 0; }; then :
3803   gcc_no_link=no
3804 else
3805   gcc_no_link=yes
3806 fi
3807 if test x$gcc_no_link = xyes; then
3808   # Setting cross_compile will disable run tests; it will
3809   # also disable AC_CHECK_FILE but that's generally
3810   # correct if we can't link.
3811   cross_compiling=yes
3812   EXEEXT=
3813 else
3814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3815 /* end confdefs.h.  */
3816
3817 int
3818 main ()
3819 {
3820
3821   ;
3822   return 0;
3823 }
3824 _ACEOF
3825 ac_clean_files_save=$ac_clean_files
3826 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3827 # Try to create an executable without -o first, disregard a.out.
3828 # It will help us diagnose broken compilers, and finding out an intuition
3829 # of exeext.
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3831 $as_echo_n "checking for C compiler default output file name... " >&6; }
3832 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3833
3834 # The possible output files:
3835 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3836
3837 ac_rmfiles=
3838 for ac_file in $ac_files
3839 do
3840   case $ac_file in
3841     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3842     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3843   esac
3844 done
3845 rm -f $ac_rmfiles
3846
3847 if { { ac_try="$ac_link_default"
3848 case "(($ac_try" in
3849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3850   *) ac_try_echo=$ac_try;;
3851 esac
3852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3853 $as_echo "$ac_try_echo"; } >&5
3854   (eval "$ac_link_default") 2>&5
3855   ac_status=$?
3856   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3857   test $ac_status = 0; }; then :
3858   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3859 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3860 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3861 # so that the user can short-circuit this test for compilers unknown to
3862 # Autoconf.
3863 for ac_file in $ac_files ''
3864 do
3865   test -f "$ac_file" || continue
3866   case $ac_file in
3867     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3868         ;;
3869     [ab].out )
3870         # We found the default executable, but exeext='' is most
3871         # certainly right.
3872         break;;
3873     *.* )
3874         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3875         then :; else
3876            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3877         fi
3878         # We set ac_cv_exeext here because the later test for it is not
3879         # safe: cross compilers may not add the suffix if given an `-o'
3880         # argument, so we may need to know it at that point already.
3881         # Even if this section looks crufty: it has the advantage of
3882         # actually working.
3883         break;;
3884     * )
3885         break;;
3886   esac
3887 done
3888 test "$ac_cv_exeext" = no && ac_cv_exeext=
3889
3890 else
3891   ac_file=''
3892 fi
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3894 $as_echo "$ac_file" >&6; }
3895 if test -z "$ac_file"; then :
3896   $as_echo "$as_me: failed program was:" >&5
3897 sed 's/^/| /' conftest.$ac_ext >&5
3898
3899 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3901 { as_fn_set_status 77
3902 as_fn_error "C compiler cannot create executables
3903 See \`config.log' for more details." "$LINENO" 5; }; }
3904 fi
3905 ac_exeext=$ac_cv_exeext
3906
3907 # Check that the compiler produces executables we can run.  If not, either
3908 # the compiler is broken, or we cross compile.
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3910 $as_echo_n "checking whether the C compiler works... " >&6; }
3911 # If not cross compiling, check that we can run a simple program.
3912 if test "$cross_compiling" != yes; then
3913   if { ac_try='./$ac_file'
3914   { { case "(($ac_try" in
3915   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3916   *) ac_try_echo=$ac_try;;
3917 esac
3918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3919 $as_echo "$ac_try_echo"; } >&5
3920   (eval "$ac_try") 2>&5
3921   ac_status=$?
3922   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923   test $ac_status = 0; }; }; then
3924     cross_compiling=no
3925   else
3926     if test "$cross_compiling" = maybe; then
3927         cross_compiling=yes
3928     else
3929         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3931 as_fn_error "cannot run C compiled programs.
3932 If you meant to cross compile, use \`--host'.
3933 See \`config.log' for more details." "$LINENO" 5; }
3934     fi
3935   fi
3936 fi
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3938 $as_echo "yes" >&6; }
3939
3940 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3941 ac_clean_files=$ac_clean_files_save
3942 # Check that the compiler produces executables we can run.  If not, either
3943 # the compiler is broken, or we cross compile.
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3945 $as_echo_n "checking whether we are cross compiling... " >&6; }
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3947 $as_echo "$cross_compiling" >&6; }
3948
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3950 $as_echo_n "checking for suffix of executables... " >&6; }
3951 if { { ac_try="$ac_link"
3952 case "(($ac_try" in
3953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3954   *) ac_try_echo=$ac_try;;
3955 esac
3956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3957 $as_echo "$ac_try_echo"; } >&5
3958   (eval "$ac_link") 2>&5
3959   ac_status=$?
3960   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3961   test $ac_status = 0; }; then :
3962   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3963 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3964 # work properly (i.e., refer to `conftest.exe'), while it won't with
3965 # `rm'.
3966 for ac_file in conftest.exe conftest conftest.*; do
3967   test -f "$ac_file" || continue
3968   case $ac_file in
3969     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3970     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3971           break;;
3972     * ) break;;
3973   esac
3974 done
3975 else
3976   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3978 as_fn_error "cannot compute suffix of executables: cannot compile and link
3979 See \`config.log' for more details." "$LINENO" 5; }
3980 fi
3981 rm -f conftest$ac_cv_exeext
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3983 $as_echo "$ac_cv_exeext" >&6; }
3984
3985 rm -f conftest.$ac_ext
3986 EXEEXT=$ac_cv_exeext
3987 ac_exeext=$EXEEXT
3988 fi
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3990 $as_echo_n "checking for suffix of object files... " >&6; }
3991 if test "${ac_cv_objext+set}" = set; then :
3992   $as_echo_n "(cached) " >&6
3993 else
3994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3995 /* end confdefs.h.  */
3996
3997 int
3998 main ()
3999 {
4000
4001   ;
4002   return 0;
4003 }
4004 _ACEOF
4005 rm -f conftest.o conftest.obj
4006 if { { ac_try="$ac_compile"
4007 case "(($ac_try" in
4008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009   *) ac_try_echo=$ac_try;;
4010 esac
4011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4012 $as_echo "$ac_try_echo"; } >&5
4013   (eval "$ac_compile") 2>&5
4014   ac_status=$?
4015   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4016   test $ac_status = 0; }; then :
4017   for ac_file in conftest.o conftest.obj conftest.*; do
4018   test -f "$ac_file" || continue;
4019   case $ac_file in
4020     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4021     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4022        break;;
4023   esac
4024 done
4025 else
4026   $as_echo "$as_me: failed program was:" >&5
4027 sed 's/^/| /' conftest.$ac_ext >&5
4028
4029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error "cannot compute suffix of object files: cannot compile
4032 See \`config.log' for more details." "$LINENO" 5; }
4033 fi
4034 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4035 fi
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4037 $as_echo "$ac_cv_objext" >&6; }
4038 OBJEXT=$ac_cv_objext
4039 ac_objext=$OBJEXT
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4041 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4042 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4043   $as_echo_n "(cached) " >&6
4044 else
4045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h.  */
4047
4048 int
4049 main ()
4050 {
4051 #ifndef __GNUC__
4052        choke me
4053 #endif
4054
4055   ;
4056   return 0;
4057 }
4058 _ACEOF
4059 if ac_fn_c_try_compile "$LINENO"; then :
4060   ac_compiler_gnu=yes
4061 else
4062   ac_compiler_gnu=no
4063 fi
4064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4065 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4066
4067 fi
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4069 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4070 if test $ac_compiler_gnu = yes; then
4071   GCC=yes
4072 else
4073   GCC=
4074 fi
4075 ac_test_CFLAGS=${CFLAGS+set}
4076 ac_save_CFLAGS=$CFLAGS
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4078 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4079 if test "${ac_cv_prog_cc_g+set}" = set; then :
4080   $as_echo_n "(cached) " >&6
4081 else
4082   ac_save_c_werror_flag=$ac_c_werror_flag
4083    ac_c_werror_flag=yes
4084    ac_cv_prog_cc_g=no
4085    CFLAGS="-g"
4086    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4087 /* end confdefs.h.  */
4088
4089 int
4090 main ()
4091 {
4092
4093   ;
4094   return 0;
4095 }
4096 _ACEOF
4097 if ac_fn_c_try_compile "$LINENO"; then :
4098   ac_cv_prog_cc_g=yes
4099 else
4100   CFLAGS=""
4101       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4102 /* end confdefs.h.  */
4103
4104 int
4105 main ()
4106 {
4107
4108   ;
4109   return 0;
4110 }
4111 _ACEOF
4112 if ac_fn_c_try_compile "$LINENO"; then :
4113
4114 else
4115   ac_c_werror_flag=$ac_save_c_werror_flag
4116          CFLAGS="-g"
4117          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h.  */
4119
4120 int
4121 main ()
4122 {
4123
4124   ;
4125   return 0;
4126 }
4127 _ACEOF
4128 if ac_fn_c_try_compile "$LINENO"; then :
4129   ac_cv_prog_cc_g=yes
4130 fi
4131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4132 fi
4133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4134 fi
4135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4136    ac_c_werror_flag=$ac_save_c_werror_flag
4137 fi
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4139 $as_echo "$ac_cv_prog_cc_g" >&6; }
4140 if test "$ac_test_CFLAGS" = set; then
4141   CFLAGS=$ac_save_CFLAGS
4142 elif test $ac_cv_prog_cc_g = yes; then
4143   if test "$GCC" = yes; then
4144     CFLAGS="-g -O2"
4145   else
4146     CFLAGS="-g"
4147   fi
4148 else
4149   if test "$GCC" = yes; then
4150     CFLAGS="-O2"
4151   else
4152     CFLAGS=
4153   fi
4154 fi
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4156 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4157 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4158   $as_echo_n "(cached) " >&6
4159 else
4160   ac_cv_prog_cc_c89=no
4161 ac_save_CC=$CC
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h.  */
4164 #include <stdarg.h>
4165 #include <stdio.h>
4166 #include <sys/types.h>
4167 #include <sys/stat.h>
4168 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4169 struct buf { int x; };
4170 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4171 static char *e (p, i)
4172      char **p;
4173      int i;
4174 {
4175   return p[i];
4176 }
4177 static char *f (char * (*g) (char **, int), char **p, ...)
4178 {
4179   char *s;
4180   va_list v;
4181   va_start (v,p);
4182   s = g (p, va_arg (v,int));
4183   va_end (v);
4184   return s;
4185 }
4186
4187 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4188    function prototypes and stuff, but not '\xHH' hex character constants.
4189    These don't provoke an error unfortunately, instead are silently treated
4190    as 'x'.  The following induces an error, until -std is added to get
4191    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4192    array size at least.  It's necessary to write '\x00'==0 to get something
4193    that's true only with -std.  */
4194 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4195
4196 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4197    inside strings and character constants.  */
4198 #define FOO(x) 'x'
4199 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4200
4201 int test (int i, double x);
4202 struct s1 {int (*f) (int a);};
4203 struct s2 {int (*f) (double a);};
4204 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4205 int argc;
4206 char **argv;
4207 int
4208 main ()
4209 {
4210 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4211   ;
4212   return 0;
4213 }
4214 _ACEOF
4215 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4216         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4217 do
4218   CC="$ac_save_CC $ac_arg"
4219   if ac_fn_c_try_compile "$LINENO"; then :
4220   ac_cv_prog_cc_c89=$ac_arg
4221 fi
4222 rm -f core conftest.err conftest.$ac_objext
4223   test "x$ac_cv_prog_cc_c89" != "xno" && break
4224 done
4225 rm -f conftest.$ac_ext
4226 CC=$ac_save_CC
4227
4228 fi
4229 # AC_CACHE_VAL
4230 case "x$ac_cv_prog_cc_c89" in
4231   x)
4232     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4233 $as_echo "none needed" >&6; } ;;
4234   xno)
4235     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4236 $as_echo "unsupported" >&6; } ;;
4237   *)
4238     CC="$CC $ac_cv_prog_cc_c89"
4239     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4240 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4241 esac
4242 if test "x$ac_cv_prog_cc_c89" != xno; then :
4243
4244 fi
4245
4246 ac_ext=c
4247 ac_cpp='$CPP $CPPFLAGS'
4248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4251
4252 depcc="$CC"   am_compiler_list=
4253
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4255 $as_echo_n "checking dependency style of $depcc... " >&6; }
4256 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4257   $as_echo_n "(cached) " >&6
4258 else
4259   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4260   # We make a subdir and do the tests there.  Otherwise we can end up
4261   # making bogus files that we don't know about and never remove.  For
4262   # instance it was reported that on HP-UX the gcc test will end up
4263   # making a dummy file named `D' -- because `-MD' means `put the output
4264   # in D'.
4265   mkdir conftest.dir
4266   # Copy depcomp to subdir because otherwise we won't find it if we're
4267   # using a relative directory.
4268   cp "$am_depcomp" conftest.dir
4269   cd conftest.dir
4270   # We will build objects and dependencies in a subdirectory because
4271   # it helps to detect inapplicable dependency modes.  For instance
4272   # both Tru64's cc and ICC support -MD to output dependencies as a
4273   # side effect of compilation, but ICC will put the dependencies in
4274   # the current directory while Tru64 will put them in the object
4275   # directory.
4276   mkdir sub
4277
4278   am_cv_CC_dependencies_compiler_type=none
4279   if test "$am_compiler_list" = ""; then
4280      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4281   fi
4282   am__universal=false
4283   case " $depcc " in #(
4284      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4285      esac
4286
4287   for depmode in $am_compiler_list; do
4288     # Setup a source with many dependencies, because some compilers
4289     # like to wrap large dependency lists on column 80 (with \), and
4290     # we should not choose a depcomp mode which is confused by this.
4291     #
4292     # We need to recreate these files for each test, as the compiler may
4293     # overwrite some of them when testing with obscure command lines.
4294     # This happens at least with the AIX C compiler.
4295     : > sub/conftest.c
4296     for i in 1 2 3 4 5 6; do
4297       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4298       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4299       # Solaris 8's {/usr,}/bin/sh.
4300       touch sub/conftst$i.h
4301     done
4302     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4303
4304     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4305     # mode.  It turns out that the SunPro C++ compiler does not properly
4306     # handle `-M -o', and we need to detect this.  Also, some Intel
4307     # versions had trouble with output in subdirs
4308     am__obj=sub/conftest.${OBJEXT-o}
4309     am__minus_obj="-o $am__obj"
4310     case $depmode in
4311     gcc)
4312       # This depmode causes a compiler race in universal mode.
4313       test "$am__universal" = false || continue
4314       ;;
4315     nosideeffect)
4316       # after this tag, mechanisms are not by side-effect, so they'll
4317       # only be used when explicitly requested
4318       if test "x$enable_dependency_tracking" = xyes; then
4319         continue
4320       else
4321         break
4322       fi
4323       ;;
4324     msvisualcpp | msvcmsys)
4325       # This compiler won't grok `-c -o', but also, the minuso test has
4326       # not run yet.  These depmodes are late enough in the game, and
4327       # so weak that their functioning should not be impacted.
4328       am__obj=conftest.${OBJEXT-o}
4329       am__minus_obj=
4330       ;;
4331     none) break ;;
4332     esac
4333     if depmode=$depmode \
4334        source=sub/conftest.c object=$am__obj \
4335        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4336        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4337          >/dev/null 2>conftest.err &&
4338        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4339        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4340        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4341        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4342       # icc doesn't choke on unknown options, it will just issue warnings
4343       # or remarks (even with -Werror).  So we grep stderr for any message
4344       # that says an option was ignored or not supported.
4345       # When given -MP, icc 7.0 and 7.1 complain thusly:
4346       #   icc: Command line warning: ignoring option '-M'; no argument required
4347       # The diagnosis changed in icc 8.0:
4348       #   icc: Command line remark: option '-MP' not supported
4349       if (grep 'ignoring option' conftest.err ||
4350           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4351         am_cv_CC_dependencies_compiler_type=$depmode
4352         break
4353       fi
4354     fi
4355   done
4356
4357   cd ..
4358   rm -rf conftest.dir
4359 else
4360   am_cv_CC_dependencies_compiler_type=none
4361 fi
4362
4363 fi
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4365 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4366 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4367
4368  if
4369   test "x$enable_dependency_tracking" != xno \
4370   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4371   am__fastdepCC_TRUE=
4372   am__fastdepCC_FALSE='#'
4373 else
4374   am__fastdepCC_TRUE='#'
4375   am__fastdepCC_FALSE=
4376 fi
4377
4378
4379
4380 ac_ext=c
4381 ac_cpp='$CPP $CPPFLAGS'
4382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4386 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4387 # On Suns, sometimes $CPP names a directory.
4388 if test -n "$CPP" && test -d "$CPP"; then
4389   CPP=
4390 fi
4391 if test -z "$CPP"; then
4392   if test "${ac_cv_prog_CPP+set}" = set; then :
4393   $as_echo_n "(cached) " >&6
4394 else
4395       # Double quotes because CPP needs to be expanded
4396     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4397     do
4398       ac_preproc_ok=false
4399 for ac_c_preproc_warn_flag in '' yes
4400 do
4401   # Use a header file that comes with gcc, so configuring glibc
4402   # with a fresh cross-compiler works.
4403   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4404   # <limits.h> exists even on freestanding compilers.
4405   # On the NeXT, cc -E runs the code through the compiler's parser,
4406   # not just through cpp. "Syntax error" is here to catch this case.
4407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4408 /* end confdefs.h.  */
4409 #ifdef __STDC__
4410 # include <limits.h>
4411 #else
4412 # include <assert.h>
4413 #endif
4414                      Syntax error
4415 _ACEOF
4416 if ac_fn_c_try_cpp "$LINENO"; then :
4417
4418 else
4419   # Broken: fails on valid input.
4420 continue
4421 fi
4422 rm -f conftest.err conftest.$ac_ext
4423
4424   # OK, works on sane cases.  Now check whether nonexistent headers
4425   # can be detected and how.
4426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4427 /* end confdefs.h.  */
4428 #include <ac_nonexistent.h>
4429 _ACEOF
4430 if ac_fn_c_try_cpp "$LINENO"; then :
4431   # Broken: success on invalid input.
4432 continue
4433 else
4434   # Passes both tests.
4435 ac_preproc_ok=:
4436 break
4437 fi
4438 rm -f conftest.err conftest.$ac_ext
4439
4440 done
4441 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4442 rm -f conftest.err conftest.$ac_ext
4443 if $ac_preproc_ok; then :
4444   break
4445 fi
4446
4447     done
4448     ac_cv_prog_CPP=$CPP
4449
4450 fi
4451   CPP=$ac_cv_prog_CPP
4452 else
4453   ac_cv_prog_CPP=$CPP
4454 fi
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4456 $as_echo "$CPP" >&6; }
4457 ac_preproc_ok=false
4458 for ac_c_preproc_warn_flag in '' yes
4459 do
4460   # Use a header file that comes with gcc, so configuring glibc
4461   # with a fresh cross-compiler works.
4462   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4463   # <limits.h> exists even on freestanding compilers.
4464   # On the NeXT, cc -E runs the code through the compiler's parser,
4465   # not just through cpp. "Syntax error" is here to catch this case.
4466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4467 /* end confdefs.h.  */
4468 #ifdef __STDC__
4469 # include <limits.h>
4470 #else
4471 # include <assert.h>
4472 #endif
4473                      Syntax error
4474 _ACEOF
4475 if ac_fn_c_try_cpp "$LINENO"; then :
4476
4477 else
4478   # Broken: fails on valid input.
4479 continue
4480 fi
4481 rm -f conftest.err conftest.$ac_ext
4482
4483   # OK, works on sane cases.  Now check whether nonexistent headers
4484   # can be detected and how.
4485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4486 /* end confdefs.h.  */
4487 #include <ac_nonexistent.h>
4488 _ACEOF
4489 if ac_fn_c_try_cpp "$LINENO"; then :
4490   # Broken: success on invalid input.
4491 continue
4492 else
4493   # Passes both tests.
4494 ac_preproc_ok=:
4495 break
4496 fi
4497 rm -f conftest.err conftest.$ac_ext
4498
4499 done
4500 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4501 rm -f conftest.err conftest.$ac_ext
4502 if $ac_preproc_ok; then :
4503
4504 else
4505   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4507 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4508 See \`config.log' for more details." "$LINENO" 5; }
4509 fi
4510
4511 ac_ext=c
4512 ac_cpp='$CPP $CPPFLAGS'
4513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4516
4517
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4519 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4520 if test "${ac_cv_path_GREP+set}" = set; then :
4521   $as_echo_n "(cached) " >&6
4522 else
4523   if test -z "$GREP"; then
4524   ac_path_GREP_found=false
4525   # Loop through the user's path and test for each of PROGNAME-LIST
4526   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4527 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4528 do
4529   IFS=$as_save_IFS
4530   test -z "$as_dir" && as_dir=.
4531     for ac_prog in grep ggrep; do
4532     for ac_exec_ext in '' $ac_executable_extensions; do
4533       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4534       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4535 # Check for GNU ac_path_GREP and select it if it is found.
4536   # Check for GNU $ac_path_GREP
4537 case `"$ac_path_GREP" --version 2>&1` in
4538 *GNU*)
4539   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4540 *)
4541   ac_count=0
4542   $as_echo_n 0123456789 >"conftest.in"
4543   while :
4544   do
4545     cat "conftest.in" "conftest.in" >"conftest.tmp"
4546     mv "conftest.tmp" "conftest.in"
4547     cp "conftest.in" "conftest.nl"
4548     $as_echo 'GREP' >> "conftest.nl"
4549     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4550     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4551     as_fn_arith $ac_count + 1 && ac_count=$as_val
4552     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4553       # Best one so far, save it but keep looking for a better one
4554       ac_cv_path_GREP="$ac_path_GREP"
4555       ac_path_GREP_max=$ac_count
4556     fi
4557     # 10*(2^10) chars as input seems more than enough
4558     test $ac_count -gt 10 && break
4559   done
4560   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4561 esac
4562
4563       $ac_path_GREP_found && break 3
4564     done
4565   done
4566   done
4567 IFS=$as_save_IFS
4568   if test -z "$ac_cv_path_GREP"; then
4569     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4570   fi
4571 else
4572   ac_cv_path_GREP=$GREP
4573 fi
4574
4575 fi
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4577 $as_echo "$ac_cv_path_GREP" >&6; }
4578  GREP="$ac_cv_path_GREP"
4579
4580
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4582 $as_echo_n "checking for egrep... " >&6; }
4583 if test "${ac_cv_path_EGREP+set}" = set; then :
4584   $as_echo_n "(cached) " >&6
4585 else
4586   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4587    then ac_cv_path_EGREP="$GREP -E"
4588    else
4589      if test -z "$EGREP"; then
4590   ac_path_EGREP_found=false
4591   # Loop through the user's path and test for each of PROGNAME-LIST
4592   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4593 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4594 do
4595   IFS=$as_save_IFS
4596   test -z "$as_dir" && as_dir=.
4597     for ac_prog in egrep; do
4598     for ac_exec_ext in '' $ac_executable_extensions; do
4599       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4600       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4601 # Check for GNU ac_path_EGREP and select it if it is found.
4602   # Check for GNU $ac_path_EGREP
4603 case `"$ac_path_EGREP" --version 2>&1` in
4604 *GNU*)
4605   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4606 *)
4607   ac_count=0
4608   $as_echo_n 0123456789 >"conftest.in"
4609   while :
4610   do
4611     cat "conftest.in" "conftest.in" >"conftest.tmp"
4612     mv "conftest.tmp" "conftest.in"
4613     cp "conftest.in" "conftest.nl"
4614     $as_echo 'EGREP' >> "conftest.nl"
4615     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4616     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4617     as_fn_arith $ac_count + 1 && ac_count=$as_val
4618     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4619       # Best one so far, save it but keep looking for a better one
4620       ac_cv_path_EGREP="$ac_path_EGREP"
4621       ac_path_EGREP_max=$ac_count
4622     fi
4623     # 10*(2^10) chars as input seems more than enough
4624     test $ac_count -gt 10 && break
4625   done
4626   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4627 esac
4628
4629       $ac_path_EGREP_found && break 3
4630     done
4631   done
4632   done
4633 IFS=$as_save_IFS
4634   if test -z "$ac_cv_path_EGREP"; then
4635     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4636   fi
4637 else
4638   ac_cv_path_EGREP=$EGREP
4639 fi
4640
4641    fi
4642 fi
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4644 $as_echo "$ac_cv_path_EGREP" >&6; }
4645  EGREP="$ac_cv_path_EGREP"
4646
4647
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4649 $as_echo_n "checking for ANSI C header files... " >&6; }
4650 if test "${ac_cv_header_stdc+set}" = set; then :
4651   $as_echo_n "(cached) " >&6
4652 else
4653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h.  */
4655 #include <stdlib.h>
4656 #include <stdarg.h>
4657 #include <string.h>
4658 #include <float.h>
4659
4660 int
4661 main ()
4662 {
4663
4664   ;
4665   return 0;
4666 }
4667 _ACEOF
4668 if ac_fn_c_try_compile "$LINENO"; then :
4669   ac_cv_header_stdc=yes
4670 else
4671   ac_cv_header_stdc=no
4672 fi
4673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4674
4675 if test $ac_cv_header_stdc = yes; then
4676   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4678 /* end confdefs.h.  */
4679 #include <string.h>
4680
4681 _ACEOF
4682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4683   $EGREP "memchr" >/dev/null 2>&1; then :
4684
4685 else
4686   ac_cv_header_stdc=no
4687 fi
4688 rm -f conftest*
4689
4690 fi
4691
4692 if test $ac_cv_header_stdc = yes; then
4693   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4695 /* end confdefs.h.  */
4696 #include <stdlib.h>
4697
4698 _ACEOF
4699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4700   $EGREP "free" >/dev/null 2>&1; then :
4701
4702 else
4703   ac_cv_header_stdc=no
4704 fi
4705 rm -f conftest*
4706
4707 fi
4708
4709 if test $ac_cv_header_stdc = yes; then
4710   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4711   if test "$cross_compiling" = yes; then :
4712   :
4713 else
4714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4715 /* end confdefs.h.  */
4716 #include <ctype.h>
4717 #include <stdlib.h>
4718 #if ((' ' & 0x0FF) == 0x020)
4719 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4720 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4721 #else
4722 # define ISLOWER(c) \
4723                    (('a' <= (c) && (c) <= 'i') \
4724                      || ('j' <= (c) && (c) <= 'r') \
4725                      || ('s' <= (c) && (c) <= 'z'))
4726 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4727 #endif
4728
4729 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4730 int
4731 main ()
4732 {
4733   int i;
4734   for (i = 0; i < 256; i++)
4735     if (XOR (islower (i), ISLOWER (i))
4736         || toupper (i) != TOUPPER (i))
4737       return 2;
4738   return 0;
4739 }
4740 _ACEOF
4741 if ac_fn_c_try_run "$LINENO"; then :
4742
4743 else
4744   ac_cv_header_stdc=no
4745 fi
4746 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4747   conftest.$ac_objext conftest.beam conftest.$ac_ext
4748 fi
4749
4750 fi
4751 fi
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4753 $as_echo "$ac_cv_header_stdc" >&6; }
4754 if test $ac_cv_header_stdc = yes; then
4755
4756 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4757
4758 fi
4759
4760 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4761 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4762                   inttypes.h stdint.h unistd.h
4763 do :
4764   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4765 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4766 "
4767 eval as_val=\$$as_ac_Header
4768    if test "x$as_val" = x""yes; then :
4769   cat >>confdefs.h <<_ACEOF
4770 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4771 _ACEOF
4772
4773 fi
4774
4775 done
4776
4777
4778
4779   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4780 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4781   MINIX=yes
4782 else
4783   MINIX=
4784 fi
4785
4786
4787   if test "$MINIX" = yes; then
4788
4789 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4790
4791
4792 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4793
4794
4795 $as_echo "#define _MINIX 1" >>confdefs.h
4796
4797   fi
4798
4799
4800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4801 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4802 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4803   $as_echo_n "(cached) " >&6
4804 else
4805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h.  */
4807
4808 #         define __EXTENSIONS__ 1
4809           $ac_includes_default
4810 int
4811 main ()
4812 {
4813
4814   ;
4815   return 0;
4816 }
4817 _ACEOF
4818 if ac_fn_c_try_compile "$LINENO"; then :
4819   ac_cv_safe_to_define___extensions__=yes
4820 else
4821   ac_cv_safe_to_define___extensions__=no
4822 fi
4823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4824 fi
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4826 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4827   test $ac_cv_safe_to_define___extensions__ = yes &&
4828     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4829
4830   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4831
4832   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4833
4834   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4835
4836   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4837
4838
4839
4840 # Calculate toolexeclibdir
4841 # Also toolexecdir, though it's only used in toolexeclibdir
4842 case ${version_specific_libs} in
4843   yes)
4844     # Need the gcc compiler version to know where to install libraries
4845     # and header files if --enable-version-specific-runtime-libs option
4846     # is selected.
4847     toolexecdir='$(libdir)/gcc/$(target_alias)'
4848     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4849     ;;
4850   no)
4851     if test -n "$with_cross_host" &&
4852        test x"$with_cross_host" != x"no"; then
4853       # Install a library built with a cross compiler in tooldir, not libdir.
4854       toolexecdir='$(exec_prefix)/$(target_alias)'
4855       toolexeclibdir='$(toolexecdir)/lib'
4856     else
4857       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
4858       toolexeclibdir='$(libdir)'
4859     fi
4860     multi_os_directory=`$CC -print-multi-os-directory`
4861     case $multi_os_directory in
4862       .) ;; # Avoid trailing /.
4863       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
4864     esac
4865     ;;
4866 esac
4867
4868
4869
4870 # Create a spec file, so that compile/link tests don't fail
4871 test -f libgfortran.spec || touch libgfortran.spec
4872
4873 # Check the compiler.
4874 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4875 # We must force CC to /not/ be precious variables; otherwise
4876 # the wrong, non-multilib-adjusted value will be used in multilibs.
4877 # As a side effect, we have to subst CFLAGS ourselves.
4878
4879
4880
4881 ac_ext=c
4882 ac_cpp='$CPP $CPPFLAGS'
4883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4886 if test -n "$ac_tool_prefix"; then
4887   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4888 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4890 $as_echo_n "checking for $ac_word... " >&6; }
4891 if test "${ac_cv_prog_CC+set}" = set; then :
4892   $as_echo_n "(cached) " >&6
4893 else
4894   if test -n "$CC"; then
4895   ac_cv_prog_CC="$CC" # Let the user override the test.
4896 else
4897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4898 for as_dir in $PATH
4899 do
4900   IFS=$as_save_IFS
4901   test -z "$as_dir" && as_dir=.
4902     for ac_exec_ext in '' $ac_executable_extensions; do
4903   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4904     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4905     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4906     break 2
4907   fi
4908 done
4909   done
4910 IFS=$as_save_IFS
4911
4912 fi
4913 fi
4914 CC=$ac_cv_prog_CC
4915 if test -n "$CC"; then
4916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4917 $as_echo "$CC" >&6; }
4918 else
4919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4920 $as_echo "no" >&6; }
4921 fi
4922
4923
4924 fi
4925 if test -z "$ac_cv_prog_CC"; then
4926   ac_ct_CC=$CC
4927   # Extract the first word of "gcc", so it can be a program name with args.
4928 set dummy gcc; ac_word=$2
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4930 $as_echo_n "checking for $ac_word... " >&6; }
4931 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4932   $as_echo_n "(cached) " >&6
4933 else
4934   if test -n "$ac_ct_CC"; then
4935   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4936 else
4937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4938 for as_dir in $PATH
4939 do
4940   IFS=$as_save_IFS
4941   test -z "$as_dir" && as_dir=.
4942     for ac_exec_ext in '' $ac_executable_extensions; do
4943   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4944     ac_cv_prog_ac_ct_CC="gcc"
4945     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4946     break 2
4947   fi
4948 done
4949   done
4950 IFS=$as_save_IFS
4951
4952 fi
4953 fi
4954 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4955 if test -n "$ac_ct_CC"; then
4956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4957 $as_echo "$ac_ct_CC" >&6; }
4958 else
4959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4960 $as_echo "no" >&6; }
4961 fi
4962
4963   if test "x$ac_ct_CC" = x; then
4964     CC=""
4965   else
4966     case $cross_compiling:$ac_tool_warned in
4967 yes:)
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4970 ac_tool_warned=yes ;;
4971 esac
4972     CC=$ac_ct_CC
4973   fi
4974 else
4975   CC="$ac_cv_prog_CC"
4976 fi
4977
4978 if test -z "$CC"; then
4979           if test -n "$ac_tool_prefix"; then
4980     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4981 set dummy ${ac_tool_prefix}cc; ac_word=$2
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4983 $as_echo_n "checking for $ac_word... " >&6; }
4984 if test "${ac_cv_prog_CC+set}" = set; then :
4985   $as_echo_n "(cached) " >&6
4986 else
4987   if test -n "$CC"; then
4988   ac_cv_prog_CC="$CC" # Let the user override the test.
4989 else
4990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4991 for as_dir in $PATH
4992 do
4993   IFS=$as_save_IFS
4994   test -z "$as_dir" && as_dir=.
4995     for ac_exec_ext in '' $ac_executable_extensions; do
4996   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4997     ac_cv_prog_CC="${ac_tool_prefix}cc"
4998     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4999     break 2
5000   fi
5001 done
5002   done
5003 IFS=$as_save_IFS
5004
5005 fi
5006 fi
5007 CC=$ac_cv_prog_CC
5008 if test -n "$CC"; then
5009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5010 $as_echo "$CC" >&6; }
5011 else
5012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 $as_echo "no" >&6; }
5014 fi
5015
5016
5017   fi
5018 fi
5019 if test -z "$CC"; then
5020   # Extract the first word of "cc", so it can be a program name with args.
5021 set dummy cc; ac_word=$2
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 $as_echo_n "checking for $ac_word... " >&6; }
5024 if test "${ac_cv_prog_CC+set}" = set; then :
5025   $as_echo_n "(cached) " >&6
5026 else
5027   if test -n "$CC"; then
5028   ac_cv_prog_CC="$CC" # Let the user override the test.
5029 else
5030   ac_prog_rejected=no
5031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5032 for as_dir in $PATH
5033 do
5034   IFS=$as_save_IFS
5035   test -z "$as_dir" && as_dir=.
5036     for ac_exec_ext in '' $ac_executable_extensions; do
5037   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5038     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5039        ac_prog_rejected=yes
5040        continue
5041      fi
5042     ac_cv_prog_CC="cc"
5043     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5044     break 2
5045   fi
5046 done
5047   done
5048 IFS=$as_save_IFS
5049
5050 if test $ac_prog_rejected = yes; then
5051   # We found a bogon in the path, so make sure we never use it.
5052   set dummy $ac_cv_prog_CC
5053   shift
5054   if test $# != 0; then
5055     # We chose a different compiler from the bogus one.
5056     # However, it has the same basename, so the bogon will be chosen
5057     # first if we set CC to just the basename; use the full file name.
5058     shift
5059     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5060   fi
5061 fi
5062 fi
5063 fi
5064 CC=$ac_cv_prog_CC
5065 if test -n "$CC"; then
5066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5067 $as_echo "$CC" >&6; }
5068 else
5069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 $as_echo "no" >&6; }
5071 fi
5072
5073
5074 fi
5075 if test -z "$CC"; then
5076   if test -n "$ac_tool_prefix"; then
5077   for ac_prog in cl.exe
5078   do
5079     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5080 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5082 $as_echo_n "checking for $ac_word... " >&6; }
5083 if test "${ac_cv_prog_CC+set}" = set; then :
5084   $as_echo_n "(cached) " >&6
5085 else
5086   if test -n "$CC"; then
5087   ac_cv_prog_CC="$CC" # Let the user override the test.
5088 else
5089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5090 for as_dir in $PATH
5091 do
5092   IFS=$as_save_IFS
5093   test -z "$as_dir" && as_dir=.
5094     for ac_exec_ext in '' $ac_executable_extensions; do
5095   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5096     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5097     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5098     break 2
5099   fi
5100 done
5101   done
5102 IFS=$as_save_IFS
5103
5104 fi
5105 fi
5106 CC=$ac_cv_prog_CC
5107 if test -n "$CC"; then
5108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5109 $as_echo "$CC" >&6; }
5110 else
5111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5112 $as_echo "no" >&6; }
5113 fi
5114
5115
5116     test -n "$CC" && break
5117   done
5118 fi
5119 if test -z "$CC"; then
5120   ac_ct_CC=$CC
5121   for ac_prog in cl.exe
5122 do
5123   # Extract the first word of "$ac_prog", so it can be a program name with args.
5124 set dummy $ac_prog; ac_word=$2
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5126 $as_echo_n "checking for $ac_word... " >&6; }
5127 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5128   $as_echo_n "(cached) " >&6
5129 else
5130   if test -n "$ac_ct_CC"; then
5131   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5132 else
5133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5134 for as_dir in $PATH
5135 do
5136   IFS=$as_save_IFS
5137   test -z "$as_dir" && as_dir=.
5138     for ac_exec_ext in '' $ac_executable_extensions; do
5139   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5140     ac_cv_prog_ac_ct_CC="$ac_prog"
5141     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5142     break 2
5143   fi
5144 done
5145   done
5146 IFS=$as_save_IFS
5147
5148 fi
5149 fi
5150 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5151 if test -n "$ac_ct_CC"; then
5152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5153 $as_echo "$ac_ct_CC" >&6; }
5154 else
5155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 $as_echo "no" >&6; }
5157 fi
5158
5159
5160   test -n "$ac_ct_CC" && break
5161 done
5162
5163   if test "x$ac_ct_CC" = x; then
5164     CC=""
5165   else
5166     case $cross_compiling:$ac_tool_warned in
5167 yes:)
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5170 ac_tool_warned=yes ;;
5171 esac
5172     CC=$ac_ct_CC
5173   fi
5174 fi
5175
5176 fi
5177
5178
5179 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5181 as_fn_error "no acceptable C compiler found in \$PATH
5182 See \`config.log' for more details." "$LINENO" 5; }
5183
5184 # Provide some information about the compiler.
5185 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5186 set X $ac_compile
5187 ac_compiler=$2
5188 for ac_option in --version -v -V -qversion; do
5189   { { ac_try="$ac_compiler $ac_option >&5"
5190 case "(($ac_try" in
5191   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5192   *) ac_try_echo=$ac_try;;
5193 esac
5194 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5195 $as_echo "$ac_try_echo"; } >&5
5196   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5197   ac_status=$?
5198   if test -s conftest.err; then
5199     sed '10a\
5200 ... rest of stderr output deleted ...
5201          10q' conftest.err >conftest.er1
5202     cat conftest.er1 >&5
5203     rm -f conftest.er1 conftest.err
5204   fi
5205   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5206   test $ac_status = 0; }
5207 done
5208
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5210 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5211 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5212   $as_echo_n "(cached) " >&6
5213 else
5214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5215 /* end confdefs.h.  */
5216
5217 int
5218 main ()
5219 {
5220 #ifndef __GNUC__
5221        choke me
5222 #endif
5223
5224   ;
5225   return 0;
5226 }
5227 _ACEOF
5228 if ac_fn_c_try_compile "$LINENO"; then :
5229   ac_compiler_gnu=yes
5230 else
5231   ac_compiler_gnu=no
5232 fi
5233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5234 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5235
5236 fi
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5238 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5239 if test $ac_compiler_gnu = yes; then
5240   GCC=yes
5241 else
5242   GCC=
5243 fi
5244 ac_test_CFLAGS=${CFLAGS+set}
5245 ac_save_CFLAGS=$CFLAGS
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5247 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5248 if test "${ac_cv_prog_cc_g+set}" = set; then :
5249   $as_echo_n "(cached) " >&6
5250 else
5251   ac_save_c_werror_flag=$ac_c_werror_flag
5252    ac_c_werror_flag=yes
5253    ac_cv_prog_cc_g=no
5254    CFLAGS="-g"
5255    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5256 /* end confdefs.h.  */
5257
5258 int
5259 main ()
5260 {
5261
5262   ;
5263   return 0;
5264 }
5265 _ACEOF
5266 if ac_fn_c_try_compile "$LINENO"; then :
5267   ac_cv_prog_cc_g=yes
5268 else
5269   CFLAGS=""
5270       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5271 /* end confdefs.h.  */
5272
5273 int
5274 main ()
5275 {
5276
5277   ;
5278   return 0;
5279 }
5280 _ACEOF
5281 if ac_fn_c_try_compile "$LINENO"; then :
5282
5283 else
5284   ac_c_werror_flag=$ac_save_c_werror_flag
5285          CFLAGS="-g"
5286          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5287 /* end confdefs.h.  */
5288
5289 int
5290 main ()
5291 {
5292
5293   ;
5294   return 0;
5295 }
5296 _ACEOF
5297 if ac_fn_c_try_compile "$LINENO"; then :
5298   ac_cv_prog_cc_g=yes
5299 fi
5300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5301 fi
5302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5303 fi
5304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5305    ac_c_werror_flag=$ac_save_c_werror_flag
5306 fi
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5308 $as_echo "$ac_cv_prog_cc_g" >&6; }
5309 if test "$ac_test_CFLAGS" = set; then
5310   CFLAGS=$ac_save_CFLAGS
5311 elif test $ac_cv_prog_cc_g = yes; then
5312   if test "$GCC" = yes; then
5313     CFLAGS="-g -O2"
5314   else
5315     CFLAGS="-g"
5316   fi
5317 else
5318   if test "$GCC" = yes; then
5319     CFLAGS="-O2"
5320   else
5321     CFLAGS=
5322   fi
5323 fi
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5325 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5326 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5327   $as_echo_n "(cached) " >&6
5328 else
5329   ac_cv_prog_cc_c89=no
5330 ac_save_CC=$CC
5331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5332 /* end confdefs.h.  */
5333 #include <stdarg.h>
5334 #include <stdio.h>
5335 #include <sys/types.h>
5336 #include <sys/stat.h>
5337 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5338 struct buf { int x; };
5339 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5340 static char *e (p, i)
5341      char **p;
5342      int i;
5343 {
5344   return p[i];
5345 }
5346 static char *f (char * (*g) (char **, int), char **p, ...)
5347 {
5348   char *s;
5349   va_list v;
5350   va_start (v,p);
5351   s = g (p, va_arg (v,int));
5352   va_end (v);
5353   return s;
5354 }
5355
5356 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5357    function prototypes and stuff, but not '\xHH' hex character constants.
5358    These don't provoke an error unfortunately, instead are silently treated
5359    as 'x'.  The following induces an error, until -std is added to get
5360    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5361    array size at least.  It's necessary to write '\x00'==0 to get something
5362    that's true only with -std.  */
5363 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5364
5365 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5366    inside strings and character constants.  */
5367 #define FOO(x) 'x'
5368 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5369
5370 int test (int i, double x);
5371 struct s1 {int (*f) (int a);};
5372 struct s2 {int (*f) (double a);};
5373 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5374 int argc;
5375 char **argv;
5376 int
5377 main ()
5378 {
5379 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5380   ;
5381   return 0;
5382 }
5383 _ACEOF
5384 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5385         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5386 do
5387   CC="$ac_save_CC $ac_arg"
5388   if ac_fn_c_try_compile "$LINENO"; then :
5389   ac_cv_prog_cc_c89=$ac_arg
5390 fi
5391 rm -f core conftest.err conftest.$ac_objext
5392   test "x$ac_cv_prog_cc_c89" != "xno" && break
5393 done
5394 rm -f conftest.$ac_ext
5395 CC=$ac_save_CC
5396
5397 fi
5398 # AC_CACHE_VAL
5399 case "x$ac_cv_prog_cc_c89" in
5400   x)
5401     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5402 $as_echo "none needed" >&6; } ;;
5403   xno)
5404     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5405 $as_echo "unsupported" >&6; } ;;
5406   *)
5407     CC="$CC $ac_cv_prog_cc_c89"
5408     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5409 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5410 esac
5411 if test "x$ac_cv_prog_cc_c89" != xno; then :
5412
5413 fi
5414
5415 ac_ext=c
5416 ac_cpp='$CPP $CPPFLAGS'
5417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5420
5421 depcc="$CC"   am_compiler_list=
5422
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5424 $as_echo_n "checking dependency style of $depcc... " >&6; }
5425 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5426   $as_echo_n "(cached) " >&6
5427 else
5428   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5429   # We make a subdir and do the tests there.  Otherwise we can end up
5430   # making bogus files that we don't know about and never remove.  For
5431   # instance it was reported that on HP-UX the gcc test will end up
5432   # making a dummy file named `D' -- because `-MD' means `put the output
5433   # in D'.
5434   mkdir conftest.dir
5435   # Copy depcomp to subdir because otherwise we won't find it if we're
5436   # using a relative directory.
5437   cp "$am_depcomp" conftest.dir
5438   cd conftest.dir
5439   # We will build objects and dependencies in a subdirectory because
5440   # it helps to detect inapplicable dependency modes.  For instance
5441   # both Tru64's cc and ICC support -MD to output dependencies as a
5442   # side effect of compilation, but ICC will put the dependencies in
5443   # the current directory while Tru64 will put them in the object
5444   # directory.
5445   mkdir sub
5446
5447   am_cv_CC_dependencies_compiler_type=none
5448   if test "$am_compiler_list" = ""; then
5449      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5450   fi
5451   am__universal=false
5452   case " $depcc " in #(
5453      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5454      esac
5455
5456   for depmode in $am_compiler_list; do
5457     # Setup a source with many dependencies, because some compilers
5458     # like to wrap large dependency lists on column 80 (with \), and
5459     # we should not choose a depcomp mode which is confused by this.
5460     #
5461     # We need to recreate these files for each test, as the compiler may
5462     # overwrite some of them when testing with obscure command lines.
5463     # This happens at least with the AIX C compiler.
5464     : > sub/conftest.c
5465     for i in 1 2 3 4 5 6; do
5466       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5467       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5468       # Solaris 8's {/usr,}/bin/sh.
5469       touch sub/conftst$i.h
5470     done
5471     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5472
5473     # We check with `-c' and `-o' for the sake of the "dashmstdout"
5474     # mode.  It turns out that the SunPro C++ compiler does not properly
5475     # handle `-M -o', and we need to detect this.  Also, some Intel
5476     # versions had trouble with output in subdirs
5477     am__obj=sub/conftest.${OBJEXT-o}
5478     am__minus_obj="-o $am__obj"
5479     case $depmode in
5480     gcc)
5481       # This depmode causes a compiler race in universal mode.
5482       test "$am__universal" = false || continue
5483       ;;
5484     nosideeffect)
5485       # after this tag, mechanisms are not by side-effect, so they'll
5486       # only be used when explicitly requested
5487       if test "x$enable_dependency_tracking" = xyes; then
5488         continue
5489       else
5490         break
5491       fi
5492       ;;
5493     msvisualcpp | msvcmsys)
5494       # This compiler won't grok `-c -o', but also, the minuso test has
5495       # not run yet.  These depmodes are late enough in the game, and
5496       # so weak that their functioning should not be impacted.
5497       am__obj=conftest.${OBJEXT-o}
5498       am__minus_obj=
5499       ;;
5500     none) break ;;
5501     esac
5502     if depmode=$depmode \
5503        source=sub/conftest.c object=$am__obj \
5504        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5505        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5506          >/dev/null 2>conftest.err &&
5507        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5508        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5509        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5510        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5511       # icc doesn't choke on unknown options, it will just issue warnings
5512       # or remarks (even with -Werror).  So we grep stderr for any message
5513       # that says an option was ignored or not supported.
5514       # When given -MP, icc 7.0 and 7.1 complain thusly:
5515       #   icc: Command line warning: ignoring option '-M'; no argument required
5516       # The diagnosis changed in icc 8.0:
5517       #   icc: Command line remark: option '-MP' not supported
5518       if (grep 'ignoring option' conftest.err ||
5519           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5520         am_cv_CC_dependencies_compiler_type=$depmode
5521         break
5522       fi
5523     fi
5524   done
5525
5526   cd ..
5527   rm -rf conftest.dir
5528 else
5529   am_cv_CC_dependencies_compiler_type=none
5530 fi
5531
5532 fi
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5534 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5535 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5536
5537  if
5538   test "x$enable_dependency_tracking" != xno \
5539   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5540   am__fastdepCC_TRUE=
5541   am__fastdepCC_FALSE='#'
5542 else
5543   am__fastdepCC_TRUE='#'
5544   am__fastdepCC_FALSE=
5545 fi
5546
5547
5548
5549
5550 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5551 if test "x$GCC" = "xyes"; then
5552   AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5553   ## We like to use C99 routines when available.  This makes sure that
5554   ## __STDC_VERSION__ is set such that libc includes make them available.
5555   AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5556   ## Compile the following tests with the same system header contents
5557   ## that we'll encounter when compiling our own source files.
5558   CFLAGS="-std=gnu99 $CFLAGS"
5559 fi
5560
5561
5562
5563
5564 # Check for symbol versioning (copied from libssp).
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5566 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5567 save_LDFLAGS="$LDFLAGS"
5568 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5569 cat > conftest.map <<EOF
5570 FOO_1.0 {
5571   global: *foo*; bar; local: *;
5572 };
5573 EOF
5574 if test x$gcc_no_link = xyes; then
5575   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5576 fi
5577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5578 /* end confdefs.h.  */
5579 int foo;
5580 int
5581 main ()
5582 {
5583
5584   ;
5585   return 0;
5586 }
5587 _ACEOF
5588 if ac_fn_c_try_link "$LINENO"; then :
5589   gfortran_use_symver=gnu
5590 else
5591   gfortran_use_symver=no
5592 fi
5593 rm -f core conftest.err conftest.$ac_objext \
5594     conftest$ac_exeext conftest.$ac_ext
5595 if test x$gfortran_use_symver = xno; then
5596   case "$target_os" in
5597     solaris2*)
5598       LDFLAGS="$save_LDFLAGS"
5599       LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5600       # Sun ld cannot handle wildcards and treats all entries as undefined.
5601       cat > conftest.map <<EOF
5602 FOO_1.0 {
5603   global: foo; local: *;
5604 };
5605 EOF
5606       if test x$gcc_no_link = xyes; then
5607   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5608 fi
5609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5610 /* end confdefs.h.  */
5611 int foo;
5612 int
5613 main ()
5614 {
5615
5616   ;
5617   return 0;
5618 }
5619 _ACEOF
5620 if ac_fn_c_try_link "$LINENO"; then :
5621   gfortran_use_symver=sun
5622 else
5623   gfortran_use_symver=no
5624 fi
5625 rm -f core conftest.err conftest.$ac_objext \
5626     conftest$ac_exeext conftest.$ac_ext
5627       ;;
5628   esac
5629 fi
5630 LDFLAGS="$save_LDFLAGS"
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5632 $as_echo "$gfortran_use_symver" >&6; }
5633  if test "x$gfortran_use_symver" != xno; then
5634   LIBGFOR_USE_SYMVER_TRUE=
5635   LIBGFOR_USE_SYMVER_FALSE='#'
5636 else
5637   LIBGFOR_USE_SYMVER_TRUE='#'
5638   LIBGFOR_USE_SYMVER_FALSE=
5639 fi
5640
5641  if test "x$gfortran_use_symver" = xgnu; then
5642   LIBGFOR_USE_SYMVER_GNU_TRUE=
5643   LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5644 else
5645   LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5646   LIBGFOR_USE_SYMVER_GNU_FALSE=
5647 fi
5648
5649  if test "x$gfortran_use_symver" = xsun; then
5650   LIBGFOR_USE_SYMVER_SUN_TRUE=
5651   LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5652 else
5653   LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5654   LIBGFOR_USE_SYMVER_SUN_FALSE=
5655 fi
5656
5657
5658 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5659 # similarly to how libstdc++ does it
5660 ac_test_CFLAGS="${CFLAGS+set}"
5661 ac_save_CFLAGS="$CFLAGS"
5662
5663 # Check for -ffunction-sections -fdata-sections
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5665 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5666 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5668 /* end confdefs.h.  */
5669
5670 int
5671 main ()
5672 {
5673 int foo;
5674   ;
5675   return 0;
5676 }
5677 _ACEOF
5678 if ac_fn_c_try_compile "$LINENO"; then :
5679   ac_fdsections=yes
5680 else
5681   ac_fdsections=no
5682 fi
5683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5684 if test "$ac_test_CFLAGS" = set; then
5685   CFLAGS="$ac_save_CFLAGS"
5686 else
5687   # this is the suspicious part
5688   CFLAGS=""
5689 fi
5690 if test x"$ac_fdsections" = x"yes"; then
5691   SECTION_FLAGS='-ffunction-sections -fdata-sections'
5692 fi
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5694 $as_echo "$ac_fdsections" >&6; }
5695
5696
5697 # Find other programs we need.
5698 if test -n "$ac_tool_prefix"; then
5699   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5700 set dummy ${ac_tool_prefix}as; ac_word=$2
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5702 $as_echo_n "checking for $ac_word... " >&6; }
5703 if test "${ac_cv_prog_AS+set}" = set; then :
5704   $as_echo_n "(cached) " >&6
5705 else
5706   if test -n "$AS"; then
5707   ac_cv_prog_AS="$AS" # Let the user override the test.
5708 else
5709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710 for as_dir in $PATH
5711 do
5712   IFS=$as_save_IFS
5713   test -z "$as_dir" && as_dir=.
5714     for ac_exec_ext in '' $ac_executable_extensions; do
5715   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5716     ac_cv_prog_AS="${ac_tool_prefix}as"
5717     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5718     break 2
5719   fi
5720 done
5721   done
5722 IFS=$as_save_IFS
5723
5724 fi
5725 fi
5726 AS=$ac_cv_prog_AS
5727 if test -n "$AS"; then
5728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5729 $as_echo "$AS" >&6; }
5730 else
5731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5732 $as_echo "no" >&6; }
5733 fi
5734
5735
5736 fi
5737 if test -z "$ac_cv_prog_AS"; then
5738   ac_ct_AS=$AS
5739   # Extract the first word of "as", so it can be a program name with args.
5740 set dummy as; ac_word=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5744   $as_echo_n "(cached) " >&6
5745 else
5746   if test -n "$ac_ct_AS"; then
5747   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5748 else
5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750 for as_dir in $PATH
5751 do
5752   IFS=$as_save_IFS
5753   test -z "$as_dir" && as_dir=.
5754     for ac_exec_ext in '' $ac_executable_extensions; do
5755   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5756     ac_cv_prog_ac_ct_AS="as"
5757     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5758     break 2
5759   fi
5760 done
5761   done
5762 IFS=$as_save_IFS
5763
5764 fi
5765 fi
5766 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5767 if test -n "$ac_ct_AS"; then
5768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5769 $as_echo "$ac_ct_AS" >&6; }
5770 else
5771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; }
5773 fi
5774
5775   if test "x$ac_ct_AS" = x; then
5776     AS=""
5777   else
5778     case $cross_compiling:$ac_tool_warned in
5779 yes:)
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5782 ac_tool_warned=yes ;;
5783 esac
5784     AS=$ac_ct_AS
5785   fi
5786 else
5787   AS="$ac_cv_prog_AS"
5788 fi
5789
5790 if test -n "$ac_tool_prefix"; then
5791   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5792 set dummy ${ac_tool_prefix}ar; ac_word=$2
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5794 $as_echo_n "checking for $ac_word... " >&6; }
5795 if test "${ac_cv_prog_AR+set}" = set; then :
5796   $as_echo_n "(cached) " >&6
5797 else
5798   if test -n "$AR"; then
5799   ac_cv_prog_AR="$AR" # Let the user override the test.
5800 else
5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5802 for as_dir in $PATH
5803 do
5804   IFS=$as_save_IFS
5805   test -z "$as_dir" && as_dir=.
5806     for ac_exec_ext in '' $ac_executable_extensions; do
5807   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5808     ac_cv_prog_AR="${ac_tool_prefix}ar"
5809     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5810     break 2
5811   fi
5812 done
5813   done
5814 IFS=$as_save_IFS
5815
5816 fi
5817 fi
5818 AR=$ac_cv_prog_AR
5819 if test -n "$AR"; then
5820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5821 $as_echo "$AR" >&6; }
5822 else
5823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5824 $as_echo "no" >&6; }
5825 fi
5826
5827
5828 fi
5829 if test -z "$ac_cv_prog_AR"; then
5830   ac_ct_AR=$AR
5831   # Extract the first word of "ar", so it can be a program name with args.
5832 set dummy ar; ac_word=$2
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5834 $as_echo_n "checking for $ac_word... " >&6; }
5835 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5836   $as_echo_n "(cached) " >&6
5837 else
5838   if test -n "$ac_ct_AR"; then
5839   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5840 else
5841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5842 for as_dir in $PATH
5843 do
5844   IFS=$as_save_IFS
5845   test -z "$as_dir" && as_dir=.
5846     for ac_exec_ext in '' $ac_executable_extensions; do
5847   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5848     ac_cv_prog_ac_ct_AR="ar"
5849     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5850     break 2
5851   fi
5852 done
5853   done
5854 IFS=$as_save_IFS
5855
5856 fi
5857 fi
5858 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5859 if test -n "$ac_ct_AR"; then
5860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5861 $as_echo "$ac_ct_AR" >&6; }
5862 else
5863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5864 $as_echo "no" >&6; }
5865 fi
5866
5867   if test "x$ac_ct_AR" = x; then
5868     AR=""
5869   else
5870     case $cross_compiling:$ac_tool_warned in
5871 yes:)
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5874 ac_tool_warned=yes ;;
5875 esac
5876     AR=$ac_ct_AR
5877   fi
5878 else
5879   AR="$ac_cv_prog_AR"
5880 fi
5881
5882 if test -n "$ac_tool_prefix"; then
5883   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5884 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5886 $as_echo_n "checking for $ac_word... " >&6; }
5887 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5888   $as_echo_n "(cached) " >&6
5889 else
5890   if test -n "$RANLIB"; then
5891   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5892 else
5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5894 for as_dir in $PATH
5895 do
5896   IFS=$as_save_IFS
5897   test -z "$as_dir" && as_dir=.
5898     for ac_exec_ext in '' $ac_executable_extensions; do
5899   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5900     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5901     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5902     break 2
5903   fi
5904 done
5905   done
5906 IFS=$as_save_IFS
5907
5908 fi
5909 fi
5910 RANLIB=$ac_cv_prog_RANLIB
5911 if test -n "$RANLIB"; then
5912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5913 $as_echo "$RANLIB" >&6; }
5914 else
5915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5916 $as_echo "no" >&6; }
5917 fi
5918
5919
5920 fi
5921 if test -z "$ac_cv_prog_RANLIB"; then
5922   ac_ct_RANLIB=$RANLIB
5923   # Extract the first word of "ranlib", so it can be a program name with args.
5924 set dummy ranlib; ac_word=$2
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5926 $as_echo_n "checking for $ac_word... " >&6; }
5927 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5928   $as_echo_n "(cached) " >&6
5929 else
5930   if test -n "$ac_ct_RANLIB"; then
5931   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5932 else
5933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 for as_dir in $PATH
5935 do
5936   IFS=$as_save_IFS
5937   test -z "$as_dir" && as_dir=.
5938     for ac_exec_ext in '' $ac_executable_extensions; do
5939   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5940     ac_cv_prog_ac_ct_RANLIB="ranlib"
5941     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5942     break 2
5943   fi
5944 done
5945   done
5946 IFS=$as_save_IFS
5947
5948 fi
5949 fi
5950 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5951 if test -n "$ac_ct_RANLIB"; then
5952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5953 $as_echo "$ac_ct_RANLIB" >&6; }
5954 else
5955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5956 $as_echo "no" >&6; }
5957 fi
5958
5959   if test "x$ac_ct_RANLIB" = x; then
5960     RANLIB="ranlib-not-found-in-path-error"
5961   else
5962     case $cross_compiling:$ac_tool_warned in
5963 yes:)
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5966 ac_tool_warned=yes ;;
5967 esac
5968     RANLIB=$ac_ct_RANLIB
5969   fi
5970 else
5971   RANLIB="$ac_cv_prog_RANLIB"
5972 fi
5973
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5975 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5976 set x ${MAKE-make}
5977 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5978 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
5979   $as_echo_n "(cached) " >&6
5980 else
5981   cat >conftest.make <<\_ACEOF
5982 SHELL = /bin/sh
5983 all:
5984         @echo '@@@%%%=$(MAKE)=@@@%%%'
5985 _ACEOF
5986 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5987 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5988   *@@@%%%=?*=@@@%%%*)
5989     eval ac_cv_prog_make_${ac_make}_set=yes;;
5990   *)
5991     eval ac_cv_prog_make_${ac_make}_set=no;;
5992 esac
5993 rm -f conftest.make
5994 fi
5995 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5997 $as_echo "yes" >&6; }
5998   SET_MAKE=
5999 else
6000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6001 $as_echo "no" >&6; }
6002   SET_MAKE="MAKE=${MAKE-make}"
6003 fi
6004
6005
6006
6007 # Configure libtool
6008 #AC_MSG_NOTICE([====== Starting libtool configuration])
6009 enable_dlopen=yes
6010
6011
6012
6013 case `pwd` in
6014   *\ * | *\     *)
6015     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6016 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6017 esac
6018
6019
6020
6021 macro_version='2.2.7a'
6022 macro_revision='1.3134'
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036 ltmain="$ac_aux_dir/ltmain.sh"
6037
6038 # Backslashify metacharacters that are still active within
6039 # double-quoted strings.
6040 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6041
6042 # Same as above, but do not quote variable references.
6043 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6044
6045 # Sed substitution to delay expansion of an escaped shell variable in a
6046 # double_quote_subst'ed string.
6047 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6048
6049 # Sed substitution to delay expansion of an escaped single quote.
6050 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6051
6052 # Sed substitution to avoid accidental globbing in evaled expressions
6053 no_glob_subst='s/\*/\\\*/g'
6054
6055 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6056 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6057 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6058
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6060 $as_echo_n "checking how to print strings... " >&6; }
6061 # Test print first, because it will be a builtin if present.
6062 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6063    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6064   ECHO='print -r --'
6065 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6066   ECHO='printf %s\n'
6067 else
6068   # Use this function as a fallback that always works.
6069   func_fallback_echo ()
6070   {
6071     eval 'cat <<_LTECHO_EOF
6072 $1
6073 _LTECHO_EOF'
6074   }
6075   ECHO='func_fallback_echo'
6076 fi
6077
6078 # func_echo_all arg...
6079 # Invoke $ECHO with all args, space-separated.
6080 func_echo_all ()
6081 {
6082     $ECHO ""
6083 }
6084
6085 case "$ECHO" in
6086   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6087 $as_echo "printf" >&6; } ;;
6088   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6089 $as_echo "print -r" >&6; } ;;
6090   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6091 $as_echo "cat" >&6; } ;;
6092 esac
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6108 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6109 if test "${ac_cv_path_SED+set}" = set; then :
6110   $as_echo_n "(cached) " >&6
6111 else
6112             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6113      for ac_i in 1 2 3 4 5 6 7; do
6114        ac_script="$ac_script$as_nl$ac_script"
6115      done
6116      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6117      { ac_script=; unset ac_script;}
6118      if test -z "$SED"; then
6119   ac_path_SED_found=false
6120   # Loop through the user's path and test for each of PROGNAME-LIST
6121   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122 for as_dir in $PATH
6123 do
6124   IFS=$as_save_IFS
6125   test -z "$as_dir" && as_dir=.
6126     for ac_prog in sed gsed; do
6127     for ac_exec_ext in '' $ac_executable_extensions; do
6128       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6129       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6130 # Check for GNU ac_path_SED and select it if it is found.
6131   # Check for GNU $ac_path_SED
6132 case `"$ac_path_SED" --version 2>&1` in
6133 *GNU*)
6134   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6135 *)
6136   ac_count=0
6137   $as_echo_n 0123456789 >"conftest.in"
6138   while :
6139   do
6140     cat "conftest.in" "conftest.in" >"conftest.tmp"
6141     mv "conftest.tmp" "conftest.in"
6142     cp "conftest.in" "conftest.nl"
6143     $as_echo '' >> "conftest.nl"
6144     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6145     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6146     as_fn_arith $ac_count + 1 && ac_count=$as_val
6147     if test $ac_count -gt ${ac_path_SED_max-0}; then
6148       # Best one so far, save it but keep looking for a better one
6149       ac_cv_path_SED="$ac_path_SED"
6150       ac_path_SED_max=$ac_count
6151     fi
6152     # 10*(2^10) chars as input seems more than enough
6153     test $ac_count -gt 10 && break
6154   done
6155   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6156 esac
6157
6158       $ac_path_SED_found && break 3
6159     done
6160   done
6161   done
6162 IFS=$as_save_IFS
6163   if test -z "$ac_cv_path_SED"; then
6164     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6165   fi
6166 else
6167   ac_cv_path_SED=$SED
6168 fi
6169
6170 fi
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6172 $as_echo "$ac_cv_path_SED" >&6; }
6173  SED="$ac_cv_path_SED"
6174   rm -f conftest.sed
6175
6176 test -z "$SED" && SED=sed
6177 Xsed="$SED -e 1s/^X//"
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6190 $as_echo_n "checking for fgrep... " >&6; }
6191 if test "${ac_cv_path_FGREP+set}" = set; then :
6192   $as_echo_n "(cached) " >&6
6193 else
6194   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6195    then ac_cv_path_FGREP="$GREP -F"
6196    else
6197      if test -z "$FGREP"; then
6198   ac_path_FGREP_found=false
6199   # Loop through the user's path and test for each of PROGNAME-LIST
6200   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6201 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6202 do
6203   IFS=$as_save_IFS
6204   test -z "$as_dir" && as_dir=.
6205     for ac_prog in fgrep; do
6206     for ac_exec_ext in '' $ac_executable_extensions; do
6207       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6208       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6209 # Check for GNU ac_path_FGREP and select it if it is found.
6210   # Check for GNU $ac_path_FGREP
6211 case `"$ac_path_FGREP" --version 2>&1` in
6212 *GNU*)
6213   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6214 *)
6215   ac_count=0
6216   $as_echo_n 0123456789 >"conftest.in"
6217   while :
6218   do
6219     cat "conftest.in" "conftest.in" >"conftest.tmp"
6220     mv "conftest.tmp" "conftest.in"
6221     cp "conftest.in" "conftest.nl"
6222     $as_echo 'FGREP' >> "conftest.nl"
6223     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6224     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6225     as_fn_arith $ac_count + 1 && ac_count=$as_val
6226     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6227       # Best one so far, save it but keep looking for a better one
6228       ac_cv_path_FGREP="$ac_path_FGREP"
6229       ac_path_FGREP_max=$ac_count
6230     fi
6231     # 10*(2^10) chars as input seems more than enough
6232     test $ac_count -gt 10 && break
6233   done
6234   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6235 esac
6236
6237       $ac_path_FGREP_found && break 3
6238     done
6239   done
6240   done
6241 IFS=$as_save_IFS
6242   if test -z "$ac_cv_path_FGREP"; then
6243     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6244   fi
6245 else
6246   ac_cv_path_FGREP=$FGREP
6247 fi
6248
6249    fi
6250 fi
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6252 $as_echo "$ac_cv_path_FGREP" >&6; }
6253  FGREP="$ac_cv_path_FGREP"
6254
6255
6256 test -z "$GREP" && GREP=grep
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276 # Check whether --with-gnu-ld was given.
6277 if test "${with_gnu_ld+set}" = set; then :
6278   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6279 else
6280   with_gnu_ld=no
6281 fi
6282
6283 ac_prog=ld
6284 if test "$GCC" = yes; then
6285   # Check if gcc -print-prog-name=ld gives a path.
6286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6287 $as_echo_n "checking for ld used by $CC... " >&6; }
6288   case $host in
6289   *-*-mingw*)
6290     # gcc leaves a trailing carriage return which upsets mingw
6291     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6292   *)
6293     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6294   esac
6295   case $ac_prog in
6296     # Accept absolute paths.
6297     [\\/]* | ?:[\\/]*)
6298       re_direlt='/[^/][^/]*/\.\./'
6299       # Canonicalize the pathname of ld
6300       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6301       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6302         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6303       done
6304       test -z "$LD" && LD="$ac_prog"
6305       ;;
6306   "")
6307     # If it fails, then pretend we aren't using GCC.
6308     ac_prog=ld
6309     ;;
6310   *)
6311     # If it is relative, then search for the first ld in PATH.
6312     with_gnu_ld=unknown
6313     ;;
6314   esac
6315 elif test "$with_gnu_ld" = yes; then
6316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6317 $as_echo_n "checking for GNU ld... " >&6; }
6318 else
6319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6320 $as_echo_n "checking for non-GNU ld... " >&6; }
6321 fi
6322 if test "${lt_cv_path_LD+set}" = set; then :
6323   $as_echo_n "(cached) " >&6
6324 else
6325   if test -z "$LD"; then
6326   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6327   for ac_dir in $PATH; do
6328     IFS="$lt_save_ifs"
6329     test -z "$ac_dir" && ac_dir=.
6330     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6331       lt_cv_path_LD="$ac_dir/$ac_prog"
6332       # Check to see if the program is GNU ld.  I'd rather use --version,
6333       # but apparently some variants of GNU ld only accept -v.
6334       # Break only if it was the GNU/non-GNU ld that we prefer.
6335       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6336       *GNU* | *'with BFD'*)
6337         test "$with_gnu_ld" != no && break
6338         ;;
6339       *)
6340         test "$with_gnu_ld" != yes && break
6341         ;;
6342       esac
6343     fi
6344   done
6345   IFS="$lt_save_ifs"
6346 else
6347   lt_cv_path_LD="$LD" # Let the user override the test with a path.
6348 fi
6349 fi
6350
6351 LD="$lt_cv_path_LD"
6352 if test -n "$LD"; then
6353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6354 $as_echo "$LD" >&6; }
6355 else
6356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6357 $as_echo "no" >&6; }
6358 fi
6359 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6361 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6362 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6363   $as_echo_n "(cached) " >&6
6364 else
6365   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6366 case `$LD -v 2>&1 </dev/null` in
6367 *GNU* | *'with BFD'*)
6368   lt_cv_prog_gnu_ld=yes
6369   ;;
6370 *)
6371   lt_cv_prog_gnu_ld=no
6372   ;;
6373 esac
6374 fi
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6376 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6377 with_gnu_ld=$lt_cv_prog_gnu_ld
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6388 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6389 if test "${lt_cv_path_NM+set}" = set; then :
6390   $as_echo_n "(cached) " >&6
6391 else
6392   if test -n "$NM"; then
6393   # Let the user override the test.
6394   lt_cv_path_NM="$NM"
6395 else
6396   lt_nm_to_check="${ac_tool_prefix}nm"
6397   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6398     lt_nm_to_check="$lt_nm_to_check nm"
6399   fi
6400   for lt_tmp_nm in $lt_nm_to_check; do
6401     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6402     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6403       IFS="$lt_save_ifs"
6404       test -z "$ac_dir" && ac_dir=.
6405       tmp_nm="$ac_dir/$lt_tmp_nm"
6406       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6407         # Check to see if the nm accepts a BSD-compat flag.
6408         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6409         #   nm: unknown option "B" ignored
6410         # Tru64's nm complains that /dev/null is an invalid object file
6411         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6412         */dev/null* | *'Invalid file or object type'*)
6413           lt_cv_path_NM="$tmp_nm -B"
6414           break
6415           ;;
6416         *)
6417           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6418           */dev/null*)
6419             lt_cv_path_NM="$tmp_nm -p"
6420             break
6421             ;;
6422           *)
6423             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6424             continue # so that we can try to find one that supports BSD flags
6425             ;;
6426           esac
6427           ;;
6428         esac
6429       fi
6430     done
6431     IFS="$lt_save_ifs"
6432   done
6433   : ${lt_cv_path_NM=no}
6434 fi
6435 fi
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6437 $as_echo "$lt_cv_path_NM" >&6; }
6438 if test "$lt_cv_path_NM" != "no"; then
6439   NM="$lt_cv_path_NM"
6440 else
6441   # Didn't find any BSD compatible name lister, look for dumpbin.
6442   if test -n "$DUMPBIN"; then :
6443     # Let the user override the test.
6444   else
6445     if test -n "$ac_tool_prefix"; then
6446   for ac_prog in dumpbin "link -dump"
6447   do
6448     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6449 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6451 $as_echo_n "checking for $ac_word... " >&6; }
6452 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6453   $as_echo_n "(cached) " >&6
6454 else
6455   if test -n "$DUMPBIN"; then
6456   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6457 else
6458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6459 for as_dir in $PATH
6460 do
6461   IFS=$as_save_IFS
6462   test -z "$as_dir" && as_dir=.
6463     for ac_exec_ext in '' $ac_executable_extensions; do
6464   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6465     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6466     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6467     break 2
6468   fi
6469 done
6470   done
6471 IFS=$as_save_IFS
6472
6473 fi
6474 fi
6475 DUMPBIN=$ac_cv_prog_DUMPBIN
6476 if test -n "$DUMPBIN"; then
6477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6478 $as_echo "$DUMPBIN" >&6; }
6479 else
6480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6481 $as_echo "no" >&6; }
6482 fi
6483
6484
6485     test -n "$DUMPBIN" && break
6486   done
6487 fi
6488 if test -z "$DUMPBIN"; then
6489   ac_ct_DUMPBIN=$DUMPBIN
6490   for ac_prog in dumpbin "link -dump"
6491 do
6492   # Extract the first word of "$ac_prog", so it can be a program name with args.
6493 set dummy $ac_prog; ac_word=$2
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6495 $as_echo_n "checking for $ac_word... " >&6; }
6496 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6497   $as_echo_n "(cached) " >&6
6498 else
6499   if test -n "$ac_ct_DUMPBIN"; then
6500   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6501 else
6502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6503 for as_dir in $PATH
6504 do
6505   IFS=$as_save_IFS
6506   test -z "$as_dir" && as_dir=.
6507     for ac_exec_ext in '' $ac_executable_extensions; do
6508   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6509     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6510     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6511     break 2
6512   fi
6513 done
6514   done
6515 IFS=$as_save_IFS
6516
6517 fi
6518 fi
6519 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6520 if test -n "$ac_ct_DUMPBIN"; then
6521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6522 $as_echo "$ac_ct_DUMPBIN" >&6; }
6523 else
6524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6525 $as_echo "no" >&6; }
6526 fi
6527
6528
6529   test -n "$ac_ct_DUMPBIN" && break
6530 done
6531
6532   if test "x$ac_ct_DUMPBIN" = x; then
6533     DUMPBIN=":"
6534   else
6535     case $cross_compiling:$ac_tool_warned in
6536 yes:)
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6539 ac_tool_warned=yes ;;
6540 esac
6541     DUMPBIN=$ac_ct_DUMPBIN
6542   fi
6543 fi
6544
6545     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6546     *COFF*)
6547       DUMPBIN="$DUMPBIN -symbols"
6548       ;;
6549     *)
6550       DUMPBIN=:
6551       ;;
6552     esac
6553   fi
6554
6555   if test "$DUMPBIN" != ":"; then
6556     NM="$DUMPBIN"
6557   fi
6558 fi
6559 test -z "$NM" && NM=nm
6560
6561
6562
6563
6564
6565
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6567 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6568 if test "${lt_cv_nm_interface+set}" = set; then :
6569   $as_echo_n "(cached) " >&6
6570 else
6571   lt_cv_nm_interface="BSD nm"
6572   echo "int some_variable = 0;" > conftest.$ac_ext
6573   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6574   (eval "$ac_compile" 2>conftest.err)
6575   cat conftest.err >&5
6576   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6577   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6578   cat conftest.err >&5
6579   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6580   cat conftest.out >&5
6581   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6582     lt_cv_nm_interface="MS dumpbin"
6583   fi
6584   rm -f conftest*
6585 fi
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6587 $as_echo "$lt_cv_nm_interface" >&6; }
6588
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6590 $as_echo_n "checking whether ln -s works... " >&6; }
6591 LN_S=$as_ln_s
6592 if test "$LN_S" = "ln -s"; then
6593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6594 $as_echo "yes" >&6; }
6595 else
6596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6597 $as_echo "no, using $LN_S" >&6; }
6598 fi
6599
6600 # find the maximum length of command line arguments
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6602 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6603 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6604   $as_echo_n "(cached) " >&6
6605 else
6606     i=0
6607   teststring="ABCD"
6608
6609   case $build_os in
6610   msdosdjgpp*)
6611     # On DJGPP, this test can blow up pretty badly due to problems in libc
6612     # (any single argument exceeding 2000 bytes causes a buffer overrun
6613     # during glob expansion).  Even if it were fixed, the result of this
6614     # check would be larger than it should be.
6615     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6616     ;;
6617
6618   gnu*)
6619     # Under GNU Hurd, this test is not required because there is
6620     # no limit to the length of command line arguments.
6621     # Libtool will interpret -1 as no limit whatsoever
6622     lt_cv_sys_max_cmd_len=-1;
6623     ;;
6624
6625   cygwin* | mingw* | cegcc*)
6626     # On Win9x/ME, this test blows up -- it succeeds, but takes
6627     # about 5 minutes as the teststring grows exponentially.
6628     # Worse, since 9x/ME are not pre-emptively multitasking,
6629     # you end up with a "frozen" computer, even though with patience
6630     # the test eventually succeeds (with a max line length of 256k).
6631     # Instead, let's just punt: use the minimum linelength reported by
6632     # all of the supported platforms: 8192 (on NT/2K/XP).
6633     lt_cv_sys_max_cmd_len=8192;
6634     ;;
6635
6636   mint*)
6637     # On MiNT this can take a long time and run out of memory.
6638     lt_cv_sys_max_cmd_len=8192;
6639     ;;
6640
6641   amigaos*)
6642     # On AmigaOS with pdksh, this test takes hours, literally.
6643     # So we just punt and use a minimum line length of 8192.
6644     lt_cv_sys_max_cmd_len=8192;
6645     ;;
6646
6647   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6648     # This has been around since 386BSD, at least.  Likely further.
6649     if test -x /sbin/sysctl; then
6650       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6651     elif test -x /usr/sbin/sysctl; then
6652       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6653     else
6654       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6655     fi
6656     # And add a safety zone
6657     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6658     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6659     ;;
6660
6661   interix*)
6662     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6663     lt_cv_sys_max_cmd_len=196608
6664     ;;
6665
6666   osf*)
6667     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6668     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6669     # nice to cause kernel panics so lets avoid the loop below.
6670     # First set a reasonable default.
6671     lt_cv_sys_max_cmd_len=16384
6672     #
6673     if test -x /sbin/sysconfig; then
6674       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6675         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6676       esac
6677     fi
6678     ;;
6679   sco3.2v5*)
6680     lt_cv_sys_max_cmd_len=102400
6681     ;;
6682   sysv5* | sco5v6* | sysv4.2uw2*)
6683     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6684     if test -n "$kargmax"; then
6685       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6686     else
6687       lt_cv_sys_max_cmd_len=32768
6688     fi
6689     ;;
6690   *)
6691     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6692     if test -n "$lt_cv_sys_max_cmd_len"; then
6693       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6694       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6695     else
6696       # Make teststring a little bigger before we do anything with it.
6697       # a 1K string should be a reasonable start.
6698       for i in 1 2 3 4 5 6 7 8 ; do
6699         teststring=$teststring$teststring
6700       done
6701       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6702       # If test is not a shell built-in, we'll probably end up computing a
6703       # maximum length that is only half of the actual maximum length, but
6704       # we can't tell.
6705       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6706                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6707               test $i != 17 # 1/2 MB should be enough
6708       do
6709         i=`expr $i + 1`
6710         teststring=$teststring$teststring
6711       done
6712       # Only check the string length outside the loop.
6713       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6714       teststring=
6715       # Add a significant safety factor because C++ compilers can tack on
6716       # massive amounts of additional arguments before passing them to the
6717       # linker.  It appears as though 1/2 is a usable value.
6718       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6719     fi
6720     ;;
6721   esac
6722
6723 fi
6724
6725 if test -n $lt_cv_sys_max_cmd_len ; then
6726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6727 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6728 else
6729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6730 $as_echo "none" >&6; }
6731 fi
6732 max_cmd_len=$lt_cv_sys_max_cmd_len
6733
6734
6735
6736
6737
6738
6739 : ${CP="cp -f"}
6740 : ${MV="mv -f"}
6741 : ${RM="rm -f"}
6742
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6744 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6745 # Try some XSI features
6746 xsi_shell=no
6747 ( _lt_dummy="a/b/c"
6748   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6749       = c,a/b,, \
6750     && eval 'test $(( 1 + 1 )) -eq 2 \
6751     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6752   && xsi_shell=yes
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6754 $as_echo "$xsi_shell" >&6; }
6755
6756
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6758 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6759 lt_shell_append=no
6760 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6761     >/dev/null 2>&1 \
6762   && lt_shell_append=yes
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6764 $as_echo "$lt_shell_append" >&6; }
6765
6766
6767 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6768   lt_unset=unset
6769 else
6770   lt_unset=false
6771 fi
6772
6773
6774
6775
6776
6777 # test EBCDIC or ASCII
6778 case `echo X|tr X '\101'` in
6779  A) # ASCII based system
6780     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6781   lt_SP2NL='tr \040 \012'
6782   lt_NL2SP='tr \015\012 \040\040'
6783   ;;
6784  *) # EBCDIC based system
6785   lt_SP2NL='tr \100 \n'
6786   lt_NL2SP='tr \r\n \100\100'
6787   ;;
6788 esac
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6799 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6800 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6801   $as_echo_n "(cached) " >&6
6802 else
6803   lt_cv_ld_reload_flag='-r'
6804 fi
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6806 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6807 reload_flag=$lt_cv_ld_reload_flag
6808 case $reload_flag in
6809 "" | " "*) ;;
6810 *) reload_flag=" $reload_flag" ;;
6811 esac
6812 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6813 case $host_os in
6814   darwin*)
6815     if test "$GCC" = yes; then
6816       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6817     else
6818       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6819     fi
6820     ;;
6821 esac
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831 if test -n "$ac_tool_prefix"; then
6832   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6833 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6835 $as_echo_n "checking for $ac_word... " >&6; }
6836 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6837   $as_echo_n "(cached) " >&6
6838 else
6839   if test -n "$OBJDUMP"; then
6840   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6841 else
6842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6843 for as_dir in $PATH
6844 do
6845   IFS=$as_save_IFS
6846   test -z "$as_dir" && as_dir=.
6847     for ac_exec_ext in '' $ac_executable_extensions; do
6848   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6849     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6850     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6851     break 2
6852   fi
6853 done
6854   done
6855 IFS=$as_save_IFS
6856
6857 fi
6858 fi
6859 OBJDUMP=$ac_cv_prog_OBJDUMP
6860 if test -n "$OBJDUMP"; then
6861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6862 $as_echo "$OBJDUMP" >&6; }
6863 else
6864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6865 $as_echo "no" >&6; }
6866 fi
6867
6868
6869 fi
6870 if test -z "$ac_cv_prog_OBJDUMP"; then
6871   ac_ct_OBJDUMP=$OBJDUMP
6872   # Extract the first word of "objdump", so it can be a program name with args.
6873 set dummy objdump; ac_word=$2
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6875 $as_echo_n "checking for $ac_word... " >&6; }
6876 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6877   $as_echo_n "(cached) " >&6
6878 else
6879   if test -n "$ac_ct_OBJDUMP"; then
6880   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6881 else
6882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6883 for as_dir in $PATH
6884 do
6885   IFS=$as_save_IFS
6886   test -z "$as_dir" && as_dir=.
6887     for ac_exec_ext in '' $ac_executable_extensions; do
6888   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6889     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6890     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6891     break 2
6892   fi
6893 done
6894   done
6895 IFS=$as_save_IFS
6896
6897 fi
6898 fi
6899 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6900 if test -n "$ac_ct_OBJDUMP"; then
6901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6902 $as_echo "$ac_ct_OBJDUMP" >&6; }
6903 else
6904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6905 $as_echo "no" >&6; }
6906 fi
6907
6908   if test "x$ac_ct_OBJDUMP" = x; then
6909     OBJDUMP="false"
6910   else
6911     case $cross_compiling:$ac_tool_warned in
6912 yes:)
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6915 ac_tool_warned=yes ;;
6916 esac
6917     OBJDUMP=$ac_ct_OBJDUMP
6918   fi
6919 else
6920   OBJDUMP="$ac_cv_prog_OBJDUMP"
6921 fi
6922
6923 test -z "$OBJDUMP" && OBJDUMP=objdump
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6934 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6935 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6936   $as_echo_n "(cached) " >&6
6937 else
6938   lt_cv_file_magic_cmd='$MAGIC_CMD'
6939 lt_cv_file_magic_test_file=
6940 lt_cv_deplibs_check_method='unknown'
6941 # Need to set the preceding variable on all platforms that support
6942 # interlibrary dependencies.
6943 # 'none' -- dependencies not supported.
6944 # `unknown' -- same as none, but documents that we really don't know.
6945 # 'pass_all' -- all dependencies passed with no checks.
6946 # 'test_compile' -- check by making test program.
6947 # 'file_magic [[regex]]' -- check by looking for files in library path
6948 # which responds to the $file_magic_cmd with a given extended regex.
6949 # If you have `file' or equivalent on your system and you're not sure
6950 # whether `pass_all' will *always* work, you probably want this one.
6951
6952 case $host_os in
6953 aix[4-9]*)
6954   lt_cv_deplibs_check_method=pass_all
6955   ;;
6956
6957 beos*)
6958   lt_cv_deplibs_check_method=pass_all
6959   ;;
6960
6961 bsdi[45]*)
6962   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6963   lt_cv_file_magic_cmd='/usr/bin/file -L'
6964   lt_cv_file_magic_test_file=/shlib/libc.so
6965   ;;
6966
6967 cygwin*)
6968   # func_win32_libid is a shell function defined in ltmain.sh
6969   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6970   lt_cv_file_magic_cmd='func_win32_libid'
6971   ;;
6972
6973 mingw* | pw32*)
6974   # Base MSYS/MinGW do not provide the 'file' command needed by
6975   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6976   # unless we find 'file', for example because we are cross-compiling.
6977   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6978   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6979     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6980     lt_cv_file_magic_cmd='func_win32_libid'
6981   else
6982     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6983     lt_cv_file_magic_cmd='$OBJDUMP -f'
6984   fi
6985   ;;
6986
6987 cegcc*)
6988   # use the weaker test based on 'objdump'. See mingw*.
6989   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6990   lt_cv_file_magic_cmd='$OBJDUMP -f'
6991   ;;
6992
6993 darwin* | rhapsody*)
6994   lt_cv_deplibs_check_method=pass_all
6995   ;;
6996
6997 freebsd* | dragonfly*)
6998   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6999     case $host_cpu in
7000     i*86 )
7001       # Not sure whether the presence of OpenBSD here was a mistake.
7002       # Let's accept both of them until this is cleared up.
7003       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7004       lt_cv_file_magic_cmd=/usr/bin/file
7005       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7006       ;;
7007     esac
7008   else
7009     lt_cv_deplibs_check_method=pass_all
7010   fi
7011   ;;
7012
7013 gnu*)
7014   lt_cv_deplibs_check_method=pass_all
7015   ;;
7016
7017 haiku*)
7018   lt_cv_deplibs_check_method=pass_all
7019   ;;
7020
7021 hpux10.20* | hpux11*)
7022   lt_cv_file_magic_cmd=/usr/bin/file
7023   case $host_cpu in
7024   ia64*)
7025     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7026     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7027     ;;
7028   hppa*64*)
7029     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]'
7030     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7031     ;;
7032   *)
7033     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7034     lt_cv_file_magic_test_file=/usr/lib/libc.sl
7035     ;;
7036   esac
7037   ;;
7038
7039 interix[3-9]*)
7040   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7041   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7042   ;;
7043
7044 irix5* | irix6* | nonstopux*)
7045   case $LD in
7046   *-32|*"-32 ") libmagic=32-bit;;
7047   *-n32|*"-n32 ") libmagic=N32;;
7048   *-64|*"-64 ") libmagic=64-bit;;
7049   *) libmagic=never-match;;
7050   esac
7051   lt_cv_deplibs_check_method=pass_all
7052   ;;
7053
7054 # This must be Linux ELF.
7055 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7056   lt_cv_deplibs_check_method=pass_all
7057   ;;
7058
7059 netbsd*)
7060   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7061     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7062   else
7063     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7064   fi
7065   ;;
7066
7067 newos6*)
7068   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7069   lt_cv_file_magic_cmd=/usr/bin/file
7070   lt_cv_file_magic_test_file=/usr/lib/libnls.so
7071   ;;
7072
7073 *nto* | *qnx*)
7074   lt_cv_deplibs_check_method=pass_all
7075   ;;
7076
7077 openbsd*)
7078   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7079     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7080   else
7081     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7082   fi
7083   ;;
7084
7085 osf3* | osf4* | osf5*)
7086   lt_cv_deplibs_check_method=pass_all
7087   ;;
7088
7089 rdos*)
7090   lt_cv_deplibs_check_method=pass_all
7091   ;;
7092
7093 solaris*)
7094   lt_cv_deplibs_check_method=pass_all
7095   ;;
7096
7097 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7098   lt_cv_deplibs_check_method=pass_all
7099   ;;
7100
7101 sysv4 | sysv4.3*)
7102   case $host_vendor in
7103   motorola)
7104     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]'
7105     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7106     ;;
7107   ncr)
7108     lt_cv_deplibs_check_method=pass_all
7109     ;;
7110   sequent)
7111     lt_cv_file_magic_cmd='/bin/file'
7112     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7113     ;;
7114   sni)
7115     lt_cv_file_magic_cmd='/bin/file'
7116     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7117     lt_cv_file_magic_test_file=/lib/libc.so
7118     ;;
7119   siemens)
7120     lt_cv_deplibs_check_method=pass_all
7121     ;;
7122   pc)
7123     lt_cv_deplibs_check_method=pass_all
7124     ;;
7125   esac
7126   ;;
7127
7128 tpf*)
7129   lt_cv_deplibs_check_method=pass_all
7130   ;;
7131 esac
7132
7133 fi
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7135 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7136 file_magic_cmd=$lt_cv_file_magic_cmd
7137 deplibs_check_method=$lt_cv_deplibs_check_method
7138 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151 if test -n "$ac_tool_prefix"; then
7152   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7153 set dummy ${ac_tool_prefix}ar; ac_word=$2
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7155 $as_echo_n "checking for $ac_word... " >&6; }
7156 if test "${ac_cv_prog_AR+set}" = set; then :
7157   $as_echo_n "(cached) " >&6
7158 else
7159   if test -n "$AR"; then
7160   ac_cv_prog_AR="$AR" # Let the user override the test.
7161 else
7162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7163 for as_dir in $PATH
7164 do
7165   IFS=$as_save_IFS
7166   test -z "$as_dir" && as_dir=.
7167     for ac_exec_ext in '' $ac_executable_extensions; do
7168   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7169     ac_cv_prog_AR="${ac_tool_prefix}ar"
7170     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7171     break 2
7172   fi
7173 done
7174   done
7175 IFS=$as_save_IFS
7176
7177 fi
7178 fi
7179 AR=$ac_cv_prog_AR
7180 if test -n "$AR"; then
7181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7182 $as_echo "$AR" >&6; }
7183 else
7184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7185 $as_echo "no" >&6; }
7186 fi
7187
7188
7189 fi
7190 if test -z "$ac_cv_prog_AR"; then
7191   ac_ct_AR=$AR
7192   # Extract the first word of "ar", so it can be a program name with args.
7193 set dummy ar; ac_word=$2
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7195 $as_echo_n "checking for $ac_word... " >&6; }
7196 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7197   $as_echo_n "(cached) " >&6
7198 else
7199   if test -n "$ac_ct_AR"; then
7200   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7201 else
7202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7203 for as_dir in $PATH
7204 do
7205   IFS=$as_save_IFS
7206   test -z "$as_dir" && as_dir=.
7207     for ac_exec_ext in '' $ac_executable_extensions; do
7208   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7209     ac_cv_prog_ac_ct_AR="ar"
7210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7211     break 2
7212   fi
7213 done
7214   done
7215 IFS=$as_save_IFS
7216
7217 fi
7218 fi
7219 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7220 if test -n "$ac_ct_AR"; then
7221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7222 $as_echo "$ac_ct_AR" >&6; }
7223 else
7224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7225 $as_echo "no" >&6; }
7226 fi
7227
7228   if test "x$ac_ct_AR" = x; then
7229     AR="false"
7230   else
7231     case $cross_compiling:$ac_tool_warned in
7232 yes:)
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7235 ac_tool_warned=yes ;;
7236 esac
7237     AR=$ac_ct_AR
7238   fi
7239 else
7240   AR="$ac_cv_prog_AR"
7241 fi
7242
7243 test -z "$AR" && AR=ar
7244 test -z "$AR_FLAGS" && AR_FLAGS=cru
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256 if test -n "$ac_tool_prefix"; then
7257   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7258 set dummy ${ac_tool_prefix}strip; ac_word=$2
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7260 $as_echo_n "checking for $ac_word... " >&6; }
7261 if test "${ac_cv_prog_STRIP+set}" = set; then :
7262   $as_echo_n "(cached) " >&6
7263 else
7264   if test -n "$STRIP"; then
7265   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7266 else
7267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7268 for as_dir in $PATH
7269 do
7270   IFS=$as_save_IFS
7271   test -z "$as_dir" && as_dir=.
7272     for ac_exec_ext in '' $ac_executable_extensions; do
7273   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7274     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7275     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7276     break 2
7277   fi
7278 done
7279   done
7280 IFS=$as_save_IFS
7281
7282 fi
7283 fi
7284 STRIP=$ac_cv_prog_STRIP
7285 if test -n "$STRIP"; then
7286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7287 $as_echo "$STRIP" >&6; }
7288 else
7289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7290 $as_echo "no" >&6; }
7291 fi
7292
7293
7294 fi
7295 if test -z "$ac_cv_prog_STRIP"; then
7296   ac_ct_STRIP=$STRIP
7297   # Extract the first word of "strip", so it can be a program name with args.
7298 set dummy strip; ac_word=$2
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7300 $as_echo_n "checking for $ac_word... " >&6; }
7301 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7302   $as_echo_n "(cached) " >&6
7303 else
7304   if test -n "$ac_ct_STRIP"; then
7305   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7306 else
7307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7308 for as_dir in $PATH
7309 do
7310   IFS=$as_save_IFS
7311   test -z "$as_dir" && as_dir=.
7312     for ac_exec_ext in '' $ac_executable_extensions; do
7313   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7314     ac_cv_prog_ac_ct_STRIP="strip"
7315     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7316     break 2
7317   fi
7318 done
7319   done
7320 IFS=$as_save_IFS
7321
7322 fi
7323 fi
7324 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7325 if test -n "$ac_ct_STRIP"; then
7326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7327 $as_echo "$ac_ct_STRIP" >&6; }
7328 else
7329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330 $as_echo "no" >&6; }
7331 fi
7332
7333   if test "x$ac_ct_STRIP" = x; then
7334     STRIP=":"
7335   else
7336     case $cross_compiling:$ac_tool_warned in
7337 yes:)
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7340 ac_tool_warned=yes ;;
7341 esac
7342     STRIP=$ac_ct_STRIP
7343   fi
7344 else
7345   STRIP="$ac_cv_prog_STRIP"
7346 fi
7347
7348 test -z "$STRIP" && STRIP=:
7349
7350
7351
7352
7353
7354
7355 if test -n "$ac_tool_prefix"; then
7356   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7357 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7359 $as_echo_n "checking for $ac_word... " >&6; }
7360 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7361   $as_echo_n "(cached) " >&6
7362 else
7363   if test -n "$RANLIB"; then
7364   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7365 else
7366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7367 for as_dir in $PATH
7368 do
7369   IFS=$as_save_IFS
7370   test -z "$as_dir" && as_dir=.
7371     for ac_exec_ext in '' $ac_executable_extensions; do
7372   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7373     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7374     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7375     break 2
7376   fi
7377 done
7378   done
7379 IFS=$as_save_IFS
7380
7381 fi
7382 fi
7383 RANLIB=$ac_cv_prog_RANLIB
7384 if test -n "$RANLIB"; then
7385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7386 $as_echo "$RANLIB" >&6; }
7387 else
7388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7389 $as_echo "no" >&6; }
7390 fi
7391
7392
7393 fi
7394 if test -z "$ac_cv_prog_RANLIB"; then
7395   ac_ct_RANLIB=$RANLIB
7396   # Extract the first word of "ranlib", so it can be a program name with args.
7397 set dummy ranlib; ac_word=$2
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7399 $as_echo_n "checking for $ac_word... " >&6; }
7400 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7401   $as_echo_n "(cached) " >&6
7402 else
7403   if test -n "$ac_ct_RANLIB"; then
7404   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7405 else
7406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7407 for as_dir in $PATH
7408 do
7409   IFS=$as_save_IFS
7410   test -z "$as_dir" && as_dir=.
7411     for ac_exec_ext in '' $ac_executable_extensions; do
7412   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7413     ac_cv_prog_ac_ct_RANLIB="ranlib"
7414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7415     break 2
7416   fi
7417 done
7418   done
7419 IFS=$as_save_IFS
7420
7421 fi
7422 fi
7423 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7424 if test -n "$ac_ct_RANLIB"; then
7425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7426 $as_echo "$ac_ct_RANLIB" >&6; }
7427 else
7428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7429 $as_echo "no" >&6; }
7430 fi
7431
7432   if test "x$ac_ct_RANLIB" = x; then
7433     RANLIB=":"
7434   else
7435     case $cross_compiling:$ac_tool_warned in
7436 yes:)
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7439 ac_tool_warned=yes ;;
7440 esac
7441     RANLIB=$ac_ct_RANLIB
7442   fi
7443 else
7444   RANLIB="$ac_cv_prog_RANLIB"
7445 fi
7446
7447 test -z "$RANLIB" && RANLIB=:
7448
7449
7450
7451
7452
7453
7454 # Determine commands to create old-style static archives.
7455 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7456 old_postinstall_cmds='chmod 644 $oldlib'
7457 old_postuninstall_cmds=
7458
7459 if test -n "$RANLIB"; then
7460   case $host_os in
7461   openbsd*)
7462     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7463     ;;
7464   *)
7465     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7466     ;;
7467   esac
7468   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7469 fi
7470
7471 case $host_os in
7472   darwin*)
7473     lock_old_archive_extraction=yes ;;
7474   *)
7475     lock_old_archive_extraction=no ;;
7476 esac
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516 # If no C compiler was specified, use CC.
7517 LTCC=${LTCC-"$CC"}
7518
7519 # If no C compiler flags were specified, use CFLAGS.
7520 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7521
7522 # Allow CC to be a program name with arguments.
7523 compiler=$CC
7524
7525
7526 # Check for command to grab the raw symbol name followed by C symbol from nm.
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7528 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7529 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7530   $as_echo_n "(cached) " >&6
7531 else
7532
7533 # These are sane defaults that work on at least a few old systems.
7534 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7535
7536 # Character class describing NM global symbol codes.
7537 symcode='[BCDEGRST]'
7538
7539 # Regexp to match symbols that can be accessed directly from C.
7540 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7541
7542 # Define system-specific variables.
7543 case $host_os in
7544 aix*)
7545   symcode='[BCDT]'
7546   ;;
7547 cygwin* | mingw* | pw32* | cegcc*)
7548   symcode='[ABCDGISTW]'
7549   ;;
7550 hpux*)
7551   if test "$host_cpu" = ia64; then
7552     symcode='[ABCDEGRST]'
7553   fi
7554   ;;
7555 irix* | nonstopux*)
7556   symcode='[BCDEGRST]'
7557   ;;
7558 osf*)
7559   symcode='[BCDEGQRST]'
7560   ;;
7561 solaris*)
7562   symcode='[BDRT]'
7563   ;;
7564 sco3.2v5*)
7565   symcode='[DT]'
7566   ;;
7567 sysv4.2uw2*)
7568   symcode='[DT]'
7569   ;;
7570 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7571   symcode='[ABDT]'
7572   ;;
7573 sysv4)
7574   symcode='[DFNSTU]'
7575   ;;
7576 esac
7577
7578 # If we're using GNU nm, then use its standard symbol codes.
7579 case `$NM -V 2>&1` in
7580 *GNU* | *'with BFD'*)
7581   symcode='[ABCDGIRSTW]' ;;
7582 esac
7583
7584 # Transform an extracted symbol line into a proper C declaration.
7585 # Some systems (esp. on ia64) link data and code symbols differently,
7586 # so use this general approach.
7587 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7588
7589 # Transform an extracted symbol line into symbol name and symbol address
7590 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7591 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'"
7592
7593 # Handle CRLF in mingw tool chain
7594 opt_cr=
7595 case $build_os in
7596 mingw*)
7597   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7598   ;;
7599 esac
7600
7601 # Try without a prefix underscore, then with it.
7602 for ac_symprfx in "" "_"; do
7603
7604   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7605   symxfrm="\\1 $ac_symprfx\\2 \\2"
7606
7607   # Write the raw and C identifiers.
7608   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7609     # Fake it for dumpbin and say T for any non-static function
7610     # and D for any global variable.
7611     # Also find C++ and __fastcall symbols from MSVC++,
7612     # which start with @ or ?.
7613     lt_cv_sys_global_symbol_pipe="$AWK '"\
7614 "     {last_section=section; section=\$ 3};"\
7615 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7616 "     \$ 0!~/External *\|/{next};"\
7617 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7618 "     {if(hide[section]) next};"\
7619 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7620 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7621 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7622 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7623 "     ' prfx=^$ac_symprfx"
7624   else
7625     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7626   fi
7627
7628   # Check to see that the pipe works correctly.
7629   pipe_works=no
7630
7631   rm -f conftest*
7632   cat > conftest.$ac_ext <<_LT_EOF
7633 #ifdef __cplusplus
7634 extern "C" {
7635 #endif
7636 char nm_test_var;
7637 void nm_test_func(void);
7638 void nm_test_func(void){}
7639 #ifdef __cplusplus
7640 }
7641 #endif
7642 int main(){nm_test_var='a';nm_test_func();return(0);}
7643 _LT_EOF
7644
7645   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7646   (eval $ac_compile) 2>&5
7647   ac_status=$?
7648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7649   test $ac_status = 0; }; then
7650     # Now try to grab the symbols.
7651     nlist=conftest.nm
7652     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7653   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7654   ac_status=$?
7655   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7656   test $ac_status = 0; } && test -s "$nlist"; then
7657       # Try sorting and uniquifying the output.
7658       if sort "$nlist" | uniq > "$nlist"T; then
7659         mv -f "$nlist"T "$nlist"
7660       else
7661         rm -f "$nlist"T
7662       fi
7663
7664       # Make sure that we snagged all the symbols we need.
7665       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7666         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7667           cat <<_LT_EOF > conftest.$ac_ext
7668 #ifdef __cplusplus
7669 extern "C" {
7670 #endif
7671
7672 _LT_EOF
7673           # Now generate the symbol file.
7674           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7675
7676           cat <<_LT_EOF >> conftest.$ac_ext
7677
7678 /* The mapping between symbol names and symbols.  */
7679 const struct {
7680   const char *name;
7681   void       *address;
7682 }
7683 lt__PROGRAM__LTX_preloaded_symbols[] =
7684 {
7685   { "@PROGRAM@", (void *) 0 },
7686 _LT_EOF
7687           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7688           cat <<\_LT_EOF >> conftest.$ac_ext
7689   {0, (void *) 0}
7690 };
7691
7692 /* This works around a problem in FreeBSD linker */
7693 #ifdef FREEBSD_WORKAROUND
7694 static const void *lt_preloaded_setup() {
7695   return lt__PROGRAM__LTX_preloaded_symbols;
7696 }
7697 #endif
7698
7699 #ifdef __cplusplus
7700 }
7701 #endif
7702 _LT_EOF
7703           # Now try linking the two files.
7704           mv conftest.$ac_objext conftstm.$ac_objext
7705           lt_save_LIBS="$LIBS"
7706           lt_save_CFLAGS="$CFLAGS"
7707           LIBS="conftstm.$ac_objext"
7708           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7709           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7710   (eval $ac_link) 2>&5
7711   ac_status=$?
7712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7713   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7714             pipe_works=yes
7715           fi
7716           LIBS="$lt_save_LIBS"
7717           CFLAGS="$lt_save_CFLAGS"
7718         else
7719           echo "cannot find nm_test_func in $nlist" >&5
7720         fi
7721       else
7722         echo "cannot find nm_test_var in $nlist" >&5
7723       fi
7724     else
7725       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7726     fi
7727   else
7728     echo "$progname: failed program was:" >&5
7729     cat conftest.$ac_ext >&5
7730   fi
7731   rm -rf conftest* conftst*
7732
7733   # Do not use the global_symbol_pipe unless it works.
7734   if test "$pipe_works" = yes; then
7735     break
7736   else
7737     lt_cv_sys_global_symbol_pipe=
7738   fi
7739 done
7740
7741 fi
7742
7743 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7744   lt_cv_sys_global_symbol_to_cdecl=
7745 fi
7746 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7748 $as_echo "failed" >&6; }
7749 else
7750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7751 $as_echo "ok" >&6; }
7752 fi
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775 # Check whether --enable-libtool-lock was given.
7776 if test "${enable_libtool_lock+set}" = set; then :
7777   enableval=$enable_libtool_lock;
7778 fi
7779
7780 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7781
7782 # Some flags need to be propagated to the compiler or linker for good
7783 # libtool support.
7784 case $host in
7785 ia64-*-hpux*)
7786   # Find out which ABI we are using.
7787   echo 'int i;' > conftest.$ac_ext
7788   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7789   (eval $ac_compile) 2>&5
7790   ac_status=$?
7791   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7792   test $ac_status = 0; }; then
7793     case `/usr/bin/file conftest.$ac_objext` in
7794       *ELF-32*)
7795         HPUX_IA64_MODE="32"
7796         ;;
7797       *ELF-64*)
7798         HPUX_IA64_MODE="64"
7799         ;;
7800     esac
7801   fi
7802   rm -rf conftest*
7803   ;;
7804 *-*-irix6*)
7805   # Find out which ABI we are using.
7806   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7807   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7808   (eval $ac_compile) 2>&5
7809   ac_status=$?
7810   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7811   test $ac_status = 0; }; then
7812     if test "$lt_cv_prog_gnu_ld" = yes; then
7813       case `/usr/bin/file conftest.$ac_objext` in
7814         *32-bit*)
7815           LD="${LD-ld} -melf32bsmip"
7816           ;;
7817         *N32*)
7818           LD="${LD-ld} -melf32bmipn32"
7819           ;;
7820         *64-bit*)
7821           LD="${LD-ld} -melf64bmip"
7822         ;;
7823       esac
7824     else
7825       case `/usr/bin/file conftest.$ac_objext` in
7826         *32-bit*)
7827           LD="${LD-ld} -32"
7828           ;;
7829         *N32*)
7830           LD="${LD-ld} -n32"
7831           ;;
7832         *64-bit*)
7833           LD="${LD-ld} -64"
7834           ;;
7835       esac
7836     fi
7837   fi
7838   rm -rf conftest*
7839   ;;
7840
7841 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7842 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7843   # Find out which ABI we are using.
7844   echo 'int i;' > conftest.$ac_ext
7845   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7846   (eval $ac_compile) 2>&5
7847   ac_status=$?
7848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7849   test $ac_status = 0; }; then
7850     case `/usr/bin/file conftest.o` in
7851       *32-bit*)
7852         case $host in
7853           x86_64-*kfreebsd*-gnu)
7854             LD="${LD-ld} -m elf_i386_fbsd"
7855             ;;
7856           x86_64-*linux*)
7857             LD="${LD-ld} -m elf_i386"
7858             ;;
7859           ppc64-*linux*|powerpc64-*linux*)
7860             LD="${LD-ld} -m elf32ppclinux"
7861             ;;
7862           s390x-*linux*)
7863             LD="${LD-ld} -m elf_s390"
7864             ;;
7865           sparc64-*linux*)
7866             LD="${LD-ld} -m elf32_sparc"
7867             ;;
7868         esac
7869         ;;
7870       *64-bit*)
7871         case $host in
7872           x86_64-*kfreebsd*-gnu)
7873             LD="${LD-ld} -m elf_x86_64_fbsd"
7874             ;;
7875           x86_64-*linux*)
7876             LD="${LD-ld} -m elf_x86_64"
7877             ;;
7878           ppc*-*linux*|powerpc*-*linux*)
7879             LD="${LD-ld} -m elf64ppc"
7880             ;;
7881           s390*-*linux*|s390*-*tpf*)
7882             LD="${LD-ld} -m elf64_s390"
7883             ;;
7884           sparc*-*linux*)
7885             LD="${LD-ld} -m elf64_sparc"
7886             ;;
7887         esac
7888         ;;
7889     esac
7890   fi
7891   rm -rf conftest*
7892   ;;
7893
7894 *-*-sco3.2v5*)
7895   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7896   SAVE_CFLAGS="$CFLAGS"
7897   CFLAGS="$CFLAGS -belf"
7898   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7899 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7900 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7901   $as_echo_n "(cached) " >&6
7902 else
7903   ac_ext=c
7904 ac_cpp='$CPP $CPPFLAGS'
7905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7908
7909      if test x$gcc_no_link = xyes; then
7910   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7911 fi
7912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7913 /* end confdefs.h.  */
7914
7915 int
7916 main ()
7917 {
7918
7919   ;
7920   return 0;
7921 }
7922 _ACEOF
7923 if ac_fn_c_try_link "$LINENO"; then :
7924   lt_cv_cc_needs_belf=yes
7925 else
7926   lt_cv_cc_needs_belf=no
7927 fi
7928 rm -f core conftest.err conftest.$ac_objext \
7929     conftest$ac_exeext conftest.$ac_ext
7930      ac_ext=c
7931 ac_cpp='$CPP $CPPFLAGS'
7932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7935
7936 fi
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7938 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7939   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7940     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7941     CFLAGS="$SAVE_CFLAGS"
7942   fi
7943   ;;
7944 sparc*-*solaris*)
7945   # Find out which ABI we are using.
7946   echo 'int i;' > conftest.$ac_ext
7947   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7948   (eval $ac_compile) 2>&5
7949   ac_status=$?
7950   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7951   test $ac_status = 0; }; then
7952     case `/usr/bin/file conftest.o` in
7953     *64-bit*)
7954       case $lt_cv_prog_gnu_ld in
7955       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7956       *)
7957         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7958           LD="${LD-ld} -64"
7959         fi
7960         ;;
7961       esac
7962       ;;
7963     esac
7964   fi
7965   rm -rf conftest*
7966   ;;
7967 esac
7968
7969 need_locks="$enable_libtool_lock"
7970
7971
7972   case $host_os in
7973     rhapsody* | darwin*)
7974     if test -n "$ac_tool_prefix"; then
7975   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7976 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7978 $as_echo_n "checking for $ac_word... " >&6; }
7979 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7980   $as_echo_n "(cached) " >&6
7981 else
7982   if test -n "$DSYMUTIL"; then
7983   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7984 else
7985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7986 for as_dir in $PATH
7987 do
7988   IFS=$as_save_IFS
7989   test -z "$as_dir" && as_dir=.
7990     for ac_exec_ext in '' $ac_executable_extensions; do
7991   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7992     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7993     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7994     break 2
7995   fi
7996 done
7997   done
7998 IFS=$as_save_IFS
7999
8000 fi
8001 fi
8002 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8003 if test -n "$DSYMUTIL"; then
8004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8005 $as_echo "$DSYMUTIL" >&6; }
8006 else
8007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8008 $as_echo "no" >&6; }
8009 fi
8010
8011
8012 fi
8013 if test -z "$ac_cv_prog_DSYMUTIL"; then
8014   ac_ct_DSYMUTIL=$DSYMUTIL
8015   # Extract the first word of "dsymutil", so it can be a program name with args.
8016 set dummy dsymutil; ac_word=$2
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8018 $as_echo_n "checking for $ac_word... " >&6; }
8019 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8020   $as_echo_n "(cached) " >&6
8021 else
8022   if test -n "$ac_ct_DSYMUTIL"; then
8023   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8024 else
8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026 for as_dir in $PATH
8027 do
8028   IFS=$as_save_IFS
8029   test -z "$as_dir" && as_dir=.
8030     for ac_exec_ext in '' $ac_executable_extensions; do
8031   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8032     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8033     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8034     break 2
8035   fi
8036 done
8037   done
8038 IFS=$as_save_IFS
8039
8040 fi
8041 fi
8042 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8043 if test -n "$ac_ct_DSYMUTIL"; then
8044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8045 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8046 else
8047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8048 $as_echo "no" >&6; }
8049 fi
8050
8051   if test "x$ac_ct_DSYMUTIL" = x; then
8052     DSYMUTIL=":"
8053   else
8054     case $cross_compiling:$ac_tool_warned in
8055 yes:)
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8058 ac_tool_warned=yes ;;
8059 esac
8060     DSYMUTIL=$ac_ct_DSYMUTIL
8061   fi
8062 else
8063   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8064 fi
8065
8066     if test -n "$ac_tool_prefix"; then
8067   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8068 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8070 $as_echo_n "checking for $ac_word... " >&6; }
8071 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8072   $as_echo_n "(cached) " >&6
8073 else
8074   if test -n "$NMEDIT"; then
8075   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8076 else
8077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8078 for as_dir in $PATH
8079 do
8080   IFS=$as_save_IFS
8081   test -z "$as_dir" && as_dir=.
8082     for ac_exec_ext in '' $ac_executable_extensions; do
8083   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8084     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8086     break 2
8087   fi
8088 done
8089   done
8090 IFS=$as_save_IFS
8091
8092 fi
8093 fi
8094 NMEDIT=$ac_cv_prog_NMEDIT
8095 if test -n "$NMEDIT"; then
8096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8097 $as_echo "$NMEDIT" >&6; }
8098 else
8099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8100 $as_echo "no" >&6; }
8101 fi
8102
8103
8104 fi
8105 if test -z "$ac_cv_prog_NMEDIT"; then
8106   ac_ct_NMEDIT=$NMEDIT
8107   # Extract the first word of "nmedit", so it can be a program name with args.
8108 set dummy nmedit; ac_word=$2
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8110 $as_echo_n "checking for $ac_word... " >&6; }
8111 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8112   $as_echo_n "(cached) " >&6
8113 else
8114   if test -n "$ac_ct_NMEDIT"; then
8115   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8116 else
8117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8118 for as_dir in $PATH
8119 do
8120   IFS=$as_save_IFS
8121   test -z "$as_dir" && as_dir=.
8122     for ac_exec_ext in '' $ac_executable_extensions; do
8123   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8124     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8125     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8126     break 2
8127   fi
8128 done
8129   done
8130 IFS=$as_save_IFS
8131
8132 fi
8133 fi
8134 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8135 if test -n "$ac_ct_NMEDIT"; then
8136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8137 $as_echo "$ac_ct_NMEDIT" >&6; }
8138 else
8139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8140 $as_echo "no" >&6; }
8141 fi
8142
8143   if test "x$ac_ct_NMEDIT" = x; then
8144     NMEDIT=":"
8145   else
8146     case $cross_compiling:$ac_tool_warned in
8147 yes:)
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8150 ac_tool_warned=yes ;;
8151 esac
8152     NMEDIT=$ac_ct_NMEDIT
8153   fi
8154 else
8155   NMEDIT="$ac_cv_prog_NMEDIT"
8156 fi
8157
8158     if test -n "$ac_tool_prefix"; then
8159   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8160 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8162 $as_echo_n "checking for $ac_word... " >&6; }
8163 if test "${ac_cv_prog_LIPO+set}" = set; then :
8164   $as_echo_n "(cached) " >&6
8165 else
8166   if test -n "$LIPO"; then
8167   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8168 else
8169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8170 for as_dir in $PATH
8171 do
8172   IFS=$as_save_IFS
8173   test -z "$as_dir" && as_dir=.
8174     for ac_exec_ext in '' $ac_executable_extensions; do
8175   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8176     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8177     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8178     break 2
8179   fi
8180 done
8181   done
8182 IFS=$as_save_IFS
8183
8184 fi
8185 fi
8186 LIPO=$ac_cv_prog_LIPO
8187 if test -n "$LIPO"; then
8188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8189 $as_echo "$LIPO" >&6; }
8190 else
8191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8192 $as_echo "no" >&6; }
8193 fi
8194
8195
8196 fi
8197 if test -z "$ac_cv_prog_LIPO"; then
8198   ac_ct_LIPO=$LIPO
8199   # Extract the first word of "lipo", so it can be a program name with args.
8200 set dummy lipo; ac_word=$2
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8202 $as_echo_n "checking for $ac_word... " >&6; }
8203 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8204   $as_echo_n "(cached) " >&6
8205 else
8206   if test -n "$ac_ct_LIPO"; then
8207   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8208 else
8209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8210 for as_dir in $PATH
8211 do
8212   IFS=$as_save_IFS
8213   test -z "$as_dir" && as_dir=.
8214     for ac_exec_ext in '' $ac_executable_extensions; do
8215   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8216     ac_cv_prog_ac_ct_LIPO="lipo"
8217     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8218     break 2
8219   fi
8220 done
8221   done
8222 IFS=$as_save_IFS
8223
8224 fi
8225 fi
8226 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8227 if test -n "$ac_ct_LIPO"; then
8228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8229 $as_echo "$ac_ct_LIPO" >&6; }
8230 else
8231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232 $as_echo "no" >&6; }
8233 fi
8234
8235   if test "x$ac_ct_LIPO" = x; then
8236     LIPO=":"
8237   else
8238     case $cross_compiling:$ac_tool_warned in
8239 yes:)
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8242 ac_tool_warned=yes ;;
8243 esac
8244     LIPO=$ac_ct_LIPO
8245   fi
8246 else
8247   LIPO="$ac_cv_prog_LIPO"
8248 fi
8249
8250     if test -n "$ac_tool_prefix"; then
8251   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8252 set dummy ${ac_tool_prefix}otool; ac_word=$2
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8254 $as_echo_n "checking for $ac_word... " >&6; }
8255 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8256   $as_echo_n "(cached) " >&6
8257 else
8258   if test -n "$OTOOL"; then
8259   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8260 else
8261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8262 for as_dir in $PATH
8263 do
8264   IFS=$as_save_IFS
8265   test -z "$as_dir" && as_dir=.
8266     for ac_exec_ext in '' $ac_executable_extensions; do
8267   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8268     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8269     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8270     break 2
8271   fi
8272 done
8273   done
8274 IFS=$as_save_IFS
8275
8276 fi
8277 fi
8278 OTOOL=$ac_cv_prog_OTOOL
8279 if test -n "$OTOOL"; then
8280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8281 $as_echo "$OTOOL" >&6; }
8282 else
8283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8284 $as_echo "no" >&6; }
8285 fi
8286
8287
8288 fi
8289 if test -z "$ac_cv_prog_OTOOL"; then
8290   ac_ct_OTOOL=$OTOOL
8291   # Extract the first word of "otool", so it can be a program name with args.
8292 set dummy otool; ac_word=$2
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8294 $as_echo_n "checking for $ac_word... " >&6; }
8295 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8296   $as_echo_n "(cached) " >&6
8297 else
8298   if test -n "$ac_ct_OTOOL"; then
8299   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8300 else
8301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8302 for as_dir in $PATH
8303 do
8304   IFS=$as_save_IFS
8305   test -z "$as_dir" && as_dir=.
8306     for ac_exec_ext in '' $ac_executable_extensions; do
8307   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8308     ac_cv_prog_ac_ct_OTOOL="otool"
8309     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8310     break 2
8311   fi
8312 done
8313   done
8314 IFS=$as_save_IFS
8315
8316 fi
8317 fi
8318 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8319 if test -n "$ac_ct_OTOOL"; then
8320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8321 $as_echo "$ac_ct_OTOOL" >&6; }
8322 else
8323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8324 $as_echo "no" >&6; }
8325 fi
8326
8327   if test "x$ac_ct_OTOOL" = x; then
8328     OTOOL=":"
8329   else
8330     case $cross_compiling:$ac_tool_warned in
8331 yes:)
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8333 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8334 ac_tool_warned=yes ;;
8335 esac
8336     OTOOL=$ac_ct_OTOOL
8337   fi
8338 else
8339   OTOOL="$ac_cv_prog_OTOOL"
8340 fi
8341
8342     if test -n "$ac_tool_prefix"; then
8343   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8344 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8346 $as_echo_n "checking for $ac_word... " >&6; }
8347 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8348   $as_echo_n "(cached) " >&6
8349 else
8350   if test -n "$OTOOL64"; then
8351   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8352 else
8353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8354 for as_dir in $PATH
8355 do
8356   IFS=$as_save_IFS
8357   test -z "$as_dir" && as_dir=.
8358     for ac_exec_ext in '' $ac_executable_extensions; do
8359   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8360     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8361     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8362     break 2
8363   fi
8364 done
8365   done
8366 IFS=$as_save_IFS
8367
8368 fi
8369 fi
8370 OTOOL64=$ac_cv_prog_OTOOL64
8371 if test -n "$OTOOL64"; then
8372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8373 $as_echo "$OTOOL64" >&6; }
8374 else
8375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8376 $as_echo "no" >&6; }
8377 fi
8378
8379
8380 fi
8381 if test -z "$ac_cv_prog_OTOOL64"; then
8382   ac_ct_OTOOL64=$OTOOL64
8383   # Extract the first word of "otool64", so it can be a program name with args.
8384 set dummy otool64; ac_word=$2
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8386 $as_echo_n "checking for $ac_word... " >&6; }
8387 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8388   $as_echo_n "(cached) " >&6
8389 else
8390   if test -n "$ac_ct_OTOOL64"; then
8391   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8392 else
8393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8394 for as_dir in $PATH
8395 do
8396   IFS=$as_save_IFS
8397   test -z "$as_dir" && as_dir=.
8398     for ac_exec_ext in '' $ac_executable_extensions; do
8399   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8400     ac_cv_prog_ac_ct_OTOOL64="otool64"
8401     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8402     break 2
8403   fi
8404 done
8405   done
8406 IFS=$as_save_IFS
8407
8408 fi
8409 fi
8410 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8411 if test -n "$ac_ct_OTOOL64"; then
8412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8413 $as_echo "$ac_ct_OTOOL64" >&6; }
8414 else
8415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416 $as_echo "no" >&6; }
8417 fi
8418
8419   if test "x$ac_ct_OTOOL64" = x; then
8420     OTOOL64=":"
8421   else
8422     case $cross_compiling:$ac_tool_warned in
8423 yes:)
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8426 ac_tool_warned=yes ;;
8427 esac
8428     OTOOL64=$ac_ct_OTOOL64
8429   fi
8430 else
8431   OTOOL64="$ac_cv_prog_OTOOL64"
8432 fi
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8461 $as_echo_n "checking for -single_module linker flag... " >&6; }
8462 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8463   $as_echo_n "(cached) " >&6
8464 else
8465   lt_cv_apple_cc_single_mod=no
8466       if test -z "${LT_MULTI_MODULE}"; then
8467         # By default we will add the -single_module flag. You can override
8468         # by either setting the environment variable LT_MULTI_MODULE
8469         # non-empty at configure time, or by adding -multi_module to the
8470         # link flags.
8471         rm -rf libconftest.dylib*
8472         echo "int foo(void){return 1;}" > conftest.c
8473         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8474 -dynamiclib -Wl,-single_module conftest.c" >&5
8475         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8476           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8477         _lt_result=$?
8478         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8479           lt_cv_apple_cc_single_mod=yes
8480         else
8481           cat conftest.err >&5
8482         fi
8483         rm -rf libconftest.dylib*
8484         rm -f conftest.*
8485       fi
8486 fi
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8488 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8489     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8490 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8491 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8492   $as_echo_n "(cached) " >&6
8493 else
8494   lt_cv_ld_exported_symbols_list=no
8495       save_LDFLAGS=$LDFLAGS
8496       echo "_main" > conftest.sym
8497       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8498       if test x$gcc_no_link = xyes; then
8499   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8500 fi
8501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8502 /* end confdefs.h.  */
8503
8504 int
8505 main ()
8506 {
8507
8508   ;
8509   return 0;
8510 }
8511 _ACEOF
8512 if ac_fn_c_try_link "$LINENO"; then :
8513   lt_cv_ld_exported_symbols_list=yes
8514 else
8515   lt_cv_ld_exported_symbols_list=no
8516 fi
8517 rm -f core conftest.err conftest.$ac_objext \
8518     conftest$ac_exeext conftest.$ac_ext
8519         LDFLAGS="$save_LDFLAGS"
8520
8521 fi
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8523 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8524     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8525 $as_echo_n "checking for -force_load linker flag... " >&6; }
8526 if test "${lt_cv_ld_force_load+set}" = set; then :
8527   $as_echo_n "(cached) " >&6
8528 else
8529   lt_cv_ld_force_load=no
8530       cat > conftest.c << _LT_EOF
8531 int forced_loaded() { return 2;}
8532 _LT_EOF
8533       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8534       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8535       echo "$AR cru libconftest.a conftest.o" >&5
8536       $AR cru libconftest.a conftest.o 2>&5
8537       cat > conftest.c << _LT_EOF
8538 int main() { return 0;}
8539 _LT_EOF
8540       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8541       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8542       _lt_result=$?
8543       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8544         lt_cv_ld_force_load=yes
8545       else
8546         cat conftest.err >&5
8547       fi
8548         rm -f conftest.err libconftest.a conftest conftest.c
8549         rm -rf conftest.dSYM
8550
8551 fi
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8553 $as_echo "$lt_cv_ld_force_load" >&6; }
8554     case $host_os in
8555     rhapsody* | darwin1.[012])
8556       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8557     darwin1.*)
8558       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8559     darwin*) # darwin 5.x on
8560       # if running on 10.5 or later, the deployment target defaults
8561       # to the OS version, if on x86, and 10.4, the deployment
8562       # target defaults to 10.4. Don't you love it?
8563       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8564         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8565           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8566         10.[012]*)
8567           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8568         10.*)
8569           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8570       esac
8571     ;;
8572   esac
8573     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8574       _lt_dar_single_mod='$single_module'
8575     fi
8576     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8577       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8578     else
8579       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8580     fi
8581     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8582       _lt_dsymutil='~$DSYMUTIL $lib || :'
8583     else
8584       _lt_dsymutil=
8585     fi
8586     ;;
8587   esac
8588
8589 for ac_header in dlfcn.h
8590 do :
8591   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8592 "
8593 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8594   cat >>confdefs.h <<_ACEOF
8595 #define HAVE_DLFCN_H 1
8596 _ACEOF
8597
8598 fi
8599
8600 done
8601
8602
8603
8604
8605
8606 # Set options
8607
8608
8609
8610
8611   enable_win32_dll=no
8612
8613
8614             # Check whether --enable-shared was given.
8615 if test "${enable_shared+set}" = set; then :
8616   enableval=$enable_shared; p=${PACKAGE-default}
8617     case $enableval in
8618     yes) enable_shared=yes ;;
8619     no) enable_shared=no ;;
8620     *)
8621       enable_shared=no
8622       # Look at the argument we got.  We use all the common list separators.
8623       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8624       for pkg in $enableval; do
8625         IFS="$lt_save_ifs"
8626         if test "X$pkg" = "X$p"; then
8627           enable_shared=yes
8628         fi
8629       done
8630       IFS="$lt_save_ifs"
8631       ;;
8632     esac
8633 else
8634   enable_shared=yes
8635 fi
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645   # Check whether --enable-static was given.
8646 if test "${enable_static+set}" = set; then :
8647   enableval=$enable_static; p=${PACKAGE-default}
8648     case $enableval in
8649     yes) enable_static=yes ;;
8650     no) enable_static=no ;;
8651     *)
8652      enable_static=no
8653       # Look at the argument we got.  We use all the common list separators.
8654       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8655       for pkg in $enableval; do
8656         IFS="$lt_save_ifs"
8657         if test "X$pkg" = "X$p"; then
8658           enable_static=yes
8659         fi
8660       done
8661       IFS="$lt_save_ifs"
8662       ;;
8663     esac
8664 else
8665   enable_static=yes
8666 fi
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677 # Check whether --with-pic was given.
8678 if test "${with_pic+set}" = set; then :
8679   withval=$with_pic; pic_mode="$withval"
8680 else
8681   pic_mode=default
8682 fi
8683
8684
8685 test -z "$pic_mode" && pic_mode=default
8686
8687
8688
8689
8690
8691
8692
8693   # Check whether --enable-fast-install was given.
8694 if test "${enable_fast_install+set}" = set; then :
8695   enableval=$enable_fast_install; p=${PACKAGE-default}
8696     case $enableval in
8697     yes) enable_fast_install=yes ;;
8698     no) enable_fast_install=no ;;
8699     *)
8700       enable_fast_install=no
8701       # Look at the argument we got.  We use all the common list separators.
8702       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8703       for pkg in $enableval; do
8704         IFS="$lt_save_ifs"
8705         if test "X$pkg" = "X$p"; then
8706           enable_fast_install=yes
8707         fi
8708       done
8709       IFS="$lt_save_ifs"
8710       ;;
8711     esac
8712 else
8713   enable_fast_install=yes
8714 fi
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726 # This can be used to rebuild libtool when needed
8727 LIBTOOL_DEPS="$ltmain"
8728
8729 # Always use our own libtool.
8730 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757 test -z "$LN_S" && LN_S="ln -s"
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772 if test -n "${ZSH_VERSION+set}" ; then
8773    setopt NO_GLOB_SUBST
8774 fi
8775
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8777 $as_echo_n "checking for objdir... " >&6; }
8778 if test "${lt_cv_objdir+set}" = set; then :
8779   $as_echo_n "(cached) " >&6
8780 else
8781   rm -f .libs 2>/dev/null
8782 mkdir .libs 2>/dev/null
8783 if test -d .libs; then
8784   lt_cv_objdir=.libs
8785 else
8786   # MS-DOS does not allow filenames that begin with a dot.
8787   lt_cv_objdir=_libs
8788 fi
8789 rmdir .libs 2>/dev/null
8790 fi
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8792 $as_echo "$lt_cv_objdir" >&6; }
8793 objdir=$lt_cv_objdir
8794
8795
8796
8797
8798
8799 cat >>confdefs.h <<_ACEOF
8800 #define LT_OBJDIR "$lt_cv_objdir/"
8801 _ACEOF
8802
8803
8804
8805
8806 case $host_os in
8807 aix3*)
8808   # AIX sometimes has problems with the GCC collect2 program.  For some
8809   # reason, if we set the COLLECT_NAMES environment variable, the problems
8810   # vanish in a puff of smoke.
8811   if test "X${COLLECT_NAMES+set}" != Xset; then
8812     COLLECT_NAMES=
8813     export COLLECT_NAMES
8814   fi
8815   ;;
8816 esac
8817
8818 # Global variables:
8819 ofile=libtool
8820 can_build_shared=yes
8821
8822 # All known linkers require a `.a' archive for static linking (except MSVC,
8823 # which needs '.lib').
8824 libext=a
8825
8826 with_gnu_ld="$lt_cv_prog_gnu_ld"
8827
8828 old_CC="$CC"
8829 old_CFLAGS="$CFLAGS"
8830
8831 # Set sane defaults for various variables
8832 test -z "$CC" && CC=cc
8833 test -z "$LTCC" && LTCC=$CC
8834 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8835 test -z "$LD" && LD=ld
8836 test -z "$ac_objext" && ac_objext=o
8837
8838 for cc_temp in $compiler""; do
8839   case $cc_temp in
8840     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8841     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8842     \-*) ;;
8843     *) break;;
8844   esac
8845 done
8846 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8847
8848
8849 # Only perform the check for file, if the check method requires it
8850 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8851 case $deplibs_check_method in
8852 file_magic*)
8853   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8854     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8855 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8856 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8857   $as_echo_n "(cached) " >&6
8858 else
8859   case $MAGIC_CMD in
8860 [\\/*] |  ?:[\\/]*)
8861   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8862   ;;
8863 *)
8864   lt_save_MAGIC_CMD="$MAGIC_CMD"
8865   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8866   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8867   for ac_dir in $ac_dummy; do
8868     IFS="$lt_save_ifs"
8869     test -z "$ac_dir" && ac_dir=.
8870     if test -f $ac_dir/${ac_tool_prefix}file; then
8871       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8872       if test -n "$file_magic_test_file"; then
8873         case $deplibs_check_method in
8874         "file_magic "*)
8875           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8876           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8877           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8878             $EGREP "$file_magic_regex" > /dev/null; then
8879             :
8880           else
8881             cat <<_LT_EOF 1>&2
8882
8883 *** Warning: the command libtool uses to detect shared libraries,
8884 *** $file_magic_cmd, produces output that libtool cannot recognize.
8885 *** The result is that libtool may fail to recognize shared libraries
8886 *** as such.  This will affect the creation of libtool libraries that
8887 *** depend on shared libraries, but programs linked with such libtool
8888 *** libraries will work regardless of this problem.  Nevertheless, you
8889 *** may want to report the problem to your system manager and/or to
8890 *** bug-libtool@gnu.org
8891
8892 _LT_EOF
8893           fi ;;
8894         esac
8895       fi
8896       break
8897     fi
8898   done
8899   IFS="$lt_save_ifs"
8900   MAGIC_CMD="$lt_save_MAGIC_CMD"
8901   ;;
8902 esac
8903 fi
8904
8905 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8906 if test -n "$MAGIC_CMD"; then
8907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8908 $as_echo "$MAGIC_CMD" >&6; }
8909 else
8910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8911 $as_echo "no" >&6; }
8912 fi
8913
8914
8915
8916
8917
8918 if test -z "$lt_cv_path_MAGIC_CMD"; then
8919   if test -n "$ac_tool_prefix"; then
8920     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8921 $as_echo_n "checking for file... " >&6; }
8922 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8923   $as_echo_n "(cached) " >&6
8924 else
8925   case $MAGIC_CMD in
8926 [\\/*] |  ?:[\\/]*)
8927   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8928   ;;
8929 *)
8930   lt_save_MAGIC_CMD="$MAGIC_CMD"
8931   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8932   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8933   for ac_dir in $ac_dummy; do
8934     IFS="$lt_save_ifs"
8935     test -z "$ac_dir" && ac_dir=.
8936     if test -f $ac_dir/file; then
8937       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8938       if test -n "$file_magic_test_file"; then
8939         case $deplibs_check_method in
8940         "file_magic "*)
8941           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8942           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8943           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8944             $EGREP "$file_magic_regex" > /dev/null; then
8945             :
8946           else
8947             cat <<_LT_EOF 1>&2
8948
8949 *** Warning: the command libtool uses to detect shared libraries,
8950 *** $file_magic_cmd, produces output that libtool cannot recognize.
8951 *** The result is that libtool may fail to recognize shared libraries
8952 *** as such.  This will affect the creation of libtool libraries that
8953 *** depend on shared libraries, but programs linked with such libtool
8954 *** libraries will work regardless of this problem.  Nevertheless, you
8955 *** may want to report the problem to your system manager and/or to
8956 *** bug-libtool@gnu.org
8957
8958 _LT_EOF
8959           fi ;;
8960         esac
8961       fi
8962       break
8963     fi
8964   done
8965   IFS="$lt_save_ifs"
8966   MAGIC_CMD="$lt_save_MAGIC_CMD"
8967   ;;
8968 esac
8969 fi
8970
8971 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8972 if test -n "$MAGIC_CMD"; then
8973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8974 $as_echo "$MAGIC_CMD" >&6; }
8975 else
8976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8977 $as_echo "no" >&6; }
8978 fi
8979
8980
8981   else
8982     MAGIC_CMD=:
8983   fi
8984 fi
8985
8986   fi
8987   ;;
8988 esac
8989
8990 # Use C for the default configuration in the libtool script
8991
8992 lt_save_CC="$CC"
8993 ac_ext=c
8994 ac_cpp='$CPP $CPPFLAGS'
8995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8998
8999
9000 # Source file extension for C test sources.
9001 ac_ext=c
9002
9003 # Object file extension for compiled C test sources.
9004 objext=o
9005 objext=$objext
9006
9007 # Code to be used in simple compile tests
9008 lt_simple_compile_test_code="int some_variable = 0;"
9009
9010 # Code to be used in simple link tests
9011 lt_simple_link_test_code='int main(){return(0);}'
9012
9013
9014
9015
9016
9017
9018
9019 # If no C compiler was specified, use CC.
9020 LTCC=${LTCC-"$CC"}
9021
9022 # If no C compiler flags were specified, use CFLAGS.
9023 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9024
9025 # Allow CC to be a program name with arguments.
9026 compiler=$CC
9027
9028 # Save the default compiler, since it gets overwritten when the other
9029 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9030 compiler_DEFAULT=$CC
9031
9032 # save warnings/boilerplate of simple test code
9033 ac_outfile=conftest.$ac_objext
9034 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9035 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9036 _lt_compiler_boilerplate=`cat conftest.err`
9037 $RM conftest*
9038
9039 ac_outfile=conftest.$ac_objext
9040 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9041 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9042 _lt_linker_boilerplate=`cat conftest.err`
9043 $RM -r conftest*
9044
9045
9046 ## CAVEAT EMPTOR:
9047 ## There is no encapsulation within the following macros, do not change
9048 ## the running order or otherwise move them around unless you know exactly
9049 ## what you are doing...
9050 if test -n "$compiler"; then
9051
9052 lt_prog_compiler_no_builtin_flag=
9053
9054 if test "$GCC" = yes; then
9055   case $cc_basename in
9056   nvcc*)
9057     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9058   *)
9059     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9060   esac
9061
9062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9063 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9064 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9065   $as_echo_n "(cached) " >&6
9066 else
9067   lt_cv_prog_compiler_rtti_exceptions=no
9068    ac_outfile=conftest.$ac_objext
9069    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9070    lt_compiler_flag="-fno-rtti -fno-exceptions"
9071    # Insert the option either (1) after the last *FLAGS variable, or
9072    # (2) before a word containing "conftest.", or (3) at the end.
9073    # Note that $ac_compile itself does not contain backslashes and begins
9074    # with a dollar sign (not a hyphen), so the echo should work correctly.
9075    # The option is referenced via a variable to avoid confusing sed.
9076    lt_compile=`echo "$ac_compile" | $SED \
9077    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9078    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9079    -e 's:$: $lt_compiler_flag:'`
9080    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9081    (eval "$lt_compile" 2>conftest.err)
9082    ac_status=$?
9083    cat conftest.err >&5
9084    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085    if (exit $ac_status) && test -s "$ac_outfile"; then
9086      # The compiler can only warn and ignore the option if not recognized
9087      # So say no if there are warnings other than the usual output.
9088      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9089      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9090      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9091        lt_cv_prog_compiler_rtti_exceptions=yes
9092      fi
9093    fi
9094    $RM conftest*
9095
9096 fi
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9098 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9099
9100 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9101     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9102 else
9103     :
9104 fi
9105
9106 fi
9107
9108
9109
9110
9111
9112
9113   lt_prog_compiler_wl=
9114 lt_prog_compiler_pic=
9115 lt_prog_compiler_static=
9116
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9118 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9119
9120   if test "$GCC" = yes; then
9121     lt_prog_compiler_wl='-Wl,'
9122     lt_prog_compiler_static='-static'
9123
9124     case $host_os in
9125       aix*)
9126       # All AIX code is PIC.
9127       if test "$host_cpu" = ia64; then
9128         # AIX 5 now supports IA64 processor
9129         lt_prog_compiler_static='-Bstatic'
9130       fi
9131       ;;
9132
9133     amigaos*)
9134       case $host_cpu in
9135       powerpc)
9136             # see comment about AmigaOS4 .so support
9137             lt_prog_compiler_pic='-fPIC'
9138         ;;
9139       m68k)
9140             # FIXME: we need at least 68020 code to build shared libraries, but
9141             # adding the `-m68020' flag to GCC prevents building anything better,
9142             # like `-m68040'.
9143             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9144         ;;
9145       esac
9146       ;;
9147
9148     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9149       # PIC is the default for these OSes.
9150       ;;
9151
9152     mingw* | cygwin* | pw32* | os2* | cegcc*)
9153       # This hack is so that the source file can tell whether it is being
9154       # built for inclusion in a dll (and should export symbols for example).
9155       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9156       # (--disable-auto-import) libraries
9157       lt_prog_compiler_pic='-DDLL_EXPORT'
9158       ;;
9159
9160     darwin* | rhapsody*)
9161       # PIC is the default on this platform
9162       # Common symbols not allowed in MH_DYLIB files
9163       lt_prog_compiler_pic='-fno-common'
9164       ;;
9165
9166     haiku*)
9167       # PIC is the default for Haiku.
9168       # The "-static" flag exists, but is broken.
9169       lt_prog_compiler_static=
9170       ;;
9171
9172     hpux*)
9173       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9174       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9175       # sets the default TLS model and affects inlining.
9176       case $host_cpu in
9177       hppa*64*)
9178         # +Z the default
9179         ;;
9180       *)
9181         lt_prog_compiler_pic='-fPIC'
9182         ;;
9183       esac
9184       ;;
9185
9186     interix[3-9]*)
9187       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9188       # Instead, we relocate shared libraries at runtime.
9189       ;;
9190
9191     msdosdjgpp*)
9192       # Just because we use GCC doesn't mean we suddenly get shared libraries
9193       # on systems that don't support them.
9194       lt_prog_compiler_can_build_shared=no
9195       enable_shared=no
9196       ;;
9197
9198     *nto* | *qnx*)
9199       # QNX uses GNU C++, but need to define -shared option too, otherwise
9200       # it will coredump.
9201       lt_prog_compiler_pic='-fPIC -shared'
9202       ;;
9203
9204     sysv4*MP*)
9205       if test -d /usr/nec; then
9206         lt_prog_compiler_pic=-Kconform_pic
9207       fi
9208       ;;
9209
9210     *)
9211       lt_prog_compiler_pic='-fPIC'
9212       ;;
9213     esac
9214
9215     case $cc_basename in
9216     nvcc*) # Cuda Compiler Driver 2.2
9217       lt_prog_compiler_wl='-Xlinker '
9218       lt_prog_compiler_pic='-Xcompiler -fPIC'
9219       ;;
9220     esac
9221   else
9222     # PORTME Check for flag to pass linker flags through the system compiler.
9223     case $host_os in
9224     aix*)
9225       lt_prog_compiler_wl='-Wl,'
9226       if test "$host_cpu" = ia64; then
9227         # AIX 5 now supports IA64 processor
9228         lt_prog_compiler_static='-Bstatic'
9229       else
9230         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9231       fi
9232       ;;
9233
9234     mingw* | cygwin* | pw32* | os2* | cegcc*)
9235       # This hack is so that the source file can tell whether it is being
9236       # built for inclusion in a dll (and should export symbols for example).
9237       lt_prog_compiler_pic='-DDLL_EXPORT'
9238       ;;
9239
9240     hpux9* | hpux10* | hpux11*)
9241       lt_prog_compiler_wl='-Wl,'
9242       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9243       # not for PA HP-UX.
9244       case $host_cpu in
9245       hppa*64*|ia64*)
9246         # +Z the default
9247         ;;
9248       *)
9249         lt_prog_compiler_pic='+Z'
9250         ;;
9251       esac
9252       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9253       lt_prog_compiler_static='${wl}-a ${wl}archive'
9254       ;;
9255
9256     irix5* | irix6* | nonstopux*)
9257       lt_prog_compiler_wl='-Wl,'
9258       # PIC (with -KPIC) is the default.
9259       lt_prog_compiler_static='-non_shared'
9260       ;;
9261
9262     linux* | k*bsd*-gnu | kopensolaris*-gnu)
9263       case $cc_basename in
9264       # old Intel for x86_64 which still supported -KPIC.
9265       ecc*)
9266         lt_prog_compiler_wl='-Wl,'
9267         lt_prog_compiler_pic='-KPIC'
9268         lt_prog_compiler_static='-static'
9269         ;;
9270       # icc used to be incompatible with GCC.
9271       # ICC 10 doesn't accept -KPIC any more.
9272       icc* | ifort*)
9273         lt_prog_compiler_wl='-Wl,'
9274         lt_prog_compiler_pic='-fPIC'
9275         lt_prog_compiler_static='-static'
9276         ;;
9277       # Lahey Fortran 8.1.
9278       lf95*)
9279         lt_prog_compiler_wl='-Wl,'
9280         lt_prog_compiler_pic='--shared'
9281         lt_prog_compiler_static='--static'
9282         ;;
9283       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9284         # Portland Group compilers (*not* the Pentium gcc compiler,
9285         # which looks to be a dead project)
9286         lt_prog_compiler_wl='-Wl,'
9287         lt_prog_compiler_pic='-fpic'
9288         lt_prog_compiler_static='-Bstatic'
9289         ;;
9290       ccc*)
9291         lt_prog_compiler_wl='-Wl,'
9292         # All Alpha code is PIC.
9293         lt_prog_compiler_static='-non_shared'
9294         ;;
9295       xl* | bgxl* | bgf* | mpixl*)
9296         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9297         lt_prog_compiler_wl='-Wl,'
9298         lt_prog_compiler_pic='-qpic'
9299         lt_prog_compiler_static='-qstaticlink'
9300         ;;
9301       *)
9302         case `$CC -V 2>&1 | sed 5q` in
9303         *Sun\ F* | *Sun*Fortran*)
9304           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9305           lt_prog_compiler_pic='-KPIC'
9306           lt_prog_compiler_static='-Bstatic'
9307           lt_prog_compiler_wl=''
9308           ;;
9309         *Sun\ C*)
9310           # Sun C 5.9
9311           lt_prog_compiler_pic='-KPIC'
9312           lt_prog_compiler_static='-Bstatic'
9313           lt_prog_compiler_wl='-Wl,'
9314           ;;
9315         esac
9316         ;;
9317       esac
9318       ;;
9319
9320     newsos6)
9321       lt_prog_compiler_pic='-KPIC'
9322       lt_prog_compiler_static='-Bstatic'
9323       ;;
9324
9325     *nto* | *qnx*)
9326       # QNX uses GNU C++, but need to define -shared option too, otherwise
9327       # it will coredump.
9328       lt_prog_compiler_pic='-fPIC -shared'
9329       ;;
9330
9331     osf3* | osf4* | osf5*)
9332       lt_prog_compiler_wl='-Wl,'
9333       # All OSF/1 code is PIC.
9334       lt_prog_compiler_static='-non_shared'
9335       ;;
9336
9337     rdos*)
9338       lt_prog_compiler_static='-non_shared'
9339       ;;
9340
9341     solaris*)
9342       lt_prog_compiler_pic='-KPIC'
9343       lt_prog_compiler_static='-Bstatic'
9344       case $cc_basename in
9345       f77* | f90* | f95*)
9346         lt_prog_compiler_wl='-Qoption ld ';;
9347       *)
9348         lt_prog_compiler_wl='-Wl,';;
9349       esac
9350       ;;
9351
9352     sunos4*)
9353       lt_prog_compiler_wl='-Qoption ld '
9354       lt_prog_compiler_pic='-PIC'
9355       lt_prog_compiler_static='-Bstatic'
9356       ;;
9357
9358     sysv4 | sysv4.2uw2* | sysv4.3*)
9359       lt_prog_compiler_wl='-Wl,'
9360       lt_prog_compiler_pic='-KPIC'
9361       lt_prog_compiler_static='-Bstatic'
9362       ;;
9363
9364     sysv4*MP*)
9365       if test -d /usr/nec ;then
9366         lt_prog_compiler_pic='-Kconform_pic'
9367         lt_prog_compiler_static='-Bstatic'
9368       fi
9369       ;;
9370
9371     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9372       lt_prog_compiler_wl='-Wl,'
9373       lt_prog_compiler_pic='-KPIC'
9374       lt_prog_compiler_static='-Bstatic'
9375       ;;
9376
9377     unicos*)
9378       lt_prog_compiler_wl='-Wl,'
9379       lt_prog_compiler_can_build_shared=no
9380       ;;
9381
9382     uts4*)
9383       lt_prog_compiler_pic='-pic'
9384       lt_prog_compiler_static='-Bstatic'
9385       ;;
9386
9387     *)
9388       lt_prog_compiler_can_build_shared=no
9389       ;;
9390     esac
9391   fi
9392
9393 case $host_os in
9394   # For platforms which do not support PIC, -DPIC is meaningless:
9395   *djgpp*)
9396     lt_prog_compiler_pic=
9397     ;;
9398   *)
9399     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9400     ;;
9401 esac
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9403 $as_echo "$lt_prog_compiler_pic" >&6; }
9404
9405
9406
9407
9408
9409
9410 #
9411 # Check to make sure the PIC flag actually works.
9412 #
9413 if test -n "$lt_prog_compiler_pic"; then
9414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9415 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9416 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9417   $as_echo_n "(cached) " >&6
9418 else
9419   lt_cv_prog_compiler_pic_works=no
9420    ac_outfile=conftest.$ac_objext
9421    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9422    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9423    # Insert the option either (1) after the last *FLAGS variable, or
9424    # (2) before a word containing "conftest.", or (3) at the end.
9425    # Note that $ac_compile itself does not contain backslashes and begins
9426    # with a dollar sign (not a hyphen), so the echo should work correctly.
9427    # The option is referenced via a variable to avoid confusing sed.
9428    lt_compile=`echo "$ac_compile" | $SED \
9429    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9430    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9431    -e 's:$: $lt_compiler_flag:'`
9432    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9433    (eval "$lt_compile" 2>conftest.err)
9434    ac_status=$?
9435    cat conftest.err >&5
9436    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9437    if (exit $ac_status) && test -s "$ac_outfile"; then
9438      # The compiler can only warn and ignore the option if not recognized
9439      # So say no if there are warnings other than the usual output.
9440      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9441      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9442      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9443        lt_cv_prog_compiler_pic_works=yes
9444      fi
9445    fi
9446    $RM conftest*
9447
9448 fi
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9450 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9451
9452 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9453     case $lt_prog_compiler_pic in
9454      "" | " "*) ;;
9455      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9456      esac
9457 else
9458     lt_prog_compiler_pic=
9459      lt_prog_compiler_can_build_shared=no
9460 fi
9461
9462 fi
9463
9464
9465
9466
9467
9468
9469 #
9470 # Check to make sure the static flag actually works.
9471 #
9472 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9474 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9475 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9476   $as_echo_n "(cached) " >&6
9477 else
9478   lt_cv_prog_compiler_static_works=no
9479    save_LDFLAGS="$LDFLAGS"
9480    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9481    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9482    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9483      # The linker can only warn and ignore the option if not recognized
9484      # So say no if there are warnings
9485      if test -s conftest.err; then
9486        # Append any errors to the config.log.
9487        cat conftest.err 1>&5
9488        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9489        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9490        if diff conftest.exp conftest.er2 >/dev/null; then
9491          lt_cv_prog_compiler_static_works=yes
9492        fi
9493      else
9494        lt_cv_prog_compiler_static_works=yes
9495      fi
9496    fi
9497    $RM -r conftest*
9498    LDFLAGS="$save_LDFLAGS"
9499
9500 fi
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9502 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9503
9504 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9505     :
9506 else
9507     lt_prog_compiler_static=
9508 fi
9509
9510
9511
9512
9513
9514
9515
9516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9517 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9518 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9519   $as_echo_n "(cached) " >&6
9520 else
9521   lt_cv_prog_compiler_c_o=no
9522    $RM -r conftest 2>/dev/null
9523    mkdir conftest
9524    cd conftest
9525    mkdir out
9526    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9527
9528    lt_compiler_flag="-o out/conftest2.$ac_objext"
9529    # Insert the option either (1) after the last *FLAGS variable, or
9530    # (2) before a word containing "conftest.", or (3) at the end.
9531    # Note that $ac_compile itself does not contain backslashes and begins
9532    # with a dollar sign (not a hyphen), so the echo should work correctly.
9533    lt_compile=`echo "$ac_compile" | $SED \
9534    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9535    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9536    -e 's:$: $lt_compiler_flag:'`
9537    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9538    (eval "$lt_compile" 2>out/conftest.err)
9539    ac_status=$?
9540    cat out/conftest.err >&5
9541    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9542    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9543    then
9544      # The compiler can only warn and ignore the option if not recognized
9545      # So say no if there are warnings
9546      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9547      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9548      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9549        lt_cv_prog_compiler_c_o=yes
9550      fi
9551    fi
9552    chmod u+w . 2>&5
9553    $RM conftest*
9554    # SGI C++ compiler will create directory out/ii_files/ for
9555    # template instantiation
9556    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9557    $RM out/* && rmdir out
9558    cd ..
9559    $RM -r conftest
9560    $RM conftest*
9561
9562 fi
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9564 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9565
9566
9567
9568
9569
9570
9571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9572 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9573 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9574   $as_echo_n "(cached) " >&6
9575 else
9576   lt_cv_prog_compiler_c_o=no
9577    $RM -r conftest 2>/dev/null
9578    mkdir conftest
9579    cd conftest
9580    mkdir out
9581    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9582
9583    lt_compiler_flag="-o out/conftest2.$ac_objext"
9584    # Insert the option either (1) after the last *FLAGS variable, or
9585    # (2) before a word containing "conftest.", or (3) at the end.
9586    # Note that $ac_compile itself does not contain backslashes and begins
9587    # with a dollar sign (not a hyphen), so the echo should work correctly.
9588    lt_compile=`echo "$ac_compile" | $SED \
9589    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9590    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9591    -e 's:$: $lt_compiler_flag:'`
9592    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9593    (eval "$lt_compile" 2>out/conftest.err)
9594    ac_status=$?
9595    cat out/conftest.err >&5
9596    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9598    then
9599      # The compiler can only warn and ignore the option if not recognized
9600      # So say no if there are warnings
9601      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9602      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9603      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9604        lt_cv_prog_compiler_c_o=yes
9605      fi
9606    fi
9607    chmod u+w . 2>&5
9608    $RM conftest*
9609    # SGI C++ compiler will create directory out/ii_files/ for
9610    # template instantiation
9611    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9612    $RM out/* && rmdir out
9613    cd ..
9614    $RM -r conftest
9615    $RM conftest*
9616
9617 fi
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9619 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9620
9621
9622
9623
9624 hard_links="nottested"
9625 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9626   # do not overwrite the value of need_locks provided by the user
9627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9628 $as_echo_n "checking if we can lock with hard links... " >&6; }
9629   hard_links=yes
9630   $RM conftest*
9631   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9632   touch conftest.a
9633   ln conftest.a conftest.b 2>&5 || hard_links=no
9634   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9636 $as_echo "$hard_links" >&6; }
9637   if test "$hard_links" = no; then
9638     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9639 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9640     need_locks=warn
9641   fi
9642 else
9643   need_locks=no
9644 fi
9645
9646
9647
9648
9649
9650
9651   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9652 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9653
9654   runpath_var=
9655   allow_undefined_flag=
9656   always_export_symbols=no
9657   archive_cmds=
9658   archive_expsym_cmds=
9659   compiler_needs_object=no
9660   enable_shared_with_static_runtimes=no
9661   export_dynamic_flag_spec=
9662   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9663   hardcode_automatic=no
9664   hardcode_direct=no
9665   hardcode_direct_absolute=no
9666   hardcode_libdir_flag_spec=
9667   hardcode_libdir_flag_spec_ld=
9668   hardcode_libdir_separator=
9669   hardcode_minus_L=no
9670   hardcode_shlibpath_var=unsupported
9671   inherit_rpath=no
9672   link_all_deplibs=unknown
9673   module_cmds=
9674   module_expsym_cmds=
9675   old_archive_from_new_cmds=
9676   old_archive_from_expsyms_cmds=
9677   thread_safe_flag_spec=
9678   whole_archive_flag_spec=
9679   # include_expsyms should be a list of space-separated symbols to be *always*
9680   # included in the symbol list
9681   include_expsyms=
9682   # exclude_expsyms can be an extended regexp of symbols to exclude
9683   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9684   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9685   # as well as any symbol that contains `d'.
9686   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9687   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9688   # platforms (ab)use it in PIC code, but their linkers get confused if
9689   # the symbol is explicitly referenced.  Since portable code cannot
9690   # rely on this symbol name, it's probably fine to never include it in
9691   # preloaded symbol tables.
9692   # Exclude shared library initialization/finalization symbols.
9693   extract_expsyms_cmds=
9694
9695   case $host_os in
9696   cygwin* | mingw* | pw32* | cegcc*)
9697     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9698     # When not using gcc, we currently assume that we are using
9699     # Microsoft Visual C++.
9700     if test "$GCC" != yes; then
9701       with_gnu_ld=no
9702     fi
9703     ;;
9704   interix*)
9705     # we just hope/assume this is gcc and not c89 (= MSVC++)
9706     with_gnu_ld=yes
9707     ;;
9708   openbsd*)
9709     with_gnu_ld=no
9710     ;;
9711   esac
9712
9713   ld_shlibs=yes
9714
9715   # On some targets, GNU ld is compatible enough with the native linker
9716   # that we're better off using the native interface for both.
9717   lt_use_gnu_ld_interface=no
9718   if test "$with_gnu_ld" = yes; then
9719     case $host_os in
9720       aix*)
9721         # The AIX port of GNU ld has always aspired to compatibility
9722         # with the native linker.  However, as the warning in the GNU ld
9723         # block says, versions before 2.19.5* couldn't really create working
9724         # shared libraries, regardless of the interface used.
9725         case `$LD -v 2>&1` in
9726           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9727           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9728           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9729           *)
9730             lt_use_gnu_ld_interface=yes
9731             ;;
9732         esac
9733         ;;
9734       *)
9735         lt_use_gnu_ld_interface=yes
9736         ;;
9737     esac
9738   fi
9739
9740   if test "$lt_use_gnu_ld_interface" = yes; then
9741     # If archive_cmds runs LD, not CC, wlarc should be empty
9742     wlarc='${wl}'
9743
9744     # Set some defaults for GNU ld with shared library support. These
9745     # are reset later if shared libraries are not supported. Putting them
9746     # here allows them to be overridden if necessary.
9747     runpath_var=LD_RUN_PATH
9748     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9749     export_dynamic_flag_spec='${wl}--export-dynamic'
9750     # ancient GNU ld didn't support --whole-archive et. al.
9751     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9752       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9753     else
9754       whole_archive_flag_spec=
9755     fi
9756     supports_anon_versioning=no
9757     case `$LD -v 2>&1` in
9758       *GNU\ gold*) supports_anon_versioning=yes ;;
9759       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9760       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9761       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9762       *\ 2.11.*) ;; # other 2.11 versions
9763       *) supports_anon_versioning=yes ;;
9764     esac
9765
9766     # See if GNU ld supports shared libraries.
9767     case $host_os in
9768     aix[3-9]*)
9769       # On AIX/PPC, the GNU linker is very broken
9770       if test "$host_cpu" != ia64; then
9771         ld_shlibs=no
9772         cat <<_LT_EOF 1>&2
9773
9774 *** Warning: the GNU linker, at least up to release 2.19, is reported
9775 *** to be unable to reliably create shared libraries on AIX.
9776 *** Therefore, libtool is disabling shared libraries support.  If you
9777 *** really care for shared libraries, you may want to install binutils
9778 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9779 *** You will then need to restart the configuration process.
9780
9781 _LT_EOF
9782       fi
9783       ;;
9784
9785     amigaos*)
9786       case $host_cpu in
9787       powerpc)
9788             # see comment about AmigaOS4 .so support
9789             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9790             archive_expsym_cmds=''
9791         ;;
9792       m68k)
9793             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)'
9794             hardcode_libdir_flag_spec='-L$libdir'
9795             hardcode_minus_L=yes
9796         ;;
9797       esac
9798       ;;
9799
9800     beos*)
9801       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9802         allow_undefined_flag=unsupported
9803         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9804         # support --undefined.  This deserves some investigation.  FIXME
9805         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9806       else
9807         ld_shlibs=no
9808       fi
9809       ;;
9810
9811     cygwin* | mingw* | pw32* | cegcc*)
9812       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9813       # as there is no search path for DLLs.
9814       hardcode_libdir_flag_spec='-L$libdir'
9815       export_dynamic_flag_spec='${wl}--export-all-symbols'
9816       allow_undefined_flag=unsupported
9817       always_export_symbols=no
9818       enable_shared_with_static_runtimes=yes
9819       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9820
9821       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9822         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9823         # If the export-symbols file already is a .def file (1st line
9824         # is EXPORTS), use it as is; otherwise, prepend...
9825         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9826           cp $export_symbols $output_objdir/$soname.def;
9827         else
9828           echo EXPORTS > $output_objdir/$soname.def;
9829           cat $export_symbols >> $output_objdir/$soname.def;
9830         fi~
9831         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9832       else
9833         ld_shlibs=no
9834       fi
9835       ;;
9836
9837     haiku*)
9838       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9839       link_all_deplibs=yes
9840       ;;
9841
9842     interix[3-9]*)
9843       hardcode_direct=no
9844       hardcode_shlibpath_var=no
9845       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9846       export_dynamic_flag_spec='${wl}-E'
9847       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9848       # Instead, shared libraries are loaded at an image base (0x10000000 by
9849       # default) and relocated if they conflict, which is a slow very memory
9850       # consuming and fragmenting process.  To avoid this, we pick a random,
9851       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9852       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9853       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9854       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'
9855       ;;
9856
9857     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9858       tmp_diet=no
9859       if test "$host_os" = linux-dietlibc; then
9860         case $cc_basename in
9861           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9862         esac
9863       fi
9864       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9865          && test "$tmp_diet" = no
9866       then
9867         tmp_addflag=
9868         tmp_sharedflag='-shared'
9869         case $cc_basename,$host_cpu in
9870         pgcc*)                          # Portland Group C compiler
9871           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'
9872           tmp_addflag=' $pic_flag'
9873           ;;
9874         pgf77* | pgf90* | pgf95* | pgfortran*)
9875                                         # Portland Group f77 and f90 compilers
9876           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'
9877           tmp_addflag=' $pic_flag -Mnomain' ;;
9878         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9879           tmp_addflag=' -i_dynamic' ;;
9880         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9881           tmp_addflag=' -i_dynamic -nofor_main' ;;
9882         ifc* | ifort*)                  # Intel Fortran compiler
9883           tmp_addflag=' -nofor_main' ;;
9884         lf95*)                          # Lahey Fortran 8.1
9885           whole_archive_flag_spec=
9886           tmp_sharedflag='--shared' ;;
9887         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9888           tmp_sharedflag='-qmkshrobj'
9889           tmp_addflag= ;;
9890         nvcc*)  # Cuda Compiler Driver 2.2
9891           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'
9892           compiler_needs_object=yes
9893           ;;
9894         esac
9895         case `$CC -V 2>&1 | sed 5q` in
9896         *Sun\ C*)                       # Sun C 5.9
9897           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'
9898           compiler_needs_object=yes
9899           tmp_sharedflag='-G' ;;
9900         *Sun\ F*)                       # Sun Fortran 8.3
9901           tmp_sharedflag='-G' ;;
9902         esac
9903         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9904
9905         if test "x$supports_anon_versioning" = xyes; then
9906           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9907             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9908             echo "local: *; };" >> $output_objdir/$libname.ver~
9909             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9910         fi
9911
9912         case $cc_basename in
9913         xlf* | bgf* | bgxlf* | mpixlf*)
9914           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9915           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9916           hardcode_libdir_flag_spec=
9917           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9918           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9919           if test "x$supports_anon_versioning" = xyes; then
9920             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9921               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9922               echo "local: *; };" >> $output_objdir/$libname.ver~
9923               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9924           fi
9925           ;;
9926         esac
9927       else
9928         ld_shlibs=no
9929       fi
9930       ;;
9931
9932     netbsd*)
9933       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9934         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9935         wlarc=
9936       else
9937         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9938         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9939       fi
9940       ;;
9941
9942     solaris*)
9943       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9944         ld_shlibs=no
9945         cat <<_LT_EOF 1>&2
9946
9947 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9948 *** create shared libraries on Solaris systems.  Therefore, libtool
9949 *** is disabling shared libraries support.  We urge you to upgrade GNU
9950 *** binutils to release 2.9.1 or newer.  Another option is to modify
9951 *** your PATH or compiler configuration so that the native linker is
9952 *** used, and then restart.
9953
9954 _LT_EOF
9955       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9956         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9957         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9958       else
9959         ld_shlibs=no
9960       fi
9961       ;;
9962
9963     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9964       case `$LD -v 2>&1` in
9965         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9966         ld_shlibs=no
9967         cat <<_LT_EOF 1>&2
9968
9969 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9970 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9971 *** is disabling shared libraries support.  We urge you to upgrade GNU
9972 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9973 *** your PATH or compiler configuration so that the native linker is
9974 *** used, and then restart.
9975
9976 _LT_EOF
9977         ;;
9978         *)
9979           # For security reasons, it is highly recommended that you always
9980           # use absolute paths for naming shared libraries, and exclude the
9981           # DT_RUNPATH tag from executables and libraries.  But doing so
9982           # requires that you compile everything twice, which is a pain.
9983           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9984             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9985             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9986             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9987           else
9988             ld_shlibs=no
9989           fi
9990         ;;
9991       esac
9992       ;;
9993
9994     sunos4*)
9995       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9996       wlarc=
9997       hardcode_direct=yes
9998       hardcode_shlibpath_var=no
9999       ;;
10000
10001     *)
10002       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10003         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10004         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10005       else
10006         ld_shlibs=no
10007       fi
10008       ;;
10009     esac
10010
10011     if test "$ld_shlibs" = no; then
10012       runpath_var=
10013       hardcode_libdir_flag_spec=
10014       export_dynamic_flag_spec=
10015       whole_archive_flag_spec=
10016     fi
10017   else
10018     # PORTME fill in a description of your system's linker (not GNU ld)
10019     case $host_os in
10020     aix3*)
10021       allow_undefined_flag=unsupported
10022       always_export_symbols=yes
10023       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'
10024       # Note: this linker hardcodes the directories in LIBPATH if there
10025       # are no directories specified by -L.
10026       hardcode_minus_L=yes
10027       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10028         # Neither direct hardcoding nor static linking is supported with a
10029         # broken collect2.
10030         hardcode_direct=unsupported
10031       fi
10032       ;;
10033
10034     aix[4-9]*)
10035       if test "$host_cpu" = ia64; then
10036         # On IA64, the linker does run time linking by default, so we don't
10037         # have to do anything special.
10038         aix_use_runtimelinking=no
10039         exp_sym_flag='-Bexport'
10040         no_entry_flag=""
10041       else
10042         # If we're using GNU nm, then we don't want the "-C" option.
10043         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10044         # Also, AIX nm treats weak defined symbols like other global
10045         # defined symbols, whereas GNU nm marks them as "W".
10046         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10047           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'
10048         else
10049           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'
10050         fi
10051         aix_use_runtimelinking=no
10052
10053         # Test if we are trying to use run time linking or normal
10054         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10055         # need to do runtime linking.
10056         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10057           for ld_flag in $LDFLAGS; do
10058           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10059             aix_use_runtimelinking=yes
10060             break
10061           fi
10062           done
10063           ;;
10064         esac
10065
10066         exp_sym_flag='-bexport'
10067         no_entry_flag='-bnoentry'
10068       fi
10069
10070       # When large executables or shared objects are built, AIX ld can
10071       # have problems creating the table of contents.  If linking a library
10072       # or program results in "error TOC overflow" add -mminimal-toc to
10073       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10074       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10075
10076       archive_cmds=''
10077       hardcode_direct=yes
10078       hardcode_direct_absolute=yes
10079       hardcode_libdir_separator=':'
10080       link_all_deplibs=yes
10081       file_list_spec='${wl}-f,'
10082
10083       if test "$GCC" = yes; then
10084         case $host_os in aix4.[012]|aix4.[012].*)
10085         # We only want to do this on AIX 4.2 and lower, the check
10086         # below for broken collect2 doesn't work under 4.3+
10087           collect2name=`${CC} -print-prog-name=collect2`
10088           if test -f "$collect2name" &&
10089            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10090           then
10091           # We have reworked collect2
10092           :
10093           else
10094           # We have old collect2
10095           hardcode_direct=unsupported
10096           # It fails to find uninstalled libraries when the uninstalled
10097           # path is not listed in the libpath.  Setting hardcode_minus_L
10098           # to unsupported forces relinking
10099           hardcode_minus_L=yes
10100           hardcode_libdir_flag_spec='-L$libdir'
10101           hardcode_libdir_separator=
10102           fi
10103           ;;
10104         esac
10105         shared_flag='-shared'
10106         if test "$aix_use_runtimelinking" = yes; then
10107           shared_flag="$shared_flag "'${wl}-G'
10108         fi
10109       else
10110         # not using gcc
10111         if test "$host_cpu" = ia64; then
10112         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10113         # chokes on -Wl,-G. The following line is correct:
10114           shared_flag='-G'
10115         else
10116           if test "$aix_use_runtimelinking" = yes; then
10117             shared_flag='${wl}-G'
10118           else
10119             shared_flag='${wl}-bM:SRE'
10120           fi
10121         fi
10122       fi
10123
10124       export_dynamic_flag_spec='${wl}-bexpall'
10125       # It seems that -bexpall does not export symbols beginning with
10126       # underscore (_), so it is better to generate a list of symbols to export.
10127       always_export_symbols=yes
10128       if test "$aix_use_runtimelinking" = yes; then
10129         # Warning - without using the other runtime loading flags (-brtl),
10130         # -berok will link without error, but may produce a broken library.
10131         allow_undefined_flag='-berok'
10132         # Determine the default libpath from the value encoded in an
10133         # empty executable.
10134         if test x$gcc_no_link = xyes; then
10135   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10136 fi
10137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10138 /* end confdefs.h.  */
10139
10140 int
10141 main ()
10142 {
10143
10144   ;
10145   return 0;
10146 }
10147 _ACEOF
10148 if ac_fn_c_try_link "$LINENO"; then :
10149
10150 lt_aix_libpath_sed='
10151     /Import File Strings/,/^$/ {
10152         /^0/ {
10153             s/^0  *\(.*\)$/\1/
10154             p
10155         }
10156     }'
10157 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10158 # Check for a 64-bit object if we didn't find anything.
10159 if test -z "$aix_libpath"; then
10160   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10161 fi
10162 fi
10163 rm -f core conftest.err conftest.$ac_objext \
10164     conftest$ac_exeext conftest.$ac_ext
10165 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10166
10167         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10168         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"
10169       else
10170         if test "$host_cpu" = ia64; then
10171           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10172           allow_undefined_flag="-z nodefs"
10173           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"
10174         else
10175          # Determine the default libpath from the value encoded in an
10176          # empty executable.
10177          if test x$gcc_no_link = xyes; then
10178   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10179 fi
10180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10181 /* end confdefs.h.  */
10182
10183 int
10184 main ()
10185 {
10186
10187   ;
10188   return 0;
10189 }
10190 _ACEOF
10191 if ac_fn_c_try_link "$LINENO"; then :
10192
10193 lt_aix_libpath_sed='
10194     /Import File Strings/,/^$/ {
10195         /^0/ {
10196             s/^0  *\(.*\)$/\1/
10197             p
10198         }
10199     }'
10200 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10201 # Check for a 64-bit object if we didn't find anything.
10202 if test -z "$aix_libpath"; then
10203   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10204 fi
10205 fi
10206 rm -f core conftest.err conftest.$ac_objext \
10207     conftest$ac_exeext conftest.$ac_ext
10208 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10209
10210          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10211           # Warning - without using the other run time loading flags,
10212           # -berok will link without error, but may produce a broken library.
10213           no_undefined_flag=' ${wl}-bernotok'
10214           allow_undefined_flag=' ${wl}-berok'
10215           if test "$with_gnu_ld" = yes; then
10216             # We only use this code for GNU lds that support --whole-archive.
10217             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10218           else
10219             # Exported symbols can be pulled into shared objects from archives
10220             whole_archive_flag_spec='$convenience'
10221           fi
10222           archive_cmds_need_lc=yes
10223           # This is similar to how AIX traditionally builds its shared libraries.
10224           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'
10225         fi
10226       fi
10227       ;;
10228
10229     amigaos*)
10230       case $host_cpu in
10231       powerpc)
10232             # see comment about AmigaOS4 .so support
10233             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10234             archive_expsym_cmds=''
10235         ;;
10236       m68k)
10237             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)'
10238             hardcode_libdir_flag_spec='-L$libdir'
10239             hardcode_minus_L=yes
10240         ;;
10241       esac
10242       ;;
10243
10244     bsdi[45]*)
10245       export_dynamic_flag_spec=-rdynamic
10246       ;;
10247
10248     cygwin* | mingw* | pw32* | cegcc*)
10249       # When not using gcc, we currently assume that we are using
10250       # Microsoft Visual C++.
10251       # hardcode_libdir_flag_spec is actually meaningless, as there is
10252       # no search path for DLLs.
10253       hardcode_libdir_flag_spec=' '
10254       allow_undefined_flag=unsupported
10255       # Tell ltmain to make .lib files, not .a files.
10256       libext=lib
10257       # Tell ltmain to make .dll files, not .so files.
10258       shrext_cmds=".dll"
10259       # FIXME: Setting linknames here is a bad hack.
10260       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10261       # The linker will automatically build a .lib file if we build a DLL.
10262       old_archive_from_new_cmds='true'
10263       # FIXME: Should let the user specify the lib program.
10264       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10265       fix_srcfile_path='`cygpath -w "$srcfile"`'
10266       enable_shared_with_static_runtimes=yes
10267       ;;
10268
10269     darwin* | rhapsody*)
10270
10271
10272   archive_cmds_need_lc=no
10273   hardcode_direct=no
10274   hardcode_automatic=yes
10275   hardcode_shlibpath_var=unsupported
10276   if test "$lt_cv_ld_force_load" = "yes"; then
10277     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\"`'
10278   else
10279     whole_archive_flag_spec=''
10280   fi
10281   link_all_deplibs=yes
10282   allow_undefined_flag="$_lt_dar_allow_undefined"
10283   case $cc_basename in
10284      ifort*) _lt_dar_can_shared=yes ;;
10285      *) _lt_dar_can_shared=$GCC ;;
10286   esac
10287   if test "$_lt_dar_can_shared" = "yes"; then
10288     output_verbose_link_cmd=func_echo_all
10289     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10290     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10291     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}"
10292     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}"
10293
10294   else
10295   ld_shlibs=no
10296   fi
10297
10298       ;;
10299
10300     dgux*)
10301       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10302       hardcode_libdir_flag_spec='-L$libdir'
10303       hardcode_shlibpath_var=no
10304       ;;
10305
10306     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10307     # support.  Future versions do this automatically, but an explicit c++rt0.o
10308     # does not break anything, and helps significantly (at the cost of a little
10309     # extra space).
10310     freebsd2.2*)
10311       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10312       hardcode_libdir_flag_spec='-R$libdir'
10313       hardcode_direct=yes
10314       hardcode_shlibpath_var=no
10315       ;;
10316
10317     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10318     freebsd2*)
10319       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10320       hardcode_direct=yes
10321       hardcode_minus_L=yes
10322       hardcode_shlibpath_var=no
10323       ;;
10324
10325     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10326     freebsd* | dragonfly*)
10327       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10328       hardcode_libdir_flag_spec='-R$libdir'
10329       hardcode_direct=yes
10330       hardcode_shlibpath_var=no
10331       ;;
10332
10333     hpux9*)
10334       if test "$GCC" = yes; then
10335         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'
10336       else
10337         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'
10338       fi
10339       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10340       hardcode_libdir_separator=:
10341       hardcode_direct=yes
10342
10343       # hardcode_minus_L: Not really in the search PATH,
10344       # but as the default location of the library.
10345       hardcode_minus_L=yes
10346       export_dynamic_flag_spec='${wl}-E'
10347       ;;
10348
10349     hpux10*)
10350       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10351         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10352       else
10353         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10354       fi
10355       if test "$with_gnu_ld" = no; then
10356         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10357         hardcode_libdir_flag_spec_ld='+b $libdir'
10358         hardcode_libdir_separator=:
10359         hardcode_direct=yes
10360         hardcode_direct_absolute=yes
10361         export_dynamic_flag_spec='${wl}-E'
10362         # hardcode_minus_L: Not really in the search PATH,
10363         # but as the default location of the library.
10364         hardcode_minus_L=yes
10365       fi
10366       ;;
10367
10368     hpux11*)
10369       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10370         case $host_cpu in
10371         hppa*64*)
10372           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10373           ;;
10374         ia64*)
10375           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10376           ;;
10377         *)
10378           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10379           ;;
10380         esac
10381       else
10382         case $host_cpu in
10383         hppa*64*)
10384           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10385           ;;
10386         ia64*)
10387           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10388           ;;
10389         *)
10390
10391           # Older versions of the 11.00 compiler do not understand -b yet
10392           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10393           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10394 $as_echo_n "checking if $CC understands -b... " >&6; }
10395 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10396   $as_echo_n "(cached) " >&6
10397 else
10398   lt_cv_prog_compiler__b=no
10399    save_LDFLAGS="$LDFLAGS"
10400    LDFLAGS="$LDFLAGS -b"
10401    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10402    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10403      # The linker can only warn and ignore the option if not recognized
10404      # So say no if there are warnings
10405      if test -s conftest.err; then
10406        # Append any errors to the config.log.
10407        cat conftest.err 1>&5
10408        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10409        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10410        if diff conftest.exp conftest.er2 >/dev/null; then
10411          lt_cv_prog_compiler__b=yes
10412        fi
10413      else
10414        lt_cv_prog_compiler__b=yes
10415      fi
10416    fi
10417    $RM -r conftest*
10418    LDFLAGS="$save_LDFLAGS"
10419
10420 fi
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10422 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10423
10424 if test x"$lt_cv_prog_compiler__b" = xyes; then
10425     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10426 else
10427     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10428 fi
10429
10430           ;;
10431         esac
10432       fi
10433       if test "$with_gnu_ld" = no; then
10434         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10435         hardcode_libdir_separator=:
10436
10437         case $host_cpu in
10438         hppa*64*|ia64*)
10439           hardcode_direct=no
10440           hardcode_shlibpath_var=no
10441           ;;
10442         *)
10443           hardcode_direct=yes
10444           hardcode_direct_absolute=yes
10445           export_dynamic_flag_spec='${wl}-E'
10446
10447           # hardcode_minus_L: Not really in the search PATH,
10448           # but as the default location of the library.
10449           hardcode_minus_L=yes
10450           ;;
10451         esac
10452       fi
10453       ;;
10454
10455     irix5* | irix6* | nonstopux*)
10456       if test "$GCC" = yes; then
10457         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'
10458         # Try to use the -exported_symbol ld option, if it does not
10459         # work, assume that -exports_file does not work either and
10460         # implicitly export all symbols.
10461         save_LDFLAGS="$LDFLAGS"
10462         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10463         if test x$gcc_no_link = xyes; then
10464   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10465 fi
10466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10467 /* end confdefs.h.  */
10468 int foo(void) {}
10469 _ACEOF
10470 if ac_fn_c_try_link "$LINENO"; then :
10471   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'
10472
10473 fi
10474 rm -f core conftest.err conftest.$ac_objext \
10475     conftest$ac_exeext conftest.$ac_ext
10476         LDFLAGS="$save_LDFLAGS"
10477       else
10478         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'
10479         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'
10480       fi
10481       archive_cmds_need_lc='no'
10482       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10483       hardcode_libdir_separator=:
10484       inherit_rpath=yes
10485       link_all_deplibs=yes
10486       ;;
10487
10488     netbsd*)
10489       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10490         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10491       else
10492         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10493       fi
10494       hardcode_libdir_flag_spec='-R$libdir'
10495       hardcode_direct=yes
10496       hardcode_shlibpath_var=no
10497       ;;
10498
10499     newsos6)
10500       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10501       hardcode_direct=yes
10502       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10503       hardcode_libdir_separator=:
10504       hardcode_shlibpath_var=no
10505       ;;
10506
10507     *nto* | *qnx*)
10508       ;;
10509
10510     openbsd*)
10511       if test -f /usr/libexec/ld.so; then
10512         hardcode_direct=yes
10513         hardcode_shlibpath_var=no
10514         hardcode_direct_absolute=yes
10515         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10516           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10517           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10518           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10519           export_dynamic_flag_spec='${wl}-E'
10520         else
10521           case $host_os in
10522            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10523              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10524              hardcode_libdir_flag_spec='-R$libdir'
10525              ;;
10526            *)
10527              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10528              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10529              ;;
10530           esac
10531         fi
10532       else
10533         ld_shlibs=no
10534       fi
10535       ;;
10536
10537     os2*)
10538       hardcode_libdir_flag_spec='-L$libdir'
10539       hardcode_minus_L=yes
10540       allow_undefined_flag=unsupported
10541       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'
10542       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10543       ;;
10544
10545     osf3*)
10546       if test "$GCC" = yes; then
10547         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10548         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'
10549       else
10550         allow_undefined_flag=' -expect_unresolved \*'
10551         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'
10552       fi
10553       archive_cmds_need_lc='no'
10554       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10555       hardcode_libdir_separator=:
10556       ;;
10557
10558     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10559       if test "$GCC" = yes; then
10560         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10561         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'
10562         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10563       else
10564         allow_undefined_flag=' -expect_unresolved \*'
10565         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'
10566         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~
10567         $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'
10568
10569         # Both c and cxx compiler support -rpath directly
10570         hardcode_libdir_flag_spec='-rpath $libdir'
10571       fi
10572       archive_cmds_need_lc='no'
10573       hardcode_libdir_separator=:
10574       ;;
10575
10576     solaris*)
10577       no_undefined_flag=' -z defs'
10578       if test "$GCC" = yes; then
10579         wlarc='${wl}'
10580         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10581         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10582           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10583       else
10584         case `$CC -V 2>&1` in
10585         *"Compilers 5.0"*)
10586           wlarc=''
10587           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10588           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10589           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10590           ;;
10591         *)
10592           wlarc='${wl}'
10593           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10594           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10595           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10596           ;;
10597         esac
10598       fi
10599       hardcode_libdir_flag_spec='-R$libdir'
10600       hardcode_shlibpath_var=no
10601       case $host_os in
10602       solaris2.[0-5] | solaris2.[0-5].*) ;;
10603       *)
10604         # The compiler driver will combine and reorder linker options,
10605         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10606         # but is careful enough not to reorder.
10607         # Supported since Solaris 2.6 (maybe 2.5.1?)
10608         if test "$GCC" = yes; then
10609           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10610         else
10611           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10612         fi
10613         ;;
10614       esac
10615       link_all_deplibs=yes
10616       ;;
10617
10618     sunos4*)
10619       if test "x$host_vendor" = xsequent; then
10620         # Use $CC to link under sequent, because it throws in some extra .o
10621         # files that make .init and .fini sections work.
10622         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10623       else
10624         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10625       fi
10626       hardcode_libdir_flag_spec='-L$libdir'
10627       hardcode_direct=yes
10628       hardcode_minus_L=yes
10629       hardcode_shlibpath_var=no
10630       ;;
10631
10632     sysv4)
10633       case $host_vendor in
10634         sni)
10635           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10636           hardcode_direct=yes # is this really true???
10637         ;;
10638         siemens)
10639           ## LD is ld it makes a PLAMLIB
10640           ## CC just makes a GrossModule.
10641           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10642           reload_cmds='$CC -r -o $output$reload_objs'
10643           hardcode_direct=no
10644         ;;
10645         motorola)
10646           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10647           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10648         ;;
10649       esac
10650       runpath_var='LD_RUN_PATH'
10651       hardcode_shlibpath_var=no
10652       ;;
10653
10654     sysv4.3*)
10655       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10656       hardcode_shlibpath_var=no
10657       export_dynamic_flag_spec='-Bexport'
10658       ;;
10659
10660     sysv4*MP*)
10661       if test -d /usr/nec; then
10662         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10663         hardcode_shlibpath_var=no
10664         runpath_var=LD_RUN_PATH
10665         hardcode_runpath_var=yes
10666         ld_shlibs=yes
10667       fi
10668       ;;
10669
10670     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10671       no_undefined_flag='${wl}-z,text'
10672       archive_cmds_need_lc=no
10673       hardcode_shlibpath_var=no
10674       runpath_var='LD_RUN_PATH'
10675
10676       if test "$GCC" = yes; then
10677         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10678         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10679       else
10680         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10681         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10682       fi
10683       ;;
10684
10685     sysv5* | sco3.2v5* | sco5v6*)
10686       # Note: We can NOT use -z defs as we might desire, because we do not
10687       # link with -lc, and that would cause any symbols used from libc to
10688       # always be unresolved, which means just about no library would
10689       # ever link correctly.  If we're not using GNU ld we use -z text
10690       # though, which does catch some bad symbols but isn't as heavy-handed
10691       # as -z defs.
10692       no_undefined_flag='${wl}-z,text'
10693       allow_undefined_flag='${wl}-z,nodefs'
10694       archive_cmds_need_lc=no
10695       hardcode_shlibpath_var=no
10696       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10697       hardcode_libdir_separator=':'
10698       link_all_deplibs=yes
10699       export_dynamic_flag_spec='${wl}-Bexport'
10700       runpath_var='LD_RUN_PATH'
10701
10702       if test "$GCC" = yes; then
10703         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10704         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10705       else
10706         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10707         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10708       fi
10709       ;;
10710
10711     uts4*)
10712       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10713       hardcode_libdir_flag_spec='-L$libdir'
10714       hardcode_shlibpath_var=no
10715       ;;
10716
10717     *)
10718       ld_shlibs=no
10719       ;;
10720     esac
10721
10722     if test x$host_vendor = xsni; then
10723       case $host in
10724       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10725         export_dynamic_flag_spec='${wl}-Blargedynsym'
10726         ;;
10727       esac
10728     fi
10729   fi
10730
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10732 $as_echo "$ld_shlibs" >&6; }
10733 test "$ld_shlibs" = no && can_build_shared=no
10734
10735 with_gnu_ld=$with_gnu_ld
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751 #
10752 # Do we need to explicitly link libc?
10753 #
10754 case "x$archive_cmds_need_lc" in
10755 x|xyes)
10756   # Assume -lc should be added
10757   archive_cmds_need_lc=yes
10758
10759   if test "$enable_shared" = yes && test "$GCC" = yes; then
10760     case $archive_cmds in
10761     *'~'*)
10762       # FIXME: we may have to deal with multi-command sequences.
10763       ;;
10764     '$CC '*)
10765       # Test whether the compiler implicitly links with -lc since on some
10766       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10767       # to ld, don't add -lc before -lgcc.
10768       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10769 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10770 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10771   $as_echo_n "(cached) " >&6
10772 else
10773   $RM conftest*
10774         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10775
10776         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10777   (eval $ac_compile) 2>&5
10778   ac_status=$?
10779   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10780   test $ac_status = 0; } 2>conftest.err; then
10781           soname=conftest
10782           lib=conftest
10783           libobjs=conftest.$ac_objext
10784           deplibs=
10785           wl=$lt_prog_compiler_wl
10786           pic_flag=$lt_prog_compiler_pic
10787           compiler_flags=-v
10788           linker_flags=-v
10789           verstring=
10790           output_objdir=.
10791           libname=conftest
10792           lt_save_allow_undefined_flag=$allow_undefined_flag
10793           allow_undefined_flag=
10794           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10795   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10796   ac_status=$?
10797   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10798   test $ac_status = 0; }
10799           then
10800             lt_cv_archive_cmds_need_lc=no
10801           else
10802             lt_cv_archive_cmds_need_lc=yes
10803           fi
10804           allow_undefined_flag=$lt_save_allow_undefined_flag
10805         else
10806           cat conftest.err 1>&5
10807         fi
10808         $RM conftest*
10809
10810 fi
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10812 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10813       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10814       ;;
10815     esac
10816   fi
10817   ;;
10818 esac
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10977 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10978
10979 if test "$GCC" = yes; then
10980   case $host_os in
10981     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10982     *) lt_awk_arg="/^libraries:/" ;;
10983   esac
10984   case $host_os in
10985     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10986     *) lt_sed_strip_eq="s,=/,/,g" ;;
10987   esac
10988   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10989   case $lt_search_path_spec in
10990   *\;*)
10991     # if the path contains ";" then we assume it to be the separator
10992     # otherwise default to the standard path separator (i.e. ":") - it is
10993     # assumed that no part of a normal pathname contains ";" but that should
10994     # okay in the real world where ";" in dirpaths is itself problematic.
10995     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10996     ;;
10997   *)
10998     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10999     ;;
11000   esac
11001   # Ok, now we have the path, separated by spaces, we can step through it
11002   # and add multilib dir if necessary.
11003   lt_tmp_lt_search_path_spec=
11004   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11005   for lt_sys_path in $lt_search_path_spec; do
11006     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11007       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11008     else
11009       test -d "$lt_sys_path" && \
11010         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11011     fi
11012   done
11013   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11014 BEGIN {RS=" "; FS="/|\n";} {
11015   lt_foo="";
11016   lt_count=0;
11017   for (lt_i = NF; lt_i > 0; lt_i--) {
11018     if ($lt_i != "" && $lt_i != ".") {
11019       if ($lt_i == "..") {
11020         lt_count++;
11021       } else {
11022         if (lt_count == 0) {
11023           lt_foo="/" $lt_i lt_foo;
11024         } else {
11025           lt_count--;
11026         }
11027       }
11028     }
11029   }
11030   if (lt_foo != "") { lt_freq[lt_foo]++; }
11031   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11032 }'`
11033   # AWK program above erroneously prepends '/' to C:/dos/paths
11034   # for these hosts.
11035   case $host_os in
11036     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11037       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11038   esac
11039   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11040 else
11041   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11042 fi
11043 library_names_spec=
11044 libname_spec='lib$name'
11045 soname_spec=
11046 shrext_cmds=".so"
11047 postinstall_cmds=
11048 postuninstall_cmds=
11049 finish_cmds=
11050 finish_eval=
11051 shlibpath_var=
11052 shlibpath_overrides_runpath=unknown
11053 version_type=none
11054 dynamic_linker="$host_os ld.so"
11055 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11056 need_lib_prefix=unknown
11057 hardcode_into_libs=no
11058
11059 # when you set need_version to no, make sure it does not cause -set_version
11060 # flags to be left without arguments
11061 need_version=unknown
11062
11063 case $host_os in
11064 aix3*)
11065   version_type=linux
11066   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11067   shlibpath_var=LIBPATH
11068
11069   # AIX 3 has no versioning support, so we append a major version to the name.
11070   soname_spec='${libname}${release}${shared_ext}$major'
11071   ;;
11072
11073 aix[4-9]*)
11074   version_type=linux
11075   need_lib_prefix=no
11076   need_version=no
11077   hardcode_into_libs=yes
11078   if test "$host_cpu" = ia64; then
11079     # AIX 5 supports IA64
11080     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11081     shlibpath_var=LD_LIBRARY_PATH
11082   else
11083     # With GCC up to 2.95.x, collect2 would create an import file
11084     # for dependence libraries.  The import file would start with
11085     # the line `#! .'.  This would cause the generated library to
11086     # depend on `.', always an invalid library.  This was fixed in
11087     # development snapshots of GCC prior to 3.0.
11088     case $host_os in
11089       aix4 | aix4.[01] | aix4.[01].*)
11090       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11091            echo ' yes '
11092            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11093         :
11094       else
11095         can_build_shared=no
11096       fi
11097       ;;
11098     esac
11099     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11100     # soname into executable. Probably we can add versioning support to
11101     # collect2, so additional links can be useful in future.
11102     if test "$aix_use_runtimelinking" = yes; then
11103       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11104       # instead of lib<name>.a to let people know that these are not
11105       # typical AIX shared libraries.
11106       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11107     else
11108       # We preserve .a as extension for shared libraries through AIX4.2
11109       # and later when we are not doing run time linking.
11110       library_names_spec='${libname}${release}.a $libname.a'
11111       soname_spec='${libname}${release}${shared_ext}$major'
11112     fi
11113     shlibpath_var=LIBPATH
11114   fi
11115   ;;
11116
11117 amigaos*)
11118   case $host_cpu in
11119   powerpc)
11120     # Since July 2007 AmigaOS4 officially supports .so libraries.
11121     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11122     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11123     ;;
11124   m68k)
11125     library_names_spec='$libname.ixlibrary $libname.a'
11126     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11127     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'
11128     ;;
11129   esac
11130   ;;
11131
11132 beos*)
11133   library_names_spec='${libname}${shared_ext}'
11134   dynamic_linker="$host_os ld.so"
11135   shlibpath_var=LIBRARY_PATH
11136   ;;
11137
11138 bsdi[45]*)
11139   version_type=linux
11140   need_version=no
11141   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11142   soname_spec='${libname}${release}${shared_ext}$major'
11143   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11144   shlibpath_var=LD_LIBRARY_PATH
11145   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11146   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11147   # the default ld.so.conf also contains /usr/contrib/lib and
11148   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11149   # libtool to hard-code these into programs
11150   ;;
11151
11152 cygwin* | mingw* | pw32* | cegcc*)
11153   version_type=windows
11154   shrext_cmds=".dll"
11155   need_version=no
11156   need_lib_prefix=no
11157
11158   case $GCC,$host_os in
11159   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11160     library_names_spec='$libname.dll.a'
11161     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11162     postinstall_cmds='base_file=`basename \${file}`~
11163       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11164       dldir=$destdir/`dirname \$dlpath`~
11165       test -d \$dldir || mkdir -p \$dldir~
11166       $install_prog $dir/$dlname \$dldir/$dlname~
11167       chmod a+x \$dldir/$dlname~
11168       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11169         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11170       fi'
11171     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11172       dlpath=$dir/\$dldll~
11173        $RM \$dlpath'
11174     shlibpath_overrides_runpath=yes
11175
11176     case $host_os in
11177     cygwin*)
11178       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11179       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11180
11181       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11182       ;;
11183     mingw* | cegcc*)
11184       # MinGW DLLs use traditional 'lib' prefix
11185       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11186       ;;
11187     pw32*)
11188       # pw32 DLLs use 'pw' prefix rather than 'lib'
11189       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11190       ;;
11191     esac
11192     ;;
11193
11194   *)
11195     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11196     ;;
11197   esac
11198   dynamic_linker='Win32 ld.exe'
11199   # FIXME: first we should search . and the directory the executable is in
11200   shlibpath_var=PATH
11201   ;;
11202
11203 darwin* | rhapsody*)
11204   dynamic_linker="$host_os dyld"
11205   version_type=darwin
11206   need_lib_prefix=no
11207   need_version=no
11208   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11209   soname_spec='${libname}${release}${major}$shared_ext'
11210   shlibpath_overrides_runpath=yes
11211   shlibpath_var=DYLD_LIBRARY_PATH
11212   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11213
11214   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11215   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11216   ;;
11217
11218 dgux*)
11219   version_type=linux
11220   need_lib_prefix=no
11221   need_version=no
11222   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11223   soname_spec='${libname}${release}${shared_ext}$major'
11224   shlibpath_var=LD_LIBRARY_PATH
11225   ;;
11226
11227 freebsd* | dragonfly*)
11228   # DragonFly does not have aout.  When/if they implement a new
11229   # versioning mechanism, adjust this.
11230   if test -x /usr/bin/objformat; then
11231     objformat=`/usr/bin/objformat`
11232   else
11233     case $host_os in
11234     freebsd[123]*) objformat=aout ;;
11235     *) objformat=elf ;;
11236     esac
11237   fi
11238   version_type=freebsd-$objformat
11239   case $version_type in
11240     freebsd-elf*)
11241       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11242       need_version=no
11243       need_lib_prefix=no
11244       ;;
11245     freebsd-*)
11246       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11247       need_version=yes
11248       ;;
11249   esac
11250   shlibpath_var=LD_LIBRARY_PATH
11251   case $host_os in
11252   freebsd2*)
11253     shlibpath_overrides_runpath=yes
11254     ;;
11255   freebsd3.[01]* | freebsdelf3.[01]*)
11256     shlibpath_overrides_runpath=yes
11257     hardcode_into_libs=yes
11258     ;;
11259   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11260   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11261     shlibpath_overrides_runpath=no
11262     hardcode_into_libs=yes
11263     ;;
11264   *) # from 4.6 on, and DragonFly
11265     shlibpath_overrides_runpath=yes
11266     hardcode_into_libs=yes
11267     ;;
11268   esac
11269   ;;
11270
11271 gnu*)
11272   version_type=linux
11273   need_lib_prefix=no
11274   need_version=no
11275   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11276   soname_spec='${libname}${release}${shared_ext}$major'
11277   shlibpath_var=LD_LIBRARY_PATH
11278   hardcode_into_libs=yes
11279   ;;
11280
11281 haiku*)
11282   version_type=linux
11283   need_lib_prefix=no
11284   need_version=no
11285   dynamic_linker="$host_os runtime_loader"
11286   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11287   soname_spec='${libname}${release}${shared_ext}$major'
11288   shlibpath_var=LIBRARY_PATH
11289   shlibpath_overrides_runpath=yes
11290   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11291   hardcode_into_libs=yes
11292   ;;
11293
11294 hpux9* | hpux10* | hpux11*)
11295   # Give a soname corresponding to the major version so that dld.sl refuses to
11296   # link against other versions.
11297   version_type=sunos
11298   need_lib_prefix=no
11299   need_version=no
11300   case $host_cpu in
11301   ia64*)
11302     shrext_cmds='.so'
11303     hardcode_into_libs=yes
11304     dynamic_linker="$host_os dld.so"
11305     shlibpath_var=LD_LIBRARY_PATH
11306     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11307     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11308     soname_spec='${libname}${release}${shared_ext}$major'
11309     if test "X$HPUX_IA64_MODE" = X32; then
11310       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11311     else
11312       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11313     fi
11314     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11315     ;;
11316   hppa*64*)
11317     shrext_cmds='.sl'
11318     hardcode_into_libs=yes
11319     dynamic_linker="$host_os dld.sl"
11320     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11321     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11322     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11323     soname_spec='${libname}${release}${shared_ext}$major'
11324     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11325     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11326     ;;
11327   *)
11328     shrext_cmds='.sl'
11329     dynamic_linker="$host_os dld.sl"
11330     shlibpath_var=SHLIB_PATH
11331     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11332     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11333     soname_spec='${libname}${release}${shared_ext}$major'
11334     ;;
11335   esac
11336   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11337   postinstall_cmds='chmod 555 $lib'
11338   # or fails outright, so override atomically:
11339   install_override_mode=555
11340   ;;
11341
11342 interix[3-9]*)
11343   version_type=linux
11344   need_lib_prefix=no
11345   need_version=no
11346   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11347   soname_spec='${libname}${release}${shared_ext}$major'
11348   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11349   shlibpath_var=LD_LIBRARY_PATH
11350   shlibpath_overrides_runpath=no
11351   hardcode_into_libs=yes
11352   ;;
11353
11354 irix5* | irix6* | nonstopux*)
11355   case $host_os in
11356     nonstopux*) version_type=nonstopux ;;
11357     *)
11358         if test "$lt_cv_prog_gnu_ld" = yes; then
11359                 version_type=linux
11360         else
11361                 version_type=irix
11362         fi ;;
11363   esac
11364   need_lib_prefix=no
11365   need_version=no
11366   soname_spec='${libname}${release}${shared_ext}$major'
11367   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11368   case $host_os in
11369   irix5* | nonstopux*)
11370     libsuff= shlibsuff=
11371     ;;
11372   *)
11373     case $LD in # libtool.m4 will add one of these switches to LD
11374     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11375       libsuff= shlibsuff= libmagic=32-bit;;
11376     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11377       libsuff=32 shlibsuff=N32 libmagic=N32;;
11378     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11379       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11380     *) libsuff= shlibsuff= libmagic=never-match;;
11381     esac
11382     ;;
11383   esac
11384   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11385   shlibpath_overrides_runpath=no
11386   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11387   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11388   hardcode_into_libs=yes
11389   ;;
11390
11391 # No shared lib support for Linux oldld, aout, or coff.
11392 linux*oldld* | linux*aout* | linux*coff*)
11393   dynamic_linker=no
11394   ;;
11395
11396 # This must be Linux ELF.
11397 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11398   version_type=linux
11399   need_lib_prefix=no
11400   need_version=no
11401   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11402   soname_spec='${libname}${release}${shared_ext}$major'
11403   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11404   shlibpath_var=LD_LIBRARY_PATH
11405   shlibpath_overrides_runpath=no
11406
11407   # Some binutils ld are patched to set DT_RUNPATH
11408   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11409   $as_echo_n "(cached) " >&6
11410 else
11411   lt_cv_shlibpath_overrides_runpath=no
11412     save_LDFLAGS=$LDFLAGS
11413     save_libdir=$libdir
11414     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11415          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11416     if test x$gcc_no_link = xyes; then
11417   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11418 fi
11419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11420 /* end confdefs.h.  */
11421
11422 int
11423 main ()
11424 {
11425
11426   ;
11427   return 0;
11428 }
11429 _ACEOF
11430 if ac_fn_c_try_link "$LINENO"; then :
11431   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11432   lt_cv_shlibpath_overrides_runpath=yes
11433 fi
11434 fi
11435 rm -f core conftest.err conftest.$ac_objext \
11436     conftest$ac_exeext conftest.$ac_ext
11437     LDFLAGS=$save_LDFLAGS
11438     libdir=$save_libdir
11439
11440 fi
11441
11442   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11443
11444   # This implies no fast_install, which is unacceptable.
11445   # Some rework will be needed to allow for fast_install
11446   # before this can be enabled.
11447   hardcode_into_libs=yes
11448
11449   # Append ld.so.conf contents to the search path
11450   if test -f /etc/ld.so.conf; then
11451     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' ' '`
11452     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11453   fi
11454
11455   # We used to test for /lib/ld.so.1 and disable shared libraries on
11456   # powerpc, because MkLinux only supported shared libraries with the
11457   # GNU dynamic linker.  Since this was broken with cross compilers,
11458   # most powerpc-linux boxes support dynamic linking these days and
11459   # people can always --disable-shared, the test was removed, and we
11460   # assume the GNU/Linux dynamic linker is in use.
11461   dynamic_linker='GNU/Linux ld.so'
11462   ;;
11463
11464 netbsd*)
11465   version_type=sunos
11466   need_lib_prefix=no
11467   need_version=no
11468   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11469     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11470     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11471     dynamic_linker='NetBSD (a.out) ld.so'
11472   else
11473     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11474     soname_spec='${libname}${release}${shared_ext}$major'
11475     dynamic_linker='NetBSD ld.elf_so'
11476   fi
11477   shlibpath_var=LD_LIBRARY_PATH
11478   shlibpath_overrides_runpath=yes
11479   hardcode_into_libs=yes
11480   ;;
11481
11482 newsos6)
11483   version_type=linux
11484   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11485   shlibpath_var=LD_LIBRARY_PATH
11486   shlibpath_overrides_runpath=yes
11487   ;;
11488
11489 *nto* | *qnx*)
11490   version_type=qnx
11491   need_lib_prefix=no
11492   need_version=no
11493   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11494   soname_spec='${libname}${release}${shared_ext}$major'
11495   shlibpath_var=LD_LIBRARY_PATH
11496   shlibpath_overrides_runpath=no
11497   hardcode_into_libs=yes
11498   dynamic_linker='ldqnx.so'
11499   ;;
11500
11501 openbsd*)
11502   version_type=sunos
11503   sys_lib_dlsearch_path_spec="/usr/lib"
11504   need_lib_prefix=no
11505   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11506   case $host_os in
11507     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11508     *)                          need_version=no  ;;
11509   esac
11510   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11511   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11512   shlibpath_var=LD_LIBRARY_PATH
11513   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11514     case $host_os in
11515       openbsd2.[89] | openbsd2.[89].*)
11516         shlibpath_overrides_runpath=no
11517         ;;
11518       *)
11519         shlibpath_overrides_runpath=yes
11520         ;;
11521       esac
11522   else
11523     shlibpath_overrides_runpath=yes
11524   fi
11525   ;;
11526
11527 os2*)
11528   libname_spec='$name'
11529   shrext_cmds=".dll"
11530   need_lib_prefix=no
11531   library_names_spec='$libname${shared_ext} $libname.a'
11532   dynamic_linker='OS/2 ld.exe'
11533   shlibpath_var=LIBPATH
11534   ;;
11535
11536 osf3* | osf4* | osf5*)
11537   version_type=osf
11538   need_lib_prefix=no
11539   need_version=no
11540   soname_spec='${libname}${release}${shared_ext}$major'
11541   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11542   shlibpath_var=LD_LIBRARY_PATH
11543   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11544   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11545   ;;
11546
11547 rdos*)
11548   dynamic_linker=no
11549   ;;
11550
11551 solaris*)
11552   version_type=linux
11553   need_lib_prefix=no
11554   need_version=no
11555   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11556   soname_spec='${libname}${release}${shared_ext}$major'
11557   shlibpath_var=LD_LIBRARY_PATH
11558   shlibpath_overrides_runpath=yes
11559   hardcode_into_libs=yes
11560   # ldd complains unless libraries are executable
11561   postinstall_cmds='chmod +x $lib'
11562   ;;
11563
11564 sunos4*)
11565   version_type=sunos
11566   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11567   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11568   shlibpath_var=LD_LIBRARY_PATH
11569   shlibpath_overrides_runpath=yes
11570   if test "$with_gnu_ld" = yes; then
11571     need_lib_prefix=no
11572   fi
11573   need_version=yes
11574   ;;
11575
11576 sysv4 | sysv4.3*)
11577   version_type=linux
11578   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11579   soname_spec='${libname}${release}${shared_ext}$major'
11580   shlibpath_var=LD_LIBRARY_PATH
11581   case $host_vendor in
11582     sni)
11583       shlibpath_overrides_runpath=no
11584       need_lib_prefix=no
11585       runpath_var=LD_RUN_PATH
11586       ;;
11587     siemens)
11588       need_lib_prefix=no
11589       ;;
11590     motorola)
11591       need_lib_prefix=no
11592       need_version=no
11593       shlibpath_overrides_runpath=no
11594       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11595       ;;
11596   esac
11597   ;;
11598
11599 sysv4*MP*)
11600   if test -d /usr/nec ;then
11601     version_type=linux
11602     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11603     soname_spec='$libname${shared_ext}.$major'
11604     shlibpath_var=LD_LIBRARY_PATH
11605   fi
11606   ;;
11607
11608 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11609   version_type=freebsd-elf
11610   need_lib_prefix=no
11611   need_version=no
11612   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11613   soname_spec='${libname}${release}${shared_ext}$major'
11614   shlibpath_var=LD_LIBRARY_PATH
11615   shlibpath_overrides_runpath=yes
11616   hardcode_into_libs=yes
11617   if test "$with_gnu_ld" = yes; then
11618     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11619   else
11620     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11621     case $host_os in
11622       sco3.2v5*)
11623         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11624         ;;
11625     esac
11626   fi
11627   sys_lib_dlsearch_path_spec='/usr/lib'
11628   ;;
11629
11630 tpf*)
11631   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11632   version_type=linux
11633   need_lib_prefix=no
11634   need_version=no
11635   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11636   shlibpath_var=LD_LIBRARY_PATH
11637   shlibpath_overrides_runpath=no
11638   hardcode_into_libs=yes
11639   ;;
11640
11641 uts4*)
11642   version_type=linux
11643   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11644   soname_spec='${libname}${release}${shared_ext}$major'
11645   shlibpath_var=LD_LIBRARY_PATH
11646   ;;
11647
11648 *)
11649   dynamic_linker=no
11650   ;;
11651 esac
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11653 $as_echo "$dynamic_linker" >&6; }
11654 test "$dynamic_linker" = no && can_build_shared=no
11655
11656 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11657 if test "$GCC" = yes; then
11658   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11659 fi
11660
11661 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11662   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11663 fi
11664 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11665   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11666 fi
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11760 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11761 hardcode_action=
11762 if test -n "$hardcode_libdir_flag_spec" ||
11763    test -n "$runpath_var" ||
11764    test "X$hardcode_automatic" = "Xyes" ; then
11765
11766   # We can hardcode non-existent directories.
11767   if test "$hardcode_direct" != no &&
11768      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11769      # have to relink, otherwise we might link with an installed library
11770      # when we should be linking with a yet-to-be-installed one
11771      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11772      test "$hardcode_minus_L" != no; then
11773     # Linking always hardcodes the temporary library directory.
11774     hardcode_action=relink
11775   else
11776     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11777     hardcode_action=immediate
11778   fi
11779 else
11780   # We cannot hardcode anything, or else we can only hardcode existing
11781   # directories.
11782   hardcode_action=unsupported
11783 fi
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11785 $as_echo "$hardcode_action" >&6; }
11786
11787 if test "$hardcode_action" = relink ||
11788    test "$inherit_rpath" = yes; then
11789   # Fast installation is not supported
11790   enable_fast_install=no
11791 elif test "$shlibpath_overrides_runpath" = yes ||
11792      test "$enable_shared" = no; then
11793   # Fast installation is not necessary
11794   enable_fast_install=needless
11795 fi
11796
11797
11798
11799
11800
11801
11802   if test "x$enable_dlopen" != xyes; then
11803   enable_dlopen=unknown
11804   enable_dlopen_self=unknown
11805   enable_dlopen_self_static=unknown
11806 else
11807   lt_cv_dlopen=no
11808   lt_cv_dlopen_libs=
11809
11810   case $host_os in
11811   beos*)
11812     lt_cv_dlopen="load_add_on"
11813     lt_cv_dlopen_libs=
11814     lt_cv_dlopen_self=yes
11815     ;;
11816
11817   mingw* | pw32* | cegcc*)
11818     lt_cv_dlopen="LoadLibrary"
11819     lt_cv_dlopen_libs=
11820     ;;
11821
11822   cygwin*)
11823     lt_cv_dlopen="dlopen"
11824     lt_cv_dlopen_libs=
11825     ;;
11826
11827   darwin*)
11828   # if libdl is installed we need to link against it
11829     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11830 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11831 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11832   $as_echo_n "(cached) " >&6
11833 else
11834   ac_check_lib_save_LIBS=$LIBS
11835 LIBS="-ldl  $LIBS"
11836 if test x$gcc_no_link = xyes; then
11837   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11838 fi
11839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11840 /* end confdefs.h.  */
11841
11842 /* Override any GCC internal prototype to avoid an error.
11843    Use char because int might match the return type of a GCC
11844    builtin and then its argument prototype would still apply.  */
11845 #ifdef __cplusplus
11846 extern "C"
11847 #endif
11848 char dlopen ();
11849 int
11850 main ()
11851 {
11852 return dlopen ();
11853   ;
11854   return 0;
11855 }
11856 _ACEOF
11857 if ac_fn_c_try_link "$LINENO"; then :
11858   ac_cv_lib_dl_dlopen=yes
11859 else
11860   ac_cv_lib_dl_dlopen=no
11861 fi
11862 rm -f core conftest.err conftest.$ac_objext \
11863     conftest$ac_exeext conftest.$ac_ext
11864 LIBS=$ac_check_lib_save_LIBS
11865 fi
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11867 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11868 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11869   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11870 else
11871
11872     lt_cv_dlopen="dyld"
11873     lt_cv_dlopen_libs=
11874     lt_cv_dlopen_self=yes
11875
11876 fi
11877
11878     ;;
11879
11880   *)
11881     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11882 if test "x$ac_cv_func_shl_load" = x""yes; then :
11883   lt_cv_dlopen="shl_load"
11884 else
11885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11886 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11887 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11888   $as_echo_n "(cached) " >&6
11889 else
11890   ac_check_lib_save_LIBS=$LIBS
11891 LIBS="-ldld  $LIBS"
11892 if test x$gcc_no_link = xyes; then
11893   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11894 fi
11895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11896 /* end confdefs.h.  */
11897
11898 /* Override any GCC internal prototype to avoid an error.
11899    Use char because int might match the return type of a GCC
11900    builtin and then its argument prototype would still apply.  */
11901 #ifdef __cplusplus
11902 extern "C"
11903 #endif
11904 char shl_load ();
11905 int
11906 main ()
11907 {
11908 return shl_load ();
11909   ;
11910   return 0;
11911 }
11912 _ACEOF
11913 if ac_fn_c_try_link "$LINENO"; then :
11914   ac_cv_lib_dld_shl_load=yes
11915 else
11916   ac_cv_lib_dld_shl_load=no
11917 fi
11918 rm -f core conftest.err conftest.$ac_objext \
11919     conftest$ac_exeext conftest.$ac_ext
11920 LIBS=$ac_check_lib_save_LIBS
11921 fi
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11923 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11924 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11925   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11926 else
11927   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11928 if test "x$ac_cv_func_dlopen" = x""yes; then :
11929   lt_cv_dlopen="dlopen"
11930 else
11931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11932 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11933 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11934   $as_echo_n "(cached) " >&6
11935 else
11936   ac_check_lib_save_LIBS=$LIBS
11937 LIBS="-ldl  $LIBS"
11938 if test x$gcc_no_link = xyes; then
11939   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11940 fi
11941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h.  */
11943
11944 /* Override any GCC internal prototype to avoid an error.
11945    Use char because int might match the return type of a GCC
11946    builtin and then its argument prototype would still apply.  */
11947 #ifdef __cplusplus
11948 extern "C"
11949 #endif
11950 char dlopen ();
11951 int
11952 main ()
11953 {
11954 return dlopen ();
11955   ;
11956   return 0;
11957 }
11958 _ACEOF
11959 if ac_fn_c_try_link "$LINENO"; then :
11960   ac_cv_lib_dl_dlopen=yes
11961 else
11962   ac_cv_lib_dl_dlopen=no
11963 fi
11964 rm -f core conftest.err conftest.$ac_objext \
11965     conftest$ac_exeext conftest.$ac_ext
11966 LIBS=$ac_check_lib_save_LIBS
11967 fi
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11969 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11970 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11971   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11972 else
11973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11974 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11975 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11976   $as_echo_n "(cached) " >&6
11977 else
11978   ac_check_lib_save_LIBS=$LIBS
11979 LIBS="-lsvld  $LIBS"
11980 if test x$gcc_no_link = xyes; then
11981   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11982 fi
11983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11984 /* end confdefs.h.  */
11985
11986 /* Override any GCC internal prototype to avoid an error.
11987    Use char because int might match the return type of a GCC
11988    builtin and then its argument prototype would still apply.  */
11989 #ifdef __cplusplus
11990 extern "C"
11991 #endif
11992 char dlopen ();
11993 int
11994 main ()
11995 {
11996 return dlopen ();
11997   ;
11998   return 0;
11999 }
12000 _ACEOF
12001 if ac_fn_c_try_link "$LINENO"; then :
12002   ac_cv_lib_svld_dlopen=yes
12003 else
12004   ac_cv_lib_svld_dlopen=no
12005 fi
12006 rm -f core conftest.err conftest.$ac_objext \
12007     conftest$ac_exeext conftest.$ac_ext
12008 LIBS=$ac_check_lib_save_LIBS
12009 fi
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12011 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12012 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12013   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12014 else
12015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12016 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12017 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12018   $as_echo_n "(cached) " >&6
12019 else
12020   ac_check_lib_save_LIBS=$LIBS
12021 LIBS="-ldld  $LIBS"
12022 if test x$gcc_no_link = xyes; then
12023   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12024 fi
12025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12026 /* end confdefs.h.  */
12027
12028 /* Override any GCC internal prototype to avoid an error.
12029    Use char because int might match the return type of a GCC
12030    builtin and then its argument prototype would still apply.  */
12031 #ifdef __cplusplus
12032 extern "C"
12033 #endif
12034 char dld_link ();
12035 int
12036 main ()
12037 {
12038 return dld_link ();
12039   ;
12040   return 0;
12041 }
12042 _ACEOF
12043 if ac_fn_c_try_link "$LINENO"; then :
12044   ac_cv_lib_dld_dld_link=yes
12045 else
12046   ac_cv_lib_dld_dld_link=no
12047 fi
12048 rm -f core conftest.err conftest.$ac_objext \
12049     conftest$ac_exeext conftest.$ac_ext
12050 LIBS=$ac_check_lib_save_LIBS
12051 fi
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12053 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12054 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12055   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12056 fi
12057
12058
12059 fi
12060
12061
12062 fi
12063
12064
12065 fi
12066
12067
12068 fi
12069
12070
12071 fi
12072
12073     ;;
12074   esac
12075
12076   if test "x$lt_cv_dlopen" != xno; then
12077     enable_dlopen=yes
12078   else
12079     enable_dlopen=no
12080   fi
12081
12082   case $lt_cv_dlopen in
12083   dlopen)
12084     save_CPPFLAGS="$CPPFLAGS"
12085     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12086
12087     save_LDFLAGS="$LDFLAGS"
12088     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12089
12090     save_LIBS="$LIBS"
12091     LIBS="$lt_cv_dlopen_libs $LIBS"
12092
12093     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12094 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12095 if test "${lt_cv_dlopen_self+set}" = set; then :
12096   $as_echo_n "(cached) " >&6
12097 else
12098           if test "$cross_compiling" = yes; then :
12099   lt_cv_dlopen_self=cross
12100 else
12101   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12102   lt_status=$lt_dlunknown
12103   cat > conftest.$ac_ext <<_LT_EOF
12104 #line 12104 "configure"
12105 #include "confdefs.h"
12106
12107 #if HAVE_DLFCN_H
12108 #include <dlfcn.h>
12109 #endif
12110
12111 #include <stdio.h>
12112
12113 #ifdef RTLD_GLOBAL
12114 #  define LT_DLGLOBAL           RTLD_GLOBAL
12115 #else
12116 #  ifdef DL_GLOBAL
12117 #    define LT_DLGLOBAL         DL_GLOBAL
12118 #  else
12119 #    define LT_DLGLOBAL         0
12120 #  endif
12121 #endif
12122
12123 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12124    find out it does not work in some platform. */
12125 #ifndef LT_DLLAZY_OR_NOW
12126 #  ifdef RTLD_LAZY
12127 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12128 #  else
12129 #    ifdef DL_LAZY
12130 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12131 #    else
12132 #      ifdef RTLD_NOW
12133 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12134 #      else
12135 #        ifdef DL_NOW
12136 #          define LT_DLLAZY_OR_NOW      DL_NOW
12137 #        else
12138 #          define LT_DLLAZY_OR_NOW      0
12139 #        endif
12140 #      endif
12141 #    endif
12142 #  endif
12143 #endif
12144
12145 /* When -fvisbility=hidden is used, assume the code has been annotated
12146    correspondingly for the symbols needed.  */
12147 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12148 void fnord () __attribute__((visibility("default")));
12149 #endif
12150
12151 void fnord () { int i=42; }
12152 int main ()
12153 {
12154   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12155   int status = $lt_dlunknown;
12156
12157   if (self)
12158     {
12159       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12160       else
12161         {
12162           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12163           else puts (dlerror ());
12164         }
12165       /* dlclose (self); */
12166     }
12167   else
12168     puts (dlerror ());
12169
12170   return status;
12171 }
12172 _LT_EOF
12173   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12174   (eval $ac_link) 2>&5
12175   ac_status=$?
12176   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12177   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12178     (./conftest; exit; ) >&5 2>/dev/null
12179     lt_status=$?
12180     case x$lt_status in
12181       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12182       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12183       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12184     esac
12185   else :
12186     # compilation failed
12187     lt_cv_dlopen_self=no
12188   fi
12189 fi
12190 rm -fr conftest*
12191
12192
12193 fi
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12195 $as_echo "$lt_cv_dlopen_self" >&6; }
12196
12197     if test "x$lt_cv_dlopen_self" = xyes; then
12198       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12199       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12200 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12201 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12202   $as_echo_n "(cached) " >&6
12203 else
12204           if test "$cross_compiling" = yes; then :
12205   lt_cv_dlopen_self_static=cross
12206 else
12207   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12208   lt_status=$lt_dlunknown
12209   cat > conftest.$ac_ext <<_LT_EOF
12210 #line 12210 "configure"
12211 #include "confdefs.h"
12212
12213 #if HAVE_DLFCN_H
12214 #include <dlfcn.h>
12215 #endif
12216
12217 #include <stdio.h>
12218
12219 #ifdef RTLD_GLOBAL
12220 #  define LT_DLGLOBAL           RTLD_GLOBAL
12221 #else
12222 #  ifdef DL_GLOBAL
12223 #    define LT_DLGLOBAL         DL_GLOBAL
12224 #  else
12225 #    define LT_DLGLOBAL         0
12226 #  endif
12227 #endif
12228
12229 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12230    find out it does not work in some platform. */
12231 #ifndef LT_DLLAZY_OR_NOW
12232 #  ifdef RTLD_LAZY
12233 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12234 #  else
12235 #    ifdef DL_LAZY
12236 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12237 #    else
12238 #      ifdef RTLD_NOW
12239 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12240 #      else
12241 #        ifdef DL_NOW
12242 #          define LT_DLLAZY_OR_NOW      DL_NOW
12243 #        else
12244 #          define LT_DLLAZY_OR_NOW      0
12245 #        endif
12246 #      endif
12247 #    endif
12248 #  endif
12249 #endif
12250
12251 /* When -fvisbility=hidden is used, assume the code has been annotated
12252    correspondingly for the symbols needed.  */
12253 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12254 void fnord () __attribute__((visibility("default")));
12255 #endif
12256
12257 void fnord () { int i=42; }
12258 int main ()
12259 {
12260   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12261   int status = $lt_dlunknown;
12262
12263   if (self)
12264     {
12265       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12266       else
12267         {
12268           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12269           else puts (dlerror ());
12270         }
12271       /* dlclose (self); */
12272     }
12273   else
12274     puts (dlerror ());
12275
12276   return status;
12277 }
12278 _LT_EOF
12279   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12280   (eval $ac_link) 2>&5
12281   ac_status=$?
12282   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12283   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12284     (./conftest; exit; ) >&5 2>/dev/null
12285     lt_status=$?
12286     case x$lt_status in
12287       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12288       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12289       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12290     esac
12291   else :
12292     # compilation failed
12293     lt_cv_dlopen_self_static=no
12294   fi
12295 fi
12296 rm -fr conftest*
12297
12298
12299 fi
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12301 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12302     fi
12303
12304     CPPFLAGS="$save_CPPFLAGS"
12305     LDFLAGS="$save_LDFLAGS"
12306     LIBS="$save_LIBS"
12307     ;;
12308   esac
12309
12310   case $lt_cv_dlopen_self in
12311   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12312   *) enable_dlopen_self=unknown ;;
12313   esac
12314
12315   case $lt_cv_dlopen_self_static in
12316   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12317   *) enable_dlopen_self_static=unknown ;;
12318   esac
12319 fi
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337 striplib=
12338 old_striplib=
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12340 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12341 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12342   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12343   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12345 $as_echo "yes" >&6; }
12346 else
12347 # FIXME - insert some real tests, host_os isn't really good enough
12348   case $host_os in
12349   darwin*)
12350     if test -n "$STRIP" ; then
12351       striplib="$STRIP -x"
12352       old_striplib="$STRIP -S"
12353       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12354 $as_echo "yes" >&6; }
12355     else
12356       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12357 $as_echo "no" >&6; }
12358     fi
12359     ;;
12360   *)
12361     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12362 $as_echo "no" >&6; }
12363     ;;
12364   esac
12365 fi
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378   # Report which library types will actually be built
12379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12380 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12382 $as_echo "$can_build_shared" >&6; }
12383
12384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12385 $as_echo_n "checking whether to build shared libraries... " >&6; }
12386   test "$can_build_shared" = "no" && enable_shared=no
12387
12388   # On AIX, shared libraries and static libraries use the same namespace, and
12389   # are all built from PIC.
12390   case $host_os in
12391   aix3*)
12392     test "$enable_shared" = yes && enable_static=no
12393     if test -n "$RANLIB"; then
12394       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12395       postinstall_cmds='$RANLIB $lib'
12396     fi
12397     ;;
12398
12399   aix[4-9]*)
12400     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12401       test "$enable_shared" = yes && enable_static=no
12402     fi
12403     ;;
12404   esac
12405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12406 $as_echo "$enable_shared" >&6; }
12407
12408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12409 $as_echo_n "checking whether to build static libraries... " >&6; }
12410   # Make sure either enable_shared or enable_static is yes.
12411   test "$enable_shared" = yes || enable_static=yes
12412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12413 $as_echo "$enable_static" >&6; }
12414
12415
12416
12417
12418 fi
12419 ac_ext=c
12420 ac_cpp='$CPP $CPPFLAGS'
12421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12424
12425 CC="$lt_save_CC"
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439         ac_config_commands="$ac_config_commands libtool"
12440
12441
12442
12443
12444 # Only expand once:
12445
12446
12447
12448
12449
12450 case $host in
12451   *-cygwin* | *-mingw*)
12452     # 'host' will be top-level target in the case of a target lib,
12453     # we must compare to with_cross_host to decide if this is a native
12454     # or cross-compiler and select where to install dlls appropriately.
12455     if test -n "$with_cross_host" &&
12456         test x"$with_cross_host" != x"no"; then
12457       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
12458     else
12459       lt_host_flags='-no-undefined -bindir "$(bindir)"';
12460     fi
12461     ;;
12462   *)
12463     lt_host_flags=
12464     ;;
12465 esac
12466
12467
12468
12469
12470
12471 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12472
12473 # We need gfortran to compile parts of the library
12474 #AC_PROG_FC(gfortran)
12475 FC="$GFORTRAN"
12476 ac_ext=${ac_fc_srcext-f}
12477 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12478 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12479 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12480 if test -n "$ac_tool_prefix"; then
12481   for ac_prog in gfortran
12482   do
12483     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12484 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12486 $as_echo_n "checking for $ac_word... " >&6; }
12487 if test "${ac_cv_prog_FC+set}" = set; then :
12488   $as_echo_n "(cached) " >&6
12489 else
12490   if test -n "$FC"; then
12491   ac_cv_prog_FC="$FC" # Let the user override the test.
12492 else
12493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12494 for as_dir in $PATH
12495 do
12496   IFS=$as_save_IFS
12497   test -z "$as_dir" && as_dir=.
12498     for ac_exec_ext in '' $ac_executable_extensions; do
12499   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12500     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
12501     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12502     break 2
12503   fi
12504 done
12505   done
12506 IFS=$as_save_IFS
12507
12508 fi
12509 fi
12510 FC=$ac_cv_prog_FC
12511 if test -n "$FC"; then
12512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12513 $as_echo "$FC" >&6; }
12514 else
12515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12516 $as_echo "no" >&6; }
12517 fi
12518
12519
12520     test -n "$FC" && break
12521   done
12522 fi
12523 if test -z "$FC"; then
12524   ac_ct_FC=$FC
12525   for ac_prog in gfortran
12526 do
12527   # Extract the first word of "$ac_prog", so it can be a program name with args.
12528 set dummy $ac_prog; ac_word=$2
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12530 $as_echo_n "checking for $ac_word... " >&6; }
12531 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12532   $as_echo_n "(cached) " >&6
12533 else
12534   if test -n "$ac_ct_FC"; then
12535   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
12536 else
12537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12538 for as_dir in $PATH
12539 do
12540   IFS=$as_save_IFS
12541   test -z "$as_dir" && as_dir=.
12542     for ac_exec_ext in '' $ac_executable_extensions; do
12543   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12544     ac_cv_prog_ac_ct_FC="$ac_prog"
12545     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12546     break 2
12547   fi
12548 done
12549   done
12550 IFS=$as_save_IFS
12551
12552 fi
12553 fi
12554 ac_ct_FC=$ac_cv_prog_ac_ct_FC
12555 if test -n "$ac_ct_FC"; then
12556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12557 $as_echo "$ac_ct_FC" >&6; }
12558 else
12559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12560 $as_echo "no" >&6; }
12561 fi
12562
12563
12564   test -n "$ac_ct_FC" && break
12565 done
12566
12567   if test "x$ac_ct_FC" = x; then
12568     FC=""
12569   else
12570     case $cross_compiling:$ac_tool_warned in
12571 yes:)
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12574 ac_tool_warned=yes ;;
12575 esac
12576     FC=$ac_ct_FC
12577   fi
12578 fi
12579
12580
12581 # Provide some information about the compiler.
12582 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12583 set X $ac_compile
12584 ac_compiler=$2
12585 for ac_option in --version -v -V -qversion; do
12586   { { ac_try="$ac_compiler $ac_option >&5"
12587 case "(($ac_try" in
12588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12589   *) ac_try_echo=$ac_try;;
12590 esac
12591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12592 $as_echo "$ac_try_echo"; } >&5
12593   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12594   ac_status=$?
12595   if test -s conftest.err; then
12596     sed '10a\
12597 ... rest of stderr output deleted ...
12598          10q' conftest.err >conftest.er1
12599     cat conftest.er1 >&5
12600     rm -f conftest.er1 conftest.err
12601   fi
12602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12603   test $ac_status = 0; }
12604 done
12605 rm -f a.out
12606
12607 # If we don't use `.F' as extension, the preprocessor is not run on the
12608 # input file.  (Note that this only needs to work for GNU compilers.)
12609 ac_save_ext=$ac_ext
12610 ac_ext=F
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12612 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12613 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12614   $as_echo_n "(cached) " >&6
12615 else
12616   cat > conftest.$ac_ext <<_ACEOF
12617       program main
12618 #ifndef __GNUC__
12619        choke me
12620 #endif
12621
12622       end
12623 _ACEOF
12624 if ac_fn_fc_try_compile "$LINENO"; then :
12625   ac_compiler_gnu=yes
12626 else
12627   ac_compiler_gnu=no
12628 fi
12629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12630 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12631
12632 fi
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12634 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12635 ac_ext=$ac_save_ext
12636 ac_test_FCFLAGS=${FCFLAGS+set}
12637 ac_save_FCFLAGS=$FCFLAGS
12638 FCFLAGS=
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12640 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12641 if test "${ac_cv_prog_fc_g+set}" = set; then :
12642   $as_echo_n "(cached) " >&6
12643 else
12644   FCFLAGS=-g
12645 cat > conftest.$ac_ext <<_ACEOF
12646       program main
12647
12648       end
12649 _ACEOF
12650 if ac_fn_fc_try_compile "$LINENO"; then :
12651   ac_cv_prog_fc_g=yes
12652 else
12653   ac_cv_prog_fc_g=no
12654 fi
12655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12656
12657 fi
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12659 $as_echo "$ac_cv_prog_fc_g" >&6; }
12660 if test "$ac_test_FCFLAGS" = set; then
12661   FCFLAGS=$ac_save_FCFLAGS
12662 elif test $ac_cv_prog_fc_g = yes; then
12663   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12664     FCFLAGS="-g -O2"
12665   else
12666     FCFLAGS="-g"
12667   fi
12668 else
12669   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12670     FCFLAGS="-O2"
12671   else
12672     FCFLAGS=
12673   fi
12674 fi
12675
12676 ac_ext=c
12677 ac_cpp='$CPP $CPPFLAGS'
12678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12681
12682       ac_ext=${ac_fc_srcext-f}
12683 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12684 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12685 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12686
12687
12688 if test -z "$FC" || test "X$FC" = "Xno"; then
12689   _lt_disable_FC=yes
12690 fi
12691
12692 archive_cmds_need_lc_FC=no
12693 allow_undefined_flag_FC=
12694 always_export_symbols_FC=no
12695 archive_expsym_cmds_FC=
12696 export_dynamic_flag_spec_FC=
12697 hardcode_direct_FC=no
12698 hardcode_direct_absolute_FC=no
12699 hardcode_libdir_flag_spec_FC=
12700 hardcode_libdir_flag_spec_ld_FC=
12701 hardcode_libdir_separator_FC=
12702 hardcode_minus_L_FC=no
12703 hardcode_automatic_FC=no
12704 inherit_rpath_FC=no
12705 module_cmds_FC=
12706 module_expsym_cmds_FC=
12707 link_all_deplibs_FC=unknown
12708 old_archive_cmds_FC=$old_archive_cmds
12709 reload_flag_FC=$reload_flag
12710 reload_cmds_FC=$reload_cmds
12711 no_undefined_flag_FC=
12712 whole_archive_flag_spec_FC=
12713 enable_shared_with_static_runtimes_FC=no
12714
12715 # Source file extension for fc test sources.
12716 ac_ext=${ac_fc_srcext-f}
12717
12718 # Object file extension for compiled fc test sources.
12719 objext=o
12720 objext_FC=$objext
12721
12722 # No sense in running all these tests if we already determined that
12723 # the FC compiler isn't working.  Some variables (like enable_shared)
12724 # are currently assumed to apply to all compilers on this platform,
12725 # and will be corrupted by setting them based on a non-working compiler.
12726 if test "$_lt_disable_FC" != yes; then
12727   # Code to be used in simple compile tests
12728   lt_simple_compile_test_code="\
12729       subroutine t
12730       return
12731       end
12732 "
12733
12734   # Code to be used in simple link tests
12735   lt_simple_link_test_code="\
12736       program t
12737       end
12738 "
12739
12740   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12741
12742
12743
12744
12745
12746
12747 # If no C compiler was specified, use CC.
12748 LTCC=${LTCC-"$CC"}
12749
12750 # If no C compiler flags were specified, use CFLAGS.
12751 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12752
12753 # Allow CC to be a program name with arguments.
12754 compiler=$CC
12755
12756
12757   # save warnings/boilerplate of simple test code
12758   ac_outfile=conftest.$ac_objext
12759 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12760 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12761 _lt_compiler_boilerplate=`cat conftest.err`
12762 $RM conftest*
12763
12764   ac_outfile=conftest.$ac_objext
12765 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12766 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12767 _lt_linker_boilerplate=`cat conftest.err`
12768 $RM -r conftest*
12769
12770
12771   # Allow CC to be a program name with arguments.
12772   lt_save_CC="$CC"
12773   lt_save_GCC=$GCC
12774   CC=${FC-"f95"}
12775   compiler=$CC
12776   GCC=$ac_cv_fc_compiler_gnu
12777
12778   compiler_FC=$CC
12779   for cc_temp in $compiler""; do
12780   case $cc_temp in
12781     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12782     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12783     \-*) ;;
12784     *) break;;
12785   esac
12786 done
12787 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12788
12789
12790   if test -n "$compiler"; then
12791     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12792 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12793     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12794 $as_echo "$can_build_shared" >&6; }
12795
12796     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12797 $as_echo_n "checking whether to build shared libraries... " >&6; }
12798     test "$can_build_shared" = "no" && enable_shared=no
12799
12800     # On AIX, shared libraries and static libraries use the same namespace, and
12801     # are all built from PIC.
12802     case $host_os in
12803       aix3*)
12804         test "$enable_shared" = yes && enable_static=no
12805         if test -n "$RANLIB"; then
12806           archive_cmds="$archive_cmds~\$RANLIB \$lib"
12807           postinstall_cmds='$RANLIB $lib'
12808         fi
12809         ;;
12810       aix[4-9]*)
12811         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12812           test "$enable_shared" = yes && enable_static=no
12813         fi
12814         ;;
12815     esac
12816     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12817 $as_echo "$enable_shared" >&6; }
12818
12819     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12820 $as_echo_n "checking whether to build static libraries... " >&6; }
12821     # Make sure either enable_shared or enable_static is yes.
12822     test "$enable_shared" = yes || enable_static=yes
12823     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12824 $as_echo "$enable_static" >&6; }
12825
12826     GCC_FC="$ac_cv_fc_compiler_gnu"
12827     LD_FC="$LD"
12828
12829     ## CAVEAT EMPTOR:
12830     ## There is no encapsulation within the following macros, do not change
12831     ## the running order or otherwise move them around unless you know exactly
12832     ## what you are doing...
12833     # Dependencies to place before and after the object being linked:
12834 predep_objects_FC=
12835 postdep_objects_FC=
12836 predeps_FC=
12837 postdeps_FC=
12838 compiler_lib_search_path_FC=
12839
12840 cat > conftest.$ac_ext <<_LT_EOF
12841       subroutine foo
12842       implicit none
12843       integer a
12844       a=0
12845       return
12846       end
12847 _LT_EOF
12848
12849 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12850   (eval $ac_compile) 2>&5
12851   ac_status=$?
12852   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12853   test $ac_status = 0; }; then
12854   # Parse the compiler output and extract the necessary
12855   # objects, libraries and library flags.
12856
12857   # Sentinel used to keep track of whether or not we are before
12858   # the conftest object file.
12859   pre_test_object_deps_done=no
12860
12861   for p in `eval "$output_verbose_link_cmd"`; do
12862     case $p in
12863
12864     -L* | -R* | -l*)
12865        # Some compilers place space between "-{L,R}" and the path.
12866        # Remove the space.
12867        if test $p = "-L" ||
12868           test $p = "-R"; then
12869          prev=$p
12870          continue
12871        else
12872          prev=
12873        fi
12874
12875        if test "$pre_test_object_deps_done" = no; then
12876          case $p in
12877          -L* | -R*)
12878            # Internal compiler library paths should come after those
12879            # provided the user.  The postdeps already come after the
12880            # user supplied libs so there is no need to process them.
12881            if test -z "$compiler_lib_search_path_FC"; then
12882              compiler_lib_search_path_FC="${prev}${p}"
12883            else
12884              compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
12885            fi
12886            ;;
12887          # The "-l" case would never come before the object being
12888          # linked, so don't bother handling this case.
12889          esac
12890        else
12891          if test -z "$postdeps_FC"; then
12892            postdeps_FC="${prev}${p}"
12893          else
12894            postdeps_FC="${postdeps_FC} ${prev}${p}"
12895          fi
12896        fi
12897        ;;
12898
12899     *.$objext)
12900        # This assumes that the test object file only shows up
12901        # once in the compiler output.
12902        if test "$p" = "conftest.$objext"; then
12903          pre_test_object_deps_done=yes
12904          continue
12905        fi
12906
12907        if test "$pre_test_object_deps_done" = no; then
12908          if test -z "$predep_objects_FC"; then
12909            predep_objects_FC="$p"
12910          else
12911            predep_objects_FC="$predep_objects_FC $p"
12912          fi
12913        else
12914          if test -z "$postdep_objects_FC"; then
12915            postdep_objects_FC="$p"
12916          else
12917            postdep_objects_FC="$postdep_objects_FC $p"
12918          fi
12919        fi
12920        ;;
12921
12922     *) ;; # Ignore the rest.
12923
12924     esac
12925   done
12926
12927   # Clean up.
12928   rm -f a.out a.exe
12929 else
12930   echo "libtool.m4: error: problem compiling FC test program"
12931 fi
12932
12933 $RM -f confest.$objext
12934
12935 # PORTME: override above test on systems where it is broken
12936
12937
12938 case " $postdeps_FC " in
12939 *" -lc "*) archive_cmds_need_lc_FC=no ;;
12940 esac
12941  compiler_lib_search_dirs_FC=
12942 if test -n "${compiler_lib_search_path_FC}"; then
12943  compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12944 fi
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976     lt_prog_compiler_wl_FC=
12977 lt_prog_compiler_pic_FC=
12978 lt_prog_compiler_static_FC=
12979
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12981 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12982
12983   if test "$GCC" = yes; then
12984     lt_prog_compiler_wl_FC='-Wl,'
12985     lt_prog_compiler_static_FC='-static'
12986
12987     case $host_os in
12988       aix*)
12989       # All AIX code is PIC.
12990       if test "$host_cpu" = ia64; then
12991         # AIX 5 now supports IA64 processor
12992         lt_prog_compiler_static_FC='-Bstatic'
12993       fi
12994       ;;
12995
12996     amigaos*)
12997       case $host_cpu in
12998       powerpc)
12999             # see comment about AmigaOS4 .so support
13000             lt_prog_compiler_pic_FC='-fPIC'
13001         ;;
13002       m68k)
13003             # FIXME: we need at least 68020 code to build shared libraries, but
13004             # adding the `-m68020' flag to GCC prevents building anything better,
13005             # like `-m68040'.
13006             lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13007         ;;
13008       esac
13009       ;;
13010
13011     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13012       # PIC is the default for these OSes.
13013       ;;
13014
13015     mingw* | cygwin* | pw32* | os2* | cegcc*)
13016       # This hack is so that the source file can tell whether it is being
13017       # built for inclusion in a dll (and should export symbols for example).
13018       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13019       # (--disable-auto-import) libraries
13020       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13021       ;;
13022
13023     darwin* | rhapsody*)
13024       # PIC is the default on this platform
13025       # Common symbols not allowed in MH_DYLIB files
13026       lt_prog_compiler_pic_FC='-fno-common'
13027       ;;
13028
13029     haiku*)
13030       # PIC is the default for Haiku.
13031       # The "-static" flag exists, but is broken.
13032       lt_prog_compiler_static_FC=
13033       ;;
13034
13035     hpux*)
13036       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13037       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13038       # sets the default TLS model and affects inlining.
13039       case $host_cpu in
13040       hppa*64*)
13041         # +Z the default
13042         ;;
13043       *)
13044         lt_prog_compiler_pic_FC='-fPIC'
13045         ;;
13046       esac
13047       ;;
13048
13049     interix[3-9]*)
13050       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13051       # Instead, we relocate shared libraries at runtime.
13052       ;;
13053
13054     msdosdjgpp*)
13055       # Just because we use GCC doesn't mean we suddenly get shared libraries
13056       # on systems that don't support them.
13057       lt_prog_compiler_can_build_shared_FC=no
13058       enable_shared=no
13059       ;;
13060
13061     *nto* | *qnx*)
13062       # QNX uses GNU C++, but need to define -shared option too, otherwise
13063       # it will coredump.
13064       lt_prog_compiler_pic_FC='-fPIC -shared'
13065       ;;
13066
13067     sysv4*MP*)
13068       if test -d /usr/nec; then
13069         lt_prog_compiler_pic_FC=-Kconform_pic
13070       fi
13071       ;;
13072
13073     *)
13074       lt_prog_compiler_pic_FC='-fPIC'
13075       ;;
13076     esac
13077
13078     case $cc_basename in
13079     nvcc*) # Cuda Compiler Driver 2.2
13080       lt_prog_compiler_wl_FC='-Xlinker '
13081       lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13082       ;;
13083     esac
13084   else
13085     # PORTME Check for flag to pass linker flags through the system compiler.
13086     case $host_os in
13087     aix*)
13088       lt_prog_compiler_wl_FC='-Wl,'
13089       if test "$host_cpu" = ia64; then
13090         # AIX 5 now supports IA64 processor
13091         lt_prog_compiler_static_FC='-Bstatic'
13092       else
13093         lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13094       fi
13095       ;;
13096
13097     mingw* | cygwin* | pw32* | os2* | cegcc*)
13098       # This hack is so that the source file can tell whether it is being
13099       # built for inclusion in a dll (and should export symbols for example).
13100       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13101       ;;
13102
13103     hpux9* | hpux10* | hpux11*)
13104       lt_prog_compiler_wl_FC='-Wl,'
13105       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13106       # not for PA HP-UX.
13107       case $host_cpu in
13108       hppa*64*|ia64*)
13109         # +Z the default
13110         ;;
13111       *)
13112         lt_prog_compiler_pic_FC='+Z'
13113         ;;
13114       esac
13115       # Is there a better lt_prog_compiler_static that works with the bundled CC?
13116       lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13117       ;;
13118
13119     irix5* | irix6* | nonstopux*)
13120       lt_prog_compiler_wl_FC='-Wl,'
13121       # PIC (with -KPIC) is the default.
13122       lt_prog_compiler_static_FC='-non_shared'
13123       ;;
13124
13125     linux* | k*bsd*-gnu | kopensolaris*-gnu)
13126       case $cc_basename in
13127       # old Intel for x86_64 which still supported -KPIC.
13128       ecc*)
13129         lt_prog_compiler_wl_FC='-Wl,'
13130         lt_prog_compiler_pic_FC='-KPIC'
13131         lt_prog_compiler_static_FC='-static'
13132         ;;
13133       # icc used to be incompatible with GCC.
13134       # ICC 10 doesn't accept -KPIC any more.
13135       icc* | ifort*)
13136         lt_prog_compiler_wl_FC='-Wl,'
13137         lt_prog_compiler_pic_FC='-fPIC'
13138         lt_prog_compiler_static_FC='-static'
13139         ;;
13140       # Lahey Fortran 8.1.
13141       lf95*)
13142         lt_prog_compiler_wl_FC='-Wl,'
13143         lt_prog_compiler_pic_FC='--shared'
13144         lt_prog_compiler_static_FC='--static'
13145         ;;
13146       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13147         # Portland Group compilers (*not* the Pentium gcc compiler,
13148         # which looks to be a dead project)
13149         lt_prog_compiler_wl_FC='-Wl,'
13150         lt_prog_compiler_pic_FC='-fpic'
13151         lt_prog_compiler_static_FC='-Bstatic'
13152         ;;
13153       ccc*)
13154         lt_prog_compiler_wl_FC='-Wl,'
13155         # All Alpha code is PIC.
13156         lt_prog_compiler_static_FC='-non_shared'
13157         ;;
13158       xl* | bgxl* | bgf* | mpixl*)
13159         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13160         lt_prog_compiler_wl_FC='-Wl,'
13161         lt_prog_compiler_pic_FC='-qpic'
13162         lt_prog_compiler_static_FC='-qstaticlink'
13163         ;;
13164       *)
13165         case `$CC -V 2>&1 | sed 5q` in
13166         *Sun\ F* | *Sun*Fortran*)
13167           # Sun Fortran 8.3 passes all unrecognized flags to the linker
13168           lt_prog_compiler_pic_FC='-KPIC'
13169           lt_prog_compiler_static_FC='-Bstatic'
13170           lt_prog_compiler_wl_FC=''
13171           ;;
13172         *Sun\ C*)
13173           # Sun C 5.9
13174           lt_prog_compiler_pic_FC='-KPIC'
13175           lt_prog_compiler_static_FC='-Bstatic'
13176           lt_prog_compiler_wl_FC='-Wl,'
13177           ;;
13178         esac
13179         ;;
13180       esac
13181       ;;
13182
13183     newsos6)
13184       lt_prog_compiler_pic_FC='-KPIC'
13185       lt_prog_compiler_static_FC='-Bstatic'
13186       ;;
13187
13188     *nto* | *qnx*)
13189       # QNX uses GNU C++, but need to define -shared option too, otherwise
13190       # it will coredump.
13191       lt_prog_compiler_pic_FC='-fPIC -shared'
13192       ;;
13193
13194     osf3* | osf4* | osf5*)
13195       lt_prog_compiler_wl_FC='-Wl,'
13196       # All OSF/1 code is PIC.
13197       lt_prog_compiler_static_FC='-non_shared'
13198       ;;
13199
13200     rdos*)
13201       lt_prog_compiler_static_FC='-non_shared'
13202       ;;
13203
13204     solaris*)
13205       lt_prog_compiler_pic_FC='-KPIC'
13206       lt_prog_compiler_static_FC='-Bstatic'
13207       case $cc_basename in
13208       f77* | f90* | f95*)
13209         lt_prog_compiler_wl_FC='-Qoption ld ';;
13210       *)
13211         lt_prog_compiler_wl_FC='-Wl,';;
13212       esac
13213       ;;
13214
13215     sunos4*)
13216       lt_prog_compiler_wl_FC='-Qoption ld '
13217       lt_prog_compiler_pic_FC='-PIC'
13218       lt_prog_compiler_static_FC='-Bstatic'
13219       ;;
13220
13221     sysv4 | sysv4.2uw2* | sysv4.3*)
13222       lt_prog_compiler_wl_FC='-Wl,'
13223       lt_prog_compiler_pic_FC='-KPIC'
13224       lt_prog_compiler_static_FC='-Bstatic'
13225       ;;
13226
13227     sysv4*MP*)
13228       if test -d /usr/nec ;then
13229         lt_prog_compiler_pic_FC='-Kconform_pic'
13230         lt_prog_compiler_static_FC='-Bstatic'
13231       fi
13232       ;;
13233
13234     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13235       lt_prog_compiler_wl_FC='-Wl,'
13236       lt_prog_compiler_pic_FC='-KPIC'
13237       lt_prog_compiler_static_FC='-Bstatic'
13238       ;;
13239
13240     unicos*)
13241       lt_prog_compiler_wl_FC='-Wl,'
13242       lt_prog_compiler_can_build_shared_FC=no
13243       ;;
13244
13245     uts4*)
13246       lt_prog_compiler_pic_FC='-pic'
13247       lt_prog_compiler_static_FC='-Bstatic'
13248       ;;
13249
13250     *)
13251       lt_prog_compiler_can_build_shared_FC=no
13252       ;;
13253     esac
13254   fi
13255
13256 case $host_os in
13257   # For platforms which do not support PIC, -DPIC is meaningless:
13258   *djgpp*)
13259     lt_prog_compiler_pic_FC=
13260     ;;
13261   *)
13262     lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
13263     ;;
13264 esac
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13266 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13267
13268
13269
13270 #
13271 # Check to make sure the PIC flag actually works.
13272 #
13273 if test -n "$lt_prog_compiler_pic_FC"; then
13274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13275 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13276 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13277   $as_echo_n "(cached) " >&6
13278 else
13279   lt_cv_prog_compiler_pic_works_FC=no
13280    ac_outfile=conftest.$ac_objext
13281    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13282    lt_compiler_flag="$lt_prog_compiler_pic_FC"
13283    # Insert the option either (1) after the last *FLAGS variable, or
13284    # (2) before a word containing "conftest.", or (3) at the end.
13285    # Note that $ac_compile itself does not contain backslashes and begins
13286    # with a dollar sign (not a hyphen), so the echo should work correctly.
13287    # The option is referenced via a variable to avoid confusing sed.
13288    lt_compile=`echo "$ac_compile" | $SED \
13289    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13290    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13291    -e 's:$: $lt_compiler_flag:'`
13292    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13293    (eval "$lt_compile" 2>conftest.err)
13294    ac_status=$?
13295    cat conftest.err >&5
13296    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297    if (exit $ac_status) && test -s "$ac_outfile"; then
13298      # The compiler can only warn and ignore the option if not recognized
13299      # So say no if there are warnings other than the usual output.
13300      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13301      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13302      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13303        lt_cv_prog_compiler_pic_works_FC=yes
13304      fi
13305    fi
13306    $RM conftest*
13307
13308 fi
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13310 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13311
13312 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
13313     case $lt_prog_compiler_pic_FC in
13314      "" | " "*) ;;
13315      *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
13316      esac
13317 else
13318     lt_prog_compiler_pic_FC=
13319      lt_prog_compiler_can_build_shared_FC=no
13320 fi
13321
13322 fi
13323
13324
13325
13326 #
13327 # Check to make sure the static flag actually works.
13328 #
13329 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13331 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13332 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13333   $as_echo_n "(cached) " >&6
13334 else
13335   lt_cv_prog_compiler_static_works_FC=no
13336    save_LDFLAGS="$LDFLAGS"
13337    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13338    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13339    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13340      # The linker can only warn and ignore the option if not recognized
13341      # So say no if there are warnings
13342      if test -s conftest.err; then
13343        # Append any errors to the config.log.
13344        cat conftest.err 1>&5
13345        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13346        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13347        if diff conftest.exp conftest.er2 >/dev/null; then
13348          lt_cv_prog_compiler_static_works_FC=yes
13349        fi
13350      else
13351        lt_cv_prog_compiler_static_works_FC=yes
13352      fi
13353    fi
13354    $RM -r conftest*
13355    LDFLAGS="$save_LDFLAGS"
13356
13357 fi
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13359 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13360
13361 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
13362     :
13363 else
13364     lt_prog_compiler_static_FC=
13365 fi
13366
13367
13368
13369
13370     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13371 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13372 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13373   $as_echo_n "(cached) " >&6
13374 else
13375   lt_cv_prog_compiler_c_o_FC=no
13376    $RM -r conftest 2>/dev/null
13377    mkdir conftest
13378    cd conftest
13379    mkdir out
13380    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13381
13382    lt_compiler_flag="-o out/conftest2.$ac_objext"
13383    # Insert the option either (1) after the last *FLAGS variable, or
13384    # (2) before a word containing "conftest.", or (3) at the end.
13385    # Note that $ac_compile itself does not contain backslashes and begins
13386    # with a dollar sign (not a hyphen), so the echo should work correctly.
13387    lt_compile=`echo "$ac_compile" | $SED \
13388    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13389    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13390    -e 's:$: $lt_compiler_flag:'`
13391    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13392    (eval "$lt_compile" 2>out/conftest.err)
13393    ac_status=$?
13394    cat out/conftest.err >&5
13395    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13397    then
13398      # The compiler can only warn and ignore the option if not recognized
13399      # So say no if there are warnings
13400      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13401      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13402      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13403        lt_cv_prog_compiler_c_o_FC=yes
13404      fi
13405    fi
13406    chmod u+w . 2>&5
13407    $RM conftest*
13408    # SGI C++ compiler will create directory out/ii_files/ for
13409    # template instantiation
13410    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13411    $RM out/* && rmdir out
13412    cd ..
13413    $RM -r conftest
13414    $RM conftest*
13415
13416 fi
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13418 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13419
13420
13421
13422     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13423 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13424 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13425   $as_echo_n "(cached) " >&6
13426 else
13427   lt_cv_prog_compiler_c_o_FC=no
13428    $RM -r conftest 2>/dev/null
13429    mkdir conftest
13430    cd conftest
13431    mkdir out
13432    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13433
13434    lt_compiler_flag="-o out/conftest2.$ac_objext"
13435    # Insert the option either (1) after the last *FLAGS variable, or
13436    # (2) before a word containing "conftest.", or (3) at the end.
13437    # Note that $ac_compile itself does not contain backslashes and begins
13438    # with a dollar sign (not a hyphen), so the echo should work correctly.
13439    lt_compile=`echo "$ac_compile" | $SED \
13440    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13441    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13442    -e 's:$: $lt_compiler_flag:'`
13443    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13444    (eval "$lt_compile" 2>out/conftest.err)
13445    ac_status=$?
13446    cat out/conftest.err >&5
13447    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13449    then
13450      # The compiler can only warn and ignore the option if not recognized
13451      # So say no if there are warnings
13452      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13453      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13454      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13455        lt_cv_prog_compiler_c_o_FC=yes
13456      fi
13457    fi
13458    chmod u+w . 2>&5
13459    $RM conftest*
13460    # SGI C++ compiler will create directory out/ii_files/ for
13461    # template instantiation
13462    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13463    $RM out/* && rmdir out
13464    cd ..
13465    $RM -r conftest
13466    $RM conftest*
13467
13468 fi
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13470 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13471
13472
13473
13474
13475 hard_links="nottested"
13476 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
13477   # do not overwrite the value of need_locks provided by the user
13478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13479 $as_echo_n "checking if we can lock with hard links... " >&6; }
13480   hard_links=yes
13481   $RM conftest*
13482   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13483   touch conftest.a
13484   ln conftest.a conftest.b 2>&5 || hard_links=no
13485   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13487 $as_echo "$hard_links" >&6; }
13488   if test "$hard_links" = no; then
13489     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13490 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13491     need_locks=warn
13492   fi
13493 else
13494   need_locks=no
13495 fi
13496
13497
13498
13499     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13500 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13501
13502   runpath_var=
13503   allow_undefined_flag_FC=
13504   always_export_symbols_FC=no
13505   archive_cmds_FC=
13506   archive_expsym_cmds_FC=
13507   compiler_needs_object_FC=no
13508   enable_shared_with_static_runtimes_FC=no
13509   export_dynamic_flag_spec_FC=
13510   export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13511   hardcode_automatic_FC=no
13512   hardcode_direct_FC=no
13513   hardcode_direct_absolute_FC=no
13514   hardcode_libdir_flag_spec_FC=
13515   hardcode_libdir_flag_spec_ld_FC=
13516   hardcode_libdir_separator_FC=
13517   hardcode_minus_L_FC=no
13518   hardcode_shlibpath_var_FC=unsupported
13519   inherit_rpath_FC=no
13520   link_all_deplibs_FC=unknown
13521   module_cmds_FC=
13522   module_expsym_cmds_FC=
13523   old_archive_from_new_cmds_FC=
13524   old_archive_from_expsyms_cmds_FC=
13525   thread_safe_flag_spec_FC=
13526   whole_archive_flag_spec_FC=
13527   # include_expsyms should be a list of space-separated symbols to be *always*
13528   # included in the symbol list
13529   include_expsyms_FC=
13530   # exclude_expsyms can be an extended regexp of symbols to exclude
13531   # it will be wrapped by ` (' and `)$', so one must not match beginning or
13532   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13533   # as well as any symbol that contains `d'.
13534   exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13535   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13536   # platforms (ab)use it in PIC code, but their linkers get confused if
13537   # the symbol is explicitly referenced.  Since portable code cannot
13538   # rely on this symbol name, it's probably fine to never include it in
13539   # preloaded symbol tables.
13540   # Exclude shared library initialization/finalization symbols.
13541   extract_expsyms_cmds=
13542
13543   case $host_os in
13544   cygwin* | mingw* | pw32* | cegcc*)
13545     # FIXME: the MSVC++ port hasn't been tested in a loooong time
13546     # When not using gcc, we currently assume that we are using
13547     # Microsoft Visual C++.
13548     if test "$GCC" != yes; then
13549       with_gnu_ld=no
13550     fi
13551     ;;
13552   interix*)
13553     # we just hope/assume this is gcc and not c89 (= MSVC++)
13554     with_gnu_ld=yes
13555     ;;
13556   openbsd*)
13557     with_gnu_ld=no
13558     ;;
13559   esac
13560
13561   ld_shlibs_FC=yes
13562
13563   # On some targets, GNU ld is compatible enough with the native linker
13564   # that we're better off using the native interface for both.
13565   lt_use_gnu_ld_interface=no
13566   if test "$with_gnu_ld" = yes; then
13567     case $host_os in
13568       aix*)
13569         # The AIX port of GNU ld has always aspired to compatibility
13570         # with the native linker.  However, as the warning in the GNU ld
13571         # block says, versions before 2.19.5* couldn't really create working
13572         # shared libraries, regardless of the interface used.
13573         case `$LD -v 2>&1` in
13574           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
13575           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13576           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13577           *)
13578             lt_use_gnu_ld_interface=yes
13579             ;;
13580         esac
13581         ;;
13582       *)
13583         lt_use_gnu_ld_interface=yes
13584         ;;
13585     esac
13586   fi
13587
13588   if test "$lt_use_gnu_ld_interface" = yes; then
13589     # If archive_cmds runs LD, not CC, wlarc should be empty
13590     wlarc='${wl}'
13591
13592     # Set some defaults for GNU ld with shared library support. These
13593     # are reset later if shared libraries are not supported. Putting them
13594     # here allows them to be overridden if necessary.
13595     runpath_var=LD_RUN_PATH
13596     hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13597     export_dynamic_flag_spec_FC='${wl}--export-dynamic'
13598     # ancient GNU ld didn't support --whole-archive et. al.
13599     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13600       whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13601     else
13602       whole_archive_flag_spec_FC=
13603     fi
13604     supports_anon_versioning=no
13605     case `$LD -v 2>&1` in
13606       *GNU\ gold*) supports_anon_versioning=yes ;;
13607       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13608       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13609       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13610       *\ 2.11.*) ;; # other 2.11 versions
13611       *) supports_anon_versioning=yes ;;
13612     esac
13613
13614     # See if GNU ld supports shared libraries.
13615     case $host_os in
13616     aix[3-9]*)
13617       # On AIX/PPC, the GNU linker is very broken
13618       if test "$host_cpu" != ia64; then
13619         ld_shlibs_FC=no
13620         cat <<_LT_EOF 1>&2
13621
13622 *** Warning: the GNU linker, at least up to release 2.19, is reported
13623 *** to be unable to reliably create shared libraries on AIX.
13624 *** Therefore, libtool is disabling shared libraries support.  If you
13625 *** really care for shared libraries, you may want to install binutils
13626 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13627 *** You will then need to restart the configuration process.
13628
13629 _LT_EOF
13630       fi
13631       ;;
13632
13633     amigaos*)
13634       case $host_cpu in
13635       powerpc)
13636             # see comment about AmigaOS4 .so support
13637             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13638             archive_expsym_cmds_FC=''
13639         ;;
13640       m68k)
13641             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)'
13642             hardcode_libdir_flag_spec_FC='-L$libdir'
13643             hardcode_minus_L_FC=yes
13644         ;;
13645       esac
13646       ;;
13647
13648     beos*)
13649       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13650         allow_undefined_flag_FC=unsupported
13651         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13652         # support --undefined.  This deserves some investigation.  FIXME
13653         archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13654       else
13655         ld_shlibs_FC=no
13656       fi
13657       ;;
13658
13659     cygwin* | mingw* | pw32* | cegcc*)
13660       # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13661       # as there is no search path for DLLs.
13662       hardcode_libdir_flag_spec_FC='-L$libdir'
13663       export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
13664       allow_undefined_flag_FC=unsupported
13665       always_export_symbols_FC=no
13666       enable_shared_with_static_runtimes_FC=yes
13667       export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13668
13669       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13670         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13671         # If the export-symbols file already is a .def file (1st line
13672         # is EXPORTS), use it as is; otherwise, prepend...
13673         archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13674           cp $export_symbols $output_objdir/$soname.def;
13675         else
13676           echo EXPORTS > $output_objdir/$soname.def;
13677           cat $export_symbols >> $output_objdir/$soname.def;
13678         fi~
13679         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13680       else
13681         ld_shlibs_FC=no
13682       fi
13683       ;;
13684
13685     haiku*)
13686       archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13687       link_all_deplibs_FC=yes
13688       ;;
13689
13690     interix[3-9]*)
13691       hardcode_direct_FC=no
13692       hardcode_shlibpath_var_FC=no
13693       hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13694       export_dynamic_flag_spec_FC='${wl}-E'
13695       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13696       # Instead, shared libraries are loaded at an image base (0x10000000 by
13697       # default) and relocated if they conflict, which is a slow very memory
13698       # consuming and fragmenting process.  To avoid this, we pick a random,
13699       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13700       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13701       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'
13702       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'
13703       ;;
13704
13705     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13706       tmp_diet=no
13707       if test "$host_os" = linux-dietlibc; then
13708         case $cc_basename in
13709           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
13710         esac
13711       fi
13712       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13713          && test "$tmp_diet" = no
13714       then
13715         tmp_addflag=
13716         tmp_sharedflag='-shared'
13717         case $cc_basename,$host_cpu in
13718         pgcc*)                          # Portland Group C compiler
13719           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'
13720           tmp_addflag=' $pic_flag'
13721           ;;
13722         pgf77* | pgf90* | pgf95* | pgfortran*)
13723                                         # Portland Group f77 and f90 compilers
13724           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'
13725           tmp_addflag=' $pic_flag -Mnomain' ;;
13726         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
13727           tmp_addflag=' -i_dynamic' ;;
13728         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
13729           tmp_addflag=' -i_dynamic -nofor_main' ;;
13730         ifc* | ifort*)                  # Intel Fortran compiler
13731           tmp_addflag=' -nofor_main' ;;
13732         lf95*)                          # Lahey Fortran 8.1
13733           whole_archive_flag_spec_FC=
13734           tmp_sharedflag='--shared' ;;
13735         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13736           tmp_sharedflag='-qmkshrobj'
13737           tmp_addflag= ;;
13738         nvcc*)  # Cuda Compiler Driver 2.2
13739           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'
13740           compiler_needs_object_FC=yes
13741           ;;
13742         esac
13743         case `$CC -V 2>&1 | sed 5q` in
13744         *Sun\ C*)                       # Sun C 5.9
13745           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'
13746           compiler_needs_object_FC=yes
13747           tmp_sharedflag='-G' ;;
13748         *Sun\ F*)                       # Sun Fortran 8.3
13749           tmp_sharedflag='-G' ;;
13750         esac
13751         archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13752
13753         if test "x$supports_anon_versioning" = xyes; then
13754           archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13755             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13756             echo "local: *; };" >> $output_objdir/$libname.ver~
13757             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13758         fi
13759
13760         case $cc_basename in
13761         xlf* | bgf* | bgxlf* | mpixlf*)
13762           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13763           whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
13764           hardcode_libdir_flag_spec_FC=
13765           hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
13766           archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13767           if test "x$supports_anon_versioning" = xyes; then
13768             archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13769               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13770               echo "local: *; };" >> $output_objdir/$libname.ver~
13771               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13772           fi
13773           ;;
13774         esac
13775       else
13776         ld_shlibs_FC=no
13777       fi
13778       ;;
13779
13780     netbsd*)
13781       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13782         archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13783         wlarc=
13784       else
13785         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13786         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13787       fi
13788       ;;
13789
13790     solaris*)
13791       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
13792         ld_shlibs_FC=no
13793         cat <<_LT_EOF 1>&2
13794
13795 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13796 *** create shared libraries on Solaris systems.  Therefore, libtool
13797 *** is disabling shared libraries support.  We urge you to upgrade GNU
13798 *** binutils to release 2.9.1 or newer.  Another option is to modify
13799 *** your PATH or compiler configuration so that the native linker is
13800 *** used, and then restart.
13801
13802 _LT_EOF
13803       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13804         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13805         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13806       else
13807         ld_shlibs_FC=no
13808       fi
13809       ;;
13810
13811     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13812       case `$LD -v 2>&1` in
13813         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13814         ld_shlibs_FC=no
13815         cat <<_LT_EOF 1>&2
13816
13817 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13818 *** reliably create shared libraries on SCO systems.  Therefore, libtool
13819 *** is disabling shared libraries support.  We urge you to upgrade GNU
13820 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
13821 *** your PATH or compiler configuration so that the native linker is
13822 *** used, and then restart.
13823
13824 _LT_EOF
13825         ;;
13826         *)
13827           # For security reasons, it is highly recommended that you always
13828           # use absolute paths for naming shared libraries, and exclude the
13829           # DT_RUNPATH tag from executables and libraries.  But doing so
13830           # requires that you compile everything twice, which is a pain.
13831           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13832             hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13833             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13834             archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13835           else
13836             ld_shlibs_FC=no
13837           fi
13838         ;;
13839       esac
13840       ;;
13841
13842     sunos4*)
13843       archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13844       wlarc=
13845       hardcode_direct_FC=yes
13846       hardcode_shlibpath_var_FC=no
13847       ;;
13848
13849     *)
13850       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13851         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13852         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13853       else
13854         ld_shlibs_FC=no
13855       fi
13856       ;;
13857     esac
13858
13859     if test "$ld_shlibs_FC" = no; then
13860       runpath_var=
13861       hardcode_libdir_flag_spec_FC=
13862       export_dynamic_flag_spec_FC=
13863       whole_archive_flag_spec_FC=
13864     fi
13865   else
13866     # PORTME fill in a description of your system's linker (not GNU ld)
13867     case $host_os in
13868     aix3*)
13869       allow_undefined_flag_FC=unsupported
13870       always_export_symbols_FC=yes
13871       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'
13872       # Note: this linker hardcodes the directories in LIBPATH if there
13873       # are no directories specified by -L.
13874       hardcode_minus_L_FC=yes
13875       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13876         # Neither direct hardcoding nor static linking is supported with a
13877         # broken collect2.
13878         hardcode_direct_FC=unsupported
13879       fi
13880       ;;
13881
13882     aix[4-9]*)
13883       if test "$host_cpu" = ia64; then
13884         # On IA64, the linker does run time linking by default, so we don't
13885         # have to do anything special.
13886         aix_use_runtimelinking=no
13887         exp_sym_flag='-Bexport'
13888         no_entry_flag=""
13889       else
13890         # If we're using GNU nm, then we don't want the "-C" option.
13891         # -C means demangle to AIX nm, but means don't demangle with GNU nm
13892         # Also, AIX nm treats weak defined symbols like other global
13893         # defined symbols, whereas GNU nm marks them as "W".
13894         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13895           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'
13896         else
13897           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'
13898         fi
13899         aix_use_runtimelinking=no
13900
13901         # Test if we are trying to use run time linking or normal
13902         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13903         # need to do runtime linking.
13904         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13905           for ld_flag in $LDFLAGS; do
13906           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13907             aix_use_runtimelinking=yes
13908             break
13909           fi
13910           done
13911           ;;
13912         esac
13913
13914         exp_sym_flag='-bexport'
13915         no_entry_flag='-bnoentry'
13916       fi
13917
13918       # When large executables or shared objects are built, AIX ld can
13919       # have problems creating the table of contents.  If linking a library
13920       # or program results in "error TOC overflow" add -mminimal-toc to
13921       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13922       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13923
13924       archive_cmds_FC=''
13925       hardcode_direct_FC=yes
13926       hardcode_direct_absolute_FC=yes
13927       hardcode_libdir_separator_FC=':'
13928       link_all_deplibs_FC=yes
13929       file_list_spec_FC='${wl}-f,'
13930
13931       if test "$GCC" = yes; then
13932         case $host_os in aix4.[012]|aix4.[012].*)
13933         # We only want to do this on AIX 4.2 and lower, the check
13934         # below for broken collect2 doesn't work under 4.3+
13935           collect2name=`${CC} -print-prog-name=collect2`
13936           if test -f "$collect2name" &&
13937            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13938           then
13939           # We have reworked collect2
13940           :
13941           else
13942           # We have old collect2
13943           hardcode_direct_FC=unsupported
13944           # It fails to find uninstalled libraries when the uninstalled
13945           # path is not listed in the libpath.  Setting hardcode_minus_L
13946           # to unsupported forces relinking
13947           hardcode_minus_L_FC=yes
13948           hardcode_libdir_flag_spec_FC='-L$libdir'
13949           hardcode_libdir_separator_FC=
13950           fi
13951           ;;
13952         esac
13953         shared_flag='-shared'
13954         if test "$aix_use_runtimelinking" = yes; then
13955           shared_flag="$shared_flag "'${wl}-G'
13956         fi
13957       else
13958         # not using gcc
13959         if test "$host_cpu" = ia64; then
13960         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13961         # chokes on -Wl,-G. The following line is correct:
13962           shared_flag='-G'
13963         else
13964           if test "$aix_use_runtimelinking" = yes; then
13965             shared_flag='${wl}-G'
13966           else
13967             shared_flag='${wl}-bM:SRE'
13968           fi
13969         fi
13970       fi
13971
13972       export_dynamic_flag_spec_FC='${wl}-bexpall'
13973       # It seems that -bexpall does not export symbols beginning with
13974       # underscore (_), so it is better to generate a list of symbols to export.
13975       always_export_symbols_FC=yes
13976       if test "$aix_use_runtimelinking" = yes; then
13977         # Warning - without using the other runtime loading flags (-brtl),
13978         # -berok will link without error, but may produce a broken library.
13979         allow_undefined_flag_FC='-berok'
13980         # Determine the default libpath from the value encoded in an
13981         # empty executable.
13982         if test x$gcc_no_link = xyes; then
13983   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13984 fi
13985 cat > conftest.$ac_ext <<_ACEOF
13986       program main
13987
13988       end
13989 _ACEOF
13990 if ac_fn_fc_try_link "$LINENO"; then :
13991
13992 lt_aix_libpath_sed='
13993     /Import File Strings/,/^$/ {
13994         /^0/ {
13995             s/^0  *\(.*\)$/\1/
13996             p
13997         }
13998     }'
13999 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14000 # Check for a 64-bit object if we didn't find anything.
14001 if test -z "$aix_libpath"; then
14002   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14003 fi
14004 fi
14005 rm -f core conftest.err conftest.$ac_objext \
14006     conftest$ac_exeext conftest.$ac_ext
14007 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14008
14009         hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14010         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"
14011       else
14012         if test "$host_cpu" = ia64; then
14013           hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14014           allow_undefined_flag_FC="-z nodefs"
14015           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"
14016         else
14017          # Determine the default libpath from the value encoded in an
14018          # empty executable.
14019          if test x$gcc_no_link = xyes; then
14020   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14021 fi
14022 cat > conftest.$ac_ext <<_ACEOF
14023       program main
14024
14025       end
14026 _ACEOF
14027 if ac_fn_fc_try_link "$LINENO"; then :
14028
14029 lt_aix_libpath_sed='
14030     /Import File Strings/,/^$/ {
14031         /^0/ {
14032             s/^0  *\(.*\)$/\1/
14033             p
14034         }
14035     }'
14036 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14037 # Check for a 64-bit object if we didn't find anything.
14038 if test -z "$aix_libpath"; then
14039   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14040 fi
14041 fi
14042 rm -f core conftest.err conftest.$ac_objext \
14043     conftest$ac_exeext conftest.$ac_ext
14044 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14045
14046          hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14047           # Warning - without using the other run time loading flags,
14048           # -berok will link without error, but may produce a broken library.
14049           no_undefined_flag_FC=' ${wl}-bernotok'
14050           allow_undefined_flag_FC=' ${wl}-berok'
14051           if test "$with_gnu_ld" = yes; then
14052             # We only use this code for GNU lds that support --whole-archive.
14053             whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14054           else
14055             # Exported symbols can be pulled into shared objects from archives
14056             whole_archive_flag_spec_FC='$convenience'
14057           fi
14058           archive_cmds_need_lc_FC=yes
14059           # This is similar to how AIX traditionally builds its shared libraries.
14060           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'
14061         fi
14062       fi
14063       ;;
14064
14065     amigaos*)
14066       case $host_cpu in
14067       powerpc)
14068             # see comment about AmigaOS4 .so support
14069             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14070             archive_expsym_cmds_FC=''
14071         ;;
14072       m68k)
14073             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)'
14074             hardcode_libdir_flag_spec_FC='-L$libdir'
14075             hardcode_minus_L_FC=yes
14076         ;;
14077       esac
14078       ;;
14079
14080     bsdi[45]*)
14081       export_dynamic_flag_spec_FC=-rdynamic
14082       ;;
14083
14084     cygwin* | mingw* | pw32* | cegcc*)
14085       # When not using gcc, we currently assume that we are using
14086       # Microsoft Visual C++.
14087       # hardcode_libdir_flag_spec is actually meaningless, as there is
14088       # no search path for DLLs.
14089       hardcode_libdir_flag_spec_FC=' '
14090       allow_undefined_flag_FC=unsupported
14091       # Tell ltmain to make .lib files, not .a files.
14092       libext=lib
14093       # Tell ltmain to make .dll files, not .so files.
14094       shrext_cmds=".dll"
14095       # FIXME: Setting linknames here is a bad hack.
14096       archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14097       # The linker will automatically build a .lib file if we build a DLL.
14098       old_archive_from_new_cmds_FC='true'
14099       # FIXME: Should let the user specify the lib program.
14100       old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14101       fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14102       enable_shared_with_static_runtimes_FC=yes
14103       ;;
14104
14105     darwin* | rhapsody*)
14106
14107
14108   archive_cmds_need_lc_FC=no
14109   hardcode_direct_FC=no
14110   hardcode_automatic_FC=yes
14111   hardcode_shlibpath_var_FC=unsupported
14112   if test "$lt_cv_ld_force_load" = "yes"; then
14113     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\"`'
14114   else
14115     whole_archive_flag_spec_FC=''
14116   fi
14117   link_all_deplibs_FC=yes
14118   allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14119   case $cc_basename in
14120      ifort*) _lt_dar_can_shared=yes ;;
14121      *) _lt_dar_can_shared=$GCC ;;
14122   esac
14123   if test "$_lt_dar_can_shared" = "yes"; then
14124     output_verbose_link_cmd=func_echo_all
14125     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}"
14126     module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14127     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}"
14128     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}"
14129
14130   else
14131   ld_shlibs_FC=no
14132   fi
14133
14134       ;;
14135
14136     dgux*)
14137       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14138       hardcode_libdir_flag_spec_FC='-L$libdir'
14139       hardcode_shlibpath_var_FC=no
14140       ;;
14141
14142     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14143     # support.  Future versions do this automatically, but an explicit c++rt0.o
14144     # does not break anything, and helps significantly (at the cost of a little
14145     # extra space).
14146     freebsd2.2*)
14147       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14148       hardcode_libdir_flag_spec_FC='-R$libdir'
14149       hardcode_direct_FC=yes
14150       hardcode_shlibpath_var_FC=no
14151       ;;
14152
14153     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14154     freebsd2*)
14155       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14156       hardcode_direct_FC=yes
14157       hardcode_minus_L_FC=yes
14158       hardcode_shlibpath_var_FC=no
14159       ;;
14160
14161     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14162     freebsd* | dragonfly*)
14163       archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14164       hardcode_libdir_flag_spec_FC='-R$libdir'
14165       hardcode_direct_FC=yes
14166       hardcode_shlibpath_var_FC=no
14167       ;;
14168
14169     hpux9*)
14170       if test "$GCC" = yes; then
14171         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'
14172       else
14173         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'
14174       fi
14175       hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14176       hardcode_libdir_separator_FC=:
14177       hardcode_direct_FC=yes
14178
14179       # hardcode_minus_L: Not really in the search PATH,
14180       # but as the default location of the library.
14181       hardcode_minus_L_FC=yes
14182       export_dynamic_flag_spec_FC='${wl}-E'
14183       ;;
14184
14185     hpux10*)
14186       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14187         archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14188       else
14189         archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14190       fi
14191       if test "$with_gnu_ld" = no; then
14192         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14193         hardcode_libdir_flag_spec_ld_FC='+b $libdir'
14194         hardcode_libdir_separator_FC=:
14195         hardcode_direct_FC=yes
14196         hardcode_direct_absolute_FC=yes
14197         export_dynamic_flag_spec_FC='${wl}-E'
14198         # hardcode_minus_L: Not really in the search PATH,
14199         # but as the default location of the library.
14200         hardcode_minus_L_FC=yes
14201       fi
14202       ;;
14203
14204     hpux11*)
14205       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14206         case $host_cpu in
14207         hppa*64*)
14208           archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14209           ;;
14210         ia64*)
14211           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14212           ;;
14213         *)
14214           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14215           ;;
14216         esac
14217       else
14218         case $host_cpu in
14219         hppa*64*)
14220           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14221           ;;
14222         ia64*)
14223           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14224           ;;
14225         *)
14226         archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14227           ;;
14228         esac
14229       fi
14230       if test "$with_gnu_ld" = no; then
14231         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14232         hardcode_libdir_separator_FC=:
14233
14234         case $host_cpu in
14235         hppa*64*|ia64*)
14236           hardcode_direct_FC=no
14237           hardcode_shlibpath_var_FC=no
14238           ;;
14239         *)
14240           hardcode_direct_FC=yes
14241           hardcode_direct_absolute_FC=yes
14242           export_dynamic_flag_spec_FC='${wl}-E'
14243
14244           # hardcode_minus_L: Not really in the search PATH,
14245           # but as the default location of the library.
14246           hardcode_minus_L_FC=yes
14247           ;;
14248         esac
14249       fi
14250       ;;
14251
14252     irix5* | irix6* | nonstopux*)
14253       if test "$GCC" = yes; then
14254         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'
14255         # Try to use the -exported_symbol ld option, if it does not
14256         # work, assume that -exports_file does not work either and
14257         # implicitly export all symbols.
14258         save_LDFLAGS="$LDFLAGS"
14259         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14260         if test x$gcc_no_link = xyes; then
14261   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14262 fi
14263 cat > conftest.$ac_ext <<_ACEOF
14264 int foo(void) {}
14265 _ACEOF
14266 if ac_fn_fc_try_link "$LINENO"; then :
14267   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'
14268
14269 fi
14270 rm -f core conftest.err conftest.$ac_objext \
14271     conftest$ac_exeext conftest.$ac_ext
14272         LDFLAGS="$save_LDFLAGS"
14273       else
14274         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'
14275         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'
14276       fi
14277       archive_cmds_need_lc_FC='no'
14278       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14279       hardcode_libdir_separator_FC=:
14280       inherit_rpath_FC=yes
14281       link_all_deplibs_FC=yes
14282       ;;
14283
14284     netbsd*)
14285       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14286         archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14287       else
14288         archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
14289       fi
14290       hardcode_libdir_flag_spec_FC='-R$libdir'
14291       hardcode_direct_FC=yes
14292       hardcode_shlibpath_var_FC=no
14293       ;;
14294
14295     newsos6)
14296       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14297       hardcode_direct_FC=yes
14298       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14299       hardcode_libdir_separator_FC=:
14300       hardcode_shlibpath_var_FC=no
14301       ;;
14302
14303     *nto* | *qnx*)
14304       ;;
14305
14306     openbsd*)
14307       if test -f /usr/libexec/ld.so; then
14308         hardcode_direct_FC=yes
14309         hardcode_shlibpath_var_FC=no
14310         hardcode_direct_absolute_FC=yes
14311         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14312           archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14313           archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14314           hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14315           export_dynamic_flag_spec_FC='${wl}-E'
14316         else
14317           case $host_os in
14318            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14319              archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14320              hardcode_libdir_flag_spec_FC='-R$libdir'
14321              ;;
14322            *)
14323              archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14324              hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14325              ;;
14326           esac
14327         fi
14328       else
14329         ld_shlibs_FC=no
14330       fi
14331       ;;
14332
14333     os2*)
14334       hardcode_libdir_flag_spec_FC='-L$libdir'
14335       hardcode_minus_L_FC=yes
14336       allow_undefined_flag_FC=unsupported
14337       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'
14338       old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14339       ;;
14340
14341     osf3*)
14342       if test "$GCC" = yes; then
14343         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14344         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'
14345       else
14346         allow_undefined_flag_FC=' -expect_unresolved \*'
14347         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'
14348       fi
14349       archive_cmds_need_lc_FC='no'
14350       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14351       hardcode_libdir_separator_FC=:
14352       ;;
14353
14354     osf4* | osf5*)      # as osf3* with the addition of -msym flag
14355       if test "$GCC" = yes; then
14356         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14357         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'
14358         hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14359       else
14360         allow_undefined_flag_FC=' -expect_unresolved \*'
14361         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'
14362         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~
14363         $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'
14364
14365         # Both c and cxx compiler support -rpath directly
14366         hardcode_libdir_flag_spec_FC='-rpath $libdir'
14367       fi
14368       archive_cmds_need_lc_FC='no'
14369       hardcode_libdir_separator_FC=:
14370       ;;
14371
14372     solaris*)
14373       no_undefined_flag_FC=' -z defs'
14374       if test "$GCC" = yes; then
14375         wlarc='${wl}'
14376         archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14377         archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14378           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14379       else
14380         case `$CC -V 2>&1` in
14381         *"Compilers 5.0"*)
14382           wlarc=''
14383           archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14384           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14385           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14386           ;;
14387         *)
14388           wlarc='${wl}'
14389           archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14390           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14391           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14392           ;;
14393         esac
14394       fi
14395       hardcode_libdir_flag_spec_FC='-R$libdir'
14396       hardcode_shlibpath_var_FC=no
14397       case $host_os in
14398       solaris2.[0-5] | solaris2.[0-5].*) ;;
14399       *)
14400         # The compiler driver will combine and reorder linker options,
14401         # but understands `-z linker_flag'.  GCC discards it without `$wl',
14402         # but is careful enough not to reorder.
14403         # Supported since Solaris 2.6 (maybe 2.5.1?)
14404         if test "$GCC" = yes; then
14405           whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14406         else
14407           whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
14408         fi
14409         ;;
14410       esac
14411       link_all_deplibs_FC=yes
14412       ;;
14413
14414     sunos4*)
14415       if test "x$host_vendor" = xsequent; then
14416         # Use $CC to link under sequent, because it throws in some extra .o
14417         # files that make .init and .fini sections work.
14418         archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14419       else
14420         archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14421       fi
14422       hardcode_libdir_flag_spec_FC='-L$libdir'
14423       hardcode_direct_FC=yes
14424       hardcode_minus_L_FC=yes
14425       hardcode_shlibpath_var_FC=no
14426       ;;
14427
14428     sysv4)
14429       case $host_vendor in
14430         sni)
14431           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14432           hardcode_direct_FC=yes # is this really true???
14433         ;;
14434         siemens)
14435           ## LD is ld it makes a PLAMLIB
14436           ## CC just makes a GrossModule.
14437           archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14438           reload_cmds_FC='$CC -r -o $output$reload_objs'
14439           hardcode_direct_FC=no
14440         ;;
14441         motorola)
14442           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14443           hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
14444         ;;
14445       esac
14446       runpath_var='LD_RUN_PATH'
14447       hardcode_shlibpath_var_FC=no
14448       ;;
14449
14450     sysv4.3*)
14451       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14452       hardcode_shlibpath_var_FC=no
14453       export_dynamic_flag_spec_FC='-Bexport'
14454       ;;
14455
14456     sysv4*MP*)
14457       if test -d /usr/nec; then
14458         archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14459         hardcode_shlibpath_var_FC=no
14460         runpath_var=LD_RUN_PATH
14461         hardcode_runpath_var=yes
14462         ld_shlibs_FC=yes
14463       fi
14464       ;;
14465
14466     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14467       no_undefined_flag_FC='${wl}-z,text'
14468       archive_cmds_need_lc_FC=no
14469       hardcode_shlibpath_var_FC=no
14470       runpath_var='LD_RUN_PATH'
14471
14472       if test "$GCC" = yes; then
14473         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14474         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14475       else
14476         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14477         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14478       fi
14479       ;;
14480
14481     sysv5* | sco3.2v5* | sco5v6*)
14482       # Note: We can NOT use -z defs as we might desire, because we do not
14483       # link with -lc, and that would cause any symbols used from libc to
14484       # always be unresolved, which means just about no library would
14485       # ever link correctly.  If we're not using GNU ld we use -z text
14486       # though, which does catch some bad symbols but isn't as heavy-handed
14487       # as -z defs.
14488       no_undefined_flag_FC='${wl}-z,text'
14489       allow_undefined_flag_FC='${wl}-z,nodefs'
14490       archive_cmds_need_lc_FC=no
14491       hardcode_shlibpath_var_FC=no
14492       hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
14493       hardcode_libdir_separator_FC=':'
14494       link_all_deplibs_FC=yes
14495       export_dynamic_flag_spec_FC='${wl}-Bexport'
14496       runpath_var='LD_RUN_PATH'
14497
14498       if test "$GCC" = yes; then
14499         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14500         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14501       else
14502         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14503         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14504       fi
14505       ;;
14506
14507     uts4*)
14508       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14509       hardcode_libdir_flag_spec_FC='-L$libdir'
14510       hardcode_shlibpath_var_FC=no
14511       ;;
14512
14513     *)
14514       ld_shlibs_FC=no
14515       ;;
14516     esac
14517
14518     if test x$host_vendor = xsni; then
14519       case $host in
14520       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14521         export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
14522         ;;
14523       esac
14524     fi
14525   fi
14526
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14528 $as_echo "$ld_shlibs_FC" >&6; }
14529 test "$ld_shlibs_FC" = no && can_build_shared=no
14530
14531 with_gnu_ld_FC=$with_gnu_ld
14532
14533
14534
14535
14536
14537
14538 #
14539 # Do we need to explicitly link libc?
14540 #
14541 case "x$archive_cmds_need_lc_FC" in
14542 x|xyes)
14543   # Assume -lc should be added
14544   archive_cmds_need_lc_FC=yes
14545
14546   if test "$enable_shared" = yes && test "$GCC" = yes; then
14547     case $archive_cmds_FC in
14548     *'~'*)
14549       # FIXME: we may have to deal with multi-command sequences.
14550       ;;
14551     '$CC '*)
14552       # Test whether the compiler implicitly links with -lc since on some
14553       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14554       # to ld, don't add -lc before -lgcc.
14555       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14556 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14557 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14558   $as_echo_n "(cached) " >&6
14559 else
14560   $RM conftest*
14561         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14562
14563         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14564   (eval $ac_compile) 2>&5
14565   ac_status=$?
14566   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14567   test $ac_status = 0; } 2>conftest.err; then
14568           soname=conftest
14569           lib=conftest
14570           libobjs=conftest.$ac_objext
14571           deplibs=
14572           wl=$lt_prog_compiler_wl_FC
14573           pic_flag=$lt_prog_compiler_pic_FC
14574           compiler_flags=-v
14575           linker_flags=-v
14576           verstring=
14577           output_objdir=.
14578           libname=conftest
14579           lt_save_allow_undefined_flag=$allow_undefined_flag_FC
14580           allow_undefined_flag_FC=
14581           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14582   (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14583   ac_status=$?
14584   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14585   test $ac_status = 0; }
14586           then
14587             lt_cv_archive_cmds_need_lc_FC=no
14588           else
14589             lt_cv_archive_cmds_need_lc_FC=yes
14590           fi
14591           allow_undefined_flag_FC=$lt_save_allow_undefined_flag
14592         else
14593           cat conftest.err 1>&5
14594         fi
14595         $RM conftest*
14596
14597 fi
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14599 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14600       archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
14601       ;;
14602     esac
14603   fi
14604   ;;
14605 esac
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14671 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14672
14673 library_names_spec=
14674 libname_spec='lib$name'
14675 soname_spec=
14676 shrext_cmds=".so"
14677 postinstall_cmds=
14678 postuninstall_cmds=
14679 finish_cmds=
14680 finish_eval=
14681 shlibpath_var=
14682 shlibpath_overrides_runpath=unknown
14683 version_type=none
14684 dynamic_linker="$host_os ld.so"
14685 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14686 need_lib_prefix=unknown
14687 hardcode_into_libs=no
14688
14689 # when you set need_version to no, make sure it does not cause -set_version
14690 # flags to be left without arguments
14691 need_version=unknown
14692
14693 case $host_os in
14694 aix3*)
14695   version_type=linux
14696   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14697   shlibpath_var=LIBPATH
14698
14699   # AIX 3 has no versioning support, so we append a major version to the name.
14700   soname_spec='${libname}${release}${shared_ext}$major'
14701   ;;
14702
14703 aix[4-9]*)
14704   version_type=linux
14705   need_lib_prefix=no
14706   need_version=no
14707   hardcode_into_libs=yes
14708   if test "$host_cpu" = ia64; then
14709     # AIX 5 supports IA64
14710     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14711     shlibpath_var=LD_LIBRARY_PATH
14712   else
14713     # With GCC up to 2.95.x, collect2 would create an import file
14714     # for dependence libraries.  The import file would start with
14715     # the line `#! .'.  This would cause the generated library to
14716     # depend on `.', always an invalid library.  This was fixed in
14717     # development snapshots of GCC prior to 3.0.
14718     case $host_os in
14719       aix4 | aix4.[01] | aix4.[01].*)
14720       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14721            echo ' yes '
14722            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14723         :
14724       else
14725         can_build_shared=no
14726       fi
14727       ;;
14728     esac
14729     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14730     # soname into executable. Probably we can add versioning support to
14731     # collect2, so additional links can be useful in future.
14732     if test "$aix_use_runtimelinking" = yes; then
14733       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14734       # instead of lib<name>.a to let people know that these are not
14735       # typical AIX shared libraries.
14736       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14737     else
14738       # We preserve .a as extension for shared libraries through AIX4.2
14739       # and later when we are not doing run time linking.
14740       library_names_spec='${libname}${release}.a $libname.a'
14741       soname_spec='${libname}${release}${shared_ext}$major'
14742     fi
14743     shlibpath_var=LIBPATH
14744   fi
14745   ;;
14746
14747 amigaos*)
14748   case $host_cpu in
14749   powerpc)
14750     # Since July 2007 AmigaOS4 officially supports .so libraries.
14751     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14752     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14753     ;;
14754   m68k)
14755     library_names_spec='$libname.ixlibrary $libname.a'
14756     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14757     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'
14758     ;;
14759   esac
14760   ;;
14761
14762 beos*)
14763   library_names_spec='${libname}${shared_ext}'
14764   dynamic_linker="$host_os ld.so"
14765   shlibpath_var=LIBRARY_PATH
14766   ;;
14767
14768 bsdi[45]*)
14769   version_type=linux
14770   need_version=no
14771   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14772   soname_spec='${libname}${release}${shared_ext}$major'
14773   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14774   shlibpath_var=LD_LIBRARY_PATH
14775   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14776   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14777   # the default ld.so.conf also contains /usr/contrib/lib and
14778   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14779   # libtool to hard-code these into programs
14780   ;;
14781
14782 cygwin* | mingw* | pw32* | cegcc*)
14783   version_type=windows
14784   shrext_cmds=".dll"
14785   need_version=no
14786   need_lib_prefix=no
14787
14788   case $GCC,$host_os in
14789   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14790     library_names_spec='$libname.dll.a'
14791     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14792     postinstall_cmds='base_file=`basename \${file}`~
14793       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14794       dldir=$destdir/`dirname \$dlpath`~
14795       test -d \$dldir || mkdir -p \$dldir~
14796       $install_prog $dir/$dlname \$dldir/$dlname~
14797       chmod a+x \$dldir/$dlname~
14798       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14799         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14800       fi'
14801     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14802       dlpath=$dir/\$dldll~
14803        $RM \$dlpath'
14804     shlibpath_overrides_runpath=yes
14805
14806     case $host_os in
14807     cygwin*)
14808       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14809       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14810
14811       ;;
14812     mingw* | cegcc*)
14813       # MinGW DLLs use traditional 'lib' prefix
14814       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14815       ;;
14816     pw32*)
14817       # pw32 DLLs use 'pw' prefix rather than 'lib'
14818       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14819       ;;
14820     esac
14821     ;;
14822
14823   *)
14824     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14825     ;;
14826   esac
14827   dynamic_linker='Win32 ld.exe'
14828   # FIXME: first we should search . and the directory the executable is in
14829   shlibpath_var=PATH
14830   ;;
14831
14832 darwin* | rhapsody*)
14833   dynamic_linker="$host_os dyld"
14834   version_type=darwin
14835   need_lib_prefix=no
14836   need_version=no
14837   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14838   soname_spec='${libname}${release}${major}$shared_ext'
14839   shlibpath_overrides_runpath=yes
14840   shlibpath_var=DYLD_LIBRARY_PATH
14841   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14842
14843   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14844   ;;
14845
14846 dgux*)
14847   version_type=linux
14848   need_lib_prefix=no
14849   need_version=no
14850   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14851   soname_spec='${libname}${release}${shared_ext}$major'
14852   shlibpath_var=LD_LIBRARY_PATH
14853   ;;
14854
14855 freebsd* | dragonfly*)
14856   # DragonFly does not have aout.  When/if they implement a new
14857   # versioning mechanism, adjust this.
14858   if test -x /usr/bin/objformat; then
14859     objformat=`/usr/bin/objformat`
14860   else
14861     case $host_os in
14862     freebsd[123]*) objformat=aout ;;
14863     *) objformat=elf ;;
14864     esac
14865   fi
14866   version_type=freebsd-$objformat
14867   case $version_type in
14868     freebsd-elf*)
14869       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14870       need_version=no
14871       need_lib_prefix=no
14872       ;;
14873     freebsd-*)
14874       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14875       need_version=yes
14876       ;;
14877   esac
14878   shlibpath_var=LD_LIBRARY_PATH
14879   case $host_os in
14880   freebsd2*)
14881     shlibpath_overrides_runpath=yes
14882     ;;
14883   freebsd3.[01]* | freebsdelf3.[01]*)
14884     shlibpath_overrides_runpath=yes
14885     hardcode_into_libs=yes
14886     ;;
14887   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14888   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14889     shlibpath_overrides_runpath=no
14890     hardcode_into_libs=yes
14891     ;;
14892   *) # from 4.6 on, and DragonFly
14893     shlibpath_overrides_runpath=yes
14894     hardcode_into_libs=yes
14895     ;;
14896   esac
14897   ;;
14898
14899 gnu*)
14900   version_type=linux
14901   need_lib_prefix=no
14902   need_version=no
14903   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14904   soname_spec='${libname}${release}${shared_ext}$major'
14905   shlibpath_var=LD_LIBRARY_PATH
14906   hardcode_into_libs=yes
14907   ;;
14908
14909 haiku*)
14910   version_type=linux
14911   need_lib_prefix=no
14912   need_version=no
14913   dynamic_linker="$host_os runtime_loader"
14914   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14915   soname_spec='${libname}${release}${shared_ext}$major'
14916   shlibpath_var=LIBRARY_PATH
14917   shlibpath_overrides_runpath=yes
14918   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14919   hardcode_into_libs=yes
14920   ;;
14921
14922 hpux9* | hpux10* | hpux11*)
14923   # Give a soname corresponding to the major version so that dld.sl refuses to
14924   # link against other versions.
14925   version_type=sunos
14926   need_lib_prefix=no
14927   need_version=no
14928   case $host_cpu in
14929   ia64*)
14930     shrext_cmds='.so'
14931     hardcode_into_libs=yes
14932     dynamic_linker="$host_os dld.so"
14933     shlibpath_var=LD_LIBRARY_PATH
14934     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14935     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14936     soname_spec='${libname}${release}${shared_ext}$major'
14937     if test "X$HPUX_IA64_MODE" = X32; then
14938       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14939     else
14940       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14941     fi
14942     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14943     ;;
14944   hppa*64*)
14945     shrext_cmds='.sl'
14946     hardcode_into_libs=yes
14947     dynamic_linker="$host_os dld.sl"
14948     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14949     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14950     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14951     soname_spec='${libname}${release}${shared_ext}$major'
14952     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14953     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14954     ;;
14955   *)
14956     shrext_cmds='.sl'
14957     dynamic_linker="$host_os dld.sl"
14958     shlibpath_var=SHLIB_PATH
14959     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14960     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14961     soname_spec='${libname}${release}${shared_ext}$major'
14962     ;;
14963   esac
14964   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14965   postinstall_cmds='chmod 555 $lib'
14966   # or fails outright, so override atomically:
14967   install_override_mode=555
14968   ;;
14969
14970 interix[3-9]*)
14971   version_type=linux
14972   need_lib_prefix=no
14973   need_version=no
14974   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14975   soname_spec='${libname}${release}${shared_ext}$major'
14976   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14977   shlibpath_var=LD_LIBRARY_PATH
14978   shlibpath_overrides_runpath=no
14979   hardcode_into_libs=yes
14980   ;;
14981
14982 irix5* | irix6* | nonstopux*)
14983   case $host_os in
14984     nonstopux*) version_type=nonstopux ;;
14985     *)
14986         if test "$lt_cv_prog_gnu_ld" = yes; then
14987                 version_type=linux
14988         else
14989                 version_type=irix
14990         fi ;;
14991   esac
14992   need_lib_prefix=no
14993   need_version=no
14994   soname_spec='${libname}${release}${shared_ext}$major'
14995   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14996   case $host_os in
14997   irix5* | nonstopux*)
14998     libsuff= shlibsuff=
14999     ;;
15000   *)
15001     case $LD in # libtool.m4 will add one of these switches to LD
15002     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15003       libsuff= shlibsuff= libmagic=32-bit;;
15004     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15005       libsuff=32 shlibsuff=N32 libmagic=N32;;
15006     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15007       libsuff=64 shlibsuff=64 libmagic=64-bit;;
15008     *) libsuff= shlibsuff= libmagic=never-match;;
15009     esac
15010     ;;
15011   esac
15012   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15013   shlibpath_overrides_runpath=no
15014   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15015   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15016   hardcode_into_libs=yes
15017   ;;
15018
15019 # No shared lib support for Linux oldld, aout, or coff.
15020 linux*oldld* | linux*aout* | linux*coff*)
15021   dynamic_linker=no
15022   ;;
15023
15024 # This must be Linux ELF.
15025 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15026   version_type=linux
15027   need_lib_prefix=no
15028   need_version=no
15029   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15030   soname_spec='${libname}${release}${shared_ext}$major'
15031   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15032   shlibpath_var=LD_LIBRARY_PATH
15033   shlibpath_overrides_runpath=no
15034
15035   # Some binutils ld are patched to set DT_RUNPATH
15036   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15037   $as_echo_n "(cached) " >&6
15038 else
15039   lt_cv_shlibpath_overrides_runpath=no
15040     save_LDFLAGS=$LDFLAGS
15041     save_libdir=$libdir
15042     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15043          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15044     if test x$gcc_no_link = xyes; then
15045   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15046 fi
15047 cat > conftest.$ac_ext <<_ACEOF
15048       program main
15049
15050       end
15051 _ACEOF
15052 if ac_fn_fc_try_link "$LINENO"; then :
15053   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15054   lt_cv_shlibpath_overrides_runpath=yes
15055 fi
15056 fi
15057 rm -f core conftest.err conftest.$ac_objext \
15058     conftest$ac_exeext conftest.$ac_ext
15059     LDFLAGS=$save_LDFLAGS
15060     libdir=$save_libdir
15061
15062 fi
15063
15064   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15065
15066   # This implies no fast_install, which is unacceptable.
15067   # Some rework will be needed to allow for fast_install
15068   # before this can be enabled.
15069   hardcode_into_libs=yes
15070
15071   # Append ld.so.conf contents to the search path
15072   if test -f /etc/ld.so.conf; then
15073     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' ' '`
15074     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15075   fi
15076
15077   # We used to test for /lib/ld.so.1 and disable shared libraries on
15078   # powerpc, because MkLinux only supported shared libraries with the
15079   # GNU dynamic linker.  Since this was broken with cross compilers,
15080   # most powerpc-linux boxes support dynamic linking these days and
15081   # people can always --disable-shared, the test was removed, and we
15082   # assume the GNU/Linux dynamic linker is in use.
15083   dynamic_linker='GNU/Linux ld.so'
15084   ;;
15085
15086 netbsd*)
15087   version_type=sunos
15088   need_lib_prefix=no
15089   need_version=no
15090   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15091     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15092     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15093     dynamic_linker='NetBSD (a.out) ld.so'
15094   else
15095     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15096     soname_spec='${libname}${release}${shared_ext}$major'
15097     dynamic_linker='NetBSD ld.elf_so'
15098   fi
15099   shlibpath_var=LD_LIBRARY_PATH
15100   shlibpath_overrides_runpath=yes
15101   hardcode_into_libs=yes
15102   ;;
15103
15104 newsos6)
15105   version_type=linux
15106   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15107   shlibpath_var=LD_LIBRARY_PATH
15108   shlibpath_overrides_runpath=yes
15109   ;;
15110
15111 *nto* | *qnx*)
15112   version_type=qnx
15113   need_lib_prefix=no
15114   need_version=no
15115   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15116   soname_spec='${libname}${release}${shared_ext}$major'
15117   shlibpath_var=LD_LIBRARY_PATH
15118   shlibpath_overrides_runpath=no
15119   hardcode_into_libs=yes
15120   dynamic_linker='ldqnx.so'
15121   ;;
15122
15123 openbsd*)
15124   version_type=sunos
15125   sys_lib_dlsearch_path_spec="/usr/lib"
15126   need_lib_prefix=no
15127   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15128   case $host_os in
15129     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
15130     *)                          need_version=no  ;;
15131   esac
15132   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15133   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15134   shlibpath_var=LD_LIBRARY_PATH
15135   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15136     case $host_os in
15137       openbsd2.[89] | openbsd2.[89].*)
15138         shlibpath_overrides_runpath=no
15139         ;;
15140       *)
15141         shlibpath_overrides_runpath=yes
15142         ;;
15143       esac
15144   else
15145     shlibpath_overrides_runpath=yes
15146   fi
15147   ;;
15148
15149 os2*)
15150   libname_spec='$name'
15151   shrext_cmds=".dll"
15152   need_lib_prefix=no
15153   library_names_spec='$libname${shared_ext} $libname.a'
15154   dynamic_linker='OS/2 ld.exe'
15155   shlibpath_var=LIBPATH
15156   ;;
15157
15158 osf3* | osf4* | osf5*)
15159   version_type=osf
15160   need_lib_prefix=no
15161   need_version=no
15162   soname_spec='${libname}${release}${shared_ext}$major'
15163   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15164   shlibpath_var=LD_LIBRARY_PATH
15165   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15166   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15167   ;;
15168
15169 rdos*)
15170   dynamic_linker=no
15171   ;;
15172
15173 solaris*)
15174   version_type=linux
15175   need_lib_prefix=no
15176   need_version=no
15177   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15178   soname_spec='${libname}${release}${shared_ext}$major'
15179   shlibpath_var=LD_LIBRARY_PATH
15180   shlibpath_overrides_runpath=yes
15181   hardcode_into_libs=yes
15182   # ldd complains unless libraries are executable
15183   postinstall_cmds='chmod +x $lib'
15184   ;;
15185
15186 sunos4*)
15187   version_type=sunos
15188   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15189   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15190   shlibpath_var=LD_LIBRARY_PATH
15191   shlibpath_overrides_runpath=yes
15192   if test "$with_gnu_ld" = yes; then
15193     need_lib_prefix=no
15194   fi
15195   need_version=yes
15196   ;;
15197
15198 sysv4 | sysv4.3*)
15199   version_type=linux
15200   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15201   soname_spec='${libname}${release}${shared_ext}$major'
15202   shlibpath_var=LD_LIBRARY_PATH
15203   case $host_vendor in
15204     sni)
15205       shlibpath_overrides_runpath=no
15206       need_lib_prefix=no
15207       runpath_var=LD_RUN_PATH
15208       ;;
15209     siemens)
15210       need_lib_prefix=no
15211       ;;
15212     motorola)
15213       need_lib_prefix=no
15214       need_version=no
15215       shlibpath_overrides_runpath=no
15216       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15217       ;;
15218   esac
15219   ;;
15220
15221 sysv4*MP*)
15222   if test -d /usr/nec ;then
15223     version_type=linux
15224     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15225     soname_spec='$libname${shared_ext}.$major'
15226     shlibpath_var=LD_LIBRARY_PATH
15227   fi
15228   ;;
15229
15230 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15231   version_type=freebsd-elf
15232   need_lib_prefix=no
15233   need_version=no
15234   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15235   soname_spec='${libname}${release}${shared_ext}$major'
15236   shlibpath_var=LD_LIBRARY_PATH
15237   shlibpath_overrides_runpath=yes
15238   hardcode_into_libs=yes
15239   if test "$with_gnu_ld" = yes; then
15240     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15241   else
15242     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15243     case $host_os in
15244       sco3.2v5*)
15245         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15246         ;;
15247     esac
15248   fi
15249   sys_lib_dlsearch_path_spec='/usr/lib'
15250   ;;
15251
15252 tpf*)
15253   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15254   version_type=linux
15255   need_lib_prefix=no
15256   need_version=no
15257   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15258   shlibpath_var=LD_LIBRARY_PATH
15259   shlibpath_overrides_runpath=no
15260   hardcode_into_libs=yes
15261   ;;
15262
15263 uts4*)
15264   version_type=linux
15265   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15266   soname_spec='${libname}${release}${shared_ext}$major'
15267   shlibpath_var=LD_LIBRARY_PATH
15268   ;;
15269
15270 *)
15271   dynamic_linker=no
15272   ;;
15273 esac
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15275 $as_echo "$dynamic_linker" >&6; }
15276 test "$dynamic_linker" = no && can_build_shared=no
15277
15278 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15279 if test "$GCC" = yes; then
15280   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15281 fi
15282
15283 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15284   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15285 fi
15286 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15287   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15288 fi
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15328 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15329 hardcode_action_FC=
15330 if test -n "$hardcode_libdir_flag_spec_FC" ||
15331    test -n "$runpath_var_FC" ||
15332    test "X$hardcode_automatic_FC" = "Xyes" ; then
15333
15334   # We can hardcode non-existent directories.
15335   if test "$hardcode_direct_FC" != no &&
15336      # If the only mechanism to avoid hardcoding is shlibpath_var, we
15337      # have to relink, otherwise we might link with an installed library
15338      # when we should be linking with a yet-to-be-installed one
15339      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15340      test "$hardcode_minus_L_FC" != no; then
15341     # Linking always hardcodes the temporary library directory.
15342     hardcode_action_FC=relink
15343   else
15344     # We can link without hardcoding, and we can hardcode nonexisting dirs.
15345     hardcode_action_FC=immediate
15346   fi
15347 else
15348   # We cannot hardcode anything, or else we can only hardcode existing
15349   # directories.
15350   hardcode_action_FC=unsupported
15351 fi
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15353 $as_echo "$hardcode_action_FC" >&6; }
15354
15355 if test "$hardcode_action_FC" = relink ||
15356    test "$inherit_rpath_FC" = yes; then
15357   # Fast installation is not supported
15358   enable_fast_install=no
15359 elif test "$shlibpath_overrides_runpath" = yes ||
15360      test "$enable_shared" = no; then
15361   # Fast installation is not necessary
15362   enable_fast_install=needless
15363 fi
15364
15365
15366
15367
15368
15369
15370
15371   fi # test -n "$compiler"
15372
15373   GCC=$lt_save_GCC
15374   CC="$lt_save_CC"
15375 fi # test "$_lt_disable_FC" != yes
15376
15377 ac_ext=c
15378 ac_cpp='$CPP $CPPFLAGS'
15379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15382
15383
15384
15385 # extra LD Flags which are required for targets
15386 case "${host}" in
15387   *-darwin*)
15388     # Darwin needs -single_module when linking libgfortran
15389     extra_ldflags_libgfortran=-Wl,-single_module
15390     ;;
15391 esac
15392
15393
15394 # We need a working compiler at that point, otherwise give a clear
15395 # error message and bail out.
15396
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15398 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15399 ac_ext=${ac_fc_srcext-f}
15400 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15401 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15402 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
15403
15404 cat > conftest.$ac_ext <<_ACEOF
15405
15406       program foo
15407       real, parameter :: bar = sin (12.34 / 2.5)
15408       end program foo
15409 _ACEOF
15410 if ac_fn_fc_try_compile "$LINENO"; then :
15411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15412 $as_echo "yes" >&6; }
15413 else
15414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15415 $as_echo "no" >&6; }
15416      as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15417
15418 fi
15419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15420 ac_ext=c
15421 ac_cpp='$CPP $CPPFLAGS'
15422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15425
15426
15427
15428 # Check whether --enable-largefile was given.
15429 if test "${enable_largefile+set}" = set; then :
15430   enableval=$enable_largefile;
15431 fi
15432
15433 if test "$enable_largefile" != no; then
15434
15435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15436 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15437 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15438   $as_echo_n "(cached) " >&6
15439 else
15440   ac_cv_sys_largefile_CC=no
15441      if test "$GCC" != yes; then
15442        ac_save_CC=$CC
15443        while :; do
15444          # IRIX 6.2 and later do not support large files by default,
15445          # so use the C compiler's -n32 option if that helps.
15446          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15447 /* end confdefs.h.  */
15448 #include <sys/types.h>
15449  /* Check that off_t can represent 2**63 - 1 correctly.
15450     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15451     since some C++ compilers masquerading as C compilers
15452     incorrectly reject 9223372036854775807.  */
15453 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15454   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15455                        && LARGE_OFF_T % 2147483647 == 1)
15456                       ? 1 : -1];
15457 int
15458 main ()
15459 {
15460
15461   ;
15462   return 0;
15463 }
15464 _ACEOF
15465          if ac_fn_c_try_compile "$LINENO"; then :
15466   break
15467 fi
15468 rm -f core conftest.err conftest.$ac_objext
15469          CC="$CC -n32"
15470          if ac_fn_c_try_compile "$LINENO"; then :
15471   ac_cv_sys_largefile_CC=' -n32'; break
15472 fi
15473 rm -f core conftest.err conftest.$ac_objext
15474          break
15475        done
15476        CC=$ac_save_CC
15477        rm -f conftest.$ac_ext
15478     fi
15479 fi
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15481 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15482   if test "$ac_cv_sys_largefile_CC" != no; then
15483     CC=$CC$ac_cv_sys_largefile_CC
15484   fi
15485
15486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15487 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15488 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15489   $as_echo_n "(cached) " >&6
15490 else
15491   while :; do
15492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15493 /* end confdefs.h.  */
15494 #include <sys/types.h>
15495  /* Check that off_t can represent 2**63 - 1 correctly.
15496     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15497     since some C++ compilers masquerading as C compilers
15498     incorrectly reject 9223372036854775807.  */
15499 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15500   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15501                        && LARGE_OFF_T % 2147483647 == 1)
15502                       ? 1 : -1];
15503 int
15504 main ()
15505 {
15506
15507   ;
15508   return 0;
15509 }
15510 _ACEOF
15511 if ac_fn_c_try_compile "$LINENO"; then :
15512   ac_cv_sys_file_offset_bits=no; break
15513 fi
15514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15516 /* end confdefs.h.  */
15517 #define _FILE_OFFSET_BITS 64
15518 #include <sys/types.h>
15519  /* Check that off_t can represent 2**63 - 1 correctly.
15520     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15521     since some C++ compilers masquerading as C compilers
15522     incorrectly reject 9223372036854775807.  */
15523 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15524   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15525                        && LARGE_OFF_T % 2147483647 == 1)
15526                       ? 1 : -1];
15527 int
15528 main ()
15529 {
15530
15531   ;
15532   return 0;
15533 }
15534 _ACEOF
15535 if ac_fn_c_try_compile "$LINENO"; then :
15536   ac_cv_sys_file_offset_bits=64; break
15537 fi
15538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15539   ac_cv_sys_file_offset_bits=unknown
15540   break
15541 done
15542 fi
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15544 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15545 case $ac_cv_sys_file_offset_bits in #(
15546   no | unknown) ;;
15547   *)
15548 cat >>confdefs.h <<_ACEOF
15549 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15550 _ACEOF
15551 ;;
15552 esac
15553 rm -rf conftest*
15554   if test $ac_cv_sys_file_offset_bits = unknown; then
15555     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15556 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15557 if test "${ac_cv_sys_large_files+set}" = set; then :
15558   $as_echo_n "(cached) " >&6
15559 else
15560   while :; do
15561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15562 /* end confdefs.h.  */
15563 #include <sys/types.h>
15564  /* Check that off_t can represent 2**63 - 1 correctly.
15565     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15566     since some C++ compilers masquerading as C compilers
15567     incorrectly reject 9223372036854775807.  */
15568 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15569   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15570                        && LARGE_OFF_T % 2147483647 == 1)
15571                       ? 1 : -1];
15572 int
15573 main ()
15574 {
15575
15576   ;
15577   return 0;
15578 }
15579 _ACEOF
15580 if ac_fn_c_try_compile "$LINENO"; then :
15581   ac_cv_sys_large_files=no; break
15582 fi
15583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15585 /* end confdefs.h.  */
15586 #define _LARGE_FILES 1
15587 #include <sys/types.h>
15588  /* Check that off_t can represent 2**63 - 1 correctly.
15589     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15590     since some C++ compilers masquerading as C compilers
15591     incorrectly reject 9223372036854775807.  */
15592 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15593   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15594                        && LARGE_OFF_T % 2147483647 == 1)
15595                       ? 1 : -1];
15596 int
15597 main ()
15598 {
15599
15600   ;
15601   return 0;
15602 }
15603 _ACEOF
15604 if ac_fn_c_try_compile "$LINENO"; then :
15605   ac_cv_sys_large_files=1; break
15606 fi
15607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15608   ac_cv_sys_large_files=unknown
15609   break
15610 done
15611 fi
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15613 $as_echo "$ac_cv_sys_large_files" >&6; }
15614 case $ac_cv_sys_large_files in #(
15615   no | unknown) ;;
15616   *)
15617 cat >>confdefs.h <<_ACEOF
15618 #define _LARGE_FILES $ac_cv_sys_large_files
15619 _ACEOF
15620 ;;
15621 esac
15622 rm -rf conftest*
15623   fi
15624 fi
15625
15626 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15627 if test "x$ac_cv_type_off_t" = x""yes; then :
15628
15629 else
15630
15631 cat >>confdefs.h <<_ACEOF
15632 #define off_t long int
15633 _ACEOF
15634
15635 fi
15636
15637
15638 # check header files
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15640 $as_echo_n "checking for ANSI C header files... " >&6; }
15641 if test "${ac_cv_header_stdc+set}" = set; then :
15642   $as_echo_n "(cached) " >&6
15643 else
15644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15645 /* end confdefs.h.  */
15646 #include <stdlib.h>
15647 #include <stdarg.h>
15648 #include <string.h>
15649 #include <float.h>
15650
15651 int
15652 main ()
15653 {
15654
15655   ;
15656   return 0;
15657 }
15658 _ACEOF
15659 if ac_fn_c_try_compile "$LINENO"; then :
15660   ac_cv_header_stdc=yes
15661 else
15662   ac_cv_header_stdc=no
15663 fi
15664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15665
15666 if test $ac_cv_header_stdc = yes; then
15667   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15669 /* end confdefs.h.  */
15670 #include <string.h>
15671
15672 _ACEOF
15673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15674   $EGREP "memchr" >/dev/null 2>&1; then :
15675
15676 else
15677   ac_cv_header_stdc=no
15678 fi
15679 rm -f conftest*
15680
15681 fi
15682
15683 if test $ac_cv_header_stdc = yes; then
15684   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15686 /* end confdefs.h.  */
15687 #include <stdlib.h>
15688
15689 _ACEOF
15690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15691   $EGREP "free" >/dev/null 2>&1; then :
15692
15693 else
15694   ac_cv_header_stdc=no
15695 fi
15696 rm -f conftest*
15697
15698 fi
15699
15700 if test $ac_cv_header_stdc = yes; then
15701   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15702   if test "$cross_compiling" = yes; then :
15703   :
15704 else
15705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15706 /* end confdefs.h.  */
15707 #include <ctype.h>
15708 #include <stdlib.h>
15709 #if ((' ' & 0x0FF) == 0x020)
15710 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15711 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15712 #else
15713 # define ISLOWER(c) \
15714                    (('a' <= (c) && (c) <= 'i') \
15715                      || ('j' <= (c) && (c) <= 'r') \
15716                      || ('s' <= (c) && (c) <= 'z'))
15717 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15718 #endif
15719
15720 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15721 int
15722 main ()
15723 {
15724   int i;
15725   for (i = 0; i < 256; i++)
15726     if (XOR (islower (i), ISLOWER (i))
15727         || toupper (i) != TOUPPER (i))
15728       return 2;
15729   return 0;
15730 }
15731 _ACEOF
15732 if ac_fn_c_try_run "$LINENO"; then :
15733
15734 else
15735   ac_cv_header_stdc=no
15736 fi
15737 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15738   conftest.$ac_objext conftest.beam conftest.$ac_ext
15739 fi
15740
15741 fi
15742 fi
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15744 $as_echo "$ac_cv_header_stdc" >&6; }
15745 if test $ac_cv_header_stdc = yes; then
15746
15747 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15748
15749 fi
15750
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
15752 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
15753 if test "${ac_cv_header_time+set}" = set; then :
15754   $as_echo_n "(cached) " >&6
15755 else
15756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15757 /* end confdefs.h.  */
15758 #include <sys/types.h>
15759 #include <sys/time.h>
15760 #include <time.h>
15761
15762 int
15763 main ()
15764 {
15765 if ((struct tm *) 0)
15766 return 0;
15767   ;
15768   return 0;
15769 }
15770 _ACEOF
15771 if ac_fn_c_try_compile "$LINENO"; then :
15772   ac_cv_header_time=yes
15773 else
15774   ac_cv_header_time=no
15775 fi
15776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15777 fi
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
15779 $as_echo "$ac_cv_header_time" >&6; }
15780 if test $ac_cv_header_time = yes; then
15781
15782 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
15783
15784 fi
15785
15786 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
15787 do :
15788   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15789 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15790 eval as_val=\$$as_ac_Header
15791    if test "x$as_val" = x""yes; then :
15792   cat >>confdefs.h <<_ACEOF
15793 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15794 _ACEOF
15795
15796 fi
15797
15798 done
15799
15800 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
15801 do :
15802   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15803 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15804 eval as_val=\$$as_ac_Header
15805    if test "x$as_val" = x""yes; then :
15806   cat >>confdefs.h <<_ACEOF
15807 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15808 _ACEOF
15809
15810 fi
15811
15812 done
15813
15814 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15815 do :
15816   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15817 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15818 eval as_val=\$$as_ac_Header
15819    if test "x$as_val" = x""yes; then :
15820   cat >>confdefs.h <<_ACEOF
15821 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15822 _ACEOF
15823
15824 fi
15825
15826 done
15827
15828 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15829 do :
15830   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15831 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15832 eval as_val=\$$as_ac_Header
15833    if test "x$as_val" = x""yes; then :
15834   cat >>confdefs.h <<_ACEOF
15835 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15836 _ACEOF
15837
15838 fi
15839
15840 done
15841
15842 ac_fn_c_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
15843 if test "x$ac_cv_header_complex_h" = x""yes; then :
15844
15845 $as_echo "#define HAVE_COMPLEX_H 1" >>confdefs.h
15846
15847 fi
15848
15849
15850
15851
15852 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
15853
15854 acx_cv_header_stdint=stddef.h
15855 acx_cv_header_stdint_kind="(already complete)"
15856 for i in stdint.h $inttype_headers; do
15857   unset ac_cv_type_uintptr_t
15858   unset ac_cv_type_uintmax_t
15859   unset ac_cv_type_int_least32_t
15860   unset ac_cv_type_int_fast32_t
15861   unset ac_cv_type_uint64_t
15862   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15863   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15864 #include <$i>
15865 "
15866 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
15867   acx_cv_header_stdint=$i
15868 else
15869   continue
15870 fi
15871
15872   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15873 #include <$i>
15874 "
15875 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15876
15877 else
15878   acx_cv_header_stdint_kind="(mostly complete)"
15879 fi
15880
15881   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15882 #include <$i>
15883 "
15884 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
15885
15886 else
15887   acx_cv_header_stdint_kind="(mostly complete)"
15888 fi
15889
15890   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15891 #include <$i>
15892 "
15893 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
15894
15895 else
15896   acx_cv_header_stdint_kind="(mostly complete)"
15897 fi
15898
15899   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15900 #include <$i>
15901 "
15902 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15903
15904 else
15905   acx_cv_header_stdint_kind="(lacks uint64_t)"
15906 fi
15907
15908   break
15909 done
15910 if test "$acx_cv_header_stdint" = stddef.h; then
15911   acx_cv_header_stdint_kind="(lacks uintmax_t)"
15912   for i in stdint.h $inttype_headers; do
15913     unset ac_cv_type_uintptr_t
15914     unset ac_cv_type_uint32_t
15915     unset ac_cv_type_uint64_t
15916     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15917     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15918 #include <$i>
15919 "
15920 if test "x$ac_cv_type_uint32_t" = x""yes; then :
15921   acx_cv_header_stdint=$i
15922 else
15923   continue
15924 fi
15925
15926     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15927 #include <$i>
15928 "
15929 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15930
15931 fi
15932
15933     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15934 #include <$i>
15935 "
15936 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15937
15938 fi
15939
15940     break
15941   done
15942 fi
15943 if test "$acx_cv_header_stdint" = stddef.h; then
15944   acx_cv_header_stdint_kind="(u_intXX_t style)"
15945   for i in sys/types.h $inttype_headers; do
15946     unset ac_cv_type_u_int32_t
15947     unset ac_cv_type_u_int64_t
15948     $as_echo_n "looking for u_intXX_t types in $i, " >&6
15949     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15950 #include <$i>
15951 "
15952 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
15953   acx_cv_header_stdint=$i
15954 else
15955   continue
15956 fi
15957
15958     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15959 #include <$i>
15960 "
15961 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
15962
15963 fi
15964
15965     break
15966   done
15967 fi
15968 if test "$acx_cv_header_stdint" = stddef.h; then
15969   acx_cv_header_stdint_kind="(using manual detection)"
15970 fi
15971
15972 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15973 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15974 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15975 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15976 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15977
15978 # ----------------- Summarize what we found so far
15979
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15981 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15982
15983 case `$as_basename -- gstdint.h ||
15984 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15985          Xgstdint.h : 'X\(//\)$' \| \
15986          Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15987 $as_echo X/gstdint.h |
15988     sed '/^.*\/\([^/][^/]*\)\/*$/{
15989             s//\1/
15990             q
15991           }
15992           /^X\/\(\/\/\)$/{
15993             s//\1/
15994             q
15995           }
15996           /^X\/\(\/\).*/{
15997             s//\1/
15998             q
15999           }
16000           s/.*/./; q'` in
16001   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16002 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16003   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16004 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16005   *) ;;
16006 esac
16007
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16009 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16010
16011 # ----------------- done included file, check C basic types --------
16012
16013 # Lacking an uintptr_t?  Test size of void *
16014 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16015   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16016 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16017 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16018 # This bug is HP SR number 8606223364.
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16020 $as_echo_n "checking size of void *... " >&6; }
16021 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16022   $as_echo_n "(cached) " >&6
16023 else
16024   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
16025
16026 else
16027   if test "$ac_cv_type_void_p" = yes; then
16028      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16030 { as_fn_set_status 77
16031 as_fn_error "cannot compute sizeof (void *)
16032 See \`config.log' for more details." "$LINENO" 5; }; }
16033    else
16034      ac_cv_sizeof_void_p=0
16035    fi
16036 fi
16037
16038 fi
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16040 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16041
16042
16043
16044 cat >>confdefs.h <<_ACEOF
16045 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16046 _ACEOF
16047
16048  ;;
16049 esac
16050
16051 # Lacking an uint64_t?  Test size of long
16052 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16053   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16054 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16055 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16056 # This bug is HP SR number 8606223364.
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16058 $as_echo_n "checking size of long... " >&6; }
16059 if test "${ac_cv_sizeof_long+set}" = set; then :
16060   $as_echo_n "(cached) " >&6
16061 else
16062   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
16063
16064 else
16065   if test "$ac_cv_type_long" = yes; then
16066      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16068 { as_fn_set_status 77
16069 as_fn_error "cannot compute sizeof (long)
16070 See \`config.log' for more details." "$LINENO" 5; }; }
16071    else
16072      ac_cv_sizeof_long=0
16073    fi
16074 fi
16075
16076 fi
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16078 $as_echo "$ac_cv_sizeof_long" >&6; }
16079
16080
16081
16082 cat >>confdefs.h <<_ACEOF
16083 #define SIZEOF_LONG $ac_cv_sizeof_long
16084 _ACEOF
16085
16086  ;;
16087 esac
16088
16089 if test $acx_cv_header_stdint = stddef.h; then
16090   # Lacking a good header?  Test size of everything and deduce all types.
16091   # The cast to long int works around a bug in the HP C Compiler
16092 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16093 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16094 # This bug is HP SR number 8606223364.
16095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16096 $as_echo_n "checking size of int... " >&6; }
16097 if test "${ac_cv_sizeof_int+set}" = set; then :
16098   $as_echo_n "(cached) " >&6
16099 else
16100   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
16101
16102 else
16103   if test "$ac_cv_type_int" = yes; then
16104      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16106 { as_fn_set_status 77
16107 as_fn_error "cannot compute sizeof (int)
16108 See \`config.log' for more details." "$LINENO" 5; }; }
16109    else
16110      ac_cv_sizeof_int=0
16111    fi
16112 fi
16113
16114 fi
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16116 $as_echo "$ac_cv_sizeof_int" >&6; }
16117
16118
16119
16120 cat >>confdefs.h <<_ACEOF
16121 #define SIZEOF_INT $ac_cv_sizeof_int
16122 _ACEOF
16123
16124
16125   # The cast to long int works around a bug in the HP C Compiler
16126 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16127 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16128 # This bug is HP SR number 8606223364.
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16130 $as_echo_n "checking size of short... " >&6; }
16131 if test "${ac_cv_sizeof_short+set}" = set; then :
16132   $as_echo_n "(cached) " >&6
16133 else
16134   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
16135
16136 else
16137   if test "$ac_cv_type_short" = yes; then
16138      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16140 { as_fn_set_status 77
16141 as_fn_error "cannot compute sizeof (short)
16142 See \`config.log' for more details." "$LINENO" 5; }; }
16143    else
16144      ac_cv_sizeof_short=0
16145    fi
16146 fi
16147
16148 fi
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16150 $as_echo "$ac_cv_sizeof_short" >&6; }
16151
16152
16153
16154 cat >>confdefs.h <<_ACEOF
16155 #define SIZEOF_SHORT $ac_cv_sizeof_short
16156 _ACEOF
16157
16158
16159   # The cast to long int works around a bug in the HP C Compiler
16160 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16161 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16162 # This bug is HP SR number 8606223364.
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16164 $as_echo_n "checking size of char... " >&6; }
16165 if test "${ac_cv_sizeof_char+set}" = set; then :
16166   $as_echo_n "(cached) " >&6
16167 else
16168   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
16169
16170 else
16171   if test "$ac_cv_type_char" = yes; then
16172      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16174 { as_fn_set_status 77
16175 as_fn_error "cannot compute sizeof (char)
16176 See \`config.log' for more details." "$LINENO" 5; }; }
16177    else
16178      ac_cv_sizeof_char=0
16179    fi
16180 fi
16181
16182 fi
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16184 $as_echo "$ac_cv_sizeof_char" >&6; }
16185
16186
16187
16188 cat >>confdefs.h <<_ACEOF
16189 #define SIZEOF_CHAR $ac_cv_sizeof_char
16190 _ACEOF
16191
16192
16193
16194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16195 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16196   case "$ac_cv_sizeof_char" in
16197     1) acx_cv_type_int8_t=char ;;
16198     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
16199   esac
16200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16201 $as_echo "$acx_cv_type_int8_t" >&6; }
16202
16203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16204 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16205   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16206     2:*) acx_cv_type_int16_t=int ;;
16207     *:2) acx_cv_type_int16_t=short ;;
16208     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
16209   esac
16210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16211 $as_echo "$acx_cv_type_int16_t" >&6; }
16212
16213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16214 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16215   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16216     4:*) acx_cv_type_int32_t=int ;;
16217     *:4) acx_cv_type_int32_t=long ;;
16218     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
16219   esac
16220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16221 $as_echo "$acx_cv_type_int32_t" >&6; }
16222 fi
16223
16224 # These tests are here to make the output prettier
16225
16226 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16227   case "$ac_cv_sizeof_long" in
16228     8) acx_cv_type_int64_t=long ;;
16229   esac
16230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16231 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16233 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16234 fi
16235
16236 # Now we can use the above types
16237
16238 if test "$ac_cv_type_uintptr_t" != yes; then
16239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16240 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16241   case $ac_cv_sizeof_void_p in
16242     2) acx_cv_type_intptr_t=int16_t ;;
16243     4) acx_cv_type_intptr_t=int32_t ;;
16244     8) acx_cv_type_intptr_t=int64_t ;;
16245     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16246   esac
16247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16248 $as_echo "$acx_cv_type_intptr_t" >&6; }
16249 fi
16250
16251 # ----------------- done all checks, emit header -------------
16252 ac_config_commands="$ac_config_commands gstdint.h"
16253
16254
16255
16256
16257 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16258 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
16259
16260 cat >>confdefs.h <<_ACEOF
16261 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16262 _ACEOF
16263
16264
16265 fi
16266
16267 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16268 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
16269
16270 cat >>confdefs.h <<_ACEOF
16271 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16272 _ACEOF
16273
16274
16275 fi
16276
16277 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16278 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
16279
16280 cat >>confdefs.h <<_ACEOF
16281 #define HAVE_STRUCT_STAT_ST_RDEV 1
16282 _ACEOF
16283
16284
16285 fi
16286
16287
16288 # Check for library functions.
16289 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
16290 do :
16291   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16292 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16293 eval as_val=\$$as_ac_var
16294    if test "x$as_val" = x""yes; then :
16295   cat >>confdefs.h <<_ACEOF
16296 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16297 _ACEOF
16298
16299 fi
16300 done
16301
16302 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
16303 do :
16304   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16305 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16306 eval as_val=\$$as_ac_var
16307    if test "x$as_val" = x""yes; then :
16308   cat >>confdefs.h <<_ACEOF
16309 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16310 _ACEOF
16311
16312 fi
16313 done
16314
16315 for ac_func in sleep time ttyname signal alarm clock access fork execl
16316 do :
16317   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16318 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16319 eval as_val=\$$as_ac_var
16320    if test "x$as_val" = x""yes; then :
16321   cat >>confdefs.h <<_ACEOF
16322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16323 _ACEOF
16324
16325 fi
16326 done
16327
16328 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
16329 do :
16330   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16331 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16332 eval as_val=\$$as_ac_var
16333    if test "x$as_val" = x""yes; then :
16334   cat >>confdefs.h <<_ACEOF
16335 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16336 _ACEOF
16337
16338 fi
16339 done
16340
16341 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
16342 do :
16343   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16344 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16345 eval as_val=\$$as_ac_var
16346    if test "x$as_val" = x""yes; then :
16347   cat >>confdefs.h <<_ACEOF
16348 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16349 _ACEOF
16350
16351 fi
16352 done
16353
16354 for ac_func in localtime_r gmtime_r strerror_r getpwuid_r ttyname_r
16355 do :
16356   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16357 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16358 eval as_val=\$$as_ac_var
16359    if test "x$as_val" = x""yes; then :
16360   cat >>confdefs.h <<_ACEOF
16361 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16362 _ACEOF
16363
16364 fi
16365 done
16366
16367 for ac_func in clock_gettime strftime
16368 do :
16369   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16370 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16371 eval as_val=\$$as_ac_var
16372    if test "x$as_val" = x""yes; then :
16373   cat >>confdefs.h <<_ACEOF
16374 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16375 _ACEOF
16376
16377 fi
16378 done
16379
16380
16381 # Check for glibc backtrace functions
16382 for ac_func in backtrace backtrace_symbols
16383 do :
16384   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16386 eval as_val=\$$as_ac_var
16387    if test "x$as_val" = x""yes; then :
16388   cat >>confdefs.h <<_ACEOF
16389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16390 _ACEOF
16391
16392 fi
16393 done
16394
16395
16396 # Check for types
16397 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16398 if test "x$ac_cv_type_intptr_t" = x""yes; then :
16399
16400 cat >>confdefs.h <<_ACEOF
16401 #define HAVE_INTPTR_T 1
16402 _ACEOF
16403
16404
16405 fi
16406
16407 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16408 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16409
16410 cat >>confdefs.h <<_ACEOF
16411 #define HAVE_UINTPTR_T 1
16412 _ACEOF
16413
16414
16415 fi
16416
16417
16418 # Check libc for getgid, getpid, getuid
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
16420 $as_echo_n "checking for getgid in -lc... " >&6; }
16421 if test "${ac_cv_lib_c_getgid+set}" = set; then :
16422   $as_echo_n "(cached) " >&6
16423 else
16424   ac_check_lib_save_LIBS=$LIBS
16425 LIBS="-lc  $LIBS"
16426 if test x$gcc_no_link = xyes; then
16427   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16428 fi
16429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16430 /* end confdefs.h.  */
16431
16432 /* Override any GCC internal prototype to avoid an error.
16433    Use char because int might match the return type of a GCC
16434    builtin and then its argument prototype would still apply.  */
16435 #ifdef __cplusplus
16436 extern "C"
16437 #endif
16438 char getgid ();
16439 int
16440 main ()
16441 {
16442 return getgid ();
16443   ;
16444   return 0;
16445 }
16446 _ACEOF
16447 if ac_fn_c_try_link "$LINENO"; then :
16448   ac_cv_lib_c_getgid=yes
16449 else
16450   ac_cv_lib_c_getgid=no
16451 fi
16452 rm -f core conftest.err conftest.$ac_objext \
16453     conftest$ac_exeext conftest.$ac_ext
16454 LIBS=$ac_check_lib_save_LIBS
16455 fi
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
16457 $as_echo "$ac_cv_lib_c_getgid" >&6; }
16458 if test "x$ac_cv_lib_c_getgid" = x""yes; then :
16459
16460 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
16461
16462 fi
16463
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
16465 $as_echo_n "checking for getpid in -lc... " >&6; }
16466 if test "${ac_cv_lib_c_getpid+set}" = set; then :
16467   $as_echo_n "(cached) " >&6
16468 else
16469   ac_check_lib_save_LIBS=$LIBS
16470 LIBS="-lc  $LIBS"
16471 if test x$gcc_no_link = xyes; then
16472   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16473 fi
16474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16475 /* end confdefs.h.  */
16476
16477 /* Override any GCC internal prototype to avoid an error.
16478    Use char because int might match the return type of a GCC
16479    builtin and then its argument prototype would still apply.  */
16480 #ifdef __cplusplus
16481 extern "C"
16482 #endif
16483 char getpid ();
16484 int
16485 main ()
16486 {
16487 return getpid ();
16488   ;
16489   return 0;
16490 }
16491 _ACEOF
16492 if ac_fn_c_try_link "$LINENO"; then :
16493   ac_cv_lib_c_getpid=yes
16494 else
16495   ac_cv_lib_c_getpid=no
16496 fi
16497 rm -f core conftest.err conftest.$ac_objext \
16498     conftest$ac_exeext conftest.$ac_ext
16499 LIBS=$ac_check_lib_save_LIBS
16500 fi
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
16502 $as_echo "$ac_cv_lib_c_getpid" >&6; }
16503 if test "x$ac_cv_lib_c_getpid" = x""yes; then :
16504
16505 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
16506
16507 fi
16508
16509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getppid in -lc" >&5
16510 $as_echo_n "checking for getppid in -lc... " >&6; }
16511 if test "${ac_cv_lib_c_getppid+set}" = set; then :
16512   $as_echo_n "(cached) " >&6
16513 else
16514   ac_check_lib_save_LIBS=$LIBS
16515 LIBS="-lc  $LIBS"
16516 if test x$gcc_no_link = xyes; then
16517   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16518 fi
16519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16520 /* end confdefs.h.  */
16521
16522 /* Override any GCC internal prototype to avoid an error.
16523    Use char because int might match the return type of a GCC
16524    builtin and then its argument prototype would still apply.  */
16525 #ifdef __cplusplus
16526 extern "C"
16527 #endif
16528 char getppid ();
16529 int
16530 main ()
16531 {
16532 return getppid ();
16533   ;
16534   return 0;
16535 }
16536 _ACEOF
16537 if ac_fn_c_try_link "$LINENO"; then :
16538   ac_cv_lib_c_getppid=yes
16539 else
16540   ac_cv_lib_c_getppid=no
16541 fi
16542 rm -f core conftest.err conftest.$ac_objext \
16543     conftest$ac_exeext conftest.$ac_ext
16544 LIBS=$ac_check_lib_save_LIBS
16545 fi
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getppid" >&5
16547 $as_echo "$ac_cv_lib_c_getppid" >&6; }
16548 if test "x$ac_cv_lib_c_getppid" = x""yes; then :
16549
16550 $as_echo "#define HAVE_GETPPID 1" >>confdefs.h
16551
16552 fi
16553
16554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
16555 $as_echo_n "checking for getuid in -lc... " >&6; }
16556 if test "${ac_cv_lib_c_getuid+set}" = set; then :
16557   $as_echo_n "(cached) " >&6
16558 else
16559   ac_check_lib_save_LIBS=$LIBS
16560 LIBS="-lc  $LIBS"
16561 if test x$gcc_no_link = xyes; then
16562   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16563 fi
16564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16565 /* end confdefs.h.  */
16566
16567 /* Override any GCC internal prototype to avoid an error.
16568    Use char because int might match the return type of a GCC
16569    builtin and then its argument prototype would still apply.  */
16570 #ifdef __cplusplus
16571 extern "C"
16572 #endif
16573 char getuid ();
16574 int
16575 main ()
16576 {
16577 return getuid ();
16578   ;
16579   return 0;
16580 }
16581 _ACEOF
16582 if ac_fn_c_try_link "$LINENO"; then :
16583   ac_cv_lib_c_getuid=yes
16584 else
16585   ac_cv_lib_c_getuid=no
16586 fi
16587 rm -f core conftest.err conftest.$ac_objext \
16588     conftest$ac_exeext conftest.$ac_ext
16589 LIBS=$ac_check_lib_save_LIBS
16590 fi
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
16592 $as_echo "$ac_cv_lib_c_getuid" >&6; }
16593 if test "x$ac_cv_lib_c_getuid" = x""yes; then :
16594
16595 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
16596
16597 fi
16598
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geteuid in -lc" >&5
16600 $as_echo_n "checking for geteuid in -lc... " >&6; }
16601 if test "${ac_cv_lib_c_geteuid+set}" = set; then :
16602   $as_echo_n "(cached) " >&6
16603 else
16604   ac_check_lib_save_LIBS=$LIBS
16605 LIBS="-lc  $LIBS"
16606 if test x$gcc_no_link = xyes; then
16607   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16608 fi
16609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16610 /* end confdefs.h.  */
16611
16612 /* Override any GCC internal prototype to avoid an error.
16613    Use char because int might match the return type of a GCC
16614    builtin and then its argument prototype would still apply.  */
16615 #ifdef __cplusplus
16616 extern "C"
16617 #endif
16618 char geteuid ();
16619 int
16620 main ()
16621 {
16622 return geteuid ();
16623   ;
16624   return 0;
16625 }
16626 _ACEOF
16627 if ac_fn_c_try_link "$LINENO"; then :
16628   ac_cv_lib_c_geteuid=yes
16629 else
16630   ac_cv_lib_c_geteuid=no
16631 fi
16632 rm -f core conftest.err conftest.$ac_objext \
16633     conftest$ac_exeext conftest.$ac_ext
16634 LIBS=$ac_check_lib_save_LIBS
16635 fi
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_geteuid" >&5
16637 $as_echo "$ac_cv_lib_c_geteuid" >&6; }
16638 if test "x$ac_cv_lib_c_geteuid" = x""yes; then :
16639
16640 $as_echo "#define HAVE_GETEUID 1" >>confdefs.h
16641
16642 fi
16643
16644
16645 # Check for C99 (and other IEEE) math functions
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
16647 $as_echo_n "checking for acosf in -lm... " >&6; }
16648 if test "${ac_cv_lib_m_acosf+set}" = set; then :
16649   $as_echo_n "(cached) " >&6
16650 else
16651   ac_check_lib_save_LIBS=$LIBS
16652 LIBS="-lm  $LIBS"
16653 if test x$gcc_no_link = xyes; then
16654   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16655 fi
16656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16657 /* end confdefs.h.  */
16658
16659 /* Override any GCC internal prototype to avoid an error.
16660    Use char because int might match the return type of a GCC
16661    builtin and then its argument prototype would still apply.  */
16662 #ifdef __cplusplus
16663 extern "C"
16664 #endif
16665 char acosf ();
16666 int
16667 main ()
16668 {
16669 return acosf ();
16670   ;
16671   return 0;
16672 }
16673 _ACEOF
16674 if ac_fn_c_try_link "$LINENO"; then :
16675   ac_cv_lib_m_acosf=yes
16676 else
16677   ac_cv_lib_m_acosf=no
16678 fi
16679 rm -f core conftest.err conftest.$ac_objext \
16680     conftest$ac_exeext conftest.$ac_ext
16681 LIBS=$ac_check_lib_save_LIBS
16682 fi
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
16684 $as_echo "$ac_cv_lib_m_acosf" >&6; }
16685 if test "x$ac_cv_lib_m_acosf" = x""yes; then :
16686
16687 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
16688
16689 fi
16690
16691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
16692 $as_echo_n "checking for acos in -lm... " >&6; }
16693 if test "${ac_cv_lib_m_acos+set}" = set; then :
16694   $as_echo_n "(cached) " >&6
16695 else
16696   ac_check_lib_save_LIBS=$LIBS
16697 LIBS="-lm  $LIBS"
16698 if test x$gcc_no_link = xyes; then
16699   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16700 fi
16701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16702 /* end confdefs.h.  */
16703
16704 /* Override any GCC internal prototype to avoid an error.
16705    Use char because int might match the return type of a GCC
16706    builtin and then its argument prototype would still apply.  */
16707 #ifdef __cplusplus
16708 extern "C"
16709 #endif
16710 char acos ();
16711 int
16712 main ()
16713 {
16714 return acos ();
16715   ;
16716   return 0;
16717 }
16718 _ACEOF
16719 if ac_fn_c_try_link "$LINENO"; then :
16720   ac_cv_lib_m_acos=yes
16721 else
16722   ac_cv_lib_m_acos=no
16723 fi
16724 rm -f core conftest.err conftest.$ac_objext \
16725     conftest$ac_exeext conftest.$ac_ext
16726 LIBS=$ac_check_lib_save_LIBS
16727 fi
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
16729 $as_echo "$ac_cv_lib_m_acos" >&6; }
16730 if test "x$ac_cv_lib_m_acos" = x""yes; then :
16731
16732 $as_echo "#define HAVE_ACOS 1" >>confdefs.h
16733
16734 fi
16735
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
16737 $as_echo_n "checking for acosl in -lm... " >&6; }
16738 if test "${ac_cv_lib_m_acosl+set}" = set; then :
16739   $as_echo_n "(cached) " >&6
16740 else
16741   ac_check_lib_save_LIBS=$LIBS
16742 LIBS="-lm  $LIBS"
16743 if test x$gcc_no_link = xyes; then
16744   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16745 fi
16746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16747 /* end confdefs.h.  */
16748
16749 /* Override any GCC internal prototype to avoid an error.
16750    Use char because int might match the return type of a GCC
16751    builtin and then its argument prototype would still apply.  */
16752 #ifdef __cplusplus
16753 extern "C"
16754 #endif
16755 char acosl ();
16756 int
16757 main ()
16758 {
16759 return acosl ();
16760   ;
16761   return 0;
16762 }
16763 _ACEOF
16764 if ac_fn_c_try_link "$LINENO"; then :
16765   ac_cv_lib_m_acosl=yes
16766 else
16767   ac_cv_lib_m_acosl=no
16768 fi
16769 rm -f core conftest.err conftest.$ac_objext \
16770     conftest$ac_exeext conftest.$ac_ext
16771 LIBS=$ac_check_lib_save_LIBS
16772 fi
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosl" >&5
16774 $as_echo "$ac_cv_lib_m_acosl" >&6; }
16775 if test "x$ac_cv_lib_m_acosl" = x""yes; then :
16776
16777 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
16778
16779 fi
16780
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
16782 $as_echo_n "checking for acoshf in -lm... " >&6; }
16783 if test "${ac_cv_lib_m_acoshf+set}" = set; then :
16784   $as_echo_n "(cached) " >&6
16785 else
16786   ac_check_lib_save_LIBS=$LIBS
16787 LIBS="-lm  $LIBS"
16788 if test x$gcc_no_link = xyes; then
16789   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16790 fi
16791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16792 /* end confdefs.h.  */
16793
16794 /* Override any GCC internal prototype to avoid an error.
16795    Use char because int might match the return type of a GCC
16796    builtin and then its argument prototype would still apply.  */
16797 #ifdef __cplusplus
16798 extern "C"
16799 #endif
16800 char acoshf ();
16801 int
16802 main ()
16803 {
16804 return acoshf ();
16805   ;
16806   return 0;
16807 }
16808 _ACEOF
16809 if ac_fn_c_try_link "$LINENO"; then :
16810   ac_cv_lib_m_acoshf=yes
16811 else
16812   ac_cv_lib_m_acoshf=no
16813 fi
16814 rm -f core conftest.err conftest.$ac_objext \
16815     conftest$ac_exeext conftest.$ac_ext
16816 LIBS=$ac_check_lib_save_LIBS
16817 fi
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshf" >&5
16819 $as_echo "$ac_cv_lib_m_acoshf" >&6; }
16820 if test "x$ac_cv_lib_m_acoshf" = x""yes; then :
16821
16822 $as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16823
16824 fi
16825
16826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16827 $as_echo_n "checking for acosh in -lm... " >&6; }
16828 if test "${ac_cv_lib_m_acosh+set}" = set; then :
16829   $as_echo_n "(cached) " >&6
16830 else
16831   ac_check_lib_save_LIBS=$LIBS
16832 LIBS="-lm  $LIBS"
16833 if test x$gcc_no_link = xyes; then
16834   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16835 fi
16836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16837 /* end confdefs.h.  */
16838
16839 /* Override any GCC internal prototype to avoid an error.
16840    Use char because int might match the return type of a GCC
16841    builtin and then its argument prototype would still apply.  */
16842 #ifdef __cplusplus
16843 extern "C"
16844 #endif
16845 char acosh ();
16846 int
16847 main ()
16848 {
16849 return acosh ();
16850   ;
16851   return 0;
16852 }
16853 _ACEOF
16854 if ac_fn_c_try_link "$LINENO"; then :
16855   ac_cv_lib_m_acosh=yes
16856 else
16857   ac_cv_lib_m_acosh=no
16858 fi
16859 rm -f core conftest.err conftest.$ac_objext \
16860     conftest$ac_exeext conftest.$ac_ext
16861 LIBS=$ac_check_lib_save_LIBS
16862 fi
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosh" >&5
16864 $as_echo "$ac_cv_lib_m_acosh" >&6; }
16865 if test "x$ac_cv_lib_m_acosh" = x""yes; then :
16866
16867 $as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16868
16869 fi
16870
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16872 $as_echo_n "checking for acoshl in -lm... " >&6; }
16873 if test "${ac_cv_lib_m_acoshl+set}" = set; then :
16874   $as_echo_n "(cached) " >&6
16875 else
16876   ac_check_lib_save_LIBS=$LIBS
16877 LIBS="-lm  $LIBS"
16878 if test x$gcc_no_link = xyes; then
16879   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16880 fi
16881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16882 /* end confdefs.h.  */
16883
16884 /* Override any GCC internal prototype to avoid an error.
16885    Use char because int might match the return type of a GCC
16886    builtin and then its argument prototype would still apply.  */
16887 #ifdef __cplusplus
16888 extern "C"
16889 #endif
16890 char acoshl ();
16891 int
16892 main ()
16893 {
16894 return acoshl ();
16895   ;
16896   return 0;
16897 }
16898 _ACEOF
16899 if ac_fn_c_try_link "$LINENO"; then :
16900   ac_cv_lib_m_acoshl=yes
16901 else
16902   ac_cv_lib_m_acoshl=no
16903 fi
16904 rm -f core conftest.err conftest.$ac_objext \
16905     conftest$ac_exeext conftest.$ac_ext
16906 LIBS=$ac_check_lib_save_LIBS
16907 fi
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshl" >&5
16909 $as_echo "$ac_cv_lib_m_acoshl" >&6; }
16910 if test "x$ac_cv_lib_m_acoshl" = x""yes; then :
16911
16912 $as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16913
16914 fi
16915
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16917 $as_echo_n "checking for asinf in -lm... " >&6; }
16918 if test "${ac_cv_lib_m_asinf+set}" = set; then :
16919   $as_echo_n "(cached) " >&6
16920 else
16921   ac_check_lib_save_LIBS=$LIBS
16922 LIBS="-lm  $LIBS"
16923 if test x$gcc_no_link = xyes; then
16924   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16925 fi
16926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16927 /* end confdefs.h.  */
16928
16929 /* Override any GCC internal prototype to avoid an error.
16930    Use char because int might match the return type of a GCC
16931    builtin and then its argument prototype would still apply.  */
16932 #ifdef __cplusplus
16933 extern "C"
16934 #endif
16935 char asinf ();
16936 int
16937 main ()
16938 {
16939 return asinf ();
16940   ;
16941   return 0;
16942 }
16943 _ACEOF
16944 if ac_fn_c_try_link "$LINENO"; then :
16945   ac_cv_lib_m_asinf=yes
16946 else
16947   ac_cv_lib_m_asinf=no
16948 fi
16949 rm -f core conftest.err conftest.$ac_objext \
16950     conftest$ac_exeext conftest.$ac_ext
16951 LIBS=$ac_check_lib_save_LIBS
16952 fi
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinf" >&5
16954 $as_echo "$ac_cv_lib_m_asinf" >&6; }
16955 if test "x$ac_cv_lib_m_asinf" = x""yes; then :
16956
16957 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
16958
16959 fi
16960
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16962 $as_echo_n "checking for asin in -lm... " >&6; }
16963 if test "${ac_cv_lib_m_asin+set}" = set; then :
16964   $as_echo_n "(cached) " >&6
16965 else
16966   ac_check_lib_save_LIBS=$LIBS
16967 LIBS="-lm  $LIBS"
16968 if test x$gcc_no_link = xyes; then
16969   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16970 fi
16971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16972 /* end confdefs.h.  */
16973
16974 /* Override any GCC internal prototype to avoid an error.
16975    Use char because int might match the return type of a GCC
16976    builtin and then its argument prototype would still apply.  */
16977 #ifdef __cplusplus
16978 extern "C"
16979 #endif
16980 char asin ();
16981 int
16982 main ()
16983 {
16984 return asin ();
16985   ;
16986   return 0;
16987 }
16988 _ACEOF
16989 if ac_fn_c_try_link "$LINENO"; then :
16990   ac_cv_lib_m_asin=yes
16991 else
16992   ac_cv_lib_m_asin=no
16993 fi
16994 rm -f core conftest.err conftest.$ac_objext \
16995     conftest$ac_exeext conftest.$ac_ext
16996 LIBS=$ac_check_lib_save_LIBS
16997 fi
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5
16999 $as_echo "$ac_cv_lib_m_asin" >&6; }
17000 if test "x$ac_cv_lib_m_asin" = x""yes; then :
17001
17002 $as_echo "#define HAVE_ASIN 1" >>confdefs.h
17003
17004 fi
17005
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
17007 $as_echo_n "checking for asinl in -lm... " >&6; }
17008 if test "${ac_cv_lib_m_asinl+set}" = set; then :
17009   $as_echo_n "(cached) " >&6
17010 else
17011   ac_check_lib_save_LIBS=$LIBS
17012 LIBS="-lm  $LIBS"
17013 if test x$gcc_no_link = xyes; then
17014   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17015 fi
17016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17017 /* end confdefs.h.  */
17018
17019 /* Override any GCC internal prototype to avoid an error.
17020    Use char because int might match the return type of a GCC
17021    builtin and then its argument prototype would still apply.  */
17022 #ifdef __cplusplus
17023 extern "C"
17024 #endif
17025 char asinl ();
17026 int
17027 main ()
17028 {
17029 return asinl ();
17030   ;
17031   return 0;
17032 }
17033 _ACEOF
17034 if ac_fn_c_try_link "$LINENO"; then :
17035   ac_cv_lib_m_asinl=yes
17036 else
17037   ac_cv_lib_m_asinl=no
17038 fi
17039 rm -f core conftest.err conftest.$ac_objext \
17040     conftest$ac_exeext conftest.$ac_ext
17041 LIBS=$ac_check_lib_save_LIBS
17042 fi
17043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinl" >&5
17044 $as_echo "$ac_cv_lib_m_asinl" >&6; }
17045 if test "x$ac_cv_lib_m_asinl" = x""yes; then :
17046
17047 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
17048
17049 fi
17050
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
17052 $as_echo_n "checking for asinhf in -lm... " >&6; }
17053 if test "${ac_cv_lib_m_asinhf+set}" = set; then :
17054   $as_echo_n "(cached) " >&6
17055 else
17056   ac_check_lib_save_LIBS=$LIBS
17057 LIBS="-lm  $LIBS"
17058 if test x$gcc_no_link = xyes; then
17059   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17060 fi
17061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17062 /* end confdefs.h.  */
17063
17064 /* Override any GCC internal prototype to avoid an error.
17065    Use char because int might match the return type of a GCC
17066    builtin and then its argument prototype would still apply.  */
17067 #ifdef __cplusplus
17068 extern "C"
17069 #endif
17070 char asinhf ();
17071 int
17072 main ()
17073 {
17074 return asinhf ();
17075   ;
17076   return 0;
17077 }
17078 _ACEOF
17079 if ac_fn_c_try_link "$LINENO"; then :
17080   ac_cv_lib_m_asinhf=yes
17081 else
17082   ac_cv_lib_m_asinhf=no
17083 fi
17084 rm -f core conftest.err conftest.$ac_objext \
17085     conftest$ac_exeext conftest.$ac_ext
17086 LIBS=$ac_check_lib_save_LIBS
17087 fi
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhf" >&5
17089 $as_echo "$ac_cv_lib_m_asinhf" >&6; }
17090 if test "x$ac_cv_lib_m_asinhf" = x""yes; then :
17091
17092 $as_echo "#define HAVE_ASINHF 1" >>confdefs.h
17093
17094 fi
17095
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
17097 $as_echo_n "checking for asinh in -lm... " >&6; }
17098 if test "${ac_cv_lib_m_asinh+set}" = set; then :
17099   $as_echo_n "(cached) " >&6
17100 else
17101   ac_check_lib_save_LIBS=$LIBS
17102 LIBS="-lm  $LIBS"
17103 if test x$gcc_no_link = xyes; then
17104   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17105 fi
17106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107 /* end confdefs.h.  */
17108
17109 /* Override any GCC internal prototype to avoid an error.
17110    Use char because int might match the return type of a GCC
17111    builtin and then its argument prototype would still apply.  */
17112 #ifdef __cplusplus
17113 extern "C"
17114 #endif
17115 char asinh ();
17116 int
17117 main ()
17118 {
17119 return asinh ();
17120   ;
17121   return 0;
17122 }
17123 _ACEOF
17124 if ac_fn_c_try_link "$LINENO"; then :
17125   ac_cv_lib_m_asinh=yes
17126 else
17127   ac_cv_lib_m_asinh=no
17128 fi
17129 rm -f core conftest.err conftest.$ac_objext \
17130     conftest$ac_exeext conftest.$ac_ext
17131 LIBS=$ac_check_lib_save_LIBS
17132 fi
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinh" >&5
17134 $as_echo "$ac_cv_lib_m_asinh" >&6; }
17135 if test "x$ac_cv_lib_m_asinh" = x""yes; then :
17136
17137 $as_echo "#define HAVE_ASINH 1" >>confdefs.h
17138
17139 fi
17140
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
17142 $as_echo_n "checking for asinhl in -lm... " >&6; }
17143 if test "${ac_cv_lib_m_asinhl+set}" = set; then :
17144   $as_echo_n "(cached) " >&6
17145 else
17146   ac_check_lib_save_LIBS=$LIBS
17147 LIBS="-lm  $LIBS"
17148 if test x$gcc_no_link = xyes; then
17149   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17150 fi
17151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17152 /* end confdefs.h.  */
17153
17154 /* Override any GCC internal prototype to avoid an error.
17155    Use char because int might match the return type of a GCC
17156    builtin and then its argument prototype would still apply.  */
17157 #ifdef __cplusplus
17158 extern "C"
17159 #endif
17160 char asinhl ();
17161 int
17162 main ()
17163 {
17164 return asinhl ();
17165   ;
17166   return 0;
17167 }
17168 _ACEOF
17169 if ac_fn_c_try_link "$LINENO"; then :
17170   ac_cv_lib_m_asinhl=yes
17171 else
17172   ac_cv_lib_m_asinhl=no
17173 fi
17174 rm -f core conftest.err conftest.$ac_objext \
17175     conftest$ac_exeext conftest.$ac_ext
17176 LIBS=$ac_check_lib_save_LIBS
17177 fi
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhl" >&5
17179 $as_echo "$ac_cv_lib_m_asinhl" >&6; }
17180 if test "x$ac_cv_lib_m_asinhl" = x""yes; then :
17181
17182 $as_echo "#define HAVE_ASINHL 1" >>confdefs.h
17183
17184 fi
17185
17186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
17187 $as_echo_n "checking for atan2f in -lm... " >&6; }
17188 if test "${ac_cv_lib_m_atan2f+set}" = set; then :
17189   $as_echo_n "(cached) " >&6
17190 else
17191   ac_check_lib_save_LIBS=$LIBS
17192 LIBS="-lm  $LIBS"
17193 if test x$gcc_no_link = xyes; then
17194   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17195 fi
17196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17197 /* end confdefs.h.  */
17198
17199 /* Override any GCC internal prototype to avoid an error.
17200    Use char because int might match the return type of a GCC
17201    builtin and then its argument prototype would still apply.  */
17202 #ifdef __cplusplus
17203 extern "C"
17204 #endif
17205 char atan2f ();
17206 int
17207 main ()
17208 {
17209 return atan2f ();
17210   ;
17211   return 0;
17212 }
17213 _ACEOF
17214 if ac_fn_c_try_link "$LINENO"; then :
17215   ac_cv_lib_m_atan2f=yes
17216 else
17217   ac_cv_lib_m_atan2f=no
17218 fi
17219 rm -f core conftest.err conftest.$ac_objext \
17220     conftest$ac_exeext conftest.$ac_ext
17221 LIBS=$ac_check_lib_save_LIBS
17222 fi
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2f" >&5
17224 $as_echo "$ac_cv_lib_m_atan2f" >&6; }
17225 if test "x$ac_cv_lib_m_atan2f" = x""yes; then :
17226
17227 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
17228
17229 fi
17230
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
17232 $as_echo_n "checking for atan2 in -lm... " >&6; }
17233 if test "${ac_cv_lib_m_atan2+set}" = set; then :
17234   $as_echo_n "(cached) " >&6
17235 else
17236   ac_check_lib_save_LIBS=$LIBS
17237 LIBS="-lm  $LIBS"
17238 if test x$gcc_no_link = xyes; then
17239   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17240 fi
17241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17242 /* end confdefs.h.  */
17243
17244 /* Override any GCC internal prototype to avoid an error.
17245    Use char because int might match the return type of a GCC
17246    builtin and then its argument prototype would still apply.  */
17247 #ifdef __cplusplus
17248 extern "C"
17249 #endif
17250 char atan2 ();
17251 int
17252 main ()
17253 {
17254 return atan2 ();
17255   ;
17256   return 0;
17257 }
17258 _ACEOF
17259 if ac_fn_c_try_link "$LINENO"; then :
17260   ac_cv_lib_m_atan2=yes
17261 else
17262   ac_cv_lib_m_atan2=no
17263 fi
17264 rm -f core conftest.err conftest.$ac_objext \
17265     conftest$ac_exeext conftest.$ac_ext
17266 LIBS=$ac_check_lib_save_LIBS
17267 fi
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
17269 $as_echo "$ac_cv_lib_m_atan2" >&6; }
17270 if test "x$ac_cv_lib_m_atan2" = x""yes; then :
17271
17272 $as_echo "#define HAVE_ATAN2 1" >>confdefs.h
17273
17274 fi
17275
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
17277 $as_echo_n "checking for atan2l in -lm... " >&6; }
17278 if test "${ac_cv_lib_m_atan2l+set}" = set; then :
17279   $as_echo_n "(cached) " >&6
17280 else
17281   ac_check_lib_save_LIBS=$LIBS
17282 LIBS="-lm  $LIBS"
17283 if test x$gcc_no_link = xyes; then
17284   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17285 fi
17286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17287 /* end confdefs.h.  */
17288
17289 /* Override any GCC internal prototype to avoid an error.
17290    Use char because int might match the return type of a GCC
17291    builtin and then its argument prototype would still apply.  */
17292 #ifdef __cplusplus
17293 extern "C"
17294 #endif
17295 char atan2l ();
17296 int
17297 main ()
17298 {
17299 return atan2l ();
17300   ;
17301   return 0;
17302 }
17303 _ACEOF
17304 if ac_fn_c_try_link "$LINENO"; then :
17305   ac_cv_lib_m_atan2l=yes
17306 else
17307   ac_cv_lib_m_atan2l=no
17308 fi
17309 rm -f core conftest.err conftest.$ac_objext \
17310     conftest$ac_exeext conftest.$ac_ext
17311 LIBS=$ac_check_lib_save_LIBS
17312 fi
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2l" >&5
17314 $as_echo "$ac_cv_lib_m_atan2l" >&6; }
17315 if test "x$ac_cv_lib_m_atan2l" = x""yes; then :
17316
17317 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
17318
17319 fi
17320
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
17322 $as_echo_n "checking for atanf in -lm... " >&6; }
17323 if test "${ac_cv_lib_m_atanf+set}" = set; then :
17324   $as_echo_n "(cached) " >&6
17325 else
17326   ac_check_lib_save_LIBS=$LIBS
17327 LIBS="-lm  $LIBS"
17328 if test x$gcc_no_link = xyes; then
17329   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17330 fi
17331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17332 /* end confdefs.h.  */
17333
17334 /* Override any GCC internal prototype to avoid an error.
17335    Use char because int might match the return type of a GCC
17336    builtin and then its argument prototype would still apply.  */
17337 #ifdef __cplusplus
17338 extern "C"
17339 #endif
17340 char atanf ();
17341 int
17342 main ()
17343 {
17344 return atanf ();
17345   ;
17346   return 0;
17347 }
17348 _ACEOF
17349 if ac_fn_c_try_link "$LINENO"; then :
17350   ac_cv_lib_m_atanf=yes
17351 else
17352   ac_cv_lib_m_atanf=no
17353 fi
17354 rm -f core conftest.err conftest.$ac_objext \
17355     conftest$ac_exeext conftest.$ac_ext
17356 LIBS=$ac_check_lib_save_LIBS
17357 fi
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanf" >&5
17359 $as_echo "$ac_cv_lib_m_atanf" >&6; }
17360 if test "x$ac_cv_lib_m_atanf" = x""yes; then :
17361
17362 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
17363
17364 fi
17365
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
17367 $as_echo_n "checking for atan in -lm... " >&6; }
17368 if test "${ac_cv_lib_m_atan+set}" = set; then :
17369   $as_echo_n "(cached) " >&6
17370 else
17371   ac_check_lib_save_LIBS=$LIBS
17372 LIBS="-lm  $LIBS"
17373 if test x$gcc_no_link = xyes; then
17374   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17375 fi
17376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17377 /* end confdefs.h.  */
17378
17379 /* Override any GCC internal prototype to avoid an error.
17380    Use char because int might match the return type of a GCC
17381    builtin and then its argument prototype would still apply.  */
17382 #ifdef __cplusplus
17383 extern "C"
17384 #endif
17385 char atan ();
17386 int
17387 main ()
17388 {
17389 return atan ();
17390   ;
17391   return 0;
17392 }
17393 _ACEOF
17394 if ac_fn_c_try_link "$LINENO"; then :
17395   ac_cv_lib_m_atan=yes
17396 else
17397   ac_cv_lib_m_atan=no
17398 fi
17399 rm -f core conftest.err conftest.$ac_objext \
17400     conftest$ac_exeext conftest.$ac_ext
17401 LIBS=$ac_check_lib_save_LIBS
17402 fi
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5
17404 $as_echo "$ac_cv_lib_m_atan" >&6; }
17405 if test "x$ac_cv_lib_m_atan" = x""yes; then :
17406
17407 $as_echo "#define HAVE_ATAN 1" >>confdefs.h
17408
17409 fi
17410
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
17412 $as_echo_n "checking for atanl in -lm... " >&6; }
17413 if test "${ac_cv_lib_m_atanl+set}" = set; then :
17414   $as_echo_n "(cached) " >&6
17415 else
17416   ac_check_lib_save_LIBS=$LIBS
17417 LIBS="-lm  $LIBS"
17418 if test x$gcc_no_link = xyes; then
17419   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17420 fi
17421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17422 /* end confdefs.h.  */
17423
17424 /* Override any GCC internal prototype to avoid an error.
17425    Use char because int might match the return type of a GCC
17426    builtin and then its argument prototype would still apply.  */
17427 #ifdef __cplusplus
17428 extern "C"
17429 #endif
17430 char atanl ();
17431 int
17432 main ()
17433 {
17434 return atanl ();
17435   ;
17436   return 0;
17437 }
17438 _ACEOF
17439 if ac_fn_c_try_link "$LINENO"; then :
17440   ac_cv_lib_m_atanl=yes
17441 else
17442   ac_cv_lib_m_atanl=no
17443 fi
17444 rm -f core conftest.err conftest.$ac_objext \
17445     conftest$ac_exeext conftest.$ac_ext
17446 LIBS=$ac_check_lib_save_LIBS
17447 fi
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanl" >&5
17449 $as_echo "$ac_cv_lib_m_atanl" >&6; }
17450 if test "x$ac_cv_lib_m_atanl" = x""yes; then :
17451
17452 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
17453
17454 fi
17455
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
17457 $as_echo_n "checking for atanhf in -lm... " >&6; }
17458 if test "${ac_cv_lib_m_atanhf+set}" = set; then :
17459   $as_echo_n "(cached) " >&6
17460 else
17461   ac_check_lib_save_LIBS=$LIBS
17462 LIBS="-lm  $LIBS"
17463 if test x$gcc_no_link = xyes; then
17464   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17465 fi
17466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17467 /* end confdefs.h.  */
17468
17469 /* Override any GCC internal prototype to avoid an error.
17470    Use char because int might match the return type of a GCC
17471    builtin and then its argument prototype would still apply.  */
17472 #ifdef __cplusplus
17473 extern "C"
17474 #endif
17475 char atanhf ();
17476 int
17477 main ()
17478 {
17479 return atanhf ();
17480   ;
17481   return 0;
17482 }
17483 _ACEOF
17484 if ac_fn_c_try_link "$LINENO"; then :
17485   ac_cv_lib_m_atanhf=yes
17486 else
17487   ac_cv_lib_m_atanhf=no
17488 fi
17489 rm -f core conftest.err conftest.$ac_objext \
17490     conftest$ac_exeext conftest.$ac_ext
17491 LIBS=$ac_check_lib_save_LIBS
17492 fi
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhf" >&5
17494 $as_echo "$ac_cv_lib_m_atanhf" >&6; }
17495 if test "x$ac_cv_lib_m_atanhf" = x""yes; then :
17496
17497 $as_echo "#define HAVE_ATANHF 1" >>confdefs.h
17498
17499 fi
17500
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
17502 $as_echo_n "checking for atanh in -lm... " >&6; }
17503 if test "${ac_cv_lib_m_atanh+set}" = set; then :
17504   $as_echo_n "(cached) " >&6
17505 else
17506   ac_check_lib_save_LIBS=$LIBS
17507 LIBS="-lm  $LIBS"
17508 if test x$gcc_no_link = xyes; then
17509   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17510 fi
17511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17512 /* end confdefs.h.  */
17513
17514 /* Override any GCC internal prototype to avoid an error.
17515    Use char because int might match the return type of a GCC
17516    builtin and then its argument prototype would still apply.  */
17517 #ifdef __cplusplus
17518 extern "C"
17519 #endif
17520 char atanh ();
17521 int
17522 main ()
17523 {
17524 return atanh ();
17525   ;
17526   return 0;
17527 }
17528 _ACEOF
17529 if ac_fn_c_try_link "$LINENO"; then :
17530   ac_cv_lib_m_atanh=yes
17531 else
17532   ac_cv_lib_m_atanh=no
17533 fi
17534 rm -f core conftest.err conftest.$ac_objext \
17535     conftest$ac_exeext conftest.$ac_ext
17536 LIBS=$ac_check_lib_save_LIBS
17537 fi
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanh" >&5
17539 $as_echo "$ac_cv_lib_m_atanh" >&6; }
17540 if test "x$ac_cv_lib_m_atanh" = x""yes; then :
17541
17542 $as_echo "#define HAVE_ATANH 1" >>confdefs.h
17543
17544 fi
17545
17546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
17547 $as_echo_n "checking for atanhl in -lm... " >&6; }
17548 if test "${ac_cv_lib_m_atanhl+set}" = set; then :
17549   $as_echo_n "(cached) " >&6
17550 else
17551   ac_check_lib_save_LIBS=$LIBS
17552 LIBS="-lm  $LIBS"
17553 if test x$gcc_no_link = xyes; then
17554   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17555 fi
17556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17557 /* end confdefs.h.  */
17558
17559 /* Override any GCC internal prototype to avoid an error.
17560    Use char because int might match the return type of a GCC
17561    builtin and then its argument prototype would still apply.  */
17562 #ifdef __cplusplus
17563 extern "C"
17564 #endif
17565 char atanhl ();
17566 int
17567 main ()
17568 {
17569 return atanhl ();
17570   ;
17571   return 0;
17572 }
17573 _ACEOF
17574 if ac_fn_c_try_link "$LINENO"; then :
17575   ac_cv_lib_m_atanhl=yes
17576 else
17577   ac_cv_lib_m_atanhl=no
17578 fi
17579 rm -f core conftest.err conftest.$ac_objext \
17580     conftest$ac_exeext conftest.$ac_ext
17581 LIBS=$ac_check_lib_save_LIBS
17582 fi
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhl" >&5
17584 $as_echo "$ac_cv_lib_m_atanhl" >&6; }
17585 if test "x$ac_cv_lib_m_atanhl" = x""yes; then :
17586
17587 $as_echo "#define HAVE_ATANHL 1" >>confdefs.h
17588
17589 fi
17590
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
17592 $as_echo_n "checking for cargf in -lm... " >&6; }
17593 if test "${ac_cv_lib_m_cargf+set}" = set; then :
17594   $as_echo_n "(cached) " >&6
17595 else
17596   ac_check_lib_save_LIBS=$LIBS
17597 LIBS="-lm  $LIBS"
17598 if test x$gcc_no_link = xyes; then
17599   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17600 fi
17601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17602 /* end confdefs.h.  */
17603
17604 /* Override any GCC internal prototype to avoid an error.
17605    Use char because int might match the return type of a GCC
17606    builtin and then its argument prototype would still apply.  */
17607 #ifdef __cplusplus
17608 extern "C"
17609 #endif
17610 char cargf ();
17611 int
17612 main ()
17613 {
17614 return cargf ();
17615   ;
17616   return 0;
17617 }
17618 _ACEOF
17619 if ac_fn_c_try_link "$LINENO"; then :
17620   ac_cv_lib_m_cargf=yes
17621 else
17622   ac_cv_lib_m_cargf=no
17623 fi
17624 rm -f core conftest.err conftest.$ac_objext \
17625     conftest$ac_exeext conftest.$ac_ext
17626 LIBS=$ac_check_lib_save_LIBS
17627 fi
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargf" >&5
17629 $as_echo "$ac_cv_lib_m_cargf" >&6; }
17630 if test "x$ac_cv_lib_m_cargf" = x""yes; then :
17631
17632 $as_echo "#define HAVE_CARGF 1" >>confdefs.h
17633
17634 fi
17635
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
17637 $as_echo_n "checking for carg in -lm... " >&6; }
17638 if test "${ac_cv_lib_m_carg+set}" = set; then :
17639   $as_echo_n "(cached) " >&6
17640 else
17641   ac_check_lib_save_LIBS=$LIBS
17642 LIBS="-lm  $LIBS"
17643 if test x$gcc_no_link = xyes; then
17644   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17645 fi
17646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17647 /* end confdefs.h.  */
17648
17649 /* Override any GCC internal prototype to avoid an error.
17650    Use char because int might match the return type of a GCC
17651    builtin and then its argument prototype would still apply.  */
17652 #ifdef __cplusplus
17653 extern "C"
17654 #endif
17655 char carg ();
17656 int
17657 main ()
17658 {
17659 return carg ();
17660   ;
17661   return 0;
17662 }
17663 _ACEOF
17664 if ac_fn_c_try_link "$LINENO"; then :
17665   ac_cv_lib_m_carg=yes
17666 else
17667   ac_cv_lib_m_carg=no
17668 fi
17669 rm -f core conftest.err conftest.$ac_objext \
17670     conftest$ac_exeext conftest.$ac_ext
17671 LIBS=$ac_check_lib_save_LIBS
17672 fi
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_carg" >&5
17674 $as_echo "$ac_cv_lib_m_carg" >&6; }
17675 if test "x$ac_cv_lib_m_carg" = x""yes; then :
17676
17677 $as_echo "#define HAVE_CARG 1" >>confdefs.h
17678
17679 fi
17680
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
17682 $as_echo_n "checking for cargl in -lm... " >&6; }
17683 if test "${ac_cv_lib_m_cargl+set}" = set; then :
17684   $as_echo_n "(cached) " >&6
17685 else
17686   ac_check_lib_save_LIBS=$LIBS
17687 LIBS="-lm  $LIBS"
17688 if test x$gcc_no_link = xyes; then
17689   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17690 fi
17691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17692 /* end confdefs.h.  */
17693
17694 /* Override any GCC internal prototype to avoid an error.
17695    Use char because int might match the return type of a GCC
17696    builtin and then its argument prototype would still apply.  */
17697 #ifdef __cplusplus
17698 extern "C"
17699 #endif
17700 char cargl ();
17701 int
17702 main ()
17703 {
17704 return cargl ();
17705   ;
17706   return 0;
17707 }
17708 _ACEOF
17709 if ac_fn_c_try_link "$LINENO"; then :
17710   ac_cv_lib_m_cargl=yes
17711 else
17712   ac_cv_lib_m_cargl=no
17713 fi
17714 rm -f core conftest.err conftest.$ac_objext \
17715     conftest$ac_exeext conftest.$ac_ext
17716 LIBS=$ac_check_lib_save_LIBS
17717 fi
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargl" >&5
17719 $as_echo "$ac_cv_lib_m_cargl" >&6; }
17720 if test "x$ac_cv_lib_m_cargl" = x""yes; then :
17721
17722 $as_echo "#define HAVE_CARGL 1" >>confdefs.h
17723
17724 fi
17725
17726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
17727 $as_echo_n "checking for ceilf in -lm... " >&6; }
17728 if test "${ac_cv_lib_m_ceilf+set}" = set; then :
17729   $as_echo_n "(cached) " >&6
17730 else
17731   ac_check_lib_save_LIBS=$LIBS
17732 LIBS="-lm  $LIBS"
17733 if test x$gcc_no_link = xyes; then
17734   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17735 fi
17736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17737 /* end confdefs.h.  */
17738
17739 /* Override any GCC internal prototype to avoid an error.
17740    Use char because int might match the return type of a GCC
17741    builtin and then its argument prototype would still apply.  */
17742 #ifdef __cplusplus
17743 extern "C"
17744 #endif
17745 char ceilf ();
17746 int
17747 main ()
17748 {
17749 return ceilf ();
17750   ;
17751   return 0;
17752 }
17753 _ACEOF
17754 if ac_fn_c_try_link "$LINENO"; then :
17755   ac_cv_lib_m_ceilf=yes
17756 else
17757   ac_cv_lib_m_ceilf=no
17758 fi
17759 rm -f core conftest.err conftest.$ac_objext \
17760     conftest$ac_exeext conftest.$ac_ext
17761 LIBS=$ac_check_lib_save_LIBS
17762 fi
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5
17764 $as_echo "$ac_cv_lib_m_ceilf" >&6; }
17765 if test "x$ac_cv_lib_m_ceilf" = x""yes; then :
17766
17767 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
17768
17769 fi
17770
17771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
17772 $as_echo_n "checking for ceil in -lm... " >&6; }
17773 if test "${ac_cv_lib_m_ceil+set}" = set; then :
17774   $as_echo_n "(cached) " >&6
17775 else
17776   ac_check_lib_save_LIBS=$LIBS
17777 LIBS="-lm  $LIBS"
17778 if test x$gcc_no_link = xyes; then
17779   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17780 fi
17781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17782 /* end confdefs.h.  */
17783
17784 /* Override any GCC internal prototype to avoid an error.
17785    Use char because int might match the return type of a GCC
17786    builtin and then its argument prototype would still apply.  */
17787 #ifdef __cplusplus
17788 extern "C"
17789 #endif
17790 char ceil ();
17791 int
17792 main ()
17793 {
17794 return ceil ();
17795   ;
17796   return 0;
17797 }
17798 _ACEOF
17799 if ac_fn_c_try_link "$LINENO"; then :
17800   ac_cv_lib_m_ceil=yes
17801 else
17802   ac_cv_lib_m_ceil=no
17803 fi
17804 rm -f core conftest.err conftest.$ac_objext \
17805     conftest$ac_exeext conftest.$ac_ext
17806 LIBS=$ac_check_lib_save_LIBS
17807 fi
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
17809 $as_echo "$ac_cv_lib_m_ceil" >&6; }
17810 if test "x$ac_cv_lib_m_ceil" = x""yes; then :
17811
17812 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
17813
17814 fi
17815
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
17817 $as_echo_n "checking for ceill in -lm... " >&6; }
17818 if test "${ac_cv_lib_m_ceill+set}" = set; then :
17819   $as_echo_n "(cached) " >&6
17820 else
17821   ac_check_lib_save_LIBS=$LIBS
17822 LIBS="-lm  $LIBS"
17823 if test x$gcc_no_link = xyes; then
17824   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17825 fi
17826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17827 /* end confdefs.h.  */
17828
17829 /* Override any GCC internal prototype to avoid an error.
17830    Use char because int might match the return type of a GCC
17831    builtin and then its argument prototype would still apply.  */
17832 #ifdef __cplusplus
17833 extern "C"
17834 #endif
17835 char ceill ();
17836 int
17837 main ()
17838 {
17839 return ceill ();
17840   ;
17841   return 0;
17842 }
17843 _ACEOF
17844 if ac_fn_c_try_link "$LINENO"; then :
17845   ac_cv_lib_m_ceill=yes
17846 else
17847   ac_cv_lib_m_ceill=no
17848 fi
17849 rm -f core conftest.err conftest.$ac_objext \
17850     conftest$ac_exeext conftest.$ac_ext
17851 LIBS=$ac_check_lib_save_LIBS
17852 fi
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceill" >&5
17854 $as_echo "$ac_cv_lib_m_ceill" >&6; }
17855 if test "x$ac_cv_lib_m_ceill" = x""yes; then :
17856
17857 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
17858
17859 fi
17860
17861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17862 $as_echo_n "checking for copysignf in -lm... " >&6; }
17863 if test "${ac_cv_lib_m_copysignf+set}" = set; then :
17864   $as_echo_n "(cached) " >&6
17865 else
17866   ac_check_lib_save_LIBS=$LIBS
17867 LIBS="-lm  $LIBS"
17868 if test x$gcc_no_link = xyes; then
17869   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17870 fi
17871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17872 /* end confdefs.h.  */
17873
17874 /* Override any GCC internal prototype to avoid an error.
17875    Use char because int might match the return type of a GCC
17876    builtin and then its argument prototype would still apply.  */
17877 #ifdef __cplusplus
17878 extern "C"
17879 #endif
17880 char copysignf ();
17881 int
17882 main ()
17883 {
17884 return copysignf ();
17885   ;
17886   return 0;
17887 }
17888 _ACEOF
17889 if ac_fn_c_try_link "$LINENO"; then :
17890   ac_cv_lib_m_copysignf=yes
17891 else
17892   ac_cv_lib_m_copysignf=no
17893 fi
17894 rm -f core conftest.err conftest.$ac_objext \
17895     conftest$ac_exeext conftest.$ac_ext
17896 LIBS=$ac_check_lib_save_LIBS
17897 fi
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignf" >&5
17899 $as_echo "$ac_cv_lib_m_copysignf" >&6; }
17900 if test "x$ac_cv_lib_m_copysignf" = x""yes; then :
17901
17902 $as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17903
17904 fi
17905
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17907 $as_echo_n "checking for copysign in -lm... " >&6; }
17908 if test "${ac_cv_lib_m_copysign+set}" = set; then :
17909   $as_echo_n "(cached) " >&6
17910 else
17911   ac_check_lib_save_LIBS=$LIBS
17912 LIBS="-lm  $LIBS"
17913 if test x$gcc_no_link = xyes; then
17914   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17915 fi
17916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17917 /* end confdefs.h.  */
17918
17919 /* Override any GCC internal prototype to avoid an error.
17920    Use char because int might match the return type of a GCC
17921    builtin and then its argument prototype would still apply.  */
17922 #ifdef __cplusplus
17923 extern "C"
17924 #endif
17925 char copysign ();
17926 int
17927 main ()
17928 {
17929 return copysign ();
17930   ;
17931   return 0;
17932 }
17933 _ACEOF
17934 if ac_fn_c_try_link "$LINENO"; then :
17935   ac_cv_lib_m_copysign=yes
17936 else
17937   ac_cv_lib_m_copysign=no
17938 fi
17939 rm -f core conftest.err conftest.$ac_objext \
17940     conftest$ac_exeext conftest.$ac_ext
17941 LIBS=$ac_check_lib_save_LIBS
17942 fi
17943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysign" >&5
17944 $as_echo "$ac_cv_lib_m_copysign" >&6; }
17945 if test "x$ac_cv_lib_m_copysign" = x""yes; then :
17946
17947 $as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17948
17949 fi
17950
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17952 $as_echo_n "checking for copysignl in -lm... " >&6; }
17953 if test "${ac_cv_lib_m_copysignl+set}" = set; then :
17954   $as_echo_n "(cached) " >&6
17955 else
17956   ac_check_lib_save_LIBS=$LIBS
17957 LIBS="-lm  $LIBS"
17958 if test x$gcc_no_link = xyes; then
17959   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17960 fi
17961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17962 /* end confdefs.h.  */
17963
17964 /* Override any GCC internal prototype to avoid an error.
17965    Use char because int might match the return type of a GCC
17966    builtin and then its argument prototype would still apply.  */
17967 #ifdef __cplusplus
17968 extern "C"
17969 #endif
17970 char copysignl ();
17971 int
17972 main ()
17973 {
17974 return copysignl ();
17975   ;
17976   return 0;
17977 }
17978 _ACEOF
17979 if ac_fn_c_try_link "$LINENO"; then :
17980   ac_cv_lib_m_copysignl=yes
17981 else
17982   ac_cv_lib_m_copysignl=no
17983 fi
17984 rm -f core conftest.err conftest.$ac_objext \
17985     conftest$ac_exeext conftest.$ac_ext
17986 LIBS=$ac_check_lib_save_LIBS
17987 fi
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignl" >&5
17989 $as_echo "$ac_cv_lib_m_copysignl" >&6; }
17990 if test "x$ac_cv_lib_m_copysignl" = x""yes; then :
17991
17992 $as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
17993
17994 fi
17995
17996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
17997 $as_echo_n "checking for cosf in -lm... " >&6; }
17998 if test "${ac_cv_lib_m_cosf+set}" = set; then :
17999   $as_echo_n "(cached) " >&6
18000 else
18001   ac_check_lib_save_LIBS=$LIBS
18002 LIBS="-lm  $LIBS"
18003 if test x$gcc_no_link = xyes; then
18004   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18005 fi
18006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18007 /* end confdefs.h.  */
18008
18009 /* Override any GCC internal prototype to avoid an error.
18010    Use char because int might match the return type of a GCC
18011    builtin and then its argument prototype would still apply.  */
18012 #ifdef __cplusplus
18013 extern "C"
18014 #endif
18015 char cosf ();
18016 int
18017 main ()
18018 {
18019 return cosf ();
18020   ;
18021   return 0;
18022 }
18023 _ACEOF
18024 if ac_fn_c_try_link "$LINENO"; then :
18025   ac_cv_lib_m_cosf=yes
18026 else
18027   ac_cv_lib_m_cosf=no
18028 fi
18029 rm -f core conftest.err conftest.$ac_objext \
18030     conftest$ac_exeext conftest.$ac_ext
18031 LIBS=$ac_check_lib_save_LIBS
18032 fi
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
18034 $as_echo "$ac_cv_lib_m_cosf" >&6; }
18035 if test "x$ac_cv_lib_m_cosf" = x""yes; then :
18036
18037 $as_echo "#define HAVE_COSF 1" >>confdefs.h
18038
18039 fi
18040
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
18042 $as_echo_n "checking for cos in -lm... " >&6; }
18043 if test "${ac_cv_lib_m_cos+set}" = set; then :
18044   $as_echo_n "(cached) " >&6
18045 else
18046   ac_check_lib_save_LIBS=$LIBS
18047 LIBS="-lm  $LIBS"
18048 if test x$gcc_no_link = xyes; then
18049   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18050 fi
18051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18052 /* end confdefs.h.  */
18053
18054 /* Override any GCC internal prototype to avoid an error.
18055    Use char because int might match the return type of a GCC
18056    builtin and then its argument prototype would still apply.  */
18057 #ifdef __cplusplus
18058 extern "C"
18059 #endif
18060 char cos ();
18061 int
18062 main ()
18063 {
18064 return cos ();
18065   ;
18066   return 0;
18067 }
18068 _ACEOF
18069 if ac_fn_c_try_link "$LINENO"; then :
18070   ac_cv_lib_m_cos=yes
18071 else
18072   ac_cv_lib_m_cos=no
18073 fi
18074 rm -f core conftest.err conftest.$ac_objext \
18075     conftest$ac_exeext conftest.$ac_ext
18076 LIBS=$ac_check_lib_save_LIBS
18077 fi
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
18079 $as_echo "$ac_cv_lib_m_cos" >&6; }
18080 if test "x$ac_cv_lib_m_cos" = x""yes; then :
18081
18082 $as_echo "#define HAVE_COS 1" >>confdefs.h
18083
18084 fi
18085
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
18087 $as_echo_n "checking for cosl in -lm... " >&6; }
18088 if test "${ac_cv_lib_m_cosl+set}" = set; then :
18089   $as_echo_n "(cached) " >&6
18090 else
18091   ac_check_lib_save_LIBS=$LIBS
18092 LIBS="-lm  $LIBS"
18093 if test x$gcc_no_link = xyes; then
18094   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18095 fi
18096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18097 /* end confdefs.h.  */
18098
18099 /* Override any GCC internal prototype to avoid an error.
18100    Use char because int might match the return type of a GCC
18101    builtin and then its argument prototype would still apply.  */
18102 #ifdef __cplusplus
18103 extern "C"
18104 #endif
18105 char cosl ();
18106 int
18107 main ()
18108 {
18109 return cosl ();
18110   ;
18111   return 0;
18112 }
18113 _ACEOF
18114 if ac_fn_c_try_link "$LINENO"; then :
18115   ac_cv_lib_m_cosl=yes
18116 else
18117   ac_cv_lib_m_cosl=no
18118 fi
18119 rm -f core conftest.err conftest.$ac_objext \
18120     conftest$ac_exeext conftest.$ac_ext
18121 LIBS=$ac_check_lib_save_LIBS
18122 fi
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosl" >&5
18124 $as_echo "$ac_cv_lib_m_cosl" >&6; }
18125 if test "x$ac_cv_lib_m_cosl" = x""yes; then :
18126
18127 $as_echo "#define HAVE_COSL 1" >>confdefs.h
18128
18129 fi
18130
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
18132 $as_echo_n "checking for ccosf in -lm... " >&6; }
18133 if test "${ac_cv_lib_m_ccosf+set}" = set; then :
18134   $as_echo_n "(cached) " >&6
18135 else
18136   ac_check_lib_save_LIBS=$LIBS
18137 LIBS="-lm  $LIBS"
18138 if test x$gcc_no_link = xyes; then
18139   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18140 fi
18141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18142 /* end confdefs.h.  */
18143
18144 /* Override any GCC internal prototype to avoid an error.
18145    Use char because int might match the return type of a GCC
18146    builtin and then its argument prototype would still apply.  */
18147 #ifdef __cplusplus
18148 extern "C"
18149 #endif
18150 char ccosf ();
18151 int
18152 main ()
18153 {
18154 return ccosf ();
18155   ;
18156   return 0;
18157 }
18158 _ACEOF
18159 if ac_fn_c_try_link "$LINENO"; then :
18160   ac_cv_lib_m_ccosf=yes
18161 else
18162   ac_cv_lib_m_ccosf=no
18163 fi
18164 rm -f core conftest.err conftest.$ac_objext \
18165     conftest$ac_exeext conftest.$ac_ext
18166 LIBS=$ac_check_lib_save_LIBS
18167 fi
18168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosf" >&5
18169 $as_echo "$ac_cv_lib_m_ccosf" >&6; }
18170 if test "x$ac_cv_lib_m_ccosf" = x""yes; then :
18171
18172 $as_echo "#define HAVE_CCOSF 1" >>confdefs.h
18173
18174 fi
18175
18176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
18177 $as_echo_n "checking for ccos in -lm... " >&6; }
18178 if test "${ac_cv_lib_m_ccos+set}" = set; then :
18179   $as_echo_n "(cached) " >&6
18180 else
18181   ac_check_lib_save_LIBS=$LIBS
18182 LIBS="-lm  $LIBS"
18183 if test x$gcc_no_link = xyes; then
18184   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18185 fi
18186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18187 /* end confdefs.h.  */
18188
18189 /* Override any GCC internal prototype to avoid an error.
18190    Use char because int might match the return type of a GCC
18191    builtin and then its argument prototype would still apply.  */
18192 #ifdef __cplusplus
18193 extern "C"
18194 #endif
18195 char ccos ();
18196 int
18197 main ()
18198 {
18199 return ccos ();
18200   ;
18201   return 0;
18202 }
18203 _ACEOF
18204 if ac_fn_c_try_link "$LINENO"; then :
18205   ac_cv_lib_m_ccos=yes
18206 else
18207   ac_cv_lib_m_ccos=no
18208 fi
18209 rm -f core conftest.err conftest.$ac_objext \
18210     conftest$ac_exeext conftest.$ac_ext
18211 LIBS=$ac_check_lib_save_LIBS
18212 fi
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccos" >&5
18214 $as_echo "$ac_cv_lib_m_ccos" >&6; }
18215 if test "x$ac_cv_lib_m_ccos" = x""yes; then :
18216
18217 $as_echo "#define HAVE_CCOS 1" >>confdefs.h
18218
18219 fi
18220
18221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
18222 $as_echo_n "checking for ccosl in -lm... " >&6; }
18223 if test "${ac_cv_lib_m_ccosl+set}" = set; then :
18224   $as_echo_n "(cached) " >&6
18225 else
18226   ac_check_lib_save_LIBS=$LIBS
18227 LIBS="-lm  $LIBS"
18228 if test x$gcc_no_link = xyes; then
18229   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18230 fi
18231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18232 /* end confdefs.h.  */
18233
18234 /* Override any GCC internal prototype to avoid an error.
18235    Use char because int might match the return type of a GCC
18236    builtin and then its argument prototype would still apply.  */
18237 #ifdef __cplusplus
18238 extern "C"
18239 #endif
18240 char ccosl ();
18241 int
18242 main ()
18243 {
18244 return ccosl ();
18245   ;
18246   return 0;
18247 }
18248 _ACEOF
18249 if ac_fn_c_try_link "$LINENO"; then :
18250   ac_cv_lib_m_ccosl=yes
18251 else
18252   ac_cv_lib_m_ccosl=no
18253 fi
18254 rm -f core conftest.err conftest.$ac_objext \
18255     conftest$ac_exeext conftest.$ac_ext
18256 LIBS=$ac_check_lib_save_LIBS
18257 fi
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosl" >&5
18259 $as_echo "$ac_cv_lib_m_ccosl" >&6; }
18260 if test "x$ac_cv_lib_m_ccosl" = x""yes; then :
18261
18262 $as_echo "#define HAVE_CCOSL 1" >>confdefs.h
18263
18264 fi
18265
18266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
18267 $as_echo_n "checking for coshf in -lm... " >&6; }
18268 if test "${ac_cv_lib_m_coshf+set}" = set; then :
18269   $as_echo_n "(cached) " >&6
18270 else
18271   ac_check_lib_save_LIBS=$LIBS
18272 LIBS="-lm  $LIBS"
18273 if test x$gcc_no_link = xyes; then
18274   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18275 fi
18276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18277 /* end confdefs.h.  */
18278
18279 /* Override any GCC internal prototype to avoid an error.
18280    Use char because int might match the return type of a GCC
18281    builtin and then its argument prototype would still apply.  */
18282 #ifdef __cplusplus
18283 extern "C"
18284 #endif
18285 char coshf ();
18286 int
18287 main ()
18288 {
18289 return coshf ();
18290   ;
18291   return 0;
18292 }
18293 _ACEOF
18294 if ac_fn_c_try_link "$LINENO"; then :
18295   ac_cv_lib_m_coshf=yes
18296 else
18297   ac_cv_lib_m_coshf=no
18298 fi
18299 rm -f core conftest.err conftest.$ac_objext \
18300     conftest$ac_exeext conftest.$ac_ext
18301 LIBS=$ac_check_lib_save_LIBS
18302 fi
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshf" >&5
18304 $as_echo "$ac_cv_lib_m_coshf" >&6; }
18305 if test "x$ac_cv_lib_m_coshf" = x""yes; then :
18306
18307 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
18308
18309 fi
18310
18311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
18312 $as_echo_n "checking for cosh in -lm... " >&6; }
18313 if test "${ac_cv_lib_m_cosh+set}" = set; then :
18314   $as_echo_n "(cached) " >&6
18315 else
18316   ac_check_lib_save_LIBS=$LIBS
18317 LIBS="-lm  $LIBS"
18318 if test x$gcc_no_link = xyes; then
18319   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18320 fi
18321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18322 /* end confdefs.h.  */
18323
18324 /* Override any GCC internal prototype to avoid an error.
18325    Use char because int might match the return type of a GCC
18326    builtin and then its argument prototype would still apply.  */
18327 #ifdef __cplusplus
18328 extern "C"
18329 #endif
18330 char cosh ();
18331 int
18332 main ()
18333 {
18334 return cosh ();
18335   ;
18336   return 0;
18337 }
18338 _ACEOF
18339 if ac_fn_c_try_link "$LINENO"; then :
18340   ac_cv_lib_m_cosh=yes
18341 else
18342   ac_cv_lib_m_cosh=no
18343 fi
18344 rm -f core conftest.err conftest.$ac_objext \
18345     conftest$ac_exeext conftest.$ac_ext
18346 LIBS=$ac_check_lib_save_LIBS
18347 fi
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosh" >&5
18349 $as_echo "$ac_cv_lib_m_cosh" >&6; }
18350 if test "x$ac_cv_lib_m_cosh" = x""yes; then :
18351
18352 $as_echo "#define HAVE_COSH 1" >>confdefs.h
18353
18354 fi
18355
18356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
18357 $as_echo_n "checking for coshl in -lm... " >&6; }
18358 if test "${ac_cv_lib_m_coshl+set}" = set; then :
18359   $as_echo_n "(cached) " >&6
18360 else
18361   ac_check_lib_save_LIBS=$LIBS
18362 LIBS="-lm  $LIBS"
18363 if test x$gcc_no_link = xyes; then
18364   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18365 fi
18366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18367 /* end confdefs.h.  */
18368
18369 /* Override any GCC internal prototype to avoid an error.
18370    Use char because int might match the return type of a GCC
18371    builtin and then its argument prototype would still apply.  */
18372 #ifdef __cplusplus
18373 extern "C"
18374 #endif
18375 char coshl ();
18376 int
18377 main ()
18378 {
18379 return coshl ();
18380   ;
18381   return 0;
18382 }
18383 _ACEOF
18384 if ac_fn_c_try_link "$LINENO"; then :
18385   ac_cv_lib_m_coshl=yes
18386 else
18387   ac_cv_lib_m_coshl=no
18388 fi
18389 rm -f core conftest.err conftest.$ac_objext \
18390     conftest$ac_exeext conftest.$ac_ext
18391 LIBS=$ac_check_lib_save_LIBS
18392 fi
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshl" >&5
18394 $as_echo "$ac_cv_lib_m_coshl" >&6; }
18395 if test "x$ac_cv_lib_m_coshl" = x""yes; then :
18396
18397 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
18398
18399 fi
18400
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
18402 $as_echo_n "checking for ccoshf in -lm... " >&6; }
18403 if test "${ac_cv_lib_m_ccoshf+set}" = set; then :
18404   $as_echo_n "(cached) " >&6
18405 else
18406   ac_check_lib_save_LIBS=$LIBS
18407 LIBS="-lm  $LIBS"
18408 if test x$gcc_no_link = xyes; then
18409   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18410 fi
18411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18412 /* end confdefs.h.  */
18413
18414 /* Override any GCC internal prototype to avoid an error.
18415    Use char because int might match the return type of a GCC
18416    builtin and then its argument prototype would still apply.  */
18417 #ifdef __cplusplus
18418 extern "C"
18419 #endif
18420 char ccoshf ();
18421 int
18422 main ()
18423 {
18424 return ccoshf ();
18425   ;
18426   return 0;
18427 }
18428 _ACEOF
18429 if ac_fn_c_try_link "$LINENO"; then :
18430   ac_cv_lib_m_ccoshf=yes
18431 else
18432   ac_cv_lib_m_ccoshf=no
18433 fi
18434 rm -f core conftest.err conftest.$ac_objext \
18435     conftest$ac_exeext conftest.$ac_ext
18436 LIBS=$ac_check_lib_save_LIBS
18437 fi
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshf" >&5
18439 $as_echo "$ac_cv_lib_m_ccoshf" >&6; }
18440 if test "x$ac_cv_lib_m_ccoshf" = x""yes; then :
18441
18442 $as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
18443
18444 fi
18445
18446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
18447 $as_echo_n "checking for ccosh in -lm... " >&6; }
18448 if test "${ac_cv_lib_m_ccosh+set}" = set; then :
18449   $as_echo_n "(cached) " >&6
18450 else
18451   ac_check_lib_save_LIBS=$LIBS
18452 LIBS="-lm  $LIBS"
18453 if test x$gcc_no_link = xyes; then
18454   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18455 fi
18456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18457 /* end confdefs.h.  */
18458
18459 /* Override any GCC internal prototype to avoid an error.
18460    Use char because int might match the return type of a GCC
18461    builtin and then its argument prototype would still apply.  */
18462 #ifdef __cplusplus
18463 extern "C"
18464 #endif
18465 char ccosh ();
18466 int
18467 main ()
18468 {
18469 return ccosh ();
18470   ;
18471   return 0;
18472 }
18473 _ACEOF
18474 if ac_fn_c_try_link "$LINENO"; then :
18475   ac_cv_lib_m_ccosh=yes
18476 else
18477   ac_cv_lib_m_ccosh=no
18478 fi
18479 rm -f core conftest.err conftest.$ac_objext \
18480     conftest$ac_exeext conftest.$ac_ext
18481 LIBS=$ac_check_lib_save_LIBS
18482 fi
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosh" >&5
18484 $as_echo "$ac_cv_lib_m_ccosh" >&6; }
18485 if test "x$ac_cv_lib_m_ccosh" = x""yes; then :
18486
18487 $as_echo "#define HAVE_CCOSH 1" >>confdefs.h
18488
18489 fi
18490
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
18492 $as_echo_n "checking for ccoshl in -lm... " >&6; }
18493 if test "${ac_cv_lib_m_ccoshl+set}" = set; then :
18494   $as_echo_n "(cached) " >&6
18495 else
18496   ac_check_lib_save_LIBS=$LIBS
18497 LIBS="-lm  $LIBS"
18498 if test x$gcc_no_link = xyes; then
18499   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18500 fi
18501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18502 /* end confdefs.h.  */
18503
18504 /* Override any GCC internal prototype to avoid an error.
18505    Use char because int might match the return type of a GCC
18506    builtin and then its argument prototype would still apply.  */
18507 #ifdef __cplusplus
18508 extern "C"
18509 #endif
18510 char ccoshl ();
18511 int
18512 main ()
18513 {
18514 return ccoshl ();
18515   ;
18516   return 0;
18517 }
18518 _ACEOF
18519 if ac_fn_c_try_link "$LINENO"; then :
18520   ac_cv_lib_m_ccoshl=yes
18521 else
18522   ac_cv_lib_m_ccoshl=no
18523 fi
18524 rm -f core conftest.err conftest.$ac_objext \
18525     conftest$ac_exeext conftest.$ac_ext
18526 LIBS=$ac_check_lib_save_LIBS
18527 fi
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshl" >&5
18529 $as_echo "$ac_cv_lib_m_ccoshl" >&6; }
18530 if test "x$ac_cv_lib_m_ccoshl" = x""yes; then :
18531
18532 $as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
18533
18534 fi
18535
18536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
18537 $as_echo_n "checking for expf in -lm... " >&6; }
18538 if test "${ac_cv_lib_m_expf+set}" = set; then :
18539   $as_echo_n "(cached) " >&6
18540 else
18541   ac_check_lib_save_LIBS=$LIBS
18542 LIBS="-lm  $LIBS"
18543 if test x$gcc_no_link = xyes; then
18544   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18545 fi
18546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18547 /* end confdefs.h.  */
18548
18549 /* Override any GCC internal prototype to avoid an error.
18550    Use char because int might match the return type of a GCC
18551    builtin and then its argument prototype would still apply.  */
18552 #ifdef __cplusplus
18553 extern "C"
18554 #endif
18555 char expf ();
18556 int
18557 main ()
18558 {
18559 return expf ();
18560   ;
18561   return 0;
18562 }
18563 _ACEOF
18564 if ac_fn_c_try_link "$LINENO"; then :
18565   ac_cv_lib_m_expf=yes
18566 else
18567   ac_cv_lib_m_expf=no
18568 fi
18569 rm -f core conftest.err conftest.$ac_objext \
18570     conftest$ac_exeext conftest.$ac_ext
18571 LIBS=$ac_check_lib_save_LIBS
18572 fi
18573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expf" >&5
18574 $as_echo "$ac_cv_lib_m_expf" >&6; }
18575 if test "x$ac_cv_lib_m_expf" = x""yes; then :
18576
18577 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
18578
18579 fi
18580
18581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
18582 $as_echo_n "checking for exp in -lm... " >&6; }
18583 if test "${ac_cv_lib_m_exp+set}" = set; then :
18584   $as_echo_n "(cached) " >&6
18585 else
18586   ac_check_lib_save_LIBS=$LIBS
18587 LIBS="-lm  $LIBS"
18588 if test x$gcc_no_link = xyes; then
18589   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18590 fi
18591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18592 /* end confdefs.h.  */
18593
18594 /* Override any GCC internal prototype to avoid an error.
18595    Use char because int might match the return type of a GCC
18596    builtin and then its argument prototype would still apply.  */
18597 #ifdef __cplusplus
18598 extern "C"
18599 #endif
18600 char exp ();
18601 int
18602 main ()
18603 {
18604 return exp ();
18605   ;
18606   return 0;
18607 }
18608 _ACEOF
18609 if ac_fn_c_try_link "$LINENO"; then :
18610   ac_cv_lib_m_exp=yes
18611 else
18612   ac_cv_lib_m_exp=no
18613 fi
18614 rm -f core conftest.err conftest.$ac_objext \
18615     conftest$ac_exeext conftest.$ac_ext
18616 LIBS=$ac_check_lib_save_LIBS
18617 fi
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
18619 $as_echo "$ac_cv_lib_m_exp" >&6; }
18620 if test "x$ac_cv_lib_m_exp" = x""yes; then :
18621
18622 $as_echo "#define HAVE_EXP 1" >>confdefs.h
18623
18624 fi
18625
18626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
18627 $as_echo_n "checking for expl in -lm... " >&6; }
18628 if test "${ac_cv_lib_m_expl+set}" = set; then :
18629   $as_echo_n "(cached) " >&6
18630 else
18631   ac_check_lib_save_LIBS=$LIBS
18632 LIBS="-lm  $LIBS"
18633 if test x$gcc_no_link = xyes; then
18634   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18635 fi
18636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18637 /* end confdefs.h.  */
18638
18639 /* Override any GCC internal prototype to avoid an error.
18640    Use char because int might match the return type of a GCC
18641    builtin and then its argument prototype would still apply.  */
18642 #ifdef __cplusplus
18643 extern "C"
18644 #endif
18645 char expl ();
18646 int
18647 main ()
18648 {
18649 return expl ();
18650   ;
18651   return 0;
18652 }
18653 _ACEOF
18654 if ac_fn_c_try_link "$LINENO"; then :
18655   ac_cv_lib_m_expl=yes
18656 else
18657   ac_cv_lib_m_expl=no
18658 fi
18659 rm -f core conftest.err conftest.$ac_objext \
18660     conftest$ac_exeext conftest.$ac_ext
18661 LIBS=$ac_check_lib_save_LIBS
18662 fi
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expl" >&5
18664 $as_echo "$ac_cv_lib_m_expl" >&6; }
18665 if test "x$ac_cv_lib_m_expl" = x""yes; then :
18666
18667 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
18668
18669 fi
18670
18671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
18672 $as_echo_n "checking for cexpf in -lm... " >&6; }
18673 if test "${ac_cv_lib_m_cexpf+set}" = set; then :
18674   $as_echo_n "(cached) " >&6
18675 else
18676   ac_check_lib_save_LIBS=$LIBS
18677 LIBS="-lm  $LIBS"
18678 if test x$gcc_no_link = xyes; then
18679   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18680 fi
18681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18682 /* end confdefs.h.  */
18683
18684 /* Override any GCC internal prototype to avoid an error.
18685    Use char because int might match the return type of a GCC
18686    builtin and then its argument prototype would still apply.  */
18687 #ifdef __cplusplus
18688 extern "C"
18689 #endif
18690 char cexpf ();
18691 int
18692 main ()
18693 {
18694 return cexpf ();
18695   ;
18696   return 0;
18697 }
18698 _ACEOF
18699 if ac_fn_c_try_link "$LINENO"; then :
18700   ac_cv_lib_m_cexpf=yes
18701 else
18702   ac_cv_lib_m_cexpf=no
18703 fi
18704 rm -f core conftest.err conftest.$ac_objext \
18705     conftest$ac_exeext conftest.$ac_ext
18706 LIBS=$ac_check_lib_save_LIBS
18707 fi
18708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpf" >&5
18709 $as_echo "$ac_cv_lib_m_cexpf" >&6; }
18710 if test "x$ac_cv_lib_m_cexpf" = x""yes; then :
18711
18712 $as_echo "#define HAVE_CEXPF 1" >>confdefs.h
18713
18714 fi
18715
18716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
18717 $as_echo_n "checking for cexp in -lm... " >&6; }
18718 if test "${ac_cv_lib_m_cexp+set}" = set; then :
18719   $as_echo_n "(cached) " >&6
18720 else
18721   ac_check_lib_save_LIBS=$LIBS
18722 LIBS="-lm  $LIBS"
18723 if test x$gcc_no_link = xyes; then
18724   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18725 fi
18726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18727 /* end confdefs.h.  */
18728
18729 /* Override any GCC internal prototype to avoid an error.
18730    Use char because int might match the return type of a GCC
18731    builtin and then its argument prototype would still apply.  */
18732 #ifdef __cplusplus
18733 extern "C"
18734 #endif
18735 char cexp ();
18736 int
18737 main ()
18738 {
18739 return cexp ();
18740   ;
18741   return 0;
18742 }
18743 _ACEOF
18744 if ac_fn_c_try_link "$LINENO"; then :
18745   ac_cv_lib_m_cexp=yes
18746 else
18747   ac_cv_lib_m_cexp=no
18748 fi
18749 rm -f core conftest.err conftest.$ac_objext \
18750     conftest$ac_exeext conftest.$ac_ext
18751 LIBS=$ac_check_lib_save_LIBS
18752 fi
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexp" >&5
18754 $as_echo "$ac_cv_lib_m_cexp" >&6; }
18755 if test "x$ac_cv_lib_m_cexp" = x""yes; then :
18756
18757 $as_echo "#define HAVE_CEXP 1" >>confdefs.h
18758
18759 fi
18760
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
18762 $as_echo_n "checking for cexpl in -lm... " >&6; }
18763 if test "${ac_cv_lib_m_cexpl+set}" = set; then :
18764   $as_echo_n "(cached) " >&6
18765 else
18766   ac_check_lib_save_LIBS=$LIBS
18767 LIBS="-lm  $LIBS"
18768 if test x$gcc_no_link = xyes; then
18769   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18770 fi
18771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18772 /* end confdefs.h.  */
18773
18774 /* Override any GCC internal prototype to avoid an error.
18775    Use char because int might match the return type of a GCC
18776    builtin and then its argument prototype would still apply.  */
18777 #ifdef __cplusplus
18778 extern "C"
18779 #endif
18780 char cexpl ();
18781 int
18782 main ()
18783 {
18784 return cexpl ();
18785   ;
18786   return 0;
18787 }
18788 _ACEOF
18789 if ac_fn_c_try_link "$LINENO"; then :
18790   ac_cv_lib_m_cexpl=yes
18791 else
18792   ac_cv_lib_m_cexpl=no
18793 fi
18794 rm -f core conftest.err conftest.$ac_objext \
18795     conftest$ac_exeext conftest.$ac_ext
18796 LIBS=$ac_check_lib_save_LIBS
18797 fi
18798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpl" >&5
18799 $as_echo "$ac_cv_lib_m_cexpl" >&6; }
18800 if test "x$ac_cv_lib_m_cexpl" = x""yes; then :
18801
18802 $as_echo "#define HAVE_CEXPL 1" >>confdefs.h
18803
18804 fi
18805
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
18807 $as_echo_n "checking for fabsf in -lm... " >&6; }
18808 if test "${ac_cv_lib_m_fabsf+set}" = set; then :
18809   $as_echo_n "(cached) " >&6
18810 else
18811   ac_check_lib_save_LIBS=$LIBS
18812 LIBS="-lm  $LIBS"
18813 if test x$gcc_no_link = xyes; then
18814   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18815 fi
18816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18817 /* end confdefs.h.  */
18818
18819 /* Override any GCC internal prototype to avoid an error.
18820    Use char because int might match the return type of a GCC
18821    builtin and then its argument prototype would still apply.  */
18822 #ifdef __cplusplus
18823 extern "C"
18824 #endif
18825 char fabsf ();
18826 int
18827 main ()
18828 {
18829 return fabsf ();
18830   ;
18831   return 0;
18832 }
18833 _ACEOF
18834 if ac_fn_c_try_link "$LINENO"; then :
18835   ac_cv_lib_m_fabsf=yes
18836 else
18837   ac_cv_lib_m_fabsf=no
18838 fi
18839 rm -f core conftest.err conftest.$ac_objext \
18840     conftest$ac_exeext conftest.$ac_ext
18841 LIBS=$ac_check_lib_save_LIBS
18842 fi
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
18844 $as_echo "$ac_cv_lib_m_fabsf" >&6; }
18845 if test "x$ac_cv_lib_m_fabsf" = x""yes; then :
18846
18847 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
18848
18849 fi
18850
18851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18852 $as_echo_n "checking for fabs in -lm... " >&6; }
18853 if test "${ac_cv_lib_m_fabs+set}" = set; then :
18854   $as_echo_n "(cached) " >&6
18855 else
18856   ac_check_lib_save_LIBS=$LIBS
18857 LIBS="-lm  $LIBS"
18858 if test x$gcc_no_link = xyes; then
18859   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18860 fi
18861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18862 /* end confdefs.h.  */
18863
18864 /* Override any GCC internal prototype to avoid an error.
18865    Use char because int might match the return type of a GCC
18866    builtin and then its argument prototype would still apply.  */
18867 #ifdef __cplusplus
18868 extern "C"
18869 #endif
18870 char fabs ();
18871 int
18872 main ()
18873 {
18874 return fabs ();
18875   ;
18876   return 0;
18877 }
18878 _ACEOF
18879 if ac_fn_c_try_link "$LINENO"; then :
18880   ac_cv_lib_m_fabs=yes
18881 else
18882   ac_cv_lib_m_fabs=no
18883 fi
18884 rm -f core conftest.err conftest.$ac_objext \
18885     conftest$ac_exeext conftest.$ac_ext
18886 LIBS=$ac_check_lib_save_LIBS
18887 fi
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
18889 $as_echo "$ac_cv_lib_m_fabs" >&6; }
18890 if test "x$ac_cv_lib_m_fabs" = x""yes; then :
18891
18892 $as_echo "#define HAVE_FABS 1" >>confdefs.h
18893
18894 fi
18895
18896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18897 $as_echo_n "checking for fabsl in -lm... " >&6; }
18898 if test "${ac_cv_lib_m_fabsl+set}" = set; then :
18899   $as_echo_n "(cached) " >&6
18900 else
18901   ac_check_lib_save_LIBS=$LIBS
18902 LIBS="-lm  $LIBS"
18903 if test x$gcc_no_link = xyes; then
18904   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18905 fi
18906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18907 /* end confdefs.h.  */
18908
18909 /* Override any GCC internal prototype to avoid an error.
18910    Use char because int might match the return type of a GCC
18911    builtin and then its argument prototype would still apply.  */
18912 #ifdef __cplusplus
18913 extern "C"
18914 #endif
18915 char fabsl ();
18916 int
18917 main ()
18918 {
18919 return fabsl ();
18920   ;
18921   return 0;
18922 }
18923 _ACEOF
18924 if ac_fn_c_try_link "$LINENO"; then :
18925   ac_cv_lib_m_fabsl=yes
18926 else
18927   ac_cv_lib_m_fabsl=no
18928 fi
18929 rm -f core conftest.err conftest.$ac_objext \
18930     conftest$ac_exeext conftest.$ac_ext
18931 LIBS=$ac_check_lib_save_LIBS
18932 fi
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsl" >&5
18934 $as_echo "$ac_cv_lib_m_fabsl" >&6; }
18935 if test "x$ac_cv_lib_m_fabsl" = x""yes; then :
18936
18937 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
18938
18939 fi
18940
18941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18942 $as_echo_n "checking for cabsf in -lm... " >&6; }
18943 if test "${ac_cv_lib_m_cabsf+set}" = set; then :
18944   $as_echo_n "(cached) " >&6
18945 else
18946   ac_check_lib_save_LIBS=$LIBS
18947 LIBS="-lm  $LIBS"
18948 if test x$gcc_no_link = xyes; then
18949   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18950 fi
18951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18952 /* end confdefs.h.  */
18953
18954 /* Override any GCC internal prototype to avoid an error.
18955    Use char because int might match the return type of a GCC
18956    builtin and then its argument prototype would still apply.  */
18957 #ifdef __cplusplus
18958 extern "C"
18959 #endif
18960 char cabsf ();
18961 int
18962 main ()
18963 {
18964 return cabsf ();
18965   ;
18966   return 0;
18967 }
18968 _ACEOF
18969 if ac_fn_c_try_link "$LINENO"; then :
18970   ac_cv_lib_m_cabsf=yes
18971 else
18972   ac_cv_lib_m_cabsf=no
18973 fi
18974 rm -f core conftest.err conftest.$ac_objext \
18975     conftest$ac_exeext conftest.$ac_ext
18976 LIBS=$ac_check_lib_save_LIBS
18977 fi
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsf" >&5
18979 $as_echo "$ac_cv_lib_m_cabsf" >&6; }
18980 if test "x$ac_cv_lib_m_cabsf" = x""yes; then :
18981
18982 $as_echo "#define HAVE_CABSF 1" >>confdefs.h
18983
18984 fi
18985
18986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
18987 $as_echo_n "checking for cabs in -lm... " >&6; }
18988 if test "${ac_cv_lib_m_cabs+set}" = set; then :
18989   $as_echo_n "(cached) " >&6
18990 else
18991   ac_check_lib_save_LIBS=$LIBS
18992 LIBS="-lm  $LIBS"
18993 if test x$gcc_no_link = xyes; then
18994   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18995 fi
18996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18997 /* end confdefs.h.  */
18998
18999 /* Override any GCC internal prototype to avoid an error.
19000    Use char because int might match the return type of a GCC
19001    builtin and then its argument prototype would still apply.  */
19002 #ifdef __cplusplus
19003 extern "C"
19004 #endif
19005 char cabs ();
19006 int
19007 main ()
19008 {
19009 return cabs ();
19010   ;
19011   return 0;
19012 }
19013 _ACEOF
19014 if ac_fn_c_try_link "$LINENO"; then :
19015   ac_cv_lib_m_cabs=yes
19016 else
19017   ac_cv_lib_m_cabs=no
19018 fi
19019 rm -f core conftest.err conftest.$ac_objext \
19020     conftest$ac_exeext conftest.$ac_ext
19021 LIBS=$ac_check_lib_save_LIBS
19022 fi
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabs" >&5
19024 $as_echo "$ac_cv_lib_m_cabs" >&6; }
19025 if test "x$ac_cv_lib_m_cabs" = x""yes; then :
19026
19027 $as_echo "#define HAVE_CABS 1" >>confdefs.h
19028
19029 fi
19030
19031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
19032 $as_echo_n "checking for cabsl in -lm... " >&6; }
19033 if test "${ac_cv_lib_m_cabsl+set}" = set; then :
19034   $as_echo_n "(cached) " >&6
19035 else
19036   ac_check_lib_save_LIBS=$LIBS
19037 LIBS="-lm  $LIBS"
19038 if test x$gcc_no_link = xyes; then
19039   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19040 fi
19041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19042 /* end confdefs.h.  */
19043
19044 /* Override any GCC internal prototype to avoid an error.
19045    Use char because int might match the return type of a GCC
19046    builtin and then its argument prototype would still apply.  */
19047 #ifdef __cplusplus
19048 extern "C"
19049 #endif
19050 char cabsl ();
19051 int
19052 main ()
19053 {
19054 return cabsl ();
19055   ;
19056   return 0;
19057 }
19058 _ACEOF
19059 if ac_fn_c_try_link "$LINENO"; then :
19060   ac_cv_lib_m_cabsl=yes
19061 else
19062   ac_cv_lib_m_cabsl=no
19063 fi
19064 rm -f core conftest.err conftest.$ac_objext \
19065     conftest$ac_exeext conftest.$ac_ext
19066 LIBS=$ac_check_lib_save_LIBS
19067 fi
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsl" >&5
19069 $as_echo "$ac_cv_lib_m_cabsl" >&6; }
19070 if test "x$ac_cv_lib_m_cabsl" = x""yes; then :
19071
19072 $as_echo "#define HAVE_CABSL 1" >>confdefs.h
19073
19074 fi
19075
19076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
19077 $as_echo_n "checking for floorf in -lm... " >&6; }
19078 if test "${ac_cv_lib_m_floorf+set}" = set; then :
19079   $as_echo_n "(cached) " >&6
19080 else
19081   ac_check_lib_save_LIBS=$LIBS
19082 LIBS="-lm  $LIBS"
19083 if test x$gcc_no_link = xyes; then
19084   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19085 fi
19086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19087 /* end confdefs.h.  */
19088
19089 /* Override any GCC internal prototype to avoid an error.
19090    Use char because int might match the return type of a GCC
19091    builtin and then its argument prototype would still apply.  */
19092 #ifdef __cplusplus
19093 extern "C"
19094 #endif
19095 char floorf ();
19096 int
19097 main ()
19098 {
19099 return floorf ();
19100   ;
19101   return 0;
19102 }
19103 _ACEOF
19104 if ac_fn_c_try_link "$LINENO"; then :
19105   ac_cv_lib_m_floorf=yes
19106 else
19107   ac_cv_lib_m_floorf=no
19108 fi
19109 rm -f core conftest.err conftest.$ac_objext \
19110     conftest$ac_exeext conftest.$ac_ext
19111 LIBS=$ac_check_lib_save_LIBS
19112 fi
19113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorf" >&5
19114 $as_echo "$ac_cv_lib_m_floorf" >&6; }
19115 if test "x$ac_cv_lib_m_floorf" = x""yes; then :
19116
19117 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
19118
19119 fi
19120
19121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
19122 $as_echo_n "checking for floor in -lm... " >&6; }
19123 if test "${ac_cv_lib_m_floor+set}" = set; then :
19124   $as_echo_n "(cached) " >&6
19125 else
19126   ac_check_lib_save_LIBS=$LIBS
19127 LIBS="-lm  $LIBS"
19128 if test x$gcc_no_link = xyes; then
19129   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19130 fi
19131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19132 /* end confdefs.h.  */
19133
19134 /* Override any GCC internal prototype to avoid an error.
19135    Use char because int might match the return type of a GCC
19136    builtin and then its argument prototype would still apply.  */
19137 #ifdef __cplusplus
19138 extern "C"
19139 #endif
19140 char floor ();
19141 int
19142 main ()
19143 {
19144 return floor ();
19145   ;
19146   return 0;
19147 }
19148 _ACEOF
19149 if ac_fn_c_try_link "$LINENO"; then :
19150   ac_cv_lib_m_floor=yes
19151 else
19152   ac_cv_lib_m_floor=no
19153 fi
19154 rm -f core conftest.err conftest.$ac_objext \
19155     conftest$ac_exeext conftest.$ac_ext
19156 LIBS=$ac_check_lib_save_LIBS
19157 fi
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
19159 $as_echo "$ac_cv_lib_m_floor" >&6; }
19160 if test "x$ac_cv_lib_m_floor" = x""yes; then :
19161
19162 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
19163
19164 fi
19165
19166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
19167 $as_echo_n "checking for floorl in -lm... " >&6; }
19168 if test "${ac_cv_lib_m_floorl+set}" = set; then :
19169   $as_echo_n "(cached) " >&6
19170 else
19171   ac_check_lib_save_LIBS=$LIBS
19172 LIBS="-lm  $LIBS"
19173 if test x$gcc_no_link = xyes; then
19174   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19175 fi
19176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19177 /* end confdefs.h.  */
19178
19179 /* Override any GCC internal prototype to avoid an error.
19180    Use char because int might match the return type of a GCC
19181    builtin and then its argument prototype would still apply.  */
19182 #ifdef __cplusplus
19183 extern "C"
19184 #endif
19185 char floorl ();
19186 int
19187 main ()
19188 {
19189 return floorl ();
19190   ;
19191   return 0;
19192 }
19193 _ACEOF
19194 if ac_fn_c_try_link "$LINENO"; then :
19195   ac_cv_lib_m_floorl=yes
19196 else
19197   ac_cv_lib_m_floorl=no
19198 fi
19199 rm -f core conftest.err conftest.$ac_objext \
19200     conftest$ac_exeext conftest.$ac_ext
19201 LIBS=$ac_check_lib_save_LIBS
19202 fi
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorl" >&5
19204 $as_echo "$ac_cv_lib_m_floorl" >&6; }
19205 if test "x$ac_cv_lib_m_floorl" = x""yes; then :
19206
19207 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
19208
19209 fi
19210
19211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
19212 $as_echo_n "checking for fmodf in -lm... " >&6; }
19213 if test "${ac_cv_lib_m_fmodf+set}" = set; then :
19214   $as_echo_n "(cached) " >&6
19215 else
19216   ac_check_lib_save_LIBS=$LIBS
19217 LIBS="-lm  $LIBS"
19218 if test x$gcc_no_link = xyes; then
19219   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19220 fi
19221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19222 /* end confdefs.h.  */
19223
19224 /* Override any GCC internal prototype to avoid an error.
19225    Use char because int might match the return type of a GCC
19226    builtin and then its argument prototype would still apply.  */
19227 #ifdef __cplusplus
19228 extern "C"
19229 #endif
19230 char fmodf ();
19231 int
19232 main ()
19233 {
19234 return fmodf ();
19235   ;
19236   return 0;
19237 }
19238 _ACEOF
19239 if ac_fn_c_try_link "$LINENO"; then :
19240   ac_cv_lib_m_fmodf=yes
19241 else
19242   ac_cv_lib_m_fmodf=no
19243 fi
19244 rm -f core conftest.err conftest.$ac_objext \
19245     conftest$ac_exeext conftest.$ac_ext
19246 LIBS=$ac_check_lib_save_LIBS
19247 fi
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodf" >&5
19249 $as_echo "$ac_cv_lib_m_fmodf" >&6; }
19250 if test "x$ac_cv_lib_m_fmodf" = x""yes; then :
19251
19252 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
19253
19254 fi
19255
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
19257 $as_echo_n "checking for fmod in -lm... " >&6; }
19258 if test "${ac_cv_lib_m_fmod+set}" = set; then :
19259   $as_echo_n "(cached) " >&6
19260 else
19261   ac_check_lib_save_LIBS=$LIBS
19262 LIBS="-lm  $LIBS"
19263 if test x$gcc_no_link = xyes; then
19264   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19265 fi
19266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19267 /* end confdefs.h.  */
19268
19269 /* Override any GCC internal prototype to avoid an error.
19270    Use char because int might match the return type of a GCC
19271    builtin and then its argument prototype would still apply.  */
19272 #ifdef __cplusplus
19273 extern "C"
19274 #endif
19275 char fmod ();
19276 int
19277 main ()
19278 {
19279 return fmod ();
19280   ;
19281   return 0;
19282 }
19283 _ACEOF
19284 if ac_fn_c_try_link "$LINENO"; then :
19285   ac_cv_lib_m_fmod=yes
19286 else
19287   ac_cv_lib_m_fmod=no
19288 fi
19289 rm -f core conftest.err conftest.$ac_objext \
19290     conftest$ac_exeext conftest.$ac_ext
19291 LIBS=$ac_check_lib_save_LIBS
19292 fi
19293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5
19294 $as_echo "$ac_cv_lib_m_fmod" >&6; }
19295 if test "x$ac_cv_lib_m_fmod" = x""yes; then :
19296
19297 $as_echo "#define HAVE_FMOD 1" >>confdefs.h
19298
19299 fi
19300
19301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
19302 $as_echo_n "checking for fmodl in -lm... " >&6; }
19303 if test "${ac_cv_lib_m_fmodl+set}" = set; then :
19304   $as_echo_n "(cached) " >&6
19305 else
19306   ac_check_lib_save_LIBS=$LIBS
19307 LIBS="-lm  $LIBS"
19308 if test x$gcc_no_link = xyes; then
19309   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19310 fi
19311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19312 /* end confdefs.h.  */
19313
19314 /* Override any GCC internal prototype to avoid an error.
19315    Use char because int might match the return type of a GCC
19316    builtin and then its argument prototype would still apply.  */
19317 #ifdef __cplusplus
19318 extern "C"
19319 #endif
19320 char fmodl ();
19321 int
19322 main ()
19323 {
19324 return fmodl ();
19325   ;
19326   return 0;
19327 }
19328 _ACEOF
19329 if ac_fn_c_try_link "$LINENO"; then :
19330   ac_cv_lib_m_fmodl=yes
19331 else
19332   ac_cv_lib_m_fmodl=no
19333 fi
19334 rm -f core conftest.err conftest.$ac_objext \
19335     conftest$ac_exeext conftest.$ac_ext
19336 LIBS=$ac_check_lib_save_LIBS
19337 fi
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodl" >&5
19339 $as_echo "$ac_cv_lib_m_fmodl" >&6; }
19340 if test "x$ac_cv_lib_m_fmodl" = x""yes; then :
19341
19342 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
19343
19344 fi
19345
19346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
19347 $as_echo_n "checking for frexpf in -lm... " >&6; }
19348 if test "${ac_cv_lib_m_frexpf+set}" = set; then :
19349   $as_echo_n "(cached) " >&6
19350 else
19351   ac_check_lib_save_LIBS=$LIBS
19352 LIBS="-lm  $LIBS"
19353 if test x$gcc_no_link = xyes; then
19354   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19355 fi
19356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19357 /* end confdefs.h.  */
19358
19359 /* Override any GCC internal prototype to avoid an error.
19360    Use char because int might match the return type of a GCC
19361    builtin and then its argument prototype would still apply.  */
19362 #ifdef __cplusplus
19363 extern "C"
19364 #endif
19365 char frexpf ();
19366 int
19367 main ()
19368 {
19369 return frexpf ();
19370   ;
19371   return 0;
19372 }
19373 _ACEOF
19374 if ac_fn_c_try_link "$LINENO"; then :
19375   ac_cv_lib_m_frexpf=yes
19376 else
19377   ac_cv_lib_m_frexpf=no
19378 fi
19379 rm -f core conftest.err conftest.$ac_objext \
19380     conftest$ac_exeext conftest.$ac_ext
19381 LIBS=$ac_check_lib_save_LIBS
19382 fi
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpf" >&5
19384 $as_echo "$ac_cv_lib_m_frexpf" >&6; }
19385 if test "x$ac_cv_lib_m_frexpf" = x""yes; then :
19386
19387 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
19388
19389 fi
19390
19391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
19392 $as_echo_n "checking for frexp in -lm... " >&6; }
19393 if test "${ac_cv_lib_m_frexp+set}" = set; then :
19394   $as_echo_n "(cached) " >&6
19395 else
19396   ac_check_lib_save_LIBS=$LIBS
19397 LIBS="-lm  $LIBS"
19398 if test x$gcc_no_link = xyes; then
19399   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19400 fi
19401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h.  */
19403
19404 /* Override any GCC internal prototype to avoid an error.
19405    Use char because int might match the return type of a GCC
19406    builtin and then its argument prototype would still apply.  */
19407 #ifdef __cplusplus
19408 extern "C"
19409 #endif
19410 char frexp ();
19411 int
19412 main ()
19413 {
19414 return frexp ();
19415   ;
19416   return 0;
19417 }
19418 _ACEOF
19419 if ac_fn_c_try_link "$LINENO"; then :
19420   ac_cv_lib_m_frexp=yes
19421 else
19422   ac_cv_lib_m_frexp=no
19423 fi
19424 rm -f core conftest.err conftest.$ac_objext \
19425     conftest$ac_exeext conftest.$ac_ext
19426 LIBS=$ac_check_lib_save_LIBS
19427 fi
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexp" >&5
19429 $as_echo "$ac_cv_lib_m_frexp" >&6; }
19430 if test "x$ac_cv_lib_m_frexp" = x""yes; then :
19431
19432 $as_echo "#define HAVE_FREXP 1" >>confdefs.h
19433
19434 fi
19435
19436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
19437 $as_echo_n "checking for frexpl in -lm... " >&6; }
19438 if test "${ac_cv_lib_m_frexpl+set}" = set; then :
19439   $as_echo_n "(cached) " >&6
19440 else
19441   ac_check_lib_save_LIBS=$LIBS
19442 LIBS="-lm  $LIBS"
19443 if test x$gcc_no_link = xyes; then
19444   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19445 fi
19446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19447 /* end confdefs.h.  */
19448
19449 /* Override any GCC internal prototype to avoid an error.
19450    Use char because int might match the return type of a GCC
19451    builtin and then its argument prototype would still apply.  */
19452 #ifdef __cplusplus
19453 extern "C"
19454 #endif
19455 char frexpl ();
19456 int
19457 main ()
19458 {
19459 return frexpl ();
19460   ;
19461   return 0;
19462 }
19463 _ACEOF
19464 if ac_fn_c_try_link "$LINENO"; then :
19465   ac_cv_lib_m_frexpl=yes
19466 else
19467   ac_cv_lib_m_frexpl=no
19468 fi
19469 rm -f core conftest.err conftest.$ac_objext \
19470     conftest$ac_exeext conftest.$ac_ext
19471 LIBS=$ac_check_lib_save_LIBS
19472 fi
19473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpl" >&5
19474 $as_echo "$ac_cv_lib_m_frexpl" >&6; }
19475 if test "x$ac_cv_lib_m_frexpl" = x""yes; then :
19476
19477 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
19478
19479 fi
19480
19481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
19482 $as_echo_n "checking for hypotf in -lm... " >&6; }
19483 if test "${ac_cv_lib_m_hypotf+set}" = set; then :
19484   $as_echo_n "(cached) " >&6
19485 else
19486   ac_check_lib_save_LIBS=$LIBS
19487 LIBS="-lm  $LIBS"
19488 if test x$gcc_no_link = xyes; then
19489   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19490 fi
19491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19492 /* end confdefs.h.  */
19493
19494 /* Override any GCC internal prototype to avoid an error.
19495    Use char because int might match the return type of a GCC
19496    builtin and then its argument prototype would still apply.  */
19497 #ifdef __cplusplus
19498 extern "C"
19499 #endif
19500 char hypotf ();
19501 int
19502 main ()
19503 {
19504 return hypotf ();
19505   ;
19506   return 0;
19507 }
19508 _ACEOF
19509 if ac_fn_c_try_link "$LINENO"; then :
19510   ac_cv_lib_m_hypotf=yes
19511 else
19512   ac_cv_lib_m_hypotf=no
19513 fi
19514 rm -f core conftest.err conftest.$ac_objext \
19515     conftest$ac_exeext conftest.$ac_ext
19516 LIBS=$ac_check_lib_save_LIBS
19517 fi
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotf" >&5
19519 $as_echo "$ac_cv_lib_m_hypotf" >&6; }
19520 if test "x$ac_cv_lib_m_hypotf" = x""yes; then :
19521
19522 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
19523
19524 fi
19525
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
19527 $as_echo_n "checking for hypot in -lm... " >&6; }
19528 if test "${ac_cv_lib_m_hypot+set}" = set; then :
19529   $as_echo_n "(cached) " >&6
19530 else
19531   ac_check_lib_save_LIBS=$LIBS
19532 LIBS="-lm  $LIBS"
19533 if test x$gcc_no_link = xyes; then
19534   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19535 fi
19536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19537 /* end confdefs.h.  */
19538
19539 /* Override any GCC internal prototype to avoid an error.
19540    Use char because int might match the return type of a GCC
19541    builtin and then its argument prototype would still apply.  */
19542 #ifdef __cplusplus
19543 extern "C"
19544 #endif
19545 char hypot ();
19546 int
19547 main ()
19548 {
19549 return hypot ();
19550   ;
19551   return 0;
19552 }
19553 _ACEOF
19554 if ac_fn_c_try_link "$LINENO"; then :
19555   ac_cv_lib_m_hypot=yes
19556 else
19557   ac_cv_lib_m_hypot=no
19558 fi
19559 rm -f core conftest.err conftest.$ac_objext \
19560     conftest$ac_exeext conftest.$ac_ext
19561 LIBS=$ac_check_lib_save_LIBS
19562 fi
19563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
19564 $as_echo "$ac_cv_lib_m_hypot" >&6; }
19565 if test "x$ac_cv_lib_m_hypot" = x""yes; then :
19566
19567 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
19568
19569 fi
19570
19571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
19572 $as_echo_n "checking for hypotl in -lm... " >&6; }
19573 if test "${ac_cv_lib_m_hypotl+set}" = set; then :
19574   $as_echo_n "(cached) " >&6
19575 else
19576   ac_check_lib_save_LIBS=$LIBS
19577 LIBS="-lm  $LIBS"
19578 if test x$gcc_no_link = xyes; then
19579   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19580 fi
19581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19582 /* end confdefs.h.  */
19583
19584 /* Override any GCC internal prototype to avoid an error.
19585    Use char because int might match the return type of a GCC
19586    builtin and then its argument prototype would still apply.  */
19587 #ifdef __cplusplus
19588 extern "C"
19589 #endif
19590 char hypotl ();
19591 int
19592 main ()
19593 {
19594 return hypotl ();
19595   ;
19596   return 0;
19597 }
19598 _ACEOF
19599 if ac_fn_c_try_link "$LINENO"; then :
19600   ac_cv_lib_m_hypotl=yes
19601 else
19602   ac_cv_lib_m_hypotl=no
19603 fi
19604 rm -f core conftest.err conftest.$ac_objext \
19605     conftest$ac_exeext conftest.$ac_ext
19606 LIBS=$ac_check_lib_save_LIBS
19607 fi
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotl" >&5
19609 $as_echo "$ac_cv_lib_m_hypotl" >&6; }
19610 if test "x$ac_cv_lib_m_hypotl" = x""yes; then :
19611
19612 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
19613
19614 fi
19615
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
19617 $as_echo_n "checking for ldexpf in -lm... " >&6; }
19618 if test "${ac_cv_lib_m_ldexpf+set}" = set; then :
19619   $as_echo_n "(cached) " >&6
19620 else
19621   ac_check_lib_save_LIBS=$LIBS
19622 LIBS="-lm  $LIBS"
19623 if test x$gcc_no_link = xyes; then
19624   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19625 fi
19626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19627 /* end confdefs.h.  */
19628
19629 /* Override any GCC internal prototype to avoid an error.
19630    Use char because int might match the return type of a GCC
19631    builtin and then its argument prototype would still apply.  */
19632 #ifdef __cplusplus
19633 extern "C"
19634 #endif
19635 char ldexpf ();
19636 int
19637 main ()
19638 {
19639 return ldexpf ();
19640   ;
19641   return 0;
19642 }
19643 _ACEOF
19644 if ac_fn_c_try_link "$LINENO"; then :
19645   ac_cv_lib_m_ldexpf=yes
19646 else
19647   ac_cv_lib_m_ldexpf=no
19648 fi
19649 rm -f core conftest.err conftest.$ac_objext \
19650     conftest$ac_exeext conftest.$ac_ext
19651 LIBS=$ac_check_lib_save_LIBS
19652 fi
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpf" >&5
19654 $as_echo "$ac_cv_lib_m_ldexpf" >&6; }
19655 if test "x$ac_cv_lib_m_ldexpf" = x""yes; then :
19656
19657 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
19658
19659 fi
19660
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
19662 $as_echo_n "checking for ldexp in -lm... " >&6; }
19663 if test "${ac_cv_lib_m_ldexp+set}" = set; then :
19664   $as_echo_n "(cached) " >&6
19665 else
19666   ac_check_lib_save_LIBS=$LIBS
19667 LIBS="-lm  $LIBS"
19668 if test x$gcc_no_link = xyes; then
19669   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19670 fi
19671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19672 /* end confdefs.h.  */
19673
19674 /* Override any GCC internal prototype to avoid an error.
19675    Use char because int might match the return type of a GCC
19676    builtin and then its argument prototype would still apply.  */
19677 #ifdef __cplusplus
19678 extern "C"
19679 #endif
19680 char ldexp ();
19681 int
19682 main ()
19683 {
19684 return ldexp ();
19685   ;
19686   return 0;
19687 }
19688 _ACEOF
19689 if ac_fn_c_try_link "$LINENO"; then :
19690   ac_cv_lib_m_ldexp=yes
19691 else
19692   ac_cv_lib_m_ldexp=no
19693 fi
19694 rm -f core conftest.err conftest.$ac_objext \
19695     conftest$ac_exeext conftest.$ac_ext
19696 LIBS=$ac_check_lib_save_LIBS
19697 fi
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexp" >&5
19699 $as_echo "$ac_cv_lib_m_ldexp" >&6; }
19700 if test "x$ac_cv_lib_m_ldexp" = x""yes; then :
19701
19702 $as_echo "#define HAVE_LDEXP 1" >>confdefs.h
19703
19704 fi
19705
19706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
19707 $as_echo_n "checking for ldexpl in -lm... " >&6; }
19708 if test "${ac_cv_lib_m_ldexpl+set}" = set; then :
19709   $as_echo_n "(cached) " >&6
19710 else
19711   ac_check_lib_save_LIBS=$LIBS
19712 LIBS="-lm  $LIBS"
19713 if test x$gcc_no_link = xyes; then
19714   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19715 fi
19716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19717 /* end confdefs.h.  */
19718
19719 /* Override any GCC internal prototype to avoid an error.
19720    Use char because int might match the return type of a GCC
19721    builtin and then its argument prototype would still apply.  */
19722 #ifdef __cplusplus
19723 extern "C"
19724 #endif
19725 char ldexpl ();
19726 int
19727 main ()
19728 {
19729 return ldexpl ();
19730   ;
19731   return 0;
19732 }
19733 _ACEOF
19734 if ac_fn_c_try_link "$LINENO"; then :
19735   ac_cv_lib_m_ldexpl=yes
19736 else
19737   ac_cv_lib_m_ldexpl=no
19738 fi
19739 rm -f core conftest.err conftest.$ac_objext \
19740     conftest$ac_exeext conftest.$ac_ext
19741 LIBS=$ac_check_lib_save_LIBS
19742 fi
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpl" >&5
19744 $as_echo "$ac_cv_lib_m_ldexpl" >&6; }
19745 if test "x$ac_cv_lib_m_ldexpl" = x""yes; then :
19746
19747 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
19748
19749 fi
19750
19751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
19752 $as_echo_n "checking for logf in -lm... " >&6; }
19753 if test "${ac_cv_lib_m_logf+set}" = set; then :
19754   $as_echo_n "(cached) " >&6
19755 else
19756   ac_check_lib_save_LIBS=$LIBS
19757 LIBS="-lm  $LIBS"
19758 if test x$gcc_no_link = xyes; then
19759   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19760 fi
19761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19762 /* end confdefs.h.  */
19763
19764 /* Override any GCC internal prototype to avoid an error.
19765    Use char because int might match the return type of a GCC
19766    builtin and then its argument prototype would still apply.  */
19767 #ifdef __cplusplus
19768 extern "C"
19769 #endif
19770 char logf ();
19771 int
19772 main ()
19773 {
19774 return logf ();
19775   ;
19776   return 0;
19777 }
19778 _ACEOF
19779 if ac_fn_c_try_link "$LINENO"; then :
19780   ac_cv_lib_m_logf=yes
19781 else
19782   ac_cv_lib_m_logf=no
19783 fi
19784 rm -f core conftest.err conftest.$ac_objext \
19785     conftest$ac_exeext conftest.$ac_ext
19786 LIBS=$ac_check_lib_save_LIBS
19787 fi
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logf" >&5
19789 $as_echo "$ac_cv_lib_m_logf" >&6; }
19790 if test "x$ac_cv_lib_m_logf" = x""yes; then :
19791
19792 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
19793
19794 fi
19795
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
19797 $as_echo_n "checking for log in -lm... " >&6; }
19798 if test "${ac_cv_lib_m_log+set}" = set; then :
19799   $as_echo_n "(cached) " >&6
19800 else
19801   ac_check_lib_save_LIBS=$LIBS
19802 LIBS="-lm  $LIBS"
19803 if test x$gcc_no_link = xyes; then
19804   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19805 fi
19806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19807 /* end confdefs.h.  */
19808
19809 /* Override any GCC internal prototype to avoid an error.
19810    Use char because int might match the return type of a GCC
19811    builtin and then its argument prototype would still apply.  */
19812 #ifdef __cplusplus
19813 extern "C"
19814 #endif
19815 char log ();
19816 int
19817 main ()
19818 {
19819 return log ();
19820   ;
19821   return 0;
19822 }
19823 _ACEOF
19824 if ac_fn_c_try_link "$LINENO"; then :
19825   ac_cv_lib_m_log=yes
19826 else
19827   ac_cv_lib_m_log=no
19828 fi
19829 rm -f core conftest.err conftest.$ac_objext \
19830     conftest$ac_exeext conftest.$ac_ext
19831 LIBS=$ac_check_lib_save_LIBS
19832 fi
19833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
19834 $as_echo "$ac_cv_lib_m_log" >&6; }
19835 if test "x$ac_cv_lib_m_log" = x""yes; then :
19836
19837 $as_echo "#define HAVE_LOG 1" >>confdefs.h
19838
19839 fi
19840
19841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19842 $as_echo_n "checking for logl in -lm... " >&6; }
19843 if test "${ac_cv_lib_m_logl+set}" = set; then :
19844   $as_echo_n "(cached) " >&6
19845 else
19846   ac_check_lib_save_LIBS=$LIBS
19847 LIBS="-lm  $LIBS"
19848 if test x$gcc_no_link = xyes; then
19849   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19850 fi
19851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19852 /* end confdefs.h.  */
19853
19854 /* Override any GCC internal prototype to avoid an error.
19855    Use char because int might match the return type of a GCC
19856    builtin and then its argument prototype would still apply.  */
19857 #ifdef __cplusplus
19858 extern "C"
19859 #endif
19860 char logl ();
19861 int
19862 main ()
19863 {
19864 return logl ();
19865   ;
19866   return 0;
19867 }
19868 _ACEOF
19869 if ac_fn_c_try_link "$LINENO"; then :
19870   ac_cv_lib_m_logl=yes
19871 else
19872   ac_cv_lib_m_logl=no
19873 fi
19874 rm -f core conftest.err conftest.$ac_objext \
19875     conftest$ac_exeext conftest.$ac_ext
19876 LIBS=$ac_check_lib_save_LIBS
19877 fi
19878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logl" >&5
19879 $as_echo "$ac_cv_lib_m_logl" >&6; }
19880 if test "x$ac_cv_lib_m_logl" = x""yes; then :
19881
19882 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
19883
19884 fi
19885
19886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19887 $as_echo_n "checking for clogf in -lm... " >&6; }
19888 if test "${ac_cv_lib_m_clogf+set}" = set; then :
19889   $as_echo_n "(cached) " >&6
19890 else
19891   ac_check_lib_save_LIBS=$LIBS
19892 LIBS="-lm  $LIBS"
19893 if test x$gcc_no_link = xyes; then
19894   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19895 fi
19896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19897 /* end confdefs.h.  */
19898
19899 /* Override any GCC internal prototype to avoid an error.
19900    Use char because int might match the return type of a GCC
19901    builtin and then its argument prototype would still apply.  */
19902 #ifdef __cplusplus
19903 extern "C"
19904 #endif
19905 char clogf ();
19906 int
19907 main ()
19908 {
19909 return clogf ();
19910   ;
19911   return 0;
19912 }
19913 _ACEOF
19914 if ac_fn_c_try_link "$LINENO"; then :
19915   ac_cv_lib_m_clogf=yes
19916 else
19917   ac_cv_lib_m_clogf=no
19918 fi
19919 rm -f core conftest.err conftest.$ac_objext \
19920     conftest$ac_exeext conftest.$ac_ext
19921 LIBS=$ac_check_lib_save_LIBS
19922 fi
19923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogf" >&5
19924 $as_echo "$ac_cv_lib_m_clogf" >&6; }
19925 if test "x$ac_cv_lib_m_clogf" = x""yes; then :
19926
19927 $as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19928
19929 fi
19930
19931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19932 $as_echo_n "checking for clog in -lm... " >&6; }
19933 if test "${ac_cv_lib_m_clog+set}" = set; then :
19934   $as_echo_n "(cached) " >&6
19935 else
19936   ac_check_lib_save_LIBS=$LIBS
19937 LIBS="-lm  $LIBS"
19938 if test x$gcc_no_link = xyes; then
19939   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19940 fi
19941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19942 /* end confdefs.h.  */
19943
19944 /* Override any GCC internal prototype to avoid an error.
19945    Use char because int might match the return type of a GCC
19946    builtin and then its argument prototype would still apply.  */
19947 #ifdef __cplusplus
19948 extern "C"
19949 #endif
19950 char clog ();
19951 int
19952 main ()
19953 {
19954 return clog ();
19955   ;
19956   return 0;
19957 }
19958 _ACEOF
19959 if ac_fn_c_try_link "$LINENO"; then :
19960   ac_cv_lib_m_clog=yes
19961 else
19962   ac_cv_lib_m_clog=no
19963 fi
19964 rm -f core conftest.err conftest.$ac_objext \
19965     conftest$ac_exeext conftest.$ac_ext
19966 LIBS=$ac_check_lib_save_LIBS
19967 fi
19968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog" >&5
19969 $as_echo "$ac_cv_lib_m_clog" >&6; }
19970 if test "x$ac_cv_lib_m_clog" = x""yes; then :
19971
19972 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
19973
19974 fi
19975
19976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19977 $as_echo_n "checking for clogl in -lm... " >&6; }
19978 if test "${ac_cv_lib_m_clogl+set}" = set; then :
19979   $as_echo_n "(cached) " >&6
19980 else
19981   ac_check_lib_save_LIBS=$LIBS
19982 LIBS="-lm  $LIBS"
19983 if test x$gcc_no_link = xyes; then
19984   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19985 fi
19986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19987 /* end confdefs.h.  */
19988
19989 /* Override any GCC internal prototype to avoid an error.
19990    Use char because int might match the return type of a GCC
19991    builtin and then its argument prototype would still apply.  */
19992 #ifdef __cplusplus
19993 extern "C"
19994 #endif
19995 char clogl ();
19996 int
19997 main ()
19998 {
19999 return clogl ();
20000   ;
20001   return 0;
20002 }
20003 _ACEOF
20004 if ac_fn_c_try_link "$LINENO"; then :
20005   ac_cv_lib_m_clogl=yes
20006 else
20007   ac_cv_lib_m_clogl=no
20008 fi
20009 rm -f core conftest.err conftest.$ac_objext \
20010     conftest$ac_exeext conftest.$ac_ext
20011 LIBS=$ac_check_lib_save_LIBS
20012 fi
20013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogl" >&5
20014 $as_echo "$ac_cv_lib_m_clogl" >&6; }
20015 if test "x$ac_cv_lib_m_clogl" = x""yes; then :
20016
20017 $as_echo "#define HAVE_CLOGL 1" >>confdefs.h
20018
20019 fi
20020
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
20022 $as_echo_n "checking for log10f in -lm... " >&6; }
20023 if test "${ac_cv_lib_m_log10f+set}" = set; then :
20024   $as_echo_n "(cached) " >&6
20025 else
20026   ac_check_lib_save_LIBS=$LIBS
20027 LIBS="-lm  $LIBS"
20028 if test x$gcc_no_link = xyes; then
20029   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20030 fi
20031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20032 /* end confdefs.h.  */
20033
20034 /* Override any GCC internal prototype to avoid an error.
20035    Use char because int might match the return type of a GCC
20036    builtin and then its argument prototype would still apply.  */
20037 #ifdef __cplusplus
20038 extern "C"
20039 #endif
20040 char log10f ();
20041 int
20042 main ()
20043 {
20044 return log10f ();
20045   ;
20046   return 0;
20047 }
20048 _ACEOF
20049 if ac_fn_c_try_link "$LINENO"; then :
20050   ac_cv_lib_m_log10f=yes
20051 else
20052   ac_cv_lib_m_log10f=no
20053 fi
20054 rm -f core conftest.err conftest.$ac_objext \
20055     conftest$ac_exeext conftest.$ac_ext
20056 LIBS=$ac_check_lib_save_LIBS
20057 fi
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10f" >&5
20059 $as_echo "$ac_cv_lib_m_log10f" >&6; }
20060 if test "x$ac_cv_lib_m_log10f" = x""yes; then :
20061
20062 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
20063
20064 fi
20065
20066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
20067 $as_echo_n "checking for log10 in -lm... " >&6; }
20068 if test "${ac_cv_lib_m_log10+set}" = set; then :
20069   $as_echo_n "(cached) " >&6
20070 else
20071   ac_check_lib_save_LIBS=$LIBS
20072 LIBS="-lm  $LIBS"
20073 if test x$gcc_no_link = xyes; then
20074   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20075 fi
20076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20077 /* end confdefs.h.  */
20078
20079 /* Override any GCC internal prototype to avoid an error.
20080    Use char because int might match the return type of a GCC
20081    builtin and then its argument prototype would still apply.  */
20082 #ifdef __cplusplus
20083 extern "C"
20084 #endif
20085 char log10 ();
20086 int
20087 main ()
20088 {
20089 return log10 ();
20090   ;
20091   return 0;
20092 }
20093 _ACEOF
20094 if ac_fn_c_try_link "$LINENO"; then :
20095   ac_cv_lib_m_log10=yes
20096 else
20097   ac_cv_lib_m_log10=no
20098 fi
20099 rm -f core conftest.err conftest.$ac_objext \
20100     conftest$ac_exeext conftest.$ac_ext
20101 LIBS=$ac_check_lib_save_LIBS
20102 fi
20103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
20104 $as_echo "$ac_cv_lib_m_log10" >&6; }
20105 if test "x$ac_cv_lib_m_log10" = x""yes; then :
20106
20107 $as_echo "#define HAVE_LOG10 1" >>confdefs.h
20108
20109 fi
20110
20111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
20112 $as_echo_n "checking for log10l in -lm... " >&6; }
20113 if test "${ac_cv_lib_m_log10l+set}" = set; then :
20114   $as_echo_n "(cached) " >&6
20115 else
20116   ac_check_lib_save_LIBS=$LIBS
20117 LIBS="-lm  $LIBS"
20118 if test x$gcc_no_link = xyes; then
20119   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20120 fi
20121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20122 /* end confdefs.h.  */
20123
20124 /* Override any GCC internal prototype to avoid an error.
20125    Use char because int might match the return type of a GCC
20126    builtin and then its argument prototype would still apply.  */
20127 #ifdef __cplusplus
20128 extern "C"
20129 #endif
20130 char log10l ();
20131 int
20132 main ()
20133 {
20134 return log10l ();
20135   ;
20136   return 0;
20137 }
20138 _ACEOF
20139 if ac_fn_c_try_link "$LINENO"; then :
20140   ac_cv_lib_m_log10l=yes
20141 else
20142   ac_cv_lib_m_log10l=no
20143 fi
20144 rm -f core conftest.err conftest.$ac_objext \
20145     conftest$ac_exeext conftest.$ac_ext
20146 LIBS=$ac_check_lib_save_LIBS
20147 fi
20148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10l" >&5
20149 $as_echo "$ac_cv_lib_m_log10l" >&6; }
20150 if test "x$ac_cv_lib_m_log10l" = x""yes; then :
20151
20152 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
20153
20154 fi
20155
20156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
20157 $as_echo_n "checking for clog10f in -lm... " >&6; }
20158 if test "${ac_cv_lib_m_clog10f+set}" = set; then :
20159   $as_echo_n "(cached) " >&6
20160 else
20161   ac_check_lib_save_LIBS=$LIBS
20162 LIBS="-lm  $LIBS"
20163 if test x$gcc_no_link = xyes; then
20164   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20165 fi
20166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20167 /* end confdefs.h.  */
20168
20169 /* Override any GCC internal prototype to avoid an error.
20170    Use char because int might match the return type of a GCC
20171    builtin and then its argument prototype would still apply.  */
20172 #ifdef __cplusplus
20173 extern "C"
20174 #endif
20175 char clog10f ();
20176 int
20177 main ()
20178 {
20179 return clog10f ();
20180   ;
20181   return 0;
20182 }
20183 _ACEOF
20184 if ac_fn_c_try_link "$LINENO"; then :
20185   ac_cv_lib_m_clog10f=yes
20186 else
20187   ac_cv_lib_m_clog10f=no
20188 fi
20189 rm -f core conftest.err conftest.$ac_objext \
20190     conftest$ac_exeext conftest.$ac_ext
20191 LIBS=$ac_check_lib_save_LIBS
20192 fi
20193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10f" >&5
20194 $as_echo "$ac_cv_lib_m_clog10f" >&6; }
20195 if test "x$ac_cv_lib_m_clog10f" = x""yes; then :
20196
20197 $as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
20198
20199 fi
20200
20201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
20202 $as_echo_n "checking for clog10 in -lm... " >&6; }
20203 if test "${ac_cv_lib_m_clog10+set}" = set; then :
20204   $as_echo_n "(cached) " >&6
20205 else
20206   ac_check_lib_save_LIBS=$LIBS
20207 LIBS="-lm  $LIBS"
20208 if test x$gcc_no_link = xyes; then
20209   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20210 fi
20211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20212 /* end confdefs.h.  */
20213
20214 /* Override any GCC internal prototype to avoid an error.
20215    Use char because int might match the return type of a GCC
20216    builtin and then its argument prototype would still apply.  */
20217 #ifdef __cplusplus
20218 extern "C"
20219 #endif
20220 char clog10 ();
20221 int
20222 main ()
20223 {
20224 return clog10 ();
20225   ;
20226   return 0;
20227 }
20228 _ACEOF
20229 if ac_fn_c_try_link "$LINENO"; then :
20230   ac_cv_lib_m_clog10=yes
20231 else
20232   ac_cv_lib_m_clog10=no
20233 fi
20234 rm -f core conftest.err conftest.$ac_objext \
20235     conftest$ac_exeext conftest.$ac_ext
20236 LIBS=$ac_check_lib_save_LIBS
20237 fi
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10" >&5
20239 $as_echo "$ac_cv_lib_m_clog10" >&6; }
20240 if test "x$ac_cv_lib_m_clog10" = x""yes; then :
20241
20242 $as_echo "#define HAVE_CLOG10 1" >>confdefs.h
20243
20244 fi
20245
20246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
20247 $as_echo_n "checking for clog10l in -lm... " >&6; }
20248 if test "${ac_cv_lib_m_clog10l+set}" = set; then :
20249   $as_echo_n "(cached) " >&6
20250 else
20251   ac_check_lib_save_LIBS=$LIBS
20252 LIBS="-lm  $LIBS"
20253 if test x$gcc_no_link = xyes; then
20254   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20255 fi
20256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20257 /* end confdefs.h.  */
20258
20259 /* Override any GCC internal prototype to avoid an error.
20260    Use char because int might match the return type of a GCC
20261    builtin and then its argument prototype would still apply.  */
20262 #ifdef __cplusplus
20263 extern "C"
20264 #endif
20265 char clog10l ();
20266 int
20267 main ()
20268 {
20269 return clog10l ();
20270   ;
20271   return 0;
20272 }
20273 _ACEOF
20274 if ac_fn_c_try_link "$LINENO"; then :
20275   ac_cv_lib_m_clog10l=yes
20276 else
20277   ac_cv_lib_m_clog10l=no
20278 fi
20279 rm -f core conftest.err conftest.$ac_objext \
20280     conftest$ac_exeext conftest.$ac_ext
20281 LIBS=$ac_check_lib_save_LIBS
20282 fi
20283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10l" >&5
20284 $as_echo "$ac_cv_lib_m_clog10l" >&6; }
20285 if test "x$ac_cv_lib_m_clog10l" = x""yes; then :
20286
20287 $as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
20288
20289 fi
20290
20291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
20292 $as_echo_n "checking for nextafterf in -lm... " >&6; }
20293 if test "${ac_cv_lib_m_nextafterf+set}" = set; then :
20294   $as_echo_n "(cached) " >&6
20295 else
20296   ac_check_lib_save_LIBS=$LIBS
20297 LIBS="-lm  $LIBS"
20298 if test x$gcc_no_link = xyes; then
20299   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20300 fi
20301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20302 /* end confdefs.h.  */
20303
20304 /* Override any GCC internal prototype to avoid an error.
20305    Use char because int might match the return type of a GCC
20306    builtin and then its argument prototype would still apply.  */
20307 #ifdef __cplusplus
20308 extern "C"
20309 #endif
20310 char nextafterf ();
20311 int
20312 main ()
20313 {
20314 return nextafterf ();
20315   ;
20316   return 0;
20317 }
20318 _ACEOF
20319 if ac_fn_c_try_link "$LINENO"; then :
20320   ac_cv_lib_m_nextafterf=yes
20321 else
20322   ac_cv_lib_m_nextafterf=no
20323 fi
20324 rm -f core conftest.err conftest.$ac_objext \
20325     conftest$ac_exeext conftest.$ac_ext
20326 LIBS=$ac_check_lib_save_LIBS
20327 fi
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterf" >&5
20329 $as_echo "$ac_cv_lib_m_nextafterf" >&6; }
20330 if test "x$ac_cv_lib_m_nextafterf" = x""yes; then :
20331
20332 $as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
20333
20334 fi
20335
20336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
20337 $as_echo_n "checking for nextafter in -lm... " >&6; }
20338 if test "${ac_cv_lib_m_nextafter+set}" = set; then :
20339   $as_echo_n "(cached) " >&6
20340 else
20341   ac_check_lib_save_LIBS=$LIBS
20342 LIBS="-lm  $LIBS"
20343 if test x$gcc_no_link = xyes; then
20344   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20345 fi
20346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20347 /* end confdefs.h.  */
20348
20349 /* Override any GCC internal prototype to avoid an error.
20350    Use char because int might match the return type of a GCC
20351    builtin and then its argument prototype would still apply.  */
20352 #ifdef __cplusplus
20353 extern "C"
20354 #endif
20355 char nextafter ();
20356 int
20357 main ()
20358 {
20359 return nextafter ();
20360   ;
20361   return 0;
20362 }
20363 _ACEOF
20364 if ac_fn_c_try_link "$LINENO"; then :
20365   ac_cv_lib_m_nextafter=yes
20366 else
20367   ac_cv_lib_m_nextafter=no
20368 fi
20369 rm -f core conftest.err conftest.$ac_objext \
20370     conftest$ac_exeext conftest.$ac_ext
20371 LIBS=$ac_check_lib_save_LIBS
20372 fi
20373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafter" >&5
20374 $as_echo "$ac_cv_lib_m_nextafter" >&6; }
20375 if test "x$ac_cv_lib_m_nextafter" = x""yes; then :
20376
20377 $as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
20378
20379 fi
20380
20381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
20382 $as_echo_n "checking for nextafterl in -lm... " >&6; }
20383 if test "${ac_cv_lib_m_nextafterl+set}" = set; then :
20384   $as_echo_n "(cached) " >&6
20385 else
20386   ac_check_lib_save_LIBS=$LIBS
20387 LIBS="-lm  $LIBS"
20388 if test x$gcc_no_link = xyes; then
20389   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20390 fi
20391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20392 /* end confdefs.h.  */
20393
20394 /* Override any GCC internal prototype to avoid an error.
20395    Use char because int might match the return type of a GCC
20396    builtin and then its argument prototype would still apply.  */
20397 #ifdef __cplusplus
20398 extern "C"
20399 #endif
20400 char nextafterl ();
20401 int
20402 main ()
20403 {
20404 return nextafterl ();
20405   ;
20406   return 0;
20407 }
20408 _ACEOF
20409 if ac_fn_c_try_link "$LINENO"; then :
20410   ac_cv_lib_m_nextafterl=yes
20411 else
20412   ac_cv_lib_m_nextafterl=no
20413 fi
20414 rm -f core conftest.err conftest.$ac_objext \
20415     conftest$ac_exeext conftest.$ac_ext
20416 LIBS=$ac_check_lib_save_LIBS
20417 fi
20418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterl" >&5
20419 $as_echo "$ac_cv_lib_m_nextafterl" >&6; }
20420 if test "x$ac_cv_lib_m_nextafterl" = x""yes; then :
20421
20422 $as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
20423
20424 fi
20425
20426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
20427 $as_echo_n "checking for powf in -lm... " >&6; }
20428 if test "${ac_cv_lib_m_powf+set}" = set; then :
20429   $as_echo_n "(cached) " >&6
20430 else
20431   ac_check_lib_save_LIBS=$LIBS
20432 LIBS="-lm  $LIBS"
20433 if test x$gcc_no_link = xyes; then
20434   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20435 fi
20436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20437 /* end confdefs.h.  */
20438
20439 /* Override any GCC internal prototype to avoid an error.
20440    Use char because int might match the return type of a GCC
20441    builtin and then its argument prototype would still apply.  */
20442 #ifdef __cplusplus
20443 extern "C"
20444 #endif
20445 char powf ();
20446 int
20447 main ()
20448 {
20449 return powf ();
20450   ;
20451   return 0;
20452 }
20453 _ACEOF
20454 if ac_fn_c_try_link "$LINENO"; then :
20455   ac_cv_lib_m_powf=yes
20456 else
20457   ac_cv_lib_m_powf=no
20458 fi
20459 rm -f core conftest.err conftest.$ac_objext \
20460     conftest$ac_exeext conftest.$ac_ext
20461 LIBS=$ac_check_lib_save_LIBS
20462 fi
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powf" >&5
20464 $as_echo "$ac_cv_lib_m_powf" >&6; }
20465 if test "x$ac_cv_lib_m_powf" = x""yes; then :
20466
20467 $as_echo "#define HAVE_POWF 1" >>confdefs.h
20468
20469 fi
20470
20471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
20472 $as_echo_n "checking for pow in -lm... " >&6; }
20473 if test "${ac_cv_lib_m_pow+set}" = set; then :
20474   $as_echo_n "(cached) " >&6
20475 else
20476   ac_check_lib_save_LIBS=$LIBS
20477 LIBS="-lm  $LIBS"
20478 if test x$gcc_no_link = xyes; then
20479   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20480 fi
20481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20482 /* end confdefs.h.  */
20483
20484 /* Override any GCC internal prototype to avoid an error.
20485    Use char because int might match the return type of a GCC
20486    builtin and then its argument prototype would still apply.  */
20487 #ifdef __cplusplus
20488 extern "C"
20489 #endif
20490 char pow ();
20491 int
20492 main ()
20493 {
20494 return pow ();
20495   ;
20496   return 0;
20497 }
20498 _ACEOF
20499 if ac_fn_c_try_link "$LINENO"; then :
20500   ac_cv_lib_m_pow=yes
20501 else
20502   ac_cv_lib_m_pow=no
20503 fi
20504 rm -f core conftest.err conftest.$ac_objext \
20505     conftest$ac_exeext conftest.$ac_ext
20506 LIBS=$ac_check_lib_save_LIBS
20507 fi
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
20509 $as_echo "$ac_cv_lib_m_pow" >&6; }
20510 if test "x$ac_cv_lib_m_pow" = x""yes; then :
20511
20512 $as_echo "#define HAVE_POW 1" >>confdefs.h
20513
20514 fi
20515
20516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
20517 $as_echo_n "checking for powl in -lm... " >&6; }
20518 if test "${ac_cv_lib_m_powl+set}" = set; then :
20519   $as_echo_n "(cached) " >&6
20520 else
20521   ac_check_lib_save_LIBS=$LIBS
20522 LIBS="-lm  $LIBS"
20523 if test x$gcc_no_link = xyes; then
20524   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20525 fi
20526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20527 /* end confdefs.h.  */
20528
20529 /* Override any GCC internal prototype to avoid an error.
20530    Use char because int might match the return type of a GCC
20531    builtin and then its argument prototype would still apply.  */
20532 #ifdef __cplusplus
20533 extern "C"
20534 #endif
20535 char powl ();
20536 int
20537 main ()
20538 {
20539 return powl ();
20540   ;
20541   return 0;
20542 }
20543 _ACEOF
20544 if ac_fn_c_try_link "$LINENO"; then :
20545   ac_cv_lib_m_powl=yes
20546 else
20547   ac_cv_lib_m_powl=no
20548 fi
20549 rm -f core conftest.err conftest.$ac_objext \
20550     conftest$ac_exeext conftest.$ac_ext
20551 LIBS=$ac_check_lib_save_LIBS
20552 fi
20553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powl" >&5
20554 $as_echo "$ac_cv_lib_m_powl" >&6; }
20555 if test "x$ac_cv_lib_m_powl" = x""yes; then :
20556
20557 $as_echo "#define HAVE_POWL 1" >>confdefs.h
20558
20559 fi
20560
20561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
20562 $as_echo_n "checking for cpowf in -lm... " >&6; }
20563 if test "${ac_cv_lib_m_cpowf+set}" = set; then :
20564   $as_echo_n "(cached) " >&6
20565 else
20566   ac_check_lib_save_LIBS=$LIBS
20567 LIBS="-lm  $LIBS"
20568 if test x$gcc_no_link = xyes; then
20569   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20570 fi
20571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20572 /* end confdefs.h.  */
20573
20574 /* Override any GCC internal prototype to avoid an error.
20575    Use char because int might match the return type of a GCC
20576    builtin and then its argument prototype would still apply.  */
20577 #ifdef __cplusplus
20578 extern "C"
20579 #endif
20580 char cpowf ();
20581 int
20582 main ()
20583 {
20584 return cpowf ();
20585   ;
20586   return 0;
20587 }
20588 _ACEOF
20589 if ac_fn_c_try_link "$LINENO"; then :
20590   ac_cv_lib_m_cpowf=yes
20591 else
20592   ac_cv_lib_m_cpowf=no
20593 fi
20594 rm -f core conftest.err conftest.$ac_objext \
20595     conftest$ac_exeext conftest.$ac_ext
20596 LIBS=$ac_check_lib_save_LIBS
20597 fi
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowf" >&5
20599 $as_echo "$ac_cv_lib_m_cpowf" >&6; }
20600 if test "x$ac_cv_lib_m_cpowf" = x""yes; then :
20601
20602 $as_echo "#define HAVE_CPOWF 1" >>confdefs.h
20603
20604 fi
20605
20606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
20607 $as_echo_n "checking for cpow in -lm... " >&6; }
20608 if test "${ac_cv_lib_m_cpow+set}" = set; then :
20609   $as_echo_n "(cached) " >&6
20610 else
20611   ac_check_lib_save_LIBS=$LIBS
20612 LIBS="-lm  $LIBS"
20613 if test x$gcc_no_link = xyes; then
20614   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20615 fi
20616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20617 /* end confdefs.h.  */
20618
20619 /* Override any GCC internal prototype to avoid an error.
20620    Use char because int might match the return type of a GCC
20621    builtin and then its argument prototype would still apply.  */
20622 #ifdef __cplusplus
20623 extern "C"
20624 #endif
20625 char cpow ();
20626 int
20627 main ()
20628 {
20629 return cpow ();
20630   ;
20631   return 0;
20632 }
20633 _ACEOF
20634 if ac_fn_c_try_link "$LINENO"; then :
20635   ac_cv_lib_m_cpow=yes
20636 else
20637   ac_cv_lib_m_cpow=no
20638 fi
20639 rm -f core conftest.err conftest.$ac_objext \
20640     conftest$ac_exeext conftest.$ac_ext
20641 LIBS=$ac_check_lib_save_LIBS
20642 fi
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpow" >&5
20644 $as_echo "$ac_cv_lib_m_cpow" >&6; }
20645 if test "x$ac_cv_lib_m_cpow" = x""yes; then :
20646
20647 $as_echo "#define HAVE_CPOW 1" >>confdefs.h
20648
20649 fi
20650
20651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
20652 $as_echo_n "checking for cpowl in -lm... " >&6; }
20653 if test "${ac_cv_lib_m_cpowl+set}" = set; then :
20654   $as_echo_n "(cached) " >&6
20655 else
20656   ac_check_lib_save_LIBS=$LIBS
20657 LIBS="-lm  $LIBS"
20658 if test x$gcc_no_link = xyes; then
20659   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20660 fi
20661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20662 /* end confdefs.h.  */
20663
20664 /* Override any GCC internal prototype to avoid an error.
20665    Use char because int might match the return type of a GCC
20666    builtin and then its argument prototype would still apply.  */
20667 #ifdef __cplusplus
20668 extern "C"
20669 #endif
20670 char cpowl ();
20671 int
20672 main ()
20673 {
20674 return cpowl ();
20675   ;
20676   return 0;
20677 }
20678 _ACEOF
20679 if ac_fn_c_try_link "$LINENO"; then :
20680   ac_cv_lib_m_cpowl=yes
20681 else
20682   ac_cv_lib_m_cpowl=no
20683 fi
20684 rm -f core conftest.err conftest.$ac_objext \
20685     conftest$ac_exeext conftest.$ac_ext
20686 LIBS=$ac_check_lib_save_LIBS
20687 fi
20688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowl" >&5
20689 $as_echo "$ac_cv_lib_m_cpowl" >&6; }
20690 if test "x$ac_cv_lib_m_cpowl" = x""yes; then :
20691
20692 $as_echo "#define HAVE_CPOWL 1" >>confdefs.h
20693
20694 fi
20695
20696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
20697 $as_echo_n "checking for roundf in -lm... " >&6; }
20698 if test "${ac_cv_lib_m_roundf+set}" = set; then :
20699   $as_echo_n "(cached) " >&6
20700 else
20701   ac_check_lib_save_LIBS=$LIBS
20702 LIBS="-lm  $LIBS"
20703 if test x$gcc_no_link = xyes; then
20704   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20705 fi
20706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20707 /* end confdefs.h.  */
20708
20709 /* Override any GCC internal prototype to avoid an error.
20710    Use char because int might match the return type of a GCC
20711    builtin and then its argument prototype would still apply.  */
20712 #ifdef __cplusplus
20713 extern "C"
20714 #endif
20715 char roundf ();
20716 int
20717 main ()
20718 {
20719 return roundf ();
20720   ;
20721   return 0;
20722 }
20723 _ACEOF
20724 if ac_fn_c_try_link "$LINENO"; then :
20725   ac_cv_lib_m_roundf=yes
20726 else
20727   ac_cv_lib_m_roundf=no
20728 fi
20729 rm -f core conftest.err conftest.$ac_objext \
20730     conftest$ac_exeext conftest.$ac_ext
20731 LIBS=$ac_check_lib_save_LIBS
20732 fi
20733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
20734 $as_echo "$ac_cv_lib_m_roundf" >&6; }
20735 if test "x$ac_cv_lib_m_roundf" = x""yes; then :
20736
20737 $as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
20738
20739 fi
20740
20741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
20742 $as_echo_n "checking for round in -lm... " >&6; }
20743 if test "${ac_cv_lib_m_round+set}" = set; then :
20744   $as_echo_n "(cached) " >&6
20745 else
20746   ac_check_lib_save_LIBS=$LIBS
20747 LIBS="-lm  $LIBS"
20748 if test x$gcc_no_link = xyes; then
20749   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20750 fi
20751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20752 /* end confdefs.h.  */
20753
20754 /* Override any GCC internal prototype to avoid an error.
20755    Use char because int might match the return type of a GCC
20756    builtin and then its argument prototype would still apply.  */
20757 #ifdef __cplusplus
20758 extern "C"
20759 #endif
20760 char round ();
20761 int
20762 main ()
20763 {
20764 return round ();
20765   ;
20766   return 0;
20767 }
20768 _ACEOF
20769 if ac_fn_c_try_link "$LINENO"; then :
20770   ac_cv_lib_m_round=yes
20771 else
20772   ac_cv_lib_m_round=no
20773 fi
20774 rm -f core conftest.err conftest.$ac_objext \
20775     conftest$ac_exeext conftest.$ac_ext
20776 LIBS=$ac_check_lib_save_LIBS
20777 fi
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
20779 $as_echo "$ac_cv_lib_m_round" >&6; }
20780 if test "x$ac_cv_lib_m_round" = x""yes; then :
20781
20782 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
20783
20784 fi
20785
20786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
20787 $as_echo_n "checking for roundl in -lm... " >&6; }
20788 if test "${ac_cv_lib_m_roundl+set}" = set; then :
20789   $as_echo_n "(cached) " >&6
20790 else
20791   ac_check_lib_save_LIBS=$LIBS
20792 LIBS="-lm  $LIBS"
20793 if test x$gcc_no_link = xyes; then
20794   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20795 fi
20796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20797 /* end confdefs.h.  */
20798
20799 /* Override any GCC internal prototype to avoid an error.
20800    Use char because int might match the return type of a GCC
20801    builtin and then its argument prototype would still apply.  */
20802 #ifdef __cplusplus
20803 extern "C"
20804 #endif
20805 char roundl ();
20806 int
20807 main ()
20808 {
20809 return roundl ();
20810   ;
20811   return 0;
20812 }
20813 _ACEOF
20814 if ac_fn_c_try_link "$LINENO"; then :
20815   ac_cv_lib_m_roundl=yes
20816 else
20817   ac_cv_lib_m_roundl=no
20818 fi
20819 rm -f core conftest.err conftest.$ac_objext \
20820     conftest$ac_exeext conftest.$ac_ext
20821 LIBS=$ac_check_lib_save_LIBS
20822 fi
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundl" >&5
20824 $as_echo "$ac_cv_lib_m_roundl" >&6; }
20825 if test "x$ac_cv_lib_m_roundl" = x""yes; then :
20826
20827 $as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20828
20829 fi
20830
20831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20832 $as_echo_n "checking for lroundf in -lm... " >&6; }
20833 if test "${ac_cv_lib_m_lroundf+set}" = set; then :
20834   $as_echo_n "(cached) " >&6
20835 else
20836   ac_check_lib_save_LIBS=$LIBS
20837 LIBS="-lm  $LIBS"
20838 if test x$gcc_no_link = xyes; then
20839   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20840 fi
20841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20842 /* end confdefs.h.  */
20843
20844 /* Override any GCC internal prototype to avoid an error.
20845    Use char because int might match the return type of a GCC
20846    builtin and then its argument prototype would still apply.  */
20847 #ifdef __cplusplus
20848 extern "C"
20849 #endif
20850 char lroundf ();
20851 int
20852 main ()
20853 {
20854 return lroundf ();
20855   ;
20856   return 0;
20857 }
20858 _ACEOF
20859 if ac_fn_c_try_link "$LINENO"; then :
20860   ac_cv_lib_m_lroundf=yes
20861 else
20862   ac_cv_lib_m_lroundf=no
20863 fi
20864 rm -f core conftest.err conftest.$ac_objext \
20865     conftest$ac_exeext conftest.$ac_ext
20866 LIBS=$ac_check_lib_save_LIBS
20867 fi
20868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5
20869 $as_echo "$ac_cv_lib_m_lroundf" >&6; }
20870 if test "x$ac_cv_lib_m_lroundf" = x""yes; then :
20871
20872 $as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20873
20874 fi
20875
20876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20877 $as_echo_n "checking for lround in -lm... " >&6; }
20878 if test "${ac_cv_lib_m_lround+set}" = set; then :
20879   $as_echo_n "(cached) " >&6
20880 else
20881   ac_check_lib_save_LIBS=$LIBS
20882 LIBS="-lm  $LIBS"
20883 if test x$gcc_no_link = xyes; then
20884   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20885 fi
20886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20887 /* end confdefs.h.  */
20888
20889 /* Override any GCC internal prototype to avoid an error.
20890    Use char because int might match the return type of a GCC
20891    builtin and then its argument prototype would still apply.  */
20892 #ifdef __cplusplus
20893 extern "C"
20894 #endif
20895 char lround ();
20896 int
20897 main ()
20898 {
20899 return lround ();
20900   ;
20901   return 0;
20902 }
20903 _ACEOF
20904 if ac_fn_c_try_link "$LINENO"; then :
20905   ac_cv_lib_m_lround=yes
20906 else
20907   ac_cv_lib_m_lround=no
20908 fi
20909 rm -f core conftest.err conftest.$ac_objext \
20910     conftest$ac_exeext conftest.$ac_ext
20911 LIBS=$ac_check_lib_save_LIBS
20912 fi
20913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20914 $as_echo "$ac_cv_lib_m_lround" >&6; }
20915 if test "x$ac_cv_lib_m_lround" = x""yes; then :
20916
20917 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20918
20919 fi
20920
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20922 $as_echo_n "checking for lroundl in -lm... " >&6; }
20923 if test "${ac_cv_lib_m_lroundl+set}" = set; then :
20924   $as_echo_n "(cached) " >&6
20925 else
20926   ac_check_lib_save_LIBS=$LIBS
20927 LIBS="-lm  $LIBS"
20928 if test x$gcc_no_link = xyes; then
20929   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20930 fi
20931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20932 /* end confdefs.h.  */
20933
20934 /* Override any GCC internal prototype to avoid an error.
20935    Use char because int might match the return type of a GCC
20936    builtin and then its argument prototype would still apply.  */
20937 #ifdef __cplusplus
20938 extern "C"
20939 #endif
20940 char lroundl ();
20941 int
20942 main ()
20943 {
20944 return lroundl ();
20945   ;
20946   return 0;
20947 }
20948 _ACEOF
20949 if ac_fn_c_try_link "$LINENO"; then :
20950   ac_cv_lib_m_lroundl=yes
20951 else
20952   ac_cv_lib_m_lroundl=no
20953 fi
20954 rm -f core conftest.err conftest.$ac_objext \
20955     conftest$ac_exeext conftest.$ac_ext
20956 LIBS=$ac_check_lib_save_LIBS
20957 fi
20958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundl" >&5
20959 $as_echo "$ac_cv_lib_m_lroundl" >&6; }
20960 if test "x$ac_cv_lib_m_lroundl" = x""yes; then :
20961
20962 $as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20963
20964 fi
20965
20966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20967 $as_echo_n "checking for llroundf in -lm... " >&6; }
20968 if test "${ac_cv_lib_m_llroundf+set}" = set; then :
20969   $as_echo_n "(cached) " >&6
20970 else
20971   ac_check_lib_save_LIBS=$LIBS
20972 LIBS="-lm  $LIBS"
20973 if test x$gcc_no_link = xyes; then
20974   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20975 fi
20976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20977 /* end confdefs.h.  */
20978
20979 /* Override any GCC internal prototype to avoid an error.
20980    Use char because int might match the return type of a GCC
20981    builtin and then its argument prototype would still apply.  */
20982 #ifdef __cplusplus
20983 extern "C"
20984 #endif
20985 char llroundf ();
20986 int
20987 main ()
20988 {
20989 return llroundf ();
20990   ;
20991   return 0;
20992 }
20993 _ACEOF
20994 if ac_fn_c_try_link "$LINENO"; then :
20995   ac_cv_lib_m_llroundf=yes
20996 else
20997   ac_cv_lib_m_llroundf=no
20998 fi
20999 rm -f core conftest.err conftest.$ac_objext \
21000     conftest$ac_exeext conftest.$ac_ext
21001 LIBS=$ac_check_lib_save_LIBS
21002 fi
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundf" >&5
21004 $as_echo "$ac_cv_lib_m_llroundf" >&6; }
21005 if test "x$ac_cv_lib_m_llroundf" = x""yes; then :
21006
21007 $as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
21008
21009 fi
21010
21011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
21012 $as_echo_n "checking for llround in -lm... " >&6; }
21013 if test "${ac_cv_lib_m_llround+set}" = set; then :
21014   $as_echo_n "(cached) " >&6
21015 else
21016   ac_check_lib_save_LIBS=$LIBS
21017 LIBS="-lm  $LIBS"
21018 if test x$gcc_no_link = xyes; then
21019   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21020 fi
21021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21022 /* end confdefs.h.  */
21023
21024 /* Override any GCC internal prototype to avoid an error.
21025    Use char because int might match the return type of a GCC
21026    builtin and then its argument prototype would still apply.  */
21027 #ifdef __cplusplus
21028 extern "C"
21029 #endif
21030 char llround ();
21031 int
21032 main ()
21033 {
21034 return llround ();
21035   ;
21036   return 0;
21037 }
21038 _ACEOF
21039 if ac_fn_c_try_link "$LINENO"; then :
21040   ac_cv_lib_m_llround=yes
21041 else
21042   ac_cv_lib_m_llround=no
21043 fi
21044 rm -f core conftest.err conftest.$ac_objext \
21045     conftest$ac_exeext conftest.$ac_ext
21046 LIBS=$ac_check_lib_save_LIBS
21047 fi
21048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llround" >&5
21049 $as_echo "$ac_cv_lib_m_llround" >&6; }
21050 if test "x$ac_cv_lib_m_llround" = x""yes; then :
21051
21052 $as_echo "#define HAVE_LLROUND 1" >>confdefs.h
21053
21054 fi
21055
21056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
21057 $as_echo_n "checking for llroundl in -lm... " >&6; }
21058 if test "${ac_cv_lib_m_llroundl+set}" = set; then :
21059   $as_echo_n "(cached) " >&6
21060 else
21061   ac_check_lib_save_LIBS=$LIBS
21062 LIBS="-lm  $LIBS"
21063 if test x$gcc_no_link = xyes; then
21064   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21065 fi
21066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21067 /* end confdefs.h.  */
21068
21069 /* Override any GCC internal prototype to avoid an error.
21070    Use char because int might match the return type of a GCC
21071    builtin and then its argument prototype would still apply.  */
21072 #ifdef __cplusplus
21073 extern "C"
21074 #endif
21075 char llroundl ();
21076 int
21077 main ()
21078 {
21079 return llroundl ();
21080   ;
21081   return 0;
21082 }
21083 _ACEOF
21084 if ac_fn_c_try_link "$LINENO"; then :
21085   ac_cv_lib_m_llroundl=yes
21086 else
21087   ac_cv_lib_m_llroundl=no
21088 fi
21089 rm -f core conftest.err conftest.$ac_objext \
21090     conftest$ac_exeext conftest.$ac_ext
21091 LIBS=$ac_check_lib_save_LIBS
21092 fi
21093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundl" >&5
21094 $as_echo "$ac_cv_lib_m_llroundl" >&6; }
21095 if test "x$ac_cv_lib_m_llroundl" = x""yes; then :
21096
21097 $as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
21098
21099 fi
21100
21101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
21102 $as_echo_n "checking for scalbnf in -lm... " >&6; }
21103 if test "${ac_cv_lib_m_scalbnf+set}" = set; then :
21104   $as_echo_n "(cached) " >&6
21105 else
21106   ac_check_lib_save_LIBS=$LIBS
21107 LIBS="-lm  $LIBS"
21108 if test x$gcc_no_link = xyes; then
21109   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21110 fi
21111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21112 /* end confdefs.h.  */
21113
21114 /* Override any GCC internal prototype to avoid an error.
21115    Use char because int might match the return type of a GCC
21116    builtin and then its argument prototype would still apply.  */
21117 #ifdef __cplusplus
21118 extern "C"
21119 #endif
21120 char scalbnf ();
21121 int
21122 main ()
21123 {
21124 return scalbnf ();
21125   ;
21126   return 0;
21127 }
21128 _ACEOF
21129 if ac_fn_c_try_link "$LINENO"; then :
21130   ac_cv_lib_m_scalbnf=yes
21131 else
21132   ac_cv_lib_m_scalbnf=no
21133 fi
21134 rm -f core conftest.err conftest.$ac_objext \
21135     conftest$ac_exeext conftest.$ac_ext
21136 LIBS=$ac_check_lib_save_LIBS
21137 fi
21138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnf" >&5
21139 $as_echo "$ac_cv_lib_m_scalbnf" >&6; }
21140 if test "x$ac_cv_lib_m_scalbnf" = x""yes; then :
21141
21142 $as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
21143
21144 fi
21145
21146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
21147 $as_echo_n "checking for scalbn in -lm... " >&6; }
21148 if test "${ac_cv_lib_m_scalbn+set}" = set; then :
21149   $as_echo_n "(cached) " >&6
21150 else
21151   ac_check_lib_save_LIBS=$LIBS
21152 LIBS="-lm  $LIBS"
21153 if test x$gcc_no_link = xyes; then
21154   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21155 fi
21156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21157 /* end confdefs.h.  */
21158
21159 /* Override any GCC internal prototype to avoid an error.
21160    Use char because int might match the return type of a GCC
21161    builtin and then its argument prototype would still apply.  */
21162 #ifdef __cplusplus
21163 extern "C"
21164 #endif
21165 char scalbn ();
21166 int
21167 main ()
21168 {
21169 return scalbn ();
21170   ;
21171   return 0;
21172 }
21173 _ACEOF
21174 if ac_fn_c_try_link "$LINENO"; then :
21175   ac_cv_lib_m_scalbn=yes
21176 else
21177   ac_cv_lib_m_scalbn=no
21178 fi
21179 rm -f core conftest.err conftest.$ac_objext \
21180     conftest$ac_exeext conftest.$ac_ext
21181 LIBS=$ac_check_lib_save_LIBS
21182 fi
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbn" >&5
21184 $as_echo "$ac_cv_lib_m_scalbn" >&6; }
21185 if test "x$ac_cv_lib_m_scalbn" = x""yes; then :
21186
21187 $as_echo "#define HAVE_SCALBN 1" >>confdefs.h
21188
21189 fi
21190
21191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
21192 $as_echo_n "checking for scalbnl in -lm... " >&6; }
21193 if test "${ac_cv_lib_m_scalbnl+set}" = set; then :
21194   $as_echo_n "(cached) " >&6
21195 else
21196   ac_check_lib_save_LIBS=$LIBS
21197 LIBS="-lm  $LIBS"
21198 if test x$gcc_no_link = xyes; then
21199   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21200 fi
21201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21202 /* end confdefs.h.  */
21203
21204 /* Override any GCC internal prototype to avoid an error.
21205    Use char because int might match the return type of a GCC
21206    builtin and then its argument prototype would still apply.  */
21207 #ifdef __cplusplus
21208 extern "C"
21209 #endif
21210 char scalbnl ();
21211 int
21212 main ()
21213 {
21214 return scalbnl ();
21215   ;
21216   return 0;
21217 }
21218 _ACEOF
21219 if ac_fn_c_try_link "$LINENO"; then :
21220   ac_cv_lib_m_scalbnl=yes
21221 else
21222   ac_cv_lib_m_scalbnl=no
21223 fi
21224 rm -f core conftest.err conftest.$ac_objext \
21225     conftest$ac_exeext conftest.$ac_ext
21226 LIBS=$ac_check_lib_save_LIBS
21227 fi
21228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnl" >&5
21229 $as_echo "$ac_cv_lib_m_scalbnl" >&6; }
21230 if test "x$ac_cv_lib_m_scalbnl" = x""yes; then :
21231
21232 $as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
21233
21234 fi
21235
21236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
21237 $as_echo_n "checking for sinf in -lm... " >&6; }
21238 if test "${ac_cv_lib_m_sinf+set}" = set; then :
21239   $as_echo_n "(cached) " >&6
21240 else
21241   ac_check_lib_save_LIBS=$LIBS
21242 LIBS="-lm  $LIBS"
21243 if test x$gcc_no_link = xyes; then
21244   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21245 fi
21246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21247 /* end confdefs.h.  */
21248
21249 /* Override any GCC internal prototype to avoid an error.
21250    Use char because int might match the return type of a GCC
21251    builtin and then its argument prototype would still apply.  */
21252 #ifdef __cplusplus
21253 extern "C"
21254 #endif
21255 char sinf ();
21256 int
21257 main ()
21258 {
21259 return sinf ();
21260   ;
21261   return 0;
21262 }
21263 _ACEOF
21264 if ac_fn_c_try_link "$LINENO"; then :
21265   ac_cv_lib_m_sinf=yes
21266 else
21267   ac_cv_lib_m_sinf=no
21268 fi
21269 rm -f core conftest.err conftest.$ac_objext \
21270     conftest$ac_exeext conftest.$ac_ext
21271 LIBS=$ac_check_lib_save_LIBS
21272 fi
21273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
21274 $as_echo "$ac_cv_lib_m_sinf" >&6; }
21275 if test "x$ac_cv_lib_m_sinf" = x""yes; then :
21276
21277 $as_echo "#define HAVE_SINF 1" >>confdefs.h
21278
21279 fi
21280
21281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21282 $as_echo_n "checking for sin in -lm... " >&6; }
21283 if test "${ac_cv_lib_m_sin+set}" = set; then :
21284   $as_echo_n "(cached) " >&6
21285 else
21286   ac_check_lib_save_LIBS=$LIBS
21287 LIBS="-lm  $LIBS"
21288 if test x$gcc_no_link = xyes; then
21289   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21290 fi
21291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21292 /* end confdefs.h.  */
21293
21294 /* Override any GCC internal prototype to avoid an error.
21295    Use char because int might match the return type of a GCC
21296    builtin and then its argument prototype would still apply.  */
21297 #ifdef __cplusplus
21298 extern "C"
21299 #endif
21300 char sin ();
21301 int
21302 main ()
21303 {
21304 return sin ();
21305   ;
21306   return 0;
21307 }
21308 _ACEOF
21309 if ac_fn_c_try_link "$LINENO"; then :
21310   ac_cv_lib_m_sin=yes
21311 else
21312   ac_cv_lib_m_sin=no
21313 fi
21314 rm -f core conftest.err conftest.$ac_objext \
21315     conftest$ac_exeext conftest.$ac_ext
21316 LIBS=$ac_check_lib_save_LIBS
21317 fi
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21319 $as_echo "$ac_cv_lib_m_sin" >&6; }
21320 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21321
21322 $as_echo "#define HAVE_SIN 1" >>confdefs.h
21323
21324 fi
21325
21326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
21327 $as_echo_n "checking for sinl in -lm... " >&6; }
21328 if test "${ac_cv_lib_m_sinl+set}" = set; then :
21329   $as_echo_n "(cached) " >&6
21330 else
21331   ac_check_lib_save_LIBS=$LIBS
21332 LIBS="-lm  $LIBS"
21333 if test x$gcc_no_link = xyes; then
21334   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21335 fi
21336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21337 /* end confdefs.h.  */
21338
21339 /* Override any GCC internal prototype to avoid an error.
21340    Use char because int might match the return type of a GCC
21341    builtin and then its argument prototype would still apply.  */
21342 #ifdef __cplusplus
21343 extern "C"
21344 #endif
21345 char sinl ();
21346 int
21347 main ()
21348 {
21349 return sinl ();
21350   ;
21351   return 0;
21352 }
21353 _ACEOF
21354 if ac_fn_c_try_link "$LINENO"; then :
21355   ac_cv_lib_m_sinl=yes
21356 else
21357   ac_cv_lib_m_sinl=no
21358 fi
21359 rm -f core conftest.err conftest.$ac_objext \
21360     conftest$ac_exeext conftest.$ac_ext
21361 LIBS=$ac_check_lib_save_LIBS
21362 fi
21363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinl" >&5
21364 $as_echo "$ac_cv_lib_m_sinl" >&6; }
21365 if test "x$ac_cv_lib_m_sinl" = x""yes; then :
21366
21367 $as_echo "#define HAVE_SINL 1" >>confdefs.h
21368
21369 fi
21370
21371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
21372 $as_echo_n "checking for csinf in -lm... " >&6; }
21373 if test "${ac_cv_lib_m_csinf+set}" = set; then :
21374   $as_echo_n "(cached) " >&6
21375 else
21376   ac_check_lib_save_LIBS=$LIBS
21377 LIBS="-lm  $LIBS"
21378 if test x$gcc_no_link = xyes; then
21379   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21380 fi
21381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21382 /* end confdefs.h.  */
21383
21384 /* Override any GCC internal prototype to avoid an error.
21385    Use char because int might match the return type of a GCC
21386    builtin and then its argument prototype would still apply.  */
21387 #ifdef __cplusplus
21388 extern "C"
21389 #endif
21390 char csinf ();
21391 int
21392 main ()
21393 {
21394 return csinf ();
21395   ;
21396   return 0;
21397 }
21398 _ACEOF
21399 if ac_fn_c_try_link "$LINENO"; then :
21400   ac_cv_lib_m_csinf=yes
21401 else
21402   ac_cv_lib_m_csinf=no
21403 fi
21404 rm -f core conftest.err conftest.$ac_objext \
21405     conftest$ac_exeext conftest.$ac_ext
21406 LIBS=$ac_check_lib_save_LIBS
21407 fi
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinf" >&5
21409 $as_echo "$ac_cv_lib_m_csinf" >&6; }
21410 if test "x$ac_cv_lib_m_csinf" = x""yes; then :
21411
21412 $as_echo "#define HAVE_CSINF 1" >>confdefs.h
21413
21414 fi
21415
21416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
21417 $as_echo_n "checking for csin in -lm... " >&6; }
21418 if test "${ac_cv_lib_m_csin+set}" = set; then :
21419   $as_echo_n "(cached) " >&6
21420 else
21421   ac_check_lib_save_LIBS=$LIBS
21422 LIBS="-lm  $LIBS"
21423 if test x$gcc_no_link = xyes; then
21424   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21425 fi
21426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21427 /* end confdefs.h.  */
21428
21429 /* Override any GCC internal prototype to avoid an error.
21430    Use char because int might match the return type of a GCC
21431    builtin and then its argument prototype would still apply.  */
21432 #ifdef __cplusplus
21433 extern "C"
21434 #endif
21435 char csin ();
21436 int
21437 main ()
21438 {
21439 return csin ();
21440   ;
21441   return 0;
21442 }
21443 _ACEOF
21444 if ac_fn_c_try_link "$LINENO"; then :
21445   ac_cv_lib_m_csin=yes
21446 else
21447   ac_cv_lib_m_csin=no
21448 fi
21449 rm -f core conftest.err conftest.$ac_objext \
21450     conftest$ac_exeext conftest.$ac_ext
21451 LIBS=$ac_check_lib_save_LIBS
21452 fi
21453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csin" >&5
21454 $as_echo "$ac_cv_lib_m_csin" >&6; }
21455 if test "x$ac_cv_lib_m_csin" = x""yes; then :
21456
21457 $as_echo "#define HAVE_CSIN 1" >>confdefs.h
21458
21459 fi
21460
21461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
21462 $as_echo_n "checking for csinl in -lm... " >&6; }
21463 if test "${ac_cv_lib_m_csinl+set}" = set; then :
21464   $as_echo_n "(cached) " >&6
21465 else
21466   ac_check_lib_save_LIBS=$LIBS
21467 LIBS="-lm  $LIBS"
21468 if test x$gcc_no_link = xyes; then
21469   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21470 fi
21471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21472 /* end confdefs.h.  */
21473
21474 /* Override any GCC internal prototype to avoid an error.
21475    Use char because int might match the return type of a GCC
21476    builtin and then its argument prototype would still apply.  */
21477 #ifdef __cplusplus
21478 extern "C"
21479 #endif
21480 char csinl ();
21481 int
21482 main ()
21483 {
21484 return csinl ();
21485   ;
21486   return 0;
21487 }
21488 _ACEOF
21489 if ac_fn_c_try_link "$LINENO"; then :
21490   ac_cv_lib_m_csinl=yes
21491 else
21492   ac_cv_lib_m_csinl=no
21493 fi
21494 rm -f core conftest.err conftest.$ac_objext \
21495     conftest$ac_exeext conftest.$ac_ext
21496 LIBS=$ac_check_lib_save_LIBS
21497 fi
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinl" >&5
21499 $as_echo "$ac_cv_lib_m_csinl" >&6; }
21500 if test "x$ac_cv_lib_m_csinl" = x""yes; then :
21501
21502 $as_echo "#define HAVE_CSINL 1" >>confdefs.h
21503
21504 fi
21505
21506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
21507 $as_echo_n "checking for sinhf in -lm... " >&6; }
21508 if test "${ac_cv_lib_m_sinhf+set}" = set; then :
21509   $as_echo_n "(cached) " >&6
21510 else
21511   ac_check_lib_save_LIBS=$LIBS
21512 LIBS="-lm  $LIBS"
21513 if test x$gcc_no_link = xyes; then
21514   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21515 fi
21516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21517 /* end confdefs.h.  */
21518
21519 /* Override any GCC internal prototype to avoid an error.
21520    Use char because int might match the return type of a GCC
21521    builtin and then its argument prototype would still apply.  */
21522 #ifdef __cplusplus
21523 extern "C"
21524 #endif
21525 char sinhf ();
21526 int
21527 main ()
21528 {
21529 return sinhf ();
21530   ;
21531   return 0;
21532 }
21533 _ACEOF
21534 if ac_fn_c_try_link "$LINENO"; then :
21535   ac_cv_lib_m_sinhf=yes
21536 else
21537   ac_cv_lib_m_sinhf=no
21538 fi
21539 rm -f core conftest.err conftest.$ac_objext \
21540     conftest$ac_exeext conftest.$ac_ext
21541 LIBS=$ac_check_lib_save_LIBS
21542 fi
21543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhf" >&5
21544 $as_echo "$ac_cv_lib_m_sinhf" >&6; }
21545 if test "x$ac_cv_lib_m_sinhf" = x""yes; then :
21546
21547 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
21548
21549 fi
21550
21551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
21552 $as_echo_n "checking for sinh in -lm... " >&6; }
21553 if test "${ac_cv_lib_m_sinh+set}" = set; then :
21554   $as_echo_n "(cached) " >&6
21555 else
21556   ac_check_lib_save_LIBS=$LIBS
21557 LIBS="-lm  $LIBS"
21558 if test x$gcc_no_link = xyes; then
21559   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21560 fi
21561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21562 /* end confdefs.h.  */
21563
21564 /* Override any GCC internal prototype to avoid an error.
21565    Use char because int might match the return type of a GCC
21566    builtin and then its argument prototype would still apply.  */
21567 #ifdef __cplusplus
21568 extern "C"
21569 #endif
21570 char sinh ();
21571 int
21572 main ()
21573 {
21574 return sinh ();
21575   ;
21576   return 0;
21577 }
21578 _ACEOF
21579 if ac_fn_c_try_link "$LINENO"; then :
21580   ac_cv_lib_m_sinh=yes
21581 else
21582   ac_cv_lib_m_sinh=no
21583 fi
21584 rm -f core conftest.err conftest.$ac_objext \
21585     conftest$ac_exeext conftest.$ac_ext
21586 LIBS=$ac_check_lib_save_LIBS
21587 fi
21588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinh" >&5
21589 $as_echo "$ac_cv_lib_m_sinh" >&6; }
21590 if test "x$ac_cv_lib_m_sinh" = x""yes; then :
21591
21592 $as_echo "#define HAVE_SINH 1" >>confdefs.h
21593
21594 fi
21595
21596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
21597 $as_echo_n "checking for sinhl in -lm... " >&6; }
21598 if test "${ac_cv_lib_m_sinhl+set}" = set; then :
21599   $as_echo_n "(cached) " >&6
21600 else
21601   ac_check_lib_save_LIBS=$LIBS
21602 LIBS="-lm  $LIBS"
21603 if test x$gcc_no_link = xyes; then
21604   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21605 fi
21606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21607 /* end confdefs.h.  */
21608
21609 /* Override any GCC internal prototype to avoid an error.
21610    Use char because int might match the return type of a GCC
21611    builtin and then its argument prototype would still apply.  */
21612 #ifdef __cplusplus
21613 extern "C"
21614 #endif
21615 char sinhl ();
21616 int
21617 main ()
21618 {
21619 return sinhl ();
21620   ;
21621   return 0;
21622 }
21623 _ACEOF
21624 if ac_fn_c_try_link "$LINENO"; then :
21625   ac_cv_lib_m_sinhl=yes
21626 else
21627   ac_cv_lib_m_sinhl=no
21628 fi
21629 rm -f core conftest.err conftest.$ac_objext \
21630     conftest$ac_exeext conftest.$ac_ext
21631 LIBS=$ac_check_lib_save_LIBS
21632 fi
21633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhl" >&5
21634 $as_echo "$ac_cv_lib_m_sinhl" >&6; }
21635 if test "x$ac_cv_lib_m_sinhl" = x""yes; then :
21636
21637 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
21638
21639 fi
21640
21641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
21642 $as_echo_n "checking for csinhf in -lm... " >&6; }
21643 if test "${ac_cv_lib_m_csinhf+set}" = set; then :
21644   $as_echo_n "(cached) " >&6
21645 else
21646   ac_check_lib_save_LIBS=$LIBS
21647 LIBS="-lm  $LIBS"
21648 if test x$gcc_no_link = xyes; then
21649   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21650 fi
21651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21652 /* end confdefs.h.  */
21653
21654 /* Override any GCC internal prototype to avoid an error.
21655    Use char because int might match the return type of a GCC
21656    builtin and then its argument prototype would still apply.  */
21657 #ifdef __cplusplus
21658 extern "C"
21659 #endif
21660 char csinhf ();
21661 int
21662 main ()
21663 {
21664 return csinhf ();
21665   ;
21666   return 0;
21667 }
21668 _ACEOF
21669 if ac_fn_c_try_link "$LINENO"; then :
21670   ac_cv_lib_m_csinhf=yes
21671 else
21672   ac_cv_lib_m_csinhf=no
21673 fi
21674 rm -f core conftest.err conftest.$ac_objext \
21675     conftest$ac_exeext conftest.$ac_ext
21676 LIBS=$ac_check_lib_save_LIBS
21677 fi
21678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhf" >&5
21679 $as_echo "$ac_cv_lib_m_csinhf" >&6; }
21680 if test "x$ac_cv_lib_m_csinhf" = x""yes; then :
21681
21682 $as_echo "#define HAVE_CSINHF 1" >>confdefs.h
21683
21684 fi
21685
21686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
21687 $as_echo_n "checking for csinh in -lm... " >&6; }
21688 if test "${ac_cv_lib_m_csinh+set}" = set; then :
21689   $as_echo_n "(cached) " >&6
21690 else
21691   ac_check_lib_save_LIBS=$LIBS
21692 LIBS="-lm  $LIBS"
21693 if test x$gcc_no_link = xyes; then
21694   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21695 fi
21696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21697 /* end confdefs.h.  */
21698
21699 /* Override any GCC internal prototype to avoid an error.
21700    Use char because int might match the return type of a GCC
21701    builtin and then its argument prototype would still apply.  */
21702 #ifdef __cplusplus
21703 extern "C"
21704 #endif
21705 char csinh ();
21706 int
21707 main ()
21708 {
21709 return csinh ();
21710   ;
21711   return 0;
21712 }
21713 _ACEOF
21714 if ac_fn_c_try_link "$LINENO"; then :
21715   ac_cv_lib_m_csinh=yes
21716 else
21717   ac_cv_lib_m_csinh=no
21718 fi
21719 rm -f core conftest.err conftest.$ac_objext \
21720     conftest$ac_exeext conftest.$ac_ext
21721 LIBS=$ac_check_lib_save_LIBS
21722 fi
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinh" >&5
21724 $as_echo "$ac_cv_lib_m_csinh" >&6; }
21725 if test "x$ac_cv_lib_m_csinh" = x""yes; then :
21726
21727 $as_echo "#define HAVE_CSINH 1" >>confdefs.h
21728
21729 fi
21730
21731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
21732 $as_echo_n "checking for csinhl in -lm... " >&6; }
21733 if test "${ac_cv_lib_m_csinhl+set}" = set; then :
21734   $as_echo_n "(cached) " >&6
21735 else
21736   ac_check_lib_save_LIBS=$LIBS
21737 LIBS="-lm  $LIBS"
21738 if test x$gcc_no_link = xyes; then
21739   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21740 fi
21741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21742 /* end confdefs.h.  */
21743
21744 /* Override any GCC internal prototype to avoid an error.
21745    Use char because int might match the return type of a GCC
21746    builtin and then its argument prototype would still apply.  */
21747 #ifdef __cplusplus
21748 extern "C"
21749 #endif
21750 char csinhl ();
21751 int
21752 main ()
21753 {
21754 return csinhl ();
21755   ;
21756   return 0;
21757 }
21758 _ACEOF
21759 if ac_fn_c_try_link "$LINENO"; then :
21760   ac_cv_lib_m_csinhl=yes
21761 else
21762   ac_cv_lib_m_csinhl=no
21763 fi
21764 rm -f core conftest.err conftest.$ac_objext \
21765     conftest$ac_exeext conftest.$ac_ext
21766 LIBS=$ac_check_lib_save_LIBS
21767 fi
21768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhl" >&5
21769 $as_echo "$ac_cv_lib_m_csinhl" >&6; }
21770 if test "x$ac_cv_lib_m_csinhl" = x""yes; then :
21771
21772 $as_echo "#define HAVE_CSINHL 1" >>confdefs.h
21773
21774 fi
21775
21776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
21777 $as_echo_n "checking for sqrtf in -lm... " >&6; }
21778 if test "${ac_cv_lib_m_sqrtf+set}" = set; then :
21779   $as_echo_n "(cached) " >&6
21780 else
21781   ac_check_lib_save_LIBS=$LIBS
21782 LIBS="-lm  $LIBS"
21783 if test x$gcc_no_link = xyes; then
21784   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21785 fi
21786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21787 /* end confdefs.h.  */
21788
21789 /* Override any GCC internal prototype to avoid an error.
21790    Use char because int might match the return type of a GCC
21791    builtin and then its argument prototype would still apply.  */
21792 #ifdef __cplusplus
21793 extern "C"
21794 #endif
21795 char sqrtf ();
21796 int
21797 main ()
21798 {
21799 return sqrtf ();
21800   ;
21801   return 0;
21802 }
21803 _ACEOF
21804 if ac_fn_c_try_link "$LINENO"; then :
21805   ac_cv_lib_m_sqrtf=yes
21806 else
21807   ac_cv_lib_m_sqrtf=no
21808 fi
21809 rm -f core conftest.err conftest.$ac_objext \
21810     conftest$ac_exeext conftest.$ac_ext
21811 LIBS=$ac_check_lib_save_LIBS
21812 fi
21813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
21814 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
21815 if test "x$ac_cv_lib_m_sqrtf" = x""yes; then :
21816
21817 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21818
21819 fi
21820
21821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21822 $as_echo_n "checking for sqrt in -lm... " >&6; }
21823 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
21824   $as_echo_n "(cached) " >&6
21825 else
21826   ac_check_lib_save_LIBS=$LIBS
21827 LIBS="-lm  $LIBS"
21828 if test x$gcc_no_link = xyes; then
21829   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21830 fi
21831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21832 /* end confdefs.h.  */
21833
21834 /* Override any GCC internal prototype to avoid an error.
21835    Use char because int might match the return type of a GCC
21836    builtin and then its argument prototype would still apply.  */
21837 #ifdef __cplusplus
21838 extern "C"
21839 #endif
21840 char sqrt ();
21841 int
21842 main ()
21843 {
21844 return sqrt ();
21845   ;
21846   return 0;
21847 }
21848 _ACEOF
21849 if ac_fn_c_try_link "$LINENO"; then :
21850   ac_cv_lib_m_sqrt=yes
21851 else
21852   ac_cv_lib_m_sqrt=no
21853 fi
21854 rm -f core conftest.err conftest.$ac_objext \
21855     conftest$ac_exeext conftest.$ac_ext
21856 LIBS=$ac_check_lib_save_LIBS
21857 fi
21858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
21859 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
21860 if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
21861
21862 $as_echo "#define HAVE_SQRT 1" >>confdefs.h
21863
21864 fi
21865
21866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21867 $as_echo_n "checking for sqrtl in -lm... " >&6; }
21868 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
21869   $as_echo_n "(cached) " >&6
21870 else
21871   ac_check_lib_save_LIBS=$LIBS
21872 LIBS="-lm  $LIBS"
21873 if test x$gcc_no_link = xyes; then
21874   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21875 fi
21876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21877 /* end confdefs.h.  */
21878
21879 /* Override any GCC internal prototype to avoid an error.
21880    Use char because int might match the return type of a GCC
21881    builtin and then its argument prototype would still apply.  */
21882 #ifdef __cplusplus
21883 extern "C"
21884 #endif
21885 char sqrtl ();
21886 int
21887 main ()
21888 {
21889 return sqrtl ();
21890   ;
21891   return 0;
21892 }
21893 _ACEOF
21894 if ac_fn_c_try_link "$LINENO"; then :
21895   ac_cv_lib_m_sqrtl=yes
21896 else
21897   ac_cv_lib_m_sqrtl=no
21898 fi
21899 rm -f core conftest.err conftest.$ac_objext \
21900     conftest$ac_exeext conftest.$ac_ext
21901 LIBS=$ac_check_lib_save_LIBS
21902 fi
21903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
21904 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21905 if test "x$ac_cv_lib_m_sqrtl" = x""yes; then :
21906
21907 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21908
21909 fi
21910
21911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21912 $as_echo_n "checking for csqrtf in -lm... " >&6; }
21913 if test "${ac_cv_lib_m_csqrtf+set}" = set; then :
21914   $as_echo_n "(cached) " >&6
21915 else
21916   ac_check_lib_save_LIBS=$LIBS
21917 LIBS="-lm  $LIBS"
21918 if test x$gcc_no_link = xyes; then
21919   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21920 fi
21921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21922 /* end confdefs.h.  */
21923
21924 /* Override any GCC internal prototype to avoid an error.
21925    Use char because int might match the return type of a GCC
21926    builtin and then its argument prototype would still apply.  */
21927 #ifdef __cplusplus
21928 extern "C"
21929 #endif
21930 char csqrtf ();
21931 int
21932 main ()
21933 {
21934 return csqrtf ();
21935   ;
21936   return 0;
21937 }
21938 _ACEOF
21939 if ac_fn_c_try_link "$LINENO"; then :
21940   ac_cv_lib_m_csqrtf=yes
21941 else
21942   ac_cv_lib_m_csqrtf=no
21943 fi
21944 rm -f core conftest.err conftest.$ac_objext \
21945     conftest$ac_exeext conftest.$ac_ext
21946 LIBS=$ac_check_lib_save_LIBS
21947 fi
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtf" >&5
21949 $as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21950 if test "x$ac_cv_lib_m_csqrtf" = x""yes; then :
21951
21952 $as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21953
21954 fi
21955
21956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21957 $as_echo_n "checking for csqrt in -lm... " >&6; }
21958 if test "${ac_cv_lib_m_csqrt+set}" = set; then :
21959   $as_echo_n "(cached) " >&6
21960 else
21961   ac_check_lib_save_LIBS=$LIBS
21962 LIBS="-lm  $LIBS"
21963 if test x$gcc_no_link = xyes; then
21964   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21965 fi
21966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21967 /* end confdefs.h.  */
21968
21969 /* Override any GCC internal prototype to avoid an error.
21970    Use char because int might match the return type of a GCC
21971    builtin and then its argument prototype would still apply.  */
21972 #ifdef __cplusplus
21973 extern "C"
21974 #endif
21975 char csqrt ();
21976 int
21977 main ()
21978 {
21979 return csqrt ();
21980   ;
21981   return 0;
21982 }
21983 _ACEOF
21984 if ac_fn_c_try_link "$LINENO"; then :
21985   ac_cv_lib_m_csqrt=yes
21986 else
21987   ac_cv_lib_m_csqrt=no
21988 fi
21989 rm -f core conftest.err conftest.$ac_objext \
21990     conftest$ac_exeext conftest.$ac_ext
21991 LIBS=$ac_check_lib_save_LIBS
21992 fi
21993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrt" >&5
21994 $as_echo "$ac_cv_lib_m_csqrt" >&6; }
21995 if test "x$ac_cv_lib_m_csqrt" = x""yes; then :
21996
21997 $as_echo "#define HAVE_CSQRT 1" >>confdefs.h
21998
21999 fi
22000
22001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
22002 $as_echo_n "checking for csqrtl in -lm... " >&6; }
22003 if test "${ac_cv_lib_m_csqrtl+set}" = set; then :
22004   $as_echo_n "(cached) " >&6
22005 else
22006   ac_check_lib_save_LIBS=$LIBS
22007 LIBS="-lm  $LIBS"
22008 if test x$gcc_no_link = xyes; then
22009   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22010 fi
22011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22012 /* end confdefs.h.  */
22013
22014 /* Override any GCC internal prototype to avoid an error.
22015    Use char because int might match the return type of a GCC
22016    builtin and then its argument prototype would still apply.  */
22017 #ifdef __cplusplus
22018 extern "C"
22019 #endif
22020 char csqrtl ();
22021 int
22022 main ()
22023 {
22024 return csqrtl ();
22025   ;
22026   return 0;
22027 }
22028 _ACEOF
22029 if ac_fn_c_try_link "$LINENO"; then :
22030   ac_cv_lib_m_csqrtl=yes
22031 else
22032   ac_cv_lib_m_csqrtl=no
22033 fi
22034 rm -f core conftest.err conftest.$ac_objext \
22035     conftest$ac_exeext conftest.$ac_ext
22036 LIBS=$ac_check_lib_save_LIBS
22037 fi
22038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtl" >&5
22039 $as_echo "$ac_cv_lib_m_csqrtl" >&6; }
22040 if test "x$ac_cv_lib_m_csqrtl" = x""yes; then :
22041
22042 $as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
22043
22044 fi
22045
22046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
22047 $as_echo_n "checking for tanf in -lm... " >&6; }
22048 if test "${ac_cv_lib_m_tanf+set}" = set; then :
22049   $as_echo_n "(cached) " >&6
22050 else
22051   ac_check_lib_save_LIBS=$LIBS
22052 LIBS="-lm  $LIBS"
22053 if test x$gcc_no_link = xyes; then
22054   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22055 fi
22056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22057 /* end confdefs.h.  */
22058
22059 /* Override any GCC internal prototype to avoid an error.
22060    Use char because int might match the return type of a GCC
22061    builtin and then its argument prototype would still apply.  */
22062 #ifdef __cplusplus
22063 extern "C"
22064 #endif
22065 char tanf ();
22066 int
22067 main ()
22068 {
22069 return tanf ();
22070   ;
22071   return 0;
22072 }
22073 _ACEOF
22074 if ac_fn_c_try_link "$LINENO"; then :
22075   ac_cv_lib_m_tanf=yes
22076 else
22077   ac_cv_lib_m_tanf=no
22078 fi
22079 rm -f core conftest.err conftest.$ac_objext \
22080     conftest$ac_exeext conftest.$ac_ext
22081 LIBS=$ac_check_lib_save_LIBS
22082 fi
22083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanf" >&5
22084 $as_echo "$ac_cv_lib_m_tanf" >&6; }
22085 if test "x$ac_cv_lib_m_tanf" = x""yes; then :
22086
22087 $as_echo "#define HAVE_TANF 1" >>confdefs.h
22088
22089 fi
22090
22091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
22092 $as_echo_n "checking for tan in -lm... " >&6; }
22093 if test "${ac_cv_lib_m_tan+set}" = set; then :
22094   $as_echo_n "(cached) " >&6
22095 else
22096   ac_check_lib_save_LIBS=$LIBS
22097 LIBS="-lm  $LIBS"
22098 if test x$gcc_no_link = xyes; then
22099   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22100 fi
22101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22102 /* end confdefs.h.  */
22103
22104 /* Override any GCC internal prototype to avoid an error.
22105    Use char because int might match the return type of a GCC
22106    builtin and then its argument prototype would still apply.  */
22107 #ifdef __cplusplus
22108 extern "C"
22109 #endif
22110 char tan ();
22111 int
22112 main ()
22113 {
22114 return tan ();
22115   ;
22116   return 0;
22117 }
22118 _ACEOF
22119 if ac_fn_c_try_link "$LINENO"; then :
22120   ac_cv_lib_m_tan=yes
22121 else
22122   ac_cv_lib_m_tan=no
22123 fi
22124 rm -f core conftest.err conftest.$ac_objext \
22125     conftest$ac_exeext conftest.$ac_ext
22126 LIBS=$ac_check_lib_save_LIBS
22127 fi
22128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5
22129 $as_echo "$ac_cv_lib_m_tan" >&6; }
22130 if test "x$ac_cv_lib_m_tan" = x""yes; then :
22131
22132 $as_echo "#define HAVE_TAN 1" >>confdefs.h
22133
22134 fi
22135
22136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
22137 $as_echo_n "checking for tanl in -lm... " >&6; }
22138 if test "${ac_cv_lib_m_tanl+set}" = set; then :
22139   $as_echo_n "(cached) " >&6
22140 else
22141   ac_check_lib_save_LIBS=$LIBS
22142 LIBS="-lm  $LIBS"
22143 if test x$gcc_no_link = xyes; then
22144   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22145 fi
22146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22147 /* end confdefs.h.  */
22148
22149 /* Override any GCC internal prototype to avoid an error.
22150    Use char because int might match the return type of a GCC
22151    builtin and then its argument prototype would still apply.  */
22152 #ifdef __cplusplus
22153 extern "C"
22154 #endif
22155 char tanl ();
22156 int
22157 main ()
22158 {
22159 return tanl ();
22160   ;
22161   return 0;
22162 }
22163 _ACEOF
22164 if ac_fn_c_try_link "$LINENO"; then :
22165   ac_cv_lib_m_tanl=yes
22166 else
22167   ac_cv_lib_m_tanl=no
22168 fi
22169 rm -f core conftest.err conftest.$ac_objext \
22170     conftest$ac_exeext conftest.$ac_ext
22171 LIBS=$ac_check_lib_save_LIBS
22172 fi
22173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanl" >&5
22174 $as_echo "$ac_cv_lib_m_tanl" >&6; }
22175 if test "x$ac_cv_lib_m_tanl" = x""yes; then :
22176
22177 $as_echo "#define HAVE_TANL 1" >>confdefs.h
22178
22179 fi
22180
22181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
22182 $as_echo_n "checking for ctanf in -lm... " >&6; }
22183 if test "${ac_cv_lib_m_ctanf+set}" = set; then :
22184   $as_echo_n "(cached) " >&6
22185 else
22186   ac_check_lib_save_LIBS=$LIBS
22187 LIBS="-lm  $LIBS"
22188 if test x$gcc_no_link = xyes; then
22189   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22190 fi
22191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22192 /* end confdefs.h.  */
22193
22194 /* Override any GCC internal prototype to avoid an error.
22195    Use char because int might match the return type of a GCC
22196    builtin and then its argument prototype would still apply.  */
22197 #ifdef __cplusplus
22198 extern "C"
22199 #endif
22200 char ctanf ();
22201 int
22202 main ()
22203 {
22204 return ctanf ();
22205   ;
22206   return 0;
22207 }
22208 _ACEOF
22209 if ac_fn_c_try_link "$LINENO"; then :
22210   ac_cv_lib_m_ctanf=yes
22211 else
22212   ac_cv_lib_m_ctanf=no
22213 fi
22214 rm -f core conftest.err conftest.$ac_objext \
22215     conftest$ac_exeext conftest.$ac_ext
22216 LIBS=$ac_check_lib_save_LIBS
22217 fi
22218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanf" >&5
22219 $as_echo "$ac_cv_lib_m_ctanf" >&6; }
22220 if test "x$ac_cv_lib_m_ctanf" = x""yes; then :
22221
22222 $as_echo "#define HAVE_CTANF 1" >>confdefs.h
22223
22224 fi
22225
22226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
22227 $as_echo_n "checking for ctan in -lm... " >&6; }
22228 if test "${ac_cv_lib_m_ctan+set}" = set; then :
22229   $as_echo_n "(cached) " >&6
22230 else
22231   ac_check_lib_save_LIBS=$LIBS
22232 LIBS="-lm  $LIBS"
22233 if test x$gcc_no_link = xyes; then
22234   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22235 fi
22236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22237 /* end confdefs.h.  */
22238
22239 /* Override any GCC internal prototype to avoid an error.
22240    Use char because int might match the return type of a GCC
22241    builtin and then its argument prototype would still apply.  */
22242 #ifdef __cplusplus
22243 extern "C"
22244 #endif
22245 char ctan ();
22246 int
22247 main ()
22248 {
22249 return ctan ();
22250   ;
22251   return 0;
22252 }
22253 _ACEOF
22254 if ac_fn_c_try_link "$LINENO"; then :
22255   ac_cv_lib_m_ctan=yes
22256 else
22257   ac_cv_lib_m_ctan=no
22258 fi
22259 rm -f core conftest.err conftest.$ac_objext \
22260     conftest$ac_exeext conftest.$ac_ext
22261 LIBS=$ac_check_lib_save_LIBS
22262 fi
22263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctan" >&5
22264 $as_echo "$ac_cv_lib_m_ctan" >&6; }
22265 if test "x$ac_cv_lib_m_ctan" = x""yes; then :
22266
22267 $as_echo "#define HAVE_CTAN 1" >>confdefs.h
22268
22269 fi
22270
22271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
22272 $as_echo_n "checking for ctanl in -lm... " >&6; }
22273 if test "${ac_cv_lib_m_ctanl+set}" = set; then :
22274   $as_echo_n "(cached) " >&6
22275 else
22276   ac_check_lib_save_LIBS=$LIBS
22277 LIBS="-lm  $LIBS"
22278 if test x$gcc_no_link = xyes; then
22279   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22280 fi
22281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22282 /* end confdefs.h.  */
22283
22284 /* Override any GCC internal prototype to avoid an error.
22285    Use char because int might match the return type of a GCC
22286    builtin and then its argument prototype would still apply.  */
22287 #ifdef __cplusplus
22288 extern "C"
22289 #endif
22290 char ctanl ();
22291 int
22292 main ()
22293 {
22294 return ctanl ();
22295   ;
22296   return 0;
22297 }
22298 _ACEOF
22299 if ac_fn_c_try_link "$LINENO"; then :
22300   ac_cv_lib_m_ctanl=yes
22301 else
22302   ac_cv_lib_m_ctanl=no
22303 fi
22304 rm -f core conftest.err conftest.$ac_objext \
22305     conftest$ac_exeext conftest.$ac_ext
22306 LIBS=$ac_check_lib_save_LIBS
22307 fi
22308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanl" >&5
22309 $as_echo "$ac_cv_lib_m_ctanl" >&6; }
22310 if test "x$ac_cv_lib_m_ctanl" = x""yes; then :
22311
22312 $as_echo "#define HAVE_CTANL 1" >>confdefs.h
22313
22314 fi
22315
22316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
22317 $as_echo_n "checking for tanhf in -lm... " >&6; }
22318 if test "${ac_cv_lib_m_tanhf+set}" = set; then :
22319   $as_echo_n "(cached) " >&6
22320 else
22321   ac_check_lib_save_LIBS=$LIBS
22322 LIBS="-lm  $LIBS"
22323 if test x$gcc_no_link = xyes; then
22324   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22325 fi
22326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22327 /* end confdefs.h.  */
22328
22329 /* Override any GCC internal prototype to avoid an error.
22330    Use char because int might match the return type of a GCC
22331    builtin and then its argument prototype would still apply.  */
22332 #ifdef __cplusplus
22333 extern "C"
22334 #endif
22335 char tanhf ();
22336 int
22337 main ()
22338 {
22339 return tanhf ();
22340   ;
22341   return 0;
22342 }
22343 _ACEOF
22344 if ac_fn_c_try_link "$LINENO"; then :
22345   ac_cv_lib_m_tanhf=yes
22346 else
22347   ac_cv_lib_m_tanhf=no
22348 fi
22349 rm -f core conftest.err conftest.$ac_objext \
22350     conftest$ac_exeext conftest.$ac_ext
22351 LIBS=$ac_check_lib_save_LIBS
22352 fi
22353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhf" >&5
22354 $as_echo "$ac_cv_lib_m_tanhf" >&6; }
22355 if test "x$ac_cv_lib_m_tanhf" = x""yes; then :
22356
22357 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
22358
22359 fi
22360
22361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
22362 $as_echo_n "checking for tanh in -lm... " >&6; }
22363 if test "${ac_cv_lib_m_tanh+set}" = set; then :
22364   $as_echo_n "(cached) " >&6
22365 else
22366   ac_check_lib_save_LIBS=$LIBS
22367 LIBS="-lm  $LIBS"
22368 if test x$gcc_no_link = xyes; then
22369   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22370 fi
22371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22372 /* end confdefs.h.  */
22373
22374 /* Override any GCC internal prototype to avoid an error.
22375    Use char because int might match the return type of a GCC
22376    builtin and then its argument prototype would still apply.  */
22377 #ifdef __cplusplus
22378 extern "C"
22379 #endif
22380 char tanh ();
22381 int
22382 main ()
22383 {
22384 return tanh ();
22385   ;
22386   return 0;
22387 }
22388 _ACEOF
22389 if ac_fn_c_try_link "$LINENO"; then :
22390   ac_cv_lib_m_tanh=yes
22391 else
22392   ac_cv_lib_m_tanh=no
22393 fi
22394 rm -f core conftest.err conftest.$ac_objext \
22395     conftest$ac_exeext conftest.$ac_ext
22396 LIBS=$ac_check_lib_save_LIBS
22397 fi
22398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanh" >&5
22399 $as_echo "$ac_cv_lib_m_tanh" >&6; }
22400 if test "x$ac_cv_lib_m_tanh" = x""yes; then :
22401
22402 $as_echo "#define HAVE_TANH 1" >>confdefs.h
22403
22404 fi
22405
22406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
22407 $as_echo_n "checking for tanhl in -lm... " >&6; }
22408 if test "${ac_cv_lib_m_tanhl+set}" = set; then :
22409   $as_echo_n "(cached) " >&6
22410 else
22411   ac_check_lib_save_LIBS=$LIBS
22412 LIBS="-lm  $LIBS"
22413 if test x$gcc_no_link = xyes; then
22414   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22415 fi
22416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22417 /* end confdefs.h.  */
22418
22419 /* Override any GCC internal prototype to avoid an error.
22420    Use char because int might match the return type of a GCC
22421    builtin and then its argument prototype would still apply.  */
22422 #ifdef __cplusplus
22423 extern "C"
22424 #endif
22425 char tanhl ();
22426 int
22427 main ()
22428 {
22429 return tanhl ();
22430   ;
22431   return 0;
22432 }
22433 _ACEOF
22434 if ac_fn_c_try_link "$LINENO"; then :
22435   ac_cv_lib_m_tanhl=yes
22436 else
22437   ac_cv_lib_m_tanhl=no
22438 fi
22439 rm -f core conftest.err conftest.$ac_objext \
22440     conftest$ac_exeext conftest.$ac_ext
22441 LIBS=$ac_check_lib_save_LIBS
22442 fi
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhl" >&5
22444 $as_echo "$ac_cv_lib_m_tanhl" >&6; }
22445 if test "x$ac_cv_lib_m_tanhl" = x""yes; then :
22446
22447 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
22448
22449 fi
22450
22451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
22452 $as_echo_n "checking for ctanhf in -lm... " >&6; }
22453 if test "${ac_cv_lib_m_ctanhf+set}" = set; then :
22454   $as_echo_n "(cached) " >&6
22455 else
22456   ac_check_lib_save_LIBS=$LIBS
22457 LIBS="-lm  $LIBS"
22458 if test x$gcc_no_link = xyes; then
22459   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22460 fi
22461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22462 /* end confdefs.h.  */
22463
22464 /* Override any GCC internal prototype to avoid an error.
22465    Use char because int might match the return type of a GCC
22466    builtin and then its argument prototype would still apply.  */
22467 #ifdef __cplusplus
22468 extern "C"
22469 #endif
22470 char ctanhf ();
22471 int
22472 main ()
22473 {
22474 return ctanhf ();
22475   ;
22476   return 0;
22477 }
22478 _ACEOF
22479 if ac_fn_c_try_link "$LINENO"; then :
22480   ac_cv_lib_m_ctanhf=yes
22481 else
22482   ac_cv_lib_m_ctanhf=no
22483 fi
22484 rm -f core conftest.err conftest.$ac_objext \
22485     conftest$ac_exeext conftest.$ac_ext
22486 LIBS=$ac_check_lib_save_LIBS
22487 fi
22488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhf" >&5
22489 $as_echo "$ac_cv_lib_m_ctanhf" >&6; }
22490 if test "x$ac_cv_lib_m_ctanhf" = x""yes; then :
22491
22492 $as_echo "#define HAVE_CTANHF 1" >>confdefs.h
22493
22494 fi
22495
22496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
22497 $as_echo_n "checking for ctanh in -lm... " >&6; }
22498 if test "${ac_cv_lib_m_ctanh+set}" = set; then :
22499   $as_echo_n "(cached) " >&6
22500 else
22501   ac_check_lib_save_LIBS=$LIBS
22502 LIBS="-lm  $LIBS"
22503 if test x$gcc_no_link = xyes; then
22504   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22505 fi
22506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22507 /* end confdefs.h.  */
22508
22509 /* Override any GCC internal prototype to avoid an error.
22510    Use char because int might match the return type of a GCC
22511    builtin and then its argument prototype would still apply.  */
22512 #ifdef __cplusplus
22513 extern "C"
22514 #endif
22515 char ctanh ();
22516 int
22517 main ()
22518 {
22519 return ctanh ();
22520   ;
22521   return 0;
22522 }
22523 _ACEOF
22524 if ac_fn_c_try_link "$LINENO"; then :
22525   ac_cv_lib_m_ctanh=yes
22526 else
22527   ac_cv_lib_m_ctanh=no
22528 fi
22529 rm -f core conftest.err conftest.$ac_objext \
22530     conftest$ac_exeext conftest.$ac_ext
22531 LIBS=$ac_check_lib_save_LIBS
22532 fi
22533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanh" >&5
22534 $as_echo "$ac_cv_lib_m_ctanh" >&6; }
22535 if test "x$ac_cv_lib_m_ctanh" = x""yes; then :
22536
22537 $as_echo "#define HAVE_CTANH 1" >>confdefs.h
22538
22539 fi
22540
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
22542 $as_echo_n "checking for ctanhl in -lm... " >&6; }
22543 if test "${ac_cv_lib_m_ctanhl+set}" = set; then :
22544   $as_echo_n "(cached) " >&6
22545 else
22546   ac_check_lib_save_LIBS=$LIBS
22547 LIBS="-lm  $LIBS"
22548 if test x$gcc_no_link = xyes; then
22549   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22550 fi
22551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22552 /* end confdefs.h.  */
22553
22554 /* Override any GCC internal prototype to avoid an error.
22555    Use char because int might match the return type of a GCC
22556    builtin and then its argument prototype would still apply.  */
22557 #ifdef __cplusplus
22558 extern "C"
22559 #endif
22560 char ctanhl ();
22561 int
22562 main ()
22563 {
22564 return ctanhl ();
22565   ;
22566   return 0;
22567 }
22568 _ACEOF
22569 if ac_fn_c_try_link "$LINENO"; then :
22570   ac_cv_lib_m_ctanhl=yes
22571 else
22572   ac_cv_lib_m_ctanhl=no
22573 fi
22574 rm -f core conftest.err conftest.$ac_objext \
22575     conftest$ac_exeext conftest.$ac_ext
22576 LIBS=$ac_check_lib_save_LIBS
22577 fi
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhl" >&5
22579 $as_echo "$ac_cv_lib_m_ctanhl" >&6; }
22580 if test "x$ac_cv_lib_m_ctanhl" = x""yes; then :
22581
22582 $as_echo "#define HAVE_CTANHL 1" >>confdefs.h
22583
22584 fi
22585
22586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
22587 $as_echo_n "checking for truncf in -lm... " >&6; }
22588 if test "${ac_cv_lib_m_truncf+set}" = set; then :
22589   $as_echo_n "(cached) " >&6
22590 else
22591   ac_check_lib_save_LIBS=$LIBS
22592 LIBS="-lm  $LIBS"
22593 if test x$gcc_no_link = xyes; then
22594   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22595 fi
22596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22597 /* end confdefs.h.  */
22598
22599 /* Override any GCC internal prototype to avoid an error.
22600    Use char because int might match the return type of a GCC
22601    builtin and then its argument prototype would still apply.  */
22602 #ifdef __cplusplus
22603 extern "C"
22604 #endif
22605 char truncf ();
22606 int
22607 main ()
22608 {
22609 return truncf ();
22610   ;
22611   return 0;
22612 }
22613 _ACEOF
22614 if ac_fn_c_try_link "$LINENO"; then :
22615   ac_cv_lib_m_truncf=yes
22616 else
22617   ac_cv_lib_m_truncf=no
22618 fi
22619 rm -f core conftest.err conftest.$ac_objext \
22620     conftest$ac_exeext conftest.$ac_ext
22621 LIBS=$ac_check_lib_save_LIBS
22622 fi
22623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncf" >&5
22624 $as_echo "$ac_cv_lib_m_truncf" >&6; }
22625 if test "x$ac_cv_lib_m_truncf" = x""yes; then :
22626
22627 $as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
22628
22629 fi
22630
22631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
22632 $as_echo_n "checking for trunc in -lm... " >&6; }
22633 if test "${ac_cv_lib_m_trunc+set}" = set; then :
22634   $as_echo_n "(cached) " >&6
22635 else
22636   ac_check_lib_save_LIBS=$LIBS
22637 LIBS="-lm  $LIBS"
22638 if test x$gcc_no_link = xyes; then
22639   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22640 fi
22641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22642 /* end confdefs.h.  */
22643
22644 /* Override any GCC internal prototype to avoid an error.
22645    Use char because int might match the return type of a GCC
22646    builtin and then its argument prototype would still apply.  */
22647 #ifdef __cplusplus
22648 extern "C"
22649 #endif
22650 char trunc ();
22651 int
22652 main ()
22653 {
22654 return trunc ();
22655   ;
22656   return 0;
22657 }
22658 _ACEOF
22659 if ac_fn_c_try_link "$LINENO"; then :
22660   ac_cv_lib_m_trunc=yes
22661 else
22662   ac_cv_lib_m_trunc=no
22663 fi
22664 rm -f core conftest.err conftest.$ac_objext \
22665     conftest$ac_exeext conftest.$ac_ext
22666 LIBS=$ac_check_lib_save_LIBS
22667 fi
22668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
22669 $as_echo "$ac_cv_lib_m_trunc" >&6; }
22670 if test "x$ac_cv_lib_m_trunc" = x""yes; then :
22671
22672 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
22673
22674 fi
22675
22676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
22677 $as_echo_n "checking for truncl in -lm... " >&6; }
22678 if test "${ac_cv_lib_m_truncl+set}" = set; then :
22679   $as_echo_n "(cached) " >&6
22680 else
22681   ac_check_lib_save_LIBS=$LIBS
22682 LIBS="-lm  $LIBS"
22683 if test x$gcc_no_link = xyes; then
22684   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22685 fi
22686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22687 /* end confdefs.h.  */
22688
22689 /* Override any GCC internal prototype to avoid an error.
22690    Use char because int might match the return type of a GCC
22691    builtin and then its argument prototype would still apply.  */
22692 #ifdef __cplusplus
22693 extern "C"
22694 #endif
22695 char truncl ();
22696 int
22697 main ()
22698 {
22699 return truncl ();
22700   ;
22701   return 0;
22702 }
22703 _ACEOF
22704 if ac_fn_c_try_link "$LINENO"; then :
22705   ac_cv_lib_m_truncl=yes
22706 else
22707   ac_cv_lib_m_truncl=no
22708 fi
22709 rm -f core conftest.err conftest.$ac_objext \
22710     conftest$ac_exeext conftest.$ac_ext
22711 LIBS=$ac_check_lib_save_LIBS
22712 fi
22713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncl" >&5
22714 $as_echo "$ac_cv_lib_m_truncl" >&6; }
22715 if test "x$ac_cv_lib_m_truncl" = x""yes; then :
22716
22717 $as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
22718
22719 fi
22720
22721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
22722 $as_echo_n "checking for erff in -lm... " >&6; }
22723 if test "${ac_cv_lib_m_erff+set}" = set; then :
22724   $as_echo_n "(cached) " >&6
22725 else
22726   ac_check_lib_save_LIBS=$LIBS
22727 LIBS="-lm  $LIBS"
22728 if test x$gcc_no_link = xyes; then
22729   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22730 fi
22731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22732 /* end confdefs.h.  */
22733
22734 /* Override any GCC internal prototype to avoid an error.
22735    Use char because int might match the return type of a GCC
22736    builtin and then its argument prototype would still apply.  */
22737 #ifdef __cplusplus
22738 extern "C"
22739 #endif
22740 char erff ();
22741 int
22742 main ()
22743 {
22744 return erff ();
22745   ;
22746   return 0;
22747 }
22748 _ACEOF
22749 if ac_fn_c_try_link "$LINENO"; then :
22750   ac_cv_lib_m_erff=yes
22751 else
22752   ac_cv_lib_m_erff=no
22753 fi
22754 rm -f core conftest.err conftest.$ac_objext \
22755     conftest$ac_exeext conftest.$ac_ext
22756 LIBS=$ac_check_lib_save_LIBS
22757 fi
22758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erff" >&5
22759 $as_echo "$ac_cv_lib_m_erff" >&6; }
22760 if test "x$ac_cv_lib_m_erff" = x""yes; then :
22761
22762 $as_echo "#define HAVE_ERFF 1" >>confdefs.h
22763
22764 fi
22765
22766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
22767 $as_echo_n "checking for erf in -lm... " >&6; }
22768 if test "${ac_cv_lib_m_erf+set}" = set; then :
22769   $as_echo_n "(cached) " >&6
22770 else
22771   ac_check_lib_save_LIBS=$LIBS
22772 LIBS="-lm  $LIBS"
22773 if test x$gcc_no_link = xyes; then
22774   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22775 fi
22776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22777 /* end confdefs.h.  */
22778
22779 /* Override any GCC internal prototype to avoid an error.
22780    Use char because int might match the return type of a GCC
22781    builtin and then its argument prototype would still apply.  */
22782 #ifdef __cplusplus
22783 extern "C"
22784 #endif
22785 char erf ();
22786 int
22787 main ()
22788 {
22789 return erf ();
22790   ;
22791   return 0;
22792 }
22793 _ACEOF
22794 if ac_fn_c_try_link "$LINENO"; then :
22795   ac_cv_lib_m_erf=yes
22796 else
22797   ac_cv_lib_m_erf=no
22798 fi
22799 rm -f core conftest.err conftest.$ac_objext \
22800     conftest$ac_exeext conftest.$ac_ext
22801 LIBS=$ac_check_lib_save_LIBS
22802 fi
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erf" >&5
22804 $as_echo "$ac_cv_lib_m_erf" >&6; }
22805 if test "x$ac_cv_lib_m_erf" = x""yes; then :
22806
22807 $as_echo "#define HAVE_ERF 1" >>confdefs.h
22808
22809 fi
22810
22811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
22812 $as_echo_n "checking for erfl in -lm... " >&6; }
22813 if test "${ac_cv_lib_m_erfl+set}" = set; then :
22814   $as_echo_n "(cached) " >&6
22815 else
22816   ac_check_lib_save_LIBS=$LIBS
22817 LIBS="-lm  $LIBS"
22818 if test x$gcc_no_link = xyes; then
22819   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22820 fi
22821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22822 /* end confdefs.h.  */
22823
22824 /* Override any GCC internal prototype to avoid an error.
22825    Use char because int might match the return type of a GCC
22826    builtin and then its argument prototype would still apply.  */
22827 #ifdef __cplusplus
22828 extern "C"
22829 #endif
22830 char erfl ();
22831 int
22832 main ()
22833 {
22834 return erfl ();
22835   ;
22836   return 0;
22837 }
22838 _ACEOF
22839 if ac_fn_c_try_link "$LINENO"; then :
22840   ac_cv_lib_m_erfl=yes
22841 else
22842   ac_cv_lib_m_erfl=no
22843 fi
22844 rm -f core conftest.err conftest.$ac_objext \
22845     conftest$ac_exeext conftest.$ac_ext
22846 LIBS=$ac_check_lib_save_LIBS
22847 fi
22848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfl" >&5
22849 $as_echo "$ac_cv_lib_m_erfl" >&6; }
22850 if test "x$ac_cv_lib_m_erfl" = x""yes; then :
22851
22852 $as_echo "#define HAVE_ERFL 1" >>confdefs.h
22853
22854 fi
22855
22856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22857 $as_echo_n "checking for erfcf in -lm... " >&6; }
22858 if test "${ac_cv_lib_m_erfcf+set}" = set; then :
22859   $as_echo_n "(cached) " >&6
22860 else
22861   ac_check_lib_save_LIBS=$LIBS
22862 LIBS="-lm  $LIBS"
22863 if test x$gcc_no_link = xyes; then
22864   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22865 fi
22866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22867 /* end confdefs.h.  */
22868
22869 /* Override any GCC internal prototype to avoid an error.
22870    Use char because int might match the return type of a GCC
22871    builtin and then its argument prototype would still apply.  */
22872 #ifdef __cplusplus
22873 extern "C"
22874 #endif
22875 char erfcf ();
22876 int
22877 main ()
22878 {
22879 return erfcf ();
22880   ;
22881   return 0;
22882 }
22883 _ACEOF
22884 if ac_fn_c_try_link "$LINENO"; then :
22885   ac_cv_lib_m_erfcf=yes
22886 else
22887   ac_cv_lib_m_erfcf=no
22888 fi
22889 rm -f core conftest.err conftest.$ac_objext \
22890     conftest$ac_exeext conftest.$ac_ext
22891 LIBS=$ac_check_lib_save_LIBS
22892 fi
22893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcf" >&5
22894 $as_echo "$ac_cv_lib_m_erfcf" >&6; }
22895 if test "x$ac_cv_lib_m_erfcf" = x""yes; then :
22896
22897 $as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22898
22899 fi
22900
22901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22902 $as_echo_n "checking for erfc in -lm... " >&6; }
22903 if test "${ac_cv_lib_m_erfc+set}" = set; then :
22904   $as_echo_n "(cached) " >&6
22905 else
22906   ac_check_lib_save_LIBS=$LIBS
22907 LIBS="-lm  $LIBS"
22908 if test x$gcc_no_link = xyes; then
22909   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22910 fi
22911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22912 /* end confdefs.h.  */
22913
22914 /* Override any GCC internal prototype to avoid an error.
22915    Use char because int might match the return type of a GCC
22916    builtin and then its argument prototype would still apply.  */
22917 #ifdef __cplusplus
22918 extern "C"
22919 #endif
22920 char erfc ();
22921 int
22922 main ()
22923 {
22924 return erfc ();
22925   ;
22926   return 0;
22927 }
22928 _ACEOF
22929 if ac_fn_c_try_link "$LINENO"; then :
22930   ac_cv_lib_m_erfc=yes
22931 else
22932   ac_cv_lib_m_erfc=no
22933 fi
22934 rm -f core conftest.err conftest.$ac_objext \
22935     conftest$ac_exeext conftest.$ac_ext
22936 LIBS=$ac_check_lib_save_LIBS
22937 fi
22938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfc" >&5
22939 $as_echo "$ac_cv_lib_m_erfc" >&6; }
22940 if test "x$ac_cv_lib_m_erfc" = x""yes; then :
22941
22942 $as_echo "#define HAVE_ERFC 1" >>confdefs.h
22943
22944 fi
22945
22946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22947 $as_echo_n "checking for erfcl in -lm... " >&6; }
22948 if test "${ac_cv_lib_m_erfcl+set}" = set; then :
22949   $as_echo_n "(cached) " >&6
22950 else
22951   ac_check_lib_save_LIBS=$LIBS
22952 LIBS="-lm  $LIBS"
22953 if test x$gcc_no_link = xyes; then
22954   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22955 fi
22956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22957 /* end confdefs.h.  */
22958
22959 /* Override any GCC internal prototype to avoid an error.
22960    Use char because int might match the return type of a GCC
22961    builtin and then its argument prototype would still apply.  */
22962 #ifdef __cplusplus
22963 extern "C"
22964 #endif
22965 char erfcl ();
22966 int
22967 main ()
22968 {
22969 return erfcl ();
22970   ;
22971   return 0;
22972 }
22973 _ACEOF
22974 if ac_fn_c_try_link "$LINENO"; then :
22975   ac_cv_lib_m_erfcl=yes
22976 else
22977   ac_cv_lib_m_erfcl=no
22978 fi
22979 rm -f core conftest.err conftest.$ac_objext \
22980     conftest$ac_exeext conftest.$ac_ext
22981 LIBS=$ac_check_lib_save_LIBS
22982 fi
22983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcl" >&5
22984 $as_echo "$ac_cv_lib_m_erfcl" >&6; }
22985 if test "x$ac_cv_lib_m_erfcl" = x""yes; then :
22986
22987 $as_echo "#define HAVE_ERFCL 1" >>confdefs.h
22988
22989 fi
22990
22991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
22992 $as_echo_n "checking for j0f in -lm... " >&6; }
22993 if test "${ac_cv_lib_m_j0f+set}" = set; then :
22994   $as_echo_n "(cached) " >&6
22995 else
22996   ac_check_lib_save_LIBS=$LIBS
22997 LIBS="-lm  $LIBS"
22998 if test x$gcc_no_link = xyes; then
22999   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23000 fi
23001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23002 /* end confdefs.h.  */
23003
23004 /* Override any GCC internal prototype to avoid an error.
23005    Use char because int might match the return type of a GCC
23006    builtin and then its argument prototype would still apply.  */
23007 #ifdef __cplusplus
23008 extern "C"
23009 #endif
23010 char j0f ();
23011 int
23012 main ()
23013 {
23014 return j0f ();
23015   ;
23016   return 0;
23017 }
23018 _ACEOF
23019 if ac_fn_c_try_link "$LINENO"; then :
23020   ac_cv_lib_m_j0f=yes
23021 else
23022   ac_cv_lib_m_j0f=no
23023 fi
23024 rm -f core conftest.err conftest.$ac_objext \
23025     conftest$ac_exeext conftest.$ac_ext
23026 LIBS=$ac_check_lib_save_LIBS
23027 fi
23028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0f" >&5
23029 $as_echo "$ac_cv_lib_m_j0f" >&6; }
23030 if test "x$ac_cv_lib_m_j0f" = x""yes; then :
23031
23032 $as_echo "#define HAVE_J0F 1" >>confdefs.h
23033
23034 fi
23035
23036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
23037 $as_echo_n "checking for j0 in -lm... " >&6; }
23038 if test "${ac_cv_lib_m_j0+set}" = set; then :
23039   $as_echo_n "(cached) " >&6
23040 else
23041   ac_check_lib_save_LIBS=$LIBS
23042 LIBS="-lm  $LIBS"
23043 if test x$gcc_no_link = xyes; then
23044   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23045 fi
23046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23047 /* end confdefs.h.  */
23048
23049 /* Override any GCC internal prototype to avoid an error.
23050    Use char because int might match the return type of a GCC
23051    builtin and then its argument prototype would still apply.  */
23052 #ifdef __cplusplus
23053 extern "C"
23054 #endif
23055 char j0 ();
23056 int
23057 main ()
23058 {
23059 return j0 ();
23060   ;
23061   return 0;
23062 }
23063 _ACEOF
23064 if ac_fn_c_try_link "$LINENO"; then :
23065   ac_cv_lib_m_j0=yes
23066 else
23067   ac_cv_lib_m_j0=no
23068 fi
23069 rm -f core conftest.err conftest.$ac_objext \
23070     conftest$ac_exeext conftest.$ac_ext
23071 LIBS=$ac_check_lib_save_LIBS
23072 fi
23073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0" >&5
23074 $as_echo "$ac_cv_lib_m_j0" >&6; }
23075 if test "x$ac_cv_lib_m_j0" = x""yes; then :
23076
23077 $as_echo "#define HAVE_J0 1" >>confdefs.h
23078
23079 fi
23080
23081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
23082 $as_echo_n "checking for j0l in -lm... " >&6; }
23083 if test "${ac_cv_lib_m_j0l+set}" = set; then :
23084   $as_echo_n "(cached) " >&6
23085 else
23086   ac_check_lib_save_LIBS=$LIBS
23087 LIBS="-lm  $LIBS"
23088 if test x$gcc_no_link = xyes; then
23089   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23090 fi
23091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23092 /* end confdefs.h.  */
23093
23094 /* Override any GCC internal prototype to avoid an error.
23095    Use char because int might match the return type of a GCC
23096    builtin and then its argument prototype would still apply.  */
23097 #ifdef __cplusplus
23098 extern "C"
23099 #endif
23100 char j0l ();
23101 int
23102 main ()
23103 {
23104 return j0l ();
23105   ;
23106   return 0;
23107 }
23108 _ACEOF
23109 if ac_fn_c_try_link "$LINENO"; then :
23110   ac_cv_lib_m_j0l=yes
23111 else
23112   ac_cv_lib_m_j0l=no
23113 fi
23114 rm -f core conftest.err conftest.$ac_objext \
23115     conftest$ac_exeext conftest.$ac_ext
23116 LIBS=$ac_check_lib_save_LIBS
23117 fi
23118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0l" >&5
23119 $as_echo "$ac_cv_lib_m_j0l" >&6; }
23120 if test "x$ac_cv_lib_m_j0l" = x""yes; then :
23121
23122 $as_echo "#define HAVE_J0L 1" >>confdefs.h
23123
23124 fi
23125
23126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
23127 $as_echo_n "checking for j1f in -lm... " >&6; }
23128 if test "${ac_cv_lib_m_j1f+set}" = set; then :
23129   $as_echo_n "(cached) " >&6
23130 else
23131   ac_check_lib_save_LIBS=$LIBS
23132 LIBS="-lm  $LIBS"
23133 if test x$gcc_no_link = xyes; then
23134   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23135 fi
23136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23137 /* end confdefs.h.  */
23138
23139 /* Override any GCC internal prototype to avoid an error.
23140    Use char because int might match the return type of a GCC
23141    builtin and then its argument prototype would still apply.  */
23142 #ifdef __cplusplus
23143 extern "C"
23144 #endif
23145 char j1f ();
23146 int
23147 main ()
23148 {
23149 return j1f ();
23150   ;
23151   return 0;
23152 }
23153 _ACEOF
23154 if ac_fn_c_try_link "$LINENO"; then :
23155   ac_cv_lib_m_j1f=yes
23156 else
23157   ac_cv_lib_m_j1f=no
23158 fi
23159 rm -f core conftest.err conftest.$ac_objext \
23160     conftest$ac_exeext conftest.$ac_ext
23161 LIBS=$ac_check_lib_save_LIBS
23162 fi
23163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1f" >&5
23164 $as_echo "$ac_cv_lib_m_j1f" >&6; }
23165 if test "x$ac_cv_lib_m_j1f" = x""yes; then :
23166
23167 $as_echo "#define HAVE_J1F 1" >>confdefs.h
23168
23169 fi
23170
23171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
23172 $as_echo_n "checking for j1 in -lm... " >&6; }
23173 if test "${ac_cv_lib_m_j1+set}" = set; then :
23174   $as_echo_n "(cached) " >&6
23175 else
23176   ac_check_lib_save_LIBS=$LIBS
23177 LIBS="-lm  $LIBS"
23178 if test x$gcc_no_link = xyes; then
23179   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23180 fi
23181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23182 /* end confdefs.h.  */
23183
23184 /* Override any GCC internal prototype to avoid an error.
23185    Use char because int might match the return type of a GCC
23186    builtin and then its argument prototype would still apply.  */
23187 #ifdef __cplusplus
23188 extern "C"
23189 #endif
23190 char j1 ();
23191 int
23192 main ()
23193 {
23194 return j1 ();
23195   ;
23196   return 0;
23197 }
23198 _ACEOF
23199 if ac_fn_c_try_link "$LINENO"; then :
23200   ac_cv_lib_m_j1=yes
23201 else
23202   ac_cv_lib_m_j1=no
23203 fi
23204 rm -f core conftest.err conftest.$ac_objext \
23205     conftest$ac_exeext conftest.$ac_ext
23206 LIBS=$ac_check_lib_save_LIBS
23207 fi
23208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1" >&5
23209 $as_echo "$ac_cv_lib_m_j1" >&6; }
23210 if test "x$ac_cv_lib_m_j1" = x""yes; then :
23211
23212 $as_echo "#define HAVE_J1 1" >>confdefs.h
23213
23214 fi
23215
23216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
23217 $as_echo_n "checking for j1l in -lm... " >&6; }
23218 if test "${ac_cv_lib_m_j1l+set}" = set; then :
23219   $as_echo_n "(cached) " >&6
23220 else
23221   ac_check_lib_save_LIBS=$LIBS
23222 LIBS="-lm  $LIBS"
23223 if test x$gcc_no_link = xyes; then
23224   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23225 fi
23226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23227 /* end confdefs.h.  */
23228
23229 /* Override any GCC internal prototype to avoid an error.
23230    Use char because int might match the return type of a GCC
23231    builtin and then its argument prototype would still apply.  */
23232 #ifdef __cplusplus
23233 extern "C"
23234 #endif
23235 char j1l ();
23236 int
23237 main ()
23238 {
23239 return j1l ();
23240   ;
23241   return 0;
23242 }
23243 _ACEOF
23244 if ac_fn_c_try_link "$LINENO"; then :
23245   ac_cv_lib_m_j1l=yes
23246 else
23247   ac_cv_lib_m_j1l=no
23248 fi
23249 rm -f core conftest.err conftest.$ac_objext \
23250     conftest$ac_exeext conftest.$ac_ext
23251 LIBS=$ac_check_lib_save_LIBS
23252 fi
23253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1l" >&5
23254 $as_echo "$ac_cv_lib_m_j1l" >&6; }
23255 if test "x$ac_cv_lib_m_j1l" = x""yes; then :
23256
23257 $as_echo "#define HAVE_J1L 1" >>confdefs.h
23258
23259 fi
23260
23261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
23262 $as_echo_n "checking for jnf in -lm... " >&6; }
23263 if test "${ac_cv_lib_m_jnf+set}" = set; then :
23264   $as_echo_n "(cached) " >&6
23265 else
23266   ac_check_lib_save_LIBS=$LIBS
23267 LIBS="-lm  $LIBS"
23268 if test x$gcc_no_link = xyes; then
23269   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23270 fi
23271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23272 /* end confdefs.h.  */
23273
23274 /* Override any GCC internal prototype to avoid an error.
23275    Use char because int might match the return type of a GCC
23276    builtin and then its argument prototype would still apply.  */
23277 #ifdef __cplusplus
23278 extern "C"
23279 #endif
23280 char jnf ();
23281 int
23282 main ()
23283 {
23284 return jnf ();
23285   ;
23286   return 0;
23287 }
23288 _ACEOF
23289 if ac_fn_c_try_link "$LINENO"; then :
23290   ac_cv_lib_m_jnf=yes
23291 else
23292   ac_cv_lib_m_jnf=no
23293 fi
23294 rm -f core conftest.err conftest.$ac_objext \
23295     conftest$ac_exeext conftest.$ac_ext
23296 LIBS=$ac_check_lib_save_LIBS
23297 fi
23298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnf" >&5
23299 $as_echo "$ac_cv_lib_m_jnf" >&6; }
23300 if test "x$ac_cv_lib_m_jnf" = x""yes; then :
23301
23302 $as_echo "#define HAVE_JNF 1" >>confdefs.h
23303
23304 fi
23305
23306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
23307 $as_echo_n "checking for jn in -lm... " >&6; }
23308 if test "${ac_cv_lib_m_jn+set}" = set; then :
23309   $as_echo_n "(cached) " >&6
23310 else
23311   ac_check_lib_save_LIBS=$LIBS
23312 LIBS="-lm  $LIBS"
23313 if test x$gcc_no_link = xyes; then
23314   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23315 fi
23316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23317 /* end confdefs.h.  */
23318
23319 /* Override any GCC internal prototype to avoid an error.
23320    Use char because int might match the return type of a GCC
23321    builtin and then its argument prototype would still apply.  */
23322 #ifdef __cplusplus
23323 extern "C"
23324 #endif
23325 char jn ();
23326 int
23327 main ()
23328 {
23329 return jn ();
23330   ;
23331   return 0;
23332 }
23333 _ACEOF
23334 if ac_fn_c_try_link "$LINENO"; then :
23335   ac_cv_lib_m_jn=yes
23336 else
23337   ac_cv_lib_m_jn=no
23338 fi
23339 rm -f core conftest.err conftest.$ac_objext \
23340     conftest$ac_exeext conftest.$ac_ext
23341 LIBS=$ac_check_lib_save_LIBS
23342 fi
23343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jn" >&5
23344 $as_echo "$ac_cv_lib_m_jn" >&6; }
23345 if test "x$ac_cv_lib_m_jn" = x""yes; then :
23346
23347 $as_echo "#define HAVE_JN 1" >>confdefs.h
23348
23349 fi
23350
23351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
23352 $as_echo_n "checking for jnl in -lm... " >&6; }
23353 if test "${ac_cv_lib_m_jnl+set}" = set; then :
23354   $as_echo_n "(cached) " >&6
23355 else
23356   ac_check_lib_save_LIBS=$LIBS
23357 LIBS="-lm  $LIBS"
23358 if test x$gcc_no_link = xyes; then
23359   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23360 fi
23361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23362 /* end confdefs.h.  */
23363
23364 /* Override any GCC internal prototype to avoid an error.
23365    Use char because int might match the return type of a GCC
23366    builtin and then its argument prototype would still apply.  */
23367 #ifdef __cplusplus
23368 extern "C"
23369 #endif
23370 char jnl ();
23371 int
23372 main ()
23373 {
23374 return jnl ();
23375   ;
23376   return 0;
23377 }
23378 _ACEOF
23379 if ac_fn_c_try_link "$LINENO"; then :
23380   ac_cv_lib_m_jnl=yes
23381 else
23382   ac_cv_lib_m_jnl=no
23383 fi
23384 rm -f core conftest.err conftest.$ac_objext \
23385     conftest$ac_exeext conftest.$ac_ext
23386 LIBS=$ac_check_lib_save_LIBS
23387 fi
23388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnl" >&5
23389 $as_echo "$ac_cv_lib_m_jnl" >&6; }
23390 if test "x$ac_cv_lib_m_jnl" = x""yes; then :
23391
23392 $as_echo "#define HAVE_JNL 1" >>confdefs.h
23393
23394 fi
23395
23396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
23397 $as_echo_n "checking for y0f in -lm... " >&6; }
23398 if test "${ac_cv_lib_m_y0f+set}" = set; then :
23399   $as_echo_n "(cached) " >&6
23400 else
23401   ac_check_lib_save_LIBS=$LIBS
23402 LIBS="-lm  $LIBS"
23403 if test x$gcc_no_link = xyes; then
23404   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23405 fi
23406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23407 /* end confdefs.h.  */
23408
23409 /* Override any GCC internal prototype to avoid an error.
23410    Use char because int might match the return type of a GCC
23411    builtin and then its argument prototype would still apply.  */
23412 #ifdef __cplusplus
23413 extern "C"
23414 #endif
23415 char y0f ();
23416 int
23417 main ()
23418 {
23419 return y0f ();
23420   ;
23421   return 0;
23422 }
23423 _ACEOF
23424 if ac_fn_c_try_link "$LINENO"; then :
23425   ac_cv_lib_m_y0f=yes
23426 else
23427   ac_cv_lib_m_y0f=no
23428 fi
23429 rm -f core conftest.err conftest.$ac_objext \
23430     conftest$ac_exeext conftest.$ac_ext
23431 LIBS=$ac_check_lib_save_LIBS
23432 fi
23433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0f" >&5
23434 $as_echo "$ac_cv_lib_m_y0f" >&6; }
23435 if test "x$ac_cv_lib_m_y0f" = x""yes; then :
23436
23437 $as_echo "#define HAVE_Y0F 1" >>confdefs.h
23438
23439 fi
23440
23441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
23442 $as_echo_n "checking for y0 in -lm... " >&6; }
23443 if test "${ac_cv_lib_m_y0+set}" = set; then :
23444   $as_echo_n "(cached) " >&6
23445 else
23446   ac_check_lib_save_LIBS=$LIBS
23447 LIBS="-lm  $LIBS"
23448 if test x$gcc_no_link = xyes; then
23449   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23450 fi
23451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23452 /* end confdefs.h.  */
23453
23454 /* Override any GCC internal prototype to avoid an error.
23455    Use char because int might match the return type of a GCC
23456    builtin and then its argument prototype would still apply.  */
23457 #ifdef __cplusplus
23458 extern "C"
23459 #endif
23460 char y0 ();
23461 int
23462 main ()
23463 {
23464 return y0 ();
23465   ;
23466   return 0;
23467 }
23468 _ACEOF
23469 if ac_fn_c_try_link "$LINENO"; then :
23470   ac_cv_lib_m_y0=yes
23471 else
23472   ac_cv_lib_m_y0=no
23473 fi
23474 rm -f core conftest.err conftest.$ac_objext \
23475     conftest$ac_exeext conftest.$ac_ext
23476 LIBS=$ac_check_lib_save_LIBS
23477 fi
23478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0" >&5
23479 $as_echo "$ac_cv_lib_m_y0" >&6; }
23480 if test "x$ac_cv_lib_m_y0" = x""yes; then :
23481
23482 $as_echo "#define HAVE_Y0 1" >>confdefs.h
23483
23484 fi
23485
23486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
23487 $as_echo_n "checking for y0l in -lm... " >&6; }
23488 if test "${ac_cv_lib_m_y0l+set}" = set; then :
23489   $as_echo_n "(cached) " >&6
23490 else
23491   ac_check_lib_save_LIBS=$LIBS
23492 LIBS="-lm  $LIBS"
23493 if test x$gcc_no_link = xyes; then
23494   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23495 fi
23496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23497 /* end confdefs.h.  */
23498
23499 /* Override any GCC internal prototype to avoid an error.
23500    Use char because int might match the return type of a GCC
23501    builtin and then its argument prototype would still apply.  */
23502 #ifdef __cplusplus
23503 extern "C"
23504 #endif
23505 char y0l ();
23506 int
23507 main ()
23508 {
23509 return y0l ();
23510   ;
23511   return 0;
23512 }
23513 _ACEOF
23514 if ac_fn_c_try_link "$LINENO"; then :
23515   ac_cv_lib_m_y0l=yes
23516 else
23517   ac_cv_lib_m_y0l=no
23518 fi
23519 rm -f core conftest.err conftest.$ac_objext \
23520     conftest$ac_exeext conftest.$ac_ext
23521 LIBS=$ac_check_lib_save_LIBS
23522 fi
23523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0l" >&5
23524 $as_echo "$ac_cv_lib_m_y0l" >&6; }
23525 if test "x$ac_cv_lib_m_y0l" = x""yes; then :
23526
23527 $as_echo "#define HAVE_Y0L 1" >>confdefs.h
23528
23529 fi
23530
23531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
23532 $as_echo_n "checking for y1f in -lm... " >&6; }
23533 if test "${ac_cv_lib_m_y1f+set}" = set; then :
23534   $as_echo_n "(cached) " >&6
23535 else
23536   ac_check_lib_save_LIBS=$LIBS
23537 LIBS="-lm  $LIBS"
23538 if test x$gcc_no_link = xyes; then
23539   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23540 fi
23541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23542 /* end confdefs.h.  */
23543
23544 /* Override any GCC internal prototype to avoid an error.
23545    Use char because int might match the return type of a GCC
23546    builtin and then its argument prototype would still apply.  */
23547 #ifdef __cplusplus
23548 extern "C"
23549 #endif
23550 char y1f ();
23551 int
23552 main ()
23553 {
23554 return y1f ();
23555   ;
23556   return 0;
23557 }
23558 _ACEOF
23559 if ac_fn_c_try_link "$LINENO"; then :
23560   ac_cv_lib_m_y1f=yes
23561 else
23562   ac_cv_lib_m_y1f=no
23563 fi
23564 rm -f core conftest.err conftest.$ac_objext \
23565     conftest$ac_exeext conftest.$ac_ext
23566 LIBS=$ac_check_lib_save_LIBS
23567 fi
23568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1f" >&5
23569 $as_echo "$ac_cv_lib_m_y1f" >&6; }
23570 if test "x$ac_cv_lib_m_y1f" = x""yes; then :
23571
23572 $as_echo "#define HAVE_Y1F 1" >>confdefs.h
23573
23574 fi
23575
23576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
23577 $as_echo_n "checking for y1 in -lm... " >&6; }
23578 if test "${ac_cv_lib_m_y1+set}" = set; then :
23579   $as_echo_n "(cached) " >&6
23580 else
23581   ac_check_lib_save_LIBS=$LIBS
23582 LIBS="-lm  $LIBS"
23583 if test x$gcc_no_link = xyes; then
23584   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23585 fi
23586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23587 /* end confdefs.h.  */
23588
23589 /* Override any GCC internal prototype to avoid an error.
23590    Use char because int might match the return type of a GCC
23591    builtin and then its argument prototype would still apply.  */
23592 #ifdef __cplusplus
23593 extern "C"
23594 #endif
23595 char y1 ();
23596 int
23597 main ()
23598 {
23599 return y1 ();
23600   ;
23601   return 0;
23602 }
23603 _ACEOF
23604 if ac_fn_c_try_link "$LINENO"; then :
23605   ac_cv_lib_m_y1=yes
23606 else
23607   ac_cv_lib_m_y1=no
23608 fi
23609 rm -f core conftest.err conftest.$ac_objext \
23610     conftest$ac_exeext conftest.$ac_ext
23611 LIBS=$ac_check_lib_save_LIBS
23612 fi
23613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1" >&5
23614 $as_echo "$ac_cv_lib_m_y1" >&6; }
23615 if test "x$ac_cv_lib_m_y1" = x""yes; then :
23616
23617 $as_echo "#define HAVE_Y1 1" >>confdefs.h
23618
23619 fi
23620
23621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
23622 $as_echo_n "checking for y1l in -lm... " >&6; }
23623 if test "${ac_cv_lib_m_y1l+set}" = set; then :
23624   $as_echo_n "(cached) " >&6
23625 else
23626   ac_check_lib_save_LIBS=$LIBS
23627 LIBS="-lm  $LIBS"
23628 if test x$gcc_no_link = xyes; then
23629   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23630 fi
23631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23632 /* end confdefs.h.  */
23633
23634 /* Override any GCC internal prototype to avoid an error.
23635    Use char because int might match the return type of a GCC
23636    builtin and then its argument prototype would still apply.  */
23637 #ifdef __cplusplus
23638 extern "C"
23639 #endif
23640 char y1l ();
23641 int
23642 main ()
23643 {
23644 return y1l ();
23645   ;
23646   return 0;
23647 }
23648 _ACEOF
23649 if ac_fn_c_try_link "$LINENO"; then :
23650   ac_cv_lib_m_y1l=yes
23651 else
23652   ac_cv_lib_m_y1l=no
23653 fi
23654 rm -f core conftest.err conftest.$ac_objext \
23655     conftest$ac_exeext conftest.$ac_ext
23656 LIBS=$ac_check_lib_save_LIBS
23657 fi
23658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1l" >&5
23659 $as_echo "$ac_cv_lib_m_y1l" >&6; }
23660 if test "x$ac_cv_lib_m_y1l" = x""yes; then :
23661
23662 $as_echo "#define HAVE_Y1L 1" >>confdefs.h
23663
23664 fi
23665
23666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
23667 $as_echo_n "checking for ynf in -lm... " >&6; }
23668 if test "${ac_cv_lib_m_ynf+set}" = set; then :
23669   $as_echo_n "(cached) " >&6
23670 else
23671   ac_check_lib_save_LIBS=$LIBS
23672 LIBS="-lm  $LIBS"
23673 if test x$gcc_no_link = xyes; then
23674   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23675 fi
23676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23677 /* end confdefs.h.  */
23678
23679 /* Override any GCC internal prototype to avoid an error.
23680    Use char because int might match the return type of a GCC
23681    builtin and then its argument prototype would still apply.  */
23682 #ifdef __cplusplus
23683 extern "C"
23684 #endif
23685 char ynf ();
23686 int
23687 main ()
23688 {
23689 return ynf ();
23690   ;
23691   return 0;
23692 }
23693 _ACEOF
23694 if ac_fn_c_try_link "$LINENO"; then :
23695   ac_cv_lib_m_ynf=yes
23696 else
23697   ac_cv_lib_m_ynf=no
23698 fi
23699 rm -f core conftest.err conftest.$ac_objext \
23700     conftest$ac_exeext conftest.$ac_ext
23701 LIBS=$ac_check_lib_save_LIBS
23702 fi
23703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynf" >&5
23704 $as_echo "$ac_cv_lib_m_ynf" >&6; }
23705 if test "x$ac_cv_lib_m_ynf" = x""yes; then :
23706
23707 $as_echo "#define HAVE_YNF 1" >>confdefs.h
23708
23709 fi
23710
23711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
23712 $as_echo_n "checking for yn in -lm... " >&6; }
23713 if test "${ac_cv_lib_m_yn+set}" = set; then :
23714   $as_echo_n "(cached) " >&6
23715 else
23716   ac_check_lib_save_LIBS=$LIBS
23717 LIBS="-lm  $LIBS"
23718 if test x$gcc_no_link = xyes; then
23719   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23720 fi
23721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23722 /* end confdefs.h.  */
23723
23724 /* Override any GCC internal prototype to avoid an error.
23725    Use char because int might match the return type of a GCC
23726    builtin and then its argument prototype would still apply.  */
23727 #ifdef __cplusplus
23728 extern "C"
23729 #endif
23730 char yn ();
23731 int
23732 main ()
23733 {
23734 return yn ();
23735   ;
23736   return 0;
23737 }
23738 _ACEOF
23739 if ac_fn_c_try_link "$LINENO"; then :
23740   ac_cv_lib_m_yn=yes
23741 else
23742   ac_cv_lib_m_yn=no
23743 fi
23744 rm -f core conftest.err conftest.$ac_objext \
23745     conftest$ac_exeext conftest.$ac_ext
23746 LIBS=$ac_check_lib_save_LIBS
23747 fi
23748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_yn" >&5
23749 $as_echo "$ac_cv_lib_m_yn" >&6; }
23750 if test "x$ac_cv_lib_m_yn" = x""yes; then :
23751
23752 $as_echo "#define HAVE_YN 1" >>confdefs.h
23753
23754 fi
23755
23756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
23757 $as_echo_n "checking for ynl in -lm... " >&6; }
23758 if test "${ac_cv_lib_m_ynl+set}" = set; then :
23759   $as_echo_n "(cached) " >&6
23760 else
23761   ac_check_lib_save_LIBS=$LIBS
23762 LIBS="-lm  $LIBS"
23763 if test x$gcc_no_link = xyes; then
23764   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23765 fi
23766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23767 /* end confdefs.h.  */
23768
23769 /* Override any GCC internal prototype to avoid an error.
23770    Use char because int might match the return type of a GCC
23771    builtin and then its argument prototype would still apply.  */
23772 #ifdef __cplusplus
23773 extern "C"
23774 #endif
23775 char ynl ();
23776 int
23777 main ()
23778 {
23779 return ynl ();
23780   ;
23781   return 0;
23782 }
23783 _ACEOF
23784 if ac_fn_c_try_link "$LINENO"; then :
23785   ac_cv_lib_m_ynl=yes
23786 else
23787   ac_cv_lib_m_ynl=no
23788 fi
23789 rm -f core conftest.err conftest.$ac_objext \
23790     conftest$ac_exeext conftest.$ac_ext
23791 LIBS=$ac_check_lib_save_LIBS
23792 fi
23793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynl" >&5
23794 $as_echo "$ac_cv_lib_m_ynl" >&6; }
23795 if test "x$ac_cv_lib_m_ynl" = x""yes; then :
23796
23797 $as_echo "#define HAVE_YNL 1" >>confdefs.h
23798
23799 fi
23800
23801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
23802 $as_echo_n "checking for tgamma in -lm... " >&6; }
23803 if test "${ac_cv_lib_m_tgamma+set}" = set; then :
23804   $as_echo_n "(cached) " >&6
23805 else
23806   ac_check_lib_save_LIBS=$LIBS
23807 LIBS="-lm  $LIBS"
23808 if test x$gcc_no_link = xyes; then
23809   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23810 fi
23811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23812 /* end confdefs.h.  */
23813
23814 /* Override any GCC internal prototype to avoid an error.
23815    Use char because int might match the return type of a GCC
23816    builtin and then its argument prototype would still apply.  */
23817 #ifdef __cplusplus
23818 extern "C"
23819 #endif
23820 char tgamma ();
23821 int
23822 main ()
23823 {
23824 return tgamma ();
23825   ;
23826   return 0;
23827 }
23828 _ACEOF
23829 if ac_fn_c_try_link "$LINENO"; then :
23830   ac_cv_lib_m_tgamma=yes
23831 else
23832   ac_cv_lib_m_tgamma=no
23833 fi
23834 rm -f core conftest.err conftest.$ac_objext \
23835     conftest$ac_exeext conftest.$ac_ext
23836 LIBS=$ac_check_lib_save_LIBS
23837 fi
23838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgamma" >&5
23839 $as_echo "$ac_cv_lib_m_tgamma" >&6; }
23840 if test "x$ac_cv_lib_m_tgamma" = x""yes; then :
23841
23842 $as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23843
23844 fi
23845
23846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23847 $as_echo_n "checking for tgammaf in -lm... " >&6; }
23848 if test "${ac_cv_lib_m_tgammaf+set}" = set; then :
23849   $as_echo_n "(cached) " >&6
23850 else
23851   ac_check_lib_save_LIBS=$LIBS
23852 LIBS="-lm  $LIBS"
23853 if test x$gcc_no_link = xyes; then
23854   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23855 fi
23856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23857 /* end confdefs.h.  */
23858
23859 /* Override any GCC internal prototype to avoid an error.
23860    Use char because int might match the return type of a GCC
23861    builtin and then its argument prototype would still apply.  */
23862 #ifdef __cplusplus
23863 extern "C"
23864 #endif
23865 char tgammaf ();
23866 int
23867 main ()
23868 {
23869 return tgammaf ();
23870   ;
23871   return 0;
23872 }
23873 _ACEOF
23874 if ac_fn_c_try_link "$LINENO"; then :
23875   ac_cv_lib_m_tgammaf=yes
23876 else
23877   ac_cv_lib_m_tgammaf=no
23878 fi
23879 rm -f core conftest.err conftest.$ac_objext \
23880     conftest$ac_exeext conftest.$ac_ext
23881 LIBS=$ac_check_lib_save_LIBS
23882 fi
23883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammaf" >&5
23884 $as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23885 if test "x$ac_cv_lib_m_tgammaf" = x""yes; then :
23886
23887 $as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23888
23889 fi
23890
23891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23892 $as_echo_n "checking for tgammal in -lm... " >&6; }
23893 if test "${ac_cv_lib_m_tgammal+set}" = set; then :
23894   $as_echo_n "(cached) " >&6
23895 else
23896   ac_check_lib_save_LIBS=$LIBS
23897 LIBS="-lm  $LIBS"
23898 if test x$gcc_no_link = xyes; then
23899   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23900 fi
23901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23902 /* end confdefs.h.  */
23903
23904 /* Override any GCC internal prototype to avoid an error.
23905    Use char because int might match the return type of a GCC
23906    builtin and then its argument prototype would still apply.  */
23907 #ifdef __cplusplus
23908 extern "C"
23909 #endif
23910 char tgammal ();
23911 int
23912 main ()
23913 {
23914 return tgammal ();
23915   ;
23916   return 0;
23917 }
23918 _ACEOF
23919 if ac_fn_c_try_link "$LINENO"; then :
23920   ac_cv_lib_m_tgammal=yes
23921 else
23922   ac_cv_lib_m_tgammal=no
23923 fi
23924 rm -f core conftest.err conftest.$ac_objext \
23925     conftest$ac_exeext conftest.$ac_ext
23926 LIBS=$ac_check_lib_save_LIBS
23927 fi
23928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammal" >&5
23929 $as_echo "$ac_cv_lib_m_tgammal" >&6; }
23930 if test "x$ac_cv_lib_m_tgammal" = x""yes; then :
23931
23932 $as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23933
23934 fi
23935
23936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23937 $as_echo_n "checking for lgamma in -lm... " >&6; }
23938 if test "${ac_cv_lib_m_lgamma+set}" = set; then :
23939   $as_echo_n "(cached) " >&6
23940 else
23941   ac_check_lib_save_LIBS=$LIBS
23942 LIBS="-lm  $LIBS"
23943 if test x$gcc_no_link = xyes; then
23944   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23945 fi
23946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23947 /* end confdefs.h.  */
23948
23949 /* Override any GCC internal prototype to avoid an error.
23950    Use char because int might match the return type of a GCC
23951    builtin and then its argument prototype would still apply.  */
23952 #ifdef __cplusplus
23953 extern "C"
23954 #endif
23955 char lgamma ();
23956 int
23957 main ()
23958 {
23959 return lgamma ();
23960   ;
23961   return 0;
23962 }
23963 _ACEOF
23964 if ac_fn_c_try_link "$LINENO"; then :
23965   ac_cv_lib_m_lgamma=yes
23966 else
23967   ac_cv_lib_m_lgamma=no
23968 fi
23969 rm -f core conftest.err conftest.$ac_objext \
23970     conftest$ac_exeext conftest.$ac_ext
23971 LIBS=$ac_check_lib_save_LIBS
23972 fi
23973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgamma" >&5
23974 $as_echo "$ac_cv_lib_m_lgamma" >&6; }
23975 if test "x$ac_cv_lib_m_lgamma" = x""yes; then :
23976
23977 $as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23978
23979 fi
23980
23981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23982 $as_echo_n "checking for lgammaf in -lm... " >&6; }
23983 if test "${ac_cv_lib_m_lgammaf+set}" = set; then :
23984   $as_echo_n "(cached) " >&6
23985 else
23986   ac_check_lib_save_LIBS=$LIBS
23987 LIBS="-lm  $LIBS"
23988 if test x$gcc_no_link = xyes; then
23989   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23990 fi
23991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23992 /* end confdefs.h.  */
23993
23994 /* Override any GCC internal prototype to avoid an error.
23995    Use char because int might match the return type of a GCC
23996    builtin and then its argument prototype would still apply.  */
23997 #ifdef __cplusplus
23998 extern "C"
23999 #endif
24000 char lgammaf ();
24001 int
24002 main ()
24003 {
24004 return lgammaf ();
24005   ;
24006   return 0;
24007 }
24008 _ACEOF
24009 if ac_fn_c_try_link "$LINENO"; then :
24010   ac_cv_lib_m_lgammaf=yes
24011 else
24012   ac_cv_lib_m_lgammaf=no
24013 fi
24014 rm -f core conftest.err conftest.$ac_objext \
24015     conftest$ac_exeext conftest.$ac_ext
24016 LIBS=$ac_check_lib_save_LIBS
24017 fi
24018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammaf" >&5
24019 $as_echo "$ac_cv_lib_m_lgammaf" >&6; }
24020 if test "x$ac_cv_lib_m_lgammaf" = x""yes; then :
24021
24022 $as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
24023
24024 fi
24025
24026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
24027 $as_echo_n "checking for lgammal in -lm... " >&6; }
24028 if test "${ac_cv_lib_m_lgammal+set}" = set; then :
24029   $as_echo_n "(cached) " >&6
24030 else
24031   ac_check_lib_save_LIBS=$LIBS
24032 LIBS="-lm  $LIBS"
24033 if test x$gcc_no_link = xyes; then
24034   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24035 fi
24036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24037 /* end confdefs.h.  */
24038
24039 /* Override any GCC internal prototype to avoid an error.
24040    Use char because int might match the return type of a GCC
24041    builtin and then its argument prototype would still apply.  */
24042 #ifdef __cplusplus
24043 extern "C"
24044 #endif
24045 char lgammal ();
24046 int
24047 main ()
24048 {
24049 return lgammal ();
24050   ;
24051   return 0;
24052 }
24053 _ACEOF
24054 if ac_fn_c_try_link "$LINENO"; then :
24055   ac_cv_lib_m_lgammal=yes
24056 else
24057   ac_cv_lib_m_lgammal=no
24058 fi
24059 rm -f core conftest.err conftest.$ac_objext \
24060     conftest$ac_exeext conftest.$ac_ext
24061 LIBS=$ac_check_lib_save_LIBS
24062 fi
24063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammal" >&5
24064 $as_echo "$ac_cv_lib_m_lgammal" >&6; }
24065 if test "x$ac_cv_lib_m_lgammal" = x""yes; then :
24066
24067 $as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
24068
24069 fi
24070
24071
24072 # Check for GFORTRAN_C99_1.1 funcs
24073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos in -lm" >&5
24074 $as_echo_n "checking for cacos in -lm... " >&6; }
24075 if test "${ac_cv_lib_m_cacos+set}" = set; then :
24076   $as_echo_n "(cached) " >&6
24077 else
24078   ac_check_lib_save_LIBS=$LIBS
24079 LIBS="-lm  $LIBS"
24080 if test x$gcc_no_link = xyes; then
24081   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24082 fi
24083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24084 /* end confdefs.h.  */
24085
24086 /* Override any GCC internal prototype to avoid an error.
24087    Use char because int might match the return type of a GCC
24088    builtin and then its argument prototype would still apply.  */
24089 #ifdef __cplusplus
24090 extern "C"
24091 #endif
24092 char cacos ();
24093 int
24094 main ()
24095 {
24096 return cacos ();
24097   ;
24098   return 0;
24099 }
24100 _ACEOF
24101 if ac_fn_c_try_link "$LINENO"; then :
24102   ac_cv_lib_m_cacos=yes
24103 else
24104   ac_cv_lib_m_cacos=no
24105 fi
24106 rm -f core conftest.err conftest.$ac_objext \
24107     conftest$ac_exeext conftest.$ac_ext
24108 LIBS=$ac_check_lib_save_LIBS
24109 fi
24110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacos" >&5
24111 $as_echo "$ac_cv_lib_m_cacos" >&6; }
24112 if test "x$ac_cv_lib_m_cacos" = x""yes; then :
24113
24114 $as_echo "#define HAVE_CACOS 1" >>confdefs.h
24115
24116 fi
24117
24118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf in -lm" >&5
24119 $as_echo_n "checking for cacosf in -lm... " >&6; }
24120 if test "${ac_cv_lib_m_cacosf+set}" = set; then :
24121   $as_echo_n "(cached) " >&6
24122 else
24123   ac_check_lib_save_LIBS=$LIBS
24124 LIBS="-lm  $LIBS"
24125 if test x$gcc_no_link = xyes; then
24126   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24127 fi
24128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24129 /* end confdefs.h.  */
24130
24131 /* Override any GCC internal prototype to avoid an error.
24132    Use char because int might match the return type of a GCC
24133    builtin and then its argument prototype would still apply.  */
24134 #ifdef __cplusplus
24135 extern "C"
24136 #endif
24137 char cacosf ();
24138 int
24139 main ()
24140 {
24141 return cacosf ();
24142   ;
24143   return 0;
24144 }
24145 _ACEOF
24146 if ac_fn_c_try_link "$LINENO"; then :
24147   ac_cv_lib_m_cacosf=yes
24148 else
24149   ac_cv_lib_m_cacosf=no
24150 fi
24151 rm -f core conftest.err conftest.$ac_objext \
24152     conftest$ac_exeext conftest.$ac_ext
24153 LIBS=$ac_check_lib_save_LIBS
24154 fi
24155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosf" >&5
24156 $as_echo "$ac_cv_lib_m_cacosf" >&6; }
24157 if test "x$ac_cv_lib_m_cacosf" = x""yes; then :
24158
24159 $as_echo "#define HAVE_CACOSF 1" >>confdefs.h
24160
24161 fi
24162
24163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh in -lm" >&5
24164 $as_echo_n "checking for cacosh in -lm... " >&6; }
24165 if test "${ac_cv_lib_m_cacosh+set}" = set; then :
24166   $as_echo_n "(cached) " >&6
24167 else
24168   ac_check_lib_save_LIBS=$LIBS
24169 LIBS="-lm  $LIBS"
24170 if test x$gcc_no_link = xyes; then
24171   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24172 fi
24173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24174 /* end confdefs.h.  */
24175
24176 /* Override any GCC internal prototype to avoid an error.
24177    Use char because int might match the return type of a GCC
24178    builtin and then its argument prototype would still apply.  */
24179 #ifdef __cplusplus
24180 extern "C"
24181 #endif
24182 char cacosh ();
24183 int
24184 main ()
24185 {
24186 return cacosh ();
24187   ;
24188   return 0;
24189 }
24190 _ACEOF
24191 if ac_fn_c_try_link "$LINENO"; then :
24192   ac_cv_lib_m_cacosh=yes
24193 else
24194   ac_cv_lib_m_cacosh=no
24195 fi
24196 rm -f core conftest.err conftest.$ac_objext \
24197     conftest$ac_exeext conftest.$ac_ext
24198 LIBS=$ac_check_lib_save_LIBS
24199 fi
24200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosh" >&5
24201 $as_echo "$ac_cv_lib_m_cacosh" >&6; }
24202 if test "x$ac_cv_lib_m_cacosh" = x""yes; then :
24203
24204 $as_echo "#define HAVE_CACOSH 1" >>confdefs.h
24205
24206 fi
24207
24208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf in -lm" >&5
24209 $as_echo_n "checking for cacoshf in -lm... " >&6; }
24210 if test "${ac_cv_lib_m_cacoshf+set}" = set; then :
24211   $as_echo_n "(cached) " >&6
24212 else
24213   ac_check_lib_save_LIBS=$LIBS
24214 LIBS="-lm  $LIBS"
24215 if test x$gcc_no_link = xyes; then
24216   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24217 fi
24218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24219 /* end confdefs.h.  */
24220
24221 /* Override any GCC internal prototype to avoid an error.
24222    Use char because int might match the return type of a GCC
24223    builtin and then its argument prototype would still apply.  */
24224 #ifdef __cplusplus
24225 extern "C"
24226 #endif
24227 char cacoshf ();
24228 int
24229 main ()
24230 {
24231 return cacoshf ();
24232   ;
24233   return 0;
24234 }
24235 _ACEOF
24236 if ac_fn_c_try_link "$LINENO"; then :
24237   ac_cv_lib_m_cacoshf=yes
24238 else
24239   ac_cv_lib_m_cacoshf=no
24240 fi
24241 rm -f core conftest.err conftest.$ac_objext \
24242     conftest$ac_exeext conftest.$ac_ext
24243 LIBS=$ac_check_lib_save_LIBS
24244 fi
24245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshf" >&5
24246 $as_echo "$ac_cv_lib_m_cacoshf" >&6; }
24247 if test "x$ac_cv_lib_m_cacoshf" = x""yes; then :
24248
24249 $as_echo "#define HAVE_CACOSHF 1" >>confdefs.h
24250
24251 fi
24252
24253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl in -lm" >&5
24254 $as_echo_n "checking for cacoshl in -lm... " >&6; }
24255 if test "${ac_cv_lib_m_cacoshl+set}" = set; then :
24256   $as_echo_n "(cached) " >&6
24257 else
24258   ac_check_lib_save_LIBS=$LIBS
24259 LIBS="-lm  $LIBS"
24260 if test x$gcc_no_link = xyes; then
24261   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24262 fi
24263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24264 /* end confdefs.h.  */
24265
24266 /* Override any GCC internal prototype to avoid an error.
24267    Use char because int might match the return type of a GCC
24268    builtin and then its argument prototype would still apply.  */
24269 #ifdef __cplusplus
24270 extern "C"
24271 #endif
24272 char cacoshl ();
24273 int
24274 main ()
24275 {
24276 return cacoshl ();
24277   ;
24278   return 0;
24279 }
24280 _ACEOF
24281 if ac_fn_c_try_link "$LINENO"; then :
24282   ac_cv_lib_m_cacoshl=yes
24283 else
24284   ac_cv_lib_m_cacoshl=no
24285 fi
24286 rm -f core conftest.err conftest.$ac_objext \
24287     conftest$ac_exeext conftest.$ac_ext
24288 LIBS=$ac_check_lib_save_LIBS
24289 fi
24290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshl" >&5
24291 $as_echo "$ac_cv_lib_m_cacoshl" >&6; }
24292 if test "x$ac_cv_lib_m_cacoshl" = x""yes; then :
24293
24294 $as_echo "#define HAVE_CACOSHL 1" >>confdefs.h
24295
24296 fi
24297
24298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl in -lm" >&5
24299 $as_echo_n "checking for cacosl in -lm... " >&6; }
24300 if test "${ac_cv_lib_m_cacosl+set}" = set; then :
24301   $as_echo_n "(cached) " >&6
24302 else
24303   ac_check_lib_save_LIBS=$LIBS
24304 LIBS="-lm  $LIBS"
24305 if test x$gcc_no_link = xyes; then
24306   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24307 fi
24308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24309 /* end confdefs.h.  */
24310
24311 /* Override any GCC internal prototype to avoid an error.
24312    Use char because int might match the return type of a GCC
24313    builtin and then its argument prototype would still apply.  */
24314 #ifdef __cplusplus
24315 extern "C"
24316 #endif
24317 char cacosl ();
24318 int
24319 main ()
24320 {
24321 return cacosl ();
24322   ;
24323   return 0;
24324 }
24325 _ACEOF
24326 if ac_fn_c_try_link "$LINENO"; then :
24327   ac_cv_lib_m_cacosl=yes
24328 else
24329   ac_cv_lib_m_cacosl=no
24330 fi
24331 rm -f core conftest.err conftest.$ac_objext \
24332     conftest$ac_exeext conftest.$ac_ext
24333 LIBS=$ac_check_lib_save_LIBS
24334 fi
24335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosl" >&5
24336 $as_echo "$ac_cv_lib_m_cacosl" >&6; }
24337 if test "x$ac_cv_lib_m_cacosl" = x""yes; then :
24338
24339 $as_echo "#define HAVE_CACOSL 1" >>confdefs.h
24340
24341 fi
24342
24343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin in -lm" >&5
24344 $as_echo_n "checking for casin in -lm... " >&6; }
24345 if test "${ac_cv_lib_m_casin+set}" = set; then :
24346   $as_echo_n "(cached) " >&6
24347 else
24348   ac_check_lib_save_LIBS=$LIBS
24349 LIBS="-lm  $LIBS"
24350 if test x$gcc_no_link = xyes; then
24351   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24352 fi
24353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24354 /* end confdefs.h.  */
24355
24356 /* Override any GCC internal prototype to avoid an error.
24357    Use char because int might match the return type of a GCC
24358    builtin and then its argument prototype would still apply.  */
24359 #ifdef __cplusplus
24360 extern "C"
24361 #endif
24362 char casin ();
24363 int
24364 main ()
24365 {
24366 return casin ();
24367   ;
24368   return 0;
24369 }
24370 _ACEOF
24371 if ac_fn_c_try_link "$LINENO"; then :
24372   ac_cv_lib_m_casin=yes
24373 else
24374   ac_cv_lib_m_casin=no
24375 fi
24376 rm -f core conftest.err conftest.$ac_objext \
24377     conftest$ac_exeext conftest.$ac_ext
24378 LIBS=$ac_check_lib_save_LIBS
24379 fi
24380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casin" >&5
24381 $as_echo "$ac_cv_lib_m_casin" >&6; }
24382 if test "x$ac_cv_lib_m_casin" = x""yes; then :
24383
24384 $as_echo "#define HAVE_CASIN 1" >>confdefs.h
24385
24386 fi
24387
24388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf in -lm" >&5
24389 $as_echo_n "checking for casinf in -lm... " >&6; }
24390 if test "${ac_cv_lib_m_casinf+set}" = set; then :
24391   $as_echo_n "(cached) " >&6
24392 else
24393   ac_check_lib_save_LIBS=$LIBS
24394 LIBS="-lm  $LIBS"
24395 if test x$gcc_no_link = xyes; then
24396   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24397 fi
24398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24399 /* end confdefs.h.  */
24400
24401 /* Override any GCC internal prototype to avoid an error.
24402    Use char because int might match the return type of a GCC
24403    builtin and then its argument prototype would still apply.  */
24404 #ifdef __cplusplus
24405 extern "C"
24406 #endif
24407 char casinf ();
24408 int
24409 main ()
24410 {
24411 return casinf ();
24412   ;
24413   return 0;
24414 }
24415 _ACEOF
24416 if ac_fn_c_try_link "$LINENO"; then :
24417   ac_cv_lib_m_casinf=yes
24418 else
24419   ac_cv_lib_m_casinf=no
24420 fi
24421 rm -f core conftest.err conftest.$ac_objext \
24422     conftest$ac_exeext conftest.$ac_ext
24423 LIBS=$ac_check_lib_save_LIBS
24424 fi
24425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinf" >&5
24426 $as_echo "$ac_cv_lib_m_casinf" >&6; }
24427 if test "x$ac_cv_lib_m_casinf" = x""yes; then :
24428
24429 $as_echo "#define HAVE_CASINF 1" >>confdefs.h
24430
24431 fi
24432
24433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh in -lm" >&5
24434 $as_echo_n "checking for casinh in -lm... " >&6; }
24435 if test "${ac_cv_lib_m_casinh+set}" = set; then :
24436   $as_echo_n "(cached) " >&6
24437 else
24438   ac_check_lib_save_LIBS=$LIBS
24439 LIBS="-lm  $LIBS"
24440 if test x$gcc_no_link = xyes; then
24441   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24442 fi
24443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24444 /* end confdefs.h.  */
24445
24446 /* Override any GCC internal prototype to avoid an error.
24447    Use char because int might match the return type of a GCC
24448    builtin and then its argument prototype would still apply.  */
24449 #ifdef __cplusplus
24450 extern "C"
24451 #endif
24452 char casinh ();
24453 int
24454 main ()
24455 {
24456 return casinh ();
24457   ;
24458   return 0;
24459 }
24460 _ACEOF
24461 if ac_fn_c_try_link "$LINENO"; then :
24462   ac_cv_lib_m_casinh=yes
24463 else
24464   ac_cv_lib_m_casinh=no
24465 fi
24466 rm -f core conftest.err conftest.$ac_objext \
24467     conftest$ac_exeext conftest.$ac_ext
24468 LIBS=$ac_check_lib_save_LIBS
24469 fi
24470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinh" >&5
24471 $as_echo "$ac_cv_lib_m_casinh" >&6; }
24472 if test "x$ac_cv_lib_m_casinh" = x""yes; then :
24473
24474 $as_echo "#define HAVE_CASINH 1" >>confdefs.h
24475
24476 fi
24477
24478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf in -lm" >&5
24479 $as_echo_n "checking for casinhf in -lm... " >&6; }
24480 if test "${ac_cv_lib_m_casinhf+set}" = set; then :
24481   $as_echo_n "(cached) " >&6
24482 else
24483   ac_check_lib_save_LIBS=$LIBS
24484 LIBS="-lm  $LIBS"
24485 if test x$gcc_no_link = xyes; then
24486   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24487 fi
24488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24489 /* end confdefs.h.  */
24490
24491 /* Override any GCC internal prototype to avoid an error.
24492    Use char because int might match the return type of a GCC
24493    builtin and then its argument prototype would still apply.  */
24494 #ifdef __cplusplus
24495 extern "C"
24496 #endif
24497 char casinhf ();
24498 int
24499 main ()
24500 {
24501 return casinhf ();
24502   ;
24503   return 0;
24504 }
24505 _ACEOF
24506 if ac_fn_c_try_link "$LINENO"; then :
24507   ac_cv_lib_m_casinhf=yes
24508 else
24509   ac_cv_lib_m_casinhf=no
24510 fi
24511 rm -f core conftest.err conftest.$ac_objext \
24512     conftest$ac_exeext conftest.$ac_ext
24513 LIBS=$ac_check_lib_save_LIBS
24514 fi
24515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhf" >&5
24516 $as_echo "$ac_cv_lib_m_casinhf" >&6; }
24517 if test "x$ac_cv_lib_m_casinhf" = x""yes; then :
24518
24519 $as_echo "#define HAVE_CASINHF 1" >>confdefs.h
24520
24521 fi
24522
24523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl in -lm" >&5
24524 $as_echo_n "checking for casinhl in -lm... " >&6; }
24525 if test "${ac_cv_lib_m_casinhl+set}" = set; then :
24526   $as_echo_n "(cached) " >&6
24527 else
24528   ac_check_lib_save_LIBS=$LIBS
24529 LIBS="-lm  $LIBS"
24530 if test x$gcc_no_link = xyes; then
24531   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24532 fi
24533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24534 /* end confdefs.h.  */
24535
24536 /* Override any GCC internal prototype to avoid an error.
24537    Use char because int might match the return type of a GCC
24538    builtin and then its argument prototype would still apply.  */
24539 #ifdef __cplusplus
24540 extern "C"
24541 #endif
24542 char casinhl ();
24543 int
24544 main ()
24545 {
24546 return casinhl ();
24547   ;
24548   return 0;
24549 }
24550 _ACEOF
24551 if ac_fn_c_try_link "$LINENO"; then :
24552   ac_cv_lib_m_casinhl=yes
24553 else
24554   ac_cv_lib_m_casinhl=no
24555 fi
24556 rm -f core conftest.err conftest.$ac_objext \
24557     conftest$ac_exeext conftest.$ac_ext
24558 LIBS=$ac_check_lib_save_LIBS
24559 fi
24560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhl" >&5
24561 $as_echo "$ac_cv_lib_m_casinhl" >&6; }
24562 if test "x$ac_cv_lib_m_casinhl" = x""yes; then :
24563
24564 $as_echo "#define HAVE_CASINHL 1" >>confdefs.h
24565
24566 fi
24567
24568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl in -lm" >&5
24569 $as_echo_n "checking for casinl in -lm... " >&6; }
24570 if test "${ac_cv_lib_m_casinl+set}" = set; then :
24571   $as_echo_n "(cached) " >&6
24572 else
24573   ac_check_lib_save_LIBS=$LIBS
24574 LIBS="-lm  $LIBS"
24575 if test x$gcc_no_link = xyes; then
24576   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24577 fi
24578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24579 /* end confdefs.h.  */
24580
24581 /* Override any GCC internal prototype to avoid an error.
24582    Use char because int might match the return type of a GCC
24583    builtin and then its argument prototype would still apply.  */
24584 #ifdef __cplusplus
24585 extern "C"
24586 #endif
24587 char casinl ();
24588 int
24589 main ()
24590 {
24591 return casinl ();
24592   ;
24593   return 0;
24594 }
24595 _ACEOF
24596 if ac_fn_c_try_link "$LINENO"; then :
24597   ac_cv_lib_m_casinl=yes
24598 else
24599   ac_cv_lib_m_casinl=no
24600 fi
24601 rm -f core conftest.err conftest.$ac_objext \
24602     conftest$ac_exeext conftest.$ac_ext
24603 LIBS=$ac_check_lib_save_LIBS
24604 fi
24605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinl" >&5
24606 $as_echo "$ac_cv_lib_m_casinl" >&6; }
24607 if test "x$ac_cv_lib_m_casinl" = x""yes; then :
24608
24609 $as_echo "#define HAVE_CASINL 1" >>confdefs.h
24610
24611 fi
24612
24613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan in -lm" >&5
24614 $as_echo_n "checking for catan in -lm... " >&6; }
24615 if test "${ac_cv_lib_m_catan+set}" = set; then :
24616   $as_echo_n "(cached) " >&6
24617 else
24618   ac_check_lib_save_LIBS=$LIBS
24619 LIBS="-lm  $LIBS"
24620 if test x$gcc_no_link = xyes; then
24621   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24622 fi
24623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24624 /* end confdefs.h.  */
24625
24626 /* Override any GCC internal prototype to avoid an error.
24627    Use char because int might match the return type of a GCC
24628    builtin and then its argument prototype would still apply.  */
24629 #ifdef __cplusplus
24630 extern "C"
24631 #endif
24632 char catan ();
24633 int
24634 main ()
24635 {
24636 return catan ();
24637   ;
24638   return 0;
24639 }
24640 _ACEOF
24641 if ac_fn_c_try_link "$LINENO"; then :
24642   ac_cv_lib_m_catan=yes
24643 else
24644   ac_cv_lib_m_catan=no
24645 fi
24646 rm -f core conftest.err conftest.$ac_objext \
24647     conftest$ac_exeext conftest.$ac_ext
24648 LIBS=$ac_check_lib_save_LIBS
24649 fi
24650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catan" >&5
24651 $as_echo "$ac_cv_lib_m_catan" >&6; }
24652 if test "x$ac_cv_lib_m_catan" = x""yes; then :
24653
24654 $as_echo "#define HAVE_CATAN 1" >>confdefs.h
24655
24656 fi
24657
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf in -lm" >&5
24659 $as_echo_n "checking for catanf in -lm... " >&6; }
24660 if test "${ac_cv_lib_m_catanf+set}" = set; then :
24661   $as_echo_n "(cached) " >&6
24662 else
24663   ac_check_lib_save_LIBS=$LIBS
24664 LIBS="-lm  $LIBS"
24665 if test x$gcc_no_link = xyes; then
24666   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24667 fi
24668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24669 /* end confdefs.h.  */
24670
24671 /* Override any GCC internal prototype to avoid an error.
24672    Use char because int might match the return type of a GCC
24673    builtin and then its argument prototype would still apply.  */
24674 #ifdef __cplusplus
24675 extern "C"
24676 #endif
24677 char catanf ();
24678 int
24679 main ()
24680 {
24681 return catanf ();
24682   ;
24683   return 0;
24684 }
24685 _ACEOF
24686 if ac_fn_c_try_link "$LINENO"; then :
24687   ac_cv_lib_m_catanf=yes
24688 else
24689   ac_cv_lib_m_catanf=no
24690 fi
24691 rm -f core conftest.err conftest.$ac_objext \
24692     conftest$ac_exeext conftest.$ac_ext
24693 LIBS=$ac_check_lib_save_LIBS
24694 fi
24695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanf" >&5
24696 $as_echo "$ac_cv_lib_m_catanf" >&6; }
24697 if test "x$ac_cv_lib_m_catanf" = x""yes; then :
24698
24699 $as_echo "#define HAVE_CATANF 1" >>confdefs.h
24700
24701 fi
24702
24703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh in -lm" >&5
24704 $as_echo_n "checking for catanh in -lm... " >&6; }
24705 if test "${ac_cv_lib_m_catanh+set}" = set; then :
24706   $as_echo_n "(cached) " >&6
24707 else
24708   ac_check_lib_save_LIBS=$LIBS
24709 LIBS="-lm  $LIBS"
24710 if test x$gcc_no_link = xyes; then
24711   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24712 fi
24713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24714 /* end confdefs.h.  */
24715
24716 /* Override any GCC internal prototype to avoid an error.
24717    Use char because int might match the return type of a GCC
24718    builtin and then its argument prototype would still apply.  */
24719 #ifdef __cplusplus
24720 extern "C"
24721 #endif
24722 char catanh ();
24723 int
24724 main ()
24725 {
24726 return catanh ();
24727   ;
24728   return 0;
24729 }
24730 _ACEOF
24731 if ac_fn_c_try_link "$LINENO"; then :
24732   ac_cv_lib_m_catanh=yes
24733 else
24734   ac_cv_lib_m_catanh=no
24735 fi
24736 rm -f core conftest.err conftest.$ac_objext \
24737     conftest$ac_exeext conftest.$ac_ext
24738 LIBS=$ac_check_lib_save_LIBS
24739 fi
24740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanh" >&5
24741 $as_echo "$ac_cv_lib_m_catanh" >&6; }
24742 if test "x$ac_cv_lib_m_catanh" = x""yes; then :
24743
24744 $as_echo "#define HAVE_CATANH 1" >>confdefs.h
24745
24746 fi
24747
24748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf in -lm" >&5
24749 $as_echo_n "checking for catanhf in -lm... " >&6; }
24750 if test "${ac_cv_lib_m_catanhf+set}" = set; then :
24751   $as_echo_n "(cached) " >&6
24752 else
24753   ac_check_lib_save_LIBS=$LIBS
24754 LIBS="-lm  $LIBS"
24755 if test x$gcc_no_link = xyes; then
24756   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24757 fi
24758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24759 /* end confdefs.h.  */
24760
24761 /* Override any GCC internal prototype to avoid an error.
24762    Use char because int might match the return type of a GCC
24763    builtin and then its argument prototype would still apply.  */
24764 #ifdef __cplusplus
24765 extern "C"
24766 #endif
24767 char catanhf ();
24768 int
24769 main ()
24770 {
24771 return catanhf ();
24772   ;
24773   return 0;
24774 }
24775 _ACEOF
24776 if ac_fn_c_try_link "$LINENO"; then :
24777   ac_cv_lib_m_catanhf=yes
24778 else
24779   ac_cv_lib_m_catanhf=no
24780 fi
24781 rm -f core conftest.err conftest.$ac_objext \
24782     conftest$ac_exeext conftest.$ac_ext
24783 LIBS=$ac_check_lib_save_LIBS
24784 fi
24785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhf" >&5
24786 $as_echo "$ac_cv_lib_m_catanhf" >&6; }
24787 if test "x$ac_cv_lib_m_catanhf" = x""yes; then :
24788
24789 $as_echo "#define HAVE_CATANHF 1" >>confdefs.h
24790
24791 fi
24792
24793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl in -lm" >&5
24794 $as_echo_n "checking for catanhl in -lm... " >&6; }
24795 if test "${ac_cv_lib_m_catanhl+set}" = set; then :
24796   $as_echo_n "(cached) " >&6
24797 else
24798   ac_check_lib_save_LIBS=$LIBS
24799 LIBS="-lm  $LIBS"
24800 if test x$gcc_no_link = xyes; then
24801   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24802 fi
24803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24804 /* end confdefs.h.  */
24805
24806 /* Override any GCC internal prototype to avoid an error.
24807    Use char because int might match the return type of a GCC
24808    builtin and then its argument prototype would still apply.  */
24809 #ifdef __cplusplus
24810 extern "C"
24811 #endif
24812 char catanhl ();
24813 int
24814 main ()
24815 {
24816 return catanhl ();
24817   ;
24818   return 0;
24819 }
24820 _ACEOF
24821 if ac_fn_c_try_link "$LINENO"; then :
24822   ac_cv_lib_m_catanhl=yes
24823 else
24824   ac_cv_lib_m_catanhl=no
24825 fi
24826 rm -f core conftest.err conftest.$ac_objext \
24827     conftest$ac_exeext conftest.$ac_ext
24828 LIBS=$ac_check_lib_save_LIBS
24829 fi
24830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhl" >&5
24831 $as_echo "$ac_cv_lib_m_catanhl" >&6; }
24832 if test "x$ac_cv_lib_m_catanhl" = x""yes; then :
24833
24834 $as_echo "#define HAVE_CATANHL 1" >>confdefs.h
24835
24836 fi
24837
24838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl in -lm" >&5
24839 $as_echo_n "checking for catanl in -lm... " >&6; }
24840 if test "${ac_cv_lib_m_catanl+set}" = set; then :
24841   $as_echo_n "(cached) " >&6
24842 else
24843   ac_check_lib_save_LIBS=$LIBS
24844 LIBS="-lm  $LIBS"
24845 if test x$gcc_no_link = xyes; then
24846   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24847 fi
24848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24849 /* end confdefs.h.  */
24850
24851 /* Override any GCC internal prototype to avoid an error.
24852    Use char because int might match the return type of a GCC
24853    builtin and then its argument prototype would still apply.  */
24854 #ifdef __cplusplus
24855 extern "C"
24856 #endif
24857 char catanl ();
24858 int
24859 main ()
24860 {
24861 return catanl ();
24862   ;
24863   return 0;
24864 }
24865 _ACEOF
24866 if ac_fn_c_try_link "$LINENO"; then :
24867   ac_cv_lib_m_catanl=yes
24868 else
24869   ac_cv_lib_m_catanl=no
24870 fi
24871 rm -f core conftest.err conftest.$ac_objext \
24872     conftest$ac_exeext conftest.$ac_ext
24873 LIBS=$ac_check_lib_save_LIBS
24874 fi
24875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanl" >&5
24876 $as_echo "$ac_cv_lib_m_catanl" >&6; }
24877 if test "x$ac_cv_lib_m_catanl" = x""yes; then :
24878
24879 $as_echo "#define HAVE_CATANL 1" >>confdefs.h
24880
24881 fi
24882
24883
24884 # On AIX, clog is present in libm as __clog
24885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
24886 $as_echo_n "checking for __clog in -lm... " >&6; }
24887 if test "${ac_cv_lib_m___clog+set}" = set; then :
24888   $as_echo_n "(cached) " >&6
24889 else
24890   ac_check_lib_save_LIBS=$LIBS
24891 LIBS="-lm  $LIBS"
24892 if test x$gcc_no_link = xyes; then
24893   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24894 fi
24895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24896 /* end confdefs.h.  */
24897
24898 /* Override any GCC internal prototype to avoid an error.
24899    Use char because int might match the return type of a GCC
24900    builtin and then its argument prototype would still apply.  */
24901 #ifdef __cplusplus
24902 extern "C"
24903 #endif
24904 char __clog ();
24905 int
24906 main ()
24907 {
24908 return __clog ();
24909   ;
24910   return 0;
24911 }
24912 _ACEOF
24913 if ac_fn_c_try_link "$LINENO"; then :
24914   ac_cv_lib_m___clog=yes
24915 else
24916   ac_cv_lib_m___clog=no
24917 fi
24918 rm -f core conftest.err conftest.$ac_objext \
24919     conftest$ac_exeext conftest.$ac_ext
24920 LIBS=$ac_check_lib_save_LIBS
24921 fi
24922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
24923 $as_echo "$ac_cv_lib_m___clog" >&6; }
24924 if test "x$ac_cv_lib_m___clog" = x""yes; then :
24925
24926 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
24927
24928 fi
24929
24930
24931 # Check whether the system has a working stat()
24932
24933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
24934 $as_echo_n "checking whether the target stat is reliable... " >&6; }
24935 if test "${libgfor_cv_have_working_stat+set}" = set; then :
24936   $as_echo_n "(cached) " >&6
24937 else
24938
24939   if test "$cross_compiling" = yes; then :
24940
24941 case "${target}" in
24942   *mingw*) libgfor_cv_have_working_stat=no ;;
24943   *) libgfor_cv_have_working_stat=yes;;
24944 esac
24945 else
24946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24947 /* end confdefs.h.  */
24948
24949 #include <stdio.h>
24950 #include <sys/types.h>
24951 #include <sys/stat.h>
24952 #include <unistd.h>
24953
24954 int main ()
24955 {
24956   FILE *f, *g;
24957   struct stat st1, st2;
24958
24959   f = fopen ("foo", "w");
24960   g = fopen ("bar", "w");
24961   if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
24962     return 1;
24963   if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
24964     return 1;
24965   fclose(f);
24966   fclose(g);
24967   return 0;
24968 }
24969 _ACEOF
24970 if ac_fn_c_try_run "$LINENO"; then :
24971   libgfor_cv_have_working_stat=yes
24972 else
24973   libgfor_cv_have_working_stat=no
24974 fi
24975 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24976   conftest.$ac_objext conftest.beam conftest.$ac_ext
24977 fi
24978
24979 fi
24980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
24981 $as_echo "$libgfor_cv_have_working_stat" >&6; }
24982 if test x"$libgfor_cv_have_working_stat" = xyes; then
24983
24984 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
24985
24986 fi
24987
24988 # Check whether __mingw_snprintf() is present
24989
24990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
24991 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
24992 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
24993   $as_echo_n "(cached) " >&6
24994 else
24995
24996     if test x$gcc_no_link = xyes; then
24997   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24998 fi
24999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25000 /* end confdefs.h.  */
25001
25002 #include <stdio.h>
25003 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25004
25005 int
25006 main ()
25007 {
25008
25009 __mingw_snprintf (NULL, 0, "%d\n", 1);
25010
25011   ;
25012   return 0;
25013 }
25014 _ACEOF
25015 if ac_fn_c_try_link "$LINENO"; then :
25016   eval "libgfor_cv_have_mingw_snprintf=yes"
25017 else
25018   eval "libgfor_cv_have_mingw_snprintf=no"
25019 fi
25020 rm -f core conftest.err conftest.$ac_objext \
25021     conftest$ac_exeext conftest.$ac_ext
25022
25023 fi
25024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25025 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25026   if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
25027
25028 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25029
25030   fi
25031
25032
25033 # Check for a broken powf implementation
25034
25035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
25036 $as_echo_n "checking whether powf is broken... " >&6; }
25037 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
25038   $as_echo_n "(cached) " >&6
25039 else
25040
25041 case "${target}" in
25042   hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
25043   *) libgfor_cv_have_broken_powf=no;;
25044 esac
25045 fi
25046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
25047 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
25048   if test x"$libgfor_cv_have_broken_powf" = xyes; then
25049
25050 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
25051
25052   fi
25053
25054
25055 # Check whether libquadmath should be used
25056 # Check whether --enable-libquadmath-support was given.
25057 if test "${enable_libquadmath_support+set}" = set; then :
25058   enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
25059 else
25060   ENABLE_LIBQUADMATH_SUPPORT=yes
25061 fi
25062
25063 enable_libquadmath_support=
25064 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25065   enable_libquadmath_support=no
25066 fi
25067
25068 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25069
25070   LIBQUADSPEC=
25071
25072   if test "x$enable_libquadmath_support" != xno; then
25073
25074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25075 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25076 if test "${libgfor_cv_have_float128+set}" = set; then :
25077   $as_echo_n "(cached) " >&6
25078 else
25079
25080    if test x$gcc_no_link = xyes; then
25081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25082 /* end confdefs.h.  */
25083
25084     typedef _Complex float __attribute__((mode(TC))) __complex128;
25085
25086     __float128 foo (__float128 x)
25087     {
25088
25089      __complex128 z1, z2;
25090
25091      z1 = x;
25092      z2 = x / 7.Q;
25093      z2 /= z1;
25094
25095      return (__float128) z2;
25096     }
25097
25098     __float128 bar (__float128 x)
25099     {
25100       return x * __builtin_huge_valq ();
25101     }
25102
25103 int
25104 main ()
25105 {
25106
25107     foo (1.2Q);
25108     bar (1.2Q);
25109
25110   ;
25111   return 0;
25112 }
25113 _ACEOF
25114 if ac_fn_c_try_compile "$LINENO"; then :
25115
25116     libgfor_cv_have_float128=yes
25117
25118 else
25119
25120     libgfor_cv_have_float128=no
25121
25122 fi
25123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25124 else
25125   if test x$gcc_no_link = xyes; then
25126   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25127 fi
25128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25129 /* end confdefs.h.  */
25130
25131     typedef _Complex float __attribute__((mode(TC))) __complex128;
25132
25133     __float128 foo (__float128 x)
25134     {
25135
25136      __complex128 z1, z2;
25137
25138      z1 = x;
25139      z2 = x / 7.Q;
25140      z2 /= z1;
25141
25142      return (__float128) z2;
25143     }
25144
25145     __float128 bar (__float128 x)
25146     {
25147       return x * __builtin_huge_valq ();
25148     }
25149
25150 int
25151 main ()
25152 {
25153
25154     foo (1.2Q);
25155     bar (1.2Q);
25156
25157   ;
25158   return 0;
25159 }
25160 _ACEOF
25161 if ac_fn_c_try_link "$LINENO"; then :
25162
25163     libgfor_cv_have_float128=yes
25164
25165 else
25166
25167     libgfor_cv_have_float128=no
25168
25169 fi
25170 rm -f core conftest.err conftest.$ac_objext \
25171     conftest$ac_exeext conftest.$ac_ext
25172 fi
25173 fi
25174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25175 $as_echo "$libgfor_cv_have_float128" >&6; }
25176
25177   if test "x$libgfor_cv_have_float128" = xyes; then
25178
25179 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25180
25181
25182                                 ac_xsave_c_werror_flag=$ac_c_werror_flag
25183     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed works" >&5
25184 $as_echo_n "checking whether --as-needed works... " >&6; }
25185 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25186   $as_echo_n "(cached) " >&6
25187 else
25188
25189       save_LDFLAGS="$LDFLAGS"
25190       LDFLAGS="$LDFLAGS -Wl,--as-needed -lm -Wl,--no-as-needed"
25191       libgfor_cv_have_as_needed=no
25192
25193 ac_c_werror_flag=yes
25194       if test x$gcc_no_link = xyes; then
25195   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25196 fi
25197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25198 /* end confdefs.h.  */
25199
25200 int
25201 main ()
25202 {
25203
25204   ;
25205   return 0;
25206 }
25207 _ACEOF
25208 if ac_fn_c_try_link "$LINENO"; then :
25209   libgfor_cv_have_as_needed=yes
25210 else
25211   libgfor_cv_have_as_needed=no
25212 fi
25213 rm -f core conftest.err conftest.$ac_objext \
25214     conftest$ac_exeext conftest.$ac_ext
25215       LDFLAGS="$save_LDFLAGS"
25216       ac_c_werror_flag=$ac_xsave_c_werror_flag
25217
25218 fi
25219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25220 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25221
25222         if test "x$libgfor_cv_have_as_needed" = xyes; then
25223       LIBQUADSPEC="%{static-libgfortran:--as-needed} -lquadmath %{static-libgfortran:--no-as-needed}"
25224     else
25225       LIBQUADSPEC="-lquadmath"
25226     fi
25227     if test -f ../libquadmath/libquadmath.la; then
25228       LIBQUADLIB=../libquadmath/libquadmath.la
25229       LIBQUADLIB_DEP=../libquadmath/libquadmath.la
25230       LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
25231     else
25232       LIBQUADLIB="-lquadmath"
25233       LIBQUADLIB_DEP=
25234       LIBQUADINCLUDE=
25235     fi
25236   fi
25237   else
25238     # for --disable-quadmath
25239     LIBQUADLIB=
25240     LIBQUADLIB_DEP=
25241     LIBQUADINCLUDE=
25242   fi
25243
25244
25245
25246
25247
25248
25249      if test "x$libgfor_cv_have_float128" = xyes; then
25250   LIBGFOR_BUILD_QUAD_TRUE=
25251   LIBGFOR_BUILD_QUAD_FALSE='#'
25252 else
25253   LIBGFOR_BUILD_QUAD_TRUE='#'
25254   LIBGFOR_BUILD_QUAD_FALSE=
25255 fi
25256
25257
25258
25259 # Check for GNU libc feenableexcept
25260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25261 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25262 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25263   $as_echo_n "(cached) " >&6
25264 else
25265   ac_check_lib_save_LIBS=$LIBS
25266 LIBS="-lm  $LIBS"
25267 if test x$gcc_no_link = xyes; then
25268   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25269 fi
25270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25271 /* end confdefs.h.  */
25272
25273 /* Override any GCC internal prototype to avoid an error.
25274    Use char because int might match the return type of a GCC
25275    builtin and then its argument prototype would still apply.  */
25276 #ifdef __cplusplus
25277 extern "C"
25278 #endif
25279 char feenableexcept ();
25280 int
25281 main ()
25282 {
25283 return feenableexcept ();
25284   ;
25285   return 0;
25286 }
25287 _ACEOF
25288 if ac_fn_c_try_link "$LINENO"; then :
25289   ac_cv_lib_m_feenableexcept=yes
25290 else
25291   ac_cv_lib_m_feenableexcept=no
25292 fi
25293 rm -f core conftest.err conftest.$ac_objext \
25294     conftest$ac_exeext conftest.$ac_ext
25295 LIBS=$ac_check_lib_save_LIBS
25296 fi
25297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25298 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25299 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
25300   have_feenableexcept=yes
25301 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25302
25303 fi
25304
25305
25306 # At least for glibc, clock_gettime is in librt.  But don't pull that
25307 # in if it still doesn't give us the function we want.
25308 # This test is copied from libgomp, and modified to not link in -lrt
25309 # as libgfortran calls clock_gettime via a weak reference.
25310 if test $ac_cv_func_clock_gettime = no; then
25311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25312 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25313 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25314   $as_echo_n "(cached) " >&6
25315 else
25316   ac_check_lib_save_LIBS=$LIBS
25317 LIBS="-lrt  $LIBS"
25318 if test x$gcc_no_link = xyes; then
25319   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25320 fi
25321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25322 /* end confdefs.h.  */
25323
25324 /* Override any GCC internal prototype to avoid an error.
25325    Use char because int might match the return type of a GCC
25326    builtin and then its argument prototype would still apply.  */
25327 #ifdef __cplusplus
25328 extern "C"
25329 #endif
25330 char clock_gettime ();
25331 int
25332 main ()
25333 {
25334 return clock_gettime ();
25335   ;
25336   return 0;
25337 }
25338 _ACEOF
25339 if ac_fn_c_try_link "$LINENO"; then :
25340   ac_cv_lib_rt_clock_gettime=yes
25341 else
25342   ac_cv_lib_rt_clock_gettime=no
25343 fi
25344 rm -f core conftest.err conftest.$ac_objext \
25345     conftest$ac_exeext conftest.$ac_ext
25346 LIBS=$ac_check_lib_save_LIBS
25347 fi
25348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25349 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25350 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
25351
25352 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
25353
25354 fi
25355
25356 fi
25357
25358 # Check for SysV fpsetmask
25359
25360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25361 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25362 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25363   $as_echo_n "(cached) " >&6
25364 else
25365
25366     if test x$gcc_no_link = xyes; then
25367   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25368 fi
25369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25370 /* end confdefs.h.  */
25371
25372 #if HAVE_FLOATINGPOINT_H
25373 # include <floatingpoint.h>
25374 #endif /* HAVE_FLOATINGPOINT_H */
25375 #if HAVE_IEEEFP_H
25376 # include <ieeefp.h>
25377 #endif /* HAVE_IEEEFP_H */
25378 int
25379 main ()
25380 {
25381 fpsetmask(0);
25382   ;
25383   return 0;
25384 }
25385 _ACEOF
25386 if ac_fn_c_try_link "$LINENO"; then :
25387   eval "libgfor_cv_have_fpsetmask=yes"
25388 else
25389   eval "libgfor_cv_have_fpsetmask=no"
25390 fi
25391 rm -f core conftest.err conftest.$ac_objext \
25392     conftest$ac_exeext conftest.$ac_ext
25393
25394 fi
25395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25396 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25397   if test x"$libgfor_cv_have_fpsetmask" = xyes; then
25398     have_fpsetmask=yes
25399
25400 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
25401
25402   fi
25403
25404
25405 # Check for AIX fp_trap and fp_enable
25406 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
25407 if test "x$ac_cv_func_fp_trap" = x""yes; then :
25408   have_fp_trap=yes
25409 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
25410
25411 fi
25412
25413 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
25414 if test "x$ac_cv_func_fp_enable" = x""yes; then :
25415   have_fp_enable=yes
25416 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
25417
25418 fi
25419
25420
25421 # Runs configure.host to set up necessary host-dependent shell variables.
25422 # We then display a message about it, and propagate them through the
25423 # build chain.
25424 . ${srcdir}/configure.host
25425 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
25426 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
25427 FPU_HOST_HEADER=config/${fpu_host}.h
25428
25429
25430 # Some targets require additional compiler options for IEEE compatibility.
25431 IEEE_FLAGS="${ieee_flags}"
25432
25433
25434
25435 # Check for POSIX getpwuid_r
25436 #
25437 # There are two versions of getpwuid_r, the POSIX one with 5
25438 # arguments, and another one with 4 arguments used by at least HP-UX
25439 # 10.2.
25440 if test "$ac_cv_func_getpwuid_r" = "yes"; then
25441    { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
25442 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
25443 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
25444   $as_echo_n "(cached) " >&6
25445 else
25446
25447    if test x$gcc_no_link = xyes; then
25448   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25449 fi
25450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25451 /* end confdefs.h.  */
25452
25453 #include <stdio.h>
25454 #include <sys/types.h>
25455 #include <pwd.h>
25456 int
25457 main ()
25458 {
25459
25460     getpwuid_r(0, NULL, NULL, 0, NULL);
25461
25462   ;
25463   return 0;
25464 }
25465 _ACEOF
25466 if ac_fn_c_try_link "$LINENO"; then :
25467   libgfor_cv_posix_getpwuid_r="yes"
25468 else
25469   libgfor_cv_posix_getpwuid_r="no"
25470 fi
25471 rm -f core conftest.err conftest.$ac_objext \
25472     conftest$ac_exeext conftest.$ac_ext
25473 fi
25474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
25475 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
25476 fi
25477 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
25478
25479 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
25480
25481 fi
25482
25483
25484 # Check out attribute support.
25485
25486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
25487 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
25488 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
25489   $as_echo_n "(cached) " >&6
25490 else
25491
25492   save_CFLAGS="$CFLAGS"
25493   CFLAGS="$CFLAGS -Werror"
25494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25495 /* end confdefs.h.  */
25496 void __attribute__((visibility("hidden"))) foo(void) { }
25497 int
25498 main ()
25499 {
25500
25501   ;
25502   return 0;
25503 }
25504 _ACEOF
25505 if ac_fn_c_try_compile "$LINENO"; then :
25506   libgfor_cv_have_attribute_visibility=yes
25507 else
25508   libgfor_cv_have_attribute_visibility=no
25509 fi
25510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25511   CFLAGS="$save_CFLAGS"
25512 fi
25513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
25514 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
25515   if test $libgfor_cv_have_attribute_visibility = yes; then
25516
25517 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
25518
25519   fi
25520
25521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
25522 $as_echo_n "checking whether the target supports dllexport... " >&6; }
25523 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
25524   $as_echo_n "(cached) " >&6
25525 else
25526
25527   save_CFLAGS="$CFLAGS"
25528   CFLAGS="$CFLAGS -Werror"
25529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25530 /* end confdefs.h.  */
25531 void __attribute__((dllexport)) foo(void) { }
25532 int
25533 main ()
25534 {
25535
25536   ;
25537   return 0;
25538 }
25539 _ACEOF
25540 if ac_fn_c_try_compile "$LINENO"; then :
25541   libgfor_cv_have_attribute_dllexport=yes
25542 else
25543   libgfor_cv_have_attribute_dllexport=no
25544 fi
25545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25546   CFLAGS="$save_CFLAGS"
25547 fi
25548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
25549 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
25550   if test $libgfor_cv_have_attribute_dllexport = yes; then
25551
25552 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
25553
25554   fi
25555
25556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
25557 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
25558 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
25559   $as_echo_n "(cached) " >&6
25560 else
25561
25562   if test x$gcc_no_link = xyes; then
25563   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25564 fi
25565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25566 /* end confdefs.h.  */
25567
25568 void foo(void) { }
25569 extern void bar(void) __attribute__((alias("foo")));
25570 int
25571 main ()
25572 {
25573 bar();
25574   ;
25575   return 0;
25576 }
25577 _ACEOF
25578 if ac_fn_c_try_link "$LINENO"; then :
25579   libgfor_cv_have_attribute_alias=yes
25580 else
25581   libgfor_cv_have_attribute_alias=no
25582 fi
25583 rm -f core conftest.err conftest.$ac_objext \
25584     conftest$ac_exeext conftest.$ac_ext
25585 fi
25586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
25587 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
25588   if test $libgfor_cv_have_attribute_alias = yes; then
25589
25590 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
25591
25592   fi
25593
25594 # Check out sync builtins support.
25595
25596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
25597 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
25598 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
25599   $as_echo_n "(cached) " >&6
25600 else
25601
25602   if test x$gcc_no_link = xyes; then
25603   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25604 fi
25605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25606 /* end confdefs.h.  */
25607 int foovar = 0;
25608 int
25609 main ()
25610 {
25611
25612 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
25613 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
25614   ;
25615   return 0;
25616 }
25617 _ACEOF
25618 if ac_fn_c_try_link "$LINENO"; then :
25619   libgfor_cv_have_sync_fetch_and_add=yes
25620 else
25621   libgfor_cv_have_sync_fetch_and_add=no
25622 fi
25623 rm -f core conftest.err conftest.$ac_objext \
25624     conftest$ac_exeext conftest.$ac_ext
25625 fi
25626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
25627 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
25628   if test $libgfor_cv_have_sync_fetch_and_add = yes; then
25629
25630 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
25631
25632   fi
25633
25634 # Check out thread support.
25635
25636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured target thread model" >&5
25637 $as_echo_n "checking configured target thread model... " >&6; }
25638 if test "${libgfor_cv_target_thread_file+set}" = set; then :
25639   $as_echo_n "(cached) " >&6
25640 else
25641
25642 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
25643 fi
25644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_target_thread_file" >&5
25645 $as_echo "$libgfor_cv_target_thread_file" >&6; }
25646
25647   if test $libgfor_cv_target_thread_file != single; then
25648
25649 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
25650
25651   fi
25652
25653 # Check out #pragma weak.
25654
25655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
25656 $as_echo_n "checking whether pragma weak works... " >&6; }
25657 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
25658   $as_echo_n "(cached) " >&6
25659 else
25660
25661   gfor_save_CFLAGS="$CFLAGS"
25662   CFLAGS="$CFLAGS -Wunknown-pragmas"
25663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25664 /* end confdefs.h.  */
25665 void foo (void);
25666 #pragma weak foo
25667 int
25668 main ()
25669 {
25670 if (foo) foo ();
25671   ;
25672   return 0;
25673 }
25674 _ACEOF
25675 if ac_fn_c_try_compile "$LINENO"; then :
25676   libgfor_cv_have_pragma_weak=yes
25677 else
25678   libgfor_cv_have_pragma_weak=no
25679 fi
25680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25681 fi
25682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
25683 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
25684   if test $libgfor_cv_have_pragma_weak = yes; then
25685
25686 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
25687
25688   fi
25689   case "$host" in
25690     *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
25691
25692 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
25693
25694       ;;
25695   esac
25696
25697 # Various other checks on target
25698
25699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
25700 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
25701 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
25702   $as_echo_n "(cached) " >&6
25703 else
25704
25705   if test "$cross_compiling" = yes; then :
25706
25707 case "${target}" in
25708   *mingw*) libgfor_cv_have_unlink_open_file=no ;;
25709   *) libgfor_cv_have_unlink_open_file=yes;;
25710 esac
25711 else
25712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25713 /* end confdefs.h.  */
25714
25715 #include <errno.h>
25716 #include <fcntl.h>
25717 #include <unistd.h>
25718 #include <sys/stat.h>
25719
25720 int main ()
25721 {
25722   int fd;
25723
25724   fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
25725   if (fd <= 0)
25726     return 0;
25727   if (unlink ("testfile") == -1)
25728     return 1;
25729   write (fd, "This is a test\n", 15);
25730   close (fd);
25731
25732   if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
25733     return 0;
25734   else
25735     return 1;
25736 }
25737 _ACEOF
25738 if ac_fn_c_try_run "$LINENO"; then :
25739   libgfor_cv_have_unlink_open_file=yes
25740 else
25741   libgfor_cv_have_unlink_open_file=no
25742 fi
25743 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25744   conftest.$ac_objext conftest.beam conftest.$ac_ext
25745 fi
25746
25747 fi
25748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
25749 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
25750 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
25751
25752 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
25753
25754 fi
25755
25756 # Check whether line terminator is LF or CRLF
25757
25758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
25759 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
25760 if test "${libgfor_cv_have_crlf+set}" = set; then :
25761   $as_echo_n "(cached) " >&6
25762 else
25763
25764   if test "$cross_compiling" = yes; then :
25765
25766 case "${target}" in
25767   *mingw*) libgfor_cv_have_crlf=yes ;;
25768   *) libgfor_cv_have_crlf=no;;
25769 esac
25770 else
25771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25772 /* end confdefs.h.  */
25773
25774 /* This test program should exit with status 0 if system uses a CRLF as
25775    line terminator, and status 1 otherwise.
25776    Since it is used to check for mingw systems, and should return 0 in any
25777    other case, in case of a failure we will not use CRLF.  */
25778 #include <sys/stat.h>
25779 #include <stdlib.h>
25780 #include <fcntl.h>
25781 #include <stdio.h>
25782
25783 int main ()
25784 {
25785 #ifndef O_BINARY
25786   exit(1);
25787 #else
25788   int fd, bytes;
25789   char buff[5];
25790
25791   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
25792   if (fd < 0)
25793     exit(1);
25794   if (write (fd, "\n", 1) < 0)
25795     perror ("write");
25796
25797   close (fd);
25798
25799   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
25800     exit(1);
25801   bytes = read (fd, buff, 5);
25802   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
25803     exit(0);
25804   else
25805     exit(1);
25806 #endif
25807 }
25808 _ACEOF
25809 if ac_fn_c_try_run "$LINENO"; then :
25810   libgfor_cv_have_crlf=yes
25811 else
25812   libgfor_cv_have_crlf=no
25813 fi
25814 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25815   conftest.$ac_objext conftest.beam conftest.$ac_ext
25816 fi
25817
25818 fi
25819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
25820 $as_echo "$libgfor_cv_have_crlf" >&6; }
25821 if test x"$libgfor_cv_have_crlf" = xyes; then
25822
25823 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
25824
25825 fi
25826
25827 cat >confcache <<\_ACEOF
25828 # This file is a shell script that caches the results of configure
25829 # tests run on this system so they can be shared between configure
25830 # scripts and configure runs, see configure's option --config-cache.
25831 # It is not useful on other systems.  If it contains results you don't
25832 # want to keep, you may remove or edit it.
25833 #
25834 # config.status only pays attention to the cache file if you give it
25835 # the --recheck option to rerun configure.
25836 #
25837 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25838 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25839 # following values.
25840
25841 _ACEOF
25842
25843 # The following way of writing the cache mishandles newlines in values,
25844 # but we know of no workaround that is simple, portable, and efficient.
25845 # So, we kill variables containing newlines.
25846 # Ultrix sh set writes to stderr and can't be redirected directly,
25847 # and sets the high bit in the cache file unless we assign to the vars.
25848 (
25849   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25850     eval ac_val=\$$ac_var
25851     case $ac_val in #(
25852     *${as_nl}*)
25853       case $ac_var in #(
25854       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25855 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25856       esac
25857       case $ac_var in #(
25858       _ | IFS | as_nl) ;; #(
25859       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25860       *) { eval $ac_var=; unset $ac_var;} ;;
25861       esac ;;
25862     esac
25863   done
25864
25865   (set) 2>&1 |
25866     case $as_nl`(ac_space=' '; set) 2>&1` in #(
25867     *${as_nl}ac_space=\ *)
25868       # `set' does not quote correctly, so add quotes: double-quote
25869       # substitution turns \\\\ into \\, and sed turns \\ into \.
25870       sed -n \
25871         "s/'/'\\\\''/g;
25872           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25873       ;; #(
25874     *)
25875       # `set' quotes correctly as required by POSIX, so do not add quotes.
25876       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25877       ;;
25878     esac |
25879     sort
25880 ) |
25881   sed '
25882      /^ac_cv_env_/b end
25883      t clear
25884      :clear
25885      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25886      t end
25887      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25888      :end' >>confcache
25889 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25890   if test -w "$cache_file"; then
25891     test "x$cache_file" != "x/dev/null" &&
25892       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25893 $as_echo "$as_me: updating cache $cache_file" >&6;}
25894     cat confcache >$cache_file
25895   else
25896     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25897 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25898   fi
25899 fi
25900 rm -f confcache
25901
25902 if test ${multilib} = yes; then
25903   multilib_arg="--enable-multilib"
25904 else
25905   multilib_arg=
25906 fi
25907
25908 # Write our Makefile and spec file.
25909 ac_config_files="$ac_config_files Makefile libgfortran.spec"
25910
25911 cat >confcache <<\_ACEOF
25912 # This file is a shell script that caches the results of configure
25913 # tests run on this system so they can be shared between configure
25914 # scripts and configure runs, see configure's option --config-cache.
25915 # It is not useful on other systems.  If it contains results you don't
25916 # want to keep, you may remove or edit it.
25917 #
25918 # config.status only pays attention to the cache file if you give it
25919 # the --recheck option to rerun configure.
25920 #
25921 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25922 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25923 # following values.
25924
25925 _ACEOF
25926
25927 # The following way of writing the cache mishandles newlines in values,
25928 # but we know of no workaround that is simple, portable, and efficient.
25929 # So, we kill variables containing newlines.
25930 # Ultrix sh set writes to stderr and can't be redirected directly,
25931 # and sets the high bit in the cache file unless we assign to the vars.
25932 (
25933   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25934     eval ac_val=\$$ac_var
25935     case $ac_val in #(
25936     *${as_nl}*)
25937       case $ac_var in #(
25938       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25939 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25940       esac
25941       case $ac_var in #(
25942       _ | IFS | as_nl) ;; #(
25943       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25944       *) { eval $ac_var=; unset $ac_var;} ;;
25945       esac ;;
25946     esac
25947   done
25948
25949   (set) 2>&1 |
25950     case $as_nl`(ac_space=' '; set) 2>&1` in #(
25951     *${as_nl}ac_space=\ *)
25952       # `set' does not quote correctly, so add quotes: double-quote
25953       # substitution turns \\\\ into \\, and sed turns \\ into \.
25954       sed -n \
25955         "s/'/'\\\\''/g;
25956           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25957       ;; #(
25958     *)
25959       # `set' quotes correctly as required by POSIX, so do not add quotes.
25960       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25961       ;;
25962     esac |
25963     sort
25964 ) |
25965   sed '
25966      /^ac_cv_env_/b end
25967      t clear
25968      :clear
25969      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25970      t end
25971      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25972      :end' >>confcache
25973 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25974   if test -w "$cache_file"; then
25975     test "x$cache_file" != "x/dev/null" &&
25976       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25977 $as_echo "$as_me: updating cache $cache_file" >&6;}
25978     cat confcache >$cache_file
25979   else
25980     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25981 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25982   fi
25983 fi
25984 rm -f confcache
25985
25986 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25987 # Let make expand exec_prefix.
25988 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25989
25990 DEFS=-DHAVE_CONFIG_H
25991
25992 ac_libobjs=
25993 ac_ltlibobjs=
25994 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25995   # 1. Remove the extension, and $U if already installed.
25996   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25997   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25998   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
25999   #    will be set to the directory where LIBOBJS objects are built.
26000   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26001   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26002 done
26003 LIBOBJS=$ac_libobjs
26004
26005 LTLIBOBJS=$ac_ltlibobjs
26006
26007
26008 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26009   as_fn_error "conditional \"onestep\" was never defined.
26010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26011 fi
26012  if test -n "$EXEEXT"; then
26013   am__EXEEXT_TRUE=
26014   am__EXEEXT_FALSE='#'
26015 else
26016   am__EXEEXT_TRUE='#'
26017   am__EXEEXT_FALSE=
26018 fi
26019
26020 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26021   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
26022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26023 fi
26024 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26025   as_fn_error "conditional \"AMDEP\" was never defined.
26026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26027 fi
26028 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26029   as_fn_error "conditional \"am__fastdepCC\" was never defined.
26030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26031 fi
26032 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26033   as_fn_error "conditional \"am__fastdepCC\" was never defined.
26034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26035 fi
26036 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26037   as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26039 fi
26040 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26041   as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26043 fi
26044 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26045   as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26047 fi
26048 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26049   as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26051 fi
26052
26053 : ${CONFIG_STATUS=./config.status}
26054 ac_write_fail=0
26055 ac_clean_files_save=$ac_clean_files
26056 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26057 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26058 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26059 as_write_fail=0
26060 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26061 #! $SHELL
26062 # Generated by $as_me.
26063 # Run this file to recreate the current configuration.
26064 # Compiler output produced by configure, useful for debugging
26065 # configure, is in config.log if it exists.
26066
26067 debug=false
26068 ac_cs_recheck=false
26069 ac_cs_silent=false
26070
26071 SHELL=\${CONFIG_SHELL-$SHELL}
26072 export SHELL
26073 _ASEOF
26074 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
26075 ## -------------------- ##
26076 ## M4sh Initialization. ##
26077 ## -------------------- ##
26078
26079 # Be more Bourne compatible
26080 DUALCASE=1; export DUALCASE # for MKS sh
26081 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26082   emulate sh
26083   NULLCMD=:
26084   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26085   # is contrary to our usage.  Disable this feature.
26086   alias -g '${1+"$@"}'='"$@"'
26087   setopt NO_GLOB_SUBST
26088 else
26089   case `(set -o) 2>/dev/null` in #(
26090   *posix*) :
26091     set -o posix ;; #(
26092   *) :
26093      ;;
26094 esac
26095 fi
26096
26097
26098 as_nl='
26099 '
26100 export as_nl
26101 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26102 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26103 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26104 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26105 # Prefer a ksh shell builtin over an external printf program on Solaris,
26106 # but without wasting forks for bash or zsh.
26107 if test -z "$BASH_VERSION$ZSH_VERSION" \
26108     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26109   as_echo='print -r --'
26110   as_echo_n='print -rn --'
26111 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26112   as_echo='printf %s\n'
26113   as_echo_n='printf %s'
26114 else
26115   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26116     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26117     as_echo_n='/usr/ucb/echo -n'
26118   else
26119     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26120     as_echo_n_body='eval
26121       arg=$1;
26122       case $arg in #(
26123       *"$as_nl"*)
26124         expr "X$arg" : "X\\(.*\\)$as_nl";
26125         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26126       esac;
26127       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26128     '
26129     export as_echo_n_body
26130     as_echo_n='sh -c $as_echo_n_body as_echo'
26131   fi
26132   export as_echo_body
26133   as_echo='sh -c $as_echo_body as_echo'
26134 fi
26135
26136 # The user is always right.
26137 if test "${PATH_SEPARATOR+set}" != set; then
26138   PATH_SEPARATOR=:
26139   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26140     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26141       PATH_SEPARATOR=';'
26142   }
26143 fi
26144
26145
26146 # IFS
26147 # We need space, tab and new line, in precisely that order.  Quoting is
26148 # there to prevent editors from complaining about space-tab.
26149 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26150 # splitting by setting IFS to empty value.)
26151 IFS=" ""        $as_nl"
26152
26153 # Find who we are.  Look in the path if we contain no directory separator.
26154 case $0 in #((
26155   *[\\/]* ) as_myself=$0 ;;
26156   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26157 for as_dir in $PATH
26158 do
26159   IFS=$as_save_IFS
26160   test -z "$as_dir" && as_dir=.
26161     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26162   done
26163 IFS=$as_save_IFS
26164
26165      ;;
26166 esac
26167 # We did not find ourselves, most probably we were run as `sh COMMAND'
26168 # in which case we are not to be found in the path.
26169 if test "x$as_myself" = x; then
26170   as_myself=$0
26171 fi
26172 if test ! -f "$as_myself"; then
26173   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26174   exit 1
26175 fi
26176
26177 # Unset variables that we do not need and which cause bugs (e.g. in
26178 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
26179 # suppresses any "Segmentation fault" message there.  '((' could
26180 # trigger a bug in pdksh 5.2.14.
26181 for as_var in BASH_ENV ENV MAIL MAILPATH
26182 do eval test x\${$as_var+set} = xset \
26183   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26184 done
26185 PS1='$ '
26186 PS2='> '
26187 PS4='+ '
26188
26189 # NLS nuisances.
26190 LC_ALL=C
26191 export LC_ALL
26192 LANGUAGE=C
26193 export LANGUAGE
26194
26195 # CDPATH.
26196 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26197
26198
26199 # as_fn_error ERROR [LINENO LOG_FD]
26200 # ---------------------------------
26201 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26202 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26203 # script with status $?, using 1 if that was 0.
26204 as_fn_error ()
26205 {
26206   as_status=$?; test $as_status -eq 0 && as_status=1
26207   if test "$3"; then
26208     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26209     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26210   fi
26211   $as_echo "$as_me: error: $1" >&2
26212   as_fn_exit $as_status
26213 } # as_fn_error
26214
26215
26216 # as_fn_set_status STATUS
26217 # -----------------------
26218 # Set $? to STATUS, without forking.
26219 as_fn_set_status ()
26220 {
26221   return $1
26222 } # as_fn_set_status
26223
26224 # as_fn_exit STATUS
26225 # -----------------
26226 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26227 as_fn_exit ()
26228 {
26229   set +e
26230   as_fn_set_status $1
26231   exit $1
26232 } # as_fn_exit
26233
26234 # as_fn_unset VAR
26235 # ---------------
26236 # Portably unset VAR.
26237 as_fn_unset ()
26238 {
26239   { eval $1=; unset $1;}
26240 }
26241 as_unset=as_fn_unset
26242 # as_fn_append VAR VALUE
26243 # ----------------------
26244 # Append the text in VALUE to the end of the definition contained in VAR. Take
26245 # advantage of any shell optimizations that allow amortized linear growth over
26246 # repeated appends, instead of the typical quadratic growth present in naive
26247 # implementations.
26248 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26249   eval 'as_fn_append ()
26250   {
26251     eval $1+=\$2
26252   }'
26253 else
26254   as_fn_append ()
26255   {
26256     eval $1=\$$1\$2
26257   }
26258 fi # as_fn_append
26259
26260 # as_fn_arith ARG...
26261 # ------------------
26262 # Perform arithmetic evaluation on the ARGs, and store the result in the
26263 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26264 # must be portable across $(()) and expr.
26265 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26266   eval 'as_fn_arith ()
26267   {
26268     as_val=$(( $* ))
26269   }'
26270 else
26271   as_fn_arith ()
26272   {
26273     as_val=`expr "$@" || test $? -eq 1`
26274   }
26275 fi # as_fn_arith
26276
26277
26278 if expr a : '\(a\)' >/dev/null 2>&1 &&
26279    test "X`expr 00001 : '.*\(...\)'`" = X001; then
26280   as_expr=expr
26281 else
26282   as_expr=false
26283 fi
26284
26285 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26286   as_basename=basename
26287 else
26288   as_basename=false
26289 fi
26290
26291 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26292   as_dirname=dirname
26293 else
26294   as_dirname=false
26295 fi
26296
26297 as_me=`$as_basename -- "$0" ||
26298 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26299          X"$0" : 'X\(//\)$' \| \
26300          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26301 $as_echo X/"$0" |
26302     sed '/^.*\/\([^/][^/]*\)\/*$/{
26303             s//\1/
26304             q
26305           }
26306           /^X\/\(\/\/\)$/{
26307             s//\1/
26308             q
26309           }
26310           /^X\/\(\/\).*/{
26311             s//\1/
26312             q
26313           }
26314           s/.*/./; q'`
26315
26316 # Avoid depending upon Character Ranges.
26317 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26318 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26319 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26320 as_cr_digits='0123456789'
26321 as_cr_alnum=$as_cr_Letters$as_cr_digits
26322
26323 ECHO_C= ECHO_N= ECHO_T=
26324 case `echo -n x` in #(((((
26325 -n*)
26326   case `echo 'xy\c'` in
26327   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
26328   xy)  ECHO_C='\c';;
26329   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
26330        ECHO_T=' ';;
26331   esac;;
26332 *)
26333   ECHO_N='-n';;
26334 esac
26335
26336 rm -f conf$$ conf$$.exe conf$$.file
26337 if test -d conf$$.dir; then
26338   rm -f conf$$.dir/conf$$.file
26339 else
26340   rm -f conf$$.dir
26341   mkdir conf$$.dir 2>/dev/null
26342 fi
26343 if (echo >conf$$.file) 2>/dev/null; then
26344   if ln -s conf$$.file conf$$ 2>/dev/null; then
26345     as_ln_s='ln -s'
26346     # ... but there are two gotchas:
26347     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26348     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26349     # In both cases, we have to default to `cp -p'.
26350     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26351       as_ln_s='cp -p'
26352   elif ln conf$$.file conf$$ 2>/dev/null; then
26353     as_ln_s=ln
26354   else
26355     as_ln_s='cp -p'
26356   fi
26357 else
26358   as_ln_s='cp -p'
26359 fi
26360 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26361 rmdir conf$$.dir 2>/dev/null
26362
26363
26364 # as_fn_mkdir_p
26365 # -------------
26366 # Create "$as_dir" as a directory, including parents if necessary.
26367 as_fn_mkdir_p ()
26368 {
26369
26370   case $as_dir in #(
26371   -*) as_dir=./$as_dir;;
26372   esac
26373   test -d "$as_dir" || eval $as_mkdir_p || {
26374     as_dirs=
26375     while :; do
26376       case $as_dir in #(
26377       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26378       *) as_qdir=$as_dir;;
26379       esac
26380       as_dirs="'$as_qdir' $as_dirs"
26381       as_dir=`$as_dirname -- "$as_dir" ||
26382 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26383          X"$as_dir" : 'X\(//\)[^/]' \| \
26384          X"$as_dir" : 'X\(//\)$' \| \
26385          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26386 $as_echo X"$as_dir" |
26387     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26388             s//\1/
26389             q
26390           }
26391           /^X\(\/\/\)[^/].*/{
26392             s//\1/
26393             q
26394           }
26395           /^X\(\/\/\)$/{
26396             s//\1/
26397             q
26398           }
26399           /^X\(\/\).*/{
26400             s//\1/
26401             q
26402           }
26403           s/.*/./; q'`
26404       test -d "$as_dir" && break
26405     done
26406     test -z "$as_dirs" || eval "mkdir $as_dirs"
26407   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
26408
26409
26410 } # as_fn_mkdir_p
26411 if mkdir -p . 2>/dev/null; then
26412   as_mkdir_p='mkdir -p "$as_dir"'
26413 else
26414   test -d ./-p && rmdir ./-p
26415   as_mkdir_p=false
26416 fi
26417
26418 if test -x / >/dev/null 2>&1; then
26419   as_test_x='test -x'
26420 else
26421   if ls -dL / >/dev/null 2>&1; then
26422     as_ls_L_option=L
26423   else
26424     as_ls_L_option=
26425   fi
26426   as_test_x='
26427     eval sh -c '\''
26428       if test -d "$1"; then
26429         test -d "$1/.";
26430       else
26431         case $1 in #(
26432         -*)set "./$1";;
26433         esac;
26434         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
26435         ???[sx]*):;;*)false;;esac;fi
26436     '\'' sh
26437   '
26438 fi
26439 as_executable_p=$as_test_x
26440
26441 # Sed expression to map a string onto a valid CPP name.
26442 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26443
26444 # Sed expression to map a string onto a valid variable name.
26445 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26446
26447
26448 exec 6>&1
26449 ## ----------------------------------- ##
26450 ## Main body of $CONFIG_STATUS script. ##
26451 ## ----------------------------------- ##
26452 _ASEOF
26453 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26454
26455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26456 # Save the log message, to keep $0 and so on meaningful, and to
26457 # report actual input values of CONFIG_FILES etc. instead of their
26458 # values after options handling.
26459 ac_log="
26460 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
26461 generated by GNU Autoconf 2.64.  Invocation command line was
26462
26463   CONFIG_FILES    = $CONFIG_FILES
26464   CONFIG_HEADERS  = $CONFIG_HEADERS
26465   CONFIG_LINKS    = $CONFIG_LINKS
26466   CONFIG_COMMANDS = $CONFIG_COMMANDS
26467   $ $0 $@
26468
26469 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26470 "
26471
26472 _ACEOF
26473
26474 case $ac_config_files in *"
26475 "*) set x $ac_config_files; shift; ac_config_files=$*;;
26476 esac
26477
26478 case $ac_config_headers in *"
26479 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
26480 esac
26481
26482
26483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26484 # Files that config.status was made for.
26485 config_files="$ac_config_files"
26486 config_headers="$ac_config_headers"
26487 config_commands="$ac_config_commands"
26488
26489 _ACEOF
26490
26491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26492 ac_cs_usage="\
26493 \`$as_me' instantiates files and other configuration actions
26494 from templates according to the current configuration.  Unless the files
26495 and actions are specified as TAGs, all are instantiated by default.
26496
26497 Usage: $0 [OPTION]... [TAG]...
26498
26499   -h, --help       print this help, then exit
26500   -V, --version    print version number and configuration settings, then exit
26501   -q, --quiet, --silent
26502                    do not print progress messages
26503   -d, --debug      don't remove temporary files
26504       --recheck    update $as_me by reconfiguring in the same conditions
26505       --file=FILE[:TEMPLATE]
26506                    instantiate the configuration file FILE
26507       --header=FILE[:TEMPLATE]
26508                    instantiate the configuration header FILE
26509
26510 Configuration files:
26511 $config_files
26512
26513 Configuration headers:
26514 $config_headers
26515
26516 Configuration commands:
26517 $config_commands
26518
26519 Report bugs to the package provider.
26520 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
26521 General help using GNU software: <http://www.gnu.org/gethelp/>."
26522
26523 _ACEOF
26524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26525 ac_cs_version="\\
26526 GNU Fortran Runtime Library config.status 0.3
26527 configured by $0, generated by GNU Autoconf 2.64,
26528   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26529
26530 Copyright (C) 2009 Free Software Foundation, Inc.
26531 This config.status script is free software; the Free Software Foundation
26532 gives unlimited permission to copy, distribute and modify it."
26533
26534 ac_pwd='$ac_pwd'
26535 srcdir='$srcdir'
26536 INSTALL='$INSTALL'
26537 MKDIR_P='$MKDIR_P'
26538 AWK='$AWK'
26539 test -n "\$AWK" || AWK=awk
26540 _ACEOF
26541
26542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26543 # The default lists apply if the user does not specify any file.
26544 ac_need_defaults=:
26545 while test $# != 0
26546 do
26547   case $1 in
26548   --*=*)
26549     ac_option=`expr "X$1" : 'X\([^=]*\)='`
26550     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26551     ac_shift=:
26552     ;;
26553   *)
26554     ac_option=$1
26555     ac_optarg=$2
26556     ac_shift=shift
26557     ;;
26558   esac
26559
26560   case $ac_option in
26561   # Handling of the options.
26562   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26563     ac_cs_recheck=: ;;
26564   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26565     $as_echo "$ac_cs_version"; exit ;;
26566   --debug | --debu | --deb | --de | --d | -d )
26567     debug=: ;;
26568   --file | --fil | --fi | --f )
26569     $ac_shift
26570     case $ac_optarg in
26571     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26572     esac
26573     as_fn_append CONFIG_FILES " '$ac_optarg'"
26574     ac_need_defaults=false;;
26575   --header | --heade | --head | --hea )
26576     $ac_shift
26577     case $ac_optarg in
26578     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26579     esac
26580     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
26581     ac_need_defaults=false;;
26582   --he | --h)
26583     # Conflict between --help and --header
26584     as_fn_error "ambiguous option: \`$1'
26585 Try \`$0 --help' for more information.";;
26586   --help | --hel | -h )
26587     $as_echo "$ac_cs_usage"; exit ;;
26588   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26589   | -silent | --silent | --silen | --sile | --sil | --si | --s)
26590     ac_cs_silent=: ;;
26591
26592   # This is an error.
26593   -*) as_fn_error "unrecognized option: \`$1'
26594 Try \`$0 --help' for more information." ;;
26595
26596   *) as_fn_append ac_config_targets " $1"
26597      ac_need_defaults=false ;;
26598
26599   esac
26600   shift
26601 done
26602
26603 ac_configure_extra_args=
26604
26605 if $ac_cs_silent; then
26606   exec 6>/dev/null
26607   ac_configure_extra_args="$ac_configure_extra_args --silent"
26608 fi
26609
26610 _ACEOF
26611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26612 if \$ac_cs_recheck; then
26613   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26614   shift
26615   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26616   CONFIG_SHELL='$SHELL'
26617   export CONFIG_SHELL
26618   exec "\$@"
26619 fi
26620
26621 _ACEOF
26622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26623 exec 5>>config.log
26624 {
26625   echo
26626   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26627 ## Running $as_me. ##
26628 _ASBOX
26629   $as_echo "$ac_log"
26630 } >&5
26631
26632 _ACEOF
26633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26634 #
26635 # INIT-COMMANDS
26636 #
26637
26638 srcdir="$srcdir"
26639 host="$host"
26640 target="$target"
26641 with_multisubdir="$with_multisubdir"
26642 with_multisrctop="$with_multisrctop"
26643 with_target_subdir="$with_target_subdir"
26644 ac_configure_args="${multilib_arg} ${ac_configure_args}"
26645 multi_basedir="$multi_basedir"
26646 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
26647 CC="$CC"
26648 CXX="$CXX"
26649 GFORTRAN="$GFORTRAN"
26650 GCJ="$GCJ"
26651 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26652
26653
26654 # The HP-UX ksh and POSIX shell print the target directory to stdout
26655 # if CDPATH is set.
26656 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26657
26658 sed_quote_subst='$sed_quote_subst'
26659 double_quote_subst='$double_quote_subst'
26660 delay_variable_subst='$delay_variable_subst'
26661 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
26662 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
26663 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
26664 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
26665 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
26666 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
26667 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26668 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26669 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
26670 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
26671 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
26672 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
26673 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
26674 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
26675 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
26676 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
26677 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
26678 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
26679 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
26680 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
26681 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
26682 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
26683 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
26684 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
26685 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
26686 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
26687 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
26688 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
26689 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
26690 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
26691 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
26692 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
26693 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
26694 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
26695 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
26696 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
26697 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
26698 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26699 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26700 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
26701 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
26702 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
26703 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
26704 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
26705 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
26706 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
26707 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
26708 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
26709 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"`'
26710 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
26711 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
26712 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
26713 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
26714 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
26715 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
26716 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
26717 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
26718 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
26719 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
26720 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
26721 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
26722 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
26723 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
26724 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
26725 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26726 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
26727 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
26728 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
26729 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
26730 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
26731 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
26732 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26733 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
26734 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26735 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
26736 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26737 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
26738 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
26739 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
26740 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
26741 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
26742 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
26743 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
26744 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
26745 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
26746 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
26747 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
26748 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
26749 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
26750 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
26751 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
26752 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
26753 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
26754 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
26755 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
26756 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
26757 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
26758 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
26759 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
26760 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
26761 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
26762 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
26763 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
26764 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
26765 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
26766 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
26767 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
26768 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26769 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26770 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
26771 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
26772 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
26773 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
26774 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
26775 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
26776 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
26777 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
26778 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
26779 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
26780 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
26781 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
26782 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
26783 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
26784 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
26785 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
26786 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
26787 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
26788 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
26789 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
26790 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
26791 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
26792 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
26793 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
26794 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
26795 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
26796 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
26797 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
26798 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
26799 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
26800 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
26801 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
26802 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
26803 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
26804 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
26805 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
26806 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
26807 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
26808 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
26809 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
26810 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
26811 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
26812 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
26813 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
26814 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
26815 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
26816 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
26817 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
26818 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
26819 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
26820 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
26821 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
26822 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
26823 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
26824 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
26825 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
26826 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
26827 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
26828 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
26829 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
26830 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
26831 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
26832 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
26833 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
26834 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
26835 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
26836
26837 LTCC='$LTCC'
26838 LTCFLAGS='$LTCFLAGS'
26839 compiler='$compiler_DEFAULT'
26840
26841 # A function that is used when there is no print builtin or printf.
26842 func_fallback_echo ()
26843 {
26844   eval 'cat <<_LTECHO_EOF
26845 \$1
26846 _LTECHO_EOF'
26847 }
26848
26849 # Quote evaled strings.
26850 for var in SHELL \
26851 ECHO \
26852 SED \
26853 GREP \
26854 EGREP \
26855 FGREP \
26856 LD \
26857 NM \
26858 LN_S \
26859 lt_SP2NL \
26860 lt_NL2SP \
26861 reload_flag \
26862 OBJDUMP \
26863 deplibs_check_method \
26864 file_magic_cmd \
26865 AR \
26866 AR_FLAGS \
26867 STRIP \
26868 RANLIB \
26869 CC \
26870 CFLAGS \
26871 compiler \
26872 lt_cv_sys_global_symbol_pipe \
26873 lt_cv_sys_global_symbol_to_cdecl \
26874 lt_cv_sys_global_symbol_to_c_name_address \
26875 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26876 lt_prog_compiler_no_builtin_flag \
26877 lt_prog_compiler_wl \
26878 lt_prog_compiler_pic \
26879 lt_prog_compiler_static \
26880 lt_cv_prog_compiler_c_o \
26881 need_locks \
26882 DSYMUTIL \
26883 NMEDIT \
26884 LIPO \
26885 OTOOL \
26886 OTOOL64 \
26887 shrext_cmds \
26888 export_dynamic_flag_spec \
26889 whole_archive_flag_spec \
26890 compiler_needs_object \
26891 with_gnu_ld \
26892 allow_undefined_flag \
26893 no_undefined_flag \
26894 hardcode_libdir_flag_spec \
26895 hardcode_libdir_flag_spec_ld \
26896 hardcode_libdir_separator \
26897 fix_srcfile_path \
26898 exclude_expsyms \
26899 include_expsyms \
26900 file_list_spec \
26901 variables_saved_for_relink \
26902 libname_spec \
26903 library_names_spec \
26904 soname_spec \
26905 install_override_mode \
26906 finish_eval \
26907 old_striplib \
26908 striplib \
26909 compiler_lib_search_dirs \
26910 predep_objects \
26911 postdep_objects \
26912 predeps \
26913 postdeps \
26914 compiler_lib_search_path \
26915 LD_FC \
26916 reload_flag_FC \
26917 compiler_FC \
26918 lt_prog_compiler_no_builtin_flag_FC \
26919 lt_prog_compiler_wl_FC \
26920 lt_prog_compiler_pic_FC \
26921 lt_prog_compiler_static_FC \
26922 lt_cv_prog_compiler_c_o_FC \
26923 export_dynamic_flag_spec_FC \
26924 whole_archive_flag_spec_FC \
26925 compiler_needs_object_FC \
26926 with_gnu_ld_FC \
26927 allow_undefined_flag_FC \
26928 no_undefined_flag_FC \
26929 hardcode_libdir_flag_spec_FC \
26930 hardcode_libdir_flag_spec_ld_FC \
26931 hardcode_libdir_separator_FC \
26932 fix_srcfile_path_FC \
26933 exclude_expsyms_FC \
26934 include_expsyms_FC \
26935 file_list_spec_FC \
26936 compiler_lib_search_dirs_FC \
26937 predep_objects_FC \
26938 postdep_objects_FC \
26939 predeps_FC \
26940 postdeps_FC \
26941 compiler_lib_search_path_FC; do
26942     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26943     *[\\\\\\\`\\"\\\$]*)
26944       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26945       ;;
26946     *)
26947       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26948       ;;
26949     esac
26950 done
26951
26952 # Double-quote double-evaled strings.
26953 for var in reload_cmds \
26954 old_postinstall_cmds \
26955 old_postuninstall_cmds \
26956 old_archive_cmds \
26957 extract_expsyms_cmds \
26958 old_archive_from_new_cmds \
26959 old_archive_from_expsyms_cmds \
26960 archive_cmds \
26961 archive_expsym_cmds \
26962 module_cmds \
26963 module_expsym_cmds \
26964 export_symbols_cmds \
26965 prelink_cmds \
26966 postinstall_cmds \
26967 postuninstall_cmds \
26968 finish_cmds \
26969 sys_lib_search_path_spec \
26970 sys_lib_dlsearch_path_spec \
26971 reload_cmds_FC \
26972 old_archive_cmds_FC \
26973 old_archive_from_new_cmds_FC \
26974 old_archive_from_expsyms_cmds_FC \
26975 archive_cmds_FC \
26976 archive_expsym_cmds_FC \
26977 module_cmds_FC \
26978 module_expsym_cmds_FC \
26979 export_symbols_cmds_FC \
26980 prelink_cmds_FC; do
26981     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26982     *[\\\\\\\`\\"\\\$]*)
26983       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26984       ;;
26985     *)
26986       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26987       ;;
26988     esac
26989 done
26990
26991 ac_aux_dir='$ac_aux_dir'
26992 xsi_shell='$xsi_shell'
26993 lt_shell_append='$lt_shell_append'
26994
26995 # See if we are running on zsh, and set the options which allow our
26996 # commands through without removal of \ escapes INIT.
26997 if test -n "\${ZSH_VERSION+set}" ; then
26998    setopt NO_GLOB_SUBST
26999 fi
27000
27001
27002     PACKAGE='$PACKAGE'
27003     VERSION='$VERSION'
27004     TIMESTAMP='$TIMESTAMP'
27005     RM='$RM'
27006     ofile='$ofile'
27007
27008
27009
27010
27011
27012
27013 GCC="$GCC"
27014 CC="$CC"
27015 acx_cv_header_stdint="$acx_cv_header_stdint"
27016 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27017 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27018 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27019 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27020 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27021 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27022 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27023 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27024 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27025 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27026 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27027 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27028 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27029
27030
27031 _ACEOF
27032
27033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27034
27035 # Handling of arguments.
27036 for ac_config_target in $ac_config_targets
27037 do
27038   case $ac_config_target in
27039     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
27040     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
27041     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27042     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27043     "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
27044     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27045     "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
27046
27047   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27048   esac
27049 done
27050
27051
27052 # If the user did not use the arguments to specify the items to instantiate,
27053 # then the envvar interface is used.  Set only those that are not.
27054 # We use the long form for the default assignment because of an extremely
27055 # bizarre bug on SunOS 4.1.3.
27056 if $ac_need_defaults; then
27057   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27058   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27059   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27060 fi
27061
27062 # Have a temporary directory for convenience.  Make it in the build tree
27063 # simply because there is no reason against having it here, and in addition,
27064 # creating and moving files from /tmp can sometimes cause problems.
27065 # Hook for its removal unless debugging.
27066 # Note that there is a small window in which the directory will not be cleaned:
27067 # after its creation but before its name has been assigned to `$tmp'.
27068 $debug ||
27069 {
27070   tmp=
27071   trap 'exit_status=$?
27072   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27073 ' 0
27074   trap 'as_fn_exit 1' 1 2 13 15
27075 }
27076 # Create a (secure) tmp directory for tmp files.
27077
27078 {
27079   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27080   test -n "$tmp" && test -d "$tmp"
27081 }  ||
27082 {
27083   tmp=./conf$$-$RANDOM
27084   (umask 077 && mkdir "$tmp")
27085 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
27086
27087 # Set up the scripts for CONFIG_FILES section.
27088 # No need to generate them if there are no CONFIG_FILES.
27089 # This happens for instance with `./config.status config.h'.
27090 if test -n "$CONFIG_FILES"; then
27091
27092
27093 ac_cr=`echo X | tr X '\015'`
27094 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27095 # But we know of no other shell where ac_cr would be empty at this
27096 # point, so we can use a bashism as a fallback.
27097 if test "x$ac_cr" = x; then
27098   eval ac_cr=\$\'\\r\'
27099 fi
27100 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27101 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27102   ac_cs_awk_cr='\r'
27103 else
27104   ac_cs_awk_cr=$ac_cr
27105 fi
27106
27107 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27108 _ACEOF
27109
27110
27111 {
27112   echo "cat >conf$$subs.awk <<_ACEOF" &&
27113   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27114   echo "_ACEOF"
27115 } >conf$$subs.sh ||
27116   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27117 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27118 ac_delim='%!_!# '
27119 for ac_last_try in false false false false false :; do
27120   . ./conf$$subs.sh ||
27121     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27122
27123   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27124   if test $ac_delim_n = $ac_delim_num; then
27125     break
27126   elif $ac_last_try; then
27127     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27128   else
27129     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27130   fi
27131 done
27132 rm -f conf$$subs.sh
27133
27134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27135 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
27136 _ACEOF
27137 sed -n '
27138 h
27139 s/^/S["/; s/!.*/"]=/
27140 p
27141 g
27142 s/^[^!]*!//
27143 :repl
27144 t repl
27145 s/'"$ac_delim"'$//
27146 t delim
27147 :nl
27148 h
27149 s/\(.\{148\}\).*/\1/
27150 t more1
27151 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27152 p
27153 n
27154 b repl
27155 :more1
27156 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27157 p
27158 g
27159 s/.\{148\}//
27160 t nl
27161 :delim
27162 h
27163 s/\(.\{148\}\).*/\1/
27164 t more2
27165 s/["\\]/\\&/g; s/^/"/; s/$/"/
27166 p
27167 b
27168 :more2
27169 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27170 p
27171 g
27172 s/.\{148\}//
27173 t delim
27174 ' <conf$$subs.awk | sed '
27175 /^[^""]/{
27176   N
27177   s/\n//
27178 }
27179 ' >>$CONFIG_STATUS || ac_write_fail=1
27180 rm -f conf$$subs.awk
27181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27182 _ACAWK
27183 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
27184   for (key in S) S_is_set[key] = 1
27185   FS = "\a"
27186
27187 }
27188 {
27189   line = $ 0
27190   nfields = split(line, field, "@")
27191   substed = 0
27192   len = length(field[1])
27193   for (i = 2; i < nfields; i++) {
27194     key = field[i]
27195     keylen = length(key)
27196     if (S_is_set[key]) {
27197       value = S[key]
27198       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27199       len += length(value) + length(field[++i])
27200       substed = 1
27201     } else
27202       len += 1 + keylen
27203   }
27204
27205   print line
27206 }
27207
27208 _ACAWK
27209 _ACEOF
27210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27211 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27212   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27213 else
27214   cat
27215 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
27216   || as_fn_error "could not setup config files machinery" "$LINENO" 5
27217 _ACEOF
27218
27219 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27220 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27221 # trailing colons and then remove the whole line if VPATH becomes empty
27222 # (actually we leave an empty line to preserve line numbers).
27223 if test "x$srcdir" = x.; then
27224   ac_vpsub='/^[  ]*VPATH[        ]*=/{
27225 s/:*\$(srcdir):*/:/
27226 s/:*\${srcdir}:*/:/
27227 s/:*@srcdir@:*/:/
27228 s/^\([^=]*=[     ]*\):*/\1/
27229 s/:*$//
27230 s/^[^=]*=[       ]*$//
27231 }'
27232 fi
27233
27234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27235 fi # test -n "$CONFIG_FILES"
27236
27237 # Set up the scripts for CONFIG_HEADERS section.
27238 # No need to generate them if there are no CONFIG_HEADERS.
27239 # This happens for instance with `./config.status Makefile'.
27240 if test -n "$CONFIG_HEADERS"; then
27241 cat >"$tmp/defines.awk" <<\_ACAWK ||
27242 BEGIN {
27243 _ACEOF
27244
27245 # Transform confdefs.h into an awk script `defines.awk', embedded as
27246 # here-document in config.status, that substitutes the proper values into
27247 # config.h.in to produce config.h.
27248
27249 # Create a delimiter string that does not exist in confdefs.h, to ease
27250 # handling of long lines.
27251 ac_delim='%!_!# '
27252 for ac_last_try in false false :; do
27253   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
27254   if test -z "$ac_t"; then
27255     break
27256   elif $ac_last_try; then
27257     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
27258   else
27259     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27260   fi
27261 done
27262
27263 # For the awk script, D is an array of macro values keyed by name,
27264 # likewise P contains macro parameters if any.  Preserve backslash
27265 # newline sequences.
27266
27267 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27268 sed -n '
27269 s/.\{148\}/&'"$ac_delim"'/g
27270 t rset
27271 :rset
27272 s/^[     ]*#[    ]*define[       ][      ]*/ /
27273 t def
27274 d
27275 :def
27276 s/\\$//
27277 t bsnl
27278 s/["\\]/\\&/g
27279 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
27280 D["\1"]=" \3"/p
27281 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
27282 d
27283 :bsnl
27284 s/["\\]/\\&/g
27285 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
27286 D["\1"]=" \3\\\\\\n"\\/p
27287 t cont
27288 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27289 t cont
27290 d
27291 :cont
27292 n
27293 s/.\{148\}/&'"$ac_delim"'/g
27294 t clear
27295 :clear
27296 s/\\$//
27297 t bsnlc
27298 s/["\\]/\\&/g; s/^/"/; s/$/"/p
27299 d
27300 :bsnlc
27301 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27302 b cont
27303 ' <confdefs.h | sed '
27304 s/'"$ac_delim"'/"\\\
27305 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27306
27307 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27308   for (key in D) D_is_set[key] = 1
27309   FS = "\a"
27310 }
27311 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27312   line = \$ 0
27313   split(line, arg, " ")
27314   if (arg[1] == "#") {
27315     defundef = arg[2]
27316     mac1 = arg[3]
27317   } else {
27318     defundef = substr(arg[1], 2)
27319     mac1 = arg[2]
27320   }
27321   split(mac1, mac2, "(") #)
27322   macro = mac2[1]
27323   prefix = substr(line, 1, index(line, defundef) - 1)
27324   if (D_is_set[macro]) {
27325     # Preserve the white space surrounding the "#".
27326     print prefix "define", macro P[macro] D[macro]
27327     next
27328   } else {
27329     # Replace #undef with comments.  This is necessary, for example,
27330     # in the case of _POSIX_SOURCE, which is predefined and required
27331     # on some systems where configure will not decide to define it.
27332     if (defundef == "undef") {
27333       print "/*", prefix defundef, macro, "*/"
27334       next
27335     }
27336   }
27337 }
27338 { print }
27339 _ACAWK
27340 _ACEOF
27341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27342   as_fn_error "could not setup config headers machinery" "$LINENO" 5
27343 fi # test -n "$CONFIG_HEADERS"
27344
27345
27346 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
27347 shift
27348 for ac_tag
27349 do
27350   case $ac_tag in
27351   :[FHLC]) ac_mode=$ac_tag; continue;;
27352   esac
27353   case $ac_mode$ac_tag in
27354   :[FHL]*:*);;
27355   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
27356   :[FH]-) ac_tag=-:-;;
27357   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27358   esac
27359   ac_save_IFS=$IFS
27360   IFS=:
27361   set x $ac_tag
27362   IFS=$ac_save_IFS
27363   shift
27364   ac_file=$1
27365   shift
27366
27367   case $ac_mode in
27368   :L) ac_source=$1;;
27369   :[FH])
27370     ac_file_inputs=
27371     for ac_f
27372     do
27373       case $ac_f in
27374       -) ac_f="$tmp/stdin";;
27375       *) # Look for the file first in the build tree, then in the source tree
27376          # (if the path is not absolute).  The absolute path cannot be DOS-style,
27377          # because $ac_f cannot contain `:'.
27378          test -f "$ac_f" ||
27379            case $ac_f in
27380            [\\/$]*) false;;
27381            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27382            esac ||
27383            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27384       esac
27385       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27386       as_fn_append ac_file_inputs " '$ac_f'"
27387     done
27388
27389     # Let's still pretend it is `configure' which instantiates (i.e., don't
27390     # use $as_me), people would be surprised to read:
27391     #    /* config.h.  Generated by config.status.  */
27392     configure_input='Generated from '`
27393           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27394         `' by configure.'
27395     if test x"$ac_file" != x-; then
27396       configure_input="$ac_file.  $configure_input"
27397       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27398 $as_echo "$as_me: creating $ac_file" >&6;}
27399     fi
27400     # Neutralize special characters interpreted by sed in replacement strings.
27401     case $configure_input in #(
27402     *\&* | *\|* | *\\* )
27403        ac_sed_conf_input=`$as_echo "$configure_input" |
27404        sed 's/[\\\\&|]/\\\\&/g'`;; #(
27405     *) ac_sed_conf_input=$configure_input;;
27406     esac
27407
27408     case $ac_tag in
27409     *:-:* | *:-) cat >"$tmp/stdin" \
27410       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
27411     esac
27412     ;;
27413   esac
27414
27415   ac_dir=`$as_dirname -- "$ac_file" ||
27416 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27417          X"$ac_file" : 'X\(//\)[^/]' \| \
27418          X"$ac_file" : 'X\(//\)$' \| \
27419          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27420 $as_echo X"$ac_file" |
27421     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27422             s//\1/
27423             q
27424           }
27425           /^X\(\/\/\)[^/].*/{
27426             s//\1/
27427             q
27428           }
27429           /^X\(\/\/\)$/{
27430             s//\1/
27431             q
27432           }
27433           /^X\(\/\).*/{
27434             s//\1/
27435             q
27436           }
27437           s/.*/./; q'`
27438   as_dir="$ac_dir"; as_fn_mkdir_p
27439   ac_builddir=.
27440
27441 case "$ac_dir" in
27442 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27443 *)
27444   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27445   # A ".." for each directory in $ac_dir_suffix.
27446   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27447   case $ac_top_builddir_sub in
27448   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27449   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27450   esac ;;
27451 esac
27452 ac_abs_top_builddir=$ac_pwd
27453 ac_abs_builddir=$ac_pwd$ac_dir_suffix
27454 # for backward compatibility:
27455 ac_top_builddir=$ac_top_build_prefix
27456
27457 case $srcdir in
27458   .)  # We are building in place.
27459     ac_srcdir=.
27460     ac_top_srcdir=$ac_top_builddir_sub
27461     ac_abs_top_srcdir=$ac_pwd ;;
27462   [\\/]* | ?:[\\/]* )  # Absolute name.
27463     ac_srcdir=$srcdir$ac_dir_suffix;
27464     ac_top_srcdir=$srcdir
27465     ac_abs_top_srcdir=$srcdir ;;
27466   *) # Relative name.
27467     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27468     ac_top_srcdir=$ac_top_build_prefix$srcdir
27469     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27470 esac
27471 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27472
27473
27474   case $ac_mode in
27475   :F)
27476   #
27477   # CONFIG_FILE
27478   #
27479
27480   case $INSTALL in
27481   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27482   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27483   esac
27484   ac_MKDIR_P=$MKDIR_P
27485   case $MKDIR_P in
27486   [\\/$]* | ?:[\\/]* ) ;;
27487   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
27488   esac
27489 _ACEOF
27490
27491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27492 # If the template does not know about datarootdir, expand it.
27493 # FIXME: This hack should be removed a few years after 2.60.
27494 ac_datarootdir_hack=; ac_datarootdir_seen=
27495 ac_sed_dataroot='
27496 /datarootdir/ {
27497   p
27498   q
27499 }
27500 /@datadir@/p
27501 /@docdir@/p
27502 /@infodir@/p
27503 /@localedir@/p
27504 /@mandir@/p'
27505 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27506 *datarootdir*) ac_datarootdir_seen=yes;;
27507 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27508   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27509 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27510 _ACEOF
27511 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27512   ac_datarootdir_hack='
27513   s&@datadir@&$datadir&g
27514   s&@docdir@&$docdir&g
27515   s&@infodir@&$infodir&g
27516   s&@localedir@&$localedir&g
27517   s&@mandir@&$mandir&g
27518   s&\\\${datarootdir}&$datarootdir&g' ;;
27519 esac
27520 _ACEOF
27521
27522 # Neutralize VPATH when `$srcdir' = `.'.
27523 # Shell code in configure.ac might set extrasub.
27524 # FIXME: do we really want to maintain this feature?
27525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27526 ac_sed_extra="$ac_vpsub
27527 $extrasub
27528 _ACEOF
27529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27530 :t
27531 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27532 s|@configure_input@|$ac_sed_conf_input|;t t
27533 s&@top_builddir@&$ac_top_builddir_sub&;t t
27534 s&@top_build_prefix@&$ac_top_build_prefix&;t t
27535 s&@srcdir@&$ac_srcdir&;t t
27536 s&@abs_srcdir@&$ac_abs_srcdir&;t t
27537 s&@top_srcdir@&$ac_top_srcdir&;t t
27538 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27539 s&@builddir@&$ac_builddir&;t t
27540 s&@abs_builddir@&$ac_abs_builddir&;t t
27541 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27542 s&@INSTALL@&$ac_INSTALL&;t t
27543 s&@MKDIR_P@&$ac_MKDIR_P&;t t
27544 $ac_datarootdir_hack
27545 "
27546 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
27547   || as_fn_error "could not create $ac_file" "$LINENO" 5
27548
27549 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27550   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27551   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27552   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27553 which seems to be undefined.  Please make sure it is defined." >&5
27554 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27555 which seems to be undefined.  Please make sure it is defined." >&2;}
27556
27557   rm -f "$tmp/stdin"
27558   case $ac_file in
27559   -) cat "$tmp/out" && rm -f "$tmp/out";;
27560   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
27561   esac \
27562   || as_fn_error "could not create $ac_file" "$LINENO" 5
27563  ;;
27564   :H)
27565   #
27566   # CONFIG_HEADER
27567   #
27568   if test x"$ac_file" != x-; then
27569     {
27570       $as_echo "/* $configure_input  */" \
27571       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
27572     } >"$tmp/config.h" \
27573       || as_fn_error "could not create $ac_file" "$LINENO" 5
27574     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
27575       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27576 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27577     else
27578       rm -f "$ac_file"
27579       mv "$tmp/config.h" "$ac_file" \
27580         || as_fn_error "could not create $ac_file" "$LINENO" 5
27581     fi
27582   else
27583     $as_echo "/* $configure_input  */" \
27584       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
27585       || as_fn_error "could not create -" "$LINENO" 5
27586   fi
27587 # Compute "$ac_file"'s index in $config_headers.
27588 _am_arg="$ac_file"
27589 _am_stamp_count=1
27590 for _am_header in $config_headers :; do
27591   case $_am_header in
27592     $_am_arg | $_am_arg:* )
27593       break ;;
27594     * )
27595       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27596   esac
27597 done
27598 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27599 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27600          X"$_am_arg" : 'X\(//\)[^/]' \| \
27601          X"$_am_arg" : 'X\(//\)$' \| \
27602          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27603 $as_echo X"$_am_arg" |
27604     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27605             s//\1/
27606             q
27607           }
27608           /^X\(\/\/\)[^/].*/{
27609             s//\1/
27610             q
27611           }
27612           /^X\(\/\/\)$/{
27613             s//\1/
27614             q
27615           }
27616           /^X\(\/\).*/{
27617             s//\1/
27618             q
27619           }
27620           s/.*/./; q'`/stamp-h$_am_stamp_count
27621  ;;
27622
27623   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27624 $as_echo "$as_me: executing $ac_file commands" >&6;}
27625  ;;
27626   esac
27627
27628
27629   case $ac_file$ac_mode in
27630     "default-1":C)
27631 # Only add multilib support code if we just rebuilt the top-level
27632 # Makefile.
27633 case " $CONFIG_FILES " in
27634  *" Makefile "*)
27635    ac_file=Makefile . ${multi_basedir}/config-ml.in
27636    ;;
27637 esac ;;
27638     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
27639   # Autoconf 2.62 quotes --file arguments for eval, but not when files
27640   # are listed without --file.  Let's play safe and only enable the eval
27641   # if we detect the quoting.
27642   case $CONFIG_FILES in
27643   *\'*) eval set x "$CONFIG_FILES" ;;
27644   *)   set x $CONFIG_FILES ;;
27645   esac
27646   shift
27647   for mf
27648   do
27649     # Strip MF so we end up with the name of the file.
27650     mf=`echo "$mf" | sed -e 's/:.*$//'`
27651     # Check whether this is an Automake generated Makefile or not.
27652     # We used to match only the files named `Makefile.in', but
27653     # some people rename them; so instead we look at the file content.
27654     # Grep'ing the first line is not enough: some people post-process
27655     # each Makefile.in and add a new line on top of each file to say so.
27656     # Grep'ing the whole file is not good either: AIX grep has a line
27657     # limit of 2048, but all sed's we know have understand at least 4000.
27658     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
27659       dirpart=`$as_dirname -- "$mf" ||
27660 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27661          X"$mf" : 'X\(//\)[^/]' \| \
27662          X"$mf" : 'X\(//\)$' \| \
27663          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27664 $as_echo X"$mf" |
27665     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27666             s//\1/
27667             q
27668           }
27669           /^X\(\/\/\)[^/].*/{
27670             s//\1/
27671             q
27672           }
27673           /^X\(\/\/\)$/{
27674             s//\1/
27675             q
27676           }
27677           /^X\(\/\).*/{
27678             s//\1/
27679             q
27680           }
27681           s/.*/./; q'`
27682     else
27683       continue
27684     fi
27685     # Extract the definition of DEPDIR, am__include, and am__quote
27686     # from the Makefile without running `make'.
27687     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27688     test -z "$DEPDIR" && continue
27689     am__include=`sed -n 's/^am__include = //p' < "$mf"`
27690     test -z "am__include" && continue
27691     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27692     # When using ansi2knr, U may be empty or an underscore; expand it
27693     U=`sed -n 's/^U = //p' < "$mf"`
27694     # Find all dependency output files, they are included files with
27695     # $(DEPDIR) in their names.  We invoke sed twice because it is the
27696     # simplest approach to changing $(DEPDIR) to its actual value in the
27697     # expansion.
27698     for file in `sed -n "
27699       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27700          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27701       # Make sure the directory exists.
27702       test -f "$dirpart/$file" && continue
27703       fdir=`$as_dirname -- "$file" ||
27704 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27705          X"$file" : 'X\(//\)[^/]' \| \
27706          X"$file" : 'X\(//\)$' \| \
27707          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27708 $as_echo X"$file" |
27709     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27710             s//\1/
27711             q
27712           }
27713           /^X\(\/\/\)[^/].*/{
27714             s//\1/
27715             q
27716           }
27717           /^X\(\/\/\)$/{
27718             s//\1/
27719             q
27720           }
27721           /^X\(\/\).*/{
27722             s//\1/
27723             q
27724           }
27725           s/.*/./; q'`
27726       as_dir=$dirpart/$fdir; as_fn_mkdir_p
27727       # echo "creating $dirpart/$file"
27728       echo '# dummy' > "$dirpart/$file"
27729     done
27730   done
27731 }
27732  ;;
27733     "libtool":C)
27734
27735     # See if we are running on zsh, and set the options which allow our
27736     # commands through without removal of \ escapes.
27737     if test -n "${ZSH_VERSION+set}" ; then
27738       setopt NO_GLOB_SUBST
27739     fi
27740
27741     cfgfile="${ofile}T"
27742     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27743     $RM "$cfgfile"
27744
27745     cat <<_LT_EOF >> "$cfgfile"
27746 #! $SHELL
27747
27748 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27749 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
27750 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27751 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27752 #
27753 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27754 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
27755 #   Written by Gordon Matzigkeit, 1996
27756 #
27757 #   This file is part of GNU Libtool.
27758 #
27759 # GNU Libtool is free software; you can redistribute it and/or
27760 # modify it under the terms of the GNU General Public License as
27761 # published by the Free Software Foundation; either version 2 of
27762 # the License, or (at your option) any later version.
27763 #
27764 # As a special exception to the GNU General Public License,
27765 # if you distribute this file as part of a program or library that
27766 # is built using GNU Libtool, you may include this file under the
27767 # same distribution terms that you use for the rest of that program.
27768 #
27769 # GNU Libtool is distributed in the hope that it will be useful,
27770 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27771 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27772 # GNU General Public License for more details.
27773 #
27774 # You should have received a copy of the GNU General Public License
27775 # along with GNU Libtool; see the file COPYING.  If not, a copy
27776 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27777 # obtained by writing to the Free Software Foundation, Inc.,
27778 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27779
27780
27781 # The names of the tagged configurations supported by this script.
27782 available_tags="FC "
27783
27784 # ### BEGIN LIBTOOL CONFIG
27785
27786 # Which release of libtool.m4 was used?
27787 macro_version=$macro_version
27788 macro_revision=$macro_revision
27789
27790 # Whether or not to build shared libraries.
27791 build_libtool_libs=$enable_shared
27792
27793 # Whether or not to build static libraries.
27794 build_old_libs=$enable_static
27795
27796 # What type of objects to build.
27797 pic_mode=$pic_mode
27798
27799 # Whether or not to optimize for fast installation.
27800 fast_install=$enable_fast_install
27801
27802 # Shell to use when invoking shell scripts.
27803 SHELL=$lt_SHELL
27804
27805 # An echo program that protects backslashes.
27806 ECHO=$lt_ECHO
27807
27808 # The host system.
27809 host_alias=$host_alias
27810 host=$host
27811 host_os=$host_os
27812
27813 # The build system.
27814 build_alias=$build_alias
27815 build=$build
27816 build_os=$build_os
27817
27818 # A sed program that does not truncate output.
27819 SED=$lt_SED
27820
27821 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27822 Xsed="\$SED -e 1s/^X//"
27823
27824 # A grep program that handles long lines.
27825 GREP=$lt_GREP
27826
27827 # An ERE matcher.
27828 EGREP=$lt_EGREP
27829
27830 # A literal string matcher.
27831 FGREP=$lt_FGREP
27832
27833 # A BSD- or MS-compatible name lister.
27834 NM=$lt_NM
27835
27836 # Whether we need soft or hard links.
27837 LN_S=$lt_LN_S
27838
27839 # What is the maximum length of a command?
27840 max_cmd_len=$max_cmd_len
27841
27842 # Object file suffix (normally "o").
27843 objext=$ac_objext
27844
27845 # Executable file suffix (normally "").
27846 exeext=$exeext
27847
27848 # whether the shell understands "unset".
27849 lt_unset=$lt_unset
27850
27851 # turn spaces into newlines.
27852 SP2NL=$lt_lt_SP2NL
27853
27854 # turn newlines into spaces.
27855 NL2SP=$lt_lt_NL2SP
27856
27857 # An object symbol dumper.
27858 OBJDUMP=$lt_OBJDUMP
27859
27860 # Method to check whether dependent libraries are shared objects.
27861 deplibs_check_method=$lt_deplibs_check_method
27862
27863 # Command to use when deplibs_check_method == "file_magic".
27864 file_magic_cmd=$lt_file_magic_cmd
27865
27866 # The archiver.
27867 AR=$lt_AR
27868 AR_FLAGS=$lt_AR_FLAGS
27869
27870 # A symbol stripping program.
27871 STRIP=$lt_STRIP
27872
27873 # Commands used to install an old-style archive.
27874 RANLIB=$lt_RANLIB
27875 old_postinstall_cmds=$lt_old_postinstall_cmds
27876 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27877
27878 # Whether to use a lock for old archive extraction.
27879 lock_old_archive_extraction=$lock_old_archive_extraction
27880
27881 # A C compiler.
27882 LTCC=$lt_CC
27883
27884 # LTCC compiler flags.
27885 LTCFLAGS=$lt_CFLAGS
27886
27887 # Take the output of nm and produce a listing of raw symbols and C names.
27888 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27889
27890 # Transform the output of nm in a proper C declaration.
27891 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27892
27893 # Transform the output of nm in a C name address pair.
27894 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27895
27896 # Transform the output of nm in a C name address pair when lib prefix is needed.
27897 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27898
27899 # The name of the directory that contains temporary libtool files.
27900 objdir=$objdir
27901
27902 # Used to examine libraries when file_magic_cmd begins with "file".
27903 MAGIC_CMD=$MAGIC_CMD
27904
27905 # Must we lock files when doing compilation?
27906 need_locks=$lt_need_locks
27907
27908 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27909 DSYMUTIL=$lt_DSYMUTIL
27910
27911 # Tool to change global to local symbols on Mac OS X.
27912 NMEDIT=$lt_NMEDIT
27913
27914 # Tool to manipulate fat objects and archives on Mac OS X.
27915 LIPO=$lt_LIPO
27916
27917 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27918 OTOOL=$lt_OTOOL
27919
27920 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27921 OTOOL64=$lt_OTOOL64
27922
27923 # Old archive suffix (normally "a").
27924 libext=$libext
27925
27926 # Shared library suffix (normally ".so").
27927 shrext_cmds=$lt_shrext_cmds
27928
27929 # The commands to extract the exported symbol list from a shared archive.
27930 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27931
27932 # Variables whose values should be saved in libtool wrapper scripts and
27933 # restored at link time.
27934 variables_saved_for_relink=$lt_variables_saved_for_relink
27935
27936 # Do we need the "lib" prefix for modules?
27937 need_lib_prefix=$need_lib_prefix
27938
27939 # Do we need a version for libraries?
27940 need_version=$need_version
27941
27942 # Library versioning type.
27943 version_type=$version_type
27944
27945 # Shared library runtime path variable.
27946 runpath_var=$runpath_var
27947
27948 # Shared library path variable.
27949 shlibpath_var=$shlibpath_var
27950
27951 # Is shlibpath searched before the hard-coded library search path?
27952 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27953
27954 # Format of library name prefix.
27955 libname_spec=$lt_libname_spec
27956
27957 # List of archive names.  First name is the real one, the rest are links.
27958 # The last name is the one that the linker finds with -lNAME
27959 library_names_spec=$lt_library_names_spec
27960
27961 # The coded name of the library, if different from the real name.
27962 soname_spec=$lt_soname_spec
27963
27964 # Permission mode override for installation of shared libraries.
27965 install_override_mode=$lt_install_override_mode
27966
27967 # Command to use after installation of a shared archive.
27968 postinstall_cmds=$lt_postinstall_cmds
27969
27970 # Command to use after uninstallation of a shared archive.
27971 postuninstall_cmds=$lt_postuninstall_cmds
27972
27973 # Commands used to finish a libtool library installation in a directory.
27974 finish_cmds=$lt_finish_cmds
27975
27976 # As "finish_cmds", except a single script fragment to be evaled but
27977 # not shown.
27978 finish_eval=$lt_finish_eval
27979
27980 # Whether we should hardcode library paths into libraries.
27981 hardcode_into_libs=$hardcode_into_libs
27982
27983 # Compile-time system search path for libraries.
27984 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27985
27986 # Run-time system search path for libraries.
27987 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27988
27989 # Whether dlopen is supported.
27990 dlopen_support=$enable_dlopen
27991
27992 # Whether dlopen of programs is supported.
27993 dlopen_self=$enable_dlopen_self
27994
27995 # Whether dlopen of statically linked programs is supported.
27996 dlopen_self_static=$enable_dlopen_self_static
27997
27998 # Commands to strip libraries.
27999 old_striplib=$lt_old_striplib
28000 striplib=$lt_striplib
28001
28002
28003 # The linker used to build libraries.
28004 LD=$lt_LD
28005
28006 # How to create reloadable object files.
28007 reload_flag=$lt_reload_flag
28008 reload_cmds=$lt_reload_cmds
28009
28010 # Commands used to build an old-style archive.
28011 old_archive_cmds=$lt_old_archive_cmds
28012
28013 # A language specific compiler.
28014 CC=$lt_compiler
28015
28016 # Is the compiler the GNU compiler?
28017 with_gcc=$GCC
28018
28019 # Compiler flag to turn off builtin functions.
28020 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28021
28022 # How to pass a linker flag through the compiler.
28023 wl=$lt_lt_prog_compiler_wl
28024
28025 # Additional compiler flags for building library objects.
28026 pic_flag=$lt_lt_prog_compiler_pic
28027
28028 # Compiler flag to prevent dynamic linking.
28029 link_static_flag=$lt_lt_prog_compiler_static
28030
28031 # Does compiler simultaneously support -c and -o options?
28032 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28033
28034 # Whether or not to add -lc for building shared libraries.
28035 build_libtool_need_lc=$archive_cmds_need_lc
28036
28037 # Whether or not to disallow shared libs when runtime libs are static.
28038 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28039
28040 # Compiler flag to allow reflexive dlopens.
28041 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28042
28043 # Compiler flag to generate shared objects directly from archives.
28044 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28045
28046 # Whether the compiler copes with passing no objects directly.
28047 compiler_needs_object=$lt_compiler_needs_object
28048
28049 # Create an old-style archive from a shared archive.
28050 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28051
28052 # Create a temporary old-style archive to link instead of a shared archive.
28053 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28054
28055 # Commands used to build a shared archive.
28056 archive_cmds=$lt_archive_cmds
28057 archive_expsym_cmds=$lt_archive_expsym_cmds
28058
28059 # Commands used to build a loadable module if different from building
28060 # a shared archive.
28061 module_cmds=$lt_module_cmds
28062 module_expsym_cmds=$lt_module_expsym_cmds
28063
28064 # Whether we are building with GNU ld or not.
28065 with_gnu_ld=$lt_with_gnu_ld
28066
28067 # Flag that allows shared libraries with undefined symbols to be built.
28068 allow_undefined_flag=$lt_allow_undefined_flag
28069
28070 # Flag that enforces no undefined symbols.
28071 no_undefined_flag=$lt_no_undefined_flag
28072
28073 # Flag to hardcode \$libdir into a binary during linking.
28074 # This must work even if \$libdir does not exist
28075 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28076
28077 # If ld is used when linking, flag to hardcode \$libdir into a binary
28078 # during linking.  This must work even if \$libdir does not exist.
28079 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28080
28081 # Whether we need a single "-rpath" flag with a separated argument.
28082 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28083
28084 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28085 # DIR into the resulting binary.
28086 hardcode_direct=$hardcode_direct
28087
28088 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28089 # DIR into the resulting binary and the resulting library dependency is
28090 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28091 # library is relocated.
28092 hardcode_direct_absolute=$hardcode_direct_absolute
28093
28094 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28095 # into the resulting binary.
28096 hardcode_minus_L=$hardcode_minus_L
28097
28098 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28099 # into the resulting binary.
28100 hardcode_shlibpath_var=$hardcode_shlibpath_var
28101
28102 # Set to "yes" if building a shared library automatically hardcodes DIR
28103 # into the library and all subsequent libraries and executables linked
28104 # against it.
28105 hardcode_automatic=$hardcode_automatic
28106
28107 # Set to yes if linker adds runtime paths of dependent libraries
28108 # to runtime path list.
28109 inherit_rpath=$inherit_rpath
28110
28111 # Whether libtool must link a program against all its dependency libraries.
28112 link_all_deplibs=$link_all_deplibs
28113
28114 # Fix the shell variable \$srcfile for the compiler.
28115 fix_srcfile_path=$lt_fix_srcfile_path
28116
28117 # Set to "yes" if exported symbols are required.
28118 always_export_symbols=$always_export_symbols
28119
28120 # The commands to list exported symbols.
28121 export_symbols_cmds=$lt_export_symbols_cmds
28122
28123 # Symbols that should not be listed in the preloaded symbols.
28124 exclude_expsyms=$lt_exclude_expsyms
28125
28126 # Symbols that must always be exported.
28127 include_expsyms=$lt_include_expsyms
28128
28129 # Commands necessary for linking programs (against libraries) with templates.
28130 prelink_cmds=$lt_prelink_cmds
28131
28132 # Specify filename containing input files.
28133 file_list_spec=$lt_file_list_spec
28134
28135 # How to hardcode a shared library path into an executable.
28136 hardcode_action=$hardcode_action
28137
28138 # The directories searched by this compiler when creating a shared library.
28139 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28140
28141 # Dependencies to place before and after the objects being linked to
28142 # create a shared library.
28143 predep_objects=$lt_predep_objects
28144 postdep_objects=$lt_postdep_objects
28145 predeps=$lt_predeps
28146 postdeps=$lt_postdeps
28147
28148 # The library search path used internally by the compiler when linking
28149 # a shared library.
28150 compiler_lib_search_path=$lt_compiler_lib_search_path
28151
28152 # ### END LIBTOOL CONFIG
28153
28154 _LT_EOF
28155
28156   case $host_os in
28157   aix3*)
28158     cat <<\_LT_EOF >> "$cfgfile"
28159 # AIX sometimes has problems with the GCC collect2 program.  For some
28160 # reason, if we set the COLLECT_NAMES environment variable, the problems
28161 # vanish in a puff of smoke.
28162 if test "X${COLLECT_NAMES+set}" != Xset; then
28163   COLLECT_NAMES=
28164   export COLLECT_NAMES
28165 fi
28166 _LT_EOF
28167     ;;
28168   esac
28169
28170
28171 ltmain="$ac_aux_dir/ltmain.sh"
28172
28173
28174   # We use sed instead of cat because bash on DJGPP gets confused if
28175   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
28176   # text mode, it properly converts lines to CR/LF.  This bash problem
28177   # is reportedly fixed, but why not run on old versions too?
28178   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28179     || (rm -f "$cfgfile"; exit 1)
28180
28181   case $xsi_shell in
28182   yes)
28183     cat << \_LT_EOF >> "$cfgfile"
28184
28185 # func_dirname file append nondir_replacement
28186 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
28187 # otherwise set result to NONDIR_REPLACEMENT.
28188 func_dirname ()
28189 {
28190   case ${1} in
28191     */*) func_dirname_result="${1%/*}${2}" ;;
28192     *  ) func_dirname_result="${3}" ;;
28193   esac
28194 }
28195
28196 # func_basename file
28197 func_basename ()
28198 {
28199   func_basename_result="${1##*/}"
28200 }
28201
28202 # func_dirname_and_basename file append nondir_replacement
28203 # perform func_basename and func_dirname in a single function
28204 # call:
28205 #   dirname:  Compute the dirname of FILE.  If nonempty,
28206 #             add APPEND to the result, otherwise set result
28207 #             to NONDIR_REPLACEMENT.
28208 #             value returned in "$func_dirname_result"
28209 #   basename: Compute filename of FILE.
28210 #             value retuned in "$func_basename_result"
28211 # Implementation must be kept synchronized with func_dirname
28212 # and func_basename. For efficiency, we do not delegate to
28213 # those functions but instead duplicate the functionality here.
28214 func_dirname_and_basename ()
28215 {
28216   case ${1} in
28217     */*) func_dirname_result="${1%/*}${2}" ;;
28218     *  ) func_dirname_result="${3}" ;;
28219   esac
28220   func_basename_result="${1##*/}"
28221 }
28222
28223 # func_stripname prefix suffix name
28224 # strip PREFIX and SUFFIX off of NAME.
28225 # PREFIX and SUFFIX must not contain globbing or regex special
28226 # characters, hashes, percent signs, but SUFFIX may contain a leading
28227 # dot (in which case that matches only a dot).
28228 func_stripname ()
28229 {
28230   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28231   # positional parameters, so assign one to ordinary parameter first.
28232   func_stripname_result=${3}
28233   func_stripname_result=${func_stripname_result#"${1}"}
28234   func_stripname_result=${func_stripname_result%"${2}"}
28235 }
28236
28237 # func_opt_split
28238 func_opt_split ()
28239 {
28240   func_opt_split_opt=${1%%=*}
28241   func_opt_split_arg=${1#*=}
28242 }
28243
28244 # func_lo2o object
28245 func_lo2o ()
28246 {
28247   case ${1} in
28248     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
28249     *)    func_lo2o_result=${1} ;;
28250   esac
28251 }
28252
28253 # func_xform libobj-or-source
28254 func_xform ()
28255 {
28256   func_xform_result=${1%.*}.lo
28257 }
28258
28259 # func_arith arithmetic-term...
28260 func_arith ()
28261 {
28262   func_arith_result=$(( $* ))
28263 }
28264
28265 # func_len string
28266 # STRING may not start with a hyphen.
28267 func_len ()
28268 {
28269   func_len_result=${#1}
28270 }
28271
28272 _LT_EOF
28273     ;;
28274   *) # Bourne compatible functions.
28275     cat << \_LT_EOF >> "$cfgfile"
28276
28277 # func_dirname file append nondir_replacement
28278 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
28279 # otherwise set result to NONDIR_REPLACEMENT.
28280 func_dirname ()
28281 {
28282   # Extract subdirectory from the argument.
28283   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
28284   if test "X$func_dirname_result" = "X${1}"; then
28285     func_dirname_result="${3}"
28286   else
28287     func_dirname_result="$func_dirname_result${2}"
28288   fi
28289 }
28290
28291 # func_basename file
28292 func_basename ()
28293 {
28294   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
28295 }
28296
28297
28298 # func_stripname prefix suffix name
28299 # strip PREFIX and SUFFIX off of NAME.
28300 # PREFIX and SUFFIX must not contain globbing or regex special
28301 # characters, hashes, percent signs, but SUFFIX may contain a leading
28302 # dot (in which case that matches only a dot).
28303 # func_strip_suffix prefix name
28304 func_stripname ()
28305 {
28306   case ${2} in
28307     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28308     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28309   esac
28310 }
28311
28312 # sed scripts:
28313 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
28314 my_sed_long_arg='1s/^-[^=]*=//'
28315
28316 # func_opt_split
28317 func_opt_split ()
28318 {
28319   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28320   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
28321 }
28322
28323 # func_lo2o object
28324 func_lo2o ()
28325 {
28326   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
28327 }
28328
28329 # func_xform libobj-or-source
28330 func_xform ()
28331 {
28332   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
28333 }
28334
28335 # func_arith arithmetic-term...
28336 func_arith ()
28337 {
28338   func_arith_result=`expr "$@"`
28339 }
28340
28341 # func_len string
28342 # STRING may not start with a hyphen.
28343 func_len ()
28344 {
28345   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
28346 }
28347
28348 _LT_EOF
28349 esac
28350
28351 case $lt_shell_append in
28352   yes)
28353     cat << \_LT_EOF >> "$cfgfile"
28354
28355 # func_append var value
28356 # Append VALUE to the end of shell variable VAR.
28357 func_append ()
28358 {
28359   eval "$1+=\$2"
28360 }
28361 _LT_EOF
28362     ;;
28363   *)
28364     cat << \_LT_EOF >> "$cfgfile"
28365
28366 # func_append var value
28367 # Append VALUE to the end of shell variable VAR.
28368 func_append ()
28369 {
28370   eval "$1=\$$1\$2"
28371 }
28372
28373 _LT_EOF
28374     ;;
28375   esac
28376
28377
28378   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
28379     || (rm -f "$cfgfile"; exit 1)
28380
28381   mv -f "$cfgfile" "$ofile" ||
28382     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28383   chmod +x "$ofile"
28384
28385
28386     cat <<_LT_EOF >> "$ofile"
28387
28388 # ### BEGIN LIBTOOL TAG CONFIG: FC
28389
28390 # The linker used to build libraries.
28391 LD=$lt_LD_FC
28392
28393 # How to create reloadable object files.
28394 reload_flag=$lt_reload_flag_FC
28395 reload_cmds=$lt_reload_cmds_FC
28396
28397 # Commands used to build an old-style archive.
28398 old_archive_cmds=$lt_old_archive_cmds_FC
28399
28400 # A language specific compiler.
28401 CC=$lt_compiler_FC
28402
28403 # Is the compiler the GNU compiler?
28404 with_gcc=$GCC_FC
28405
28406 # Compiler flag to turn off builtin functions.
28407 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
28408
28409 # How to pass a linker flag through the compiler.
28410 wl=$lt_lt_prog_compiler_wl_FC
28411
28412 # Additional compiler flags for building library objects.
28413 pic_flag=$lt_lt_prog_compiler_pic_FC
28414
28415 # Compiler flag to prevent dynamic linking.
28416 link_static_flag=$lt_lt_prog_compiler_static_FC
28417
28418 # Does compiler simultaneously support -c and -o options?
28419 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
28420
28421 # Whether or not to add -lc for building shared libraries.
28422 build_libtool_need_lc=$archive_cmds_need_lc_FC
28423
28424 # Whether or not to disallow shared libs when runtime libs are static.
28425 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
28426
28427 # Compiler flag to allow reflexive dlopens.
28428 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
28429
28430 # Compiler flag to generate shared objects directly from archives.
28431 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
28432
28433 # Whether the compiler copes with passing no objects directly.
28434 compiler_needs_object=$lt_compiler_needs_object_FC
28435
28436 # Create an old-style archive from a shared archive.
28437 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
28438
28439 # Create a temporary old-style archive to link instead of a shared archive.
28440 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
28441
28442 # Commands used to build a shared archive.
28443 archive_cmds=$lt_archive_cmds_FC
28444 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
28445
28446 # Commands used to build a loadable module if different from building
28447 # a shared archive.
28448 module_cmds=$lt_module_cmds_FC
28449 module_expsym_cmds=$lt_module_expsym_cmds_FC
28450
28451 # Whether we are building with GNU ld or not.
28452 with_gnu_ld=$lt_with_gnu_ld_FC
28453
28454 # Flag that allows shared libraries with undefined symbols to be built.
28455 allow_undefined_flag=$lt_allow_undefined_flag_FC
28456
28457 # Flag that enforces no undefined symbols.
28458 no_undefined_flag=$lt_no_undefined_flag_FC
28459
28460 # Flag to hardcode \$libdir into a binary during linking.
28461 # This must work even if \$libdir does not exist
28462 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
28463
28464 # If ld is used when linking, flag to hardcode \$libdir into a binary
28465 # during linking.  This must work even if \$libdir does not exist.
28466 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
28467
28468 # Whether we need a single "-rpath" flag with a separated argument.
28469 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
28470
28471 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28472 # DIR into the resulting binary.
28473 hardcode_direct=$hardcode_direct_FC
28474
28475 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28476 # DIR into the resulting binary and the resulting library dependency is
28477 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28478 # library is relocated.
28479 hardcode_direct_absolute=$hardcode_direct_absolute_FC
28480
28481 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28482 # into the resulting binary.
28483 hardcode_minus_L=$hardcode_minus_L_FC
28484
28485 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28486 # into the resulting binary.
28487 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
28488
28489 # Set to "yes" if building a shared library automatically hardcodes DIR
28490 # into the library and all subsequent libraries and executables linked
28491 # against it.
28492 hardcode_automatic=$hardcode_automatic_FC
28493
28494 # Set to yes if linker adds runtime paths of dependent libraries
28495 # to runtime path list.
28496 inherit_rpath=$inherit_rpath_FC
28497
28498 # Whether libtool must link a program against all its dependency libraries.
28499 link_all_deplibs=$link_all_deplibs_FC
28500
28501 # Fix the shell variable \$srcfile for the compiler.
28502 fix_srcfile_path=$lt_fix_srcfile_path_FC
28503
28504 # Set to "yes" if exported symbols are required.
28505 always_export_symbols=$always_export_symbols_FC
28506
28507 # The commands to list exported symbols.
28508 export_symbols_cmds=$lt_export_symbols_cmds_FC
28509
28510 # Symbols that should not be listed in the preloaded symbols.
28511 exclude_expsyms=$lt_exclude_expsyms_FC
28512
28513 # Symbols that must always be exported.
28514 include_expsyms=$lt_include_expsyms_FC
28515
28516 # Commands necessary for linking programs (against libraries) with templates.
28517 prelink_cmds=$lt_prelink_cmds_FC
28518
28519 # Specify filename containing input files.
28520 file_list_spec=$lt_file_list_spec_FC
28521
28522 # How to hardcode a shared library path into an executable.
28523 hardcode_action=$hardcode_action_FC
28524
28525 # The directories searched by this compiler when creating a shared library.
28526 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
28527
28528 # Dependencies to place before and after the objects being linked to
28529 # create a shared library.
28530 predep_objects=$lt_predep_objects_FC
28531 postdep_objects=$lt_postdep_objects_FC
28532 predeps=$lt_predeps_FC
28533 postdeps=$lt_postdeps_FC
28534
28535 # The library search path used internally by the compiler when linking
28536 # a shared library.
28537 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
28538
28539 # ### END LIBTOOL TAG CONFIG: FC
28540 _LT_EOF
28541
28542  ;;
28543     "gstdint.h":C)
28544 if test "$GCC" = yes; then
28545   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
28546 else
28547   echo "/* generated for $CC */" > tmp-stdint.h
28548 fi
28549
28550 sed 's/^ *//' >> tmp-stdint.h <<EOF
28551
28552   #ifndef GCC_GENERATED_STDINT_H
28553   #define GCC_GENERATED_STDINT_H 1
28554
28555   #include <sys/types.h>
28556 EOF
28557
28558 if test "$acx_cv_header_stdint" != stdint.h; then
28559   echo "#include <stddef.h>" >> tmp-stdint.h
28560 fi
28561 if test "$acx_cv_header_stdint" != stddef.h; then
28562   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
28563 fi
28564
28565 sed 's/^ *//' >> tmp-stdint.h <<EOF
28566   /* glibc uses these symbols as guards to prevent redefinitions.  */
28567   #ifdef __int8_t_defined
28568   #define _INT8_T
28569   #define _INT16_T
28570   #define _INT32_T
28571   #endif
28572   #ifdef __uint32_t_defined
28573   #define _UINT32_T
28574   #endif
28575
28576 EOF
28577
28578 # ----------------- done header, emit basic int types -------------
28579 if test "$acx_cv_header_stdint" = stddef.h; then
28580   sed 's/^ *//' >> tmp-stdint.h <<EOF
28581
28582     #ifndef _UINT8_T
28583     #define _UINT8_T
28584     #ifndef __uint8_t_defined
28585     #define __uint8_t_defined
28586     #ifndef uint8_t
28587     typedef unsigned $acx_cv_type_int8_t uint8_t;
28588     #endif
28589     #endif
28590     #endif
28591
28592     #ifndef _UINT16_T
28593     #define _UINT16_T
28594     #ifndef __uint16_t_defined
28595     #define __uint16_t_defined
28596     #ifndef uint16_t
28597     typedef unsigned $acx_cv_type_int16_t uint16_t;
28598     #endif
28599     #endif
28600     #endif
28601
28602     #ifndef _UINT32_T
28603     #define _UINT32_T
28604     #ifndef __uint32_t_defined
28605     #define __uint32_t_defined
28606     #ifndef uint32_t
28607     typedef unsigned $acx_cv_type_int32_t uint32_t;
28608     #endif
28609     #endif
28610     #endif
28611
28612     #ifndef _INT8_T
28613     #define _INT8_T
28614     #ifndef __int8_t_defined
28615     #define __int8_t_defined
28616     #ifndef int8_t
28617     typedef $acx_cv_type_int8_t int8_t;
28618     #endif
28619     #endif
28620     #endif
28621
28622     #ifndef _INT16_T
28623     #define _INT16_T
28624     #ifndef __int16_t_defined
28625     #define __int16_t_defined
28626     #ifndef int16_t
28627     typedef $acx_cv_type_int16_t int16_t;
28628     #endif
28629     #endif
28630     #endif
28631
28632     #ifndef _INT32_T
28633     #define _INT32_T
28634     #ifndef __int32_t_defined
28635     #define __int32_t_defined
28636     #ifndef int32_t
28637     typedef $acx_cv_type_int32_t int32_t;
28638     #endif
28639     #endif
28640     #endif
28641 EOF
28642 elif test "$ac_cv_type_u_int32_t" = yes; then
28643   sed 's/^ *//' >> tmp-stdint.h <<EOF
28644
28645     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
28646     #ifndef _INT8_T
28647     #define _INT8_T
28648     #endif
28649     #ifndef _INT16_T
28650     #define _INT16_T
28651     #endif
28652     #ifndef _INT32_T
28653     #define _INT32_T
28654     #endif
28655
28656     #ifndef _UINT8_T
28657     #define _UINT8_T
28658     #ifndef __uint8_t_defined
28659     #define __uint8_t_defined
28660     #ifndef uint8_t
28661     typedef u_int8_t uint8_t;
28662     #endif
28663     #endif
28664     #endif
28665
28666     #ifndef _UINT16_T
28667     #define _UINT16_T
28668     #ifndef __uint16_t_defined
28669     #define __uint16_t_defined
28670     #ifndef uint16_t
28671     typedef u_int16_t uint16_t;
28672     #endif
28673     #endif
28674     #endif
28675
28676     #ifndef _UINT32_T
28677     #define _UINT32_T
28678     #ifndef __uint32_t_defined
28679     #define __uint32_t_defined
28680     #ifndef uint32_t
28681     typedef u_int32_t uint32_t;
28682     #endif
28683     #endif
28684     #endif
28685 EOF
28686 else
28687   sed 's/^ *//' >> tmp-stdint.h <<EOF
28688
28689     /* Some systems have guard macros to prevent redefinitions, define them.  */
28690     #ifndef _INT8_T
28691     #define _INT8_T
28692     #endif
28693     #ifndef _INT16_T
28694     #define _INT16_T
28695     #endif
28696     #ifndef _INT32_T
28697     #define _INT32_T
28698     #endif
28699     #ifndef _UINT8_T
28700     #define _UINT8_T
28701     #endif
28702     #ifndef _UINT16_T
28703     #define _UINT16_T
28704     #endif
28705     #ifndef _UINT32_T
28706     #define _UINT32_T
28707     #endif
28708 EOF
28709 fi
28710
28711 # ------------- done basic int types, emit int64_t types ------------
28712 if test "$ac_cv_type_uint64_t" = yes; then
28713   sed 's/^ *//' >> tmp-stdint.h <<EOF
28714
28715     /* system headers have good uint64_t and int64_t */
28716     #ifndef _INT64_T
28717     #define _INT64_T
28718     #endif
28719     #ifndef _UINT64_T
28720     #define _UINT64_T
28721     #endif
28722 EOF
28723 elif test "$ac_cv_type_u_int64_t" = yes; then
28724   sed 's/^ *//' >> tmp-stdint.h <<EOF
28725
28726     /* system headers have an u_int64_t (and int64_t) */
28727     #ifndef _INT64_T
28728     #define _INT64_T
28729     #endif
28730     #ifndef _UINT64_T
28731     #define _UINT64_T
28732     #ifndef __uint64_t_defined
28733     #define __uint64_t_defined
28734     #ifndef uint64_t
28735     typedef u_int64_t uint64_t;
28736     #endif
28737     #endif
28738     #endif
28739 EOF
28740 elif test -n "$acx_cv_type_int64_t"; then
28741   sed 's/^ *//' >> tmp-stdint.h <<EOF
28742
28743     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
28744     #ifndef _INT64_T
28745     #define _INT64_T
28746     #ifndef int64_t
28747     typedef $acx_cv_type_int64_t int64_t;
28748     #endif
28749     #endif
28750     #ifndef _UINT64_T
28751     #define _UINT64_T
28752     #ifndef __uint64_t_defined
28753     #define __uint64_t_defined
28754     #ifndef uint64_t
28755     typedef unsigned $acx_cv_type_int64_t uint64_t;
28756     #endif
28757     #endif
28758     #endif
28759 EOF
28760 else
28761   sed 's/^ *//' >> tmp-stdint.h <<EOF
28762
28763     /* some common heuristics for int64_t, using compiler-specific tests */
28764     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
28765     #ifndef _INT64_T
28766     #define _INT64_T
28767     #ifndef __int64_t_defined
28768     #ifndef int64_t
28769     typedef long long int64_t;
28770     #endif
28771     #endif
28772     #endif
28773     #ifndef _UINT64_T
28774     #define _UINT64_T
28775     #ifndef uint64_t
28776     typedef unsigned long long uint64_t;
28777     #endif
28778     #endif
28779
28780     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
28781     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
28782        does not implement __extension__.  But that compiler doesn't define
28783        __GNUC_MINOR__.  */
28784     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
28785     # define __extension__
28786     # endif
28787
28788     # ifndef _INT64_T
28789     # define _INT64_T
28790     # ifndef int64_t
28791     __extension__ typedef long long int64_t;
28792     # endif
28793     # endif
28794     # ifndef _UINT64_T
28795     # define _UINT64_T
28796     # ifndef uint64_t
28797     __extension__ typedef unsigned long long uint64_t;
28798     # endif
28799     # endif
28800
28801     #elif !defined __STRICT_ANSI__
28802     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
28803
28804     #  ifndef _INT64_T
28805     #  define _INT64_T
28806     #  ifndef int64_t
28807     typedef __int64 int64_t;
28808     #  endif
28809     #  endif
28810     #  ifndef _UINT64_T
28811     #  define _UINT64_T
28812     #  ifndef uint64_t
28813     typedef unsigned __int64 uint64_t;
28814     #  endif
28815     #  endif
28816     # endif /* compiler */
28817
28818     #endif /* ANSI version */
28819 EOF
28820 fi
28821
28822 # ------------- done int64_t types, emit intptr types ------------
28823 if test "$ac_cv_type_uintptr_t" != yes; then
28824   sed 's/^ *//' >> tmp-stdint.h <<EOF
28825
28826     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
28827     #ifndef __uintptr_t_defined
28828     #ifndef uintptr_t
28829     typedef u$acx_cv_type_intptr_t uintptr_t;
28830     #endif
28831     #endif
28832     #ifndef __intptr_t_defined
28833     #ifndef intptr_t
28834     typedef $acx_cv_type_intptr_t  intptr_t;
28835     #endif
28836     #endif
28837 EOF
28838 fi
28839
28840 # ------------- done intptr types, emit int_least types ------------
28841 if test "$ac_cv_type_int_least32_t" != yes; then
28842   sed 's/^ *//' >> tmp-stdint.h <<EOF
28843
28844     /* Define int_least types */
28845     typedef int8_t     int_least8_t;
28846     typedef int16_t    int_least16_t;
28847     typedef int32_t    int_least32_t;
28848     #ifdef _INT64_T
28849     typedef int64_t    int_least64_t;
28850     #endif
28851
28852     typedef uint8_t    uint_least8_t;
28853     typedef uint16_t   uint_least16_t;
28854     typedef uint32_t   uint_least32_t;
28855     #ifdef _UINT64_T
28856     typedef uint64_t   uint_least64_t;
28857     #endif
28858 EOF
28859 fi
28860
28861 # ------------- done intptr types, emit int_fast types ------------
28862 if test "$ac_cv_type_int_fast32_t" != yes; then
28863       sed 's/^ *//' >> tmp-stdint.h <<EOF
28864
28865     /* Define int_fast types.  short is often slow */
28866     typedef int8_t       int_fast8_t;
28867     typedef int          int_fast16_t;
28868     typedef int32_t      int_fast32_t;
28869     #ifdef _INT64_T
28870     typedef int64_t      int_fast64_t;
28871     #endif
28872
28873     typedef uint8_t      uint_fast8_t;
28874     typedef unsigned int uint_fast16_t;
28875     typedef uint32_t     uint_fast32_t;
28876     #ifdef _UINT64_T
28877     typedef uint64_t     uint_fast64_t;
28878     #endif
28879 EOF
28880 fi
28881
28882 if test "$ac_cv_type_uintmax_t" != yes; then
28883   sed 's/^ *//' >> tmp-stdint.h <<EOF
28884
28885     /* Define intmax based on what we found */
28886     #ifndef intmax_t
28887     #ifdef _INT64_T
28888     typedef int64_t       intmax_t;
28889     #else
28890     typedef long          intmax_t;
28891     #endif
28892     #endif
28893     #ifndef uintmax_t
28894     #ifdef _UINT64_T
28895     typedef uint64_t      uintmax_t;
28896     #else
28897     typedef unsigned long uintmax_t;
28898     #endif
28899     #endif
28900 EOF
28901 fi
28902
28903 sed 's/^ *//' >> tmp-stdint.h <<EOF
28904
28905   #endif /* GCC_GENERATED_STDINT_H */
28906 EOF
28907
28908 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
28909   rm -f tmp-stdint.h
28910 else
28911   mv -f tmp-stdint.h gstdint.h
28912 fi
28913
28914  ;;
28915
28916   esac
28917 done # for ac_tag
28918
28919
28920 as_fn_exit 0
28921 _ACEOF
28922 ac_clean_files=$ac_clean_files_save
28923
28924 test $ac_write_fail = 0 ||
28925   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
28926
28927
28928 # configure is writing to config.log, and then calls config.status.
28929 # config.status does its own redirection, appending to config.log.
28930 # Unfortunately, on DOS this fails, as config.log is still kept open
28931 # by configure, so config.status won't be able to write to it; its
28932 # output is simply discarded.  So we exec the FD to /dev/null,
28933 # effectively closing config.log, so it can be properly (re)opened and
28934 # appended to by config.status.  When coming back to configure, we
28935 # need to make the FD available again.
28936 if test "$no_create" != yes; then
28937   ac_cs_success=:
28938   ac_config_status_args=
28939   test "$silent" = yes &&
28940     ac_config_status_args="$ac_config_status_args --quiet"
28941   exec 5>/dev/null
28942   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28943   exec 5>>config.log
28944   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28945   # would make configure fail if this is the last instruction.
28946   $ac_cs_success || as_fn_exit $?
28947 fi
28948 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28949   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28950 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28951 fi
28952