9ec015868ab0900727595ed5d30437af38bdd876
[platform/upstream/gcc.git] / libgfortran / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU Fortran Runtime Library 0.3.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
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 as_myself=
91 case $0 in #((
92   *[\\/]* ) as_myself=$0 ;;
93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96   IFS=$as_save_IFS
97   test -z "$as_dir" && as_dir=.
98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99   done
100 IFS=$as_save_IFS
101
102      ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107   as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111   exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there.  '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136   # into an infinite loop, continuously re-executing ourselves.
137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138     _as_can_reexec=no; export _as_can_reexec;
139     # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147   *v*x* | *x*v* ) as_opts=-vx ;;
148   *v* ) as_opts=-v ;;
149   *x* ) as_opts=-x ;;
150   * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157   fi
158   # We don't want this to propagate to other subprocesses.
159           { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162   emulate sh
163   NULLCMD=:
164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165   # is contrary to our usage.  Disable this feature.
166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
167   setopt NO_GLOB_SUBST
168 else
169   case \`(set -o) 2>/dev/null\` in #(
170   *posix*) :
171     set -o posix ;; #(
172   *) :
173      ;;
174 esac
175 fi
176 "
177   as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191   exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
200
201   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     PATH=/empty FPATH=/empty; export PATH FPATH
206     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208   if (eval "$as_required") 2>/dev/null; then :
209   as_have_required=yes
210 else
211   as_have_required=no
212 fi
213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215 else
216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219 do
220   IFS=$as_save_IFS
221   test -z "$as_dir" && as_dir=.
222   as_found=:
223   case $as_dir in #(
224          /*)
225            for as_base in sh bash ksh sh5; do
226              # Try only shells that exist, to save several forks.
227              as_shell=$as_dir/$as_base
228              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230   CONFIG_SHELL=$as_shell as_have_required=yes
231                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   break 2
233 fi
234 fi
235            done;;
236        esac
237   as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241   CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
244
245
246       if test "x$CONFIG_SHELL" != x; then :
247   export CONFIG_SHELL
248              # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256   *v*x* | *x*v* ) as_opts=-vx ;;
257   *v* ) as_opts=-v ;;
258   *x* ) as_opts=-x ;;
259   * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
266 fi
267
268     if test x$as_have_required = xno; then :
269   $as_echo "$0: This script requires a shell more modern than all"
270   $as_echo "$0: the shells that I found on your system."
271   if test x${ZSH_VERSION+set} = xset ; then
272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274   else
275     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
279   fi
280   exit 1
281 fi
282 fi
283 fi
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
289
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
297 {
298   { eval $1=; unset $1;}
299 }
300 as_unset=as_fn_unset
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307   return $1
308 } # as_fn_set_status
309
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315   set +e
316   as_fn_set_status $1
317   exit $1
318 } # as_fn_exit
319
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325
326   case $as_dir in #(
327   -*) as_dir=./$as_dir;;
328   esac
329   test -d "$as_dir" || eval $as_mkdir_p || {
330     as_dirs=
331     while :; do
332       case $as_dir in #(
333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334       *) as_qdir=$as_dir;;
335       esac
336       as_dirs="'$as_qdir' $as_dirs"
337       as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339          X"$as_dir" : 'X\(//\)[^/]' \| \
340          X"$as_dir" : 'X\(//\)$' \| \
341          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344             s//\1/
345             q
346           }
347           /^X\(\/\/\)[^/].*/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)$/{
352             s//\1/
353             q
354           }
355           /^X\(\/\).*/{
356             s//\1/
357             q
358           }
359           s/.*/./; q'`
360       test -d "$as_dir" && break
361     done
362     test -z "$as_dirs" || eval "mkdir $as_dirs"
363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373   test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382   eval 'as_fn_append ()
383   {
384     eval $1+=\$2
385   }'
386 else
387   as_fn_append ()
388   {
389     eval $1=\$$1\$2
390   }
391 fi # as_fn_append
392
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399   eval 'as_fn_arith ()
400   {
401     as_val=$(( $* ))
402   }'
403 else
404   as_fn_arith ()
405   {
406     as_val=`expr "$@" || test $? -eq 1`
407   }
408 fi # as_fn_arith
409
410
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
417 {
418   as_status=$1; test $as_status -eq 0 && as_status=1
419   if test "$4"; then
420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422   fi
423   $as_echo "$as_me: error: $2" >&2
424   as_fn_exit $as_status
425 } # as_fn_error
426
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
429   as_expr=expr
430 else
431   as_expr=false
432 fi
433
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435   as_basename=basename
436 else
437   as_basename=false
438 fi
439
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441   as_dirname=dirname
442 else
443   as_dirname=false
444 fi
445
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448          X"$0" : 'X\(//\)$' \| \
449          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451     sed '/^.*\/\([^/][^/]*\)\/*$/{
452             s//\1/
453             q
454           }
455           /^X\/\(\/\/\)$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\).*/{
460             s//\1/
461             q
462           }
463           s/.*/./; q'`
464
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478   sed -n '
479     p
480     /[$]LINENO/=
481   ' <$as_myself |
482     sed '
483       s/[$]LINENO.*/&-/
484       t lineno
485       b
486       :lineno
487       N
488       :loop
489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490       t loop
491       s/-\n.*//
492     ' >$as_me.lineno &&
493   chmod +x "$as_me.lineno" ||
494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497   # already done that, so ensure we don't try to do so again and fall
498   # in an infinite loop.  This has already happened in practice.
499   _as_can_reexec=no; export _as_can_reexec
500   # Don't try to exec as it changes $[0], causing all sort of problems
501   # (the dirname of $[0] is not the place where we might find the
502   # original and so on.  Autoconf is especially sensitive to this).
503   . "./$as_me.lineno"
504   # Exit status is that of the last command.
505   exit
506 }
507
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511   case `echo 'xy\c'` in
512   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
513   xy)  ECHO_C='\c';;
514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515        ECHO_T=' ';;
516   esac;;
517 *)
518   ECHO_N='-n';;
519 esac
520
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523   rm -f conf$$.dir/conf$$.file
524 else
525   rm -f conf$$.dir
526   mkdir conf$$.dir 2>/dev/null
527 fi
528 if (echo >conf$$.file) 2>/dev/null; then
529   if ln -s conf$$.file conf$$ 2>/dev/null; then
530     as_ln_s='ln -s'
531     # ... but there are two gotchas:
532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534     # In both cases, we have to default to `cp -pR'.
535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536       as_ln_s='cp -pR'
537   elif ln conf$$.file conf$$ 2>/dev/null; then
538     as_ln_s=ln
539   else
540     as_ln_s='cp -pR'
541   fi
542 else
543   as_ln_s='cp -pR'
544 fi
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
547
548 if mkdir -p . 2>/dev/null; then
549   as_mkdir_p='mkdir -p "$as_dir"'
550 else
551   test -d ./-p && rmdir ./-p
552   as_mkdir_p=false
553 fi
554
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
557
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564 SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
569
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575 #
576 # Initializations.
577 #
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
586
587 # Identity of this package.
588 PACKAGE_NAME='GNU Fortran Runtime Library'
589 PACKAGE_TARNAME='libgfortran'
590 PACKAGE_VERSION='0.3'
591 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
594
595 # Factoring default headers for most tests.
596 ac_includes_default="\
597 #include <stdio.h>
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
600 #endif
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
603 #endif
604 #ifdef STDC_HEADERS
605 # include <stdlib.h>
606 # include <stddef.h>
607 #else
608 # ifdef HAVE_STDLIB_H
609 #  include <stdlib.h>
610 # endif
611 #endif
612 #ifdef HAVE_STRING_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614 #  include <memory.h>
615 # endif
616 # include <string.h>
617 #endif
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
620 #endif
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
623 #endif
624 #ifdef HAVE_STDINT_H
625 # include <stdint.h>
626 #endif
627 #ifdef HAVE_UNISTD_H
628 # include <unistd.h>
629 #endif"
630
631 ac_header_list=
632 ac_func_list=
633 ac_c_werror_flag=
634 ac_c_werror_flag=
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 LIBOBJS
639 get_gcc_base_ver
640 HAVE_AVX128_FALSE
641 HAVE_AVX128_TRUE
642 tmake_file
643 IEEE_FLAGS
644 IEEE_SUPPORT
645 IEEE_SUPPORT_FALSE
646 IEEE_SUPPORT_TRUE
647 FPU_HOST_HEADER
648 LIBGFOR_BUILD_QUAD_FALSE
649 LIBGFOR_BUILD_QUAD_TRUE
650 LIBQUADINCLUDE
651 LIBQUADLIB_DEP
652 LIBQUADLIB
653 LIBQUADSPEC
654 extra_ldflags_libgfortran
655 ac_ct_FC
656 FCFLAGS
657 FC
658 enable_static
659 enable_shared
660 lt_host_flags
661 OTOOL64
662 OTOOL
663 LIPO
664 NMEDIT
665 DSYMUTIL
666 OBJDUMP
667 LN_S
668 NM
669 ac_ct_DUMPBIN
670 DUMPBIN
671 LIBTOOL
672 RANLIB
673 AR
674 AS
675 HAVE_HWCAP_FALSE
676 HAVE_HWCAP_TRUE
677 HWCAP_LDFLAGS
678 LD
679 FGREP
680 SED
681 SECTION_FLAGS
682 LIBGOMP_CHECKED_REAL_KINDS
683 LIBGOMP_CHECKED_INT_KINDS
684 LIBGFOR_MINIMAL_FALSE
685 LIBGFOR_MINIMAL_TRUE
686 LIBGFOR_USE_SYMVER_SUN_FALSE
687 LIBGFOR_USE_SYMVER_SUN_TRUE
688 LIBGFOR_USE_SYMVER_GNU_FALSE
689 LIBGFOR_USE_SYMVER_GNU_TRUE
690 LIBGFOR_USE_SYMVER_FALSE
691 LIBGFOR_USE_SYMVER_TRUE
692 AM_CFLAGS
693 AM_FCFLAGS
694 toolexeclibdir
695 toolexecdir
696 EGREP
697 GREP
698 CPP
699 am__fastdepCC_FALSE
700 am__fastdepCC_TRUE
701 CCDEPMODE
702 am__nodep
703 AMDEPBACKSLASH
704 AMDEP_FALSE
705 AMDEP_TRUE
706 am__quote
707 am__include
708 DEPDIR
709 OBJEXT
710 EXEEXT
711 ac_ct_CC
712 CPPFLAGS
713 LDFLAGS
714 CFLAGS
715 CC
716 multi_basedir
717 MAINT
718 MAINTAINER_MODE_FALSE
719 MAINTAINER_MODE_TRUE
720 AM_BACKSLASH
721 AM_DEFAULT_VERBOSITY
722 AM_DEFAULT_V
723 AM_V
724 am__untar
725 am__tar
726 AMTAR
727 am__leading_dot
728 SET_MAKE
729 AWK
730 mkdir_p
731 MKDIR_P
732 INSTALL_STRIP_PROGRAM
733 STRIP
734 install_sh
735 MAKEINFO
736 AUTOHEADER
737 AUTOMAKE
738 AUTOCONF
739 ACLOCAL
740 VERSION
741 PACKAGE
742 CYGPATH_W
743 am__isrc
744 INSTALL_DATA
745 INSTALL_SCRIPT
746 INSTALL_PROGRAM
747 target_noncanonical
748 target_os
749 target_vendor
750 target_cpu
751 target
752 host_os
753 host_vendor
754 host_cpu
755 host
756 onestep
757 onestep_FALSE
758 onestep_TRUE
759 target_subdir
760 host_subdir
761 build_subdir
762 build_libsubdir
763 build_os
764 build_vendor
765 build_cpu
766 build
767 target_alias
768 host_alias
769 build_alias
770 LIBS
771 ECHO_T
772 ECHO_N
773 ECHO_C
774 DEFS
775 mandir
776 localedir
777 libdir
778 psdir
779 pdfdir
780 dvidir
781 htmldir
782 infodir
783 docdir
784 oldincludedir
785 includedir
786 localstatedir
787 sharedstatedir
788 sysconfdir
789 datadir
790 datarootdir
791 libexecdir
792 sbindir
793 bindir
794 program_transform_name
795 prefix
796 exec_prefix
797 PACKAGE_URL
798 PACKAGE_BUGREPORT
799 PACKAGE_STRING
800 PACKAGE_VERSION
801 PACKAGE_TARNAME
802 PACKAGE_NAME
803 PATH_SEPARATOR
804 SHELL'
805 ac_subst_files=''
806 ac_user_opts='
807 enable_option_checking
808 with_build_libsubdir
809 enable_version_specific_runtime_libs
810 enable_intermodule
811 enable_silent_rules
812 enable_maintainer_mode
813 enable_multilib
814 enable_dependency_tracking
815 with_toolexeclibdir
816 enable_cet
817 enable_symvers
818 with_gnu_ld
819 enable_shared
820 enable_static
821 with_pic
822 enable_fast_install
823 enable_libtool_lock
824 enable_largefile
825 enable_libquadmath_support
826 with_gcc_major_version_only
827 '
828       ac_precious_vars='build_alias
829 host_alias
830 target_alias
831 CC
832 CFLAGS
833 LDFLAGS
834 LIBS
835 CPPFLAGS
836 CPP
837 FC
838 FCFLAGS'
839
840
841 # Initialize some variables set by options.
842 ac_init_help=
843 ac_init_version=false
844 ac_unrecognized_opts=
845 ac_unrecognized_sep=
846 # The variables have the same names as the options, with
847 # dashes changed to underlines.
848 cache_file=/dev/null
849 exec_prefix=NONE
850 no_create=
851 no_recursion=
852 prefix=NONE
853 program_prefix=NONE
854 program_suffix=NONE
855 program_transform_name=s,x,x,
856 silent=
857 site=
858 srcdir=
859 verbose=
860 x_includes=NONE
861 x_libraries=NONE
862
863 # Installation directory options.
864 # These are left unexpanded so users can "make install exec_prefix=/foo"
865 # and all the variables that are supposed to be based on exec_prefix
866 # by default will actually change.
867 # Use braces instead of parens because sh, perl, etc. also accept them.
868 # (The list follows the same order as the GNU Coding Standards.)
869 bindir='${exec_prefix}/bin'
870 sbindir='${exec_prefix}/sbin'
871 libexecdir='${exec_prefix}/libexec'
872 datarootdir='${prefix}/share'
873 datadir='${datarootdir}'
874 sysconfdir='${prefix}/etc'
875 sharedstatedir='${prefix}/com'
876 localstatedir='${prefix}/var'
877 includedir='${prefix}/include'
878 oldincludedir='/usr/include'
879 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
880 infodir='${datarootdir}/info'
881 htmldir='${docdir}'
882 dvidir='${docdir}'
883 pdfdir='${docdir}'
884 psdir='${docdir}'
885 libdir='${exec_prefix}/lib'
886 localedir='${datarootdir}/locale'
887 mandir='${datarootdir}/man'
888
889 ac_prev=
890 ac_dashdash=
891 for ac_option
892 do
893   # If the previous option needs an argument, assign it.
894   if test -n "$ac_prev"; then
895     eval $ac_prev=\$ac_option
896     ac_prev=
897     continue
898   fi
899
900   case $ac_option in
901   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
902   *=)   ac_optarg= ;;
903   *)    ac_optarg=yes ;;
904   esac
905
906   # Accept the important Cygnus configure options, so we can diagnose typos.
907
908   case $ac_dashdash$ac_option in
909   --)
910     ac_dashdash=yes ;;
911
912   -bindir | --bindir | --bindi | --bind | --bin | --bi)
913     ac_prev=bindir ;;
914   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
915     bindir=$ac_optarg ;;
916
917   -build | --build | --buil | --bui | --bu)
918     ac_prev=build_alias ;;
919   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
920     build_alias=$ac_optarg ;;
921
922   -cache-file | --cache-file | --cache-fil | --cache-fi \
923   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
924     ac_prev=cache_file ;;
925   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
926   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
927     cache_file=$ac_optarg ;;
928
929   --config-cache | -C)
930     cache_file=config.cache ;;
931
932   -datadir | --datadir | --datadi | --datad)
933     ac_prev=datadir ;;
934   -datadir=* | --datadir=* | --datadi=* | --datad=*)
935     datadir=$ac_optarg ;;
936
937   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
938   | --dataroo | --dataro | --datar)
939     ac_prev=datarootdir ;;
940   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
941   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
942     datarootdir=$ac_optarg ;;
943
944   -disable-* | --disable-*)
945     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
946     # Reject names that are not valid shell variable names.
947     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
948       as_fn_error $? "invalid feature name: $ac_useropt"
949     ac_useropt_orig=$ac_useropt
950     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951     case $ac_user_opts in
952       *"
953 "enable_$ac_useropt"
954 "*) ;;
955       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
956          ac_unrecognized_sep=', ';;
957     esac
958     eval enable_$ac_useropt=no ;;
959
960   -docdir | --docdir | --docdi | --doc | --do)
961     ac_prev=docdir ;;
962   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
963     docdir=$ac_optarg ;;
964
965   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
966     ac_prev=dvidir ;;
967   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
968     dvidir=$ac_optarg ;;
969
970   -enable-* | --enable-*)
971     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
972     # Reject names that are not valid shell variable names.
973     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
974       as_fn_error $? "invalid feature name: $ac_useropt"
975     ac_useropt_orig=$ac_useropt
976     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977     case $ac_user_opts in
978       *"
979 "enable_$ac_useropt"
980 "*) ;;
981       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
982          ac_unrecognized_sep=', ';;
983     esac
984     eval enable_$ac_useropt=\$ac_optarg ;;
985
986   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
987   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
988   | --exec | --exe | --ex)
989     ac_prev=exec_prefix ;;
990   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
991   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
992   | --exec=* | --exe=* | --ex=*)
993     exec_prefix=$ac_optarg ;;
994
995   -gas | --gas | --ga | --g)
996     # Obsolete; use --with-gas.
997     with_gas=yes ;;
998
999   -help | --help | --hel | --he | -h)
1000     ac_init_help=long ;;
1001   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1002     ac_init_help=recursive ;;
1003   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1004     ac_init_help=short ;;
1005
1006   -host | --host | --hos | --ho)
1007     ac_prev=host_alias ;;
1008   -host=* | --host=* | --hos=* | --ho=*)
1009     host_alias=$ac_optarg ;;
1010
1011   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1012     ac_prev=htmldir ;;
1013   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1014   | --ht=*)
1015     htmldir=$ac_optarg ;;
1016
1017   -includedir | --includedir | --includedi | --included | --include \
1018   | --includ | --inclu | --incl | --inc)
1019     ac_prev=includedir ;;
1020   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1021   | --includ=* | --inclu=* | --incl=* | --inc=*)
1022     includedir=$ac_optarg ;;
1023
1024   -infodir | --infodir | --infodi | --infod | --info | --inf)
1025     ac_prev=infodir ;;
1026   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1027     infodir=$ac_optarg ;;
1028
1029   -libdir | --libdir | --libdi | --libd)
1030     ac_prev=libdir ;;
1031   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1032     libdir=$ac_optarg ;;
1033
1034   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1035   | --libexe | --libex | --libe)
1036     ac_prev=libexecdir ;;
1037   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1038   | --libexe=* | --libex=* | --libe=*)
1039     libexecdir=$ac_optarg ;;
1040
1041   -localedir | --localedir | --localedi | --localed | --locale)
1042     ac_prev=localedir ;;
1043   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1044     localedir=$ac_optarg ;;
1045
1046   -localstatedir | --localstatedir | --localstatedi | --localstated \
1047   | --localstate | --localstat | --localsta | --localst | --locals)
1048     ac_prev=localstatedir ;;
1049   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1050   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1051     localstatedir=$ac_optarg ;;
1052
1053   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1054     ac_prev=mandir ;;
1055   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1056     mandir=$ac_optarg ;;
1057
1058   -nfp | --nfp | --nf)
1059     # Obsolete; use --without-fp.
1060     with_fp=no ;;
1061
1062   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1063   | --no-cr | --no-c | -n)
1064     no_create=yes ;;
1065
1066   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1067   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1068     no_recursion=yes ;;
1069
1070   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1071   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1072   | --oldin | --oldi | --old | --ol | --o)
1073     ac_prev=oldincludedir ;;
1074   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1075   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1076   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1077     oldincludedir=$ac_optarg ;;
1078
1079   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1080     ac_prev=prefix ;;
1081   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1082     prefix=$ac_optarg ;;
1083
1084   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1085   | --program-pre | --program-pr | --program-p)
1086     ac_prev=program_prefix ;;
1087   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1088   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1089     program_prefix=$ac_optarg ;;
1090
1091   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1092   | --program-suf | --program-su | --program-s)
1093     ac_prev=program_suffix ;;
1094   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1095   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1096     program_suffix=$ac_optarg ;;
1097
1098   -program-transform-name | --program-transform-name \
1099   | --program-transform-nam | --program-transform-na \
1100   | --program-transform-n | --program-transform- \
1101   | --program-transform | --program-transfor \
1102   | --program-transfo | --program-transf \
1103   | --program-trans | --program-tran \
1104   | --progr-tra | --program-tr | --program-t)
1105     ac_prev=program_transform_name ;;
1106   -program-transform-name=* | --program-transform-name=* \
1107   | --program-transform-nam=* | --program-transform-na=* \
1108   | --program-transform-n=* | --program-transform-=* \
1109   | --program-transform=* | --program-transfor=* \
1110   | --program-transfo=* | --program-transf=* \
1111   | --program-trans=* | --program-tran=* \
1112   | --progr-tra=* | --program-tr=* | --program-t=*)
1113     program_transform_name=$ac_optarg ;;
1114
1115   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1116     ac_prev=pdfdir ;;
1117   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1118     pdfdir=$ac_optarg ;;
1119
1120   -psdir | --psdir | --psdi | --psd | --ps)
1121     ac_prev=psdir ;;
1122   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1123     psdir=$ac_optarg ;;
1124
1125   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1126   | -silent | --silent | --silen | --sile | --sil)
1127     silent=yes ;;
1128
1129   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1130     ac_prev=sbindir ;;
1131   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1132   | --sbi=* | --sb=*)
1133     sbindir=$ac_optarg ;;
1134
1135   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1136   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1137   | --sharedst | --shareds | --shared | --share | --shar \
1138   | --sha | --sh)
1139     ac_prev=sharedstatedir ;;
1140   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1141   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1142   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1143   | --sha=* | --sh=*)
1144     sharedstatedir=$ac_optarg ;;
1145
1146   -site | --site | --sit)
1147     ac_prev=site ;;
1148   -site=* | --site=* | --sit=*)
1149     site=$ac_optarg ;;
1150
1151   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1152     ac_prev=srcdir ;;
1153   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1154     srcdir=$ac_optarg ;;
1155
1156   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1157   | --syscon | --sysco | --sysc | --sys | --sy)
1158     ac_prev=sysconfdir ;;
1159   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1160   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1161     sysconfdir=$ac_optarg ;;
1162
1163   -target | --target | --targe | --targ | --tar | --ta | --t)
1164     ac_prev=target_alias ;;
1165   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1166     target_alias=$ac_optarg ;;
1167
1168   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1169     verbose=yes ;;
1170
1171   -version | --version | --versio | --versi | --vers | -V)
1172     ac_init_version=: ;;
1173
1174   -with-* | --with-*)
1175     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1176     # Reject names that are not valid shell variable names.
1177     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1178       as_fn_error $? "invalid package name: $ac_useropt"
1179     ac_useropt_orig=$ac_useropt
1180     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181     case $ac_user_opts in
1182       *"
1183 "with_$ac_useropt"
1184 "*) ;;
1185       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1186          ac_unrecognized_sep=', ';;
1187     esac
1188     eval with_$ac_useropt=\$ac_optarg ;;
1189
1190   -without-* | --without-*)
1191     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1192     # Reject names that are not valid shell variable names.
1193     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1194       as_fn_error $? "invalid package name: $ac_useropt"
1195     ac_useropt_orig=$ac_useropt
1196     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197     case $ac_user_opts in
1198       *"
1199 "with_$ac_useropt"
1200 "*) ;;
1201       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1202          ac_unrecognized_sep=', ';;
1203     esac
1204     eval with_$ac_useropt=no ;;
1205
1206   --x)
1207     # Obsolete; use --with-x.
1208     with_x=yes ;;
1209
1210   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1211   | --x-incl | --x-inc | --x-in | --x-i)
1212     ac_prev=x_includes ;;
1213   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1214   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1215     x_includes=$ac_optarg ;;
1216
1217   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1218   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1219     ac_prev=x_libraries ;;
1220   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1221   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1222     x_libraries=$ac_optarg ;;
1223
1224   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1225 Try \`$0 --help' for more information"
1226     ;;
1227
1228   *=*)
1229     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1230     # Reject names that are not valid shell variable names.
1231     case $ac_envvar in #(
1232       '' | [0-9]* | *[!_$as_cr_alnum]* )
1233       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1234     esac
1235     eval $ac_envvar=\$ac_optarg
1236     export $ac_envvar ;;
1237
1238   *)
1239     # FIXME: should be removed in autoconf 3.0.
1240     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1241     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1242       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1243     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1244     ;;
1245
1246   esac
1247 done
1248
1249 if test -n "$ac_prev"; then
1250   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1251   as_fn_error $? "missing argument to $ac_option"
1252 fi
1253
1254 if test -n "$ac_unrecognized_opts"; then
1255   case $enable_option_checking in
1256     no) ;;
1257     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1258     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1259   esac
1260 fi
1261
1262 # Check all directory arguments for consistency.
1263 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1264                 datadir sysconfdir sharedstatedir localstatedir includedir \
1265                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1266                 libdir localedir mandir
1267 do
1268   eval ac_val=\$$ac_var
1269   # Remove trailing slashes.
1270   case $ac_val in
1271     */ )
1272       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1273       eval $ac_var=\$ac_val;;
1274   esac
1275   # Be sure to have absolute directory names.
1276   case $ac_val in
1277     [\\/$]* | ?:[\\/]* )  continue;;
1278     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1279   esac
1280   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1281 done
1282
1283 # There might be people who depend on the old broken behavior: `$host'
1284 # used to hold the argument of --host etc.
1285 # FIXME: To remove some day.
1286 build=$build_alias
1287 host=$host_alias
1288 target=$target_alias
1289
1290 # FIXME: To remove some day.
1291 if test "x$host_alias" != x; then
1292   if test "x$build_alias" = x; then
1293     cross_compiling=maybe
1294   elif test "x$build_alias" != "x$host_alias"; then
1295     cross_compiling=yes
1296   fi
1297 fi
1298
1299 ac_tool_prefix=
1300 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1301
1302 test "$silent" = yes && exec 6>/dev/null
1303
1304
1305 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1306 ac_ls_di=`ls -di .` &&
1307 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1308   as_fn_error $? "working directory cannot be determined"
1309 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1310   as_fn_error $? "pwd does not report name of working directory"
1311
1312
1313 # Find the source files, if location was not specified.
1314 if test -z "$srcdir"; then
1315   ac_srcdir_defaulted=yes
1316   # Try the directory containing this script, then the parent directory.
1317   ac_confdir=`$as_dirname -- "$as_myself" ||
1318 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1319          X"$as_myself" : 'X\(//\)[^/]' \| \
1320          X"$as_myself" : 'X\(//\)$' \| \
1321          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1322 $as_echo X"$as_myself" |
1323     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1324             s//\1/
1325             q
1326           }
1327           /^X\(\/\/\)[^/].*/{
1328             s//\1/
1329             q
1330           }
1331           /^X\(\/\/\)$/{
1332             s//\1/
1333             q
1334           }
1335           /^X\(\/\).*/{
1336             s//\1/
1337             q
1338           }
1339           s/.*/./; q'`
1340   srcdir=$ac_confdir
1341   if test ! -r "$srcdir/$ac_unique_file"; then
1342     srcdir=..
1343   fi
1344 else
1345   ac_srcdir_defaulted=no
1346 fi
1347 if test ! -r "$srcdir/$ac_unique_file"; then
1348   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1349   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1350 fi
1351 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1352 ac_abs_confdir=`(
1353         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1354         pwd)`
1355 # When building in place, set srcdir=.
1356 if test "$ac_abs_confdir" = "$ac_pwd"; then
1357   srcdir=.
1358 fi
1359 # Remove unnecessary trailing slashes from srcdir.
1360 # Double slashes in file names in object file debugging info
1361 # mess up M-x gdb in Emacs.
1362 case $srcdir in
1363 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1364 esac
1365 for ac_var in $ac_precious_vars; do
1366   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1367   eval ac_env_${ac_var}_value=\$${ac_var}
1368   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1369   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1370 done
1371
1372 #
1373 # Report the --help message.
1374 #
1375 if test "$ac_init_help" = "long"; then
1376   # Omit some internal or obsolete options to make the list less imposing.
1377   # This message is too long to be a string in the A/UX 3.1 sh.
1378   cat <<_ACEOF
1379 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1380
1381 Usage: $0 [OPTION]... [VAR=VALUE]...
1382
1383 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1384 VAR=VALUE.  See below for descriptions of some of the useful variables.
1385
1386 Defaults for the options are specified in brackets.
1387
1388 Configuration:
1389   -h, --help              display this help and exit
1390       --help=short        display options specific to this package
1391       --help=recursive    display the short help of all the included packages
1392   -V, --version           display version information and exit
1393   -q, --quiet, --silent   do not print \`checking ...' messages
1394       --cache-file=FILE   cache test results in FILE [disabled]
1395   -C, --config-cache      alias for \`--cache-file=config.cache'
1396   -n, --no-create         do not create output files
1397       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1398
1399 Installation directories:
1400   --prefix=PREFIX         install architecture-independent files in PREFIX
1401                           [$ac_default_prefix]
1402   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1403                           [PREFIX]
1404
1405 By default, \`make install' will install all the files in
1406 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1407 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1408 for instance \`--prefix=\$HOME'.
1409
1410 For better control, use the options below.
1411
1412 Fine tuning of the installation directories:
1413   --bindir=DIR            user executables [EPREFIX/bin]
1414   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1415   --libexecdir=DIR        program executables [EPREFIX/libexec]
1416   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1417   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1418   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1419   --libdir=DIR            object code libraries [EPREFIX/lib]
1420   --includedir=DIR        C header files [PREFIX/include]
1421   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1422   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1423   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1424   --infodir=DIR           info documentation [DATAROOTDIR/info]
1425   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1426   --mandir=DIR            man documentation [DATAROOTDIR/man]
1427   --docdir=DIR            documentation root [DATAROOTDIR/doc/libgfortran]
1428   --htmldir=DIR           html documentation [DOCDIR]
1429   --dvidir=DIR            dvi documentation [DOCDIR]
1430   --pdfdir=DIR            pdf documentation [DOCDIR]
1431   --psdir=DIR             ps documentation [DOCDIR]
1432 _ACEOF
1433
1434   cat <<\_ACEOF
1435
1436 Program names:
1437   --program-prefix=PREFIX            prepend PREFIX to installed program names
1438   --program-suffix=SUFFIX            append SUFFIX to installed program names
1439   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1440
1441 System types:
1442   --build=BUILD     configure for building on BUILD [guessed]
1443   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1444   --target=TARGET   configure for building compilers for TARGET [HOST]
1445 _ACEOF
1446 fi
1447
1448 if test -n "$ac_init_help"; then
1449   case $ac_init_help in
1450      short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1451    esac
1452   cat <<\_ACEOF
1453
1454 Optional Features:
1455   --disable-option-checking  ignore unrecognized --enable/--with options
1456   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1457   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1458   --enable-version-specific-runtime-libs
1459                           specify that runtime libraries should be installed
1460                           in a compiler-specific directory
1461   --enable-intermodule    build the library in one step
1462   --enable-silent-rules   less verbose build output (undo: "make V=1")
1463   --disable-silent-rules  verbose build output (undo: "make V=0")
1464   --enable-maintainer-mode
1465                           enable make rules and dependencies not useful (and
1466                           sometimes confusing) to the casual installer
1467   --enable-multilib       build many library versions (default)
1468   --enable-dependency-tracking
1469                           do not reject slow dependency extractors
1470   --disable-dependency-tracking
1471                           speeds up one-time build
1472   --enable-cet            enable Intel CET in target libraries [default=auto]
1473   --disable-symvers       disable symbol versioning for libgfortran
1474   --enable-shared[=PKGS]  build shared libraries [default=yes]
1475   --enable-static[=PKGS]  build static libraries [default=yes]
1476   --enable-fast-install[=PKGS]
1477                           optimize for fast installation [default=yes]
1478   --disable-libtool-lock  avoid locking (might break parallel builds)
1479   --disable-largefile     omit support for large files
1480   --disable-libquadmath-support
1481                           disable libquadmath support for Fortran
1482
1483 Optional Packages:
1484   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1485   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1486   --with-build-libsubdir=DIR  Directory where to find libraries for build system
1487   --with-toolexeclibdir=DIR
1488                           install libraries built with a cross compiler within
1489                           DIR
1490   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1491   --with-pic              try to use only PIC/non-PIC objects [default=use
1492                           both]
1493   --with-gcc-major-version-only
1494                           use only GCC major number in filesystem paths
1495
1496 Some influential environment variables:
1497   CC          C compiler command
1498   CFLAGS      C compiler flags
1499   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1500               nonstandard directory <lib dir>
1501   LIBS        libraries to pass to the linker, e.g. -l<library>
1502   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1503               you have headers in a nonstandard directory <include dir>
1504   CPP         C preprocessor
1505   FC          Fortran compiler command
1506   FCFLAGS     Fortran compiler flags
1507
1508 Use these variables to override the choices made by `configure' or to help
1509 it to find libraries and programs with nonstandard names/locations.
1510
1511 Report bugs to the package provider.
1512 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1513 General help using GNU software: <http://www.gnu.org/gethelp/>.
1514 _ACEOF
1515 ac_status=$?
1516 fi
1517
1518 if test "$ac_init_help" = "recursive"; then
1519   # If there are subdirs, report their specific --help.
1520   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1521     test -d "$ac_dir" ||
1522       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1523       continue
1524     ac_builddir=.
1525
1526 case "$ac_dir" in
1527 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1528 *)
1529   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1530   # A ".." for each directory in $ac_dir_suffix.
1531   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1532   case $ac_top_builddir_sub in
1533   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1534   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1535   esac ;;
1536 esac
1537 ac_abs_top_builddir=$ac_pwd
1538 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1539 # for backward compatibility:
1540 ac_top_builddir=$ac_top_build_prefix
1541
1542 case $srcdir in
1543   .)  # We are building in place.
1544     ac_srcdir=.
1545     ac_top_srcdir=$ac_top_builddir_sub
1546     ac_abs_top_srcdir=$ac_pwd ;;
1547   [\\/]* | ?:[\\/]* )  # Absolute name.
1548     ac_srcdir=$srcdir$ac_dir_suffix;
1549     ac_top_srcdir=$srcdir
1550     ac_abs_top_srcdir=$srcdir ;;
1551   *) # Relative name.
1552     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1553     ac_top_srcdir=$ac_top_build_prefix$srcdir
1554     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1555 esac
1556 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1557
1558     cd "$ac_dir" || { ac_status=$?; continue; }
1559     # Check for guested configure.
1560     if test -f "$ac_srcdir/configure.gnu"; then
1561       echo &&
1562       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1563     elif test -f "$ac_srcdir/configure"; then
1564       echo &&
1565       $SHELL "$ac_srcdir/configure" --help=recursive
1566     else
1567       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1568     fi || ac_status=$?
1569     cd "$ac_pwd" || { ac_status=$?; break; }
1570   done
1571 fi
1572
1573 test -n "$ac_init_help" && exit $ac_status
1574 if $ac_init_version; then
1575   cat <<\_ACEOF
1576 GNU Fortran Runtime Library configure 0.3
1577 generated by GNU Autoconf 2.69
1578
1579 Copyright (C) 2012 Free Software Foundation, Inc.
1580 This configure script is free software; the Free Software Foundation
1581 gives unlimited permission to copy, distribute and modify it.
1582 _ACEOF
1583   exit
1584 fi
1585
1586 ## ------------------------ ##
1587 ## Autoconf initialization. ##
1588 ## ------------------------ ##
1589
1590 # ac_fn_c_try_compile LINENO
1591 # --------------------------
1592 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1593 ac_fn_c_try_compile ()
1594 {
1595   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596   rm -f conftest.$ac_objext
1597   if { { ac_try="$ac_compile"
1598 case "(($ac_try" in
1599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1600   *) ac_try_echo=$ac_try;;
1601 esac
1602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603 $as_echo "$ac_try_echo"; } >&5
1604   (eval "$ac_compile") 2>conftest.err
1605   ac_status=$?
1606   if test -s conftest.err; then
1607     grep -v '^ *+' conftest.err >conftest.er1
1608     cat conftest.er1 >&5
1609     mv -f conftest.er1 conftest.err
1610   fi
1611   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612   test $ac_status = 0; } && {
1613          test -z "$ac_c_werror_flag" ||
1614          test ! -s conftest.err
1615        } && test -s conftest.$ac_objext; then :
1616   ac_retval=0
1617 else
1618   $as_echo "$as_me: failed program was:" >&5
1619 sed 's/^/| /' conftest.$ac_ext >&5
1620
1621         ac_retval=1
1622 fi
1623   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1624   as_fn_set_status $ac_retval
1625
1626 } # ac_fn_c_try_compile
1627
1628 # ac_fn_c_try_cpp LINENO
1629 # ----------------------
1630 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1631 ac_fn_c_try_cpp ()
1632 {
1633   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1634   if { { ac_try="$ac_cpp conftest.$ac_ext"
1635 case "(($ac_try" in
1636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1637   *) ac_try_echo=$ac_try;;
1638 esac
1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1640 $as_echo "$ac_try_echo"; } >&5
1641   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1642   ac_status=$?
1643   if test -s conftest.err; then
1644     grep -v '^ *+' conftest.err >conftest.er1
1645     cat conftest.er1 >&5
1646     mv -f conftest.er1 conftest.err
1647   fi
1648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649   test $ac_status = 0; } > conftest.i && {
1650          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1651          test ! -s conftest.err
1652        }; then :
1653   ac_retval=0
1654 else
1655   $as_echo "$as_me: failed program was:" >&5
1656 sed 's/^/| /' conftest.$ac_ext >&5
1657
1658     ac_retval=1
1659 fi
1660   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661   as_fn_set_status $ac_retval
1662
1663 } # ac_fn_c_try_cpp
1664
1665 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1666 # -------------------------------------------------------
1667 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1668 # the include files in INCLUDES and setting the cache variable VAR
1669 # accordingly.
1670 ac_fn_c_check_header_mongrel ()
1671 {
1672   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673   if eval \${$3+:} false; then :
1674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1675 $as_echo_n "checking for $2... " >&6; }
1676 if eval \${$3+:} false; then :
1677   $as_echo_n "(cached) " >&6
1678 fi
1679 eval ac_res=\$$3
1680                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1681 $as_echo "$ac_res" >&6; }
1682 else
1683   # Is the header compilable?
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1685 $as_echo_n "checking $2 usability... " >&6; }
1686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1687 /* end confdefs.h.  */
1688 $4
1689 #include <$2>
1690 _ACEOF
1691 if ac_fn_c_try_compile "$LINENO"; then :
1692   ac_header_compiler=yes
1693 else
1694   ac_header_compiler=no
1695 fi
1696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1698 $as_echo "$ac_header_compiler" >&6; }
1699
1700 # Is the header present?
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1702 $as_echo_n "checking $2 presence... " >&6; }
1703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1704 /* end confdefs.h.  */
1705 #include <$2>
1706 _ACEOF
1707 if ac_fn_c_try_cpp "$LINENO"; then :
1708   ac_header_preproc=yes
1709 else
1710   ac_header_preproc=no
1711 fi
1712 rm -f conftest.err conftest.i conftest.$ac_ext
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1714 $as_echo "$ac_header_preproc" >&6; }
1715
1716 # So?  What about this header?
1717 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1718   yes:no: )
1719     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1720 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1721     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1722 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1723     ;;
1724   no:yes:* )
1725     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1726 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1727     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1728 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1729     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1730 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1731     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1732 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1733     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1734 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1735     ;;
1736 esac
1737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1738 $as_echo_n "checking for $2... " >&6; }
1739 if eval \${$3+:} false; then :
1740   $as_echo_n "(cached) " >&6
1741 else
1742   eval "$3=\$ac_header_compiler"
1743 fi
1744 eval ac_res=\$$3
1745                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1746 $as_echo "$ac_res" >&6; }
1747 fi
1748   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749
1750 } # ac_fn_c_check_header_mongrel
1751
1752 # ac_fn_c_try_run LINENO
1753 # ----------------------
1754 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1755 # that executables *can* be run.
1756 ac_fn_c_try_run ()
1757 {
1758   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759   if { { ac_try="$ac_link"
1760 case "(($ac_try" in
1761   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762   *) ac_try_echo=$ac_try;;
1763 esac
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766   (eval "$ac_link") 2>&5
1767   ac_status=$?
1768   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1770   { { case "(($ac_try" in
1771   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772   *) ac_try_echo=$ac_try;;
1773 esac
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776   (eval "$ac_try") 2>&5
1777   ac_status=$?
1778   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779   test $ac_status = 0; }; }; then :
1780   ac_retval=0
1781 else
1782   $as_echo "$as_me: program exited with status $ac_status" >&5
1783        $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.$ac_ext >&5
1785
1786        ac_retval=$ac_status
1787 fi
1788   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1789   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790   as_fn_set_status $ac_retval
1791
1792 } # ac_fn_c_try_run
1793
1794 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1795 # -------------------------------------------------------
1796 # Tests whether HEADER exists and can be compiled using the include files in
1797 # INCLUDES, setting the cache variable VAR accordingly.
1798 ac_fn_c_check_header_compile ()
1799 {
1800   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1802 $as_echo_n "checking for $2... " >&6; }
1803 if eval \${$3+:} false; then :
1804   $as_echo_n "(cached) " >&6
1805 else
1806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h.  */
1808 $4
1809 #include <$2>
1810 _ACEOF
1811 if ac_fn_c_try_compile "$LINENO"; then :
1812   eval "$3=yes"
1813 else
1814   eval "$3=no"
1815 fi
1816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1817 fi
1818 eval ac_res=\$$3
1819                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1820 $as_echo "$ac_res" >&6; }
1821   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822
1823 } # ac_fn_c_check_header_compile
1824
1825 # ac_fn_c_try_link LINENO
1826 # -----------------------
1827 # Try to link conftest.$ac_ext, and return whether this succeeded.
1828 ac_fn_c_try_link ()
1829 {
1830   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831   rm -f conftest.$ac_objext conftest$ac_exeext
1832   if { { ac_try="$ac_link"
1833 case "(($ac_try" in
1834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1835   *) ac_try_echo=$ac_try;;
1836 esac
1837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839   (eval "$ac_link") 2>conftest.err
1840   ac_status=$?
1841   if test -s conftest.err; then
1842     grep -v '^ *+' conftest.err >conftest.er1
1843     cat conftest.er1 >&5
1844     mv -f conftest.er1 conftest.err
1845   fi
1846   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847   test $ac_status = 0; } && {
1848          test -z "$ac_c_werror_flag" ||
1849          test ! -s conftest.err
1850        } && test -s conftest$ac_exeext && {
1851          test "$cross_compiling" = yes ||
1852          test -x conftest$ac_exeext
1853        }; then :
1854   ac_retval=0
1855 else
1856   $as_echo "$as_me: failed program was:" >&5
1857 sed 's/^/| /' conftest.$ac_ext >&5
1858
1859         ac_retval=1
1860 fi
1861   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1862   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1863   # interfere with the next link command; also delete a directory that is
1864   # left behind by Apple's compiler.  We do this before executing the actions.
1865   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1866   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1867   as_fn_set_status $ac_retval
1868
1869 } # ac_fn_c_try_link
1870
1871 # ac_fn_c_check_func LINENO FUNC VAR
1872 # ----------------------------------
1873 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1874 ac_fn_c_check_func ()
1875 {
1876   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1878 $as_echo_n "checking for $2... " >&6; }
1879 if eval \${$3+:} false; then :
1880   $as_echo_n "(cached) " >&6
1881 else
1882   if test x$gcc_no_link = xyes; then
1883   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1884 fi
1885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886 /* end confdefs.h.  */
1887 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1888    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1889 #define $2 innocuous_$2
1890
1891 /* System header to define __stub macros and hopefully few prototypes,
1892     which can conflict with char $2 (); below.
1893     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1894     <limits.h> exists even on freestanding compilers.  */
1895
1896 #ifdef __STDC__
1897 # include <limits.h>
1898 #else
1899 # include <assert.h>
1900 #endif
1901
1902 #undef $2
1903
1904 /* Override any GCC internal prototype to avoid an error.
1905    Use char because int might match the return type of a GCC
1906    builtin and then its argument prototype would still apply.  */
1907 #ifdef __cplusplus
1908 extern "C"
1909 #endif
1910 char $2 ();
1911 /* The GNU C library defines this for functions which it implements
1912     to always fail with ENOSYS.  Some functions are actually named
1913     something starting with __ and the normal name is an alias.  */
1914 #if defined __stub_$2 || defined __stub___$2
1915 choke me
1916 #endif
1917
1918 int
1919 main ()
1920 {
1921 return $2 ();
1922   ;
1923   return 0;
1924 }
1925 _ACEOF
1926 if ac_fn_c_try_link "$LINENO"; then :
1927   eval "$3=yes"
1928 else
1929   eval "$3=no"
1930 fi
1931 rm -f core conftest.err conftest.$ac_objext \
1932     conftest$ac_exeext conftest.$ac_ext
1933 fi
1934 eval ac_res=\$$3
1935                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1936 $as_echo "$ac_res" >&6; }
1937   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1938
1939 } # ac_fn_c_check_func
1940
1941 # ac_fn_fc_try_compile LINENO
1942 # ---------------------------
1943 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1944 ac_fn_fc_try_compile ()
1945 {
1946   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1947   rm -f conftest.$ac_objext
1948   if { { ac_try="$ac_compile"
1949 case "(($ac_try" in
1950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1951   *) ac_try_echo=$ac_try;;
1952 esac
1953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1954 $as_echo "$ac_try_echo"; } >&5
1955   (eval "$ac_compile") 2>conftest.err
1956   ac_status=$?
1957   if test -s conftest.err; then
1958     grep -v '^ *+' conftest.err >conftest.er1
1959     cat conftest.er1 >&5
1960     mv -f conftest.er1 conftest.err
1961   fi
1962   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1963   test $ac_status = 0; } && {
1964          test -z "$ac_fc_werror_flag" ||
1965          test ! -s conftest.err
1966        } && test -s conftest.$ac_objext; then :
1967   ac_retval=0
1968 else
1969   $as_echo "$as_me: failed program was:" >&5
1970 sed 's/^/| /' conftest.$ac_ext >&5
1971
1972         ac_retval=1
1973 fi
1974   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1975   as_fn_set_status $ac_retval
1976
1977 } # ac_fn_fc_try_compile
1978
1979 # ac_fn_fc_try_link LINENO
1980 # ------------------------
1981 # Try to link conftest.$ac_ext, and return whether this succeeded.
1982 ac_fn_fc_try_link ()
1983 {
1984   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1985   rm -f conftest.$ac_objext conftest$ac_exeext
1986   if { { ac_try="$ac_link"
1987 case "(($ac_try" in
1988   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1989   *) ac_try_echo=$ac_try;;
1990 esac
1991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1992 $as_echo "$ac_try_echo"; } >&5
1993   (eval "$ac_link") 2>conftest.err
1994   ac_status=$?
1995   if test -s conftest.err; then
1996     grep -v '^ *+' conftest.err >conftest.er1
1997     cat conftest.er1 >&5
1998     mv -f conftest.er1 conftest.err
1999   fi
2000   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2001   test $ac_status = 0; } && {
2002          test -z "$ac_fc_werror_flag" ||
2003          test ! -s conftest.err
2004        } && test -s conftest$ac_exeext && {
2005          test "$cross_compiling" = yes ||
2006          test -x conftest$ac_exeext
2007        }; then :
2008   ac_retval=0
2009 else
2010   $as_echo "$as_me: failed program was:" >&5
2011 sed 's/^/| /' conftest.$ac_ext >&5
2012
2013         ac_retval=1
2014 fi
2015   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2016   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2017   # interfere with the next link command; also delete a directory that is
2018   # left behind by Apple's compiler.  We do this before executing the actions.
2019   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2020   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2021   as_fn_set_status $ac_retval
2022
2023 } # ac_fn_fc_try_link
2024
2025 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2026 # -------------------------------------------
2027 # Tests whether TYPE exists after having included INCLUDES, setting cache
2028 # variable VAR accordingly.
2029 ac_fn_c_check_type ()
2030 {
2031   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2033 $as_echo_n "checking for $2... " >&6; }
2034 if eval \${$3+:} false; then :
2035   $as_echo_n "(cached) " >&6
2036 else
2037   eval "$3=no"
2038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2039 /* end confdefs.h.  */
2040 $4
2041 int
2042 main ()
2043 {
2044 if (sizeof ($2))
2045          return 0;
2046   ;
2047   return 0;
2048 }
2049 _ACEOF
2050 if ac_fn_c_try_compile "$LINENO"; then :
2051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2052 /* end confdefs.h.  */
2053 $4
2054 int
2055 main ()
2056 {
2057 if (sizeof (($2)))
2058             return 0;
2059   ;
2060   return 0;
2061 }
2062 _ACEOF
2063 if ac_fn_c_try_compile "$LINENO"; then :
2064
2065 else
2066   eval "$3=yes"
2067 fi
2068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2069 fi
2070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2071 fi
2072 eval ac_res=\$$3
2073                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2074 $as_echo "$ac_res" >&6; }
2075   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2076
2077 } # ac_fn_c_check_type
2078
2079 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2080 # --------------------------------------------
2081 # Tries to find the compile-time value of EXPR in a program that includes
2082 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2083 # computed
2084 ac_fn_c_compute_int ()
2085 {
2086   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2087   if test "$cross_compiling" = yes; then
2088     # Depending upon the size, compute the lo and hi bounds.
2089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2090 /* end confdefs.h.  */
2091 $4
2092 int
2093 main ()
2094 {
2095 static int test_array [1 - 2 * !(($2) >= 0)];
2096 test_array [0] = 0;
2097 return test_array [0];
2098
2099   ;
2100   return 0;
2101 }
2102 _ACEOF
2103 if ac_fn_c_try_compile "$LINENO"; then :
2104   ac_lo=0 ac_mid=0
2105   while :; do
2106     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2107 /* end confdefs.h.  */
2108 $4
2109 int
2110 main ()
2111 {
2112 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2113 test_array [0] = 0;
2114 return test_array [0];
2115
2116   ;
2117   return 0;
2118 }
2119 _ACEOF
2120 if ac_fn_c_try_compile "$LINENO"; then :
2121   ac_hi=$ac_mid; break
2122 else
2123   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2124                         if test $ac_lo -le $ac_mid; then
2125                           ac_lo= ac_hi=
2126                           break
2127                         fi
2128                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2129 fi
2130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2131   done
2132 else
2133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2134 /* end confdefs.h.  */
2135 $4
2136 int
2137 main ()
2138 {
2139 static int test_array [1 - 2 * !(($2) < 0)];
2140 test_array [0] = 0;
2141 return test_array [0];
2142
2143   ;
2144   return 0;
2145 }
2146 _ACEOF
2147 if ac_fn_c_try_compile "$LINENO"; then :
2148   ac_hi=-1 ac_mid=-1
2149   while :; do
2150     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2151 /* end confdefs.h.  */
2152 $4
2153 int
2154 main ()
2155 {
2156 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2157 test_array [0] = 0;
2158 return test_array [0];
2159
2160   ;
2161   return 0;
2162 }
2163 _ACEOF
2164 if ac_fn_c_try_compile "$LINENO"; then :
2165   ac_lo=$ac_mid; break
2166 else
2167   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2168                         if test $ac_mid -le $ac_hi; then
2169                           ac_lo= ac_hi=
2170                           break
2171                         fi
2172                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2173 fi
2174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2175   done
2176 else
2177   ac_lo= ac_hi=
2178 fi
2179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2180 fi
2181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2182 # Binary search between lo and hi bounds.
2183 while test "x$ac_lo" != "x$ac_hi"; do
2184   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2186 /* end confdefs.h.  */
2187 $4
2188 int
2189 main ()
2190 {
2191 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2192 test_array [0] = 0;
2193 return test_array [0];
2194
2195   ;
2196   return 0;
2197 }
2198 _ACEOF
2199 if ac_fn_c_try_compile "$LINENO"; then :
2200   ac_hi=$ac_mid
2201 else
2202   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2203 fi
2204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2205 done
2206 case $ac_lo in #((
2207 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2208 '') ac_retval=1 ;;
2209 esac
2210   else
2211     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2212 /* end confdefs.h.  */
2213 $4
2214 static long int longval () { return $2; }
2215 static unsigned long int ulongval () { return $2; }
2216 #include <stdio.h>
2217 #include <stdlib.h>
2218 int
2219 main ()
2220 {
2221
2222   FILE *f = fopen ("conftest.val", "w");
2223   if (! f)
2224     return 1;
2225   if (($2) < 0)
2226     {
2227       long int i = longval ();
2228       if (i != ($2))
2229         return 1;
2230       fprintf (f, "%ld", i);
2231     }
2232   else
2233     {
2234       unsigned long int i = ulongval ();
2235       if (i != ($2))
2236         return 1;
2237       fprintf (f, "%lu", i);
2238     }
2239   /* Do not output a trailing newline, as this causes \r\n confusion
2240      on some platforms.  */
2241   return ferror (f) || fclose (f) != 0;
2242
2243   ;
2244   return 0;
2245 }
2246 _ACEOF
2247 if ac_fn_c_try_run "$LINENO"; then :
2248   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2249 else
2250   ac_retval=1
2251 fi
2252 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2253   conftest.$ac_objext conftest.beam conftest.$ac_ext
2254 rm -f conftest.val
2255
2256   fi
2257   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2258   as_fn_set_status $ac_retval
2259
2260 } # ac_fn_c_compute_int
2261
2262 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2263 # ----------------------------------------------------
2264 # Tries to find if the field MEMBER exists in type AGGR, after including
2265 # INCLUDES, setting cache variable VAR accordingly.
2266 ac_fn_c_check_member ()
2267 {
2268   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2270 $as_echo_n "checking for $2.$3... " >&6; }
2271 if eval \${$4+:} false; then :
2272   $as_echo_n "(cached) " >&6
2273 else
2274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2275 /* end confdefs.h.  */
2276 $5
2277 int
2278 main ()
2279 {
2280 static $2 ac_aggr;
2281 if (ac_aggr.$3)
2282 return 0;
2283   ;
2284   return 0;
2285 }
2286 _ACEOF
2287 if ac_fn_c_try_compile "$LINENO"; then :
2288   eval "$4=yes"
2289 else
2290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2291 /* end confdefs.h.  */
2292 $5
2293 int
2294 main ()
2295 {
2296 static $2 ac_aggr;
2297 if (sizeof ac_aggr.$3)
2298 return 0;
2299   ;
2300   return 0;
2301 }
2302 _ACEOF
2303 if ac_fn_c_try_compile "$LINENO"; then :
2304   eval "$4=yes"
2305 else
2306   eval "$4=no"
2307 fi
2308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2309 fi
2310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2311 fi
2312 eval ac_res=\$$4
2313                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2314 $as_echo "$ac_res" >&6; }
2315   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2316
2317 } # ac_fn_c_check_member
2318 cat >config.log <<_ACEOF
2319 This file contains any messages produced by compilers while
2320 running configure, to aid debugging if configure makes a mistake.
2321
2322 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2323 generated by GNU Autoconf 2.69.  Invocation command line was
2324
2325   $ $0 $@
2326
2327 _ACEOF
2328 exec 5>>config.log
2329 {
2330 cat <<_ASUNAME
2331 ## --------- ##
2332 ## Platform. ##
2333 ## --------- ##
2334
2335 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2336 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2337 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2338 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2339 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2340
2341 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2342 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2343
2344 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2345 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2346 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2347 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2348 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2349 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2350 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2351
2352 _ASUNAME
2353
2354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2355 for as_dir in $PATH
2356 do
2357   IFS=$as_save_IFS
2358   test -z "$as_dir" && as_dir=.
2359     $as_echo "PATH: $as_dir"
2360   done
2361 IFS=$as_save_IFS
2362
2363 } >&5
2364
2365 cat >&5 <<_ACEOF
2366
2367
2368 ## ----------- ##
2369 ## Core tests. ##
2370 ## ----------- ##
2371
2372 _ACEOF
2373
2374
2375 # Keep a trace of the command line.
2376 # Strip out --no-create and --no-recursion so they do not pile up.
2377 # Strip out --silent because we don't want to record it for future runs.
2378 # Also quote any args containing shell meta-characters.
2379 # Make two passes to allow for proper duplicate-argument suppression.
2380 ac_configure_args=
2381 ac_configure_args0=
2382 ac_configure_args1=
2383 ac_must_keep_next=false
2384 for ac_pass in 1 2
2385 do
2386   for ac_arg
2387   do
2388     case $ac_arg in
2389     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2390     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2391     | -silent | --silent | --silen | --sile | --sil)
2392       continue ;;
2393     *\'*)
2394       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2395     esac
2396     case $ac_pass in
2397     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2398     2)
2399       as_fn_append ac_configure_args1 " '$ac_arg'"
2400       if test $ac_must_keep_next = true; then
2401         ac_must_keep_next=false # Got value, back to normal.
2402       else
2403         case $ac_arg in
2404           *=* | --config-cache | -C | -disable-* | --disable-* \
2405           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2406           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2407           | -with-* | --with-* | -without-* | --without-* | --x)
2408             case "$ac_configure_args0 " in
2409               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2410             esac
2411             ;;
2412           -* ) ac_must_keep_next=true ;;
2413         esac
2414       fi
2415       as_fn_append ac_configure_args " '$ac_arg'"
2416       ;;
2417     esac
2418   done
2419 done
2420 { ac_configure_args0=; unset ac_configure_args0;}
2421 { ac_configure_args1=; unset ac_configure_args1;}
2422
2423 # When interrupted or exit'd, cleanup temporary files, and complete
2424 # config.log.  We remove comments because anyway the quotes in there
2425 # would cause problems or look ugly.
2426 # WARNING: Use '\'' to represent an apostrophe within the trap.
2427 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2428 trap 'exit_status=$?
2429   # Save into config.log some information that might help in debugging.
2430   {
2431     echo
2432
2433     $as_echo "## ---------------- ##
2434 ## Cache variables. ##
2435 ## ---------------- ##"
2436     echo
2437     # The following way of writing the cache mishandles newlines in values,
2438 (
2439   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2440     eval ac_val=\$$ac_var
2441     case $ac_val in #(
2442     *${as_nl}*)
2443       case $ac_var in #(
2444       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2445 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2446       esac
2447       case $ac_var in #(
2448       _ | IFS | as_nl) ;; #(
2449       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2450       *) { eval $ac_var=; unset $ac_var;} ;;
2451       esac ;;
2452     esac
2453   done
2454   (set) 2>&1 |
2455     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2456     *${as_nl}ac_space=\ *)
2457       sed -n \
2458         "s/'\''/'\''\\\\'\'''\''/g;
2459           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2460       ;; #(
2461     *)
2462       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2463       ;;
2464     esac |
2465     sort
2466 )
2467     echo
2468
2469     $as_echo "## ----------------- ##
2470 ## Output variables. ##
2471 ## ----------------- ##"
2472     echo
2473     for ac_var in $ac_subst_vars
2474     do
2475       eval ac_val=\$$ac_var
2476       case $ac_val in
2477       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2478       esac
2479       $as_echo "$ac_var='\''$ac_val'\''"
2480     done | sort
2481     echo
2482
2483     if test -n "$ac_subst_files"; then
2484       $as_echo "## ------------------- ##
2485 ## File substitutions. ##
2486 ## ------------------- ##"
2487       echo
2488       for ac_var in $ac_subst_files
2489       do
2490         eval ac_val=\$$ac_var
2491         case $ac_val in
2492         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2493         esac
2494         $as_echo "$ac_var='\''$ac_val'\''"
2495       done | sort
2496       echo
2497     fi
2498
2499     if test -s confdefs.h; then
2500       $as_echo "## ----------- ##
2501 ## confdefs.h. ##
2502 ## ----------- ##"
2503       echo
2504       cat confdefs.h
2505       echo
2506     fi
2507     test "$ac_signal" != 0 &&
2508       $as_echo "$as_me: caught signal $ac_signal"
2509     $as_echo "$as_me: exit $exit_status"
2510   } >&5
2511   rm -f core *.core core.conftest.* &&
2512     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2513     exit $exit_status
2514 ' 0
2515 for ac_signal in 1 2 13 15; do
2516   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2517 done
2518 ac_signal=0
2519
2520 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2521 rm -f -r conftest* confdefs.h
2522
2523 $as_echo "/* confdefs.h */" > confdefs.h
2524
2525 # Predefined preprocessor variables.
2526
2527 cat >>confdefs.h <<_ACEOF
2528 #define PACKAGE_NAME "$PACKAGE_NAME"
2529 _ACEOF
2530
2531 cat >>confdefs.h <<_ACEOF
2532 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2533 _ACEOF
2534
2535 cat >>confdefs.h <<_ACEOF
2536 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2537 _ACEOF
2538
2539 cat >>confdefs.h <<_ACEOF
2540 #define PACKAGE_STRING "$PACKAGE_STRING"
2541 _ACEOF
2542
2543 cat >>confdefs.h <<_ACEOF
2544 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2545 _ACEOF
2546
2547 cat >>confdefs.h <<_ACEOF
2548 #define PACKAGE_URL "$PACKAGE_URL"
2549 _ACEOF
2550
2551
2552 # Let the site file select an alternate cache file if it wants to.
2553 # Prefer an explicitly selected file to automatically selected ones.
2554 ac_site_file1=NONE
2555 ac_site_file2=NONE
2556 if test -n "$CONFIG_SITE"; then
2557   # We do not want a PATH search for config.site.
2558   case $CONFIG_SITE in #((
2559     -*)  ac_site_file1=./$CONFIG_SITE;;
2560     */*) ac_site_file1=$CONFIG_SITE;;
2561     *)   ac_site_file1=./$CONFIG_SITE;;
2562   esac
2563 elif test "x$prefix" != xNONE; then
2564   ac_site_file1=$prefix/share/config.site
2565   ac_site_file2=$prefix/etc/config.site
2566 else
2567   ac_site_file1=$ac_default_prefix/share/config.site
2568   ac_site_file2=$ac_default_prefix/etc/config.site
2569 fi
2570 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2571 do
2572   test "x$ac_site_file" = xNONE && continue
2573   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2574     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2575 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2576     sed 's/^/| /' "$ac_site_file" >&5
2577     . "$ac_site_file" \
2578       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2580 as_fn_error $? "failed to load site script $ac_site_file
2581 See \`config.log' for more details" "$LINENO" 5; }
2582   fi
2583 done
2584
2585 if test -r "$cache_file"; then
2586   # Some versions of bash will fail to source /dev/null (special files
2587   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2588   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2589     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2590 $as_echo "$as_me: loading cache $cache_file" >&6;}
2591     case $cache_file in
2592       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2593       *)                      . "./$cache_file";;
2594     esac
2595   fi
2596 else
2597   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2598 $as_echo "$as_me: creating cache $cache_file" >&6;}
2599   >$cache_file
2600 fi
2601
2602 as_fn_append ac_header_list " unistd.h"
2603 as_fn_append ac_header_list " sys/random.h"
2604 as_fn_append ac_header_list " sys/time.h"
2605 as_fn_append ac_header_list " sys/times.h"
2606 as_fn_append ac_header_list " sys/resource.h"
2607 as_fn_append ac_header_list " sys/types.h"
2608 as_fn_append ac_header_list " sys/stat.h"
2609 as_fn_append ac_header_list " sys/uio.h"
2610 as_fn_append ac_header_list " sys/wait.h"
2611 as_fn_append ac_header_list " floatingpoint.h"
2612 as_fn_append ac_header_list " ieeefp.h"
2613 as_fn_append ac_header_list " fenv.h"
2614 as_fn_append ac_header_list " fptrap.h"
2615 as_fn_append ac_header_list " fpxcp.h"
2616 as_fn_append ac_header_list " pwd.h"
2617 as_fn_append ac_header_list " complex.h"
2618 as_fn_append ac_header_list " xlocale.h"
2619 as_fn_append ac_func_list " getrusage"
2620 as_fn_append ac_func_list " times"
2621 as_fn_append ac_func_list " mkstemp"
2622 as_fn_append ac_func_list " strtof"
2623 as_fn_append ac_func_list " strtold"
2624 as_fn_append ac_func_list " snprintf"
2625 as_fn_append ac_func_list " ftruncate"
2626 as_fn_append ac_func_list " chsize"
2627 as_fn_append ac_func_list " chdir"
2628 as_fn_append ac_func_list " getentropy"
2629 as_fn_append ac_func_list " getlogin"
2630 as_fn_append ac_func_list " gethostname"
2631 as_fn_append ac_func_list " kill"
2632 as_fn_append ac_func_list " link"
2633 as_fn_append ac_func_list " symlink"
2634 as_fn_append ac_func_list " sleep"
2635 as_fn_append ac_func_list " ttyname"
2636 as_fn_append ac_func_list " sigaction"
2637 as_fn_append ac_func_list " waitpid"
2638 as_fn_append ac_func_list " alarm"
2639 as_fn_append ac_func_list " access"
2640 as_fn_append ac_func_list " fork"
2641 as_fn_append ac_func_list " posix_spawn"
2642 as_fn_append ac_func_list " setmode"
2643 as_fn_append ac_func_list " fcntl"
2644 as_fn_append ac_func_list " writev"
2645 as_fn_append ac_func_list " gettimeofday"
2646 as_fn_append ac_func_list " stat"
2647 as_fn_append ac_func_list " fstat"
2648 as_fn_append ac_func_list " lstat"
2649 as_fn_append ac_func_list " getpwuid"
2650 as_fn_append ac_func_list " vsnprintf"
2651 as_fn_append ac_func_list " dup"
2652 as_fn_append ac_func_list " getcwd"
2653 as_fn_append ac_func_list " localtime_r"
2654 as_fn_append ac_func_list " gmtime_r"
2655 as_fn_append ac_func_list " getpwuid_r"
2656 as_fn_append ac_func_list " ttyname_r"
2657 as_fn_append ac_func_list " clock_gettime"
2658 as_fn_append ac_func_list " getgid"
2659 as_fn_append ac_func_list " getpid"
2660 as_fn_append ac_func_list " getuid"
2661 as_fn_append ac_func_list " geteuid"
2662 as_fn_append ac_func_list " umask"
2663 as_fn_append ac_func_list " getegid"
2664 as_fn_append ac_func_list " secure_getenv"
2665 as_fn_append ac_func_list " __secure_getenv"
2666 as_fn_append ac_func_list " mkostemp"
2667 as_fn_append ac_func_list " strnlen"
2668 as_fn_append ac_func_list " strndup"
2669 as_fn_append ac_func_list " newlocale"
2670 as_fn_append ac_func_list " freelocale"
2671 as_fn_append ac_func_list " uselocale"
2672 as_fn_append ac_func_list " strerror_l"
2673 as_fn_append ac_header_list " math.h"
2674 # Check that the precious variables saved in the cache have kept the same
2675 # value.
2676 ac_cache_corrupted=false
2677 for ac_var in $ac_precious_vars; do
2678   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2679   eval ac_new_set=\$ac_env_${ac_var}_set
2680   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2681   eval ac_new_val=\$ac_env_${ac_var}_value
2682   case $ac_old_set,$ac_new_set in
2683     set,)
2684       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2685 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2686       ac_cache_corrupted=: ;;
2687     ,set)
2688       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2689 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2690       ac_cache_corrupted=: ;;
2691     ,);;
2692     *)
2693       if test "x$ac_old_val" != "x$ac_new_val"; then
2694         # differences in whitespace do not lead to failure.
2695         ac_old_val_w=`echo x $ac_old_val`
2696         ac_new_val_w=`echo x $ac_new_val`
2697         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2698           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2699 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2700           ac_cache_corrupted=:
2701         else
2702           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2703 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2704           eval $ac_var=\$ac_old_val
2705         fi
2706         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2707 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2708         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2709 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2710       fi;;
2711   esac
2712   # Pass precious variables to config.status.
2713   if test "$ac_new_set" = set; then
2714     case $ac_new_val in
2715     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2716     *) ac_arg=$ac_var=$ac_new_val ;;
2717     esac
2718     case " $ac_configure_args " in
2719       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2720       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2721     esac
2722   fi
2723 done
2724 if $ac_cache_corrupted; then
2725   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2726 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2727   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2728 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2729   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2730 fi
2731 ## -------------------- ##
2732 ## Main body of script. ##
2733 ## -------------------- ##
2734
2735 ac_ext=c
2736 ac_cpp='$CPP $CPPFLAGS'
2737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2740
2741
2742
2743
2744
2745 ac_config_headers="$ac_config_headers config.h"
2746
2747 ac_aux_dir=
2748 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2749   if test -f "$ac_dir/install-sh"; then
2750     ac_aux_dir=$ac_dir
2751     ac_install_sh="$ac_aux_dir/install-sh -c"
2752     break
2753   elif test -f "$ac_dir/install.sh"; then
2754     ac_aux_dir=$ac_dir
2755     ac_install_sh="$ac_aux_dir/install.sh -c"
2756     break
2757   elif test -f "$ac_dir/shtool"; then
2758     ac_aux_dir=$ac_dir
2759     ac_install_sh="$ac_aux_dir/shtool install -c"
2760     break
2761   fi
2762 done
2763 if test -z "$ac_aux_dir"; then
2764   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2765 fi
2766
2767 # These three variables are undocumented and unsupported,
2768 # and are intended to be withdrawn in a future Autoconf release.
2769 # They can cause serious problems if a builder's source tree is in a directory
2770 # whose full name contains unusual characters.
2771 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2772 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2773 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2774
2775
2776 # Make sure we can run config.sub.
2777 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2778   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2779
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2781 $as_echo_n "checking build system type... " >&6; }
2782 if ${ac_cv_build+:} false; then :
2783   $as_echo_n "(cached) " >&6
2784 else
2785   ac_build_alias=$build_alias
2786 test "x$ac_build_alias" = x &&
2787   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2788 test "x$ac_build_alias" = x &&
2789   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2790 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2791   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2792
2793 fi
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2795 $as_echo "$ac_cv_build" >&6; }
2796 case $ac_cv_build in
2797 *-*-*) ;;
2798 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2799 esac
2800 build=$ac_cv_build
2801 ac_save_IFS=$IFS; IFS='-'
2802 set x $ac_cv_build
2803 shift
2804 build_cpu=$1
2805 build_vendor=$2
2806 shift; shift
2807 # Remember, the first character of IFS is used to create $*,
2808 # except with old shells:
2809 build_os=$*
2810 IFS=$ac_save_IFS
2811 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2812
2813
2814  case ${build_alias} in
2815   "") build_noncanonical=${build} ;;
2816   *) build_noncanonical=${build_alias} ;;
2817 esac
2818
2819  case ${host_alias} in
2820   "") host_noncanonical=${build_noncanonical} ;;
2821   *) host_noncanonical=${host_alias} ;;
2822 esac
2823
2824  case ${target_alias} in
2825   "") target_noncanonical=${host_noncanonical} ;;
2826   *) target_noncanonical=${target_alias} ;;
2827 esac
2828
2829
2830 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2831 # have matching libraries, they should use host libraries: Makefile.tpl
2832 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2833 # However, they still use the build modules, because the corresponding
2834 # host modules (e.g. bison) are only built for the host when bootstrap
2835 # finishes. So:
2836 # - build_subdir is where we find build modules, and never changes.
2837 # - build_libsubdir is where we find build libraries, and can be overridden.
2838
2839 # Prefix 'build-' so this never conflicts with target_subdir.
2840 build_subdir="build-${build_noncanonical}"
2841
2842 # Check whether --with-build-libsubdir was given.
2843 if test "${with_build_libsubdir+set}" = set; then :
2844   withval=$with_build_libsubdir; build_libsubdir="$withval"
2845 else
2846   build_libsubdir="$build_subdir"
2847 fi
2848
2849 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2850 if ( test $srcdir = . && test -d gcc ) \
2851    || test -d $srcdir/../host-${host_noncanonical}; then
2852   host_subdir="host-${host_noncanonical}"
2853 else
2854   host_subdir=.
2855 fi
2856 # No prefix.
2857 target_subdir=${target_noncanonical}
2858
2859
2860 # -------
2861 # Options
2862 # -------
2863
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2865 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2866 # Check whether --enable-version-specific-runtime-libs was given.
2867 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2868   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2869  yes) version_specific_libs=yes ;;
2870  no)  version_specific_libs=no ;;
2871  *)   as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2872  esac
2873 else
2874   version_specific_libs=no
2875 fi
2876
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2878 $as_echo "$version_specific_libs" >&6; }
2879
2880 # Build with intermodule optimisations
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2882 $as_echo_n "checking for --enable-intermodule... " >&6; }
2883 # Check whether --enable-intermodule was given.
2884 if test "${enable_intermodule+set}" = set; then :
2885   enableval=$enable_intermodule; case "$enable_intermodule" in
2886   yes) onestep="-onestep";;
2887     *) onestep="";;
2888 esac
2889 else
2890   onestep=""
2891 fi
2892
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2894 $as_echo "$enable_intermodule" >&6; }
2895  if test x$onestep = x-onestep; then
2896   onestep_TRUE=
2897   onestep_FALSE='#'
2898 else
2899   onestep_TRUE='#'
2900   onestep_FALSE=
2901 fi
2902
2903
2904
2905 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2906 #
2907 # You will slowly go insane if you do not grok the following fact:  when
2908 # building this library, the top-level /target/ becomes the library's /host/.
2909 #
2910 # configure then causes --target to default to --host, exactly like any
2911 # other package using autoconf.  Therefore, 'target' and 'host' will
2912 # always be the same.  This makes sense both for native and cross compilers
2913 # just think about it for a little while.  :-)
2914 #
2915 # Also, if this library is being configured as part of a cross compiler, the
2916 # top-level configure script will pass the "real" host as $with_cross_host.
2917 #
2918 # Do not delete or change the following two lines.  For why, see
2919 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2921 $as_echo_n "checking host system type... " >&6; }
2922 if ${ac_cv_host+:} false; then :
2923   $as_echo_n "(cached) " >&6
2924 else
2925   if test "x$host_alias" = x; then
2926   ac_cv_host=$ac_cv_build
2927 else
2928   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2929     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2930 fi
2931
2932 fi
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2934 $as_echo "$ac_cv_host" >&6; }
2935 case $ac_cv_host in
2936 *-*-*) ;;
2937 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2938 esac
2939 host=$ac_cv_host
2940 ac_save_IFS=$IFS; IFS='-'
2941 set x $ac_cv_host
2942 shift
2943 host_cpu=$1
2944 host_vendor=$2
2945 shift; shift
2946 # Remember, the first character of IFS is used to create $*,
2947 # except with old shells:
2948 host_os=$*
2949 IFS=$ac_save_IFS
2950 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2951
2952
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2954 $as_echo_n "checking target system type... " >&6; }
2955 if ${ac_cv_target+:} false; then :
2956   $as_echo_n "(cached) " >&6
2957 else
2958   if test "x$target_alias" = x; then
2959   ac_cv_target=$ac_cv_host
2960 else
2961   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2962     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2963 fi
2964
2965 fi
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2967 $as_echo "$ac_cv_target" >&6; }
2968 case $ac_cv_target in
2969 *-*-*) ;;
2970 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2971 esac
2972 target=$ac_cv_target
2973 ac_save_IFS=$IFS; IFS='-'
2974 set x $ac_cv_target
2975 shift
2976 target_cpu=$1
2977 target_vendor=$2
2978 shift; shift
2979 # Remember, the first character of IFS is used to create $*,
2980 # except with old shells:
2981 target_os=$*
2982 IFS=$ac_save_IFS
2983 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2984
2985
2986 # The aliases save the names the user supplied, while $host etc.
2987 # will get canonicalized.
2988 test -n "$target_alias" &&
2989   test "$program_prefix$program_suffix$program_transform_name" = \
2990     NONENONEs,x,x, &&
2991   program_prefix=${target_alias}-
2992
2993
2994
2995
2996 target_alias=${target_alias-$host_alias}
2997
2998
2999 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3000 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3001 #  1.9.6:  minimum required version
3002 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3003 #              of other PACKAGE_* variables will, however, and there's nothing
3004 #              we can do about that; they come from AC_INIT).
3005 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3006 #            file in the top srcdir, etc, etc), so stop complaining.
3007 #  no-dist:  we don't want 'dist' and related rules.
3008 #  -Wall:  turns on all automake warnings...
3009 #  -Wno-portability:  ...except this one, since GNU make is required.
3010 am__api_version='1.15'
3011
3012 # Find a good install program.  We prefer a C program (faster),
3013 # so one script is as good as another.  But avoid the broken or
3014 # incompatible versions:
3015 # SysV /etc/install, /usr/sbin/install
3016 # SunOS /usr/etc/install
3017 # IRIX /sbin/install
3018 # AIX /bin/install
3019 # AmigaOS /C/install, which installs bootblocks on floppy discs
3020 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3021 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3022 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3023 # OS/2's system install, which has a completely different semantic
3024 # ./install, which can be erroneously created by make from ./install.sh.
3025 # Reject install programs that cannot install multiple files.
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3027 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3028 if test -z "$INSTALL"; then
3029 if ${ac_cv_path_install+:} false; then :
3030   $as_echo_n "(cached) " >&6
3031 else
3032   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033 for as_dir in $PATH
3034 do
3035   IFS=$as_save_IFS
3036   test -z "$as_dir" && as_dir=.
3037     # Account for people who put trailing slashes in PATH elements.
3038 case $as_dir/ in #((
3039   ./ | .// | /[cC]/* | \
3040   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3041   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3042   /usr/ucb/* ) ;;
3043   *)
3044     # OSF1 and SCO ODT 3.0 have their own names for install.
3045     # Don't use installbsd from OSF since it installs stuff as root
3046     # by default.
3047     for ac_prog in ginstall scoinst install; do
3048       for ac_exec_ext in '' $ac_executable_extensions; do
3049         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3050           if test $ac_prog = install &&
3051             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3052             # AIX install.  It has an incompatible calling convention.
3053             :
3054           elif test $ac_prog = install &&
3055             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3056             # program-specific install script used by HP pwplus--don't use.
3057             :
3058           else
3059             rm -rf conftest.one conftest.two conftest.dir
3060             echo one > conftest.one
3061             echo two > conftest.two
3062             mkdir conftest.dir
3063             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3064               test -s conftest.one && test -s conftest.two &&
3065               test -s conftest.dir/conftest.one &&
3066               test -s conftest.dir/conftest.two
3067             then
3068               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3069               break 3
3070             fi
3071           fi
3072         fi
3073       done
3074     done
3075     ;;
3076 esac
3077
3078   done
3079 IFS=$as_save_IFS
3080
3081 rm -rf conftest.one conftest.two conftest.dir
3082
3083 fi
3084   if test "${ac_cv_path_install+set}" = set; then
3085     INSTALL=$ac_cv_path_install
3086   else
3087     # As a last resort, use the slow shell script.  Don't cache a
3088     # value for INSTALL within a source directory, because that will
3089     # break other packages using the cache if that directory is
3090     # removed, or if the value is a relative name.
3091     INSTALL=$ac_install_sh
3092   fi
3093 fi
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3095 $as_echo "$INSTALL" >&6; }
3096
3097 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3098 # It thinks the first close brace ends the variable substitution.
3099 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3100
3101 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3102
3103 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3104
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3106 $as_echo_n "checking whether build environment is sane... " >&6; }
3107 # Reject unsafe characters in $srcdir or the absolute working directory
3108 # name.  Accept space and tab only in the latter.
3109 am_lf='
3110 '
3111 case `pwd` in
3112   *[\\\"\#\$\&\'\`$am_lf]*)
3113     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3114 esac
3115 case $srcdir in
3116   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3117     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3118 esac
3119
3120 # Do 'set' in a subshell so we don't clobber the current shell's
3121 # arguments.  Must try -L first in case configure is actually a
3122 # symlink; some systems play weird games with the mod time of symlinks
3123 # (eg FreeBSD returns the mod time of the symlink's containing
3124 # directory).
3125 if (
3126    am_has_slept=no
3127    for am_try in 1 2; do
3128      echo "timestamp, slept: $am_has_slept" > conftest.file
3129      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3130      if test "$*" = "X"; then
3131         # -L didn't work.
3132         set X `ls -t "$srcdir/configure" conftest.file`
3133      fi
3134      if test "$*" != "X $srcdir/configure conftest.file" \
3135         && test "$*" != "X conftest.file $srcdir/configure"; then
3136
3137         # If neither matched, then we have a broken ls.  This can happen
3138         # if, for instance, CONFIG_SHELL is bash and it inherits a
3139         # broken ls alias from the environment.  This has actually
3140         # happened.  Such a system could not be considered "sane".
3141         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3142   alias in your environment" "$LINENO" 5
3143      fi
3144      if test "$2" = conftest.file || test $am_try -eq 2; then
3145        break
3146      fi
3147      # Just in case.
3148      sleep 1
3149      am_has_slept=yes
3150    done
3151    test "$2" = conftest.file
3152    )
3153 then
3154    # Ok.
3155    :
3156 else
3157    as_fn_error $? "newly created file is older than distributed files!
3158 Check your system clock" "$LINENO" 5
3159 fi
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3161 $as_echo "yes" >&6; }
3162 # If we didn't sleep, we still need to ensure time stamps of config.status and
3163 # generated files are strictly newer.
3164 am_sleep_pid=
3165 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3166   ( sleep 1 ) &
3167   am_sleep_pid=$!
3168 fi
3169
3170 rm -f conftest.file
3171
3172 test "$program_prefix" != NONE &&
3173   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3174 # Use a double $ so make ignores it.
3175 test "$program_suffix" != NONE &&
3176   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3177 # Double any \ or $.
3178 # By default was `s,x,x', remove it if useless.
3179 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3180 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3181
3182 # Expand $ac_aux_dir to an absolute path.
3183 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3184
3185 if test x"${MISSING+set}" != xset; then
3186   case $am_aux_dir in
3187   *\ * | *\     *)
3188     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3189   *)
3190     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3191   esac
3192 fi
3193 # Use eval to expand $SHELL
3194 if eval "$MISSING --is-lightweight"; then
3195   am_missing_run="$MISSING "
3196 else
3197   am_missing_run=
3198   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3199 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3200 fi
3201
3202 if test x"${install_sh+set}" != xset; then
3203   case $am_aux_dir in
3204   *\ * | *\     *)
3205     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3206   *)
3207     install_sh="\${SHELL} $am_aux_dir/install-sh"
3208   esac
3209 fi
3210
3211 # Installed binaries are usually stripped using 'strip' when the user
3212 # run "make install-strip".  However 'strip' might not be the right
3213 # tool to use in cross-compilation environments, therefore Automake
3214 # will honor the 'STRIP' environment variable to overrule this program.
3215 if test "$cross_compiling" != no; then
3216   if test -n "$ac_tool_prefix"; then
3217   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3218 set dummy ${ac_tool_prefix}strip; ac_word=$2
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3220 $as_echo_n "checking for $ac_word... " >&6; }
3221 if ${ac_cv_prog_STRIP+:} false; then :
3222   $as_echo_n "(cached) " >&6
3223 else
3224   if test -n "$STRIP"; then
3225   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3226 else
3227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3228 for as_dir in $PATH
3229 do
3230   IFS=$as_save_IFS
3231   test -z "$as_dir" && as_dir=.
3232     for ac_exec_ext in '' $ac_executable_extensions; do
3233   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3234     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3235     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3236     break 2
3237   fi
3238 done
3239   done
3240 IFS=$as_save_IFS
3241
3242 fi
3243 fi
3244 STRIP=$ac_cv_prog_STRIP
3245 if test -n "$STRIP"; then
3246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3247 $as_echo "$STRIP" >&6; }
3248 else
3249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3250 $as_echo "no" >&6; }
3251 fi
3252
3253
3254 fi
3255 if test -z "$ac_cv_prog_STRIP"; then
3256   ac_ct_STRIP=$STRIP
3257   # Extract the first word of "strip", so it can be a program name with args.
3258 set dummy strip; ac_word=$2
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3260 $as_echo_n "checking for $ac_word... " >&6; }
3261 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3262   $as_echo_n "(cached) " >&6
3263 else
3264   if test -n "$ac_ct_STRIP"; then
3265   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3266 else
3267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268 for as_dir in $PATH
3269 do
3270   IFS=$as_save_IFS
3271   test -z "$as_dir" && as_dir=.
3272     for ac_exec_ext in '' $ac_executable_extensions; do
3273   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3274     ac_cv_prog_ac_ct_STRIP="strip"
3275     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3276     break 2
3277   fi
3278 done
3279   done
3280 IFS=$as_save_IFS
3281
3282 fi
3283 fi
3284 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3285 if test -n "$ac_ct_STRIP"; then
3286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3287 $as_echo "$ac_ct_STRIP" >&6; }
3288 else
3289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3290 $as_echo "no" >&6; }
3291 fi
3292
3293   if test "x$ac_ct_STRIP" = x; then
3294     STRIP=":"
3295   else
3296     case $cross_compiling:$ac_tool_warned in
3297 yes:)
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3300 ac_tool_warned=yes ;;
3301 esac
3302     STRIP=$ac_ct_STRIP
3303   fi
3304 else
3305   STRIP="$ac_cv_prog_STRIP"
3306 fi
3307
3308 fi
3309 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3310
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3312 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3313 if test -z "$MKDIR_P"; then
3314   if ${ac_cv_path_mkdir+:} false; then :
3315   $as_echo_n "(cached) " >&6
3316 else
3317   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3318 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3319 do
3320   IFS=$as_save_IFS
3321   test -z "$as_dir" && as_dir=.
3322     for ac_prog in mkdir gmkdir; do
3323          for ac_exec_ext in '' $ac_executable_extensions; do
3324            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3325            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3326              'mkdir (GNU coreutils) '* | \
3327              'mkdir (coreutils) '* | \
3328              'mkdir (fileutils) '4.1*)
3329                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3330                break 3;;
3331            esac
3332          done
3333        done
3334   done
3335 IFS=$as_save_IFS
3336
3337 fi
3338
3339   test -d ./--version && rmdir ./--version
3340   if test "${ac_cv_path_mkdir+set}" = set; then
3341     MKDIR_P="$ac_cv_path_mkdir -p"
3342   else
3343     # As a last resort, use the slow shell script.  Don't cache a
3344     # value for MKDIR_P within a source directory, because that will
3345     # break other packages using the cache if that directory is
3346     # removed, or if the value is a relative name.
3347     MKDIR_P="$ac_install_sh -d"
3348   fi
3349 fi
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3351 $as_echo "$MKDIR_P" >&6; }
3352
3353 for ac_prog in gawk mawk nawk awk
3354 do
3355   # Extract the first word of "$ac_prog", so it can be a program name with args.
3356 set dummy $ac_prog; ac_word=$2
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3358 $as_echo_n "checking for $ac_word... " >&6; }
3359 if ${ac_cv_prog_AWK+:} false; then :
3360   $as_echo_n "(cached) " >&6
3361 else
3362   if test -n "$AWK"; then
3363   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3364 else
3365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366 for as_dir in $PATH
3367 do
3368   IFS=$as_save_IFS
3369   test -z "$as_dir" && as_dir=.
3370     for ac_exec_ext in '' $ac_executable_extensions; do
3371   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3372     ac_cv_prog_AWK="$ac_prog"
3373     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3374     break 2
3375   fi
3376 done
3377   done
3378 IFS=$as_save_IFS
3379
3380 fi
3381 fi
3382 AWK=$ac_cv_prog_AWK
3383 if test -n "$AWK"; then
3384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3385 $as_echo "$AWK" >&6; }
3386 else
3387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3388 $as_echo "no" >&6; }
3389 fi
3390
3391
3392   test -n "$AWK" && break
3393 done
3394
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3396 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3397 set x ${MAKE-make}
3398 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3399 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3400   $as_echo_n "(cached) " >&6
3401 else
3402   cat >conftest.make <<\_ACEOF
3403 SHELL = /bin/sh
3404 all:
3405         @echo '@@@%%%=$(MAKE)=@@@%%%'
3406 _ACEOF
3407 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3408 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3409   *@@@%%%=?*=@@@%%%*)
3410     eval ac_cv_prog_make_${ac_make}_set=yes;;
3411   *)
3412     eval ac_cv_prog_make_${ac_make}_set=no;;
3413 esac
3414 rm -f conftest.make
3415 fi
3416 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3418 $as_echo "yes" >&6; }
3419   SET_MAKE=
3420 else
3421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3422 $as_echo "no" >&6; }
3423   SET_MAKE="MAKE=${MAKE-make}"
3424 fi
3425
3426 rm -rf .tst 2>/dev/null
3427 mkdir .tst 2>/dev/null
3428 if test -d .tst; then
3429   am__leading_dot=.
3430 else
3431   am__leading_dot=_
3432 fi
3433 rmdir .tst 2>/dev/null
3434
3435 # Check whether --enable-silent-rules was given.
3436 if test "${enable_silent_rules+set}" = set; then :
3437   enableval=$enable_silent_rules;
3438 fi
3439
3440 case $enable_silent_rules in # (((
3441   yes) AM_DEFAULT_VERBOSITY=0;;
3442    no) AM_DEFAULT_VERBOSITY=1;;
3443     *) AM_DEFAULT_VERBOSITY=1;;
3444 esac
3445 am_make=${MAKE-make}
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3447 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3448 if ${am_cv_make_support_nested_variables+:} false; then :
3449   $as_echo_n "(cached) " >&6
3450 else
3451   if $as_echo 'TRUE=$(BAR$(V))
3452 BAR0=false
3453 BAR1=true
3454 V=1
3455 am__doit:
3456         @$(TRUE)
3457 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3458   am_cv_make_support_nested_variables=yes
3459 else
3460   am_cv_make_support_nested_variables=no
3461 fi
3462 fi
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3464 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3465 if test $am_cv_make_support_nested_variables = yes; then
3466     AM_V='$(V)'
3467   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3468 else
3469   AM_V=$AM_DEFAULT_VERBOSITY
3470   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3471 fi
3472 AM_BACKSLASH='\'
3473
3474 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3475   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3476   # is not polluted with repeated "-I."
3477   am__isrc=' -I$(srcdir)'
3478   # test to see if srcdir already configured
3479   if test -f $srcdir/config.status; then
3480     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3481   fi
3482 fi
3483
3484 # test whether we have cygpath
3485 if test -z "$CYGPATH_W"; then
3486   if (cygpath --version) >/dev/null 2>/dev/null; then
3487     CYGPATH_W='cygpath -w'
3488   else
3489     CYGPATH_W=echo
3490   fi
3491 fi
3492
3493
3494 # Define the identity of the package.
3495  PACKAGE='libgfortran'
3496  VERSION='0.3'
3497
3498
3499 # Some tools Automake needs.
3500
3501 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3502
3503
3504 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3505
3506
3507 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3508
3509
3510 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3511
3512
3513 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3514
3515 # For better backward compatibility.  To be removed once Automake 1.9.x
3516 # dies out for good.  For more background, see:
3517 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3518 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3519 mkdir_p='$(MKDIR_P)'
3520
3521 # We need awk for the "check" target (and possibly the TAP driver).  The
3522 # system "awk" is bad on some platforms.
3523 # Always define AMTAR for backward compatibility.  Yes, it's still used
3524 # in the wild :-(  We should find a proper way to deprecate it ...
3525 AMTAR='$${TAR-tar}'
3526
3527
3528 # We'll loop over all known methods to create a tar archive until one works.
3529 _am_tools='gnutar  pax cpio none'
3530
3531 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3532
3533
3534
3535
3536
3537
3538 # POSIX will say in a future version that running "rm -f" with no argument
3539 # is OK; and we want to be able to make that assumption in our Makefile
3540 # recipes.  So use an aggressive probe to check that the usage we want is
3541 # actually supported "in the wild" to an acceptable degree.
3542 # See automake bug#10828.
3543 # To make any issue more visible, cause the running configure to be aborted
3544 # by default if the 'rm' program in use doesn't match our expectations; the
3545 # user can still override this though.
3546 if rm -f && rm -fr && rm -rf; then : OK; else
3547   cat >&2 <<'END'
3548 Oops!
3549
3550 Your 'rm' program seems unable to run without file operands specified
3551 on the command line, even when the '-f' option is present.  This is contrary
3552 to the behaviour of most rm programs out there, and not conforming with
3553 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3554
3555 Please tell bug-automake@gnu.org about your system, including the value
3556 of your $PATH and any error possibly output before this message.  This
3557 can help us improve future automake versions.
3558
3559 END
3560   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3561     echo 'Configuration will proceed anyway, since you have set the' >&2
3562     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3563     echo >&2
3564   else
3565     cat >&2 <<'END'
3566 Aborting the configuration process, to ensure you take notice of the issue.
3567
3568 You can download and install GNU coreutils to get an 'rm' implementation
3569 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3570
3571 If you want to complete the configuration process using your problematic
3572 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3573 to "yes", and re-run configure.
3574
3575 END
3576     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3577   fi
3578 fi
3579
3580
3581
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3583 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3584     # Check whether --enable-maintainer-mode was given.
3585 if test "${enable_maintainer_mode+set}" = set; then :
3586   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3587 else
3588   USE_MAINTAINER_MODE=no
3589 fi
3590
3591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3592 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3593    if test $USE_MAINTAINER_MODE = yes; then
3594   MAINTAINER_MODE_TRUE=
3595   MAINTAINER_MODE_FALSE='#'
3596 else
3597   MAINTAINER_MODE_TRUE='#'
3598   MAINTAINER_MODE_FALSE=
3599 fi
3600
3601   MAINT=$MAINTAINER_MODE_TRUE
3602
3603
3604 # Default to --enable-multilib
3605 # Check whether --enable-multilib was given.
3606 if test "${enable_multilib+set}" = set; then :
3607   enableval=$enable_multilib; case "$enableval" in
3608   yes) multilib=yes ;;
3609   no)  multilib=no ;;
3610   *)   as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3611  esac
3612 else
3613   multilib=yes
3614 fi
3615
3616
3617 # We may get other options which we leave undocumented:
3618 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3619 # See config-ml.in if you want the gory details.
3620
3621 if test "$srcdir" = "."; then
3622   if test "$with_target_subdir" != "."; then
3623     multi_basedir="$srcdir/$with_multisrctop../.."
3624   else
3625     multi_basedir="$srcdir/$with_multisrctop.."
3626   fi
3627 else
3628   multi_basedir="$srcdir/.."
3629 fi
3630
3631
3632 # Even if the default multilib is not a cross compilation,
3633 # it may be that some of the other multilibs are.
3634 if test $cross_compiling = no && test $multilib = yes \
3635    && test "x${with_multisubdir}" != x ; then
3636    cross_compiling=maybe
3637 fi
3638
3639 ac_config_commands="$ac_config_commands default-1"
3640
3641
3642 # Handy for debugging:
3643 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3644
3645 # Are we being configured with some form of cross compiler?
3646 # NB: We don't actually need to know this just now, but when, say, a test
3647 #     suite is included, we'll have to know.
3648 if test "$build" != "$host"; then
3649   LIBGFOR_IS_NATIVE=false
3650
3651 else
3652   LIBGFOR_IS_NATIVE=true
3653 fi
3654
3655 DEPDIR="${am__leading_dot}deps"
3656
3657 ac_config_commands="$ac_config_commands depfiles"
3658
3659
3660 am_make=${MAKE-make}
3661 cat > confinc << 'END'
3662 am__doit:
3663         @echo this is the am__doit target
3664 .PHONY: am__doit
3665 END
3666 # If we don't find an include directive, just comment out the code.
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3668 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3669 am__include="#"
3670 am__quote=
3671 _am_result=none
3672 # First try GNU make style include.
3673 echo "include confinc" > confmf
3674 # Ignore all kinds of additional output from 'make'.
3675 case `$am_make -s -f confmf 2> /dev/null` in #(
3676 *the\ am__doit\ target*)
3677   am__include=include
3678   am__quote=
3679   _am_result=GNU
3680   ;;
3681 esac
3682 # Now try BSD make style include.
3683 if test "$am__include" = "#"; then
3684    echo '.include "confinc"' > confmf
3685    case `$am_make -s -f confmf 2> /dev/null` in #(
3686    *the\ am__doit\ target*)
3687      am__include=.include
3688      am__quote="\""
3689      _am_result=BSD
3690      ;;
3691    esac
3692 fi
3693
3694
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3696 $as_echo "$_am_result" >&6; }
3697 rm -f confinc confmf
3698
3699 # Check whether --enable-dependency-tracking was given.
3700 if test "${enable_dependency_tracking+set}" = set; then :
3701   enableval=$enable_dependency_tracking;
3702 fi
3703
3704 if test "x$enable_dependency_tracking" != xno; then
3705   am_depcomp="$ac_aux_dir/depcomp"
3706   AMDEPBACKSLASH='\'
3707   am__nodep='_no'
3708 fi
3709  if test "x$enable_dependency_tracking" != xno; then
3710   AMDEP_TRUE=
3711   AMDEP_FALSE='#'
3712 else
3713   AMDEP_TRUE='#'
3714   AMDEP_FALSE=
3715 fi
3716
3717
3718 ac_ext=c
3719 ac_cpp='$CPP $CPPFLAGS'
3720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3723 if test -n "$ac_tool_prefix"; then
3724   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3725 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3727 $as_echo_n "checking for $ac_word... " >&6; }
3728 if ${ac_cv_prog_CC+:} false; then :
3729   $as_echo_n "(cached) " >&6
3730 else
3731   if test -n "$CC"; then
3732   ac_cv_prog_CC="$CC" # Let the user override the test.
3733 else
3734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3735 for as_dir in $PATH
3736 do
3737   IFS=$as_save_IFS
3738   test -z "$as_dir" && as_dir=.
3739     for ac_exec_ext in '' $ac_executable_extensions; do
3740   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3741     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3743     break 2
3744   fi
3745 done
3746   done
3747 IFS=$as_save_IFS
3748
3749 fi
3750 fi
3751 CC=$ac_cv_prog_CC
3752 if test -n "$CC"; then
3753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3754 $as_echo "$CC" >&6; }
3755 else
3756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3757 $as_echo "no" >&6; }
3758 fi
3759
3760
3761 fi
3762 if test -z "$ac_cv_prog_CC"; then
3763   ac_ct_CC=$CC
3764   # Extract the first word of "gcc", so it can be a program name with args.
3765 set dummy gcc; ac_word=$2
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3767 $as_echo_n "checking for $ac_word... " >&6; }
3768 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3769   $as_echo_n "(cached) " >&6
3770 else
3771   if test -n "$ac_ct_CC"; then
3772   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3773 else
3774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3775 for as_dir in $PATH
3776 do
3777   IFS=$as_save_IFS
3778   test -z "$as_dir" && as_dir=.
3779     for ac_exec_ext in '' $ac_executable_extensions; do
3780   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3781     ac_cv_prog_ac_ct_CC="gcc"
3782     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3783     break 2
3784   fi
3785 done
3786   done
3787 IFS=$as_save_IFS
3788
3789 fi
3790 fi
3791 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3792 if test -n "$ac_ct_CC"; then
3793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3794 $as_echo "$ac_ct_CC" >&6; }
3795 else
3796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3797 $as_echo "no" >&6; }
3798 fi
3799
3800   if test "x$ac_ct_CC" = x; then
3801     CC=""
3802   else
3803     case $cross_compiling:$ac_tool_warned in
3804 yes:)
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3807 ac_tool_warned=yes ;;
3808 esac
3809     CC=$ac_ct_CC
3810   fi
3811 else
3812   CC="$ac_cv_prog_CC"
3813 fi
3814
3815 if test -z "$CC"; then
3816           if test -n "$ac_tool_prefix"; then
3817     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3818 set dummy ${ac_tool_prefix}cc; ac_word=$2
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3820 $as_echo_n "checking for $ac_word... " >&6; }
3821 if ${ac_cv_prog_CC+:} false; then :
3822   $as_echo_n "(cached) " >&6
3823 else
3824   if test -n "$CC"; then
3825   ac_cv_prog_CC="$CC" # Let the user override the test.
3826 else
3827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3828 for as_dir in $PATH
3829 do
3830   IFS=$as_save_IFS
3831   test -z "$as_dir" && as_dir=.
3832     for ac_exec_ext in '' $ac_executable_extensions; do
3833   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3834     ac_cv_prog_CC="${ac_tool_prefix}cc"
3835     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3836     break 2
3837   fi
3838 done
3839   done
3840 IFS=$as_save_IFS
3841
3842 fi
3843 fi
3844 CC=$ac_cv_prog_CC
3845 if test -n "$CC"; then
3846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3847 $as_echo "$CC" >&6; }
3848 else
3849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3850 $as_echo "no" >&6; }
3851 fi
3852
3853
3854   fi
3855 fi
3856 if test -z "$CC"; then
3857   # Extract the first word of "cc", so it can be a program name with args.
3858 set dummy cc; ac_word=$2
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3860 $as_echo_n "checking for $ac_word... " >&6; }
3861 if ${ac_cv_prog_CC+:} false; then :
3862   $as_echo_n "(cached) " >&6
3863 else
3864   if test -n "$CC"; then
3865   ac_cv_prog_CC="$CC" # Let the user override the test.
3866 else
3867   ac_prog_rejected=no
3868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3869 for as_dir in $PATH
3870 do
3871   IFS=$as_save_IFS
3872   test -z "$as_dir" && as_dir=.
3873     for ac_exec_ext in '' $ac_executable_extensions; do
3874   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3875     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3876        ac_prog_rejected=yes
3877        continue
3878      fi
3879     ac_cv_prog_CC="cc"
3880     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3881     break 2
3882   fi
3883 done
3884   done
3885 IFS=$as_save_IFS
3886
3887 if test $ac_prog_rejected = yes; then
3888   # We found a bogon in the path, so make sure we never use it.
3889   set dummy $ac_cv_prog_CC
3890   shift
3891   if test $# != 0; then
3892     # We chose a different compiler from the bogus one.
3893     # However, it has the same basename, so the bogon will be chosen
3894     # first if we set CC to just the basename; use the full file name.
3895     shift
3896     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3897   fi
3898 fi
3899 fi
3900 fi
3901 CC=$ac_cv_prog_CC
3902 if test -n "$CC"; then
3903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3904 $as_echo "$CC" >&6; }
3905 else
3906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3907 $as_echo "no" >&6; }
3908 fi
3909
3910
3911 fi
3912 if test -z "$CC"; then
3913   if test -n "$ac_tool_prefix"; then
3914   for ac_prog in cl.exe
3915   do
3916     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3917 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3919 $as_echo_n "checking for $ac_word... " >&6; }
3920 if ${ac_cv_prog_CC+:} false; then :
3921   $as_echo_n "(cached) " >&6
3922 else
3923   if test -n "$CC"; then
3924   ac_cv_prog_CC="$CC" # Let the user override the test.
3925 else
3926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3927 for as_dir in $PATH
3928 do
3929   IFS=$as_save_IFS
3930   test -z "$as_dir" && as_dir=.
3931     for ac_exec_ext in '' $ac_executable_extensions; do
3932   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3933     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3934     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3935     break 2
3936   fi
3937 done
3938   done
3939 IFS=$as_save_IFS
3940
3941 fi
3942 fi
3943 CC=$ac_cv_prog_CC
3944 if test -n "$CC"; then
3945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3946 $as_echo "$CC" >&6; }
3947 else
3948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3949 $as_echo "no" >&6; }
3950 fi
3951
3952
3953     test -n "$CC" && break
3954   done
3955 fi
3956 if test -z "$CC"; then
3957   ac_ct_CC=$CC
3958   for ac_prog in cl.exe
3959 do
3960   # Extract the first word of "$ac_prog", so it can be a program name with args.
3961 set dummy $ac_prog; ac_word=$2
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3963 $as_echo_n "checking for $ac_word... " >&6; }
3964 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3965   $as_echo_n "(cached) " >&6
3966 else
3967   if test -n "$ac_ct_CC"; then
3968   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3969 else
3970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3971 for as_dir in $PATH
3972 do
3973   IFS=$as_save_IFS
3974   test -z "$as_dir" && as_dir=.
3975     for ac_exec_ext in '' $ac_executable_extensions; do
3976   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3977     ac_cv_prog_ac_ct_CC="$ac_prog"
3978     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3979     break 2
3980   fi
3981 done
3982   done
3983 IFS=$as_save_IFS
3984
3985 fi
3986 fi
3987 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3988 if test -n "$ac_ct_CC"; then
3989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3990 $as_echo "$ac_ct_CC" >&6; }
3991 else
3992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3993 $as_echo "no" >&6; }
3994 fi
3995
3996
3997   test -n "$ac_ct_CC" && break
3998 done
3999
4000   if test "x$ac_ct_CC" = x; then
4001     CC=""
4002   else
4003     case $cross_compiling:$ac_tool_warned in
4004 yes:)
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4007 ac_tool_warned=yes ;;
4008 esac
4009     CC=$ac_ct_CC
4010   fi
4011 fi
4012
4013 fi
4014
4015
4016 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4018 as_fn_error $? "no acceptable C compiler found in \$PATH
4019 See \`config.log' for more details" "$LINENO" 5; }
4020
4021 # Provide some information about the compiler.
4022 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4023 set X $ac_compile
4024 ac_compiler=$2
4025 for ac_option in --version -v -V -qversion; do
4026   { { ac_try="$ac_compiler $ac_option >&5"
4027 case "(($ac_try" in
4028   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4029   *) ac_try_echo=$ac_try;;
4030 esac
4031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4032 $as_echo "$ac_try_echo"; } >&5
4033   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4034   ac_status=$?
4035   if test -s conftest.err; then
4036     sed '10a\
4037 ... rest of stderr output deleted ...
4038          10q' conftest.err >conftest.er1
4039     cat conftest.er1 >&5
4040   fi
4041   rm -f conftest.er1 conftest.err
4042   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4043   test $ac_status = 0; }
4044 done
4045
4046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4047 /* end confdefs.h.  */
4048 #include <stdio.h>
4049 int
4050 main ()
4051 {
4052 printf ("hello world\n");
4053   ;
4054   return 0;
4055 }
4056 _ACEOF
4057 # FIXME: Cleanup?
4058 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4059   (eval $ac_link) 2>&5
4060   ac_status=$?
4061   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4062   test $ac_status = 0; }; then :
4063   gcc_no_link=no
4064 else
4065   gcc_no_link=yes
4066 fi
4067 if test x$gcc_no_link = xyes; then
4068   # Setting cross_compile will disable run tests; it will
4069   # also disable AC_CHECK_FILE but that's generally
4070   # correct if we can't link.
4071   cross_compiling=yes
4072   EXEEXT=
4073 else
4074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h.  */
4076
4077 int
4078 main ()
4079 {
4080
4081   ;
4082   return 0;
4083 }
4084 _ACEOF
4085 ac_clean_files_save=$ac_clean_files
4086 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4087 # Try to create an executable without -o first, disregard a.out.
4088 # It will help us diagnose broken compilers, and finding out an intuition
4089 # of exeext.
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4091 $as_echo_n "checking whether the C compiler works... " >&6; }
4092 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4093
4094 # The possible output files:
4095 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4096
4097 ac_rmfiles=
4098 for ac_file in $ac_files
4099 do
4100   case $ac_file in
4101     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4102     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4103   esac
4104 done
4105 rm -f $ac_rmfiles
4106
4107 if { { ac_try="$ac_link_default"
4108 case "(($ac_try" in
4109   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4110   *) ac_try_echo=$ac_try;;
4111 esac
4112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4113 $as_echo "$ac_try_echo"; } >&5
4114   (eval "$ac_link_default") 2>&5
4115   ac_status=$?
4116   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4117   test $ac_status = 0; }; then :
4118   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4119 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4120 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4121 # so that the user can short-circuit this test for compilers unknown to
4122 # Autoconf.
4123 for ac_file in $ac_files ''
4124 do
4125   test -f "$ac_file" || continue
4126   case $ac_file in
4127     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4128         ;;
4129     [ab].out )
4130         # We found the default executable, but exeext='' is most
4131         # certainly right.
4132         break;;
4133     *.* )
4134         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4135         then :; else
4136            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4137         fi
4138         # We set ac_cv_exeext here because the later test for it is not
4139         # safe: cross compilers may not add the suffix if given an `-o'
4140         # argument, so we may need to know it at that point already.
4141         # Even if this section looks crufty: it has the advantage of
4142         # actually working.
4143         break;;
4144     * )
4145         break;;
4146   esac
4147 done
4148 test "$ac_cv_exeext" = no && ac_cv_exeext=
4149
4150 else
4151   ac_file=''
4152 fi
4153 if test -z "$ac_file"; then :
4154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4155 $as_echo "no" >&6; }
4156 $as_echo "$as_me: failed program was:" >&5
4157 sed 's/^/| /' conftest.$ac_ext >&5
4158
4159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4161 as_fn_error 77 "C compiler cannot create executables
4162 See \`config.log' for more details" "$LINENO" 5; }
4163 else
4164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4165 $as_echo "yes" >&6; }
4166 fi
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4168 $as_echo_n "checking for C compiler default output file name... " >&6; }
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4170 $as_echo "$ac_file" >&6; }
4171 ac_exeext=$ac_cv_exeext
4172
4173 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4174 ac_clean_files=$ac_clean_files_save
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4176 $as_echo_n "checking for suffix of executables... " >&6; }
4177 if { { ac_try="$ac_link"
4178 case "(($ac_try" in
4179   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4180   *) ac_try_echo=$ac_try;;
4181 esac
4182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4183 $as_echo "$ac_try_echo"; } >&5
4184   (eval "$ac_link") 2>&5
4185   ac_status=$?
4186   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4187   test $ac_status = 0; }; then :
4188   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4189 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4190 # work properly (i.e., refer to `conftest.exe'), while it won't with
4191 # `rm'.
4192 for ac_file in conftest.exe conftest conftest.*; do
4193   test -f "$ac_file" || continue
4194   case $ac_file in
4195     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4196     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4197           break;;
4198     * ) break;;
4199   esac
4200 done
4201 else
4202   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4204 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4205 See \`config.log' for more details" "$LINENO" 5; }
4206 fi
4207 rm -f conftest conftest$ac_cv_exeext
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4209 $as_echo "$ac_cv_exeext" >&6; }
4210
4211 rm -f conftest.$ac_ext
4212 EXEEXT=$ac_cv_exeext
4213 ac_exeext=$EXEEXT
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h.  */
4216 #include <stdio.h>
4217 int
4218 main ()
4219 {
4220 FILE *f = fopen ("conftest.out", "w");
4221  return ferror (f) || fclose (f) != 0;
4222
4223   ;
4224   return 0;
4225 }
4226 _ACEOF
4227 ac_clean_files="$ac_clean_files conftest.out"
4228 # Check that the compiler produces executables we can run.  If not, either
4229 # the compiler is broken, or we cross compile.
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4231 $as_echo_n "checking whether we are cross compiling... " >&6; }
4232 if test "$cross_compiling" != yes; then
4233   { { ac_try="$ac_link"
4234 case "(($ac_try" in
4235   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4236   *) ac_try_echo=$ac_try;;
4237 esac
4238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4239 $as_echo "$ac_try_echo"; } >&5
4240   (eval "$ac_link") 2>&5
4241   ac_status=$?
4242   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4243   test $ac_status = 0; }
4244   if { ac_try='./conftest$ac_cv_exeext'
4245   { { case "(($ac_try" in
4246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4247   *) ac_try_echo=$ac_try;;
4248 esac
4249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4250 $as_echo "$ac_try_echo"; } >&5
4251   (eval "$ac_try") 2>&5
4252   ac_status=$?
4253   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4254   test $ac_status = 0; }; }; then
4255     cross_compiling=no
4256   else
4257     if test "$cross_compiling" = maybe; then
4258         cross_compiling=yes
4259     else
4260         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4262 as_fn_error $? "cannot run C compiled programs.
4263 If you meant to cross compile, use \`--host'.
4264 See \`config.log' for more details" "$LINENO" 5; }
4265     fi
4266   fi
4267 fi
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4269 $as_echo "$cross_compiling" >&6; }
4270
4271 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4272 ac_clean_files=$ac_clean_files_save
4273 fi
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4275 $as_echo_n "checking for suffix of object files... " >&6; }
4276 if ${ac_cv_objext+:} false; then :
4277   $as_echo_n "(cached) " >&6
4278 else
4279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4280 /* end confdefs.h.  */
4281
4282 int
4283 main ()
4284 {
4285
4286   ;
4287   return 0;
4288 }
4289 _ACEOF
4290 rm -f conftest.o conftest.obj
4291 if { { ac_try="$ac_compile"
4292 case "(($ac_try" in
4293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4294   *) ac_try_echo=$ac_try;;
4295 esac
4296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4297 $as_echo "$ac_try_echo"; } >&5
4298   (eval "$ac_compile") 2>&5
4299   ac_status=$?
4300   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4301   test $ac_status = 0; }; then :
4302   for ac_file in conftest.o conftest.obj conftest.*; do
4303   test -f "$ac_file" || continue;
4304   case $ac_file in
4305     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4306     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4307        break;;
4308   esac
4309 done
4310 else
4311   $as_echo "$as_me: failed program was:" >&5
4312 sed 's/^/| /' conftest.$ac_ext >&5
4313
4314 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4316 as_fn_error $? "cannot compute suffix of object files: cannot compile
4317 See \`config.log' for more details" "$LINENO" 5; }
4318 fi
4319 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4320 fi
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4322 $as_echo "$ac_cv_objext" >&6; }
4323 OBJEXT=$ac_cv_objext
4324 ac_objext=$OBJEXT
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4326 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4327 if ${ac_cv_c_compiler_gnu+:} false; then :
4328   $as_echo_n "(cached) " >&6
4329 else
4330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h.  */
4332
4333 int
4334 main ()
4335 {
4336 #ifndef __GNUC__
4337        choke me
4338 #endif
4339
4340   ;
4341   return 0;
4342 }
4343 _ACEOF
4344 if ac_fn_c_try_compile "$LINENO"; then :
4345   ac_compiler_gnu=yes
4346 else
4347   ac_compiler_gnu=no
4348 fi
4349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4350 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4351
4352 fi
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4354 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4355 if test $ac_compiler_gnu = yes; then
4356   GCC=yes
4357 else
4358   GCC=
4359 fi
4360 ac_test_CFLAGS=${CFLAGS+set}
4361 ac_save_CFLAGS=$CFLAGS
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4363 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4364 if ${ac_cv_prog_cc_g+:} false; then :
4365   $as_echo_n "(cached) " >&6
4366 else
4367   ac_save_c_werror_flag=$ac_c_werror_flag
4368    ac_c_werror_flag=yes
4369    ac_cv_prog_cc_g=no
4370    CFLAGS="-g"
4371    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4372 /* end confdefs.h.  */
4373
4374 int
4375 main ()
4376 {
4377
4378   ;
4379   return 0;
4380 }
4381 _ACEOF
4382 if ac_fn_c_try_compile "$LINENO"; then :
4383   ac_cv_prog_cc_g=yes
4384 else
4385   CFLAGS=""
4386       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4387 /* end confdefs.h.  */
4388
4389 int
4390 main ()
4391 {
4392
4393   ;
4394   return 0;
4395 }
4396 _ACEOF
4397 if ac_fn_c_try_compile "$LINENO"; then :
4398
4399 else
4400   ac_c_werror_flag=$ac_save_c_werror_flag
4401          CFLAGS="-g"
4402          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4403 /* end confdefs.h.  */
4404
4405 int
4406 main ()
4407 {
4408
4409   ;
4410   return 0;
4411 }
4412 _ACEOF
4413 if ac_fn_c_try_compile "$LINENO"; then :
4414   ac_cv_prog_cc_g=yes
4415 fi
4416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4417 fi
4418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4419 fi
4420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4421    ac_c_werror_flag=$ac_save_c_werror_flag
4422 fi
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4424 $as_echo "$ac_cv_prog_cc_g" >&6; }
4425 if test "$ac_test_CFLAGS" = set; then
4426   CFLAGS=$ac_save_CFLAGS
4427 elif test $ac_cv_prog_cc_g = yes; then
4428   if test "$GCC" = yes; then
4429     CFLAGS="-g -O2"
4430   else
4431     CFLAGS="-g"
4432   fi
4433 else
4434   if test "$GCC" = yes; then
4435     CFLAGS="-O2"
4436   else
4437     CFLAGS=
4438   fi
4439 fi
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4441 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4442 if ${ac_cv_prog_cc_c89+:} false; then :
4443   $as_echo_n "(cached) " >&6
4444 else
4445   ac_cv_prog_cc_c89=no
4446 ac_save_CC=$CC
4447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4448 /* end confdefs.h.  */
4449 #include <stdarg.h>
4450 #include <stdio.h>
4451 struct stat;
4452 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4453 struct buf { int x; };
4454 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4455 static char *e (p, i)
4456      char **p;
4457      int i;
4458 {
4459   return p[i];
4460 }
4461 static char *f (char * (*g) (char **, int), char **p, ...)
4462 {
4463   char *s;
4464   va_list v;
4465   va_start (v,p);
4466   s = g (p, va_arg (v,int));
4467   va_end (v);
4468   return s;
4469 }
4470
4471 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4472    function prototypes and stuff, but not '\xHH' hex character constants.
4473    These don't provoke an error unfortunately, instead are silently treated
4474    as 'x'.  The following induces an error, until -std is added to get
4475    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4476    array size at least.  It's necessary to write '\x00'==0 to get something
4477    that's true only with -std.  */
4478 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4479
4480 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4481    inside strings and character constants.  */
4482 #define FOO(x) 'x'
4483 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4484
4485 int test (int i, double x);
4486 struct s1 {int (*f) (int a);};
4487 struct s2 {int (*f) (double a);};
4488 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4489 int argc;
4490 char **argv;
4491 int
4492 main ()
4493 {
4494 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4495   ;
4496   return 0;
4497 }
4498 _ACEOF
4499 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4500         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4501 do
4502   CC="$ac_save_CC $ac_arg"
4503   if ac_fn_c_try_compile "$LINENO"; then :
4504   ac_cv_prog_cc_c89=$ac_arg
4505 fi
4506 rm -f core conftest.err conftest.$ac_objext
4507   test "x$ac_cv_prog_cc_c89" != "xno" && break
4508 done
4509 rm -f conftest.$ac_ext
4510 CC=$ac_save_CC
4511
4512 fi
4513 # AC_CACHE_VAL
4514 case "x$ac_cv_prog_cc_c89" in
4515   x)
4516     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4517 $as_echo "none needed" >&6; } ;;
4518   xno)
4519     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4520 $as_echo "unsupported" >&6; } ;;
4521   *)
4522     CC="$CC $ac_cv_prog_cc_c89"
4523     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4524 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4525 esac
4526 if test "x$ac_cv_prog_cc_c89" != xno; then :
4527
4528 fi
4529
4530 ac_ext=c
4531 ac_cpp='$CPP $CPPFLAGS'
4532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4535
4536 ac_ext=c
4537 ac_cpp='$CPP $CPPFLAGS'
4538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4542 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4543 if ${am_cv_prog_cc_c_o+:} false; then :
4544   $as_echo_n "(cached) " >&6
4545 else
4546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h.  */
4548
4549 int
4550 main ()
4551 {
4552
4553   ;
4554   return 0;
4555 }
4556 _ACEOF
4557   # Make sure it works both with $CC and with simple cc.
4558   # Following AC_PROG_CC_C_O, we do the test twice because some
4559   # compilers refuse to overwrite an existing .o file with -o,
4560   # though they will create one.
4561   am_cv_prog_cc_c_o=yes
4562   for am_i in 1 2; do
4563     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4564    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4565    ac_status=$?
4566    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567    (exit $ac_status); } \
4568          && test -f conftest2.$ac_objext; then
4569       : OK
4570     else
4571       am_cv_prog_cc_c_o=no
4572       break
4573     fi
4574   done
4575   rm -f core conftest*
4576   unset am_i
4577 fi
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4579 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4580 if test "$am_cv_prog_cc_c_o" != yes; then
4581    # Losing compiler, so override with the script.
4582    # FIXME: It is wrong to rewrite CC.
4583    # But if we don't then we get into trouble of one sort or another.
4584    # A longer-term fix would be to have automake use am__CC in this case,
4585    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4586    CC="$am_aux_dir/compile $CC"
4587 fi
4588 ac_ext=c
4589 ac_cpp='$CPP $CPPFLAGS'
4590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4593
4594
4595 depcc="$CC"   am_compiler_list=
4596
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4598 $as_echo_n "checking dependency style of $depcc... " >&6; }
4599 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4600   $as_echo_n "(cached) " >&6
4601 else
4602   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4603   # We make a subdir and do the tests there.  Otherwise we can end up
4604   # making bogus files that we don't know about and never remove.  For
4605   # instance it was reported that on HP-UX the gcc test will end up
4606   # making a dummy file named 'D' -- because '-MD' means "put the output
4607   # in D".
4608   rm -rf conftest.dir
4609   mkdir conftest.dir
4610   # Copy depcomp to subdir because otherwise we won't find it if we're
4611   # using a relative directory.
4612   cp "$am_depcomp" conftest.dir
4613   cd conftest.dir
4614   # We will build objects and dependencies in a subdirectory because
4615   # it helps to detect inapplicable dependency modes.  For instance
4616   # both Tru64's cc and ICC support -MD to output dependencies as a
4617   # side effect of compilation, but ICC will put the dependencies in
4618   # the current directory while Tru64 will put them in the object
4619   # directory.
4620   mkdir sub
4621
4622   am_cv_CC_dependencies_compiler_type=none
4623   if test "$am_compiler_list" = ""; then
4624      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4625   fi
4626   am__universal=false
4627   case " $depcc " in #(
4628      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4629      esac
4630
4631   for depmode in $am_compiler_list; do
4632     # Setup a source with many dependencies, because some compilers
4633     # like to wrap large dependency lists on column 80 (with \), and
4634     # we should not choose a depcomp mode which is confused by this.
4635     #
4636     # We need to recreate these files for each test, as the compiler may
4637     # overwrite some of them when testing with obscure command lines.
4638     # This happens at least with the AIX C compiler.
4639     : > sub/conftest.c
4640     for i in 1 2 3 4 5 6; do
4641       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4642       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4643       # Solaris 10 /bin/sh.
4644       echo '/* dummy */' > sub/conftst$i.h
4645     done
4646     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4647
4648     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4649     # mode.  It turns out that the SunPro C++ compiler does not properly
4650     # handle '-M -o', and we need to detect this.  Also, some Intel
4651     # versions had trouble with output in subdirs.
4652     am__obj=sub/conftest.${OBJEXT-o}
4653     am__minus_obj="-o $am__obj"
4654     case $depmode in
4655     gcc)
4656       # This depmode causes a compiler race in universal mode.
4657       test "$am__universal" = false || continue
4658       ;;
4659     nosideeffect)
4660       # After this tag, mechanisms are not by side-effect, so they'll
4661       # only be used when explicitly requested.
4662       if test "x$enable_dependency_tracking" = xyes; then
4663         continue
4664       else
4665         break
4666       fi
4667       ;;
4668     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4669       # This compiler won't grok '-c -o', but also, the minuso test has
4670       # not run yet.  These depmodes are late enough in the game, and
4671       # so weak that their functioning should not be impacted.
4672       am__obj=conftest.${OBJEXT-o}
4673       am__minus_obj=
4674       ;;
4675     none) break ;;
4676     esac
4677     if depmode=$depmode \
4678        source=sub/conftest.c object=$am__obj \
4679        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4680        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4681          >/dev/null 2>conftest.err &&
4682        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4683        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4684        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4685        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4686       # icc doesn't choke on unknown options, it will just issue warnings
4687       # or remarks (even with -Werror).  So we grep stderr for any message
4688       # that says an option was ignored or not supported.
4689       # When given -MP, icc 7.0 and 7.1 complain thusly:
4690       #   icc: Command line warning: ignoring option '-M'; no argument required
4691       # The diagnosis changed in icc 8.0:
4692       #   icc: Command line remark: option '-MP' not supported
4693       if (grep 'ignoring option' conftest.err ||
4694           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4695         am_cv_CC_dependencies_compiler_type=$depmode
4696         break
4697       fi
4698     fi
4699   done
4700
4701   cd ..
4702   rm -rf conftest.dir
4703 else
4704   am_cv_CC_dependencies_compiler_type=none
4705 fi
4706
4707 fi
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4709 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4710 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4711
4712  if
4713   test "x$enable_dependency_tracking" != xno \
4714   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4715   am__fastdepCC_TRUE=
4716   am__fastdepCC_FALSE='#'
4717 else
4718   am__fastdepCC_TRUE='#'
4719   am__fastdepCC_FALSE=
4720 fi
4721
4722
4723
4724 ac_ext=c
4725 ac_cpp='$CPP $CPPFLAGS'
4726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4730 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4731 # On Suns, sometimes $CPP names a directory.
4732 if test -n "$CPP" && test -d "$CPP"; then
4733   CPP=
4734 fi
4735 if test -z "$CPP"; then
4736   if ${ac_cv_prog_CPP+:} false; then :
4737   $as_echo_n "(cached) " >&6
4738 else
4739       # Double quotes because CPP needs to be expanded
4740     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4741     do
4742       ac_preproc_ok=false
4743 for ac_c_preproc_warn_flag in '' yes
4744 do
4745   # Use a header file that comes with gcc, so configuring glibc
4746   # with a fresh cross-compiler works.
4747   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4748   # <limits.h> exists even on freestanding compilers.
4749   # On the NeXT, cc -E runs the code through the compiler's parser,
4750   # not just through cpp. "Syntax error" is here to catch this case.
4751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4752 /* end confdefs.h.  */
4753 #ifdef __STDC__
4754 # include <limits.h>
4755 #else
4756 # include <assert.h>
4757 #endif
4758                      Syntax error
4759 _ACEOF
4760 if ac_fn_c_try_cpp "$LINENO"; then :
4761
4762 else
4763   # Broken: fails on valid input.
4764 continue
4765 fi
4766 rm -f conftest.err conftest.i conftest.$ac_ext
4767
4768   # OK, works on sane cases.  Now check whether nonexistent headers
4769   # can be detected and how.
4770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4771 /* end confdefs.h.  */
4772 #include <ac_nonexistent.h>
4773 _ACEOF
4774 if ac_fn_c_try_cpp "$LINENO"; then :
4775   # Broken: success on invalid input.
4776 continue
4777 else
4778   # Passes both tests.
4779 ac_preproc_ok=:
4780 break
4781 fi
4782 rm -f conftest.err conftest.i conftest.$ac_ext
4783
4784 done
4785 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4786 rm -f conftest.i conftest.err conftest.$ac_ext
4787 if $ac_preproc_ok; then :
4788   break
4789 fi
4790
4791     done
4792     ac_cv_prog_CPP=$CPP
4793
4794 fi
4795   CPP=$ac_cv_prog_CPP
4796 else
4797   ac_cv_prog_CPP=$CPP
4798 fi
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4800 $as_echo "$CPP" >&6; }
4801 ac_preproc_ok=false
4802 for ac_c_preproc_warn_flag in '' yes
4803 do
4804   # Use a header file that comes with gcc, so configuring glibc
4805   # with a fresh cross-compiler works.
4806   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4807   # <limits.h> exists even on freestanding compilers.
4808   # On the NeXT, cc -E runs the code through the compiler's parser,
4809   # not just through cpp. "Syntax error" is here to catch this case.
4810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4811 /* end confdefs.h.  */
4812 #ifdef __STDC__
4813 # include <limits.h>
4814 #else
4815 # include <assert.h>
4816 #endif
4817                      Syntax error
4818 _ACEOF
4819 if ac_fn_c_try_cpp "$LINENO"; then :
4820
4821 else
4822   # Broken: fails on valid input.
4823 continue
4824 fi
4825 rm -f conftest.err conftest.i conftest.$ac_ext
4826
4827   # OK, works on sane cases.  Now check whether nonexistent headers
4828   # can be detected and how.
4829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4830 /* end confdefs.h.  */
4831 #include <ac_nonexistent.h>
4832 _ACEOF
4833 if ac_fn_c_try_cpp "$LINENO"; then :
4834   # Broken: success on invalid input.
4835 continue
4836 else
4837   # Passes both tests.
4838 ac_preproc_ok=:
4839 break
4840 fi
4841 rm -f conftest.err conftest.i conftest.$ac_ext
4842
4843 done
4844 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4845 rm -f conftest.i conftest.err conftest.$ac_ext
4846 if $ac_preproc_ok; then :
4847
4848 else
4849   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4851 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4852 See \`config.log' for more details" "$LINENO" 5; }
4853 fi
4854
4855 ac_ext=c
4856 ac_cpp='$CPP $CPPFLAGS'
4857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4860
4861
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4863 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4864 if ${ac_cv_path_GREP+:} false; then :
4865   $as_echo_n "(cached) " >&6
4866 else
4867   if test -z "$GREP"; then
4868   ac_path_GREP_found=false
4869   # Loop through the user's path and test for each of PROGNAME-LIST
4870   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4871 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4872 do
4873   IFS=$as_save_IFS
4874   test -z "$as_dir" && as_dir=.
4875     for ac_prog in grep ggrep; do
4876     for ac_exec_ext in '' $ac_executable_extensions; do
4877       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4878       as_fn_executable_p "$ac_path_GREP" || continue
4879 # Check for GNU ac_path_GREP and select it if it is found.
4880   # Check for GNU $ac_path_GREP
4881 case `"$ac_path_GREP" --version 2>&1` in
4882 *GNU*)
4883   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4884 *)
4885   ac_count=0
4886   $as_echo_n 0123456789 >"conftest.in"
4887   while :
4888   do
4889     cat "conftest.in" "conftest.in" >"conftest.tmp"
4890     mv "conftest.tmp" "conftest.in"
4891     cp "conftest.in" "conftest.nl"
4892     $as_echo 'GREP' >> "conftest.nl"
4893     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4894     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4895     as_fn_arith $ac_count + 1 && ac_count=$as_val
4896     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4897       # Best one so far, save it but keep looking for a better one
4898       ac_cv_path_GREP="$ac_path_GREP"
4899       ac_path_GREP_max=$ac_count
4900     fi
4901     # 10*(2^10) chars as input seems more than enough
4902     test $ac_count -gt 10 && break
4903   done
4904   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4905 esac
4906
4907       $ac_path_GREP_found && break 3
4908     done
4909   done
4910   done
4911 IFS=$as_save_IFS
4912   if test -z "$ac_cv_path_GREP"; then
4913     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4914   fi
4915 else
4916   ac_cv_path_GREP=$GREP
4917 fi
4918
4919 fi
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4921 $as_echo "$ac_cv_path_GREP" >&6; }
4922  GREP="$ac_cv_path_GREP"
4923
4924
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4926 $as_echo_n "checking for egrep... " >&6; }
4927 if ${ac_cv_path_EGREP+:} false; then :
4928   $as_echo_n "(cached) " >&6
4929 else
4930   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4931    then ac_cv_path_EGREP="$GREP -E"
4932    else
4933      if test -z "$EGREP"; then
4934   ac_path_EGREP_found=false
4935   # Loop through the user's path and test for each of PROGNAME-LIST
4936   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4937 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4938 do
4939   IFS=$as_save_IFS
4940   test -z "$as_dir" && as_dir=.
4941     for ac_prog in egrep; do
4942     for ac_exec_ext in '' $ac_executable_extensions; do
4943       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4944       as_fn_executable_p "$ac_path_EGREP" || continue
4945 # Check for GNU ac_path_EGREP and select it if it is found.
4946   # Check for GNU $ac_path_EGREP
4947 case `"$ac_path_EGREP" --version 2>&1` in
4948 *GNU*)
4949   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4950 *)
4951   ac_count=0
4952   $as_echo_n 0123456789 >"conftest.in"
4953   while :
4954   do
4955     cat "conftest.in" "conftest.in" >"conftest.tmp"
4956     mv "conftest.tmp" "conftest.in"
4957     cp "conftest.in" "conftest.nl"
4958     $as_echo 'EGREP' >> "conftest.nl"
4959     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4960     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4961     as_fn_arith $ac_count + 1 && ac_count=$as_val
4962     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4963       # Best one so far, save it but keep looking for a better one
4964       ac_cv_path_EGREP="$ac_path_EGREP"
4965       ac_path_EGREP_max=$ac_count
4966     fi
4967     # 10*(2^10) chars as input seems more than enough
4968     test $ac_count -gt 10 && break
4969   done
4970   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4971 esac
4972
4973       $ac_path_EGREP_found && break 3
4974     done
4975   done
4976   done
4977 IFS=$as_save_IFS
4978   if test -z "$ac_cv_path_EGREP"; then
4979     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4980   fi
4981 else
4982   ac_cv_path_EGREP=$EGREP
4983 fi
4984
4985    fi
4986 fi
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4988 $as_echo "$ac_cv_path_EGREP" >&6; }
4989  EGREP="$ac_cv_path_EGREP"
4990
4991
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4993 $as_echo_n "checking for ANSI C header files... " >&6; }
4994 if ${ac_cv_header_stdc+:} false; then :
4995   $as_echo_n "(cached) " >&6
4996 else
4997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4998 /* end confdefs.h.  */
4999 #include <stdlib.h>
5000 #include <stdarg.h>
5001 #include <string.h>
5002 #include <float.h>
5003
5004 int
5005 main ()
5006 {
5007
5008   ;
5009   return 0;
5010 }
5011 _ACEOF
5012 if ac_fn_c_try_compile "$LINENO"; then :
5013   ac_cv_header_stdc=yes
5014 else
5015   ac_cv_header_stdc=no
5016 fi
5017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5018
5019 if test $ac_cv_header_stdc = yes; then
5020   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5022 /* end confdefs.h.  */
5023 #include <string.h>
5024
5025 _ACEOF
5026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5027   $EGREP "memchr" >/dev/null 2>&1; then :
5028
5029 else
5030   ac_cv_header_stdc=no
5031 fi
5032 rm -f conftest*
5033
5034 fi
5035
5036 if test $ac_cv_header_stdc = yes; then
5037   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5039 /* end confdefs.h.  */
5040 #include <stdlib.h>
5041
5042 _ACEOF
5043 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5044   $EGREP "free" >/dev/null 2>&1; then :
5045
5046 else
5047   ac_cv_header_stdc=no
5048 fi
5049 rm -f conftest*
5050
5051 fi
5052
5053 if test $ac_cv_header_stdc = yes; then
5054   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5055   if test "$cross_compiling" = yes; then :
5056   :
5057 else
5058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5059 /* end confdefs.h.  */
5060 #include <ctype.h>
5061 #include <stdlib.h>
5062 #if ((' ' & 0x0FF) == 0x020)
5063 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5064 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5065 #else
5066 # define ISLOWER(c) \
5067                    (('a' <= (c) && (c) <= 'i') \
5068                      || ('j' <= (c) && (c) <= 'r') \
5069                      || ('s' <= (c) && (c) <= 'z'))
5070 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5071 #endif
5072
5073 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5074 int
5075 main ()
5076 {
5077   int i;
5078   for (i = 0; i < 256; i++)
5079     if (XOR (islower (i), ISLOWER (i))
5080         || toupper (i) != TOUPPER (i))
5081       return 2;
5082   return 0;
5083 }
5084 _ACEOF
5085 if ac_fn_c_try_run "$LINENO"; then :
5086
5087 else
5088   ac_cv_header_stdc=no
5089 fi
5090 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5091   conftest.$ac_objext conftest.beam conftest.$ac_ext
5092 fi
5093
5094 fi
5095 fi
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5097 $as_echo "$ac_cv_header_stdc" >&6; }
5098 if test $ac_cv_header_stdc = yes; then
5099
5100 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5101
5102 fi
5103
5104 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5105 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5106                   inttypes.h stdint.h unistd.h
5107 do :
5108   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5109 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5110 "
5111 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5112   cat >>confdefs.h <<_ACEOF
5113 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5114 _ACEOF
5115
5116 fi
5117
5118 done
5119
5120
5121
5122   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5123 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5124   MINIX=yes
5125 else
5126   MINIX=
5127 fi
5128
5129
5130   if test "$MINIX" = yes; then
5131
5132 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5133
5134
5135 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5136
5137
5138 $as_echo "#define _MINIX 1" >>confdefs.h
5139
5140   fi
5141
5142
5143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5144 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5145 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5146   $as_echo_n "(cached) " >&6
5147 else
5148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5149 /* end confdefs.h.  */
5150
5151 #         define __EXTENSIONS__ 1
5152           $ac_includes_default
5153 int
5154 main ()
5155 {
5156
5157   ;
5158   return 0;
5159 }
5160 _ACEOF
5161 if ac_fn_c_try_compile "$LINENO"; then :
5162   ac_cv_safe_to_define___extensions__=yes
5163 else
5164   ac_cv_safe_to_define___extensions__=no
5165 fi
5166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5167 fi
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5169 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5170   test $ac_cv_safe_to_define___extensions__ = yes &&
5171     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5172
5173   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5174
5175   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5176
5177   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5178
5179   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5180
5181
5182
5183
5184 # Check whether --with-toolexeclibdir was given.
5185 if test "${with_toolexeclibdir+set}" = set; then :
5186   withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5187   /)
5188     ;;
5189   */)
5190     with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
5191     ;;
5192 esac
5193 else
5194   with_toolexeclibdir=no
5195 fi
5196
5197
5198
5199 # Calculate toolexeclibdir
5200 # Also toolexecdir, though it's only used in toolexeclibdir
5201 case ${version_specific_libs} in
5202   yes)
5203     # Need the gcc compiler version to know where to install libraries
5204     # and header files if --enable-version-specific-runtime-libs option
5205     # is selected.
5206     toolexecdir='$(libdir)/gcc/$(target_alias)'
5207     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5208     ;;
5209   no)
5210     if test -n "$with_cross_host" &&
5211        test x"$with_cross_host" != x"no"; then
5212       # Install a library built with a cross compiler in tooldir, not libdir.
5213       toolexecdir='$(exec_prefix)/$(target_alias)'
5214       case ${with_toolexeclibdir} in
5215         no)
5216           toolexeclibdir='$(toolexecdir)/lib'
5217           ;;
5218         *)
5219           toolexeclibdir=${with_toolexeclibdir}
5220           ;;
5221       esac
5222     else
5223       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
5224       toolexeclibdir='$(libdir)'
5225     fi
5226     multi_os_directory=`$CC -print-multi-os-directory`
5227     case $multi_os_directory in
5228       .) ;; # Avoid trailing /.
5229       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
5230     esac
5231     ;;
5232 esac
5233
5234
5235
5236 # Create a spec file, so that compile/link tests don't fail
5237 test -f libgfortran.spec || touch libgfortran.spec
5238
5239 ac_ext=c
5240 ac_cpp='$CPP $CPPFLAGS'
5241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5244
5245 # Check the compiler.
5246 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5247 # We must force CC to /not/ be precious variables; otherwise
5248 # the wrong, non-multilib-adjusted value will be used in multilibs.
5249 # As a side effect, we have to subst CFLAGS ourselves.
5250
5251
5252
5253 ac_ext=c
5254 ac_cpp='$CPP $CPPFLAGS'
5255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5258 if test -n "$ac_tool_prefix"; then
5259   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5260 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5262 $as_echo_n "checking for $ac_word... " >&6; }
5263 if ${ac_cv_prog_CC+:} false; then :
5264   $as_echo_n "(cached) " >&6
5265 else
5266   if test -n "$CC"; then
5267   ac_cv_prog_CC="$CC" # Let the user override the test.
5268 else
5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5270 for as_dir in $PATH
5271 do
5272   IFS=$as_save_IFS
5273   test -z "$as_dir" && as_dir=.
5274     for ac_exec_ext in '' $ac_executable_extensions; do
5275   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5276     ac_cv_prog_CC="${ac_tool_prefix}gcc"
5277     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5278     break 2
5279   fi
5280 done
5281   done
5282 IFS=$as_save_IFS
5283
5284 fi
5285 fi
5286 CC=$ac_cv_prog_CC
5287 if test -n "$CC"; then
5288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5289 $as_echo "$CC" >&6; }
5290 else
5291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5292 $as_echo "no" >&6; }
5293 fi
5294
5295
5296 fi
5297 if test -z "$ac_cv_prog_CC"; then
5298   ac_ct_CC=$CC
5299   # Extract the first word of "gcc", so it can be a program name with args.
5300 set dummy gcc; ac_word=$2
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5302 $as_echo_n "checking for $ac_word... " >&6; }
5303 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5304   $as_echo_n "(cached) " >&6
5305 else
5306   if test -n "$ac_ct_CC"; then
5307   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5308 else
5309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5310 for as_dir in $PATH
5311 do
5312   IFS=$as_save_IFS
5313   test -z "$as_dir" && as_dir=.
5314     for ac_exec_ext in '' $ac_executable_extensions; do
5315   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5316     ac_cv_prog_ac_ct_CC="gcc"
5317     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5318     break 2
5319   fi
5320 done
5321   done
5322 IFS=$as_save_IFS
5323
5324 fi
5325 fi
5326 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5327 if test -n "$ac_ct_CC"; then
5328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5329 $as_echo "$ac_ct_CC" >&6; }
5330 else
5331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332 $as_echo "no" >&6; }
5333 fi
5334
5335   if test "x$ac_ct_CC" = x; then
5336     CC=""
5337   else
5338     case $cross_compiling:$ac_tool_warned in
5339 yes:)
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5342 ac_tool_warned=yes ;;
5343 esac
5344     CC=$ac_ct_CC
5345   fi
5346 else
5347   CC="$ac_cv_prog_CC"
5348 fi
5349
5350 if test -z "$CC"; then
5351           if test -n "$ac_tool_prefix"; then
5352     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5353 set dummy ${ac_tool_prefix}cc; ac_word=$2
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5355 $as_echo_n "checking for $ac_word... " >&6; }
5356 if ${ac_cv_prog_CC+:} false; then :
5357   $as_echo_n "(cached) " >&6
5358 else
5359   if test -n "$CC"; then
5360   ac_cv_prog_CC="$CC" # Let the user override the test.
5361 else
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 for as_dir in $PATH
5364 do
5365   IFS=$as_save_IFS
5366   test -z "$as_dir" && as_dir=.
5367     for ac_exec_ext in '' $ac_executable_extensions; do
5368   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5369     ac_cv_prog_CC="${ac_tool_prefix}cc"
5370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5371     break 2
5372   fi
5373 done
5374   done
5375 IFS=$as_save_IFS
5376
5377 fi
5378 fi
5379 CC=$ac_cv_prog_CC
5380 if test -n "$CC"; then
5381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5382 $as_echo "$CC" >&6; }
5383 else
5384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5385 $as_echo "no" >&6; }
5386 fi
5387
5388
5389   fi
5390 fi
5391 if test -z "$CC"; then
5392   # Extract the first word of "cc", so it can be a program name with args.
5393 set dummy cc; ac_word=$2
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5395 $as_echo_n "checking for $ac_word... " >&6; }
5396 if ${ac_cv_prog_CC+:} false; then :
5397   $as_echo_n "(cached) " >&6
5398 else
5399   if test -n "$CC"; then
5400   ac_cv_prog_CC="$CC" # Let the user override the test.
5401 else
5402   ac_prog_rejected=no
5403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5404 for as_dir in $PATH
5405 do
5406   IFS=$as_save_IFS
5407   test -z "$as_dir" && as_dir=.
5408     for ac_exec_ext in '' $ac_executable_extensions; do
5409   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5410     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5411        ac_prog_rejected=yes
5412        continue
5413      fi
5414     ac_cv_prog_CC="cc"
5415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5416     break 2
5417   fi
5418 done
5419   done
5420 IFS=$as_save_IFS
5421
5422 if test $ac_prog_rejected = yes; then
5423   # We found a bogon in the path, so make sure we never use it.
5424   set dummy $ac_cv_prog_CC
5425   shift
5426   if test $# != 0; then
5427     # We chose a different compiler from the bogus one.
5428     # However, it has the same basename, so the bogon will be chosen
5429     # first if we set CC to just the basename; use the full file name.
5430     shift
5431     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5432   fi
5433 fi
5434 fi
5435 fi
5436 CC=$ac_cv_prog_CC
5437 if test -n "$CC"; then
5438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5439 $as_echo "$CC" >&6; }
5440 else
5441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }
5443 fi
5444
5445
5446 fi
5447 if test -z "$CC"; then
5448   if test -n "$ac_tool_prefix"; then
5449   for ac_prog in cl.exe
5450   do
5451     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5452 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5454 $as_echo_n "checking for $ac_word... " >&6; }
5455 if ${ac_cv_prog_CC+:} false; then :
5456   $as_echo_n "(cached) " >&6
5457 else
5458   if test -n "$CC"; then
5459   ac_cv_prog_CC="$CC" # Let the user override the test.
5460 else
5461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5462 for as_dir in $PATH
5463 do
5464   IFS=$as_save_IFS
5465   test -z "$as_dir" && as_dir=.
5466     for ac_exec_ext in '' $ac_executable_extensions; do
5467   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5468     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5469     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5470     break 2
5471   fi
5472 done
5473   done
5474 IFS=$as_save_IFS
5475
5476 fi
5477 fi
5478 CC=$ac_cv_prog_CC
5479 if test -n "$CC"; then
5480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5481 $as_echo "$CC" >&6; }
5482 else
5483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5484 $as_echo "no" >&6; }
5485 fi
5486
5487
5488     test -n "$CC" && break
5489   done
5490 fi
5491 if test -z "$CC"; then
5492   ac_ct_CC=$CC
5493   for ac_prog in cl.exe
5494 do
5495   # Extract the first word of "$ac_prog", so it can be a program name with args.
5496 set dummy $ac_prog; ac_word=$2
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5498 $as_echo_n "checking for $ac_word... " >&6; }
5499 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5500   $as_echo_n "(cached) " >&6
5501 else
5502   if test -n "$ac_ct_CC"; then
5503   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5504 else
5505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506 for as_dir in $PATH
5507 do
5508   IFS=$as_save_IFS
5509   test -z "$as_dir" && as_dir=.
5510     for ac_exec_ext in '' $ac_executable_extensions; do
5511   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5512     ac_cv_prog_ac_ct_CC="$ac_prog"
5513     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514     break 2
5515   fi
5516 done
5517   done
5518 IFS=$as_save_IFS
5519
5520 fi
5521 fi
5522 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5523 if test -n "$ac_ct_CC"; then
5524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5525 $as_echo "$ac_ct_CC" >&6; }
5526 else
5527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5528 $as_echo "no" >&6; }
5529 fi
5530
5531
5532   test -n "$ac_ct_CC" && break
5533 done
5534
5535   if test "x$ac_ct_CC" = x; then
5536     CC=""
5537   else
5538     case $cross_compiling:$ac_tool_warned in
5539 yes:)
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5542 ac_tool_warned=yes ;;
5543 esac
5544     CC=$ac_ct_CC
5545   fi
5546 fi
5547
5548 fi
5549
5550
5551 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5553 as_fn_error $? "no acceptable C compiler found in \$PATH
5554 See \`config.log' for more details" "$LINENO" 5; }
5555
5556 # Provide some information about the compiler.
5557 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5558 set X $ac_compile
5559 ac_compiler=$2
5560 for ac_option in --version -v -V -qversion; do
5561   { { ac_try="$ac_compiler $ac_option >&5"
5562 case "(($ac_try" in
5563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5564   *) ac_try_echo=$ac_try;;
5565 esac
5566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5567 $as_echo "$ac_try_echo"; } >&5
5568   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5569   ac_status=$?
5570   if test -s conftest.err; then
5571     sed '10a\
5572 ... rest of stderr output deleted ...
5573          10q' conftest.err >conftest.er1
5574     cat conftest.er1 >&5
5575   fi
5576   rm -f conftest.er1 conftest.err
5577   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5578   test $ac_status = 0; }
5579 done
5580
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5582 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5583 if ${ac_cv_c_compiler_gnu+:} false; then :
5584   $as_echo_n "(cached) " >&6
5585 else
5586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5587 /* end confdefs.h.  */
5588
5589 int
5590 main ()
5591 {
5592 #ifndef __GNUC__
5593        choke me
5594 #endif
5595
5596   ;
5597   return 0;
5598 }
5599 _ACEOF
5600 if ac_fn_c_try_compile "$LINENO"; then :
5601   ac_compiler_gnu=yes
5602 else
5603   ac_compiler_gnu=no
5604 fi
5605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5606 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5607
5608 fi
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5610 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5611 if test $ac_compiler_gnu = yes; then
5612   GCC=yes
5613 else
5614   GCC=
5615 fi
5616 ac_test_CFLAGS=${CFLAGS+set}
5617 ac_save_CFLAGS=$CFLAGS
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5619 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5620 if ${ac_cv_prog_cc_g+:} false; then :
5621   $as_echo_n "(cached) " >&6
5622 else
5623   ac_save_c_werror_flag=$ac_c_werror_flag
5624    ac_c_werror_flag=yes
5625    ac_cv_prog_cc_g=no
5626    CFLAGS="-g"
5627    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5628 /* end confdefs.h.  */
5629
5630 int
5631 main ()
5632 {
5633
5634   ;
5635   return 0;
5636 }
5637 _ACEOF
5638 if ac_fn_c_try_compile "$LINENO"; then :
5639   ac_cv_prog_cc_g=yes
5640 else
5641   CFLAGS=""
5642       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5643 /* end confdefs.h.  */
5644
5645 int
5646 main ()
5647 {
5648
5649   ;
5650   return 0;
5651 }
5652 _ACEOF
5653 if ac_fn_c_try_compile "$LINENO"; then :
5654
5655 else
5656   ac_c_werror_flag=$ac_save_c_werror_flag
5657          CFLAGS="-g"
5658          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5659 /* end confdefs.h.  */
5660
5661 int
5662 main ()
5663 {
5664
5665   ;
5666   return 0;
5667 }
5668 _ACEOF
5669 if ac_fn_c_try_compile "$LINENO"; then :
5670   ac_cv_prog_cc_g=yes
5671 fi
5672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5673 fi
5674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5675 fi
5676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5677    ac_c_werror_flag=$ac_save_c_werror_flag
5678 fi
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5680 $as_echo "$ac_cv_prog_cc_g" >&6; }
5681 if test "$ac_test_CFLAGS" = set; then
5682   CFLAGS=$ac_save_CFLAGS
5683 elif test $ac_cv_prog_cc_g = yes; then
5684   if test "$GCC" = yes; then
5685     CFLAGS="-g -O2"
5686   else
5687     CFLAGS="-g"
5688   fi
5689 else
5690   if test "$GCC" = yes; then
5691     CFLAGS="-O2"
5692   else
5693     CFLAGS=
5694   fi
5695 fi
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5697 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5698 if ${ac_cv_prog_cc_c89+:} false; then :
5699   $as_echo_n "(cached) " >&6
5700 else
5701   ac_cv_prog_cc_c89=no
5702 ac_save_CC=$CC
5703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5704 /* end confdefs.h.  */
5705 #include <stdarg.h>
5706 #include <stdio.h>
5707 struct stat;
5708 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5709 struct buf { int x; };
5710 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5711 static char *e (p, i)
5712      char **p;
5713      int i;
5714 {
5715   return p[i];
5716 }
5717 static char *f (char * (*g) (char **, int), char **p, ...)
5718 {
5719   char *s;
5720   va_list v;
5721   va_start (v,p);
5722   s = g (p, va_arg (v,int));
5723   va_end (v);
5724   return s;
5725 }
5726
5727 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5728    function prototypes and stuff, but not '\xHH' hex character constants.
5729    These don't provoke an error unfortunately, instead are silently treated
5730    as 'x'.  The following induces an error, until -std is added to get
5731    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5732    array size at least.  It's necessary to write '\x00'==0 to get something
5733    that's true only with -std.  */
5734 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5735
5736 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5737    inside strings and character constants.  */
5738 #define FOO(x) 'x'
5739 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5740
5741 int test (int i, double x);
5742 struct s1 {int (*f) (int a);};
5743 struct s2 {int (*f) (double a);};
5744 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5745 int argc;
5746 char **argv;
5747 int
5748 main ()
5749 {
5750 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5751   ;
5752   return 0;
5753 }
5754 _ACEOF
5755 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5756         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5757 do
5758   CC="$ac_save_CC $ac_arg"
5759   if ac_fn_c_try_compile "$LINENO"; then :
5760   ac_cv_prog_cc_c89=$ac_arg
5761 fi
5762 rm -f core conftest.err conftest.$ac_objext
5763   test "x$ac_cv_prog_cc_c89" != "xno" && break
5764 done
5765 rm -f conftest.$ac_ext
5766 CC=$ac_save_CC
5767
5768 fi
5769 # AC_CACHE_VAL
5770 case "x$ac_cv_prog_cc_c89" in
5771   x)
5772     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5773 $as_echo "none needed" >&6; } ;;
5774   xno)
5775     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5776 $as_echo "unsupported" >&6; } ;;
5777   *)
5778     CC="$CC $ac_cv_prog_cc_c89"
5779     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5780 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5781 esac
5782 if test "x$ac_cv_prog_cc_c89" != xno; then :
5783
5784 fi
5785
5786 ac_ext=c
5787 ac_cpp='$CPP $CPPFLAGS'
5788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5791
5792 ac_ext=c
5793 ac_cpp='$CPP $CPPFLAGS'
5794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5798 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5799 if ${am_cv_prog_cc_c_o+:} false; then :
5800   $as_echo_n "(cached) " >&6
5801 else
5802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5803 /* end confdefs.h.  */
5804
5805 int
5806 main ()
5807 {
5808
5809   ;
5810   return 0;
5811 }
5812 _ACEOF
5813   # Make sure it works both with $CC and with simple cc.
5814   # Following AC_PROG_CC_C_O, we do the test twice because some
5815   # compilers refuse to overwrite an existing .o file with -o,
5816   # though they will create one.
5817   am_cv_prog_cc_c_o=yes
5818   for am_i in 1 2; do
5819     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5820    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5821    ac_status=$?
5822    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5823    (exit $ac_status); } \
5824          && test -f conftest2.$ac_objext; then
5825       : OK
5826     else
5827       am_cv_prog_cc_c_o=no
5828       break
5829     fi
5830   done
5831   rm -f core conftest*
5832   unset am_i
5833 fi
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5835 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5836 if test "$am_cv_prog_cc_c_o" != yes; then
5837    # Losing compiler, so override with the script.
5838    # FIXME: It is wrong to rewrite CC.
5839    # But if we don't then we get into trouble of one sort or another.
5840    # A longer-term fix would be to have automake use am__CC in this case,
5841    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5842    CC="$am_aux_dir/compile $CC"
5843 fi
5844 ac_ext=c
5845 ac_cpp='$CPP $CPPFLAGS'
5846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5849
5850
5851 depcc="$CC"   am_compiler_list=
5852
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5854 $as_echo_n "checking dependency style of $depcc... " >&6; }
5855 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5856   $as_echo_n "(cached) " >&6
5857 else
5858   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5859   # We make a subdir and do the tests there.  Otherwise we can end up
5860   # making bogus files that we don't know about and never remove.  For
5861   # instance it was reported that on HP-UX the gcc test will end up
5862   # making a dummy file named 'D' -- because '-MD' means "put the output
5863   # in D".
5864   rm -rf conftest.dir
5865   mkdir conftest.dir
5866   # Copy depcomp to subdir because otherwise we won't find it if we're
5867   # using a relative directory.
5868   cp "$am_depcomp" conftest.dir
5869   cd conftest.dir
5870   # We will build objects and dependencies in a subdirectory because
5871   # it helps to detect inapplicable dependency modes.  For instance
5872   # both Tru64's cc and ICC support -MD to output dependencies as a
5873   # side effect of compilation, but ICC will put the dependencies in
5874   # the current directory while Tru64 will put them in the object
5875   # directory.
5876   mkdir sub
5877
5878   am_cv_CC_dependencies_compiler_type=none
5879   if test "$am_compiler_list" = ""; then
5880      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5881   fi
5882   am__universal=false
5883   case " $depcc " in #(
5884      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5885      esac
5886
5887   for depmode in $am_compiler_list; do
5888     # Setup a source with many dependencies, because some compilers
5889     # like to wrap large dependency lists on column 80 (with \), and
5890     # we should not choose a depcomp mode which is confused by this.
5891     #
5892     # We need to recreate these files for each test, as the compiler may
5893     # overwrite some of them when testing with obscure command lines.
5894     # This happens at least with the AIX C compiler.
5895     : > sub/conftest.c
5896     for i in 1 2 3 4 5 6; do
5897       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5898       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5899       # Solaris 10 /bin/sh.
5900       echo '/* dummy */' > sub/conftst$i.h
5901     done
5902     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5903
5904     # We check with '-c' and '-o' for the sake of the "dashmstdout"
5905     # mode.  It turns out that the SunPro C++ compiler does not properly
5906     # handle '-M -o', and we need to detect this.  Also, some Intel
5907     # versions had trouble with output in subdirs.
5908     am__obj=sub/conftest.${OBJEXT-o}
5909     am__minus_obj="-o $am__obj"
5910     case $depmode in
5911     gcc)
5912       # This depmode causes a compiler race in universal mode.
5913       test "$am__universal" = false || continue
5914       ;;
5915     nosideeffect)
5916       # After this tag, mechanisms are not by side-effect, so they'll
5917       # only be used when explicitly requested.
5918       if test "x$enable_dependency_tracking" = xyes; then
5919         continue
5920       else
5921         break
5922       fi
5923       ;;
5924     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5925       # This compiler won't grok '-c -o', but also, the minuso test has
5926       # not run yet.  These depmodes are late enough in the game, and
5927       # so weak that their functioning should not be impacted.
5928       am__obj=conftest.${OBJEXT-o}
5929       am__minus_obj=
5930       ;;
5931     none) break ;;
5932     esac
5933     if depmode=$depmode \
5934        source=sub/conftest.c object=$am__obj \
5935        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5936        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5937          >/dev/null 2>conftest.err &&
5938        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5939        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5940        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5941        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5942       # icc doesn't choke on unknown options, it will just issue warnings
5943       # or remarks (even with -Werror).  So we grep stderr for any message
5944       # that says an option was ignored or not supported.
5945       # When given -MP, icc 7.0 and 7.1 complain thusly:
5946       #   icc: Command line warning: ignoring option '-M'; no argument required
5947       # The diagnosis changed in icc 8.0:
5948       #   icc: Command line remark: option '-MP' not supported
5949       if (grep 'ignoring option' conftest.err ||
5950           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5951         am_cv_CC_dependencies_compiler_type=$depmode
5952         break
5953       fi
5954     fi
5955   done
5956
5957   cd ..
5958   rm -rf conftest.dir
5959 else
5960   am_cv_CC_dependencies_compiler_type=none
5961 fi
5962
5963 fi
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5965 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5966 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5967
5968  if
5969   test "x$enable_dependency_tracking" != xno \
5970   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5971   am__fastdepCC_TRUE=
5972   am__fastdepCC_FALSE='#'
5973 else
5974   am__fastdepCC_TRUE='#'
5975   am__fastdepCC_FALSE=
5976 fi
5977
5978
5979
5980
5981
5982
5983
5984
5985 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5986 if test "x$GCC" = "xyes"; then
5987   AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5988   ## We like to use C11 and C99 routines when available.  This makes
5989   ## sure that
5990   ## __STDC_VERSION__ is set such that libc includes make them available.
5991   AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5992   ## Compile the following tests with the same system header contents
5993   ## that we'll encounter when compiling our own source files.
5994   CFLAGS="-std=gnu11 $CFLAGS"
5995 fi
5996
5997 # Add CET specific flags if CET is enabled
5998  # Check whether --enable-cet was given.
5999 if test "${enable_cet+set}" = set; then :
6000   enableval=$enable_cet;
6001       case "$enableval" in
6002        yes|no|auto) ;;
6003        *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
6004                           esac
6005
6006 else
6007   enable_cet=auto
6008 fi
6009
6010
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
6012 $as_echo_n "checking for CET support... " >&6; }
6013
6014 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
6015 case "$host" in
6016   i[34567]86-*-linux* | x86_64-*-linux*)
6017     case "$enable_cet" in
6018       auto)
6019         # Check if target supports multi-byte NOPs
6020         # and if assembler supports CET insn.
6021         cet_save_CFLAGS="$CFLAGS"
6022         CFLAGS="$CFLAGS -fcf-protection"
6023         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6024 /* end confdefs.h.  */
6025
6026 int
6027 main ()
6028 {
6029
6030 #if !defined(__SSE2__)
6031 #error target does not support multi-byte NOPs
6032 #else
6033 asm ("setssbsy");
6034 #endif
6035
6036   ;
6037   return 0;
6038 }
6039 _ACEOF
6040 if ac_fn_c_try_compile "$LINENO"; then :
6041   enable_cet=yes
6042 else
6043   enable_cet=no
6044 fi
6045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6046         CFLAGS="$cet_save_CFLAGS"
6047         ;;
6048       yes)
6049         # Check if assembler supports CET.
6050         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6051 /* end confdefs.h.  */
6052
6053 int
6054 main ()
6055 {
6056 asm ("setssbsy");
6057   ;
6058   return 0;
6059 }
6060 _ACEOF
6061 if ac_fn_c_try_compile "$LINENO"; then :
6062
6063 else
6064   as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
6065 fi
6066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6067         ;;
6068     esac
6069     ;;
6070   *)
6071     enable_cet=no
6072     ;;
6073 esac
6074 if test x$enable_cet = xyes; then
6075   CET_FLAGS="-fcf-protection -mshstk"
6076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6077 $as_echo "yes" >&6; }
6078 else
6079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6080 $as_echo "no" >&6; }
6081 fi
6082
6083 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
6084 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
6085 CFLAGS="$CFLAGS $CET_FLAGS"
6086
6087
6088
6089
6090
6091 # Check for symbol versioning (copied from libssp).
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
6093 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
6094 # Check whether --enable-symvers was given.
6095 if test "${enable_symvers+set}" = set; then :
6096   enableval=$enable_symvers; gfortran_use_symver=$enableval
6097 else
6098   gfortran_use_symver=yes
6099 fi
6100
6101 if test "x$gfortran_use_symver" != xno; then
6102   save_LDFLAGS="$LDFLAGS"
6103   LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
6104   cat > conftest.map <<EOF
6105 FOO_1.0 {
6106   global: *foo*; bar; local: *;
6107 };
6108 EOF
6109   if test x$gcc_no_link = xyes; then
6110   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6111 fi
6112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6113 /* end confdefs.h.  */
6114 int foo;
6115 int
6116 main ()
6117 {
6118
6119   ;
6120   return 0;
6121 }
6122 _ACEOF
6123 if ac_fn_c_try_link "$LINENO"; then :
6124   gfortran_use_symver=gnu
6125 else
6126   gfortran_use_symver=no
6127 fi
6128 rm -f core conftest.err conftest.$ac_objext \
6129     conftest$ac_exeext conftest.$ac_ext
6130   if test x$gfortran_use_symver = xno; then
6131     case "$target_os" in
6132       solaris2*)
6133         LDFLAGS="$save_LDFLAGS"
6134         LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
6135         # Sun ld cannot handle wildcards and treats all entries as undefined.
6136         cat > conftest.map <<EOF
6137 FOO_1.0 {
6138   global: foo; local: *;
6139 };
6140 EOF
6141         if test x$gcc_no_link = xyes; then
6142   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6143 fi
6144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6145 /* end confdefs.h.  */
6146 int foo;
6147 int
6148 main ()
6149 {
6150
6151   ;
6152   return 0;
6153 }
6154 _ACEOF
6155 if ac_fn_c_try_link "$LINENO"; then :
6156   gfortran_use_symver=sun
6157 else
6158   gfortran_use_symver=no
6159 fi
6160 rm -f core conftest.err conftest.$ac_objext \
6161     conftest$ac_exeext conftest.$ac_ext
6162         ;;
6163     esac
6164   fi
6165   LDFLAGS="$save_LDFLAGS"
6166 fi
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
6168 $as_echo "$gfortran_use_symver" >&6; }
6169  if test "x$gfortran_use_symver" != xno; then
6170   LIBGFOR_USE_SYMVER_TRUE=
6171   LIBGFOR_USE_SYMVER_FALSE='#'
6172 else
6173   LIBGFOR_USE_SYMVER_TRUE='#'
6174   LIBGFOR_USE_SYMVER_FALSE=
6175 fi
6176
6177  if test "x$gfortran_use_symver" = xgnu; then
6178   LIBGFOR_USE_SYMVER_GNU_TRUE=
6179   LIBGFOR_USE_SYMVER_GNU_FALSE='#'
6180 else
6181   LIBGFOR_USE_SYMVER_GNU_TRUE='#'
6182   LIBGFOR_USE_SYMVER_GNU_FALSE=
6183 fi
6184
6185  if test "x$gfortran_use_symver" = xsun; then
6186   LIBGFOR_USE_SYMVER_SUN_TRUE=
6187   LIBGFOR_USE_SYMVER_SUN_FALSE='#'
6188 else
6189   LIBGFOR_USE_SYMVER_SUN_TRUE='#'
6190   LIBGFOR_USE_SYMVER_SUN_FALSE=
6191 fi
6192
6193
6194 # For GPU offloading, not everything in libfortran can be supported.
6195 # Currently, the only target that has this problem is nvptx.  The
6196 # following is a (partial) list of features that are unsupportable on
6197 # this particular target:
6198 # * Constructors
6199 # * alloca
6200 # * C library support for I/O, with printf as the one notable exception
6201 # * C library support for other features such as signal, environment
6202 #   variables, time functions
6203
6204  if test "x${target_cpu}" = xnvptx; then
6205   LIBGFOR_MINIMAL_TRUE=
6206   LIBGFOR_MINIMAL_FALSE='#'
6207 else
6208   LIBGFOR_MINIMAL_TRUE='#'
6209   LIBGFOR_MINIMAL_FALSE=
6210 fi
6211
6212
6213 # Some compiler target support may have limited support for integer
6214 # or floating point numbers â€“ or may want to reduce the libgfortran size
6215 # although they do have the support.
6216 LIBGOMP_CHECKED_INT_KINDS="1 2 4 8 16"
6217 LIBGOMP_CHECKED_REAL_KINDS="4 8 10 16"
6218
6219 if test "x${target_cpu}" = xamdgcn; then
6220   # amdgcn only has limited support for __int128.
6221   LIBGOMP_CHECKED_INT_KINDS="1 2 4 8"
6222 fi
6223
6224
6225
6226 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6227 # similarly to how libstdc++ does it
6228 ac_test_CFLAGS="${CFLAGS+set}"
6229 ac_save_CFLAGS="$CFLAGS"
6230
6231 # Check for -ffunction-sections -fdata-sections
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6233 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6234 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6236 /* end confdefs.h.  */
6237
6238 int
6239 main ()
6240 {
6241 int foo;
6242   ;
6243   return 0;
6244 }
6245 _ACEOF
6246 if ac_fn_c_try_compile "$LINENO"; then :
6247   ac_fdsections=yes
6248 else
6249   ac_fdsections=no
6250 fi
6251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6252 if test "$ac_test_CFLAGS" = set; then
6253   CFLAGS="$ac_save_CFLAGS"
6254 else
6255   # this is the suspicious part
6256   CFLAGS=""
6257 fi
6258 if test x"$ac_fdsections" = x"yes"; then
6259   SECTION_FLAGS='-ffunction-sections -fdata-sections'
6260 fi
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6262 $as_echo "$ac_fdsections" >&6; }
6263
6264
6265 # Check linker hardware capability support.
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6267 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6268 if ${ac_cv_path_SED+:} false; then :
6269   $as_echo_n "(cached) " >&6
6270 else
6271             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6272      for ac_i in 1 2 3 4 5 6 7; do
6273        ac_script="$ac_script$as_nl$ac_script"
6274      done
6275      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6276      { ac_script=; unset ac_script;}
6277      if test -z "$SED"; then
6278   ac_path_SED_found=false
6279   # Loop through the user's path and test for each of PROGNAME-LIST
6280   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6281 for as_dir in $PATH
6282 do
6283   IFS=$as_save_IFS
6284   test -z "$as_dir" && as_dir=.
6285     for ac_prog in sed gsed; do
6286     for ac_exec_ext in '' $ac_executable_extensions; do
6287       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6288       as_fn_executable_p "$ac_path_SED" || continue
6289 # Check for GNU ac_path_SED and select it if it is found.
6290   # Check for GNU $ac_path_SED
6291 case `"$ac_path_SED" --version 2>&1` in
6292 *GNU*)
6293   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6294 *)
6295   ac_count=0
6296   $as_echo_n 0123456789 >"conftest.in"
6297   while :
6298   do
6299     cat "conftest.in" "conftest.in" >"conftest.tmp"
6300     mv "conftest.tmp" "conftest.in"
6301     cp "conftest.in" "conftest.nl"
6302     $as_echo '' >> "conftest.nl"
6303     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6304     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6305     as_fn_arith $ac_count + 1 && ac_count=$as_val
6306     if test $ac_count -gt ${ac_path_SED_max-0}; then
6307       # Best one so far, save it but keep looking for a better one
6308       ac_cv_path_SED="$ac_path_SED"
6309       ac_path_SED_max=$ac_count
6310     fi
6311     # 10*(2^10) chars as input seems more than enough
6312     test $ac_count -gt 10 && break
6313   done
6314   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6315 esac
6316
6317       $ac_path_SED_found && break 3
6318     done
6319   done
6320   done
6321 IFS=$as_save_IFS
6322   if test -z "$ac_cv_path_SED"; then
6323     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6324   fi
6325 else
6326   ac_cv_path_SED=$SED
6327 fi
6328
6329 fi
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6331 $as_echo "$ac_cv_path_SED" >&6; }
6332  SED="$ac_cv_path_SED"
6333   rm -f conftest.sed
6334
6335 test -z "$SED" && SED=sed
6336 Xsed="$SED -e 1s/^X//"
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6349 $as_echo_n "checking for fgrep... " >&6; }
6350 if ${ac_cv_path_FGREP+:} false; then :
6351   $as_echo_n "(cached) " >&6
6352 else
6353   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6354    then ac_cv_path_FGREP="$GREP -F"
6355    else
6356      if test -z "$FGREP"; then
6357   ac_path_FGREP_found=false
6358   # Loop through the user's path and test for each of PROGNAME-LIST
6359   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6360 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6361 do
6362   IFS=$as_save_IFS
6363   test -z "$as_dir" && as_dir=.
6364     for ac_prog in fgrep; do
6365     for ac_exec_ext in '' $ac_executable_extensions; do
6366       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6367       as_fn_executable_p "$ac_path_FGREP" || continue
6368 # Check for GNU ac_path_FGREP and select it if it is found.
6369   # Check for GNU $ac_path_FGREP
6370 case `"$ac_path_FGREP" --version 2>&1` in
6371 *GNU*)
6372   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6373 *)
6374   ac_count=0
6375   $as_echo_n 0123456789 >"conftest.in"
6376   while :
6377   do
6378     cat "conftest.in" "conftest.in" >"conftest.tmp"
6379     mv "conftest.tmp" "conftest.in"
6380     cp "conftest.in" "conftest.nl"
6381     $as_echo 'FGREP' >> "conftest.nl"
6382     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6383     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6384     as_fn_arith $ac_count + 1 && ac_count=$as_val
6385     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6386       # Best one so far, save it but keep looking for a better one
6387       ac_cv_path_FGREP="$ac_path_FGREP"
6388       ac_path_FGREP_max=$ac_count
6389     fi
6390     # 10*(2^10) chars as input seems more than enough
6391     test $ac_count -gt 10 && break
6392   done
6393   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6394 esac
6395
6396       $ac_path_FGREP_found && break 3
6397     done
6398   done
6399   done
6400 IFS=$as_save_IFS
6401   if test -z "$ac_cv_path_FGREP"; then
6402     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6403   fi
6404 else
6405   ac_cv_path_FGREP=$FGREP
6406 fi
6407
6408    fi
6409 fi
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6411 $as_echo "$ac_cv_path_FGREP" >&6; }
6412  FGREP="$ac_cv_path_FGREP"
6413
6414
6415 test -z "$GREP" && GREP=grep
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6434 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6435 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6436
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6438 $as_echo_n "checking how to print strings... " >&6; }
6439 # Test print first, because it will be a builtin if present.
6440 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6441    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6442   ECHO='print -r --'
6443 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6444   ECHO='printf %s\n'
6445 else
6446   # Use this function as a fallback that always works.
6447   func_fallback_echo ()
6448   {
6449     eval 'cat <<_LTECHO_EOF
6450 $1
6451 _LTECHO_EOF'
6452   }
6453   ECHO='func_fallback_echo'
6454 fi
6455
6456 # func_echo_all arg...
6457 # Invoke $ECHO with all args, space-separated.
6458 func_echo_all ()
6459 {
6460     $ECHO ""
6461 }
6462
6463 case "$ECHO" in
6464   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6465 $as_echo "printf" >&6; } ;;
6466   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6467 $as_echo "print -r" >&6; } ;;
6468   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6469 $as_echo "cat" >&6; } ;;
6470 esac
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487 # Check whether --with-gnu-ld was given.
6488 if test "${with_gnu_ld+set}" = set; then :
6489   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6490 else
6491   with_gnu_ld=no
6492 fi
6493
6494 ac_prog=ld
6495 if test "$GCC" = yes; then
6496   # Check if gcc -print-prog-name=ld gives a path.
6497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6498 $as_echo_n "checking for ld used by $CC... " >&6; }
6499   case $host in
6500   *-*-mingw*)
6501     # gcc leaves a trailing carriage return which upsets mingw
6502     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6503   *)
6504     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6505   esac
6506   case $ac_prog in
6507     # Accept absolute paths.
6508     [\\/]* | ?:[\\/]*)
6509       re_direlt='/[^/][^/]*/\.\./'
6510       # Canonicalize the pathname of ld
6511       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6512       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6513         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6514       done
6515       test -z "$LD" && LD="$ac_prog"
6516       ;;
6517   "")
6518     # If it fails, then pretend we aren't using GCC.
6519     ac_prog=ld
6520     ;;
6521   *)
6522     # If it is relative, then search for the first ld in PATH.
6523     with_gnu_ld=unknown
6524     ;;
6525   esac
6526 elif test "$with_gnu_ld" = yes; then
6527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6528 $as_echo_n "checking for GNU ld... " >&6; }
6529 else
6530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6531 $as_echo_n "checking for non-GNU ld... " >&6; }
6532 fi
6533 if ${lt_cv_path_LD+:} false; then :
6534   $as_echo_n "(cached) " >&6
6535 else
6536   if test -z "$LD"; then
6537   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6538   for ac_dir in $PATH; do
6539     IFS="$lt_save_ifs"
6540     test -z "$ac_dir" && ac_dir=.
6541     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6542       lt_cv_path_LD="$ac_dir/$ac_prog"
6543       # Check to see if the program is GNU ld.  I'd rather use --version,
6544       # but apparently some variants of GNU ld only accept -v.
6545       # Break only if it was the GNU/non-GNU ld that we prefer.
6546       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6547       *GNU* | *'with BFD'*)
6548         test "$with_gnu_ld" != no && break
6549         ;;
6550       *)
6551         test "$with_gnu_ld" != yes && break
6552         ;;
6553       esac
6554     fi
6555   done
6556   IFS="$lt_save_ifs"
6557 else
6558   lt_cv_path_LD="$LD" # Let the user override the test with a path.
6559 fi
6560 fi
6561
6562 LD="$lt_cv_path_LD"
6563 if test -n "$LD"; then
6564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6565 $as_echo "$LD" >&6; }
6566 else
6567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6568 $as_echo "no" >&6; }
6569 fi
6570 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6572 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6573 if ${lt_cv_prog_gnu_ld+:} false; then :
6574   $as_echo_n "(cached) " >&6
6575 else
6576   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6577 case `$LD -v 2>&1 </dev/null` in
6578 *GNU* | *'with BFD'*)
6579   lt_cv_prog_gnu_ld=yes
6580   ;;
6581 *)
6582   lt_cv_prog_gnu_ld=no
6583   ;;
6584 esac
6585 fi
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6587 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6588 with_gnu_ld=$lt_cv_prog_gnu_ld
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599   test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6600
6601
6602   ac_save_LDFLAGS="$LDFLAGS"
6603   LDFLAGS="$LFLAGS -mclear-hwcap"
6604
6605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6606 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6607   if test x$gcc_no_link = xyes; then
6608   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6609 fi
6610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6611 /* end confdefs.h.  */
6612
6613 int
6614 main ()
6615 {
6616 return 0;
6617   ;
6618   return 0;
6619 }
6620 _ACEOF
6621 if ac_fn_c_try_link "$LINENO"; then :
6622   ac_hwcap_ldflags=yes
6623 else
6624   ac_hwcap_ldflags=no
6625 fi
6626 rm -f core conftest.err conftest.$ac_objext \
6627     conftest$ac_exeext conftest.$ac_ext
6628   if test "$ac_hwcap_ldflags" = "yes"; then
6629     HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6630   fi
6631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6632 $as_echo "$ac_hwcap_ldflags" >&6; }
6633
6634   LDFLAGS="$ac_save_LDFLAGS"
6635
6636
6637
6638    if test $ac_hwcap_ldflags != no; then
6639   HAVE_HWCAP_TRUE=
6640   HAVE_HWCAP_FALSE='#'
6641 else
6642   HAVE_HWCAP_TRUE='#'
6643   HAVE_HWCAP_FALSE=
6644 fi
6645
6646
6647
6648 # Find other programs we need.
6649 if test -n "$ac_tool_prefix"; then
6650   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6651 set dummy ${ac_tool_prefix}as; ac_word=$2
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6653 $as_echo_n "checking for $ac_word... " >&6; }
6654 if ${ac_cv_prog_AS+:} false; then :
6655   $as_echo_n "(cached) " >&6
6656 else
6657   if test -n "$AS"; then
6658   ac_cv_prog_AS="$AS" # Let the user override the test.
6659 else
6660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6661 for as_dir in $PATH
6662 do
6663   IFS=$as_save_IFS
6664   test -z "$as_dir" && as_dir=.
6665     for ac_exec_ext in '' $ac_executable_extensions; do
6666   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6667     ac_cv_prog_AS="${ac_tool_prefix}as"
6668     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6669     break 2
6670   fi
6671 done
6672   done
6673 IFS=$as_save_IFS
6674
6675 fi
6676 fi
6677 AS=$ac_cv_prog_AS
6678 if test -n "$AS"; then
6679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6680 $as_echo "$AS" >&6; }
6681 else
6682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6683 $as_echo "no" >&6; }
6684 fi
6685
6686
6687 fi
6688 if test -z "$ac_cv_prog_AS"; then
6689   ac_ct_AS=$AS
6690   # Extract the first word of "as", so it can be a program name with args.
6691 set dummy as; ac_word=$2
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6693 $as_echo_n "checking for $ac_word... " >&6; }
6694 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6695   $as_echo_n "(cached) " >&6
6696 else
6697   if test -n "$ac_ct_AS"; then
6698   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6699 else
6700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6701 for as_dir in $PATH
6702 do
6703   IFS=$as_save_IFS
6704   test -z "$as_dir" && as_dir=.
6705     for ac_exec_ext in '' $ac_executable_extensions; do
6706   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6707     ac_cv_prog_ac_ct_AS="as"
6708     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6709     break 2
6710   fi
6711 done
6712   done
6713 IFS=$as_save_IFS
6714
6715 fi
6716 fi
6717 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6718 if test -n "$ac_ct_AS"; then
6719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6720 $as_echo "$ac_ct_AS" >&6; }
6721 else
6722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6723 $as_echo "no" >&6; }
6724 fi
6725
6726   if test "x$ac_ct_AS" = x; then
6727     AS=""
6728   else
6729     case $cross_compiling:$ac_tool_warned in
6730 yes:)
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6732 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6733 ac_tool_warned=yes ;;
6734 esac
6735     AS=$ac_ct_AS
6736   fi
6737 else
6738   AS="$ac_cv_prog_AS"
6739 fi
6740
6741 if test -n "$ac_tool_prefix"; then
6742   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6743 set dummy ${ac_tool_prefix}ar; ac_word=$2
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6745 $as_echo_n "checking for $ac_word... " >&6; }
6746 if ${ac_cv_prog_AR+:} false; then :
6747   $as_echo_n "(cached) " >&6
6748 else
6749   if test -n "$AR"; then
6750   ac_cv_prog_AR="$AR" # Let the user override the test.
6751 else
6752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6753 for as_dir in $PATH
6754 do
6755   IFS=$as_save_IFS
6756   test -z "$as_dir" && as_dir=.
6757     for ac_exec_ext in '' $ac_executable_extensions; do
6758   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6759     ac_cv_prog_AR="${ac_tool_prefix}ar"
6760     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6761     break 2
6762   fi
6763 done
6764   done
6765 IFS=$as_save_IFS
6766
6767 fi
6768 fi
6769 AR=$ac_cv_prog_AR
6770 if test -n "$AR"; then
6771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6772 $as_echo "$AR" >&6; }
6773 else
6774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6775 $as_echo "no" >&6; }
6776 fi
6777
6778
6779 fi
6780 if test -z "$ac_cv_prog_AR"; then
6781   ac_ct_AR=$AR
6782   # Extract the first word of "ar", so it can be a program name with args.
6783 set dummy ar; ac_word=$2
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6785 $as_echo_n "checking for $ac_word... " >&6; }
6786 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6787   $as_echo_n "(cached) " >&6
6788 else
6789   if test -n "$ac_ct_AR"; then
6790   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6791 else
6792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6793 for as_dir in $PATH
6794 do
6795   IFS=$as_save_IFS
6796   test -z "$as_dir" && as_dir=.
6797     for ac_exec_ext in '' $ac_executable_extensions; do
6798   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6799     ac_cv_prog_ac_ct_AR="ar"
6800     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6801     break 2
6802   fi
6803 done
6804   done
6805 IFS=$as_save_IFS
6806
6807 fi
6808 fi
6809 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6810 if test -n "$ac_ct_AR"; then
6811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6812 $as_echo "$ac_ct_AR" >&6; }
6813 else
6814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6815 $as_echo "no" >&6; }
6816 fi
6817
6818   if test "x$ac_ct_AR" = x; then
6819     AR=""
6820   else
6821     case $cross_compiling:$ac_tool_warned in
6822 yes:)
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6825 ac_tool_warned=yes ;;
6826 esac
6827     AR=$ac_ct_AR
6828   fi
6829 else
6830   AR="$ac_cv_prog_AR"
6831 fi
6832
6833 if test -n "$ac_tool_prefix"; then
6834   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6835 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6837 $as_echo_n "checking for $ac_word... " >&6; }
6838 if ${ac_cv_prog_RANLIB+:} false; then :
6839   $as_echo_n "(cached) " >&6
6840 else
6841   if test -n "$RANLIB"; then
6842   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6843 else
6844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6845 for as_dir in $PATH
6846 do
6847   IFS=$as_save_IFS
6848   test -z "$as_dir" && as_dir=.
6849     for ac_exec_ext in '' $ac_executable_extensions; do
6850   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6851     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6852     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6853     break 2
6854   fi
6855 done
6856   done
6857 IFS=$as_save_IFS
6858
6859 fi
6860 fi
6861 RANLIB=$ac_cv_prog_RANLIB
6862 if test -n "$RANLIB"; then
6863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6864 $as_echo "$RANLIB" >&6; }
6865 else
6866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6867 $as_echo "no" >&6; }
6868 fi
6869
6870
6871 fi
6872 if test -z "$ac_cv_prog_RANLIB"; then
6873   ac_ct_RANLIB=$RANLIB
6874   # Extract the first word of "ranlib", so it can be a program name with args.
6875 set dummy ranlib; ac_word=$2
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6877 $as_echo_n "checking for $ac_word... " >&6; }
6878 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6879   $as_echo_n "(cached) " >&6
6880 else
6881   if test -n "$ac_ct_RANLIB"; then
6882   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6883 else
6884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6885 for as_dir in $PATH
6886 do
6887   IFS=$as_save_IFS
6888   test -z "$as_dir" && as_dir=.
6889     for ac_exec_ext in '' $ac_executable_extensions; do
6890   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6891     ac_cv_prog_ac_ct_RANLIB="ranlib"
6892     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6893     break 2
6894   fi
6895 done
6896   done
6897 IFS=$as_save_IFS
6898
6899 fi
6900 fi
6901 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6902 if test -n "$ac_ct_RANLIB"; then
6903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6904 $as_echo "$ac_ct_RANLIB" >&6; }
6905 else
6906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6907 $as_echo "no" >&6; }
6908 fi
6909
6910   if test "x$ac_ct_RANLIB" = x; then
6911     RANLIB="ranlib-not-found-in-path-error"
6912   else
6913     case $cross_compiling:$ac_tool_warned in
6914 yes:)
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6917 ac_tool_warned=yes ;;
6918 esac
6919     RANLIB=$ac_ct_RANLIB
6920   fi
6921 else
6922   RANLIB="$ac_cv_prog_RANLIB"
6923 fi
6924
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6926 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6927 set x ${MAKE-make}
6928 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6929 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6930   $as_echo_n "(cached) " >&6
6931 else
6932   cat >conftest.make <<\_ACEOF
6933 SHELL = /bin/sh
6934 all:
6935         @echo '@@@%%%=$(MAKE)=@@@%%%'
6936 _ACEOF
6937 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6938 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6939   *@@@%%%=?*=@@@%%%*)
6940     eval ac_cv_prog_make_${ac_make}_set=yes;;
6941   *)
6942     eval ac_cv_prog_make_${ac_make}_set=no;;
6943 esac
6944 rm -f conftest.make
6945 fi
6946 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6948 $as_echo "yes" >&6; }
6949   SET_MAKE=
6950 else
6951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6952 $as_echo "no" >&6; }
6953   SET_MAKE="MAKE=${MAKE-make}"
6954 fi
6955
6956
6957
6958 # Configure libtool
6959 #AC_MSG_NOTICE([====== Starting libtool configuration])
6960 enable_dlopen=yes
6961
6962
6963
6964 case `pwd` in
6965   *\ * | *\     *)
6966     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6967 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6968 esac
6969
6970
6971
6972 macro_version='2.2.7a'
6973 macro_revision='1.3134'
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987 ltmain="$ac_aux_dir/ltmain.sh"
6988
6989 # Backslashify metacharacters that are still active within
6990 # double-quoted strings.
6991 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6992
6993 # Same as above, but do not quote variable references.
6994 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6995
6996 # Sed substitution to delay expansion of an escaped shell variable in a
6997 # double_quote_subst'ed string.
6998 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6999
7000 # Sed substitution to delay expansion of an escaped single quote.
7001 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7002
7003 # Sed substitution to avoid accidental globbing in evaled expressions
7004 no_glob_subst='s/\*/\\\*/g'
7005
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7007 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7008 if ${lt_cv_path_NM+:} false; then :
7009   $as_echo_n "(cached) " >&6
7010 else
7011   if test -n "$NM"; then
7012   # Let the user override the test.
7013   lt_cv_path_NM="$NM"
7014 else
7015   lt_nm_to_check="${ac_tool_prefix}nm"
7016   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7017     lt_nm_to_check="$lt_nm_to_check nm"
7018   fi
7019   for lt_tmp_nm in $lt_nm_to_check; do
7020     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7021     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7022       IFS="$lt_save_ifs"
7023       test -z "$ac_dir" && ac_dir=.
7024       tmp_nm="$ac_dir/$lt_tmp_nm"
7025       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7026         # Check to see if the nm accepts a BSD-compat flag.
7027         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7028         #   nm: unknown option "B" ignored
7029         # Tru64's nm complains that /dev/null is an invalid object file
7030         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7031         */dev/null* | *'Invalid file or object type'*)
7032           lt_cv_path_NM="$tmp_nm -B"
7033           break
7034           ;;
7035         *)
7036           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7037           */dev/null*)
7038             lt_cv_path_NM="$tmp_nm -p"
7039             break
7040             ;;
7041           *)
7042             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7043             continue # so that we can try to find one that supports BSD flags
7044             ;;
7045           esac
7046           ;;
7047         esac
7048       fi
7049     done
7050     IFS="$lt_save_ifs"
7051   done
7052   : ${lt_cv_path_NM=no}
7053 fi
7054 fi
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7056 $as_echo "$lt_cv_path_NM" >&6; }
7057 if test "$lt_cv_path_NM" != "no"; then
7058   NM="$lt_cv_path_NM"
7059 else
7060   # Didn't find any BSD compatible name lister, look for dumpbin.
7061   if test -n "$DUMPBIN"; then :
7062     # Let the user override the test.
7063   else
7064     if test -n "$ac_tool_prefix"; then
7065   for ac_prog in dumpbin "link -dump"
7066   do
7067     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7068 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7070 $as_echo_n "checking for $ac_word... " >&6; }
7071 if ${ac_cv_prog_DUMPBIN+:} false; then :
7072   $as_echo_n "(cached) " >&6
7073 else
7074   if test -n "$DUMPBIN"; then
7075   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7076 else
7077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7078 for as_dir in $PATH
7079 do
7080   IFS=$as_save_IFS
7081   test -z "$as_dir" && as_dir=.
7082     for ac_exec_ext in '' $ac_executable_extensions; do
7083   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7084     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7086     break 2
7087   fi
7088 done
7089   done
7090 IFS=$as_save_IFS
7091
7092 fi
7093 fi
7094 DUMPBIN=$ac_cv_prog_DUMPBIN
7095 if test -n "$DUMPBIN"; then
7096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7097 $as_echo "$DUMPBIN" >&6; }
7098 else
7099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7100 $as_echo "no" >&6; }
7101 fi
7102
7103
7104     test -n "$DUMPBIN" && break
7105   done
7106 fi
7107 if test -z "$DUMPBIN"; then
7108   ac_ct_DUMPBIN=$DUMPBIN
7109   for ac_prog in dumpbin "link -dump"
7110 do
7111   # Extract the first word of "$ac_prog", so it can be a program name with args.
7112 set dummy $ac_prog; ac_word=$2
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7114 $as_echo_n "checking for $ac_word... " >&6; }
7115 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7116   $as_echo_n "(cached) " >&6
7117 else
7118   if test -n "$ac_ct_DUMPBIN"; then
7119   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7120 else
7121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7122 for as_dir in $PATH
7123 do
7124   IFS=$as_save_IFS
7125   test -z "$as_dir" && as_dir=.
7126     for ac_exec_ext in '' $ac_executable_extensions; do
7127   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7128     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7130     break 2
7131   fi
7132 done
7133   done
7134 IFS=$as_save_IFS
7135
7136 fi
7137 fi
7138 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7139 if test -n "$ac_ct_DUMPBIN"; then
7140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7141 $as_echo "$ac_ct_DUMPBIN" >&6; }
7142 else
7143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7144 $as_echo "no" >&6; }
7145 fi
7146
7147
7148   test -n "$ac_ct_DUMPBIN" && break
7149 done
7150
7151   if test "x$ac_ct_DUMPBIN" = x; then
7152     DUMPBIN=":"
7153   else
7154     case $cross_compiling:$ac_tool_warned in
7155 yes:)
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7158 ac_tool_warned=yes ;;
7159 esac
7160     DUMPBIN=$ac_ct_DUMPBIN
7161   fi
7162 fi
7163
7164     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7165     *COFF*)
7166       DUMPBIN="$DUMPBIN -symbols"
7167       ;;
7168     *)
7169       DUMPBIN=:
7170       ;;
7171     esac
7172   fi
7173
7174   if test "$DUMPBIN" != ":"; then
7175     NM="$DUMPBIN"
7176   fi
7177 fi
7178 test -z "$NM" && NM=nm
7179
7180
7181
7182
7183
7184
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7186 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7187 if ${lt_cv_nm_interface+:} false; then :
7188   $as_echo_n "(cached) " >&6
7189 else
7190   lt_cv_nm_interface="BSD nm"
7191   echo "int some_variable = 0;" > conftest.$ac_ext
7192   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7193   (eval "$ac_compile" 2>conftest.err)
7194   cat conftest.err >&5
7195   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7196   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7197   cat conftest.err >&5
7198   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7199   cat conftest.out >&5
7200   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7201     lt_cv_nm_interface="MS dumpbin"
7202   fi
7203   rm -f conftest*
7204 fi
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7206 $as_echo "$lt_cv_nm_interface" >&6; }
7207
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7209 $as_echo_n "checking whether ln -s works... " >&6; }
7210 LN_S=$as_ln_s
7211 if test "$LN_S" = "ln -s"; then
7212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7213 $as_echo "yes" >&6; }
7214 else
7215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7216 $as_echo "no, using $LN_S" >&6; }
7217 fi
7218
7219 # find the maximum length of command line arguments
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7221 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7222 if ${lt_cv_sys_max_cmd_len+:} false; then :
7223   $as_echo_n "(cached) " >&6
7224 else
7225     i=0
7226   teststring="ABCD"
7227
7228   case $build_os in
7229   msdosdjgpp*)
7230     # On DJGPP, this test can blow up pretty badly due to problems in libc
7231     # (any single argument exceeding 2000 bytes causes a buffer overrun
7232     # during glob expansion).  Even if it were fixed, the result of this
7233     # check would be larger than it should be.
7234     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7235     ;;
7236
7237   gnu*)
7238     # Under GNU Hurd, this test is not required because there is
7239     # no limit to the length of command line arguments.
7240     # Libtool will interpret -1 as no limit whatsoever
7241     lt_cv_sys_max_cmd_len=-1;
7242     ;;
7243
7244   cygwin* | mingw* | cegcc*)
7245     # On Win9x/ME, this test blows up -- it succeeds, but takes
7246     # about 5 minutes as the teststring grows exponentially.
7247     # Worse, since 9x/ME are not pre-emptively multitasking,
7248     # you end up with a "frozen" computer, even though with patience
7249     # the test eventually succeeds (with a max line length of 256k).
7250     # Instead, let's just punt: use the minimum linelength reported by
7251     # all of the supported platforms: 8192 (on NT/2K/XP).
7252     lt_cv_sys_max_cmd_len=8192;
7253     ;;
7254
7255   mint*)
7256     # On MiNT this can take a long time and run out of memory.
7257     lt_cv_sys_max_cmd_len=8192;
7258     ;;
7259
7260   amigaos*)
7261     # On AmigaOS with pdksh, this test takes hours, literally.
7262     # So we just punt and use a minimum line length of 8192.
7263     lt_cv_sys_max_cmd_len=8192;
7264     ;;
7265
7266   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7267     # This has been around since 386BSD, at least.  Likely further.
7268     if test -x /sbin/sysctl; then
7269       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7270     elif test -x /usr/sbin/sysctl; then
7271       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7272     else
7273       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
7274     fi
7275     # And add a safety zone
7276     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7277     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7278     ;;
7279
7280   interix*)
7281     # We know the value 262144 and hardcode it with a safety zone (like BSD)
7282     lt_cv_sys_max_cmd_len=196608
7283     ;;
7284
7285   osf*)
7286     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7287     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7288     # nice to cause kernel panics so lets avoid the loop below.
7289     # First set a reasonable default.
7290     lt_cv_sys_max_cmd_len=16384
7291     #
7292     if test -x /sbin/sysconfig; then
7293       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7294         *1*) lt_cv_sys_max_cmd_len=-1 ;;
7295       esac
7296     fi
7297     ;;
7298   sco3.2v5*)
7299     lt_cv_sys_max_cmd_len=102400
7300     ;;
7301   sysv5* | sco5v6* | sysv4.2uw2*)
7302     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7303     if test -n "$kargmax"; then
7304       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
7305     else
7306       lt_cv_sys_max_cmd_len=32768
7307     fi
7308     ;;
7309   *)
7310     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7311     if test -n "$lt_cv_sys_max_cmd_len"; then
7312       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7313       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7314     else
7315       # Make teststring a little bigger before we do anything with it.
7316       # a 1K string should be a reasonable start.
7317       for i in 1 2 3 4 5 6 7 8 ; do
7318         teststring=$teststring$teststring
7319       done
7320       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7321       # If test is not a shell built-in, we'll probably end up computing a
7322       # maximum length that is only half of the actual maximum length, but
7323       # we can't tell.
7324       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7325                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7326               test $i != 17 # 1/2 MB should be enough
7327       do
7328         i=`expr $i + 1`
7329         teststring=$teststring$teststring
7330       done
7331       # Only check the string length outside the loop.
7332       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7333       teststring=
7334       # Add a significant safety factor because C++ compilers can tack on
7335       # massive amounts of additional arguments before passing them to the
7336       # linker.  It appears as though 1/2 is a usable value.
7337       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7338     fi
7339     ;;
7340   esac
7341
7342 fi
7343
7344 if test -n $lt_cv_sys_max_cmd_len ; then
7345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7346 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7347 else
7348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7349 $as_echo "none" >&6; }
7350 fi
7351 max_cmd_len=$lt_cv_sys_max_cmd_len
7352
7353
7354
7355
7356
7357
7358 : ${CP="cp -f"}
7359 : ${MV="mv -f"}
7360 : ${RM="rm -f"}
7361
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7363 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7364 # Try some XSI features
7365 xsi_shell=no
7366 ( _lt_dummy="a/b/c"
7367   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7368       = c,a/b,, \
7369     && eval 'test $(( 1 + 1 )) -eq 2 \
7370     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7371   && xsi_shell=yes
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7373 $as_echo "$xsi_shell" >&6; }
7374
7375
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7377 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7378 lt_shell_append=no
7379 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7380     >/dev/null 2>&1 \
7381   && lt_shell_append=yes
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7383 $as_echo "$lt_shell_append" >&6; }
7384
7385
7386 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7387   lt_unset=unset
7388 else
7389   lt_unset=false
7390 fi
7391
7392
7393
7394
7395
7396 # test EBCDIC or ASCII
7397 case `echo X|tr X '\101'` in
7398  A) # ASCII based system
7399     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7400   lt_SP2NL='tr \040 \012'
7401   lt_NL2SP='tr \015\012 \040\040'
7402   ;;
7403  *) # EBCDIC based system
7404   lt_SP2NL='tr \100 \n'
7405   lt_NL2SP='tr \r\n \100\100'
7406   ;;
7407 esac
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7418 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7419 if ${lt_cv_ld_reload_flag+:} false; then :
7420   $as_echo_n "(cached) " >&6
7421 else
7422   lt_cv_ld_reload_flag='-r'
7423 fi
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7425 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7426 reload_flag=$lt_cv_ld_reload_flag
7427 case $reload_flag in
7428 "" | " "*) ;;
7429 *) reload_flag=" $reload_flag" ;;
7430 esac
7431 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7432 case $host_os in
7433   darwin*)
7434     if test "$GCC" = yes; then
7435       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7436     else
7437       reload_cmds='$LD$reload_flag -o $output$reload_objs'
7438     fi
7439     ;;
7440 esac
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450 if test -n "$ac_tool_prefix"; then
7451   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7452 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7454 $as_echo_n "checking for $ac_word... " >&6; }
7455 if ${ac_cv_prog_OBJDUMP+:} false; then :
7456   $as_echo_n "(cached) " >&6
7457 else
7458   if test -n "$OBJDUMP"; then
7459   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7460 else
7461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7462 for as_dir in $PATH
7463 do
7464   IFS=$as_save_IFS
7465   test -z "$as_dir" && as_dir=.
7466     for ac_exec_ext in '' $ac_executable_extensions; do
7467   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7468     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7469     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7470     break 2
7471   fi
7472 done
7473   done
7474 IFS=$as_save_IFS
7475
7476 fi
7477 fi
7478 OBJDUMP=$ac_cv_prog_OBJDUMP
7479 if test -n "$OBJDUMP"; then
7480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7481 $as_echo "$OBJDUMP" >&6; }
7482 else
7483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7484 $as_echo "no" >&6; }
7485 fi
7486
7487
7488 fi
7489 if test -z "$ac_cv_prog_OBJDUMP"; then
7490   ac_ct_OBJDUMP=$OBJDUMP
7491   # Extract the first word of "objdump", so it can be a program name with args.
7492 set dummy objdump; ac_word=$2
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7494 $as_echo_n "checking for $ac_word... " >&6; }
7495 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7496   $as_echo_n "(cached) " >&6
7497 else
7498   if test -n "$ac_ct_OBJDUMP"; then
7499   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7500 else
7501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7502 for as_dir in $PATH
7503 do
7504   IFS=$as_save_IFS
7505   test -z "$as_dir" && as_dir=.
7506     for ac_exec_ext in '' $ac_executable_extensions; do
7507   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7508     ac_cv_prog_ac_ct_OBJDUMP="objdump"
7509     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7510     break 2
7511   fi
7512 done
7513   done
7514 IFS=$as_save_IFS
7515
7516 fi
7517 fi
7518 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7519 if test -n "$ac_ct_OBJDUMP"; then
7520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7521 $as_echo "$ac_ct_OBJDUMP" >&6; }
7522 else
7523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7524 $as_echo "no" >&6; }
7525 fi
7526
7527   if test "x$ac_ct_OBJDUMP" = x; then
7528     OBJDUMP="false"
7529   else
7530     case $cross_compiling:$ac_tool_warned in
7531 yes:)
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7534 ac_tool_warned=yes ;;
7535 esac
7536     OBJDUMP=$ac_ct_OBJDUMP
7537   fi
7538 else
7539   OBJDUMP="$ac_cv_prog_OBJDUMP"
7540 fi
7541
7542 test -z "$OBJDUMP" && OBJDUMP=objdump
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7553 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7554 if ${lt_cv_deplibs_check_method+:} false; then :
7555   $as_echo_n "(cached) " >&6
7556 else
7557   lt_cv_file_magic_cmd='$MAGIC_CMD'
7558 lt_cv_file_magic_test_file=
7559 lt_cv_deplibs_check_method='unknown'
7560 # Need to set the preceding variable on all platforms that support
7561 # interlibrary dependencies.
7562 # 'none' -- dependencies not supported.
7563 # `unknown' -- same as none, but documents that we really don't know.
7564 # 'pass_all' -- all dependencies passed with no checks.
7565 # 'test_compile' -- check by making test program.
7566 # 'file_magic [[regex]]' -- check by looking for files in library path
7567 # which responds to the $file_magic_cmd with a given extended regex.
7568 # If you have `file' or equivalent on your system and you're not sure
7569 # whether `pass_all' will *always* work, you probably want this one.
7570
7571 case $host_os in
7572 aix[4-9]*)
7573   lt_cv_deplibs_check_method=pass_all
7574   ;;
7575
7576 beos*)
7577   lt_cv_deplibs_check_method=pass_all
7578   ;;
7579
7580 bsdi[45]*)
7581   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7582   lt_cv_file_magic_cmd='/usr/bin/file -L'
7583   lt_cv_file_magic_test_file=/shlib/libc.so
7584   ;;
7585
7586 cygwin*)
7587   # func_win32_libid is a shell function defined in ltmain.sh
7588   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7589   lt_cv_file_magic_cmd='func_win32_libid'
7590   ;;
7591
7592 mingw* | pw32*)
7593   # Base MSYS/MinGW do not provide the 'file' command needed by
7594   # func_win32_libid shell function, so use a weaker test based on 'objdump',
7595   # unless we find 'file', for example because we are cross-compiling.
7596   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7597   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7598     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7599     lt_cv_file_magic_cmd='func_win32_libid'
7600   else
7601     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7602     lt_cv_file_magic_cmd='$OBJDUMP -f'
7603   fi
7604   ;;
7605
7606 cegcc*)
7607   # use the weaker test based on 'objdump'. See mingw*.
7608   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7609   lt_cv_file_magic_cmd='$OBJDUMP -f'
7610   ;;
7611
7612 darwin* | rhapsody*)
7613   lt_cv_deplibs_check_method=pass_all
7614   ;;
7615
7616 freebsd* | dragonfly*)
7617   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7618     case $host_cpu in
7619     i*86 )
7620       # Not sure whether the presence of OpenBSD here was a mistake.
7621       # Let's accept both of them until this is cleared up.
7622       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7623       lt_cv_file_magic_cmd=/usr/bin/file
7624       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7625       ;;
7626     esac
7627   else
7628     lt_cv_deplibs_check_method=pass_all
7629   fi
7630   ;;
7631
7632 gnu*)
7633   lt_cv_deplibs_check_method=pass_all
7634   ;;
7635
7636 haiku*)
7637   lt_cv_deplibs_check_method=pass_all
7638   ;;
7639
7640 hpux10.20* | hpux11*)
7641   lt_cv_file_magic_cmd=/usr/bin/file
7642   case $host_cpu in
7643   ia64*)
7644     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7645     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7646     ;;
7647   hppa*64*)
7648     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]'
7649     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7650     ;;
7651   *)
7652     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7653     lt_cv_file_magic_test_file=/usr/lib/libc.sl
7654     ;;
7655   esac
7656   ;;
7657
7658 interix[3-9]*)
7659   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7660   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7661   ;;
7662
7663 irix5* | irix6* | nonstopux*)
7664   case $LD in
7665   *-32|*"-32 ") libmagic=32-bit;;
7666   *-n32|*"-n32 ") libmagic=N32;;
7667   *-64|*"-64 ") libmagic=64-bit;;
7668   *) libmagic=never-match;;
7669   esac
7670   lt_cv_deplibs_check_method=pass_all
7671   ;;
7672
7673 # This must be Linux ELF.
7674 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7675   lt_cv_deplibs_check_method=pass_all
7676   ;;
7677
7678 netbsd*)
7679   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7680     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7681   else
7682     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7683   fi
7684   ;;
7685
7686 newos6*)
7687   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7688   lt_cv_file_magic_cmd=/usr/bin/file
7689   lt_cv_file_magic_test_file=/usr/lib/libnls.so
7690   ;;
7691
7692 *nto* | *qnx*)
7693   lt_cv_deplibs_check_method=pass_all
7694   ;;
7695
7696 openbsd*)
7697   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7698     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7699   else
7700     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7701   fi
7702   ;;
7703
7704 osf3* | osf4* | osf5*)
7705   lt_cv_deplibs_check_method=pass_all
7706   ;;
7707
7708 rdos*)
7709   lt_cv_deplibs_check_method=pass_all
7710   ;;
7711
7712 solaris*)
7713   lt_cv_deplibs_check_method=pass_all
7714   ;;
7715
7716 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7717   lt_cv_deplibs_check_method=pass_all
7718   ;;
7719
7720 sysv4 | sysv4.3*)
7721   case $host_vendor in
7722   motorola)
7723     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]'
7724     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7725     ;;
7726   ncr)
7727     lt_cv_deplibs_check_method=pass_all
7728     ;;
7729   sequent)
7730     lt_cv_file_magic_cmd='/bin/file'
7731     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7732     ;;
7733   sni)
7734     lt_cv_file_magic_cmd='/bin/file'
7735     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7736     lt_cv_file_magic_test_file=/lib/libc.so
7737     ;;
7738   siemens)
7739     lt_cv_deplibs_check_method=pass_all
7740     ;;
7741   pc)
7742     lt_cv_deplibs_check_method=pass_all
7743     ;;
7744   esac
7745   ;;
7746
7747 tpf*)
7748   lt_cv_deplibs_check_method=pass_all
7749   ;;
7750 esac
7751
7752 fi
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7754 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7755 file_magic_cmd=$lt_cv_file_magic_cmd
7756 deplibs_check_method=$lt_cv_deplibs_check_method
7757 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770 if test -n "$ac_tool_prefix"; then
7771   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7772 set dummy ${ac_tool_prefix}ar; ac_word=$2
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7774 $as_echo_n "checking for $ac_word... " >&6; }
7775 if ${ac_cv_prog_AR+:} false; then :
7776   $as_echo_n "(cached) " >&6
7777 else
7778   if test -n "$AR"; then
7779   ac_cv_prog_AR="$AR" # Let the user override the test.
7780 else
7781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7782 for as_dir in $PATH
7783 do
7784   IFS=$as_save_IFS
7785   test -z "$as_dir" && as_dir=.
7786     for ac_exec_ext in '' $ac_executable_extensions; do
7787   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7788     ac_cv_prog_AR="${ac_tool_prefix}ar"
7789     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7790     break 2
7791   fi
7792 done
7793   done
7794 IFS=$as_save_IFS
7795
7796 fi
7797 fi
7798 AR=$ac_cv_prog_AR
7799 if test -n "$AR"; then
7800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7801 $as_echo "$AR" >&6; }
7802 else
7803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7804 $as_echo "no" >&6; }
7805 fi
7806
7807
7808 fi
7809 if test -z "$ac_cv_prog_AR"; then
7810   ac_ct_AR=$AR
7811   # Extract the first word of "ar", so it can be a program name with args.
7812 set dummy ar; ac_word=$2
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7814 $as_echo_n "checking for $ac_word... " >&6; }
7815 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7816   $as_echo_n "(cached) " >&6
7817 else
7818   if test -n "$ac_ct_AR"; then
7819   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7820 else
7821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7822 for as_dir in $PATH
7823 do
7824   IFS=$as_save_IFS
7825   test -z "$as_dir" && as_dir=.
7826     for ac_exec_ext in '' $ac_executable_extensions; do
7827   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7828     ac_cv_prog_ac_ct_AR="ar"
7829     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7830     break 2
7831   fi
7832 done
7833   done
7834 IFS=$as_save_IFS
7835
7836 fi
7837 fi
7838 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7839 if test -n "$ac_ct_AR"; then
7840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7841 $as_echo "$ac_ct_AR" >&6; }
7842 else
7843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7844 $as_echo "no" >&6; }
7845 fi
7846
7847   if test "x$ac_ct_AR" = x; then
7848     AR="false"
7849   else
7850     case $cross_compiling:$ac_tool_warned in
7851 yes:)
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7854 ac_tool_warned=yes ;;
7855 esac
7856     AR=$ac_ct_AR
7857   fi
7858 else
7859   AR="$ac_cv_prog_AR"
7860 fi
7861
7862 test -z "$AR" && AR=ar
7863 test -z "$AR_FLAGS" && AR_FLAGS=cru
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875 if test -n "$ac_tool_prefix"; then
7876   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7877 set dummy ${ac_tool_prefix}strip; ac_word=$2
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7879 $as_echo_n "checking for $ac_word... " >&6; }
7880 if ${ac_cv_prog_STRIP+:} false; then :
7881   $as_echo_n "(cached) " >&6
7882 else
7883   if test -n "$STRIP"; then
7884   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7885 else
7886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7887 for as_dir in $PATH
7888 do
7889   IFS=$as_save_IFS
7890   test -z "$as_dir" && as_dir=.
7891     for ac_exec_ext in '' $ac_executable_extensions; do
7892   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7893     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7894     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7895     break 2
7896   fi
7897 done
7898   done
7899 IFS=$as_save_IFS
7900
7901 fi
7902 fi
7903 STRIP=$ac_cv_prog_STRIP
7904 if test -n "$STRIP"; then
7905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7906 $as_echo "$STRIP" >&6; }
7907 else
7908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7909 $as_echo "no" >&6; }
7910 fi
7911
7912
7913 fi
7914 if test -z "$ac_cv_prog_STRIP"; then
7915   ac_ct_STRIP=$STRIP
7916   # Extract the first word of "strip", so it can be a program name with args.
7917 set dummy strip; ac_word=$2
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7919 $as_echo_n "checking for $ac_word... " >&6; }
7920 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7921   $as_echo_n "(cached) " >&6
7922 else
7923   if test -n "$ac_ct_STRIP"; then
7924   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7925 else
7926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7927 for as_dir in $PATH
7928 do
7929   IFS=$as_save_IFS
7930   test -z "$as_dir" && as_dir=.
7931     for ac_exec_ext in '' $ac_executable_extensions; do
7932   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7933     ac_cv_prog_ac_ct_STRIP="strip"
7934     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7935     break 2
7936   fi
7937 done
7938   done
7939 IFS=$as_save_IFS
7940
7941 fi
7942 fi
7943 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7944 if test -n "$ac_ct_STRIP"; then
7945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7946 $as_echo "$ac_ct_STRIP" >&6; }
7947 else
7948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7949 $as_echo "no" >&6; }
7950 fi
7951
7952   if test "x$ac_ct_STRIP" = x; then
7953     STRIP=":"
7954   else
7955     case $cross_compiling:$ac_tool_warned in
7956 yes:)
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7959 ac_tool_warned=yes ;;
7960 esac
7961     STRIP=$ac_ct_STRIP
7962   fi
7963 else
7964   STRIP="$ac_cv_prog_STRIP"
7965 fi
7966
7967 test -z "$STRIP" && STRIP=:
7968
7969
7970
7971
7972
7973
7974 if test -n "$ac_tool_prefix"; then
7975   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7976 set dummy ${ac_tool_prefix}ranlib; 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 ${ac_cv_prog_RANLIB+:} false; then :
7980   $as_echo_n "(cached) " >&6
7981 else
7982   if test -n "$RANLIB"; then
7983   ac_cv_prog_RANLIB="$RANLIB" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7992     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
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 RANLIB=$ac_cv_prog_RANLIB
8003 if test -n "$RANLIB"; then
8004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8005 $as_echo "$RANLIB" >&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_RANLIB"; then
8014   ac_ct_RANLIB=$RANLIB
8015   # Extract the first word of "ranlib", so it can be a program name with args.
8016 set dummy ranlib; 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 ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8020   $as_echo_n "(cached) " >&6
8021 else
8022   if test -n "$ac_ct_RANLIB"; then
8023   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8032     ac_cv_prog_ac_ct_RANLIB="ranlib"
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_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8043 if test -n "$ac_ct_RANLIB"; then
8044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8045 $as_echo "$ac_ct_RANLIB" >&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_RANLIB" = x; then
8052     RANLIB=":"
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     RANLIB=$ac_ct_RANLIB
8061   fi
8062 else
8063   RANLIB="$ac_cv_prog_RANLIB"
8064 fi
8065
8066 test -z "$RANLIB" && RANLIB=:
8067
8068
8069
8070
8071
8072
8073 # Determine commands to create old-style static archives.
8074 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8075 old_postinstall_cmds='chmod 644 $oldlib'
8076 old_postuninstall_cmds=
8077
8078 if test -n "$RANLIB"; then
8079   case $host_os in
8080   openbsd*)
8081     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8082     ;;
8083   *)
8084     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8085     ;;
8086   esac
8087   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8088 fi
8089
8090 case $host_os in
8091   darwin*)
8092     lock_old_archive_extraction=yes ;;
8093   *)
8094     lock_old_archive_extraction=no ;;
8095 esac
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135 # If no C compiler was specified, use CC.
8136 LTCC=${LTCC-"$CC"}
8137
8138 # If no C compiler flags were specified, use CFLAGS.
8139 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8140
8141 # Allow CC to be a program name with arguments.
8142 compiler=$CC
8143
8144
8145 # Check for command to grab the raw symbol name followed by C symbol from nm.
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8147 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8148 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8149   $as_echo_n "(cached) " >&6
8150 else
8151
8152 # These are sane defaults that work on at least a few old systems.
8153 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
8154
8155 # Character class describing NM global symbol codes.
8156 symcode='[BCDEGRST]'
8157
8158 # Regexp to match symbols that can be accessed directly from C.
8159 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8160
8161 # Define system-specific variables.
8162 case $host_os in
8163 aix*)
8164   symcode='[BCDT]'
8165   ;;
8166 cygwin* | mingw* | pw32* | cegcc*)
8167   symcode='[ABCDGISTW]'
8168   ;;
8169 hpux*)
8170   if test "$host_cpu" = ia64; then
8171     symcode='[ABCDEGRST]'
8172   fi
8173   ;;
8174 irix* | nonstopux*)
8175   symcode='[BCDEGRST]'
8176   ;;
8177 osf*)
8178   symcode='[BCDEGQRST]'
8179   ;;
8180 solaris*)
8181   symcode='[BDRT]'
8182   ;;
8183 sco3.2v5*)
8184   symcode='[DT]'
8185   ;;
8186 sysv4.2uw2*)
8187   symcode='[DT]'
8188   ;;
8189 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8190   symcode='[ABDT]'
8191   ;;
8192 sysv4)
8193   symcode='[DFNSTU]'
8194   ;;
8195 esac
8196
8197 # If we're using GNU nm, then use its standard symbol codes.
8198 case `$NM -V 2>&1` in
8199 *GNU* | *'with BFD'*)
8200   symcode='[ABCDGIRSTW]' ;;
8201 esac
8202
8203 # Transform an extracted symbol line into a proper C declaration.
8204 # Some systems (esp. on ia64) link data and code symbols differently,
8205 # so use this general approach.
8206 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8207
8208 # Transform an extracted symbol line into symbol name and symbol address
8209 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
8210 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'"
8211
8212 # Handle CRLF in mingw tool chain
8213 opt_cr=
8214 case $build_os in
8215 mingw*)
8216   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8217   ;;
8218 esac
8219
8220 # Try without a prefix underscore, then with it.
8221 for ac_symprfx in "" "_"; do
8222
8223   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8224   symxfrm="\\1 $ac_symprfx\\2 \\2"
8225
8226   # Write the raw and C identifiers.
8227   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8228     # Fake it for dumpbin and say T for any non-static function
8229     # and D for any global variable.
8230     # Also find C++ and __fastcall symbols from MSVC++,
8231     # which start with @ or ?.
8232     lt_cv_sys_global_symbol_pipe="$AWK '"\
8233 "     {last_section=section; section=\$ 3};"\
8234 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8235 "     \$ 0!~/External *\|/{next};"\
8236 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8237 "     {if(hide[section]) next};"\
8238 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8239 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8240 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
8241 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8242 "     ' prfx=^$ac_symprfx"
8243   else
8244     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8245   fi
8246
8247   # Check to see that the pipe works correctly.
8248   pipe_works=no
8249
8250   rm -f conftest*
8251   cat > conftest.$ac_ext <<_LT_EOF
8252 #ifdef __cplusplus
8253 extern "C" {
8254 #endif
8255 char nm_test_var;
8256 void nm_test_func(void);
8257 void nm_test_func(void){}
8258 #ifdef __cplusplus
8259 }
8260 #endif
8261 int main(){nm_test_var='a';nm_test_func();return(0);}
8262 _LT_EOF
8263
8264   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8265   (eval $ac_compile) 2>&5
8266   ac_status=$?
8267   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8268   test $ac_status = 0; }; then
8269     # Now try to grab the symbols.
8270     nlist=conftest.nm
8271     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8272   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8273   ac_status=$?
8274   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8275   test $ac_status = 0; } && test -s "$nlist"; then
8276       # Try sorting and uniquifying the output.
8277       if sort "$nlist" | uniq > "$nlist"T; then
8278         mv -f "$nlist"T "$nlist"
8279       else
8280         rm -f "$nlist"T
8281       fi
8282
8283       # Make sure that we snagged all the symbols we need.
8284       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8285         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8286           cat <<_LT_EOF > conftest.$ac_ext
8287 #ifdef __cplusplus
8288 extern "C" {
8289 #endif
8290
8291 _LT_EOF
8292           # Now generate the symbol file.
8293           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8294
8295           cat <<_LT_EOF >> conftest.$ac_ext
8296
8297 /* The mapping between symbol names and symbols.  */
8298 const struct {
8299   const char *name;
8300   void       *address;
8301 }
8302 lt__PROGRAM__LTX_preloaded_symbols[] =
8303 {
8304   { "@PROGRAM@", (void *) 0 },
8305 _LT_EOF
8306           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8307           cat <<\_LT_EOF >> conftest.$ac_ext
8308   {0, (void *) 0}
8309 };
8310
8311 /* This works around a problem in FreeBSD linker */
8312 #ifdef FREEBSD_WORKAROUND
8313 static const void *lt_preloaded_setup() {
8314   return lt__PROGRAM__LTX_preloaded_symbols;
8315 }
8316 #endif
8317
8318 #ifdef __cplusplus
8319 }
8320 #endif
8321 _LT_EOF
8322           # Now try linking the two files.
8323           mv conftest.$ac_objext conftstm.$ac_objext
8324           lt_save_LIBS="$LIBS"
8325           lt_save_CFLAGS="$CFLAGS"
8326           LIBS="conftstm.$ac_objext"
8327           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8328           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8329   (eval $ac_link) 2>&5
8330   ac_status=$?
8331   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8332   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8333             pipe_works=yes
8334           fi
8335           LIBS="$lt_save_LIBS"
8336           CFLAGS="$lt_save_CFLAGS"
8337         else
8338           echo "cannot find nm_test_func in $nlist" >&5
8339         fi
8340       else
8341         echo "cannot find nm_test_var in $nlist" >&5
8342       fi
8343     else
8344       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8345     fi
8346   else
8347     echo "$progname: failed program was:" >&5
8348     cat conftest.$ac_ext >&5
8349   fi
8350   rm -rf conftest* conftst*
8351
8352   # Do not use the global_symbol_pipe unless it works.
8353   if test "$pipe_works" = yes; then
8354     break
8355   else
8356     lt_cv_sys_global_symbol_pipe=
8357   fi
8358 done
8359
8360 fi
8361
8362 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8363   lt_cv_sys_global_symbol_to_cdecl=
8364 fi
8365 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8367 $as_echo "failed" >&6; }
8368 else
8369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8370 $as_echo "ok" >&6; }
8371 fi
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394 # Check whether --enable-libtool-lock was given.
8395 if test "${enable_libtool_lock+set}" = set; then :
8396   enableval=$enable_libtool_lock;
8397 fi
8398
8399 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8400
8401 # Some flags need to be propagated to the compiler or linker for good
8402 # libtool support.
8403 case $host in
8404 ia64-*-hpux*)
8405   # Find out which ABI we are using.
8406   echo 'int i;' > conftest.$ac_ext
8407   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8408   (eval $ac_compile) 2>&5
8409   ac_status=$?
8410   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8411   test $ac_status = 0; }; then
8412     case `/usr/bin/file conftest.$ac_objext` in
8413       *ELF-32*)
8414         HPUX_IA64_MODE="32"
8415         ;;
8416       *ELF-64*)
8417         HPUX_IA64_MODE="64"
8418         ;;
8419     esac
8420   fi
8421   rm -rf conftest*
8422   ;;
8423 *-*-irix6*)
8424   # Find out which ABI we are using.
8425   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8426   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8427   (eval $ac_compile) 2>&5
8428   ac_status=$?
8429   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8430   test $ac_status = 0; }; then
8431     if test "$lt_cv_prog_gnu_ld" = yes; then
8432       case `/usr/bin/file conftest.$ac_objext` in
8433         *32-bit*)
8434           LD="${LD-ld} -melf32bsmip"
8435           ;;
8436         *N32*)
8437           LD="${LD-ld} -melf32bmipn32"
8438           ;;
8439         *64-bit*)
8440           LD="${LD-ld} -melf64bmip"
8441         ;;
8442       esac
8443     else
8444       case `/usr/bin/file conftest.$ac_objext` in
8445         *32-bit*)
8446           LD="${LD-ld} -32"
8447           ;;
8448         *N32*)
8449           LD="${LD-ld} -n32"
8450           ;;
8451         *64-bit*)
8452           LD="${LD-ld} -64"
8453           ;;
8454       esac
8455     fi
8456   fi
8457   rm -rf conftest*
8458   ;;
8459
8460 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8461 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8462   # Find out which ABI we are using.
8463   echo 'int i;' > conftest.$ac_ext
8464   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8465   (eval $ac_compile) 2>&5
8466   ac_status=$?
8467   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8468   test $ac_status = 0; }; then
8469     case `/usr/bin/file conftest.o` in
8470       *32-bit*)
8471         case $host in
8472           x86_64-*kfreebsd*-gnu)
8473             LD="${LD-ld} -m elf_i386_fbsd"
8474             ;;
8475           x86_64-*linux*)
8476             case `/usr/bin/file conftest.o` in
8477               *x86-64*)
8478                 LD="${LD-ld} -m elf32_x86_64"
8479                 ;;
8480               *)
8481                 LD="${LD-ld} -m elf_i386"
8482                 ;;
8483             esac
8484             ;;
8485           powerpc64le-*linux*)
8486             LD="${LD-ld} -m elf32lppclinux"
8487             ;;
8488           powerpc64-*linux*)
8489             LD="${LD-ld} -m elf32ppclinux"
8490             ;;
8491           s390x-*linux*)
8492             LD="${LD-ld} -m elf_s390"
8493             ;;
8494           sparc64-*linux*)
8495             LD="${LD-ld} -m elf32_sparc"
8496             ;;
8497         esac
8498         ;;
8499       *64-bit*)
8500         case $host in
8501           x86_64-*kfreebsd*-gnu)
8502             LD="${LD-ld} -m elf_x86_64_fbsd"
8503             ;;
8504           x86_64-*linux*)
8505             LD="${LD-ld} -m elf_x86_64"
8506             ;;
8507           powerpcle-*linux*)
8508             LD="${LD-ld} -m elf64lppc"
8509             ;;
8510           powerpc-*linux*)
8511             LD="${LD-ld} -m elf64ppc"
8512             ;;
8513           s390*-*linux*|s390*-*tpf*)
8514             LD="${LD-ld} -m elf64_s390"
8515             ;;
8516           sparc*-*linux*)
8517             LD="${LD-ld} -m elf64_sparc"
8518             ;;
8519         esac
8520         ;;
8521     esac
8522   fi
8523   rm -rf conftest*
8524   ;;
8525
8526 *-*-sco3.2v5*)
8527   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8528   SAVE_CFLAGS="$CFLAGS"
8529   CFLAGS="$CFLAGS -belf"
8530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8531 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8532 if ${lt_cv_cc_needs_belf+:} false; then :
8533   $as_echo_n "(cached) " >&6
8534 else
8535   ac_ext=c
8536 ac_cpp='$CPP $CPPFLAGS'
8537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8540
8541      if test x$gcc_no_link = xyes; then
8542   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8543 fi
8544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8545 /* end confdefs.h.  */
8546
8547 int
8548 main ()
8549 {
8550
8551   ;
8552   return 0;
8553 }
8554 _ACEOF
8555 if ac_fn_c_try_link "$LINENO"; then :
8556   lt_cv_cc_needs_belf=yes
8557 else
8558   lt_cv_cc_needs_belf=no
8559 fi
8560 rm -f core conftest.err conftest.$ac_objext \
8561     conftest$ac_exeext conftest.$ac_ext
8562      ac_ext=c
8563 ac_cpp='$CPP $CPPFLAGS'
8564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8567
8568 fi
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8570 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8571   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8572     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8573     CFLAGS="$SAVE_CFLAGS"
8574   fi
8575   ;;
8576 sparc*-*solaris*)
8577   # Find out which ABI we are using.
8578   echo 'int i;' > conftest.$ac_ext
8579   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8580   (eval $ac_compile) 2>&5
8581   ac_status=$?
8582   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8583   test $ac_status = 0; }; then
8584     case `/usr/bin/file conftest.o` in
8585     *64-bit*)
8586       case $lt_cv_prog_gnu_ld in
8587       yes*) LD="${LD-ld} -m elf64_sparc" ;;
8588       *)
8589         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8590           LD="${LD-ld} -64"
8591         fi
8592         ;;
8593       esac
8594       ;;
8595     esac
8596   fi
8597   rm -rf conftest*
8598   ;;
8599 esac
8600
8601 need_locks="$enable_libtool_lock"
8602
8603
8604   case $host_os in
8605     rhapsody* | darwin*)
8606     if test -n "$ac_tool_prefix"; then
8607   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8608 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8610 $as_echo_n "checking for $ac_word... " >&6; }
8611 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8612   $as_echo_n "(cached) " >&6
8613 else
8614   if test -n "$DSYMUTIL"; then
8615   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8616 else
8617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8618 for as_dir in $PATH
8619 do
8620   IFS=$as_save_IFS
8621   test -z "$as_dir" && as_dir=.
8622     for ac_exec_ext in '' $ac_executable_extensions; do
8623   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8624     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8625     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8626     break 2
8627   fi
8628 done
8629   done
8630 IFS=$as_save_IFS
8631
8632 fi
8633 fi
8634 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8635 if test -n "$DSYMUTIL"; then
8636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8637 $as_echo "$DSYMUTIL" >&6; }
8638 else
8639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8640 $as_echo "no" >&6; }
8641 fi
8642
8643
8644 fi
8645 if test -z "$ac_cv_prog_DSYMUTIL"; then
8646   ac_ct_DSYMUTIL=$DSYMUTIL
8647   # Extract the first word of "dsymutil", so it can be a program name with args.
8648 set dummy dsymutil; ac_word=$2
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8650 $as_echo_n "checking for $ac_word... " >&6; }
8651 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8652   $as_echo_n "(cached) " >&6
8653 else
8654   if test -n "$ac_ct_DSYMUTIL"; then
8655   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8656 else
8657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8658 for as_dir in $PATH
8659 do
8660   IFS=$as_save_IFS
8661   test -z "$as_dir" && as_dir=.
8662     for ac_exec_ext in '' $ac_executable_extensions; do
8663   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8664     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8665     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8666     break 2
8667   fi
8668 done
8669   done
8670 IFS=$as_save_IFS
8671
8672 fi
8673 fi
8674 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8675 if test -n "$ac_ct_DSYMUTIL"; then
8676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8677 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8678 else
8679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8680 $as_echo "no" >&6; }
8681 fi
8682
8683   if test "x$ac_ct_DSYMUTIL" = x; then
8684     DSYMUTIL=":"
8685   else
8686     case $cross_compiling:$ac_tool_warned in
8687 yes:)
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8690 ac_tool_warned=yes ;;
8691 esac
8692     DSYMUTIL=$ac_ct_DSYMUTIL
8693   fi
8694 else
8695   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8696 fi
8697
8698     if test -n "$ac_tool_prefix"; then
8699   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8700 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8702 $as_echo_n "checking for $ac_word... " >&6; }
8703 if ${ac_cv_prog_NMEDIT+:} false; then :
8704   $as_echo_n "(cached) " >&6
8705 else
8706   if test -n "$NMEDIT"; then
8707   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8708 else
8709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8710 for as_dir in $PATH
8711 do
8712   IFS=$as_save_IFS
8713   test -z "$as_dir" && as_dir=.
8714     for ac_exec_ext in '' $ac_executable_extensions; do
8715   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8716     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8717     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8718     break 2
8719   fi
8720 done
8721   done
8722 IFS=$as_save_IFS
8723
8724 fi
8725 fi
8726 NMEDIT=$ac_cv_prog_NMEDIT
8727 if test -n "$NMEDIT"; then
8728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8729 $as_echo "$NMEDIT" >&6; }
8730 else
8731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8732 $as_echo "no" >&6; }
8733 fi
8734
8735
8736 fi
8737 if test -z "$ac_cv_prog_NMEDIT"; then
8738   ac_ct_NMEDIT=$NMEDIT
8739   # Extract the first word of "nmedit", so it can be a program name with args.
8740 set dummy nmedit; ac_word=$2
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8742 $as_echo_n "checking for $ac_word... " >&6; }
8743 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8744   $as_echo_n "(cached) " >&6
8745 else
8746   if test -n "$ac_ct_NMEDIT"; then
8747   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8748 else
8749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8750 for as_dir in $PATH
8751 do
8752   IFS=$as_save_IFS
8753   test -z "$as_dir" && as_dir=.
8754     for ac_exec_ext in '' $ac_executable_extensions; do
8755   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8756     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8757     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8758     break 2
8759   fi
8760 done
8761   done
8762 IFS=$as_save_IFS
8763
8764 fi
8765 fi
8766 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8767 if test -n "$ac_ct_NMEDIT"; then
8768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8769 $as_echo "$ac_ct_NMEDIT" >&6; }
8770 else
8771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8772 $as_echo "no" >&6; }
8773 fi
8774
8775   if test "x$ac_ct_NMEDIT" = x; then
8776     NMEDIT=":"
8777   else
8778     case $cross_compiling:$ac_tool_warned in
8779 yes:)
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8782 ac_tool_warned=yes ;;
8783 esac
8784     NMEDIT=$ac_ct_NMEDIT
8785   fi
8786 else
8787   NMEDIT="$ac_cv_prog_NMEDIT"
8788 fi
8789
8790     if test -n "$ac_tool_prefix"; then
8791   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8792 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8794 $as_echo_n "checking for $ac_word... " >&6; }
8795 if ${ac_cv_prog_LIPO+:} false; then :
8796   $as_echo_n "(cached) " >&6
8797 else
8798   if test -n "$LIPO"; then
8799   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8800 else
8801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8802 for as_dir in $PATH
8803 do
8804   IFS=$as_save_IFS
8805   test -z "$as_dir" && as_dir=.
8806     for ac_exec_ext in '' $ac_executable_extensions; do
8807   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8808     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8809     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8810     break 2
8811   fi
8812 done
8813   done
8814 IFS=$as_save_IFS
8815
8816 fi
8817 fi
8818 LIPO=$ac_cv_prog_LIPO
8819 if test -n "$LIPO"; then
8820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8821 $as_echo "$LIPO" >&6; }
8822 else
8823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8824 $as_echo "no" >&6; }
8825 fi
8826
8827
8828 fi
8829 if test -z "$ac_cv_prog_LIPO"; then
8830   ac_ct_LIPO=$LIPO
8831   # Extract the first word of "lipo", so it can be a program name with args.
8832 set dummy lipo; ac_word=$2
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8834 $as_echo_n "checking for $ac_word... " >&6; }
8835 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8836   $as_echo_n "(cached) " >&6
8837 else
8838   if test -n "$ac_ct_LIPO"; then
8839   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8840 else
8841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8842 for as_dir in $PATH
8843 do
8844   IFS=$as_save_IFS
8845   test -z "$as_dir" && as_dir=.
8846     for ac_exec_ext in '' $ac_executable_extensions; do
8847   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8848     ac_cv_prog_ac_ct_LIPO="lipo"
8849     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8850     break 2
8851   fi
8852 done
8853   done
8854 IFS=$as_save_IFS
8855
8856 fi
8857 fi
8858 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8859 if test -n "$ac_ct_LIPO"; then
8860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8861 $as_echo "$ac_ct_LIPO" >&6; }
8862 else
8863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8864 $as_echo "no" >&6; }
8865 fi
8866
8867   if test "x$ac_ct_LIPO" = x; then
8868     LIPO=":"
8869   else
8870     case $cross_compiling:$ac_tool_warned in
8871 yes:)
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8874 ac_tool_warned=yes ;;
8875 esac
8876     LIPO=$ac_ct_LIPO
8877   fi
8878 else
8879   LIPO="$ac_cv_prog_LIPO"
8880 fi
8881
8882     if test -n "$ac_tool_prefix"; then
8883   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8884 set dummy ${ac_tool_prefix}otool; ac_word=$2
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8886 $as_echo_n "checking for $ac_word... " >&6; }
8887 if ${ac_cv_prog_OTOOL+:} false; then :
8888   $as_echo_n "(cached) " >&6
8889 else
8890   if test -n "$OTOOL"; then
8891   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8892 else
8893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8894 for as_dir in $PATH
8895 do
8896   IFS=$as_save_IFS
8897   test -z "$as_dir" && as_dir=.
8898     for ac_exec_ext in '' $ac_executable_extensions; do
8899   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8900     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8901     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8902     break 2
8903   fi
8904 done
8905   done
8906 IFS=$as_save_IFS
8907
8908 fi
8909 fi
8910 OTOOL=$ac_cv_prog_OTOOL
8911 if test -n "$OTOOL"; then
8912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8913 $as_echo "$OTOOL" >&6; }
8914 else
8915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8916 $as_echo "no" >&6; }
8917 fi
8918
8919
8920 fi
8921 if test -z "$ac_cv_prog_OTOOL"; then
8922   ac_ct_OTOOL=$OTOOL
8923   # Extract the first word of "otool", so it can be a program name with args.
8924 set dummy otool; ac_word=$2
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8926 $as_echo_n "checking for $ac_word... " >&6; }
8927 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8928   $as_echo_n "(cached) " >&6
8929 else
8930   if test -n "$ac_ct_OTOOL"; then
8931   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8932 else
8933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8934 for as_dir in $PATH
8935 do
8936   IFS=$as_save_IFS
8937   test -z "$as_dir" && as_dir=.
8938     for ac_exec_ext in '' $ac_executable_extensions; do
8939   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8940     ac_cv_prog_ac_ct_OTOOL="otool"
8941     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8942     break 2
8943   fi
8944 done
8945   done
8946 IFS=$as_save_IFS
8947
8948 fi
8949 fi
8950 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8951 if test -n "$ac_ct_OTOOL"; then
8952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8953 $as_echo "$ac_ct_OTOOL" >&6; }
8954 else
8955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8956 $as_echo "no" >&6; }
8957 fi
8958
8959   if test "x$ac_ct_OTOOL" = x; then
8960     OTOOL=":"
8961   else
8962     case $cross_compiling:$ac_tool_warned in
8963 yes:)
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8966 ac_tool_warned=yes ;;
8967 esac
8968     OTOOL=$ac_ct_OTOOL
8969   fi
8970 else
8971   OTOOL="$ac_cv_prog_OTOOL"
8972 fi
8973
8974     if test -n "$ac_tool_prefix"; then
8975   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8976 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8978 $as_echo_n "checking for $ac_word... " >&6; }
8979 if ${ac_cv_prog_OTOOL64+:} false; then :
8980   $as_echo_n "(cached) " >&6
8981 else
8982   if test -n "$OTOOL64"; then
8983   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8984 else
8985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8986 for as_dir in $PATH
8987 do
8988   IFS=$as_save_IFS
8989   test -z "$as_dir" && as_dir=.
8990     for ac_exec_ext in '' $ac_executable_extensions; do
8991   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8992     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8993     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8994     break 2
8995   fi
8996 done
8997   done
8998 IFS=$as_save_IFS
8999
9000 fi
9001 fi
9002 OTOOL64=$ac_cv_prog_OTOOL64
9003 if test -n "$OTOOL64"; then
9004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9005 $as_echo "$OTOOL64" >&6; }
9006 else
9007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9008 $as_echo "no" >&6; }
9009 fi
9010
9011
9012 fi
9013 if test -z "$ac_cv_prog_OTOOL64"; then
9014   ac_ct_OTOOL64=$OTOOL64
9015   # Extract the first word of "otool64", so it can be a program name with args.
9016 set dummy otool64; ac_word=$2
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9018 $as_echo_n "checking for $ac_word... " >&6; }
9019 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9020   $as_echo_n "(cached) " >&6
9021 else
9022   if test -n "$ac_ct_OTOOL64"; then
9023   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9024 else
9025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9026 for as_dir in $PATH
9027 do
9028   IFS=$as_save_IFS
9029   test -z "$as_dir" && as_dir=.
9030     for ac_exec_ext in '' $ac_executable_extensions; do
9031   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9032     ac_cv_prog_ac_ct_OTOOL64="otool64"
9033     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9034     break 2
9035   fi
9036 done
9037   done
9038 IFS=$as_save_IFS
9039
9040 fi
9041 fi
9042 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9043 if test -n "$ac_ct_OTOOL64"; then
9044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9045 $as_echo "$ac_ct_OTOOL64" >&6; }
9046 else
9047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9048 $as_echo "no" >&6; }
9049 fi
9050
9051   if test "x$ac_ct_OTOOL64" = x; then
9052     OTOOL64=":"
9053   else
9054     case $cross_compiling:$ac_tool_warned in
9055 yes:)
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9058 ac_tool_warned=yes ;;
9059 esac
9060     OTOOL64=$ac_ct_OTOOL64
9061   fi
9062 else
9063   OTOOL64="$ac_cv_prog_OTOOL64"
9064 fi
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9093 $as_echo_n "checking for -single_module linker flag... " >&6; }
9094 if ${lt_cv_apple_cc_single_mod+:} false; then :
9095   $as_echo_n "(cached) " >&6
9096 else
9097   lt_cv_apple_cc_single_mod=no
9098       if test -z "${LT_MULTI_MODULE}"; then
9099         # By default we will add the -single_module flag. You can override
9100         # by either setting the environment variable LT_MULTI_MODULE
9101         # non-empty at configure time, or by adding -multi_module to the
9102         # link flags.
9103         rm -rf libconftest.dylib*
9104         echo "int foo(void){return 1;}" > conftest.c
9105         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9106 -dynamiclib -Wl,-single_module conftest.c" >&5
9107         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9108           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9109         _lt_result=$?
9110         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9111           lt_cv_apple_cc_single_mod=yes
9112         else
9113           cat conftest.err >&5
9114         fi
9115         rm -rf libconftest.dylib*
9116         rm -f conftest.*
9117       fi
9118 fi
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9120 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9121     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9122 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9123 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9124   $as_echo_n "(cached) " >&6
9125 else
9126   lt_cv_ld_exported_symbols_list=no
9127       save_LDFLAGS=$LDFLAGS
9128       echo "_main" > conftest.sym
9129       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9130       if test x$gcc_no_link = xyes; then
9131   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9132 fi
9133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9134 /* end confdefs.h.  */
9135
9136 int
9137 main ()
9138 {
9139
9140   ;
9141   return 0;
9142 }
9143 _ACEOF
9144 if ac_fn_c_try_link "$LINENO"; then :
9145   lt_cv_ld_exported_symbols_list=yes
9146 else
9147   lt_cv_ld_exported_symbols_list=no
9148 fi
9149 rm -f core conftest.err conftest.$ac_objext \
9150     conftest$ac_exeext conftest.$ac_ext
9151         LDFLAGS="$save_LDFLAGS"
9152
9153 fi
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9155 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9156     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9157 $as_echo_n "checking for -force_load linker flag... " >&6; }
9158 if ${lt_cv_ld_force_load+:} false; then :
9159   $as_echo_n "(cached) " >&6
9160 else
9161   lt_cv_ld_force_load=no
9162       cat > conftest.c << _LT_EOF
9163 int forced_loaded() { return 2;}
9164 _LT_EOF
9165       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9166       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9167       echo "$AR cru libconftest.a conftest.o" >&5
9168       $AR cru libconftest.a conftest.o 2>&5
9169       cat > conftest.c << _LT_EOF
9170 int main() { return 0;}
9171 _LT_EOF
9172       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9173       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9174       _lt_result=$?
9175       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9176         lt_cv_ld_force_load=yes
9177       else
9178         cat conftest.err >&5
9179       fi
9180         rm -f conftest.err libconftest.a conftest conftest.c
9181         rm -rf conftest.dSYM
9182
9183 fi
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9185 $as_echo "$lt_cv_ld_force_load" >&6; }
9186     case $host_os in
9187     rhapsody* | darwin1.[012])
9188       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9189     darwin1.*)
9190       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9191     darwin*) # darwin 5.x on
9192       # if running on 10.5 or later, the deployment target defaults
9193       # to the OS version, if on x86, and 10.4, the deployment
9194       # target defaults to 10.4. Don't you love it?
9195       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9196         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9197           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9198         10.[012][,.]*)
9199           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9200         10.*)
9201           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9202       esac
9203     ;;
9204   esac
9205     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9206       _lt_dar_single_mod='$single_module'
9207     fi
9208     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9209       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9210     else
9211       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9212     fi
9213     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9214       _lt_dsymutil='~$DSYMUTIL $lib || :'
9215     else
9216       _lt_dsymutil=
9217     fi
9218     ;;
9219   esac
9220
9221 for ac_header in dlfcn.h
9222 do :
9223   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9224 "
9225 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9226   cat >>confdefs.h <<_ACEOF
9227 #define HAVE_DLFCN_H 1
9228 _ACEOF
9229
9230 fi
9231
9232 done
9233
9234
9235
9236
9237
9238 # Set options
9239
9240
9241
9242
9243   enable_win32_dll=no
9244
9245
9246             # Check whether --enable-shared was given.
9247 if test "${enable_shared+set}" = set; then :
9248   enableval=$enable_shared; p=${PACKAGE-default}
9249     case $enableval in
9250     yes) enable_shared=yes ;;
9251     no) enable_shared=no ;;
9252     *)
9253       enable_shared=no
9254       # Look at the argument we got.  We use all the common list separators.
9255       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9256       for pkg in $enableval; do
9257         IFS="$lt_save_ifs"
9258         if test "X$pkg" = "X$p"; then
9259           enable_shared=yes
9260         fi
9261       done
9262       IFS="$lt_save_ifs"
9263       ;;
9264     esac
9265 else
9266   enable_shared=yes
9267 fi
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277   # Check whether --enable-static was given.
9278 if test "${enable_static+set}" = set; then :
9279   enableval=$enable_static; p=${PACKAGE-default}
9280     case $enableval in
9281     yes) enable_static=yes ;;
9282     no) enable_static=no ;;
9283     *)
9284      enable_static=no
9285       # Look at the argument we got.  We use all the common list separators.
9286       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9287       for pkg in $enableval; do
9288         IFS="$lt_save_ifs"
9289         if test "X$pkg" = "X$p"; then
9290           enable_static=yes
9291         fi
9292       done
9293       IFS="$lt_save_ifs"
9294       ;;
9295     esac
9296 else
9297   enable_static=yes
9298 fi
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309 # Check whether --with-pic was given.
9310 if test "${with_pic+set}" = set; then :
9311   withval=$with_pic; pic_mode="$withval"
9312 else
9313   pic_mode=default
9314 fi
9315
9316
9317 test -z "$pic_mode" && pic_mode=default
9318
9319
9320
9321
9322
9323
9324
9325   # Check whether --enable-fast-install was given.
9326 if test "${enable_fast_install+set}" = set; then :
9327   enableval=$enable_fast_install; p=${PACKAGE-default}
9328     case $enableval in
9329     yes) enable_fast_install=yes ;;
9330     no) enable_fast_install=no ;;
9331     *)
9332       enable_fast_install=no
9333       # Look at the argument we got.  We use all the common list separators.
9334       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9335       for pkg in $enableval; do
9336         IFS="$lt_save_ifs"
9337         if test "X$pkg" = "X$p"; then
9338           enable_fast_install=yes
9339         fi
9340       done
9341       IFS="$lt_save_ifs"
9342       ;;
9343     esac
9344 else
9345   enable_fast_install=yes
9346 fi
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358 # This can be used to rebuild libtool when needed
9359 LIBTOOL_DEPS="$ltmain"
9360
9361 # Always use our own libtool.
9362 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389 test -z "$LN_S" && LN_S="ln -s"
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404 if test -n "${ZSH_VERSION+set}" ; then
9405    setopt NO_GLOB_SUBST
9406 fi
9407
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9409 $as_echo_n "checking for objdir... " >&6; }
9410 if ${lt_cv_objdir+:} false; then :
9411   $as_echo_n "(cached) " >&6
9412 else
9413   rm -f .libs 2>/dev/null
9414 mkdir .libs 2>/dev/null
9415 if test -d .libs; then
9416   lt_cv_objdir=.libs
9417 else
9418   # MS-DOS does not allow filenames that begin with a dot.
9419   lt_cv_objdir=_libs
9420 fi
9421 rmdir .libs 2>/dev/null
9422 fi
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9424 $as_echo "$lt_cv_objdir" >&6; }
9425 objdir=$lt_cv_objdir
9426
9427
9428
9429
9430
9431 cat >>confdefs.h <<_ACEOF
9432 #define LT_OBJDIR "$lt_cv_objdir/"
9433 _ACEOF
9434
9435
9436
9437
9438 case $host_os in
9439 aix3*)
9440   # AIX sometimes has problems with the GCC collect2 program.  For some
9441   # reason, if we set the COLLECT_NAMES environment variable, the problems
9442   # vanish in a puff of smoke.
9443   if test "X${COLLECT_NAMES+set}" != Xset; then
9444     COLLECT_NAMES=
9445     export COLLECT_NAMES
9446   fi
9447   ;;
9448 esac
9449
9450 # Global variables:
9451 ofile=libtool
9452 can_build_shared=yes
9453
9454 # All known linkers require a `.a' archive for static linking (except MSVC,
9455 # which needs '.lib').
9456 libext=a
9457
9458 with_gnu_ld="$lt_cv_prog_gnu_ld"
9459
9460 old_CC="$CC"
9461 old_CFLAGS="$CFLAGS"
9462
9463 # Set sane defaults for various variables
9464 test -z "$CC" && CC=cc
9465 test -z "$LTCC" && LTCC=$CC
9466 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9467 test -z "$LD" && LD=ld
9468 test -z "$ac_objext" && ac_objext=o
9469
9470 for cc_temp in $compiler""; do
9471   case $cc_temp in
9472     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9473     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9474     \-*) ;;
9475     *) break;;
9476   esac
9477 done
9478 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9479
9480
9481 # Only perform the check for file, if the check method requires it
9482 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9483 case $deplibs_check_method in
9484 file_magic*)
9485   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9486     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9487 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9488 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9489   $as_echo_n "(cached) " >&6
9490 else
9491   case $MAGIC_CMD in
9492 [\\/*] |  ?:[\\/]*)
9493   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9494   ;;
9495 *)
9496   lt_save_MAGIC_CMD="$MAGIC_CMD"
9497   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9498   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9499   for ac_dir in $ac_dummy; do
9500     IFS="$lt_save_ifs"
9501     test -z "$ac_dir" && ac_dir=.
9502     if test -f $ac_dir/${ac_tool_prefix}file; then
9503       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9504       if test -n "$file_magic_test_file"; then
9505         case $deplibs_check_method in
9506         "file_magic "*)
9507           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9508           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9509           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9510             $EGREP "$file_magic_regex" > /dev/null; then
9511             :
9512           else
9513             cat <<_LT_EOF 1>&2
9514
9515 *** Warning: the command libtool uses to detect shared libraries,
9516 *** $file_magic_cmd, produces output that libtool cannot recognize.
9517 *** The result is that libtool may fail to recognize shared libraries
9518 *** as such.  This will affect the creation of libtool libraries that
9519 *** depend on shared libraries, but programs linked with such libtool
9520 *** libraries will work regardless of this problem.  Nevertheless, you
9521 *** may want to report the problem to your system manager and/or to
9522 *** bug-libtool@gnu.org
9523
9524 _LT_EOF
9525           fi ;;
9526         esac
9527       fi
9528       break
9529     fi
9530   done
9531   IFS="$lt_save_ifs"
9532   MAGIC_CMD="$lt_save_MAGIC_CMD"
9533   ;;
9534 esac
9535 fi
9536
9537 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9538 if test -n "$MAGIC_CMD"; then
9539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9540 $as_echo "$MAGIC_CMD" >&6; }
9541 else
9542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9543 $as_echo "no" >&6; }
9544 fi
9545
9546
9547
9548
9549
9550 if test -z "$lt_cv_path_MAGIC_CMD"; then
9551   if test -n "$ac_tool_prefix"; then
9552     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9553 $as_echo_n "checking for file... " >&6; }
9554 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9555   $as_echo_n "(cached) " >&6
9556 else
9557   case $MAGIC_CMD in
9558 [\\/*] |  ?:[\\/]*)
9559   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9560   ;;
9561 *)
9562   lt_save_MAGIC_CMD="$MAGIC_CMD"
9563   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9564   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9565   for ac_dir in $ac_dummy; do
9566     IFS="$lt_save_ifs"
9567     test -z "$ac_dir" && ac_dir=.
9568     if test -f $ac_dir/file; then
9569       lt_cv_path_MAGIC_CMD="$ac_dir/file"
9570       if test -n "$file_magic_test_file"; then
9571         case $deplibs_check_method in
9572         "file_magic "*)
9573           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9574           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9575           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9576             $EGREP "$file_magic_regex" > /dev/null; then
9577             :
9578           else
9579             cat <<_LT_EOF 1>&2
9580
9581 *** Warning: the command libtool uses to detect shared libraries,
9582 *** $file_magic_cmd, produces output that libtool cannot recognize.
9583 *** The result is that libtool may fail to recognize shared libraries
9584 *** as such.  This will affect the creation of libtool libraries that
9585 *** depend on shared libraries, but programs linked with such libtool
9586 *** libraries will work regardless of this problem.  Nevertheless, you
9587 *** may want to report the problem to your system manager and/or to
9588 *** bug-libtool@gnu.org
9589
9590 _LT_EOF
9591           fi ;;
9592         esac
9593       fi
9594       break
9595     fi
9596   done
9597   IFS="$lt_save_ifs"
9598   MAGIC_CMD="$lt_save_MAGIC_CMD"
9599   ;;
9600 esac
9601 fi
9602
9603 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9604 if test -n "$MAGIC_CMD"; then
9605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9606 $as_echo "$MAGIC_CMD" >&6; }
9607 else
9608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9609 $as_echo "no" >&6; }
9610 fi
9611
9612
9613   else
9614     MAGIC_CMD=:
9615   fi
9616 fi
9617
9618   fi
9619   ;;
9620 esac
9621
9622 # Use C for the default configuration in the libtool script
9623
9624 lt_save_CC="$CC"
9625 ac_ext=c
9626 ac_cpp='$CPP $CPPFLAGS'
9627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9630
9631
9632 # Source file extension for C test sources.
9633 ac_ext=c
9634
9635 # Object file extension for compiled C test sources.
9636 objext=o
9637 objext=$objext
9638
9639 # Code to be used in simple compile tests
9640 lt_simple_compile_test_code="int some_variable = 0;"
9641
9642 # Code to be used in simple link tests
9643 lt_simple_link_test_code='int main(){return(0);}'
9644
9645
9646
9647
9648
9649
9650
9651 # If no C compiler was specified, use CC.
9652 LTCC=${LTCC-"$CC"}
9653
9654 # If no C compiler flags were specified, use CFLAGS.
9655 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9656
9657 # Allow CC to be a program name with arguments.
9658 compiler=$CC
9659
9660 # Save the default compiler, since it gets overwritten when the other
9661 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9662 compiler_DEFAULT=$CC
9663
9664 # save warnings/boilerplate of simple test code
9665 ac_outfile=conftest.$ac_objext
9666 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9667 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9668 _lt_compiler_boilerplate=`cat conftest.err`
9669 $RM conftest*
9670
9671 ac_outfile=conftest.$ac_objext
9672 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9673 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9674 _lt_linker_boilerplate=`cat conftest.err`
9675 $RM -r conftest*
9676
9677
9678 ## CAVEAT EMPTOR:
9679 ## There is no encapsulation within the following macros, do not change
9680 ## the running order or otherwise move them around unless you know exactly
9681 ## what you are doing...
9682 if test -n "$compiler"; then
9683
9684 lt_prog_compiler_no_builtin_flag=
9685
9686 if test "$GCC" = yes; then
9687   case $cc_basename in
9688   nvcc*)
9689     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9690   *)
9691     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9692   esac
9693
9694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9695 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9696 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9697   $as_echo_n "(cached) " >&6
9698 else
9699   lt_cv_prog_compiler_rtti_exceptions=no
9700    ac_outfile=conftest.$ac_objext
9701    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9702    lt_compiler_flag="-fno-rtti -fno-exceptions"
9703    # Insert the option either (1) after the last *FLAGS variable, or
9704    # (2) before a word containing "conftest.", or (3) at the end.
9705    # Note that $ac_compile itself does not contain backslashes and begins
9706    # with a dollar sign (not a hyphen), so the echo should work correctly.
9707    # The option is referenced via a variable to avoid confusing sed.
9708    lt_compile=`echo "$ac_compile" | $SED \
9709    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9710    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9711    -e 's:$: $lt_compiler_flag:'`
9712    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9713    (eval "$lt_compile" 2>conftest.err)
9714    ac_status=$?
9715    cat conftest.err >&5
9716    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9717    if (exit $ac_status) && test -s "$ac_outfile"; then
9718      # The compiler can only warn and ignore the option if not recognized
9719      # So say no if there are warnings other than the usual output.
9720      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9721      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9722      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9723        lt_cv_prog_compiler_rtti_exceptions=yes
9724      fi
9725    fi
9726    $RM conftest*
9727
9728 fi
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9730 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9731
9732 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9733     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9734 else
9735     :
9736 fi
9737
9738 fi
9739
9740
9741
9742
9743
9744
9745   lt_prog_compiler_wl=
9746 lt_prog_compiler_pic=
9747 lt_prog_compiler_static=
9748
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9750 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9751
9752   if test "$GCC" = yes; then
9753     lt_prog_compiler_wl='-Wl,'
9754     lt_prog_compiler_static='-static'
9755
9756     case $host_os in
9757       aix*)
9758       # All AIX code is PIC.
9759       if test "$host_cpu" = ia64; then
9760         # AIX 5 now supports IA64 processor
9761         lt_prog_compiler_static='-Bstatic'
9762       fi
9763       lt_prog_compiler_pic='-fPIC'
9764       ;;
9765
9766     amigaos*)
9767       case $host_cpu in
9768       powerpc)
9769             # see comment about AmigaOS4 .so support
9770             lt_prog_compiler_pic='-fPIC'
9771         ;;
9772       m68k)
9773             # FIXME: we need at least 68020 code to build shared libraries, but
9774             # adding the `-m68020' flag to GCC prevents building anything better,
9775             # like `-m68040'.
9776             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9777         ;;
9778       esac
9779       ;;
9780
9781     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9782       # PIC is the default for these OSes.
9783       ;;
9784
9785     mingw* | cygwin* | pw32* | os2* | cegcc*)
9786       # This hack is so that the source file can tell whether it is being
9787       # built for inclusion in a dll (and should export symbols for example).
9788       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9789       # (--disable-auto-import) libraries
9790       lt_prog_compiler_pic='-DDLL_EXPORT'
9791       ;;
9792
9793     darwin* | rhapsody*)
9794       # PIC is the default on this platform
9795       # Common symbols not allowed in MH_DYLIB files
9796       lt_prog_compiler_pic='-fno-common'
9797       ;;
9798
9799     haiku*)
9800       # PIC is the default for Haiku.
9801       # The "-static" flag exists, but is broken.
9802       lt_prog_compiler_static=
9803       ;;
9804
9805     hpux*)
9806       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9807       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9808       # sets the default TLS model and affects inlining.
9809       case $host_cpu in
9810       hppa*64*)
9811         # +Z the default
9812         ;;
9813       *)
9814         lt_prog_compiler_pic='-fPIC'
9815         ;;
9816       esac
9817       ;;
9818
9819     interix[3-9]*)
9820       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9821       # Instead, we relocate shared libraries at runtime.
9822       ;;
9823
9824     msdosdjgpp*)
9825       # Just because we use GCC doesn't mean we suddenly get shared libraries
9826       # on systems that don't support them.
9827       lt_prog_compiler_can_build_shared=no
9828       enable_shared=no
9829       ;;
9830
9831     *nto* | *qnx*)
9832       # QNX uses GNU C++, but need to define -shared option too, otherwise
9833       # it will coredump.
9834       lt_prog_compiler_pic='-fPIC -shared'
9835       ;;
9836
9837     sysv4*MP*)
9838       if test -d /usr/nec; then
9839         lt_prog_compiler_pic=-Kconform_pic
9840       fi
9841       ;;
9842
9843     *)
9844       lt_prog_compiler_pic='-fPIC'
9845       ;;
9846     esac
9847
9848     case $cc_basename in
9849     nvcc*) # Cuda Compiler Driver 2.2
9850       lt_prog_compiler_wl='-Xlinker '
9851       lt_prog_compiler_pic='-Xcompiler -fPIC'
9852       ;;
9853     esac
9854   else
9855     # PORTME Check for flag to pass linker flags through the system compiler.
9856     case $host_os in
9857     aix*)
9858       lt_prog_compiler_wl='-Wl,'
9859       if test "$host_cpu" = ia64; then
9860         # AIX 5 now supports IA64 processor
9861         lt_prog_compiler_static='-Bstatic'
9862       else
9863         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9864       fi
9865       ;;
9866
9867     mingw* | cygwin* | pw32* | os2* | cegcc*)
9868       # This hack is so that the source file can tell whether it is being
9869       # built for inclusion in a dll (and should export symbols for example).
9870       lt_prog_compiler_pic='-DDLL_EXPORT'
9871       ;;
9872
9873     hpux9* | hpux10* | hpux11*)
9874       lt_prog_compiler_wl='-Wl,'
9875       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9876       # not for PA HP-UX.
9877       case $host_cpu in
9878       hppa*64*|ia64*)
9879         # +Z the default
9880         ;;
9881       *)
9882         lt_prog_compiler_pic='+Z'
9883         ;;
9884       esac
9885       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9886       lt_prog_compiler_static='${wl}-a ${wl}archive'
9887       ;;
9888
9889     irix5* | irix6* | nonstopux*)
9890       lt_prog_compiler_wl='-Wl,'
9891       # PIC (with -KPIC) is the default.
9892       lt_prog_compiler_static='-non_shared'
9893       ;;
9894
9895     linux* | k*bsd*-gnu | kopensolaris*-gnu)
9896       case $cc_basename in
9897       # old Intel for x86_64 which still supported -KPIC.
9898       ecc*)
9899         lt_prog_compiler_wl='-Wl,'
9900         lt_prog_compiler_pic='-KPIC'
9901         lt_prog_compiler_static='-static'
9902         ;;
9903       # icc used to be incompatible with GCC.
9904       # ICC 10 doesn't accept -KPIC any more.
9905       icc* | ifort*)
9906         lt_prog_compiler_wl='-Wl,'
9907         lt_prog_compiler_pic='-fPIC'
9908         lt_prog_compiler_static='-static'
9909         ;;
9910       # Lahey Fortran 8.1.
9911       lf95*)
9912         lt_prog_compiler_wl='-Wl,'
9913         lt_prog_compiler_pic='--shared'
9914         lt_prog_compiler_static='--static'
9915         ;;
9916       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9917         # Portland Group compilers (*not* the Pentium gcc compiler,
9918         # which looks to be a dead project)
9919         lt_prog_compiler_wl='-Wl,'
9920         lt_prog_compiler_pic='-fpic'
9921         lt_prog_compiler_static='-Bstatic'
9922         ;;
9923       ccc*)
9924         lt_prog_compiler_wl='-Wl,'
9925         # All Alpha code is PIC.
9926         lt_prog_compiler_static='-non_shared'
9927         ;;
9928       xl* | bgxl* | bgf* | mpixl*)
9929         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9930         lt_prog_compiler_wl='-Wl,'
9931         lt_prog_compiler_pic='-qpic'
9932         lt_prog_compiler_static='-qstaticlink'
9933         ;;
9934       *)
9935         case `$CC -V 2>&1 | sed 5q` in
9936         *Sun\ F* | *Sun*Fortran*)
9937           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9938           lt_prog_compiler_pic='-KPIC'
9939           lt_prog_compiler_static='-Bstatic'
9940           lt_prog_compiler_wl=''
9941           ;;
9942         *Sun\ C*)
9943           # Sun C 5.9
9944           lt_prog_compiler_pic='-KPIC'
9945           lt_prog_compiler_static='-Bstatic'
9946           lt_prog_compiler_wl='-Wl,'
9947           ;;
9948         esac
9949         ;;
9950       esac
9951       ;;
9952
9953     newsos6)
9954       lt_prog_compiler_pic='-KPIC'
9955       lt_prog_compiler_static='-Bstatic'
9956       ;;
9957
9958     *nto* | *qnx*)
9959       # QNX uses GNU C++, but need to define -shared option too, otherwise
9960       # it will coredump.
9961       lt_prog_compiler_pic='-fPIC -shared'
9962       ;;
9963
9964     osf3* | osf4* | osf5*)
9965       lt_prog_compiler_wl='-Wl,'
9966       # All OSF/1 code is PIC.
9967       lt_prog_compiler_static='-non_shared'
9968       ;;
9969
9970     rdos*)
9971       lt_prog_compiler_static='-non_shared'
9972       ;;
9973
9974     solaris*)
9975       lt_prog_compiler_pic='-KPIC'
9976       lt_prog_compiler_static='-Bstatic'
9977       case $cc_basename in
9978       f77* | f90* | f95*)
9979         lt_prog_compiler_wl='-Qoption ld ';;
9980       *)
9981         lt_prog_compiler_wl='-Wl,';;
9982       esac
9983       ;;
9984
9985     sunos4*)
9986       lt_prog_compiler_wl='-Qoption ld '
9987       lt_prog_compiler_pic='-PIC'
9988       lt_prog_compiler_static='-Bstatic'
9989       ;;
9990
9991     sysv4 | sysv4.2uw2* | sysv4.3*)
9992       lt_prog_compiler_wl='-Wl,'
9993       lt_prog_compiler_pic='-KPIC'
9994       lt_prog_compiler_static='-Bstatic'
9995       ;;
9996
9997     sysv4*MP*)
9998       if test -d /usr/nec ;then
9999         lt_prog_compiler_pic='-Kconform_pic'
10000         lt_prog_compiler_static='-Bstatic'
10001       fi
10002       ;;
10003
10004     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10005       lt_prog_compiler_wl='-Wl,'
10006       lt_prog_compiler_pic='-KPIC'
10007       lt_prog_compiler_static='-Bstatic'
10008       ;;
10009
10010     unicos*)
10011       lt_prog_compiler_wl='-Wl,'
10012       lt_prog_compiler_can_build_shared=no
10013       ;;
10014
10015     uts4*)
10016       lt_prog_compiler_pic='-pic'
10017       lt_prog_compiler_static='-Bstatic'
10018       ;;
10019
10020     *)
10021       lt_prog_compiler_can_build_shared=no
10022       ;;
10023     esac
10024   fi
10025
10026 case $host_os in
10027   # For platforms which do not support PIC, -DPIC is meaningless:
10028   *djgpp*)
10029     lt_prog_compiler_pic=
10030     ;;
10031   *)
10032     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10033     ;;
10034 esac
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10036 $as_echo "$lt_prog_compiler_pic" >&6; }
10037
10038
10039
10040
10041
10042
10043 #
10044 # Check to make sure the PIC flag actually works.
10045 #
10046 if test -n "$lt_prog_compiler_pic"; then
10047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10048 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10049 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10050   $as_echo_n "(cached) " >&6
10051 else
10052   lt_cv_prog_compiler_pic_works=no
10053    ac_outfile=conftest.$ac_objext
10054    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10055    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10056    # Insert the option either (1) after the last *FLAGS variable, or
10057    # (2) before a word containing "conftest.", or (3) at the end.
10058    # Note that $ac_compile itself does not contain backslashes and begins
10059    # with a dollar sign (not a hyphen), so the echo should work correctly.
10060    # The option is referenced via a variable to avoid confusing sed.
10061    lt_compile=`echo "$ac_compile" | $SED \
10062    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10063    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10064    -e 's:$: $lt_compiler_flag:'`
10065    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10066    (eval "$lt_compile" 2>conftest.err)
10067    ac_status=$?
10068    cat conftest.err >&5
10069    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10070    if (exit $ac_status) && test -s "$ac_outfile"; then
10071      # The compiler can only warn and ignore the option if not recognized
10072      # So say no if there are warnings other than the usual output.
10073      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10074      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10075      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10076        lt_cv_prog_compiler_pic_works=yes
10077      fi
10078    fi
10079    $RM conftest*
10080
10081 fi
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10083 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10084
10085 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10086     case $lt_prog_compiler_pic in
10087      "" | " "*) ;;
10088      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10089      esac
10090 else
10091     lt_prog_compiler_pic=
10092      lt_prog_compiler_can_build_shared=no
10093 fi
10094
10095 fi
10096
10097
10098
10099
10100
10101
10102 #
10103 # Check to make sure the static flag actually works.
10104 #
10105 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10107 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10108 if ${lt_cv_prog_compiler_static_works+:} false; then :
10109   $as_echo_n "(cached) " >&6
10110 else
10111   lt_cv_prog_compiler_static_works=no
10112    save_LDFLAGS="$LDFLAGS"
10113    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10114    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10115    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10116      # The linker can only warn and ignore the option if not recognized
10117      # So say no if there are warnings
10118      if test -s conftest.err; then
10119        # Append any errors to the config.log.
10120        cat conftest.err 1>&5
10121        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10122        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10123        if diff conftest.exp conftest.er2 >/dev/null; then
10124          lt_cv_prog_compiler_static_works=yes
10125        fi
10126      else
10127        lt_cv_prog_compiler_static_works=yes
10128      fi
10129    fi
10130    $RM -r conftest*
10131    LDFLAGS="$save_LDFLAGS"
10132
10133 fi
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10135 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10136
10137 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10138     :
10139 else
10140     lt_prog_compiler_static=
10141 fi
10142
10143
10144
10145
10146
10147
10148
10149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10150 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10151 if ${lt_cv_prog_compiler_c_o+:} false; then :
10152   $as_echo_n "(cached) " >&6
10153 else
10154   lt_cv_prog_compiler_c_o=no
10155    $RM -r conftest 2>/dev/null
10156    mkdir conftest
10157    cd conftest
10158    mkdir out
10159    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10160
10161    lt_compiler_flag="-o out/conftest2.$ac_objext"
10162    # Insert the option either (1) after the last *FLAGS variable, or
10163    # (2) before a word containing "conftest.", or (3) at the end.
10164    # Note that $ac_compile itself does not contain backslashes and begins
10165    # with a dollar sign (not a hyphen), so the echo should work correctly.
10166    lt_compile=`echo "$ac_compile" | $SED \
10167    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10168    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10169    -e 's:$: $lt_compiler_flag:'`
10170    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10171    (eval "$lt_compile" 2>out/conftest.err)
10172    ac_status=$?
10173    cat out/conftest.err >&5
10174    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10175    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10176    then
10177      # The compiler can only warn and ignore the option if not recognized
10178      # So say no if there are warnings
10179      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10180      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10181      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10182        lt_cv_prog_compiler_c_o=yes
10183      fi
10184    fi
10185    chmod u+w . 2>&5
10186    $RM conftest*
10187    # SGI C++ compiler will create directory out/ii_files/ for
10188    # template instantiation
10189    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10190    $RM out/* && rmdir out
10191    cd ..
10192    $RM -r conftest
10193    $RM conftest*
10194
10195 fi
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10197 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10198
10199
10200
10201
10202
10203
10204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10205 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10206 if ${lt_cv_prog_compiler_c_o+:} false; then :
10207   $as_echo_n "(cached) " >&6
10208 else
10209   lt_cv_prog_compiler_c_o=no
10210    $RM -r conftest 2>/dev/null
10211    mkdir conftest
10212    cd conftest
10213    mkdir out
10214    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10215
10216    lt_compiler_flag="-o out/conftest2.$ac_objext"
10217    # Insert the option either (1) after the last *FLAGS variable, or
10218    # (2) before a word containing "conftest.", or (3) at the end.
10219    # Note that $ac_compile itself does not contain backslashes and begins
10220    # with a dollar sign (not a hyphen), so the echo should work correctly.
10221    lt_compile=`echo "$ac_compile" | $SED \
10222    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10223    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10224    -e 's:$: $lt_compiler_flag:'`
10225    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10226    (eval "$lt_compile" 2>out/conftest.err)
10227    ac_status=$?
10228    cat out/conftest.err >&5
10229    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10231    then
10232      # The compiler can only warn and ignore the option if not recognized
10233      # So say no if there are warnings
10234      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10235      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10236      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10237        lt_cv_prog_compiler_c_o=yes
10238      fi
10239    fi
10240    chmod u+w . 2>&5
10241    $RM conftest*
10242    # SGI C++ compiler will create directory out/ii_files/ for
10243    # template instantiation
10244    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10245    $RM out/* && rmdir out
10246    cd ..
10247    $RM -r conftest
10248    $RM conftest*
10249
10250 fi
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10252 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10253
10254
10255
10256
10257 hard_links="nottested"
10258 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10259   # do not overwrite the value of need_locks provided by the user
10260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10261 $as_echo_n "checking if we can lock with hard links... " >&6; }
10262   hard_links=yes
10263   $RM conftest*
10264   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10265   touch conftest.a
10266   ln conftest.a conftest.b 2>&5 || hard_links=no
10267   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10269 $as_echo "$hard_links" >&6; }
10270   if test "$hard_links" = no; then
10271     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10272 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10273     need_locks=warn
10274   fi
10275 else
10276   need_locks=no
10277 fi
10278
10279
10280
10281
10282
10283
10284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10285 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10286
10287   runpath_var=
10288   allow_undefined_flag=
10289   always_export_symbols=no
10290   archive_cmds=
10291   archive_expsym_cmds=
10292   compiler_needs_object=no
10293   enable_shared_with_static_runtimes=no
10294   export_dynamic_flag_spec=
10295   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10296   hardcode_automatic=no
10297   hardcode_direct=no
10298   hardcode_direct_absolute=no
10299   hardcode_libdir_flag_spec=
10300   hardcode_libdir_flag_spec_ld=
10301   hardcode_libdir_separator=
10302   hardcode_minus_L=no
10303   hardcode_shlibpath_var=unsupported
10304   inherit_rpath=no
10305   link_all_deplibs=unknown
10306   module_cmds=
10307   module_expsym_cmds=
10308   old_archive_from_new_cmds=
10309   old_archive_from_expsyms_cmds=
10310   thread_safe_flag_spec=
10311   whole_archive_flag_spec=
10312   # include_expsyms should be a list of space-separated symbols to be *always*
10313   # included in the symbol list
10314   include_expsyms=
10315   # exclude_expsyms can be an extended regexp of symbols to exclude
10316   # it will be wrapped by ` (' and `)$', so one must not match beginning or
10317   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10318   # as well as any symbol that contains `d'.
10319   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10320   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10321   # platforms (ab)use it in PIC code, but their linkers get confused if
10322   # the symbol is explicitly referenced.  Since portable code cannot
10323   # rely on this symbol name, it's probably fine to never include it in
10324   # preloaded symbol tables.
10325   # Exclude shared library initialization/finalization symbols.
10326   extract_expsyms_cmds=
10327
10328   case $host_os in
10329   cygwin* | mingw* | pw32* | cegcc*)
10330     # FIXME: the MSVC++ port hasn't been tested in a loooong time
10331     # When not using gcc, we currently assume that we are using
10332     # Microsoft Visual C++.
10333     if test "$GCC" != yes; then
10334       with_gnu_ld=no
10335     fi
10336     ;;
10337   interix*)
10338     # we just hope/assume this is gcc and not c89 (= MSVC++)
10339     with_gnu_ld=yes
10340     ;;
10341   openbsd*)
10342     with_gnu_ld=no
10343     ;;
10344   esac
10345
10346   ld_shlibs=yes
10347
10348   # On some targets, GNU ld is compatible enough with the native linker
10349   # that we're better off using the native interface for both.
10350   lt_use_gnu_ld_interface=no
10351   if test "$with_gnu_ld" = yes; then
10352     case $host_os in
10353       aix*)
10354         # The AIX port of GNU ld has always aspired to compatibility
10355         # with the native linker.  However, as the warning in the GNU ld
10356         # block says, versions before 2.19.5* couldn't really create working
10357         # shared libraries, regardless of the interface used.
10358         case `$LD -v 2>&1` in
10359           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10360           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10361           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10362           *)
10363             lt_use_gnu_ld_interface=yes
10364             ;;
10365         esac
10366         ;;
10367       *)
10368         lt_use_gnu_ld_interface=yes
10369         ;;
10370     esac
10371   fi
10372
10373   if test "$lt_use_gnu_ld_interface" = yes; then
10374     # If archive_cmds runs LD, not CC, wlarc should be empty
10375     wlarc='${wl}'
10376
10377     # Set some defaults for GNU ld with shared library support. These
10378     # are reset later if shared libraries are not supported. Putting them
10379     # here allows them to be overridden if necessary.
10380     runpath_var=LD_RUN_PATH
10381     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10382     export_dynamic_flag_spec='${wl}--export-dynamic'
10383     # ancient GNU ld didn't support --whole-archive et. al.
10384     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10385       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10386     else
10387       whole_archive_flag_spec=
10388     fi
10389     supports_anon_versioning=no
10390     case `$LD -v 2>&1` in
10391       *GNU\ gold*) supports_anon_versioning=yes ;;
10392       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10393       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10394       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10395       *\ 2.11.*) ;; # other 2.11 versions
10396       *) supports_anon_versioning=yes ;;
10397     esac
10398
10399     # See if GNU ld supports shared libraries.
10400     case $host_os in
10401     aix[3-9]*)
10402       # On AIX/PPC, the GNU linker is very broken
10403       if test "$host_cpu" != ia64; then
10404         ld_shlibs=no
10405         cat <<_LT_EOF 1>&2
10406
10407 *** Warning: the GNU linker, at least up to release 2.19, is reported
10408 *** to be unable to reliably create shared libraries on AIX.
10409 *** Therefore, libtool is disabling shared libraries support.  If you
10410 *** really care for shared libraries, you may want to install binutils
10411 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10412 *** You will then need to restart the configuration process.
10413
10414 _LT_EOF
10415       fi
10416       ;;
10417
10418     amigaos*)
10419       case $host_cpu in
10420       powerpc)
10421             # see comment about AmigaOS4 .so support
10422             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10423             archive_expsym_cmds=''
10424         ;;
10425       m68k)
10426             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)'
10427             hardcode_libdir_flag_spec='-L$libdir'
10428             hardcode_minus_L=yes
10429         ;;
10430       esac
10431       ;;
10432
10433     beos*)
10434       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10435         allow_undefined_flag=unsupported
10436         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10437         # support --undefined.  This deserves some investigation.  FIXME
10438         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10439       else
10440         ld_shlibs=no
10441       fi
10442       ;;
10443
10444     cygwin* | mingw* | pw32* | cegcc*)
10445       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10446       # as there is no search path for DLLs.
10447       hardcode_libdir_flag_spec='-L$libdir'
10448       export_dynamic_flag_spec='${wl}--export-all-symbols'
10449       allow_undefined_flag=unsupported
10450       always_export_symbols=no
10451       enable_shared_with_static_runtimes=yes
10452       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10453
10454       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10455         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10456         # If the export-symbols file already is a .def file (1st line
10457         # is EXPORTS), use it as is; otherwise, prepend...
10458         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10459           cp $export_symbols $output_objdir/$soname.def;
10460         else
10461           echo EXPORTS > $output_objdir/$soname.def;
10462           cat $export_symbols >> $output_objdir/$soname.def;
10463         fi~
10464         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10465       else
10466         ld_shlibs=no
10467       fi
10468       ;;
10469
10470     haiku*)
10471       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10472       link_all_deplibs=yes
10473       ;;
10474
10475     interix[3-9]*)
10476       hardcode_direct=no
10477       hardcode_shlibpath_var=no
10478       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10479       export_dynamic_flag_spec='${wl}-E'
10480       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10481       # Instead, shared libraries are loaded at an image base (0x10000000 by
10482       # default) and relocated if they conflict, which is a slow very memory
10483       # consuming and fragmenting process.  To avoid this, we pick a random,
10484       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10485       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10486       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10487       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'
10488       ;;
10489
10490     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
10491       tmp_diet=no
10492       if test "$host_os" = linux-dietlibc; then
10493         case $cc_basename in
10494           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10495         esac
10496       fi
10497       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10498          && test "$tmp_diet" = no
10499       then
10500         tmp_addflag=' $pic_flag'
10501         tmp_sharedflag='-shared'
10502         case $cc_basename,$host_cpu in
10503         pgcc*)                          # Portland Group C compiler
10504           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'
10505           tmp_addflag=' $pic_flag'
10506           ;;
10507         pgf77* | pgf90* | pgf95* | pgfortran*)
10508                                         # Portland Group f77 and f90 compilers
10509           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'
10510           tmp_addflag=' $pic_flag -Mnomain' ;;
10511         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10512           tmp_addflag=' -i_dynamic' ;;
10513         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10514           tmp_addflag=' -i_dynamic -nofor_main' ;;
10515         ifc* | ifort*)                  # Intel Fortran compiler
10516           tmp_addflag=' -nofor_main' ;;
10517         lf95*)                          # Lahey Fortran 8.1
10518           whole_archive_flag_spec=
10519           tmp_sharedflag='--shared' ;;
10520         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10521           tmp_sharedflag='-qmkshrobj'
10522           tmp_addflag= ;;
10523         nvcc*)  # Cuda Compiler Driver 2.2
10524           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'
10525           compiler_needs_object=yes
10526           ;;
10527         esac
10528         case `$CC -V 2>&1 | sed 5q` in
10529         *Sun\ C*)                       # Sun C 5.9
10530           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'
10531           compiler_needs_object=yes
10532           tmp_sharedflag='-G' ;;
10533         *Sun\ F*)                       # Sun Fortran 8.3
10534           tmp_sharedflag='-G' ;;
10535         esac
10536         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10537
10538         if test "x$supports_anon_versioning" = xyes; then
10539           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10540             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10541             echo "local: *; };" >> $output_objdir/$libname.ver~
10542             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10543         fi
10544
10545         case $cc_basename in
10546         xlf* | bgf* | bgxlf* | mpixlf*)
10547           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10548           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10549           hardcode_libdir_flag_spec=
10550           hardcode_libdir_flag_spec_ld='-rpath $libdir'
10551           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10552           if test "x$supports_anon_versioning" = xyes; then
10553             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10554               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10555               echo "local: *; };" >> $output_objdir/$libname.ver~
10556               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10557           fi
10558           ;;
10559         esac
10560       else
10561         ld_shlibs=no
10562       fi
10563       ;;
10564
10565     netbsd*)
10566       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10567         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10568         wlarc=
10569       else
10570         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10571         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10572       fi
10573       ;;
10574
10575     solaris*)
10576       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10577         ld_shlibs=no
10578         cat <<_LT_EOF 1>&2
10579
10580 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10581 *** create shared libraries on Solaris systems.  Therefore, libtool
10582 *** is disabling shared libraries support.  We urge you to upgrade GNU
10583 *** binutils to release 2.9.1 or newer.  Another option is to modify
10584 *** your PATH or compiler configuration so that the native linker is
10585 *** used, and then restart.
10586
10587 _LT_EOF
10588       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10589         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10590         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10591       else
10592         ld_shlibs=no
10593       fi
10594       ;;
10595
10596     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10597       case `$LD -v 2>&1` in
10598         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10599         ld_shlibs=no
10600         cat <<_LT_EOF 1>&2
10601
10602 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10603 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10604 *** is disabling shared libraries support.  We urge you to upgrade GNU
10605 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10606 *** your PATH or compiler configuration so that the native linker is
10607 *** used, and then restart.
10608
10609 _LT_EOF
10610         ;;
10611         *)
10612           # For security reasons, it is highly recommended that you always
10613           # use absolute paths for naming shared libraries, and exclude the
10614           # DT_RUNPATH tag from executables and libraries.  But doing so
10615           # requires that you compile everything twice, which is a pain.
10616           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10617             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10618             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10619             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10620           else
10621             ld_shlibs=no
10622           fi
10623         ;;
10624       esac
10625       ;;
10626
10627     sunos4*)
10628       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10629       wlarc=
10630       hardcode_direct=yes
10631       hardcode_shlibpath_var=no
10632       ;;
10633
10634     *)
10635       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10636         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10637         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10638       else
10639         ld_shlibs=no
10640       fi
10641       ;;
10642     esac
10643
10644     if test "$ld_shlibs" = no; then
10645       runpath_var=
10646       hardcode_libdir_flag_spec=
10647       export_dynamic_flag_spec=
10648       whole_archive_flag_spec=
10649     fi
10650   else
10651     # PORTME fill in a description of your system's linker (not GNU ld)
10652     case $host_os in
10653     aix3*)
10654       allow_undefined_flag=unsupported
10655       always_export_symbols=yes
10656       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'
10657       # Note: this linker hardcodes the directories in LIBPATH if there
10658       # are no directories specified by -L.
10659       hardcode_minus_L=yes
10660       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10661         # Neither direct hardcoding nor static linking is supported with a
10662         # broken collect2.
10663         hardcode_direct=unsupported
10664       fi
10665       ;;
10666
10667     aix[4-9]*)
10668       if test "$host_cpu" = ia64; then
10669         # On IA64, the linker does run time linking by default, so we don't
10670         # have to do anything special.
10671         aix_use_runtimelinking=no
10672         exp_sym_flag='-Bexport'
10673         no_entry_flag=""
10674       else
10675         # If we're using GNU nm, then we don't want the "-C" option.
10676         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10677         # Also, AIX nm treats weak defined symbols like other global
10678         # defined symbols, whereas GNU nm marks them as "W".
10679         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10680           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'
10681         else
10682           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10683         fi
10684         aix_use_runtimelinking=no
10685
10686         # Test if we are trying to use run time linking or normal
10687         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10688         # need to do runtime linking.
10689         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10690           for ld_flag in $LDFLAGS; do
10691           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10692             aix_use_runtimelinking=yes
10693             break
10694           fi
10695           done
10696           ;;
10697         esac
10698
10699         exp_sym_flag='-bexport'
10700         no_entry_flag='-bnoentry'
10701       fi
10702
10703       # When large executables or shared objects are built, AIX ld can
10704       # have problems creating the table of contents.  If linking a library
10705       # or program results in "error TOC overflow" add -mminimal-toc to
10706       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10707       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10708
10709       archive_cmds=''
10710       hardcode_direct=yes
10711       hardcode_direct_absolute=yes
10712       hardcode_libdir_separator=':'
10713       link_all_deplibs=yes
10714       file_list_spec='${wl}-f,'
10715
10716       if test "$GCC" = yes; then
10717         case $host_os in aix4.[012]|aix4.[012].*)
10718         # We only want to do this on AIX 4.2 and lower, the check
10719         # below for broken collect2 doesn't work under 4.3+
10720           collect2name=`${CC} -print-prog-name=collect2`
10721           if test -f "$collect2name" &&
10722            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10723           then
10724           # We have reworked collect2
10725           :
10726           else
10727           # We have old collect2
10728           hardcode_direct=unsupported
10729           # It fails to find uninstalled libraries when the uninstalled
10730           # path is not listed in the libpath.  Setting hardcode_minus_L
10731           # to unsupported forces relinking
10732           hardcode_minus_L=yes
10733           hardcode_libdir_flag_spec='-L$libdir'
10734           hardcode_libdir_separator=
10735           fi
10736           ;;
10737         esac
10738         shared_flag='-shared'
10739         if test "$aix_use_runtimelinking" = yes; then
10740           shared_flag="$shared_flag "'${wl}-G'
10741         fi
10742       else
10743         # not using gcc
10744         if test "$host_cpu" = ia64; then
10745         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10746         # chokes on -Wl,-G. The following line is correct:
10747           shared_flag='-G'
10748         else
10749           if test "$aix_use_runtimelinking" = yes; then
10750             shared_flag='${wl}-G'
10751           else
10752             shared_flag='${wl}-bM:SRE'
10753           fi
10754         fi
10755       fi
10756
10757       export_dynamic_flag_spec='${wl}-bexpall'
10758       # It seems that -bexpall does not export symbols beginning with
10759       # underscore (_), so it is better to generate a list of symbols to export.
10760       always_export_symbols=yes
10761       if test "$aix_use_runtimelinking" = yes; then
10762         # Warning - without using the other runtime loading flags (-brtl),
10763         # -berok will link without error, but may produce a broken library.
10764         allow_undefined_flag='-berok'
10765         # Determine the default libpath from the value encoded in an
10766         # empty executable.
10767         if test x$gcc_no_link = xyes; then
10768   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10769 fi
10770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10771 /* end confdefs.h.  */
10772
10773 int
10774 main ()
10775 {
10776
10777   ;
10778   return 0;
10779 }
10780 _ACEOF
10781 if ac_fn_c_try_link "$LINENO"; then :
10782
10783 lt_aix_libpath_sed='
10784     /Import File Strings/,/^$/ {
10785         /^0/ {
10786             s/^0  *\(.*\)$/\1/
10787             p
10788         }
10789     }'
10790 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10791 # Check for a 64-bit object if we didn't find anything.
10792 if test -z "$aix_libpath"; then
10793   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10794 fi
10795 fi
10796 rm -f core conftest.err conftest.$ac_objext \
10797     conftest$ac_exeext conftest.$ac_ext
10798 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10799
10800         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10801         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"
10802       else
10803         if test "$host_cpu" = ia64; then
10804           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10805           allow_undefined_flag="-z nodefs"
10806           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"
10807         else
10808          # Determine the default libpath from the value encoded in an
10809          # empty executable.
10810          if test x$gcc_no_link = xyes; then
10811   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10812 fi
10813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10814 /* end confdefs.h.  */
10815
10816 int
10817 main ()
10818 {
10819
10820   ;
10821   return 0;
10822 }
10823 _ACEOF
10824 if ac_fn_c_try_link "$LINENO"; then :
10825
10826 lt_aix_libpath_sed='
10827     /Import File Strings/,/^$/ {
10828         /^0/ {
10829             s/^0  *\(.*\)$/\1/
10830             p
10831         }
10832     }'
10833 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10834 # Check for a 64-bit object if we didn't find anything.
10835 if test -z "$aix_libpath"; then
10836   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10837 fi
10838 fi
10839 rm -f core conftest.err conftest.$ac_objext \
10840     conftest$ac_exeext conftest.$ac_ext
10841 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10842
10843          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10844           # Warning - without using the other run time loading flags,
10845           # -berok will link without error, but may produce a broken library.
10846           no_undefined_flag=' ${wl}-bernotok'
10847           allow_undefined_flag=' ${wl}-berok'
10848           if test "$with_gnu_ld" = yes; then
10849             # We only use this code for GNU lds that support --whole-archive.
10850             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10851           else
10852             # Exported symbols can be pulled into shared objects from archives
10853             whole_archive_flag_spec='$convenience'
10854           fi
10855           archive_cmds_need_lc=yes
10856           # This is similar to how AIX traditionally builds its shared libraries.
10857           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'
10858         fi
10859       fi
10860       ;;
10861
10862     amigaos*)
10863       case $host_cpu in
10864       powerpc)
10865             # see comment about AmigaOS4 .so support
10866             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10867             archive_expsym_cmds=''
10868         ;;
10869       m68k)
10870             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)'
10871             hardcode_libdir_flag_spec='-L$libdir'
10872             hardcode_minus_L=yes
10873         ;;
10874       esac
10875       ;;
10876
10877     bsdi[45]*)
10878       export_dynamic_flag_spec=-rdynamic
10879       ;;
10880
10881     cygwin* | mingw* | pw32* | cegcc*)
10882       # When not using gcc, we currently assume that we are using
10883       # Microsoft Visual C++.
10884       # hardcode_libdir_flag_spec is actually meaningless, as there is
10885       # no search path for DLLs.
10886       hardcode_libdir_flag_spec=' '
10887       allow_undefined_flag=unsupported
10888       # Tell ltmain to make .lib files, not .a files.
10889       libext=lib
10890       # Tell ltmain to make .dll files, not .so files.
10891       shrext_cmds=".dll"
10892       # FIXME: Setting linknames here is a bad hack.
10893       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10894       # The linker will automatically build a .lib file if we build a DLL.
10895       old_archive_from_new_cmds='true'
10896       # FIXME: Should let the user specify the lib program.
10897       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10898       fix_srcfile_path='`cygpath -w "$srcfile"`'
10899       enable_shared_with_static_runtimes=yes
10900       ;;
10901
10902     darwin* | rhapsody*)
10903
10904
10905   archive_cmds_need_lc=no
10906   hardcode_direct=no
10907   hardcode_automatic=yes
10908   hardcode_shlibpath_var=unsupported
10909   if test "$lt_cv_ld_force_load" = "yes"; then
10910     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\"`'
10911   else
10912     whole_archive_flag_spec=''
10913   fi
10914   link_all_deplibs=yes
10915   allow_undefined_flag="$_lt_dar_allow_undefined"
10916   case $cc_basename in
10917      ifort*) _lt_dar_can_shared=yes ;;
10918      *) _lt_dar_can_shared=$GCC ;;
10919   esac
10920   if test "$_lt_dar_can_shared" = "yes"; then
10921     output_verbose_link_cmd=func_echo_all
10922     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10923     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10924     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}"
10925     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}"
10926
10927   else
10928   ld_shlibs=no
10929   fi
10930
10931       ;;
10932
10933     dgux*)
10934       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10935       hardcode_libdir_flag_spec='-L$libdir'
10936       hardcode_shlibpath_var=no
10937       ;;
10938
10939     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10940     # support.  Future versions do this automatically, but an explicit c++rt0.o
10941     # does not break anything, and helps significantly (at the cost of a little
10942     # extra space).
10943     freebsd2.2*)
10944       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10945       hardcode_libdir_flag_spec='-R$libdir'
10946       hardcode_direct=yes
10947       hardcode_shlibpath_var=no
10948       ;;
10949
10950     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10951     freebsd2.*)
10952       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10953       hardcode_direct=yes
10954       hardcode_minus_L=yes
10955       hardcode_shlibpath_var=no
10956       ;;
10957
10958     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10959     freebsd* | dragonfly*)
10960       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10961       hardcode_libdir_flag_spec='-R$libdir'
10962       hardcode_direct=yes
10963       hardcode_shlibpath_var=no
10964       ;;
10965
10966     hpux9*)
10967       if test "$GCC" = yes; then
10968         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'
10969       else
10970         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'
10971       fi
10972       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10973       hardcode_libdir_separator=:
10974       hardcode_direct=yes
10975
10976       # hardcode_minus_L: Not really in the search PATH,
10977       # but as the default location of the library.
10978       hardcode_minus_L=yes
10979       export_dynamic_flag_spec='${wl}-E'
10980       ;;
10981
10982     hpux10*)
10983       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10984         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10985       else
10986         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10987       fi
10988       if test "$with_gnu_ld" = no; then
10989         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10990         hardcode_libdir_flag_spec_ld='+b $libdir'
10991         hardcode_libdir_separator=:
10992         hardcode_direct=yes
10993         hardcode_direct_absolute=yes
10994         export_dynamic_flag_spec='${wl}-E'
10995         # hardcode_minus_L: Not really in the search PATH,
10996         # but as the default location of the library.
10997         hardcode_minus_L=yes
10998       fi
10999       ;;
11000
11001     hpux11*)
11002       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11003         case $host_cpu in
11004         hppa*64*)
11005           archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11006           ;;
11007         ia64*)
11008           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11009           ;;
11010         *)
11011           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11012           ;;
11013         esac
11014       else
11015         case $host_cpu in
11016         hppa*64*)
11017           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11018           ;;
11019         ia64*)
11020           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11021           ;;
11022         *)
11023
11024           # Older versions of the 11.00 compiler do not understand -b yet
11025           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11026           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11027 $as_echo_n "checking if $CC understands -b... " >&6; }
11028 if ${lt_cv_prog_compiler__b+:} false; then :
11029   $as_echo_n "(cached) " >&6
11030 else
11031   lt_cv_prog_compiler__b=no
11032    save_LDFLAGS="$LDFLAGS"
11033    LDFLAGS="$LDFLAGS -b"
11034    echo "$lt_simple_link_test_code" > conftest.$ac_ext
11035    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11036      # The linker can only warn and ignore the option if not recognized
11037      # So say no if there are warnings
11038      if test -s conftest.err; then
11039        # Append any errors to the config.log.
11040        cat conftest.err 1>&5
11041        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11042        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11043        if diff conftest.exp conftest.er2 >/dev/null; then
11044          lt_cv_prog_compiler__b=yes
11045        fi
11046      else
11047        lt_cv_prog_compiler__b=yes
11048      fi
11049    fi
11050    $RM -r conftest*
11051    LDFLAGS="$save_LDFLAGS"
11052
11053 fi
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11055 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11056
11057 if test x"$lt_cv_prog_compiler__b" = xyes; then
11058     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11059 else
11060     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11061 fi
11062
11063           ;;
11064         esac
11065       fi
11066       if test "$with_gnu_ld" = no; then
11067         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11068         hardcode_libdir_separator=:
11069
11070         case $host_cpu in
11071         hppa*64*|ia64*)
11072           hardcode_direct=no
11073           hardcode_shlibpath_var=no
11074           ;;
11075         *)
11076           hardcode_direct=yes
11077           hardcode_direct_absolute=yes
11078           export_dynamic_flag_spec='${wl}-E'
11079
11080           # hardcode_minus_L: Not really in the search PATH,
11081           # but as the default location of the library.
11082           hardcode_minus_L=yes
11083           ;;
11084         esac
11085       fi
11086       ;;
11087
11088     irix5* | irix6* | nonstopux*)
11089       if test "$GCC" = yes; then
11090         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'
11091         # Try to use the -exported_symbol ld option, if it does not
11092         # work, assume that -exports_file does not work either and
11093         # implicitly export all symbols.
11094         save_LDFLAGS="$LDFLAGS"
11095         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11096         if test x$gcc_no_link = xyes; then
11097   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11098 fi
11099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11100 /* end confdefs.h.  */
11101 int foo(void) {}
11102 _ACEOF
11103 if ac_fn_c_try_link "$LINENO"; then :
11104   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'
11105
11106 fi
11107 rm -f core conftest.err conftest.$ac_objext \
11108     conftest$ac_exeext conftest.$ac_ext
11109         LDFLAGS="$save_LDFLAGS"
11110       else
11111         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'
11112         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'
11113       fi
11114       archive_cmds_need_lc='no'
11115       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11116       hardcode_libdir_separator=:
11117       inherit_rpath=yes
11118       link_all_deplibs=yes
11119       ;;
11120
11121     netbsd*)
11122       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11123         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11124       else
11125         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11126       fi
11127       hardcode_libdir_flag_spec='-R$libdir'
11128       hardcode_direct=yes
11129       hardcode_shlibpath_var=no
11130       ;;
11131
11132     newsos6)
11133       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11134       hardcode_direct=yes
11135       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11136       hardcode_libdir_separator=:
11137       hardcode_shlibpath_var=no
11138       ;;
11139
11140     *nto* | *qnx*)
11141       ;;
11142
11143     openbsd*)
11144       if test -f /usr/libexec/ld.so; then
11145         hardcode_direct=yes
11146         hardcode_shlibpath_var=no
11147         hardcode_direct_absolute=yes
11148         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11149           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11150           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11151           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11152           export_dynamic_flag_spec='${wl}-E'
11153         else
11154           case $host_os in
11155            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11156              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11157              hardcode_libdir_flag_spec='-R$libdir'
11158              ;;
11159            *)
11160              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11161              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11162              ;;
11163           esac
11164         fi
11165       else
11166         ld_shlibs=no
11167       fi
11168       ;;
11169
11170     os2*)
11171       hardcode_libdir_flag_spec='-L$libdir'
11172       hardcode_minus_L=yes
11173       allow_undefined_flag=unsupported
11174       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'
11175       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11176       ;;
11177
11178     osf3*)
11179       if test "$GCC" = yes; then
11180         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11181         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'
11182       else
11183         allow_undefined_flag=' -expect_unresolved \*'
11184         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'
11185       fi
11186       archive_cmds_need_lc='no'
11187       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11188       hardcode_libdir_separator=:
11189       ;;
11190
11191     osf4* | osf5*)      # as osf3* with the addition of -msym flag
11192       if test "$GCC" = yes; then
11193         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11194         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'
11195         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11196       else
11197         allow_undefined_flag=' -expect_unresolved \*'
11198         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'
11199         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~
11200         $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'
11201
11202         # Both c and cxx compiler support -rpath directly
11203         hardcode_libdir_flag_spec='-rpath $libdir'
11204       fi
11205       archive_cmds_need_lc='no'
11206       hardcode_libdir_separator=:
11207       ;;
11208
11209     solaris*)
11210       no_undefined_flag=' -z defs'
11211       if test "$GCC" = yes; then
11212         wlarc='${wl}'
11213         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11214         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11215           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11216       else
11217         case `$CC -V 2>&1` in
11218         *"Compilers 5.0"*)
11219           wlarc=''
11220           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11221           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11222           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11223           ;;
11224         *)
11225           wlarc='${wl}'
11226           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11227           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11228           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11229           ;;
11230         esac
11231       fi
11232       hardcode_libdir_flag_spec='-R$libdir'
11233       hardcode_shlibpath_var=no
11234       case $host_os in
11235       solaris2.[0-5] | solaris2.[0-5].*) ;;
11236       *)
11237         # The compiler driver will combine and reorder linker options,
11238         # but understands `-z linker_flag'.  GCC discards it without `$wl',
11239         # but is careful enough not to reorder.
11240         # Supported since Solaris 2.6 (maybe 2.5.1?)
11241         if test "$GCC" = yes; then
11242           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11243         else
11244           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11245         fi
11246         ;;
11247       esac
11248       link_all_deplibs=yes
11249       ;;
11250
11251     sunos4*)
11252       if test "x$host_vendor" = xsequent; then
11253         # Use $CC to link under sequent, because it throws in some extra .o
11254         # files that make .init and .fini sections work.
11255         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11256       else
11257         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11258       fi
11259       hardcode_libdir_flag_spec='-L$libdir'
11260       hardcode_direct=yes
11261       hardcode_minus_L=yes
11262       hardcode_shlibpath_var=no
11263       ;;
11264
11265     sysv4)
11266       case $host_vendor in
11267         sni)
11268           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11269           hardcode_direct=yes # is this really true???
11270         ;;
11271         siemens)
11272           ## LD is ld it makes a PLAMLIB
11273           ## CC just makes a GrossModule.
11274           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11275           reload_cmds='$CC -r -o $output$reload_objs'
11276           hardcode_direct=no
11277         ;;
11278         motorola)
11279           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11280           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11281         ;;
11282       esac
11283       runpath_var='LD_RUN_PATH'
11284       hardcode_shlibpath_var=no
11285       ;;
11286
11287     sysv4.3*)
11288       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11289       hardcode_shlibpath_var=no
11290       export_dynamic_flag_spec='-Bexport'
11291       ;;
11292
11293     sysv4*MP*)
11294       if test -d /usr/nec; then
11295         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11296         hardcode_shlibpath_var=no
11297         runpath_var=LD_RUN_PATH
11298         hardcode_runpath_var=yes
11299         ld_shlibs=yes
11300       fi
11301       ;;
11302
11303     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11304       no_undefined_flag='${wl}-z,text'
11305       archive_cmds_need_lc=no
11306       hardcode_shlibpath_var=no
11307       runpath_var='LD_RUN_PATH'
11308
11309       if test "$GCC" = yes; then
11310         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11311         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11312       else
11313         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11314         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11315       fi
11316       ;;
11317
11318     sysv5* | sco3.2v5* | sco5v6*)
11319       # Note: We can NOT use -z defs as we might desire, because we do not
11320       # link with -lc, and that would cause any symbols used from libc to
11321       # always be unresolved, which means just about no library would
11322       # ever link correctly.  If we're not using GNU ld we use -z text
11323       # though, which does catch some bad symbols but isn't as heavy-handed
11324       # as -z defs.
11325       no_undefined_flag='${wl}-z,text'
11326       allow_undefined_flag='${wl}-z,nodefs'
11327       archive_cmds_need_lc=no
11328       hardcode_shlibpath_var=no
11329       hardcode_libdir_flag_spec='${wl}-R,$libdir'
11330       hardcode_libdir_separator=':'
11331       link_all_deplibs=yes
11332       export_dynamic_flag_spec='${wl}-Bexport'
11333       runpath_var='LD_RUN_PATH'
11334
11335       if test "$GCC" = yes; then
11336         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11337         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11338       else
11339         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11340         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11341       fi
11342       ;;
11343
11344     uts4*)
11345       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11346       hardcode_libdir_flag_spec='-L$libdir'
11347       hardcode_shlibpath_var=no
11348       ;;
11349
11350     *)
11351       ld_shlibs=no
11352       ;;
11353     esac
11354
11355     if test x$host_vendor = xsni; then
11356       case $host in
11357       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11358         export_dynamic_flag_spec='${wl}-Blargedynsym'
11359         ;;
11360       esac
11361     fi
11362   fi
11363
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11365 $as_echo "$ld_shlibs" >&6; }
11366 test "$ld_shlibs" = no && can_build_shared=no
11367
11368 with_gnu_ld=$with_gnu_ld
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384 #
11385 # Do we need to explicitly link libc?
11386 #
11387 case "x$archive_cmds_need_lc" in
11388 x|xyes)
11389   # Assume -lc should be added
11390   archive_cmds_need_lc=yes
11391
11392   if test "$enable_shared" = yes && test "$GCC" = yes; then
11393     case $archive_cmds in
11394     *'~'*)
11395       # FIXME: we may have to deal with multi-command sequences.
11396       ;;
11397     '$CC '*)
11398       # Test whether the compiler implicitly links with -lc since on some
11399       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11400       # to ld, don't add -lc before -lgcc.
11401       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11402 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11403 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11404   $as_echo_n "(cached) " >&6
11405 else
11406   $RM conftest*
11407         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11408
11409         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11410   (eval $ac_compile) 2>&5
11411   ac_status=$?
11412   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11413   test $ac_status = 0; } 2>conftest.err; then
11414           soname=conftest
11415           lib=conftest
11416           libobjs=conftest.$ac_objext
11417           deplibs=
11418           wl=$lt_prog_compiler_wl
11419           pic_flag=$lt_prog_compiler_pic
11420           compiler_flags=-v
11421           linker_flags=-v
11422           verstring=
11423           output_objdir=.
11424           libname=conftest
11425           lt_save_allow_undefined_flag=$allow_undefined_flag
11426           allow_undefined_flag=
11427           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11428   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11429   ac_status=$?
11430   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11431   test $ac_status = 0; }
11432           then
11433             lt_cv_archive_cmds_need_lc=no
11434           else
11435             lt_cv_archive_cmds_need_lc=yes
11436           fi
11437           allow_undefined_flag=$lt_save_allow_undefined_flag
11438         else
11439           cat conftest.err 1>&5
11440         fi
11441         $RM conftest*
11442
11443 fi
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11445 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11446       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11447       ;;
11448     esac
11449   fi
11450   ;;
11451 esac
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11610 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11611
11612 if test "$GCC" = yes; then
11613   case $host_os in
11614     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11615     *) lt_awk_arg="/^libraries:/" ;;
11616   esac
11617   case $host_os in
11618     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11619     *) lt_sed_strip_eq="s,=/,/,g" ;;
11620   esac
11621   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11622   case $lt_search_path_spec in
11623   *\;*)
11624     # if the path contains ";" then we assume it to be the separator
11625     # otherwise default to the standard path separator (i.e. ":") - it is
11626     # assumed that no part of a normal pathname contains ";" but that should
11627     # okay in the real world where ";" in dirpaths is itself problematic.
11628     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11629     ;;
11630   *)
11631     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11632     ;;
11633   esac
11634   # Ok, now we have the path, separated by spaces, we can step through it
11635   # and add multilib dir if necessary.
11636   lt_tmp_lt_search_path_spec=
11637   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11638   for lt_sys_path in $lt_search_path_spec; do
11639     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11640       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11641     else
11642       test -d "$lt_sys_path" && \
11643         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11644     fi
11645   done
11646   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11647 BEGIN {RS=" "; FS="/|\n";} {
11648   lt_foo="";
11649   lt_count=0;
11650   for (lt_i = NF; lt_i > 0; lt_i--) {
11651     if ($lt_i != "" && $lt_i != ".") {
11652       if ($lt_i == "..") {
11653         lt_count++;
11654       } else {
11655         if (lt_count == 0) {
11656           lt_foo="/" $lt_i lt_foo;
11657         } else {
11658           lt_count--;
11659         }
11660       }
11661     }
11662   }
11663   if (lt_foo != "") { lt_freq[lt_foo]++; }
11664   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11665 }'`
11666   # AWK program above erroneously prepends '/' to C:/dos/paths
11667   # for these hosts.
11668   case $host_os in
11669     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11670       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11671   esac
11672   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11673 else
11674   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11675 fi
11676 library_names_spec=
11677 libname_spec='lib$name'
11678 soname_spec=
11679 shrext_cmds=".so"
11680 postinstall_cmds=
11681 postuninstall_cmds=
11682 finish_cmds=
11683 finish_eval=
11684 shlibpath_var=
11685 shlibpath_overrides_runpath=unknown
11686 version_type=none
11687 dynamic_linker="$host_os ld.so"
11688 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11689 need_lib_prefix=unknown
11690 hardcode_into_libs=no
11691
11692 # when you set need_version to no, make sure it does not cause -set_version
11693 # flags to be left without arguments
11694 need_version=unknown
11695
11696 case $host_os in
11697 aix3*)
11698   version_type=linux
11699   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11700   shlibpath_var=LIBPATH
11701
11702   # AIX 3 has no versioning support, so we append a major version to the name.
11703   soname_spec='${libname}${release}${shared_ext}$major'
11704   ;;
11705
11706 aix[4-9]*)
11707   version_type=linux
11708   need_lib_prefix=no
11709   need_version=no
11710   hardcode_into_libs=yes
11711   if test "$host_cpu" = ia64; then
11712     # AIX 5 supports IA64
11713     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11714     shlibpath_var=LD_LIBRARY_PATH
11715   else
11716     # With GCC up to 2.95.x, collect2 would create an import file
11717     # for dependence libraries.  The import file would start with
11718     # the line `#! .'.  This would cause the generated library to
11719     # depend on `.', always an invalid library.  This was fixed in
11720     # development snapshots of GCC prior to 3.0.
11721     case $host_os in
11722       aix4 | aix4.[01] | aix4.[01].*)
11723       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11724            echo ' yes '
11725            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11726         :
11727       else
11728         can_build_shared=no
11729       fi
11730       ;;
11731     esac
11732     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11733     # soname into executable. Probably we can add versioning support to
11734     # collect2, so additional links can be useful in future.
11735     if test "$aix_use_runtimelinking" = yes; then
11736       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11737       # instead of lib<name>.a to let people know that these are not
11738       # typical AIX shared libraries.
11739       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11740     else
11741       # We preserve .a as extension for shared libraries through AIX4.2
11742       # and later when we are not doing run time linking.
11743       library_names_spec='${libname}${release}.a $libname.a'
11744       soname_spec='${libname}${release}${shared_ext}$major'
11745     fi
11746     shlibpath_var=LIBPATH
11747   fi
11748   ;;
11749
11750 amigaos*)
11751   case $host_cpu in
11752   powerpc)
11753     # Since July 2007 AmigaOS4 officially supports .so libraries.
11754     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11755     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11756     ;;
11757   m68k)
11758     library_names_spec='$libname.ixlibrary $libname.a'
11759     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11760     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'
11761     ;;
11762   esac
11763   ;;
11764
11765 beos*)
11766   library_names_spec='${libname}${shared_ext}'
11767   dynamic_linker="$host_os ld.so"
11768   shlibpath_var=LIBRARY_PATH
11769   ;;
11770
11771 bsdi[45]*)
11772   version_type=linux
11773   need_version=no
11774   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11775   soname_spec='${libname}${release}${shared_ext}$major'
11776   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11777   shlibpath_var=LD_LIBRARY_PATH
11778   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11779   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11780   # the default ld.so.conf also contains /usr/contrib/lib and
11781   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11782   # libtool to hard-code these into programs
11783   ;;
11784
11785 cygwin* | mingw* | pw32* | cegcc*)
11786   version_type=windows
11787   shrext_cmds=".dll"
11788   need_version=no
11789   need_lib_prefix=no
11790
11791   case $GCC,$host_os in
11792   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11793     library_names_spec='$libname.dll.a'
11794     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11795     postinstall_cmds='base_file=`basename \${file}`~
11796       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11797       dldir=$destdir/`dirname \$dlpath`~
11798       test -d \$dldir || mkdir -p \$dldir~
11799       $install_prog $dir/$dlname \$dldir/$dlname~
11800       chmod a+x \$dldir/$dlname~
11801       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11802         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11803       fi'
11804     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11805       dlpath=$dir/\$dldll~
11806        $RM \$dlpath'
11807     shlibpath_overrides_runpath=yes
11808
11809     case $host_os in
11810     cygwin*)
11811       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11812       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11813
11814       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11815       ;;
11816     mingw* | cegcc*)
11817       # MinGW DLLs use traditional 'lib' prefix
11818       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11819       ;;
11820     pw32*)
11821       # pw32 DLLs use 'pw' prefix rather than 'lib'
11822       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11823       ;;
11824     esac
11825     ;;
11826
11827   *)
11828     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11829     ;;
11830   esac
11831   dynamic_linker='Win32 ld.exe'
11832   # FIXME: first we should search . and the directory the executable is in
11833   shlibpath_var=PATH
11834   ;;
11835
11836 darwin* | rhapsody*)
11837   dynamic_linker="$host_os dyld"
11838   version_type=darwin
11839   need_lib_prefix=no
11840   need_version=no
11841   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11842   soname_spec='${libname}${release}${major}$shared_ext'
11843   shlibpath_overrides_runpath=yes
11844   shlibpath_var=DYLD_LIBRARY_PATH
11845   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11846
11847   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11848   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11849   ;;
11850
11851 dgux*)
11852   version_type=linux
11853   need_lib_prefix=no
11854   need_version=no
11855   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11856   soname_spec='${libname}${release}${shared_ext}$major'
11857   shlibpath_var=LD_LIBRARY_PATH
11858   ;;
11859
11860 freebsd* | dragonfly*)
11861   # DragonFly does not have aout.  When/if they implement a new
11862   # versioning mechanism, adjust this.
11863   if test -x /usr/bin/objformat; then
11864     objformat=`/usr/bin/objformat`
11865   else
11866     case $host_os in
11867     freebsd[23].*) objformat=aout ;;
11868     *) objformat=elf ;;
11869     esac
11870   fi
11871   version_type=freebsd-$objformat
11872   case $version_type in
11873     freebsd-elf*)
11874       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11875       need_version=no
11876       need_lib_prefix=no
11877       ;;
11878     freebsd-*)
11879       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11880       need_version=yes
11881       ;;
11882   esac
11883   shlibpath_var=LD_LIBRARY_PATH
11884   case $host_os in
11885   freebsd2.*)
11886     shlibpath_overrides_runpath=yes
11887     ;;
11888   freebsd3.[01]* | freebsdelf3.[01]*)
11889     shlibpath_overrides_runpath=yes
11890     hardcode_into_libs=yes
11891     ;;
11892   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11893   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11894     shlibpath_overrides_runpath=no
11895     hardcode_into_libs=yes
11896     ;;
11897   *) # from 4.6 on, and DragonFly
11898     shlibpath_overrides_runpath=yes
11899     hardcode_into_libs=yes
11900     ;;
11901   esac
11902   ;;
11903
11904 gnu*)
11905   version_type=linux
11906   need_lib_prefix=no
11907   need_version=no
11908   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11909   soname_spec='${libname}${release}${shared_ext}$major'
11910   shlibpath_var=LD_LIBRARY_PATH
11911   hardcode_into_libs=yes
11912   ;;
11913
11914 haiku*)
11915   version_type=linux
11916   need_lib_prefix=no
11917   need_version=no
11918   dynamic_linker="$host_os runtime_loader"
11919   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11920   soname_spec='${libname}${release}${shared_ext}$major'
11921   shlibpath_var=LIBRARY_PATH
11922   shlibpath_overrides_runpath=yes
11923   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11924   hardcode_into_libs=yes
11925   ;;
11926
11927 hpux9* | hpux10* | hpux11*)
11928   # Give a soname corresponding to the major version so that dld.sl refuses to
11929   # link against other versions.
11930   version_type=sunos
11931   need_lib_prefix=no
11932   need_version=no
11933   case $host_cpu in
11934   ia64*)
11935     shrext_cmds='.so'
11936     hardcode_into_libs=yes
11937     dynamic_linker="$host_os dld.so"
11938     shlibpath_var=LD_LIBRARY_PATH
11939     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11940     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11941     soname_spec='${libname}${release}${shared_ext}$major'
11942     if test "X$HPUX_IA64_MODE" = X32; then
11943       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11944     else
11945       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11946     fi
11947     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11948     ;;
11949   hppa*64*)
11950     shrext_cmds='.sl'
11951     hardcode_into_libs=yes
11952     dynamic_linker="$host_os dld.sl"
11953     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11954     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11955     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11956     soname_spec='${libname}${release}${shared_ext}$major'
11957     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11958     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11959     ;;
11960   *)
11961     shrext_cmds='.sl'
11962     dynamic_linker="$host_os dld.sl"
11963     shlibpath_var=SHLIB_PATH
11964     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11965     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11966     soname_spec='${libname}${release}${shared_ext}$major'
11967     ;;
11968   esac
11969   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11970   postinstall_cmds='chmod 555 $lib'
11971   # or fails outright, so override atomically:
11972   install_override_mode=555
11973   ;;
11974
11975 interix[3-9]*)
11976   version_type=linux
11977   need_lib_prefix=no
11978   need_version=no
11979   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11980   soname_spec='${libname}${release}${shared_ext}$major'
11981   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11982   shlibpath_var=LD_LIBRARY_PATH
11983   shlibpath_overrides_runpath=no
11984   hardcode_into_libs=yes
11985   ;;
11986
11987 irix5* | irix6* | nonstopux*)
11988   case $host_os in
11989     nonstopux*) version_type=nonstopux ;;
11990     *)
11991         if test "$lt_cv_prog_gnu_ld" = yes; then
11992                 version_type=linux
11993         else
11994                 version_type=irix
11995         fi ;;
11996   esac
11997   need_lib_prefix=no
11998   need_version=no
11999   soname_spec='${libname}${release}${shared_ext}$major'
12000   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12001   case $host_os in
12002   irix5* | nonstopux*)
12003     libsuff= shlibsuff=
12004     ;;
12005   *)
12006     case $LD in # libtool.m4 will add one of these switches to LD
12007     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12008       libsuff= shlibsuff= libmagic=32-bit;;
12009     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12010       libsuff=32 shlibsuff=N32 libmagic=N32;;
12011     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12012       libsuff=64 shlibsuff=64 libmagic=64-bit;;
12013     *) libsuff= shlibsuff= libmagic=never-match;;
12014     esac
12015     ;;
12016   esac
12017   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12018   shlibpath_overrides_runpath=no
12019   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12020   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12021   hardcode_into_libs=yes
12022   ;;
12023
12024 # No shared lib support for Linux oldld, aout, or coff.
12025 linux*oldld* | linux*aout* | linux*coff*)
12026   dynamic_linker=no
12027   ;;
12028
12029 # This must be Linux ELF.
12030
12031 # uclinux* changes (here and below) have been submitted to the libtool
12032 # project, but have not yet been accepted: they are GCC-local changes
12033 # for the time being.  (See
12034 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12035 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
12036   version_type=linux
12037   need_lib_prefix=no
12038   need_version=no
12039   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12040   soname_spec='${libname}${release}${shared_ext}$major'
12041   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12042   shlibpath_var=LD_LIBRARY_PATH
12043   shlibpath_overrides_runpath=no
12044
12045   # Some binutils ld are patched to set DT_RUNPATH
12046   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12047   $as_echo_n "(cached) " >&6
12048 else
12049   lt_cv_shlibpath_overrides_runpath=no
12050     save_LDFLAGS=$LDFLAGS
12051     save_libdir=$libdir
12052     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12053          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12054     if test x$gcc_no_link = xyes; then
12055   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12056 fi
12057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12058 /* end confdefs.h.  */
12059
12060 int
12061 main ()
12062 {
12063
12064   ;
12065   return 0;
12066 }
12067 _ACEOF
12068 if ac_fn_c_try_link "$LINENO"; then :
12069   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12070   lt_cv_shlibpath_overrides_runpath=yes
12071 fi
12072 fi
12073 rm -f core conftest.err conftest.$ac_objext \
12074     conftest$ac_exeext conftest.$ac_ext
12075     LDFLAGS=$save_LDFLAGS
12076     libdir=$save_libdir
12077
12078 fi
12079
12080   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12081
12082   # This implies no fast_install, which is unacceptable.
12083   # Some rework will be needed to allow for fast_install
12084   # before this can be enabled.
12085   hardcode_into_libs=yes
12086
12087   # Append ld.so.conf contents to the search path
12088   if test -f /etc/ld.so.conf; then
12089     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' ' '`
12090     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12091   fi
12092
12093   # We used to test for /lib/ld.so.1 and disable shared libraries on
12094   # powerpc, because MkLinux only supported shared libraries with the
12095   # GNU dynamic linker.  Since this was broken with cross compilers,
12096   # most powerpc-linux boxes support dynamic linking these days and
12097   # people can always --disable-shared, the test was removed, and we
12098   # assume the GNU/Linux dynamic linker is in use.
12099   dynamic_linker='GNU/Linux ld.so'
12100   ;;
12101
12102 netbsd*)
12103   version_type=sunos
12104   need_lib_prefix=no
12105   need_version=no
12106   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12107     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12108     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12109     dynamic_linker='NetBSD (a.out) ld.so'
12110   else
12111     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12112     soname_spec='${libname}${release}${shared_ext}$major'
12113     dynamic_linker='NetBSD ld.elf_so'
12114   fi
12115   shlibpath_var=LD_LIBRARY_PATH
12116   shlibpath_overrides_runpath=yes
12117   hardcode_into_libs=yes
12118   ;;
12119
12120 newsos6)
12121   version_type=linux
12122   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12123   shlibpath_var=LD_LIBRARY_PATH
12124   shlibpath_overrides_runpath=yes
12125   ;;
12126
12127 *nto* | *qnx*)
12128   version_type=qnx
12129   need_lib_prefix=no
12130   need_version=no
12131   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12132   soname_spec='${libname}${release}${shared_ext}$major'
12133   shlibpath_var=LD_LIBRARY_PATH
12134   shlibpath_overrides_runpath=no
12135   hardcode_into_libs=yes
12136   dynamic_linker='ldqnx.so'
12137   ;;
12138
12139 openbsd*)
12140   version_type=sunos
12141   sys_lib_dlsearch_path_spec="/usr/lib"
12142   need_lib_prefix=no
12143   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12144   case $host_os in
12145     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
12146     *)                          need_version=no  ;;
12147   esac
12148   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12149   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12150   shlibpath_var=LD_LIBRARY_PATH
12151   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12152     case $host_os in
12153       openbsd2.[89] | openbsd2.[89].*)
12154         shlibpath_overrides_runpath=no
12155         ;;
12156       *)
12157         shlibpath_overrides_runpath=yes
12158         ;;
12159       esac
12160   else
12161     shlibpath_overrides_runpath=yes
12162   fi
12163   ;;
12164
12165 os2*)
12166   libname_spec='$name'
12167   shrext_cmds=".dll"
12168   need_lib_prefix=no
12169   library_names_spec='$libname${shared_ext} $libname.a'
12170   dynamic_linker='OS/2 ld.exe'
12171   shlibpath_var=LIBPATH
12172   ;;
12173
12174 osf3* | osf4* | osf5*)
12175   version_type=osf
12176   need_lib_prefix=no
12177   need_version=no
12178   soname_spec='${libname}${release}${shared_ext}$major'
12179   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12180   shlibpath_var=LD_LIBRARY_PATH
12181   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12182   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12183   ;;
12184
12185 rdos*)
12186   dynamic_linker=no
12187   ;;
12188
12189 solaris*)
12190   version_type=linux
12191   need_lib_prefix=no
12192   need_version=no
12193   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12194   soname_spec='${libname}${release}${shared_ext}$major'
12195   shlibpath_var=LD_LIBRARY_PATH
12196   shlibpath_overrides_runpath=yes
12197   hardcode_into_libs=yes
12198   # ldd complains unless libraries are executable
12199   postinstall_cmds='chmod +x $lib'
12200   ;;
12201
12202 sunos4*)
12203   version_type=sunos
12204   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12205   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12206   shlibpath_var=LD_LIBRARY_PATH
12207   shlibpath_overrides_runpath=yes
12208   if test "$with_gnu_ld" = yes; then
12209     need_lib_prefix=no
12210   fi
12211   need_version=yes
12212   ;;
12213
12214 sysv4 | sysv4.3*)
12215   version_type=linux
12216   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12217   soname_spec='${libname}${release}${shared_ext}$major'
12218   shlibpath_var=LD_LIBRARY_PATH
12219   case $host_vendor in
12220     sni)
12221       shlibpath_overrides_runpath=no
12222       need_lib_prefix=no
12223       runpath_var=LD_RUN_PATH
12224       ;;
12225     siemens)
12226       need_lib_prefix=no
12227       ;;
12228     motorola)
12229       need_lib_prefix=no
12230       need_version=no
12231       shlibpath_overrides_runpath=no
12232       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12233       ;;
12234   esac
12235   ;;
12236
12237 sysv4*MP*)
12238   if test -d /usr/nec ;then
12239     version_type=linux
12240     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12241     soname_spec='$libname${shared_ext}.$major'
12242     shlibpath_var=LD_LIBRARY_PATH
12243   fi
12244   ;;
12245
12246 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12247   version_type=freebsd-elf
12248   need_lib_prefix=no
12249   need_version=no
12250   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12251   soname_spec='${libname}${release}${shared_ext}$major'
12252   shlibpath_var=LD_LIBRARY_PATH
12253   shlibpath_overrides_runpath=yes
12254   hardcode_into_libs=yes
12255   if test "$with_gnu_ld" = yes; then
12256     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12257   else
12258     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12259     case $host_os in
12260       sco3.2v5*)
12261         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12262         ;;
12263     esac
12264   fi
12265   sys_lib_dlsearch_path_spec='/usr/lib'
12266   ;;
12267
12268 tpf*)
12269   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12270   version_type=linux
12271   need_lib_prefix=no
12272   need_version=no
12273   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12274   shlibpath_var=LD_LIBRARY_PATH
12275   shlibpath_overrides_runpath=no
12276   hardcode_into_libs=yes
12277   ;;
12278
12279 uts4*)
12280   version_type=linux
12281   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12282   soname_spec='${libname}${release}${shared_ext}$major'
12283   shlibpath_var=LD_LIBRARY_PATH
12284   ;;
12285
12286 *)
12287   dynamic_linker=no
12288   ;;
12289 esac
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12291 $as_echo "$dynamic_linker" >&6; }
12292 test "$dynamic_linker" = no && can_build_shared=no
12293
12294 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12295 if test "$GCC" = yes; then
12296   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12297 fi
12298
12299 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12300   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12301 fi
12302 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12303   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12304 fi
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12398 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12399 hardcode_action=
12400 if test -n "$hardcode_libdir_flag_spec" ||
12401    test -n "$runpath_var" ||
12402    test "X$hardcode_automatic" = "Xyes" ; then
12403
12404   # We can hardcode non-existent directories.
12405   if test "$hardcode_direct" != no &&
12406      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12407      # have to relink, otherwise we might link with an installed library
12408      # when we should be linking with a yet-to-be-installed one
12409      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12410      test "$hardcode_minus_L" != no; then
12411     # Linking always hardcodes the temporary library directory.
12412     hardcode_action=relink
12413   else
12414     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12415     hardcode_action=immediate
12416   fi
12417 else
12418   # We cannot hardcode anything, or else we can only hardcode existing
12419   # directories.
12420   hardcode_action=unsupported
12421 fi
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12423 $as_echo "$hardcode_action" >&6; }
12424
12425 if test "$hardcode_action" = relink ||
12426    test "$inherit_rpath" = yes; then
12427   # Fast installation is not supported
12428   enable_fast_install=no
12429 elif test "$shlibpath_overrides_runpath" = yes ||
12430      test "$enable_shared" = no; then
12431   # Fast installation is not necessary
12432   enable_fast_install=needless
12433 fi
12434
12435
12436
12437
12438
12439
12440   if test "x$enable_dlopen" != xyes; then
12441   enable_dlopen=unknown
12442   enable_dlopen_self=unknown
12443   enable_dlopen_self_static=unknown
12444 else
12445   lt_cv_dlopen=no
12446   lt_cv_dlopen_libs=
12447
12448   case $host_os in
12449   beos*)
12450     lt_cv_dlopen="load_add_on"
12451     lt_cv_dlopen_libs=
12452     lt_cv_dlopen_self=yes
12453     ;;
12454
12455   mingw* | pw32* | cegcc*)
12456     lt_cv_dlopen="LoadLibrary"
12457     lt_cv_dlopen_libs=
12458     ;;
12459
12460   cygwin*)
12461     lt_cv_dlopen="dlopen"
12462     lt_cv_dlopen_libs=
12463     ;;
12464
12465   darwin*)
12466   # if libdl is installed we need to link against it
12467     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12468 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12469 if ${ac_cv_lib_dl_dlopen+:} false; then :
12470   $as_echo_n "(cached) " >&6
12471 else
12472   ac_check_lib_save_LIBS=$LIBS
12473 LIBS="-ldl  $LIBS"
12474 if test x$gcc_no_link = xyes; then
12475   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12476 fi
12477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h.  */
12479
12480 /* Override any GCC internal prototype to avoid an error.
12481    Use char because int might match the return type of a GCC
12482    builtin and then its argument prototype would still apply.  */
12483 #ifdef __cplusplus
12484 extern "C"
12485 #endif
12486 char dlopen ();
12487 int
12488 main ()
12489 {
12490 return dlopen ();
12491   ;
12492   return 0;
12493 }
12494 _ACEOF
12495 if ac_fn_c_try_link "$LINENO"; then :
12496   ac_cv_lib_dl_dlopen=yes
12497 else
12498   ac_cv_lib_dl_dlopen=no
12499 fi
12500 rm -f core conftest.err conftest.$ac_objext \
12501     conftest$ac_exeext conftest.$ac_ext
12502 LIBS=$ac_check_lib_save_LIBS
12503 fi
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12505 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12506 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12507   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12508 else
12509
12510     lt_cv_dlopen="dyld"
12511     lt_cv_dlopen_libs=
12512     lt_cv_dlopen_self=yes
12513
12514 fi
12515
12516     ;;
12517
12518   *)
12519     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12520 if test "x$ac_cv_func_shl_load" = xyes; then :
12521   lt_cv_dlopen="shl_load"
12522 else
12523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12524 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12525 if ${ac_cv_lib_dld_shl_load+:} false; then :
12526   $as_echo_n "(cached) " >&6
12527 else
12528   ac_check_lib_save_LIBS=$LIBS
12529 LIBS="-ldld  $LIBS"
12530 if test x$gcc_no_link = xyes; then
12531   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12532 fi
12533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12534 /* end confdefs.h.  */
12535
12536 /* Override any GCC internal prototype to avoid an error.
12537    Use char because int might match the return type of a GCC
12538    builtin and then its argument prototype would still apply.  */
12539 #ifdef __cplusplus
12540 extern "C"
12541 #endif
12542 char shl_load ();
12543 int
12544 main ()
12545 {
12546 return shl_load ();
12547   ;
12548   return 0;
12549 }
12550 _ACEOF
12551 if ac_fn_c_try_link "$LINENO"; then :
12552   ac_cv_lib_dld_shl_load=yes
12553 else
12554   ac_cv_lib_dld_shl_load=no
12555 fi
12556 rm -f core conftest.err conftest.$ac_objext \
12557     conftest$ac_exeext conftest.$ac_ext
12558 LIBS=$ac_check_lib_save_LIBS
12559 fi
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12561 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12562 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12563   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12564 else
12565   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12566 if test "x$ac_cv_func_dlopen" = xyes; then :
12567   lt_cv_dlopen="dlopen"
12568 else
12569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12570 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12571 if ${ac_cv_lib_dl_dlopen+:} false; then :
12572   $as_echo_n "(cached) " >&6
12573 else
12574   ac_check_lib_save_LIBS=$LIBS
12575 LIBS="-ldl  $LIBS"
12576 if test x$gcc_no_link = xyes; then
12577   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12578 fi
12579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12580 /* end confdefs.h.  */
12581
12582 /* Override any GCC internal prototype to avoid an error.
12583    Use char because int might match the return type of a GCC
12584    builtin and then its argument prototype would still apply.  */
12585 #ifdef __cplusplus
12586 extern "C"
12587 #endif
12588 char dlopen ();
12589 int
12590 main ()
12591 {
12592 return dlopen ();
12593   ;
12594   return 0;
12595 }
12596 _ACEOF
12597 if ac_fn_c_try_link "$LINENO"; then :
12598   ac_cv_lib_dl_dlopen=yes
12599 else
12600   ac_cv_lib_dl_dlopen=no
12601 fi
12602 rm -f core conftest.err conftest.$ac_objext \
12603     conftest$ac_exeext conftest.$ac_ext
12604 LIBS=$ac_check_lib_save_LIBS
12605 fi
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12607 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12608 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12609   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12610 else
12611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12612 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12613 if ${ac_cv_lib_svld_dlopen+:} false; then :
12614   $as_echo_n "(cached) " >&6
12615 else
12616   ac_check_lib_save_LIBS=$LIBS
12617 LIBS="-lsvld  $LIBS"
12618 if test x$gcc_no_link = xyes; then
12619   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12620 fi
12621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12622 /* end confdefs.h.  */
12623
12624 /* Override any GCC internal prototype to avoid an error.
12625    Use char because int might match the return type of a GCC
12626    builtin and then its argument prototype would still apply.  */
12627 #ifdef __cplusplus
12628 extern "C"
12629 #endif
12630 char dlopen ();
12631 int
12632 main ()
12633 {
12634 return dlopen ();
12635   ;
12636   return 0;
12637 }
12638 _ACEOF
12639 if ac_fn_c_try_link "$LINENO"; then :
12640   ac_cv_lib_svld_dlopen=yes
12641 else
12642   ac_cv_lib_svld_dlopen=no
12643 fi
12644 rm -f core conftest.err conftest.$ac_objext \
12645     conftest$ac_exeext conftest.$ac_ext
12646 LIBS=$ac_check_lib_save_LIBS
12647 fi
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12649 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12650 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12651   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12652 else
12653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12654 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12655 if ${ac_cv_lib_dld_dld_link+:} false; then :
12656   $as_echo_n "(cached) " >&6
12657 else
12658   ac_check_lib_save_LIBS=$LIBS
12659 LIBS="-ldld  $LIBS"
12660 if test x$gcc_no_link = xyes; then
12661   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12662 fi
12663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12664 /* end confdefs.h.  */
12665
12666 /* Override any GCC internal prototype to avoid an error.
12667    Use char because int might match the return type of a GCC
12668    builtin and then its argument prototype would still apply.  */
12669 #ifdef __cplusplus
12670 extern "C"
12671 #endif
12672 char dld_link ();
12673 int
12674 main ()
12675 {
12676 return dld_link ();
12677   ;
12678   return 0;
12679 }
12680 _ACEOF
12681 if ac_fn_c_try_link "$LINENO"; then :
12682   ac_cv_lib_dld_dld_link=yes
12683 else
12684   ac_cv_lib_dld_dld_link=no
12685 fi
12686 rm -f core conftest.err conftest.$ac_objext \
12687     conftest$ac_exeext conftest.$ac_ext
12688 LIBS=$ac_check_lib_save_LIBS
12689 fi
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12691 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12692 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12693   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12694 fi
12695
12696
12697 fi
12698
12699
12700 fi
12701
12702
12703 fi
12704
12705
12706 fi
12707
12708
12709 fi
12710
12711     ;;
12712   esac
12713
12714   if test "x$lt_cv_dlopen" != xno; then
12715     enable_dlopen=yes
12716   else
12717     enable_dlopen=no
12718   fi
12719
12720   case $lt_cv_dlopen in
12721   dlopen)
12722     save_CPPFLAGS="$CPPFLAGS"
12723     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12724
12725     save_LDFLAGS="$LDFLAGS"
12726     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12727
12728     save_LIBS="$LIBS"
12729     LIBS="$lt_cv_dlopen_libs $LIBS"
12730
12731     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12732 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12733 if ${lt_cv_dlopen_self+:} false; then :
12734   $as_echo_n "(cached) " >&6
12735 else
12736           if test "$cross_compiling" = yes; then :
12737   lt_cv_dlopen_self=cross
12738 else
12739   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12740   lt_status=$lt_dlunknown
12741   cat > conftest.$ac_ext <<_LT_EOF
12742 #line 12742 "configure"
12743 #include "confdefs.h"
12744
12745 #if HAVE_DLFCN_H
12746 #include <dlfcn.h>
12747 #endif
12748
12749 #include <stdio.h>
12750
12751 #ifdef RTLD_GLOBAL
12752 #  define LT_DLGLOBAL           RTLD_GLOBAL
12753 #else
12754 #  ifdef DL_GLOBAL
12755 #    define LT_DLGLOBAL         DL_GLOBAL
12756 #  else
12757 #    define LT_DLGLOBAL         0
12758 #  endif
12759 #endif
12760
12761 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12762    find out it does not work in some platform. */
12763 #ifndef LT_DLLAZY_OR_NOW
12764 #  ifdef RTLD_LAZY
12765 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12766 #  else
12767 #    ifdef DL_LAZY
12768 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12769 #    else
12770 #      ifdef RTLD_NOW
12771 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12772 #      else
12773 #        ifdef DL_NOW
12774 #          define LT_DLLAZY_OR_NOW      DL_NOW
12775 #        else
12776 #          define LT_DLLAZY_OR_NOW      0
12777 #        endif
12778 #      endif
12779 #    endif
12780 #  endif
12781 #endif
12782
12783 /* When -fvisbility=hidden is used, assume the code has been annotated
12784    correspondingly for the symbols needed.  */
12785 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12786 void fnord () __attribute__((visibility("default")));
12787 #endif
12788
12789 void fnord () { int i=42; }
12790 int main ()
12791 {
12792   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12793   int status = $lt_dlunknown;
12794
12795   if (self)
12796     {
12797       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12798       else
12799         {
12800           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12801           else puts (dlerror ());
12802         }
12803       /* dlclose (self); */
12804     }
12805   else
12806     puts (dlerror ());
12807
12808   return status;
12809 }
12810 _LT_EOF
12811   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12812   (eval $ac_link) 2>&5
12813   ac_status=$?
12814   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12815   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12816     (./conftest; exit; ) >&5 2>/dev/null
12817     lt_status=$?
12818     case x$lt_status in
12819       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12820       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12821       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12822     esac
12823   else :
12824     # compilation failed
12825     lt_cv_dlopen_self=no
12826   fi
12827 fi
12828 rm -fr conftest*
12829
12830
12831 fi
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12833 $as_echo "$lt_cv_dlopen_self" >&6; }
12834
12835     if test "x$lt_cv_dlopen_self" = xyes; then
12836       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12837       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12838 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12839 if ${lt_cv_dlopen_self_static+:} false; then :
12840   $as_echo_n "(cached) " >&6
12841 else
12842           if test "$cross_compiling" = yes; then :
12843   lt_cv_dlopen_self_static=cross
12844 else
12845   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12846   lt_status=$lt_dlunknown
12847   cat > conftest.$ac_ext <<_LT_EOF
12848 #line 12848 "configure"
12849 #include "confdefs.h"
12850
12851 #if HAVE_DLFCN_H
12852 #include <dlfcn.h>
12853 #endif
12854
12855 #include <stdio.h>
12856
12857 #ifdef RTLD_GLOBAL
12858 #  define LT_DLGLOBAL           RTLD_GLOBAL
12859 #else
12860 #  ifdef DL_GLOBAL
12861 #    define LT_DLGLOBAL         DL_GLOBAL
12862 #  else
12863 #    define LT_DLGLOBAL         0
12864 #  endif
12865 #endif
12866
12867 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12868    find out it does not work in some platform. */
12869 #ifndef LT_DLLAZY_OR_NOW
12870 #  ifdef RTLD_LAZY
12871 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12872 #  else
12873 #    ifdef DL_LAZY
12874 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12875 #    else
12876 #      ifdef RTLD_NOW
12877 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12878 #      else
12879 #        ifdef DL_NOW
12880 #          define LT_DLLAZY_OR_NOW      DL_NOW
12881 #        else
12882 #          define LT_DLLAZY_OR_NOW      0
12883 #        endif
12884 #      endif
12885 #    endif
12886 #  endif
12887 #endif
12888
12889 /* When -fvisbility=hidden is used, assume the code has been annotated
12890    correspondingly for the symbols needed.  */
12891 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12892 void fnord () __attribute__((visibility("default")));
12893 #endif
12894
12895 void fnord () { int i=42; }
12896 int main ()
12897 {
12898   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12899   int status = $lt_dlunknown;
12900
12901   if (self)
12902     {
12903       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12904       else
12905         {
12906           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12907           else puts (dlerror ());
12908         }
12909       /* dlclose (self); */
12910     }
12911   else
12912     puts (dlerror ());
12913
12914   return status;
12915 }
12916 _LT_EOF
12917   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12918   (eval $ac_link) 2>&5
12919   ac_status=$?
12920   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12921   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12922     (./conftest; exit; ) >&5 2>/dev/null
12923     lt_status=$?
12924     case x$lt_status in
12925       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12926       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12927       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12928     esac
12929   else :
12930     # compilation failed
12931     lt_cv_dlopen_self_static=no
12932   fi
12933 fi
12934 rm -fr conftest*
12935
12936
12937 fi
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12939 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12940     fi
12941
12942     CPPFLAGS="$save_CPPFLAGS"
12943     LDFLAGS="$save_LDFLAGS"
12944     LIBS="$save_LIBS"
12945     ;;
12946   esac
12947
12948   case $lt_cv_dlopen_self in
12949   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12950   *) enable_dlopen_self=unknown ;;
12951   esac
12952
12953   case $lt_cv_dlopen_self_static in
12954   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12955   *) enable_dlopen_self_static=unknown ;;
12956   esac
12957 fi
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975 striplib=
12976 old_striplib=
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12978 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12979 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12980   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12981   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12983 $as_echo "yes" >&6; }
12984 else
12985 # FIXME - insert some real tests, host_os isn't really good enough
12986   case $host_os in
12987   darwin*)
12988     if test -n "$STRIP" ; then
12989       striplib="$STRIP -x"
12990       old_striplib="$STRIP -S"
12991       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12992 $as_echo "yes" >&6; }
12993     else
12994       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12995 $as_echo "no" >&6; }
12996     fi
12997     ;;
12998   *)
12999     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13000 $as_echo "no" >&6; }
13001     ;;
13002   esac
13003 fi
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016   # Report which library types will actually be built
13017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13018 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13020 $as_echo "$can_build_shared" >&6; }
13021
13022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13023 $as_echo_n "checking whether to build shared libraries... " >&6; }
13024   test "$can_build_shared" = "no" && enable_shared=no
13025
13026   # On AIX, shared libraries and static libraries use the same namespace, and
13027   # are all built from PIC.
13028   case $host_os in
13029   aix3*)
13030     test "$enable_shared" = yes && enable_static=no
13031     if test -n "$RANLIB"; then
13032       archive_cmds="$archive_cmds~\$RANLIB \$lib"
13033       postinstall_cmds='$RANLIB $lib'
13034     fi
13035     ;;
13036
13037   aix[4-9]*)
13038     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13039       test "$enable_shared" = yes && enable_static=no
13040     fi
13041     ;;
13042   esac
13043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13044 $as_echo "$enable_shared" >&6; }
13045
13046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13047 $as_echo_n "checking whether to build static libraries... " >&6; }
13048   # Make sure either enable_shared or enable_static is yes.
13049   test "$enable_shared" = yes || enable_static=yes
13050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13051 $as_echo "$enable_static" >&6; }
13052
13053
13054
13055
13056 fi
13057 ac_ext=c
13058 ac_cpp='$CPP $CPPFLAGS'
13059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13062
13063 CC="$lt_save_CC"
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077         ac_config_commands="$ac_config_commands libtool"
13078
13079
13080
13081
13082 # Only expand once:
13083
13084
13085
13086
13087
13088 case $host in
13089   *-cygwin* | *-mingw*)
13090     # 'host' will be top-level target in the case of a target lib,
13091     # we must compare to with_cross_host to decide if this is a native
13092     # or cross-compiler and select where to install dlls appropriately.
13093     if test -n "$with_cross_host" &&
13094         test x"$with_cross_host" != x"no"; then
13095       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
13096     else
13097       lt_host_flags='-no-undefined -bindir "$(bindir)"';
13098     fi
13099     ;;
13100   *)
13101     lt_host_flags=
13102     ;;
13103 esac
13104
13105
13106
13107
13108
13109 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13110
13111 # We need gfortran to compile parts of the library
13112 #AC_PROG_FC(gfortran)
13113 FC="$GFORTRAN"
13114 ac_ext=${ac_fc_srcext-f}
13115 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13116 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13117 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13118 if test -n "$ac_tool_prefix"; then
13119   for ac_prog in gfortran
13120   do
13121     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13122 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13124 $as_echo_n "checking for $ac_word... " >&6; }
13125 if ${ac_cv_prog_FC+:} false; then :
13126   $as_echo_n "(cached) " >&6
13127 else
13128   if test -n "$FC"; then
13129   ac_cv_prog_FC="$FC" # Let the user override the test.
13130 else
13131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13132 for as_dir in $PATH
13133 do
13134   IFS=$as_save_IFS
13135   test -z "$as_dir" && as_dir=.
13136     for ac_exec_ext in '' $ac_executable_extensions; do
13137   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13138     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
13139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13140     break 2
13141   fi
13142 done
13143   done
13144 IFS=$as_save_IFS
13145
13146 fi
13147 fi
13148 FC=$ac_cv_prog_FC
13149 if test -n "$FC"; then
13150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13151 $as_echo "$FC" >&6; }
13152 else
13153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13154 $as_echo "no" >&6; }
13155 fi
13156
13157
13158     test -n "$FC" && break
13159   done
13160 fi
13161 if test -z "$FC"; then
13162   ac_ct_FC=$FC
13163   for ac_prog in gfortran
13164 do
13165   # Extract the first word of "$ac_prog", so it can be a program name with args.
13166 set dummy $ac_prog; ac_word=$2
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13168 $as_echo_n "checking for $ac_word... " >&6; }
13169 if ${ac_cv_prog_ac_ct_FC+:} false; then :
13170   $as_echo_n "(cached) " >&6
13171 else
13172   if test -n "$ac_ct_FC"; then
13173   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
13174 else
13175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13176 for as_dir in $PATH
13177 do
13178   IFS=$as_save_IFS
13179   test -z "$as_dir" && as_dir=.
13180     for ac_exec_ext in '' $ac_executable_extensions; do
13181   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13182     ac_cv_prog_ac_ct_FC="$ac_prog"
13183     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13184     break 2
13185   fi
13186 done
13187   done
13188 IFS=$as_save_IFS
13189
13190 fi
13191 fi
13192 ac_ct_FC=$ac_cv_prog_ac_ct_FC
13193 if test -n "$ac_ct_FC"; then
13194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13195 $as_echo "$ac_ct_FC" >&6; }
13196 else
13197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13198 $as_echo "no" >&6; }
13199 fi
13200
13201
13202   test -n "$ac_ct_FC" && break
13203 done
13204
13205   if test "x$ac_ct_FC" = x; then
13206     FC=""
13207   else
13208     case $cross_compiling:$ac_tool_warned in
13209 yes:)
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13212 ac_tool_warned=yes ;;
13213 esac
13214     FC=$ac_ct_FC
13215   fi
13216 fi
13217
13218
13219 # Provide some information about the compiler.
13220 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13221 set X $ac_compile
13222 ac_compiler=$2
13223 for ac_option in --version -v -V -qversion; do
13224   { { ac_try="$ac_compiler $ac_option >&5"
13225 case "(($ac_try" in
13226   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13227   *) ac_try_echo=$ac_try;;
13228 esac
13229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13230 $as_echo "$ac_try_echo"; } >&5
13231   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13232   ac_status=$?
13233   if test -s conftest.err; then
13234     sed '10a\
13235 ... rest of stderr output deleted ...
13236          10q' conftest.err >conftest.er1
13237     cat conftest.er1 >&5
13238   fi
13239   rm -f conftest.er1 conftest.err
13240   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13241   test $ac_status = 0; }
13242 done
13243 rm -f a.out
13244
13245 # If we don't use `.F' as extension, the preprocessor is not run on the
13246 # input file.  (Note that this only needs to work for GNU compilers.)
13247 ac_save_ext=$ac_ext
13248 ac_ext=F
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13250 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13251 if ${ac_cv_fc_compiler_gnu+:} false; then :
13252   $as_echo_n "(cached) " >&6
13253 else
13254   cat > conftest.$ac_ext <<_ACEOF
13255       program main
13256 #ifndef __GNUC__
13257        choke me
13258 #endif
13259
13260       end
13261 _ACEOF
13262 if ac_fn_fc_try_compile "$LINENO"; then :
13263   ac_compiler_gnu=yes
13264 else
13265   ac_compiler_gnu=no
13266 fi
13267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13268 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13269
13270 fi
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13272 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13273 ac_ext=$ac_save_ext
13274 ac_test_FCFLAGS=${FCFLAGS+set}
13275 ac_save_FCFLAGS=$FCFLAGS
13276 FCFLAGS=
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13278 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13279 if ${ac_cv_prog_fc_g+:} false; then :
13280   $as_echo_n "(cached) " >&6
13281 else
13282   FCFLAGS=-g
13283 cat > conftest.$ac_ext <<_ACEOF
13284       program main
13285
13286       end
13287 _ACEOF
13288 if ac_fn_fc_try_compile "$LINENO"; then :
13289   ac_cv_prog_fc_g=yes
13290 else
13291   ac_cv_prog_fc_g=no
13292 fi
13293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13294
13295 fi
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13297 $as_echo "$ac_cv_prog_fc_g" >&6; }
13298 if test "$ac_test_FCFLAGS" = set; then
13299   FCFLAGS=$ac_save_FCFLAGS
13300 elif test $ac_cv_prog_fc_g = yes; then
13301   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13302     FCFLAGS="-g -O2"
13303   else
13304     FCFLAGS="-g"
13305   fi
13306 else
13307   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13308     FCFLAGS="-O2"
13309   else
13310     FCFLAGS=
13311   fi
13312 fi
13313
13314 if test $ac_compiler_gnu = yes; then
13315   GFC=yes
13316 else
13317   GFC=
13318 fi
13319 ac_ext=c
13320 ac_cpp='$CPP $CPPFLAGS'
13321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13324
13325       ac_ext=${ac_fc_srcext-f}
13326 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13327 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13328 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13329
13330
13331 if test -z "$FC" || test "X$FC" = "Xno"; then
13332   _lt_disable_FC=yes
13333 fi
13334
13335 archive_cmds_need_lc_FC=no
13336 allow_undefined_flag_FC=
13337 always_export_symbols_FC=no
13338 archive_expsym_cmds_FC=
13339 export_dynamic_flag_spec_FC=
13340 hardcode_direct_FC=no
13341 hardcode_direct_absolute_FC=no
13342 hardcode_libdir_flag_spec_FC=
13343 hardcode_libdir_flag_spec_ld_FC=
13344 hardcode_libdir_separator_FC=
13345 hardcode_minus_L_FC=no
13346 hardcode_automatic_FC=no
13347 inherit_rpath_FC=no
13348 module_cmds_FC=
13349 module_expsym_cmds_FC=
13350 link_all_deplibs_FC=unknown
13351 old_archive_cmds_FC=$old_archive_cmds
13352 reload_flag_FC=$reload_flag
13353 reload_cmds_FC=$reload_cmds
13354 no_undefined_flag_FC=
13355 whole_archive_flag_spec_FC=
13356 enable_shared_with_static_runtimes_FC=no
13357
13358 # Source file extension for fc test sources.
13359 ac_ext=${ac_fc_srcext-f}
13360
13361 # Object file extension for compiled fc test sources.
13362 objext=o
13363 objext_FC=$objext
13364
13365 # No sense in running all these tests if we already determined that
13366 # the FC compiler isn't working.  Some variables (like enable_shared)
13367 # are currently assumed to apply to all compilers on this platform,
13368 # and will be corrupted by setting them based on a non-working compiler.
13369 if test "$_lt_disable_FC" != yes; then
13370   # Code to be used in simple compile tests
13371   lt_simple_compile_test_code="\
13372       subroutine t
13373       return
13374       end
13375 "
13376
13377   # Code to be used in simple link tests
13378   lt_simple_link_test_code="\
13379       program t
13380       end
13381 "
13382
13383   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13384
13385
13386
13387
13388
13389
13390 # If no C compiler was specified, use CC.
13391 LTCC=${LTCC-"$CC"}
13392
13393 # If no C compiler flags were specified, use CFLAGS.
13394 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13395
13396 # Allow CC to be a program name with arguments.
13397 compiler=$CC
13398
13399
13400   # save warnings/boilerplate of simple test code
13401   ac_outfile=conftest.$ac_objext
13402 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13403 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13404 _lt_compiler_boilerplate=`cat conftest.err`
13405 $RM conftest*
13406
13407   ac_outfile=conftest.$ac_objext
13408 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13409 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13410 _lt_linker_boilerplate=`cat conftest.err`
13411 $RM -r conftest*
13412
13413
13414   # Allow CC to be a program name with arguments.
13415   lt_save_CC="$CC"
13416   lt_save_GCC=$GCC
13417   CC=${FC-"f95"}
13418   compiler=$CC
13419   GCC=$ac_cv_fc_compiler_gnu
13420
13421   compiler_FC=$CC
13422   for cc_temp in $compiler""; do
13423   case $cc_temp in
13424     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13425     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13426     \-*) ;;
13427     *) break;;
13428   esac
13429 done
13430 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13431
13432
13433   if test -n "$compiler"; then
13434     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13435 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13436     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13437 $as_echo "$can_build_shared" >&6; }
13438
13439     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13440 $as_echo_n "checking whether to build shared libraries... " >&6; }
13441     test "$can_build_shared" = "no" && enable_shared=no
13442
13443     # On AIX, shared libraries and static libraries use the same namespace, and
13444     # are all built from PIC.
13445     case $host_os in
13446       aix3*)
13447         test "$enable_shared" = yes && enable_static=no
13448         if test -n "$RANLIB"; then
13449           archive_cmds="$archive_cmds~\$RANLIB \$lib"
13450           postinstall_cmds='$RANLIB $lib'
13451         fi
13452         ;;
13453       aix[4-9]*)
13454         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13455           test "$enable_shared" = yes && enable_static=no
13456         fi
13457         ;;
13458     esac
13459     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13460 $as_echo "$enable_shared" >&6; }
13461
13462     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13463 $as_echo_n "checking whether to build static libraries... " >&6; }
13464     # Make sure either enable_shared or enable_static is yes.
13465     test "$enable_shared" = yes || enable_static=yes
13466     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13467 $as_echo "$enable_static" >&6; }
13468
13469     GCC_FC="$ac_cv_fc_compiler_gnu"
13470     LD_FC="$LD"
13471
13472     ## CAVEAT EMPTOR:
13473     ## There is no encapsulation within the following macros, do not change
13474     ## the running order or otherwise move them around unless you know exactly
13475     ## what you are doing...
13476     # Dependencies to place before and after the object being linked:
13477 predep_objects_FC=
13478 postdep_objects_FC=
13479 predeps_FC=
13480 postdeps_FC=
13481 compiler_lib_search_path_FC=
13482
13483 cat > conftest.$ac_ext <<_LT_EOF
13484       subroutine foo
13485       implicit none
13486       integer a
13487       a=0
13488       return
13489       end
13490 _LT_EOF
13491
13492 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13493   (eval $ac_compile) 2>&5
13494   ac_status=$?
13495   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13496   test $ac_status = 0; }; then
13497   # Parse the compiler output and extract the necessary
13498   # objects, libraries and library flags.
13499
13500   # Sentinel used to keep track of whether or not we are before
13501   # the conftest object file.
13502   pre_test_object_deps_done=no
13503
13504   for p in `eval "$output_verbose_link_cmd"`; do
13505     case $p in
13506
13507     -L* | -R* | -l*)
13508        # Some compilers place space between "-{L,R}" and the path.
13509        # Remove the space.
13510        if test $p = "-L" ||
13511           test $p = "-R"; then
13512          prev=$p
13513          continue
13514        else
13515          prev=
13516        fi
13517
13518        if test "$pre_test_object_deps_done" = no; then
13519          case $p in
13520          -L* | -R*)
13521            # Internal compiler library paths should come after those
13522            # provided the user.  The postdeps already come after the
13523            # user supplied libs so there is no need to process them.
13524            if test -z "$compiler_lib_search_path_FC"; then
13525              compiler_lib_search_path_FC="${prev}${p}"
13526            else
13527              compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13528            fi
13529            ;;
13530          # The "-l" case would never come before the object being
13531          # linked, so don't bother handling this case.
13532          esac
13533        else
13534          if test -z "$postdeps_FC"; then
13535            postdeps_FC="${prev}${p}"
13536          else
13537            postdeps_FC="${postdeps_FC} ${prev}${p}"
13538          fi
13539        fi
13540        ;;
13541
13542     *.$objext)
13543        # This assumes that the test object file only shows up
13544        # once in the compiler output.
13545        if test "$p" = "conftest.$objext"; then
13546          pre_test_object_deps_done=yes
13547          continue
13548        fi
13549
13550        if test "$pre_test_object_deps_done" = no; then
13551          if test -z "$predep_objects_FC"; then
13552            predep_objects_FC="$p"
13553          else
13554            predep_objects_FC="$predep_objects_FC $p"
13555          fi
13556        else
13557          if test -z "$postdep_objects_FC"; then
13558            postdep_objects_FC="$p"
13559          else
13560            postdep_objects_FC="$postdep_objects_FC $p"
13561          fi
13562        fi
13563        ;;
13564
13565     *) ;; # Ignore the rest.
13566
13567     esac
13568   done
13569
13570   # Clean up.
13571   rm -f a.out a.exe
13572 else
13573   echo "libtool.m4: error: problem compiling FC test program"
13574 fi
13575
13576 $RM -f confest.$objext
13577
13578 # PORTME: override above test on systems where it is broken
13579
13580
13581 case " $postdeps_FC " in
13582 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13583 esac
13584  compiler_lib_search_dirs_FC=
13585 if test -n "${compiler_lib_search_path_FC}"; then
13586  compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13587 fi
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619     lt_prog_compiler_wl_FC=
13620 lt_prog_compiler_pic_FC=
13621 lt_prog_compiler_static_FC=
13622
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13624 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13625
13626   if test "$GCC" = yes; then
13627     lt_prog_compiler_wl_FC='-Wl,'
13628     lt_prog_compiler_static_FC='-static'
13629
13630     case $host_os in
13631       aix*)
13632       # All AIX code is PIC.
13633       if test "$host_cpu" = ia64; then
13634         # AIX 5 now supports IA64 processor
13635         lt_prog_compiler_static_FC='-Bstatic'
13636       fi
13637       lt_prog_compiler_pic_FC='-fPIC'
13638       ;;
13639
13640     amigaos*)
13641       case $host_cpu in
13642       powerpc)
13643             # see comment about AmigaOS4 .so support
13644             lt_prog_compiler_pic_FC='-fPIC'
13645         ;;
13646       m68k)
13647             # FIXME: we need at least 68020 code to build shared libraries, but
13648             # adding the `-m68020' flag to GCC prevents building anything better,
13649             # like `-m68040'.
13650             lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13651         ;;
13652       esac
13653       ;;
13654
13655     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13656       # PIC is the default for these OSes.
13657       ;;
13658
13659     mingw* | cygwin* | pw32* | os2* | cegcc*)
13660       # This hack is so that the source file can tell whether it is being
13661       # built for inclusion in a dll (and should export symbols for example).
13662       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13663       # (--disable-auto-import) libraries
13664       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13665       ;;
13666
13667     darwin* | rhapsody*)
13668       # PIC is the default on this platform
13669       # Common symbols not allowed in MH_DYLIB files
13670       lt_prog_compiler_pic_FC='-fno-common'
13671       ;;
13672
13673     haiku*)
13674       # PIC is the default for Haiku.
13675       # The "-static" flag exists, but is broken.
13676       lt_prog_compiler_static_FC=
13677       ;;
13678
13679     hpux*)
13680       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13681       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13682       # sets the default TLS model and affects inlining.
13683       case $host_cpu in
13684       hppa*64*)
13685         # +Z the default
13686         ;;
13687       *)
13688         lt_prog_compiler_pic_FC='-fPIC'
13689         ;;
13690       esac
13691       ;;
13692
13693     interix[3-9]*)
13694       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13695       # Instead, we relocate shared libraries at runtime.
13696       ;;
13697
13698     msdosdjgpp*)
13699       # Just because we use GCC doesn't mean we suddenly get shared libraries
13700       # on systems that don't support them.
13701       lt_prog_compiler_can_build_shared_FC=no
13702       enable_shared=no
13703       ;;
13704
13705     *nto* | *qnx*)
13706       # QNX uses GNU C++, but need to define -shared option too, otherwise
13707       # it will coredump.
13708       lt_prog_compiler_pic_FC='-fPIC -shared'
13709       ;;
13710
13711     sysv4*MP*)
13712       if test -d /usr/nec; then
13713         lt_prog_compiler_pic_FC=-Kconform_pic
13714       fi
13715       ;;
13716
13717     *)
13718       lt_prog_compiler_pic_FC='-fPIC'
13719       ;;
13720     esac
13721
13722     case $cc_basename in
13723     nvcc*) # Cuda Compiler Driver 2.2
13724       lt_prog_compiler_wl_FC='-Xlinker '
13725       lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13726       ;;
13727     esac
13728   else
13729     # PORTME Check for flag to pass linker flags through the system compiler.
13730     case $host_os in
13731     aix*)
13732       lt_prog_compiler_wl_FC='-Wl,'
13733       if test "$host_cpu" = ia64; then
13734         # AIX 5 now supports IA64 processor
13735         lt_prog_compiler_static_FC='-Bstatic'
13736       else
13737         lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13738       fi
13739       ;;
13740
13741     mingw* | cygwin* | pw32* | os2* | cegcc*)
13742       # This hack is so that the source file can tell whether it is being
13743       # built for inclusion in a dll (and should export symbols for example).
13744       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13745       ;;
13746
13747     hpux9* | hpux10* | hpux11*)
13748       lt_prog_compiler_wl_FC='-Wl,'
13749       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13750       # not for PA HP-UX.
13751       case $host_cpu in
13752       hppa*64*|ia64*)
13753         # +Z the default
13754         ;;
13755       *)
13756         lt_prog_compiler_pic_FC='+Z'
13757         ;;
13758       esac
13759       # Is there a better lt_prog_compiler_static that works with the bundled CC?
13760       lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13761       ;;
13762
13763     irix5* | irix6* | nonstopux*)
13764       lt_prog_compiler_wl_FC='-Wl,'
13765       # PIC (with -KPIC) is the default.
13766       lt_prog_compiler_static_FC='-non_shared'
13767       ;;
13768
13769     linux* | k*bsd*-gnu | kopensolaris*-gnu)
13770       case $cc_basename in
13771       # old Intel for x86_64 which still supported -KPIC.
13772       ecc*)
13773         lt_prog_compiler_wl_FC='-Wl,'
13774         lt_prog_compiler_pic_FC='-KPIC'
13775         lt_prog_compiler_static_FC='-static'
13776         ;;
13777       # icc used to be incompatible with GCC.
13778       # ICC 10 doesn't accept -KPIC any more.
13779       icc* | ifort*)
13780         lt_prog_compiler_wl_FC='-Wl,'
13781         lt_prog_compiler_pic_FC='-fPIC'
13782         lt_prog_compiler_static_FC='-static'
13783         ;;
13784       # Lahey Fortran 8.1.
13785       lf95*)
13786         lt_prog_compiler_wl_FC='-Wl,'
13787         lt_prog_compiler_pic_FC='--shared'
13788         lt_prog_compiler_static_FC='--static'
13789         ;;
13790       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13791         # Portland Group compilers (*not* the Pentium gcc compiler,
13792         # which looks to be a dead project)
13793         lt_prog_compiler_wl_FC='-Wl,'
13794         lt_prog_compiler_pic_FC='-fpic'
13795         lt_prog_compiler_static_FC='-Bstatic'
13796         ;;
13797       ccc*)
13798         lt_prog_compiler_wl_FC='-Wl,'
13799         # All Alpha code is PIC.
13800         lt_prog_compiler_static_FC='-non_shared'
13801         ;;
13802       xl* | bgxl* | bgf* | mpixl*)
13803         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13804         lt_prog_compiler_wl_FC='-Wl,'
13805         lt_prog_compiler_pic_FC='-qpic'
13806         lt_prog_compiler_static_FC='-qstaticlink'
13807         ;;
13808       *)
13809         case `$CC -V 2>&1 | sed 5q` in
13810         *Sun\ F* | *Sun*Fortran*)
13811           # Sun Fortran 8.3 passes all unrecognized flags to the linker
13812           lt_prog_compiler_pic_FC='-KPIC'
13813           lt_prog_compiler_static_FC='-Bstatic'
13814           lt_prog_compiler_wl_FC=''
13815           ;;
13816         *Sun\ C*)
13817           # Sun C 5.9
13818           lt_prog_compiler_pic_FC='-KPIC'
13819           lt_prog_compiler_static_FC='-Bstatic'
13820           lt_prog_compiler_wl_FC='-Wl,'
13821           ;;
13822         esac
13823         ;;
13824       esac
13825       ;;
13826
13827     newsos6)
13828       lt_prog_compiler_pic_FC='-KPIC'
13829       lt_prog_compiler_static_FC='-Bstatic'
13830       ;;
13831
13832     *nto* | *qnx*)
13833       # QNX uses GNU C++, but need to define -shared option too, otherwise
13834       # it will coredump.
13835       lt_prog_compiler_pic_FC='-fPIC -shared'
13836       ;;
13837
13838     osf3* | osf4* | osf5*)
13839       lt_prog_compiler_wl_FC='-Wl,'
13840       # All OSF/1 code is PIC.
13841       lt_prog_compiler_static_FC='-non_shared'
13842       ;;
13843
13844     rdos*)
13845       lt_prog_compiler_static_FC='-non_shared'
13846       ;;
13847
13848     solaris*)
13849       lt_prog_compiler_pic_FC='-KPIC'
13850       lt_prog_compiler_static_FC='-Bstatic'
13851       case $cc_basename in
13852       f77* | f90* | f95*)
13853         lt_prog_compiler_wl_FC='-Qoption ld ';;
13854       *)
13855         lt_prog_compiler_wl_FC='-Wl,';;
13856       esac
13857       ;;
13858
13859     sunos4*)
13860       lt_prog_compiler_wl_FC='-Qoption ld '
13861       lt_prog_compiler_pic_FC='-PIC'
13862       lt_prog_compiler_static_FC='-Bstatic'
13863       ;;
13864
13865     sysv4 | sysv4.2uw2* | sysv4.3*)
13866       lt_prog_compiler_wl_FC='-Wl,'
13867       lt_prog_compiler_pic_FC='-KPIC'
13868       lt_prog_compiler_static_FC='-Bstatic'
13869       ;;
13870
13871     sysv4*MP*)
13872       if test -d /usr/nec ;then
13873         lt_prog_compiler_pic_FC='-Kconform_pic'
13874         lt_prog_compiler_static_FC='-Bstatic'
13875       fi
13876       ;;
13877
13878     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13879       lt_prog_compiler_wl_FC='-Wl,'
13880       lt_prog_compiler_pic_FC='-KPIC'
13881       lt_prog_compiler_static_FC='-Bstatic'
13882       ;;
13883
13884     unicos*)
13885       lt_prog_compiler_wl_FC='-Wl,'
13886       lt_prog_compiler_can_build_shared_FC=no
13887       ;;
13888
13889     uts4*)
13890       lt_prog_compiler_pic_FC='-pic'
13891       lt_prog_compiler_static_FC='-Bstatic'
13892       ;;
13893
13894     *)
13895       lt_prog_compiler_can_build_shared_FC=no
13896       ;;
13897     esac
13898   fi
13899
13900 case $host_os in
13901   # For platforms which do not support PIC, -DPIC is meaningless:
13902   *djgpp*)
13903     lt_prog_compiler_pic_FC=
13904     ;;
13905   *)
13906     lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
13907     ;;
13908 esac
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13910 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13911
13912
13913
13914 #
13915 # Check to make sure the PIC flag actually works.
13916 #
13917 if test -n "$lt_prog_compiler_pic_FC"; then
13918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13919 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13920 if ${lt_cv_prog_compiler_pic_works_FC+:} false; then :
13921   $as_echo_n "(cached) " >&6
13922 else
13923   lt_cv_prog_compiler_pic_works_FC=no
13924    ac_outfile=conftest.$ac_objext
13925    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13926    lt_compiler_flag="$lt_prog_compiler_pic_FC"
13927    # Insert the option either (1) after the last *FLAGS variable, or
13928    # (2) before a word containing "conftest.", or (3) at the end.
13929    # Note that $ac_compile itself does not contain backslashes and begins
13930    # with a dollar sign (not a hyphen), so the echo should work correctly.
13931    # The option is referenced via a variable to avoid confusing sed.
13932    lt_compile=`echo "$ac_compile" | $SED \
13933    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13934    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13935    -e 's:$: $lt_compiler_flag:'`
13936    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13937    (eval "$lt_compile" 2>conftest.err)
13938    ac_status=$?
13939    cat conftest.err >&5
13940    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13941    if (exit $ac_status) && test -s "$ac_outfile"; then
13942      # The compiler can only warn and ignore the option if not recognized
13943      # So say no if there are warnings other than the usual output.
13944      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13945      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13946      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13947        lt_cv_prog_compiler_pic_works_FC=yes
13948      fi
13949    fi
13950    $RM conftest*
13951
13952 fi
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13954 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13955
13956 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
13957     case $lt_prog_compiler_pic_FC in
13958      "" | " "*) ;;
13959      *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
13960      esac
13961 else
13962     lt_prog_compiler_pic_FC=
13963      lt_prog_compiler_can_build_shared_FC=no
13964 fi
13965
13966 fi
13967
13968
13969
13970 #
13971 # Check to make sure the static flag actually works.
13972 #
13973 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13975 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13976 if ${lt_cv_prog_compiler_static_works_FC+:} false; then :
13977   $as_echo_n "(cached) " >&6
13978 else
13979   lt_cv_prog_compiler_static_works_FC=no
13980    save_LDFLAGS="$LDFLAGS"
13981    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13982    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13983    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13984      # The linker can only warn and ignore the option if not recognized
13985      # So say no if there are warnings
13986      if test -s conftest.err; then
13987        # Append any errors to the config.log.
13988        cat conftest.err 1>&5
13989        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13990        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13991        if diff conftest.exp conftest.er2 >/dev/null; then
13992          lt_cv_prog_compiler_static_works_FC=yes
13993        fi
13994      else
13995        lt_cv_prog_compiler_static_works_FC=yes
13996      fi
13997    fi
13998    $RM -r conftest*
13999    LDFLAGS="$save_LDFLAGS"
14000
14001 fi
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
14003 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
14004
14005 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
14006     :
14007 else
14008     lt_prog_compiler_static_FC=
14009 fi
14010
14011
14012
14013
14014     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14015 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14016 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14017   $as_echo_n "(cached) " >&6
14018 else
14019   lt_cv_prog_compiler_c_o_FC=no
14020    $RM -r conftest 2>/dev/null
14021    mkdir conftest
14022    cd conftest
14023    mkdir out
14024    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14025
14026    lt_compiler_flag="-o out/conftest2.$ac_objext"
14027    # Insert the option either (1) after the last *FLAGS variable, or
14028    # (2) before a word containing "conftest.", or (3) at the end.
14029    # Note that $ac_compile itself does not contain backslashes and begins
14030    # with a dollar sign (not a hyphen), so the echo should work correctly.
14031    lt_compile=`echo "$ac_compile" | $SED \
14032    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14033    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14034    -e 's:$: $lt_compiler_flag:'`
14035    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14036    (eval "$lt_compile" 2>out/conftest.err)
14037    ac_status=$?
14038    cat out/conftest.err >&5
14039    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14041    then
14042      # The compiler can only warn and ignore the option if not recognized
14043      # So say no if there are warnings
14044      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14045      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14046      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14047        lt_cv_prog_compiler_c_o_FC=yes
14048      fi
14049    fi
14050    chmod u+w . 2>&5
14051    $RM conftest*
14052    # SGI C++ compiler will create directory out/ii_files/ for
14053    # template instantiation
14054    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14055    $RM out/* && rmdir out
14056    cd ..
14057    $RM -r conftest
14058    $RM conftest*
14059
14060 fi
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14062 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14063
14064
14065
14066     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14067 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14068 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14069   $as_echo_n "(cached) " >&6
14070 else
14071   lt_cv_prog_compiler_c_o_FC=no
14072    $RM -r conftest 2>/dev/null
14073    mkdir conftest
14074    cd conftest
14075    mkdir out
14076    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14077
14078    lt_compiler_flag="-o out/conftest2.$ac_objext"
14079    # Insert the option either (1) after the last *FLAGS variable, or
14080    # (2) before a word containing "conftest.", or (3) at the end.
14081    # Note that $ac_compile itself does not contain backslashes and begins
14082    # with a dollar sign (not a hyphen), so the echo should work correctly.
14083    lt_compile=`echo "$ac_compile" | $SED \
14084    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14085    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14086    -e 's:$: $lt_compiler_flag:'`
14087    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14088    (eval "$lt_compile" 2>out/conftest.err)
14089    ac_status=$?
14090    cat out/conftest.err >&5
14091    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14092    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14093    then
14094      # The compiler can only warn and ignore the option if not recognized
14095      # So say no if there are warnings
14096      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14097      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14098      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14099        lt_cv_prog_compiler_c_o_FC=yes
14100      fi
14101    fi
14102    chmod u+w . 2>&5
14103    $RM conftest*
14104    # SGI C++ compiler will create directory out/ii_files/ for
14105    # template instantiation
14106    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14107    $RM out/* && rmdir out
14108    cd ..
14109    $RM -r conftest
14110    $RM conftest*
14111
14112 fi
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14114 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14115
14116
14117
14118
14119 hard_links="nottested"
14120 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
14121   # do not overwrite the value of need_locks provided by the user
14122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14123 $as_echo_n "checking if we can lock with hard links... " >&6; }
14124   hard_links=yes
14125   $RM conftest*
14126   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14127   touch conftest.a
14128   ln conftest.a conftest.b 2>&5 || hard_links=no
14129   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14131 $as_echo "$hard_links" >&6; }
14132   if test "$hard_links" = no; then
14133     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14134 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14135     need_locks=warn
14136   fi
14137 else
14138   need_locks=no
14139 fi
14140
14141
14142
14143     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14144 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14145
14146   runpath_var=
14147   allow_undefined_flag_FC=
14148   always_export_symbols_FC=no
14149   archive_cmds_FC=
14150   archive_expsym_cmds_FC=
14151   compiler_needs_object_FC=no
14152   enable_shared_with_static_runtimes_FC=no
14153   export_dynamic_flag_spec_FC=
14154   export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14155   hardcode_automatic_FC=no
14156   hardcode_direct_FC=no
14157   hardcode_direct_absolute_FC=no
14158   hardcode_libdir_flag_spec_FC=
14159   hardcode_libdir_flag_spec_ld_FC=
14160   hardcode_libdir_separator_FC=
14161   hardcode_minus_L_FC=no
14162   hardcode_shlibpath_var_FC=unsupported
14163   inherit_rpath_FC=no
14164   link_all_deplibs_FC=unknown
14165   module_cmds_FC=
14166   module_expsym_cmds_FC=
14167   old_archive_from_new_cmds_FC=
14168   old_archive_from_expsyms_cmds_FC=
14169   thread_safe_flag_spec_FC=
14170   whole_archive_flag_spec_FC=
14171   # include_expsyms should be a list of space-separated symbols to be *always*
14172   # included in the symbol list
14173   include_expsyms_FC=
14174   # exclude_expsyms can be an extended regexp of symbols to exclude
14175   # it will be wrapped by ` (' and `)$', so one must not match beginning or
14176   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14177   # as well as any symbol that contains `d'.
14178   exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14179   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14180   # platforms (ab)use it in PIC code, but their linkers get confused if
14181   # the symbol is explicitly referenced.  Since portable code cannot
14182   # rely on this symbol name, it's probably fine to never include it in
14183   # preloaded symbol tables.
14184   # Exclude shared library initialization/finalization symbols.
14185   extract_expsyms_cmds=
14186
14187   case $host_os in
14188   cygwin* | mingw* | pw32* | cegcc*)
14189     # FIXME: the MSVC++ port hasn't been tested in a loooong time
14190     # When not using gcc, we currently assume that we are using
14191     # Microsoft Visual C++.
14192     if test "$GCC" != yes; then
14193       with_gnu_ld=no
14194     fi
14195     ;;
14196   interix*)
14197     # we just hope/assume this is gcc and not c89 (= MSVC++)
14198     with_gnu_ld=yes
14199     ;;
14200   openbsd*)
14201     with_gnu_ld=no
14202     ;;
14203   esac
14204
14205   ld_shlibs_FC=yes
14206
14207   # On some targets, GNU ld is compatible enough with the native linker
14208   # that we're better off using the native interface for both.
14209   lt_use_gnu_ld_interface=no
14210   if test "$with_gnu_ld" = yes; then
14211     case $host_os in
14212       aix*)
14213         # The AIX port of GNU ld has always aspired to compatibility
14214         # with the native linker.  However, as the warning in the GNU ld
14215         # block says, versions before 2.19.5* couldn't really create working
14216         # shared libraries, regardless of the interface used.
14217         case `$LD -v 2>&1` in
14218           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
14219           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
14220           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
14221           *)
14222             lt_use_gnu_ld_interface=yes
14223             ;;
14224         esac
14225         ;;
14226       *)
14227         lt_use_gnu_ld_interface=yes
14228         ;;
14229     esac
14230   fi
14231
14232   if test "$lt_use_gnu_ld_interface" = yes; then
14233     # If archive_cmds runs LD, not CC, wlarc should be empty
14234     wlarc='${wl}'
14235
14236     # Set some defaults for GNU ld with shared library support. These
14237     # are reset later if shared libraries are not supported. Putting them
14238     # here allows them to be overridden if necessary.
14239     runpath_var=LD_RUN_PATH
14240     hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14241     export_dynamic_flag_spec_FC='${wl}--export-dynamic'
14242     # ancient GNU ld didn't support --whole-archive et. al.
14243     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
14244       whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14245     else
14246       whole_archive_flag_spec_FC=
14247     fi
14248     supports_anon_versioning=no
14249     case `$LD -v 2>&1` in
14250       *GNU\ gold*) supports_anon_versioning=yes ;;
14251       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14252       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14253       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14254       *\ 2.11.*) ;; # other 2.11 versions
14255       *) supports_anon_versioning=yes ;;
14256     esac
14257
14258     # See if GNU ld supports shared libraries.
14259     case $host_os in
14260     aix[3-9]*)
14261       # On AIX/PPC, the GNU linker is very broken
14262       if test "$host_cpu" != ia64; then
14263         ld_shlibs_FC=no
14264         cat <<_LT_EOF 1>&2
14265
14266 *** Warning: the GNU linker, at least up to release 2.19, is reported
14267 *** to be unable to reliably create shared libraries on AIX.
14268 *** Therefore, libtool is disabling shared libraries support.  If you
14269 *** really care for shared libraries, you may want to install binutils
14270 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14271 *** You will then need to restart the configuration process.
14272
14273 _LT_EOF
14274       fi
14275       ;;
14276
14277     amigaos*)
14278       case $host_cpu in
14279       powerpc)
14280             # see comment about AmigaOS4 .so support
14281             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14282             archive_expsym_cmds_FC=''
14283         ;;
14284       m68k)
14285             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)'
14286             hardcode_libdir_flag_spec_FC='-L$libdir'
14287             hardcode_minus_L_FC=yes
14288         ;;
14289       esac
14290       ;;
14291
14292     beos*)
14293       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14294         allow_undefined_flag_FC=unsupported
14295         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14296         # support --undefined.  This deserves some investigation.  FIXME
14297         archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14298       else
14299         ld_shlibs_FC=no
14300       fi
14301       ;;
14302
14303     cygwin* | mingw* | pw32* | cegcc*)
14304       # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14305       # as there is no search path for DLLs.
14306       hardcode_libdir_flag_spec_FC='-L$libdir'
14307       export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
14308       allow_undefined_flag_FC=unsupported
14309       always_export_symbols_FC=no
14310       enable_shared_with_static_runtimes_FC=yes
14311       export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14312
14313       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14314         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14315         # If the export-symbols file already is a .def file (1st line
14316         # is EXPORTS), use it as is; otherwise, prepend...
14317         archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14318           cp $export_symbols $output_objdir/$soname.def;
14319         else
14320           echo EXPORTS > $output_objdir/$soname.def;
14321           cat $export_symbols >> $output_objdir/$soname.def;
14322         fi~
14323         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14324       else
14325         ld_shlibs_FC=no
14326       fi
14327       ;;
14328
14329     haiku*)
14330       archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14331       link_all_deplibs_FC=yes
14332       ;;
14333
14334     interix[3-9]*)
14335       hardcode_direct_FC=no
14336       hardcode_shlibpath_var_FC=no
14337       hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14338       export_dynamic_flag_spec_FC='${wl}-E'
14339       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14340       # Instead, shared libraries are loaded at an image base (0x10000000 by
14341       # default) and relocated if they conflict, which is a slow very memory
14342       # consuming and fragmenting process.  To avoid this, we pick a random,
14343       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14344       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14345       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'
14346       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'
14347       ;;
14348
14349     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
14350       tmp_diet=no
14351       if test "$host_os" = linux-dietlibc; then
14352         case $cc_basename in
14353           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
14354         esac
14355       fi
14356       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
14357          && test "$tmp_diet" = no
14358       then
14359         tmp_addflag=' $pic_flag'
14360         tmp_sharedflag='-shared'
14361         case $cc_basename,$host_cpu in
14362         pgcc*)                          # Portland Group C compiler
14363           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'
14364           tmp_addflag=' $pic_flag'
14365           ;;
14366         pgf77* | pgf90* | pgf95* | pgfortran*)
14367                                         # Portland Group f77 and f90 compilers
14368           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'
14369           tmp_addflag=' $pic_flag -Mnomain' ;;
14370         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
14371           tmp_addflag=' -i_dynamic' ;;
14372         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
14373           tmp_addflag=' -i_dynamic -nofor_main' ;;
14374         ifc* | ifort*)                  # Intel Fortran compiler
14375           tmp_addflag=' -nofor_main' ;;
14376         lf95*)                          # Lahey Fortran 8.1
14377           whole_archive_flag_spec_FC=
14378           tmp_sharedflag='--shared' ;;
14379         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14380           tmp_sharedflag='-qmkshrobj'
14381           tmp_addflag= ;;
14382         nvcc*)  # Cuda Compiler Driver 2.2
14383           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'
14384           compiler_needs_object_FC=yes
14385           ;;
14386         esac
14387         case `$CC -V 2>&1 | sed 5q` in
14388         *Sun\ C*)                       # Sun C 5.9
14389           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'
14390           compiler_needs_object_FC=yes
14391           tmp_sharedflag='-G' ;;
14392         *Sun\ F*)                       # Sun Fortran 8.3
14393           tmp_sharedflag='-G' ;;
14394         esac
14395         archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14396
14397         if test "x$supports_anon_versioning" = xyes; then
14398           archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14399             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14400             echo "local: *; };" >> $output_objdir/$libname.ver~
14401             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14402         fi
14403
14404         case $cc_basename in
14405         xlf* | bgf* | bgxlf* | mpixlf*)
14406           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14407           whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14408           hardcode_libdir_flag_spec_FC=
14409           hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14410           archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14411           if test "x$supports_anon_versioning" = xyes; then
14412             archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14413               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14414               echo "local: *; };" >> $output_objdir/$libname.ver~
14415               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14416           fi
14417           ;;
14418         esac
14419       else
14420         ld_shlibs_FC=no
14421       fi
14422       ;;
14423
14424     netbsd*)
14425       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14426         archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14427         wlarc=
14428       else
14429         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14430         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14431       fi
14432       ;;
14433
14434     solaris*)
14435       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14436         ld_shlibs_FC=no
14437         cat <<_LT_EOF 1>&2
14438
14439 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14440 *** create shared libraries on Solaris systems.  Therefore, libtool
14441 *** is disabling shared libraries support.  We urge you to upgrade GNU
14442 *** binutils to release 2.9.1 or newer.  Another option is to modify
14443 *** your PATH or compiler configuration so that the native linker is
14444 *** used, and then restart.
14445
14446 _LT_EOF
14447       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14448         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14449         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14450       else
14451         ld_shlibs_FC=no
14452       fi
14453       ;;
14454
14455     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14456       case `$LD -v 2>&1` in
14457         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14458         ld_shlibs_FC=no
14459         cat <<_LT_EOF 1>&2
14460
14461 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14462 *** reliably create shared libraries on SCO systems.  Therefore, libtool
14463 *** is disabling shared libraries support.  We urge you to upgrade GNU
14464 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
14465 *** your PATH or compiler configuration so that the native linker is
14466 *** used, and then restart.
14467
14468 _LT_EOF
14469         ;;
14470         *)
14471           # For security reasons, it is highly recommended that you always
14472           # use absolute paths for naming shared libraries, and exclude the
14473           # DT_RUNPATH tag from executables and libraries.  But doing so
14474           # requires that you compile everything twice, which is a pain.
14475           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14476             hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14477             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14478             archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14479           else
14480             ld_shlibs_FC=no
14481           fi
14482         ;;
14483       esac
14484       ;;
14485
14486     sunos4*)
14487       archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14488       wlarc=
14489       hardcode_direct_FC=yes
14490       hardcode_shlibpath_var_FC=no
14491       ;;
14492
14493     *)
14494       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14495         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14496         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14497       else
14498         ld_shlibs_FC=no
14499       fi
14500       ;;
14501     esac
14502
14503     if test "$ld_shlibs_FC" = no; then
14504       runpath_var=
14505       hardcode_libdir_flag_spec_FC=
14506       export_dynamic_flag_spec_FC=
14507       whole_archive_flag_spec_FC=
14508     fi
14509   else
14510     # PORTME fill in a description of your system's linker (not GNU ld)
14511     case $host_os in
14512     aix3*)
14513       allow_undefined_flag_FC=unsupported
14514       always_export_symbols_FC=yes
14515       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'
14516       # Note: this linker hardcodes the directories in LIBPATH if there
14517       # are no directories specified by -L.
14518       hardcode_minus_L_FC=yes
14519       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14520         # Neither direct hardcoding nor static linking is supported with a
14521         # broken collect2.
14522         hardcode_direct_FC=unsupported
14523       fi
14524       ;;
14525
14526     aix[4-9]*)
14527       if test "$host_cpu" = ia64; then
14528         # On IA64, the linker does run time linking by default, so we don't
14529         # have to do anything special.
14530         aix_use_runtimelinking=no
14531         exp_sym_flag='-Bexport'
14532         no_entry_flag=""
14533       else
14534         # If we're using GNU nm, then we don't want the "-C" option.
14535         # -C means demangle to AIX nm, but means don't demangle with GNU nm
14536         # Also, AIX nm treats weak defined symbols like other global
14537         # defined symbols, whereas GNU nm marks them as "W".
14538         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14539           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'
14540         else
14541           export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14542         fi
14543         aix_use_runtimelinking=no
14544
14545         # Test if we are trying to use run time linking or normal
14546         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14547         # need to do runtime linking.
14548         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14549           for ld_flag in $LDFLAGS; do
14550           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14551             aix_use_runtimelinking=yes
14552             break
14553           fi
14554           done
14555           ;;
14556         esac
14557
14558         exp_sym_flag='-bexport'
14559         no_entry_flag='-bnoentry'
14560       fi
14561
14562       # When large executables or shared objects are built, AIX ld can
14563       # have problems creating the table of contents.  If linking a library
14564       # or program results in "error TOC overflow" add -mminimal-toc to
14565       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14566       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14567
14568       archive_cmds_FC=''
14569       hardcode_direct_FC=yes
14570       hardcode_direct_absolute_FC=yes
14571       hardcode_libdir_separator_FC=':'
14572       link_all_deplibs_FC=yes
14573       file_list_spec_FC='${wl}-f,'
14574
14575       if test "$GCC" = yes; then
14576         case $host_os in aix4.[012]|aix4.[012].*)
14577         # We only want to do this on AIX 4.2 and lower, the check
14578         # below for broken collect2 doesn't work under 4.3+
14579           collect2name=`${CC} -print-prog-name=collect2`
14580           if test -f "$collect2name" &&
14581            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14582           then
14583           # We have reworked collect2
14584           :
14585           else
14586           # We have old collect2
14587           hardcode_direct_FC=unsupported
14588           # It fails to find uninstalled libraries when the uninstalled
14589           # path is not listed in the libpath.  Setting hardcode_minus_L
14590           # to unsupported forces relinking
14591           hardcode_minus_L_FC=yes
14592           hardcode_libdir_flag_spec_FC='-L$libdir'
14593           hardcode_libdir_separator_FC=
14594           fi
14595           ;;
14596         esac
14597         shared_flag='-shared'
14598         if test "$aix_use_runtimelinking" = yes; then
14599           shared_flag="$shared_flag "'${wl}-G'
14600         fi
14601       else
14602         # not using gcc
14603         if test "$host_cpu" = ia64; then
14604         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14605         # chokes on -Wl,-G. The following line is correct:
14606           shared_flag='-G'
14607         else
14608           if test "$aix_use_runtimelinking" = yes; then
14609             shared_flag='${wl}-G'
14610           else
14611             shared_flag='${wl}-bM:SRE'
14612           fi
14613         fi
14614       fi
14615
14616       export_dynamic_flag_spec_FC='${wl}-bexpall'
14617       # It seems that -bexpall does not export symbols beginning with
14618       # underscore (_), so it is better to generate a list of symbols to export.
14619       always_export_symbols_FC=yes
14620       if test "$aix_use_runtimelinking" = yes; then
14621         # Warning - without using the other runtime loading flags (-brtl),
14622         # -berok will link without error, but may produce a broken library.
14623         allow_undefined_flag_FC='-berok'
14624         # Determine the default libpath from the value encoded in an
14625         # empty executable.
14626         if test x$gcc_no_link = xyes; then
14627   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14628 fi
14629 cat > conftest.$ac_ext <<_ACEOF
14630       program main
14631
14632       end
14633 _ACEOF
14634 if ac_fn_fc_try_link "$LINENO"; then :
14635
14636 lt_aix_libpath_sed='
14637     /Import File Strings/,/^$/ {
14638         /^0/ {
14639             s/^0  *\(.*\)$/\1/
14640             p
14641         }
14642     }'
14643 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14644 # Check for a 64-bit object if we didn't find anything.
14645 if test -z "$aix_libpath"; then
14646   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14647 fi
14648 fi
14649 rm -f core conftest.err conftest.$ac_objext \
14650     conftest$ac_exeext conftest.$ac_ext
14651 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14652
14653         hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14654         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"
14655       else
14656         if test "$host_cpu" = ia64; then
14657           hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14658           allow_undefined_flag_FC="-z nodefs"
14659           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"
14660         else
14661          # Determine the default libpath from the value encoded in an
14662          # empty executable.
14663          if test x$gcc_no_link = xyes; then
14664   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14665 fi
14666 cat > conftest.$ac_ext <<_ACEOF
14667       program main
14668
14669       end
14670 _ACEOF
14671 if ac_fn_fc_try_link "$LINENO"; then :
14672
14673 lt_aix_libpath_sed='
14674     /Import File Strings/,/^$/ {
14675         /^0/ {
14676             s/^0  *\(.*\)$/\1/
14677             p
14678         }
14679     }'
14680 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14681 # Check for a 64-bit object if we didn't find anything.
14682 if test -z "$aix_libpath"; then
14683   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14684 fi
14685 fi
14686 rm -f core conftest.err conftest.$ac_objext \
14687     conftest$ac_exeext conftest.$ac_ext
14688 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14689
14690          hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14691           # Warning - without using the other run time loading flags,
14692           # -berok will link without error, but may produce a broken library.
14693           no_undefined_flag_FC=' ${wl}-bernotok'
14694           allow_undefined_flag_FC=' ${wl}-berok'
14695           if test "$with_gnu_ld" = yes; then
14696             # We only use this code for GNU lds that support --whole-archive.
14697             whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14698           else
14699             # Exported symbols can be pulled into shared objects from archives
14700             whole_archive_flag_spec_FC='$convenience'
14701           fi
14702           archive_cmds_need_lc_FC=yes
14703           # This is similar to how AIX traditionally builds its shared libraries.
14704           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'
14705         fi
14706       fi
14707       ;;
14708
14709     amigaos*)
14710       case $host_cpu in
14711       powerpc)
14712             # see comment about AmigaOS4 .so support
14713             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14714             archive_expsym_cmds_FC=''
14715         ;;
14716       m68k)
14717             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)'
14718             hardcode_libdir_flag_spec_FC='-L$libdir'
14719             hardcode_minus_L_FC=yes
14720         ;;
14721       esac
14722       ;;
14723
14724     bsdi[45]*)
14725       export_dynamic_flag_spec_FC=-rdynamic
14726       ;;
14727
14728     cygwin* | mingw* | pw32* | cegcc*)
14729       # When not using gcc, we currently assume that we are using
14730       # Microsoft Visual C++.
14731       # hardcode_libdir_flag_spec is actually meaningless, as there is
14732       # no search path for DLLs.
14733       hardcode_libdir_flag_spec_FC=' '
14734       allow_undefined_flag_FC=unsupported
14735       # Tell ltmain to make .lib files, not .a files.
14736       libext=lib
14737       # Tell ltmain to make .dll files, not .so files.
14738       shrext_cmds=".dll"
14739       # FIXME: Setting linknames here is a bad hack.
14740       archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14741       # The linker will automatically build a .lib file if we build a DLL.
14742       old_archive_from_new_cmds_FC='true'
14743       # FIXME: Should let the user specify the lib program.
14744       old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14745       fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14746       enable_shared_with_static_runtimes_FC=yes
14747       ;;
14748
14749     darwin* | rhapsody*)
14750
14751
14752   archive_cmds_need_lc_FC=no
14753   hardcode_direct_FC=no
14754   hardcode_automatic_FC=yes
14755   hardcode_shlibpath_var_FC=unsupported
14756   if test "$lt_cv_ld_force_load" = "yes"; then
14757     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\"`'
14758   else
14759     whole_archive_flag_spec_FC=''
14760   fi
14761   link_all_deplibs_FC=yes
14762   allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14763   case $cc_basename in
14764      ifort*) _lt_dar_can_shared=yes ;;
14765      *) _lt_dar_can_shared=$GCC ;;
14766   esac
14767   if test "$_lt_dar_can_shared" = "yes"; then
14768     output_verbose_link_cmd=func_echo_all
14769     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}"
14770     module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14771     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}"
14772     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}"
14773
14774   else
14775   ld_shlibs_FC=no
14776   fi
14777
14778       ;;
14779
14780     dgux*)
14781       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14782       hardcode_libdir_flag_spec_FC='-L$libdir'
14783       hardcode_shlibpath_var_FC=no
14784       ;;
14785
14786     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14787     # support.  Future versions do this automatically, but an explicit c++rt0.o
14788     # does not break anything, and helps significantly (at the cost of a little
14789     # extra space).
14790     freebsd2.2*)
14791       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14792       hardcode_libdir_flag_spec_FC='-R$libdir'
14793       hardcode_direct_FC=yes
14794       hardcode_shlibpath_var_FC=no
14795       ;;
14796
14797     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14798     freebsd2.*)
14799       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14800       hardcode_direct_FC=yes
14801       hardcode_minus_L_FC=yes
14802       hardcode_shlibpath_var_FC=no
14803       ;;
14804
14805     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14806     freebsd* | dragonfly*)
14807       archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14808       hardcode_libdir_flag_spec_FC='-R$libdir'
14809       hardcode_direct_FC=yes
14810       hardcode_shlibpath_var_FC=no
14811       ;;
14812
14813     hpux9*)
14814       if test "$GCC" = yes; then
14815         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'
14816       else
14817         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'
14818       fi
14819       hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14820       hardcode_libdir_separator_FC=:
14821       hardcode_direct_FC=yes
14822
14823       # hardcode_minus_L: Not really in the search PATH,
14824       # but as the default location of the library.
14825       hardcode_minus_L_FC=yes
14826       export_dynamic_flag_spec_FC='${wl}-E'
14827       ;;
14828
14829     hpux10*)
14830       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14831         archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14832       else
14833         archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14834       fi
14835       if test "$with_gnu_ld" = no; then
14836         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14837         hardcode_libdir_flag_spec_ld_FC='+b $libdir'
14838         hardcode_libdir_separator_FC=:
14839         hardcode_direct_FC=yes
14840         hardcode_direct_absolute_FC=yes
14841         export_dynamic_flag_spec_FC='${wl}-E'
14842         # hardcode_minus_L: Not really in the search PATH,
14843         # but as the default location of the library.
14844         hardcode_minus_L_FC=yes
14845       fi
14846       ;;
14847
14848     hpux11*)
14849       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14850         case $host_cpu in
14851         hppa*64*)
14852           archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14853           ;;
14854         ia64*)
14855           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14856           ;;
14857         *)
14858           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14859           ;;
14860         esac
14861       else
14862         case $host_cpu in
14863         hppa*64*)
14864           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14865           ;;
14866         ia64*)
14867           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14868           ;;
14869         *)
14870         archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14871           ;;
14872         esac
14873       fi
14874       if test "$with_gnu_ld" = no; then
14875         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14876         hardcode_libdir_separator_FC=:
14877
14878         case $host_cpu in
14879         hppa*64*|ia64*)
14880           hardcode_direct_FC=no
14881           hardcode_shlibpath_var_FC=no
14882           ;;
14883         *)
14884           hardcode_direct_FC=yes
14885           hardcode_direct_absolute_FC=yes
14886           export_dynamic_flag_spec_FC='${wl}-E'
14887
14888           # hardcode_minus_L: Not really in the search PATH,
14889           # but as the default location of the library.
14890           hardcode_minus_L_FC=yes
14891           ;;
14892         esac
14893       fi
14894       ;;
14895
14896     irix5* | irix6* | nonstopux*)
14897       if test "$GCC" = yes; then
14898         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'
14899         # Try to use the -exported_symbol ld option, if it does not
14900         # work, assume that -exports_file does not work either and
14901         # implicitly export all symbols.
14902         save_LDFLAGS="$LDFLAGS"
14903         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14904         if test x$gcc_no_link = xyes; then
14905   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14906 fi
14907 cat > conftest.$ac_ext <<_ACEOF
14908 int foo(void) {}
14909 _ACEOF
14910 if ac_fn_fc_try_link "$LINENO"; then :
14911   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'
14912
14913 fi
14914 rm -f core conftest.err conftest.$ac_objext \
14915     conftest$ac_exeext conftest.$ac_ext
14916         LDFLAGS="$save_LDFLAGS"
14917       else
14918         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'
14919         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'
14920       fi
14921       archive_cmds_need_lc_FC='no'
14922       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14923       hardcode_libdir_separator_FC=:
14924       inherit_rpath_FC=yes
14925       link_all_deplibs_FC=yes
14926       ;;
14927
14928     netbsd*)
14929       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14930         archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14931       else
14932         archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
14933       fi
14934       hardcode_libdir_flag_spec_FC='-R$libdir'
14935       hardcode_direct_FC=yes
14936       hardcode_shlibpath_var_FC=no
14937       ;;
14938
14939     newsos6)
14940       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14941       hardcode_direct_FC=yes
14942       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14943       hardcode_libdir_separator_FC=:
14944       hardcode_shlibpath_var_FC=no
14945       ;;
14946
14947     *nto* | *qnx*)
14948       ;;
14949
14950     openbsd*)
14951       if test -f /usr/libexec/ld.so; then
14952         hardcode_direct_FC=yes
14953         hardcode_shlibpath_var_FC=no
14954         hardcode_direct_absolute_FC=yes
14955         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14956           archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14957           archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14958           hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14959           export_dynamic_flag_spec_FC='${wl}-E'
14960         else
14961           case $host_os in
14962            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14963              archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14964              hardcode_libdir_flag_spec_FC='-R$libdir'
14965              ;;
14966            *)
14967              archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14968              hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14969              ;;
14970           esac
14971         fi
14972       else
14973         ld_shlibs_FC=no
14974       fi
14975       ;;
14976
14977     os2*)
14978       hardcode_libdir_flag_spec_FC='-L$libdir'
14979       hardcode_minus_L_FC=yes
14980       allow_undefined_flag_FC=unsupported
14981       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'
14982       old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14983       ;;
14984
14985     osf3*)
14986       if test "$GCC" = yes; then
14987         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14988         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'
14989       else
14990         allow_undefined_flag_FC=' -expect_unresolved \*'
14991         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'
14992       fi
14993       archive_cmds_need_lc_FC='no'
14994       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14995       hardcode_libdir_separator_FC=:
14996       ;;
14997
14998     osf4* | osf5*)      # as osf3* with the addition of -msym flag
14999       if test "$GCC" = yes; then
15000         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
15001         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'
15002         hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
15003       else
15004         allow_undefined_flag_FC=' -expect_unresolved \*'
15005         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'
15006         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~
15007         $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'
15008
15009         # Both c and cxx compiler support -rpath directly
15010         hardcode_libdir_flag_spec_FC='-rpath $libdir'
15011       fi
15012       archive_cmds_need_lc_FC='no'
15013       hardcode_libdir_separator_FC=:
15014       ;;
15015
15016     solaris*)
15017       no_undefined_flag_FC=' -z defs'
15018       if test "$GCC" = yes; then
15019         wlarc='${wl}'
15020         archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15021         archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15022           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15023       else
15024         case `$CC -V 2>&1` in
15025         *"Compilers 5.0"*)
15026           wlarc=''
15027           archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15028           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15029           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15030           ;;
15031         *)
15032           wlarc='${wl}'
15033           archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15034           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15035           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15036           ;;
15037         esac
15038       fi
15039       hardcode_libdir_flag_spec_FC='-R$libdir'
15040       hardcode_shlibpath_var_FC=no
15041       case $host_os in
15042       solaris2.[0-5] | solaris2.[0-5].*) ;;
15043       *)
15044         # The compiler driver will combine and reorder linker options,
15045         # but understands `-z linker_flag'.  GCC discards it without `$wl',
15046         # but is careful enough not to reorder.
15047         # Supported since Solaris 2.6 (maybe 2.5.1?)
15048         if test "$GCC" = yes; then
15049           whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15050         else
15051           whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
15052         fi
15053         ;;
15054       esac
15055       link_all_deplibs_FC=yes
15056       ;;
15057
15058     sunos4*)
15059       if test "x$host_vendor" = xsequent; then
15060         # Use $CC to link under sequent, because it throws in some extra .o
15061         # files that make .init and .fini sections work.
15062         archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15063       else
15064         archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15065       fi
15066       hardcode_libdir_flag_spec_FC='-L$libdir'
15067       hardcode_direct_FC=yes
15068       hardcode_minus_L_FC=yes
15069       hardcode_shlibpath_var_FC=no
15070       ;;
15071
15072     sysv4)
15073       case $host_vendor in
15074         sni)
15075           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15076           hardcode_direct_FC=yes # is this really true???
15077         ;;
15078         siemens)
15079           ## LD is ld it makes a PLAMLIB
15080           ## CC just makes a GrossModule.
15081           archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15082           reload_cmds_FC='$CC -r -o $output$reload_objs'
15083           hardcode_direct_FC=no
15084         ;;
15085         motorola)
15086           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15087           hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
15088         ;;
15089       esac
15090       runpath_var='LD_RUN_PATH'
15091       hardcode_shlibpath_var_FC=no
15092       ;;
15093
15094     sysv4.3*)
15095       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15096       hardcode_shlibpath_var_FC=no
15097       export_dynamic_flag_spec_FC='-Bexport'
15098       ;;
15099
15100     sysv4*MP*)
15101       if test -d /usr/nec; then
15102         archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15103         hardcode_shlibpath_var_FC=no
15104         runpath_var=LD_RUN_PATH
15105         hardcode_runpath_var=yes
15106         ld_shlibs_FC=yes
15107       fi
15108       ;;
15109
15110     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15111       no_undefined_flag_FC='${wl}-z,text'
15112       archive_cmds_need_lc_FC=no
15113       hardcode_shlibpath_var_FC=no
15114       runpath_var='LD_RUN_PATH'
15115
15116       if test "$GCC" = yes; then
15117         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15118         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15119       else
15120         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15121         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15122       fi
15123       ;;
15124
15125     sysv5* | sco3.2v5* | sco5v6*)
15126       # Note: We can NOT use -z defs as we might desire, because we do not
15127       # link with -lc, and that would cause any symbols used from libc to
15128       # always be unresolved, which means just about no library would
15129       # ever link correctly.  If we're not using GNU ld we use -z text
15130       # though, which does catch some bad symbols but isn't as heavy-handed
15131       # as -z defs.
15132       no_undefined_flag_FC='${wl}-z,text'
15133       allow_undefined_flag_FC='${wl}-z,nodefs'
15134       archive_cmds_need_lc_FC=no
15135       hardcode_shlibpath_var_FC=no
15136       hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
15137       hardcode_libdir_separator_FC=':'
15138       link_all_deplibs_FC=yes
15139       export_dynamic_flag_spec_FC='${wl}-Bexport'
15140       runpath_var='LD_RUN_PATH'
15141
15142       if test "$GCC" = yes; then
15143         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15144         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15145       else
15146         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15147         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15148       fi
15149       ;;
15150
15151     uts4*)
15152       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15153       hardcode_libdir_flag_spec_FC='-L$libdir'
15154       hardcode_shlibpath_var_FC=no
15155       ;;
15156
15157     *)
15158       ld_shlibs_FC=no
15159       ;;
15160     esac
15161
15162     if test x$host_vendor = xsni; then
15163       case $host in
15164       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15165         export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
15166         ;;
15167       esac
15168     fi
15169   fi
15170
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15172 $as_echo "$ld_shlibs_FC" >&6; }
15173 test "$ld_shlibs_FC" = no && can_build_shared=no
15174
15175 with_gnu_ld_FC=$with_gnu_ld
15176
15177
15178
15179
15180
15181
15182 #
15183 # Do we need to explicitly link libc?
15184 #
15185 case "x$archive_cmds_need_lc_FC" in
15186 x|xyes)
15187   # Assume -lc should be added
15188   archive_cmds_need_lc_FC=yes
15189
15190   if test "$enable_shared" = yes && test "$GCC" = yes; then
15191     case $archive_cmds_FC in
15192     *'~'*)
15193       # FIXME: we may have to deal with multi-command sequences.
15194       ;;
15195     '$CC '*)
15196       # Test whether the compiler implicitly links with -lc since on some
15197       # systems, -lgcc has to come before -lc. If gcc already passes -lc
15198       # to ld, don't add -lc before -lgcc.
15199       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15200 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15201 if ${lt_cv_archive_cmds_need_lc_FC+:} false; then :
15202   $as_echo_n "(cached) " >&6
15203 else
15204   $RM conftest*
15205         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15206
15207         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15208   (eval $ac_compile) 2>&5
15209   ac_status=$?
15210   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15211   test $ac_status = 0; } 2>conftest.err; then
15212           soname=conftest
15213           lib=conftest
15214           libobjs=conftest.$ac_objext
15215           deplibs=
15216           wl=$lt_prog_compiler_wl_FC
15217           pic_flag=$lt_prog_compiler_pic_FC
15218           compiler_flags=-v
15219           linker_flags=-v
15220           verstring=
15221           output_objdir=.
15222           libname=conftest
15223           lt_save_allow_undefined_flag=$allow_undefined_flag_FC
15224           allow_undefined_flag_FC=
15225           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15226   (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15227   ac_status=$?
15228   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15229   test $ac_status = 0; }
15230           then
15231             lt_cv_archive_cmds_need_lc_FC=no
15232           else
15233             lt_cv_archive_cmds_need_lc_FC=yes
15234           fi
15235           allow_undefined_flag_FC=$lt_save_allow_undefined_flag
15236         else
15237           cat conftest.err 1>&5
15238         fi
15239         $RM conftest*
15240
15241 fi
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15243 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15244       archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
15245       ;;
15246     esac
15247   fi
15248   ;;
15249 esac
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15315 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15316
15317 library_names_spec=
15318 libname_spec='lib$name'
15319 soname_spec=
15320 shrext_cmds=".so"
15321 postinstall_cmds=
15322 postuninstall_cmds=
15323 finish_cmds=
15324 finish_eval=
15325 shlibpath_var=
15326 shlibpath_overrides_runpath=unknown
15327 version_type=none
15328 dynamic_linker="$host_os ld.so"
15329 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15330 need_lib_prefix=unknown
15331 hardcode_into_libs=no
15332
15333 # when you set need_version to no, make sure it does not cause -set_version
15334 # flags to be left without arguments
15335 need_version=unknown
15336
15337 case $host_os in
15338 aix3*)
15339   version_type=linux
15340   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15341   shlibpath_var=LIBPATH
15342
15343   # AIX 3 has no versioning support, so we append a major version to the name.
15344   soname_spec='${libname}${release}${shared_ext}$major'
15345   ;;
15346
15347 aix[4-9]*)
15348   version_type=linux
15349   need_lib_prefix=no
15350   need_version=no
15351   hardcode_into_libs=yes
15352   if test "$host_cpu" = ia64; then
15353     # AIX 5 supports IA64
15354     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15355     shlibpath_var=LD_LIBRARY_PATH
15356   else
15357     # With GCC up to 2.95.x, collect2 would create an import file
15358     # for dependence libraries.  The import file would start with
15359     # the line `#! .'.  This would cause the generated library to
15360     # depend on `.', always an invalid library.  This was fixed in
15361     # development snapshots of GCC prior to 3.0.
15362     case $host_os in
15363       aix4 | aix4.[01] | aix4.[01].*)
15364       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15365            echo ' yes '
15366            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15367         :
15368       else
15369         can_build_shared=no
15370       fi
15371       ;;
15372     esac
15373     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15374     # soname into executable. Probably we can add versioning support to
15375     # collect2, so additional links can be useful in future.
15376     if test "$aix_use_runtimelinking" = yes; then
15377       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15378       # instead of lib<name>.a to let people know that these are not
15379       # typical AIX shared libraries.
15380       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15381     else
15382       # We preserve .a as extension for shared libraries through AIX4.2
15383       # and later when we are not doing run time linking.
15384       library_names_spec='${libname}${release}.a $libname.a'
15385       soname_spec='${libname}${release}${shared_ext}$major'
15386     fi
15387     shlibpath_var=LIBPATH
15388   fi
15389   ;;
15390
15391 amigaos*)
15392   case $host_cpu in
15393   powerpc)
15394     # Since July 2007 AmigaOS4 officially supports .so libraries.
15395     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15396     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15397     ;;
15398   m68k)
15399     library_names_spec='$libname.ixlibrary $libname.a'
15400     # Create ${libname}_ixlibrary.a entries in /sys/libs.
15401     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'
15402     ;;
15403   esac
15404   ;;
15405
15406 beos*)
15407   library_names_spec='${libname}${shared_ext}'
15408   dynamic_linker="$host_os ld.so"
15409   shlibpath_var=LIBRARY_PATH
15410   ;;
15411
15412 bsdi[45]*)
15413   version_type=linux
15414   need_version=no
15415   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15416   soname_spec='${libname}${release}${shared_ext}$major'
15417   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15418   shlibpath_var=LD_LIBRARY_PATH
15419   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15420   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15421   # the default ld.so.conf also contains /usr/contrib/lib and
15422   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15423   # libtool to hard-code these into programs
15424   ;;
15425
15426 cygwin* | mingw* | pw32* | cegcc*)
15427   version_type=windows
15428   shrext_cmds=".dll"
15429   need_version=no
15430   need_lib_prefix=no
15431
15432   case $GCC,$host_os in
15433   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15434     library_names_spec='$libname.dll.a'
15435     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15436     postinstall_cmds='base_file=`basename \${file}`~
15437       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15438       dldir=$destdir/`dirname \$dlpath`~
15439       test -d \$dldir || mkdir -p \$dldir~
15440       $install_prog $dir/$dlname \$dldir/$dlname~
15441       chmod a+x \$dldir/$dlname~
15442       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15443         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15444       fi'
15445     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15446       dlpath=$dir/\$dldll~
15447        $RM \$dlpath'
15448     shlibpath_overrides_runpath=yes
15449
15450     case $host_os in
15451     cygwin*)
15452       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15453       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15454
15455       ;;
15456     mingw* | cegcc*)
15457       # MinGW DLLs use traditional 'lib' prefix
15458       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15459       ;;
15460     pw32*)
15461       # pw32 DLLs use 'pw' prefix rather than 'lib'
15462       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15463       ;;
15464     esac
15465     ;;
15466
15467   *)
15468     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15469     ;;
15470   esac
15471   dynamic_linker='Win32 ld.exe'
15472   # FIXME: first we should search . and the directory the executable is in
15473   shlibpath_var=PATH
15474   ;;
15475
15476 darwin* | rhapsody*)
15477   dynamic_linker="$host_os dyld"
15478   version_type=darwin
15479   need_lib_prefix=no
15480   need_version=no
15481   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15482   soname_spec='${libname}${release}${major}$shared_ext'
15483   shlibpath_overrides_runpath=yes
15484   shlibpath_var=DYLD_LIBRARY_PATH
15485   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15486
15487   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15488   ;;
15489
15490 dgux*)
15491   version_type=linux
15492   need_lib_prefix=no
15493   need_version=no
15494   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15495   soname_spec='${libname}${release}${shared_ext}$major'
15496   shlibpath_var=LD_LIBRARY_PATH
15497   ;;
15498
15499 freebsd* | dragonfly*)
15500   # DragonFly does not have aout.  When/if they implement a new
15501   # versioning mechanism, adjust this.
15502   if test -x /usr/bin/objformat; then
15503     objformat=`/usr/bin/objformat`
15504   else
15505     case $host_os in
15506     freebsd[23].*) objformat=aout ;;
15507     *) objformat=elf ;;
15508     esac
15509   fi
15510   version_type=freebsd-$objformat
15511   case $version_type in
15512     freebsd-elf*)
15513       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15514       need_version=no
15515       need_lib_prefix=no
15516       ;;
15517     freebsd-*)
15518       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15519       need_version=yes
15520       ;;
15521   esac
15522   shlibpath_var=LD_LIBRARY_PATH
15523   case $host_os in
15524   freebsd2.*)
15525     shlibpath_overrides_runpath=yes
15526     ;;
15527   freebsd3.[01]* | freebsdelf3.[01]*)
15528     shlibpath_overrides_runpath=yes
15529     hardcode_into_libs=yes
15530     ;;
15531   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15532   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15533     shlibpath_overrides_runpath=no
15534     hardcode_into_libs=yes
15535     ;;
15536   *) # from 4.6 on, and DragonFly
15537     shlibpath_overrides_runpath=yes
15538     hardcode_into_libs=yes
15539     ;;
15540   esac
15541   ;;
15542
15543 gnu*)
15544   version_type=linux
15545   need_lib_prefix=no
15546   need_version=no
15547   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15548   soname_spec='${libname}${release}${shared_ext}$major'
15549   shlibpath_var=LD_LIBRARY_PATH
15550   hardcode_into_libs=yes
15551   ;;
15552
15553 haiku*)
15554   version_type=linux
15555   need_lib_prefix=no
15556   need_version=no
15557   dynamic_linker="$host_os runtime_loader"
15558   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15559   soname_spec='${libname}${release}${shared_ext}$major'
15560   shlibpath_var=LIBRARY_PATH
15561   shlibpath_overrides_runpath=yes
15562   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15563   hardcode_into_libs=yes
15564   ;;
15565
15566 hpux9* | hpux10* | hpux11*)
15567   # Give a soname corresponding to the major version so that dld.sl refuses to
15568   # link against other versions.
15569   version_type=sunos
15570   need_lib_prefix=no
15571   need_version=no
15572   case $host_cpu in
15573   ia64*)
15574     shrext_cmds='.so'
15575     hardcode_into_libs=yes
15576     dynamic_linker="$host_os dld.so"
15577     shlibpath_var=LD_LIBRARY_PATH
15578     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15579     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15580     soname_spec='${libname}${release}${shared_ext}$major'
15581     if test "X$HPUX_IA64_MODE" = X32; then
15582       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15583     else
15584       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15585     fi
15586     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15587     ;;
15588   hppa*64*)
15589     shrext_cmds='.sl'
15590     hardcode_into_libs=yes
15591     dynamic_linker="$host_os dld.sl"
15592     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15593     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15594     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15595     soname_spec='${libname}${release}${shared_ext}$major'
15596     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15597     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15598     ;;
15599   *)
15600     shrext_cmds='.sl'
15601     dynamic_linker="$host_os dld.sl"
15602     shlibpath_var=SHLIB_PATH
15603     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15604     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15605     soname_spec='${libname}${release}${shared_ext}$major'
15606     ;;
15607   esac
15608   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15609   postinstall_cmds='chmod 555 $lib'
15610   # or fails outright, so override atomically:
15611   install_override_mode=555
15612   ;;
15613
15614 interix[3-9]*)
15615   version_type=linux
15616   need_lib_prefix=no
15617   need_version=no
15618   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15619   soname_spec='${libname}${release}${shared_ext}$major'
15620   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15621   shlibpath_var=LD_LIBRARY_PATH
15622   shlibpath_overrides_runpath=no
15623   hardcode_into_libs=yes
15624   ;;
15625
15626 irix5* | irix6* | nonstopux*)
15627   case $host_os in
15628     nonstopux*) version_type=nonstopux ;;
15629     *)
15630         if test "$lt_cv_prog_gnu_ld" = yes; then
15631                 version_type=linux
15632         else
15633                 version_type=irix
15634         fi ;;
15635   esac
15636   need_lib_prefix=no
15637   need_version=no
15638   soname_spec='${libname}${release}${shared_ext}$major'
15639   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15640   case $host_os in
15641   irix5* | nonstopux*)
15642     libsuff= shlibsuff=
15643     ;;
15644   *)
15645     case $LD in # libtool.m4 will add one of these switches to LD
15646     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15647       libsuff= shlibsuff= libmagic=32-bit;;
15648     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15649       libsuff=32 shlibsuff=N32 libmagic=N32;;
15650     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15651       libsuff=64 shlibsuff=64 libmagic=64-bit;;
15652     *) libsuff= shlibsuff= libmagic=never-match;;
15653     esac
15654     ;;
15655   esac
15656   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15657   shlibpath_overrides_runpath=no
15658   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15659   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15660   hardcode_into_libs=yes
15661   ;;
15662
15663 # No shared lib support for Linux oldld, aout, or coff.
15664 linux*oldld* | linux*aout* | linux*coff*)
15665   dynamic_linker=no
15666   ;;
15667
15668 # This must be Linux ELF.
15669
15670 # uclinux* changes (here and below) have been submitted to the libtool
15671 # project, but have not yet been accepted: they are GCC-local changes
15672 # for the time being.  (See
15673 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15674 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
15675   version_type=linux
15676   need_lib_prefix=no
15677   need_version=no
15678   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15679   soname_spec='${libname}${release}${shared_ext}$major'
15680   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15681   shlibpath_var=LD_LIBRARY_PATH
15682   shlibpath_overrides_runpath=no
15683
15684   # Some binutils ld are patched to set DT_RUNPATH
15685   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15686   $as_echo_n "(cached) " >&6
15687 else
15688   lt_cv_shlibpath_overrides_runpath=no
15689     save_LDFLAGS=$LDFLAGS
15690     save_libdir=$libdir
15691     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15692          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15693     if test x$gcc_no_link = xyes; then
15694   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15695 fi
15696 cat > conftest.$ac_ext <<_ACEOF
15697       program main
15698
15699       end
15700 _ACEOF
15701 if ac_fn_fc_try_link "$LINENO"; then :
15702   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15703   lt_cv_shlibpath_overrides_runpath=yes
15704 fi
15705 fi
15706 rm -f core conftest.err conftest.$ac_objext \
15707     conftest$ac_exeext conftest.$ac_ext
15708     LDFLAGS=$save_LDFLAGS
15709     libdir=$save_libdir
15710
15711 fi
15712
15713   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15714
15715   # This implies no fast_install, which is unacceptable.
15716   # Some rework will be needed to allow for fast_install
15717   # before this can be enabled.
15718   hardcode_into_libs=yes
15719
15720   # Append ld.so.conf contents to the search path
15721   if test -f /etc/ld.so.conf; then
15722     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' ' '`
15723     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15724   fi
15725
15726   # We used to test for /lib/ld.so.1 and disable shared libraries on
15727   # powerpc, because MkLinux only supported shared libraries with the
15728   # GNU dynamic linker.  Since this was broken with cross compilers,
15729   # most powerpc-linux boxes support dynamic linking these days and
15730   # people can always --disable-shared, the test was removed, and we
15731   # assume the GNU/Linux dynamic linker is in use.
15732   dynamic_linker='GNU/Linux ld.so'
15733   ;;
15734
15735 netbsd*)
15736   version_type=sunos
15737   need_lib_prefix=no
15738   need_version=no
15739   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15740     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15741     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15742     dynamic_linker='NetBSD (a.out) ld.so'
15743   else
15744     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15745     soname_spec='${libname}${release}${shared_ext}$major'
15746     dynamic_linker='NetBSD ld.elf_so'
15747   fi
15748   shlibpath_var=LD_LIBRARY_PATH
15749   shlibpath_overrides_runpath=yes
15750   hardcode_into_libs=yes
15751   ;;
15752
15753 newsos6)
15754   version_type=linux
15755   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15756   shlibpath_var=LD_LIBRARY_PATH
15757   shlibpath_overrides_runpath=yes
15758   ;;
15759
15760 *nto* | *qnx*)
15761   version_type=qnx
15762   need_lib_prefix=no
15763   need_version=no
15764   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15765   soname_spec='${libname}${release}${shared_ext}$major'
15766   shlibpath_var=LD_LIBRARY_PATH
15767   shlibpath_overrides_runpath=no
15768   hardcode_into_libs=yes
15769   dynamic_linker='ldqnx.so'
15770   ;;
15771
15772 openbsd*)
15773   version_type=sunos
15774   sys_lib_dlsearch_path_spec="/usr/lib"
15775   need_lib_prefix=no
15776   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15777   case $host_os in
15778     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
15779     *)                          need_version=no  ;;
15780   esac
15781   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15782   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15783   shlibpath_var=LD_LIBRARY_PATH
15784   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15785     case $host_os in
15786       openbsd2.[89] | openbsd2.[89].*)
15787         shlibpath_overrides_runpath=no
15788         ;;
15789       *)
15790         shlibpath_overrides_runpath=yes
15791         ;;
15792       esac
15793   else
15794     shlibpath_overrides_runpath=yes
15795   fi
15796   ;;
15797
15798 os2*)
15799   libname_spec='$name'
15800   shrext_cmds=".dll"
15801   need_lib_prefix=no
15802   library_names_spec='$libname${shared_ext} $libname.a'
15803   dynamic_linker='OS/2 ld.exe'
15804   shlibpath_var=LIBPATH
15805   ;;
15806
15807 osf3* | osf4* | osf5*)
15808   version_type=osf
15809   need_lib_prefix=no
15810   need_version=no
15811   soname_spec='${libname}${release}${shared_ext}$major'
15812   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15813   shlibpath_var=LD_LIBRARY_PATH
15814   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15815   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15816   ;;
15817
15818 rdos*)
15819   dynamic_linker=no
15820   ;;
15821
15822 solaris*)
15823   version_type=linux
15824   need_lib_prefix=no
15825   need_version=no
15826   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15827   soname_spec='${libname}${release}${shared_ext}$major'
15828   shlibpath_var=LD_LIBRARY_PATH
15829   shlibpath_overrides_runpath=yes
15830   hardcode_into_libs=yes
15831   # ldd complains unless libraries are executable
15832   postinstall_cmds='chmod +x $lib'
15833   ;;
15834
15835 sunos4*)
15836   version_type=sunos
15837   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15838   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15839   shlibpath_var=LD_LIBRARY_PATH
15840   shlibpath_overrides_runpath=yes
15841   if test "$with_gnu_ld" = yes; then
15842     need_lib_prefix=no
15843   fi
15844   need_version=yes
15845   ;;
15846
15847 sysv4 | sysv4.3*)
15848   version_type=linux
15849   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15850   soname_spec='${libname}${release}${shared_ext}$major'
15851   shlibpath_var=LD_LIBRARY_PATH
15852   case $host_vendor in
15853     sni)
15854       shlibpath_overrides_runpath=no
15855       need_lib_prefix=no
15856       runpath_var=LD_RUN_PATH
15857       ;;
15858     siemens)
15859       need_lib_prefix=no
15860       ;;
15861     motorola)
15862       need_lib_prefix=no
15863       need_version=no
15864       shlibpath_overrides_runpath=no
15865       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15866       ;;
15867   esac
15868   ;;
15869
15870 sysv4*MP*)
15871   if test -d /usr/nec ;then
15872     version_type=linux
15873     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15874     soname_spec='$libname${shared_ext}.$major'
15875     shlibpath_var=LD_LIBRARY_PATH
15876   fi
15877   ;;
15878
15879 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15880   version_type=freebsd-elf
15881   need_lib_prefix=no
15882   need_version=no
15883   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15884   soname_spec='${libname}${release}${shared_ext}$major'
15885   shlibpath_var=LD_LIBRARY_PATH
15886   shlibpath_overrides_runpath=yes
15887   hardcode_into_libs=yes
15888   if test "$with_gnu_ld" = yes; then
15889     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15890   else
15891     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15892     case $host_os in
15893       sco3.2v5*)
15894         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15895         ;;
15896     esac
15897   fi
15898   sys_lib_dlsearch_path_spec='/usr/lib'
15899   ;;
15900
15901 tpf*)
15902   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15903   version_type=linux
15904   need_lib_prefix=no
15905   need_version=no
15906   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15907   shlibpath_var=LD_LIBRARY_PATH
15908   shlibpath_overrides_runpath=no
15909   hardcode_into_libs=yes
15910   ;;
15911
15912 uts4*)
15913   version_type=linux
15914   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15915   soname_spec='${libname}${release}${shared_ext}$major'
15916   shlibpath_var=LD_LIBRARY_PATH
15917   ;;
15918
15919 *)
15920   dynamic_linker=no
15921   ;;
15922 esac
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15924 $as_echo "$dynamic_linker" >&6; }
15925 test "$dynamic_linker" = no && can_build_shared=no
15926
15927 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15928 if test "$GCC" = yes; then
15929   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15930 fi
15931
15932 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15933   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15934 fi
15935 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15936   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15937 fi
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15977 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15978 hardcode_action_FC=
15979 if test -n "$hardcode_libdir_flag_spec_FC" ||
15980    test -n "$runpath_var_FC" ||
15981    test "X$hardcode_automatic_FC" = "Xyes" ; then
15982
15983   # We can hardcode non-existent directories.
15984   if test "$hardcode_direct_FC" != no &&
15985      # If the only mechanism to avoid hardcoding is shlibpath_var, we
15986      # have to relink, otherwise we might link with an installed library
15987      # when we should be linking with a yet-to-be-installed one
15988      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15989      test "$hardcode_minus_L_FC" != no; then
15990     # Linking always hardcodes the temporary library directory.
15991     hardcode_action_FC=relink
15992   else
15993     # We can link without hardcoding, and we can hardcode nonexisting dirs.
15994     hardcode_action_FC=immediate
15995   fi
15996 else
15997   # We cannot hardcode anything, or else we can only hardcode existing
15998   # directories.
15999   hardcode_action_FC=unsupported
16000 fi
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
16002 $as_echo "$hardcode_action_FC" >&6; }
16003
16004 if test "$hardcode_action_FC" = relink ||
16005    test "$inherit_rpath_FC" = yes; then
16006   # Fast installation is not supported
16007   enable_fast_install=no
16008 elif test "$shlibpath_overrides_runpath" = yes ||
16009      test "$enable_shared" = no; then
16010   # Fast installation is not necessary
16011   enable_fast_install=needless
16012 fi
16013
16014
16015
16016
16017
16018
16019
16020   fi # test -n "$compiler"
16021
16022   GCC=$lt_save_GCC
16023   CC="$lt_save_CC"
16024 fi # test "$_lt_disable_FC" != yes
16025
16026 ac_ext=c
16027 ac_cpp='$CPP $CPPFLAGS'
16028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16031
16032
16033
16034 # extra LD Flags which are required for targets
16035 case "${host}" in
16036   *-darwin*)
16037     # Darwin needs -single_module when linking libgfortran
16038     extra_ldflags_libgfortran=-Wl,-single_module
16039     ;;
16040 esac
16041
16042
16043 # We need a working compiler at that point, otherwise give a clear
16044 # error message and bail out.
16045
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16047 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16048 ac_ext=${ac_fc_srcext-f}
16049 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16050 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16051 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
16052
16053 cat > conftest.$ac_ext <<_ACEOF
16054
16055       program foo
16056       real, parameter :: bar = sin (12.34 / 2.5)
16057       end program foo
16058 _ACEOF
16059 if ac_fn_fc_try_compile "$LINENO"; then :
16060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16061 $as_echo "yes" >&6; }
16062 else
16063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16064 $as_echo "no" >&6; }
16065      as_fn_error $? "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16066
16067 fi
16068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16069 ac_ext=c
16070 ac_cpp='$CPP $CPPFLAGS'
16071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16074
16075
16076
16077 # Check whether --enable-largefile was given.
16078 if test "${enable_largefile+set}" = set; then :
16079   enableval=$enable_largefile;
16080 fi
16081
16082 if test "$enable_largefile" != no; then
16083
16084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16085 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16086 if ${ac_cv_sys_largefile_CC+:} false; then :
16087   $as_echo_n "(cached) " >&6
16088 else
16089   ac_cv_sys_largefile_CC=no
16090      if test "$GCC" != yes; then
16091        ac_save_CC=$CC
16092        while :; do
16093          # IRIX 6.2 and later do not support large files by default,
16094          # so use the C compiler's -n32 option if that helps.
16095          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16096 /* end confdefs.h.  */
16097 #include <sys/types.h>
16098  /* Check that off_t can represent 2**63 - 1 correctly.
16099     We can't simply define LARGE_OFF_T to be 9223372036854775807,
16100     since some C++ compilers masquerading as C compilers
16101     incorrectly reject 9223372036854775807.  */
16102 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16103   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16104                        && LARGE_OFF_T % 2147483647 == 1)
16105                       ? 1 : -1];
16106 int
16107 main ()
16108 {
16109
16110   ;
16111   return 0;
16112 }
16113 _ACEOF
16114          if ac_fn_c_try_compile "$LINENO"; then :
16115   break
16116 fi
16117 rm -f core conftest.err conftest.$ac_objext
16118          CC="$CC -n32"
16119          if ac_fn_c_try_compile "$LINENO"; then :
16120   ac_cv_sys_largefile_CC=' -n32'; break
16121 fi
16122 rm -f core conftest.err conftest.$ac_objext
16123          break
16124        done
16125        CC=$ac_save_CC
16126        rm -f conftest.$ac_ext
16127     fi
16128 fi
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16130 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16131   if test "$ac_cv_sys_largefile_CC" != no; then
16132     CC=$CC$ac_cv_sys_largefile_CC
16133   fi
16134
16135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16136 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16137 if ${ac_cv_sys_file_offset_bits+:} false; then :
16138   $as_echo_n "(cached) " >&6
16139 else
16140   while :; do
16141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16142 /* end confdefs.h.  */
16143 #include <sys/types.h>
16144  /* Check that off_t can represent 2**63 - 1 correctly.
16145     We can't simply define LARGE_OFF_T to be 9223372036854775807,
16146     since some C++ compilers masquerading as C compilers
16147     incorrectly reject 9223372036854775807.  */
16148 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16149   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16150                        && LARGE_OFF_T % 2147483647 == 1)
16151                       ? 1 : -1];
16152 int
16153 main ()
16154 {
16155
16156   ;
16157   return 0;
16158 }
16159 _ACEOF
16160 if ac_fn_c_try_compile "$LINENO"; then :
16161   ac_cv_sys_file_offset_bits=no; break
16162 fi
16163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16165 /* end confdefs.h.  */
16166 #define _FILE_OFFSET_BITS 64
16167 #include <sys/types.h>
16168  /* Check that off_t can represent 2**63 - 1 correctly.
16169     We can't simply define LARGE_OFF_T to be 9223372036854775807,
16170     since some C++ compilers masquerading as C compilers
16171     incorrectly reject 9223372036854775807.  */
16172 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16173   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16174                        && LARGE_OFF_T % 2147483647 == 1)
16175                       ? 1 : -1];
16176 int
16177 main ()
16178 {
16179
16180   ;
16181   return 0;
16182 }
16183 _ACEOF
16184 if ac_fn_c_try_compile "$LINENO"; then :
16185   ac_cv_sys_file_offset_bits=64; break
16186 fi
16187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16188   ac_cv_sys_file_offset_bits=unknown
16189   break
16190 done
16191 fi
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16193 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16194 case $ac_cv_sys_file_offset_bits in #(
16195   no | unknown) ;;
16196   *)
16197 cat >>confdefs.h <<_ACEOF
16198 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16199 _ACEOF
16200 ;;
16201 esac
16202 rm -rf conftest*
16203   if test $ac_cv_sys_file_offset_bits = unknown; then
16204     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16205 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16206 if ${ac_cv_sys_large_files+:} false; then :
16207   $as_echo_n "(cached) " >&6
16208 else
16209   while :; do
16210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16211 /* end confdefs.h.  */
16212 #include <sys/types.h>
16213  /* Check that off_t can represent 2**63 - 1 correctly.
16214     We can't simply define LARGE_OFF_T to be 9223372036854775807,
16215     since some C++ compilers masquerading as C compilers
16216     incorrectly reject 9223372036854775807.  */
16217 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16218   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16219                        && LARGE_OFF_T % 2147483647 == 1)
16220                       ? 1 : -1];
16221 int
16222 main ()
16223 {
16224
16225   ;
16226   return 0;
16227 }
16228 _ACEOF
16229 if ac_fn_c_try_compile "$LINENO"; then :
16230   ac_cv_sys_large_files=no; break
16231 fi
16232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16234 /* end confdefs.h.  */
16235 #define _LARGE_FILES 1
16236 #include <sys/types.h>
16237  /* Check that off_t can represent 2**63 - 1 correctly.
16238     We can't simply define LARGE_OFF_T to be 9223372036854775807,
16239     since some C++ compilers masquerading as C compilers
16240     incorrectly reject 9223372036854775807.  */
16241 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16242   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16243                        && LARGE_OFF_T % 2147483647 == 1)
16244                       ? 1 : -1];
16245 int
16246 main ()
16247 {
16248
16249   ;
16250   return 0;
16251 }
16252 _ACEOF
16253 if ac_fn_c_try_compile "$LINENO"; then :
16254   ac_cv_sys_large_files=1; break
16255 fi
16256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16257   ac_cv_sys_large_files=unknown
16258   break
16259 done
16260 fi
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16262 $as_echo "$ac_cv_sys_large_files" >&6; }
16263 case $ac_cv_sys_large_files in #(
16264   no | unknown) ;;
16265   *)
16266 cat >>confdefs.h <<_ACEOF
16267 #define _LARGE_FILES $ac_cv_sys_large_files
16268 _ACEOF
16269 ;;
16270 esac
16271 rm -rf conftest*
16272   fi
16273
16274
16275 fi
16276
16277
16278 # Types
16279 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16280 if test "x$ac_cv_type_off_t" = xyes; then :
16281
16282 else
16283
16284 cat >>confdefs.h <<_ACEOF
16285 #define off_t long int
16286 _ACEOF
16287
16288 fi
16289
16290
16291   ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16292 if test "x$ac_cv_type_intptr_t" = xyes; then :
16293
16294 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16295
16296 else
16297   for ac_type in 'int' 'long int' 'long long int'; do
16298        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16299 /* end confdefs.h.  */
16300 $ac_includes_default
16301 int
16302 main ()
16303 {
16304 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16305 test_array [0] = 0;
16306 return test_array [0];
16307
16308   ;
16309   return 0;
16310 }
16311 _ACEOF
16312 if ac_fn_c_try_compile "$LINENO"; then :
16313
16314 cat >>confdefs.h <<_ACEOF
16315 #define intptr_t $ac_type
16316 _ACEOF
16317
16318           ac_type=
16319 fi
16320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16321        test -z "$ac_type" && break
16322      done
16323 fi
16324
16325
16326
16327   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16328 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16329
16330 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16331
16332 else
16333   for ac_type in 'unsigned int' 'unsigned long int' \
16334         'unsigned long long int'; do
16335        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16336 /* end confdefs.h.  */
16337 $ac_includes_default
16338 int
16339 main ()
16340 {
16341 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16342 test_array [0] = 0;
16343 return test_array [0];
16344
16345   ;
16346   return 0;
16347 }
16348 _ACEOF
16349 if ac_fn_c_try_compile "$LINENO"; then :
16350
16351 cat >>confdefs.h <<_ACEOF
16352 #define uintptr_t $ac_type
16353 _ACEOF
16354
16355           ac_type=
16356 fi
16357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16358        test -z "$ac_type" && break
16359      done
16360 fi
16361
16362
16363 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16364 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
16365
16366 cat >>confdefs.h <<_ACEOF
16367 #define HAVE_PTRDIFF_T 1
16368 _ACEOF
16369
16370
16371 fi
16372
16373
16374 # check header files (we assume C89 is available, so don't check for that)
16375
16376
16377
16378   for ac_header in $ac_header_list
16379 do :
16380   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16381 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16382 "
16383 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16384   cat >>confdefs.h <<_ACEOF
16385 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16386 _ACEOF
16387
16388 fi
16389
16390 done
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
16431
16432 acx_cv_header_stdint=stddef.h
16433 acx_cv_header_stdint_kind="(already complete)"
16434 for i in stdint.h $inttype_headers; do
16435   unset ac_cv_type_uintptr_t
16436   unset ac_cv_type_uintmax_t
16437   unset ac_cv_type_int_least32_t
16438   unset ac_cv_type_int_fast32_t
16439   unset ac_cv_type_uint64_t
16440   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16441   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16442 #include <$i>
16443 "
16444 if test "x$ac_cv_type_uintmax_t" = xyes; then :
16445   acx_cv_header_stdint=$i
16446 else
16447   continue
16448 fi
16449
16450   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16451 #include <$i>
16452 "
16453 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16454
16455 else
16456   acx_cv_header_stdint_kind="(mostly complete)"
16457 fi
16458
16459   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16460 #include <$i>
16461 "
16462 if test "x$ac_cv_type_int_least32_t" = xyes; then :
16463
16464 else
16465   acx_cv_header_stdint_kind="(mostly complete)"
16466 fi
16467
16468   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16469 #include <$i>
16470 "
16471 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
16472
16473 else
16474   acx_cv_header_stdint_kind="(mostly complete)"
16475 fi
16476
16477   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16478 #include <$i>
16479 "
16480 if test "x$ac_cv_type_uint64_t" = xyes; then :
16481
16482 else
16483   acx_cv_header_stdint_kind="(lacks uint64_t)"
16484 fi
16485
16486   break
16487 done
16488 if test "$acx_cv_header_stdint" = stddef.h; then
16489   acx_cv_header_stdint_kind="(lacks uintmax_t)"
16490   for i in stdint.h $inttype_headers; do
16491     unset ac_cv_type_uintptr_t
16492     unset ac_cv_type_uint32_t
16493     unset ac_cv_type_uint64_t
16494     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16495     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16496 #include <$i>
16497 "
16498 if test "x$ac_cv_type_uint32_t" = xyes; then :
16499   acx_cv_header_stdint=$i
16500 else
16501   continue
16502 fi
16503
16504     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16505 #include <$i>
16506 "
16507 if test "x$ac_cv_type_uint64_t" = xyes; then :
16508
16509 fi
16510
16511     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16512 #include <$i>
16513 "
16514 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16515
16516 fi
16517
16518     break
16519   done
16520 fi
16521 if test "$acx_cv_header_stdint" = stddef.h; then
16522   acx_cv_header_stdint_kind="(u_intXX_t style)"
16523   for i in sys/types.h $inttype_headers; do
16524     unset ac_cv_type_u_int32_t
16525     unset ac_cv_type_u_int64_t
16526     $as_echo_n "looking for u_intXX_t types in $i, " >&6
16527     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16528 #include <$i>
16529 "
16530 if test "x$ac_cv_type_u_int32_t" = xyes; then :
16531   acx_cv_header_stdint=$i
16532 else
16533   continue
16534 fi
16535
16536     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16537 #include <$i>
16538 "
16539 if test "x$ac_cv_type_u_int64_t" = xyes; then :
16540
16541 fi
16542
16543     break
16544   done
16545 fi
16546 if test "$acx_cv_header_stdint" = stddef.h; then
16547   acx_cv_header_stdint_kind="(using manual detection)"
16548 fi
16549
16550 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16551 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16552 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16553 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16554 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16555
16556 # ----------------- Summarize what we found so far
16557
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16559 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16560
16561 case `$as_basename -- gstdint.h ||
16562 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16563          Xgstdint.h : 'X\(//\)$' \| \
16564          Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16565 $as_echo X/gstdint.h |
16566     sed '/^.*\/\([^/][^/]*\)\/*$/{
16567             s//\1/
16568             q
16569           }
16570           /^X\/\(\/\/\)$/{
16571             s//\1/
16572             q
16573           }
16574           /^X\/\(\/\).*/{
16575             s//\1/
16576             q
16577           }
16578           s/.*/./; q'` in
16579   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16580 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16581   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16582 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16583   *) ;;
16584 esac
16585
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16587 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16588
16589 # ----------------- done included file, check C basic types --------
16590
16591 # Lacking an uintptr_t?  Test size of void *
16592 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16593   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16594 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16595 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16596 # This bug is HP SR number 8606223364.
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16598 $as_echo_n "checking size of void *... " >&6; }
16599 if ${ac_cv_sizeof_void_p+:} false; then :
16600   $as_echo_n "(cached) " >&6
16601 else
16602   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
16603
16604 else
16605   if test "$ac_cv_type_void_p" = yes; then
16606      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16608 as_fn_error 77 "cannot compute sizeof (void *)
16609 See \`config.log' for more details" "$LINENO" 5; }
16610    else
16611      ac_cv_sizeof_void_p=0
16612    fi
16613 fi
16614
16615 fi
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16617 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16618
16619
16620
16621 cat >>confdefs.h <<_ACEOF
16622 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16623 _ACEOF
16624
16625  ;;
16626 esac
16627
16628 # Lacking an uint64_t?  Test size of long
16629 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16630   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16631 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16632 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16633 # This bug is HP SR number 8606223364.
16634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16635 $as_echo_n "checking size of long... " >&6; }
16636 if ${ac_cv_sizeof_long+:} false; then :
16637   $as_echo_n "(cached) " >&6
16638 else
16639   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
16640
16641 else
16642   if test "$ac_cv_type_long" = yes; then
16643      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16645 as_fn_error 77 "cannot compute sizeof (long)
16646 See \`config.log' for more details" "$LINENO" 5; }
16647    else
16648      ac_cv_sizeof_long=0
16649    fi
16650 fi
16651
16652 fi
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16654 $as_echo "$ac_cv_sizeof_long" >&6; }
16655
16656
16657
16658 cat >>confdefs.h <<_ACEOF
16659 #define SIZEOF_LONG $ac_cv_sizeof_long
16660 _ACEOF
16661
16662  ;;
16663 esac
16664
16665 if test $acx_cv_header_stdint = stddef.h; then
16666   # Lacking a good header?  Test size of everything and deduce all types.
16667   # The cast to long int works around a bug in the HP C Compiler
16668 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16669 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16670 # This bug is HP SR number 8606223364.
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16672 $as_echo_n "checking size of int... " >&6; }
16673 if ${ac_cv_sizeof_int+:} false; then :
16674   $as_echo_n "(cached) " >&6
16675 else
16676   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
16677
16678 else
16679   if test "$ac_cv_type_int" = yes; then
16680      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16682 as_fn_error 77 "cannot compute sizeof (int)
16683 See \`config.log' for more details" "$LINENO" 5; }
16684    else
16685      ac_cv_sizeof_int=0
16686    fi
16687 fi
16688
16689 fi
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16691 $as_echo "$ac_cv_sizeof_int" >&6; }
16692
16693
16694
16695 cat >>confdefs.h <<_ACEOF
16696 #define SIZEOF_INT $ac_cv_sizeof_int
16697 _ACEOF
16698
16699
16700   # The cast to long int works around a bug in the HP C Compiler
16701 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16702 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16703 # This bug is HP SR number 8606223364.
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16705 $as_echo_n "checking size of short... " >&6; }
16706 if ${ac_cv_sizeof_short+:} false; then :
16707   $as_echo_n "(cached) " >&6
16708 else
16709   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
16710
16711 else
16712   if test "$ac_cv_type_short" = yes; then
16713      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16715 as_fn_error 77 "cannot compute sizeof (short)
16716 See \`config.log' for more details" "$LINENO" 5; }
16717    else
16718      ac_cv_sizeof_short=0
16719    fi
16720 fi
16721
16722 fi
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16724 $as_echo "$ac_cv_sizeof_short" >&6; }
16725
16726
16727
16728 cat >>confdefs.h <<_ACEOF
16729 #define SIZEOF_SHORT $ac_cv_sizeof_short
16730 _ACEOF
16731
16732
16733   # The cast to long int works around a bug in the HP C Compiler
16734 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16735 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16736 # This bug is HP SR number 8606223364.
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16738 $as_echo_n "checking size of char... " >&6; }
16739 if ${ac_cv_sizeof_char+:} false; then :
16740   $as_echo_n "(cached) " >&6
16741 else
16742   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
16743
16744 else
16745   if test "$ac_cv_type_char" = yes; then
16746      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16747 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16748 as_fn_error 77 "cannot compute sizeof (char)
16749 See \`config.log' for more details" "$LINENO" 5; }
16750    else
16751      ac_cv_sizeof_char=0
16752    fi
16753 fi
16754
16755 fi
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16757 $as_echo "$ac_cv_sizeof_char" >&6; }
16758
16759
16760
16761 cat >>confdefs.h <<_ACEOF
16762 #define SIZEOF_CHAR $ac_cv_sizeof_char
16763 _ACEOF
16764
16765
16766
16767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16768 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16769   case "$ac_cv_sizeof_char" in
16770     1) acx_cv_type_int8_t=char ;;
16771     *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
16772   esac
16773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16774 $as_echo "$acx_cv_type_int8_t" >&6; }
16775
16776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16777 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16778   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16779     2:*) acx_cv_type_int16_t=int ;;
16780     *:2) acx_cv_type_int16_t=short ;;
16781     *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
16782   esac
16783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16784 $as_echo "$acx_cv_type_int16_t" >&6; }
16785
16786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16787 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16788   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16789     4:*) acx_cv_type_int32_t=int ;;
16790     *:4) acx_cv_type_int32_t=long ;;
16791     *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
16792   esac
16793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16794 $as_echo "$acx_cv_type_int32_t" >&6; }
16795 fi
16796
16797 # These tests are here to make the output prettier
16798
16799 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16800   case "$ac_cv_sizeof_long" in
16801     8) acx_cv_type_int64_t=long ;;
16802   esac
16803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16804 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16806 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16807 fi
16808
16809 # Now we can use the above types
16810
16811 if test "$ac_cv_type_uintptr_t" != yes; then
16812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16813 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16814   case $ac_cv_sizeof_void_p in
16815     2) acx_cv_type_intptr_t=int16_t ;;
16816     4) acx_cv_type_intptr_t=int32_t ;;
16817     8) acx_cv_type_intptr_t=int64_t ;;
16818     *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16819   esac
16820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16821 $as_echo "$acx_cv_type_intptr_t" >&6; }
16822 fi
16823
16824 # ----------------- done all checks, emit header -------------
16825 ac_config_commands="$ac_config_commands gstdint.h"
16826
16827
16828
16829
16830 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16831 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then :
16832
16833 cat >>confdefs.h <<_ACEOF
16834 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16835 _ACEOF
16836
16837
16838 fi
16839 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16840 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16841
16842 cat >>confdefs.h <<_ACEOF
16843 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16844 _ACEOF
16845
16846
16847 fi
16848 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16849 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
16850
16851 cat >>confdefs.h <<_ACEOF
16852 #define HAVE_STRUCT_STAT_ST_RDEV 1
16853 _ACEOF
16854
16855
16856 fi
16857
16858
16859 case "${host}--x${with_newlib}" in
16860   mips*--xyes)
16861     hardwire_newlib=1;;
16862   nvptx*--xyes)
16863     hardwire_newlib=1;;
16864 esac
16865
16866 # Check for library functions.
16867 if test "${hardwire_newlib:-0}" -eq 1; then
16868    # We are being configured with a cross compiler.  AC_REPLACE_FUNCS
16869    # may not work correctly, because the compiler may not be able to
16870    # link executables.
16871
16872 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16873
16874
16875 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16876
16877
16878 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16879
16880
16881 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16882
16883
16884 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16885
16886
16887 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16888
16889
16890 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16891
16892
16893 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16894
16895
16896    # At some point, we should differentiate between architectures
16897    # like x86, which have long double versions, and alpha/powerpc/etc.,
16898    # which don't. For the time being, punt.
16899    if test x"long_double_math_on_this_cpu" = x"yes"; then
16900
16901 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16902
16903    fi
16904 else
16905
16906
16907
16908   for ac_func in $ac_func_list
16909 do :
16910   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16911 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16912 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16913   cat >>confdefs.h <<_ACEOF
16914 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16915 _ACEOF
16916
16917 fi
16918 done
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029 fi
17030
17031 # Check strerror_r, cannot be above as versions with two and three arguments exist
17032
17033     ac_save_CFLAGS="$CFLAGS"
17034   CFLAGS="-Wimplicit-function-declaration -Werror"
17035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17036 /* end confdefs.h.  */
17037 #define _GNU_SOURCE 1
17038                   #include <string.h>
17039                   #include <locale.h>
17040 int
17041 main ()
17042 {
17043 char s[128]; strerror_r(5, s, 128);
17044   ;
17045   return 0;
17046 }
17047 _ACEOF
17048 if ac_fn_c_try_compile "$LINENO"; then :
17049
17050 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17051
17052 fi
17053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17054   CFLAGS="$ac_save_CFLAGS"
17055
17056     ac_save_CFLAGS="$CFLAGS"
17057   CFLAGS="-Wimplicit-function-declaration -Werror"
17058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17059 /* end confdefs.h.  */
17060 #define _GNU_SOURCE 1
17061                   #include <string.h>
17062                   #include <locale.h>
17063 int
17064 main ()
17065 {
17066 char s[128]; strerror_r(5, s);
17067   ;
17068   return 0;
17069 }
17070 _ACEOF
17071 if ac_fn_c_try_compile "$LINENO"; then :
17072
17073 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17074
17075 fi
17076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17077   CFLAGS="$ac_save_CFLAGS"
17078
17079
17080 # Check for C99 (and other IEEE) math functions
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17082 $as_echo_n "checking for sin in -lm... " >&6; }
17083 if ${ac_cv_lib_m_sin+:} false; then :
17084   $as_echo_n "(cached) " >&6
17085 else
17086   ac_check_lib_save_LIBS=$LIBS
17087 LIBS="-lm  $LIBS"
17088 if test x$gcc_no_link = xyes; then
17089   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17090 fi
17091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17092 /* end confdefs.h.  */
17093
17094 /* Override any GCC internal prototype to avoid an error.
17095    Use char because int might match the return type of a GCC
17096    builtin and then its argument prototype would still apply.  */
17097 #ifdef __cplusplus
17098 extern "C"
17099 #endif
17100 char sin ();
17101 int
17102 main ()
17103 {
17104 return sin ();
17105   ;
17106   return 0;
17107 }
17108 _ACEOF
17109 if ac_fn_c_try_link "$LINENO"; then :
17110   ac_cv_lib_m_sin=yes
17111 else
17112   ac_cv_lib_m_sin=no
17113 fi
17114 rm -f core conftest.err conftest.$ac_objext \
17115     conftest$ac_exeext conftest.$ac_ext
17116 LIBS=$ac_check_lib_save_LIBS
17117 fi
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17119 $as_echo "$ac_cv_lib_m_sin" >&6; }
17120 if test "x$ac_cv_lib_m_sin" = xyes; then :
17121   cat >>confdefs.h <<_ACEOF
17122 #define HAVE_LIBM 1
17123 _ACEOF
17124
17125   LIBS="-lm $LIBS"
17126
17127 fi
17128
17129
17130
17131
17132
17133
17134
17135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17136 $as_echo_n "checking for acosf... " >&6; }
17137 if ${gcc_cv_math_func_acosf+:} false; then :
17138   $as_echo_n "(cached) " >&6
17139 else
17140   if test x$gcc_no_link = xyes; then
17141   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17142 fi
17143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h.  */
17145
17146 #ifdef HAVE_COMPLEX_H
17147 #include <complex.h>
17148 #endif
17149 #ifdef HAVE_MATH_H
17150 #include <math.h>
17151 #endif
17152
17153 int (*ptr)() = (int (*)())acosf;
17154
17155 int
17156 main ()
17157 {
17158   return 0;
17159 }
17160
17161 _ACEOF
17162 if ac_fn_c_try_link "$LINENO"; then :
17163   gcc_cv_math_func_acosf=yes
17164 else
17165   gcc_cv_math_func_acosf=no
17166 fi
17167 rm -f core conftest.err conftest.$ac_objext \
17168     conftest$ac_exeext conftest.$ac_ext
17169 fi
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17171 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17172   if test $gcc_cv_math_func_acosf = yes; then
17173
17174 cat >>confdefs.h <<_ACEOF
17175 #define HAVE_ACOSF 1
17176 _ACEOF
17177
17178   fi
17179
17180
17181
17182
17183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17184 $as_echo_n "checking for acos... " >&6; }
17185 if ${gcc_cv_math_func_acos+:} false; then :
17186   $as_echo_n "(cached) " >&6
17187 else
17188   if test x$gcc_no_link = xyes; then
17189   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17190 fi
17191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17192 /* end confdefs.h.  */
17193
17194 #ifdef HAVE_COMPLEX_H
17195 #include <complex.h>
17196 #endif
17197 #ifdef HAVE_MATH_H
17198 #include <math.h>
17199 #endif
17200
17201 int (*ptr)() = (int (*)())acos;
17202
17203 int
17204 main ()
17205 {
17206   return 0;
17207 }
17208
17209 _ACEOF
17210 if ac_fn_c_try_link "$LINENO"; then :
17211   gcc_cv_math_func_acos=yes
17212 else
17213   gcc_cv_math_func_acos=no
17214 fi
17215 rm -f core conftest.err conftest.$ac_objext \
17216     conftest$ac_exeext conftest.$ac_ext
17217 fi
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17219 $as_echo "$gcc_cv_math_func_acos" >&6; }
17220   if test $gcc_cv_math_func_acos = yes; then
17221
17222 cat >>confdefs.h <<_ACEOF
17223 #define HAVE_ACOS 1
17224 _ACEOF
17225
17226   fi
17227
17228
17229
17230
17231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17232 $as_echo_n "checking for acosl... " >&6; }
17233 if ${gcc_cv_math_func_acosl+:} false; then :
17234   $as_echo_n "(cached) " >&6
17235 else
17236   if test x$gcc_no_link = xyes; then
17237   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17238 fi
17239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17240 /* end confdefs.h.  */
17241
17242 #ifdef HAVE_COMPLEX_H
17243 #include <complex.h>
17244 #endif
17245 #ifdef HAVE_MATH_H
17246 #include <math.h>
17247 #endif
17248
17249 int (*ptr)() = (int (*)())acosl;
17250
17251 int
17252 main ()
17253 {
17254   return 0;
17255 }
17256
17257 _ACEOF
17258 if ac_fn_c_try_link "$LINENO"; then :
17259   gcc_cv_math_func_acosl=yes
17260 else
17261   gcc_cv_math_func_acosl=no
17262 fi
17263 rm -f core conftest.err conftest.$ac_objext \
17264     conftest$ac_exeext conftest.$ac_ext
17265 fi
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17267 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17268   if test $gcc_cv_math_func_acosl = yes; then
17269
17270 cat >>confdefs.h <<_ACEOF
17271 #define HAVE_ACOSL 1
17272 _ACEOF
17273
17274   fi
17275
17276
17277
17278
17279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17280 $as_echo_n "checking for acoshf... " >&6; }
17281 if ${gcc_cv_math_func_acoshf+:} false; then :
17282   $as_echo_n "(cached) " >&6
17283 else
17284   if test x$gcc_no_link = xyes; then
17285   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17286 fi
17287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17288 /* end confdefs.h.  */
17289
17290 #ifdef HAVE_COMPLEX_H
17291 #include <complex.h>
17292 #endif
17293 #ifdef HAVE_MATH_H
17294 #include <math.h>
17295 #endif
17296
17297 int (*ptr)() = (int (*)())acoshf;
17298
17299 int
17300 main ()
17301 {
17302   return 0;
17303 }
17304
17305 _ACEOF
17306 if ac_fn_c_try_link "$LINENO"; then :
17307   gcc_cv_math_func_acoshf=yes
17308 else
17309   gcc_cv_math_func_acoshf=no
17310 fi
17311 rm -f core conftest.err conftest.$ac_objext \
17312     conftest$ac_exeext conftest.$ac_ext
17313 fi
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17315 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17316   if test $gcc_cv_math_func_acoshf = yes; then
17317
17318 cat >>confdefs.h <<_ACEOF
17319 #define HAVE_ACOSHF 1
17320 _ACEOF
17321
17322   fi
17323
17324
17325
17326
17327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17328 $as_echo_n "checking for acosh... " >&6; }
17329 if ${gcc_cv_math_func_acosh+:} false; then :
17330   $as_echo_n "(cached) " >&6
17331 else
17332   if test x$gcc_no_link = xyes; then
17333   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17334 fi
17335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17336 /* end confdefs.h.  */
17337
17338 #ifdef HAVE_COMPLEX_H
17339 #include <complex.h>
17340 #endif
17341 #ifdef HAVE_MATH_H
17342 #include <math.h>
17343 #endif
17344
17345 int (*ptr)() = (int (*)())acosh;
17346
17347 int
17348 main ()
17349 {
17350   return 0;
17351 }
17352
17353 _ACEOF
17354 if ac_fn_c_try_link "$LINENO"; then :
17355   gcc_cv_math_func_acosh=yes
17356 else
17357   gcc_cv_math_func_acosh=no
17358 fi
17359 rm -f core conftest.err conftest.$ac_objext \
17360     conftest$ac_exeext conftest.$ac_ext
17361 fi
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17363 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17364   if test $gcc_cv_math_func_acosh = yes; then
17365
17366 cat >>confdefs.h <<_ACEOF
17367 #define HAVE_ACOSH 1
17368 _ACEOF
17369
17370   fi
17371
17372
17373
17374
17375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17376 $as_echo_n "checking for acoshl... " >&6; }
17377 if ${gcc_cv_math_func_acoshl+:} false; then :
17378   $as_echo_n "(cached) " >&6
17379 else
17380   if test x$gcc_no_link = xyes; then
17381   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17382 fi
17383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h.  */
17385
17386 #ifdef HAVE_COMPLEX_H
17387 #include <complex.h>
17388 #endif
17389 #ifdef HAVE_MATH_H
17390 #include <math.h>
17391 #endif
17392
17393 int (*ptr)() = (int (*)())acoshl;
17394
17395 int
17396 main ()
17397 {
17398   return 0;
17399 }
17400
17401 _ACEOF
17402 if ac_fn_c_try_link "$LINENO"; then :
17403   gcc_cv_math_func_acoshl=yes
17404 else
17405   gcc_cv_math_func_acoshl=no
17406 fi
17407 rm -f core conftest.err conftest.$ac_objext \
17408     conftest$ac_exeext conftest.$ac_ext
17409 fi
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17411 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17412   if test $gcc_cv_math_func_acoshl = yes; then
17413
17414 cat >>confdefs.h <<_ACEOF
17415 #define HAVE_ACOSHL 1
17416 _ACEOF
17417
17418   fi
17419
17420
17421
17422
17423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17424 $as_echo_n "checking for asinf... " >&6; }
17425 if ${gcc_cv_math_func_asinf+:} false; then :
17426   $as_echo_n "(cached) " >&6
17427 else
17428   if test x$gcc_no_link = xyes; then
17429   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17430 fi
17431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17432 /* end confdefs.h.  */
17433
17434 #ifdef HAVE_COMPLEX_H
17435 #include <complex.h>
17436 #endif
17437 #ifdef HAVE_MATH_H
17438 #include <math.h>
17439 #endif
17440
17441 int (*ptr)() = (int (*)())asinf;
17442
17443 int
17444 main ()
17445 {
17446   return 0;
17447 }
17448
17449 _ACEOF
17450 if ac_fn_c_try_link "$LINENO"; then :
17451   gcc_cv_math_func_asinf=yes
17452 else
17453   gcc_cv_math_func_asinf=no
17454 fi
17455 rm -f core conftest.err conftest.$ac_objext \
17456     conftest$ac_exeext conftest.$ac_ext
17457 fi
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17459 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17460   if test $gcc_cv_math_func_asinf = yes; then
17461
17462 cat >>confdefs.h <<_ACEOF
17463 #define HAVE_ASINF 1
17464 _ACEOF
17465
17466   fi
17467
17468
17469
17470
17471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17472 $as_echo_n "checking for asin... " >&6; }
17473 if ${gcc_cv_math_func_asin+:} false; then :
17474   $as_echo_n "(cached) " >&6
17475 else
17476   if test x$gcc_no_link = xyes; then
17477   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17478 fi
17479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17480 /* end confdefs.h.  */
17481
17482 #ifdef HAVE_COMPLEX_H
17483 #include <complex.h>
17484 #endif
17485 #ifdef HAVE_MATH_H
17486 #include <math.h>
17487 #endif
17488
17489 int (*ptr)() = (int (*)())asin;
17490
17491 int
17492 main ()
17493 {
17494   return 0;
17495 }
17496
17497 _ACEOF
17498 if ac_fn_c_try_link "$LINENO"; then :
17499   gcc_cv_math_func_asin=yes
17500 else
17501   gcc_cv_math_func_asin=no
17502 fi
17503 rm -f core conftest.err conftest.$ac_objext \
17504     conftest$ac_exeext conftest.$ac_ext
17505 fi
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17507 $as_echo "$gcc_cv_math_func_asin" >&6; }
17508   if test $gcc_cv_math_func_asin = yes; then
17509
17510 cat >>confdefs.h <<_ACEOF
17511 #define HAVE_ASIN 1
17512 _ACEOF
17513
17514   fi
17515
17516
17517
17518
17519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17520 $as_echo_n "checking for asinl... " >&6; }
17521 if ${gcc_cv_math_func_asinl+:} false; then :
17522   $as_echo_n "(cached) " >&6
17523 else
17524   if test x$gcc_no_link = xyes; then
17525   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17526 fi
17527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17528 /* end confdefs.h.  */
17529
17530 #ifdef HAVE_COMPLEX_H
17531 #include <complex.h>
17532 #endif
17533 #ifdef HAVE_MATH_H
17534 #include <math.h>
17535 #endif
17536
17537 int (*ptr)() = (int (*)())asinl;
17538
17539 int
17540 main ()
17541 {
17542   return 0;
17543 }
17544
17545 _ACEOF
17546 if ac_fn_c_try_link "$LINENO"; then :
17547   gcc_cv_math_func_asinl=yes
17548 else
17549   gcc_cv_math_func_asinl=no
17550 fi
17551 rm -f core conftest.err conftest.$ac_objext \
17552     conftest$ac_exeext conftest.$ac_ext
17553 fi
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17555 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17556   if test $gcc_cv_math_func_asinl = yes; then
17557
17558 cat >>confdefs.h <<_ACEOF
17559 #define HAVE_ASINL 1
17560 _ACEOF
17561
17562   fi
17563
17564
17565
17566
17567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17568 $as_echo_n "checking for asinhf... " >&6; }
17569 if ${gcc_cv_math_func_asinhf+:} false; then :
17570   $as_echo_n "(cached) " >&6
17571 else
17572   if test x$gcc_no_link = xyes; then
17573   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17574 fi
17575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17576 /* end confdefs.h.  */
17577
17578 #ifdef HAVE_COMPLEX_H
17579 #include <complex.h>
17580 #endif
17581 #ifdef HAVE_MATH_H
17582 #include <math.h>
17583 #endif
17584
17585 int (*ptr)() = (int (*)())asinhf;
17586
17587 int
17588 main ()
17589 {
17590   return 0;
17591 }
17592
17593 _ACEOF
17594 if ac_fn_c_try_link "$LINENO"; then :
17595   gcc_cv_math_func_asinhf=yes
17596 else
17597   gcc_cv_math_func_asinhf=no
17598 fi
17599 rm -f core conftest.err conftest.$ac_objext \
17600     conftest$ac_exeext conftest.$ac_ext
17601 fi
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17603 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17604   if test $gcc_cv_math_func_asinhf = yes; then
17605
17606 cat >>confdefs.h <<_ACEOF
17607 #define HAVE_ASINHF 1
17608 _ACEOF
17609
17610   fi
17611
17612
17613
17614
17615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17616 $as_echo_n "checking for asinh... " >&6; }
17617 if ${gcc_cv_math_func_asinh+:} false; then :
17618   $as_echo_n "(cached) " >&6
17619 else
17620   if test x$gcc_no_link = xyes; then
17621   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17622 fi
17623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17624 /* end confdefs.h.  */
17625
17626 #ifdef HAVE_COMPLEX_H
17627 #include <complex.h>
17628 #endif
17629 #ifdef HAVE_MATH_H
17630 #include <math.h>
17631 #endif
17632
17633 int (*ptr)() = (int (*)())asinh;
17634
17635 int
17636 main ()
17637 {
17638   return 0;
17639 }
17640
17641 _ACEOF
17642 if ac_fn_c_try_link "$LINENO"; then :
17643   gcc_cv_math_func_asinh=yes
17644 else
17645   gcc_cv_math_func_asinh=no
17646 fi
17647 rm -f core conftest.err conftest.$ac_objext \
17648     conftest$ac_exeext conftest.$ac_ext
17649 fi
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17651 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17652   if test $gcc_cv_math_func_asinh = yes; then
17653
17654 cat >>confdefs.h <<_ACEOF
17655 #define HAVE_ASINH 1
17656 _ACEOF
17657
17658   fi
17659
17660
17661
17662
17663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17664 $as_echo_n "checking for asinhl... " >&6; }
17665 if ${gcc_cv_math_func_asinhl+:} false; then :
17666   $as_echo_n "(cached) " >&6
17667 else
17668   if test x$gcc_no_link = xyes; then
17669   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17670 fi
17671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17672 /* end confdefs.h.  */
17673
17674 #ifdef HAVE_COMPLEX_H
17675 #include <complex.h>
17676 #endif
17677 #ifdef HAVE_MATH_H
17678 #include <math.h>
17679 #endif
17680
17681 int (*ptr)() = (int (*)())asinhl;
17682
17683 int
17684 main ()
17685 {
17686   return 0;
17687 }
17688
17689 _ACEOF
17690 if ac_fn_c_try_link "$LINENO"; then :
17691   gcc_cv_math_func_asinhl=yes
17692 else
17693   gcc_cv_math_func_asinhl=no
17694 fi
17695 rm -f core conftest.err conftest.$ac_objext \
17696     conftest$ac_exeext conftest.$ac_ext
17697 fi
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17699 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17700   if test $gcc_cv_math_func_asinhl = yes; then
17701
17702 cat >>confdefs.h <<_ACEOF
17703 #define HAVE_ASINHL 1
17704 _ACEOF
17705
17706   fi
17707
17708
17709
17710
17711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17712 $as_echo_n "checking for atan2f... " >&6; }
17713 if ${gcc_cv_math_func_atan2f+:} false; then :
17714   $as_echo_n "(cached) " >&6
17715 else
17716   if test x$gcc_no_link = xyes; then
17717   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17718 fi
17719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17720 /* end confdefs.h.  */
17721
17722 #ifdef HAVE_COMPLEX_H
17723 #include <complex.h>
17724 #endif
17725 #ifdef HAVE_MATH_H
17726 #include <math.h>
17727 #endif
17728
17729 int (*ptr)() = (int (*)())atan2f;
17730
17731 int
17732 main ()
17733 {
17734   return 0;
17735 }
17736
17737 _ACEOF
17738 if ac_fn_c_try_link "$LINENO"; then :
17739   gcc_cv_math_func_atan2f=yes
17740 else
17741   gcc_cv_math_func_atan2f=no
17742 fi
17743 rm -f core conftest.err conftest.$ac_objext \
17744     conftest$ac_exeext conftest.$ac_ext
17745 fi
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17747 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17748   if test $gcc_cv_math_func_atan2f = yes; then
17749
17750 cat >>confdefs.h <<_ACEOF
17751 #define HAVE_ATAN2F 1
17752 _ACEOF
17753
17754   fi
17755
17756
17757
17758
17759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17760 $as_echo_n "checking for atan2... " >&6; }
17761 if ${gcc_cv_math_func_atan2+:} false; then :
17762   $as_echo_n "(cached) " >&6
17763 else
17764   if test x$gcc_no_link = xyes; then
17765   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17766 fi
17767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17768 /* end confdefs.h.  */
17769
17770 #ifdef HAVE_COMPLEX_H
17771 #include <complex.h>
17772 #endif
17773 #ifdef HAVE_MATH_H
17774 #include <math.h>
17775 #endif
17776
17777 int (*ptr)() = (int (*)())atan2;
17778
17779 int
17780 main ()
17781 {
17782   return 0;
17783 }
17784
17785 _ACEOF
17786 if ac_fn_c_try_link "$LINENO"; then :
17787   gcc_cv_math_func_atan2=yes
17788 else
17789   gcc_cv_math_func_atan2=no
17790 fi
17791 rm -f core conftest.err conftest.$ac_objext \
17792     conftest$ac_exeext conftest.$ac_ext
17793 fi
17794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17795 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17796   if test $gcc_cv_math_func_atan2 = yes; then
17797
17798 cat >>confdefs.h <<_ACEOF
17799 #define HAVE_ATAN2 1
17800 _ACEOF
17801
17802   fi
17803
17804
17805
17806
17807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17808 $as_echo_n "checking for atan2l... " >&6; }
17809 if ${gcc_cv_math_func_atan2l+:} false; then :
17810   $as_echo_n "(cached) " >&6
17811 else
17812   if test x$gcc_no_link = xyes; then
17813   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17814 fi
17815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17816 /* end confdefs.h.  */
17817
17818 #ifdef HAVE_COMPLEX_H
17819 #include <complex.h>
17820 #endif
17821 #ifdef HAVE_MATH_H
17822 #include <math.h>
17823 #endif
17824
17825 int (*ptr)() = (int (*)())atan2l;
17826
17827 int
17828 main ()
17829 {
17830   return 0;
17831 }
17832
17833 _ACEOF
17834 if ac_fn_c_try_link "$LINENO"; then :
17835   gcc_cv_math_func_atan2l=yes
17836 else
17837   gcc_cv_math_func_atan2l=no
17838 fi
17839 rm -f core conftest.err conftest.$ac_objext \
17840     conftest$ac_exeext conftest.$ac_ext
17841 fi
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17843 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17844   if test $gcc_cv_math_func_atan2l = yes; then
17845
17846 cat >>confdefs.h <<_ACEOF
17847 #define HAVE_ATAN2L 1
17848 _ACEOF
17849
17850   fi
17851
17852
17853
17854
17855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17856 $as_echo_n "checking for atanf... " >&6; }
17857 if ${gcc_cv_math_func_atanf+:} false; then :
17858   $as_echo_n "(cached) " >&6
17859 else
17860   if test x$gcc_no_link = xyes; then
17861   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17862 fi
17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h.  */
17865
17866 #ifdef HAVE_COMPLEX_H
17867 #include <complex.h>
17868 #endif
17869 #ifdef HAVE_MATH_H
17870 #include <math.h>
17871 #endif
17872
17873 int (*ptr)() = (int (*)())atanf;
17874
17875 int
17876 main ()
17877 {
17878   return 0;
17879 }
17880
17881 _ACEOF
17882 if ac_fn_c_try_link "$LINENO"; then :
17883   gcc_cv_math_func_atanf=yes
17884 else
17885   gcc_cv_math_func_atanf=no
17886 fi
17887 rm -f core conftest.err conftest.$ac_objext \
17888     conftest$ac_exeext conftest.$ac_ext
17889 fi
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17891 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17892   if test $gcc_cv_math_func_atanf = yes; then
17893
17894 cat >>confdefs.h <<_ACEOF
17895 #define HAVE_ATANF 1
17896 _ACEOF
17897
17898   fi
17899
17900
17901
17902
17903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17904 $as_echo_n "checking for atan... " >&6; }
17905 if ${gcc_cv_math_func_atan+:} false; then :
17906   $as_echo_n "(cached) " >&6
17907 else
17908   if test x$gcc_no_link = xyes; then
17909   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17910 fi
17911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17912 /* end confdefs.h.  */
17913
17914 #ifdef HAVE_COMPLEX_H
17915 #include <complex.h>
17916 #endif
17917 #ifdef HAVE_MATH_H
17918 #include <math.h>
17919 #endif
17920
17921 int (*ptr)() = (int (*)())atan;
17922
17923 int
17924 main ()
17925 {
17926   return 0;
17927 }
17928
17929 _ACEOF
17930 if ac_fn_c_try_link "$LINENO"; then :
17931   gcc_cv_math_func_atan=yes
17932 else
17933   gcc_cv_math_func_atan=no
17934 fi
17935 rm -f core conftest.err conftest.$ac_objext \
17936     conftest$ac_exeext conftest.$ac_ext
17937 fi
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17939 $as_echo "$gcc_cv_math_func_atan" >&6; }
17940   if test $gcc_cv_math_func_atan = yes; then
17941
17942 cat >>confdefs.h <<_ACEOF
17943 #define HAVE_ATAN 1
17944 _ACEOF
17945
17946   fi
17947
17948
17949
17950
17951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17952 $as_echo_n "checking for atanl... " >&6; }
17953 if ${gcc_cv_math_func_atanl+:} false; then :
17954   $as_echo_n "(cached) " >&6
17955 else
17956   if test x$gcc_no_link = xyes; then
17957   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17958 fi
17959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17960 /* end confdefs.h.  */
17961
17962 #ifdef HAVE_COMPLEX_H
17963 #include <complex.h>
17964 #endif
17965 #ifdef HAVE_MATH_H
17966 #include <math.h>
17967 #endif
17968
17969 int (*ptr)() = (int (*)())atanl;
17970
17971 int
17972 main ()
17973 {
17974   return 0;
17975 }
17976
17977 _ACEOF
17978 if ac_fn_c_try_link "$LINENO"; then :
17979   gcc_cv_math_func_atanl=yes
17980 else
17981   gcc_cv_math_func_atanl=no
17982 fi
17983 rm -f core conftest.err conftest.$ac_objext \
17984     conftest$ac_exeext conftest.$ac_ext
17985 fi
17986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17987 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17988   if test $gcc_cv_math_func_atanl = yes; then
17989
17990 cat >>confdefs.h <<_ACEOF
17991 #define HAVE_ATANL 1
17992 _ACEOF
17993
17994   fi
17995
17996
17997
17998
17999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
18000 $as_echo_n "checking for atanhf... " >&6; }
18001 if ${gcc_cv_math_func_atanhf+:} false; then :
18002   $as_echo_n "(cached) " >&6
18003 else
18004   if test x$gcc_no_link = xyes; then
18005   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18006 fi
18007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18008 /* end confdefs.h.  */
18009
18010 #ifdef HAVE_COMPLEX_H
18011 #include <complex.h>
18012 #endif
18013 #ifdef HAVE_MATH_H
18014 #include <math.h>
18015 #endif
18016
18017 int (*ptr)() = (int (*)())atanhf;
18018
18019 int
18020 main ()
18021 {
18022   return 0;
18023 }
18024
18025 _ACEOF
18026 if ac_fn_c_try_link "$LINENO"; then :
18027   gcc_cv_math_func_atanhf=yes
18028 else
18029   gcc_cv_math_func_atanhf=no
18030 fi
18031 rm -f core conftest.err conftest.$ac_objext \
18032     conftest$ac_exeext conftest.$ac_ext
18033 fi
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
18035 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
18036   if test $gcc_cv_math_func_atanhf = yes; then
18037
18038 cat >>confdefs.h <<_ACEOF
18039 #define HAVE_ATANHF 1
18040 _ACEOF
18041
18042   fi
18043
18044
18045
18046
18047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18048 $as_echo_n "checking for atanh... " >&6; }
18049 if ${gcc_cv_math_func_atanh+:} false; then :
18050   $as_echo_n "(cached) " >&6
18051 else
18052   if test x$gcc_no_link = xyes; then
18053   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18054 fi
18055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18056 /* end confdefs.h.  */
18057
18058 #ifdef HAVE_COMPLEX_H
18059 #include <complex.h>
18060 #endif
18061 #ifdef HAVE_MATH_H
18062 #include <math.h>
18063 #endif
18064
18065 int (*ptr)() = (int (*)())atanh;
18066
18067 int
18068 main ()
18069 {
18070   return 0;
18071 }
18072
18073 _ACEOF
18074 if ac_fn_c_try_link "$LINENO"; then :
18075   gcc_cv_math_func_atanh=yes
18076 else
18077   gcc_cv_math_func_atanh=no
18078 fi
18079 rm -f core conftest.err conftest.$ac_objext \
18080     conftest$ac_exeext conftest.$ac_ext
18081 fi
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18083 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18084   if test $gcc_cv_math_func_atanh = yes; then
18085
18086 cat >>confdefs.h <<_ACEOF
18087 #define HAVE_ATANH 1
18088 _ACEOF
18089
18090   fi
18091
18092
18093
18094
18095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18096 $as_echo_n "checking for atanhl... " >&6; }
18097 if ${gcc_cv_math_func_atanhl+:} false; then :
18098   $as_echo_n "(cached) " >&6
18099 else
18100   if test x$gcc_no_link = xyes; then
18101   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18102 fi
18103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18104 /* end confdefs.h.  */
18105
18106 #ifdef HAVE_COMPLEX_H
18107 #include <complex.h>
18108 #endif
18109 #ifdef HAVE_MATH_H
18110 #include <math.h>
18111 #endif
18112
18113 int (*ptr)() = (int (*)())atanhl;
18114
18115 int
18116 main ()
18117 {
18118   return 0;
18119 }
18120
18121 _ACEOF
18122 if ac_fn_c_try_link "$LINENO"; then :
18123   gcc_cv_math_func_atanhl=yes
18124 else
18125   gcc_cv_math_func_atanhl=no
18126 fi
18127 rm -f core conftest.err conftest.$ac_objext \
18128     conftest$ac_exeext conftest.$ac_ext
18129 fi
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18131 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18132   if test $gcc_cv_math_func_atanhl = yes; then
18133
18134 cat >>confdefs.h <<_ACEOF
18135 #define HAVE_ATANHL 1
18136 _ACEOF
18137
18138   fi
18139
18140
18141
18142
18143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18144 $as_echo_n "checking for cargf... " >&6; }
18145 if ${gcc_cv_math_func_cargf+:} false; then :
18146   $as_echo_n "(cached) " >&6
18147 else
18148   if test x$gcc_no_link = xyes; then
18149   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18150 fi
18151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18152 /* end confdefs.h.  */
18153
18154 #ifdef HAVE_COMPLEX_H
18155 #include <complex.h>
18156 #endif
18157 #ifdef HAVE_MATH_H
18158 #include <math.h>
18159 #endif
18160
18161 int (*ptr)() = (int (*)())cargf;
18162
18163 int
18164 main ()
18165 {
18166   return 0;
18167 }
18168
18169 _ACEOF
18170 if ac_fn_c_try_link "$LINENO"; then :
18171   gcc_cv_math_func_cargf=yes
18172 else
18173   gcc_cv_math_func_cargf=no
18174 fi
18175 rm -f core conftest.err conftest.$ac_objext \
18176     conftest$ac_exeext conftest.$ac_ext
18177 fi
18178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18179 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18180   if test $gcc_cv_math_func_cargf = yes; then
18181
18182 cat >>confdefs.h <<_ACEOF
18183 #define HAVE_CARGF 1
18184 _ACEOF
18185
18186   fi
18187
18188
18189
18190
18191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18192 $as_echo_n "checking for carg... " >&6; }
18193 if ${gcc_cv_math_func_carg+:} false; then :
18194   $as_echo_n "(cached) " >&6
18195 else
18196   if test x$gcc_no_link = xyes; then
18197   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18198 fi
18199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18200 /* end confdefs.h.  */
18201
18202 #ifdef HAVE_COMPLEX_H
18203 #include <complex.h>
18204 #endif
18205 #ifdef HAVE_MATH_H
18206 #include <math.h>
18207 #endif
18208
18209 int (*ptr)() = (int (*)())carg;
18210
18211 int
18212 main ()
18213 {
18214   return 0;
18215 }
18216
18217 _ACEOF
18218 if ac_fn_c_try_link "$LINENO"; then :
18219   gcc_cv_math_func_carg=yes
18220 else
18221   gcc_cv_math_func_carg=no
18222 fi
18223 rm -f core conftest.err conftest.$ac_objext \
18224     conftest$ac_exeext conftest.$ac_ext
18225 fi
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18227 $as_echo "$gcc_cv_math_func_carg" >&6; }
18228   if test $gcc_cv_math_func_carg = yes; then
18229
18230 cat >>confdefs.h <<_ACEOF
18231 #define HAVE_CARG 1
18232 _ACEOF
18233
18234   fi
18235
18236
18237
18238
18239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18240 $as_echo_n "checking for cargl... " >&6; }
18241 if ${gcc_cv_math_func_cargl+:} false; then :
18242   $as_echo_n "(cached) " >&6
18243 else
18244   if test x$gcc_no_link = xyes; then
18245   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18246 fi
18247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18248 /* end confdefs.h.  */
18249
18250 #ifdef HAVE_COMPLEX_H
18251 #include <complex.h>
18252 #endif
18253 #ifdef HAVE_MATH_H
18254 #include <math.h>
18255 #endif
18256
18257 int (*ptr)() = (int (*)())cargl;
18258
18259 int
18260 main ()
18261 {
18262   return 0;
18263 }
18264
18265 _ACEOF
18266 if ac_fn_c_try_link "$LINENO"; then :
18267   gcc_cv_math_func_cargl=yes
18268 else
18269   gcc_cv_math_func_cargl=no
18270 fi
18271 rm -f core conftest.err conftest.$ac_objext \
18272     conftest$ac_exeext conftest.$ac_ext
18273 fi
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18275 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18276   if test $gcc_cv_math_func_cargl = yes; then
18277
18278 cat >>confdefs.h <<_ACEOF
18279 #define HAVE_CARGL 1
18280 _ACEOF
18281
18282   fi
18283
18284
18285
18286
18287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18288 $as_echo_n "checking for ceilf... " >&6; }
18289 if ${gcc_cv_math_func_ceilf+:} false; then :
18290   $as_echo_n "(cached) " >&6
18291 else
18292   if test x$gcc_no_link = xyes; then
18293   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18294 fi
18295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18296 /* end confdefs.h.  */
18297
18298 #ifdef HAVE_COMPLEX_H
18299 #include <complex.h>
18300 #endif
18301 #ifdef HAVE_MATH_H
18302 #include <math.h>
18303 #endif
18304
18305 int (*ptr)() = (int (*)())ceilf;
18306
18307 int
18308 main ()
18309 {
18310   return 0;
18311 }
18312
18313 _ACEOF
18314 if ac_fn_c_try_link "$LINENO"; then :
18315   gcc_cv_math_func_ceilf=yes
18316 else
18317   gcc_cv_math_func_ceilf=no
18318 fi
18319 rm -f core conftest.err conftest.$ac_objext \
18320     conftest$ac_exeext conftest.$ac_ext
18321 fi
18322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18323 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18324   if test $gcc_cv_math_func_ceilf = yes; then
18325
18326 cat >>confdefs.h <<_ACEOF
18327 #define HAVE_CEILF 1
18328 _ACEOF
18329
18330   fi
18331
18332
18333
18334
18335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18336 $as_echo_n "checking for ceil... " >&6; }
18337 if ${gcc_cv_math_func_ceil+:} false; then :
18338   $as_echo_n "(cached) " >&6
18339 else
18340   if test x$gcc_no_link = xyes; then
18341   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18342 fi
18343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18344 /* end confdefs.h.  */
18345
18346 #ifdef HAVE_COMPLEX_H
18347 #include <complex.h>
18348 #endif
18349 #ifdef HAVE_MATH_H
18350 #include <math.h>
18351 #endif
18352
18353 int (*ptr)() = (int (*)())ceil;
18354
18355 int
18356 main ()
18357 {
18358   return 0;
18359 }
18360
18361 _ACEOF
18362 if ac_fn_c_try_link "$LINENO"; then :
18363   gcc_cv_math_func_ceil=yes
18364 else
18365   gcc_cv_math_func_ceil=no
18366 fi
18367 rm -f core conftest.err conftest.$ac_objext \
18368     conftest$ac_exeext conftest.$ac_ext
18369 fi
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18371 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18372   if test $gcc_cv_math_func_ceil = yes; then
18373
18374 cat >>confdefs.h <<_ACEOF
18375 #define HAVE_CEIL 1
18376 _ACEOF
18377
18378   fi
18379
18380
18381
18382
18383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18384 $as_echo_n "checking for ceill... " >&6; }
18385 if ${gcc_cv_math_func_ceill+:} false; then :
18386   $as_echo_n "(cached) " >&6
18387 else
18388   if test x$gcc_no_link = xyes; then
18389   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18390 fi
18391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18392 /* end confdefs.h.  */
18393
18394 #ifdef HAVE_COMPLEX_H
18395 #include <complex.h>
18396 #endif
18397 #ifdef HAVE_MATH_H
18398 #include <math.h>
18399 #endif
18400
18401 int (*ptr)() = (int (*)())ceill;
18402
18403 int
18404 main ()
18405 {
18406   return 0;
18407 }
18408
18409 _ACEOF
18410 if ac_fn_c_try_link "$LINENO"; then :
18411   gcc_cv_math_func_ceill=yes
18412 else
18413   gcc_cv_math_func_ceill=no
18414 fi
18415 rm -f core conftest.err conftest.$ac_objext \
18416     conftest$ac_exeext conftest.$ac_ext
18417 fi
18418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18419 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18420   if test $gcc_cv_math_func_ceill = yes; then
18421
18422 cat >>confdefs.h <<_ACEOF
18423 #define HAVE_CEILL 1
18424 _ACEOF
18425
18426   fi
18427
18428
18429
18430
18431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18432 $as_echo_n "checking for copysignf... " >&6; }
18433 if ${gcc_cv_math_func_copysignf+:} false; then :
18434   $as_echo_n "(cached) " >&6
18435 else
18436   if test x$gcc_no_link = xyes; then
18437   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18438 fi
18439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18440 /* end confdefs.h.  */
18441
18442 #ifdef HAVE_COMPLEX_H
18443 #include <complex.h>
18444 #endif
18445 #ifdef HAVE_MATH_H
18446 #include <math.h>
18447 #endif
18448
18449 int (*ptr)() = (int (*)())copysignf;
18450
18451 int
18452 main ()
18453 {
18454   return 0;
18455 }
18456
18457 _ACEOF
18458 if ac_fn_c_try_link "$LINENO"; then :
18459   gcc_cv_math_func_copysignf=yes
18460 else
18461   gcc_cv_math_func_copysignf=no
18462 fi
18463 rm -f core conftest.err conftest.$ac_objext \
18464     conftest$ac_exeext conftest.$ac_ext
18465 fi
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18467 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18468   if test $gcc_cv_math_func_copysignf = yes; then
18469
18470 cat >>confdefs.h <<_ACEOF
18471 #define HAVE_COPYSIGNF 1
18472 _ACEOF
18473
18474   fi
18475
18476
18477
18478
18479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18480 $as_echo_n "checking for copysign... " >&6; }
18481 if ${gcc_cv_math_func_copysign+:} false; then :
18482   $as_echo_n "(cached) " >&6
18483 else
18484   if test x$gcc_no_link = xyes; then
18485   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18486 fi
18487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18488 /* end confdefs.h.  */
18489
18490 #ifdef HAVE_COMPLEX_H
18491 #include <complex.h>
18492 #endif
18493 #ifdef HAVE_MATH_H
18494 #include <math.h>
18495 #endif
18496
18497 int (*ptr)() = (int (*)())copysign;
18498
18499 int
18500 main ()
18501 {
18502   return 0;
18503 }
18504
18505 _ACEOF
18506 if ac_fn_c_try_link "$LINENO"; then :
18507   gcc_cv_math_func_copysign=yes
18508 else
18509   gcc_cv_math_func_copysign=no
18510 fi
18511 rm -f core conftest.err conftest.$ac_objext \
18512     conftest$ac_exeext conftest.$ac_ext
18513 fi
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18515 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18516   if test $gcc_cv_math_func_copysign = yes; then
18517
18518 cat >>confdefs.h <<_ACEOF
18519 #define HAVE_COPYSIGN 1
18520 _ACEOF
18521
18522   fi
18523
18524
18525
18526
18527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18528 $as_echo_n "checking for copysignl... " >&6; }
18529 if ${gcc_cv_math_func_copysignl+:} false; then :
18530   $as_echo_n "(cached) " >&6
18531 else
18532   if test x$gcc_no_link = xyes; then
18533   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18534 fi
18535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18536 /* end confdefs.h.  */
18537
18538 #ifdef HAVE_COMPLEX_H
18539 #include <complex.h>
18540 #endif
18541 #ifdef HAVE_MATH_H
18542 #include <math.h>
18543 #endif
18544
18545 int (*ptr)() = (int (*)())copysignl;
18546
18547 int
18548 main ()
18549 {
18550   return 0;
18551 }
18552
18553 _ACEOF
18554 if ac_fn_c_try_link "$LINENO"; then :
18555   gcc_cv_math_func_copysignl=yes
18556 else
18557   gcc_cv_math_func_copysignl=no
18558 fi
18559 rm -f core conftest.err conftest.$ac_objext \
18560     conftest$ac_exeext conftest.$ac_ext
18561 fi
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18563 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18564   if test $gcc_cv_math_func_copysignl = yes; then
18565
18566 cat >>confdefs.h <<_ACEOF
18567 #define HAVE_COPYSIGNL 1
18568 _ACEOF
18569
18570   fi
18571
18572
18573
18574
18575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18576 $as_echo_n "checking for cosf... " >&6; }
18577 if ${gcc_cv_math_func_cosf+:} false; then :
18578   $as_echo_n "(cached) " >&6
18579 else
18580   if test x$gcc_no_link = xyes; then
18581   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18582 fi
18583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h.  */
18585
18586 #ifdef HAVE_COMPLEX_H
18587 #include <complex.h>
18588 #endif
18589 #ifdef HAVE_MATH_H
18590 #include <math.h>
18591 #endif
18592
18593 int (*ptr)() = (int (*)())cosf;
18594
18595 int
18596 main ()
18597 {
18598   return 0;
18599 }
18600
18601 _ACEOF
18602 if ac_fn_c_try_link "$LINENO"; then :
18603   gcc_cv_math_func_cosf=yes
18604 else
18605   gcc_cv_math_func_cosf=no
18606 fi
18607 rm -f core conftest.err conftest.$ac_objext \
18608     conftest$ac_exeext conftest.$ac_ext
18609 fi
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18611 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18612   if test $gcc_cv_math_func_cosf = yes; then
18613
18614 cat >>confdefs.h <<_ACEOF
18615 #define HAVE_COSF 1
18616 _ACEOF
18617
18618   fi
18619
18620
18621
18622
18623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18624 $as_echo_n "checking for cos... " >&6; }
18625 if ${gcc_cv_math_func_cos+:} false; then :
18626   $as_echo_n "(cached) " >&6
18627 else
18628   if test x$gcc_no_link = xyes; then
18629   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18630 fi
18631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18632 /* end confdefs.h.  */
18633
18634 #ifdef HAVE_COMPLEX_H
18635 #include <complex.h>
18636 #endif
18637 #ifdef HAVE_MATH_H
18638 #include <math.h>
18639 #endif
18640
18641 int (*ptr)() = (int (*)())cos;
18642
18643 int
18644 main ()
18645 {
18646   return 0;
18647 }
18648
18649 _ACEOF
18650 if ac_fn_c_try_link "$LINENO"; then :
18651   gcc_cv_math_func_cos=yes
18652 else
18653   gcc_cv_math_func_cos=no
18654 fi
18655 rm -f core conftest.err conftest.$ac_objext \
18656     conftest$ac_exeext conftest.$ac_ext
18657 fi
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18659 $as_echo "$gcc_cv_math_func_cos" >&6; }
18660   if test $gcc_cv_math_func_cos = yes; then
18661
18662 cat >>confdefs.h <<_ACEOF
18663 #define HAVE_COS 1
18664 _ACEOF
18665
18666   fi
18667
18668
18669
18670
18671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18672 $as_echo_n "checking for cosl... " >&6; }
18673 if ${gcc_cv_math_func_cosl+:} false; then :
18674   $as_echo_n "(cached) " >&6
18675 else
18676   if test x$gcc_no_link = xyes; then
18677   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18678 fi
18679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18680 /* end confdefs.h.  */
18681
18682 #ifdef HAVE_COMPLEX_H
18683 #include <complex.h>
18684 #endif
18685 #ifdef HAVE_MATH_H
18686 #include <math.h>
18687 #endif
18688
18689 int (*ptr)() = (int (*)())cosl;
18690
18691 int
18692 main ()
18693 {
18694   return 0;
18695 }
18696
18697 _ACEOF
18698 if ac_fn_c_try_link "$LINENO"; then :
18699   gcc_cv_math_func_cosl=yes
18700 else
18701   gcc_cv_math_func_cosl=no
18702 fi
18703 rm -f core conftest.err conftest.$ac_objext \
18704     conftest$ac_exeext conftest.$ac_ext
18705 fi
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18707 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18708   if test $gcc_cv_math_func_cosl = yes; then
18709
18710 cat >>confdefs.h <<_ACEOF
18711 #define HAVE_COSL 1
18712 _ACEOF
18713
18714   fi
18715
18716
18717
18718
18719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18720 $as_echo_n "checking for ccosf... " >&6; }
18721 if ${gcc_cv_math_func_ccosf+:} false; then :
18722   $as_echo_n "(cached) " >&6
18723 else
18724   if test x$gcc_no_link = xyes; then
18725   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18726 fi
18727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18728 /* end confdefs.h.  */
18729
18730 #ifdef HAVE_COMPLEX_H
18731 #include <complex.h>
18732 #endif
18733 #ifdef HAVE_MATH_H
18734 #include <math.h>
18735 #endif
18736
18737 int (*ptr)() = (int (*)())ccosf;
18738
18739 int
18740 main ()
18741 {
18742   return 0;
18743 }
18744
18745 _ACEOF
18746 if ac_fn_c_try_link "$LINENO"; then :
18747   gcc_cv_math_func_ccosf=yes
18748 else
18749   gcc_cv_math_func_ccosf=no
18750 fi
18751 rm -f core conftest.err conftest.$ac_objext \
18752     conftest$ac_exeext conftest.$ac_ext
18753 fi
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18755 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18756   if test $gcc_cv_math_func_ccosf = yes; then
18757
18758 cat >>confdefs.h <<_ACEOF
18759 #define HAVE_CCOSF 1
18760 _ACEOF
18761
18762   fi
18763
18764
18765
18766
18767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18768 $as_echo_n "checking for ccos... " >&6; }
18769 if ${gcc_cv_math_func_ccos+:} false; then :
18770   $as_echo_n "(cached) " >&6
18771 else
18772   if test x$gcc_no_link = xyes; then
18773   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18774 fi
18775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18776 /* end confdefs.h.  */
18777
18778 #ifdef HAVE_COMPLEX_H
18779 #include <complex.h>
18780 #endif
18781 #ifdef HAVE_MATH_H
18782 #include <math.h>
18783 #endif
18784
18785 int (*ptr)() = (int (*)())ccos;
18786
18787 int
18788 main ()
18789 {
18790   return 0;
18791 }
18792
18793 _ACEOF
18794 if ac_fn_c_try_link "$LINENO"; then :
18795   gcc_cv_math_func_ccos=yes
18796 else
18797   gcc_cv_math_func_ccos=no
18798 fi
18799 rm -f core conftest.err conftest.$ac_objext \
18800     conftest$ac_exeext conftest.$ac_ext
18801 fi
18802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18803 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18804   if test $gcc_cv_math_func_ccos = yes; then
18805
18806 cat >>confdefs.h <<_ACEOF
18807 #define HAVE_CCOS 1
18808 _ACEOF
18809
18810   fi
18811
18812
18813
18814
18815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18816 $as_echo_n "checking for ccosl... " >&6; }
18817 if ${gcc_cv_math_func_ccosl+:} false; then :
18818   $as_echo_n "(cached) " >&6
18819 else
18820   if test x$gcc_no_link = xyes; then
18821   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18822 fi
18823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18824 /* end confdefs.h.  */
18825
18826 #ifdef HAVE_COMPLEX_H
18827 #include <complex.h>
18828 #endif
18829 #ifdef HAVE_MATH_H
18830 #include <math.h>
18831 #endif
18832
18833 int (*ptr)() = (int (*)())ccosl;
18834
18835 int
18836 main ()
18837 {
18838   return 0;
18839 }
18840
18841 _ACEOF
18842 if ac_fn_c_try_link "$LINENO"; then :
18843   gcc_cv_math_func_ccosl=yes
18844 else
18845   gcc_cv_math_func_ccosl=no
18846 fi
18847 rm -f core conftest.err conftest.$ac_objext \
18848     conftest$ac_exeext conftest.$ac_ext
18849 fi
18850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18851 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18852   if test $gcc_cv_math_func_ccosl = yes; then
18853
18854 cat >>confdefs.h <<_ACEOF
18855 #define HAVE_CCOSL 1
18856 _ACEOF
18857
18858   fi
18859
18860
18861
18862
18863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18864 $as_echo_n "checking for coshf... " >&6; }
18865 if ${gcc_cv_math_func_coshf+:} false; then :
18866   $as_echo_n "(cached) " >&6
18867 else
18868   if test x$gcc_no_link = xyes; then
18869   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18870 fi
18871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18872 /* end confdefs.h.  */
18873
18874 #ifdef HAVE_COMPLEX_H
18875 #include <complex.h>
18876 #endif
18877 #ifdef HAVE_MATH_H
18878 #include <math.h>
18879 #endif
18880
18881 int (*ptr)() = (int (*)())coshf;
18882
18883 int
18884 main ()
18885 {
18886   return 0;
18887 }
18888
18889 _ACEOF
18890 if ac_fn_c_try_link "$LINENO"; then :
18891   gcc_cv_math_func_coshf=yes
18892 else
18893   gcc_cv_math_func_coshf=no
18894 fi
18895 rm -f core conftest.err conftest.$ac_objext \
18896     conftest$ac_exeext conftest.$ac_ext
18897 fi
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18899 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18900   if test $gcc_cv_math_func_coshf = yes; then
18901
18902 cat >>confdefs.h <<_ACEOF
18903 #define HAVE_COSHF 1
18904 _ACEOF
18905
18906   fi
18907
18908
18909
18910
18911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18912 $as_echo_n "checking for cosh... " >&6; }
18913 if ${gcc_cv_math_func_cosh+:} false; then :
18914   $as_echo_n "(cached) " >&6
18915 else
18916   if test x$gcc_no_link = xyes; then
18917   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18918 fi
18919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18920 /* end confdefs.h.  */
18921
18922 #ifdef HAVE_COMPLEX_H
18923 #include <complex.h>
18924 #endif
18925 #ifdef HAVE_MATH_H
18926 #include <math.h>
18927 #endif
18928
18929 int (*ptr)() = (int (*)())cosh;
18930
18931 int
18932 main ()
18933 {
18934   return 0;
18935 }
18936
18937 _ACEOF
18938 if ac_fn_c_try_link "$LINENO"; then :
18939   gcc_cv_math_func_cosh=yes
18940 else
18941   gcc_cv_math_func_cosh=no
18942 fi
18943 rm -f core conftest.err conftest.$ac_objext \
18944     conftest$ac_exeext conftest.$ac_ext
18945 fi
18946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18947 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18948   if test $gcc_cv_math_func_cosh = yes; then
18949
18950 cat >>confdefs.h <<_ACEOF
18951 #define HAVE_COSH 1
18952 _ACEOF
18953
18954   fi
18955
18956
18957
18958
18959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18960 $as_echo_n "checking for coshl... " >&6; }
18961 if ${gcc_cv_math_func_coshl+:} false; then :
18962   $as_echo_n "(cached) " >&6
18963 else
18964   if test x$gcc_no_link = xyes; then
18965   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18966 fi
18967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18968 /* end confdefs.h.  */
18969
18970 #ifdef HAVE_COMPLEX_H
18971 #include <complex.h>
18972 #endif
18973 #ifdef HAVE_MATH_H
18974 #include <math.h>
18975 #endif
18976
18977 int (*ptr)() = (int (*)())coshl;
18978
18979 int
18980 main ()
18981 {
18982   return 0;
18983 }
18984
18985 _ACEOF
18986 if ac_fn_c_try_link "$LINENO"; then :
18987   gcc_cv_math_func_coshl=yes
18988 else
18989   gcc_cv_math_func_coshl=no
18990 fi
18991 rm -f core conftest.err conftest.$ac_objext \
18992     conftest$ac_exeext conftest.$ac_ext
18993 fi
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18995 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18996   if test $gcc_cv_math_func_coshl = yes; then
18997
18998 cat >>confdefs.h <<_ACEOF
18999 #define HAVE_COSHL 1
19000 _ACEOF
19001
19002   fi
19003
19004
19005
19006
19007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
19008 $as_echo_n "checking for ccoshf... " >&6; }
19009 if ${gcc_cv_math_func_ccoshf+:} false; then :
19010   $as_echo_n "(cached) " >&6
19011 else
19012   if test x$gcc_no_link = xyes; then
19013   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19014 fi
19015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19016 /* end confdefs.h.  */
19017
19018 #ifdef HAVE_COMPLEX_H
19019 #include <complex.h>
19020 #endif
19021 #ifdef HAVE_MATH_H
19022 #include <math.h>
19023 #endif
19024
19025 int (*ptr)() = (int (*)())ccoshf;
19026
19027 int
19028 main ()
19029 {
19030   return 0;
19031 }
19032
19033 _ACEOF
19034 if ac_fn_c_try_link "$LINENO"; then :
19035   gcc_cv_math_func_ccoshf=yes
19036 else
19037   gcc_cv_math_func_ccoshf=no
19038 fi
19039 rm -f core conftest.err conftest.$ac_objext \
19040     conftest$ac_exeext conftest.$ac_ext
19041 fi
19042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
19043 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19044   if test $gcc_cv_math_func_ccoshf = yes; then
19045
19046 cat >>confdefs.h <<_ACEOF
19047 #define HAVE_CCOSHF 1
19048 _ACEOF
19049
19050   fi
19051
19052
19053
19054
19055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19056 $as_echo_n "checking for ccosh... " >&6; }
19057 if ${gcc_cv_math_func_ccosh+:} false; then :
19058   $as_echo_n "(cached) " >&6
19059 else
19060   if test x$gcc_no_link = xyes; then
19061   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19062 fi
19063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19064 /* end confdefs.h.  */
19065
19066 #ifdef HAVE_COMPLEX_H
19067 #include <complex.h>
19068 #endif
19069 #ifdef HAVE_MATH_H
19070 #include <math.h>
19071 #endif
19072
19073 int (*ptr)() = (int (*)())ccosh;
19074
19075 int
19076 main ()
19077 {
19078   return 0;
19079 }
19080
19081 _ACEOF
19082 if ac_fn_c_try_link "$LINENO"; then :
19083   gcc_cv_math_func_ccosh=yes
19084 else
19085   gcc_cv_math_func_ccosh=no
19086 fi
19087 rm -f core conftest.err conftest.$ac_objext \
19088     conftest$ac_exeext conftest.$ac_ext
19089 fi
19090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19091 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19092   if test $gcc_cv_math_func_ccosh = yes; then
19093
19094 cat >>confdefs.h <<_ACEOF
19095 #define HAVE_CCOSH 1
19096 _ACEOF
19097
19098   fi
19099
19100
19101
19102
19103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19104 $as_echo_n "checking for ccoshl... " >&6; }
19105 if ${gcc_cv_math_func_ccoshl+:} false; then :
19106   $as_echo_n "(cached) " >&6
19107 else
19108   if test x$gcc_no_link = xyes; then
19109   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19110 fi
19111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19112 /* end confdefs.h.  */
19113
19114 #ifdef HAVE_COMPLEX_H
19115 #include <complex.h>
19116 #endif
19117 #ifdef HAVE_MATH_H
19118 #include <math.h>
19119 #endif
19120
19121 int (*ptr)() = (int (*)())ccoshl;
19122
19123 int
19124 main ()
19125 {
19126   return 0;
19127 }
19128
19129 _ACEOF
19130 if ac_fn_c_try_link "$LINENO"; then :
19131   gcc_cv_math_func_ccoshl=yes
19132 else
19133   gcc_cv_math_func_ccoshl=no
19134 fi
19135 rm -f core conftest.err conftest.$ac_objext \
19136     conftest$ac_exeext conftest.$ac_ext
19137 fi
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19139 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19140   if test $gcc_cv_math_func_ccoshl = yes; then
19141
19142 cat >>confdefs.h <<_ACEOF
19143 #define HAVE_CCOSHL 1
19144 _ACEOF
19145
19146   fi
19147
19148
19149
19150
19151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19152 $as_echo_n "checking for expf... " >&6; }
19153 if ${gcc_cv_math_func_expf+:} false; then :
19154   $as_echo_n "(cached) " >&6
19155 else
19156   if test x$gcc_no_link = xyes; then
19157   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19158 fi
19159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19160 /* end confdefs.h.  */
19161
19162 #ifdef HAVE_COMPLEX_H
19163 #include <complex.h>
19164 #endif
19165 #ifdef HAVE_MATH_H
19166 #include <math.h>
19167 #endif
19168
19169 int (*ptr)() = (int (*)())expf;
19170
19171 int
19172 main ()
19173 {
19174   return 0;
19175 }
19176
19177 _ACEOF
19178 if ac_fn_c_try_link "$LINENO"; then :
19179   gcc_cv_math_func_expf=yes
19180 else
19181   gcc_cv_math_func_expf=no
19182 fi
19183 rm -f core conftest.err conftest.$ac_objext \
19184     conftest$ac_exeext conftest.$ac_ext
19185 fi
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19187 $as_echo "$gcc_cv_math_func_expf" >&6; }
19188   if test $gcc_cv_math_func_expf = yes; then
19189
19190 cat >>confdefs.h <<_ACEOF
19191 #define HAVE_EXPF 1
19192 _ACEOF
19193
19194   fi
19195
19196
19197
19198
19199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19200 $as_echo_n "checking for exp... " >&6; }
19201 if ${gcc_cv_math_func_exp+:} false; then :
19202   $as_echo_n "(cached) " >&6
19203 else
19204   if test x$gcc_no_link = xyes; then
19205   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19206 fi
19207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19208 /* end confdefs.h.  */
19209
19210 #ifdef HAVE_COMPLEX_H
19211 #include <complex.h>
19212 #endif
19213 #ifdef HAVE_MATH_H
19214 #include <math.h>
19215 #endif
19216
19217 int (*ptr)() = (int (*)())exp;
19218
19219 int
19220 main ()
19221 {
19222   return 0;
19223 }
19224
19225 _ACEOF
19226 if ac_fn_c_try_link "$LINENO"; then :
19227   gcc_cv_math_func_exp=yes
19228 else
19229   gcc_cv_math_func_exp=no
19230 fi
19231 rm -f core conftest.err conftest.$ac_objext \
19232     conftest$ac_exeext conftest.$ac_ext
19233 fi
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19235 $as_echo "$gcc_cv_math_func_exp" >&6; }
19236   if test $gcc_cv_math_func_exp = yes; then
19237
19238 cat >>confdefs.h <<_ACEOF
19239 #define HAVE_EXP 1
19240 _ACEOF
19241
19242   fi
19243
19244
19245
19246
19247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19248 $as_echo_n "checking for expl... " >&6; }
19249 if ${gcc_cv_math_func_expl+:} false; then :
19250   $as_echo_n "(cached) " >&6
19251 else
19252   if test x$gcc_no_link = xyes; then
19253   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19254 fi
19255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19256 /* end confdefs.h.  */
19257
19258 #ifdef HAVE_COMPLEX_H
19259 #include <complex.h>
19260 #endif
19261 #ifdef HAVE_MATH_H
19262 #include <math.h>
19263 #endif
19264
19265 int (*ptr)() = (int (*)())expl;
19266
19267 int
19268 main ()
19269 {
19270   return 0;
19271 }
19272
19273 _ACEOF
19274 if ac_fn_c_try_link "$LINENO"; then :
19275   gcc_cv_math_func_expl=yes
19276 else
19277   gcc_cv_math_func_expl=no
19278 fi
19279 rm -f core conftest.err conftest.$ac_objext \
19280     conftest$ac_exeext conftest.$ac_ext
19281 fi
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19283 $as_echo "$gcc_cv_math_func_expl" >&6; }
19284   if test $gcc_cv_math_func_expl = yes; then
19285
19286 cat >>confdefs.h <<_ACEOF
19287 #define HAVE_EXPL 1
19288 _ACEOF
19289
19290   fi
19291
19292
19293
19294
19295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19296 $as_echo_n "checking for cexpf... " >&6; }
19297 if ${gcc_cv_math_func_cexpf+:} false; then :
19298   $as_echo_n "(cached) " >&6
19299 else
19300   if test x$gcc_no_link = xyes; then
19301   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19302 fi
19303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19304 /* end confdefs.h.  */
19305
19306 #ifdef HAVE_COMPLEX_H
19307 #include <complex.h>
19308 #endif
19309 #ifdef HAVE_MATH_H
19310 #include <math.h>
19311 #endif
19312
19313 int (*ptr)() = (int (*)())cexpf;
19314
19315 int
19316 main ()
19317 {
19318   return 0;
19319 }
19320
19321 _ACEOF
19322 if ac_fn_c_try_link "$LINENO"; then :
19323   gcc_cv_math_func_cexpf=yes
19324 else
19325   gcc_cv_math_func_cexpf=no
19326 fi
19327 rm -f core conftest.err conftest.$ac_objext \
19328     conftest$ac_exeext conftest.$ac_ext
19329 fi
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19331 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19332   if test $gcc_cv_math_func_cexpf = yes; then
19333
19334 cat >>confdefs.h <<_ACEOF
19335 #define HAVE_CEXPF 1
19336 _ACEOF
19337
19338   fi
19339
19340
19341
19342
19343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19344 $as_echo_n "checking for cexp... " >&6; }
19345 if ${gcc_cv_math_func_cexp+:} false; then :
19346   $as_echo_n "(cached) " >&6
19347 else
19348   if test x$gcc_no_link = xyes; then
19349   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19350 fi
19351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19352 /* end confdefs.h.  */
19353
19354 #ifdef HAVE_COMPLEX_H
19355 #include <complex.h>
19356 #endif
19357 #ifdef HAVE_MATH_H
19358 #include <math.h>
19359 #endif
19360
19361 int (*ptr)() = (int (*)())cexp;
19362
19363 int
19364 main ()
19365 {
19366   return 0;
19367 }
19368
19369 _ACEOF
19370 if ac_fn_c_try_link "$LINENO"; then :
19371   gcc_cv_math_func_cexp=yes
19372 else
19373   gcc_cv_math_func_cexp=no
19374 fi
19375 rm -f core conftest.err conftest.$ac_objext \
19376     conftest$ac_exeext conftest.$ac_ext
19377 fi
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19379 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19380   if test $gcc_cv_math_func_cexp = yes; then
19381
19382 cat >>confdefs.h <<_ACEOF
19383 #define HAVE_CEXP 1
19384 _ACEOF
19385
19386   fi
19387
19388
19389
19390
19391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19392 $as_echo_n "checking for cexpl... " >&6; }
19393 if ${gcc_cv_math_func_cexpl+:} false; then :
19394   $as_echo_n "(cached) " >&6
19395 else
19396   if test x$gcc_no_link = xyes; then
19397   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19398 fi
19399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19400 /* end confdefs.h.  */
19401
19402 #ifdef HAVE_COMPLEX_H
19403 #include <complex.h>
19404 #endif
19405 #ifdef HAVE_MATH_H
19406 #include <math.h>
19407 #endif
19408
19409 int (*ptr)() = (int (*)())cexpl;
19410
19411 int
19412 main ()
19413 {
19414   return 0;
19415 }
19416
19417 _ACEOF
19418 if ac_fn_c_try_link "$LINENO"; then :
19419   gcc_cv_math_func_cexpl=yes
19420 else
19421   gcc_cv_math_func_cexpl=no
19422 fi
19423 rm -f core conftest.err conftest.$ac_objext \
19424     conftest$ac_exeext conftest.$ac_ext
19425 fi
19426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19427 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19428   if test $gcc_cv_math_func_cexpl = yes; then
19429
19430 cat >>confdefs.h <<_ACEOF
19431 #define HAVE_CEXPL 1
19432 _ACEOF
19433
19434   fi
19435
19436
19437
19438
19439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19440 $as_echo_n "checking for fabsf... " >&6; }
19441 if ${gcc_cv_math_func_fabsf+:} false; then :
19442   $as_echo_n "(cached) " >&6
19443 else
19444   if test x$gcc_no_link = xyes; then
19445   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19446 fi
19447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19448 /* end confdefs.h.  */
19449
19450 #ifdef HAVE_COMPLEX_H
19451 #include <complex.h>
19452 #endif
19453 #ifdef HAVE_MATH_H
19454 #include <math.h>
19455 #endif
19456
19457 int (*ptr)() = (int (*)())fabsf;
19458
19459 int
19460 main ()
19461 {
19462   return 0;
19463 }
19464
19465 _ACEOF
19466 if ac_fn_c_try_link "$LINENO"; then :
19467   gcc_cv_math_func_fabsf=yes
19468 else
19469   gcc_cv_math_func_fabsf=no
19470 fi
19471 rm -f core conftest.err conftest.$ac_objext \
19472     conftest$ac_exeext conftest.$ac_ext
19473 fi
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19475 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19476   if test $gcc_cv_math_func_fabsf = yes; then
19477
19478 cat >>confdefs.h <<_ACEOF
19479 #define HAVE_FABSF 1
19480 _ACEOF
19481
19482   fi
19483
19484
19485
19486
19487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19488 $as_echo_n "checking for fabs... " >&6; }
19489 if ${gcc_cv_math_func_fabs+:} false; then :
19490   $as_echo_n "(cached) " >&6
19491 else
19492   if test x$gcc_no_link = xyes; then
19493   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19494 fi
19495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19496 /* end confdefs.h.  */
19497
19498 #ifdef HAVE_COMPLEX_H
19499 #include <complex.h>
19500 #endif
19501 #ifdef HAVE_MATH_H
19502 #include <math.h>
19503 #endif
19504
19505 int (*ptr)() = (int (*)())fabs;
19506
19507 int
19508 main ()
19509 {
19510   return 0;
19511 }
19512
19513 _ACEOF
19514 if ac_fn_c_try_link "$LINENO"; then :
19515   gcc_cv_math_func_fabs=yes
19516 else
19517   gcc_cv_math_func_fabs=no
19518 fi
19519 rm -f core conftest.err conftest.$ac_objext \
19520     conftest$ac_exeext conftest.$ac_ext
19521 fi
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19523 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19524   if test $gcc_cv_math_func_fabs = yes; then
19525
19526 cat >>confdefs.h <<_ACEOF
19527 #define HAVE_FABS 1
19528 _ACEOF
19529
19530   fi
19531
19532
19533
19534
19535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19536 $as_echo_n "checking for fabsl... " >&6; }
19537 if ${gcc_cv_math_func_fabsl+:} false; then :
19538   $as_echo_n "(cached) " >&6
19539 else
19540   if test x$gcc_no_link = xyes; then
19541   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19542 fi
19543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19544 /* end confdefs.h.  */
19545
19546 #ifdef HAVE_COMPLEX_H
19547 #include <complex.h>
19548 #endif
19549 #ifdef HAVE_MATH_H
19550 #include <math.h>
19551 #endif
19552
19553 int (*ptr)() = (int (*)())fabsl;
19554
19555 int
19556 main ()
19557 {
19558   return 0;
19559 }
19560
19561 _ACEOF
19562 if ac_fn_c_try_link "$LINENO"; then :
19563   gcc_cv_math_func_fabsl=yes
19564 else
19565   gcc_cv_math_func_fabsl=no
19566 fi
19567 rm -f core conftest.err conftest.$ac_objext \
19568     conftest$ac_exeext conftest.$ac_ext
19569 fi
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19571 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19572   if test $gcc_cv_math_func_fabsl = yes; then
19573
19574 cat >>confdefs.h <<_ACEOF
19575 #define HAVE_FABSL 1
19576 _ACEOF
19577
19578   fi
19579
19580
19581
19582
19583   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19584 $as_echo_n "checking for cabsf... " >&6; }
19585 if ${gcc_cv_math_func_cabsf+:} false; then :
19586   $as_echo_n "(cached) " >&6
19587 else
19588   if test x$gcc_no_link = xyes; then
19589   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19590 fi
19591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19592 /* end confdefs.h.  */
19593
19594 #ifdef HAVE_COMPLEX_H
19595 #include <complex.h>
19596 #endif
19597 #ifdef HAVE_MATH_H
19598 #include <math.h>
19599 #endif
19600
19601 int (*ptr)() = (int (*)())cabsf;
19602
19603 int
19604 main ()
19605 {
19606   return 0;
19607 }
19608
19609 _ACEOF
19610 if ac_fn_c_try_link "$LINENO"; then :
19611   gcc_cv_math_func_cabsf=yes
19612 else
19613   gcc_cv_math_func_cabsf=no
19614 fi
19615 rm -f core conftest.err conftest.$ac_objext \
19616     conftest$ac_exeext conftest.$ac_ext
19617 fi
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19619 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19620   if test $gcc_cv_math_func_cabsf = yes; then
19621
19622 cat >>confdefs.h <<_ACEOF
19623 #define HAVE_CABSF 1
19624 _ACEOF
19625
19626   fi
19627
19628
19629
19630
19631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19632 $as_echo_n "checking for cabs... " >&6; }
19633 if ${gcc_cv_math_func_cabs+:} false; then :
19634   $as_echo_n "(cached) " >&6
19635 else
19636   if test x$gcc_no_link = xyes; then
19637   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19638 fi
19639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19640 /* end confdefs.h.  */
19641
19642 #ifdef HAVE_COMPLEX_H
19643 #include <complex.h>
19644 #endif
19645 #ifdef HAVE_MATH_H
19646 #include <math.h>
19647 #endif
19648
19649 int (*ptr)() = (int (*)())cabs;
19650
19651 int
19652 main ()
19653 {
19654   return 0;
19655 }
19656
19657 _ACEOF
19658 if ac_fn_c_try_link "$LINENO"; then :
19659   gcc_cv_math_func_cabs=yes
19660 else
19661   gcc_cv_math_func_cabs=no
19662 fi
19663 rm -f core conftest.err conftest.$ac_objext \
19664     conftest$ac_exeext conftest.$ac_ext
19665 fi
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19667 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19668   if test $gcc_cv_math_func_cabs = yes; then
19669
19670 cat >>confdefs.h <<_ACEOF
19671 #define HAVE_CABS 1
19672 _ACEOF
19673
19674   fi
19675
19676
19677
19678
19679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19680 $as_echo_n "checking for cabsl... " >&6; }
19681 if ${gcc_cv_math_func_cabsl+:} false; then :
19682   $as_echo_n "(cached) " >&6
19683 else
19684   if test x$gcc_no_link = xyes; then
19685   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19686 fi
19687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19688 /* end confdefs.h.  */
19689
19690 #ifdef HAVE_COMPLEX_H
19691 #include <complex.h>
19692 #endif
19693 #ifdef HAVE_MATH_H
19694 #include <math.h>
19695 #endif
19696
19697 int (*ptr)() = (int (*)())cabsl;
19698
19699 int
19700 main ()
19701 {
19702   return 0;
19703 }
19704
19705 _ACEOF
19706 if ac_fn_c_try_link "$LINENO"; then :
19707   gcc_cv_math_func_cabsl=yes
19708 else
19709   gcc_cv_math_func_cabsl=no
19710 fi
19711 rm -f core conftest.err conftest.$ac_objext \
19712     conftest$ac_exeext conftest.$ac_ext
19713 fi
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19715 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19716   if test $gcc_cv_math_func_cabsl = yes; then
19717
19718 cat >>confdefs.h <<_ACEOF
19719 #define HAVE_CABSL 1
19720 _ACEOF
19721
19722   fi
19723
19724
19725
19726
19727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19728 $as_echo_n "checking for floorf... " >&6; }
19729 if ${gcc_cv_math_func_floorf+:} false; then :
19730   $as_echo_n "(cached) " >&6
19731 else
19732   if test x$gcc_no_link = xyes; then
19733   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19734 fi
19735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19736 /* end confdefs.h.  */
19737
19738 #ifdef HAVE_COMPLEX_H
19739 #include <complex.h>
19740 #endif
19741 #ifdef HAVE_MATH_H
19742 #include <math.h>
19743 #endif
19744
19745 int (*ptr)() = (int (*)())floorf;
19746
19747 int
19748 main ()
19749 {
19750   return 0;
19751 }
19752
19753 _ACEOF
19754 if ac_fn_c_try_link "$LINENO"; then :
19755   gcc_cv_math_func_floorf=yes
19756 else
19757   gcc_cv_math_func_floorf=no
19758 fi
19759 rm -f core conftest.err conftest.$ac_objext \
19760     conftest$ac_exeext conftest.$ac_ext
19761 fi
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19763 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19764   if test $gcc_cv_math_func_floorf = yes; then
19765
19766 cat >>confdefs.h <<_ACEOF
19767 #define HAVE_FLOORF 1
19768 _ACEOF
19769
19770   fi
19771
19772
19773
19774
19775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19776 $as_echo_n "checking for floor... " >&6; }
19777 if ${gcc_cv_math_func_floor+:} false; then :
19778   $as_echo_n "(cached) " >&6
19779 else
19780   if test x$gcc_no_link = xyes; then
19781   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19782 fi
19783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19784 /* end confdefs.h.  */
19785
19786 #ifdef HAVE_COMPLEX_H
19787 #include <complex.h>
19788 #endif
19789 #ifdef HAVE_MATH_H
19790 #include <math.h>
19791 #endif
19792
19793 int (*ptr)() = (int (*)())floor;
19794
19795 int
19796 main ()
19797 {
19798   return 0;
19799 }
19800
19801 _ACEOF
19802 if ac_fn_c_try_link "$LINENO"; then :
19803   gcc_cv_math_func_floor=yes
19804 else
19805   gcc_cv_math_func_floor=no
19806 fi
19807 rm -f core conftest.err conftest.$ac_objext \
19808     conftest$ac_exeext conftest.$ac_ext
19809 fi
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19811 $as_echo "$gcc_cv_math_func_floor" >&6; }
19812   if test $gcc_cv_math_func_floor = yes; then
19813
19814 cat >>confdefs.h <<_ACEOF
19815 #define HAVE_FLOOR 1
19816 _ACEOF
19817
19818   fi
19819
19820
19821
19822
19823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19824 $as_echo_n "checking for floorl... " >&6; }
19825 if ${gcc_cv_math_func_floorl+:} false; then :
19826   $as_echo_n "(cached) " >&6
19827 else
19828   if test x$gcc_no_link = xyes; then
19829   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19830 fi
19831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19832 /* end confdefs.h.  */
19833
19834 #ifdef HAVE_COMPLEX_H
19835 #include <complex.h>
19836 #endif
19837 #ifdef HAVE_MATH_H
19838 #include <math.h>
19839 #endif
19840
19841 int (*ptr)() = (int (*)())floorl;
19842
19843 int
19844 main ()
19845 {
19846   return 0;
19847 }
19848
19849 _ACEOF
19850 if ac_fn_c_try_link "$LINENO"; then :
19851   gcc_cv_math_func_floorl=yes
19852 else
19853   gcc_cv_math_func_floorl=no
19854 fi
19855 rm -f core conftest.err conftest.$ac_objext \
19856     conftest$ac_exeext conftest.$ac_ext
19857 fi
19858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19859 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19860   if test $gcc_cv_math_func_floorl = yes; then
19861
19862 cat >>confdefs.h <<_ACEOF
19863 #define HAVE_FLOORL 1
19864 _ACEOF
19865
19866   fi
19867
19868
19869
19870
19871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
19872 $as_echo_n "checking for fmaf... " >&6; }
19873 if ${gcc_cv_math_func_fmaf+:} false; then :
19874   $as_echo_n "(cached) " >&6
19875 else
19876   if test x$gcc_no_link = xyes; then
19877   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19878 fi
19879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19880 /* end confdefs.h.  */
19881
19882 #ifdef HAVE_COMPLEX_H
19883 #include <complex.h>
19884 #endif
19885 #ifdef HAVE_MATH_H
19886 #include <math.h>
19887 #endif
19888
19889 int (*ptr)() = (int (*)())fmaf;
19890
19891 int
19892 main ()
19893 {
19894   return 0;
19895 }
19896
19897 _ACEOF
19898 if ac_fn_c_try_link "$LINENO"; then :
19899   gcc_cv_math_func_fmaf=yes
19900 else
19901   gcc_cv_math_func_fmaf=no
19902 fi
19903 rm -f core conftest.err conftest.$ac_objext \
19904     conftest$ac_exeext conftest.$ac_ext
19905 fi
19906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
19907 $as_echo "$gcc_cv_math_func_fmaf" >&6; }
19908   if test $gcc_cv_math_func_fmaf = yes; then
19909
19910 cat >>confdefs.h <<_ACEOF
19911 #define HAVE_FMAF 1
19912 _ACEOF
19913
19914   fi
19915
19916
19917
19918
19919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
19920 $as_echo_n "checking for fma... " >&6; }
19921 if ${gcc_cv_math_func_fma+:} false; then :
19922   $as_echo_n "(cached) " >&6
19923 else
19924   if test x$gcc_no_link = xyes; then
19925   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19926 fi
19927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19928 /* end confdefs.h.  */
19929
19930 #ifdef HAVE_COMPLEX_H
19931 #include <complex.h>
19932 #endif
19933 #ifdef HAVE_MATH_H
19934 #include <math.h>
19935 #endif
19936
19937 int (*ptr)() = (int (*)())fma;
19938
19939 int
19940 main ()
19941 {
19942   return 0;
19943 }
19944
19945 _ACEOF
19946 if ac_fn_c_try_link "$LINENO"; then :
19947   gcc_cv_math_func_fma=yes
19948 else
19949   gcc_cv_math_func_fma=no
19950 fi
19951 rm -f core conftest.err conftest.$ac_objext \
19952     conftest$ac_exeext conftest.$ac_ext
19953 fi
19954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
19955 $as_echo "$gcc_cv_math_func_fma" >&6; }
19956   if test $gcc_cv_math_func_fma = yes; then
19957
19958 cat >>confdefs.h <<_ACEOF
19959 #define HAVE_FMA 1
19960 _ACEOF
19961
19962   fi
19963
19964
19965
19966
19967   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
19968 $as_echo_n "checking for fmal... " >&6; }
19969 if ${gcc_cv_math_func_fmal+:} false; then :
19970   $as_echo_n "(cached) " >&6
19971 else
19972   if test x$gcc_no_link = xyes; then
19973   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19974 fi
19975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19976 /* end confdefs.h.  */
19977
19978 #ifdef HAVE_COMPLEX_H
19979 #include <complex.h>
19980 #endif
19981 #ifdef HAVE_MATH_H
19982 #include <math.h>
19983 #endif
19984
19985 int (*ptr)() = (int (*)())fmal;
19986
19987 int
19988 main ()
19989 {
19990   return 0;
19991 }
19992
19993 _ACEOF
19994 if ac_fn_c_try_link "$LINENO"; then :
19995   gcc_cv_math_func_fmal=yes
19996 else
19997   gcc_cv_math_func_fmal=no
19998 fi
19999 rm -f core conftest.err conftest.$ac_objext \
20000     conftest$ac_exeext conftest.$ac_ext
20001 fi
20002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
20003 $as_echo "$gcc_cv_math_func_fmal" >&6; }
20004   if test $gcc_cv_math_func_fmal = yes; then
20005
20006 cat >>confdefs.h <<_ACEOF
20007 #define HAVE_FMAL 1
20008 _ACEOF
20009
20010   fi
20011
20012
20013
20014
20015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
20016 $as_echo_n "checking for fmodf... " >&6; }
20017 if ${gcc_cv_math_func_fmodf+:} false; then :
20018   $as_echo_n "(cached) " >&6
20019 else
20020   if test x$gcc_no_link = xyes; then
20021   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20022 fi
20023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20024 /* end confdefs.h.  */
20025
20026 #ifdef HAVE_COMPLEX_H
20027 #include <complex.h>
20028 #endif
20029 #ifdef HAVE_MATH_H
20030 #include <math.h>
20031 #endif
20032
20033 int (*ptr)() = (int (*)())fmodf;
20034
20035 int
20036 main ()
20037 {
20038   return 0;
20039 }
20040
20041 _ACEOF
20042 if ac_fn_c_try_link "$LINENO"; then :
20043   gcc_cv_math_func_fmodf=yes
20044 else
20045   gcc_cv_math_func_fmodf=no
20046 fi
20047 rm -f core conftest.err conftest.$ac_objext \
20048     conftest$ac_exeext conftest.$ac_ext
20049 fi
20050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
20051 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
20052   if test $gcc_cv_math_func_fmodf = yes; then
20053
20054 cat >>confdefs.h <<_ACEOF
20055 #define HAVE_FMODF 1
20056 _ACEOF
20057
20058   fi
20059
20060
20061
20062
20063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
20064 $as_echo_n "checking for fmod... " >&6; }
20065 if ${gcc_cv_math_func_fmod+:} false; then :
20066   $as_echo_n "(cached) " >&6
20067 else
20068   if test x$gcc_no_link = xyes; then
20069   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20070 fi
20071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20072 /* end confdefs.h.  */
20073
20074 #ifdef HAVE_COMPLEX_H
20075 #include <complex.h>
20076 #endif
20077 #ifdef HAVE_MATH_H
20078 #include <math.h>
20079 #endif
20080
20081 int (*ptr)() = (int (*)())fmod;
20082
20083 int
20084 main ()
20085 {
20086   return 0;
20087 }
20088
20089 _ACEOF
20090 if ac_fn_c_try_link "$LINENO"; then :
20091   gcc_cv_math_func_fmod=yes
20092 else
20093   gcc_cv_math_func_fmod=no
20094 fi
20095 rm -f core conftest.err conftest.$ac_objext \
20096     conftest$ac_exeext conftest.$ac_ext
20097 fi
20098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
20099 $as_echo "$gcc_cv_math_func_fmod" >&6; }
20100   if test $gcc_cv_math_func_fmod = yes; then
20101
20102 cat >>confdefs.h <<_ACEOF
20103 #define HAVE_FMOD 1
20104 _ACEOF
20105
20106   fi
20107
20108
20109
20110
20111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
20112 $as_echo_n "checking for fmodl... " >&6; }
20113 if ${gcc_cv_math_func_fmodl+:} false; then :
20114   $as_echo_n "(cached) " >&6
20115 else
20116   if test x$gcc_no_link = xyes; then
20117   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20118 fi
20119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20120 /* end confdefs.h.  */
20121
20122 #ifdef HAVE_COMPLEX_H
20123 #include <complex.h>
20124 #endif
20125 #ifdef HAVE_MATH_H
20126 #include <math.h>
20127 #endif
20128
20129 int (*ptr)() = (int (*)())fmodl;
20130
20131 int
20132 main ()
20133 {
20134   return 0;
20135 }
20136
20137 _ACEOF
20138 if ac_fn_c_try_link "$LINENO"; then :
20139   gcc_cv_math_func_fmodl=yes
20140 else
20141   gcc_cv_math_func_fmodl=no
20142 fi
20143 rm -f core conftest.err conftest.$ac_objext \
20144     conftest$ac_exeext conftest.$ac_ext
20145 fi
20146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
20147 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
20148   if test $gcc_cv_math_func_fmodl = yes; then
20149
20150 cat >>confdefs.h <<_ACEOF
20151 #define HAVE_FMODL 1
20152 _ACEOF
20153
20154   fi
20155
20156
20157
20158
20159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
20160 $as_echo_n "checking for frexpf... " >&6; }
20161 if ${gcc_cv_math_func_frexpf+:} false; then :
20162   $as_echo_n "(cached) " >&6
20163 else
20164   if test x$gcc_no_link = xyes; then
20165   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20166 fi
20167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20168 /* end confdefs.h.  */
20169
20170 #ifdef HAVE_COMPLEX_H
20171 #include <complex.h>
20172 #endif
20173 #ifdef HAVE_MATH_H
20174 #include <math.h>
20175 #endif
20176
20177 int (*ptr)() = (int (*)())frexpf;
20178
20179 int
20180 main ()
20181 {
20182   return 0;
20183 }
20184
20185 _ACEOF
20186 if ac_fn_c_try_link "$LINENO"; then :
20187   gcc_cv_math_func_frexpf=yes
20188 else
20189   gcc_cv_math_func_frexpf=no
20190 fi
20191 rm -f core conftest.err conftest.$ac_objext \
20192     conftest$ac_exeext conftest.$ac_ext
20193 fi
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20195 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20196   if test $gcc_cv_math_func_frexpf = yes; then
20197
20198 cat >>confdefs.h <<_ACEOF
20199 #define HAVE_FREXPF 1
20200 _ACEOF
20201
20202   fi
20203
20204
20205
20206
20207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20208 $as_echo_n "checking for frexp... " >&6; }
20209 if ${gcc_cv_math_func_frexp+:} false; then :
20210   $as_echo_n "(cached) " >&6
20211 else
20212   if test x$gcc_no_link = xyes; then
20213   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20214 fi
20215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20216 /* end confdefs.h.  */
20217
20218 #ifdef HAVE_COMPLEX_H
20219 #include <complex.h>
20220 #endif
20221 #ifdef HAVE_MATH_H
20222 #include <math.h>
20223 #endif
20224
20225 int (*ptr)() = (int (*)())frexp;
20226
20227 int
20228 main ()
20229 {
20230   return 0;
20231 }
20232
20233 _ACEOF
20234 if ac_fn_c_try_link "$LINENO"; then :
20235   gcc_cv_math_func_frexp=yes
20236 else
20237   gcc_cv_math_func_frexp=no
20238 fi
20239 rm -f core conftest.err conftest.$ac_objext \
20240     conftest$ac_exeext conftest.$ac_ext
20241 fi
20242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20243 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20244   if test $gcc_cv_math_func_frexp = yes; then
20245
20246 cat >>confdefs.h <<_ACEOF
20247 #define HAVE_FREXP 1
20248 _ACEOF
20249
20250   fi
20251
20252
20253
20254
20255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20256 $as_echo_n "checking for frexpl... " >&6; }
20257 if ${gcc_cv_math_func_frexpl+:} false; then :
20258   $as_echo_n "(cached) " >&6
20259 else
20260   if test x$gcc_no_link = xyes; then
20261   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20262 fi
20263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20264 /* end confdefs.h.  */
20265
20266 #ifdef HAVE_COMPLEX_H
20267 #include <complex.h>
20268 #endif
20269 #ifdef HAVE_MATH_H
20270 #include <math.h>
20271 #endif
20272
20273 int (*ptr)() = (int (*)())frexpl;
20274
20275 int
20276 main ()
20277 {
20278   return 0;
20279 }
20280
20281 _ACEOF
20282 if ac_fn_c_try_link "$LINENO"; then :
20283   gcc_cv_math_func_frexpl=yes
20284 else
20285   gcc_cv_math_func_frexpl=no
20286 fi
20287 rm -f core conftest.err conftest.$ac_objext \
20288     conftest$ac_exeext conftest.$ac_ext
20289 fi
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20291 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20292   if test $gcc_cv_math_func_frexpl = yes; then
20293
20294 cat >>confdefs.h <<_ACEOF
20295 #define HAVE_FREXPL 1
20296 _ACEOF
20297
20298   fi
20299
20300
20301
20302
20303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20304 $as_echo_n "checking for hypotf... " >&6; }
20305 if ${gcc_cv_math_func_hypotf+:} false; then :
20306   $as_echo_n "(cached) " >&6
20307 else
20308   if test x$gcc_no_link = xyes; then
20309   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20310 fi
20311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20312 /* end confdefs.h.  */
20313
20314 #ifdef HAVE_COMPLEX_H
20315 #include <complex.h>
20316 #endif
20317 #ifdef HAVE_MATH_H
20318 #include <math.h>
20319 #endif
20320
20321 int (*ptr)() = (int (*)())hypotf;
20322
20323 int
20324 main ()
20325 {
20326   return 0;
20327 }
20328
20329 _ACEOF
20330 if ac_fn_c_try_link "$LINENO"; then :
20331   gcc_cv_math_func_hypotf=yes
20332 else
20333   gcc_cv_math_func_hypotf=no
20334 fi
20335 rm -f core conftest.err conftest.$ac_objext \
20336     conftest$ac_exeext conftest.$ac_ext
20337 fi
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20339 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20340   if test $gcc_cv_math_func_hypotf = yes; then
20341
20342 cat >>confdefs.h <<_ACEOF
20343 #define HAVE_HYPOTF 1
20344 _ACEOF
20345
20346   fi
20347
20348
20349
20350
20351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20352 $as_echo_n "checking for hypot... " >&6; }
20353 if ${gcc_cv_math_func_hypot+:} false; then :
20354   $as_echo_n "(cached) " >&6
20355 else
20356   if test x$gcc_no_link = xyes; then
20357   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20358 fi
20359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20360 /* end confdefs.h.  */
20361
20362 #ifdef HAVE_COMPLEX_H
20363 #include <complex.h>
20364 #endif
20365 #ifdef HAVE_MATH_H
20366 #include <math.h>
20367 #endif
20368
20369 int (*ptr)() = (int (*)())hypot;
20370
20371 int
20372 main ()
20373 {
20374   return 0;
20375 }
20376
20377 _ACEOF
20378 if ac_fn_c_try_link "$LINENO"; then :
20379   gcc_cv_math_func_hypot=yes
20380 else
20381   gcc_cv_math_func_hypot=no
20382 fi
20383 rm -f core conftest.err conftest.$ac_objext \
20384     conftest$ac_exeext conftest.$ac_ext
20385 fi
20386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20387 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20388   if test $gcc_cv_math_func_hypot = yes; then
20389
20390 cat >>confdefs.h <<_ACEOF
20391 #define HAVE_HYPOT 1
20392 _ACEOF
20393
20394   fi
20395
20396
20397
20398
20399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20400 $as_echo_n "checking for hypotl... " >&6; }
20401 if ${gcc_cv_math_func_hypotl+:} false; then :
20402   $as_echo_n "(cached) " >&6
20403 else
20404   if test x$gcc_no_link = xyes; then
20405   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20406 fi
20407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20408 /* end confdefs.h.  */
20409
20410 #ifdef HAVE_COMPLEX_H
20411 #include <complex.h>
20412 #endif
20413 #ifdef HAVE_MATH_H
20414 #include <math.h>
20415 #endif
20416
20417 int (*ptr)() = (int (*)())hypotl;
20418
20419 int
20420 main ()
20421 {
20422   return 0;
20423 }
20424
20425 _ACEOF
20426 if ac_fn_c_try_link "$LINENO"; then :
20427   gcc_cv_math_func_hypotl=yes
20428 else
20429   gcc_cv_math_func_hypotl=no
20430 fi
20431 rm -f core conftest.err conftest.$ac_objext \
20432     conftest$ac_exeext conftest.$ac_ext
20433 fi
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20435 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20436   if test $gcc_cv_math_func_hypotl = yes; then
20437
20438 cat >>confdefs.h <<_ACEOF
20439 #define HAVE_HYPOTL 1
20440 _ACEOF
20441
20442   fi
20443
20444
20445
20446
20447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20448 $as_echo_n "checking for ldexpf... " >&6; }
20449 if ${gcc_cv_math_func_ldexpf+:} false; then :
20450   $as_echo_n "(cached) " >&6
20451 else
20452   if test x$gcc_no_link = xyes; then
20453   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20454 fi
20455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20456 /* end confdefs.h.  */
20457
20458 #ifdef HAVE_COMPLEX_H
20459 #include <complex.h>
20460 #endif
20461 #ifdef HAVE_MATH_H
20462 #include <math.h>
20463 #endif
20464
20465 int (*ptr)() = (int (*)())ldexpf;
20466
20467 int
20468 main ()
20469 {
20470   return 0;
20471 }
20472
20473 _ACEOF
20474 if ac_fn_c_try_link "$LINENO"; then :
20475   gcc_cv_math_func_ldexpf=yes
20476 else
20477   gcc_cv_math_func_ldexpf=no
20478 fi
20479 rm -f core conftest.err conftest.$ac_objext \
20480     conftest$ac_exeext conftest.$ac_ext
20481 fi
20482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20483 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20484   if test $gcc_cv_math_func_ldexpf = yes; then
20485
20486 cat >>confdefs.h <<_ACEOF
20487 #define HAVE_LDEXPF 1
20488 _ACEOF
20489
20490   fi
20491
20492
20493
20494
20495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20496 $as_echo_n "checking for ldexp... " >&6; }
20497 if ${gcc_cv_math_func_ldexp+:} false; then :
20498   $as_echo_n "(cached) " >&6
20499 else
20500   if test x$gcc_no_link = xyes; then
20501   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20502 fi
20503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20504 /* end confdefs.h.  */
20505
20506 #ifdef HAVE_COMPLEX_H
20507 #include <complex.h>
20508 #endif
20509 #ifdef HAVE_MATH_H
20510 #include <math.h>
20511 #endif
20512
20513 int (*ptr)() = (int (*)())ldexp;
20514
20515 int
20516 main ()
20517 {
20518   return 0;
20519 }
20520
20521 _ACEOF
20522 if ac_fn_c_try_link "$LINENO"; then :
20523   gcc_cv_math_func_ldexp=yes
20524 else
20525   gcc_cv_math_func_ldexp=no
20526 fi
20527 rm -f core conftest.err conftest.$ac_objext \
20528     conftest$ac_exeext conftest.$ac_ext
20529 fi
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20531 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20532   if test $gcc_cv_math_func_ldexp = yes; then
20533
20534 cat >>confdefs.h <<_ACEOF
20535 #define HAVE_LDEXP 1
20536 _ACEOF
20537
20538   fi
20539
20540
20541
20542
20543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20544 $as_echo_n "checking for ldexpl... " >&6; }
20545 if ${gcc_cv_math_func_ldexpl+:} false; then :
20546   $as_echo_n "(cached) " >&6
20547 else
20548   if test x$gcc_no_link = xyes; then
20549   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20550 fi
20551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20552 /* end confdefs.h.  */
20553
20554 #ifdef HAVE_COMPLEX_H
20555 #include <complex.h>
20556 #endif
20557 #ifdef HAVE_MATH_H
20558 #include <math.h>
20559 #endif
20560
20561 int (*ptr)() = (int (*)())ldexpl;
20562
20563 int
20564 main ()
20565 {
20566   return 0;
20567 }
20568
20569 _ACEOF
20570 if ac_fn_c_try_link "$LINENO"; then :
20571   gcc_cv_math_func_ldexpl=yes
20572 else
20573   gcc_cv_math_func_ldexpl=no
20574 fi
20575 rm -f core conftest.err conftest.$ac_objext \
20576     conftest$ac_exeext conftest.$ac_ext
20577 fi
20578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20579 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20580   if test $gcc_cv_math_func_ldexpl = yes; then
20581
20582 cat >>confdefs.h <<_ACEOF
20583 #define HAVE_LDEXPL 1
20584 _ACEOF
20585
20586   fi
20587
20588
20589
20590
20591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20592 $as_echo_n "checking for logf... " >&6; }
20593 if ${gcc_cv_math_func_logf+:} false; then :
20594   $as_echo_n "(cached) " >&6
20595 else
20596   if test x$gcc_no_link = xyes; then
20597   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20598 fi
20599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20600 /* end confdefs.h.  */
20601
20602 #ifdef HAVE_COMPLEX_H
20603 #include <complex.h>
20604 #endif
20605 #ifdef HAVE_MATH_H
20606 #include <math.h>
20607 #endif
20608
20609 int (*ptr)() = (int (*)())logf;
20610
20611 int
20612 main ()
20613 {
20614   return 0;
20615 }
20616
20617 _ACEOF
20618 if ac_fn_c_try_link "$LINENO"; then :
20619   gcc_cv_math_func_logf=yes
20620 else
20621   gcc_cv_math_func_logf=no
20622 fi
20623 rm -f core conftest.err conftest.$ac_objext \
20624     conftest$ac_exeext conftest.$ac_ext
20625 fi
20626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20627 $as_echo "$gcc_cv_math_func_logf" >&6; }
20628   if test $gcc_cv_math_func_logf = yes; then
20629
20630 cat >>confdefs.h <<_ACEOF
20631 #define HAVE_LOGF 1
20632 _ACEOF
20633
20634   fi
20635
20636
20637
20638
20639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20640 $as_echo_n "checking for log... " >&6; }
20641 if ${gcc_cv_math_func_log+:} false; then :
20642   $as_echo_n "(cached) " >&6
20643 else
20644   if test x$gcc_no_link = xyes; then
20645   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20646 fi
20647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20648 /* end confdefs.h.  */
20649
20650 #ifdef HAVE_COMPLEX_H
20651 #include <complex.h>
20652 #endif
20653 #ifdef HAVE_MATH_H
20654 #include <math.h>
20655 #endif
20656
20657 int (*ptr)() = (int (*)())log;
20658
20659 int
20660 main ()
20661 {
20662   return 0;
20663 }
20664
20665 _ACEOF
20666 if ac_fn_c_try_link "$LINENO"; then :
20667   gcc_cv_math_func_log=yes
20668 else
20669   gcc_cv_math_func_log=no
20670 fi
20671 rm -f core conftest.err conftest.$ac_objext \
20672     conftest$ac_exeext conftest.$ac_ext
20673 fi
20674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20675 $as_echo "$gcc_cv_math_func_log" >&6; }
20676   if test $gcc_cv_math_func_log = yes; then
20677
20678 cat >>confdefs.h <<_ACEOF
20679 #define HAVE_LOG 1
20680 _ACEOF
20681
20682   fi
20683
20684
20685
20686
20687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20688 $as_echo_n "checking for logl... " >&6; }
20689 if ${gcc_cv_math_func_logl+:} false; then :
20690   $as_echo_n "(cached) " >&6
20691 else
20692   if test x$gcc_no_link = xyes; then
20693   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20694 fi
20695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20696 /* end confdefs.h.  */
20697
20698 #ifdef HAVE_COMPLEX_H
20699 #include <complex.h>
20700 #endif
20701 #ifdef HAVE_MATH_H
20702 #include <math.h>
20703 #endif
20704
20705 int (*ptr)() = (int (*)())logl;
20706
20707 int
20708 main ()
20709 {
20710   return 0;
20711 }
20712
20713 _ACEOF
20714 if ac_fn_c_try_link "$LINENO"; then :
20715   gcc_cv_math_func_logl=yes
20716 else
20717   gcc_cv_math_func_logl=no
20718 fi
20719 rm -f core conftest.err conftest.$ac_objext \
20720     conftest$ac_exeext conftest.$ac_ext
20721 fi
20722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20723 $as_echo "$gcc_cv_math_func_logl" >&6; }
20724   if test $gcc_cv_math_func_logl = yes; then
20725
20726 cat >>confdefs.h <<_ACEOF
20727 #define HAVE_LOGL 1
20728 _ACEOF
20729
20730   fi
20731
20732
20733
20734
20735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20736 $as_echo_n "checking for clogf... " >&6; }
20737 if ${gcc_cv_math_func_clogf+:} false; then :
20738   $as_echo_n "(cached) " >&6
20739 else
20740   if test x$gcc_no_link = xyes; then
20741   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20742 fi
20743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20744 /* end confdefs.h.  */
20745
20746 #ifdef HAVE_COMPLEX_H
20747 #include <complex.h>
20748 #endif
20749 #ifdef HAVE_MATH_H
20750 #include <math.h>
20751 #endif
20752
20753 int (*ptr)() = (int (*)())clogf;
20754
20755 int
20756 main ()
20757 {
20758   return 0;
20759 }
20760
20761 _ACEOF
20762 if ac_fn_c_try_link "$LINENO"; then :
20763   gcc_cv_math_func_clogf=yes
20764 else
20765   gcc_cv_math_func_clogf=no
20766 fi
20767 rm -f core conftest.err conftest.$ac_objext \
20768     conftest$ac_exeext conftest.$ac_ext
20769 fi
20770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20771 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20772   if test $gcc_cv_math_func_clogf = yes; then
20773
20774 cat >>confdefs.h <<_ACEOF
20775 #define HAVE_CLOGF 1
20776 _ACEOF
20777
20778   fi
20779
20780
20781
20782
20783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20784 $as_echo_n "checking for clog... " >&6; }
20785 if ${gcc_cv_math_func_clog+:} false; then :
20786   $as_echo_n "(cached) " >&6
20787 else
20788   if test x$gcc_no_link = xyes; then
20789   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20790 fi
20791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20792 /* end confdefs.h.  */
20793
20794 #ifdef HAVE_COMPLEX_H
20795 #include <complex.h>
20796 #endif
20797 #ifdef HAVE_MATH_H
20798 #include <math.h>
20799 #endif
20800
20801 int (*ptr)() = (int (*)())clog;
20802
20803 int
20804 main ()
20805 {
20806   return 0;
20807 }
20808
20809 _ACEOF
20810 if ac_fn_c_try_link "$LINENO"; then :
20811   gcc_cv_math_func_clog=yes
20812 else
20813   gcc_cv_math_func_clog=no
20814 fi
20815 rm -f core conftest.err conftest.$ac_objext \
20816     conftest$ac_exeext conftest.$ac_ext
20817 fi
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20819 $as_echo "$gcc_cv_math_func_clog" >&6; }
20820   if test $gcc_cv_math_func_clog = yes; then
20821
20822 cat >>confdefs.h <<_ACEOF
20823 #define HAVE_CLOG 1
20824 _ACEOF
20825
20826   fi
20827
20828
20829
20830
20831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20832 $as_echo_n "checking for clogl... " >&6; }
20833 if ${gcc_cv_math_func_clogl+:} false; then :
20834   $as_echo_n "(cached) " >&6
20835 else
20836   if test x$gcc_no_link = xyes; then
20837   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20838 fi
20839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20840 /* end confdefs.h.  */
20841
20842 #ifdef HAVE_COMPLEX_H
20843 #include <complex.h>
20844 #endif
20845 #ifdef HAVE_MATH_H
20846 #include <math.h>
20847 #endif
20848
20849 int (*ptr)() = (int (*)())clogl;
20850
20851 int
20852 main ()
20853 {
20854   return 0;
20855 }
20856
20857 _ACEOF
20858 if ac_fn_c_try_link "$LINENO"; then :
20859   gcc_cv_math_func_clogl=yes
20860 else
20861   gcc_cv_math_func_clogl=no
20862 fi
20863 rm -f core conftest.err conftest.$ac_objext \
20864     conftest$ac_exeext conftest.$ac_ext
20865 fi
20866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20867 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20868   if test $gcc_cv_math_func_clogl = yes; then
20869
20870 cat >>confdefs.h <<_ACEOF
20871 #define HAVE_CLOGL 1
20872 _ACEOF
20873
20874   fi
20875
20876
20877
20878
20879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20880 $as_echo_n "checking for log10f... " >&6; }
20881 if ${gcc_cv_math_func_log10f+:} false; then :
20882   $as_echo_n "(cached) " >&6
20883 else
20884   if test x$gcc_no_link = xyes; then
20885   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20886 fi
20887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20888 /* end confdefs.h.  */
20889
20890 #ifdef HAVE_COMPLEX_H
20891 #include <complex.h>
20892 #endif
20893 #ifdef HAVE_MATH_H
20894 #include <math.h>
20895 #endif
20896
20897 int (*ptr)() = (int (*)())log10f;
20898
20899 int
20900 main ()
20901 {
20902   return 0;
20903 }
20904
20905 _ACEOF
20906 if ac_fn_c_try_link "$LINENO"; then :
20907   gcc_cv_math_func_log10f=yes
20908 else
20909   gcc_cv_math_func_log10f=no
20910 fi
20911 rm -f core conftest.err conftest.$ac_objext \
20912     conftest$ac_exeext conftest.$ac_ext
20913 fi
20914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20915 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20916   if test $gcc_cv_math_func_log10f = yes; then
20917
20918 cat >>confdefs.h <<_ACEOF
20919 #define HAVE_LOG10F 1
20920 _ACEOF
20921
20922   fi
20923
20924
20925
20926
20927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20928 $as_echo_n "checking for log10... " >&6; }
20929 if ${gcc_cv_math_func_log10+:} false; then :
20930   $as_echo_n "(cached) " >&6
20931 else
20932   if test x$gcc_no_link = xyes; then
20933   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20934 fi
20935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20936 /* end confdefs.h.  */
20937
20938 #ifdef HAVE_COMPLEX_H
20939 #include <complex.h>
20940 #endif
20941 #ifdef HAVE_MATH_H
20942 #include <math.h>
20943 #endif
20944
20945 int (*ptr)() = (int (*)())log10;
20946
20947 int
20948 main ()
20949 {
20950   return 0;
20951 }
20952
20953 _ACEOF
20954 if ac_fn_c_try_link "$LINENO"; then :
20955   gcc_cv_math_func_log10=yes
20956 else
20957   gcc_cv_math_func_log10=no
20958 fi
20959 rm -f core conftest.err conftest.$ac_objext \
20960     conftest$ac_exeext conftest.$ac_ext
20961 fi
20962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20963 $as_echo "$gcc_cv_math_func_log10" >&6; }
20964   if test $gcc_cv_math_func_log10 = yes; then
20965
20966 cat >>confdefs.h <<_ACEOF
20967 #define HAVE_LOG10 1
20968 _ACEOF
20969
20970   fi
20971
20972
20973
20974
20975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20976 $as_echo_n "checking for log10l... " >&6; }
20977 if ${gcc_cv_math_func_log10l+:} false; then :
20978   $as_echo_n "(cached) " >&6
20979 else
20980   if test x$gcc_no_link = xyes; then
20981   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20982 fi
20983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20984 /* end confdefs.h.  */
20985
20986 #ifdef HAVE_COMPLEX_H
20987 #include <complex.h>
20988 #endif
20989 #ifdef HAVE_MATH_H
20990 #include <math.h>
20991 #endif
20992
20993 int (*ptr)() = (int (*)())log10l;
20994
20995 int
20996 main ()
20997 {
20998   return 0;
20999 }
21000
21001 _ACEOF
21002 if ac_fn_c_try_link "$LINENO"; then :
21003   gcc_cv_math_func_log10l=yes
21004 else
21005   gcc_cv_math_func_log10l=no
21006 fi
21007 rm -f core conftest.err conftest.$ac_objext \
21008     conftest$ac_exeext conftest.$ac_ext
21009 fi
21010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
21011 $as_echo "$gcc_cv_math_func_log10l" >&6; }
21012   if test $gcc_cv_math_func_log10l = yes; then
21013
21014 cat >>confdefs.h <<_ACEOF
21015 #define HAVE_LOG10L 1
21016 _ACEOF
21017
21018   fi
21019
21020
21021
21022
21023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
21024 $as_echo_n "checking for clog10f... " >&6; }
21025 if ${gcc_cv_math_func_clog10f+:} false; then :
21026   $as_echo_n "(cached) " >&6
21027 else
21028   if test x$gcc_no_link = xyes; then
21029   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21030 fi
21031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21032 /* end confdefs.h.  */
21033
21034 #ifdef HAVE_COMPLEX_H
21035 #include <complex.h>
21036 #endif
21037 #ifdef HAVE_MATH_H
21038 #include <math.h>
21039 #endif
21040
21041 int (*ptr)() = (int (*)())clog10f;
21042
21043 int
21044 main ()
21045 {
21046   return 0;
21047 }
21048
21049 _ACEOF
21050 if ac_fn_c_try_link "$LINENO"; then :
21051   gcc_cv_math_func_clog10f=yes
21052 else
21053   gcc_cv_math_func_clog10f=no
21054 fi
21055 rm -f core conftest.err conftest.$ac_objext \
21056     conftest$ac_exeext conftest.$ac_ext
21057 fi
21058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
21059 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
21060   if test $gcc_cv_math_func_clog10f = yes; then
21061
21062 cat >>confdefs.h <<_ACEOF
21063 #define HAVE_CLOG10F 1
21064 _ACEOF
21065
21066   fi
21067
21068
21069
21070
21071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
21072 $as_echo_n "checking for clog10... " >&6; }
21073 if ${gcc_cv_math_func_clog10+:} false; then :
21074   $as_echo_n "(cached) " >&6
21075 else
21076   if test x$gcc_no_link = xyes; then
21077   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21078 fi
21079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21080 /* end confdefs.h.  */
21081
21082 #ifdef HAVE_COMPLEX_H
21083 #include <complex.h>
21084 #endif
21085 #ifdef HAVE_MATH_H
21086 #include <math.h>
21087 #endif
21088
21089 int (*ptr)() = (int (*)())clog10;
21090
21091 int
21092 main ()
21093 {
21094   return 0;
21095 }
21096
21097 _ACEOF
21098 if ac_fn_c_try_link "$LINENO"; then :
21099   gcc_cv_math_func_clog10=yes
21100 else
21101   gcc_cv_math_func_clog10=no
21102 fi
21103 rm -f core conftest.err conftest.$ac_objext \
21104     conftest$ac_exeext conftest.$ac_ext
21105 fi
21106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
21107 $as_echo "$gcc_cv_math_func_clog10" >&6; }
21108   if test $gcc_cv_math_func_clog10 = yes; then
21109
21110 cat >>confdefs.h <<_ACEOF
21111 #define HAVE_CLOG10 1
21112 _ACEOF
21113
21114   fi
21115
21116
21117
21118
21119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
21120 $as_echo_n "checking for clog10l... " >&6; }
21121 if ${gcc_cv_math_func_clog10l+:} false; then :
21122   $as_echo_n "(cached) " >&6
21123 else
21124   if test x$gcc_no_link = xyes; then
21125   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21126 fi
21127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21128 /* end confdefs.h.  */
21129
21130 #ifdef HAVE_COMPLEX_H
21131 #include <complex.h>
21132 #endif
21133 #ifdef HAVE_MATH_H
21134 #include <math.h>
21135 #endif
21136
21137 int (*ptr)() = (int (*)())clog10l;
21138
21139 int
21140 main ()
21141 {
21142   return 0;
21143 }
21144
21145 _ACEOF
21146 if ac_fn_c_try_link "$LINENO"; then :
21147   gcc_cv_math_func_clog10l=yes
21148 else
21149   gcc_cv_math_func_clog10l=no
21150 fi
21151 rm -f core conftest.err conftest.$ac_objext \
21152     conftest$ac_exeext conftest.$ac_ext
21153 fi
21154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
21155 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
21156   if test $gcc_cv_math_func_clog10l = yes; then
21157
21158 cat >>confdefs.h <<_ACEOF
21159 #define HAVE_CLOG10L 1
21160 _ACEOF
21161
21162   fi
21163
21164
21165
21166
21167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
21168 $as_echo_n "checking for nextafterf... " >&6; }
21169 if ${gcc_cv_math_func_nextafterf+:} false; then :
21170   $as_echo_n "(cached) " >&6
21171 else
21172   if test x$gcc_no_link = xyes; then
21173   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21174 fi
21175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21176 /* end confdefs.h.  */
21177
21178 #ifdef HAVE_COMPLEX_H
21179 #include <complex.h>
21180 #endif
21181 #ifdef HAVE_MATH_H
21182 #include <math.h>
21183 #endif
21184
21185 int (*ptr)() = (int (*)())nextafterf;
21186
21187 int
21188 main ()
21189 {
21190   return 0;
21191 }
21192
21193 _ACEOF
21194 if ac_fn_c_try_link "$LINENO"; then :
21195   gcc_cv_math_func_nextafterf=yes
21196 else
21197   gcc_cv_math_func_nextafterf=no
21198 fi
21199 rm -f core conftest.err conftest.$ac_objext \
21200     conftest$ac_exeext conftest.$ac_ext
21201 fi
21202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21203 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21204   if test $gcc_cv_math_func_nextafterf = yes; then
21205
21206 cat >>confdefs.h <<_ACEOF
21207 #define HAVE_NEXTAFTERF 1
21208 _ACEOF
21209
21210   fi
21211
21212
21213
21214
21215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21216 $as_echo_n "checking for nextafter... " >&6; }
21217 if ${gcc_cv_math_func_nextafter+:} false; then :
21218   $as_echo_n "(cached) " >&6
21219 else
21220   if test x$gcc_no_link = xyes; then
21221   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21222 fi
21223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21224 /* end confdefs.h.  */
21225
21226 #ifdef HAVE_COMPLEX_H
21227 #include <complex.h>
21228 #endif
21229 #ifdef HAVE_MATH_H
21230 #include <math.h>
21231 #endif
21232
21233 int (*ptr)() = (int (*)())nextafter;
21234
21235 int
21236 main ()
21237 {
21238   return 0;
21239 }
21240
21241 _ACEOF
21242 if ac_fn_c_try_link "$LINENO"; then :
21243   gcc_cv_math_func_nextafter=yes
21244 else
21245   gcc_cv_math_func_nextafter=no
21246 fi
21247 rm -f core conftest.err conftest.$ac_objext \
21248     conftest$ac_exeext conftest.$ac_ext
21249 fi
21250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21251 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21252   if test $gcc_cv_math_func_nextafter = yes; then
21253
21254 cat >>confdefs.h <<_ACEOF
21255 #define HAVE_NEXTAFTER 1
21256 _ACEOF
21257
21258   fi
21259
21260
21261
21262
21263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21264 $as_echo_n "checking for nextafterl... " >&6; }
21265 if ${gcc_cv_math_func_nextafterl+:} false; then :
21266   $as_echo_n "(cached) " >&6
21267 else
21268   if test x$gcc_no_link = xyes; then
21269   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21270 fi
21271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21272 /* end confdefs.h.  */
21273
21274 #ifdef HAVE_COMPLEX_H
21275 #include <complex.h>
21276 #endif
21277 #ifdef HAVE_MATH_H
21278 #include <math.h>
21279 #endif
21280
21281 int (*ptr)() = (int (*)())nextafterl;
21282
21283 int
21284 main ()
21285 {
21286   return 0;
21287 }
21288
21289 _ACEOF
21290 if ac_fn_c_try_link "$LINENO"; then :
21291   gcc_cv_math_func_nextafterl=yes
21292 else
21293   gcc_cv_math_func_nextafterl=no
21294 fi
21295 rm -f core conftest.err conftest.$ac_objext \
21296     conftest$ac_exeext conftest.$ac_ext
21297 fi
21298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21299 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21300   if test $gcc_cv_math_func_nextafterl = yes; then
21301
21302 cat >>confdefs.h <<_ACEOF
21303 #define HAVE_NEXTAFTERL 1
21304 _ACEOF
21305
21306   fi
21307
21308
21309
21310
21311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21312 $as_echo_n "checking for powf... " >&6; }
21313 if ${gcc_cv_math_func_powf+:} false; then :
21314   $as_echo_n "(cached) " >&6
21315 else
21316   if test x$gcc_no_link = xyes; then
21317   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21318 fi
21319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21320 /* end confdefs.h.  */
21321
21322 #ifdef HAVE_COMPLEX_H
21323 #include <complex.h>
21324 #endif
21325 #ifdef HAVE_MATH_H
21326 #include <math.h>
21327 #endif
21328
21329 int (*ptr)() = (int (*)())powf;
21330
21331 int
21332 main ()
21333 {
21334   return 0;
21335 }
21336
21337 _ACEOF
21338 if ac_fn_c_try_link "$LINENO"; then :
21339   gcc_cv_math_func_powf=yes
21340 else
21341   gcc_cv_math_func_powf=no
21342 fi
21343 rm -f core conftest.err conftest.$ac_objext \
21344     conftest$ac_exeext conftest.$ac_ext
21345 fi
21346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21347 $as_echo "$gcc_cv_math_func_powf" >&6; }
21348   if test $gcc_cv_math_func_powf = yes; then
21349
21350 cat >>confdefs.h <<_ACEOF
21351 #define HAVE_POWF 1
21352 _ACEOF
21353
21354   fi
21355
21356
21357
21358
21359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21360 $as_echo_n "checking for pow... " >&6; }
21361 if ${gcc_cv_math_func_pow+:} false; then :
21362   $as_echo_n "(cached) " >&6
21363 else
21364   if test x$gcc_no_link = xyes; then
21365   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21366 fi
21367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21368 /* end confdefs.h.  */
21369
21370 #ifdef HAVE_COMPLEX_H
21371 #include <complex.h>
21372 #endif
21373 #ifdef HAVE_MATH_H
21374 #include <math.h>
21375 #endif
21376
21377 int (*ptr)() = (int (*)())pow;
21378
21379 int
21380 main ()
21381 {
21382   return 0;
21383 }
21384
21385 _ACEOF
21386 if ac_fn_c_try_link "$LINENO"; then :
21387   gcc_cv_math_func_pow=yes
21388 else
21389   gcc_cv_math_func_pow=no
21390 fi
21391 rm -f core conftest.err conftest.$ac_objext \
21392     conftest$ac_exeext conftest.$ac_ext
21393 fi
21394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21395 $as_echo "$gcc_cv_math_func_pow" >&6; }
21396   if test $gcc_cv_math_func_pow = yes; then
21397
21398 cat >>confdefs.h <<_ACEOF
21399 #define HAVE_POW 1
21400 _ACEOF
21401
21402   fi
21403
21404
21405
21406
21407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21408 $as_echo_n "checking for cpowf... " >&6; }
21409 if ${gcc_cv_math_func_cpowf+:} false; then :
21410   $as_echo_n "(cached) " >&6
21411 else
21412   if test x$gcc_no_link = xyes; then
21413   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21414 fi
21415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21416 /* end confdefs.h.  */
21417
21418 #ifdef HAVE_COMPLEX_H
21419 #include <complex.h>
21420 #endif
21421 #ifdef HAVE_MATH_H
21422 #include <math.h>
21423 #endif
21424
21425 int (*ptr)() = (int (*)())cpowf;
21426
21427 int
21428 main ()
21429 {
21430   return 0;
21431 }
21432
21433 _ACEOF
21434 if ac_fn_c_try_link "$LINENO"; then :
21435   gcc_cv_math_func_cpowf=yes
21436 else
21437   gcc_cv_math_func_cpowf=no
21438 fi
21439 rm -f core conftest.err conftest.$ac_objext \
21440     conftest$ac_exeext conftest.$ac_ext
21441 fi
21442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21443 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21444   if test $gcc_cv_math_func_cpowf = yes; then
21445
21446 cat >>confdefs.h <<_ACEOF
21447 #define HAVE_CPOWF 1
21448 _ACEOF
21449
21450   fi
21451
21452
21453
21454
21455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21456 $as_echo_n "checking for cpow... " >&6; }
21457 if ${gcc_cv_math_func_cpow+:} false; then :
21458   $as_echo_n "(cached) " >&6
21459 else
21460   if test x$gcc_no_link = xyes; then
21461   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21462 fi
21463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21464 /* end confdefs.h.  */
21465
21466 #ifdef HAVE_COMPLEX_H
21467 #include <complex.h>
21468 #endif
21469 #ifdef HAVE_MATH_H
21470 #include <math.h>
21471 #endif
21472
21473 int (*ptr)() = (int (*)())cpow;
21474
21475 int
21476 main ()
21477 {
21478   return 0;
21479 }
21480
21481 _ACEOF
21482 if ac_fn_c_try_link "$LINENO"; then :
21483   gcc_cv_math_func_cpow=yes
21484 else
21485   gcc_cv_math_func_cpow=no
21486 fi
21487 rm -f core conftest.err conftest.$ac_objext \
21488     conftest$ac_exeext conftest.$ac_ext
21489 fi
21490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21491 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21492   if test $gcc_cv_math_func_cpow = yes; then
21493
21494 cat >>confdefs.h <<_ACEOF
21495 #define HAVE_CPOW 1
21496 _ACEOF
21497
21498   fi
21499
21500
21501
21502
21503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21504 $as_echo_n "checking for cpowl... " >&6; }
21505 if ${gcc_cv_math_func_cpowl+:} false; then :
21506   $as_echo_n "(cached) " >&6
21507 else
21508   if test x$gcc_no_link = xyes; then
21509   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21510 fi
21511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21512 /* end confdefs.h.  */
21513
21514 #ifdef HAVE_COMPLEX_H
21515 #include <complex.h>
21516 #endif
21517 #ifdef HAVE_MATH_H
21518 #include <math.h>
21519 #endif
21520
21521 int (*ptr)() = (int (*)())cpowl;
21522
21523 int
21524 main ()
21525 {
21526   return 0;
21527 }
21528
21529 _ACEOF
21530 if ac_fn_c_try_link "$LINENO"; then :
21531   gcc_cv_math_func_cpowl=yes
21532 else
21533   gcc_cv_math_func_cpowl=no
21534 fi
21535 rm -f core conftest.err conftest.$ac_objext \
21536     conftest$ac_exeext conftest.$ac_ext
21537 fi
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21539 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21540   if test $gcc_cv_math_func_cpowl = yes; then
21541
21542 cat >>confdefs.h <<_ACEOF
21543 #define HAVE_CPOWL 1
21544 _ACEOF
21545
21546   fi
21547
21548
21549
21550
21551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21552 $as_echo_n "checking for roundf... " >&6; }
21553 if ${gcc_cv_math_func_roundf+:} false; then :
21554   $as_echo_n "(cached) " >&6
21555 else
21556   if test x$gcc_no_link = xyes; then
21557   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21558 fi
21559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21560 /* end confdefs.h.  */
21561
21562 #ifdef HAVE_COMPLEX_H
21563 #include <complex.h>
21564 #endif
21565 #ifdef HAVE_MATH_H
21566 #include <math.h>
21567 #endif
21568
21569 int (*ptr)() = (int (*)())roundf;
21570
21571 int
21572 main ()
21573 {
21574   return 0;
21575 }
21576
21577 _ACEOF
21578 if ac_fn_c_try_link "$LINENO"; then :
21579   gcc_cv_math_func_roundf=yes
21580 else
21581   gcc_cv_math_func_roundf=no
21582 fi
21583 rm -f core conftest.err conftest.$ac_objext \
21584     conftest$ac_exeext conftest.$ac_ext
21585 fi
21586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21587 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21588   if test $gcc_cv_math_func_roundf = yes; then
21589
21590 cat >>confdefs.h <<_ACEOF
21591 #define HAVE_ROUNDF 1
21592 _ACEOF
21593
21594   fi
21595
21596
21597
21598
21599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21600 $as_echo_n "checking for round... " >&6; }
21601 if ${gcc_cv_math_func_round+:} false; then :
21602   $as_echo_n "(cached) " >&6
21603 else
21604   if test x$gcc_no_link = xyes; then
21605   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21606 fi
21607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21608 /* end confdefs.h.  */
21609
21610 #ifdef HAVE_COMPLEX_H
21611 #include <complex.h>
21612 #endif
21613 #ifdef HAVE_MATH_H
21614 #include <math.h>
21615 #endif
21616
21617 int (*ptr)() = (int (*)())round;
21618
21619 int
21620 main ()
21621 {
21622   return 0;
21623 }
21624
21625 _ACEOF
21626 if ac_fn_c_try_link "$LINENO"; then :
21627   gcc_cv_math_func_round=yes
21628 else
21629   gcc_cv_math_func_round=no
21630 fi
21631 rm -f core conftest.err conftest.$ac_objext \
21632     conftest$ac_exeext conftest.$ac_ext
21633 fi
21634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21635 $as_echo "$gcc_cv_math_func_round" >&6; }
21636   if test $gcc_cv_math_func_round = yes; then
21637
21638 cat >>confdefs.h <<_ACEOF
21639 #define HAVE_ROUND 1
21640 _ACEOF
21641
21642   fi
21643
21644
21645
21646
21647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21648 $as_echo_n "checking for roundl... " >&6; }
21649 if ${gcc_cv_math_func_roundl+:} false; then :
21650   $as_echo_n "(cached) " >&6
21651 else
21652   if test x$gcc_no_link = xyes; then
21653   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21654 fi
21655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21656 /* end confdefs.h.  */
21657
21658 #ifdef HAVE_COMPLEX_H
21659 #include <complex.h>
21660 #endif
21661 #ifdef HAVE_MATH_H
21662 #include <math.h>
21663 #endif
21664
21665 int (*ptr)() = (int (*)())roundl;
21666
21667 int
21668 main ()
21669 {
21670   return 0;
21671 }
21672
21673 _ACEOF
21674 if ac_fn_c_try_link "$LINENO"; then :
21675   gcc_cv_math_func_roundl=yes
21676 else
21677   gcc_cv_math_func_roundl=no
21678 fi
21679 rm -f core conftest.err conftest.$ac_objext \
21680     conftest$ac_exeext conftest.$ac_ext
21681 fi
21682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21683 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21684   if test $gcc_cv_math_func_roundl = yes; then
21685
21686 cat >>confdefs.h <<_ACEOF
21687 #define HAVE_ROUNDL 1
21688 _ACEOF
21689
21690   fi
21691
21692
21693
21694
21695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21696 $as_echo_n "checking for lroundf... " >&6; }
21697 if ${gcc_cv_math_func_lroundf+:} false; then :
21698   $as_echo_n "(cached) " >&6
21699 else
21700   if test x$gcc_no_link = xyes; then
21701   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21702 fi
21703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21704 /* end confdefs.h.  */
21705
21706 #ifdef HAVE_COMPLEX_H
21707 #include <complex.h>
21708 #endif
21709 #ifdef HAVE_MATH_H
21710 #include <math.h>
21711 #endif
21712
21713 int (*ptr)() = (int (*)())lroundf;
21714
21715 int
21716 main ()
21717 {
21718   return 0;
21719 }
21720
21721 _ACEOF
21722 if ac_fn_c_try_link "$LINENO"; then :
21723   gcc_cv_math_func_lroundf=yes
21724 else
21725   gcc_cv_math_func_lroundf=no
21726 fi
21727 rm -f core conftest.err conftest.$ac_objext \
21728     conftest$ac_exeext conftest.$ac_ext
21729 fi
21730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21731 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21732   if test $gcc_cv_math_func_lroundf = yes; then
21733
21734 cat >>confdefs.h <<_ACEOF
21735 #define HAVE_LROUNDF 1
21736 _ACEOF
21737
21738   fi
21739
21740
21741
21742
21743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21744 $as_echo_n "checking for lround... " >&6; }
21745 if ${gcc_cv_math_func_lround+:} false; then :
21746   $as_echo_n "(cached) " >&6
21747 else
21748   if test x$gcc_no_link = xyes; then
21749   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21750 fi
21751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21752 /* end confdefs.h.  */
21753
21754 #ifdef HAVE_COMPLEX_H
21755 #include <complex.h>
21756 #endif
21757 #ifdef HAVE_MATH_H
21758 #include <math.h>
21759 #endif
21760
21761 int (*ptr)() = (int (*)())lround;
21762
21763 int
21764 main ()
21765 {
21766   return 0;
21767 }
21768
21769 _ACEOF
21770 if ac_fn_c_try_link "$LINENO"; then :
21771   gcc_cv_math_func_lround=yes
21772 else
21773   gcc_cv_math_func_lround=no
21774 fi
21775 rm -f core conftest.err conftest.$ac_objext \
21776     conftest$ac_exeext conftest.$ac_ext
21777 fi
21778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21779 $as_echo "$gcc_cv_math_func_lround" >&6; }
21780   if test $gcc_cv_math_func_lround = yes; then
21781
21782 cat >>confdefs.h <<_ACEOF
21783 #define HAVE_LROUND 1
21784 _ACEOF
21785
21786   fi
21787
21788
21789
21790
21791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21792 $as_echo_n "checking for lroundl... " >&6; }
21793 if ${gcc_cv_math_func_lroundl+:} false; then :
21794   $as_echo_n "(cached) " >&6
21795 else
21796   if test x$gcc_no_link = xyes; then
21797   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21798 fi
21799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21800 /* end confdefs.h.  */
21801
21802 #ifdef HAVE_COMPLEX_H
21803 #include <complex.h>
21804 #endif
21805 #ifdef HAVE_MATH_H
21806 #include <math.h>
21807 #endif
21808
21809 int (*ptr)() = (int (*)())lroundl;
21810
21811 int
21812 main ()
21813 {
21814   return 0;
21815 }
21816
21817 _ACEOF
21818 if ac_fn_c_try_link "$LINENO"; then :
21819   gcc_cv_math_func_lroundl=yes
21820 else
21821   gcc_cv_math_func_lroundl=no
21822 fi
21823 rm -f core conftest.err conftest.$ac_objext \
21824     conftest$ac_exeext conftest.$ac_ext
21825 fi
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21827 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21828   if test $gcc_cv_math_func_lroundl = yes; then
21829
21830 cat >>confdefs.h <<_ACEOF
21831 #define HAVE_LROUNDL 1
21832 _ACEOF
21833
21834   fi
21835
21836
21837
21838
21839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21840 $as_echo_n "checking for llroundf... " >&6; }
21841 if ${gcc_cv_math_func_llroundf+:} false; then :
21842   $as_echo_n "(cached) " >&6
21843 else
21844   if test x$gcc_no_link = xyes; then
21845   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21846 fi
21847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21848 /* end confdefs.h.  */
21849
21850 #ifdef HAVE_COMPLEX_H
21851 #include <complex.h>
21852 #endif
21853 #ifdef HAVE_MATH_H
21854 #include <math.h>
21855 #endif
21856
21857 int (*ptr)() = (int (*)())llroundf;
21858
21859 int
21860 main ()
21861 {
21862   return 0;
21863 }
21864
21865 _ACEOF
21866 if ac_fn_c_try_link "$LINENO"; then :
21867   gcc_cv_math_func_llroundf=yes
21868 else
21869   gcc_cv_math_func_llroundf=no
21870 fi
21871 rm -f core conftest.err conftest.$ac_objext \
21872     conftest$ac_exeext conftest.$ac_ext
21873 fi
21874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21875 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21876   if test $gcc_cv_math_func_llroundf = yes; then
21877
21878 cat >>confdefs.h <<_ACEOF
21879 #define HAVE_LLROUNDF 1
21880 _ACEOF
21881
21882   fi
21883
21884
21885
21886
21887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21888 $as_echo_n "checking for llround... " >&6; }
21889 if ${gcc_cv_math_func_llround+:} false; then :
21890   $as_echo_n "(cached) " >&6
21891 else
21892   if test x$gcc_no_link = xyes; then
21893   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21894 fi
21895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21896 /* end confdefs.h.  */
21897
21898 #ifdef HAVE_COMPLEX_H
21899 #include <complex.h>
21900 #endif
21901 #ifdef HAVE_MATH_H
21902 #include <math.h>
21903 #endif
21904
21905 int (*ptr)() = (int (*)())llround;
21906
21907 int
21908 main ()
21909 {
21910   return 0;
21911 }
21912
21913 _ACEOF
21914 if ac_fn_c_try_link "$LINENO"; then :
21915   gcc_cv_math_func_llround=yes
21916 else
21917   gcc_cv_math_func_llround=no
21918 fi
21919 rm -f core conftest.err conftest.$ac_objext \
21920     conftest$ac_exeext conftest.$ac_ext
21921 fi
21922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21923 $as_echo "$gcc_cv_math_func_llround" >&6; }
21924   if test $gcc_cv_math_func_llround = yes; then
21925
21926 cat >>confdefs.h <<_ACEOF
21927 #define HAVE_LLROUND 1
21928 _ACEOF
21929
21930   fi
21931
21932
21933
21934
21935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21936 $as_echo_n "checking for llroundl... " >&6; }
21937 if ${gcc_cv_math_func_llroundl+:} false; then :
21938   $as_echo_n "(cached) " >&6
21939 else
21940   if test x$gcc_no_link = xyes; then
21941   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21942 fi
21943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21944 /* end confdefs.h.  */
21945
21946 #ifdef HAVE_COMPLEX_H
21947 #include <complex.h>
21948 #endif
21949 #ifdef HAVE_MATH_H
21950 #include <math.h>
21951 #endif
21952
21953 int (*ptr)() = (int (*)())llroundl;
21954
21955 int
21956 main ()
21957 {
21958   return 0;
21959 }
21960
21961 _ACEOF
21962 if ac_fn_c_try_link "$LINENO"; then :
21963   gcc_cv_math_func_llroundl=yes
21964 else
21965   gcc_cv_math_func_llroundl=no
21966 fi
21967 rm -f core conftest.err conftest.$ac_objext \
21968     conftest$ac_exeext conftest.$ac_ext
21969 fi
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21971 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21972   if test $gcc_cv_math_func_llroundl = yes; then
21973
21974 cat >>confdefs.h <<_ACEOF
21975 #define HAVE_LLROUNDL 1
21976 _ACEOF
21977
21978   fi
21979
21980
21981
21982
21983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21984 $as_echo_n "checking for scalbnf... " >&6; }
21985 if ${gcc_cv_math_func_scalbnf+:} false; then :
21986   $as_echo_n "(cached) " >&6
21987 else
21988   if test x$gcc_no_link = xyes; then
21989   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21990 fi
21991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21992 /* end confdefs.h.  */
21993
21994 #ifdef HAVE_COMPLEX_H
21995 #include <complex.h>
21996 #endif
21997 #ifdef HAVE_MATH_H
21998 #include <math.h>
21999 #endif
22000
22001 int (*ptr)() = (int (*)())scalbnf;
22002
22003 int
22004 main ()
22005 {
22006   return 0;
22007 }
22008
22009 _ACEOF
22010 if ac_fn_c_try_link "$LINENO"; then :
22011   gcc_cv_math_func_scalbnf=yes
22012 else
22013   gcc_cv_math_func_scalbnf=no
22014 fi
22015 rm -f core conftest.err conftest.$ac_objext \
22016     conftest$ac_exeext conftest.$ac_ext
22017 fi
22018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
22019 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
22020   if test $gcc_cv_math_func_scalbnf = yes; then
22021
22022 cat >>confdefs.h <<_ACEOF
22023 #define HAVE_SCALBNF 1
22024 _ACEOF
22025
22026   fi
22027
22028
22029
22030
22031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
22032 $as_echo_n "checking for scalbn... " >&6; }
22033 if ${gcc_cv_math_func_scalbn+:} false; then :
22034   $as_echo_n "(cached) " >&6
22035 else
22036   if test x$gcc_no_link = xyes; then
22037   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22038 fi
22039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22040 /* end confdefs.h.  */
22041
22042 #ifdef HAVE_COMPLEX_H
22043 #include <complex.h>
22044 #endif
22045 #ifdef HAVE_MATH_H
22046 #include <math.h>
22047 #endif
22048
22049 int (*ptr)() = (int (*)())scalbn;
22050
22051 int
22052 main ()
22053 {
22054   return 0;
22055 }
22056
22057 _ACEOF
22058 if ac_fn_c_try_link "$LINENO"; then :
22059   gcc_cv_math_func_scalbn=yes
22060 else
22061   gcc_cv_math_func_scalbn=no
22062 fi
22063 rm -f core conftest.err conftest.$ac_objext \
22064     conftest$ac_exeext conftest.$ac_ext
22065 fi
22066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
22067 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
22068   if test $gcc_cv_math_func_scalbn = yes; then
22069
22070 cat >>confdefs.h <<_ACEOF
22071 #define HAVE_SCALBN 1
22072 _ACEOF
22073
22074   fi
22075
22076
22077
22078
22079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
22080 $as_echo_n "checking for scalbnl... " >&6; }
22081 if ${gcc_cv_math_func_scalbnl+:} false; then :
22082   $as_echo_n "(cached) " >&6
22083 else
22084   if test x$gcc_no_link = xyes; then
22085   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22086 fi
22087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22088 /* end confdefs.h.  */
22089
22090 #ifdef HAVE_COMPLEX_H
22091 #include <complex.h>
22092 #endif
22093 #ifdef HAVE_MATH_H
22094 #include <math.h>
22095 #endif
22096
22097 int (*ptr)() = (int (*)())scalbnl;
22098
22099 int
22100 main ()
22101 {
22102   return 0;
22103 }
22104
22105 _ACEOF
22106 if ac_fn_c_try_link "$LINENO"; then :
22107   gcc_cv_math_func_scalbnl=yes
22108 else
22109   gcc_cv_math_func_scalbnl=no
22110 fi
22111 rm -f core conftest.err conftest.$ac_objext \
22112     conftest$ac_exeext conftest.$ac_ext
22113 fi
22114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
22115 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
22116   if test $gcc_cv_math_func_scalbnl = yes; then
22117
22118 cat >>confdefs.h <<_ACEOF
22119 #define HAVE_SCALBNL 1
22120 _ACEOF
22121
22122   fi
22123
22124
22125
22126
22127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
22128 $as_echo_n "checking for sinf... " >&6; }
22129 if ${gcc_cv_math_func_sinf+:} false; then :
22130   $as_echo_n "(cached) " >&6
22131 else
22132   if test x$gcc_no_link = xyes; then
22133   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22134 fi
22135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22136 /* end confdefs.h.  */
22137
22138 #ifdef HAVE_COMPLEX_H
22139 #include <complex.h>
22140 #endif
22141 #ifdef HAVE_MATH_H
22142 #include <math.h>
22143 #endif
22144
22145 int (*ptr)() = (int (*)())sinf;
22146
22147 int
22148 main ()
22149 {
22150   return 0;
22151 }
22152
22153 _ACEOF
22154 if ac_fn_c_try_link "$LINENO"; then :
22155   gcc_cv_math_func_sinf=yes
22156 else
22157   gcc_cv_math_func_sinf=no
22158 fi
22159 rm -f core conftest.err conftest.$ac_objext \
22160     conftest$ac_exeext conftest.$ac_ext
22161 fi
22162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
22163 $as_echo "$gcc_cv_math_func_sinf" >&6; }
22164   if test $gcc_cv_math_func_sinf = yes; then
22165
22166 cat >>confdefs.h <<_ACEOF
22167 #define HAVE_SINF 1
22168 _ACEOF
22169
22170   fi
22171
22172
22173
22174
22175   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
22176 $as_echo_n "checking for sin... " >&6; }
22177 if ${gcc_cv_math_func_sin+:} false; then :
22178   $as_echo_n "(cached) " >&6
22179 else
22180   if test x$gcc_no_link = xyes; then
22181   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22182 fi
22183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22184 /* end confdefs.h.  */
22185
22186 #ifdef HAVE_COMPLEX_H
22187 #include <complex.h>
22188 #endif
22189 #ifdef HAVE_MATH_H
22190 #include <math.h>
22191 #endif
22192
22193 int (*ptr)() = (int (*)())sin;
22194
22195 int
22196 main ()
22197 {
22198   return 0;
22199 }
22200
22201 _ACEOF
22202 if ac_fn_c_try_link "$LINENO"; then :
22203   gcc_cv_math_func_sin=yes
22204 else
22205   gcc_cv_math_func_sin=no
22206 fi
22207 rm -f core conftest.err conftest.$ac_objext \
22208     conftest$ac_exeext conftest.$ac_ext
22209 fi
22210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22211 $as_echo "$gcc_cv_math_func_sin" >&6; }
22212   if test $gcc_cv_math_func_sin = yes; then
22213
22214 cat >>confdefs.h <<_ACEOF
22215 #define HAVE_SIN 1
22216 _ACEOF
22217
22218   fi
22219
22220
22221
22222
22223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22224 $as_echo_n "checking for sinl... " >&6; }
22225 if ${gcc_cv_math_func_sinl+:} false; then :
22226   $as_echo_n "(cached) " >&6
22227 else
22228   if test x$gcc_no_link = xyes; then
22229   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22230 fi
22231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22232 /* end confdefs.h.  */
22233
22234 #ifdef HAVE_COMPLEX_H
22235 #include <complex.h>
22236 #endif
22237 #ifdef HAVE_MATH_H
22238 #include <math.h>
22239 #endif
22240
22241 int (*ptr)() = (int (*)())sinl;
22242
22243 int
22244 main ()
22245 {
22246   return 0;
22247 }
22248
22249 _ACEOF
22250 if ac_fn_c_try_link "$LINENO"; then :
22251   gcc_cv_math_func_sinl=yes
22252 else
22253   gcc_cv_math_func_sinl=no
22254 fi
22255 rm -f core conftest.err conftest.$ac_objext \
22256     conftest$ac_exeext conftest.$ac_ext
22257 fi
22258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22259 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22260   if test $gcc_cv_math_func_sinl = yes; then
22261
22262 cat >>confdefs.h <<_ACEOF
22263 #define HAVE_SINL 1
22264 _ACEOF
22265
22266   fi
22267
22268
22269
22270
22271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22272 $as_echo_n "checking for csinf... " >&6; }
22273 if ${gcc_cv_math_func_csinf+:} false; then :
22274   $as_echo_n "(cached) " >&6
22275 else
22276   if test x$gcc_no_link = xyes; then
22277   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22278 fi
22279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22280 /* end confdefs.h.  */
22281
22282 #ifdef HAVE_COMPLEX_H
22283 #include <complex.h>
22284 #endif
22285 #ifdef HAVE_MATH_H
22286 #include <math.h>
22287 #endif
22288
22289 int (*ptr)() = (int (*)())csinf;
22290
22291 int
22292 main ()
22293 {
22294   return 0;
22295 }
22296
22297 _ACEOF
22298 if ac_fn_c_try_link "$LINENO"; then :
22299   gcc_cv_math_func_csinf=yes
22300 else
22301   gcc_cv_math_func_csinf=no
22302 fi
22303 rm -f core conftest.err conftest.$ac_objext \
22304     conftest$ac_exeext conftest.$ac_ext
22305 fi
22306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22307 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22308   if test $gcc_cv_math_func_csinf = yes; then
22309
22310 cat >>confdefs.h <<_ACEOF
22311 #define HAVE_CSINF 1
22312 _ACEOF
22313
22314   fi
22315
22316
22317
22318
22319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22320 $as_echo_n "checking for csin... " >&6; }
22321 if ${gcc_cv_math_func_csin+:} false; then :
22322   $as_echo_n "(cached) " >&6
22323 else
22324   if test x$gcc_no_link = xyes; then
22325   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22326 fi
22327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22328 /* end confdefs.h.  */
22329
22330 #ifdef HAVE_COMPLEX_H
22331 #include <complex.h>
22332 #endif
22333 #ifdef HAVE_MATH_H
22334 #include <math.h>
22335 #endif
22336
22337 int (*ptr)() = (int (*)())csin;
22338
22339 int
22340 main ()
22341 {
22342   return 0;
22343 }
22344
22345 _ACEOF
22346 if ac_fn_c_try_link "$LINENO"; then :
22347   gcc_cv_math_func_csin=yes
22348 else
22349   gcc_cv_math_func_csin=no
22350 fi
22351 rm -f core conftest.err conftest.$ac_objext \
22352     conftest$ac_exeext conftest.$ac_ext
22353 fi
22354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22355 $as_echo "$gcc_cv_math_func_csin" >&6; }
22356   if test $gcc_cv_math_func_csin = yes; then
22357
22358 cat >>confdefs.h <<_ACEOF
22359 #define HAVE_CSIN 1
22360 _ACEOF
22361
22362   fi
22363
22364
22365
22366
22367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22368 $as_echo_n "checking for csinl... " >&6; }
22369 if ${gcc_cv_math_func_csinl+:} false; then :
22370   $as_echo_n "(cached) " >&6
22371 else
22372   if test x$gcc_no_link = xyes; then
22373   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22374 fi
22375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22376 /* end confdefs.h.  */
22377
22378 #ifdef HAVE_COMPLEX_H
22379 #include <complex.h>
22380 #endif
22381 #ifdef HAVE_MATH_H
22382 #include <math.h>
22383 #endif
22384
22385 int (*ptr)() = (int (*)())csinl;
22386
22387 int
22388 main ()
22389 {
22390   return 0;
22391 }
22392
22393 _ACEOF
22394 if ac_fn_c_try_link "$LINENO"; then :
22395   gcc_cv_math_func_csinl=yes
22396 else
22397   gcc_cv_math_func_csinl=no
22398 fi
22399 rm -f core conftest.err conftest.$ac_objext \
22400     conftest$ac_exeext conftest.$ac_ext
22401 fi
22402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22403 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22404   if test $gcc_cv_math_func_csinl = yes; then
22405
22406 cat >>confdefs.h <<_ACEOF
22407 #define HAVE_CSINL 1
22408 _ACEOF
22409
22410   fi
22411
22412
22413
22414
22415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22416 $as_echo_n "checking for sinhf... " >&6; }
22417 if ${gcc_cv_math_func_sinhf+:} false; then :
22418   $as_echo_n "(cached) " >&6
22419 else
22420   if test x$gcc_no_link = xyes; then
22421   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22422 fi
22423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22424 /* end confdefs.h.  */
22425
22426 #ifdef HAVE_COMPLEX_H
22427 #include <complex.h>
22428 #endif
22429 #ifdef HAVE_MATH_H
22430 #include <math.h>
22431 #endif
22432
22433 int (*ptr)() = (int (*)())sinhf;
22434
22435 int
22436 main ()
22437 {
22438   return 0;
22439 }
22440
22441 _ACEOF
22442 if ac_fn_c_try_link "$LINENO"; then :
22443   gcc_cv_math_func_sinhf=yes
22444 else
22445   gcc_cv_math_func_sinhf=no
22446 fi
22447 rm -f core conftest.err conftest.$ac_objext \
22448     conftest$ac_exeext conftest.$ac_ext
22449 fi
22450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22451 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22452   if test $gcc_cv_math_func_sinhf = yes; then
22453
22454 cat >>confdefs.h <<_ACEOF
22455 #define HAVE_SINHF 1
22456 _ACEOF
22457
22458   fi
22459
22460
22461
22462
22463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22464 $as_echo_n "checking for sinh... " >&6; }
22465 if ${gcc_cv_math_func_sinh+:} false; then :
22466   $as_echo_n "(cached) " >&6
22467 else
22468   if test x$gcc_no_link = xyes; then
22469   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22470 fi
22471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22472 /* end confdefs.h.  */
22473
22474 #ifdef HAVE_COMPLEX_H
22475 #include <complex.h>
22476 #endif
22477 #ifdef HAVE_MATH_H
22478 #include <math.h>
22479 #endif
22480
22481 int (*ptr)() = (int (*)())sinh;
22482
22483 int
22484 main ()
22485 {
22486   return 0;
22487 }
22488
22489 _ACEOF
22490 if ac_fn_c_try_link "$LINENO"; then :
22491   gcc_cv_math_func_sinh=yes
22492 else
22493   gcc_cv_math_func_sinh=no
22494 fi
22495 rm -f core conftest.err conftest.$ac_objext \
22496     conftest$ac_exeext conftest.$ac_ext
22497 fi
22498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22499 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22500   if test $gcc_cv_math_func_sinh = yes; then
22501
22502 cat >>confdefs.h <<_ACEOF
22503 #define HAVE_SINH 1
22504 _ACEOF
22505
22506   fi
22507
22508
22509
22510
22511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22512 $as_echo_n "checking for sinhl... " >&6; }
22513 if ${gcc_cv_math_func_sinhl+:} false; then :
22514   $as_echo_n "(cached) " >&6
22515 else
22516   if test x$gcc_no_link = xyes; then
22517   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22518 fi
22519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22520 /* end confdefs.h.  */
22521
22522 #ifdef HAVE_COMPLEX_H
22523 #include <complex.h>
22524 #endif
22525 #ifdef HAVE_MATH_H
22526 #include <math.h>
22527 #endif
22528
22529 int (*ptr)() = (int (*)())sinhl;
22530
22531 int
22532 main ()
22533 {
22534   return 0;
22535 }
22536
22537 _ACEOF
22538 if ac_fn_c_try_link "$LINENO"; then :
22539   gcc_cv_math_func_sinhl=yes
22540 else
22541   gcc_cv_math_func_sinhl=no
22542 fi
22543 rm -f core conftest.err conftest.$ac_objext \
22544     conftest$ac_exeext conftest.$ac_ext
22545 fi
22546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22547 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22548   if test $gcc_cv_math_func_sinhl = yes; then
22549
22550 cat >>confdefs.h <<_ACEOF
22551 #define HAVE_SINHL 1
22552 _ACEOF
22553
22554   fi
22555
22556
22557
22558
22559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22560 $as_echo_n "checking for csinhf... " >&6; }
22561 if ${gcc_cv_math_func_csinhf+:} false; then :
22562   $as_echo_n "(cached) " >&6
22563 else
22564   if test x$gcc_no_link = xyes; then
22565   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22566 fi
22567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22568 /* end confdefs.h.  */
22569
22570 #ifdef HAVE_COMPLEX_H
22571 #include <complex.h>
22572 #endif
22573 #ifdef HAVE_MATH_H
22574 #include <math.h>
22575 #endif
22576
22577 int (*ptr)() = (int (*)())csinhf;
22578
22579 int
22580 main ()
22581 {
22582   return 0;
22583 }
22584
22585 _ACEOF
22586 if ac_fn_c_try_link "$LINENO"; then :
22587   gcc_cv_math_func_csinhf=yes
22588 else
22589   gcc_cv_math_func_csinhf=no
22590 fi
22591 rm -f core conftest.err conftest.$ac_objext \
22592     conftest$ac_exeext conftest.$ac_ext
22593 fi
22594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22595 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22596   if test $gcc_cv_math_func_csinhf = yes; then
22597
22598 cat >>confdefs.h <<_ACEOF
22599 #define HAVE_CSINHF 1
22600 _ACEOF
22601
22602   fi
22603
22604
22605
22606
22607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22608 $as_echo_n "checking for csinh... " >&6; }
22609 if ${gcc_cv_math_func_csinh+:} false; then :
22610   $as_echo_n "(cached) " >&6
22611 else
22612   if test x$gcc_no_link = xyes; then
22613   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22614 fi
22615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22616 /* end confdefs.h.  */
22617
22618 #ifdef HAVE_COMPLEX_H
22619 #include <complex.h>
22620 #endif
22621 #ifdef HAVE_MATH_H
22622 #include <math.h>
22623 #endif
22624
22625 int (*ptr)() = (int (*)())csinh;
22626
22627 int
22628 main ()
22629 {
22630   return 0;
22631 }
22632
22633 _ACEOF
22634 if ac_fn_c_try_link "$LINENO"; then :
22635   gcc_cv_math_func_csinh=yes
22636 else
22637   gcc_cv_math_func_csinh=no
22638 fi
22639 rm -f core conftest.err conftest.$ac_objext \
22640     conftest$ac_exeext conftest.$ac_ext
22641 fi
22642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22643 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22644   if test $gcc_cv_math_func_csinh = yes; then
22645
22646 cat >>confdefs.h <<_ACEOF
22647 #define HAVE_CSINH 1
22648 _ACEOF
22649
22650   fi
22651
22652
22653
22654
22655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22656 $as_echo_n "checking for csinhl... " >&6; }
22657 if ${gcc_cv_math_func_csinhl+:} false; then :
22658   $as_echo_n "(cached) " >&6
22659 else
22660   if test x$gcc_no_link = xyes; then
22661   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22662 fi
22663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22664 /* end confdefs.h.  */
22665
22666 #ifdef HAVE_COMPLEX_H
22667 #include <complex.h>
22668 #endif
22669 #ifdef HAVE_MATH_H
22670 #include <math.h>
22671 #endif
22672
22673 int (*ptr)() = (int (*)())csinhl;
22674
22675 int
22676 main ()
22677 {
22678   return 0;
22679 }
22680
22681 _ACEOF
22682 if ac_fn_c_try_link "$LINENO"; then :
22683   gcc_cv_math_func_csinhl=yes
22684 else
22685   gcc_cv_math_func_csinhl=no
22686 fi
22687 rm -f core conftest.err conftest.$ac_objext \
22688     conftest$ac_exeext conftest.$ac_ext
22689 fi
22690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22691 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22692   if test $gcc_cv_math_func_csinhl = yes; then
22693
22694 cat >>confdefs.h <<_ACEOF
22695 #define HAVE_CSINHL 1
22696 _ACEOF
22697
22698   fi
22699
22700
22701
22702
22703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22704 $as_echo_n "checking for sqrtf... " >&6; }
22705 if ${gcc_cv_math_func_sqrtf+:} false; then :
22706   $as_echo_n "(cached) " >&6
22707 else
22708   if test x$gcc_no_link = xyes; then
22709   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22710 fi
22711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22712 /* end confdefs.h.  */
22713
22714 #ifdef HAVE_COMPLEX_H
22715 #include <complex.h>
22716 #endif
22717 #ifdef HAVE_MATH_H
22718 #include <math.h>
22719 #endif
22720
22721 int (*ptr)() = (int (*)())sqrtf;
22722
22723 int
22724 main ()
22725 {
22726   return 0;
22727 }
22728
22729 _ACEOF
22730 if ac_fn_c_try_link "$LINENO"; then :
22731   gcc_cv_math_func_sqrtf=yes
22732 else
22733   gcc_cv_math_func_sqrtf=no
22734 fi
22735 rm -f core conftest.err conftest.$ac_objext \
22736     conftest$ac_exeext conftest.$ac_ext
22737 fi
22738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22739 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22740   if test $gcc_cv_math_func_sqrtf = yes; then
22741
22742 cat >>confdefs.h <<_ACEOF
22743 #define HAVE_SQRTF 1
22744 _ACEOF
22745
22746   fi
22747
22748
22749
22750
22751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22752 $as_echo_n "checking for sqrt... " >&6; }
22753 if ${gcc_cv_math_func_sqrt+:} false; then :
22754   $as_echo_n "(cached) " >&6
22755 else
22756   if test x$gcc_no_link = xyes; then
22757   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22758 fi
22759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22760 /* end confdefs.h.  */
22761
22762 #ifdef HAVE_COMPLEX_H
22763 #include <complex.h>
22764 #endif
22765 #ifdef HAVE_MATH_H
22766 #include <math.h>
22767 #endif
22768
22769 int (*ptr)() = (int (*)())sqrt;
22770
22771 int
22772 main ()
22773 {
22774   return 0;
22775 }
22776
22777 _ACEOF
22778 if ac_fn_c_try_link "$LINENO"; then :
22779   gcc_cv_math_func_sqrt=yes
22780 else
22781   gcc_cv_math_func_sqrt=no
22782 fi
22783 rm -f core conftest.err conftest.$ac_objext \
22784     conftest$ac_exeext conftest.$ac_ext
22785 fi
22786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22787 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22788   if test $gcc_cv_math_func_sqrt = yes; then
22789
22790 cat >>confdefs.h <<_ACEOF
22791 #define HAVE_SQRT 1
22792 _ACEOF
22793
22794   fi
22795
22796
22797
22798
22799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22800 $as_echo_n "checking for sqrtl... " >&6; }
22801 if ${gcc_cv_math_func_sqrtl+:} false; then :
22802   $as_echo_n "(cached) " >&6
22803 else
22804   if test x$gcc_no_link = xyes; then
22805   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22806 fi
22807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22808 /* end confdefs.h.  */
22809
22810 #ifdef HAVE_COMPLEX_H
22811 #include <complex.h>
22812 #endif
22813 #ifdef HAVE_MATH_H
22814 #include <math.h>
22815 #endif
22816
22817 int (*ptr)() = (int (*)())sqrtl;
22818
22819 int
22820 main ()
22821 {
22822   return 0;
22823 }
22824
22825 _ACEOF
22826 if ac_fn_c_try_link "$LINENO"; then :
22827   gcc_cv_math_func_sqrtl=yes
22828 else
22829   gcc_cv_math_func_sqrtl=no
22830 fi
22831 rm -f core conftest.err conftest.$ac_objext \
22832     conftest$ac_exeext conftest.$ac_ext
22833 fi
22834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22835 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22836   if test $gcc_cv_math_func_sqrtl = yes; then
22837
22838 cat >>confdefs.h <<_ACEOF
22839 #define HAVE_SQRTL 1
22840 _ACEOF
22841
22842   fi
22843
22844
22845
22846
22847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22848 $as_echo_n "checking for csqrtf... " >&6; }
22849 if ${gcc_cv_math_func_csqrtf+:} false; then :
22850   $as_echo_n "(cached) " >&6
22851 else
22852   if test x$gcc_no_link = xyes; then
22853   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22854 fi
22855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22856 /* end confdefs.h.  */
22857
22858 #ifdef HAVE_COMPLEX_H
22859 #include <complex.h>
22860 #endif
22861 #ifdef HAVE_MATH_H
22862 #include <math.h>
22863 #endif
22864
22865 int (*ptr)() = (int (*)())csqrtf;
22866
22867 int
22868 main ()
22869 {
22870   return 0;
22871 }
22872
22873 _ACEOF
22874 if ac_fn_c_try_link "$LINENO"; then :
22875   gcc_cv_math_func_csqrtf=yes
22876 else
22877   gcc_cv_math_func_csqrtf=no
22878 fi
22879 rm -f core conftest.err conftest.$ac_objext \
22880     conftest$ac_exeext conftest.$ac_ext
22881 fi
22882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22883 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22884   if test $gcc_cv_math_func_csqrtf = yes; then
22885
22886 cat >>confdefs.h <<_ACEOF
22887 #define HAVE_CSQRTF 1
22888 _ACEOF
22889
22890   fi
22891
22892
22893
22894
22895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22896 $as_echo_n "checking for csqrt... " >&6; }
22897 if ${gcc_cv_math_func_csqrt+:} false; then :
22898   $as_echo_n "(cached) " >&6
22899 else
22900   if test x$gcc_no_link = xyes; then
22901   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22902 fi
22903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22904 /* end confdefs.h.  */
22905
22906 #ifdef HAVE_COMPLEX_H
22907 #include <complex.h>
22908 #endif
22909 #ifdef HAVE_MATH_H
22910 #include <math.h>
22911 #endif
22912
22913 int (*ptr)() = (int (*)())csqrt;
22914
22915 int
22916 main ()
22917 {
22918   return 0;
22919 }
22920
22921 _ACEOF
22922 if ac_fn_c_try_link "$LINENO"; then :
22923   gcc_cv_math_func_csqrt=yes
22924 else
22925   gcc_cv_math_func_csqrt=no
22926 fi
22927 rm -f core conftest.err conftest.$ac_objext \
22928     conftest$ac_exeext conftest.$ac_ext
22929 fi
22930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22931 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22932   if test $gcc_cv_math_func_csqrt = yes; then
22933
22934 cat >>confdefs.h <<_ACEOF
22935 #define HAVE_CSQRT 1
22936 _ACEOF
22937
22938   fi
22939
22940
22941
22942
22943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22944 $as_echo_n "checking for csqrtl... " >&6; }
22945 if ${gcc_cv_math_func_csqrtl+:} false; then :
22946   $as_echo_n "(cached) " >&6
22947 else
22948   if test x$gcc_no_link = xyes; then
22949   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22950 fi
22951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22952 /* end confdefs.h.  */
22953
22954 #ifdef HAVE_COMPLEX_H
22955 #include <complex.h>
22956 #endif
22957 #ifdef HAVE_MATH_H
22958 #include <math.h>
22959 #endif
22960
22961 int (*ptr)() = (int (*)())csqrtl;
22962
22963 int
22964 main ()
22965 {
22966   return 0;
22967 }
22968
22969 _ACEOF
22970 if ac_fn_c_try_link "$LINENO"; then :
22971   gcc_cv_math_func_csqrtl=yes
22972 else
22973   gcc_cv_math_func_csqrtl=no
22974 fi
22975 rm -f core conftest.err conftest.$ac_objext \
22976     conftest$ac_exeext conftest.$ac_ext
22977 fi
22978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22979 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22980   if test $gcc_cv_math_func_csqrtl = yes; then
22981
22982 cat >>confdefs.h <<_ACEOF
22983 #define HAVE_CSQRTL 1
22984 _ACEOF
22985
22986   fi
22987
22988
22989
22990
22991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22992 $as_echo_n "checking for tanf... " >&6; }
22993 if ${gcc_cv_math_func_tanf+:} false; then :
22994   $as_echo_n "(cached) " >&6
22995 else
22996   if test x$gcc_no_link = xyes; then
22997   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22998 fi
22999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23000 /* end confdefs.h.  */
23001
23002 #ifdef HAVE_COMPLEX_H
23003 #include <complex.h>
23004 #endif
23005 #ifdef HAVE_MATH_H
23006 #include <math.h>
23007 #endif
23008
23009 int (*ptr)() = (int (*)())tanf;
23010
23011 int
23012 main ()
23013 {
23014   return 0;
23015 }
23016
23017 _ACEOF
23018 if ac_fn_c_try_link "$LINENO"; then :
23019   gcc_cv_math_func_tanf=yes
23020 else
23021   gcc_cv_math_func_tanf=no
23022 fi
23023 rm -f core conftest.err conftest.$ac_objext \
23024     conftest$ac_exeext conftest.$ac_ext
23025 fi
23026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
23027 $as_echo "$gcc_cv_math_func_tanf" >&6; }
23028   if test $gcc_cv_math_func_tanf = yes; then
23029
23030 cat >>confdefs.h <<_ACEOF
23031 #define HAVE_TANF 1
23032 _ACEOF
23033
23034   fi
23035
23036
23037
23038
23039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
23040 $as_echo_n "checking for tan... " >&6; }
23041 if ${gcc_cv_math_func_tan+:} false; then :
23042   $as_echo_n "(cached) " >&6
23043 else
23044   if test x$gcc_no_link = xyes; then
23045   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23046 fi
23047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23048 /* end confdefs.h.  */
23049
23050 #ifdef HAVE_COMPLEX_H
23051 #include <complex.h>
23052 #endif
23053 #ifdef HAVE_MATH_H
23054 #include <math.h>
23055 #endif
23056
23057 int (*ptr)() = (int (*)())tan;
23058
23059 int
23060 main ()
23061 {
23062   return 0;
23063 }
23064
23065 _ACEOF
23066 if ac_fn_c_try_link "$LINENO"; then :
23067   gcc_cv_math_func_tan=yes
23068 else
23069   gcc_cv_math_func_tan=no
23070 fi
23071 rm -f core conftest.err conftest.$ac_objext \
23072     conftest$ac_exeext conftest.$ac_ext
23073 fi
23074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
23075 $as_echo "$gcc_cv_math_func_tan" >&6; }
23076   if test $gcc_cv_math_func_tan = yes; then
23077
23078 cat >>confdefs.h <<_ACEOF
23079 #define HAVE_TAN 1
23080 _ACEOF
23081
23082   fi
23083
23084
23085
23086
23087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
23088 $as_echo_n "checking for tanl... " >&6; }
23089 if ${gcc_cv_math_func_tanl+:} false; then :
23090   $as_echo_n "(cached) " >&6
23091 else
23092   if test x$gcc_no_link = xyes; then
23093   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23094 fi
23095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23096 /* end confdefs.h.  */
23097
23098 #ifdef HAVE_COMPLEX_H
23099 #include <complex.h>
23100 #endif
23101 #ifdef HAVE_MATH_H
23102 #include <math.h>
23103 #endif
23104
23105 int (*ptr)() = (int (*)())tanl;
23106
23107 int
23108 main ()
23109 {
23110   return 0;
23111 }
23112
23113 _ACEOF
23114 if ac_fn_c_try_link "$LINENO"; then :
23115   gcc_cv_math_func_tanl=yes
23116 else
23117   gcc_cv_math_func_tanl=no
23118 fi
23119 rm -f core conftest.err conftest.$ac_objext \
23120     conftest$ac_exeext conftest.$ac_ext
23121 fi
23122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
23123 $as_echo "$gcc_cv_math_func_tanl" >&6; }
23124   if test $gcc_cv_math_func_tanl = yes; then
23125
23126 cat >>confdefs.h <<_ACEOF
23127 #define HAVE_TANL 1
23128 _ACEOF
23129
23130   fi
23131
23132
23133
23134
23135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
23136 $as_echo_n "checking for ctanf... " >&6; }
23137 if ${gcc_cv_math_func_ctanf+:} false; then :
23138   $as_echo_n "(cached) " >&6
23139 else
23140   if test x$gcc_no_link = xyes; then
23141   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23142 fi
23143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23144 /* end confdefs.h.  */
23145
23146 #ifdef HAVE_COMPLEX_H
23147 #include <complex.h>
23148 #endif
23149 #ifdef HAVE_MATH_H
23150 #include <math.h>
23151 #endif
23152
23153 int (*ptr)() = (int (*)())ctanf;
23154
23155 int
23156 main ()
23157 {
23158   return 0;
23159 }
23160
23161 _ACEOF
23162 if ac_fn_c_try_link "$LINENO"; then :
23163   gcc_cv_math_func_ctanf=yes
23164 else
23165   gcc_cv_math_func_ctanf=no
23166 fi
23167 rm -f core conftest.err conftest.$ac_objext \
23168     conftest$ac_exeext conftest.$ac_ext
23169 fi
23170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
23171 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
23172   if test $gcc_cv_math_func_ctanf = yes; then
23173
23174 cat >>confdefs.h <<_ACEOF
23175 #define HAVE_CTANF 1
23176 _ACEOF
23177
23178   fi
23179
23180
23181
23182
23183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
23184 $as_echo_n "checking for ctan... " >&6; }
23185 if ${gcc_cv_math_func_ctan+:} false; then :
23186   $as_echo_n "(cached) " >&6
23187 else
23188   if test x$gcc_no_link = xyes; then
23189   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23190 fi
23191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23192 /* end confdefs.h.  */
23193
23194 #ifdef HAVE_COMPLEX_H
23195 #include <complex.h>
23196 #endif
23197 #ifdef HAVE_MATH_H
23198 #include <math.h>
23199 #endif
23200
23201 int (*ptr)() = (int (*)())ctan;
23202
23203 int
23204 main ()
23205 {
23206   return 0;
23207 }
23208
23209 _ACEOF
23210 if ac_fn_c_try_link "$LINENO"; then :
23211   gcc_cv_math_func_ctan=yes
23212 else
23213   gcc_cv_math_func_ctan=no
23214 fi
23215 rm -f core conftest.err conftest.$ac_objext \
23216     conftest$ac_exeext conftest.$ac_ext
23217 fi
23218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23219 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23220   if test $gcc_cv_math_func_ctan = yes; then
23221
23222 cat >>confdefs.h <<_ACEOF
23223 #define HAVE_CTAN 1
23224 _ACEOF
23225
23226   fi
23227
23228
23229
23230
23231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23232 $as_echo_n "checking for ctanl... " >&6; }
23233 if ${gcc_cv_math_func_ctanl+:} false; then :
23234   $as_echo_n "(cached) " >&6
23235 else
23236   if test x$gcc_no_link = xyes; then
23237   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23238 fi
23239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23240 /* end confdefs.h.  */
23241
23242 #ifdef HAVE_COMPLEX_H
23243 #include <complex.h>
23244 #endif
23245 #ifdef HAVE_MATH_H
23246 #include <math.h>
23247 #endif
23248
23249 int (*ptr)() = (int (*)())ctanl;
23250
23251 int
23252 main ()
23253 {
23254   return 0;
23255 }
23256
23257 _ACEOF
23258 if ac_fn_c_try_link "$LINENO"; then :
23259   gcc_cv_math_func_ctanl=yes
23260 else
23261   gcc_cv_math_func_ctanl=no
23262 fi
23263 rm -f core conftest.err conftest.$ac_objext \
23264     conftest$ac_exeext conftest.$ac_ext
23265 fi
23266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23267 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23268   if test $gcc_cv_math_func_ctanl = yes; then
23269
23270 cat >>confdefs.h <<_ACEOF
23271 #define HAVE_CTANL 1
23272 _ACEOF
23273
23274   fi
23275
23276
23277
23278
23279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23280 $as_echo_n "checking for tanhf... " >&6; }
23281 if ${gcc_cv_math_func_tanhf+:} false; then :
23282   $as_echo_n "(cached) " >&6
23283 else
23284   if test x$gcc_no_link = xyes; then
23285   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23286 fi
23287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23288 /* end confdefs.h.  */
23289
23290 #ifdef HAVE_COMPLEX_H
23291 #include <complex.h>
23292 #endif
23293 #ifdef HAVE_MATH_H
23294 #include <math.h>
23295 #endif
23296
23297 int (*ptr)() = (int (*)())tanhf;
23298
23299 int
23300 main ()
23301 {
23302   return 0;
23303 }
23304
23305 _ACEOF
23306 if ac_fn_c_try_link "$LINENO"; then :
23307   gcc_cv_math_func_tanhf=yes
23308 else
23309   gcc_cv_math_func_tanhf=no
23310 fi
23311 rm -f core conftest.err conftest.$ac_objext \
23312     conftest$ac_exeext conftest.$ac_ext
23313 fi
23314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23315 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23316   if test $gcc_cv_math_func_tanhf = yes; then
23317
23318 cat >>confdefs.h <<_ACEOF
23319 #define HAVE_TANHF 1
23320 _ACEOF
23321
23322   fi
23323
23324
23325
23326
23327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23328 $as_echo_n "checking for tanh... " >&6; }
23329 if ${gcc_cv_math_func_tanh+:} false; then :
23330   $as_echo_n "(cached) " >&6
23331 else
23332   if test x$gcc_no_link = xyes; then
23333   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23334 fi
23335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23336 /* end confdefs.h.  */
23337
23338 #ifdef HAVE_COMPLEX_H
23339 #include <complex.h>
23340 #endif
23341 #ifdef HAVE_MATH_H
23342 #include <math.h>
23343 #endif
23344
23345 int (*ptr)() = (int (*)())tanh;
23346
23347 int
23348 main ()
23349 {
23350   return 0;
23351 }
23352
23353 _ACEOF
23354 if ac_fn_c_try_link "$LINENO"; then :
23355   gcc_cv_math_func_tanh=yes
23356 else
23357   gcc_cv_math_func_tanh=no
23358 fi
23359 rm -f core conftest.err conftest.$ac_objext \
23360     conftest$ac_exeext conftest.$ac_ext
23361 fi
23362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23363 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23364   if test $gcc_cv_math_func_tanh = yes; then
23365
23366 cat >>confdefs.h <<_ACEOF
23367 #define HAVE_TANH 1
23368 _ACEOF
23369
23370   fi
23371
23372
23373
23374
23375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23376 $as_echo_n "checking for tanhl... " >&6; }
23377 if ${gcc_cv_math_func_tanhl+:} false; then :
23378   $as_echo_n "(cached) " >&6
23379 else
23380   if test x$gcc_no_link = xyes; then
23381   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23382 fi
23383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23384 /* end confdefs.h.  */
23385
23386 #ifdef HAVE_COMPLEX_H
23387 #include <complex.h>
23388 #endif
23389 #ifdef HAVE_MATH_H
23390 #include <math.h>
23391 #endif
23392
23393 int (*ptr)() = (int (*)())tanhl;
23394
23395 int
23396 main ()
23397 {
23398   return 0;
23399 }
23400
23401 _ACEOF
23402 if ac_fn_c_try_link "$LINENO"; then :
23403   gcc_cv_math_func_tanhl=yes
23404 else
23405   gcc_cv_math_func_tanhl=no
23406 fi
23407 rm -f core conftest.err conftest.$ac_objext \
23408     conftest$ac_exeext conftest.$ac_ext
23409 fi
23410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23411 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23412   if test $gcc_cv_math_func_tanhl = yes; then
23413
23414 cat >>confdefs.h <<_ACEOF
23415 #define HAVE_TANHL 1
23416 _ACEOF
23417
23418   fi
23419
23420
23421
23422
23423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23424 $as_echo_n "checking for ctanhf... " >&6; }
23425 if ${gcc_cv_math_func_ctanhf+:} false; then :
23426   $as_echo_n "(cached) " >&6
23427 else
23428   if test x$gcc_no_link = xyes; then
23429   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23430 fi
23431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23432 /* end confdefs.h.  */
23433
23434 #ifdef HAVE_COMPLEX_H
23435 #include <complex.h>
23436 #endif
23437 #ifdef HAVE_MATH_H
23438 #include <math.h>
23439 #endif
23440
23441 int (*ptr)() = (int (*)())ctanhf;
23442
23443 int
23444 main ()
23445 {
23446   return 0;
23447 }
23448
23449 _ACEOF
23450 if ac_fn_c_try_link "$LINENO"; then :
23451   gcc_cv_math_func_ctanhf=yes
23452 else
23453   gcc_cv_math_func_ctanhf=no
23454 fi
23455 rm -f core conftest.err conftest.$ac_objext \
23456     conftest$ac_exeext conftest.$ac_ext
23457 fi
23458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23459 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23460   if test $gcc_cv_math_func_ctanhf = yes; then
23461
23462 cat >>confdefs.h <<_ACEOF
23463 #define HAVE_CTANHF 1
23464 _ACEOF
23465
23466   fi
23467
23468
23469
23470
23471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23472 $as_echo_n "checking for ctanh... " >&6; }
23473 if ${gcc_cv_math_func_ctanh+:} false; then :
23474   $as_echo_n "(cached) " >&6
23475 else
23476   if test x$gcc_no_link = xyes; then
23477   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23478 fi
23479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23480 /* end confdefs.h.  */
23481
23482 #ifdef HAVE_COMPLEX_H
23483 #include <complex.h>
23484 #endif
23485 #ifdef HAVE_MATH_H
23486 #include <math.h>
23487 #endif
23488
23489 int (*ptr)() = (int (*)())ctanh;
23490
23491 int
23492 main ()
23493 {
23494   return 0;
23495 }
23496
23497 _ACEOF
23498 if ac_fn_c_try_link "$LINENO"; then :
23499   gcc_cv_math_func_ctanh=yes
23500 else
23501   gcc_cv_math_func_ctanh=no
23502 fi
23503 rm -f core conftest.err conftest.$ac_objext \
23504     conftest$ac_exeext conftest.$ac_ext
23505 fi
23506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23507 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23508   if test $gcc_cv_math_func_ctanh = yes; then
23509
23510 cat >>confdefs.h <<_ACEOF
23511 #define HAVE_CTANH 1
23512 _ACEOF
23513
23514   fi
23515
23516
23517
23518
23519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23520 $as_echo_n "checking for ctanhl... " >&6; }
23521 if ${gcc_cv_math_func_ctanhl+:} false; then :
23522   $as_echo_n "(cached) " >&6
23523 else
23524   if test x$gcc_no_link = xyes; then
23525   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23526 fi
23527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23528 /* end confdefs.h.  */
23529
23530 #ifdef HAVE_COMPLEX_H
23531 #include <complex.h>
23532 #endif
23533 #ifdef HAVE_MATH_H
23534 #include <math.h>
23535 #endif
23536
23537 int (*ptr)() = (int (*)())ctanhl;
23538
23539 int
23540 main ()
23541 {
23542   return 0;
23543 }
23544
23545 _ACEOF
23546 if ac_fn_c_try_link "$LINENO"; then :
23547   gcc_cv_math_func_ctanhl=yes
23548 else
23549   gcc_cv_math_func_ctanhl=no
23550 fi
23551 rm -f core conftest.err conftest.$ac_objext \
23552     conftest$ac_exeext conftest.$ac_ext
23553 fi
23554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23555 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23556   if test $gcc_cv_math_func_ctanhl = yes; then
23557
23558 cat >>confdefs.h <<_ACEOF
23559 #define HAVE_CTANHL 1
23560 _ACEOF
23561
23562   fi
23563
23564
23565
23566
23567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23568 $as_echo_n "checking for truncf... " >&6; }
23569 if ${gcc_cv_math_func_truncf+:} false; then :
23570   $as_echo_n "(cached) " >&6
23571 else
23572   if test x$gcc_no_link = xyes; then
23573   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23574 fi
23575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23576 /* end confdefs.h.  */
23577
23578 #ifdef HAVE_COMPLEX_H
23579 #include <complex.h>
23580 #endif
23581 #ifdef HAVE_MATH_H
23582 #include <math.h>
23583 #endif
23584
23585 int (*ptr)() = (int (*)())truncf;
23586
23587 int
23588 main ()
23589 {
23590   return 0;
23591 }
23592
23593 _ACEOF
23594 if ac_fn_c_try_link "$LINENO"; then :
23595   gcc_cv_math_func_truncf=yes
23596 else
23597   gcc_cv_math_func_truncf=no
23598 fi
23599 rm -f core conftest.err conftest.$ac_objext \
23600     conftest$ac_exeext conftest.$ac_ext
23601 fi
23602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23603 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23604   if test $gcc_cv_math_func_truncf = yes; then
23605
23606 cat >>confdefs.h <<_ACEOF
23607 #define HAVE_TRUNCF 1
23608 _ACEOF
23609
23610   fi
23611
23612
23613
23614
23615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23616 $as_echo_n "checking for trunc... " >&6; }
23617 if ${gcc_cv_math_func_trunc+:} false; then :
23618   $as_echo_n "(cached) " >&6
23619 else
23620   if test x$gcc_no_link = xyes; then
23621   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23622 fi
23623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23624 /* end confdefs.h.  */
23625
23626 #ifdef HAVE_COMPLEX_H
23627 #include <complex.h>
23628 #endif
23629 #ifdef HAVE_MATH_H
23630 #include <math.h>
23631 #endif
23632
23633 int (*ptr)() = (int (*)())trunc;
23634
23635 int
23636 main ()
23637 {
23638   return 0;
23639 }
23640
23641 _ACEOF
23642 if ac_fn_c_try_link "$LINENO"; then :
23643   gcc_cv_math_func_trunc=yes
23644 else
23645   gcc_cv_math_func_trunc=no
23646 fi
23647 rm -f core conftest.err conftest.$ac_objext \
23648     conftest$ac_exeext conftest.$ac_ext
23649 fi
23650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23651 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23652   if test $gcc_cv_math_func_trunc = yes; then
23653
23654 cat >>confdefs.h <<_ACEOF
23655 #define HAVE_TRUNC 1
23656 _ACEOF
23657
23658   fi
23659
23660
23661
23662
23663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23664 $as_echo_n "checking for truncl... " >&6; }
23665 if ${gcc_cv_math_func_truncl+:} false; then :
23666   $as_echo_n "(cached) " >&6
23667 else
23668   if test x$gcc_no_link = xyes; then
23669   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23670 fi
23671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23672 /* end confdefs.h.  */
23673
23674 #ifdef HAVE_COMPLEX_H
23675 #include <complex.h>
23676 #endif
23677 #ifdef HAVE_MATH_H
23678 #include <math.h>
23679 #endif
23680
23681 int (*ptr)() = (int (*)())truncl;
23682
23683 int
23684 main ()
23685 {
23686   return 0;
23687 }
23688
23689 _ACEOF
23690 if ac_fn_c_try_link "$LINENO"; then :
23691   gcc_cv_math_func_truncl=yes
23692 else
23693   gcc_cv_math_func_truncl=no
23694 fi
23695 rm -f core conftest.err conftest.$ac_objext \
23696     conftest$ac_exeext conftest.$ac_ext
23697 fi
23698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23699 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23700   if test $gcc_cv_math_func_truncl = yes; then
23701
23702 cat >>confdefs.h <<_ACEOF
23703 #define HAVE_TRUNCL 1
23704 _ACEOF
23705
23706   fi
23707
23708
23709
23710
23711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23712 $as_echo_n "checking for erff... " >&6; }
23713 if ${gcc_cv_math_func_erff+:} false; then :
23714   $as_echo_n "(cached) " >&6
23715 else
23716   if test x$gcc_no_link = xyes; then
23717   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23718 fi
23719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23720 /* end confdefs.h.  */
23721
23722 #ifdef HAVE_COMPLEX_H
23723 #include <complex.h>
23724 #endif
23725 #ifdef HAVE_MATH_H
23726 #include <math.h>
23727 #endif
23728
23729 int (*ptr)() = (int (*)())erff;
23730
23731 int
23732 main ()
23733 {
23734   return 0;
23735 }
23736
23737 _ACEOF
23738 if ac_fn_c_try_link "$LINENO"; then :
23739   gcc_cv_math_func_erff=yes
23740 else
23741   gcc_cv_math_func_erff=no
23742 fi
23743 rm -f core conftest.err conftest.$ac_objext \
23744     conftest$ac_exeext conftest.$ac_ext
23745 fi
23746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23747 $as_echo "$gcc_cv_math_func_erff" >&6; }
23748   if test $gcc_cv_math_func_erff = yes; then
23749
23750 cat >>confdefs.h <<_ACEOF
23751 #define HAVE_ERFF 1
23752 _ACEOF
23753
23754   fi
23755
23756
23757
23758
23759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23760 $as_echo_n "checking for erf... " >&6; }
23761 if ${gcc_cv_math_func_erf+:} false; then :
23762   $as_echo_n "(cached) " >&6
23763 else
23764   if test x$gcc_no_link = xyes; then
23765   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23766 fi
23767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23768 /* end confdefs.h.  */
23769
23770 #ifdef HAVE_COMPLEX_H
23771 #include <complex.h>
23772 #endif
23773 #ifdef HAVE_MATH_H
23774 #include <math.h>
23775 #endif
23776
23777 int (*ptr)() = (int (*)())erf;
23778
23779 int
23780 main ()
23781 {
23782   return 0;
23783 }
23784
23785 _ACEOF
23786 if ac_fn_c_try_link "$LINENO"; then :
23787   gcc_cv_math_func_erf=yes
23788 else
23789   gcc_cv_math_func_erf=no
23790 fi
23791 rm -f core conftest.err conftest.$ac_objext \
23792     conftest$ac_exeext conftest.$ac_ext
23793 fi
23794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23795 $as_echo "$gcc_cv_math_func_erf" >&6; }
23796   if test $gcc_cv_math_func_erf = yes; then
23797
23798 cat >>confdefs.h <<_ACEOF
23799 #define HAVE_ERF 1
23800 _ACEOF
23801
23802   fi
23803
23804
23805
23806
23807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23808 $as_echo_n "checking for erfcf... " >&6; }
23809 if ${gcc_cv_math_func_erfcf+:} false; then :
23810   $as_echo_n "(cached) " >&6
23811 else
23812   if test x$gcc_no_link = xyes; then
23813   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23814 fi
23815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23816 /* end confdefs.h.  */
23817
23818 #ifdef HAVE_COMPLEX_H
23819 #include <complex.h>
23820 #endif
23821 #ifdef HAVE_MATH_H
23822 #include <math.h>
23823 #endif
23824
23825 int (*ptr)() = (int (*)())erfcf;
23826
23827 int
23828 main ()
23829 {
23830   return 0;
23831 }
23832
23833 _ACEOF
23834 if ac_fn_c_try_link "$LINENO"; then :
23835   gcc_cv_math_func_erfcf=yes
23836 else
23837   gcc_cv_math_func_erfcf=no
23838 fi
23839 rm -f core conftest.err conftest.$ac_objext \
23840     conftest$ac_exeext conftest.$ac_ext
23841 fi
23842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23843 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23844   if test $gcc_cv_math_func_erfcf = yes; then
23845
23846 cat >>confdefs.h <<_ACEOF
23847 #define HAVE_ERFCF 1
23848 _ACEOF
23849
23850   fi
23851
23852
23853
23854
23855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23856 $as_echo_n "checking for erfc... " >&6; }
23857 if ${gcc_cv_math_func_erfc+:} false; then :
23858   $as_echo_n "(cached) " >&6
23859 else
23860   if test x$gcc_no_link = xyes; then
23861   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23862 fi
23863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23864 /* end confdefs.h.  */
23865
23866 #ifdef HAVE_COMPLEX_H
23867 #include <complex.h>
23868 #endif
23869 #ifdef HAVE_MATH_H
23870 #include <math.h>
23871 #endif
23872
23873 int (*ptr)() = (int (*)())erfc;
23874
23875 int
23876 main ()
23877 {
23878   return 0;
23879 }
23880
23881 _ACEOF
23882 if ac_fn_c_try_link "$LINENO"; then :
23883   gcc_cv_math_func_erfc=yes
23884 else
23885   gcc_cv_math_func_erfc=no
23886 fi
23887 rm -f core conftest.err conftest.$ac_objext \
23888     conftest$ac_exeext conftest.$ac_ext
23889 fi
23890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23891 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23892   if test $gcc_cv_math_func_erfc = yes; then
23893
23894 cat >>confdefs.h <<_ACEOF
23895 #define HAVE_ERFC 1
23896 _ACEOF
23897
23898   fi
23899
23900
23901
23902
23903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23904 $as_echo_n "checking for erfcl... " >&6; }
23905 if ${gcc_cv_math_func_erfcl+:} false; then :
23906   $as_echo_n "(cached) " >&6
23907 else
23908   if test x$gcc_no_link = xyes; then
23909   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23910 fi
23911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23912 /* end confdefs.h.  */
23913
23914 #ifdef HAVE_COMPLEX_H
23915 #include <complex.h>
23916 #endif
23917 #ifdef HAVE_MATH_H
23918 #include <math.h>
23919 #endif
23920
23921 int (*ptr)() = (int (*)())erfcl;
23922
23923 int
23924 main ()
23925 {
23926   return 0;
23927 }
23928
23929 _ACEOF
23930 if ac_fn_c_try_link "$LINENO"; then :
23931   gcc_cv_math_func_erfcl=yes
23932 else
23933   gcc_cv_math_func_erfcl=no
23934 fi
23935 rm -f core conftest.err conftest.$ac_objext \
23936     conftest$ac_exeext conftest.$ac_ext
23937 fi
23938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23939 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23940   if test $gcc_cv_math_func_erfcl = yes; then
23941
23942 cat >>confdefs.h <<_ACEOF
23943 #define HAVE_ERFCL 1
23944 _ACEOF
23945
23946   fi
23947
23948
23949
23950
23951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23952 $as_echo_n "checking for j0f... " >&6; }
23953 if ${gcc_cv_math_func_j0f+:} false; then :
23954   $as_echo_n "(cached) " >&6
23955 else
23956   if test x$gcc_no_link = xyes; then
23957   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23958 fi
23959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23960 /* end confdefs.h.  */
23961
23962 #ifdef HAVE_COMPLEX_H
23963 #include <complex.h>
23964 #endif
23965 #ifdef HAVE_MATH_H
23966 #include <math.h>
23967 #endif
23968
23969 int (*ptr)() = (int (*)())j0f;
23970
23971 int
23972 main ()
23973 {
23974   return 0;
23975 }
23976
23977 _ACEOF
23978 if ac_fn_c_try_link "$LINENO"; then :
23979   gcc_cv_math_func_j0f=yes
23980 else
23981   gcc_cv_math_func_j0f=no
23982 fi
23983 rm -f core conftest.err conftest.$ac_objext \
23984     conftest$ac_exeext conftest.$ac_ext
23985 fi
23986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23987 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23988   if test $gcc_cv_math_func_j0f = yes; then
23989
23990 cat >>confdefs.h <<_ACEOF
23991 #define HAVE_J0F 1
23992 _ACEOF
23993
23994   fi
23995
23996
23997
23998
23999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
24000 $as_echo_n "checking for j0... " >&6; }
24001 if ${gcc_cv_math_func_j0+:} false; then :
24002   $as_echo_n "(cached) " >&6
24003 else
24004   if test x$gcc_no_link = xyes; then
24005   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24006 fi
24007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24008 /* end confdefs.h.  */
24009
24010 #ifdef HAVE_COMPLEX_H
24011 #include <complex.h>
24012 #endif
24013 #ifdef HAVE_MATH_H
24014 #include <math.h>
24015 #endif
24016
24017 int (*ptr)() = (int (*)())j0;
24018
24019 int
24020 main ()
24021 {
24022   return 0;
24023 }
24024
24025 _ACEOF
24026 if ac_fn_c_try_link "$LINENO"; then :
24027   gcc_cv_math_func_j0=yes
24028 else
24029   gcc_cv_math_func_j0=no
24030 fi
24031 rm -f core conftest.err conftest.$ac_objext \
24032     conftest$ac_exeext conftest.$ac_ext
24033 fi
24034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
24035 $as_echo "$gcc_cv_math_func_j0" >&6; }
24036   if test $gcc_cv_math_func_j0 = yes; then
24037
24038 cat >>confdefs.h <<_ACEOF
24039 #define HAVE_J0 1
24040 _ACEOF
24041
24042   fi
24043
24044
24045
24046
24047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
24048 $as_echo_n "checking for j1f... " >&6; }
24049 if ${gcc_cv_math_func_j1f+:} false; then :
24050   $as_echo_n "(cached) " >&6
24051 else
24052   if test x$gcc_no_link = xyes; then
24053   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24054 fi
24055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24056 /* end confdefs.h.  */
24057
24058 #ifdef HAVE_COMPLEX_H
24059 #include <complex.h>
24060 #endif
24061 #ifdef HAVE_MATH_H
24062 #include <math.h>
24063 #endif
24064
24065 int (*ptr)() = (int (*)())j1f;
24066
24067 int
24068 main ()
24069 {
24070   return 0;
24071 }
24072
24073 _ACEOF
24074 if ac_fn_c_try_link "$LINENO"; then :
24075   gcc_cv_math_func_j1f=yes
24076 else
24077   gcc_cv_math_func_j1f=no
24078 fi
24079 rm -f core conftest.err conftest.$ac_objext \
24080     conftest$ac_exeext conftest.$ac_ext
24081 fi
24082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
24083 $as_echo "$gcc_cv_math_func_j1f" >&6; }
24084   if test $gcc_cv_math_func_j1f = yes; then
24085
24086 cat >>confdefs.h <<_ACEOF
24087 #define HAVE_J1F 1
24088 _ACEOF
24089
24090   fi
24091
24092
24093
24094
24095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
24096 $as_echo_n "checking for j1... " >&6; }
24097 if ${gcc_cv_math_func_j1+:} false; then :
24098   $as_echo_n "(cached) " >&6
24099 else
24100   if test x$gcc_no_link = xyes; then
24101   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24102 fi
24103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24104 /* end confdefs.h.  */
24105
24106 #ifdef HAVE_COMPLEX_H
24107 #include <complex.h>
24108 #endif
24109 #ifdef HAVE_MATH_H
24110 #include <math.h>
24111 #endif
24112
24113 int (*ptr)() = (int (*)())j1;
24114
24115 int
24116 main ()
24117 {
24118   return 0;
24119 }
24120
24121 _ACEOF
24122 if ac_fn_c_try_link "$LINENO"; then :
24123   gcc_cv_math_func_j1=yes
24124 else
24125   gcc_cv_math_func_j1=no
24126 fi
24127 rm -f core conftest.err conftest.$ac_objext \
24128     conftest$ac_exeext conftest.$ac_ext
24129 fi
24130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
24131 $as_echo "$gcc_cv_math_func_j1" >&6; }
24132   if test $gcc_cv_math_func_j1 = yes; then
24133
24134 cat >>confdefs.h <<_ACEOF
24135 #define HAVE_J1 1
24136 _ACEOF
24137
24138   fi
24139
24140
24141
24142
24143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
24144 $as_echo_n "checking for jnf... " >&6; }
24145 if ${gcc_cv_math_func_jnf+:} false; then :
24146   $as_echo_n "(cached) " >&6
24147 else
24148   if test x$gcc_no_link = xyes; then
24149   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24150 fi
24151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24152 /* end confdefs.h.  */
24153
24154 #ifdef HAVE_COMPLEX_H
24155 #include <complex.h>
24156 #endif
24157 #ifdef HAVE_MATH_H
24158 #include <math.h>
24159 #endif
24160
24161 int (*ptr)() = (int (*)())jnf;
24162
24163 int
24164 main ()
24165 {
24166   return 0;
24167 }
24168
24169 _ACEOF
24170 if ac_fn_c_try_link "$LINENO"; then :
24171   gcc_cv_math_func_jnf=yes
24172 else
24173   gcc_cv_math_func_jnf=no
24174 fi
24175 rm -f core conftest.err conftest.$ac_objext \
24176     conftest$ac_exeext conftest.$ac_ext
24177 fi
24178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
24179 $as_echo "$gcc_cv_math_func_jnf" >&6; }
24180   if test $gcc_cv_math_func_jnf = yes; then
24181
24182 cat >>confdefs.h <<_ACEOF
24183 #define HAVE_JNF 1
24184 _ACEOF
24185
24186   fi
24187
24188
24189
24190
24191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24192 $as_echo_n "checking for jn... " >&6; }
24193 if ${gcc_cv_math_func_jn+:} false; then :
24194   $as_echo_n "(cached) " >&6
24195 else
24196   if test x$gcc_no_link = xyes; then
24197   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24198 fi
24199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24200 /* end confdefs.h.  */
24201
24202 #ifdef HAVE_COMPLEX_H
24203 #include <complex.h>
24204 #endif
24205 #ifdef HAVE_MATH_H
24206 #include <math.h>
24207 #endif
24208
24209 int (*ptr)() = (int (*)())jn;
24210
24211 int
24212 main ()
24213 {
24214   return 0;
24215 }
24216
24217 _ACEOF
24218 if ac_fn_c_try_link "$LINENO"; then :
24219   gcc_cv_math_func_jn=yes
24220 else
24221   gcc_cv_math_func_jn=no
24222 fi
24223 rm -f core conftest.err conftest.$ac_objext \
24224     conftest$ac_exeext conftest.$ac_ext
24225 fi
24226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24227 $as_echo "$gcc_cv_math_func_jn" >&6; }
24228   if test $gcc_cv_math_func_jn = yes; then
24229
24230 cat >>confdefs.h <<_ACEOF
24231 #define HAVE_JN 1
24232 _ACEOF
24233
24234   fi
24235
24236
24237
24238
24239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24240 $as_echo_n "checking for jnl... " >&6; }
24241 if ${gcc_cv_math_func_jnl+:} false; then :
24242   $as_echo_n "(cached) " >&6
24243 else
24244   if test x$gcc_no_link = xyes; then
24245   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24246 fi
24247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24248 /* end confdefs.h.  */
24249
24250 #ifdef HAVE_COMPLEX_H
24251 #include <complex.h>
24252 #endif
24253 #ifdef HAVE_MATH_H
24254 #include <math.h>
24255 #endif
24256
24257 int (*ptr)() = (int (*)())jnl;
24258
24259 int
24260 main ()
24261 {
24262   return 0;
24263 }
24264
24265 _ACEOF
24266 if ac_fn_c_try_link "$LINENO"; then :
24267   gcc_cv_math_func_jnl=yes
24268 else
24269   gcc_cv_math_func_jnl=no
24270 fi
24271 rm -f core conftest.err conftest.$ac_objext \
24272     conftest$ac_exeext conftest.$ac_ext
24273 fi
24274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24275 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24276   if test $gcc_cv_math_func_jnl = yes; then
24277
24278 cat >>confdefs.h <<_ACEOF
24279 #define HAVE_JNL 1
24280 _ACEOF
24281
24282   fi
24283
24284
24285
24286
24287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24288 $as_echo_n "checking for y0f... " >&6; }
24289 if ${gcc_cv_math_func_y0f+:} false; then :
24290   $as_echo_n "(cached) " >&6
24291 else
24292   if test x$gcc_no_link = xyes; then
24293   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24294 fi
24295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24296 /* end confdefs.h.  */
24297
24298 #ifdef HAVE_COMPLEX_H
24299 #include <complex.h>
24300 #endif
24301 #ifdef HAVE_MATH_H
24302 #include <math.h>
24303 #endif
24304
24305 int (*ptr)() = (int (*)())y0f;
24306
24307 int
24308 main ()
24309 {
24310   return 0;
24311 }
24312
24313 _ACEOF
24314 if ac_fn_c_try_link "$LINENO"; then :
24315   gcc_cv_math_func_y0f=yes
24316 else
24317   gcc_cv_math_func_y0f=no
24318 fi
24319 rm -f core conftest.err conftest.$ac_objext \
24320     conftest$ac_exeext conftest.$ac_ext
24321 fi
24322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24323 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24324   if test $gcc_cv_math_func_y0f = yes; then
24325
24326 cat >>confdefs.h <<_ACEOF
24327 #define HAVE_Y0F 1
24328 _ACEOF
24329
24330   fi
24331
24332
24333
24334
24335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24336 $as_echo_n "checking for y0... " >&6; }
24337 if ${gcc_cv_math_func_y0+:} false; then :
24338   $as_echo_n "(cached) " >&6
24339 else
24340   if test x$gcc_no_link = xyes; then
24341   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24342 fi
24343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24344 /* end confdefs.h.  */
24345
24346 #ifdef HAVE_COMPLEX_H
24347 #include <complex.h>
24348 #endif
24349 #ifdef HAVE_MATH_H
24350 #include <math.h>
24351 #endif
24352
24353 int (*ptr)() = (int (*)())y0;
24354
24355 int
24356 main ()
24357 {
24358   return 0;
24359 }
24360
24361 _ACEOF
24362 if ac_fn_c_try_link "$LINENO"; then :
24363   gcc_cv_math_func_y0=yes
24364 else
24365   gcc_cv_math_func_y0=no
24366 fi
24367 rm -f core conftest.err conftest.$ac_objext \
24368     conftest$ac_exeext conftest.$ac_ext
24369 fi
24370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24371 $as_echo "$gcc_cv_math_func_y0" >&6; }
24372   if test $gcc_cv_math_func_y0 = yes; then
24373
24374 cat >>confdefs.h <<_ACEOF
24375 #define HAVE_Y0 1
24376 _ACEOF
24377
24378   fi
24379
24380
24381
24382
24383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24384 $as_echo_n "checking for y1f... " >&6; }
24385 if ${gcc_cv_math_func_y1f+:} false; then :
24386   $as_echo_n "(cached) " >&6
24387 else
24388   if test x$gcc_no_link = xyes; then
24389   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24390 fi
24391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24392 /* end confdefs.h.  */
24393
24394 #ifdef HAVE_COMPLEX_H
24395 #include <complex.h>
24396 #endif
24397 #ifdef HAVE_MATH_H
24398 #include <math.h>
24399 #endif
24400
24401 int (*ptr)() = (int (*)())y1f;
24402
24403 int
24404 main ()
24405 {
24406   return 0;
24407 }
24408
24409 _ACEOF
24410 if ac_fn_c_try_link "$LINENO"; then :
24411   gcc_cv_math_func_y1f=yes
24412 else
24413   gcc_cv_math_func_y1f=no
24414 fi
24415 rm -f core conftest.err conftest.$ac_objext \
24416     conftest$ac_exeext conftest.$ac_ext
24417 fi
24418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24419 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24420   if test $gcc_cv_math_func_y1f = yes; then
24421
24422 cat >>confdefs.h <<_ACEOF
24423 #define HAVE_Y1F 1
24424 _ACEOF
24425
24426   fi
24427
24428
24429
24430
24431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24432 $as_echo_n "checking for y1... " >&6; }
24433 if ${gcc_cv_math_func_y1+:} false; then :
24434   $as_echo_n "(cached) " >&6
24435 else
24436   if test x$gcc_no_link = xyes; then
24437   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24438 fi
24439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24440 /* end confdefs.h.  */
24441
24442 #ifdef HAVE_COMPLEX_H
24443 #include <complex.h>
24444 #endif
24445 #ifdef HAVE_MATH_H
24446 #include <math.h>
24447 #endif
24448
24449 int (*ptr)() = (int (*)())y1;
24450
24451 int
24452 main ()
24453 {
24454   return 0;
24455 }
24456
24457 _ACEOF
24458 if ac_fn_c_try_link "$LINENO"; then :
24459   gcc_cv_math_func_y1=yes
24460 else
24461   gcc_cv_math_func_y1=no
24462 fi
24463 rm -f core conftest.err conftest.$ac_objext \
24464     conftest$ac_exeext conftest.$ac_ext
24465 fi
24466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24467 $as_echo "$gcc_cv_math_func_y1" >&6; }
24468   if test $gcc_cv_math_func_y1 = yes; then
24469
24470 cat >>confdefs.h <<_ACEOF
24471 #define HAVE_Y1 1
24472 _ACEOF
24473
24474   fi
24475
24476
24477
24478
24479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24480 $as_echo_n "checking for ynf... " >&6; }
24481 if ${gcc_cv_math_func_ynf+:} false; then :
24482   $as_echo_n "(cached) " >&6
24483 else
24484   if test x$gcc_no_link = xyes; then
24485   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24486 fi
24487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24488 /* end confdefs.h.  */
24489
24490 #ifdef HAVE_COMPLEX_H
24491 #include <complex.h>
24492 #endif
24493 #ifdef HAVE_MATH_H
24494 #include <math.h>
24495 #endif
24496
24497 int (*ptr)() = (int (*)())ynf;
24498
24499 int
24500 main ()
24501 {
24502   return 0;
24503 }
24504
24505 _ACEOF
24506 if ac_fn_c_try_link "$LINENO"; then :
24507   gcc_cv_math_func_ynf=yes
24508 else
24509   gcc_cv_math_func_ynf=no
24510 fi
24511 rm -f core conftest.err conftest.$ac_objext \
24512     conftest$ac_exeext conftest.$ac_ext
24513 fi
24514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24515 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24516   if test $gcc_cv_math_func_ynf = yes; then
24517
24518 cat >>confdefs.h <<_ACEOF
24519 #define HAVE_YNF 1
24520 _ACEOF
24521
24522   fi
24523
24524
24525
24526
24527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24528 $as_echo_n "checking for yn... " >&6; }
24529 if ${gcc_cv_math_func_yn+:} false; then :
24530   $as_echo_n "(cached) " >&6
24531 else
24532   if test x$gcc_no_link = xyes; then
24533   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24534 fi
24535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24536 /* end confdefs.h.  */
24537
24538 #ifdef HAVE_COMPLEX_H
24539 #include <complex.h>
24540 #endif
24541 #ifdef HAVE_MATH_H
24542 #include <math.h>
24543 #endif
24544
24545 int (*ptr)() = (int (*)())yn;
24546
24547 int
24548 main ()
24549 {
24550   return 0;
24551 }
24552
24553 _ACEOF
24554 if ac_fn_c_try_link "$LINENO"; then :
24555   gcc_cv_math_func_yn=yes
24556 else
24557   gcc_cv_math_func_yn=no
24558 fi
24559 rm -f core conftest.err conftest.$ac_objext \
24560     conftest$ac_exeext conftest.$ac_ext
24561 fi
24562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24563 $as_echo "$gcc_cv_math_func_yn" >&6; }
24564   if test $gcc_cv_math_func_yn = yes; then
24565
24566 cat >>confdefs.h <<_ACEOF
24567 #define HAVE_YN 1
24568 _ACEOF
24569
24570   fi
24571
24572
24573
24574
24575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24576 $as_echo_n "checking for ynl... " >&6; }
24577 if ${gcc_cv_math_func_ynl+:} false; then :
24578   $as_echo_n "(cached) " >&6
24579 else
24580   if test x$gcc_no_link = xyes; then
24581   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24582 fi
24583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24584 /* end confdefs.h.  */
24585
24586 #ifdef HAVE_COMPLEX_H
24587 #include <complex.h>
24588 #endif
24589 #ifdef HAVE_MATH_H
24590 #include <math.h>
24591 #endif
24592
24593 int (*ptr)() = (int (*)())ynl;
24594
24595 int
24596 main ()
24597 {
24598   return 0;
24599 }
24600
24601 _ACEOF
24602 if ac_fn_c_try_link "$LINENO"; then :
24603   gcc_cv_math_func_ynl=yes
24604 else
24605   gcc_cv_math_func_ynl=no
24606 fi
24607 rm -f core conftest.err conftest.$ac_objext \
24608     conftest$ac_exeext conftest.$ac_ext
24609 fi
24610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24611 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24612   if test $gcc_cv_math_func_ynl = yes; then
24613
24614 cat >>confdefs.h <<_ACEOF
24615 #define HAVE_YNL 1
24616 _ACEOF
24617
24618   fi
24619
24620
24621
24622
24623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24624 $as_echo_n "checking for tgamma... " >&6; }
24625 if ${gcc_cv_math_func_tgamma+:} false; then :
24626   $as_echo_n "(cached) " >&6
24627 else
24628   if test x$gcc_no_link = xyes; then
24629   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24630 fi
24631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24632 /* end confdefs.h.  */
24633
24634 #ifdef HAVE_COMPLEX_H
24635 #include <complex.h>
24636 #endif
24637 #ifdef HAVE_MATH_H
24638 #include <math.h>
24639 #endif
24640
24641 int (*ptr)() = (int (*)())tgamma;
24642
24643 int
24644 main ()
24645 {
24646   return 0;
24647 }
24648
24649 _ACEOF
24650 if ac_fn_c_try_link "$LINENO"; then :
24651   gcc_cv_math_func_tgamma=yes
24652 else
24653   gcc_cv_math_func_tgamma=no
24654 fi
24655 rm -f core conftest.err conftest.$ac_objext \
24656     conftest$ac_exeext conftest.$ac_ext
24657 fi
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24659 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24660   if test $gcc_cv_math_func_tgamma = yes; then
24661
24662 cat >>confdefs.h <<_ACEOF
24663 #define HAVE_TGAMMA 1
24664 _ACEOF
24665
24666   fi
24667
24668
24669
24670
24671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24672 $as_echo_n "checking for tgammaf... " >&6; }
24673 if ${gcc_cv_math_func_tgammaf+:} false; then :
24674   $as_echo_n "(cached) " >&6
24675 else
24676   if test x$gcc_no_link = xyes; then
24677   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24678 fi
24679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24680 /* end confdefs.h.  */
24681
24682 #ifdef HAVE_COMPLEX_H
24683 #include <complex.h>
24684 #endif
24685 #ifdef HAVE_MATH_H
24686 #include <math.h>
24687 #endif
24688
24689 int (*ptr)() = (int (*)())tgammaf;
24690
24691 int
24692 main ()
24693 {
24694   return 0;
24695 }
24696
24697 _ACEOF
24698 if ac_fn_c_try_link "$LINENO"; then :
24699   gcc_cv_math_func_tgammaf=yes
24700 else
24701   gcc_cv_math_func_tgammaf=no
24702 fi
24703 rm -f core conftest.err conftest.$ac_objext \
24704     conftest$ac_exeext conftest.$ac_ext
24705 fi
24706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24707 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24708   if test $gcc_cv_math_func_tgammaf = yes; then
24709
24710 cat >>confdefs.h <<_ACEOF
24711 #define HAVE_TGAMMAF 1
24712 _ACEOF
24713
24714   fi
24715
24716
24717
24718
24719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24720 $as_echo_n "checking for lgamma... " >&6; }
24721 if ${gcc_cv_math_func_lgamma+:} false; then :
24722   $as_echo_n "(cached) " >&6
24723 else
24724   if test x$gcc_no_link = xyes; then
24725   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24726 fi
24727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24728 /* end confdefs.h.  */
24729
24730 #ifdef HAVE_COMPLEX_H
24731 #include <complex.h>
24732 #endif
24733 #ifdef HAVE_MATH_H
24734 #include <math.h>
24735 #endif
24736
24737 int (*ptr)() = (int (*)())lgamma;
24738
24739 int
24740 main ()
24741 {
24742   return 0;
24743 }
24744
24745 _ACEOF
24746 if ac_fn_c_try_link "$LINENO"; then :
24747   gcc_cv_math_func_lgamma=yes
24748 else
24749   gcc_cv_math_func_lgamma=no
24750 fi
24751 rm -f core conftest.err conftest.$ac_objext \
24752     conftest$ac_exeext conftest.$ac_ext
24753 fi
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24755 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24756   if test $gcc_cv_math_func_lgamma = yes; then
24757
24758 cat >>confdefs.h <<_ACEOF
24759 #define HAVE_LGAMMA 1
24760 _ACEOF
24761
24762   fi
24763
24764
24765
24766
24767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24768 $as_echo_n "checking for lgammaf... " >&6; }
24769 if ${gcc_cv_math_func_lgammaf+:} false; then :
24770   $as_echo_n "(cached) " >&6
24771 else
24772   if test x$gcc_no_link = xyes; then
24773   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24774 fi
24775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24776 /* end confdefs.h.  */
24777
24778 #ifdef HAVE_COMPLEX_H
24779 #include <complex.h>
24780 #endif
24781 #ifdef HAVE_MATH_H
24782 #include <math.h>
24783 #endif
24784
24785 int (*ptr)() = (int (*)())lgammaf;
24786
24787 int
24788 main ()
24789 {
24790   return 0;
24791 }
24792
24793 _ACEOF
24794 if ac_fn_c_try_link "$LINENO"; then :
24795   gcc_cv_math_func_lgammaf=yes
24796 else
24797   gcc_cv_math_func_lgammaf=no
24798 fi
24799 rm -f core conftest.err conftest.$ac_objext \
24800     conftest$ac_exeext conftest.$ac_ext
24801 fi
24802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24803 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24804   if test $gcc_cv_math_func_lgammaf = yes; then
24805
24806 cat >>confdefs.h <<_ACEOF
24807 #define HAVE_LGAMMAF 1
24808 _ACEOF
24809
24810   fi
24811
24812
24813 # Check for GFORTRAN_C99_1.1 funcs
24814
24815
24816
24817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24818 $as_echo_n "checking for cacos... " >&6; }
24819 if ${gcc_cv_math_func_cacos+:} false; then :
24820   $as_echo_n "(cached) " >&6
24821 else
24822   if test x$gcc_no_link = xyes; then
24823   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24824 fi
24825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24826 /* end confdefs.h.  */
24827
24828 #ifdef HAVE_COMPLEX_H
24829 #include <complex.h>
24830 #endif
24831 #ifdef HAVE_MATH_H
24832 #include <math.h>
24833 #endif
24834
24835 int (*ptr)() = (int (*)())cacos;
24836
24837 int
24838 main ()
24839 {
24840   return 0;
24841 }
24842
24843 _ACEOF
24844 if ac_fn_c_try_link "$LINENO"; then :
24845   gcc_cv_math_func_cacos=yes
24846 else
24847   gcc_cv_math_func_cacos=no
24848 fi
24849 rm -f core conftest.err conftest.$ac_objext \
24850     conftest$ac_exeext conftest.$ac_ext
24851 fi
24852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24853 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24854   if test $gcc_cv_math_func_cacos = yes; then
24855
24856 cat >>confdefs.h <<_ACEOF
24857 #define HAVE_CACOS 1
24858 _ACEOF
24859
24860   fi
24861
24862
24863
24864
24865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24866 $as_echo_n "checking for cacosf... " >&6; }
24867 if ${gcc_cv_math_func_cacosf+:} false; then :
24868   $as_echo_n "(cached) " >&6
24869 else
24870   if test x$gcc_no_link = xyes; then
24871   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24872 fi
24873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24874 /* end confdefs.h.  */
24875
24876 #ifdef HAVE_COMPLEX_H
24877 #include <complex.h>
24878 #endif
24879 #ifdef HAVE_MATH_H
24880 #include <math.h>
24881 #endif
24882
24883 int (*ptr)() = (int (*)())cacosf;
24884
24885 int
24886 main ()
24887 {
24888   return 0;
24889 }
24890
24891 _ACEOF
24892 if ac_fn_c_try_link "$LINENO"; then :
24893   gcc_cv_math_func_cacosf=yes
24894 else
24895   gcc_cv_math_func_cacosf=no
24896 fi
24897 rm -f core conftest.err conftest.$ac_objext \
24898     conftest$ac_exeext conftest.$ac_ext
24899 fi
24900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24901 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24902   if test $gcc_cv_math_func_cacosf = yes; then
24903
24904 cat >>confdefs.h <<_ACEOF
24905 #define HAVE_CACOSF 1
24906 _ACEOF
24907
24908   fi
24909
24910
24911
24912
24913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24914 $as_echo_n "checking for cacosh... " >&6; }
24915 if ${gcc_cv_math_func_cacosh+:} false; then :
24916   $as_echo_n "(cached) " >&6
24917 else
24918   if test x$gcc_no_link = xyes; then
24919   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24920 fi
24921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24922 /* end confdefs.h.  */
24923
24924 #ifdef HAVE_COMPLEX_H
24925 #include <complex.h>
24926 #endif
24927 #ifdef HAVE_MATH_H
24928 #include <math.h>
24929 #endif
24930
24931 int (*ptr)() = (int (*)())cacosh;
24932
24933 int
24934 main ()
24935 {
24936   return 0;
24937 }
24938
24939 _ACEOF
24940 if ac_fn_c_try_link "$LINENO"; then :
24941   gcc_cv_math_func_cacosh=yes
24942 else
24943   gcc_cv_math_func_cacosh=no
24944 fi
24945 rm -f core conftest.err conftest.$ac_objext \
24946     conftest$ac_exeext conftest.$ac_ext
24947 fi
24948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24949 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24950   if test $gcc_cv_math_func_cacosh = yes; then
24951
24952 cat >>confdefs.h <<_ACEOF
24953 #define HAVE_CACOSH 1
24954 _ACEOF
24955
24956   fi
24957
24958
24959
24960
24961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24962 $as_echo_n "checking for cacoshf... " >&6; }
24963 if ${gcc_cv_math_func_cacoshf+:} false; then :
24964   $as_echo_n "(cached) " >&6
24965 else
24966   if test x$gcc_no_link = xyes; then
24967   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24968 fi
24969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24970 /* end confdefs.h.  */
24971
24972 #ifdef HAVE_COMPLEX_H
24973 #include <complex.h>
24974 #endif
24975 #ifdef HAVE_MATH_H
24976 #include <math.h>
24977 #endif
24978
24979 int (*ptr)() = (int (*)())cacoshf;
24980
24981 int
24982 main ()
24983 {
24984   return 0;
24985 }
24986
24987 _ACEOF
24988 if ac_fn_c_try_link "$LINENO"; then :
24989   gcc_cv_math_func_cacoshf=yes
24990 else
24991   gcc_cv_math_func_cacoshf=no
24992 fi
24993 rm -f core conftest.err conftest.$ac_objext \
24994     conftest$ac_exeext conftest.$ac_ext
24995 fi
24996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24997 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24998   if test $gcc_cv_math_func_cacoshf = yes; then
24999
25000 cat >>confdefs.h <<_ACEOF
25001 #define HAVE_CACOSHF 1
25002 _ACEOF
25003
25004   fi
25005
25006
25007
25008
25009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
25010 $as_echo_n "checking for cacoshl... " >&6; }
25011 if ${gcc_cv_math_func_cacoshl+:} false; then :
25012   $as_echo_n "(cached) " >&6
25013 else
25014   if test x$gcc_no_link = xyes; then
25015   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25016 fi
25017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25018 /* end confdefs.h.  */
25019
25020 #ifdef HAVE_COMPLEX_H
25021 #include <complex.h>
25022 #endif
25023 #ifdef HAVE_MATH_H
25024 #include <math.h>
25025 #endif
25026
25027 int (*ptr)() = (int (*)())cacoshl;
25028
25029 int
25030 main ()
25031 {
25032   return 0;
25033 }
25034
25035 _ACEOF
25036 if ac_fn_c_try_link "$LINENO"; then :
25037   gcc_cv_math_func_cacoshl=yes
25038 else
25039   gcc_cv_math_func_cacoshl=no
25040 fi
25041 rm -f core conftest.err conftest.$ac_objext \
25042     conftest$ac_exeext conftest.$ac_ext
25043 fi
25044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
25045 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
25046   if test $gcc_cv_math_func_cacoshl = yes; then
25047
25048 cat >>confdefs.h <<_ACEOF
25049 #define HAVE_CACOSHL 1
25050 _ACEOF
25051
25052   fi
25053
25054
25055
25056
25057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
25058 $as_echo_n "checking for cacosl... " >&6; }
25059 if ${gcc_cv_math_func_cacosl+:} false; then :
25060   $as_echo_n "(cached) " >&6
25061 else
25062   if test x$gcc_no_link = xyes; then
25063   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25064 fi
25065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25066 /* end confdefs.h.  */
25067
25068 #ifdef HAVE_COMPLEX_H
25069 #include <complex.h>
25070 #endif
25071 #ifdef HAVE_MATH_H
25072 #include <math.h>
25073 #endif
25074
25075 int (*ptr)() = (int (*)())cacosl;
25076
25077 int
25078 main ()
25079 {
25080   return 0;
25081 }
25082
25083 _ACEOF
25084 if ac_fn_c_try_link "$LINENO"; then :
25085   gcc_cv_math_func_cacosl=yes
25086 else
25087   gcc_cv_math_func_cacosl=no
25088 fi
25089 rm -f core conftest.err conftest.$ac_objext \
25090     conftest$ac_exeext conftest.$ac_ext
25091 fi
25092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
25093 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
25094   if test $gcc_cv_math_func_cacosl = yes; then
25095
25096 cat >>confdefs.h <<_ACEOF
25097 #define HAVE_CACOSL 1
25098 _ACEOF
25099
25100   fi
25101
25102
25103
25104
25105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
25106 $as_echo_n "checking for casin... " >&6; }
25107 if ${gcc_cv_math_func_casin+:} false; then :
25108   $as_echo_n "(cached) " >&6
25109 else
25110   if test x$gcc_no_link = xyes; then
25111   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25112 fi
25113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25114 /* end confdefs.h.  */
25115
25116 #ifdef HAVE_COMPLEX_H
25117 #include <complex.h>
25118 #endif
25119 #ifdef HAVE_MATH_H
25120 #include <math.h>
25121 #endif
25122
25123 int (*ptr)() = (int (*)())casin;
25124
25125 int
25126 main ()
25127 {
25128   return 0;
25129 }
25130
25131 _ACEOF
25132 if ac_fn_c_try_link "$LINENO"; then :
25133   gcc_cv_math_func_casin=yes
25134 else
25135   gcc_cv_math_func_casin=no
25136 fi
25137 rm -f core conftest.err conftest.$ac_objext \
25138     conftest$ac_exeext conftest.$ac_ext
25139 fi
25140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25141 $as_echo "$gcc_cv_math_func_casin" >&6; }
25142   if test $gcc_cv_math_func_casin = yes; then
25143
25144 cat >>confdefs.h <<_ACEOF
25145 #define HAVE_CASIN 1
25146 _ACEOF
25147
25148   fi
25149
25150
25151
25152
25153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25154 $as_echo_n "checking for casinf... " >&6; }
25155 if ${gcc_cv_math_func_casinf+:} false; then :
25156   $as_echo_n "(cached) " >&6
25157 else
25158   if test x$gcc_no_link = xyes; then
25159   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25160 fi
25161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25162 /* end confdefs.h.  */
25163
25164 #ifdef HAVE_COMPLEX_H
25165 #include <complex.h>
25166 #endif
25167 #ifdef HAVE_MATH_H
25168 #include <math.h>
25169 #endif
25170
25171 int (*ptr)() = (int (*)())casinf;
25172
25173 int
25174 main ()
25175 {
25176   return 0;
25177 }
25178
25179 _ACEOF
25180 if ac_fn_c_try_link "$LINENO"; then :
25181   gcc_cv_math_func_casinf=yes
25182 else
25183   gcc_cv_math_func_casinf=no
25184 fi
25185 rm -f core conftest.err conftest.$ac_objext \
25186     conftest$ac_exeext conftest.$ac_ext
25187 fi
25188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25189 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25190   if test $gcc_cv_math_func_casinf = yes; then
25191
25192 cat >>confdefs.h <<_ACEOF
25193 #define HAVE_CASINF 1
25194 _ACEOF
25195
25196   fi
25197
25198
25199
25200
25201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25202 $as_echo_n "checking for casinh... " >&6; }
25203 if ${gcc_cv_math_func_casinh+:} false; then :
25204   $as_echo_n "(cached) " >&6
25205 else
25206   if test x$gcc_no_link = xyes; then
25207   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25208 fi
25209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25210 /* end confdefs.h.  */
25211
25212 #ifdef HAVE_COMPLEX_H
25213 #include <complex.h>
25214 #endif
25215 #ifdef HAVE_MATH_H
25216 #include <math.h>
25217 #endif
25218
25219 int (*ptr)() = (int (*)())casinh;
25220
25221 int
25222 main ()
25223 {
25224   return 0;
25225 }
25226
25227 _ACEOF
25228 if ac_fn_c_try_link "$LINENO"; then :
25229   gcc_cv_math_func_casinh=yes
25230 else
25231   gcc_cv_math_func_casinh=no
25232 fi
25233 rm -f core conftest.err conftest.$ac_objext \
25234     conftest$ac_exeext conftest.$ac_ext
25235 fi
25236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25237 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25238   if test $gcc_cv_math_func_casinh = yes; then
25239
25240 cat >>confdefs.h <<_ACEOF
25241 #define HAVE_CASINH 1
25242 _ACEOF
25243
25244   fi
25245
25246
25247
25248
25249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25250 $as_echo_n "checking for casinhf... " >&6; }
25251 if ${gcc_cv_math_func_casinhf+:} false; then :
25252   $as_echo_n "(cached) " >&6
25253 else
25254   if test x$gcc_no_link = xyes; then
25255   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25256 fi
25257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25258 /* end confdefs.h.  */
25259
25260 #ifdef HAVE_COMPLEX_H
25261 #include <complex.h>
25262 #endif
25263 #ifdef HAVE_MATH_H
25264 #include <math.h>
25265 #endif
25266
25267 int (*ptr)() = (int (*)())casinhf;
25268
25269 int
25270 main ()
25271 {
25272   return 0;
25273 }
25274
25275 _ACEOF
25276 if ac_fn_c_try_link "$LINENO"; then :
25277   gcc_cv_math_func_casinhf=yes
25278 else
25279   gcc_cv_math_func_casinhf=no
25280 fi
25281 rm -f core conftest.err conftest.$ac_objext \
25282     conftest$ac_exeext conftest.$ac_ext
25283 fi
25284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25285 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25286   if test $gcc_cv_math_func_casinhf = yes; then
25287
25288 cat >>confdefs.h <<_ACEOF
25289 #define HAVE_CASINHF 1
25290 _ACEOF
25291
25292   fi
25293
25294
25295
25296
25297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25298 $as_echo_n "checking for casinhl... " >&6; }
25299 if ${gcc_cv_math_func_casinhl+:} false; then :
25300   $as_echo_n "(cached) " >&6
25301 else
25302   if test x$gcc_no_link = xyes; then
25303   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25304 fi
25305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25306 /* end confdefs.h.  */
25307
25308 #ifdef HAVE_COMPLEX_H
25309 #include <complex.h>
25310 #endif
25311 #ifdef HAVE_MATH_H
25312 #include <math.h>
25313 #endif
25314
25315 int (*ptr)() = (int (*)())casinhl;
25316
25317 int
25318 main ()
25319 {
25320   return 0;
25321 }
25322
25323 _ACEOF
25324 if ac_fn_c_try_link "$LINENO"; then :
25325   gcc_cv_math_func_casinhl=yes
25326 else
25327   gcc_cv_math_func_casinhl=no
25328 fi
25329 rm -f core conftest.err conftest.$ac_objext \
25330     conftest$ac_exeext conftest.$ac_ext
25331 fi
25332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25333 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25334   if test $gcc_cv_math_func_casinhl = yes; then
25335
25336 cat >>confdefs.h <<_ACEOF
25337 #define HAVE_CASINHL 1
25338 _ACEOF
25339
25340   fi
25341
25342
25343
25344
25345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25346 $as_echo_n "checking for casinl... " >&6; }
25347 if ${gcc_cv_math_func_casinl+:} false; then :
25348   $as_echo_n "(cached) " >&6
25349 else
25350   if test x$gcc_no_link = xyes; then
25351   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25352 fi
25353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25354 /* end confdefs.h.  */
25355
25356 #ifdef HAVE_COMPLEX_H
25357 #include <complex.h>
25358 #endif
25359 #ifdef HAVE_MATH_H
25360 #include <math.h>
25361 #endif
25362
25363 int (*ptr)() = (int (*)())casinl;
25364
25365 int
25366 main ()
25367 {
25368   return 0;
25369 }
25370
25371 _ACEOF
25372 if ac_fn_c_try_link "$LINENO"; then :
25373   gcc_cv_math_func_casinl=yes
25374 else
25375   gcc_cv_math_func_casinl=no
25376 fi
25377 rm -f core conftest.err conftest.$ac_objext \
25378     conftest$ac_exeext conftest.$ac_ext
25379 fi
25380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25381 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25382   if test $gcc_cv_math_func_casinl = yes; then
25383
25384 cat >>confdefs.h <<_ACEOF
25385 #define HAVE_CASINL 1
25386 _ACEOF
25387
25388   fi
25389
25390
25391
25392
25393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25394 $as_echo_n "checking for catan... " >&6; }
25395 if ${gcc_cv_math_func_catan+:} false; then :
25396   $as_echo_n "(cached) " >&6
25397 else
25398   if test x$gcc_no_link = xyes; then
25399   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25400 fi
25401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25402 /* end confdefs.h.  */
25403
25404 #ifdef HAVE_COMPLEX_H
25405 #include <complex.h>
25406 #endif
25407 #ifdef HAVE_MATH_H
25408 #include <math.h>
25409 #endif
25410
25411 int (*ptr)() = (int (*)())catan;
25412
25413 int
25414 main ()
25415 {
25416   return 0;
25417 }
25418
25419 _ACEOF
25420 if ac_fn_c_try_link "$LINENO"; then :
25421   gcc_cv_math_func_catan=yes
25422 else
25423   gcc_cv_math_func_catan=no
25424 fi
25425 rm -f core conftest.err conftest.$ac_objext \
25426     conftest$ac_exeext conftest.$ac_ext
25427 fi
25428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25429 $as_echo "$gcc_cv_math_func_catan" >&6; }
25430   if test $gcc_cv_math_func_catan = yes; then
25431
25432 cat >>confdefs.h <<_ACEOF
25433 #define HAVE_CATAN 1
25434 _ACEOF
25435
25436   fi
25437
25438
25439
25440
25441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25442 $as_echo_n "checking for catanf... " >&6; }
25443 if ${gcc_cv_math_func_catanf+:} false; then :
25444   $as_echo_n "(cached) " >&6
25445 else
25446   if test x$gcc_no_link = xyes; then
25447   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25448 fi
25449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25450 /* end confdefs.h.  */
25451
25452 #ifdef HAVE_COMPLEX_H
25453 #include <complex.h>
25454 #endif
25455 #ifdef HAVE_MATH_H
25456 #include <math.h>
25457 #endif
25458
25459 int (*ptr)() = (int (*)())catanf;
25460
25461 int
25462 main ()
25463 {
25464   return 0;
25465 }
25466
25467 _ACEOF
25468 if ac_fn_c_try_link "$LINENO"; then :
25469   gcc_cv_math_func_catanf=yes
25470 else
25471   gcc_cv_math_func_catanf=no
25472 fi
25473 rm -f core conftest.err conftest.$ac_objext \
25474     conftest$ac_exeext conftest.$ac_ext
25475 fi
25476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25477 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25478   if test $gcc_cv_math_func_catanf = yes; then
25479
25480 cat >>confdefs.h <<_ACEOF
25481 #define HAVE_CATANF 1
25482 _ACEOF
25483
25484   fi
25485
25486
25487
25488
25489   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25490 $as_echo_n "checking for catanh... " >&6; }
25491 if ${gcc_cv_math_func_catanh+:} false; then :
25492   $as_echo_n "(cached) " >&6
25493 else
25494   if test x$gcc_no_link = xyes; then
25495   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25496 fi
25497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25498 /* end confdefs.h.  */
25499
25500 #ifdef HAVE_COMPLEX_H
25501 #include <complex.h>
25502 #endif
25503 #ifdef HAVE_MATH_H
25504 #include <math.h>
25505 #endif
25506
25507 int (*ptr)() = (int (*)())catanh;
25508
25509 int
25510 main ()
25511 {
25512   return 0;
25513 }
25514
25515 _ACEOF
25516 if ac_fn_c_try_link "$LINENO"; then :
25517   gcc_cv_math_func_catanh=yes
25518 else
25519   gcc_cv_math_func_catanh=no
25520 fi
25521 rm -f core conftest.err conftest.$ac_objext \
25522     conftest$ac_exeext conftest.$ac_ext
25523 fi
25524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25525 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25526   if test $gcc_cv_math_func_catanh = yes; then
25527
25528 cat >>confdefs.h <<_ACEOF
25529 #define HAVE_CATANH 1
25530 _ACEOF
25531
25532   fi
25533
25534
25535
25536
25537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25538 $as_echo_n "checking for catanhf... " >&6; }
25539 if ${gcc_cv_math_func_catanhf+:} false; then :
25540   $as_echo_n "(cached) " >&6
25541 else
25542   if test x$gcc_no_link = xyes; then
25543   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25544 fi
25545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25546 /* end confdefs.h.  */
25547
25548 #ifdef HAVE_COMPLEX_H
25549 #include <complex.h>
25550 #endif
25551 #ifdef HAVE_MATH_H
25552 #include <math.h>
25553 #endif
25554
25555 int (*ptr)() = (int (*)())catanhf;
25556
25557 int
25558 main ()
25559 {
25560   return 0;
25561 }
25562
25563 _ACEOF
25564 if ac_fn_c_try_link "$LINENO"; then :
25565   gcc_cv_math_func_catanhf=yes
25566 else
25567   gcc_cv_math_func_catanhf=no
25568 fi
25569 rm -f core conftest.err conftest.$ac_objext \
25570     conftest$ac_exeext conftest.$ac_ext
25571 fi
25572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25573 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25574   if test $gcc_cv_math_func_catanhf = yes; then
25575
25576 cat >>confdefs.h <<_ACEOF
25577 #define HAVE_CATANHF 1
25578 _ACEOF
25579
25580   fi
25581
25582
25583
25584
25585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25586 $as_echo_n "checking for catanhl... " >&6; }
25587 if ${gcc_cv_math_func_catanhl+:} false; then :
25588   $as_echo_n "(cached) " >&6
25589 else
25590   if test x$gcc_no_link = xyes; then
25591   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25592 fi
25593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25594 /* end confdefs.h.  */
25595
25596 #ifdef HAVE_COMPLEX_H
25597 #include <complex.h>
25598 #endif
25599 #ifdef HAVE_MATH_H
25600 #include <math.h>
25601 #endif
25602
25603 int (*ptr)() = (int (*)())catanhl;
25604
25605 int
25606 main ()
25607 {
25608   return 0;
25609 }
25610
25611 _ACEOF
25612 if ac_fn_c_try_link "$LINENO"; then :
25613   gcc_cv_math_func_catanhl=yes
25614 else
25615   gcc_cv_math_func_catanhl=no
25616 fi
25617 rm -f core conftest.err conftest.$ac_objext \
25618     conftest$ac_exeext conftest.$ac_ext
25619 fi
25620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25621 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25622   if test $gcc_cv_math_func_catanhl = yes; then
25623
25624 cat >>confdefs.h <<_ACEOF
25625 #define HAVE_CATANHL 1
25626 _ACEOF
25627
25628   fi
25629
25630
25631
25632
25633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25634 $as_echo_n "checking for catanl... " >&6; }
25635 if ${gcc_cv_math_func_catanl+:} false; then :
25636   $as_echo_n "(cached) " >&6
25637 else
25638   if test x$gcc_no_link = xyes; then
25639   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25640 fi
25641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25642 /* end confdefs.h.  */
25643
25644 #ifdef HAVE_COMPLEX_H
25645 #include <complex.h>
25646 #endif
25647 #ifdef HAVE_MATH_H
25648 #include <math.h>
25649 #endif
25650
25651 int (*ptr)() = (int (*)())catanl;
25652
25653 int
25654 main ()
25655 {
25656   return 0;
25657 }
25658
25659 _ACEOF
25660 if ac_fn_c_try_link "$LINENO"; then :
25661   gcc_cv_math_func_catanl=yes
25662 else
25663   gcc_cv_math_func_catanl=no
25664 fi
25665 rm -f core conftest.err conftest.$ac_objext \
25666     conftest$ac_exeext conftest.$ac_ext
25667 fi
25668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25669 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25670   if test $gcc_cv_math_func_catanl = yes; then
25671
25672 cat >>confdefs.h <<_ACEOF
25673 #define HAVE_CATANL 1
25674 _ACEOF
25675
25676   fi
25677
25678
25679 # On AIX, clog is present in libm as __clog
25680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25681 $as_echo_n "checking for __clog in -lm... " >&6; }
25682 if ${ac_cv_lib_m___clog+:} false; then :
25683   $as_echo_n "(cached) " >&6
25684 else
25685   ac_check_lib_save_LIBS=$LIBS
25686 LIBS="-lm  $LIBS"
25687 if test x$gcc_no_link = xyes; then
25688   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25689 fi
25690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25691 /* end confdefs.h.  */
25692
25693 /* Override any GCC internal prototype to avoid an error.
25694    Use char because int might match the return type of a GCC
25695    builtin and then its argument prototype would still apply.  */
25696 #ifdef __cplusplus
25697 extern "C"
25698 #endif
25699 char __clog ();
25700 int
25701 main ()
25702 {
25703 return __clog ();
25704   ;
25705   return 0;
25706 }
25707 _ACEOF
25708 if ac_fn_c_try_link "$LINENO"; then :
25709   ac_cv_lib_m___clog=yes
25710 else
25711   ac_cv_lib_m___clog=no
25712 fi
25713 rm -f core conftest.err conftest.$ac_objext \
25714     conftest$ac_exeext conftest.$ac_ext
25715 LIBS=$ac_check_lib_save_LIBS
25716 fi
25717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25718 $as_echo "$ac_cv_lib_m___clog" >&6; }
25719 if test "x$ac_cv_lib_m___clog" = xyes; then :
25720
25721 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25722
25723 fi
25724
25725
25726
25727
25728 if test $gcc_cv_math_func_copysign = no; then
25729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
25730 $as_echo_n "checking for inline __builtin_copysign... " >&6; }
25731 if ${gcc_cv_math_inline_builtin_copysign+:} false; then :
25732   $as_echo_n "(cached) " >&6
25733 else
25734   if test x$gcc_no_link = xyes; then
25735   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25736 fi
25737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25738 /* end confdefs.h.  */
25739
25740 double
25741 copysign_fallback (double x, double y)
25742 {
25743   return __builtin_copysign (x, y);
25744 }
25745
25746 int
25747 main ()
25748 {
25749   return 0;
25750 }
25751
25752 _ACEOF
25753 if ac_fn_c_try_link "$LINENO"; then :
25754   gcc_cv_math_inline_builtin_copysign=yes
25755 else
25756   gcc_cv_math_inline_builtin_copysign=no
25757 fi
25758 rm -f core conftest.err conftest.$ac_objext \
25759     conftest$ac_exeext conftest.$ac_ext
25760 fi
25761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
25762 $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
25763   if test $gcc_cv_math_inline_builtin_copysign = yes; then
25764
25765 cat >>confdefs.h <<_ACEOF
25766 #define HAVE_INLINE_BUILTIN_COPYSIGN 1
25767 _ACEOF
25768
25769   fi
25770 fi
25771
25772
25773 if test $gcc_cv_math_func_copysignl = no; then
25774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
25775 $as_echo_n "checking for inline __builtin_copysignl... " >&6; }
25776 if ${gcc_cv_math_inline_builtin_copysignl+:} false; then :
25777   $as_echo_n "(cached) " >&6
25778 else
25779   if test x$gcc_no_link = xyes; then
25780   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25781 fi
25782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25783 /* end confdefs.h.  */
25784
25785 long double
25786 copysignl_fallback (long double x, long double y)
25787 {
25788   return __builtin_copysignl (x, y);
25789 }
25790
25791 int
25792 main ()
25793 {
25794   return 0;
25795 }
25796
25797 _ACEOF
25798 if ac_fn_c_try_link "$LINENO"; then :
25799   gcc_cv_math_inline_builtin_copysignl=yes
25800 else
25801   gcc_cv_math_inline_builtin_copysignl=no
25802 fi
25803 rm -f core conftest.err conftest.$ac_objext \
25804     conftest$ac_exeext conftest.$ac_ext
25805 fi
25806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
25807 $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
25808   if test $gcc_cv_math_inline_builtin_copysignl = yes; then
25809
25810 cat >>confdefs.h <<_ACEOF
25811 #define HAVE_INLINE_BUILTIN_COPYSIGNL 1
25812 _ACEOF
25813
25814   fi
25815 fi
25816
25817
25818 if test $gcc_cv_math_func_fabs = no; then
25819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
25820 $as_echo_n "checking for inline __builtin_fabs... " >&6; }
25821 if ${gcc_cv_math_inline_builtin_fabs+:} false; then :
25822   $as_echo_n "(cached) " >&6
25823 else
25824   if test x$gcc_no_link = xyes; then
25825   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25826 fi
25827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25828 /* end confdefs.h.  */
25829
25830 double
25831 fabs_fallback (double x)
25832 {
25833   return __builtin_fabs (x);
25834 }
25835
25836 int
25837 main ()
25838 {
25839   return 0;
25840 }
25841
25842 _ACEOF
25843 if ac_fn_c_try_link "$LINENO"; then :
25844   gcc_cv_math_inline_builtin_fabs=yes
25845 else
25846   gcc_cv_math_inline_builtin_fabs=no
25847 fi
25848 rm -f core conftest.err conftest.$ac_objext \
25849     conftest$ac_exeext conftest.$ac_ext
25850 fi
25851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5
25852 $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
25853   if test $gcc_cv_math_inline_builtin_fabs = yes; then
25854
25855 cat >>confdefs.h <<_ACEOF
25856 #define HAVE_INLINE_BUILTIN_FABS 1
25857 _ACEOF
25858
25859   fi
25860 fi
25861
25862
25863 if test $gcc_cv_math_func_fabsl = no; then
25864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
25865 $as_echo_n "checking for inline __builtin_fabsl... " >&6; }
25866 if ${gcc_cv_math_inline_builtin_fabsl+:} false; then :
25867   $as_echo_n "(cached) " >&6
25868 else
25869   if test x$gcc_no_link = xyes; then
25870   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25871 fi
25872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25873 /* end confdefs.h.  */
25874
25875 long double
25876 fabsl_fallback (long double x)
25877 {
25878   return __builtin_fabsl (x);
25879 }
25880
25881 int
25882 main ()
25883 {
25884   return 0;
25885 }
25886
25887 _ACEOF
25888 if ac_fn_c_try_link "$LINENO"; then :
25889   gcc_cv_math_inline_builtin_fabsl=yes
25890 else
25891   gcc_cv_math_inline_builtin_fabsl=no
25892 fi
25893 rm -f core conftest.err conftest.$ac_objext \
25894     conftest$ac_exeext conftest.$ac_ext
25895 fi
25896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
25897 $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
25898   if test $gcc_cv_math_inline_builtin_fabsl = yes; then
25899
25900 cat >>confdefs.h <<_ACEOF
25901 #define HAVE_INLINE_BUILTIN_FABSL 1
25902 _ACEOF
25903
25904   fi
25905 fi
25906
25907 # Check whether the system has a working stat()
25908
25909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25910 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25911 if ${libgfor_cv_have_working_stat+:} false; then :
25912   $as_echo_n "(cached) " >&6
25913 else
25914
25915   if test "$cross_compiling" = yes; then :
25916
25917 case "${target}" in
25918   *mingw*) libgfor_cv_have_working_stat=no ;;
25919   *) libgfor_cv_have_working_stat=yes;;
25920 esac
25921 else
25922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25923 /* end confdefs.h.  */
25924
25925 #include <stdio.h>
25926 #include <sys/types.h>
25927 #include <sys/stat.h>
25928 #include <unistd.h>
25929
25930 int main ()
25931 {
25932   FILE *f, *g;
25933   struct stat st1, st2;
25934
25935   f = fopen ("foo", "w");
25936   g = fopen ("bar", "w");
25937   if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25938     return 1;
25939   if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25940     return 1;
25941   fclose(f);
25942   fclose(g);
25943   return 0;
25944 }
25945 _ACEOF
25946 if ac_fn_c_try_run "$LINENO"; then :
25947   libgfor_cv_have_working_stat=yes
25948 else
25949   libgfor_cv_have_working_stat=no
25950 fi
25951 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25952   conftest.$ac_objext conftest.beam conftest.$ac_ext
25953 fi
25954
25955 fi
25956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25957 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25958 if test x"$libgfor_cv_have_working_stat" = xyes; then
25959
25960 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25961
25962 fi
25963
25964 # Check whether __mingw_snprintf() is present
25965
25966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25967 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25968 if ${libgfor_cv_have_mingw_snprintf+:} false; then :
25969   $as_echo_n "(cached) " >&6
25970 else
25971
25972     if test x$gcc_no_link = xyes; then
25973   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25974 fi
25975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25976 /* end confdefs.h.  */
25977
25978 #include <stdio.h>
25979 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25980
25981 int
25982 main ()
25983 {
25984
25985 __mingw_snprintf (NULL, 0, "%d\n", 1);
25986
25987   ;
25988   return 0;
25989 }
25990 _ACEOF
25991 if ac_fn_c_try_link "$LINENO"; then :
25992   eval "libgfor_cv_have_mingw_snprintf=yes"
25993 else
25994   eval "libgfor_cv_have_mingw_snprintf=no"
25995 fi
25996 rm -f core conftest.err conftest.$ac_objext \
25997     conftest$ac_exeext conftest.$ac_ext
25998
25999 fi
26000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
26001 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
26002   if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
26003
26004 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
26005
26006   fi
26007
26008
26009 # Check whether libquadmath should be used
26010 # Check whether --enable-libquadmath-support was given.
26011 if test "${enable_libquadmath_support+set}" = set; then :
26012   enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
26013 else
26014   ENABLE_LIBQUADMATH_SUPPORT=yes
26015 fi
26016
26017 enable_libquadmath_support=
26018 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
26019   enable_libquadmath_support=no
26020 fi
26021
26022 # Check whether we have a __float128 type, depends on enable_libquadmath_support
26023
26024   LIBQUADSPEC=
26025
26026   if test "x$enable_libquadmath_support" != xno; then
26027
26028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
26029 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
26030 if ${libgfor_cv_have_float128+:} false; then :
26031   $as_echo_n "(cached) " >&6
26032 else
26033
26034    if test x$gcc_no_link = xyes; then
26035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26036 /* end confdefs.h.  */
26037
26038     typedef _Complex float __attribute__((mode(TC))) __complex128;
26039
26040     __float128 foo (__float128 x)
26041     {
26042
26043      __complex128 z1, z2;
26044
26045      z1 = x;
26046      z2 = x / 7.Q;
26047      z2 /= z1;
26048
26049      return (__float128) z2;
26050     }
26051
26052     __float128 bar (__float128 x)
26053     {
26054       return x * __builtin_huge_valq ();
26055     }
26056
26057 int
26058 main ()
26059 {
26060
26061     foo (1.2Q);
26062     bar (1.2Q);
26063
26064   ;
26065   return 0;
26066 }
26067 _ACEOF
26068 if ac_fn_c_try_compile "$LINENO"; then :
26069
26070     libgfor_cv_have_float128=yes
26071
26072 else
26073
26074     libgfor_cv_have_float128=no
26075
26076 fi
26077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26078 else
26079   if test x$gcc_no_link = xyes; then
26080   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26081 fi
26082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26083 /* end confdefs.h.  */
26084
26085     typedef _Complex float __attribute__((mode(TC))) __complex128;
26086
26087     __float128 foo (__float128 x)
26088     {
26089
26090      __complex128 z1, z2;
26091
26092      z1 = x;
26093      z2 = x / 7.Q;
26094      z2 /= z1;
26095
26096      return (__float128) z2;
26097     }
26098
26099     __float128 bar (__float128 x)
26100     {
26101       return x * __builtin_huge_valq ();
26102     }
26103
26104 int
26105 main ()
26106 {
26107
26108     foo (1.2Q);
26109     bar (1.2Q);
26110
26111   ;
26112   return 0;
26113 }
26114 _ACEOF
26115 if ac_fn_c_try_link "$LINENO"; then :
26116
26117     libgfor_cv_have_float128=yes
26118
26119 else
26120
26121     libgfor_cv_have_float128=no
26122
26123 fi
26124 rm -f core conftest.err conftest.$ac_objext \
26125     conftest$ac_exeext conftest.$ac_ext
26126 fi
26127 fi
26128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
26129 $as_echo "$libgfor_cv_have_float128" >&6; }
26130
26131   if test "x$libgfor_cv_have_float128" = xyes; then
26132
26133 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
26134
26135
26136                                 ac_xsave_c_werror_flag=$ac_c_werror_flag
26137     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
26138 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
26139 if ${libgfor_cv_have_as_needed+:} false; then :
26140   $as_echo_n "(cached) " >&6
26141 else
26142
26143       # Test for native Solaris options first.
26144       # No whitespace after -z to pass it through -Wl.
26145       libgfor_cv_as_needed_option="-zignore"
26146       libgfor_cv_no_as_needed_option="-zrecord"
26147       save_LDFLAGS="$LDFLAGS"
26148       LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
26149       libgfor_cv_have_as_needed=no
26150
26151 ac_c_werror_flag=yes
26152       if test x$gcc_no_link = xyes; then
26153   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26154 fi
26155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26156 /* end confdefs.h.  */
26157
26158 int
26159 main ()
26160 {
26161
26162   ;
26163   return 0;
26164 }
26165 _ACEOF
26166 if ac_fn_c_try_link "$LINENO"; then :
26167   libgfor_cv_have_as_needed=yes
26168 else
26169   libgfor_cv_have_as_needed=no
26170 fi
26171 rm -f core conftest.err conftest.$ac_objext \
26172     conftest$ac_exeext conftest.$ac_ext
26173       LDFLAGS="$save_LDFLAGS"
26174       if test "x$libgfor_cv_have_as_needed" = xno; then
26175         libgfor_cv_as_needed_option="--as-needed"
26176         libgfor_cv_no_as_needed_option="--no-as-needed"
26177         save_LDFLAGS="$LDFLAGS"
26178         LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
26179         libgfor_cv_have_as_needed=no
26180
26181 ac_c_werror_flag=yes
26182         if test x$gcc_no_link = xyes; then
26183   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26184 fi
26185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26186 /* end confdefs.h.  */
26187
26188 int
26189 main ()
26190 {
26191
26192   ;
26193   return 0;
26194 }
26195 _ACEOF
26196 if ac_fn_c_try_link "$LINENO"; then :
26197   libgfor_cv_have_as_needed=yes
26198 else
26199   libgfor_cv_have_as_needed=no
26200 fi
26201 rm -f core conftest.err conftest.$ac_objext \
26202     conftest$ac_exeext conftest.$ac_ext
26203         LDFLAGS="$save_LDFLAGS"
26204       fi
26205       ac_c_werror_flag=$ac_xsave_c_werror_flag
26206
26207 fi
26208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
26209 $as_echo "$libgfor_cv_have_as_needed" >&6; }
26210
26211         if test "x$libgfor_cv_have_as_needed" = xyes; then
26212       LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
26213     else
26214       LIBQUADSPEC="-lquadmath"
26215     fi
26216     if test -f ../libquadmath/libquadmath.la; then
26217       LIBQUADLIB=../libquadmath/libquadmath.la
26218       LIBQUADLIB_DEP=../libquadmath/libquadmath.la
26219       LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
26220     else
26221       LIBQUADLIB="-lquadmath"
26222       LIBQUADLIB_DEP=
26223       LIBQUADINCLUDE=
26224     fi
26225   fi
26226   else
26227     # for --disable-quadmath
26228     LIBQUADLIB=
26229     LIBQUADLIB_DEP=
26230     LIBQUADINCLUDE=
26231   fi
26232
26233
26234
26235
26236
26237
26238      if test "x$libgfor_cv_have_float128" = xyes; then
26239   LIBGFOR_BUILD_QUAD_TRUE=
26240   LIBGFOR_BUILD_QUAD_FALSE='#'
26241 else
26242   LIBGFOR_BUILD_QUAD_TRUE='#'
26243   LIBGFOR_BUILD_QUAD_FALSE=
26244 fi
26245
26246
26247
26248 # Check for GNU libc feenableexcept
26249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
26250 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
26251 if ${ac_cv_lib_m_feenableexcept+:} false; then :
26252   $as_echo_n "(cached) " >&6
26253 else
26254   ac_check_lib_save_LIBS=$LIBS
26255 LIBS="-lm  $LIBS"
26256 if test x$gcc_no_link = xyes; then
26257   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26258 fi
26259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26260 /* end confdefs.h.  */
26261
26262 /* Override any GCC internal prototype to avoid an error.
26263    Use char because int might match the return type of a GCC
26264    builtin and then its argument prototype would still apply.  */
26265 #ifdef __cplusplus
26266 extern "C"
26267 #endif
26268 char feenableexcept ();
26269 int
26270 main ()
26271 {
26272 return feenableexcept ();
26273   ;
26274   return 0;
26275 }
26276 _ACEOF
26277 if ac_fn_c_try_link "$LINENO"; then :
26278   ac_cv_lib_m_feenableexcept=yes
26279 else
26280   ac_cv_lib_m_feenableexcept=no
26281 fi
26282 rm -f core conftest.err conftest.$ac_objext \
26283     conftest$ac_exeext conftest.$ac_ext
26284 LIBS=$ac_check_lib_save_LIBS
26285 fi
26286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
26287 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
26288 if test "x$ac_cv_lib_m_feenableexcept" = xyes; then :
26289   have_feenableexcept=yes
26290 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
26291
26292 fi
26293
26294
26295 # At least for glibc, clock_gettime is in librt.  But don't
26296 # pull that in if it still doesn't give us the function we want.  This
26297 # test is copied from libgomp, and modified to not link in -lrt as
26298 # libgfortran calls clock_gettime via a weak reference if it's found
26299 # in librt.
26300 if test "$ac_cv_func_clock_gettime" = no; then
26301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
26302 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
26303 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
26304   $as_echo_n "(cached) " >&6
26305 else
26306   ac_check_lib_save_LIBS=$LIBS
26307 LIBS="-lrt  $LIBS"
26308 if test x$gcc_no_link = xyes; then
26309   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26310 fi
26311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26312 /* end confdefs.h.  */
26313
26314 /* Override any GCC internal prototype to avoid an error.
26315    Use char because int might match the return type of a GCC
26316    builtin and then its argument prototype would still apply.  */
26317 #ifdef __cplusplus
26318 extern "C"
26319 #endif
26320 char clock_gettime ();
26321 int
26322 main ()
26323 {
26324 return clock_gettime ();
26325   ;
26326   return 0;
26327 }
26328 _ACEOF
26329 if ac_fn_c_try_link "$LINENO"; then :
26330   ac_cv_lib_rt_clock_gettime=yes
26331 else
26332   ac_cv_lib_rt_clock_gettime=no
26333 fi
26334 rm -f core conftest.err conftest.$ac_objext \
26335     conftest$ac_exeext conftest.$ac_ext
26336 LIBS=$ac_check_lib_save_LIBS
26337 fi
26338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
26339 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
26340 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
26341
26342 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
26343
26344 fi
26345
26346 fi
26347
26348 # Check for SysV fpsetmask
26349
26350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
26351 $as_echo_n "checking whether fpsetmask is present... " >&6; }
26352 if ${libgfor_cv_have_fpsetmask+:} false; then :
26353   $as_echo_n "(cached) " >&6
26354 else
26355
26356     if test x$gcc_no_link = xyes; then
26357   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26358 fi
26359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26360 /* end confdefs.h.  */
26361
26362 #if HAVE_FLOATINGPOINT_H
26363 # include <floatingpoint.h>
26364 #endif /* HAVE_FLOATINGPOINT_H */
26365 #if HAVE_IEEEFP_H
26366 # include <ieeefp.h>
26367 #endif /* HAVE_IEEEFP_H */
26368 int
26369 main ()
26370 {
26371 fpsetmask(0);
26372   ;
26373   return 0;
26374 }
26375 _ACEOF
26376 if ac_fn_c_try_link "$LINENO"; then :
26377   eval "libgfor_cv_have_fpsetmask=yes"
26378 else
26379   eval "libgfor_cv_have_fpsetmask=no"
26380 fi
26381 rm -f core conftest.err conftest.$ac_objext \
26382     conftest$ac_exeext conftest.$ac_ext
26383
26384 fi
26385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
26386 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
26387   if test x"$libgfor_cv_have_fpsetmask" = xyes; then
26388     have_fpsetmask=yes
26389
26390 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26391
26392   fi
26393
26394 ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "
26395 #ifdef HAVE_IEEEFP_H
26396 #include <ieeefp.h>
26397 #endif
26398 #include <math.h>
26399
26400 "
26401 if test "x$ac_cv_type_fp_except" = xyes; then :
26402
26403 cat >>confdefs.h <<_ACEOF
26404 #define HAVE_FP_EXCEPT 1
26405 _ACEOF
26406
26407
26408 fi
26409 ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
26410 #ifdef HAVE_IEEEFP_H
26411 #include <ieeefp.h>
26412 #endif
26413 #include <math.h>
26414
26415 "
26416 if test "x$ac_cv_type_fp_except_t" = xyes; then :
26417
26418 cat >>confdefs.h <<_ACEOF
26419 #define HAVE_FP_EXCEPT_T 1
26420 _ACEOF
26421
26422
26423 fi
26424
26425 ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
26426 #ifdef HAVE_IEEEFP_H
26427 #include <ieeefp.h>
26428 #endif
26429 #include <math.h>
26430
26431 "
26432 if test "x$ac_cv_type_fp_rnd" = xyes; then :
26433
26434 cat >>confdefs.h <<_ACEOF
26435 #define HAVE_FP_RND 1
26436 _ACEOF
26437
26438
26439 fi
26440 ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
26441 #ifdef HAVE_IEEEFP_H
26442 #include <ieeefp.h>
26443 #endif
26444 #include <math.h>
26445
26446 "
26447 if test "x$ac_cv_type_fp_rnd_t" = xyes; then :
26448
26449 cat >>confdefs.h <<_ACEOF
26450 #define HAVE_FP_RND_T 1
26451 _ACEOF
26452
26453
26454 fi
26455
26456
26457 # Check whether we have fpsetsticky or fpresetsticky
26458 ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
26459 if test "x$ac_cv_func_fpsetsticky" = xyes; then :
26460   have_fpsetsticky=yes
26461 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
26462
26463 fi
26464
26465 ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
26466 if test "x$ac_cv_func_fpresetsticky" = xyes; then :
26467   have_fpresetsticky=yes
26468 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
26469
26470 fi
26471
26472
26473 # Check for AIX fp_trap and fp_enable
26474 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26475 if test "x$ac_cv_func_fp_trap" = xyes; then :
26476   have_fp_trap=yes
26477 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26478
26479 fi
26480
26481 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26482 if test "x$ac_cv_func_fp_enable" = xyes; then :
26483   have_fp_enable=yes
26484 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26485
26486 fi
26487
26488
26489 # Check if _SOFT_FLOAT is defined
26490
26491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
26492 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
26493 if ${ac_cv_defined__SOFT_FLOAT+:} false; then :
26494   $as_echo_n "(cached) " >&6
26495 else
26496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26497 /* end confdefs.h.  */
26498
26499 int
26500 main ()
26501 {
26502
26503   #ifdef _SOFT_FLOAT
26504   int ok;
26505   #else
26506   choke me
26507   #endif
26508
26509   ;
26510   return 0;
26511 }
26512 _ACEOF
26513 if ac_fn_c_try_compile "$LINENO"; then :
26514   ac_cv_defined__SOFT_FLOAT=yes
26515 else
26516   ac_cv_defined__SOFT_FLOAT=no
26517 fi
26518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26519 fi
26520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
26521 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
26522 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
26523   have_soft_float=yes
26524 fi
26525
26526 # Runs configure.host to set up necessary host-dependent shell variables.
26527 # We then display a message about it, and propagate them through the
26528 # build chain.
26529 . ${srcdir}/configure.host
26530 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26531 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26532 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
26533 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
26534 FPU_HOST_HEADER=config/${fpu_host}.h
26535
26536
26537 # Whether we will build the IEEE modules
26538  if test x${ieee_support} = xyes; then
26539   IEEE_SUPPORT_TRUE=
26540   IEEE_SUPPORT_FALSE='#'
26541 else
26542   IEEE_SUPPORT_TRUE='#'
26543   IEEE_SUPPORT_FALSE=
26544 fi
26545
26546
26547
26548 # Some targets require additional compiler options for IEEE compatibility.
26549 IEEE_FLAGS="${ieee_flags}"
26550
26551
26552 # Conditionalize the makefile for this target machine.
26553 tmake_file_=
26554 for f in ${tmake_file}
26555 do
26556         if test -f ${srcdir}/config/$f
26557         then
26558                 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
26559         fi
26560 done
26561 tmake_file="${tmake_file_}"
26562
26563
26564
26565 # Check for POSIX getpwuid_r
26566 #
26567 # There are two versions of getpwuid_r, the POSIX one with 5
26568 # arguments, and another one with 4 arguments used by at least HP-UX
26569 # 10.2.
26570 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26571    { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26572 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26573 if ${libgfor_cv_posix_getpwuid_r+:} false; then :
26574   $as_echo_n "(cached) " >&6
26575 else
26576
26577    if test x$gcc_no_link = xyes; then
26578   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26579 fi
26580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26581 /* end confdefs.h.  */
26582
26583 #include <stdio.h>
26584 #include <sys/types.h>
26585 #include <pwd.h>
26586 int
26587 main ()
26588 {
26589
26590     getpwuid_r(0, NULL, NULL, 0, NULL);
26591
26592   ;
26593   return 0;
26594 }
26595 _ACEOF
26596 if ac_fn_c_try_link "$LINENO"; then :
26597   libgfor_cv_posix_getpwuid_r="yes"
26598 else
26599   libgfor_cv_posix_getpwuid_r="no"
26600 fi
26601 rm -f core conftest.err conftest.$ac_objext \
26602     conftest$ac_exeext conftest.$ac_ext
26603 fi
26604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26605 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26606 fi
26607 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26608
26609 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26610
26611 fi
26612
26613
26614 # Check out attribute support.
26615
26616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26617 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26618 if ${libgfor_cv_have_attribute_visibility+:} false; then :
26619   $as_echo_n "(cached) " >&6
26620 else
26621
26622   save_CFLAGS="$CFLAGS"
26623   CFLAGS="$CFLAGS -Werror"
26624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26625 /* end confdefs.h.  */
26626 void __attribute__((visibility("hidden"))) foo(void) { }
26627 int
26628 main ()
26629 {
26630
26631   ;
26632   return 0;
26633 }
26634 _ACEOF
26635 if ac_fn_c_try_compile "$LINENO"; then :
26636   libgfor_cv_have_attribute_visibility=yes
26637 else
26638   libgfor_cv_have_attribute_visibility=no
26639 fi
26640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26641   CFLAGS="$save_CFLAGS"
26642 fi
26643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26644 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26645   if test $libgfor_cv_have_attribute_visibility = yes; then
26646
26647 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26648
26649   fi
26650
26651   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26652 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26653 if ${libgfor_cv_have_attribute_alias+:} false; then :
26654   $as_echo_n "(cached) " >&6
26655 else
26656
26657   if test x$gcc_no_link = xyes; then
26658   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26659 fi
26660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26661 /* end confdefs.h.  */
26662
26663 void foo(void) { }
26664 extern void bar(void) __attribute__((alias("foo")));
26665 int
26666 main ()
26667 {
26668 bar();
26669   ;
26670   return 0;
26671 }
26672 _ACEOF
26673 if ac_fn_c_try_link "$LINENO"; then :
26674   libgfor_cv_have_attribute_alias=yes
26675 else
26676   libgfor_cv_have_attribute_alias=no
26677 fi
26678 rm -f core conftest.err conftest.$ac_objext \
26679     conftest$ac_exeext conftest.$ac_ext
26680 fi
26681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26682 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26683   if test $libgfor_cv_have_attribute_alias = yes; then
26684
26685 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26686
26687   fi
26688
26689 # Check out atomic builtins support.
26690
26691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
26692 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
26693 if ${libgfor_cv_have_atomic_fetch_add+:} false; then :
26694   $as_echo_n "(cached) " >&6
26695 else
26696
26697   if test x$gcc_no_link = xyes; then
26698   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26699 fi
26700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26701 /* end confdefs.h.  */
26702 int foovar = 0;
26703 int
26704 main ()
26705 {
26706
26707 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
26708 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
26709   ;
26710   return 0;
26711 }
26712 _ACEOF
26713 if ac_fn_c_try_link "$LINENO"; then :
26714   libgfor_cv_have_atomic_fetch_add=yes
26715 else
26716   libgfor_cv_have_atomic_fetch_add=no
26717 fi
26718 rm -f core conftest.err conftest.$ac_objext \
26719     conftest$ac_exeext conftest.$ac_ext
26720 fi
26721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
26722 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
26723   if test $libgfor_cv_have_atomic_fetch_add = yes; then
26724
26725 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
26726
26727   fi
26728
26729 # Check out #pragma weak.
26730
26731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26732 $as_echo_n "checking whether pragma weak works... " >&6; }
26733 if ${libgfor_cv_have_pragma_weak+:} false; then :
26734   $as_echo_n "(cached) " >&6
26735 else
26736
26737   gfor_save_CFLAGS="$CFLAGS"
26738   CFLAGS="$CFLAGS -Wunknown-pragmas"
26739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26740 /* end confdefs.h.  */
26741
26742 void foo (void);
26743 #pragma weak foo
26744
26745 int
26746 main ()
26747 {
26748 if (foo) foo ();
26749   ;
26750   return 0;
26751 }
26752 _ACEOF
26753 if ac_fn_c_try_compile "$LINENO"; then :
26754   libgfor_cv_have_pragma_weak=yes
26755 else
26756   libgfor_cv_have_pragma_weak=no
26757 fi
26758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26759 fi
26760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26761 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26762   if test $libgfor_cv_have_pragma_weak = yes; then
26763
26764 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26765
26766   fi
26767   case "$host" in
26768     *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* )
26769
26770 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26771
26772       ;;
26773   esac
26774
26775 # Check out weakref support.
26776
26777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
26778 $as_echo_n "checking whether the target supports weakref... " >&6; }
26779 if ${libgfor_cv_have_weakref+:} false; then :
26780   $as_echo_n "(cached) " >&6
26781 else
26782
26783   save_CFLAGS="$CFLAGS"
26784   CFLAGS="$CFLAGS -Wunknown-pragmas -Werror"
26785   if test x$gcc_no_link = xyes; then
26786   as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26787 fi
26788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26789 /* end confdefs.h.  */
26790
26791 static int mytoto (int) __attribute__((__weakref__("toto")));
26792
26793 int
26794 main ()
26795 {
26796 return (mytoto != 0);
26797   ;
26798   return 0;
26799 }
26800 _ACEOF
26801 if ac_fn_c_try_link "$LINENO"; then :
26802   libgfor_cv_have_weakref=yes
26803 else
26804   libgfor_cv_have_weakref=no
26805 fi
26806 rm -f core conftest.err conftest.$ac_objext \
26807     conftest$ac_exeext conftest.$ac_ext
26808   CFLAGS="$save_CFLAGS"
26809 fi
26810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
26811 $as_echo "$libgfor_cv_have_weakref" >&6; }
26812   if test $libgfor_cv_have_weakref = yes; then
26813
26814 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
26815
26816   fi
26817
26818 # Various other checks on target
26819
26820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26821 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26822 if ${libgfor_cv_have_unlink_open_file+:} false; then :
26823   $as_echo_n "(cached) " >&6
26824 else
26825
26826   if test "$cross_compiling" = yes; then :
26827
26828 case "${target}" in
26829   *mingw*) libgfor_cv_have_unlink_open_file=no ;;
26830   *) libgfor_cv_have_unlink_open_file=yes;;
26831 esac
26832 else
26833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26834 /* end confdefs.h.  */
26835
26836 #include <errno.h>
26837 #include <fcntl.h>
26838 #include <unistd.h>
26839 #include <sys/stat.h>
26840
26841 int main ()
26842 {
26843   int fd;
26844
26845   fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26846   if (fd <= 0)
26847     return 0;
26848   if (unlink ("testfile") == -1)
26849     return 1;
26850   write (fd, "This is a test\n", 15);
26851   close (fd);
26852
26853   if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26854     return 0;
26855   else
26856     return 1;
26857 }
26858 _ACEOF
26859 if ac_fn_c_try_run "$LINENO"; then :
26860   libgfor_cv_have_unlink_open_file=yes
26861 else
26862   libgfor_cv_have_unlink_open_file=no
26863 fi
26864 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26865   conftest.$ac_objext conftest.beam conftest.$ac_ext
26866 fi
26867
26868 fi
26869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26870 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26871 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
26872
26873 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26874
26875 fi
26876
26877 # Check whether line terminator is LF or CRLF
26878
26879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26880 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26881 if ${libgfor_cv_have_crlf+:} false; then :
26882   $as_echo_n "(cached) " >&6
26883 else
26884
26885   if test "$cross_compiling" = yes; then :
26886
26887 case "${target}" in
26888   *mingw*) libgfor_cv_have_crlf=yes ;;
26889   *) libgfor_cv_have_crlf=no;;
26890 esac
26891 else
26892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26893 /* end confdefs.h.  */
26894
26895 /* This test program should exit with status 0 if system uses a CRLF as
26896    line terminator, and status 1 otherwise.
26897    Since it is used to check for mingw systems, and should return 0 in any
26898    other case, in case of a failure we will not use CRLF.  */
26899 #include <sys/stat.h>
26900 #include <stdlib.h>
26901 #include <fcntl.h>
26902 #include <stdio.h>
26903
26904 int main ()
26905 {
26906 #ifndef O_BINARY
26907   exit(1);
26908 #else
26909   int fd, bytes;
26910   char buff[5];
26911
26912   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26913   if (fd < 0)
26914     exit(1);
26915   if (write (fd, "\n", 1) < 0)
26916     perror ("write");
26917
26918   close (fd);
26919
26920   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26921     exit(1);
26922   bytes = read (fd, buff, 5);
26923   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26924     exit(0);
26925   else
26926     exit(1);
26927 #endif
26928 }
26929 _ACEOF
26930 if ac_fn_c_try_run "$LINENO"; then :
26931   libgfor_cv_have_crlf=yes
26932 else
26933   libgfor_cv_have_crlf=no
26934 fi
26935 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26936   conftest.$ac_objext conftest.beam conftest.$ac_ext
26937 fi
26938
26939 fi
26940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26941 $as_echo "$libgfor_cv_have_crlf" >&6; }
26942 if test x"$libgfor_cv_have_crlf" = xyes; then
26943
26944 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26945
26946 fi
26947
26948 # Check whether we support AVX extensions
26949
26950   ac_save_CFLAGS="$CFLAGS"
26951   CFLAGS="-O2 -mavx"
26952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26953 /* end confdefs.h.  */
26954
26955   void _mm256_zeroall (void)
26956         {
26957            __builtin_ia32_vzeroall ();
26958         }
26959 int
26960 main ()
26961 {
26962
26963   ;
26964   return 0;
26965 }
26966 _ACEOF
26967 if ac_fn_c_try_compile "$LINENO"; then :
26968
26969 $as_echo "#define HAVE_AVX 1" >>confdefs.h
26970
26971 fi
26972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26973   CFLAGS="$ac_save_CFLAGS"
26974
26975
26976 # Check wether we support AVX2 extensions
26977
26978   ac_save_CFLAGS="$CFLAGS"
26979   CFLAGS="-O2 -mavx2"
26980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26981 /* end confdefs.h.  */
26982
26983   typedef long long __v4di __attribute__ ((__vector_size__ (32)));
26984         __v4di
26985         mm256_is32_andnotsi256  (__v4di __X, __v4di __Y)
26986         {
26987            return __builtin_ia32_andnotsi256 (__X, __Y);
26988         }
26989 int
26990 main ()
26991 {
26992
26993   ;
26994   return 0;
26995 }
26996 _ACEOF
26997 if ac_fn_c_try_compile "$LINENO"; then :
26998
26999 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
27000
27001 fi
27002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27003   CFLAGS="$ac_save_CFLAGS"
27004
27005
27006 # Check wether we support AVX512f extensions
27007
27008   ac_save_CFLAGS="$CFLAGS"
27009   CFLAGS="-O2 -mavx512f"
27010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27011 /* end confdefs.h.  */
27012
27013         typedef double __m512d __attribute__ ((__vector_size__ (64)));
27014         __m512d _mm512_add (__m512d a)
27015         {
27016           __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
27017           /* For -m64/-mx32 also verify that code will work even if
27018              the target uses call saved zmm16+ and needs to emit
27019              unwind info for them (e.g. on mingw).  See PR79127.  */
27020 #ifdef __x86_64__
27021           asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
27022 #endif
27023           return b;
27024         }
27025 int
27026 main ()
27027 {
27028
27029   ;
27030   return 0;
27031 }
27032 _ACEOF
27033 if ac_fn_c_try_compile "$LINENO"; then :
27034
27035 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
27036
27037 fi
27038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27039   CFLAGS="$ac_save_CFLAGS"
27040
27041
27042 # Check for FMA3 extensions
27043
27044   ac_save_CFLAGS="$CFLAGS"
27045   CFLAGS="-O2 -mfma -mno-fma4"
27046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27047 /* end confdefs.h.  */
27048
27049         typedef float __m128 __attribute__ ((__vector_size__ (16)));
27050         typedef float __v4sf __attribute__ ((__vector_size__ (16)));
27051         __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
27052         {
27053             return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
27054                                                      (__v4sf)__B,
27055                                                      (__v4sf)__C);
27056         }
27057 int
27058 main ()
27059 {
27060
27061   ;
27062   return 0;
27063 }
27064 _ACEOF
27065 if ac_fn_c_try_compile "$LINENO"; then :
27066
27067 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
27068
27069 fi
27070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27071   CFLAGS="$ac_save_CFLAGS"
27072
27073
27074 # Check for FMA4 extensions
27075
27076   ac_save_CFLAGS="$CFLAGS"
27077   CFLAGS="-O2 -mfma4 -mno-fma"
27078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27079 /* end confdefs.h.  */
27080
27081         typedef float __m128 __attribute__ ((__vector_size__ (16)));
27082         typedef float __v4sf __attribute__ ((__vector_size__ (16)));
27083         __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
27084         {
27085             return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
27086                                                      (__v4sf)__B,
27087                                                      (__v4sf)__C);
27088         }
27089 int
27090 main ()
27091 {
27092
27093   ;
27094   return 0;
27095 }
27096 _ACEOF
27097 if ac_fn_c_try_compile "$LINENO"; then :
27098
27099 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
27100
27101 fi
27102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27103   CFLAGS="$ac_save_CFLAGS"
27104
27105
27106 # Check if AVX128 works
27107
27108   ac_save_CFLAGS="$CFLAGS"
27109   CFLAGS="-O2 -mavx -mprefer-avx128"
27110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27111 /* end confdefs.h.  */
27112
27113         void foo()
27114         {
27115         }
27116 int
27117 main ()
27118 {
27119
27120   ;
27121   return 0;
27122 }
27123 _ACEOF
27124 if ac_fn_c_try_compile "$LINENO"; then :
27125
27126 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
27127
27128          if true; then
27129   HAVE_AVX128_TRUE=
27130   HAVE_AVX128_FALSE='#'
27131 else
27132   HAVE_AVX128_TRUE='#'
27133   HAVE_AVX128_FALSE=
27134 fi
27135
27136 else
27137    if false; then
27138   HAVE_AVX128_TRUE=
27139   HAVE_AVX128_FALSE='#'
27140 else
27141   HAVE_AVX128_TRUE='#'
27142   HAVE_AVX128_FALSE=
27143 fi
27144
27145 fi
27146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27147   CFLAGS="$ac_save_CFLAGS"
27148
27149
27150 # Determine what GCC version number to use in filesystem paths.
27151
27152   get_gcc_base_ver="cat"
27153
27154 # Check whether --with-gcc-major-version-only was given.
27155 if test "${with_gcc_major_version_only+set}" = set; then :
27156   withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
27157         get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
27158       fi
27159
27160 fi
27161
27162
27163
27164
27165 cat >confcache <<\_ACEOF
27166 # This file is a shell script that caches the results of configure
27167 # tests run on this system so they can be shared between configure
27168 # scripts and configure runs, see configure's option --config-cache.
27169 # It is not useful on other systems.  If it contains results you don't
27170 # want to keep, you may remove or edit it.
27171 #
27172 # config.status only pays attention to the cache file if you give it
27173 # the --recheck option to rerun configure.
27174 #
27175 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27176 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27177 # following values.
27178
27179 _ACEOF
27180
27181 # The following way of writing the cache mishandles newlines in values,
27182 # but we know of no workaround that is simple, portable, and efficient.
27183 # So, we kill variables containing newlines.
27184 # Ultrix sh set writes to stderr and can't be redirected directly,
27185 # and sets the high bit in the cache file unless we assign to the vars.
27186 (
27187   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27188     eval ac_val=\$$ac_var
27189     case $ac_val in #(
27190     *${as_nl}*)
27191       case $ac_var in #(
27192       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
27193 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
27194       esac
27195       case $ac_var in #(
27196       _ | IFS | as_nl) ;; #(
27197       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
27198       *) { eval $ac_var=; unset $ac_var;} ;;
27199       esac ;;
27200     esac
27201   done
27202
27203   (set) 2>&1 |
27204     case $as_nl`(ac_space=' '; set) 2>&1` in #(
27205     *${as_nl}ac_space=\ *)
27206       # `set' does not quote correctly, so add quotes: double-quote
27207       # substitution turns \\\\ into \\, and sed turns \\ into \.
27208       sed -n \
27209         "s/'/'\\\\''/g;
27210           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27211       ;; #(
27212     *)
27213       # `set' quotes correctly as required by POSIX, so do not add quotes.
27214       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27215       ;;
27216     esac |
27217     sort
27218 ) |
27219   sed '
27220      /^ac_cv_env_/b end
27221      t clear
27222      :clear
27223      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27224      t end
27225      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27226      :end' >>confcache
27227 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27228   if test -w "$cache_file"; then
27229     if test "x$cache_file" != "x/dev/null"; then
27230       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
27231 $as_echo "$as_me: updating cache $cache_file" >&6;}
27232       if test ! -f "$cache_file" || test -h "$cache_file"; then
27233         cat confcache >"$cache_file"
27234       else
27235         case $cache_file in #(
27236         */* | ?:*)
27237           mv -f confcache "$cache_file"$$ &&
27238           mv -f "$cache_file"$$ "$cache_file" ;; #(
27239         *)
27240           mv -f confcache "$cache_file" ;;
27241         esac
27242       fi
27243     fi
27244   else
27245     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
27246 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27247   fi
27248 fi
27249 rm -f confcache
27250
27251 if test ${multilib} = yes; then
27252   multilib_arg="--enable-multilib"
27253 else
27254   multilib_arg=
27255 fi
27256
27257 # Write our Makefile and spec file.
27258 ac_config_files="$ac_config_files Makefile libgfortran.spec"
27259
27260 cat >confcache <<\_ACEOF
27261 # This file is a shell script that caches the results of configure
27262 # tests run on this system so they can be shared between configure
27263 # scripts and configure runs, see configure's option --config-cache.
27264 # It is not useful on other systems.  If it contains results you don't
27265 # want to keep, you may remove or edit it.
27266 #
27267 # config.status only pays attention to the cache file if you give it
27268 # the --recheck option to rerun configure.
27269 #
27270 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27271 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27272 # following values.
27273
27274 _ACEOF
27275
27276 # The following way of writing the cache mishandles newlines in values,
27277 # but we know of no workaround that is simple, portable, and efficient.
27278 # So, we kill variables containing newlines.
27279 # Ultrix sh set writes to stderr and can't be redirected directly,
27280 # and sets the high bit in the cache file unless we assign to the vars.
27281 (
27282   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27283     eval ac_val=\$$ac_var
27284     case $ac_val in #(
27285     *${as_nl}*)
27286       case $ac_var in #(
27287       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
27288 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
27289       esac
27290       case $ac_var in #(
27291       _ | IFS | as_nl) ;; #(
27292       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
27293       *) { eval $ac_var=; unset $ac_var;} ;;
27294       esac ;;
27295     esac
27296   done
27297
27298   (set) 2>&1 |
27299     case $as_nl`(ac_space=' '; set) 2>&1` in #(
27300     *${as_nl}ac_space=\ *)
27301       # `set' does not quote correctly, so add quotes: double-quote
27302       # substitution turns \\\\ into \\, and sed turns \\ into \.
27303       sed -n \
27304         "s/'/'\\\\''/g;
27305           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27306       ;; #(
27307     *)
27308       # `set' quotes correctly as required by POSIX, so do not add quotes.
27309       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27310       ;;
27311     esac |
27312     sort
27313 ) |
27314   sed '
27315      /^ac_cv_env_/b end
27316      t clear
27317      :clear
27318      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27319      t end
27320      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27321      :end' >>confcache
27322 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27323   if test -w "$cache_file"; then
27324     if test "x$cache_file" != "x/dev/null"; then
27325       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
27326 $as_echo "$as_me: updating cache $cache_file" >&6;}
27327       if test ! -f "$cache_file" || test -h "$cache_file"; then
27328         cat confcache >"$cache_file"
27329       else
27330         case $cache_file in #(
27331         */* | ?:*)
27332           mv -f confcache "$cache_file"$$ &&
27333           mv -f "$cache_file"$$ "$cache_file" ;; #(
27334         *)
27335           mv -f confcache "$cache_file" ;;
27336         esac
27337       fi
27338     fi
27339   else
27340     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
27341 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27342   fi
27343 fi
27344 rm -f confcache
27345
27346 test "x$prefix" = xNONE && prefix=$ac_default_prefix
27347 # Let make expand exec_prefix.
27348 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
27349
27350 DEFS=-DHAVE_CONFIG_H
27351
27352 ac_libobjs=
27353 ac_ltlibobjs=
27354 U=
27355 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
27356   # 1. Remove the extension, and $U if already installed.
27357   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
27358   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
27359   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
27360   #    will be set to the directory where LIBOBJS objects are built.
27361   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
27362   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
27363 done
27364 LIBOBJS=$ac_libobjs
27365
27366 LTLIBOBJS=$ac_ltlibobjs
27367
27368
27369 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
27370   as_fn_error $? "conditional \"onestep\" was never defined.
27371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27372 fi
27373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
27374 $as_echo_n "checking that generated files are newer than configure... " >&6; }
27375    if test -n "$am_sleep_pid"; then
27376      # Hide warnings about reused PIDs.
27377      wait $am_sleep_pid 2>/dev/null
27378    fi
27379    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
27380 $as_echo "done" >&6; }
27381  if test -n "$EXEEXT"; then
27382   am__EXEEXT_TRUE=
27383   am__EXEEXT_FALSE='#'
27384 else
27385   am__EXEEXT_TRUE='#'
27386   am__EXEEXT_FALSE=
27387 fi
27388
27389 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27390   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
27391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27392 fi
27393 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27394   as_fn_error $? "conditional \"AMDEP\" was never defined.
27395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27396 fi
27397 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27398   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
27399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27400 fi
27401 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27402   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
27403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27404 fi
27405 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
27406   as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
27407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27408 fi
27409 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
27410   as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
27411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27412 fi
27413 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
27414   as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
27415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27416 fi
27417 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
27418   as_fn_error $? "conditional \"LIBGFOR_MINIMAL\" was never defined.
27419 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27420 fi
27421 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
27422   as_fn_error $? "conditional \"HAVE_HWCAP\" was never defined.
27423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27424 fi
27425 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
27426   as_fn_error $? "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
27427 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27428 fi
27429 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
27430   as_fn_error $? "conditional \"IEEE_SUPPORT\" was never defined.
27431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27432 fi
27433 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
27434   as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
27435 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27436 fi
27437 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
27438   as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
27439 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27440 fi
27441
27442 : "${CONFIG_STATUS=./config.status}"
27443 ac_write_fail=0
27444 ac_clean_files_save=$ac_clean_files
27445 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
27446 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
27447 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
27448 as_write_fail=0
27449 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
27450 #! $SHELL
27451 # Generated by $as_me.
27452 # Run this file to recreate the current configuration.
27453 # Compiler output produced by configure, useful for debugging
27454 # configure, is in config.log if it exists.
27455
27456 debug=false
27457 ac_cs_recheck=false
27458 ac_cs_silent=false
27459
27460 SHELL=\${CONFIG_SHELL-$SHELL}
27461 export SHELL
27462 _ASEOF
27463 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
27464 ## -------------------- ##
27465 ## M4sh Initialization. ##
27466 ## -------------------- ##
27467
27468 # Be more Bourne compatible
27469 DUALCASE=1; export DUALCASE # for MKS sh
27470 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
27471   emulate sh
27472   NULLCMD=:
27473   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27474   # is contrary to our usage.  Disable this feature.
27475   alias -g '${1+"$@"}'='"$@"'
27476   setopt NO_GLOB_SUBST
27477 else
27478   case `(set -o) 2>/dev/null` in #(
27479   *posix*) :
27480     set -o posix ;; #(
27481   *) :
27482      ;;
27483 esac
27484 fi
27485
27486
27487 as_nl='
27488 '
27489 export as_nl
27490 # Printing a long string crashes Solaris 7 /usr/bin/printf.
27491 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
27492 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
27493 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
27494 # Prefer a ksh shell builtin over an external printf program on Solaris,
27495 # but without wasting forks for bash or zsh.
27496 if test -z "$BASH_VERSION$ZSH_VERSION" \
27497     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
27498   as_echo='print -r --'
27499   as_echo_n='print -rn --'
27500 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
27501   as_echo='printf %s\n'
27502   as_echo_n='printf %s'
27503 else
27504   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
27505     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
27506     as_echo_n='/usr/ucb/echo -n'
27507   else
27508     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
27509     as_echo_n_body='eval
27510       arg=$1;
27511       case $arg in #(
27512       *"$as_nl"*)
27513         expr "X$arg" : "X\\(.*\\)$as_nl";
27514         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
27515       esac;
27516       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
27517     '
27518     export as_echo_n_body
27519     as_echo_n='sh -c $as_echo_n_body as_echo'
27520   fi
27521   export as_echo_body
27522   as_echo='sh -c $as_echo_body as_echo'
27523 fi
27524
27525 # The user is always right.
27526 if test "${PATH_SEPARATOR+set}" != set; then
27527   PATH_SEPARATOR=:
27528   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
27529     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
27530       PATH_SEPARATOR=';'
27531   }
27532 fi
27533
27534
27535 # IFS
27536 # We need space, tab and new line, in precisely that order.  Quoting is
27537 # there to prevent editors from complaining about space-tab.
27538 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
27539 # splitting by setting IFS to empty value.)
27540 IFS=" ""        $as_nl"
27541
27542 # Find who we are.  Look in the path if we contain no directory separator.
27543 as_myself=
27544 case $0 in #((
27545   *[\\/]* ) as_myself=$0 ;;
27546   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27547 for as_dir in $PATH
27548 do
27549   IFS=$as_save_IFS
27550   test -z "$as_dir" && as_dir=.
27551     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27552   done
27553 IFS=$as_save_IFS
27554
27555      ;;
27556 esac
27557 # We did not find ourselves, most probably we were run as `sh COMMAND'
27558 # in which case we are not to be found in the path.
27559 if test "x$as_myself" = x; then
27560   as_myself=$0
27561 fi
27562 if test ! -f "$as_myself"; then
27563   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27564   exit 1
27565 fi
27566
27567 # Unset variables that we do not need and which cause bugs (e.g. in
27568 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
27569 # suppresses any "Segmentation fault" message there.  '((' could
27570 # trigger a bug in pdksh 5.2.14.
27571 for as_var in BASH_ENV ENV MAIL MAILPATH
27572 do eval test x\${$as_var+set} = xset \
27573   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
27574 done
27575 PS1='$ '
27576 PS2='> '
27577 PS4='+ '
27578
27579 # NLS nuisances.
27580 LC_ALL=C
27581 export LC_ALL
27582 LANGUAGE=C
27583 export LANGUAGE
27584
27585 # CDPATH.
27586 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27587
27588
27589 # as_fn_error STATUS ERROR [LINENO LOG_FD]
27590 # ----------------------------------------
27591 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
27592 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
27593 # script with STATUS, using 1 if that was 0.
27594 as_fn_error ()
27595 {
27596   as_status=$1; test $as_status -eq 0 && as_status=1
27597   if test "$4"; then
27598     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
27599     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
27600   fi
27601   $as_echo "$as_me: error: $2" >&2
27602   as_fn_exit $as_status
27603 } # as_fn_error
27604
27605
27606 # as_fn_set_status STATUS
27607 # -----------------------
27608 # Set $? to STATUS, without forking.
27609 as_fn_set_status ()
27610 {
27611   return $1
27612 } # as_fn_set_status
27613
27614 # as_fn_exit STATUS
27615 # -----------------
27616 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27617 as_fn_exit ()
27618 {
27619   set +e
27620   as_fn_set_status $1
27621   exit $1
27622 } # as_fn_exit
27623
27624 # as_fn_unset VAR
27625 # ---------------
27626 # Portably unset VAR.
27627 as_fn_unset ()
27628 {
27629   { eval $1=; unset $1;}
27630 }
27631 as_unset=as_fn_unset
27632 # as_fn_append VAR VALUE
27633 # ----------------------
27634 # Append the text in VALUE to the end of the definition contained in VAR. Take
27635 # advantage of any shell optimizations that allow amortized linear growth over
27636 # repeated appends, instead of the typical quadratic growth present in naive
27637 # implementations.
27638 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
27639   eval 'as_fn_append ()
27640   {
27641     eval $1+=\$2
27642   }'
27643 else
27644   as_fn_append ()
27645   {
27646     eval $1=\$$1\$2
27647   }
27648 fi # as_fn_append
27649
27650 # as_fn_arith ARG...
27651 # ------------------
27652 # Perform arithmetic evaluation on the ARGs, and store the result in the
27653 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27654 # must be portable across $(()) and expr.
27655 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
27656   eval 'as_fn_arith ()
27657   {
27658     as_val=$(( $* ))
27659   }'
27660 else
27661   as_fn_arith ()
27662   {
27663     as_val=`expr "$@" || test $? -eq 1`
27664   }
27665 fi # as_fn_arith
27666
27667
27668 if expr a : '\(a\)' >/dev/null 2>&1 &&
27669    test "X`expr 00001 : '.*\(...\)'`" = X001; then
27670   as_expr=expr
27671 else
27672   as_expr=false
27673 fi
27674
27675 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27676   as_basename=basename
27677 else
27678   as_basename=false
27679 fi
27680
27681 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
27682   as_dirname=dirname
27683 else
27684   as_dirname=false
27685 fi
27686
27687 as_me=`$as_basename -- "$0" ||
27688 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27689          X"$0" : 'X\(//\)$' \| \
27690          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27691 $as_echo X/"$0" |
27692     sed '/^.*\/\([^/][^/]*\)\/*$/{
27693             s//\1/
27694             q
27695           }
27696           /^X\/\(\/\/\)$/{
27697             s//\1/
27698             q
27699           }
27700           /^X\/\(\/\).*/{
27701             s//\1/
27702             q
27703           }
27704           s/.*/./; q'`
27705
27706 # Avoid depending upon Character Ranges.
27707 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27708 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27709 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27710 as_cr_digits='0123456789'
27711 as_cr_alnum=$as_cr_Letters$as_cr_digits
27712
27713 ECHO_C= ECHO_N= ECHO_T=
27714 case `echo -n x` in #(((((
27715 -n*)
27716   case `echo 'xy\c'` in
27717   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
27718   xy)  ECHO_C='\c';;
27719   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
27720        ECHO_T=' ';;
27721   esac;;
27722 *)
27723   ECHO_N='-n';;
27724 esac
27725
27726 rm -f conf$$ conf$$.exe conf$$.file
27727 if test -d conf$$.dir; then
27728   rm -f conf$$.dir/conf$$.file
27729 else
27730   rm -f conf$$.dir
27731   mkdir conf$$.dir 2>/dev/null
27732 fi
27733 if (echo >conf$$.file) 2>/dev/null; then
27734   if ln -s conf$$.file conf$$ 2>/dev/null; then
27735     as_ln_s='ln -s'
27736     # ... but there are two gotchas:
27737     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27738     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27739     # In both cases, we have to default to `cp -pR'.
27740     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
27741       as_ln_s='cp -pR'
27742   elif ln conf$$.file conf$$ 2>/dev/null; then
27743     as_ln_s=ln
27744   else
27745     as_ln_s='cp -pR'
27746   fi
27747 else
27748   as_ln_s='cp -pR'
27749 fi
27750 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27751 rmdir conf$$.dir 2>/dev/null
27752
27753
27754 # as_fn_mkdir_p
27755 # -------------
27756 # Create "$as_dir" as a directory, including parents if necessary.
27757 as_fn_mkdir_p ()
27758 {
27759
27760   case $as_dir in #(
27761   -*) as_dir=./$as_dir;;
27762   esac
27763   test -d "$as_dir" || eval $as_mkdir_p || {
27764     as_dirs=
27765     while :; do
27766       case $as_dir in #(
27767       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27768       *) as_qdir=$as_dir;;
27769       esac
27770       as_dirs="'$as_qdir' $as_dirs"
27771       as_dir=`$as_dirname -- "$as_dir" ||
27772 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27773          X"$as_dir" : 'X\(//\)[^/]' \| \
27774          X"$as_dir" : 'X\(//\)$' \| \
27775          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27776 $as_echo X"$as_dir" |
27777     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27778             s//\1/
27779             q
27780           }
27781           /^X\(\/\/\)[^/].*/{
27782             s//\1/
27783             q
27784           }
27785           /^X\(\/\/\)$/{
27786             s//\1/
27787             q
27788           }
27789           /^X\(\/\).*/{
27790             s//\1/
27791             q
27792           }
27793           s/.*/./; q'`
27794       test -d "$as_dir" && break
27795     done
27796     test -z "$as_dirs" || eval "mkdir $as_dirs"
27797   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
27798
27799
27800 } # as_fn_mkdir_p
27801 if mkdir -p . 2>/dev/null; then
27802   as_mkdir_p='mkdir -p "$as_dir"'
27803 else
27804   test -d ./-p && rmdir ./-p
27805   as_mkdir_p=false
27806 fi
27807
27808
27809 # as_fn_executable_p FILE
27810 # -----------------------
27811 # Test if FILE is an executable regular file.
27812 as_fn_executable_p ()
27813 {
27814   test -f "$1" && test -x "$1"
27815 } # as_fn_executable_p
27816 as_test_x='test -x'
27817 as_executable_p=as_fn_executable_p
27818
27819 # Sed expression to map a string onto a valid CPP name.
27820 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27821
27822 # Sed expression to map a string onto a valid variable name.
27823 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27824
27825
27826 exec 6>&1
27827 ## ----------------------------------- ##
27828 ## Main body of $CONFIG_STATUS script. ##
27829 ## ----------------------------------- ##
27830 _ASEOF
27831 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
27832
27833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27834 # Save the log message, to keep $0 and so on meaningful, and to
27835 # report actual input values of CONFIG_FILES etc. instead of their
27836 # values after options handling.
27837 ac_log="
27838 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27839 generated by GNU Autoconf 2.69.  Invocation command line was
27840
27841   CONFIG_FILES    = $CONFIG_FILES
27842   CONFIG_HEADERS  = $CONFIG_HEADERS
27843   CONFIG_LINKS    = $CONFIG_LINKS
27844   CONFIG_COMMANDS = $CONFIG_COMMANDS
27845   $ $0 $@
27846
27847 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27848 "
27849
27850 _ACEOF
27851
27852 case $ac_config_files in *"
27853 "*) set x $ac_config_files; shift; ac_config_files=$*;;
27854 esac
27855
27856 case $ac_config_headers in *"
27857 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
27858 esac
27859
27860
27861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27862 # Files that config.status was made for.
27863 config_files="$ac_config_files"
27864 config_headers="$ac_config_headers"
27865 config_commands="$ac_config_commands"
27866
27867 _ACEOF
27868
27869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27870 ac_cs_usage="\
27871 \`$as_me' instantiates files and other configuration actions
27872 from templates according to the current configuration.  Unless the files
27873 and actions are specified as TAGs, all are instantiated by default.
27874
27875 Usage: $0 [OPTION]... [TAG]...
27876
27877   -h, --help       print this help, then exit
27878   -V, --version    print version number and configuration settings, then exit
27879       --config     print configuration, then exit
27880   -q, --quiet, --silent
27881                    do not print progress messages
27882   -d, --debug      don't remove temporary files
27883       --recheck    update $as_me by reconfiguring in the same conditions
27884       --file=FILE[:TEMPLATE]
27885                    instantiate the configuration file FILE
27886       --header=FILE[:TEMPLATE]
27887                    instantiate the configuration header FILE
27888
27889 Configuration files:
27890 $config_files
27891
27892 Configuration headers:
27893 $config_headers
27894
27895 Configuration commands:
27896 $config_commands
27897
27898 Report bugs to the package provider.
27899 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27900 General help using GNU software: <http://www.gnu.org/gethelp/>."
27901
27902 _ACEOF
27903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27904 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
27905 ac_cs_version="\\
27906 GNU Fortran Runtime Library config.status 0.3
27907 configured by $0, generated by GNU Autoconf 2.69,
27908   with options \\"\$ac_cs_config\\"
27909
27910 Copyright (C) 2012 Free Software Foundation, Inc.
27911 This config.status script is free software; the Free Software Foundation
27912 gives unlimited permission to copy, distribute and modify it."
27913
27914 ac_pwd='$ac_pwd'
27915 srcdir='$srcdir'
27916 INSTALL='$INSTALL'
27917 MKDIR_P='$MKDIR_P'
27918 AWK='$AWK'
27919 test -n "\$AWK" || AWK=awk
27920 _ACEOF
27921
27922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27923 # The default lists apply if the user does not specify any file.
27924 ac_need_defaults=:
27925 while test $# != 0
27926 do
27927   case $1 in
27928   --*=?*)
27929     ac_option=`expr "X$1" : 'X\([^=]*\)='`
27930     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27931     ac_shift=:
27932     ;;
27933   --*=)
27934     ac_option=`expr "X$1" : 'X\([^=]*\)='`
27935     ac_optarg=
27936     ac_shift=:
27937     ;;
27938   *)
27939     ac_option=$1
27940     ac_optarg=$2
27941     ac_shift=shift
27942     ;;
27943   esac
27944
27945   case $ac_option in
27946   # Handling of the options.
27947   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27948     ac_cs_recheck=: ;;
27949   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27950     $as_echo "$ac_cs_version"; exit ;;
27951   --config | --confi | --conf | --con | --co | --c )
27952     $as_echo "$ac_cs_config"; exit ;;
27953   --debug | --debu | --deb | --de | --d | -d )
27954     debug=: ;;
27955   --file | --fil | --fi | --f )
27956     $ac_shift
27957     case $ac_optarg in
27958     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27959     '') as_fn_error $? "missing file argument" ;;
27960     esac
27961     as_fn_append CONFIG_FILES " '$ac_optarg'"
27962     ac_need_defaults=false;;
27963   --header | --heade | --head | --hea )
27964     $ac_shift
27965     case $ac_optarg in
27966     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27967     esac
27968     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
27969     ac_need_defaults=false;;
27970   --he | --h)
27971     # Conflict between --help and --header
27972     as_fn_error $? "ambiguous option: \`$1'
27973 Try \`$0 --help' for more information.";;
27974   --help | --hel | -h )
27975     $as_echo "$ac_cs_usage"; exit ;;
27976   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27977   | -silent | --silent | --silen | --sile | --sil | --si | --s)
27978     ac_cs_silent=: ;;
27979
27980   # This is an error.
27981   -*) as_fn_error $? "unrecognized option: \`$1'
27982 Try \`$0 --help' for more information." ;;
27983
27984   *) as_fn_append ac_config_targets " $1"
27985      ac_need_defaults=false ;;
27986
27987   esac
27988   shift
27989 done
27990
27991 ac_configure_extra_args=
27992
27993 if $ac_cs_silent; then
27994   exec 6>/dev/null
27995   ac_configure_extra_args="$ac_configure_extra_args --silent"
27996 fi
27997
27998 _ACEOF
27999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28000 if \$ac_cs_recheck; then
28001   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28002   shift
28003   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
28004   CONFIG_SHELL='$SHELL'
28005   export CONFIG_SHELL
28006   exec "\$@"
28007 fi
28008
28009 _ACEOF
28010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28011 exec 5>>config.log
28012 {
28013   echo
28014   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28015 ## Running $as_me. ##
28016 _ASBOX
28017   $as_echo "$ac_log"
28018 } >&5
28019
28020 _ACEOF
28021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28022 #
28023 # INIT-COMMANDS
28024 #
28025
28026 srcdir="$srcdir"
28027 host="$host"
28028 target="$target"
28029 with_multisubdir="$with_multisubdir"
28030 with_multisrctop="$with_multisrctop"
28031 with_target_subdir="$with_target_subdir"
28032 ac_configure_args="${multilib_arg} ${ac_configure_args}"
28033 multi_basedir="$multi_basedir"
28034 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
28035 CC="$CC"
28036 CXX="$CXX"
28037 GFORTRAN="$GFORTRAN"
28038 GDC="$GDC"
28039 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28040
28041
28042 # The HP-UX ksh and POSIX shell print the target directory to stdout
28043 # if CDPATH is set.
28044 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
28045
28046 sed_quote_subst='$sed_quote_subst'
28047 double_quote_subst='$double_quote_subst'
28048 delay_variable_subst='$delay_variable_subst'
28049 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
28050 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
28051 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
28052 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
28053 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
28054 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
28055 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
28056 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
28057 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
28058 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
28059 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
28060 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
28061 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
28062 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
28063 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
28064 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
28065 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
28066 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
28067 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
28068 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
28069 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
28070 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
28071 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
28072 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
28073 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
28074 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
28075 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
28076 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
28077 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
28078 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
28079 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
28080 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
28081 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
28082 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
28083 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
28084 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
28085 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
28086 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
28087 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
28088 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
28089 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
28090 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
28091 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
28092 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
28093 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
28094 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
28095 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
28096 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
28097 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"`'
28098 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
28099 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
28100 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
28101 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
28102 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
28103 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
28104 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
28105 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
28106 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
28107 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
28108 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
28109 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
28110 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
28111 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
28112 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
28113 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
28114 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
28115 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
28116 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
28117 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
28118 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
28119 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
28120 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
28121 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
28122 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
28123 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
28124 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
28125 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
28126 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
28127 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
28128 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
28129 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
28130 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
28131 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
28132 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
28133 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
28134 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
28135 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
28136 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
28137 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
28138 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
28139 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
28140 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
28141 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
28142 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
28143 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
28144 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
28145 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
28146 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
28147 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
28148 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
28149 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
28150 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
28151 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
28152 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
28153 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
28154 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
28155 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
28156 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
28157 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
28158 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
28159 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
28160 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
28161 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
28162 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
28163 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
28164 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
28165 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
28166 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
28167 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
28168 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
28169 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
28170 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
28171 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
28172 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
28173 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
28174 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
28175 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
28176 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
28177 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
28178 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
28179 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
28180 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
28181 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
28182 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
28183 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
28184 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
28185 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
28186 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
28187 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
28188 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
28189 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
28190 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
28191 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
28192 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
28193 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
28194 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
28195 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
28196 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
28197 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
28198 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
28199 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
28200 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
28201 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
28202 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
28203 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
28204 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
28205 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
28206 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
28207 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
28208 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
28209 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
28210 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
28211 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
28212 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
28213 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
28214 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
28215 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
28216 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
28217 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
28218 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
28219 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
28220 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
28221 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
28222 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
28223 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
28224
28225 LTCC='$LTCC'
28226 LTCFLAGS='$LTCFLAGS'
28227 compiler='$compiler_DEFAULT'
28228
28229 # A function that is used when there is no print builtin or printf.
28230 func_fallback_echo ()
28231 {
28232   eval 'cat <<_LTECHO_EOF
28233 \$1
28234 _LTECHO_EOF'
28235 }
28236
28237 # Quote evaled strings.
28238 for var in SED \
28239 GREP \
28240 EGREP \
28241 FGREP \
28242 SHELL \
28243 ECHO \
28244 LD \
28245 NM \
28246 LN_S \
28247 lt_SP2NL \
28248 lt_NL2SP \
28249 reload_flag \
28250 OBJDUMP \
28251 deplibs_check_method \
28252 file_magic_cmd \
28253 AR \
28254 AR_FLAGS \
28255 STRIP \
28256 RANLIB \
28257 CC \
28258 CFLAGS \
28259 compiler \
28260 lt_cv_sys_global_symbol_pipe \
28261 lt_cv_sys_global_symbol_to_cdecl \
28262 lt_cv_sys_global_symbol_to_c_name_address \
28263 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
28264 lt_prog_compiler_no_builtin_flag \
28265 lt_prog_compiler_wl \
28266 lt_prog_compiler_pic \
28267 lt_prog_compiler_static \
28268 lt_cv_prog_compiler_c_o \
28269 need_locks \
28270 DSYMUTIL \
28271 NMEDIT \
28272 LIPO \
28273 OTOOL \
28274 OTOOL64 \
28275 shrext_cmds \
28276 export_dynamic_flag_spec \
28277 whole_archive_flag_spec \
28278 compiler_needs_object \
28279 with_gnu_ld \
28280 allow_undefined_flag \
28281 no_undefined_flag \
28282 hardcode_libdir_flag_spec \
28283 hardcode_libdir_flag_spec_ld \
28284 hardcode_libdir_separator \
28285 fix_srcfile_path \
28286 exclude_expsyms \
28287 include_expsyms \
28288 file_list_spec \
28289 variables_saved_for_relink \
28290 libname_spec \
28291 library_names_spec \
28292 soname_spec \
28293 install_override_mode \
28294 finish_eval \
28295 old_striplib \
28296 striplib \
28297 compiler_lib_search_dirs \
28298 predep_objects \
28299 postdep_objects \
28300 predeps \
28301 postdeps \
28302 compiler_lib_search_path \
28303 LD_FC \
28304 reload_flag_FC \
28305 compiler_FC \
28306 lt_prog_compiler_no_builtin_flag_FC \
28307 lt_prog_compiler_wl_FC \
28308 lt_prog_compiler_pic_FC \
28309 lt_prog_compiler_static_FC \
28310 lt_cv_prog_compiler_c_o_FC \
28311 export_dynamic_flag_spec_FC \
28312 whole_archive_flag_spec_FC \
28313 compiler_needs_object_FC \
28314 with_gnu_ld_FC \
28315 allow_undefined_flag_FC \
28316 no_undefined_flag_FC \
28317 hardcode_libdir_flag_spec_FC \
28318 hardcode_libdir_flag_spec_ld_FC \
28319 hardcode_libdir_separator_FC \
28320 fix_srcfile_path_FC \
28321 exclude_expsyms_FC \
28322 include_expsyms_FC \
28323 file_list_spec_FC \
28324 compiler_lib_search_dirs_FC \
28325 predep_objects_FC \
28326 postdep_objects_FC \
28327 predeps_FC \
28328 postdeps_FC \
28329 compiler_lib_search_path_FC; do
28330     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
28331     *[\\\\\\\`\\"\\\$]*)
28332       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
28333       ;;
28334     *)
28335       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28336       ;;
28337     esac
28338 done
28339
28340 # Double-quote double-evaled strings.
28341 for var in reload_cmds \
28342 old_postinstall_cmds \
28343 old_postuninstall_cmds \
28344 old_archive_cmds \
28345 extract_expsyms_cmds \
28346 old_archive_from_new_cmds \
28347 old_archive_from_expsyms_cmds \
28348 archive_cmds \
28349 archive_expsym_cmds \
28350 module_cmds \
28351 module_expsym_cmds \
28352 export_symbols_cmds \
28353 prelink_cmds \
28354 postinstall_cmds \
28355 postuninstall_cmds \
28356 finish_cmds \
28357 sys_lib_search_path_spec \
28358 sys_lib_dlsearch_path_spec \
28359 reload_cmds_FC \
28360 old_archive_cmds_FC \
28361 old_archive_from_new_cmds_FC \
28362 old_archive_from_expsyms_cmds_FC \
28363 archive_cmds_FC \
28364 archive_expsym_cmds_FC \
28365 module_cmds_FC \
28366 module_expsym_cmds_FC \
28367 export_symbols_cmds_FC \
28368 prelink_cmds_FC; do
28369     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
28370     *[\\\\\\\`\\"\\\$]*)
28371       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
28372       ;;
28373     *)
28374       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28375       ;;
28376     esac
28377 done
28378
28379 ac_aux_dir='$ac_aux_dir'
28380 xsi_shell='$xsi_shell'
28381 lt_shell_append='$lt_shell_append'
28382
28383 # See if we are running on zsh, and set the options which allow our
28384 # commands through without removal of \ escapes INIT.
28385 if test -n "\${ZSH_VERSION+set}" ; then
28386    setopt NO_GLOB_SUBST
28387 fi
28388
28389
28390     PACKAGE='$PACKAGE'
28391     VERSION='$VERSION'
28392     TIMESTAMP='$TIMESTAMP'
28393     RM='$RM'
28394     ofile='$ofile'
28395
28396
28397
28398
28399
28400
28401 GCC="$GCC"
28402 CC="$CC"
28403 acx_cv_header_stdint="$acx_cv_header_stdint"
28404 acx_cv_type_int8_t="$acx_cv_type_int8_t"
28405 acx_cv_type_int16_t="$acx_cv_type_int16_t"
28406 acx_cv_type_int32_t="$acx_cv_type_int32_t"
28407 acx_cv_type_int64_t="$acx_cv_type_int64_t"
28408 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
28409 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
28410 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
28411 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
28412 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
28413 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
28414 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
28415 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
28416 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
28417
28418
28419 _ACEOF
28420
28421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28422
28423 # Handling of arguments.
28424 for ac_config_target in $ac_config_targets
28425 do
28426   case $ac_config_target in
28427     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
28428     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
28429     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
28430     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
28431     "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
28432     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
28433     "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
28434
28435   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
28436   esac
28437 done
28438
28439
28440 # If the user did not use the arguments to specify the items to instantiate,
28441 # then the envvar interface is used.  Set only those that are not.
28442 # We use the long form for the default assignment because of an extremely
28443 # bizarre bug on SunOS 4.1.3.
28444 if $ac_need_defaults; then
28445   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
28446   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
28447   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
28448 fi
28449
28450 # Have a temporary directory for convenience.  Make it in the build tree
28451 # simply because there is no reason against having it here, and in addition,
28452 # creating and moving files from /tmp can sometimes cause problems.
28453 # Hook for its removal unless debugging.
28454 # Note that there is a small window in which the directory will not be cleaned:
28455 # after its creation but before its name has been assigned to `$tmp'.
28456 $debug ||
28457 {
28458   tmp= ac_tmp=
28459   trap 'exit_status=$?
28460   : "${ac_tmp:=$tmp}"
28461   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
28462 ' 0
28463   trap 'as_fn_exit 1' 1 2 13 15
28464 }
28465 # Create a (secure) tmp directory for tmp files.
28466
28467 {
28468   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28469   test -d "$tmp"
28470 }  ||
28471 {
28472   tmp=./conf$$-$RANDOM
28473   (umask 077 && mkdir "$tmp")
28474 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
28475 ac_tmp=$tmp
28476
28477 # Set up the scripts for CONFIG_FILES section.
28478 # No need to generate them if there are no CONFIG_FILES.
28479 # This happens for instance with `./config.status config.h'.
28480 if test -n "$CONFIG_FILES"; then
28481
28482
28483 ac_cr=`echo X | tr X '\015'`
28484 # On cygwin, bash can eat \r inside `` if the user requested igncr.
28485 # But we know of no other shell where ac_cr would be empty at this
28486 # point, so we can use a bashism as a fallback.
28487 if test "x$ac_cr" = x; then
28488   eval ac_cr=\$\'\\r\'
28489 fi
28490 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
28491 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
28492   ac_cs_awk_cr='\\r'
28493 else
28494   ac_cs_awk_cr=$ac_cr
28495 fi
28496
28497 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
28498 _ACEOF
28499
28500
28501 {
28502   echo "cat >conf$$subs.awk <<_ACEOF" &&
28503   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
28504   echo "_ACEOF"
28505 } >conf$$subs.sh ||
28506   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28507 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
28508 ac_delim='%!_!# '
28509 for ac_last_try in false false false false false :; do
28510   . ./conf$$subs.sh ||
28511     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28512
28513   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
28514   if test $ac_delim_n = $ac_delim_num; then
28515     break
28516   elif $ac_last_try; then
28517     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28518   else
28519     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28520   fi
28521 done
28522 rm -f conf$$subs.sh
28523
28524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28525 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
28526 _ACEOF
28527 sed -n '
28528 h
28529 s/^/S["/; s/!.*/"]=/
28530 p
28531 g
28532 s/^[^!]*!//
28533 :repl
28534 t repl
28535 s/'"$ac_delim"'$//
28536 t delim
28537 :nl
28538 h
28539 s/\(.\{148\}\)..*/\1/
28540 t more1
28541 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
28542 p
28543 n
28544 b repl
28545 :more1
28546 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28547 p
28548 g
28549 s/.\{148\}//
28550 t nl
28551 :delim
28552 h
28553 s/\(.\{148\}\)..*/\1/
28554 t more2
28555 s/["\\]/\\&/g; s/^/"/; s/$/"/
28556 p
28557 b
28558 :more2
28559 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28560 p
28561 g
28562 s/.\{148\}//
28563 t delim
28564 ' <conf$$subs.awk | sed '
28565 /^[^""]/{
28566   N
28567   s/\n//
28568 }
28569 ' >>$CONFIG_STATUS || ac_write_fail=1
28570 rm -f conf$$subs.awk
28571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28572 _ACAWK
28573 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
28574   for (key in S) S_is_set[key] = 1
28575   FS = "\a"
28576
28577 }
28578 {
28579   line = $ 0
28580   nfields = split(line, field, "@")
28581   substed = 0
28582   len = length(field[1])
28583   for (i = 2; i < nfields; i++) {
28584     key = field[i]
28585     keylen = length(key)
28586     if (S_is_set[key]) {
28587       value = S[key]
28588       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
28589       len += length(value) + length(field[++i])
28590       substed = 1
28591     } else
28592       len += 1 + keylen
28593   }
28594
28595   print line
28596 }
28597
28598 _ACAWK
28599 _ACEOF
28600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28601 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
28602   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
28603 else
28604   cat
28605 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
28606   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
28607 _ACEOF
28608
28609 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
28610 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
28611 # trailing colons and then remove the whole line if VPATH becomes empty
28612 # (actually we leave an empty line to preserve line numbers).
28613 if test "x$srcdir" = x.; then
28614   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
28615 h
28616 s///
28617 s/^/:/
28618 s/[      ]*$/:/
28619 s/:\$(srcdir):/:/g
28620 s/:\${srcdir}:/:/g
28621 s/:@srcdir@:/:/g
28622 s/^:*//
28623 s/:*$//
28624 x
28625 s/\(=[   ]*\).*/\1/
28626 G
28627 s/\n//
28628 s/^[^=]*=[       ]*$//
28629 }'
28630 fi
28631
28632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28633 fi # test -n "$CONFIG_FILES"
28634
28635 # Set up the scripts for CONFIG_HEADERS section.
28636 # No need to generate them if there are no CONFIG_HEADERS.
28637 # This happens for instance with `./config.status Makefile'.
28638 if test -n "$CONFIG_HEADERS"; then
28639 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
28640 BEGIN {
28641 _ACEOF
28642
28643 # Transform confdefs.h into an awk script `defines.awk', embedded as
28644 # here-document in config.status, that substitutes the proper values into
28645 # config.h.in to produce config.h.
28646
28647 # Create a delimiter string that does not exist in confdefs.h, to ease
28648 # handling of long lines.
28649 ac_delim='%!_!# '
28650 for ac_last_try in false false :; do
28651   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
28652   if test -z "$ac_tt"; then
28653     break
28654   elif $ac_last_try; then
28655     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
28656   else
28657     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28658   fi
28659 done
28660
28661 # For the awk script, D is an array of macro values keyed by name,
28662 # likewise P contains macro parameters if any.  Preserve backslash
28663 # newline sequences.
28664
28665 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28666 sed -n '
28667 s/.\{148\}/&'"$ac_delim"'/g
28668 t rset
28669 :rset
28670 s/^[     ]*#[    ]*define[       ][      ]*/ /
28671 t def
28672 d
28673 :def
28674 s/\\$//
28675 t bsnl
28676 s/["\\]/\\&/g
28677 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
28678 D["\1"]=" \3"/p
28679 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
28680 d
28681 :bsnl
28682 s/["\\]/\\&/g
28683 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
28684 D["\1"]=" \3\\\\\\n"\\/p
28685 t cont
28686 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
28687 t cont
28688 d
28689 :cont
28690 n
28691 s/.\{148\}/&'"$ac_delim"'/g
28692 t clear
28693 :clear
28694 s/\\$//
28695 t bsnlc
28696 s/["\\]/\\&/g; s/^/"/; s/$/"/p
28697 d
28698 :bsnlc
28699 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
28700 b cont
28701 ' <confdefs.h | sed '
28702 s/'"$ac_delim"'/"\\\
28703 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28704
28705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28706   for (key in D) D_is_set[key] = 1
28707   FS = "\a"
28708 }
28709 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28710   line = \$ 0
28711   split(line, arg, " ")
28712   if (arg[1] == "#") {
28713     defundef = arg[2]
28714     mac1 = arg[3]
28715   } else {
28716     defundef = substr(arg[1], 2)
28717     mac1 = arg[2]
28718   }
28719   split(mac1, mac2, "(") #)
28720   macro = mac2[1]
28721   prefix = substr(line, 1, index(line, defundef) - 1)
28722   if (D_is_set[macro]) {
28723     # Preserve the white space surrounding the "#".
28724     print prefix "define", macro P[macro] D[macro]
28725     next
28726   } else {
28727     # Replace #undef with comments.  This is necessary, for example,
28728     # in the case of _POSIX_SOURCE, which is predefined and required
28729     # on some systems where configure will not decide to define it.
28730     if (defundef == "undef") {
28731       print "/*", prefix defundef, macro, "*/"
28732       next
28733     }
28734   }
28735 }
28736 { print }
28737 _ACAWK
28738 _ACEOF
28739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28740   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
28741 fi # test -n "$CONFIG_HEADERS"
28742
28743
28744 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
28745 shift
28746 for ac_tag
28747 do
28748   case $ac_tag in
28749   :[FHLC]) ac_mode=$ac_tag; continue;;
28750   esac
28751   case $ac_mode$ac_tag in
28752   :[FHL]*:*);;
28753   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
28754   :[FH]-) ac_tag=-:-;;
28755   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
28756   esac
28757   ac_save_IFS=$IFS
28758   IFS=:
28759   set x $ac_tag
28760   IFS=$ac_save_IFS
28761   shift
28762   ac_file=$1
28763   shift
28764
28765   case $ac_mode in
28766   :L) ac_source=$1;;
28767   :[FH])
28768     ac_file_inputs=
28769     for ac_f
28770     do
28771       case $ac_f in
28772       -) ac_f="$ac_tmp/stdin";;
28773       *) # Look for the file first in the build tree, then in the source tree
28774          # (if the path is not absolute).  The absolute path cannot be DOS-style,
28775          # because $ac_f cannot contain `:'.
28776          test -f "$ac_f" ||
28777            case $ac_f in
28778            [\\/$]*) false;;
28779            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
28780            esac ||
28781            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28782       esac
28783       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28784       as_fn_append ac_file_inputs " '$ac_f'"
28785     done
28786
28787     # Let's still pretend it is `configure' which instantiates (i.e., don't
28788     # use $as_me), people would be surprised to read:
28789     #    /* config.h.  Generated by config.status.  */
28790     configure_input='Generated from '`
28791           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28792         `' by configure.'
28793     if test x"$ac_file" != x-; then
28794       configure_input="$ac_file.  $configure_input"
28795       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28796 $as_echo "$as_me: creating $ac_file" >&6;}
28797     fi
28798     # Neutralize special characters interpreted by sed in replacement strings.
28799     case $configure_input in #(
28800     *\&* | *\|* | *\\* )
28801        ac_sed_conf_input=`$as_echo "$configure_input" |
28802        sed 's/[\\\\&|]/\\\\&/g'`;; #(
28803     *) ac_sed_conf_input=$configure_input;;
28804     esac
28805
28806     case $ac_tag in
28807     *:-:* | *:-) cat >"$ac_tmp/stdin" \
28808       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
28809     esac
28810     ;;
28811   esac
28812
28813   ac_dir=`$as_dirname -- "$ac_file" ||
28814 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28815          X"$ac_file" : 'X\(//\)[^/]' \| \
28816          X"$ac_file" : 'X\(//\)$' \| \
28817          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28818 $as_echo X"$ac_file" |
28819     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28820             s//\1/
28821             q
28822           }
28823           /^X\(\/\/\)[^/].*/{
28824             s//\1/
28825             q
28826           }
28827           /^X\(\/\/\)$/{
28828             s//\1/
28829             q
28830           }
28831           /^X\(\/\).*/{
28832             s//\1/
28833             q
28834           }
28835           s/.*/./; q'`
28836   as_dir="$ac_dir"; as_fn_mkdir_p
28837   ac_builddir=.
28838
28839 case "$ac_dir" in
28840 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
28841 *)
28842   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28843   # A ".." for each directory in $ac_dir_suffix.
28844   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28845   case $ac_top_builddir_sub in
28846   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
28847   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
28848   esac ;;
28849 esac
28850 ac_abs_top_builddir=$ac_pwd
28851 ac_abs_builddir=$ac_pwd$ac_dir_suffix
28852 # for backward compatibility:
28853 ac_top_builddir=$ac_top_build_prefix
28854
28855 case $srcdir in
28856   .)  # We are building in place.
28857     ac_srcdir=.
28858     ac_top_srcdir=$ac_top_builddir_sub
28859     ac_abs_top_srcdir=$ac_pwd ;;
28860   [\\/]* | ?:[\\/]* )  # Absolute name.
28861     ac_srcdir=$srcdir$ac_dir_suffix;
28862     ac_top_srcdir=$srcdir
28863     ac_abs_top_srcdir=$srcdir ;;
28864   *) # Relative name.
28865     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
28866     ac_top_srcdir=$ac_top_build_prefix$srcdir
28867     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
28868 esac
28869 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
28870
28871
28872   case $ac_mode in
28873   :F)
28874   #
28875   # CONFIG_FILE
28876   #
28877
28878   case $INSTALL in
28879   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28880   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
28881   esac
28882   ac_MKDIR_P=$MKDIR_P
28883   case $MKDIR_P in
28884   [\\/$]* | ?:[\\/]* ) ;;
28885   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
28886   esac
28887 _ACEOF
28888
28889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28890 # If the template does not know about datarootdir, expand it.
28891 # FIXME: This hack should be removed a few years after 2.60.
28892 ac_datarootdir_hack=; ac_datarootdir_seen=
28893 ac_sed_dataroot='
28894 /datarootdir/ {
28895   p
28896   q
28897 }
28898 /@datadir@/p
28899 /@docdir@/p
28900 /@infodir@/p
28901 /@localedir@/p
28902 /@mandir@/p'
28903 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28904 *datarootdir*) ac_datarootdir_seen=yes;;
28905 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28906   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28907 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28908 _ACEOF
28909 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28910   ac_datarootdir_hack='
28911   s&@datadir@&$datadir&g
28912   s&@docdir@&$docdir&g
28913   s&@infodir@&$infodir&g
28914   s&@localedir@&$localedir&g
28915   s&@mandir@&$mandir&g
28916   s&\\\${datarootdir}&$datarootdir&g' ;;
28917 esac
28918 _ACEOF
28919
28920 # Neutralize VPATH when `$srcdir' = `.'.
28921 # Shell code in configure.ac might set extrasub.
28922 # FIXME: do we really want to maintain this feature?
28923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28924 ac_sed_extra="$ac_vpsub
28925 $extrasub
28926 _ACEOF
28927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28928 :t
28929 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28930 s|@configure_input@|$ac_sed_conf_input|;t t
28931 s&@top_builddir@&$ac_top_builddir_sub&;t t
28932 s&@top_build_prefix@&$ac_top_build_prefix&;t t
28933 s&@srcdir@&$ac_srcdir&;t t
28934 s&@abs_srcdir@&$ac_abs_srcdir&;t t
28935 s&@top_srcdir@&$ac_top_srcdir&;t t
28936 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
28937 s&@builddir@&$ac_builddir&;t t
28938 s&@abs_builddir@&$ac_abs_builddir&;t t
28939 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
28940 s&@INSTALL@&$ac_INSTALL&;t t
28941 s&@MKDIR_P@&$ac_MKDIR_P&;t t
28942 $ac_datarootdir_hack
28943 "
28944 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
28945   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28946
28947 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28948   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
28949   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
28950       "$ac_tmp/out"`; test -z "$ac_out"; } &&
28951   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28952 which seems to be undefined.  Please make sure it is defined" >&5
28953 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28954 which seems to be undefined.  Please make sure it is defined" >&2;}
28955
28956   rm -f "$ac_tmp/stdin"
28957   case $ac_file in
28958   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
28959   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
28960   esac \
28961   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28962  ;;
28963   :H)
28964   #
28965   # CONFIG_HEADER
28966   #
28967   if test x"$ac_file" != x-; then
28968     {
28969       $as_echo "/* $configure_input  */" \
28970       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
28971     } >"$ac_tmp/config.h" \
28972       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28973     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
28974       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28975 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28976     else
28977       rm -f "$ac_file"
28978       mv "$ac_tmp/config.h" "$ac_file" \
28979         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28980     fi
28981   else
28982     $as_echo "/* $configure_input  */" \
28983       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
28984       || as_fn_error $? "could not create -" "$LINENO" 5
28985   fi
28986 # Compute "$ac_file"'s index in $config_headers.
28987 _am_arg="$ac_file"
28988 _am_stamp_count=1
28989 for _am_header in $config_headers :; do
28990   case $_am_header in
28991     $_am_arg | $_am_arg:* )
28992       break ;;
28993     * )
28994       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28995   esac
28996 done
28997 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28998 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28999          X"$_am_arg" : 'X\(//\)[^/]' \| \
29000          X"$_am_arg" : 'X\(//\)$' \| \
29001          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
29002 $as_echo X"$_am_arg" |
29003     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29004             s//\1/
29005             q
29006           }
29007           /^X\(\/\/\)[^/].*/{
29008             s//\1/
29009             q
29010           }
29011           /^X\(\/\/\)$/{
29012             s//\1/
29013             q
29014           }
29015           /^X\(\/\).*/{
29016             s//\1/
29017             q
29018           }
29019           s/.*/./; q'`/stamp-h$_am_stamp_count
29020  ;;
29021
29022   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
29023 $as_echo "$as_me: executing $ac_file commands" >&6;}
29024  ;;
29025   esac
29026
29027
29028   case $ac_file$ac_mode in
29029     "default-1":C)
29030 # Only add multilib support code if we just rebuilt the top-level
29031 # Makefile.
29032 case " $CONFIG_FILES " in
29033  *" Makefile "*)
29034    ac_file=Makefile . ${multi_basedir}/config-ml.in
29035    ;;
29036 esac ;;
29037     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
29038   # Older Autoconf quotes --file arguments for eval, but not when files
29039   # are listed without --file.  Let's play safe and only enable the eval
29040   # if we detect the quoting.
29041   case $CONFIG_FILES in
29042   *\'*) eval set x "$CONFIG_FILES" ;;
29043   *)   set x $CONFIG_FILES ;;
29044   esac
29045   shift
29046   for mf
29047   do
29048     # Strip MF so we end up with the name of the file.
29049     mf=`echo "$mf" | sed -e 's/:.*$//'`
29050     # Check whether this is an Automake generated Makefile or not.
29051     # We used to match only the files named 'Makefile.in', but
29052     # some people rename them; so instead we look at the file content.
29053     # Grep'ing the first line is not enough: some people post-process
29054     # each Makefile.in and add a new line on top of each file to say so.
29055     # Grep'ing the whole file is not good either: AIX grep has a line
29056     # limit of 2048, but all sed's we know have understand at least 4000.
29057     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
29058       dirpart=`$as_dirname -- "$mf" ||
29059 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29060          X"$mf" : 'X\(//\)[^/]' \| \
29061          X"$mf" : 'X\(//\)$' \| \
29062          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
29063 $as_echo X"$mf" |
29064     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29065             s//\1/
29066             q
29067           }
29068           /^X\(\/\/\)[^/].*/{
29069             s//\1/
29070             q
29071           }
29072           /^X\(\/\/\)$/{
29073             s//\1/
29074             q
29075           }
29076           /^X\(\/\).*/{
29077             s//\1/
29078             q
29079           }
29080           s/.*/./; q'`
29081     else
29082       continue
29083     fi
29084     # Extract the definition of DEPDIR, am__include, and am__quote
29085     # from the Makefile without running 'make'.
29086     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
29087     test -z "$DEPDIR" && continue
29088     am__include=`sed -n 's/^am__include = //p' < "$mf"`
29089     test -z "$am__include" && continue
29090     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
29091     # Find all dependency output files, they are included files with
29092     # $(DEPDIR) in their names.  We invoke sed twice because it is the
29093     # simplest approach to changing $(DEPDIR) to its actual value in the
29094     # expansion.
29095     for file in `sed -n "
29096       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
29097          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
29098       # Make sure the directory exists.
29099       test -f "$dirpart/$file" && continue
29100       fdir=`$as_dirname -- "$file" ||
29101 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29102          X"$file" : 'X\(//\)[^/]' \| \
29103          X"$file" : 'X\(//\)$' \| \
29104          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
29105 $as_echo X"$file" |
29106     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29107             s//\1/
29108             q
29109           }
29110           /^X\(\/\/\)[^/].*/{
29111             s//\1/
29112             q
29113           }
29114           /^X\(\/\/\)$/{
29115             s//\1/
29116             q
29117           }
29118           /^X\(\/\).*/{
29119             s//\1/
29120             q
29121           }
29122           s/.*/./; q'`
29123       as_dir=$dirpart/$fdir; as_fn_mkdir_p
29124       # echo "creating $dirpart/$file"
29125       echo '# dummy' > "$dirpart/$file"
29126     done
29127   done
29128 }
29129  ;;
29130     "libtool":C)
29131
29132     # See if we are running on zsh, and set the options which allow our
29133     # commands through without removal of \ escapes.
29134     if test -n "${ZSH_VERSION+set}" ; then
29135       setopt NO_GLOB_SUBST
29136     fi
29137
29138     cfgfile="${ofile}T"
29139     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
29140     $RM "$cfgfile"
29141
29142     cat <<_LT_EOF >> "$cfgfile"
29143 #! $SHELL
29144
29145 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
29146 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
29147 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
29148 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
29149 #
29150 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
29151 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
29152 #   Written by Gordon Matzigkeit, 1996
29153 #
29154 #   This file is part of GNU Libtool.
29155 #
29156 # GNU Libtool is free software; you can redistribute it and/or
29157 # modify it under the terms of the GNU General Public License as
29158 # published by the Free Software Foundation; either version 2 of
29159 # the License, or (at your option) any later version.
29160 #
29161 # As a special exception to the GNU General Public License,
29162 # if you distribute this file as part of a program or library that
29163 # is built using GNU Libtool, you may include this file under the
29164 # same distribution terms that you use for the rest of that program.
29165 #
29166 # GNU Libtool is distributed in the hope that it will be useful,
29167 # but WITHOUT ANY WARRANTY; without even the implied warranty of
29168 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
29169 # GNU General Public License for more details.
29170 #
29171 # You should have received a copy of the GNU General Public License
29172 # along with GNU Libtool; see the file COPYING.  If not, a copy
29173 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
29174 # obtained by writing to the Free Software Foundation, Inc.,
29175 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
29176
29177
29178 # The names of the tagged configurations supported by this script.
29179 available_tags="FC "
29180
29181 # ### BEGIN LIBTOOL CONFIG
29182
29183 # A sed program that does not truncate output.
29184 SED=$lt_SED
29185
29186 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
29187 Xsed="\$SED -e 1s/^X//"
29188
29189 # A grep program that handles long lines.
29190 GREP=$lt_GREP
29191
29192 # An ERE matcher.
29193 EGREP=$lt_EGREP
29194
29195 # A literal string matcher.
29196 FGREP=$lt_FGREP
29197
29198 # Shell to use when invoking shell scripts.
29199 SHELL=$lt_SHELL
29200
29201 # An echo program that protects backslashes.
29202 ECHO=$lt_ECHO
29203
29204 # Which release of libtool.m4 was used?
29205 macro_version=$macro_version
29206 macro_revision=$macro_revision
29207
29208 # Whether or not to build shared libraries.
29209 build_libtool_libs=$enable_shared
29210
29211 # Whether or not to build static libraries.
29212 build_old_libs=$enable_static
29213
29214 # What type of objects to build.
29215 pic_mode=$pic_mode
29216
29217 # Whether or not to optimize for fast installation.
29218 fast_install=$enable_fast_install
29219
29220 # The host system.
29221 host_alias=$host_alias
29222 host=$host
29223 host_os=$host_os
29224
29225 # The build system.
29226 build_alias=$build_alias
29227 build=$build
29228 build_os=$build_os
29229
29230 # A BSD- or MS-compatible name lister.
29231 NM=$lt_NM
29232
29233 # Whether we need soft or hard links.
29234 LN_S=$lt_LN_S
29235
29236 # What is the maximum length of a command?
29237 max_cmd_len=$max_cmd_len
29238
29239 # Object file suffix (normally "o").
29240 objext=$ac_objext
29241
29242 # Executable file suffix (normally "").
29243 exeext=$exeext
29244
29245 # whether the shell understands "unset".
29246 lt_unset=$lt_unset
29247
29248 # turn spaces into newlines.
29249 SP2NL=$lt_lt_SP2NL
29250
29251 # turn newlines into spaces.
29252 NL2SP=$lt_lt_NL2SP
29253
29254 # An object symbol dumper.
29255 OBJDUMP=$lt_OBJDUMP
29256
29257 # Method to check whether dependent libraries are shared objects.
29258 deplibs_check_method=$lt_deplibs_check_method
29259
29260 # Command to use when deplibs_check_method == "file_magic".
29261 file_magic_cmd=$lt_file_magic_cmd
29262
29263 # The archiver.
29264 AR=$lt_AR
29265 AR_FLAGS=$lt_AR_FLAGS
29266
29267 # A symbol stripping program.
29268 STRIP=$lt_STRIP
29269
29270 # Commands used to install an old-style archive.
29271 RANLIB=$lt_RANLIB
29272 old_postinstall_cmds=$lt_old_postinstall_cmds
29273 old_postuninstall_cmds=$lt_old_postuninstall_cmds
29274
29275 # Whether to use a lock for old archive extraction.
29276 lock_old_archive_extraction=$lock_old_archive_extraction
29277
29278 # A C compiler.
29279 LTCC=$lt_CC
29280
29281 # LTCC compiler flags.
29282 LTCFLAGS=$lt_CFLAGS
29283
29284 # Take the output of nm and produce a listing of raw symbols and C names.
29285 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
29286
29287 # Transform the output of nm in a proper C declaration.
29288 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
29289
29290 # Transform the output of nm in a C name address pair.
29291 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
29292
29293 # Transform the output of nm in a C name address pair when lib prefix is needed.
29294 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
29295
29296 # The name of the directory that contains temporary libtool files.
29297 objdir=$objdir
29298
29299 # Used to examine libraries when file_magic_cmd begins with "file".
29300 MAGIC_CMD=$MAGIC_CMD
29301
29302 # Must we lock files when doing compilation?
29303 need_locks=$lt_need_locks
29304
29305 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
29306 DSYMUTIL=$lt_DSYMUTIL
29307
29308 # Tool to change global to local symbols on Mac OS X.
29309 NMEDIT=$lt_NMEDIT
29310
29311 # Tool to manipulate fat objects and archives on Mac OS X.
29312 LIPO=$lt_LIPO
29313
29314 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
29315 OTOOL=$lt_OTOOL
29316
29317 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
29318 OTOOL64=$lt_OTOOL64
29319
29320 # Old archive suffix (normally "a").
29321 libext=$libext
29322
29323 # Shared library suffix (normally ".so").
29324 shrext_cmds=$lt_shrext_cmds
29325
29326 # The commands to extract the exported symbol list from a shared archive.
29327 extract_expsyms_cmds=$lt_extract_expsyms_cmds
29328
29329 # Variables whose values should be saved in libtool wrapper scripts and
29330 # restored at link time.
29331 variables_saved_for_relink=$lt_variables_saved_for_relink
29332
29333 # Do we need the "lib" prefix for modules?
29334 need_lib_prefix=$need_lib_prefix
29335
29336 # Do we need a version for libraries?
29337 need_version=$need_version
29338
29339 # Library versioning type.
29340 version_type=$version_type
29341
29342 # Shared library runtime path variable.
29343 runpath_var=$runpath_var
29344
29345 # Shared library path variable.
29346 shlibpath_var=$shlibpath_var
29347
29348 # Is shlibpath searched before the hard-coded library search path?
29349 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
29350
29351 # Format of library name prefix.
29352 libname_spec=$lt_libname_spec
29353
29354 # List of archive names.  First name is the real one, the rest are links.
29355 # The last name is the one that the linker finds with -lNAME
29356 library_names_spec=$lt_library_names_spec
29357
29358 # The coded name of the library, if different from the real name.
29359 soname_spec=$lt_soname_spec
29360
29361 # Permission mode override for installation of shared libraries.
29362 install_override_mode=$lt_install_override_mode
29363
29364 # Command to use after installation of a shared archive.
29365 postinstall_cmds=$lt_postinstall_cmds
29366
29367 # Command to use after uninstallation of a shared archive.
29368 postuninstall_cmds=$lt_postuninstall_cmds
29369
29370 # Commands used to finish a libtool library installation in a directory.
29371 finish_cmds=$lt_finish_cmds
29372
29373 # As "finish_cmds", except a single script fragment to be evaled but
29374 # not shown.
29375 finish_eval=$lt_finish_eval
29376
29377 # Whether we should hardcode library paths into libraries.
29378 hardcode_into_libs=$hardcode_into_libs
29379
29380 # Compile-time system search path for libraries.
29381 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
29382
29383 # Run-time system search path for libraries.
29384 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
29385
29386 # Whether dlopen is supported.
29387 dlopen_support=$enable_dlopen
29388
29389 # Whether dlopen of programs is supported.
29390 dlopen_self=$enable_dlopen_self
29391
29392 # Whether dlopen of statically linked programs is supported.
29393 dlopen_self_static=$enable_dlopen_self_static
29394
29395 # Commands to strip libraries.
29396 old_striplib=$lt_old_striplib
29397 striplib=$lt_striplib
29398
29399
29400 # The linker used to build libraries.
29401 LD=$lt_LD
29402
29403 # How to create reloadable object files.
29404 reload_flag=$lt_reload_flag
29405 reload_cmds=$lt_reload_cmds
29406
29407 # Commands used to build an old-style archive.
29408 old_archive_cmds=$lt_old_archive_cmds
29409
29410 # A language specific compiler.
29411 CC=$lt_compiler
29412
29413 # Is the compiler the GNU compiler?
29414 with_gcc=$GCC
29415
29416 # Compiler flag to turn off builtin functions.
29417 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
29418
29419 # How to pass a linker flag through the compiler.
29420 wl=$lt_lt_prog_compiler_wl
29421
29422 # Additional compiler flags for building library objects.
29423 pic_flag=$lt_lt_prog_compiler_pic
29424
29425 # Compiler flag to prevent dynamic linking.
29426 link_static_flag=$lt_lt_prog_compiler_static
29427
29428 # Does compiler simultaneously support -c and -o options?
29429 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
29430
29431 # Whether or not to add -lc for building shared libraries.
29432 build_libtool_need_lc=$archive_cmds_need_lc
29433
29434 # Whether or not to disallow shared libs when runtime libs are static.
29435 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
29436
29437 # Compiler flag to allow reflexive dlopens.
29438 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
29439
29440 # Compiler flag to generate shared objects directly from archives.
29441 whole_archive_flag_spec=$lt_whole_archive_flag_spec
29442
29443 # Whether the compiler copes with passing no objects directly.
29444 compiler_needs_object=$lt_compiler_needs_object
29445
29446 # Create an old-style archive from a shared archive.
29447 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
29448
29449 # Create a temporary old-style archive to link instead of a shared archive.
29450 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
29451
29452 # Commands used to build a shared archive.
29453 archive_cmds=$lt_archive_cmds
29454 archive_expsym_cmds=$lt_archive_expsym_cmds
29455
29456 # Commands used to build a loadable module if different from building
29457 # a shared archive.
29458 module_cmds=$lt_module_cmds
29459 module_expsym_cmds=$lt_module_expsym_cmds
29460
29461 # Whether we are building with GNU ld or not.
29462 with_gnu_ld=$lt_with_gnu_ld
29463
29464 # Flag that allows shared libraries with undefined symbols to be built.
29465 allow_undefined_flag=$lt_allow_undefined_flag
29466
29467 # Flag that enforces no undefined symbols.
29468 no_undefined_flag=$lt_no_undefined_flag
29469
29470 # Flag to hardcode \$libdir into a binary during linking.
29471 # This must work even if \$libdir does not exist
29472 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
29473
29474 # If ld is used when linking, flag to hardcode \$libdir into a binary
29475 # during linking.  This must work even if \$libdir does not exist.
29476 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
29477
29478 # Whether we need a single "-rpath" flag with a separated argument.
29479 hardcode_libdir_separator=$lt_hardcode_libdir_separator
29480
29481 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29482 # DIR into the resulting binary.
29483 hardcode_direct=$hardcode_direct
29484
29485 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29486 # DIR into the resulting binary and the resulting library dependency is
29487 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29488 # library is relocated.
29489 hardcode_direct_absolute=$hardcode_direct_absolute
29490
29491 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29492 # into the resulting binary.
29493 hardcode_minus_L=$hardcode_minus_L
29494
29495 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29496 # into the resulting binary.
29497 hardcode_shlibpath_var=$hardcode_shlibpath_var
29498
29499 # Set to "yes" if building a shared library automatically hardcodes DIR
29500 # into the library and all subsequent libraries and executables linked
29501 # against it.
29502 hardcode_automatic=$hardcode_automatic
29503
29504 # Set to yes if linker adds runtime paths of dependent libraries
29505 # to runtime path list.
29506 inherit_rpath=$inherit_rpath
29507
29508 # Whether libtool must link a program against all its dependency libraries.
29509 link_all_deplibs=$link_all_deplibs
29510
29511 # Fix the shell variable \$srcfile for the compiler.
29512 fix_srcfile_path=$lt_fix_srcfile_path
29513
29514 # Set to "yes" if exported symbols are required.
29515 always_export_symbols=$always_export_symbols
29516
29517 # The commands to list exported symbols.
29518 export_symbols_cmds=$lt_export_symbols_cmds
29519
29520 # Symbols that should not be listed in the preloaded symbols.
29521 exclude_expsyms=$lt_exclude_expsyms
29522
29523 # Symbols that must always be exported.
29524 include_expsyms=$lt_include_expsyms
29525
29526 # Commands necessary for linking programs (against libraries) with templates.
29527 prelink_cmds=$lt_prelink_cmds
29528
29529 # Specify filename containing input files.
29530 file_list_spec=$lt_file_list_spec
29531
29532 # How to hardcode a shared library path into an executable.
29533 hardcode_action=$hardcode_action
29534
29535 # The directories searched by this compiler when creating a shared library.
29536 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
29537
29538 # Dependencies to place before and after the objects being linked to
29539 # create a shared library.
29540 predep_objects=$lt_predep_objects
29541 postdep_objects=$lt_postdep_objects
29542 predeps=$lt_predeps
29543 postdeps=$lt_postdeps
29544
29545 # The library search path used internally by the compiler when linking
29546 # a shared library.
29547 compiler_lib_search_path=$lt_compiler_lib_search_path
29548
29549 # ### END LIBTOOL CONFIG
29550
29551 _LT_EOF
29552
29553   case $host_os in
29554   aix3*)
29555     cat <<\_LT_EOF >> "$cfgfile"
29556 # AIX sometimes has problems with the GCC collect2 program.  For some
29557 # reason, if we set the COLLECT_NAMES environment variable, the problems
29558 # vanish in a puff of smoke.
29559 if test "X${COLLECT_NAMES+set}" != Xset; then
29560   COLLECT_NAMES=
29561   export COLLECT_NAMES
29562 fi
29563 _LT_EOF
29564     ;;
29565   esac
29566
29567
29568 ltmain="$ac_aux_dir/ltmain.sh"
29569
29570
29571   # We use sed instead of cat because bash on DJGPP gets confused if
29572   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
29573   # text mode, it properly converts lines to CR/LF.  This bash problem
29574   # is reportedly fixed, but why not run on old versions too?
29575   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
29576     || (rm -f "$cfgfile"; exit 1)
29577
29578   case $xsi_shell in
29579   yes)
29580     cat << \_LT_EOF >> "$cfgfile"
29581
29582 # func_dirname file append nondir_replacement
29583 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
29584 # otherwise set result to NONDIR_REPLACEMENT.
29585 func_dirname ()
29586 {
29587   case ${1} in
29588     */*) func_dirname_result="${1%/*}${2}" ;;
29589     *  ) func_dirname_result="${3}" ;;
29590   esac
29591 }
29592
29593 # func_basename file
29594 func_basename ()
29595 {
29596   func_basename_result="${1##*/}"
29597 }
29598
29599 # func_dirname_and_basename file append nondir_replacement
29600 # perform func_basename and func_dirname in a single function
29601 # call:
29602 #   dirname:  Compute the dirname of FILE.  If nonempty,
29603 #             add APPEND to the result, otherwise set result
29604 #             to NONDIR_REPLACEMENT.
29605 #             value returned in "$func_dirname_result"
29606 #   basename: Compute filename of FILE.
29607 #             value retuned in "$func_basename_result"
29608 # Implementation must be kept synchronized with func_dirname
29609 # and func_basename. For efficiency, we do not delegate to
29610 # those functions but instead duplicate the functionality here.
29611 func_dirname_and_basename ()
29612 {
29613   case ${1} in
29614     */*) func_dirname_result="${1%/*}${2}" ;;
29615     *  ) func_dirname_result="${3}" ;;
29616   esac
29617   func_basename_result="${1##*/}"
29618 }
29619
29620 # func_stripname prefix suffix name
29621 # strip PREFIX and SUFFIX off of NAME.
29622 # PREFIX and SUFFIX must not contain globbing or regex special
29623 # characters, hashes, percent signs, but SUFFIX may contain a leading
29624 # dot (in which case that matches only a dot).
29625 func_stripname ()
29626 {
29627   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
29628   # positional parameters, so assign one to ordinary parameter first.
29629   func_stripname_result=${3}
29630   func_stripname_result=${func_stripname_result#"${1}"}
29631   func_stripname_result=${func_stripname_result%"${2}"}
29632 }
29633
29634 # func_opt_split
29635 func_opt_split ()
29636 {
29637   func_opt_split_opt=${1%%=*}
29638   func_opt_split_arg=${1#*=}
29639 }
29640
29641 # func_lo2o object
29642 func_lo2o ()
29643 {
29644   case ${1} in
29645     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
29646     *)    func_lo2o_result=${1} ;;
29647   esac
29648 }
29649
29650 # func_xform libobj-or-source
29651 func_xform ()
29652 {
29653   func_xform_result=${1%.*}.lo
29654 }
29655
29656 # func_arith arithmetic-term...
29657 func_arith ()
29658 {
29659   func_arith_result=$(( $* ))
29660 }
29661
29662 # func_len string
29663 # STRING may not start with a hyphen.
29664 func_len ()
29665 {
29666   func_len_result=${#1}
29667 }
29668
29669 _LT_EOF
29670     ;;
29671   *) # Bourne compatible functions.
29672     cat << \_LT_EOF >> "$cfgfile"
29673
29674 # func_dirname file append nondir_replacement
29675 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
29676 # otherwise set result to NONDIR_REPLACEMENT.
29677 func_dirname ()
29678 {
29679   # Extract subdirectory from the argument.
29680   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
29681   if test "X$func_dirname_result" = "X${1}"; then
29682     func_dirname_result="${3}"
29683   else
29684     func_dirname_result="$func_dirname_result${2}"
29685   fi
29686 }
29687
29688 # func_basename file
29689 func_basename ()
29690 {
29691   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
29692 }
29693
29694
29695 # func_stripname prefix suffix name
29696 # strip PREFIX and SUFFIX off of NAME.
29697 # PREFIX and SUFFIX must not contain globbing or regex special
29698 # characters, hashes, percent signs, but SUFFIX may contain a leading
29699 # dot (in which case that matches only a dot).
29700 # func_strip_suffix prefix name
29701 func_stripname ()
29702 {
29703   case ${2} in
29704     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29705     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29706   esac
29707 }
29708
29709 # sed scripts:
29710 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
29711 my_sed_long_arg='1s/^-[^=]*=//'
29712
29713 # func_opt_split
29714 func_opt_split ()
29715 {
29716   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29717   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29718 }
29719
29720 # func_lo2o object
29721 func_lo2o ()
29722 {
29723   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
29724 }
29725
29726 # func_xform libobj-or-source
29727 func_xform ()
29728 {
29729   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29730 }
29731
29732 # func_arith arithmetic-term...
29733 func_arith ()
29734 {
29735   func_arith_result=`expr "$@"`
29736 }
29737
29738 # func_len string
29739 # STRING may not start with a hyphen.
29740 func_len ()
29741 {
29742   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29743 }
29744
29745 _LT_EOF
29746 esac
29747
29748 case $lt_shell_append in
29749   yes)
29750     cat << \_LT_EOF >> "$cfgfile"
29751
29752 # func_append var value
29753 # Append VALUE to the end of shell variable VAR.
29754 func_append ()
29755 {
29756   eval "$1+=\$2"
29757 }
29758 _LT_EOF
29759     ;;
29760   *)
29761     cat << \_LT_EOF >> "$cfgfile"
29762
29763 # func_append var value
29764 # Append VALUE to the end of shell variable VAR.
29765 func_append ()
29766 {
29767   eval "$1=\$$1\$2"
29768 }
29769
29770 _LT_EOF
29771     ;;
29772   esac
29773
29774
29775   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29776     || (rm -f "$cfgfile"; exit 1)
29777
29778   mv -f "$cfgfile" "$ofile" ||
29779     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29780   chmod +x "$ofile"
29781
29782
29783     cat <<_LT_EOF >> "$ofile"
29784
29785 # ### BEGIN LIBTOOL TAG CONFIG: FC
29786
29787 # The linker used to build libraries.
29788 LD=$lt_LD_FC
29789
29790 # How to create reloadable object files.
29791 reload_flag=$lt_reload_flag_FC
29792 reload_cmds=$lt_reload_cmds_FC
29793
29794 # Commands used to build an old-style archive.
29795 old_archive_cmds=$lt_old_archive_cmds_FC
29796
29797 # A language specific compiler.
29798 CC=$lt_compiler_FC
29799
29800 # Is the compiler the GNU compiler?
29801 with_gcc=$GCC_FC
29802
29803 # Compiler flag to turn off builtin functions.
29804 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29805
29806 # How to pass a linker flag through the compiler.
29807 wl=$lt_lt_prog_compiler_wl_FC
29808
29809 # Additional compiler flags for building library objects.
29810 pic_flag=$lt_lt_prog_compiler_pic_FC
29811
29812 # Compiler flag to prevent dynamic linking.
29813 link_static_flag=$lt_lt_prog_compiler_static_FC
29814
29815 # Does compiler simultaneously support -c and -o options?
29816 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29817
29818 # Whether or not to add -lc for building shared libraries.
29819 build_libtool_need_lc=$archive_cmds_need_lc_FC
29820
29821 # Whether or not to disallow shared libs when runtime libs are static.
29822 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29823
29824 # Compiler flag to allow reflexive dlopens.
29825 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29826
29827 # Compiler flag to generate shared objects directly from archives.
29828 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29829
29830 # Whether the compiler copes with passing no objects directly.
29831 compiler_needs_object=$lt_compiler_needs_object_FC
29832
29833 # Create an old-style archive from a shared archive.
29834 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29835
29836 # Create a temporary old-style archive to link instead of a shared archive.
29837 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29838
29839 # Commands used to build a shared archive.
29840 archive_cmds=$lt_archive_cmds_FC
29841 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29842
29843 # Commands used to build a loadable module if different from building
29844 # a shared archive.
29845 module_cmds=$lt_module_cmds_FC
29846 module_expsym_cmds=$lt_module_expsym_cmds_FC
29847
29848 # Whether we are building with GNU ld or not.
29849 with_gnu_ld=$lt_with_gnu_ld_FC
29850
29851 # Flag that allows shared libraries with undefined symbols to be built.
29852 allow_undefined_flag=$lt_allow_undefined_flag_FC
29853
29854 # Flag that enforces no undefined symbols.
29855 no_undefined_flag=$lt_no_undefined_flag_FC
29856
29857 # Flag to hardcode \$libdir into a binary during linking.
29858 # This must work even if \$libdir does not exist
29859 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29860
29861 # If ld is used when linking, flag to hardcode \$libdir into a binary
29862 # during linking.  This must work even if \$libdir does not exist.
29863 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29864
29865 # Whether we need a single "-rpath" flag with a separated argument.
29866 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29867
29868 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29869 # DIR into the resulting binary.
29870 hardcode_direct=$hardcode_direct_FC
29871
29872 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29873 # DIR into the resulting binary and the resulting library dependency is
29874 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29875 # library is relocated.
29876 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29877
29878 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29879 # into the resulting binary.
29880 hardcode_minus_L=$hardcode_minus_L_FC
29881
29882 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29883 # into the resulting binary.
29884 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29885
29886 # Set to "yes" if building a shared library automatically hardcodes DIR
29887 # into the library and all subsequent libraries and executables linked
29888 # against it.
29889 hardcode_automatic=$hardcode_automatic_FC
29890
29891 # Set to yes if linker adds runtime paths of dependent libraries
29892 # to runtime path list.
29893 inherit_rpath=$inherit_rpath_FC
29894
29895 # Whether libtool must link a program against all its dependency libraries.
29896 link_all_deplibs=$link_all_deplibs_FC
29897
29898 # Fix the shell variable \$srcfile for the compiler.
29899 fix_srcfile_path=$lt_fix_srcfile_path_FC
29900
29901 # Set to "yes" if exported symbols are required.
29902 always_export_symbols=$always_export_symbols_FC
29903
29904 # The commands to list exported symbols.
29905 export_symbols_cmds=$lt_export_symbols_cmds_FC
29906
29907 # Symbols that should not be listed in the preloaded symbols.
29908 exclude_expsyms=$lt_exclude_expsyms_FC
29909
29910 # Symbols that must always be exported.
29911 include_expsyms=$lt_include_expsyms_FC
29912
29913 # Commands necessary for linking programs (against libraries) with templates.
29914 prelink_cmds=$lt_prelink_cmds_FC
29915
29916 # Specify filename containing input files.
29917 file_list_spec=$lt_file_list_spec_FC
29918
29919 # How to hardcode a shared library path into an executable.
29920 hardcode_action=$hardcode_action_FC
29921
29922 # The directories searched by this compiler when creating a shared library.
29923 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29924
29925 # Dependencies to place before and after the objects being linked to
29926 # create a shared library.
29927 predep_objects=$lt_predep_objects_FC
29928 postdep_objects=$lt_postdep_objects_FC
29929 predeps=$lt_predeps_FC
29930 postdeps=$lt_postdeps_FC
29931
29932 # The library search path used internally by the compiler when linking
29933 # a shared library.
29934 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29935
29936 # ### END LIBTOOL TAG CONFIG: FC
29937 _LT_EOF
29938
29939  ;;
29940     "gstdint.h":C)
29941 if test "$GCC" = yes; then
29942   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29943 else
29944   echo "/* generated for $CC */" > tmp-stdint.h
29945 fi
29946
29947 sed 's/^ *//' >> tmp-stdint.h <<EOF
29948
29949   #ifndef GCC_GENERATED_STDINT_H
29950   #define GCC_GENERATED_STDINT_H 1
29951
29952   #include <sys/types.h>
29953 EOF
29954
29955 if test "$acx_cv_header_stdint" != stdint.h; then
29956   echo "#include <stddef.h>" >> tmp-stdint.h
29957 fi
29958 if test "$acx_cv_header_stdint" != stddef.h; then
29959   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29960 fi
29961
29962 sed 's/^ *//' >> tmp-stdint.h <<EOF
29963   /* glibc uses these symbols as guards to prevent redefinitions.  */
29964   #ifdef __int8_t_defined
29965   #define _INT8_T
29966   #define _INT16_T
29967   #define _INT32_T
29968   #endif
29969   #ifdef __uint32_t_defined
29970   #define _UINT32_T
29971   #endif
29972
29973 EOF
29974
29975 # ----------------- done header, emit basic int types -------------
29976 if test "$acx_cv_header_stdint" = stddef.h; then
29977   sed 's/^ *//' >> tmp-stdint.h <<EOF
29978
29979     #ifndef _UINT8_T
29980     #define _UINT8_T
29981     #ifndef __uint8_t_defined
29982     #define __uint8_t_defined
29983     #ifndef uint8_t
29984     typedef unsigned $acx_cv_type_int8_t uint8_t;
29985     #endif
29986     #endif
29987     #endif
29988
29989     #ifndef _UINT16_T
29990     #define _UINT16_T
29991     #ifndef __uint16_t_defined
29992     #define __uint16_t_defined
29993     #ifndef uint16_t
29994     typedef unsigned $acx_cv_type_int16_t uint16_t;
29995     #endif
29996     #endif
29997     #endif
29998
29999     #ifndef _UINT32_T
30000     #define _UINT32_T
30001     #ifndef __uint32_t_defined
30002     #define __uint32_t_defined
30003     #ifndef uint32_t
30004     typedef unsigned $acx_cv_type_int32_t uint32_t;
30005     #endif
30006     #endif
30007     #endif
30008
30009     #ifndef _INT8_T
30010     #define _INT8_T
30011     #ifndef __int8_t_defined
30012     #define __int8_t_defined
30013     #ifndef int8_t
30014     typedef $acx_cv_type_int8_t int8_t;
30015     #endif
30016     #endif
30017     #endif
30018
30019     #ifndef _INT16_T
30020     #define _INT16_T
30021     #ifndef __int16_t_defined
30022     #define __int16_t_defined
30023     #ifndef int16_t
30024     typedef $acx_cv_type_int16_t int16_t;
30025     #endif
30026     #endif
30027     #endif
30028
30029     #ifndef _INT32_T
30030     #define _INT32_T
30031     #ifndef __int32_t_defined
30032     #define __int32_t_defined
30033     #ifndef int32_t
30034     typedef $acx_cv_type_int32_t int32_t;
30035     #endif
30036     #endif
30037     #endif
30038 EOF
30039 elif test "$ac_cv_type_u_int32_t" = yes; then
30040   sed 's/^ *//' >> tmp-stdint.h <<EOF
30041
30042     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
30043     #ifndef _INT8_T
30044     #define _INT8_T
30045     #endif
30046     #ifndef _INT16_T
30047     #define _INT16_T
30048     #endif
30049     #ifndef _INT32_T
30050     #define _INT32_T
30051     #endif
30052
30053     #ifndef _UINT8_T
30054     #define _UINT8_T
30055     #ifndef __uint8_t_defined
30056     #define __uint8_t_defined
30057     #ifndef uint8_t
30058     typedef u_int8_t uint8_t;
30059     #endif
30060     #endif
30061     #endif
30062
30063     #ifndef _UINT16_T
30064     #define _UINT16_T
30065     #ifndef __uint16_t_defined
30066     #define __uint16_t_defined
30067     #ifndef uint16_t
30068     typedef u_int16_t uint16_t;
30069     #endif
30070     #endif
30071     #endif
30072
30073     #ifndef _UINT32_T
30074     #define _UINT32_T
30075     #ifndef __uint32_t_defined
30076     #define __uint32_t_defined
30077     #ifndef uint32_t
30078     typedef u_int32_t uint32_t;
30079     #endif
30080     #endif
30081     #endif
30082 EOF
30083 else
30084   sed 's/^ *//' >> tmp-stdint.h <<EOF
30085
30086     /* Some systems have guard macros to prevent redefinitions, define them.  */
30087     #ifndef _INT8_T
30088     #define _INT8_T
30089     #endif
30090     #ifndef _INT16_T
30091     #define _INT16_T
30092     #endif
30093     #ifndef _INT32_T
30094     #define _INT32_T
30095     #endif
30096     #ifndef _UINT8_T
30097     #define _UINT8_T
30098     #endif
30099     #ifndef _UINT16_T
30100     #define _UINT16_T
30101     #endif
30102     #ifndef _UINT32_T
30103     #define _UINT32_T
30104     #endif
30105 EOF
30106 fi
30107
30108 # ------------- done basic int types, emit int64_t types ------------
30109 if test "$ac_cv_type_uint64_t" = yes; then
30110   sed 's/^ *//' >> tmp-stdint.h <<EOF
30111
30112     /* system headers have good uint64_t and int64_t */
30113     #ifndef _INT64_T
30114     #define _INT64_T
30115     #endif
30116     #ifndef _UINT64_T
30117     #define _UINT64_T
30118     #endif
30119 EOF
30120 elif test "$ac_cv_type_u_int64_t" = yes; then
30121   sed 's/^ *//' >> tmp-stdint.h <<EOF
30122
30123     /* system headers have an u_int64_t (and int64_t) */
30124     #ifndef _INT64_T
30125     #define _INT64_T
30126     #endif
30127     #ifndef _UINT64_T
30128     #define _UINT64_T
30129     #ifndef __uint64_t_defined
30130     #define __uint64_t_defined
30131     #ifndef uint64_t
30132     typedef u_int64_t uint64_t;
30133     #endif
30134     #endif
30135     #endif
30136 EOF
30137 elif test -n "$acx_cv_type_int64_t"; then
30138   sed 's/^ *//' >> tmp-stdint.h <<EOF
30139
30140     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
30141     #ifndef _INT64_T
30142     #define _INT64_T
30143     #ifndef int64_t
30144     typedef $acx_cv_type_int64_t int64_t;
30145     #endif
30146     #endif
30147     #ifndef _UINT64_T
30148     #define _UINT64_T
30149     #ifndef __uint64_t_defined
30150     #define __uint64_t_defined
30151     #ifndef uint64_t
30152     typedef unsigned $acx_cv_type_int64_t uint64_t;
30153     #endif
30154     #endif
30155     #endif
30156 EOF
30157 else
30158   sed 's/^ *//' >> tmp-stdint.h <<EOF
30159
30160     /* some common heuristics for int64_t, using compiler-specific tests */
30161     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
30162     #ifndef _INT64_T
30163     #define _INT64_T
30164     #ifndef __int64_t_defined
30165     #ifndef int64_t
30166     typedef long long int64_t;
30167     #endif
30168     #endif
30169     #endif
30170     #ifndef _UINT64_T
30171     #define _UINT64_T
30172     #ifndef uint64_t
30173     typedef unsigned long long uint64_t;
30174     #endif
30175     #endif
30176
30177     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
30178     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
30179        does not implement __extension__.  But that compiler doesn't define
30180        __GNUC_MINOR__.  */
30181     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
30182     # define __extension__
30183     # endif
30184
30185     # ifndef _INT64_T
30186     # define _INT64_T
30187     # ifndef int64_t
30188     __extension__ typedef long long int64_t;
30189     # endif
30190     # endif
30191     # ifndef _UINT64_T
30192     # define _UINT64_T
30193     # ifndef uint64_t
30194     __extension__ typedef unsigned long long uint64_t;
30195     # endif
30196     # endif
30197
30198     #elif !defined __STRICT_ANSI__
30199     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
30200
30201     #  ifndef _INT64_T
30202     #  define _INT64_T
30203     #  ifndef int64_t
30204     typedef __int64 int64_t;
30205     #  endif
30206     #  endif
30207     #  ifndef _UINT64_T
30208     #  define _UINT64_T
30209     #  ifndef uint64_t
30210     typedef unsigned __int64 uint64_t;
30211     #  endif
30212     #  endif
30213     # endif /* compiler */
30214
30215     #endif /* ANSI version */
30216 EOF
30217 fi
30218
30219 # ------------- done int64_t types, emit intptr types ------------
30220 if test "$ac_cv_type_uintptr_t" != yes; then
30221   sed 's/^ *//' >> tmp-stdint.h <<EOF
30222
30223     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
30224     #ifndef __uintptr_t_defined
30225     #ifndef uintptr_t
30226     typedef u$acx_cv_type_intptr_t uintptr_t;
30227     #endif
30228     #endif
30229     #ifndef __intptr_t_defined
30230     #ifndef intptr_t
30231     typedef $acx_cv_type_intptr_t  intptr_t;
30232     #endif
30233     #endif
30234 EOF
30235 fi
30236
30237 # ------------- done intptr types, emit int_least types ------------
30238 if test "$ac_cv_type_int_least32_t" != yes; then
30239   sed 's/^ *//' >> tmp-stdint.h <<EOF
30240
30241     /* Define int_least types */
30242     typedef int8_t     int_least8_t;
30243     typedef int16_t    int_least16_t;
30244     typedef int32_t    int_least32_t;
30245     #ifdef _INT64_T
30246     typedef int64_t    int_least64_t;
30247     #endif
30248
30249     typedef uint8_t    uint_least8_t;
30250     typedef uint16_t   uint_least16_t;
30251     typedef uint32_t   uint_least32_t;
30252     #ifdef _UINT64_T
30253     typedef uint64_t   uint_least64_t;
30254     #endif
30255 EOF
30256 fi
30257
30258 # ------------- done intptr types, emit int_fast types ------------
30259 if test "$ac_cv_type_int_fast32_t" != yes; then
30260       sed 's/^ *//' >> tmp-stdint.h <<EOF
30261
30262     /* Define int_fast types.  short is often slow */
30263     typedef int8_t       int_fast8_t;
30264     typedef int          int_fast16_t;
30265     typedef int32_t      int_fast32_t;
30266     #ifdef _INT64_T
30267     typedef int64_t      int_fast64_t;
30268     #endif
30269
30270     typedef uint8_t      uint_fast8_t;
30271     typedef unsigned int uint_fast16_t;
30272     typedef uint32_t     uint_fast32_t;
30273     #ifdef _UINT64_T
30274     typedef uint64_t     uint_fast64_t;
30275     #endif
30276 EOF
30277 fi
30278
30279 if test "$ac_cv_type_uintmax_t" != yes; then
30280   sed 's/^ *//' >> tmp-stdint.h <<EOF
30281
30282     /* Define intmax based on what we found */
30283     #ifndef intmax_t
30284     #ifdef _INT64_T
30285     typedef int64_t       intmax_t;
30286     #else
30287     typedef long          intmax_t;
30288     #endif
30289     #endif
30290     #ifndef uintmax_t
30291     #ifdef _UINT64_T
30292     typedef uint64_t      uintmax_t;
30293     #else
30294     typedef unsigned long uintmax_t;
30295     #endif
30296     #endif
30297 EOF
30298 fi
30299
30300 sed 's/^ *//' >> tmp-stdint.h <<EOF
30301
30302   #endif /* GCC_GENERATED_STDINT_H */
30303 EOF
30304
30305 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
30306   rm -f tmp-stdint.h
30307 else
30308   mv -f tmp-stdint.h gstdint.h
30309 fi
30310
30311  ;;
30312
30313   esac
30314 done # for ac_tag
30315
30316
30317 as_fn_exit 0
30318 _ACEOF
30319 ac_clean_files=$ac_clean_files_save
30320
30321 test $ac_write_fail = 0 ||
30322   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
30323
30324
30325 # configure is writing to config.log, and then calls config.status.
30326 # config.status does its own redirection, appending to config.log.
30327 # Unfortunately, on DOS this fails, as config.log is still kept open
30328 # by configure, so config.status won't be able to write to it; its
30329 # output is simply discarded.  So we exec the FD to /dev/null,
30330 # effectively closing config.log, so it can be properly (re)opened and
30331 # appended to by config.status.  When coming back to configure, we
30332 # need to make the FD available again.
30333 if test "$no_create" != yes; then
30334   ac_cs_success=:
30335   ac_config_status_args=
30336   test "$silent" = yes &&
30337     ac_config_status_args="$ac_config_status_args --quiet"
30338   exec 5>/dev/null
30339   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
30340   exec 5>>config.log
30341   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
30342   # would make configure fail if this is the last instruction.
30343   $ac_cs_success || as_fn_exit 1
30344 fi
30345 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
30346   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
30347 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
30348 fi
30349