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
16DUALCASE=1; export DUALCASE # for MKS sh
17if 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
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_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.
43if 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 --'
47elif (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'
50else
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'
70fi
71
72# The user is always right.
73if 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  }
79fi
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.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
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
100IFS=$as_save_IFS
101
102     ;;
103esac
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.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
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.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export 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.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $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
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if 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
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -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
199test \$(( 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
210else
211  as_have_required=no
212fi
213  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215else
216  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217as_found=false
218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219do
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
233fi
234fi
235	   done;;
236       esac
237  as_found=false
238done
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
242fi; }
243IFS=$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.
252BASH_ENV=/dev/null
253ENV=/dev/null
254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255case $- in # ((((
256  *v*x* | *x*v* ) as_opts=-vx ;;
257  *v* ) as_opts=-v ;;
258  *x* ) as_opts=-x ;;
259  * ) as_opts= ;;
260esac
261exec $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
265exit 255
266fi
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
281fi
282fi
283fi
284SHELL=${CONFIG_SHELL-/bin/sh}
285export SHELL
286# Unset more variables known to interfere with behavior of common tools.
287CLICOLOR_FORCE= GREP_OPTIONS=
288unset CLICOLOR_FORCE GREP_OPTIONS
289
290## --------------------- ##
291## M4sh Shell Functions. ##
292## --------------------- ##
293# as_fn_unset VAR
294# ---------------
295# Portably unset VAR.
296as_fn_unset ()
297{
298  { eval $1=; unset $1;}
299}
300as_unset=as_fn_unset
301
302# as_fn_set_status STATUS
303# -----------------------
304# Set $? to STATUS, without forking.
305as_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.
313as_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.
323as_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.
371as_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.
381if (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  }'
386else
387  as_fn_append ()
388  {
389    eval $1=\$$1\$2
390  }
391fi # 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.
398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399  eval 'as_fn_arith ()
400  {
401    as_val=$(( $* ))
402  }'
403else
404  as_fn_arith ()
405  {
406    as_val=`expr "$@" || test $? -eq 1`
407  }
408fi # 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.
416as_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
427if expr a : '\(a\)' >/dev/null 2>&1 &&
428   test "X`expr 00001 : '.*\(...\)'`" = X001; then
429  as_expr=expr
430else
431  as_expr=false
432fi
433
434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435  as_basename=basename
436else
437  as_basename=false
438fi
439
440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441  as_dirname=dirname
442else
443  as_dirname=false
444fi
445
446as_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.
466as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469as_cr_digits='0123456789'
470as_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
508ECHO_C= ECHO_N= ECHO_T=
509case `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';;
519esac
520
521rm -f conf$$ conf$$.exe conf$$.file
522if test -d conf$$.dir; then
523  rm -f conf$$.dir/conf$$.file
524else
525  rm -f conf$$.dir
526  mkdir conf$$.dir 2>/dev/null
527fi
528if (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
542else
543  as_ln_s='cp -pR'
544fi
545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546rmdir conf$$.dir 2>/dev/null
547
548if mkdir -p . 2>/dev/null; then
549  as_mkdir_p='mkdir -p "$as_dir"'
550else
551  test -d ./-p && rmdir ./-p
552  as_mkdir_p=false
553fi
554
555as_test_x='test -x'
556as_executable_p=as_fn_executable_p
557
558# Sed expression to map a string onto a valid CPP name.
559as_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.
562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567test -n "$DJDIR" || exec 7<&0 </dev/null
568exec 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.
573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575#
576# Initializations.
577#
578ac_default_prefix=/usr/local
579ac_clean_files=
580ac_config_libobj_dir=.
581LIBOBJS=
582cross_compiling=no
583subdirs=
584MFLAGS=
585MAKEFLAGS=
586
587# Identity of this package.
588PACKAGE_NAME='GNU Fortran Runtime Library'
589PACKAGE_TARNAME='libgfortran'
590PACKAGE_VERSION='0.3'
591PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
592PACKAGE_BUGREPORT=''
593PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
594
595# Factoring default headers for most tests.
596ac_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
631ac_header_list=
632ac_func_list=
633ac_c_werror_flag=
634ac_c_werror_flag=
635ac_subst_vars='am__EXEEXT_FALSE
636am__EXEEXT_TRUE
637LTLIBOBJS
638LIBOBJS
639get_gcc_base_ver
640HAVE_AVX128_FALSE
641HAVE_AVX128_TRUE
642IEEE_FLAGS
643IEEE_SUPPORT
644IEEE_SUPPORT_FALSE
645IEEE_SUPPORT_TRUE
646FPU_HOST_HEADER
647LIBGFOR_BUILD_QUAD_FALSE
648LIBGFOR_BUILD_QUAD_TRUE
649LIBQUADINCLUDE
650LIBQUADLIB_DEP
651LIBQUADLIB
652LIBQUADSPEC
653extra_ldflags_libgfortran
654ac_ct_FC
655FCFLAGS
656FC
657enable_static
658enable_shared
659lt_host_flags
660OTOOL64
661OTOOL
662LIPO
663NMEDIT
664DSYMUTIL
665OBJDUMP
666LN_S
667NM
668ac_ct_DUMPBIN
669DUMPBIN
670LIBTOOL
671RANLIB
672AR
673AS
674HAVE_HWCAP_FALSE
675HAVE_HWCAP_TRUE
676HWCAP_LDFLAGS
677LD
678FGREP
679SED
680SECTION_FLAGS
681LIBGFOR_MINIMAL_FALSE
682LIBGFOR_MINIMAL_TRUE
683LIBGFOR_USE_SYMVER_SUN_FALSE
684LIBGFOR_USE_SYMVER_SUN_TRUE
685LIBGFOR_USE_SYMVER_GNU_FALSE
686LIBGFOR_USE_SYMVER_GNU_TRUE
687LIBGFOR_USE_SYMVER_FALSE
688LIBGFOR_USE_SYMVER_TRUE
689AM_CFLAGS
690AM_FCFLAGS
691toolexeclibdir
692toolexecdir
693EGREP
694GREP
695CPP
696am__fastdepCC_FALSE
697am__fastdepCC_TRUE
698CCDEPMODE
699am__nodep
700AMDEPBACKSLASH
701AMDEP_FALSE
702AMDEP_TRUE
703am__quote
704am__include
705DEPDIR
706OBJEXT
707EXEEXT
708ac_ct_CC
709CPPFLAGS
710LDFLAGS
711CFLAGS
712CC
713multi_basedir
714MAINT
715MAINTAINER_MODE_FALSE
716MAINTAINER_MODE_TRUE
717AM_BACKSLASH
718AM_DEFAULT_VERBOSITY
719AM_DEFAULT_V
720AM_V
721am__untar
722am__tar
723AMTAR
724am__leading_dot
725SET_MAKE
726AWK
727mkdir_p
728MKDIR_P
729INSTALL_STRIP_PROGRAM
730STRIP
731install_sh
732MAKEINFO
733AUTOHEADER
734AUTOMAKE
735AUTOCONF
736ACLOCAL
737VERSION
738PACKAGE
739CYGPATH_W
740am__isrc
741INSTALL_DATA
742INSTALL_SCRIPT
743INSTALL_PROGRAM
744target_noncanonical
745target_os
746target_vendor
747target_cpu
748target
749host_os
750host_vendor
751host_cpu
752host
753onestep
754onestep_FALSE
755onestep_TRUE
756target_subdir
757host_subdir
758build_subdir
759build_libsubdir
760build_os
761build_vendor
762build_cpu
763build
764target_alias
765host_alias
766build_alias
767LIBS
768ECHO_T
769ECHO_N
770ECHO_C
771DEFS
772mandir
773localedir
774libdir
775psdir
776pdfdir
777dvidir
778htmldir
779infodir
780docdir
781oldincludedir
782includedir
783localstatedir
784sharedstatedir
785sysconfdir
786datadir
787datarootdir
788libexecdir
789sbindir
790bindir
791program_transform_name
792prefix
793exec_prefix
794PACKAGE_URL
795PACKAGE_BUGREPORT
796PACKAGE_STRING
797PACKAGE_VERSION
798PACKAGE_TARNAME
799PACKAGE_NAME
800PATH_SEPARATOR
801SHELL'
802ac_subst_files=''
803ac_user_opts='
804enable_option_checking
805with_build_libsubdir
806enable_version_specific_runtime_libs
807enable_intermodule
808enable_silent_rules
809enable_maintainer_mode
810enable_multilib
811enable_dependency_tracking
812enable_cet
813enable_symvers
814with_gnu_ld
815enable_shared
816enable_static
817with_pic
818enable_fast_install
819enable_libtool_lock
820enable_largefile
821enable_libquadmath_support
822with_gcc_major_version_only
823'
824      ac_precious_vars='build_alias
825host_alias
826target_alias
827CC
828CFLAGS
829LDFLAGS
830LIBS
831CPPFLAGS
832CPP
833FC
834FCFLAGS'
835
836
837# Initialize some variables set by options.
838ac_init_help=
839ac_init_version=false
840ac_unrecognized_opts=
841ac_unrecognized_sep=
842# The variables have the same names as the options, with
843# dashes changed to underlines.
844cache_file=/dev/null
845exec_prefix=NONE
846no_create=
847no_recursion=
848prefix=NONE
849program_prefix=NONE
850program_suffix=NONE
851program_transform_name=s,x,x,
852silent=
853site=
854srcdir=
855verbose=
856x_includes=NONE
857x_libraries=NONE
858
859# Installation directory options.
860# These are left unexpanded so users can "make install exec_prefix=/foo"
861# and all the variables that are supposed to be based on exec_prefix
862# by default will actually change.
863# Use braces instead of parens because sh, perl, etc. also accept them.
864# (The list follows the same order as the GNU Coding Standards.)
865bindir='${exec_prefix}/bin'
866sbindir='${exec_prefix}/sbin'
867libexecdir='${exec_prefix}/libexec'
868datarootdir='${prefix}/share'
869datadir='${datarootdir}'
870sysconfdir='${prefix}/etc'
871sharedstatedir='${prefix}/com'
872localstatedir='${prefix}/var'
873includedir='${prefix}/include'
874oldincludedir='/usr/include'
875docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
876infodir='${datarootdir}/info'
877htmldir='${docdir}'
878dvidir='${docdir}'
879pdfdir='${docdir}'
880psdir='${docdir}'
881libdir='${exec_prefix}/lib'
882localedir='${datarootdir}/locale'
883mandir='${datarootdir}/man'
884
885ac_prev=
886ac_dashdash=
887for ac_option
888do
889  # If the previous option needs an argument, assign it.
890  if test -n "$ac_prev"; then
891    eval $ac_prev=\$ac_option
892    ac_prev=
893    continue
894  fi
895
896  case $ac_option in
897  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
898  *=)   ac_optarg= ;;
899  *)    ac_optarg=yes ;;
900  esac
901
902  # Accept the important Cygnus configure options, so we can diagnose typos.
903
904  case $ac_dashdash$ac_option in
905  --)
906    ac_dashdash=yes ;;
907
908  -bindir | --bindir | --bindi | --bind | --bin | --bi)
909    ac_prev=bindir ;;
910  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
911    bindir=$ac_optarg ;;
912
913  -build | --build | --buil | --bui | --bu)
914    ac_prev=build_alias ;;
915  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
916    build_alias=$ac_optarg ;;
917
918  -cache-file | --cache-file | --cache-fil | --cache-fi \
919  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
920    ac_prev=cache_file ;;
921  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
922  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
923    cache_file=$ac_optarg ;;
924
925  --config-cache | -C)
926    cache_file=config.cache ;;
927
928  -datadir | --datadir | --datadi | --datad)
929    ac_prev=datadir ;;
930  -datadir=* | --datadir=* | --datadi=* | --datad=*)
931    datadir=$ac_optarg ;;
932
933  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
934  | --dataroo | --dataro | --datar)
935    ac_prev=datarootdir ;;
936  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
937  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
938    datarootdir=$ac_optarg ;;
939
940  -disable-* | --disable-*)
941    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
942    # Reject names that are not valid shell variable names.
943    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
944      as_fn_error $? "invalid feature name: $ac_useropt"
945    ac_useropt_orig=$ac_useropt
946    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
947    case $ac_user_opts in
948      *"
949"enable_$ac_useropt"
950"*) ;;
951      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
952	 ac_unrecognized_sep=', ';;
953    esac
954    eval enable_$ac_useropt=no ;;
955
956  -docdir | --docdir | --docdi | --doc | --do)
957    ac_prev=docdir ;;
958  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
959    docdir=$ac_optarg ;;
960
961  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
962    ac_prev=dvidir ;;
963  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
964    dvidir=$ac_optarg ;;
965
966  -enable-* | --enable-*)
967    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
968    # Reject names that are not valid shell variable names.
969    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
970      as_fn_error $? "invalid feature name: $ac_useropt"
971    ac_useropt_orig=$ac_useropt
972    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973    case $ac_user_opts in
974      *"
975"enable_$ac_useropt"
976"*) ;;
977      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
978	 ac_unrecognized_sep=', ';;
979    esac
980    eval enable_$ac_useropt=\$ac_optarg ;;
981
982  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
983  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
984  | --exec | --exe | --ex)
985    ac_prev=exec_prefix ;;
986  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
987  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
988  | --exec=* | --exe=* | --ex=*)
989    exec_prefix=$ac_optarg ;;
990
991  -gas | --gas | --ga | --g)
992    # Obsolete; use --with-gas.
993    with_gas=yes ;;
994
995  -help | --help | --hel | --he | -h)
996    ac_init_help=long ;;
997  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
998    ac_init_help=recursive ;;
999  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1000    ac_init_help=short ;;
1001
1002  -host | --host | --hos | --ho)
1003    ac_prev=host_alias ;;
1004  -host=* | --host=* | --hos=* | --ho=*)
1005    host_alias=$ac_optarg ;;
1006
1007  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1008    ac_prev=htmldir ;;
1009  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1010  | --ht=*)
1011    htmldir=$ac_optarg ;;
1012
1013  -includedir | --includedir | --includedi | --included | --include \
1014  | --includ | --inclu | --incl | --inc)
1015    ac_prev=includedir ;;
1016  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1017  | --includ=* | --inclu=* | --incl=* | --inc=*)
1018    includedir=$ac_optarg ;;
1019
1020  -infodir | --infodir | --infodi | --infod | --info | --inf)
1021    ac_prev=infodir ;;
1022  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1023    infodir=$ac_optarg ;;
1024
1025  -libdir | --libdir | --libdi | --libd)
1026    ac_prev=libdir ;;
1027  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1028    libdir=$ac_optarg ;;
1029
1030  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1031  | --libexe | --libex | --libe)
1032    ac_prev=libexecdir ;;
1033  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1034  | --libexe=* | --libex=* | --libe=*)
1035    libexecdir=$ac_optarg ;;
1036
1037  -localedir | --localedir | --localedi | --localed | --locale)
1038    ac_prev=localedir ;;
1039  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1040    localedir=$ac_optarg ;;
1041
1042  -localstatedir | --localstatedir | --localstatedi | --localstated \
1043  | --localstate | --localstat | --localsta | --localst | --locals)
1044    ac_prev=localstatedir ;;
1045  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1046  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1047    localstatedir=$ac_optarg ;;
1048
1049  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1050    ac_prev=mandir ;;
1051  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1052    mandir=$ac_optarg ;;
1053
1054  -nfp | --nfp | --nf)
1055    # Obsolete; use --without-fp.
1056    with_fp=no ;;
1057
1058  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1059  | --no-cr | --no-c | -n)
1060    no_create=yes ;;
1061
1062  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1063  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1064    no_recursion=yes ;;
1065
1066  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1067  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1068  | --oldin | --oldi | --old | --ol | --o)
1069    ac_prev=oldincludedir ;;
1070  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1071  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1072  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1073    oldincludedir=$ac_optarg ;;
1074
1075  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1076    ac_prev=prefix ;;
1077  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1078    prefix=$ac_optarg ;;
1079
1080  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1081  | --program-pre | --program-pr | --program-p)
1082    ac_prev=program_prefix ;;
1083  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1084  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1085    program_prefix=$ac_optarg ;;
1086
1087  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1088  | --program-suf | --program-su | --program-s)
1089    ac_prev=program_suffix ;;
1090  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1091  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1092    program_suffix=$ac_optarg ;;
1093
1094  -program-transform-name | --program-transform-name \
1095  | --program-transform-nam | --program-transform-na \
1096  | --program-transform-n | --program-transform- \
1097  | --program-transform | --program-transfor \
1098  | --program-transfo | --program-transf \
1099  | --program-trans | --program-tran \
1100  | --progr-tra | --program-tr | --program-t)
1101    ac_prev=program_transform_name ;;
1102  -program-transform-name=* | --program-transform-name=* \
1103  | --program-transform-nam=* | --program-transform-na=* \
1104  | --program-transform-n=* | --program-transform-=* \
1105  | --program-transform=* | --program-transfor=* \
1106  | --program-transfo=* | --program-transf=* \
1107  | --program-trans=* | --program-tran=* \
1108  | --progr-tra=* | --program-tr=* | --program-t=*)
1109    program_transform_name=$ac_optarg ;;
1110
1111  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1112    ac_prev=pdfdir ;;
1113  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1114    pdfdir=$ac_optarg ;;
1115
1116  -psdir | --psdir | --psdi | --psd | --ps)
1117    ac_prev=psdir ;;
1118  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1119    psdir=$ac_optarg ;;
1120
1121  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1122  | -silent | --silent | --silen | --sile | --sil)
1123    silent=yes ;;
1124
1125  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1126    ac_prev=sbindir ;;
1127  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1128  | --sbi=* | --sb=*)
1129    sbindir=$ac_optarg ;;
1130
1131  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1132  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1133  | --sharedst | --shareds | --shared | --share | --shar \
1134  | --sha | --sh)
1135    ac_prev=sharedstatedir ;;
1136  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1137  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1138  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1139  | --sha=* | --sh=*)
1140    sharedstatedir=$ac_optarg ;;
1141
1142  -site | --site | --sit)
1143    ac_prev=site ;;
1144  -site=* | --site=* | --sit=*)
1145    site=$ac_optarg ;;
1146
1147  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1148    ac_prev=srcdir ;;
1149  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1150    srcdir=$ac_optarg ;;
1151
1152  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1153  | --syscon | --sysco | --sysc | --sys | --sy)
1154    ac_prev=sysconfdir ;;
1155  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1156  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1157    sysconfdir=$ac_optarg ;;
1158
1159  -target | --target | --targe | --targ | --tar | --ta | --t)
1160    ac_prev=target_alias ;;
1161  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1162    target_alias=$ac_optarg ;;
1163
1164  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1165    verbose=yes ;;
1166
1167  -version | --version | --versio | --versi | --vers | -V)
1168    ac_init_version=: ;;
1169
1170  -with-* | --with-*)
1171    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1172    # Reject names that are not valid shell variable names.
1173    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1174      as_fn_error $? "invalid package name: $ac_useropt"
1175    ac_useropt_orig=$ac_useropt
1176    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177    case $ac_user_opts in
1178      *"
1179"with_$ac_useropt"
1180"*) ;;
1181      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1182	 ac_unrecognized_sep=', ';;
1183    esac
1184    eval with_$ac_useropt=\$ac_optarg ;;
1185
1186  -without-* | --without-*)
1187    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1188    # Reject names that are not valid shell variable names.
1189    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1190      as_fn_error $? "invalid package name: $ac_useropt"
1191    ac_useropt_orig=$ac_useropt
1192    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193    case $ac_user_opts in
1194      *"
1195"with_$ac_useropt"
1196"*) ;;
1197      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1198	 ac_unrecognized_sep=', ';;
1199    esac
1200    eval with_$ac_useropt=no ;;
1201
1202  --x)
1203    # Obsolete; use --with-x.
1204    with_x=yes ;;
1205
1206  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1207  | --x-incl | --x-inc | --x-in | --x-i)
1208    ac_prev=x_includes ;;
1209  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1210  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1211    x_includes=$ac_optarg ;;
1212
1213  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1214  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1215    ac_prev=x_libraries ;;
1216  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1217  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1218    x_libraries=$ac_optarg ;;
1219
1220  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1221Try \`$0 --help' for more information"
1222    ;;
1223
1224  *=*)
1225    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1226    # Reject names that are not valid shell variable names.
1227    case $ac_envvar in #(
1228      '' | [0-9]* | *[!_$as_cr_alnum]* )
1229      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1230    esac
1231    eval $ac_envvar=\$ac_optarg
1232    export $ac_envvar ;;
1233
1234  *)
1235    # FIXME: should be removed in autoconf 3.0.
1236    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1237    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1238      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1239    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1240    ;;
1241
1242  esac
1243done
1244
1245if test -n "$ac_prev"; then
1246  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1247  as_fn_error $? "missing argument to $ac_option"
1248fi
1249
1250if test -n "$ac_unrecognized_opts"; then
1251  case $enable_option_checking in
1252    no) ;;
1253    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1254    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1255  esac
1256fi
1257
1258# Check all directory arguments for consistency.
1259for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1260		datadir sysconfdir sharedstatedir localstatedir includedir \
1261		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1262		libdir localedir mandir
1263do
1264  eval ac_val=\$$ac_var
1265  # Remove trailing slashes.
1266  case $ac_val in
1267    */ )
1268      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1269      eval $ac_var=\$ac_val;;
1270  esac
1271  # Be sure to have absolute directory names.
1272  case $ac_val in
1273    [\\/$]* | ?:[\\/]* )  continue;;
1274    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1275  esac
1276  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1277done
1278
1279# There might be people who depend on the old broken behavior: `$host'
1280# used to hold the argument of --host etc.
1281# FIXME: To remove some day.
1282build=$build_alias
1283host=$host_alias
1284target=$target_alias
1285
1286# FIXME: To remove some day.
1287if test "x$host_alias" != x; then
1288  if test "x$build_alias" = x; then
1289    cross_compiling=maybe
1290  elif test "x$build_alias" != "x$host_alias"; then
1291    cross_compiling=yes
1292  fi
1293fi
1294
1295ac_tool_prefix=
1296test -n "$host_alias" && ac_tool_prefix=$host_alias-
1297
1298test "$silent" = yes && exec 6>/dev/null
1299
1300
1301ac_pwd=`pwd` && test -n "$ac_pwd" &&
1302ac_ls_di=`ls -di .` &&
1303ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1304  as_fn_error $? "working directory cannot be determined"
1305test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1306  as_fn_error $? "pwd does not report name of working directory"
1307
1308
1309# Find the source files, if location was not specified.
1310if test -z "$srcdir"; then
1311  ac_srcdir_defaulted=yes
1312  # Try the directory containing this script, then the parent directory.
1313  ac_confdir=`$as_dirname -- "$as_myself" ||
1314$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1315	 X"$as_myself" : 'X\(//\)[^/]' \| \
1316	 X"$as_myself" : 'X\(//\)$' \| \
1317	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1318$as_echo X"$as_myself" |
1319    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1320	    s//\1/
1321	    q
1322	  }
1323	  /^X\(\/\/\)[^/].*/{
1324	    s//\1/
1325	    q
1326	  }
1327	  /^X\(\/\/\)$/{
1328	    s//\1/
1329	    q
1330	  }
1331	  /^X\(\/\).*/{
1332	    s//\1/
1333	    q
1334	  }
1335	  s/.*/./; q'`
1336  srcdir=$ac_confdir
1337  if test ! -r "$srcdir/$ac_unique_file"; then
1338    srcdir=..
1339  fi
1340else
1341  ac_srcdir_defaulted=no
1342fi
1343if test ! -r "$srcdir/$ac_unique_file"; then
1344  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1345  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1346fi
1347ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1348ac_abs_confdir=`(
1349	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1350	pwd)`
1351# When building in place, set srcdir=.
1352if test "$ac_abs_confdir" = "$ac_pwd"; then
1353  srcdir=.
1354fi
1355# Remove unnecessary trailing slashes from srcdir.
1356# Double slashes in file names in object file debugging info
1357# mess up M-x gdb in Emacs.
1358case $srcdir in
1359*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1360esac
1361for ac_var in $ac_precious_vars; do
1362  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1363  eval ac_env_${ac_var}_value=\$${ac_var}
1364  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1365  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1366done
1367
1368#
1369# Report the --help message.
1370#
1371if test "$ac_init_help" = "long"; then
1372  # Omit some internal or obsolete options to make the list less imposing.
1373  # This message is too long to be a string in the A/UX 3.1 sh.
1374  cat <<_ACEOF
1375\`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1376
1377Usage: $0 [OPTION]... [VAR=VALUE]...
1378
1379To assign environment variables (e.g., CC, CFLAGS...), specify them as
1380VAR=VALUE.  See below for descriptions of some of the useful variables.
1381
1382Defaults for the options are specified in brackets.
1383
1384Configuration:
1385  -h, --help              display this help and exit
1386      --help=short        display options specific to this package
1387      --help=recursive    display the short help of all the included packages
1388  -V, --version           display version information and exit
1389  -q, --quiet, --silent   do not print \`checking ...' messages
1390      --cache-file=FILE   cache test results in FILE [disabled]
1391  -C, --config-cache      alias for \`--cache-file=config.cache'
1392  -n, --no-create         do not create output files
1393      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1394
1395Installation directories:
1396  --prefix=PREFIX         install architecture-independent files in PREFIX
1397                          [$ac_default_prefix]
1398  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1399                          [PREFIX]
1400
1401By default, \`make install' will install all the files in
1402\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1403an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1404for instance \`--prefix=\$HOME'.
1405
1406For better control, use the options below.
1407
1408Fine tuning of the installation directories:
1409  --bindir=DIR            user executables [EPREFIX/bin]
1410  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1411  --libexecdir=DIR        program executables [EPREFIX/libexec]
1412  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1413  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1414  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1415  --libdir=DIR            object code libraries [EPREFIX/lib]
1416  --includedir=DIR        C header files [PREFIX/include]
1417  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1418  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1419  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1420  --infodir=DIR           info documentation [DATAROOTDIR/info]
1421  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1422  --mandir=DIR            man documentation [DATAROOTDIR/man]
1423  --docdir=DIR            documentation root [DATAROOTDIR/doc/libgfortran]
1424  --htmldir=DIR           html documentation [DOCDIR]
1425  --dvidir=DIR            dvi documentation [DOCDIR]
1426  --pdfdir=DIR            pdf documentation [DOCDIR]
1427  --psdir=DIR             ps documentation [DOCDIR]
1428_ACEOF
1429
1430  cat <<\_ACEOF
1431
1432Program names:
1433  --program-prefix=PREFIX            prepend PREFIX to installed program names
1434  --program-suffix=SUFFIX            append SUFFIX to installed program names
1435  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1436
1437System types:
1438  --build=BUILD     configure for building on BUILD [guessed]
1439  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1440  --target=TARGET   configure for building compilers for TARGET [HOST]
1441_ACEOF
1442fi
1443
1444if test -n "$ac_init_help"; then
1445  case $ac_init_help in
1446     short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1447   esac
1448  cat <<\_ACEOF
1449
1450Optional Features:
1451  --disable-option-checking  ignore unrecognized --enable/--with options
1452  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1453  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1454  --enable-version-specific-runtime-libs
1455                          specify that runtime libraries should be installed
1456                          in a compiler-specific directory
1457  --enable-intermodule    build the library in one step
1458  --enable-silent-rules   less verbose build output (undo: "make V=1")
1459  --disable-silent-rules  verbose build output (undo: "make V=0")
1460  --enable-maintainer-mode
1461                          enable make rules and dependencies not useful (and
1462                          sometimes confusing) to the casual installer
1463  --enable-multilib       build many library versions (default)
1464  --enable-dependency-tracking
1465                          do not reject slow dependency extractors
1466  --disable-dependency-tracking
1467                          speeds up one-time build
1468  --enable-cet            enable Intel CET in target libraries [default=no]
1469  --disable-symvers       disable symbol versioning for libgfortran
1470  --enable-shared[=PKGS]  build shared libraries [default=yes]
1471  --enable-static[=PKGS]  build static libraries [default=yes]
1472  --enable-fast-install[=PKGS]
1473                          optimize for fast installation [default=yes]
1474  --disable-libtool-lock  avoid locking (might break parallel builds)
1475  --disable-largefile     omit support for large files
1476  --disable-libquadmath-support
1477                          disable libquadmath support for Fortran
1478
1479Optional Packages:
1480  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1481  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1482  --with-build-libsubdir=DIR  Directory where to find libraries for build system
1483  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1484  --with-pic              try to use only PIC/non-PIC objects [default=use
1485                          both]
1486  --with-gcc-major-version-only
1487                          use only GCC major number in filesystem paths
1488
1489Some influential environment variables:
1490  CC          C compiler command
1491  CFLAGS      C compiler flags
1492  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1493              nonstandard directory <lib dir>
1494  LIBS        libraries to pass to the linker, e.g. -l<library>
1495  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1496              you have headers in a nonstandard directory <include dir>
1497  CPP         C preprocessor
1498  FC          Fortran compiler command
1499  FCFLAGS     Fortran compiler flags
1500
1501Use these variables to override the choices made by `configure' or to help
1502it to find libraries and programs with nonstandard names/locations.
1503
1504Report bugs to the package provider.
1505GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1506General help using GNU software: <http://www.gnu.org/gethelp/>.
1507_ACEOF
1508ac_status=$?
1509fi
1510
1511if test "$ac_init_help" = "recursive"; then
1512  # If there are subdirs, report their specific --help.
1513  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1514    test -d "$ac_dir" ||
1515      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1516      continue
1517    ac_builddir=.
1518
1519case "$ac_dir" in
1520.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1521*)
1522  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1523  # A ".." for each directory in $ac_dir_suffix.
1524  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1525  case $ac_top_builddir_sub in
1526  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1528  esac ;;
1529esac
1530ac_abs_top_builddir=$ac_pwd
1531ac_abs_builddir=$ac_pwd$ac_dir_suffix
1532# for backward compatibility:
1533ac_top_builddir=$ac_top_build_prefix
1534
1535case $srcdir in
1536  .)  # We are building in place.
1537    ac_srcdir=.
1538    ac_top_srcdir=$ac_top_builddir_sub
1539    ac_abs_top_srcdir=$ac_pwd ;;
1540  [\\/]* | ?:[\\/]* )  # Absolute name.
1541    ac_srcdir=$srcdir$ac_dir_suffix;
1542    ac_top_srcdir=$srcdir
1543    ac_abs_top_srcdir=$srcdir ;;
1544  *) # Relative name.
1545    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1546    ac_top_srcdir=$ac_top_build_prefix$srcdir
1547    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1548esac
1549ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1550
1551    cd "$ac_dir" || { ac_status=$?; continue; }
1552    # Check for guested configure.
1553    if test -f "$ac_srcdir/configure.gnu"; then
1554      echo &&
1555      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1556    elif test -f "$ac_srcdir/configure"; then
1557      echo &&
1558      $SHELL "$ac_srcdir/configure" --help=recursive
1559    else
1560      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1561    fi || ac_status=$?
1562    cd "$ac_pwd" || { ac_status=$?; break; }
1563  done
1564fi
1565
1566test -n "$ac_init_help" && exit $ac_status
1567if $ac_init_version; then
1568  cat <<\_ACEOF
1569GNU Fortran Runtime Library configure 0.3
1570generated by GNU Autoconf 2.69
1571
1572Copyright (C) 2012 Free Software Foundation, Inc.
1573This configure script is free software; the Free Software Foundation
1574gives unlimited permission to copy, distribute and modify it.
1575_ACEOF
1576  exit
1577fi
1578
1579## ------------------------ ##
1580## Autoconf initialization. ##
1581## ------------------------ ##
1582
1583# ac_fn_c_try_compile LINENO
1584# --------------------------
1585# Try to compile conftest.$ac_ext, and return whether this succeeded.
1586ac_fn_c_try_compile ()
1587{
1588  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589  rm -f conftest.$ac_objext
1590  if { { ac_try="$ac_compile"
1591case "(($ac_try" in
1592  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1593  *) ac_try_echo=$ac_try;;
1594esac
1595eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1596$as_echo "$ac_try_echo"; } >&5
1597  (eval "$ac_compile") 2>conftest.err
1598  ac_status=$?
1599  if test -s conftest.err; then
1600    grep -v '^ *+' conftest.err >conftest.er1
1601    cat conftest.er1 >&5
1602    mv -f conftest.er1 conftest.err
1603  fi
1604  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1605  test $ac_status = 0; } && {
1606	 test -z "$ac_c_werror_flag" ||
1607	 test ! -s conftest.err
1608       } && test -s conftest.$ac_objext; then :
1609  ac_retval=0
1610else
1611  $as_echo "$as_me: failed program was:" >&5
1612sed 's/^/| /' conftest.$ac_ext >&5
1613
1614	ac_retval=1
1615fi
1616  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617  as_fn_set_status $ac_retval
1618
1619} # ac_fn_c_try_compile
1620
1621# ac_fn_c_try_cpp LINENO
1622# ----------------------
1623# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1624ac_fn_c_try_cpp ()
1625{
1626  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627  if { { ac_try="$ac_cpp conftest.$ac_ext"
1628case "(($ac_try" in
1629  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630  *) ac_try_echo=$ac_try;;
1631esac
1632eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633$as_echo "$ac_try_echo"; } >&5
1634  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1635  ac_status=$?
1636  if test -s conftest.err; then
1637    grep -v '^ *+' conftest.err >conftest.er1
1638    cat conftest.er1 >&5
1639    mv -f conftest.er1 conftest.err
1640  fi
1641  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642  test $ac_status = 0; } > conftest.i && {
1643	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1644	 test ! -s conftest.err
1645       }; then :
1646  ac_retval=0
1647else
1648  $as_echo "$as_me: failed program was:" >&5
1649sed 's/^/| /' conftest.$ac_ext >&5
1650
1651    ac_retval=1
1652fi
1653  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654  as_fn_set_status $ac_retval
1655
1656} # ac_fn_c_try_cpp
1657
1658# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1659# -------------------------------------------------------
1660# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1661# the include files in INCLUDES and setting the cache variable VAR
1662# accordingly.
1663ac_fn_c_check_header_mongrel ()
1664{
1665  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666  if eval \${$3+:} false; then :
1667  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1668$as_echo_n "checking for $2... " >&6; }
1669if eval \${$3+:} false; then :
1670  $as_echo_n "(cached) " >&6
1671fi
1672eval ac_res=\$$3
1673	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1674$as_echo "$ac_res" >&6; }
1675else
1676  # Is the header compilable?
1677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1678$as_echo_n "checking $2 usability... " >&6; }
1679cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1680/* end confdefs.h.  */
1681$4
1682#include <$2>
1683_ACEOF
1684if ac_fn_c_try_compile "$LINENO"; then :
1685  ac_header_compiler=yes
1686else
1687  ac_header_compiler=no
1688fi
1689rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1691$as_echo "$ac_header_compiler" >&6; }
1692
1693# Is the header present?
1694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1695$as_echo_n "checking $2 presence... " >&6; }
1696cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1697/* end confdefs.h.  */
1698#include <$2>
1699_ACEOF
1700if ac_fn_c_try_cpp "$LINENO"; then :
1701  ac_header_preproc=yes
1702else
1703  ac_header_preproc=no
1704fi
1705rm -f conftest.err conftest.i conftest.$ac_ext
1706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1707$as_echo "$ac_header_preproc" >&6; }
1708
1709# So?  What about this header?
1710case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1711  yes:no: )
1712    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1713$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1714    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1715$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1716    ;;
1717  no:yes:* )
1718    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1719$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1720    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1721$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1722    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1723$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1724    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1725$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1726    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1727$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1728    ;;
1729esac
1730  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1731$as_echo_n "checking for $2... " >&6; }
1732if eval \${$3+:} false; then :
1733  $as_echo_n "(cached) " >&6
1734else
1735  eval "$3=\$ac_header_compiler"
1736fi
1737eval ac_res=\$$3
1738	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1739$as_echo "$ac_res" >&6; }
1740fi
1741  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742
1743} # ac_fn_c_check_header_mongrel
1744
1745# ac_fn_c_try_run LINENO
1746# ----------------------
1747# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1748# that executables *can* be run.
1749ac_fn_c_try_run ()
1750{
1751  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752  if { { ac_try="$ac_link"
1753case "(($ac_try" in
1754  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1755  *) ac_try_echo=$ac_try;;
1756esac
1757eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758$as_echo "$ac_try_echo"; } >&5
1759  (eval "$ac_link") 2>&5
1760  ac_status=$?
1761  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1762  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1763  { { case "(($ac_try" in
1764  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765  *) ac_try_echo=$ac_try;;
1766esac
1767eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768$as_echo "$ac_try_echo"; } >&5
1769  (eval "$ac_try") 2>&5
1770  ac_status=$?
1771  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772  test $ac_status = 0; }; }; then :
1773  ac_retval=0
1774else
1775  $as_echo "$as_me: program exited with status $ac_status" >&5
1776       $as_echo "$as_me: failed program was:" >&5
1777sed 's/^/| /' conftest.$ac_ext >&5
1778
1779       ac_retval=$ac_status
1780fi
1781  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1782  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1783  as_fn_set_status $ac_retval
1784
1785} # ac_fn_c_try_run
1786
1787# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1788# -------------------------------------------------------
1789# Tests whether HEADER exists and can be compiled using the include files in
1790# INCLUDES, setting the cache variable VAR accordingly.
1791ac_fn_c_check_header_compile ()
1792{
1793  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1795$as_echo_n "checking for $2... " >&6; }
1796if eval \${$3+:} false; then :
1797  $as_echo_n "(cached) " >&6
1798else
1799  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1800/* end confdefs.h.  */
1801$4
1802#include <$2>
1803_ACEOF
1804if ac_fn_c_try_compile "$LINENO"; then :
1805  eval "$3=yes"
1806else
1807  eval "$3=no"
1808fi
1809rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1810fi
1811eval ac_res=\$$3
1812	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1813$as_echo "$ac_res" >&6; }
1814  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815
1816} # ac_fn_c_check_header_compile
1817
1818# ac_fn_c_try_link LINENO
1819# -----------------------
1820# Try to link conftest.$ac_ext, and return whether this succeeded.
1821ac_fn_c_try_link ()
1822{
1823  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1824  rm -f conftest.$ac_objext conftest$ac_exeext
1825  if { { ac_try="$ac_link"
1826case "(($ac_try" in
1827  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1828  *) ac_try_echo=$ac_try;;
1829esac
1830eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1831$as_echo "$ac_try_echo"; } >&5
1832  (eval "$ac_link") 2>conftest.err
1833  ac_status=$?
1834  if test -s conftest.err; then
1835    grep -v '^ *+' conftest.err >conftest.er1
1836    cat conftest.er1 >&5
1837    mv -f conftest.er1 conftest.err
1838  fi
1839  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1840  test $ac_status = 0; } && {
1841	 test -z "$ac_c_werror_flag" ||
1842	 test ! -s conftest.err
1843       } && test -s conftest$ac_exeext && {
1844	 test "$cross_compiling" = yes ||
1845	 test -x conftest$ac_exeext
1846       }; then :
1847  ac_retval=0
1848else
1849  $as_echo "$as_me: failed program was:" >&5
1850sed 's/^/| /' conftest.$ac_ext >&5
1851
1852	ac_retval=1
1853fi
1854  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1855  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1856  # interfere with the next link command; also delete a directory that is
1857  # left behind by Apple's compiler.  We do this before executing the actions.
1858  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1859  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1860  as_fn_set_status $ac_retval
1861
1862} # ac_fn_c_try_link
1863
1864# ac_fn_c_check_func LINENO FUNC VAR
1865# ----------------------------------
1866# Tests whether FUNC exists, setting the cache variable VAR accordingly
1867ac_fn_c_check_func ()
1868{
1869  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1871$as_echo_n "checking for $2... " >&6; }
1872if eval \${$3+:} false; then :
1873  $as_echo_n "(cached) " >&6
1874else
1875  if test x$gcc_no_link = xyes; then
1876  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1877fi
1878cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1879/* end confdefs.h.  */
1880/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1881   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1882#define $2 innocuous_$2
1883
1884/* System header to define __stub macros and hopefully few prototypes,
1885    which can conflict with char $2 (); below.
1886    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1887    <limits.h> exists even on freestanding compilers.  */
1888
1889#ifdef __STDC__
1890# include <limits.h>
1891#else
1892# include <assert.h>
1893#endif
1894
1895#undef $2
1896
1897/* Override any GCC internal prototype to avoid an error.
1898   Use char because int might match the return type of a GCC
1899   builtin and then its argument prototype would still apply.  */
1900#ifdef __cplusplus
1901extern "C"
1902#endif
1903char $2 ();
1904/* The GNU C library defines this for functions which it implements
1905    to always fail with ENOSYS.  Some functions are actually named
1906    something starting with __ and the normal name is an alias.  */
1907#if defined __stub_$2 || defined __stub___$2
1908choke me
1909#endif
1910
1911int
1912main ()
1913{
1914return $2 ();
1915  ;
1916  return 0;
1917}
1918_ACEOF
1919if ac_fn_c_try_link "$LINENO"; then :
1920  eval "$3=yes"
1921else
1922  eval "$3=no"
1923fi
1924rm -f core conftest.err conftest.$ac_objext \
1925    conftest$ac_exeext conftest.$ac_ext
1926fi
1927eval ac_res=\$$3
1928	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1929$as_echo "$ac_res" >&6; }
1930  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931
1932} # ac_fn_c_check_func
1933
1934# ac_fn_fc_try_compile LINENO
1935# ---------------------------
1936# Try to compile conftest.$ac_ext, and return whether this succeeded.
1937ac_fn_fc_try_compile ()
1938{
1939  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1940  rm -f conftest.$ac_objext
1941  if { { ac_try="$ac_compile"
1942case "(($ac_try" in
1943  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1944  *) ac_try_echo=$ac_try;;
1945esac
1946eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1947$as_echo "$ac_try_echo"; } >&5
1948  (eval "$ac_compile") 2>conftest.err
1949  ac_status=$?
1950  if test -s conftest.err; then
1951    grep -v '^ *+' conftest.err >conftest.er1
1952    cat conftest.er1 >&5
1953    mv -f conftest.er1 conftest.err
1954  fi
1955  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1956  test $ac_status = 0; } && {
1957	 test -z "$ac_fc_werror_flag" ||
1958	 test ! -s conftest.err
1959       } && test -s conftest.$ac_objext; then :
1960  ac_retval=0
1961else
1962  $as_echo "$as_me: failed program was:" >&5
1963sed 's/^/| /' conftest.$ac_ext >&5
1964
1965	ac_retval=1
1966fi
1967  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968  as_fn_set_status $ac_retval
1969
1970} # ac_fn_fc_try_compile
1971
1972# ac_fn_fc_try_link LINENO
1973# ------------------------
1974# Try to link conftest.$ac_ext, and return whether this succeeded.
1975ac_fn_fc_try_link ()
1976{
1977  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1978  rm -f conftest.$ac_objext conftest$ac_exeext
1979  if { { ac_try="$ac_link"
1980case "(($ac_try" in
1981  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1982  *) ac_try_echo=$ac_try;;
1983esac
1984eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1985$as_echo "$ac_try_echo"; } >&5
1986  (eval "$ac_link") 2>conftest.err
1987  ac_status=$?
1988  if test -s conftest.err; then
1989    grep -v '^ *+' conftest.err >conftest.er1
1990    cat conftest.er1 >&5
1991    mv -f conftest.er1 conftest.err
1992  fi
1993  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1994  test $ac_status = 0; } && {
1995	 test -z "$ac_fc_werror_flag" ||
1996	 test ! -s conftest.err
1997       } && test -s conftest$ac_exeext && {
1998	 test "$cross_compiling" = yes ||
1999	 test -x conftest$ac_exeext
2000       }; then :
2001  ac_retval=0
2002else
2003  $as_echo "$as_me: failed program was:" >&5
2004sed 's/^/| /' conftest.$ac_ext >&5
2005
2006	ac_retval=1
2007fi
2008  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2009  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2010  # interfere with the next link command; also delete a directory that is
2011  # left behind by Apple's compiler.  We do this before executing the actions.
2012  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2013  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2014  as_fn_set_status $ac_retval
2015
2016} # ac_fn_fc_try_link
2017
2018# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2019# -------------------------------------------
2020# Tests whether TYPE exists after having included INCLUDES, setting cache
2021# variable VAR accordingly.
2022ac_fn_c_check_type ()
2023{
2024  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2025  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2026$as_echo_n "checking for $2... " >&6; }
2027if eval \${$3+:} false; then :
2028  $as_echo_n "(cached) " >&6
2029else
2030  eval "$3=no"
2031  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2032/* end confdefs.h.  */
2033$4
2034int
2035main ()
2036{
2037if (sizeof ($2))
2038	 return 0;
2039  ;
2040  return 0;
2041}
2042_ACEOF
2043if ac_fn_c_try_compile "$LINENO"; then :
2044  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2045/* end confdefs.h.  */
2046$4
2047int
2048main ()
2049{
2050if (sizeof (($2)))
2051	    return 0;
2052  ;
2053  return 0;
2054}
2055_ACEOF
2056if ac_fn_c_try_compile "$LINENO"; then :
2057
2058else
2059  eval "$3=yes"
2060fi
2061rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2062fi
2063rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2064fi
2065eval ac_res=\$$3
2066	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2067$as_echo "$ac_res" >&6; }
2068  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2069
2070} # ac_fn_c_check_type
2071
2072# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2073# --------------------------------------------
2074# Tries to find the compile-time value of EXPR in a program that includes
2075# INCLUDES, setting VAR accordingly. Returns whether the value could be
2076# computed
2077ac_fn_c_compute_int ()
2078{
2079  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2080  if test "$cross_compiling" = yes; then
2081    # Depending upon the size, compute the lo and hi bounds.
2082cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2083/* end confdefs.h.  */
2084$4
2085int
2086main ()
2087{
2088static int test_array [1 - 2 * !(($2) >= 0)];
2089test_array [0] = 0;
2090return test_array [0];
2091
2092  ;
2093  return 0;
2094}
2095_ACEOF
2096if ac_fn_c_try_compile "$LINENO"; then :
2097  ac_lo=0 ac_mid=0
2098  while :; do
2099    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2100/* end confdefs.h.  */
2101$4
2102int
2103main ()
2104{
2105static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2106test_array [0] = 0;
2107return test_array [0];
2108
2109  ;
2110  return 0;
2111}
2112_ACEOF
2113if ac_fn_c_try_compile "$LINENO"; then :
2114  ac_hi=$ac_mid; break
2115else
2116  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2117			if test $ac_lo -le $ac_mid; then
2118			  ac_lo= ac_hi=
2119			  break
2120			fi
2121			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2122fi
2123rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2124  done
2125else
2126  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2127/* end confdefs.h.  */
2128$4
2129int
2130main ()
2131{
2132static int test_array [1 - 2 * !(($2) < 0)];
2133test_array [0] = 0;
2134return test_array [0];
2135
2136  ;
2137  return 0;
2138}
2139_ACEOF
2140if ac_fn_c_try_compile "$LINENO"; then :
2141  ac_hi=-1 ac_mid=-1
2142  while :; do
2143    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2144/* end confdefs.h.  */
2145$4
2146int
2147main ()
2148{
2149static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2150test_array [0] = 0;
2151return test_array [0];
2152
2153  ;
2154  return 0;
2155}
2156_ACEOF
2157if ac_fn_c_try_compile "$LINENO"; then :
2158  ac_lo=$ac_mid; break
2159else
2160  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2161			if test $ac_mid -le $ac_hi; then
2162			  ac_lo= ac_hi=
2163			  break
2164			fi
2165			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2166fi
2167rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2168  done
2169else
2170  ac_lo= ac_hi=
2171fi
2172rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2173fi
2174rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2175# Binary search between lo and hi bounds.
2176while test "x$ac_lo" != "x$ac_hi"; do
2177  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2178  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2179/* end confdefs.h.  */
2180$4
2181int
2182main ()
2183{
2184static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2185test_array [0] = 0;
2186return test_array [0];
2187
2188  ;
2189  return 0;
2190}
2191_ACEOF
2192if ac_fn_c_try_compile "$LINENO"; then :
2193  ac_hi=$ac_mid
2194else
2195  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2196fi
2197rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2198done
2199case $ac_lo in #((
2200?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2201'') ac_retval=1 ;;
2202esac
2203  else
2204    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205/* end confdefs.h.  */
2206$4
2207static long int longval () { return $2; }
2208static unsigned long int ulongval () { return $2; }
2209#include <stdio.h>
2210#include <stdlib.h>
2211int
2212main ()
2213{
2214
2215  FILE *f = fopen ("conftest.val", "w");
2216  if (! f)
2217    return 1;
2218  if (($2) < 0)
2219    {
2220      long int i = longval ();
2221      if (i != ($2))
2222	return 1;
2223      fprintf (f, "%ld", i);
2224    }
2225  else
2226    {
2227      unsigned long int i = ulongval ();
2228      if (i != ($2))
2229	return 1;
2230      fprintf (f, "%lu", i);
2231    }
2232  /* Do not output a trailing newline, as this causes \r\n confusion
2233     on some platforms.  */
2234  return ferror (f) || fclose (f) != 0;
2235
2236  ;
2237  return 0;
2238}
2239_ACEOF
2240if ac_fn_c_try_run "$LINENO"; then :
2241  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2242else
2243  ac_retval=1
2244fi
2245rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2246  conftest.$ac_objext conftest.beam conftest.$ac_ext
2247rm -f conftest.val
2248
2249  fi
2250  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2251  as_fn_set_status $ac_retval
2252
2253} # ac_fn_c_compute_int
2254
2255# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2256# ----------------------------------------------------
2257# Tries to find if the field MEMBER exists in type AGGR, after including
2258# INCLUDES, setting cache variable VAR accordingly.
2259ac_fn_c_check_member ()
2260{
2261  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2262  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2263$as_echo_n "checking for $2.$3... " >&6; }
2264if eval \${$4+:} false; then :
2265  $as_echo_n "(cached) " >&6
2266else
2267  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268/* end confdefs.h.  */
2269$5
2270int
2271main ()
2272{
2273static $2 ac_aggr;
2274if (ac_aggr.$3)
2275return 0;
2276  ;
2277  return 0;
2278}
2279_ACEOF
2280if ac_fn_c_try_compile "$LINENO"; then :
2281  eval "$4=yes"
2282else
2283  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284/* end confdefs.h.  */
2285$5
2286int
2287main ()
2288{
2289static $2 ac_aggr;
2290if (sizeof ac_aggr.$3)
2291return 0;
2292  ;
2293  return 0;
2294}
2295_ACEOF
2296if ac_fn_c_try_compile "$LINENO"; then :
2297  eval "$4=yes"
2298else
2299  eval "$4=no"
2300fi
2301rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2302fi
2303rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2304fi
2305eval ac_res=\$$4
2306	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2307$as_echo "$ac_res" >&6; }
2308  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2309
2310} # ac_fn_c_check_member
2311cat >config.log <<_ACEOF
2312This file contains any messages produced by compilers while
2313running configure, to aid debugging if configure makes a mistake.
2314
2315It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2316generated by GNU Autoconf 2.69.  Invocation command line was
2317
2318  $ $0 $@
2319
2320_ACEOF
2321exec 5>>config.log
2322{
2323cat <<_ASUNAME
2324## --------- ##
2325## Platform. ##
2326## --------- ##
2327
2328hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2329uname -m = `(uname -m) 2>/dev/null || echo unknown`
2330uname -r = `(uname -r) 2>/dev/null || echo unknown`
2331uname -s = `(uname -s) 2>/dev/null || echo unknown`
2332uname -v = `(uname -v) 2>/dev/null || echo unknown`
2333
2334/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2335/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2336
2337/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2338/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2339/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2340/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2341/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2342/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2343/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2344
2345_ASUNAME
2346
2347as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2348for as_dir in $PATH
2349do
2350  IFS=$as_save_IFS
2351  test -z "$as_dir" && as_dir=.
2352    $as_echo "PATH: $as_dir"
2353  done
2354IFS=$as_save_IFS
2355
2356} >&5
2357
2358cat >&5 <<_ACEOF
2359
2360
2361## ----------- ##
2362## Core tests. ##
2363## ----------- ##
2364
2365_ACEOF
2366
2367
2368# Keep a trace of the command line.
2369# Strip out --no-create and --no-recursion so they do not pile up.
2370# Strip out --silent because we don't want to record it for future runs.
2371# Also quote any args containing shell meta-characters.
2372# Make two passes to allow for proper duplicate-argument suppression.
2373ac_configure_args=
2374ac_configure_args0=
2375ac_configure_args1=
2376ac_must_keep_next=false
2377for ac_pass in 1 2
2378do
2379  for ac_arg
2380  do
2381    case $ac_arg in
2382    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2383    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2384    | -silent | --silent | --silen | --sile | --sil)
2385      continue ;;
2386    *\'*)
2387      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2388    esac
2389    case $ac_pass in
2390    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2391    2)
2392      as_fn_append ac_configure_args1 " '$ac_arg'"
2393      if test $ac_must_keep_next = true; then
2394	ac_must_keep_next=false # Got value, back to normal.
2395      else
2396	case $ac_arg in
2397	  *=* | --config-cache | -C | -disable-* | --disable-* \
2398	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2399	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2400	  | -with-* | --with-* | -without-* | --without-* | --x)
2401	    case "$ac_configure_args0 " in
2402	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2403	    esac
2404	    ;;
2405	  -* ) ac_must_keep_next=true ;;
2406	esac
2407      fi
2408      as_fn_append ac_configure_args " '$ac_arg'"
2409      ;;
2410    esac
2411  done
2412done
2413{ ac_configure_args0=; unset ac_configure_args0;}
2414{ ac_configure_args1=; unset ac_configure_args1;}
2415
2416# When interrupted or exit'd, cleanup temporary files, and complete
2417# config.log.  We remove comments because anyway the quotes in there
2418# would cause problems or look ugly.
2419# WARNING: Use '\'' to represent an apostrophe within the trap.
2420# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2421trap 'exit_status=$?
2422  # Save into config.log some information that might help in debugging.
2423  {
2424    echo
2425
2426    $as_echo "## ---------------- ##
2427## Cache variables. ##
2428## ---------------- ##"
2429    echo
2430    # The following way of writing the cache mishandles newlines in values,
2431(
2432  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2433    eval ac_val=\$$ac_var
2434    case $ac_val in #(
2435    *${as_nl}*)
2436      case $ac_var in #(
2437      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2438$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2439      esac
2440      case $ac_var in #(
2441      _ | IFS | as_nl) ;; #(
2442      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2443      *) { eval $ac_var=; unset $ac_var;} ;;
2444      esac ;;
2445    esac
2446  done
2447  (set) 2>&1 |
2448    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2449    *${as_nl}ac_space=\ *)
2450      sed -n \
2451	"s/'\''/'\''\\\\'\'''\''/g;
2452	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2453      ;; #(
2454    *)
2455      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2456      ;;
2457    esac |
2458    sort
2459)
2460    echo
2461
2462    $as_echo "## ----------------- ##
2463## Output variables. ##
2464## ----------------- ##"
2465    echo
2466    for ac_var in $ac_subst_vars
2467    do
2468      eval ac_val=\$$ac_var
2469      case $ac_val in
2470      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2471      esac
2472      $as_echo "$ac_var='\''$ac_val'\''"
2473    done | sort
2474    echo
2475
2476    if test -n "$ac_subst_files"; then
2477      $as_echo "## ------------------- ##
2478## File substitutions. ##
2479## ------------------- ##"
2480      echo
2481      for ac_var in $ac_subst_files
2482      do
2483	eval ac_val=\$$ac_var
2484	case $ac_val in
2485	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2486	esac
2487	$as_echo "$ac_var='\''$ac_val'\''"
2488      done | sort
2489      echo
2490    fi
2491
2492    if test -s confdefs.h; then
2493      $as_echo "## ----------- ##
2494## confdefs.h. ##
2495## ----------- ##"
2496      echo
2497      cat confdefs.h
2498      echo
2499    fi
2500    test "$ac_signal" != 0 &&
2501      $as_echo "$as_me: caught signal $ac_signal"
2502    $as_echo "$as_me: exit $exit_status"
2503  } >&5
2504  rm -f core *.core core.conftest.* &&
2505    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2506    exit $exit_status
2507' 0
2508for ac_signal in 1 2 13 15; do
2509  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2510done
2511ac_signal=0
2512
2513# confdefs.h avoids OS command line length limits that DEFS can exceed.
2514rm -f -r conftest* confdefs.h
2515
2516$as_echo "/* confdefs.h */" > confdefs.h
2517
2518# Predefined preprocessor variables.
2519
2520cat >>confdefs.h <<_ACEOF
2521#define PACKAGE_NAME "$PACKAGE_NAME"
2522_ACEOF
2523
2524cat >>confdefs.h <<_ACEOF
2525#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2526_ACEOF
2527
2528cat >>confdefs.h <<_ACEOF
2529#define PACKAGE_VERSION "$PACKAGE_VERSION"
2530_ACEOF
2531
2532cat >>confdefs.h <<_ACEOF
2533#define PACKAGE_STRING "$PACKAGE_STRING"
2534_ACEOF
2535
2536cat >>confdefs.h <<_ACEOF
2537#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2538_ACEOF
2539
2540cat >>confdefs.h <<_ACEOF
2541#define PACKAGE_URL "$PACKAGE_URL"
2542_ACEOF
2543
2544
2545# Let the site file select an alternate cache file if it wants to.
2546# Prefer an explicitly selected file to automatically selected ones.
2547ac_site_file1=NONE
2548ac_site_file2=NONE
2549if test -n "$CONFIG_SITE"; then
2550  # We do not want a PATH search for config.site.
2551  case $CONFIG_SITE in #((
2552    -*)  ac_site_file1=./$CONFIG_SITE;;
2553    */*) ac_site_file1=$CONFIG_SITE;;
2554    *)   ac_site_file1=./$CONFIG_SITE;;
2555  esac
2556elif test "x$prefix" != xNONE; then
2557  ac_site_file1=$prefix/share/config.site
2558  ac_site_file2=$prefix/etc/config.site
2559else
2560  ac_site_file1=$ac_default_prefix/share/config.site
2561  ac_site_file2=$ac_default_prefix/etc/config.site
2562fi
2563for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2564do
2565  test "x$ac_site_file" = xNONE && continue
2566  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2567    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2568$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2569    sed 's/^/| /' "$ac_site_file" >&5
2570    . "$ac_site_file" \
2571      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2572$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2573as_fn_error $? "failed to load site script $ac_site_file
2574See \`config.log' for more details" "$LINENO" 5; }
2575  fi
2576done
2577
2578if test -r "$cache_file"; then
2579  # Some versions of bash will fail to source /dev/null (special files
2580  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2581  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2582    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2583$as_echo "$as_me: loading cache $cache_file" >&6;}
2584    case $cache_file in
2585      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2586      *)                      . "./$cache_file";;
2587    esac
2588  fi
2589else
2590  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2591$as_echo "$as_me: creating cache $cache_file" >&6;}
2592  >$cache_file
2593fi
2594
2595as_fn_append ac_header_list " unistd.h"
2596as_fn_append ac_header_list " sys/random.h"
2597as_fn_append ac_header_list " sys/time.h"
2598as_fn_append ac_header_list " sys/times.h"
2599as_fn_append ac_header_list " sys/resource.h"
2600as_fn_append ac_header_list " sys/types.h"
2601as_fn_append ac_header_list " sys/stat.h"
2602as_fn_append ac_header_list " sys/uio.h"
2603as_fn_append ac_header_list " sys/wait.h"
2604as_fn_append ac_header_list " floatingpoint.h"
2605as_fn_append ac_header_list " ieeefp.h"
2606as_fn_append ac_header_list " fenv.h"
2607as_fn_append ac_header_list " fptrap.h"
2608as_fn_append ac_header_list " fpxcp.h"
2609as_fn_append ac_header_list " pwd.h"
2610as_fn_append ac_header_list " complex.h"
2611as_fn_append ac_header_list " xlocale.h"
2612as_fn_append ac_func_list " getrusage"
2613as_fn_append ac_func_list " times"
2614as_fn_append ac_func_list " mkstemp"
2615as_fn_append ac_func_list " strtof"
2616as_fn_append ac_func_list " strtold"
2617as_fn_append ac_func_list " snprintf"
2618as_fn_append ac_func_list " ftruncate"
2619as_fn_append ac_func_list " chsize"
2620as_fn_append ac_func_list " chdir"
2621as_fn_append ac_func_list " getentropy"
2622as_fn_append ac_func_list " getlogin"
2623as_fn_append ac_func_list " gethostname"
2624as_fn_append ac_func_list " kill"
2625as_fn_append ac_func_list " link"
2626as_fn_append ac_func_list " symlink"
2627as_fn_append ac_func_list " sleep"
2628as_fn_append ac_func_list " ttyname"
2629as_fn_append ac_func_list " sigaction"
2630as_fn_append ac_func_list " waitpid"
2631as_fn_append ac_func_list " alarm"
2632as_fn_append ac_func_list " access"
2633as_fn_append ac_func_list " fork"
2634as_fn_append ac_func_list " posix_spawn"
2635as_fn_append ac_func_list " setmode"
2636as_fn_append ac_func_list " fcntl"
2637as_fn_append ac_func_list " writev"
2638as_fn_append ac_func_list " gettimeofday"
2639as_fn_append ac_func_list " stat"
2640as_fn_append ac_func_list " fstat"
2641as_fn_append ac_func_list " lstat"
2642as_fn_append ac_func_list " getpwuid"
2643as_fn_append ac_func_list " vsnprintf"
2644as_fn_append ac_func_list " dup"
2645as_fn_append ac_func_list " getcwd"
2646as_fn_append ac_func_list " localtime_r"
2647as_fn_append ac_func_list " gmtime_r"
2648as_fn_append ac_func_list " getpwuid_r"
2649as_fn_append ac_func_list " ttyname_r"
2650as_fn_append ac_func_list " clock_gettime"
2651as_fn_append ac_func_list " getgid"
2652as_fn_append ac_func_list " getpid"
2653as_fn_append ac_func_list " getuid"
2654as_fn_append ac_func_list " geteuid"
2655as_fn_append ac_func_list " umask"
2656as_fn_append ac_func_list " getegid"
2657as_fn_append ac_func_list " secure_getenv"
2658as_fn_append ac_func_list " __secure_getenv"
2659as_fn_append ac_func_list " mkostemp"
2660as_fn_append ac_func_list " strnlen"
2661as_fn_append ac_func_list " strndup"
2662as_fn_append ac_func_list " newlocale"
2663as_fn_append ac_func_list " freelocale"
2664as_fn_append ac_func_list " uselocale"
2665as_fn_append ac_func_list " strerror_l"
2666as_fn_append ac_header_list " math.h"
2667# Check that the precious variables saved in the cache have kept the same
2668# value.
2669ac_cache_corrupted=false
2670for ac_var in $ac_precious_vars; do
2671  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2672  eval ac_new_set=\$ac_env_${ac_var}_set
2673  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2674  eval ac_new_val=\$ac_env_${ac_var}_value
2675  case $ac_old_set,$ac_new_set in
2676    set,)
2677      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2678$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2679      ac_cache_corrupted=: ;;
2680    ,set)
2681      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2682$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2683      ac_cache_corrupted=: ;;
2684    ,);;
2685    *)
2686      if test "x$ac_old_val" != "x$ac_new_val"; then
2687	# differences in whitespace do not lead to failure.
2688	ac_old_val_w=`echo x $ac_old_val`
2689	ac_new_val_w=`echo x $ac_new_val`
2690	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2691	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2692$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2693	  ac_cache_corrupted=:
2694	else
2695	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2696$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2697	  eval $ac_var=\$ac_old_val
2698	fi
2699	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2700$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2701	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2702$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2703      fi;;
2704  esac
2705  # Pass precious variables to config.status.
2706  if test "$ac_new_set" = set; then
2707    case $ac_new_val in
2708    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2709    *) ac_arg=$ac_var=$ac_new_val ;;
2710    esac
2711    case " $ac_configure_args " in
2712      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2713      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2714    esac
2715  fi
2716done
2717if $ac_cache_corrupted; then
2718  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2719$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2720  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2721$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2722  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2723fi
2724## -------------------- ##
2725## Main body of script. ##
2726## -------------------- ##
2727
2728ac_ext=c
2729ac_cpp='$CPP $CPPFLAGS'
2730ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2731ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2732ac_compiler_gnu=$ac_cv_c_compiler_gnu
2733
2734
2735
2736
2737
2738ac_config_headers="$ac_config_headers config.h"
2739
2740ac_aux_dir=
2741for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2742  if test -f "$ac_dir/install-sh"; then
2743    ac_aux_dir=$ac_dir
2744    ac_install_sh="$ac_aux_dir/install-sh -c"
2745    break
2746  elif test -f "$ac_dir/install.sh"; then
2747    ac_aux_dir=$ac_dir
2748    ac_install_sh="$ac_aux_dir/install.sh -c"
2749    break
2750  elif test -f "$ac_dir/shtool"; then
2751    ac_aux_dir=$ac_dir
2752    ac_install_sh="$ac_aux_dir/shtool install -c"
2753    break
2754  fi
2755done
2756if test -z "$ac_aux_dir"; then
2757  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2758fi
2759
2760# These three variables are undocumented and unsupported,
2761# and are intended to be withdrawn in a future Autoconf release.
2762# They can cause serious problems if a builder's source tree is in a directory
2763# whose full name contains unusual characters.
2764ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2765ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2766ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2767
2768
2769# Make sure we can run config.sub.
2770$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2771  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2772
2773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2774$as_echo_n "checking build system type... " >&6; }
2775if ${ac_cv_build+:} false; then :
2776  $as_echo_n "(cached) " >&6
2777else
2778  ac_build_alias=$build_alias
2779test "x$ac_build_alias" = x &&
2780  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2781test "x$ac_build_alias" = x &&
2782  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2783ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2784  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2785
2786fi
2787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2788$as_echo "$ac_cv_build" >&6; }
2789case $ac_cv_build in
2790*-*-*) ;;
2791*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2792esac
2793build=$ac_cv_build
2794ac_save_IFS=$IFS; IFS='-'
2795set x $ac_cv_build
2796shift
2797build_cpu=$1
2798build_vendor=$2
2799shift; shift
2800# Remember, the first character of IFS is used to create $*,
2801# except with old shells:
2802build_os=$*
2803IFS=$ac_save_IFS
2804case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2805
2806
2807 case ${build_alias} in
2808  "") build_noncanonical=${build} ;;
2809  *) build_noncanonical=${build_alias} ;;
2810esac
2811
2812 case ${host_alias} in
2813  "") host_noncanonical=${build_noncanonical} ;;
2814  *) host_noncanonical=${host_alias} ;;
2815esac
2816
2817 case ${target_alias} in
2818  "") target_noncanonical=${host_noncanonical} ;;
2819  *) target_noncanonical=${target_alias} ;;
2820esac
2821
2822
2823# post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2824# have matching libraries, they should use host libraries: Makefile.tpl
2825# arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2826# However, they still use the build modules, because the corresponding
2827# host modules (e.g. bison) are only built for the host when bootstrap
2828# finishes. So:
2829# - build_subdir is where we find build modules, and never changes.
2830# - build_libsubdir is where we find build libraries, and can be overridden.
2831
2832# Prefix 'build-' so this never conflicts with target_subdir.
2833build_subdir="build-${build_noncanonical}"
2834
2835# Check whether --with-build-libsubdir was given.
2836if test "${with_build_libsubdir+set}" = set; then :
2837  withval=$with_build_libsubdir; build_libsubdir="$withval"
2838else
2839  build_libsubdir="$build_subdir"
2840fi
2841
2842# --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2843if ( test $srcdir = . && test -d gcc ) \
2844   || test -d $srcdir/../host-${host_noncanonical}; then
2845  host_subdir="host-${host_noncanonical}"
2846else
2847  host_subdir=.
2848fi
2849# No prefix.
2850target_subdir=${target_noncanonical}
2851
2852
2853# -------
2854# Options
2855# -------
2856
2857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2858$as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2859# Check whether --enable-version-specific-runtime-libs was given.
2860if test "${enable_version_specific_runtime_libs+set}" = set; then :
2861  enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2862 yes) version_specific_libs=yes ;;
2863 no)  version_specific_libs=no ;;
2864 *)   as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2865 esac
2866else
2867  version_specific_libs=no
2868fi
2869
2870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2871$as_echo "$version_specific_libs" >&6; }
2872
2873# Build with intermodule optimisations
2874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2875$as_echo_n "checking for --enable-intermodule... " >&6; }
2876# Check whether --enable-intermodule was given.
2877if test "${enable_intermodule+set}" = set; then :
2878  enableval=$enable_intermodule; case "$enable_intermodule" in
2879  yes) onestep="-onestep";;
2880    *) onestep="";;
2881esac
2882else
2883  onestep=""
2884fi
2885
2886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2887$as_echo "$enable_intermodule" >&6; }
2888 if test x$onestep = x-onestep; then
2889  onestep_TRUE=
2890  onestep_FALSE='#'
2891else
2892  onestep_TRUE='#'
2893  onestep_FALSE=
2894fi
2895
2896
2897
2898# Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2899#
2900# You will slowly go insane if you do not grok the following fact:  when
2901# building this library, the top-level /target/ becomes the library's /host/.
2902#
2903# configure then causes --target to default to --host, exactly like any
2904# other package using autoconf.  Therefore, 'target' and 'host' will
2905# always be the same.  This makes sense both for native and cross compilers
2906# just think about it for a little while.  :-)
2907#
2908# Also, if this library is being configured as part of a cross compiler, the
2909# top-level configure script will pass the "real" host as $with_cross_host.
2910#
2911# Do not delete or change the following two lines.  For why, see
2912# http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2914$as_echo_n "checking host system type... " >&6; }
2915if ${ac_cv_host+:} false; then :
2916  $as_echo_n "(cached) " >&6
2917else
2918  if test "x$host_alias" = x; then
2919  ac_cv_host=$ac_cv_build
2920else
2921  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2922    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2923fi
2924
2925fi
2926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2927$as_echo "$ac_cv_host" >&6; }
2928case $ac_cv_host in
2929*-*-*) ;;
2930*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2931esac
2932host=$ac_cv_host
2933ac_save_IFS=$IFS; IFS='-'
2934set x $ac_cv_host
2935shift
2936host_cpu=$1
2937host_vendor=$2
2938shift; shift
2939# Remember, the first character of IFS is used to create $*,
2940# except with old shells:
2941host_os=$*
2942IFS=$ac_save_IFS
2943case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2944
2945
2946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2947$as_echo_n "checking target system type... " >&6; }
2948if ${ac_cv_target+:} false; then :
2949  $as_echo_n "(cached) " >&6
2950else
2951  if test "x$target_alias" = x; then
2952  ac_cv_target=$ac_cv_host
2953else
2954  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2955    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2956fi
2957
2958fi
2959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2960$as_echo "$ac_cv_target" >&6; }
2961case $ac_cv_target in
2962*-*-*) ;;
2963*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2964esac
2965target=$ac_cv_target
2966ac_save_IFS=$IFS; IFS='-'
2967set x $ac_cv_target
2968shift
2969target_cpu=$1
2970target_vendor=$2
2971shift; shift
2972# Remember, the first character of IFS is used to create $*,
2973# except with old shells:
2974target_os=$*
2975IFS=$ac_save_IFS
2976case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2977
2978
2979# The aliases save the names the user supplied, while $host etc.
2980# will get canonicalized.
2981test -n "$target_alias" &&
2982  test "$program_prefix$program_suffix$program_transform_name" = \
2983    NONENONEs,x,x, &&
2984  program_prefix=${target_alias}-
2985
2986
2987
2988
2989target_alias=${target_alias-$host_alias}
2990
2991
2992# Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
2993# following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2994#  1.9.6:  minimum required version
2995#  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
2996#              of other PACKAGE_* variables will, however, and there's nothing
2997#              we can do about that; they come from AC_INIT).
2998#  foreign:  we don't follow the normal rules for GNU packages (no COPYING
2999#            file in the top srcdir, etc, etc), so stop complaining.
3000#  no-dist:  we don't want 'dist' and related rules.
3001#  -Wall:  turns on all automake warnings...
3002#  -Wno-portability:  ...except this one, since GNU make is required.
3003am__api_version='1.15'
3004
3005# Find a good install program.  We prefer a C program (faster),
3006# so one script is as good as another.  But avoid the broken or
3007# incompatible versions:
3008# SysV /etc/install, /usr/sbin/install
3009# SunOS /usr/etc/install
3010# IRIX /sbin/install
3011# AIX /bin/install
3012# AmigaOS /C/install, which installs bootblocks on floppy discs
3013# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3014# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3015# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3016# OS/2's system install, which has a completely different semantic
3017# ./install, which can be erroneously created by make from ./install.sh.
3018# Reject install programs that cannot install multiple files.
3019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3020$as_echo_n "checking for a BSD-compatible install... " >&6; }
3021if test -z "$INSTALL"; then
3022if ${ac_cv_path_install+:} false; then :
3023  $as_echo_n "(cached) " >&6
3024else
3025  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3026for as_dir in $PATH
3027do
3028  IFS=$as_save_IFS
3029  test -z "$as_dir" && as_dir=.
3030    # Account for people who put trailing slashes in PATH elements.
3031case $as_dir/ in #((
3032  ./ | .// | /[cC]/* | \
3033  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3034  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3035  /usr/ucb/* ) ;;
3036  *)
3037    # OSF1 and SCO ODT 3.0 have their own names for install.
3038    # Don't use installbsd from OSF since it installs stuff as root
3039    # by default.
3040    for ac_prog in ginstall scoinst install; do
3041      for ac_exec_ext in '' $ac_executable_extensions; do
3042	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3043	  if test $ac_prog = install &&
3044	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3045	    # AIX install.  It has an incompatible calling convention.
3046	    :
3047	  elif test $ac_prog = install &&
3048	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3049	    # program-specific install script used by HP pwplus--don't use.
3050	    :
3051	  else
3052	    rm -rf conftest.one conftest.two conftest.dir
3053	    echo one > conftest.one
3054	    echo two > conftest.two
3055	    mkdir conftest.dir
3056	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3057	      test -s conftest.one && test -s conftest.two &&
3058	      test -s conftest.dir/conftest.one &&
3059	      test -s conftest.dir/conftest.two
3060	    then
3061	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3062	      break 3
3063	    fi
3064	  fi
3065	fi
3066      done
3067    done
3068    ;;
3069esac
3070
3071  done
3072IFS=$as_save_IFS
3073
3074rm -rf conftest.one conftest.two conftest.dir
3075
3076fi
3077  if test "${ac_cv_path_install+set}" = set; then
3078    INSTALL=$ac_cv_path_install
3079  else
3080    # As a last resort, use the slow shell script.  Don't cache a
3081    # value for INSTALL within a source directory, because that will
3082    # break other packages using the cache if that directory is
3083    # removed, or if the value is a relative name.
3084    INSTALL=$ac_install_sh
3085  fi
3086fi
3087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3088$as_echo "$INSTALL" >&6; }
3089
3090# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3091# It thinks the first close brace ends the variable substitution.
3092test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3093
3094test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3095
3096test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3097
3098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3099$as_echo_n "checking whether build environment is sane... " >&6; }
3100# Reject unsafe characters in $srcdir or the absolute working directory
3101# name.  Accept space and tab only in the latter.
3102am_lf='
3103'
3104case `pwd` in
3105  *[\\\"\#\$\&\'\`$am_lf]*)
3106    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3107esac
3108case $srcdir in
3109  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3110    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3111esac
3112
3113# Do 'set' in a subshell so we don't clobber the current shell's
3114# arguments.  Must try -L first in case configure is actually a
3115# symlink; some systems play weird games with the mod time of symlinks
3116# (eg FreeBSD returns the mod time of the symlink's containing
3117# directory).
3118if (
3119   am_has_slept=no
3120   for am_try in 1 2; do
3121     echo "timestamp, slept: $am_has_slept" > conftest.file
3122     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3123     if test "$*" = "X"; then
3124	# -L didn't work.
3125	set X `ls -t "$srcdir/configure" conftest.file`
3126     fi
3127     if test "$*" != "X $srcdir/configure conftest.file" \
3128	&& test "$*" != "X conftest.file $srcdir/configure"; then
3129
3130	# If neither matched, then we have a broken ls.  This can happen
3131	# if, for instance, CONFIG_SHELL is bash and it inherits a
3132	# broken ls alias from the environment.  This has actually
3133	# happened.  Such a system could not be considered "sane".
3134	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3135  alias in your environment" "$LINENO" 5
3136     fi
3137     if test "$2" = conftest.file || test $am_try -eq 2; then
3138       break
3139     fi
3140     # Just in case.
3141     sleep 1
3142     am_has_slept=yes
3143   done
3144   test "$2" = conftest.file
3145   )
3146then
3147   # Ok.
3148   :
3149else
3150   as_fn_error $? "newly created file is older than distributed files!
3151Check your system clock" "$LINENO" 5
3152fi
3153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3154$as_echo "yes" >&6; }
3155# If we didn't sleep, we still need to ensure time stamps of config.status and
3156# generated files are strictly newer.
3157am_sleep_pid=
3158if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3159  ( sleep 1 ) &
3160  am_sleep_pid=$!
3161fi
3162
3163rm -f conftest.file
3164
3165test "$program_prefix" != NONE &&
3166  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3167# Use a double $ so make ignores it.
3168test "$program_suffix" != NONE &&
3169  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3170# Double any \ or $.
3171# By default was `s,x,x', remove it if useless.
3172ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3173program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3174
3175# Expand $ac_aux_dir to an absolute path.
3176am_aux_dir=`cd "$ac_aux_dir" && pwd`
3177
3178if test x"${MISSING+set}" != xset; then
3179  case $am_aux_dir in
3180  *\ * | *\	*)
3181    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3182  *)
3183    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3184  esac
3185fi
3186# Use eval to expand $SHELL
3187if eval "$MISSING --is-lightweight"; then
3188  am_missing_run="$MISSING "
3189else
3190  am_missing_run=
3191  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3192$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3193fi
3194
3195if test x"${install_sh+set}" != xset; then
3196  case $am_aux_dir in
3197  *\ * | *\	*)
3198    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3199  *)
3200    install_sh="\${SHELL} $am_aux_dir/install-sh"
3201  esac
3202fi
3203
3204# Installed binaries are usually stripped using 'strip' when the user
3205# run "make install-strip".  However 'strip' might not be the right
3206# tool to use in cross-compilation environments, therefore Automake
3207# will honor the 'STRIP' environment variable to overrule this program.
3208if test "$cross_compiling" != no; then
3209  if test -n "$ac_tool_prefix"; then
3210  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3211set dummy ${ac_tool_prefix}strip; ac_word=$2
3212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3213$as_echo_n "checking for $ac_word... " >&6; }
3214if ${ac_cv_prog_STRIP+:} false; then :
3215  $as_echo_n "(cached) " >&6
3216else
3217  if test -n "$STRIP"; then
3218  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3219else
3220as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3221for as_dir in $PATH
3222do
3223  IFS=$as_save_IFS
3224  test -z "$as_dir" && as_dir=.
3225    for ac_exec_ext in '' $ac_executable_extensions; do
3226  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3227    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3228    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3229    break 2
3230  fi
3231done
3232  done
3233IFS=$as_save_IFS
3234
3235fi
3236fi
3237STRIP=$ac_cv_prog_STRIP
3238if test -n "$STRIP"; then
3239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3240$as_echo "$STRIP" >&6; }
3241else
3242  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3243$as_echo "no" >&6; }
3244fi
3245
3246
3247fi
3248if test -z "$ac_cv_prog_STRIP"; then
3249  ac_ct_STRIP=$STRIP
3250  # Extract the first word of "strip", so it can be a program name with args.
3251set dummy strip; ac_word=$2
3252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3253$as_echo_n "checking for $ac_word... " >&6; }
3254if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3255  $as_echo_n "(cached) " >&6
3256else
3257  if test -n "$ac_ct_STRIP"; then
3258  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3259else
3260as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3261for as_dir in $PATH
3262do
3263  IFS=$as_save_IFS
3264  test -z "$as_dir" && as_dir=.
3265    for ac_exec_ext in '' $ac_executable_extensions; do
3266  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3267    ac_cv_prog_ac_ct_STRIP="strip"
3268    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3269    break 2
3270  fi
3271done
3272  done
3273IFS=$as_save_IFS
3274
3275fi
3276fi
3277ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3278if test -n "$ac_ct_STRIP"; then
3279  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3280$as_echo "$ac_ct_STRIP" >&6; }
3281else
3282  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3283$as_echo "no" >&6; }
3284fi
3285
3286  if test "x$ac_ct_STRIP" = x; then
3287    STRIP=":"
3288  else
3289    case $cross_compiling:$ac_tool_warned in
3290yes:)
3291{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3292$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3293ac_tool_warned=yes ;;
3294esac
3295    STRIP=$ac_ct_STRIP
3296  fi
3297else
3298  STRIP="$ac_cv_prog_STRIP"
3299fi
3300
3301fi
3302INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3303
3304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3305$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3306if test -z "$MKDIR_P"; then
3307  if ${ac_cv_path_mkdir+:} false; then :
3308  $as_echo_n "(cached) " >&6
3309else
3310  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3311for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3312do
3313  IFS=$as_save_IFS
3314  test -z "$as_dir" && as_dir=.
3315    for ac_prog in mkdir gmkdir; do
3316	 for ac_exec_ext in '' $ac_executable_extensions; do
3317	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3318	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3319	     'mkdir (GNU coreutils) '* | \
3320	     'mkdir (coreutils) '* | \
3321	     'mkdir (fileutils) '4.1*)
3322	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3323	       break 3;;
3324	   esac
3325	 done
3326       done
3327  done
3328IFS=$as_save_IFS
3329
3330fi
3331
3332  test -d ./--version && rmdir ./--version
3333  if test "${ac_cv_path_mkdir+set}" = set; then
3334    MKDIR_P="$ac_cv_path_mkdir -p"
3335  else
3336    # As a last resort, use the slow shell script.  Don't cache a
3337    # value for MKDIR_P within a source directory, because that will
3338    # break other packages using the cache if that directory is
3339    # removed, or if the value is a relative name.
3340    MKDIR_P="$ac_install_sh -d"
3341  fi
3342fi
3343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3344$as_echo "$MKDIR_P" >&6; }
3345
3346for ac_prog in gawk mawk nawk awk
3347do
3348  # Extract the first word of "$ac_prog", so it can be a program name with args.
3349set dummy $ac_prog; ac_word=$2
3350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3351$as_echo_n "checking for $ac_word... " >&6; }
3352if ${ac_cv_prog_AWK+:} false; then :
3353  $as_echo_n "(cached) " >&6
3354else
3355  if test -n "$AWK"; then
3356  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3357else
3358as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3359for as_dir in $PATH
3360do
3361  IFS=$as_save_IFS
3362  test -z "$as_dir" && as_dir=.
3363    for ac_exec_ext in '' $ac_executable_extensions; do
3364  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3365    ac_cv_prog_AWK="$ac_prog"
3366    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3367    break 2
3368  fi
3369done
3370  done
3371IFS=$as_save_IFS
3372
3373fi
3374fi
3375AWK=$ac_cv_prog_AWK
3376if test -n "$AWK"; then
3377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3378$as_echo "$AWK" >&6; }
3379else
3380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3381$as_echo "no" >&6; }
3382fi
3383
3384
3385  test -n "$AWK" && break
3386done
3387
3388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3389$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3390set x ${MAKE-make}
3391ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3392if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3393  $as_echo_n "(cached) " >&6
3394else
3395  cat >conftest.make <<\_ACEOF
3396SHELL = /bin/sh
3397all:
3398	@echo '@@@%%%=$(MAKE)=@@@%%%'
3399_ACEOF
3400# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3401case `${MAKE-make} -f conftest.make 2>/dev/null` in
3402  *@@@%%%=?*=@@@%%%*)
3403    eval ac_cv_prog_make_${ac_make}_set=yes;;
3404  *)
3405    eval ac_cv_prog_make_${ac_make}_set=no;;
3406esac
3407rm -f conftest.make
3408fi
3409if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3410  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3411$as_echo "yes" >&6; }
3412  SET_MAKE=
3413else
3414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3415$as_echo "no" >&6; }
3416  SET_MAKE="MAKE=${MAKE-make}"
3417fi
3418
3419rm -rf .tst 2>/dev/null
3420mkdir .tst 2>/dev/null
3421if test -d .tst; then
3422  am__leading_dot=.
3423else
3424  am__leading_dot=_
3425fi
3426rmdir .tst 2>/dev/null
3427
3428# Check whether --enable-silent-rules was given.
3429if test "${enable_silent_rules+set}" = set; then :
3430  enableval=$enable_silent_rules;
3431fi
3432
3433case $enable_silent_rules in # (((
3434  yes) AM_DEFAULT_VERBOSITY=0;;
3435   no) AM_DEFAULT_VERBOSITY=1;;
3436    *) AM_DEFAULT_VERBOSITY=1;;
3437esac
3438am_make=${MAKE-make}
3439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3440$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3441if ${am_cv_make_support_nested_variables+:} false; then :
3442  $as_echo_n "(cached) " >&6
3443else
3444  if $as_echo 'TRUE=$(BAR$(V))
3445BAR0=false
3446BAR1=true
3447V=1
3448am__doit:
3449	@$(TRUE)
3450.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3451  am_cv_make_support_nested_variables=yes
3452else
3453  am_cv_make_support_nested_variables=no
3454fi
3455fi
3456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3457$as_echo "$am_cv_make_support_nested_variables" >&6; }
3458if test $am_cv_make_support_nested_variables = yes; then
3459    AM_V='$(V)'
3460  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3461else
3462  AM_V=$AM_DEFAULT_VERBOSITY
3463  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3464fi
3465AM_BACKSLASH='\'
3466
3467if test "`cd $srcdir && pwd`" != "`pwd`"; then
3468  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3469  # is not polluted with repeated "-I."
3470  am__isrc=' -I$(srcdir)'
3471  # test to see if srcdir already configured
3472  if test -f $srcdir/config.status; then
3473    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3474  fi
3475fi
3476
3477# test whether we have cygpath
3478if test -z "$CYGPATH_W"; then
3479  if (cygpath --version) >/dev/null 2>/dev/null; then
3480    CYGPATH_W='cygpath -w'
3481  else
3482    CYGPATH_W=echo
3483  fi
3484fi
3485
3486
3487# Define the identity of the package.
3488 PACKAGE='libgfortran'
3489 VERSION='0.3'
3490
3491
3492# Some tools Automake needs.
3493
3494ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3495
3496
3497AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3498
3499
3500AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3501
3502
3503AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3504
3505
3506MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3507
3508# For better backward compatibility.  To be removed once Automake 1.9.x
3509# dies out for good.  For more background, see:
3510# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3511# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3512mkdir_p='$(MKDIR_P)'
3513
3514# We need awk for the "check" target (and possibly the TAP driver).  The
3515# system "awk" is bad on some platforms.
3516# Always define AMTAR for backward compatibility.  Yes, it's still used
3517# in the wild :-(  We should find a proper way to deprecate it ...
3518AMTAR='$${TAR-tar}'
3519
3520
3521# We'll loop over all known methods to create a tar archive until one works.
3522_am_tools='gnutar  pax cpio none'
3523
3524am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3525
3526
3527
3528
3529
3530
3531# POSIX will say in a future version that running "rm -f" with no argument
3532# is OK; and we want to be able to make that assumption in our Makefile
3533# recipes.  So use an aggressive probe to check that the usage we want is
3534# actually supported "in the wild" to an acceptable degree.
3535# See automake bug#10828.
3536# To make any issue more visible, cause the running configure to be aborted
3537# by default if the 'rm' program in use doesn't match our expectations; the
3538# user can still override this though.
3539if rm -f && rm -fr && rm -rf; then : OK; else
3540  cat >&2 <<'END'
3541Oops!
3542
3543Your 'rm' program seems unable to run without file operands specified
3544on the command line, even when the '-f' option is present.  This is contrary
3545to the behaviour of most rm programs out there, and not conforming with
3546the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3547
3548Please tell bug-automake@gnu.org about your system, including the value
3549of your $PATH and any error possibly output before this message.  This
3550can help us improve future automake versions.
3551
3552END
3553  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3554    echo 'Configuration will proceed anyway, since you have set the' >&2
3555    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3556    echo >&2
3557  else
3558    cat >&2 <<'END'
3559Aborting the configuration process, to ensure you take notice of the issue.
3560
3561You can download and install GNU coreutils to get an 'rm' implementation
3562that behaves properly: <http://www.gnu.org/software/coreutils/>.
3563
3564If you want to complete the configuration process using your problematic
3565'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3566to "yes", and re-run configure.
3567
3568END
3569    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3570  fi
3571fi
3572
3573
3574
3575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3576$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3577    # Check whether --enable-maintainer-mode was given.
3578if test "${enable_maintainer_mode+set}" = set; then :
3579  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3580else
3581  USE_MAINTAINER_MODE=no
3582fi
3583
3584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3585$as_echo "$USE_MAINTAINER_MODE" >&6; }
3586   if test $USE_MAINTAINER_MODE = yes; then
3587  MAINTAINER_MODE_TRUE=
3588  MAINTAINER_MODE_FALSE='#'
3589else
3590  MAINTAINER_MODE_TRUE='#'
3591  MAINTAINER_MODE_FALSE=
3592fi
3593
3594  MAINT=$MAINTAINER_MODE_TRUE
3595
3596
3597# Default to --enable-multilib
3598# Check whether --enable-multilib was given.
3599if test "${enable_multilib+set}" = set; then :
3600  enableval=$enable_multilib; case "$enableval" in
3601  yes) multilib=yes ;;
3602  no)  multilib=no ;;
3603  *)   as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3604 esac
3605else
3606  multilib=yes
3607fi
3608
3609
3610# We may get other options which we leave undocumented:
3611# --with-target-subdir, --with-multisrctop, --with-multisubdir
3612# See config-ml.in if you want the gory details.
3613
3614if test "$srcdir" = "."; then
3615  if test "$with_target_subdir" != "."; then
3616    multi_basedir="$srcdir/$with_multisrctop../.."
3617  else
3618    multi_basedir="$srcdir/$with_multisrctop.."
3619  fi
3620else
3621  multi_basedir="$srcdir/.."
3622fi
3623
3624
3625# Even if the default multilib is not a cross compilation,
3626# it may be that some of the other multilibs are.
3627if test $cross_compiling = no && test $multilib = yes \
3628   && test "x${with_multisubdir}" != x ; then
3629   cross_compiling=maybe
3630fi
3631
3632ac_config_commands="$ac_config_commands default-1"
3633
3634
3635# Handy for debugging:
3636#AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3637
3638# Are we being configured with some form of cross compiler?
3639# NB: We don't actually need to know this just now, but when, say, a test
3640#     suite is included, we'll have to know.
3641if test "$build" != "$host"; then
3642  LIBGFOR_IS_NATIVE=false
3643
3644else
3645  LIBGFOR_IS_NATIVE=true
3646fi
3647
3648DEPDIR="${am__leading_dot}deps"
3649
3650ac_config_commands="$ac_config_commands depfiles"
3651
3652
3653am_make=${MAKE-make}
3654cat > confinc << 'END'
3655am__doit:
3656	@echo this is the am__doit target
3657.PHONY: am__doit
3658END
3659# If we don't find an include directive, just comment out the code.
3660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3661$as_echo_n "checking for style of include used by $am_make... " >&6; }
3662am__include="#"
3663am__quote=
3664_am_result=none
3665# First try GNU make style include.
3666echo "include confinc" > confmf
3667# Ignore all kinds of additional output from 'make'.
3668case `$am_make -s -f confmf 2> /dev/null` in #(
3669*the\ am__doit\ target*)
3670  am__include=include
3671  am__quote=
3672  _am_result=GNU
3673  ;;
3674esac
3675# Now try BSD make style include.
3676if test "$am__include" = "#"; then
3677   echo '.include "confinc"' > confmf
3678   case `$am_make -s -f confmf 2> /dev/null` in #(
3679   *the\ am__doit\ target*)
3680     am__include=.include
3681     am__quote="\""
3682     _am_result=BSD
3683     ;;
3684   esac
3685fi
3686
3687
3688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3689$as_echo "$_am_result" >&6; }
3690rm -f confinc confmf
3691
3692# Check whether --enable-dependency-tracking was given.
3693if test "${enable_dependency_tracking+set}" = set; then :
3694  enableval=$enable_dependency_tracking;
3695fi
3696
3697if test "x$enable_dependency_tracking" != xno; then
3698  am_depcomp="$ac_aux_dir/depcomp"
3699  AMDEPBACKSLASH='\'
3700  am__nodep='_no'
3701fi
3702 if test "x$enable_dependency_tracking" != xno; then
3703  AMDEP_TRUE=
3704  AMDEP_FALSE='#'
3705else
3706  AMDEP_TRUE='#'
3707  AMDEP_FALSE=
3708fi
3709
3710
3711ac_ext=c
3712ac_cpp='$CPP $CPPFLAGS'
3713ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3714ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3715ac_compiler_gnu=$ac_cv_c_compiler_gnu
3716if test -n "$ac_tool_prefix"; then
3717  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3718set dummy ${ac_tool_prefix}gcc; ac_word=$2
3719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3720$as_echo_n "checking for $ac_word... " >&6; }
3721if ${ac_cv_prog_CC+:} false; then :
3722  $as_echo_n "(cached) " >&6
3723else
3724  if test -n "$CC"; then
3725  ac_cv_prog_CC="$CC" # Let the user override the test.
3726else
3727as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3728for as_dir in $PATH
3729do
3730  IFS=$as_save_IFS
3731  test -z "$as_dir" && as_dir=.
3732    for ac_exec_ext in '' $ac_executable_extensions; do
3733  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3734    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3735    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3736    break 2
3737  fi
3738done
3739  done
3740IFS=$as_save_IFS
3741
3742fi
3743fi
3744CC=$ac_cv_prog_CC
3745if test -n "$CC"; then
3746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3747$as_echo "$CC" >&6; }
3748else
3749  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3750$as_echo "no" >&6; }
3751fi
3752
3753
3754fi
3755if test -z "$ac_cv_prog_CC"; then
3756  ac_ct_CC=$CC
3757  # Extract the first word of "gcc", so it can be a program name with args.
3758set dummy gcc; ac_word=$2
3759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3760$as_echo_n "checking for $ac_word... " >&6; }
3761if ${ac_cv_prog_ac_ct_CC+:} false; then :
3762  $as_echo_n "(cached) " >&6
3763else
3764  if test -n "$ac_ct_CC"; then
3765  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3766else
3767as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3768for as_dir in $PATH
3769do
3770  IFS=$as_save_IFS
3771  test -z "$as_dir" && as_dir=.
3772    for ac_exec_ext in '' $ac_executable_extensions; do
3773  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3774    ac_cv_prog_ac_ct_CC="gcc"
3775    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3776    break 2
3777  fi
3778done
3779  done
3780IFS=$as_save_IFS
3781
3782fi
3783fi
3784ac_ct_CC=$ac_cv_prog_ac_ct_CC
3785if test -n "$ac_ct_CC"; then
3786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3787$as_echo "$ac_ct_CC" >&6; }
3788else
3789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790$as_echo "no" >&6; }
3791fi
3792
3793  if test "x$ac_ct_CC" = x; then
3794    CC=""
3795  else
3796    case $cross_compiling:$ac_tool_warned in
3797yes:)
3798{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3799$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3800ac_tool_warned=yes ;;
3801esac
3802    CC=$ac_ct_CC
3803  fi
3804else
3805  CC="$ac_cv_prog_CC"
3806fi
3807
3808if test -z "$CC"; then
3809          if test -n "$ac_tool_prefix"; then
3810    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3811set dummy ${ac_tool_prefix}cc; ac_word=$2
3812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3813$as_echo_n "checking for $ac_word... " >&6; }
3814if ${ac_cv_prog_CC+:} false; then :
3815  $as_echo_n "(cached) " >&6
3816else
3817  if test -n "$CC"; then
3818  ac_cv_prog_CC="$CC" # Let the user override the test.
3819else
3820as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3821for as_dir in $PATH
3822do
3823  IFS=$as_save_IFS
3824  test -z "$as_dir" && as_dir=.
3825    for ac_exec_ext in '' $ac_executable_extensions; do
3826  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3827    ac_cv_prog_CC="${ac_tool_prefix}cc"
3828    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3829    break 2
3830  fi
3831done
3832  done
3833IFS=$as_save_IFS
3834
3835fi
3836fi
3837CC=$ac_cv_prog_CC
3838if test -n "$CC"; then
3839  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3840$as_echo "$CC" >&6; }
3841else
3842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843$as_echo "no" >&6; }
3844fi
3845
3846
3847  fi
3848fi
3849if test -z "$CC"; then
3850  # Extract the first word of "cc", so it can be a program name with args.
3851set dummy cc; ac_word=$2
3852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3853$as_echo_n "checking for $ac_word... " >&6; }
3854if ${ac_cv_prog_CC+:} false; then :
3855  $as_echo_n "(cached) " >&6
3856else
3857  if test -n "$CC"; then
3858  ac_cv_prog_CC="$CC" # Let the user override the test.
3859else
3860  ac_prog_rejected=no
3861as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3862for as_dir in $PATH
3863do
3864  IFS=$as_save_IFS
3865  test -z "$as_dir" && as_dir=.
3866    for ac_exec_ext in '' $ac_executable_extensions; do
3867  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3868    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3869       ac_prog_rejected=yes
3870       continue
3871     fi
3872    ac_cv_prog_CC="cc"
3873    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3874    break 2
3875  fi
3876done
3877  done
3878IFS=$as_save_IFS
3879
3880if test $ac_prog_rejected = yes; then
3881  # We found a bogon in the path, so make sure we never use it.
3882  set dummy $ac_cv_prog_CC
3883  shift
3884  if test $# != 0; then
3885    # We chose a different compiler from the bogus one.
3886    # However, it has the same basename, so the bogon will be chosen
3887    # first if we set CC to just the basename; use the full file name.
3888    shift
3889    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3890  fi
3891fi
3892fi
3893fi
3894CC=$ac_cv_prog_CC
3895if test -n "$CC"; then
3896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3897$as_echo "$CC" >&6; }
3898else
3899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3900$as_echo "no" >&6; }
3901fi
3902
3903
3904fi
3905if test -z "$CC"; then
3906  if test -n "$ac_tool_prefix"; then
3907  for ac_prog in cl.exe
3908  do
3909    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3910set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3912$as_echo_n "checking for $ac_word... " >&6; }
3913if ${ac_cv_prog_CC+:} false; then :
3914  $as_echo_n "(cached) " >&6
3915else
3916  if test -n "$CC"; then
3917  ac_cv_prog_CC="$CC" # Let the user override the test.
3918else
3919as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3920for as_dir in $PATH
3921do
3922  IFS=$as_save_IFS
3923  test -z "$as_dir" && as_dir=.
3924    for ac_exec_ext in '' $ac_executable_extensions; do
3925  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3926    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3927    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3928    break 2
3929  fi
3930done
3931  done
3932IFS=$as_save_IFS
3933
3934fi
3935fi
3936CC=$ac_cv_prog_CC
3937if test -n "$CC"; then
3938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3939$as_echo "$CC" >&6; }
3940else
3941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3942$as_echo "no" >&6; }
3943fi
3944
3945
3946    test -n "$CC" && break
3947  done
3948fi
3949if test -z "$CC"; then
3950  ac_ct_CC=$CC
3951  for ac_prog in cl.exe
3952do
3953  # Extract the first word of "$ac_prog", so it can be a program name with args.
3954set dummy $ac_prog; ac_word=$2
3955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3956$as_echo_n "checking for $ac_word... " >&6; }
3957if ${ac_cv_prog_ac_ct_CC+:} false; then :
3958  $as_echo_n "(cached) " >&6
3959else
3960  if test -n "$ac_ct_CC"; then
3961  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3962else
3963as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3964for as_dir in $PATH
3965do
3966  IFS=$as_save_IFS
3967  test -z "$as_dir" && as_dir=.
3968    for ac_exec_ext in '' $ac_executable_extensions; do
3969  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3970    ac_cv_prog_ac_ct_CC="$ac_prog"
3971    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3972    break 2
3973  fi
3974done
3975  done
3976IFS=$as_save_IFS
3977
3978fi
3979fi
3980ac_ct_CC=$ac_cv_prog_ac_ct_CC
3981if test -n "$ac_ct_CC"; then
3982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3983$as_echo "$ac_ct_CC" >&6; }
3984else
3985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3986$as_echo "no" >&6; }
3987fi
3988
3989
3990  test -n "$ac_ct_CC" && break
3991done
3992
3993  if test "x$ac_ct_CC" = x; then
3994    CC=""
3995  else
3996    case $cross_compiling:$ac_tool_warned in
3997yes:)
3998{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3999$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4000ac_tool_warned=yes ;;
4001esac
4002    CC=$ac_ct_CC
4003  fi
4004fi
4005
4006fi
4007
4008
4009test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4010$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4011as_fn_error $? "no acceptable C compiler found in \$PATH
4012See \`config.log' for more details" "$LINENO" 5; }
4013
4014# Provide some information about the compiler.
4015$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4016set X $ac_compile
4017ac_compiler=$2
4018for ac_option in --version -v -V -qversion; do
4019  { { ac_try="$ac_compiler $ac_option >&5"
4020case "(($ac_try" in
4021  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4022  *) ac_try_echo=$ac_try;;
4023esac
4024eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4025$as_echo "$ac_try_echo"; } >&5
4026  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4027  ac_status=$?
4028  if test -s conftest.err; then
4029    sed '10a\
4030... rest of stderr output deleted ...
4031         10q' conftest.err >conftest.er1
4032    cat conftest.er1 >&5
4033  fi
4034  rm -f conftest.er1 conftest.err
4035  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036  test $ac_status = 0; }
4037done
4038
4039cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4040/* end confdefs.h.  */
4041
4042int
4043main ()
4044{
4045
4046  ;
4047  return 0;
4048}
4049_ACEOF
4050# FIXME: Cleanup?
4051if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4052  (eval $ac_link) 2>&5
4053  ac_status=$?
4054  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4055  test $ac_status = 0; }; then :
4056  gcc_no_link=no
4057else
4058  gcc_no_link=yes
4059fi
4060if test x$gcc_no_link = xyes; then
4061  # Setting cross_compile will disable run tests; it will
4062  # also disable AC_CHECK_FILE but that's generally
4063  # correct if we can't link.
4064  cross_compiling=yes
4065  EXEEXT=
4066else
4067  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4068/* end confdefs.h.  */
4069
4070int
4071main ()
4072{
4073
4074  ;
4075  return 0;
4076}
4077_ACEOF
4078ac_clean_files_save=$ac_clean_files
4079ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4080# Try to create an executable without -o first, disregard a.out.
4081# It will help us diagnose broken compilers, and finding out an intuition
4082# of exeext.
4083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4084$as_echo_n "checking whether the C compiler works... " >&6; }
4085ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4086
4087# The possible output files:
4088ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4089
4090ac_rmfiles=
4091for ac_file in $ac_files
4092do
4093  case $ac_file in
4094    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4095    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4096  esac
4097done
4098rm -f $ac_rmfiles
4099
4100if { { ac_try="$ac_link_default"
4101case "(($ac_try" in
4102  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4103  *) ac_try_echo=$ac_try;;
4104esac
4105eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4106$as_echo "$ac_try_echo"; } >&5
4107  (eval "$ac_link_default") 2>&5
4108  ac_status=$?
4109  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4110  test $ac_status = 0; }; then :
4111  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4112# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4113# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4114# so that the user can short-circuit this test for compilers unknown to
4115# Autoconf.
4116for ac_file in $ac_files ''
4117do
4118  test -f "$ac_file" || continue
4119  case $ac_file in
4120    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4121	;;
4122    [ab].out )
4123	# We found the default executable, but exeext='' is most
4124	# certainly right.
4125	break;;
4126    *.* )
4127	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4128	then :; else
4129	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4130	fi
4131	# We set ac_cv_exeext here because the later test for it is not
4132	# safe: cross compilers may not add the suffix if given an `-o'
4133	# argument, so we may need to know it at that point already.
4134	# Even if this section looks crufty: it has the advantage of
4135	# actually working.
4136	break;;
4137    * )
4138	break;;
4139  esac
4140done
4141test "$ac_cv_exeext" = no && ac_cv_exeext=
4142
4143else
4144  ac_file=''
4145fi
4146if test -z "$ac_file"; then :
4147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4148$as_echo "no" >&6; }
4149$as_echo "$as_me: failed program was:" >&5
4150sed 's/^/| /' conftest.$ac_ext >&5
4151
4152{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4153$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4154as_fn_error 77 "C compiler cannot create executables
4155See \`config.log' for more details" "$LINENO" 5; }
4156else
4157  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4158$as_echo "yes" >&6; }
4159fi
4160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4161$as_echo_n "checking for C compiler default output file name... " >&6; }
4162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4163$as_echo "$ac_file" >&6; }
4164ac_exeext=$ac_cv_exeext
4165
4166rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4167ac_clean_files=$ac_clean_files_save
4168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4169$as_echo_n "checking for suffix of executables... " >&6; }
4170if { { ac_try="$ac_link"
4171case "(($ac_try" in
4172  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4173  *) ac_try_echo=$ac_try;;
4174esac
4175eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4176$as_echo "$ac_try_echo"; } >&5
4177  (eval "$ac_link") 2>&5
4178  ac_status=$?
4179  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4180  test $ac_status = 0; }; then :
4181  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4182# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4183# work properly (i.e., refer to `conftest.exe'), while it won't with
4184# `rm'.
4185for ac_file in conftest.exe conftest conftest.*; do
4186  test -f "$ac_file" || continue
4187  case $ac_file in
4188    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4189    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4190	  break;;
4191    * ) break;;
4192  esac
4193done
4194else
4195  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4196$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4197as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4198See \`config.log' for more details" "$LINENO" 5; }
4199fi
4200rm -f conftest conftest$ac_cv_exeext
4201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4202$as_echo "$ac_cv_exeext" >&6; }
4203
4204rm -f conftest.$ac_ext
4205EXEEXT=$ac_cv_exeext
4206ac_exeext=$EXEEXT
4207cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208/* end confdefs.h.  */
4209#include <stdio.h>
4210int
4211main ()
4212{
4213FILE *f = fopen ("conftest.out", "w");
4214 return ferror (f) || fclose (f) != 0;
4215
4216  ;
4217  return 0;
4218}
4219_ACEOF
4220ac_clean_files="$ac_clean_files conftest.out"
4221# Check that the compiler produces executables we can run.  If not, either
4222# the compiler is broken, or we cross compile.
4223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4224$as_echo_n "checking whether we are cross compiling... " >&6; }
4225if test "$cross_compiling" != yes; then
4226  { { ac_try="$ac_link"
4227case "(($ac_try" in
4228  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4229  *) ac_try_echo=$ac_try;;
4230esac
4231eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4232$as_echo "$ac_try_echo"; } >&5
4233  (eval "$ac_link") 2>&5
4234  ac_status=$?
4235  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4236  test $ac_status = 0; }
4237  if { ac_try='./conftest$ac_cv_exeext'
4238  { { case "(($ac_try" in
4239  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4240  *) ac_try_echo=$ac_try;;
4241esac
4242eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4243$as_echo "$ac_try_echo"; } >&5
4244  (eval "$ac_try") 2>&5
4245  ac_status=$?
4246  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4247  test $ac_status = 0; }; }; then
4248    cross_compiling=no
4249  else
4250    if test "$cross_compiling" = maybe; then
4251	cross_compiling=yes
4252    else
4253	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4254$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4255as_fn_error $? "cannot run C compiled programs.
4256If you meant to cross compile, use \`--host'.
4257See \`config.log' for more details" "$LINENO" 5; }
4258    fi
4259  fi
4260fi
4261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4262$as_echo "$cross_compiling" >&6; }
4263
4264rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4265ac_clean_files=$ac_clean_files_save
4266fi
4267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4268$as_echo_n "checking for suffix of object files... " >&6; }
4269if ${ac_cv_objext+:} false; then :
4270  $as_echo_n "(cached) " >&6
4271else
4272  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273/* end confdefs.h.  */
4274
4275int
4276main ()
4277{
4278
4279  ;
4280  return 0;
4281}
4282_ACEOF
4283rm -f conftest.o conftest.obj
4284if { { ac_try="$ac_compile"
4285case "(($ac_try" in
4286  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4287  *) ac_try_echo=$ac_try;;
4288esac
4289eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4290$as_echo "$ac_try_echo"; } >&5
4291  (eval "$ac_compile") 2>&5
4292  ac_status=$?
4293  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4294  test $ac_status = 0; }; then :
4295  for ac_file in conftest.o conftest.obj conftest.*; do
4296  test -f "$ac_file" || continue;
4297  case $ac_file in
4298    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4299    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4300       break;;
4301  esac
4302done
4303else
4304  $as_echo "$as_me: failed program was:" >&5
4305sed 's/^/| /' conftest.$ac_ext >&5
4306
4307{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4308$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4309as_fn_error $? "cannot compute suffix of object files: cannot compile
4310See \`config.log' for more details" "$LINENO" 5; }
4311fi
4312rm -f conftest.$ac_cv_objext conftest.$ac_ext
4313fi
4314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4315$as_echo "$ac_cv_objext" >&6; }
4316OBJEXT=$ac_cv_objext
4317ac_objext=$OBJEXT
4318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4319$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4320if ${ac_cv_c_compiler_gnu+:} false; then :
4321  $as_echo_n "(cached) " >&6
4322else
4323  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4324/* end confdefs.h.  */
4325
4326int
4327main ()
4328{
4329#ifndef __GNUC__
4330       choke me
4331#endif
4332
4333  ;
4334  return 0;
4335}
4336_ACEOF
4337if ac_fn_c_try_compile "$LINENO"; then :
4338  ac_compiler_gnu=yes
4339else
4340  ac_compiler_gnu=no
4341fi
4342rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4343ac_cv_c_compiler_gnu=$ac_compiler_gnu
4344
4345fi
4346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4347$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4348if test $ac_compiler_gnu = yes; then
4349  GCC=yes
4350else
4351  GCC=
4352fi
4353ac_test_CFLAGS=${CFLAGS+set}
4354ac_save_CFLAGS=$CFLAGS
4355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4356$as_echo_n "checking whether $CC accepts -g... " >&6; }
4357if ${ac_cv_prog_cc_g+:} false; then :
4358  $as_echo_n "(cached) " >&6
4359else
4360  ac_save_c_werror_flag=$ac_c_werror_flag
4361   ac_c_werror_flag=yes
4362   ac_cv_prog_cc_g=no
4363   CFLAGS="-g"
4364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4365/* end confdefs.h.  */
4366
4367int
4368main ()
4369{
4370
4371  ;
4372  return 0;
4373}
4374_ACEOF
4375if ac_fn_c_try_compile "$LINENO"; then :
4376  ac_cv_prog_cc_g=yes
4377else
4378  CFLAGS=""
4379      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4380/* end confdefs.h.  */
4381
4382int
4383main ()
4384{
4385
4386  ;
4387  return 0;
4388}
4389_ACEOF
4390if ac_fn_c_try_compile "$LINENO"; then :
4391
4392else
4393  ac_c_werror_flag=$ac_save_c_werror_flag
4394	 CFLAGS="-g"
4395	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4396/* end confdefs.h.  */
4397
4398int
4399main ()
4400{
4401
4402  ;
4403  return 0;
4404}
4405_ACEOF
4406if ac_fn_c_try_compile "$LINENO"; then :
4407  ac_cv_prog_cc_g=yes
4408fi
4409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4410fi
4411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4412fi
4413rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4414   ac_c_werror_flag=$ac_save_c_werror_flag
4415fi
4416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4417$as_echo "$ac_cv_prog_cc_g" >&6; }
4418if test "$ac_test_CFLAGS" = set; then
4419  CFLAGS=$ac_save_CFLAGS
4420elif test $ac_cv_prog_cc_g = yes; then
4421  if test "$GCC" = yes; then
4422    CFLAGS="-g -O2"
4423  else
4424    CFLAGS="-g"
4425  fi
4426else
4427  if test "$GCC" = yes; then
4428    CFLAGS="-O2"
4429  else
4430    CFLAGS=
4431  fi
4432fi
4433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4434$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4435if ${ac_cv_prog_cc_c89+:} false; then :
4436  $as_echo_n "(cached) " >&6
4437else
4438  ac_cv_prog_cc_c89=no
4439ac_save_CC=$CC
4440cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4441/* end confdefs.h.  */
4442#include <stdarg.h>
4443#include <stdio.h>
4444struct stat;
4445/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4446struct buf { int x; };
4447FILE * (*rcsopen) (struct buf *, struct stat *, int);
4448static char *e (p, i)
4449     char **p;
4450     int i;
4451{
4452  return p[i];
4453}
4454static char *f (char * (*g) (char **, int), char **p, ...)
4455{
4456  char *s;
4457  va_list v;
4458  va_start (v,p);
4459  s = g (p, va_arg (v,int));
4460  va_end (v);
4461  return s;
4462}
4463
4464/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4465   function prototypes and stuff, but not '\xHH' hex character constants.
4466   These don't provoke an error unfortunately, instead are silently treated
4467   as 'x'.  The following induces an error, until -std is added to get
4468   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4469   array size at least.  It's necessary to write '\x00'==0 to get something
4470   that's true only with -std.  */
4471int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4472
4473/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4474   inside strings and character constants.  */
4475#define FOO(x) 'x'
4476int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4477
4478int test (int i, double x);
4479struct s1 {int (*f) (int a);};
4480struct s2 {int (*f) (double a);};
4481int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4482int argc;
4483char **argv;
4484int
4485main ()
4486{
4487return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4488  ;
4489  return 0;
4490}
4491_ACEOF
4492for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4493	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4494do
4495  CC="$ac_save_CC $ac_arg"
4496  if ac_fn_c_try_compile "$LINENO"; then :
4497  ac_cv_prog_cc_c89=$ac_arg
4498fi
4499rm -f core conftest.err conftest.$ac_objext
4500  test "x$ac_cv_prog_cc_c89" != "xno" && break
4501done
4502rm -f conftest.$ac_ext
4503CC=$ac_save_CC
4504
4505fi
4506# AC_CACHE_VAL
4507case "x$ac_cv_prog_cc_c89" in
4508  x)
4509    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4510$as_echo "none needed" >&6; } ;;
4511  xno)
4512    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4513$as_echo "unsupported" >&6; } ;;
4514  *)
4515    CC="$CC $ac_cv_prog_cc_c89"
4516    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4517$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4518esac
4519if test "x$ac_cv_prog_cc_c89" != xno; then :
4520
4521fi
4522
4523ac_ext=c
4524ac_cpp='$CPP $CPPFLAGS'
4525ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4526ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4527ac_compiler_gnu=$ac_cv_c_compiler_gnu
4528
4529ac_ext=c
4530ac_cpp='$CPP $CPPFLAGS'
4531ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4532ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4533ac_compiler_gnu=$ac_cv_c_compiler_gnu
4534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4535$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4536if ${am_cv_prog_cc_c_o+:} false; then :
4537  $as_echo_n "(cached) " >&6
4538else
4539  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4540/* end confdefs.h.  */
4541
4542int
4543main ()
4544{
4545
4546  ;
4547  return 0;
4548}
4549_ACEOF
4550  # Make sure it works both with $CC and with simple cc.
4551  # Following AC_PROG_CC_C_O, we do the test twice because some
4552  # compilers refuse to overwrite an existing .o file with -o,
4553  # though they will create one.
4554  am_cv_prog_cc_c_o=yes
4555  for am_i in 1 2; do
4556    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4557   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4558   ac_status=$?
4559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560   (exit $ac_status); } \
4561         && test -f conftest2.$ac_objext; then
4562      : OK
4563    else
4564      am_cv_prog_cc_c_o=no
4565      break
4566    fi
4567  done
4568  rm -f core conftest*
4569  unset am_i
4570fi
4571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4572$as_echo "$am_cv_prog_cc_c_o" >&6; }
4573if test "$am_cv_prog_cc_c_o" != yes; then
4574   # Losing compiler, so override with the script.
4575   # FIXME: It is wrong to rewrite CC.
4576   # But if we don't then we get into trouble of one sort or another.
4577   # A longer-term fix would be to have automake use am__CC in this case,
4578   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4579   CC="$am_aux_dir/compile $CC"
4580fi
4581ac_ext=c
4582ac_cpp='$CPP $CPPFLAGS'
4583ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4584ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4585ac_compiler_gnu=$ac_cv_c_compiler_gnu
4586
4587
4588depcc="$CC"   am_compiler_list=
4589
4590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4591$as_echo_n "checking dependency style of $depcc... " >&6; }
4592if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4593  $as_echo_n "(cached) " >&6
4594else
4595  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4596  # We make a subdir and do the tests there.  Otherwise we can end up
4597  # making bogus files that we don't know about and never remove.  For
4598  # instance it was reported that on HP-UX the gcc test will end up
4599  # making a dummy file named 'D' -- because '-MD' means "put the output
4600  # in D".
4601  rm -rf conftest.dir
4602  mkdir conftest.dir
4603  # Copy depcomp to subdir because otherwise we won't find it if we're
4604  # using a relative directory.
4605  cp "$am_depcomp" conftest.dir
4606  cd conftest.dir
4607  # We will build objects and dependencies in a subdirectory because
4608  # it helps to detect inapplicable dependency modes.  For instance
4609  # both Tru64's cc and ICC support -MD to output dependencies as a
4610  # side effect of compilation, but ICC will put the dependencies in
4611  # the current directory while Tru64 will put them in the object
4612  # directory.
4613  mkdir sub
4614
4615  am_cv_CC_dependencies_compiler_type=none
4616  if test "$am_compiler_list" = ""; then
4617     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4618  fi
4619  am__universal=false
4620  case " $depcc " in #(
4621     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4622     esac
4623
4624  for depmode in $am_compiler_list; do
4625    # Setup a source with many dependencies, because some compilers
4626    # like to wrap large dependency lists on column 80 (with \), and
4627    # we should not choose a depcomp mode which is confused by this.
4628    #
4629    # We need to recreate these files for each test, as the compiler may
4630    # overwrite some of them when testing with obscure command lines.
4631    # This happens at least with the AIX C compiler.
4632    : > sub/conftest.c
4633    for i in 1 2 3 4 5 6; do
4634      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4635      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4636      # Solaris 10 /bin/sh.
4637      echo '/* dummy */' > sub/conftst$i.h
4638    done
4639    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4640
4641    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4642    # mode.  It turns out that the SunPro C++ compiler does not properly
4643    # handle '-M -o', and we need to detect this.  Also, some Intel
4644    # versions had trouble with output in subdirs.
4645    am__obj=sub/conftest.${OBJEXT-o}
4646    am__minus_obj="-o $am__obj"
4647    case $depmode in
4648    gcc)
4649      # This depmode causes a compiler race in universal mode.
4650      test "$am__universal" = false || continue
4651      ;;
4652    nosideeffect)
4653      # After this tag, mechanisms are not by side-effect, so they'll
4654      # only be used when explicitly requested.
4655      if test "x$enable_dependency_tracking" = xyes; then
4656	continue
4657      else
4658	break
4659      fi
4660      ;;
4661    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4662      # This compiler won't grok '-c -o', but also, the minuso test has
4663      # not run yet.  These depmodes are late enough in the game, and
4664      # so weak that their functioning should not be impacted.
4665      am__obj=conftest.${OBJEXT-o}
4666      am__minus_obj=
4667      ;;
4668    none) break ;;
4669    esac
4670    if depmode=$depmode \
4671       source=sub/conftest.c object=$am__obj \
4672       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4673       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4674         >/dev/null 2>conftest.err &&
4675       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4676       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4677       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4678       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4679      # icc doesn't choke on unknown options, it will just issue warnings
4680      # or remarks (even with -Werror).  So we grep stderr for any message
4681      # that says an option was ignored or not supported.
4682      # When given -MP, icc 7.0 and 7.1 complain thusly:
4683      #   icc: Command line warning: ignoring option '-M'; no argument required
4684      # The diagnosis changed in icc 8.0:
4685      #   icc: Command line remark: option '-MP' not supported
4686      if (grep 'ignoring option' conftest.err ||
4687          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4688        am_cv_CC_dependencies_compiler_type=$depmode
4689        break
4690      fi
4691    fi
4692  done
4693
4694  cd ..
4695  rm -rf conftest.dir
4696else
4697  am_cv_CC_dependencies_compiler_type=none
4698fi
4699
4700fi
4701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4702$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4703CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4704
4705 if
4706  test "x$enable_dependency_tracking" != xno \
4707  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4708  am__fastdepCC_TRUE=
4709  am__fastdepCC_FALSE='#'
4710else
4711  am__fastdepCC_TRUE='#'
4712  am__fastdepCC_FALSE=
4713fi
4714
4715
4716
4717ac_ext=c
4718ac_cpp='$CPP $CPPFLAGS'
4719ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4720ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4721ac_compiler_gnu=$ac_cv_c_compiler_gnu
4722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4723$as_echo_n "checking how to run the C preprocessor... " >&6; }
4724# On Suns, sometimes $CPP names a directory.
4725if test -n "$CPP" && test -d "$CPP"; then
4726  CPP=
4727fi
4728if test -z "$CPP"; then
4729  if ${ac_cv_prog_CPP+:} false; then :
4730  $as_echo_n "(cached) " >&6
4731else
4732      # Double quotes because CPP needs to be expanded
4733    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4734    do
4735      ac_preproc_ok=false
4736for ac_c_preproc_warn_flag in '' yes
4737do
4738  # Use a header file that comes with gcc, so configuring glibc
4739  # with a fresh cross-compiler works.
4740  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4741  # <limits.h> exists even on freestanding compilers.
4742  # On the NeXT, cc -E runs the code through the compiler's parser,
4743  # not just through cpp. "Syntax error" is here to catch this case.
4744  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4745/* end confdefs.h.  */
4746#ifdef __STDC__
4747# include <limits.h>
4748#else
4749# include <assert.h>
4750#endif
4751		     Syntax error
4752_ACEOF
4753if ac_fn_c_try_cpp "$LINENO"; then :
4754
4755else
4756  # Broken: fails on valid input.
4757continue
4758fi
4759rm -f conftest.err conftest.i conftest.$ac_ext
4760
4761  # OK, works on sane cases.  Now check whether nonexistent headers
4762  # can be detected and how.
4763  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4764/* end confdefs.h.  */
4765#include <ac_nonexistent.h>
4766_ACEOF
4767if ac_fn_c_try_cpp "$LINENO"; then :
4768  # Broken: success on invalid input.
4769continue
4770else
4771  # Passes both tests.
4772ac_preproc_ok=:
4773break
4774fi
4775rm -f conftest.err conftest.i conftest.$ac_ext
4776
4777done
4778# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4779rm -f conftest.i conftest.err conftest.$ac_ext
4780if $ac_preproc_ok; then :
4781  break
4782fi
4783
4784    done
4785    ac_cv_prog_CPP=$CPP
4786
4787fi
4788  CPP=$ac_cv_prog_CPP
4789else
4790  ac_cv_prog_CPP=$CPP
4791fi
4792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4793$as_echo "$CPP" >&6; }
4794ac_preproc_ok=false
4795for ac_c_preproc_warn_flag in '' yes
4796do
4797  # Use a header file that comes with gcc, so configuring glibc
4798  # with a fresh cross-compiler works.
4799  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4800  # <limits.h> exists even on freestanding compilers.
4801  # On the NeXT, cc -E runs the code through the compiler's parser,
4802  # not just through cpp. "Syntax error" is here to catch this case.
4803  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4804/* end confdefs.h.  */
4805#ifdef __STDC__
4806# include <limits.h>
4807#else
4808# include <assert.h>
4809#endif
4810		     Syntax error
4811_ACEOF
4812if ac_fn_c_try_cpp "$LINENO"; then :
4813
4814else
4815  # Broken: fails on valid input.
4816continue
4817fi
4818rm -f conftest.err conftest.i conftest.$ac_ext
4819
4820  # OK, works on sane cases.  Now check whether nonexistent headers
4821  # can be detected and how.
4822  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4823/* end confdefs.h.  */
4824#include <ac_nonexistent.h>
4825_ACEOF
4826if ac_fn_c_try_cpp "$LINENO"; then :
4827  # Broken: success on invalid input.
4828continue
4829else
4830  # Passes both tests.
4831ac_preproc_ok=:
4832break
4833fi
4834rm -f conftest.err conftest.i conftest.$ac_ext
4835
4836done
4837# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4838rm -f conftest.i conftest.err conftest.$ac_ext
4839if $ac_preproc_ok; then :
4840
4841else
4842  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4843$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4844as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4845See \`config.log' for more details" "$LINENO" 5; }
4846fi
4847
4848ac_ext=c
4849ac_cpp='$CPP $CPPFLAGS'
4850ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4851ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4852ac_compiler_gnu=$ac_cv_c_compiler_gnu
4853
4854
4855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4856$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4857if ${ac_cv_path_GREP+:} false; then :
4858  $as_echo_n "(cached) " >&6
4859else
4860  if test -z "$GREP"; then
4861  ac_path_GREP_found=false
4862  # Loop through the user's path and test for each of PROGNAME-LIST
4863  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4864for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4865do
4866  IFS=$as_save_IFS
4867  test -z "$as_dir" && as_dir=.
4868    for ac_prog in grep ggrep; do
4869    for ac_exec_ext in '' $ac_executable_extensions; do
4870      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4871      as_fn_executable_p "$ac_path_GREP" || continue
4872# Check for GNU ac_path_GREP and select it if it is found.
4873  # Check for GNU $ac_path_GREP
4874case `"$ac_path_GREP" --version 2>&1` in
4875*GNU*)
4876  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4877*)
4878  ac_count=0
4879  $as_echo_n 0123456789 >"conftest.in"
4880  while :
4881  do
4882    cat "conftest.in" "conftest.in" >"conftest.tmp"
4883    mv "conftest.tmp" "conftest.in"
4884    cp "conftest.in" "conftest.nl"
4885    $as_echo 'GREP' >> "conftest.nl"
4886    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4887    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4888    as_fn_arith $ac_count + 1 && ac_count=$as_val
4889    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4890      # Best one so far, save it but keep looking for a better one
4891      ac_cv_path_GREP="$ac_path_GREP"
4892      ac_path_GREP_max=$ac_count
4893    fi
4894    # 10*(2^10) chars as input seems more than enough
4895    test $ac_count -gt 10 && break
4896  done
4897  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4898esac
4899
4900      $ac_path_GREP_found && break 3
4901    done
4902  done
4903  done
4904IFS=$as_save_IFS
4905  if test -z "$ac_cv_path_GREP"; then
4906    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4907  fi
4908else
4909  ac_cv_path_GREP=$GREP
4910fi
4911
4912fi
4913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4914$as_echo "$ac_cv_path_GREP" >&6; }
4915 GREP="$ac_cv_path_GREP"
4916
4917
4918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4919$as_echo_n "checking for egrep... " >&6; }
4920if ${ac_cv_path_EGREP+:} false; then :
4921  $as_echo_n "(cached) " >&6
4922else
4923  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4924   then ac_cv_path_EGREP="$GREP -E"
4925   else
4926     if test -z "$EGREP"; then
4927  ac_path_EGREP_found=false
4928  # Loop through the user's path and test for each of PROGNAME-LIST
4929  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4930for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4931do
4932  IFS=$as_save_IFS
4933  test -z "$as_dir" && as_dir=.
4934    for ac_prog in egrep; do
4935    for ac_exec_ext in '' $ac_executable_extensions; do
4936      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4937      as_fn_executable_p "$ac_path_EGREP" || continue
4938# Check for GNU ac_path_EGREP and select it if it is found.
4939  # Check for GNU $ac_path_EGREP
4940case `"$ac_path_EGREP" --version 2>&1` in
4941*GNU*)
4942  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4943*)
4944  ac_count=0
4945  $as_echo_n 0123456789 >"conftest.in"
4946  while :
4947  do
4948    cat "conftest.in" "conftest.in" >"conftest.tmp"
4949    mv "conftest.tmp" "conftest.in"
4950    cp "conftest.in" "conftest.nl"
4951    $as_echo 'EGREP' >> "conftest.nl"
4952    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4953    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4954    as_fn_arith $ac_count + 1 && ac_count=$as_val
4955    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4956      # Best one so far, save it but keep looking for a better one
4957      ac_cv_path_EGREP="$ac_path_EGREP"
4958      ac_path_EGREP_max=$ac_count
4959    fi
4960    # 10*(2^10) chars as input seems more than enough
4961    test $ac_count -gt 10 && break
4962  done
4963  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4964esac
4965
4966      $ac_path_EGREP_found && break 3
4967    done
4968  done
4969  done
4970IFS=$as_save_IFS
4971  if test -z "$ac_cv_path_EGREP"; then
4972    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4973  fi
4974else
4975  ac_cv_path_EGREP=$EGREP
4976fi
4977
4978   fi
4979fi
4980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4981$as_echo "$ac_cv_path_EGREP" >&6; }
4982 EGREP="$ac_cv_path_EGREP"
4983
4984
4985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4986$as_echo_n "checking for ANSI C header files... " >&6; }
4987if ${ac_cv_header_stdc+:} false; then :
4988  $as_echo_n "(cached) " >&6
4989else
4990  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4991/* end confdefs.h.  */
4992#include <stdlib.h>
4993#include <stdarg.h>
4994#include <string.h>
4995#include <float.h>
4996
4997int
4998main ()
4999{
5000
5001  ;
5002  return 0;
5003}
5004_ACEOF
5005if ac_fn_c_try_compile "$LINENO"; then :
5006  ac_cv_header_stdc=yes
5007else
5008  ac_cv_header_stdc=no
5009fi
5010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5011
5012if test $ac_cv_header_stdc = yes; then
5013  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5014  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5015/* end confdefs.h.  */
5016#include <string.h>
5017
5018_ACEOF
5019if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5020  $EGREP "memchr" >/dev/null 2>&1; then :
5021
5022else
5023  ac_cv_header_stdc=no
5024fi
5025rm -f conftest*
5026
5027fi
5028
5029if test $ac_cv_header_stdc = yes; then
5030  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5031  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5032/* end confdefs.h.  */
5033#include <stdlib.h>
5034
5035_ACEOF
5036if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5037  $EGREP "free" >/dev/null 2>&1; then :
5038
5039else
5040  ac_cv_header_stdc=no
5041fi
5042rm -f conftest*
5043
5044fi
5045
5046if test $ac_cv_header_stdc = yes; then
5047  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5048  if test "$cross_compiling" = yes; then :
5049  :
5050else
5051  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5052/* end confdefs.h.  */
5053#include <ctype.h>
5054#include <stdlib.h>
5055#if ((' ' & 0x0FF) == 0x020)
5056# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5057# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5058#else
5059# define ISLOWER(c) \
5060		   (('a' <= (c) && (c) <= 'i') \
5061		     || ('j' <= (c) && (c) <= 'r') \
5062		     || ('s' <= (c) && (c) <= 'z'))
5063# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5064#endif
5065
5066#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5067int
5068main ()
5069{
5070  int i;
5071  for (i = 0; i < 256; i++)
5072    if (XOR (islower (i), ISLOWER (i))
5073	|| toupper (i) != TOUPPER (i))
5074      return 2;
5075  return 0;
5076}
5077_ACEOF
5078if ac_fn_c_try_run "$LINENO"; then :
5079
5080else
5081  ac_cv_header_stdc=no
5082fi
5083rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5084  conftest.$ac_objext conftest.beam conftest.$ac_ext
5085fi
5086
5087fi
5088fi
5089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5090$as_echo "$ac_cv_header_stdc" >&6; }
5091if test $ac_cv_header_stdc = yes; then
5092
5093$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5094
5095fi
5096
5097# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5098for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5099		  inttypes.h stdint.h unistd.h
5100do :
5101  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5102ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5103"
5104if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5105  cat >>confdefs.h <<_ACEOF
5106#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5107_ACEOF
5108
5109fi
5110
5111done
5112
5113
5114
5115  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5116if test "x$ac_cv_header_minix_config_h" = xyes; then :
5117  MINIX=yes
5118else
5119  MINIX=
5120fi
5121
5122
5123  if test "$MINIX" = yes; then
5124
5125$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5126
5127
5128$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5129
5130
5131$as_echo "#define _MINIX 1" >>confdefs.h
5132
5133  fi
5134
5135
5136  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5137$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5138if ${ac_cv_safe_to_define___extensions__+:} false; then :
5139  $as_echo_n "(cached) " >&6
5140else
5141  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5142/* end confdefs.h.  */
5143
5144#         define __EXTENSIONS__ 1
5145          $ac_includes_default
5146int
5147main ()
5148{
5149
5150  ;
5151  return 0;
5152}
5153_ACEOF
5154if ac_fn_c_try_compile "$LINENO"; then :
5155  ac_cv_safe_to_define___extensions__=yes
5156else
5157  ac_cv_safe_to_define___extensions__=no
5158fi
5159rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5160fi
5161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5162$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5163  test $ac_cv_safe_to_define___extensions__ = yes &&
5164    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5165
5166  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5167
5168  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5169
5170  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5171
5172  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5173
5174
5175
5176# Calculate toolexeclibdir
5177# Also toolexecdir, though it's only used in toolexeclibdir
5178case ${version_specific_libs} in
5179  yes)
5180    # Need the gcc compiler version to know where to install libraries
5181    # and header files if --enable-version-specific-runtime-libs option
5182    # is selected.
5183    toolexecdir='$(libdir)/gcc/$(target_alias)'
5184    toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5185    ;;
5186  no)
5187    if test -n "$with_cross_host" &&
5188       test x"$with_cross_host" != x"no"; then
5189      # Install a library built with a cross compiler in tooldir, not libdir.
5190      toolexecdir='$(exec_prefix)/$(target_alias)'
5191      toolexeclibdir='$(toolexecdir)/lib'
5192    else
5193      toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
5194      toolexeclibdir='$(libdir)'
5195    fi
5196    multi_os_directory=`$CC -print-multi-os-directory`
5197    case $multi_os_directory in
5198      .) ;; # Avoid trailing /.
5199      *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
5200    esac
5201    ;;
5202esac
5203
5204
5205
5206# Create a spec file, so that compile/link tests don't fail
5207test -f libgfortran.spec || touch libgfortran.spec
5208
5209ac_ext=c
5210ac_cpp='$CPP $CPPFLAGS'
5211ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5212ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5213ac_compiler_gnu=$ac_cv_c_compiler_gnu
5214
5215# Check the compiler.
5216# The same as in boehm-gc and libstdc++. Have to borrow it from there.
5217# We must force CC to /not/ be precious variables; otherwise
5218# the wrong, non-multilib-adjusted value will be used in multilibs.
5219# As a side effect, we have to subst CFLAGS ourselves.
5220
5221
5222
5223ac_ext=c
5224ac_cpp='$CPP $CPPFLAGS'
5225ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5226ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5227ac_compiler_gnu=$ac_cv_c_compiler_gnu
5228if test -n "$ac_tool_prefix"; then
5229  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5230set dummy ${ac_tool_prefix}gcc; ac_word=$2
5231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5232$as_echo_n "checking for $ac_word... " >&6; }
5233if ${ac_cv_prog_CC+:} false; then :
5234  $as_echo_n "(cached) " >&6
5235else
5236  if test -n "$CC"; then
5237  ac_cv_prog_CC="$CC" # Let the user override the test.
5238else
5239as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5240for as_dir in $PATH
5241do
5242  IFS=$as_save_IFS
5243  test -z "$as_dir" && as_dir=.
5244    for ac_exec_ext in '' $ac_executable_extensions; do
5245  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5246    ac_cv_prog_CC="${ac_tool_prefix}gcc"
5247    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5248    break 2
5249  fi
5250done
5251  done
5252IFS=$as_save_IFS
5253
5254fi
5255fi
5256CC=$ac_cv_prog_CC
5257if test -n "$CC"; then
5258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5259$as_echo "$CC" >&6; }
5260else
5261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5262$as_echo "no" >&6; }
5263fi
5264
5265
5266fi
5267if test -z "$ac_cv_prog_CC"; then
5268  ac_ct_CC=$CC
5269  # Extract the first word of "gcc", so it can be a program name with args.
5270set dummy gcc; ac_word=$2
5271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5272$as_echo_n "checking for $ac_word... " >&6; }
5273if ${ac_cv_prog_ac_ct_CC+:} false; then :
5274  $as_echo_n "(cached) " >&6
5275else
5276  if test -n "$ac_ct_CC"; then
5277  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5278else
5279as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5280for as_dir in $PATH
5281do
5282  IFS=$as_save_IFS
5283  test -z "$as_dir" && as_dir=.
5284    for ac_exec_ext in '' $ac_executable_extensions; do
5285  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5286    ac_cv_prog_ac_ct_CC="gcc"
5287    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5288    break 2
5289  fi
5290done
5291  done
5292IFS=$as_save_IFS
5293
5294fi
5295fi
5296ac_ct_CC=$ac_cv_prog_ac_ct_CC
5297if test -n "$ac_ct_CC"; then
5298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5299$as_echo "$ac_ct_CC" >&6; }
5300else
5301  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5302$as_echo "no" >&6; }
5303fi
5304
5305  if test "x$ac_ct_CC" = x; then
5306    CC=""
5307  else
5308    case $cross_compiling:$ac_tool_warned in
5309yes:)
5310{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5311$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5312ac_tool_warned=yes ;;
5313esac
5314    CC=$ac_ct_CC
5315  fi
5316else
5317  CC="$ac_cv_prog_CC"
5318fi
5319
5320if test -z "$CC"; then
5321          if test -n "$ac_tool_prefix"; then
5322    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5323set dummy ${ac_tool_prefix}cc; ac_word=$2
5324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325$as_echo_n "checking for $ac_word... " >&6; }
5326if ${ac_cv_prog_CC+:} false; then :
5327  $as_echo_n "(cached) " >&6
5328else
5329  if test -n "$CC"; then
5330  ac_cv_prog_CC="$CC" # Let the user override the test.
5331else
5332as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333for as_dir in $PATH
5334do
5335  IFS=$as_save_IFS
5336  test -z "$as_dir" && as_dir=.
5337    for ac_exec_ext in '' $ac_executable_extensions; do
5338  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5339    ac_cv_prog_CC="${ac_tool_prefix}cc"
5340    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5341    break 2
5342  fi
5343done
5344  done
5345IFS=$as_save_IFS
5346
5347fi
5348fi
5349CC=$ac_cv_prog_CC
5350if test -n "$CC"; then
5351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5352$as_echo "$CC" >&6; }
5353else
5354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355$as_echo "no" >&6; }
5356fi
5357
5358
5359  fi
5360fi
5361if test -z "$CC"; then
5362  # Extract the first word of "cc", so it can be a program name with args.
5363set dummy cc; ac_word=$2
5364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365$as_echo_n "checking for $ac_word... " >&6; }
5366if ${ac_cv_prog_CC+:} false; then :
5367  $as_echo_n "(cached) " >&6
5368else
5369  if test -n "$CC"; then
5370  ac_cv_prog_CC="$CC" # Let the user override the test.
5371else
5372  ac_prog_rejected=no
5373as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5374for as_dir in $PATH
5375do
5376  IFS=$as_save_IFS
5377  test -z "$as_dir" && as_dir=.
5378    for ac_exec_ext in '' $ac_executable_extensions; do
5379  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5380    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5381       ac_prog_rejected=yes
5382       continue
5383     fi
5384    ac_cv_prog_CC="cc"
5385    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5386    break 2
5387  fi
5388done
5389  done
5390IFS=$as_save_IFS
5391
5392if test $ac_prog_rejected = yes; then
5393  # We found a bogon in the path, so make sure we never use it.
5394  set dummy $ac_cv_prog_CC
5395  shift
5396  if test $# != 0; then
5397    # We chose a different compiler from the bogus one.
5398    # However, it has the same basename, so the bogon will be chosen
5399    # first if we set CC to just the basename; use the full file name.
5400    shift
5401    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5402  fi
5403fi
5404fi
5405fi
5406CC=$ac_cv_prog_CC
5407if test -n "$CC"; then
5408  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5409$as_echo "$CC" >&6; }
5410else
5411  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5412$as_echo "no" >&6; }
5413fi
5414
5415
5416fi
5417if test -z "$CC"; then
5418  if test -n "$ac_tool_prefix"; then
5419  for ac_prog in cl.exe
5420  do
5421    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5422set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5424$as_echo_n "checking for $ac_word... " >&6; }
5425if ${ac_cv_prog_CC+:} false; then :
5426  $as_echo_n "(cached) " >&6
5427else
5428  if test -n "$CC"; then
5429  ac_cv_prog_CC="$CC" # Let the user override the test.
5430else
5431as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5432for as_dir in $PATH
5433do
5434  IFS=$as_save_IFS
5435  test -z "$as_dir" && as_dir=.
5436    for ac_exec_ext in '' $ac_executable_extensions; do
5437  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5438    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5439    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5440    break 2
5441  fi
5442done
5443  done
5444IFS=$as_save_IFS
5445
5446fi
5447fi
5448CC=$ac_cv_prog_CC
5449if test -n "$CC"; then
5450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5451$as_echo "$CC" >&6; }
5452else
5453  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5454$as_echo "no" >&6; }
5455fi
5456
5457
5458    test -n "$CC" && break
5459  done
5460fi
5461if test -z "$CC"; then
5462  ac_ct_CC=$CC
5463  for ac_prog in cl.exe
5464do
5465  # Extract the first word of "$ac_prog", so it can be a program name with args.
5466set dummy $ac_prog; ac_word=$2
5467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5468$as_echo_n "checking for $ac_word... " >&6; }
5469if ${ac_cv_prog_ac_ct_CC+:} false; then :
5470  $as_echo_n "(cached) " >&6
5471else
5472  if test -n "$ac_ct_CC"; then
5473  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5474else
5475as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5476for as_dir in $PATH
5477do
5478  IFS=$as_save_IFS
5479  test -z "$as_dir" && as_dir=.
5480    for ac_exec_ext in '' $ac_executable_extensions; do
5481  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5482    ac_cv_prog_ac_ct_CC="$ac_prog"
5483    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5484    break 2
5485  fi
5486done
5487  done
5488IFS=$as_save_IFS
5489
5490fi
5491fi
5492ac_ct_CC=$ac_cv_prog_ac_ct_CC
5493if test -n "$ac_ct_CC"; then
5494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5495$as_echo "$ac_ct_CC" >&6; }
5496else
5497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5498$as_echo "no" >&6; }
5499fi
5500
5501
5502  test -n "$ac_ct_CC" && break
5503done
5504
5505  if test "x$ac_ct_CC" = x; then
5506    CC=""
5507  else
5508    case $cross_compiling:$ac_tool_warned in
5509yes:)
5510{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5511$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5512ac_tool_warned=yes ;;
5513esac
5514    CC=$ac_ct_CC
5515  fi
5516fi
5517
5518fi
5519
5520
5521test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5522$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5523as_fn_error $? "no acceptable C compiler found in \$PATH
5524See \`config.log' for more details" "$LINENO" 5; }
5525
5526# Provide some information about the compiler.
5527$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5528set X $ac_compile
5529ac_compiler=$2
5530for ac_option in --version -v -V -qversion; do
5531  { { ac_try="$ac_compiler $ac_option >&5"
5532case "(($ac_try" in
5533  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5534  *) ac_try_echo=$ac_try;;
5535esac
5536eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5537$as_echo "$ac_try_echo"; } >&5
5538  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5539  ac_status=$?
5540  if test -s conftest.err; then
5541    sed '10a\
5542... rest of stderr output deleted ...
5543         10q' conftest.err >conftest.er1
5544    cat conftest.er1 >&5
5545  fi
5546  rm -f conftest.er1 conftest.err
5547  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5548  test $ac_status = 0; }
5549done
5550
5551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5552$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5553if ${ac_cv_c_compiler_gnu+:} false; then :
5554  $as_echo_n "(cached) " >&6
5555else
5556  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5557/* end confdefs.h.  */
5558
5559int
5560main ()
5561{
5562#ifndef __GNUC__
5563       choke me
5564#endif
5565
5566  ;
5567  return 0;
5568}
5569_ACEOF
5570if ac_fn_c_try_compile "$LINENO"; then :
5571  ac_compiler_gnu=yes
5572else
5573  ac_compiler_gnu=no
5574fi
5575rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5576ac_cv_c_compiler_gnu=$ac_compiler_gnu
5577
5578fi
5579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5580$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5581if test $ac_compiler_gnu = yes; then
5582  GCC=yes
5583else
5584  GCC=
5585fi
5586ac_test_CFLAGS=${CFLAGS+set}
5587ac_save_CFLAGS=$CFLAGS
5588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5589$as_echo_n "checking whether $CC accepts -g... " >&6; }
5590if ${ac_cv_prog_cc_g+:} false; then :
5591  $as_echo_n "(cached) " >&6
5592else
5593  ac_save_c_werror_flag=$ac_c_werror_flag
5594   ac_c_werror_flag=yes
5595   ac_cv_prog_cc_g=no
5596   CFLAGS="-g"
5597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5598/* end confdefs.h.  */
5599
5600int
5601main ()
5602{
5603
5604  ;
5605  return 0;
5606}
5607_ACEOF
5608if ac_fn_c_try_compile "$LINENO"; then :
5609  ac_cv_prog_cc_g=yes
5610else
5611  CFLAGS=""
5612      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5613/* end confdefs.h.  */
5614
5615int
5616main ()
5617{
5618
5619  ;
5620  return 0;
5621}
5622_ACEOF
5623if ac_fn_c_try_compile "$LINENO"; then :
5624
5625else
5626  ac_c_werror_flag=$ac_save_c_werror_flag
5627	 CFLAGS="-g"
5628	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5629/* end confdefs.h.  */
5630
5631int
5632main ()
5633{
5634
5635  ;
5636  return 0;
5637}
5638_ACEOF
5639if ac_fn_c_try_compile "$LINENO"; then :
5640  ac_cv_prog_cc_g=yes
5641fi
5642rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5643fi
5644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5645fi
5646rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5647   ac_c_werror_flag=$ac_save_c_werror_flag
5648fi
5649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5650$as_echo "$ac_cv_prog_cc_g" >&6; }
5651if test "$ac_test_CFLAGS" = set; then
5652  CFLAGS=$ac_save_CFLAGS
5653elif test $ac_cv_prog_cc_g = yes; then
5654  if test "$GCC" = yes; then
5655    CFLAGS="-g -O2"
5656  else
5657    CFLAGS="-g"
5658  fi
5659else
5660  if test "$GCC" = yes; then
5661    CFLAGS="-O2"
5662  else
5663    CFLAGS=
5664  fi
5665fi
5666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5667$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5668if ${ac_cv_prog_cc_c89+:} false; then :
5669  $as_echo_n "(cached) " >&6
5670else
5671  ac_cv_prog_cc_c89=no
5672ac_save_CC=$CC
5673cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5674/* end confdefs.h.  */
5675#include <stdarg.h>
5676#include <stdio.h>
5677struct stat;
5678/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5679struct buf { int x; };
5680FILE * (*rcsopen) (struct buf *, struct stat *, int);
5681static char *e (p, i)
5682     char **p;
5683     int i;
5684{
5685  return p[i];
5686}
5687static char *f (char * (*g) (char **, int), char **p, ...)
5688{
5689  char *s;
5690  va_list v;
5691  va_start (v,p);
5692  s = g (p, va_arg (v,int));
5693  va_end (v);
5694  return s;
5695}
5696
5697/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5698   function prototypes and stuff, but not '\xHH' hex character constants.
5699   These don't provoke an error unfortunately, instead are silently treated
5700   as 'x'.  The following induces an error, until -std is added to get
5701   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5702   array size at least.  It's necessary to write '\x00'==0 to get something
5703   that's true only with -std.  */
5704int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5705
5706/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5707   inside strings and character constants.  */
5708#define FOO(x) 'x'
5709int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5710
5711int test (int i, double x);
5712struct s1 {int (*f) (int a);};
5713struct s2 {int (*f) (double a);};
5714int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5715int argc;
5716char **argv;
5717int
5718main ()
5719{
5720return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5721  ;
5722  return 0;
5723}
5724_ACEOF
5725for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5726	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5727do
5728  CC="$ac_save_CC $ac_arg"
5729  if ac_fn_c_try_compile "$LINENO"; then :
5730  ac_cv_prog_cc_c89=$ac_arg
5731fi
5732rm -f core conftest.err conftest.$ac_objext
5733  test "x$ac_cv_prog_cc_c89" != "xno" && break
5734done
5735rm -f conftest.$ac_ext
5736CC=$ac_save_CC
5737
5738fi
5739# AC_CACHE_VAL
5740case "x$ac_cv_prog_cc_c89" in
5741  x)
5742    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5743$as_echo "none needed" >&6; } ;;
5744  xno)
5745    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5746$as_echo "unsupported" >&6; } ;;
5747  *)
5748    CC="$CC $ac_cv_prog_cc_c89"
5749    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5750$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5751esac
5752if test "x$ac_cv_prog_cc_c89" != xno; then :
5753
5754fi
5755
5756ac_ext=c
5757ac_cpp='$CPP $CPPFLAGS'
5758ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5759ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5760ac_compiler_gnu=$ac_cv_c_compiler_gnu
5761
5762ac_ext=c
5763ac_cpp='$CPP $CPPFLAGS'
5764ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5765ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5766ac_compiler_gnu=$ac_cv_c_compiler_gnu
5767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5768$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5769if ${am_cv_prog_cc_c_o+:} false; then :
5770  $as_echo_n "(cached) " >&6
5771else
5772  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5773/* end confdefs.h.  */
5774
5775int
5776main ()
5777{
5778
5779  ;
5780  return 0;
5781}
5782_ACEOF
5783  # Make sure it works both with $CC and with simple cc.
5784  # Following AC_PROG_CC_C_O, we do the test twice because some
5785  # compilers refuse to overwrite an existing .o file with -o,
5786  # though they will create one.
5787  am_cv_prog_cc_c_o=yes
5788  for am_i in 1 2; do
5789    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5790   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5791   ac_status=$?
5792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793   (exit $ac_status); } \
5794         && test -f conftest2.$ac_objext; then
5795      : OK
5796    else
5797      am_cv_prog_cc_c_o=no
5798      break
5799    fi
5800  done
5801  rm -f core conftest*
5802  unset am_i
5803fi
5804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5805$as_echo "$am_cv_prog_cc_c_o" >&6; }
5806if test "$am_cv_prog_cc_c_o" != yes; then
5807   # Losing compiler, so override with the script.
5808   # FIXME: It is wrong to rewrite CC.
5809   # But if we don't then we get into trouble of one sort or another.
5810   # A longer-term fix would be to have automake use am__CC in this case,
5811   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5812   CC="$am_aux_dir/compile $CC"
5813fi
5814ac_ext=c
5815ac_cpp='$CPP $CPPFLAGS'
5816ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5817ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5818ac_compiler_gnu=$ac_cv_c_compiler_gnu
5819
5820
5821depcc="$CC"   am_compiler_list=
5822
5823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5824$as_echo_n "checking dependency style of $depcc... " >&6; }
5825if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5826  $as_echo_n "(cached) " >&6
5827else
5828  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5829  # We make a subdir and do the tests there.  Otherwise we can end up
5830  # making bogus files that we don't know about and never remove.  For
5831  # instance it was reported that on HP-UX the gcc test will end up
5832  # making a dummy file named 'D' -- because '-MD' means "put the output
5833  # in D".
5834  rm -rf conftest.dir
5835  mkdir conftest.dir
5836  # Copy depcomp to subdir because otherwise we won't find it if we're
5837  # using a relative directory.
5838  cp "$am_depcomp" conftest.dir
5839  cd conftest.dir
5840  # We will build objects and dependencies in a subdirectory because
5841  # it helps to detect inapplicable dependency modes.  For instance
5842  # both Tru64's cc and ICC support -MD to output dependencies as a
5843  # side effect of compilation, but ICC will put the dependencies in
5844  # the current directory while Tru64 will put them in the object
5845  # directory.
5846  mkdir sub
5847
5848  am_cv_CC_dependencies_compiler_type=none
5849  if test "$am_compiler_list" = ""; then
5850     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5851  fi
5852  am__universal=false
5853  case " $depcc " in #(
5854     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5855     esac
5856
5857  for depmode in $am_compiler_list; do
5858    # Setup a source with many dependencies, because some compilers
5859    # like to wrap large dependency lists on column 80 (with \), and
5860    # we should not choose a depcomp mode which is confused by this.
5861    #
5862    # We need to recreate these files for each test, as the compiler may
5863    # overwrite some of them when testing with obscure command lines.
5864    # This happens at least with the AIX C compiler.
5865    : > sub/conftest.c
5866    for i in 1 2 3 4 5 6; do
5867      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5868      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5869      # Solaris 10 /bin/sh.
5870      echo '/* dummy */' > sub/conftst$i.h
5871    done
5872    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5873
5874    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5875    # mode.  It turns out that the SunPro C++ compiler does not properly
5876    # handle '-M -o', and we need to detect this.  Also, some Intel
5877    # versions had trouble with output in subdirs.
5878    am__obj=sub/conftest.${OBJEXT-o}
5879    am__minus_obj="-o $am__obj"
5880    case $depmode in
5881    gcc)
5882      # This depmode causes a compiler race in universal mode.
5883      test "$am__universal" = false || continue
5884      ;;
5885    nosideeffect)
5886      # After this tag, mechanisms are not by side-effect, so they'll
5887      # only be used when explicitly requested.
5888      if test "x$enable_dependency_tracking" = xyes; then
5889	continue
5890      else
5891	break
5892      fi
5893      ;;
5894    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5895      # This compiler won't grok '-c -o', but also, the minuso test has
5896      # not run yet.  These depmodes are late enough in the game, and
5897      # so weak that their functioning should not be impacted.
5898      am__obj=conftest.${OBJEXT-o}
5899      am__minus_obj=
5900      ;;
5901    none) break ;;
5902    esac
5903    if depmode=$depmode \
5904       source=sub/conftest.c object=$am__obj \
5905       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5906       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5907         >/dev/null 2>conftest.err &&
5908       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5909       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5910       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5911       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5912      # icc doesn't choke on unknown options, it will just issue warnings
5913      # or remarks (even with -Werror).  So we grep stderr for any message
5914      # that says an option was ignored or not supported.
5915      # When given -MP, icc 7.0 and 7.1 complain thusly:
5916      #   icc: Command line warning: ignoring option '-M'; no argument required
5917      # The diagnosis changed in icc 8.0:
5918      #   icc: Command line remark: option '-MP' not supported
5919      if (grep 'ignoring option' conftest.err ||
5920          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5921        am_cv_CC_dependencies_compiler_type=$depmode
5922        break
5923      fi
5924    fi
5925  done
5926
5927  cd ..
5928  rm -rf conftest.dir
5929else
5930  am_cv_CC_dependencies_compiler_type=none
5931fi
5932
5933fi
5934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5935$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5936CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5937
5938 if
5939  test "x$enable_dependency_tracking" != xno \
5940  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5941  am__fastdepCC_TRUE=
5942  am__fastdepCC_FALSE='#'
5943else
5944  am__fastdepCC_TRUE='#'
5945  am__fastdepCC_FALSE=
5946fi
5947
5948
5949
5950
5951
5952
5953
5954
5955# Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5956if test "x$GCC" = "xyes"; then
5957  AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5958  ## We like to use C11 and C99 routines when available.  This makes
5959  ## sure that
5960  ## __STDC_VERSION__ is set such that libc includes make them available.
5961  AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5962  ## Compile the following tests with the same system header contents
5963  ## that we'll encounter when compiling our own source files.
5964  CFLAGS="-std=gnu11 $CFLAGS"
5965fi
5966
5967# Add CET specific flags if CET is enabled
5968 # Check whether --enable-cet was given.
5969if test "${enable_cet+set}" = set; then :
5970  enableval=$enable_cet;
5971      case "$enableval" in
5972       yes|no|auto) ;;
5973       *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
5974                          esac
5975
5976else
5977  enable_cet=no
5978fi
5979
5980
5981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
5982$as_echo_n "checking for CET support... " >&6; }
5983
5984case "$host" in
5985  i[34567]86-*-linux* | x86_64-*-linux*)
5986    case "$enable_cet" in
5987      auto)
5988	# Check if target supports multi-byte NOPs
5989	# and if assembler supports CET insn.
5990	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5991/* end confdefs.h.  */
5992
5993int
5994main ()
5995{
5996
5997#if !defined(__SSE2__)
5998#error target does not support multi-byte NOPs
5999#else
6000asm ("setssbsy");
6001#endif
6002
6003  ;
6004  return 0;
6005}
6006_ACEOF
6007if ac_fn_c_try_compile "$LINENO"; then :
6008  enable_cet=yes
6009else
6010  enable_cet=no
6011fi
6012rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6013	;;
6014      yes)
6015	# Check if assembler supports CET.
6016	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6017/* end confdefs.h.  */
6018
6019int
6020main ()
6021{
6022asm ("setssbsy");
6023  ;
6024  return 0;
6025}
6026_ACEOF
6027if ac_fn_c_try_compile "$LINENO"; then :
6028
6029else
6030  as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
6031fi
6032rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6033	;;
6034    esac
6035    ;;
6036  *)
6037    enable_cet=no
6038    ;;
6039esac
6040if test x$enable_cet = xyes; then
6041  CET_FLAGS="-fcf-protection -mshstk"
6042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6043$as_echo "yes" >&6; }
6044else
6045  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046$as_echo "no" >&6; }
6047fi
6048
6049AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
6050AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
6051CFLAGS="$CFLAGS $CET_FLAGS"
6052
6053
6054
6055
6056
6057# Check for symbol versioning (copied from libssp).
6058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
6059$as_echo_n "checking whether symbol versioning is supported... " >&6; }
6060# Check whether --enable-symvers was given.
6061if test "${enable_symvers+set}" = set; then :
6062  enableval=$enable_symvers; gfortran_use_symver=$enableval
6063else
6064  gfortran_use_symver=yes
6065fi
6066
6067if test "x$gfortran_use_symver" != xno; then
6068  save_LDFLAGS="$LDFLAGS"
6069  LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
6070  cat > conftest.map <<EOF
6071FOO_1.0 {
6072  global: *foo*; bar; local: *;
6073};
6074EOF
6075  if test x$gcc_no_link = xyes; then
6076  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6077fi
6078cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6079/* end confdefs.h.  */
6080int foo;
6081int
6082main ()
6083{
6084
6085  ;
6086  return 0;
6087}
6088_ACEOF
6089if ac_fn_c_try_link "$LINENO"; then :
6090  gfortran_use_symver=gnu
6091else
6092  gfortran_use_symver=no
6093fi
6094rm -f core conftest.err conftest.$ac_objext \
6095    conftest$ac_exeext conftest.$ac_ext
6096  if test x$gfortran_use_symver = xno; then
6097    case "$target_os" in
6098      solaris2*)
6099        LDFLAGS="$save_LDFLAGS"
6100        LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
6101        # Sun ld cannot handle wildcards and treats all entries as undefined.
6102        cat > conftest.map <<EOF
6103FOO_1.0 {
6104  global: foo; local: *;
6105};
6106EOF
6107        if test x$gcc_no_link = xyes; then
6108  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6109fi
6110cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6111/* end confdefs.h.  */
6112int foo;
6113int
6114main ()
6115{
6116
6117  ;
6118  return 0;
6119}
6120_ACEOF
6121if ac_fn_c_try_link "$LINENO"; then :
6122  gfortran_use_symver=sun
6123else
6124  gfortran_use_symver=no
6125fi
6126rm -f core conftest.err conftest.$ac_objext \
6127    conftest$ac_exeext conftest.$ac_ext
6128        ;;
6129    esac
6130  fi
6131  LDFLAGS="$save_LDFLAGS"
6132fi
6133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
6134$as_echo "$gfortran_use_symver" >&6; }
6135 if test "x$gfortran_use_symver" != xno; then
6136  LIBGFOR_USE_SYMVER_TRUE=
6137  LIBGFOR_USE_SYMVER_FALSE='#'
6138else
6139  LIBGFOR_USE_SYMVER_TRUE='#'
6140  LIBGFOR_USE_SYMVER_FALSE=
6141fi
6142
6143 if test "x$gfortran_use_symver" = xgnu; then
6144  LIBGFOR_USE_SYMVER_GNU_TRUE=
6145  LIBGFOR_USE_SYMVER_GNU_FALSE='#'
6146else
6147  LIBGFOR_USE_SYMVER_GNU_TRUE='#'
6148  LIBGFOR_USE_SYMVER_GNU_FALSE=
6149fi
6150
6151 if test "x$gfortran_use_symver" = xsun; then
6152  LIBGFOR_USE_SYMVER_SUN_TRUE=
6153  LIBGFOR_USE_SYMVER_SUN_FALSE='#'
6154else
6155  LIBGFOR_USE_SYMVER_SUN_TRUE='#'
6156  LIBGFOR_USE_SYMVER_SUN_FALSE=
6157fi
6158
6159
6160# For GPU offloading, not everything in libfortran can be supported.
6161# Currently, the only target that has this problem is nvptx.  The
6162# following is a (partial) list of features that are unsupportable on
6163# this particular target:
6164# * Constructors
6165# * alloca
6166# * C library support for I/O, with printf as the one notable exception
6167# * C library support for other features such as signal, environment
6168#   variables, time functions
6169
6170 if test "x${target_cpu}" = xnvptx \
6171				 || test "x${target_cpu}" = xamdgcn; then
6172  LIBGFOR_MINIMAL_TRUE=
6173  LIBGFOR_MINIMAL_FALSE='#'
6174else
6175  LIBGFOR_MINIMAL_TRUE='#'
6176  LIBGFOR_MINIMAL_FALSE=
6177fi
6178
6179
6180# Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6181# similarly to how libstdc++ does it
6182ac_test_CFLAGS="${CFLAGS+set}"
6183ac_save_CFLAGS="$CFLAGS"
6184
6185# Check for -ffunction-sections -fdata-sections
6186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6187$as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6188CFLAGS='-Werror -ffunction-sections -fdata-sections'
6189cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6190/* end confdefs.h.  */
6191
6192int
6193main ()
6194{
6195int foo;
6196  ;
6197  return 0;
6198}
6199_ACEOF
6200if ac_fn_c_try_compile "$LINENO"; then :
6201  ac_fdsections=yes
6202else
6203  ac_fdsections=no
6204fi
6205rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6206if test "$ac_test_CFLAGS" = set; then
6207  CFLAGS="$ac_save_CFLAGS"
6208else
6209  # this is the suspicious part
6210  CFLAGS=""
6211fi
6212if test x"$ac_fdsections" = x"yes"; then
6213  SECTION_FLAGS='-ffunction-sections -fdata-sections'
6214fi
6215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6216$as_echo "$ac_fdsections" >&6; }
6217
6218
6219# Check linker hardware capability support.
6220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6221$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6222if ${ac_cv_path_SED+:} false; then :
6223  $as_echo_n "(cached) " >&6
6224else
6225            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6226     for ac_i in 1 2 3 4 5 6 7; do
6227       ac_script="$ac_script$as_nl$ac_script"
6228     done
6229     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6230     { ac_script=; unset ac_script;}
6231     if test -z "$SED"; then
6232  ac_path_SED_found=false
6233  # Loop through the user's path and test for each of PROGNAME-LIST
6234  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6235for as_dir in $PATH
6236do
6237  IFS=$as_save_IFS
6238  test -z "$as_dir" && as_dir=.
6239    for ac_prog in sed gsed; do
6240    for ac_exec_ext in '' $ac_executable_extensions; do
6241      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6242      as_fn_executable_p "$ac_path_SED" || continue
6243# Check for GNU ac_path_SED and select it if it is found.
6244  # Check for GNU $ac_path_SED
6245case `"$ac_path_SED" --version 2>&1` in
6246*GNU*)
6247  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6248*)
6249  ac_count=0
6250  $as_echo_n 0123456789 >"conftest.in"
6251  while :
6252  do
6253    cat "conftest.in" "conftest.in" >"conftest.tmp"
6254    mv "conftest.tmp" "conftest.in"
6255    cp "conftest.in" "conftest.nl"
6256    $as_echo '' >> "conftest.nl"
6257    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6258    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6259    as_fn_arith $ac_count + 1 && ac_count=$as_val
6260    if test $ac_count -gt ${ac_path_SED_max-0}; then
6261      # Best one so far, save it but keep looking for a better one
6262      ac_cv_path_SED="$ac_path_SED"
6263      ac_path_SED_max=$ac_count
6264    fi
6265    # 10*(2^10) chars as input seems more than enough
6266    test $ac_count -gt 10 && break
6267  done
6268  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6269esac
6270
6271      $ac_path_SED_found && break 3
6272    done
6273  done
6274  done
6275IFS=$as_save_IFS
6276  if test -z "$ac_cv_path_SED"; then
6277    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6278  fi
6279else
6280  ac_cv_path_SED=$SED
6281fi
6282
6283fi
6284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6285$as_echo "$ac_cv_path_SED" >&6; }
6286 SED="$ac_cv_path_SED"
6287  rm -f conftest.sed
6288
6289test -z "$SED" && SED=sed
6290Xsed="$SED -e 1s/^X//"
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6303$as_echo_n "checking for fgrep... " >&6; }
6304if ${ac_cv_path_FGREP+:} false; then :
6305  $as_echo_n "(cached) " >&6
6306else
6307  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6308   then ac_cv_path_FGREP="$GREP -F"
6309   else
6310     if test -z "$FGREP"; then
6311  ac_path_FGREP_found=false
6312  # Loop through the user's path and test for each of PROGNAME-LIST
6313  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6314for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6315do
6316  IFS=$as_save_IFS
6317  test -z "$as_dir" && as_dir=.
6318    for ac_prog in fgrep; do
6319    for ac_exec_ext in '' $ac_executable_extensions; do
6320      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6321      as_fn_executable_p "$ac_path_FGREP" || continue
6322# Check for GNU ac_path_FGREP and select it if it is found.
6323  # Check for GNU $ac_path_FGREP
6324case `"$ac_path_FGREP" --version 2>&1` in
6325*GNU*)
6326  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6327*)
6328  ac_count=0
6329  $as_echo_n 0123456789 >"conftest.in"
6330  while :
6331  do
6332    cat "conftest.in" "conftest.in" >"conftest.tmp"
6333    mv "conftest.tmp" "conftest.in"
6334    cp "conftest.in" "conftest.nl"
6335    $as_echo 'FGREP' >> "conftest.nl"
6336    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6337    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6338    as_fn_arith $ac_count + 1 && ac_count=$as_val
6339    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6340      # Best one so far, save it but keep looking for a better one
6341      ac_cv_path_FGREP="$ac_path_FGREP"
6342      ac_path_FGREP_max=$ac_count
6343    fi
6344    # 10*(2^10) chars as input seems more than enough
6345    test $ac_count -gt 10 && break
6346  done
6347  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6348esac
6349
6350      $ac_path_FGREP_found && break 3
6351    done
6352  done
6353  done
6354IFS=$as_save_IFS
6355  if test -z "$ac_cv_path_FGREP"; then
6356    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6357  fi
6358else
6359  ac_cv_path_FGREP=$FGREP
6360fi
6361
6362   fi
6363fi
6364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6365$as_echo "$ac_cv_path_FGREP" >&6; }
6366 FGREP="$ac_cv_path_FGREP"
6367
6368
6369test -z "$GREP" && GREP=grep
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6388ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6389ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6390
6391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6392$as_echo_n "checking how to print strings... " >&6; }
6393# Test print first, because it will be a builtin if present.
6394if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6395   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6396  ECHO='print -r --'
6397elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6398  ECHO='printf %s\n'
6399else
6400  # Use this function as a fallback that always works.
6401  func_fallback_echo ()
6402  {
6403    eval 'cat <<_LTECHO_EOF
6404$1
6405_LTECHO_EOF'
6406  }
6407  ECHO='func_fallback_echo'
6408fi
6409
6410# func_echo_all arg...
6411# Invoke $ECHO with all args, space-separated.
6412func_echo_all ()
6413{
6414    $ECHO ""
6415}
6416
6417case "$ECHO" in
6418  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6419$as_echo "printf" >&6; } ;;
6420  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6421$as_echo "print -r" >&6; } ;;
6422  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6423$as_echo "cat" >&6; } ;;
6424esac
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441# Check whether --with-gnu-ld was given.
6442if test "${with_gnu_ld+set}" = set; then :
6443  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6444else
6445  with_gnu_ld=no
6446fi
6447
6448ac_prog=ld
6449if test "$GCC" = yes; then
6450  # Check if gcc -print-prog-name=ld gives a path.
6451  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6452$as_echo_n "checking for ld used by $CC... " >&6; }
6453  case $host in
6454  *-*-mingw*)
6455    # gcc leaves a trailing carriage return which upsets mingw
6456    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6457  *)
6458    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6459  esac
6460  case $ac_prog in
6461    # Accept absolute paths.
6462    [\\/]* | ?:[\\/]*)
6463      re_direlt='/[^/][^/]*/\.\./'
6464      # Canonicalize the pathname of ld
6465      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6466      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6467	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6468      done
6469      test -z "$LD" && LD="$ac_prog"
6470      ;;
6471  "")
6472    # If it fails, then pretend we aren't using GCC.
6473    ac_prog=ld
6474    ;;
6475  *)
6476    # If it is relative, then search for the first ld in PATH.
6477    with_gnu_ld=unknown
6478    ;;
6479  esac
6480elif test "$with_gnu_ld" = yes; then
6481  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6482$as_echo_n "checking for GNU ld... " >&6; }
6483else
6484  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6485$as_echo_n "checking for non-GNU ld... " >&6; }
6486fi
6487if ${lt_cv_path_LD+:} false; then :
6488  $as_echo_n "(cached) " >&6
6489else
6490  if test -z "$LD"; then
6491  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6492  for ac_dir in $PATH; do
6493    IFS="$lt_save_ifs"
6494    test -z "$ac_dir" && ac_dir=.
6495    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6496      lt_cv_path_LD="$ac_dir/$ac_prog"
6497      # Check to see if the program is GNU ld.  I'd rather use --version,
6498      # but apparently some variants of GNU ld only accept -v.
6499      # Break only if it was the GNU/non-GNU ld that we prefer.
6500      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6501      *GNU* | *'with BFD'*)
6502	test "$with_gnu_ld" != no && break
6503	;;
6504      *)
6505	test "$with_gnu_ld" != yes && break
6506	;;
6507      esac
6508    fi
6509  done
6510  IFS="$lt_save_ifs"
6511else
6512  lt_cv_path_LD="$LD" # Let the user override the test with a path.
6513fi
6514fi
6515
6516LD="$lt_cv_path_LD"
6517if test -n "$LD"; then
6518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6519$as_echo "$LD" >&6; }
6520else
6521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6522$as_echo "no" >&6; }
6523fi
6524test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6526$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6527if ${lt_cv_prog_gnu_ld+:} false; then :
6528  $as_echo_n "(cached) " >&6
6529else
6530  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6531case `$LD -v 2>&1 </dev/null` in
6532*GNU* | *'with BFD'*)
6533  lt_cv_prog_gnu_ld=yes
6534  ;;
6535*)
6536  lt_cv_prog_gnu_ld=no
6537  ;;
6538esac
6539fi
6540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6541$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6542with_gnu_ld=$lt_cv_prog_gnu_ld
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553  test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6554
6555
6556  ac_save_LDFLAGS="$LDFLAGS"
6557  LDFLAGS="$LFLAGS -mclear-hwcap"
6558
6559  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6560$as_echo_n "checking for -mclear-hwcap... " >&6; }
6561  if test x$gcc_no_link = xyes; then
6562  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6563fi
6564cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6565/* end confdefs.h.  */
6566
6567int
6568main ()
6569{
6570return 0;
6571  ;
6572  return 0;
6573}
6574_ACEOF
6575if ac_fn_c_try_link "$LINENO"; then :
6576  ac_hwcap_ldflags=yes
6577else
6578  ac_hwcap_ldflags=no
6579fi
6580rm -f core conftest.err conftest.$ac_objext \
6581    conftest$ac_exeext conftest.$ac_ext
6582  if test "$ac_hwcap_ldflags" = "yes"; then
6583    HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6584  fi
6585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6586$as_echo "$ac_hwcap_ldflags" >&6; }
6587
6588  LDFLAGS="$ac_save_LDFLAGS"
6589
6590
6591
6592   if test $ac_hwcap_ldflags != no; then
6593  HAVE_HWCAP_TRUE=
6594  HAVE_HWCAP_FALSE='#'
6595else
6596  HAVE_HWCAP_TRUE='#'
6597  HAVE_HWCAP_FALSE=
6598fi
6599
6600
6601
6602# Find other programs we need.
6603if test -n "$ac_tool_prefix"; then
6604  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6605set dummy ${ac_tool_prefix}as; ac_word=$2
6606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6607$as_echo_n "checking for $ac_word... " >&6; }
6608if ${ac_cv_prog_AS+:} false; then :
6609  $as_echo_n "(cached) " >&6
6610else
6611  if test -n "$AS"; then
6612  ac_cv_prog_AS="$AS" # Let the user override the test.
6613else
6614as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6615for as_dir in $PATH
6616do
6617  IFS=$as_save_IFS
6618  test -z "$as_dir" && as_dir=.
6619    for ac_exec_ext in '' $ac_executable_extensions; do
6620  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6621    ac_cv_prog_AS="${ac_tool_prefix}as"
6622    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6623    break 2
6624  fi
6625done
6626  done
6627IFS=$as_save_IFS
6628
6629fi
6630fi
6631AS=$ac_cv_prog_AS
6632if test -n "$AS"; then
6633  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6634$as_echo "$AS" >&6; }
6635else
6636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6637$as_echo "no" >&6; }
6638fi
6639
6640
6641fi
6642if test -z "$ac_cv_prog_AS"; then
6643  ac_ct_AS=$AS
6644  # Extract the first word of "as", so it can be a program name with args.
6645set dummy as; ac_word=$2
6646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6647$as_echo_n "checking for $ac_word... " >&6; }
6648if ${ac_cv_prog_ac_ct_AS+:} false; then :
6649  $as_echo_n "(cached) " >&6
6650else
6651  if test -n "$ac_ct_AS"; then
6652  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6653else
6654as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6655for as_dir in $PATH
6656do
6657  IFS=$as_save_IFS
6658  test -z "$as_dir" && as_dir=.
6659    for ac_exec_ext in '' $ac_executable_extensions; do
6660  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6661    ac_cv_prog_ac_ct_AS="as"
6662    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6663    break 2
6664  fi
6665done
6666  done
6667IFS=$as_save_IFS
6668
6669fi
6670fi
6671ac_ct_AS=$ac_cv_prog_ac_ct_AS
6672if test -n "$ac_ct_AS"; then
6673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6674$as_echo "$ac_ct_AS" >&6; }
6675else
6676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6677$as_echo "no" >&6; }
6678fi
6679
6680  if test "x$ac_ct_AS" = x; then
6681    AS=""
6682  else
6683    case $cross_compiling:$ac_tool_warned in
6684yes:)
6685{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6686$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6687ac_tool_warned=yes ;;
6688esac
6689    AS=$ac_ct_AS
6690  fi
6691else
6692  AS="$ac_cv_prog_AS"
6693fi
6694
6695if test -n "$ac_tool_prefix"; then
6696  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6697set dummy ${ac_tool_prefix}ar; ac_word=$2
6698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6699$as_echo_n "checking for $ac_word... " >&6; }
6700if ${ac_cv_prog_AR+:} false; then :
6701  $as_echo_n "(cached) " >&6
6702else
6703  if test -n "$AR"; then
6704  ac_cv_prog_AR="$AR" # Let the user override the test.
6705else
6706as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6707for as_dir in $PATH
6708do
6709  IFS=$as_save_IFS
6710  test -z "$as_dir" && as_dir=.
6711    for ac_exec_ext in '' $ac_executable_extensions; do
6712  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6713    ac_cv_prog_AR="${ac_tool_prefix}ar"
6714    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6715    break 2
6716  fi
6717done
6718  done
6719IFS=$as_save_IFS
6720
6721fi
6722fi
6723AR=$ac_cv_prog_AR
6724if test -n "$AR"; then
6725  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6726$as_echo "$AR" >&6; }
6727else
6728  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6729$as_echo "no" >&6; }
6730fi
6731
6732
6733fi
6734if test -z "$ac_cv_prog_AR"; then
6735  ac_ct_AR=$AR
6736  # Extract the first word of "ar", so it can be a program name with args.
6737set dummy ar; ac_word=$2
6738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6739$as_echo_n "checking for $ac_word... " >&6; }
6740if ${ac_cv_prog_ac_ct_AR+:} false; then :
6741  $as_echo_n "(cached) " >&6
6742else
6743  if test -n "$ac_ct_AR"; then
6744  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6745else
6746as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6747for as_dir in $PATH
6748do
6749  IFS=$as_save_IFS
6750  test -z "$as_dir" && as_dir=.
6751    for ac_exec_ext in '' $ac_executable_extensions; do
6752  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6753    ac_cv_prog_ac_ct_AR="ar"
6754    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6755    break 2
6756  fi
6757done
6758  done
6759IFS=$as_save_IFS
6760
6761fi
6762fi
6763ac_ct_AR=$ac_cv_prog_ac_ct_AR
6764if test -n "$ac_ct_AR"; then
6765  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6766$as_echo "$ac_ct_AR" >&6; }
6767else
6768  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6769$as_echo "no" >&6; }
6770fi
6771
6772  if test "x$ac_ct_AR" = x; then
6773    AR=""
6774  else
6775    case $cross_compiling:$ac_tool_warned in
6776yes:)
6777{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6778$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6779ac_tool_warned=yes ;;
6780esac
6781    AR=$ac_ct_AR
6782  fi
6783else
6784  AR="$ac_cv_prog_AR"
6785fi
6786
6787if test -n "$ac_tool_prefix"; then
6788  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6789set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6791$as_echo_n "checking for $ac_word... " >&6; }
6792if ${ac_cv_prog_RANLIB+:} false; then :
6793  $as_echo_n "(cached) " >&6
6794else
6795  if test -n "$RANLIB"; then
6796  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6797else
6798as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6799for as_dir in $PATH
6800do
6801  IFS=$as_save_IFS
6802  test -z "$as_dir" && as_dir=.
6803    for ac_exec_ext in '' $ac_executable_extensions; do
6804  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6805    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6806    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6807    break 2
6808  fi
6809done
6810  done
6811IFS=$as_save_IFS
6812
6813fi
6814fi
6815RANLIB=$ac_cv_prog_RANLIB
6816if test -n "$RANLIB"; then
6817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6818$as_echo "$RANLIB" >&6; }
6819else
6820  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6821$as_echo "no" >&6; }
6822fi
6823
6824
6825fi
6826if test -z "$ac_cv_prog_RANLIB"; then
6827  ac_ct_RANLIB=$RANLIB
6828  # Extract the first word of "ranlib", so it can be a program name with args.
6829set dummy ranlib; ac_word=$2
6830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831$as_echo_n "checking for $ac_word... " >&6; }
6832if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6833  $as_echo_n "(cached) " >&6
6834else
6835  if test -n "$ac_ct_RANLIB"; then
6836  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6837else
6838as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6839for as_dir in $PATH
6840do
6841  IFS=$as_save_IFS
6842  test -z "$as_dir" && as_dir=.
6843    for ac_exec_ext in '' $ac_executable_extensions; do
6844  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6845    ac_cv_prog_ac_ct_RANLIB="ranlib"
6846    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6847    break 2
6848  fi
6849done
6850  done
6851IFS=$as_save_IFS
6852
6853fi
6854fi
6855ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6856if test -n "$ac_ct_RANLIB"; then
6857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6858$as_echo "$ac_ct_RANLIB" >&6; }
6859else
6860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861$as_echo "no" >&6; }
6862fi
6863
6864  if test "x$ac_ct_RANLIB" = x; then
6865    RANLIB="ranlib-not-found-in-path-error"
6866  else
6867    case $cross_compiling:$ac_tool_warned in
6868yes:)
6869{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6870$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6871ac_tool_warned=yes ;;
6872esac
6873    RANLIB=$ac_ct_RANLIB
6874  fi
6875else
6876  RANLIB="$ac_cv_prog_RANLIB"
6877fi
6878
6879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6880$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6881set x ${MAKE-make}
6882ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6883if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6884  $as_echo_n "(cached) " >&6
6885else
6886  cat >conftest.make <<\_ACEOF
6887SHELL = /bin/sh
6888all:
6889	@echo '@@@%%%=$(MAKE)=@@@%%%'
6890_ACEOF
6891# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6892case `${MAKE-make} -f conftest.make 2>/dev/null` in
6893  *@@@%%%=?*=@@@%%%*)
6894    eval ac_cv_prog_make_${ac_make}_set=yes;;
6895  *)
6896    eval ac_cv_prog_make_${ac_make}_set=no;;
6897esac
6898rm -f conftest.make
6899fi
6900if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6902$as_echo "yes" >&6; }
6903  SET_MAKE=
6904else
6905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6906$as_echo "no" >&6; }
6907  SET_MAKE="MAKE=${MAKE-make}"
6908fi
6909
6910
6911
6912# Configure libtool
6913#AC_MSG_NOTICE([====== Starting libtool configuration])
6914enable_dlopen=yes
6915
6916
6917
6918case `pwd` in
6919  *\ * | *\	*)
6920    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6921$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6922esac
6923
6924
6925
6926macro_version='2.2.7a'
6927macro_revision='1.3134'
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941ltmain="$ac_aux_dir/ltmain.sh"
6942
6943# Backslashify metacharacters that are still active within
6944# double-quoted strings.
6945sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6946
6947# Same as above, but do not quote variable references.
6948double_quote_subst='s/\(["`\\]\)/\\\1/g'
6949
6950# Sed substitution to delay expansion of an escaped shell variable in a
6951# double_quote_subst'ed string.
6952delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6953
6954# Sed substitution to delay expansion of an escaped single quote.
6955delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6956
6957# Sed substitution to avoid accidental globbing in evaled expressions
6958no_glob_subst='s/\*/\\\*/g'
6959
6960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6961$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6962if ${lt_cv_path_NM+:} false; then :
6963  $as_echo_n "(cached) " >&6
6964else
6965  if test -n "$NM"; then
6966  # Let the user override the test.
6967  lt_cv_path_NM="$NM"
6968else
6969  lt_nm_to_check="${ac_tool_prefix}nm"
6970  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6971    lt_nm_to_check="$lt_nm_to_check nm"
6972  fi
6973  for lt_tmp_nm in $lt_nm_to_check; do
6974    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6975    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6976      IFS="$lt_save_ifs"
6977      test -z "$ac_dir" && ac_dir=.
6978      tmp_nm="$ac_dir/$lt_tmp_nm"
6979      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6980	# Check to see if the nm accepts a BSD-compat flag.
6981	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
6982	#   nm: unknown option "B" ignored
6983	# Tru64's nm complains that /dev/null is an invalid object file
6984	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6985	*/dev/null* | *'Invalid file or object type'*)
6986	  lt_cv_path_NM="$tmp_nm -B"
6987	  break
6988	  ;;
6989	*)
6990	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6991	  */dev/null*)
6992	    lt_cv_path_NM="$tmp_nm -p"
6993	    break
6994	    ;;
6995	  *)
6996	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6997	    continue # so that we can try to find one that supports BSD flags
6998	    ;;
6999	  esac
7000	  ;;
7001	esac
7002      fi
7003    done
7004    IFS="$lt_save_ifs"
7005  done
7006  : ${lt_cv_path_NM=no}
7007fi
7008fi
7009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7010$as_echo "$lt_cv_path_NM" >&6; }
7011if test "$lt_cv_path_NM" != "no"; then
7012  NM="$lt_cv_path_NM"
7013else
7014  # Didn't find any BSD compatible name lister, look for dumpbin.
7015  if test -n "$DUMPBIN"; then :
7016    # Let the user override the test.
7017  else
7018    if test -n "$ac_tool_prefix"; then
7019  for ac_prog in dumpbin "link -dump"
7020  do
7021    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7022set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7024$as_echo_n "checking for $ac_word... " >&6; }
7025if ${ac_cv_prog_DUMPBIN+:} false; then :
7026  $as_echo_n "(cached) " >&6
7027else
7028  if test -n "$DUMPBIN"; then
7029  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7030else
7031as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7032for as_dir in $PATH
7033do
7034  IFS=$as_save_IFS
7035  test -z "$as_dir" && as_dir=.
7036    for ac_exec_ext in '' $ac_executable_extensions; do
7037  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7038    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7039    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7040    break 2
7041  fi
7042done
7043  done
7044IFS=$as_save_IFS
7045
7046fi
7047fi
7048DUMPBIN=$ac_cv_prog_DUMPBIN
7049if test -n "$DUMPBIN"; then
7050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7051$as_echo "$DUMPBIN" >&6; }
7052else
7053  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7054$as_echo "no" >&6; }
7055fi
7056
7057
7058    test -n "$DUMPBIN" && break
7059  done
7060fi
7061if test -z "$DUMPBIN"; then
7062  ac_ct_DUMPBIN=$DUMPBIN
7063  for ac_prog in dumpbin "link -dump"
7064do
7065  # Extract the first word of "$ac_prog", so it can be a program name with args.
7066set dummy $ac_prog; ac_word=$2
7067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7068$as_echo_n "checking for $ac_word... " >&6; }
7069if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7070  $as_echo_n "(cached) " >&6
7071else
7072  if test -n "$ac_ct_DUMPBIN"; then
7073  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7074else
7075as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7076for as_dir in $PATH
7077do
7078  IFS=$as_save_IFS
7079  test -z "$as_dir" && as_dir=.
7080    for ac_exec_ext in '' $ac_executable_extensions; do
7081  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7082    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7083    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7084    break 2
7085  fi
7086done
7087  done
7088IFS=$as_save_IFS
7089
7090fi
7091fi
7092ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7093if test -n "$ac_ct_DUMPBIN"; then
7094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7095$as_echo "$ac_ct_DUMPBIN" >&6; }
7096else
7097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7098$as_echo "no" >&6; }
7099fi
7100
7101
7102  test -n "$ac_ct_DUMPBIN" && break
7103done
7104
7105  if test "x$ac_ct_DUMPBIN" = x; then
7106    DUMPBIN=":"
7107  else
7108    case $cross_compiling:$ac_tool_warned in
7109yes:)
7110{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7111$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7112ac_tool_warned=yes ;;
7113esac
7114    DUMPBIN=$ac_ct_DUMPBIN
7115  fi
7116fi
7117
7118    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7119    *COFF*)
7120      DUMPBIN="$DUMPBIN -symbols"
7121      ;;
7122    *)
7123      DUMPBIN=:
7124      ;;
7125    esac
7126  fi
7127
7128  if test "$DUMPBIN" != ":"; then
7129    NM="$DUMPBIN"
7130  fi
7131fi
7132test -z "$NM" && NM=nm
7133
7134
7135
7136
7137
7138
7139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7140$as_echo_n "checking the name lister ($NM) interface... " >&6; }
7141if ${lt_cv_nm_interface+:} false; then :
7142  $as_echo_n "(cached) " >&6
7143else
7144  lt_cv_nm_interface="BSD nm"
7145  echo "int some_variable = 0;" > conftest.$ac_ext
7146  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7147  (eval "$ac_compile" 2>conftest.err)
7148  cat conftest.err >&5
7149  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7150  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7151  cat conftest.err >&5
7152  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7153  cat conftest.out >&5
7154  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7155    lt_cv_nm_interface="MS dumpbin"
7156  fi
7157  rm -f conftest*
7158fi
7159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7160$as_echo "$lt_cv_nm_interface" >&6; }
7161
7162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7163$as_echo_n "checking whether ln -s works... " >&6; }
7164LN_S=$as_ln_s
7165if test "$LN_S" = "ln -s"; then
7166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7167$as_echo "yes" >&6; }
7168else
7169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7170$as_echo "no, using $LN_S" >&6; }
7171fi
7172
7173# find the maximum length of command line arguments
7174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7175$as_echo_n "checking the maximum length of command line arguments... " >&6; }
7176if ${lt_cv_sys_max_cmd_len+:} false; then :
7177  $as_echo_n "(cached) " >&6
7178else
7179    i=0
7180  teststring="ABCD"
7181
7182  case $build_os in
7183  msdosdjgpp*)
7184    # On DJGPP, this test can blow up pretty badly due to problems in libc
7185    # (any single argument exceeding 2000 bytes causes a buffer overrun
7186    # during glob expansion).  Even if it were fixed, the result of this
7187    # check would be larger than it should be.
7188    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7189    ;;
7190
7191  gnu*)
7192    # Under GNU Hurd, this test is not required because there is
7193    # no limit to the length of command line arguments.
7194    # Libtool will interpret -1 as no limit whatsoever
7195    lt_cv_sys_max_cmd_len=-1;
7196    ;;
7197
7198  cygwin* | mingw* | cegcc*)
7199    # On Win9x/ME, this test blows up -- it succeeds, but takes
7200    # about 5 minutes as the teststring grows exponentially.
7201    # Worse, since 9x/ME are not pre-emptively multitasking,
7202    # you end up with a "frozen" computer, even though with patience
7203    # the test eventually succeeds (with a max line length of 256k).
7204    # Instead, let's just punt: use the minimum linelength reported by
7205    # all of the supported platforms: 8192 (on NT/2K/XP).
7206    lt_cv_sys_max_cmd_len=8192;
7207    ;;
7208
7209  mint*)
7210    # On MiNT this can take a long time and run out of memory.
7211    lt_cv_sys_max_cmd_len=8192;
7212    ;;
7213
7214  amigaos*)
7215    # On AmigaOS with pdksh, this test takes hours, literally.
7216    # So we just punt and use a minimum line length of 8192.
7217    lt_cv_sys_max_cmd_len=8192;
7218    ;;
7219
7220  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7221    # This has been around since 386BSD, at least.  Likely further.
7222    if test -x /sbin/sysctl; then
7223      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7224    elif test -x /usr/sbin/sysctl; then
7225      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7226    else
7227      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
7228    fi
7229    # And add a safety zone
7230    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7231    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7232    ;;
7233
7234  interix*)
7235    # We know the value 262144 and hardcode it with a safety zone (like BSD)
7236    lt_cv_sys_max_cmd_len=196608
7237    ;;
7238
7239  osf*)
7240    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7241    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7242    # nice to cause kernel panics so lets avoid the loop below.
7243    # First set a reasonable default.
7244    lt_cv_sys_max_cmd_len=16384
7245    #
7246    if test -x /sbin/sysconfig; then
7247      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7248        *1*) lt_cv_sys_max_cmd_len=-1 ;;
7249      esac
7250    fi
7251    ;;
7252  sco3.2v5*)
7253    lt_cv_sys_max_cmd_len=102400
7254    ;;
7255  sysv5* | sco5v6* | sysv4.2uw2*)
7256    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7257    if test -n "$kargmax"; then
7258      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
7259    else
7260      lt_cv_sys_max_cmd_len=32768
7261    fi
7262    ;;
7263  *)
7264    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7265    if test -n "$lt_cv_sys_max_cmd_len"; then
7266      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7267      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7268    else
7269      # Make teststring a little bigger before we do anything with it.
7270      # a 1K string should be a reasonable start.
7271      for i in 1 2 3 4 5 6 7 8 ; do
7272        teststring=$teststring$teststring
7273      done
7274      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7275      # If test is not a shell built-in, we'll probably end up computing a
7276      # maximum length that is only half of the actual maximum length, but
7277      # we can't tell.
7278      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7279	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7280	      test $i != 17 # 1/2 MB should be enough
7281      do
7282        i=`expr $i + 1`
7283        teststring=$teststring$teststring
7284      done
7285      # Only check the string length outside the loop.
7286      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7287      teststring=
7288      # Add a significant safety factor because C++ compilers can tack on
7289      # massive amounts of additional arguments before passing them to the
7290      # linker.  It appears as though 1/2 is a usable value.
7291      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7292    fi
7293    ;;
7294  esac
7295
7296fi
7297
7298if test -n $lt_cv_sys_max_cmd_len ; then
7299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7300$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7301else
7302  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7303$as_echo "none" >&6; }
7304fi
7305max_cmd_len=$lt_cv_sys_max_cmd_len
7306
7307
7308
7309
7310
7311
7312: ${CP="cp -f"}
7313: ${MV="mv -f"}
7314: ${RM="rm -f"}
7315
7316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7317$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7318# Try some XSI features
7319xsi_shell=no
7320( _lt_dummy="a/b/c"
7321  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7322      = c,a/b,, \
7323    && eval 'test $(( 1 + 1 )) -eq 2 \
7324    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7325  && xsi_shell=yes
7326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7327$as_echo "$xsi_shell" >&6; }
7328
7329
7330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7331$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7332lt_shell_append=no
7333( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7334    >/dev/null 2>&1 \
7335  && lt_shell_append=yes
7336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7337$as_echo "$lt_shell_append" >&6; }
7338
7339
7340if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7341  lt_unset=unset
7342else
7343  lt_unset=false
7344fi
7345
7346
7347
7348
7349
7350# test EBCDIC or ASCII
7351case `echo X|tr X '\101'` in
7352 A) # ASCII based system
7353    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7354  lt_SP2NL='tr \040 \012'
7355  lt_NL2SP='tr \015\012 \040\040'
7356  ;;
7357 *) # EBCDIC based system
7358  lt_SP2NL='tr \100 \n'
7359  lt_NL2SP='tr \r\n \100\100'
7360  ;;
7361esac
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7372$as_echo_n "checking for $LD option to reload object files... " >&6; }
7373if ${lt_cv_ld_reload_flag+:} false; then :
7374  $as_echo_n "(cached) " >&6
7375else
7376  lt_cv_ld_reload_flag='-r'
7377fi
7378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7379$as_echo "$lt_cv_ld_reload_flag" >&6; }
7380reload_flag=$lt_cv_ld_reload_flag
7381case $reload_flag in
7382"" | " "*) ;;
7383*) reload_flag=" $reload_flag" ;;
7384esac
7385reload_cmds='$LD$reload_flag -o $output$reload_objs'
7386case $host_os in
7387  darwin*)
7388    if test "$GCC" = yes; then
7389      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7390    else
7391      reload_cmds='$LD$reload_flag -o $output$reload_objs'
7392    fi
7393    ;;
7394esac
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404if test -n "$ac_tool_prefix"; then
7405  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7406set dummy ${ac_tool_prefix}objdump; ac_word=$2
7407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7408$as_echo_n "checking for $ac_word... " >&6; }
7409if ${ac_cv_prog_OBJDUMP+:} false; then :
7410  $as_echo_n "(cached) " >&6
7411else
7412  if test -n "$OBJDUMP"; then
7413  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7414else
7415as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7416for as_dir in $PATH
7417do
7418  IFS=$as_save_IFS
7419  test -z "$as_dir" && as_dir=.
7420    for ac_exec_ext in '' $ac_executable_extensions; do
7421  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7422    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7423    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7424    break 2
7425  fi
7426done
7427  done
7428IFS=$as_save_IFS
7429
7430fi
7431fi
7432OBJDUMP=$ac_cv_prog_OBJDUMP
7433if test -n "$OBJDUMP"; then
7434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7435$as_echo "$OBJDUMP" >&6; }
7436else
7437  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7438$as_echo "no" >&6; }
7439fi
7440
7441
7442fi
7443if test -z "$ac_cv_prog_OBJDUMP"; then
7444  ac_ct_OBJDUMP=$OBJDUMP
7445  # Extract the first word of "objdump", so it can be a program name with args.
7446set dummy objdump; ac_word=$2
7447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7448$as_echo_n "checking for $ac_word... " >&6; }
7449if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7450  $as_echo_n "(cached) " >&6
7451else
7452  if test -n "$ac_ct_OBJDUMP"; then
7453  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7454else
7455as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7456for as_dir in $PATH
7457do
7458  IFS=$as_save_IFS
7459  test -z "$as_dir" && as_dir=.
7460    for ac_exec_ext in '' $ac_executable_extensions; do
7461  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7462    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7463    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7464    break 2
7465  fi
7466done
7467  done
7468IFS=$as_save_IFS
7469
7470fi
7471fi
7472ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7473if test -n "$ac_ct_OBJDUMP"; then
7474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7475$as_echo "$ac_ct_OBJDUMP" >&6; }
7476else
7477  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7478$as_echo "no" >&6; }
7479fi
7480
7481  if test "x$ac_ct_OBJDUMP" = x; then
7482    OBJDUMP="false"
7483  else
7484    case $cross_compiling:$ac_tool_warned in
7485yes:)
7486{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7487$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7488ac_tool_warned=yes ;;
7489esac
7490    OBJDUMP=$ac_ct_OBJDUMP
7491  fi
7492else
7493  OBJDUMP="$ac_cv_prog_OBJDUMP"
7494fi
7495
7496test -z "$OBJDUMP" && OBJDUMP=objdump
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7507$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7508if ${lt_cv_deplibs_check_method+:} false; then :
7509  $as_echo_n "(cached) " >&6
7510else
7511  lt_cv_file_magic_cmd='$MAGIC_CMD'
7512lt_cv_file_magic_test_file=
7513lt_cv_deplibs_check_method='unknown'
7514# Need to set the preceding variable on all platforms that support
7515# interlibrary dependencies.
7516# 'none' -- dependencies not supported.
7517# `unknown' -- same as none, but documents that we really don't know.
7518# 'pass_all' -- all dependencies passed with no checks.
7519# 'test_compile' -- check by making test program.
7520# 'file_magic [[regex]]' -- check by looking for files in library path
7521# which responds to the $file_magic_cmd with a given extended regex.
7522# If you have `file' or equivalent on your system and you're not sure
7523# whether `pass_all' will *always* work, you probably want this one.
7524
7525case $host_os in
7526aix[4-9]*)
7527  lt_cv_deplibs_check_method=pass_all
7528  ;;
7529
7530beos*)
7531  lt_cv_deplibs_check_method=pass_all
7532  ;;
7533
7534bsdi[45]*)
7535  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7536  lt_cv_file_magic_cmd='/usr/bin/file -L'
7537  lt_cv_file_magic_test_file=/shlib/libc.so
7538  ;;
7539
7540cygwin*)
7541  # func_win32_libid is a shell function defined in ltmain.sh
7542  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7543  lt_cv_file_magic_cmd='func_win32_libid'
7544  ;;
7545
7546mingw* | pw32*)
7547  # Base MSYS/MinGW do not provide the 'file' command needed by
7548  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7549  # unless we find 'file', for example because we are cross-compiling.
7550  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7551  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7552    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7553    lt_cv_file_magic_cmd='func_win32_libid'
7554  else
7555    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7556    lt_cv_file_magic_cmd='$OBJDUMP -f'
7557  fi
7558  ;;
7559
7560cegcc*)
7561  # use the weaker test based on 'objdump'. See mingw*.
7562  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7563  lt_cv_file_magic_cmd='$OBJDUMP -f'
7564  ;;
7565
7566darwin* | rhapsody*)
7567  lt_cv_deplibs_check_method=pass_all
7568  ;;
7569
7570freebsd* | dragonfly*)
7571  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7572    case $host_cpu in
7573    i*86 )
7574      # Not sure whether the presence of OpenBSD here was a mistake.
7575      # Let's accept both of them until this is cleared up.
7576      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7577      lt_cv_file_magic_cmd=/usr/bin/file
7578      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7579      ;;
7580    esac
7581  else
7582    lt_cv_deplibs_check_method=pass_all
7583  fi
7584  ;;
7585
7586gnu*)
7587  lt_cv_deplibs_check_method=pass_all
7588  ;;
7589
7590haiku*)
7591  lt_cv_deplibs_check_method=pass_all
7592  ;;
7593
7594hpux10.20* | hpux11*)
7595  lt_cv_file_magic_cmd=/usr/bin/file
7596  case $host_cpu in
7597  ia64*)
7598    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7599    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7600    ;;
7601  hppa*64*)
7602    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]'
7603    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7604    ;;
7605  *)
7606    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7607    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7608    ;;
7609  esac
7610  ;;
7611
7612interix[3-9]*)
7613  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7614  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7615  ;;
7616
7617irix5* | irix6* | nonstopux*)
7618  case $LD in
7619  *-32|*"-32 ") libmagic=32-bit;;
7620  *-n32|*"-n32 ") libmagic=N32;;
7621  *-64|*"-64 ") libmagic=64-bit;;
7622  *) libmagic=never-match;;
7623  esac
7624  lt_cv_deplibs_check_method=pass_all
7625  ;;
7626
7627# This must be Linux ELF.
7628linux* | k*bsd*-gnu | kopensolaris*-gnu)
7629  lt_cv_deplibs_check_method=pass_all
7630  ;;
7631
7632netbsd*)
7633  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7634    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7635  else
7636    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7637  fi
7638  ;;
7639
7640newos6*)
7641  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7642  lt_cv_file_magic_cmd=/usr/bin/file
7643  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7644  ;;
7645
7646*nto* | *qnx*)
7647  lt_cv_deplibs_check_method=pass_all
7648  ;;
7649
7650openbsd*)
7651  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7652    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7653  else
7654    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7655  fi
7656  ;;
7657
7658osf3* | osf4* | osf5*)
7659  lt_cv_deplibs_check_method=pass_all
7660  ;;
7661
7662rdos*)
7663  lt_cv_deplibs_check_method=pass_all
7664  ;;
7665
7666solaris*)
7667  lt_cv_deplibs_check_method=pass_all
7668  ;;
7669
7670sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7671  lt_cv_deplibs_check_method=pass_all
7672  ;;
7673
7674sysv4 | sysv4.3*)
7675  case $host_vendor in
7676  motorola)
7677    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]'
7678    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7679    ;;
7680  ncr)
7681    lt_cv_deplibs_check_method=pass_all
7682    ;;
7683  sequent)
7684    lt_cv_file_magic_cmd='/bin/file'
7685    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7686    ;;
7687  sni)
7688    lt_cv_file_magic_cmd='/bin/file'
7689    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7690    lt_cv_file_magic_test_file=/lib/libc.so
7691    ;;
7692  siemens)
7693    lt_cv_deplibs_check_method=pass_all
7694    ;;
7695  pc)
7696    lt_cv_deplibs_check_method=pass_all
7697    ;;
7698  esac
7699  ;;
7700
7701tpf*)
7702  lt_cv_deplibs_check_method=pass_all
7703  ;;
7704esac
7705
7706fi
7707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7708$as_echo "$lt_cv_deplibs_check_method" >&6; }
7709file_magic_cmd=$lt_cv_file_magic_cmd
7710deplibs_check_method=$lt_cv_deplibs_check_method
7711test -z "$deplibs_check_method" && deplibs_check_method=unknown
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724if test -n "$ac_tool_prefix"; then
7725  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7726set dummy ${ac_tool_prefix}ar; ac_word=$2
7727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7728$as_echo_n "checking for $ac_word... " >&6; }
7729if ${ac_cv_prog_AR+:} false; then :
7730  $as_echo_n "(cached) " >&6
7731else
7732  if test -n "$AR"; then
7733  ac_cv_prog_AR="$AR" # Let the user override the test.
7734else
7735as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7736for as_dir in $PATH
7737do
7738  IFS=$as_save_IFS
7739  test -z "$as_dir" && as_dir=.
7740    for ac_exec_ext in '' $ac_executable_extensions; do
7741  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7742    ac_cv_prog_AR="${ac_tool_prefix}ar"
7743    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7744    break 2
7745  fi
7746done
7747  done
7748IFS=$as_save_IFS
7749
7750fi
7751fi
7752AR=$ac_cv_prog_AR
7753if test -n "$AR"; then
7754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7755$as_echo "$AR" >&6; }
7756else
7757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7758$as_echo "no" >&6; }
7759fi
7760
7761
7762fi
7763if test -z "$ac_cv_prog_AR"; then
7764  ac_ct_AR=$AR
7765  # Extract the first word of "ar", so it can be a program name with args.
7766set dummy ar; ac_word=$2
7767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7768$as_echo_n "checking for $ac_word... " >&6; }
7769if ${ac_cv_prog_ac_ct_AR+:} false; then :
7770  $as_echo_n "(cached) " >&6
7771else
7772  if test -n "$ac_ct_AR"; then
7773  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7774else
7775as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7776for as_dir in $PATH
7777do
7778  IFS=$as_save_IFS
7779  test -z "$as_dir" && as_dir=.
7780    for ac_exec_ext in '' $ac_executable_extensions; do
7781  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7782    ac_cv_prog_ac_ct_AR="ar"
7783    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7784    break 2
7785  fi
7786done
7787  done
7788IFS=$as_save_IFS
7789
7790fi
7791fi
7792ac_ct_AR=$ac_cv_prog_ac_ct_AR
7793if test -n "$ac_ct_AR"; then
7794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7795$as_echo "$ac_ct_AR" >&6; }
7796else
7797  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7798$as_echo "no" >&6; }
7799fi
7800
7801  if test "x$ac_ct_AR" = x; then
7802    AR="false"
7803  else
7804    case $cross_compiling:$ac_tool_warned in
7805yes:)
7806{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7807$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7808ac_tool_warned=yes ;;
7809esac
7810    AR=$ac_ct_AR
7811  fi
7812else
7813  AR="$ac_cv_prog_AR"
7814fi
7815
7816test -z "$AR" && AR=ar
7817test -z "$AR_FLAGS" && AR_FLAGS=cru
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829if test -n "$ac_tool_prefix"; then
7830  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7831set dummy ${ac_tool_prefix}strip; ac_word=$2
7832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7833$as_echo_n "checking for $ac_word... " >&6; }
7834if ${ac_cv_prog_STRIP+:} false; then :
7835  $as_echo_n "(cached) " >&6
7836else
7837  if test -n "$STRIP"; then
7838  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7839else
7840as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7841for as_dir in $PATH
7842do
7843  IFS=$as_save_IFS
7844  test -z "$as_dir" && as_dir=.
7845    for ac_exec_ext in '' $ac_executable_extensions; do
7846  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7847    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7848    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7849    break 2
7850  fi
7851done
7852  done
7853IFS=$as_save_IFS
7854
7855fi
7856fi
7857STRIP=$ac_cv_prog_STRIP
7858if test -n "$STRIP"; then
7859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7860$as_echo "$STRIP" >&6; }
7861else
7862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7863$as_echo "no" >&6; }
7864fi
7865
7866
7867fi
7868if test -z "$ac_cv_prog_STRIP"; then
7869  ac_ct_STRIP=$STRIP
7870  # Extract the first word of "strip", so it can be a program name with args.
7871set dummy strip; ac_word=$2
7872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7873$as_echo_n "checking for $ac_word... " >&6; }
7874if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7875  $as_echo_n "(cached) " >&6
7876else
7877  if test -n "$ac_ct_STRIP"; then
7878  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7879else
7880as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7881for as_dir in $PATH
7882do
7883  IFS=$as_save_IFS
7884  test -z "$as_dir" && as_dir=.
7885    for ac_exec_ext in '' $ac_executable_extensions; do
7886  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7887    ac_cv_prog_ac_ct_STRIP="strip"
7888    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7889    break 2
7890  fi
7891done
7892  done
7893IFS=$as_save_IFS
7894
7895fi
7896fi
7897ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7898if test -n "$ac_ct_STRIP"; then
7899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7900$as_echo "$ac_ct_STRIP" >&6; }
7901else
7902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7903$as_echo "no" >&6; }
7904fi
7905
7906  if test "x$ac_ct_STRIP" = x; then
7907    STRIP=":"
7908  else
7909    case $cross_compiling:$ac_tool_warned in
7910yes:)
7911{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7912$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7913ac_tool_warned=yes ;;
7914esac
7915    STRIP=$ac_ct_STRIP
7916  fi
7917else
7918  STRIP="$ac_cv_prog_STRIP"
7919fi
7920
7921test -z "$STRIP" && STRIP=:
7922
7923
7924
7925
7926
7927
7928if test -n "$ac_tool_prefix"; then
7929  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7930set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7932$as_echo_n "checking for $ac_word... " >&6; }
7933if ${ac_cv_prog_RANLIB+:} false; then :
7934  $as_echo_n "(cached) " >&6
7935else
7936  if test -n "$RANLIB"; then
7937  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7938else
7939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7940for as_dir in $PATH
7941do
7942  IFS=$as_save_IFS
7943  test -z "$as_dir" && as_dir=.
7944    for ac_exec_ext in '' $ac_executable_extensions; do
7945  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7946    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7947    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7948    break 2
7949  fi
7950done
7951  done
7952IFS=$as_save_IFS
7953
7954fi
7955fi
7956RANLIB=$ac_cv_prog_RANLIB
7957if test -n "$RANLIB"; then
7958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7959$as_echo "$RANLIB" >&6; }
7960else
7961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7962$as_echo "no" >&6; }
7963fi
7964
7965
7966fi
7967if test -z "$ac_cv_prog_RANLIB"; then
7968  ac_ct_RANLIB=$RANLIB
7969  # Extract the first word of "ranlib", so it can be a program name with args.
7970set dummy ranlib; ac_word=$2
7971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7972$as_echo_n "checking for $ac_word... " >&6; }
7973if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7974  $as_echo_n "(cached) " >&6
7975else
7976  if test -n "$ac_ct_RANLIB"; then
7977  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7978else
7979as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7980for as_dir in $PATH
7981do
7982  IFS=$as_save_IFS
7983  test -z "$as_dir" && as_dir=.
7984    for ac_exec_ext in '' $ac_executable_extensions; do
7985  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7986    ac_cv_prog_ac_ct_RANLIB="ranlib"
7987    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7988    break 2
7989  fi
7990done
7991  done
7992IFS=$as_save_IFS
7993
7994fi
7995fi
7996ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7997if test -n "$ac_ct_RANLIB"; then
7998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7999$as_echo "$ac_ct_RANLIB" >&6; }
8000else
8001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8002$as_echo "no" >&6; }
8003fi
8004
8005  if test "x$ac_ct_RANLIB" = x; then
8006    RANLIB=":"
8007  else
8008    case $cross_compiling:$ac_tool_warned in
8009yes:)
8010{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8011$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8012ac_tool_warned=yes ;;
8013esac
8014    RANLIB=$ac_ct_RANLIB
8015  fi
8016else
8017  RANLIB="$ac_cv_prog_RANLIB"
8018fi
8019
8020test -z "$RANLIB" && RANLIB=:
8021
8022
8023
8024
8025
8026
8027# Determine commands to create old-style static archives.
8028old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8029old_postinstall_cmds='chmod 644 $oldlib'
8030old_postuninstall_cmds=
8031
8032if test -n "$RANLIB"; then
8033  case $host_os in
8034  openbsd*)
8035    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8036    ;;
8037  *)
8038    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8039    ;;
8040  esac
8041  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8042fi
8043
8044case $host_os in
8045  darwin*)
8046    lock_old_archive_extraction=yes ;;
8047  *)
8048    lock_old_archive_extraction=no ;;
8049esac
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089# If no C compiler was specified, use CC.
8090LTCC=${LTCC-"$CC"}
8091
8092# If no C compiler flags were specified, use CFLAGS.
8093LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8094
8095# Allow CC to be a program name with arguments.
8096compiler=$CC
8097
8098
8099# Check for command to grab the raw symbol name followed by C symbol from nm.
8100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8101$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8102if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8103  $as_echo_n "(cached) " >&6
8104else
8105
8106# These are sane defaults that work on at least a few old systems.
8107# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
8108
8109# Character class describing NM global symbol codes.
8110symcode='[BCDEGRST]'
8111
8112# Regexp to match symbols that can be accessed directly from C.
8113sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8114
8115# Define system-specific variables.
8116case $host_os in
8117aix*)
8118  symcode='[BCDT]'
8119  ;;
8120cygwin* | mingw* | pw32* | cegcc*)
8121  symcode='[ABCDGISTW]'
8122  ;;
8123hpux*)
8124  if test "$host_cpu" = ia64; then
8125    symcode='[ABCDEGRST]'
8126  fi
8127  ;;
8128irix* | nonstopux*)
8129  symcode='[BCDEGRST]'
8130  ;;
8131osf*)
8132  symcode='[BCDEGQRST]'
8133  ;;
8134solaris*)
8135  symcode='[BDRT]'
8136  ;;
8137sco3.2v5*)
8138  symcode='[DT]'
8139  ;;
8140sysv4.2uw2*)
8141  symcode='[DT]'
8142  ;;
8143sysv5* | sco5v6* | unixware* | OpenUNIX*)
8144  symcode='[ABDT]'
8145  ;;
8146sysv4)
8147  symcode='[DFNSTU]'
8148  ;;
8149esac
8150
8151# If we're using GNU nm, then use its standard symbol codes.
8152case `$NM -V 2>&1` in
8153*GNU* | *'with BFD'*)
8154  symcode='[ABCDGIRSTW]' ;;
8155esac
8156
8157# Transform an extracted symbol line into a proper C declaration.
8158# Some systems (esp. on ia64) link data and code symbols differently,
8159# so use this general approach.
8160lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8161
8162# Transform an extracted symbol line into symbol name and symbol address
8163lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
8164lt_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'"
8165
8166# Handle CRLF in mingw tool chain
8167opt_cr=
8168case $build_os in
8169mingw*)
8170  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8171  ;;
8172esac
8173
8174# Try without a prefix underscore, then with it.
8175for ac_symprfx in "" "_"; do
8176
8177  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8178  symxfrm="\\1 $ac_symprfx\\2 \\2"
8179
8180  # Write the raw and C identifiers.
8181  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8182    # Fake it for dumpbin and say T for any non-static function
8183    # and D for any global variable.
8184    # Also find C++ and __fastcall symbols from MSVC++,
8185    # which start with @ or ?.
8186    lt_cv_sys_global_symbol_pipe="$AWK '"\
8187"     {last_section=section; section=\$ 3};"\
8188"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8189"     \$ 0!~/External *\|/{next};"\
8190"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8191"     {if(hide[section]) next};"\
8192"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8193"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8194"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
8195"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8196"     ' prfx=^$ac_symprfx"
8197  else
8198    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8199  fi
8200
8201  # Check to see that the pipe works correctly.
8202  pipe_works=no
8203
8204  rm -f conftest*
8205  cat > conftest.$ac_ext <<_LT_EOF
8206#ifdef __cplusplus
8207extern "C" {
8208#endif
8209char nm_test_var;
8210void nm_test_func(void);
8211void nm_test_func(void){}
8212#ifdef __cplusplus
8213}
8214#endif
8215int main(){nm_test_var='a';nm_test_func();return(0);}
8216_LT_EOF
8217
8218  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8219  (eval $ac_compile) 2>&5
8220  ac_status=$?
8221  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8222  test $ac_status = 0; }; then
8223    # Now try to grab the symbols.
8224    nlist=conftest.nm
8225    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8226  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8227  ac_status=$?
8228  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8229  test $ac_status = 0; } && test -s "$nlist"; then
8230      # Try sorting and uniquifying the output.
8231      if sort "$nlist" | uniq > "$nlist"T; then
8232	mv -f "$nlist"T "$nlist"
8233      else
8234	rm -f "$nlist"T
8235      fi
8236
8237      # Make sure that we snagged all the symbols we need.
8238      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8239	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8240	  cat <<_LT_EOF > conftest.$ac_ext
8241#ifdef __cplusplus
8242extern "C" {
8243#endif
8244
8245_LT_EOF
8246	  # Now generate the symbol file.
8247	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8248
8249	  cat <<_LT_EOF >> conftest.$ac_ext
8250
8251/* The mapping between symbol names and symbols.  */
8252const struct {
8253  const char *name;
8254  void       *address;
8255}
8256lt__PROGRAM__LTX_preloaded_symbols[] =
8257{
8258  { "@PROGRAM@", (void *) 0 },
8259_LT_EOF
8260	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8261	  cat <<\_LT_EOF >> conftest.$ac_ext
8262  {0, (void *) 0}
8263};
8264
8265/* This works around a problem in FreeBSD linker */
8266#ifdef FREEBSD_WORKAROUND
8267static const void *lt_preloaded_setup() {
8268  return lt__PROGRAM__LTX_preloaded_symbols;
8269}
8270#endif
8271
8272#ifdef __cplusplus
8273}
8274#endif
8275_LT_EOF
8276	  # Now try linking the two files.
8277	  mv conftest.$ac_objext conftstm.$ac_objext
8278	  lt_save_LIBS="$LIBS"
8279	  lt_save_CFLAGS="$CFLAGS"
8280	  LIBS="conftstm.$ac_objext"
8281	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8282	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8283  (eval $ac_link) 2>&5
8284  ac_status=$?
8285  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8286  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8287	    pipe_works=yes
8288	  fi
8289	  LIBS="$lt_save_LIBS"
8290	  CFLAGS="$lt_save_CFLAGS"
8291	else
8292	  echo "cannot find nm_test_func in $nlist" >&5
8293	fi
8294      else
8295	echo "cannot find nm_test_var in $nlist" >&5
8296      fi
8297    else
8298      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8299    fi
8300  else
8301    echo "$progname: failed program was:" >&5
8302    cat conftest.$ac_ext >&5
8303  fi
8304  rm -rf conftest* conftst*
8305
8306  # Do not use the global_symbol_pipe unless it works.
8307  if test "$pipe_works" = yes; then
8308    break
8309  else
8310    lt_cv_sys_global_symbol_pipe=
8311  fi
8312done
8313
8314fi
8315
8316if test -z "$lt_cv_sys_global_symbol_pipe"; then
8317  lt_cv_sys_global_symbol_to_cdecl=
8318fi
8319if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8320  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8321$as_echo "failed" >&6; }
8322else
8323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8324$as_echo "ok" >&6; }
8325fi
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348# Check whether --enable-libtool-lock was given.
8349if test "${enable_libtool_lock+set}" = set; then :
8350  enableval=$enable_libtool_lock;
8351fi
8352
8353test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8354
8355# Some flags need to be propagated to the compiler or linker for good
8356# libtool support.
8357case $host in
8358ia64-*-hpux*)
8359  # Find out which ABI we are using.
8360  echo 'int i;' > conftest.$ac_ext
8361  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8362  (eval $ac_compile) 2>&5
8363  ac_status=$?
8364  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8365  test $ac_status = 0; }; then
8366    case `/usr/bin/file conftest.$ac_objext` in
8367      *ELF-32*)
8368	HPUX_IA64_MODE="32"
8369	;;
8370      *ELF-64*)
8371	HPUX_IA64_MODE="64"
8372	;;
8373    esac
8374  fi
8375  rm -rf conftest*
8376  ;;
8377*-*-irix6*)
8378  # Find out which ABI we are using.
8379  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8380  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8381  (eval $ac_compile) 2>&5
8382  ac_status=$?
8383  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8384  test $ac_status = 0; }; then
8385    if test "$lt_cv_prog_gnu_ld" = yes; then
8386      case `/usr/bin/file conftest.$ac_objext` in
8387	*32-bit*)
8388	  LD="${LD-ld} -melf32bsmip"
8389	  ;;
8390	*N32*)
8391	  LD="${LD-ld} -melf32bmipn32"
8392	  ;;
8393	*64-bit*)
8394	  LD="${LD-ld} -melf64bmip"
8395	;;
8396      esac
8397    else
8398      case `/usr/bin/file conftest.$ac_objext` in
8399	*32-bit*)
8400	  LD="${LD-ld} -32"
8401	  ;;
8402	*N32*)
8403	  LD="${LD-ld} -n32"
8404	  ;;
8405	*64-bit*)
8406	  LD="${LD-ld} -64"
8407	  ;;
8408      esac
8409    fi
8410  fi
8411  rm -rf conftest*
8412  ;;
8413
8414x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8415s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8416  # Find out which ABI we are using.
8417  echo 'int i;' > conftest.$ac_ext
8418  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8419  (eval $ac_compile) 2>&5
8420  ac_status=$?
8421  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8422  test $ac_status = 0; }; then
8423    case `/usr/bin/file conftest.o` in
8424      *32-bit*)
8425	case $host in
8426	  x86_64-*kfreebsd*-gnu)
8427	    LD="${LD-ld} -m elf_i386_fbsd"
8428	    ;;
8429	  x86_64-*linux*)
8430	    case `/usr/bin/file conftest.o` in
8431	      *x86-64*)
8432		LD="${LD-ld} -m elf32_x86_64"
8433		;;
8434	      *)
8435		LD="${LD-ld} -m elf_i386"
8436		;;
8437	    esac
8438	    ;;
8439	  powerpc64le-*linux*)
8440	    LD="${LD-ld} -m elf32lppclinux"
8441	    ;;
8442	  powerpc64-*linux*)
8443	    LD="${LD-ld} -m elf32ppclinux"
8444	    ;;
8445	  s390x-*linux*)
8446	    LD="${LD-ld} -m elf_s390"
8447	    ;;
8448	  sparc64-*linux*)
8449	    LD="${LD-ld} -m elf32_sparc"
8450	    ;;
8451	esac
8452	;;
8453      *64-bit*)
8454	case $host in
8455	  x86_64-*kfreebsd*-gnu)
8456	    LD="${LD-ld} -m elf_x86_64_fbsd"
8457	    ;;
8458	  x86_64-*linux*)
8459	    LD="${LD-ld} -m elf_x86_64"
8460	    ;;
8461	  powerpcle-*linux*)
8462	    LD="${LD-ld} -m elf64lppc"
8463	    ;;
8464	  powerpc-*linux*)
8465	    LD="${LD-ld} -m elf64ppc"
8466	    ;;
8467	  s390*-*linux*|s390*-*tpf*)
8468	    LD="${LD-ld} -m elf64_s390"
8469	    ;;
8470	  sparc*-*linux*)
8471	    LD="${LD-ld} -m elf64_sparc"
8472	    ;;
8473	esac
8474	;;
8475    esac
8476  fi
8477  rm -rf conftest*
8478  ;;
8479
8480*-*-sco3.2v5*)
8481  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8482  SAVE_CFLAGS="$CFLAGS"
8483  CFLAGS="$CFLAGS -belf"
8484  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8485$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8486if ${lt_cv_cc_needs_belf+:} false; then :
8487  $as_echo_n "(cached) " >&6
8488else
8489  ac_ext=c
8490ac_cpp='$CPP $CPPFLAGS'
8491ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8492ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8493ac_compiler_gnu=$ac_cv_c_compiler_gnu
8494
8495     if test x$gcc_no_link = xyes; then
8496  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8497fi
8498cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8499/* end confdefs.h.  */
8500
8501int
8502main ()
8503{
8504
8505  ;
8506  return 0;
8507}
8508_ACEOF
8509if ac_fn_c_try_link "$LINENO"; then :
8510  lt_cv_cc_needs_belf=yes
8511else
8512  lt_cv_cc_needs_belf=no
8513fi
8514rm -f core conftest.err conftest.$ac_objext \
8515    conftest$ac_exeext conftest.$ac_ext
8516     ac_ext=c
8517ac_cpp='$CPP $CPPFLAGS'
8518ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8519ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8520ac_compiler_gnu=$ac_cv_c_compiler_gnu
8521
8522fi
8523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8524$as_echo "$lt_cv_cc_needs_belf" >&6; }
8525  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8526    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8527    CFLAGS="$SAVE_CFLAGS"
8528  fi
8529  ;;
8530sparc*-*solaris*)
8531  # Find out which ABI we are using.
8532  echo 'int i;' > conftest.$ac_ext
8533  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8534  (eval $ac_compile) 2>&5
8535  ac_status=$?
8536  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8537  test $ac_status = 0; }; then
8538    case `/usr/bin/file conftest.o` in
8539    *64-bit*)
8540      case $lt_cv_prog_gnu_ld in
8541      yes*) LD="${LD-ld} -m elf64_sparc" ;;
8542      *)
8543	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8544	  LD="${LD-ld} -64"
8545	fi
8546	;;
8547      esac
8548      ;;
8549    esac
8550  fi
8551  rm -rf conftest*
8552  ;;
8553esac
8554
8555need_locks="$enable_libtool_lock"
8556
8557
8558  case $host_os in
8559    rhapsody* | darwin*)
8560    if test -n "$ac_tool_prefix"; then
8561  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8562set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8564$as_echo_n "checking for $ac_word... " >&6; }
8565if ${ac_cv_prog_DSYMUTIL+:} false; then :
8566  $as_echo_n "(cached) " >&6
8567else
8568  if test -n "$DSYMUTIL"; then
8569  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8570else
8571as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8572for as_dir in $PATH
8573do
8574  IFS=$as_save_IFS
8575  test -z "$as_dir" && as_dir=.
8576    for ac_exec_ext in '' $ac_executable_extensions; do
8577  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8578    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8579    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8580    break 2
8581  fi
8582done
8583  done
8584IFS=$as_save_IFS
8585
8586fi
8587fi
8588DSYMUTIL=$ac_cv_prog_DSYMUTIL
8589if test -n "$DSYMUTIL"; then
8590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8591$as_echo "$DSYMUTIL" >&6; }
8592else
8593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8594$as_echo "no" >&6; }
8595fi
8596
8597
8598fi
8599if test -z "$ac_cv_prog_DSYMUTIL"; then
8600  ac_ct_DSYMUTIL=$DSYMUTIL
8601  # Extract the first word of "dsymutil", so it can be a program name with args.
8602set dummy dsymutil; ac_word=$2
8603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8604$as_echo_n "checking for $ac_word... " >&6; }
8605if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8606  $as_echo_n "(cached) " >&6
8607else
8608  if test -n "$ac_ct_DSYMUTIL"; then
8609  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8610else
8611as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8612for as_dir in $PATH
8613do
8614  IFS=$as_save_IFS
8615  test -z "$as_dir" && as_dir=.
8616    for ac_exec_ext in '' $ac_executable_extensions; do
8617  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8618    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8619    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8620    break 2
8621  fi
8622done
8623  done
8624IFS=$as_save_IFS
8625
8626fi
8627fi
8628ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8629if test -n "$ac_ct_DSYMUTIL"; then
8630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8631$as_echo "$ac_ct_DSYMUTIL" >&6; }
8632else
8633  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8634$as_echo "no" >&6; }
8635fi
8636
8637  if test "x$ac_ct_DSYMUTIL" = x; then
8638    DSYMUTIL=":"
8639  else
8640    case $cross_compiling:$ac_tool_warned in
8641yes:)
8642{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8643$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8644ac_tool_warned=yes ;;
8645esac
8646    DSYMUTIL=$ac_ct_DSYMUTIL
8647  fi
8648else
8649  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8650fi
8651
8652    if test -n "$ac_tool_prefix"; then
8653  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8654set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8656$as_echo_n "checking for $ac_word... " >&6; }
8657if ${ac_cv_prog_NMEDIT+:} false; then :
8658  $as_echo_n "(cached) " >&6
8659else
8660  if test -n "$NMEDIT"; then
8661  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8662else
8663as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8664for as_dir in $PATH
8665do
8666  IFS=$as_save_IFS
8667  test -z "$as_dir" && as_dir=.
8668    for ac_exec_ext in '' $ac_executable_extensions; do
8669  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8670    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8671    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8672    break 2
8673  fi
8674done
8675  done
8676IFS=$as_save_IFS
8677
8678fi
8679fi
8680NMEDIT=$ac_cv_prog_NMEDIT
8681if test -n "$NMEDIT"; then
8682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8683$as_echo "$NMEDIT" >&6; }
8684else
8685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8686$as_echo "no" >&6; }
8687fi
8688
8689
8690fi
8691if test -z "$ac_cv_prog_NMEDIT"; then
8692  ac_ct_NMEDIT=$NMEDIT
8693  # Extract the first word of "nmedit", so it can be a program name with args.
8694set dummy nmedit; ac_word=$2
8695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8696$as_echo_n "checking for $ac_word... " >&6; }
8697if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8698  $as_echo_n "(cached) " >&6
8699else
8700  if test -n "$ac_ct_NMEDIT"; then
8701  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8702else
8703as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8704for as_dir in $PATH
8705do
8706  IFS=$as_save_IFS
8707  test -z "$as_dir" && as_dir=.
8708    for ac_exec_ext in '' $ac_executable_extensions; do
8709  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8710    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8711    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8712    break 2
8713  fi
8714done
8715  done
8716IFS=$as_save_IFS
8717
8718fi
8719fi
8720ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8721if test -n "$ac_ct_NMEDIT"; then
8722  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8723$as_echo "$ac_ct_NMEDIT" >&6; }
8724else
8725  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8726$as_echo "no" >&6; }
8727fi
8728
8729  if test "x$ac_ct_NMEDIT" = x; then
8730    NMEDIT=":"
8731  else
8732    case $cross_compiling:$ac_tool_warned in
8733yes:)
8734{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8735$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8736ac_tool_warned=yes ;;
8737esac
8738    NMEDIT=$ac_ct_NMEDIT
8739  fi
8740else
8741  NMEDIT="$ac_cv_prog_NMEDIT"
8742fi
8743
8744    if test -n "$ac_tool_prefix"; then
8745  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8746set dummy ${ac_tool_prefix}lipo; ac_word=$2
8747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8748$as_echo_n "checking for $ac_word... " >&6; }
8749if ${ac_cv_prog_LIPO+:} false; then :
8750  $as_echo_n "(cached) " >&6
8751else
8752  if test -n "$LIPO"; then
8753  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8754else
8755as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8756for as_dir in $PATH
8757do
8758  IFS=$as_save_IFS
8759  test -z "$as_dir" && as_dir=.
8760    for ac_exec_ext in '' $ac_executable_extensions; do
8761  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8762    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8763    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8764    break 2
8765  fi
8766done
8767  done
8768IFS=$as_save_IFS
8769
8770fi
8771fi
8772LIPO=$ac_cv_prog_LIPO
8773if test -n "$LIPO"; then
8774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8775$as_echo "$LIPO" >&6; }
8776else
8777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8778$as_echo "no" >&6; }
8779fi
8780
8781
8782fi
8783if test -z "$ac_cv_prog_LIPO"; then
8784  ac_ct_LIPO=$LIPO
8785  # Extract the first word of "lipo", so it can be a program name with args.
8786set dummy lipo; ac_word=$2
8787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8788$as_echo_n "checking for $ac_word... " >&6; }
8789if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8790  $as_echo_n "(cached) " >&6
8791else
8792  if test -n "$ac_ct_LIPO"; then
8793  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8794else
8795as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8796for as_dir in $PATH
8797do
8798  IFS=$as_save_IFS
8799  test -z "$as_dir" && as_dir=.
8800    for ac_exec_ext in '' $ac_executable_extensions; do
8801  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8802    ac_cv_prog_ac_ct_LIPO="lipo"
8803    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8804    break 2
8805  fi
8806done
8807  done
8808IFS=$as_save_IFS
8809
8810fi
8811fi
8812ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8813if test -n "$ac_ct_LIPO"; then
8814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8815$as_echo "$ac_ct_LIPO" >&6; }
8816else
8817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8818$as_echo "no" >&6; }
8819fi
8820
8821  if test "x$ac_ct_LIPO" = x; then
8822    LIPO=":"
8823  else
8824    case $cross_compiling:$ac_tool_warned in
8825yes:)
8826{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8827$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8828ac_tool_warned=yes ;;
8829esac
8830    LIPO=$ac_ct_LIPO
8831  fi
8832else
8833  LIPO="$ac_cv_prog_LIPO"
8834fi
8835
8836    if test -n "$ac_tool_prefix"; then
8837  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8838set dummy ${ac_tool_prefix}otool; ac_word=$2
8839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8840$as_echo_n "checking for $ac_word... " >&6; }
8841if ${ac_cv_prog_OTOOL+:} false; then :
8842  $as_echo_n "(cached) " >&6
8843else
8844  if test -n "$OTOOL"; then
8845  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8846else
8847as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8848for as_dir in $PATH
8849do
8850  IFS=$as_save_IFS
8851  test -z "$as_dir" && as_dir=.
8852    for ac_exec_ext in '' $ac_executable_extensions; do
8853  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8854    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8855    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8856    break 2
8857  fi
8858done
8859  done
8860IFS=$as_save_IFS
8861
8862fi
8863fi
8864OTOOL=$ac_cv_prog_OTOOL
8865if test -n "$OTOOL"; then
8866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8867$as_echo "$OTOOL" >&6; }
8868else
8869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8870$as_echo "no" >&6; }
8871fi
8872
8873
8874fi
8875if test -z "$ac_cv_prog_OTOOL"; then
8876  ac_ct_OTOOL=$OTOOL
8877  # Extract the first word of "otool", so it can be a program name with args.
8878set dummy otool; ac_word=$2
8879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8880$as_echo_n "checking for $ac_word... " >&6; }
8881if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8882  $as_echo_n "(cached) " >&6
8883else
8884  if test -n "$ac_ct_OTOOL"; then
8885  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8886else
8887as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8888for as_dir in $PATH
8889do
8890  IFS=$as_save_IFS
8891  test -z "$as_dir" && as_dir=.
8892    for ac_exec_ext in '' $ac_executable_extensions; do
8893  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8894    ac_cv_prog_ac_ct_OTOOL="otool"
8895    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8896    break 2
8897  fi
8898done
8899  done
8900IFS=$as_save_IFS
8901
8902fi
8903fi
8904ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8905if test -n "$ac_ct_OTOOL"; then
8906  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8907$as_echo "$ac_ct_OTOOL" >&6; }
8908else
8909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8910$as_echo "no" >&6; }
8911fi
8912
8913  if test "x$ac_ct_OTOOL" = x; then
8914    OTOOL=":"
8915  else
8916    case $cross_compiling:$ac_tool_warned in
8917yes:)
8918{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8919$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8920ac_tool_warned=yes ;;
8921esac
8922    OTOOL=$ac_ct_OTOOL
8923  fi
8924else
8925  OTOOL="$ac_cv_prog_OTOOL"
8926fi
8927
8928    if test -n "$ac_tool_prefix"; then
8929  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8930set dummy ${ac_tool_prefix}otool64; ac_word=$2
8931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8932$as_echo_n "checking for $ac_word... " >&6; }
8933if ${ac_cv_prog_OTOOL64+:} false; then :
8934  $as_echo_n "(cached) " >&6
8935else
8936  if test -n "$OTOOL64"; then
8937  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8938else
8939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8940for as_dir in $PATH
8941do
8942  IFS=$as_save_IFS
8943  test -z "$as_dir" && as_dir=.
8944    for ac_exec_ext in '' $ac_executable_extensions; do
8945  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8946    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8947    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8948    break 2
8949  fi
8950done
8951  done
8952IFS=$as_save_IFS
8953
8954fi
8955fi
8956OTOOL64=$ac_cv_prog_OTOOL64
8957if test -n "$OTOOL64"; then
8958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8959$as_echo "$OTOOL64" >&6; }
8960else
8961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8962$as_echo "no" >&6; }
8963fi
8964
8965
8966fi
8967if test -z "$ac_cv_prog_OTOOL64"; then
8968  ac_ct_OTOOL64=$OTOOL64
8969  # Extract the first word of "otool64", so it can be a program name with args.
8970set dummy otool64; ac_word=$2
8971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8972$as_echo_n "checking for $ac_word... " >&6; }
8973if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8974  $as_echo_n "(cached) " >&6
8975else
8976  if test -n "$ac_ct_OTOOL64"; then
8977  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8978else
8979as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8980for as_dir in $PATH
8981do
8982  IFS=$as_save_IFS
8983  test -z "$as_dir" && as_dir=.
8984    for ac_exec_ext in '' $ac_executable_extensions; do
8985  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8986    ac_cv_prog_ac_ct_OTOOL64="otool64"
8987    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8988    break 2
8989  fi
8990done
8991  done
8992IFS=$as_save_IFS
8993
8994fi
8995fi
8996ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8997if test -n "$ac_ct_OTOOL64"; then
8998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8999$as_echo "$ac_ct_OTOOL64" >&6; }
9000else
9001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9002$as_echo "no" >&6; }
9003fi
9004
9005  if test "x$ac_ct_OTOOL64" = x; then
9006    OTOOL64=":"
9007  else
9008    case $cross_compiling:$ac_tool_warned in
9009yes:)
9010{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9011$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9012ac_tool_warned=yes ;;
9013esac
9014    OTOOL64=$ac_ct_OTOOL64
9015  fi
9016else
9017  OTOOL64="$ac_cv_prog_OTOOL64"
9018fi
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9047$as_echo_n "checking for -single_module linker flag... " >&6; }
9048if ${lt_cv_apple_cc_single_mod+:} false; then :
9049  $as_echo_n "(cached) " >&6
9050else
9051  lt_cv_apple_cc_single_mod=no
9052      if test -z "${LT_MULTI_MODULE}"; then
9053	# By default we will add the -single_module flag. You can override
9054	# by either setting the environment variable LT_MULTI_MODULE
9055	# non-empty at configure time, or by adding -multi_module to the
9056	# link flags.
9057	rm -rf libconftest.dylib*
9058	echo "int foo(void){return 1;}" > conftest.c
9059	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9060-dynamiclib -Wl,-single_module conftest.c" >&5
9061	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9062	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9063        _lt_result=$?
9064	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9065	  lt_cv_apple_cc_single_mod=yes
9066	else
9067	  cat conftest.err >&5
9068	fi
9069	rm -rf libconftest.dylib*
9070	rm -f conftest.*
9071      fi
9072fi
9073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9074$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9075    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9076$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9077if ${lt_cv_ld_exported_symbols_list+:} false; then :
9078  $as_echo_n "(cached) " >&6
9079else
9080  lt_cv_ld_exported_symbols_list=no
9081      save_LDFLAGS=$LDFLAGS
9082      echo "_main" > conftest.sym
9083      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9084      if test x$gcc_no_link = xyes; then
9085  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9086fi
9087cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9088/* end confdefs.h.  */
9089
9090int
9091main ()
9092{
9093
9094  ;
9095  return 0;
9096}
9097_ACEOF
9098if ac_fn_c_try_link "$LINENO"; then :
9099  lt_cv_ld_exported_symbols_list=yes
9100else
9101  lt_cv_ld_exported_symbols_list=no
9102fi
9103rm -f core conftest.err conftest.$ac_objext \
9104    conftest$ac_exeext conftest.$ac_ext
9105	LDFLAGS="$save_LDFLAGS"
9106
9107fi
9108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9109$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9110    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9111$as_echo_n "checking for -force_load linker flag... " >&6; }
9112if ${lt_cv_ld_force_load+:} false; then :
9113  $as_echo_n "(cached) " >&6
9114else
9115  lt_cv_ld_force_load=no
9116      cat > conftest.c << _LT_EOF
9117int forced_loaded() { return 2;}
9118_LT_EOF
9119      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9120      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9121      echo "$AR cru libconftest.a conftest.o" >&5
9122      $AR cru libconftest.a conftest.o 2>&5
9123      cat > conftest.c << _LT_EOF
9124int main() { return 0;}
9125_LT_EOF
9126      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9127      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9128      _lt_result=$?
9129      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9130	lt_cv_ld_force_load=yes
9131      else
9132	cat conftest.err >&5
9133      fi
9134        rm -f conftest.err libconftest.a conftest conftest.c
9135        rm -rf conftest.dSYM
9136
9137fi
9138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9139$as_echo "$lt_cv_ld_force_load" >&6; }
9140    # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9141    # build without first building modern cctools / linker.
9142    case $host_cpu-$host_os in
9143    *-rhapsody* | *-darwin1.[012])
9144      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9145    *-darwin1.*)
9146      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9147    *-darwin*)
9148      # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9149      # deployment target is forced to an earlier version.
9150      case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9151	UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
9152	  ;;
9153	10.[012][,.]*)
9154	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9155	  ;;
9156	*)
9157	  ;;
9158     esac
9159    ;;
9160  esac
9161    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9162      _lt_dar_single_mod='$single_module'
9163    fi
9164    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9165      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9166    else
9167      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9168    fi
9169    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9170      _lt_dsymutil='~$DSYMUTIL $lib || :'
9171    else
9172      _lt_dsymutil=
9173    fi
9174    ;;
9175  esac
9176
9177for ac_header in dlfcn.h
9178do :
9179  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9180"
9181if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9182  cat >>confdefs.h <<_ACEOF
9183#define HAVE_DLFCN_H 1
9184_ACEOF
9185
9186fi
9187
9188done
9189
9190
9191
9192
9193
9194# Set options
9195
9196
9197
9198
9199  enable_win32_dll=no
9200
9201
9202            # Check whether --enable-shared was given.
9203if test "${enable_shared+set}" = set; then :
9204  enableval=$enable_shared; p=${PACKAGE-default}
9205    case $enableval in
9206    yes) enable_shared=yes ;;
9207    no) enable_shared=no ;;
9208    *)
9209      enable_shared=no
9210      # Look at the argument we got.  We use all the common list separators.
9211      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9212      for pkg in $enableval; do
9213	IFS="$lt_save_ifs"
9214	if test "X$pkg" = "X$p"; then
9215	  enable_shared=yes
9216	fi
9217      done
9218      IFS="$lt_save_ifs"
9219      ;;
9220    esac
9221else
9222  enable_shared=yes
9223fi
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233  # Check whether --enable-static was given.
9234if test "${enable_static+set}" = set; then :
9235  enableval=$enable_static; p=${PACKAGE-default}
9236    case $enableval in
9237    yes) enable_static=yes ;;
9238    no) enable_static=no ;;
9239    *)
9240     enable_static=no
9241      # Look at the argument we got.  We use all the common list separators.
9242      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9243      for pkg in $enableval; do
9244	IFS="$lt_save_ifs"
9245	if test "X$pkg" = "X$p"; then
9246	  enable_static=yes
9247	fi
9248      done
9249      IFS="$lt_save_ifs"
9250      ;;
9251    esac
9252else
9253  enable_static=yes
9254fi
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265# Check whether --with-pic was given.
9266if test "${with_pic+set}" = set; then :
9267  withval=$with_pic; pic_mode="$withval"
9268else
9269  pic_mode=default
9270fi
9271
9272
9273test -z "$pic_mode" && pic_mode=default
9274
9275
9276
9277
9278
9279
9280
9281  # Check whether --enable-fast-install was given.
9282if test "${enable_fast_install+set}" = set; then :
9283  enableval=$enable_fast_install; p=${PACKAGE-default}
9284    case $enableval in
9285    yes) enable_fast_install=yes ;;
9286    no) enable_fast_install=no ;;
9287    *)
9288      enable_fast_install=no
9289      # Look at the argument we got.  We use all the common list separators.
9290      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9291      for pkg in $enableval; do
9292	IFS="$lt_save_ifs"
9293	if test "X$pkg" = "X$p"; then
9294	  enable_fast_install=yes
9295	fi
9296      done
9297      IFS="$lt_save_ifs"
9298      ;;
9299    esac
9300else
9301  enable_fast_install=yes
9302fi
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314# This can be used to rebuild libtool when needed
9315LIBTOOL_DEPS="$ltmain"
9316
9317# Always use our own libtool.
9318LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345test -z "$LN_S" && LN_S="ln -s"
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360if test -n "${ZSH_VERSION+set}" ; then
9361   setopt NO_GLOB_SUBST
9362fi
9363
9364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9365$as_echo_n "checking for objdir... " >&6; }
9366if ${lt_cv_objdir+:} false; then :
9367  $as_echo_n "(cached) " >&6
9368else
9369  rm -f .libs 2>/dev/null
9370mkdir .libs 2>/dev/null
9371if test -d .libs; then
9372  lt_cv_objdir=.libs
9373else
9374  # MS-DOS does not allow filenames that begin with a dot.
9375  lt_cv_objdir=_libs
9376fi
9377rmdir .libs 2>/dev/null
9378fi
9379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9380$as_echo "$lt_cv_objdir" >&6; }
9381objdir=$lt_cv_objdir
9382
9383
9384
9385
9386
9387cat >>confdefs.h <<_ACEOF
9388#define LT_OBJDIR "$lt_cv_objdir/"
9389_ACEOF
9390
9391
9392
9393
9394case $host_os in
9395aix3*)
9396  # AIX sometimes has problems with the GCC collect2 program.  For some
9397  # reason, if we set the COLLECT_NAMES environment variable, the problems
9398  # vanish in a puff of smoke.
9399  if test "X${COLLECT_NAMES+set}" != Xset; then
9400    COLLECT_NAMES=
9401    export COLLECT_NAMES
9402  fi
9403  ;;
9404esac
9405
9406# Global variables:
9407ofile=libtool
9408can_build_shared=yes
9409
9410# All known linkers require a `.a' archive for static linking (except MSVC,
9411# which needs '.lib').
9412libext=a
9413
9414with_gnu_ld="$lt_cv_prog_gnu_ld"
9415
9416old_CC="$CC"
9417old_CFLAGS="$CFLAGS"
9418
9419# Set sane defaults for various variables
9420test -z "$CC" && CC=cc
9421test -z "$LTCC" && LTCC=$CC
9422test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9423test -z "$LD" && LD=ld
9424test -z "$ac_objext" && ac_objext=o
9425
9426for cc_temp in $compiler""; do
9427  case $cc_temp in
9428    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9429    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9430    \-*) ;;
9431    *) break;;
9432  esac
9433done
9434cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9435
9436
9437# Only perform the check for file, if the check method requires it
9438test -z "$MAGIC_CMD" && MAGIC_CMD=file
9439case $deplibs_check_method in
9440file_magic*)
9441  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9442    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9443$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9444if ${lt_cv_path_MAGIC_CMD+:} false; then :
9445  $as_echo_n "(cached) " >&6
9446else
9447  case $MAGIC_CMD in
9448[\\/*] |  ?:[\\/]*)
9449  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9450  ;;
9451*)
9452  lt_save_MAGIC_CMD="$MAGIC_CMD"
9453  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9454  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9455  for ac_dir in $ac_dummy; do
9456    IFS="$lt_save_ifs"
9457    test -z "$ac_dir" && ac_dir=.
9458    if test -f $ac_dir/${ac_tool_prefix}file; then
9459      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9460      if test -n "$file_magic_test_file"; then
9461	case $deplibs_check_method in
9462	"file_magic "*)
9463	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9464	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9465	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9466	    $EGREP "$file_magic_regex" > /dev/null; then
9467	    :
9468	  else
9469	    cat <<_LT_EOF 1>&2
9470
9471*** Warning: the command libtool uses to detect shared libraries,
9472*** $file_magic_cmd, produces output that libtool cannot recognize.
9473*** The result is that libtool may fail to recognize shared libraries
9474*** as such.  This will affect the creation of libtool libraries that
9475*** depend on shared libraries, but programs linked with such libtool
9476*** libraries will work regardless of this problem.  Nevertheless, you
9477*** may want to report the problem to your system manager and/or to
9478*** bug-libtool@gnu.org
9479
9480_LT_EOF
9481	  fi ;;
9482	esac
9483      fi
9484      break
9485    fi
9486  done
9487  IFS="$lt_save_ifs"
9488  MAGIC_CMD="$lt_save_MAGIC_CMD"
9489  ;;
9490esac
9491fi
9492
9493MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9494if test -n "$MAGIC_CMD"; then
9495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9496$as_echo "$MAGIC_CMD" >&6; }
9497else
9498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9499$as_echo "no" >&6; }
9500fi
9501
9502
9503
9504
9505
9506if test -z "$lt_cv_path_MAGIC_CMD"; then
9507  if test -n "$ac_tool_prefix"; then
9508    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9509$as_echo_n "checking for file... " >&6; }
9510if ${lt_cv_path_MAGIC_CMD+:} false; then :
9511  $as_echo_n "(cached) " >&6
9512else
9513  case $MAGIC_CMD in
9514[\\/*] |  ?:[\\/]*)
9515  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9516  ;;
9517*)
9518  lt_save_MAGIC_CMD="$MAGIC_CMD"
9519  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9520  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9521  for ac_dir in $ac_dummy; do
9522    IFS="$lt_save_ifs"
9523    test -z "$ac_dir" && ac_dir=.
9524    if test -f $ac_dir/file; then
9525      lt_cv_path_MAGIC_CMD="$ac_dir/file"
9526      if test -n "$file_magic_test_file"; then
9527	case $deplibs_check_method in
9528	"file_magic "*)
9529	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9530	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9531	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9532	    $EGREP "$file_magic_regex" > /dev/null; then
9533	    :
9534	  else
9535	    cat <<_LT_EOF 1>&2
9536
9537*** Warning: the command libtool uses to detect shared libraries,
9538*** $file_magic_cmd, produces output that libtool cannot recognize.
9539*** The result is that libtool may fail to recognize shared libraries
9540*** as such.  This will affect the creation of libtool libraries that
9541*** depend on shared libraries, but programs linked with such libtool
9542*** libraries will work regardless of this problem.  Nevertheless, you
9543*** may want to report the problem to your system manager and/or to
9544*** bug-libtool@gnu.org
9545
9546_LT_EOF
9547	  fi ;;
9548	esac
9549      fi
9550      break
9551    fi
9552  done
9553  IFS="$lt_save_ifs"
9554  MAGIC_CMD="$lt_save_MAGIC_CMD"
9555  ;;
9556esac
9557fi
9558
9559MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9560if test -n "$MAGIC_CMD"; then
9561  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9562$as_echo "$MAGIC_CMD" >&6; }
9563else
9564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9565$as_echo "no" >&6; }
9566fi
9567
9568
9569  else
9570    MAGIC_CMD=:
9571  fi
9572fi
9573
9574  fi
9575  ;;
9576esac
9577
9578# Use C for the default configuration in the libtool script
9579
9580lt_save_CC="$CC"
9581ac_ext=c
9582ac_cpp='$CPP $CPPFLAGS'
9583ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9584ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9585ac_compiler_gnu=$ac_cv_c_compiler_gnu
9586
9587
9588# Source file extension for C test sources.
9589ac_ext=c
9590
9591# Object file extension for compiled C test sources.
9592objext=o
9593objext=$objext
9594
9595# Code to be used in simple compile tests
9596lt_simple_compile_test_code="int some_variable = 0;"
9597
9598# Code to be used in simple link tests
9599lt_simple_link_test_code='int main(){return(0);}'
9600
9601
9602
9603
9604
9605
9606
9607# If no C compiler was specified, use CC.
9608LTCC=${LTCC-"$CC"}
9609
9610# If no C compiler flags were specified, use CFLAGS.
9611LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9612
9613# Allow CC to be a program name with arguments.
9614compiler=$CC
9615
9616# Save the default compiler, since it gets overwritten when the other
9617# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9618compiler_DEFAULT=$CC
9619
9620# save warnings/boilerplate of simple test code
9621ac_outfile=conftest.$ac_objext
9622echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9623eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9624_lt_compiler_boilerplate=`cat conftest.err`
9625$RM conftest*
9626
9627ac_outfile=conftest.$ac_objext
9628echo "$lt_simple_link_test_code" >conftest.$ac_ext
9629eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9630_lt_linker_boilerplate=`cat conftest.err`
9631$RM -r conftest*
9632
9633
9634## CAVEAT EMPTOR:
9635## There is no encapsulation within the following macros, do not change
9636## the running order or otherwise move them around unless you know exactly
9637## what you are doing...
9638if test -n "$compiler"; then
9639
9640lt_prog_compiler_no_builtin_flag=
9641
9642if test "$GCC" = yes; then
9643  case $cc_basename in
9644  nvcc*)
9645    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9646  *)
9647    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9648  esac
9649
9650  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9651$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9652if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9653  $as_echo_n "(cached) " >&6
9654else
9655  lt_cv_prog_compiler_rtti_exceptions=no
9656   ac_outfile=conftest.$ac_objext
9657   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9658   lt_compiler_flag="-fno-rtti -fno-exceptions"
9659   # Insert the option either (1) after the last *FLAGS variable, or
9660   # (2) before a word containing "conftest.", or (3) at the end.
9661   # Note that $ac_compile itself does not contain backslashes and begins
9662   # with a dollar sign (not a hyphen), so the echo should work correctly.
9663   # The option is referenced via a variable to avoid confusing sed.
9664   lt_compile=`echo "$ac_compile" | $SED \
9665   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9666   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9667   -e 's:$: $lt_compiler_flag:'`
9668   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9669   (eval "$lt_compile" 2>conftest.err)
9670   ac_status=$?
9671   cat conftest.err >&5
9672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673   if (exit $ac_status) && test -s "$ac_outfile"; then
9674     # The compiler can only warn and ignore the option if not recognized
9675     # So say no if there are warnings other than the usual output.
9676     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9677     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9678     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9679       lt_cv_prog_compiler_rtti_exceptions=yes
9680     fi
9681   fi
9682   $RM conftest*
9683
9684fi
9685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9686$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9687
9688if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9689    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9690else
9691    :
9692fi
9693
9694fi
9695
9696
9697
9698
9699
9700
9701  lt_prog_compiler_wl=
9702lt_prog_compiler_pic=
9703lt_prog_compiler_static=
9704
9705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9706$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9707
9708  if test "$GCC" = yes; then
9709    lt_prog_compiler_wl='-Wl,'
9710    lt_prog_compiler_static='-static'
9711
9712    case $host_os in
9713      aix*)
9714      # All AIX code is PIC.
9715      if test "$host_cpu" = ia64; then
9716	# AIX 5 now supports IA64 processor
9717	lt_prog_compiler_static='-Bstatic'
9718      fi
9719      lt_prog_compiler_pic='-fPIC'
9720      ;;
9721
9722    amigaos*)
9723      case $host_cpu in
9724      powerpc)
9725            # see comment about AmigaOS4 .so support
9726            lt_prog_compiler_pic='-fPIC'
9727        ;;
9728      m68k)
9729            # FIXME: we need at least 68020 code to build shared libraries, but
9730            # adding the `-m68020' flag to GCC prevents building anything better,
9731            # like `-m68040'.
9732            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9733        ;;
9734      esac
9735      ;;
9736
9737    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9738      # PIC is the default for these OSes.
9739      ;;
9740
9741    mingw* | cygwin* | pw32* | os2* | cegcc*)
9742      # This hack is so that the source file can tell whether it is being
9743      # built for inclusion in a dll (and should export symbols for example).
9744      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9745      # (--disable-auto-import) libraries
9746      lt_prog_compiler_pic='-DDLL_EXPORT'
9747      ;;
9748
9749    darwin* | rhapsody*)
9750      # PIC is the default on this platform
9751      # Common symbols not allowed in MH_DYLIB files
9752      lt_prog_compiler_pic='-fno-common'
9753      ;;
9754
9755    haiku*)
9756      # PIC is the default for Haiku.
9757      # The "-static" flag exists, but is broken.
9758      lt_prog_compiler_static=
9759      ;;
9760
9761    hpux*)
9762      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9763      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9764      # sets the default TLS model and affects inlining.
9765      case $host_cpu in
9766      hppa*64*)
9767	# +Z the default
9768	;;
9769      *)
9770	lt_prog_compiler_pic='-fPIC'
9771	;;
9772      esac
9773      ;;
9774
9775    interix[3-9]*)
9776      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9777      # Instead, we relocate shared libraries at runtime.
9778      ;;
9779
9780    msdosdjgpp*)
9781      # Just because we use GCC doesn't mean we suddenly get shared libraries
9782      # on systems that don't support them.
9783      lt_prog_compiler_can_build_shared=no
9784      enable_shared=no
9785      ;;
9786
9787    *nto* | *qnx*)
9788      # QNX uses GNU C++, but need to define -shared option too, otherwise
9789      # it will coredump.
9790      lt_prog_compiler_pic='-fPIC -shared'
9791      ;;
9792
9793    sysv4*MP*)
9794      if test -d /usr/nec; then
9795	lt_prog_compiler_pic=-Kconform_pic
9796      fi
9797      ;;
9798
9799    *)
9800      lt_prog_compiler_pic='-fPIC'
9801      ;;
9802    esac
9803
9804    case $cc_basename in
9805    nvcc*) # Cuda Compiler Driver 2.2
9806      lt_prog_compiler_wl='-Xlinker '
9807      lt_prog_compiler_pic='-Xcompiler -fPIC'
9808      ;;
9809    esac
9810  else
9811    # PORTME Check for flag to pass linker flags through the system compiler.
9812    case $host_os in
9813    aix*)
9814      lt_prog_compiler_wl='-Wl,'
9815      if test "$host_cpu" = ia64; then
9816	# AIX 5 now supports IA64 processor
9817	lt_prog_compiler_static='-Bstatic'
9818      else
9819	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9820      fi
9821      ;;
9822
9823    mingw* | cygwin* | pw32* | os2* | cegcc*)
9824      # This hack is so that the source file can tell whether it is being
9825      # built for inclusion in a dll (and should export symbols for example).
9826      lt_prog_compiler_pic='-DDLL_EXPORT'
9827      ;;
9828
9829    hpux9* | hpux10* | hpux11*)
9830      lt_prog_compiler_wl='-Wl,'
9831      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9832      # not for PA HP-UX.
9833      case $host_cpu in
9834      hppa*64*|ia64*)
9835	# +Z the default
9836	;;
9837      *)
9838	lt_prog_compiler_pic='+Z'
9839	;;
9840      esac
9841      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9842      lt_prog_compiler_static='${wl}-a ${wl}archive'
9843      ;;
9844
9845    irix5* | irix6* | nonstopux*)
9846      lt_prog_compiler_wl='-Wl,'
9847      # PIC (with -KPIC) is the default.
9848      lt_prog_compiler_static='-non_shared'
9849      ;;
9850
9851    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9852      case $cc_basename in
9853      # old Intel for x86_64 which still supported -KPIC.
9854      ecc*)
9855	lt_prog_compiler_wl='-Wl,'
9856	lt_prog_compiler_pic='-KPIC'
9857	lt_prog_compiler_static='-static'
9858        ;;
9859      # icc used to be incompatible with GCC.
9860      # ICC 10 doesn't accept -KPIC any more.
9861      icc* | ifort*)
9862	lt_prog_compiler_wl='-Wl,'
9863	lt_prog_compiler_pic='-fPIC'
9864	lt_prog_compiler_static='-static'
9865        ;;
9866      # Lahey Fortran 8.1.
9867      lf95*)
9868	lt_prog_compiler_wl='-Wl,'
9869	lt_prog_compiler_pic='--shared'
9870	lt_prog_compiler_static='--static'
9871	;;
9872      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9873        # Portland Group compilers (*not* the Pentium gcc compiler,
9874	# which looks to be a dead project)
9875	lt_prog_compiler_wl='-Wl,'
9876	lt_prog_compiler_pic='-fpic'
9877	lt_prog_compiler_static='-Bstatic'
9878        ;;
9879      ccc*)
9880        lt_prog_compiler_wl='-Wl,'
9881        # All Alpha code is PIC.
9882        lt_prog_compiler_static='-non_shared'
9883        ;;
9884      xl* | bgxl* | bgf* | mpixl*)
9885	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9886	lt_prog_compiler_wl='-Wl,'
9887	lt_prog_compiler_pic='-qpic'
9888	lt_prog_compiler_static='-qstaticlink'
9889	;;
9890      *)
9891	case `$CC -V 2>&1 | sed 5q` in
9892	*Sun\ F* | *Sun*Fortran*)
9893	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9894	  lt_prog_compiler_pic='-KPIC'
9895	  lt_prog_compiler_static='-Bstatic'
9896	  lt_prog_compiler_wl=''
9897	  ;;
9898	*Sun\ C*)
9899	  # Sun C 5.9
9900	  lt_prog_compiler_pic='-KPIC'
9901	  lt_prog_compiler_static='-Bstatic'
9902	  lt_prog_compiler_wl='-Wl,'
9903	  ;;
9904	esac
9905	;;
9906      esac
9907      ;;
9908
9909    newsos6)
9910      lt_prog_compiler_pic='-KPIC'
9911      lt_prog_compiler_static='-Bstatic'
9912      ;;
9913
9914    *nto* | *qnx*)
9915      # QNX uses GNU C++, but need to define -shared option too, otherwise
9916      # it will coredump.
9917      lt_prog_compiler_pic='-fPIC -shared'
9918      ;;
9919
9920    osf3* | osf4* | osf5*)
9921      lt_prog_compiler_wl='-Wl,'
9922      # All OSF/1 code is PIC.
9923      lt_prog_compiler_static='-non_shared'
9924      ;;
9925
9926    rdos*)
9927      lt_prog_compiler_static='-non_shared'
9928      ;;
9929
9930    solaris*)
9931      lt_prog_compiler_pic='-KPIC'
9932      lt_prog_compiler_static='-Bstatic'
9933      case $cc_basename in
9934      f77* | f90* | f95*)
9935	lt_prog_compiler_wl='-Qoption ld ';;
9936      *)
9937	lt_prog_compiler_wl='-Wl,';;
9938      esac
9939      ;;
9940
9941    sunos4*)
9942      lt_prog_compiler_wl='-Qoption ld '
9943      lt_prog_compiler_pic='-PIC'
9944      lt_prog_compiler_static='-Bstatic'
9945      ;;
9946
9947    sysv4 | sysv4.2uw2* | sysv4.3*)
9948      lt_prog_compiler_wl='-Wl,'
9949      lt_prog_compiler_pic='-KPIC'
9950      lt_prog_compiler_static='-Bstatic'
9951      ;;
9952
9953    sysv4*MP*)
9954      if test -d /usr/nec ;then
9955	lt_prog_compiler_pic='-Kconform_pic'
9956	lt_prog_compiler_static='-Bstatic'
9957      fi
9958      ;;
9959
9960    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9961      lt_prog_compiler_wl='-Wl,'
9962      lt_prog_compiler_pic='-KPIC'
9963      lt_prog_compiler_static='-Bstatic'
9964      ;;
9965
9966    unicos*)
9967      lt_prog_compiler_wl='-Wl,'
9968      lt_prog_compiler_can_build_shared=no
9969      ;;
9970
9971    uts4*)
9972      lt_prog_compiler_pic='-pic'
9973      lt_prog_compiler_static='-Bstatic'
9974      ;;
9975
9976    *)
9977      lt_prog_compiler_can_build_shared=no
9978      ;;
9979    esac
9980  fi
9981
9982case $host_os in
9983  # For platforms which do not support PIC, -DPIC is meaningless:
9984  *djgpp*)
9985    lt_prog_compiler_pic=
9986    ;;
9987  *)
9988    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9989    ;;
9990esac
9991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9992$as_echo "$lt_prog_compiler_pic" >&6; }
9993
9994
9995
9996
9997
9998
9999#
10000# Check to make sure the PIC flag actually works.
10001#
10002if test -n "$lt_prog_compiler_pic"; then
10003  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10004$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10005if ${lt_cv_prog_compiler_pic_works+:} false; then :
10006  $as_echo_n "(cached) " >&6
10007else
10008  lt_cv_prog_compiler_pic_works=no
10009   ac_outfile=conftest.$ac_objext
10010   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10011   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10012   # Insert the option either (1) after the last *FLAGS variable, or
10013   # (2) before a word containing "conftest.", or (3) at the end.
10014   # Note that $ac_compile itself does not contain backslashes and begins
10015   # with a dollar sign (not a hyphen), so the echo should work correctly.
10016   # The option is referenced via a variable to avoid confusing sed.
10017   lt_compile=`echo "$ac_compile" | $SED \
10018   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10019   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10020   -e 's:$: $lt_compiler_flag:'`
10021   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10022   (eval "$lt_compile" 2>conftest.err)
10023   ac_status=$?
10024   cat conftest.err >&5
10025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10026   if (exit $ac_status) && test -s "$ac_outfile"; then
10027     # The compiler can only warn and ignore the option if not recognized
10028     # So say no if there are warnings other than the usual output.
10029     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10030     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10031     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10032       lt_cv_prog_compiler_pic_works=yes
10033     fi
10034   fi
10035   $RM conftest*
10036
10037fi
10038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10039$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10040
10041if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10042    case $lt_prog_compiler_pic in
10043     "" | " "*) ;;
10044     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10045     esac
10046else
10047    lt_prog_compiler_pic=
10048     lt_prog_compiler_can_build_shared=no
10049fi
10050
10051fi
10052
10053
10054
10055
10056
10057
10058#
10059# Check to make sure the static flag actually works.
10060#
10061wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10063$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10064if ${lt_cv_prog_compiler_static_works+:} false; then :
10065  $as_echo_n "(cached) " >&6
10066else
10067  lt_cv_prog_compiler_static_works=no
10068   save_LDFLAGS="$LDFLAGS"
10069   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10070   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10071   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10072     # The linker can only warn and ignore the option if not recognized
10073     # So say no if there are warnings
10074     if test -s conftest.err; then
10075       # Append any errors to the config.log.
10076       cat conftest.err 1>&5
10077       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10078       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10079       if diff conftest.exp conftest.er2 >/dev/null; then
10080         lt_cv_prog_compiler_static_works=yes
10081       fi
10082     else
10083       lt_cv_prog_compiler_static_works=yes
10084     fi
10085   fi
10086   $RM -r conftest*
10087   LDFLAGS="$save_LDFLAGS"
10088
10089fi
10090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10091$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10092
10093if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10094    :
10095else
10096    lt_prog_compiler_static=
10097fi
10098
10099
10100
10101
10102
10103
10104
10105  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10106$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10107if ${lt_cv_prog_compiler_c_o+:} false; then :
10108  $as_echo_n "(cached) " >&6
10109else
10110  lt_cv_prog_compiler_c_o=no
10111   $RM -r conftest 2>/dev/null
10112   mkdir conftest
10113   cd conftest
10114   mkdir out
10115   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10116
10117   lt_compiler_flag="-o out/conftest2.$ac_objext"
10118   # Insert the option either (1) after the last *FLAGS variable, or
10119   # (2) before a word containing "conftest.", or (3) at the end.
10120   # Note that $ac_compile itself does not contain backslashes and begins
10121   # with a dollar sign (not a hyphen), so the echo should work correctly.
10122   lt_compile=`echo "$ac_compile" | $SED \
10123   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10124   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10125   -e 's:$: $lt_compiler_flag:'`
10126   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10127   (eval "$lt_compile" 2>out/conftest.err)
10128   ac_status=$?
10129   cat out/conftest.err >&5
10130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10131   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10132   then
10133     # The compiler can only warn and ignore the option if not recognized
10134     # So say no if there are warnings
10135     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10136     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10137     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10138       lt_cv_prog_compiler_c_o=yes
10139     fi
10140   fi
10141   chmod u+w . 2>&5
10142   $RM conftest*
10143   # SGI C++ compiler will create directory out/ii_files/ for
10144   # template instantiation
10145   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10146   $RM out/* && rmdir out
10147   cd ..
10148   $RM -r conftest
10149   $RM conftest*
10150
10151fi
10152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10153$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10154
10155
10156
10157
10158
10159
10160  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10161$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10162if ${lt_cv_prog_compiler_c_o+:} false; then :
10163  $as_echo_n "(cached) " >&6
10164else
10165  lt_cv_prog_compiler_c_o=no
10166   $RM -r conftest 2>/dev/null
10167   mkdir conftest
10168   cd conftest
10169   mkdir out
10170   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10171
10172   lt_compiler_flag="-o out/conftest2.$ac_objext"
10173   # Insert the option either (1) after the last *FLAGS variable, or
10174   # (2) before a word containing "conftest.", or (3) at the end.
10175   # Note that $ac_compile itself does not contain backslashes and begins
10176   # with a dollar sign (not a hyphen), so the echo should work correctly.
10177   lt_compile=`echo "$ac_compile" | $SED \
10178   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10179   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10180   -e 's:$: $lt_compiler_flag:'`
10181   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10182   (eval "$lt_compile" 2>out/conftest.err)
10183   ac_status=$?
10184   cat out/conftest.err >&5
10185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10186   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10187   then
10188     # The compiler can only warn and ignore the option if not recognized
10189     # So say no if there are warnings
10190     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10191     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10192     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10193       lt_cv_prog_compiler_c_o=yes
10194     fi
10195   fi
10196   chmod u+w . 2>&5
10197   $RM conftest*
10198   # SGI C++ compiler will create directory out/ii_files/ for
10199   # template instantiation
10200   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10201   $RM out/* && rmdir out
10202   cd ..
10203   $RM -r conftest
10204   $RM conftest*
10205
10206fi
10207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10208$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10209
10210
10211
10212
10213hard_links="nottested"
10214if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10215  # do not overwrite the value of need_locks provided by the user
10216  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10217$as_echo_n "checking if we can lock with hard links... " >&6; }
10218  hard_links=yes
10219  $RM conftest*
10220  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10221  touch conftest.a
10222  ln conftest.a conftest.b 2>&5 || hard_links=no
10223  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10224  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10225$as_echo "$hard_links" >&6; }
10226  if test "$hard_links" = no; then
10227    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10228$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10229    need_locks=warn
10230  fi
10231else
10232  need_locks=no
10233fi
10234
10235
10236
10237
10238
10239
10240  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10241$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10242
10243  runpath_var=
10244  allow_undefined_flag=
10245  always_export_symbols=no
10246  archive_cmds=
10247  archive_expsym_cmds=
10248  compiler_needs_object=no
10249  enable_shared_with_static_runtimes=no
10250  export_dynamic_flag_spec=
10251  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10252  hardcode_automatic=no
10253  hardcode_direct=no
10254  hardcode_direct_absolute=no
10255  hardcode_libdir_flag_spec=
10256  hardcode_libdir_flag_spec_ld=
10257  hardcode_libdir_separator=
10258  hardcode_minus_L=no
10259  hardcode_shlibpath_var=unsupported
10260  inherit_rpath=no
10261  link_all_deplibs=unknown
10262  module_cmds=
10263  module_expsym_cmds=
10264  old_archive_from_new_cmds=
10265  old_archive_from_expsyms_cmds=
10266  thread_safe_flag_spec=
10267  whole_archive_flag_spec=
10268  # include_expsyms should be a list of space-separated symbols to be *always*
10269  # included in the symbol list
10270  include_expsyms=
10271  # exclude_expsyms can be an extended regexp of symbols to exclude
10272  # it will be wrapped by ` (' and `)$', so one must not match beginning or
10273  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10274  # as well as any symbol that contains `d'.
10275  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10276  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10277  # platforms (ab)use it in PIC code, but their linkers get confused if
10278  # the symbol is explicitly referenced.  Since portable code cannot
10279  # rely on this symbol name, it's probably fine to never include it in
10280  # preloaded symbol tables.
10281  # Exclude shared library initialization/finalization symbols.
10282  extract_expsyms_cmds=
10283
10284  case $host_os in
10285  cygwin* | mingw* | pw32* | cegcc*)
10286    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10287    # When not using gcc, we currently assume that we are using
10288    # Microsoft Visual C++.
10289    if test "$GCC" != yes; then
10290      with_gnu_ld=no
10291    fi
10292    ;;
10293  interix*)
10294    # we just hope/assume this is gcc and not c89 (= MSVC++)
10295    with_gnu_ld=yes
10296    ;;
10297  openbsd*)
10298    with_gnu_ld=no
10299    ;;
10300  esac
10301
10302  ld_shlibs=yes
10303
10304  # On some targets, GNU ld is compatible enough with the native linker
10305  # that we're better off using the native interface for both.
10306  lt_use_gnu_ld_interface=no
10307  if test "$with_gnu_ld" = yes; then
10308    case $host_os in
10309      aix*)
10310	# The AIX port of GNU ld has always aspired to compatibility
10311	# with the native linker.  However, as the warning in the GNU ld
10312	# block says, versions before 2.19.5* couldn't really create working
10313	# shared libraries, regardless of the interface used.
10314	case `$LD -v 2>&1` in
10315	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10316	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10317	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10318	  *)
10319	    lt_use_gnu_ld_interface=yes
10320	    ;;
10321	esac
10322	;;
10323      *)
10324	lt_use_gnu_ld_interface=yes
10325	;;
10326    esac
10327  fi
10328
10329  if test "$lt_use_gnu_ld_interface" = yes; then
10330    # If archive_cmds runs LD, not CC, wlarc should be empty
10331    wlarc='${wl}'
10332
10333    # Set some defaults for GNU ld with shared library support. These
10334    # are reset later if shared libraries are not supported. Putting them
10335    # here allows them to be overridden if necessary.
10336    runpath_var=LD_RUN_PATH
10337    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10338    export_dynamic_flag_spec='${wl}--export-dynamic'
10339    # ancient GNU ld didn't support --whole-archive et. al.
10340    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10341      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10342    else
10343      whole_archive_flag_spec=
10344    fi
10345    supports_anon_versioning=no
10346    case `$LD -v 2>&1` in
10347      *GNU\ gold*) supports_anon_versioning=yes ;;
10348      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10349      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10350      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10351      *\ 2.11.*) ;; # other 2.11 versions
10352      *) supports_anon_versioning=yes ;;
10353    esac
10354
10355    # See if GNU ld supports shared libraries.
10356    case $host_os in
10357    aix[3-9]*)
10358      # On AIX/PPC, the GNU linker is very broken
10359      if test "$host_cpu" != ia64; then
10360	ld_shlibs=no
10361	cat <<_LT_EOF 1>&2
10362
10363*** Warning: the GNU linker, at least up to release 2.19, is reported
10364*** to be unable to reliably create shared libraries on AIX.
10365*** Therefore, libtool is disabling shared libraries support.  If you
10366*** really care for shared libraries, you may want to install binutils
10367*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10368*** You will then need to restart the configuration process.
10369
10370_LT_EOF
10371      fi
10372      ;;
10373
10374    amigaos*)
10375      case $host_cpu in
10376      powerpc)
10377            # see comment about AmigaOS4 .so support
10378            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10379            archive_expsym_cmds=''
10380        ;;
10381      m68k)
10382            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)'
10383            hardcode_libdir_flag_spec='-L$libdir'
10384            hardcode_minus_L=yes
10385        ;;
10386      esac
10387      ;;
10388
10389    beos*)
10390      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10391	allow_undefined_flag=unsupported
10392	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10393	# support --undefined.  This deserves some investigation.  FIXME
10394	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10395      else
10396	ld_shlibs=no
10397      fi
10398      ;;
10399
10400    cygwin* | mingw* | pw32* | cegcc*)
10401      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10402      # as there is no search path for DLLs.
10403      hardcode_libdir_flag_spec='-L$libdir'
10404      export_dynamic_flag_spec='${wl}--export-all-symbols'
10405      allow_undefined_flag=unsupported
10406      always_export_symbols=no
10407      enable_shared_with_static_runtimes=yes
10408      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10409
10410      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10411        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10412	# If the export-symbols file already is a .def file (1st line
10413	# is EXPORTS), use it as is; otherwise, prepend...
10414	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10415	  cp $export_symbols $output_objdir/$soname.def;
10416	else
10417	  echo EXPORTS > $output_objdir/$soname.def;
10418	  cat $export_symbols >> $output_objdir/$soname.def;
10419	fi~
10420	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10421      else
10422	ld_shlibs=no
10423      fi
10424      ;;
10425
10426    haiku*)
10427      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10428      link_all_deplibs=yes
10429      ;;
10430
10431    interix[3-9]*)
10432      hardcode_direct=no
10433      hardcode_shlibpath_var=no
10434      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10435      export_dynamic_flag_spec='${wl}-E'
10436      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10437      # Instead, shared libraries are loaded at an image base (0x10000000 by
10438      # default) and relocated if they conflict, which is a slow very memory
10439      # consuming and fragmenting process.  To avoid this, we pick a random,
10440      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10441      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10442      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10443      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'
10444      ;;
10445
10446    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10447      tmp_diet=no
10448      if test "$host_os" = linux-dietlibc; then
10449	case $cc_basename in
10450	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10451	esac
10452      fi
10453      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10454	 && test "$tmp_diet" = no
10455      then
10456	tmp_addflag=' $pic_flag'
10457	tmp_sharedflag='-shared'
10458	case $cc_basename,$host_cpu in
10459        pgcc*)				# Portland Group C compiler
10460	  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'
10461	  tmp_addflag=' $pic_flag'
10462	  ;;
10463	pgf77* | pgf90* | pgf95* | pgfortran*)
10464					# Portland Group f77 and f90 compilers
10465	  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'
10466	  tmp_addflag=' $pic_flag -Mnomain' ;;
10467	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10468	  tmp_addflag=' -i_dynamic' ;;
10469	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10470	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10471	ifc* | ifort*)			# Intel Fortran compiler
10472	  tmp_addflag=' -nofor_main' ;;
10473	lf95*)				# Lahey Fortran 8.1
10474	  whole_archive_flag_spec=
10475	  tmp_sharedflag='--shared' ;;
10476	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10477	  tmp_sharedflag='-qmkshrobj'
10478	  tmp_addflag= ;;
10479	nvcc*)	# Cuda Compiler Driver 2.2
10480	  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'
10481	  compiler_needs_object=yes
10482	  ;;
10483	esac
10484	case `$CC -V 2>&1 | sed 5q` in
10485	*Sun\ C*)			# Sun C 5.9
10486	  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'
10487	  compiler_needs_object=yes
10488	  tmp_sharedflag='-G' ;;
10489	*Sun\ F*)			# Sun Fortran 8.3
10490	  tmp_sharedflag='-G' ;;
10491	esac
10492	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10493
10494        if test "x$supports_anon_versioning" = xyes; then
10495          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10496	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10497	    echo "local: *; };" >> $output_objdir/$libname.ver~
10498	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10499        fi
10500
10501	case $cc_basename in
10502	xlf* | bgf* | bgxlf* | mpixlf*)
10503	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10504	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10505	  hardcode_libdir_flag_spec=
10506	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
10507	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10508	  if test "x$supports_anon_versioning" = xyes; then
10509	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10510	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10511	      echo "local: *; };" >> $output_objdir/$libname.ver~
10512	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10513	  fi
10514	  ;;
10515	esac
10516      else
10517        ld_shlibs=no
10518      fi
10519      ;;
10520
10521    netbsd*)
10522      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10523	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10524	wlarc=
10525      else
10526	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10527	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10528      fi
10529      ;;
10530
10531    solaris*)
10532      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10533	ld_shlibs=no
10534	cat <<_LT_EOF 1>&2
10535
10536*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10537*** create shared libraries on Solaris systems.  Therefore, libtool
10538*** is disabling shared libraries support.  We urge you to upgrade GNU
10539*** binutils to release 2.9.1 or newer.  Another option is to modify
10540*** your PATH or compiler configuration so that the native linker is
10541*** used, and then restart.
10542
10543_LT_EOF
10544      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10545	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10546	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10547      else
10548	ld_shlibs=no
10549      fi
10550      ;;
10551
10552    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10553      case `$LD -v 2>&1` in
10554        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10555	ld_shlibs=no
10556	cat <<_LT_EOF 1>&2
10557
10558*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10559*** reliably create shared libraries on SCO systems.  Therefore, libtool
10560*** is disabling shared libraries support.  We urge you to upgrade GNU
10561*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10562*** your PATH or compiler configuration so that the native linker is
10563*** used, and then restart.
10564
10565_LT_EOF
10566	;;
10567	*)
10568	  # For security reasons, it is highly recommended that you always
10569	  # use absolute paths for naming shared libraries, and exclude the
10570	  # DT_RUNPATH tag from executables and libraries.  But doing so
10571	  # requires that you compile everything twice, which is a pain.
10572	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10573	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10574	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10575	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10576	  else
10577	    ld_shlibs=no
10578	  fi
10579	;;
10580      esac
10581      ;;
10582
10583    sunos4*)
10584      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10585      wlarc=
10586      hardcode_direct=yes
10587      hardcode_shlibpath_var=no
10588      ;;
10589
10590    *)
10591      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10592	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10593	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10594      else
10595	ld_shlibs=no
10596      fi
10597      ;;
10598    esac
10599
10600    if test "$ld_shlibs" = no; then
10601      runpath_var=
10602      hardcode_libdir_flag_spec=
10603      export_dynamic_flag_spec=
10604      whole_archive_flag_spec=
10605    fi
10606  else
10607    # PORTME fill in a description of your system's linker (not GNU ld)
10608    case $host_os in
10609    aix3*)
10610      allow_undefined_flag=unsupported
10611      always_export_symbols=yes
10612      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'
10613      # Note: this linker hardcodes the directories in LIBPATH if there
10614      # are no directories specified by -L.
10615      hardcode_minus_L=yes
10616      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10617	# Neither direct hardcoding nor static linking is supported with a
10618	# broken collect2.
10619	hardcode_direct=unsupported
10620      fi
10621      ;;
10622
10623    aix[4-9]*)
10624      if test "$host_cpu" = ia64; then
10625	# On IA64, the linker does run time linking by default, so we don't
10626	# have to do anything special.
10627	aix_use_runtimelinking=no
10628	exp_sym_flag='-Bexport'
10629	no_entry_flag=""
10630      else
10631	# If we're using GNU nm, then we don't want the "-C" option.
10632	# -C means demangle to AIX nm, but means don't demangle with GNU nm
10633	# Also, AIX nm treats weak defined symbols like other global
10634	# defined symbols, whereas GNU nm marks them as "W".
10635	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10636	  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'
10637	else
10638	  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'
10639	fi
10640	aix_use_runtimelinking=no
10641
10642	# Test if we are trying to use run time linking or normal
10643	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10644	# need to do runtime linking.
10645	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10646	  for ld_flag in $LDFLAGS; do
10647	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10648	    aix_use_runtimelinking=yes
10649	    break
10650	  fi
10651	  done
10652	  ;;
10653	esac
10654
10655	exp_sym_flag='-bexport'
10656	no_entry_flag='-bnoentry'
10657      fi
10658
10659      # When large executables or shared objects are built, AIX ld can
10660      # have problems creating the table of contents.  If linking a library
10661      # or program results in "error TOC overflow" add -mminimal-toc to
10662      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10663      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10664
10665      archive_cmds=''
10666      hardcode_direct=yes
10667      hardcode_direct_absolute=yes
10668      hardcode_libdir_separator=':'
10669      link_all_deplibs=yes
10670      file_list_spec='${wl}-f,'
10671
10672      if test "$GCC" = yes; then
10673	case $host_os in aix4.[012]|aix4.[012].*)
10674	# We only want to do this on AIX 4.2 and lower, the check
10675	# below for broken collect2 doesn't work under 4.3+
10676	  collect2name=`${CC} -print-prog-name=collect2`
10677	  if test -f "$collect2name" &&
10678	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10679	  then
10680	  # We have reworked collect2
10681	  :
10682	  else
10683	  # We have old collect2
10684	  hardcode_direct=unsupported
10685	  # It fails to find uninstalled libraries when the uninstalled
10686	  # path is not listed in the libpath.  Setting hardcode_minus_L
10687	  # to unsupported forces relinking
10688	  hardcode_minus_L=yes
10689	  hardcode_libdir_flag_spec='-L$libdir'
10690	  hardcode_libdir_separator=
10691	  fi
10692	  ;;
10693	esac
10694	shared_flag='-shared'
10695	if test "$aix_use_runtimelinking" = yes; then
10696	  shared_flag="$shared_flag "'${wl}-G'
10697	fi
10698      else
10699	# not using gcc
10700	if test "$host_cpu" = ia64; then
10701	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10702	# chokes on -Wl,-G. The following line is correct:
10703	  shared_flag='-G'
10704	else
10705	  if test "$aix_use_runtimelinking" = yes; then
10706	    shared_flag='${wl}-G'
10707	  else
10708	    shared_flag='${wl}-bM:SRE'
10709	  fi
10710	fi
10711      fi
10712
10713      export_dynamic_flag_spec='${wl}-bexpall'
10714      # It seems that -bexpall does not export symbols beginning with
10715      # underscore (_), so it is better to generate a list of symbols to export.
10716      always_export_symbols=yes
10717      if test "$aix_use_runtimelinking" = yes; then
10718	# Warning - without using the other runtime loading flags (-brtl),
10719	# -berok will link without error, but may produce a broken library.
10720	allow_undefined_flag='-berok'
10721        # Determine the default libpath from the value encoded in an
10722        # empty executable.
10723        if test x$gcc_no_link = xyes; then
10724  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10725fi
10726cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10727/* end confdefs.h.  */
10728
10729int
10730main ()
10731{
10732
10733  ;
10734  return 0;
10735}
10736_ACEOF
10737if ac_fn_c_try_link "$LINENO"; then :
10738
10739lt_aix_libpath_sed='
10740    /Import File Strings/,/^$/ {
10741	/^0/ {
10742	    s/^0  *\(.*\)$/\1/
10743	    p
10744	}
10745    }'
10746aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10747# Check for a 64-bit object if we didn't find anything.
10748if test -z "$aix_libpath"; then
10749  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10750fi
10751fi
10752rm -f core conftest.err conftest.$ac_objext \
10753    conftest$ac_exeext conftest.$ac_ext
10754if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10755
10756        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10757        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"
10758      else
10759	if test "$host_cpu" = ia64; then
10760	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10761	  allow_undefined_flag="-z nodefs"
10762	  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"
10763	else
10764	 # Determine the default libpath from the value encoded in an
10765	 # empty executable.
10766	 if test x$gcc_no_link = xyes; then
10767  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10768fi
10769cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10770/* end confdefs.h.  */
10771
10772int
10773main ()
10774{
10775
10776  ;
10777  return 0;
10778}
10779_ACEOF
10780if ac_fn_c_try_link "$LINENO"; then :
10781
10782lt_aix_libpath_sed='
10783    /Import File Strings/,/^$/ {
10784	/^0/ {
10785	    s/^0  *\(.*\)$/\1/
10786	    p
10787	}
10788    }'
10789aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10790# Check for a 64-bit object if we didn't find anything.
10791if test -z "$aix_libpath"; then
10792  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10793fi
10794fi
10795rm -f core conftest.err conftest.$ac_objext \
10796    conftest$ac_exeext conftest.$ac_ext
10797if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10798
10799	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10800	  # Warning - without using the other run time loading flags,
10801	  # -berok will link without error, but may produce a broken library.
10802	  no_undefined_flag=' ${wl}-bernotok'
10803	  allow_undefined_flag=' ${wl}-berok'
10804	  if test "$with_gnu_ld" = yes; then
10805	    # We only use this code for GNU lds that support --whole-archive.
10806	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10807	  else
10808	    # Exported symbols can be pulled into shared objects from archives
10809	    whole_archive_flag_spec='$convenience'
10810	  fi
10811	  archive_cmds_need_lc=yes
10812	  # This is similar to how AIX traditionally builds its shared libraries.
10813	  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'
10814	fi
10815      fi
10816      ;;
10817
10818    amigaos*)
10819      case $host_cpu in
10820      powerpc)
10821            # see comment about AmigaOS4 .so support
10822            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10823            archive_expsym_cmds=''
10824        ;;
10825      m68k)
10826            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)'
10827            hardcode_libdir_flag_spec='-L$libdir'
10828            hardcode_minus_L=yes
10829        ;;
10830      esac
10831      ;;
10832
10833    bsdi[45]*)
10834      export_dynamic_flag_spec=-rdynamic
10835      ;;
10836
10837    cygwin* | mingw* | pw32* | cegcc*)
10838      # When not using gcc, we currently assume that we are using
10839      # Microsoft Visual C++.
10840      # hardcode_libdir_flag_spec is actually meaningless, as there is
10841      # no search path for DLLs.
10842      hardcode_libdir_flag_spec=' '
10843      allow_undefined_flag=unsupported
10844      # Tell ltmain to make .lib files, not .a files.
10845      libext=lib
10846      # Tell ltmain to make .dll files, not .so files.
10847      shrext_cmds=".dll"
10848      # FIXME: Setting linknames here is a bad hack.
10849      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10850      # The linker will automatically build a .lib file if we build a DLL.
10851      old_archive_from_new_cmds='true'
10852      # FIXME: Should let the user specify the lib program.
10853      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10854      fix_srcfile_path='`cygpath -w "$srcfile"`'
10855      enable_shared_with_static_runtimes=yes
10856      ;;
10857
10858    darwin* | rhapsody*)
10859
10860
10861  archive_cmds_need_lc=no
10862  hardcode_direct=no
10863  hardcode_automatic=yes
10864  hardcode_shlibpath_var=unsupported
10865  if test "$lt_cv_ld_force_load" = "yes"; then
10866    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\"`'
10867  else
10868    whole_archive_flag_spec=''
10869  fi
10870  link_all_deplibs=yes
10871  allow_undefined_flag="$_lt_dar_allow_undefined"
10872  case $cc_basename in
10873     ifort*) _lt_dar_can_shared=yes ;;
10874     *) _lt_dar_can_shared=$GCC ;;
10875  esac
10876  if test "$_lt_dar_can_shared" = "yes"; then
10877    output_verbose_link_cmd=func_echo_all
10878    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10879    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10880    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}"
10881    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}"
10882
10883  else
10884  ld_shlibs=no
10885  fi
10886
10887      ;;
10888
10889    dgux*)
10890      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10891      hardcode_libdir_flag_spec='-L$libdir'
10892      hardcode_shlibpath_var=no
10893      ;;
10894
10895    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10896    # support.  Future versions do this automatically, but an explicit c++rt0.o
10897    # does not break anything, and helps significantly (at the cost of a little
10898    # extra space).
10899    freebsd2.2*)
10900      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10901      hardcode_libdir_flag_spec='-R$libdir'
10902      hardcode_direct=yes
10903      hardcode_shlibpath_var=no
10904      ;;
10905
10906    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10907    freebsd2.*)
10908      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10909      hardcode_direct=yes
10910      hardcode_minus_L=yes
10911      hardcode_shlibpath_var=no
10912      ;;
10913
10914    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10915    freebsd* | dragonfly*)
10916      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10917      hardcode_libdir_flag_spec='-R$libdir'
10918      hardcode_direct=yes
10919      hardcode_shlibpath_var=no
10920      ;;
10921
10922    hpux9*)
10923      if test "$GCC" = yes; then
10924	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'
10925      else
10926	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'
10927      fi
10928      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10929      hardcode_libdir_separator=:
10930      hardcode_direct=yes
10931
10932      # hardcode_minus_L: Not really in the search PATH,
10933      # but as the default location of the library.
10934      hardcode_minus_L=yes
10935      export_dynamic_flag_spec='${wl}-E'
10936      ;;
10937
10938    hpux10*)
10939      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10940	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10941      else
10942	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10943      fi
10944      if test "$with_gnu_ld" = no; then
10945	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10946	hardcode_libdir_flag_spec_ld='+b $libdir'
10947	hardcode_libdir_separator=:
10948	hardcode_direct=yes
10949	hardcode_direct_absolute=yes
10950	export_dynamic_flag_spec='${wl}-E'
10951	# hardcode_minus_L: Not really in the search PATH,
10952	# but as the default location of the library.
10953	hardcode_minus_L=yes
10954      fi
10955      ;;
10956
10957    hpux11*)
10958      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10959	case $host_cpu in
10960	hppa*64*)
10961	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10962	  ;;
10963	ia64*)
10964	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10965	  ;;
10966	*)
10967	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10968	  ;;
10969	esac
10970      else
10971	case $host_cpu in
10972	hppa*64*)
10973	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10974	  ;;
10975	ia64*)
10976	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10977	  ;;
10978	*)
10979
10980	  # Older versions of the 11.00 compiler do not understand -b yet
10981	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10982	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10983$as_echo_n "checking if $CC understands -b... " >&6; }
10984if ${lt_cv_prog_compiler__b+:} false; then :
10985  $as_echo_n "(cached) " >&6
10986else
10987  lt_cv_prog_compiler__b=no
10988   save_LDFLAGS="$LDFLAGS"
10989   LDFLAGS="$LDFLAGS -b"
10990   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10991   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10992     # The linker can only warn and ignore the option if not recognized
10993     # So say no if there are warnings
10994     if test -s conftest.err; then
10995       # Append any errors to the config.log.
10996       cat conftest.err 1>&5
10997       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10998       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10999       if diff conftest.exp conftest.er2 >/dev/null; then
11000         lt_cv_prog_compiler__b=yes
11001       fi
11002     else
11003       lt_cv_prog_compiler__b=yes
11004     fi
11005   fi
11006   $RM -r conftest*
11007   LDFLAGS="$save_LDFLAGS"
11008
11009fi
11010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11011$as_echo "$lt_cv_prog_compiler__b" >&6; }
11012
11013if test x"$lt_cv_prog_compiler__b" = xyes; then
11014    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11015else
11016    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11017fi
11018
11019	  ;;
11020	esac
11021      fi
11022      if test "$with_gnu_ld" = no; then
11023	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11024	hardcode_libdir_separator=:
11025
11026	case $host_cpu in
11027	hppa*64*|ia64*)
11028	  hardcode_direct=no
11029	  hardcode_shlibpath_var=no
11030	  ;;
11031	*)
11032	  hardcode_direct=yes
11033	  hardcode_direct_absolute=yes
11034	  export_dynamic_flag_spec='${wl}-E'
11035
11036	  # hardcode_minus_L: Not really in the search PATH,
11037	  # but as the default location of the library.
11038	  hardcode_minus_L=yes
11039	  ;;
11040	esac
11041      fi
11042      ;;
11043
11044    irix5* | irix6* | nonstopux*)
11045      if test "$GCC" = yes; then
11046	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'
11047	# Try to use the -exported_symbol ld option, if it does not
11048	# work, assume that -exports_file does not work either and
11049	# implicitly export all symbols.
11050        save_LDFLAGS="$LDFLAGS"
11051        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11052        if test x$gcc_no_link = xyes; then
11053  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11054fi
11055cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11056/* end confdefs.h.  */
11057int foo(void) {}
11058_ACEOF
11059if ac_fn_c_try_link "$LINENO"; then :
11060  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'
11061
11062fi
11063rm -f core conftest.err conftest.$ac_objext \
11064    conftest$ac_exeext conftest.$ac_ext
11065        LDFLAGS="$save_LDFLAGS"
11066      else
11067	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'
11068	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'
11069      fi
11070      archive_cmds_need_lc='no'
11071      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11072      hardcode_libdir_separator=:
11073      inherit_rpath=yes
11074      link_all_deplibs=yes
11075      ;;
11076
11077    netbsd*)
11078      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11079	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11080      else
11081	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11082      fi
11083      hardcode_libdir_flag_spec='-R$libdir'
11084      hardcode_direct=yes
11085      hardcode_shlibpath_var=no
11086      ;;
11087
11088    newsos6)
11089      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11090      hardcode_direct=yes
11091      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11092      hardcode_libdir_separator=:
11093      hardcode_shlibpath_var=no
11094      ;;
11095
11096    *nto* | *qnx*)
11097      ;;
11098
11099    openbsd*)
11100      if test -f /usr/libexec/ld.so; then
11101	hardcode_direct=yes
11102	hardcode_shlibpath_var=no
11103	hardcode_direct_absolute=yes
11104	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11105	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11106	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11107	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11108	  export_dynamic_flag_spec='${wl}-E'
11109	else
11110	  case $host_os in
11111	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11112	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11113	     hardcode_libdir_flag_spec='-R$libdir'
11114	     ;;
11115	   *)
11116	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11117	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11118	     ;;
11119	  esac
11120	fi
11121      else
11122	ld_shlibs=no
11123      fi
11124      ;;
11125
11126    os2*)
11127      hardcode_libdir_flag_spec='-L$libdir'
11128      hardcode_minus_L=yes
11129      allow_undefined_flag=unsupported
11130      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'
11131      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11132      ;;
11133
11134    osf3*)
11135      if test "$GCC" = yes; then
11136	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11137	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'
11138      else
11139	allow_undefined_flag=' -expect_unresolved \*'
11140	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'
11141      fi
11142      archive_cmds_need_lc='no'
11143      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11144      hardcode_libdir_separator=:
11145      ;;
11146
11147    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11148      if test "$GCC" = yes; then
11149	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11150	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'
11151	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11152      else
11153	allow_undefined_flag=' -expect_unresolved \*'
11154	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'
11155	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~
11156	$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'
11157
11158	# Both c and cxx compiler support -rpath directly
11159	hardcode_libdir_flag_spec='-rpath $libdir'
11160      fi
11161      archive_cmds_need_lc='no'
11162      hardcode_libdir_separator=:
11163      ;;
11164
11165    solaris*)
11166      no_undefined_flag=' -z defs'
11167      if test "$GCC" = yes; then
11168	wlarc='${wl}'
11169	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11170	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11171	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11172      else
11173	case `$CC -V 2>&1` in
11174	*"Compilers 5.0"*)
11175	  wlarc=''
11176	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11177	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11178	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11179	  ;;
11180	*)
11181	  wlarc='${wl}'
11182	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11183	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11184	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11185	  ;;
11186	esac
11187      fi
11188      hardcode_libdir_flag_spec='-R$libdir'
11189      hardcode_shlibpath_var=no
11190      case $host_os in
11191      solaris2.[0-5] | solaris2.[0-5].*) ;;
11192      *)
11193	# The compiler driver will combine and reorder linker options,
11194	# but understands `-z linker_flag'.  GCC discards it without `$wl',
11195	# but is careful enough not to reorder.
11196	# Supported since Solaris 2.6 (maybe 2.5.1?)
11197	if test "$GCC" = yes; then
11198	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11199	else
11200	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11201	fi
11202	;;
11203      esac
11204      link_all_deplibs=yes
11205      ;;
11206
11207    sunos4*)
11208      if test "x$host_vendor" = xsequent; then
11209	# Use $CC to link under sequent, because it throws in some extra .o
11210	# files that make .init and .fini sections work.
11211	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11212      else
11213	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11214      fi
11215      hardcode_libdir_flag_spec='-L$libdir'
11216      hardcode_direct=yes
11217      hardcode_minus_L=yes
11218      hardcode_shlibpath_var=no
11219      ;;
11220
11221    sysv4)
11222      case $host_vendor in
11223	sni)
11224	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11225	  hardcode_direct=yes # is this really true???
11226	;;
11227	siemens)
11228	  ## LD is ld it makes a PLAMLIB
11229	  ## CC just makes a GrossModule.
11230	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11231	  reload_cmds='$CC -r -o $output$reload_objs'
11232	  hardcode_direct=no
11233        ;;
11234	motorola)
11235	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11236	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11237	;;
11238      esac
11239      runpath_var='LD_RUN_PATH'
11240      hardcode_shlibpath_var=no
11241      ;;
11242
11243    sysv4.3*)
11244      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11245      hardcode_shlibpath_var=no
11246      export_dynamic_flag_spec='-Bexport'
11247      ;;
11248
11249    sysv4*MP*)
11250      if test -d /usr/nec; then
11251	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11252	hardcode_shlibpath_var=no
11253	runpath_var=LD_RUN_PATH
11254	hardcode_runpath_var=yes
11255	ld_shlibs=yes
11256      fi
11257      ;;
11258
11259    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11260      no_undefined_flag='${wl}-z,text'
11261      archive_cmds_need_lc=no
11262      hardcode_shlibpath_var=no
11263      runpath_var='LD_RUN_PATH'
11264
11265      if test "$GCC" = yes; then
11266	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11267	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11268      else
11269	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11270	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11271      fi
11272      ;;
11273
11274    sysv5* | sco3.2v5* | sco5v6*)
11275      # Note: We can NOT use -z defs as we might desire, because we do not
11276      # link with -lc, and that would cause any symbols used from libc to
11277      # always be unresolved, which means just about no library would
11278      # ever link correctly.  If we're not using GNU ld we use -z text
11279      # though, which does catch some bad symbols but isn't as heavy-handed
11280      # as -z defs.
11281      no_undefined_flag='${wl}-z,text'
11282      allow_undefined_flag='${wl}-z,nodefs'
11283      archive_cmds_need_lc=no
11284      hardcode_shlibpath_var=no
11285      hardcode_libdir_flag_spec='${wl}-R,$libdir'
11286      hardcode_libdir_separator=':'
11287      link_all_deplibs=yes
11288      export_dynamic_flag_spec='${wl}-Bexport'
11289      runpath_var='LD_RUN_PATH'
11290
11291      if test "$GCC" = yes; then
11292	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11293	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11294      else
11295	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11296	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11297      fi
11298      ;;
11299
11300    uts4*)
11301      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11302      hardcode_libdir_flag_spec='-L$libdir'
11303      hardcode_shlibpath_var=no
11304      ;;
11305
11306    *)
11307      ld_shlibs=no
11308      ;;
11309    esac
11310
11311    if test x$host_vendor = xsni; then
11312      case $host in
11313      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11314	export_dynamic_flag_spec='${wl}-Blargedynsym'
11315	;;
11316      esac
11317    fi
11318  fi
11319
11320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11321$as_echo "$ld_shlibs" >&6; }
11322test "$ld_shlibs" = no && can_build_shared=no
11323
11324with_gnu_ld=$with_gnu_ld
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340#
11341# Do we need to explicitly link libc?
11342#
11343case "x$archive_cmds_need_lc" in
11344x|xyes)
11345  # Assume -lc should be added
11346  archive_cmds_need_lc=yes
11347
11348  if test "$enable_shared" = yes && test "$GCC" = yes; then
11349    case $archive_cmds in
11350    *'~'*)
11351      # FIXME: we may have to deal with multi-command sequences.
11352      ;;
11353    '$CC '*)
11354      # Test whether the compiler implicitly links with -lc since on some
11355      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11356      # to ld, don't add -lc before -lgcc.
11357      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11358$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11359if ${lt_cv_archive_cmds_need_lc+:} false; then :
11360  $as_echo_n "(cached) " >&6
11361else
11362  $RM conftest*
11363	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11364
11365	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11366  (eval $ac_compile) 2>&5
11367  ac_status=$?
11368  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11369  test $ac_status = 0; } 2>conftest.err; then
11370	  soname=conftest
11371	  lib=conftest
11372	  libobjs=conftest.$ac_objext
11373	  deplibs=
11374	  wl=$lt_prog_compiler_wl
11375	  pic_flag=$lt_prog_compiler_pic
11376	  compiler_flags=-v
11377	  linker_flags=-v
11378	  verstring=
11379	  output_objdir=.
11380	  libname=conftest
11381	  lt_save_allow_undefined_flag=$allow_undefined_flag
11382	  allow_undefined_flag=
11383	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11384  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11385  ac_status=$?
11386  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11387  test $ac_status = 0; }
11388	  then
11389	    lt_cv_archive_cmds_need_lc=no
11390	  else
11391	    lt_cv_archive_cmds_need_lc=yes
11392	  fi
11393	  allow_undefined_flag=$lt_save_allow_undefined_flag
11394	else
11395	  cat conftest.err 1>&5
11396	fi
11397	$RM conftest*
11398
11399fi
11400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11401$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11402      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11403      ;;
11404    esac
11405  fi
11406  ;;
11407esac
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
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  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11566$as_echo_n "checking dynamic linker characteristics... " >&6; }
11567
11568if test "$GCC" = yes; then
11569  case $host_os in
11570    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11571    *) lt_awk_arg="/^libraries:/" ;;
11572  esac
11573  case $host_os in
11574    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11575    *) lt_sed_strip_eq="s,=/,/,g" ;;
11576  esac
11577  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11578  case $lt_search_path_spec in
11579  *\;*)
11580    # if the path contains ";" then we assume it to be the separator
11581    # otherwise default to the standard path separator (i.e. ":") - it is
11582    # assumed that no part of a normal pathname contains ";" but that should
11583    # okay in the real world where ";" in dirpaths is itself problematic.
11584    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11585    ;;
11586  *)
11587    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11588    ;;
11589  esac
11590  # Ok, now we have the path, separated by spaces, we can step through it
11591  # and add multilib dir if necessary.
11592  lt_tmp_lt_search_path_spec=
11593  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11594  for lt_sys_path in $lt_search_path_spec; do
11595    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11596      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11597    else
11598      test -d "$lt_sys_path" && \
11599	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11600    fi
11601  done
11602  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11603BEGIN {RS=" "; FS="/|\n";} {
11604  lt_foo="";
11605  lt_count=0;
11606  for (lt_i = NF; lt_i > 0; lt_i--) {
11607    if ($lt_i != "" && $lt_i != ".") {
11608      if ($lt_i == "..") {
11609        lt_count++;
11610      } else {
11611        if (lt_count == 0) {
11612          lt_foo="/" $lt_i lt_foo;
11613        } else {
11614          lt_count--;
11615        }
11616      }
11617    }
11618  }
11619  if (lt_foo != "") { lt_freq[lt_foo]++; }
11620  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11621}'`
11622  # AWK program above erroneously prepends '/' to C:/dos/paths
11623  # for these hosts.
11624  case $host_os in
11625    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11626      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11627  esac
11628  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11629else
11630  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11631fi
11632library_names_spec=
11633libname_spec='lib$name'
11634soname_spec=
11635shrext_cmds=".so"
11636postinstall_cmds=
11637postuninstall_cmds=
11638finish_cmds=
11639finish_eval=
11640shlibpath_var=
11641shlibpath_overrides_runpath=unknown
11642version_type=none
11643dynamic_linker="$host_os ld.so"
11644sys_lib_dlsearch_path_spec="/lib /usr/lib"
11645need_lib_prefix=unknown
11646hardcode_into_libs=no
11647
11648# when you set need_version to no, make sure it does not cause -set_version
11649# flags to be left without arguments
11650need_version=unknown
11651
11652case $host_os in
11653aix3*)
11654  version_type=linux
11655  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11656  shlibpath_var=LIBPATH
11657
11658  # AIX 3 has no versioning support, so we append a major version to the name.
11659  soname_spec='${libname}${release}${shared_ext}$major'
11660  ;;
11661
11662aix[4-9]*)
11663  version_type=linux
11664  need_lib_prefix=no
11665  need_version=no
11666  hardcode_into_libs=yes
11667  if test "$host_cpu" = ia64; then
11668    # AIX 5 supports IA64
11669    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11670    shlibpath_var=LD_LIBRARY_PATH
11671  else
11672    # With GCC up to 2.95.x, collect2 would create an import file
11673    # for dependence libraries.  The import file would start with
11674    # the line `#! .'.  This would cause the generated library to
11675    # depend on `.', always an invalid library.  This was fixed in
11676    # development snapshots of GCC prior to 3.0.
11677    case $host_os in
11678      aix4 | aix4.[01] | aix4.[01].*)
11679      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11680	   echo ' yes '
11681	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11682	:
11683      else
11684	can_build_shared=no
11685      fi
11686      ;;
11687    esac
11688    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11689    # soname into executable. Probably we can add versioning support to
11690    # collect2, so additional links can be useful in future.
11691    if test "$aix_use_runtimelinking" = yes; then
11692      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11693      # instead of lib<name>.a to let people know that these are not
11694      # typical AIX shared libraries.
11695      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11696    else
11697      # We preserve .a as extension for shared libraries through AIX4.2
11698      # and later when we are not doing run time linking.
11699      library_names_spec='${libname}${release}.a $libname.a'
11700      soname_spec='${libname}${release}${shared_ext}$major'
11701    fi
11702    shlibpath_var=LIBPATH
11703  fi
11704  ;;
11705
11706amigaos*)
11707  case $host_cpu in
11708  powerpc)
11709    # Since July 2007 AmigaOS4 officially supports .so libraries.
11710    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11711    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11712    ;;
11713  m68k)
11714    library_names_spec='$libname.ixlibrary $libname.a'
11715    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11716    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'
11717    ;;
11718  esac
11719  ;;
11720
11721beos*)
11722  library_names_spec='${libname}${shared_ext}'
11723  dynamic_linker="$host_os ld.so"
11724  shlibpath_var=LIBRARY_PATH
11725  ;;
11726
11727bsdi[45]*)
11728  version_type=linux
11729  need_version=no
11730  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11731  soname_spec='${libname}${release}${shared_ext}$major'
11732  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11733  shlibpath_var=LD_LIBRARY_PATH
11734  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11735  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11736  # the default ld.so.conf also contains /usr/contrib/lib and
11737  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11738  # libtool to hard-code these into programs
11739  ;;
11740
11741cygwin* | mingw* | pw32* | cegcc*)
11742  version_type=windows
11743  shrext_cmds=".dll"
11744  need_version=no
11745  need_lib_prefix=no
11746
11747  case $GCC,$host_os in
11748  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11749    library_names_spec='$libname.dll.a'
11750    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11751    postinstall_cmds='base_file=`basename \${file}`~
11752      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11753      dldir=$destdir/`dirname \$dlpath`~
11754      test -d \$dldir || mkdir -p \$dldir~
11755      $install_prog $dir/$dlname \$dldir/$dlname~
11756      chmod a+x \$dldir/$dlname~
11757      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11758        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11759      fi'
11760    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11761      dlpath=$dir/\$dldll~
11762       $RM \$dlpath'
11763    shlibpath_overrides_runpath=yes
11764
11765    case $host_os in
11766    cygwin*)
11767      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11768      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11769
11770      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11771      ;;
11772    mingw* | cegcc*)
11773      # MinGW DLLs use traditional 'lib' prefix
11774      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11775      ;;
11776    pw32*)
11777      # pw32 DLLs use 'pw' prefix rather than 'lib'
11778      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11779      ;;
11780    esac
11781    ;;
11782
11783  *)
11784    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11785    ;;
11786  esac
11787  dynamic_linker='Win32 ld.exe'
11788  # FIXME: first we should search . and the directory the executable is in
11789  shlibpath_var=PATH
11790  ;;
11791
11792darwin* | rhapsody*)
11793  dynamic_linker="$host_os dyld"
11794  version_type=darwin
11795  need_lib_prefix=no
11796  need_version=no
11797  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11798  soname_spec='${libname}${release}${major}$shared_ext'
11799  shlibpath_overrides_runpath=yes
11800  shlibpath_var=DYLD_LIBRARY_PATH
11801  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11802
11803  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11804  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11805  ;;
11806
11807dgux*)
11808  version_type=linux
11809  need_lib_prefix=no
11810  need_version=no
11811  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11812  soname_spec='${libname}${release}${shared_ext}$major'
11813  shlibpath_var=LD_LIBRARY_PATH
11814  ;;
11815
11816freebsd* | dragonfly*)
11817  # DragonFly does not have aout.  When/if they implement a new
11818  # versioning mechanism, adjust this.
11819  if test -x /usr/bin/objformat; then
11820    objformat=`/usr/bin/objformat`
11821  else
11822    case $host_os in
11823    freebsd[23].*) objformat=aout ;;
11824    *) objformat=elf ;;
11825    esac
11826  fi
11827  version_type=freebsd-$objformat
11828  case $version_type in
11829    freebsd-elf*)
11830      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11831      need_version=no
11832      need_lib_prefix=no
11833      ;;
11834    freebsd-*)
11835      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11836      need_version=yes
11837      ;;
11838  esac
11839  shlibpath_var=LD_LIBRARY_PATH
11840  case $host_os in
11841  freebsd2.*)
11842    shlibpath_overrides_runpath=yes
11843    ;;
11844  freebsd3.[01]* | freebsdelf3.[01]*)
11845    shlibpath_overrides_runpath=yes
11846    hardcode_into_libs=yes
11847    ;;
11848  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11849  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11850    shlibpath_overrides_runpath=no
11851    hardcode_into_libs=yes
11852    ;;
11853  *) # from 4.6 on, and DragonFly
11854    shlibpath_overrides_runpath=yes
11855    hardcode_into_libs=yes
11856    ;;
11857  esac
11858  ;;
11859
11860gnu*)
11861  version_type=linux
11862  need_lib_prefix=no
11863  need_version=no
11864  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11865  soname_spec='${libname}${release}${shared_ext}$major'
11866  shlibpath_var=LD_LIBRARY_PATH
11867  hardcode_into_libs=yes
11868  ;;
11869
11870haiku*)
11871  version_type=linux
11872  need_lib_prefix=no
11873  need_version=no
11874  dynamic_linker="$host_os runtime_loader"
11875  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11876  soname_spec='${libname}${release}${shared_ext}$major'
11877  shlibpath_var=LIBRARY_PATH
11878  shlibpath_overrides_runpath=yes
11879  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11880  hardcode_into_libs=yes
11881  ;;
11882
11883hpux9* | hpux10* | hpux11*)
11884  # Give a soname corresponding to the major version so that dld.sl refuses to
11885  # link against other versions.
11886  version_type=sunos
11887  need_lib_prefix=no
11888  need_version=no
11889  case $host_cpu in
11890  ia64*)
11891    shrext_cmds='.so'
11892    hardcode_into_libs=yes
11893    dynamic_linker="$host_os dld.so"
11894    shlibpath_var=LD_LIBRARY_PATH
11895    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11896    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11897    soname_spec='${libname}${release}${shared_ext}$major'
11898    if test "X$HPUX_IA64_MODE" = X32; then
11899      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11900    else
11901      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11902    fi
11903    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11904    ;;
11905  hppa*64*)
11906    shrext_cmds='.sl'
11907    hardcode_into_libs=yes
11908    dynamic_linker="$host_os dld.sl"
11909    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11910    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11911    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11912    soname_spec='${libname}${release}${shared_ext}$major'
11913    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11914    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11915    ;;
11916  *)
11917    shrext_cmds='.sl'
11918    dynamic_linker="$host_os dld.sl"
11919    shlibpath_var=SHLIB_PATH
11920    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11921    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11922    soname_spec='${libname}${release}${shared_ext}$major'
11923    ;;
11924  esac
11925  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11926  postinstall_cmds='chmod 555 $lib'
11927  # or fails outright, so override atomically:
11928  install_override_mode=555
11929  ;;
11930
11931interix[3-9]*)
11932  version_type=linux
11933  need_lib_prefix=no
11934  need_version=no
11935  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11936  soname_spec='${libname}${release}${shared_ext}$major'
11937  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11938  shlibpath_var=LD_LIBRARY_PATH
11939  shlibpath_overrides_runpath=no
11940  hardcode_into_libs=yes
11941  ;;
11942
11943irix5* | irix6* | nonstopux*)
11944  case $host_os in
11945    nonstopux*) version_type=nonstopux ;;
11946    *)
11947	if test "$lt_cv_prog_gnu_ld" = yes; then
11948		version_type=linux
11949	else
11950		version_type=irix
11951	fi ;;
11952  esac
11953  need_lib_prefix=no
11954  need_version=no
11955  soname_spec='${libname}${release}${shared_ext}$major'
11956  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11957  case $host_os in
11958  irix5* | nonstopux*)
11959    libsuff= shlibsuff=
11960    ;;
11961  *)
11962    case $LD in # libtool.m4 will add one of these switches to LD
11963    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11964      libsuff= shlibsuff= libmagic=32-bit;;
11965    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11966      libsuff=32 shlibsuff=N32 libmagic=N32;;
11967    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11968      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11969    *) libsuff= shlibsuff= libmagic=never-match;;
11970    esac
11971    ;;
11972  esac
11973  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11974  shlibpath_overrides_runpath=no
11975  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11976  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11977  hardcode_into_libs=yes
11978  ;;
11979
11980# No shared lib support for Linux oldld, aout, or coff.
11981linux*oldld* | linux*aout* | linux*coff*)
11982  dynamic_linker=no
11983  ;;
11984
11985# This must be Linux ELF.
11986linux* | k*bsd*-gnu | kopensolaris*-gnu)
11987  version_type=linux
11988  need_lib_prefix=no
11989  need_version=no
11990  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11991  soname_spec='${libname}${release}${shared_ext}$major'
11992  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11993  shlibpath_var=LD_LIBRARY_PATH
11994  shlibpath_overrides_runpath=no
11995
11996  # Some binutils ld are patched to set DT_RUNPATH
11997  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11998  $as_echo_n "(cached) " >&6
11999else
12000  lt_cv_shlibpath_overrides_runpath=no
12001    save_LDFLAGS=$LDFLAGS
12002    save_libdir=$libdir
12003    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12004	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12005    if test x$gcc_no_link = xyes; then
12006  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12007fi
12008cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12009/* end confdefs.h.  */
12010
12011int
12012main ()
12013{
12014
12015  ;
12016  return 0;
12017}
12018_ACEOF
12019if ac_fn_c_try_link "$LINENO"; then :
12020  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12021  lt_cv_shlibpath_overrides_runpath=yes
12022fi
12023fi
12024rm -f core conftest.err conftest.$ac_objext \
12025    conftest$ac_exeext conftest.$ac_ext
12026    LDFLAGS=$save_LDFLAGS
12027    libdir=$save_libdir
12028
12029fi
12030
12031  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12032
12033  # This implies no fast_install, which is unacceptable.
12034  # Some rework will be needed to allow for fast_install
12035  # before this can be enabled.
12036  hardcode_into_libs=yes
12037
12038  # Append ld.so.conf contents to the search path
12039  if test -f /etc/ld.so.conf; then
12040    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' ' '`
12041    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12042  fi
12043
12044  # We used to test for /lib/ld.so.1 and disable shared libraries on
12045  # powerpc, because MkLinux only supported shared libraries with the
12046  # GNU dynamic linker.  Since this was broken with cross compilers,
12047  # most powerpc-linux boxes support dynamic linking these days and
12048  # people can always --disable-shared, the test was removed, and we
12049  # assume the GNU/Linux dynamic linker is in use.
12050  dynamic_linker='GNU/Linux ld.so'
12051  ;;
12052
12053netbsd*)
12054  version_type=sunos
12055  need_lib_prefix=no
12056  need_version=no
12057  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12058    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12059    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12060    dynamic_linker='NetBSD (a.out) ld.so'
12061  else
12062    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12063    soname_spec='${libname}${release}${shared_ext}$major'
12064    dynamic_linker='NetBSD ld.elf_so'
12065  fi
12066  shlibpath_var=LD_LIBRARY_PATH
12067  shlibpath_overrides_runpath=yes
12068  hardcode_into_libs=yes
12069  ;;
12070
12071newsos6)
12072  version_type=linux
12073  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12074  shlibpath_var=LD_LIBRARY_PATH
12075  shlibpath_overrides_runpath=yes
12076  ;;
12077
12078*nto* | *qnx*)
12079  version_type=qnx
12080  need_lib_prefix=no
12081  need_version=no
12082  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12083  soname_spec='${libname}${release}${shared_ext}$major'
12084  shlibpath_var=LD_LIBRARY_PATH
12085  shlibpath_overrides_runpath=no
12086  hardcode_into_libs=yes
12087  dynamic_linker='ldqnx.so'
12088  ;;
12089
12090openbsd*)
12091  version_type=sunos
12092  sys_lib_dlsearch_path_spec="/usr/lib"
12093  need_lib_prefix=no
12094  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12095  case $host_os in
12096    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
12097    *)				need_version=no  ;;
12098  esac
12099  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12100  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12101  shlibpath_var=LD_LIBRARY_PATH
12102  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12103    case $host_os in
12104      openbsd2.[89] | openbsd2.[89].*)
12105	shlibpath_overrides_runpath=no
12106	;;
12107      *)
12108	shlibpath_overrides_runpath=yes
12109	;;
12110      esac
12111  else
12112    shlibpath_overrides_runpath=yes
12113  fi
12114  ;;
12115
12116os2*)
12117  libname_spec='$name'
12118  shrext_cmds=".dll"
12119  need_lib_prefix=no
12120  library_names_spec='$libname${shared_ext} $libname.a'
12121  dynamic_linker='OS/2 ld.exe'
12122  shlibpath_var=LIBPATH
12123  ;;
12124
12125osf3* | osf4* | osf5*)
12126  version_type=osf
12127  need_lib_prefix=no
12128  need_version=no
12129  soname_spec='${libname}${release}${shared_ext}$major'
12130  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12131  shlibpath_var=LD_LIBRARY_PATH
12132  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12133  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12134  ;;
12135
12136rdos*)
12137  dynamic_linker=no
12138  ;;
12139
12140solaris*)
12141  version_type=linux
12142  need_lib_prefix=no
12143  need_version=no
12144  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12145  soname_spec='${libname}${release}${shared_ext}$major'
12146  shlibpath_var=LD_LIBRARY_PATH
12147  shlibpath_overrides_runpath=yes
12148  hardcode_into_libs=yes
12149  # ldd complains unless libraries are executable
12150  postinstall_cmds='chmod +x $lib'
12151  ;;
12152
12153sunos4*)
12154  version_type=sunos
12155  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12156  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12157  shlibpath_var=LD_LIBRARY_PATH
12158  shlibpath_overrides_runpath=yes
12159  if test "$with_gnu_ld" = yes; then
12160    need_lib_prefix=no
12161  fi
12162  need_version=yes
12163  ;;
12164
12165sysv4 | sysv4.3*)
12166  version_type=linux
12167  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12168  soname_spec='${libname}${release}${shared_ext}$major'
12169  shlibpath_var=LD_LIBRARY_PATH
12170  case $host_vendor in
12171    sni)
12172      shlibpath_overrides_runpath=no
12173      need_lib_prefix=no
12174      runpath_var=LD_RUN_PATH
12175      ;;
12176    siemens)
12177      need_lib_prefix=no
12178      ;;
12179    motorola)
12180      need_lib_prefix=no
12181      need_version=no
12182      shlibpath_overrides_runpath=no
12183      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12184      ;;
12185  esac
12186  ;;
12187
12188sysv4*MP*)
12189  if test -d /usr/nec ;then
12190    version_type=linux
12191    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12192    soname_spec='$libname${shared_ext}.$major'
12193    shlibpath_var=LD_LIBRARY_PATH
12194  fi
12195  ;;
12196
12197sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12198  version_type=freebsd-elf
12199  need_lib_prefix=no
12200  need_version=no
12201  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12202  soname_spec='${libname}${release}${shared_ext}$major'
12203  shlibpath_var=LD_LIBRARY_PATH
12204  shlibpath_overrides_runpath=yes
12205  hardcode_into_libs=yes
12206  if test "$with_gnu_ld" = yes; then
12207    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12208  else
12209    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12210    case $host_os in
12211      sco3.2v5*)
12212        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12213	;;
12214    esac
12215  fi
12216  sys_lib_dlsearch_path_spec='/usr/lib'
12217  ;;
12218
12219tpf*)
12220  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12221  version_type=linux
12222  need_lib_prefix=no
12223  need_version=no
12224  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12225  shlibpath_var=LD_LIBRARY_PATH
12226  shlibpath_overrides_runpath=no
12227  hardcode_into_libs=yes
12228  ;;
12229
12230uts4*)
12231  version_type=linux
12232  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12233  soname_spec='${libname}${release}${shared_ext}$major'
12234  shlibpath_var=LD_LIBRARY_PATH
12235  ;;
12236
12237*)
12238  dynamic_linker=no
12239  ;;
12240esac
12241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12242$as_echo "$dynamic_linker" >&6; }
12243test "$dynamic_linker" = no && can_build_shared=no
12244
12245variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12246if test "$GCC" = yes; then
12247  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12248fi
12249
12250if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12251  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12252fi
12253if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12254  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12255fi
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
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  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12349$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12350hardcode_action=
12351if test -n "$hardcode_libdir_flag_spec" ||
12352   test -n "$runpath_var" ||
12353   test "X$hardcode_automatic" = "Xyes" ; then
12354
12355  # We can hardcode non-existent directories.
12356  if test "$hardcode_direct" != no &&
12357     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12358     # have to relink, otherwise we might link with an installed library
12359     # when we should be linking with a yet-to-be-installed one
12360     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12361     test "$hardcode_minus_L" != no; then
12362    # Linking always hardcodes the temporary library directory.
12363    hardcode_action=relink
12364  else
12365    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12366    hardcode_action=immediate
12367  fi
12368else
12369  # We cannot hardcode anything, or else we can only hardcode existing
12370  # directories.
12371  hardcode_action=unsupported
12372fi
12373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12374$as_echo "$hardcode_action" >&6; }
12375
12376if test "$hardcode_action" = relink ||
12377   test "$inherit_rpath" = yes; then
12378  # Fast installation is not supported
12379  enable_fast_install=no
12380elif test "$shlibpath_overrides_runpath" = yes ||
12381     test "$enable_shared" = no; then
12382  # Fast installation is not necessary
12383  enable_fast_install=needless
12384fi
12385
12386
12387
12388
12389
12390
12391  if test "x$enable_dlopen" != xyes; then
12392  enable_dlopen=unknown
12393  enable_dlopen_self=unknown
12394  enable_dlopen_self_static=unknown
12395else
12396  lt_cv_dlopen=no
12397  lt_cv_dlopen_libs=
12398
12399  case $host_os in
12400  beos*)
12401    lt_cv_dlopen="load_add_on"
12402    lt_cv_dlopen_libs=
12403    lt_cv_dlopen_self=yes
12404    ;;
12405
12406  mingw* | pw32* | cegcc*)
12407    lt_cv_dlopen="LoadLibrary"
12408    lt_cv_dlopen_libs=
12409    ;;
12410
12411  cygwin*)
12412    lt_cv_dlopen="dlopen"
12413    lt_cv_dlopen_libs=
12414    ;;
12415
12416  darwin*)
12417  # if libdl is installed we need to link against it
12418    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12419$as_echo_n "checking for dlopen in -ldl... " >&6; }
12420if ${ac_cv_lib_dl_dlopen+:} false; then :
12421  $as_echo_n "(cached) " >&6
12422else
12423  ac_check_lib_save_LIBS=$LIBS
12424LIBS="-ldl  $LIBS"
12425if test x$gcc_no_link = xyes; then
12426  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12427fi
12428cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12429/* end confdefs.h.  */
12430
12431/* Override any GCC internal prototype to avoid an error.
12432   Use char because int might match the return type of a GCC
12433   builtin and then its argument prototype would still apply.  */
12434#ifdef __cplusplus
12435extern "C"
12436#endif
12437char dlopen ();
12438int
12439main ()
12440{
12441return dlopen ();
12442  ;
12443  return 0;
12444}
12445_ACEOF
12446if ac_fn_c_try_link "$LINENO"; then :
12447  ac_cv_lib_dl_dlopen=yes
12448else
12449  ac_cv_lib_dl_dlopen=no
12450fi
12451rm -f core conftest.err conftest.$ac_objext \
12452    conftest$ac_exeext conftest.$ac_ext
12453LIBS=$ac_check_lib_save_LIBS
12454fi
12455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12456$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12457if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12458  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12459else
12460
12461    lt_cv_dlopen="dyld"
12462    lt_cv_dlopen_libs=
12463    lt_cv_dlopen_self=yes
12464
12465fi
12466
12467    ;;
12468
12469  *)
12470    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12471if test "x$ac_cv_func_shl_load" = xyes; then :
12472  lt_cv_dlopen="shl_load"
12473else
12474  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12475$as_echo_n "checking for shl_load in -ldld... " >&6; }
12476if ${ac_cv_lib_dld_shl_load+:} false; then :
12477  $as_echo_n "(cached) " >&6
12478else
12479  ac_check_lib_save_LIBS=$LIBS
12480LIBS="-ldld  $LIBS"
12481if test x$gcc_no_link = xyes; then
12482  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12483fi
12484cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12485/* end confdefs.h.  */
12486
12487/* Override any GCC internal prototype to avoid an error.
12488   Use char because int might match the return type of a GCC
12489   builtin and then its argument prototype would still apply.  */
12490#ifdef __cplusplus
12491extern "C"
12492#endif
12493char shl_load ();
12494int
12495main ()
12496{
12497return shl_load ();
12498  ;
12499  return 0;
12500}
12501_ACEOF
12502if ac_fn_c_try_link "$LINENO"; then :
12503  ac_cv_lib_dld_shl_load=yes
12504else
12505  ac_cv_lib_dld_shl_load=no
12506fi
12507rm -f core conftest.err conftest.$ac_objext \
12508    conftest$ac_exeext conftest.$ac_ext
12509LIBS=$ac_check_lib_save_LIBS
12510fi
12511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12512$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12513if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12514  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12515else
12516  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12517if test "x$ac_cv_func_dlopen" = xyes; then :
12518  lt_cv_dlopen="dlopen"
12519else
12520  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12521$as_echo_n "checking for dlopen in -ldl... " >&6; }
12522if ${ac_cv_lib_dl_dlopen+:} false; then :
12523  $as_echo_n "(cached) " >&6
12524else
12525  ac_check_lib_save_LIBS=$LIBS
12526LIBS="-ldl  $LIBS"
12527if test x$gcc_no_link = xyes; then
12528  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12529fi
12530cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12531/* end confdefs.h.  */
12532
12533/* Override any GCC internal prototype to avoid an error.
12534   Use char because int might match the return type of a GCC
12535   builtin and then its argument prototype would still apply.  */
12536#ifdef __cplusplus
12537extern "C"
12538#endif
12539char dlopen ();
12540int
12541main ()
12542{
12543return dlopen ();
12544  ;
12545  return 0;
12546}
12547_ACEOF
12548if ac_fn_c_try_link "$LINENO"; then :
12549  ac_cv_lib_dl_dlopen=yes
12550else
12551  ac_cv_lib_dl_dlopen=no
12552fi
12553rm -f core conftest.err conftest.$ac_objext \
12554    conftest$ac_exeext conftest.$ac_ext
12555LIBS=$ac_check_lib_save_LIBS
12556fi
12557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12558$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12559if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12560  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12561else
12562  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12563$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12564if ${ac_cv_lib_svld_dlopen+:} false; then :
12565  $as_echo_n "(cached) " >&6
12566else
12567  ac_check_lib_save_LIBS=$LIBS
12568LIBS="-lsvld  $LIBS"
12569if test x$gcc_no_link = xyes; then
12570  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12571fi
12572cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12573/* end confdefs.h.  */
12574
12575/* Override any GCC internal prototype to avoid an error.
12576   Use char because int might match the return type of a GCC
12577   builtin and then its argument prototype would still apply.  */
12578#ifdef __cplusplus
12579extern "C"
12580#endif
12581char dlopen ();
12582int
12583main ()
12584{
12585return dlopen ();
12586  ;
12587  return 0;
12588}
12589_ACEOF
12590if ac_fn_c_try_link "$LINENO"; then :
12591  ac_cv_lib_svld_dlopen=yes
12592else
12593  ac_cv_lib_svld_dlopen=no
12594fi
12595rm -f core conftest.err conftest.$ac_objext \
12596    conftest$ac_exeext conftest.$ac_ext
12597LIBS=$ac_check_lib_save_LIBS
12598fi
12599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12600$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12601if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12602  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12603else
12604  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12605$as_echo_n "checking for dld_link in -ldld... " >&6; }
12606if ${ac_cv_lib_dld_dld_link+:} false; then :
12607  $as_echo_n "(cached) " >&6
12608else
12609  ac_check_lib_save_LIBS=$LIBS
12610LIBS="-ldld  $LIBS"
12611if test x$gcc_no_link = xyes; then
12612  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12613fi
12614cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12615/* end confdefs.h.  */
12616
12617/* Override any GCC internal prototype to avoid an error.
12618   Use char because int might match the return type of a GCC
12619   builtin and then its argument prototype would still apply.  */
12620#ifdef __cplusplus
12621extern "C"
12622#endif
12623char dld_link ();
12624int
12625main ()
12626{
12627return dld_link ();
12628  ;
12629  return 0;
12630}
12631_ACEOF
12632if ac_fn_c_try_link "$LINENO"; then :
12633  ac_cv_lib_dld_dld_link=yes
12634else
12635  ac_cv_lib_dld_dld_link=no
12636fi
12637rm -f core conftest.err conftest.$ac_objext \
12638    conftest$ac_exeext conftest.$ac_ext
12639LIBS=$ac_check_lib_save_LIBS
12640fi
12641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12642$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12643if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12644  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12645fi
12646
12647
12648fi
12649
12650
12651fi
12652
12653
12654fi
12655
12656
12657fi
12658
12659
12660fi
12661
12662    ;;
12663  esac
12664
12665  if test "x$lt_cv_dlopen" != xno; then
12666    enable_dlopen=yes
12667  else
12668    enable_dlopen=no
12669  fi
12670
12671  case $lt_cv_dlopen in
12672  dlopen)
12673    save_CPPFLAGS="$CPPFLAGS"
12674    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12675
12676    save_LDFLAGS="$LDFLAGS"
12677    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12678
12679    save_LIBS="$LIBS"
12680    LIBS="$lt_cv_dlopen_libs $LIBS"
12681
12682    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12683$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12684if ${lt_cv_dlopen_self+:} false; then :
12685  $as_echo_n "(cached) " >&6
12686else
12687  	  if test "$cross_compiling" = yes; then :
12688  lt_cv_dlopen_self=cross
12689else
12690  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12691  lt_status=$lt_dlunknown
12692  cat > conftest.$ac_ext <<_LT_EOF
12693#line 12693 "configure"
12694#include "confdefs.h"
12695
12696#if HAVE_DLFCN_H
12697#include <dlfcn.h>
12698#endif
12699
12700#include <stdio.h>
12701
12702#ifdef RTLD_GLOBAL
12703#  define LT_DLGLOBAL		RTLD_GLOBAL
12704#else
12705#  ifdef DL_GLOBAL
12706#    define LT_DLGLOBAL		DL_GLOBAL
12707#  else
12708#    define LT_DLGLOBAL		0
12709#  endif
12710#endif
12711
12712/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12713   find out it does not work in some platform. */
12714#ifndef LT_DLLAZY_OR_NOW
12715#  ifdef RTLD_LAZY
12716#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12717#  else
12718#    ifdef DL_LAZY
12719#      define LT_DLLAZY_OR_NOW		DL_LAZY
12720#    else
12721#      ifdef RTLD_NOW
12722#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12723#      else
12724#        ifdef DL_NOW
12725#          define LT_DLLAZY_OR_NOW	DL_NOW
12726#        else
12727#          define LT_DLLAZY_OR_NOW	0
12728#        endif
12729#      endif
12730#    endif
12731#  endif
12732#endif
12733
12734/* When -fvisbility=hidden is used, assume the code has been annotated
12735   correspondingly for the symbols needed.  */
12736#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12737void fnord () __attribute__((visibility("default")));
12738#endif
12739
12740void fnord () { int i=42; }
12741int main ()
12742{
12743  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12744  int status = $lt_dlunknown;
12745
12746  if (self)
12747    {
12748      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12749      else
12750        {
12751	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12752          else puts (dlerror ());
12753	}
12754      /* dlclose (self); */
12755    }
12756  else
12757    puts (dlerror ());
12758
12759  return status;
12760}
12761_LT_EOF
12762  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12763  (eval $ac_link) 2>&5
12764  ac_status=$?
12765  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12766  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12767    (./conftest; exit; ) >&5 2>/dev/null
12768    lt_status=$?
12769    case x$lt_status in
12770      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12771      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12772      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12773    esac
12774  else :
12775    # compilation failed
12776    lt_cv_dlopen_self=no
12777  fi
12778fi
12779rm -fr conftest*
12780
12781
12782fi
12783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12784$as_echo "$lt_cv_dlopen_self" >&6; }
12785
12786    if test "x$lt_cv_dlopen_self" = xyes; then
12787      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12788      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12789$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12790if ${lt_cv_dlopen_self_static+:} false; then :
12791  $as_echo_n "(cached) " >&6
12792else
12793  	  if test "$cross_compiling" = yes; then :
12794  lt_cv_dlopen_self_static=cross
12795else
12796  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12797  lt_status=$lt_dlunknown
12798  cat > conftest.$ac_ext <<_LT_EOF
12799#line 12799 "configure"
12800#include "confdefs.h"
12801
12802#if HAVE_DLFCN_H
12803#include <dlfcn.h>
12804#endif
12805
12806#include <stdio.h>
12807
12808#ifdef RTLD_GLOBAL
12809#  define LT_DLGLOBAL		RTLD_GLOBAL
12810#else
12811#  ifdef DL_GLOBAL
12812#    define LT_DLGLOBAL		DL_GLOBAL
12813#  else
12814#    define LT_DLGLOBAL		0
12815#  endif
12816#endif
12817
12818/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12819   find out it does not work in some platform. */
12820#ifndef LT_DLLAZY_OR_NOW
12821#  ifdef RTLD_LAZY
12822#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12823#  else
12824#    ifdef DL_LAZY
12825#      define LT_DLLAZY_OR_NOW		DL_LAZY
12826#    else
12827#      ifdef RTLD_NOW
12828#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12829#      else
12830#        ifdef DL_NOW
12831#          define LT_DLLAZY_OR_NOW	DL_NOW
12832#        else
12833#          define LT_DLLAZY_OR_NOW	0
12834#        endif
12835#      endif
12836#    endif
12837#  endif
12838#endif
12839
12840/* When -fvisbility=hidden is used, assume the code has been annotated
12841   correspondingly for the symbols needed.  */
12842#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12843void fnord () __attribute__((visibility("default")));
12844#endif
12845
12846void fnord () { int i=42; }
12847int main ()
12848{
12849  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12850  int status = $lt_dlunknown;
12851
12852  if (self)
12853    {
12854      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12855      else
12856        {
12857	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12858          else puts (dlerror ());
12859	}
12860      /* dlclose (self); */
12861    }
12862  else
12863    puts (dlerror ());
12864
12865  return status;
12866}
12867_LT_EOF
12868  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12869  (eval $ac_link) 2>&5
12870  ac_status=$?
12871  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12872  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12873    (./conftest; exit; ) >&5 2>/dev/null
12874    lt_status=$?
12875    case x$lt_status in
12876      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12877      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12878      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12879    esac
12880  else :
12881    # compilation failed
12882    lt_cv_dlopen_self_static=no
12883  fi
12884fi
12885rm -fr conftest*
12886
12887
12888fi
12889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12890$as_echo "$lt_cv_dlopen_self_static" >&6; }
12891    fi
12892
12893    CPPFLAGS="$save_CPPFLAGS"
12894    LDFLAGS="$save_LDFLAGS"
12895    LIBS="$save_LIBS"
12896    ;;
12897  esac
12898
12899  case $lt_cv_dlopen_self in
12900  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12901  *) enable_dlopen_self=unknown ;;
12902  esac
12903
12904  case $lt_cv_dlopen_self_static in
12905  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12906  *) enable_dlopen_self_static=unknown ;;
12907  esac
12908fi
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926striplib=
12927old_striplib=
12928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12929$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12930if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12931  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12932  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12934$as_echo "yes" >&6; }
12935else
12936# FIXME - insert some real tests, host_os isn't really good enough
12937  case $host_os in
12938  darwin*)
12939    if test -n "$STRIP" ; then
12940      striplib="$STRIP -x"
12941      old_striplib="$STRIP -S"
12942      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12943$as_echo "yes" >&6; }
12944    else
12945      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12946$as_echo "no" >&6; }
12947    fi
12948    ;;
12949  *)
12950    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12951$as_echo "no" >&6; }
12952    ;;
12953  esac
12954fi
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967  # Report which library types will actually be built
12968  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12969$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12971$as_echo "$can_build_shared" >&6; }
12972
12973  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12974$as_echo_n "checking whether to build shared libraries... " >&6; }
12975  test "$can_build_shared" = "no" && enable_shared=no
12976
12977  # On AIX, shared libraries and static libraries use the same namespace, and
12978  # are all built from PIC.
12979  case $host_os in
12980  aix3*)
12981    test "$enable_shared" = yes && enable_static=no
12982    if test -n "$RANLIB"; then
12983      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12984      postinstall_cmds='$RANLIB $lib'
12985    fi
12986    ;;
12987
12988  aix[4-9]*)
12989    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12990      test "$enable_shared" = yes && enable_static=no
12991    fi
12992    ;;
12993  esac
12994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12995$as_echo "$enable_shared" >&6; }
12996
12997  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12998$as_echo_n "checking whether to build static libraries... " >&6; }
12999  # Make sure either enable_shared or enable_static is yes.
13000  test "$enable_shared" = yes || enable_static=yes
13001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13002$as_echo "$enable_static" >&6; }
13003
13004
13005
13006
13007fi
13008ac_ext=c
13009ac_cpp='$CPP $CPPFLAGS'
13010ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13011ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13012ac_compiler_gnu=$ac_cv_c_compiler_gnu
13013
13014CC="$lt_save_CC"
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028        ac_config_commands="$ac_config_commands libtool"
13029
13030
13031
13032
13033# Only expand once:
13034
13035
13036
13037
13038
13039case $host in
13040  *-cygwin* | *-mingw*)
13041    # 'host' will be top-level target in the case of a target lib,
13042    # we must compare to with_cross_host to decide if this is a native
13043    # or cross-compiler and select where to install dlls appropriately.
13044    if test -n "$with_cross_host" &&
13045	test x"$with_cross_host" != x"no"; then
13046      lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
13047    else
13048      lt_host_flags='-no-undefined -bindir "$(bindir)"';
13049    fi
13050    ;;
13051  *)
13052    lt_host_flags=
13053    ;;
13054esac
13055
13056
13057
13058
13059
13060#AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13061
13062# We need gfortran to compile parts of the library
13063#AC_PROG_FC(gfortran)
13064FC="$GFORTRAN"
13065ac_ext=${ac_fc_srcext-f}
13066ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13067ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13068ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13069if test -n "$ac_tool_prefix"; then
13070  for ac_prog in gfortran
13071  do
13072    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13073set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13075$as_echo_n "checking for $ac_word... " >&6; }
13076if ${ac_cv_prog_FC+:} false; then :
13077  $as_echo_n "(cached) " >&6
13078else
13079  if test -n "$FC"; then
13080  ac_cv_prog_FC="$FC" # Let the user override the test.
13081else
13082as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13083for as_dir in $PATH
13084do
13085  IFS=$as_save_IFS
13086  test -z "$as_dir" && as_dir=.
13087    for ac_exec_ext in '' $ac_executable_extensions; do
13088  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13089    ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
13090    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13091    break 2
13092  fi
13093done
13094  done
13095IFS=$as_save_IFS
13096
13097fi
13098fi
13099FC=$ac_cv_prog_FC
13100if test -n "$FC"; then
13101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13102$as_echo "$FC" >&6; }
13103else
13104  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13105$as_echo "no" >&6; }
13106fi
13107
13108
13109    test -n "$FC" && break
13110  done
13111fi
13112if test -z "$FC"; then
13113  ac_ct_FC=$FC
13114  for ac_prog in gfortran
13115do
13116  # Extract the first word of "$ac_prog", so it can be a program name with args.
13117set dummy $ac_prog; ac_word=$2
13118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13119$as_echo_n "checking for $ac_word... " >&6; }
13120if ${ac_cv_prog_ac_ct_FC+:} false; then :
13121  $as_echo_n "(cached) " >&6
13122else
13123  if test -n "$ac_ct_FC"; then
13124  ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
13125else
13126as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13127for as_dir in $PATH
13128do
13129  IFS=$as_save_IFS
13130  test -z "$as_dir" && as_dir=.
13131    for ac_exec_ext in '' $ac_executable_extensions; do
13132  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13133    ac_cv_prog_ac_ct_FC="$ac_prog"
13134    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13135    break 2
13136  fi
13137done
13138  done
13139IFS=$as_save_IFS
13140
13141fi
13142fi
13143ac_ct_FC=$ac_cv_prog_ac_ct_FC
13144if test -n "$ac_ct_FC"; then
13145  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13146$as_echo "$ac_ct_FC" >&6; }
13147else
13148  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13149$as_echo "no" >&6; }
13150fi
13151
13152
13153  test -n "$ac_ct_FC" && break
13154done
13155
13156  if test "x$ac_ct_FC" = x; then
13157    FC=""
13158  else
13159    case $cross_compiling:$ac_tool_warned in
13160yes:)
13161{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13162$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13163ac_tool_warned=yes ;;
13164esac
13165    FC=$ac_ct_FC
13166  fi
13167fi
13168
13169
13170# Provide some information about the compiler.
13171$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13172set X $ac_compile
13173ac_compiler=$2
13174for ac_option in --version -v -V -qversion; do
13175  { { ac_try="$ac_compiler $ac_option >&5"
13176case "(($ac_try" in
13177  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13178  *) ac_try_echo=$ac_try;;
13179esac
13180eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13181$as_echo "$ac_try_echo"; } >&5
13182  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13183  ac_status=$?
13184  if test -s conftest.err; then
13185    sed '10a\
13186... rest of stderr output deleted ...
13187         10q' conftest.err >conftest.er1
13188    cat conftest.er1 >&5
13189  fi
13190  rm -f conftest.er1 conftest.err
13191  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13192  test $ac_status = 0; }
13193done
13194rm -f a.out
13195
13196# If we don't use `.F' as extension, the preprocessor is not run on the
13197# input file.  (Note that this only needs to work for GNU compilers.)
13198ac_save_ext=$ac_ext
13199ac_ext=F
13200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13201$as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13202if ${ac_cv_fc_compiler_gnu+:} false; then :
13203  $as_echo_n "(cached) " >&6
13204else
13205  cat > conftest.$ac_ext <<_ACEOF
13206      program main
13207#ifndef __GNUC__
13208       choke me
13209#endif
13210
13211      end
13212_ACEOF
13213if ac_fn_fc_try_compile "$LINENO"; then :
13214  ac_compiler_gnu=yes
13215else
13216  ac_compiler_gnu=no
13217fi
13218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13219ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13220
13221fi
13222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13223$as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13224ac_ext=$ac_save_ext
13225ac_test_FCFLAGS=${FCFLAGS+set}
13226ac_save_FCFLAGS=$FCFLAGS
13227FCFLAGS=
13228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13229$as_echo_n "checking whether $FC accepts -g... " >&6; }
13230if ${ac_cv_prog_fc_g+:} false; then :
13231  $as_echo_n "(cached) " >&6
13232else
13233  FCFLAGS=-g
13234cat > conftest.$ac_ext <<_ACEOF
13235      program main
13236
13237      end
13238_ACEOF
13239if ac_fn_fc_try_compile "$LINENO"; then :
13240  ac_cv_prog_fc_g=yes
13241else
13242  ac_cv_prog_fc_g=no
13243fi
13244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13245
13246fi
13247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13248$as_echo "$ac_cv_prog_fc_g" >&6; }
13249if test "$ac_test_FCFLAGS" = set; then
13250  FCFLAGS=$ac_save_FCFLAGS
13251elif test $ac_cv_prog_fc_g = yes; then
13252  if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13253    FCFLAGS="-g -O2"
13254  else
13255    FCFLAGS="-g"
13256  fi
13257else
13258  if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13259    FCFLAGS="-O2"
13260  else
13261    FCFLAGS=
13262  fi
13263fi
13264
13265if test $ac_compiler_gnu = yes; then
13266  GFC=yes
13267else
13268  GFC=
13269fi
13270ac_ext=c
13271ac_cpp='$CPP $CPPFLAGS'
13272ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13273ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13274ac_compiler_gnu=$ac_cv_c_compiler_gnu
13275
13276      ac_ext=${ac_fc_srcext-f}
13277ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13278ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13279ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13280
13281
13282if test -z "$FC" || test "X$FC" = "Xno"; then
13283  _lt_disable_FC=yes
13284fi
13285
13286archive_cmds_need_lc_FC=no
13287allow_undefined_flag_FC=
13288always_export_symbols_FC=no
13289archive_expsym_cmds_FC=
13290export_dynamic_flag_spec_FC=
13291hardcode_direct_FC=no
13292hardcode_direct_absolute_FC=no
13293hardcode_libdir_flag_spec_FC=
13294hardcode_libdir_flag_spec_ld_FC=
13295hardcode_libdir_separator_FC=
13296hardcode_minus_L_FC=no
13297hardcode_automatic_FC=no
13298inherit_rpath_FC=no
13299module_cmds_FC=
13300module_expsym_cmds_FC=
13301link_all_deplibs_FC=unknown
13302old_archive_cmds_FC=$old_archive_cmds
13303reload_flag_FC=$reload_flag
13304reload_cmds_FC=$reload_cmds
13305no_undefined_flag_FC=
13306whole_archive_flag_spec_FC=
13307enable_shared_with_static_runtimes_FC=no
13308
13309# Source file extension for fc test sources.
13310ac_ext=${ac_fc_srcext-f}
13311
13312# Object file extension for compiled fc test sources.
13313objext=o
13314objext_FC=$objext
13315
13316# No sense in running all these tests if we already determined that
13317# the FC compiler isn't working.  Some variables (like enable_shared)
13318# are currently assumed to apply to all compilers on this platform,
13319# and will be corrupted by setting them based on a non-working compiler.
13320if test "$_lt_disable_FC" != yes; then
13321  # Code to be used in simple compile tests
13322  lt_simple_compile_test_code="\
13323      subroutine t
13324      return
13325      end
13326"
13327
13328  # Code to be used in simple link tests
13329  lt_simple_link_test_code="\
13330      program t
13331      end
13332"
13333
13334  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13335
13336
13337
13338
13339
13340
13341# If no C compiler was specified, use CC.
13342LTCC=${LTCC-"$CC"}
13343
13344# If no C compiler flags were specified, use CFLAGS.
13345LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13346
13347# Allow CC to be a program name with arguments.
13348compiler=$CC
13349
13350
13351  # save warnings/boilerplate of simple test code
13352  ac_outfile=conftest.$ac_objext
13353echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13354eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13355_lt_compiler_boilerplate=`cat conftest.err`
13356$RM conftest*
13357
13358  ac_outfile=conftest.$ac_objext
13359echo "$lt_simple_link_test_code" >conftest.$ac_ext
13360eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13361_lt_linker_boilerplate=`cat conftest.err`
13362$RM -r conftest*
13363
13364
13365  # Allow CC to be a program name with arguments.
13366  lt_save_CC="$CC"
13367  lt_save_GCC=$GCC
13368  CC=${FC-"f95"}
13369  compiler=$CC
13370  GCC=$ac_cv_fc_compiler_gnu
13371
13372  compiler_FC=$CC
13373  for cc_temp in $compiler""; do
13374  case $cc_temp in
13375    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13376    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13377    \-*) ;;
13378    *) break;;
13379  esac
13380done
13381cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13382
13383
13384  if test -n "$compiler"; then
13385    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13386$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13387    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13388$as_echo "$can_build_shared" >&6; }
13389
13390    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13391$as_echo_n "checking whether to build shared libraries... " >&6; }
13392    test "$can_build_shared" = "no" && enable_shared=no
13393
13394    # On AIX, shared libraries and static libraries use the same namespace, and
13395    # are all built from PIC.
13396    case $host_os in
13397      aix3*)
13398        test "$enable_shared" = yes && enable_static=no
13399        if test -n "$RANLIB"; then
13400          archive_cmds="$archive_cmds~\$RANLIB \$lib"
13401          postinstall_cmds='$RANLIB $lib'
13402        fi
13403        ;;
13404      aix[4-9]*)
13405	if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13406	  test "$enable_shared" = yes && enable_static=no
13407	fi
13408        ;;
13409    esac
13410    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13411$as_echo "$enable_shared" >&6; }
13412
13413    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13414$as_echo_n "checking whether to build static libraries... " >&6; }
13415    # Make sure either enable_shared or enable_static is yes.
13416    test "$enable_shared" = yes || enable_static=yes
13417    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13418$as_echo "$enable_static" >&6; }
13419
13420    GCC_FC="$ac_cv_fc_compiler_gnu"
13421    LD_FC="$LD"
13422
13423    ## CAVEAT EMPTOR:
13424    ## There is no encapsulation within the following macros, do not change
13425    ## the running order or otherwise move them around unless you know exactly
13426    ## what you are doing...
13427    # Dependencies to place before and after the object being linked:
13428predep_objects_FC=
13429postdep_objects_FC=
13430predeps_FC=
13431postdeps_FC=
13432compiler_lib_search_path_FC=
13433
13434cat > conftest.$ac_ext <<_LT_EOF
13435      subroutine foo
13436      implicit none
13437      integer a
13438      a=0
13439      return
13440      end
13441_LT_EOF
13442
13443if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13444  (eval $ac_compile) 2>&5
13445  ac_status=$?
13446  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13447  test $ac_status = 0; }; then
13448  # Parse the compiler output and extract the necessary
13449  # objects, libraries and library flags.
13450
13451  # Sentinel used to keep track of whether or not we are before
13452  # the conftest object file.
13453  pre_test_object_deps_done=no
13454
13455  for p in `eval "$output_verbose_link_cmd"`; do
13456    case $p in
13457
13458    -L* | -R* | -l*)
13459       # Some compilers place space between "-{L,R}" and the path.
13460       # Remove the space.
13461       if test $p = "-L" ||
13462          test $p = "-R"; then
13463	 prev=$p
13464	 continue
13465       else
13466	 prev=
13467       fi
13468
13469       if test "$pre_test_object_deps_done" = no; then
13470	 case $p in
13471	 -L* | -R*)
13472	   # Internal compiler library paths should come after those
13473	   # provided the user.  The postdeps already come after the
13474	   # user supplied libs so there is no need to process them.
13475	   if test -z "$compiler_lib_search_path_FC"; then
13476	     compiler_lib_search_path_FC="${prev}${p}"
13477	   else
13478	     compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13479	   fi
13480	   ;;
13481	 # The "-l" case would never come before the object being
13482	 # linked, so don't bother handling this case.
13483	 esac
13484       else
13485	 if test -z "$postdeps_FC"; then
13486	   postdeps_FC="${prev}${p}"
13487	 else
13488	   postdeps_FC="${postdeps_FC} ${prev}${p}"
13489	 fi
13490       fi
13491       ;;
13492
13493    *.$objext)
13494       # This assumes that the test object file only shows up
13495       # once in the compiler output.
13496       if test "$p" = "conftest.$objext"; then
13497	 pre_test_object_deps_done=yes
13498	 continue
13499       fi
13500
13501       if test "$pre_test_object_deps_done" = no; then
13502	 if test -z "$predep_objects_FC"; then
13503	   predep_objects_FC="$p"
13504	 else
13505	   predep_objects_FC="$predep_objects_FC $p"
13506	 fi
13507       else
13508	 if test -z "$postdep_objects_FC"; then
13509	   postdep_objects_FC="$p"
13510	 else
13511	   postdep_objects_FC="$postdep_objects_FC $p"
13512	 fi
13513       fi
13514       ;;
13515
13516    *) ;; # Ignore the rest.
13517
13518    esac
13519  done
13520
13521  # Clean up.
13522  rm -f a.out a.exe
13523else
13524  echo "libtool.m4: error: problem compiling FC test program"
13525fi
13526
13527$RM -f confest.$objext
13528
13529# PORTME: override above test on systems where it is broken
13530
13531
13532case " $postdeps_FC " in
13533*" -lc "*) archive_cmds_need_lc_FC=no ;;
13534esac
13535 compiler_lib_search_dirs_FC=
13536if test -n "${compiler_lib_search_path_FC}"; then
13537 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13538fi
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570    lt_prog_compiler_wl_FC=
13571lt_prog_compiler_pic_FC=
13572lt_prog_compiler_static_FC=
13573
13574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13575$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13576
13577  if test "$GCC" = yes; then
13578    lt_prog_compiler_wl_FC='-Wl,'
13579    lt_prog_compiler_static_FC='-static'
13580
13581    case $host_os in
13582      aix*)
13583      # All AIX code is PIC.
13584      if test "$host_cpu" = ia64; then
13585	# AIX 5 now supports IA64 processor
13586	lt_prog_compiler_static_FC='-Bstatic'
13587      fi
13588      lt_prog_compiler_pic_FC='-fPIC'
13589      ;;
13590
13591    amigaos*)
13592      case $host_cpu in
13593      powerpc)
13594            # see comment about AmigaOS4 .so support
13595            lt_prog_compiler_pic_FC='-fPIC'
13596        ;;
13597      m68k)
13598            # FIXME: we need at least 68020 code to build shared libraries, but
13599            # adding the `-m68020' flag to GCC prevents building anything better,
13600            # like `-m68040'.
13601            lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13602        ;;
13603      esac
13604      ;;
13605
13606    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13607      # PIC is the default for these OSes.
13608      ;;
13609
13610    mingw* | cygwin* | pw32* | os2* | cegcc*)
13611      # This hack is so that the source file can tell whether it is being
13612      # built for inclusion in a dll (and should export symbols for example).
13613      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13614      # (--disable-auto-import) libraries
13615      lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13616      ;;
13617
13618    darwin* | rhapsody*)
13619      # PIC is the default on this platform
13620      # Common symbols not allowed in MH_DYLIB files
13621      lt_prog_compiler_pic_FC='-fno-common'
13622      ;;
13623
13624    haiku*)
13625      # PIC is the default for Haiku.
13626      # The "-static" flag exists, but is broken.
13627      lt_prog_compiler_static_FC=
13628      ;;
13629
13630    hpux*)
13631      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13632      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13633      # sets the default TLS model and affects inlining.
13634      case $host_cpu in
13635      hppa*64*)
13636	# +Z the default
13637	;;
13638      *)
13639	lt_prog_compiler_pic_FC='-fPIC'
13640	;;
13641      esac
13642      ;;
13643
13644    interix[3-9]*)
13645      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13646      # Instead, we relocate shared libraries at runtime.
13647      ;;
13648
13649    msdosdjgpp*)
13650      # Just because we use GCC doesn't mean we suddenly get shared libraries
13651      # on systems that don't support them.
13652      lt_prog_compiler_can_build_shared_FC=no
13653      enable_shared=no
13654      ;;
13655
13656    *nto* | *qnx*)
13657      # QNX uses GNU C++, but need to define -shared option too, otherwise
13658      # it will coredump.
13659      lt_prog_compiler_pic_FC='-fPIC -shared'
13660      ;;
13661
13662    sysv4*MP*)
13663      if test -d /usr/nec; then
13664	lt_prog_compiler_pic_FC=-Kconform_pic
13665      fi
13666      ;;
13667
13668    *)
13669      lt_prog_compiler_pic_FC='-fPIC'
13670      ;;
13671    esac
13672
13673    case $cc_basename in
13674    nvcc*) # Cuda Compiler Driver 2.2
13675      lt_prog_compiler_wl_FC='-Xlinker '
13676      lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13677      ;;
13678    esac
13679  else
13680    # PORTME Check for flag to pass linker flags through the system compiler.
13681    case $host_os in
13682    aix*)
13683      lt_prog_compiler_wl_FC='-Wl,'
13684      if test "$host_cpu" = ia64; then
13685	# AIX 5 now supports IA64 processor
13686	lt_prog_compiler_static_FC='-Bstatic'
13687      else
13688	lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13689      fi
13690      ;;
13691
13692    mingw* | cygwin* | pw32* | os2* | cegcc*)
13693      # This hack is so that the source file can tell whether it is being
13694      # built for inclusion in a dll (and should export symbols for example).
13695      lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13696      ;;
13697
13698    hpux9* | hpux10* | hpux11*)
13699      lt_prog_compiler_wl_FC='-Wl,'
13700      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13701      # not for PA HP-UX.
13702      case $host_cpu in
13703      hppa*64*|ia64*)
13704	# +Z the default
13705	;;
13706      *)
13707	lt_prog_compiler_pic_FC='+Z'
13708	;;
13709      esac
13710      # Is there a better lt_prog_compiler_static that works with the bundled CC?
13711      lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13712      ;;
13713
13714    irix5* | irix6* | nonstopux*)
13715      lt_prog_compiler_wl_FC='-Wl,'
13716      # PIC (with -KPIC) is the default.
13717      lt_prog_compiler_static_FC='-non_shared'
13718      ;;
13719
13720    linux* | k*bsd*-gnu | kopensolaris*-gnu)
13721      case $cc_basename in
13722      # old Intel for x86_64 which still supported -KPIC.
13723      ecc*)
13724	lt_prog_compiler_wl_FC='-Wl,'
13725	lt_prog_compiler_pic_FC='-KPIC'
13726	lt_prog_compiler_static_FC='-static'
13727        ;;
13728      # icc used to be incompatible with GCC.
13729      # ICC 10 doesn't accept -KPIC any more.
13730      icc* | ifort*)
13731	lt_prog_compiler_wl_FC='-Wl,'
13732	lt_prog_compiler_pic_FC='-fPIC'
13733	lt_prog_compiler_static_FC='-static'
13734        ;;
13735      # Lahey Fortran 8.1.
13736      lf95*)
13737	lt_prog_compiler_wl_FC='-Wl,'
13738	lt_prog_compiler_pic_FC='--shared'
13739	lt_prog_compiler_static_FC='--static'
13740	;;
13741      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13742        # Portland Group compilers (*not* the Pentium gcc compiler,
13743	# which looks to be a dead project)
13744	lt_prog_compiler_wl_FC='-Wl,'
13745	lt_prog_compiler_pic_FC='-fpic'
13746	lt_prog_compiler_static_FC='-Bstatic'
13747        ;;
13748      ccc*)
13749        lt_prog_compiler_wl_FC='-Wl,'
13750        # All Alpha code is PIC.
13751        lt_prog_compiler_static_FC='-non_shared'
13752        ;;
13753      xl* | bgxl* | bgf* | mpixl*)
13754	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13755	lt_prog_compiler_wl_FC='-Wl,'
13756	lt_prog_compiler_pic_FC='-qpic'
13757	lt_prog_compiler_static_FC='-qstaticlink'
13758	;;
13759      *)
13760	case `$CC -V 2>&1 | sed 5q` in
13761	*Sun\ F* | *Sun*Fortran*)
13762	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
13763	  lt_prog_compiler_pic_FC='-KPIC'
13764	  lt_prog_compiler_static_FC='-Bstatic'
13765	  lt_prog_compiler_wl_FC=''
13766	  ;;
13767	*Sun\ C*)
13768	  # Sun C 5.9
13769	  lt_prog_compiler_pic_FC='-KPIC'
13770	  lt_prog_compiler_static_FC='-Bstatic'
13771	  lt_prog_compiler_wl_FC='-Wl,'
13772	  ;;
13773	esac
13774	;;
13775      esac
13776      ;;
13777
13778    newsos6)
13779      lt_prog_compiler_pic_FC='-KPIC'
13780      lt_prog_compiler_static_FC='-Bstatic'
13781      ;;
13782
13783    *nto* | *qnx*)
13784      # QNX uses GNU C++, but need to define -shared option too, otherwise
13785      # it will coredump.
13786      lt_prog_compiler_pic_FC='-fPIC -shared'
13787      ;;
13788
13789    osf3* | osf4* | osf5*)
13790      lt_prog_compiler_wl_FC='-Wl,'
13791      # All OSF/1 code is PIC.
13792      lt_prog_compiler_static_FC='-non_shared'
13793      ;;
13794
13795    rdos*)
13796      lt_prog_compiler_static_FC='-non_shared'
13797      ;;
13798
13799    solaris*)
13800      lt_prog_compiler_pic_FC='-KPIC'
13801      lt_prog_compiler_static_FC='-Bstatic'
13802      case $cc_basename in
13803      f77* | f90* | f95*)
13804	lt_prog_compiler_wl_FC='-Qoption ld ';;
13805      *)
13806	lt_prog_compiler_wl_FC='-Wl,';;
13807      esac
13808      ;;
13809
13810    sunos4*)
13811      lt_prog_compiler_wl_FC='-Qoption ld '
13812      lt_prog_compiler_pic_FC='-PIC'
13813      lt_prog_compiler_static_FC='-Bstatic'
13814      ;;
13815
13816    sysv4 | sysv4.2uw2* | sysv4.3*)
13817      lt_prog_compiler_wl_FC='-Wl,'
13818      lt_prog_compiler_pic_FC='-KPIC'
13819      lt_prog_compiler_static_FC='-Bstatic'
13820      ;;
13821
13822    sysv4*MP*)
13823      if test -d /usr/nec ;then
13824	lt_prog_compiler_pic_FC='-Kconform_pic'
13825	lt_prog_compiler_static_FC='-Bstatic'
13826      fi
13827      ;;
13828
13829    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13830      lt_prog_compiler_wl_FC='-Wl,'
13831      lt_prog_compiler_pic_FC='-KPIC'
13832      lt_prog_compiler_static_FC='-Bstatic'
13833      ;;
13834
13835    unicos*)
13836      lt_prog_compiler_wl_FC='-Wl,'
13837      lt_prog_compiler_can_build_shared_FC=no
13838      ;;
13839
13840    uts4*)
13841      lt_prog_compiler_pic_FC='-pic'
13842      lt_prog_compiler_static_FC='-Bstatic'
13843      ;;
13844
13845    *)
13846      lt_prog_compiler_can_build_shared_FC=no
13847      ;;
13848    esac
13849  fi
13850
13851case $host_os in
13852  # For platforms which do not support PIC, -DPIC is meaningless:
13853  *djgpp*)
13854    lt_prog_compiler_pic_FC=
13855    ;;
13856  *)
13857    lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
13858    ;;
13859esac
13860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13861$as_echo "$lt_prog_compiler_pic_FC" >&6; }
13862
13863
13864
13865#
13866# Check to make sure the PIC flag actually works.
13867#
13868if test -n "$lt_prog_compiler_pic_FC"; then
13869  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13870$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13871if ${lt_cv_prog_compiler_pic_works_FC+:} false; then :
13872  $as_echo_n "(cached) " >&6
13873else
13874  lt_cv_prog_compiler_pic_works_FC=no
13875   ac_outfile=conftest.$ac_objext
13876   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13877   lt_compiler_flag="$lt_prog_compiler_pic_FC"
13878   # Insert the option either (1) after the last *FLAGS variable, or
13879   # (2) before a word containing "conftest.", or (3) at the end.
13880   # Note that $ac_compile itself does not contain backslashes and begins
13881   # with a dollar sign (not a hyphen), so the echo should work correctly.
13882   # The option is referenced via a variable to avoid confusing sed.
13883   lt_compile=`echo "$ac_compile" | $SED \
13884   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13885   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13886   -e 's:$: $lt_compiler_flag:'`
13887   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13888   (eval "$lt_compile" 2>conftest.err)
13889   ac_status=$?
13890   cat conftest.err >&5
13891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13892   if (exit $ac_status) && test -s "$ac_outfile"; then
13893     # The compiler can only warn and ignore the option if not recognized
13894     # So say no if there are warnings other than the usual output.
13895     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13896     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13897     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13898       lt_cv_prog_compiler_pic_works_FC=yes
13899     fi
13900   fi
13901   $RM conftest*
13902
13903fi
13904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13905$as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13906
13907if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
13908    case $lt_prog_compiler_pic_FC in
13909     "" | " "*) ;;
13910     *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
13911     esac
13912else
13913    lt_prog_compiler_pic_FC=
13914     lt_prog_compiler_can_build_shared_FC=no
13915fi
13916
13917fi
13918
13919
13920
13921#
13922# Check to make sure the static flag actually works.
13923#
13924wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
13925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13926$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13927if ${lt_cv_prog_compiler_static_works_FC+:} false; then :
13928  $as_echo_n "(cached) " >&6
13929else
13930  lt_cv_prog_compiler_static_works_FC=no
13931   save_LDFLAGS="$LDFLAGS"
13932   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13933   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13934   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13935     # The linker can only warn and ignore the option if not recognized
13936     # So say no if there are warnings
13937     if test -s conftest.err; then
13938       # Append any errors to the config.log.
13939       cat conftest.err 1>&5
13940       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13941       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13942       if diff conftest.exp conftest.er2 >/dev/null; then
13943         lt_cv_prog_compiler_static_works_FC=yes
13944       fi
13945     else
13946       lt_cv_prog_compiler_static_works_FC=yes
13947     fi
13948   fi
13949   $RM -r conftest*
13950   LDFLAGS="$save_LDFLAGS"
13951
13952fi
13953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13954$as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13955
13956if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
13957    :
13958else
13959    lt_prog_compiler_static_FC=
13960fi
13961
13962
13963
13964
13965    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13966$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13967if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
13968  $as_echo_n "(cached) " >&6
13969else
13970  lt_cv_prog_compiler_c_o_FC=no
13971   $RM -r conftest 2>/dev/null
13972   mkdir conftest
13973   cd conftest
13974   mkdir out
13975   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13976
13977   lt_compiler_flag="-o out/conftest2.$ac_objext"
13978   # Insert the option either (1) after the last *FLAGS variable, or
13979   # (2) before a word containing "conftest.", or (3) at the end.
13980   # Note that $ac_compile itself does not contain backslashes and begins
13981   # with a dollar sign (not a hyphen), so the echo should work correctly.
13982   lt_compile=`echo "$ac_compile" | $SED \
13983   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13984   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13985   -e 's:$: $lt_compiler_flag:'`
13986   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13987   (eval "$lt_compile" 2>out/conftest.err)
13988   ac_status=$?
13989   cat out/conftest.err >&5
13990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13991   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13992   then
13993     # The compiler can only warn and ignore the option if not recognized
13994     # So say no if there are warnings
13995     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13996     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13997     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13998       lt_cv_prog_compiler_c_o_FC=yes
13999     fi
14000   fi
14001   chmod u+w . 2>&5
14002   $RM conftest*
14003   # SGI C++ compiler will create directory out/ii_files/ for
14004   # template instantiation
14005   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14006   $RM out/* && rmdir out
14007   cd ..
14008   $RM -r conftest
14009   $RM conftest*
14010
14011fi
14012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14013$as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14014
14015
14016
14017    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14018$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14019if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14020  $as_echo_n "(cached) " >&6
14021else
14022  lt_cv_prog_compiler_c_o_FC=no
14023   $RM -r conftest 2>/dev/null
14024   mkdir conftest
14025   cd conftest
14026   mkdir out
14027   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14028
14029   lt_compiler_flag="-o out/conftest2.$ac_objext"
14030   # Insert the option either (1) after the last *FLAGS variable, or
14031   # (2) before a word containing "conftest.", or (3) at the end.
14032   # Note that $ac_compile itself does not contain backslashes and begins
14033   # with a dollar sign (not a hyphen), so the echo should work correctly.
14034   lt_compile=`echo "$ac_compile" | $SED \
14035   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14036   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14037   -e 's:$: $lt_compiler_flag:'`
14038   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14039   (eval "$lt_compile" 2>out/conftest.err)
14040   ac_status=$?
14041   cat out/conftest.err >&5
14042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14044   then
14045     # The compiler can only warn and ignore the option if not recognized
14046     # So say no if there are warnings
14047     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14048     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14049     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14050       lt_cv_prog_compiler_c_o_FC=yes
14051     fi
14052   fi
14053   chmod u+w . 2>&5
14054   $RM conftest*
14055   # SGI C++ compiler will create directory out/ii_files/ for
14056   # template instantiation
14057   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14058   $RM out/* && rmdir out
14059   cd ..
14060   $RM -r conftest
14061   $RM conftest*
14062
14063fi
14064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14065$as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14066
14067
14068
14069
14070hard_links="nottested"
14071if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
14072  # do not overwrite the value of need_locks provided by the user
14073  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14074$as_echo_n "checking if we can lock with hard links... " >&6; }
14075  hard_links=yes
14076  $RM conftest*
14077  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14078  touch conftest.a
14079  ln conftest.a conftest.b 2>&5 || hard_links=no
14080  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14081  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14082$as_echo "$hard_links" >&6; }
14083  if test "$hard_links" = no; then
14084    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14085$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14086    need_locks=warn
14087  fi
14088else
14089  need_locks=no
14090fi
14091
14092
14093
14094    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14095$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14096
14097  runpath_var=
14098  allow_undefined_flag_FC=
14099  always_export_symbols_FC=no
14100  archive_cmds_FC=
14101  archive_expsym_cmds_FC=
14102  compiler_needs_object_FC=no
14103  enable_shared_with_static_runtimes_FC=no
14104  export_dynamic_flag_spec_FC=
14105  export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14106  hardcode_automatic_FC=no
14107  hardcode_direct_FC=no
14108  hardcode_direct_absolute_FC=no
14109  hardcode_libdir_flag_spec_FC=
14110  hardcode_libdir_flag_spec_ld_FC=
14111  hardcode_libdir_separator_FC=
14112  hardcode_minus_L_FC=no
14113  hardcode_shlibpath_var_FC=unsupported
14114  inherit_rpath_FC=no
14115  link_all_deplibs_FC=unknown
14116  module_cmds_FC=
14117  module_expsym_cmds_FC=
14118  old_archive_from_new_cmds_FC=
14119  old_archive_from_expsyms_cmds_FC=
14120  thread_safe_flag_spec_FC=
14121  whole_archive_flag_spec_FC=
14122  # include_expsyms should be a list of space-separated symbols to be *always*
14123  # included in the symbol list
14124  include_expsyms_FC=
14125  # exclude_expsyms can be an extended regexp of symbols to exclude
14126  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14127  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14128  # as well as any symbol that contains `d'.
14129  exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14130  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14131  # platforms (ab)use it in PIC code, but their linkers get confused if
14132  # the symbol is explicitly referenced.  Since portable code cannot
14133  # rely on this symbol name, it's probably fine to never include it in
14134  # preloaded symbol tables.
14135  # Exclude shared library initialization/finalization symbols.
14136  extract_expsyms_cmds=
14137
14138  case $host_os in
14139  cygwin* | mingw* | pw32* | cegcc*)
14140    # FIXME: the MSVC++ port hasn't been tested in a loooong time
14141    # When not using gcc, we currently assume that we are using
14142    # Microsoft Visual C++.
14143    if test "$GCC" != yes; then
14144      with_gnu_ld=no
14145    fi
14146    ;;
14147  interix*)
14148    # we just hope/assume this is gcc and not c89 (= MSVC++)
14149    with_gnu_ld=yes
14150    ;;
14151  openbsd*)
14152    with_gnu_ld=no
14153    ;;
14154  esac
14155
14156  ld_shlibs_FC=yes
14157
14158  # On some targets, GNU ld is compatible enough with the native linker
14159  # that we're better off using the native interface for both.
14160  lt_use_gnu_ld_interface=no
14161  if test "$with_gnu_ld" = yes; then
14162    case $host_os in
14163      aix*)
14164	# The AIX port of GNU ld has always aspired to compatibility
14165	# with the native linker.  However, as the warning in the GNU ld
14166	# block says, versions before 2.19.5* couldn't really create working
14167	# shared libraries, regardless of the interface used.
14168	case `$LD -v 2>&1` in
14169	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
14170	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
14171	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
14172	  *)
14173	    lt_use_gnu_ld_interface=yes
14174	    ;;
14175	esac
14176	;;
14177      *)
14178	lt_use_gnu_ld_interface=yes
14179	;;
14180    esac
14181  fi
14182
14183  if test "$lt_use_gnu_ld_interface" = yes; then
14184    # If archive_cmds runs LD, not CC, wlarc should be empty
14185    wlarc='${wl}'
14186
14187    # Set some defaults for GNU ld with shared library support. These
14188    # are reset later if shared libraries are not supported. Putting them
14189    # here allows them to be overridden if necessary.
14190    runpath_var=LD_RUN_PATH
14191    hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14192    export_dynamic_flag_spec_FC='${wl}--export-dynamic'
14193    # ancient GNU ld didn't support --whole-archive et. al.
14194    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
14195      whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14196    else
14197      whole_archive_flag_spec_FC=
14198    fi
14199    supports_anon_versioning=no
14200    case `$LD -v 2>&1` in
14201      *GNU\ gold*) supports_anon_versioning=yes ;;
14202      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14203      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14204      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14205      *\ 2.11.*) ;; # other 2.11 versions
14206      *) supports_anon_versioning=yes ;;
14207    esac
14208
14209    # See if GNU ld supports shared libraries.
14210    case $host_os in
14211    aix[3-9]*)
14212      # On AIX/PPC, the GNU linker is very broken
14213      if test "$host_cpu" != ia64; then
14214	ld_shlibs_FC=no
14215	cat <<_LT_EOF 1>&2
14216
14217*** Warning: the GNU linker, at least up to release 2.19, is reported
14218*** to be unable to reliably create shared libraries on AIX.
14219*** Therefore, libtool is disabling shared libraries support.  If you
14220*** really care for shared libraries, you may want to install binutils
14221*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14222*** You will then need to restart the configuration process.
14223
14224_LT_EOF
14225      fi
14226      ;;
14227
14228    amigaos*)
14229      case $host_cpu in
14230      powerpc)
14231            # see comment about AmigaOS4 .so support
14232            archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14233            archive_expsym_cmds_FC=''
14234        ;;
14235      m68k)
14236            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)'
14237            hardcode_libdir_flag_spec_FC='-L$libdir'
14238            hardcode_minus_L_FC=yes
14239        ;;
14240      esac
14241      ;;
14242
14243    beos*)
14244      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14245	allow_undefined_flag_FC=unsupported
14246	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14247	# support --undefined.  This deserves some investigation.  FIXME
14248	archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14249      else
14250	ld_shlibs_FC=no
14251      fi
14252      ;;
14253
14254    cygwin* | mingw* | pw32* | cegcc*)
14255      # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14256      # as there is no search path for DLLs.
14257      hardcode_libdir_flag_spec_FC='-L$libdir'
14258      export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
14259      allow_undefined_flag_FC=unsupported
14260      always_export_symbols_FC=no
14261      enable_shared_with_static_runtimes_FC=yes
14262      export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14263
14264      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14265        archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14266	# If the export-symbols file already is a .def file (1st line
14267	# is EXPORTS), use it as is; otherwise, prepend...
14268	archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14269	  cp $export_symbols $output_objdir/$soname.def;
14270	else
14271	  echo EXPORTS > $output_objdir/$soname.def;
14272	  cat $export_symbols >> $output_objdir/$soname.def;
14273	fi~
14274	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14275      else
14276	ld_shlibs_FC=no
14277      fi
14278      ;;
14279
14280    haiku*)
14281      archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14282      link_all_deplibs_FC=yes
14283      ;;
14284
14285    interix[3-9]*)
14286      hardcode_direct_FC=no
14287      hardcode_shlibpath_var_FC=no
14288      hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14289      export_dynamic_flag_spec_FC='${wl}-E'
14290      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14291      # Instead, shared libraries are loaded at an image base (0x10000000 by
14292      # default) and relocated if they conflict, which is a slow very memory
14293      # consuming and fragmenting process.  To avoid this, we pick a random,
14294      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14295      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14296      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'
14297      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'
14298      ;;
14299
14300    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
14301      tmp_diet=no
14302      if test "$host_os" = linux-dietlibc; then
14303	case $cc_basename in
14304	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
14305	esac
14306      fi
14307      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
14308	 && test "$tmp_diet" = no
14309      then
14310	tmp_addflag=' $pic_flag'
14311	tmp_sharedflag='-shared'
14312	case $cc_basename,$host_cpu in
14313        pgcc*)				# Portland Group C compiler
14314	  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'
14315	  tmp_addflag=' $pic_flag'
14316	  ;;
14317	pgf77* | pgf90* | pgf95* | pgfortran*)
14318					# Portland Group f77 and f90 compilers
14319	  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'
14320	  tmp_addflag=' $pic_flag -Mnomain' ;;
14321	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
14322	  tmp_addflag=' -i_dynamic' ;;
14323	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
14324	  tmp_addflag=' -i_dynamic -nofor_main' ;;
14325	ifc* | ifort*)			# Intel Fortran compiler
14326	  tmp_addflag=' -nofor_main' ;;
14327	lf95*)				# Lahey Fortran 8.1
14328	  whole_archive_flag_spec_FC=
14329	  tmp_sharedflag='--shared' ;;
14330	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14331	  tmp_sharedflag='-qmkshrobj'
14332	  tmp_addflag= ;;
14333	nvcc*)	# Cuda Compiler Driver 2.2
14334	  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'
14335	  compiler_needs_object_FC=yes
14336	  ;;
14337	esac
14338	case `$CC -V 2>&1 | sed 5q` in
14339	*Sun\ C*)			# Sun C 5.9
14340	  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'
14341	  compiler_needs_object_FC=yes
14342	  tmp_sharedflag='-G' ;;
14343	*Sun\ F*)			# Sun Fortran 8.3
14344	  tmp_sharedflag='-G' ;;
14345	esac
14346	archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14347
14348        if test "x$supports_anon_versioning" = xyes; then
14349          archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14350	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14351	    echo "local: *; };" >> $output_objdir/$libname.ver~
14352	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14353        fi
14354
14355	case $cc_basename in
14356	xlf* | bgf* | bgxlf* | mpixlf*)
14357	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14358	  whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14359	  hardcode_libdir_flag_spec_FC=
14360	  hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14361	  archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14362	  if test "x$supports_anon_versioning" = xyes; then
14363	    archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14364	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14365	      echo "local: *; };" >> $output_objdir/$libname.ver~
14366	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14367	  fi
14368	  ;;
14369	esac
14370      else
14371        ld_shlibs_FC=no
14372      fi
14373      ;;
14374
14375    netbsd*)
14376      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14377	archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14378	wlarc=
14379      else
14380	archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14381	archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14382      fi
14383      ;;
14384
14385    solaris*)
14386      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14387	ld_shlibs_FC=no
14388	cat <<_LT_EOF 1>&2
14389
14390*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14391*** create shared libraries on Solaris systems.  Therefore, libtool
14392*** is disabling shared libraries support.  We urge you to upgrade GNU
14393*** binutils to release 2.9.1 or newer.  Another option is to modify
14394*** your PATH or compiler configuration so that the native linker is
14395*** used, and then restart.
14396
14397_LT_EOF
14398      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14399	archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14400	archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14401      else
14402	ld_shlibs_FC=no
14403      fi
14404      ;;
14405
14406    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14407      case `$LD -v 2>&1` in
14408        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14409	ld_shlibs_FC=no
14410	cat <<_LT_EOF 1>&2
14411
14412*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14413*** reliably create shared libraries on SCO systems.  Therefore, libtool
14414*** is disabling shared libraries support.  We urge you to upgrade GNU
14415*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
14416*** your PATH or compiler configuration so that the native linker is
14417*** used, and then restart.
14418
14419_LT_EOF
14420	;;
14421	*)
14422	  # For security reasons, it is highly recommended that you always
14423	  # use absolute paths for naming shared libraries, and exclude the
14424	  # DT_RUNPATH tag from executables and libraries.  But doing so
14425	  # requires that you compile everything twice, which is a pain.
14426	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14427	    hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14428	    archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14429	    archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14430	  else
14431	    ld_shlibs_FC=no
14432	  fi
14433	;;
14434      esac
14435      ;;
14436
14437    sunos4*)
14438      archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14439      wlarc=
14440      hardcode_direct_FC=yes
14441      hardcode_shlibpath_var_FC=no
14442      ;;
14443
14444    *)
14445      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14446	archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14447	archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14448      else
14449	ld_shlibs_FC=no
14450      fi
14451      ;;
14452    esac
14453
14454    if test "$ld_shlibs_FC" = no; then
14455      runpath_var=
14456      hardcode_libdir_flag_spec_FC=
14457      export_dynamic_flag_spec_FC=
14458      whole_archive_flag_spec_FC=
14459    fi
14460  else
14461    # PORTME fill in a description of your system's linker (not GNU ld)
14462    case $host_os in
14463    aix3*)
14464      allow_undefined_flag_FC=unsupported
14465      always_export_symbols_FC=yes
14466      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'
14467      # Note: this linker hardcodes the directories in LIBPATH if there
14468      # are no directories specified by -L.
14469      hardcode_minus_L_FC=yes
14470      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14471	# Neither direct hardcoding nor static linking is supported with a
14472	# broken collect2.
14473	hardcode_direct_FC=unsupported
14474      fi
14475      ;;
14476
14477    aix[4-9]*)
14478      if test "$host_cpu" = ia64; then
14479	# On IA64, the linker does run time linking by default, so we don't
14480	# have to do anything special.
14481	aix_use_runtimelinking=no
14482	exp_sym_flag='-Bexport'
14483	no_entry_flag=""
14484      else
14485	# If we're using GNU nm, then we don't want the "-C" option.
14486	# -C means demangle to AIX nm, but means don't demangle with GNU nm
14487	# Also, AIX nm treats weak defined symbols like other global
14488	# defined symbols, whereas GNU nm marks them as "W".
14489	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14490	  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'
14491	else
14492	  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'
14493	fi
14494	aix_use_runtimelinking=no
14495
14496	# Test if we are trying to use run time linking or normal
14497	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
14498	# need to do runtime linking.
14499	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14500	  for ld_flag in $LDFLAGS; do
14501	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14502	    aix_use_runtimelinking=yes
14503	    break
14504	  fi
14505	  done
14506	  ;;
14507	esac
14508
14509	exp_sym_flag='-bexport'
14510	no_entry_flag='-bnoentry'
14511      fi
14512
14513      # When large executables or shared objects are built, AIX ld can
14514      # have problems creating the table of contents.  If linking a library
14515      # or program results in "error TOC overflow" add -mminimal-toc to
14516      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14517      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14518
14519      archive_cmds_FC=''
14520      hardcode_direct_FC=yes
14521      hardcode_direct_absolute_FC=yes
14522      hardcode_libdir_separator_FC=':'
14523      link_all_deplibs_FC=yes
14524      file_list_spec_FC='${wl}-f,'
14525
14526      if test "$GCC" = yes; then
14527	case $host_os in aix4.[012]|aix4.[012].*)
14528	# We only want to do this on AIX 4.2 and lower, the check
14529	# below for broken collect2 doesn't work under 4.3+
14530	  collect2name=`${CC} -print-prog-name=collect2`
14531	  if test -f "$collect2name" &&
14532	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14533	  then
14534	  # We have reworked collect2
14535	  :
14536	  else
14537	  # We have old collect2
14538	  hardcode_direct_FC=unsupported
14539	  # It fails to find uninstalled libraries when the uninstalled
14540	  # path is not listed in the libpath.  Setting hardcode_minus_L
14541	  # to unsupported forces relinking
14542	  hardcode_minus_L_FC=yes
14543	  hardcode_libdir_flag_spec_FC='-L$libdir'
14544	  hardcode_libdir_separator_FC=
14545	  fi
14546	  ;;
14547	esac
14548	shared_flag='-shared'
14549	if test "$aix_use_runtimelinking" = yes; then
14550	  shared_flag="$shared_flag "'${wl}-G'
14551	fi
14552      else
14553	# not using gcc
14554	if test "$host_cpu" = ia64; then
14555	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14556	# chokes on -Wl,-G. The following line is correct:
14557	  shared_flag='-G'
14558	else
14559	  if test "$aix_use_runtimelinking" = yes; then
14560	    shared_flag='${wl}-G'
14561	  else
14562	    shared_flag='${wl}-bM:SRE'
14563	  fi
14564	fi
14565      fi
14566
14567      export_dynamic_flag_spec_FC='${wl}-bexpall'
14568      # It seems that -bexpall does not export symbols beginning with
14569      # underscore (_), so it is better to generate a list of symbols to export.
14570      always_export_symbols_FC=yes
14571      if test "$aix_use_runtimelinking" = yes; then
14572	# Warning - without using the other runtime loading flags (-brtl),
14573	# -berok will link without error, but may produce a broken library.
14574	allow_undefined_flag_FC='-berok'
14575        # Determine the default libpath from the value encoded in an
14576        # empty executable.
14577        if test x$gcc_no_link = xyes; then
14578  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14579fi
14580cat > conftest.$ac_ext <<_ACEOF
14581      program main
14582
14583      end
14584_ACEOF
14585if ac_fn_fc_try_link "$LINENO"; then :
14586
14587lt_aix_libpath_sed='
14588    /Import File Strings/,/^$/ {
14589	/^0/ {
14590	    s/^0  *\(.*\)$/\1/
14591	    p
14592	}
14593    }'
14594aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14595# Check for a 64-bit object if we didn't find anything.
14596if test -z "$aix_libpath"; then
14597  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14598fi
14599fi
14600rm -f core conftest.err conftest.$ac_objext \
14601    conftest$ac_exeext conftest.$ac_ext
14602if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14603
14604        hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14605        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"
14606      else
14607	if test "$host_cpu" = ia64; then
14608	  hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14609	  allow_undefined_flag_FC="-z nodefs"
14610	  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"
14611	else
14612	 # Determine the default libpath from the value encoded in an
14613	 # empty executable.
14614	 if test x$gcc_no_link = xyes; then
14615  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14616fi
14617cat > conftest.$ac_ext <<_ACEOF
14618      program main
14619
14620      end
14621_ACEOF
14622if ac_fn_fc_try_link "$LINENO"; then :
14623
14624lt_aix_libpath_sed='
14625    /Import File Strings/,/^$/ {
14626	/^0/ {
14627	    s/^0  *\(.*\)$/\1/
14628	    p
14629	}
14630    }'
14631aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14632# Check for a 64-bit object if we didn't find anything.
14633if test -z "$aix_libpath"; then
14634  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14635fi
14636fi
14637rm -f core conftest.err conftest.$ac_objext \
14638    conftest$ac_exeext conftest.$ac_ext
14639if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14640
14641	 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14642	  # Warning - without using the other run time loading flags,
14643	  # -berok will link without error, but may produce a broken library.
14644	  no_undefined_flag_FC=' ${wl}-bernotok'
14645	  allow_undefined_flag_FC=' ${wl}-berok'
14646	  if test "$with_gnu_ld" = yes; then
14647	    # We only use this code for GNU lds that support --whole-archive.
14648	    whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14649	  else
14650	    # Exported symbols can be pulled into shared objects from archives
14651	    whole_archive_flag_spec_FC='$convenience'
14652	  fi
14653	  archive_cmds_need_lc_FC=yes
14654	  # This is similar to how AIX traditionally builds its shared libraries.
14655	  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'
14656	fi
14657      fi
14658      ;;
14659
14660    amigaos*)
14661      case $host_cpu in
14662      powerpc)
14663            # see comment about AmigaOS4 .so support
14664            archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14665            archive_expsym_cmds_FC=''
14666        ;;
14667      m68k)
14668            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)'
14669            hardcode_libdir_flag_spec_FC='-L$libdir'
14670            hardcode_minus_L_FC=yes
14671        ;;
14672      esac
14673      ;;
14674
14675    bsdi[45]*)
14676      export_dynamic_flag_spec_FC=-rdynamic
14677      ;;
14678
14679    cygwin* | mingw* | pw32* | cegcc*)
14680      # When not using gcc, we currently assume that we are using
14681      # Microsoft Visual C++.
14682      # hardcode_libdir_flag_spec is actually meaningless, as there is
14683      # no search path for DLLs.
14684      hardcode_libdir_flag_spec_FC=' '
14685      allow_undefined_flag_FC=unsupported
14686      # Tell ltmain to make .lib files, not .a files.
14687      libext=lib
14688      # Tell ltmain to make .dll files, not .so files.
14689      shrext_cmds=".dll"
14690      # FIXME: Setting linknames here is a bad hack.
14691      archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14692      # The linker will automatically build a .lib file if we build a DLL.
14693      old_archive_from_new_cmds_FC='true'
14694      # FIXME: Should let the user specify the lib program.
14695      old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14696      fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14697      enable_shared_with_static_runtimes_FC=yes
14698      ;;
14699
14700    darwin* | rhapsody*)
14701
14702
14703  archive_cmds_need_lc_FC=no
14704  hardcode_direct_FC=no
14705  hardcode_automatic_FC=yes
14706  hardcode_shlibpath_var_FC=unsupported
14707  if test "$lt_cv_ld_force_load" = "yes"; then
14708    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\"`'
14709  else
14710    whole_archive_flag_spec_FC=''
14711  fi
14712  link_all_deplibs_FC=yes
14713  allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14714  case $cc_basename in
14715     ifort*) _lt_dar_can_shared=yes ;;
14716     *) _lt_dar_can_shared=$GCC ;;
14717  esac
14718  if test "$_lt_dar_can_shared" = "yes"; then
14719    output_verbose_link_cmd=func_echo_all
14720    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}"
14721    module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14722    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}"
14723    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}"
14724
14725  else
14726  ld_shlibs_FC=no
14727  fi
14728
14729      ;;
14730
14731    dgux*)
14732      archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14733      hardcode_libdir_flag_spec_FC='-L$libdir'
14734      hardcode_shlibpath_var_FC=no
14735      ;;
14736
14737    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14738    # support.  Future versions do this automatically, but an explicit c++rt0.o
14739    # does not break anything, and helps significantly (at the cost of a little
14740    # extra space).
14741    freebsd2.2*)
14742      archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14743      hardcode_libdir_flag_spec_FC='-R$libdir'
14744      hardcode_direct_FC=yes
14745      hardcode_shlibpath_var_FC=no
14746      ;;
14747
14748    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14749    freebsd2.*)
14750      archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14751      hardcode_direct_FC=yes
14752      hardcode_minus_L_FC=yes
14753      hardcode_shlibpath_var_FC=no
14754      ;;
14755
14756    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14757    freebsd* | dragonfly*)
14758      archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14759      hardcode_libdir_flag_spec_FC='-R$libdir'
14760      hardcode_direct_FC=yes
14761      hardcode_shlibpath_var_FC=no
14762      ;;
14763
14764    hpux9*)
14765      if test "$GCC" = yes; then
14766	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'
14767      else
14768	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'
14769      fi
14770      hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14771      hardcode_libdir_separator_FC=:
14772      hardcode_direct_FC=yes
14773
14774      # hardcode_minus_L: Not really in the search PATH,
14775      # but as the default location of the library.
14776      hardcode_minus_L_FC=yes
14777      export_dynamic_flag_spec_FC='${wl}-E'
14778      ;;
14779
14780    hpux10*)
14781      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14782	archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14783      else
14784	archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14785      fi
14786      if test "$with_gnu_ld" = no; then
14787	hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14788	hardcode_libdir_flag_spec_ld_FC='+b $libdir'
14789	hardcode_libdir_separator_FC=:
14790	hardcode_direct_FC=yes
14791	hardcode_direct_absolute_FC=yes
14792	export_dynamic_flag_spec_FC='${wl}-E'
14793	# hardcode_minus_L: Not really in the search PATH,
14794	# but as the default location of the library.
14795	hardcode_minus_L_FC=yes
14796      fi
14797      ;;
14798
14799    hpux11*)
14800      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14801	case $host_cpu in
14802	hppa*64*)
14803	  archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14804	  ;;
14805	ia64*)
14806	  archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14807	  ;;
14808	*)
14809	  archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14810	  ;;
14811	esac
14812      else
14813	case $host_cpu in
14814	hppa*64*)
14815	  archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14816	  ;;
14817	ia64*)
14818	  archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14819	  ;;
14820	*)
14821	archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14822	  ;;
14823	esac
14824      fi
14825      if test "$with_gnu_ld" = no; then
14826	hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14827	hardcode_libdir_separator_FC=:
14828
14829	case $host_cpu in
14830	hppa*64*|ia64*)
14831	  hardcode_direct_FC=no
14832	  hardcode_shlibpath_var_FC=no
14833	  ;;
14834	*)
14835	  hardcode_direct_FC=yes
14836	  hardcode_direct_absolute_FC=yes
14837	  export_dynamic_flag_spec_FC='${wl}-E'
14838
14839	  # hardcode_minus_L: Not really in the search PATH,
14840	  # but as the default location of the library.
14841	  hardcode_minus_L_FC=yes
14842	  ;;
14843	esac
14844      fi
14845      ;;
14846
14847    irix5* | irix6* | nonstopux*)
14848      if test "$GCC" = yes; then
14849	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'
14850	# Try to use the -exported_symbol ld option, if it does not
14851	# work, assume that -exports_file does not work either and
14852	# implicitly export all symbols.
14853        save_LDFLAGS="$LDFLAGS"
14854        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14855        if test x$gcc_no_link = xyes; then
14856  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14857fi
14858cat > conftest.$ac_ext <<_ACEOF
14859int foo(void) {}
14860_ACEOF
14861if ac_fn_fc_try_link "$LINENO"; then :
14862  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'
14863
14864fi
14865rm -f core conftest.err conftest.$ac_objext \
14866    conftest$ac_exeext conftest.$ac_ext
14867        LDFLAGS="$save_LDFLAGS"
14868      else
14869	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'
14870	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'
14871      fi
14872      archive_cmds_need_lc_FC='no'
14873      hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14874      hardcode_libdir_separator_FC=:
14875      inherit_rpath_FC=yes
14876      link_all_deplibs_FC=yes
14877      ;;
14878
14879    netbsd*)
14880      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14881	archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14882      else
14883	archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
14884      fi
14885      hardcode_libdir_flag_spec_FC='-R$libdir'
14886      hardcode_direct_FC=yes
14887      hardcode_shlibpath_var_FC=no
14888      ;;
14889
14890    newsos6)
14891      archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14892      hardcode_direct_FC=yes
14893      hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14894      hardcode_libdir_separator_FC=:
14895      hardcode_shlibpath_var_FC=no
14896      ;;
14897
14898    *nto* | *qnx*)
14899      ;;
14900
14901    openbsd*)
14902      if test -f /usr/libexec/ld.so; then
14903	hardcode_direct_FC=yes
14904	hardcode_shlibpath_var_FC=no
14905	hardcode_direct_absolute_FC=yes
14906	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14907	  archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14908	  archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14909	  hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14910	  export_dynamic_flag_spec_FC='${wl}-E'
14911	else
14912	  case $host_os in
14913	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14914	     archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14915	     hardcode_libdir_flag_spec_FC='-R$libdir'
14916	     ;;
14917	   *)
14918	     archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14919	     hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14920	     ;;
14921	  esac
14922	fi
14923      else
14924	ld_shlibs_FC=no
14925      fi
14926      ;;
14927
14928    os2*)
14929      hardcode_libdir_flag_spec_FC='-L$libdir'
14930      hardcode_minus_L_FC=yes
14931      allow_undefined_flag_FC=unsupported
14932      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'
14933      old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14934      ;;
14935
14936    osf3*)
14937      if test "$GCC" = yes; then
14938	allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14939	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'
14940      else
14941	allow_undefined_flag_FC=' -expect_unresolved \*'
14942	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'
14943      fi
14944      archive_cmds_need_lc_FC='no'
14945      hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14946      hardcode_libdir_separator_FC=:
14947      ;;
14948
14949    osf4* | osf5*)	# as osf3* with the addition of -msym flag
14950      if test "$GCC" = yes; then
14951	allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14952	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'
14953	hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14954      else
14955	allow_undefined_flag_FC=' -expect_unresolved \*'
14956	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'
14957	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~
14958	$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'
14959
14960	# Both c and cxx compiler support -rpath directly
14961	hardcode_libdir_flag_spec_FC='-rpath $libdir'
14962      fi
14963      archive_cmds_need_lc_FC='no'
14964      hardcode_libdir_separator_FC=:
14965      ;;
14966
14967    solaris*)
14968      no_undefined_flag_FC=' -z defs'
14969      if test "$GCC" = yes; then
14970	wlarc='${wl}'
14971	archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14972	archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14973	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14974      else
14975	case `$CC -V 2>&1` in
14976	*"Compilers 5.0"*)
14977	  wlarc=''
14978	  archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14979	  archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14980	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14981	  ;;
14982	*)
14983	  wlarc='${wl}'
14984	  archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14985	  archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14986	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14987	  ;;
14988	esac
14989      fi
14990      hardcode_libdir_flag_spec_FC='-R$libdir'
14991      hardcode_shlibpath_var_FC=no
14992      case $host_os in
14993      solaris2.[0-5] | solaris2.[0-5].*) ;;
14994      *)
14995	# The compiler driver will combine and reorder linker options,
14996	# but understands `-z linker_flag'.  GCC discards it without `$wl',
14997	# but is careful enough not to reorder.
14998	# Supported since Solaris 2.6 (maybe 2.5.1?)
14999	if test "$GCC" = yes; then
15000	  whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15001	else
15002	  whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
15003	fi
15004	;;
15005      esac
15006      link_all_deplibs_FC=yes
15007      ;;
15008
15009    sunos4*)
15010      if test "x$host_vendor" = xsequent; then
15011	# Use $CC to link under sequent, because it throws in some extra .o
15012	# files that make .init and .fini sections work.
15013	archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15014      else
15015	archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15016      fi
15017      hardcode_libdir_flag_spec_FC='-L$libdir'
15018      hardcode_direct_FC=yes
15019      hardcode_minus_L_FC=yes
15020      hardcode_shlibpath_var_FC=no
15021      ;;
15022
15023    sysv4)
15024      case $host_vendor in
15025	sni)
15026	  archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15027	  hardcode_direct_FC=yes # is this really true???
15028	;;
15029	siemens)
15030	  ## LD is ld it makes a PLAMLIB
15031	  ## CC just makes a GrossModule.
15032	  archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15033	  reload_cmds_FC='$CC -r -o $output$reload_objs'
15034	  hardcode_direct_FC=no
15035        ;;
15036	motorola)
15037	  archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15038	  hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
15039	;;
15040      esac
15041      runpath_var='LD_RUN_PATH'
15042      hardcode_shlibpath_var_FC=no
15043      ;;
15044
15045    sysv4.3*)
15046      archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15047      hardcode_shlibpath_var_FC=no
15048      export_dynamic_flag_spec_FC='-Bexport'
15049      ;;
15050
15051    sysv4*MP*)
15052      if test -d /usr/nec; then
15053	archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15054	hardcode_shlibpath_var_FC=no
15055	runpath_var=LD_RUN_PATH
15056	hardcode_runpath_var=yes
15057	ld_shlibs_FC=yes
15058      fi
15059      ;;
15060
15061    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15062      no_undefined_flag_FC='${wl}-z,text'
15063      archive_cmds_need_lc_FC=no
15064      hardcode_shlibpath_var_FC=no
15065      runpath_var='LD_RUN_PATH'
15066
15067      if test "$GCC" = yes; then
15068	archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15069	archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15070      else
15071	archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15072	archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15073      fi
15074      ;;
15075
15076    sysv5* | sco3.2v5* | sco5v6*)
15077      # Note: We can NOT use -z defs as we might desire, because we do not
15078      # link with -lc, and that would cause any symbols used from libc to
15079      # always be unresolved, which means just about no library would
15080      # ever link correctly.  If we're not using GNU ld we use -z text
15081      # though, which does catch some bad symbols but isn't as heavy-handed
15082      # as -z defs.
15083      no_undefined_flag_FC='${wl}-z,text'
15084      allow_undefined_flag_FC='${wl}-z,nodefs'
15085      archive_cmds_need_lc_FC=no
15086      hardcode_shlibpath_var_FC=no
15087      hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
15088      hardcode_libdir_separator_FC=':'
15089      link_all_deplibs_FC=yes
15090      export_dynamic_flag_spec_FC='${wl}-Bexport'
15091      runpath_var='LD_RUN_PATH'
15092
15093      if test "$GCC" = yes; then
15094	archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15095	archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15096      else
15097	archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15098	archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15099      fi
15100      ;;
15101
15102    uts4*)
15103      archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15104      hardcode_libdir_flag_spec_FC='-L$libdir'
15105      hardcode_shlibpath_var_FC=no
15106      ;;
15107
15108    *)
15109      ld_shlibs_FC=no
15110      ;;
15111    esac
15112
15113    if test x$host_vendor = xsni; then
15114      case $host in
15115      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15116	export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
15117	;;
15118      esac
15119    fi
15120  fi
15121
15122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15123$as_echo "$ld_shlibs_FC" >&6; }
15124test "$ld_shlibs_FC" = no && can_build_shared=no
15125
15126with_gnu_ld_FC=$with_gnu_ld
15127
15128
15129
15130
15131
15132
15133#
15134# Do we need to explicitly link libc?
15135#
15136case "x$archive_cmds_need_lc_FC" in
15137x|xyes)
15138  # Assume -lc should be added
15139  archive_cmds_need_lc_FC=yes
15140
15141  if test "$enable_shared" = yes && test "$GCC" = yes; then
15142    case $archive_cmds_FC in
15143    *'~'*)
15144      # FIXME: we may have to deal with multi-command sequences.
15145      ;;
15146    '$CC '*)
15147      # Test whether the compiler implicitly links with -lc since on some
15148      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15149      # to ld, don't add -lc before -lgcc.
15150      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15151$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15152if ${lt_cv_archive_cmds_need_lc_FC+:} false; then :
15153  $as_echo_n "(cached) " >&6
15154else
15155  $RM conftest*
15156	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15157
15158	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15159  (eval $ac_compile) 2>&5
15160  ac_status=$?
15161  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15162  test $ac_status = 0; } 2>conftest.err; then
15163	  soname=conftest
15164	  lib=conftest
15165	  libobjs=conftest.$ac_objext
15166	  deplibs=
15167	  wl=$lt_prog_compiler_wl_FC
15168	  pic_flag=$lt_prog_compiler_pic_FC
15169	  compiler_flags=-v
15170	  linker_flags=-v
15171	  verstring=
15172	  output_objdir=.
15173	  libname=conftest
15174	  lt_save_allow_undefined_flag=$allow_undefined_flag_FC
15175	  allow_undefined_flag_FC=
15176	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15177  (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15178  ac_status=$?
15179  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15180  test $ac_status = 0; }
15181	  then
15182	    lt_cv_archive_cmds_need_lc_FC=no
15183	  else
15184	    lt_cv_archive_cmds_need_lc_FC=yes
15185	  fi
15186	  allow_undefined_flag_FC=$lt_save_allow_undefined_flag
15187	else
15188	  cat conftest.err 1>&5
15189	fi
15190	$RM conftest*
15191
15192fi
15193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15194$as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15195      archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
15196      ;;
15197    esac
15198  fi
15199  ;;
15200esac
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15266$as_echo_n "checking dynamic linker characteristics... " >&6; }
15267
15268library_names_spec=
15269libname_spec='lib$name'
15270soname_spec=
15271shrext_cmds=".so"
15272postinstall_cmds=
15273postuninstall_cmds=
15274finish_cmds=
15275finish_eval=
15276shlibpath_var=
15277shlibpath_overrides_runpath=unknown
15278version_type=none
15279dynamic_linker="$host_os ld.so"
15280sys_lib_dlsearch_path_spec="/lib /usr/lib"
15281need_lib_prefix=unknown
15282hardcode_into_libs=no
15283
15284# when you set need_version to no, make sure it does not cause -set_version
15285# flags to be left without arguments
15286need_version=unknown
15287
15288case $host_os in
15289aix3*)
15290  version_type=linux
15291  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15292  shlibpath_var=LIBPATH
15293
15294  # AIX 3 has no versioning support, so we append a major version to the name.
15295  soname_spec='${libname}${release}${shared_ext}$major'
15296  ;;
15297
15298aix[4-9]*)
15299  version_type=linux
15300  need_lib_prefix=no
15301  need_version=no
15302  hardcode_into_libs=yes
15303  if test "$host_cpu" = ia64; then
15304    # AIX 5 supports IA64
15305    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15306    shlibpath_var=LD_LIBRARY_PATH
15307  else
15308    # With GCC up to 2.95.x, collect2 would create an import file
15309    # for dependence libraries.  The import file would start with
15310    # the line `#! .'.  This would cause the generated library to
15311    # depend on `.', always an invalid library.  This was fixed in
15312    # development snapshots of GCC prior to 3.0.
15313    case $host_os in
15314      aix4 | aix4.[01] | aix4.[01].*)
15315      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15316	   echo ' yes '
15317	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15318	:
15319      else
15320	can_build_shared=no
15321      fi
15322      ;;
15323    esac
15324    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15325    # soname into executable. Probably we can add versioning support to
15326    # collect2, so additional links can be useful in future.
15327    if test "$aix_use_runtimelinking" = yes; then
15328      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15329      # instead of lib<name>.a to let people know that these are not
15330      # typical AIX shared libraries.
15331      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15332    else
15333      # We preserve .a as extension for shared libraries through AIX4.2
15334      # and later when we are not doing run time linking.
15335      library_names_spec='${libname}${release}.a $libname.a'
15336      soname_spec='${libname}${release}${shared_ext}$major'
15337    fi
15338    shlibpath_var=LIBPATH
15339  fi
15340  ;;
15341
15342amigaos*)
15343  case $host_cpu in
15344  powerpc)
15345    # Since July 2007 AmigaOS4 officially supports .so libraries.
15346    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15347    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15348    ;;
15349  m68k)
15350    library_names_spec='$libname.ixlibrary $libname.a'
15351    # Create ${libname}_ixlibrary.a entries in /sys/libs.
15352    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'
15353    ;;
15354  esac
15355  ;;
15356
15357beos*)
15358  library_names_spec='${libname}${shared_ext}'
15359  dynamic_linker="$host_os ld.so"
15360  shlibpath_var=LIBRARY_PATH
15361  ;;
15362
15363bsdi[45]*)
15364  version_type=linux
15365  need_version=no
15366  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15367  soname_spec='${libname}${release}${shared_ext}$major'
15368  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15369  shlibpath_var=LD_LIBRARY_PATH
15370  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15371  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15372  # the default ld.so.conf also contains /usr/contrib/lib and
15373  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15374  # libtool to hard-code these into programs
15375  ;;
15376
15377cygwin* | mingw* | pw32* | cegcc*)
15378  version_type=windows
15379  shrext_cmds=".dll"
15380  need_version=no
15381  need_lib_prefix=no
15382
15383  case $GCC,$host_os in
15384  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15385    library_names_spec='$libname.dll.a'
15386    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15387    postinstall_cmds='base_file=`basename \${file}`~
15388      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15389      dldir=$destdir/`dirname \$dlpath`~
15390      test -d \$dldir || mkdir -p \$dldir~
15391      $install_prog $dir/$dlname \$dldir/$dlname~
15392      chmod a+x \$dldir/$dlname~
15393      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15394        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15395      fi'
15396    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15397      dlpath=$dir/\$dldll~
15398       $RM \$dlpath'
15399    shlibpath_overrides_runpath=yes
15400
15401    case $host_os in
15402    cygwin*)
15403      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15404      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15405
15406      ;;
15407    mingw* | cegcc*)
15408      # MinGW DLLs use traditional 'lib' prefix
15409      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15410      ;;
15411    pw32*)
15412      # pw32 DLLs use 'pw' prefix rather than 'lib'
15413      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15414      ;;
15415    esac
15416    ;;
15417
15418  *)
15419    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15420    ;;
15421  esac
15422  dynamic_linker='Win32 ld.exe'
15423  # FIXME: first we should search . and the directory the executable is in
15424  shlibpath_var=PATH
15425  ;;
15426
15427darwin* | rhapsody*)
15428  dynamic_linker="$host_os dyld"
15429  version_type=darwin
15430  need_lib_prefix=no
15431  need_version=no
15432  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15433  soname_spec='${libname}${release}${major}$shared_ext'
15434  shlibpath_overrides_runpath=yes
15435  shlibpath_var=DYLD_LIBRARY_PATH
15436  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15437
15438  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15439  ;;
15440
15441dgux*)
15442  version_type=linux
15443  need_lib_prefix=no
15444  need_version=no
15445  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15446  soname_spec='${libname}${release}${shared_ext}$major'
15447  shlibpath_var=LD_LIBRARY_PATH
15448  ;;
15449
15450freebsd* | dragonfly*)
15451  # DragonFly does not have aout.  When/if they implement a new
15452  # versioning mechanism, adjust this.
15453  if test -x /usr/bin/objformat; then
15454    objformat=`/usr/bin/objformat`
15455  else
15456    case $host_os in
15457    freebsd[23].*) objformat=aout ;;
15458    *) objformat=elf ;;
15459    esac
15460  fi
15461  version_type=freebsd-$objformat
15462  case $version_type in
15463    freebsd-elf*)
15464      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15465      need_version=no
15466      need_lib_prefix=no
15467      ;;
15468    freebsd-*)
15469      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15470      need_version=yes
15471      ;;
15472  esac
15473  shlibpath_var=LD_LIBRARY_PATH
15474  case $host_os in
15475  freebsd2.*)
15476    shlibpath_overrides_runpath=yes
15477    ;;
15478  freebsd3.[01]* | freebsdelf3.[01]*)
15479    shlibpath_overrides_runpath=yes
15480    hardcode_into_libs=yes
15481    ;;
15482  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15483  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15484    shlibpath_overrides_runpath=no
15485    hardcode_into_libs=yes
15486    ;;
15487  *) # from 4.6 on, and DragonFly
15488    shlibpath_overrides_runpath=yes
15489    hardcode_into_libs=yes
15490    ;;
15491  esac
15492  ;;
15493
15494gnu*)
15495  version_type=linux
15496  need_lib_prefix=no
15497  need_version=no
15498  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15499  soname_spec='${libname}${release}${shared_ext}$major'
15500  shlibpath_var=LD_LIBRARY_PATH
15501  hardcode_into_libs=yes
15502  ;;
15503
15504haiku*)
15505  version_type=linux
15506  need_lib_prefix=no
15507  need_version=no
15508  dynamic_linker="$host_os runtime_loader"
15509  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15510  soname_spec='${libname}${release}${shared_ext}$major'
15511  shlibpath_var=LIBRARY_PATH
15512  shlibpath_overrides_runpath=yes
15513  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15514  hardcode_into_libs=yes
15515  ;;
15516
15517hpux9* | hpux10* | hpux11*)
15518  # Give a soname corresponding to the major version so that dld.sl refuses to
15519  # link against other versions.
15520  version_type=sunos
15521  need_lib_prefix=no
15522  need_version=no
15523  case $host_cpu in
15524  ia64*)
15525    shrext_cmds='.so'
15526    hardcode_into_libs=yes
15527    dynamic_linker="$host_os dld.so"
15528    shlibpath_var=LD_LIBRARY_PATH
15529    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15530    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15531    soname_spec='${libname}${release}${shared_ext}$major'
15532    if test "X$HPUX_IA64_MODE" = X32; then
15533      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15534    else
15535      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15536    fi
15537    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15538    ;;
15539  hppa*64*)
15540    shrext_cmds='.sl'
15541    hardcode_into_libs=yes
15542    dynamic_linker="$host_os dld.sl"
15543    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15544    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15545    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15546    soname_spec='${libname}${release}${shared_ext}$major'
15547    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15548    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15549    ;;
15550  *)
15551    shrext_cmds='.sl'
15552    dynamic_linker="$host_os dld.sl"
15553    shlibpath_var=SHLIB_PATH
15554    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15555    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15556    soname_spec='${libname}${release}${shared_ext}$major'
15557    ;;
15558  esac
15559  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15560  postinstall_cmds='chmod 555 $lib'
15561  # or fails outright, so override atomically:
15562  install_override_mode=555
15563  ;;
15564
15565interix[3-9]*)
15566  version_type=linux
15567  need_lib_prefix=no
15568  need_version=no
15569  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15570  soname_spec='${libname}${release}${shared_ext}$major'
15571  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15572  shlibpath_var=LD_LIBRARY_PATH
15573  shlibpath_overrides_runpath=no
15574  hardcode_into_libs=yes
15575  ;;
15576
15577irix5* | irix6* | nonstopux*)
15578  case $host_os in
15579    nonstopux*) version_type=nonstopux ;;
15580    *)
15581	if test "$lt_cv_prog_gnu_ld" = yes; then
15582		version_type=linux
15583	else
15584		version_type=irix
15585	fi ;;
15586  esac
15587  need_lib_prefix=no
15588  need_version=no
15589  soname_spec='${libname}${release}${shared_ext}$major'
15590  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15591  case $host_os in
15592  irix5* | nonstopux*)
15593    libsuff= shlibsuff=
15594    ;;
15595  *)
15596    case $LD in # libtool.m4 will add one of these switches to LD
15597    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15598      libsuff= shlibsuff= libmagic=32-bit;;
15599    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15600      libsuff=32 shlibsuff=N32 libmagic=N32;;
15601    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15602      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15603    *) libsuff= shlibsuff= libmagic=never-match;;
15604    esac
15605    ;;
15606  esac
15607  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15608  shlibpath_overrides_runpath=no
15609  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15610  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15611  hardcode_into_libs=yes
15612  ;;
15613
15614# No shared lib support for Linux oldld, aout, or coff.
15615linux*oldld* | linux*aout* | linux*coff*)
15616  dynamic_linker=no
15617  ;;
15618
15619# This must be Linux ELF.
15620linux* | k*bsd*-gnu | kopensolaris*-gnu)
15621  version_type=linux
15622  need_lib_prefix=no
15623  need_version=no
15624  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15625  soname_spec='${libname}${release}${shared_ext}$major'
15626  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15627  shlibpath_var=LD_LIBRARY_PATH
15628  shlibpath_overrides_runpath=no
15629
15630  # Some binutils ld are patched to set DT_RUNPATH
15631  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15632  $as_echo_n "(cached) " >&6
15633else
15634  lt_cv_shlibpath_overrides_runpath=no
15635    save_LDFLAGS=$LDFLAGS
15636    save_libdir=$libdir
15637    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15638	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15639    if test x$gcc_no_link = xyes; then
15640  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15641fi
15642cat > conftest.$ac_ext <<_ACEOF
15643      program main
15644
15645      end
15646_ACEOF
15647if ac_fn_fc_try_link "$LINENO"; then :
15648  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15649  lt_cv_shlibpath_overrides_runpath=yes
15650fi
15651fi
15652rm -f core conftest.err conftest.$ac_objext \
15653    conftest$ac_exeext conftest.$ac_ext
15654    LDFLAGS=$save_LDFLAGS
15655    libdir=$save_libdir
15656
15657fi
15658
15659  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15660
15661  # This implies no fast_install, which is unacceptable.
15662  # Some rework will be needed to allow for fast_install
15663  # before this can be enabled.
15664  hardcode_into_libs=yes
15665
15666  # Append ld.so.conf contents to the search path
15667  if test -f /etc/ld.so.conf; then
15668    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' ' '`
15669    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15670  fi
15671
15672  # We used to test for /lib/ld.so.1 and disable shared libraries on
15673  # powerpc, because MkLinux only supported shared libraries with the
15674  # GNU dynamic linker.  Since this was broken with cross compilers,
15675  # most powerpc-linux boxes support dynamic linking these days and
15676  # people can always --disable-shared, the test was removed, and we
15677  # assume the GNU/Linux dynamic linker is in use.
15678  dynamic_linker='GNU/Linux ld.so'
15679  ;;
15680
15681netbsd*)
15682  version_type=sunos
15683  need_lib_prefix=no
15684  need_version=no
15685  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15686    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15687    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15688    dynamic_linker='NetBSD (a.out) ld.so'
15689  else
15690    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15691    soname_spec='${libname}${release}${shared_ext}$major'
15692    dynamic_linker='NetBSD ld.elf_so'
15693  fi
15694  shlibpath_var=LD_LIBRARY_PATH
15695  shlibpath_overrides_runpath=yes
15696  hardcode_into_libs=yes
15697  ;;
15698
15699newsos6)
15700  version_type=linux
15701  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15702  shlibpath_var=LD_LIBRARY_PATH
15703  shlibpath_overrides_runpath=yes
15704  ;;
15705
15706*nto* | *qnx*)
15707  version_type=qnx
15708  need_lib_prefix=no
15709  need_version=no
15710  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15711  soname_spec='${libname}${release}${shared_ext}$major'
15712  shlibpath_var=LD_LIBRARY_PATH
15713  shlibpath_overrides_runpath=no
15714  hardcode_into_libs=yes
15715  dynamic_linker='ldqnx.so'
15716  ;;
15717
15718openbsd*)
15719  version_type=sunos
15720  sys_lib_dlsearch_path_spec="/usr/lib"
15721  need_lib_prefix=no
15722  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15723  case $host_os in
15724    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
15725    *)				need_version=no  ;;
15726  esac
15727  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15728  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15729  shlibpath_var=LD_LIBRARY_PATH
15730  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15731    case $host_os in
15732      openbsd2.[89] | openbsd2.[89].*)
15733	shlibpath_overrides_runpath=no
15734	;;
15735      *)
15736	shlibpath_overrides_runpath=yes
15737	;;
15738      esac
15739  else
15740    shlibpath_overrides_runpath=yes
15741  fi
15742  ;;
15743
15744os2*)
15745  libname_spec='$name'
15746  shrext_cmds=".dll"
15747  need_lib_prefix=no
15748  library_names_spec='$libname${shared_ext} $libname.a'
15749  dynamic_linker='OS/2 ld.exe'
15750  shlibpath_var=LIBPATH
15751  ;;
15752
15753osf3* | osf4* | osf5*)
15754  version_type=osf
15755  need_lib_prefix=no
15756  need_version=no
15757  soname_spec='${libname}${release}${shared_ext}$major'
15758  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15759  shlibpath_var=LD_LIBRARY_PATH
15760  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15761  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15762  ;;
15763
15764rdos*)
15765  dynamic_linker=no
15766  ;;
15767
15768solaris*)
15769  version_type=linux
15770  need_lib_prefix=no
15771  need_version=no
15772  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15773  soname_spec='${libname}${release}${shared_ext}$major'
15774  shlibpath_var=LD_LIBRARY_PATH
15775  shlibpath_overrides_runpath=yes
15776  hardcode_into_libs=yes
15777  # ldd complains unless libraries are executable
15778  postinstall_cmds='chmod +x $lib'
15779  ;;
15780
15781sunos4*)
15782  version_type=sunos
15783  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15784  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15785  shlibpath_var=LD_LIBRARY_PATH
15786  shlibpath_overrides_runpath=yes
15787  if test "$with_gnu_ld" = yes; then
15788    need_lib_prefix=no
15789  fi
15790  need_version=yes
15791  ;;
15792
15793sysv4 | sysv4.3*)
15794  version_type=linux
15795  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15796  soname_spec='${libname}${release}${shared_ext}$major'
15797  shlibpath_var=LD_LIBRARY_PATH
15798  case $host_vendor in
15799    sni)
15800      shlibpath_overrides_runpath=no
15801      need_lib_prefix=no
15802      runpath_var=LD_RUN_PATH
15803      ;;
15804    siemens)
15805      need_lib_prefix=no
15806      ;;
15807    motorola)
15808      need_lib_prefix=no
15809      need_version=no
15810      shlibpath_overrides_runpath=no
15811      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15812      ;;
15813  esac
15814  ;;
15815
15816sysv4*MP*)
15817  if test -d /usr/nec ;then
15818    version_type=linux
15819    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15820    soname_spec='$libname${shared_ext}.$major'
15821    shlibpath_var=LD_LIBRARY_PATH
15822  fi
15823  ;;
15824
15825sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15826  version_type=freebsd-elf
15827  need_lib_prefix=no
15828  need_version=no
15829  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15830  soname_spec='${libname}${release}${shared_ext}$major'
15831  shlibpath_var=LD_LIBRARY_PATH
15832  shlibpath_overrides_runpath=yes
15833  hardcode_into_libs=yes
15834  if test "$with_gnu_ld" = yes; then
15835    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15836  else
15837    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15838    case $host_os in
15839      sco3.2v5*)
15840        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15841	;;
15842    esac
15843  fi
15844  sys_lib_dlsearch_path_spec='/usr/lib'
15845  ;;
15846
15847tpf*)
15848  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15849  version_type=linux
15850  need_lib_prefix=no
15851  need_version=no
15852  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15853  shlibpath_var=LD_LIBRARY_PATH
15854  shlibpath_overrides_runpath=no
15855  hardcode_into_libs=yes
15856  ;;
15857
15858uts4*)
15859  version_type=linux
15860  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15861  soname_spec='${libname}${release}${shared_ext}$major'
15862  shlibpath_var=LD_LIBRARY_PATH
15863  ;;
15864
15865*)
15866  dynamic_linker=no
15867  ;;
15868esac
15869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15870$as_echo "$dynamic_linker" >&6; }
15871test "$dynamic_linker" = no && can_build_shared=no
15872
15873variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15874if test "$GCC" = yes; then
15875  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15876fi
15877
15878if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15879  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15880fi
15881if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15882  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15883fi
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15923$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15924hardcode_action_FC=
15925if test -n "$hardcode_libdir_flag_spec_FC" ||
15926   test -n "$runpath_var_FC" ||
15927   test "X$hardcode_automatic_FC" = "Xyes" ; then
15928
15929  # We can hardcode non-existent directories.
15930  if test "$hardcode_direct_FC" != no &&
15931     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15932     # have to relink, otherwise we might link with an installed library
15933     # when we should be linking with a yet-to-be-installed one
15934     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15935     test "$hardcode_minus_L_FC" != no; then
15936    # Linking always hardcodes the temporary library directory.
15937    hardcode_action_FC=relink
15938  else
15939    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15940    hardcode_action_FC=immediate
15941  fi
15942else
15943  # We cannot hardcode anything, or else we can only hardcode existing
15944  # directories.
15945  hardcode_action_FC=unsupported
15946fi
15947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15948$as_echo "$hardcode_action_FC" >&6; }
15949
15950if test "$hardcode_action_FC" = relink ||
15951   test "$inherit_rpath_FC" = yes; then
15952  # Fast installation is not supported
15953  enable_fast_install=no
15954elif test "$shlibpath_overrides_runpath" = yes ||
15955     test "$enable_shared" = no; then
15956  # Fast installation is not necessary
15957  enable_fast_install=needless
15958fi
15959
15960
15961
15962
15963
15964
15965
15966  fi # test -n "$compiler"
15967
15968  GCC=$lt_save_GCC
15969  CC="$lt_save_CC"
15970fi # test "$_lt_disable_FC" != yes
15971
15972ac_ext=c
15973ac_cpp='$CPP $CPPFLAGS'
15974ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15975ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15976ac_compiler_gnu=$ac_cv_c_compiler_gnu
15977
15978
15979
15980# extra LD Flags which are required for targets
15981case "${host}" in
15982  *-darwin*)
15983    # Darwin needs -single_module when linking libgfortran
15984    extra_ldflags_libgfortran=-Wl,-single_module
15985    ;;
15986esac
15987
15988
15989# We need a working compiler at that point, otherwise give a clear
15990# error message and bail out.
15991
15992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15993$as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15994ac_ext=${ac_fc_srcext-f}
15995ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15996ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15997ac_compiler_gnu=$ac_cv_fc_compiler_gnu
15998
15999cat > conftest.$ac_ext <<_ACEOF
16000
16001      program foo
16002      real, parameter :: bar = sin (12.34 / 2.5)
16003      end program foo
16004_ACEOF
16005if ac_fn_fc_try_compile "$LINENO"; then :
16006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16007$as_echo "yes" >&6; }
16008else
16009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16010$as_echo "no" >&6; }
16011     as_fn_error $? "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16012
16013fi
16014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16015ac_ext=c
16016ac_cpp='$CPP $CPPFLAGS'
16017ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16018ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16019ac_compiler_gnu=$ac_cv_c_compiler_gnu
16020
16021
16022
16023# Check whether --enable-largefile was given.
16024if test "${enable_largefile+set}" = set; then :
16025  enableval=$enable_largefile;
16026fi
16027
16028if test "$enable_largefile" != no; then
16029
16030  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16031$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16032if ${ac_cv_sys_largefile_CC+:} false; then :
16033  $as_echo_n "(cached) " >&6
16034else
16035  ac_cv_sys_largefile_CC=no
16036     if test "$GCC" != yes; then
16037       ac_save_CC=$CC
16038       while :; do
16039	 # IRIX 6.2 and later do not support large files by default,
16040	 # so use the C compiler's -n32 option if that helps.
16041	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16042/* end confdefs.h.  */
16043#include <sys/types.h>
16044 /* Check that off_t can represent 2**63 - 1 correctly.
16045    We can't simply define LARGE_OFF_T to be 9223372036854775807,
16046    since some C++ compilers masquerading as C compilers
16047    incorrectly reject 9223372036854775807.  */
16048#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16049  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16050		       && LARGE_OFF_T % 2147483647 == 1)
16051		      ? 1 : -1];
16052int
16053main ()
16054{
16055
16056  ;
16057  return 0;
16058}
16059_ACEOF
16060	 if ac_fn_c_try_compile "$LINENO"; then :
16061  break
16062fi
16063rm -f core conftest.err conftest.$ac_objext
16064	 CC="$CC -n32"
16065	 if ac_fn_c_try_compile "$LINENO"; then :
16066  ac_cv_sys_largefile_CC=' -n32'; break
16067fi
16068rm -f core conftest.err conftest.$ac_objext
16069	 break
16070       done
16071       CC=$ac_save_CC
16072       rm -f conftest.$ac_ext
16073    fi
16074fi
16075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16076$as_echo "$ac_cv_sys_largefile_CC" >&6; }
16077  if test "$ac_cv_sys_largefile_CC" != no; then
16078    CC=$CC$ac_cv_sys_largefile_CC
16079  fi
16080
16081  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16082$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16083if ${ac_cv_sys_file_offset_bits+:} false; then :
16084  $as_echo_n "(cached) " >&6
16085else
16086  while :; do
16087  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16088/* end confdefs.h.  */
16089#include <sys/types.h>
16090 /* Check that off_t can represent 2**63 - 1 correctly.
16091    We can't simply define LARGE_OFF_T to be 9223372036854775807,
16092    since some C++ compilers masquerading as C compilers
16093    incorrectly reject 9223372036854775807.  */
16094#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16095  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16096		       && LARGE_OFF_T % 2147483647 == 1)
16097		      ? 1 : -1];
16098int
16099main ()
16100{
16101
16102  ;
16103  return 0;
16104}
16105_ACEOF
16106if ac_fn_c_try_compile "$LINENO"; then :
16107  ac_cv_sys_file_offset_bits=no; break
16108fi
16109rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16110  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16111/* end confdefs.h.  */
16112#define _FILE_OFFSET_BITS 64
16113#include <sys/types.h>
16114 /* Check that off_t can represent 2**63 - 1 correctly.
16115    We can't simply define LARGE_OFF_T to be 9223372036854775807,
16116    since some C++ compilers masquerading as C compilers
16117    incorrectly reject 9223372036854775807.  */
16118#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16119  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16120		       && LARGE_OFF_T % 2147483647 == 1)
16121		      ? 1 : -1];
16122int
16123main ()
16124{
16125
16126  ;
16127  return 0;
16128}
16129_ACEOF
16130if ac_fn_c_try_compile "$LINENO"; then :
16131  ac_cv_sys_file_offset_bits=64; break
16132fi
16133rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16134  ac_cv_sys_file_offset_bits=unknown
16135  break
16136done
16137fi
16138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16139$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16140case $ac_cv_sys_file_offset_bits in #(
16141  no | unknown) ;;
16142  *)
16143cat >>confdefs.h <<_ACEOF
16144#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16145_ACEOF
16146;;
16147esac
16148rm -rf conftest*
16149  if test $ac_cv_sys_file_offset_bits = unknown; then
16150    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16151$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16152if ${ac_cv_sys_large_files+:} false; then :
16153  $as_echo_n "(cached) " >&6
16154else
16155  while :; do
16156  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16157/* end confdefs.h.  */
16158#include <sys/types.h>
16159 /* Check that off_t can represent 2**63 - 1 correctly.
16160    We can't simply define LARGE_OFF_T to be 9223372036854775807,
16161    since some C++ compilers masquerading as C compilers
16162    incorrectly reject 9223372036854775807.  */
16163#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16164  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16165		       && LARGE_OFF_T % 2147483647 == 1)
16166		      ? 1 : -1];
16167int
16168main ()
16169{
16170
16171  ;
16172  return 0;
16173}
16174_ACEOF
16175if ac_fn_c_try_compile "$LINENO"; then :
16176  ac_cv_sys_large_files=no; break
16177fi
16178rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16179  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16180/* end confdefs.h.  */
16181#define _LARGE_FILES 1
16182#include <sys/types.h>
16183 /* Check that off_t can represent 2**63 - 1 correctly.
16184    We can't simply define LARGE_OFF_T to be 9223372036854775807,
16185    since some C++ compilers masquerading as C compilers
16186    incorrectly reject 9223372036854775807.  */
16187#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16188  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16189		       && LARGE_OFF_T % 2147483647 == 1)
16190		      ? 1 : -1];
16191int
16192main ()
16193{
16194
16195  ;
16196  return 0;
16197}
16198_ACEOF
16199if ac_fn_c_try_compile "$LINENO"; then :
16200  ac_cv_sys_large_files=1; break
16201fi
16202rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16203  ac_cv_sys_large_files=unknown
16204  break
16205done
16206fi
16207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16208$as_echo "$ac_cv_sys_large_files" >&6; }
16209case $ac_cv_sys_large_files in #(
16210  no | unknown) ;;
16211  *)
16212cat >>confdefs.h <<_ACEOF
16213#define _LARGE_FILES $ac_cv_sys_large_files
16214_ACEOF
16215;;
16216esac
16217rm -rf conftest*
16218  fi
16219
16220
16221fi
16222
16223
16224# Types
16225ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16226if test "x$ac_cv_type_off_t" = xyes; then :
16227
16228else
16229
16230cat >>confdefs.h <<_ACEOF
16231#define off_t long int
16232_ACEOF
16233
16234fi
16235
16236
16237  ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16238if test "x$ac_cv_type_intptr_t" = xyes; then :
16239
16240$as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16241
16242else
16243  for ac_type in 'int' 'long int' 'long long int'; do
16244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16245/* end confdefs.h.  */
16246$ac_includes_default
16247int
16248main ()
16249{
16250static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16251test_array [0] = 0;
16252return test_array [0];
16253
16254  ;
16255  return 0;
16256}
16257_ACEOF
16258if ac_fn_c_try_compile "$LINENO"; then :
16259
16260cat >>confdefs.h <<_ACEOF
16261#define intptr_t $ac_type
16262_ACEOF
16263
16264	  ac_type=
16265fi
16266rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16267       test -z "$ac_type" && break
16268     done
16269fi
16270
16271
16272
16273  ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16274if test "x$ac_cv_type_uintptr_t" = xyes; then :
16275
16276$as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16277
16278else
16279  for ac_type in 'unsigned int' 'unsigned long int' \
16280	'unsigned long long int'; do
16281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16282/* end confdefs.h.  */
16283$ac_includes_default
16284int
16285main ()
16286{
16287static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16288test_array [0] = 0;
16289return test_array [0];
16290
16291  ;
16292  return 0;
16293}
16294_ACEOF
16295if ac_fn_c_try_compile "$LINENO"; then :
16296
16297cat >>confdefs.h <<_ACEOF
16298#define uintptr_t $ac_type
16299_ACEOF
16300
16301	  ac_type=
16302fi
16303rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16304       test -z "$ac_type" && break
16305     done
16306fi
16307
16308
16309ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16310if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
16311
16312cat >>confdefs.h <<_ACEOF
16313#define HAVE_PTRDIFF_T 1
16314_ACEOF
16315
16316
16317fi
16318
16319
16320# check header files (we assume C89 is available, so don't check for that)
16321
16322
16323
16324  for ac_header in $ac_header_list
16325do :
16326  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16327ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16328"
16329if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16330  cat >>confdefs.h <<_ACEOF
16331#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16332_ACEOF
16333
16334fi
16335
16336done
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
16377
16378acx_cv_header_stdint=stddef.h
16379acx_cv_header_stdint_kind="(already complete)"
16380for i in stdint.h $inttype_headers; do
16381  unset ac_cv_type_uintptr_t
16382  unset ac_cv_type_uintmax_t
16383  unset ac_cv_type_int_least32_t
16384  unset ac_cv_type_int_fast32_t
16385  unset ac_cv_type_uint64_t
16386  $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16387  ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16388#include <$i>
16389"
16390if test "x$ac_cv_type_uintmax_t" = xyes; then :
16391  acx_cv_header_stdint=$i
16392else
16393  continue
16394fi
16395
16396  ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16397#include <$i>
16398"
16399if test "x$ac_cv_type_uintptr_t" = xyes; then :
16400
16401else
16402  acx_cv_header_stdint_kind="(mostly complete)"
16403fi
16404
16405  ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16406#include <$i>
16407"
16408if test "x$ac_cv_type_int_least32_t" = xyes; then :
16409
16410else
16411  acx_cv_header_stdint_kind="(mostly complete)"
16412fi
16413
16414  ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16415#include <$i>
16416"
16417if test "x$ac_cv_type_int_fast32_t" = xyes; then :
16418
16419else
16420  acx_cv_header_stdint_kind="(mostly complete)"
16421fi
16422
16423  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16424#include <$i>
16425"
16426if test "x$ac_cv_type_uint64_t" = xyes; then :
16427
16428else
16429  acx_cv_header_stdint_kind="(lacks uint64_t)"
16430fi
16431
16432  break
16433done
16434if test "$acx_cv_header_stdint" = stddef.h; then
16435  acx_cv_header_stdint_kind="(lacks uintmax_t)"
16436  for i in stdint.h $inttype_headers; do
16437    unset ac_cv_type_uintptr_t
16438    unset ac_cv_type_uint32_t
16439    unset ac_cv_type_uint64_t
16440    $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16441    ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16442#include <$i>
16443"
16444if test "x$ac_cv_type_uint32_t" = xyes; then :
16445  acx_cv_header_stdint=$i
16446else
16447  continue
16448fi
16449
16450    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16451#include <$i>
16452"
16453if test "x$ac_cv_type_uint64_t" = xyes; then :
16454
16455fi
16456
16457    ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16458#include <$i>
16459"
16460if test "x$ac_cv_type_uintptr_t" = xyes; then :
16461
16462fi
16463
16464    break
16465  done
16466fi
16467if test "$acx_cv_header_stdint" = stddef.h; then
16468  acx_cv_header_stdint_kind="(u_intXX_t style)"
16469  for i in sys/types.h $inttype_headers; do
16470    unset ac_cv_type_u_int32_t
16471    unset ac_cv_type_u_int64_t
16472    $as_echo_n "looking for u_intXX_t types in $i, " >&6
16473    ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16474#include <$i>
16475"
16476if test "x$ac_cv_type_u_int32_t" = xyes; then :
16477  acx_cv_header_stdint=$i
16478else
16479  continue
16480fi
16481
16482    ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16483#include <$i>
16484"
16485if test "x$ac_cv_type_u_int64_t" = xyes; then :
16486
16487fi
16488
16489    break
16490  done
16491fi
16492if test "$acx_cv_header_stdint" = stddef.h; then
16493  acx_cv_header_stdint_kind="(using manual detection)"
16494fi
16495
16496test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16497test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16498test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16499test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16500test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16501
16502# ----------------- Summarize what we found so far
16503
16504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16505$as_echo_n "checking what to include in gstdint.h... " >&6; }
16506
16507case `$as_basename -- gstdint.h ||
16508$as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16509	 Xgstdint.h : 'X\(//\)$' \| \
16510	 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16511$as_echo X/gstdint.h |
16512    sed '/^.*\/\([^/][^/]*\)\/*$/{
16513	    s//\1/
16514	    q
16515	  }
16516	  /^X\/\(\/\/\)$/{
16517	    s//\1/
16518	    q
16519	  }
16520	  /^X\/\(\/\).*/{
16521	    s//\1/
16522	    q
16523	  }
16524	  s/.*/./; q'` in
16525  stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16526$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16527  inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16528$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16529  *) ;;
16530esac
16531
16532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16533$as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16534
16535# ----------------- done included file, check C basic types --------
16536
16537# Lacking an uintptr_t?  Test size of void *
16538case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16539  stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16540# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16541# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16542# This bug is HP SR number 8606223364.
16543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16544$as_echo_n "checking size of void *... " >&6; }
16545if ${ac_cv_sizeof_void_p+:} false; then :
16546  $as_echo_n "(cached) " >&6
16547else
16548  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
16549
16550else
16551  if test "$ac_cv_type_void_p" = yes; then
16552     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16553$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16554as_fn_error 77 "cannot compute sizeof (void *)
16555See \`config.log' for more details" "$LINENO" 5; }
16556   else
16557     ac_cv_sizeof_void_p=0
16558   fi
16559fi
16560
16561fi
16562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16563$as_echo "$ac_cv_sizeof_void_p" >&6; }
16564
16565
16566
16567cat >>confdefs.h <<_ACEOF
16568#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16569_ACEOF
16570
16571 ;;
16572esac
16573
16574# Lacking an uint64_t?  Test size of long
16575case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16576  stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16577# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16578# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16579# This bug is HP SR number 8606223364.
16580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16581$as_echo_n "checking size of long... " >&6; }
16582if ${ac_cv_sizeof_long+:} false; then :
16583  $as_echo_n "(cached) " >&6
16584else
16585  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
16586
16587else
16588  if test "$ac_cv_type_long" = yes; then
16589     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16590$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16591as_fn_error 77 "cannot compute sizeof (long)
16592See \`config.log' for more details" "$LINENO" 5; }
16593   else
16594     ac_cv_sizeof_long=0
16595   fi
16596fi
16597
16598fi
16599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16600$as_echo "$ac_cv_sizeof_long" >&6; }
16601
16602
16603
16604cat >>confdefs.h <<_ACEOF
16605#define SIZEOF_LONG $ac_cv_sizeof_long
16606_ACEOF
16607
16608 ;;
16609esac
16610
16611if test $acx_cv_header_stdint = stddef.h; then
16612  # Lacking a good header?  Test size of everything and deduce all types.
16613  # The cast to long int works around a bug in the HP C Compiler
16614# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16615# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16616# This bug is HP SR number 8606223364.
16617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16618$as_echo_n "checking size of int... " >&6; }
16619if ${ac_cv_sizeof_int+:} false; then :
16620  $as_echo_n "(cached) " >&6
16621else
16622  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
16623
16624else
16625  if test "$ac_cv_type_int" = yes; then
16626     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16627$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16628as_fn_error 77 "cannot compute sizeof (int)
16629See \`config.log' for more details" "$LINENO" 5; }
16630   else
16631     ac_cv_sizeof_int=0
16632   fi
16633fi
16634
16635fi
16636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16637$as_echo "$ac_cv_sizeof_int" >&6; }
16638
16639
16640
16641cat >>confdefs.h <<_ACEOF
16642#define SIZEOF_INT $ac_cv_sizeof_int
16643_ACEOF
16644
16645
16646  # The cast to long int works around a bug in the HP C Compiler
16647# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16648# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16649# This bug is HP SR number 8606223364.
16650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16651$as_echo_n "checking size of short... " >&6; }
16652if ${ac_cv_sizeof_short+:} false; then :
16653  $as_echo_n "(cached) " >&6
16654else
16655  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
16656
16657else
16658  if test "$ac_cv_type_short" = yes; then
16659     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16660$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16661as_fn_error 77 "cannot compute sizeof (short)
16662See \`config.log' for more details" "$LINENO" 5; }
16663   else
16664     ac_cv_sizeof_short=0
16665   fi
16666fi
16667
16668fi
16669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16670$as_echo "$ac_cv_sizeof_short" >&6; }
16671
16672
16673
16674cat >>confdefs.h <<_ACEOF
16675#define SIZEOF_SHORT $ac_cv_sizeof_short
16676_ACEOF
16677
16678
16679  # The cast to long int works around a bug in the HP C Compiler
16680# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16681# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16682# This bug is HP SR number 8606223364.
16683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16684$as_echo_n "checking size of char... " >&6; }
16685if ${ac_cv_sizeof_char+:} false; then :
16686  $as_echo_n "(cached) " >&6
16687else
16688  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
16689
16690else
16691  if test "$ac_cv_type_char" = yes; then
16692     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16693$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16694as_fn_error 77 "cannot compute sizeof (char)
16695See \`config.log' for more details" "$LINENO" 5; }
16696   else
16697     ac_cv_sizeof_char=0
16698   fi
16699fi
16700
16701fi
16702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16703$as_echo "$ac_cv_sizeof_char" >&6; }
16704
16705
16706
16707cat >>confdefs.h <<_ACEOF
16708#define SIZEOF_CHAR $ac_cv_sizeof_char
16709_ACEOF
16710
16711
16712
16713  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16714$as_echo_n "checking for type equivalent to int8_t... " >&6; }
16715  case "$ac_cv_sizeof_char" in
16716    1) acx_cv_type_int8_t=char ;;
16717    *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
16718  esac
16719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16720$as_echo "$acx_cv_type_int8_t" >&6; }
16721
16722  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16723$as_echo_n "checking for type equivalent to int16_t... " >&6; }
16724  case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16725    2:*) acx_cv_type_int16_t=int ;;
16726    *:2) acx_cv_type_int16_t=short ;;
16727    *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
16728  esac
16729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16730$as_echo "$acx_cv_type_int16_t" >&6; }
16731
16732  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16733$as_echo_n "checking for type equivalent to int32_t... " >&6; }
16734  case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16735    4:*) acx_cv_type_int32_t=int ;;
16736    *:4) acx_cv_type_int32_t=long ;;
16737    *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
16738  esac
16739  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16740$as_echo "$acx_cv_type_int32_t" >&6; }
16741fi
16742
16743# These tests are here to make the output prettier
16744
16745if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16746  case "$ac_cv_sizeof_long" in
16747    8) acx_cv_type_int64_t=long ;;
16748  esac
16749  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16750$as_echo_n "checking for type equivalent to int64_t... " >&6; }
16751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16752$as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16753fi
16754
16755# Now we can use the above types
16756
16757if test "$ac_cv_type_uintptr_t" != yes; then
16758  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16759$as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16760  case $ac_cv_sizeof_void_p in
16761    2) acx_cv_type_intptr_t=int16_t ;;
16762    4) acx_cv_type_intptr_t=int32_t ;;
16763    8) acx_cv_type_intptr_t=int64_t ;;
16764    *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16765  esac
16766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16767$as_echo "$acx_cv_type_intptr_t" >&6; }
16768fi
16769
16770# ----------------- done all checks, emit header -------------
16771ac_config_commands="$ac_config_commands gstdint.h"
16772
16773
16774
16775
16776ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16777if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then :
16778
16779cat >>confdefs.h <<_ACEOF
16780#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16781_ACEOF
16782
16783
16784fi
16785ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16786if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16787
16788cat >>confdefs.h <<_ACEOF
16789#define HAVE_STRUCT_STAT_ST_BLOCKS 1
16790_ACEOF
16791
16792
16793fi
16794ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16795if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
16796
16797cat >>confdefs.h <<_ACEOF
16798#define HAVE_STRUCT_STAT_ST_RDEV 1
16799_ACEOF
16800
16801
16802fi
16803
16804
16805case "${host}--x${with_newlib}" in
16806  mips*--xyes)
16807    hardwire_newlib=1;;
16808  nvptx*--xyes)
16809    hardwire_newlib=1;;
16810esac
16811
16812# Check for library functions.
16813if test "${hardwire_newlib:-0}" -eq 1; then
16814   # We are being configured with a cross compiler.  AC_REPLACE_FUNCS
16815   # may not work correctly, because the compiler may not be able to
16816   # link executables.
16817
16818$as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16819
16820
16821$as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16822
16823
16824$as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16825
16826
16827$as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16828
16829
16830$as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16831
16832
16833$as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16834
16835
16836$as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16837
16838
16839$as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16840
16841
16842   # At some point, we should differentiate between architectures
16843   # like x86, which have long double versions, and alpha/powerpc/etc.,
16844   # which don't. For the time being, punt.
16845   if test x"long_double_math_on_this_cpu" = x"yes"; then
16846
16847$as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16848
16849   fi
16850else
16851
16852
16853
16854  for ac_func in $ac_func_list
16855do :
16856  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16857ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16858if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16859  cat >>confdefs.h <<_ACEOF
16860#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16861_ACEOF
16862
16863fi
16864done
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
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
16975fi
16976
16977# Check strerror_r, cannot be above as versions with two and three arguments exist
16978
16979    ac_save_CFLAGS="$CFLAGS"
16980  CFLAGS="-Wimplicit-function-declaration -Werror"
16981  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16982/* end confdefs.h.  */
16983#define _GNU_SOURCE 1
16984	     	  #include <string.h>
16985		  #include <locale.h>
16986int
16987main ()
16988{
16989char s[128]; strerror_r(5, s, 128);
16990  ;
16991  return 0;
16992}
16993_ACEOF
16994if ac_fn_c_try_compile "$LINENO"; then :
16995
16996$as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16997
16998fi
16999rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17000  CFLAGS="$ac_save_CFLAGS"
17001
17002    ac_save_CFLAGS="$CFLAGS"
17003  CFLAGS="-Wimplicit-function-declaration -Werror"
17004  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17005/* end confdefs.h.  */
17006#define _GNU_SOURCE 1
17007	     	  #include <string.h>
17008		  #include <locale.h>
17009int
17010main ()
17011{
17012char s[128]; strerror_r(5, s);
17013  ;
17014  return 0;
17015}
17016_ACEOF
17017if ac_fn_c_try_compile "$LINENO"; then :
17018
17019$as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17020
17021fi
17022rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17023  CFLAGS="$ac_save_CFLAGS"
17024
17025
17026# Check for C99 (and other IEEE) math functions
17027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17028$as_echo_n "checking for sin in -lm... " >&6; }
17029if ${ac_cv_lib_m_sin+:} false; then :
17030  $as_echo_n "(cached) " >&6
17031else
17032  ac_check_lib_save_LIBS=$LIBS
17033LIBS="-lm  $LIBS"
17034if test x$gcc_no_link = xyes; then
17035  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17036fi
17037cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038/* end confdefs.h.  */
17039
17040/* Override any GCC internal prototype to avoid an error.
17041   Use char because int might match the return type of a GCC
17042   builtin and then its argument prototype would still apply.  */
17043#ifdef __cplusplus
17044extern "C"
17045#endif
17046char sin ();
17047int
17048main ()
17049{
17050return sin ();
17051  ;
17052  return 0;
17053}
17054_ACEOF
17055if ac_fn_c_try_link "$LINENO"; then :
17056  ac_cv_lib_m_sin=yes
17057else
17058  ac_cv_lib_m_sin=no
17059fi
17060rm -f core conftest.err conftest.$ac_objext \
17061    conftest$ac_exeext conftest.$ac_ext
17062LIBS=$ac_check_lib_save_LIBS
17063fi
17064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17065$as_echo "$ac_cv_lib_m_sin" >&6; }
17066if test "x$ac_cv_lib_m_sin" = xyes; then :
17067  cat >>confdefs.h <<_ACEOF
17068#define HAVE_LIBM 1
17069_ACEOF
17070
17071  LIBS="-lm $LIBS"
17072
17073fi
17074
17075
17076
17077
17078
17079
17080
17081  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17082$as_echo_n "checking for acosf... " >&6; }
17083if ${gcc_cv_math_func_acosf+:} false; then :
17084  $as_echo_n "(cached) " >&6
17085else
17086  if test x$gcc_no_link = xyes; then
17087  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17088fi
17089cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17090/* end confdefs.h.  */
17091
17092#ifdef HAVE_COMPLEX_H
17093#include <complex.h>
17094#endif
17095#ifdef HAVE_MATH_H
17096#include <math.h>
17097#endif
17098
17099int (*ptr)() = (int (*)())acosf;
17100
17101int
17102main ()
17103{
17104  return 0;
17105}
17106
17107_ACEOF
17108if ac_fn_c_try_link "$LINENO"; then :
17109  gcc_cv_math_func_acosf=yes
17110else
17111  gcc_cv_math_func_acosf=no
17112fi
17113rm -f core conftest.err conftest.$ac_objext \
17114    conftest$ac_exeext conftest.$ac_ext
17115fi
17116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17117$as_echo "$gcc_cv_math_func_acosf" >&6; }
17118  if test $gcc_cv_math_func_acosf = yes; then
17119
17120cat >>confdefs.h <<_ACEOF
17121#define HAVE_ACOSF 1
17122_ACEOF
17123
17124  fi
17125
17126
17127
17128
17129  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17130$as_echo_n "checking for acos... " >&6; }
17131if ${gcc_cv_math_func_acos+:} false; then :
17132  $as_echo_n "(cached) " >&6
17133else
17134  if test x$gcc_no_link = xyes; then
17135  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17136fi
17137cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17138/* end confdefs.h.  */
17139
17140#ifdef HAVE_COMPLEX_H
17141#include <complex.h>
17142#endif
17143#ifdef HAVE_MATH_H
17144#include <math.h>
17145#endif
17146
17147int (*ptr)() = (int (*)())acos;
17148
17149int
17150main ()
17151{
17152  return 0;
17153}
17154
17155_ACEOF
17156if ac_fn_c_try_link "$LINENO"; then :
17157  gcc_cv_math_func_acos=yes
17158else
17159  gcc_cv_math_func_acos=no
17160fi
17161rm -f core conftest.err conftest.$ac_objext \
17162    conftest$ac_exeext conftest.$ac_ext
17163fi
17164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17165$as_echo "$gcc_cv_math_func_acos" >&6; }
17166  if test $gcc_cv_math_func_acos = yes; then
17167
17168cat >>confdefs.h <<_ACEOF
17169#define HAVE_ACOS 1
17170_ACEOF
17171
17172  fi
17173
17174
17175
17176
17177  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17178$as_echo_n "checking for acosl... " >&6; }
17179if ${gcc_cv_math_func_acosl+:} false; then :
17180  $as_echo_n "(cached) " >&6
17181else
17182  if test x$gcc_no_link = xyes; then
17183  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17184fi
17185cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17186/* end confdefs.h.  */
17187
17188#ifdef HAVE_COMPLEX_H
17189#include <complex.h>
17190#endif
17191#ifdef HAVE_MATH_H
17192#include <math.h>
17193#endif
17194
17195int (*ptr)() = (int (*)())acosl;
17196
17197int
17198main ()
17199{
17200  return 0;
17201}
17202
17203_ACEOF
17204if ac_fn_c_try_link "$LINENO"; then :
17205  gcc_cv_math_func_acosl=yes
17206else
17207  gcc_cv_math_func_acosl=no
17208fi
17209rm -f core conftest.err conftest.$ac_objext \
17210    conftest$ac_exeext conftest.$ac_ext
17211fi
17212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17213$as_echo "$gcc_cv_math_func_acosl" >&6; }
17214  if test $gcc_cv_math_func_acosl = yes; then
17215
17216cat >>confdefs.h <<_ACEOF
17217#define HAVE_ACOSL 1
17218_ACEOF
17219
17220  fi
17221
17222
17223
17224
17225  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17226$as_echo_n "checking for acoshf... " >&6; }
17227if ${gcc_cv_math_func_acoshf+:} false; then :
17228  $as_echo_n "(cached) " >&6
17229else
17230  if test x$gcc_no_link = xyes; then
17231  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17232fi
17233cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234/* end confdefs.h.  */
17235
17236#ifdef HAVE_COMPLEX_H
17237#include <complex.h>
17238#endif
17239#ifdef HAVE_MATH_H
17240#include <math.h>
17241#endif
17242
17243int (*ptr)() = (int (*)())acoshf;
17244
17245int
17246main ()
17247{
17248  return 0;
17249}
17250
17251_ACEOF
17252if ac_fn_c_try_link "$LINENO"; then :
17253  gcc_cv_math_func_acoshf=yes
17254else
17255  gcc_cv_math_func_acoshf=no
17256fi
17257rm -f core conftest.err conftest.$ac_objext \
17258    conftest$ac_exeext conftest.$ac_ext
17259fi
17260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17261$as_echo "$gcc_cv_math_func_acoshf" >&6; }
17262  if test $gcc_cv_math_func_acoshf = yes; then
17263
17264cat >>confdefs.h <<_ACEOF
17265#define HAVE_ACOSHF 1
17266_ACEOF
17267
17268  fi
17269
17270
17271
17272
17273  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17274$as_echo_n "checking for acosh... " >&6; }
17275if ${gcc_cv_math_func_acosh+:} false; then :
17276  $as_echo_n "(cached) " >&6
17277else
17278  if test x$gcc_no_link = xyes; then
17279  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17280fi
17281cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17282/* end confdefs.h.  */
17283
17284#ifdef HAVE_COMPLEX_H
17285#include <complex.h>
17286#endif
17287#ifdef HAVE_MATH_H
17288#include <math.h>
17289#endif
17290
17291int (*ptr)() = (int (*)())acosh;
17292
17293int
17294main ()
17295{
17296  return 0;
17297}
17298
17299_ACEOF
17300if ac_fn_c_try_link "$LINENO"; then :
17301  gcc_cv_math_func_acosh=yes
17302else
17303  gcc_cv_math_func_acosh=no
17304fi
17305rm -f core conftest.err conftest.$ac_objext \
17306    conftest$ac_exeext conftest.$ac_ext
17307fi
17308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17309$as_echo "$gcc_cv_math_func_acosh" >&6; }
17310  if test $gcc_cv_math_func_acosh = yes; then
17311
17312cat >>confdefs.h <<_ACEOF
17313#define HAVE_ACOSH 1
17314_ACEOF
17315
17316  fi
17317
17318
17319
17320
17321  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17322$as_echo_n "checking for acoshl... " >&6; }
17323if ${gcc_cv_math_func_acoshl+:} false; then :
17324  $as_echo_n "(cached) " >&6
17325else
17326  if test x$gcc_no_link = xyes; then
17327  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17328fi
17329cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17330/* end confdefs.h.  */
17331
17332#ifdef HAVE_COMPLEX_H
17333#include <complex.h>
17334#endif
17335#ifdef HAVE_MATH_H
17336#include <math.h>
17337#endif
17338
17339int (*ptr)() = (int (*)())acoshl;
17340
17341int
17342main ()
17343{
17344  return 0;
17345}
17346
17347_ACEOF
17348if ac_fn_c_try_link "$LINENO"; then :
17349  gcc_cv_math_func_acoshl=yes
17350else
17351  gcc_cv_math_func_acoshl=no
17352fi
17353rm -f core conftest.err conftest.$ac_objext \
17354    conftest$ac_exeext conftest.$ac_ext
17355fi
17356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17357$as_echo "$gcc_cv_math_func_acoshl" >&6; }
17358  if test $gcc_cv_math_func_acoshl = yes; then
17359
17360cat >>confdefs.h <<_ACEOF
17361#define HAVE_ACOSHL 1
17362_ACEOF
17363
17364  fi
17365
17366
17367
17368
17369  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17370$as_echo_n "checking for asinf... " >&6; }
17371if ${gcc_cv_math_func_asinf+:} false; then :
17372  $as_echo_n "(cached) " >&6
17373else
17374  if test x$gcc_no_link = xyes; then
17375  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17376fi
17377cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17378/* end confdefs.h.  */
17379
17380#ifdef HAVE_COMPLEX_H
17381#include <complex.h>
17382#endif
17383#ifdef HAVE_MATH_H
17384#include <math.h>
17385#endif
17386
17387int (*ptr)() = (int (*)())asinf;
17388
17389int
17390main ()
17391{
17392  return 0;
17393}
17394
17395_ACEOF
17396if ac_fn_c_try_link "$LINENO"; then :
17397  gcc_cv_math_func_asinf=yes
17398else
17399  gcc_cv_math_func_asinf=no
17400fi
17401rm -f core conftest.err conftest.$ac_objext \
17402    conftest$ac_exeext conftest.$ac_ext
17403fi
17404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17405$as_echo "$gcc_cv_math_func_asinf" >&6; }
17406  if test $gcc_cv_math_func_asinf = yes; then
17407
17408cat >>confdefs.h <<_ACEOF
17409#define HAVE_ASINF 1
17410_ACEOF
17411
17412  fi
17413
17414
17415
17416
17417  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17418$as_echo_n "checking for asin... " >&6; }
17419if ${gcc_cv_math_func_asin+:} false; then :
17420  $as_echo_n "(cached) " >&6
17421else
17422  if test x$gcc_no_link = xyes; then
17423  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17424fi
17425cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17426/* end confdefs.h.  */
17427
17428#ifdef HAVE_COMPLEX_H
17429#include <complex.h>
17430#endif
17431#ifdef HAVE_MATH_H
17432#include <math.h>
17433#endif
17434
17435int (*ptr)() = (int (*)())asin;
17436
17437int
17438main ()
17439{
17440  return 0;
17441}
17442
17443_ACEOF
17444if ac_fn_c_try_link "$LINENO"; then :
17445  gcc_cv_math_func_asin=yes
17446else
17447  gcc_cv_math_func_asin=no
17448fi
17449rm -f core conftest.err conftest.$ac_objext \
17450    conftest$ac_exeext conftest.$ac_ext
17451fi
17452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17453$as_echo "$gcc_cv_math_func_asin" >&6; }
17454  if test $gcc_cv_math_func_asin = yes; then
17455
17456cat >>confdefs.h <<_ACEOF
17457#define HAVE_ASIN 1
17458_ACEOF
17459
17460  fi
17461
17462
17463
17464
17465  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17466$as_echo_n "checking for asinl... " >&6; }
17467if ${gcc_cv_math_func_asinl+:} false; then :
17468  $as_echo_n "(cached) " >&6
17469else
17470  if test x$gcc_no_link = xyes; then
17471  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17472fi
17473cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17474/* end confdefs.h.  */
17475
17476#ifdef HAVE_COMPLEX_H
17477#include <complex.h>
17478#endif
17479#ifdef HAVE_MATH_H
17480#include <math.h>
17481#endif
17482
17483int (*ptr)() = (int (*)())asinl;
17484
17485int
17486main ()
17487{
17488  return 0;
17489}
17490
17491_ACEOF
17492if ac_fn_c_try_link "$LINENO"; then :
17493  gcc_cv_math_func_asinl=yes
17494else
17495  gcc_cv_math_func_asinl=no
17496fi
17497rm -f core conftest.err conftest.$ac_objext \
17498    conftest$ac_exeext conftest.$ac_ext
17499fi
17500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17501$as_echo "$gcc_cv_math_func_asinl" >&6; }
17502  if test $gcc_cv_math_func_asinl = yes; then
17503
17504cat >>confdefs.h <<_ACEOF
17505#define HAVE_ASINL 1
17506_ACEOF
17507
17508  fi
17509
17510
17511
17512
17513  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17514$as_echo_n "checking for asinhf... " >&6; }
17515if ${gcc_cv_math_func_asinhf+:} false; then :
17516  $as_echo_n "(cached) " >&6
17517else
17518  if test x$gcc_no_link = xyes; then
17519  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17520fi
17521cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17522/* end confdefs.h.  */
17523
17524#ifdef HAVE_COMPLEX_H
17525#include <complex.h>
17526#endif
17527#ifdef HAVE_MATH_H
17528#include <math.h>
17529#endif
17530
17531int (*ptr)() = (int (*)())asinhf;
17532
17533int
17534main ()
17535{
17536  return 0;
17537}
17538
17539_ACEOF
17540if ac_fn_c_try_link "$LINENO"; then :
17541  gcc_cv_math_func_asinhf=yes
17542else
17543  gcc_cv_math_func_asinhf=no
17544fi
17545rm -f core conftest.err conftest.$ac_objext \
17546    conftest$ac_exeext conftest.$ac_ext
17547fi
17548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17549$as_echo "$gcc_cv_math_func_asinhf" >&6; }
17550  if test $gcc_cv_math_func_asinhf = yes; then
17551
17552cat >>confdefs.h <<_ACEOF
17553#define HAVE_ASINHF 1
17554_ACEOF
17555
17556  fi
17557
17558
17559
17560
17561  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17562$as_echo_n "checking for asinh... " >&6; }
17563if ${gcc_cv_math_func_asinh+:} false; then :
17564  $as_echo_n "(cached) " >&6
17565else
17566  if test x$gcc_no_link = xyes; then
17567  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17568fi
17569cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17570/* end confdefs.h.  */
17571
17572#ifdef HAVE_COMPLEX_H
17573#include <complex.h>
17574#endif
17575#ifdef HAVE_MATH_H
17576#include <math.h>
17577#endif
17578
17579int (*ptr)() = (int (*)())asinh;
17580
17581int
17582main ()
17583{
17584  return 0;
17585}
17586
17587_ACEOF
17588if ac_fn_c_try_link "$LINENO"; then :
17589  gcc_cv_math_func_asinh=yes
17590else
17591  gcc_cv_math_func_asinh=no
17592fi
17593rm -f core conftest.err conftest.$ac_objext \
17594    conftest$ac_exeext conftest.$ac_ext
17595fi
17596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17597$as_echo "$gcc_cv_math_func_asinh" >&6; }
17598  if test $gcc_cv_math_func_asinh = yes; then
17599
17600cat >>confdefs.h <<_ACEOF
17601#define HAVE_ASINH 1
17602_ACEOF
17603
17604  fi
17605
17606
17607
17608
17609  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17610$as_echo_n "checking for asinhl... " >&6; }
17611if ${gcc_cv_math_func_asinhl+:} false; then :
17612  $as_echo_n "(cached) " >&6
17613else
17614  if test x$gcc_no_link = xyes; then
17615  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17616fi
17617cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17618/* end confdefs.h.  */
17619
17620#ifdef HAVE_COMPLEX_H
17621#include <complex.h>
17622#endif
17623#ifdef HAVE_MATH_H
17624#include <math.h>
17625#endif
17626
17627int (*ptr)() = (int (*)())asinhl;
17628
17629int
17630main ()
17631{
17632  return 0;
17633}
17634
17635_ACEOF
17636if ac_fn_c_try_link "$LINENO"; then :
17637  gcc_cv_math_func_asinhl=yes
17638else
17639  gcc_cv_math_func_asinhl=no
17640fi
17641rm -f core conftest.err conftest.$ac_objext \
17642    conftest$ac_exeext conftest.$ac_ext
17643fi
17644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17645$as_echo "$gcc_cv_math_func_asinhl" >&6; }
17646  if test $gcc_cv_math_func_asinhl = yes; then
17647
17648cat >>confdefs.h <<_ACEOF
17649#define HAVE_ASINHL 1
17650_ACEOF
17651
17652  fi
17653
17654
17655
17656
17657  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17658$as_echo_n "checking for atan2f... " >&6; }
17659if ${gcc_cv_math_func_atan2f+:} false; then :
17660  $as_echo_n "(cached) " >&6
17661else
17662  if test x$gcc_no_link = xyes; then
17663  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17664fi
17665cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17666/* end confdefs.h.  */
17667
17668#ifdef HAVE_COMPLEX_H
17669#include <complex.h>
17670#endif
17671#ifdef HAVE_MATH_H
17672#include <math.h>
17673#endif
17674
17675int (*ptr)() = (int (*)())atan2f;
17676
17677int
17678main ()
17679{
17680  return 0;
17681}
17682
17683_ACEOF
17684if ac_fn_c_try_link "$LINENO"; then :
17685  gcc_cv_math_func_atan2f=yes
17686else
17687  gcc_cv_math_func_atan2f=no
17688fi
17689rm -f core conftest.err conftest.$ac_objext \
17690    conftest$ac_exeext conftest.$ac_ext
17691fi
17692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17693$as_echo "$gcc_cv_math_func_atan2f" >&6; }
17694  if test $gcc_cv_math_func_atan2f = yes; then
17695
17696cat >>confdefs.h <<_ACEOF
17697#define HAVE_ATAN2F 1
17698_ACEOF
17699
17700  fi
17701
17702
17703
17704
17705  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17706$as_echo_n "checking for atan2... " >&6; }
17707if ${gcc_cv_math_func_atan2+:} false; then :
17708  $as_echo_n "(cached) " >&6
17709else
17710  if test x$gcc_no_link = xyes; then
17711  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17712fi
17713cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17714/* end confdefs.h.  */
17715
17716#ifdef HAVE_COMPLEX_H
17717#include <complex.h>
17718#endif
17719#ifdef HAVE_MATH_H
17720#include <math.h>
17721#endif
17722
17723int (*ptr)() = (int (*)())atan2;
17724
17725int
17726main ()
17727{
17728  return 0;
17729}
17730
17731_ACEOF
17732if ac_fn_c_try_link "$LINENO"; then :
17733  gcc_cv_math_func_atan2=yes
17734else
17735  gcc_cv_math_func_atan2=no
17736fi
17737rm -f core conftest.err conftest.$ac_objext \
17738    conftest$ac_exeext conftest.$ac_ext
17739fi
17740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17741$as_echo "$gcc_cv_math_func_atan2" >&6; }
17742  if test $gcc_cv_math_func_atan2 = yes; then
17743
17744cat >>confdefs.h <<_ACEOF
17745#define HAVE_ATAN2 1
17746_ACEOF
17747
17748  fi
17749
17750
17751
17752
17753  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17754$as_echo_n "checking for atan2l... " >&6; }
17755if ${gcc_cv_math_func_atan2l+:} false; then :
17756  $as_echo_n "(cached) " >&6
17757else
17758  if test x$gcc_no_link = xyes; then
17759  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17760fi
17761cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17762/* end confdefs.h.  */
17763
17764#ifdef HAVE_COMPLEX_H
17765#include <complex.h>
17766#endif
17767#ifdef HAVE_MATH_H
17768#include <math.h>
17769#endif
17770
17771int (*ptr)() = (int (*)())atan2l;
17772
17773int
17774main ()
17775{
17776  return 0;
17777}
17778
17779_ACEOF
17780if ac_fn_c_try_link "$LINENO"; then :
17781  gcc_cv_math_func_atan2l=yes
17782else
17783  gcc_cv_math_func_atan2l=no
17784fi
17785rm -f core conftest.err conftest.$ac_objext \
17786    conftest$ac_exeext conftest.$ac_ext
17787fi
17788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17789$as_echo "$gcc_cv_math_func_atan2l" >&6; }
17790  if test $gcc_cv_math_func_atan2l = yes; then
17791
17792cat >>confdefs.h <<_ACEOF
17793#define HAVE_ATAN2L 1
17794_ACEOF
17795
17796  fi
17797
17798
17799
17800
17801  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17802$as_echo_n "checking for atanf... " >&6; }
17803if ${gcc_cv_math_func_atanf+:} false; then :
17804  $as_echo_n "(cached) " >&6
17805else
17806  if test x$gcc_no_link = xyes; then
17807  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17808fi
17809cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17810/* end confdefs.h.  */
17811
17812#ifdef HAVE_COMPLEX_H
17813#include <complex.h>
17814#endif
17815#ifdef HAVE_MATH_H
17816#include <math.h>
17817#endif
17818
17819int (*ptr)() = (int (*)())atanf;
17820
17821int
17822main ()
17823{
17824  return 0;
17825}
17826
17827_ACEOF
17828if ac_fn_c_try_link "$LINENO"; then :
17829  gcc_cv_math_func_atanf=yes
17830else
17831  gcc_cv_math_func_atanf=no
17832fi
17833rm -f core conftest.err conftest.$ac_objext \
17834    conftest$ac_exeext conftest.$ac_ext
17835fi
17836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17837$as_echo "$gcc_cv_math_func_atanf" >&6; }
17838  if test $gcc_cv_math_func_atanf = yes; then
17839
17840cat >>confdefs.h <<_ACEOF
17841#define HAVE_ATANF 1
17842_ACEOF
17843
17844  fi
17845
17846
17847
17848
17849  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17850$as_echo_n "checking for atan... " >&6; }
17851if ${gcc_cv_math_func_atan+:} false; then :
17852  $as_echo_n "(cached) " >&6
17853else
17854  if test x$gcc_no_link = xyes; then
17855  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17856fi
17857cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17858/* end confdefs.h.  */
17859
17860#ifdef HAVE_COMPLEX_H
17861#include <complex.h>
17862#endif
17863#ifdef HAVE_MATH_H
17864#include <math.h>
17865#endif
17866
17867int (*ptr)() = (int (*)())atan;
17868
17869int
17870main ()
17871{
17872  return 0;
17873}
17874
17875_ACEOF
17876if ac_fn_c_try_link "$LINENO"; then :
17877  gcc_cv_math_func_atan=yes
17878else
17879  gcc_cv_math_func_atan=no
17880fi
17881rm -f core conftest.err conftest.$ac_objext \
17882    conftest$ac_exeext conftest.$ac_ext
17883fi
17884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17885$as_echo "$gcc_cv_math_func_atan" >&6; }
17886  if test $gcc_cv_math_func_atan = yes; then
17887
17888cat >>confdefs.h <<_ACEOF
17889#define HAVE_ATAN 1
17890_ACEOF
17891
17892  fi
17893
17894
17895
17896
17897  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17898$as_echo_n "checking for atanl... " >&6; }
17899if ${gcc_cv_math_func_atanl+:} false; then :
17900  $as_echo_n "(cached) " >&6
17901else
17902  if test x$gcc_no_link = xyes; then
17903  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17904fi
17905cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17906/* end confdefs.h.  */
17907
17908#ifdef HAVE_COMPLEX_H
17909#include <complex.h>
17910#endif
17911#ifdef HAVE_MATH_H
17912#include <math.h>
17913#endif
17914
17915int (*ptr)() = (int (*)())atanl;
17916
17917int
17918main ()
17919{
17920  return 0;
17921}
17922
17923_ACEOF
17924if ac_fn_c_try_link "$LINENO"; then :
17925  gcc_cv_math_func_atanl=yes
17926else
17927  gcc_cv_math_func_atanl=no
17928fi
17929rm -f core conftest.err conftest.$ac_objext \
17930    conftest$ac_exeext conftest.$ac_ext
17931fi
17932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17933$as_echo "$gcc_cv_math_func_atanl" >&6; }
17934  if test $gcc_cv_math_func_atanl = yes; then
17935
17936cat >>confdefs.h <<_ACEOF
17937#define HAVE_ATANL 1
17938_ACEOF
17939
17940  fi
17941
17942
17943
17944
17945  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17946$as_echo_n "checking for atanhf... " >&6; }
17947if ${gcc_cv_math_func_atanhf+:} false; then :
17948  $as_echo_n "(cached) " >&6
17949else
17950  if test x$gcc_no_link = xyes; then
17951  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17952fi
17953cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17954/* end confdefs.h.  */
17955
17956#ifdef HAVE_COMPLEX_H
17957#include <complex.h>
17958#endif
17959#ifdef HAVE_MATH_H
17960#include <math.h>
17961#endif
17962
17963int (*ptr)() = (int (*)())atanhf;
17964
17965int
17966main ()
17967{
17968  return 0;
17969}
17970
17971_ACEOF
17972if ac_fn_c_try_link "$LINENO"; then :
17973  gcc_cv_math_func_atanhf=yes
17974else
17975  gcc_cv_math_func_atanhf=no
17976fi
17977rm -f core conftest.err conftest.$ac_objext \
17978    conftest$ac_exeext conftest.$ac_ext
17979fi
17980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17981$as_echo "$gcc_cv_math_func_atanhf" >&6; }
17982  if test $gcc_cv_math_func_atanhf = yes; then
17983
17984cat >>confdefs.h <<_ACEOF
17985#define HAVE_ATANHF 1
17986_ACEOF
17987
17988  fi
17989
17990
17991
17992
17993  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17994$as_echo_n "checking for atanh... " >&6; }
17995if ${gcc_cv_math_func_atanh+:} false; then :
17996  $as_echo_n "(cached) " >&6
17997else
17998  if test x$gcc_no_link = xyes; then
17999  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18000fi
18001cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18002/* end confdefs.h.  */
18003
18004#ifdef HAVE_COMPLEX_H
18005#include <complex.h>
18006#endif
18007#ifdef HAVE_MATH_H
18008#include <math.h>
18009#endif
18010
18011int (*ptr)() = (int (*)())atanh;
18012
18013int
18014main ()
18015{
18016  return 0;
18017}
18018
18019_ACEOF
18020if ac_fn_c_try_link "$LINENO"; then :
18021  gcc_cv_math_func_atanh=yes
18022else
18023  gcc_cv_math_func_atanh=no
18024fi
18025rm -f core conftest.err conftest.$ac_objext \
18026    conftest$ac_exeext conftest.$ac_ext
18027fi
18028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18029$as_echo "$gcc_cv_math_func_atanh" >&6; }
18030  if test $gcc_cv_math_func_atanh = yes; then
18031
18032cat >>confdefs.h <<_ACEOF
18033#define HAVE_ATANH 1
18034_ACEOF
18035
18036  fi
18037
18038
18039
18040
18041  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18042$as_echo_n "checking for atanhl... " >&6; }
18043if ${gcc_cv_math_func_atanhl+:} false; then :
18044  $as_echo_n "(cached) " >&6
18045else
18046  if test x$gcc_no_link = xyes; then
18047  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18048fi
18049cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18050/* end confdefs.h.  */
18051
18052#ifdef HAVE_COMPLEX_H
18053#include <complex.h>
18054#endif
18055#ifdef HAVE_MATH_H
18056#include <math.h>
18057#endif
18058
18059int (*ptr)() = (int (*)())atanhl;
18060
18061int
18062main ()
18063{
18064  return 0;
18065}
18066
18067_ACEOF
18068if ac_fn_c_try_link "$LINENO"; then :
18069  gcc_cv_math_func_atanhl=yes
18070else
18071  gcc_cv_math_func_atanhl=no
18072fi
18073rm -f core conftest.err conftest.$ac_objext \
18074    conftest$ac_exeext conftest.$ac_ext
18075fi
18076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18077$as_echo "$gcc_cv_math_func_atanhl" >&6; }
18078  if test $gcc_cv_math_func_atanhl = yes; then
18079
18080cat >>confdefs.h <<_ACEOF
18081#define HAVE_ATANHL 1
18082_ACEOF
18083
18084  fi
18085
18086
18087
18088
18089  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18090$as_echo_n "checking for cargf... " >&6; }
18091if ${gcc_cv_math_func_cargf+:} false; then :
18092  $as_echo_n "(cached) " >&6
18093else
18094  if test x$gcc_no_link = xyes; then
18095  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18096fi
18097cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18098/* end confdefs.h.  */
18099
18100#ifdef HAVE_COMPLEX_H
18101#include <complex.h>
18102#endif
18103#ifdef HAVE_MATH_H
18104#include <math.h>
18105#endif
18106
18107int (*ptr)() = (int (*)())cargf;
18108
18109int
18110main ()
18111{
18112  return 0;
18113}
18114
18115_ACEOF
18116if ac_fn_c_try_link "$LINENO"; then :
18117  gcc_cv_math_func_cargf=yes
18118else
18119  gcc_cv_math_func_cargf=no
18120fi
18121rm -f core conftest.err conftest.$ac_objext \
18122    conftest$ac_exeext conftest.$ac_ext
18123fi
18124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18125$as_echo "$gcc_cv_math_func_cargf" >&6; }
18126  if test $gcc_cv_math_func_cargf = yes; then
18127
18128cat >>confdefs.h <<_ACEOF
18129#define HAVE_CARGF 1
18130_ACEOF
18131
18132  fi
18133
18134
18135
18136
18137  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18138$as_echo_n "checking for carg... " >&6; }
18139if ${gcc_cv_math_func_carg+:} false; then :
18140  $as_echo_n "(cached) " >&6
18141else
18142  if test x$gcc_no_link = xyes; then
18143  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18144fi
18145cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18146/* end confdefs.h.  */
18147
18148#ifdef HAVE_COMPLEX_H
18149#include <complex.h>
18150#endif
18151#ifdef HAVE_MATH_H
18152#include <math.h>
18153#endif
18154
18155int (*ptr)() = (int (*)())carg;
18156
18157int
18158main ()
18159{
18160  return 0;
18161}
18162
18163_ACEOF
18164if ac_fn_c_try_link "$LINENO"; then :
18165  gcc_cv_math_func_carg=yes
18166else
18167  gcc_cv_math_func_carg=no
18168fi
18169rm -f core conftest.err conftest.$ac_objext \
18170    conftest$ac_exeext conftest.$ac_ext
18171fi
18172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18173$as_echo "$gcc_cv_math_func_carg" >&6; }
18174  if test $gcc_cv_math_func_carg = yes; then
18175
18176cat >>confdefs.h <<_ACEOF
18177#define HAVE_CARG 1
18178_ACEOF
18179
18180  fi
18181
18182
18183
18184
18185  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18186$as_echo_n "checking for cargl... " >&6; }
18187if ${gcc_cv_math_func_cargl+:} false; then :
18188  $as_echo_n "(cached) " >&6
18189else
18190  if test x$gcc_no_link = xyes; then
18191  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18192fi
18193cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18194/* end confdefs.h.  */
18195
18196#ifdef HAVE_COMPLEX_H
18197#include <complex.h>
18198#endif
18199#ifdef HAVE_MATH_H
18200#include <math.h>
18201#endif
18202
18203int (*ptr)() = (int (*)())cargl;
18204
18205int
18206main ()
18207{
18208  return 0;
18209}
18210
18211_ACEOF
18212if ac_fn_c_try_link "$LINENO"; then :
18213  gcc_cv_math_func_cargl=yes
18214else
18215  gcc_cv_math_func_cargl=no
18216fi
18217rm -f core conftest.err conftest.$ac_objext \
18218    conftest$ac_exeext conftest.$ac_ext
18219fi
18220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18221$as_echo "$gcc_cv_math_func_cargl" >&6; }
18222  if test $gcc_cv_math_func_cargl = yes; then
18223
18224cat >>confdefs.h <<_ACEOF
18225#define HAVE_CARGL 1
18226_ACEOF
18227
18228  fi
18229
18230
18231
18232
18233  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18234$as_echo_n "checking for ceilf... " >&6; }
18235if ${gcc_cv_math_func_ceilf+:} false; then :
18236  $as_echo_n "(cached) " >&6
18237else
18238  if test x$gcc_no_link = xyes; then
18239  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18240fi
18241cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18242/* end confdefs.h.  */
18243
18244#ifdef HAVE_COMPLEX_H
18245#include <complex.h>
18246#endif
18247#ifdef HAVE_MATH_H
18248#include <math.h>
18249#endif
18250
18251int (*ptr)() = (int (*)())ceilf;
18252
18253int
18254main ()
18255{
18256  return 0;
18257}
18258
18259_ACEOF
18260if ac_fn_c_try_link "$LINENO"; then :
18261  gcc_cv_math_func_ceilf=yes
18262else
18263  gcc_cv_math_func_ceilf=no
18264fi
18265rm -f core conftest.err conftest.$ac_objext \
18266    conftest$ac_exeext conftest.$ac_ext
18267fi
18268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18269$as_echo "$gcc_cv_math_func_ceilf" >&6; }
18270  if test $gcc_cv_math_func_ceilf = yes; then
18271
18272cat >>confdefs.h <<_ACEOF
18273#define HAVE_CEILF 1
18274_ACEOF
18275
18276  fi
18277
18278
18279
18280
18281  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18282$as_echo_n "checking for ceil... " >&6; }
18283if ${gcc_cv_math_func_ceil+:} false; then :
18284  $as_echo_n "(cached) " >&6
18285else
18286  if test x$gcc_no_link = xyes; then
18287  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18288fi
18289cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18290/* end confdefs.h.  */
18291
18292#ifdef HAVE_COMPLEX_H
18293#include <complex.h>
18294#endif
18295#ifdef HAVE_MATH_H
18296#include <math.h>
18297#endif
18298
18299int (*ptr)() = (int (*)())ceil;
18300
18301int
18302main ()
18303{
18304  return 0;
18305}
18306
18307_ACEOF
18308if ac_fn_c_try_link "$LINENO"; then :
18309  gcc_cv_math_func_ceil=yes
18310else
18311  gcc_cv_math_func_ceil=no
18312fi
18313rm -f core conftest.err conftest.$ac_objext \
18314    conftest$ac_exeext conftest.$ac_ext
18315fi
18316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18317$as_echo "$gcc_cv_math_func_ceil" >&6; }
18318  if test $gcc_cv_math_func_ceil = yes; then
18319
18320cat >>confdefs.h <<_ACEOF
18321#define HAVE_CEIL 1
18322_ACEOF
18323
18324  fi
18325
18326
18327
18328
18329  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18330$as_echo_n "checking for ceill... " >&6; }
18331if ${gcc_cv_math_func_ceill+:} false; then :
18332  $as_echo_n "(cached) " >&6
18333else
18334  if test x$gcc_no_link = xyes; then
18335  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18336fi
18337cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18338/* end confdefs.h.  */
18339
18340#ifdef HAVE_COMPLEX_H
18341#include <complex.h>
18342#endif
18343#ifdef HAVE_MATH_H
18344#include <math.h>
18345#endif
18346
18347int (*ptr)() = (int (*)())ceill;
18348
18349int
18350main ()
18351{
18352  return 0;
18353}
18354
18355_ACEOF
18356if ac_fn_c_try_link "$LINENO"; then :
18357  gcc_cv_math_func_ceill=yes
18358else
18359  gcc_cv_math_func_ceill=no
18360fi
18361rm -f core conftest.err conftest.$ac_objext \
18362    conftest$ac_exeext conftest.$ac_ext
18363fi
18364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18365$as_echo "$gcc_cv_math_func_ceill" >&6; }
18366  if test $gcc_cv_math_func_ceill = yes; then
18367
18368cat >>confdefs.h <<_ACEOF
18369#define HAVE_CEILL 1
18370_ACEOF
18371
18372  fi
18373
18374
18375
18376
18377  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18378$as_echo_n "checking for copysignf... " >&6; }
18379if ${gcc_cv_math_func_copysignf+:} false; then :
18380  $as_echo_n "(cached) " >&6
18381else
18382  if test x$gcc_no_link = xyes; then
18383  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18384fi
18385cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18386/* end confdefs.h.  */
18387
18388#ifdef HAVE_COMPLEX_H
18389#include <complex.h>
18390#endif
18391#ifdef HAVE_MATH_H
18392#include <math.h>
18393#endif
18394
18395int (*ptr)() = (int (*)())copysignf;
18396
18397int
18398main ()
18399{
18400  return 0;
18401}
18402
18403_ACEOF
18404if ac_fn_c_try_link "$LINENO"; then :
18405  gcc_cv_math_func_copysignf=yes
18406else
18407  gcc_cv_math_func_copysignf=no
18408fi
18409rm -f core conftest.err conftest.$ac_objext \
18410    conftest$ac_exeext conftest.$ac_ext
18411fi
18412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18413$as_echo "$gcc_cv_math_func_copysignf" >&6; }
18414  if test $gcc_cv_math_func_copysignf = yes; then
18415
18416cat >>confdefs.h <<_ACEOF
18417#define HAVE_COPYSIGNF 1
18418_ACEOF
18419
18420  fi
18421
18422
18423
18424
18425  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18426$as_echo_n "checking for copysign... " >&6; }
18427if ${gcc_cv_math_func_copysign+:} false; then :
18428  $as_echo_n "(cached) " >&6
18429else
18430  if test x$gcc_no_link = xyes; then
18431  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18432fi
18433cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18434/* end confdefs.h.  */
18435
18436#ifdef HAVE_COMPLEX_H
18437#include <complex.h>
18438#endif
18439#ifdef HAVE_MATH_H
18440#include <math.h>
18441#endif
18442
18443int (*ptr)() = (int (*)())copysign;
18444
18445int
18446main ()
18447{
18448  return 0;
18449}
18450
18451_ACEOF
18452if ac_fn_c_try_link "$LINENO"; then :
18453  gcc_cv_math_func_copysign=yes
18454else
18455  gcc_cv_math_func_copysign=no
18456fi
18457rm -f core conftest.err conftest.$ac_objext \
18458    conftest$ac_exeext conftest.$ac_ext
18459fi
18460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18461$as_echo "$gcc_cv_math_func_copysign" >&6; }
18462  if test $gcc_cv_math_func_copysign = yes; then
18463
18464cat >>confdefs.h <<_ACEOF
18465#define HAVE_COPYSIGN 1
18466_ACEOF
18467
18468  fi
18469
18470
18471
18472
18473  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18474$as_echo_n "checking for copysignl... " >&6; }
18475if ${gcc_cv_math_func_copysignl+:} false; then :
18476  $as_echo_n "(cached) " >&6
18477else
18478  if test x$gcc_no_link = xyes; then
18479  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18480fi
18481cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18482/* end confdefs.h.  */
18483
18484#ifdef HAVE_COMPLEX_H
18485#include <complex.h>
18486#endif
18487#ifdef HAVE_MATH_H
18488#include <math.h>
18489#endif
18490
18491int (*ptr)() = (int (*)())copysignl;
18492
18493int
18494main ()
18495{
18496  return 0;
18497}
18498
18499_ACEOF
18500if ac_fn_c_try_link "$LINENO"; then :
18501  gcc_cv_math_func_copysignl=yes
18502else
18503  gcc_cv_math_func_copysignl=no
18504fi
18505rm -f core conftest.err conftest.$ac_objext \
18506    conftest$ac_exeext conftest.$ac_ext
18507fi
18508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18509$as_echo "$gcc_cv_math_func_copysignl" >&6; }
18510  if test $gcc_cv_math_func_copysignl = yes; then
18511
18512cat >>confdefs.h <<_ACEOF
18513#define HAVE_COPYSIGNL 1
18514_ACEOF
18515
18516  fi
18517
18518
18519
18520
18521  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18522$as_echo_n "checking for cosf... " >&6; }
18523if ${gcc_cv_math_func_cosf+:} false; then :
18524  $as_echo_n "(cached) " >&6
18525else
18526  if test x$gcc_no_link = xyes; then
18527  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18528fi
18529cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18530/* end confdefs.h.  */
18531
18532#ifdef HAVE_COMPLEX_H
18533#include <complex.h>
18534#endif
18535#ifdef HAVE_MATH_H
18536#include <math.h>
18537#endif
18538
18539int (*ptr)() = (int (*)())cosf;
18540
18541int
18542main ()
18543{
18544  return 0;
18545}
18546
18547_ACEOF
18548if ac_fn_c_try_link "$LINENO"; then :
18549  gcc_cv_math_func_cosf=yes
18550else
18551  gcc_cv_math_func_cosf=no
18552fi
18553rm -f core conftest.err conftest.$ac_objext \
18554    conftest$ac_exeext conftest.$ac_ext
18555fi
18556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18557$as_echo "$gcc_cv_math_func_cosf" >&6; }
18558  if test $gcc_cv_math_func_cosf = yes; then
18559
18560cat >>confdefs.h <<_ACEOF
18561#define HAVE_COSF 1
18562_ACEOF
18563
18564  fi
18565
18566
18567
18568
18569  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18570$as_echo_n "checking for cos... " >&6; }
18571if ${gcc_cv_math_func_cos+:} false; then :
18572  $as_echo_n "(cached) " >&6
18573else
18574  if test x$gcc_no_link = xyes; then
18575  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18576fi
18577cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18578/* end confdefs.h.  */
18579
18580#ifdef HAVE_COMPLEX_H
18581#include <complex.h>
18582#endif
18583#ifdef HAVE_MATH_H
18584#include <math.h>
18585#endif
18586
18587int (*ptr)() = (int (*)())cos;
18588
18589int
18590main ()
18591{
18592  return 0;
18593}
18594
18595_ACEOF
18596if ac_fn_c_try_link "$LINENO"; then :
18597  gcc_cv_math_func_cos=yes
18598else
18599  gcc_cv_math_func_cos=no
18600fi
18601rm -f core conftest.err conftest.$ac_objext \
18602    conftest$ac_exeext conftest.$ac_ext
18603fi
18604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18605$as_echo "$gcc_cv_math_func_cos" >&6; }
18606  if test $gcc_cv_math_func_cos = yes; then
18607
18608cat >>confdefs.h <<_ACEOF
18609#define HAVE_COS 1
18610_ACEOF
18611
18612  fi
18613
18614
18615
18616
18617  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18618$as_echo_n "checking for cosl... " >&6; }
18619if ${gcc_cv_math_func_cosl+:} false; then :
18620  $as_echo_n "(cached) " >&6
18621else
18622  if test x$gcc_no_link = xyes; then
18623  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18624fi
18625cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626/* end confdefs.h.  */
18627
18628#ifdef HAVE_COMPLEX_H
18629#include <complex.h>
18630#endif
18631#ifdef HAVE_MATH_H
18632#include <math.h>
18633#endif
18634
18635int (*ptr)() = (int (*)())cosl;
18636
18637int
18638main ()
18639{
18640  return 0;
18641}
18642
18643_ACEOF
18644if ac_fn_c_try_link "$LINENO"; then :
18645  gcc_cv_math_func_cosl=yes
18646else
18647  gcc_cv_math_func_cosl=no
18648fi
18649rm -f core conftest.err conftest.$ac_objext \
18650    conftest$ac_exeext conftest.$ac_ext
18651fi
18652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18653$as_echo "$gcc_cv_math_func_cosl" >&6; }
18654  if test $gcc_cv_math_func_cosl = yes; then
18655
18656cat >>confdefs.h <<_ACEOF
18657#define HAVE_COSL 1
18658_ACEOF
18659
18660  fi
18661
18662
18663
18664
18665  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18666$as_echo_n "checking for ccosf... " >&6; }
18667if ${gcc_cv_math_func_ccosf+:} false; then :
18668  $as_echo_n "(cached) " >&6
18669else
18670  if test x$gcc_no_link = xyes; then
18671  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18672fi
18673cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18674/* end confdefs.h.  */
18675
18676#ifdef HAVE_COMPLEX_H
18677#include <complex.h>
18678#endif
18679#ifdef HAVE_MATH_H
18680#include <math.h>
18681#endif
18682
18683int (*ptr)() = (int (*)())ccosf;
18684
18685int
18686main ()
18687{
18688  return 0;
18689}
18690
18691_ACEOF
18692if ac_fn_c_try_link "$LINENO"; then :
18693  gcc_cv_math_func_ccosf=yes
18694else
18695  gcc_cv_math_func_ccosf=no
18696fi
18697rm -f core conftest.err conftest.$ac_objext \
18698    conftest$ac_exeext conftest.$ac_ext
18699fi
18700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18701$as_echo "$gcc_cv_math_func_ccosf" >&6; }
18702  if test $gcc_cv_math_func_ccosf = yes; then
18703
18704cat >>confdefs.h <<_ACEOF
18705#define HAVE_CCOSF 1
18706_ACEOF
18707
18708  fi
18709
18710
18711
18712
18713  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18714$as_echo_n "checking for ccos... " >&6; }
18715if ${gcc_cv_math_func_ccos+:} false; then :
18716  $as_echo_n "(cached) " >&6
18717else
18718  if test x$gcc_no_link = xyes; then
18719  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18720fi
18721cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18722/* end confdefs.h.  */
18723
18724#ifdef HAVE_COMPLEX_H
18725#include <complex.h>
18726#endif
18727#ifdef HAVE_MATH_H
18728#include <math.h>
18729#endif
18730
18731int (*ptr)() = (int (*)())ccos;
18732
18733int
18734main ()
18735{
18736  return 0;
18737}
18738
18739_ACEOF
18740if ac_fn_c_try_link "$LINENO"; then :
18741  gcc_cv_math_func_ccos=yes
18742else
18743  gcc_cv_math_func_ccos=no
18744fi
18745rm -f core conftest.err conftest.$ac_objext \
18746    conftest$ac_exeext conftest.$ac_ext
18747fi
18748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18749$as_echo "$gcc_cv_math_func_ccos" >&6; }
18750  if test $gcc_cv_math_func_ccos = yes; then
18751
18752cat >>confdefs.h <<_ACEOF
18753#define HAVE_CCOS 1
18754_ACEOF
18755
18756  fi
18757
18758
18759
18760
18761  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18762$as_echo_n "checking for ccosl... " >&6; }
18763if ${gcc_cv_math_func_ccosl+:} false; then :
18764  $as_echo_n "(cached) " >&6
18765else
18766  if test x$gcc_no_link = xyes; then
18767  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18768fi
18769cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18770/* end confdefs.h.  */
18771
18772#ifdef HAVE_COMPLEX_H
18773#include <complex.h>
18774#endif
18775#ifdef HAVE_MATH_H
18776#include <math.h>
18777#endif
18778
18779int (*ptr)() = (int (*)())ccosl;
18780
18781int
18782main ()
18783{
18784  return 0;
18785}
18786
18787_ACEOF
18788if ac_fn_c_try_link "$LINENO"; then :
18789  gcc_cv_math_func_ccosl=yes
18790else
18791  gcc_cv_math_func_ccosl=no
18792fi
18793rm -f core conftest.err conftest.$ac_objext \
18794    conftest$ac_exeext conftest.$ac_ext
18795fi
18796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18797$as_echo "$gcc_cv_math_func_ccosl" >&6; }
18798  if test $gcc_cv_math_func_ccosl = yes; then
18799
18800cat >>confdefs.h <<_ACEOF
18801#define HAVE_CCOSL 1
18802_ACEOF
18803
18804  fi
18805
18806
18807
18808
18809  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18810$as_echo_n "checking for coshf... " >&6; }
18811if ${gcc_cv_math_func_coshf+:} false; then :
18812  $as_echo_n "(cached) " >&6
18813else
18814  if test x$gcc_no_link = xyes; then
18815  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18816fi
18817cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18818/* end confdefs.h.  */
18819
18820#ifdef HAVE_COMPLEX_H
18821#include <complex.h>
18822#endif
18823#ifdef HAVE_MATH_H
18824#include <math.h>
18825#endif
18826
18827int (*ptr)() = (int (*)())coshf;
18828
18829int
18830main ()
18831{
18832  return 0;
18833}
18834
18835_ACEOF
18836if ac_fn_c_try_link "$LINENO"; then :
18837  gcc_cv_math_func_coshf=yes
18838else
18839  gcc_cv_math_func_coshf=no
18840fi
18841rm -f core conftest.err conftest.$ac_objext \
18842    conftest$ac_exeext conftest.$ac_ext
18843fi
18844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18845$as_echo "$gcc_cv_math_func_coshf" >&6; }
18846  if test $gcc_cv_math_func_coshf = yes; then
18847
18848cat >>confdefs.h <<_ACEOF
18849#define HAVE_COSHF 1
18850_ACEOF
18851
18852  fi
18853
18854
18855
18856
18857  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18858$as_echo_n "checking for cosh... " >&6; }
18859if ${gcc_cv_math_func_cosh+:} false; then :
18860  $as_echo_n "(cached) " >&6
18861else
18862  if test x$gcc_no_link = xyes; then
18863  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18864fi
18865cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18866/* end confdefs.h.  */
18867
18868#ifdef HAVE_COMPLEX_H
18869#include <complex.h>
18870#endif
18871#ifdef HAVE_MATH_H
18872#include <math.h>
18873#endif
18874
18875int (*ptr)() = (int (*)())cosh;
18876
18877int
18878main ()
18879{
18880  return 0;
18881}
18882
18883_ACEOF
18884if ac_fn_c_try_link "$LINENO"; then :
18885  gcc_cv_math_func_cosh=yes
18886else
18887  gcc_cv_math_func_cosh=no
18888fi
18889rm -f core conftest.err conftest.$ac_objext \
18890    conftest$ac_exeext conftest.$ac_ext
18891fi
18892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18893$as_echo "$gcc_cv_math_func_cosh" >&6; }
18894  if test $gcc_cv_math_func_cosh = yes; then
18895
18896cat >>confdefs.h <<_ACEOF
18897#define HAVE_COSH 1
18898_ACEOF
18899
18900  fi
18901
18902
18903
18904
18905  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18906$as_echo_n "checking for coshl... " >&6; }
18907if ${gcc_cv_math_func_coshl+:} false; then :
18908  $as_echo_n "(cached) " >&6
18909else
18910  if test x$gcc_no_link = xyes; then
18911  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18912fi
18913cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18914/* end confdefs.h.  */
18915
18916#ifdef HAVE_COMPLEX_H
18917#include <complex.h>
18918#endif
18919#ifdef HAVE_MATH_H
18920#include <math.h>
18921#endif
18922
18923int (*ptr)() = (int (*)())coshl;
18924
18925int
18926main ()
18927{
18928  return 0;
18929}
18930
18931_ACEOF
18932if ac_fn_c_try_link "$LINENO"; then :
18933  gcc_cv_math_func_coshl=yes
18934else
18935  gcc_cv_math_func_coshl=no
18936fi
18937rm -f core conftest.err conftest.$ac_objext \
18938    conftest$ac_exeext conftest.$ac_ext
18939fi
18940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18941$as_echo "$gcc_cv_math_func_coshl" >&6; }
18942  if test $gcc_cv_math_func_coshl = yes; then
18943
18944cat >>confdefs.h <<_ACEOF
18945#define HAVE_COSHL 1
18946_ACEOF
18947
18948  fi
18949
18950
18951
18952
18953  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18954$as_echo_n "checking for ccoshf... " >&6; }
18955if ${gcc_cv_math_func_ccoshf+:} false; then :
18956  $as_echo_n "(cached) " >&6
18957else
18958  if test x$gcc_no_link = xyes; then
18959  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18960fi
18961cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18962/* end confdefs.h.  */
18963
18964#ifdef HAVE_COMPLEX_H
18965#include <complex.h>
18966#endif
18967#ifdef HAVE_MATH_H
18968#include <math.h>
18969#endif
18970
18971int (*ptr)() = (int (*)())ccoshf;
18972
18973int
18974main ()
18975{
18976  return 0;
18977}
18978
18979_ACEOF
18980if ac_fn_c_try_link "$LINENO"; then :
18981  gcc_cv_math_func_ccoshf=yes
18982else
18983  gcc_cv_math_func_ccoshf=no
18984fi
18985rm -f core conftest.err conftest.$ac_objext \
18986    conftest$ac_exeext conftest.$ac_ext
18987fi
18988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18989$as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18990  if test $gcc_cv_math_func_ccoshf = yes; then
18991
18992cat >>confdefs.h <<_ACEOF
18993#define HAVE_CCOSHF 1
18994_ACEOF
18995
18996  fi
18997
18998
18999
19000
19001  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19002$as_echo_n "checking for ccosh... " >&6; }
19003if ${gcc_cv_math_func_ccosh+:} false; then :
19004  $as_echo_n "(cached) " >&6
19005else
19006  if test x$gcc_no_link = xyes; then
19007  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19008fi
19009cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19010/* end confdefs.h.  */
19011
19012#ifdef HAVE_COMPLEX_H
19013#include <complex.h>
19014#endif
19015#ifdef HAVE_MATH_H
19016#include <math.h>
19017#endif
19018
19019int (*ptr)() = (int (*)())ccosh;
19020
19021int
19022main ()
19023{
19024  return 0;
19025}
19026
19027_ACEOF
19028if ac_fn_c_try_link "$LINENO"; then :
19029  gcc_cv_math_func_ccosh=yes
19030else
19031  gcc_cv_math_func_ccosh=no
19032fi
19033rm -f core conftest.err conftest.$ac_objext \
19034    conftest$ac_exeext conftest.$ac_ext
19035fi
19036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19037$as_echo "$gcc_cv_math_func_ccosh" >&6; }
19038  if test $gcc_cv_math_func_ccosh = yes; then
19039
19040cat >>confdefs.h <<_ACEOF
19041#define HAVE_CCOSH 1
19042_ACEOF
19043
19044  fi
19045
19046
19047
19048
19049  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19050$as_echo_n "checking for ccoshl... " >&6; }
19051if ${gcc_cv_math_func_ccoshl+:} false; then :
19052  $as_echo_n "(cached) " >&6
19053else
19054  if test x$gcc_no_link = xyes; then
19055  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19056fi
19057cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19058/* end confdefs.h.  */
19059
19060#ifdef HAVE_COMPLEX_H
19061#include <complex.h>
19062#endif
19063#ifdef HAVE_MATH_H
19064#include <math.h>
19065#endif
19066
19067int (*ptr)() = (int (*)())ccoshl;
19068
19069int
19070main ()
19071{
19072  return 0;
19073}
19074
19075_ACEOF
19076if ac_fn_c_try_link "$LINENO"; then :
19077  gcc_cv_math_func_ccoshl=yes
19078else
19079  gcc_cv_math_func_ccoshl=no
19080fi
19081rm -f core conftest.err conftest.$ac_objext \
19082    conftest$ac_exeext conftest.$ac_ext
19083fi
19084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19085$as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19086  if test $gcc_cv_math_func_ccoshl = yes; then
19087
19088cat >>confdefs.h <<_ACEOF
19089#define HAVE_CCOSHL 1
19090_ACEOF
19091
19092  fi
19093
19094
19095
19096
19097  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19098$as_echo_n "checking for expf... " >&6; }
19099if ${gcc_cv_math_func_expf+:} false; then :
19100  $as_echo_n "(cached) " >&6
19101else
19102  if test x$gcc_no_link = xyes; then
19103  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19104fi
19105cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19106/* end confdefs.h.  */
19107
19108#ifdef HAVE_COMPLEX_H
19109#include <complex.h>
19110#endif
19111#ifdef HAVE_MATH_H
19112#include <math.h>
19113#endif
19114
19115int (*ptr)() = (int (*)())expf;
19116
19117int
19118main ()
19119{
19120  return 0;
19121}
19122
19123_ACEOF
19124if ac_fn_c_try_link "$LINENO"; then :
19125  gcc_cv_math_func_expf=yes
19126else
19127  gcc_cv_math_func_expf=no
19128fi
19129rm -f core conftest.err conftest.$ac_objext \
19130    conftest$ac_exeext conftest.$ac_ext
19131fi
19132{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19133$as_echo "$gcc_cv_math_func_expf" >&6; }
19134  if test $gcc_cv_math_func_expf = yes; then
19135
19136cat >>confdefs.h <<_ACEOF
19137#define HAVE_EXPF 1
19138_ACEOF
19139
19140  fi
19141
19142
19143
19144
19145  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19146$as_echo_n "checking for exp... " >&6; }
19147if ${gcc_cv_math_func_exp+:} false; then :
19148  $as_echo_n "(cached) " >&6
19149else
19150  if test x$gcc_no_link = xyes; then
19151  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19152fi
19153cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19154/* end confdefs.h.  */
19155
19156#ifdef HAVE_COMPLEX_H
19157#include <complex.h>
19158#endif
19159#ifdef HAVE_MATH_H
19160#include <math.h>
19161#endif
19162
19163int (*ptr)() = (int (*)())exp;
19164
19165int
19166main ()
19167{
19168  return 0;
19169}
19170
19171_ACEOF
19172if ac_fn_c_try_link "$LINENO"; then :
19173  gcc_cv_math_func_exp=yes
19174else
19175  gcc_cv_math_func_exp=no
19176fi
19177rm -f core conftest.err conftest.$ac_objext \
19178    conftest$ac_exeext conftest.$ac_ext
19179fi
19180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19181$as_echo "$gcc_cv_math_func_exp" >&6; }
19182  if test $gcc_cv_math_func_exp = yes; then
19183
19184cat >>confdefs.h <<_ACEOF
19185#define HAVE_EXP 1
19186_ACEOF
19187
19188  fi
19189
19190
19191
19192
19193  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19194$as_echo_n "checking for expl... " >&6; }
19195if ${gcc_cv_math_func_expl+:} false; then :
19196  $as_echo_n "(cached) " >&6
19197else
19198  if test x$gcc_no_link = xyes; then
19199  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19200fi
19201cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19202/* end confdefs.h.  */
19203
19204#ifdef HAVE_COMPLEX_H
19205#include <complex.h>
19206#endif
19207#ifdef HAVE_MATH_H
19208#include <math.h>
19209#endif
19210
19211int (*ptr)() = (int (*)())expl;
19212
19213int
19214main ()
19215{
19216  return 0;
19217}
19218
19219_ACEOF
19220if ac_fn_c_try_link "$LINENO"; then :
19221  gcc_cv_math_func_expl=yes
19222else
19223  gcc_cv_math_func_expl=no
19224fi
19225rm -f core conftest.err conftest.$ac_objext \
19226    conftest$ac_exeext conftest.$ac_ext
19227fi
19228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19229$as_echo "$gcc_cv_math_func_expl" >&6; }
19230  if test $gcc_cv_math_func_expl = yes; then
19231
19232cat >>confdefs.h <<_ACEOF
19233#define HAVE_EXPL 1
19234_ACEOF
19235
19236  fi
19237
19238
19239
19240
19241  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19242$as_echo_n "checking for cexpf... " >&6; }
19243if ${gcc_cv_math_func_cexpf+:} false; then :
19244  $as_echo_n "(cached) " >&6
19245else
19246  if test x$gcc_no_link = xyes; then
19247  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19248fi
19249cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19250/* end confdefs.h.  */
19251
19252#ifdef HAVE_COMPLEX_H
19253#include <complex.h>
19254#endif
19255#ifdef HAVE_MATH_H
19256#include <math.h>
19257#endif
19258
19259int (*ptr)() = (int (*)())cexpf;
19260
19261int
19262main ()
19263{
19264  return 0;
19265}
19266
19267_ACEOF
19268if ac_fn_c_try_link "$LINENO"; then :
19269  gcc_cv_math_func_cexpf=yes
19270else
19271  gcc_cv_math_func_cexpf=no
19272fi
19273rm -f core conftest.err conftest.$ac_objext \
19274    conftest$ac_exeext conftest.$ac_ext
19275fi
19276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19277$as_echo "$gcc_cv_math_func_cexpf" >&6; }
19278  if test $gcc_cv_math_func_cexpf = yes; then
19279
19280cat >>confdefs.h <<_ACEOF
19281#define HAVE_CEXPF 1
19282_ACEOF
19283
19284  fi
19285
19286
19287
19288
19289  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19290$as_echo_n "checking for cexp... " >&6; }
19291if ${gcc_cv_math_func_cexp+:} false; then :
19292  $as_echo_n "(cached) " >&6
19293else
19294  if test x$gcc_no_link = xyes; then
19295  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19296fi
19297cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19298/* end confdefs.h.  */
19299
19300#ifdef HAVE_COMPLEX_H
19301#include <complex.h>
19302#endif
19303#ifdef HAVE_MATH_H
19304#include <math.h>
19305#endif
19306
19307int (*ptr)() = (int (*)())cexp;
19308
19309int
19310main ()
19311{
19312  return 0;
19313}
19314
19315_ACEOF
19316if ac_fn_c_try_link "$LINENO"; then :
19317  gcc_cv_math_func_cexp=yes
19318else
19319  gcc_cv_math_func_cexp=no
19320fi
19321rm -f core conftest.err conftest.$ac_objext \
19322    conftest$ac_exeext conftest.$ac_ext
19323fi
19324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19325$as_echo "$gcc_cv_math_func_cexp" >&6; }
19326  if test $gcc_cv_math_func_cexp = yes; then
19327
19328cat >>confdefs.h <<_ACEOF
19329#define HAVE_CEXP 1
19330_ACEOF
19331
19332  fi
19333
19334
19335
19336
19337  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19338$as_echo_n "checking for cexpl... " >&6; }
19339if ${gcc_cv_math_func_cexpl+:} false; then :
19340  $as_echo_n "(cached) " >&6
19341else
19342  if test x$gcc_no_link = xyes; then
19343  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19344fi
19345cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19346/* end confdefs.h.  */
19347
19348#ifdef HAVE_COMPLEX_H
19349#include <complex.h>
19350#endif
19351#ifdef HAVE_MATH_H
19352#include <math.h>
19353#endif
19354
19355int (*ptr)() = (int (*)())cexpl;
19356
19357int
19358main ()
19359{
19360  return 0;
19361}
19362
19363_ACEOF
19364if ac_fn_c_try_link "$LINENO"; then :
19365  gcc_cv_math_func_cexpl=yes
19366else
19367  gcc_cv_math_func_cexpl=no
19368fi
19369rm -f core conftest.err conftest.$ac_objext \
19370    conftest$ac_exeext conftest.$ac_ext
19371fi
19372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19373$as_echo "$gcc_cv_math_func_cexpl" >&6; }
19374  if test $gcc_cv_math_func_cexpl = yes; then
19375
19376cat >>confdefs.h <<_ACEOF
19377#define HAVE_CEXPL 1
19378_ACEOF
19379
19380  fi
19381
19382
19383
19384
19385  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19386$as_echo_n "checking for fabsf... " >&6; }
19387if ${gcc_cv_math_func_fabsf+:} false; then :
19388  $as_echo_n "(cached) " >&6
19389else
19390  if test x$gcc_no_link = xyes; then
19391  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19392fi
19393cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19394/* end confdefs.h.  */
19395
19396#ifdef HAVE_COMPLEX_H
19397#include <complex.h>
19398#endif
19399#ifdef HAVE_MATH_H
19400#include <math.h>
19401#endif
19402
19403int (*ptr)() = (int (*)())fabsf;
19404
19405int
19406main ()
19407{
19408  return 0;
19409}
19410
19411_ACEOF
19412if ac_fn_c_try_link "$LINENO"; then :
19413  gcc_cv_math_func_fabsf=yes
19414else
19415  gcc_cv_math_func_fabsf=no
19416fi
19417rm -f core conftest.err conftest.$ac_objext \
19418    conftest$ac_exeext conftest.$ac_ext
19419fi
19420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19421$as_echo "$gcc_cv_math_func_fabsf" >&6; }
19422  if test $gcc_cv_math_func_fabsf = yes; then
19423
19424cat >>confdefs.h <<_ACEOF
19425#define HAVE_FABSF 1
19426_ACEOF
19427
19428  fi
19429
19430
19431
19432
19433  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19434$as_echo_n "checking for fabs... " >&6; }
19435if ${gcc_cv_math_func_fabs+:} false; then :
19436  $as_echo_n "(cached) " >&6
19437else
19438  if test x$gcc_no_link = xyes; then
19439  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19440fi
19441cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19442/* end confdefs.h.  */
19443
19444#ifdef HAVE_COMPLEX_H
19445#include <complex.h>
19446#endif
19447#ifdef HAVE_MATH_H
19448#include <math.h>
19449#endif
19450
19451int (*ptr)() = (int (*)())fabs;
19452
19453int
19454main ()
19455{
19456  return 0;
19457}
19458
19459_ACEOF
19460if ac_fn_c_try_link "$LINENO"; then :
19461  gcc_cv_math_func_fabs=yes
19462else
19463  gcc_cv_math_func_fabs=no
19464fi
19465rm -f core conftest.err conftest.$ac_objext \
19466    conftest$ac_exeext conftest.$ac_ext
19467fi
19468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19469$as_echo "$gcc_cv_math_func_fabs" >&6; }
19470  if test $gcc_cv_math_func_fabs = yes; then
19471
19472cat >>confdefs.h <<_ACEOF
19473#define HAVE_FABS 1
19474_ACEOF
19475
19476  fi
19477
19478
19479
19480
19481  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19482$as_echo_n "checking for fabsl... " >&6; }
19483if ${gcc_cv_math_func_fabsl+:} false; then :
19484  $as_echo_n "(cached) " >&6
19485else
19486  if test x$gcc_no_link = xyes; then
19487  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19488fi
19489cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19490/* end confdefs.h.  */
19491
19492#ifdef HAVE_COMPLEX_H
19493#include <complex.h>
19494#endif
19495#ifdef HAVE_MATH_H
19496#include <math.h>
19497#endif
19498
19499int (*ptr)() = (int (*)())fabsl;
19500
19501int
19502main ()
19503{
19504  return 0;
19505}
19506
19507_ACEOF
19508if ac_fn_c_try_link "$LINENO"; then :
19509  gcc_cv_math_func_fabsl=yes
19510else
19511  gcc_cv_math_func_fabsl=no
19512fi
19513rm -f core conftest.err conftest.$ac_objext \
19514    conftest$ac_exeext conftest.$ac_ext
19515fi
19516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19517$as_echo "$gcc_cv_math_func_fabsl" >&6; }
19518  if test $gcc_cv_math_func_fabsl = yes; then
19519
19520cat >>confdefs.h <<_ACEOF
19521#define HAVE_FABSL 1
19522_ACEOF
19523
19524  fi
19525
19526
19527
19528
19529  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19530$as_echo_n "checking for cabsf... " >&6; }
19531if ${gcc_cv_math_func_cabsf+:} false; then :
19532  $as_echo_n "(cached) " >&6
19533else
19534  if test x$gcc_no_link = xyes; then
19535  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19536fi
19537cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19538/* end confdefs.h.  */
19539
19540#ifdef HAVE_COMPLEX_H
19541#include <complex.h>
19542#endif
19543#ifdef HAVE_MATH_H
19544#include <math.h>
19545#endif
19546
19547int (*ptr)() = (int (*)())cabsf;
19548
19549int
19550main ()
19551{
19552  return 0;
19553}
19554
19555_ACEOF
19556if ac_fn_c_try_link "$LINENO"; then :
19557  gcc_cv_math_func_cabsf=yes
19558else
19559  gcc_cv_math_func_cabsf=no
19560fi
19561rm -f core conftest.err conftest.$ac_objext \
19562    conftest$ac_exeext conftest.$ac_ext
19563fi
19564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19565$as_echo "$gcc_cv_math_func_cabsf" >&6; }
19566  if test $gcc_cv_math_func_cabsf = yes; then
19567
19568cat >>confdefs.h <<_ACEOF
19569#define HAVE_CABSF 1
19570_ACEOF
19571
19572  fi
19573
19574
19575
19576
19577  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19578$as_echo_n "checking for cabs... " >&6; }
19579if ${gcc_cv_math_func_cabs+:} false; then :
19580  $as_echo_n "(cached) " >&6
19581else
19582  if test x$gcc_no_link = xyes; then
19583  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19584fi
19585cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19586/* end confdefs.h.  */
19587
19588#ifdef HAVE_COMPLEX_H
19589#include <complex.h>
19590#endif
19591#ifdef HAVE_MATH_H
19592#include <math.h>
19593#endif
19594
19595int (*ptr)() = (int (*)())cabs;
19596
19597int
19598main ()
19599{
19600  return 0;
19601}
19602
19603_ACEOF
19604if ac_fn_c_try_link "$LINENO"; then :
19605  gcc_cv_math_func_cabs=yes
19606else
19607  gcc_cv_math_func_cabs=no
19608fi
19609rm -f core conftest.err conftest.$ac_objext \
19610    conftest$ac_exeext conftest.$ac_ext
19611fi
19612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19613$as_echo "$gcc_cv_math_func_cabs" >&6; }
19614  if test $gcc_cv_math_func_cabs = yes; then
19615
19616cat >>confdefs.h <<_ACEOF
19617#define HAVE_CABS 1
19618_ACEOF
19619
19620  fi
19621
19622
19623
19624
19625  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19626$as_echo_n "checking for cabsl... " >&6; }
19627if ${gcc_cv_math_func_cabsl+:} false; then :
19628  $as_echo_n "(cached) " >&6
19629else
19630  if test x$gcc_no_link = xyes; then
19631  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19632fi
19633cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19634/* end confdefs.h.  */
19635
19636#ifdef HAVE_COMPLEX_H
19637#include <complex.h>
19638#endif
19639#ifdef HAVE_MATH_H
19640#include <math.h>
19641#endif
19642
19643int (*ptr)() = (int (*)())cabsl;
19644
19645int
19646main ()
19647{
19648  return 0;
19649}
19650
19651_ACEOF
19652if ac_fn_c_try_link "$LINENO"; then :
19653  gcc_cv_math_func_cabsl=yes
19654else
19655  gcc_cv_math_func_cabsl=no
19656fi
19657rm -f core conftest.err conftest.$ac_objext \
19658    conftest$ac_exeext conftest.$ac_ext
19659fi
19660{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19661$as_echo "$gcc_cv_math_func_cabsl" >&6; }
19662  if test $gcc_cv_math_func_cabsl = yes; then
19663
19664cat >>confdefs.h <<_ACEOF
19665#define HAVE_CABSL 1
19666_ACEOF
19667
19668  fi
19669
19670
19671
19672
19673  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19674$as_echo_n "checking for floorf... " >&6; }
19675if ${gcc_cv_math_func_floorf+:} false; then :
19676  $as_echo_n "(cached) " >&6
19677else
19678  if test x$gcc_no_link = xyes; then
19679  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19680fi
19681cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19682/* end confdefs.h.  */
19683
19684#ifdef HAVE_COMPLEX_H
19685#include <complex.h>
19686#endif
19687#ifdef HAVE_MATH_H
19688#include <math.h>
19689#endif
19690
19691int (*ptr)() = (int (*)())floorf;
19692
19693int
19694main ()
19695{
19696  return 0;
19697}
19698
19699_ACEOF
19700if ac_fn_c_try_link "$LINENO"; then :
19701  gcc_cv_math_func_floorf=yes
19702else
19703  gcc_cv_math_func_floorf=no
19704fi
19705rm -f core conftest.err conftest.$ac_objext \
19706    conftest$ac_exeext conftest.$ac_ext
19707fi
19708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19709$as_echo "$gcc_cv_math_func_floorf" >&6; }
19710  if test $gcc_cv_math_func_floorf = yes; then
19711
19712cat >>confdefs.h <<_ACEOF
19713#define HAVE_FLOORF 1
19714_ACEOF
19715
19716  fi
19717
19718
19719
19720
19721  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19722$as_echo_n "checking for floor... " >&6; }
19723if ${gcc_cv_math_func_floor+:} false; then :
19724  $as_echo_n "(cached) " >&6
19725else
19726  if test x$gcc_no_link = xyes; then
19727  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19728fi
19729cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19730/* end confdefs.h.  */
19731
19732#ifdef HAVE_COMPLEX_H
19733#include <complex.h>
19734#endif
19735#ifdef HAVE_MATH_H
19736#include <math.h>
19737#endif
19738
19739int (*ptr)() = (int (*)())floor;
19740
19741int
19742main ()
19743{
19744  return 0;
19745}
19746
19747_ACEOF
19748if ac_fn_c_try_link "$LINENO"; then :
19749  gcc_cv_math_func_floor=yes
19750else
19751  gcc_cv_math_func_floor=no
19752fi
19753rm -f core conftest.err conftest.$ac_objext \
19754    conftest$ac_exeext conftest.$ac_ext
19755fi
19756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19757$as_echo "$gcc_cv_math_func_floor" >&6; }
19758  if test $gcc_cv_math_func_floor = yes; then
19759
19760cat >>confdefs.h <<_ACEOF
19761#define HAVE_FLOOR 1
19762_ACEOF
19763
19764  fi
19765
19766
19767
19768
19769  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19770$as_echo_n "checking for floorl... " >&6; }
19771if ${gcc_cv_math_func_floorl+:} false; then :
19772  $as_echo_n "(cached) " >&6
19773else
19774  if test x$gcc_no_link = xyes; then
19775  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19776fi
19777cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19778/* end confdefs.h.  */
19779
19780#ifdef HAVE_COMPLEX_H
19781#include <complex.h>
19782#endif
19783#ifdef HAVE_MATH_H
19784#include <math.h>
19785#endif
19786
19787int (*ptr)() = (int (*)())floorl;
19788
19789int
19790main ()
19791{
19792  return 0;
19793}
19794
19795_ACEOF
19796if ac_fn_c_try_link "$LINENO"; then :
19797  gcc_cv_math_func_floorl=yes
19798else
19799  gcc_cv_math_func_floorl=no
19800fi
19801rm -f core conftest.err conftest.$ac_objext \
19802    conftest$ac_exeext conftest.$ac_ext
19803fi
19804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19805$as_echo "$gcc_cv_math_func_floorl" >&6; }
19806  if test $gcc_cv_math_func_floorl = yes; then
19807
19808cat >>confdefs.h <<_ACEOF
19809#define HAVE_FLOORL 1
19810_ACEOF
19811
19812  fi
19813
19814
19815
19816
19817  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19818$as_echo_n "checking for fmodf... " >&6; }
19819if ${gcc_cv_math_func_fmodf+:} false; then :
19820  $as_echo_n "(cached) " >&6
19821else
19822  if test x$gcc_no_link = xyes; then
19823  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19824fi
19825cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19826/* end confdefs.h.  */
19827
19828#ifdef HAVE_COMPLEX_H
19829#include <complex.h>
19830#endif
19831#ifdef HAVE_MATH_H
19832#include <math.h>
19833#endif
19834
19835int (*ptr)() = (int (*)())fmodf;
19836
19837int
19838main ()
19839{
19840  return 0;
19841}
19842
19843_ACEOF
19844if ac_fn_c_try_link "$LINENO"; then :
19845  gcc_cv_math_func_fmodf=yes
19846else
19847  gcc_cv_math_func_fmodf=no
19848fi
19849rm -f core conftest.err conftest.$ac_objext \
19850    conftest$ac_exeext conftest.$ac_ext
19851fi
19852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19853$as_echo "$gcc_cv_math_func_fmodf" >&6; }
19854  if test $gcc_cv_math_func_fmodf = yes; then
19855
19856cat >>confdefs.h <<_ACEOF
19857#define HAVE_FMODF 1
19858_ACEOF
19859
19860  fi
19861
19862
19863
19864
19865  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19866$as_echo_n "checking for fmod... " >&6; }
19867if ${gcc_cv_math_func_fmod+:} false; then :
19868  $as_echo_n "(cached) " >&6
19869else
19870  if test x$gcc_no_link = xyes; then
19871  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19872fi
19873cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19874/* end confdefs.h.  */
19875
19876#ifdef HAVE_COMPLEX_H
19877#include <complex.h>
19878#endif
19879#ifdef HAVE_MATH_H
19880#include <math.h>
19881#endif
19882
19883int (*ptr)() = (int (*)())fmod;
19884
19885int
19886main ()
19887{
19888  return 0;
19889}
19890
19891_ACEOF
19892if ac_fn_c_try_link "$LINENO"; then :
19893  gcc_cv_math_func_fmod=yes
19894else
19895  gcc_cv_math_func_fmod=no
19896fi
19897rm -f core conftest.err conftest.$ac_objext \
19898    conftest$ac_exeext conftest.$ac_ext
19899fi
19900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19901$as_echo "$gcc_cv_math_func_fmod" >&6; }
19902  if test $gcc_cv_math_func_fmod = yes; then
19903
19904cat >>confdefs.h <<_ACEOF
19905#define HAVE_FMOD 1
19906_ACEOF
19907
19908  fi
19909
19910
19911
19912
19913  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19914$as_echo_n "checking for fmodl... " >&6; }
19915if ${gcc_cv_math_func_fmodl+:} false; then :
19916  $as_echo_n "(cached) " >&6
19917else
19918  if test x$gcc_no_link = xyes; then
19919  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19920fi
19921cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19922/* end confdefs.h.  */
19923
19924#ifdef HAVE_COMPLEX_H
19925#include <complex.h>
19926#endif
19927#ifdef HAVE_MATH_H
19928#include <math.h>
19929#endif
19930
19931int (*ptr)() = (int (*)())fmodl;
19932
19933int
19934main ()
19935{
19936  return 0;
19937}
19938
19939_ACEOF
19940if ac_fn_c_try_link "$LINENO"; then :
19941  gcc_cv_math_func_fmodl=yes
19942else
19943  gcc_cv_math_func_fmodl=no
19944fi
19945rm -f core conftest.err conftest.$ac_objext \
19946    conftest$ac_exeext conftest.$ac_ext
19947fi
19948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19949$as_echo "$gcc_cv_math_func_fmodl" >&6; }
19950  if test $gcc_cv_math_func_fmodl = yes; then
19951
19952cat >>confdefs.h <<_ACEOF
19953#define HAVE_FMODL 1
19954_ACEOF
19955
19956  fi
19957
19958
19959
19960
19961  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19962$as_echo_n "checking for frexpf... " >&6; }
19963if ${gcc_cv_math_func_frexpf+:} false; then :
19964  $as_echo_n "(cached) " >&6
19965else
19966  if test x$gcc_no_link = xyes; then
19967  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19968fi
19969cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19970/* end confdefs.h.  */
19971
19972#ifdef HAVE_COMPLEX_H
19973#include <complex.h>
19974#endif
19975#ifdef HAVE_MATH_H
19976#include <math.h>
19977#endif
19978
19979int (*ptr)() = (int (*)())frexpf;
19980
19981int
19982main ()
19983{
19984  return 0;
19985}
19986
19987_ACEOF
19988if ac_fn_c_try_link "$LINENO"; then :
19989  gcc_cv_math_func_frexpf=yes
19990else
19991  gcc_cv_math_func_frexpf=no
19992fi
19993rm -f core conftest.err conftest.$ac_objext \
19994    conftest$ac_exeext conftest.$ac_ext
19995fi
19996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19997$as_echo "$gcc_cv_math_func_frexpf" >&6; }
19998  if test $gcc_cv_math_func_frexpf = yes; then
19999
20000cat >>confdefs.h <<_ACEOF
20001#define HAVE_FREXPF 1
20002_ACEOF
20003
20004  fi
20005
20006
20007
20008
20009  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20010$as_echo_n "checking for frexp... " >&6; }
20011if ${gcc_cv_math_func_frexp+:} false; then :
20012  $as_echo_n "(cached) " >&6
20013else
20014  if test x$gcc_no_link = xyes; then
20015  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20016fi
20017cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20018/* end confdefs.h.  */
20019
20020#ifdef HAVE_COMPLEX_H
20021#include <complex.h>
20022#endif
20023#ifdef HAVE_MATH_H
20024#include <math.h>
20025#endif
20026
20027int (*ptr)() = (int (*)())frexp;
20028
20029int
20030main ()
20031{
20032  return 0;
20033}
20034
20035_ACEOF
20036if ac_fn_c_try_link "$LINENO"; then :
20037  gcc_cv_math_func_frexp=yes
20038else
20039  gcc_cv_math_func_frexp=no
20040fi
20041rm -f core conftest.err conftest.$ac_objext \
20042    conftest$ac_exeext conftest.$ac_ext
20043fi
20044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20045$as_echo "$gcc_cv_math_func_frexp" >&6; }
20046  if test $gcc_cv_math_func_frexp = yes; then
20047
20048cat >>confdefs.h <<_ACEOF
20049#define HAVE_FREXP 1
20050_ACEOF
20051
20052  fi
20053
20054
20055
20056
20057  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20058$as_echo_n "checking for frexpl... " >&6; }
20059if ${gcc_cv_math_func_frexpl+:} false; then :
20060  $as_echo_n "(cached) " >&6
20061else
20062  if test x$gcc_no_link = xyes; then
20063  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20064fi
20065cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20066/* end confdefs.h.  */
20067
20068#ifdef HAVE_COMPLEX_H
20069#include <complex.h>
20070#endif
20071#ifdef HAVE_MATH_H
20072#include <math.h>
20073#endif
20074
20075int (*ptr)() = (int (*)())frexpl;
20076
20077int
20078main ()
20079{
20080  return 0;
20081}
20082
20083_ACEOF
20084if ac_fn_c_try_link "$LINENO"; then :
20085  gcc_cv_math_func_frexpl=yes
20086else
20087  gcc_cv_math_func_frexpl=no
20088fi
20089rm -f core conftest.err conftest.$ac_objext \
20090    conftest$ac_exeext conftest.$ac_ext
20091fi
20092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20093$as_echo "$gcc_cv_math_func_frexpl" >&6; }
20094  if test $gcc_cv_math_func_frexpl = yes; then
20095
20096cat >>confdefs.h <<_ACEOF
20097#define HAVE_FREXPL 1
20098_ACEOF
20099
20100  fi
20101
20102
20103
20104
20105  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20106$as_echo_n "checking for hypotf... " >&6; }
20107if ${gcc_cv_math_func_hypotf+:} false; then :
20108  $as_echo_n "(cached) " >&6
20109else
20110  if test x$gcc_no_link = xyes; then
20111  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20112fi
20113cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20114/* end confdefs.h.  */
20115
20116#ifdef HAVE_COMPLEX_H
20117#include <complex.h>
20118#endif
20119#ifdef HAVE_MATH_H
20120#include <math.h>
20121#endif
20122
20123int (*ptr)() = (int (*)())hypotf;
20124
20125int
20126main ()
20127{
20128  return 0;
20129}
20130
20131_ACEOF
20132if ac_fn_c_try_link "$LINENO"; then :
20133  gcc_cv_math_func_hypotf=yes
20134else
20135  gcc_cv_math_func_hypotf=no
20136fi
20137rm -f core conftest.err conftest.$ac_objext \
20138    conftest$ac_exeext conftest.$ac_ext
20139fi
20140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20141$as_echo "$gcc_cv_math_func_hypotf" >&6; }
20142  if test $gcc_cv_math_func_hypotf = yes; then
20143
20144cat >>confdefs.h <<_ACEOF
20145#define HAVE_HYPOTF 1
20146_ACEOF
20147
20148  fi
20149
20150
20151
20152
20153  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20154$as_echo_n "checking for hypot... " >&6; }
20155if ${gcc_cv_math_func_hypot+:} false; then :
20156  $as_echo_n "(cached) " >&6
20157else
20158  if test x$gcc_no_link = xyes; then
20159  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20160fi
20161cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20162/* end confdefs.h.  */
20163
20164#ifdef HAVE_COMPLEX_H
20165#include <complex.h>
20166#endif
20167#ifdef HAVE_MATH_H
20168#include <math.h>
20169#endif
20170
20171int (*ptr)() = (int (*)())hypot;
20172
20173int
20174main ()
20175{
20176  return 0;
20177}
20178
20179_ACEOF
20180if ac_fn_c_try_link "$LINENO"; then :
20181  gcc_cv_math_func_hypot=yes
20182else
20183  gcc_cv_math_func_hypot=no
20184fi
20185rm -f core conftest.err conftest.$ac_objext \
20186    conftest$ac_exeext conftest.$ac_ext
20187fi
20188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20189$as_echo "$gcc_cv_math_func_hypot" >&6; }
20190  if test $gcc_cv_math_func_hypot = yes; then
20191
20192cat >>confdefs.h <<_ACEOF
20193#define HAVE_HYPOT 1
20194_ACEOF
20195
20196  fi
20197
20198
20199
20200
20201  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20202$as_echo_n "checking for hypotl... " >&6; }
20203if ${gcc_cv_math_func_hypotl+:} false; then :
20204  $as_echo_n "(cached) " >&6
20205else
20206  if test x$gcc_no_link = xyes; then
20207  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20208fi
20209cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20210/* end confdefs.h.  */
20211
20212#ifdef HAVE_COMPLEX_H
20213#include <complex.h>
20214#endif
20215#ifdef HAVE_MATH_H
20216#include <math.h>
20217#endif
20218
20219int (*ptr)() = (int (*)())hypotl;
20220
20221int
20222main ()
20223{
20224  return 0;
20225}
20226
20227_ACEOF
20228if ac_fn_c_try_link "$LINENO"; then :
20229  gcc_cv_math_func_hypotl=yes
20230else
20231  gcc_cv_math_func_hypotl=no
20232fi
20233rm -f core conftest.err conftest.$ac_objext \
20234    conftest$ac_exeext conftest.$ac_ext
20235fi
20236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20237$as_echo "$gcc_cv_math_func_hypotl" >&6; }
20238  if test $gcc_cv_math_func_hypotl = yes; then
20239
20240cat >>confdefs.h <<_ACEOF
20241#define HAVE_HYPOTL 1
20242_ACEOF
20243
20244  fi
20245
20246
20247
20248
20249  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20250$as_echo_n "checking for ldexpf... " >&6; }
20251if ${gcc_cv_math_func_ldexpf+:} false; then :
20252  $as_echo_n "(cached) " >&6
20253else
20254  if test x$gcc_no_link = xyes; then
20255  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20256fi
20257cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20258/* end confdefs.h.  */
20259
20260#ifdef HAVE_COMPLEX_H
20261#include <complex.h>
20262#endif
20263#ifdef HAVE_MATH_H
20264#include <math.h>
20265#endif
20266
20267int (*ptr)() = (int (*)())ldexpf;
20268
20269int
20270main ()
20271{
20272  return 0;
20273}
20274
20275_ACEOF
20276if ac_fn_c_try_link "$LINENO"; then :
20277  gcc_cv_math_func_ldexpf=yes
20278else
20279  gcc_cv_math_func_ldexpf=no
20280fi
20281rm -f core conftest.err conftest.$ac_objext \
20282    conftest$ac_exeext conftest.$ac_ext
20283fi
20284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20285$as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20286  if test $gcc_cv_math_func_ldexpf = yes; then
20287
20288cat >>confdefs.h <<_ACEOF
20289#define HAVE_LDEXPF 1
20290_ACEOF
20291
20292  fi
20293
20294
20295
20296
20297  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20298$as_echo_n "checking for ldexp... " >&6; }
20299if ${gcc_cv_math_func_ldexp+:} false; then :
20300  $as_echo_n "(cached) " >&6
20301else
20302  if test x$gcc_no_link = xyes; then
20303  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20304fi
20305cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20306/* end confdefs.h.  */
20307
20308#ifdef HAVE_COMPLEX_H
20309#include <complex.h>
20310#endif
20311#ifdef HAVE_MATH_H
20312#include <math.h>
20313#endif
20314
20315int (*ptr)() = (int (*)())ldexp;
20316
20317int
20318main ()
20319{
20320  return 0;
20321}
20322
20323_ACEOF
20324if ac_fn_c_try_link "$LINENO"; then :
20325  gcc_cv_math_func_ldexp=yes
20326else
20327  gcc_cv_math_func_ldexp=no
20328fi
20329rm -f core conftest.err conftest.$ac_objext \
20330    conftest$ac_exeext conftest.$ac_ext
20331fi
20332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20333$as_echo "$gcc_cv_math_func_ldexp" >&6; }
20334  if test $gcc_cv_math_func_ldexp = yes; then
20335
20336cat >>confdefs.h <<_ACEOF
20337#define HAVE_LDEXP 1
20338_ACEOF
20339
20340  fi
20341
20342
20343
20344
20345  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20346$as_echo_n "checking for ldexpl... " >&6; }
20347if ${gcc_cv_math_func_ldexpl+:} false; then :
20348  $as_echo_n "(cached) " >&6
20349else
20350  if test x$gcc_no_link = xyes; then
20351  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20352fi
20353cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20354/* end confdefs.h.  */
20355
20356#ifdef HAVE_COMPLEX_H
20357#include <complex.h>
20358#endif
20359#ifdef HAVE_MATH_H
20360#include <math.h>
20361#endif
20362
20363int (*ptr)() = (int (*)())ldexpl;
20364
20365int
20366main ()
20367{
20368  return 0;
20369}
20370
20371_ACEOF
20372if ac_fn_c_try_link "$LINENO"; then :
20373  gcc_cv_math_func_ldexpl=yes
20374else
20375  gcc_cv_math_func_ldexpl=no
20376fi
20377rm -f core conftest.err conftest.$ac_objext \
20378    conftest$ac_exeext conftest.$ac_ext
20379fi
20380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20381$as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20382  if test $gcc_cv_math_func_ldexpl = yes; then
20383
20384cat >>confdefs.h <<_ACEOF
20385#define HAVE_LDEXPL 1
20386_ACEOF
20387
20388  fi
20389
20390
20391
20392
20393  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20394$as_echo_n "checking for logf... " >&6; }
20395if ${gcc_cv_math_func_logf+:} false; then :
20396  $as_echo_n "(cached) " >&6
20397else
20398  if test x$gcc_no_link = xyes; then
20399  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20400fi
20401cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20402/* end confdefs.h.  */
20403
20404#ifdef HAVE_COMPLEX_H
20405#include <complex.h>
20406#endif
20407#ifdef HAVE_MATH_H
20408#include <math.h>
20409#endif
20410
20411int (*ptr)() = (int (*)())logf;
20412
20413int
20414main ()
20415{
20416  return 0;
20417}
20418
20419_ACEOF
20420if ac_fn_c_try_link "$LINENO"; then :
20421  gcc_cv_math_func_logf=yes
20422else
20423  gcc_cv_math_func_logf=no
20424fi
20425rm -f core conftest.err conftest.$ac_objext \
20426    conftest$ac_exeext conftest.$ac_ext
20427fi
20428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20429$as_echo "$gcc_cv_math_func_logf" >&6; }
20430  if test $gcc_cv_math_func_logf = yes; then
20431
20432cat >>confdefs.h <<_ACEOF
20433#define HAVE_LOGF 1
20434_ACEOF
20435
20436  fi
20437
20438
20439
20440
20441  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20442$as_echo_n "checking for log... " >&6; }
20443if ${gcc_cv_math_func_log+:} false; then :
20444  $as_echo_n "(cached) " >&6
20445else
20446  if test x$gcc_no_link = xyes; then
20447  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20448fi
20449cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20450/* end confdefs.h.  */
20451
20452#ifdef HAVE_COMPLEX_H
20453#include <complex.h>
20454#endif
20455#ifdef HAVE_MATH_H
20456#include <math.h>
20457#endif
20458
20459int (*ptr)() = (int (*)())log;
20460
20461int
20462main ()
20463{
20464  return 0;
20465}
20466
20467_ACEOF
20468if ac_fn_c_try_link "$LINENO"; then :
20469  gcc_cv_math_func_log=yes
20470else
20471  gcc_cv_math_func_log=no
20472fi
20473rm -f core conftest.err conftest.$ac_objext \
20474    conftest$ac_exeext conftest.$ac_ext
20475fi
20476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20477$as_echo "$gcc_cv_math_func_log" >&6; }
20478  if test $gcc_cv_math_func_log = yes; then
20479
20480cat >>confdefs.h <<_ACEOF
20481#define HAVE_LOG 1
20482_ACEOF
20483
20484  fi
20485
20486
20487
20488
20489  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20490$as_echo_n "checking for logl... " >&6; }
20491if ${gcc_cv_math_func_logl+:} false; then :
20492  $as_echo_n "(cached) " >&6
20493else
20494  if test x$gcc_no_link = xyes; then
20495  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20496fi
20497cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20498/* end confdefs.h.  */
20499
20500#ifdef HAVE_COMPLEX_H
20501#include <complex.h>
20502#endif
20503#ifdef HAVE_MATH_H
20504#include <math.h>
20505#endif
20506
20507int (*ptr)() = (int (*)())logl;
20508
20509int
20510main ()
20511{
20512  return 0;
20513}
20514
20515_ACEOF
20516if ac_fn_c_try_link "$LINENO"; then :
20517  gcc_cv_math_func_logl=yes
20518else
20519  gcc_cv_math_func_logl=no
20520fi
20521rm -f core conftest.err conftest.$ac_objext \
20522    conftest$ac_exeext conftest.$ac_ext
20523fi
20524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20525$as_echo "$gcc_cv_math_func_logl" >&6; }
20526  if test $gcc_cv_math_func_logl = yes; then
20527
20528cat >>confdefs.h <<_ACEOF
20529#define HAVE_LOGL 1
20530_ACEOF
20531
20532  fi
20533
20534
20535
20536
20537  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20538$as_echo_n "checking for clogf... " >&6; }
20539if ${gcc_cv_math_func_clogf+:} false; then :
20540  $as_echo_n "(cached) " >&6
20541else
20542  if test x$gcc_no_link = xyes; then
20543  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20544fi
20545cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20546/* end confdefs.h.  */
20547
20548#ifdef HAVE_COMPLEX_H
20549#include <complex.h>
20550#endif
20551#ifdef HAVE_MATH_H
20552#include <math.h>
20553#endif
20554
20555int (*ptr)() = (int (*)())clogf;
20556
20557int
20558main ()
20559{
20560  return 0;
20561}
20562
20563_ACEOF
20564if ac_fn_c_try_link "$LINENO"; then :
20565  gcc_cv_math_func_clogf=yes
20566else
20567  gcc_cv_math_func_clogf=no
20568fi
20569rm -f core conftest.err conftest.$ac_objext \
20570    conftest$ac_exeext conftest.$ac_ext
20571fi
20572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20573$as_echo "$gcc_cv_math_func_clogf" >&6; }
20574  if test $gcc_cv_math_func_clogf = yes; then
20575
20576cat >>confdefs.h <<_ACEOF
20577#define HAVE_CLOGF 1
20578_ACEOF
20579
20580  fi
20581
20582
20583
20584
20585  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20586$as_echo_n "checking for clog... " >&6; }
20587if ${gcc_cv_math_func_clog+:} false; then :
20588  $as_echo_n "(cached) " >&6
20589else
20590  if test x$gcc_no_link = xyes; then
20591  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20592fi
20593cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20594/* end confdefs.h.  */
20595
20596#ifdef HAVE_COMPLEX_H
20597#include <complex.h>
20598#endif
20599#ifdef HAVE_MATH_H
20600#include <math.h>
20601#endif
20602
20603int (*ptr)() = (int (*)())clog;
20604
20605int
20606main ()
20607{
20608  return 0;
20609}
20610
20611_ACEOF
20612if ac_fn_c_try_link "$LINENO"; then :
20613  gcc_cv_math_func_clog=yes
20614else
20615  gcc_cv_math_func_clog=no
20616fi
20617rm -f core conftest.err conftest.$ac_objext \
20618    conftest$ac_exeext conftest.$ac_ext
20619fi
20620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20621$as_echo "$gcc_cv_math_func_clog" >&6; }
20622  if test $gcc_cv_math_func_clog = yes; then
20623
20624cat >>confdefs.h <<_ACEOF
20625#define HAVE_CLOG 1
20626_ACEOF
20627
20628  fi
20629
20630
20631
20632
20633  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20634$as_echo_n "checking for clogl... " >&6; }
20635if ${gcc_cv_math_func_clogl+:} false; then :
20636  $as_echo_n "(cached) " >&6
20637else
20638  if test x$gcc_no_link = xyes; then
20639  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20640fi
20641cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20642/* end confdefs.h.  */
20643
20644#ifdef HAVE_COMPLEX_H
20645#include <complex.h>
20646#endif
20647#ifdef HAVE_MATH_H
20648#include <math.h>
20649#endif
20650
20651int (*ptr)() = (int (*)())clogl;
20652
20653int
20654main ()
20655{
20656  return 0;
20657}
20658
20659_ACEOF
20660if ac_fn_c_try_link "$LINENO"; then :
20661  gcc_cv_math_func_clogl=yes
20662else
20663  gcc_cv_math_func_clogl=no
20664fi
20665rm -f core conftest.err conftest.$ac_objext \
20666    conftest$ac_exeext conftest.$ac_ext
20667fi
20668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20669$as_echo "$gcc_cv_math_func_clogl" >&6; }
20670  if test $gcc_cv_math_func_clogl = yes; then
20671
20672cat >>confdefs.h <<_ACEOF
20673#define HAVE_CLOGL 1
20674_ACEOF
20675
20676  fi
20677
20678
20679
20680
20681  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20682$as_echo_n "checking for log10f... " >&6; }
20683if ${gcc_cv_math_func_log10f+:} false; then :
20684  $as_echo_n "(cached) " >&6
20685else
20686  if test x$gcc_no_link = xyes; then
20687  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20688fi
20689cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20690/* end confdefs.h.  */
20691
20692#ifdef HAVE_COMPLEX_H
20693#include <complex.h>
20694#endif
20695#ifdef HAVE_MATH_H
20696#include <math.h>
20697#endif
20698
20699int (*ptr)() = (int (*)())log10f;
20700
20701int
20702main ()
20703{
20704  return 0;
20705}
20706
20707_ACEOF
20708if ac_fn_c_try_link "$LINENO"; then :
20709  gcc_cv_math_func_log10f=yes
20710else
20711  gcc_cv_math_func_log10f=no
20712fi
20713rm -f core conftest.err conftest.$ac_objext \
20714    conftest$ac_exeext conftest.$ac_ext
20715fi
20716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20717$as_echo "$gcc_cv_math_func_log10f" >&6; }
20718  if test $gcc_cv_math_func_log10f = yes; then
20719
20720cat >>confdefs.h <<_ACEOF
20721#define HAVE_LOG10F 1
20722_ACEOF
20723
20724  fi
20725
20726
20727
20728
20729  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20730$as_echo_n "checking for log10... " >&6; }
20731if ${gcc_cv_math_func_log10+:} false; then :
20732  $as_echo_n "(cached) " >&6
20733else
20734  if test x$gcc_no_link = xyes; then
20735  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20736fi
20737cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20738/* end confdefs.h.  */
20739
20740#ifdef HAVE_COMPLEX_H
20741#include <complex.h>
20742#endif
20743#ifdef HAVE_MATH_H
20744#include <math.h>
20745#endif
20746
20747int (*ptr)() = (int (*)())log10;
20748
20749int
20750main ()
20751{
20752  return 0;
20753}
20754
20755_ACEOF
20756if ac_fn_c_try_link "$LINENO"; then :
20757  gcc_cv_math_func_log10=yes
20758else
20759  gcc_cv_math_func_log10=no
20760fi
20761rm -f core conftest.err conftest.$ac_objext \
20762    conftest$ac_exeext conftest.$ac_ext
20763fi
20764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20765$as_echo "$gcc_cv_math_func_log10" >&6; }
20766  if test $gcc_cv_math_func_log10 = yes; then
20767
20768cat >>confdefs.h <<_ACEOF
20769#define HAVE_LOG10 1
20770_ACEOF
20771
20772  fi
20773
20774
20775
20776
20777  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20778$as_echo_n "checking for log10l... " >&6; }
20779if ${gcc_cv_math_func_log10l+:} false; then :
20780  $as_echo_n "(cached) " >&6
20781else
20782  if test x$gcc_no_link = xyes; then
20783  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20784fi
20785cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20786/* end confdefs.h.  */
20787
20788#ifdef HAVE_COMPLEX_H
20789#include <complex.h>
20790#endif
20791#ifdef HAVE_MATH_H
20792#include <math.h>
20793#endif
20794
20795int (*ptr)() = (int (*)())log10l;
20796
20797int
20798main ()
20799{
20800  return 0;
20801}
20802
20803_ACEOF
20804if ac_fn_c_try_link "$LINENO"; then :
20805  gcc_cv_math_func_log10l=yes
20806else
20807  gcc_cv_math_func_log10l=no
20808fi
20809rm -f core conftest.err conftest.$ac_objext \
20810    conftest$ac_exeext conftest.$ac_ext
20811fi
20812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20813$as_echo "$gcc_cv_math_func_log10l" >&6; }
20814  if test $gcc_cv_math_func_log10l = yes; then
20815
20816cat >>confdefs.h <<_ACEOF
20817#define HAVE_LOG10L 1
20818_ACEOF
20819
20820  fi
20821
20822
20823
20824
20825  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20826$as_echo_n "checking for clog10f... " >&6; }
20827if ${gcc_cv_math_func_clog10f+:} false; then :
20828  $as_echo_n "(cached) " >&6
20829else
20830  if test x$gcc_no_link = xyes; then
20831  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20832fi
20833cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20834/* end confdefs.h.  */
20835
20836#ifdef HAVE_COMPLEX_H
20837#include <complex.h>
20838#endif
20839#ifdef HAVE_MATH_H
20840#include <math.h>
20841#endif
20842
20843int (*ptr)() = (int (*)())clog10f;
20844
20845int
20846main ()
20847{
20848  return 0;
20849}
20850
20851_ACEOF
20852if ac_fn_c_try_link "$LINENO"; then :
20853  gcc_cv_math_func_clog10f=yes
20854else
20855  gcc_cv_math_func_clog10f=no
20856fi
20857rm -f core conftest.err conftest.$ac_objext \
20858    conftest$ac_exeext conftest.$ac_ext
20859fi
20860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20861$as_echo "$gcc_cv_math_func_clog10f" >&6; }
20862  if test $gcc_cv_math_func_clog10f = yes; then
20863
20864cat >>confdefs.h <<_ACEOF
20865#define HAVE_CLOG10F 1
20866_ACEOF
20867
20868  fi
20869
20870
20871
20872
20873  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20874$as_echo_n "checking for clog10... " >&6; }
20875if ${gcc_cv_math_func_clog10+:} false; then :
20876  $as_echo_n "(cached) " >&6
20877else
20878  if test x$gcc_no_link = xyes; then
20879  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20880fi
20881cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20882/* end confdefs.h.  */
20883
20884#ifdef HAVE_COMPLEX_H
20885#include <complex.h>
20886#endif
20887#ifdef HAVE_MATH_H
20888#include <math.h>
20889#endif
20890
20891int (*ptr)() = (int (*)())clog10;
20892
20893int
20894main ()
20895{
20896  return 0;
20897}
20898
20899_ACEOF
20900if ac_fn_c_try_link "$LINENO"; then :
20901  gcc_cv_math_func_clog10=yes
20902else
20903  gcc_cv_math_func_clog10=no
20904fi
20905rm -f core conftest.err conftest.$ac_objext \
20906    conftest$ac_exeext conftest.$ac_ext
20907fi
20908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20909$as_echo "$gcc_cv_math_func_clog10" >&6; }
20910  if test $gcc_cv_math_func_clog10 = yes; then
20911
20912cat >>confdefs.h <<_ACEOF
20913#define HAVE_CLOG10 1
20914_ACEOF
20915
20916  fi
20917
20918
20919
20920
20921  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20922$as_echo_n "checking for clog10l... " >&6; }
20923if ${gcc_cv_math_func_clog10l+:} false; then :
20924  $as_echo_n "(cached) " >&6
20925else
20926  if test x$gcc_no_link = xyes; then
20927  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20928fi
20929cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20930/* end confdefs.h.  */
20931
20932#ifdef HAVE_COMPLEX_H
20933#include <complex.h>
20934#endif
20935#ifdef HAVE_MATH_H
20936#include <math.h>
20937#endif
20938
20939int (*ptr)() = (int (*)())clog10l;
20940
20941int
20942main ()
20943{
20944  return 0;
20945}
20946
20947_ACEOF
20948if ac_fn_c_try_link "$LINENO"; then :
20949  gcc_cv_math_func_clog10l=yes
20950else
20951  gcc_cv_math_func_clog10l=no
20952fi
20953rm -f core conftest.err conftest.$ac_objext \
20954    conftest$ac_exeext conftest.$ac_ext
20955fi
20956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20957$as_echo "$gcc_cv_math_func_clog10l" >&6; }
20958  if test $gcc_cv_math_func_clog10l = yes; then
20959
20960cat >>confdefs.h <<_ACEOF
20961#define HAVE_CLOG10L 1
20962_ACEOF
20963
20964  fi
20965
20966
20967
20968
20969  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20970$as_echo_n "checking for nextafterf... " >&6; }
20971if ${gcc_cv_math_func_nextafterf+:} false; then :
20972  $as_echo_n "(cached) " >&6
20973else
20974  if test x$gcc_no_link = xyes; then
20975  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20976fi
20977cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20978/* end confdefs.h.  */
20979
20980#ifdef HAVE_COMPLEX_H
20981#include <complex.h>
20982#endif
20983#ifdef HAVE_MATH_H
20984#include <math.h>
20985#endif
20986
20987int (*ptr)() = (int (*)())nextafterf;
20988
20989int
20990main ()
20991{
20992  return 0;
20993}
20994
20995_ACEOF
20996if ac_fn_c_try_link "$LINENO"; then :
20997  gcc_cv_math_func_nextafterf=yes
20998else
20999  gcc_cv_math_func_nextafterf=no
21000fi
21001rm -f core conftest.err conftest.$ac_objext \
21002    conftest$ac_exeext conftest.$ac_ext
21003fi
21004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21005$as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21006  if test $gcc_cv_math_func_nextafterf = yes; then
21007
21008cat >>confdefs.h <<_ACEOF
21009#define HAVE_NEXTAFTERF 1
21010_ACEOF
21011
21012  fi
21013
21014
21015
21016
21017  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21018$as_echo_n "checking for nextafter... " >&6; }
21019if ${gcc_cv_math_func_nextafter+:} false; then :
21020  $as_echo_n "(cached) " >&6
21021else
21022  if test x$gcc_no_link = xyes; then
21023  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21024fi
21025cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21026/* end confdefs.h.  */
21027
21028#ifdef HAVE_COMPLEX_H
21029#include <complex.h>
21030#endif
21031#ifdef HAVE_MATH_H
21032#include <math.h>
21033#endif
21034
21035int (*ptr)() = (int (*)())nextafter;
21036
21037int
21038main ()
21039{
21040  return 0;
21041}
21042
21043_ACEOF
21044if ac_fn_c_try_link "$LINENO"; then :
21045  gcc_cv_math_func_nextafter=yes
21046else
21047  gcc_cv_math_func_nextafter=no
21048fi
21049rm -f core conftest.err conftest.$ac_objext \
21050    conftest$ac_exeext conftest.$ac_ext
21051fi
21052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21053$as_echo "$gcc_cv_math_func_nextafter" >&6; }
21054  if test $gcc_cv_math_func_nextafter = yes; then
21055
21056cat >>confdefs.h <<_ACEOF
21057#define HAVE_NEXTAFTER 1
21058_ACEOF
21059
21060  fi
21061
21062
21063
21064
21065  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21066$as_echo_n "checking for nextafterl... " >&6; }
21067if ${gcc_cv_math_func_nextafterl+:} false; then :
21068  $as_echo_n "(cached) " >&6
21069else
21070  if test x$gcc_no_link = xyes; then
21071  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21072fi
21073cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21074/* end confdefs.h.  */
21075
21076#ifdef HAVE_COMPLEX_H
21077#include <complex.h>
21078#endif
21079#ifdef HAVE_MATH_H
21080#include <math.h>
21081#endif
21082
21083int (*ptr)() = (int (*)())nextafterl;
21084
21085int
21086main ()
21087{
21088  return 0;
21089}
21090
21091_ACEOF
21092if ac_fn_c_try_link "$LINENO"; then :
21093  gcc_cv_math_func_nextafterl=yes
21094else
21095  gcc_cv_math_func_nextafterl=no
21096fi
21097rm -f core conftest.err conftest.$ac_objext \
21098    conftest$ac_exeext conftest.$ac_ext
21099fi
21100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21101$as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21102  if test $gcc_cv_math_func_nextafterl = yes; then
21103
21104cat >>confdefs.h <<_ACEOF
21105#define HAVE_NEXTAFTERL 1
21106_ACEOF
21107
21108  fi
21109
21110
21111
21112
21113  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21114$as_echo_n "checking for powf... " >&6; }
21115if ${gcc_cv_math_func_powf+:} false; then :
21116  $as_echo_n "(cached) " >&6
21117else
21118  if test x$gcc_no_link = xyes; then
21119  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21120fi
21121cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21122/* end confdefs.h.  */
21123
21124#ifdef HAVE_COMPLEX_H
21125#include <complex.h>
21126#endif
21127#ifdef HAVE_MATH_H
21128#include <math.h>
21129#endif
21130
21131int (*ptr)() = (int (*)())powf;
21132
21133int
21134main ()
21135{
21136  return 0;
21137}
21138
21139_ACEOF
21140if ac_fn_c_try_link "$LINENO"; then :
21141  gcc_cv_math_func_powf=yes
21142else
21143  gcc_cv_math_func_powf=no
21144fi
21145rm -f core conftest.err conftest.$ac_objext \
21146    conftest$ac_exeext conftest.$ac_ext
21147fi
21148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21149$as_echo "$gcc_cv_math_func_powf" >&6; }
21150  if test $gcc_cv_math_func_powf = yes; then
21151
21152cat >>confdefs.h <<_ACEOF
21153#define HAVE_POWF 1
21154_ACEOF
21155
21156  fi
21157
21158
21159
21160
21161  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21162$as_echo_n "checking for pow... " >&6; }
21163if ${gcc_cv_math_func_pow+:} false; then :
21164  $as_echo_n "(cached) " >&6
21165else
21166  if test x$gcc_no_link = xyes; then
21167  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21168fi
21169cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21170/* end confdefs.h.  */
21171
21172#ifdef HAVE_COMPLEX_H
21173#include <complex.h>
21174#endif
21175#ifdef HAVE_MATH_H
21176#include <math.h>
21177#endif
21178
21179int (*ptr)() = (int (*)())pow;
21180
21181int
21182main ()
21183{
21184  return 0;
21185}
21186
21187_ACEOF
21188if ac_fn_c_try_link "$LINENO"; then :
21189  gcc_cv_math_func_pow=yes
21190else
21191  gcc_cv_math_func_pow=no
21192fi
21193rm -f core conftest.err conftest.$ac_objext \
21194    conftest$ac_exeext conftest.$ac_ext
21195fi
21196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21197$as_echo "$gcc_cv_math_func_pow" >&6; }
21198  if test $gcc_cv_math_func_pow = yes; then
21199
21200cat >>confdefs.h <<_ACEOF
21201#define HAVE_POW 1
21202_ACEOF
21203
21204  fi
21205
21206
21207
21208
21209  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21210$as_echo_n "checking for cpowf... " >&6; }
21211if ${gcc_cv_math_func_cpowf+:} false; then :
21212  $as_echo_n "(cached) " >&6
21213else
21214  if test x$gcc_no_link = xyes; then
21215  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21216fi
21217cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21218/* end confdefs.h.  */
21219
21220#ifdef HAVE_COMPLEX_H
21221#include <complex.h>
21222#endif
21223#ifdef HAVE_MATH_H
21224#include <math.h>
21225#endif
21226
21227int (*ptr)() = (int (*)())cpowf;
21228
21229int
21230main ()
21231{
21232  return 0;
21233}
21234
21235_ACEOF
21236if ac_fn_c_try_link "$LINENO"; then :
21237  gcc_cv_math_func_cpowf=yes
21238else
21239  gcc_cv_math_func_cpowf=no
21240fi
21241rm -f core conftest.err conftest.$ac_objext \
21242    conftest$ac_exeext conftest.$ac_ext
21243fi
21244{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21245$as_echo "$gcc_cv_math_func_cpowf" >&6; }
21246  if test $gcc_cv_math_func_cpowf = yes; then
21247
21248cat >>confdefs.h <<_ACEOF
21249#define HAVE_CPOWF 1
21250_ACEOF
21251
21252  fi
21253
21254
21255
21256
21257  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21258$as_echo_n "checking for cpow... " >&6; }
21259if ${gcc_cv_math_func_cpow+:} false; then :
21260  $as_echo_n "(cached) " >&6
21261else
21262  if test x$gcc_no_link = xyes; then
21263  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21264fi
21265cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21266/* end confdefs.h.  */
21267
21268#ifdef HAVE_COMPLEX_H
21269#include <complex.h>
21270#endif
21271#ifdef HAVE_MATH_H
21272#include <math.h>
21273#endif
21274
21275int (*ptr)() = (int (*)())cpow;
21276
21277int
21278main ()
21279{
21280  return 0;
21281}
21282
21283_ACEOF
21284if ac_fn_c_try_link "$LINENO"; then :
21285  gcc_cv_math_func_cpow=yes
21286else
21287  gcc_cv_math_func_cpow=no
21288fi
21289rm -f core conftest.err conftest.$ac_objext \
21290    conftest$ac_exeext conftest.$ac_ext
21291fi
21292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21293$as_echo "$gcc_cv_math_func_cpow" >&6; }
21294  if test $gcc_cv_math_func_cpow = yes; then
21295
21296cat >>confdefs.h <<_ACEOF
21297#define HAVE_CPOW 1
21298_ACEOF
21299
21300  fi
21301
21302
21303
21304
21305  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21306$as_echo_n "checking for cpowl... " >&6; }
21307if ${gcc_cv_math_func_cpowl+:} false; then :
21308  $as_echo_n "(cached) " >&6
21309else
21310  if test x$gcc_no_link = xyes; then
21311  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21312fi
21313cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21314/* end confdefs.h.  */
21315
21316#ifdef HAVE_COMPLEX_H
21317#include <complex.h>
21318#endif
21319#ifdef HAVE_MATH_H
21320#include <math.h>
21321#endif
21322
21323int (*ptr)() = (int (*)())cpowl;
21324
21325int
21326main ()
21327{
21328  return 0;
21329}
21330
21331_ACEOF
21332if ac_fn_c_try_link "$LINENO"; then :
21333  gcc_cv_math_func_cpowl=yes
21334else
21335  gcc_cv_math_func_cpowl=no
21336fi
21337rm -f core conftest.err conftest.$ac_objext \
21338    conftest$ac_exeext conftest.$ac_ext
21339fi
21340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21341$as_echo "$gcc_cv_math_func_cpowl" >&6; }
21342  if test $gcc_cv_math_func_cpowl = yes; then
21343
21344cat >>confdefs.h <<_ACEOF
21345#define HAVE_CPOWL 1
21346_ACEOF
21347
21348  fi
21349
21350
21351
21352
21353  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21354$as_echo_n "checking for roundf... " >&6; }
21355if ${gcc_cv_math_func_roundf+:} false; then :
21356  $as_echo_n "(cached) " >&6
21357else
21358  if test x$gcc_no_link = xyes; then
21359  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21360fi
21361cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21362/* end confdefs.h.  */
21363
21364#ifdef HAVE_COMPLEX_H
21365#include <complex.h>
21366#endif
21367#ifdef HAVE_MATH_H
21368#include <math.h>
21369#endif
21370
21371int (*ptr)() = (int (*)())roundf;
21372
21373int
21374main ()
21375{
21376  return 0;
21377}
21378
21379_ACEOF
21380if ac_fn_c_try_link "$LINENO"; then :
21381  gcc_cv_math_func_roundf=yes
21382else
21383  gcc_cv_math_func_roundf=no
21384fi
21385rm -f core conftest.err conftest.$ac_objext \
21386    conftest$ac_exeext conftest.$ac_ext
21387fi
21388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21389$as_echo "$gcc_cv_math_func_roundf" >&6; }
21390  if test $gcc_cv_math_func_roundf = yes; then
21391
21392cat >>confdefs.h <<_ACEOF
21393#define HAVE_ROUNDF 1
21394_ACEOF
21395
21396  fi
21397
21398
21399
21400
21401  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21402$as_echo_n "checking for round... " >&6; }
21403if ${gcc_cv_math_func_round+:} false; then :
21404  $as_echo_n "(cached) " >&6
21405else
21406  if test x$gcc_no_link = xyes; then
21407  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21408fi
21409cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21410/* end confdefs.h.  */
21411
21412#ifdef HAVE_COMPLEX_H
21413#include <complex.h>
21414#endif
21415#ifdef HAVE_MATH_H
21416#include <math.h>
21417#endif
21418
21419int (*ptr)() = (int (*)())round;
21420
21421int
21422main ()
21423{
21424  return 0;
21425}
21426
21427_ACEOF
21428if ac_fn_c_try_link "$LINENO"; then :
21429  gcc_cv_math_func_round=yes
21430else
21431  gcc_cv_math_func_round=no
21432fi
21433rm -f core conftest.err conftest.$ac_objext \
21434    conftest$ac_exeext conftest.$ac_ext
21435fi
21436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21437$as_echo "$gcc_cv_math_func_round" >&6; }
21438  if test $gcc_cv_math_func_round = yes; then
21439
21440cat >>confdefs.h <<_ACEOF
21441#define HAVE_ROUND 1
21442_ACEOF
21443
21444  fi
21445
21446
21447
21448
21449  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21450$as_echo_n "checking for roundl... " >&6; }
21451if ${gcc_cv_math_func_roundl+:} false; then :
21452  $as_echo_n "(cached) " >&6
21453else
21454  if test x$gcc_no_link = xyes; then
21455  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21456fi
21457cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21458/* end confdefs.h.  */
21459
21460#ifdef HAVE_COMPLEX_H
21461#include <complex.h>
21462#endif
21463#ifdef HAVE_MATH_H
21464#include <math.h>
21465#endif
21466
21467int (*ptr)() = (int (*)())roundl;
21468
21469int
21470main ()
21471{
21472  return 0;
21473}
21474
21475_ACEOF
21476if ac_fn_c_try_link "$LINENO"; then :
21477  gcc_cv_math_func_roundl=yes
21478else
21479  gcc_cv_math_func_roundl=no
21480fi
21481rm -f core conftest.err conftest.$ac_objext \
21482    conftest$ac_exeext conftest.$ac_ext
21483fi
21484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21485$as_echo "$gcc_cv_math_func_roundl" >&6; }
21486  if test $gcc_cv_math_func_roundl = yes; then
21487
21488cat >>confdefs.h <<_ACEOF
21489#define HAVE_ROUNDL 1
21490_ACEOF
21491
21492  fi
21493
21494
21495
21496
21497  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21498$as_echo_n "checking for lroundf... " >&6; }
21499if ${gcc_cv_math_func_lroundf+:} false; then :
21500  $as_echo_n "(cached) " >&6
21501else
21502  if test x$gcc_no_link = xyes; then
21503  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21504fi
21505cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21506/* end confdefs.h.  */
21507
21508#ifdef HAVE_COMPLEX_H
21509#include <complex.h>
21510#endif
21511#ifdef HAVE_MATH_H
21512#include <math.h>
21513#endif
21514
21515int (*ptr)() = (int (*)())lroundf;
21516
21517int
21518main ()
21519{
21520  return 0;
21521}
21522
21523_ACEOF
21524if ac_fn_c_try_link "$LINENO"; then :
21525  gcc_cv_math_func_lroundf=yes
21526else
21527  gcc_cv_math_func_lroundf=no
21528fi
21529rm -f core conftest.err conftest.$ac_objext \
21530    conftest$ac_exeext conftest.$ac_ext
21531fi
21532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21533$as_echo "$gcc_cv_math_func_lroundf" >&6; }
21534  if test $gcc_cv_math_func_lroundf = yes; then
21535
21536cat >>confdefs.h <<_ACEOF
21537#define HAVE_LROUNDF 1
21538_ACEOF
21539
21540  fi
21541
21542
21543
21544
21545  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21546$as_echo_n "checking for lround... " >&6; }
21547if ${gcc_cv_math_func_lround+:} false; then :
21548  $as_echo_n "(cached) " >&6
21549else
21550  if test x$gcc_no_link = xyes; then
21551  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21552fi
21553cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21554/* end confdefs.h.  */
21555
21556#ifdef HAVE_COMPLEX_H
21557#include <complex.h>
21558#endif
21559#ifdef HAVE_MATH_H
21560#include <math.h>
21561#endif
21562
21563int (*ptr)() = (int (*)())lround;
21564
21565int
21566main ()
21567{
21568  return 0;
21569}
21570
21571_ACEOF
21572if ac_fn_c_try_link "$LINENO"; then :
21573  gcc_cv_math_func_lround=yes
21574else
21575  gcc_cv_math_func_lround=no
21576fi
21577rm -f core conftest.err conftest.$ac_objext \
21578    conftest$ac_exeext conftest.$ac_ext
21579fi
21580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21581$as_echo "$gcc_cv_math_func_lround" >&6; }
21582  if test $gcc_cv_math_func_lround = yes; then
21583
21584cat >>confdefs.h <<_ACEOF
21585#define HAVE_LROUND 1
21586_ACEOF
21587
21588  fi
21589
21590
21591
21592
21593  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21594$as_echo_n "checking for lroundl... " >&6; }
21595if ${gcc_cv_math_func_lroundl+:} false; then :
21596  $as_echo_n "(cached) " >&6
21597else
21598  if test x$gcc_no_link = xyes; then
21599  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21600fi
21601cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21602/* end confdefs.h.  */
21603
21604#ifdef HAVE_COMPLEX_H
21605#include <complex.h>
21606#endif
21607#ifdef HAVE_MATH_H
21608#include <math.h>
21609#endif
21610
21611int (*ptr)() = (int (*)())lroundl;
21612
21613int
21614main ()
21615{
21616  return 0;
21617}
21618
21619_ACEOF
21620if ac_fn_c_try_link "$LINENO"; then :
21621  gcc_cv_math_func_lroundl=yes
21622else
21623  gcc_cv_math_func_lroundl=no
21624fi
21625rm -f core conftest.err conftest.$ac_objext \
21626    conftest$ac_exeext conftest.$ac_ext
21627fi
21628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21629$as_echo "$gcc_cv_math_func_lroundl" >&6; }
21630  if test $gcc_cv_math_func_lroundl = yes; then
21631
21632cat >>confdefs.h <<_ACEOF
21633#define HAVE_LROUNDL 1
21634_ACEOF
21635
21636  fi
21637
21638
21639
21640
21641  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21642$as_echo_n "checking for llroundf... " >&6; }
21643if ${gcc_cv_math_func_llroundf+:} false; then :
21644  $as_echo_n "(cached) " >&6
21645else
21646  if test x$gcc_no_link = xyes; then
21647  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21648fi
21649cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21650/* end confdefs.h.  */
21651
21652#ifdef HAVE_COMPLEX_H
21653#include <complex.h>
21654#endif
21655#ifdef HAVE_MATH_H
21656#include <math.h>
21657#endif
21658
21659int (*ptr)() = (int (*)())llroundf;
21660
21661int
21662main ()
21663{
21664  return 0;
21665}
21666
21667_ACEOF
21668if ac_fn_c_try_link "$LINENO"; then :
21669  gcc_cv_math_func_llroundf=yes
21670else
21671  gcc_cv_math_func_llroundf=no
21672fi
21673rm -f core conftest.err conftest.$ac_objext \
21674    conftest$ac_exeext conftest.$ac_ext
21675fi
21676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21677$as_echo "$gcc_cv_math_func_llroundf" >&6; }
21678  if test $gcc_cv_math_func_llroundf = yes; then
21679
21680cat >>confdefs.h <<_ACEOF
21681#define HAVE_LLROUNDF 1
21682_ACEOF
21683
21684  fi
21685
21686
21687
21688
21689  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21690$as_echo_n "checking for llround... " >&6; }
21691if ${gcc_cv_math_func_llround+:} false; then :
21692  $as_echo_n "(cached) " >&6
21693else
21694  if test x$gcc_no_link = xyes; then
21695  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21696fi
21697cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21698/* end confdefs.h.  */
21699
21700#ifdef HAVE_COMPLEX_H
21701#include <complex.h>
21702#endif
21703#ifdef HAVE_MATH_H
21704#include <math.h>
21705#endif
21706
21707int (*ptr)() = (int (*)())llround;
21708
21709int
21710main ()
21711{
21712  return 0;
21713}
21714
21715_ACEOF
21716if ac_fn_c_try_link "$LINENO"; then :
21717  gcc_cv_math_func_llround=yes
21718else
21719  gcc_cv_math_func_llround=no
21720fi
21721rm -f core conftest.err conftest.$ac_objext \
21722    conftest$ac_exeext conftest.$ac_ext
21723fi
21724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21725$as_echo "$gcc_cv_math_func_llround" >&6; }
21726  if test $gcc_cv_math_func_llround = yes; then
21727
21728cat >>confdefs.h <<_ACEOF
21729#define HAVE_LLROUND 1
21730_ACEOF
21731
21732  fi
21733
21734
21735
21736
21737  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21738$as_echo_n "checking for llroundl... " >&6; }
21739if ${gcc_cv_math_func_llroundl+:} false; then :
21740  $as_echo_n "(cached) " >&6
21741else
21742  if test x$gcc_no_link = xyes; then
21743  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21744fi
21745cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21746/* end confdefs.h.  */
21747
21748#ifdef HAVE_COMPLEX_H
21749#include <complex.h>
21750#endif
21751#ifdef HAVE_MATH_H
21752#include <math.h>
21753#endif
21754
21755int (*ptr)() = (int (*)())llroundl;
21756
21757int
21758main ()
21759{
21760  return 0;
21761}
21762
21763_ACEOF
21764if ac_fn_c_try_link "$LINENO"; then :
21765  gcc_cv_math_func_llroundl=yes
21766else
21767  gcc_cv_math_func_llroundl=no
21768fi
21769rm -f core conftest.err conftest.$ac_objext \
21770    conftest$ac_exeext conftest.$ac_ext
21771fi
21772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21773$as_echo "$gcc_cv_math_func_llroundl" >&6; }
21774  if test $gcc_cv_math_func_llroundl = yes; then
21775
21776cat >>confdefs.h <<_ACEOF
21777#define HAVE_LLROUNDL 1
21778_ACEOF
21779
21780  fi
21781
21782
21783
21784
21785  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21786$as_echo_n "checking for scalbnf... " >&6; }
21787if ${gcc_cv_math_func_scalbnf+:} false; then :
21788  $as_echo_n "(cached) " >&6
21789else
21790  if test x$gcc_no_link = xyes; then
21791  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21792fi
21793cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21794/* end confdefs.h.  */
21795
21796#ifdef HAVE_COMPLEX_H
21797#include <complex.h>
21798#endif
21799#ifdef HAVE_MATH_H
21800#include <math.h>
21801#endif
21802
21803int (*ptr)() = (int (*)())scalbnf;
21804
21805int
21806main ()
21807{
21808  return 0;
21809}
21810
21811_ACEOF
21812if ac_fn_c_try_link "$LINENO"; then :
21813  gcc_cv_math_func_scalbnf=yes
21814else
21815  gcc_cv_math_func_scalbnf=no
21816fi
21817rm -f core conftest.err conftest.$ac_objext \
21818    conftest$ac_exeext conftest.$ac_ext
21819fi
21820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21821$as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21822  if test $gcc_cv_math_func_scalbnf = yes; then
21823
21824cat >>confdefs.h <<_ACEOF
21825#define HAVE_SCALBNF 1
21826_ACEOF
21827
21828  fi
21829
21830
21831
21832
21833  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21834$as_echo_n "checking for scalbn... " >&6; }
21835if ${gcc_cv_math_func_scalbn+:} false; then :
21836  $as_echo_n "(cached) " >&6
21837else
21838  if test x$gcc_no_link = xyes; then
21839  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21840fi
21841cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21842/* end confdefs.h.  */
21843
21844#ifdef HAVE_COMPLEX_H
21845#include <complex.h>
21846#endif
21847#ifdef HAVE_MATH_H
21848#include <math.h>
21849#endif
21850
21851int (*ptr)() = (int (*)())scalbn;
21852
21853int
21854main ()
21855{
21856  return 0;
21857}
21858
21859_ACEOF
21860if ac_fn_c_try_link "$LINENO"; then :
21861  gcc_cv_math_func_scalbn=yes
21862else
21863  gcc_cv_math_func_scalbn=no
21864fi
21865rm -f core conftest.err conftest.$ac_objext \
21866    conftest$ac_exeext conftest.$ac_ext
21867fi
21868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21869$as_echo "$gcc_cv_math_func_scalbn" >&6; }
21870  if test $gcc_cv_math_func_scalbn = yes; then
21871
21872cat >>confdefs.h <<_ACEOF
21873#define HAVE_SCALBN 1
21874_ACEOF
21875
21876  fi
21877
21878
21879
21880
21881  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21882$as_echo_n "checking for scalbnl... " >&6; }
21883if ${gcc_cv_math_func_scalbnl+:} false; then :
21884  $as_echo_n "(cached) " >&6
21885else
21886  if test x$gcc_no_link = xyes; then
21887  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21888fi
21889cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21890/* end confdefs.h.  */
21891
21892#ifdef HAVE_COMPLEX_H
21893#include <complex.h>
21894#endif
21895#ifdef HAVE_MATH_H
21896#include <math.h>
21897#endif
21898
21899int (*ptr)() = (int (*)())scalbnl;
21900
21901int
21902main ()
21903{
21904  return 0;
21905}
21906
21907_ACEOF
21908if ac_fn_c_try_link "$LINENO"; then :
21909  gcc_cv_math_func_scalbnl=yes
21910else
21911  gcc_cv_math_func_scalbnl=no
21912fi
21913rm -f core conftest.err conftest.$ac_objext \
21914    conftest$ac_exeext conftest.$ac_ext
21915fi
21916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21917$as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21918  if test $gcc_cv_math_func_scalbnl = yes; then
21919
21920cat >>confdefs.h <<_ACEOF
21921#define HAVE_SCALBNL 1
21922_ACEOF
21923
21924  fi
21925
21926
21927
21928
21929  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21930$as_echo_n "checking for sinf... " >&6; }
21931if ${gcc_cv_math_func_sinf+:} false; then :
21932  $as_echo_n "(cached) " >&6
21933else
21934  if test x$gcc_no_link = xyes; then
21935  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21936fi
21937cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21938/* end confdefs.h.  */
21939
21940#ifdef HAVE_COMPLEX_H
21941#include <complex.h>
21942#endif
21943#ifdef HAVE_MATH_H
21944#include <math.h>
21945#endif
21946
21947int (*ptr)() = (int (*)())sinf;
21948
21949int
21950main ()
21951{
21952  return 0;
21953}
21954
21955_ACEOF
21956if ac_fn_c_try_link "$LINENO"; then :
21957  gcc_cv_math_func_sinf=yes
21958else
21959  gcc_cv_math_func_sinf=no
21960fi
21961rm -f core conftest.err conftest.$ac_objext \
21962    conftest$ac_exeext conftest.$ac_ext
21963fi
21964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21965$as_echo "$gcc_cv_math_func_sinf" >&6; }
21966  if test $gcc_cv_math_func_sinf = yes; then
21967
21968cat >>confdefs.h <<_ACEOF
21969#define HAVE_SINF 1
21970_ACEOF
21971
21972  fi
21973
21974
21975
21976
21977  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21978$as_echo_n "checking for sin... " >&6; }
21979if ${gcc_cv_math_func_sin+:} false; then :
21980  $as_echo_n "(cached) " >&6
21981else
21982  if test x$gcc_no_link = xyes; then
21983  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21984fi
21985cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21986/* end confdefs.h.  */
21987
21988#ifdef HAVE_COMPLEX_H
21989#include <complex.h>
21990#endif
21991#ifdef HAVE_MATH_H
21992#include <math.h>
21993#endif
21994
21995int (*ptr)() = (int (*)())sin;
21996
21997int
21998main ()
21999{
22000  return 0;
22001}
22002
22003_ACEOF
22004if ac_fn_c_try_link "$LINENO"; then :
22005  gcc_cv_math_func_sin=yes
22006else
22007  gcc_cv_math_func_sin=no
22008fi
22009rm -f core conftest.err conftest.$ac_objext \
22010    conftest$ac_exeext conftest.$ac_ext
22011fi
22012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22013$as_echo "$gcc_cv_math_func_sin" >&6; }
22014  if test $gcc_cv_math_func_sin = yes; then
22015
22016cat >>confdefs.h <<_ACEOF
22017#define HAVE_SIN 1
22018_ACEOF
22019
22020  fi
22021
22022
22023
22024
22025  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22026$as_echo_n "checking for sinl... " >&6; }
22027if ${gcc_cv_math_func_sinl+:} false; then :
22028  $as_echo_n "(cached) " >&6
22029else
22030  if test x$gcc_no_link = xyes; then
22031  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22032fi
22033cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22034/* end confdefs.h.  */
22035
22036#ifdef HAVE_COMPLEX_H
22037#include <complex.h>
22038#endif
22039#ifdef HAVE_MATH_H
22040#include <math.h>
22041#endif
22042
22043int (*ptr)() = (int (*)())sinl;
22044
22045int
22046main ()
22047{
22048  return 0;
22049}
22050
22051_ACEOF
22052if ac_fn_c_try_link "$LINENO"; then :
22053  gcc_cv_math_func_sinl=yes
22054else
22055  gcc_cv_math_func_sinl=no
22056fi
22057rm -f core conftest.err conftest.$ac_objext \
22058    conftest$ac_exeext conftest.$ac_ext
22059fi
22060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22061$as_echo "$gcc_cv_math_func_sinl" >&6; }
22062  if test $gcc_cv_math_func_sinl = yes; then
22063
22064cat >>confdefs.h <<_ACEOF
22065#define HAVE_SINL 1
22066_ACEOF
22067
22068  fi
22069
22070
22071
22072
22073  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22074$as_echo_n "checking for csinf... " >&6; }
22075if ${gcc_cv_math_func_csinf+:} false; then :
22076  $as_echo_n "(cached) " >&6
22077else
22078  if test x$gcc_no_link = xyes; then
22079  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22080fi
22081cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22082/* end confdefs.h.  */
22083
22084#ifdef HAVE_COMPLEX_H
22085#include <complex.h>
22086#endif
22087#ifdef HAVE_MATH_H
22088#include <math.h>
22089#endif
22090
22091int (*ptr)() = (int (*)())csinf;
22092
22093int
22094main ()
22095{
22096  return 0;
22097}
22098
22099_ACEOF
22100if ac_fn_c_try_link "$LINENO"; then :
22101  gcc_cv_math_func_csinf=yes
22102else
22103  gcc_cv_math_func_csinf=no
22104fi
22105rm -f core conftest.err conftest.$ac_objext \
22106    conftest$ac_exeext conftest.$ac_ext
22107fi
22108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22109$as_echo "$gcc_cv_math_func_csinf" >&6; }
22110  if test $gcc_cv_math_func_csinf = yes; then
22111
22112cat >>confdefs.h <<_ACEOF
22113#define HAVE_CSINF 1
22114_ACEOF
22115
22116  fi
22117
22118
22119
22120
22121  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22122$as_echo_n "checking for csin... " >&6; }
22123if ${gcc_cv_math_func_csin+:} false; then :
22124  $as_echo_n "(cached) " >&6
22125else
22126  if test x$gcc_no_link = xyes; then
22127  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22128fi
22129cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22130/* end confdefs.h.  */
22131
22132#ifdef HAVE_COMPLEX_H
22133#include <complex.h>
22134#endif
22135#ifdef HAVE_MATH_H
22136#include <math.h>
22137#endif
22138
22139int (*ptr)() = (int (*)())csin;
22140
22141int
22142main ()
22143{
22144  return 0;
22145}
22146
22147_ACEOF
22148if ac_fn_c_try_link "$LINENO"; then :
22149  gcc_cv_math_func_csin=yes
22150else
22151  gcc_cv_math_func_csin=no
22152fi
22153rm -f core conftest.err conftest.$ac_objext \
22154    conftest$ac_exeext conftest.$ac_ext
22155fi
22156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22157$as_echo "$gcc_cv_math_func_csin" >&6; }
22158  if test $gcc_cv_math_func_csin = yes; then
22159
22160cat >>confdefs.h <<_ACEOF
22161#define HAVE_CSIN 1
22162_ACEOF
22163
22164  fi
22165
22166
22167
22168
22169  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22170$as_echo_n "checking for csinl... " >&6; }
22171if ${gcc_cv_math_func_csinl+:} false; then :
22172  $as_echo_n "(cached) " >&6
22173else
22174  if test x$gcc_no_link = xyes; then
22175  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22176fi
22177cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22178/* end confdefs.h.  */
22179
22180#ifdef HAVE_COMPLEX_H
22181#include <complex.h>
22182#endif
22183#ifdef HAVE_MATH_H
22184#include <math.h>
22185#endif
22186
22187int (*ptr)() = (int (*)())csinl;
22188
22189int
22190main ()
22191{
22192  return 0;
22193}
22194
22195_ACEOF
22196if ac_fn_c_try_link "$LINENO"; then :
22197  gcc_cv_math_func_csinl=yes
22198else
22199  gcc_cv_math_func_csinl=no
22200fi
22201rm -f core conftest.err conftest.$ac_objext \
22202    conftest$ac_exeext conftest.$ac_ext
22203fi
22204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22205$as_echo "$gcc_cv_math_func_csinl" >&6; }
22206  if test $gcc_cv_math_func_csinl = yes; then
22207
22208cat >>confdefs.h <<_ACEOF
22209#define HAVE_CSINL 1
22210_ACEOF
22211
22212  fi
22213
22214
22215
22216
22217  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22218$as_echo_n "checking for sinhf... " >&6; }
22219if ${gcc_cv_math_func_sinhf+:} false; then :
22220  $as_echo_n "(cached) " >&6
22221else
22222  if test x$gcc_no_link = xyes; then
22223  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22224fi
22225cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22226/* end confdefs.h.  */
22227
22228#ifdef HAVE_COMPLEX_H
22229#include <complex.h>
22230#endif
22231#ifdef HAVE_MATH_H
22232#include <math.h>
22233#endif
22234
22235int (*ptr)() = (int (*)())sinhf;
22236
22237int
22238main ()
22239{
22240  return 0;
22241}
22242
22243_ACEOF
22244if ac_fn_c_try_link "$LINENO"; then :
22245  gcc_cv_math_func_sinhf=yes
22246else
22247  gcc_cv_math_func_sinhf=no
22248fi
22249rm -f core conftest.err conftest.$ac_objext \
22250    conftest$ac_exeext conftest.$ac_ext
22251fi
22252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22253$as_echo "$gcc_cv_math_func_sinhf" >&6; }
22254  if test $gcc_cv_math_func_sinhf = yes; then
22255
22256cat >>confdefs.h <<_ACEOF
22257#define HAVE_SINHF 1
22258_ACEOF
22259
22260  fi
22261
22262
22263
22264
22265  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22266$as_echo_n "checking for sinh... " >&6; }
22267if ${gcc_cv_math_func_sinh+:} false; then :
22268  $as_echo_n "(cached) " >&6
22269else
22270  if test x$gcc_no_link = xyes; then
22271  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22272fi
22273cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22274/* end confdefs.h.  */
22275
22276#ifdef HAVE_COMPLEX_H
22277#include <complex.h>
22278#endif
22279#ifdef HAVE_MATH_H
22280#include <math.h>
22281#endif
22282
22283int (*ptr)() = (int (*)())sinh;
22284
22285int
22286main ()
22287{
22288  return 0;
22289}
22290
22291_ACEOF
22292if ac_fn_c_try_link "$LINENO"; then :
22293  gcc_cv_math_func_sinh=yes
22294else
22295  gcc_cv_math_func_sinh=no
22296fi
22297rm -f core conftest.err conftest.$ac_objext \
22298    conftest$ac_exeext conftest.$ac_ext
22299fi
22300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22301$as_echo "$gcc_cv_math_func_sinh" >&6; }
22302  if test $gcc_cv_math_func_sinh = yes; then
22303
22304cat >>confdefs.h <<_ACEOF
22305#define HAVE_SINH 1
22306_ACEOF
22307
22308  fi
22309
22310
22311
22312
22313  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22314$as_echo_n "checking for sinhl... " >&6; }
22315if ${gcc_cv_math_func_sinhl+:} false; then :
22316  $as_echo_n "(cached) " >&6
22317else
22318  if test x$gcc_no_link = xyes; then
22319  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22320fi
22321cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22322/* end confdefs.h.  */
22323
22324#ifdef HAVE_COMPLEX_H
22325#include <complex.h>
22326#endif
22327#ifdef HAVE_MATH_H
22328#include <math.h>
22329#endif
22330
22331int (*ptr)() = (int (*)())sinhl;
22332
22333int
22334main ()
22335{
22336  return 0;
22337}
22338
22339_ACEOF
22340if ac_fn_c_try_link "$LINENO"; then :
22341  gcc_cv_math_func_sinhl=yes
22342else
22343  gcc_cv_math_func_sinhl=no
22344fi
22345rm -f core conftest.err conftest.$ac_objext \
22346    conftest$ac_exeext conftest.$ac_ext
22347fi
22348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22349$as_echo "$gcc_cv_math_func_sinhl" >&6; }
22350  if test $gcc_cv_math_func_sinhl = yes; then
22351
22352cat >>confdefs.h <<_ACEOF
22353#define HAVE_SINHL 1
22354_ACEOF
22355
22356  fi
22357
22358
22359
22360
22361  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22362$as_echo_n "checking for csinhf... " >&6; }
22363if ${gcc_cv_math_func_csinhf+:} false; then :
22364  $as_echo_n "(cached) " >&6
22365else
22366  if test x$gcc_no_link = xyes; then
22367  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22368fi
22369cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22370/* end confdefs.h.  */
22371
22372#ifdef HAVE_COMPLEX_H
22373#include <complex.h>
22374#endif
22375#ifdef HAVE_MATH_H
22376#include <math.h>
22377#endif
22378
22379int (*ptr)() = (int (*)())csinhf;
22380
22381int
22382main ()
22383{
22384  return 0;
22385}
22386
22387_ACEOF
22388if ac_fn_c_try_link "$LINENO"; then :
22389  gcc_cv_math_func_csinhf=yes
22390else
22391  gcc_cv_math_func_csinhf=no
22392fi
22393rm -f core conftest.err conftest.$ac_objext \
22394    conftest$ac_exeext conftest.$ac_ext
22395fi
22396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22397$as_echo "$gcc_cv_math_func_csinhf" >&6; }
22398  if test $gcc_cv_math_func_csinhf = yes; then
22399
22400cat >>confdefs.h <<_ACEOF
22401#define HAVE_CSINHF 1
22402_ACEOF
22403
22404  fi
22405
22406
22407
22408
22409  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22410$as_echo_n "checking for csinh... " >&6; }
22411if ${gcc_cv_math_func_csinh+:} false; then :
22412  $as_echo_n "(cached) " >&6
22413else
22414  if test x$gcc_no_link = xyes; then
22415  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22416fi
22417cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22418/* end confdefs.h.  */
22419
22420#ifdef HAVE_COMPLEX_H
22421#include <complex.h>
22422#endif
22423#ifdef HAVE_MATH_H
22424#include <math.h>
22425#endif
22426
22427int (*ptr)() = (int (*)())csinh;
22428
22429int
22430main ()
22431{
22432  return 0;
22433}
22434
22435_ACEOF
22436if ac_fn_c_try_link "$LINENO"; then :
22437  gcc_cv_math_func_csinh=yes
22438else
22439  gcc_cv_math_func_csinh=no
22440fi
22441rm -f core conftest.err conftest.$ac_objext \
22442    conftest$ac_exeext conftest.$ac_ext
22443fi
22444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22445$as_echo "$gcc_cv_math_func_csinh" >&6; }
22446  if test $gcc_cv_math_func_csinh = yes; then
22447
22448cat >>confdefs.h <<_ACEOF
22449#define HAVE_CSINH 1
22450_ACEOF
22451
22452  fi
22453
22454
22455
22456
22457  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22458$as_echo_n "checking for csinhl... " >&6; }
22459if ${gcc_cv_math_func_csinhl+:} false; then :
22460  $as_echo_n "(cached) " >&6
22461else
22462  if test x$gcc_no_link = xyes; then
22463  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22464fi
22465cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22466/* end confdefs.h.  */
22467
22468#ifdef HAVE_COMPLEX_H
22469#include <complex.h>
22470#endif
22471#ifdef HAVE_MATH_H
22472#include <math.h>
22473#endif
22474
22475int (*ptr)() = (int (*)())csinhl;
22476
22477int
22478main ()
22479{
22480  return 0;
22481}
22482
22483_ACEOF
22484if ac_fn_c_try_link "$LINENO"; then :
22485  gcc_cv_math_func_csinhl=yes
22486else
22487  gcc_cv_math_func_csinhl=no
22488fi
22489rm -f core conftest.err conftest.$ac_objext \
22490    conftest$ac_exeext conftest.$ac_ext
22491fi
22492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22493$as_echo "$gcc_cv_math_func_csinhl" >&6; }
22494  if test $gcc_cv_math_func_csinhl = yes; then
22495
22496cat >>confdefs.h <<_ACEOF
22497#define HAVE_CSINHL 1
22498_ACEOF
22499
22500  fi
22501
22502
22503
22504
22505  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22506$as_echo_n "checking for sqrtf... " >&6; }
22507if ${gcc_cv_math_func_sqrtf+:} false; then :
22508  $as_echo_n "(cached) " >&6
22509else
22510  if test x$gcc_no_link = xyes; then
22511  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22512fi
22513cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22514/* end confdefs.h.  */
22515
22516#ifdef HAVE_COMPLEX_H
22517#include <complex.h>
22518#endif
22519#ifdef HAVE_MATH_H
22520#include <math.h>
22521#endif
22522
22523int (*ptr)() = (int (*)())sqrtf;
22524
22525int
22526main ()
22527{
22528  return 0;
22529}
22530
22531_ACEOF
22532if ac_fn_c_try_link "$LINENO"; then :
22533  gcc_cv_math_func_sqrtf=yes
22534else
22535  gcc_cv_math_func_sqrtf=no
22536fi
22537rm -f core conftest.err conftest.$ac_objext \
22538    conftest$ac_exeext conftest.$ac_ext
22539fi
22540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22541$as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22542  if test $gcc_cv_math_func_sqrtf = yes; then
22543
22544cat >>confdefs.h <<_ACEOF
22545#define HAVE_SQRTF 1
22546_ACEOF
22547
22548  fi
22549
22550
22551
22552
22553  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22554$as_echo_n "checking for sqrt... " >&6; }
22555if ${gcc_cv_math_func_sqrt+:} false; then :
22556  $as_echo_n "(cached) " >&6
22557else
22558  if test x$gcc_no_link = xyes; then
22559  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22560fi
22561cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22562/* end confdefs.h.  */
22563
22564#ifdef HAVE_COMPLEX_H
22565#include <complex.h>
22566#endif
22567#ifdef HAVE_MATH_H
22568#include <math.h>
22569#endif
22570
22571int (*ptr)() = (int (*)())sqrt;
22572
22573int
22574main ()
22575{
22576  return 0;
22577}
22578
22579_ACEOF
22580if ac_fn_c_try_link "$LINENO"; then :
22581  gcc_cv_math_func_sqrt=yes
22582else
22583  gcc_cv_math_func_sqrt=no
22584fi
22585rm -f core conftest.err conftest.$ac_objext \
22586    conftest$ac_exeext conftest.$ac_ext
22587fi
22588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22589$as_echo "$gcc_cv_math_func_sqrt" >&6; }
22590  if test $gcc_cv_math_func_sqrt = yes; then
22591
22592cat >>confdefs.h <<_ACEOF
22593#define HAVE_SQRT 1
22594_ACEOF
22595
22596  fi
22597
22598
22599
22600
22601  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22602$as_echo_n "checking for sqrtl... " >&6; }
22603if ${gcc_cv_math_func_sqrtl+:} false; then :
22604  $as_echo_n "(cached) " >&6
22605else
22606  if test x$gcc_no_link = xyes; then
22607  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22608fi
22609cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22610/* end confdefs.h.  */
22611
22612#ifdef HAVE_COMPLEX_H
22613#include <complex.h>
22614#endif
22615#ifdef HAVE_MATH_H
22616#include <math.h>
22617#endif
22618
22619int (*ptr)() = (int (*)())sqrtl;
22620
22621int
22622main ()
22623{
22624  return 0;
22625}
22626
22627_ACEOF
22628if ac_fn_c_try_link "$LINENO"; then :
22629  gcc_cv_math_func_sqrtl=yes
22630else
22631  gcc_cv_math_func_sqrtl=no
22632fi
22633rm -f core conftest.err conftest.$ac_objext \
22634    conftest$ac_exeext conftest.$ac_ext
22635fi
22636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22637$as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22638  if test $gcc_cv_math_func_sqrtl = yes; then
22639
22640cat >>confdefs.h <<_ACEOF
22641#define HAVE_SQRTL 1
22642_ACEOF
22643
22644  fi
22645
22646
22647
22648
22649  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22650$as_echo_n "checking for csqrtf... " >&6; }
22651if ${gcc_cv_math_func_csqrtf+:} false; then :
22652  $as_echo_n "(cached) " >&6
22653else
22654  if test x$gcc_no_link = xyes; then
22655  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22656fi
22657cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22658/* end confdefs.h.  */
22659
22660#ifdef HAVE_COMPLEX_H
22661#include <complex.h>
22662#endif
22663#ifdef HAVE_MATH_H
22664#include <math.h>
22665#endif
22666
22667int (*ptr)() = (int (*)())csqrtf;
22668
22669int
22670main ()
22671{
22672  return 0;
22673}
22674
22675_ACEOF
22676if ac_fn_c_try_link "$LINENO"; then :
22677  gcc_cv_math_func_csqrtf=yes
22678else
22679  gcc_cv_math_func_csqrtf=no
22680fi
22681rm -f core conftest.err conftest.$ac_objext \
22682    conftest$ac_exeext conftest.$ac_ext
22683fi
22684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22685$as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22686  if test $gcc_cv_math_func_csqrtf = yes; then
22687
22688cat >>confdefs.h <<_ACEOF
22689#define HAVE_CSQRTF 1
22690_ACEOF
22691
22692  fi
22693
22694
22695
22696
22697  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22698$as_echo_n "checking for csqrt... " >&6; }
22699if ${gcc_cv_math_func_csqrt+:} false; then :
22700  $as_echo_n "(cached) " >&6
22701else
22702  if test x$gcc_no_link = xyes; then
22703  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22704fi
22705cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22706/* end confdefs.h.  */
22707
22708#ifdef HAVE_COMPLEX_H
22709#include <complex.h>
22710#endif
22711#ifdef HAVE_MATH_H
22712#include <math.h>
22713#endif
22714
22715int (*ptr)() = (int (*)())csqrt;
22716
22717int
22718main ()
22719{
22720  return 0;
22721}
22722
22723_ACEOF
22724if ac_fn_c_try_link "$LINENO"; then :
22725  gcc_cv_math_func_csqrt=yes
22726else
22727  gcc_cv_math_func_csqrt=no
22728fi
22729rm -f core conftest.err conftest.$ac_objext \
22730    conftest$ac_exeext conftest.$ac_ext
22731fi
22732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22733$as_echo "$gcc_cv_math_func_csqrt" >&6; }
22734  if test $gcc_cv_math_func_csqrt = yes; then
22735
22736cat >>confdefs.h <<_ACEOF
22737#define HAVE_CSQRT 1
22738_ACEOF
22739
22740  fi
22741
22742
22743
22744
22745  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22746$as_echo_n "checking for csqrtl... " >&6; }
22747if ${gcc_cv_math_func_csqrtl+:} false; then :
22748  $as_echo_n "(cached) " >&6
22749else
22750  if test x$gcc_no_link = xyes; then
22751  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22752fi
22753cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22754/* end confdefs.h.  */
22755
22756#ifdef HAVE_COMPLEX_H
22757#include <complex.h>
22758#endif
22759#ifdef HAVE_MATH_H
22760#include <math.h>
22761#endif
22762
22763int (*ptr)() = (int (*)())csqrtl;
22764
22765int
22766main ()
22767{
22768  return 0;
22769}
22770
22771_ACEOF
22772if ac_fn_c_try_link "$LINENO"; then :
22773  gcc_cv_math_func_csqrtl=yes
22774else
22775  gcc_cv_math_func_csqrtl=no
22776fi
22777rm -f core conftest.err conftest.$ac_objext \
22778    conftest$ac_exeext conftest.$ac_ext
22779fi
22780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22781$as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22782  if test $gcc_cv_math_func_csqrtl = yes; then
22783
22784cat >>confdefs.h <<_ACEOF
22785#define HAVE_CSQRTL 1
22786_ACEOF
22787
22788  fi
22789
22790
22791
22792
22793  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22794$as_echo_n "checking for tanf... " >&6; }
22795if ${gcc_cv_math_func_tanf+:} false; then :
22796  $as_echo_n "(cached) " >&6
22797else
22798  if test x$gcc_no_link = xyes; then
22799  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22800fi
22801cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22802/* end confdefs.h.  */
22803
22804#ifdef HAVE_COMPLEX_H
22805#include <complex.h>
22806#endif
22807#ifdef HAVE_MATH_H
22808#include <math.h>
22809#endif
22810
22811int (*ptr)() = (int (*)())tanf;
22812
22813int
22814main ()
22815{
22816  return 0;
22817}
22818
22819_ACEOF
22820if ac_fn_c_try_link "$LINENO"; then :
22821  gcc_cv_math_func_tanf=yes
22822else
22823  gcc_cv_math_func_tanf=no
22824fi
22825rm -f core conftest.err conftest.$ac_objext \
22826    conftest$ac_exeext conftest.$ac_ext
22827fi
22828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22829$as_echo "$gcc_cv_math_func_tanf" >&6; }
22830  if test $gcc_cv_math_func_tanf = yes; then
22831
22832cat >>confdefs.h <<_ACEOF
22833#define HAVE_TANF 1
22834_ACEOF
22835
22836  fi
22837
22838
22839
22840
22841  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22842$as_echo_n "checking for tan... " >&6; }
22843if ${gcc_cv_math_func_tan+:} false; then :
22844  $as_echo_n "(cached) " >&6
22845else
22846  if test x$gcc_no_link = xyes; then
22847  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22848fi
22849cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22850/* end confdefs.h.  */
22851
22852#ifdef HAVE_COMPLEX_H
22853#include <complex.h>
22854#endif
22855#ifdef HAVE_MATH_H
22856#include <math.h>
22857#endif
22858
22859int (*ptr)() = (int (*)())tan;
22860
22861int
22862main ()
22863{
22864  return 0;
22865}
22866
22867_ACEOF
22868if ac_fn_c_try_link "$LINENO"; then :
22869  gcc_cv_math_func_tan=yes
22870else
22871  gcc_cv_math_func_tan=no
22872fi
22873rm -f core conftest.err conftest.$ac_objext \
22874    conftest$ac_exeext conftest.$ac_ext
22875fi
22876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22877$as_echo "$gcc_cv_math_func_tan" >&6; }
22878  if test $gcc_cv_math_func_tan = yes; then
22879
22880cat >>confdefs.h <<_ACEOF
22881#define HAVE_TAN 1
22882_ACEOF
22883
22884  fi
22885
22886
22887
22888
22889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22890$as_echo_n "checking for tanl... " >&6; }
22891if ${gcc_cv_math_func_tanl+:} false; then :
22892  $as_echo_n "(cached) " >&6
22893else
22894  if test x$gcc_no_link = xyes; then
22895  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22896fi
22897cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22898/* end confdefs.h.  */
22899
22900#ifdef HAVE_COMPLEX_H
22901#include <complex.h>
22902#endif
22903#ifdef HAVE_MATH_H
22904#include <math.h>
22905#endif
22906
22907int (*ptr)() = (int (*)())tanl;
22908
22909int
22910main ()
22911{
22912  return 0;
22913}
22914
22915_ACEOF
22916if ac_fn_c_try_link "$LINENO"; then :
22917  gcc_cv_math_func_tanl=yes
22918else
22919  gcc_cv_math_func_tanl=no
22920fi
22921rm -f core conftest.err conftest.$ac_objext \
22922    conftest$ac_exeext conftest.$ac_ext
22923fi
22924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22925$as_echo "$gcc_cv_math_func_tanl" >&6; }
22926  if test $gcc_cv_math_func_tanl = yes; then
22927
22928cat >>confdefs.h <<_ACEOF
22929#define HAVE_TANL 1
22930_ACEOF
22931
22932  fi
22933
22934
22935
22936
22937  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22938$as_echo_n "checking for ctanf... " >&6; }
22939if ${gcc_cv_math_func_ctanf+:} false; then :
22940  $as_echo_n "(cached) " >&6
22941else
22942  if test x$gcc_no_link = xyes; then
22943  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22944fi
22945cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22946/* end confdefs.h.  */
22947
22948#ifdef HAVE_COMPLEX_H
22949#include <complex.h>
22950#endif
22951#ifdef HAVE_MATH_H
22952#include <math.h>
22953#endif
22954
22955int (*ptr)() = (int (*)())ctanf;
22956
22957int
22958main ()
22959{
22960  return 0;
22961}
22962
22963_ACEOF
22964if ac_fn_c_try_link "$LINENO"; then :
22965  gcc_cv_math_func_ctanf=yes
22966else
22967  gcc_cv_math_func_ctanf=no
22968fi
22969rm -f core conftest.err conftest.$ac_objext \
22970    conftest$ac_exeext conftest.$ac_ext
22971fi
22972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22973$as_echo "$gcc_cv_math_func_ctanf" >&6; }
22974  if test $gcc_cv_math_func_ctanf = yes; then
22975
22976cat >>confdefs.h <<_ACEOF
22977#define HAVE_CTANF 1
22978_ACEOF
22979
22980  fi
22981
22982
22983
22984
22985  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22986$as_echo_n "checking for ctan... " >&6; }
22987if ${gcc_cv_math_func_ctan+:} false; then :
22988  $as_echo_n "(cached) " >&6
22989else
22990  if test x$gcc_no_link = xyes; then
22991  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22992fi
22993cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22994/* end confdefs.h.  */
22995
22996#ifdef HAVE_COMPLEX_H
22997#include <complex.h>
22998#endif
22999#ifdef HAVE_MATH_H
23000#include <math.h>
23001#endif
23002
23003int (*ptr)() = (int (*)())ctan;
23004
23005int
23006main ()
23007{
23008  return 0;
23009}
23010
23011_ACEOF
23012if ac_fn_c_try_link "$LINENO"; then :
23013  gcc_cv_math_func_ctan=yes
23014else
23015  gcc_cv_math_func_ctan=no
23016fi
23017rm -f core conftest.err conftest.$ac_objext \
23018    conftest$ac_exeext conftest.$ac_ext
23019fi
23020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23021$as_echo "$gcc_cv_math_func_ctan" >&6; }
23022  if test $gcc_cv_math_func_ctan = yes; then
23023
23024cat >>confdefs.h <<_ACEOF
23025#define HAVE_CTAN 1
23026_ACEOF
23027
23028  fi
23029
23030
23031
23032
23033  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23034$as_echo_n "checking for ctanl... " >&6; }
23035if ${gcc_cv_math_func_ctanl+:} false; then :
23036  $as_echo_n "(cached) " >&6
23037else
23038  if test x$gcc_no_link = xyes; then
23039  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23040fi
23041cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23042/* end confdefs.h.  */
23043
23044#ifdef HAVE_COMPLEX_H
23045#include <complex.h>
23046#endif
23047#ifdef HAVE_MATH_H
23048#include <math.h>
23049#endif
23050
23051int (*ptr)() = (int (*)())ctanl;
23052
23053int
23054main ()
23055{
23056  return 0;
23057}
23058
23059_ACEOF
23060if ac_fn_c_try_link "$LINENO"; then :
23061  gcc_cv_math_func_ctanl=yes
23062else
23063  gcc_cv_math_func_ctanl=no
23064fi
23065rm -f core conftest.err conftest.$ac_objext \
23066    conftest$ac_exeext conftest.$ac_ext
23067fi
23068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23069$as_echo "$gcc_cv_math_func_ctanl" >&6; }
23070  if test $gcc_cv_math_func_ctanl = yes; then
23071
23072cat >>confdefs.h <<_ACEOF
23073#define HAVE_CTANL 1
23074_ACEOF
23075
23076  fi
23077
23078
23079
23080
23081  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23082$as_echo_n "checking for tanhf... " >&6; }
23083if ${gcc_cv_math_func_tanhf+:} false; then :
23084  $as_echo_n "(cached) " >&6
23085else
23086  if test x$gcc_no_link = xyes; then
23087  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23088fi
23089cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23090/* end confdefs.h.  */
23091
23092#ifdef HAVE_COMPLEX_H
23093#include <complex.h>
23094#endif
23095#ifdef HAVE_MATH_H
23096#include <math.h>
23097#endif
23098
23099int (*ptr)() = (int (*)())tanhf;
23100
23101int
23102main ()
23103{
23104  return 0;
23105}
23106
23107_ACEOF
23108if ac_fn_c_try_link "$LINENO"; then :
23109  gcc_cv_math_func_tanhf=yes
23110else
23111  gcc_cv_math_func_tanhf=no
23112fi
23113rm -f core conftest.err conftest.$ac_objext \
23114    conftest$ac_exeext conftest.$ac_ext
23115fi
23116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23117$as_echo "$gcc_cv_math_func_tanhf" >&6; }
23118  if test $gcc_cv_math_func_tanhf = yes; then
23119
23120cat >>confdefs.h <<_ACEOF
23121#define HAVE_TANHF 1
23122_ACEOF
23123
23124  fi
23125
23126
23127
23128
23129  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23130$as_echo_n "checking for tanh... " >&6; }
23131if ${gcc_cv_math_func_tanh+:} false; then :
23132  $as_echo_n "(cached) " >&6
23133else
23134  if test x$gcc_no_link = xyes; then
23135  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23136fi
23137cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23138/* end confdefs.h.  */
23139
23140#ifdef HAVE_COMPLEX_H
23141#include <complex.h>
23142#endif
23143#ifdef HAVE_MATH_H
23144#include <math.h>
23145#endif
23146
23147int (*ptr)() = (int (*)())tanh;
23148
23149int
23150main ()
23151{
23152  return 0;
23153}
23154
23155_ACEOF
23156if ac_fn_c_try_link "$LINENO"; then :
23157  gcc_cv_math_func_tanh=yes
23158else
23159  gcc_cv_math_func_tanh=no
23160fi
23161rm -f core conftest.err conftest.$ac_objext \
23162    conftest$ac_exeext conftest.$ac_ext
23163fi
23164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23165$as_echo "$gcc_cv_math_func_tanh" >&6; }
23166  if test $gcc_cv_math_func_tanh = yes; then
23167
23168cat >>confdefs.h <<_ACEOF
23169#define HAVE_TANH 1
23170_ACEOF
23171
23172  fi
23173
23174
23175
23176
23177  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23178$as_echo_n "checking for tanhl... " >&6; }
23179if ${gcc_cv_math_func_tanhl+:} false; then :
23180  $as_echo_n "(cached) " >&6
23181else
23182  if test x$gcc_no_link = xyes; then
23183  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23184fi
23185cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23186/* end confdefs.h.  */
23187
23188#ifdef HAVE_COMPLEX_H
23189#include <complex.h>
23190#endif
23191#ifdef HAVE_MATH_H
23192#include <math.h>
23193#endif
23194
23195int (*ptr)() = (int (*)())tanhl;
23196
23197int
23198main ()
23199{
23200  return 0;
23201}
23202
23203_ACEOF
23204if ac_fn_c_try_link "$LINENO"; then :
23205  gcc_cv_math_func_tanhl=yes
23206else
23207  gcc_cv_math_func_tanhl=no
23208fi
23209rm -f core conftest.err conftest.$ac_objext \
23210    conftest$ac_exeext conftest.$ac_ext
23211fi
23212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23213$as_echo "$gcc_cv_math_func_tanhl" >&6; }
23214  if test $gcc_cv_math_func_tanhl = yes; then
23215
23216cat >>confdefs.h <<_ACEOF
23217#define HAVE_TANHL 1
23218_ACEOF
23219
23220  fi
23221
23222
23223
23224
23225  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23226$as_echo_n "checking for ctanhf... " >&6; }
23227if ${gcc_cv_math_func_ctanhf+:} false; then :
23228  $as_echo_n "(cached) " >&6
23229else
23230  if test x$gcc_no_link = xyes; then
23231  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23232fi
23233cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23234/* end confdefs.h.  */
23235
23236#ifdef HAVE_COMPLEX_H
23237#include <complex.h>
23238#endif
23239#ifdef HAVE_MATH_H
23240#include <math.h>
23241#endif
23242
23243int (*ptr)() = (int (*)())ctanhf;
23244
23245int
23246main ()
23247{
23248  return 0;
23249}
23250
23251_ACEOF
23252if ac_fn_c_try_link "$LINENO"; then :
23253  gcc_cv_math_func_ctanhf=yes
23254else
23255  gcc_cv_math_func_ctanhf=no
23256fi
23257rm -f core conftest.err conftest.$ac_objext \
23258    conftest$ac_exeext conftest.$ac_ext
23259fi
23260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23261$as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23262  if test $gcc_cv_math_func_ctanhf = yes; then
23263
23264cat >>confdefs.h <<_ACEOF
23265#define HAVE_CTANHF 1
23266_ACEOF
23267
23268  fi
23269
23270
23271
23272
23273  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23274$as_echo_n "checking for ctanh... " >&6; }
23275if ${gcc_cv_math_func_ctanh+:} false; then :
23276  $as_echo_n "(cached) " >&6
23277else
23278  if test x$gcc_no_link = xyes; then
23279  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23280fi
23281cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23282/* end confdefs.h.  */
23283
23284#ifdef HAVE_COMPLEX_H
23285#include <complex.h>
23286#endif
23287#ifdef HAVE_MATH_H
23288#include <math.h>
23289#endif
23290
23291int (*ptr)() = (int (*)())ctanh;
23292
23293int
23294main ()
23295{
23296  return 0;
23297}
23298
23299_ACEOF
23300if ac_fn_c_try_link "$LINENO"; then :
23301  gcc_cv_math_func_ctanh=yes
23302else
23303  gcc_cv_math_func_ctanh=no
23304fi
23305rm -f core conftest.err conftest.$ac_objext \
23306    conftest$ac_exeext conftest.$ac_ext
23307fi
23308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23309$as_echo "$gcc_cv_math_func_ctanh" >&6; }
23310  if test $gcc_cv_math_func_ctanh = yes; then
23311
23312cat >>confdefs.h <<_ACEOF
23313#define HAVE_CTANH 1
23314_ACEOF
23315
23316  fi
23317
23318
23319
23320
23321  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23322$as_echo_n "checking for ctanhl... " >&6; }
23323if ${gcc_cv_math_func_ctanhl+:} false; then :
23324  $as_echo_n "(cached) " >&6
23325else
23326  if test x$gcc_no_link = xyes; then
23327  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23328fi
23329cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23330/* end confdefs.h.  */
23331
23332#ifdef HAVE_COMPLEX_H
23333#include <complex.h>
23334#endif
23335#ifdef HAVE_MATH_H
23336#include <math.h>
23337#endif
23338
23339int (*ptr)() = (int (*)())ctanhl;
23340
23341int
23342main ()
23343{
23344  return 0;
23345}
23346
23347_ACEOF
23348if ac_fn_c_try_link "$LINENO"; then :
23349  gcc_cv_math_func_ctanhl=yes
23350else
23351  gcc_cv_math_func_ctanhl=no
23352fi
23353rm -f core conftest.err conftest.$ac_objext \
23354    conftest$ac_exeext conftest.$ac_ext
23355fi
23356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23357$as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23358  if test $gcc_cv_math_func_ctanhl = yes; then
23359
23360cat >>confdefs.h <<_ACEOF
23361#define HAVE_CTANHL 1
23362_ACEOF
23363
23364  fi
23365
23366
23367
23368
23369  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23370$as_echo_n "checking for truncf... " >&6; }
23371if ${gcc_cv_math_func_truncf+:} false; then :
23372  $as_echo_n "(cached) " >&6
23373else
23374  if test x$gcc_no_link = xyes; then
23375  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23376fi
23377cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23378/* end confdefs.h.  */
23379
23380#ifdef HAVE_COMPLEX_H
23381#include <complex.h>
23382#endif
23383#ifdef HAVE_MATH_H
23384#include <math.h>
23385#endif
23386
23387int (*ptr)() = (int (*)())truncf;
23388
23389int
23390main ()
23391{
23392  return 0;
23393}
23394
23395_ACEOF
23396if ac_fn_c_try_link "$LINENO"; then :
23397  gcc_cv_math_func_truncf=yes
23398else
23399  gcc_cv_math_func_truncf=no
23400fi
23401rm -f core conftest.err conftest.$ac_objext \
23402    conftest$ac_exeext conftest.$ac_ext
23403fi
23404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23405$as_echo "$gcc_cv_math_func_truncf" >&6; }
23406  if test $gcc_cv_math_func_truncf = yes; then
23407
23408cat >>confdefs.h <<_ACEOF
23409#define HAVE_TRUNCF 1
23410_ACEOF
23411
23412  fi
23413
23414
23415
23416
23417  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23418$as_echo_n "checking for trunc... " >&6; }
23419if ${gcc_cv_math_func_trunc+:} false; then :
23420  $as_echo_n "(cached) " >&6
23421else
23422  if test x$gcc_no_link = xyes; then
23423  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23424fi
23425cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23426/* end confdefs.h.  */
23427
23428#ifdef HAVE_COMPLEX_H
23429#include <complex.h>
23430#endif
23431#ifdef HAVE_MATH_H
23432#include <math.h>
23433#endif
23434
23435int (*ptr)() = (int (*)())trunc;
23436
23437int
23438main ()
23439{
23440  return 0;
23441}
23442
23443_ACEOF
23444if ac_fn_c_try_link "$LINENO"; then :
23445  gcc_cv_math_func_trunc=yes
23446else
23447  gcc_cv_math_func_trunc=no
23448fi
23449rm -f core conftest.err conftest.$ac_objext \
23450    conftest$ac_exeext conftest.$ac_ext
23451fi
23452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23453$as_echo "$gcc_cv_math_func_trunc" >&6; }
23454  if test $gcc_cv_math_func_trunc = yes; then
23455
23456cat >>confdefs.h <<_ACEOF
23457#define HAVE_TRUNC 1
23458_ACEOF
23459
23460  fi
23461
23462
23463
23464
23465  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23466$as_echo_n "checking for truncl... " >&6; }
23467if ${gcc_cv_math_func_truncl+:} false; then :
23468  $as_echo_n "(cached) " >&6
23469else
23470  if test x$gcc_no_link = xyes; then
23471  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23472fi
23473cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23474/* end confdefs.h.  */
23475
23476#ifdef HAVE_COMPLEX_H
23477#include <complex.h>
23478#endif
23479#ifdef HAVE_MATH_H
23480#include <math.h>
23481#endif
23482
23483int (*ptr)() = (int (*)())truncl;
23484
23485int
23486main ()
23487{
23488  return 0;
23489}
23490
23491_ACEOF
23492if ac_fn_c_try_link "$LINENO"; then :
23493  gcc_cv_math_func_truncl=yes
23494else
23495  gcc_cv_math_func_truncl=no
23496fi
23497rm -f core conftest.err conftest.$ac_objext \
23498    conftest$ac_exeext conftest.$ac_ext
23499fi
23500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23501$as_echo "$gcc_cv_math_func_truncl" >&6; }
23502  if test $gcc_cv_math_func_truncl = yes; then
23503
23504cat >>confdefs.h <<_ACEOF
23505#define HAVE_TRUNCL 1
23506_ACEOF
23507
23508  fi
23509
23510
23511
23512
23513  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23514$as_echo_n "checking for erff... " >&6; }
23515if ${gcc_cv_math_func_erff+:} false; then :
23516  $as_echo_n "(cached) " >&6
23517else
23518  if test x$gcc_no_link = xyes; then
23519  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23520fi
23521cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23522/* end confdefs.h.  */
23523
23524#ifdef HAVE_COMPLEX_H
23525#include <complex.h>
23526#endif
23527#ifdef HAVE_MATH_H
23528#include <math.h>
23529#endif
23530
23531int (*ptr)() = (int (*)())erff;
23532
23533int
23534main ()
23535{
23536  return 0;
23537}
23538
23539_ACEOF
23540if ac_fn_c_try_link "$LINENO"; then :
23541  gcc_cv_math_func_erff=yes
23542else
23543  gcc_cv_math_func_erff=no
23544fi
23545rm -f core conftest.err conftest.$ac_objext \
23546    conftest$ac_exeext conftest.$ac_ext
23547fi
23548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23549$as_echo "$gcc_cv_math_func_erff" >&6; }
23550  if test $gcc_cv_math_func_erff = yes; then
23551
23552cat >>confdefs.h <<_ACEOF
23553#define HAVE_ERFF 1
23554_ACEOF
23555
23556  fi
23557
23558
23559
23560
23561  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23562$as_echo_n "checking for erf... " >&6; }
23563if ${gcc_cv_math_func_erf+:} false; then :
23564  $as_echo_n "(cached) " >&6
23565else
23566  if test x$gcc_no_link = xyes; then
23567  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23568fi
23569cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23570/* end confdefs.h.  */
23571
23572#ifdef HAVE_COMPLEX_H
23573#include <complex.h>
23574#endif
23575#ifdef HAVE_MATH_H
23576#include <math.h>
23577#endif
23578
23579int (*ptr)() = (int (*)())erf;
23580
23581int
23582main ()
23583{
23584  return 0;
23585}
23586
23587_ACEOF
23588if ac_fn_c_try_link "$LINENO"; then :
23589  gcc_cv_math_func_erf=yes
23590else
23591  gcc_cv_math_func_erf=no
23592fi
23593rm -f core conftest.err conftest.$ac_objext \
23594    conftest$ac_exeext conftest.$ac_ext
23595fi
23596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23597$as_echo "$gcc_cv_math_func_erf" >&6; }
23598  if test $gcc_cv_math_func_erf = yes; then
23599
23600cat >>confdefs.h <<_ACEOF
23601#define HAVE_ERF 1
23602_ACEOF
23603
23604  fi
23605
23606
23607
23608
23609  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23610$as_echo_n "checking for erfcf... " >&6; }
23611if ${gcc_cv_math_func_erfcf+:} false; then :
23612  $as_echo_n "(cached) " >&6
23613else
23614  if test x$gcc_no_link = xyes; then
23615  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23616fi
23617cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23618/* end confdefs.h.  */
23619
23620#ifdef HAVE_COMPLEX_H
23621#include <complex.h>
23622#endif
23623#ifdef HAVE_MATH_H
23624#include <math.h>
23625#endif
23626
23627int (*ptr)() = (int (*)())erfcf;
23628
23629int
23630main ()
23631{
23632  return 0;
23633}
23634
23635_ACEOF
23636if ac_fn_c_try_link "$LINENO"; then :
23637  gcc_cv_math_func_erfcf=yes
23638else
23639  gcc_cv_math_func_erfcf=no
23640fi
23641rm -f core conftest.err conftest.$ac_objext \
23642    conftest$ac_exeext conftest.$ac_ext
23643fi
23644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23645$as_echo "$gcc_cv_math_func_erfcf" >&6; }
23646  if test $gcc_cv_math_func_erfcf = yes; then
23647
23648cat >>confdefs.h <<_ACEOF
23649#define HAVE_ERFCF 1
23650_ACEOF
23651
23652  fi
23653
23654
23655
23656
23657  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23658$as_echo_n "checking for erfc... " >&6; }
23659if ${gcc_cv_math_func_erfc+:} false; then :
23660  $as_echo_n "(cached) " >&6
23661else
23662  if test x$gcc_no_link = xyes; then
23663  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23664fi
23665cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23666/* end confdefs.h.  */
23667
23668#ifdef HAVE_COMPLEX_H
23669#include <complex.h>
23670#endif
23671#ifdef HAVE_MATH_H
23672#include <math.h>
23673#endif
23674
23675int (*ptr)() = (int (*)())erfc;
23676
23677int
23678main ()
23679{
23680  return 0;
23681}
23682
23683_ACEOF
23684if ac_fn_c_try_link "$LINENO"; then :
23685  gcc_cv_math_func_erfc=yes
23686else
23687  gcc_cv_math_func_erfc=no
23688fi
23689rm -f core conftest.err conftest.$ac_objext \
23690    conftest$ac_exeext conftest.$ac_ext
23691fi
23692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23693$as_echo "$gcc_cv_math_func_erfc" >&6; }
23694  if test $gcc_cv_math_func_erfc = yes; then
23695
23696cat >>confdefs.h <<_ACEOF
23697#define HAVE_ERFC 1
23698_ACEOF
23699
23700  fi
23701
23702
23703
23704
23705  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23706$as_echo_n "checking for erfcl... " >&6; }
23707if ${gcc_cv_math_func_erfcl+:} false; then :
23708  $as_echo_n "(cached) " >&6
23709else
23710  if test x$gcc_no_link = xyes; then
23711  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23712fi
23713cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23714/* end confdefs.h.  */
23715
23716#ifdef HAVE_COMPLEX_H
23717#include <complex.h>
23718#endif
23719#ifdef HAVE_MATH_H
23720#include <math.h>
23721#endif
23722
23723int (*ptr)() = (int (*)())erfcl;
23724
23725int
23726main ()
23727{
23728  return 0;
23729}
23730
23731_ACEOF
23732if ac_fn_c_try_link "$LINENO"; then :
23733  gcc_cv_math_func_erfcl=yes
23734else
23735  gcc_cv_math_func_erfcl=no
23736fi
23737rm -f core conftest.err conftest.$ac_objext \
23738    conftest$ac_exeext conftest.$ac_ext
23739fi
23740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23741$as_echo "$gcc_cv_math_func_erfcl" >&6; }
23742  if test $gcc_cv_math_func_erfcl = yes; then
23743
23744cat >>confdefs.h <<_ACEOF
23745#define HAVE_ERFCL 1
23746_ACEOF
23747
23748  fi
23749
23750
23751
23752
23753  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23754$as_echo_n "checking for j0f... " >&6; }
23755if ${gcc_cv_math_func_j0f+:} false; then :
23756  $as_echo_n "(cached) " >&6
23757else
23758  if test x$gcc_no_link = xyes; then
23759  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23760fi
23761cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23762/* end confdefs.h.  */
23763
23764#ifdef HAVE_COMPLEX_H
23765#include <complex.h>
23766#endif
23767#ifdef HAVE_MATH_H
23768#include <math.h>
23769#endif
23770
23771int (*ptr)() = (int (*)())j0f;
23772
23773int
23774main ()
23775{
23776  return 0;
23777}
23778
23779_ACEOF
23780if ac_fn_c_try_link "$LINENO"; then :
23781  gcc_cv_math_func_j0f=yes
23782else
23783  gcc_cv_math_func_j0f=no
23784fi
23785rm -f core conftest.err conftest.$ac_objext \
23786    conftest$ac_exeext conftest.$ac_ext
23787fi
23788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23789$as_echo "$gcc_cv_math_func_j0f" >&6; }
23790  if test $gcc_cv_math_func_j0f = yes; then
23791
23792cat >>confdefs.h <<_ACEOF
23793#define HAVE_J0F 1
23794_ACEOF
23795
23796  fi
23797
23798
23799
23800
23801  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23802$as_echo_n "checking for j0... " >&6; }
23803if ${gcc_cv_math_func_j0+:} false; then :
23804  $as_echo_n "(cached) " >&6
23805else
23806  if test x$gcc_no_link = xyes; then
23807  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23808fi
23809cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23810/* end confdefs.h.  */
23811
23812#ifdef HAVE_COMPLEX_H
23813#include <complex.h>
23814#endif
23815#ifdef HAVE_MATH_H
23816#include <math.h>
23817#endif
23818
23819int (*ptr)() = (int (*)())j0;
23820
23821int
23822main ()
23823{
23824  return 0;
23825}
23826
23827_ACEOF
23828if ac_fn_c_try_link "$LINENO"; then :
23829  gcc_cv_math_func_j0=yes
23830else
23831  gcc_cv_math_func_j0=no
23832fi
23833rm -f core conftest.err conftest.$ac_objext \
23834    conftest$ac_exeext conftest.$ac_ext
23835fi
23836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23837$as_echo "$gcc_cv_math_func_j0" >&6; }
23838  if test $gcc_cv_math_func_j0 = yes; then
23839
23840cat >>confdefs.h <<_ACEOF
23841#define HAVE_J0 1
23842_ACEOF
23843
23844  fi
23845
23846
23847
23848
23849  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23850$as_echo_n "checking for j1f... " >&6; }
23851if ${gcc_cv_math_func_j1f+:} false; then :
23852  $as_echo_n "(cached) " >&6
23853else
23854  if test x$gcc_no_link = xyes; then
23855  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23856fi
23857cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23858/* end confdefs.h.  */
23859
23860#ifdef HAVE_COMPLEX_H
23861#include <complex.h>
23862#endif
23863#ifdef HAVE_MATH_H
23864#include <math.h>
23865#endif
23866
23867int (*ptr)() = (int (*)())j1f;
23868
23869int
23870main ()
23871{
23872  return 0;
23873}
23874
23875_ACEOF
23876if ac_fn_c_try_link "$LINENO"; then :
23877  gcc_cv_math_func_j1f=yes
23878else
23879  gcc_cv_math_func_j1f=no
23880fi
23881rm -f core conftest.err conftest.$ac_objext \
23882    conftest$ac_exeext conftest.$ac_ext
23883fi
23884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23885$as_echo "$gcc_cv_math_func_j1f" >&6; }
23886  if test $gcc_cv_math_func_j1f = yes; then
23887
23888cat >>confdefs.h <<_ACEOF
23889#define HAVE_J1F 1
23890_ACEOF
23891
23892  fi
23893
23894
23895
23896
23897  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23898$as_echo_n "checking for j1... " >&6; }
23899if ${gcc_cv_math_func_j1+:} false; then :
23900  $as_echo_n "(cached) " >&6
23901else
23902  if test x$gcc_no_link = xyes; then
23903  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23904fi
23905cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23906/* end confdefs.h.  */
23907
23908#ifdef HAVE_COMPLEX_H
23909#include <complex.h>
23910#endif
23911#ifdef HAVE_MATH_H
23912#include <math.h>
23913#endif
23914
23915int (*ptr)() = (int (*)())j1;
23916
23917int
23918main ()
23919{
23920  return 0;
23921}
23922
23923_ACEOF
23924if ac_fn_c_try_link "$LINENO"; then :
23925  gcc_cv_math_func_j1=yes
23926else
23927  gcc_cv_math_func_j1=no
23928fi
23929rm -f core conftest.err conftest.$ac_objext \
23930    conftest$ac_exeext conftest.$ac_ext
23931fi
23932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23933$as_echo "$gcc_cv_math_func_j1" >&6; }
23934  if test $gcc_cv_math_func_j1 = yes; then
23935
23936cat >>confdefs.h <<_ACEOF
23937#define HAVE_J1 1
23938_ACEOF
23939
23940  fi
23941
23942
23943
23944
23945  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23946$as_echo_n "checking for jnf... " >&6; }
23947if ${gcc_cv_math_func_jnf+:} false; then :
23948  $as_echo_n "(cached) " >&6
23949else
23950  if test x$gcc_no_link = xyes; then
23951  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23952fi
23953cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23954/* end confdefs.h.  */
23955
23956#ifdef HAVE_COMPLEX_H
23957#include <complex.h>
23958#endif
23959#ifdef HAVE_MATH_H
23960#include <math.h>
23961#endif
23962
23963int (*ptr)() = (int (*)())jnf;
23964
23965int
23966main ()
23967{
23968  return 0;
23969}
23970
23971_ACEOF
23972if ac_fn_c_try_link "$LINENO"; then :
23973  gcc_cv_math_func_jnf=yes
23974else
23975  gcc_cv_math_func_jnf=no
23976fi
23977rm -f core conftest.err conftest.$ac_objext \
23978    conftest$ac_exeext conftest.$ac_ext
23979fi
23980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23981$as_echo "$gcc_cv_math_func_jnf" >&6; }
23982  if test $gcc_cv_math_func_jnf = yes; then
23983
23984cat >>confdefs.h <<_ACEOF
23985#define HAVE_JNF 1
23986_ACEOF
23987
23988  fi
23989
23990
23991
23992
23993  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23994$as_echo_n "checking for jn... " >&6; }
23995if ${gcc_cv_math_func_jn+:} false; then :
23996  $as_echo_n "(cached) " >&6
23997else
23998  if test x$gcc_no_link = xyes; then
23999  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24000fi
24001cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24002/* end confdefs.h.  */
24003
24004#ifdef HAVE_COMPLEX_H
24005#include <complex.h>
24006#endif
24007#ifdef HAVE_MATH_H
24008#include <math.h>
24009#endif
24010
24011int (*ptr)() = (int (*)())jn;
24012
24013int
24014main ()
24015{
24016  return 0;
24017}
24018
24019_ACEOF
24020if ac_fn_c_try_link "$LINENO"; then :
24021  gcc_cv_math_func_jn=yes
24022else
24023  gcc_cv_math_func_jn=no
24024fi
24025rm -f core conftest.err conftest.$ac_objext \
24026    conftest$ac_exeext conftest.$ac_ext
24027fi
24028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24029$as_echo "$gcc_cv_math_func_jn" >&6; }
24030  if test $gcc_cv_math_func_jn = yes; then
24031
24032cat >>confdefs.h <<_ACEOF
24033#define HAVE_JN 1
24034_ACEOF
24035
24036  fi
24037
24038
24039
24040
24041  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24042$as_echo_n "checking for jnl... " >&6; }
24043if ${gcc_cv_math_func_jnl+:} false; then :
24044  $as_echo_n "(cached) " >&6
24045else
24046  if test x$gcc_no_link = xyes; then
24047  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24048fi
24049cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24050/* end confdefs.h.  */
24051
24052#ifdef HAVE_COMPLEX_H
24053#include <complex.h>
24054#endif
24055#ifdef HAVE_MATH_H
24056#include <math.h>
24057#endif
24058
24059int (*ptr)() = (int (*)())jnl;
24060
24061int
24062main ()
24063{
24064  return 0;
24065}
24066
24067_ACEOF
24068if ac_fn_c_try_link "$LINENO"; then :
24069  gcc_cv_math_func_jnl=yes
24070else
24071  gcc_cv_math_func_jnl=no
24072fi
24073rm -f core conftest.err conftest.$ac_objext \
24074    conftest$ac_exeext conftest.$ac_ext
24075fi
24076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24077$as_echo "$gcc_cv_math_func_jnl" >&6; }
24078  if test $gcc_cv_math_func_jnl = yes; then
24079
24080cat >>confdefs.h <<_ACEOF
24081#define HAVE_JNL 1
24082_ACEOF
24083
24084  fi
24085
24086
24087
24088
24089  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24090$as_echo_n "checking for y0f... " >&6; }
24091if ${gcc_cv_math_func_y0f+:} false; then :
24092  $as_echo_n "(cached) " >&6
24093else
24094  if test x$gcc_no_link = xyes; then
24095  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24096fi
24097cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24098/* end confdefs.h.  */
24099
24100#ifdef HAVE_COMPLEX_H
24101#include <complex.h>
24102#endif
24103#ifdef HAVE_MATH_H
24104#include <math.h>
24105#endif
24106
24107int (*ptr)() = (int (*)())y0f;
24108
24109int
24110main ()
24111{
24112  return 0;
24113}
24114
24115_ACEOF
24116if ac_fn_c_try_link "$LINENO"; then :
24117  gcc_cv_math_func_y0f=yes
24118else
24119  gcc_cv_math_func_y0f=no
24120fi
24121rm -f core conftest.err conftest.$ac_objext \
24122    conftest$ac_exeext conftest.$ac_ext
24123fi
24124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24125$as_echo "$gcc_cv_math_func_y0f" >&6; }
24126  if test $gcc_cv_math_func_y0f = yes; then
24127
24128cat >>confdefs.h <<_ACEOF
24129#define HAVE_Y0F 1
24130_ACEOF
24131
24132  fi
24133
24134
24135
24136
24137  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24138$as_echo_n "checking for y0... " >&6; }
24139if ${gcc_cv_math_func_y0+:} false; then :
24140  $as_echo_n "(cached) " >&6
24141else
24142  if test x$gcc_no_link = xyes; then
24143  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24144fi
24145cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24146/* end confdefs.h.  */
24147
24148#ifdef HAVE_COMPLEX_H
24149#include <complex.h>
24150#endif
24151#ifdef HAVE_MATH_H
24152#include <math.h>
24153#endif
24154
24155int (*ptr)() = (int (*)())y0;
24156
24157int
24158main ()
24159{
24160  return 0;
24161}
24162
24163_ACEOF
24164if ac_fn_c_try_link "$LINENO"; then :
24165  gcc_cv_math_func_y0=yes
24166else
24167  gcc_cv_math_func_y0=no
24168fi
24169rm -f core conftest.err conftest.$ac_objext \
24170    conftest$ac_exeext conftest.$ac_ext
24171fi
24172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24173$as_echo "$gcc_cv_math_func_y0" >&6; }
24174  if test $gcc_cv_math_func_y0 = yes; then
24175
24176cat >>confdefs.h <<_ACEOF
24177#define HAVE_Y0 1
24178_ACEOF
24179
24180  fi
24181
24182
24183
24184
24185  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24186$as_echo_n "checking for y1f... " >&6; }
24187if ${gcc_cv_math_func_y1f+:} false; then :
24188  $as_echo_n "(cached) " >&6
24189else
24190  if test x$gcc_no_link = xyes; then
24191  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24192fi
24193cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24194/* end confdefs.h.  */
24195
24196#ifdef HAVE_COMPLEX_H
24197#include <complex.h>
24198#endif
24199#ifdef HAVE_MATH_H
24200#include <math.h>
24201#endif
24202
24203int (*ptr)() = (int (*)())y1f;
24204
24205int
24206main ()
24207{
24208  return 0;
24209}
24210
24211_ACEOF
24212if ac_fn_c_try_link "$LINENO"; then :
24213  gcc_cv_math_func_y1f=yes
24214else
24215  gcc_cv_math_func_y1f=no
24216fi
24217rm -f core conftest.err conftest.$ac_objext \
24218    conftest$ac_exeext conftest.$ac_ext
24219fi
24220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24221$as_echo "$gcc_cv_math_func_y1f" >&6; }
24222  if test $gcc_cv_math_func_y1f = yes; then
24223
24224cat >>confdefs.h <<_ACEOF
24225#define HAVE_Y1F 1
24226_ACEOF
24227
24228  fi
24229
24230
24231
24232
24233  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24234$as_echo_n "checking for y1... " >&6; }
24235if ${gcc_cv_math_func_y1+:} false; then :
24236  $as_echo_n "(cached) " >&6
24237else
24238  if test x$gcc_no_link = xyes; then
24239  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24240fi
24241cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24242/* end confdefs.h.  */
24243
24244#ifdef HAVE_COMPLEX_H
24245#include <complex.h>
24246#endif
24247#ifdef HAVE_MATH_H
24248#include <math.h>
24249#endif
24250
24251int (*ptr)() = (int (*)())y1;
24252
24253int
24254main ()
24255{
24256  return 0;
24257}
24258
24259_ACEOF
24260if ac_fn_c_try_link "$LINENO"; then :
24261  gcc_cv_math_func_y1=yes
24262else
24263  gcc_cv_math_func_y1=no
24264fi
24265rm -f core conftest.err conftest.$ac_objext \
24266    conftest$ac_exeext conftest.$ac_ext
24267fi
24268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24269$as_echo "$gcc_cv_math_func_y1" >&6; }
24270  if test $gcc_cv_math_func_y1 = yes; then
24271
24272cat >>confdefs.h <<_ACEOF
24273#define HAVE_Y1 1
24274_ACEOF
24275
24276  fi
24277
24278
24279
24280
24281  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24282$as_echo_n "checking for ynf... " >&6; }
24283if ${gcc_cv_math_func_ynf+:} false; then :
24284  $as_echo_n "(cached) " >&6
24285else
24286  if test x$gcc_no_link = xyes; then
24287  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24288fi
24289cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24290/* end confdefs.h.  */
24291
24292#ifdef HAVE_COMPLEX_H
24293#include <complex.h>
24294#endif
24295#ifdef HAVE_MATH_H
24296#include <math.h>
24297#endif
24298
24299int (*ptr)() = (int (*)())ynf;
24300
24301int
24302main ()
24303{
24304  return 0;
24305}
24306
24307_ACEOF
24308if ac_fn_c_try_link "$LINENO"; then :
24309  gcc_cv_math_func_ynf=yes
24310else
24311  gcc_cv_math_func_ynf=no
24312fi
24313rm -f core conftest.err conftest.$ac_objext \
24314    conftest$ac_exeext conftest.$ac_ext
24315fi
24316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24317$as_echo "$gcc_cv_math_func_ynf" >&6; }
24318  if test $gcc_cv_math_func_ynf = yes; then
24319
24320cat >>confdefs.h <<_ACEOF
24321#define HAVE_YNF 1
24322_ACEOF
24323
24324  fi
24325
24326
24327
24328
24329  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24330$as_echo_n "checking for yn... " >&6; }
24331if ${gcc_cv_math_func_yn+:} false; then :
24332  $as_echo_n "(cached) " >&6
24333else
24334  if test x$gcc_no_link = xyes; then
24335  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24336fi
24337cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24338/* end confdefs.h.  */
24339
24340#ifdef HAVE_COMPLEX_H
24341#include <complex.h>
24342#endif
24343#ifdef HAVE_MATH_H
24344#include <math.h>
24345#endif
24346
24347int (*ptr)() = (int (*)())yn;
24348
24349int
24350main ()
24351{
24352  return 0;
24353}
24354
24355_ACEOF
24356if ac_fn_c_try_link "$LINENO"; then :
24357  gcc_cv_math_func_yn=yes
24358else
24359  gcc_cv_math_func_yn=no
24360fi
24361rm -f core conftest.err conftest.$ac_objext \
24362    conftest$ac_exeext conftest.$ac_ext
24363fi
24364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24365$as_echo "$gcc_cv_math_func_yn" >&6; }
24366  if test $gcc_cv_math_func_yn = yes; then
24367
24368cat >>confdefs.h <<_ACEOF
24369#define HAVE_YN 1
24370_ACEOF
24371
24372  fi
24373
24374
24375
24376
24377  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24378$as_echo_n "checking for ynl... " >&6; }
24379if ${gcc_cv_math_func_ynl+:} false; then :
24380  $as_echo_n "(cached) " >&6
24381else
24382  if test x$gcc_no_link = xyes; then
24383  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24384fi
24385cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24386/* end confdefs.h.  */
24387
24388#ifdef HAVE_COMPLEX_H
24389#include <complex.h>
24390#endif
24391#ifdef HAVE_MATH_H
24392#include <math.h>
24393#endif
24394
24395int (*ptr)() = (int (*)())ynl;
24396
24397int
24398main ()
24399{
24400  return 0;
24401}
24402
24403_ACEOF
24404if ac_fn_c_try_link "$LINENO"; then :
24405  gcc_cv_math_func_ynl=yes
24406else
24407  gcc_cv_math_func_ynl=no
24408fi
24409rm -f core conftest.err conftest.$ac_objext \
24410    conftest$ac_exeext conftest.$ac_ext
24411fi
24412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24413$as_echo "$gcc_cv_math_func_ynl" >&6; }
24414  if test $gcc_cv_math_func_ynl = yes; then
24415
24416cat >>confdefs.h <<_ACEOF
24417#define HAVE_YNL 1
24418_ACEOF
24419
24420  fi
24421
24422
24423
24424
24425  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24426$as_echo_n "checking for tgamma... " >&6; }
24427if ${gcc_cv_math_func_tgamma+:} false; then :
24428  $as_echo_n "(cached) " >&6
24429else
24430  if test x$gcc_no_link = xyes; then
24431  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24432fi
24433cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24434/* end confdefs.h.  */
24435
24436#ifdef HAVE_COMPLEX_H
24437#include <complex.h>
24438#endif
24439#ifdef HAVE_MATH_H
24440#include <math.h>
24441#endif
24442
24443int (*ptr)() = (int (*)())tgamma;
24444
24445int
24446main ()
24447{
24448  return 0;
24449}
24450
24451_ACEOF
24452if ac_fn_c_try_link "$LINENO"; then :
24453  gcc_cv_math_func_tgamma=yes
24454else
24455  gcc_cv_math_func_tgamma=no
24456fi
24457rm -f core conftest.err conftest.$ac_objext \
24458    conftest$ac_exeext conftest.$ac_ext
24459fi
24460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24461$as_echo "$gcc_cv_math_func_tgamma" >&6; }
24462  if test $gcc_cv_math_func_tgamma = yes; then
24463
24464cat >>confdefs.h <<_ACEOF
24465#define HAVE_TGAMMA 1
24466_ACEOF
24467
24468  fi
24469
24470
24471
24472
24473  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24474$as_echo_n "checking for tgammaf... " >&6; }
24475if ${gcc_cv_math_func_tgammaf+:} false; then :
24476  $as_echo_n "(cached) " >&6
24477else
24478  if test x$gcc_no_link = xyes; then
24479  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24480fi
24481cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24482/* end confdefs.h.  */
24483
24484#ifdef HAVE_COMPLEX_H
24485#include <complex.h>
24486#endif
24487#ifdef HAVE_MATH_H
24488#include <math.h>
24489#endif
24490
24491int (*ptr)() = (int (*)())tgammaf;
24492
24493int
24494main ()
24495{
24496  return 0;
24497}
24498
24499_ACEOF
24500if ac_fn_c_try_link "$LINENO"; then :
24501  gcc_cv_math_func_tgammaf=yes
24502else
24503  gcc_cv_math_func_tgammaf=no
24504fi
24505rm -f core conftest.err conftest.$ac_objext \
24506    conftest$ac_exeext conftest.$ac_ext
24507fi
24508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24509$as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24510  if test $gcc_cv_math_func_tgammaf = yes; then
24511
24512cat >>confdefs.h <<_ACEOF
24513#define HAVE_TGAMMAF 1
24514_ACEOF
24515
24516  fi
24517
24518
24519
24520
24521  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24522$as_echo_n "checking for lgamma... " >&6; }
24523if ${gcc_cv_math_func_lgamma+:} false; then :
24524  $as_echo_n "(cached) " >&6
24525else
24526  if test x$gcc_no_link = xyes; then
24527  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24528fi
24529cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24530/* end confdefs.h.  */
24531
24532#ifdef HAVE_COMPLEX_H
24533#include <complex.h>
24534#endif
24535#ifdef HAVE_MATH_H
24536#include <math.h>
24537#endif
24538
24539int (*ptr)() = (int (*)())lgamma;
24540
24541int
24542main ()
24543{
24544  return 0;
24545}
24546
24547_ACEOF
24548if ac_fn_c_try_link "$LINENO"; then :
24549  gcc_cv_math_func_lgamma=yes
24550else
24551  gcc_cv_math_func_lgamma=no
24552fi
24553rm -f core conftest.err conftest.$ac_objext \
24554    conftest$ac_exeext conftest.$ac_ext
24555fi
24556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24557$as_echo "$gcc_cv_math_func_lgamma" >&6; }
24558  if test $gcc_cv_math_func_lgamma = yes; then
24559
24560cat >>confdefs.h <<_ACEOF
24561#define HAVE_LGAMMA 1
24562_ACEOF
24563
24564  fi
24565
24566
24567
24568
24569  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24570$as_echo_n "checking for lgammaf... " >&6; }
24571if ${gcc_cv_math_func_lgammaf+:} false; then :
24572  $as_echo_n "(cached) " >&6
24573else
24574  if test x$gcc_no_link = xyes; then
24575  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24576fi
24577cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24578/* end confdefs.h.  */
24579
24580#ifdef HAVE_COMPLEX_H
24581#include <complex.h>
24582#endif
24583#ifdef HAVE_MATH_H
24584#include <math.h>
24585#endif
24586
24587int (*ptr)() = (int (*)())lgammaf;
24588
24589int
24590main ()
24591{
24592  return 0;
24593}
24594
24595_ACEOF
24596if ac_fn_c_try_link "$LINENO"; then :
24597  gcc_cv_math_func_lgammaf=yes
24598else
24599  gcc_cv_math_func_lgammaf=no
24600fi
24601rm -f core conftest.err conftest.$ac_objext \
24602    conftest$ac_exeext conftest.$ac_ext
24603fi
24604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24605$as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24606  if test $gcc_cv_math_func_lgammaf = yes; then
24607
24608cat >>confdefs.h <<_ACEOF
24609#define HAVE_LGAMMAF 1
24610_ACEOF
24611
24612  fi
24613
24614
24615# Check for GFORTRAN_C99_1.1 funcs
24616
24617
24618
24619  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24620$as_echo_n "checking for cacos... " >&6; }
24621if ${gcc_cv_math_func_cacos+:} false; then :
24622  $as_echo_n "(cached) " >&6
24623else
24624  if test x$gcc_no_link = xyes; then
24625  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24626fi
24627cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24628/* end confdefs.h.  */
24629
24630#ifdef HAVE_COMPLEX_H
24631#include <complex.h>
24632#endif
24633#ifdef HAVE_MATH_H
24634#include <math.h>
24635#endif
24636
24637int (*ptr)() = (int (*)())cacos;
24638
24639int
24640main ()
24641{
24642  return 0;
24643}
24644
24645_ACEOF
24646if ac_fn_c_try_link "$LINENO"; then :
24647  gcc_cv_math_func_cacos=yes
24648else
24649  gcc_cv_math_func_cacos=no
24650fi
24651rm -f core conftest.err conftest.$ac_objext \
24652    conftest$ac_exeext conftest.$ac_ext
24653fi
24654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24655$as_echo "$gcc_cv_math_func_cacos" >&6; }
24656  if test $gcc_cv_math_func_cacos = yes; then
24657
24658cat >>confdefs.h <<_ACEOF
24659#define HAVE_CACOS 1
24660_ACEOF
24661
24662  fi
24663
24664
24665
24666
24667  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24668$as_echo_n "checking for cacosf... " >&6; }
24669if ${gcc_cv_math_func_cacosf+:} false; then :
24670  $as_echo_n "(cached) " >&6
24671else
24672  if test x$gcc_no_link = xyes; then
24673  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24674fi
24675cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24676/* end confdefs.h.  */
24677
24678#ifdef HAVE_COMPLEX_H
24679#include <complex.h>
24680#endif
24681#ifdef HAVE_MATH_H
24682#include <math.h>
24683#endif
24684
24685int (*ptr)() = (int (*)())cacosf;
24686
24687int
24688main ()
24689{
24690  return 0;
24691}
24692
24693_ACEOF
24694if ac_fn_c_try_link "$LINENO"; then :
24695  gcc_cv_math_func_cacosf=yes
24696else
24697  gcc_cv_math_func_cacosf=no
24698fi
24699rm -f core conftest.err conftest.$ac_objext \
24700    conftest$ac_exeext conftest.$ac_ext
24701fi
24702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24703$as_echo "$gcc_cv_math_func_cacosf" >&6; }
24704  if test $gcc_cv_math_func_cacosf = yes; then
24705
24706cat >>confdefs.h <<_ACEOF
24707#define HAVE_CACOSF 1
24708_ACEOF
24709
24710  fi
24711
24712
24713
24714
24715  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24716$as_echo_n "checking for cacosh... " >&6; }
24717if ${gcc_cv_math_func_cacosh+:} false; then :
24718  $as_echo_n "(cached) " >&6
24719else
24720  if test x$gcc_no_link = xyes; then
24721  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24722fi
24723cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24724/* end confdefs.h.  */
24725
24726#ifdef HAVE_COMPLEX_H
24727#include <complex.h>
24728#endif
24729#ifdef HAVE_MATH_H
24730#include <math.h>
24731#endif
24732
24733int (*ptr)() = (int (*)())cacosh;
24734
24735int
24736main ()
24737{
24738  return 0;
24739}
24740
24741_ACEOF
24742if ac_fn_c_try_link "$LINENO"; then :
24743  gcc_cv_math_func_cacosh=yes
24744else
24745  gcc_cv_math_func_cacosh=no
24746fi
24747rm -f core conftest.err conftest.$ac_objext \
24748    conftest$ac_exeext conftest.$ac_ext
24749fi
24750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24751$as_echo "$gcc_cv_math_func_cacosh" >&6; }
24752  if test $gcc_cv_math_func_cacosh = yes; then
24753
24754cat >>confdefs.h <<_ACEOF
24755#define HAVE_CACOSH 1
24756_ACEOF
24757
24758  fi
24759
24760
24761
24762
24763  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24764$as_echo_n "checking for cacoshf... " >&6; }
24765if ${gcc_cv_math_func_cacoshf+:} false; then :
24766  $as_echo_n "(cached) " >&6
24767else
24768  if test x$gcc_no_link = xyes; then
24769  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24770fi
24771cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24772/* end confdefs.h.  */
24773
24774#ifdef HAVE_COMPLEX_H
24775#include <complex.h>
24776#endif
24777#ifdef HAVE_MATH_H
24778#include <math.h>
24779#endif
24780
24781int (*ptr)() = (int (*)())cacoshf;
24782
24783int
24784main ()
24785{
24786  return 0;
24787}
24788
24789_ACEOF
24790if ac_fn_c_try_link "$LINENO"; then :
24791  gcc_cv_math_func_cacoshf=yes
24792else
24793  gcc_cv_math_func_cacoshf=no
24794fi
24795rm -f core conftest.err conftest.$ac_objext \
24796    conftest$ac_exeext conftest.$ac_ext
24797fi
24798{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24799$as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24800  if test $gcc_cv_math_func_cacoshf = yes; then
24801
24802cat >>confdefs.h <<_ACEOF
24803#define HAVE_CACOSHF 1
24804_ACEOF
24805
24806  fi
24807
24808
24809
24810
24811  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24812$as_echo_n "checking for cacoshl... " >&6; }
24813if ${gcc_cv_math_func_cacoshl+:} false; then :
24814  $as_echo_n "(cached) " >&6
24815else
24816  if test x$gcc_no_link = xyes; then
24817  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24818fi
24819cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24820/* end confdefs.h.  */
24821
24822#ifdef HAVE_COMPLEX_H
24823#include <complex.h>
24824#endif
24825#ifdef HAVE_MATH_H
24826#include <math.h>
24827#endif
24828
24829int (*ptr)() = (int (*)())cacoshl;
24830
24831int
24832main ()
24833{
24834  return 0;
24835}
24836
24837_ACEOF
24838if ac_fn_c_try_link "$LINENO"; then :
24839  gcc_cv_math_func_cacoshl=yes
24840else
24841  gcc_cv_math_func_cacoshl=no
24842fi
24843rm -f core conftest.err conftest.$ac_objext \
24844    conftest$ac_exeext conftest.$ac_ext
24845fi
24846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24847$as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24848  if test $gcc_cv_math_func_cacoshl = yes; then
24849
24850cat >>confdefs.h <<_ACEOF
24851#define HAVE_CACOSHL 1
24852_ACEOF
24853
24854  fi
24855
24856
24857
24858
24859  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24860$as_echo_n "checking for cacosl... " >&6; }
24861if ${gcc_cv_math_func_cacosl+:} false; then :
24862  $as_echo_n "(cached) " >&6
24863else
24864  if test x$gcc_no_link = xyes; then
24865  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24866fi
24867cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24868/* end confdefs.h.  */
24869
24870#ifdef HAVE_COMPLEX_H
24871#include <complex.h>
24872#endif
24873#ifdef HAVE_MATH_H
24874#include <math.h>
24875#endif
24876
24877int (*ptr)() = (int (*)())cacosl;
24878
24879int
24880main ()
24881{
24882  return 0;
24883}
24884
24885_ACEOF
24886if ac_fn_c_try_link "$LINENO"; then :
24887  gcc_cv_math_func_cacosl=yes
24888else
24889  gcc_cv_math_func_cacosl=no
24890fi
24891rm -f core conftest.err conftest.$ac_objext \
24892    conftest$ac_exeext conftest.$ac_ext
24893fi
24894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24895$as_echo "$gcc_cv_math_func_cacosl" >&6; }
24896  if test $gcc_cv_math_func_cacosl = yes; then
24897
24898cat >>confdefs.h <<_ACEOF
24899#define HAVE_CACOSL 1
24900_ACEOF
24901
24902  fi
24903
24904
24905
24906
24907  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24908$as_echo_n "checking for casin... " >&6; }
24909if ${gcc_cv_math_func_casin+:} false; then :
24910  $as_echo_n "(cached) " >&6
24911else
24912  if test x$gcc_no_link = xyes; then
24913  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24914fi
24915cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24916/* end confdefs.h.  */
24917
24918#ifdef HAVE_COMPLEX_H
24919#include <complex.h>
24920#endif
24921#ifdef HAVE_MATH_H
24922#include <math.h>
24923#endif
24924
24925int (*ptr)() = (int (*)())casin;
24926
24927int
24928main ()
24929{
24930  return 0;
24931}
24932
24933_ACEOF
24934if ac_fn_c_try_link "$LINENO"; then :
24935  gcc_cv_math_func_casin=yes
24936else
24937  gcc_cv_math_func_casin=no
24938fi
24939rm -f core conftest.err conftest.$ac_objext \
24940    conftest$ac_exeext conftest.$ac_ext
24941fi
24942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24943$as_echo "$gcc_cv_math_func_casin" >&6; }
24944  if test $gcc_cv_math_func_casin = yes; then
24945
24946cat >>confdefs.h <<_ACEOF
24947#define HAVE_CASIN 1
24948_ACEOF
24949
24950  fi
24951
24952
24953
24954
24955  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24956$as_echo_n "checking for casinf... " >&6; }
24957if ${gcc_cv_math_func_casinf+:} false; then :
24958  $as_echo_n "(cached) " >&6
24959else
24960  if test x$gcc_no_link = xyes; then
24961  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24962fi
24963cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24964/* end confdefs.h.  */
24965
24966#ifdef HAVE_COMPLEX_H
24967#include <complex.h>
24968#endif
24969#ifdef HAVE_MATH_H
24970#include <math.h>
24971#endif
24972
24973int (*ptr)() = (int (*)())casinf;
24974
24975int
24976main ()
24977{
24978  return 0;
24979}
24980
24981_ACEOF
24982if ac_fn_c_try_link "$LINENO"; then :
24983  gcc_cv_math_func_casinf=yes
24984else
24985  gcc_cv_math_func_casinf=no
24986fi
24987rm -f core conftest.err conftest.$ac_objext \
24988    conftest$ac_exeext conftest.$ac_ext
24989fi
24990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
24991$as_echo "$gcc_cv_math_func_casinf" >&6; }
24992  if test $gcc_cv_math_func_casinf = yes; then
24993
24994cat >>confdefs.h <<_ACEOF
24995#define HAVE_CASINF 1
24996_ACEOF
24997
24998  fi
24999
25000
25001
25002
25003  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25004$as_echo_n "checking for casinh... " >&6; }
25005if ${gcc_cv_math_func_casinh+:} false; then :
25006  $as_echo_n "(cached) " >&6
25007else
25008  if test x$gcc_no_link = xyes; then
25009  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25010fi
25011cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25012/* end confdefs.h.  */
25013
25014#ifdef HAVE_COMPLEX_H
25015#include <complex.h>
25016#endif
25017#ifdef HAVE_MATH_H
25018#include <math.h>
25019#endif
25020
25021int (*ptr)() = (int (*)())casinh;
25022
25023int
25024main ()
25025{
25026  return 0;
25027}
25028
25029_ACEOF
25030if ac_fn_c_try_link "$LINENO"; then :
25031  gcc_cv_math_func_casinh=yes
25032else
25033  gcc_cv_math_func_casinh=no
25034fi
25035rm -f core conftest.err conftest.$ac_objext \
25036    conftest$ac_exeext conftest.$ac_ext
25037fi
25038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25039$as_echo "$gcc_cv_math_func_casinh" >&6; }
25040  if test $gcc_cv_math_func_casinh = yes; then
25041
25042cat >>confdefs.h <<_ACEOF
25043#define HAVE_CASINH 1
25044_ACEOF
25045
25046  fi
25047
25048
25049
25050
25051  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25052$as_echo_n "checking for casinhf... " >&6; }
25053if ${gcc_cv_math_func_casinhf+:} false; then :
25054  $as_echo_n "(cached) " >&6
25055else
25056  if test x$gcc_no_link = xyes; then
25057  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25058fi
25059cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25060/* end confdefs.h.  */
25061
25062#ifdef HAVE_COMPLEX_H
25063#include <complex.h>
25064#endif
25065#ifdef HAVE_MATH_H
25066#include <math.h>
25067#endif
25068
25069int (*ptr)() = (int (*)())casinhf;
25070
25071int
25072main ()
25073{
25074  return 0;
25075}
25076
25077_ACEOF
25078if ac_fn_c_try_link "$LINENO"; then :
25079  gcc_cv_math_func_casinhf=yes
25080else
25081  gcc_cv_math_func_casinhf=no
25082fi
25083rm -f core conftest.err conftest.$ac_objext \
25084    conftest$ac_exeext conftest.$ac_ext
25085fi
25086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25087$as_echo "$gcc_cv_math_func_casinhf" >&6; }
25088  if test $gcc_cv_math_func_casinhf = yes; then
25089
25090cat >>confdefs.h <<_ACEOF
25091#define HAVE_CASINHF 1
25092_ACEOF
25093
25094  fi
25095
25096
25097
25098
25099  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25100$as_echo_n "checking for casinhl... " >&6; }
25101if ${gcc_cv_math_func_casinhl+:} false; then :
25102  $as_echo_n "(cached) " >&6
25103else
25104  if test x$gcc_no_link = xyes; then
25105  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25106fi
25107cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25108/* end confdefs.h.  */
25109
25110#ifdef HAVE_COMPLEX_H
25111#include <complex.h>
25112#endif
25113#ifdef HAVE_MATH_H
25114#include <math.h>
25115#endif
25116
25117int (*ptr)() = (int (*)())casinhl;
25118
25119int
25120main ()
25121{
25122  return 0;
25123}
25124
25125_ACEOF
25126if ac_fn_c_try_link "$LINENO"; then :
25127  gcc_cv_math_func_casinhl=yes
25128else
25129  gcc_cv_math_func_casinhl=no
25130fi
25131rm -f core conftest.err conftest.$ac_objext \
25132    conftest$ac_exeext conftest.$ac_ext
25133fi
25134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25135$as_echo "$gcc_cv_math_func_casinhl" >&6; }
25136  if test $gcc_cv_math_func_casinhl = yes; then
25137
25138cat >>confdefs.h <<_ACEOF
25139#define HAVE_CASINHL 1
25140_ACEOF
25141
25142  fi
25143
25144
25145
25146
25147  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25148$as_echo_n "checking for casinl... " >&6; }
25149if ${gcc_cv_math_func_casinl+:} false; then :
25150  $as_echo_n "(cached) " >&6
25151else
25152  if test x$gcc_no_link = xyes; then
25153  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25154fi
25155cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25156/* end confdefs.h.  */
25157
25158#ifdef HAVE_COMPLEX_H
25159#include <complex.h>
25160#endif
25161#ifdef HAVE_MATH_H
25162#include <math.h>
25163#endif
25164
25165int (*ptr)() = (int (*)())casinl;
25166
25167int
25168main ()
25169{
25170  return 0;
25171}
25172
25173_ACEOF
25174if ac_fn_c_try_link "$LINENO"; then :
25175  gcc_cv_math_func_casinl=yes
25176else
25177  gcc_cv_math_func_casinl=no
25178fi
25179rm -f core conftest.err conftest.$ac_objext \
25180    conftest$ac_exeext conftest.$ac_ext
25181fi
25182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25183$as_echo "$gcc_cv_math_func_casinl" >&6; }
25184  if test $gcc_cv_math_func_casinl = yes; then
25185
25186cat >>confdefs.h <<_ACEOF
25187#define HAVE_CASINL 1
25188_ACEOF
25189
25190  fi
25191
25192
25193
25194
25195  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25196$as_echo_n "checking for catan... " >&6; }
25197if ${gcc_cv_math_func_catan+:} false; then :
25198  $as_echo_n "(cached) " >&6
25199else
25200  if test x$gcc_no_link = xyes; then
25201  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25202fi
25203cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25204/* end confdefs.h.  */
25205
25206#ifdef HAVE_COMPLEX_H
25207#include <complex.h>
25208#endif
25209#ifdef HAVE_MATH_H
25210#include <math.h>
25211#endif
25212
25213int (*ptr)() = (int (*)())catan;
25214
25215int
25216main ()
25217{
25218  return 0;
25219}
25220
25221_ACEOF
25222if ac_fn_c_try_link "$LINENO"; then :
25223  gcc_cv_math_func_catan=yes
25224else
25225  gcc_cv_math_func_catan=no
25226fi
25227rm -f core conftest.err conftest.$ac_objext \
25228    conftest$ac_exeext conftest.$ac_ext
25229fi
25230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25231$as_echo "$gcc_cv_math_func_catan" >&6; }
25232  if test $gcc_cv_math_func_catan = yes; then
25233
25234cat >>confdefs.h <<_ACEOF
25235#define HAVE_CATAN 1
25236_ACEOF
25237
25238  fi
25239
25240
25241
25242
25243  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25244$as_echo_n "checking for catanf... " >&6; }
25245if ${gcc_cv_math_func_catanf+:} false; then :
25246  $as_echo_n "(cached) " >&6
25247else
25248  if test x$gcc_no_link = xyes; then
25249  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25250fi
25251cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25252/* end confdefs.h.  */
25253
25254#ifdef HAVE_COMPLEX_H
25255#include <complex.h>
25256#endif
25257#ifdef HAVE_MATH_H
25258#include <math.h>
25259#endif
25260
25261int (*ptr)() = (int (*)())catanf;
25262
25263int
25264main ()
25265{
25266  return 0;
25267}
25268
25269_ACEOF
25270if ac_fn_c_try_link "$LINENO"; then :
25271  gcc_cv_math_func_catanf=yes
25272else
25273  gcc_cv_math_func_catanf=no
25274fi
25275rm -f core conftest.err conftest.$ac_objext \
25276    conftest$ac_exeext conftest.$ac_ext
25277fi
25278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25279$as_echo "$gcc_cv_math_func_catanf" >&6; }
25280  if test $gcc_cv_math_func_catanf = yes; then
25281
25282cat >>confdefs.h <<_ACEOF
25283#define HAVE_CATANF 1
25284_ACEOF
25285
25286  fi
25287
25288
25289
25290
25291  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25292$as_echo_n "checking for catanh... " >&6; }
25293if ${gcc_cv_math_func_catanh+:} false; then :
25294  $as_echo_n "(cached) " >&6
25295else
25296  if test x$gcc_no_link = xyes; then
25297  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25298fi
25299cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25300/* end confdefs.h.  */
25301
25302#ifdef HAVE_COMPLEX_H
25303#include <complex.h>
25304#endif
25305#ifdef HAVE_MATH_H
25306#include <math.h>
25307#endif
25308
25309int (*ptr)() = (int (*)())catanh;
25310
25311int
25312main ()
25313{
25314  return 0;
25315}
25316
25317_ACEOF
25318if ac_fn_c_try_link "$LINENO"; then :
25319  gcc_cv_math_func_catanh=yes
25320else
25321  gcc_cv_math_func_catanh=no
25322fi
25323rm -f core conftest.err conftest.$ac_objext \
25324    conftest$ac_exeext conftest.$ac_ext
25325fi
25326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25327$as_echo "$gcc_cv_math_func_catanh" >&6; }
25328  if test $gcc_cv_math_func_catanh = yes; then
25329
25330cat >>confdefs.h <<_ACEOF
25331#define HAVE_CATANH 1
25332_ACEOF
25333
25334  fi
25335
25336
25337
25338
25339  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25340$as_echo_n "checking for catanhf... " >&6; }
25341if ${gcc_cv_math_func_catanhf+:} false; then :
25342  $as_echo_n "(cached) " >&6
25343else
25344  if test x$gcc_no_link = xyes; then
25345  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25346fi
25347cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25348/* end confdefs.h.  */
25349
25350#ifdef HAVE_COMPLEX_H
25351#include <complex.h>
25352#endif
25353#ifdef HAVE_MATH_H
25354#include <math.h>
25355#endif
25356
25357int (*ptr)() = (int (*)())catanhf;
25358
25359int
25360main ()
25361{
25362  return 0;
25363}
25364
25365_ACEOF
25366if ac_fn_c_try_link "$LINENO"; then :
25367  gcc_cv_math_func_catanhf=yes
25368else
25369  gcc_cv_math_func_catanhf=no
25370fi
25371rm -f core conftest.err conftest.$ac_objext \
25372    conftest$ac_exeext conftest.$ac_ext
25373fi
25374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25375$as_echo "$gcc_cv_math_func_catanhf" >&6; }
25376  if test $gcc_cv_math_func_catanhf = yes; then
25377
25378cat >>confdefs.h <<_ACEOF
25379#define HAVE_CATANHF 1
25380_ACEOF
25381
25382  fi
25383
25384
25385
25386
25387  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25388$as_echo_n "checking for catanhl... " >&6; }
25389if ${gcc_cv_math_func_catanhl+:} false; then :
25390  $as_echo_n "(cached) " >&6
25391else
25392  if test x$gcc_no_link = xyes; then
25393  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25394fi
25395cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25396/* end confdefs.h.  */
25397
25398#ifdef HAVE_COMPLEX_H
25399#include <complex.h>
25400#endif
25401#ifdef HAVE_MATH_H
25402#include <math.h>
25403#endif
25404
25405int (*ptr)() = (int (*)())catanhl;
25406
25407int
25408main ()
25409{
25410  return 0;
25411}
25412
25413_ACEOF
25414if ac_fn_c_try_link "$LINENO"; then :
25415  gcc_cv_math_func_catanhl=yes
25416else
25417  gcc_cv_math_func_catanhl=no
25418fi
25419rm -f core conftest.err conftest.$ac_objext \
25420    conftest$ac_exeext conftest.$ac_ext
25421fi
25422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25423$as_echo "$gcc_cv_math_func_catanhl" >&6; }
25424  if test $gcc_cv_math_func_catanhl = yes; then
25425
25426cat >>confdefs.h <<_ACEOF
25427#define HAVE_CATANHL 1
25428_ACEOF
25429
25430  fi
25431
25432
25433
25434
25435  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25436$as_echo_n "checking for catanl... " >&6; }
25437if ${gcc_cv_math_func_catanl+:} false; then :
25438  $as_echo_n "(cached) " >&6
25439else
25440  if test x$gcc_no_link = xyes; then
25441  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25442fi
25443cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25444/* end confdefs.h.  */
25445
25446#ifdef HAVE_COMPLEX_H
25447#include <complex.h>
25448#endif
25449#ifdef HAVE_MATH_H
25450#include <math.h>
25451#endif
25452
25453int (*ptr)() = (int (*)())catanl;
25454
25455int
25456main ()
25457{
25458  return 0;
25459}
25460
25461_ACEOF
25462if ac_fn_c_try_link "$LINENO"; then :
25463  gcc_cv_math_func_catanl=yes
25464else
25465  gcc_cv_math_func_catanl=no
25466fi
25467rm -f core conftest.err conftest.$ac_objext \
25468    conftest$ac_exeext conftest.$ac_ext
25469fi
25470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25471$as_echo "$gcc_cv_math_func_catanl" >&6; }
25472  if test $gcc_cv_math_func_catanl = yes; then
25473
25474cat >>confdefs.h <<_ACEOF
25475#define HAVE_CATANL 1
25476_ACEOF
25477
25478  fi
25479
25480
25481# On AIX, clog is present in libm as __clog
25482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25483$as_echo_n "checking for __clog in -lm... " >&6; }
25484if ${ac_cv_lib_m___clog+:} false; then :
25485  $as_echo_n "(cached) " >&6
25486else
25487  ac_check_lib_save_LIBS=$LIBS
25488LIBS="-lm  $LIBS"
25489if test x$gcc_no_link = xyes; then
25490  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25491fi
25492cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25493/* end confdefs.h.  */
25494
25495/* Override any GCC internal prototype to avoid an error.
25496   Use char because int might match the return type of a GCC
25497   builtin and then its argument prototype would still apply.  */
25498#ifdef __cplusplus
25499extern "C"
25500#endif
25501char __clog ();
25502int
25503main ()
25504{
25505return __clog ();
25506  ;
25507  return 0;
25508}
25509_ACEOF
25510if ac_fn_c_try_link "$LINENO"; then :
25511  ac_cv_lib_m___clog=yes
25512else
25513  ac_cv_lib_m___clog=no
25514fi
25515rm -f core conftest.err conftest.$ac_objext \
25516    conftest$ac_exeext conftest.$ac_ext
25517LIBS=$ac_check_lib_save_LIBS
25518fi
25519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25520$as_echo "$ac_cv_lib_m___clog" >&6; }
25521if test "x$ac_cv_lib_m___clog" = xyes; then :
25522
25523$as_echo "#define HAVE_CLOG 1" >>confdefs.h
25524
25525fi
25526
25527
25528# Check whether the system has a working stat()
25529
25530  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25531$as_echo_n "checking whether the target stat is reliable... " >&6; }
25532if ${libgfor_cv_have_working_stat+:} false; then :
25533  $as_echo_n "(cached) " >&6
25534else
25535
25536  if test "$cross_compiling" = yes; then :
25537
25538case "${target}" in
25539  *mingw*) libgfor_cv_have_working_stat=no ;;
25540  *) libgfor_cv_have_working_stat=yes;;
25541esac
25542else
25543  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25544/* end confdefs.h.  */
25545
25546#include <stdio.h>
25547#include <sys/types.h>
25548#include <sys/stat.h>
25549#include <unistd.h>
25550
25551int main ()
25552{
25553  FILE *f, *g;
25554  struct stat st1, st2;
25555
25556  f = fopen ("foo", "w");
25557  g = fopen ("bar", "w");
25558  if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25559    return 1;
25560  if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25561    return 1;
25562  fclose(f);
25563  fclose(g);
25564  return 0;
25565}
25566_ACEOF
25567if ac_fn_c_try_run "$LINENO"; then :
25568  libgfor_cv_have_working_stat=yes
25569else
25570  libgfor_cv_have_working_stat=no
25571fi
25572rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25573  conftest.$ac_objext conftest.beam conftest.$ac_ext
25574fi
25575
25576fi
25577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25578$as_echo "$libgfor_cv_have_working_stat" >&6; }
25579if test x"$libgfor_cv_have_working_stat" = xyes; then
25580
25581$as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25582
25583fi
25584
25585# Check whether __mingw_snprintf() is present
25586
25587  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25588$as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25589if ${libgfor_cv_have_mingw_snprintf+:} false; then :
25590  $as_echo_n "(cached) " >&6
25591else
25592
25593    if test x$gcc_no_link = xyes; then
25594  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25595fi
25596cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25597/* end confdefs.h.  */
25598
25599#include <stdio.h>
25600extern int __mingw_snprintf (char *, size_t, const char *, ...);
25601
25602int
25603main ()
25604{
25605
25606__mingw_snprintf (NULL, 0, "%d\n", 1);
25607
25608  ;
25609  return 0;
25610}
25611_ACEOF
25612if ac_fn_c_try_link "$LINENO"; then :
25613  eval "libgfor_cv_have_mingw_snprintf=yes"
25614else
25615  eval "libgfor_cv_have_mingw_snprintf=no"
25616fi
25617rm -f core conftest.err conftest.$ac_objext \
25618    conftest$ac_exeext conftest.$ac_ext
25619
25620fi
25621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25622$as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25623  if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
25624
25625$as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25626
25627  fi
25628
25629
25630# Check whether libquadmath should be used
25631# Check whether --enable-libquadmath-support was given.
25632if test "${enable_libquadmath_support+set}" = set; then :
25633  enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
25634else
25635  ENABLE_LIBQUADMATH_SUPPORT=yes
25636fi
25637
25638enable_libquadmath_support=
25639if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25640  enable_libquadmath_support=no
25641fi
25642
25643# Check whether we have a __float128 type, depends on enable_libquadmath_support
25644
25645  LIBQUADSPEC=
25646
25647  if test "x$enable_libquadmath_support" != xno; then
25648
25649  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25650$as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25651if ${libgfor_cv_have_float128+:} false; then :
25652  $as_echo_n "(cached) " >&6
25653else
25654
25655   if test x$gcc_no_link = xyes; then
25656  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25657/* end confdefs.h.  */
25658
25659    typedef _Complex float __attribute__((mode(TC))) __complex128;
25660
25661    __float128 foo (__float128 x)
25662    {
25663
25664     __complex128 z1, z2;
25665
25666     z1 = x;
25667     z2 = x / 7.Q;
25668     z2 /= z1;
25669
25670     return (__float128) z2;
25671    }
25672
25673    __float128 bar (__float128 x)
25674    {
25675      return x * __builtin_huge_valq ();
25676    }
25677
25678int
25679main ()
25680{
25681
25682    foo (1.2Q);
25683    bar (1.2Q);
25684
25685  ;
25686  return 0;
25687}
25688_ACEOF
25689if ac_fn_c_try_compile "$LINENO"; then :
25690
25691    libgfor_cv_have_float128=yes
25692
25693else
25694
25695    libgfor_cv_have_float128=no
25696
25697fi
25698rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25699else
25700  if test x$gcc_no_link = xyes; then
25701  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25702fi
25703cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25704/* end confdefs.h.  */
25705
25706    typedef _Complex float __attribute__((mode(TC))) __complex128;
25707
25708    __float128 foo (__float128 x)
25709    {
25710
25711     __complex128 z1, z2;
25712
25713     z1 = x;
25714     z2 = x / 7.Q;
25715     z2 /= z1;
25716
25717     return (__float128) z2;
25718    }
25719
25720    __float128 bar (__float128 x)
25721    {
25722      return x * __builtin_huge_valq ();
25723    }
25724
25725int
25726main ()
25727{
25728
25729    foo (1.2Q);
25730    bar (1.2Q);
25731
25732  ;
25733  return 0;
25734}
25735_ACEOF
25736if ac_fn_c_try_link "$LINENO"; then :
25737
25738    libgfor_cv_have_float128=yes
25739
25740else
25741
25742    libgfor_cv_have_float128=no
25743
25744fi
25745rm -f core conftest.err conftest.$ac_objext \
25746    conftest$ac_exeext conftest.$ac_ext
25747fi
25748fi
25749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25750$as_echo "$libgfor_cv_have_float128" >&6; }
25751
25752  if test "x$libgfor_cv_have_float128" = xyes; then
25753
25754$as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25755
25756
25757                                ac_xsave_c_werror_flag=$ac_c_werror_flag
25758    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25759$as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25760if ${libgfor_cv_have_as_needed+:} false; then :
25761  $as_echo_n "(cached) " >&6
25762else
25763
25764      # Test for native Solaris options first.
25765      # No whitespace after -z to pass it through -Wl.
25766      libgfor_cv_as_needed_option="-zignore"
25767      libgfor_cv_no_as_needed_option="-zrecord"
25768      save_LDFLAGS="$LDFLAGS"
25769      LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25770      libgfor_cv_have_as_needed=no
25771
25772ac_c_werror_flag=yes
25773      if test x$gcc_no_link = xyes; then
25774  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25775fi
25776cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25777/* end confdefs.h.  */
25778
25779int
25780main ()
25781{
25782
25783  ;
25784  return 0;
25785}
25786_ACEOF
25787if ac_fn_c_try_link "$LINENO"; then :
25788  libgfor_cv_have_as_needed=yes
25789else
25790  libgfor_cv_have_as_needed=no
25791fi
25792rm -f core conftest.err conftest.$ac_objext \
25793    conftest$ac_exeext conftest.$ac_ext
25794      LDFLAGS="$save_LDFLAGS"
25795      if test "x$libgfor_cv_have_as_needed" = xno; then
25796	libgfor_cv_as_needed_option="--as-needed"
25797	libgfor_cv_no_as_needed_option="--no-as-needed"
25798	save_LDFLAGS="$LDFLAGS"
25799	LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25800	libgfor_cv_have_as_needed=no
25801
25802ac_c_werror_flag=yes
25803	if test x$gcc_no_link = xyes; then
25804  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25805fi
25806cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25807/* end confdefs.h.  */
25808
25809int
25810main ()
25811{
25812
25813  ;
25814  return 0;
25815}
25816_ACEOF
25817if ac_fn_c_try_link "$LINENO"; then :
25818  libgfor_cv_have_as_needed=yes
25819else
25820  libgfor_cv_have_as_needed=no
25821fi
25822rm -f core conftest.err conftest.$ac_objext \
25823    conftest$ac_exeext conftest.$ac_ext
25824	LDFLAGS="$save_LDFLAGS"
25825      fi
25826      ac_c_werror_flag=$ac_xsave_c_werror_flag
25827
25828fi
25829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25830$as_echo "$libgfor_cv_have_as_needed" >&6; }
25831
25832        if test "x$libgfor_cv_have_as_needed" = xyes; then
25833      LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25834    else
25835      LIBQUADSPEC="-lquadmath"
25836    fi
25837    if test -f ../libquadmath/libquadmath.la; then
25838      LIBQUADLIB=../libquadmath/libquadmath.la
25839      LIBQUADLIB_DEP=../libquadmath/libquadmath.la
25840      LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
25841    else
25842      LIBQUADLIB="-lquadmath"
25843      LIBQUADLIB_DEP=
25844      LIBQUADINCLUDE=
25845    fi
25846  fi
25847  else
25848    # for --disable-quadmath
25849    LIBQUADLIB=
25850    LIBQUADLIB_DEP=
25851    LIBQUADINCLUDE=
25852  fi
25853
25854
25855
25856
25857
25858
25859     if test "x$libgfor_cv_have_float128" = xyes; then
25860  LIBGFOR_BUILD_QUAD_TRUE=
25861  LIBGFOR_BUILD_QUAD_FALSE='#'
25862else
25863  LIBGFOR_BUILD_QUAD_TRUE='#'
25864  LIBGFOR_BUILD_QUAD_FALSE=
25865fi
25866
25867
25868
25869# Check for GNU libc feenableexcept
25870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25871$as_echo_n "checking for feenableexcept in -lm... " >&6; }
25872if ${ac_cv_lib_m_feenableexcept+:} false; then :
25873  $as_echo_n "(cached) " >&6
25874else
25875  ac_check_lib_save_LIBS=$LIBS
25876LIBS="-lm  $LIBS"
25877if test x$gcc_no_link = xyes; then
25878  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25879fi
25880cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25881/* end confdefs.h.  */
25882
25883/* Override any GCC internal prototype to avoid an error.
25884   Use char because int might match the return type of a GCC
25885   builtin and then its argument prototype would still apply.  */
25886#ifdef __cplusplus
25887extern "C"
25888#endif
25889char feenableexcept ();
25890int
25891main ()
25892{
25893return feenableexcept ();
25894  ;
25895  return 0;
25896}
25897_ACEOF
25898if ac_fn_c_try_link "$LINENO"; then :
25899  ac_cv_lib_m_feenableexcept=yes
25900else
25901  ac_cv_lib_m_feenableexcept=no
25902fi
25903rm -f core conftest.err conftest.$ac_objext \
25904    conftest$ac_exeext conftest.$ac_ext
25905LIBS=$ac_check_lib_save_LIBS
25906fi
25907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25908$as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25909if test "x$ac_cv_lib_m_feenableexcept" = xyes; then :
25910  have_feenableexcept=yes
25911$as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25912
25913fi
25914
25915
25916# At least for glibc, clock_gettime is in librt.  But don't
25917# pull that in if it still doesn't give us the function we want.  This
25918# test is copied from libgomp, and modified to not link in -lrt as
25919# libgfortran calls clock_gettime via a weak reference if it's found
25920# in librt.
25921if test "$ac_cv_func_clock_gettime" = no; then
25922  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25923$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25924if ${ac_cv_lib_rt_clock_gettime+:} false; then :
25925  $as_echo_n "(cached) " >&6
25926else
25927  ac_check_lib_save_LIBS=$LIBS
25928LIBS="-lrt  $LIBS"
25929if test x$gcc_no_link = xyes; then
25930  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25931fi
25932cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25933/* end confdefs.h.  */
25934
25935/* Override any GCC internal prototype to avoid an error.
25936   Use char because int might match the return type of a GCC
25937   builtin and then its argument prototype would still apply.  */
25938#ifdef __cplusplus
25939extern "C"
25940#endif
25941char clock_gettime ();
25942int
25943main ()
25944{
25945return clock_gettime ();
25946  ;
25947  return 0;
25948}
25949_ACEOF
25950if ac_fn_c_try_link "$LINENO"; then :
25951  ac_cv_lib_rt_clock_gettime=yes
25952else
25953  ac_cv_lib_rt_clock_gettime=no
25954fi
25955rm -f core conftest.err conftest.$ac_objext \
25956    conftest$ac_exeext conftest.$ac_ext
25957LIBS=$ac_check_lib_save_LIBS
25958fi
25959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25960$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25961if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
25962
25963$as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25964
25965fi
25966
25967fi
25968
25969# Check for SysV fpsetmask
25970
25971  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25972$as_echo_n "checking whether fpsetmask is present... " >&6; }
25973if ${libgfor_cv_have_fpsetmask+:} false; then :
25974  $as_echo_n "(cached) " >&6
25975else
25976
25977    if test x$gcc_no_link = xyes; then
25978  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25979fi
25980cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25981/* end confdefs.h.  */
25982
25983#if HAVE_FLOATINGPOINT_H
25984# include <floatingpoint.h>
25985#endif /* HAVE_FLOATINGPOINT_H */
25986#if HAVE_IEEEFP_H
25987# include <ieeefp.h>
25988#endif /* HAVE_IEEEFP_H */
25989int
25990main ()
25991{
25992fpsetmask(0);
25993  ;
25994  return 0;
25995}
25996_ACEOF
25997if ac_fn_c_try_link "$LINENO"; then :
25998  eval "libgfor_cv_have_fpsetmask=yes"
25999else
26000  eval "libgfor_cv_have_fpsetmask=no"
26001fi
26002rm -f core conftest.err conftest.$ac_objext \
26003    conftest$ac_exeext conftest.$ac_ext
26004
26005fi
26006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
26007$as_echo "$libgfor_cv_have_fpsetmask" >&6; }
26008  if test x"$libgfor_cv_have_fpsetmask" = xyes; then
26009    have_fpsetmask=yes
26010
26011$as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26012
26013  fi
26014
26015ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "
26016#ifdef HAVE_IEEEFP_H
26017#include <ieeefp.h>
26018#endif
26019#include <math.h>
26020
26021"
26022if test "x$ac_cv_type_fp_except" = xyes; then :
26023
26024cat >>confdefs.h <<_ACEOF
26025#define HAVE_FP_EXCEPT 1
26026_ACEOF
26027
26028
26029fi
26030ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
26031#ifdef HAVE_IEEEFP_H
26032#include <ieeefp.h>
26033#endif
26034#include <math.h>
26035
26036"
26037if test "x$ac_cv_type_fp_except_t" = xyes; then :
26038
26039cat >>confdefs.h <<_ACEOF
26040#define HAVE_FP_EXCEPT_T 1
26041_ACEOF
26042
26043
26044fi
26045
26046ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
26047#ifdef HAVE_IEEEFP_H
26048#include <ieeefp.h>
26049#endif
26050#include <math.h>
26051
26052"
26053if test "x$ac_cv_type_fp_rnd" = xyes; then :
26054
26055cat >>confdefs.h <<_ACEOF
26056#define HAVE_FP_RND 1
26057_ACEOF
26058
26059
26060fi
26061ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
26062#ifdef HAVE_IEEEFP_H
26063#include <ieeefp.h>
26064#endif
26065#include <math.h>
26066
26067"
26068if test "x$ac_cv_type_fp_rnd_t" = xyes; then :
26069
26070cat >>confdefs.h <<_ACEOF
26071#define HAVE_FP_RND_T 1
26072_ACEOF
26073
26074
26075fi
26076
26077
26078# Check whether we have fpsetsticky or fpresetsticky
26079ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
26080if test "x$ac_cv_func_fpsetsticky" = xyes; then :
26081  have_fpsetsticky=yes
26082$as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
26083
26084fi
26085
26086ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
26087if test "x$ac_cv_func_fpresetsticky" = xyes; then :
26088  have_fpresetsticky=yes
26089$as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
26090
26091fi
26092
26093
26094# Check for AIX fp_trap and fp_enable
26095ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26096if test "x$ac_cv_func_fp_trap" = xyes; then :
26097  have_fp_trap=yes
26098$as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26099
26100fi
26101
26102ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26103if test "x$ac_cv_func_fp_enable" = xyes; then :
26104  have_fp_enable=yes
26105$as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26106
26107fi
26108
26109
26110# Check if _SOFT_FLOAT is defined
26111
26112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
26113$as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
26114if ${ac_cv_defined__SOFT_FLOAT+:} false; then :
26115  $as_echo_n "(cached) " >&6
26116else
26117  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26118/* end confdefs.h.  */
26119
26120int
26121main ()
26122{
26123
26124  #ifdef _SOFT_FLOAT
26125  int ok;
26126  #else
26127  choke me
26128  #endif
26129
26130  ;
26131  return 0;
26132}
26133_ACEOF
26134if ac_fn_c_try_compile "$LINENO"; then :
26135  ac_cv_defined__SOFT_FLOAT=yes
26136else
26137  ac_cv_defined__SOFT_FLOAT=no
26138fi
26139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26140fi
26141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
26142$as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
26143if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
26144  have_soft_float=yes
26145fi
26146
26147# Runs configure.host to set up necessary host-dependent shell variables.
26148# We then display a message about it, and propagate them through the
26149# build chain.
26150. ${srcdir}/configure.host
26151{ $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26152$as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26153{ $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
26154$as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
26155FPU_HOST_HEADER=config/${fpu_host}.h
26156
26157
26158# Whether we will build the IEEE modules
26159 if test x${ieee_support} = xyes; then
26160  IEEE_SUPPORT_TRUE=
26161  IEEE_SUPPORT_FALSE='#'
26162else
26163  IEEE_SUPPORT_TRUE='#'
26164  IEEE_SUPPORT_FALSE=
26165fi
26166
26167
26168
26169# Some targets require additional compiler options for IEEE compatibility.
26170IEEE_FLAGS="${ieee_flags}"
26171
26172
26173
26174# Check for POSIX getpwuid_r
26175#
26176# There are two versions of getpwuid_r, the POSIX one with 5
26177# arguments, and another one with 4 arguments used by at least HP-UX
26178# 10.2.
26179if test "$ac_cv_func_getpwuid_r" = "yes"; then
26180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26181$as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26182if ${libgfor_cv_posix_getpwuid_r+:} false; then :
26183  $as_echo_n "(cached) " >&6
26184else
26185
26186   if test x$gcc_no_link = xyes; then
26187  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26188fi
26189cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26190/* end confdefs.h.  */
26191
26192#include <stdio.h>
26193#include <sys/types.h>
26194#include <pwd.h>
26195int
26196main ()
26197{
26198
26199    getpwuid_r(0, NULL, NULL, 0, NULL);
26200
26201  ;
26202  return 0;
26203}
26204_ACEOF
26205if ac_fn_c_try_link "$LINENO"; then :
26206  libgfor_cv_posix_getpwuid_r="yes"
26207else
26208  libgfor_cv_posix_getpwuid_r="no"
26209fi
26210rm -f core conftest.err conftest.$ac_objext \
26211    conftest$ac_exeext conftest.$ac_ext
26212fi
26213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26214$as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26215fi
26216if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26217
26218$as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26219
26220fi
26221
26222
26223# Check out attribute support.
26224
26225  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26226$as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26227if ${libgfor_cv_have_attribute_visibility+:} false; then :
26228  $as_echo_n "(cached) " >&6
26229else
26230
26231  save_CFLAGS="$CFLAGS"
26232  CFLAGS="$CFLAGS -Werror"
26233  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26234/* end confdefs.h.  */
26235void __attribute__((visibility("hidden"))) foo(void) { }
26236int
26237main ()
26238{
26239
26240  ;
26241  return 0;
26242}
26243_ACEOF
26244if ac_fn_c_try_compile "$LINENO"; then :
26245  libgfor_cv_have_attribute_visibility=yes
26246else
26247  libgfor_cv_have_attribute_visibility=no
26248fi
26249rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26250  CFLAGS="$save_CFLAGS"
26251fi
26252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26253$as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26254  if test $libgfor_cv_have_attribute_visibility = yes; then
26255
26256$as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26257
26258  fi
26259
26260  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26261$as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26262if ${libgfor_cv_have_attribute_alias+:} false; then :
26263  $as_echo_n "(cached) " >&6
26264else
26265
26266  if test x$gcc_no_link = xyes; then
26267  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26268fi
26269cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26270/* end confdefs.h.  */
26271
26272void foo(void) { }
26273extern void bar(void) __attribute__((alias("foo")));
26274int
26275main ()
26276{
26277bar();
26278  ;
26279  return 0;
26280}
26281_ACEOF
26282if ac_fn_c_try_link "$LINENO"; then :
26283  libgfor_cv_have_attribute_alias=yes
26284else
26285  libgfor_cv_have_attribute_alias=no
26286fi
26287rm -f core conftest.err conftest.$ac_objext \
26288    conftest$ac_exeext conftest.$ac_ext
26289fi
26290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26291$as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26292  if test $libgfor_cv_have_attribute_alias = yes; then
26293
26294$as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26295
26296  fi
26297
26298# Check out atomic builtins support.
26299
26300  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
26301$as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
26302if ${libgfor_cv_have_atomic_fetch_add+:} false; then :
26303  $as_echo_n "(cached) " >&6
26304else
26305
26306  if test x$gcc_no_link = xyes; then
26307  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26308fi
26309cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26310/* end confdefs.h.  */
26311int foovar = 0;
26312int
26313main ()
26314{
26315
26316if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
26317if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
26318  ;
26319  return 0;
26320}
26321_ACEOF
26322if ac_fn_c_try_link "$LINENO"; then :
26323  libgfor_cv_have_atomic_fetch_add=yes
26324else
26325  libgfor_cv_have_atomic_fetch_add=no
26326fi
26327rm -f core conftest.err conftest.$ac_objext \
26328    conftest$ac_exeext conftest.$ac_ext
26329fi
26330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
26331$as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
26332  if test $libgfor_cv_have_atomic_fetch_add = yes; then
26333
26334$as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
26335
26336  fi
26337
26338# Check out #pragma weak.
26339
26340  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26341$as_echo_n "checking whether pragma weak works... " >&6; }
26342if ${libgfor_cv_have_pragma_weak+:} false; then :
26343  $as_echo_n "(cached) " >&6
26344else
26345
26346  gfor_save_CFLAGS="$CFLAGS"
26347  CFLAGS="$CFLAGS -Wunknown-pragmas"
26348  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26349/* end confdefs.h.  */
26350
26351void foo (void);
26352#pragma weak foo
26353
26354int
26355main ()
26356{
26357if (foo) foo ();
26358  ;
26359  return 0;
26360}
26361_ACEOF
26362if ac_fn_c_try_compile "$LINENO"; then :
26363  libgfor_cv_have_pragma_weak=yes
26364else
26365  libgfor_cv_have_pragma_weak=no
26366fi
26367rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26368fi
26369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26370$as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26371  if test $libgfor_cv_have_pragma_weak = yes; then
26372
26373$as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26374
26375  fi
26376  case "$host" in
26377    *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* )
26378
26379$as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26380
26381      ;;
26382  esac
26383
26384# Check out weakref support.
26385
26386  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
26387$as_echo_n "checking whether the target supports weakref... " >&6; }
26388if ${libgfor_cv_have_weakref+:} false; then :
26389  $as_echo_n "(cached) " >&6
26390else
26391
26392  save_CFLAGS="$CFLAGS"
26393  CFLAGS="$CFLAGS -Wunknown-pragmas -Werror"
26394  if test x$gcc_no_link = xyes; then
26395  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26396fi
26397cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26398/* end confdefs.h.  */
26399
26400static int mytoto (int) __attribute__((__weakref__("toto")));
26401
26402int
26403main ()
26404{
26405return (mytoto != 0);
26406  ;
26407  return 0;
26408}
26409_ACEOF
26410if ac_fn_c_try_link "$LINENO"; then :
26411  libgfor_cv_have_weakref=yes
26412else
26413  libgfor_cv_have_weakref=no
26414fi
26415rm -f core conftest.err conftest.$ac_objext \
26416    conftest$ac_exeext conftest.$ac_ext
26417  CFLAGS="$save_CFLAGS"
26418fi
26419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
26420$as_echo "$libgfor_cv_have_weakref" >&6; }
26421  if test $libgfor_cv_have_weakref = yes; then
26422
26423$as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
26424
26425  fi
26426
26427# Various other checks on target
26428
26429  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26430$as_echo_n "checking whether the target can unlink an open file... " >&6; }
26431if ${libgfor_cv_have_unlink_open_file+:} false; then :
26432  $as_echo_n "(cached) " >&6
26433else
26434
26435  if test "$cross_compiling" = yes; then :
26436
26437case "${target}" in
26438  *mingw*) libgfor_cv_have_unlink_open_file=no ;;
26439  *) libgfor_cv_have_unlink_open_file=yes;;
26440esac
26441else
26442  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26443/* end confdefs.h.  */
26444
26445#include <errno.h>
26446#include <fcntl.h>
26447#include <unistd.h>
26448#include <sys/stat.h>
26449
26450int main ()
26451{
26452  int fd;
26453
26454  fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26455  if (fd <= 0)
26456    return 0;
26457  if (unlink ("testfile") == -1)
26458    return 1;
26459  write (fd, "This is a test\n", 15);
26460  close (fd);
26461
26462  if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26463    return 0;
26464  else
26465    return 1;
26466}
26467_ACEOF
26468if ac_fn_c_try_run "$LINENO"; then :
26469  libgfor_cv_have_unlink_open_file=yes
26470else
26471  libgfor_cv_have_unlink_open_file=no
26472fi
26473rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26474  conftest.$ac_objext conftest.beam conftest.$ac_ext
26475fi
26476
26477fi
26478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26479$as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26480if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
26481
26482$as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26483
26484fi
26485
26486# Check whether line terminator is LF or CRLF
26487
26488  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26489$as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26490if ${libgfor_cv_have_crlf+:} false; then :
26491  $as_echo_n "(cached) " >&6
26492else
26493
26494  if test "$cross_compiling" = yes; then :
26495
26496case "${target}" in
26497  *mingw*) libgfor_cv_have_crlf=yes ;;
26498  *) libgfor_cv_have_crlf=no;;
26499esac
26500else
26501  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26502/* end confdefs.h.  */
26503
26504/* This test program should exit with status 0 if system uses a CRLF as
26505   line terminator, and status 1 otherwise.
26506   Since it is used to check for mingw systems, and should return 0 in any
26507   other case, in case of a failure we will not use CRLF.  */
26508#include <sys/stat.h>
26509#include <stdlib.h>
26510#include <fcntl.h>
26511#include <stdio.h>
26512
26513int main ()
26514{
26515#ifndef O_BINARY
26516  exit(1);
26517#else
26518  int fd, bytes;
26519  char buff[5];
26520
26521  fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26522  if (fd < 0)
26523    exit(1);
26524  if (write (fd, "\n", 1) < 0)
26525    perror ("write");
26526
26527  close (fd);
26528
26529  if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26530    exit(1);
26531  bytes = read (fd, buff, 5);
26532  if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26533    exit(0);
26534  else
26535    exit(1);
26536#endif
26537}
26538_ACEOF
26539if ac_fn_c_try_run "$LINENO"; then :
26540  libgfor_cv_have_crlf=yes
26541else
26542  libgfor_cv_have_crlf=no
26543fi
26544rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26545  conftest.$ac_objext conftest.beam conftest.$ac_ext
26546fi
26547
26548fi
26549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26550$as_echo "$libgfor_cv_have_crlf" >&6; }
26551if test x"$libgfor_cv_have_crlf" = xyes; then
26552
26553$as_echo "#define HAVE_CRLF 1" >>confdefs.h
26554
26555fi
26556
26557# Check whether we support AVX extensions
26558
26559  ac_save_CFLAGS="$CFLAGS"
26560  CFLAGS="-O2 -mavx"
26561  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26562/* end confdefs.h.  */
26563
26564  void _mm256_zeroall (void)
26565        {
26566           __builtin_ia32_vzeroall ();
26567        }
26568int
26569main ()
26570{
26571
26572  ;
26573  return 0;
26574}
26575_ACEOF
26576if ac_fn_c_try_compile "$LINENO"; then :
26577
26578$as_echo "#define HAVE_AVX 1" >>confdefs.h
26579
26580fi
26581rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26582  CFLAGS="$ac_save_CFLAGS"
26583
26584
26585# Check wether we support AVX2 extensions
26586
26587  ac_save_CFLAGS="$CFLAGS"
26588  CFLAGS="-O2 -mavx2"
26589  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26590/* end confdefs.h.  */
26591
26592  typedef long long __v4di __attribute__ ((__vector_size__ (32)));
26593	__v4di
26594	mm256_is32_andnotsi256  (__v4di __X, __v4di __Y)
26595        {
26596	   return __builtin_ia32_andnotsi256 (__X, __Y);
26597        }
26598int
26599main ()
26600{
26601
26602  ;
26603  return 0;
26604}
26605_ACEOF
26606if ac_fn_c_try_compile "$LINENO"; then :
26607
26608$as_echo "#define HAVE_AVX2 1" >>confdefs.h
26609
26610fi
26611rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26612  CFLAGS="$ac_save_CFLAGS"
26613
26614
26615# Check wether we support AVX512f extensions
26616
26617  ac_save_CFLAGS="$CFLAGS"
26618  CFLAGS="-O2 -mavx512f"
26619  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26620/* end confdefs.h.  */
26621
26622	typedef double __m512d __attribute__ ((__vector_size__ (64)));
26623	__m512d _mm512_add (__m512d a)
26624	{
26625	  __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
26626	  /* For -m64/-mx32 also verify that code will work even if
26627	     the target uses call saved zmm16+ and needs to emit
26628	     unwind info for them (e.g. on mingw).  See PR79127.  */
26629#ifdef __x86_64__
26630	  asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
26631#endif
26632	  return b;
26633        }
26634int
26635main ()
26636{
26637
26638  ;
26639  return 0;
26640}
26641_ACEOF
26642if ac_fn_c_try_compile "$LINENO"; then :
26643
26644$as_echo "#define HAVE_AVX512F 1" >>confdefs.h
26645
26646fi
26647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26648  CFLAGS="$ac_save_CFLAGS"
26649
26650
26651# Check for FMA3 extensions
26652
26653  ac_save_CFLAGS="$CFLAGS"
26654  CFLAGS="-O2 -mfma -mno-fma4"
26655  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26656/* end confdefs.h.  */
26657
26658        typedef float __m128 __attribute__ ((__vector_size__ (16)));
26659	typedef float __v4sf __attribute__ ((__vector_size__ (16)));
26660	__m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
26661	{
26662	    return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
26663						     (__v4sf)__B,
26664						     (__v4sf)__C);
26665        }
26666int
26667main ()
26668{
26669
26670  ;
26671  return 0;
26672}
26673_ACEOF
26674if ac_fn_c_try_compile "$LINENO"; then :
26675
26676$as_echo "#define HAVE_FMA3 1" >>confdefs.h
26677
26678fi
26679rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26680  CFLAGS="$ac_save_CFLAGS"
26681
26682
26683# Check for FMA4 extensions
26684
26685  ac_save_CFLAGS="$CFLAGS"
26686  CFLAGS="-O2 -mfma4 -mno-fma"
26687  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26688/* end confdefs.h.  */
26689
26690        typedef float __m128 __attribute__ ((__vector_size__ (16)));
26691	typedef float __v4sf __attribute__ ((__vector_size__ (16)));
26692	__m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
26693	{
26694	    return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
26695						     (__v4sf)__B,
26696						     (__v4sf)__C);
26697        }
26698int
26699main ()
26700{
26701
26702  ;
26703  return 0;
26704}
26705_ACEOF
26706if ac_fn_c_try_compile "$LINENO"; then :
26707
26708$as_echo "#define HAVE_FMA4 1" >>confdefs.h
26709
26710fi
26711rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26712  CFLAGS="$ac_save_CFLAGS"
26713
26714
26715# Check if AVX128 works
26716
26717  ac_save_CFLAGS="$CFLAGS"
26718  CFLAGS="-O2 -mavx -mprefer-avx128"
26719  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26720/* end confdefs.h.  */
26721
26722        void foo()
26723	{
26724        }
26725int
26726main ()
26727{
26728
26729  ;
26730  return 0;
26731}
26732_ACEOF
26733if ac_fn_c_try_compile "$LINENO"; then :
26734
26735$as_echo "#define HAVE_AVX128 1" >>confdefs.h
26736
26737	 if true; then
26738  HAVE_AVX128_TRUE=
26739  HAVE_AVX128_FALSE='#'
26740else
26741  HAVE_AVX128_TRUE='#'
26742  HAVE_AVX128_FALSE=
26743fi
26744
26745else
26746   if false; then
26747  HAVE_AVX128_TRUE=
26748  HAVE_AVX128_FALSE='#'
26749else
26750  HAVE_AVX128_TRUE='#'
26751  HAVE_AVX128_FALSE=
26752fi
26753
26754fi
26755rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26756  CFLAGS="$ac_save_CFLAGS"
26757
26758
26759# Determine what GCC version number to use in filesystem paths.
26760
26761  get_gcc_base_ver="cat"
26762
26763# Check whether --with-gcc-major-version-only was given.
26764if test "${with_gcc_major_version_only+set}" = set; then :
26765  withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
26766        get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
26767      fi
26768
26769fi
26770
26771
26772
26773
26774cat >confcache <<\_ACEOF
26775# This file is a shell script that caches the results of configure
26776# tests run on this system so they can be shared between configure
26777# scripts and configure runs, see configure's option --config-cache.
26778# It is not useful on other systems.  If it contains results you don't
26779# want to keep, you may remove or edit it.
26780#
26781# config.status only pays attention to the cache file if you give it
26782# the --recheck option to rerun configure.
26783#
26784# `ac_cv_env_foo' variables (set or unset) will be overridden when
26785# loading this file, other *unset* `ac_cv_foo' will be assigned the
26786# following values.
26787
26788_ACEOF
26789
26790# The following way of writing the cache mishandles newlines in values,
26791# but we know of no workaround that is simple, portable, and efficient.
26792# So, we kill variables containing newlines.
26793# Ultrix sh set writes to stderr and can't be redirected directly,
26794# and sets the high bit in the cache file unless we assign to the vars.
26795(
26796  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26797    eval ac_val=\$$ac_var
26798    case $ac_val in #(
26799    *${as_nl}*)
26800      case $ac_var in #(
26801      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26802$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26803      esac
26804      case $ac_var in #(
26805      _ | IFS | as_nl) ;; #(
26806      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26807      *) { eval $ac_var=; unset $ac_var;} ;;
26808      esac ;;
26809    esac
26810  done
26811
26812  (set) 2>&1 |
26813    case $as_nl`(ac_space=' '; set) 2>&1` in #(
26814    *${as_nl}ac_space=\ *)
26815      # `set' does not quote correctly, so add quotes: double-quote
26816      # substitution turns \\\\ into \\, and sed turns \\ into \.
26817      sed -n \
26818	"s/'/'\\\\''/g;
26819	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26820      ;; #(
26821    *)
26822      # `set' quotes correctly as required by POSIX, so do not add quotes.
26823      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26824      ;;
26825    esac |
26826    sort
26827) |
26828  sed '
26829     /^ac_cv_env_/b end
26830     t clear
26831     :clear
26832     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26833     t end
26834     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26835     :end' >>confcache
26836if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26837  if test -w "$cache_file"; then
26838    if test "x$cache_file" != "x/dev/null"; then
26839      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26840$as_echo "$as_me: updating cache $cache_file" >&6;}
26841      if test ! -f "$cache_file" || test -h "$cache_file"; then
26842	cat confcache >"$cache_file"
26843      else
26844        case $cache_file in #(
26845        */* | ?:*)
26846	  mv -f confcache "$cache_file"$$ &&
26847	  mv -f "$cache_file"$$ "$cache_file" ;; #(
26848        *)
26849	  mv -f confcache "$cache_file" ;;
26850	esac
26851      fi
26852    fi
26853  else
26854    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26855$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26856  fi
26857fi
26858rm -f confcache
26859
26860if test ${multilib} = yes; then
26861  multilib_arg="--enable-multilib"
26862else
26863  multilib_arg=
26864fi
26865
26866# Write our Makefile and spec file.
26867ac_config_files="$ac_config_files Makefile libgfortran.spec"
26868
26869cat >confcache <<\_ACEOF
26870# This file is a shell script that caches the results of configure
26871# tests run on this system so they can be shared between configure
26872# scripts and configure runs, see configure's option --config-cache.
26873# It is not useful on other systems.  If it contains results you don't
26874# want to keep, you may remove or edit it.
26875#
26876# config.status only pays attention to the cache file if you give it
26877# the --recheck option to rerun configure.
26878#
26879# `ac_cv_env_foo' variables (set or unset) will be overridden when
26880# loading this file, other *unset* `ac_cv_foo' will be assigned the
26881# following values.
26882
26883_ACEOF
26884
26885# The following way of writing the cache mishandles newlines in values,
26886# but we know of no workaround that is simple, portable, and efficient.
26887# So, we kill variables containing newlines.
26888# Ultrix sh set writes to stderr and can't be redirected directly,
26889# and sets the high bit in the cache file unless we assign to the vars.
26890(
26891  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26892    eval ac_val=\$$ac_var
26893    case $ac_val in #(
26894    *${as_nl}*)
26895      case $ac_var in #(
26896      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26897$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26898      esac
26899      case $ac_var in #(
26900      _ | IFS | as_nl) ;; #(
26901      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26902      *) { eval $ac_var=; unset $ac_var;} ;;
26903      esac ;;
26904    esac
26905  done
26906
26907  (set) 2>&1 |
26908    case $as_nl`(ac_space=' '; set) 2>&1` in #(
26909    *${as_nl}ac_space=\ *)
26910      # `set' does not quote correctly, so add quotes: double-quote
26911      # substitution turns \\\\ into \\, and sed turns \\ into \.
26912      sed -n \
26913	"s/'/'\\\\''/g;
26914	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26915      ;; #(
26916    *)
26917      # `set' quotes correctly as required by POSIX, so do not add quotes.
26918      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26919      ;;
26920    esac |
26921    sort
26922) |
26923  sed '
26924     /^ac_cv_env_/b end
26925     t clear
26926     :clear
26927     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26928     t end
26929     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26930     :end' >>confcache
26931if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26932  if test -w "$cache_file"; then
26933    if test "x$cache_file" != "x/dev/null"; then
26934      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26935$as_echo "$as_me: updating cache $cache_file" >&6;}
26936      if test ! -f "$cache_file" || test -h "$cache_file"; then
26937	cat confcache >"$cache_file"
26938      else
26939        case $cache_file in #(
26940        */* | ?:*)
26941	  mv -f confcache "$cache_file"$$ &&
26942	  mv -f "$cache_file"$$ "$cache_file" ;; #(
26943        *)
26944	  mv -f confcache "$cache_file" ;;
26945	esac
26946      fi
26947    fi
26948  else
26949    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26950$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26951  fi
26952fi
26953rm -f confcache
26954
26955test "x$prefix" = xNONE && prefix=$ac_default_prefix
26956# Let make expand exec_prefix.
26957test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26958
26959DEFS=-DHAVE_CONFIG_H
26960
26961ac_libobjs=
26962ac_ltlibobjs=
26963U=
26964for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26965  # 1. Remove the extension, and $U if already installed.
26966  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26967  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26968  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
26969  #    will be set to the directory where LIBOBJS objects are built.
26970  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26971  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26972done
26973LIBOBJS=$ac_libobjs
26974
26975LTLIBOBJS=$ac_ltlibobjs
26976
26977
26978if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26979  as_fn_error $? "conditional \"onestep\" was never defined.
26980Usually this means the macro was only invoked conditionally." "$LINENO" 5
26981fi
26982{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
26983$as_echo_n "checking that generated files are newer than configure... " >&6; }
26984   if test -n "$am_sleep_pid"; then
26985     # Hide warnings about reused PIDs.
26986     wait $am_sleep_pid 2>/dev/null
26987   fi
26988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
26989$as_echo "done" >&6; }
26990 if test -n "$EXEEXT"; then
26991  am__EXEEXT_TRUE=
26992  am__EXEEXT_FALSE='#'
26993else
26994  am__EXEEXT_TRUE='#'
26995  am__EXEEXT_FALSE=
26996fi
26997
26998if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26999  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
27000Usually this means the macro was only invoked conditionally." "$LINENO" 5
27001fi
27002if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27003  as_fn_error $? "conditional \"AMDEP\" was never defined.
27004Usually this means the macro was only invoked conditionally." "$LINENO" 5
27005fi
27006if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27007  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
27008Usually this means the macro was only invoked conditionally." "$LINENO" 5
27009fi
27010if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27011  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
27012Usually this means the macro was only invoked conditionally." "$LINENO" 5
27013fi
27014if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
27015  as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
27016Usually this means the macro was only invoked conditionally." "$LINENO" 5
27017fi
27018if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
27019  as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
27020Usually this means the macro was only invoked conditionally." "$LINENO" 5
27021fi
27022if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
27023  as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
27024Usually this means the macro was only invoked conditionally." "$LINENO" 5
27025fi
27026if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
27027  as_fn_error $? "conditional \"LIBGFOR_MINIMAL\" was never defined.
27028Usually this means the macro was only invoked conditionally." "$LINENO" 5
27029fi
27030if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
27031  as_fn_error $? "conditional \"HAVE_HWCAP\" was never defined.
27032Usually this means the macro was only invoked conditionally." "$LINENO" 5
27033fi
27034if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
27035  as_fn_error $? "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
27036Usually this means the macro was only invoked conditionally." "$LINENO" 5
27037fi
27038if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
27039  as_fn_error $? "conditional \"IEEE_SUPPORT\" was never defined.
27040Usually this means the macro was only invoked conditionally." "$LINENO" 5
27041fi
27042if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
27043  as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
27044Usually this means the macro was only invoked conditionally." "$LINENO" 5
27045fi
27046if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
27047  as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
27048Usually this means the macro was only invoked conditionally." "$LINENO" 5
27049fi
27050
27051: "${CONFIG_STATUS=./config.status}"
27052ac_write_fail=0
27053ac_clean_files_save=$ac_clean_files
27054ac_clean_files="$ac_clean_files $CONFIG_STATUS"
27055{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
27056$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
27057as_write_fail=0
27058cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
27059#! $SHELL
27060# Generated by $as_me.
27061# Run this file to recreate the current configuration.
27062# Compiler output produced by configure, useful for debugging
27063# configure, is in config.log if it exists.
27064
27065debug=false
27066ac_cs_recheck=false
27067ac_cs_silent=false
27068
27069SHELL=\${CONFIG_SHELL-$SHELL}
27070export SHELL
27071_ASEOF
27072cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
27073## -------------------- ##
27074## M4sh Initialization. ##
27075## -------------------- ##
27076
27077# Be more Bourne compatible
27078DUALCASE=1; export DUALCASE # for MKS sh
27079if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
27080  emulate sh
27081  NULLCMD=:
27082  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27083  # is contrary to our usage.  Disable this feature.
27084  alias -g '${1+"$@"}'='"$@"'
27085  setopt NO_GLOB_SUBST
27086else
27087  case `(set -o) 2>/dev/null` in #(
27088  *posix*) :
27089    set -o posix ;; #(
27090  *) :
27091     ;;
27092esac
27093fi
27094
27095
27096as_nl='
27097'
27098export as_nl
27099# Printing a long string crashes Solaris 7 /usr/bin/printf.
27100as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
27101as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
27102as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
27103# Prefer a ksh shell builtin over an external printf program on Solaris,
27104# but without wasting forks for bash or zsh.
27105if test -z "$BASH_VERSION$ZSH_VERSION" \
27106    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
27107  as_echo='print -r --'
27108  as_echo_n='print -rn --'
27109elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
27110  as_echo='printf %s\n'
27111  as_echo_n='printf %s'
27112else
27113  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
27114    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
27115    as_echo_n='/usr/ucb/echo -n'
27116  else
27117    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
27118    as_echo_n_body='eval
27119      arg=$1;
27120      case $arg in #(
27121      *"$as_nl"*)
27122	expr "X$arg" : "X\\(.*\\)$as_nl";
27123	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
27124      esac;
27125      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
27126    '
27127    export as_echo_n_body
27128    as_echo_n='sh -c $as_echo_n_body as_echo'
27129  fi
27130  export as_echo_body
27131  as_echo='sh -c $as_echo_body as_echo'
27132fi
27133
27134# The user is always right.
27135if test "${PATH_SEPARATOR+set}" != set; then
27136  PATH_SEPARATOR=:
27137  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
27138    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
27139      PATH_SEPARATOR=';'
27140  }
27141fi
27142
27143
27144# IFS
27145# We need space, tab and new line, in precisely that order.  Quoting is
27146# there to prevent editors from complaining about space-tab.
27147# (If _AS_PATH_WALK were called with IFS unset, it would disable word
27148# splitting by setting IFS to empty value.)
27149IFS=" ""	$as_nl"
27150
27151# Find who we are.  Look in the path if we contain no directory separator.
27152as_myself=
27153case $0 in #((
27154  *[\\/]* ) as_myself=$0 ;;
27155  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27156for as_dir in $PATH
27157do
27158  IFS=$as_save_IFS
27159  test -z "$as_dir" && as_dir=.
27160    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27161  done
27162IFS=$as_save_IFS
27163
27164     ;;
27165esac
27166# We did not find ourselves, most probably we were run as `sh COMMAND'
27167# in which case we are not to be found in the path.
27168if test "x$as_myself" = x; then
27169  as_myself=$0
27170fi
27171if test ! -f "$as_myself"; then
27172  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27173  exit 1
27174fi
27175
27176# Unset variables that we do not need and which cause bugs (e.g. in
27177# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
27178# suppresses any "Segmentation fault" message there.  '((' could
27179# trigger a bug in pdksh 5.2.14.
27180for as_var in BASH_ENV ENV MAIL MAILPATH
27181do eval test x\${$as_var+set} = xset \
27182  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
27183done
27184PS1='$ '
27185PS2='> '
27186PS4='+ '
27187
27188# NLS nuisances.
27189LC_ALL=C
27190export LC_ALL
27191LANGUAGE=C
27192export LANGUAGE
27193
27194# CDPATH.
27195(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27196
27197
27198# as_fn_error STATUS ERROR [LINENO LOG_FD]
27199# ----------------------------------------
27200# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
27201# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
27202# script with STATUS, using 1 if that was 0.
27203as_fn_error ()
27204{
27205  as_status=$1; test $as_status -eq 0 && as_status=1
27206  if test "$4"; then
27207    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
27208    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
27209  fi
27210  $as_echo "$as_me: error: $2" >&2
27211  as_fn_exit $as_status
27212} # as_fn_error
27213
27214
27215# as_fn_set_status STATUS
27216# -----------------------
27217# Set $? to STATUS, without forking.
27218as_fn_set_status ()
27219{
27220  return $1
27221} # as_fn_set_status
27222
27223# as_fn_exit STATUS
27224# -----------------
27225# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27226as_fn_exit ()
27227{
27228  set +e
27229  as_fn_set_status $1
27230  exit $1
27231} # as_fn_exit
27232
27233# as_fn_unset VAR
27234# ---------------
27235# Portably unset VAR.
27236as_fn_unset ()
27237{
27238  { eval $1=; unset $1;}
27239}
27240as_unset=as_fn_unset
27241# as_fn_append VAR VALUE
27242# ----------------------
27243# Append the text in VALUE to the end of the definition contained in VAR. Take
27244# advantage of any shell optimizations that allow amortized linear growth over
27245# repeated appends, instead of the typical quadratic growth present in naive
27246# implementations.
27247if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
27248  eval 'as_fn_append ()
27249  {
27250    eval $1+=\$2
27251  }'
27252else
27253  as_fn_append ()
27254  {
27255    eval $1=\$$1\$2
27256  }
27257fi # as_fn_append
27258
27259# as_fn_arith ARG...
27260# ------------------
27261# Perform arithmetic evaluation on the ARGs, and store the result in the
27262# global $as_val. Take advantage of shells that can avoid forks. The arguments
27263# must be portable across $(()) and expr.
27264if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
27265  eval 'as_fn_arith ()
27266  {
27267    as_val=$(( $* ))
27268  }'
27269else
27270  as_fn_arith ()
27271  {
27272    as_val=`expr "$@" || test $? -eq 1`
27273  }
27274fi # as_fn_arith
27275
27276
27277if expr a : '\(a\)' >/dev/null 2>&1 &&
27278   test "X`expr 00001 : '.*\(...\)'`" = X001; then
27279  as_expr=expr
27280else
27281  as_expr=false
27282fi
27283
27284if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27285  as_basename=basename
27286else
27287  as_basename=false
27288fi
27289
27290if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
27291  as_dirname=dirname
27292else
27293  as_dirname=false
27294fi
27295
27296as_me=`$as_basename -- "$0" ||
27297$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27298	 X"$0" : 'X\(//\)$' \| \
27299	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27300$as_echo X/"$0" |
27301    sed '/^.*\/\([^/][^/]*\)\/*$/{
27302	    s//\1/
27303	    q
27304	  }
27305	  /^X\/\(\/\/\)$/{
27306	    s//\1/
27307	    q
27308	  }
27309	  /^X\/\(\/\).*/{
27310	    s//\1/
27311	    q
27312	  }
27313	  s/.*/./; q'`
27314
27315# Avoid depending upon Character Ranges.
27316as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27317as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27318as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27319as_cr_digits='0123456789'
27320as_cr_alnum=$as_cr_Letters$as_cr_digits
27321
27322ECHO_C= ECHO_N= ECHO_T=
27323case `echo -n x` in #(((((
27324-n*)
27325  case `echo 'xy\c'` in
27326  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
27327  xy)  ECHO_C='\c';;
27328  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
27329       ECHO_T='	';;
27330  esac;;
27331*)
27332  ECHO_N='-n';;
27333esac
27334
27335rm -f conf$$ conf$$.exe conf$$.file
27336if test -d conf$$.dir; then
27337  rm -f conf$$.dir/conf$$.file
27338else
27339  rm -f conf$$.dir
27340  mkdir conf$$.dir 2>/dev/null
27341fi
27342if (echo >conf$$.file) 2>/dev/null; then
27343  if ln -s conf$$.file conf$$ 2>/dev/null; then
27344    as_ln_s='ln -s'
27345    # ... but there are two gotchas:
27346    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27347    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27348    # In both cases, we have to default to `cp -pR'.
27349    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
27350      as_ln_s='cp -pR'
27351  elif ln conf$$.file conf$$ 2>/dev/null; then
27352    as_ln_s=ln
27353  else
27354    as_ln_s='cp -pR'
27355  fi
27356else
27357  as_ln_s='cp -pR'
27358fi
27359rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27360rmdir conf$$.dir 2>/dev/null
27361
27362
27363# as_fn_mkdir_p
27364# -------------
27365# Create "$as_dir" as a directory, including parents if necessary.
27366as_fn_mkdir_p ()
27367{
27368
27369  case $as_dir in #(
27370  -*) as_dir=./$as_dir;;
27371  esac
27372  test -d "$as_dir" || eval $as_mkdir_p || {
27373    as_dirs=
27374    while :; do
27375      case $as_dir in #(
27376      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27377      *) as_qdir=$as_dir;;
27378      esac
27379      as_dirs="'$as_qdir' $as_dirs"
27380      as_dir=`$as_dirname -- "$as_dir" ||
27381$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27382	 X"$as_dir" : 'X\(//\)[^/]' \| \
27383	 X"$as_dir" : 'X\(//\)$' \| \
27384	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27385$as_echo X"$as_dir" |
27386    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27387	    s//\1/
27388	    q
27389	  }
27390	  /^X\(\/\/\)[^/].*/{
27391	    s//\1/
27392	    q
27393	  }
27394	  /^X\(\/\/\)$/{
27395	    s//\1/
27396	    q
27397	  }
27398	  /^X\(\/\).*/{
27399	    s//\1/
27400	    q
27401	  }
27402	  s/.*/./; q'`
27403      test -d "$as_dir" && break
27404    done
27405    test -z "$as_dirs" || eval "mkdir $as_dirs"
27406  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
27407
27408
27409} # as_fn_mkdir_p
27410if mkdir -p . 2>/dev/null; then
27411  as_mkdir_p='mkdir -p "$as_dir"'
27412else
27413  test -d ./-p && rmdir ./-p
27414  as_mkdir_p=false
27415fi
27416
27417
27418# as_fn_executable_p FILE
27419# -----------------------
27420# Test if FILE is an executable regular file.
27421as_fn_executable_p ()
27422{
27423  test -f "$1" && test -x "$1"
27424} # as_fn_executable_p
27425as_test_x='test -x'
27426as_executable_p=as_fn_executable_p
27427
27428# Sed expression to map a string onto a valid CPP name.
27429as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27430
27431# Sed expression to map a string onto a valid variable name.
27432as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27433
27434
27435exec 6>&1
27436## ----------------------------------- ##
27437## Main body of $CONFIG_STATUS script. ##
27438## ----------------------------------- ##
27439_ASEOF
27440test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
27441
27442cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27443# Save the log message, to keep $0 and so on meaningful, and to
27444# report actual input values of CONFIG_FILES etc. instead of their
27445# values after options handling.
27446ac_log="
27447This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27448generated by GNU Autoconf 2.69.  Invocation command line was
27449
27450  CONFIG_FILES    = $CONFIG_FILES
27451  CONFIG_HEADERS  = $CONFIG_HEADERS
27452  CONFIG_LINKS    = $CONFIG_LINKS
27453  CONFIG_COMMANDS = $CONFIG_COMMANDS
27454  $ $0 $@
27455
27456on `(hostname || uname -n) 2>/dev/null | sed 1q`
27457"
27458
27459_ACEOF
27460
27461case $ac_config_files in *"
27462"*) set x $ac_config_files; shift; ac_config_files=$*;;
27463esac
27464
27465case $ac_config_headers in *"
27466"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
27467esac
27468
27469
27470cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27471# Files that config.status was made for.
27472config_files="$ac_config_files"
27473config_headers="$ac_config_headers"
27474config_commands="$ac_config_commands"
27475
27476_ACEOF
27477
27478cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27479ac_cs_usage="\
27480\`$as_me' instantiates files and other configuration actions
27481from templates according to the current configuration.  Unless the files
27482and actions are specified as TAGs, all are instantiated by default.
27483
27484Usage: $0 [OPTION]... [TAG]...
27485
27486  -h, --help       print this help, then exit
27487  -V, --version    print version number and configuration settings, then exit
27488      --config     print configuration, then exit
27489  -q, --quiet, --silent
27490                   do not print progress messages
27491  -d, --debug      don't remove temporary files
27492      --recheck    update $as_me by reconfiguring in the same conditions
27493      --file=FILE[:TEMPLATE]
27494                   instantiate the configuration file FILE
27495      --header=FILE[:TEMPLATE]
27496                   instantiate the configuration header FILE
27497
27498Configuration files:
27499$config_files
27500
27501Configuration headers:
27502$config_headers
27503
27504Configuration commands:
27505$config_commands
27506
27507Report bugs to the package provider.
27508GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27509General help using GNU software: <http://www.gnu.org/gethelp/>."
27510
27511_ACEOF
27512cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27513ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
27514ac_cs_version="\\
27515GNU Fortran Runtime Library config.status 0.3
27516configured by $0, generated by GNU Autoconf 2.69,
27517  with options \\"\$ac_cs_config\\"
27518
27519Copyright (C) 2012 Free Software Foundation, Inc.
27520This config.status script is free software; the Free Software Foundation
27521gives unlimited permission to copy, distribute and modify it."
27522
27523ac_pwd='$ac_pwd'
27524srcdir='$srcdir'
27525INSTALL='$INSTALL'
27526MKDIR_P='$MKDIR_P'
27527AWK='$AWK'
27528test -n "\$AWK" || AWK=awk
27529_ACEOF
27530
27531cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27532# The default lists apply if the user does not specify any file.
27533ac_need_defaults=:
27534while test $# != 0
27535do
27536  case $1 in
27537  --*=?*)
27538    ac_option=`expr "X$1" : 'X\([^=]*\)='`
27539    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27540    ac_shift=:
27541    ;;
27542  --*=)
27543    ac_option=`expr "X$1" : 'X\([^=]*\)='`
27544    ac_optarg=
27545    ac_shift=:
27546    ;;
27547  *)
27548    ac_option=$1
27549    ac_optarg=$2
27550    ac_shift=shift
27551    ;;
27552  esac
27553
27554  case $ac_option in
27555  # Handling of the options.
27556  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27557    ac_cs_recheck=: ;;
27558  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27559    $as_echo "$ac_cs_version"; exit ;;
27560  --config | --confi | --conf | --con | --co | --c )
27561    $as_echo "$ac_cs_config"; exit ;;
27562  --debug | --debu | --deb | --de | --d | -d )
27563    debug=: ;;
27564  --file | --fil | --fi | --f )
27565    $ac_shift
27566    case $ac_optarg in
27567    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27568    '') as_fn_error $? "missing file argument" ;;
27569    esac
27570    as_fn_append CONFIG_FILES " '$ac_optarg'"
27571    ac_need_defaults=false;;
27572  --header | --heade | --head | --hea )
27573    $ac_shift
27574    case $ac_optarg in
27575    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27576    esac
27577    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
27578    ac_need_defaults=false;;
27579  --he | --h)
27580    # Conflict between --help and --header
27581    as_fn_error $? "ambiguous option: \`$1'
27582Try \`$0 --help' for more information.";;
27583  --help | --hel | -h )
27584    $as_echo "$ac_cs_usage"; exit ;;
27585  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27586  | -silent | --silent | --silen | --sile | --sil | --si | --s)
27587    ac_cs_silent=: ;;
27588
27589  # This is an error.
27590  -*) as_fn_error $? "unrecognized option: \`$1'
27591Try \`$0 --help' for more information." ;;
27592
27593  *) as_fn_append ac_config_targets " $1"
27594     ac_need_defaults=false ;;
27595
27596  esac
27597  shift
27598done
27599
27600ac_configure_extra_args=
27601
27602if $ac_cs_silent; then
27603  exec 6>/dev/null
27604  ac_configure_extra_args="$ac_configure_extra_args --silent"
27605fi
27606
27607_ACEOF
27608cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27609if \$ac_cs_recheck; then
27610  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27611  shift
27612  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27613  CONFIG_SHELL='$SHELL'
27614  export CONFIG_SHELL
27615  exec "\$@"
27616fi
27617
27618_ACEOF
27619cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27620exec 5>>config.log
27621{
27622  echo
27623  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27624## Running $as_me. ##
27625_ASBOX
27626  $as_echo "$ac_log"
27627} >&5
27628
27629_ACEOF
27630cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27631#
27632# INIT-COMMANDS
27633#
27634
27635srcdir="$srcdir"
27636host="$host"
27637target="$target"
27638with_multisubdir="$with_multisubdir"
27639with_multisrctop="$with_multisrctop"
27640with_target_subdir="$with_target_subdir"
27641ac_configure_args="${multilib_arg} ${ac_configure_args}"
27642multi_basedir="$multi_basedir"
27643CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27644CC="$CC"
27645CXX="$CXX"
27646GFORTRAN="$GFORTRAN"
27647GDC="$GDC"
27648AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27649
27650
27651# The HP-UX ksh and POSIX shell print the target directory to stdout
27652# if CDPATH is set.
27653(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27654
27655sed_quote_subst='$sed_quote_subst'
27656double_quote_subst='$double_quote_subst'
27657delay_variable_subst='$delay_variable_subst'
27658SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27659Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27660GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27661EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27662FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27663SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27664ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27665LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27666macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27667macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27668enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27669enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27670pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27671enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27672host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27673host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27674host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27675build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27676build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27677build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27678NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27679LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27680max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27681ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27682exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27683lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27684lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27685lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27686reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27687reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27688OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27689deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27690file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27691AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27692AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27693STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27694RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27695old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27696old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27697old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27698lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27699CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27700CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27701compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27702GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27703lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27704lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27705lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27706lt_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"`'
27707objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27708MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27709lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27710lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27711lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27712lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27713lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27714need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27715DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27716NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27717LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27718OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27719OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27720libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27721shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27722extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27723archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27724enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27725export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27726whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27727compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27728old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27729old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27730archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27731archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27732module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27733module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27734with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27735allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27736no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27737hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27738hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27739hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27740hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27741hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27742hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27743hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27744hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27745inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27746link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27747fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27748always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27749export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27750exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27751include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27752prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27753file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27754variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27755need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27756need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27757version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27758runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27759shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27760shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27761libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27762library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27763soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27764install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27765postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27766postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27767finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27768finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27769hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27770sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27771sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27772hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27773enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27774enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27775enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27776old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27777striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27778compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27779predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27780postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27781predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27782postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27783compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27784LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27785reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27786reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27787old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27788compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27789GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27790lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27791lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27792lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27793lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27794lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27795archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27796enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27797export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27798whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27799compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27800old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27801old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27802archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27803archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27804module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27805module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27806with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27807allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27808no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27809hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27810hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27811hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27812hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27813hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27814hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27815hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27816hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27817inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27818link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27819fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27820always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27821export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27822exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27823include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27824prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27825file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27826hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27827compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27828predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27829postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27830predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27831postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27832compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27833
27834LTCC='$LTCC'
27835LTCFLAGS='$LTCFLAGS'
27836compiler='$compiler_DEFAULT'
27837
27838# A function that is used when there is no print builtin or printf.
27839func_fallback_echo ()
27840{
27841  eval 'cat <<_LTECHO_EOF
27842\$1
27843_LTECHO_EOF'
27844}
27845
27846# Quote evaled strings.
27847for var in SED \
27848GREP \
27849EGREP \
27850FGREP \
27851SHELL \
27852ECHO \
27853LD \
27854NM \
27855LN_S \
27856lt_SP2NL \
27857lt_NL2SP \
27858reload_flag \
27859OBJDUMP \
27860deplibs_check_method \
27861file_magic_cmd \
27862AR \
27863AR_FLAGS \
27864STRIP \
27865RANLIB \
27866CC \
27867CFLAGS \
27868compiler \
27869lt_cv_sys_global_symbol_pipe \
27870lt_cv_sys_global_symbol_to_cdecl \
27871lt_cv_sys_global_symbol_to_c_name_address \
27872lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27873lt_prog_compiler_no_builtin_flag \
27874lt_prog_compiler_wl \
27875lt_prog_compiler_pic \
27876lt_prog_compiler_static \
27877lt_cv_prog_compiler_c_o \
27878need_locks \
27879DSYMUTIL \
27880NMEDIT \
27881LIPO \
27882OTOOL \
27883OTOOL64 \
27884shrext_cmds \
27885export_dynamic_flag_spec \
27886whole_archive_flag_spec \
27887compiler_needs_object \
27888with_gnu_ld \
27889allow_undefined_flag \
27890no_undefined_flag \
27891hardcode_libdir_flag_spec \
27892hardcode_libdir_flag_spec_ld \
27893hardcode_libdir_separator \
27894fix_srcfile_path \
27895exclude_expsyms \
27896include_expsyms \
27897file_list_spec \
27898variables_saved_for_relink \
27899libname_spec \
27900library_names_spec \
27901soname_spec \
27902install_override_mode \
27903finish_eval \
27904old_striplib \
27905striplib \
27906compiler_lib_search_dirs \
27907predep_objects \
27908postdep_objects \
27909predeps \
27910postdeps \
27911compiler_lib_search_path \
27912LD_FC \
27913reload_flag_FC \
27914compiler_FC \
27915lt_prog_compiler_no_builtin_flag_FC \
27916lt_prog_compiler_wl_FC \
27917lt_prog_compiler_pic_FC \
27918lt_prog_compiler_static_FC \
27919lt_cv_prog_compiler_c_o_FC \
27920export_dynamic_flag_spec_FC \
27921whole_archive_flag_spec_FC \
27922compiler_needs_object_FC \
27923with_gnu_ld_FC \
27924allow_undefined_flag_FC \
27925no_undefined_flag_FC \
27926hardcode_libdir_flag_spec_FC \
27927hardcode_libdir_flag_spec_ld_FC \
27928hardcode_libdir_separator_FC \
27929fix_srcfile_path_FC \
27930exclude_expsyms_FC \
27931include_expsyms_FC \
27932file_list_spec_FC \
27933compiler_lib_search_dirs_FC \
27934predep_objects_FC \
27935postdep_objects_FC \
27936predeps_FC \
27937postdeps_FC \
27938compiler_lib_search_path_FC; do
27939    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27940    *[\\\\\\\`\\"\\\$]*)
27941      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27942      ;;
27943    *)
27944      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27945      ;;
27946    esac
27947done
27948
27949# Double-quote double-evaled strings.
27950for var in reload_cmds \
27951old_postinstall_cmds \
27952old_postuninstall_cmds \
27953old_archive_cmds \
27954extract_expsyms_cmds \
27955old_archive_from_new_cmds \
27956old_archive_from_expsyms_cmds \
27957archive_cmds \
27958archive_expsym_cmds \
27959module_cmds \
27960module_expsym_cmds \
27961export_symbols_cmds \
27962prelink_cmds \
27963postinstall_cmds \
27964postuninstall_cmds \
27965finish_cmds \
27966sys_lib_search_path_spec \
27967sys_lib_dlsearch_path_spec \
27968reload_cmds_FC \
27969old_archive_cmds_FC \
27970old_archive_from_new_cmds_FC \
27971old_archive_from_expsyms_cmds_FC \
27972archive_cmds_FC \
27973archive_expsym_cmds_FC \
27974module_cmds_FC \
27975module_expsym_cmds_FC \
27976export_symbols_cmds_FC \
27977prelink_cmds_FC; do
27978    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27979    *[\\\\\\\`\\"\\\$]*)
27980      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27981      ;;
27982    *)
27983      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27984      ;;
27985    esac
27986done
27987
27988ac_aux_dir='$ac_aux_dir'
27989xsi_shell='$xsi_shell'
27990lt_shell_append='$lt_shell_append'
27991
27992# See if we are running on zsh, and set the options which allow our
27993# commands through without removal of \ escapes INIT.
27994if test -n "\${ZSH_VERSION+set}" ; then
27995   setopt NO_GLOB_SUBST
27996fi
27997
27998
27999    PACKAGE='$PACKAGE'
28000    VERSION='$VERSION'
28001    TIMESTAMP='$TIMESTAMP'
28002    RM='$RM'
28003    ofile='$ofile'
28004
28005
28006
28007
28008
28009
28010GCC="$GCC"
28011CC="$CC"
28012acx_cv_header_stdint="$acx_cv_header_stdint"
28013acx_cv_type_int8_t="$acx_cv_type_int8_t"
28014acx_cv_type_int16_t="$acx_cv_type_int16_t"
28015acx_cv_type_int32_t="$acx_cv_type_int32_t"
28016acx_cv_type_int64_t="$acx_cv_type_int64_t"
28017acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
28018ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
28019ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
28020ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
28021ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
28022ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
28023ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
28024ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
28025ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
28026
28027
28028_ACEOF
28029
28030cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28031
28032# Handling of arguments.
28033for ac_config_target in $ac_config_targets
28034do
28035  case $ac_config_target in
28036    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
28037    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
28038    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
28039    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
28040    "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
28041    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
28042    "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
28043
28044  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
28045  esac
28046done
28047
28048
28049# If the user did not use the arguments to specify the items to instantiate,
28050# then the envvar interface is used.  Set only those that are not.
28051# We use the long form for the default assignment because of an extremely
28052# bizarre bug on SunOS 4.1.3.
28053if $ac_need_defaults; then
28054  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
28055  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
28056  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
28057fi
28058
28059# Have a temporary directory for convenience.  Make it in the build tree
28060# simply because there is no reason against having it here, and in addition,
28061# creating and moving files from /tmp can sometimes cause problems.
28062# Hook for its removal unless debugging.
28063# Note that there is a small window in which the directory will not be cleaned:
28064# after its creation but before its name has been assigned to `$tmp'.
28065$debug ||
28066{
28067  tmp= ac_tmp=
28068  trap 'exit_status=$?
28069  : "${ac_tmp:=$tmp}"
28070  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
28071' 0
28072  trap 'as_fn_exit 1' 1 2 13 15
28073}
28074# Create a (secure) tmp directory for tmp files.
28075
28076{
28077  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28078  test -d "$tmp"
28079}  ||
28080{
28081  tmp=./conf$$-$RANDOM
28082  (umask 077 && mkdir "$tmp")
28083} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
28084ac_tmp=$tmp
28085
28086# Set up the scripts for CONFIG_FILES section.
28087# No need to generate them if there are no CONFIG_FILES.
28088# This happens for instance with `./config.status config.h'.
28089if test -n "$CONFIG_FILES"; then
28090
28091
28092ac_cr=`echo X | tr X '\015'`
28093# On cygwin, bash can eat \r inside `` if the user requested igncr.
28094# But we know of no other shell where ac_cr would be empty at this
28095# point, so we can use a bashism as a fallback.
28096if test "x$ac_cr" = x; then
28097  eval ac_cr=\$\'\\r\'
28098fi
28099ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
28100if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
28101  ac_cs_awk_cr='\\r'
28102else
28103  ac_cs_awk_cr=$ac_cr
28104fi
28105
28106echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
28107_ACEOF
28108
28109
28110{
28111  echo "cat >conf$$subs.awk <<_ACEOF" &&
28112  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
28113  echo "_ACEOF"
28114} >conf$$subs.sh ||
28115  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28116ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
28117ac_delim='%!_!# '
28118for ac_last_try in false false false false false :; do
28119  . ./conf$$subs.sh ||
28120    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28121
28122  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
28123  if test $ac_delim_n = $ac_delim_num; then
28124    break
28125  elif $ac_last_try; then
28126    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28127  else
28128    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28129  fi
28130done
28131rm -f conf$$subs.sh
28132
28133cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28134cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
28135_ACEOF
28136sed -n '
28137h
28138s/^/S["/; s/!.*/"]=/
28139p
28140g
28141s/^[^!]*!//
28142:repl
28143t repl
28144s/'"$ac_delim"'$//
28145t delim
28146:nl
28147h
28148s/\(.\{148\}\)..*/\1/
28149t more1
28150s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
28151p
28152n
28153b repl
28154:more1
28155s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28156p
28157g
28158s/.\{148\}//
28159t nl
28160:delim
28161h
28162s/\(.\{148\}\)..*/\1/
28163t more2
28164s/["\\]/\\&/g; s/^/"/; s/$/"/
28165p
28166b
28167:more2
28168s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28169p
28170g
28171s/.\{148\}//
28172t delim
28173' <conf$$subs.awk | sed '
28174/^[^""]/{
28175  N
28176  s/\n//
28177}
28178' >>$CONFIG_STATUS || ac_write_fail=1
28179rm -f conf$$subs.awk
28180cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28181_ACAWK
28182cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
28183  for (key in S) S_is_set[key] = 1
28184  FS = ""
28185
28186}
28187{
28188  line = $ 0
28189  nfields = split(line, field, "@")
28190  substed = 0
28191  len = length(field[1])
28192  for (i = 2; i < nfields; i++) {
28193    key = field[i]
28194    keylen = length(key)
28195    if (S_is_set[key]) {
28196      value = S[key]
28197      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
28198      len += length(value) + length(field[++i])
28199      substed = 1
28200    } else
28201      len += 1 + keylen
28202  }
28203
28204  print line
28205}
28206
28207_ACAWK
28208_ACEOF
28209cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28210if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
28211  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
28212else
28213  cat
28214fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
28215  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
28216_ACEOF
28217
28218# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
28219# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
28220# trailing colons and then remove the whole line if VPATH becomes empty
28221# (actually we leave an empty line to preserve line numbers).
28222if test "x$srcdir" = x.; then
28223  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
28224h
28225s///
28226s/^/:/
28227s/[	 ]*$/:/
28228s/:\$(srcdir):/:/g
28229s/:\${srcdir}:/:/g
28230s/:@srcdir@:/:/g
28231s/^:*//
28232s/:*$//
28233x
28234s/\(=[	 ]*\).*/\1/
28235G
28236s/\n//
28237s/^[^=]*=[	 ]*$//
28238}'
28239fi
28240
28241cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28242fi # test -n "$CONFIG_FILES"
28243
28244# Set up the scripts for CONFIG_HEADERS section.
28245# No need to generate them if there are no CONFIG_HEADERS.
28246# This happens for instance with `./config.status Makefile'.
28247if test -n "$CONFIG_HEADERS"; then
28248cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
28249BEGIN {
28250_ACEOF
28251
28252# Transform confdefs.h into an awk script `defines.awk', embedded as
28253# here-document in config.status, that substitutes the proper values into
28254# config.h.in to produce config.h.
28255
28256# Create a delimiter string that does not exist in confdefs.h, to ease
28257# handling of long lines.
28258ac_delim='%!_!# '
28259for ac_last_try in false false :; do
28260  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
28261  if test -z "$ac_tt"; then
28262    break
28263  elif $ac_last_try; then
28264    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
28265  else
28266    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28267  fi
28268done
28269
28270# For the awk script, D is an array of macro values keyed by name,
28271# likewise P contains macro parameters if any.  Preserve backslash
28272# newline sequences.
28273
28274ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28275sed -n '
28276s/.\{148\}/&'"$ac_delim"'/g
28277t rset
28278:rset
28279s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
28280t def
28281d
28282:def
28283s/\\$//
28284t bsnl
28285s/["\\]/\\&/g
28286s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
28287D["\1"]=" \3"/p
28288s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
28289d
28290:bsnl
28291s/["\\]/\\&/g
28292s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
28293D["\1"]=" \3\\\\\\n"\\/p
28294t cont
28295s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
28296t cont
28297d
28298:cont
28299n
28300s/.\{148\}/&'"$ac_delim"'/g
28301t clear
28302:clear
28303s/\\$//
28304t bsnlc
28305s/["\\]/\\&/g; s/^/"/; s/$/"/p
28306d
28307:bsnlc
28308s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
28309b cont
28310' <confdefs.h | sed '
28311s/'"$ac_delim"'/"\\\
28312"/g' >>$CONFIG_STATUS || ac_write_fail=1
28313
28314cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28315  for (key in D) D_is_set[key] = 1
28316  FS = ""
28317}
28318/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28319  line = \$ 0
28320  split(line, arg, " ")
28321  if (arg[1] == "#") {
28322    defundef = arg[2]
28323    mac1 = arg[3]
28324  } else {
28325    defundef = substr(arg[1], 2)
28326    mac1 = arg[2]
28327  }
28328  split(mac1, mac2, "(") #)
28329  macro = mac2[1]
28330  prefix = substr(line, 1, index(line, defundef) - 1)
28331  if (D_is_set[macro]) {
28332    # Preserve the white space surrounding the "#".
28333    print prefix "define", macro P[macro] D[macro]
28334    next
28335  } else {
28336    # Replace #undef with comments.  This is necessary, for example,
28337    # in the case of _POSIX_SOURCE, which is predefined and required
28338    # on some systems where configure will not decide to define it.
28339    if (defundef == "undef") {
28340      print "/*", prefix defundef, macro, "*/"
28341      next
28342    }
28343  }
28344}
28345{ print }
28346_ACAWK
28347_ACEOF
28348cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28349  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
28350fi # test -n "$CONFIG_HEADERS"
28351
28352
28353eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
28354shift
28355for ac_tag
28356do
28357  case $ac_tag in
28358  :[FHLC]) ac_mode=$ac_tag; continue;;
28359  esac
28360  case $ac_mode$ac_tag in
28361  :[FHL]*:*);;
28362  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
28363  :[FH]-) ac_tag=-:-;;
28364  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
28365  esac
28366  ac_save_IFS=$IFS
28367  IFS=:
28368  set x $ac_tag
28369  IFS=$ac_save_IFS
28370  shift
28371  ac_file=$1
28372  shift
28373
28374  case $ac_mode in
28375  :L) ac_source=$1;;
28376  :[FH])
28377    ac_file_inputs=
28378    for ac_f
28379    do
28380      case $ac_f in
28381      -) ac_f="$ac_tmp/stdin";;
28382      *) # Look for the file first in the build tree, then in the source tree
28383	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
28384	 # because $ac_f cannot contain `:'.
28385	 test -f "$ac_f" ||
28386	   case $ac_f in
28387	   [\\/$]*) false;;
28388	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
28389	   esac ||
28390	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28391      esac
28392      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28393      as_fn_append ac_file_inputs " '$ac_f'"
28394    done
28395
28396    # Let's still pretend it is `configure' which instantiates (i.e., don't
28397    # use $as_me), people would be surprised to read:
28398    #    /* config.h.  Generated by config.status.  */
28399    configure_input='Generated from '`
28400	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28401	`' by configure.'
28402    if test x"$ac_file" != x-; then
28403      configure_input="$ac_file.  $configure_input"
28404      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28405$as_echo "$as_me: creating $ac_file" >&6;}
28406    fi
28407    # Neutralize special characters interpreted by sed in replacement strings.
28408    case $configure_input in #(
28409    *\&* | *\|* | *\\* )
28410       ac_sed_conf_input=`$as_echo "$configure_input" |
28411       sed 's/[\\\\&|]/\\\\&/g'`;; #(
28412    *) ac_sed_conf_input=$configure_input;;
28413    esac
28414
28415    case $ac_tag in
28416    *:-:* | *:-) cat >"$ac_tmp/stdin" \
28417      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
28418    esac
28419    ;;
28420  esac
28421
28422  ac_dir=`$as_dirname -- "$ac_file" ||
28423$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28424	 X"$ac_file" : 'X\(//\)[^/]' \| \
28425	 X"$ac_file" : 'X\(//\)$' \| \
28426	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28427$as_echo X"$ac_file" |
28428    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28429	    s//\1/
28430	    q
28431	  }
28432	  /^X\(\/\/\)[^/].*/{
28433	    s//\1/
28434	    q
28435	  }
28436	  /^X\(\/\/\)$/{
28437	    s//\1/
28438	    q
28439	  }
28440	  /^X\(\/\).*/{
28441	    s//\1/
28442	    q
28443	  }
28444	  s/.*/./; q'`
28445  as_dir="$ac_dir"; as_fn_mkdir_p
28446  ac_builddir=.
28447
28448case "$ac_dir" in
28449.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
28450*)
28451  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28452  # A ".." for each directory in $ac_dir_suffix.
28453  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28454  case $ac_top_builddir_sub in
28455  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
28456  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
28457  esac ;;
28458esac
28459ac_abs_top_builddir=$ac_pwd
28460ac_abs_builddir=$ac_pwd$ac_dir_suffix
28461# for backward compatibility:
28462ac_top_builddir=$ac_top_build_prefix
28463
28464case $srcdir in
28465  .)  # We are building in place.
28466    ac_srcdir=.
28467    ac_top_srcdir=$ac_top_builddir_sub
28468    ac_abs_top_srcdir=$ac_pwd ;;
28469  [\\/]* | ?:[\\/]* )  # Absolute name.
28470    ac_srcdir=$srcdir$ac_dir_suffix;
28471    ac_top_srcdir=$srcdir
28472    ac_abs_top_srcdir=$srcdir ;;
28473  *) # Relative name.
28474    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
28475    ac_top_srcdir=$ac_top_build_prefix$srcdir
28476    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
28477esac
28478ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
28479
28480
28481  case $ac_mode in
28482  :F)
28483  #
28484  # CONFIG_FILE
28485  #
28486
28487  case $INSTALL in
28488  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28489  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
28490  esac
28491  ac_MKDIR_P=$MKDIR_P
28492  case $MKDIR_P in
28493  [\\/$]* | ?:[\\/]* ) ;;
28494  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
28495  esac
28496_ACEOF
28497
28498cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28499# If the template does not know about datarootdir, expand it.
28500# FIXME: This hack should be removed a few years after 2.60.
28501ac_datarootdir_hack=; ac_datarootdir_seen=
28502ac_sed_dataroot='
28503/datarootdir/ {
28504  p
28505  q
28506}
28507/@datadir@/p
28508/@docdir@/p
28509/@infodir@/p
28510/@localedir@/p
28511/@mandir@/p'
28512case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28513*datarootdir*) ac_datarootdir_seen=yes;;
28514*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28515  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28516$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28517_ACEOF
28518cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28519  ac_datarootdir_hack='
28520  s&@datadir@&$datadir&g
28521  s&@docdir@&$docdir&g
28522  s&@infodir@&$infodir&g
28523  s&@localedir@&$localedir&g
28524  s&@mandir@&$mandir&g
28525  s&\\\${datarootdir}&$datarootdir&g' ;;
28526esac
28527_ACEOF
28528
28529# Neutralize VPATH when `$srcdir' = `.'.
28530# Shell code in configure.ac might set extrasub.
28531# FIXME: do we really want to maintain this feature?
28532cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28533ac_sed_extra="$ac_vpsub
28534$extrasub
28535_ACEOF
28536cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28537:t
28538/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28539s|@configure_input@|$ac_sed_conf_input|;t t
28540s&@top_builddir@&$ac_top_builddir_sub&;t t
28541s&@top_build_prefix@&$ac_top_build_prefix&;t t
28542s&@srcdir@&$ac_srcdir&;t t
28543s&@abs_srcdir@&$ac_abs_srcdir&;t t
28544s&@top_srcdir@&$ac_top_srcdir&;t t
28545s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
28546s&@builddir@&$ac_builddir&;t t
28547s&@abs_builddir@&$ac_abs_builddir&;t t
28548s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
28549s&@INSTALL@&$ac_INSTALL&;t t
28550s&@MKDIR_P@&$ac_MKDIR_P&;t t
28551$ac_datarootdir_hack
28552"
28553eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
28554  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28555
28556test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28557  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
28558  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
28559      "$ac_tmp/out"`; test -z "$ac_out"; } &&
28560  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28561which seems to be undefined.  Please make sure it is defined" >&5
28562$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28563which seems to be undefined.  Please make sure it is defined" >&2;}
28564
28565  rm -f "$ac_tmp/stdin"
28566  case $ac_file in
28567  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
28568  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
28569  esac \
28570  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28571 ;;
28572  :H)
28573  #
28574  # CONFIG_HEADER
28575  #
28576  if test x"$ac_file" != x-; then
28577    {
28578      $as_echo "/* $configure_input  */" \
28579      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
28580    } >"$ac_tmp/config.h" \
28581      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28582    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
28583      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28584$as_echo "$as_me: $ac_file is unchanged" >&6;}
28585    else
28586      rm -f "$ac_file"
28587      mv "$ac_tmp/config.h" "$ac_file" \
28588	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
28589    fi
28590  else
28591    $as_echo "/* $configure_input  */" \
28592      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
28593      || as_fn_error $? "could not create -" "$LINENO" 5
28594  fi
28595# Compute "$ac_file"'s index in $config_headers.
28596_am_arg="$ac_file"
28597_am_stamp_count=1
28598for _am_header in $config_headers :; do
28599  case $_am_header in
28600    $_am_arg | $_am_arg:* )
28601      break ;;
28602    * )
28603      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28604  esac
28605done
28606echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28607$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28608	 X"$_am_arg" : 'X\(//\)[^/]' \| \
28609	 X"$_am_arg" : 'X\(//\)$' \| \
28610	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28611$as_echo X"$_am_arg" |
28612    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28613	    s//\1/
28614	    q
28615	  }
28616	  /^X\(\/\/\)[^/].*/{
28617	    s//\1/
28618	    q
28619	  }
28620	  /^X\(\/\/\)$/{
28621	    s//\1/
28622	    q
28623	  }
28624	  /^X\(\/\).*/{
28625	    s//\1/
28626	    q
28627	  }
28628	  s/.*/./; q'`/stamp-h$_am_stamp_count
28629 ;;
28630
28631  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28632$as_echo "$as_me: executing $ac_file commands" >&6;}
28633 ;;
28634  esac
28635
28636
28637  case $ac_file$ac_mode in
28638    "default-1":C)
28639# Only add multilib support code if we just rebuilt the top-level
28640# Makefile.
28641case " $CONFIG_FILES " in
28642 *" Makefile "*)
28643   ac_file=Makefile . ${multi_basedir}/config-ml.in
28644   ;;
28645esac ;;
28646    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
28647  # Older Autoconf quotes --file arguments for eval, but not when files
28648  # are listed without --file.  Let's play safe and only enable the eval
28649  # if we detect the quoting.
28650  case $CONFIG_FILES in
28651  *\'*) eval set x "$CONFIG_FILES" ;;
28652  *)   set x $CONFIG_FILES ;;
28653  esac
28654  shift
28655  for mf
28656  do
28657    # Strip MF so we end up with the name of the file.
28658    mf=`echo "$mf" | sed -e 's/:.*$//'`
28659    # Check whether this is an Automake generated Makefile or not.
28660    # We used to match only the files named 'Makefile.in', but
28661    # some people rename them; so instead we look at the file content.
28662    # Grep'ing the first line is not enough: some people post-process
28663    # each Makefile.in and add a new line on top of each file to say so.
28664    # Grep'ing the whole file is not good either: AIX grep has a line
28665    # limit of 2048, but all sed's we know have understand at least 4000.
28666    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
28667      dirpart=`$as_dirname -- "$mf" ||
28668$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28669	 X"$mf" : 'X\(//\)[^/]' \| \
28670	 X"$mf" : 'X\(//\)$' \| \
28671	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28672$as_echo X"$mf" |
28673    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28674	    s//\1/
28675	    q
28676	  }
28677	  /^X\(\/\/\)[^/].*/{
28678	    s//\1/
28679	    q
28680	  }
28681	  /^X\(\/\/\)$/{
28682	    s//\1/
28683	    q
28684	  }
28685	  /^X\(\/\).*/{
28686	    s//\1/
28687	    q
28688	  }
28689	  s/.*/./; q'`
28690    else
28691      continue
28692    fi
28693    # Extract the definition of DEPDIR, am__include, and am__quote
28694    # from the Makefile without running 'make'.
28695    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
28696    test -z "$DEPDIR" && continue
28697    am__include=`sed -n 's/^am__include = //p' < "$mf"`
28698    test -z "$am__include" && continue
28699    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
28700    # Find all dependency output files, they are included files with
28701    # $(DEPDIR) in their names.  We invoke sed twice because it is the
28702    # simplest approach to changing $(DEPDIR) to its actual value in the
28703    # expansion.
28704    for file in `sed -n "
28705      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28706	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
28707      # Make sure the directory exists.
28708      test -f "$dirpart/$file" && continue
28709      fdir=`$as_dirname -- "$file" ||
28710$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28711	 X"$file" : 'X\(//\)[^/]' \| \
28712	 X"$file" : 'X\(//\)$' \| \
28713	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28714$as_echo X"$file" |
28715    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28716	    s//\1/
28717	    q
28718	  }
28719	  /^X\(\/\/\)[^/].*/{
28720	    s//\1/
28721	    q
28722	  }
28723	  /^X\(\/\/\)$/{
28724	    s//\1/
28725	    q
28726	  }
28727	  /^X\(\/\).*/{
28728	    s//\1/
28729	    q
28730	  }
28731	  s/.*/./; q'`
28732      as_dir=$dirpart/$fdir; as_fn_mkdir_p
28733      # echo "creating $dirpart/$file"
28734      echo '# dummy' > "$dirpart/$file"
28735    done
28736  done
28737}
28738 ;;
28739    "libtool":C)
28740
28741    # See if we are running on zsh, and set the options which allow our
28742    # commands through without removal of \ escapes.
28743    if test -n "${ZSH_VERSION+set}" ; then
28744      setopt NO_GLOB_SUBST
28745    fi
28746
28747    cfgfile="${ofile}T"
28748    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28749    $RM "$cfgfile"
28750
28751    cat <<_LT_EOF >> "$cfgfile"
28752#! $SHELL
28753
28754# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28755# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28756# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28757# NOTE: Changes made to this file will be lost: look at ltmain.sh.
28758#
28759#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28760#                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28761#   Written by Gordon Matzigkeit, 1996
28762#
28763#   This file is part of GNU Libtool.
28764#
28765# GNU Libtool is free software; you can redistribute it and/or
28766# modify it under the terms of the GNU General Public License as
28767# published by the Free Software Foundation; either version 2 of
28768# the License, or (at your option) any later version.
28769#
28770# As a special exception to the GNU General Public License,
28771# if you distribute this file as part of a program or library that
28772# is built using GNU Libtool, you may include this file under the
28773# same distribution terms that you use for the rest of that program.
28774#
28775# GNU Libtool is distributed in the hope that it will be useful,
28776# but WITHOUT ANY WARRANTY; without even the implied warranty of
28777# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28778# GNU General Public License for more details.
28779#
28780# You should have received a copy of the GNU General Public License
28781# along with GNU Libtool; see the file COPYING.  If not, a copy
28782# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28783# obtained by writing to the Free Software Foundation, Inc.,
28784# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28785
28786
28787# The names of the tagged configurations supported by this script.
28788available_tags="FC "
28789
28790# ### BEGIN LIBTOOL CONFIG
28791
28792# A sed program that does not truncate output.
28793SED=$lt_SED
28794
28795# Sed that helps us avoid accidentally triggering echo(1) options like -n.
28796Xsed="\$SED -e 1s/^X//"
28797
28798# A grep program that handles long lines.
28799GREP=$lt_GREP
28800
28801# An ERE matcher.
28802EGREP=$lt_EGREP
28803
28804# A literal string matcher.
28805FGREP=$lt_FGREP
28806
28807# Shell to use when invoking shell scripts.
28808SHELL=$lt_SHELL
28809
28810# An echo program that protects backslashes.
28811ECHO=$lt_ECHO
28812
28813# Which release of libtool.m4 was used?
28814macro_version=$macro_version
28815macro_revision=$macro_revision
28816
28817# Whether or not to build shared libraries.
28818build_libtool_libs=$enable_shared
28819
28820# Whether or not to build static libraries.
28821build_old_libs=$enable_static
28822
28823# What type of objects to build.
28824pic_mode=$pic_mode
28825
28826# Whether or not to optimize for fast installation.
28827fast_install=$enable_fast_install
28828
28829# The host system.
28830host_alias=$host_alias
28831host=$host
28832host_os=$host_os
28833
28834# The build system.
28835build_alias=$build_alias
28836build=$build
28837build_os=$build_os
28838
28839# A BSD- or MS-compatible name lister.
28840NM=$lt_NM
28841
28842# Whether we need soft or hard links.
28843LN_S=$lt_LN_S
28844
28845# What is the maximum length of a command?
28846max_cmd_len=$max_cmd_len
28847
28848# Object file suffix (normally "o").
28849objext=$ac_objext
28850
28851# Executable file suffix (normally "").
28852exeext=$exeext
28853
28854# whether the shell understands "unset".
28855lt_unset=$lt_unset
28856
28857# turn spaces into newlines.
28858SP2NL=$lt_lt_SP2NL
28859
28860# turn newlines into spaces.
28861NL2SP=$lt_lt_NL2SP
28862
28863# An object symbol dumper.
28864OBJDUMP=$lt_OBJDUMP
28865
28866# Method to check whether dependent libraries are shared objects.
28867deplibs_check_method=$lt_deplibs_check_method
28868
28869# Command to use when deplibs_check_method == "file_magic".
28870file_magic_cmd=$lt_file_magic_cmd
28871
28872# The archiver.
28873AR=$lt_AR
28874AR_FLAGS=$lt_AR_FLAGS
28875
28876# A symbol stripping program.
28877STRIP=$lt_STRIP
28878
28879# Commands used to install an old-style archive.
28880RANLIB=$lt_RANLIB
28881old_postinstall_cmds=$lt_old_postinstall_cmds
28882old_postuninstall_cmds=$lt_old_postuninstall_cmds
28883
28884# Whether to use a lock for old archive extraction.
28885lock_old_archive_extraction=$lock_old_archive_extraction
28886
28887# A C compiler.
28888LTCC=$lt_CC
28889
28890# LTCC compiler flags.
28891LTCFLAGS=$lt_CFLAGS
28892
28893# Take the output of nm and produce a listing of raw symbols and C names.
28894global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28895
28896# Transform the output of nm in a proper C declaration.
28897global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28898
28899# Transform the output of nm in a C name address pair.
28900global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28901
28902# Transform the output of nm in a C name address pair when lib prefix is needed.
28903global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28904
28905# The name of the directory that contains temporary libtool files.
28906objdir=$objdir
28907
28908# Used to examine libraries when file_magic_cmd begins with "file".
28909MAGIC_CMD=$MAGIC_CMD
28910
28911# Must we lock files when doing compilation?
28912need_locks=$lt_need_locks
28913
28914# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28915DSYMUTIL=$lt_DSYMUTIL
28916
28917# Tool to change global to local symbols on Mac OS X.
28918NMEDIT=$lt_NMEDIT
28919
28920# Tool to manipulate fat objects and archives on Mac OS X.
28921LIPO=$lt_LIPO
28922
28923# ldd/readelf like tool for Mach-O binaries on Mac OS X.
28924OTOOL=$lt_OTOOL
28925
28926# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28927OTOOL64=$lt_OTOOL64
28928
28929# Old archive suffix (normally "a").
28930libext=$libext
28931
28932# Shared library suffix (normally ".so").
28933shrext_cmds=$lt_shrext_cmds
28934
28935# The commands to extract the exported symbol list from a shared archive.
28936extract_expsyms_cmds=$lt_extract_expsyms_cmds
28937
28938# Variables whose values should be saved in libtool wrapper scripts and
28939# restored at link time.
28940variables_saved_for_relink=$lt_variables_saved_for_relink
28941
28942# Do we need the "lib" prefix for modules?
28943need_lib_prefix=$need_lib_prefix
28944
28945# Do we need a version for libraries?
28946need_version=$need_version
28947
28948# Library versioning type.
28949version_type=$version_type
28950
28951# Shared library runtime path variable.
28952runpath_var=$runpath_var
28953
28954# Shared library path variable.
28955shlibpath_var=$shlibpath_var
28956
28957# Is shlibpath searched before the hard-coded library search path?
28958shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28959
28960# Format of library name prefix.
28961libname_spec=$lt_libname_spec
28962
28963# List of archive names.  First name is the real one, the rest are links.
28964# The last name is the one that the linker finds with -lNAME
28965library_names_spec=$lt_library_names_spec
28966
28967# The coded name of the library, if different from the real name.
28968soname_spec=$lt_soname_spec
28969
28970# Permission mode override for installation of shared libraries.
28971install_override_mode=$lt_install_override_mode
28972
28973# Command to use after installation of a shared archive.
28974postinstall_cmds=$lt_postinstall_cmds
28975
28976# Command to use after uninstallation of a shared archive.
28977postuninstall_cmds=$lt_postuninstall_cmds
28978
28979# Commands used to finish a libtool library installation in a directory.
28980finish_cmds=$lt_finish_cmds
28981
28982# As "finish_cmds", except a single script fragment to be evaled but
28983# not shown.
28984finish_eval=$lt_finish_eval
28985
28986# Whether we should hardcode library paths into libraries.
28987hardcode_into_libs=$hardcode_into_libs
28988
28989# Compile-time system search path for libraries.
28990sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28991
28992# Run-time system search path for libraries.
28993sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28994
28995# Whether dlopen is supported.
28996dlopen_support=$enable_dlopen
28997
28998# Whether dlopen of programs is supported.
28999dlopen_self=$enable_dlopen_self
29000
29001# Whether dlopen of statically linked programs is supported.
29002dlopen_self_static=$enable_dlopen_self_static
29003
29004# Commands to strip libraries.
29005old_striplib=$lt_old_striplib
29006striplib=$lt_striplib
29007
29008
29009# The linker used to build libraries.
29010LD=$lt_LD
29011
29012# How to create reloadable object files.
29013reload_flag=$lt_reload_flag
29014reload_cmds=$lt_reload_cmds
29015
29016# Commands used to build an old-style archive.
29017old_archive_cmds=$lt_old_archive_cmds
29018
29019# A language specific compiler.
29020CC=$lt_compiler
29021
29022# Is the compiler the GNU compiler?
29023with_gcc=$GCC
29024
29025# Compiler flag to turn off builtin functions.
29026no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
29027
29028# How to pass a linker flag through the compiler.
29029wl=$lt_lt_prog_compiler_wl
29030
29031# Additional compiler flags for building library objects.
29032pic_flag=$lt_lt_prog_compiler_pic
29033
29034# Compiler flag to prevent dynamic linking.
29035link_static_flag=$lt_lt_prog_compiler_static
29036
29037# Does compiler simultaneously support -c and -o options?
29038compiler_c_o=$lt_lt_cv_prog_compiler_c_o
29039
29040# Whether or not to add -lc for building shared libraries.
29041build_libtool_need_lc=$archive_cmds_need_lc
29042
29043# Whether or not to disallow shared libs when runtime libs are static.
29044allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
29045
29046# Compiler flag to allow reflexive dlopens.
29047export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
29048
29049# Compiler flag to generate shared objects directly from archives.
29050whole_archive_flag_spec=$lt_whole_archive_flag_spec
29051
29052# Whether the compiler copes with passing no objects directly.
29053compiler_needs_object=$lt_compiler_needs_object
29054
29055# Create an old-style archive from a shared archive.
29056old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
29057
29058# Create a temporary old-style archive to link instead of a shared archive.
29059old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
29060
29061# Commands used to build a shared archive.
29062archive_cmds=$lt_archive_cmds
29063archive_expsym_cmds=$lt_archive_expsym_cmds
29064
29065# Commands used to build a loadable module if different from building
29066# a shared archive.
29067module_cmds=$lt_module_cmds
29068module_expsym_cmds=$lt_module_expsym_cmds
29069
29070# Whether we are building with GNU ld or not.
29071with_gnu_ld=$lt_with_gnu_ld
29072
29073# Flag that allows shared libraries with undefined symbols to be built.
29074allow_undefined_flag=$lt_allow_undefined_flag
29075
29076# Flag that enforces no undefined symbols.
29077no_undefined_flag=$lt_no_undefined_flag
29078
29079# Flag to hardcode \$libdir into a binary during linking.
29080# This must work even if \$libdir does not exist
29081hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
29082
29083# If ld is used when linking, flag to hardcode \$libdir into a binary
29084# during linking.  This must work even if \$libdir does not exist.
29085hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
29086
29087# Whether we need a single "-rpath" flag with a separated argument.
29088hardcode_libdir_separator=$lt_hardcode_libdir_separator
29089
29090# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29091# DIR into the resulting binary.
29092hardcode_direct=$hardcode_direct
29093
29094# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29095# DIR into the resulting binary and the resulting library dependency is
29096# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29097# library is relocated.
29098hardcode_direct_absolute=$hardcode_direct_absolute
29099
29100# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29101# into the resulting binary.
29102hardcode_minus_L=$hardcode_minus_L
29103
29104# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29105# into the resulting binary.
29106hardcode_shlibpath_var=$hardcode_shlibpath_var
29107
29108# Set to "yes" if building a shared library automatically hardcodes DIR
29109# into the library and all subsequent libraries and executables linked
29110# against it.
29111hardcode_automatic=$hardcode_automatic
29112
29113# Set to yes if linker adds runtime paths of dependent libraries
29114# to runtime path list.
29115inherit_rpath=$inherit_rpath
29116
29117# Whether libtool must link a program against all its dependency libraries.
29118link_all_deplibs=$link_all_deplibs
29119
29120# Fix the shell variable \$srcfile for the compiler.
29121fix_srcfile_path=$lt_fix_srcfile_path
29122
29123# Set to "yes" if exported symbols are required.
29124always_export_symbols=$always_export_symbols
29125
29126# The commands to list exported symbols.
29127export_symbols_cmds=$lt_export_symbols_cmds
29128
29129# Symbols that should not be listed in the preloaded symbols.
29130exclude_expsyms=$lt_exclude_expsyms
29131
29132# Symbols that must always be exported.
29133include_expsyms=$lt_include_expsyms
29134
29135# Commands necessary for linking programs (against libraries) with templates.
29136prelink_cmds=$lt_prelink_cmds
29137
29138# Specify filename containing input files.
29139file_list_spec=$lt_file_list_spec
29140
29141# How to hardcode a shared library path into an executable.
29142hardcode_action=$hardcode_action
29143
29144# The directories searched by this compiler when creating a shared library.
29145compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
29146
29147# Dependencies to place before and after the objects being linked to
29148# create a shared library.
29149predep_objects=$lt_predep_objects
29150postdep_objects=$lt_postdep_objects
29151predeps=$lt_predeps
29152postdeps=$lt_postdeps
29153
29154# The library search path used internally by the compiler when linking
29155# a shared library.
29156compiler_lib_search_path=$lt_compiler_lib_search_path
29157
29158# ### END LIBTOOL CONFIG
29159
29160_LT_EOF
29161
29162  case $host_os in
29163  aix3*)
29164    cat <<\_LT_EOF >> "$cfgfile"
29165# AIX sometimes has problems with the GCC collect2 program.  For some
29166# reason, if we set the COLLECT_NAMES environment variable, the problems
29167# vanish in a puff of smoke.
29168if test "X${COLLECT_NAMES+set}" != Xset; then
29169  COLLECT_NAMES=
29170  export COLLECT_NAMES
29171fi
29172_LT_EOF
29173    ;;
29174  esac
29175
29176
29177ltmain="$ac_aux_dir/ltmain.sh"
29178
29179
29180  # We use sed instead of cat because bash on DJGPP gets confused if
29181  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
29182  # text mode, it properly converts lines to CR/LF.  This bash problem
29183  # is reportedly fixed, but why not run on old versions too?
29184  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
29185    || (rm -f "$cfgfile"; exit 1)
29186
29187  case $xsi_shell in
29188  yes)
29189    cat << \_LT_EOF >> "$cfgfile"
29190
29191# func_dirname file append nondir_replacement
29192# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
29193# otherwise set result to NONDIR_REPLACEMENT.
29194func_dirname ()
29195{
29196  case ${1} in
29197    */*) func_dirname_result="${1%/*}${2}" ;;
29198    *  ) func_dirname_result="${3}" ;;
29199  esac
29200}
29201
29202# func_basename file
29203func_basename ()
29204{
29205  func_basename_result="${1##*/}"
29206}
29207
29208# func_dirname_and_basename file append nondir_replacement
29209# perform func_basename and func_dirname in a single function
29210# call:
29211#   dirname:  Compute the dirname of FILE.  If nonempty,
29212#             add APPEND to the result, otherwise set result
29213#             to NONDIR_REPLACEMENT.
29214#             value returned in "$func_dirname_result"
29215#   basename: Compute filename of FILE.
29216#             value retuned in "$func_basename_result"
29217# Implementation must be kept synchronized with func_dirname
29218# and func_basename. For efficiency, we do not delegate to
29219# those functions but instead duplicate the functionality here.
29220func_dirname_and_basename ()
29221{
29222  case ${1} in
29223    */*) func_dirname_result="${1%/*}${2}" ;;
29224    *  ) func_dirname_result="${3}" ;;
29225  esac
29226  func_basename_result="${1##*/}"
29227}
29228
29229# func_stripname prefix suffix name
29230# strip PREFIX and SUFFIX off of NAME.
29231# PREFIX and SUFFIX must not contain globbing or regex special
29232# characters, hashes, percent signs, but SUFFIX may contain a leading
29233# dot (in which case that matches only a dot).
29234func_stripname ()
29235{
29236  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
29237  # positional parameters, so assign one to ordinary parameter first.
29238  func_stripname_result=${3}
29239  func_stripname_result=${func_stripname_result#"${1}"}
29240  func_stripname_result=${func_stripname_result%"${2}"}
29241}
29242
29243# func_opt_split
29244func_opt_split ()
29245{
29246  func_opt_split_opt=${1%%=*}
29247  func_opt_split_arg=${1#*=}
29248}
29249
29250# func_lo2o object
29251func_lo2o ()
29252{
29253  case ${1} in
29254    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
29255    *)    func_lo2o_result=${1} ;;
29256  esac
29257}
29258
29259# func_xform libobj-or-source
29260func_xform ()
29261{
29262  func_xform_result=${1%.*}.lo
29263}
29264
29265# func_arith arithmetic-term...
29266func_arith ()
29267{
29268  func_arith_result=$(( $* ))
29269}
29270
29271# func_len string
29272# STRING may not start with a hyphen.
29273func_len ()
29274{
29275  func_len_result=${#1}
29276}
29277
29278_LT_EOF
29279    ;;
29280  *) # Bourne compatible functions.
29281    cat << \_LT_EOF >> "$cfgfile"
29282
29283# func_dirname file append nondir_replacement
29284# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
29285# otherwise set result to NONDIR_REPLACEMENT.
29286func_dirname ()
29287{
29288  # Extract subdirectory from the argument.
29289  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
29290  if test "X$func_dirname_result" = "X${1}"; then
29291    func_dirname_result="${3}"
29292  else
29293    func_dirname_result="$func_dirname_result${2}"
29294  fi
29295}
29296
29297# func_basename file
29298func_basename ()
29299{
29300  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
29301}
29302
29303
29304# func_stripname prefix suffix name
29305# strip PREFIX and SUFFIX off of NAME.
29306# PREFIX and SUFFIX must not contain globbing or regex special
29307# characters, hashes, percent signs, but SUFFIX may contain a leading
29308# dot (in which case that matches only a dot).
29309# func_strip_suffix prefix name
29310func_stripname ()
29311{
29312  case ${2} in
29313    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29314    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29315  esac
29316}
29317
29318# sed scripts:
29319my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
29320my_sed_long_arg='1s/^-[^=]*=//'
29321
29322# func_opt_split
29323func_opt_split ()
29324{
29325  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29326  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29327}
29328
29329# func_lo2o object
29330func_lo2o ()
29331{
29332  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
29333}
29334
29335# func_xform libobj-or-source
29336func_xform ()
29337{
29338  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29339}
29340
29341# func_arith arithmetic-term...
29342func_arith ()
29343{
29344  func_arith_result=`expr "$@"`
29345}
29346
29347# func_len string
29348# STRING may not start with a hyphen.
29349func_len ()
29350{
29351  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29352}
29353
29354_LT_EOF
29355esac
29356
29357case $lt_shell_append in
29358  yes)
29359    cat << \_LT_EOF >> "$cfgfile"
29360
29361# func_append var value
29362# Append VALUE to the end of shell variable VAR.
29363func_append ()
29364{
29365  eval "$1+=\$2"
29366}
29367_LT_EOF
29368    ;;
29369  *)
29370    cat << \_LT_EOF >> "$cfgfile"
29371
29372# func_append var value
29373# Append VALUE to the end of shell variable VAR.
29374func_append ()
29375{
29376  eval "$1=\$$1\$2"
29377}
29378
29379_LT_EOF
29380    ;;
29381  esac
29382
29383
29384  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29385    || (rm -f "$cfgfile"; exit 1)
29386
29387  mv -f "$cfgfile" "$ofile" ||
29388    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29389  chmod +x "$ofile"
29390
29391
29392    cat <<_LT_EOF >> "$ofile"
29393
29394# ### BEGIN LIBTOOL TAG CONFIG: FC
29395
29396# The linker used to build libraries.
29397LD=$lt_LD_FC
29398
29399# How to create reloadable object files.
29400reload_flag=$lt_reload_flag_FC
29401reload_cmds=$lt_reload_cmds_FC
29402
29403# Commands used to build an old-style archive.
29404old_archive_cmds=$lt_old_archive_cmds_FC
29405
29406# A language specific compiler.
29407CC=$lt_compiler_FC
29408
29409# Is the compiler the GNU compiler?
29410with_gcc=$GCC_FC
29411
29412# Compiler flag to turn off builtin functions.
29413no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29414
29415# How to pass a linker flag through the compiler.
29416wl=$lt_lt_prog_compiler_wl_FC
29417
29418# Additional compiler flags for building library objects.
29419pic_flag=$lt_lt_prog_compiler_pic_FC
29420
29421# Compiler flag to prevent dynamic linking.
29422link_static_flag=$lt_lt_prog_compiler_static_FC
29423
29424# Does compiler simultaneously support -c and -o options?
29425compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29426
29427# Whether or not to add -lc for building shared libraries.
29428build_libtool_need_lc=$archive_cmds_need_lc_FC
29429
29430# Whether or not to disallow shared libs when runtime libs are static.
29431allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29432
29433# Compiler flag to allow reflexive dlopens.
29434export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29435
29436# Compiler flag to generate shared objects directly from archives.
29437whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29438
29439# Whether the compiler copes with passing no objects directly.
29440compiler_needs_object=$lt_compiler_needs_object_FC
29441
29442# Create an old-style archive from a shared archive.
29443old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29444
29445# Create a temporary old-style archive to link instead of a shared archive.
29446old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29447
29448# Commands used to build a shared archive.
29449archive_cmds=$lt_archive_cmds_FC
29450archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29451
29452# Commands used to build a loadable module if different from building
29453# a shared archive.
29454module_cmds=$lt_module_cmds_FC
29455module_expsym_cmds=$lt_module_expsym_cmds_FC
29456
29457# Whether we are building with GNU ld or not.
29458with_gnu_ld=$lt_with_gnu_ld_FC
29459
29460# Flag that allows shared libraries with undefined symbols to be built.
29461allow_undefined_flag=$lt_allow_undefined_flag_FC
29462
29463# Flag that enforces no undefined symbols.
29464no_undefined_flag=$lt_no_undefined_flag_FC
29465
29466# Flag to hardcode \$libdir into a binary during linking.
29467# This must work even if \$libdir does not exist
29468hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29469
29470# If ld is used when linking, flag to hardcode \$libdir into a binary
29471# during linking.  This must work even if \$libdir does not exist.
29472hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29473
29474# Whether we need a single "-rpath" flag with a separated argument.
29475hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29476
29477# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29478# DIR into the resulting binary.
29479hardcode_direct=$hardcode_direct_FC
29480
29481# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29482# DIR into the resulting binary and the resulting library dependency is
29483# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29484# library is relocated.
29485hardcode_direct_absolute=$hardcode_direct_absolute_FC
29486
29487# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29488# into the resulting binary.
29489hardcode_minus_L=$hardcode_minus_L_FC
29490
29491# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29492# into the resulting binary.
29493hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29494
29495# Set to "yes" if building a shared library automatically hardcodes DIR
29496# into the library and all subsequent libraries and executables linked
29497# against it.
29498hardcode_automatic=$hardcode_automatic_FC
29499
29500# Set to yes if linker adds runtime paths of dependent libraries
29501# to runtime path list.
29502inherit_rpath=$inherit_rpath_FC
29503
29504# Whether libtool must link a program against all its dependency libraries.
29505link_all_deplibs=$link_all_deplibs_FC
29506
29507# Fix the shell variable \$srcfile for the compiler.
29508fix_srcfile_path=$lt_fix_srcfile_path_FC
29509
29510# Set to "yes" if exported symbols are required.
29511always_export_symbols=$always_export_symbols_FC
29512
29513# The commands to list exported symbols.
29514export_symbols_cmds=$lt_export_symbols_cmds_FC
29515
29516# Symbols that should not be listed in the preloaded symbols.
29517exclude_expsyms=$lt_exclude_expsyms_FC
29518
29519# Symbols that must always be exported.
29520include_expsyms=$lt_include_expsyms_FC
29521
29522# Commands necessary for linking programs (against libraries) with templates.
29523prelink_cmds=$lt_prelink_cmds_FC
29524
29525# Specify filename containing input files.
29526file_list_spec=$lt_file_list_spec_FC
29527
29528# How to hardcode a shared library path into an executable.
29529hardcode_action=$hardcode_action_FC
29530
29531# The directories searched by this compiler when creating a shared library.
29532compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29533
29534# Dependencies to place before and after the objects being linked to
29535# create a shared library.
29536predep_objects=$lt_predep_objects_FC
29537postdep_objects=$lt_postdep_objects_FC
29538predeps=$lt_predeps_FC
29539postdeps=$lt_postdeps_FC
29540
29541# The library search path used internally by the compiler when linking
29542# a shared library.
29543compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29544
29545# ### END LIBTOOL TAG CONFIG: FC
29546_LT_EOF
29547
29548 ;;
29549    "gstdint.h":C)
29550if test "$GCC" = yes; then
29551  echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29552else
29553  echo "/* generated for $CC */" > tmp-stdint.h
29554fi
29555
29556sed 's/^ *//' >> tmp-stdint.h <<EOF
29557
29558  #ifndef GCC_GENERATED_STDINT_H
29559  #define GCC_GENERATED_STDINT_H 1
29560
29561  #include <sys/types.h>
29562EOF
29563
29564if test "$acx_cv_header_stdint" != stdint.h; then
29565  echo "#include <stddef.h>" >> tmp-stdint.h
29566fi
29567if test "$acx_cv_header_stdint" != stddef.h; then
29568  echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29569fi
29570
29571sed 's/^ *//' >> tmp-stdint.h <<EOF
29572  /* glibc uses these symbols as guards to prevent redefinitions.  */
29573  #ifdef __int8_t_defined
29574  #define _INT8_T
29575  #define _INT16_T
29576  #define _INT32_T
29577  #endif
29578  #ifdef __uint32_t_defined
29579  #define _UINT32_T
29580  #endif
29581
29582EOF
29583
29584# ----------------- done header, emit basic int types -------------
29585if test "$acx_cv_header_stdint" = stddef.h; then
29586  sed 's/^ *//' >> tmp-stdint.h <<EOF
29587
29588    #ifndef _UINT8_T
29589    #define _UINT8_T
29590    #ifndef __uint8_t_defined
29591    #define __uint8_t_defined
29592    #ifndef uint8_t
29593    typedef unsigned $acx_cv_type_int8_t uint8_t;
29594    #endif
29595    #endif
29596    #endif
29597
29598    #ifndef _UINT16_T
29599    #define _UINT16_T
29600    #ifndef __uint16_t_defined
29601    #define __uint16_t_defined
29602    #ifndef uint16_t
29603    typedef unsigned $acx_cv_type_int16_t uint16_t;
29604    #endif
29605    #endif
29606    #endif
29607
29608    #ifndef _UINT32_T
29609    #define _UINT32_T
29610    #ifndef __uint32_t_defined
29611    #define __uint32_t_defined
29612    #ifndef uint32_t
29613    typedef unsigned $acx_cv_type_int32_t uint32_t;
29614    #endif
29615    #endif
29616    #endif
29617
29618    #ifndef _INT8_T
29619    #define _INT8_T
29620    #ifndef __int8_t_defined
29621    #define __int8_t_defined
29622    #ifndef int8_t
29623    typedef $acx_cv_type_int8_t int8_t;
29624    #endif
29625    #endif
29626    #endif
29627
29628    #ifndef _INT16_T
29629    #define _INT16_T
29630    #ifndef __int16_t_defined
29631    #define __int16_t_defined
29632    #ifndef int16_t
29633    typedef $acx_cv_type_int16_t int16_t;
29634    #endif
29635    #endif
29636    #endif
29637
29638    #ifndef _INT32_T
29639    #define _INT32_T
29640    #ifndef __int32_t_defined
29641    #define __int32_t_defined
29642    #ifndef int32_t
29643    typedef $acx_cv_type_int32_t int32_t;
29644    #endif
29645    #endif
29646    #endif
29647EOF
29648elif test "$ac_cv_type_u_int32_t" = yes; then
29649  sed 's/^ *//' >> tmp-stdint.h <<EOF
29650
29651    /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29652    #ifndef _INT8_T
29653    #define _INT8_T
29654    #endif
29655    #ifndef _INT16_T
29656    #define _INT16_T
29657    #endif
29658    #ifndef _INT32_T
29659    #define _INT32_T
29660    #endif
29661
29662    #ifndef _UINT8_T
29663    #define _UINT8_T
29664    #ifndef __uint8_t_defined
29665    #define __uint8_t_defined
29666    #ifndef uint8_t
29667    typedef u_int8_t uint8_t;
29668    #endif
29669    #endif
29670    #endif
29671
29672    #ifndef _UINT16_T
29673    #define _UINT16_T
29674    #ifndef __uint16_t_defined
29675    #define __uint16_t_defined
29676    #ifndef uint16_t
29677    typedef u_int16_t uint16_t;
29678    #endif
29679    #endif
29680    #endif
29681
29682    #ifndef _UINT32_T
29683    #define _UINT32_T
29684    #ifndef __uint32_t_defined
29685    #define __uint32_t_defined
29686    #ifndef uint32_t
29687    typedef u_int32_t uint32_t;
29688    #endif
29689    #endif
29690    #endif
29691EOF
29692else
29693  sed 's/^ *//' >> tmp-stdint.h <<EOF
29694
29695    /* Some systems have guard macros to prevent redefinitions, define them.  */
29696    #ifndef _INT8_T
29697    #define _INT8_T
29698    #endif
29699    #ifndef _INT16_T
29700    #define _INT16_T
29701    #endif
29702    #ifndef _INT32_T
29703    #define _INT32_T
29704    #endif
29705    #ifndef _UINT8_T
29706    #define _UINT8_T
29707    #endif
29708    #ifndef _UINT16_T
29709    #define _UINT16_T
29710    #endif
29711    #ifndef _UINT32_T
29712    #define _UINT32_T
29713    #endif
29714EOF
29715fi
29716
29717# ------------- done basic int types, emit int64_t types ------------
29718if test "$ac_cv_type_uint64_t" = yes; then
29719  sed 's/^ *//' >> tmp-stdint.h <<EOF
29720
29721    /* system headers have good uint64_t and int64_t */
29722    #ifndef _INT64_T
29723    #define _INT64_T
29724    #endif
29725    #ifndef _UINT64_T
29726    #define _UINT64_T
29727    #endif
29728EOF
29729elif test "$ac_cv_type_u_int64_t" = yes; then
29730  sed 's/^ *//' >> tmp-stdint.h <<EOF
29731
29732    /* system headers have an u_int64_t (and int64_t) */
29733    #ifndef _INT64_T
29734    #define _INT64_T
29735    #endif
29736    #ifndef _UINT64_T
29737    #define _UINT64_T
29738    #ifndef __uint64_t_defined
29739    #define __uint64_t_defined
29740    #ifndef uint64_t
29741    typedef u_int64_t uint64_t;
29742    #endif
29743    #endif
29744    #endif
29745EOF
29746elif test -n "$acx_cv_type_int64_t"; then
29747  sed 's/^ *//' >> tmp-stdint.h <<EOF
29748
29749    /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29750    #ifndef _INT64_T
29751    #define _INT64_T
29752    #ifndef int64_t
29753    typedef $acx_cv_type_int64_t int64_t;
29754    #endif
29755    #endif
29756    #ifndef _UINT64_T
29757    #define _UINT64_T
29758    #ifndef __uint64_t_defined
29759    #define __uint64_t_defined
29760    #ifndef uint64_t
29761    typedef unsigned $acx_cv_type_int64_t uint64_t;
29762    #endif
29763    #endif
29764    #endif
29765EOF
29766else
29767  sed 's/^ *//' >> tmp-stdint.h <<EOF
29768
29769    /* some common heuristics for int64_t, using compiler-specific tests */
29770    #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29771    #ifndef _INT64_T
29772    #define _INT64_T
29773    #ifndef __int64_t_defined
29774    #ifndef int64_t
29775    typedef long long int64_t;
29776    #endif
29777    #endif
29778    #endif
29779    #ifndef _UINT64_T
29780    #define _UINT64_T
29781    #ifndef uint64_t
29782    typedef unsigned long long uint64_t;
29783    #endif
29784    #endif
29785
29786    #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29787    /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29788       does not implement __extension__.  But that compiler doesn't define
29789       __GNUC_MINOR__.  */
29790    # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29791    # define __extension__
29792    # endif
29793
29794    # ifndef _INT64_T
29795    # define _INT64_T
29796    # ifndef int64_t
29797    __extension__ typedef long long int64_t;
29798    # endif
29799    # endif
29800    # ifndef _UINT64_T
29801    # define _UINT64_T
29802    # ifndef uint64_t
29803    __extension__ typedef unsigned long long uint64_t;
29804    # endif
29805    # endif
29806
29807    #elif !defined __STRICT_ANSI__
29808    # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29809
29810    #  ifndef _INT64_T
29811    #  define _INT64_T
29812    #  ifndef int64_t
29813    typedef __int64 int64_t;
29814    #  endif
29815    #  endif
29816    #  ifndef _UINT64_T
29817    #  define _UINT64_T
29818    #  ifndef uint64_t
29819    typedef unsigned __int64 uint64_t;
29820    #  endif
29821    #  endif
29822    # endif /* compiler */
29823
29824    #endif /* ANSI version */
29825EOF
29826fi
29827
29828# ------------- done int64_t types, emit intptr types ------------
29829if test "$ac_cv_type_uintptr_t" != yes; then
29830  sed 's/^ *//' >> tmp-stdint.h <<EOF
29831
29832    /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29833    #ifndef __uintptr_t_defined
29834    #ifndef uintptr_t
29835    typedef u$acx_cv_type_intptr_t uintptr_t;
29836    #endif
29837    #endif
29838    #ifndef __intptr_t_defined
29839    #ifndef intptr_t
29840    typedef $acx_cv_type_intptr_t  intptr_t;
29841    #endif
29842    #endif
29843EOF
29844fi
29845
29846# ------------- done intptr types, emit int_least types ------------
29847if test "$ac_cv_type_int_least32_t" != yes; then
29848  sed 's/^ *//' >> tmp-stdint.h <<EOF
29849
29850    /* Define int_least types */
29851    typedef int8_t     int_least8_t;
29852    typedef int16_t    int_least16_t;
29853    typedef int32_t    int_least32_t;
29854    #ifdef _INT64_T
29855    typedef int64_t    int_least64_t;
29856    #endif
29857
29858    typedef uint8_t    uint_least8_t;
29859    typedef uint16_t   uint_least16_t;
29860    typedef uint32_t   uint_least32_t;
29861    #ifdef _UINT64_T
29862    typedef uint64_t   uint_least64_t;
29863    #endif
29864EOF
29865fi
29866
29867# ------------- done intptr types, emit int_fast types ------------
29868if test "$ac_cv_type_int_fast32_t" != yes; then
29869      sed 's/^ *//' >> tmp-stdint.h <<EOF
29870
29871    /* Define int_fast types.  short is often slow */
29872    typedef int8_t       int_fast8_t;
29873    typedef int          int_fast16_t;
29874    typedef int32_t      int_fast32_t;
29875    #ifdef _INT64_T
29876    typedef int64_t      int_fast64_t;
29877    #endif
29878
29879    typedef uint8_t      uint_fast8_t;
29880    typedef unsigned int uint_fast16_t;
29881    typedef uint32_t     uint_fast32_t;
29882    #ifdef _UINT64_T
29883    typedef uint64_t     uint_fast64_t;
29884    #endif
29885EOF
29886fi
29887
29888if test "$ac_cv_type_uintmax_t" != yes; then
29889  sed 's/^ *//' >> tmp-stdint.h <<EOF
29890
29891    /* Define intmax based on what we found */
29892    #ifndef intmax_t
29893    #ifdef _INT64_T
29894    typedef int64_t       intmax_t;
29895    #else
29896    typedef long          intmax_t;
29897    #endif
29898    #endif
29899    #ifndef uintmax_t
29900    #ifdef _UINT64_T
29901    typedef uint64_t      uintmax_t;
29902    #else
29903    typedef unsigned long uintmax_t;
29904    #endif
29905    #endif
29906EOF
29907fi
29908
29909sed 's/^ *//' >> tmp-stdint.h <<EOF
29910
29911  #endif /* GCC_GENERATED_STDINT_H */
29912EOF
29913
29914if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
29915  rm -f tmp-stdint.h
29916else
29917  mv -f tmp-stdint.h gstdint.h
29918fi
29919
29920 ;;
29921
29922  esac
29923done # for ac_tag
29924
29925
29926as_fn_exit 0
29927_ACEOF
29928ac_clean_files=$ac_clean_files_save
29929
29930test $ac_write_fail = 0 ||
29931  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
29932
29933
29934# configure is writing to config.log, and then calls config.status.
29935# config.status does its own redirection, appending to config.log.
29936# Unfortunately, on DOS this fails, as config.log is still kept open
29937# by configure, so config.status won't be able to write to it; its
29938# output is simply discarded.  So we exec the FD to /dev/null,
29939# effectively closing config.log, so it can be properly (re)opened and
29940# appended to by config.status.  When coming back to configure, we
29941# need to make the FD available again.
29942if test "$no_create" != yes; then
29943  ac_cs_success=:
29944  ac_config_status_args=
29945  test "$silent" = yes &&
29946    ac_config_status_args="$ac_config_status_args --quiet"
29947  exec 5>/dev/null
29948  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29949  exec 5>>config.log
29950  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29951  # would make configure fail if this is the last instruction.
29952  $ac_cs_success || as_fn_exit 1
29953fi
29954if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
29955  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29956$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
29957fi
29958
29959