S/390: Fix flogr RTX.
[gcc.git] / libgfortran / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU Fortran Runtime Library 0.3.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174 esac
175 fi
176 "
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191 exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
200
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
209 as_have_required=yes
210 else
211 as_have_required=no
212 fi
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215 else
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219 do
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 as_found=:
223 case $as_dir in #(
224 /*)
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 break 2
233 fi
234 fi
235 done;;
236 esac
237 as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
244
245
246 if test "x$CONFIG_SHELL" != x; then :
247 export CONFIG_SHELL
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
266 fi
267
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274 else
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
279 fi
280 exit 1
281 fi
282 fi
283 fi
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
289
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
297 {
298 { eval $1=; unset $1;}
299 }
300 as_unset=as_fn_unset
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307 return $1
308 } # as_fn_set_status
309
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315 set +e
316 as_fn_set_status $1
317 exit $1
318 } # as_fn_exit
319
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
345 q
346 }
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
349 q
350 }
351 /^X\(\/\/\)$/{
352 s//\1/
353 q
354 }
355 /^X\(\/\).*/{
356 s//\1/
357 q
358 }
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
383 {
384 eval $1+=\$2
385 }'
386 else
387 as_fn_append ()
388 {
389 eval $1=\$$1\$2
390 }
391 fi # as_fn_append
392
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 eval 'as_fn_arith ()
400 {
401 as_val=$(( $* ))
402 }'
403 else
404 as_fn_arith ()
405 {
406 as_val=`expr "$@" || test $? -eq 1`
407 }
408 fi # as_fn_arith
409
410
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
417 {
418 as_status=$1; test $as_status -eq 0 && as_status=1
419 if test "$4"; then
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422 fi
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
425 } # as_fn_error
426
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 as_expr=expr
430 else
431 as_expr=false
432 fi
433
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 as_basename=basename
436 else
437 as_basename=false
438 fi
439
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_dirname=dirname
442 else
443 as_dirname=false
444 fi
445
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
452 s//\1/
453 q
454 }
455 /^X\/\(\/\/\)$/{
456 s//\1/
457 q
458 }
459 /^X\/\(\/\).*/{
460 s//\1/
461 q
462 }
463 s/.*/./; q'`
464
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
478 sed -n '
479 p
480 /[$]LINENO/=
481 ' <$as_myself |
482 sed '
483 s/[$]LINENO.*/&-/
484 t lineno
485 b
486 :lineno
487 N
488 :loop
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490 t loop
491 s/-\n.*//
492 ' >$as_me.lineno &&
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
503 . "./$as_me.lineno"
504 # Exit status is that of the last command.
505 exit
506 }
507
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513 xy) ECHO_C='\c';;
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 ECHO_T=' ';;
516 esac;;
517 *)
518 ECHO_N='-n';;
519 esac
520
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir 2>/dev/null
527 fi
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -pR'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -pR'
541 fi
542 else
543 as_ln_s='cp -pR'
544 fi
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
547
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
550 else
551 test -d ./-p && rmdir ./-p
552 as_mkdir_p=false
553 fi
554
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
557
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564 SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
569
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575 #
576 # Initializations.
577 #
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
586
587 # Identity of this package.
588 PACKAGE_NAME='GNU Fortran Runtime Library'
589 PACKAGE_TARNAME='libgfortran'
590 PACKAGE_VERSION='0.3'
591 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
594
595 # Factoring default headers for most tests.
596 ac_includes_default="\
597 #include <stdio.h>
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
600 #endif
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
603 #endif
604 #ifdef STDC_HEADERS
605 # include <stdlib.h>
606 # include <stddef.h>
607 #else
608 # ifdef HAVE_STDLIB_H
609 # include <stdlib.h>
610 # endif
611 #endif
612 #ifdef HAVE_STRING_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614 # include <memory.h>
615 # endif
616 # include <string.h>
617 #endif
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
620 #endif
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
623 #endif
624 #ifdef HAVE_STDINT_H
625 # include <stdint.h>
626 #endif
627 #ifdef HAVE_UNISTD_H
628 # include <unistd.h>
629 #endif"
630
631 ac_header_list=
632 ac_func_list=
633 ac_c_werror_flag=
634 ac_c_werror_flag=
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 LIBOBJS
639 get_gcc_base_ver
640 HAVE_AVX128_FALSE
641 HAVE_AVX128_TRUE
642 IEEE_FLAGS
643 IEEE_SUPPORT
644 IEEE_SUPPORT_FALSE
645 IEEE_SUPPORT_TRUE
646 FPU_HOST_HEADER
647 LIBGFOR_BUILD_QUAD_FALSE
648 LIBGFOR_BUILD_QUAD_TRUE
649 LIBQUADINCLUDE
650 LIBQUADLIB_DEP
651 LIBQUADLIB
652 LIBQUADSPEC
653 extra_ldflags_libgfortran
654 ac_ct_FC
655 FCFLAGS
656 FC
657 enable_static
658 enable_shared
659 lt_host_flags
660 OTOOL64
661 OTOOL
662 LIPO
663 NMEDIT
664 DSYMUTIL
665 OBJDUMP
666 LN_S
667 NM
668 ac_ct_DUMPBIN
669 DUMPBIN
670 LIBTOOL
671 RANLIB
672 AR
673 AS
674 HAVE_HWCAP_FALSE
675 HAVE_HWCAP_TRUE
676 HWCAP_LDFLAGS
677 LD
678 FGREP
679 SED
680 SECTION_FLAGS
681 LIBGFOR_MINIMAL_FALSE
682 LIBGFOR_MINIMAL_TRUE
683 LIBGFOR_USE_SYMVER_SUN_FALSE
684 LIBGFOR_USE_SYMVER_SUN_TRUE
685 LIBGFOR_USE_SYMVER_GNU_FALSE
686 LIBGFOR_USE_SYMVER_GNU_TRUE
687 LIBGFOR_USE_SYMVER_FALSE
688 LIBGFOR_USE_SYMVER_TRUE
689 AM_CFLAGS
690 AM_FCFLAGS
691 toolexeclibdir
692 toolexecdir
693 EGREP
694 GREP
695 CPP
696 am__fastdepCC_FALSE
697 am__fastdepCC_TRUE
698 CCDEPMODE
699 am__nodep
700 AMDEPBACKSLASH
701 AMDEP_FALSE
702 AMDEP_TRUE
703 am__quote
704 am__include
705 DEPDIR
706 OBJEXT
707 EXEEXT
708 ac_ct_CC
709 CPPFLAGS
710 LDFLAGS
711 CFLAGS
712 CC
713 multi_basedir
714 MAINT
715 MAINTAINER_MODE_FALSE
716 MAINTAINER_MODE_TRUE
717 AM_BACKSLASH
718 AM_DEFAULT_VERBOSITY
719 AM_DEFAULT_V
720 AM_V
721 am__untar
722 am__tar
723 AMTAR
724 am__leading_dot
725 SET_MAKE
726 AWK
727 mkdir_p
728 MKDIR_P
729 INSTALL_STRIP_PROGRAM
730 STRIP
731 install_sh
732 MAKEINFO
733 AUTOHEADER
734 AUTOMAKE
735 AUTOCONF
736 ACLOCAL
737 VERSION
738 PACKAGE
739 CYGPATH_W
740 am__isrc
741 INSTALL_DATA
742 INSTALL_SCRIPT
743 INSTALL_PROGRAM
744 target_noncanonical
745 target_os
746 target_vendor
747 target_cpu
748 target
749 host_os
750 host_vendor
751 host_cpu
752 host
753 onestep
754 onestep_FALSE
755 onestep_TRUE
756 target_subdir
757 host_subdir
758 build_subdir
759 build_libsubdir
760 build_os
761 build_vendor
762 build_cpu
763 build
764 target_alias
765 host_alias
766 build_alias
767 LIBS
768 ECHO_T
769 ECHO_N
770 ECHO_C
771 DEFS
772 mandir
773 localedir
774 libdir
775 psdir
776 pdfdir
777 dvidir
778 htmldir
779 infodir
780 docdir
781 oldincludedir
782 includedir
783 localstatedir
784 sharedstatedir
785 sysconfdir
786 datadir
787 datarootdir
788 libexecdir
789 sbindir
790 bindir
791 program_transform_name
792 prefix
793 exec_prefix
794 PACKAGE_URL
795 PACKAGE_BUGREPORT
796 PACKAGE_STRING
797 PACKAGE_VERSION
798 PACKAGE_TARNAME
799 PACKAGE_NAME
800 PATH_SEPARATOR
801 SHELL'
802 ac_subst_files=''
803 ac_user_opts='
804 enable_option_checking
805 with_build_libsubdir
806 enable_version_specific_runtime_libs
807 enable_intermodule
808 enable_silent_rules
809 enable_maintainer_mode
810 enable_multilib
811 enable_dependency_tracking
812 enable_cet
813 enable_symvers
814 with_gnu_ld
815 enable_shared
816 enable_static
817 with_pic
818 enable_fast_install
819 enable_libtool_lock
820 enable_largefile
821 enable_libquadmath_support
822 with_gcc_major_version_only
823 '
824 ac_precious_vars='build_alias
825 host_alias
826 target_alias
827 CC
828 CFLAGS
829 LDFLAGS
830 LIBS
831 CPPFLAGS
832 CPP
833 FC
834 FCFLAGS'
835
836
837 # Initialize some variables set by options.
838 ac_init_help=
839 ac_init_version=false
840 ac_unrecognized_opts=
841 ac_unrecognized_sep=
842 # The variables have the same names as the options, with
843 # dashes changed to underlines.
844 cache_file=/dev/null
845 exec_prefix=NONE
846 no_create=
847 no_recursion=
848 prefix=NONE
849 program_prefix=NONE
850 program_suffix=NONE
851 program_transform_name=s,x,x,
852 silent=
853 site=
854 srcdir=
855 verbose=
856 x_includes=NONE
857 x_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.)
865 bindir='${exec_prefix}/bin'
866 sbindir='${exec_prefix}/sbin'
867 libexecdir='${exec_prefix}/libexec'
868 datarootdir='${prefix}/share'
869 datadir='${datarootdir}'
870 sysconfdir='${prefix}/etc'
871 sharedstatedir='${prefix}/com'
872 localstatedir='${prefix}/var'
873 includedir='${prefix}/include'
874 oldincludedir='/usr/include'
875 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
876 infodir='${datarootdir}/info'
877 htmldir='${docdir}'
878 dvidir='${docdir}'
879 pdfdir='${docdir}'
880 psdir='${docdir}'
881 libdir='${exec_prefix}/lib'
882 localedir='${datarootdir}/locale'
883 mandir='${datarootdir}/man'
884
885 ac_prev=
886 ac_dashdash=
887 for ac_option
888 do
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'
1221 Try \`$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
1243 done
1244
1245 if test -n "$ac_prev"; then
1246 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1247 as_fn_error $? "missing argument to $ac_option"
1248 fi
1249
1250 if 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
1256 fi
1257
1258 # Check all directory arguments for consistency.
1259 for 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
1263 do
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"
1277 done
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.
1282 build=$build_alias
1283 host=$host_alias
1284 target=$target_alias
1285
1286 # FIXME: To remove some day.
1287 if 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
1293 fi
1294
1295 ac_tool_prefix=
1296 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1297
1298 test "$silent" = yes && exec 6>/dev/null
1299
1300
1301 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1302 ac_ls_di=`ls -di .` &&
1303 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1304 as_fn_error $? "working directory cannot be determined"
1305 test "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.
1310 if 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
1340 else
1341 ac_srcdir_defaulted=no
1342 fi
1343 if 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"
1346 fi
1347 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1348 ac_abs_confdir=`(
1349 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1350 pwd)`
1351 # When building in place, set srcdir=.
1352 if test "$ac_abs_confdir" = "$ac_pwd"; then
1353 srcdir=.
1354 fi
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.
1358 case $srcdir in
1359 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1360 esac
1361 for 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}
1366 done
1367
1368 #
1369 # Report the --help message.
1370 #
1371 if 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
1377 Usage: $0 [OPTION]... [VAR=VALUE]...
1378
1379 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1380 VAR=VALUE. See below for descriptions of some of the useful variables.
1381
1382 Defaults for the options are specified in brackets.
1383
1384 Configuration:
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
1395 Installation 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
1401 By default, \`make install' will install all the files in
1402 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1403 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1404 for instance \`--prefix=\$HOME'.
1405
1406 For better control, use the options below.
1407
1408 Fine 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
1432 Program 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
1437 System 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
1442 fi
1443
1444 if 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
1450 Optional 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
1479 Optional 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
1489 Some 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
1501 Use these variables to override the choices made by `configure' or to help
1502 it to find libraries and programs with nonstandard names/locations.
1503
1504 Report bugs to the package provider.
1505 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1506 General help using GNU software: <http://www.gnu.org/gethelp/>.
1507 _ACEOF
1508 ac_status=$?
1509 fi
1510
1511 if 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
1519 case "$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 ;;
1529 esac
1530 ac_abs_top_builddir=$ac_pwd
1531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1532 # for backward compatibility:
1533 ac_top_builddir=$ac_top_build_prefix
1534
1535 case $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 ;;
1548 esac
1549 ac_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
1564 fi
1565
1566 test -n "$ac_init_help" && exit $ac_status
1567 if $ac_init_version; then
1568 cat <<\_ACEOF
1569 GNU Fortran Runtime Library configure 0.3
1570 generated by GNU Autoconf 2.69
1571
1572 Copyright (C) 2012 Free Software Foundation, Inc.
1573 This configure script is free software; the Free Software Foundation
1574 gives unlimited permission to copy, distribute and modify it.
1575 _ACEOF
1576 exit
1577 fi
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.
1586 ac_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"
1591 case "(($ac_try" in
1592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1593 *) ac_try_echo=$ac_try;;
1594 esac
1595 eval 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
1610 else
1611 $as_echo "$as_me: failed program was:" >&5
1612 sed 's/^/| /' conftest.$ac_ext >&5
1613
1614 ac_retval=1
1615 fi
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.
1624 ac_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"
1628 case "(($ac_try" in
1629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630 *) ac_try_echo=$ac_try;;
1631 esac
1632 eval 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
1647 else
1648 $as_echo "$as_me: failed program was:" >&5
1649 sed 's/^/| /' conftest.$ac_ext >&5
1650
1651 ac_retval=1
1652 fi
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.
1663 ac_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; }
1669 if eval \${$3+:} false; then :
1670 $as_echo_n "(cached) " >&6
1671 fi
1672 eval ac_res=\$$3
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1674 $as_echo "$ac_res" >&6; }
1675 else
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; }
1679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1680 /* end confdefs.h. */
1681 $4
1682 #include <$2>
1683 _ACEOF
1684 if ac_fn_c_try_compile "$LINENO"; then :
1685 ac_header_compiler=yes
1686 else
1687 ac_header_compiler=no
1688 fi
1689 rm -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; }
1696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1697 /* end confdefs.h. */
1698 #include <$2>
1699 _ACEOF
1700 if ac_fn_c_try_cpp "$LINENO"; then :
1701 ac_header_preproc=yes
1702 else
1703 ac_header_preproc=no
1704 fi
1705 rm -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?
1710 case $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 ;;
1729 esac
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1731 $as_echo_n "checking for $2... " >&6; }
1732 if eval \${$3+:} false; then :
1733 $as_echo_n "(cached) " >&6
1734 else
1735 eval "$3=\$ac_header_compiler"
1736 fi
1737 eval ac_res=\$$3
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1739 $as_echo "$ac_res" >&6; }
1740 fi
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.
1749 ac_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"
1753 case "(($ac_try" in
1754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1755 *) ac_try_echo=$ac_try;;
1756 esac
1757 eval 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;;
1766 esac
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_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
1774 else
1775 $as_echo "$as_me: program exited with status $ac_status" >&5
1776 $as_echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.$ac_ext >&5
1778
1779 ac_retval=$ac_status
1780 fi
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.
1791 ac_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; }
1796 if eval \${$3+:} false; then :
1797 $as_echo_n "(cached) " >&6
1798 else
1799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1800 /* end confdefs.h. */
1801 $4
1802 #include <$2>
1803 _ACEOF
1804 if ac_fn_c_try_compile "$LINENO"; then :
1805 eval "$3=yes"
1806 else
1807 eval "$3=no"
1808 fi
1809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1810 fi
1811 eval 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.
1821 ac_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"
1826 case "(($ac_try" in
1827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1828 *) ac_try_echo=$ac_try;;
1829 esac
1830 eval 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
1848 else
1849 $as_echo "$as_me: failed program was:" >&5
1850 sed 's/^/| /' conftest.$ac_ext >&5
1851
1852 ac_retval=1
1853 fi
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
1867 ac_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; }
1872 if eval \${$3+:} false; then :
1873 $as_echo_n "(cached) " >&6
1874 else
1875 if test x$gcc_no_link = xyes; then
1876 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1877 fi
1878 cat 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
1901 extern "C"
1902 #endif
1903 char $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
1908 choke me
1909 #endif
1910
1911 int
1912 main ()
1913 {
1914 return $2 ();
1915 ;
1916 return 0;
1917 }
1918 _ACEOF
1919 if ac_fn_c_try_link "$LINENO"; then :
1920 eval "$3=yes"
1921 else
1922 eval "$3=no"
1923 fi
1924 rm -f core conftest.err conftest.$ac_objext \
1925 conftest$ac_exeext conftest.$ac_ext
1926 fi
1927 eval 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.
1937 ac_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"
1942 case "(($ac_try" in
1943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1944 *) ac_try_echo=$ac_try;;
1945 esac
1946 eval 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
1961 else
1962 $as_echo "$as_me: failed program was:" >&5
1963 sed 's/^/| /' conftest.$ac_ext >&5
1964
1965 ac_retval=1
1966 fi
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.
1975 ac_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"
1980 case "(($ac_try" in
1981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1982 *) ac_try_echo=$ac_try;;
1983 esac
1984 eval 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
2002 else
2003 $as_echo "$as_me: failed program was:" >&5
2004 sed 's/^/| /' conftest.$ac_ext >&5
2005
2006 ac_retval=1
2007 fi
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.
2022 ac_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; }
2027 if eval \${$3+:} false; then :
2028 $as_echo_n "(cached) " >&6
2029 else
2030 eval "$3=no"
2031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2032 /* end confdefs.h. */
2033 $4
2034 int
2035 main ()
2036 {
2037 if (sizeof ($2))
2038 return 0;
2039 ;
2040 return 0;
2041 }
2042 _ACEOF
2043 if ac_fn_c_try_compile "$LINENO"; then :
2044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h. */
2046 $4
2047 int
2048 main ()
2049 {
2050 if (sizeof (($2)))
2051 return 0;
2052 ;
2053 return 0;
2054 }
2055 _ACEOF
2056 if ac_fn_c_try_compile "$LINENO"; then :
2057
2058 else
2059 eval "$3=yes"
2060 fi
2061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2062 fi
2063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2064 fi
2065 eval 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
2077 ac_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.
2082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2083 /* end confdefs.h. */
2084 $4
2085 int
2086 main ()
2087 {
2088 static int test_array [1 - 2 * !(($2) >= 0)];
2089 test_array [0] = 0;
2090 return test_array [0];
2091
2092 ;
2093 return 0;
2094 }
2095 _ACEOF
2096 if 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
2102 int
2103 main ()
2104 {
2105 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2106 test_array [0] = 0;
2107 return test_array [0];
2108
2109 ;
2110 return 0;
2111 }
2112 _ACEOF
2113 if ac_fn_c_try_compile "$LINENO"; then :
2114 ac_hi=$ac_mid; break
2115 else
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
2122 fi
2123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2124 done
2125 else
2126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2127 /* end confdefs.h. */
2128 $4
2129 int
2130 main ()
2131 {
2132 static int test_array [1 - 2 * !(($2) < 0)];
2133 test_array [0] = 0;
2134 return test_array [0];
2135
2136 ;
2137 return 0;
2138 }
2139 _ACEOF
2140 if 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
2146 int
2147 main ()
2148 {
2149 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2150 test_array [0] = 0;
2151 return test_array [0];
2152
2153 ;
2154 return 0;
2155 }
2156 _ACEOF
2157 if ac_fn_c_try_compile "$LINENO"; then :
2158 ac_lo=$ac_mid; break
2159 else
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
2166 fi
2167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2168 done
2169 else
2170 ac_lo= ac_hi=
2171 fi
2172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2173 fi
2174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2175 # Binary search between lo and hi bounds.
2176 while 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
2181 int
2182 main ()
2183 {
2184 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2185 test_array [0] = 0;
2186 return test_array [0];
2187
2188 ;
2189 return 0;
2190 }
2191 _ACEOF
2192 if ac_fn_c_try_compile "$LINENO"; then :
2193 ac_hi=$ac_mid
2194 else
2195 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2196 fi
2197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2198 done
2199 case $ac_lo in #((
2200 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2201 '') ac_retval=1 ;;
2202 esac
2203 else
2204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2206 $4
2207 static long int longval () { return $2; }
2208 static unsigned long int ulongval () { return $2; }
2209 #include <stdio.h>
2210 #include <stdlib.h>
2211 int
2212 main ()
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
2240 if ac_fn_c_try_run "$LINENO"; then :
2241 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2242 else
2243 ac_retval=1
2244 fi
2245 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2246 conftest.$ac_objext conftest.beam conftest.$ac_ext
2247 rm -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.
2259 ac_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; }
2264 if eval \${$4+:} false; then :
2265 $as_echo_n "(cached) " >&6
2266 else
2267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2269 $5
2270 int
2271 main ()
2272 {
2273 static $2 ac_aggr;
2274 if (ac_aggr.$3)
2275 return 0;
2276 ;
2277 return 0;
2278 }
2279 _ACEOF
2280 if ac_fn_c_try_compile "$LINENO"; then :
2281 eval "$4=yes"
2282 else
2283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2285 $5
2286 int
2287 main ()
2288 {
2289 static $2 ac_aggr;
2290 if (sizeof ac_aggr.$3)
2291 return 0;
2292 ;
2293 return 0;
2294 }
2295 _ACEOF
2296 if ac_fn_c_try_compile "$LINENO"; then :
2297 eval "$4=yes"
2298 else
2299 eval "$4=no"
2300 fi
2301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2302 fi
2303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2304 fi
2305 eval 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
2311 cat >config.log <<_ACEOF
2312 This file contains any messages produced by compilers while
2313 running configure, to aid debugging if configure makes a mistake.
2314
2315 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2316 generated by GNU Autoconf 2.69. Invocation command line was
2317
2318 $ $0 $@
2319
2320 _ACEOF
2321 exec 5>>config.log
2322 {
2323 cat <<_ASUNAME
2324 ## --------- ##
2325 ## Platform. ##
2326 ## --------- ##
2327
2328 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2329 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2330 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2331 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2332 uname -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
2347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2348 for as_dir in $PATH
2349 do
2350 IFS=$as_save_IFS
2351 test -z "$as_dir" && as_dir=.
2352 $as_echo "PATH: $as_dir"
2353 done
2354 IFS=$as_save_IFS
2355
2356 } >&5
2357
2358 cat >&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.
2373 ac_configure_args=
2374 ac_configure_args0=
2375 ac_configure_args1=
2376 ac_must_keep_next=false
2377 for ac_pass in 1 2
2378 do
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
2412 done
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.
2421 trap '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
2508 for ac_signal in 1 2 13 15; do
2509 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2510 done
2511 ac_signal=0
2512
2513 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2514 rm -f -r conftest* confdefs.h
2515
2516 $as_echo "/* confdefs.h */" > confdefs.h
2517
2518 # Predefined preprocessor variables.
2519
2520 cat >>confdefs.h <<_ACEOF
2521 #define PACKAGE_NAME "$PACKAGE_NAME"
2522 _ACEOF
2523
2524 cat >>confdefs.h <<_ACEOF
2525 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2526 _ACEOF
2527
2528 cat >>confdefs.h <<_ACEOF
2529 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2530 _ACEOF
2531
2532 cat >>confdefs.h <<_ACEOF
2533 #define PACKAGE_STRING "$PACKAGE_STRING"
2534 _ACEOF
2535
2536 cat >>confdefs.h <<_ACEOF
2537 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2538 _ACEOF
2539
2540 cat >>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.
2547 ac_site_file1=NONE
2548 ac_site_file2=NONE
2549 if 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
2556 elif test "x$prefix" != xNONE; then
2557 ac_site_file1=$prefix/share/config.site
2558 ac_site_file2=$prefix/etc/config.site
2559 else
2560 ac_site_file1=$ac_default_prefix/share/config.site
2561 ac_site_file2=$ac_default_prefix/etc/config.site
2562 fi
2563 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2564 do
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;}
2573 as_fn_error $? "failed to load site script $ac_site_file
2574 See \`config.log' for more details" "$LINENO" 5; }
2575 fi
2576 done
2577
2578 if 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
2589 else
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
2593 fi
2594
2595 as_fn_append ac_header_list " unistd.h"
2596 as_fn_append ac_header_list " sys/random.h"
2597 as_fn_append ac_header_list " sys/time.h"
2598 as_fn_append ac_header_list " sys/times.h"
2599 as_fn_append ac_header_list " sys/resource.h"
2600 as_fn_append ac_header_list " sys/types.h"
2601 as_fn_append ac_header_list " sys/stat.h"
2602 as_fn_append ac_header_list " sys/uio.h"
2603 as_fn_append ac_header_list " sys/wait.h"
2604 as_fn_append ac_header_list " floatingpoint.h"
2605 as_fn_append ac_header_list " ieeefp.h"
2606 as_fn_append ac_header_list " fenv.h"
2607 as_fn_append ac_header_list " fptrap.h"
2608 as_fn_append ac_header_list " fpxcp.h"
2609 as_fn_append ac_header_list " pwd.h"
2610 as_fn_append ac_header_list " complex.h"
2611 as_fn_append ac_header_list " xlocale.h"
2612 as_fn_append ac_func_list " getrusage"
2613 as_fn_append ac_func_list " times"
2614 as_fn_append ac_func_list " mkstemp"
2615 as_fn_append ac_func_list " strtof"
2616 as_fn_append ac_func_list " strtold"
2617 as_fn_append ac_func_list " snprintf"
2618 as_fn_append ac_func_list " ftruncate"
2619 as_fn_append ac_func_list " chsize"
2620 as_fn_append ac_func_list " chdir"
2621 as_fn_append ac_func_list " getentropy"
2622 as_fn_append ac_func_list " getlogin"
2623 as_fn_append ac_func_list " gethostname"
2624 as_fn_append ac_func_list " kill"
2625 as_fn_append ac_func_list " link"
2626 as_fn_append ac_func_list " symlink"
2627 as_fn_append ac_func_list " sleep"
2628 as_fn_append ac_func_list " ttyname"
2629 as_fn_append ac_func_list " alarm"
2630 as_fn_append ac_func_list " access"
2631 as_fn_append ac_func_list " fork"
2632 as_fn_append ac_func_list " setmode"
2633 as_fn_append ac_func_list " fcntl"
2634 as_fn_append ac_func_list " writev"
2635 as_fn_append ac_func_list " gettimeofday"
2636 as_fn_append ac_func_list " stat"
2637 as_fn_append ac_func_list " fstat"
2638 as_fn_append ac_func_list " lstat"
2639 as_fn_append ac_func_list " getpwuid"
2640 as_fn_append ac_func_list " vsnprintf"
2641 as_fn_append ac_func_list " dup"
2642 as_fn_append ac_func_list " getcwd"
2643 as_fn_append ac_func_list " localtime_r"
2644 as_fn_append ac_func_list " gmtime_r"
2645 as_fn_append ac_func_list " getpwuid_r"
2646 as_fn_append ac_func_list " ttyname_r"
2647 as_fn_append ac_func_list " clock_gettime"
2648 as_fn_append ac_func_list " getgid"
2649 as_fn_append ac_func_list " getpid"
2650 as_fn_append ac_func_list " getuid"
2651 as_fn_append ac_func_list " geteuid"
2652 as_fn_append ac_func_list " umask"
2653 as_fn_append ac_func_list " getegid"
2654 as_fn_append ac_func_list " secure_getenv"
2655 as_fn_append ac_func_list " __secure_getenv"
2656 as_fn_append ac_func_list " mkostemp"
2657 as_fn_append ac_func_list " strnlen"
2658 as_fn_append ac_func_list " strndup"
2659 as_fn_append ac_func_list " newlocale"
2660 as_fn_append ac_func_list " freelocale"
2661 as_fn_append ac_func_list " uselocale"
2662 as_fn_append ac_func_list " strerror_l"
2663 as_fn_append ac_header_list " math.h"
2664 # Check that the precious variables saved in the cache have kept the same
2665 # value.
2666 ac_cache_corrupted=false
2667 for ac_var in $ac_precious_vars; do
2668 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2669 eval ac_new_set=\$ac_env_${ac_var}_set
2670 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2671 eval ac_new_val=\$ac_env_${ac_var}_value
2672 case $ac_old_set,$ac_new_set in
2673 set,)
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2675 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2676 ac_cache_corrupted=: ;;
2677 ,set)
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2679 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2680 ac_cache_corrupted=: ;;
2681 ,);;
2682 *)
2683 if test "x$ac_old_val" != "x$ac_new_val"; then
2684 # differences in whitespace do not lead to failure.
2685 ac_old_val_w=`echo x $ac_old_val`
2686 ac_new_val_w=`echo x $ac_new_val`
2687 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2689 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2690 ac_cache_corrupted=:
2691 else
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2693 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2694 eval $ac_var=\$ac_old_val
2695 fi
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2697 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2699 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2700 fi;;
2701 esac
2702 # Pass precious variables to config.status.
2703 if test "$ac_new_set" = set; then
2704 case $ac_new_val in
2705 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2706 *) ac_arg=$ac_var=$ac_new_val ;;
2707 esac
2708 case " $ac_configure_args " in
2709 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2710 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2711 esac
2712 fi
2713 done
2714 if $ac_cache_corrupted; then
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2718 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2719 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2720 fi
2721 ## -------------------- ##
2722 ## Main body of script. ##
2723 ## -------------------- ##
2724
2725 ac_ext=c
2726 ac_cpp='$CPP $CPPFLAGS'
2727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2730
2731
2732
2733
2734
2735 ac_config_headers="$ac_config_headers config.h"
2736
2737 ac_aux_dir=
2738 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2739 if test -f "$ac_dir/install-sh"; then
2740 ac_aux_dir=$ac_dir
2741 ac_install_sh="$ac_aux_dir/install-sh -c"
2742 break
2743 elif test -f "$ac_dir/install.sh"; then
2744 ac_aux_dir=$ac_dir
2745 ac_install_sh="$ac_aux_dir/install.sh -c"
2746 break
2747 elif test -f "$ac_dir/shtool"; then
2748 ac_aux_dir=$ac_dir
2749 ac_install_sh="$ac_aux_dir/shtool install -c"
2750 break
2751 fi
2752 done
2753 if test -z "$ac_aux_dir"; then
2754 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2755 fi
2756
2757 # These three variables are undocumented and unsupported,
2758 # and are intended to be withdrawn in a future Autoconf release.
2759 # They can cause serious problems if a builder's source tree is in a directory
2760 # whose full name contains unusual characters.
2761 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2762 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2763 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2764
2765
2766 # Make sure we can run config.sub.
2767 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2768 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2769
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2771 $as_echo_n "checking build system type... " >&6; }
2772 if ${ac_cv_build+:} false; then :
2773 $as_echo_n "(cached) " >&6
2774 else
2775 ac_build_alias=$build_alias
2776 test "x$ac_build_alias" = x &&
2777 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2778 test "x$ac_build_alias" = x &&
2779 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2780 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2781 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2782
2783 fi
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2785 $as_echo "$ac_cv_build" >&6; }
2786 case $ac_cv_build in
2787 *-*-*) ;;
2788 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2789 esac
2790 build=$ac_cv_build
2791 ac_save_IFS=$IFS; IFS='-'
2792 set x $ac_cv_build
2793 shift
2794 build_cpu=$1
2795 build_vendor=$2
2796 shift; shift
2797 # Remember, the first character of IFS is used to create $*,
2798 # except with old shells:
2799 build_os=$*
2800 IFS=$ac_save_IFS
2801 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2802
2803
2804 case ${build_alias} in
2805 "") build_noncanonical=${build} ;;
2806 *) build_noncanonical=${build_alias} ;;
2807 esac
2808
2809 case ${host_alias} in
2810 "") host_noncanonical=${build_noncanonical} ;;
2811 *) host_noncanonical=${host_alias} ;;
2812 esac
2813
2814 case ${target_alias} in
2815 "") target_noncanonical=${host_noncanonical} ;;
2816 *) target_noncanonical=${target_alias} ;;
2817 esac
2818
2819
2820 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2821 # have matching libraries, they should use host libraries: Makefile.tpl
2822 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2823 # However, they still use the build modules, because the corresponding
2824 # host modules (e.g. bison) are only built for the host when bootstrap
2825 # finishes. So:
2826 # - build_subdir is where we find build modules, and never changes.
2827 # - build_libsubdir is where we find build libraries, and can be overridden.
2828
2829 # Prefix 'build-' so this never conflicts with target_subdir.
2830 build_subdir="build-${build_noncanonical}"
2831
2832 # Check whether --with-build-libsubdir was given.
2833 if test "${with_build_libsubdir+set}" = set; then :
2834 withval=$with_build_libsubdir; build_libsubdir="$withval"
2835 else
2836 build_libsubdir="$build_subdir"
2837 fi
2838
2839 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2840 if ( test $srcdir = . && test -d gcc ) \
2841 || test -d $srcdir/../host-${host_noncanonical}; then
2842 host_subdir="host-${host_noncanonical}"
2843 else
2844 host_subdir=.
2845 fi
2846 # No prefix.
2847 target_subdir=${target_noncanonical}
2848
2849
2850 # -------
2851 # Options
2852 # -------
2853
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2855 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2856 # Check whether --enable-version-specific-runtime-libs was given.
2857 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2858 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2859 yes) version_specific_libs=yes ;;
2860 no) version_specific_libs=no ;;
2861 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2862 esac
2863 else
2864 version_specific_libs=no
2865 fi
2866
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2868 $as_echo "$version_specific_libs" >&6; }
2869
2870 # Build with intermodule optimisations
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2872 $as_echo_n "checking for --enable-intermodule... " >&6; }
2873 # Check whether --enable-intermodule was given.
2874 if test "${enable_intermodule+set}" = set; then :
2875 enableval=$enable_intermodule; case "$enable_intermodule" in
2876 yes) onestep="-onestep";;
2877 *) onestep="";;
2878 esac
2879 else
2880 onestep=""
2881 fi
2882
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2884 $as_echo "$enable_intermodule" >&6; }
2885 if test x$onestep = x-onestep; then
2886 onestep_TRUE=
2887 onestep_FALSE='#'
2888 else
2889 onestep_TRUE='#'
2890 onestep_FALSE=
2891 fi
2892
2893
2894
2895 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2896 #
2897 # You will slowly go insane if you do not grok the following fact: when
2898 # building this library, the top-level /target/ becomes the library's /host/.
2899 #
2900 # configure then causes --target to default to --host, exactly like any
2901 # other package using autoconf. Therefore, 'target' and 'host' will
2902 # always be the same. This makes sense both for native and cross compilers
2903 # just think about it for a little while. :-)
2904 #
2905 # Also, if this library is being configured as part of a cross compiler, the
2906 # top-level configure script will pass the "real" host as $with_cross_host.
2907 #
2908 # Do not delete or change the following two lines. For why, see
2909 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2911 $as_echo_n "checking host system type... " >&6; }
2912 if ${ac_cv_host+:} false; then :
2913 $as_echo_n "(cached) " >&6
2914 else
2915 if test "x$host_alias" = x; then
2916 ac_cv_host=$ac_cv_build
2917 else
2918 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2919 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2920 fi
2921
2922 fi
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2924 $as_echo "$ac_cv_host" >&6; }
2925 case $ac_cv_host in
2926 *-*-*) ;;
2927 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2928 esac
2929 host=$ac_cv_host
2930 ac_save_IFS=$IFS; IFS='-'
2931 set x $ac_cv_host
2932 shift
2933 host_cpu=$1
2934 host_vendor=$2
2935 shift; shift
2936 # Remember, the first character of IFS is used to create $*,
2937 # except with old shells:
2938 host_os=$*
2939 IFS=$ac_save_IFS
2940 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2941
2942
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2944 $as_echo_n "checking target system type... " >&6; }
2945 if ${ac_cv_target+:} false; then :
2946 $as_echo_n "(cached) " >&6
2947 else
2948 if test "x$target_alias" = x; then
2949 ac_cv_target=$ac_cv_host
2950 else
2951 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2952 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2953 fi
2954
2955 fi
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2957 $as_echo "$ac_cv_target" >&6; }
2958 case $ac_cv_target in
2959 *-*-*) ;;
2960 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2961 esac
2962 target=$ac_cv_target
2963 ac_save_IFS=$IFS; IFS='-'
2964 set x $ac_cv_target
2965 shift
2966 target_cpu=$1
2967 target_vendor=$2
2968 shift; shift
2969 # Remember, the first character of IFS is used to create $*,
2970 # except with old shells:
2971 target_os=$*
2972 IFS=$ac_save_IFS
2973 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2974
2975
2976 # The aliases save the names the user supplied, while $host etc.
2977 # will get canonicalized.
2978 test -n "$target_alias" &&
2979 test "$program_prefix$program_suffix$program_transform_name" = \
2980 NONENONEs,x,x, &&
2981 program_prefix=${target_alias}-
2982
2983
2984
2985
2986 target_alias=${target_alias-$host_alias}
2987
2988
2989 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2990 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2991 # 1.9.6: minimum required version
2992 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2993 # of other PACKAGE_* variables will, however, and there's nothing
2994 # we can do about that; they come from AC_INIT).
2995 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2996 # file in the top srcdir, etc, etc), so stop complaining.
2997 # no-dist: we don't want 'dist' and related rules.
2998 # -Wall: turns on all automake warnings...
2999 # -Wno-portability: ...except this one, since GNU make is required.
3000 am__api_version='1.15'
3001
3002 # Find a good install program. We prefer a C program (faster),
3003 # so one script is as good as another. But avoid the broken or
3004 # incompatible versions:
3005 # SysV /etc/install, /usr/sbin/install
3006 # SunOS /usr/etc/install
3007 # IRIX /sbin/install
3008 # AIX /bin/install
3009 # AmigaOS /C/install, which installs bootblocks on floppy discs
3010 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3011 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3012 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3013 # OS/2's system install, which has a completely different semantic
3014 # ./install, which can be erroneously created by make from ./install.sh.
3015 # Reject install programs that cannot install multiple files.
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3017 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3018 if test -z "$INSTALL"; then
3019 if ${ac_cv_path_install+:} false; then :
3020 $as_echo_n "(cached) " >&6
3021 else
3022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3023 for as_dir in $PATH
3024 do
3025 IFS=$as_save_IFS
3026 test -z "$as_dir" && as_dir=.
3027 # Account for people who put trailing slashes in PATH elements.
3028 case $as_dir/ in #((
3029 ./ | .// | /[cC]/* | \
3030 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3031 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3032 /usr/ucb/* ) ;;
3033 *)
3034 # OSF1 and SCO ODT 3.0 have their own names for install.
3035 # Don't use installbsd from OSF since it installs stuff as root
3036 # by default.
3037 for ac_prog in ginstall scoinst install; do
3038 for ac_exec_ext in '' $ac_executable_extensions; do
3039 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3040 if test $ac_prog = install &&
3041 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3042 # AIX install. It has an incompatible calling convention.
3043 :
3044 elif test $ac_prog = install &&
3045 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3046 # program-specific install script used by HP pwplus--don't use.
3047 :
3048 else
3049 rm -rf conftest.one conftest.two conftest.dir
3050 echo one > conftest.one
3051 echo two > conftest.two
3052 mkdir conftest.dir
3053 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3054 test -s conftest.one && test -s conftest.two &&
3055 test -s conftest.dir/conftest.one &&
3056 test -s conftest.dir/conftest.two
3057 then
3058 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3059 break 3
3060 fi
3061 fi
3062 fi
3063 done
3064 done
3065 ;;
3066 esac
3067
3068 done
3069 IFS=$as_save_IFS
3070
3071 rm -rf conftest.one conftest.two conftest.dir
3072
3073 fi
3074 if test "${ac_cv_path_install+set}" = set; then
3075 INSTALL=$ac_cv_path_install
3076 else
3077 # As a last resort, use the slow shell script. Don't cache a
3078 # value for INSTALL within a source directory, because that will
3079 # break other packages using the cache if that directory is
3080 # removed, or if the value is a relative name.
3081 INSTALL=$ac_install_sh
3082 fi
3083 fi
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3085 $as_echo "$INSTALL" >&6; }
3086
3087 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3088 # It thinks the first close brace ends the variable substitution.
3089 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3090
3091 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3092
3093 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3094
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3096 $as_echo_n "checking whether build environment is sane... " >&6; }
3097 # Reject unsafe characters in $srcdir or the absolute working directory
3098 # name. Accept space and tab only in the latter.
3099 am_lf='
3100 '
3101 case `pwd` in
3102 *[\\\"\#\$\&\'\`$am_lf]*)
3103 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3104 esac
3105 case $srcdir in
3106 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3107 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3108 esac
3109
3110 # Do 'set' in a subshell so we don't clobber the current shell's
3111 # arguments. Must try -L first in case configure is actually a
3112 # symlink; some systems play weird games with the mod time of symlinks
3113 # (eg FreeBSD returns the mod time of the symlink's containing
3114 # directory).
3115 if (
3116 am_has_slept=no
3117 for am_try in 1 2; do
3118 echo "timestamp, slept: $am_has_slept" > conftest.file
3119 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3120 if test "$*" = "X"; then
3121 # -L didn't work.
3122 set X `ls -t "$srcdir/configure" conftest.file`
3123 fi
3124 if test "$*" != "X $srcdir/configure conftest.file" \
3125 && test "$*" != "X conftest.file $srcdir/configure"; then
3126
3127 # If neither matched, then we have a broken ls. This can happen
3128 # if, for instance, CONFIG_SHELL is bash and it inherits a
3129 # broken ls alias from the environment. This has actually
3130 # happened. Such a system could not be considered "sane".
3131 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3132 alias in your environment" "$LINENO" 5
3133 fi
3134 if test "$2" = conftest.file || test $am_try -eq 2; then
3135 break
3136 fi
3137 # Just in case.
3138 sleep 1
3139 am_has_slept=yes
3140 done
3141 test "$2" = conftest.file
3142 )
3143 then
3144 # Ok.
3145 :
3146 else
3147 as_fn_error $? "newly created file is older than distributed files!
3148 Check your system clock" "$LINENO" 5
3149 fi
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3151 $as_echo "yes" >&6; }
3152 # If we didn't sleep, we still need to ensure time stamps of config.status and
3153 # generated files are strictly newer.
3154 am_sleep_pid=
3155 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3156 ( sleep 1 ) &
3157 am_sleep_pid=$!
3158 fi
3159
3160 rm -f conftest.file
3161
3162 test "$program_prefix" != NONE &&
3163 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3164 # Use a double $ so make ignores it.
3165 test "$program_suffix" != NONE &&
3166 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3167 # Double any \ or $.
3168 # By default was `s,x,x', remove it if useless.
3169 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3170 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3171
3172 # Expand $ac_aux_dir to an absolute path.
3173 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3174
3175 if test x"${MISSING+set}" != xset; then
3176 case $am_aux_dir in
3177 *\ * | *\ *)
3178 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3179 *)
3180 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3181 esac
3182 fi
3183 # Use eval to expand $SHELL
3184 if eval "$MISSING --is-lightweight"; then
3185 am_missing_run="$MISSING "
3186 else
3187 am_missing_run=
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3189 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3190 fi
3191
3192 if test x"${install_sh+set}" != xset; then
3193 case $am_aux_dir in
3194 *\ * | *\ *)
3195 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3196 *)
3197 install_sh="\${SHELL} $am_aux_dir/install-sh"
3198 esac
3199 fi
3200
3201 # Installed binaries are usually stripped using 'strip' when the user
3202 # run "make install-strip". However 'strip' might not be the right
3203 # tool to use in cross-compilation environments, therefore Automake
3204 # will honor the 'STRIP' environment variable to overrule this program.
3205 if test "$cross_compiling" != no; then
3206 if test -n "$ac_tool_prefix"; then
3207 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3208 set dummy ${ac_tool_prefix}strip; ac_word=$2
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3210 $as_echo_n "checking for $ac_word... " >&6; }
3211 if ${ac_cv_prog_STRIP+:} false; then :
3212 $as_echo_n "(cached) " >&6
3213 else
3214 if test -n "$STRIP"; then
3215 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3216 else
3217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3218 for as_dir in $PATH
3219 do
3220 IFS=$as_save_IFS
3221 test -z "$as_dir" && as_dir=.
3222 for ac_exec_ext in '' $ac_executable_extensions; do
3223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3224 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3226 break 2
3227 fi
3228 done
3229 done
3230 IFS=$as_save_IFS
3231
3232 fi
3233 fi
3234 STRIP=$ac_cv_prog_STRIP
3235 if test -n "$STRIP"; then
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3237 $as_echo "$STRIP" >&6; }
3238 else
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3240 $as_echo "no" >&6; }
3241 fi
3242
3243
3244 fi
3245 if test -z "$ac_cv_prog_STRIP"; then
3246 ac_ct_STRIP=$STRIP
3247 # Extract the first word of "strip", so it can be a program name with args.
3248 set dummy strip; ac_word=$2
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3250 $as_echo_n "checking for $ac_word... " >&6; }
3251 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3252 $as_echo_n "(cached) " >&6
3253 else
3254 if test -n "$ac_ct_STRIP"; then
3255 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3256 else
3257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3258 for as_dir in $PATH
3259 do
3260 IFS=$as_save_IFS
3261 test -z "$as_dir" && as_dir=.
3262 for ac_exec_ext in '' $ac_executable_extensions; do
3263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3264 ac_cv_prog_ac_ct_STRIP="strip"
3265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3266 break 2
3267 fi
3268 done
3269 done
3270 IFS=$as_save_IFS
3271
3272 fi
3273 fi
3274 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3275 if test -n "$ac_ct_STRIP"; then
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3277 $as_echo "$ac_ct_STRIP" >&6; }
3278 else
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3280 $as_echo "no" >&6; }
3281 fi
3282
3283 if test "x$ac_ct_STRIP" = x; then
3284 STRIP=":"
3285 else
3286 case $cross_compiling:$ac_tool_warned in
3287 yes:)
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3290 ac_tool_warned=yes ;;
3291 esac
3292 STRIP=$ac_ct_STRIP
3293 fi
3294 else
3295 STRIP="$ac_cv_prog_STRIP"
3296 fi
3297
3298 fi
3299 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3300
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3302 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3303 if test -z "$MKDIR_P"; then
3304 if ${ac_cv_path_mkdir+:} false; then :
3305 $as_echo_n "(cached) " >&6
3306 else
3307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3308 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3309 do
3310 IFS=$as_save_IFS
3311 test -z "$as_dir" && as_dir=.
3312 for ac_prog in mkdir gmkdir; do
3313 for ac_exec_ext in '' $ac_executable_extensions; do
3314 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3315 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3316 'mkdir (GNU coreutils) '* | \
3317 'mkdir (coreutils) '* | \
3318 'mkdir (fileutils) '4.1*)
3319 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3320 break 3;;
3321 esac
3322 done
3323 done
3324 done
3325 IFS=$as_save_IFS
3326
3327 fi
3328
3329 test -d ./--version && rmdir ./--version
3330 if test "${ac_cv_path_mkdir+set}" = set; then
3331 MKDIR_P="$ac_cv_path_mkdir -p"
3332 else
3333 # As a last resort, use the slow shell script. Don't cache a
3334 # value for MKDIR_P within a source directory, because that will
3335 # break other packages using the cache if that directory is
3336 # removed, or if the value is a relative name.
3337 MKDIR_P="$ac_install_sh -d"
3338 fi
3339 fi
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3341 $as_echo "$MKDIR_P" >&6; }
3342
3343 for ac_prog in gawk mawk nawk awk
3344 do
3345 # Extract the first word of "$ac_prog", so it can be a program name with args.
3346 set dummy $ac_prog; ac_word=$2
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3348 $as_echo_n "checking for $ac_word... " >&6; }
3349 if ${ac_cv_prog_AWK+:} false; then :
3350 $as_echo_n "(cached) " >&6
3351 else
3352 if test -n "$AWK"; then
3353 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3354 else
3355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3356 for as_dir in $PATH
3357 do
3358 IFS=$as_save_IFS
3359 test -z "$as_dir" && as_dir=.
3360 for ac_exec_ext in '' $ac_executable_extensions; do
3361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3362 ac_cv_prog_AWK="$ac_prog"
3363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3364 break 2
3365 fi
3366 done
3367 done
3368 IFS=$as_save_IFS
3369
3370 fi
3371 fi
3372 AWK=$ac_cv_prog_AWK
3373 if test -n "$AWK"; then
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3375 $as_echo "$AWK" >&6; }
3376 else
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3378 $as_echo "no" >&6; }
3379 fi
3380
3381
3382 test -n "$AWK" && break
3383 done
3384
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3386 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3387 set x ${MAKE-make}
3388 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3389 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3390 $as_echo_n "(cached) " >&6
3391 else
3392 cat >conftest.make <<\_ACEOF
3393 SHELL = /bin/sh
3394 all:
3395 @echo '@@@%%%=$(MAKE)=@@@%%%'
3396 _ACEOF
3397 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3398 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3399 *@@@%%%=?*=@@@%%%*)
3400 eval ac_cv_prog_make_${ac_make}_set=yes;;
3401 *)
3402 eval ac_cv_prog_make_${ac_make}_set=no;;
3403 esac
3404 rm -f conftest.make
3405 fi
3406 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3408 $as_echo "yes" >&6; }
3409 SET_MAKE=
3410 else
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3412 $as_echo "no" >&6; }
3413 SET_MAKE="MAKE=${MAKE-make}"
3414 fi
3415
3416 rm -rf .tst 2>/dev/null
3417 mkdir .tst 2>/dev/null
3418 if test -d .tst; then
3419 am__leading_dot=.
3420 else
3421 am__leading_dot=_
3422 fi
3423 rmdir .tst 2>/dev/null
3424
3425 # Check whether --enable-silent-rules was given.
3426 if test "${enable_silent_rules+set}" = set; then :
3427 enableval=$enable_silent_rules;
3428 fi
3429
3430 case $enable_silent_rules in # (((
3431 yes) AM_DEFAULT_VERBOSITY=0;;
3432 no) AM_DEFAULT_VERBOSITY=1;;
3433 *) AM_DEFAULT_VERBOSITY=1;;
3434 esac
3435 am_make=${MAKE-make}
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3437 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3438 if ${am_cv_make_support_nested_variables+:} false; then :
3439 $as_echo_n "(cached) " >&6
3440 else
3441 if $as_echo 'TRUE=$(BAR$(V))
3442 BAR0=false
3443 BAR1=true
3444 V=1
3445 am__doit:
3446 @$(TRUE)
3447 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3448 am_cv_make_support_nested_variables=yes
3449 else
3450 am_cv_make_support_nested_variables=no
3451 fi
3452 fi
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3454 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3455 if test $am_cv_make_support_nested_variables = yes; then
3456 AM_V='$(V)'
3457 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3458 else
3459 AM_V=$AM_DEFAULT_VERBOSITY
3460 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3461 fi
3462 AM_BACKSLASH='\'
3463
3464 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3465 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3466 # is not polluted with repeated "-I."
3467 am__isrc=' -I$(srcdir)'
3468 # test to see if srcdir already configured
3469 if test -f $srcdir/config.status; then
3470 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3471 fi
3472 fi
3473
3474 # test whether we have cygpath
3475 if test -z "$CYGPATH_W"; then
3476 if (cygpath --version) >/dev/null 2>/dev/null; then
3477 CYGPATH_W='cygpath -w'
3478 else
3479 CYGPATH_W=echo
3480 fi
3481 fi
3482
3483
3484 # Define the identity of the package.
3485 PACKAGE='libgfortran'
3486 VERSION='0.3'
3487
3488
3489 # Some tools Automake needs.
3490
3491 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3492
3493
3494 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3495
3496
3497 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3498
3499
3500 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3501
3502
3503 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3504
3505 # For better backward compatibility. To be removed once Automake 1.9.x
3506 # dies out for good. For more background, see:
3507 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3508 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3509 mkdir_p='$(MKDIR_P)'
3510
3511 # We need awk for the "check" target (and possibly the TAP driver). The
3512 # system "awk" is bad on some platforms.
3513 # Always define AMTAR for backward compatibility. Yes, it's still used
3514 # in the wild :-( We should find a proper way to deprecate it ...
3515 AMTAR='$${TAR-tar}'
3516
3517
3518 # We'll loop over all known methods to create a tar archive until one works.
3519 _am_tools='gnutar pax cpio none'
3520
3521 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3522
3523
3524
3525
3526
3527
3528 # POSIX will say in a future version that running "rm -f" with no argument
3529 # is OK; and we want to be able to make that assumption in our Makefile
3530 # recipes. So use an aggressive probe to check that the usage we want is
3531 # actually supported "in the wild" to an acceptable degree.
3532 # See automake bug#10828.
3533 # To make any issue more visible, cause the running configure to be aborted
3534 # by default if the 'rm' program in use doesn't match our expectations; the
3535 # user can still override this though.
3536 if rm -f && rm -fr && rm -rf; then : OK; else
3537 cat >&2 <<'END'
3538 Oops!
3539
3540 Your 'rm' program seems unable to run without file operands specified
3541 on the command line, even when the '-f' option is present. This is contrary
3542 to the behaviour of most rm programs out there, and not conforming with
3543 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3544
3545 Please tell bug-automake@gnu.org about your system, including the value
3546 of your $PATH and any error possibly output before this message. This
3547 can help us improve future automake versions.
3548
3549 END
3550 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3551 echo 'Configuration will proceed anyway, since you have set the' >&2
3552 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3553 echo >&2
3554 else
3555 cat >&2 <<'END'
3556 Aborting the configuration process, to ensure you take notice of the issue.
3557
3558 You can download and install GNU coreutils to get an 'rm' implementation
3559 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3560
3561 If you want to complete the configuration process using your problematic
3562 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3563 to "yes", and re-run configure.
3564
3565 END
3566 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3567 fi
3568 fi
3569
3570
3571
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3573 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3574 # Check whether --enable-maintainer-mode was given.
3575 if test "${enable_maintainer_mode+set}" = set; then :
3576 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3577 else
3578 USE_MAINTAINER_MODE=no
3579 fi
3580
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3582 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3583 if test $USE_MAINTAINER_MODE = yes; then
3584 MAINTAINER_MODE_TRUE=
3585 MAINTAINER_MODE_FALSE='#'
3586 else
3587 MAINTAINER_MODE_TRUE='#'
3588 MAINTAINER_MODE_FALSE=
3589 fi
3590
3591 MAINT=$MAINTAINER_MODE_TRUE
3592
3593
3594 # Default to --enable-multilib
3595 # Check whether --enable-multilib was given.
3596 if test "${enable_multilib+set}" = set; then :
3597 enableval=$enable_multilib; case "$enableval" in
3598 yes) multilib=yes ;;
3599 no) multilib=no ;;
3600 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3601 esac
3602 else
3603 multilib=yes
3604 fi
3605
3606
3607 # We may get other options which we leave undocumented:
3608 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3609 # See config-ml.in if you want the gory details.
3610
3611 if test "$srcdir" = "."; then
3612 if test "$with_target_subdir" != "."; then
3613 multi_basedir="$srcdir/$with_multisrctop../.."
3614 else
3615 multi_basedir="$srcdir/$with_multisrctop.."
3616 fi
3617 else
3618 multi_basedir="$srcdir/.."
3619 fi
3620
3621
3622 # Even if the default multilib is not a cross compilation,
3623 # it may be that some of the other multilibs are.
3624 if test $cross_compiling = no && test $multilib = yes \
3625 && test "x${with_multisubdir}" != x ; then
3626 cross_compiling=maybe
3627 fi
3628
3629 ac_config_commands="$ac_config_commands default-1"
3630
3631
3632 # Handy for debugging:
3633 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3634
3635 # Are we being configured with some form of cross compiler?
3636 # NB: We don't actually need to know this just now, but when, say, a test
3637 # suite is included, we'll have to know.
3638 if test "$build" != "$host"; then
3639 LIBGFOR_IS_NATIVE=false
3640
3641 else
3642 LIBGFOR_IS_NATIVE=true
3643 fi
3644
3645 DEPDIR="${am__leading_dot}deps"
3646
3647 ac_config_commands="$ac_config_commands depfiles"
3648
3649
3650 am_make=${MAKE-make}
3651 cat > confinc << 'END'
3652 am__doit:
3653 @echo this is the am__doit target
3654 .PHONY: am__doit
3655 END
3656 # If we don't find an include directive, just comment out the code.
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3658 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3659 am__include="#"
3660 am__quote=
3661 _am_result=none
3662 # First try GNU make style include.
3663 echo "include confinc" > confmf
3664 # Ignore all kinds of additional output from 'make'.
3665 case `$am_make -s -f confmf 2> /dev/null` in #(
3666 *the\ am__doit\ target*)
3667 am__include=include
3668 am__quote=
3669 _am_result=GNU
3670 ;;
3671 esac
3672 # Now try BSD make style include.
3673 if test "$am__include" = "#"; then
3674 echo '.include "confinc"' > confmf
3675 case `$am_make -s -f confmf 2> /dev/null` in #(
3676 *the\ am__doit\ target*)
3677 am__include=.include
3678 am__quote="\""
3679 _am_result=BSD
3680 ;;
3681 esac
3682 fi
3683
3684
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3686 $as_echo "$_am_result" >&6; }
3687 rm -f confinc confmf
3688
3689 # Check whether --enable-dependency-tracking was given.
3690 if test "${enable_dependency_tracking+set}" = set; then :
3691 enableval=$enable_dependency_tracking;
3692 fi
3693
3694 if test "x$enable_dependency_tracking" != xno; then
3695 am_depcomp="$ac_aux_dir/depcomp"
3696 AMDEPBACKSLASH='\'
3697 am__nodep='_no'
3698 fi
3699 if test "x$enable_dependency_tracking" != xno; then
3700 AMDEP_TRUE=
3701 AMDEP_FALSE='#'
3702 else
3703 AMDEP_TRUE='#'
3704 AMDEP_FALSE=
3705 fi
3706
3707
3708 ac_ext=c
3709 ac_cpp='$CPP $CPPFLAGS'
3710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3713 if test -n "$ac_tool_prefix"; then
3714 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3715 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3717 $as_echo_n "checking for $ac_word... " >&6; }
3718 if ${ac_cv_prog_CC+:} false; then :
3719 $as_echo_n "(cached) " >&6
3720 else
3721 if test -n "$CC"; then
3722 ac_cv_prog_CC="$CC" # Let the user override the test.
3723 else
3724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3725 for as_dir in $PATH
3726 do
3727 IFS=$as_save_IFS
3728 test -z "$as_dir" && as_dir=.
3729 for ac_exec_ext in '' $ac_executable_extensions; do
3730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3731 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3733 break 2
3734 fi
3735 done
3736 done
3737 IFS=$as_save_IFS
3738
3739 fi
3740 fi
3741 CC=$ac_cv_prog_CC
3742 if test -n "$CC"; then
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3744 $as_echo "$CC" >&6; }
3745 else
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3748 fi
3749
3750
3751 fi
3752 if test -z "$ac_cv_prog_CC"; then
3753 ac_ct_CC=$CC
3754 # Extract the first word of "gcc", so it can be a program name with args.
3755 set dummy gcc; ac_word=$2
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3757 $as_echo_n "checking for $ac_word... " >&6; }
3758 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3759 $as_echo_n "(cached) " >&6
3760 else
3761 if test -n "$ac_ct_CC"; then
3762 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3763 else
3764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3765 for as_dir in $PATH
3766 do
3767 IFS=$as_save_IFS
3768 test -z "$as_dir" && as_dir=.
3769 for ac_exec_ext in '' $ac_executable_extensions; do
3770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3771 ac_cv_prog_ac_ct_CC="gcc"
3772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3773 break 2
3774 fi
3775 done
3776 done
3777 IFS=$as_save_IFS
3778
3779 fi
3780 fi
3781 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3782 if test -n "$ac_ct_CC"; then
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3784 $as_echo "$ac_ct_CC" >&6; }
3785 else
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3787 $as_echo "no" >&6; }
3788 fi
3789
3790 if test "x$ac_ct_CC" = x; then
3791 CC=""
3792 else
3793 case $cross_compiling:$ac_tool_warned in
3794 yes:)
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3797 ac_tool_warned=yes ;;
3798 esac
3799 CC=$ac_ct_CC
3800 fi
3801 else
3802 CC="$ac_cv_prog_CC"
3803 fi
3804
3805 if test -z "$CC"; then
3806 if test -n "$ac_tool_prefix"; then
3807 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3808 set dummy ${ac_tool_prefix}cc; ac_word=$2
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3810 $as_echo_n "checking for $ac_word... " >&6; }
3811 if ${ac_cv_prog_CC+:} false; then :
3812 $as_echo_n "(cached) " >&6
3813 else
3814 if test -n "$CC"; then
3815 ac_cv_prog_CC="$CC" # Let the user override the test.
3816 else
3817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3818 for as_dir in $PATH
3819 do
3820 IFS=$as_save_IFS
3821 test -z "$as_dir" && as_dir=.
3822 for ac_exec_ext in '' $ac_executable_extensions; do
3823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3824 ac_cv_prog_CC="${ac_tool_prefix}cc"
3825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3826 break 2
3827 fi
3828 done
3829 done
3830 IFS=$as_save_IFS
3831
3832 fi
3833 fi
3834 CC=$ac_cv_prog_CC
3835 if test -n "$CC"; then
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3837 $as_echo "$CC" >&6; }
3838 else
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3840 $as_echo "no" >&6; }
3841 fi
3842
3843
3844 fi
3845 fi
3846 if test -z "$CC"; then
3847 # Extract the first word of "cc", so it can be a program name with args.
3848 set dummy cc; ac_word=$2
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3850 $as_echo_n "checking for $ac_word... " >&6; }
3851 if ${ac_cv_prog_CC+:} false; then :
3852 $as_echo_n "(cached) " >&6
3853 else
3854 if test -n "$CC"; then
3855 ac_cv_prog_CC="$CC" # Let the user override the test.
3856 else
3857 ac_prog_rejected=no
3858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3859 for as_dir in $PATH
3860 do
3861 IFS=$as_save_IFS
3862 test -z "$as_dir" && as_dir=.
3863 for ac_exec_ext in '' $ac_executable_extensions; do
3864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3865 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3866 ac_prog_rejected=yes
3867 continue
3868 fi
3869 ac_cv_prog_CC="cc"
3870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3871 break 2
3872 fi
3873 done
3874 done
3875 IFS=$as_save_IFS
3876
3877 if test $ac_prog_rejected = yes; then
3878 # We found a bogon in the path, so make sure we never use it.
3879 set dummy $ac_cv_prog_CC
3880 shift
3881 if test $# != 0; then
3882 # We chose a different compiler from the bogus one.
3883 # However, it has the same basename, so the bogon will be chosen
3884 # first if we set CC to just the basename; use the full file name.
3885 shift
3886 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3887 fi
3888 fi
3889 fi
3890 fi
3891 CC=$ac_cv_prog_CC
3892 if test -n "$CC"; then
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3894 $as_echo "$CC" >&6; }
3895 else
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3897 $as_echo "no" >&6; }
3898 fi
3899
3900
3901 fi
3902 if test -z "$CC"; then
3903 if test -n "$ac_tool_prefix"; then
3904 for ac_prog in cl.exe
3905 do
3906 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3907 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3909 $as_echo_n "checking for $ac_word... " >&6; }
3910 if ${ac_cv_prog_CC+:} false; then :
3911 $as_echo_n "(cached) " >&6
3912 else
3913 if test -n "$CC"; then
3914 ac_cv_prog_CC="$CC" # Let the user override the test.
3915 else
3916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3917 for as_dir in $PATH
3918 do
3919 IFS=$as_save_IFS
3920 test -z "$as_dir" && as_dir=.
3921 for ac_exec_ext in '' $ac_executable_extensions; do
3922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3923 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3925 break 2
3926 fi
3927 done
3928 done
3929 IFS=$as_save_IFS
3930
3931 fi
3932 fi
3933 CC=$ac_cv_prog_CC
3934 if test -n "$CC"; then
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3936 $as_echo "$CC" >&6; }
3937 else
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3939 $as_echo "no" >&6; }
3940 fi
3941
3942
3943 test -n "$CC" && break
3944 done
3945 fi
3946 if test -z "$CC"; then
3947 ac_ct_CC=$CC
3948 for ac_prog in cl.exe
3949 do
3950 # Extract the first word of "$ac_prog", so it can be a program name with args.
3951 set dummy $ac_prog; ac_word=$2
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3953 $as_echo_n "checking for $ac_word... " >&6; }
3954 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3955 $as_echo_n "(cached) " >&6
3956 else
3957 if test -n "$ac_ct_CC"; then
3958 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3959 else
3960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3961 for as_dir in $PATH
3962 do
3963 IFS=$as_save_IFS
3964 test -z "$as_dir" && as_dir=.
3965 for ac_exec_ext in '' $ac_executable_extensions; do
3966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3967 ac_cv_prog_ac_ct_CC="$ac_prog"
3968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3969 break 2
3970 fi
3971 done
3972 done
3973 IFS=$as_save_IFS
3974
3975 fi
3976 fi
3977 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3978 if test -n "$ac_ct_CC"; then
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3980 $as_echo "$ac_ct_CC" >&6; }
3981 else
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3983 $as_echo "no" >&6; }
3984 fi
3985
3986
3987 test -n "$ac_ct_CC" && break
3988 done
3989
3990 if test "x$ac_ct_CC" = x; then
3991 CC=""
3992 else
3993 case $cross_compiling:$ac_tool_warned in
3994 yes:)
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3997 ac_tool_warned=yes ;;
3998 esac
3999 CC=$ac_ct_CC
4000 fi
4001 fi
4002
4003 fi
4004
4005
4006 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4008 as_fn_error $? "no acceptable C compiler found in \$PATH
4009 See \`config.log' for more details" "$LINENO" 5; }
4010
4011 # Provide some information about the compiler.
4012 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4013 set X $ac_compile
4014 ac_compiler=$2
4015 for ac_option in --version -v -V -qversion; do
4016 { { ac_try="$ac_compiler $ac_option >&5"
4017 case "(($ac_try" in
4018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4019 *) ac_try_echo=$ac_try;;
4020 esac
4021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4022 $as_echo "$ac_try_echo"; } >&5
4023 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4024 ac_status=$?
4025 if test -s conftest.err; then
4026 sed '10a\
4027 ... rest of stderr output deleted ...
4028 10q' conftest.err >conftest.er1
4029 cat conftest.er1 >&5
4030 fi
4031 rm -f conftest.er1 conftest.err
4032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4033 test $ac_status = 0; }
4034 done
4035
4036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */
4038
4039 int
4040 main ()
4041 {
4042
4043 ;
4044 return 0;
4045 }
4046 _ACEOF
4047 # FIXME: Cleanup?
4048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4049 (eval $ac_link) 2>&5
4050 ac_status=$?
4051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4052 test $ac_status = 0; }; then :
4053 gcc_no_link=no
4054 else
4055 gcc_no_link=yes
4056 fi
4057 if test x$gcc_no_link = xyes; then
4058 # Setting cross_compile will disable run tests; it will
4059 # also disable AC_CHECK_FILE but that's generally
4060 # correct if we can't link.
4061 cross_compiling=yes
4062 EXEEXT=
4063 else
4064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4065 /* end confdefs.h. */
4066
4067 int
4068 main ()
4069 {
4070
4071 ;
4072 return 0;
4073 }
4074 _ACEOF
4075 ac_clean_files_save=$ac_clean_files
4076 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4077 # Try to create an executable without -o first, disregard a.out.
4078 # It will help us diagnose broken compilers, and finding out an intuition
4079 # of exeext.
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4081 $as_echo_n "checking whether the C compiler works... " >&6; }
4082 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4083
4084 # The possible output files:
4085 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4086
4087 ac_rmfiles=
4088 for ac_file in $ac_files
4089 do
4090 case $ac_file in
4091 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4092 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4093 esac
4094 done
4095 rm -f $ac_rmfiles
4096
4097 if { { ac_try="$ac_link_default"
4098 case "(($ac_try" in
4099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4100 *) ac_try_echo=$ac_try;;
4101 esac
4102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4103 $as_echo "$ac_try_echo"; } >&5
4104 (eval "$ac_link_default") 2>&5
4105 ac_status=$?
4106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4107 test $ac_status = 0; }; then :
4108 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4109 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4110 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4111 # so that the user can short-circuit this test for compilers unknown to
4112 # Autoconf.
4113 for ac_file in $ac_files ''
4114 do
4115 test -f "$ac_file" || continue
4116 case $ac_file in
4117 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4118 ;;
4119 [ab].out )
4120 # We found the default executable, but exeext='' is most
4121 # certainly right.
4122 break;;
4123 *.* )
4124 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4125 then :; else
4126 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4127 fi
4128 # We set ac_cv_exeext here because the later test for it is not
4129 # safe: cross compilers may not add the suffix if given an `-o'
4130 # argument, so we may need to know it at that point already.
4131 # Even if this section looks crufty: it has the advantage of
4132 # actually working.
4133 break;;
4134 * )
4135 break;;
4136 esac
4137 done
4138 test "$ac_cv_exeext" = no && ac_cv_exeext=
4139
4140 else
4141 ac_file=''
4142 fi
4143 if test -z "$ac_file"; then :
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4145 $as_echo "no" >&6; }
4146 $as_echo "$as_me: failed program was:" >&5
4147 sed 's/^/| /' conftest.$ac_ext >&5
4148
4149 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4151 as_fn_error 77 "C compiler cannot create executables
4152 See \`config.log' for more details" "$LINENO" 5; }
4153 else
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4155 $as_echo "yes" >&6; }
4156 fi
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4158 $as_echo_n "checking for C compiler default output file name... " >&6; }
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4160 $as_echo "$ac_file" >&6; }
4161 ac_exeext=$ac_cv_exeext
4162
4163 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4164 ac_clean_files=$ac_clean_files_save
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4166 $as_echo_n "checking for suffix of executables... " >&6; }
4167 if { { ac_try="$ac_link"
4168 case "(($ac_try" in
4169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4170 *) ac_try_echo=$ac_try;;
4171 esac
4172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4173 $as_echo "$ac_try_echo"; } >&5
4174 (eval "$ac_link") 2>&5
4175 ac_status=$?
4176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4177 test $ac_status = 0; }; then :
4178 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4179 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4180 # work properly (i.e., refer to `conftest.exe'), while it won't with
4181 # `rm'.
4182 for ac_file in conftest.exe conftest conftest.*; do
4183 test -f "$ac_file" || continue
4184 case $ac_file in
4185 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4186 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4187 break;;
4188 * ) break;;
4189 esac
4190 done
4191 else
4192 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4194 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4195 See \`config.log' for more details" "$LINENO" 5; }
4196 fi
4197 rm -f conftest conftest$ac_cv_exeext
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4199 $as_echo "$ac_cv_exeext" >&6; }
4200
4201 rm -f conftest.$ac_ext
4202 EXEEXT=$ac_cv_exeext
4203 ac_exeext=$EXEEXT
4204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4205 /* end confdefs.h. */
4206 #include <stdio.h>
4207 int
4208 main ()
4209 {
4210 FILE *f = fopen ("conftest.out", "w");
4211 return ferror (f) || fclose (f) != 0;
4212
4213 ;
4214 return 0;
4215 }
4216 _ACEOF
4217 ac_clean_files="$ac_clean_files conftest.out"
4218 # Check that the compiler produces executables we can run. If not, either
4219 # the compiler is broken, or we cross compile.
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4221 $as_echo_n "checking whether we are cross compiling... " >&6; }
4222 if test "$cross_compiling" != yes; then
4223 { { ac_try="$ac_link"
4224 case "(($ac_try" in
4225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4226 *) ac_try_echo=$ac_try;;
4227 esac
4228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4229 $as_echo "$ac_try_echo"; } >&5
4230 (eval "$ac_link") 2>&5
4231 ac_status=$?
4232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4233 test $ac_status = 0; }
4234 if { ac_try='./conftest$ac_cv_exeext'
4235 { { case "(($ac_try" in
4236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4237 *) ac_try_echo=$ac_try;;
4238 esac
4239 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4240 $as_echo "$ac_try_echo"; } >&5
4241 (eval "$ac_try") 2>&5
4242 ac_status=$?
4243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4244 test $ac_status = 0; }; }; then
4245 cross_compiling=no
4246 else
4247 if test "$cross_compiling" = maybe; then
4248 cross_compiling=yes
4249 else
4250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4252 as_fn_error $? "cannot run C compiled programs.
4253 If you meant to cross compile, use \`--host'.
4254 See \`config.log' for more details" "$LINENO" 5; }
4255 fi
4256 fi
4257 fi
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4259 $as_echo "$cross_compiling" >&6; }
4260
4261 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4262 ac_clean_files=$ac_clean_files_save
4263 fi
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4265 $as_echo_n "checking for suffix of object files... " >&6; }
4266 if ${ac_cv_objext+:} false; then :
4267 $as_echo_n "(cached) " >&6
4268 else
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4271
4272 int
4273 main ()
4274 {
4275
4276 ;
4277 return 0;
4278 }
4279 _ACEOF
4280 rm -f conftest.o conftest.obj
4281 if { { ac_try="$ac_compile"
4282 case "(($ac_try" in
4283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4284 *) ac_try_echo=$ac_try;;
4285 esac
4286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4287 $as_echo "$ac_try_echo"; } >&5
4288 (eval "$ac_compile") 2>&5
4289 ac_status=$?
4290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4291 test $ac_status = 0; }; then :
4292 for ac_file in conftest.o conftest.obj conftest.*; do
4293 test -f "$ac_file" || continue;
4294 case $ac_file in
4295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4296 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4297 break;;
4298 esac
4299 done
4300 else
4301 $as_echo "$as_me: failed program was:" >&5
4302 sed 's/^/| /' conftest.$ac_ext >&5
4303
4304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4306 as_fn_error $? "cannot compute suffix of object files: cannot compile
4307 See \`config.log' for more details" "$LINENO" 5; }
4308 fi
4309 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4310 fi
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4312 $as_echo "$ac_cv_objext" >&6; }
4313 OBJEXT=$ac_cv_objext
4314 ac_objext=$OBJEXT
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4316 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4317 if ${ac_cv_c_compiler_gnu+:} false; then :
4318 $as_echo_n "(cached) " >&6
4319 else
4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4322
4323 int
4324 main ()
4325 {
4326 #ifndef __GNUC__
4327 choke me
4328 #endif
4329
4330 ;
4331 return 0;
4332 }
4333 _ACEOF
4334 if ac_fn_c_try_compile "$LINENO"; then :
4335 ac_compiler_gnu=yes
4336 else
4337 ac_compiler_gnu=no
4338 fi
4339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4340 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4341
4342 fi
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4344 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4345 if test $ac_compiler_gnu = yes; then
4346 GCC=yes
4347 else
4348 GCC=
4349 fi
4350 ac_test_CFLAGS=${CFLAGS+set}
4351 ac_save_CFLAGS=$CFLAGS
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4353 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4354 if ${ac_cv_prog_cc_g+:} false; then :
4355 $as_echo_n "(cached) " >&6
4356 else
4357 ac_save_c_werror_flag=$ac_c_werror_flag
4358 ac_c_werror_flag=yes
4359 ac_cv_prog_cc_g=no
4360 CFLAGS="-g"
4361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4362 /* end confdefs.h. */
4363
4364 int
4365 main ()
4366 {
4367
4368 ;
4369 return 0;
4370 }
4371 _ACEOF
4372 if ac_fn_c_try_compile "$LINENO"; then :
4373 ac_cv_prog_cc_g=yes
4374 else
4375 CFLAGS=""
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4378
4379 int
4380 main ()
4381 {
4382
4383 ;
4384 return 0;
4385 }
4386 _ACEOF
4387 if ac_fn_c_try_compile "$LINENO"; then :
4388
4389 else
4390 ac_c_werror_flag=$ac_save_c_werror_flag
4391 CFLAGS="-g"
4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4393 /* end confdefs.h. */
4394
4395 int
4396 main ()
4397 {
4398
4399 ;
4400 return 0;
4401 }
4402 _ACEOF
4403 if ac_fn_c_try_compile "$LINENO"; then :
4404 ac_cv_prog_cc_g=yes
4405 fi
4406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4407 fi
4408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4409 fi
4410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4411 ac_c_werror_flag=$ac_save_c_werror_flag
4412 fi
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4414 $as_echo "$ac_cv_prog_cc_g" >&6; }
4415 if test "$ac_test_CFLAGS" = set; then
4416 CFLAGS=$ac_save_CFLAGS
4417 elif test $ac_cv_prog_cc_g = yes; then
4418 if test "$GCC" = yes; then
4419 CFLAGS="-g -O2"
4420 else
4421 CFLAGS="-g"
4422 fi
4423 else
4424 if test "$GCC" = yes; then
4425 CFLAGS="-O2"
4426 else
4427 CFLAGS=
4428 fi
4429 fi
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4431 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4432 if ${ac_cv_prog_cc_c89+:} false; then :
4433 $as_echo_n "(cached) " >&6
4434 else
4435 ac_cv_prog_cc_c89=no
4436 ac_save_CC=$CC
4437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4438 /* end confdefs.h. */
4439 #include <stdarg.h>
4440 #include <stdio.h>
4441 struct stat;
4442 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4443 struct buf { int x; };
4444 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4445 static char *e (p, i)
4446 char **p;
4447 int i;
4448 {
4449 return p[i];
4450 }
4451 static char *f (char * (*g) (char **, int), char **p, ...)
4452 {
4453 char *s;
4454 va_list v;
4455 va_start (v,p);
4456 s = g (p, va_arg (v,int));
4457 va_end (v);
4458 return s;
4459 }
4460
4461 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4462 function prototypes and stuff, but not '\xHH' hex character constants.
4463 These don't provoke an error unfortunately, instead are silently treated
4464 as 'x'. The following induces an error, until -std is added to get
4465 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4466 array size at least. It's necessary to write '\x00'==0 to get something
4467 that's true only with -std. */
4468 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4469
4470 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4471 inside strings and character constants. */
4472 #define FOO(x) 'x'
4473 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4474
4475 int test (int i, double x);
4476 struct s1 {int (*f) (int a);};
4477 struct s2 {int (*f) (double a);};
4478 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4479 int argc;
4480 char **argv;
4481 int
4482 main ()
4483 {
4484 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4485 ;
4486 return 0;
4487 }
4488 _ACEOF
4489 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4490 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4491 do
4492 CC="$ac_save_CC $ac_arg"
4493 if ac_fn_c_try_compile "$LINENO"; then :
4494 ac_cv_prog_cc_c89=$ac_arg
4495 fi
4496 rm -f core conftest.err conftest.$ac_objext
4497 test "x$ac_cv_prog_cc_c89" != "xno" && break
4498 done
4499 rm -f conftest.$ac_ext
4500 CC=$ac_save_CC
4501
4502 fi
4503 # AC_CACHE_VAL
4504 case "x$ac_cv_prog_cc_c89" in
4505 x)
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4507 $as_echo "none needed" >&6; } ;;
4508 xno)
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4510 $as_echo "unsupported" >&6; } ;;
4511 *)
4512 CC="$CC $ac_cv_prog_cc_c89"
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4514 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4515 esac
4516 if test "x$ac_cv_prog_cc_c89" != xno; then :
4517
4518 fi
4519
4520 ac_ext=c
4521 ac_cpp='$CPP $CPPFLAGS'
4522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4525
4526 ac_ext=c
4527 ac_cpp='$CPP $CPPFLAGS'
4528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4532 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4533 if ${am_cv_prog_cc_c_o+:} false; then :
4534 $as_echo_n "(cached) " >&6
4535 else
4536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4537 /* end confdefs.h. */
4538
4539 int
4540 main ()
4541 {
4542
4543 ;
4544 return 0;
4545 }
4546 _ACEOF
4547 # Make sure it works both with $CC and with simple cc.
4548 # Following AC_PROG_CC_C_O, we do the test twice because some
4549 # compilers refuse to overwrite an existing .o file with -o,
4550 # though they will create one.
4551 am_cv_prog_cc_c_o=yes
4552 for am_i in 1 2; do
4553 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4554 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4555 ac_status=$?
4556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4557 (exit $ac_status); } \
4558 && test -f conftest2.$ac_objext; then
4559 : OK
4560 else
4561 am_cv_prog_cc_c_o=no
4562 break
4563 fi
4564 done
4565 rm -f core conftest*
4566 unset am_i
4567 fi
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4569 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4570 if test "$am_cv_prog_cc_c_o" != yes; then
4571 # Losing compiler, so override with the script.
4572 # FIXME: It is wrong to rewrite CC.
4573 # But if we don't then we get into trouble of one sort or another.
4574 # A longer-term fix would be to have automake use am__CC in this case,
4575 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4576 CC="$am_aux_dir/compile $CC"
4577 fi
4578 ac_ext=c
4579 ac_cpp='$CPP $CPPFLAGS'
4580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4583
4584
4585 depcc="$CC" am_compiler_list=
4586
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4588 $as_echo_n "checking dependency style of $depcc... " >&6; }
4589 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4590 $as_echo_n "(cached) " >&6
4591 else
4592 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4593 # We make a subdir and do the tests there. Otherwise we can end up
4594 # making bogus files that we don't know about and never remove. For
4595 # instance it was reported that on HP-UX the gcc test will end up
4596 # making a dummy file named 'D' -- because '-MD' means "put the output
4597 # in D".
4598 rm -rf conftest.dir
4599 mkdir conftest.dir
4600 # Copy depcomp to subdir because otherwise we won't find it if we're
4601 # using a relative directory.
4602 cp "$am_depcomp" conftest.dir
4603 cd conftest.dir
4604 # We will build objects and dependencies in a subdirectory because
4605 # it helps to detect inapplicable dependency modes. For instance
4606 # both Tru64's cc and ICC support -MD to output dependencies as a
4607 # side effect of compilation, but ICC will put the dependencies in
4608 # the current directory while Tru64 will put them in the object
4609 # directory.
4610 mkdir sub
4611
4612 am_cv_CC_dependencies_compiler_type=none
4613 if test "$am_compiler_list" = ""; then
4614 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4615 fi
4616 am__universal=false
4617 case " $depcc " in #(
4618 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4619 esac
4620
4621 for depmode in $am_compiler_list; do
4622 # Setup a source with many dependencies, because some compilers
4623 # like to wrap large dependency lists on column 80 (with \), and
4624 # we should not choose a depcomp mode which is confused by this.
4625 #
4626 # We need to recreate these files for each test, as the compiler may
4627 # overwrite some of them when testing with obscure command lines.
4628 # This happens at least with the AIX C compiler.
4629 : > sub/conftest.c
4630 for i in 1 2 3 4 5 6; do
4631 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4632 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4633 # Solaris 10 /bin/sh.
4634 echo '/* dummy */' > sub/conftst$i.h
4635 done
4636 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4637
4638 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4639 # mode. It turns out that the SunPro C++ compiler does not properly
4640 # handle '-M -o', and we need to detect this. Also, some Intel
4641 # versions had trouble with output in subdirs.
4642 am__obj=sub/conftest.${OBJEXT-o}
4643 am__minus_obj="-o $am__obj"
4644 case $depmode in
4645 gcc)
4646 # This depmode causes a compiler race in universal mode.
4647 test "$am__universal" = false || continue
4648 ;;
4649 nosideeffect)
4650 # After this tag, mechanisms are not by side-effect, so they'll
4651 # only be used when explicitly requested.
4652 if test "x$enable_dependency_tracking" = xyes; then
4653 continue
4654 else
4655 break
4656 fi
4657 ;;
4658 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4659 # This compiler won't grok '-c -o', but also, the minuso test has
4660 # not run yet. These depmodes are late enough in the game, and
4661 # so weak that their functioning should not be impacted.
4662 am__obj=conftest.${OBJEXT-o}
4663 am__minus_obj=
4664 ;;
4665 none) break ;;
4666 esac
4667 if depmode=$depmode \
4668 source=sub/conftest.c object=$am__obj \
4669 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4670 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4671 >/dev/null 2>conftest.err &&
4672 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4673 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4674 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4675 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4676 # icc doesn't choke on unknown options, it will just issue warnings
4677 # or remarks (even with -Werror). So we grep stderr for any message
4678 # that says an option was ignored or not supported.
4679 # When given -MP, icc 7.0 and 7.1 complain thusly:
4680 # icc: Command line warning: ignoring option '-M'; no argument required
4681 # The diagnosis changed in icc 8.0:
4682 # icc: Command line remark: option '-MP' not supported
4683 if (grep 'ignoring option' conftest.err ||
4684 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4685 am_cv_CC_dependencies_compiler_type=$depmode
4686 break
4687 fi
4688 fi
4689 done
4690
4691 cd ..
4692 rm -rf conftest.dir
4693 else
4694 am_cv_CC_dependencies_compiler_type=none
4695 fi
4696
4697 fi
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4699 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4700 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4701
4702 if
4703 test "x$enable_dependency_tracking" != xno \
4704 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4705 am__fastdepCC_TRUE=
4706 am__fastdepCC_FALSE='#'
4707 else
4708 am__fastdepCC_TRUE='#'
4709 am__fastdepCC_FALSE=
4710 fi
4711
4712
4713
4714 ac_ext=c
4715 ac_cpp='$CPP $CPPFLAGS'
4716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4720 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4721 # On Suns, sometimes $CPP names a directory.
4722 if test -n "$CPP" && test -d "$CPP"; then
4723 CPP=
4724 fi
4725 if test -z "$CPP"; then
4726 if ${ac_cv_prog_CPP+:} false; then :
4727 $as_echo_n "(cached) " >&6
4728 else
4729 # Double quotes because CPP needs to be expanded
4730 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4731 do
4732 ac_preproc_ok=false
4733 for ac_c_preproc_warn_flag in '' yes
4734 do
4735 # Use a header file that comes with gcc, so configuring glibc
4736 # with a fresh cross-compiler works.
4737 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4738 # <limits.h> exists even on freestanding compilers.
4739 # On the NeXT, cc -E runs the code through the compiler's parser,
4740 # not just through cpp. "Syntax error" is here to catch this case.
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4743 #ifdef __STDC__
4744 # include <limits.h>
4745 #else
4746 # include <assert.h>
4747 #endif
4748 Syntax error
4749 _ACEOF
4750 if ac_fn_c_try_cpp "$LINENO"; then :
4751
4752 else
4753 # Broken: fails on valid input.
4754 continue
4755 fi
4756 rm -f conftest.err conftest.i conftest.$ac_ext
4757
4758 # OK, works on sane cases. Now check whether nonexistent headers
4759 # can be detected and how.
4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4762 #include <ac_nonexistent.h>
4763 _ACEOF
4764 if ac_fn_c_try_cpp "$LINENO"; then :
4765 # Broken: success on invalid input.
4766 continue
4767 else
4768 # Passes both tests.
4769 ac_preproc_ok=:
4770 break
4771 fi
4772 rm -f conftest.err conftest.i conftest.$ac_ext
4773
4774 done
4775 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4776 rm -f conftest.i conftest.err conftest.$ac_ext
4777 if $ac_preproc_ok; then :
4778 break
4779 fi
4780
4781 done
4782 ac_cv_prog_CPP=$CPP
4783
4784 fi
4785 CPP=$ac_cv_prog_CPP
4786 else
4787 ac_cv_prog_CPP=$CPP
4788 fi
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4790 $as_echo "$CPP" >&6; }
4791 ac_preproc_ok=false
4792 for ac_c_preproc_warn_flag in '' yes
4793 do
4794 # Use a header file that comes with gcc, so configuring glibc
4795 # with a fresh cross-compiler works.
4796 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4797 # <limits.h> exists even on freestanding compilers.
4798 # On the NeXT, cc -E runs the code through the compiler's parser,
4799 # not just through cpp. "Syntax error" is here to catch this case.
4800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4802 #ifdef __STDC__
4803 # include <limits.h>
4804 #else
4805 # include <assert.h>
4806 #endif
4807 Syntax error
4808 _ACEOF
4809 if ac_fn_c_try_cpp "$LINENO"; then :
4810
4811 else
4812 # Broken: fails on valid input.
4813 continue
4814 fi
4815 rm -f conftest.err conftest.i conftest.$ac_ext
4816
4817 # OK, works on sane cases. Now check whether nonexistent headers
4818 # can be detected and how.
4819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4820 /* end confdefs.h. */
4821 #include <ac_nonexistent.h>
4822 _ACEOF
4823 if ac_fn_c_try_cpp "$LINENO"; then :
4824 # Broken: success on invalid input.
4825 continue
4826 else
4827 # Passes both tests.
4828 ac_preproc_ok=:
4829 break
4830 fi
4831 rm -f conftest.err conftest.i conftest.$ac_ext
4832
4833 done
4834 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4835 rm -f conftest.i conftest.err conftest.$ac_ext
4836 if $ac_preproc_ok; then :
4837
4838 else
4839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4841 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4842 See \`config.log' for more details" "$LINENO" 5; }
4843 fi
4844
4845 ac_ext=c
4846 ac_cpp='$CPP $CPPFLAGS'
4847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4850
4851
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4853 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4854 if ${ac_cv_path_GREP+:} false; then :
4855 $as_echo_n "(cached) " >&6
4856 else
4857 if test -z "$GREP"; then
4858 ac_path_GREP_found=false
4859 # Loop through the user's path and test for each of PROGNAME-LIST
4860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4861 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4862 do
4863 IFS=$as_save_IFS
4864 test -z "$as_dir" && as_dir=.
4865 for ac_prog in grep ggrep; do
4866 for ac_exec_ext in '' $ac_executable_extensions; do
4867 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4868 as_fn_executable_p "$ac_path_GREP" || continue
4869 # Check for GNU ac_path_GREP and select it if it is found.
4870 # Check for GNU $ac_path_GREP
4871 case `"$ac_path_GREP" --version 2>&1` in
4872 *GNU*)
4873 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4874 *)
4875 ac_count=0
4876 $as_echo_n 0123456789 >"conftest.in"
4877 while :
4878 do
4879 cat "conftest.in" "conftest.in" >"conftest.tmp"
4880 mv "conftest.tmp" "conftest.in"
4881 cp "conftest.in" "conftest.nl"
4882 $as_echo 'GREP' >> "conftest.nl"
4883 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4884 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4885 as_fn_arith $ac_count + 1 && ac_count=$as_val
4886 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4887 # Best one so far, save it but keep looking for a better one
4888 ac_cv_path_GREP="$ac_path_GREP"
4889 ac_path_GREP_max=$ac_count
4890 fi
4891 # 10*(2^10) chars as input seems more than enough
4892 test $ac_count -gt 10 && break
4893 done
4894 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4895 esac
4896
4897 $ac_path_GREP_found && break 3
4898 done
4899 done
4900 done
4901 IFS=$as_save_IFS
4902 if test -z "$ac_cv_path_GREP"; then
4903 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4904 fi
4905 else
4906 ac_cv_path_GREP=$GREP
4907 fi
4908
4909 fi
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4911 $as_echo "$ac_cv_path_GREP" >&6; }
4912 GREP="$ac_cv_path_GREP"
4913
4914
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4916 $as_echo_n "checking for egrep... " >&6; }
4917 if ${ac_cv_path_EGREP+:} false; then :
4918 $as_echo_n "(cached) " >&6
4919 else
4920 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4921 then ac_cv_path_EGREP="$GREP -E"
4922 else
4923 if test -z "$EGREP"; then
4924 ac_path_EGREP_found=false
4925 # Loop through the user's path and test for each of PROGNAME-LIST
4926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4927 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4928 do
4929 IFS=$as_save_IFS
4930 test -z "$as_dir" && as_dir=.
4931 for ac_prog in egrep; do
4932 for ac_exec_ext in '' $ac_executable_extensions; do
4933 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4934 as_fn_executable_p "$ac_path_EGREP" || continue
4935 # Check for GNU ac_path_EGREP and select it if it is found.
4936 # Check for GNU $ac_path_EGREP
4937 case `"$ac_path_EGREP" --version 2>&1` in
4938 *GNU*)
4939 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4940 *)
4941 ac_count=0
4942 $as_echo_n 0123456789 >"conftest.in"
4943 while :
4944 do
4945 cat "conftest.in" "conftest.in" >"conftest.tmp"
4946 mv "conftest.tmp" "conftest.in"
4947 cp "conftest.in" "conftest.nl"
4948 $as_echo 'EGREP' >> "conftest.nl"
4949 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4950 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4951 as_fn_arith $ac_count + 1 && ac_count=$as_val
4952 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4953 # Best one so far, save it but keep looking for a better one
4954 ac_cv_path_EGREP="$ac_path_EGREP"
4955 ac_path_EGREP_max=$ac_count
4956 fi
4957 # 10*(2^10) chars as input seems more than enough
4958 test $ac_count -gt 10 && break
4959 done
4960 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4961 esac
4962
4963 $ac_path_EGREP_found && break 3
4964 done
4965 done
4966 done
4967 IFS=$as_save_IFS
4968 if test -z "$ac_cv_path_EGREP"; then
4969 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4970 fi
4971 else
4972 ac_cv_path_EGREP=$EGREP
4973 fi
4974
4975 fi
4976 fi
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4978 $as_echo "$ac_cv_path_EGREP" >&6; }
4979 EGREP="$ac_cv_path_EGREP"
4980
4981
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4983 $as_echo_n "checking for ANSI C header files... " >&6; }
4984 if ${ac_cv_header_stdc+:} false; then :
4985 $as_echo_n "(cached) " >&6
4986 else
4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
4989 #include <stdlib.h>
4990 #include <stdarg.h>
4991 #include <string.h>
4992 #include <float.h>
4993
4994 int
4995 main ()
4996 {
4997
4998 ;
4999 return 0;
5000 }
5001 _ACEOF
5002 if ac_fn_c_try_compile "$LINENO"; then :
5003 ac_cv_header_stdc=yes
5004 else
5005 ac_cv_header_stdc=no
5006 fi
5007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5008
5009 if test $ac_cv_header_stdc = yes; then
5010 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5012 /* end confdefs.h. */
5013 #include <string.h>
5014
5015 _ACEOF
5016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5017 $EGREP "memchr" >/dev/null 2>&1; then :
5018
5019 else
5020 ac_cv_header_stdc=no
5021 fi
5022 rm -f conftest*
5023
5024 fi
5025
5026 if test $ac_cv_header_stdc = yes; then
5027 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h. */
5030 #include <stdlib.h>
5031
5032 _ACEOF
5033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5034 $EGREP "free" >/dev/null 2>&1; then :
5035
5036 else
5037 ac_cv_header_stdc=no
5038 fi
5039 rm -f conftest*
5040
5041 fi
5042
5043 if test $ac_cv_header_stdc = yes; then
5044 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5045 if test "$cross_compiling" = yes; then :
5046 :
5047 else
5048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5049 /* end confdefs.h. */
5050 #include <ctype.h>
5051 #include <stdlib.h>
5052 #if ((' ' & 0x0FF) == 0x020)
5053 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5054 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5055 #else
5056 # define ISLOWER(c) \
5057 (('a' <= (c) && (c) <= 'i') \
5058 || ('j' <= (c) && (c) <= 'r') \
5059 || ('s' <= (c) && (c) <= 'z'))
5060 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5061 #endif
5062
5063 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5064 int
5065 main ()
5066 {
5067 int i;
5068 for (i = 0; i < 256; i++)
5069 if (XOR (islower (i), ISLOWER (i))
5070 || toupper (i) != TOUPPER (i))
5071 return 2;
5072 return 0;
5073 }
5074 _ACEOF
5075 if ac_fn_c_try_run "$LINENO"; then :
5076
5077 else
5078 ac_cv_header_stdc=no
5079 fi
5080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5081 conftest.$ac_objext conftest.beam conftest.$ac_ext
5082 fi
5083
5084 fi
5085 fi
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5087 $as_echo "$ac_cv_header_stdc" >&6; }
5088 if test $ac_cv_header_stdc = yes; then
5089
5090 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5091
5092 fi
5093
5094 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5095 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5096 inttypes.h stdint.h unistd.h
5097 do :
5098 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5099 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5100 "
5101 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5102 cat >>confdefs.h <<_ACEOF
5103 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5104 _ACEOF
5105
5106 fi
5107
5108 done
5109
5110
5111
5112 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5113 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5114 MINIX=yes
5115 else
5116 MINIX=
5117 fi
5118
5119
5120 if test "$MINIX" = yes; then
5121
5122 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5123
5124
5125 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5126
5127
5128 $as_echo "#define _MINIX 1" >>confdefs.h
5129
5130 fi
5131
5132
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5134 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5135 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5136 $as_echo_n "(cached) " >&6
5137 else
5138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5139 /* end confdefs.h. */
5140
5141 # define __EXTENSIONS__ 1
5142 $ac_includes_default
5143 int
5144 main ()
5145 {
5146
5147 ;
5148 return 0;
5149 }
5150 _ACEOF
5151 if ac_fn_c_try_compile "$LINENO"; then :
5152 ac_cv_safe_to_define___extensions__=yes
5153 else
5154 ac_cv_safe_to_define___extensions__=no
5155 fi
5156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5157 fi
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5159 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5160 test $ac_cv_safe_to_define___extensions__ = yes &&
5161 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5162
5163 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5164
5165 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5166
5167 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5168
5169 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5170
5171
5172
5173 # Calculate toolexeclibdir
5174 # Also toolexecdir, though it's only used in toolexeclibdir
5175 case ${version_specific_libs} in
5176 yes)
5177 # Need the gcc compiler version to know where to install libraries
5178 # and header files if --enable-version-specific-runtime-libs option
5179 # is selected.
5180 toolexecdir='$(libdir)/gcc/$(target_alias)'
5181 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5182 ;;
5183 no)
5184 if test -n "$with_cross_host" &&
5185 test x"$with_cross_host" != x"no"; then
5186 # Install a library built with a cross compiler in tooldir, not libdir.
5187 toolexecdir='$(exec_prefix)/$(target_alias)'
5188 toolexeclibdir='$(toolexecdir)/lib'
5189 else
5190 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
5191 toolexeclibdir='$(libdir)'
5192 fi
5193 multi_os_directory=`$CC -print-multi-os-directory`
5194 case $multi_os_directory in
5195 .) ;; # Avoid trailing /.
5196 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
5197 esac
5198 ;;
5199 esac
5200
5201
5202
5203 # Create a spec file, so that compile/link tests don't fail
5204 test -f libgfortran.spec || touch libgfortran.spec
5205
5206 ac_ext=c
5207 ac_cpp='$CPP $CPPFLAGS'
5208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5211
5212 # Check the compiler.
5213 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5214 # We must force CC to /not/ be precious variables; otherwise
5215 # the wrong, non-multilib-adjusted value will be used in multilibs.
5216 # As a side effect, we have to subst CFLAGS ourselves.
5217
5218
5219
5220 ac_ext=c
5221 ac_cpp='$CPP $CPPFLAGS'
5222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5225 if test -n "$ac_tool_prefix"; then
5226 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5227 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5229 $as_echo_n "checking for $ac_word... " >&6; }
5230 if ${ac_cv_prog_CC+:} false; then :
5231 $as_echo_n "(cached) " >&6
5232 else
5233 if test -n "$CC"; then
5234 ac_cv_prog_CC="$CC" # Let the user override the test.
5235 else
5236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5237 for as_dir in $PATH
5238 do
5239 IFS=$as_save_IFS
5240 test -z "$as_dir" && as_dir=.
5241 for ac_exec_ext in '' $ac_executable_extensions; do
5242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5243 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5245 break 2
5246 fi
5247 done
5248 done
5249 IFS=$as_save_IFS
5250
5251 fi
5252 fi
5253 CC=$ac_cv_prog_CC
5254 if test -n "$CC"; then
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5256 $as_echo "$CC" >&6; }
5257 else
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259 $as_echo "no" >&6; }
5260 fi
5261
5262
5263 fi
5264 if test -z "$ac_cv_prog_CC"; then
5265 ac_ct_CC=$CC
5266 # Extract the first word of "gcc", so it can be a program name with args.
5267 set dummy gcc; ac_word=$2
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5269 $as_echo_n "checking for $ac_word... " >&6; }
5270 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5271 $as_echo_n "(cached) " >&6
5272 else
5273 if test -n "$ac_ct_CC"; then
5274 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5275 else
5276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5277 for as_dir in $PATH
5278 do
5279 IFS=$as_save_IFS
5280 test -z "$as_dir" && as_dir=.
5281 for ac_exec_ext in '' $ac_executable_extensions; do
5282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5283 ac_cv_prog_ac_ct_CC="gcc"
5284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5285 break 2
5286 fi
5287 done
5288 done
5289 IFS=$as_save_IFS
5290
5291 fi
5292 fi
5293 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5294 if test -n "$ac_ct_CC"; then
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5296 $as_echo "$ac_ct_CC" >&6; }
5297 else
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5299 $as_echo "no" >&6; }
5300 fi
5301
5302 if test "x$ac_ct_CC" = x; then
5303 CC=""
5304 else
5305 case $cross_compiling:$ac_tool_warned in
5306 yes:)
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5309 ac_tool_warned=yes ;;
5310 esac
5311 CC=$ac_ct_CC
5312 fi
5313 else
5314 CC="$ac_cv_prog_CC"
5315 fi
5316
5317 if test -z "$CC"; then
5318 if test -n "$ac_tool_prefix"; then
5319 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5320 set dummy ${ac_tool_prefix}cc; ac_word=$2
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5322 $as_echo_n "checking for $ac_word... " >&6; }
5323 if ${ac_cv_prog_CC+:} false; then :
5324 $as_echo_n "(cached) " >&6
5325 else
5326 if test -n "$CC"; then
5327 ac_cv_prog_CC="$CC" # Let the user override the test.
5328 else
5329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5330 for as_dir in $PATH
5331 do
5332 IFS=$as_save_IFS
5333 test -z "$as_dir" && as_dir=.
5334 for ac_exec_ext in '' $ac_executable_extensions; do
5335 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5336 ac_cv_prog_CC="${ac_tool_prefix}cc"
5337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5338 break 2
5339 fi
5340 done
5341 done
5342 IFS=$as_save_IFS
5343
5344 fi
5345 fi
5346 CC=$ac_cv_prog_CC
5347 if test -n "$CC"; then
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5349 $as_echo "$CC" >&6; }
5350 else
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5352 $as_echo "no" >&6; }
5353 fi
5354
5355
5356 fi
5357 fi
5358 if test -z "$CC"; then
5359 # Extract the first word of "cc", so it can be a program name with args.
5360 set dummy cc; ac_word=$2
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5362 $as_echo_n "checking for $ac_word... " >&6; }
5363 if ${ac_cv_prog_CC+:} false; then :
5364 $as_echo_n "(cached) " >&6
5365 else
5366 if test -n "$CC"; then
5367 ac_cv_prog_CC="$CC" # Let the user override the test.
5368 else
5369 ac_prog_rejected=no
5370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5371 for as_dir in $PATH
5372 do
5373 IFS=$as_save_IFS
5374 test -z "$as_dir" && as_dir=.
5375 for ac_exec_ext in '' $ac_executable_extensions; do
5376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5377 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5378 ac_prog_rejected=yes
5379 continue
5380 fi
5381 ac_cv_prog_CC="cc"
5382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5383 break 2
5384 fi
5385 done
5386 done
5387 IFS=$as_save_IFS
5388
5389 if test $ac_prog_rejected = yes; then
5390 # We found a bogon in the path, so make sure we never use it.
5391 set dummy $ac_cv_prog_CC
5392 shift
5393 if test $# != 0; then
5394 # We chose a different compiler from the bogus one.
5395 # However, it has the same basename, so the bogon will be chosen
5396 # first if we set CC to just the basename; use the full file name.
5397 shift
5398 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5399 fi
5400 fi
5401 fi
5402 fi
5403 CC=$ac_cv_prog_CC
5404 if test -n "$CC"; then
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5406 $as_echo "$CC" >&6; }
5407 else
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5409 $as_echo "no" >&6; }
5410 fi
5411
5412
5413 fi
5414 if test -z "$CC"; then
5415 if test -n "$ac_tool_prefix"; then
5416 for ac_prog in cl.exe
5417 do
5418 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5419 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; }
5422 if ${ac_cv_prog_CC+:} false; then :
5423 $as_echo_n "(cached) " >&6
5424 else
5425 if test -n "$CC"; then
5426 ac_cv_prog_CC="$CC" # Let the user override the test.
5427 else
5428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5429 for as_dir in $PATH
5430 do
5431 IFS=$as_save_IFS
5432 test -z "$as_dir" && as_dir=.
5433 for ac_exec_ext in '' $ac_executable_extensions; do
5434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5435 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 break 2
5438 fi
5439 done
5440 done
5441 IFS=$as_save_IFS
5442
5443 fi
5444 fi
5445 CC=$ac_cv_prog_CC
5446 if test -n "$CC"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5448 $as_echo "$CC" >&6; }
5449 else
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5452 fi
5453
5454
5455 test -n "$CC" && break
5456 done
5457 fi
5458 if test -z "$CC"; then
5459 ac_ct_CC=$CC
5460 for ac_prog in cl.exe
5461 do
5462 # Extract the first word of "$ac_prog", so it can be a program name with args.
5463 set dummy $ac_prog; ac_word=$2
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5465 $as_echo_n "checking for $ac_word... " >&6; }
5466 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5467 $as_echo_n "(cached) " >&6
5468 else
5469 if test -n "$ac_ct_CC"; then
5470 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5471 else
5472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5473 for as_dir in $PATH
5474 do
5475 IFS=$as_save_IFS
5476 test -z "$as_dir" && as_dir=.
5477 for ac_exec_ext in '' $ac_executable_extensions; do
5478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5479 ac_cv_prog_ac_ct_CC="$ac_prog"
5480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5481 break 2
5482 fi
5483 done
5484 done
5485 IFS=$as_save_IFS
5486
5487 fi
5488 fi
5489 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5490 if test -n "$ac_ct_CC"; then
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5492 $as_echo "$ac_ct_CC" >&6; }
5493 else
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5495 $as_echo "no" >&6; }
5496 fi
5497
5498
5499 test -n "$ac_ct_CC" && break
5500 done
5501
5502 if test "x$ac_ct_CC" = x; then
5503 CC=""
5504 else
5505 case $cross_compiling:$ac_tool_warned in
5506 yes:)
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5509 ac_tool_warned=yes ;;
5510 esac
5511 CC=$ac_ct_CC
5512 fi
5513 fi
5514
5515 fi
5516
5517
5518 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5520 as_fn_error $? "no acceptable C compiler found in \$PATH
5521 See \`config.log' for more details" "$LINENO" 5; }
5522
5523 # Provide some information about the compiler.
5524 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5525 set X $ac_compile
5526 ac_compiler=$2
5527 for ac_option in --version -v -V -qversion; do
5528 { { ac_try="$ac_compiler $ac_option >&5"
5529 case "(($ac_try" in
5530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5531 *) ac_try_echo=$ac_try;;
5532 esac
5533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5534 $as_echo "$ac_try_echo"; } >&5
5535 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5536 ac_status=$?
5537 if test -s conftest.err; then
5538 sed '10a\
5539 ... rest of stderr output deleted ...
5540 10q' conftest.err >conftest.er1
5541 cat conftest.er1 >&5
5542 fi
5543 rm -f conftest.er1 conftest.err
5544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5545 test $ac_status = 0; }
5546 done
5547
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5549 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5550 if ${ac_cv_c_compiler_gnu+:} false; then :
5551 $as_echo_n "(cached) " >&6
5552 else
5553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5555
5556 int
5557 main ()
5558 {
5559 #ifndef __GNUC__
5560 choke me
5561 #endif
5562
5563 ;
5564 return 0;
5565 }
5566 _ACEOF
5567 if ac_fn_c_try_compile "$LINENO"; then :
5568 ac_compiler_gnu=yes
5569 else
5570 ac_compiler_gnu=no
5571 fi
5572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5573 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5574
5575 fi
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5577 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5578 if test $ac_compiler_gnu = yes; then
5579 GCC=yes
5580 else
5581 GCC=
5582 fi
5583 ac_test_CFLAGS=${CFLAGS+set}
5584 ac_save_CFLAGS=$CFLAGS
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5586 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5587 if ${ac_cv_prog_cc_g+:} false; then :
5588 $as_echo_n "(cached) " >&6
5589 else
5590 ac_save_c_werror_flag=$ac_c_werror_flag
5591 ac_c_werror_flag=yes
5592 ac_cv_prog_cc_g=no
5593 CFLAGS="-g"
5594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5595 /* end confdefs.h. */
5596
5597 int
5598 main ()
5599 {
5600
5601 ;
5602 return 0;
5603 }
5604 _ACEOF
5605 if ac_fn_c_try_compile "$LINENO"; then :
5606 ac_cv_prog_cc_g=yes
5607 else
5608 CFLAGS=""
5609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5610 /* end confdefs.h. */
5611
5612 int
5613 main ()
5614 {
5615
5616 ;
5617 return 0;
5618 }
5619 _ACEOF
5620 if ac_fn_c_try_compile "$LINENO"; then :
5621
5622 else
5623 ac_c_werror_flag=$ac_save_c_werror_flag
5624 CFLAGS="-g"
5625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5626 /* end confdefs.h. */
5627
5628 int
5629 main ()
5630 {
5631
5632 ;
5633 return 0;
5634 }
5635 _ACEOF
5636 if ac_fn_c_try_compile "$LINENO"; then :
5637 ac_cv_prog_cc_g=yes
5638 fi
5639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5640 fi
5641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5642 fi
5643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5644 ac_c_werror_flag=$ac_save_c_werror_flag
5645 fi
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5647 $as_echo "$ac_cv_prog_cc_g" >&6; }
5648 if test "$ac_test_CFLAGS" = set; then
5649 CFLAGS=$ac_save_CFLAGS
5650 elif test $ac_cv_prog_cc_g = yes; then
5651 if test "$GCC" = yes; then
5652 CFLAGS="-g -O2"
5653 else
5654 CFLAGS="-g"
5655 fi
5656 else
5657 if test "$GCC" = yes; then
5658 CFLAGS="-O2"
5659 else
5660 CFLAGS=
5661 fi
5662 fi
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5664 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5665 if ${ac_cv_prog_cc_c89+:} false; then :
5666 $as_echo_n "(cached) " >&6
5667 else
5668 ac_cv_prog_cc_c89=no
5669 ac_save_CC=$CC
5670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5671 /* end confdefs.h. */
5672 #include <stdarg.h>
5673 #include <stdio.h>
5674 struct stat;
5675 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5676 struct buf { int x; };
5677 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5678 static char *e (p, i)
5679 char **p;
5680 int i;
5681 {
5682 return p[i];
5683 }
5684 static char *f (char * (*g) (char **, int), char **p, ...)
5685 {
5686 char *s;
5687 va_list v;
5688 va_start (v,p);
5689 s = g (p, va_arg (v,int));
5690 va_end (v);
5691 return s;
5692 }
5693
5694 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5695 function prototypes and stuff, but not '\xHH' hex character constants.
5696 These don't provoke an error unfortunately, instead are silently treated
5697 as 'x'. The following induces an error, until -std is added to get
5698 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5699 array size at least. It's necessary to write '\x00'==0 to get something
5700 that's true only with -std. */
5701 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5702
5703 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5704 inside strings and character constants. */
5705 #define FOO(x) 'x'
5706 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5707
5708 int test (int i, double x);
5709 struct s1 {int (*f) (int a);};
5710 struct s2 {int (*f) (double a);};
5711 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5712 int argc;
5713 char **argv;
5714 int
5715 main ()
5716 {
5717 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5718 ;
5719 return 0;
5720 }
5721 _ACEOF
5722 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5723 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5724 do
5725 CC="$ac_save_CC $ac_arg"
5726 if ac_fn_c_try_compile "$LINENO"; then :
5727 ac_cv_prog_cc_c89=$ac_arg
5728 fi
5729 rm -f core conftest.err conftest.$ac_objext
5730 test "x$ac_cv_prog_cc_c89" != "xno" && break
5731 done
5732 rm -f conftest.$ac_ext
5733 CC=$ac_save_CC
5734
5735 fi
5736 # AC_CACHE_VAL
5737 case "x$ac_cv_prog_cc_c89" in
5738 x)
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5740 $as_echo "none needed" >&6; } ;;
5741 xno)
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5743 $as_echo "unsupported" >&6; } ;;
5744 *)
5745 CC="$CC $ac_cv_prog_cc_c89"
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5747 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5748 esac
5749 if test "x$ac_cv_prog_cc_c89" != xno; then :
5750
5751 fi
5752
5753 ac_ext=c
5754 ac_cpp='$CPP $CPPFLAGS'
5755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5758
5759 ac_ext=c
5760 ac_cpp='$CPP $CPPFLAGS'
5761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5765 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5766 if ${am_cv_prog_cc_c_o+:} false; then :
5767 $as_echo_n "(cached) " >&6
5768 else
5769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5770 /* end confdefs.h. */
5771
5772 int
5773 main ()
5774 {
5775
5776 ;
5777 return 0;
5778 }
5779 _ACEOF
5780 # Make sure it works both with $CC and with simple cc.
5781 # Following AC_PROG_CC_C_O, we do the test twice because some
5782 # compilers refuse to overwrite an existing .o file with -o,
5783 # though they will create one.
5784 am_cv_prog_cc_c_o=yes
5785 for am_i in 1 2; do
5786 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5787 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5788 ac_status=$?
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); } \
5791 && test -f conftest2.$ac_objext; then
5792 : OK
5793 else
5794 am_cv_prog_cc_c_o=no
5795 break
5796 fi
5797 done
5798 rm -f core conftest*
5799 unset am_i
5800 fi
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5802 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5803 if test "$am_cv_prog_cc_c_o" != yes; then
5804 # Losing compiler, so override with the script.
5805 # FIXME: It is wrong to rewrite CC.
5806 # But if we don't then we get into trouble of one sort or another.
5807 # A longer-term fix would be to have automake use am__CC in this case,
5808 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5809 CC="$am_aux_dir/compile $CC"
5810 fi
5811 ac_ext=c
5812 ac_cpp='$CPP $CPPFLAGS'
5813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5816
5817
5818 depcc="$CC" am_compiler_list=
5819
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5821 $as_echo_n "checking dependency style of $depcc... " >&6; }
5822 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5823 $as_echo_n "(cached) " >&6
5824 else
5825 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5826 # We make a subdir and do the tests there. Otherwise we can end up
5827 # making bogus files that we don't know about and never remove. For
5828 # instance it was reported that on HP-UX the gcc test will end up
5829 # making a dummy file named 'D' -- because '-MD' means "put the output
5830 # in D".
5831 rm -rf conftest.dir
5832 mkdir conftest.dir
5833 # Copy depcomp to subdir because otherwise we won't find it if we're
5834 # using a relative directory.
5835 cp "$am_depcomp" conftest.dir
5836 cd conftest.dir
5837 # We will build objects and dependencies in a subdirectory because
5838 # it helps to detect inapplicable dependency modes. For instance
5839 # both Tru64's cc and ICC support -MD to output dependencies as a
5840 # side effect of compilation, but ICC will put the dependencies in
5841 # the current directory while Tru64 will put them in the object
5842 # directory.
5843 mkdir sub
5844
5845 am_cv_CC_dependencies_compiler_type=none
5846 if test "$am_compiler_list" = ""; then
5847 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5848 fi
5849 am__universal=false
5850 case " $depcc " in #(
5851 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5852 esac
5853
5854 for depmode in $am_compiler_list; do
5855 # Setup a source with many dependencies, because some compilers
5856 # like to wrap large dependency lists on column 80 (with \), and
5857 # we should not choose a depcomp mode which is confused by this.
5858 #
5859 # We need to recreate these files for each test, as the compiler may
5860 # overwrite some of them when testing with obscure command lines.
5861 # This happens at least with the AIX C compiler.
5862 : > sub/conftest.c
5863 for i in 1 2 3 4 5 6; do
5864 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5865 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5866 # Solaris 10 /bin/sh.
5867 echo '/* dummy */' > sub/conftst$i.h
5868 done
5869 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5870
5871 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5872 # mode. It turns out that the SunPro C++ compiler does not properly
5873 # handle '-M -o', and we need to detect this. Also, some Intel
5874 # versions had trouble with output in subdirs.
5875 am__obj=sub/conftest.${OBJEXT-o}
5876 am__minus_obj="-o $am__obj"
5877 case $depmode in
5878 gcc)
5879 # This depmode causes a compiler race in universal mode.
5880 test "$am__universal" = false || continue
5881 ;;
5882 nosideeffect)
5883 # After this tag, mechanisms are not by side-effect, so they'll
5884 # only be used when explicitly requested.
5885 if test "x$enable_dependency_tracking" = xyes; then
5886 continue
5887 else
5888 break
5889 fi
5890 ;;
5891 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5892 # This compiler won't grok '-c -o', but also, the minuso test has
5893 # not run yet. These depmodes are late enough in the game, and
5894 # so weak that their functioning should not be impacted.
5895 am__obj=conftest.${OBJEXT-o}
5896 am__minus_obj=
5897 ;;
5898 none) break ;;
5899 esac
5900 if depmode=$depmode \
5901 source=sub/conftest.c object=$am__obj \
5902 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5903 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5904 >/dev/null 2>conftest.err &&
5905 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5906 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5907 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5908 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5909 # icc doesn't choke on unknown options, it will just issue warnings
5910 # or remarks (even with -Werror). So we grep stderr for any message
5911 # that says an option was ignored or not supported.
5912 # When given -MP, icc 7.0 and 7.1 complain thusly:
5913 # icc: Command line warning: ignoring option '-M'; no argument required
5914 # The diagnosis changed in icc 8.0:
5915 # icc: Command line remark: option '-MP' not supported
5916 if (grep 'ignoring option' conftest.err ||
5917 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5918 am_cv_CC_dependencies_compiler_type=$depmode
5919 break
5920 fi
5921 fi
5922 done
5923
5924 cd ..
5925 rm -rf conftest.dir
5926 else
5927 am_cv_CC_dependencies_compiler_type=none
5928 fi
5929
5930 fi
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5932 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5933 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5934
5935 if
5936 test "x$enable_dependency_tracking" != xno \
5937 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5938 am__fastdepCC_TRUE=
5939 am__fastdepCC_FALSE='#'
5940 else
5941 am__fastdepCC_TRUE='#'
5942 am__fastdepCC_FALSE=
5943 fi
5944
5945
5946
5947
5948
5949
5950
5951
5952 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5953 if test "x$GCC" = "xyes"; then
5954 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5955 ## We like to use C11 and C99 routines when available. This makes
5956 ## sure that
5957 ## __STDC_VERSION__ is set such that libc includes make them available.
5958 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5959 ## Compile the following tests with the same system header contents
5960 ## that we'll encounter when compiling our own source files.
5961 CFLAGS="-std=gnu11 $CFLAGS"
5962 fi
5963
5964 # Add CET specific flags if CET is enabled
5965 # Check whether --enable-cet was given.
5966 if test "${enable_cet+set}" = set; then :
5967 enableval=$enable_cet;
5968 case "$enableval" in
5969 yes|no|auto) ;;
5970 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
5971 esac
5972
5973 else
5974 enable_cet=no
5975 fi
5976
5977
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
5979 $as_echo_n "checking for CET support... " >&6; }
5980
5981 case "$host" in
5982 i[34567]86-*-linux* | x86_64-*-linux*)
5983 case "$enable_cet" in
5984 auto)
5985 # Check if target supports multi-byte NOPs
5986 # and if assembler supports CET insn.
5987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5988 /* end confdefs.h. */
5989
5990 int
5991 main ()
5992 {
5993
5994 #if !defined(__SSE2__)
5995 #error target does not support multi-byte NOPs
5996 #else
5997 asm ("setssbsy");
5998 #endif
5999
6000 ;
6001 return 0;
6002 }
6003 _ACEOF
6004 if ac_fn_c_try_compile "$LINENO"; then :
6005 enable_cet=yes
6006 else
6007 enable_cet=no
6008 fi
6009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6010 ;;
6011 yes)
6012 # Check if assembler supports CET.
6013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6014 /* end confdefs.h. */
6015
6016 int
6017 main ()
6018 {
6019 asm ("setssbsy");
6020 ;
6021 return 0;
6022 }
6023 _ACEOF
6024 if ac_fn_c_try_compile "$LINENO"; then :
6025
6026 else
6027 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
6028 fi
6029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6030 ;;
6031 esac
6032 ;;
6033 *)
6034 enable_cet=no
6035 ;;
6036 esac
6037 if test x$enable_cet = xyes; then
6038 CET_FLAGS="-fcf-protection -mshstk"
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6040 $as_echo "yes" >&6; }
6041 else
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6043 $as_echo "no" >&6; }
6044 fi
6045
6046 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
6047 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
6048 CFLAGS="$CFLAGS $CET_FLAGS"
6049
6050
6051
6052
6053
6054 # Check for symbol versioning (copied from libssp).
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
6056 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
6057 # Check whether --enable-symvers was given.
6058 if test "${enable_symvers+set}" = set; then :
6059 enableval=$enable_symvers; gfortran_use_symver=$enableval
6060 else
6061 gfortran_use_symver=yes
6062 fi
6063
6064 if test "x$gfortran_use_symver" != xno; then
6065 save_LDFLAGS="$LDFLAGS"
6066 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
6067 cat > conftest.map <<EOF
6068 FOO_1.0 {
6069 global: *foo*; bar; local: *;
6070 };
6071 EOF
6072 if test x$gcc_no_link = xyes; then
6073 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6074 fi
6075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6076 /* end confdefs.h. */
6077 int foo;
6078 int
6079 main ()
6080 {
6081
6082 ;
6083 return 0;
6084 }
6085 _ACEOF
6086 if ac_fn_c_try_link "$LINENO"; then :
6087 gfortran_use_symver=gnu
6088 else
6089 gfortran_use_symver=no
6090 fi
6091 rm -f core conftest.err conftest.$ac_objext \
6092 conftest$ac_exeext conftest.$ac_ext
6093 if test x$gfortran_use_symver = xno; then
6094 case "$target_os" in
6095 solaris2*)
6096 LDFLAGS="$save_LDFLAGS"
6097 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
6098 # Sun ld cannot handle wildcards and treats all entries as undefined.
6099 cat > conftest.map <<EOF
6100 FOO_1.0 {
6101 global: foo; local: *;
6102 };
6103 EOF
6104 if test x$gcc_no_link = xyes; then
6105 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6106 fi
6107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6108 /* end confdefs.h. */
6109 int foo;
6110 int
6111 main ()
6112 {
6113
6114 ;
6115 return 0;
6116 }
6117 _ACEOF
6118 if ac_fn_c_try_link "$LINENO"; then :
6119 gfortran_use_symver=sun
6120 else
6121 gfortran_use_symver=no
6122 fi
6123 rm -f core conftest.err conftest.$ac_objext \
6124 conftest$ac_exeext conftest.$ac_ext
6125 ;;
6126 esac
6127 fi
6128 LDFLAGS="$save_LDFLAGS"
6129 fi
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
6131 $as_echo "$gfortran_use_symver" >&6; }
6132 if test "x$gfortran_use_symver" != xno; then
6133 LIBGFOR_USE_SYMVER_TRUE=
6134 LIBGFOR_USE_SYMVER_FALSE='#'
6135 else
6136 LIBGFOR_USE_SYMVER_TRUE='#'
6137 LIBGFOR_USE_SYMVER_FALSE=
6138 fi
6139
6140 if test "x$gfortran_use_symver" = xgnu; then
6141 LIBGFOR_USE_SYMVER_GNU_TRUE=
6142 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
6143 else
6144 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
6145 LIBGFOR_USE_SYMVER_GNU_FALSE=
6146 fi
6147
6148 if test "x$gfortran_use_symver" = xsun; then
6149 LIBGFOR_USE_SYMVER_SUN_TRUE=
6150 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
6151 else
6152 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
6153 LIBGFOR_USE_SYMVER_SUN_FALSE=
6154 fi
6155
6156
6157 # For GPU offloading, not everything in libfortran can be supported.
6158 # Currently, the only target that has this problem is nvptx. The
6159 # following is a (partial) list of features that are unsupportable on
6160 # this particular target:
6161 # * Constructors
6162 # * alloca
6163 # * C library support for I/O, with printf as the one notable exception
6164 # * C library support for other features such as signal, environment
6165 # variables, time functions
6166
6167 if test "x${target_cpu}" = xnvptx; then
6168 LIBGFOR_MINIMAL_TRUE=
6169 LIBGFOR_MINIMAL_FALSE='#'
6170 else
6171 LIBGFOR_MINIMAL_TRUE='#'
6172 LIBGFOR_MINIMAL_FALSE=
6173 fi
6174
6175
6176 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6177 # similarly to how libstdc++ does it
6178 ac_test_CFLAGS="${CFLAGS+set}"
6179 ac_save_CFLAGS="$CFLAGS"
6180
6181 # Check for -ffunction-sections -fdata-sections
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6183 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6184 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6186 /* end confdefs.h. */
6187
6188 int
6189 main ()
6190 {
6191 int foo;
6192 ;
6193 return 0;
6194 }
6195 _ACEOF
6196 if ac_fn_c_try_compile "$LINENO"; then :
6197 ac_fdsections=yes
6198 else
6199 ac_fdsections=no
6200 fi
6201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6202 if test "$ac_test_CFLAGS" = set; then
6203 CFLAGS="$ac_save_CFLAGS"
6204 else
6205 # this is the suspicious part
6206 CFLAGS=""
6207 fi
6208 if test x"$ac_fdsections" = x"yes"; then
6209 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6210 fi
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6212 $as_echo "$ac_fdsections" >&6; }
6213
6214
6215 # Check linker hardware capability support.
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6217 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6218 if ${ac_cv_path_SED+:} false; then :
6219 $as_echo_n "(cached) " >&6
6220 else
6221 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6222 for ac_i in 1 2 3 4 5 6 7; do
6223 ac_script="$ac_script$as_nl$ac_script"
6224 done
6225 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6226 { ac_script=; unset ac_script;}
6227 if test -z "$SED"; then
6228 ac_path_SED_found=false
6229 # Loop through the user's path and test for each of PROGNAME-LIST
6230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231 for as_dir in $PATH
6232 do
6233 IFS=$as_save_IFS
6234 test -z "$as_dir" && as_dir=.
6235 for ac_prog in sed gsed; do
6236 for ac_exec_ext in '' $ac_executable_extensions; do
6237 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6238 as_fn_executable_p "$ac_path_SED" || continue
6239 # Check for GNU ac_path_SED and select it if it is found.
6240 # Check for GNU $ac_path_SED
6241 case `"$ac_path_SED" --version 2>&1` in
6242 *GNU*)
6243 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6244 *)
6245 ac_count=0
6246 $as_echo_n 0123456789 >"conftest.in"
6247 while :
6248 do
6249 cat "conftest.in" "conftest.in" >"conftest.tmp"
6250 mv "conftest.tmp" "conftest.in"
6251 cp "conftest.in" "conftest.nl"
6252 $as_echo '' >> "conftest.nl"
6253 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6254 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6255 as_fn_arith $ac_count + 1 && ac_count=$as_val
6256 if test $ac_count -gt ${ac_path_SED_max-0}; then
6257 # Best one so far, save it but keep looking for a better one
6258 ac_cv_path_SED="$ac_path_SED"
6259 ac_path_SED_max=$ac_count
6260 fi
6261 # 10*(2^10) chars as input seems more than enough
6262 test $ac_count -gt 10 && break
6263 done
6264 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6265 esac
6266
6267 $ac_path_SED_found && break 3
6268 done
6269 done
6270 done
6271 IFS=$as_save_IFS
6272 if test -z "$ac_cv_path_SED"; then
6273 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6274 fi
6275 else
6276 ac_cv_path_SED=$SED
6277 fi
6278
6279 fi
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6281 $as_echo "$ac_cv_path_SED" >&6; }
6282 SED="$ac_cv_path_SED"
6283 rm -f conftest.sed
6284
6285 test -z "$SED" && SED=sed
6286 Xsed="$SED -e 1s/^X//"
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6299 $as_echo_n "checking for fgrep... " >&6; }
6300 if ${ac_cv_path_FGREP+:} false; then :
6301 $as_echo_n "(cached) " >&6
6302 else
6303 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6304 then ac_cv_path_FGREP="$GREP -F"
6305 else
6306 if test -z "$FGREP"; then
6307 ac_path_FGREP_found=false
6308 # Loop through the user's path and test for each of PROGNAME-LIST
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6310 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6311 do
6312 IFS=$as_save_IFS
6313 test -z "$as_dir" && as_dir=.
6314 for ac_prog in fgrep; do
6315 for ac_exec_ext in '' $ac_executable_extensions; do
6316 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6317 as_fn_executable_p "$ac_path_FGREP" || continue
6318 # Check for GNU ac_path_FGREP and select it if it is found.
6319 # Check for GNU $ac_path_FGREP
6320 case `"$ac_path_FGREP" --version 2>&1` in
6321 *GNU*)
6322 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6323 *)
6324 ac_count=0
6325 $as_echo_n 0123456789 >"conftest.in"
6326 while :
6327 do
6328 cat "conftest.in" "conftest.in" >"conftest.tmp"
6329 mv "conftest.tmp" "conftest.in"
6330 cp "conftest.in" "conftest.nl"
6331 $as_echo 'FGREP' >> "conftest.nl"
6332 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6333 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6334 as_fn_arith $ac_count + 1 && ac_count=$as_val
6335 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6336 # Best one so far, save it but keep looking for a better one
6337 ac_cv_path_FGREP="$ac_path_FGREP"
6338 ac_path_FGREP_max=$ac_count
6339 fi
6340 # 10*(2^10) chars as input seems more than enough
6341 test $ac_count -gt 10 && break
6342 done
6343 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6344 esac
6345
6346 $ac_path_FGREP_found && break 3
6347 done
6348 done
6349 done
6350 IFS=$as_save_IFS
6351 if test -z "$ac_cv_path_FGREP"; then
6352 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6353 fi
6354 else
6355 ac_cv_path_FGREP=$FGREP
6356 fi
6357
6358 fi
6359 fi
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6361 $as_echo "$ac_cv_path_FGREP" >&6; }
6362 FGREP="$ac_cv_path_FGREP"
6363
6364
6365 test -z "$GREP" && GREP=grep
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6384 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6385 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6386
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6388 $as_echo_n "checking how to print strings... " >&6; }
6389 # Test print first, because it will be a builtin if present.
6390 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6391 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6392 ECHO='print -r --'
6393 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6394 ECHO='printf %s\n'
6395 else
6396 # Use this function as a fallback that always works.
6397 func_fallback_echo ()
6398 {
6399 eval 'cat <<_LTECHO_EOF
6400 $1
6401 _LTECHO_EOF'
6402 }
6403 ECHO='func_fallback_echo'
6404 fi
6405
6406 # func_echo_all arg...
6407 # Invoke $ECHO with all args, space-separated.
6408 func_echo_all ()
6409 {
6410 $ECHO ""
6411 }
6412
6413 case "$ECHO" in
6414 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6415 $as_echo "printf" >&6; } ;;
6416 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6417 $as_echo "print -r" >&6; } ;;
6418 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6419 $as_echo "cat" >&6; } ;;
6420 esac
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437 # Check whether --with-gnu-ld was given.
6438 if test "${with_gnu_ld+set}" = set; then :
6439 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6440 else
6441 with_gnu_ld=no
6442 fi
6443
6444 ac_prog=ld
6445 if test "$GCC" = yes; then
6446 # Check if gcc -print-prog-name=ld gives a path.
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6448 $as_echo_n "checking for ld used by $CC... " >&6; }
6449 case $host in
6450 *-*-mingw*)
6451 # gcc leaves a trailing carriage return which upsets mingw
6452 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6453 *)
6454 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6455 esac
6456 case $ac_prog in
6457 # Accept absolute paths.
6458 [\\/]* | ?:[\\/]*)
6459 re_direlt='/[^/][^/]*/\.\./'
6460 # Canonicalize the pathname of ld
6461 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6462 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6463 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6464 done
6465 test -z "$LD" && LD="$ac_prog"
6466 ;;
6467 "")
6468 # If it fails, then pretend we aren't using GCC.
6469 ac_prog=ld
6470 ;;
6471 *)
6472 # If it is relative, then search for the first ld in PATH.
6473 with_gnu_ld=unknown
6474 ;;
6475 esac
6476 elif test "$with_gnu_ld" = yes; then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6478 $as_echo_n "checking for GNU ld... " >&6; }
6479 else
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6481 $as_echo_n "checking for non-GNU ld... " >&6; }
6482 fi
6483 if ${lt_cv_path_LD+:} false; then :
6484 $as_echo_n "(cached) " >&6
6485 else
6486 if test -z "$LD"; then
6487 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6488 for ac_dir in $PATH; do
6489 IFS="$lt_save_ifs"
6490 test -z "$ac_dir" && ac_dir=.
6491 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6492 lt_cv_path_LD="$ac_dir/$ac_prog"
6493 # Check to see if the program is GNU ld. I'd rather use --version,
6494 # but apparently some variants of GNU ld only accept -v.
6495 # Break only if it was the GNU/non-GNU ld that we prefer.
6496 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6497 *GNU* | *'with BFD'*)
6498 test "$with_gnu_ld" != no && break
6499 ;;
6500 *)
6501 test "$with_gnu_ld" != yes && break
6502 ;;
6503 esac
6504 fi
6505 done
6506 IFS="$lt_save_ifs"
6507 else
6508 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6509 fi
6510 fi
6511
6512 LD="$lt_cv_path_LD"
6513 if test -n "$LD"; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6515 $as_echo "$LD" >&6; }
6516 else
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6518 $as_echo "no" >&6; }
6519 fi
6520 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6522 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6523 if ${lt_cv_prog_gnu_ld+:} false; then :
6524 $as_echo_n "(cached) " >&6
6525 else
6526 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6527 case `$LD -v 2>&1 </dev/null` in
6528 *GNU* | *'with BFD'*)
6529 lt_cv_prog_gnu_ld=yes
6530 ;;
6531 *)
6532 lt_cv_prog_gnu_ld=no
6533 ;;
6534 esac
6535 fi
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6537 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6538 with_gnu_ld=$lt_cv_prog_gnu_ld
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6550
6551
6552 ac_save_LDFLAGS="$LDFLAGS"
6553 LDFLAGS="$LFLAGS -mclear-hwcap"
6554
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6556 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6557 if test x$gcc_no_link = xyes; then
6558 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6559 fi
6560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6561 /* end confdefs.h. */
6562
6563 int
6564 main ()
6565 {
6566 return 0;
6567 ;
6568 return 0;
6569 }
6570 _ACEOF
6571 if ac_fn_c_try_link "$LINENO"; then :
6572 ac_hwcap_ldflags=yes
6573 else
6574 ac_hwcap_ldflags=no
6575 fi
6576 rm -f core conftest.err conftest.$ac_objext \
6577 conftest$ac_exeext conftest.$ac_ext
6578 if test "$ac_hwcap_ldflags" = "yes"; then
6579 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6580 fi
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6582 $as_echo "$ac_hwcap_ldflags" >&6; }
6583
6584 LDFLAGS="$ac_save_LDFLAGS"
6585
6586
6587
6588 if test $ac_hwcap_ldflags != no; then
6589 HAVE_HWCAP_TRUE=
6590 HAVE_HWCAP_FALSE='#'
6591 else
6592 HAVE_HWCAP_TRUE='#'
6593 HAVE_HWCAP_FALSE=
6594 fi
6595
6596
6597
6598 # Find other programs we need.
6599 if test -n "$ac_tool_prefix"; then
6600 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6601 set dummy ${ac_tool_prefix}as; ac_word=$2
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6603 $as_echo_n "checking for $ac_word... " >&6; }
6604 if ${ac_cv_prog_AS+:} false; then :
6605 $as_echo_n "(cached) " >&6
6606 else
6607 if test -n "$AS"; then
6608 ac_cv_prog_AS="$AS" # Let the user override the test.
6609 else
6610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6611 for as_dir in $PATH
6612 do
6613 IFS=$as_save_IFS
6614 test -z "$as_dir" && as_dir=.
6615 for ac_exec_ext in '' $ac_executable_extensions; do
6616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6617 ac_cv_prog_AS="${ac_tool_prefix}as"
6618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6619 break 2
6620 fi
6621 done
6622 done
6623 IFS=$as_save_IFS
6624
6625 fi
6626 fi
6627 AS=$ac_cv_prog_AS
6628 if test -n "$AS"; then
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6630 $as_echo "$AS" >&6; }
6631 else
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6633 $as_echo "no" >&6; }
6634 fi
6635
6636
6637 fi
6638 if test -z "$ac_cv_prog_AS"; then
6639 ac_ct_AS=$AS
6640 # Extract the first word of "as", so it can be a program name with args.
6641 set dummy as; ac_word=$2
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6643 $as_echo_n "checking for $ac_word... " >&6; }
6644 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6645 $as_echo_n "(cached) " >&6
6646 else
6647 if test -n "$ac_ct_AS"; then
6648 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6649 else
6650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6651 for as_dir in $PATH
6652 do
6653 IFS=$as_save_IFS
6654 test -z "$as_dir" && as_dir=.
6655 for ac_exec_ext in '' $ac_executable_extensions; do
6656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6657 ac_cv_prog_ac_ct_AS="as"
6658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6659 break 2
6660 fi
6661 done
6662 done
6663 IFS=$as_save_IFS
6664
6665 fi
6666 fi
6667 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6668 if test -n "$ac_ct_AS"; then
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6670 $as_echo "$ac_ct_AS" >&6; }
6671 else
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6673 $as_echo "no" >&6; }
6674 fi
6675
6676 if test "x$ac_ct_AS" = x; then
6677 AS=""
6678 else
6679 case $cross_compiling:$ac_tool_warned in
6680 yes:)
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6683 ac_tool_warned=yes ;;
6684 esac
6685 AS=$ac_ct_AS
6686 fi
6687 else
6688 AS="$ac_cv_prog_AS"
6689 fi
6690
6691 if test -n "$ac_tool_prefix"; then
6692 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6693 set dummy ${ac_tool_prefix}ar; ac_word=$2
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6695 $as_echo_n "checking for $ac_word... " >&6; }
6696 if ${ac_cv_prog_AR+:} false; then :
6697 $as_echo_n "(cached) " >&6
6698 else
6699 if test -n "$AR"; then
6700 ac_cv_prog_AR="$AR" # Let the user override the test.
6701 else
6702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6703 for as_dir in $PATH
6704 do
6705 IFS=$as_save_IFS
6706 test -z "$as_dir" && as_dir=.
6707 for ac_exec_ext in '' $ac_executable_extensions; do
6708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6709 ac_cv_prog_AR="${ac_tool_prefix}ar"
6710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6711 break 2
6712 fi
6713 done
6714 done
6715 IFS=$as_save_IFS
6716
6717 fi
6718 fi
6719 AR=$ac_cv_prog_AR
6720 if test -n "$AR"; then
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6722 $as_echo "$AR" >&6; }
6723 else
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6725 $as_echo "no" >&6; }
6726 fi
6727
6728
6729 fi
6730 if test -z "$ac_cv_prog_AR"; then
6731 ac_ct_AR=$AR
6732 # Extract the first word of "ar", so it can be a program name with args.
6733 set dummy ar; ac_word=$2
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6735 $as_echo_n "checking for $ac_word... " >&6; }
6736 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6737 $as_echo_n "(cached) " >&6
6738 else
6739 if test -n "$ac_ct_AR"; then
6740 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6741 else
6742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6743 for as_dir in $PATH
6744 do
6745 IFS=$as_save_IFS
6746 test -z "$as_dir" && as_dir=.
6747 for ac_exec_ext in '' $ac_executable_extensions; do
6748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6749 ac_cv_prog_ac_ct_AR="ar"
6750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6751 break 2
6752 fi
6753 done
6754 done
6755 IFS=$as_save_IFS
6756
6757 fi
6758 fi
6759 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6760 if test -n "$ac_ct_AR"; then
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6762 $as_echo "$ac_ct_AR" >&6; }
6763 else
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6765 $as_echo "no" >&6; }
6766 fi
6767
6768 if test "x$ac_ct_AR" = x; then
6769 AR=""
6770 else
6771 case $cross_compiling:$ac_tool_warned in
6772 yes:)
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6775 ac_tool_warned=yes ;;
6776 esac
6777 AR=$ac_ct_AR
6778 fi
6779 else
6780 AR="$ac_cv_prog_AR"
6781 fi
6782
6783 if test -n "$ac_tool_prefix"; then
6784 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6785 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6787 $as_echo_n "checking for $ac_word... " >&6; }
6788 if ${ac_cv_prog_RANLIB+:} false; then :
6789 $as_echo_n "(cached) " >&6
6790 else
6791 if test -n "$RANLIB"; then
6792 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6793 else
6794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6795 for as_dir in $PATH
6796 do
6797 IFS=$as_save_IFS
6798 test -z "$as_dir" && as_dir=.
6799 for ac_exec_ext in '' $ac_executable_extensions; do
6800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6801 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6803 break 2
6804 fi
6805 done
6806 done
6807 IFS=$as_save_IFS
6808
6809 fi
6810 fi
6811 RANLIB=$ac_cv_prog_RANLIB
6812 if test -n "$RANLIB"; then
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6814 $as_echo "$RANLIB" >&6; }
6815 else
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6817 $as_echo "no" >&6; }
6818 fi
6819
6820
6821 fi
6822 if test -z "$ac_cv_prog_RANLIB"; then
6823 ac_ct_RANLIB=$RANLIB
6824 # Extract the first word of "ranlib", so it can be a program name with args.
6825 set dummy ranlib; ac_word=$2
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6827 $as_echo_n "checking for $ac_word... " >&6; }
6828 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6829 $as_echo_n "(cached) " >&6
6830 else
6831 if test -n "$ac_ct_RANLIB"; then
6832 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6833 else
6834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6835 for as_dir in $PATH
6836 do
6837 IFS=$as_save_IFS
6838 test -z "$as_dir" && as_dir=.
6839 for ac_exec_ext in '' $ac_executable_extensions; do
6840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6841 ac_cv_prog_ac_ct_RANLIB="ranlib"
6842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6843 break 2
6844 fi
6845 done
6846 done
6847 IFS=$as_save_IFS
6848
6849 fi
6850 fi
6851 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6852 if test -n "$ac_ct_RANLIB"; then
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6854 $as_echo "$ac_ct_RANLIB" >&6; }
6855 else
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6857 $as_echo "no" >&6; }
6858 fi
6859
6860 if test "x$ac_ct_RANLIB" = x; then
6861 RANLIB="ranlib-not-found-in-path-error"
6862 else
6863 case $cross_compiling:$ac_tool_warned in
6864 yes:)
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6867 ac_tool_warned=yes ;;
6868 esac
6869 RANLIB=$ac_ct_RANLIB
6870 fi
6871 else
6872 RANLIB="$ac_cv_prog_RANLIB"
6873 fi
6874
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6876 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6877 set x ${MAKE-make}
6878 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6879 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6880 $as_echo_n "(cached) " >&6
6881 else
6882 cat >conftest.make <<\_ACEOF
6883 SHELL = /bin/sh
6884 all:
6885 @echo '@@@%%%=$(MAKE)=@@@%%%'
6886 _ACEOF
6887 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6888 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6889 *@@@%%%=?*=@@@%%%*)
6890 eval ac_cv_prog_make_${ac_make}_set=yes;;
6891 *)
6892 eval ac_cv_prog_make_${ac_make}_set=no;;
6893 esac
6894 rm -f conftest.make
6895 fi
6896 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6898 $as_echo "yes" >&6; }
6899 SET_MAKE=
6900 else
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6902 $as_echo "no" >&6; }
6903 SET_MAKE="MAKE=${MAKE-make}"
6904 fi
6905
6906
6907
6908 # Configure libtool
6909 #AC_MSG_NOTICE([====== Starting libtool configuration])
6910 enable_dlopen=yes
6911
6912
6913
6914 case `pwd` in
6915 *\ * | *\ *)
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6917 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6918 esac
6919
6920
6921
6922 macro_version='2.2.7a'
6923 macro_revision='1.3134'
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937 ltmain="$ac_aux_dir/ltmain.sh"
6938
6939 # Backslashify metacharacters that are still active within
6940 # double-quoted strings.
6941 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6942
6943 # Same as above, but do not quote variable references.
6944 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6945
6946 # Sed substitution to delay expansion of an escaped shell variable in a
6947 # double_quote_subst'ed string.
6948 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6949
6950 # Sed substitution to delay expansion of an escaped single quote.
6951 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6952
6953 # Sed substitution to avoid accidental globbing in evaled expressions
6954 no_glob_subst='s/\*/\\\*/g'
6955
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6957 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6958 if ${lt_cv_path_NM+:} false; then :
6959 $as_echo_n "(cached) " >&6
6960 else
6961 if test -n "$NM"; then
6962 # Let the user override the test.
6963 lt_cv_path_NM="$NM"
6964 else
6965 lt_nm_to_check="${ac_tool_prefix}nm"
6966 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6967 lt_nm_to_check="$lt_nm_to_check nm"
6968 fi
6969 for lt_tmp_nm in $lt_nm_to_check; do
6970 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6971 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6972 IFS="$lt_save_ifs"
6973 test -z "$ac_dir" && ac_dir=.
6974 tmp_nm="$ac_dir/$lt_tmp_nm"
6975 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6976 # Check to see if the nm accepts a BSD-compat flag.
6977 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6978 # nm: unknown option "B" ignored
6979 # Tru64's nm complains that /dev/null is an invalid object file
6980 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6981 */dev/null* | *'Invalid file or object type'*)
6982 lt_cv_path_NM="$tmp_nm -B"
6983 break
6984 ;;
6985 *)
6986 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6987 */dev/null*)
6988 lt_cv_path_NM="$tmp_nm -p"
6989 break
6990 ;;
6991 *)
6992 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6993 continue # so that we can try to find one that supports BSD flags
6994 ;;
6995 esac
6996 ;;
6997 esac
6998 fi
6999 done
7000 IFS="$lt_save_ifs"
7001 done
7002 : ${lt_cv_path_NM=no}
7003 fi
7004 fi
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7006 $as_echo "$lt_cv_path_NM" >&6; }
7007 if test "$lt_cv_path_NM" != "no"; then
7008 NM="$lt_cv_path_NM"
7009 else
7010 # Didn't find any BSD compatible name lister, look for dumpbin.
7011 if test -n "$DUMPBIN"; then :
7012 # Let the user override the test.
7013 else
7014 if test -n "$ac_tool_prefix"; then
7015 for ac_prog in dumpbin "link -dump"
7016 do
7017 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7018 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7020 $as_echo_n "checking for $ac_word... " >&6; }
7021 if ${ac_cv_prog_DUMPBIN+:} false; then :
7022 $as_echo_n "(cached) " >&6
7023 else
7024 if test -n "$DUMPBIN"; then
7025 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7026 else
7027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7028 for as_dir in $PATH
7029 do
7030 IFS=$as_save_IFS
7031 test -z "$as_dir" && as_dir=.
7032 for ac_exec_ext in '' $ac_executable_extensions; do
7033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7034 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7036 break 2
7037 fi
7038 done
7039 done
7040 IFS=$as_save_IFS
7041
7042 fi
7043 fi
7044 DUMPBIN=$ac_cv_prog_DUMPBIN
7045 if test -n "$DUMPBIN"; then
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7047 $as_echo "$DUMPBIN" >&6; }
7048 else
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7050 $as_echo "no" >&6; }
7051 fi
7052
7053
7054 test -n "$DUMPBIN" && break
7055 done
7056 fi
7057 if test -z "$DUMPBIN"; then
7058 ac_ct_DUMPBIN=$DUMPBIN
7059 for ac_prog in dumpbin "link -dump"
7060 do
7061 # Extract the first word of "$ac_prog", so it can be a program name with args.
7062 set dummy $ac_prog; ac_word=$2
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7064 $as_echo_n "checking for $ac_word... " >&6; }
7065 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7066 $as_echo_n "(cached) " >&6
7067 else
7068 if test -n "$ac_ct_DUMPBIN"; then
7069 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7070 else
7071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7072 for as_dir in $PATH
7073 do
7074 IFS=$as_save_IFS
7075 test -z "$as_dir" && as_dir=.
7076 for ac_exec_ext in '' $ac_executable_extensions; do
7077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7078 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7080 break 2
7081 fi
7082 done
7083 done
7084 IFS=$as_save_IFS
7085
7086 fi
7087 fi
7088 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7089 if test -n "$ac_ct_DUMPBIN"; then
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7091 $as_echo "$ac_ct_DUMPBIN" >&6; }
7092 else
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7094 $as_echo "no" >&6; }
7095 fi
7096
7097
7098 test -n "$ac_ct_DUMPBIN" && break
7099 done
7100
7101 if test "x$ac_ct_DUMPBIN" = x; then
7102 DUMPBIN=":"
7103 else
7104 case $cross_compiling:$ac_tool_warned in
7105 yes:)
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7108 ac_tool_warned=yes ;;
7109 esac
7110 DUMPBIN=$ac_ct_DUMPBIN
7111 fi
7112 fi
7113
7114 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7115 *COFF*)
7116 DUMPBIN="$DUMPBIN -symbols"
7117 ;;
7118 *)
7119 DUMPBIN=:
7120 ;;
7121 esac
7122 fi
7123
7124 if test "$DUMPBIN" != ":"; then
7125 NM="$DUMPBIN"
7126 fi
7127 fi
7128 test -z "$NM" && NM=nm
7129
7130
7131
7132
7133
7134
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7136 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7137 if ${lt_cv_nm_interface+:} false; then :
7138 $as_echo_n "(cached) " >&6
7139 else
7140 lt_cv_nm_interface="BSD nm"
7141 echo "int some_variable = 0;" > conftest.$ac_ext
7142 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7143 (eval "$ac_compile" 2>conftest.err)
7144 cat conftest.err >&5
7145 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7146 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7147 cat conftest.err >&5
7148 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7149 cat conftest.out >&5
7150 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7151 lt_cv_nm_interface="MS dumpbin"
7152 fi
7153 rm -f conftest*
7154 fi
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7156 $as_echo "$lt_cv_nm_interface" >&6; }
7157
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7159 $as_echo_n "checking whether ln -s works... " >&6; }
7160 LN_S=$as_ln_s
7161 if test "$LN_S" = "ln -s"; then
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7163 $as_echo "yes" >&6; }
7164 else
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7166 $as_echo "no, using $LN_S" >&6; }
7167 fi
7168
7169 # find the maximum length of command line arguments
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7171 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7172 if ${lt_cv_sys_max_cmd_len+:} false; then :
7173 $as_echo_n "(cached) " >&6
7174 else
7175 i=0
7176 teststring="ABCD"
7177
7178 case $build_os in
7179 msdosdjgpp*)
7180 # On DJGPP, this test can blow up pretty badly due to problems in libc
7181 # (any single argument exceeding 2000 bytes causes a buffer overrun
7182 # during glob expansion). Even if it were fixed, the result of this
7183 # check would be larger than it should be.
7184 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7185 ;;
7186
7187 gnu*)
7188 # Under GNU Hurd, this test is not required because there is
7189 # no limit to the length of command line arguments.
7190 # Libtool will interpret -1 as no limit whatsoever
7191 lt_cv_sys_max_cmd_len=-1;
7192 ;;
7193
7194 cygwin* | mingw* | cegcc*)
7195 # On Win9x/ME, this test blows up -- it succeeds, but takes
7196 # about 5 minutes as the teststring grows exponentially.
7197 # Worse, since 9x/ME are not pre-emptively multitasking,
7198 # you end up with a "frozen" computer, even though with patience
7199 # the test eventually succeeds (with a max line length of 256k).
7200 # Instead, let's just punt: use the minimum linelength reported by
7201 # all of the supported platforms: 8192 (on NT/2K/XP).
7202 lt_cv_sys_max_cmd_len=8192;
7203 ;;
7204
7205 mint*)
7206 # On MiNT this can take a long time and run out of memory.
7207 lt_cv_sys_max_cmd_len=8192;
7208 ;;
7209
7210 amigaos*)
7211 # On AmigaOS with pdksh, this test takes hours, literally.
7212 # So we just punt and use a minimum line length of 8192.
7213 lt_cv_sys_max_cmd_len=8192;
7214 ;;
7215
7216 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7217 # This has been around since 386BSD, at least. Likely further.
7218 if test -x /sbin/sysctl; then
7219 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7220 elif test -x /usr/sbin/sysctl; then
7221 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7222 else
7223 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7224 fi
7225 # And add a safety zone
7226 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7227 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7228 ;;
7229
7230 interix*)
7231 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7232 lt_cv_sys_max_cmd_len=196608
7233 ;;
7234
7235 osf*)
7236 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7237 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7238 # nice to cause kernel panics so lets avoid the loop below.
7239 # First set a reasonable default.
7240 lt_cv_sys_max_cmd_len=16384
7241 #
7242 if test -x /sbin/sysconfig; then
7243 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7244 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7245 esac
7246 fi
7247 ;;
7248 sco3.2v5*)
7249 lt_cv_sys_max_cmd_len=102400
7250 ;;
7251 sysv5* | sco5v6* | sysv4.2uw2*)
7252 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7253 if test -n "$kargmax"; then
7254 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7255 else
7256 lt_cv_sys_max_cmd_len=32768
7257 fi
7258 ;;
7259 *)
7260 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7261 if test -n "$lt_cv_sys_max_cmd_len"; then
7262 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7263 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7264 else
7265 # Make teststring a little bigger before we do anything with it.
7266 # a 1K string should be a reasonable start.
7267 for i in 1 2 3 4 5 6 7 8 ; do
7268 teststring=$teststring$teststring
7269 done
7270 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7271 # If test is not a shell built-in, we'll probably end up computing a
7272 # maximum length that is only half of the actual maximum length, but
7273 # we can't tell.
7274 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7275 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7276 test $i != 17 # 1/2 MB should be enough
7277 do
7278 i=`expr $i + 1`
7279 teststring=$teststring$teststring
7280 done
7281 # Only check the string length outside the loop.
7282 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7283 teststring=
7284 # Add a significant safety factor because C++ compilers can tack on
7285 # massive amounts of additional arguments before passing them to the
7286 # linker. It appears as though 1/2 is a usable value.
7287 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7288 fi
7289 ;;
7290 esac
7291
7292 fi
7293
7294 if test -n $lt_cv_sys_max_cmd_len ; then
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7296 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7297 else
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7299 $as_echo "none" >&6; }
7300 fi
7301 max_cmd_len=$lt_cv_sys_max_cmd_len
7302
7303
7304
7305
7306
7307
7308 : ${CP="cp -f"}
7309 : ${MV="mv -f"}
7310 : ${RM="rm -f"}
7311
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7313 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7314 # Try some XSI features
7315 xsi_shell=no
7316 ( _lt_dummy="a/b/c"
7317 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7318 = c,a/b,, \
7319 && eval 'test $(( 1 + 1 )) -eq 2 \
7320 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7321 && xsi_shell=yes
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7323 $as_echo "$xsi_shell" >&6; }
7324
7325
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7327 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7328 lt_shell_append=no
7329 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7330 >/dev/null 2>&1 \
7331 && lt_shell_append=yes
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7333 $as_echo "$lt_shell_append" >&6; }
7334
7335
7336 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7337 lt_unset=unset
7338 else
7339 lt_unset=false
7340 fi
7341
7342
7343
7344
7345
7346 # test EBCDIC or ASCII
7347 case `echo X|tr X '\101'` in
7348 A) # ASCII based system
7349 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7350 lt_SP2NL='tr \040 \012'
7351 lt_NL2SP='tr \015\012 \040\040'
7352 ;;
7353 *) # EBCDIC based system
7354 lt_SP2NL='tr \100 \n'
7355 lt_NL2SP='tr \r\n \100\100'
7356 ;;
7357 esac
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7368 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7369 if ${lt_cv_ld_reload_flag+:} false; then :
7370 $as_echo_n "(cached) " >&6
7371 else
7372 lt_cv_ld_reload_flag='-r'
7373 fi
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7375 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7376 reload_flag=$lt_cv_ld_reload_flag
7377 case $reload_flag in
7378 "" | " "*) ;;
7379 *) reload_flag=" $reload_flag" ;;
7380 esac
7381 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7382 case $host_os in
7383 darwin*)
7384 if test "$GCC" = yes; then
7385 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7386 else
7387 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7388 fi
7389 ;;
7390 esac
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400 if test -n "$ac_tool_prefix"; then
7401 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7402 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7404 $as_echo_n "checking for $ac_word... " >&6; }
7405 if ${ac_cv_prog_OBJDUMP+:} false; then :
7406 $as_echo_n "(cached) " >&6
7407 else
7408 if test -n "$OBJDUMP"; then
7409 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7410 else
7411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7412 for as_dir in $PATH
7413 do
7414 IFS=$as_save_IFS
7415 test -z "$as_dir" && as_dir=.
7416 for ac_exec_ext in '' $ac_executable_extensions; do
7417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7418 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7420 break 2
7421 fi
7422 done
7423 done
7424 IFS=$as_save_IFS
7425
7426 fi
7427 fi
7428 OBJDUMP=$ac_cv_prog_OBJDUMP
7429 if test -n "$OBJDUMP"; then
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7431 $as_echo "$OBJDUMP" >&6; }
7432 else
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 $as_echo "no" >&6; }
7435 fi
7436
7437
7438 fi
7439 if test -z "$ac_cv_prog_OBJDUMP"; then
7440 ac_ct_OBJDUMP=$OBJDUMP
7441 # Extract the first word of "objdump", so it can be a program name with args.
7442 set dummy objdump; ac_word=$2
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7444 $as_echo_n "checking for $ac_word... " >&6; }
7445 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7446 $as_echo_n "(cached) " >&6
7447 else
7448 if test -n "$ac_ct_OBJDUMP"; then
7449 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7450 else
7451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7452 for as_dir in $PATH
7453 do
7454 IFS=$as_save_IFS
7455 test -z "$as_dir" && as_dir=.
7456 for ac_exec_ext in '' $ac_executable_extensions; do
7457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7458 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7460 break 2
7461 fi
7462 done
7463 done
7464 IFS=$as_save_IFS
7465
7466 fi
7467 fi
7468 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7469 if test -n "$ac_ct_OBJDUMP"; then
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7471 $as_echo "$ac_ct_OBJDUMP" >&6; }
7472 else
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 $as_echo "no" >&6; }
7475 fi
7476
7477 if test "x$ac_ct_OBJDUMP" = x; then
7478 OBJDUMP="false"
7479 else
7480 case $cross_compiling:$ac_tool_warned in
7481 yes:)
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7484 ac_tool_warned=yes ;;
7485 esac
7486 OBJDUMP=$ac_ct_OBJDUMP
7487 fi
7488 else
7489 OBJDUMP="$ac_cv_prog_OBJDUMP"
7490 fi
7491
7492 test -z "$OBJDUMP" && OBJDUMP=objdump
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7503 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7504 if ${lt_cv_deplibs_check_method+:} false; then :
7505 $as_echo_n "(cached) " >&6
7506 else
7507 lt_cv_file_magic_cmd='$MAGIC_CMD'
7508 lt_cv_file_magic_test_file=
7509 lt_cv_deplibs_check_method='unknown'
7510 # Need to set the preceding variable on all platforms that support
7511 # interlibrary dependencies.
7512 # 'none' -- dependencies not supported.
7513 # `unknown' -- same as none, but documents that we really don't know.
7514 # 'pass_all' -- all dependencies passed with no checks.
7515 # 'test_compile' -- check by making test program.
7516 # 'file_magic [[regex]]' -- check by looking for files in library path
7517 # which responds to the $file_magic_cmd with a given extended regex.
7518 # If you have `file' or equivalent on your system and you're not sure
7519 # whether `pass_all' will *always* work, you probably want this one.
7520
7521 case $host_os in
7522 aix[4-9]*)
7523 lt_cv_deplibs_check_method=pass_all
7524 ;;
7525
7526 beos*)
7527 lt_cv_deplibs_check_method=pass_all
7528 ;;
7529
7530 bsdi[45]*)
7531 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7532 lt_cv_file_magic_cmd='/usr/bin/file -L'
7533 lt_cv_file_magic_test_file=/shlib/libc.so
7534 ;;
7535
7536 cygwin*)
7537 # func_win32_libid is a shell function defined in ltmain.sh
7538 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7539 lt_cv_file_magic_cmd='func_win32_libid'
7540 ;;
7541
7542 mingw* | pw32*)
7543 # Base MSYS/MinGW do not provide the 'file' command needed by
7544 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7545 # unless we find 'file', for example because we are cross-compiling.
7546 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7547 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7548 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7549 lt_cv_file_magic_cmd='func_win32_libid'
7550 else
7551 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7552 lt_cv_file_magic_cmd='$OBJDUMP -f'
7553 fi
7554 ;;
7555
7556 cegcc*)
7557 # use the weaker test based on 'objdump'. See mingw*.
7558 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7559 lt_cv_file_magic_cmd='$OBJDUMP -f'
7560 ;;
7561
7562 darwin* | rhapsody*)
7563 lt_cv_deplibs_check_method=pass_all
7564 ;;
7565
7566 freebsd* | dragonfly*)
7567 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7568 case $host_cpu in
7569 i*86 )
7570 # Not sure whether the presence of OpenBSD here was a mistake.
7571 # Let's accept both of them until this is cleared up.
7572 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7573 lt_cv_file_magic_cmd=/usr/bin/file
7574 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7575 ;;
7576 esac
7577 else
7578 lt_cv_deplibs_check_method=pass_all
7579 fi
7580 ;;
7581
7582 gnu*)
7583 lt_cv_deplibs_check_method=pass_all
7584 ;;
7585
7586 haiku*)
7587 lt_cv_deplibs_check_method=pass_all
7588 ;;
7589
7590 hpux10.20* | hpux11*)
7591 lt_cv_file_magic_cmd=/usr/bin/file
7592 case $host_cpu in
7593 ia64*)
7594 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7595 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7596 ;;
7597 hppa*64*)
7598 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]'
7599 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7600 ;;
7601 *)
7602 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7603 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7604 ;;
7605 esac
7606 ;;
7607
7608 interix[3-9]*)
7609 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7610 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7611 ;;
7612
7613 irix5* | irix6* | nonstopux*)
7614 case $LD in
7615 *-32|*"-32 ") libmagic=32-bit;;
7616 *-n32|*"-n32 ") libmagic=N32;;
7617 *-64|*"-64 ") libmagic=64-bit;;
7618 *) libmagic=never-match;;
7619 esac
7620 lt_cv_deplibs_check_method=pass_all
7621 ;;
7622
7623 # This must be Linux ELF.
7624 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7625 lt_cv_deplibs_check_method=pass_all
7626 ;;
7627
7628 netbsd*)
7629 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7630 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7631 else
7632 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7633 fi
7634 ;;
7635
7636 newos6*)
7637 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7638 lt_cv_file_magic_cmd=/usr/bin/file
7639 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7640 ;;
7641
7642 *nto* | *qnx*)
7643 lt_cv_deplibs_check_method=pass_all
7644 ;;
7645
7646 openbsd*)
7647 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7648 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7649 else
7650 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7651 fi
7652 ;;
7653
7654 osf3* | osf4* | osf5*)
7655 lt_cv_deplibs_check_method=pass_all
7656 ;;
7657
7658 rdos*)
7659 lt_cv_deplibs_check_method=pass_all
7660 ;;
7661
7662 solaris*)
7663 lt_cv_deplibs_check_method=pass_all
7664 ;;
7665
7666 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7667 lt_cv_deplibs_check_method=pass_all
7668 ;;
7669
7670 sysv4 | sysv4.3*)
7671 case $host_vendor in
7672 motorola)
7673 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]'
7674 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7675 ;;
7676 ncr)
7677 lt_cv_deplibs_check_method=pass_all
7678 ;;
7679 sequent)
7680 lt_cv_file_magic_cmd='/bin/file'
7681 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7682 ;;
7683 sni)
7684 lt_cv_file_magic_cmd='/bin/file'
7685 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7686 lt_cv_file_magic_test_file=/lib/libc.so
7687 ;;
7688 siemens)
7689 lt_cv_deplibs_check_method=pass_all
7690 ;;
7691 pc)
7692 lt_cv_deplibs_check_method=pass_all
7693 ;;
7694 esac
7695 ;;
7696
7697 tpf*)
7698 lt_cv_deplibs_check_method=pass_all
7699 ;;
7700 esac
7701
7702 fi
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7704 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7705 file_magic_cmd=$lt_cv_file_magic_cmd
7706 deplibs_check_method=$lt_cv_deplibs_check_method
7707 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720 if test -n "$ac_tool_prefix"; then
7721 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7722 set dummy ${ac_tool_prefix}ar; ac_word=$2
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7724 $as_echo_n "checking for $ac_word... " >&6; }
7725 if ${ac_cv_prog_AR+:} false; then :
7726 $as_echo_n "(cached) " >&6
7727 else
7728 if test -n "$AR"; then
7729 ac_cv_prog_AR="$AR" # Let the user override the test.
7730 else
7731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7732 for as_dir in $PATH
7733 do
7734 IFS=$as_save_IFS
7735 test -z "$as_dir" && as_dir=.
7736 for ac_exec_ext in '' $ac_executable_extensions; do
7737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7738 ac_cv_prog_AR="${ac_tool_prefix}ar"
7739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7740 break 2
7741 fi
7742 done
7743 done
7744 IFS=$as_save_IFS
7745
7746 fi
7747 fi
7748 AR=$ac_cv_prog_AR
7749 if test -n "$AR"; then
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7751 $as_echo "$AR" >&6; }
7752 else
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7754 $as_echo "no" >&6; }
7755 fi
7756
7757
7758 fi
7759 if test -z "$ac_cv_prog_AR"; then
7760 ac_ct_AR=$AR
7761 # Extract the first word of "ar", so it can be a program name with args.
7762 set dummy ar; ac_word=$2
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7764 $as_echo_n "checking for $ac_word... " >&6; }
7765 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7766 $as_echo_n "(cached) " >&6
7767 else
7768 if test -n "$ac_ct_AR"; then
7769 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7770 else
7771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7772 for as_dir in $PATH
7773 do
7774 IFS=$as_save_IFS
7775 test -z "$as_dir" && as_dir=.
7776 for ac_exec_ext in '' $ac_executable_extensions; do
7777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7778 ac_cv_prog_ac_ct_AR="ar"
7779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7780 break 2
7781 fi
7782 done
7783 done
7784 IFS=$as_save_IFS
7785
7786 fi
7787 fi
7788 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7789 if test -n "$ac_ct_AR"; then
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7791 $as_echo "$ac_ct_AR" >&6; }
7792 else
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7794 $as_echo "no" >&6; }
7795 fi
7796
7797 if test "x$ac_ct_AR" = x; then
7798 AR="false"
7799 else
7800 case $cross_compiling:$ac_tool_warned in
7801 yes:)
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7804 ac_tool_warned=yes ;;
7805 esac
7806 AR=$ac_ct_AR
7807 fi
7808 else
7809 AR="$ac_cv_prog_AR"
7810 fi
7811
7812 test -z "$AR" && AR=ar
7813 test -z "$AR_FLAGS" && AR_FLAGS=cru
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825 if test -n "$ac_tool_prefix"; then
7826 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7827 set dummy ${ac_tool_prefix}strip; ac_word=$2
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7829 $as_echo_n "checking for $ac_word... " >&6; }
7830 if ${ac_cv_prog_STRIP+:} false; then :
7831 $as_echo_n "(cached) " >&6
7832 else
7833 if test -n "$STRIP"; then
7834 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7835 else
7836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7837 for as_dir in $PATH
7838 do
7839 IFS=$as_save_IFS
7840 test -z "$as_dir" && as_dir=.
7841 for ac_exec_ext in '' $ac_executable_extensions; do
7842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7843 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7845 break 2
7846 fi
7847 done
7848 done
7849 IFS=$as_save_IFS
7850
7851 fi
7852 fi
7853 STRIP=$ac_cv_prog_STRIP
7854 if test -n "$STRIP"; then
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7856 $as_echo "$STRIP" >&6; }
7857 else
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7859 $as_echo "no" >&6; }
7860 fi
7861
7862
7863 fi
7864 if test -z "$ac_cv_prog_STRIP"; then
7865 ac_ct_STRIP=$STRIP
7866 # Extract the first word of "strip", so it can be a program name with args.
7867 set dummy strip; ac_word=$2
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7869 $as_echo_n "checking for $ac_word... " >&6; }
7870 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7871 $as_echo_n "(cached) " >&6
7872 else
7873 if test -n "$ac_ct_STRIP"; then
7874 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7875 else
7876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7877 for as_dir in $PATH
7878 do
7879 IFS=$as_save_IFS
7880 test -z "$as_dir" && as_dir=.
7881 for ac_exec_ext in '' $ac_executable_extensions; do
7882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7883 ac_cv_prog_ac_ct_STRIP="strip"
7884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7885 break 2
7886 fi
7887 done
7888 done
7889 IFS=$as_save_IFS
7890
7891 fi
7892 fi
7893 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7894 if test -n "$ac_ct_STRIP"; then
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7896 $as_echo "$ac_ct_STRIP" >&6; }
7897 else
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7899 $as_echo "no" >&6; }
7900 fi
7901
7902 if test "x$ac_ct_STRIP" = x; then
7903 STRIP=":"
7904 else
7905 case $cross_compiling:$ac_tool_warned in
7906 yes:)
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7909 ac_tool_warned=yes ;;
7910 esac
7911 STRIP=$ac_ct_STRIP
7912 fi
7913 else
7914 STRIP="$ac_cv_prog_STRIP"
7915 fi
7916
7917 test -z "$STRIP" && STRIP=:
7918
7919
7920
7921
7922
7923
7924 if test -n "$ac_tool_prefix"; then
7925 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7926 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7928 $as_echo_n "checking for $ac_word... " >&6; }
7929 if ${ac_cv_prog_RANLIB+:} false; then :
7930 $as_echo_n "(cached) " >&6
7931 else
7932 if test -n "$RANLIB"; then
7933 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7934 else
7935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7936 for as_dir in $PATH
7937 do
7938 IFS=$as_save_IFS
7939 test -z "$as_dir" && as_dir=.
7940 for ac_exec_ext in '' $ac_executable_extensions; do
7941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7942 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7944 break 2
7945 fi
7946 done
7947 done
7948 IFS=$as_save_IFS
7949
7950 fi
7951 fi
7952 RANLIB=$ac_cv_prog_RANLIB
7953 if test -n "$RANLIB"; then
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7955 $as_echo "$RANLIB" >&6; }
7956 else
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7958 $as_echo "no" >&6; }
7959 fi
7960
7961
7962 fi
7963 if test -z "$ac_cv_prog_RANLIB"; then
7964 ac_ct_RANLIB=$RANLIB
7965 # Extract the first word of "ranlib", so it can be a program name with args.
7966 set dummy ranlib; ac_word=$2
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7968 $as_echo_n "checking for $ac_word... " >&6; }
7969 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7970 $as_echo_n "(cached) " >&6
7971 else
7972 if test -n "$ac_ct_RANLIB"; then
7973 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7974 else
7975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7976 for as_dir in $PATH
7977 do
7978 IFS=$as_save_IFS
7979 test -z "$as_dir" && as_dir=.
7980 for ac_exec_ext in '' $ac_executable_extensions; do
7981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7982 ac_cv_prog_ac_ct_RANLIB="ranlib"
7983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7984 break 2
7985 fi
7986 done
7987 done
7988 IFS=$as_save_IFS
7989
7990 fi
7991 fi
7992 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7993 if test -n "$ac_ct_RANLIB"; then
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7995 $as_echo "$ac_ct_RANLIB" >&6; }
7996 else
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7998 $as_echo "no" >&6; }
7999 fi
8000
8001 if test "x$ac_ct_RANLIB" = x; then
8002 RANLIB=":"
8003 else
8004 case $cross_compiling:$ac_tool_warned in
8005 yes:)
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8008 ac_tool_warned=yes ;;
8009 esac
8010 RANLIB=$ac_ct_RANLIB
8011 fi
8012 else
8013 RANLIB="$ac_cv_prog_RANLIB"
8014 fi
8015
8016 test -z "$RANLIB" && RANLIB=:
8017
8018
8019
8020
8021
8022
8023 # Determine commands to create old-style static archives.
8024 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8025 old_postinstall_cmds='chmod 644 $oldlib'
8026 old_postuninstall_cmds=
8027
8028 if test -n "$RANLIB"; then
8029 case $host_os in
8030 openbsd*)
8031 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8032 ;;
8033 *)
8034 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8035 ;;
8036 esac
8037 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8038 fi
8039
8040 case $host_os in
8041 darwin*)
8042 lock_old_archive_extraction=yes ;;
8043 *)
8044 lock_old_archive_extraction=no ;;
8045 esac
8046
8047
8048
8049
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 # If no C compiler was specified, use CC.
8086 LTCC=${LTCC-"$CC"}
8087
8088 # If no C compiler flags were specified, use CFLAGS.
8089 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8090
8091 # Allow CC to be a program name with arguments.
8092 compiler=$CC
8093
8094
8095 # Check for command to grab the raw symbol name followed by C symbol from nm.
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8097 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8098 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8099 $as_echo_n "(cached) " >&6
8100 else
8101
8102 # These are sane defaults that work on at least a few old systems.
8103 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8104
8105 # Character class describing NM global symbol codes.
8106 symcode='[BCDEGRST]'
8107
8108 # Regexp to match symbols that can be accessed directly from C.
8109 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8110
8111 # Define system-specific variables.
8112 case $host_os in
8113 aix*)
8114 symcode='[BCDT]'
8115 ;;
8116 cygwin* | mingw* | pw32* | cegcc*)
8117 symcode='[ABCDGISTW]'
8118 ;;
8119 hpux*)
8120 if test "$host_cpu" = ia64; then
8121 symcode='[ABCDEGRST]'
8122 fi
8123 ;;
8124 irix* | nonstopux*)
8125 symcode='[BCDEGRST]'
8126 ;;
8127 osf*)
8128 symcode='[BCDEGQRST]'
8129 ;;
8130 solaris*)
8131 symcode='[BDRT]'
8132 ;;
8133 sco3.2v5*)
8134 symcode='[DT]'
8135 ;;
8136 sysv4.2uw2*)
8137 symcode='[DT]'
8138 ;;
8139 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8140 symcode='[ABDT]'
8141 ;;
8142 sysv4)
8143 symcode='[DFNSTU]'
8144 ;;
8145 esac
8146
8147 # If we're using GNU nm, then use its standard symbol codes.
8148 case `$NM -V 2>&1` in
8149 *GNU* | *'with BFD'*)
8150 symcode='[ABCDGIRSTW]' ;;
8151 esac
8152
8153 # Transform an extracted symbol line into a proper C declaration.
8154 # Some systems (esp. on ia64) link data and code symbols differently,
8155 # so use this general approach.
8156 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8157
8158 # Transform an extracted symbol line into symbol name and symbol address
8159 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8160 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
8161
8162 # Handle CRLF in mingw tool chain
8163 opt_cr=
8164 case $build_os in
8165 mingw*)
8166 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8167 ;;
8168 esac
8169
8170 # Try without a prefix underscore, then with it.
8171 for ac_symprfx in "" "_"; do
8172
8173 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8174 symxfrm="\\1 $ac_symprfx\\2 \\2"
8175
8176 # Write the raw and C identifiers.
8177 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8178 # Fake it for dumpbin and say T for any non-static function
8179 # and D for any global variable.
8180 # Also find C++ and __fastcall symbols from MSVC++,
8181 # which start with @ or ?.
8182 lt_cv_sys_global_symbol_pipe="$AWK '"\
8183 " {last_section=section; section=\$ 3};"\
8184 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8185 " \$ 0!~/External *\|/{next};"\
8186 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8187 " {if(hide[section]) next};"\
8188 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8189 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8190 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8191 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8192 " ' prfx=^$ac_symprfx"
8193 else
8194 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8195 fi
8196
8197 # Check to see that the pipe works correctly.
8198 pipe_works=no
8199
8200 rm -f conftest*
8201 cat > conftest.$ac_ext <<_LT_EOF
8202 #ifdef __cplusplus
8203 extern "C" {
8204 #endif
8205 char nm_test_var;
8206 void nm_test_func(void);
8207 void nm_test_func(void){}
8208 #ifdef __cplusplus
8209 }
8210 #endif
8211 int main(){nm_test_var='a';nm_test_func();return(0);}
8212 _LT_EOF
8213
8214 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8215 (eval $ac_compile) 2>&5
8216 ac_status=$?
8217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8218 test $ac_status = 0; }; then
8219 # Now try to grab the symbols.
8220 nlist=conftest.nm
8221 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8222 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8223 ac_status=$?
8224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8225 test $ac_status = 0; } && test -s "$nlist"; then
8226 # Try sorting and uniquifying the output.
8227 if sort "$nlist" | uniq > "$nlist"T; then
8228 mv -f "$nlist"T "$nlist"
8229 else
8230 rm -f "$nlist"T
8231 fi
8232
8233 # Make sure that we snagged all the symbols we need.
8234 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8235 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8236 cat <<_LT_EOF > conftest.$ac_ext
8237 #ifdef __cplusplus
8238 extern "C" {
8239 #endif
8240
8241 _LT_EOF
8242 # Now generate the symbol file.
8243 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8244
8245 cat <<_LT_EOF >> conftest.$ac_ext
8246
8247 /* The mapping between symbol names and symbols. */
8248 const struct {
8249 const char *name;
8250 void *address;
8251 }
8252 lt__PROGRAM__LTX_preloaded_symbols[] =
8253 {
8254 { "@PROGRAM@", (void *) 0 },
8255 _LT_EOF
8256 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8257 cat <<\_LT_EOF >> conftest.$ac_ext
8258 {0, (void *) 0}
8259 };
8260
8261 /* This works around a problem in FreeBSD linker */
8262 #ifdef FREEBSD_WORKAROUND
8263 static const void *lt_preloaded_setup() {
8264 return lt__PROGRAM__LTX_preloaded_symbols;
8265 }
8266 #endif
8267
8268 #ifdef __cplusplus
8269 }
8270 #endif
8271 _LT_EOF
8272 # Now try linking the two files.
8273 mv conftest.$ac_objext conftstm.$ac_objext
8274 lt_save_LIBS="$LIBS"
8275 lt_save_CFLAGS="$CFLAGS"
8276 LIBS="conftstm.$ac_objext"
8277 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8278 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8279 (eval $ac_link) 2>&5
8280 ac_status=$?
8281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8282 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8283 pipe_works=yes
8284 fi
8285 LIBS="$lt_save_LIBS"
8286 CFLAGS="$lt_save_CFLAGS"
8287 else
8288 echo "cannot find nm_test_func in $nlist" >&5
8289 fi
8290 else
8291 echo "cannot find nm_test_var in $nlist" >&5
8292 fi
8293 else
8294 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8295 fi
8296 else
8297 echo "$progname: failed program was:" >&5
8298 cat conftest.$ac_ext >&5
8299 fi
8300 rm -rf conftest* conftst*
8301
8302 # Do not use the global_symbol_pipe unless it works.
8303 if test "$pipe_works" = yes; then
8304 break
8305 else
8306 lt_cv_sys_global_symbol_pipe=
8307 fi
8308 done
8309
8310 fi
8311
8312 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8313 lt_cv_sys_global_symbol_to_cdecl=
8314 fi
8315 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8317 $as_echo "failed" >&6; }
8318 else
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8320 $as_echo "ok" >&6; }
8321 fi
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344 # Check whether --enable-libtool-lock was given.
8345 if test "${enable_libtool_lock+set}" = set; then :
8346 enableval=$enable_libtool_lock;
8347 fi
8348
8349 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8350
8351 # Some flags need to be propagated to the compiler or linker for good
8352 # libtool support.
8353 case $host in
8354 ia64-*-hpux*)
8355 # Find out which ABI we are using.
8356 echo 'int i;' > conftest.$ac_ext
8357 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8358 (eval $ac_compile) 2>&5
8359 ac_status=$?
8360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8361 test $ac_status = 0; }; then
8362 case `/usr/bin/file conftest.$ac_objext` in
8363 *ELF-32*)
8364 HPUX_IA64_MODE="32"
8365 ;;
8366 *ELF-64*)
8367 HPUX_IA64_MODE="64"
8368 ;;
8369 esac
8370 fi
8371 rm -rf conftest*
8372 ;;
8373 *-*-irix6*)
8374 # Find out which ABI we are using.
8375 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8376 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8377 (eval $ac_compile) 2>&5
8378 ac_status=$?
8379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8380 test $ac_status = 0; }; then
8381 if test "$lt_cv_prog_gnu_ld" = yes; then
8382 case `/usr/bin/file conftest.$ac_objext` in
8383 *32-bit*)
8384 LD="${LD-ld} -melf32bsmip"
8385 ;;
8386 *N32*)
8387 LD="${LD-ld} -melf32bmipn32"
8388 ;;
8389 *64-bit*)
8390 LD="${LD-ld} -melf64bmip"
8391 ;;
8392 esac
8393 else
8394 case `/usr/bin/file conftest.$ac_objext` in
8395 *32-bit*)
8396 LD="${LD-ld} -32"
8397 ;;
8398 *N32*)
8399 LD="${LD-ld} -n32"
8400 ;;
8401 *64-bit*)
8402 LD="${LD-ld} -64"
8403 ;;
8404 esac
8405 fi
8406 fi
8407 rm -rf conftest*
8408 ;;
8409
8410 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8411 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8412 # Find out which ABI we are using.
8413 echo 'int i;' > conftest.$ac_ext
8414 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8415 (eval $ac_compile) 2>&5
8416 ac_status=$?
8417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8418 test $ac_status = 0; }; then
8419 case `/usr/bin/file conftest.o` in
8420 *32-bit*)
8421 case $host in
8422 x86_64-*kfreebsd*-gnu)
8423 LD="${LD-ld} -m elf_i386_fbsd"
8424 ;;
8425 x86_64-*linux*)
8426 case `/usr/bin/file conftest.o` in
8427 *x86-64*)
8428 LD="${LD-ld} -m elf32_x86_64"
8429 ;;
8430 *)
8431 LD="${LD-ld} -m elf_i386"
8432 ;;
8433 esac
8434 ;;
8435 powerpc64le-*linux*)
8436 LD="${LD-ld} -m elf32lppclinux"
8437 ;;
8438 powerpc64-*linux*)
8439 LD="${LD-ld} -m elf32ppclinux"
8440 ;;
8441 s390x-*linux*)
8442 LD="${LD-ld} -m elf_s390"
8443 ;;
8444 sparc64-*linux*)
8445 LD="${LD-ld} -m elf32_sparc"
8446 ;;
8447 esac
8448 ;;
8449 *64-bit*)
8450 case $host in
8451 x86_64-*kfreebsd*-gnu)
8452 LD="${LD-ld} -m elf_x86_64_fbsd"
8453 ;;
8454 x86_64-*linux*)
8455 LD="${LD-ld} -m elf_x86_64"
8456 ;;
8457 powerpcle-*linux*)
8458 LD="${LD-ld} -m elf64lppc"
8459 ;;
8460 powerpc-*linux*)
8461 LD="${LD-ld} -m elf64ppc"
8462 ;;
8463 s390*-*linux*|s390*-*tpf*)
8464 LD="${LD-ld} -m elf64_s390"
8465 ;;
8466 sparc*-*linux*)
8467 LD="${LD-ld} -m elf64_sparc"
8468 ;;
8469 esac
8470 ;;
8471 esac
8472 fi
8473 rm -rf conftest*
8474 ;;
8475
8476 *-*-sco3.2v5*)
8477 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8478 SAVE_CFLAGS="$CFLAGS"
8479 CFLAGS="$CFLAGS -belf"
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8481 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8482 if ${lt_cv_cc_needs_belf+:} false; then :
8483 $as_echo_n "(cached) " >&6
8484 else
8485 ac_ext=c
8486 ac_cpp='$CPP $CPPFLAGS'
8487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8490
8491 if test x$gcc_no_link = xyes; then
8492 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8493 fi
8494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8495 /* end confdefs.h. */
8496
8497 int
8498 main ()
8499 {
8500
8501 ;
8502 return 0;
8503 }
8504 _ACEOF
8505 if ac_fn_c_try_link "$LINENO"; then :
8506 lt_cv_cc_needs_belf=yes
8507 else
8508 lt_cv_cc_needs_belf=no
8509 fi
8510 rm -f core conftest.err conftest.$ac_objext \
8511 conftest$ac_exeext conftest.$ac_ext
8512 ac_ext=c
8513 ac_cpp='$CPP $CPPFLAGS'
8514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8517
8518 fi
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8520 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8521 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8522 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8523 CFLAGS="$SAVE_CFLAGS"
8524 fi
8525 ;;
8526 sparc*-*solaris*)
8527 # Find out which ABI we are using.
8528 echo 'int i;' > conftest.$ac_ext
8529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8530 (eval $ac_compile) 2>&5
8531 ac_status=$?
8532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8533 test $ac_status = 0; }; then
8534 case `/usr/bin/file conftest.o` in
8535 *64-bit*)
8536 case $lt_cv_prog_gnu_ld in
8537 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8538 *)
8539 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8540 LD="${LD-ld} -64"
8541 fi
8542 ;;
8543 esac
8544 ;;
8545 esac
8546 fi
8547 rm -rf conftest*
8548 ;;
8549 esac
8550
8551 need_locks="$enable_libtool_lock"
8552
8553
8554 case $host_os in
8555 rhapsody* | darwin*)
8556 if test -n "$ac_tool_prefix"; then
8557 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8558 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8560 $as_echo_n "checking for $ac_word... " >&6; }
8561 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8562 $as_echo_n "(cached) " >&6
8563 else
8564 if test -n "$DSYMUTIL"; then
8565 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8566 else
8567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8568 for as_dir in $PATH
8569 do
8570 IFS=$as_save_IFS
8571 test -z "$as_dir" && as_dir=.
8572 for ac_exec_ext in '' $ac_executable_extensions; do
8573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8574 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8576 break 2
8577 fi
8578 done
8579 done
8580 IFS=$as_save_IFS
8581
8582 fi
8583 fi
8584 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8585 if test -n "$DSYMUTIL"; then
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8587 $as_echo "$DSYMUTIL" >&6; }
8588 else
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8590 $as_echo "no" >&6; }
8591 fi
8592
8593
8594 fi
8595 if test -z "$ac_cv_prog_DSYMUTIL"; then
8596 ac_ct_DSYMUTIL=$DSYMUTIL
8597 # Extract the first word of "dsymutil", so it can be a program name with args.
8598 set dummy dsymutil; ac_word=$2
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8600 $as_echo_n "checking for $ac_word... " >&6; }
8601 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8602 $as_echo_n "(cached) " >&6
8603 else
8604 if test -n "$ac_ct_DSYMUTIL"; then
8605 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8606 else
8607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8608 for as_dir in $PATH
8609 do
8610 IFS=$as_save_IFS
8611 test -z "$as_dir" && as_dir=.
8612 for ac_exec_ext in '' $ac_executable_extensions; do
8613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8614 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8616 break 2
8617 fi
8618 done
8619 done
8620 IFS=$as_save_IFS
8621
8622 fi
8623 fi
8624 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8625 if test -n "$ac_ct_DSYMUTIL"; then
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8627 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8628 else
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8630 $as_echo "no" >&6; }
8631 fi
8632
8633 if test "x$ac_ct_DSYMUTIL" = x; then
8634 DSYMUTIL=":"
8635 else
8636 case $cross_compiling:$ac_tool_warned in
8637 yes:)
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8640 ac_tool_warned=yes ;;
8641 esac
8642 DSYMUTIL=$ac_ct_DSYMUTIL
8643 fi
8644 else
8645 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8646 fi
8647
8648 if test -n "$ac_tool_prefix"; then
8649 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8650 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8652 $as_echo_n "checking for $ac_word... " >&6; }
8653 if ${ac_cv_prog_NMEDIT+:} false; then :
8654 $as_echo_n "(cached) " >&6
8655 else
8656 if test -n "$NMEDIT"; then
8657 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8658 else
8659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8660 for as_dir in $PATH
8661 do
8662 IFS=$as_save_IFS
8663 test -z "$as_dir" && as_dir=.
8664 for ac_exec_ext in '' $ac_executable_extensions; do
8665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8666 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8668 break 2
8669 fi
8670 done
8671 done
8672 IFS=$as_save_IFS
8673
8674 fi
8675 fi
8676 NMEDIT=$ac_cv_prog_NMEDIT
8677 if test -n "$NMEDIT"; then
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8679 $as_echo "$NMEDIT" >&6; }
8680 else
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8682 $as_echo "no" >&6; }
8683 fi
8684
8685
8686 fi
8687 if test -z "$ac_cv_prog_NMEDIT"; then
8688 ac_ct_NMEDIT=$NMEDIT
8689 # Extract the first word of "nmedit", so it can be a program name with args.
8690 set dummy nmedit; ac_word=$2
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8692 $as_echo_n "checking for $ac_word... " >&6; }
8693 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8694 $as_echo_n "(cached) " >&6
8695 else
8696 if test -n "$ac_ct_NMEDIT"; then
8697 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8698 else
8699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8700 for as_dir in $PATH
8701 do
8702 IFS=$as_save_IFS
8703 test -z "$as_dir" && as_dir=.
8704 for ac_exec_ext in '' $ac_executable_extensions; do
8705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8706 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8708 break 2
8709 fi
8710 done
8711 done
8712 IFS=$as_save_IFS
8713
8714 fi
8715 fi
8716 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8717 if test -n "$ac_ct_NMEDIT"; then
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8719 $as_echo "$ac_ct_NMEDIT" >&6; }
8720 else
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8722 $as_echo "no" >&6; }
8723 fi
8724
8725 if test "x$ac_ct_NMEDIT" = x; then
8726 NMEDIT=":"
8727 else
8728 case $cross_compiling:$ac_tool_warned in
8729 yes:)
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8732 ac_tool_warned=yes ;;
8733 esac
8734 NMEDIT=$ac_ct_NMEDIT
8735 fi
8736 else
8737 NMEDIT="$ac_cv_prog_NMEDIT"
8738 fi
8739
8740 if test -n "$ac_tool_prefix"; then
8741 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8742 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8744 $as_echo_n "checking for $ac_word... " >&6; }
8745 if ${ac_cv_prog_LIPO+:} false; then :
8746 $as_echo_n "(cached) " >&6
8747 else
8748 if test -n "$LIPO"; then
8749 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8750 else
8751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8752 for as_dir in $PATH
8753 do
8754 IFS=$as_save_IFS
8755 test -z "$as_dir" && as_dir=.
8756 for ac_exec_ext in '' $ac_executable_extensions; do
8757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8758 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8760 break 2
8761 fi
8762 done
8763 done
8764 IFS=$as_save_IFS
8765
8766 fi
8767 fi
8768 LIPO=$ac_cv_prog_LIPO
8769 if test -n "$LIPO"; then
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8771 $as_echo "$LIPO" >&6; }
8772 else
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8774 $as_echo "no" >&6; }
8775 fi
8776
8777
8778 fi
8779 if test -z "$ac_cv_prog_LIPO"; then
8780 ac_ct_LIPO=$LIPO
8781 # Extract the first word of "lipo", so it can be a program name with args.
8782 set dummy lipo; ac_word=$2
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8784 $as_echo_n "checking for $ac_word... " >&6; }
8785 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8786 $as_echo_n "(cached) " >&6
8787 else
8788 if test -n "$ac_ct_LIPO"; then
8789 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8790 else
8791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8792 for as_dir in $PATH
8793 do
8794 IFS=$as_save_IFS
8795 test -z "$as_dir" && as_dir=.
8796 for ac_exec_ext in '' $ac_executable_extensions; do
8797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8798 ac_cv_prog_ac_ct_LIPO="lipo"
8799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8800 break 2
8801 fi
8802 done
8803 done
8804 IFS=$as_save_IFS
8805
8806 fi
8807 fi
8808 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8809 if test -n "$ac_ct_LIPO"; then
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8811 $as_echo "$ac_ct_LIPO" >&6; }
8812 else
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8814 $as_echo "no" >&6; }
8815 fi
8816
8817 if test "x$ac_ct_LIPO" = x; then
8818 LIPO=":"
8819 else
8820 case $cross_compiling:$ac_tool_warned in
8821 yes:)
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8823 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8824 ac_tool_warned=yes ;;
8825 esac
8826 LIPO=$ac_ct_LIPO
8827 fi
8828 else
8829 LIPO="$ac_cv_prog_LIPO"
8830 fi
8831
8832 if test -n "$ac_tool_prefix"; then
8833 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8834 set dummy ${ac_tool_prefix}otool; ac_word=$2
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8836 $as_echo_n "checking for $ac_word... " >&6; }
8837 if ${ac_cv_prog_OTOOL+:} false; then :
8838 $as_echo_n "(cached) " >&6
8839 else
8840 if test -n "$OTOOL"; then
8841 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8842 else
8843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8844 for as_dir in $PATH
8845 do
8846 IFS=$as_save_IFS
8847 test -z "$as_dir" && as_dir=.
8848 for ac_exec_ext in '' $ac_executable_extensions; do
8849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8850 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8852 break 2
8853 fi
8854 done
8855 done
8856 IFS=$as_save_IFS
8857
8858 fi
8859 fi
8860 OTOOL=$ac_cv_prog_OTOOL
8861 if test -n "$OTOOL"; then
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8863 $as_echo "$OTOOL" >&6; }
8864 else
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8866 $as_echo "no" >&6; }
8867 fi
8868
8869
8870 fi
8871 if test -z "$ac_cv_prog_OTOOL"; then
8872 ac_ct_OTOOL=$OTOOL
8873 # Extract the first word of "otool", so it can be a program name with args.
8874 set dummy otool; ac_word=$2
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8876 $as_echo_n "checking for $ac_word... " >&6; }
8877 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8878 $as_echo_n "(cached) " >&6
8879 else
8880 if test -n "$ac_ct_OTOOL"; then
8881 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8882 else
8883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8884 for as_dir in $PATH
8885 do
8886 IFS=$as_save_IFS
8887 test -z "$as_dir" && as_dir=.
8888 for ac_exec_ext in '' $ac_executable_extensions; do
8889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8890 ac_cv_prog_ac_ct_OTOOL="otool"
8891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8892 break 2
8893 fi
8894 done
8895 done
8896 IFS=$as_save_IFS
8897
8898 fi
8899 fi
8900 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8901 if test -n "$ac_ct_OTOOL"; then
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8903 $as_echo "$ac_ct_OTOOL" >&6; }
8904 else
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8906 $as_echo "no" >&6; }
8907 fi
8908
8909 if test "x$ac_ct_OTOOL" = x; then
8910 OTOOL=":"
8911 else
8912 case $cross_compiling:$ac_tool_warned in
8913 yes:)
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8916 ac_tool_warned=yes ;;
8917 esac
8918 OTOOL=$ac_ct_OTOOL
8919 fi
8920 else
8921 OTOOL="$ac_cv_prog_OTOOL"
8922 fi
8923
8924 if test -n "$ac_tool_prefix"; then
8925 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8926 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8928 $as_echo_n "checking for $ac_word... " >&6; }
8929 if ${ac_cv_prog_OTOOL64+:} false; then :
8930 $as_echo_n "(cached) " >&6
8931 else
8932 if test -n "$OTOOL64"; then
8933 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8934 else
8935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8936 for as_dir in $PATH
8937 do
8938 IFS=$as_save_IFS
8939 test -z "$as_dir" && as_dir=.
8940 for ac_exec_ext in '' $ac_executable_extensions; do
8941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8942 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8944 break 2
8945 fi
8946 done
8947 done
8948 IFS=$as_save_IFS
8949
8950 fi
8951 fi
8952 OTOOL64=$ac_cv_prog_OTOOL64
8953 if test -n "$OTOOL64"; then
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8955 $as_echo "$OTOOL64" >&6; }
8956 else
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8958 $as_echo "no" >&6; }
8959 fi
8960
8961
8962 fi
8963 if test -z "$ac_cv_prog_OTOOL64"; then
8964 ac_ct_OTOOL64=$OTOOL64
8965 # Extract the first word of "otool64", so it can be a program name with args.
8966 set dummy otool64; ac_word=$2
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8968 $as_echo_n "checking for $ac_word... " >&6; }
8969 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8970 $as_echo_n "(cached) " >&6
8971 else
8972 if test -n "$ac_ct_OTOOL64"; then
8973 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8974 else
8975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8976 for as_dir in $PATH
8977 do
8978 IFS=$as_save_IFS
8979 test -z "$as_dir" && as_dir=.
8980 for ac_exec_ext in '' $ac_executable_extensions; do
8981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8982 ac_cv_prog_ac_ct_OTOOL64="otool64"
8983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8984 break 2
8985 fi
8986 done
8987 done
8988 IFS=$as_save_IFS
8989
8990 fi
8991 fi
8992 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8993 if test -n "$ac_ct_OTOOL64"; then
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8995 $as_echo "$ac_ct_OTOOL64" >&6; }
8996 else
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8998 $as_echo "no" >&6; }
8999 fi
9000
9001 if test "x$ac_ct_OTOOL64" = x; then
9002 OTOOL64=":"
9003 else
9004 case $cross_compiling:$ac_tool_warned in
9005 yes:)
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9008 ac_tool_warned=yes ;;
9009 esac
9010 OTOOL64=$ac_ct_OTOOL64
9011 fi
9012 else
9013 OTOOL64="$ac_cv_prog_OTOOL64"
9014 fi
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9043 $as_echo_n "checking for -single_module linker flag... " >&6; }
9044 if ${lt_cv_apple_cc_single_mod+:} false; then :
9045 $as_echo_n "(cached) " >&6
9046 else
9047 lt_cv_apple_cc_single_mod=no
9048 if test -z "${LT_MULTI_MODULE}"; then
9049 # By default we will add the -single_module flag. You can override
9050 # by either setting the environment variable LT_MULTI_MODULE
9051 # non-empty at configure time, or by adding -multi_module to the
9052 # link flags.
9053 rm -rf libconftest.dylib*
9054 echo "int foo(void){return 1;}" > conftest.c
9055 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9056 -dynamiclib -Wl,-single_module conftest.c" >&5
9057 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9058 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9059 _lt_result=$?
9060 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9061 lt_cv_apple_cc_single_mod=yes
9062 else
9063 cat conftest.err >&5
9064 fi
9065 rm -rf libconftest.dylib*
9066 rm -f conftest.*
9067 fi
9068 fi
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9070 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9072 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9073 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9074 $as_echo_n "(cached) " >&6
9075 else
9076 lt_cv_ld_exported_symbols_list=no
9077 save_LDFLAGS=$LDFLAGS
9078 echo "_main" > conftest.sym
9079 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9080 if test x$gcc_no_link = xyes; then
9081 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9082 fi
9083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9084 /* end confdefs.h. */
9085
9086 int
9087 main ()
9088 {
9089
9090 ;
9091 return 0;
9092 }
9093 _ACEOF
9094 if ac_fn_c_try_link "$LINENO"; then :
9095 lt_cv_ld_exported_symbols_list=yes
9096 else
9097 lt_cv_ld_exported_symbols_list=no
9098 fi
9099 rm -f core conftest.err conftest.$ac_objext \
9100 conftest$ac_exeext conftest.$ac_ext
9101 LDFLAGS="$save_LDFLAGS"
9102
9103 fi
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9105 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9107 $as_echo_n "checking for -force_load linker flag... " >&6; }
9108 if ${lt_cv_ld_force_load+:} false; then :
9109 $as_echo_n "(cached) " >&6
9110 else
9111 lt_cv_ld_force_load=no
9112 cat > conftest.c << _LT_EOF
9113 int forced_loaded() { return 2;}
9114 _LT_EOF
9115 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9116 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9117 echo "$AR cru libconftest.a conftest.o" >&5
9118 $AR cru libconftest.a conftest.o 2>&5
9119 cat > conftest.c << _LT_EOF
9120 int main() { return 0;}
9121 _LT_EOF
9122 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9123 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9124 _lt_result=$?
9125 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9126 lt_cv_ld_force_load=yes
9127 else
9128 cat conftest.err >&5
9129 fi
9130 rm -f conftest.err libconftest.a conftest conftest.c
9131 rm -rf conftest.dSYM
9132
9133 fi
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9135 $as_echo "$lt_cv_ld_force_load" >&6; }
9136 case $host_os in
9137 rhapsody* | darwin1.[012])
9138 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9139 darwin1.*)
9140 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9141 darwin*) # darwin 5.x on
9142 # if running on 10.5 or later, the deployment target defaults
9143 # to the OS version, if on x86, and 10.4, the deployment
9144 # target defaults to 10.4. Don't you love it?
9145 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9146 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9147 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9148 10.[012][,.]*)
9149 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9150 10.*)
9151 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9152 esac
9153 ;;
9154 esac
9155 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9156 _lt_dar_single_mod='$single_module'
9157 fi
9158 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9159 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9160 else
9161 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9162 fi
9163 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9164 _lt_dsymutil='~$DSYMUTIL $lib || :'
9165 else
9166 _lt_dsymutil=
9167 fi
9168 ;;
9169 esac
9170
9171 for ac_header in dlfcn.h
9172 do :
9173 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9174 "
9175 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9176 cat >>confdefs.h <<_ACEOF
9177 #define HAVE_DLFCN_H 1
9178 _ACEOF
9179
9180 fi
9181
9182 done
9183
9184
9185
9186
9187
9188 # Set options
9189
9190
9191
9192
9193 enable_win32_dll=no
9194
9195
9196 # Check whether --enable-shared was given.
9197 if test "${enable_shared+set}" = set; then :
9198 enableval=$enable_shared; p=${PACKAGE-default}
9199 case $enableval in
9200 yes) enable_shared=yes ;;
9201 no) enable_shared=no ;;
9202 *)
9203 enable_shared=no
9204 # Look at the argument we got. We use all the common list separators.
9205 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9206 for pkg in $enableval; do
9207 IFS="$lt_save_ifs"
9208 if test "X$pkg" = "X$p"; then
9209 enable_shared=yes
9210 fi
9211 done
9212 IFS="$lt_save_ifs"
9213 ;;
9214 esac
9215 else
9216 enable_shared=yes
9217 fi
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227 # Check whether --enable-static was given.
9228 if test "${enable_static+set}" = set; then :
9229 enableval=$enable_static; p=${PACKAGE-default}
9230 case $enableval in
9231 yes) enable_static=yes ;;
9232 no) enable_static=no ;;
9233 *)
9234 enable_static=no
9235 # Look at the argument we got. We use all the common list separators.
9236 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9237 for pkg in $enableval; do
9238 IFS="$lt_save_ifs"
9239 if test "X$pkg" = "X$p"; then
9240 enable_static=yes
9241 fi
9242 done
9243 IFS="$lt_save_ifs"
9244 ;;
9245 esac
9246 else
9247 enable_static=yes
9248 fi
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259 # Check whether --with-pic was given.
9260 if test "${with_pic+set}" = set; then :
9261 withval=$with_pic; pic_mode="$withval"
9262 else
9263 pic_mode=default
9264 fi
9265
9266
9267 test -z "$pic_mode" && pic_mode=default
9268
9269
9270
9271
9272
9273
9274
9275 # Check whether --enable-fast-install was given.
9276 if test "${enable_fast_install+set}" = set; then :
9277 enableval=$enable_fast_install; p=${PACKAGE-default}
9278 case $enableval in
9279 yes) enable_fast_install=yes ;;
9280 no) enable_fast_install=no ;;
9281 *)
9282 enable_fast_install=no
9283 # Look at the argument we got. We use all the common list separators.
9284 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9285 for pkg in $enableval; do
9286 IFS="$lt_save_ifs"
9287 if test "X$pkg" = "X$p"; then
9288 enable_fast_install=yes
9289 fi
9290 done
9291 IFS="$lt_save_ifs"
9292 ;;
9293 esac
9294 else
9295 enable_fast_install=yes
9296 fi
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308 # This can be used to rebuild libtool when needed
9309 LIBTOOL_DEPS="$ltmain"
9310
9311 # Always use our own libtool.
9312 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339 test -z "$LN_S" && LN_S="ln -s"
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354 if test -n "${ZSH_VERSION+set}" ; then
9355 setopt NO_GLOB_SUBST
9356 fi
9357
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9359 $as_echo_n "checking for objdir... " >&6; }
9360 if ${lt_cv_objdir+:} false; then :
9361 $as_echo_n "(cached) " >&6
9362 else
9363 rm -f .libs 2>/dev/null
9364 mkdir .libs 2>/dev/null
9365 if test -d .libs; then
9366 lt_cv_objdir=.libs
9367 else
9368 # MS-DOS does not allow filenames that begin with a dot.
9369 lt_cv_objdir=_libs
9370 fi
9371 rmdir .libs 2>/dev/null
9372 fi
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9374 $as_echo "$lt_cv_objdir" >&6; }
9375 objdir=$lt_cv_objdir
9376
9377
9378
9379
9380
9381 cat >>confdefs.h <<_ACEOF
9382 #define LT_OBJDIR "$lt_cv_objdir/"
9383 _ACEOF
9384
9385
9386
9387
9388 case $host_os in
9389 aix3*)
9390 # AIX sometimes has problems with the GCC collect2 program. For some
9391 # reason, if we set the COLLECT_NAMES environment variable, the problems
9392 # vanish in a puff of smoke.
9393 if test "X${COLLECT_NAMES+set}" != Xset; then
9394 COLLECT_NAMES=
9395 export COLLECT_NAMES
9396 fi
9397 ;;
9398 esac
9399
9400 # Global variables:
9401 ofile=libtool
9402 can_build_shared=yes
9403
9404 # All known linkers require a `.a' archive for static linking (except MSVC,
9405 # which needs '.lib').
9406 libext=a
9407
9408 with_gnu_ld="$lt_cv_prog_gnu_ld"
9409
9410 old_CC="$CC"
9411 old_CFLAGS="$CFLAGS"
9412
9413 # Set sane defaults for various variables
9414 test -z "$CC" && CC=cc
9415 test -z "$LTCC" && LTCC=$CC
9416 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9417 test -z "$LD" && LD=ld
9418 test -z "$ac_objext" && ac_objext=o
9419
9420 for cc_temp in $compiler""; do
9421 case $cc_temp in
9422 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9423 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9424 \-*) ;;
9425 *) break;;
9426 esac
9427 done
9428 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9429
9430
9431 # Only perform the check for file, if the check method requires it
9432 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9433 case $deplibs_check_method in
9434 file_magic*)
9435 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9437 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9438 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9439 $as_echo_n "(cached) " >&6
9440 else
9441 case $MAGIC_CMD in
9442 [\\/*] | ?:[\\/]*)
9443 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9444 ;;
9445 *)
9446 lt_save_MAGIC_CMD="$MAGIC_CMD"
9447 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9448 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9449 for ac_dir in $ac_dummy; do
9450 IFS="$lt_save_ifs"
9451 test -z "$ac_dir" && ac_dir=.
9452 if test -f $ac_dir/${ac_tool_prefix}file; then
9453 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9454 if test -n "$file_magic_test_file"; then
9455 case $deplibs_check_method in
9456 "file_magic "*)
9457 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9458 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9459 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9460 $EGREP "$file_magic_regex" > /dev/null; then
9461 :
9462 else
9463 cat <<_LT_EOF 1>&2
9464
9465 *** Warning: the command libtool uses to detect shared libraries,
9466 *** $file_magic_cmd, produces output that libtool cannot recognize.
9467 *** The result is that libtool may fail to recognize shared libraries
9468 *** as such. This will affect the creation of libtool libraries that
9469 *** depend on shared libraries, but programs linked with such libtool
9470 *** libraries will work regardless of this problem. Nevertheless, you
9471 *** may want to report the problem to your system manager and/or to
9472 *** bug-libtool@gnu.org
9473
9474 _LT_EOF
9475 fi ;;
9476 esac
9477 fi
9478 break
9479 fi
9480 done
9481 IFS="$lt_save_ifs"
9482 MAGIC_CMD="$lt_save_MAGIC_CMD"
9483 ;;
9484 esac
9485 fi
9486
9487 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9488 if test -n "$MAGIC_CMD"; then
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9490 $as_echo "$MAGIC_CMD" >&6; }
9491 else
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9493 $as_echo "no" >&6; }
9494 fi
9495
9496
9497
9498
9499
9500 if test -z "$lt_cv_path_MAGIC_CMD"; then
9501 if test -n "$ac_tool_prefix"; then
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9503 $as_echo_n "checking for file... " >&6; }
9504 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9505 $as_echo_n "(cached) " >&6
9506 else
9507 case $MAGIC_CMD in
9508 [\\/*] | ?:[\\/]*)
9509 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9510 ;;
9511 *)
9512 lt_save_MAGIC_CMD="$MAGIC_CMD"
9513 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9514 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9515 for ac_dir in $ac_dummy; do
9516 IFS="$lt_save_ifs"
9517 test -z "$ac_dir" && ac_dir=.
9518 if test -f $ac_dir/file; then
9519 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9520 if test -n "$file_magic_test_file"; then
9521 case $deplibs_check_method in
9522 "file_magic "*)
9523 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9524 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9525 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9526 $EGREP "$file_magic_regex" > /dev/null; then
9527 :
9528 else
9529 cat <<_LT_EOF 1>&2
9530
9531 *** Warning: the command libtool uses to detect shared libraries,
9532 *** $file_magic_cmd, produces output that libtool cannot recognize.
9533 *** The result is that libtool may fail to recognize shared libraries
9534 *** as such. This will affect the creation of libtool libraries that
9535 *** depend on shared libraries, but programs linked with such libtool
9536 *** libraries will work regardless of this problem. Nevertheless, you
9537 *** may want to report the problem to your system manager and/or to
9538 *** bug-libtool@gnu.org
9539
9540 _LT_EOF
9541 fi ;;
9542 esac
9543 fi
9544 break
9545 fi
9546 done
9547 IFS="$lt_save_ifs"
9548 MAGIC_CMD="$lt_save_MAGIC_CMD"
9549 ;;
9550 esac
9551 fi
9552
9553 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9554 if test -n "$MAGIC_CMD"; then
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9556 $as_echo "$MAGIC_CMD" >&6; }
9557 else
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9559 $as_echo "no" >&6; }
9560 fi
9561
9562
9563 else
9564 MAGIC_CMD=:
9565 fi
9566 fi
9567
9568 fi
9569 ;;
9570 esac
9571
9572 # Use C for the default configuration in the libtool script
9573
9574 lt_save_CC="$CC"
9575 ac_ext=c
9576 ac_cpp='$CPP $CPPFLAGS'
9577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9580
9581
9582 # Source file extension for C test sources.
9583 ac_ext=c
9584
9585 # Object file extension for compiled C test sources.
9586 objext=o
9587 objext=$objext
9588
9589 # Code to be used in simple compile tests
9590 lt_simple_compile_test_code="int some_variable = 0;"
9591
9592 # Code to be used in simple link tests
9593 lt_simple_link_test_code='int main(){return(0);}'
9594
9595
9596
9597
9598
9599
9600
9601 # If no C compiler was specified, use CC.
9602 LTCC=${LTCC-"$CC"}
9603
9604 # If no C compiler flags were specified, use CFLAGS.
9605 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9606
9607 # Allow CC to be a program name with arguments.
9608 compiler=$CC
9609
9610 # Save the default compiler, since it gets overwritten when the other
9611 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9612 compiler_DEFAULT=$CC
9613
9614 # save warnings/boilerplate of simple test code
9615 ac_outfile=conftest.$ac_objext
9616 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9617 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9618 _lt_compiler_boilerplate=`cat conftest.err`
9619 $RM conftest*
9620
9621 ac_outfile=conftest.$ac_objext
9622 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9623 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9624 _lt_linker_boilerplate=`cat conftest.err`
9625 $RM -r conftest*
9626
9627
9628 ## CAVEAT EMPTOR:
9629 ## There is no encapsulation within the following macros, do not change
9630 ## the running order or otherwise move them around unless you know exactly
9631 ## what you are doing...
9632 if test -n "$compiler"; then
9633
9634 lt_prog_compiler_no_builtin_flag=
9635
9636 if test "$GCC" = yes; then
9637 case $cc_basename in
9638 nvcc*)
9639 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9640 *)
9641 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9642 esac
9643
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9645 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9646 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9647 $as_echo_n "(cached) " >&6
9648 else
9649 lt_cv_prog_compiler_rtti_exceptions=no
9650 ac_outfile=conftest.$ac_objext
9651 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9652 lt_compiler_flag="-fno-rtti -fno-exceptions"
9653 # Insert the option either (1) after the last *FLAGS variable, or
9654 # (2) before a word containing "conftest.", or (3) at the end.
9655 # Note that $ac_compile itself does not contain backslashes and begins
9656 # with a dollar sign (not a hyphen), so the echo should work correctly.
9657 # The option is referenced via a variable to avoid confusing sed.
9658 lt_compile=`echo "$ac_compile" | $SED \
9659 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9660 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9661 -e 's:$: $lt_compiler_flag:'`
9662 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9663 (eval "$lt_compile" 2>conftest.err)
9664 ac_status=$?
9665 cat conftest.err >&5
9666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667 if (exit $ac_status) && test -s "$ac_outfile"; then
9668 # The compiler can only warn and ignore the option if not recognized
9669 # So say no if there are warnings other than the usual output.
9670 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9671 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9672 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9673 lt_cv_prog_compiler_rtti_exceptions=yes
9674 fi
9675 fi
9676 $RM conftest*
9677
9678 fi
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9680 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9681
9682 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9683 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9684 else
9685 :
9686 fi
9687
9688 fi
9689
9690
9691
9692
9693
9694
9695 lt_prog_compiler_wl=
9696 lt_prog_compiler_pic=
9697 lt_prog_compiler_static=
9698
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9700 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9701
9702 if test "$GCC" = yes; then
9703 lt_prog_compiler_wl='-Wl,'
9704 lt_prog_compiler_static='-static'
9705
9706 case $host_os in
9707 aix*)
9708 # All AIX code is PIC.
9709 if test "$host_cpu" = ia64; then
9710 # AIX 5 now supports IA64 processor
9711 lt_prog_compiler_static='-Bstatic'
9712 fi
9713 lt_prog_compiler_pic='-fPIC'
9714 ;;
9715
9716 amigaos*)
9717 case $host_cpu in
9718 powerpc)
9719 # see comment about AmigaOS4 .so support
9720 lt_prog_compiler_pic='-fPIC'
9721 ;;
9722 m68k)
9723 # FIXME: we need at least 68020 code to build shared libraries, but
9724 # adding the `-m68020' flag to GCC prevents building anything better,
9725 # like `-m68040'.
9726 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9727 ;;
9728 esac
9729 ;;
9730
9731 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9732 # PIC is the default for these OSes.
9733 ;;
9734
9735 mingw* | cygwin* | pw32* | os2* | cegcc*)
9736 # This hack is so that the source file can tell whether it is being
9737 # built for inclusion in a dll (and should export symbols for example).
9738 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9739 # (--disable-auto-import) libraries
9740 lt_prog_compiler_pic='-DDLL_EXPORT'
9741 ;;
9742
9743 darwin* | rhapsody*)
9744 # PIC is the default on this platform
9745 # Common symbols not allowed in MH_DYLIB files
9746 lt_prog_compiler_pic='-fno-common'
9747 ;;
9748
9749 haiku*)
9750 # PIC is the default for Haiku.
9751 # The "-static" flag exists, but is broken.
9752 lt_prog_compiler_static=
9753 ;;
9754
9755 hpux*)
9756 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9757 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9758 # sets the default TLS model and affects inlining.
9759 case $host_cpu in
9760 hppa*64*)
9761 # +Z the default
9762 ;;
9763 *)
9764 lt_prog_compiler_pic='-fPIC'
9765 ;;
9766 esac
9767 ;;
9768
9769 interix[3-9]*)
9770 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9771 # Instead, we relocate shared libraries at runtime.
9772 ;;
9773
9774 msdosdjgpp*)
9775 # Just because we use GCC doesn't mean we suddenly get shared libraries
9776 # on systems that don't support them.
9777 lt_prog_compiler_can_build_shared=no
9778 enable_shared=no
9779 ;;
9780
9781 *nto* | *qnx*)
9782 # QNX uses GNU C++, but need to define -shared option too, otherwise
9783 # it will coredump.
9784 lt_prog_compiler_pic='-fPIC -shared'
9785 ;;
9786
9787 sysv4*MP*)
9788 if test -d /usr/nec; then
9789 lt_prog_compiler_pic=-Kconform_pic
9790 fi
9791 ;;
9792
9793 *)
9794 lt_prog_compiler_pic='-fPIC'
9795 ;;
9796 esac
9797
9798 case $cc_basename in
9799 nvcc*) # Cuda Compiler Driver 2.2
9800 lt_prog_compiler_wl='-Xlinker '
9801 lt_prog_compiler_pic='-Xcompiler -fPIC'
9802 ;;
9803 esac
9804 else
9805 # PORTME Check for flag to pass linker flags through the system compiler.
9806 case $host_os in
9807 aix*)
9808 lt_prog_compiler_wl='-Wl,'
9809 if test "$host_cpu" = ia64; then
9810 # AIX 5 now supports IA64 processor
9811 lt_prog_compiler_static='-Bstatic'
9812 else
9813 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9814 fi
9815 ;;
9816
9817 mingw* | cygwin* | pw32* | os2* | cegcc*)
9818 # This hack is so that the source file can tell whether it is being
9819 # built for inclusion in a dll (and should export symbols for example).
9820 lt_prog_compiler_pic='-DDLL_EXPORT'
9821 ;;
9822
9823 hpux9* | hpux10* | hpux11*)
9824 lt_prog_compiler_wl='-Wl,'
9825 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9826 # not for PA HP-UX.
9827 case $host_cpu in
9828 hppa*64*|ia64*)
9829 # +Z the default
9830 ;;
9831 *)
9832 lt_prog_compiler_pic='+Z'
9833 ;;
9834 esac
9835 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9836 lt_prog_compiler_static='${wl}-a ${wl}archive'
9837 ;;
9838
9839 irix5* | irix6* | nonstopux*)
9840 lt_prog_compiler_wl='-Wl,'
9841 # PIC (with -KPIC) is the default.
9842 lt_prog_compiler_static='-non_shared'
9843 ;;
9844
9845 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9846 case $cc_basename in
9847 # old Intel for x86_64 which still supported -KPIC.
9848 ecc*)
9849 lt_prog_compiler_wl='-Wl,'
9850 lt_prog_compiler_pic='-KPIC'
9851 lt_prog_compiler_static='-static'
9852 ;;
9853 # icc used to be incompatible with GCC.
9854 # ICC 10 doesn't accept -KPIC any more.
9855 icc* | ifort*)
9856 lt_prog_compiler_wl='-Wl,'
9857 lt_prog_compiler_pic='-fPIC'
9858 lt_prog_compiler_static='-static'
9859 ;;
9860 # Lahey Fortran 8.1.
9861 lf95*)
9862 lt_prog_compiler_wl='-Wl,'
9863 lt_prog_compiler_pic='--shared'
9864 lt_prog_compiler_static='--static'
9865 ;;
9866 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9867 # Portland Group compilers (*not* the Pentium gcc compiler,
9868 # which looks to be a dead project)
9869 lt_prog_compiler_wl='-Wl,'
9870 lt_prog_compiler_pic='-fpic'
9871 lt_prog_compiler_static='-Bstatic'
9872 ;;
9873 ccc*)
9874 lt_prog_compiler_wl='-Wl,'
9875 # All Alpha code is PIC.
9876 lt_prog_compiler_static='-non_shared'
9877 ;;
9878 xl* | bgxl* | bgf* | mpixl*)
9879 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9880 lt_prog_compiler_wl='-Wl,'
9881 lt_prog_compiler_pic='-qpic'
9882 lt_prog_compiler_static='-qstaticlink'
9883 ;;
9884 *)
9885 case `$CC -V 2>&1 | sed 5q` in
9886 *Sun\ F* | *Sun*Fortran*)
9887 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9888 lt_prog_compiler_pic='-KPIC'
9889 lt_prog_compiler_static='-Bstatic'
9890 lt_prog_compiler_wl=''
9891 ;;
9892 *Sun\ C*)
9893 # Sun C 5.9
9894 lt_prog_compiler_pic='-KPIC'
9895 lt_prog_compiler_static='-Bstatic'
9896 lt_prog_compiler_wl='-Wl,'
9897 ;;
9898 esac
9899 ;;
9900 esac
9901 ;;
9902
9903 newsos6)
9904 lt_prog_compiler_pic='-KPIC'
9905 lt_prog_compiler_static='-Bstatic'
9906 ;;
9907
9908 *nto* | *qnx*)
9909 # QNX uses GNU C++, but need to define -shared option too, otherwise
9910 # it will coredump.
9911 lt_prog_compiler_pic='-fPIC -shared'
9912 ;;
9913
9914 osf3* | osf4* | osf5*)
9915 lt_prog_compiler_wl='-Wl,'
9916 # All OSF/1 code is PIC.
9917 lt_prog_compiler_static='-non_shared'
9918 ;;
9919
9920 rdos*)
9921 lt_prog_compiler_static='-non_shared'
9922 ;;
9923
9924 solaris*)
9925 lt_prog_compiler_pic='-KPIC'
9926 lt_prog_compiler_static='-Bstatic'
9927 case $cc_basename in
9928 f77* | f90* | f95*)
9929 lt_prog_compiler_wl='-Qoption ld ';;
9930 *)
9931 lt_prog_compiler_wl='-Wl,';;
9932 esac
9933 ;;
9934
9935 sunos4*)
9936 lt_prog_compiler_wl='-Qoption ld '
9937 lt_prog_compiler_pic='-PIC'
9938 lt_prog_compiler_static='-Bstatic'
9939 ;;
9940
9941 sysv4 | sysv4.2uw2* | sysv4.3*)
9942 lt_prog_compiler_wl='-Wl,'
9943 lt_prog_compiler_pic='-KPIC'
9944 lt_prog_compiler_static='-Bstatic'
9945 ;;
9946
9947 sysv4*MP*)
9948 if test -d /usr/nec ;then
9949 lt_prog_compiler_pic='-Kconform_pic'
9950 lt_prog_compiler_static='-Bstatic'
9951 fi
9952 ;;
9953
9954 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9955 lt_prog_compiler_wl='-Wl,'
9956 lt_prog_compiler_pic='-KPIC'
9957 lt_prog_compiler_static='-Bstatic'
9958 ;;
9959
9960 unicos*)
9961 lt_prog_compiler_wl='-Wl,'
9962 lt_prog_compiler_can_build_shared=no
9963 ;;
9964
9965 uts4*)
9966 lt_prog_compiler_pic='-pic'
9967 lt_prog_compiler_static='-Bstatic'
9968 ;;
9969
9970 *)
9971 lt_prog_compiler_can_build_shared=no
9972 ;;
9973 esac
9974 fi
9975
9976 case $host_os in
9977 # For platforms which do not support PIC, -DPIC is meaningless:
9978 *djgpp*)
9979 lt_prog_compiler_pic=
9980 ;;
9981 *)
9982 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9983 ;;
9984 esac
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9986 $as_echo "$lt_prog_compiler_pic" >&6; }
9987
9988
9989
9990
9991
9992
9993 #
9994 # Check to make sure the PIC flag actually works.
9995 #
9996 if test -n "$lt_prog_compiler_pic"; then
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9998 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9999 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10000 $as_echo_n "(cached) " >&6
10001 else
10002 lt_cv_prog_compiler_pic_works=no
10003 ac_outfile=conftest.$ac_objext
10004 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10005 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10006 # Insert the option either (1) after the last *FLAGS variable, or
10007 # (2) before a word containing "conftest.", or (3) at the end.
10008 # Note that $ac_compile itself does not contain backslashes and begins
10009 # with a dollar sign (not a hyphen), so the echo should work correctly.
10010 # The option is referenced via a variable to avoid confusing sed.
10011 lt_compile=`echo "$ac_compile" | $SED \
10012 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10013 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10014 -e 's:$: $lt_compiler_flag:'`
10015 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10016 (eval "$lt_compile" 2>conftest.err)
10017 ac_status=$?
10018 cat conftest.err >&5
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 if (exit $ac_status) && test -s "$ac_outfile"; then
10021 # The compiler can only warn and ignore the option if not recognized
10022 # So say no if there are warnings other than the usual output.
10023 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10024 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10025 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10026 lt_cv_prog_compiler_pic_works=yes
10027 fi
10028 fi
10029 $RM conftest*
10030
10031 fi
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10033 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10034
10035 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10036 case $lt_prog_compiler_pic in
10037 "" | " "*) ;;
10038 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10039 esac
10040 else
10041 lt_prog_compiler_pic=
10042 lt_prog_compiler_can_build_shared=no
10043 fi
10044
10045 fi
10046
10047
10048
10049
10050
10051
10052 #
10053 # Check to make sure the static flag actually works.
10054 #
10055 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10057 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10058 if ${lt_cv_prog_compiler_static_works+:} false; then :
10059 $as_echo_n "(cached) " >&6
10060 else
10061 lt_cv_prog_compiler_static_works=no
10062 save_LDFLAGS="$LDFLAGS"
10063 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10064 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10065 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10066 # The linker can only warn and ignore the option if not recognized
10067 # So say no if there are warnings
10068 if test -s conftest.err; then
10069 # Append any errors to the config.log.
10070 cat conftest.err 1>&5
10071 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10072 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10073 if diff conftest.exp conftest.er2 >/dev/null; then
10074 lt_cv_prog_compiler_static_works=yes
10075 fi
10076 else
10077 lt_cv_prog_compiler_static_works=yes
10078 fi
10079 fi
10080 $RM -r conftest*
10081 LDFLAGS="$save_LDFLAGS"
10082
10083 fi
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10085 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10086
10087 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10088 :
10089 else
10090 lt_prog_compiler_static=
10091 fi
10092
10093
10094
10095
10096
10097
10098
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10100 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10101 if ${lt_cv_prog_compiler_c_o+:} false; then :
10102 $as_echo_n "(cached) " >&6
10103 else
10104 lt_cv_prog_compiler_c_o=no
10105 $RM -r conftest 2>/dev/null
10106 mkdir conftest
10107 cd conftest
10108 mkdir out
10109 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10110
10111 lt_compiler_flag="-o out/conftest2.$ac_objext"
10112 # Insert the option either (1) after the last *FLAGS variable, or
10113 # (2) before a word containing "conftest.", or (3) at the end.
10114 # Note that $ac_compile itself does not contain backslashes and begins
10115 # with a dollar sign (not a hyphen), so the echo should work correctly.
10116 lt_compile=`echo "$ac_compile" | $SED \
10117 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10118 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10119 -e 's:$: $lt_compiler_flag:'`
10120 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10121 (eval "$lt_compile" 2>out/conftest.err)
10122 ac_status=$?
10123 cat out/conftest.err >&5
10124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10125 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10126 then
10127 # The compiler can only warn and ignore the option if not recognized
10128 # So say no if there are warnings
10129 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10130 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10131 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10132 lt_cv_prog_compiler_c_o=yes
10133 fi
10134 fi
10135 chmod u+w . 2>&5
10136 $RM conftest*
10137 # SGI C++ compiler will create directory out/ii_files/ for
10138 # template instantiation
10139 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10140 $RM out/* && rmdir out
10141 cd ..
10142 $RM -r conftest
10143 $RM conftest*
10144
10145 fi
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10147 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10148
10149
10150
10151
10152
10153
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10155 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10156 if ${lt_cv_prog_compiler_c_o+:} false; then :
10157 $as_echo_n "(cached) " >&6
10158 else
10159 lt_cv_prog_compiler_c_o=no
10160 $RM -r conftest 2>/dev/null
10161 mkdir conftest
10162 cd conftest
10163 mkdir out
10164 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10165
10166 lt_compiler_flag="-o out/conftest2.$ac_objext"
10167 # Insert the option either (1) after the last *FLAGS variable, or
10168 # (2) before a word containing "conftest.", or (3) at the end.
10169 # Note that $ac_compile itself does not contain backslashes and begins
10170 # with a dollar sign (not a hyphen), so the echo should work correctly.
10171 lt_compile=`echo "$ac_compile" | $SED \
10172 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10173 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10174 -e 's:$: $lt_compiler_flag:'`
10175 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10176 (eval "$lt_compile" 2>out/conftest.err)
10177 ac_status=$?
10178 cat out/conftest.err >&5
10179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10180 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10181 then
10182 # The compiler can only warn and ignore the option if not recognized
10183 # So say no if there are warnings
10184 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10185 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10186 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10187 lt_cv_prog_compiler_c_o=yes
10188 fi
10189 fi
10190 chmod u+w . 2>&5
10191 $RM conftest*
10192 # SGI C++ compiler will create directory out/ii_files/ for
10193 # template instantiation
10194 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10195 $RM out/* && rmdir out
10196 cd ..
10197 $RM -r conftest
10198 $RM conftest*
10199
10200 fi
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10202 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10203
10204
10205
10206
10207 hard_links="nottested"
10208 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10209 # do not overwrite the value of need_locks provided by the user
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10211 $as_echo_n "checking if we can lock with hard links... " >&6; }
10212 hard_links=yes
10213 $RM conftest*
10214 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10215 touch conftest.a
10216 ln conftest.a conftest.b 2>&5 || hard_links=no
10217 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10219 $as_echo "$hard_links" >&6; }
10220 if test "$hard_links" = no; then
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10222 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10223 need_locks=warn
10224 fi
10225 else
10226 need_locks=no
10227 fi
10228
10229
10230
10231
10232
10233
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10235 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10236
10237 runpath_var=
10238 allow_undefined_flag=
10239 always_export_symbols=no
10240 archive_cmds=
10241 archive_expsym_cmds=
10242 compiler_needs_object=no
10243 enable_shared_with_static_runtimes=no
10244 export_dynamic_flag_spec=
10245 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10246 hardcode_automatic=no
10247 hardcode_direct=no
10248 hardcode_direct_absolute=no
10249 hardcode_libdir_flag_spec=
10250 hardcode_libdir_flag_spec_ld=
10251 hardcode_libdir_separator=
10252 hardcode_minus_L=no
10253 hardcode_shlibpath_var=unsupported
10254 inherit_rpath=no
10255 link_all_deplibs=unknown
10256 module_cmds=
10257 module_expsym_cmds=
10258 old_archive_from_new_cmds=
10259 old_archive_from_expsyms_cmds=
10260 thread_safe_flag_spec=
10261 whole_archive_flag_spec=
10262 # include_expsyms should be a list of space-separated symbols to be *always*
10263 # included in the symbol list
10264 include_expsyms=
10265 # exclude_expsyms can be an extended regexp of symbols to exclude
10266 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10267 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10268 # as well as any symbol that contains `d'.
10269 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10270 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10271 # platforms (ab)use it in PIC code, but their linkers get confused if
10272 # the symbol is explicitly referenced. Since portable code cannot
10273 # rely on this symbol name, it's probably fine to never include it in
10274 # preloaded symbol tables.
10275 # Exclude shared library initialization/finalization symbols.
10276 extract_expsyms_cmds=
10277
10278 case $host_os in
10279 cygwin* | mingw* | pw32* | cegcc*)
10280 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10281 # When not using gcc, we currently assume that we are using
10282 # Microsoft Visual C++.
10283 if test "$GCC" != yes; then
10284 with_gnu_ld=no
10285 fi
10286 ;;
10287 interix*)
10288 # we just hope/assume this is gcc and not c89 (= MSVC++)
10289 with_gnu_ld=yes
10290 ;;
10291 openbsd*)
10292 with_gnu_ld=no
10293 ;;
10294 esac
10295
10296 ld_shlibs=yes
10297
10298 # On some targets, GNU ld is compatible enough with the native linker
10299 # that we're better off using the native interface for both.
10300 lt_use_gnu_ld_interface=no
10301 if test "$with_gnu_ld" = yes; then
10302 case $host_os in
10303 aix*)
10304 # The AIX port of GNU ld has always aspired to compatibility
10305 # with the native linker. However, as the warning in the GNU ld
10306 # block says, versions before 2.19.5* couldn't really create working
10307 # shared libraries, regardless of the interface used.
10308 case `$LD -v 2>&1` in
10309 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10310 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10311 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10312 *)
10313 lt_use_gnu_ld_interface=yes
10314 ;;
10315 esac
10316 ;;
10317 *)
10318 lt_use_gnu_ld_interface=yes
10319 ;;
10320 esac
10321 fi
10322
10323 if test "$lt_use_gnu_ld_interface" = yes; then
10324 # If archive_cmds runs LD, not CC, wlarc should be empty
10325 wlarc='${wl}'
10326
10327 # Set some defaults for GNU ld with shared library support. These
10328 # are reset later if shared libraries are not supported. Putting them
10329 # here allows them to be overridden if necessary.
10330 runpath_var=LD_RUN_PATH
10331 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10332 export_dynamic_flag_spec='${wl}--export-dynamic'
10333 # ancient GNU ld didn't support --whole-archive et. al.
10334 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10335 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10336 else
10337 whole_archive_flag_spec=
10338 fi
10339 supports_anon_versioning=no
10340 case `$LD -v 2>&1` in
10341 *GNU\ gold*) supports_anon_versioning=yes ;;
10342 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10343 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10344 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10345 *\ 2.11.*) ;; # other 2.11 versions
10346 *) supports_anon_versioning=yes ;;
10347 esac
10348
10349 # See if GNU ld supports shared libraries.
10350 case $host_os in
10351 aix[3-9]*)
10352 # On AIX/PPC, the GNU linker is very broken
10353 if test "$host_cpu" != ia64; then
10354 ld_shlibs=no
10355 cat <<_LT_EOF 1>&2
10356
10357 *** Warning: the GNU linker, at least up to release 2.19, is reported
10358 *** to be unable to reliably create shared libraries on AIX.
10359 *** Therefore, libtool is disabling shared libraries support. If you
10360 *** really care for shared libraries, you may want to install binutils
10361 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10362 *** You will then need to restart the configuration process.
10363
10364 _LT_EOF
10365 fi
10366 ;;
10367
10368 amigaos*)
10369 case $host_cpu in
10370 powerpc)
10371 # see comment about AmigaOS4 .so support
10372 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10373 archive_expsym_cmds=''
10374 ;;
10375 m68k)
10376 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)'
10377 hardcode_libdir_flag_spec='-L$libdir'
10378 hardcode_minus_L=yes
10379 ;;
10380 esac
10381 ;;
10382
10383 beos*)
10384 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10385 allow_undefined_flag=unsupported
10386 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10387 # support --undefined. This deserves some investigation. FIXME
10388 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10389 else
10390 ld_shlibs=no
10391 fi
10392 ;;
10393
10394 cygwin* | mingw* | pw32* | cegcc*)
10395 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10396 # as there is no search path for DLLs.
10397 hardcode_libdir_flag_spec='-L$libdir'
10398 export_dynamic_flag_spec='${wl}--export-all-symbols'
10399 allow_undefined_flag=unsupported
10400 always_export_symbols=no
10401 enable_shared_with_static_runtimes=yes
10402 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10403
10404 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10405 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10406 # If the export-symbols file already is a .def file (1st line
10407 # is EXPORTS), use it as is; otherwise, prepend...
10408 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10409 cp $export_symbols $output_objdir/$soname.def;
10410 else
10411 echo EXPORTS > $output_objdir/$soname.def;
10412 cat $export_symbols >> $output_objdir/$soname.def;
10413 fi~
10414 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10415 else
10416 ld_shlibs=no
10417 fi
10418 ;;
10419
10420 haiku*)
10421 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10422 link_all_deplibs=yes
10423 ;;
10424
10425 interix[3-9]*)
10426 hardcode_direct=no
10427 hardcode_shlibpath_var=no
10428 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10429 export_dynamic_flag_spec='${wl}-E'
10430 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10431 # Instead, shared libraries are loaded at an image base (0x10000000 by
10432 # default) and relocated if they conflict, which is a slow very memory
10433 # consuming and fragmenting process. To avoid this, we pick a random,
10434 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10435 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10436 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10437 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'
10438 ;;
10439
10440 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10441 tmp_diet=no
10442 if test "$host_os" = linux-dietlibc; then
10443 case $cc_basename in
10444 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10445 esac
10446 fi
10447 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10448 && test "$tmp_diet" = no
10449 then
10450 tmp_addflag=' $pic_flag'
10451 tmp_sharedflag='-shared'
10452 case $cc_basename,$host_cpu in
10453 pgcc*) # Portland Group C compiler
10454 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'
10455 tmp_addflag=' $pic_flag'
10456 ;;
10457 pgf77* | pgf90* | pgf95* | pgfortran*)
10458 # Portland Group f77 and f90 compilers
10459 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'
10460 tmp_addflag=' $pic_flag -Mnomain' ;;
10461 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10462 tmp_addflag=' -i_dynamic' ;;
10463 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10464 tmp_addflag=' -i_dynamic -nofor_main' ;;
10465 ifc* | ifort*) # Intel Fortran compiler
10466 tmp_addflag=' -nofor_main' ;;
10467 lf95*) # Lahey Fortran 8.1
10468 whole_archive_flag_spec=
10469 tmp_sharedflag='--shared' ;;
10470 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10471 tmp_sharedflag='-qmkshrobj'
10472 tmp_addflag= ;;
10473 nvcc*) # Cuda Compiler Driver 2.2
10474 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'
10475 compiler_needs_object=yes
10476 ;;
10477 esac
10478 case `$CC -V 2>&1 | sed 5q` in
10479 *Sun\ C*) # Sun C 5.9
10480 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'
10481 compiler_needs_object=yes
10482 tmp_sharedflag='-G' ;;
10483 *Sun\ F*) # Sun Fortran 8.3
10484 tmp_sharedflag='-G' ;;
10485 esac
10486 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10487
10488 if test "x$supports_anon_versioning" = xyes; then
10489 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10490 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10491 echo "local: *; };" >> $output_objdir/$libname.ver~
10492 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10493 fi
10494
10495 case $cc_basename in
10496 xlf* | bgf* | bgxlf* | mpixlf*)
10497 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10498 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10499 hardcode_libdir_flag_spec=
10500 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10501 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10502 if test "x$supports_anon_versioning" = xyes; then
10503 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10504 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10505 echo "local: *; };" >> $output_objdir/$libname.ver~
10506 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10507 fi
10508 ;;
10509 esac
10510 else
10511 ld_shlibs=no
10512 fi
10513 ;;
10514
10515 netbsd*)
10516 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10517 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10518 wlarc=
10519 else
10520 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10521 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10522 fi
10523 ;;
10524
10525 solaris*)
10526 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10527 ld_shlibs=no
10528 cat <<_LT_EOF 1>&2
10529
10530 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10531 *** create shared libraries on Solaris systems. Therefore, libtool
10532 *** is disabling shared libraries support. We urge you to upgrade GNU
10533 *** binutils to release 2.9.1 or newer. Another option is to modify
10534 *** your PATH or compiler configuration so that the native linker is
10535 *** used, and then restart.
10536
10537 _LT_EOF
10538 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10539 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10540 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10541 else
10542 ld_shlibs=no
10543 fi
10544 ;;
10545
10546 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10547 case `$LD -v 2>&1` in
10548 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10549 ld_shlibs=no
10550 cat <<_LT_EOF 1>&2
10551
10552 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10553 *** reliably create shared libraries on SCO systems. Therefore, libtool
10554 *** is disabling shared libraries support. We urge you to upgrade GNU
10555 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10556 *** your PATH or compiler configuration so that the native linker is
10557 *** used, and then restart.
10558
10559 _LT_EOF
10560 ;;
10561 *)
10562 # For security reasons, it is highly recommended that you always
10563 # use absolute paths for naming shared libraries, and exclude the
10564 # DT_RUNPATH tag from executables and libraries. But doing so
10565 # requires that you compile everything twice, which is a pain.
10566 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10567 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10568 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10569 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10570 else
10571 ld_shlibs=no
10572 fi
10573 ;;
10574 esac
10575 ;;
10576
10577 sunos4*)
10578 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10579 wlarc=
10580 hardcode_direct=yes
10581 hardcode_shlibpath_var=no
10582 ;;
10583
10584 *)
10585 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10586 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10587 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10588 else
10589 ld_shlibs=no
10590 fi
10591 ;;
10592 esac
10593
10594 if test "$ld_shlibs" = no; then
10595 runpath_var=
10596 hardcode_libdir_flag_spec=
10597 export_dynamic_flag_spec=
10598 whole_archive_flag_spec=
10599 fi
10600 else
10601 # PORTME fill in a description of your system's linker (not GNU ld)
10602 case $host_os in
10603 aix3*)
10604 allow_undefined_flag=unsupported
10605 always_export_symbols=yes
10606 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'
10607 # Note: this linker hardcodes the directories in LIBPATH if there
10608 # are no directories specified by -L.
10609 hardcode_minus_L=yes
10610 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10611 # Neither direct hardcoding nor static linking is supported with a
10612 # broken collect2.
10613 hardcode_direct=unsupported
10614 fi
10615 ;;
10616
10617 aix[4-9]*)
10618 if test "$host_cpu" = ia64; then
10619 # On IA64, the linker does run time linking by default, so we don't
10620 # have to do anything special.
10621 aix_use_runtimelinking=no
10622 exp_sym_flag='-Bexport'
10623 no_entry_flag=""
10624 else
10625 # If we're using GNU nm, then we don't want the "-C" option.
10626 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10627 # Also, AIX nm treats weak defined symbols like other global
10628 # defined symbols, whereas GNU nm marks them as "W".
10629 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10630 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'
10631 else
10632 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'
10633 fi
10634 aix_use_runtimelinking=no
10635
10636 # Test if we are trying to use run time linking or normal
10637 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10638 # need to do runtime linking.
10639 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10640 for ld_flag in $LDFLAGS; do
10641 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10642 aix_use_runtimelinking=yes
10643 break
10644 fi
10645 done
10646 ;;
10647 esac
10648
10649 exp_sym_flag='-bexport'
10650 no_entry_flag='-bnoentry'
10651 fi
10652
10653 # When large executables or shared objects are built, AIX ld can
10654 # have problems creating the table of contents. If linking a library
10655 # or program results in "error TOC overflow" add -mminimal-toc to
10656 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10657 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10658
10659 archive_cmds=''
10660 hardcode_direct=yes
10661 hardcode_direct_absolute=yes
10662 hardcode_libdir_separator=':'
10663 link_all_deplibs=yes
10664 file_list_spec='${wl}-f,'
10665
10666 if test "$GCC" = yes; then
10667 case $host_os in aix4.[012]|aix4.[012].*)
10668 # We only want to do this on AIX 4.2 and lower, the check
10669 # below for broken collect2 doesn't work under 4.3+
10670 collect2name=`${CC} -print-prog-name=collect2`
10671 if test -f "$collect2name" &&
10672 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10673 then
10674 # We have reworked collect2
10675 :
10676 else
10677 # We have old collect2
10678 hardcode_direct=unsupported
10679 # It fails to find uninstalled libraries when the uninstalled
10680 # path is not listed in the libpath. Setting hardcode_minus_L
10681 # to unsupported forces relinking
10682 hardcode_minus_L=yes
10683 hardcode_libdir_flag_spec='-L$libdir'
10684 hardcode_libdir_separator=
10685 fi
10686 ;;
10687 esac
10688 shared_flag='-shared'
10689 if test "$aix_use_runtimelinking" = yes; then
10690 shared_flag="$shared_flag "'${wl}-G'
10691 fi
10692 else
10693 # not using gcc
10694 if test "$host_cpu" = ia64; then
10695 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10696 # chokes on -Wl,-G. The following line is correct:
10697 shared_flag='-G'
10698 else
10699 if test "$aix_use_runtimelinking" = yes; then
10700 shared_flag='${wl}-G'
10701 else
10702 shared_flag='${wl}-bM:SRE'
10703 fi
10704 fi
10705 fi
10706
10707 export_dynamic_flag_spec='${wl}-bexpall'
10708 # It seems that -bexpall does not export symbols beginning with
10709 # underscore (_), so it is better to generate a list of symbols to export.
10710 always_export_symbols=yes
10711 if test "$aix_use_runtimelinking" = yes; then
10712 # Warning - without using the other runtime loading flags (-brtl),
10713 # -berok will link without error, but may produce a broken library.
10714 allow_undefined_flag='-berok'
10715 # Determine the default libpath from the value encoded in an
10716 # empty executable.
10717 if test x$gcc_no_link = xyes; then
10718 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10719 fi
10720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10721 /* end confdefs.h. */
10722
10723 int
10724 main ()
10725 {
10726
10727 ;
10728 return 0;
10729 }
10730 _ACEOF
10731 if ac_fn_c_try_link "$LINENO"; then :
10732
10733 lt_aix_libpath_sed='
10734 /Import File Strings/,/^$/ {
10735 /^0/ {
10736 s/^0 *\(.*\)$/\1/
10737 p
10738 }
10739 }'
10740 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10741 # Check for a 64-bit object if we didn't find anything.
10742 if test -z "$aix_libpath"; then
10743 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10744 fi
10745 fi
10746 rm -f core conftest.err conftest.$ac_objext \
10747 conftest$ac_exeext conftest.$ac_ext
10748 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10749
10750 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10751 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"
10752 else
10753 if test "$host_cpu" = ia64; then
10754 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10755 allow_undefined_flag="-z nodefs"
10756 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"
10757 else
10758 # Determine the default libpath from the value encoded in an
10759 # empty executable.
10760 if test x$gcc_no_link = xyes; then
10761 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10762 fi
10763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10764 /* end confdefs.h. */
10765
10766 int
10767 main ()
10768 {
10769
10770 ;
10771 return 0;
10772 }
10773 _ACEOF
10774 if ac_fn_c_try_link "$LINENO"; then :
10775
10776 lt_aix_libpath_sed='
10777 /Import File Strings/,/^$/ {
10778 /^0/ {
10779 s/^0 *\(.*\)$/\1/
10780 p
10781 }
10782 }'
10783 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10784 # Check for a 64-bit object if we didn't find anything.
10785 if test -z "$aix_libpath"; then
10786 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10787 fi
10788 fi
10789 rm -f core conftest.err conftest.$ac_objext \
10790 conftest$ac_exeext conftest.$ac_ext
10791 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10792
10793 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10794 # Warning - without using the other run time loading flags,
10795 # -berok will link without error, but may produce a broken library.
10796 no_undefined_flag=' ${wl}-bernotok'
10797 allow_undefined_flag=' ${wl}-berok'
10798 if test "$with_gnu_ld" = yes; then
10799 # We only use this code for GNU lds that support --whole-archive.
10800 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10801 else
10802 # Exported symbols can be pulled into shared objects from archives
10803 whole_archive_flag_spec='$convenience'
10804 fi
10805 archive_cmds_need_lc=yes
10806 # This is similar to how AIX traditionally builds its shared libraries.
10807 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'
10808 fi
10809 fi
10810 ;;
10811
10812 amigaos*)
10813 case $host_cpu in
10814 powerpc)
10815 # see comment about AmigaOS4 .so support
10816 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10817 archive_expsym_cmds=''
10818 ;;
10819 m68k)
10820 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)'
10821 hardcode_libdir_flag_spec='-L$libdir'
10822 hardcode_minus_L=yes
10823 ;;
10824 esac
10825 ;;
10826
10827 bsdi[45]*)
10828 export_dynamic_flag_spec=-rdynamic
10829 ;;
10830
10831 cygwin* | mingw* | pw32* | cegcc*)
10832 # When not using gcc, we currently assume that we are using
10833 # Microsoft Visual C++.
10834 # hardcode_libdir_flag_spec is actually meaningless, as there is
10835 # no search path for DLLs.
10836 hardcode_libdir_flag_spec=' '
10837 allow_undefined_flag=unsupported
10838 # Tell ltmain to make .lib files, not .a files.
10839 libext=lib
10840 # Tell ltmain to make .dll files, not .so files.
10841 shrext_cmds=".dll"
10842 # FIXME: Setting linknames here is a bad hack.
10843 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10844 # The linker will automatically build a .lib file if we build a DLL.
10845 old_archive_from_new_cmds='true'
10846 # FIXME: Should let the user specify the lib program.
10847 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10848 fix_srcfile_path='`cygpath -w "$srcfile"`'
10849 enable_shared_with_static_runtimes=yes
10850 ;;
10851
10852 darwin* | rhapsody*)
10853
10854
10855 archive_cmds_need_lc=no
10856 hardcode_direct=no
10857 hardcode_automatic=yes
10858 hardcode_shlibpath_var=unsupported
10859 if test "$lt_cv_ld_force_load" = "yes"; then
10860 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\"`'
10861 else
10862 whole_archive_flag_spec=''
10863 fi
10864 link_all_deplibs=yes
10865 allow_undefined_flag="$_lt_dar_allow_undefined"
10866 case $cc_basename in
10867 ifort*) _lt_dar_can_shared=yes ;;
10868 *) _lt_dar_can_shared=$GCC ;;
10869 esac
10870 if test "$_lt_dar_can_shared" = "yes"; then
10871 output_verbose_link_cmd=func_echo_all
10872 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10873 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10874 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}"
10875 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}"
10876
10877 else
10878 ld_shlibs=no
10879 fi
10880
10881 ;;
10882
10883 dgux*)
10884 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10885 hardcode_libdir_flag_spec='-L$libdir'
10886 hardcode_shlibpath_var=no
10887 ;;
10888
10889 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10890 # support. Future versions do this automatically, but an explicit c++rt0.o
10891 # does not break anything, and helps significantly (at the cost of a little
10892 # extra space).
10893 freebsd2.2*)
10894 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10895 hardcode_libdir_flag_spec='-R$libdir'
10896 hardcode_direct=yes
10897 hardcode_shlibpath_var=no
10898 ;;
10899
10900 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10901 freebsd2.*)
10902 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10903 hardcode_direct=yes
10904 hardcode_minus_L=yes
10905 hardcode_shlibpath_var=no
10906 ;;
10907
10908 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10909 freebsd* | dragonfly*)
10910 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10911 hardcode_libdir_flag_spec='-R$libdir'
10912 hardcode_direct=yes
10913 hardcode_shlibpath_var=no
10914 ;;
10915
10916 hpux9*)
10917 if test "$GCC" = yes; then
10918 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'
10919 else
10920 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'
10921 fi
10922 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10923 hardcode_libdir_separator=:
10924 hardcode_direct=yes
10925
10926 # hardcode_minus_L: Not really in the search PATH,
10927 # but as the default location of the library.
10928 hardcode_minus_L=yes
10929 export_dynamic_flag_spec='${wl}-E'
10930 ;;
10931
10932 hpux10*)
10933 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10934 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10935 else
10936 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10937 fi
10938 if test "$with_gnu_ld" = no; then
10939 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10940 hardcode_libdir_flag_spec_ld='+b $libdir'
10941 hardcode_libdir_separator=:
10942 hardcode_direct=yes
10943 hardcode_direct_absolute=yes
10944 export_dynamic_flag_spec='${wl}-E'
10945 # hardcode_minus_L: Not really in the search PATH,
10946 # but as the default location of the library.
10947 hardcode_minus_L=yes
10948 fi
10949 ;;
10950
10951 hpux11*)
10952 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10953 case $host_cpu in
10954 hppa*64*)
10955 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10956 ;;
10957 ia64*)
10958 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10959 ;;
10960 *)
10961 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10962 ;;
10963 esac
10964 else
10965 case $host_cpu in
10966 hppa*64*)
10967 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10968 ;;
10969 ia64*)
10970 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10971 ;;
10972 *)
10973
10974 # Older versions of the 11.00 compiler do not understand -b yet
10975 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10977 $as_echo_n "checking if $CC understands -b... " >&6; }
10978 if ${lt_cv_prog_compiler__b+:} false; then :
10979 $as_echo_n "(cached) " >&6
10980 else
10981 lt_cv_prog_compiler__b=no
10982 save_LDFLAGS="$LDFLAGS"
10983 LDFLAGS="$LDFLAGS -b"
10984 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10985 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10986 # The linker can only warn and ignore the option if not recognized
10987 # So say no if there are warnings
10988 if test -s conftest.err; then
10989 # Append any errors to the config.log.
10990 cat conftest.err 1>&5
10991 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10992 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10993 if diff conftest.exp conftest.er2 >/dev/null; then
10994 lt_cv_prog_compiler__b=yes
10995 fi
10996 else
10997 lt_cv_prog_compiler__b=yes
10998 fi
10999 fi
11000 $RM -r conftest*
11001 LDFLAGS="$save_LDFLAGS"
11002
11003 fi
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11005 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11006
11007 if test x"$lt_cv_prog_compiler__b" = xyes; then
11008 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11009 else
11010 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11011 fi
11012
11013 ;;
11014 esac
11015 fi
11016 if test "$with_gnu_ld" = no; then
11017 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11018 hardcode_libdir_separator=:
11019
11020 case $host_cpu in
11021 hppa*64*|ia64*)
11022 hardcode_direct=no
11023 hardcode_shlibpath_var=no
11024 ;;
11025 *)
11026 hardcode_direct=yes
11027 hardcode_direct_absolute=yes
11028 export_dynamic_flag_spec='${wl}-E'
11029
11030 # hardcode_minus_L: Not really in the search PATH,
11031 # but as the default location of the library.
11032 hardcode_minus_L=yes
11033 ;;
11034 esac
11035 fi
11036 ;;
11037
11038 irix5* | irix6* | nonstopux*)
11039 if test "$GCC" = yes; then
11040 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'
11041 # Try to use the -exported_symbol ld option, if it does not
11042 # work, assume that -exports_file does not work either and
11043 # implicitly export all symbols.
11044 save_LDFLAGS="$LDFLAGS"
11045 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11046 if test x$gcc_no_link = xyes; then
11047 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11048 fi
11049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11050 /* end confdefs.h. */
11051 int foo(void) {}
11052 _ACEOF
11053 if ac_fn_c_try_link "$LINENO"; then :
11054 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'
11055
11056 fi
11057 rm -f core conftest.err conftest.$ac_objext \
11058 conftest$ac_exeext conftest.$ac_ext
11059 LDFLAGS="$save_LDFLAGS"
11060 else
11061 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'
11062 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'
11063 fi
11064 archive_cmds_need_lc='no'
11065 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11066 hardcode_libdir_separator=:
11067 inherit_rpath=yes
11068 link_all_deplibs=yes
11069 ;;
11070
11071 netbsd*)
11072 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11073 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11074 else
11075 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11076 fi
11077 hardcode_libdir_flag_spec='-R$libdir'
11078 hardcode_direct=yes
11079 hardcode_shlibpath_var=no
11080 ;;
11081
11082 newsos6)
11083 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11084 hardcode_direct=yes
11085 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11086 hardcode_libdir_separator=:
11087 hardcode_shlibpath_var=no
11088 ;;
11089
11090 *nto* | *qnx*)
11091 ;;
11092
11093 openbsd*)
11094 if test -f /usr/libexec/ld.so; then
11095 hardcode_direct=yes
11096 hardcode_shlibpath_var=no
11097 hardcode_direct_absolute=yes
11098 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11099 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11100 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11101 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11102 export_dynamic_flag_spec='${wl}-E'
11103 else
11104 case $host_os in
11105 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11106 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11107 hardcode_libdir_flag_spec='-R$libdir'
11108 ;;
11109 *)
11110 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11111 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11112 ;;
11113 esac
11114 fi
11115 else
11116 ld_shlibs=no
11117 fi
11118 ;;
11119
11120 os2*)
11121 hardcode_libdir_flag_spec='-L$libdir'
11122 hardcode_minus_L=yes
11123 allow_undefined_flag=unsupported
11124 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'
11125 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11126 ;;
11127
11128 osf3*)
11129 if test "$GCC" = yes; then
11130 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11131 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'
11132 else
11133 allow_undefined_flag=' -expect_unresolved \*'
11134 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'
11135 fi
11136 archive_cmds_need_lc='no'
11137 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11138 hardcode_libdir_separator=:
11139 ;;
11140
11141 osf4* | osf5*) # as osf3* with the addition of -msym flag
11142 if test "$GCC" = yes; then
11143 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11144 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'
11145 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11146 else
11147 allow_undefined_flag=' -expect_unresolved \*'
11148 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'
11149 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~
11150 $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'
11151
11152 # Both c and cxx compiler support -rpath directly
11153 hardcode_libdir_flag_spec='-rpath $libdir'
11154 fi
11155 archive_cmds_need_lc='no'
11156 hardcode_libdir_separator=:
11157 ;;
11158
11159 solaris*)
11160 no_undefined_flag=' -z defs'
11161 if test "$GCC" = yes; then
11162 wlarc='${wl}'
11163 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11164 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11165 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11166 else
11167 case `$CC -V 2>&1` in
11168 *"Compilers 5.0"*)
11169 wlarc=''
11170 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11171 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11172 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11173 ;;
11174 *)
11175 wlarc='${wl}'
11176 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11177 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11178 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11179 ;;
11180 esac
11181 fi
11182 hardcode_libdir_flag_spec='-R$libdir'
11183 hardcode_shlibpath_var=no
11184 case $host_os in
11185 solaris2.[0-5] | solaris2.[0-5].*) ;;
11186 *)
11187 # The compiler driver will combine and reorder linker options,
11188 # but understands `-z linker_flag'. GCC discards it without `$wl',
11189 # but is careful enough not to reorder.
11190 # Supported since Solaris 2.6 (maybe 2.5.1?)
11191 if test "$GCC" = yes; then
11192 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11193 else
11194 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11195 fi
11196 ;;
11197 esac
11198 link_all_deplibs=yes
11199 ;;
11200
11201 sunos4*)
11202 if test "x$host_vendor" = xsequent; then
11203 # Use $CC to link under sequent, because it throws in some extra .o
11204 # files that make .init and .fini sections work.
11205 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11206 else
11207 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11208 fi
11209 hardcode_libdir_flag_spec='-L$libdir'
11210 hardcode_direct=yes
11211 hardcode_minus_L=yes
11212 hardcode_shlibpath_var=no
11213 ;;
11214
11215 sysv4)
11216 case $host_vendor in
11217 sni)
11218 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11219 hardcode_direct=yes # is this really true???
11220 ;;
11221 siemens)
11222 ## LD is ld it makes a PLAMLIB
11223 ## CC just makes a GrossModule.
11224 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11225 reload_cmds='$CC -r -o $output$reload_objs'
11226 hardcode_direct=no
11227 ;;
11228 motorola)
11229 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11230 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11231 ;;
11232 esac
11233 runpath_var='LD_RUN_PATH'
11234 hardcode_shlibpath_var=no
11235 ;;
11236
11237 sysv4.3*)
11238 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11239 hardcode_shlibpath_var=no
11240 export_dynamic_flag_spec='-Bexport'
11241 ;;
11242
11243 sysv4*MP*)
11244 if test -d /usr/nec; then
11245 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11246 hardcode_shlibpath_var=no
11247 runpath_var=LD_RUN_PATH
11248 hardcode_runpath_var=yes
11249 ld_shlibs=yes
11250 fi
11251 ;;
11252
11253 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11254 no_undefined_flag='${wl}-z,text'
11255 archive_cmds_need_lc=no
11256 hardcode_shlibpath_var=no
11257 runpath_var='LD_RUN_PATH'
11258
11259 if test "$GCC" = yes; then
11260 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11261 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11262 else
11263 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11264 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11265 fi
11266 ;;
11267
11268 sysv5* | sco3.2v5* | sco5v6*)
11269 # Note: We can NOT use -z defs as we might desire, because we do not
11270 # link with -lc, and that would cause any symbols used from libc to
11271 # always be unresolved, which means just about no library would
11272 # ever link correctly. If we're not using GNU ld we use -z text
11273 # though, which does catch some bad symbols but isn't as heavy-handed
11274 # as -z defs.
11275 no_undefined_flag='${wl}-z,text'
11276 allow_undefined_flag='${wl}-z,nodefs'
11277 archive_cmds_need_lc=no
11278 hardcode_shlibpath_var=no
11279 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11280 hardcode_libdir_separator=':'
11281 link_all_deplibs=yes
11282 export_dynamic_flag_spec='${wl}-Bexport'
11283 runpath_var='LD_RUN_PATH'
11284
11285 if test "$GCC" = yes; then
11286 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11287 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11288 else
11289 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11290 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11291 fi
11292 ;;
11293
11294 uts4*)
11295 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11296 hardcode_libdir_flag_spec='-L$libdir'
11297 hardcode_shlibpath_var=no
11298 ;;
11299
11300 *)
11301 ld_shlibs=no
11302 ;;
11303 esac
11304
11305 if test x$host_vendor = xsni; then
11306 case $host in
11307 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11308 export_dynamic_flag_spec='${wl}-Blargedynsym'
11309 ;;
11310 esac
11311 fi
11312 fi
11313
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11315 $as_echo "$ld_shlibs" >&6; }
11316 test "$ld_shlibs" = no && can_build_shared=no
11317
11318 with_gnu_ld=$with_gnu_ld
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334 #
11335 # Do we need to explicitly link libc?
11336 #
11337 case "x$archive_cmds_need_lc" in
11338 x|xyes)
11339 # Assume -lc should be added
11340 archive_cmds_need_lc=yes
11341
11342 if test "$enable_shared" = yes && test "$GCC" = yes; then
11343 case $archive_cmds in
11344 *'~'*)
11345 # FIXME: we may have to deal with multi-command sequences.
11346 ;;
11347 '$CC '*)
11348 # Test whether the compiler implicitly links with -lc since on some
11349 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11350 # to ld, don't add -lc before -lgcc.
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11352 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11353 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11354 $as_echo_n "(cached) " >&6
11355 else
11356 $RM conftest*
11357 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11358
11359 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11360 (eval $ac_compile) 2>&5
11361 ac_status=$?
11362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11363 test $ac_status = 0; } 2>conftest.err; then
11364 soname=conftest
11365 lib=conftest
11366 libobjs=conftest.$ac_objext
11367 deplibs=
11368 wl=$lt_prog_compiler_wl
11369 pic_flag=$lt_prog_compiler_pic
11370 compiler_flags=-v
11371 linker_flags=-v
11372 verstring=
11373 output_objdir=.
11374 libname=conftest
11375 lt_save_allow_undefined_flag=$allow_undefined_flag
11376 allow_undefined_flag=
11377 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11378 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11379 ac_status=$?
11380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11381 test $ac_status = 0; }
11382 then
11383 lt_cv_archive_cmds_need_lc=no
11384 else
11385 lt_cv_archive_cmds_need_lc=yes
11386 fi
11387 allow_undefined_flag=$lt_save_allow_undefined_flag
11388 else
11389 cat conftest.err 1>&5
11390 fi
11391 $RM conftest*
11392
11393 fi
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11395 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11396 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11397 ;;
11398 esac
11399 fi
11400 ;;
11401 esac
11402
11403
11404
11405
11406
11407
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11560 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11561
11562 if test "$GCC" = yes; then
11563 case $host_os in
11564 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11565 *) lt_awk_arg="/^libraries:/" ;;
11566 esac
11567 case $host_os in
11568 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11569 *) lt_sed_strip_eq="s,=/,/,g" ;;
11570 esac
11571 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11572 case $lt_search_path_spec in
11573 *\;*)
11574 # if the path contains ";" then we assume it to be the separator
11575 # otherwise default to the standard path separator (i.e. ":") - it is
11576 # assumed that no part of a normal pathname contains ";" but that should
11577 # okay in the real world where ";" in dirpaths is itself problematic.
11578 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11579 ;;
11580 *)
11581 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11582 ;;
11583 esac
11584 # Ok, now we have the path, separated by spaces, we can step through it
11585 # and add multilib dir if necessary.
11586 lt_tmp_lt_search_path_spec=
11587 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11588 for lt_sys_path in $lt_search_path_spec; do
11589 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11590 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11591 else
11592 test -d "$lt_sys_path" && \
11593 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11594 fi
11595 done
11596 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11597 BEGIN {RS=" "; FS="/|\n";} {
11598 lt_foo="";
11599 lt_count=0;
11600 for (lt_i = NF; lt_i > 0; lt_i--) {
11601 if ($lt_i != "" && $lt_i != ".") {
11602 if ($lt_i == "..") {
11603 lt_count++;
11604 } else {
11605 if (lt_count == 0) {
11606 lt_foo="/" $lt_i lt_foo;
11607 } else {
11608 lt_count--;
11609 }
11610 }
11611 }
11612 }
11613 if (lt_foo != "") { lt_freq[lt_foo]++; }
11614 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11615 }'`
11616 # AWK program above erroneously prepends '/' to C:/dos/paths
11617 # for these hosts.
11618 case $host_os in
11619 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11620 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11621 esac
11622 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11623 else
11624 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11625 fi
11626 library_names_spec=
11627 libname_spec='lib$name'
11628 soname_spec=
11629 shrext_cmds=".so"
11630 postinstall_cmds=
11631 postuninstall_cmds=
11632 finish_cmds=
11633 finish_eval=
11634 shlibpath_var=
11635 shlibpath_overrides_runpath=unknown
11636 version_type=none
11637 dynamic_linker="$host_os ld.so"
11638 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11639 need_lib_prefix=unknown
11640 hardcode_into_libs=no
11641
11642 # when you set need_version to no, make sure it does not cause -set_version
11643 # flags to be left without arguments
11644 need_version=unknown
11645
11646 case $host_os in
11647 aix3*)
11648 version_type=linux
11649 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11650 shlibpath_var=LIBPATH
11651
11652 # AIX 3 has no versioning support, so we append a major version to the name.
11653 soname_spec='${libname}${release}${shared_ext}$major'
11654 ;;
11655
11656 aix[4-9]*)
11657 version_type=linux
11658 need_lib_prefix=no
11659 need_version=no
11660 hardcode_into_libs=yes
11661 if test "$host_cpu" = ia64; then
11662 # AIX 5 supports IA64
11663 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11664 shlibpath_var=LD_LIBRARY_PATH
11665 else
11666 # With GCC up to 2.95.x, collect2 would create an import file
11667 # for dependence libraries. The import file would start with
11668 # the line `#! .'. This would cause the generated library to
11669 # depend on `.', always an invalid library. This was fixed in
11670 # development snapshots of GCC prior to 3.0.
11671 case $host_os in
11672 aix4 | aix4.[01] | aix4.[01].*)
11673 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11674 echo ' yes '
11675 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11676 :
11677 else
11678 can_build_shared=no
11679 fi
11680 ;;
11681 esac
11682 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11683 # soname into executable. Probably we can add versioning support to
11684 # collect2, so additional links can be useful in future.
11685 if test "$aix_use_runtimelinking" = yes; then
11686 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11687 # instead of lib<name>.a to let people know that these are not
11688 # typical AIX shared libraries.
11689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11690 else
11691 # We preserve .a as extension for shared libraries through AIX4.2
11692 # and later when we are not doing run time linking.
11693 library_names_spec='${libname}${release}.a $libname.a'
11694 soname_spec='${libname}${release}${shared_ext}$major'
11695 fi
11696 shlibpath_var=LIBPATH
11697 fi
11698 ;;
11699
11700 amigaos*)
11701 case $host_cpu in
11702 powerpc)
11703 # Since July 2007 AmigaOS4 officially supports .so libraries.
11704 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11706 ;;
11707 m68k)
11708 library_names_spec='$libname.ixlibrary $libname.a'
11709 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11710 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'
11711 ;;
11712 esac
11713 ;;
11714
11715 beos*)
11716 library_names_spec='${libname}${shared_ext}'
11717 dynamic_linker="$host_os ld.so"
11718 shlibpath_var=LIBRARY_PATH
11719 ;;
11720
11721 bsdi[45]*)
11722 version_type=linux
11723 need_version=no
11724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11725 soname_spec='${libname}${release}${shared_ext}$major'
11726 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11727 shlibpath_var=LD_LIBRARY_PATH
11728 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11729 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11730 # the default ld.so.conf also contains /usr/contrib/lib and
11731 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11732 # libtool to hard-code these into programs
11733 ;;
11734
11735 cygwin* | mingw* | pw32* | cegcc*)
11736 version_type=windows
11737 shrext_cmds=".dll"
11738 need_version=no
11739 need_lib_prefix=no
11740
11741 case $GCC,$host_os in
11742 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11743 library_names_spec='$libname.dll.a'
11744 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11745 postinstall_cmds='base_file=`basename \${file}`~
11746 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11747 dldir=$destdir/`dirname \$dlpath`~
11748 test -d \$dldir || mkdir -p \$dldir~
11749 $install_prog $dir/$dlname \$dldir/$dlname~
11750 chmod a+x \$dldir/$dlname~
11751 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11752 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11753 fi'
11754 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11755 dlpath=$dir/\$dldll~
11756 $RM \$dlpath'
11757 shlibpath_overrides_runpath=yes
11758
11759 case $host_os in
11760 cygwin*)
11761 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11762 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11763
11764 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11765 ;;
11766 mingw* | cegcc*)
11767 # MinGW DLLs use traditional 'lib' prefix
11768 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11769 ;;
11770 pw32*)
11771 # pw32 DLLs use 'pw' prefix rather than 'lib'
11772 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11773 ;;
11774 esac
11775 ;;
11776
11777 *)
11778 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11779 ;;
11780 esac
11781 dynamic_linker='Win32 ld.exe'
11782 # FIXME: first we should search . and the directory the executable is in
11783 shlibpath_var=PATH
11784 ;;
11785
11786 darwin* | rhapsody*)
11787 dynamic_linker="$host_os dyld"
11788 version_type=darwin
11789 need_lib_prefix=no
11790 need_version=no
11791 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11792 soname_spec='${libname}${release}${major}$shared_ext'
11793 shlibpath_overrides_runpath=yes
11794 shlibpath_var=DYLD_LIBRARY_PATH
11795 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11796
11797 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11798 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11799 ;;
11800
11801 dgux*)
11802 version_type=linux
11803 need_lib_prefix=no
11804 need_version=no
11805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11806 soname_spec='${libname}${release}${shared_ext}$major'
11807 shlibpath_var=LD_LIBRARY_PATH
11808 ;;
11809
11810 freebsd* | dragonfly*)
11811 # DragonFly does not have aout. When/if they implement a new
11812 # versioning mechanism, adjust this.
11813 if test -x /usr/bin/objformat; then
11814 objformat=`/usr/bin/objformat`
11815 else
11816 case $host_os in
11817 freebsd[23].*) objformat=aout ;;
11818 *) objformat=elf ;;
11819 esac
11820 fi
11821 version_type=freebsd-$objformat
11822 case $version_type in
11823 freebsd-elf*)
11824 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11825 need_version=no
11826 need_lib_prefix=no
11827 ;;
11828 freebsd-*)
11829 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11830 need_version=yes
11831 ;;
11832 esac
11833 shlibpath_var=LD_LIBRARY_PATH
11834 case $host_os in
11835 freebsd2.*)
11836 shlibpath_overrides_runpath=yes
11837 ;;
11838 freebsd3.[01]* | freebsdelf3.[01]*)
11839 shlibpath_overrides_runpath=yes
11840 hardcode_into_libs=yes
11841 ;;
11842 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11843 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11844 shlibpath_overrides_runpath=no
11845 hardcode_into_libs=yes
11846 ;;
11847 *) # from 4.6 on, and DragonFly
11848 shlibpath_overrides_runpath=yes
11849 hardcode_into_libs=yes
11850 ;;
11851 esac
11852 ;;
11853
11854 gnu*)
11855 version_type=linux
11856 need_lib_prefix=no
11857 need_version=no
11858 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11859 soname_spec='${libname}${release}${shared_ext}$major'
11860 shlibpath_var=LD_LIBRARY_PATH
11861 hardcode_into_libs=yes
11862 ;;
11863
11864 haiku*)
11865 version_type=linux
11866 need_lib_prefix=no
11867 need_version=no
11868 dynamic_linker="$host_os runtime_loader"
11869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11870 soname_spec='${libname}${release}${shared_ext}$major'
11871 shlibpath_var=LIBRARY_PATH
11872 shlibpath_overrides_runpath=yes
11873 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11874 hardcode_into_libs=yes
11875 ;;
11876
11877 hpux9* | hpux10* | hpux11*)
11878 # Give a soname corresponding to the major version so that dld.sl refuses to
11879 # link against other versions.
11880 version_type=sunos
11881 need_lib_prefix=no
11882 need_version=no
11883 case $host_cpu in
11884 ia64*)
11885 shrext_cmds='.so'
11886 hardcode_into_libs=yes
11887 dynamic_linker="$host_os dld.so"
11888 shlibpath_var=LD_LIBRARY_PATH
11889 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11891 soname_spec='${libname}${release}${shared_ext}$major'
11892 if test "X$HPUX_IA64_MODE" = X32; then
11893 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11894 else
11895 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11896 fi
11897 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11898 ;;
11899 hppa*64*)
11900 shrext_cmds='.sl'
11901 hardcode_into_libs=yes
11902 dynamic_linker="$host_os dld.sl"
11903 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11904 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11906 soname_spec='${libname}${release}${shared_ext}$major'
11907 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11908 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11909 ;;
11910 *)
11911 shrext_cmds='.sl'
11912 dynamic_linker="$host_os dld.sl"
11913 shlibpath_var=SHLIB_PATH
11914 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11916 soname_spec='${libname}${release}${shared_ext}$major'
11917 ;;
11918 esac
11919 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11920 postinstall_cmds='chmod 555 $lib'
11921 # or fails outright, so override atomically:
11922 install_override_mode=555
11923 ;;
11924
11925 interix[3-9]*)
11926 version_type=linux
11927 need_lib_prefix=no
11928 need_version=no
11929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11930 soname_spec='${libname}${release}${shared_ext}$major'
11931 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11932 shlibpath_var=LD_LIBRARY_PATH
11933 shlibpath_overrides_runpath=no
11934 hardcode_into_libs=yes
11935 ;;
11936
11937 irix5* | irix6* | nonstopux*)
11938 case $host_os in
11939 nonstopux*) version_type=nonstopux ;;
11940 *)
11941 if test "$lt_cv_prog_gnu_ld" = yes; then
11942 version_type=linux
11943 else
11944 version_type=irix
11945 fi ;;
11946 esac
11947 need_lib_prefix=no
11948 need_version=no
11949 soname_spec='${libname}${release}${shared_ext}$major'
11950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11951 case $host_os in
11952 irix5* | nonstopux*)
11953 libsuff= shlibsuff=
11954 ;;
11955 *)
11956 case $LD in # libtool.m4 will add one of these switches to LD
11957 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11958 libsuff= shlibsuff= libmagic=32-bit;;
11959 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11960 libsuff=32 shlibsuff=N32 libmagic=N32;;
11961 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11962 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11963 *) libsuff= shlibsuff= libmagic=never-match;;
11964 esac
11965 ;;
11966 esac
11967 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11968 shlibpath_overrides_runpath=no
11969 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11970 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11971 hardcode_into_libs=yes
11972 ;;
11973
11974 # No shared lib support for Linux oldld, aout, or coff.
11975 linux*oldld* | linux*aout* | linux*coff*)
11976 dynamic_linker=no
11977 ;;
11978
11979 # This must be Linux ELF.
11980 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11981 version_type=linux
11982 need_lib_prefix=no
11983 need_version=no
11984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11985 soname_spec='${libname}${release}${shared_ext}$major'
11986 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11987 shlibpath_var=LD_LIBRARY_PATH
11988 shlibpath_overrides_runpath=no
11989
11990 # Some binutils ld are patched to set DT_RUNPATH
11991 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11992 $as_echo_n "(cached) " >&6
11993 else
11994 lt_cv_shlibpath_overrides_runpath=no
11995 save_LDFLAGS=$LDFLAGS
11996 save_libdir=$libdir
11997 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11998 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11999 if test x$gcc_no_link = xyes; then
12000 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12001 fi
12002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12003 /* end confdefs.h. */
12004
12005 int
12006 main ()
12007 {
12008
12009 ;
12010 return 0;
12011 }
12012 _ACEOF
12013 if ac_fn_c_try_link "$LINENO"; then :
12014 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12015 lt_cv_shlibpath_overrides_runpath=yes
12016 fi
12017 fi
12018 rm -f core conftest.err conftest.$ac_objext \
12019 conftest$ac_exeext conftest.$ac_ext
12020 LDFLAGS=$save_LDFLAGS
12021 libdir=$save_libdir
12022
12023 fi
12024
12025 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12026
12027 # This implies no fast_install, which is unacceptable.
12028 # Some rework will be needed to allow for fast_install
12029 # before this can be enabled.
12030 hardcode_into_libs=yes
12031
12032 # Append ld.so.conf contents to the search path
12033 if test -f /etc/ld.so.conf; then
12034 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' ' '`
12035 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12036 fi
12037
12038 # We used to test for /lib/ld.so.1 and disable shared libraries on
12039 # powerpc, because MkLinux only supported shared libraries with the
12040 # GNU dynamic linker. Since this was broken with cross compilers,
12041 # most powerpc-linux boxes support dynamic linking these days and
12042 # people can always --disable-shared, the test was removed, and we
12043 # assume the GNU/Linux dynamic linker is in use.
12044 dynamic_linker='GNU/Linux ld.so'
12045 ;;
12046
12047 netbsd*)
12048 version_type=sunos
12049 need_lib_prefix=no
12050 need_version=no
12051 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12052 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12053 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12054 dynamic_linker='NetBSD (a.out) ld.so'
12055 else
12056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12057 soname_spec='${libname}${release}${shared_ext}$major'
12058 dynamic_linker='NetBSD ld.elf_so'
12059 fi
12060 shlibpath_var=LD_LIBRARY_PATH
12061 shlibpath_overrides_runpath=yes
12062 hardcode_into_libs=yes
12063 ;;
12064
12065 newsos6)
12066 version_type=linux
12067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12068 shlibpath_var=LD_LIBRARY_PATH
12069 shlibpath_overrides_runpath=yes
12070 ;;
12071
12072 *nto* | *qnx*)
12073 version_type=qnx
12074 need_lib_prefix=no
12075 need_version=no
12076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12077 soname_spec='${libname}${release}${shared_ext}$major'
12078 shlibpath_var=LD_LIBRARY_PATH
12079 shlibpath_overrides_runpath=no
12080 hardcode_into_libs=yes
12081 dynamic_linker='ldqnx.so'
12082 ;;
12083
12084 openbsd*)
12085 version_type=sunos
12086 sys_lib_dlsearch_path_spec="/usr/lib"
12087 need_lib_prefix=no
12088 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12089 case $host_os in
12090 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12091 *) need_version=no ;;
12092 esac
12093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12094 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12095 shlibpath_var=LD_LIBRARY_PATH
12096 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12097 case $host_os in
12098 openbsd2.[89] | openbsd2.[89].*)
12099 shlibpath_overrides_runpath=no
12100 ;;
12101 *)
12102 shlibpath_overrides_runpath=yes
12103 ;;
12104 esac
12105 else
12106 shlibpath_overrides_runpath=yes
12107 fi
12108 ;;
12109
12110 os2*)
12111 libname_spec='$name'
12112 shrext_cmds=".dll"
12113 need_lib_prefix=no
12114 library_names_spec='$libname${shared_ext} $libname.a'
12115 dynamic_linker='OS/2 ld.exe'
12116 shlibpath_var=LIBPATH
12117 ;;
12118
12119 osf3* | osf4* | osf5*)
12120 version_type=osf
12121 need_lib_prefix=no
12122 need_version=no
12123 soname_spec='${libname}${release}${shared_ext}$major'
12124 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12125 shlibpath_var=LD_LIBRARY_PATH
12126 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12127 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12128 ;;
12129
12130 rdos*)
12131 dynamic_linker=no
12132 ;;
12133
12134 solaris*)
12135 version_type=linux
12136 need_lib_prefix=no
12137 need_version=no
12138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12139 soname_spec='${libname}${release}${shared_ext}$major'
12140 shlibpath_var=LD_LIBRARY_PATH
12141 shlibpath_overrides_runpath=yes
12142 hardcode_into_libs=yes
12143 # ldd complains unless libraries are executable
12144 postinstall_cmds='chmod +x $lib'
12145 ;;
12146
12147 sunos4*)
12148 version_type=sunos
12149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12150 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12151 shlibpath_var=LD_LIBRARY_PATH
12152 shlibpath_overrides_runpath=yes
12153 if test "$with_gnu_ld" = yes; then
12154 need_lib_prefix=no
12155 fi
12156 need_version=yes
12157 ;;
12158
12159 sysv4 | sysv4.3*)
12160 version_type=linux
12161 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12162 soname_spec='${libname}${release}${shared_ext}$major'
12163 shlibpath_var=LD_LIBRARY_PATH
12164 case $host_vendor in
12165 sni)
12166 shlibpath_overrides_runpath=no
12167 need_lib_prefix=no
12168 runpath_var=LD_RUN_PATH
12169 ;;
12170 siemens)
12171 need_lib_prefix=no
12172 ;;
12173 motorola)
12174 need_lib_prefix=no
12175 need_version=no
12176 shlibpath_overrides_runpath=no
12177 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12178 ;;
12179 esac
12180 ;;
12181
12182 sysv4*MP*)
12183 if test -d /usr/nec ;then
12184 version_type=linux
12185 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12186 soname_spec='$libname${shared_ext}.$major'
12187 shlibpath_var=LD_LIBRARY_PATH
12188 fi
12189 ;;
12190
12191 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12192 version_type=freebsd-elf
12193 need_lib_prefix=no
12194 need_version=no
12195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12196 soname_spec='${libname}${release}${shared_ext}$major'
12197 shlibpath_var=LD_LIBRARY_PATH
12198 shlibpath_overrides_runpath=yes
12199 hardcode_into_libs=yes
12200 if test "$with_gnu_ld" = yes; then
12201 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12202 else
12203 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12204 case $host_os in
12205 sco3.2v5*)
12206 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12207 ;;
12208 esac
12209 fi
12210 sys_lib_dlsearch_path_spec='/usr/lib'
12211 ;;
12212
12213 tpf*)
12214 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12215 version_type=linux
12216 need_lib_prefix=no
12217 need_version=no
12218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12219 shlibpath_var=LD_LIBRARY_PATH
12220 shlibpath_overrides_runpath=no
12221 hardcode_into_libs=yes
12222 ;;
12223
12224 uts4*)
12225 version_type=linux
12226 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12227 soname_spec='${libname}${release}${shared_ext}$major'
12228 shlibpath_var=LD_LIBRARY_PATH
12229 ;;
12230
12231 *)
12232 dynamic_linker=no
12233 ;;
12234 esac
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12236 $as_echo "$dynamic_linker" >&6; }
12237 test "$dynamic_linker" = no && can_build_shared=no
12238
12239 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12240 if test "$GCC" = yes; then
12241 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12242 fi
12243
12244 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12245 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12246 fi
12247 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12248 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12249 fi
12250
12251
12252
12253
12254
12255
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12343 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12344 hardcode_action=
12345 if test -n "$hardcode_libdir_flag_spec" ||
12346 test -n "$runpath_var" ||
12347 test "X$hardcode_automatic" = "Xyes" ; then
12348
12349 # We can hardcode non-existent directories.
12350 if test "$hardcode_direct" != no &&
12351 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12352 # have to relink, otherwise we might link with an installed library
12353 # when we should be linking with a yet-to-be-installed one
12354 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12355 test "$hardcode_minus_L" != no; then
12356 # Linking always hardcodes the temporary library directory.
12357 hardcode_action=relink
12358 else
12359 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12360 hardcode_action=immediate
12361 fi
12362 else
12363 # We cannot hardcode anything, or else we can only hardcode existing
12364 # directories.
12365 hardcode_action=unsupported
12366 fi
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12368 $as_echo "$hardcode_action" >&6; }
12369
12370 if test "$hardcode_action" = relink ||
12371 test "$inherit_rpath" = yes; then
12372 # Fast installation is not supported
12373 enable_fast_install=no
12374 elif test "$shlibpath_overrides_runpath" = yes ||
12375 test "$enable_shared" = no; then
12376 # Fast installation is not necessary
12377 enable_fast_install=needless
12378 fi
12379
12380
12381
12382
12383
12384
12385 if test "x$enable_dlopen" != xyes; then
12386 enable_dlopen=unknown
12387 enable_dlopen_self=unknown
12388 enable_dlopen_self_static=unknown
12389 else
12390 lt_cv_dlopen=no
12391 lt_cv_dlopen_libs=
12392
12393 case $host_os in
12394 beos*)
12395 lt_cv_dlopen="load_add_on"
12396 lt_cv_dlopen_libs=
12397 lt_cv_dlopen_self=yes
12398 ;;
12399
12400 mingw* | pw32* | cegcc*)
12401 lt_cv_dlopen="LoadLibrary"
12402 lt_cv_dlopen_libs=
12403 ;;
12404
12405 cygwin*)
12406 lt_cv_dlopen="dlopen"
12407 lt_cv_dlopen_libs=
12408 ;;
12409
12410 darwin*)
12411 # if libdl is installed we need to link against it
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12413 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12414 if ${ac_cv_lib_dl_dlopen+:} false; then :
12415 $as_echo_n "(cached) " >&6
12416 else
12417 ac_check_lib_save_LIBS=$LIBS
12418 LIBS="-ldl $LIBS"
12419 if test x$gcc_no_link = xyes; then
12420 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12421 fi
12422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12423 /* end confdefs.h. */
12424
12425 /* Override any GCC internal prototype to avoid an error.
12426 Use char because int might match the return type of a GCC
12427 builtin and then its argument prototype would still apply. */
12428 #ifdef __cplusplus
12429 extern "C"
12430 #endif
12431 char dlopen ();
12432 int
12433 main ()
12434 {
12435 return dlopen ();
12436 ;
12437 return 0;
12438 }
12439 _ACEOF
12440 if ac_fn_c_try_link "$LINENO"; then :
12441 ac_cv_lib_dl_dlopen=yes
12442 else
12443 ac_cv_lib_dl_dlopen=no
12444 fi
12445 rm -f core conftest.err conftest.$ac_objext \
12446 conftest$ac_exeext conftest.$ac_ext
12447 LIBS=$ac_check_lib_save_LIBS
12448 fi
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12450 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12451 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12452 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12453 else
12454
12455 lt_cv_dlopen="dyld"
12456 lt_cv_dlopen_libs=
12457 lt_cv_dlopen_self=yes
12458
12459 fi
12460
12461 ;;
12462
12463 *)
12464 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12465 if test "x$ac_cv_func_shl_load" = xyes; then :
12466 lt_cv_dlopen="shl_load"
12467 else
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12469 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12470 if ${ac_cv_lib_dld_shl_load+:} false; then :
12471 $as_echo_n "(cached) " >&6
12472 else
12473 ac_check_lib_save_LIBS=$LIBS
12474 LIBS="-ldld $LIBS"
12475 if test x$gcc_no_link = xyes; then
12476 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12477 fi
12478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12479 /* end confdefs.h. */
12480
12481 /* Override any GCC internal prototype to avoid an error.
12482 Use char because int might match the return type of a GCC
12483 builtin and then its argument prototype would still apply. */
12484 #ifdef __cplusplus
12485 extern "C"
12486 #endif
12487 char shl_load ();
12488 int
12489 main ()
12490 {
12491 return shl_load ();
12492 ;
12493 return 0;
12494 }
12495 _ACEOF
12496 if ac_fn_c_try_link "$LINENO"; then :
12497 ac_cv_lib_dld_shl_load=yes
12498 else
12499 ac_cv_lib_dld_shl_load=no
12500 fi
12501 rm -f core conftest.err conftest.$ac_objext \
12502 conftest$ac_exeext conftest.$ac_ext
12503 LIBS=$ac_check_lib_save_LIBS
12504 fi
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12506 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12507 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12508 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12509 else
12510 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12511 if test "x$ac_cv_func_dlopen" = xyes; then :
12512 lt_cv_dlopen="dlopen"
12513 else
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12515 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12516 if ${ac_cv_lib_dl_dlopen+:} false; then :
12517 $as_echo_n "(cached) " >&6
12518 else
12519 ac_check_lib_save_LIBS=$LIBS
12520 LIBS="-ldl $LIBS"
12521 if test x$gcc_no_link = xyes; then
12522 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12523 fi
12524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12525 /* end confdefs.h. */
12526
12527 /* Override any GCC internal prototype to avoid an error.
12528 Use char because int might match the return type of a GCC
12529 builtin and then its argument prototype would still apply. */
12530 #ifdef __cplusplus
12531 extern "C"
12532 #endif
12533 char dlopen ();
12534 int
12535 main ()
12536 {
12537 return dlopen ();
12538 ;
12539 return 0;
12540 }
12541 _ACEOF
12542 if ac_fn_c_try_link "$LINENO"; then :
12543 ac_cv_lib_dl_dlopen=yes
12544 else
12545 ac_cv_lib_dl_dlopen=no
12546 fi
12547 rm -f core conftest.err conftest.$ac_objext \
12548 conftest$ac_exeext conftest.$ac_ext
12549 LIBS=$ac_check_lib_save_LIBS
12550 fi
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12552 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12553 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12554 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12555 else
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12557 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12558 if ${ac_cv_lib_svld_dlopen+:} false; then :
12559 $as_echo_n "(cached) " >&6
12560 else
12561 ac_check_lib_save_LIBS=$LIBS
12562 LIBS="-lsvld $LIBS"
12563 if test x$gcc_no_link = xyes; then
12564 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12565 fi
12566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12568
12569 /* Override any GCC internal prototype to avoid an error.
12570 Use char because int might match the return type of a GCC
12571 builtin and then its argument prototype would still apply. */
12572 #ifdef __cplusplus
12573 extern "C"
12574 #endif
12575 char dlopen ();
12576 int
12577 main ()
12578 {
12579 return dlopen ();
12580 ;
12581 return 0;
12582 }
12583 _ACEOF
12584 if ac_fn_c_try_link "$LINENO"; then :
12585 ac_cv_lib_svld_dlopen=yes
12586 else
12587 ac_cv_lib_svld_dlopen=no
12588 fi
12589 rm -f core conftest.err conftest.$ac_objext \
12590 conftest$ac_exeext conftest.$ac_ext
12591 LIBS=$ac_check_lib_save_LIBS
12592 fi
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12594 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12595 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12596 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12597 else
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12599 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12600 if ${ac_cv_lib_dld_dld_link+:} false; then :
12601 $as_echo_n "(cached) " >&6
12602 else
12603 ac_check_lib_save_LIBS=$LIBS
12604 LIBS="-ldld $LIBS"
12605 if test x$gcc_no_link = xyes; then
12606 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12607 fi
12608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12609 /* end confdefs.h. */
12610
12611 /* Override any GCC internal prototype to avoid an error.
12612 Use char because int might match the return type of a GCC
12613 builtin and then its argument prototype would still apply. */
12614 #ifdef __cplusplus
12615 extern "C"
12616 #endif
12617 char dld_link ();
12618 int
12619 main ()
12620 {
12621 return dld_link ();
12622 ;
12623 return 0;
12624 }
12625 _ACEOF
12626 if ac_fn_c_try_link "$LINENO"; then :
12627 ac_cv_lib_dld_dld_link=yes
12628 else
12629 ac_cv_lib_dld_dld_link=no
12630 fi
12631 rm -f core conftest.err conftest.$ac_objext \
12632 conftest$ac_exeext conftest.$ac_ext
12633 LIBS=$ac_check_lib_save_LIBS
12634 fi
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12636 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12637 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12638 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12639 fi
12640
12641
12642 fi
12643
12644
12645 fi
12646
12647
12648 fi
12649
12650
12651 fi
12652
12653
12654 fi
12655
12656 ;;
12657 esac
12658
12659 if test "x$lt_cv_dlopen" != xno; then
12660 enable_dlopen=yes
12661 else
12662 enable_dlopen=no
12663 fi
12664
12665 case $lt_cv_dlopen in
12666 dlopen)
12667 save_CPPFLAGS="$CPPFLAGS"
12668 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12669
12670 save_LDFLAGS="$LDFLAGS"
12671 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12672
12673 save_LIBS="$LIBS"
12674 LIBS="$lt_cv_dlopen_libs $LIBS"
12675
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12677 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12678 if ${lt_cv_dlopen_self+:} false; then :
12679 $as_echo_n "(cached) " >&6
12680 else
12681 if test "$cross_compiling" = yes; then :
12682 lt_cv_dlopen_self=cross
12683 else
12684 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12685 lt_status=$lt_dlunknown
12686 cat > conftest.$ac_ext <<_LT_EOF
12687 #line 12687 "configure"
12688 #include "confdefs.h"
12689
12690 #if HAVE_DLFCN_H
12691 #include <dlfcn.h>
12692 #endif
12693
12694 #include <stdio.h>
12695
12696 #ifdef RTLD_GLOBAL
12697 # define LT_DLGLOBAL RTLD_GLOBAL
12698 #else
12699 # ifdef DL_GLOBAL
12700 # define LT_DLGLOBAL DL_GLOBAL
12701 # else
12702 # define LT_DLGLOBAL 0
12703 # endif
12704 #endif
12705
12706 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12707 find out it does not work in some platform. */
12708 #ifndef LT_DLLAZY_OR_NOW
12709 # ifdef RTLD_LAZY
12710 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12711 # else
12712 # ifdef DL_LAZY
12713 # define LT_DLLAZY_OR_NOW DL_LAZY
12714 # else
12715 # ifdef RTLD_NOW
12716 # define LT_DLLAZY_OR_NOW RTLD_NOW
12717 # else
12718 # ifdef DL_NOW
12719 # define LT_DLLAZY_OR_NOW DL_NOW
12720 # else
12721 # define LT_DLLAZY_OR_NOW 0
12722 # endif
12723 # endif
12724 # endif
12725 # endif
12726 #endif
12727
12728 /* When -fvisbility=hidden is used, assume the code has been annotated
12729 correspondingly for the symbols needed. */
12730 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12731 void fnord () __attribute__((visibility("default")));
12732 #endif
12733
12734 void fnord () { int i=42; }
12735 int main ()
12736 {
12737 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12738 int status = $lt_dlunknown;
12739
12740 if (self)
12741 {
12742 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12743 else
12744 {
12745 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12746 else puts (dlerror ());
12747 }
12748 /* dlclose (self); */
12749 }
12750 else
12751 puts (dlerror ());
12752
12753 return status;
12754 }
12755 _LT_EOF
12756 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12757 (eval $ac_link) 2>&5
12758 ac_status=$?
12759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12760 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12761 (./conftest; exit; ) >&5 2>/dev/null
12762 lt_status=$?
12763 case x$lt_status in
12764 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12765 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12766 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12767 esac
12768 else :
12769 # compilation failed
12770 lt_cv_dlopen_self=no
12771 fi
12772 fi
12773 rm -fr conftest*
12774
12775
12776 fi
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12778 $as_echo "$lt_cv_dlopen_self" >&6; }
12779
12780 if test "x$lt_cv_dlopen_self" = xyes; then
12781 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12783 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12784 if ${lt_cv_dlopen_self_static+:} false; then :
12785 $as_echo_n "(cached) " >&6
12786 else
12787 if test "$cross_compiling" = yes; then :
12788 lt_cv_dlopen_self_static=cross
12789 else
12790 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12791 lt_status=$lt_dlunknown
12792 cat > conftest.$ac_ext <<_LT_EOF
12793 #line 12793 "configure"
12794 #include "confdefs.h"
12795
12796 #if HAVE_DLFCN_H
12797 #include <dlfcn.h>
12798 #endif
12799
12800 #include <stdio.h>
12801
12802 #ifdef RTLD_GLOBAL
12803 # define LT_DLGLOBAL RTLD_GLOBAL
12804 #else
12805 # ifdef DL_GLOBAL
12806 # define LT_DLGLOBAL DL_GLOBAL
12807 # else
12808 # define LT_DLGLOBAL 0
12809 # endif
12810 #endif
12811
12812 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12813 find out it does not work in some platform. */
12814 #ifndef LT_DLLAZY_OR_NOW
12815 # ifdef RTLD_LAZY
12816 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12817 # else
12818 # ifdef DL_LAZY
12819 # define LT_DLLAZY_OR_NOW DL_LAZY
12820 # else
12821 # ifdef RTLD_NOW
12822 # define LT_DLLAZY_OR_NOW RTLD_NOW
12823 # else
12824 # ifdef DL_NOW
12825 # define LT_DLLAZY_OR_NOW DL_NOW
12826 # else
12827 # define LT_DLLAZY_OR_NOW 0
12828 # endif
12829 # endif
12830 # endif
12831 # endif
12832 #endif
12833
12834 /* When -fvisbility=hidden is used, assume the code has been annotated
12835 correspondingly for the symbols needed. */
12836 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12837 void fnord () __attribute__((visibility("default")));
12838 #endif
12839
12840 void fnord () { int i=42; }
12841 int main ()
12842 {
12843 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12844 int status = $lt_dlunknown;
12845
12846 if (self)
12847 {
12848 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12849 else
12850 {
12851 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12852 else puts (dlerror ());
12853 }
12854 /* dlclose (self); */
12855 }
12856 else
12857 puts (dlerror ());
12858
12859 return status;
12860 }
12861 _LT_EOF
12862 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12863 (eval $ac_link) 2>&5
12864 ac_status=$?
12865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12866 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12867 (./conftest; exit; ) >&5 2>/dev/null
12868 lt_status=$?
12869 case x$lt_status in
12870 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12871 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12872 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12873 esac
12874 else :
12875 # compilation failed
12876 lt_cv_dlopen_self_static=no
12877 fi
12878 fi
12879 rm -fr conftest*
12880
12881
12882 fi
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12884 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12885 fi
12886
12887 CPPFLAGS="$save_CPPFLAGS"
12888 LDFLAGS="$save_LDFLAGS"
12889 LIBS="$save_LIBS"
12890 ;;
12891 esac
12892
12893 case $lt_cv_dlopen_self in
12894 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12895 *) enable_dlopen_self=unknown ;;
12896 esac
12897
12898 case $lt_cv_dlopen_self_static in
12899 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12900 *) enable_dlopen_self_static=unknown ;;
12901 esac
12902 fi
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920 striplib=
12921 old_striplib=
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12923 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12924 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12925 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12926 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12928 $as_echo "yes" >&6; }
12929 else
12930 # FIXME - insert some real tests, host_os isn't really good enough
12931 case $host_os in
12932 darwin*)
12933 if test -n "$STRIP" ; then
12934 striplib="$STRIP -x"
12935 old_striplib="$STRIP -S"
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12937 $as_echo "yes" >&6; }
12938 else
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12940 $as_echo "no" >&6; }
12941 fi
12942 ;;
12943 *)
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12945 $as_echo "no" >&6; }
12946 ;;
12947 esac
12948 fi
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961 # Report which library types will actually be built
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12963 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12965 $as_echo "$can_build_shared" >&6; }
12966
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12968 $as_echo_n "checking whether to build shared libraries... " >&6; }
12969 test "$can_build_shared" = "no" && enable_shared=no
12970
12971 # On AIX, shared libraries and static libraries use the same namespace, and
12972 # are all built from PIC.
12973 case $host_os in
12974 aix3*)
12975 test "$enable_shared" = yes && enable_static=no
12976 if test -n "$RANLIB"; then
12977 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12978 postinstall_cmds='$RANLIB $lib'
12979 fi
12980 ;;
12981
12982 aix[4-9]*)
12983 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12984 test "$enable_shared" = yes && enable_static=no
12985 fi
12986 ;;
12987 esac
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12989 $as_echo "$enable_shared" >&6; }
12990
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12992 $as_echo_n "checking whether to build static libraries... " >&6; }
12993 # Make sure either enable_shared or enable_static is yes.
12994 test "$enable_shared" = yes || enable_static=yes
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12996 $as_echo "$enable_static" >&6; }
12997
12998
12999
13000
13001 fi
13002 ac_ext=c
13003 ac_cpp='$CPP $CPPFLAGS'
13004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13007
13008 CC="$lt_save_CC"
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022 ac_config_commands="$ac_config_commands libtool"
13023
13024
13025
13026
13027 # Only expand once:
13028
13029
13030
13031
13032
13033 case $host in
13034 *-cygwin* | *-mingw*)
13035 # 'host' will be top-level target in the case of a target lib,
13036 # we must compare to with_cross_host to decide if this is a native
13037 # or cross-compiler and select where to install dlls appropriately.
13038 if test -n "$with_cross_host" &&
13039 test x"$with_cross_host" != x"no"; then
13040 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
13041 else
13042 lt_host_flags='-no-undefined -bindir "$(bindir)"';
13043 fi
13044 ;;
13045 *)
13046 lt_host_flags=
13047 ;;
13048 esac
13049
13050
13051
13052
13053
13054 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13055
13056 # We need gfortran to compile parts of the library
13057 #AC_PROG_FC(gfortran)
13058 FC="$GFORTRAN"
13059 ac_ext=${ac_fc_srcext-f}
13060 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13061 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13062 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13063 if test -n "$ac_tool_prefix"; then
13064 for ac_prog in gfortran
13065 do
13066 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13067 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13069 $as_echo_n "checking for $ac_word... " >&6; }
13070 if ${ac_cv_prog_FC+:} false; then :
13071 $as_echo_n "(cached) " >&6
13072 else
13073 if test -n "$FC"; then
13074 ac_cv_prog_FC="$FC" # Let the user override the test.
13075 else
13076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13077 for as_dir in $PATH
13078 do
13079 IFS=$as_save_IFS
13080 test -z "$as_dir" && as_dir=.
13081 for ac_exec_ext in '' $ac_executable_extensions; do
13082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13083 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
13084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13085 break 2
13086 fi
13087 done
13088 done
13089 IFS=$as_save_IFS
13090
13091 fi
13092 fi
13093 FC=$ac_cv_prog_FC
13094 if test -n "$FC"; then
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13096 $as_echo "$FC" >&6; }
13097 else
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13099 $as_echo "no" >&6; }
13100 fi
13101
13102
13103 test -n "$FC" && break
13104 done
13105 fi
13106 if test -z "$FC"; then
13107 ac_ct_FC=$FC
13108 for ac_prog in gfortran
13109 do
13110 # Extract the first word of "$ac_prog", so it can be a program name with args.
13111 set dummy $ac_prog; ac_word=$2
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13113 $as_echo_n "checking for $ac_word... " >&6; }
13114 if ${ac_cv_prog_ac_ct_FC+:} false; then :
13115 $as_echo_n "(cached) " >&6
13116 else
13117 if test -n "$ac_ct_FC"; then
13118 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
13119 else
13120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13121 for as_dir in $PATH
13122 do
13123 IFS=$as_save_IFS
13124 test -z "$as_dir" && as_dir=.
13125 for ac_exec_ext in '' $ac_executable_extensions; do
13126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13127 ac_cv_prog_ac_ct_FC="$ac_prog"
13128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13129 break 2
13130 fi
13131 done
13132 done
13133 IFS=$as_save_IFS
13134
13135 fi
13136 fi
13137 ac_ct_FC=$ac_cv_prog_ac_ct_FC
13138 if test -n "$ac_ct_FC"; then
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13140 $as_echo "$ac_ct_FC" >&6; }
13141 else
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13143 $as_echo "no" >&6; }
13144 fi
13145
13146
13147 test -n "$ac_ct_FC" && break
13148 done
13149
13150 if test "x$ac_ct_FC" = x; then
13151 FC=""
13152 else
13153 case $cross_compiling:$ac_tool_warned in
13154 yes:)
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13157 ac_tool_warned=yes ;;
13158 esac
13159 FC=$ac_ct_FC
13160 fi
13161 fi
13162
13163
13164 # Provide some information about the compiler.
13165 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13166 set X $ac_compile
13167 ac_compiler=$2
13168 for ac_option in --version -v -V -qversion; do
13169 { { ac_try="$ac_compiler $ac_option >&5"
13170 case "(($ac_try" in
13171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13172 *) ac_try_echo=$ac_try;;
13173 esac
13174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13175 $as_echo "$ac_try_echo"; } >&5
13176 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13177 ac_status=$?
13178 if test -s conftest.err; then
13179 sed '10a\
13180 ... rest of stderr output deleted ...
13181 10q' conftest.err >conftest.er1
13182 cat conftest.er1 >&5
13183 fi
13184 rm -f conftest.er1 conftest.err
13185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13186 test $ac_status = 0; }
13187 done
13188 rm -f a.out
13189
13190 # If we don't use `.F' as extension, the preprocessor is not run on the
13191 # input file. (Note that this only needs to work for GNU compilers.)
13192 ac_save_ext=$ac_ext
13193 ac_ext=F
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13195 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13196 if ${ac_cv_fc_compiler_gnu+:} false; then :
13197 $as_echo_n "(cached) " >&6
13198 else
13199 cat > conftest.$ac_ext <<_ACEOF
13200 program main
13201 #ifndef __GNUC__
13202 choke me
13203 #endif
13204
13205 end
13206 _ACEOF
13207 if ac_fn_fc_try_compile "$LINENO"; then :
13208 ac_compiler_gnu=yes
13209 else
13210 ac_compiler_gnu=no
13211 fi
13212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13213 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13214
13215 fi
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13217 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13218 ac_ext=$ac_save_ext
13219 ac_test_FCFLAGS=${FCFLAGS+set}
13220 ac_save_FCFLAGS=$FCFLAGS
13221 FCFLAGS=
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13223 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13224 if ${ac_cv_prog_fc_g+:} false; then :
13225 $as_echo_n "(cached) " >&6
13226 else
13227 FCFLAGS=-g
13228 cat > conftest.$ac_ext <<_ACEOF
13229 program main
13230
13231 end
13232 _ACEOF
13233 if ac_fn_fc_try_compile "$LINENO"; then :
13234 ac_cv_prog_fc_g=yes
13235 else
13236 ac_cv_prog_fc_g=no
13237 fi
13238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13239
13240 fi
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13242 $as_echo "$ac_cv_prog_fc_g" >&6; }
13243 if test "$ac_test_FCFLAGS" = set; then
13244 FCFLAGS=$ac_save_FCFLAGS
13245 elif test $ac_cv_prog_fc_g = yes; then
13246 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13247 FCFLAGS="-g -O2"
13248 else
13249 FCFLAGS="-g"
13250 fi
13251 else
13252 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13253 FCFLAGS="-O2"
13254 else
13255 FCFLAGS=
13256 fi
13257 fi
13258
13259 if test $ac_compiler_gnu = yes; then
13260 GFC=yes
13261 else
13262 GFC=
13263 fi
13264 ac_ext=c
13265 ac_cpp='$CPP $CPPFLAGS'
13266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13269
13270 ac_ext=${ac_fc_srcext-f}
13271 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13272 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13273 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13274
13275
13276 if test -z "$FC" || test "X$FC" = "Xno"; then
13277 _lt_disable_FC=yes
13278 fi
13279
13280 archive_cmds_need_lc_FC=no
13281 allow_undefined_flag_FC=
13282 always_export_symbols_FC=no
13283 archive_expsym_cmds_FC=
13284 export_dynamic_flag_spec_FC=
13285 hardcode_direct_FC=no
13286 hardcode_direct_absolute_FC=no
13287 hardcode_libdir_flag_spec_FC=
13288 hardcode_libdir_flag_spec_ld_FC=
13289 hardcode_libdir_separator_FC=
13290 hardcode_minus_L_FC=no
13291 hardcode_automatic_FC=no
13292 inherit_rpath_FC=no
13293 module_cmds_FC=
13294 module_expsym_cmds_FC=
13295 link_all_deplibs_FC=unknown
13296 old_archive_cmds_FC=$old_archive_cmds
13297 reload_flag_FC=$reload_flag
13298 reload_cmds_FC=$reload_cmds
13299 no_undefined_flag_FC=
13300 whole_archive_flag_spec_FC=
13301 enable_shared_with_static_runtimes_FC=no
13302
13303 # Source file extension for fc test sources.
13304 ac_ext=${ac_fc_srcext-f}
13305
13306 # Object file extension for compiled fc test sources.
13307 objext=o
13308 objext_FC=$objext
13309
13310 # No sense in running all these tests if we already determined that
13311 # the FC compiler isn't working. Some variables (like enable_shared)
13312 # are currently assumed to apply to all compilers on this platform,
13313 # and will be corrupted by setting them based on a non-working compiler.
13314 if test "$_lt_disable_FC" != yes; then
13315 # Code to be used in simple compile tests
13316 lt_simple_compile_test_code="\
13317 subroutine t
13318 return
13319 end
13320 "
13321
13322 # Code to be used in simple link tests
13323 lt_simple_link_test_code="\
13324 program t
13325 end
13326 "
13327
13328 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13329
13330
13331
13332
13333
13334
13335 # If no C compiler was specified, use CC.
13336 LTCC=${LTCC-"$CC"}
13337
13338 # If no C compiler flags were specified, use CFLAGS.
13339 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13340
13341 # Allow CC to be a program name with arguments.
13342 compiler=$CC
13343
13344
13345 # save warnings/boilerplate of simple test code
13346 ac_outfile=conftest.$ac_objext
13347 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13348 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13349 _lt_compiler_boilerplate=`cat conftest.err`
13350 $RM conftest*
13351
13352 ac_outfile=conftest.$ac_objext
13353 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13354 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13355 _lt_linker_boilerplate=`cat conftest.err`
13356 $RM -r conftest*
13357
13358
13359 # Allow CC to be a program name with arguments.
13360 lt_save_CC="$CC"
13361 lt_save_GCC=$GCC
13362 CC=${FC-"f95"}
13363 compiler=$CC
13364 GCC=$ac_cv_fc_compiler_gnu
13365
13366 compiler_FC=$CC
13367 for cc_temp in $compiler""; do
13368 case $cc_temp in
13369 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13370 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13371 \-*) ;;
13372 *) break;;
13373 esac
13374 done
13375 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13376
13377
13378 if test -n "$compiler"; then
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13380 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13382 $as_echo "$can_build_shared" >&6; }
13383
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13385 $as_echo_n "checking whether to build shared libraries... " >&6; }
13386 test "$can_build_shared" = "no" && enable_shared=no
13387
13388 # On AIX, shared libraries and static libraries use the same namespace, and
13389 # are all built from PIC.
13390 case $host_os in
13391 aix3*)
13392 test "$enable_shared" = yes && enable_static=no
13393 if test -n "$RANLIB"; then
13394 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13395 postinstall_cmds='$RANLIB $lib'
13396 fi
13397 ;;
13398 aix[4-9]*)
13399 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13400 test "$enable_shared" = yes && enable_static=no
13401 fi
13402 ;;
13403 esac
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13405 $as_echo "$enable_shared" >&6; }
13406
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13408 $as_echo_n "checking whether to build static libraries... " >&6; }
13409 # Make sure either enable_shared or enable_static is yes.
13410 test "$enable_shared" = yes || enable_static=yes
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13412 $as_echo "$enable_static" >&6; }
13413
13414 GCC_FC="$ac_cv_fc_compiler_gnu"
13415 LD_FC="$LD"
13416
13417 ## CAVEAT EMPTOR:
13418 ## There is no encapsulation within the following macros, do not change
13419 ## the running order or otherwise move them around unless you know exactly
13420 ## what you are doing...
13421 # Dependencies to place before and after the object being linked:
13422 predep_objects_FC=
13423 postdep_objects_FC=
13424 predeps_FC=
13425 postdeps_FC=
13426 compiler_lib_search_path_FC=
13427
13428 cat > conftest.$ac_ext <<_LT_EOF
13429 subroutine foo
13430 implicit none
13431 integer a
13432 a=0
13433 return
13434 end
13435 _LT_EOF
13436
13437 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13438 (eval $ac_compile) 2>&5
13439 ac_status=$?
13440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13441 test $ac_status = 0; }; then
13442 # Parse the compiler output and extract the necessary
13443 # objects, libraries and library flags.
13444
13445 # Sentinel used to keep track of whether or not we are before
13446 # the conftest object file.
13447 pre_test_object_deps_done=no
13448
13449 for p in `eval "$output_verbose_link_cmd"`; do
13450 case $p in
13451
13452 -L* | -R* | -l*)
13453 # Some compilers place space between "-{L,R}" and the path.
13454 # Remove the space.
13455 if test $p = "-L" ||
13456 test $p = "-R"; then
13457 prev=$p
13458 continue
13459 else
13460 prev=
13461 fi
13462
13463 if test "$pre_test_object_deps_done" = no; then
13464 case $p in
13465 -L* | -R*)
13466 # Internal compiler library paths should come after those
13467 # provided the user. The postdeps already come after the
13468 # user supplied libs so there is no need to process them.
13469 if test -z "$compiler_lib_search_path_FC"; then
13470 compiler_lib_search_path_FC="${prev}${p}"
13471 else
13472 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13473 fi
13474 ;;
13475 # The "-l" case would never come before the object being
13476 # linked, so don't bother handling this case.
13477 esac
13478 else
13479 if test -z "$postdeps_FC"; then
13480 postdeps_FC="${prev}${p}"
13481 else
13482 postdeps_FC="${postdeps_FC} ${prev}${p}"
13483 fi
13484 fi
13485 ;;
13486
13487 *.$objext)
13488 # This assumes that the test object file only shows up
13489 # once in the compiler output.
13490 if test "$p" = "conftest.$objext"; then
13491 pre_test_object_deps_done=yes
13492 continue
13493 fi
13494
13495 if test "$pre_test_object_deps_done" = no; then
13496 if test -z "$predep_objects_FC"; then
13497 predep_objects_FC="$p"
13498 else
13499 predep_objects_FC="$predep_objects_FC $p"
13500 fi
13501 else
13502 if test -z "$postdep_objects_FC"; then
13503 postdep_objects_FC="$p"
13504 else
13505 postdep_objects_FC="$postdep_objects_FC $p"
13506 fi
13507 fi
13508 ;;
13509
13510 *) ;; # Ignore the rest.
13511
13512 esac
13513 done
13514
13515 # Clean up.
13516 rm -f a.out a.exe
13517 else
13518 echo "libtool.m4: error: problem compiling FC test program"
13519 fi
13520
13521 $RM -f confest.$objext
13522
13523 # PORTME: override above test on systems where it is broken
13524
13525
13526 case " $postdeps_FC " in
13527 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13528 esac
13529 compiler_lib_search_dirs_FC=
13530 if test -n "${compiler_lib_search_path_FC}"; then
13531 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13532 fi
13533
13534
13535
13536
13537
13538
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 lt_prog_compiler_wl_FC=
13565 lt_prog_compiler_pic_FC=
13566 lt_prog_compiler_static_FC=
13567
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13569 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13570
13571 if test "$GCC" = yes; then
13572 lt_prog_compiler_wl_FC='-Wl,'
13573 lt_prog_compiler_static_FC='-static'
13574
13575 case $host_os in
13576 aix*)
13577 # All AIX code is PIC.
13578 if test "$host_cpu" = ia64; then
13579 # AIX 5 now supports IA64 processor
13580 lt_prog_compiler_static_FC='-Bstatic'
13581 fi
13582 lt_prog_compiler_pic_FC='-fPIC'
13583 ;;
13584
13585 amigaos*)
13586 case $host_cpu in
13587 powerpc)
13588 # see comment about AmigaOS4 .so support
13589 lt_prog_compiler_pic_FC='-fPIC'
13590 ;;
13591 m68k)
13592 # FIXME: we need at least 68020 code to build shared libraries, but
13593 # adding the `-m68020' flag to GCC prevents building anything better,
13594 # like `-m68040'.
13595 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13596 ;;
13597 esac
13598 ;;
13599
13600 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13601 # PIC is the default for these OSes.
13602 ;;
13603
13604 mingw* | cygwin* | pw32* | os2* | cegcc*)
13605 # This hack is so that the source file can tell whether it is being
13606 # built for inclusion in a dll (and should export symbols for example).
13607 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13608 # (--disable-auto-import) libraries
13609 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13610 ;;
13611
13612 darwin* | rhapsody*)
13613 # PIC is the default on this platform
13614 # Common symbols not allowed in MH_DYLIB files
13615 lt_prog_compiler_pic_FC='-fno-common'
13616 ;;
13617
13618 haiku*)
13619 # PIC is the default for Haiku.
13620 # The "-static" flag exists, but is broken.
13621 lt_prog_compiler_static_FC=
13622 ;;
13623
13624 hpux*)
13625 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13626 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13627 # sets the default TLS model and affects inlining.
13628 case $host_cpu in
13629 hppa*64*)
13630 # +Z the default
13631 ;;
13632 *)
13633 lt_prog_compiler_pic_FC='-fPIC'
13634 ;;
13635 esac
13636 ;;
13637
13638 interix[3-9]*)
13639 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13640 # Instead, we relocate shared libraries at runtime.
13641 ;;
13642
13643 msdosdjgpp*)
13644 # Just because we use GCC doesn't mean we suddenly get shared libraries
13645 # on systems that don't support them.
13646 lt_prog_compiler_can_build_shared_FC=no
13647 enable_shared=no
13648 ;;
13649
13650 *nto* | *qnx*)
13651 # QNX uses GNU C++, but need to define -shared option too, otherwise
13652 # it will coredump.
13653 lt_prog_compiler_pic_FC='-fPIC -shared'
13654 ;;
13655
13656 sysv4*MP*)
13657 if test -d /usr/nec; then
13658 lt_prog_compiler_pic_FC=-Kconform_pic
13659 fi
13660 ;;
13661
13662 *)
13663 lt_prog_compiler_pic_FC='-fPIC'
13664 ;;
13665 esac
13666
13667 case $cc_basename in
13668 nvcc*) # Cuda Compiler Driver 2.2
13669 lt_prog_compiler_wl_FC='-Xlinker '
13670 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13671 ;;
13672 esac
13673 else
13674 # PORTME Check for flag to pass linker flags through the system compiler.
13675 case $host_os in
13676 aix*)
13677 lt_prog_compiler_wl_FC='-Wl,'
13678 if test "$host_cpu" = ia64; then
13679 # AIX 5 now supports IA64 processor
13680 lt_prog_compiler_static_FC='-Bstatic'
13681 else
13682 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13683 fi
13684 ;;
13685
13686 mingw* | cygwin* | pw32* | os2* | cegcc*)
13687 # This hack is so that the source file can tell whether it is being
13688 # built for inclusion in a dll (and should export symbols for example).
13689 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13690 ;;
13691
13692 hpux9* | hpux10* | hpux11*)
13693 lt_prog_compiler_wl_FC='-Wl,'
13694 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13695 # not for PA HP-UX.
13696 case $host_cpu in
13697 hppa*64*|ia64*)
13698 # +Z the default
13699 ;;
13700 *)
13701 lt_prog_compiler_pic_FC='+Z'
13702 ;;
13703 esac
13704 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13705 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13706 ;;
13707
13708 irix5* | irix6* | nonstopux*)
13709 lt_prog_compiler_wl_FC='-Wl,'
13710 # PIC (with -KPIC) is the default.
13711 lt_prog_compiler_static_FC='-non_shared'
13712 ;;
13713
13714 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13715 case $cc_basename in
13716 # old Intel for x86_64 which still supported -KPIC.
13717 ecc*)
13718 lt_prog_compiler_wl_FC='-Wl,'
13719 lt_prog_compiler_pic_FC='-KPIC'
13720 lt_prog_compiler_static_FC='-static'
13721 ;;
13722 # icc used to be incompatible with GCC.
13723 # ICC 10 doesn't accept -KPIC any more.
13724 icc* | ifort*)
13725 lt_prog_compiler_wl_FC='-Wl,'
13726 lt_prog_compiler_pic_FC='-fPIC'
13727 lt_prog_compiler_static_FC='-static'
13728 ;;
13729 # Lahey Fortran 8.1.
13730 lf95*)
13731 lt_prog_compiler_wl_FC='-Wl,'
13732 lt_prog_compiler_pic_FC='--shared'
13733 lt_prog_compiler_static_FC='--static'
13734 ;;
13735 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13736 # Portland Group compilers (*not* the Pentium gcc compiler,
13737 # which looks to be a dead project)
13738 lt_prog_compiler_wl_FC='-Wl,'
13739 lt_prog_compiler_pic_FC='-fpic'
13740 lt_prog_compiler_static_FC='-Bstatic'
13741 ;;
13742 ccc*)
13743 lt_prog_compiler_wl_FC='-Wl,'
13744 # All Alpha code is PIC.
13745 lt_prog_compiler_static_FC='-non_shared'
13746 ;;
13747 xl* | bgxl* | bgf* | mpixl*)
13748 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13749 lt_prog_compiler_wl_FC='-Wl,'
13750 lt_prog_compiler_pic_FC='-qpic'
13751 lt_prog_compiler_static_FC='-qstaticlink'
13752 ;;
13753 *)
13754 case `$CC -V 2>&1 | sed 5q` in
13755 *Sun\ F* | *Sun*Fortran*)
13756 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13757 lt_prog_compiler_pic_FC='-KPIC'
13758 lt_prog_compiler_static_FC='-Bstatic'
13759 lt_prog_compiler_wl_FC=''
13760 ;;
13761 *Sun\ C*)
13762 # Sun C 5.9
13763 lt_prog_compiler_pic_FC='-KPIC'
13764 lt_prog_compiler_static_FC='-Bstatic'
13765 lt_prog_compiler_wl_FC='-Wl,'
13766 ;;
13767 esac
13768 ;;
13769 esac
13770 ;;
13771
13772 newsos6)
13773 lt_prog_compiler_pic_FC='-KPIC'
13774 lt_prog_compiler_static_FC='-Bstatic'
13775 ;;
13776
13777 *nto* | *qnx*)
13778 # QNX uses GNU C++, but need to define -shared option too, otherwise
13779 # it will coredump.
13780 lt_prog_compiler_pic_FC='-fPIC -shared'
13781 ;;
13782
13783 osf3* | osf4* | osf5*)
13784 lt_prog_compiler_wl_FC='-Wl,'
13785 # All OSF/1 code is PIC.
13786 lt_prog_compiler_static_FC='-non_shared'
13787 ;;
13788
13789 rdos*)
13790 lt_prog_compiler_static_FC='-non_shared'
13791 ;;
13792
13793 solaris*)
13794 lt_prog_compiler_pic_FC='-KPIC'
13795 lt_prog_compiler_static_FC='-Bstatic'
13796 case $cc_basename in
13797 f77* | f90* | f95*)
13798 lt_prog_compiler_wl_FC='-Qoption ld ';;
13799 *)
13800 lt_prog_compiler_wl_FC='-Wl,';;
13801 esac
13802 ;;
13803
13804 sunos4*)
13805 lt_prog_compiler_wl_FC='-Qoption ld '
13806 lt_prog_compiler_pic_FC='-PIC'
13807 lt_prog_compiler_static_FC='-Bstatic'
13808 ;;
13809
13810 sysv4 | sysv4.2uw2* | sysv4.3*)
13811 lt_prog_compiler_wl_FC='-Wl,'
13812 lt_prog_compiler_pic_FC='-KPIC'
13813 lt_prog_compiler_static_FC='-Bstatic'
13814 ;;
13815
13816 sysv4*MP*)
13817 if test -d /usr/nec ;then
13818 lt_prog_compiler_pic_FC='-Kconform_pic'
13819 lt_prog_compiler_static_FC='-Bstatic'
13820 fi
13821 ;;
13822
13823 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13824 lt_prog_compiler_wl_FC='-Wl,'
13825 lt_prog_compiler_pic_FC='-KPIC'
13826 lt_prog_compiler_static_FC='-Bstatic'
13827 ;;
13828
13829 unicos*)
13830 lt_prog_compiler_wl_FC='-Wl,'
13831 lt_prog_compiler_can_build_shared_FC=no
13832 ;;
13833
13834 uts4*)
13835 lt_prog_compiler_pic_FC='-pic'
13836 lt_prog_compiler_static_FC='-Bstatic'
13837 ;;
13838
13839 *)
13840 lt_prog_compiler_can_build_shared_FC=no
13841 ;;
13842 esac
13843 fi
13844
13845 case $host_os in
13846 # For platforms which do not support PIC, -DPIC is meaningless:
13847 *djgpp*)
13848 lt_prog_compiler_pic_FC=
13849 ;;
13850 *)
13851 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
13852 ;;
13853 esac
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13855 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13856
13857
13858
13859 #
13860 # Check to make sure the PIC flag actually works.
13861 #
13862 if test -n "$lt_prog_compiler_pic_FC"; then
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13864 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13865 if ${lt_cv_prog_compiler_pic_works_FC+:} false; then :
13866 $as_echo_n "(cached) " >&6
13867 else
13868 lt_cv_prog_compiler_pic_works_FC=no
13869 ac_outfile=conftest.$ac_objext
13870 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13871 lt_compiler_flag="$lt_prog_compiler_pic_FC"
13872 # Insert the option either (1) after the last *FLAGS variable, or
13873 # (2) before a word containing "conftest.", or (3) at the end.
13874 # Note that $ac_compile itself does not contain backslashes and begins
13875 # with a dollar sign (not a hyphen), so the echo should work correctly.
13876 # The option is referenced via a variable to avoid confusing sed.
13877 lt_compile=`echo "$ac_compile" | $SED \
13878 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13879 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13880 -e 's:$: $lt_compiler_flag:'`
13881 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13882 (eval "$lt_compile" 2>conftest.err)
13883 ac_status=$?
13884 cat conftest.err >&5
13885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886 if (exit $ac_status) && test -s "$ac_outfile"; then
13887 # The compiler can only warn and ignore the option if not recognized
13888 # So say no if there are warnings other than the usual output.
13889 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13890 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13891 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13892 lt_cv_prog_compiler_pic_works_FC=yes
13893 fi
13894 fi
13895 $RM conftest*
13896
13897 fi
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13899 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13900
13901 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
13902 case $lt_prog_compiler_pic_FC in
13903 "" | " "*) ;;
13904 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
13905 esac
13906 else
13907 lt_prog_compiler_pic_FC=
13908 lt_prog_compiler_can_build_shared_FC=no
13909 fi
13910
13911 fi
13912
13913
13914
13915 #
13916 # Check to make sure the static flag actually works.
13917 #
13918 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13920 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13921 if ${lt_cv_prog_compiler_static_works_FC+:} false; then :
13922 $as_echo_n "(cached) " >&6
13923 else
13924 lt_cv_prog_compiler_static_works_FC=no
13925 save_LDFLAGS="$LDFLAGS"
13926 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13927 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13928 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13929 # The linker can only warn and ignore the option if not recognized
13930 # So say no if there are warnings
13931 if test -s conftest.err; then
13932 # Append any errors to the config.log.
13933 cat conftest.err 1>&5
13934 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13935 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13936 if diff conftest.exp conftest.er2 >/dev/null; then
13937 lt_cv_prog_compiler_static_works_FC=yes
13938 fi
13939 else
13940 lt_cv_prog_compiler_static_works_FC=yes
13941 fi
13942 fi
13943 $RM -r conftest*
13944 LDFLAGS="$save_LDFLAGS"
13945
13946 fi
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13948 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13949
13950 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
13951 :
13952 else
13953 lt_prog_compiler_static_FC=
13954 fi
13955
13956
13957
13958
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13960 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13961 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
13962 $as_echo_n "(cached) " >&6
13963 else
13964 lt_cv_prog_compiler_c_o_FC=no
13965 $RM -r conftest 2>/dev/null
13966 mkdir conftest
13967 cd conftest
13968 mkdir out
13969 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13970
13971 lt_compiler_flag="-o out/conftest2.$ac_objext"
13972 # Insert the option either (1) after the last *FLAGS variable, or
13973 # (2) before a word containing "conftest.", or (3) at the end.
13974 # Note that $ac_compile itself does not contain backslashes and begins
13975 # with a dollar sign (not a hyphen), so the echo should work correctly.
13976 lt_compile=`echo "$ac_compile" | $SED \
13977 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13978 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13979 -e 's:$: $lt_compiler_flag:'`
13980 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13981 (eval "$lt_compile" 2>out/conftest.err)
13982 ac_status=$?
13983 cat out/conftest.err >&5
13984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13986 then
13987 # The compiler can only warn and ignore the option if not recognized
13988 # So say no if there are warnings
13989 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13990 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13991 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13992 lt_cv_prog_compiler_c_o_FC=yes
13993 fi
13994 fi
13995 chmod u+w . 2>&5
13996 $RM conftest*
13997 # SGI C++ compiler will create directory out/ii_files/ for
13998 # template instantiation
13999 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14000 $RM out/* && rmdir out
14001 cd ..
14002 $RM -r conftest
14003 $RM conftest*
14004
14005 fi
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14007 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14008
14009
14010
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14012 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14013 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
14014 $as_echo_n "(cached) " >&6
14015 else
14016 lt_cv_prog_compiler_c_o_FC=no
14017 $RM -r conftest 2>/dev/null
14018 mkdir conftest
14019 cd conftest
14020 mkdir out
14021 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14022
14023 lt_compiler_flag="-o out/conftest2.$ac_objext"
14024 # Insert the option either (1) after the last *FLAGS variable, or
14025 # (2) before a word containing "conftest.", or (3) at the end.
14026 # Note that $ac_compile itself does not contain backslashes and begins
14027 # with a dollar sign (not a hyphen), so the echo should work correctly.
14028 lt_compile=`echo "$ac_compile" | $SED \
14029 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14030 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14031 -e 's:$: $lt_compiler_flag:'`
14032 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14033 (eval "$lt_compile" 2>out/conftest.err)
14034 ac_status=$?
14035 cat out/conftest.err >&5
14036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14038 then
14039 # The compiler can only warn and ignore the option if not recognized
14040 # So say no if there are warnings
14041 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14042 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14043 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14044 lt_cv_prog_compiler_c_o_FC=yes
14045 fi
14046 fi
14047 chmod u+w . 2>&5
14048 $RM conftest*
14049 # SGI C++ compiler will create directory out/ii_files/ for
14050 # template instantiation
14051 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14052 $RM out/* && rmdir out
14053 cd ..
14054 $RM -r conftest
14055 $RM conftest*
14056
14057 fi
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14059 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14060
14061
14062
14063
14064 hard_links="nottested"
14065 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
14066 # do not overwrite the value of need_locks provided by the user
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14068 $as_echo_n "checking if we can lock with hard links... " >&6; }
14069 hard_links=yes
14070 $RM conftest*
14071 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14072 touch conftest.a
14073 ln conftest.a conftest.b 2>&5 || hard_links=no
14074 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14076 $as_echo "$hard_links" >&6; }
14077 if test "$hard_links" = no; then
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14079 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14080 need_locks=warn
14081 fi
14082 else
14083 need_locks=no
14084 fi
14085
14086
14087
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14089 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14090
14091 runpath_var=
14092 allow_undefined_flag_FC=
14093 always_export_symbols_FC=no
14094 archive_cmds_FC=
14095 archive_expsym_cmds_FC=
14096 compiler_needs_object_FC=no
14097 enable_shared_with_static_runtimes_FC=no
14098 export_dynamic_flag_spec_FC=
14099 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14100 hardcode_automatic_FC=no
14101 hardcode_direct_FC=no
14102 hardcode_direct_absolute_FC=no
14103 hardcode_libdir_flag_spec_FC=
14104 hardcode_libdir_flag_spec_ld_FC=
14105 hardcode_libdir_separator_FC=
14106 hardcode_minus_L_FC=no
14107 hardcode_shlibpath_var_FC=unsupported
14108 inherit_rpath_FC=no
14109 link_all_deplibs_FC=unknown
14110 module_cmds_FC=
14111 module_expsym_cmds_FC=
14112 old_archive_from_new_cmds_FC=
14113 old_archive_from_expsyms_cmds_FC=
14114 thread_safe_flag_spec_FC=
14115 whole_archive_flag_spec_FC=
14116 # include_expsyms should be a list of space-separated symbols to be *always*
14117 # included in the symbol list
14118 include_expsyms_FC=
14119 # exclude_expsyms can be an extended regexp of symbols to exclude
14120 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14121 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14122 # as well as any symbol that contains `d'.
14123 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14124 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14125 # platforms (ab)use it in PIC code, but their linkers get confused if
14126 # the symbol is explicitly referenced. Since portable code cannot
14127 # rely on this symbol name, it's probably fine to never include it in
14128 # preloaded symbol tables.
14129 # Exclude shared library initialization/finalization symbols.
14130 extract_expsyms_cmds=
14131
14132 case $host_os in
14133 cygwin* | mingw* | pw32* | cegcc*)
14134 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14135 # When not using gcc, we currently assume that we are using
14136 # Microsoft Visual C++.
14137 if test "$GCC" != yes; then
14138 with_gnu_ld=no
14139 fi
14140 ;;
14141 interix*)
14142 # we just hope/assume this is gcc and not c89 (= MSVC++)
14143 with_gnu_ld=yes
14144 ;;
14145 openbsd*)
14146 with_gnu_ld=no
14147 ;;
14148 esac
14149
14150 ld_shlibs_FC=yes
14151
14152 # On some targets, GNU ld is compatible enough with the native linker
14153 # that we're better off using the native interface for both.
14154 lt_use_gnu_ld_interface=no
14155 if test "$with_gnu_ld" = yes; then
14156 case $host_os in
14157 aix*)
14158 # The AIX port of GNU ld has always aspired to compatibility
14159 # with the native linker. However, as the warning in the GNU ld
14160 # block says, versions before 2.19.5* couldn't really create working
14161 # shared libraries, regardless of the interface used.
14162 case `$LD -v 2>&1` in
14163 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
14164 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
14165 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
14166 *)
14167 lt_use_gnu_ld_interface=yes
14168 ;;
14169 esac
14170 ;;
14171 *)
14172 lt_use_gnu_ld_interface=yes
14173 ;;
14174 esac
14175 fi
14176
14177 if test "$lt_use_gnu_ld_interface" = yes; then
14178 # If archive_cmds runs LD, not CC, wlarc should be empty
14179 wlarc='${wl}'
14180
14181 # Set some defaults for GNU ld with shared library support. These
14182 # are reset later if shared libraries are not supported. Putting them
14183 # here allows them to be overridden if necessary.
14184 runpath_var=LD_RUN_PATH
14185 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14186 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
14187 # ancient GNU ld didn't support --whole-archive et. al.
14188 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
14189 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14190 else
14191 whole_archive_flag_spec_FC=
14192 fi
14193 supports_anon_versioning=no
14194 case `$LD -v 2>&1` in
14195 *GNU\ gold*) supports_anon_versioning=yes ;;
14196 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14197 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14198 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14199 *\ 2.11.*) ;; # other 2.11 versions
14200 *) supports_anon_versioning=yes ;;
14201 esac
14202
14203 # See if GNU ld supports shared libraries.
14204 case $host_os in
14205 aix[3-9]*)
14206 # On AIX/PPC, the GNU linker is very broken
14207 if test "$host_cpu" != ia64; then
14208 ld_shlibs_FC=no
14209 cat <<_LT_EOF 1>&2
14210
14211 *** Warning: the GNU linker, at least up to release 2.19, is reported
14212 *** to be unable to reliably create shared libraries on AIX.
14213 *** Therefore, libtool is disabling shared libraries support. If you
14214 *** really care for shared libraries, you may want to install binutils
14215 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14216 *** You will then need to restart the configuration process.
14217
14218 _LT_EOF
14219 fi
14220 ;;
14221
14222 amigaos*)
14223 case $host_cpu in
14224 powerpc)
14225 # see comment about AmigaOS4 .so support
14226 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14227 archive_expsym_cmds_FC=''
14228 ;;
14229 m68k)
14230 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)'
14231 hardcode_libdir_flag_spec_FC='-L$libdir'
14232 hardcode_minus_L_FC=yes
14233 ;;
14234 esac
14235 ;;
14236
14237 beos*)
14238 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14239 allow_undefined_flag_FC=unsupported
14240 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14241 # support --undefined. This deserves some investigation. FIXME
14242 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14243 else
14244 ld_shlibs_FC=no
14245 fi
14246 ;;
14247
14248 cygwin* | mingw* | pw32* | cegcc*)
14249 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14250 # as there is no search path for DLLs.
14251 hardcode_libdir_flag_spec_FC='-L$libdir'
14252 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
14253 allow_undefined_flag_FC=unsupported
14254 always_export_symbols_FC=no
14255 enable_shared_with_static_runtimes_FC=yes
14256 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14257
14258 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14259 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14260 # If the export-symbols file already is a .def file (1st line
14261 # is EXPORTS), use it as is; otherwise, prepend...
14262 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14263 cp $export_symbols $output_objdir/$soname.def;
14264 else
14265 echo EXPORTS > $output_objdir/$soname.def;
14266 cat $export_symbols >> $output_objdir/$soname.def;
14267 fi~
14268 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14269 else
14270 ld_shlibs_FC=no
14271 fi
14272 ;;
14273
14274 haiku*)
14275 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14276 link_all_deplibs_FC=yes
14277 ;;
14278
14279 interix[3-9]*)
14280 hardcode_direct_FC=no
14281 hardcode_shlibpath_var_FC=no
14282 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14283 export_dynamic_flag_spec_FC='${wl}-E'
14284 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14285 # Instead, shared libraries are loaded at an image base (0x10000000 by
14286 # default) and relocated if they conflict, which is a slow very memory
14287 # consuming and fragmenting process. To avoid this, we pick a random,
14288 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14289 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14290 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'
14291 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'
14292 ;;
14293
14294 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
14295 tmp_diet=no
14296 if test "$host_os" = linux-dietlibc; then
14297 case $cc_basename in
14298 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
14299 esac
14300 fi
14301 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
14302 && test "$tmp_diet" = no
14303 then
14304 tmp_addflag=' $pic_flag'
14305 tmp_sharedflag='-shared'
14306 case $cc_basename,$host_cpu in
14307 pgcc*) # Portland Group C compiler
14308 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'
14309 tmp_addflag=' $pic_flag'
14310 ;;
14311 pgf77* | pgf90* | pgf95* | pgfortran*)
14312 # Portland Group f77 and f90 compilers
14313 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'
14314 tmp_addflag=' $pic_flag -Mnomain' ;;
14315 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14316 tmp_addflag=' -i_dynamic' ;;
14317 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14318 tmp_addflag=' -i_dynamic -nofor_main' ;;
14319 ifc* | ifort*) # Intel Fortran compiler
14320 tmp_addflag=' -nofor_main' ;;
14321 lf95*) # Lahey Fortran 8.1
14322 whole_archive_flag_spec_FC=
14323 tmp_sharedflag='--shared' ;;
14324 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14325 tmp_sharedflag='-qmkshrobj'
14326 tmp_addflag= ;;
14327 nvcc*) # Cuda Compiler Driver 2.2
14328 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'
14329 compiler_needs_object_FC=yes
14330 ;;
14331 esac
14332 case `$CC -V 2>&1 | sed 5q` in
14333 *Sun\ C*) # Sun C 5.9
14334 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'
14335 compiler_needs_object_FC=yes
14336 tmp_sharedflag='-G' ;;
14337 *Sun\ F*) # Sun Fortran 8.3
14338 tmp_sharedflag='-G' ;;
14339 esac
14340 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14341
14342 if test "x$supports_anon_versioning" = xyes; then
14343 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14344 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14345 echo "local: *; };" >> $output_objdir/$libname.ver~
14346 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14347 fi
14348
14349 case $cc_basename in
14350 xlf* | bgf* | bgxlf* | mpixlf*)
14351 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14352 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14353 hardcode_libdir_flag_spec_FC=
14354 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14355 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14356 if test "x$supports_anon_versioning" = xyes; then
14357 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14358 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14359 echo "local: *; };" >> $output_objdir/$libname.ver~
14360 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14361 fi
14362 ;;
14363 esac
14364 else
14365 ld_shlibs_FC=no
14366 fi
14367 ;;
14368
14369 netbsd*)
14370 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14371 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14372 wlarc=
14373 else
14374 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14375 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14376 fi
14377 ;;
14378
14379 solaris*)
14380 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14381 ld_shlibs_FC=no
14382 cat <<_LT_EOF 1>&2
14383
14384 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14385 *** create shared libraries on Solaris systems. Therefore, libtool
14386 *** is disabling shared libraries support. We urge you to upgrade GNU
14387 *** binutils to release 2.9.1 or newer. Another option is to modify
14388 *** your PATH or compiler configuration so that the native linker is
14389 *** used, and then restart.
14390
14391 _LT_EOF
14392 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14393 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14394 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14395 else
14396 ld_shlibs_FC=no
14397 fi
14398 ;;
14399
14400 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14401 case `$LD -v 2>&1` in
14402 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14403 ld_shlibs_FC=no
14404 cat <<_LT_EOF 1>&2
14405
14406 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14407 *** reliably create shared libraries on SCO systems. Therefore, libtool
14408 *** is disabling shared libraries support. We urge you to upgrade GNU
14409 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14410 *** your PATH or compiler configuration so that the native linker is
14411 *** used, and then restart.
14412
14413 _LT_EOF
14414 ;;
14415 *)
14416 # For security reasons, it is highly recommended that you always
14417 # use absolute paths for naming shared libraries, and exclude the
14418 # DT_RUNPATH tag from executables and libraries. But doing so
14419 # requires that you compile everything twice, which is a pain.
14420 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14421 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14422 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14423 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14424 else
14425 ld_shlibs_FC=no
14426 fi
14427 ;;
14428 esac
14429 ;;
14430
14431 sunos4*)
14432 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14433 wlarc=
14434 hardcode_direct_FC=yes
14435 hardcode_shlibpath_var_FC=no
14436 ;;
14437
14438 *)
14439 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14440 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14441 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14442 else
14443 ld_shlibs_FC=no
14444 fi
14445 ;;
14446 esac
14447
14448 if test "$ld_shlibs_FC" = no; then
14449 runpath_var=
14450 hardcode_libdir_flag_spec_FC=
14451 export_dynamic_flag_spec_FC=
14452 whole_archive_flag_spec_FC=
14453 fi
14454 else
14455 # PORTME fill in a description of your system's linker (not GNU ld)
14456 case $host_os in
14457 aix3*)
14458 allow_undefined_flag_FC=unsupported
14459 always_export_symbols_FC=yes
14460 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'
14461 # Note: this linker hardcodes the directories in LIBPATH if there
14462 # are no directories specified by -L.
14463 hardcode_minus_L_FC=yes
14464 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14465 # Neither direct hardcoding nor static linking is supported with a
14466 # broken collect2.
14467 hardcode_direct_FC=unsupported
14468 fi
14469 ;;
14470
14471 aix[4-9]*)
14472 if test "$host_cpu" = ia64; then
14473 # On IA64, the linker does run time linking by default, so we don't
14474 # have to do anything special.
14475 aix_use_runtimelinking=no
14476 exp_sym_flag='-Bexport'
14477 no_entry_flag=""
14478 else
14479 # If we're using GNU nm, then we don't want the "-C" option.
14480 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14481 # Also, AIX nm treats weak defined symbols like other global
14482 # defined symbols, whereas GNU nm marks them as "W".
14483 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14484 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'
14485 else
14486 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'
14487 fi
14488 aix_use_runtimelinking=no
14489
14490 # Test if we are trying to use run time linking or normal
14491 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14492 # need to do runtime linking.
14493 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14494 for ld_flag in $LDFLAGS; do
14495 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14496 aix_use_runtimelinking=yes
14497 break
14498 fi
14499 done
14500 ;;
14501 esac
14502
14503 exp_sym_flag='-bexport'
14504 no_entry_flag='-bnoentry'
14505 fi
14506
14507 # When large executables or shared objects are built, AIX ld can
14508 # have problems creating the table of contents. If linking a library
14509 # or program results in "error TOC overflow" add -mminimal-toc to
14510 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14511 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14512
14513 archive_cmds_FC=''
14514 hardcode_direct_FC=yes
14515 hardcode_direct_absolute_FC=yes
14516 hardcode_libdir_separator_FC=':'
14517 link_all_deplibs_FC=yes
14518 file_list_spec_FC='${wl}-f,'
14519
14520 if test "$GCC" = yes; then
14521 case $host_os in aix4.[012]|aix4.[012].*)
14522 # We only want to do this on AIX 4.2 and lower, the check
14523 # below for broken collect2 doesn't work under 4.3+
14524 collect2name=`${CC} -print-prog-name=collect2`
14525 if test -f "$collect2name" &&
14526 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14527 then
14528 # We have reworked collect2
14529 :
14530 else
14531 # We have old collect2
14532 hardcode_direct_FC=unsupported
14533 # It fails to find uninstalled libraries when the uninstalled
14534 # path is not listed in the libpath. Setting hardcode_minus_L
14535 # to unsupported forces relinking
14536 hardcode_minus_L_FC=yes
14537 hardcode_libdir_flag_spec_FC='-L$libdir'
14538 hardcode_libdir_separator_FC=
14539 fi
14540 ;;
14541 esac
14542 shared_flag='-shared'
14543 if test "$aix_use_runtimelinking" = yes; then
14544 shared_flag="$shared_flag "'${wl}-G'
14545 fi
14546 else
14547 # not using gcc
14548 if test "$host_cpu" = ia64; then
14549 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14550 # chokes on -Wl,-G. The following line is correct:
14551 shared_flag='-G'
14552 else
14553 if test "$aix_use_runtimelinking" = yes; then
14554 shared_flag='${wl}-G'
14555 else
14556 shared_flag='${wl}-bM:SRE'
14557 fi
14558 fi
14559 fi
14560
14561 export_dynamic_flag_spec_FC='${wl}-bexpall'
14562 # It seems that -bexpall does not export symbols beginning with
14563 # underscore (_), so it is better to generate a list of symbols to export.
14564 always_export_symbols_FC=yes
14565 if test "$aix_use_runtimelinking" = yes; then
14566 # Warning - without using the other runtime loading flags (-brtl),
14567 # -berok will link without error, but may produce a broken library.
14568 allow_undefined_flag_FC='-berok'
14569 # Determine the default libpath from the value encoded in an
14570 # empty executable.
14571 if test x$gcc_no_link = xyes; then
14572 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14573 fi
14574 cat > conftest.$ac_ext <<_ACEOF
14575 program main
14576
14577 end
14578 _ACEOF
14579 if ac_fn_fc_try_link "$LINENO"; then :
14580
14581 lt_aix_libpath_sed='
14582 /Import File Strings/,/^$/ {
14583 /^0/ {
14584 s/^0 *\(.*\)$/\1/
14585 p
14586 }
14587 }'
14588 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14589 # Check for a 64-bit object if we didn't find anything.
14590 if test -z "$aix_libpath"; then
14591 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14592 fi
14593 fi
14594 rm -f core conftest.err conftest.$ac_objext \
14595 conftest$ac_exeext conftest.$ac_ext
14596 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14597
14598 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14599 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"
14600 else
14601 if test "$host_cpu" = ia64; then
14602 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14603 allow_undefined_flag_FC="-z nodefs"
14604 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"
14605 else
14606 # Determine the default libpath from the value encoded in an
14607 # empty executable.
14608 if test x$gcc_no_link = xyes; then
14609 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14610 fi
14611 cat > conftest.$ac_ext <<_ACEOF
14612 program main
14613
14614 end
14615 _ACEOF
14616 if ac_fn_fc_try_link "$LINENO"; then :
14617
14618 lt_aix_libpath_sed='
14619 /Import File Strings/,/^$/ {
14620 /^0/ {
14621 s/^0 *\(.*\)$/\1/
14622 p
14623 }
14624 }'
14625 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14626 # Check for a 64-bit object if we didn't find anything.
14627 if test -z "$aix_libpath"; then
14628 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14629 fi
14630 fi
14631 rm -f core conftest.err conftest.$ac_objext \
14632 conftest$ac_exeext conftest.$ac_ext
14633 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14634
14635 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14636 # Warning - without using the other run time loading flags,
14637 # -berok will link without error, but may produce a broken library.
14638 no_undefined_flag_FC=' ${wl}-bernotok'
14639 allow_undefined_flag_FC=' ${wl}-berok'
14640 if test "$with_gnu_ld" = yes; then
14641 # We only use this code for GNU lds that support --whole-archive.
14642 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14643 else
14644 # Exported symbols can be pulled into shared objects from archives
14645 whole_archive_flag_spec_FC='$convenience'
14646 fi
14647 archive_cmds_need_lc_FC=yes
14648 # This is similar to how AIX traditionally builds its shared libraries.
14649 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'
14650 fi
14651 fi
14652 ;;
14653
14654 amigaos*)
14655 case $host_cpu in
14656 powerpc)
14657 # see comment about AmigaOS4 .so support
14658 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14659 archive_expsym_cmds_FC=''
14660 ;;
14661 m68k)
14662 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)'
14663 hardcode_libdir_flag_spec_FC='-L$libdir'
14664 hardcode_minus_L_FC=yes
14665 ;;
14666 esac
14667 ;;
14668
14669 bsdi[45]*)
14670 export_dynamic_flag_spec_FC=-rdynamic
14671 ;;
14672
14673 cygwin* | mingw* | pw32* | cegcc*)
14674 # When not using gcc, we currently assume that we are using
14675 # Microsoft Visual C++.
14676 # hardcode_libdir_flag_spec is actually meaningless, as there is
14677 # no search path for DLLs.
14678 hardcode_libdir_flag_spec_FC=' '
14679 allow_undefined_flag_FC=unsupported
14680 # Tell ltmain to make .lib files, not .a files.
14681 libext=lib
14682 # Tell ltmain to make .dll files, not .so files.
14683 shrext_cmds=".dll"
14684 # FIXME: Setting linknames here is a bad hack.
14685 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14686 # The linker will automatically build a .lib file if we build a DLL.
14687 old_archive_from_new_cmds_FC='true'
14688 # FIXME: Should let the user specify the lib program.
14689 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14690 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14691 enable_shared_with_static_runtimes_FC=yes
14692 ;;
14693
14694 darwin* | rhapsody*)
14695
14696
14697 archive_cmds_need_lc_FC=no
14698 hardcode_direct_FC=no
14699 hardcode_automatic_FC=yes
14700 hardcode_shlibpath_var_FC=unsupported
14701 if test "$lt_cv_ld_force_load" = "yes"; then
14702 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\"`'
14703 else
14704 whole_archive_flag_spec_FC=''
14705 fi
14706 link_all_deplibs_FC=yes
14707 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14708 case $cc_basename in
14709 ifort*) _lt_dar_can_shared=yes ;;
14710 *) _lt_dar_can_shared=$GCC ;;
14711 esac
14712 if test "$_lt_dar_can_shared" = "yes"; then
14713 output_verbose_link_cmd=func_echo_all
14714 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}"
14715 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14716 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}"
14717 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}"
14718
14719 else
14720 ld_shlibs_FC=no
14721 fi
14722
14723 ;;
14724
14725 dgux*)
14726 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14727 hardcode_libdir_flag_spec_FC='-L$libdir'
14728 hardcode_shlibpath_var_FC=no
14729 ;;
14730
14731 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14732 # support. Future versions do this automatically, but an explicit c++rt0.o
14733 # does not break anything, and helps significantly (at the cost of a little
14734 # extra space).
14735 freebsd2.2*)
14736 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14737 hardcode_libdir_flag_spec_FC='-R$libdir'
14738 hardcode_direct_FC=yes
14739 hardcode_shlibpath_var_FC=no
14740 ;;
14741
14742 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14743 freebsd2.*)
14744 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14745 hardcode_direct_FC=yes
14746 hardcode_minus_L_FC=yes
14747 hardcode_shlibpath_var_FC=no
14748 ;;
14749
14750 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14751 freebsd* | dragonfly*)
14752 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14753 hardcode_libdir_flag_spec_FC='-R$libdir'
14754 hardcode_direct_FC=yes
14755 hardcode_shlibpath_var_FC=no
14756 ;;
14757
14758 hpux9*)
14759 if test "$GCC" = yes; then
14760 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'
14761 else
14762 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'
14763 fi
14764 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14765 hardcode_libdir_separator_FC=:
14766 hardcode_direct_FC=yes
14767
14768 # hardcode_minus_L: Not really in the search PATH,
14769 # but as the default location of the library.
14770 hardcode_minus_L_FC=yes
14771 export_dynamic_flag_spec_FC='${wl}-E'
14772 ;;
14773
14774 hpux10*)
14775 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14776 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14777 else
14778 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14779 fi
14780 if test "$with_gnu_ld" = no; then
14781 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14782 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
14783 hardcode_libdir_separator_FC=:
14784 hardcode_direct_FC=yes
14785 hardcode_direct_absolute_FC=yes
14786 export_dynamic_flag_spec_FC='${wl}-E'
14787 # hardcode_minus_L: Not really in the search PATH,
14788 # but as the default location of the library.
14789 hardcode_minus_L_FC=yes
14790 fi
14791 ;;
14792
14793 hpux11*)
14794 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14795 case $host_cpu in
14796 hppa*64*)
14797 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14798 ;;
14799 ia64*)
14800 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14801 ;;
14802 *)
14803 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14804 ;;
14805 esac
14806 else
14807 case $host_cpu in
14808 hppa*64*)
14809 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14810 ;;
14811 ia64*)
14812 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14813 ;;
14814 *)
14815 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14816 ;;
14817 esac
14818 fi
14819 if test "$with_gnu_ld" = no; then
14820 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14821 hardcode_libdir_separator_FC=:
14822
14823 case $host_cpu in
14824 hppa*64*|ia64*)
14825 hardcode_direct_FC=no
14826 hardcode_shlibpath_var_FC=no
14827 ;;
14828 *)
14829 hardcode_direct_FC=yes
14830 hardcode_direct_absolute_FC=yes
14831 export_dynamic_flag_spec_FC='${wl}-E'
14832
14833 # hardcode_minus_L: Not really in the search PATH,
14834 # but as the default location of the library.
14835 hardcode_minus_L_FC=yes
14836 ;;
14837 esac
14838 fi
14839 ;;
14840
14841 irix5* | irix6* | nonstopux*)
14842 if test "$GCC" = yes; then
14843 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'
14844 # Try to use the -exported_symbol ld option, if it does not
14845 # work, assume that -exports_file does not work either and
14846 # implicitly export all symbols.
14847 save_LDFLAGS="$LDFLAGS"
14848 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14849 if test x$gcc_no_link = xyes; then
14850 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14851 fi
14852 cat > conftest.$ac_ext <<_ACEOF
14853 int foo(void) {}
14854 _ACEOF
14855 if ac_fn_fc_try_link "$LINENO"; then :
14856 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'
14857
14858 fi
14859 rm -f core conftest.err conftest.$ac_objext \
14860 conftest$ac_exeext conftest.$ac_ext
14861 LDFLAGS="$save_LDFLAGS"
14862 else
14863 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'
14864 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'
14865 fi
14866 archive_cmds_need_lc_FC='no'
14867 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14868 hardcode_libdir_separator_FC=:
14869 inherit_rpath_FC=yes
14870 link_all_deplibs_FC=yes
14871 ;;
14872
14873 netbsd*)
14874 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14875 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14876 else
14877 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14878 fi
14879 hardcode_libdir_flag_spec_FC='-R$libdir'
14880 hardcode_direct_FC=yes
14881 hardcode_shlibpath_var_FC=no
14882 ;;
14883
14884 newsos6)
14885 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14886 hardcode_direct_FC=yes
14887 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14888 hardcode_libdir_separator_FC=:
14889 hardcode_shlibpath_var_FC=no
14890 ;;
14891
14892 *nto* | *qnx*)
14893 ;;
14894
14895 openbsd*)
14896 if test -f /usr/libexec/ld.so; then
14897 hardcode_direct_FC=yes
14898 hardcode_shlibpath_var_FC=no
14899 hardcode_direct_absolute_FC=yes
14900 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14901 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14902 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14903 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14904 export_dynamic_flag_spec_FC='${wl}-E'
14905 else
14906 case $host_os in
14907 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14908 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14909 hardcode_libdir_flag_spec_FC='-R$libdir'
14910 ;;
14911 *)
14912 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14913 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14914 ;;
14915 esac
14916 fi
14917 else
14918 ld_shlibs_FC=no
14919 fi
14920 ;;
14921
14922 os2*)
14923 hardcode_libdir_flag_spec_FC='-L$libdir'
14924 hardcode_minus_L_FC=yes
14925 allow_undefined_flag_FC=unsupported
14926 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'
14927 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14928 ;;
14929
14930 osf3*)
14931 if test "$GCC" = yes; then
14932 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14933 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'
14934 else
14935 allow_undefined_flag_FC=' -expect_unresolved \*'
14936 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'
14937 fi
14938 archive_cmds_need_lc_FC='no'
14939 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14940 hardcode_libdir_separator_FC=:
14941 ;;
14942
14943 osf4* | osf5*) # as osf3* with the addition of -msym flag
14944 if test "$GCC" = yes; then
14945 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14946 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'
14947 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14948 else
14949 allow_undefined_flag_FC=' -expect_unresolved \*'
14950 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'
14951 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~
14952 $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'
14953
14954 # Both c and cxx compiler support -rpath directly
14955 hardcode_libdir_flag_spec_FC='-rpath $libdir'
14956 fi
14957 archive_cmds_need_lc_FC='no'
14958 hardcode_libdir_separator_FC=:
14959 ;;
14960
14961 solaris*)
14962 no_undefined_flag_FC=' -z defs'
14963 if test "$GCC" = yes; then
14964 wlarc='${wl}'
14965 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14966 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14967 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14968 else
14969 case `$CC -V 2>&1` in
14970 *"Compilers 5.0"*)
14971 wlarc=''
14972 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14973 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14974 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14975 ;;
14976 *)
14977 wlarc='${wl}'
14978 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14979 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14980 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14981 ;;
14982 esac
14983 fi
14984 hardcode_libdir_flag_spec_FC='-R$libdir'
14985 hardcode_shlibpath_var_FC=no
14986 case $host_os in
14987 solaris2.[0-5] | solaris2.[0-5].*) ;;
14988 *)
14989 # The compiler driver will combine and reorder linker options,
14990 # but understands `-z linker_flag'. GCC discards it without `$wl',
14991 # but is careful enough not to reorder.
14992 # Supported since Solaris 2.6 (maybe 2.5.1?)
14993 if test "$GCC" = yes; then
14994 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14995 else
14996 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
14997 fi
14998 ;;
14999 esac
15000 link_all_deplibs_FC=yes
15001 ;;
15002
15003 sunos4*)
15004 if test "x$host_vendor" = xsequent; then
15005 # Use $CC to link under sequent, because it throws in some extra .o
15006 # files that make .init and .fini sections work.
15007 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15008 else
15009 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15010 fi
15011 hardcode_libdir_flag_spec_FC='-L$libdir'
15012 hardcode_direct_FC=yes
15013 hardcode_minus_L_FC=yes
15014 hardcode_shlibpath_var_FC=no
15015 ;;
15016
15017 sysv4)
15018 case $host_vendor in
15019 sni)
15020 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15021 hardcode_direct_FC=yes # is this really true???
15022 ;;
15023 siemens)
15024 ## LD is ld it makes a PLAMLIB
15025 ## CC just makes a GrossModule.
15026 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15027 reload_cmds_FC='$CC -r -o $output$reload_objs'
15028 hardcode_direct_FC=no
15029 ;;
15030 motorola)
15031 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15032 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
15033 ;;
15034 esac
15035 runpath_var='LD_RUN_PATH'
15036 hardcode_shlibpath_var_FC=no
15037 ;;
15038
15039 sysv4.3*)
15040 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15041 hardcode_shlibpath_var_FC=no
15042 export_dynamic_flag_spec_FC='-Bexport'
15043 ;;
15044
15045 sysv4*MP*)
15046 if test -d /usr/nec; then
15047 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15048 hardcode_shlibpath_var_FC=no
15049 runpath_var=LD_RUN_PATH
15050 hardcode_runpath_var=yes
15051 ld_shlibs_FC=yes
15052 fi
15053 ;;
15054
15055 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15056 no_undefined_flag_FC='${wl}-z,text'
15057 archive_cmds_need_lc_FC=no
15058 hardcode_shlibpath_var_FC=no
15059 runpath_var='LD_RUN_PATH'
15060
15061 if test "$GCC" = yes; then
15062 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15063 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15064 else
15065 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15066 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15067 fi
15068 ;;
15069
15070 sysv5* | sco3.2v5* | sco5v6*)
15071 # Note: We can NOT use -z defs as we might desire, because we do not
15072 # link with -lc, and that would cause any symbols used from libc to
15073 # always be unresolved, which means just about no library would
15074 # ever link correctly. If we're not using GNU ld we use -z text
15075 # though, which does catch some bad symbols but isn't as heavy-handed
15076 # as -z defs.
15077 no_undefined_flag_FC='${wl}-z,text'
15078 allow_undefined_flag_FC='${wl}-z,nodefs'
15079 archive_cmds_need_lc_FC=no
15080 hardcode_shlibpath_var_FC=no
15081 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
15082 hardcode_libdir_separator_FC=':'
15083 link_all_deplibs_FC=yes
15084 export_dynamic_flag_spec_FC='${wl}-Bexport'
15085 runpath_var='LD_RUN_PATH'
15086
15087 if test "$GCC" = yes; then
15088 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15089 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15090 else
15091 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15092 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15093 fi
15094 ;;
15095
15096 uts4*)
15097 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15098 hardcode_libdir_flag_spec_FC='-L$libdir'
15099 hardcode_shlibpath_var_FC=no
15100 ;;
15101
15102 *)
15103 ld_shlibs_FC=no
15104 ;;
15105 esac
15106
15107 if test x$host_vendor = xsni; then
15108 case $host in
15109 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15110 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
15111 ;;
15112 esac
15113 fi
15114 fi
15115
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15117 $as_echo "$ld_shlibs_FC" >&6; }
15118 test "$ld_shlibs_FC" = no && can_build_shared=no
15119
15120 with_gnu_ld_FC=$with_gnu_ld
15121
15122
15123
15124
15125
15126
15127 #
15128 # Do we need to explicitly link libc?
15129 #
15130 case "x$archive_cmds_need_lc_FC" in
15131 x|xyes)
15132 # Assume -lc should be added
15133 archive_cmds_need_lc_FC=yes
15134
15135 if test "$enable_shared" = yes && test "$GCC" = yes; then
15136 case $archive_cmds_FC in
15137 *'~'*)
15138 # FIXME: we may have to deal with multi-command sequences.
15139 ;;
15140 '$CC '*)
15141 # Test whether the compiler implicitly links with -lc since on some
15142 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15143 # to ld, don't add -lc before -lgcc.
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15145 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15146 if ${lt_cv_archive_cmds_need_lc_FC+:} false; then :
15147 $as_echo_n "(cached) " >&6
15148 else
15149 $RM conftest*
15150 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15151
15152 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15153 (eval $ac_compile) 2>&5
15154 ac_status=$?
15155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15156 test $ac_status = 0; } 2>conftest.err; then
15157 soname=conftest
15158 lib=conftest
15159 libobjs=conftest.$ac_objext
15160 deplibs=
15161 wl=$lt_prog_compiler_wl_FC
15162 pic_flag=$lt_prog_compiler_pic_FC
15163 compiler_flags=-v
15164 linker_flags=-v
15165 verstring=
15166 output_objdir=.
15167 libname=conftest
15168 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
15169 allow_undefined_flag_FC=
15170 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15171 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15172 ac_status=$?
15173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15174 test $ac_status = 0; }
15175 then
15176 lt_cv_archive_cmds_need_lc_FC=no
15177 else
15178 lt_cv_archive_cmds_need_lc_FC=yes
15179 fi
15180 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
15181 else
15182 cat conftest.err 1>&5
15183 fi
15184 $RM conftest*
15185
15186 fi
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15188 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15189 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
15190 ;;
15191 esac
15192 fi
15193 ;;
15194 esac
15195
15196
15197
15198
15199
15200
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15260 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15261
15262 library_names_spec=
15263 libname_spec='lib$name'
15264 soname_spec=
15265 shrext_cmds=".so"
15266 postinstall_cmds=
15267 postuninstall_cmds=
15268 finish_cmds=
15269 finish_eval=
15270 shlibpath_var=
15271 shlibpath_overrides_runpath=unknown
15272 version_type=none
15273 dynamic_linker="$host_os ld.so"
15274 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15275 need_lib_prefix=unknown
15276 hardcode_into_libs=no
15277
15278 # when you set need_version to no, make sure it does not cause -set_version
15279 # flags to be left without arguments
15280 need_version=unknown
15281
15282 case $host_os in
15283 aix3*)
15284 version_type=linux
15285 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15286 shlibpath_var=LIBPATH
15287
15288 # AIX 3 has no versioning support, so we append a major version to the name.
15289 soname_spec='${libname}${release}${shared_ext}$major'
15290 ;;
15291
15292 aix[4-9]*)
15293 version_type=linux
15294 need_lib_prefix=no
15295 need_version=no
15296 hardcode_into_libs=yes
15297 if test "$host_cpu" = ia64; then
15298 # AIX 5 supports IA64
15299 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15300 shlibpath_var=LD_LIBRARY_PATH
15301 else
15302 # With GCC up to 2.95.x, collect2 would create an import file
15303 # for dependence libraries. The import file would start with
15304 # the line `#! .'. This would cause the generated library to
15305 # depend on `.', always an invalid library. This was fixed in
15306 # development snapshots of GCC prior to 3.0.
15307 case $host_os in
15308 aix4 | aix4.[01] | aix4.[01].*)
15309 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15310 echo ' yes '
15311 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15312 :
15313 else
15314 can_build_shared=no
15315 fi
15316 ;;
15317 esac
15318 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15319 # soname into executable. Probably we can add versioning support to
15320 # collect2, so additional links can be useful in future.
15321 if test "$aix_use_runtimelinking" = yes; then
15322 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15323 # instead of lib<name>.a to let people know that these are not
15324 # typical AIX shared libraries.
15325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15326 else
15327 # We preserve .a as extension for shared libraries through AIX4.2
15328 # and later when we are not doing run time linking.
15329 library_names_spec='${libname}${release}.a $libname.a'
15330 soname_spec='${libname}${release}${shared_ext}$major'
15331 fi
15332 shlibpath_var=LIBPATH
15333 fi
15334 ;;
15335
15336 amigaos*)
15337 case $host_cpu in
15338 powerpc)
15339 # Since July 2007 AmigaOS4 officially supports .so libraries.
15340 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15342 ;;
15343 m68k)
15344 library_names_spec='$libname.ixlibrary $libname.a'
15345 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15346 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'
15347 ;;
15348 esac
15349 ;;
15350
15351 beos*)
15352 library_names_spec='${libname}${shared_ext}'
15353 dynamic_linker="$host_os ld.so"
15354 shlibpath_var=LIBRARY_PATH
15355 ;;
15356
15357 bsdi[45]*)
15358 version_type=linux
15359 need_version=no
15360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15361 soname_spec='${libname}${release}${shared_ext}$major'
15362 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15363 shlibpath_var=LD_LIBRARY_PATH
15364 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15365 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15366 # the default ld.so.conf also contains /usr/contrib/lib and
15367 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15368 # libtool to hard-code these into programs
15369 ;;
15370
15371 cygwin* | mingw* | pw32* | cegcc*)
15372 version_type=windows
15373 shrext_cmds=".dll"
15374 need_version=no
15375 need_lib_prefix=no
15376
15377 case $GCC,$host_os in
15378 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15379 library_names_spec='$libname.dll.a'
15380 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15381 postinstall_cmds='base_file=`basename \${file}`~
15382 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15383 dldir=$destdir/`dirname \$dlpath`~
15384 test -d \$dldir || mkdir -p \$dldir~
15385 $install_prog $dir/$dlname \$dldir/$dlname~
15386 chmod a+x \$dldir/$dlname~
15387 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15388 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15389 fi'
15390 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15391 dlpath=$dir/\$dldll~
15392 $RM \$dlpath'
15393 shlibpath_overrides_runpath=yes
15394
15395 case $host_os in
15396 cygwin*)
15397 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15398 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15399
15400 ;;
15401 mingw* | cegcc*)
15402 # MinGW DLLs use traditional 'lib' prefix
15403 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15404 ;;
15405 pw32*)
15406 # pw32 DLLs use 'pw' prefix rather than 'lib'
15407 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15408 ;;
15409 esac
15410 ;;
15411
15412 *)
15413 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15414 ;;
15415 esac
15416 dynamic_linker='Win32 ld.exe'
15417 # FIXME: first we should search . and the directory the executable is in
15418 shlibpath_var=PATH
15419 ;;
15420
15421 darwin* | rhapsody*)
15422 dynamic_linker="$host_os dyld"
15423 version_type=darwin
15424 need_lib_prefix=no
15425 need_version=no
15426 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15427 soname_spec='${libname}${release}${major}$shared_ext'
15428 shlibpath_overrides_runpath=yes
15429 shlibpath_var=DYLD_LIBRARY_PATH
15430 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15431
15432 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15433 ;;
15434
15435 dgux*)
15436 version_type=linux
15437 need_lib_prefix=no
15438 need_version=no
15439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15440 soname_spec='${libname}${release}${shared_ext}$major'
15441 shlibpath_var=LD_LIBRARY_PATH
15442 ;;
15443
15444 freebsd* | dragonfly*)
15445 # DragonFly does not have aout. When/if they implement a new
15446 # versioning mechanism, adjust this.
15447 if test -x /usr/bin/objformat; then
15448 objformat=`/usr/bin/objformat`
15449 else
15450 case $host_os in
15451 freebsd[23].*) objformat=aout ;;
15452 *) objformat=elf ;;
15453 esac
15454 fi
15455 version_type=freebsd-$objformat
15456 case $version_type in
15457 freebsd-elf*)
15458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15459 need_version=no
15460 need_lib_prefix=no
15461 ;;
15462 freebsd-*)
15463 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15464 need_version=yes
15465 ;;
15466 esac
15467 shlibpath_var=LD_LIBRARY_PATH
15468 case $host_os in
15469 freebsd2.*)
15470 shlibpath_overrides_runpath=yes
15471 ;;
15472 freebsd3.[01]* | freebsdelf3.[01]*)
15473 shlibpath_overrides_runpath=yes
15474 hardcode_into_libs=yes
15475 ;;
15476 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15477 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15478 shlibpath_overrides_runpath=no
15479 hardcode_into_libs=yes
15480 ;;
15481 *) # from 4.6 on, and DragonFly
15482 shlibpath_overrides_runpath=yes
15483 hardcode_into_libs=yes
15484 ;;
15485 esac
15486 ;;
15487
15488 gnu*)
15489 version_type=linux
15490 need_lib_prefix=no
15491 need_version=no
15492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15493 soname_spec='${libname}${release}${shared_ext}$major'
15494 shlibpath_var=LD_LIBRARY_PATH
15495 hardcode_into_libs=yes
15496 ;;
15497
15498 haiku*)
15499 version_type=linux
15500 need_lib_prefix=no
15501 need_version=no
15502 dynamic_linker="$host_os runtime_loader"
15503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15504 soname_spec='${libname}${release}${shared_ext}$major'
15505 shlibpath_var=LIBRARY_PATH
15506 shlibpath_overrides_runpath=yes
15507 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15508 hardcode_into_libs=yes
15509 ;;
15510
15511 hpux9* | hpux10* | hpux11*)
15512 # Give a soname corresponding to the major version so that dld.sl refuses to
15513 # link against other versions.
15514 version_type=sunos
15515 need_lib_prefix=no
15516 need_version=no
15517 case $host_cpu in
15518 ia64*)
15519 shrext_cmds='.so'
15520 hardcode_into_libs=yes
15521 dynamic_linker="$host_os dld.so"
15522 shlibpath_var=LD_LIBRARY_PATH
15523 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15525 soname_spec='${libname}${release}${shared_ext}$major'
15526 if test "X$HPUX_IA64_MODE" = X32; then
15527 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15528 else
15529 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15530 fi
15531 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15532 ;;
15533 hppa*64*)
15534 shrext_cmds='.sl'
15535 hardcode_into_libs=yes
15536 dynamic_linker="$host_os dld.sl"
15537 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15538 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15540 soname_spec='${libname}${release}${shared_ext}$major'
15541 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15542 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15543 ;;
15544 *)
15545 shrext_cmds='.sl'
15546 dynamic_linker="$host_os dld.sl"
15547 shlibpath_var=SHLIB_PATH
15548 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15550 soname_spec='${libname}${release}${shared_ext}$major'
15551 ;;
15552 esac
15553 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15554 postinstall_cmds='chmod 555 $lib'
15555 # or fails outright, so override atomically:
15556 install_override_mode=555
15557 ;;
15558
15559 interix[3-9]*)
15560 version_type=linux
15561 need_lib_prefix=no
15562 need_version=no
15563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15564 soname_spec='${libname}${release}${shared_ext}$major'
15565 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15566 shlibpath_var=LD_LIBRARY_PATH
15567 shlibpath_overrides_runpath=no
15568 hardcode_into_libs=yes
15569 ;;
15570
15571 irix5* | irix6* | nonstopux*)
15572 case $host_os in
15573 nonstopux*) version_type=nonstopux ;;
15574 *)
15575 if test "$lt_cv_prog_gnu_ld" = yes; then
15576 version_type=linux
15577 else
15578 version_type=irix
15579 fi ;;
15580 esac
15581 need_lib_prefix=no
15582 need_version=no
15583 soname_spec='${libname}${release}${shared_ext}$major'
15584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15585 case $host_os in
15586 irix5* | nonstopux*)
15587 libsuff= shlibsuff=
15588 ;;
15589 *)
15590 case $LD in # libtool.m4 will add one of these switches to LD
15591 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15592 libsuff= shlibsuff= libmagic=32-bit;;
15593 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15594 libsuff=32 shlibsuff=N32 libmagic=N32;;
15595 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15596 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15597 *) libsuff= shlibsuff= libmagic=never-match;;
15598 esac
15599 ;;
15600 esac
15601 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15602 shlibpath_overrides_runpath=no
15603 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15604 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15605 hardcode_into_libs=yes
15606 ;;
15607
15608 # No shared lib support for Linux oldld, aout, or coff.
15609 linux*oldld* | linux*aout* | linux*coff*)
15610 dynamic_linker=no
15611 ;;
15612
15613 # This must be Linux ELF.
15614 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15615 version_type=linux
15616 need_lib_prefix=no
15617 need_version=no
15618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15619 soname_spec='${libname}${release}${shared_ext}$major'
15620 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15621 shlibpath_var=LD_LIBRARY_PATH
15622 shlibpath_overrides_runpath=no
15623
15624 # Some binutils ld are patched to set DT_RUNPATH
15625 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15626 $as_echo_n "(cached) " >&6
15627 else
15628 lt_cv_shlibpath_overrides_runpath=no
15629 save_LDFLAGS=$LDFLAGS
15630 save_libdir=$libdir
15631 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15632 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15633 if test x$gcc_no_link = xyes; then
15634 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15635 fi
15636 cat > conftest.$ac_ext <<_ACEOF
15637 program main
15638
15639 end
15640 _ACEOF
15641 if ac_fn_fc_try_link "$LINENO"; then :
15642 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15643 lt_cv_shlibpath_overrides_runpath=yes
15644 fi
15645 fi
15646 rm -f core conftest.err conftest.$ac_objext \
15647 conftest$ac_exeext conftest.$ac_ext
15648 LDFLAGS=$save_LDFLAGS
15649 libdir=$save_libdir
15650
15651 fi
15652
15653 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15654
15655 # This implies no fast_install, which is unacceptable.
15656 # Some rework will be needed to allow for fast_install
15657 # before this can be enabled.
15658 hardcode_into_libs=yes
15659
15660 # Append ld.so.conf contents to the search path
15661 if test -f /etc/ld.so.conf; then
15662 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' ' '`
15663 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15664 fi
15665
15666 # We used to test for /lib/ld.so.1 and disable shared libraries on
15667 # powerpc, because MkLinux only supported shared libraries with the
15668 # GNU dynamic linker. Since this was broken with cross compilers,
15669 # most powerpc-linux boxes support dynamic linking these days and
15670 # people can always --disable-shared, the test was removed, and we
15671 # assume the GNU/Linux dynamic linker is in use.
15672 dynamic_linker='GNU/Linux ld.so'
15673 ;;
15674
15675 netbsd*)
15676 version_type=sunos
15677 need_lib_prefix=no
15678 need_version=no
15679 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15681 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15682 dynamic_linker='NetBSD (a.out) ld.so'
15683 else
15684 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15685 soname_spec='${libname}${release}${shared_ext}$major'
15686 dynamic_linker='NetBSD ld.elf_so'
15687 fi
15688 shlibpath_var=LD_LIBRARY_PATH
15689 shlibpath_overrides_runpath=yes
15690 hardcode_into_libs=yes
15691 ;;
15692
15693 newsos6)
15694 version_type=linux
15695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15696 shlibpath_var=LD_LIBRARY_PATH
15697 shlibpath_overrides_runpath=yes
15698 ;;
15699
15700 *nto* | *qnx*)
15701 version_type=qnx
15702 need_lib_prefix=no
15703 need_version=no
15704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15705 soname_spec='${libname}${release}${shared_ext}$major'
15706 shlibpath_var=LD_LIBRARY_PATH
15707 shlibpath_overrides_runpath=no
15708 hardcode_into_libs=yes
15709 dynamic_linker='ldqnx.so'
15710 ;;
15711
15712 openbsd*)
15713 version_type=sunos
15714 sys_lib_dlsearch_path_spec="/usr/lib"
15715 need_lib_prefix=no
15716 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15717 case $host_os in
15718 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15719 *) need_version=no ;;
15720 esac
15721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15722 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15723 shlibpath_var=LD_LIBRARY_PATH
15724 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15725 case $host_os in
15726 openbsd2.[89] | openbsd2.[89].*)
15727 shlibpath_overrides_runpath=no
15728 ;;
15729 *)
15730 shlibpath_overrides_runpath=yes
15731 ;;
15732 esac
15733 else
15734 shlibpath_overrides_runpath=yes
15735 fi
15736 ;;
15737
15738 os2*)
15739 libname_spec='$name'
15740 shrext_cmds=".dll"
15741 need_lib_prefix=no
15742 library_names_spec='$libname${shared_ext} $libname.a'
15743 dynamic_linker='OS/2 ld.exe'
15744 shlibpath_var=LIBPATH
15745 ;;
15746
15747 osf3* | osf4* | osf5*)
15748 version_type=osf
15749 need_lib_prefix=no
15750 need_version=no
15751 soname_spec='${libname}${release}${shared_ext}$major'
15752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15753 shlibpath_var=LD_LIBRARY_PATH
15754 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15755 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15756 ;;
15757
15758 rdos*)
15759 dynamic_linker=no
15760 ;;
15761
15762 solaris*)
15763 version_type=linux
15764 need_lib_prefix=no
15765 need_version=no
15766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15767 soname_spec='${libname}${release}${shared_ext}$major'
15768 shlibpath_var=LD_LIBRARY_PATH
15769 shlibpath_overrides_runpath=yes
15770 hardcode_into_libs=yes
15771 # ldd complains unless libraries are executable
15772 postinstall_cmds='chmod +x $lib'
15773 ;;
15774
15775 sunos4*)
15776 version_type=sunos
15777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15778 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15779 shlibpath_var=LD_LIBRARY_PATH
15780 shlibpath_overrides_runpath=yes
15781 if test "$with_gnu_ld" = yes; then
15782 need_lib_prefix=no
15783 fi
15784 need_version=yes
15785 ;;
15786
15787 sysv4 | sysv4.3*)
15788 version_type=linux
15789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15790 soname_spec='${libname}${release}${shared_ext}$major'
15791 shlibpath_var=LD_LIBRARY_PATH
15792 case $host_vendor in
15793 sni)
15794 shlibpath_overrides_runpath=no
15795 need_lib_prefix=no
15796 runpath_var=LD_RUN_PATH
15797 ;;
15798 siemens)
15799 need_lib_prefix=no
15800 ;;
15801 motorola)
15802 need_lib_prefix=no
15803 need_version=no
15804 shlibpath_overrides_runpath=no
15805 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15806 ;;
15807 esac
15808 ;;
15809
15810 sysv4*MP*)
15811 if test -d /usr/nec ;then
15812 version_type=linux
15813 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15814 soname_spec='$libname${shared_ext}.$major'
15815 shlibpath_var=LD_LIBRARY_PATH
15816 fi
15817 ;;
15818
15819 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15820 version_type=freebsd-elf
15821 need_lib_prefix=no
15822 need_version=no
15823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15824 soname_spec='${libname}${release}${shared_ext}$major'
15825 shlibpath_var=LD_LIBRARY_PATH
15826 shlibpath_overrides_runpath=yes
15827 hardcode_into_libs=yes
15828 if test "$with_gnu_ld" = yes; then
15829 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15830 else
15831 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15832 case $host_os in
15833 sco3.2v5*)
15834 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15835 ;;
15836 esac
15837 fi
15838 sys_lib_dlsearch_path_spec='/usr/lib'
15839 ;;
15840
15841 tpf*)
15842 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15843 version_type=linux
15844 need_lib_prefix=no
15845 need_version=no
15846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15847 shlibpath_var=LD_LIBRARY_PATH
15848 shlibpath_overrides_runpath=no
15849 hardcode_into_libs=yes
15850 ;;
15851
15852 uts4*)
15853 version_type=linux
15854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15855 soname_spec='${libname}${release}${shared_ext}$major'
15856 shlibpath_var=LD_LIBRARY_PATH
15857 ;;
15858
15859 *)
15860 dynamic_linker=no
15861 ;;
15862 esac
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15864 $as_echo "$dynamic_linker" >&6; }
15865 test "$dynamic_linker" = no && can_build_shared=no
15866
15867 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15868 if test "$GCC" = yes; then
15869 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15870 fi
15871
15872 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15873 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15874 fi
15875 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15876 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15877 fi
15878
15879
15880
15881
15882
15883
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15917 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15918 hardcode_action_FC=
15919 if test -n "$hardcode_libdir_flag_spec_FC" ||
15920 test -n "$runpath_var_FC" ||
15921 test "X$hardcode_automatic_FC" = "Xyes" ; then
15922
15923 # We can hardcode non-existent directories.
15924 if test "$hardcode_direct_FC" != no &&
15925 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15926 # have to relink, otherwise we might link with an installed library
15927 # when we should be linking with a yet-to-be-installed one
15928 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15929 test "$hardcode_minus_L_FC" != no; then
15930 # Linking always hardcodes the temporary library directory.
15931 hardcode_action_FC=relink
15932 else
15933 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15934 hardcode_action_FC=immediate
15935 fi
15936 else
15937 # We cannot hardcode anything, or else we can only hardcode existing
15938 # directories.
15939 hardcode_action_FC=unsupported
15940 fi
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15942 $as_echo "$hardcode_action_FC" >&6; }
15943
15944 if test "$hardcode_action_FC" = relink ||
15945 test "$inherit_rpath_FC" = yes; then
15946 # Fast installation is not supported
15947 enable_fast_install=no
15948 elif test "$shlibpath_overrides_runpath" = yes ||
15949 test "$enable_shared" = no; then
15950 # Fast installation is not necessary
15951 enable_fast_install=needless
15952 fi
15953
15954
15955
15956
15957
15958
15959
15960 fi # test -n "$compiler"
15961
15962 GCC=$lt_save_GCC
15963 CC="$lt_save_CC"
15964 fi # test "$_lt_disable_FC" != yes
15965
15966 ac_ext=c
15967 ac_cpp='$CPP $CPPFLAGS'
15968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15971
15972
15973
15974 # extra LD Flags which are required for targets
15975 case "${host}" in
15976 *-darwin*)
15977 # Darwin needs -single_module when linking libgfortran
15978 extra_ldflags_libgfortran=-Wl,-single_module
15979 ;;
15980 esac
15981
15982
15983 # We need a working compiler at that point, otherwise give a clear
15984 # error message and bail out.
15985
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15987 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15988 ac_ext=${ac_fc_srcext-f}
15989 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15990 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15991 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
15992
15993 cat > conftest.$ac_ext <<_ACEOF
15994
15995 program foo
15996 real, parameter :: bar = sin (12.34 / 2.5)
15997 end program foo
15998 _ACEOF
15999 if ac_fn_fc_try_compile "$LINENO"; then :
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16001 $as_echo "yes" >&6; }
16002 else
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16004 $as_echo "no" >&6; }
16005 as_fn_error $? "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16006
16007 fi
16008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16009 ac_ext=c
16010 ac_cpp='$CPP $CPPFLAGS'
16011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16014
16015
16016
16017 # Check whether --enable-largefile was given.
16018 if test "${enable_largefile+set}" = set; then :
16019 enableval=$enable_largefile;
16020 fi
16021
16022 if test "$enable_largefile" != no; then
16023
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16025 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16026 if ${ac_cv_sys_largefile_CC+:} false; then :
16027 $as_echo_n "(cached) " >&6
16028 else
16029 ac_cv_sys_largefile_CC=no
16030 if test "$GCC" != yes; then
16031 ac_save_CC=$CC
16032 while :; do
16033 # IRIX 6.2 and later do not support large files by default,
16034 # so use the C compiler's -n32 option if that helps.
16035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16036 /* end confdefs.h. */
16037 #include <sys/types.h>
16038 /* Check that off_t can represent 2**63 - 1 correctly.
16039 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16040 since some C++ compilers masquerading as C compilers
16041 incorrectly reject 9223372036854775807. */
16042 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16043 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16044 && LARGE_OFF_T % 2147483647 == 1)
16045 ? 1 : -1];
16046 int
16047 main ()
16048 {
16049
16050 ;
16051 return 0;
16052 }
16053 _ACEOF
16054 if ac_fn_c_try_compile "$LINENO"; then :
16055 break
16056 fi
16057 rm -f core conftest.err conftest.$ac_objext
16058 CC="$CC -n32"
16059 if ac_fn_c_try_compile "$LINENO"; then :
16060 ac_cv_sys_largefile_CC=' -n32'; break
16061 fi
16062 rm -f core conftest.err conftest.$ac_objext
16063 break
16064 done
16065 CC=$ac_save_CC
16066 rm -f conftest.$ac_ext
16067 fi
16068 fi
16069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16070 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16071 if test "$ac_cv_sys_largefile_CC" != no; then
16072 CC=$CC$ac_cv_sys_largefile_CC
16073 fi
16074
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16076 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16077 if ${ac_cv_sys_file_offset_bits+:} false; then :
16078 $as_echo_n "(cached) " >&6
16079 else
16080 while :; do
16081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16082 /* end confdefs.h. */
16083 #include <sys/types.h>
16084 /* Check that off_t can represent 2**63 - 1 correctly.
16085 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16086 since some C++ compilers masquerading as C compilers
16087 incorrectly reject 9223372036854775807. */
16088 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16089 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16090 && LARGE_OFF_T % 2147483647 == 1)
16091 ? 1 : -1];
16092 int
16093 main ()
16094 {
16095
16096 ;
16097 return 0;
16098 }
16099 _ACEOF
16100 if ac_fn_c_try_compile "$LINENO"; then :
16101 ac_cv_sys_file_offset_bits=no; break
16102 fi
16103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16105 /* end confdefs.h. */
16106 #define _FILE_OFFSET_BITS 64
16107 #include <sys/types.h>
16108 /* Check that off_t can represent 2**63 - 1 correctly.
16109 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16110 since some C++ compilers masquerading as C compilers
16111 incorrectly reject 9223372036854775807. */
16112 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16113 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16114 && LARGE_OFF_T % 2147483647 == 1)
16115 ? 1 : -1];
16116 int
16117 main ()
16118 {
16119
16120 ;
16121 return 0;
16122 }
16123 _ACEOF
16124 if ac_fn_c_try_compile "$LINENO"; then :
16125 ac_cv_sys_file_offset_bits=64; break
16126 fi
16127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16128 ac_cv_sys_file_offset_bits=unknown
16129 break
16130 done
16131 fi
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16133 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16134 case $ac_cv_sys_file_offset_bits in #(
16135 no | unknown) ;;
16136 *)
16137 cat >>confdefs.h <<_ACEOF
16138 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16139 _ACEOF
16140 ;;
16141 esac
16142 rm -rf conftest*
16143 if test $ac_cv_sys_file_offset_bits = unknown; then
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16145 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16146 if ${ac_cv_sys_large_files+:} false; then :
16147 $as_echo_n "(cached) " >&6
16148 else
16149 while :; do
16150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16151 /* end confdefs.h. */
16152 #include <sys/types.h>
16153 /* Check that off_t can represent 2**63 - 1 correctly.
16154 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16155 since some C++ compilers masquerading as C compilers
16156 incorrectly reject 9223372036854775807. */
16157 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16158 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16159 && LARGE_OFF_T % 2147483647 == 1)
16160 ? 1 : -1];
16161 int
16162 main ()
16163 {
16164
16165 ;
16166 return 0;
16167 }
16168 _ACEOF
16169 if ac_fn_c_try_compile "$LINENO"; then :
16170 ac_cv_sys_large_files=no; break
16171 fi
16172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16174 /* end confdefs.h. */
16175 #define _LARGE_FILES 1
16176 #include <sys/types.h>
16177 /* Check that off_t can represent 2**63 - 1 correctly.
16178 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16179 since some C++ compilers masquerading as C compilers
16180 incorrectly reject 9223372036854775807. */
16181 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16182 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16183 && LARGE_OFF_T % 2147483647 == 1)
16184 ? 1 : -1];
16185 int
16186 main ()
16187 {
16188
16189 ;
16190 return 0;
16191 }
16192 _ACEOF
16193 if ac_fn_c_try_compile "$LINENO"; then :
16194 ac_cv_sys_large_files=1; break
16195 fi
16196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16197 ac_cv_sys_large_files=unknown
16198 break
16199 done
16200 fi
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16202 $as_echo "$ac_cv_sys_large_files" >&6; }
16203 case $ac_cv_sys_large_files in #(
16204 no | unknown) ;;
16205 *)
16206 cat >>confdefs.h <<_ACEOF
16207 #define _LARGE_FILES $ac_cv_sys_large_files
16208 _ACEOF
16209 ;;
16210 esac
16211 rm -rf conftest*
16212 fi
16213
16214
16215 fi
16216
16217
16218 # Types
16219 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16220 if test "x$ac_cv_type_off_t" = xyes; then :
16221
16222 else
16223
16224 cat >>confdefs.h <<_ACEOF
16225 #define off_t long int
16226 _ACEOF
16227
16228 fi
16229
16230
16231 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16232 if test "x$ac_cv_type_intptr_t" = xyes; then :
16233
16234 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16235
16236 else
16237 for ac_type in 'int' 'long int' 'long long int'; do
16238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16239 /* end confdefs.h. */
16240 $ac_includes_default
16241 int
16242 main ()
16243 {
16244 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16245 test_array [0] = 0;
16246 return test_array [0];
16247
16248 ;
16249 return 0;
16250 }
16251 _ACEOF
16252 if ac_fn_c_try_compile "$LINENO"; then :
16253
16254 cat >>confdefs.h <<_ACEOF
16255 #define intptr_t $ac_type
16256 _ACEOF
16257
16258 ac_type=
16259 fi
16260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16261 test -z "$ac_type" && break
16262 done
16263 fi
16264
16265
16266
16267 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16268 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16269
16270 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16271
16272 else
16273 for ac_type in 'unsigned int' 'unsigned long int' \
16274 'unsigned long long int'; do
16275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16276 /* end confdefs.h. */
16277 $ac_includes_default
16278 int
16279 main ()
16280 {
16281 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16282 test_array [0] = 0;
16283 return test_array [0];
16284
16285 ;
16286 return 0;
16287 }
16288 _ACEOF
16289 if ac_fn_c_try_compile "$LINENO"; then :
16290
16291 cat >>confdefs.h <<_ACEOF
16292 #define uintptr_t $ac_type
16293 _ACEOF
16294
16295 ac_type=
16296 fi
16297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16298 test -z "$ac_type" && break
16299 done
16300 fi
16301
16302
16303 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16304 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
16305
16306 cat >>confdefs.h <<_ACEOF
16307 #define HAVE_PTRDIFF_T 1
16308 _ACEOF
16309
16310
16311 fi
16312
16313
16314 # check header files (we assume C89 is available, so don't check for that)
16315
16316
16317
16318 for ac_header in $ac_header_list
16319 do :
16320 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16321 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16322 "
16323 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16324 cat >>confdefs.h <<_ACEOF
16325 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16326 _ACEOF
16327
16328 fi
16329
16330 done
16331
16332
16333
16334
16335
16336
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 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16371
16372 acx_cv_header_stdint=stddef.h
16373 acx_cv_header_stdint_kind="(already complete)"
16374 for i in stdint.h $inttype_headers; do
16375 unset ac_cv_type_uintptr_t
16376 unset ac_cv_type_uintmax_t
16377 unset ac_cv_type_int_least32_t
16378 unset ac_cv_type_int_fast32_t
16379 unset ac_cv_type_uint64_t
16380 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16381 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16382 #include <$i>
16383 "
16384 if test "x$ac_cv_type_uintmax_t" = xyes; then :
16385 acx_cv_header_stdint=$i
16386 else
16387 continue
16388 fi
16389
16390 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16391 #include <$i>
16392 "
16393 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16394
16395 else
16396 acx_cv_header_stdint_kind="(mostly complete)"
16397 fi
16398
16399 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16400 #include <$i>
16401 "
16402 if test "x$ac_cv_type_int_least32_t" = xyes; then :
16403
16404 else
16405 acx_cv_header_stdint_kind="(mostly complete)"
16406 fi
16407
16408 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16409 #include <$i>
16410 "
16411 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
16412
16413 else
16414 acx_cv_header_stdint_kind="(mostly complete)"
16415 fi
16416
16417 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16418 #include <$i>
16419 "
16420 if test "x$ac_cv_type_uint64_t" = xyes; then :
16421
16422 else
16423 acx_cv_header_stdint_kind="(lacks uint64_t)"
16424 fi
16425
16426 break
16427 done
16428 if test "$acx_cv_header_stdint" = stddef.h; then
16429 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16430 for i in stdint.h $inttype_headers; do
16431 unset ac_cv_type_uintptr_t
16432 unset ac_cv_type_uint32_t
16433 unset ac_cv_type_uint64_t
16434 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16435 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16436 #include <$i>
16437 "
16438 if test "x$ac_cv_type_uint32_t" = xyes; then :
16439 acx_cv_header_stdint=$i
16440 else
16441 continue
16442 fi
16443
16444 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16445 #include <$i>
16446 "
16447 if test "x$ac_cv_type_uint64_t" = xyes; then :
16448
16449 fi
16450
16451 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16452 #include <$i>
16453 "
16454 if test "x$ac_cv_type_uintptr_t" = xyes; then :
16455
16456 fi
16457
16458 break
16459 done
16460 fi
16461 if test "$acx_cv_header_stdint" = stddef.h; then
16462 acx_cv_header_stdint_kind="(u_intXX_t style)"
16463 for i in sys/types.h $inttype_headers; do
16464 unset ac_cv_type_u_int32_t
16465 unset ac_cv_type_u_int64_t
16466 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16467 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16468 #include <$i>
16469 "
16470 if test "x$ac_cv_type_u_int32_t" = xyes; then :
16471 acx_cv_header_stdint=$i
16472 else
16473 continue
16474 fi
16475
16476 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16477 #include <$i>
16478 "
16479 if test "x$ac_cv_type_u_int64_t" = xyes; then :
16480
16481 fi
16482
16483 break
16484 done
16485 fi
16486 if test "$acx_cv_header_stdint" = stddef.h; then
16487 acx_cv_header_stdint_kind="(using manual detection)"
16488 fi
16489
16490 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16491 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16492 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16493 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16494 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16495
16496 # ----------------- Summarize what we found so far
16497
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16499 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16500
16501 case `$as_basename -- gstdint.h ||
16502 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16503 Xgstdint.h : 'X\(//\)$' \| \
16504 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16505 $as_echo X/gstdint.h |
16506 sed '/^.*\/\([^/][^/]*\)\/*$/{
16507 s//\1/
16508 q
16509 }
16510 /^X\/\(\/\/\)$/{
16511 s//\1/
16512 q
16513 }
16514 /^X\/\(\/\).*/{
16515 s//\1/
16516 q
16517 }
16518 s/.*/./; q'` in
16519 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16520 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16521 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16522 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16523 *) ;;
16524 esac
16525
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16527 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16528
16529 # ----------------- done included file, check C basic types --------
16530
16531 # Lacking an uintptr_t? Test size of void *
16532 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16533 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16534 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16535 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16536 # This bug is HP SR number 8606223364.
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16538 $as_echo_n "checking size of void *... " >&6; }
16539 if ${ac_cv_sizeof_void_p+:} false; then :
16540 $as_echo_n "(cached) " >&6
16541 else
16542 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16543
16544 else
16545 if test "$ac_cv_type_void_p" = yes; then
16546 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16548 as_fn_error 77 "cannot compute sizeof (void *)
16549 See \`config.log' for more details" "$LINENO" 5; }
16550 else
16551 ac_cv_sizeof_void_p=0
16552 fi
16553 fi
16554
16555 fi
16556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16557 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16558
16559
16560
16561 cat >>confdefs.h <<_ACEOF
16562 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16563 _ACEOF
16564
16565 ;;
16566 esac
16567
16568 # Lacking an uint64_t? Test size of long
16569 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16570 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16571 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16572 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16573 # This bug is HP SR number 8606223364.
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16575 $as_echo_n "checking size of long... " >&6; }
16576 if ${ac_cv_sizeof_long+:} false; then :
16577 $as_echo_n "(cached) " >&6
16578 else
16579 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16580
16581 else
16582 if test "$ac_cv_type_long" = yes; then
16583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16585 as_fn_error 77 "cannot compute sizeof (long)
16586 See \`config.log' for more details" "$LINENO" 5; }
16587 else
16588 ac_cv_sizeof_long=0
16589 fi
16590 fi
16591
16592 fi
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16594 $as_echo "$ac_cv_sizeof_long" >&6; }
16595
16596
16597
16598 cat >>confdefs.h <<_ACEOF
16599 #define SIZEOF_LONG $ac_cv_sizeof_long
16600 _ACEOF
16601
16602 ;;
16603 esac
16604
16605 if test $acx_cv_header_stdint = stddef.h; then
16606 # Lacking a good header? Test size of everything and deduce all types.
16607 # The cast to long int works around a bug in the HP C Compiler
16608 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16609 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16610 # This bug is HP SR number 8606223364.
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16612 $as_echo_n "checking size of int... " >&6; }
16613 if ${ac_cv_sizeof_int+:} false; then :
16614 $as_echo_n "(cached) " >&6
16615 else
16616 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16617
16618 else
16619 if test "$ac_cv_type_int" = yes; then
16620 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16621 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16622 as_fn_error 77 "cannot compute sizeof (int)
16623 See \`config.log' for more details" "$LINENO" 5; }
16624 else
16625 ac_cv_sizeof_int=0
16626 fi
16627 fi
16628
16629 fi
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16631 $as_echo "$ac_cv_sizeof_int" >&6; }
16632
16633
16634
16635 cat >>confdefs.h <<_ACEOF
16636 #define SIZEOF_INT $ac_cv_sizeof_int
16637 _ACEOF
16638
16639
16640 # The cast to long int works around a bug in the HP C Compiler
16641 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16642 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16643 # This bug is HP SR number 8606223364.
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16645 $as_echo_n "checking size of short... " >&6; }
16646 if ${ac_cv_sizeof_short+:} false; then :
16647 $as_echo_n "(cached) " >&6
16648 else
16649 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16650
16651 else
16652 if test "$ac_cv_type_short" = yes; then
16653 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16655 as_fn_error 77 "cannot compute sizeof (short)
16656 See \`config.log' for more details" "$LINENO" 5; }
16657 else
16658 ac_cv_sizeof_short=0
16659 fi
16660 fi
16661
16662 fi
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16664 $as_echo "$ac_cv_sizeof_short" >&6; }
16665
16666
16667
16668 cat >>confdefs.h <<_ACEOF
16669 #define SIZEOF_SHORT $ac_cv_sizeof_short
16670 _ACEOF
16671
16672
16673 # The cast to long int works around a bug in the HP C Compiler
16674 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16675 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16676 # This bug is HP SR number 8606223364.
16677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16678 $as_echo_n "checking size of char... " >&6; }
16679 if ${ac_cv_sizeof_char+:} false; then :
16680 $as_echo_n "(cached) " >&6
16681 else
16682 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16683
16684 else
16685 if test "$ac_cv_type_char" = yes; then
16686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16688 as_fn_error 77 "cannot compute sizeof (char)
16689 See \`config.log' for more details" "$LINENO" 5; }
16690 else
16691 ac_cv_sizeof_char=0
16692 fi
16693 fi
16694
16695 fi
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16697 $as_echo "$ac_cv_sizeof_char" >&6; }
16698
16699
16700
16701 cat >>confdefs.h <<_ACEOF
16702 #define SIZEOF_CHAR $ac_cv_sizeof_char
16703 _ACEOF
16704
16705
16706
16707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16708 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16709 case "$ac_cv_sizeof_char" in
16710 1) acx_cv_type_int8_t=char ;;
16711 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
16712 esac
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16714 $as_echo "$acx_cv_type_int8_t" >&6; }
16715
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16717 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16718 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16719 2:*) acx_cv_type_int16_t=int ;;
16720 *:2) acx_cv_type_int16_t=short ;;
16721 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
16722 esac
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16724 $as_echo "$acx_cv_type_int16_t" >&6; }
16725
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16727 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16728 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16729 4:*) acx_cv_type_int32_t=int ;;
16730 *:4) acx_cv_type_int32_t=long ;;
16731 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
16732 esac
16733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16734 $as_echo "$acx_cv_type_int32_t" >&6; }
16735 fi
16736
16737 # These tests are here to make the output prettier
16738
16739 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16740 case "$ac_cv_sizeof_long" in
16741 8) acx_cv_type_int64_t=long ;;
16742 esac
16743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16744 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16746 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16747 fi
16748
16749 # Now we can use the above types
16750
16751 if test "$ac_cv_type_uintptr_t" != yes; then
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16753 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16754 case $ac_cv_sizeof_void_p in
16755 2) acx_cv_type_intptr_t=int16_t ;;
16756 4) acx_cv_type_intptr_t=int32_t ;;
16757 8) acx_cv_type_intptr_t=int64_t ;;
16758 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16759 esac
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16761 $as_echo "$acx_cv_type_intptr_t" >&6; }
16762 fi
16763
16764 # ----------------- done all checks, emit header -------------
16765 ac_config_commands="$ac_config_commands gstdint.h"
16766
16767
16768
16769
16770 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16771 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then :
16772
16773 cat >>confdefs.h <<_ACEOF
16774 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16775 _ACEOF
16776
16777
16778 fi
16779 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16780 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16781
16782 cat >>confdefs.h <<_ACEOF
16783 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16784 _ACEOF
16785
16786
16787 fi
16788 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16789 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
16790
16791 cat >>confdefs.h <<_ACEOF
16792 #define HAVE_STRUCT_STAT_ST_RDEV 1
16793 _ACEOF
16794
16795
16796 fi
16797
16798
16799 case "${host}--x${with_newlib}" in
16800 mips*--xyes)
16801 hardwire_newlib=1;;
16802 nvptx*--xyes)
16803 hardwire_newlib=1;;
16804 esac
16805
16806 # Check for library functions.
16807 if test "${hardwire_newlib:-0}" -eq 1; then
16808 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16809 # may not work correctly, because the compiler may not be able to
16810 # link executables.
16811
16812 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16813
16814
16815 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16816
16817
16818 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16819
16820
16821 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16822
16823
16824 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16825
16826
16827 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16828
16829
16830 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16831
16832
16833 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16834
16835
16836 # At some point, we should differentiate between architectures
16837 # like x86, which have long double versions, and alpha/powerpc/etc.,
16838 # which don't. For the time being, punt.
16839 if test x"long_double_math_on_this_cpu" = x"yes"; then
16840
16841 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16842
16843 fi
16844 else
16845
16846
16847
16848 for ac_func in $ac_func_list
16849 do :
16850 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16851 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16852 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16853 cat >>confdefs.h <<_ACEOF
16854 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16855 _ACEOF
16856
16857 fi
16858 done
16859
16860
16861
16862
16863
16864
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 fi
16964
16965 # Check strerror_r, cannot be above as versions with two and three arguments exist
16966
16967 ac_save_CFLAGS="$CFLAGS"
16968 CFLAGS="-Wimplicit-function-declaration -Werror"
16969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16970 /* end confdefs.h. */
16971 #define _GNU_SOURCE 1
16972 #include <string.h>
16973 #include <locale.h>
16974 int
16975 main ()
16976 {
16977 char s[128]; strerror_r(5, s, 128);
16978 ;
16979 return 0;
16980 }
16981 _ACEOF
16982 if ac_fn_c_try_compile "$LINENO"; then :
16983
16984 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16985
16986 fi
16987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16988 CFLAGS="$ac_save_CFLAGS"
16989
16990 ac_save_CFLAGS="$CFLAGS"
16991 CFLAGS="-Wimplicit-function-declaration -Werror"
16992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16994 #define _GNU_SOURCE 1
16995 #include <string.h>
16996 #include <locale.h>
16997 int
16998 main ()
16999 {
17000 char s[128]; strerror_r(5, s);
17001 ;
17002 return 0;
17003 }
17004 _ACEOF
17005 if ac_fn_c_try_compile "$LINENO"; then :
17006
17007 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17008
17009 fi
17010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17011 CFLAGS="$ac_save_CFLAGS"
17012
17013
17014 # Check for C99 (and other IEEE) math functions
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17016 $as_echo_n "checking for sin in -lm... " >&6; }
17017 if ${ac_cv_lib_m_sin+:} false; then :
17018 $as_echo_n "(cached) " >&6
17019 else
17020 ac_check_lib_save_LIBS=$LIBS
17021 LIBS="-lm $LIBS"
17022 if test x$gcc_no_link = xyes; then
17023 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17024 fi
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17027
17028 /* Override any GCC internal prototype to avoid an error.
17029 Use char because int might match the return type of a GCC
17030 builtin and then its argument prototype would still apply. */
17031 #ifdef __cplusplus
17032 extern "C"
17033 #endif
17034 char sin ();
17035 int
17036 main ()
17037 {
17038 return sin ();
17039 ;
17040 return 0;
17041 }
17042 _ACEOF
17043 if ac_fn_c_try_link "$LINENO"; then :
17044 ac_cv_lib_m_sin=yes
17045 else
17046 ac_cv_lib_m_sin=no
17047 fi
17048 rm -f core conftest.err conftest.$ac_objext \
17049 conftest$ac_exeext conftest.$ac_ext
17050 LIBS=$ac_check_lib_save_LIBS
17051 fi
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17053 $as_echo "$ac_cv_lib_m_sin" >&6; }
17054 if test "x$ac_cv_lib_m_sin" = xyes; then :
17055 cat >>confdefs.h <<_ACEOF
17056 #define HAVE_LIBM 1
17057 _ACEOF
17058
17059 LIBS="-lm $LIBS"
17060
17061 fi
17062
17063
17064
17065
17066
17067
17068
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17070 $as_echo_n "checking for acosf... " >&6; }
17071 if ${gcc_cv_math_func_acosf+:} false; then :
17072 $as_echo_n "(cached) " >&6
17073 else
17074 if test x$gcc_no_link = xyes; then
17075 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17076 fi
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17079
17080 #ifdef HAVE_COMPLEX_H
17081 #include <complex.h>
17082 #endif
17083 #ifdef HAVE_MATH_H
17084 #include <math.h>
17085 #endif
17086
17087 int (*ptr)() = (int (*)())acosf;
17088
17089 int
17090 main ()
17091 {
17092 return 0;
17093 }
17094
17095 _ACEOF
17096 if ac_fn_c_try_link "$LINENO"; then :
17097 gcc_cv_math_func_acosf=yes
17098 else
17099 gcc_cv_math_func_acosf=no
17100 fi
17101 rm -f core conftest.err conftest.$ac_objext \
17102 conftest$ac_exeext conftest.$ac_ext
17103 fi
17104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17105 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17106 if test $gcc_cv_math_func_acosf = yes; then
17107
17108 cat >>confdefs.h <<_ACEOF
17109 #define HAVE_ACOSF 1
17110 _ACEOF
17111
17112 fi
17113
17114
17115
17116
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17118 $as_echo_n "checking for acos... " >&6; }
17119 if ${gcc_cv_math_func_acos+:} false; then :
17120 $as_echo_n "(cached) " >&6
17121 else
17122 if test x$gcc_no_link = xyes; then
17123 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17124 fi
17125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17127
17128 #ifdef HAVE_COMPLEX_H
17129 #include <complex.h>
17130 #endif
17131 #ifdef HAVE_MATH_H
17132 #include <math.h>
17133 #endif
17134
17135 int (*ptr)() = (int (*)())acos;
17136
17137 int
17138 main ()
17139 {
17140 return 0;
17141 }
17142
17143 _ACEOF
17144 if ac_fn_c_try_link "$LINENO"; then :
17145 gcc_cv_math_func_acos=yes
17146 else
17147 gcc_cv_math_func_acos=no
17148 fi
17149 rm -f core conftest.err conftest.$ac_objext \
17150 conftest$ac_exeext conftest.$ac_ext
17151 fi
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17153 $as_echo "$gcc_cv_math_func_acos" >&6; }
17154 if test $gcc_cv_math_func_acos = yes; then
17155
17156 cat >>confdefs.h <<_ACEOF
17157 #define HAVE_ACOS 1
17158 _ACEOF
17159
17160 fi
17161
17162
17163
17164
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17166 $as_echo_n "checking for acosl... " >&6; }
17167 if ${gcc_cv_math_func_acosl+:} false; then :
17168 $as_echo_n "(cached) " >&6
17169 else
17170 if test x$gcc_no_link = xyes; then
17171 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17172 fi
17173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17174 /* end confdefs.h. */
17175
17176 #ifdef HAVE_COMPLEX_H
17177 #include <complex.h>
17178 #endif
17179 #ifdef HAVE_MATH_H
17180 #include <math.h>
17181 #endif
17182
17183 int (*ptr)() = (int (*)())acosl;
17184
17185 int
17186 main ()
17187 {
17188 return 0;
17189 }
17190
17191 _ACEOF
17192 if ac_fn_c_try_link "$LINENO"; then :
17193 gcc_cv_math_func_acosl=yes
17194 else
17195 gcc_cv_math_func_acosl=no
17196 fi
17197 rm -f core conftest.err conftest.$ac_objext \
17198 conftest$ac_exeext conftest.$ac_ext
17199 fi
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17201 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17202 if test $gcc_cv_math_func_acosl = yes; then
17203
17204 cat >>confdefs.h <<_ACEOF
17205 #define HAVE_ACOSL 1
17206 _ACEOF
17207
17208 fi
17209
17210
17211
17212
17213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17214 $as_echo_n "checking for acoshf... " >&6; }
17215 if ${gcc_cv_math_func_acoshf+:} false; then :
17216 $as_echo_n "(cached) " >&6
17217 else
17218 if test x$gcc_no_link = xyes; then
17219 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17220 fi
17221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h. */
17223
17224 #ifdef HAVE_COMPLEX_H
17225 #include <complex.h>
17226 #endif
17227 #ifdef HAVE_MATH_H
17228 #include <math.h>
17229 #endif
17230
17231 int (*ptr)() = (int (*)())acoshf;
17232
17233 int
17234 main ()
17235 {
17236 return 0;
17237 }
17238
17239 _ACEOF
17240 if ac_fn_c_try_link "$LINENO"; then :
17241 gcc_cv_math_func_acoshf=yes
17242 else
17243 gcc_cv_math_func_acoshf=no
17244 fi
17245 rm -f core conftest.err conftest.$ac_objext \
17246 conftest$ac_exeext conftest.$ac_ext
17247 fi
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17249 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17250 if test $gcc_cv_math_func_acoshf = yes; then
17251
17252 cat >>confdefs.h <<_ACEOF
17253 #define HAVE_ACOSHF 1
17254 _ACEOF
17255
17256 fi
17257
17258
17259
17260
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17262 $as_echo_n "checking for acosh... " >&6; }
17263 if ${gcc_cv_math_func_acosh+:} false; then :
17264 $as_echo_n "(cached) " >&6
17265 else
17266 if test x$gcc_no_link = xyes; then
17267 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17268 fi
17269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17270 /* end confdefs.h. */
17271
17272 #ifdef HAVE_COMPLEX_H
17273 #include <complex.h>
17274 #endif
17275 #ifdef HAVE_MATH_H
17276 #include <math.h>
17277 #endif
17278
17279 int (*ptr)() = (int (*)())acosh;
17280
17281 int
17282 main ()
17283 {
17284 return 0;
17285 }
17286
17287 _ACEOF
17288 if ac_fn_c_try_link "$LINENO"; then :
17289 gcc_cv_math_func_acosh=yes
17290 else
17291 gcc_cv_math_func_acosh=no
17292 fi
17293 rm -f core conftest.err conftest.$ac_objext \
17294 conftest$ac_exeext conftest.$ac_ext
17295 fi
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17297 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17298 if test $gcc_cv_math_func_acosh = yes; then
17299
17300 cat >>confdefs.h <<_ACEOF
17301 #define HAVE_ACOSH 1
17302 _ACEOF
17303
17304 fi
17305
17306
17307
17308
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17310 $as_echo_n "checking for acoshl... " >&6; }
17311 if ${gcc_cv_math_func_acoshl+:} false; then :
17312 $as_echo_n "(cached) " >&6
17313 else
17314 if test x$gcc_no_link = xyes; then
17315 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17316 fi
17317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17318 /* end confdefs.h. */
17319
17320 #ifdef HAVE_COMPLEX_H
17321 #include <complex.h>
17322 #endif
17323 #ifdef HAVE_MATH_H
17324 #include <math.h>
17325 #endif
17326
17327 int (*ptr)() = (int (*)())acoshl;
17328
17329 int
17330 main ()
17331 {
17332 return 0;
17333 }
17334
17335 _ACEOF
17336 if ac_fn_c_try_link "$LINENO"; then :
17337 gcc_cv_math_func_acoshl=yes
17338 else
17339 gcc_cv_math_func_acoshl=no
17340 fi
17341 rm -f core conftest.err conftest.$ac_objext \
17342 conftest$ac_exeext conftest.$ac_ext
17343 fi
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17345 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17346 if test $gcc_cv_math_func_acoshl = yes; then
17347
17348 cat >>confdefs.h <<_ACEOF
17349 #define HAVE_ACOSHL 1
17350 _ACEOF
17351
17352 fi
17353
17354
17355
17356
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17358 $as_echo_n "checking for asinf... " >&6; }
17359 if ${gcc_cv_math_func_asinf+:} false; then :
17360 $as_echo_n "(cached) " >&6
17361 else
17362 if test x$gcc_no_link = xyes; then
17363 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17364 fi
17365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17366 /* end confdefs.h. */
17367
17368 #ifdef HAVE_COMPLEX_H
17369 #include <complex.h>
17370 #endif
17371 #ifdef HAVE_MATH_H
17372 #include <math.h>
17373 #endif
17374
17375 int (*ptr)() = (int (*)())asinf;
17376
17377 int
17378 main ()
17379 {
17380 return 0;
17381 }
17382
17383 _ACEOF
17384 if ac_fn_c_try_link "$LINENO"; then :
17385 gcc_cv_math_func_asinf=yes
17386 else
17387 gcc_cv_math_func_asinf=no
17388 fi
17389 rm -f core conftest.err conftest.$ac_objext \
17390 conftest$ac_exeext conftest.$ac_ext
17391 fi
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17393 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17394 if test $gcc_cv_math_func_asinf = yes; then
17395
17396 cat >>confdefs.h <<_ACEOF
17397 #define HAVE_ASINF 1
17398 _ACEOF
17399
17400 fi
17401
17402
17403
17404
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17406 $as_echo_n "checking for asin... " >&6; }
17407 if ${gcc_cv_math_func_asin+:} false; then :
17408 $as_echo_n "(cached) " >&6
17409 else
17410 if test x$gcc_no_link = xyes; then
17411 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17412 fi
17413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17414 /* end confdefs.h. */
17415
17416 #ifdef HAVE_COMPLEX_H
17417 #include <complex.h>
17418 #endif
17419 #ifdef HAVE_MATH_H
17420 #include <math.h>
17421 #endif
17422
17423 int (*ptr)() = (int (*)())asin;
17424
17425 int
17426 main ()
17427 {
17428 return 0;
17429 }
17430
17431 _ACEOF
17432 if ac_fn_c_try_link "$LINENO"; then :
17433 gcc_cv_math_func_asin=yes
17434 else
17435 gcc_cv_math_func_asin=no
17436 fi
17437 rm -f core conftest.err conftest.$ac_objext \
17438 conftest$ac_exeext conftest.$ac_ext
17439 fi
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17441 $as_echo "$gcc_cv_math_func_asin" >&6; }
17442 if test $gcc_cv_math_func_asin = yes; then
17443
17444 cat >>confdefs.h <<_ACEOF
17445 #define HAVE_ASIN 1
17446 _ACEOF
17447
17448 fi
17449
17450
17451
17452
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17454 $as_echo_n "checking for asinl... " >&6; }
17455 if ${gcc_cv_math_func_asinl+:} false; then :
17456 $as_echo_n "(cached) " >&6
17457 else
17458 if test x$gcc_no_link = xyes; then
17459 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17460 fi
17461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h. */
17463
17464 #ifdef HAVE_COMPLEX_H
17465 #include <complex.h>
17466 #endif
17467 #ifdef HAVE_MATH_H
17468 #include <math.h>
17469 #endif
17470
17471 int (*ptr)() = (int (*)())asinl;
17472
17473 int
17474 main ()
17475 {
17476 return 0;
17477 }
17478
17479 _ACEOF
17480 if ac_fn_c_try_link "$LINENO"; then :
17481 gcc_cv_math_func_asinl=yes
17482 else
17483 gcc_cv_math_func_asinl=no
17484 fi
17485 rm -f core conftest.err conftest.$ac_objext \
17486 conftest$ac_exeext conftest.$ac_ext
17487 fi
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17489 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17490 if test $gcc_cv_math_func_asinl = yes; then
17491
17492 cat >>confdefs.h <<_ACEOF
17493 #define HAVE_ASINL 1
17494 _ACEOF
17495
17496 fi
17497
17498
17499
17500
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17502 $as_echo_n "checking for asinhf... " >&6; }
17503 if ${gcc_cv_math_func_asinhf+:} false; then :
17504 $as_echo_n "(cached) " >&6
17505 else
17506 if test x$gcc_no_link = xyes; then
17507 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17508 fi
17509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17510 /* end confdefs.h. */
17511
17512 #ifdef HAVE_COMPLEX_H
17513 #include <complex.h>
17514 #endif
17515 #ifdef HAVE_MATH_H
17516 #include <math.h>
17517 #endif
17518
17519 int (*ptr)() = (int (*)())asinhf;
17520
17521 int
17522 main ()
17523 {
17524 return 0;
17525 }
17526
17527 _ACEOF
17528 if ac_fn_c_try_link "$LINENO"; then :
17529 gcc_cv_math_func_asinhf=yes
17530 else
17531 gcc_cv_math_func_asinhf=no
17532 fi
17533 rm -f core conftest.err conftest.$ac_objext \
17534 conftest$ac_exeext conftest.$ac_ext
17535 fi
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17537 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17538 if test $gcc_cv_math_func_asinhf = yes; then
17539
17540 cat >>confdefs.h <<_ACEOF
17541 #define HAVE_ASINHF 1
17542 _ACEOF
17543
17544 fi
17545
17546
17547
17548
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17550 $as_echo_n "checking for asinh... " >&6; }
17551 if ${gcc_cv_math_func_asinh+:} false; then :
17552 $as_echo_n "(cached) " >&6
17553 else
17554 if test x$gcc_no_link = xyes; then
17555 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17556 fi
17557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17558 /* end confdefs.h. */
17559
17560 #ifdef HAVE_COMPLEX_H
17561 #include <complex.h>
17562 #endif
17563 #ifdef HAVE_MATH_H
17564 #include <math.h>
17565 #endif
17566
17567 int (*ptr)() = (int (*)())asinh;
17568
17569 int
17570 main ()
17571 {
17572 return 0;
17573 }
17574
17575 _ACEOF
17576 if ac_fn_c_try_link "$LINENO"; then :
17577 gcc_cv_math_func_asinh=yes
17578 else
17579 gcc_cv_math_func_asinh=no
17580 fi
17581 rm -f core conftest.err conftest.$ac_objext \
17582 conftest$ac_exeext conftest.$ac_ext
17583 fi
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17585 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17586 if test $gcc_cv_math_func_asinh = yes; then
17587
17588 cat >>confdefs.h <<_ACEOF
17589 #define HAVE_ASINH 1
17590 _ACEOF
17591
17592 fi
17593
17594
17595
17596
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17598 $as_echo_n "checking for asinhl... " >&6; }
17599 if ${gcc_cv_math_func_asinhl+:} false; then :
17600 $as_echo_n "(cached) " >&6
17601 else
17602 if test x$gcc_no_link = xyes; then
17603 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17604 fi
17605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17606 /* end confdefs.h. */
17607
17608 #ifdef HAVE_COMPLEX_H
17609 #include <complex.h>
17610 #endif
17611 #ifdef HAVE_MATH_H
17612 #include <math.h>
17613 #endif
17614
17615 int (*ptr)() = (int (*)())asinhl;
17616
17617 int
17618 main ()
17619 {
17620 return 0;
17621 }
17622
17623 _ACEOF
17624 if ac_fn_c_try_link "$LINENO"; then :
17625 gcc_cv_math_func_asinhl=yes
17626 else
17627 gcc_cv_math_func_asinhl=no
17628 fi
17629 rm -f core conftest.err conftest.$ac_objext \
17630 conftest$ac_exeext conftest.$ac_ext
17631 fi
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17633 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17634 if test $gcc_cv_math_func_asinhl = yes; then
17635
17636 cat >>confdefs.h <<_ACEOF
17637 #define HAVE_ASINHL 1
17638 _ACEOF
17639
17640 fi
17641
17642
17643
17644
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17646 $as_echo_n "checking for atan2f... " >&6; }
17647 if ${gcc_cv_math_func_atan2f+:} false; then :
17648 $as_echo_n "(cached) " >&6
17649 else
17650 if test x$gcc_no_link = xyes; then
17651 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17652 fi
17653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17654 /* end confdefs.h. */
17655
17656 #ifdef HAVE_COMPLEX_H
17657 #include <complex.h>
17658 #endif
17659 #ifdef HAVE_MATH_H
17660 #include <math.h>
17661 #endif
17662
17663 int (*ptr)() = (int (*)())atan2f;
17664
17665 int
17666 main ()
17667 {
17668 return 0;
17669 }
17670
17671 _ACEOF
17672 if ac_fn_c_try_link "$LINENO"; then :
17673 gcc_cv_math_func_atan2f=yes
17674 else
17675 gcc_cv_math_func_atan2f=no
17676 fi
17677 rm -f core conftest.err conftest.$ac_objext \
17678 conftest$ac_exeext conftest.$ac_ext
17679 fi
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17681 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17682 if test $gcc_cv_math_func_atan2f = yes; then
17683
17684 cat >>confdefs.h <<_ACEOF
17685 #define HAVE_ATAN2F 1
17686 _ACEOF
17687
17688 fi
17689
17690
17691
17692
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17694 $as_echo_n "checking for atan2... " >&6; }
17695 if ${gcc_cv_math_func_atan2+:} false; then :
17696 $as_echo_n "(cached) " >&6
17697 else
17698 if test x$gcc_no_link = xyes; then
17699 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17700 fi
17701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17702 /* end confdefs.h. */
17703
17704 #ifdef HAVE_COMPLEX_H
17705 #include <complex.h>
17706 #endif
17707 #ifdef HAVE_MATH_H
17708 #include <math.h>
17709 #endif
17710
17711 int (*ptr)() = (int (*)())atan2;
17712
17713 int
17714 main ()
17715 {
17716 return 0;
17717 }
17718
17719 _ACEOF
17720 if ac_fn_c_try_link "$LINENO"; then :
17721 gcc_cv_math_func_atan2=yes
17722 else
17723 gcc_cv_math_func_atan2=no
17724 fi
17725 rm -f core conftest.err conftest.$ac_objext \
17726 conftest$ac_exeext conftest.$ac_ext
17727 fi
17728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17729 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17730 if test $gcc_cv_math_func_atan2 = yes; then
17731
17732 cat >>confdefs.h <<_ACEOF
17733 #define HAVE_ATAN2 1
17734 _ACEOF
17735
17736 fi
17737
17738
17739
17740
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17742 $as_echo_n "checking for atan2l... " >&6; }
17743 if ${gcc_cv_math_func_atan2l+:} false; then :
17744 $as_echo_n "(cached) " >&6
17745 else
17746 if test x$gcc_no_link = xyes; then
17747 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17748 fi
17749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17750 /* end confdefs.h. */
17751
17752 #ifdef HAVE_COMPLEX_H
17753 #include <complex.h>
17754 #endif
17755 #ifdef HAVE_MATH_H
17756 #include <math.h>
17757 #endif
17758
17759 int (*ptr)() = (int (*)())atan2l;
17760
17761 int
17762 main ()
17763 {
17764 return 0;
17765 }
17766
17767 _ACEOF
17768 if ac_fn_c_try_link "$LINENO"; then :
17769 gcc_cv_math_func_atan2l=yes
17770 else
17771 gcc_cv_math_func_atan2l=no
17772 fi
17773 rm -f core conftest.err conftest.$ac_objext \
17774 conftest$ac_exeext conftest.$ac_ext
17775 fi
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17777 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17778 if test $gcc_cv_math_func_atan2l = yes; then
17779
17780 cat >>confdefs.h <<_ACEOF
17781 #define HAVE_ATAN2L 1
17782 _ACEOF
17783
17784 fi
17785
17786
17787
17788
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17790 $as_echo_n "checking for atanf... " >&6; }
17791 if ${gcc_cv_math_func_atanf+:} false; then :
17792 $as_echo_n "(cached) " >&6
17793 else
17794 if test x$gcc_no_link = xyes; then
17795 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17796 fi
17797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17798 /* end confdefs.h. */
17799
17800 #ifdef HAVE_COMPLEX_H
17801 #include <complex.h>
17802 #endif
17803 #ifdef HAVE_MATH_H
17804 #include <math.h>
17805 #endif
17806
17807 int (*ptr)() = (int (*)())atanf;
17808
17809 int
17810 main ()
17811 {
17812 return 0;
17813 }
17814
17815 _ACEOF
17816 if ac_fn_c_try_link "$LINENO"; then :
17817 gcc_cv_math_func_atanf=yes
17818 else
17819 gcc_cv_math_func_atanf=no
17820 fi
17821 rm -f core conftest.err conftest.$ac_objext \
17822 conftest$ac_exeext conftest.$ac_ext
17823 fi
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17825 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17826 if test $gcc_cv_math_func_atanf = yes; then
17827
17828 cat >>confdefs.h <<_ACEOF
17829 #define HAVE_ATANF 1
17830 _ACEOF
17831
17832 fi
17833
17834
17835
17836
17837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17838 $as_echo_n "checking for atan... " >&6; }
17839 if ${gcc_cv_math_func_atan+:} false; then :
17840 $as_echo_n "(cached) " >&6
17841 else
17842 if test x$gcc_no_link = xyes; then
17843 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17844 fi
17845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17846 /* end confdefs.h. */
17847
17848 #ifdef HAVE_COMPLEX_H
17849 #include <complex.h>
17850 #endif
17851 #ifdef HAVE_MATH_H
17852 #include <math.h>
17853 #endif
17854
17855 int (*ptr)() = (int (*)())atan;
17856
17857 int
17858 main ()
17859 {
17860 return 0;
17861 }
17862
17863 _ACEOF
17864 if ac_fn_c_try_link "$LINENO"; then :
17865 gcc_cv_math_func_atan=yes
17866 else
17867 gcc_cv_math_func_atan=no
17868 fi
17869 rm -f core conftest.err conftest.$ac_objext \
17870 conftest$ac_exeext conftest.$ac_ext
17871 fi
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17873 $as_echo "$gcc_cv_math_func_atan" >&6; }
17874 if test $gcc_cv_math_func_atan = yes; then
17875
17876 cat >>confdefs.h <<_ACEOF
17877 #define HAVE_ATAN 1
17878 _ACEOF
17879
17880 fi
17881
17882
17883
17884
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17886 $as_echo_n "checking for atanl... " >&6; }
17887 if ${gcc_cv_math_func_atanl+:} false; then :
17888 $as_echo_n "(cached) " >&6
17889 else
17890 if test x$gcc_no_link = xyes; then
17891 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17892 fi
17893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17894 /* end confdefs.h. */
17895
17896 #ifdef HAVE_COMPLEX_H
17897 #include <complex.h>
17898 #endif
17899 #ifdef HAVE_MATH_H
17900 #include <math.h>
17901 #endif
17902
17903 int (*ptr)() = (int (*)())atanl;
17904
17905 int
17906 main ()
17907 {
17908 return 0;
17909 }
17910
17911 _ACEOF
17912 if ac_fn_c_try_link "$LINENO"; then :
17913 gcc_cv_math_func_atanl=yes
17914 else
17915 gcc_cv_math_func_atanl=no
17916 fi
17917 rm -f core conftest.err conftest.$ac_objext \
17918 conftest$ac_exeext conftest.$ac_ext
17919 fi
17920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17921 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17922 if test $gcc_cv_math_func_atanl = yes; then
17923
17924 cat >>confdefs.h <<_ACEOF
17925 #define HAVE_ATANL 1
17926 _ACEOF
17927
17928 fi
17929
17930
17931
17932
17933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17934 $as_echo_n "checking for atanhf... " >&6; }
17935 if ${gcc_cv_math_func_atanhf+:} false; then :
17936 $as_echo_n "(cached) " >&6
17937 else
17938 if test x$gcc_no_link = xyes; then
17939 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17940 fi
17941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17942 /* end confdefs.h. */
17943
17944 #ifdef HAVE_COMPLEX_H
17945 #include <complex.h>
17946 #endif
17947 #ifdef HAVE_MATH_H
17948 #include <math.h>
17949 #endif
17950
17951 int (*ptr)() = (int (*)())atanhf;
17952
17953 int
17954 main ()
17955 {
17956 return 0;
17957 }
17958
17959 _ACEOF
17960 if ac_fn_c_try_link "$LINENO"; then :
17961 gcc_cv_math_func_atanhf=yes
17962 else
17963 gcc_cv_math_func_atanhf=no
17964 fi
17965 rm -f core conftest.err conftest.$ac_objext \
17966 conftest$ac_exeext conftest.$ac_ext
17967 fi
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17969 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17970 if test $gcc_cv_math_func_atanhf = yes; then
17971
17972 cat >>confdefs.h <<_ACEOF
17973 #define HAVE_ATANHF 1
17974 _ACEOF
17975
17976 fi
17977
17978
17979
17980
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17982 $as_echo_n "checking for atanh... " >&6; }
17983 if ${gcc_cv_math_func_atanh+:} false; then :
17984 $as_echo_n "(cached) " >&6
17985 else
17986 if test x$gcc_no_link = xyes; then
17987 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17988 fi
17989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17990 /* end confdefs.h. */
17991
17992 #ifdef HAVE_COMPLEX_H
17993 #include <complex.h>
17994 #endif
17995 #ifdef HAVE_MATH_H
17996 #include <math.h>
17997 #endif
17998
17999 int (*ptr)() = (int (*)())atanh;
18000
18001 int
18002 main ()
18003 {
18004 return 0;
18005 }
18006
18007 _ACEOF
18008 if ac_fn_c_try_link "$LINENO"; then :
18009 gcc_cv_math_func_atanh=yes
18010 else
18011 gcc_cv_math_func_atanh=no
18012 fi
18013 rm -f core conftest.err conftest.$ac_objext \
18014 conftest$ac_exeext conftest.$ac_ext
18015 fi
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18017 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18018 if test $gcc_cv_math_func_atanh = yes; then
18019
18020 cat >>confdefs.h <<_ACEOF
18021 #define HAVE_ATANH 1
18022 _ACEOF
18023
18024 fi
18025
18026
18027
18028
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18030 $as_echo_n "checking for atanhl... " >&6; }
18031 if ${gcc_cv_math_func_atanhl+:} false; then :
18032 $as_echo_n "(cached) " >&6
18033 else
18034 if test x$gcc_no_link = xyes; then
18035 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18036 fi
18037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18038 /* end confdefs.h. */
18039
18040 #ifdef HAVE_COMPLEX_H
18041 #include <complex.h>
18042 #endif
18043 #ifdef HAVE_MATH_H
18044 #include <math.h>
18045 #endif
18046
18047 int (*ptr)() = (int (*)())atanhl;
18048
18049 int
18050 main ()
18051 {
18052 return 0;
18053 }
18054
18055 _ACEOF
18056 if ac_fn_c_try_link "$LINENO"; then :
18057 gcc_cv_math_func_atanhl=yes
18058 else
18059 gcc_cv_math_func_atanhl=no
18060 fi
18061 rm -f core conftest.err conftest.$ac_objext \
18062 conftest$ac_exeext conftest.$ac_ext
18063 fi
18064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18065 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18066 if test $gcc_cv_math_func_atanhl = yes; then
18067
18068 cat >>confdefs.h <<_ACEOF
18069 #define HAVE_ATANHL 1
18070 _ACEOF
18071
18072 fi
18073
18074
18075
18076
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18078 $as_echo_n "checking for cargf... " >&6; }
18079 if ${gcc_cv_math_func_cargf+:} false; then :
18080 $as_echo_n "(cached) " >&6
18081 else
18082 if test x$gcc_no_link = xyes; then
18083 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18084 fi
18085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18086 /* end confdefs.h. */
18087
18088 #ifdef HAVE_COMPLEX_H
18089 #include <complex.h>
18090 #endif
18091 #ifdef HAVE_MATH_H
18092 #include <math.h>
18093 #endif
18094
18095 int (*ptr)() = (int (*)())cargf;
18096
18097 int
18098 main ()
18099 {
18100 return 0;
18101 }
18102
18103 _ACEOF
18104 if ac_fn_c_try_link "$LINENO"; then :
18105 gcc_cv_math_func_cargf=yes
18106 else
18107 gcc_cv_math_func_cargf=no
18108 fi
18109 rm -f core conftest.err conftest.$ac_objext \
18110 conftest$ac_exeext conftest.$ac_ext
18111 fi
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18113 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18114 if test $gcc_cv_math_func_cargf = yes; then
18115
18116 cat >>confdefs.h <<_ACEOF
18117 #define HAVE_CARGF 1
18118 _ACEOF
18119
18120 fi
18121
18122
18123
18124
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18126 $as_echo_n "checking for carg... " >&6; }
18127 if ${gcc_cv_math_func_carg+:} false; then :
18128 $as_echo_n "(cached) " >&6
18129 else
18130 if test x$gcc_no_link = xyes; then
18131 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18132 fi
18133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18134 /* end confdefs.h. */
18135
18136 #ifdef HAVE_COMPLEX_H
18137 #include <complex.h>
18138 #endif
18139 #ifdef HAVE_MATH_H
18140 #include <math.h>
18141 #endif
18142
18143 int (*ptr)() = (int (*)())carg;
18144
18145 int
18146 main ()
18147 {
18148 return 0;
18149 }
18150
18151 _ACEOF
18152 if ac_fn_c_try_link "$LINENO"; then :
18153 gcc_cv_math_func_carg=yes
18154 else
18155 gcc_cv_math_func_carg=no
18156 fi
18157 rm -f core conftest.err conftest.$ac_objext \
18158 conftest$ac_exeext conftest.$ac_ext
18159 fi
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18161 $as_echo "$gcc_cv_math_func_carg" >&6; }
18162 if test $gcc_cv_math_func_carg = yes; then
18163
18164 cat >>confdefs.h <<_ACEOF
18165 #define HAVE_CARG 1
18166 _ACEOF
18167
18168 fi
18169
18170
18171
18172
18173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18174 $as_echo_n "checking for cargl... " >&6; }
18175 if ${gcc_cv_math_func_cargl+:} false; then :
18176 $as_echo_n "(cached) " >&6
18177 else
18178 if test x$gcc_no_link = xyes; then
18179 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18180 fi
18181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18182 /* end confdefs.h. */
18183
18184 #ifdef HAVE_COMPLEX_H
18185 #include <complex.h>
18186 #endif
18187 #ifdef HAVE_MATH_H
18188 #include <math.h>
18189 #endif
18190
18191 int (*ptr)() = (int (*)())cargl;
18192
18193 int
18194 main ()
18195 {
18196 return 0;
18197 }
18198
18199 _ACEOF
18200 if ac_fn_c_try_link "$LINENO"; then :
18201 gcc_cv_math_func_cargl=yes
18202 else
18203 gcc_cv_math_func_cargl=no
18204 fi
18205 rm -f core conftest.err conftest.$ac_objext \
18206 conftest$ac_exeext conftest.$ac_ext
18207 fi
18208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18209 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18210 if test $gcc_cv_math_func_cargl = yes; then
18211
18212 cat >>confdefs.h <<_ACEOF
18213 #define HAVE_CARGL 1
18214 _ACEOF
18215
18216 fi
18217
18218
18219
18220
18221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18222 $as_echo_n "checking for ceilf... " >&6; }
18223 if ${gcc_cv_math_func_ceilf+:} false; then :
18224 $as_echo_n "(cached) " >&6
18225 else
18226 if test x$gcc_no_link = xyes; then
18227 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18228 fi
18229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18230 /* end confdefs.h. */
18231
18232 #ifdef HAVE_COMPLEX_H
18233 #include <complex.h>
18234 #endif
18235 #ifdef HAVE_MATH_H
18236 #include <math.h>
18237 #endif
18238
18239 int (*ptr)() = (int (*)())ceilf;
18240
18241 int
18242 main ()
18243 {
18244 return 0;
18245 }
18246
18247 _ACEOF
18248 if ac_fn_c_try_link "$LINENO"; then :
18249 gcc_cv_math_func_ceilf=yes
18250 else
18251 gcc_cv_math_func_ceilf=no
18252 fi
18253 rm -f core conftest.err conftest.$ac_objext \
18254 conftest$ac_exeext conftest.$ac_ext
18255 fi
18256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18257 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18258 if test $gcc_cv_math_func_ceilf = yes; then
18259
18260 cat >>confdefs.h <<_ACEOF
18261 #define HAVE_CEILF 1
18262 _ACEOF
18263
18264 fi
18265
18266
18267
18268
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18270 $as_echo_n "checking for ceil... " >&6; }
18271 if ${gcc_cv_math_func_ceil+:} false; then :
18272 $as_echo_n "(cached) " >&6
18273 else
18274 if test x$gcc_no_link = xyes; then
18275 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18276 fi
18277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18278 /* end confdefs.h. */
18279
18280 #ifdef HAVE_COMPLEX_H
18281 #include <complex.h>
18282 #endif
18283 #ifdef HAVE_MATH_H
18284 #include <math.h>
18285 #endif
18286
18287 int (*ptr)() = (int (*)())ceil;
18288
18289 int
18290 main ()
18291 {
18292 return 0;
18293 }
18294
18295 _ACEOF
18296 if ac_fn_c_try_link "$LINENO"; then :
18297 gcc_cv_math_func_ceil=yes
18298 else
18299 gcc_cv_math_func_ceil=no
18300 fi
18301 rm -f core conftest.err conftest.$ac_objext \
18302 conftest$ac_exeext conftest.$ac_ext
18303 fi
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18305 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18306 if test $gcc_cv_math_func_ceil = yes; then
18307
18308 cat >>confdefs.h <<_ACEOF
18309 #define HAVE_CEIL 1
18310 _ACEOF
18311
18312 fi
18313
18314
18315
18316
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18318 $as_echo_n "checking for ceill... " >&6; }
18319 if ${gcc_cv_math_func_ceill+:} false; then :
18320 $as_echo_n "(cached) " >&6
18321 else
18322 if test x$gcc_no_link = xyes; then
18323 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18324 fi
18325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18326 /* end confdefs.h. */
18327
18328 #ifdef HAVE_COMPLEX_H
18329 #include <complex.h>
18330 #endif
18331 #ifdef HAVE_MATH_H
18332 #include <math.h>
18333 #endif
18334
18335 int (*ptr)() = (int (*)())ceill;
18336
18337 int
18338 main ()
18339 {
18340 return 0;
18341 }
18342
18343 _ACEOF
18344 if ac_fn_c_try_link "$LINENO"; then :
18345 gcc_cv_math_func_ceill=yes
18346 else
18347 gcc_cv_math_func_ceill=no
18348 fi
18349 rm -f core conftest.err conftest.$ac_objext \
18350 conftest$ac_exeext conftest.$ac_ext
18351 fi
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18353 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18354 if test $gcc_cv_math_func_ceill = yes; then
18355
18356 cat >>confdefs.h <<_ACEOF
18357 #define HAVE_CEILL 1
18358 _ACEOF
18359
18360 fi
18361
18362
18363
18364
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18366 $as_echo_n "checking for copysignf... " >&6; }
18367 if ${gcc_cv_math_func_copysignf+:} false; then :
18368 $as_echo_n "(cached) " >&6
18369 else
18370 if test x$gcc_no_link = xyes; then
18371 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18372 fi
18373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18374 /* end confdefs.h. */
18375
18376 #ifdef HAVE_COMPLEX_H
18377 #include <complex.h>
18378 #endif
18379 #ifdef HAVE_MATH_H
18380 #include <math.h>
18381 #endif
18382
18383 int (*ptr)() = (int (*)())copysignf;
18384
18385 int
18386 main ()
18387 {
18388 return 0;
18389 }
18390
18391 _ACEOF
18392 if ac_fn_c_try_link "$LINENO"; then :
18393 gcc_cv_math_func_copysignf=yes
18394 else
18395 gcc_cv_math_func_copysignf=no
18396 fi
18397 rm -f core conftest.err conftest.$ac_objext \
18398 conftest$ac_exeext conftest.$ac_ext
18399 fi
18400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18401 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18402 if test $gcc_cv_math_func_copysignf = yes; then
18403
18404 cat >>confdefs.h <<_ACEOF
18405 #define HAVE_COPYSIGNF 1
18406 _ACEOF
18407
18408 fi
18409
18410
18411
18412
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18414 $as_echo_n "checking for copysign... " >&6; }
18415 if ${gcc_cv_math_func_copysign+:} false; then :
18416 $as_echo_n "(cached) " >&6
18417 else
18418 if test x$gcc_no_link = xyes; then
18419 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18420 fi
18421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18422 /* end confdefs.h. */
18423
18424 #ifdef HAVE_COMPLEX_H
18425 #include <complex.h>
18426 #endif
18427 #ifdef HAVE_MATH_H
18428 #include <math.h>
18429 #endif
18430
18431 int (*ptr)() = (int (*)())copysign;
18432
18433 int
18434 main ()
18435 {
18436 return 0;
18437 }
18438
18439 _ACEOF
18440 if ac_fn_c_try_link "$LINENO"; then :
18441 gcc_cv_math_func_copysign=yes
18442 else
18443 gcc_cv_math_func_copysign=no
18444 fi
18445 rm -f core conftest.err conftest.$ac_objext \
18446 conftest$ac_exeext conftest.$ac_ext
18447 fi
18448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18449 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18450 if test $gcc_cv_math_func_copysign = yes; then
18451
18452 cat >>confdefs.h <<_ACEOF
18453 #define HAVE_COPYSIGN 1
18454 _ACEOF
18455
18456 fi
18457
18458
18459
18460
18461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18462 $as_echo_n "checking for copysignl... " >&6; }
18463 if ${gcc_cv_math_func_copysignl+:} false; then :
18464 $as_echo_n "(cached) " >&6
18465 else
18466 if test x$gcc_no_link = xyes; then
18467 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18468 fi
18469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18470 /* end confdefs.h. */
18471
18472 #ifdef HAVE_COMPLEX_H
18473 #include <complex.h>
18474 #endif
18475 #ifdef HAVE_MATH_H
18476 #include <math.h>
18477 #endif
18478
18479 int (*ptr)() = (int (*)())copysignl;
18480
18481 int
18482 main ()
18483 {
18484 return 0;
18485 }
18486
18487 _ACEOF
18488 if ac_fn_c_try_link "$LINENO"; then :
18489 gcc_cv_math_func_copysignl=yes
18490 else
18491 gcc_cv_math_func_copysignl=no
18492 fi
18493 rm -f core conftest.err conftest.$ac_objext \
18494 conftest$ac_exeext conftest.$ac_ext
18495 fi
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18497 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18498 if test $gcc_cv_math_func_copysignl = yes; then
18499
18500 cat >>confdefs.h <<_ACEOF
18501 #define HAVE_COPYSIGNL 1
18502 _ACEOF
18503
18504 fi
18505
18506
18507
18508
18509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18510 $as_echo_n "checking for cosf... " >&6; }
18511 if ${gcc_cv_math_func_cosf+:} false; then :
18512 $as_echo_n "(cached) " >&6
18513 else
18514 if test x$gcc_no_link = xyes; then
18515 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18516 fi
18517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18518 /* end confdefs.h. */
18519
18520 #ifdef HAVE_COMPLEX_H
18521 #include <complex.h>
18522 #endif
18523 #ifdef HAVE_MATH_H
18524 #include <math.h>
18525 #endif
18526
18527 int (*ptr)() = (int (*)())cosf;
18528
18529 int
18530 main ()
18531 {
18532 return 0;
18533 }
18534
18535 _ACEOF
18536 if ac_fn_c_try_link "$LINENO"; then :
18537 gcc_cv_math_func_cosf=yes
18538 else
18539 gcc_cv_math_func_cosf=no
18540 fi
18541 rm -f core conftest.err conftest.$ac_objext \
18542 conftest$ac_exeext conftest.$ac_ext
18543 fi
18544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18545 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18546 if test $gcc_cv_math_func_cosf = yes; then
18547
18548 cat >>confdefs.h <<_ACEOF
18549 #define HAVE_COSF 1
18550 _ACEOF
18551
18552 fi
18553
18554
18555
18556
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18558 $as_echo_n "checking for cos... " >&6; }
18559 if ${gcc_cv_math_func_cos+:} false; then :
18560 $as_echo_n "(cached) " >&6
18561 else
18562 if test x$gcc_no_link = xyes; then
18563 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18564 fi
18565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18566 /* end confdefs.h. */
18567
18568 #ifdef HAVE_COMPLEX_H
18569 #include <complex.h>
18570 #endif
18571 #ifdef HAVE_MATH_H
18572 #include <math.h>
18573 #endif
18574
18575 int (*ptr)() = (int (*)())cos;
18576
18577 int
18578 main ()
18579 {
18580 return 0;
18581 }
18582
18583 _ACEOF
18584 if ac_fn_c_try_link "$LINENO"; then :
18585 gcc_cv_math_func_cos=yes
18586 else
18587 gcc_cv_math_func_cos=no
18588 fi
18589 rm -f core conftest.err conftest.$ac_objext \
18590 conftest$ac_exeext conftest.$ac_ext
18591 fi
18592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18593 $as_echo "$gcc_cv_math_func_cos" >&6; }
18594 if test $gcc_cv_math_func_cos = yes; then
18595
18596 cat >>confdefs.h <<_ACEOF
18597 #define HAVE_COS 1
18598 _ACEOF
18599
18600 fi
18601
18602
18603
18604
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18606 $as_echo_n "checking for cosl... " >&6; }
18607 if ${gcc_cv_math_func_cosl+:} false; then :
18608 $as_echo_n "(cached) " >&6
18609 else
18610 if test x$gcc_no_link = xyes; then
18611 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18612 fi
18613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18614 /* end confdefs.h. */
18615
18616 #ifdef HAVE_COMPLEX_H
18617 #include <complex.h>
18618 #endif
18619 #ifdef HAVE_MATH_H
18620 #include <math.h>
18621 #endif
18622
18623 int (*ptr)() = (int (*)())cosl;
18624
18625 int
18626 main ()
18627 {
18628 return 0;
18629 }
18630
18631 _ACEOF
18632 if ac_fn_c_try_link "$LINENO"; then :
18633 gcc_cv_math_func_cosl=yes
18634 else
18635 gcc_cv_math_func_cosl=no
18636 fi
18637 rm -f core conftest.err conftest.$ac_objext \
18638 conftest$ac_exeext conftest.$ac_ext
18639 fi
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18641 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18642 if test $gcc_cv_math_func_cosl = yes; then
18643
18644 cat >>confdefs.h <<_ACEOF
18645 #define HAVE_COSL 1
18646 _ACEOF
18647
18648 fi
18649
18650
18651
18652
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18654 $as_echo_n "checking for ccosf... " >&6; }
18655 if ${gcc_cv_math_func_ccosf+:} false; then :
18656 $as_echo_n "(cached) " >&6
18657 else
18658 if test x$gcc_no_link = xyes; then
18659 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18660 fi
18661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18662 /* end confdefs.h. */
18663
18664 #ifdef HAVE_COMPLEX_H
18665 #include <complex.h>
18666 #endif
18667 #ifdef HAVE_MATH_H
18668 #include <math.h>
18669 #endif
18670
18671 int (*ptr)() = (int (*)())ccosf;
18672
18673 int
18674 main ()
18675 {
18676 return 0;
18677 }
18678
18679 _ACEOF
18680 if ac_fn_c_try_link "$LINENO"; then :
18681 gcc_cv_math_func_ccosf=yes
18682 else
18683 gcc_cv_math_func_ccosf=no
18684 fi
18685 rm -f core conftest.err conftest.$ac_objext \
18686 conftest$ac_exeext conftest.$ac_ext
18687 fi
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18689 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18690 if test $gcc_cv_math_func_ccosf = yes; then
18691
18692 cat >>confdefs.h <<_ACEOF
18693 #define HAVE_CCOSF 1
18694 _ACEOF
18695
18696 fi
18697
18698
18699
18700
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18702 $as_echo_n "checking for ccos... " >&6; }
18703 if ${gcc_cv_math_func_ccos+:} false; then :
18704 $as_echo_n "(cached) " >&6
18705 else
18706 if test x$gcc_no_link = xyes; then
18707 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18708 fi
18709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18710 /* end confdefs.h. */
18711
18712 #ifdef HAVE_COMPLEX_H
18713 #include <complex.h>
18714 #endif
18715 #ifdef HAVE_MATH_H
18716 #include <math.h>
18717 #endif
18718
18719 int (*ptr)() = (int (*)())ccos;
18720
18721 int
18722 main ()
18723 {
18724 return 0;
18725 }
18726
18727 _ACEOF
18728 if ac_fn_c_try_link "$LINENO"; then :
18729 gcc_cv_math_func_ccos=yes
18730 else
18731 gcc_cv_math_func_ccos=no
18732 fi
18733 rm -f core conftest.err conftest.$ac_objext \
18734 conftest$ac_exeext conftest.$ac_ext
18735 fi
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18737 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18738 if test $gcc_cv_math_func_ccos = yes; then
18739
18740 cat >>confdefs.h <<_ACEOF
18741 #define HAVE_CCOS 1
18742 _ACEOF
18743
18744 fi
18745
18746
18747
18748
18749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18750 $as_echo_n "checking for ccosl... " >&6; }
18751 if ${gcc_cv_math_func_ccosl+:} false; then :
18752 $as_echo_n "(cached) " >&6
18753 else
18754 if test x$gcc_no_link = xyes; then
18755 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18756 fi
18757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18758 /* end confdefs.h. */
18759
18760 #ifdef HAVE_COMPLEX_H
18761 #include <complex.h>
18762 #endif
18763 #ifdef HAVE_MATH_H
18764 #include <math.h>
18765 #endif
18766
18767 int (*ptr)() = (int (*)())ccosl;
18768
18769 int
18770 main ()
18771 {
18772 return 0;
18773 }
18774
18775 _ACEOF
18776 if ac_fn_c_try_link "$LINENO"; then :
18777 gcc_cv_math_func_ccosl=yes
18778 else
18779 gcc_cv_math_func_ccosl=no
18780 fi
18781 rm -f core conftest.err conftest.$ac_objext \
18782 conftest$ac_exeext conftest.$ac_ext
18783 fi
18784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18785 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18786 if test $gcc_cv_math_func_ccosl = yes; then
18787
18788 cat >>confdefs.h <<_ACEOF
18789 #define HAVE_CCOSL 1
18790 _ACEOF
18791
18792 fi
18793
18794
18795
18796
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18798 $as_echo_n "checking for coshf... " >&6; }
18799 if ${gcc_cv_math_func_coshf+:} false; then :
18800 $as_echo_n "(cached) " >&6
18801 else
18802 if test x$gcc_no_link = xyes; then
18803 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18804 fi
18805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18806 /* end confdefs.h. */
18807
18808 #ifdef HAVE_COMPLEX_H
18809 #include <complex.h>
18810 #endif
18811 #ifdef HAVE_MATH_H
18812 #include <math.h>
18813 #endif
18814
18815 int (*ptr)() = (int (*)())coshf;
18816
18817 int
18818 main ()
18819 {
18820 return 0;
18821 }
18822
18823 _ACEOF
18824 if ac_fn_c_try_link "$LINENO"; then :
18825 gcc_cv_math_func_coshf=yes
18826 else
18827 gcc_cv_math_func_coshf=no
18828 fi
18829 rm -f core conftest.err conftest.$ac_objext \
18830 conftest$ac_exeext conftest.$ac_ext
18831 fi
18832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18833 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18834 if test $gcc_cv_math_func_coshf = yes; then
18835
18836 cat >>confdefs.h <<_ACEOF
18837 #define HAVE_COSHF 1
18838 _ACEOF
18839
18840 fi
18841
18842
18843
18844
18845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18846 $as_echo_n "checking for cosh... " >&6; }
18847 if ${gcc_cv_math_func_cosh+:} false; then :
18848 $as_echo_n "(cached) " >&6
18849 else
18850 if test x$gcc_no_link = xyes; then
18851 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18852 fi
18853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18854 /* end confdefs.h. */
18855
18856 #ifdef HAVE_COMPLEX_H
18857 #include <complex.h>
18858 #endif
18859 #ifdef HAVE_MATH_H
18860 #include <math.h>
18861 #endif
18862
18863 int (*ptr)() = (int (*)())cosh;
18864
18865 int
18866 main ()
18867 {
18868 return 0;
18869 }
18870
18871 _ACEOF
18872 if ac_fn_c_try_link "$LINENO"; then :
18873 gcc_cv_math_func_cosh=yes
18874 else
18875 gcc_cv_math_func_cosh=no
18876 fi
18877 rm -f core conftest.err conftest.$ac_objext \
18878 conftest$ac_exeext conftest.$ac_ext
18879 fi
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18881 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18882 if test $gcc_cv_math_func_cosh = yes; then
18883
18884 cat >>confdefs.h <<_ACEOF
18885 #define HAVE_COSH 1
18886 _ACEOF
18887
18888 fi
18889
18890
18891
18892
18893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18894 $as_echo_n "checking for coshl... " >&6; }
18895 if ${gcc_cv_math_func_coshl+:} false; then :
18896 $as_echo_n "(cached) " >&6
18897 else
18898 if test x$gcc_no_link = xyes; then
18899 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18900 fi
18901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18902 /* end confdefs.h. */
18903
18904 #ifdef HAVE_COMPLEX_H
18905 #include <complex.h>
18906 #endif
18907 #ifdef HAVE_MATH_H
18908 #include <math.h>
18909 #endif
18910
18911 int (*ptr)() = (int (*)())coshl;
18912
18913 int
18914 main ()
18915 {
18916 return 0;
18917 }
18918
18919 _ACEOF
18920 if ac_fn_c_try_link "$LINENO"; then :
18921 gcc_cv_math_func_coshl=yes
18922 else
18923 gcc_cv_math_func_coshl=no
18924 fi
18925 rm -f core conftest.err conftest.$ac_objext \
18926 conftest$ac_exeext conftest.$ac_ext
18927 fi
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18929 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18930 if test $gcc_cv_math_func_coshl = yes; then
18931
18932 cat >>confdefs.h <<_ACEOF
18933 #define HAVE_COSHL 1
18934 _ACEOF
18935
18936 fi
18937
18938
18939
18940
18941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18942 $as_echo_n "checking for ccoshf... " >&6; }
18943 if ${gcc_cv_math_func_ccoshf+:} false; then :
18944 $as_echo_n "(cached) " >&6
18945 else
18946 if test x$gcc_no_link = xyes; then
18947 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18948 fi
18949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18950 /* end confdefs.h. */
18951
18952 #ifdef HAVE_COMPLEX_H
18953 #include <complex.h>
18954 #endif
18955 #ifdef HAVE_MATH_H
18956 #include <math.h>
18957 #endif
18958
18959 int (*ptr)() = (int (*)())ccoshf;
18960
18961 int
18962 main ()
18963 {
18964 return 0;
18965 }
18966
18967 _ACEOF
18968 if ac_fn_c_try_link "$LINENO"; then :
18969 gcc_cv_math_func_ccoshf=yes
18970 else
18971 gcc_cv_math_func_ccoshf=no
18972 fi
18973 rm -f core conftest.err conftest.$ac_objext \
18974 conftest$ac_exeext conftest.$ac_ext
18975 fi
18976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18977 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18978 if test $gcc_cv_math_func_ccoshf = yes; then
18979
18980 cat >>confdefs.h <<_ACEOF
18981 #define HAVE_CCOSHF 1
18982 _ACEOF
18983
18984 fi
18985
18986
18987
18988
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18990 $as_echo_n "checking for ccosh... " >&6; }
18991 if ${gcc_cv_math_func_ccosh+:} false; then :
18992 $as_echo_n "(cached) " >&6
18993 else
18994 if test x$gcc_no_link = xyes; then
18995 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18996 fi
18997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18998 /* end confdefs.h. */
18999
19000 #ifdef HAVE_COMPLEX_H
19001 #include <complex.h>
19002 #endif
19003 #ifdef HAVE_MATH_H
19004 #include <math.h>
19005 #endif
19006
19007 int (*ptr)() = (int (*)())ccosh;
19008
19009 int
19010 main ()
19011 {
19012 return 0;
19013 }
19014
19015 _ACEOF
19016 if ac_fn_c_try_link "$LINENO"; then :
19017 gcc_cv_math_func_ccosh=yes
19018 else
19019 gcc_cv_math_func_ccosh=no
19020 fi
19021 rm -f core conftest.err conftest.$ac_objext \
19022 conftest$ac_exeext conftest.$ac_ext
19023 fi
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19025 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19026 if test $gcc_cv_math_func_ccosh = yes; then
19027
19028 cat >>confdefs.h <<_ACEOF
19029 #define HAVE_CCOSH 1
19030 _ACEOF
19031
19032 fi
19033
19034
19035
19036
19037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19038 $as_echo_n "checking for ccoshl... " >&6; }
19039 if ${gcc_cv_math_func_ccoshl+:} false; then :
19040 $as_echo_n "(cached) " >&6
19041 else
19042 if test x$gcc_no_link = xyes; then
19043 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19044 fi
19045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19046 /* end confdefs.h. */
19047
19048 #ifdef HAVE_COMPLEX_H
19049 #include <complex.h>
19050 #endif
19051 #ifdef HAVE_MATH_H
19052 #include <math.h>
19053 #endif
19054
19055 int (*ptr)() = (int (*)())ccoshl;
19056
19057 int
19058 main ()
19059 {
19060 return 0;
19061 }
19062
19063 _ACEOF
19064 if ac_fn_c_try_link "$LINENO"; then :
19065 gcc_cv_math_func_ccoshl=yes
19066 else
19067 gcc_cv_math_func_ccoshl=no
19068 fi
19069 rm -f core conftest.err conftest.$ac_objext \
19070 conftest$ac_exeext conftest.$ac_ext
19071 fi
19072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19073 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19074 if test $gcc_cv_math_func_ccoshl = yes; then
19075
19076 cat >>confdefs.h <<_ACEOF
19077 #define HAVE_CCOSHL 1
19078 _ACEOF
19079
19080 fi
19081
19082
19083
19084
19085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19086 $as_echo_n "checking for expf... " >&6; }
19087 if ${gcc_cv_math_func_expf+:} false; then :
19088 $as_echo_n "(cached) " >&6
19089 else
19090 if test x$gcc_no_link = xyes; then
19091 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19092 fi
19093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19094 /* end confdefs.h. */
19095
19096 #ifdef HAVE_COMPLEX_H
19097 #include <complex.h>
19098 #endif
19099 #ifdef HAVE_MATH_H
19100 #include <math.h>
19101 #endif
19102
19103 int (*ptr)() = (int (*)())expf;
19104
19105 int
19106 main ()
19107 {
19108 return 0;
19109 }
19110
19111 _ACEOF
19112 if ac_fn_c_try_link "$LINENO"; then :
19113 gcc_cv_math_func_expf=yes
19114 else
19115 gcc_cv_math_func_expf=no
19116 fi
19117 rm -f core conftest.err conftest.$ac_objext \
19118 conftest$ac_exeext conftest.$ac_ext
19119 fi
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19121 $as_echo "$gcc_cv_math_func_expf" >&6; }
19122 if test $gcc_cv_math_func_expf = yes; then
19123
19124 cat >>confdefs.h <<_ACEOF
19125 #define HAVE_EXPF 1
19126 _ACEOF
19127
19128 fi
19129
19130
19131
19132
19133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19134 $as_echo_n "checking for exp... " >&6; }
19135 if ${gcc_cv_math_func_exp+:} false; then :
19136 $as_echo_n "(cached) " >&6
19137 else
19138 if test x$gcc_no_link = xyes; then
19139 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19140 fi
19141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19142 /* end confdefs.h. */
19143
19144 #ifdef HAVE_COMPLEX_H
19145 #include <complex.h>
19146 #endif
19147 #ifdef HAVE_MATH_H
19148 #include <math.h>
19149 #endif
19150
19151 int (*ptr)() = (int (*)())exp;
19152
19153 int
19154 main ()
19155 {
19156 return 0;
19157 }
19158
19159 _ACEOF
19160 if ac_fn_c_try_link "$LINENO"; then :
19161 gcc_cv_math_func_exp=yes
19162 else
19163 gcc_cv_math_func_exp=no
19164 fi
19165 rm -f core conftest.err conftest.$ac_objext \
19166 conftest$ac_exeext conftest.$ac_ext
19167 fi
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19169 $as_echo "$gcc_cv_math_func_exp" >&6; }
19170 if test $gcc_cv_math_func_exp = yes; then
19171
19172 cat >>confdefs.h <<_ACEOF
19173 #define HAVE_EXP 1
19174 _ACEOF
19175
19176 fi
19177
19178
19179
19180
19181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19182 $as_echo_n "checking for expl... " >&6; }
19183 if ${gcc_cv_math_func_expl+:} false; then :
19184 $as_echo_n "(cached) " >&6
19185 else
19186 if test x$gcc_no_link = xyes; then
19187 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19188 fi
19189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19190 /* end confdefs.h. */
19191
19192 #ifdef HAVE_COMPLEX_H
19193 #include <complex.h>
19194 #endif
19195 #ifdef HAVE_MATH_H
19196 #include <math.h>
19197 #endif
19198
19199 int (*ptr)() = (int (*)())expl;
19200
19201 int
19202 main ()
19203 {
19204 return 0;
19205 }
19206
19207 _ACEOF
19208 if ac_fn_c_try_link "$LINENO"; then :
19209 gcc_cv_math_func_expl=yes
19210 else
19211 gcc_cv_math_func_expl=no
19212 fi
19213 rm -f core conftest.err conftest.$ac_objext \
19214 conftest$ac_exeext conftest.$ac_ext
19215 fi
19216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19217 $as_echo "$gcc_cv_math_func_expl" >&6; }
19218 if test $gcc_cv_math_func_expl = yes; then
19219
19220 cat >>confdefs.h <<_ACEOF
19221 #define HAVE_EXPL 1
19222 _ACEOF
19223
19224 fi
19225
19226
19227
19228
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19230 $as_echo_n "checking for cexpf... " >&6; }
19231 if ${gcc_cv_math_func_cexpf+:} false; then :
19232 $as_echo_n "(cached) " >&6
19233 else
19234 if test x$gcc_no_link = xyes; then
19235 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19236 fi
19237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19238 /* end confdefs.h. */
19239
19240 #ifdef HAVE_COMPLEX_H
19241 #include <complex.h>
19242 #endif
19243 #ifdef HAVE_MATH_H
19244 #include <math.h>
19245 #endif
19246
19247 int (*ptr)() = (int (*)())cexpf;
19248
19249 int
19250 main ()
19251 {
19252 return 0;
19253 }
19254
19255 _ACEOF
19256 if ac_fn_c_try_link "$LINENO"; then :
19257 gcc_cv_math_func_cexpf=yes
19258 else
19259 gcc_cv_math_func_cexpf=no
19260 fi
19261 rm -f core conftest.err conftest.$ac_objext \
19262 conftest$ac_exeext conftest.$ac_ext
19263 fi
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19265 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19266 if test $gcc_cv_math_func_cexpf = yes; then
19267
19268 cat >>confdefs.h <<_ACEOF
19269 #define HAVE_CEXPF 1
19270 _ACEOF
19271
19272 fi
19273
19274
19275
19276
19277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19278 $as_echo_n "checking for cexp... " >&6; }
19279 if ${gcc_cv_math_func_cexp+:} false; then :
19280 $as_echo_n "(cached) " >&6
19281 else
19282 if test x$gcc_no_link = xyes; then
19283 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19284 fi
19285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19286 /* end confdefs.h. */
19287
19288 #ifdef HAVE_COMPLEX_H
19289 #include <complex.h>
19290 #endif
19291 #ifdef HAVE_MATH_H
19292 #include <math.h>
19293 #endif
19294
19295 int (*ptr)() = (int (*)())cexp;
19296
19297 int
19298 main ()
19299 {
19300 return 0;
19301 }
19302
19303 _ACEOF
19304 if ac_fn_c_try_link "$LINENO"; then :
19305 gcc_cv_math_func_cexp=yes
19306 else
19307 gcc_cv_math_func_cexp=no
19308 fi
19309 rm -f core conftest.err conftest.$ac_objext \
19310 conftest$ac_exeext conftest.$ac_ext
19311 fi
19312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19313 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19314 if test $gcc_cv_math_func_cexp = yes; then
19315
19316 cat >>confdefs.h <<_ACEOF
19317 #define HAVE_CEXP 1
19318 _ACEOF
19319
19320 fi
19321
19322
19323
19324
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19326 $as_echo_n "checking for cexpl... " >&6; }
19327 if ${gcc_cv_math_func_cexpl+:} false; then :
19328 $as_echo_n "(cached) " >&6
19329 else
19330 if test x$gcc_no_link = xyes; then
19331 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19332 fi
19333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19334 /* end confdefs.h. */
19335
19336 #ifdef HAVE_COMPLEX_H
19337 #include <complex.h>
19338 #endif
19339 #ifdef HAVE_MATH_H
19340 #include <math.h>
19341 #endif
19342
19343 int (*ptr)() = (int (*)())cexpl;
19344
19345 int
19346 main ()
19347 {
19348 return 0;
19349 }
19350
19351 _ACEOF
19352 if ac_fn_c_try_link "$LINENO"; then :
19353 gcc_cv_math_func_cexpl=yes
19354 else
19355 gcc_cv_math_func_cexpl=no
19356 fi
19357 rm -f core conftest.err conftest.$ac_objext \
19358 conftest$ac_exeext conftest.$ac_ext
19359 fi
19360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19361 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19362 if test $gcc_cv_math_func_cexpl = yes; then
19363
19364 cat >>confdefs.h <<_ACEOF
19365 #define HAVE_CEXPL 1
19366 _ACEOF
19367
19368 fi
19369
19370
19371
19372
19373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19374 $as_echo_n "checking for fabsf... " >&6; }
19375 if ${gcc_cv_math_func_fabsf+:} false; then :
19376 $as_echo_n "(cached) " >&6
19377 else
19378 if test x$gcc_no_link = xyes; then
19379 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19380 fi
19381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19382 /* end confdefs.h. */
19383
19384 #ifdef HAVE_COMPLEX_H
19385 #include <complex.h>
19386 #endif
19387 #ifdef HAVE_MATH_H
19388 #include <math.h>
19389 #endif
19390
19391 int (*ptr)() = (int (*)())fabsf;
19392
19393 int
19394 main ()
19395 {
19396 return 0;
19397 }
19398
19399 _ACEOF
19400 if ac_fn_c_try_link "$LINENO"; then :
19401 gcc_cv_math_func_fabsf=yes
19402 else
19403 gcc_cv_math_func_fabsf=no
19404 fi
19405 rm -f core conftest.err conftest.$ac_objext \
19406 conftest$ac_exeext conftest.$ac_ext
19407 fi
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19409 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19410 if test $gcc_cv_math_func_fabsf = yes; then
19411
19412 cat >>confdefs.h <<_ACEOF
19413 #define HAVE_FABSF 1
19414 _ACEOF
19415
19416 fi
19417
19418
19419
19420
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19422 $as_echo_n "checking for fabs... " >&6; }
19423 if ${gcc_cv_math_func_fabs+:} false; then :
19424 $as_echo_n "(cached) " >&6
19425 else
19426 if test x$gcc_no_link = xyes; then
19427 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19428 fi
19429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19430 /* end confdefs.h. */
19431
19432 #ifdef HAVE_COMPLEX_H
19433 #include <complex.h>
19434 #endif
19435 #ifdef HAVE_MATH_H
19436 #include <math.h>
19437 #endif
19438
19439 int (*ptr)() = (int (*)())fabs;
19440
19441 int
19442 main ()
19443 {
19444 return 0;
19445 }
19446
19447 _ACEOF
19448 if ac_fn_c_try_link "$LINENO"; then :
19449 gcc_cv_math_func_fabs=yes
19450 else
19451 gcc_cv_math_func_fabs=no
19452 fi
19453 rm -f core conftest.err conftest.$ac_objext \
19454 conftest$ac_exeext conftest.$ac_ext
19455 fi
19456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19457 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19458 if test $gcc_cv_math_func_fabs = yes; then
19459
19460 cat >>confdefs.h <<_ACEOF
19461 #define HAVE_FABS 1
19462 _ACEOF
19463
19464 fi
19465
19466
19467
19468
19469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19470 $as_echo_n "checking for fabsl... " >&6; }
19471 if ${gcc_cv_math_func_fabsl+:} false; then :
19472 $as_echo_n "(cached) " >&6
19473 else
19474 if test x$gcc_no_link = xyes; then
19475 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19476 fi
19477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19478 /* end confdefs.h. */
19479
19480 #ifdef HAVE_COMPLEX_H
19481 #include <complex.h>
19482 #endif
19483 #ifdef HAVE_MATH_H
19484 #include <math.h>
19485 #endif
19486
19487 int (*ptr)() = (int (*)())fabsl;
19488
19489 int
19490 main ()
19491 {
19492 return 0;
19493 }
19494
19495 _ACEOF
19496 if ac_fn_c_try_link "$LINENO"; then :
19497 gcc_cv_math_func_fabsl=yes
19498 else
19499 gcc_cv_math_func_fabsl=no
19500 fi
19501 rm -f core conftest.err conftest.$ac_objext \
19502 conftest$ac_exeext conftest.$ac_ext
19503 fi
19504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19505 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19506 if test $gcc_cv_math_func_fabsl = yes; then
19507
19508 cat >>confdefs.h <<_ACEOF
19509 #define HAVE_FABSL 1
19510 _ACEOF
19511
19512 fi
19513
19514
19515
19516
19517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19518 $as_echo_n "checking for cabsf... " >&6; }
19519 if ${gcc_cv_math_func_cabsf+:} false; then :
19520 $as_echo_n "(cached) " >&6
19521 else
19522 if test x$gcc_no_link = xyes; then
19523 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19524 fi
19525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19526 /* end confdefs.h. */
19527
19528 #ifdef HAVE_COMPLEX_H
19529 #include <complex.h>
19530 #endif
19531 #ifdef HAVE_MATH_H
19532 #include <math.h>
19533 #endif
19534
19535 int (*ptr)() = (int (*)())cabsf;
19536
19537 int
19538 main ()
19539 {
19540 return 0;
19541 }
19542
19543 _ACEOF
19544 if ac_fn_c_try_link "$LINENO"; then :
19545 gcc_cv_math_func_cabsf=yes
19546 else
19547 gcc_cv_math_func_cabsf=no
19548 fi
19549 rm -f core conftest.err conftest.$ac_objext \
19550 conftest$ac_exeext conftest.$ac_ext
19551 fi
19552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19553 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19554 if test $gcc_cv_math_func_cabsf = yes; then
19555
19556 cat >>confdefs.h <<_ACEOF
19557 #define HAVE_CABSF 1
19558 _ACEOF
19559
19560 fi
19561
19562
19563
19564
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19566 $as_echo_n "checking for cabs... " >&6; }
19567 if ${gcc_cv_math_func_cabs+:} false; then :
19568 $as_echo_n "(cached) " >&6
19569 else
19570 if test x$gcc_no_link = xyes; then
19571 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19572 fi
19573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h. */
19575
19576 #ifdef HAVE_COMPLEX_H
19577 #include <complex.h>
19578 #endif
19579 #ifdef HAVE_MATH_H
19580 #include <math.h>
19581 #endif
19582
19583 int (*ptr)() = (int (*)())cabs;
19584
19585 int
19586 main ()
19587 {
19588 return 0;
19589 }
19590
19591 _ACEOF
19592 if ac_fn_c_try_link "$LINENO"; then :
19593 gcc_cv_math_func_cabs=yes
19594 else
19595 gcc_cv_math_func_cabs=no
19596 fi
19597 rm -f core conftest.err conftest.$ac_objext \
19598 conftest$ac_exeext conftest.$ac_ext
19599 fi
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19601 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19602 if test $gcc_cv_math_func_cabs = yes; then
19603
19604 cat >>confdefs.h <<_ACEOF
19605 #define HAVE_CABS 1
19606 _ACEOF
19607
19608 fi
19609
19610
19611
19612
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19614 $as_echo_n "checking for cabsl... " >&6; }
19615 if ${gcc_cv_math_func_cabsl+:} false; then :
19616 $as_echo_n "(cached) " >&6
19617 else
19618 if test x$gcc_no_link = xyes; then
19619 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19620 fi
19621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19622 /* end confdefs.h. */
19623
19624 #ifdef HAVE_COMPLEX_H
19625 #include <complex.h>
19626 #endif
19627 #ifdef HAVE_MATH_H
19628 #include <math.h>
19629 #endif
19630
19631 int (*ptr)() = (int (*)())cabsl;
19632
19633 int
19634 main ()
19635 {
19636 return 0;
19637 }
19638
19639 _ACEOF
19640 if ac_fn_c_try_link "$LINENO"; then :
19641 gcc_cv_math_func_cabsl=yes
19642 else
19643 gcc_cv_math_func_cabsl=no
19644 fi
19645 rm -f core conftest.err conftest.$ac_objext \
19646 conftest$ac_exeext conftest.$ac_ext
19647 fi
19648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19649 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19650 if test $gcc_cv_math_func_cabsl = yes; then
19651
19652 cat >>confdefs.h <<_ACEOF
19653 #define HAVE_CABSL 1
19654 _ACEOF
19655
19656 fi
19657
19658
19659
19660
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19662 $as_echo_n "checking for floorf... " >&6; }
19663 if ${gcc_cv_math_func_floorf+:} false; then :
19664 $as_echo_n "(cached) " >&6
19665 else
19666 if test x$gcc_no_link = xyes; then
19667 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19668 fi
19669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h. */
19671
19672 #ifdef HAVE_COMPLEX_H
19673 #include <complex.h>
19674 #endif
19675 #ifdef HAVE_MATH_H
19676 #include <math.h>
19677 #endif
19678
19679 int (*ptr)() = (int (*)())floorf;
19680
19681 int
19682 main ()
19683 {
19684 return 0;
19685 }
19686
19687 _ACEOF
19688 if ac_fn_c_try_link "$LINENO"; then :
19689 gcc_cv_math_func_floorf=yes
19690 else
19691 gcc_cv_math_func_floorf=no
19692 fi
19693 rm -f core conftest.err conftest.$ac_objext \
19694 conftest$ac_exeext conftest.$ac_ext
19695 fi
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19697 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19698 if test $gcc_cv_math_func_floorf = yes; then
19699
19700 cat >>confdefs.h <<_ACEOF
19701 #define HAVE_FLOORF 1
19702 _ACEOF
19703
19704 fi
19705
19706
19707
19708
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19710 $as_echo_n "checking for floor... " >&6; }
19711 if ${gcc_cv_math_func_floor+:} false; then :
19712 $as_echo_n "(cached) " >&6
19713 else
19714 if test x$gcc_no_link = xyes; then
19715 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19716 fi
19717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19718 /* end confdefs.h. */
19719
19720 #ifdef HAVE_COMPLEX_H
19721 #include <complex.h>
19722 #endif
19723 #ifdef HAVE_MATH_H
19724 #include <math.h>
19725 #endif
19726
19727 int (*ptr)() = (int (*)())floor;
19728
19729 int
19730 main ()
19731 {
19732 return 0;
19733 }
19734
19735 _ACEOF
19736 if ac_fn_c_try_link "$LINENO"; then :
19737 gcc_cv_math_func_floor=yes
19738 else
19739 gcc_cv_math_func_floor=no
19740 fi
19741 rm -f core conftest.err conftest.$ac_objext \
19742 conftest$ac_exeext conftest.$ac_ext
19743 fi
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19745 $as_echo "$gcc_cv_math_func_floor" >&6; }
19746 if test $gcc_cv_math_func_floor = yes; then
19747
19748 cat >>confdefs.h <<_ACEOF
19749 #define HAVE_FLOOR 1
19750 _ACEOF
19751
19752 fi
19753
19754
19755
19756
19757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19758 $as_echo_n "checking for floorl... " >&6; }
19759 if ${gcc_cv_math_func_floorl+:} false; then :
19760 $as_echo_n "(cached) " >&6
19761 else
19762 if test x$gcc_no_link = xyes; then
19763 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19764 fi
19765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19766 /* end confdefs.h. */
19767
19768 #ifdef HAVE_COMPLEX_H
19769 #include <complex.h>
19770 #endif
19771 #ifdef HAVE_MATH_H
19772 #include <math.h>
19773 #endif
19774
19775 int (*ptr)() = (int (*)())floorl;
19776
19777 int
19778 main ()
19779 {
19780 return 0;
19781 }
19782
19783 _ACEOF
19784 if ac_fn_c_try_link "$LINENO"; then :
19785 gcc_cv_math_func_floorl=yes
19786 else
19787 gcc_cv_math_func_floorl=no
19788 fi
19789 rm -f core conftest.err conftest.$ac_objext \
19790 conftest$ac_exeext conftest.$ac_ext
19791 fi
19792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19793 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19794 if test $gcc_cv_math_func_floorl = yes; then
19795
19796 cat >>confdefs.h <<_ACEOF
19797 #define HAVE_FLOORL 1
19798 _ACEOF
19799
19800 fi
19801
19802
19803
19804
19805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19806 $as_echo_n "checking for fmodf... " >&6; }
19807 if ${gcc_cv_math_func_fmodf+:} false; then :
19808 $as_echo_n "(cached) " >&6
19809 else
19810 if test x$gcc_no_link = xyes; then
19811 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19812 fi
19813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19814 /* end confdefs.h. */
19815
19816 #ifdef HAVE_COMPLEX_H
19817 #include <complex.h>
19818 #endif
19819 #ifdef HAVE_MATH_H
19820 #include <math.h>
19821 #endif
19822
19823 int (*ptr)() = (int (*)())fmodf;
19824
19825 int
19826 main ()
19827 {
19828 return 0;
19829 }
19830
19831 _ACEOF
19832 if ac_fn_c_try_link "$LINENO"; then :
19833 gcc_cv_math_func_fmodf=yes
19834 else
19835 gcc_cv_math_func_fmodf=no
19836 fi
19837 rm -f core conftest.err conftest.$ac_objext \
19838 conftest$ac_exeext conftest.$ac_ext
19839 fi
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19841 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19842 if test $gcc_cv_math_func_fmodf = yes; then
19843
19844 cat >>confdefs.h <<_ACEOF
19845 #define HAVE_FMODF 1
19846 _ACEOF
19847
19848 fi
19849
19850
19851
19852
19853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19854 $as_echo_n "checking for fmod... " >&6; }
19855 if ${gcc_cv_math_func_fmod+:} false; then :
19856 $as_echo_n "(cached) " >&6
19857 else
19858 if test x$gcc_no_link = xyes; then
19859 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19860 fi
19861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19862 /* end confdefs.h. */
19863
19864 #ifdef HAVE_COMPLEX_H
19865 #include <complex.h>
19866 #endif
19867 #ifdef HAVE_MATH_H
19868 #include <math.h>
19869 #endif
19870
19871 int (*ptr)() = (int (*)())fmod;
19872
19873 int
19874 main ()
19875 {
19876 return 0;
19877 }
19878
19879 _ACEOF
19880 if ac_fn_c_try_link "$LINENO"; then :
19881 gcc_cv_math_func_fmod=yes
19882 else
19883 gcc_cv_math_func_fmod=no
19884 fi
19885 rm -f core conftest.err conftest.$ac_objext \
19886 conftest$ac_exeext conftest.$ac_ext
19887 fi
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19889 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19890 if test $gcc_cv_math_func_fmod = yes; then
19891
19892 cat >>confdefs.h <<_ACEOF
19893 #define HAVE_FMOD 1
19894 _ACEOF
19895
19896 fi
19897
19898
19899
19900
19901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19902 $as_echo_n "checking for fmodl... " >&6; }
19903 if ${gcc_cv_math_func_fmodl+:} false; then :
19904 $as_echo_n "(cached) " >&6
19905 else
19906 if test x$gcc_no_link = xyes; then
19907 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19908 fi
19909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19910 /* end confdefs.h. */
19911
19912 #ifdef HAVE_COMPLEX_H
19913 #include <complex.h>
19914 #endif
19915 #ifdef HAVE_MATH_H
19916 #include <math.h>
19917 #endif
19918
19919 int (*ptr)() = (int (*)())fmodl;
19920
19921 int
19922 main ()
19923 {
19924 return 0;
19925 }
19926
19927 _ACEOF
19928 if ac_fn_c_try_link "$LINENO"; then :
19929 gcc_cv_math_func_fmodl=yes
19930 else
19931 gcc_cv_math_func_fmodl=no
19932 fi
19933 rm -f core conftest.err conftest.$ac_objext \
19934 conftest$ac_exeext conftest.$ac_ext
19935 fi
19936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19937 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19938 if test $gcc_cv_math_func_fmodl = yes; then
19939
19940 cat >>confdefs.h <<_ACEOF
19941 #define HAVE_FMODL 1
19942 _ACEOF
19943
19944 fi
19945
19946
19947
19948
19949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19950 $as_echo_n "checking for frexpf... " >&6; }
19951 if ${gcc_cv_math_func_frexpf+:} false; then :
19952 $as_echo_n "(cached) " >&6
19953 else
19954 if test x$gcc_no_link = xyes; then
19955 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19956 fi
19957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19958 /* end confdefs.h. */
19959
19960 #ifdef HAVE_COMPLEX_H
19961 #include <complex.h>
19962 #endif
19963 #ifdef HAVE_MATH_H
19964 #include <math.h>
19965 #endif
19966
19967 int (*ptr)() = (int (*)())frexpf;
19968
19969 int
19970 main ()
19971 {
19972 return 0;
19973 }
19974
19975 _ACEOF
19976 if ac_fn_c_try_link "$LINENO"; then :
19977 gcc_cv_math_func_frexpf=yes
19978 else
19979 gcc_cv_math_func_frexpf=no
19980 fi
19981 rm -f core conftest.err conftest.$ac_objext \
19982 conftest$ac_exeext conftest.$ac_ext
19983 fi
19984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19985 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19986 if test $gcc_cv_math_func_frexpf = yes; then
19987
19988 cat >>confdefs.h <<_ACEOF
19989 #define HAVE_FREXPF 1
19990 _ACEOF
19991
19992 fi
19993
19994
19995
19996
19997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19998 $as_echo_n "checking for frexp... " >&6; }
19999 if ${gcc_cv_math_func_frexp+:} false; then :
20000 $as_echo_n "(cached) " >&6
20001 else
20002 if test x$gcc_no_link = xyes; then
20003 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20004 fi
20005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20006 /* end confdefs.h. */
20007
20008 #ifdef HAVE_COMPLEX_H
20009 #include <complex.h>
20010 #endif
20011 #ifdef HAVE_MATH_H
20012 #include <math.h>
20013 #endif
20014
20015 int (*ptr)() = (int (*)())frexp;
20016
20017 int
20018 main ()
20019 {
20020 return 0;
20021 }
20022
20023 _ACEOF
20024 if ac_fn_c_try_link "$LINENO"; then :
20025 gcc_cv_math_func_frexp=yes
20026 else
20027 gcc_cv_math_func_frexp=no
20028 fi
20029 rm -f core conftest.err conftest.$ac_objext \
20030 conftest$ac_exeext conftest.$ac_ext
20031 fi
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20033 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20034 if test $gcc_cv_math_func_frexp = yes; then
20035
20036 cat >>confdefs.h <<_ACEOF
20037 #define HAVE_FREXP 1
20038 _ACEOF
20039
20040 fi
20041
20042
20043
20044
20045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20046 $as_echo_n "checking for frexpl... " >&6; }
20047 if ${gcc_cv_math_func_frexpl+:} false; then :
20048 $as_echo_n "(cached) " >&6
20049 else
20050 if test x$gcc_no_link = xyes; then
20051 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20052 fi
20053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20054 /* end confdefs.h. */
20055
20056 #ifdef HAVE_COMPLEX_H
20057 #include <complex.h>
20058 #endif
20059 #ifdef HAVE_MATH_H
20060 #include <math.h>
20061 #endif
20062
20063 int (*ptr)() = (int (*)())frexpl;
20064
20065 int
20066 main ()
20067 {
20068 return 0;
20069 }
20070
20071 _ACEOF
20072 if ac_fn_c_try_link "$LINENO"; then :
20073 gcc_cv_math_func_frexpl=yes
20074 else
20075 gcc_cv_math_func_frexpl=no
20076 fi
20077 rm -f core conftest.err conftest.$ac_objext \
20078 conftest$ac_exeext conftest.$ac_ext
20079 fi
20080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20081 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20082 if test $gcc_cv_math_func_frexpl = yes; then
20083
20084 cat >>confdefs.h <<_ACEOF
20085 #define HAVE_FREXPL 1
20086 _ACEOF
20087
20088 fi
20089
20090
20091
20092
20093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20094 $as_echo_n "checking for hypotf... " >&6; }
20095 if ${gcc_cv_math_func_hypotf+:} false; then :
20096 $as_echo_n "(cached) " >&6
20097 else
20098 if test x$gcc_no_link = xyes; then
20099 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20100 fi
20101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20102 /* end confdefs.h. */
20103
20104 #ifdef HAVE_COMPLEX_H
20105 #include <complex.h>
20106 #endif
20107 #ifdef HAVE_MATH_H
20108 #include <math.h>
20109 #endif
20110
20111 int (*ptr)() = (int (*)())hypotf;
20112
20113 int
20114 main ()
20115 {
20116 return 0;
20117 }
20118
20119 _ACEOF
20120 if ac_fn_c_try_link "$LINENO"; then :
20121 gcc_cv_math_func_hypotf=yes
20122 else
20123 gcc_cv_math_func_hypotf=no
20124 fi
20125 rm -f core conftest.err conftest.$ac_objext \
20126 conftest$ac_exeext conftest.$ac_ext
20127 fi
20128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20129 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20130 if test $gcc_cv_math_func_hypotf = yes; then
20131
20132 cat >>confdefs.h <<_ACEOF
20133 #define HAVE_HYPOTF 1
20134 _ACEOF
20135
20136 fi
20137
20138
20139
20140
20141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20142 $as_echo_n "checking for hypot... " >&6; }
20143 if ${gcc_cv_math_func_hypot+:} false; then :
20144 $as_echo_n "(cached) " >&6
20145 else
20146 if test x$gcc_no_link = xyes; then
20147 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20148 fi
20149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20150 /* end confdefs.h. */
20151
20152 #ifdef HAVE_COMPLEX_H
20153 #include <complex.h>
20154 #endif
20155 #ifdef HAVE_MATH_H
20156 #include <math.h>
20157 #endif
20158
20159 int (*ptr)() = (int (*)())hypot;
20160
20161 int
20162 main ()
20163 {
20164 return 0;
20165 }
20166
20167 _ACEOF
20168 if ac_fn_c_try_link "$LINENO"; then :
20169 gcc_cv_math_func_hypot=yes
20170 else
20171 gcc_cv_math_func_hypot=no
20172 fi
20173 rm -f core conftest.err conftest.$ac_objext \
20174 conftest$ac_exeext conftest.$ac_ext
20175 fi
20176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20177 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20178 if test $gcc_cv_math_func_hypot = yes; then
20179
20180 cat >>confdefs.h <<_ACEOF
20181 #define HAVE_HYPOT 1
20182 _ACEOF
20183
20184 fi
20185
20186
20187
20188
20189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20190 $as_echo_n "checking for hypotl... " >&6; }
20191 if ${gcc_cv_math_func_hypotl+:} false; then :
20192 $as_echo_n "(cached) " >&6
20193 else
20194 if test x$gcc_no_link = xyes; then
20195 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20196 fi
20197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20198 /* end confdefs.h. */
20199
20200 #ifdef HAVE_COMPLEX_H
20201 #include <complex.h>
20202 #endif
20203 #ifdef HAVE_MATH_H
20204 #include <math.h>
20205 #endif
20206
20207 int (*ptr)() = (int (*)())hypotl;
20208
20209 int
20210 main ()
20211 {
20212 return 0;
20213 }
20214
20215 _ACEOF
20216 if ac_fn_c_try_link "$LINENO"; then :
20217 gcc_cv_math_func_hypotl=yes
20218 else
20219 gcc_cv_math_func_hypotl=no
20220 fi
20221 rm -f core conftest.err conftest.$ac_objext \
20222 conftest$ac_exeext conftest.$ac_ext
20223 fi
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20225 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20226 if test $gcc_cv_math_func_hypotl = yes; then
20227
20228 cat >>confdefs.h <<_ACEOF
20229 #define HAVE_HYPOTL 1
20230 _ACEOF
20231
20232 fi
20233
20234
20235
20236
20237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20238 $as_echo_n "checking for ldexpf... " >&6; }
20239 if ${gcc_cv_math_func_ldexpf+:} false; then :
20240 $as_echo_n "(cached) " >&6
20241 else
20242 if test x$gcc_no_link = xyes; then
20243 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20244 fi
20245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20246 /* end confdefs.h. */
20247
20248 #ifdef HAVE_COMPLEX_H
20249 #include <complex.h>
20250 #endif
20251 #ifdef HAVE_MATH_H
20252 #include <math.h>
20253 #endif
20254
20255 int (*ptr)() = (int (*)())ldexpf;
20256
20257 int
20258 main ()
20259 {
20260 return 0;
20261 }
20262
20263 _ACEOF
20264 if ac_fn_c_try_link "$LINENO"; then :
20265 gcc_cv_math_func_ldexpf=yes
20266 else
20267 gcc_cv_math_func_ldexpf=no
20268 fi
20269 rm -f core conftest.err conftest.$ac_objext \
20270 conftest$ac_exeext conftest.$ac_ext
20271 fi
20272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20273 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20274 if test $gcc_cv_math_func_ldexpf = yes; then
20275
20276 cat >>confdefs.h <<_ACEOF
20277 #define HAVE_LDEXPF 1
20278 _ACEOF
20279
20280 fi
20281
20282
20283
20284
20285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20286 $as_echo_n "checking for ldexp... " >&6; }
20287 if ${gcc_cv_math_func_ldexp+:} false; then :
20288 $as_echo_n "(cached) " >&6
20289 else
20290 if test x$gcc_no_link = xyes; then
20291 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20292 fi
20293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20294 /* end confdefs.h. */
20295
20296 #ifdef HAVE_COMPLEX_H
20297 #include <complex.h>
20298 #endif
20299 #ifdef HAVE_MATH_H
20300 #include <math.h>
20301 #endif
20302
20303 int (*ptr)() = (int (*)())ldexp;
20304
20305 int
20306 main ()
20307 {
20308 return 0;
20309 }
20310
20311 _ACEOF
20312 if ac_fn_c_try_link "$LINENO"; then :
20313 gcc_cv_math_func_ldexp=yes
20314 else
20315 gcc_cv_math_func_ldexp=no
20316 fi
20317 rm -f core conftest.err conftest.$ac_objext \
20318 conftest$ac_exeext conftest.$ac_ext
20319 fi
20320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20321 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20322 if test $gcc_cv_math_func_ldexp = yes; then
20323
20324 cat >>confdefs.h <<_ACEOF
20325 #define HAVE_LDEXP 1
20326 _ACEOF
20327
20328 fi
20329
20330
20331
20332
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20334 $as_echo_n "checking for ldexpl... " >&6; }
20335 if ${gcc_cv_math_func_ldexpl+:} false; then :
20336 $as_echo_n "(cached) " >&6
20337 else
20338 if test x$gcc_no_link = xyes; then
20339 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20340 fi
20341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20342 /* end confdefs.h. */
20343
20344 #ifdef HAVE_COMPLEX_H
20345 #include <complex.h>
20346 #endif
20347 #ifdef HAVE_MATH_H
20348 #include <math.h>
20349 #endif
20350
20351 int (*ptr)() = (int (*)())ldexpl;
20352
20353 int
20354 main ()
20355 {
20356 return 0;
20357 }
20358
20359 _ACEOF
20360 if ac_fn_c_try_link "$LINENO"; then :
20361 gcc_cv_math_func_ldexpl=yes
20362 else
20363 gcc_cv_math_func_ldexpl=no
20364 fi
20365 rm -f core conftest.err conftest.$ac_objext \
20366 conftest$ac_exeext conftest.$ac_ext
20367 fi
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20369 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20370 if test $gcc_cv_math_func_ldexpl = yes; then
20371
20372 cat >>confdefs.h <<_ACEOF
20373 #define HAVE_LDEXPL 1
20374 _ACEOF
20375
20376 fi
20377
20378
20379
20380
20381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20382 $as_echo_n "checking for logf... " >&6; }
20383 if ${gcc_cv_math_func_logf+:} false; then :
20384 $as_echo_n "(cached) " >&6
20385 else
20386 if test x$gcc_no_link = xyes; then
20387 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20388 fi
20389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20390 /* end confdefs.h. */
20391
20392 #ifdef HAVE_COMPLEX_H
20393 #include <complex.h>
20394 #endif
20395 #ifdef HAVE_MATH_H
20396 #include <math.h>
20397 #endif
20398
20399 int (*ptr)() = (int (*)())logf;
20400
20401 int
20402 main ()
20403 {
20404 return 0;
20405 }
20406
20407 _ACEOF
20408 if ac_fn_c_try_link "$LINENO"; then :
20409 gcc_cv_math_func_logf=yes
20410 else
20411 gcc_cv_math_func_logf=no
20412 fi
20413 rm -f core conftest.err conftest.$ac_objext \
20414 conftest$ac_exeext conftest.$ac_ext
20415 fi
20416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20417 $as_echo "$gcc_cv_math_func_logf" >&6; }
20418 if test $gcc_cv_math_func_logf = yes; then
20419
20420 cat >>confdefs.h <<_ACEOF
20421 #define HAVE_LOGF 1
20422 _ACEOF
20423
20424 fi
20425
20426
20427
20428
20429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20430 $as_echo_n "checking for log... " >&6; }
20431 if ${gcc_cv_math_func_log+:} false; then :
20432 $as_echo_n "(cached) " >&6
20433 else
20434 if test x$gcc_no_link = xyes; then
20435 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20436 fi
20437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20438 /* end confdefs.h. */
20439
20440 #ifdef HAVE_COMPLEX_H
20441 #include <complex.h>
20442 #endif
20443 #ifdef HAVE_MATH_H
20444 #include <math.h>
20445 #endif
20446
20447 int (*ptr)() = (int (*)())log;
20448
20449 int
20450 main ()
20451 {
20452 return 0;
20453 }
20454
20455 _ACEOF
20456 if ac_fn_c_try_link "$LINENO"; then :
20457 gcc_cv_math_func_log=yes
20458 else
20459 gcc_cv_math_func_log=no
20460 fi
20461 rm -f core conftest.err conftest.$ac_objext \
20462 conftest$ac_exeext conftest.$ac_ext
20463 fi
20464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20465 $as_echo "$gcc_cv_math_func_log" >&6; }
20466 if test $gcc_cv_math_func_log = yes; then
20467
20468 cat >>confdefs.h <<_ACEOF
20469 #define HAVE_LOG 1
20470 _ACEOF
20471
20472 fi
20473
20474
20475
20476
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20478 $as_echo_n "checking for logl... " >&6; }
20479 if ${gcc_cv_math_func_logl+:} false; then :
20480 $as_echo_n "(cached) " >&6
20481 else
20482 if test x$gcc_no_link = xyes; then
20483 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20484 fi
20485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20486 /* end confdefs.h. */
20487
20488 #ifdef HAVE_COMPLEX_H
20489 #include <complex.h>
20490 #endif
20491 #ifdef HAVE_MATH_H
20492 #include <math.h>
20493 #endif
20494
20495 int (*ptr)() = (int (*)())logl;
20496
20497 int
20498 main ()
20499 {
20500 return 0;
20501 }
20502
20503 _ACEOF
20504 if ac_fn_c_try_link "$LINENO"; then :
20505 gcc_cv_math_func_logl=yes
20506 else
20507 gcc_cv_math_func_logl=no
20508 fi
20509 rm -f core conftest.err conftest.$ac_objext \
20510 conftest$ac_exeext conftest.$ac_ext
20511 fi
20512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20513 $as_echo "$gcc_cv_math_func_logl" >&6; }
20514 if test $gcc_cv_math_func_logl = yes; then
20515
20516 cat >>confdefs.h <<_ACEOF
20517 #define HAVE_LOGL 1
20518 _ACEOF
20519
20520 fi
20521
20522
20523
20524
20525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20526 $as_echo_n "checking for clogf... " >&6; }
20527 if ${gcc_cv_math_func_clogf+:} false; then :
20528 $as_echo_n "(cached) " >&6
20529 else
20530 if test x$gcc_no_link = xyes; then
20531 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20532 fi
20533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20534 /* end confdefs.h. */
20535
20536 #ifdef HAVE_COMPLEX_H
20537 #include <complex.h>
20538 #endif
20539 #ifdef HAVE_MATH_H
20540 #include <math.h>
20541 #endif
20542
20543 int (*ptr)() = (int (*)())clogf;
20544
20545 int
20546 main ()
20547 {
20548 return 0;
20549 }
20550
20551 _ACEOF
20552 if ac_fn_c_try_link "$LINENO"; then :
20553 gcc_cv_math_func_clogf=yes
20554 else
20555 gcc_cv_math_func_clogf=no
20556 fi
20557 rm -f core conftest.err conftest.$ac_objext \
20558 conftest$ac_exeext conftest.$ac_ext
20559 fi
20560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20561 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20562 if test $gcc_cv_math_func_clogf = yes; then
20563
20564 cat >>confdefs.h <<_ACEOF
20565 #define HAVE_CLOGF 1
20566 _ACEOF
20567
20568 fi
20569
20570
20571
20572
20573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20574 $as_echo_n "checking for clog... " >&6; }
20575 if ${gcc_cv_math_func_clog+:} false; then :
20576 $as_echo_n "(cached) " >&6
20577 else
20578 if test x$gcc_no_link = xyes; then
20579 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20580 fi
20581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20582 /* end confdefs.h. */
20583
20584 #ifdef HAVE_COMPLEX_H
20585 #include <complex.h>
20586 #endif
20587 #ifdef HAVE_MATH_H
20588 #include <math.h>
20589 #endif
20590
20591 int (*ptr)() = (int (*)())clog;
20592
20593 int
20594 main ()
20595 {
20596 return 0;
20597 }
20598
20599 _ACEOF
20600 if ac_fn_c_try_link "$LINENO"; then :
20601 gcc_cv_math_func_clog=yes
20602 else
20603 gcc_cv_math_func_clog=no
20604 fi
20605 rm -f core conftest.err conftest.$ac_objext \
20606 conftest$ac_exeext conftest.$ac_ext
20607 fi
20608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20609 $as_echo "$gcc_cv_math_func_clog" >&6; }
20610 if test $gcc_cv_math_func_clog = yes; then
20611
20612 cat >>confdefs.h <<_ACEOF
20613 #define HAVE_CLOG 1
20614 _ACEOF
20615
20616 fi
20617
20618
20619
20620
20621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20622 $as_echo_n "checking for clogl... " >&6; }
20623 if ${gcc_cv_math_func_clogl+:} false; then :
20624 $as_echo_n "(cached) " >&6
20625 else
20626 if test x$gcc_no_link = xyes; then
20627 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20628 fi
20629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20630 /* end confdefs.h. */
20631
20632 #ifdef HAVE_COMPLEX_H
20633 #include <complex.h>
20634 #endif
20635 #ifdef HAVE_MATH_H
20636 #include <math.h>
20637 #endif
20638
20639 int (*ptr)() = (int (*)())clogl;
20640
20641 int
20642 main ()
20643 {
20644 return 0;
20645 }
20646
20647 _ACEOF
20648 if ac_fn_c_try_link "$LINENO"; then :
20649 gcc_cv_math_func_clogl=yes
20650 else
20651 gcc_cv_math_func_clogl=no
20652 fi
20653 rm -f core conftest.err conftest.$ac_objext \
20654 conftest$ac_exeext conftest.$ac_ext
20655 fi
20656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20657 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20658 if test $gcc_cv_math_func_clogl = yes; then
20659
20660 cat >>confdefs.h <<_ACEOF
20661 #define HAVE_CLOGL 1
20662 _ACEOF
20663
20664 fi
20665
20666
20667
20668
20669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20670 $as_echo_n "checking for log10f... " >&6; }
20671 if ${gcc_cv_math_func_log10f+:} false; then :
20672 $as_echo_n "(cached) " >&6
20673 else
20674 if test x$gcc_no_link = xyes; then
20675 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20676 fi
20677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20678 /* end confdefs.h. */
20679
20680 #ifdef HAVE_COMPLEX_H
20681 #include <complex.h>
20682 #endif
20683 #ifdef HAVE_MATH_H
20684 #include <math.h>
20685 #endif
20686
20687 int (*ptr)() = (int (*)())log10f;
20688
20689 int
20690 main ()
20691 {
20692 return 0;
20693 }
20694
20695 _ACEOF
20696 if ac_fn_c_try_link "$LINENO"; then :
20697 gcc_cv_math_func_log10f=yes
20698 else
20699 gcc_cv_math_func_log10f=no
20700 fi
20701 rm -f core conftest.err conftest.$ac_objext \
20702 conftest$ac_exeext conftest.$ac_ext
20703 fi
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20705 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20706 if test $gcc_cv_math_func_log10f = yes; then
20707
20708 cat >>confdefs.h <<_ACEOF
20709 #define HAVE_LOG10F 1
20710 _ACEOF
20711
20712 fi
20713
20714
20715
20716
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20718 $as_echo_n "checking for log10... " >&6; }
20719 if ${gcc_cv_math_func_log10+:} false; then :
20720 $as_echo_n "(cached) " >&6
20721 else
20722 if test x$gcc_no_link = xyes; then
20723 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20724 fi
20725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20726 /* end confdefs.h. */
20727
20728 #ifdef HAVE_COMPLEX_H
20729 #include <complex.h>
20730 #endif
20731 #ifdef HAVE_MATH_H
20732 #include <math.h>
20733 #endif
20734
20735 int (*ptr)() = (int (*)())log10;
20736
20737 int
20738 main ()
20739 {
20740 return 0;
20741 }
20742
20743 _ACEOF
20744 if ac_fn_c_try_link "$LINENO"; then :
20745 gcc_cv_math_func_log10=yes
20746 else
20747 gcc_cv_math_func_log10=no
20748 fi
20749 rm -f core conftest.err conftest.$ac_objext \
20750 conftest$ac_exeext conftest.$ac_ext
20751 fi
20752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20753 $as_echo "$gcc_cv_math_func_log10" >&6; }
20754 if test $gcc_cv_math_func_log10 = yes; then
20755
20756 cat >>confdefs.h <<_ACEOF
20757 #define HAVE_LOG10 1
20758 _ACEOF
20759
20760 fi
20761
20762
20763
20764
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20766 $as_echo_n "checking for log10l... " >&6; }
20767 if ${gcc_cv_math_func_log10l+:} false; then :
20768 $as_echo_n "(cached) " >&6
20769 else
20770 if test x$gcc_no_link = xyes; then
20771 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20772 fi
20773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20774 /* end confdefs.h. */
20775
20776 #ifdef HAVE_COMPLEX_H
20777 #include <complex.h>
20778 #endif
20779 #ifdef HAVE_MATH_H
20780 #include <math.h>
20781 #endif
20782
20783 int (*ptr)() = (int (*)())log10l;
20784
20785 int
20786 main ()
20787 {
20788 return 0;
20789 }
20790
20791 _ACEOF
20792 if ac_fn_c_try_link "$LINENO"; then :
20793 gcc_cv_math_func_log10l=yes
20794 else
20795 gcc_cv_math_func_log10l=no
20796 fi
20797 rm -f core conftest.err conftest.$ac_objext \
20798 conftest$ac_exeext conftest.$ac_ext
20799 fi
20800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20801 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20802 if test $gcc_cv_math_func_log10l = yes; then
20803
20804 cat >>confdefs.h <<_ACEOF
20805 #define HAVE_LOG10L 1
20806 _ACEOF
20807
20808 fi
20809
20810
20811
20812
20813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20814 $as_echo_n "checking for clog10f... " >&6; }
20815 if ${gcc_cv_math_func_clog10f+:} false; then :
20816 $as_echo_n "(cached) " >&6
20817 else
20818 if test x$gcc_no_link = xyes; then
20819 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20820 fi
20821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20822 /* end confdefs.h. */
20823
20824 #ifdef HAVE_COMPLEX_H
20825 #include <complex.h>
20826 #endif
20827 #ifdef HAVE_MATH_H
20828 #include <math.h>
20829 #endif
20830
20831 int (*ptr)() = (int (*)())clog10f;
20832
20833 int
20834 main ()
20835 {
20836 return 0;
20837 }
20838
20839 _ACEOF
20840 if ac_fn_c_try_link "$LINENO"; then :
20841 gcc_cv_math_func_clog10f=yes
20842 else
20843 gcc_cv_math_func_clog10f=no
20844 fi
20845 rm -f core conftest.err conftest.$ac_objext \
20846 conftest$ac_exeext conftest.$ac_ext
20847 fi
20848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20849 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20850 if test $gcc_cv_math_func_clog10f = yes; then
20851
20852 cat >>confdefs.h <<_ACEOF
20853 #define HAVE_CLOG10F 1
20854 _ACEOF
20855
20856 fi
20857
20858
20859
20860
20861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20862 $as_echo_n "checking for clog10... " >&6; }
20863 if ${gcc_cv_math_func_clog10+:} false; then :
20864 $as_echo_n "(cached) " >&6
20865 else
20866 if test x$gcc_no_link = xyes; then
20867 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20868 fi
20869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20870 /* end confdefs.h. */
20871
20872 #ifdef HAVE_COMPLEX_H
20873 #include <complex.h>
20874 #endif
20875 #ifdef HAVE_MATH_H
20876 #include <math.h>
20877 #endif
20878
20879 int (*ptr)() = (int (*)())clog10;
20880
20881 int
20882 main ()
20883 {
20884 return 0;
20885 }
20886
20887 _ACEOF
20888 if ac_fn_c_try_link "$LINENO"; then :
20889 gcc_cv_math_func_clog10=yes
20890 else
20891 gcc_cv_math_func_clog10=no
20892 fi
20893 rm -f core conftest.err conftest.$ac_objext \
20894 conftest$ac_exeext conftest.$ac_ext
20895 fi
20896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20897 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20898 if test $gcc_cv_math_func_clog10 = yes; then
20899
20900 cat >>confdefs.h <<_ACEOF
20901 #define HAVE_CLOG10 1
20902 _ACEOF
20903
20904 fi
20905
20906
20907
20908
20909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20910 $as_echo_n "checking for clog10l... " >&6; }
20911 if ${gcc_cv_math_func_clog10l+:} false; then :
20912 $as_echo_n "(cached) " >&6
20913 else
20914 if test x$gcc_no_link = xyes; then
20915 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20916 fi
20917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20918 /* end confdefs.h. */
20919
20920 #ifdef HAVE_COMPLEX_H
20921 #include <complex.h>
20922 #endif
20923 #ifdef HAVE_MATH_H
20924 #include <math.h>
20925 #endif
20926
20927 int (*ptr)() = (int (*)())clog10l;
20928
20929 int
20930 main ()
20931 {
20932 return 0;
20933 }
20934
20935 _ACEOF
20936 if ac_fn_c_try_link "$LINENO"; then :
20937 gcc_cv_math_func_clog10l=yes
20938 else
20939 gcc_cv_math_func_clog10l=no
20940 fi
20941 rm -f core conftest.err conftest.$ac_objext \
20942 conftest$ac_exeext conftest.$ac_ext
20943 fi
20944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20945 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20946 if test $gcc_cv_math_func_clog10l = yes; then
20947
20948 cat >>confdefs.h <<_ACEOF
20949 #define HAVE_CLOG10L 1
20950 _ACEOF
20951
20952 fi
20953
20954
20955
20956
20957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20958 $as_echo_n "checking for nextafterf... " >&6; }
20959 if ${gcc_cv_math_func_nextafterf+:} false; then :
20960 $as_echo_n "(cached) " >&6
20961 else
20962 if test x$gcc_no_link = xyes; then
20963 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20964 fi
20965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20966 /* end confdefs.h. */
20967
20968 #ifdef HAVE_COMPLEX_H
20969 #include <complex.h>
20970 #endif
20971 #ifdef HAVE_MATH_H
20972 #include <math.h>
20973 #endif
20974
20975 int (*ptr)() = (int (*)())nextafterf;
20976
20977 int
20978 main ()
20979 {
20980 return 0;
20981 }
20982
20983 _ACEOF
20984 if ac_fn_c_try_link "$LINENO"; then :
20985 gcc_cv_math_func_nextafterf=yes
20986 else
20987 gcc_cv_math_func_nextafterf=no
20988 fi
20989 rm -f core conftest.err conftest.$ac_objext \
20990 conftest$ac_exeext conftest.$ac_ext
20991 fi
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20993 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20994 if test $gcc_cv_math_func_nextafterf = yes; then
20995
20996 cat >>confdefs.h <<_ACEOF
20997 #define HAVE_NEXTAFTERF 1
20998 _ACEOF
20999
21000 fi
21001
21002
21003
21004
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21006 $as_echo_n "checking for nextafter... " >&6; }
21007 if ${gcc_cv_math_func_nextafter+:} false; then :
21008 $as_echo_n "(cached) " >&6
21009 else
21010 if test x$gcc_no_link = xyes; then
21011 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21012 fi
21013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21014 /* end confdefs.h. */
21015
21016 #ifdef HAVE_COMPLEX_H
21017 #include <complex.h>
21018 #endif
21019 #ifdef HAVE_MATH_H
21020 #include <math.h>
21021 #endif
21022
21023 int (*ptr)() = (int (*)())nextafter;
21024
21025 int
21026 main ()
21027 {
21028 return 0;
21029 }
21030
21031 _ACEOF
21032 if ac_fn_c_try_link "$LINENO"; then :
21033 gcc_cv_math_func_nextafter=yes
21034 else
21035 gcc_cv_math_func_nextafter=no
21036 fi
21037 rm -f core conftest.err conftest.$ac_objext \
21038 conftest$ac_exeext conftest.$ac_ext
21039 fi
21040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21041 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21042 if test $gcc_cv_math_func_nextafter = yes; then
21043
21044 cat >>confdefs.h <<_ACEOF
21045 #define HAVE_NEXTAFTER 1
21046 _ACEOF
21047
21048 fi
21049
21050
21051
21052
21053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21054 $as_echo_n "checking for nextafterl... " >&6; }
21055 if ${gcc_cv_math_func_nextafterl+:} false; then :
21056 $as_echo_n "(cached) " >&6
21057 else
21058 if test x$gcc_no_link = xyes; then
21059 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21060 fi
21061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21062 /* end confdefs.h. */
21063
21064 #ifdef HAVE_COMPLEX_H
21065 #include <complex.h>
21066 #endif
21067 #ifdef HAVE_MATH_H
21068 #include <math.h>
21069 #endif
21070
21071 int (*ptr)() = (int (*)())nextafterl;
21072
21073 int
21074 main ()
21075 {
21076 return 0;
21077 }
21078
21079 _ACEOF
21080 if ac_fn_c_try_link "$LINENO"; then :
21081 gcc_cv_math_func_nextafterl=yes
21082 else
21083 gcc_cv_math_func_nextafterl=no
21084 fi
21085 rm -f core conftest.err conftest.$ac_objext \
21086 conftest$ac_exeext conftest.$ac_ext
21087 fi
21088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21089 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21090 if test $gcc_cv_math_func_nextafterl = yes; then
21091
21092 cat >>confdefs.h <<_ACEOF
21093 #define HAVE_NEXTAFTERL 1
21094 _ACEOF
21095
21096 fi
21097
21098
21099
21100
21101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21102 $as_echo_n "checking for powf... " >&6; }
21103 if ${gcc_cv_math_func_powf+:} false; then :
21104 $as_echo_n "(cached) " >&6
21105 else
21106 if test x$gcc_no_link = xyes; then
21107 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21108 fi
21109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21110 /* end confdefs.h. */
21111
21112 #ifdef HAVE_COMPLEX_H
21113 #include <complex.h>
21114 #endif
21115 #ifdef HAVE_MATH_H
21116 #include <math.h>
21117 #endif
21118
21119 int (*ptr)() = (int (*)())powf;
21120
21121 int
21122 main ()
21123 {
21124 return 0;
21125 }
21126
21127 _ACEOF
21128 if ac_fn_c_try_link "$LINENO"; then :
21129 gcc_cv_math_func_powf=yes
21130 else
21131 gcc_cv_math_func_powf=no
21132 fi
21133 rm -f core conftest.err conftest.$ac_objext \
21134 conftest$ac_exeext conftest.$ac_ext
21135 fi
21136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21137 $as_echo "$gcc_cv_math_func_powf" >&6; }
21138 if test $gcc_cv_math_func_powf = yes; then
21139
21140 cat >>confdefs.h <<_ACEOF
21141 #define HAVE_POWF 1
21142 _ACEOF
21143
21144 fi
21145
21146
21147
21148
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21150 $as_echo_n "checking for pow... " >&6; }
21151 if ${gcc_cv_math_func_pow+:} false; then :
21152 $as_echo_n "(cached) " >&6
21153 else
21154 if test x$gcc_no_link = xyes; then
21155 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21156 fi
21157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21158 /* end confdefs.h. */
21159
21160 #ifdef HAVE_COMPLEX_H
21161 #include <complex.h>
21162 #endif
21163 #ifdef HAVE_MATH_H
21164 #include <math.h>
21165 #endif
21166
21167 int (*ptr)() = (int (*)())pow;
21168
21169 int
21170 main ()
21171 {
21172 return 0;
21173 }
21174
21175 _ACEOF
21176 if ac_fn_c_try_link "$LINENO"; then :
21177 gcc_cv_math_func_pow=yes
21178 else
21179 gcc_cv_math_func_pow=no
21180 fi
21181 rm -f core conftest.err conftest.$ac_objext \
21182 conftest$ac_exeext conftest.$ac_ext
21183 fi
21184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21185 $as_echo "$gcc_cv_math_func_pow" >&6; }
21186 if test $gcc_cv_math_func_pow = yes; then
21187
21188 cat >>confdefs.h <<_ACEOF
21189 #define HAVE_POW 1
21190 _ACEOF
21191
21192 fi
21193
21194
21195
21196
21197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21198 $as_echo_n "checking for cpowf... " >&6; }
21199 if ${gcc_cv_math_func_cpowf+:} false; then :
21200 $as_echo_n "(cached) " >&6
21201 else
21202 if test x$gcc_no_link = xyes; then
21203 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21204 fi
21205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21206 /* end confdefs.h. */
21207
21208 #ifdef HAVE_COMPLEX_H
21209 #include <complex.h>
21210 #endif
21211 #ifdef HAVE_MATH_H
21212 #include <math.h>
21213 #endif
21214
21215 int (*ptr)() = (int (*)())cpowf;
21216
21217 int
21218 main ()
21219 {
21220 return 0;
21221 }
21222
21223 _ACEOF
21224 if ac_fn_c_try_link "$LINENO"; then :
21225 gcc_cv_math_func_cpowf=yes
21226 else
21227 gcc_cv_math_func_cpowf=no
21228 fi
21229 rm -f core conftest.err conftest.$ac_objext \
21230 conftest$ac_exeext conftest.$ac_ext
21231 fi
21232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21233 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21234 if test $gcc_cv_math_func_cpowf = yes; then
21235
21236 cat >>confdefs.h <<_ACEOF
21237 #define HAVE_CPOWF 1
21238 _ACEOF
21239
21240 fi
21241
21242
21243
21244
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21246 $as_echo_n "checking for cpow... " >&6; }
21247 if ${gcc_cv_math_func_cpow+:} false; then :
21248 $as_echo_n "(cached) " >&6
21249 else
21250 if test x$gcc_no_link = xyes; then
21251 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21252 fi
21253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21254 /* end confdefs.h. */
21255
21256 #ifdef HAVE_COMPLEX_H
21257 #include <complex.h>
21258 #endif
21259 #ifdef HAVE_MATH_H
21260 #include <math.h>
21261 #endif
21262
21263 int (*ptr)() = (int (*)())cpow;
21264
21265 int
21266 main ()
21267 {
21268 return 0;
21269 }
21270
21271 _ACEOF
21272 if ac_fn_c_try_link "$LINENO"; then :
21273 gcc_cv_math_func_cpow=yes
21274 else
21275 gcc_cv_math_func_cpow=no
21276 fi
21277 rm -f core conftest.err conftest.$ac_objext \
21278 conftest$ac_exeext conftest.$ac_ext
21279 fi
21280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21281 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21282 if test $gcc_cv_math_func_cpow = yes; then
21283
21284 cat >>confdefs.h <<_ACEOF
21285 #define HAVE_CPOW 1
21286 _ACEOF
21287
21288 fi
21289
21290
21291
21292
21293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21294 $as_echo_n "checking for cpowl... " >&6; }
21295 if ${gcc_cv_math_func_cpowl+:} false; then :
21296 $as_echo_n "(cached) " >&6
21297 else
21298 if test x$gcc_no_link = xyes; then
21299 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21300 fi
21301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21302 /* end confdefs.h. */
21303
21304 #ifdef HAVE_COMPLEX_H
21305 #include <complex.h>
21306 #endif
21307 #ifdef HAVE_MATH_H
21308 #include <math.h>
21309 #endif
21310
21311 int (*ptr)() = (int (*)())cpowl;
21312
21313 int
21314 main ()
21315 {
21316 return 0;
21317 }
21318
21319 _ACEOF
21320 if ac_fn_c_try_link "$LINENO"; then :
21321 gcc_cv_math_func_cpowl=yes
21322 else
21323 gcc_cv_math_func_cpowl=no
21324 fi
21325 rm -f core conftest.err conftest.$ac_objext \
21326 conftest$ac_exeext conftest.$ac_ext
21327 fi
21328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21329 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21330 if test $gcc_cv_math_func_cpowl = yes; then
21331
21332 cat >>confdefs.h <<_ACEOF
21333 #define HAVE_CPOWL 1
21334 _ACEOF
21335
21336 fi
21337
21338
21339
21340
21341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21342 $as_echo_n "checking for roundf... " >&6; }
21343 if ${gcc_cv_math_func_roundf+:} false; then :
21344 $as_echo_n "(cached) " >&6
21345 else
21346 if test x$gcc_no_link = xyes; then
21347 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21348 fi
21349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21350 /* end confdefs.h. */
21351
21352 #ifdef HAVE_COMPLEX_H
21353 #include <complex.h>
21354 #endif
21355 #ifdef HAVE_MATH_H
21356 #include <math.h>
21357 #endif
21358
21359 int (*ptr)() = (int (*)())roundf;
21360
21361 int
21362 main ()
21363 {
21364 return 0;
21365 }
21366
21367 _ACEOF
21368 if ac_fn_c_try_link "$LINENO"; then :
21369 gcc_cv_math_func_roundf=yes
21370 else
21371 gcc_cv_math_func_roundf=no
21372 fi
21373 rm -f core conftest.err conftest.$ac_objext \
21374 conftest$ac_exeext conftest.$ac_ext
21375 fi
21376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21377 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21378 if test $gcc_cv_math_func_roundf = yes; then
21379
21380 cat >>confdefs.h <<_ACEOF
21381 #define HAVE_ROUNDF 1
21382 _ACEOF
21383
21384 fi
21385
21386
21387
21388
21389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21390 $as_echo_n "checking for round... " >&6; }
21391 if ${gcc_cv_math_func_round+:} false; then :
21392 $as_echo_n "(cached) " >&6
21393 else
21394 if test x$gcc_no_link = xyes; then
21395 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21396 fi
21397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21398 /* end confdefs.h. */
21399
21400 #ifdef HAVE_COMPLEX_H
21401 #include <complex.h>
21402 #endif
21403 #ifdef HAVE_MATH_H
21404 #include <math.h>
21405 #endif
21406
21407 int (*ptr)() = (int (*)())round;
21408
21409 int
21410 main ()
21411 {
21412 return 0;
21413 }
21414
21415 _ACEOF
21416 if ac_fn_c_try_link "$LINENO"; then :
21417 gcc_cv_math_func_round=yes
21418 else
21419 gcc_cv_math_func_round=no
21420 fi
21421 rm -f core conftest.err conftest.$ac_objext \
21422 conftest$ac_exeext conftest.$ac_ext
21423 fi
21424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21425 $as_echo "$gcc_cv_math_func_round" >&6; }
21426 if test $gcc_cv_math_func_round = yes; then
21427
21428 cat >>confdefs.h <<_ACEOF
21429 #define HAVE_ROUND 1
21430 _ACEOF
21431
21432 fi
21433
21434
21435
21436
21437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21438 $as_echo_n "checking for roundl... " >&6; }
21439 if ${gcc_cv_math_func_roundl+:} false; then :
21440 $as_echo_n "(cached) " >&6
21441 else
21442 if test x$gcc_no_link = xyes; then
21443 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21444 fi
21445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21446 /* end confdefs.h. */
21447
21448 #ifdef HAVE_COMPLEX_H
21449 #include <complex.h>
21450 #endif
21451 #ifdef HAVE_MATH_H
21452 #include <math.h>
21453 #endif
21454
21455 int (*ptr)() = (int (*)())roundl;
21456
21457 int
21458 main ()
21459 {
21460 return 0;
21461 }
21462
21463 _ACEOF
21464 if ac_fn_c_try_link "$LINENO"; then :
21465 gcc_cv_math_func_roundl=yes
21466 else
21467 gcc_cv_math_func_roundl=no
21468 fi
21469 rm -f core conftest.err conftest.$ac_objext \
21470 conftest$ac_exeext conftest.$ac_ext
21471 fi
21472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21473 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21474 if test $gcc_cv_math_func_roundl = yes; then
21475
21476 cat >>confdefs.h <<_ACEOF
21477 #define HAVE_ROUNDL 1
21478 _ACEOF
21479
21480 fi
21481
21482
21483
21484
21485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21486 $as_echo_n "checking for lroundf... " >&6; }
21487 if ${gcc_cv_math_func_lroundf+:} false; then :
21488 $as_echo_n "(cached) " >&6
21489 else
21490 if test x$gcc_no_link = xyes; then
21491 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21492 fi
21493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21494 /* end confdefs.h. */
21495
21496 #ifdef HAVE_COMPLEX_H
21497 #include <complex.h>
21498 #endif
21499 #ifdef HAVE_MATH_H
21500 #include <math.h>
21501 #endif
21502
21503 int (*ptr)() = (int (*)())lroundf;
21504
21505 int
21506 main ()
21507 {
21508 return 0;
21509 }
21510
21511 _ACEOF
21512 if ac_fn_c_try_link "$LINENO"; then :
21513 gcc_cv_math_func_lroundf=yes
21514 else
21515 gcc_cv_math_func_lroundf=no
21516 fi
21517 rm -f core conftest.err conftest.$ac_objext \
21518 conftest$ac_exeext conftest.$ac_ext
21519 fi
21520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21521 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21522 if test $gcc_cv_math_func_lroundf = yes; then
21523
21524 cat >>confdefs.h <<_ACEOF
21525 #define HAVE_LROUNDF 1
21526 _ACEOF
21527
21528 fi
21529
21530
21531
21532
21533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21534 $as_echo_n "checking for lround... " >&6; }
21535 if ${gcc_cv_math_func_lround+:} false; then :
21536 $as_echo_n "(cached) " >&6
21537 else
21538 if test x$gcc_no_link = xyes; then
21539 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21540 fi
21541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21542 /* end confdefs.h. */
21543
21544 #ifdef HAVE_COMPLEX_H
21545 #include <complex.h>
21546 #endif
21547 #ifdef HAVE_MATH_H
21548 #include <math.h>
21549 #endif
21550
21551 int (*ptr)() = (int (*)())lround;
21552
21553 int
21554 main ()
21555 {
21556 return 0;
21557 }
21558
21559 _ACEOF
21560 if ac_fn_c_try_link "$LINENO"; then :
21561 gcc_cv_math_func_lround=yes
21562 else
21563 gcc_cv_math_func_lround=no
21564 fi
21565 rm -f core conftest.err conftest.$ac_objext \
21566 conftest$ac_exeext conftest.$ac_ext
21567 fi
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21569 $as_echo "$gcc_cv_math_func_lround" >&6; }
21570 if test $gcc_cv_math_func_lround = yes; then
21571
21572 cat >>confdefs.h <<_ACEOF
21573 #define HAVE_LROUND 1
21574 _ACEOF
21575
21576 fi
21577
21578
21579
21580
21581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21582 $as_echo_n "checking for lroundl... " >&6; }
21583 if ${gcc_cv_math_func_lroundl+:} false; then :
21584 $as_echo_n "(cached) " >&6
21585 else
21586 if test x$gcc_no_link = xyes; then
21587 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21588 fi
21589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21590 /* end confdefs.h. */
21591
21592 #ifdef HAVE_COMPLEX_H
21593 #include <complex.h>
21594 #endif
21595 #ifdef HAVE_MATH_H
21596 #include <math.h>
21597 #endif
21598
21599 int (*ptr)() = (int (*)())lroundl;
21600
21601 int
21602 main ()
21603 {
21604 return 0;
21605 }
21606
21607 _ACEOF
21608 if ac_fn_c_try_link "$LINENO"; then :
21609 gcc_cv_math_func_lroundl=yes
21610 else
21611 gcc_cv_math_func_lroundl=no
21612 fi
21613 rm -f core conftest.err conftest.$ac_objext \
21614 conftest$ac_exeext conftest.$ac_ext
21615 fi
21616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21617 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21618 if test $gcc_cv_math_func_lroundl = yes; then
21619
21620 cat >>confdefs.h <<_ACEOF
21621 #define HAVE_LROUNDL 1
21622 _ACEOF
21623
21624 fi
21625
21626
21627
21628
21629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21630 $as_echo_n "checking for llroundf... " >&6; }
21631 if ${gcc_cv_math_func_llroundf+:} false; then :
21632 $as_echo_n "(cached) " >&6
21633 else
21634 if test x$gcc_no_link = xyes; then
21635 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21636 fi
21637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21638 /* end confdefs.h. */
21639
21640 #ifdef HAVE_COMPLEX_H
21641 #include <complex.h>
21642 #endif
21643 #ifdef HAVE_MATH_H
21644 #include <math.h>
21645 #endif
21646
21647 int (*ptr)() = (int (*)())llroundf;
21648
21649 int
21650 main ()
21651 {
21652 return 0;
21653 }
21654
21655 _ACEOF
21656 if ac_fn_c_try_link "$LINENO"; then :
21657 gcc_cv_math_func_llroundf=yes
21658 else
21659 gcc_cv_math_func_llroundf=no
21660 fi
21661 rm -f core conftest.err conftest.$ac_objext \
21662 conftest$ac_exeext conftest.$ac_ext
21663 fi
21664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21665 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21666 if test $gcc_cv_math_func_llroundf = yes; then
21667
21668 cat >>confdefs.h <<_ACEOF
21669 #define HAVE_LLROUNDF 1
21670 _ACEOF
21671
21672 fi
21673
21674
21675
21676
21677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21678 $as_echo_n "checking for llround... " >&6; }
21679 if ${gcc_cv_math_func_llround+:} false; then :
21680 $as_echo_n "(cached) " >&6
21681 else
21682 if test x$gcc_no_link = xyes; then
21683 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21684 fi
21685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21686 /* end confdefs.h. */
21687
21688 #ifdef HAVE_COMPLEX_H
21689 #include <complex.h>
21690 #endif
21691 #ifdef HAVE_MATH_H
21692 #include <math.h>
21693 #endif
21694
21695 int (*ptr)() = (int (*)())llround;
21696
21697 int
21698 main ()
21699 {
21700 return 0;
21701 }
21702
21703 _ACEOF
21704 if ac_fn_c_try_link "$LINENO"; then :
21705 gcc_cv_math_func_llround=yes
21706 else
21707 gcc_cv_math_func_llround=no
21708 fi
21709 rm -f core conftest.err conftest.$ac_objext \
21710 conftest$ac_exeext conftest.$ac_ext
21711 fi
21712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21713 $as_echo "$gcc_cv_math_func_llround" >&6; }
21714 if test $gcc_cv_math_func_llround = yes; then
21715
21716 cat >>confdefs.h <<_ACEOF
21717 #define HAVE_LLROUND 1
21718 _ACEOF
21719
21720 fi
21721
21722
21723
21724
21725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21726 $as_echo_n "checking for llroundl... " >&6; }
21727 if ${gcc_cv_math_func_llroundl+:} false; then :
21728 $as_echo_n "(cached) " >&6
21729 else
21730 if test x$gcc_no_link = xyes; then
21731 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21732 fi
21733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21734 /* end confdefs.h. */
21735
21736 #ifdef HAVE_COMPLEX_H
21737 #include <complex.h>
21738 #endif
21739 #ifdef HAVE_MATH_H
21740 #include <math.h>
21741 #endif
21742
21743 int (*ptr)() = (int (*)())llroundl;
21744
21745 int
21746 main ()
21747 {
21748 return 0;
21749 }
21750
21751 _ACEOF
21752 if ac_fn_c_try_link "$LINENO"; then :
21753 gcc_cv_math_func_llroundl=yes
21754 else
21755 gcc_cv_math_func_llroundl=no
21756 fi
21757 rm -f core conftest.err conftest.$ac_objext \
21758 conftest$ac_exeext conftest.$ac_ext
21759 fi
21760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21761 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21762 if test $gcc_cv_math_func_llroundl = yes; then
21763
21764 cat >>confdefs.h <<_ACEOF
21765 #define HAVE_LLROUNDL 1
21766 _ACEOF
21767
21768 fi
21769
21770
21771
21772
21773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21774 $as_echo_n "checking for scalbnf... " >&6; }
21775 if ${gcc_cv_math_func_scalbnf+:} false; then :
21776 $as_echo_n "(cached) " >&6
21777 else
21778 if test x$gcc_no_link = xyes; then
21779 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21780 fi
21781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21782 /* end confdefs.h. */
21783
21784 #ifdef HAVE_COMPLEX_H
21785 #include <complex.h>
21786 #endif
21787 #ifdef HAVE_MATH_H
21788 #include <math.h>
21789 #endif
21790
21791 int (*ptr)() = (int (*)())scalbnf;
21792
21793 int
21794 main ()
21795 {
21796 return 0;
21797 }
21798
21799 _ACEOF
21800 if ac_fn_c_try_link "$LINENO"; then :
21801 gcc_cv_math_func_scalbnf=yes
21802 else
21803 gcc_cv_math_func_scalbnf=no
21804 fi
21805 rm -f core conftest.err conftest.$ac_objext \
21806 conftest$ac_exeext conftest.$ac_ext
21807 fi
21808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21809 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21810 if test $gcc_cv_math_func_scalbnf = yes; then
21811
21812 cat >>confdefs.h <<_ACEOF
21813 #define HAVE_SCALBNF 1
21814 _ACEOF
21815
21816 fi
21817
21818
21819
21820
21821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21822 $as_echo_n "checking for scalbn... " >&6; }
21823 if ${gcc_cv_math_func_scalbn+:} false; then :
21824 $as_echo_n "(cached) " >&6
21825 else
21826 if test x$gcc_no_link = xyes; then
21827 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21828 fi
21829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21830 /* end confdefs.h. */
21831
21832 #ifdef HAVE_COMPLEX_H
21833 #include <complex.h>
21834 #endif
21835 #ifdef HAVE_MATH_H
21836 #include <math.h>
21837 #endif
21838
21839 int (*ptr)() = (int (*)())scalbn;
21840
21841 int
21842 main ()
21843 {
21844 return 0;
21845 }
21846
21847 _ACEOF
21848 if ac_fn_c_try_link "$LINENO"; then :
21849 gcc_cv_math_func_scalbn=yes
21850 else
21851 gcc_cv_math_func_scalbn=no
21852 fi
21853 rm -f core conftest.err conftest.$ac_objext \
21854 conftest$ac_exeext conftest.$ac_ext
21855 fi
21856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21857 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21858 if test $gcc_cv_math_func_scalbn = yes; then
21859
21860 cat >>confdefs.h <<_ACEOF
21861 #define HAVE_SCALBN 1
21862 _ACEOF
21863
21864 fi
21865
21866
21867
21868
21869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21870 $as_echo_n "checking for scalbnl... " >&6; }
21871 if ${gcc_cv_math_func_scalbnl+:} false; then :
21872 $as_echo_n "(cached) " >&6
21873 else
21874 if test x$gcc_no_link = xyes; then
21875 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21876 fi
21877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21878 /* end confdefs.h. */
21879
21880 #ifdef HAVE_COMPLEX_H
21881 #include <complex.h>
21882 #endif
21883 #ifdef HAVE_MATH_H
21884 #include <math.h>
21885 #endif
21886
21887 int (*ptr)() = (int (*)())scalbnl;
21888
21889 int
21890 main ()
21891 {
21892 return 0;
21893 }
21894
21895 _ACEOF
21896 if ac_fn_c_try_link "$LINENO"; then :
21897 gcc_cv_math_func_scalbnl=yes
21898 else
21899 gcc_cv_math_func_scalbnl=no
21900 fi
21901 rm -f core conftest.err conftest.$ac_objext \
21902 conftest$ac_exeext conftest.$ac_ext
21903 fi
21904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21905 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21906 if test $gcc_cv_math_func_scalbnl = yes; then
21907
21908 cat >>confdefs.h <<_ACEOF
21909 #define HAVE_SCALBNL 1
21910 _ACEOF
21911
21912 fi
21913
21914
21915
21916
21917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21918 $as_echo_n "checking for sinf... " >&6; }
21919 if ${gcc_cv_math_func_sinf+:} false; then :
21920 $as_echo_n "(cached) " >&6
21921 else
21922 if test x$gcc_no_link = xyes; then
21923 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21924 fi
21925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21926 /* end confdefs.h. */
21927
21928 #ifdef HAVE_COMPLEX_H
21929 #include <complex.h>
21930 #endif
21931 #ifdef HAVE_MATH_H
21932 #include <math.h>
21933 #endif
21934
21935 int (*ptr)() = (int (*)())sinf;
21936
21937 int
21938 main ()
21939 {
21940 return 0;
21941 }
21942
21943 _ACEOF
21944 if ac_fn_c_try_link "$LINENO"; then :
21945 gcc_cv_math_func_sinf=yes
21946 else
21947 gcc_cv_math_func_sinf=no
21948 fi
21949 rm -f core conftest.err conftest.$ac_objext \
21950 conftest$ac_exeext conftest.$ac_ext
21951 fi
21952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21953 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21954 if test $gcc_cv_math_func_sinf = yes; then
21955
21956 cat >>confdefs.h <<_ACEOF
21957 #define HAVE_SINF 1
21958 _ACEOF
21959
21960 fi
21961
21962
21963
21964
21965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21966 $as_echo_n "checking for sin... " >&6; }
21967 if ${gcc_cv_math_func_sin+:} false; then :
21968 $as_echo_n "(cached) " >&6
21969 else
21970 if test x$gcc_no_link = xyes; then
21971 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21972 fi
21973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21974 /* end confdefs.h. */
21975
21976 #ifdef HAVE_COMPLEX_H
21977 #include <complex.h>
21978 #endif
21979 #ifdef HAVE_MATH_H
21980 #include <math.h>
21981 #endif
21982
21983 int (*ptr)() = (int (*)())sin;
21984
21985 int
21986 main ()
21987 {
21988 return 0;
21989 }
21990
21991 _ACEOF
21992 if ac_fn_c_try_link "$LINENO"; then :
21993 gcc_cv_math_func_sin=yes
21994 else
21995 gcc_cv_math_func_sin=no
21996 fi
21997 rm -f core conftest.err conftest.$ac_objext \
21998 conftest$ac_exeext conftest.$ac_ext
21999 fi
22000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22001 $as_echo "$gcc_cv_math_func_sin" >&6; }
22002 if test $gcc_cv_math_func_sin = yes; then
22003
22004 cat >>confdefs.h <<_ACEOF
22005 #define HAVE_SIN 1
22006 _ACEOF
22007
22008 fi
22009
22010
22011
22012
22013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22014 $as_echo_n "checking for sinl... " >&6; }
22015 if ${gcc_cv_math_func_sinl+:} false; then :
22016 $as_echo_n "(cached) " >&6
22017 else
22018 if test x$gcc_no_link = xyes; then
22019 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22020 fi
22021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22022 /* end confdefs.h. */
22023
22024 #ifdef HAVE_COMPLEX_H
22025 #include <complex.h>
22026 #endif
22027 #ifdef HAVE_MATH_H
22028 #include <math.h>
22029 #endif
22030
22031 int (*ptr)() = (int (*)())sinl;
22032
22033 int
22034 main ()
22035 {
22036 return 0;
22037 }
22038
22039 _ACEOF
22040 if ac_fn_c_try_link "$LINENO"; then :
22041 gcc_cv_math_func_sinl=yes
22042 else
22043 gcc_cv_math_func_sinl=no
22044 fi
22045 rm -f core conftest.err conftest.$ac_objext \
22046 conftest$ac_exeext conftest.$ac_ext
22047 fi
22048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22049 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22050 if test $gcc_cv_math_func_sinl = yes; then
22051
22052 cat >>confdefs.h <<_ACEOF
22053 #define HAVE_SINL 1
22054 _ACEOF
22055
22056 fi
22057
22058
22059
22060
22061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22062 $as_echo_n "checking for csinf... " >&6; }
22063 if ${gcc_cv_math_func_csinf+:} false; then :
22064 $as_echo_n "(cached) " >&6
22065 else
22066 if test x$gcc_no_link = xyes; then
22067 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22068 fi
22069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22070 /* end confdefs.h. */
22071
22072 #ifdef HAVE_COMPLEX_H
22073 #include <complex.h>
22074 #endif
22075 #ifdef HAVE_MATH_H
22076 #include <math.h>
22077 #endif
22078
22079 int (*ptr)() = (int (*)())csinf;
22080
22081 int
22082 main ()
22083 {
22084 return 0;
22085 }
22086
22087 _ACEOF
22088 if ac_fn_c_try_link "$LINENO"; then :
22089 gcc_cv_math_func_csinf=yes
22090 else
22091 gcc_cv_math_func_csinf=no
22092 fi
22093 rm -f core conftest.err conftest.$ac_objext \
22094 conftest$ac_exeext conftest.$ac_ext
22095 fi
22096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22097 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22098 if test $gcc_cv_math_func_csinf = yes; then
22099
22100 cat >>confdefs.h <<_ACEOF
22101 #define HAVE_CSINF 1
22102 _ACEOF
22103
22104 fi
22105
22106
22107
22108
22109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22110 $as_echo_n "checking for csin... " >&6; }
22111 if ${gcc_cv_math_func_csin+:} false; then :
22112 $as_echo_n "(cached) " >&6
22113 else
22114 if test x$gcc_no_link = xyes; then
22115 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22116 fi
22117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22118 /* end confdefs.h. */
22119
22120 #ifdef HAVE_COMPLEX_H
22121 #include <complex.h>
22122 #endif
22123 #ifdef HAVE_MATH_H
22124 #include <math.h>
22125 #endif
22126
22127 int (*ptr)() = (int (*)())csin;
22128
22129 int
22130 main ()
22131 {
22132 return 0;
22133 }
22134
22135 _ACEOF
22136 if ac_fn_c_try_link "$LINENO"; then :
22137 gcc_cv_math_func_csin=yes
22138 else
22139 gcc_cv_math_func_csin=no
22140 fi
22141 rm -f core conftest.err conftest.$ac_objext \
22142 conftest$ac_exeext conftest.$ac_ext
22143 fi
22144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22145 $as_echo "$gcc_cv_math_func_csin" >&6; }
22146 if test $gcc_cv_math_func_csin = yes; then
22147
22148 cat >>confdefs.h <<_ACEOF
22149 #define HAVE_CSIN 1
22150 _ACEOF
22151
22152 fi
22153
22154
22155
22156
22157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22158 $as_echo_n "checking for csinl... " >&6; }
22159 if ${gcc_cv_math_func_csinl+:} false; then :
22160 $as_echo_n "(cached) " >&6
22161 else
22162 if test x$gcc_no_link = xyes; then
22163 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22164 fi
22165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22166 /* end confdefs.h. */
22167
22168 #ifdef HAVE_COMPLEX_H
22169 #include <complex.h>
22170 #endif
22171 #ifdef HAVE_MATH_H
22172 #include <math.h>
22173 #endif
22174
22175 int (*ptr)() = (int (*)())csinl;
22176
22177 int
22178 main ()
22179 {
22180 return 0;
22181 }
22182
22183 _ACEOF
22184 if ac_fn_c_try_link "$LINENO"; then :
22185 gcc_cv_math_func_csinl=yes
22186 else
22187 gcc_cv_math_func_csinl=no
22188 fi
22189 rm -f core conftest.err conftest.$ac_objext \
22190 conftest$ac_exeext conftest.$ac_ext
22191 fi
22192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22193 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22194 if test $gcc_cv_math_func_csinl = yes; then
22195
22196 cat >>confdefs.h <<_ACEOF
22197 #define HAVE_CSINL 1
22198 _ACEOF
22199
22200 fi
22201
22202
22203
22204
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22206 $as_echo_n "checking for sinhf... " >&6; }
22207 if ${gcc_cv_math_func_sinhf+:} false; then :
22208 $as_echo_n "(cached) " >&6
22209 else
22210 if test x$gcc_no_link = xyes; then
22211 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22212 fi
22213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22214 /* end confdefs.h. */
22215
22216 #ifdef HAVE_COMPLEX_H
22217 #include <complex.h>
22218 #endif
22219 #ifdef HAVE_MATH_H
22220 #include <math.h>
22221 #endif
22222
22223 int (*ptr)() = (int (*)())sinhf;
22224
22225 int
22226 main ()
22227 {
22228 return 0;
22229 }
22230
22231 _ACEOF
22232 if ac_fn_c_try_link "$LINENO"; then :
22233 gcc_cv_math_func_sinhf=yes
22234 else
22235 gcc_cv_math_func_sinhf=no
22236 fi
22237 rm -f core conftest.err conftest.$ac_objext \
22238 conftest$ac_exeext conftest.$ac_ext
22239 fi
22240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22241 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22242 if test $gcc_cv_math_func_sinhf = yes; then
22243
22244 cat >>confdefs.h <<_ACEOF
22245 #define HAVE_SINHF 1
22246 _ACEOF
22247
22248 fi
22249
22250
22251
22252
22253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22254 $as_echo_n "checking for sinh... " >&6; }
22255 if ${gcc_cv_math_func_sinh+:} false; then :
22256 $as_echo_n "(cached) " >&6
22257 else
22258 if test x$gcc_no_link = xyes; then
22259 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22260 fi
22261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22262 /* end confdefs.h. */
22263
22264 #ifdef HAVE_COMPLEX_H
22265 #include <complex.h>
22266 #endif
22267 #ifdef HAVE_MATH_H
22268 #include <math.h>
22269 #endif
22270
22271 int (*ptr)() = (int (*)())sinh;
22272
22273 int
22274 main ()
22275 {
22276 return 0;
22277 }
22278
22279 _ACEOF
22280 if ac_fn_c_try_link "$LINENO"; then :
22281 gcc_cv_math_func_sinh=yes
22282 else
22283 gcc_cv_math_func_sinh=no
22284 fi
22285 rm -f core conftest.err conftest.$ac_objext \
22286 conftest$ac_exeext conftest.$ac_ext
22287 fi
22288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22289 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22290 if test $gcc_cv_math_func_sinh = yes; then
22291
22292 cat >>confdefs.h <<_ACEOF
22293 #define HAVE_SINH 1
22294 _ACEOF
22295
22296 fi
22297
22298
22299
22300
22301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22302 $as_echo_n "checking for sinhl... " >&6; }
22303 if ${gcc_cv_math_func_sinhl+:} false; then :
22304 $as_echo_n "(cached) " >&6
22305 else
22306 if test x$gcc_no_link = xyes; then
22307 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22308 fi
22309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22310 /* end confdefs.h. */
22311
22312 #ifdef HAVE_COMPLEX_H
22313 #include <complex.h>
22314 #endif
22315 #ifdef HAVE_MATH_H
22316 #include <math.h>
22317 #endif
22318
22319 int (*ptr)() = (int (*)())sinhl;
22320
22321 int
22322 main ()
22323 {
22324 return 0;
22325 }
22326
22327 _ACEOF
22328 if ac_fn_c_try_link "$LINENO"; then :
22329 gcc_cv_math_func_sinhl=yes
22330 else
22331 gcc_cv_math_func_sinhl=no
22332 fi
22333 rm -f core conftest.err conftest.$ac_objext \
22334 conftest$ac_exeext conftest.$ac_ext
22335 fi
22336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22337 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22338 if test $gcc_cv_math_func_sinhl = yes; then
22339
22340 cat >>confdefs.h <<_ACEOF
22341 #define HAVE_SINHL 1
22342 _ACEOF
22343
22344 fi
22345
22346
22347
22348
22349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22350 $as_echo_n "checking for csinhf... " >&6; }
22351 if ${gcc_cv_math_func_csinhf+:} false; then :
22352 $as_echo_n "(cached) " >&6
22353 else
22354 if test x$gcc_no_link = xyes; then
22355 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22356 fi
22357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22358 /* end confdefs.h. */
22359
22360 #ifdef HAVE_COMPLEX_H
22361 #include <complex.h>
22362 #endif
22363 #ifdef HAVE_MATH_H
22364 #include <math.h>
22365 #endif
22366
22367 int (*ptr)() = (int (*)())csinhf;
22368
22369 int
22370 main ()
22371 {
22372 return 0;
22373 }
22374
22375 _ACEOF
22376 if ac_fn_c_try_link "$LINENO"; then :
22377 gcc_cv_math_func_csinhf=yes
22378 else
22379 gcc_cv_math_func_csinhf=no
22380 fi
22381 rm -f core conftest.err conftest.$ac_objext \
22382 conftest$ac_exeext conftest.$ac_ext
22383 fi
22384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22385 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22386 if test $gcc_cv_math_func_csinhf = yes; then
22387
22388 cat >>confdefs.h <<_ACEOF
22389 #define HAVE_CSINHF 1
22390 _ACEOF
22391
22392 fi
22393
22394
22395
22396
22397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22398 $as_echo_n "checking for csinh... " >&6; }
22399 if ${gcc_cv_math_func_csinh+:} false; then :
22400 $as_echo_n "(cached) " >&6
22401 else
22402 if test x$gcc_no_link = xyes; then
22403 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22404 fi
22405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22406 /* end confdefs.h. */
22407
22408 #ifdef HAVE_COMPLEX_H
22409 #include <complex.h>
22410 #endif
22411 #ifdef HAVE_MATH_H
22412 #include <math.h>
22413 #endif
22414
22415 int (*ptr)() = (int (*)())csinh;
22416
22417 int
22418 main ()
22419 {
22420 return 0;
22421 }
22422
22423 _ACEOF
22424 if ac_fn_c_try_link "$LINENO"; then :
22425 gcc_cv_math_func_csinh=yes
22426 else
22427 gcc_cv_math_func_csinh=no
22428 fi
22429 rm -f core conftest.err conftest.$ac_objext \
22430 conftest$ac_exeext conftest.$ac_ext
22431 fi
22432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22433 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22434 if test $gcc_cv_math_func_csinh = yes; then
22435
22436 cat >>confdefs.h <<_ACEOF
22437 #define HAVE_CSINH 1
22438 _ACEOF
22439
22440 fi
22441
22442
22443
22444
22445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22446 $as_echo_n "checking for csinhl... " >&6; }
22447 if ${gcc_cv_math_func_csinhl+:} false; then :
22448 $as_echo_n "(cached) " >&6
22449 else
22450 if test x$gcc_no_link = xyes; then
22451 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22452 fi
22453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22454 /* end confdefs.h. */
22455
22456 #ifdef HAVE_COMPLEX_H
22457 #include <complex.h>
22458 #endif
22459 #ifdef HAVE_MATH_H
22460 #include <math.h>
22461 #endif
22462
22463 int (*ptr)() = (int (*)())csinhl;
22464
22465 int
22466 main ()
22467 {
22468 return 0;
22469 }
22470
22471 _ACEOF
22472 if ac_fn_c_try_link "$LINENO"; then :
22473 gcc_cv_math_func_csinhl=yes
22474 else
22475 gcc_cv_math_func_csinhl=no
22476 fi
22477 rm -f core conftest.err conftest.$ac_objext \
22478 conftest$ac_exeext conftest.$ac_ext
22479 fi
22480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22481 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22482 if test $gcc_cv_math_func_csinhl = yes; then
22483
22484 cat >>confdefs.h <<_ACEOF
22485 #define HAVE_CSINHL 1
22486 _ACEOF
22487
22488 fi
22489
22490
22491
22492
22493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22494 $as_echo_n "checking for sqrtf... " >&6; }
22495 if ${gcc_cv_math_func_sqrtf+:} false; then :
22496 $as_echo_n "(cached) " >&6
22497 else
22498 if test x$gcc_no_link = xyes; then
22499 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22500 fi
22501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22502 /* end confdefs.h. */
22503
22504 #ifdef HAVE_COMPLEX_H
22505 #include <complex.h>
22506 #endif
22507 #ifdef HAVE_MATH_H
22508 #include <math.h>
22509 #endif
22510
22511 int (*ptr)() = (int (*)())sqrtf;
22512
22513 int
22514 main ()
22515 {
22516 return 0;
22517 }
22518
22519 _ACEOF
22520 if ac_fn_c_try_link "$LINENO"; then :
22521 gcc_cv_math_func_sqrtf=yes
22522 else
22523 gcc_cv_math_func_sqrtf=no
22524 fi
22525 rm -f core conftest.err conftest.$ac_objext \
22526 conftest$ac_exeext conftest.$ac_ext
22527 fi
22528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22529 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22530 if test $gcc_cv_math_func_sqrtf = yes; then
22531
22532 cat >>confdefs.h <<_ACEOF
22533 #define HAVE_SQRTF 1
22534 _ACEOF
22535
22536 fi
22537
22538
22539
22540
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22542 $as_echo_n "checking for sqrt... " >&6; }
22543 if ${gcc_cv_math_func_sqrt+:} false; then :
22544 $as_echo_n "(cached) " >&6
22545 else
22546 if test x$gcc_no_link = xyes; then
22547 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22548 fi
22549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22550 /* end confdefs.h. */
22551
22552 #ifdef HAVE_COMPLEX_H
22553 #include <complex.h>
22554 #endif
22555 #ifdef HAVE_MATH_H
22556 #include <math.h>
22557 #endif
22558
22559 int (*ptr)() = (int (*)())sqrt;
22560
22561 int
22562 main ()
22563 {
22564 return 0;
22565 }
22566
22567 _ACEOF
22568 if ac_fn_c_try_link "$LINENO"; then :
22569 gcc_cv_math_func_sqrt=yes
22570 else
22571 gcc_cv_math_func_sqrt=no
22572 fi
22573 rm -f core conftest.err conftest.$ac_objext \
22574 conftest$ac_exeext conftest.$ac_ext
22575 fi
22576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22577 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22578 if test $gcc_cv_math_func_sqrt = yes; then
22579
22580 cat >>confdefs.h <<_ACEOF
22581 #define HAVE_SQRT 1
22582 _ACEOF
22583
22584 fi
22585
22586
22587
22588
22589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22590 $as_echo_n "checking for sqrtl... " >&6; }
22591 if ${gcc_cv_math_func_sqrtl+:} false; then :
22592 $as_echo_n "(cached) " >&6
22593 else
22594 if test x$gcc_no_link = xyes; then
22595 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22596 fi
22597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22598 /* end confdefs.h. */
22599
22600 #ifdef HAVE_COMPLEX_H
22601 #include <complex.h>
22602 #endif
22603 #ifdef HAVE_MATH_H
22604 #include <math.h>
22605 #endif
22606
22607 int (*ptr)() = (int (*)())sqrtl;
22608
22609 int
22610 main ()
22611 {
22612 return 0;
22613 }
22614
22615 _ACEOF
22616 if ac_fn_c_try_link "$LINENO"; then :
22617 gcc_cv_math_func_sqrtl=yes
22618 else
22619 gcc_cv_math_func_sqrtl=no
22620 fi
22621 rm -f core conftest.err conftest.$ac_objext \
22622 conftest$ac_exeext conftest.$ac_ext
22623 fi
22624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22625 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22626 if test $gcc_cv_math_func_sqrtl = yes; then
22627
22628 cat >>confdefs.h <<_ACEOF
22629 #define HAVE_SQRTL 1
22630 _ACEOF
22631
22632 fi
22633
22634
22635
22636
22637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22638 $as_echo_n "checking for csqrtf... " >&6; }
22639 if ${gcc_cv_math_func_csqrtf+:} false; then :
22640 $as_echo_n "(cached) " >&6
22641 else
22642 if test x$gcc_no_link = xyes; then
22643 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22644 fi
22645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22646 /* end confdefs.h. */
22647
22648 #ifdef HAVE_COMPLEX_H
22649 #include <complex.h>
22650 #endif
22651 #ifdef HAVE_MATH_H
22652 #include <math.h>
22653 #endif
22654
22655 int (*ptr)() = (int (*)())csqrtf;
22656
22657 int
22658 main ()
22659 {
22660 return 0;
22661 }
22662
22663 _ACEOF
22664 if ac_fn_c_try_link "$LINENO"; then :
22665 gcc_cv_math_func_csqrtf=yes
22666 else
22667 gcc_cv_math_func_csqrtf=no
22668 fi
22669 rm -f core conftest.err conftest.$ac_objext \
22670 conftest$ac_exeext conftest.$ac_ext
22671 fi
22672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22673 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22674 if test $gcc_cv_math_func_csqrtf = yes; then
22675
22676 cat >>confdefs.h <<_ACEOF
22677 #define HAVE_CSQRTF 1
22678 _ACEOF
22679
22680 fi
22681
22682
22683
22684
22685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22686 $as_echo_n "checking for csqrt... " >&6; }
22687 if ${gcc_cv_math_func_csqrt+:} false; then :
22688 $as_echo_n "(cached) " >&6
22689 else
22690 if test x$gcc_no_link = xyes; then
22691 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22692 fi
22693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22694 /* end confdefs.h. */
22695
22696 #ifdef HAVE_COMPLEX_H
22697 #include <complex.h>
22698 #endif
22699 #ifdef HAVE_MATH_H
22700 #include <math.h>
22701 #endif
22702
22703 int (*ptr)() = (int (*)())csqrt;
22704
22705 int
22706 main ()
22707 {
22708 return 0;
22709 }
22710
22711 _ACEOF
22712 if ac_fn_c_try_link "$LINENO"; then :
22713 gcc_cv_math_func_csqrt=yes
22714 else
22715 gcc_cv_math_func_csqrt=no
22716 fi
22717 rm -f core conftest.err conftest.$ac_objext \
22718 conftest$ac_exeext conftest.$ac_ext
22719 fi
22720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22721 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22722 if test $gcc_cv_math_func_csqrt = yes; then
22723
22724 cat >>confdefs.h <<_ACEOF
22725 #define HAVE_CSQRT 1
22726 _ACEOF
22727
22728 fi
22729
22730
22731
22732
22733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22734 $as_echo_n "checking for csqrtl... " >&6; }
22735 if ${gcc_cv_math_func_csqrtl+:} false; then :
22736 $as_echo_n "(cached) " >&6
22737 else
22738 if test x$gcc_no_link = xyes; then
22739 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22740 fi
22741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22742 /* end confdefs.h. */
22743
22744 #ifdef HAVE_COMPLEX_H
22745 #include <complex.h>
22746 #endif
22747 #ifdef HAVE_MATH_H
22748 #include <math.h>
22749 #endif
22750
22751 int (*ptr)() = (int (*)())csqrtl;
22752
22753 int
22754 main ()
22755 {
22756 return 0;
22757 }
22758
22759 _ACEOF
22760 if ac_fn_c_try_link "$LINENO"; then :
22761 gcc_cv_math_func_csqrtl=yes
22762 else
22763 gcc_cv_math_func_csqrtl=no
22764 fi
22765 rm -f core conftest.err conftest.$ac_objext \
22766 conftest$ac_exeext conftest.$ac_ext
22767 fi
22768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22769 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22770 if test $gcc_cv_math_func_csqrtl = yes; then
22771
22772 cat >>confdefs.h <<_ACEOF
22773 #define HAVE_CSQRTL 1
22774 _ACEOF
22775
22776 fi
22777
22778
22779
22780
22781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22782 $as_echo_n "checking for tanf... " >&6; }
22783 if ${gcc_cv_math_func_tanf+:} false; then :
22784 $as_echo_n "(cached) " >&6
22785 else
22786 if test x$gcc_no_link = xyes; then
22787 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22788 fi
22789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22790 /* end confdefs.h. */
22791
22792 #ifdef HAVE_COMPLEX_H
22793 #include <complex.h>
22794 #endif
22795 #ifdef HAVE_MATH_H
22796 #include <math.h>
22797 #endif
22798
22799 int (*ptr)() = (int (*)())tanf;
22800
22801 int
22802 main ()
22803 {
22804 return 0;
22805 }
22806
22807 _ACEOF
22808 if ac_fn_c_try_link "$LINENO"; then :
22809 gcc_cv_math_func_tanf=yes
22810 else
22811 gcc_cv_math_func_tanf=no
22812 fi
22813 rm -f core conftest.err conftest.$ac_objext \
22814 conftest$ac_exeext conftest.$ac_ext
22815 fi
22816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22817 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22818 if test $gcc_cv_math_func_tanf = yes; then
22819
22820 cat >>confdefs.h <<_ACEOF
22821 #define HAVE_TANF 1
22822 _ACEOF
22823
22824 fi
22825
22826
22827
22828
22829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22830 $as_echo_n "checking for tan... " >&6; }
22831 if ${gcc_cv_math_func_tan+:} false; then :
22832 $as_echo_n "(cached) " >&6
22833 else
22834 if test x$gcc_no_link = xyes; then
22835 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22836 fi
22837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22838 /* end confdefs.h. */
22839
22840 #ifdef HAVE_COMPLEX_H
22841 #include <complex.h>
22842 #endif
22843 #ifdef HAVE_MATH_H
22844 #include <math.h>
22845 #endif
22846
22847 int (*ptr)() = (int (*)())tan;
22848
22849 int
22850 main ()
22851 {
22852 return 0;
22853 }
22854
22855 _ACEOF
22856 if ac_fn_c_try_link "$LINENO"; then :
22857 gcc_cv_math_func_tan=yes
22858 else
22859 gcc_cv_math_func_tan=no
22860 fi
22861 rm -f core conftest.err conftest.$ac_objext \
22862 conftest$ac_exeext conftest.$ac_ext
22863 fi
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22865 $as_echo "$gcc_cv_math_func_tan" >&6; }
22866 if test $gcc_cv_math_func_tan = yes; then
22867
22868 cat >>confdefs.h <<_ACEOF
22869 #define HAVE_TAN 1
22870 _ACEOF
22871
22872 fi
22873
22874
22875
22876
22877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22878 $as_echo_n "checking for tanl... " >&6; }
22879 if ${gcc_cv_math_func_tanl+:} false; then :
22880 $as_echo_n "(cached) " >&6
22881 else
22882 if test x$gcc_no_link = xyes; then
22883 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22884 fi
22885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22886 /* end confdefs.h. */
22887
22888 #ifdef HAVE_COMPLEX_H
22889 #include <complex.h>
22890 #endif
22891 #ifdef HAVE_MATH_H
22892 #include <math.h>
22893 #endif
22894
22895 int (*ptr)() = (int (*)())tanl;
22896
22897 int
22898 main ()
22899 {
22900 return 0;
22901 }
22902
22903 _ACEOF
22904 if ac_fn_c_try_link "$LINENO"; then :
22905 gcc_cv_math_func_tanl=yes
22906 else
22907 gcc_cv_math_func_tanl=no
22908 fi
22909 rm -f core conftest.err conftest.$ac_objext \
22910 conftest$ac_exeext conftest.$ac_ext
22911 fi
22912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22913 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22914 if test $gcc_cv_math_func_tanl = yes; then
22915
22916 cat >>confdefs.h <<_ACEOF
22917 #define HAVE_TANL 1
22918 _ACEOF
22919
22920 fi
22921
22922
22923
22924
22925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22926 $as_echo_n "checking for ctanf... " >&6; }
22927 if ${gcc_cv_math_func_ctanf+:} false; then :
22928 $as_echo_n "(cached) " >&6
22929 else
22930 if test x$gcc_no_link = xyes; then
22931 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22932 fi
22933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22934 /* end confdefs.h. */
22935
22936 #ifdef HAVE_COMPLEX_H
22937 #include <complex.h>
22938 #endif
22939 #ifdef HAVE_MATH_H
22940 #include <math.h>
22941 #endif
22942
22943 int (*ptr)() = (int (*)())ctanf;
22944
22945 int
22946 main ()
22947 {
22948 return 0;
22949 }
22950
22951 _ACEOF
22952 if ac_fn_c_try_link "$LINENO"; then :
22953 gcc_cv_math_func_ctanf=yes
22954 else
22955 gcc_cv_math_func_ctanf=no
22956 fi
22957 rm -f core conftest.err conftest.$ac_objext \
22958 conftest$ac_exeext conftest.$ac_ext
22959 fi
22960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22961 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22962 if test $gcc_cv_math_func_ctanf = yes; then
22963
22964 cat >>confdefs.h <<_ACEOF
22965 #define HAVE_CTANF 1
22966 _ACEOF
22967
22968 fi
22969
22970
22971
22972
22973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22974 $as_echo_n "checking for ctan... " >&6; }
22975 if ${gcc_cv_math_func_ctan+:} false; then :
22976 $as_echo_n "(cached) " >&6
22977 else
22978 if test x$gcc_no_link = xyes; then
22979 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22980 fi
22981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22982 /* end confdefs.h. */
22983
22984 #ifdef HAVE_COMPLEX_H
22985 #include <complex.h>
22986 #endif
22987 #ifdef HAVE_MATH_H
22988 #include <math.h>
22989 #endif
22990
22991 int (*ptr)() = (int (*)())ctan;
22992
22993 int
22994 main ()
22995 {
22996 return 0;
22997 }
22998
22999 _ACEOF
23000 if ac_fn_c_try_link "$LINENO"; then :
23001 gcc_cv_math_func_ctan=yes
23002 else
23003 gcc_cv_math_func_ctan=no
23004 fi
23005 rm -f core conftest.err conftest.$ac_objext \
23006 conftest$ac_exeext conftest.$ac_ext
23007 fi
23008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23009 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23010 if test $gcc_cv_math_func_ctan = yes; then
23011
23012 cat >>confdefs.h <<_ACEOF
23013 #define HAVE_CTAN 1
23014 _ACEOF
23015
23016 fi
23017
23018
23019
23020
23021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23022 $as_echo_n "checking for ctanl... " >&6; }
23023 if ${gcc_cv_math_func_ctanl+:} false; then :
23024 $as_echo_n "(cached) " >&6
23025 else
23026 if test x$gcc_no_link = xyes; then
23027 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23028 fi
23029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23030 /* end confdefs.h. */
23031
23032 #ifdef HAVE_COMPLEX_H
23033 #include <complex.h>
23034 #endif
23035 #ifdef HAVE_MATH_H
23036 #include <math.h>
23037 #endif
23038
23039 int (*ptr)() = (int (*)())ctanl;
23040
23041 int
23042 main ()
23043 {
23044 return 0;
23045 }
23046
23047 _ACEOF
23048 if ac_fn_c_try_link "$LINENO"; then :
23049 gcc_cv_math_func_ctanl=yes
23050 else
23051 gcc_cv_math_func_ctanl=no
23052 fi
23053 rm -f core conftest.err conftest.$ac_objext \
23054 conftest$ac_exeext conftest.$ac_ext
23055 fi
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23057 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23058 if test $gcc_cv_math_func_ctanl = yes; then
23059
23060 cat >>confdefs.h <<_ACEOF
23061 #define HAVE_CTANL 1
23062 _ACEOF
23063
23064 fi
23065
23066
23067
23068
23069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23070 $as_echo_n "checking for tanhf... " >&6; }
23071 if ${gcc_cv_math_func_tanhf+:} false; then :
23072 $as_echo_n "(cached) " >&6
23073 else
23074 if test x$gcc_no_link = xyes; then
23075 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23076 fi
23077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23078 /* end confdefs.h. */
23079
23080 #ifdef HAVE_COMPLEX_H
23081 #include <complex.h>
23082 #endif
23083 #ifdef HAVE_MATH_H
23084 #include <math.h>
23085 #endif
23086
23087 int (*ptr)() = (int (*)())tanhf;
23088
23089 int
23090 main ()
23091 {
23092 return 0;
23093 }
23094
23095 _ACEOF
23096 if ac_fn_c_try_link "$LINENO"; then :
23097 gcc_cv_math_func_tanhf=yes
23098 else
23099 gcc_cv_math_func_tanhf=no
23100 fi
23101 rm -f core conftest.err conftest.$ac_objext \
23102 conftest$ac_exeext conftest.$ac_ext
23103 fi
23104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23105 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23106 if test $gcc_cv_math_func_tanhf = yes; then
23107
23108 cat >>confdefs.h <<_ACEOF
23109 #define HAVE_TANHF 1
23110 _ACEOF
23111
23112 fi
23113
23114
23115
23116
23117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23118 $as_echo_n "checking for tanh... " >&6; }
23119 if ${gcc_cv_math_func_tanh+:} false; then :
23120 $as_echo_n "(cached) " >&6
23121 else
23122 if test x$gcc_no_link = xyes; then
23123 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23124 fi
23125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23126 /* end confdefs.h. */
23127
23128 #ifdef HAVE_COMPLEX_H
23129 #include <complex.h>
23130 #endif
23131 #ifdef HAVE_MATH_H
23132 #include <math.h>
23133 #endif
23134
23135 int (*ptr)() = (int (*)())tanh;
23136
23137 int
23138 main ()
23139 {
23140 return 0;
23141 }
23142
23143 _ACEOF
23144 if ac_fn_c_try_link "$LINENO"; then :
23145 gcc_cv_math_func_tanh=yes
23146 else
23147 gcc_cv_math_func_tanh=no
23148 fi
23149 rm -f core conftest.err conftest.$ac_objext \
23150 conftest$ac_exeext conftest.$ac_ext
23151 fi
23152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23153 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23154 if test $gcc_cv_math_func_tanh = yes; then
23155
23156 cat >>confdefs.h <<_ACEOF
23157 #define HAVE_TANH 1
23158 _ACEOF
23159
23160 fi
23161
23162
23163
23164
23165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23166 $as_echo_n "checking for tanhl... " >&6; }
23167 if ${gcc_cv_math_func_tanhl+:} false; then :
23168 $as_echo_n "(cached) " >&6
23169 else
23170 if test x$gcc_no_link = xyes; then
23171 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23172 fi
23173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23174 /* end confdefs.h. */
23175
23176 #ifdef HAVE_COMPLEX_H
23177 #include <complex.h>
23178 #endif
23179 #ifdef HAVE_MATH_H
23180 #include <math.h>
23181 #endif
23182
23183 int (*ptr)() = (int (*)())tanhl;
23184
23185 int
23186 main ()
23187 {
23188 return 0;
23189 }
23190
23191 _ACEOF
23192 if ac_fn_c_try_link "$LINENO"; then :
23193 gcc_cv_math_func_tanhl=yes
23194 else
23195 gcc_cv_math_func_tanhl=no
23196 fi
23197 rm -f core conftest.err conftest.$ac_objext \
23198 conftest$ac_exeext conftest.$ac_ext
23199 fi
23200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23201 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23202 if test $gcc_cv_math_func_tanhl = yes; then
23203
23204 cat >>confdefs.h <<_ACEOF
23205 #define HAVE_TANHL 1
23206 _ACEOF
23207
23208 fi
23209
23210
23211
23212
23213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23214 $as_echo_n "checking for ctanhf... " >&6; }
23215 if ${gcc_cv_math_func_ctanhf+:} false; then :
23216 $as_echo_n "(cached) " >&6
23217 else
23218 if test x$gcc_no_link = xyes; then
23219 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23220 fi
23221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23222 /* end confdefs.h. */
23223
23224 #ifdef HAVE_COMPLEX_H
23225 #include <complex.h>
23226 #endif
23227 #ifdef HAVE_MATH_H
23228 #include <math.h>
23229 #endif
23230
23231 int (*ptr)() = (int (*)())ctanhf;
23232
23233 int
23234 main ()
23235 {
23236 return 0;
23237 }
23238
23239 _ACEOF
23240 if ac_fn_c_try_link "$LINENO"; then :
23241 gcc_cv_math_func_ctanhf=yes
23242 else
23243 gcc_cv_math_func_ctanhf=no
23244 fi
23245 rm -f core conftest.err conftest.$ac_objext \
23246 conftest$ac_exeext conftest.$ac_ext
23247 fi
23248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23249 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23250 if test $gcc_cv_math_func_ctanhf = yes; then
23251
23252 cat >>confdefs.h <<_ACEOF
23253 #define HAVE_CTANHF 1
23254 _ACEOF
23255
23256 fi
23257
23258
23259
23260
23261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23262 $as_echo_n "checking for ctanh... " >&6; }
23263 if ${gcc_cv_math_func_ctanh+:} false; then :
23264 $as_echo_n "(cached) " >&6
23265 else
23266 if test x$gcc_no_link = xyes; then
23267 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23268 fi
23269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23270 /* end confdefs.h. */
23271
23272 #ifdef HAVE_COMPLEX_H
23273 #include <complex.h>
23274 #endif
23275 #ifdef HAVE_MATH_H
23276 #include <math.h>
23277 #endif
23278
23279 int (*ptr)() = (int (*)())ctanh;
23280
23281 int
23282 main ()
23283 {
23284 return 0;
23285 }
23286
23287 _ACEOF
23288 if ac_fn_c_try_link "$LINENO"; then :
23289 gcc_cv_math_func_ctanh=yes
23290 else
23291 gcc_cv_math_func_ctanh=no
23292 fi
23293 rm -f core conftest.err conftest.$ac_objext \
23294 conftest$ac_exeext conftest.$ac_ext
23295 fi
23296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23297 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23298 if test $gcc_cv_math_func_ctanh = yes; then
23299
23300 cat >>confdefs.h <<_ACEOF
23301 #define HAVE_CTANH 1
23302 _ACEOF
23303
23304 fi
23305
23306
23307
23308
23309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23310 $as_echo_n "checking for ctanhl... " >&6; }
23311 if ${gcc_cv_math_func_ctanhl+:} false; then :
23312 $as_echo_n "(cached) " >&6
23313 else
23314 if test x$gcc_no_link = xyes; then
23315 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23316 fi
23317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23318 /* end confdefs.h. */
23319
23320 #ifdef HAVE_COMPLEX_H
23321 #include <complex.h>
23322 #endif
23323 #ifdef HAVE_MATH_H
23324 #include <math.h>
23325 #endif
23326
23327 int (*ptr)() = (int (*)())ctanhl;
23328
23329 int
23330 main ()
23331 {
23332 return 0;
23333 }
23334
23335 _ACEOF
23336 if ac_fn_c_try_link "$LINENO"; then :
23337 gcc_cv_math_func_ctanhl=yes
23338 else
23339 gcc_cv_math_func_ctanhl=no
23340 fi
23341 rm -f core conftest.err conftest.$ac_objext \
23342 conftest$ac_exeext conftest.$ac_ext
23343 fi
23344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23345 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23346 if test $gcc_cv_math_func_ctanhl = yes; then
23347
23348 cat >>confdefs.h <<_ACEOF
23349 #define HAVE_CTANHL 1
23350 _ACEOF
23351
23352 fi
23353
23354
23355
23356
23357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23358 $as_echo_n "checking for truncf... " >&6; }
23359 if ${gcc_cv_math_func_truncf+:} false; then :
23360 $as_echo_n "(cached) " >&6
23361 else
23362 if test x$gcc_no_link = xyes; then
23363 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23364 fi
23365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23366 /* end confdefs.h. */
23367
23368 #ifdef HAVE_COMPLEX_H
23369 #include <complex.h>
23370 #endif
23371 #ifdef HAVE_MATH_H
23372 #include <math.h>
23373 #endif
23374
23375 int (*ptr)() = (int (*)())truncf;
23376
23377 int
23378 main ()
23379 {
23380 return 0;
23381 }
23382
23383 _ACEOF
23384 if ac_fn_c_try_link "$LINENO"; then :
23385 gcc_cv_math_func_truncf=yes
23386 else
23387 gcc_cv_math_func_truncf=no
23388 fi
23389 rm -f core conftest.err conftest.$ac_objext \
23390 conftest$ac_exeext conftest.$ac_ext
23391 fi
23392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23393 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23394 if test $gcc_cv_math_func_truncf = yes; then
23395
23396 cat >>confdefs.h <<_ACEOF
23397 #define HAVE_TRUNCF 1
23398 _ACEOF
23399
23400 fi
23401
23402
23403
23404
23405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23406 $as_echo_n "checking for trunc... " >&6; }
23407 if ${gcc_cv_math_func_trunc+:} false; then :
23408 $as_echo_n "(cached) " >&6
23409 else
23410 if test x$gcc_no_link = xyes; then
23411 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23412 fi
23413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23414 /* end confdefs.h. */
23415
23416 #ifdef HAVE_COMPLEX_H
23417 #include <complex.h>
23418 #endif
23419 #ifdef HAVE_MATH_H
23420 #include <math.h>
23421 #endif
23422
23423 int (*ptr)() = (int (*)())trunc;
23424
23425 int
23426 main ()
23427 {
23428 return 0;
23429 }
23430
23431 _ACEOF
23432 if ac_fn_c_try_link "$LINENO"; then :
23433 gcc_cv_math_func_trunc=yes
23434 else
23435 gcc_cv_math_func_trunc=no
23436 fi
23437 rm -f core conftest.err conftest.$ac_objext \
23438 conftest$ac_exeext conftest.$ac_ext
23439 fi
23440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23441 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23442 if test $gcc_cv_math_func_trunc = yes; then
23443
23444 cat >>confdefs.h <<_ACEOF
23445 #define HAVE_TRUNC 1
23446 _ACEOF
23447
23448 fi
23449
23450
23451
23452
23453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23454 $as_echo_n "checking for truncl... " >&6; }
23455 if ${gcc_cv_math_func_truncl+:} false; then :
23456 $as_echo_n "(cached) " >&6
23457 else
23458 if test x$gcc_no_link = xyes; then
23459 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23460 fi
23461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23462 /* end confdefs.h. */
23463
23464 #ifdef HAVE_COMPLEX_H
23465 #include <complex.h>
23466 #endif
23467 #ifdef HAVE_MATH_H
23468 #include <math.h>
23469 #endif
23470
23471 int (*ptr)() = (int (*)())truncl;
23472
23473 int
23474 main ()
23475 {
23476 return 0;
23477 }
23478
23479 _ACEOF
23480 if ac_fn_c_try_link "$LINENO"; then :
23481 gcc_cv_math_func_truncl=yes
23482 else
23483 gcc_cv_math_func_truncl=no
23484 fi
23485 rm -f core conftest.err conftest.$ac_objext \
23486 conftest$ac_exeext conftest.$ac_ext
23487 fi
23488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23489 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23490 if test $gcc_cv_math_func_truncl = yes; then
23491
23492 cat >>confdefs.h <<_ACEOF
23493 #define HAVE_TRUNCL 1
23494 _ACEOF
23495
23496 fi
23497
23498
23499
23500
23501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23502 $as_echo_n "checking for erff... " >&6; }
23503 if ${gcc_cv_math_func_erff+:} false; then :
23504 $as_echo_n "(cached) " >&6
23505 else
23506 if test x$gcc_no_link = xyes; then
23507 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23508 fi
23509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23510 /* end confdefs.h. */
23511
23512 #ifdef HAVE_COMPLEX_H
23513 #include <complex.h>
23514 #endif
23515 #ifdef HAVE_MATH_H
23516 #include <math.h>
23517 #endif
23518
23519 int (*ptr)() = (int (*)())erff;
23520
23521 int
23522 main ()
23523 {
23524 return 0;
23525 }
23526
23527 _ACEOF
23528 if ac_fn_c_try_link "$LINENO"; then :
23529 gcc_cv_math_func_erff=yes
23530 else
23531 gcc_cv_math_func_erff=no
23532 fi
23533 rm -f core conftest.err conftest.$ac_objext \
23534 conftest$ac_exeext conftest.$ac_ext
23535 fi
23536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23537 $as_echo "$gcc_cv_math_func_erff" >&6; }
23538 if test $gcc_cv_math_func_erff = yes; then
23539
23540 cat >>confdefs.h <<_ACEOF
23541 #define HAVE_ERFF 1
23542 _ACEOF
23543
23544 fi
23545
23546
23547
23548
23549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23550 $as_echo_n "checking for erf... " >&6; }
23551 if ${gcc_cv_math_func_erf+:} false; then :
23552 $as_echo_n "(cached) " >&6
23553 else
23554 if test x$gcc_no_link = xyes; then
23555 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23556 fi
23557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23558 /* end confdefs.h. */
23559
23560 #ifdef HAVE_COMPLEX_H
23561 #include <complex.h>
23562 #endif
23563 #ifdef HAVE_MATH_H
23564 #include <math.h>
23565 #endif
23566
23567 int (*ptr)() = (int (*)())erf;
23568
23569 int
23570 main ()
23571 {
23572 return 0;
23573 }
23574
23575 _ACEOF
23576 if ac_fn_c_try_link "$LINENO"; then :
23577 gcc_cv_math_func_erf=yes
23578 else
23579 gcc_cv_math_func_erf=no
23580 fi
23581 rm -f core conftest.err conftest.$ac_objext \
23582 conftest$ac_exeext conftest.$ac_ext
23583 fi
23584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23585 $as_echo "$gcc_cv_math_func_erf" >&6; }
23586 if test $gcc_cv_math_func_erf = yes; then
23587
23588 cat >>confdefs.h <<_ACEOF
23589 #define HAVE_ERF 1
23590 _ACEOF
23591
23592 fi
23593
23594
23595
23596
23597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23598 $as_echo_n "checking for erfcf... " >&6; }
23599 if ${gcc_cv_math_func_erfcf+:} false; then :
23600 $as_echo_n "(cached) " >&6
23601 else
23602 if test x$gcc_no_link = xyes; then
23603 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23604 fi
23605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23606 /* end confdefs.h. */
23607
23608 #ifdef HAVE_COMPLEX_H
23609 #include <complex.h>
23610 #endif
23611 #ifdef HAVE_MATH_H
23612 #include <math.h>
23613 #endif
23614
23615 int (*ptr)() = (int (*)())erfcf;
23616
23617 int
23618 main ()
23619 {
23620 return 0;
23621 }
23622
23623 _ACEOF
23624 if ac_fn_c_try_link "$LINENO"; then :
23625 gcc_cv_math_func_erfcf=yes
23626 else
23627 gcc_cv_math_func_erfcf=no
23628 fi
23629 rm -f core conftest.err conftest.$ac_objext \
23630 conftest$ac_exeext conftest.$ac_ext
23631 fi
23632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23633 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23634 if test $gcc_cv_math_func_erfcf = yes; then
23635
23636 cat >>confdefs.h <<_ACEOF
23637 #define HAVE_ERFCF 1
23638 _ACEOF
23639
23640 fi
23641
23642
23643
23644
23645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23646 $as_echo_n "checking for erfc... " >&6; }
23647 if ${gcc_cv_math_func_erfc+:} false; then :
23648 $as_echo_n "(cached) " >&6
23649 else
23650 if test x$gcc_no_link = xyes; then
23651 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23652 fi
23653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23654 /* end confdefs.h. */
23655
23656 #ifdef HAVE_COMPLEX_H
23657 #include <complex.h>
23658 #endif
23659 #ifdef HAVE_MATH_H
23660 #include <math.h>
23661 #endif
23662
23663 int (*ptr)() = (int (*)())erfc;
23664
23665 int
23666 main ()
23667 {
23668 return 0;
23669 }
23670
23671 _ACEOF
23672 if ac_fn_c_try_link "$LINENO"; then :
23673 gcc_cv_math_func_erfc=yes
23674 else
23675 gcc_cv_math_func_erfc=no
23676 fi
23677 rm -f core conftest.err conftest.$ac_objext \
23678 conftest$ac_exeext conftest.$ac_ext
23679 fi
23680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23681 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23682 if test $gcc_cv_math_func_erfc = yes; then
23683
23684 cat >>confdefs.h <<_ACEOF
23685 #define HAVE_ERFC 1
23686 _ACEOF
23687
23688 fi
23689
23690
23691
23692
23693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23694 $as_echo_n "checking for erfcl... " >&6; }
23695 if ${gcc_cv_math_func_erfcl+:} false; then :
23696 $as_echo_n "(cached) " >&6
23697 else
23698 if test x$gcc_no_link = xyes; then
23699 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23700 fi
23701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23702 /* end confdefs.h. */
23703
23704 #ifdef HAVE_COMPLEX_H
23705 #include <complex.h>
23706 #endif
23707 #ifdef HAVE_MATH_H
23708 #include <math.h>
23709 #endif
23710
23711 int (*ptr)() = (int (*)())erfcl;
23712
23713 int
23714 main ()
23715 {
23716 return 0;
23717 }
23718
23719 _ACEOF
23720 if ac_fn_c_try_link "$LINENO"; then :
23721 gcc_cv_math_func_erfcl=yes
23722 else
23723 gcc_cv_math_func_erfcl=no
23724 fi
23725 rm -f core conftest.err conftest.$ac_objext \
23726 conftest$ac_exeext conftest.$ac_ext
23727 fi
23728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23729 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23730 if test $gcc_cv_math_func_erfcl = yes; then
23731
23732 cat >>confdefs.h <<_ACEOF
23733 #define HAVE_ERFCL 1
23734 _ACEOF
23735
23736 fi
23737
23738
23739
23740
23741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23742 $as_echo_n "checking for j0f... " >&6; }
23743 if ${gcc_cv_math_func_j0f+:} false; then :
23744 $as_echo_n "(cached) " >&6
23745 else
23746 if test x$gcc_no_link = xyes; then
23747 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23748 fi
23749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23750 /* end confdefs.h. */
23751
23752 #ifdef HAVE_COMPLEX_H
23753 #include <complex.h>
23754 #endif
23755 #ifdef HAVE_MATH_H
23756 #include <math.h>
23757 #endif
23758
23759 int (*ptr)() = (int (*)())j0f;
23760
23761 int
23762 main ()
23763 {
23764 return 0;
23765 }
23766
23767 _ACEOF
23768 if ac_fn_c_try_link "$LINENO"; then :
23769 gcc_cv_math_func_j0f=yes
23770 else
23771 gcc_cv_math_func_j0f=no
23772 fi
23773 rm -f core conftest.err conftest.$ac_objext \
23774 conftest$ac_exeext conftest.$ac_ext
23775 fi
23776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23777 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23778 if test $gcc_cv_math_func_j0f = yes; then
23779
23780 cat >>confdefs.h <<_ACEOF
23781 #define HAVE_J0F 1
23782 _ACEOF
23783
23784 fi
23785
23786
23787
23788
23789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23790 $as_echo_n "checking for j0... " >&6; }
23791 if ${gcc_cv_math_func_j0+:} false; then :
23792 $as_echo_n "(cached) " >&6
23793 else
23794 if test x$gcc_no_link = xyes; then
23795 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23796 fi
23797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23798 /* end confdefs.h. */
23799
23800 #ifdef HAVE_COMPLEX_H
23801 #include <complex.h>
23802 #endif
23803 #ifdef HAVE_MATH_H
23804 #include <math.h>
23805 #endif
23806
23807 int (*ptr)() = (int (*)())j0;
23808
23809 int
23810 main ()
23811 {
23812 return 0;
23813 }
23814
23815 _ACEOF
23816 if ac_fn_c_try_link "$LINENO"; then :
23817 gcc_cv_math_func_j0=yes
23818 else
23819 gcc_cv_math_func_j0=no
23820 fi
23821 rm -f core conftest.err conftest.$ac_objext \
23822 conftest$ac_exeext conftest.$ac_ext
23823 fi
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23825 $as_echo "$gcc_cv_math_func_j0" >&6; }
23826 if test $gcc_cv_math_func_j0 = yes; then
23827
23828 cat >>confdefs.h <<_ACEOF
23829 #define HAVE_J0 1
23830 _ACEOF
23831
23832 fi
23833
23834
23835
23836
23837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23838 $as_echo_n "checking for j1f... " >&6; }
23839 if ${gcc_cv_math_func_j1f+:} false; then :
23840 $as_echo_n "(cached) " >&6
23841 else
23842 if test x$gcc_no_link = xyes; then
23843 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23844 fi
23845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23846 /* end confdefs.h. */
23847
23848 #ifdef HAVE_COMPLEX_H
23849 #include <complex.h>
23850 #endif
23851 #ifdef HAVE_MATH_H
23852 #include <math.h>
23853 #endif
23854
23855 int (*ptr)() = (int (*)())j1f;
23856
23857 int
23858 main ()
23859 {
23860 return 0;
23861 }
23862
23863 _ACEOF
23864 if ac_fn_c_try_link "$LINENO"; then :
23865 gcc_cv_math_func_j1f=yes
23866 else
23867 gcc_cv_math_func_j1f=no
23868 fi
23869 rm -f core conftest.err conftest.$ac_objext \
23870 conftest$ac_exeext conftest.$ac_ext
23871 fi
23872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23873 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23874 if test $gcc_cv_math_func_j1f = yes; then
23875
23876 cat >>confdefs.h <<_ACEOF
23877 #define HAVE_J1F 1
23878 _ACEOF
23879
23880 fi
23881
23882
23883
23884
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23886 $as_echo_n "checking for j1... " >&6; }
23887 if ${gcc_cv_math_func_j1+:} false; then :
23888 $as_echo_n "(cached) " >&6
23889 else
23890 if test x$gcc_no_link = xyes; then
23891 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23892 fi
23893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23894 /* end confdefs.h. */
23895
23896 #ifdef HAVE_COMPLEX_H
23897 #include <complex.h>
23898 #endif
23899 #ifdef HAVE_MATH_H
23900 #include <math.h>
23901 #endif
23902
23903 int (*ptr)() = (int (*)())j1;
23904
23905 int
23906 main ()
23907 {
23908 return 0;
23909 }
23910
23911 _ACEOF
23912 if ac_fn_c_try_link "$LINENO"; then :
23913 gcc_cv_math_func_j1=yes
23914 else
23915 gcc_cv_math_func_j1=no
23916 fi
23917 rm -f core conftest.err conftest.$ac_objext \
23918 conftest$ac_exeext conftest.$ac_ext
23919 fi
23920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23921 $as_echo "$gcc_cv_math_func_j1" >&6; }
23922 if test $gcc_cv_math_func_j1 = yes; then
23923
23924 cat >>confdefs.h <<_ACEOF
23925 #define HAVE_J1 1
23926 _ACEOF
23927
23928 fi
23929
23930
23931
23932
23933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23934 $as_echo_n "checking for jnf... " >&6; }
23935 if ${gcc_cv_math_func_jnf+:} false; then :
23936 $as_echo_n "(cached) " >&6
23937 else
23938 if test x$gcc_no_link = xyes; then
23939 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23940 fi
23941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23942 /* end confdefs.h. */
23943
23944 #ifdef HAVE_COMPLEX_H
23945 #include <complex.h>
23946 #endif
23947 #ifdef HAVE_MATH_H
23948 #include <math.h>
23949 #endif
23950
23951 int (*ptr)() = (int (*)())jnf;
23952
23953 int
23954 main ()
23955 {
23956 return 0;
23957 }
23958
23959 _ACEOF
23960 if ac_fn_c_try_link "$LINENO"; then :
23961 gcc_cv_math_func_jnf=yes
23962 else
23963 gcc_cv_math_func_jnf=no
23964 fi
23965 rm -f core conftest.err conftest.$ac_objext \
23966 conftest$ac_exeext conftest.$ac_ext
23967 fi
23968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23969 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23970 if test $gcc_cv_math_func_jnf = yes; then
23971
23972 cat >>confdefs.h <<_ACEOF
23973 #define HAVE_JNF 1
23974 _ACEOF
23975
23976 fi
23977
23978
23979
23980
23981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23982 $as_echo_n "checking for jn... " >&6; }
23983 if ${gcc_cv_math_func_jn+:} false; then :
23984 $as_echo_n "(cached) " >&6
23985 else
23986 if test x$gcc_no_link = xyes; then
23987 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23988 fi
23989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23990 /* end confdefs.h. */
23991
23992 #ifdef HAVE_COMPLEX_H
23993 #include <complex.h>
23994 #endif
23995 #ifdef HAVE_MATH_H
23996 #include <math.h>
23997 #endif
23998
23999 int (*ptr)() = (int (*)())jn;
24000
24001 int
24002 main ()
24003 {
24004 return 0;
24005 }
24006
24007 _ACEOF
24008 if ac_fn_c_try_link "$LINENO"; then :
24009 gcc_cv_math_func_jn=yes
24010 else
24011 gcc_cv_math_func_jn=no
24012 fi
24013 rm -f core conftest.err conftest.$ac_objext \
24014 conftest$ac_exeext conftest.$ac_ext
24015 fi
24016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24017 $as_echo "$gcc_cv_math_func_jn" >&6; }
24018 if test $gcc_cv_math_func_jn = yes; then
24019
24020 cat >>confdefs.h <<_ACEOF
24021 #define HAVE_JN 1
24022 _ACEOF
24023
24024 fi
24025
24026
24027
24028
24029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24030 $as_echo_n "checking for jnl... " >&6; }
24031 if ${gcc_cv_math_func_jnl+:} false; then :
24032 $as_echo_n "(cached) " >&6
24033 else
24034 if test x$gcc_no_link = xyes; then
24035 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24036 fi
24037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24038 /* end confdefs.h. */
24039
24040 #ifdef HAVE_COMPLEX_H
24041 #include <complex.h>
24042 #endif
24043 #ifdef HAVE_MATH_H
24044 #include <math.h>
24045 #endif
24046
24047 int (*ptr)() = (int (*)())jnl;
24048
24049 int
24050 main ()
24051 {
24052 return 0;
24053 }
24054
24055 _ACEOF
24056 if ac_fn_c_try_link "$LINENO"; then :
24057 gcc_cv_math_func_jnl=yes
24058 else
24059 gcc_cv_math_func_jnl=no
24060 fi
24061 rm -f core conftest.err conftest.$ac_objext \
24062 conftest$ac_exeext conftest.$ac_ext
24063 fi
24064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24065 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24066 if test $gcc_cv_math_func_jnl = yes; then
24067
24068 cat >>confdefs.h <<_ACEOF
24069 #define HAVE_JNL 1
24070 _ACEOF
24071
24072 fi
24073
24074
24075
24076
24077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24078 $as_echo_n "checking for y0f... " >&6; }
24079 if ${gcc_cv_math_func_y0f+:} false; then :
24080 $as_echo_n "(cached) " >&6
24081 else
24082 if test x$gcc_no_link = xyes; then
24083 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24084 fi
24085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24086 /* end confdefs.h. */
24087
24088 #ifdef HAVE_COMPLEX_H
24089 #include <complex.h>
24090 #endif
24091 #ifdef HAVE_MATH_H
24092 #include <math.h>
24093 #endif
24094
24095 int (*ptr)() = (int (*)())y0f;
24096
24097 int
24098 main ()
24099 {
24100 return 0;
24101 }
24102
24103 _ACEOF
24104 if ac_fn_c_try_link "$LINENO"; then :
24105 gcc_cv_math_func_y0f=yes
24106 else
24107 gcc_cv_math_func_y0f=no
24108 fi
24109 rm -f core conftest.err conftest.$ac_objext \
24110 conftest$ac_exeext conftest.$ac_ext
24111 fi
24112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24113 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24114 if test $gcc_cv_math_func_y0f = yes; then
24115
24116 cat >>confdefs.h <<_ACEOF
24117 #define HAVE_Y0F 1
24118 _ACEOF
24119
24120 fi
24121
24122
24123
24124
24125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24126 $as_echo_n "checking for y0... " >&6; }
24127 if ${gcc_cv_math_func_y0+:} false; then :
24128 $as_echo_n "(cached) " >&6
24129 else
24130 if test x$gcc_no_link = xyes; then
24131 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24132 fi
24133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24134 /* end confdefs.h. */
24135
24136 #ifdef HAVE_COMPLEX_H
24137 #include <complex.h>
24138 #endif
24139 #ifdef HAVE_MATH_H
24140 #include <math.h>
24141 #endif
24142
24143 int (*ptr)() = (int (*)())y0;
24144
24145 int
24146 main ()
24147 {
24148 return 0;
24149 }
24150
24151 _ACEOF
24152 if ac_fn_c_try_link "$LINENO"; then :
24153 gcc_cv_math_func_y0=yes
24154 else
24155 gcc_cv_math_func_y0=no
24156 fi
24157 rm -f core conftest.err conftest.$ac_objext \
24158 conftest$ac_exeext conftest.$ac_ext
24159 fi
24160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24161 $as_echo "$gcc_cv_math_func_y0" >&6; }
24162 if test $gcc_cv_math_func_y0 = yes; then
24163
24164 cat >>confdefs.h <<_ACEOF
24165 #define HAVE_Y0 1
24166 _ACEOF
24167
24168 fi
24169
24170
24171
24172
24173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24174 $as_echo_n "checking for y1f... " >&6; }
24175 if ${gcc_cv_math_func_y1f+:} false; then :
24176 $as_echo_n "(cached) " >&6
24177 else
24178 if test x$gcc_no_link = xyes; then
24179 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24180 fi
24181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24182 /* end confdefs.h. */
24183
24184 #ifdef HAVE_COMPLEX_H
24185 #include <complex.h>
24186 #endif
24187 #ifdef HAVE_MATH_H
24188 #include <math.h>
24189 #endif
24190
24191 int (*ptr)() = (int (*)())y1f;
24192
24193 int
24194 main ()
24195 {
24196 return 0;
24197 }
24198
24199 _ACEOF
24200 if ac_fn_c_try_link "$LINENO"; then :
24201 gcc_cv_math_func_y1f=yes
24202 else
24203 gcc_cv_math_func_y1f=no
24204 fi
24205 rm -f core conftest.err conftest.$ac_objext \
24206 conftest$ac_exeext conftest.$ac_ext
24207 fi
24208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24209 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24210 if test $gcc_cv_math_func_y1f = yes; then
24211
24212 cat >>confdefs.h <<_ACEOF
24213 #define HAVE_Y1F 1
24214 _ACEOF
24215
24216 fi
24217
24218
24219
24220
24221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24222 $as_echo_n "checking for y1... " >&6; }
24223 if ${gcc_cv_math_func_y1+:} false; then :
24224 $as_echo_n "(cached) " >&6
24225 else
24226 if test x$gcc_no_link = xyes; then
24227 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24228 fi
24229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24230 /* end confdefs.h. */
24231
24232 #ifdef HAVE_COMPLEX_H
24233 #include <complex.h>
24234 #endif
24235 #ifdef HAVE_MATH_H
24236 #include <math.h>
24237 #endif
24238
24239 int (*ptr)() = (int (*)())y1;
24240
24241 int
24242 main ()
24243 {
24244 return 0;
24245 }
24246
24247 _ACEOF
24248 if ac_fn_c_try_link "$LINENO"; then :
24249 gcc_cv_math_func_y1=yes
24250 else
24251 gcc_cv_math_func_y1=no
24252 fi
24253 rm -f core conftest.err conftest.$ac_objext \
24254 conftest$ac_exeext conftest.$ac_ext
24255 fi
24256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24257 $as_echo "$gcc_cv_math_func_y1" >&6; }
24258 if test $gcc_cv_math_func_y1 = yes; then
24259
24260 cat >>confdefs.h <<_ACEOF
24261 #define HAVE_Y1 1
24262 _ACEOF
24263
24264 fi
24265
24266
24267
24268
24269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24270 $as_echo_n "checking for ynf... " >&6; }
24271 if ${gcc_cv_math_func_ynf+:} false; then :
24272 $as_echo_n "(cached) " >&6
24273 else
24274 if test x$gcc_no_link = xyes; then
24275 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24276 fi
24277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24278 /* end confdefs.h. */
24279
24280 #ifdef HAVE_COMPLEX_H
24281 #include <complex.h>
24282 #endif
24283 #ifdef HAVE_MATH_H
24284 #include <math.h>
24285 #endif
24286
24287 int (*ptr)() = (int (*)())ynf;
24288
24289 int
24290 main ()
24291 {
24292 return 0;
24293 }
24294
24295 _ACEOF
24296 if ac_fn_c_try_link "$LINENO"; then :
24297 gcc_cv_math_func_ynf=yes
24298 else
24299 gcc_cv_math_func_ynf=no
24300 fi
24301 rm -f core conftest.err conftest.$ac_objext \
24302 conftest$ac_exeext conftest.$ac_ext
24303 fi
24304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24305 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24306 if test $gcc_cv_math_func_ynf = yes; then
24307
24308 cat >>confdefs.h <<_ACEOF
24309 #define HAVE_YNF 1
24310 _ACEOF
24311
24312 fi
24313
24314
24315
24316
24317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24318 $as_echo_n "checking for yn... " >&6; }
24319 if ${gcc_cv_math_func_yn+:} false; then :
24320 $as_echo_n "(cached) " >&6
24321 else
24322 if test x$gcc_no_link = xyes; then
24323 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24324 fi
24325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24326 /* end confdefs.h. */
24327
24328 #ifdef HAVE_COMPLEX_H
24329 #include <complex.h>
24330 #endif
24331 #ifdef HAVE_MATH_H
24332 #include <math.h>
24333 #endif
24334
24335 int (*ptr)() = (int (*)())yn;
24336
24337 int
24338 main ()
24339 {
24340 return 0;
24341 }
24342
24343 _ACEOF
24344 if ac_fn_c_try_link "$LINENO"; then :
24345 gcc_cv_math_func_yn=yes
24346 else
24347 gcc_cv_math_func_yn=no
24348 fi
24349 rm -f core conftest.err conftest.$ac_objext \
24350 conftest$ac_exeext conftest.$ac_ext
24351 fi
24352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24353 $as_echo "$gcc_cv_math_func_yn" >&6; }
24354 if test $gcc_cv_math_func_yn = yes; then
24355
24356 cat >>confdefs.h <<_ACEOF
24357 #define HAVE_YN 1
24358 _ACEOF
24359
24360 fi
24361
24362
24363
24364
24365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24366 $as_echo_n "checking for ynl... " >&6; }
24367 if ${gcc_cv_math_func_ynl+:} false; then :
24368 $as_echo_n "(cached) " >&6
24369 else
24370 if test x$gcc_no_link = xyes; then
24371 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24372 fi
24373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24374 /* end confdefs.h. */
24375
24376 #ifdef HAVE_COMPLEX_H
24377 #include <complex.h>
24378 #endif
24379 #ifdef HAVE_MATH_H
24380 #include <math.h>
24381 #endif
24382
24383 int (*ptr)() = (int (*)())ynl;
24384
24385 int
24386 main ()
24387 {
24388 return 0;
24389 }
24390
24391 _ACEOF
24392 if ac_fn_c_try_link "$LINENO"; then :
24393 gcc_cv_math_func_ynl=yes
24394 else
24395 gcc_cv_math_func_ynl=no
24396 fi
24397 rm -f core conftest.err conftest.$ac_objext \
24398 conftest$ac_exeext conftest.$ac_ext
24399 fi
24400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24401 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24402 if test $gcc_cv_math_func_ynl = yes; then
24403
24404 cat >>confdefs.h <<_ACEOF
24405 #define HAVE_YNL 1
24406 _ACEOF
24407
24408 fi
24409
24410
24411
24412
24413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24414 $as_echo_n "checking for tgamma... " >&6; }
24415 if ${gcc_cv_math_func_tgamma+:} false; then :
24416 $as_echo_n "(cached) " >&6
24417 else
24418 if test x$gcc_no_link = xyes; then
24419 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24420 fi
24421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24422 /* end confdefs.h. */
24423
24424 #ifdef HAVE_COMPLEX_H
24425 #include <complex.h>
24426 #endif
24427 #ifdef HAVE_MATH_H
24428 #include <math.h>
24429 #endif
24430
24431 int (*ptr)() = (int (*)())tgamma;
24432
24433 int
24434 main ()
24435 {
24436 return 0;
24437 }
24438
24439 _ACEOF
24440 if ac_fn_c_try_link "$LINENO"; then :
24441 gcc_cv_math_func_tgamma=yes
24442 else
24443 gcc_cv_math_func_tgamma=no
24444 fi
24445 rm -f core conftest.err conftest.$ac_objext \
24446 conftest$ac_exeext conftest.$ac_ext
24447 fi
24448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24449 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24450 if test $gcc_cv_math_func_tgamma = yes; then
24451
24452 cat >>confdefs.h <<_ACEOF
24453 #define HAVE_TGAMMA 1
24454 _ACEOF
24455
24456 fi
24457
24458
24459
24460
24461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24462 $as_echo_n "checking for tgammaf... " >&6; }
24463 if ${gcc_cv_math_func_tgammaf+:} false; then :
24464 $as_echo_n "(cached) " >&6
24465 else
24466 if test x$gcc_no_link = xyes; then
24467 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24468 fi
24469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24470 /* end confdefs.h. */
24471
24472 #ifdef HAVE_COMPLEX_H
24473 #include <complex.h>
24474 #endif
24475 #ifdef HAVE_MATH_H
24476 #include <math.h>
24477 #endif
24478
24479 int (*ptr)() = (int (*)())tgammaf;
24480
24481 int
24482 main ()
24483 {
24484 return 0;
24485 }
24486
24487 _ACEOF
24488 if ac_fn_c_try_link "$LINENO"; then :
24489 gcc_cv_math_func_tgammaf=yes
24490 else
24491 gcc_cv_math_func_tgammaf=no
24492 fi
24493 rm -f core conftest.err conftest.$ac_objext \
24494 conftest$ac_exeext conftest.$ac_ext
24495 fi
24496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24497 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24498 if test $gcc_cv_math_func_tgammaf = yes; then
24499
24500 cat >>confdefs.h <<_ACEOF
24501 #define HAVE_TGAMMAF 1
24502 _ACEOF
24503
24504 fi
24505
24506
24507
24508
24509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24510 $as_echo_n "checking for lgamma... " >&6; }
24511 if ${gcc_cv_math_func_lgamma+:} false; then :
24512 $as_echo_n "(cached) " >&6
24513 else
24514 if test x$gcc_no_link = xyes; then
24515 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24516 fi
24517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24518 /* end confdefs.h. */
24519
24520 #ifdef HAVE_COMPLEX_H
24521 #include <complex.h>
24522 #endif
24523 #ifdef HAVE_MATH_H
24524 #include <math.h>
24525 #endif
24526
24527 int (*ptr)() = (int (*)())lgamma;
24528
24529 int
24530 main ()
24531 {
24532 return 0;
24533 }
24534
24535 _ACEOF
24536 if ac_fn_c_try_link "$LINENO"; then :
24537 gcc_cv_math_func_lgamma=yes
24538 else
24539 gcc_cv_math_func_lgamma=no
24540 fi
24541 rm -f core conftest.err conftest.$ac_objext \
24542 conftest$ac_exeext conftest.$ac_ext
24543 fi
24544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24545 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24546 if test $gcc_cv_math_func_lgamma = yes; then
24547
24548 cat >>confdefs.h <<_ACEOF
24549 #define HAVE_LGAMMA 1
24550 _ACEOF
24551
24552 fi
24553
24554
24555
24556
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24558 $as_echo_n "checking for lgammaf... " >&6; }
24559 if ${gcc_cv_math_func_lgammaf+:} false; then :
24560 $as_echo_n "(cached) " >&6
24561 else
24562 if test x$gcc_no_link = xyes; then
24563 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24564 fi
24565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24566 /* end confdefs.h. */
24567
24568 #ifdef HAVE_COMPLEX_H
24569 #include <complex.h>
24570 #endif
24571 #ifdef HAVE_MATH_H
24572 #include <math.h>
24573 #endif
24574
24575 int (*ptr)() = (int (*)())lgammaf;
24576
24577 int
24578 main ()
24579 {
24580 return 0;
24581 }
24582
24583 _ACEOF
24584 if ac_fn_c_try_link "$LINENO"; then :
24585 gcc_cv_math_func_lgammaf=yes
24586 else
24587 gcc_cv_math_func_lgammaf=no
24588 fi
24589 rm -f core conftest.err conftest.$ac_objext \
24590 conftest$ac_exeext conftest.$ac_ext
24591 fi
24592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24593 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24594 if test $gcc_cv_math_func_lgammaf = yes; then
24595
24596 cat >>confdefs.h <<_ACEOF
24597 #define HAVE_LGAMMAF 1
24598 _ACEOF
24599
24600 fi
24601
24602
24603 # Check for GFORTRAN_C99_1.1 funcs
24604
24605
24606
24607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24608 $as_echo_n "checking for cacos... " >&6; }
24609 if ${gcc_cv_math_func_cacos+:} false; then :
24610 $as_echo_n "(cached) " >&6
24611 else
24612 if test x$gcc_no_link = xyes; then
24613 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24614 fi
24615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24616 /* end confdefs.h. */
24617
24618 #ifdef HAVE_COMPLEX_H
24619 #include <complex.h>
24620 #endif
24621 #ifdef HAVE_MATH_H
24622 #include <math.h>
24623 #endif
24624
24625 int (*ptr)() = (int (*)())cacos;
24626
24627 int
24628 main ()
24629 {
24630 return 0;
24631 }
24632
24633 _ACEOF
24634 if ac_fn_c_try_link "$LINENO"; then :
24635 gcc_cv_math_func_cacos=yes
24636 else
24637 gcc_cv_math_func_cacos=no
24638 fi
24639 rm -f core conftest.err conftest.$ac_objext \
24640 conftest$ac_exeext conftest.$ac_ext
24641 fi
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24643 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24644 if test $gcc_cv_math_func_cacos = yes; then
24645
24646 cat >>confdefs.h <<_ACEOF
24647 #define HAVE_CACOS 1
24648 _ACEOF
24649
24650 fi
24651
24652
24653
24654
24655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24656 $as_echo_n "checking for cacosf... " >&6; }
24657 if ${gcc_cv_math_func_cacosf+:} false; then :
24658 $as_echo_n "(cached) " >&6
24659 else
24660 if test x$gcc_no_link = xyes; then
24661 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24662 fi
24663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24664 /* end confdefs.h. */
24665
24666 #ifdef HAVE_COMPLEX_H
24667 #include <complex.h>
24668 #endif
24669 #ifdef HAVE_MATH_H
24670 #include <math.h>
24671 #endif
24672
24673 int (*ptr)() = (int (*)())cacosf;
24674
24675 int
24676 main ()
24677 {
24678 return 0;
24679 }
24680
24681 _ACEOF
24682 if ac_fn_c_try_link "$LINENO"; then :
24683 gcc_cv_math_func_cacosf=yes
24684 else
24685 gcc_cv_math_func_cacosf=no
24686 fi
24687 rm -f core conftest.err conftest.$ac_objext \
24688 conftest$ac_exeext conftest.$ac_ext
24689 fi
24690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24691 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24692 if test $gcc_cv_math_func_cacosf = yes; then
24693
24694 cat >>confdefs.h <<_ACEOF
24695 #define HAVE_CACOSF 1
24696 _ACEOF
24697
24698 fi
24699
24700
24701
24702
24703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24704 $as_echo_n "checking for cacosh... " >&6; }
24705 if ${gcc_cv_math_func_cacosh+:} false; then :
24706 $as_echo_n "(cached) " >&6
24707 else
24708 if test x$gcc_no_link = xyes; then
24709 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24710 fi
24711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24712 /* end confdefs.h. */
24713
24714 #ifdef HAVE_COMPLEX_H
24715 #include <complex.h>
24716 #endif
24717 #ifdef HAVE_MATH_H
24718 #include <math.h>
24719 #endif
24720
24721 int (*ptr)() = (int (*)())cacosh;
24722
24723 int
24724 main ()
24725 {
24726 return 0;
24727 }
24728
24729 _ACEOF
24730 if ac_fn_c_try_link "$LINENO"; then :
24731 gcc_cv_math_func_cacosh=yes
24732 else
24733 gcc_cv_math_func_cacosh=no
24734 fi
24735 rm -f core conftest.err conftest.$ac_objext \
24736 conftest$ac_exeext conftest.$ac_ext
24737 fi
24738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24739 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24740 if test $gcc_cv_math_func_cacosh = yes; then
24741
24742 cat >>confdefs.h <<_ACEOF
24743 #define HAVE_CACOSH 1
24744 _ACEOF
24745
24746 fi
24747
24748
24749
24750
24751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24752 $as_echo_n "checking for cacoshf... " >&6; }
24753 if ${gcc_cv_math_func_cacoshf+:} false; then :
24754 $as_echo_n "(cached) " >&6
24755 else
24756 if test x$gcc_no_link = xyes; then
24757 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24758 fi
24759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24760 /* end confdefs.h. */
24761
24762 #ifdef HAVE_COMPLEX_H
24763 #include <complex.h>
24764 #endif
24765 #ifdef HAVE_MATH_H
24766 #include <math.h>
24767 #endif
24768
24769 int (*ptr)() = (int (*)())cacoshf;
24770
24771 int
24772 main ()
24773 {
24774 return 0;
24775 }
24776
24777 _ACEOF
24778 if ac_fn_c_try_link "$LINENO"; then :
24779 gcc_cv_math_func_cacoshf=yes
24780 else
24781 gcc_cv_math_func_cacoshf=no
24782 fi
24783 rm -f core conftest.err conftest.$ac_objext \
24784 conftest$ac_exeext conftest.$ac_ext
24785 fi
24786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24787 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24788 if test $gcc_cv_math_func_cacoshf = yes; then
24789
24790 cat >>confdefs.h <<_ACEOF
24791 #define HAVE_CACOSHF 1
24792 _ACEOF
24793
24794 fi
24795
24796
24797
24798
24799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24800 $as_echo_n "checking for cacoshl... " >&6; }
24801 if ${gcc_cv_math_func_cacoshl+:} false; then :
24802 $as_echo_n "(cached) " >&6
24803 else
24804 if test x$gcc_no_link = xyes; then
24805 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24806 fi
24807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24808 /* end confdefs.h. */
24809
24810 #ifdef HAVE_COMPLEX_H
24811 #include <complex.h>
24812 #endif
24813 #ifdef HAVE_MATH_H
24814 #include <math.h>
24815 #endif
24816
24817 int (*ptr)() = (int (*)())cacoshl;
24818
24819 int
24820 main ()
24821 {
24822 return 0;
24823 }
24824
24825 _ACEOF
24826 if ac_fn_c_try_link "$LINENO"; then :
24827 gcc_cv_math_func_cacoshl=yes
24828 else
24829 gcc_cv_math_func_cacoshl=no
24830 fi
24831 rm -f core conftest.err conftest.$ac_objext \
24832 conftest$ac_exeext conftest.$ac_ext
24833 fi
24834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24835 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24836 if test $gcc_cv_math_func_cacoshl = yes; then
24837
24838 cat >>confdefs.h <<_ACEOF
24839 #define HAVE_CACOSHL 1
24840 _ACEOF
24841
24842 fi
24843
24844
24845
24846
24847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24848 $as_echo_n "checking for cacosl... " >&6; }
24849 if ${gcc_cv_math_func_cacosl+:} false; then :
24850 $as_echo_n "(cached) " >&6
24851 else
24852 if test x$gcc_no_link = xyes; then
24853 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24854 fi
24855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24856 /* end confdefs.h. */
24857
24858 #ifdef HAVE_COMPLEX_H
24859 #include <complex.h>
24860 #endif
24861 #ifdef HAVE_MATH_H
24862 #include <math.h>
24863 #endif
24864
24865 int (*ptr)() = (int (*)())cacosl;
24866
24867 int
24868 main ()
24869 {
24870 return 0;
24871 }
24872
24873 _ACEOF
24874 if ac_fn_c_try_link "$LINENO"; then :
24875 gcc_cv_math_func_cacosl=yes
24876 else
24877 gcc_cv_math_func_cacosl=no
24878 fi
24879 rm -f core conftest.err conftest.$ac_objext \
24880 conftest$ac_exeext conftest.$ac_ext
24881 fi
24882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24883 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24884 if test $gcc_cv_math_func_cacosl = yes; then
24885
24886 cat >>confdefs.h <<_ACEOF
24887 #define HAVE_CACOSL 1
24888 _ACEOF
24889
24890 fi
24891
24892
24893
24894
24895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24896 $as_echo_n "checking for casin... " >&6; }
24897 if ${gcc_cv_math_func_casin+:} false; then :
24898 $as_echo_n "(cached) " >&6
24899 else
24900 if test x$gcc_no_link = xyes; then
24901 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24902 fi
24903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24904 /* end confdefs.h. */
24905
24906 #ifdef HAVE_COMPLEX_H
24907 #include <complex.h>
24908 #endif
24909 #ifdef HAVE_MATH_H
24910 #include <math.h>
24911 #endif
24912
24913 int (*ptr)() = (int (*)())casin;
24914
24915 int
24916 main ()
24917 {
24918 return 0;
24919 }
24920
24921 _ACEOF
24922 if ac_fn_c_try_link "$LINENO"; then :
24923 gcc_cv_math_func_casin=yes
24924 else
24925 gcc_cv_math_func_casin=no
24926 fi
24927 rm -f core conftest.err conftest.$ac_objext \
24928 conftest$ac_exeext conftest.$ac_ext
24929 fi
24930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24931 $as_echo "$gcc_cv_math_func_casin" >&6; }
24932 if test $gcc_cv_math_func_casin = yes; then
24933
24934 cat >>confdefs.h <<_ACEOF
24935 #define HAVE_CASIN 1
24936 _ACEOF
24937
24938 fi
24939
24940
24941
24942
24943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24944 $as_echo_n "checking for casinf... " >&6; }
24945 if ${gcc_cv_math_func_casinf+:} false; then :
24946 $as_echo_n "(cached) " >&6
24947 else
24948 if test x$gcc_no_link = xyes; then
24949 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24950 fi
24951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24952 /* end confdefs.h. */
24953
24954 #ifdef HAVE_COMPLEX_H
24955 #include <complex.h>
24956 #endif
24957 #ifdef HAVE_MATH_H
24958 #include <math.h>
24959 #endif
24960
24961 int (*ptr)() = (int (*)())casinf;
24962
24963 int
24964 main ()
24965 {
24966 return 0;
24967 }
24968
24969 _ACEOF
24970 if ac_fn_c_try_link "$LINENO"; then :
24971 gcc_cv_math_func_casinf=yes
24972 else
24973 gcc_cv_math_func_casinf=no
24974 fi
24975 rm -f core conftest.err conftest.$ac_objext \
24976 conftest$ac_exeext conftest.$ac_ext
24977 fi
24978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
24979 $as_echo "$gcc_cv_math_func_casinf" >&6; }
24980 if test $gcc_cv_math_func_casinf = yes; then
24981
24982 cat >>confdefs.h <<_ACEOF
24983 #define HAVE_CASINF 1
24984 _ACEOF
24985
24986 fi
24987
24988
24989
24990
24991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
24992 $as_echo_n "checking for casinh... " >&6; }
24993 if ${gcc_cv_math_func_casinh+:} false; then :
24994 $as_echo_n "(cached) " >&6
24995 else
24996 if test x$gcc_no_link = xyes; then
24997 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24998 fi
24999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25000 /* end confdefs.h. */
25001
25002 #ifdef HAVE_COMPLEX_H
25003 #include <complex.h>
25004 #endif
25005 #ifdef HAVE_MATH_H
25006 #include <math.h>
25007 #endif
25008
25009 int (*ptr)() = (int (*)())casinh;
25010
25011 int
25012 main ()
25013 {
25014 return 0;
25015 }
25016
25017 _ACEOF
25018 if ac_fn_c_try_link "$LINENO"; then :
25019 gcc_cv_math_func_casinh=yes
25020 else
25021 gcc_cv_math_func_casinh=no
25022 fi
25023 rm -f core conftest.err conftest.$ac_objext \
25024 conftest$ac_exeext conftest.$ac_ext
25025 fi
25026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25027 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25028 if test $gcc_cv_math_func_casinh = yes; then
25029
25030 cat >>confdefs.h <<_ACEOF
25031 #define HAVE_CASINH 1
25032 _ACEOF
25033
25034 fi
25035
25036
25037
25038
25039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25040 $as_echo_n "checking for casinhf... " >&6; }
25041 if ${gcc_cv_math_func_casinhf+:} false; then :
25042 $as_echo_n "(cached) " >&6
25043 else
25044 if test x$gcc_no_link = xyes; then
25045 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25046 fi
25047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25048 /* end confdefs.h. */
25049
25050 #ifdef HAVE_COMPLEX_H
25051 #include <complex.h>
25052 #endif
25053 #ifdef HAVE_MATH_H
25054 #include <math.h>
25055 #endif
25056
25057 int (*ptr)() = (int (*)())casinhf;
25058
25059 int
25060 main ()
25061 {
25062 return 0;
25063 }
25064
25065 _ACEOF
25066 if ac_fn_c_try_link "$LINENO"; then :
25067 gcc_cv_math_func_casinhf=yes
25068 else
25069 gcc_cv_math_func_casinhf=no
25070 fi
25071 rm -f core conftest.err conftest.$ac_objext \
25072 conftest$ac_exeext conftest.$ac_ext
25073 fi
25074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25075 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25076 if test $gcc_cv_math_func_casinhf = yes; then
25077
25078 cat >>confdefs.h <<_ACEOF
25079 #define HAVE_CASINHF 1
25080 _ACEOF
25081
25082 fi
25083
25084
25085
25086
25087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25088 $as_echo_n "checking for casinhl... " >&6; }
25089 if ${gcc_cv_math_func_casinhl+:} false; then :
25090 $as_echo_n "(cached) " >&6
25091 else
25092 if test x$gcc_no_link = xyes; then
25093 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25094 fi
25095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25096 /* end confdefs.h. */
25097
25098 #ifdef HAVE_COMPLEX_H
25099 #include <complex.h>
25100 #endif
25101 #ifdef HAVE_MATH_H
25102 #include <math.h>
25103 #endif
25104
25105 int (*ptr)() = (int (*)())casinhl;
25106
25107 int
25108 main ()
25109 {
25110 return 0;
25111 }
25112
25113 _ACEOF
25114 if ac_fn_c_try_link "$LINENO"; then :
25115 gcc_cv_math_func_casinhl=yes
25116 else
25117 gcc_cv_math_func_casinhl=no
25118 fi
25119 rm -f core conftest.err conftest.$ac_objext \
25120 conftest$ac_exeext conftest.$ac_ext
25121 fi
25122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25123 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25124 if test $gcc_cv_math_func_casinhl = yes; then
25125
25126 cat >>confdefs.h <<_ACEOF
25127 #define HAVE_CASINHL 1
25128 _ACEOF
25129
25130 fi
25131
25132
25133
25134
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25136 $as_echo_n "checking for casinl... " >&6; }
25137 if ${gcc_cv_math_func_casinl+:} false; then :
25138 $as_echo_n "(cached) " >&6
25139 else
25140 if test x$gcc_no_link = xyes; then
25141 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25142 fi
25143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25144 /* end confdefs.h. */
25145
25146 #ifdef HAVE_COMPLEX_H
25147 #include <complex.h>
25148 #endif
25149 #ifdef HAVE_MATH_H
25150 #include <math.h>
25151 #endif
25152
25153 int (*ptr)() = (int (*)())casinl;
25154
25155 int
25156 main ()
25157 {
25158 return 0;
25159 }
25160
25161 _ACEOF
25162 if ac_fn_c_try_link "$LINENO"; then :
25163 gcc_cv_math_func_casinl=yes
25164 else
25165 gcc_cv_math_func_casinl=no
25166 fi
25167 rm -f core conftest.err conftest.$ac_objext \
25168 conftest$ac_exeext conftest.$ac_ext
25169 fi
25170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25171 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25172 if test $gcc_cv_math_func_casinl = yes; then
25173
25174 cat >>confdefs.h <<_ACEOF
25175 #define HAVE_CASINL 1
25176 _ACEOF
25177
25178 fi
25179
25180
25181
25182
25183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25184 $as_echo_n "checking for catan... " >&6; }
25185 if ${gcc_cv_math_func_catan+:} false; then :
25186 $as_echo_n "(cached) " >&6
25187 else
25188 if test x$gcc_no_link = xyes; then
25189 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25190 fi
25191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25192 /* end confdefs.h. */
25193
25194 #ifdef HAVE_COMPLEX_H
25195 #include <complex.h>
25196 #endif
25197 #ifdef HAVE_MATH_H
25198 #include <math.h>
25199 #endif
25200
25201 int (*ptr)() = (int (*)())catan;
25202
25203 int
25204 main ()
25205 {
25206 return 0;
25207 }
25208
25209 _ACEOF
25210 if ac_fn_c_try_link "$LINENO"; then :
25211 gcc_cv_math_func_catan=yes
25212 else
25213 gcc_cv_math_func_catan=no
25214 fi
25215 rm -f core conftest.err conftest.$ac_objext \
25216 conftest$ac_exeext conftest.$ac_ext
25217 fi
25218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25219 $as_echo "$gcc_cv_math_func_catan" >&6; }
25220 if test $gcc_cv_math_func_catan = yes; then
25221
25222 cat >>confdefs.h <<_ACEOF
25223 #define HAVE_CATAN 1
25224 _ACEOF
25225
25226 fi
25227
25228
25229
25230
25231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25232 $as_echo_n "checking for catanf... " >&6; }
25233 if ${gcc_cv_math_func_catanf+:} false; then :
25234 $as_echo_n "(cached) " >&6
25235 else
25236 if test x$gcc_no_link = xyes; then
25237 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25238 fi
25239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25240 /* end confdefs.h. */
25241
25242 #ifdef HAVE_COMPLEX_H
25243 #include <complex.h>
25244 #endif
25245 #ifdef HAVE_MATH_H
25246 #include <math.h>
25247 #endif
25248
25249 int (*ptr)() = (int (*)())catanf;
25250
25251 int
25252 main ()
25253 {
25254 return 0;
25255 }
25256
25257 _ACEOF
25258 if ac_fn_c_try_link "$LINENO"; then :
25259 gcc_cv_math_func_catanf=yes
25260 else
25261 gcc_cv_math_func_catanf=no
25262 fi
25263 rm -f core conftest.err conftest.$ac_objext \
25264 conftest$ac_exeext conftest.$ac_ext
25265 fi
25266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25267 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25268 if test $gcc_cv_math_func_catanf = yes; then
25269
25270 cat >>confdefs.h <<_ACEOF
25271 #define HAVE_CATANF 1
25272 _ACEOF
25273
25274 fi
25275
25276
25277
25278
25279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25280 $as_echo_n "checking for catanh... " >&6; }
25281 if ${gcc_cv_math_func_catanh+:} false; then :
25282 $as_echo_n "(cached) " >&6
25283 else
25284 if test x$gcc_no_link = xyes; then
25285 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25286 fi
25287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25288 /* end confdefs.h. */
25289
25290 #ifdef HAVE_COMPLEX_H
25291 #include <complex.h>
25292 #endif
25293 #ifdef HAVE_MATH_H
25294 #include <math.h>
25295 #endif
25296
25297 int (*ptr)() = (int (*)())catanh;
25298
25299 int
25300 main ()
25301 {
25302 return 0;
25303 }
25304
25305 _ACEOF
25306 if ac_fn_c_try_link "$LINENO"; then :
25307 gcc_cv_math_func_catanh=yes
25308 else
25309 gcc_cv_math_func_catanh=no
25310 fi
25311 rm -f core conftest.err conftest.$ac_objext \
25312 conftest$ac_exeext conftest.$ac_ext
25313 fi
25314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25315 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25316 if test $gcc_cv_math_func_catanh = yes; then
25317
25318 cat >>confdefs.h <<_ACEOF
25319 #define HAVE_CATANH 1
25320 _ACEOF
25321
25322 fi
25323
25324
25325
25326
25327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25328 $as_echo_n "checking for catanhf... " >&6; }
25329 if ${gcc_cv_math_func_catanhf+:} false; then :
25330 $as_echo_n "(cached) " >&6
25331 else
25332 if test x$gcc_no_link = xyes; then
25333 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25334 fi
25335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25336 /* end confdefs.h. */
25337
25338 #ifdef HAVE_COMPLEX_H
25339 #include <complex.h>
25340 #endif
25341 #ifdef HAVE_MATH_H
25342 #include <math.h>
25343 #endif
25344
25345 int (*ptr)() = (int (*)())catanhf;
25346
25347 int
25348 main ()
25349 {
25350 return 0;
25351 }
25352
25353 _ACEOF
25354 if ac_fn_c_try_link "$LINENO"; then :
25355 gcc_cv_math_func_catanhf=yes
25356 else
25357 gcc_cv_math_func_catanhf=no
25358 fi
25359 rm -f core conftest.err conftest.$ac_objext \
25360 conftest$ac_exeext conftest.$ac_ext
25361 fi
25362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25363 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25364 if test $gcc_cv_math_func_catanhf = yes; then
25365
25366 cat >>confdefs.h <<_ACEOF
25367 #define HAVE_CATANHF 1
25368 _ACEOF
25369
25370 fi
25371
25372
25373
25374
25375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25376 $as_echo_n "checking for catanhl... " >&6; }
25377 if ${gcc_cv_math_func_catanhl+:} false; then :
25378 $as_echo_n "(cached) " >&6
25379 else
25380 if test x$gcc_no_link = xyes; then
25381 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25382 fi
25383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25384 /* end confdefs.h. */
25385
25386 #ifdef HAVE_COMPLEX_H
25387 #include <complex.h>
25388 #endif
25389 #ifdef HAVE_MATH_H
25390 #include <math.h>
25391 #endif
25392
25393 int (*ptr)() = (int (*)())catanhl;
25394
25395 int
25396 main ()
25397 {
25398 return 0;
25399 }
25400
25401 _ACEOF
25402 if ac_fn_c_try_link "$LINENO"; then :
25403 gcc_cv_math_func_catanhl=yes
25404 else
25405 gcc_cv_math_func_catanhl=no
25406 fi
25407 rm -f core conftest.err conftest.$ac_objext \
25408 conftest$ac_exeext conftest.$ac_ext
25409 fi
25410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25411 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25412 if test $gcc_cv_math_func_catanhl = yes; then
25413
25414 cat >>confdefs.h <<_ACEOF
25415 #define HAVE_CATANHL 1
25416 _ACEOF
25417
25418 fi
25419
25420
25421
25422
25423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25424 $as_echo_n "checking for catanl... " >&6; }
25425 if ${gcc_cv_math_func_catanl+:} false; then :
25426 $as_echo_n "(cached) " >&6
25427 else
25428 if test x$gcc_no_link = xyes; then
25429 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25430 fi
25431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25432 /* end confdefs.h. */
25433
25434 #ifdef HAVE_COMPLEX_H
25435 #include <complex.h>
25436 #endif
25437 #ifdef HAVE_MATH_H
25438 #include <math.h>
25439 #endif
25440
25441 int (*ptr)() = (int (*)())catanl;
25442
25443 int
25444 main ()
25445 {
25446 return 0;
25447 }
25448
25449 _ACEOF
25450 if ac_fn_c_try_link "$LINENO"; then :
25451 gcc_cv_math_func_catanl=yes
25452 else
25453 gcc_cv_math_func_catanl=no
25454 fi
25455 rm -f core conftest.err conftest.$ac_objext \
25456 conftest$ac_exeext conftest.$ac_ext
25457 fi
25458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25459 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25460 if test $gcc_cv_math_func_catanl = yes; then
25461
25462 cat >>confdefs.h <<_ACEOF
25463 #define HAVE_CATANL 1
25464 _ACEOF
25465
25466 fi
25467
25468
25469 # On AIX, clog is present in libm as __clog
25470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25471 $as_echo_n "checking for __clog in -lm... " >&6; }
25472 if ${ac_cv_lib_m___clog+:} false; then :
25473 $as_echo_n "(cached) " >&6
25474 else
25475 ac_check_lib_save_LIBS=$LIBS
25476 LIBS="-lm $LIBS"
25477 if test x$gcc_no_link = xyes; then
25478 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25479 fi
25480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25481 /* end confdefs.h. */
25482
25483 /* Override any GCC internal prototype to avoid an error.
25484 Use char because int might match the return type of a GCC
25485 builtin and then its argument prototype would still apply. */
25486 #ifdef __cplusplus
25487 extern "C"
25488 #endif
25489 char __clog ();
25490 int
25491 main ()
25492 {
25493 return __clog ();
25494 ;
25495 return 0;
25496 }
25497 _ACEOF
25498 if ac_fn_c_try_link "$LINENO"; then :
25499 ac_cv_lib_m___clog=yes
25500 else
25501 ac_cv_lib_m___clog=no
25502 fi
25503 rm -f core conftest.err conftest.$ac_objext \
25504 conftest$ac_exeext conftest.$ac_ext
25505 LIBS=$ac_check_lib_save_LIBS
25506 fi
25507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25508 $as_echo "$ac_cv_lib_m___clog" >&6; }
25509 if test "x$ac_cv_lib_m___clog" = xyes; then :
25510
25511 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25512
25513 fi
25514
25515
25516 # Check whether the system has a working stat()
25517
25518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25519 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25520 if ${libgfor_cv_have_working_stat+:} false; then :
25521 $as_echo_n "(cached) " >&6
25522 else
25523
25524 if test "$cross_compiling" = yes; then :
25525
25526 case "${target}" in
25527 *mingw*) libgfor_cv_have_working_stat=no ;;
25528 *) libgfor_cv_have_working_stat=yes;;
25529 esac
25530 else
25531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25532 /* end confdefs.h. */
25533
25534 #include <stdio.h>
25535 #include <sys/types.h>
25536 #include <sys/stat.h>
25537 #include <unistd.h>
25538
25539 int main ()
25540 {
25541 FILE *f, *g;
25542 struct stat st1, st2;
25543
25544 f = fopen ("foo", "w");
25545 g = fopen ("bar", "w");
25546 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25547 return 1;
25548 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25549 return 1;
25550 fclose(f);
25551 fclose(g);
25552 return 0;
25553 }
25554 _ACEOF
25555 if ac_fn_c_try_run "$LINENO"; then :
25556 libgfor_cv_have_working_stat=yes
25557 else
25558 libgfor_cv_have_working_stat=no
25559 fi
25560 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25561 conftest.$ac_objext conftest.beam conftest.$ac_ext
25562 fi
25563
25564 fi
25565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25566 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25567 if test x"$libgfor_cv_have_working_stat" = xyes; then
25568
25569 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25570
25571 fi
25572
25573 # Check whether __mingw_snprintf() is present
25574
25575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25576 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25577 if ${libgfor_cv_have_mingw_snprintf+:} false; then :
25578 $as_echo_n "(cached) " >&6
25579 else
25580
25581 if test x$gcc_no_link = xyes; then
25582 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25583 fi
25584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25585 /* end confdefs.h. */
25586
25587 #include <stdio.h>
25588 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25589
25590 int
25591 main ()
25592 {
25593
25594 __mingw_snprintf (NULL, 0, "%d\n", 1);
25595
25596 ;
25597 return 0;
25598 }
25599 _ACEOF
25600 if ac_fn_c_try_link "$LINENO"; then :
25601 eval "libgfor_cv_have_mingw_snprintf=yes"
25602 else
25603 eval "libgfor_cv_have_mingw_snprintf=no"
25604 fi
25605 rm -f core conftest.err conftest.$ac_objext \
25606 conftest$ac_exeext conftest.$ac_ext
25607
25608 fi
25609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25610 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25611 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
25612
25613 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25614
25615 fi
25616
25617
25618 # Check whether libquadmath should be used
25619 # Check whether --enable-libquadmath-support was given.
25620 if test "${enable_libquadmath_support+set}" = set; then :
25621 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
25622 else
25623 ENABLE_LIBQUADMATH_SUPPORT=yes
25624 fi
25625
25626 enable_libquadmath_support=
25627 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25628 enable_libquadmath_support=no
25629 fi
25630
25631 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25632
25633 LIBQUADSPEC=
25634
25635 if test "x$enable_libquadmath_support" != xno; then
25636
25637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25638 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25639 if ${libgfor_cv_have_float128+:} false; then :
25640 $as_echo_n "(cached) " >&6
25641 else
25642
25643 if test x$gcc_no_link = xyes; then
25644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25645 /* end confdefs.h. */
25646
25647 typedef _Complex float __attribute__((mode(TC))) __complex128;
25648
25649 __float128 foo (__float128 x)
25650 {
25651
25652 __complex128 z1, z2;
25653
25654 z1 = x;
25655 z2 = x / 7.Q;
25656 z2 /= z1;
25657
25658 return (__float128) z2;
25659 }
25660
25661 __float128 bar (__float128 x)
25662 {
25663 return x * __builtin_huge_valq ();
25664 }
25665
25666 int
25667 main ()
25668 {
25669
25670 foo (1.2Q);
25671 bar (1.2Q);
25672
25673 ;
25674 return 0;
25675 }
25676 _ACEOF
25677 if ac_fn_c_try_compile "$LINENO"; then :
25678
25679 libgfor_cv_have_float128=yes
25680
25681 else
25682
25683 libgfor_cv_have_float128=no
25684
25685 fi
25686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25687 else
25688 if test x$gcc_no_link = xyes; then
25689 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25690 fi
25691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25692 /* end confdefs.h. */
25693
25694 typedef _Complex float __attribute__((mode(TC))) __complex128;
25695
25696 __float128 foo (__float128 x)
25697 {
25698
25699 __complex128 z1, z2;
25700
25701 z1 = x;
25702 z2 = x / 7.Q;
25703 z2 /= z1;
25704
25705 return (__float128) z2;
25706 }
25707
25708 __float128 bar (__float128 x)
25709 {
25710 return x * __builtin_huge_valq ();
25711 }
25712
25713 int
25714 main ()
25715 {
25716
25717 foo (1.2Q);
25718 bar (1.2Q);
25719
25720 ;
25721 return 0;
25722 }
25723 _ACEOF
25724 if ac_fn_c_try_link "$LINENO"; then :
25725
25726 libgfor_cv_have_float128=yes
25727
25728 else
25729
25730 libgfor_cv_have_float128=no
25731
25732 fi
25733 rm -f core conftest.err conftest.$ac_objext \
25734 conftest$ac_exeext conftest.$ac_ext
25735 fi
25736 fi
25737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25738 $as_echo "$libgfor_cv_have_float128" >&6; }
25739
25740 if test "x$libgfor_cv_have_float128" = xyes; then
25741
25742 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25743
25744
25745 ac_xsave_c_werror_flag=$ac_c_werror_flag
25746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25747 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25748 if ${libgfor_cv_have_as_needed+:} false; then :
25749 $as_echo_n "(cached) " >&6
25750 else
25751
25752 # Test for native Solaris options first.
25753 # No whitespace after -z to pass it through -Wl.
25754 libgfor_cv_as_needed_option="-zignore"
25755 libgfor_cv_no_as_needed_option="-zrecord"
25756 save_LDFLAGS="$LDFLAGS"
25757 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25758 libgfor_cv_have_as_needed=no
25759
25760 ac_c_werror_flag=yes
25761 if test x$gcc_no_link = xyes; then
25762 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25763 fi
25764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25765 /* end confdefs.h. */
25766
25767 int
25768 main ()
25769 {
25770
25771 ;
25772 return 0;
25773 }
25774 _ACEOF
25775 if ac_fn_c_try_link "$LINENO"; then :
25776 libgfor_cv_have_as_needed=yes
25777 else
25778 libgfor_cv_have_as_needed=no
25779 fi
25780 rm -f core conftest.err conftest.$ac_objext \
25781 conftest$ac_exeext conftest.$ac_ext
25782 LDFLAGS="$save_LDFLAGS"
25783 if test "x$libgfor_cv_have_as_needed" = xno; then
25784 libgfor_cv_as_needed_option="--as-needed"
25785 libgfor_cv_no_as_needed_option="--no-as-needed"
25786 save_LDFLAGS="$LDFLAGS"
25787 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25788 libgfor_cv_have_as_needed=no
25789
25790 ac_c_werror_flag=yes
25791 if test x$gcc_no_link = xyes; then
25792 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25793 fi
25794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25795 /* end confdefs.h. */
25796
25797 int
25798 main ()
25799 {
25800
25801 ;
25802 return 0;
25803 }
25804 _ACEOF
25805 if ac_fn_c_try_link "$LINENO"; then :
25806 libgfor_cv_have_as_needed=yes
25807 else
25808 libgfor_cv_have_as_needed=no
25809 fi
25810 rm -f core conftest.err conftest.$ac_objext \
25811 conftest$ac_exeext conftest.$ac_ext
25812 LDFLAGS="$save_LDFLAGS"
25813 fi
25814 ac_c_werror_flag=$ac_xsave_c_werror_flag
25815
25816 fi
25817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25818 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25819
25820 if test "x$libgfor_cv_have_as_needed" = xyes; then
25821 LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25822 else
25823 LIBQUADSPEC="-lquadmath"
25824 fi
25825 if test -f ../libquadmath/libquadmath.la; then
25826 LIBQUADLIB=../libquadmath/libquadmath.la
25827 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
25828 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
25829 else
25830 LIBQUADLIB="-lquadmath"
25831 LIBQUADLIB_DEP=
25832 LIBQUADINCLUDE=
25833 fi
25834 fi
25835 else
25836 # for --disable-quadmath
25837 LIBQUADLIB=
25838 LIBQUADLIB_DEP=
25839 LIBQUADINCLUDE=
25840 fi
25841
25842
25843
25844
25845
25846
25847 if test "x$libgfor_cv_have_float128" = xyes; then
25848 LIBGFOR_BUILD_QUAD_TRUE=
25849 LIBGFOR_BUILD_QUAD_FALSE='#'
25850 else
25851 LIBGFOR_BUILD_QUAD_TRUE='#'
25852 LIBGFOR_BUILD_QUAD_FALSE=
25853 fi
25854
25855
25856
25857 # Check for GNU libc feenableexcept
25858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25859 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25860 if ${ac_cv_lib_m_feenableexcept+:} false; then :
25861 $as_echo_n "(cached) " >&6
25862 else
25863 ac_check_lib_save_LIBS=$LIBS
25864 LIBS="-lm $LIBS"
25865 if test x$gcc_no_link = xyes; then
25866 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25867 fi
25868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25869 /* end confdefs.h. */
25870
25871 /* Override any GCC internal prototype to avoid an error.
25872 Use char because int might match the return type of a GCC
25873 builtin and then its argument prototype would still apply. */
25874 #ifdef __cplusplus
25875 extern "C"
25876 #endif
25877 char feenableexcept ();
25878 int
25879 main ()
25880 {
25881 return feenableexcept ();
25882 ;
25883 return 0;
25884 }
25885 _ACEOF
25886 if ac_fn_c_try_link "$LINENO"; then :
25887 ac_cv_lib_m_feenableexcept=yes
25888 else
25889 ac_cv_lib_m_feenableexcept=no
25890 fi
25891 rm -f core conftest.err conftest.$ac_objext \
25892 conftest$ac_exeext conftest.$ac_ext
25893 LIBS=$ac_check_lib_save_LIBS
25894 fi
25895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25896 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25897 if test "x$ac_cv_lib_m_feenableexcept" = xyes; then :
25898 have_feenableexcept=yes
25899 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25900
25901 fi
25902
25903
25904 # At least for glibc, clock_gettime is in librt. But don't
25905 # pull that in if it still doesn't give us the function we want. This
25906 # test is copied from libgomp, and modified to not link in -lrt as
25907 # libgfortran calls clock_gettime via a weak reference if it's found
25908 # in librt.
25909 if test "$ac_cv_func_clock_gettime" = no; then
25910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25911 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25912 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
25913 $as_echo_n "(cached) " >&6
25914 else
25915 ac_check_lib_save_LIBS=$LIBS
25916 LIBS="-lrt $LIBS"
25917 if test x$gcc_no_link = xyes; then
25918 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25919 fi
25920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25921 /* end confdefs.h. */
25922
25923 /* Override any GCC internal prototype to avoid an error.
25924 Use char because int might match the return type of a GCC
25925 builtin and then its argument prototype would still apply. */
25926 #ifdef __cplusplus
25927 extern "C"
25928 #endif
25929 char clock_gettime ();
25930 int
25931 main ()
25932 {
25933 return clock_gettime ();
25934 ;
25935 return 0;
25936 }
25937 _ACEOF
25938 if ac_fn_c_try_link "$LINENO"; then :
25939 ac_cv_lib_rt_clock_gettime=yes
25940 else
25941 ac_cv_lib_rt_clock_gettime=no
25942 fi
25943 rm -f core conftest.err conftest.$ac_objext \
25944 conftest$ac_exeext conftest.$ac_ext
25945 LIBS=$ac_check_lib_save_LIBS
25946 fi
25947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25948 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25949 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
25950
25951 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25952
25953 fi
25954
25955 fi
25956
25957 # Check for SysV fpsetmask
25958
25959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25960 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25961 if ${libgfor_cv_have_fpsetmask+:} false; then :
25962 $as_echo_n "(cached) " >&6
25963 else
25964
25965 if test x$gcc_no_link = xyes; then
25966 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25967 fi
25968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25969 /* end confdefs.h. */
25970
25971 #if HAVE_FLOATINGPOINT_H
25972 # include <floatingpoint.h>
25973 #endif /* HAVE_FLOATINGPOINT_H */
25974 #if HAVE_IEEEFP_H
25975 # include <ieeefp.h>
25976 #endif /* HAVE_IEEEFP_H */
25977 int
25978 main ()
25979 {
25980 fpsetmask(0);
25981 ;
25982 return 0;
25983 }
25984 _ACEOF
25985 if ac_fn_c_try_link "$LINENO"; then :
25986 eval "libgfor_cv_have_fpsetmask=yes"
25987 else
25988 eval "libgfor_cv_have_fpsetmask=no"
25989 fi
25990 rm -f core conftest.err conftest.$ac_objext \
25991 conftest$ac_exeext conftest.$ac_ext
25992
25993 fi
25994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25995 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25996 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
25997 have_fpsetmask=yes
25998
25999 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26000
26001 fi
26002
26003 ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "
26004 #ifdef HAVE_IEEEFP_H
26005 #include <ieeefp.h>
26006 #endif
26007 #include <math.h>
26008
26009 "
26010 if test "x$ac_cv_type_fp_except" = xyes; then :
26011
26012 cat >>confdefs.h <<_ACEOF
26013 #define HAVE_FP_EXCEPT 1
26014 _ACEOF
26015
26016
26017 fi
26018 ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
26019 #ifdef HAVE_IEEEFP_H
26020 #include <ieeefp.h>
26021 #endif
26022 #include <math.h>
26023
26024 "
26025 if test "x$ac_cv_type_fp_except_t" = xyes; then :
26026
26027 cat >>confdefs.h <<_ACEOF
26028 #define HAVE_FP_EXCEPT_T 1
26029 _ACEOF
26030
26031
26032 fi
26033
26034 ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
26035 #ifdef HAVE_IEEEFP_H
26036 #include <ieeefp.h>
26037 #endif
26038 #include <math.h>
26039
26040 "
26041 if test "x$ac_cv_type_fp_rnd" = xyes; then :
26042
26043 cat >>confdefs.h <<_ACEOF
26044 #define HAVE_FP_RND 1
26045 _ACEOF
26046
26047
26048 fi
26049 ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
26050 #ifdef HAVE_IEEEFP_H
26051 #include <ieeefp.h>
26052 #endif
26053 #include <math.h>
26054
26055 "
26056 if test "x$ac_cv_type_fp_rnd_t" = xyes; then :
26057
26058 cat >>confdefs.h <<_ACEOF
26059 #define HAVE_FP_RND_T 1
26060 _ACEOF
26061
26062
26063 fi
26064
26065
26066 # Check whether we have fpsetsticky or fpresetsticky
26067 ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
26068 if test "x$ac_cv_func_fpsetsticky" = xyes; then :
26069 have_fpsetsticky=yes
26070 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
26071
26072 fi
26073
26074 ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
26075 if test "x$ac_cv_func_fpresetsticky" = xyes; then :
26076 have_fpresetsticky=yes
26077 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
26078
26079 fi
26080
26081
26082 # Check for AIX fp_trap and fp_enable
26083 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26084 if test "x$ac_cv_func_fp_trap" = xyes; then :
26085 have_fp_trap=yes
26086 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26087
26088 fi
26089
26090 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26091 if test "x$ac_cv_func_fp_enable" = xyes; then :
26092 have_fp_enable=yes
26093 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26094
26095 fi
26096
26097
26098 # Check if _SOFT_FLOAT is defined
26099
26100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
26101 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
26102 if ${ac_cv_defined__SOFT_FLOAT+:} false; then :
26103 $as_echo_n "(cached) " >&6
26104 else
26105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26106 /* end confdefs.h. */
26107
26108 int
26109 main ()
26110 {
26111
26112 #ifdef _SOFT_FLOAT
26113 int ok;
26114 #else
26115 choke me
26116 #endif
26117
26118 ;
26119 return 0;
26120 }
26121 _ACEOF
26122 if ac_fn_c_try_compile "$LINENO"; then :
26123 ac_cv_defined__SOFT_FLOAT=yes
26124 else
26125 ac_cv_defined__SOFT_FLOAT=no
26126 fi
26127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26128 fi
26129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
26130 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
26131 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
26132 have_soft_float=yes
26133 fi
26134
26135 # Runs configure.host to set up necessary host-dependent shell variables.
26136 # We then display a message about it, and propagate them through the
26137 # build chain.
26138 . ${srcdir}/configure.host
26139 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26140 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26141 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
26142 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
26143 FPU_HOST_HEADER=config/${fpu_host}.h
26144
26145
26146 # Whether we will build the IEEE modules
26147 if test x${ieee_support} = xyes; then
26148 IEEE_SUPPORT_TRUE=
26149 IEEE_SUPPORT_FALSE='#'
26150 else
26151 IEEE_SUPPORT_TRUE='#'
26152 IEEE_SUPPORT_FALSE=
26153 fi
26154
26155
26156
26157 # Some targets require additional compiler options for IEEE compatibility.
26158 IEEE_FLAGS="${ieee_flags}"
26159
26160
26161
26162 # Check for POSIX getpwuid_r
26163 #
26164 # There are two versions of getpwuid_r, the POSIX one with 5
26165 # arguments, and another one with 4 arguments used by at least HP-UX
26166 # 10.2.
26167 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26169 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26170 if ${libgfor_cv_posix_getpwuid_r+:} false; then :
26171 $as_echo_n "(cached) " >&6
26172 else
26173
26174 if test x$gcc_no_link = xyes; then
26175 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26176 fi
26177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26178 /* end confdefs.h. */
26179
26180 #include <stdio.h>
26181 #include <sys/types.h>
26182 #include <pwd.h>
26183 int
26184 main ()
26185 {
26186
26187 getpwuid_r(0, NULL, NULL, 0, NULL);
26188
26189 ;
26190 return 0;
26191 }
26192 _ACEOF
26193 if ac_fn_c_try_link "$LINENO"; then :
26194 libgfor_cv_posix_getpwuid_r="yes"
26195 else
26196 libgfor_cv_posix_getpwuid_r="no"
26197 fi
26198 rm -f core conftest.err conftest.$ac_objext \
26199 conftest$ac_exeext conftest.$ac_ext
26200 fi
26201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26202 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26203 fi
26204 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26205
26206 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26207
26208 fi
26209
26210
26211 # Check out attribute support.
26212
26213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26214 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26215 if ${libgfor_cv_have_attribute_visibility+:} false; then :
26216 $as_echo_n "(cached) " >&6
26217 else
26218
26219 save_CFLAGS="$CFLAGS"
26220 CFLAGS="$CFLAGS -Werror"
26221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26222 /* end confdefs.h. */
26223 void __attribute__((visibility("hidden"))) foo(void) { }
26224 int
26225 main ()
26226 {
26227
26228 ;
26229 return 0;
26230 }
26231 _ACEOF
26232 if ac_fn_c_try_compile "$LINENO"; then :
26233 libgfor_cv_have_attribute_visibility=yes
26234 else
26235 libgfor_cv_have_attribute_visibility=no
26236 fi
26237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26238 CFLAGS="$save_CFLAGS"
26239 fi
26240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26241 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26242 if test $libgfor_cv_have_attribute_visibility = yes; then
26243
26244 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26245
26246 fi
26247
26248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26249 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26250 if ${libgfor_cv_have_attribute_alias+:} false; then :
26251 $as_echo_n "(cached) " >&6
26252 else
26253
26254 if test x$gcc_no_link = xyes; then
26255 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26256 fi
26257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26258 /* end confdefs.h. */
26259
26260 void foo(void) { }
26261 extern void bar(void) __attribute__((alias("foo")));
26262 int
26263 main ()
26264 {
26265 bar();
26266 ;
26267 return 0;
26268 }
26269 _ACEOF
26270 if ac_fn_c_try_link "$LINENO"; then :
26271 libgfor_cv_have_attribute_alias=yes
26272 else
26273 libgfor_cv_have_attribute_alias=no
26274 fi
26275 rm -f core conftest.err conftest.$ac_objext \
26276 conftest$ac_exeext conftest.$ac_ext
26277 fi
26278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26279 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26280 if test $libgfor_cv_have_attribute_alias = yes; then
26281
26282 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26283
26284 fi
26285
26286 # Check out sync builtins support.
26287
26288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26289 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26290 if ${libgfor_cv_have_sync_fetch_and_add+:} false; then :
26291 $as_echo_n "(cached) " >&6
26292 else
26293
26294 if test x$gcc_no_link = xyes; then
26295 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26296 fi
26297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26298 /* end confdefs.h. */
26299 int foovar = 0;
26300 int
26301 main ()
26302 {
26303
26304 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26305 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26306 ;
26307 return 0;
26308 }
26309 _ACEOF
26310 if ac_fn_c_try_link "$LINENO"; then :
26311 libgfor_cv_have_sync_fetch_and_add=yes
26312 else
26313 libgfor_cv_have_sync_fetch_and_add=no
26314 fi
26315 rm -f core conftest.err conftest.$ac_objext \
26316 conftest$ac_exeext conftest.$ac_ext
26317 fi
26318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26319 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26320 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26321
26322 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26323
26324 fi
26325
26326 # Check out #pragma weak.
26327
26328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26329 $as_echo_n "checking whether pragma weak works... " >&6; }
26330 if ${libgfor_cv_have_pragma_weak+:} false; then :
26331 $as_echo_n "(cached) " >&6
26332 else
26333
26334 gfor_save_CFLAGS="$CFLAGS"
26335 CFLAGS="$CFLAGS -Wunknown-pragmas"
26336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26337 /* end confdefs.h. */
26338
26339 void foo (void);
26340 #pragma weak foo
26341
26342 int
26343 main ()
26344 {
26345 if (foo) foo ();
26346 ;
26347 return 0;
26348 }
26349 _ACEOF
26350 if ac_fn_c_try_compile "$LINENO"; then :
26351 libgfor_cv_have_pragma_weak=yes
26352 else
26353 libgfor_cv_have_pragma_weak=no
26354 fi
26355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26356 fi
26357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26358 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26359 if test $libgfor_cv_have_pragma_weak = yes; then
26360
26361 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26362
26363 fi
26364 case "$host" in
26365 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* )
26366
26367 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26368
26369 ;;
26370 esac
26371
26372 # Check out weakref support.
26373
26374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
26375 $as_echo_n "checking whether the target supports weakref... " >&6; }
26376 if ${libgfor_cv_have_weakref+:} false; then :
26377 $as_echo_n "(cached) " >&6
26378 else
26379
26380 save_CFLAGS="$CFLAGS"
26381 CFLAGS="$CFLAGS -Wunknown-pragmas -Werror"
26382 if test x$gcc_no_link = xyes; then
26383 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26384 fi
26385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26386 /* end confdefs.h. */
26387
26388 static int mytoto (int) __attribute__((__weakref__("toto")));
26389
26390 int
26391 main ()
26392 {
26393 return (mytoto != 0);
26394 ;
26395 return 0;
26396 }
26397 _ACEOF
26398 if ac_fn_c_try_link "$LINENO"; then :
26399 libgfor_cv_have_weakref=yes
26400 else
26401 libgfor_cv_have_weakref=no
26402 fi
26403 rm -f core conftest.err conftest.$ac_objext \
26404 conftest$ac_exeext conftest.$ac_ext
26405 CFLAGS="$save_CFLAGS"
26406 fi
26407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
26408 $as_echo "$libgfor_cv_have_weakref" >&6; }
26409 if test $libgfor_cv_have_weakref = yes; then
26410
26411 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
26412
26413 fi
26414
26415 # Various other checks on target
26416
26417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26418 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26419 if ${libgfor_cv_have_unlink_open_file+:} false; then :
26420 $as_echo_n "(cached) " >&6
26421 else
26422
26423 if test "$cross_compiling" = yes; then :
26424
26425 case "${target}" in
26426 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
26427 *) libgfor_cv_have_unlink_open_file=yes;;
26428 esac
26429 else
26430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26431 /* end confdefs.h. */
26432
26433 #include <errno.h>
26434 #include <fcntl.h>
26435 #include <unistd.h>
26436 #include <sys/stat.h>
26437
26438 int main ()
26439 {
26440 int fd;
26441
26442 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26443 if (fd <= 0)
26444 return 0;
26445 if (unlink ("testfile") == -1)
26446 return 1;
26447 write (fd, "This is a test\n", 15);
26448 close (fd);
26449
26450 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26451 return 0;
26452 else
26453 return 1;
26454 }
26455 _ACEOF
26456 if ac_fn_c_try_run "$LINENO"; then :
26457 libgfor_cv_have_unlink_open_file=yes
26458 else
26459 libgfor_cv_have_unlink_open_file=no
26460 fi
26461 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26462 conftest.$ac_objext conftest.beam conftest.$ac_ext
26463 fi
26464
26465 fi
26466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26467 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26468 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
26469
26470 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26471
26472 fi
26473
26474 # Check whether line terminator is LF or CRLF
26475
26476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26477 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26478 if ${libgfor_cv_have_crlf+:} false; then :
26479 $as_echo_n "(cached) " >&6
26480 else
26481
26482 if test "$cross_compiling" = yes; then :
26483
26484 case "${target}" in
26485 *mingw*) libgfor_cv_have_crlf=yes ;;
26486 *) libgfor_cv_have_crlf=no;;
26487 esac
26488 else
26489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26490 /* end confdefs.h. */
26491
26492 /* This test program should exit with status 0 if system uses a CRLF as
26493 line terminator, and status 1 otherwise.
26494 Since it is used to check for mingw systems, and should return 0 in any
26495 other case, in case of a failure we will not use CRLF. */
26496 #include <sys/stat.h>
26497 #include <stdlib.h>
26498 #include <fcntl.h>
26499 #include <stdio.h>
26500
26501 int main ()
26502 {
26503 #ifndef O_BINARY
26504 exit(1);
26505 #else
26506 int fd, bytes;
26507 char buff[5];
26508
26509 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26510 if (fd < 0)
26511 exit(1);
26512 if (write (fd, "\n", 1) < 0)
26513 perror ("write");
26514
26515 close (fd);
26516
26517 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26518 exit(1);
26519 bytes = read (fd, buff, 5);
26520 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26521 exit(0);
26522 else
26523 exit(1);
26524 #endif
26525 }
26526 _ACEOF
26527 if ac_fn_c_try_run "$LINENO"; then :
26528 libgfor_cv_have_crlf=yes
26529 else
26530 libgfor_cv_have_crlf=no
26531 fi
26532 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26533 conftest.$ac_objext conftest.beam conftest.$ac_ext
26534 fi
26535
26536 fi
26537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26538 $as_echo "$libgfor_cv_have_crlf" >&6; }
26539 if test x"$libgfor_cv_have_crlf" = xyes; then
26540
26541 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26542
26543 fi
26544
26545 # Check whether we support AVX extensions
26546
26547 ac_save_CFLAGS="$CFLAGS"
26548 CFLAGS="-O2 -mavx"
26549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26550 /* end confdefs.h. */
26551
26552 void _mm256_zeroall (void)
26553 {
26554 __builtin_ia32_vzeroall ();
26555 }
26556 int
26557 main ()
26558 {
26559
26560 ;
26561 return 0;
26562 }
26563 _ACEOF
26564 if ac_fn_c_try_compile "$LINENO"; then :
26565
26566 $as_echo "#define HAVE_AVX 1" >>confdefs.h
26567
26568 fi
26569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26570 CFLAGS="$ac_save_CFLAGS"
26571
26572
26573 # Check wether we support AVX2 extensions
26574
26575 ac_save_CFLAGS="$CFLAGS"
26576 CFLAGS="-O2 -mavx2"
26577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26578 /* end confdefs.h. */
26579
26580 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
26581 __v4di
26582 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
26583 {
26584 return __builtin_ia32_andnotsi256 (__X, __Y);
26585 }
26586 int
26587 main ()
26588 {
26589
26590 ;
26591 return 0;
26592 }
26593 _ACEOF
26594 if ac_fn_c_try_compile "$LINENO"; then :
26595
26596 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
26597
26598 fi
26599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26600 CFLAGS="$ac_save_CFLAGS"
26601
26602
26603 # Check wether we support AVX512f extensions
26604
26605 ac_save_CFLAGS="$CFLAGS"
26606 CFLAGS="-O2 -mavx512f"
26607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26608 /* end confdefs.h. */
26609
26610 typedef double __m512d __attribute__ ((__vector_size__ (64)));
26611 __m512d _mm512_add (__m512d a)
26612 {
26613 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
26614 /* For -m64/-mx32 also verify that code will work even if
26615 the target uses call saved zmm16+ and needs to emit
26616 unwind info for them (e.g. on mingw). See PR79127. */
26617 #ifdef __x86_64__
26618 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
26619 #endif
26620 return b;
26621 }
26622 int
26623 main ()
26624 {
26625
26626 ;
26627 return 0;
26628 }
26629 _ACEOF
26630 if ac_fn_c_try_compile "$LINENO"; then :
26631
26632 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
26633
26634 fi
26635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26636 CFLAGS="$ac_save_CFLAGS"
26637
26638
26639 # Check for FMA3 extensions
26640
26641 ac_save_CFLAGS="$CFLAGS"
26642 CFLAGS="-O2 -mfma -mno-fma4"
26643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26644 /* end confdefs.h. */
26645
26646 typedef float __m128 __attribute__ ((__vector_size__ (16)));
26647 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
26648 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
26649 {
26650 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
26651 (__v4sf)__B,
26652 (__v4sf)__C);
26653 }
26654 int
26655 main ()
26656 {
26657
26658 ;
26659 return 0;
26660 }
26661 _ACEOF
26662 if ac_fn_c_try_compile "$LINENO"; then :
26663
26664 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
26665
26666 fi
26667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26668 CFLAGS="$ac_save_CFLAGS"
26669
26670
26671 # Check for FMA4 extensions
26672
26673 ac_save_CFLAGS="$CFLAGS"
26674 CFLAGS="-O2 -mfma4 -mno-fma"
26675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26676 /* end confdefs.h. */
26677
26678 typedef float __m128 __attribute__ ((__vector_size__ (16)));
26679 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
26680 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
26681 {
26682 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
26683 (__v4sf)__B,
26684 (__v4sf)__C);
26685 }
26686 int
26687 main ()
26688 {
26689
26690 ;
26691 return 0;
26692 }
26693 _ACEOF
26694 if ac_fn_c_try_compile "$LINENO"; then :
26695
26696 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
26697
26698 fi
26699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26700 CFLAGS="$ac_save_CFLAGS"
26701
26702
26703 # Check if AVX128 works
26704
26705 ac_save_CFLAGS="$CFLAGS"
26706 CFLAGS="-O2 -mavx -mprefer-avx128"
26707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26708 /* end confdefs.h. */
26709
26710 void foo()
26711 {
26712 }
26713 int
26714 main ()
26715 {
26716
26717 ;
26718 return 0;
26719 }
26720 _ACEOF
26721 if ac_fn_c_try_compile "$LINENO"; then :
26722
26723 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
26724
26725 if true; then
26726 HAVE_AVX128_TRUE=
26727 HAVE_AVX128_FALSE='#'
26728 else
26729 HAVE_AVX128_TRUE='#'
26730 HAVE_AVX128_FALSE=
26731 fi
26732
26733 else
26734 if false; then
26735 HAVE_AVX128_TRUE=
26736 HAVE_AVX128_FALSE='#'
26737 else
26738 HAVE_AVX128_TRUE='#'
26739 HAVE_AVX128_FALSE=
26740 fi
26741
26742 fi
26743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26744 CFLAGS="$ac_save_CFLAGS"
26745
26746
26747 # Determine what GCC version number to use in filesystem paths.
26748
26749 get_gcc_base_ver="cat"
26750
26751 # Check whether --with-gcc-major-version-only was given.
26752 if test "${with_gcc_major_version_only+set}" = set; then :
26753 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
26754 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
26755 fi
26756
26757 fi
26758
26759
26760
26761
26762 cat >confcache <<\_ACEOF
26763 # This file is a shell script that caches the results of configure
26764 # tests run on this system so they can be shared between configure
26765 # scripts and configure runs, see configure's option --config-cache.
26766 # It is not useful on other systems. If it contains results you don't
26767 # want to keep, you may remove or edit it.
26768 #
26769 # config.status only pays attention to the cache file if you give it
26770 # the --recheck option to rerun configure.
26771 #
26772 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26773 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26774 # following values.
26775
26776 _ACEOF
26777
26778 # The following way of writing the cache mishandles newlines in values,
26779 # but we know of no workaround that is simple, portable, and efficient.
26780 # So, we kill variables containing newlines.
26781 # Ultrix sh set writes to stderr and can't be redirected directly,
26782 # and sets the high bit in the cache file unless we assign to the vars.
26783 (
26784 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26785 eval ac_val=\$$ac_var
26786 case $ac_val in #(
26787 *${as_nl}*)
26788 case $ac_var in #(
26789 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26790 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26791 esac
26792 case $ac_var in #(
26793 _ | IFS | as_nl) ;; #(
26794 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26795 *) { eval $ac_var=; unset $ac_var;} ;;
26796 esac ;;
26797 esac
26798 done
26799
26800 (set) 2>&1 |
26801 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26802 *${as_nl}ac_space=\ *)
26803 # `set' does not quote correctly, so add quotes: double-quote
26804 # substitution turns \\\\ into \\, and sed turns \\ into \.
26805 sed -n \
26806 "s/'/'\\\\''/g;
26807 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26808 ;; #(
26809 *)
26810 # `set' quotes correctly as required by POSIX, so do not add quotes.
26811 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26812 ;;
26813 esac |
26814 sort
26815 ) |
26816 sed '
26817 /^ac_cv_env_/b end
26818 t clear
26819 :clear
26820 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26821 t end
26822 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26823 :end' >>confcache
26824 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26825 if test -w "$cache_file"; then
26826 if test "x$cache_file" != "x/dev/null"; then
26827 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26828 $as_echo "$as_me: updating cache $cache_file" >&6;}
26829 if test ! -f "$cache_file" || test -h "$cache_file"; then
26830 cat confcache >"$cache_file"
26831 else
26832 case $cache_file in #(
26833 */* | ?:*)
26834 mv -f confcache "$cache_file"$$ &&
26835 mv -f "$cache_file"$$ "$cache_file" ;; #(
26836 *)
26837 mv -f confcache "$cache_file" ;;
26838 esac
26839 fi
26840 fi
26841 else
26842 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26843 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26844 fi
26845 fi
26846 rm -f confcache
26847
26848 if test ${multilib} = yes; then
26849 multilib_arg="--enable-multilib"
26850 else
26851 multilib_arg=
26852 fi
26853
26854 # Write our Makefile and spec file.
26855 ac_config_files="$ac_config_files Makefile libgfortran.spec"
26856
26857 cat >confcache <<\_ACEOF
26858 # This file is a shell script that caches the results of configure
26859 # tests run on this system so they can be shared between configure
26860 # scripts and configure runs, see configure's option --config-cache.
26861 # It is not useful on other systems. If it contains results you don't
26862 # want to keep, you may remove or edit it.
26863 #
26864 # config.status only pays attention to the cache file if you give it
26865 # the --recheck option to rerun configure.
26866 #
26867 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26868 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26869 # following values.
26870
26871 _ACEOF
26872
26873 # The following way of writing the cache mishandles newlines in values,
26874 # but we know of no workaround that is simple, portable, and efficient.
26875 # So, we kill variables containing newlines.
26876 # Ultrix sh set writes to stderr and can't be redirected directly,
26877 # and sets the high bit in the cache file unless we assign to the vars.
26878 (
26879 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26880 eval ac_val=\$$ac_var
26881 case $ac_val in #(
26882 *${as_nl}*)
26883 case $ac_var in #(
26884 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26885 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26886 esac
26887 case $ac_var in #(
26888 _ | IFS | as_nl) ;; #(
26889 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26890 *) { eval $ac_var=; unset $ac_var;} ;;
26891 esac ;;
26892 esac
26893 done
26894
26895 (set) 2>&1 |
26896 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26897 *${as_nl}ac_space=\ *)
26898 # `set' does not quote correctly, so add quotes: double-quote
26899 # substitution turns \\\\ into \\, and sed turns \\ into \.
26900 sed -n \
26901 "s/'/'\\\\''/g;
26902 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26903 ;; #(
26904 *)
26905 # `set' quotes correctly as required by POSIX, so do not add quotes.
26906 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26907 ;;
26908 esac |
26909 sort
26910 ) |
26911 sed '
26912 /^ac_cv_env_/b end
26913 t clear
26914 :clear
26915 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26916 t end
26917 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26918 :end' >>confcache
26919 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26920 if test -w "$cache_file"; then
26921 if test "x$cache_file" != "x/dev/null"; then
26922 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26923 $as_echo "$as_me: updating cache $cache_file" >&6;}
26924 if test ! -f "$cache_file" || test -h "$cache_file"; then
26925 cat confcache >"$cache_file"
26926 else
26927 case $cache_file in #(
26928 */* | ?:*)
26929 mv -f confcache "$cache_file"$$ &&
26930 mv -f "$cache_file"$$ "$cache_file" ;; #(
26931 *)
26932 mv -f confcache "$cache_file" ;;
26933 esac
26934 fi
26935 fi
26936 else
26937 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26938 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26939 fi
26940 fi
26941 rm -f confcache
26942
26943 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26944 # Let make expand exec_prefix.
26945 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26946
26947 DEFS=-DHAVE_CONFIG_H
26948
26949 ac_libobjs=
26950 ac_ltlibobjs=
26951 U=
26952 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26953 # 1. Remove the extension, and $U if already installed.
26954 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26955 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26956 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26957 # will be set to the directory where LIBOBJS objects are built.
26958 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26959 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26960 done
26961 LIBOBJS=$ac_libobjs
26962
26963 LTLIBOBJS=$ac_ltlibobjs
26964
26965
26966 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26967 as_fn_error $? "conditional \"onestep\" was never defined.
26968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26969 fi
26970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
26971 $as_echo_n "checking that generated files are newer than configure... " >&6; }
26972 if test -n "$am_sleep_pid"; then
26973 # Hide warnings about reused PIDs.
26974 wait $am_sleep_pid 2>/dev/null
26975 fi
26976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
26977 $as_echo "done" >&6; }
26978 if test -n "$EXEEXT"; then
26979 am__EXEEXT_TRUE=
26980 am__EXEEXT_FALSE='#'
26981 else
26982 am__EXEEXT_TRUE='#'
26983 am__EXEEXT_FALSE=
26984 fi
26985
26986 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26987 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
26988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26989 fi
26990 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26991 as_fn_error $? "conditional \"AMDEP\" was never defined.
26992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26993 fi
26994 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26995 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
26996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26997 fi
26998 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26999 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
27000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27001 fi
27002 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
27003 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
27004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27005 fi
27006 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
27007 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
27008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27009 fi
27010 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
27011 as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
27012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27013 fi
27014 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
27015 as_fn_error $? "conditional \"LIBGFOR_MINIMAL\" was never defined.
27016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27017 fi
27018 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
27019 as_fn_error $? "conditional \"HAVE_HWCAP\" was never defined.
27020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27021 fi
27022 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
27023 as_fn_error $? "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
27024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27025 fi
27026 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
27027 as_fn_error $? "conditional \"IEEE_SUPPORT\" was never defined.
27028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27029 fi
27030 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
27031 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
27032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27033 fi
27034 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
27035 as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
27036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27037 fi
27038
27039 : "${CONFIG_STATUS=./config.status}"
27040 ac_write_fail=0
27041 ac_clean_files_save=$ac_clean_files
27042 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
27043 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
27044 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
27045 as_write_fail=0
27046 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
27047 #! $SHELL
27048 # Generated by $as_me.
27049 # Run this file to recreate the current configuration.
27050 # Compiler output produced by configure, useful for debugging
27051 # configure, is in config.log if it exists.
27052
27053 debug=false
27054 ac_cs_recheck=false
27055 ac_cs_silent=false
27056
27057 SHELL=\${CONFIG_SHELL-$SHELL}
27058 export SHELL
27059 _ASEOF
27060 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
27061 ## -------------------- ##
27062 ## M4sh Initialization. ##
27063 ## -------------------- ##
27064
27065 # Be more Bourne compatible
27066 DUALCASE=1; export DUALCASE # for MKS sh
27067 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
27068 emulate sh
27069 NULLCMD=:
27070 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27071 # is contrary to our usage. Disable this feature.
27072 alias -g '${1+"$@"}'='"$@"'
27073 setopt NO_GLOB_SUBST
27074 else
27075 case `(set -o) 2>/dev/null` in #(
27076 *posix*) :
27077 set -o posix ;; #(
27078 *) :
27079 ;;
27080 esac
27081 fi
27082
27083
27084 as_nl='
27085 '
27086 export as_nl
27087 # Printing a long string crashes Solaris 7 /usr/bin/printf.
27088 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
27089 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
27090 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
27091 # Prefer a ksh shell builtin over an external printf program on Solaris,
27092 # but without wasting forks for bash or zsh.
27093 if test -z "$BASH_VERSION$ZSH_VERSION" \
27094 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
27095 as_echo='print -r --'
27096 as_echo_n='print -rn --'
27097 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
27098 as_echo='printf %s\n'
27099 as_echo_n='printf %s'
27100 else
27101 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
27102 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
27103 as_echo_n='/usr/ucb/echo -n'
27104 else
27105 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
27106 as_echo_n_body='eval
27107 arg=$1;
27108 case $arg in #(
27109 *"$as_nl"*)
27110 expr "X$arg" : "X\\(.*\\)$as_nl";
27111 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
27112 esac;
27113 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
27114 '
27115 export as_echo_n_body
27116 as_echo_n='sh -c $as_echo_n_body as_echo'
27117 fi
27118 export as_echo_body
27119 as_echo='sh -c $as_echo_body as_echo'
27120 fi
27121
27122 # The user is always right.
27123 if test "${PATH_SEPARATOR+set}" != set; then
27124 PATH_SEPARATOR=:
27125 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
27126 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
27127 PATH_SEPARATOR=';'
27128 }
27129 fi
27130
27131
27132 # IFS
27133 # We need space, tab and new line, in precisely that order. Quoting is
27134 # there to prevent editors from complaining about space-tab.
27135 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
27136 # splitting by setting IFS to empty value.)
27137 IFS=" "" $as_nl"
27138
27139 # Find who we are. Look in the path if we contain no directory separator.
27140 as_myself=
27141 case $0 in #((
27142 *[\\/]* ) as_myself=$0 ;;
27143 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27144 for as_dir in $PATH
27145 do
27146 IFS=$as_save_IFS
27147 test -z "$as_dir" && as_dir=.
27148 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27149 done
27150 IFS=$as_save_IFS
27151
27152 ;;
27153 esac
27154 # We did not find ourselves, most probably we were run as `sh COMMAND'
27155 # in which case we are not to be found in the path.
27156 if test "x$as_myself" = x; then
27157 as_myself=$0
27158 fi
27159 if test ! -f "$as_myself"; then
27160 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27161 exit 1
27162 fi
27163
27164 # Unset variables that we do not need and which cause bugs (e.g. in
27165 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
27166 # suppresses any "Segmentation fault" message there. '((' could
27167 # trigger a bug in pdksh 5.2.14.
27168 for as_var in BASH_ENV ENV MAIL MAILPATH
27169 do eval test x\${$as_var+set} = xset \
27170 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
27171 done
27172 PS1='$ '
27173 PS2='> '
27174 PS4='+ '
27175
27176 # NLS nuisances.
27177 LC_ALL=C
27178 export LC_ALL
27179 LANGUAGE=C
27180 export LANGUAGE
27181
27182 # CDPATH.
27183 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27184
27185
27186 # as_fn_error STATUS ERROR [LINENO LOG_FD]
27187 # ----------------------------------------
27188 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
27189 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
27190 # script with STATUS, using 1 if that was 0.
27191 as_fn_error ()
27192 {
27193 as_status=$1; test $as_status -eq 0 && as_status=1
27194 if test "$4"; then
27195 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
27196 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
27197 fi
27198 $as_echo "$as_me: error: $2" >&2
27199 as_fn_exit $as_status
27200 } # as_fn_error
27201
27202
27203 # as_fn_set_status STATUS
27204 # -----------------------
27205 # Set $? to STATUS, without forking.
27206 as_fn_set_status ()
27207 {
27208 return $1
27209 } # as_fn_set_status
27210
27211 # as_fn_exit STATUS
27212 # -----------------
27213 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27214 as_fn_exit ()
27215 {
27216 set +e
27217 as_fn_set_status $1
27218 exit $1
27219 } # as_fn_exit
27220
27221 # as_fn_unset VAR
27222 # ---------------
27223 # Portably unset VAR.
27224 as_fn_unset ()
27225 {
27226 { eval $1=; unset $1;}
27227 }
27228 as_unset=as_fn_unset
27229 # as_fn_append VAR VALUE
27230 # ----------------------
27231 # Append the text in VALUE to the end of the definition contained in VAR. Take
27232 # advantage of any shell optimizations that allow amortized linear growth over
27233 # repeated appends, instead of the typical quadratic growth present in naive
27234 # implementations.
27235 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
27236 eval 'as_fn_append ()
27237 {
27238 eval $1+=\$2
27239 }'
27240 else
27241 as_fn_append ()
27242 {
27243 eval $1=\$$1\$2
27244 }
27245 fi # as_fn_append
27246
27247 # as_fn_arith ARG...
27248 # ------------------
27249 # Perform arithmetic evaluation on the ARGs, and store the result in the
27250 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27251 # must be portable across $(()) and expr.
27252 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
27253 eval 'as_fn_arith ()
27254 {
27255 as_val=$(( $* ))
27256 }'
27257 else
27258 as_fn_arith ()
27259 {
27260 as_val=`expr "$@" || test $? -eq 1`
27261 }
27262 fi # as_fn_arith
27263
27264
27265 if expr a : '\(a\)' >/dev/null 2>&1 &&
27266 test "X`expr 00001 : '.*\(...\)'`" = X001; then
27267 as_expr=expr
27268 else
27269 as_expr=false
27270 fi
27271
27272 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27273 as_basename=basename
27274 else
27275 as_basename=false
27276 fi
27277
27278 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
27279 as_dirname=dirname
27280 else
27281 as_dirname=false
27282 fi
27283
27284 as_me=`$as_basename -- "$0" ||
27285 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27286 X"$0" : 'X\(//\)$' \| \
27287 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27288 $as_echo X/"$0" |
27289 sed '/^.*\/\([^/][^/]*\)\/*$/{
27290 s//\1/
27291 q
27292 }
27293 /^X\/\(\/\/\)$/{
27294 s//\1/
27295 q
27296 }
27297 /^X\/\(\/\).*/{
27298 s//\1/
27299 q
27300 }
27301 s/.*/./; q'`
27302
27303 # Avoid depending upon Character Ranges.
27304 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27305 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27306 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27307 as_cr_digits='0123456789'
27308 as_cr_alnum=$as_cr_Letters$as_cr_digits
27309
27310 ECHO_C= ECHO_N= ECHO_T=
27311 case `echo -n x` in #(((((
27312 -n*)
27313 case `echo 'xy\c'` in
27314 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
27315 xy) ECHO_C='\c';;
27316 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
27317 ECHO_T=' ';;
27318 esac;;
27319 *)
27320 ECHO_N='-n';;
27321 esac
27322
27323 rm -f conf$$ conf$$.exe conf$$.file
27324 if test -d conf$$.dir; then
27325 rm -f conf$$.dir/conf$$.file
27326 else
27327 rm -f conf$$.dir
27328 mkdir conf$$.dir 2>/dev/null
27329 fi
27330 if (echo >conf$$.file) 2>/dev/null; then
27331 if ln -s conf$$.file conf$$ 2>/dev/null; then
27332 as_ln_s='ln -s'
27333 # ... but there are two gotchas:
27334 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27335 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27336 # In both cases, we have to default to `cp -pR'.
27337 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
27338 as_ln_s='cp -pR'
27339 elif ln conf$$.file conf$$ 2>/dev/null; then
27340 as_ln_s=ln
27341 else
27342 as_ln_s='cp -pR'
27343 fi
27344 else
27345 as_ln_s='cp -pR'
27346 fi
27347 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27348 rmdir conf$$.dir 2>/dev/null
27349
27350
27351 # as_fn_mkdir_p
27352 # -------------
27353 # Create "$as_dir" as a directory, including parents if necessary.
27354 as_fn_mkdir_p ()
27355 {
27356
27357 case $as_dir in #(
27358 -*) as_dir=./$as_dir;;
27359 esac
27360 test -d "$as_dir" || eval $as_mkdir_p || {
27361 as_dirs=
27362 while :; do
27363 case $as_dir in #(
27364 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27365 *) as_qdir=$as_dir;;
27366 esac
27367 as_dirs="'$as_qdir' $as_dirs"
27368 as_dir=`$as_dirname -- "$as_dir" ||
27369 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27370 X"$as_dir" : 'X\(//\)[^/]' \| \
27371 X"$as_dir" : 'X\(//\)$' \| \
27372 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27373 $as_echo X"$as_dir" |
27374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27375 s//\1/
27376 q
27377 }
27378 /^X\(\/\/\)[^/].*/{
27379 s//\1/
27380 q
27381 }
27382 /^X\(\/\/\)$/{
27383 s//\1/
27384 q
27385 }
27386 /^X\(\/\).*/{
27387 s//\1/
27388 q
27389 }
27390 s/.*/./; q'`
27391 test -d "$as_dir" && break
27392 done
27393 test -z "$as_dirs" || eval "mkdir $as_dirs"
27394 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
27395
27396
27397 } # as_fn_mkdir_p
27398 if mkdir -p . 2>/dev/null; then
27399 as_mkdir_p='mkdir -p "$as_dir"'
27400 else
27401 test -d ./-p && rmdir ./-p
27402 as_mkdir_p=false
27403 fi
27404
27405
27406 # as_fn_executable_p FILE
27407 # -----------------------
27408 # Test if FILE is an executable regular file.
27409 as_fn_executable_p ()
27410 {
27411 test -f "$1" && test -x "$1"
27412 } # as_fn_executable_p
27413 as_test_x='test -x'
27414 as_executable_p=as_fn_executable_p
27415
27416 # Sed expression to map a string onto a valid CPP name.
27417 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27418
27419 # Sed expression to map a string onto a valid variable name.
27420 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27421
27422
27423 exec 6>&1
27424 ## ----------------------------------- ##
27425 ## Main body of $CONFIG_STATUS script. ##
27426 ## ----------------------------------- ##
27427 _ASEOF
27428 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
27429
27430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27431 # Save the log message, to keep $0 and so on meaningful, and to
27432 # report actual input values of CONFIG_FILES etc. instead of their
27433 # values after options handling.
27434 ac_log="
27435 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27436 generated by GNU Autoconf 2.69. Invocation command line was
27437
27438 CONFIG_FILES = $CONFIG_FILES
27439 CONFIG_HEADERS = $CONFIG_HEADERS
27440 CONFIG_LINKS = $CONFIG_LINKS
27441 CONFIG_COMMANDS = $CONFIG_COMMANDS
27442 $ $0 $@
27443
27444 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27445 "
27446
27447 _ACEOF
27448
27449 case $ac_config_files in *"
27450 "*) set x $ac_config_files; shift; ac_config_files=$*;;
27451 esac
27452
27453 case $ac_config_headers in *"
27454 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
27455 esac
27456
27457
27458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27459 # Files that config.status was made for.
27460 config_files="$ac_config_files"
27461 config_headers="$ac_config_headers"
27462 config_commands="$ac_config_commands"
27463
27464 _ACEOF
27465
27466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27467 ac_cs_usage="\
27468 \`$as_me' instantiates files and other configuration actions
27469 from templates according to the current configuration. Unless the files
27470 and actions are specified as TAGs, all are instantiated by default.
27471
27472 Usage: $0 [OPTION]... [TAG]...
27473
27474 -h, --help print this help, then exit
27475 -V, --version print version number and configuration settings, then exit
27476 --config print configuration, then exit
27477 -q, --quiet, --silent
27478 do not print progress messages
27479 -d, --debug don't remove temporary files
27480 --recheck update $as_me by reconfiguring in the same conditions
27481 --file=FILE[:TEMPLATE]
27482 instantiate the configuration file FILE
27483 --header=FILE[:TEMPLATE]
27484 instantiate the configuration header FILE
27485
27486 Configuration files:
27487 $config_files
27488
27489 Configuration headers:
27490 $config_headers
27491
27492 Configuration commands:
27493 $config_commands
27494
27495 Report bugs to the package provider.
27496 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27497 General help using GNU software: <http://www.gnu.org/gethelp/>."
27498
27499 _ACEOF
27500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27501 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
27502 ac_cs_version="\\
27503 GNU Fortran Runtime Library config.status 0.3
27504 configured by $0, generated by GNU Autoconf 2.69,
27505 with options \\"\$ac_cs_config\\"
27506
27507 Copyright (C) 2012 Free Software Foundation, Inc.
27508 This config.status script is free software; the Free Software Foundation
27509 gives unlimited permission to copy, distribute and modify it."
27510
27511 ac_pwd='$ac_pwd'
27512 srcdir='$srcdir'
27513 INSTALL='$INSTALL'
27514 MKDIR_P='$MKDIR_P'
27515 AWK='$AWK'
27516 test -n "\$AWK" || AWK=awk
27517 _ACEOF
27518
27519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27520 # The default lists apply if the user does not specify any file.
27521 ac_need_defaults=:
27522 while test $# != 0
27523 do
27524 case $1 in
27525 --*=?*)
27526 ac_option=`expr "X$1" : 'X\([^=]*\)='`
27527 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27528 ac_shift=:
27529 ;;
27530 --*=)
27531 ac_option=`expr "X$1" : 'X\([^=]*\)='`
27532 ac_optarg=
27533 ac_shift=:
27534 ;;
27535 *)
27536 ac_option=$1
27537 ac_optarg=$2
27538 ac_shift=shift
27539 ;;
27540 esac
27541
27542 case $ac_option in
27543 # Handling of the options.
27544 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27545 ac_cs_recheck=: ;;
27546 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27547 $as_echo "$ac_cs_version"; exit ;;
27548 --config | --confi | --conf | --con | --co | --c )
27549 $as_echo "$ac_cs_config"; exit ;;
27550 --debug | --debu | --deb | --de | --d | -d )
27551 debug=: ;;
27552 --file | --fil | --fi | --f )
27553 $ac_shift
27554 case $ac_optarg in
27555 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27556 '') as_fn_error $? "missing file argument" ;;
27557 esac
27558 as_fn_append CONFIG_FILES " '$ac_optarg'"
27559 ac_need_defaults=false;;
27560 --header | --heade | --head | --hea )
27561 $ac_shift
27562 case $ac_optarg in
27563 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27564 esac
27565 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
27566 ac_need_defaults=false;;
27567 --he | --h)
27568 # Conflict between --help and --header
27569 as_fn_error $? "ambiguous option: \`$1'
27570 Try \`$0 --help' for more information.";;
27571 --help | --hel | -h )
27572 $as_echo "$ac_cs_usage"; exit ;;
27573 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27574 | -silent | --silent | --silen | --sile | --sil | --si | --s)
27575 ac_cs_silent=: ;;
27576
27577 # This is an error.
27578 -*) as_fn_error $? "unrecognized option: \`$1'
27579 Try \`$0 --help' for more information." ;;
27580
27581 *) as_fn_append ac_config_targets " $1"
27582 ac_need_defaults=false ;;
27583
27584 esac
27585 shift
27586 done
27587
27588 ac_configure_extra_args=
27589
27590 if $ac_cs_silent; then
27591 exec 6>/dev/null
27592 ac_configure_extra_args="$ac_configure_extra_args --silent"
27593 fi
27594
27595 _ACEOF
27596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27597 if \$ac_cs_recheck; then
27598 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27599 shift
27600 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27601 CONFIG_SHELL='$SHELL'
27602 export CONFIG_SHELL
27603 exec "\$@"
27604 fi
27605
27606 _ACEOF
27607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27608 exec 5>>config.log
27609 {
27610 echo
27611 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27612 ## Running $as_me. ##
27613 _ASBOX
27614 $as_echo "$ac_log"
27615 } >&5
27616
27617 _ACEOF
27618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27619 #
27620 # INIT-COMMANDS
27621 #
27622
27623 srcdir="$srcdir"
27624 host="$host"
27625 target="$target"
27626 with_multisubdir="$with_multisubdir"
27627 with_multisrctop="$with_multisrctop"
27628 with_target_subdir="$with_target_subdir"
27629 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27630 multi_basedir="$multi_basedir"
27631 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27632 CC="$CC"
27633 CXX="$CXX"
27634 GFORTRAN="$GFORTRAN"
27635 GDC="$GDC"
27636 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27637
27638
27639 # The HP-UX ksh and POSIX shell print the target directory to stdout
27640 # if CDPATH is set.
27641 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27642
27643 sed_quote_subst='$sed_quote_subst'
27644 double_quote_subst='$double_quote_subst'
27645 delay_variable_subst='$delay_variable_subst'
27646 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27647 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27648 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27649 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27650 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27651 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27652 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27653 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27654 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27655 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27656 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27657 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27658 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27659 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27660 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27661 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27662 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27663 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27664 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27665 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27666 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27667 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27668 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27669 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27670 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27671 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27672 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27673 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27674 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27675 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27676 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27677 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27678 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27679 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27680 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27681 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27682 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27683 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27684 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27685 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27686 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27687 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27688 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27689 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27690 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27691 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27692 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27693 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27694 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
27695 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27696 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27697 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27698 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27699 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27700 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27701 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27702 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27703 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27704 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27705 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27706 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27707 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27708 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27709 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27710 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27711 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27712 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27713 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27714 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27715 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27716 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27717 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27718 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27719 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27720 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27721 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27722 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27723 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27724 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27725 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27726 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27727 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27728 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27729 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27730 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27731 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27732 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27733 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27734 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27735 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27736 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27737 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27738 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27739 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27740 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27741 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27742 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27743 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27744 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27745 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27746 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27747 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27748 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27749 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27750 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27751 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27752 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27753 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27754 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27755 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27756 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27757 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27758 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27759 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27760 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27761 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27762 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27763 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27764 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27765 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27766 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27767 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27768 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27769 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27770 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27771 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27772 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27773 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27774 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27775 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27776 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27777 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27778 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27779 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27780 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27781 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27782 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27783 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27784 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27785 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27786 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27787 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27788 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27789 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27790 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27791 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27792 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27793 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27794 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27795 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27796 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27797 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27798 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27799 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27800 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27801 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27802 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27803 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27804 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27805 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27806 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27807 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27808 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27809 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27810 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27811 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27812 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27813 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27814 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27815 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27816 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27817 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27818 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27819 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27820 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27821
27822 LTCC='$LTCC'
27823 LTCFLAGS='$LTCFLAGS'
27824 compiler='$compiler_DEFAULT'
27825
27826 # A function that is used when there is no print builtin or printf.
27827 func_fallback_echo ()
27828 {
27829 eval 'cat <<_LTECHO_EOF
27830 \$1
27831 _LTECHO_EOF'
27832 }
27833
27834 # Quote evaled strings.
27835 for var in SED \
27836 GREP \
27837 EGREP \
27838 FGREP \
27839 SHELL \
27840 ECHO \
27841 LD \
27842 NM \
27843 LN_S \
27844 lt_SP2NL \
27845 lt_NL2SP \
27846 reload_flag \
27847 OBJDUMP \
27848 deplibs_check_method \
27849 file_magic_cmd \
27850 AR \
27851 AR_FLAGS \
27852 STRIP \
27853 RANLIB \
27854 CC \
27855 CFLAGS \
27856 compiler \
27857 lt_cv_sys_global_symbol_pipe \
27858 lt_cv_sys_global_symbol_to_cdecl \
27859 lt_cv_sys_global_symbol_to_c_name_address \
27860 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27861 lt_prog_compiler_no_builtin_flag \
27862 lt_prog_compiler_wl \
27863 lt_prog_compiler_pic \
27864 lt_prog_compiler_static \
27865 lt_cv_prog_compiler_c_o \
27866 need_locks \
27867 DSYMUTIL \
27868 NMEDIT \
27869 LIPO \
27870 OTOOL \
27871 OTOOL64 \
27872 shrext_cmds \
27873 export_dynamic_flag_spec \
27874 whole_archive_flag_spec \
27875 compiler_needs_object \
27876 with_gnu_ld \
27877 allow_undefined_flag \
27878 no_undefined_flag \
27879 hardcode_libdir_flag_spec \
27880 hardcode_libdir_flag_spec_ld \
27881 hardcode_libdir_separator \
27882 fix_srcfile_path \
27883 exclude_expsyms \
27884 include_expsyms \
27885 file_list_spec \
27886 variables_saved_for_relink \
27887 libname_spec \
27888 library_names_spec \
27889 soname_spec \
27890 install_override_mode \
27891 finish_eval \
27892 old_striplib \
27893 striplib \
27894 compiler_lib_search_dirs \
27895 predep_objects \
27896 postdep_objects \
27897 predeps \
27898 postdeps \
27899 compiler_lib_search_path \
27900 LD_FC \
27901 reload_flag_FC \
27902 compiler_FC \
27903 lt_prog_compiler_no_builtin_flag_FC \
27904 lt_prog_compiler_wl_FC \
27905 lt_prog_compiler_pic_FC \
27906 lt_prog_compiler_static_FC \
27907 lt_cv_prog_compiler_c_o_FC \
27908 export_dynamic_flag_spec_FC \
27909 whole_archive_flag_spec_FC \
27910 compiler_needs_object_FC \
27911 with_gnu_ld_FC \
27912 allow_undefined_flag_FC \
27913 no_undefined_flag_FC \
27914 hardcode_libdir_flag_spec_FC \
27915 hardcode_libdir_flag_spec_ld_FC \
27916 hardcode_libdir_separator_FC \
27917 fix_srcfile_path_FC \
27918 exclude_expsyms_FC \
27919 include_expsyms_FC \
27920 file_list_spec_FC \
27921 compiler_lib_search_dirs_FC \
27922 predep_objects_FC \
27923 postdep_objects_FC \
27924 predeps_FC \
27925 postdeps_FC \
27926 compiler_lib_search_path_FC; do
27927 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27928 *[\\\\\\\`\\"\\\$]*)
27929 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27930 ;;
27931 *)
27932 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27933 ;;
27934 esac
27935 done
27936
27937 # Double-quote double-evaled strings.
27938 for var in reload_cmds \
27939 old_postinstall_cmds \
27940 old_postuninstall_cmds \
27941 old_archive_cmds \
27942 extract_expsyms_cmds \
27943 old_archive_from_new_cmds \
27944 old_archive_from_expsyms_cmds \
27945 archive_cmds \
27946 archive_expsym_cmds \
27947 module_cmds \
27948 module_expsym_cmds \
27949 export_symbols_cmds \
27950 prelink_cmds \
27951 postinstall_cmds \
27952 postuninstall_cmds \
27953 finish_cmds \
27954 sys_lib_search_path_spec \
27955 sys_lib_dlsearch_path_spec \
27956 reload_cmds_FC \
27957 old_archive_cmds_FC \
27958 old_archive_from_new_cmds_FC \
27959 old_archive_from_expsyms_cmds_FC \
27960 archive_cmds_FC \
27961 archive_expsym_cmds_FC \
27962 module_cmds_FC \
27963 module_expsym_cmds_FC \
27964 export_symbols_cmds_FC \
27965 prelink_cmds_FC; do
27966 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27967 *[\\\\\\\`\\"\\\$]*)
27968 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27969 ;;
27970 *)
27971 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27972 ;;
27973 esac
27974 done
27975
27976 ac_aux_dir='$ac_aux_dir'
27977 xsi_shell='$xsi_shell'
27978 lt_shell_append='$lt_shell_append'
27979
27980 # See if we are running on zsh, and set the options which allow our
27981 # commands through without removal of \ escapes INIT.
27982 if test -n "\${ZSH_VERSION+set}" ; then
27983 setopt NO_GLOB_SUBST
27984 fi
27985
27986
27987 PACKAGE='$PACKAGE'
27988 VERSION='$VERSION'
27989 TIMESTAMP='$TIMESTAMP'
27990 RM='$RM'
27991 ofile='$ofile'
27992
27993
27994
27995
27996
27997
27998 GCC="$GCC"
27999 CC="$CC"
28000 acx_cv_header_stdint="$acx_cv_header_stdint"
28001 acx_cv_type_int8_t="$acx_cv_type_int8_t"
28002 acx_cv_type_int16_t="$acx_cv_type_int16_t"
28003 acx_cv_type_int32_t="$acx_cv_type_int32_t"
28004 acx_cv_type_int64_t="$acx_cv_type_int64_t"
28005 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
28006 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
28007 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
28008 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
28009 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
28010 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
28011 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
28012 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
28013 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
28014
28015
28016 _ACEOF
28017
28018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28019
28020 # Handling of arguments.
28021 for ac_config_target in $ac_config_targets
28022 do
28023 case $ac_config_target in
28024 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
28025 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
28026 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
28027 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
28028 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
28029 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
28030 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
28031
28032 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
28033 esac
28034 done
28035
28036
28037 # If the user did not use the arguments to specify the items to instantiate,
28038 # then the envvar interface is used. Set only those that are not.
28039 # We use the long form for the default assignment because of an extremely
28040 # bizarre bug on SunOS 4.1.3.
28041 if $ac_need_defaults; then
28042 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
28043 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
28044 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
28045 fi
28046
28047 # Have a temporary directory for convenience. Make it in the build tree
28048 # simply because there is no reason against having it here, and in addition,
28049 # creating and moving files from /tmp can sometimes cause problems.
28050 # Hook for its removal unless debugging.
28051 # Note that there is a small window in which the directory will not be cleaned:
28052 # after its creation but before its name has been assigned to `$tmp'.
28053 $debug ||
28054 {
28055 tmp= ac_tmp=
28056 trap 'exit_status=$?
28057 : "${ac_tmp:=$tmp}"
28058 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
28059 ' 0
28060 trap 'as_fn_exit 1' 1 2 13 15
28061 }
28062 # Create a (secure) tmp directory for tmp files.
28063
28064 {
28065 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28066 test -d "$tmp"
28067 } ||
28068 {
28069 tmp=./conf$$-$RANDOM
28070 (umask 077 && mkdir "$tmp")
28071 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
28072 ac_tmp=$tmp
28073
28074 # Set up the scripts for CONFIG_FILES section.
28075 # No need to generate them if there are no CONFIG_FILES.
28076 # This happens for instance with `./config.status config.h'.
28077 if test -n "$CONFIG_FILES"; then
28078
28079
28080 ac_cr=`echo X | tr X '\015'`
28081 # On cygwin, bash can eat \r inside `` if the user requested igncr.
28082 # But we know of no other shell where ac_cr would be empty at this
28083 # point, so we can use a bashism as a fallback.
28084 if test "x$ac_cr" = x; then
28085 eval ac_cr=\$\'\\r\'
28086 fi
28087 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
28088 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
28089 ac_cs_awk_cr='\\r'
28090 else
28091 ac_cs_awk_cr=$ac_cr
28092 fi
28093
28094 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
28095 _ACEOF
28096
28097
28098 {
28099 echo "cat >conf$$subs.awk <<_ACEOF" &&
28100 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
28101 echo "_ACEOF"
28102 } >conf$$subs.sh ||
28103 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28104 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
28105 ac_delim='%!_!# '
28106 for ac_last_try in false false false false false :; do
28107 . ./conf$$subs.sh ||
28108 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28109
28110 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
28111 if test $ac_delim_n = $ac_delim_num; then
28112 break
28113 elif $ac_last_try; then
28114 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28115 else
28116 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28117 fi
28118 done
28119 rm -f conf$$subs.sh
28120
28121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28122 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
28123 _ACEOF
28124 sed -n '
28125 h
28126 s/^/S["/; s/!.*/"]=/
28127 p
28128 g
28129 s/^[^!]*!//
28130 :repl
28131 t repl
28132 s/'"$ac_delim"'$//
28133 t delim
28134 :nl
28135 h
28136 s/\(.\{148\}\)..*/\1/
28137 t more1
28138 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
28139 p
28140 n
28141 b repl
28142 :more1
28143 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28144 p
28145 g
28146 s/.\{148\}//
28147 t nl
28148 :delim
28149 h
28150 s/\(.\{148\}\)..*/\1/
28151 t more2
28152 s/["\\]/\\&/g; s/^/"/; s/$/"/
28153 p
28154 b
28155 :more2
28156 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28157 p
28158 g
28159 s/.\{148\}//
28160 t delim
28161 ' <conf$$subs.awk | sed '
28162 /^[^""]/{
28163 N
28164 s/\n//
28165 }
28166 ' >>$CONFIG_STATUS || ac_write_fail=1
28167 rm -f conf$$subs.awk
28168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28169 _ACAWK
28170 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
28171 for (key in S) S_is_set[key] = 1
28172 FS = "\a"
28173
28174 }
28175 {
28176 line = $ 0
28177 nfields = split(line, field, "@")
28178 substed = 0
28179 len = length(field[1])
28180 for (i = 2; i < nfields; i++) {
28181 key = field[i]
28182 keylen = length(key)
28183 if (S_is_set[key]) {
28184 value = S[key]
28185 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
28186 len += length(value) + length(field[++i])
28187 substed = 1
28188 } else
28189 len += 1 + keylen
28190 }
28191
28192 print line
28193 }
28194
28195 _ACAWK
28196 _ACEOF
28197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28198 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
28199 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
28200 else
28201 cat
28202 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
28203 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
28204 _ACEOF
28205
28206 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
28207 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
28208 # trailing colons and then remove the whole line if VPATH becomes empty
28209 # (actually we leave an empty line to preserve line numbers).
28210 if test "x$srcdir" = x.; then
28211 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
28212 h
28213 s///
28214 s/^/:/
28215 s/[ ]*$/:/
28216 s/:\$(srcdir):/:/g
28217 s/:\${srcdir}:/:/g
28218 s/:@srcdir@:/:/g
28219 s/^:*//
28220 s/:*$//
28221 x
28222 s/\(=[ ]*\).*/\1/
28223 G
28224 s/\n//
28225 s/^[^=]*=[ ]*$//
28226 }'
28227 fi
28228
28229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28230 fi # test -n "$CONFIG_FILES"
28231
28232 # Set up the scripts for CONFIG_HEADERS section.
28233 # No need to generate them if there are no CONFIG_HEADERS.
28234 # This happens for instance with `./config.status Makefile'.
28235 if test -n "$CONFIG_HEADERS"; then
28236 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
28237 BEGIN {
28238 _ACEOF
28239
28240 # Transform confdefs.h into an awk script `defines.awk', embedded as
28241 # here-document in config.status, that substitutes the proper values into
28242 # config.h.in to produce config.h.
28243
28244 # Create a delimiter string that does not exist in confdefs.h, to ease
28245 # handling of long lines.
28246 ac_delim='%!_!# '
28247 for ac_last_try in false false :; do
28248 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
28249 if test -z "$ac_tt"; then
28250 break
28251 elif $ac_last_try; then
28252 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
28253 else
28254 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28255 fi
28256 done
28257
28258 # For the awk script, D is an array of macro values keyed by name,
28259 # likewise P contains macro parameters if any. Preserve backslash
28260 # newline sequences.
28261
28262 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28263 sed -n '
28264 s/.\{148\}/&'"$ac_delim"'/g
28265 t rset
28266 :rset
28267 s/^[ ]*#[ ]*define[ ][ ]*/ /
28268 t def
28269 d
28270 :def
28271 s/\\$//
28272 t bsnl
28273 s/["\\]/\\&/g
28274 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
28275 D["\1"]=" \3"/p
28276 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
28277 d
28278 :bsnl
28279 s/["\\]/\\&/g
28280 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
28281 D["\1"]=" \3\\\\\\n"\\/p
28282 t cont
28283 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
28284 t cont
28285 d
28286 :cont
28287 n
28288 s/.\{148\}/&'"$ac_delim"'/g
28289 t clear
28290 :clear
28291 s/\\$//
28292 t bsnlc
28293 s/["\\]/\\&/g; s/^/"/; s/$/"/p
28294 d
28295 :bsnlc
28296 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
28297 b cont
28298 ' <confdefs.h | sed '
28299 s/'"$ac_delim"'/"\\\
28300 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28301
28302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28303 for (key in D) D_is_set[key] = 1
28304 FS = "\a"
28305 }
28306 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28307 line = \$ 0
28308 split(line, arg, " ")
28309 if (arg[1] == "#") {
28310 defundef = arg[2]
28311 mac1 = arg[3]
28312 } else {
28313 defundef = substr(arg[1], 2)
28314 mac1 = arg[2]
28315 }
28316 split(mac1, mac2, "(") #)
28317 macro = mac2[1]
28318 prefix = substr(line, 1, index(line, defundef) - 1)
28319 if (D_is_set[macro]) {
28320 # Preserve the white space surrounding the "#".
28321 print prefix "define", macro P[macro] D[macro]
28322 next
28323 } else {
28324 # Replace #undef with comments. This is necessary, for example,
28325 # in the case of _POSIX_SOURCE, which is predefined and required
28326 # on some systems where configure will not decide to define it.
28327 if (defundef == "undef") {
28328 print "/*", prefix defundef, macro, "*/"
28329 next
28330 }
28331 }
28332 }
28333 { print }
28334 _ACAWK
28335 _ACEOF
28336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28337 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
28338 fi # test -n "$CONFIG_HEADERS"
28339
28340
28341 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28342 shift
28343 for ac_tag
28344 do
28345 case $ac_tag in
28346 :[FHLC]) ac_mode=$ac_tag; continue;;
28347 esac
28348 case $ac_mode$ac_tag in
28349 :[FHL]*:*);;
28350 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
28351 :[FH]-) ac_tag=-:-;;
28352 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
28353 esac
28354 ac_save_IFS=$IFS
28355 IFS=:
28356 set x $ac_tag
28357 IFS=$ac_save_IFS
28358 shift
28359 ac_file=$1
28360 shift
28361
28362 case $ac_mode in
28363 :L) ac_source=$1;;
28364 :[FH])
28365 ac_file_inputs=
28366 for ac_f
28367 do
28368 case $ac_f in
28369 -) ac_f="$ac_tmp/stdin";;
28370 *) # Look for the file first in the build tree, then in the source tree
28371 # (if the path is not absolute). The absolute path cannot be DOS-style,
28372 # because $ac_f cannot contain `:'.
28373 test -f "$ac_f" ||
28374 case $ac_f in
28375 [\\/$]*) false;;
28376 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
28377 esac ||
28378 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28379 esac
28380 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28381 as_fn_append ac_file_inputs " '$ac_f'"
28382 done
28383
28384 # Let's still pretend it is `configure' which instantiates (i.e., don't
28385 # use $as_me), people would be surprised to read:
28386 # /* config.h. Generated by config.status. */
28387 configure_input='Generated from '`
28388 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28389 `' by configure.'
28390 if test x"$ac_file" != x-; then
28391 configure_input="$ac_file. $configure_input"
28392 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28393 $as_echo "$as_me: creating $ac_file" >&6;}
28394 fi
28395 # Neutralize special characters interpreted by sed in replacement strings.
28396 case $configure_input in #(
28397 *\&* | *\|* | *\\* )
28398 ac_sed_conf_input=`$as_echo "$configure_input" |
28399 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28400 *) ac_sed_conf_input=$configure_input;;
28401 esac
28402
28403 case $ac_tag in
28404 *:-:* | *:-) cat >"$ac_tmp/stdin" \
28405 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
28406 esac
28407 ;;
28408 esac
28409
28410 ac_dir=`$as_dirname -- "$ac_file" ||
28411 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28412 X"$ac_file" : 'X\(//\)[^/]' \| \
28413 X"$ac_file" : 'X\(//\)$' \| \
28414 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28415 $as_echo X"$ac_file" |
28416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28417 s//\1/
28418 q
28419 }
28420 /^X\(\/\/\)[^/].*/{
28421 s//\1/
28422 q
28423 }
28424 /^X\(\/\/\)$/{
28425 s//\1/
28426 q
28427 }
28428 /^X\(\/\).*/{
28429 s//\1/
28430 q
28431 }
28432 s/.*/./; q'`
28433 as_dir="$ac_dir"; as_fn_mkdir_p
28434 ac_builddir=.
28435
28436 case "$ac_dir" in
28437 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
28438 *)
28439 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28440 # A ".." for each directory in $ac_dir_suffix.
28441 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28442 case $ac_top_builddir_sub in
28443 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
28444 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
28445 esac ;;
28446 esac
28447 ac_abs_top_builddir=$ac_pwd
28448 ac_abs_builddir=$ac_pwd$ac_dir_suffix
28449 # for backward compatibility:
28450 ac_top_builddir=$ac_top_build_prefix
28451
28452 case $srcdir in
28453 .) # We are building in place.
28454 ac_srcdir=.
28455 ac_top_srcdir=$ac_top_builddir_sub
28456 ac_abs_top_srcdir=$ac_pwd ;;
28457 [\\/]* | ?:[\\/]* ) # Absolute name.
28458 ac_srcdir=$srcdir$ac_dir_suffix;
28459 ac_top_srcdir=$srcdir
28460 ac_abs_top_srcdir=$srcdir ;;
28461 *) # Relative name.
28462 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
28463 ac_top_srcdir=$ac_top_build_prefix$srcdir
28464 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
28465 esac
28466 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
28467
28468
28469 case $ac_mode in
28470 :F)
28471 #
28472 # CONFIG_FILE
28473 #
28474
28475 case $INSTALL in
28476 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28477 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
28478 esac
28479 ac_MKDIR_P=$MKDIR_P
28480 case $MKDIR_P in
28481 [\\/$]* | ?:[\\/]* ) ;;
28482 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
28483 esac
28484 _ACEOF
28485
28486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28487 # If the template does not know about datarootdir, expand it.
28488 # FIXME: This hack should be removed a few years after 2.60.
28489 ac_datarootdir_hack=; ac_datarootdir_seen=
28490 ac_sed_dataroot='
28491 /datarootdir/ {
28492 p
28493 q
28494 }
28495 /@datadir@/p
28496 /@docdir@/p
28497 /@infodir@/p
28498 /@localedir@/p
28499 /@mandir@/p'
28500 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28501 *datarootdir*) ac_datarootdir_seen=yes;;
28502 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28504 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28505 _ACEOF
28506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28507 ac_datarootdir_hack='
28508 s&@datadir@&$datadir&g
28509 s&@docdir@&$docdir&g
28510 s&@infodir@&$infodir&g
28511 s&@localedir@&$localedir&g
28512 s&@mandir@&$mandir&g
28513 s&\\\${datarootdir}&$datarootdir&g' ;;
28514 esac
28515 _ACEOF
28516
28517 # Neutralize VPATH when `$srcdir' = `.'.
28518 # Shell code in configure.ac might set extrasub.
28519 # FIXME: do we really want to maintain this feature?
28520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28521 ac_sed_extra="$ac_vpsub
28522 $extrasub
28523 _ACEOF
28524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28525 :t
28526 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28527 s|@configure_input@|$ac_sed_conf_input|;t t
28528 s&@top_builddir@&$ac_top_builddir_sub&;t t
28529 s&@top_build_prefix@&$ac_top_build_prefix&;t t
28530 s&@srcdir@&$ac_srcdir&;t t
28531 s&@abs_srcdir@&$ac_abs_srcdir&;t t
28532 s&@top_srcdir@&$ac_top_srcdir&;t t
28533 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
28534 s&@builddir@&$ac_builddir&;t t
28535 s&@abs_builddir@&$ac_abs_builddir&;t t
28536 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
28537 s&@INSTALL@&$ac_INSTALL&;t t
28538 s&@MKDIR_P@&$ac_MKDIR_P&;t t
28539 $ac_datarootdir_hack
28540 "
28541 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
28542 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28543
28544 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28545 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
28546 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
28547 "$ac_tmp/out"`; test -z "$ac_out"; } &&
28548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28549 which seems to be undefined. Please make sure it is defined" >&5
28550 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28551 which seems to be undefined. Please make sure it is defined" >&2;}
28552
28553 rm -f "$ac_tmp/stdin"
28554 case $ac_file in
28555 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
28556 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
28557 esac \
28558 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28559 ;;
28560 :H)
28561 #
28562 # CONFIG_HEADER
28563 #
28564 if test x"$ac_file" != x-; then
28565 {
28566 $as_echo "/* $configure_input */" \
28567 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
28568 } >"$ac_tmp/config.h" \
28569 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28570 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
28571 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28572 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28573 else
28574 rm -f "$ac_file"
28575 mv "$ac_tmp/config.h" "$ac_file" \
28576 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28577 fi
28578 else
28579 $as_echo "/* $configure_input */" \
28580 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
28581 || as_fn_error $? "could not create -" "$LINENO" 5
28582 fi
28583 # Compute "$ac_file"'s index in $config_headers.
28584 _am_arg="$ac_file"
28585 _am_stamp_count=1
28586 for _am_header in $config_headers :; do
28587 case $_am_header in
28588 $_am_arg | $_am_arg:* )
28589 break ;;
28590 * )
28591 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28592 esac
28593 done
28594 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28595 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28596 X"$_am_arg" : 'X\(//\)[^/]' \| \
28597 X"$_am_arg" : 'X\(//\)$' \| \
28598 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28599 $as_echo X"$_am_arg" |
28600 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28601 s//\1/
28602 q
28603 }
28604 /^X\(\/\/\)[^/].*/{
28605 s//\1/
28606 q
28607 }
28608 /^X\(\/\/\)$/{
28609 s//\1/
28610 q
28611 }
28612 /^X\(\/\).*/{
28613 s//\1/
28614 q
28615 }
28616 s/.*/./; q'`/stamp-h$_am_stamp_count
28617 ;;
28618
28619 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28620 $as_echo "$as_me: executing $ac_file commands" >&6;}
28621 ;;
28622 esac
28623
28624
28625 case $ac_file$ac_mode in
28626 "default-1":C)
28627 # Only add multilib support code if we just rebuilt the top-level
28628 # Makefile.
28629 case " $CONFIG_FILES " in
28630 *" Makefile "*)
28631 ac_file=Makefile . ${multi_basedir}/config-ml.in
28632 ;;
28633 esac ;;
28634 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
28635 # Older Autoconf quotes --file arguments for eval, but not when files
28636 # are listed without --file. Let's play safe and only enable the eval
28637 # if we detect the quoting.
28638 case $CONFIG_FILES in
28639 *\'*) eval set x "$CONFIG_FILES" ;;
28640 *) set x $CONFIG_FILES ;;
28641 esac
28642 shift
28643 for mf
28644 do
28645 # Strip MF so we end up with the name of the file.
28646 mf=`echo "$mf" | sed -e 's/:.*$//'`
28647 # Check whether this is an Automake generated Makefile or not.
28648 # We used to match only the files named 'Makefile.in', but
28649 # some people rename them; so instead we look at the file content.
28650 # Grep'ing the first line is not enough: some people post-process
28651 # each Makefile.in and add a new line on top of each file to say so.
28652 # Grep'ing the whole file is not good either: AIX grep has a line
28653 # limit of 2048, but all sed's we know have understand at least 4000.
28654 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
28655 dirpart=`$as_dirname -- "$mf" ||
28656 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28657 X"$mf" : 'X\(//\)[^/]' \| \
28658 X"$mf" : 'X\(//\)$' \| \
28659 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28660 $as_echo X"$mf" |
28661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28662 s//\1/
28663 q
28664 }
28665 /^X\(\/\/\)[^/].*/{
28666 s//\1/
28667 q
28668 }
28669 /^X\(\/\/\)$/{
28670 s//\1/
28671 q
28672 }
28673 /^X\(\/\).*/{
28674 s//\1/
28675 q
28676 }
28677 s/.*/./; q'`
28678 else
28679 continue
28680 fi
28681 # Extract the definition of DEPDIR, am__include, and am__quote
28682 # from the Makefile without running 'make'.
28683 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
28684 test -z "$DEPDIR" && continue
28685 am__include=`sed -n 's/^am__include = //p' < "$mf"`
28686 test -z "$am__include" && continue
28687 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
28688 # Find all dependency output files, they are included files with
28689 # $(DEPDIR) in their names. We invoke sed twice because it is the
28690 # simplest approach to changing $(DEPDIR) to its actual value in the
28691 # expansion.
28692 for file in `sed -n "
28693 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28694 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
28695 # Make sure the directory exists.
28696 test -f "$dirpart/$file" && continue
28697 fdir=`$as_dirname -- "$file" ||
28698 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28699 X"$file" : 'X\(//\)[^/]' \| \
28700 X"$file" : 'X\(//\)$' \| \
28701 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28702 $as_echo X"$file" |
28703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28704 s//\1/
28705 q
28706 }
28707 /^X\(\/\/\)[^/].*/{
28708 s//\1/
28709 q
28710 }
28711 /^X\(\/\/\)$/{
28712 s//\1/
28713 q
28714 }
28715 /^X\(\/\).*/{
28716 s//\1/
28717 q
28718 }
28719 s/.*/./; q'`
28720 as_dir=$dirpart/$fdir; as_fn_mkdir_p
28721 # echo "creating $dirpart/$file"
28722 echo '# dummy' > "$dirpart/$file"
28723 done
28724 done
28725 }
28726 ;;
28727 "libtool":C)
28728
28729 # See if we are running on zsh, and set the options which allow our
28730 # commands through without removal of \ escapes.
28731 if test -n "${ZSH_VERSION+set}" ; then
28732 setopt NO_GLOB_SUBST
28733 fi
28734
28735 cfgfile="${ofile}T"
28736 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28737 $RM "$cfgfile"
28738
28739 cat <<_LT_EOF >> "$cfgfile"
28740 #! $SHELL
28741
28742 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28743 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28744 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28745 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28746 #
28747 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28748 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28749 # Written by Gordon Matzigkeit, 1996
28750 #
28751 # This file is part of GNU Libtool.
28752 #
28753 # GNU Libtool is free software; you can redistribute it and/or
28754 # modify it under the terms of the GNU General Public License as
28755 # published by the Free Software Foundation; either version 2 of
28756 # the License, or (at your option) any later version.
28757 #
28758 # As a special exception to the GNU General Public License,
28759 # if you distribute this file as part of a program or library that
28760 # is built using GNU Libtool, you may include this file under the
28761 # same distribution terms that you use for the rest of that program.
28762 #
28763 # GNU Libtool is distributed in the hope that it will be useful,
28764 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28765 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28766 # GNU General Public License for more details.
28767 #
28768 # You should have received a copy of the GNU General Public License
28769 # along with GNU Libtool; see the file COPYING. If not, a copy
28770 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28771 # obtained by writing to the Free Software Foundation, Inc.,
28772 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28773
28774
28775 # The names of the tagged configurations supported by this script.
28776 available_tags="FC "
28777
28778 # ### BEGIN LIBTOOL CONFIG
28779
28780 # A sed program that does not truncate output.
28781 SED=$lt_SED
28782
28783 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28784 Xsed="\$SED -e 1s/^X//"
28785
28786 # A grep program that handles long lines.
28787 GREP=$lt_GREP
28788
28789 # An ERE matcher.
28790 EGREP=$lt_EGREP
28791
28792 # A literal string matcher.
28793 FGREP=$lt_FGREP
28794
28795 # Shell to use when invoking shell scripts.
28796 SHELL=$lt_SHELL
28797
28798 # An echo program that protects backslashes.
28799 ECHO=$lt_ECHO
28800
28801 # Which release of libtool.m4 was used?
28802 macro_version=$macro_version
28803 macro_revision=$macro_revision
28804
28805 # Whether or not to build shared libraries.
28806 build_libtool_libs=$enable_shared
28807
28808 # Whether or not to build static libraries.
28809 build_old_libs=$enable_static
28810
28811 # What type of objects to build.
28812 pic_mode=$pic_mode
28813
28814 # Whether or not to optimize for fast installation.
28815 fast_install=$enable_fast_install
28816
28817 # The host system.
28818 host_alias=$host_alias
28819 host=$host
28820 host_os=$host_os
28821
28822 # The build system.
28823 build_alias=$build_alias
28824 build=$build
28825 build_os=$build_os
28826
28827 # A BSD- or MS-compatible name lister.
28828 NM=$lt_NM
28829
28830 # Whether we need soft or hard links.
28831 LN_S=$lt_LN_S
28832
28833 # What is the maximum length of a command?
28834 max_cmd_len=$max_cmd_len
28835
28836 # Object file suffix (normally "o").
28837 objext=$ac_objext
28838
28839 # Executable file suffix (normally "").
28840 exeext=$exeext
28841
28842 # whether the shell understands "unset".
28843 lt_unset=$lt_unset
28844
28845 # turn spaces into newlines.
28846 SP2NL=$lt_lt_SP2NL
28847
28848 # turn newlines into spaces.
28849 NL2SP=$lt_lt_NL2SP
28850
28851 # An object symbol dumper.
28852 OBJDUMP=$lt_OBJDUMP
28853
28854 # Method to check whether dependent libraries are shared objects.
28855 deplibs_check_method=$lt_deplibs_check_method
28856
28857 # Command to use when deplibs_check_method == "file_magic".
28858 file_magic_cmd=$lt_file_magic_cmd
28859
28860 # The archiver.
28861 AR=$lt_AR
28862 AR_FLAGS=$lt_AR_FLAGS
28863
28864 # A symbol stripping program.
28865 STRIP=$lt_STRIP
28866
28867 # Commands used to install an old-style archive.
28868 RANLIB=$lt_RANLIB
28869 old_postinstall_cmds=$lt_old_postinstall_cmds
28870 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28871
28872 # Whether to use a lock for old archive extraction.
28873 lock_old_archive_extraction=$lock_old_archive_extraction
28874
28875 # A C compiler.
28876 LTCC=$lt_CC
28877
28878 # LTCC compiler flags.
28879 LTCFLAGS=$lt_CFLAGS
28880
28881 # Take the output of nm and produce a listing of raw symbols and C names.
28882 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28883
28884 # Transform the output of nm in a proper C declaration.
28885 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28886
28887 # Transform the output of nm in a C name address pair.
28888 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28889
28890 # Transform the output of nm in a C name address pair when lib prefix is needed.
28891 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28892
28893 # The name of the directory that contains temporary libtool files.
28894 objdir=$objdir
28895
28896 # Used to examine libraries when file_magic_cmd begins with "file".
28897 MAGIC_CMD=$MAGIC_CMD
28898
28899 # Must we lock files when doing compilation?
28900 need_locks=$lt_need_locks
28901
28902 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28903 DSYMUTIL=$lt_DSYMUTIL
28904
28905 # Tool to change global to local symbols on Mac OS X.
28906 NMEDIT=$lt_NMEDIT
28907
28908 # Tool to manipulate fat objects and archives on Mac OS X.
28909 LIPO=$lt_LIPO
28910
28911 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28912 OTOOL=$lt_OTOOL
28913
28914 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28915 OTOOL64=$lt_OTOOL64
28916
28917 # Old archive suffix (normally "a").
28918 libext=$libext
28919
28920 # Shared library suffix (normally ".so").
28921 shrext_cmds=$lt_shrext_cmds
28922
28923 # The commands to extract the exported symbol list from a shared archive.
28924 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28925
28926 # Variables whose values should be saved in libtool wrapper scripts and
28927 # restored at link time.
28928 variables_saved_for_relink=$lt_variables_saved_for_relink
28929
28930 # Do we need the "lib" prefix for modules?
28931 need_lib_prefix=$need_lib_prefix
28932
28933 # Do we need a version for libraries?
28934 need_version=$need_version
28935
28936 # Library versioning type.
28937 version_type=$version_type
28938
28939 # Shared library runtime path variable.
28940 runpath_var=$runpath_var
28941
28942 # Shared library path variable.
28943 shlibpath_var=$shlibpath_var
28944
28945 # Is shlibpath searched before the hard-coded library search path?
28946 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28947
28948 # Format of library name prefix.
28949 libname_spec=$lt_libname_spec
28950
28951 # List of archive names. First name is the real one, the rest are links.
28952 # The last name is the one that the linker finds with -lNAME
28953 library_names_spec=$lt_library_names_spec
28954
28955 # The coded name of the library, if different from the real name.
28956 soname_spec=$lt_soname_spec
28957
28958 # Permission mode override for installation of shared libraries.
28959 install_override_mode=$lt_install_override_mode
28960
28961 # Command to use after installation of a shared archive.
28962 postinstall_cmds=$lt_postinstall_cmds
28963
28964 # Command to use after uninstallation of a shared archive.
28965 postuninstall_cmds=$lt_postuninstall_cmds
28966
28967 # Commands used to finish a libtool library installation in a directory.
28968 finish_cmds=$lt_finish_cmds
28969
28970 # As "finish_cmds", except a single script fragment to be evaled but
28971 # not shown.
28972 finish_eval=$lt_finish_eval
28973
28974 # Whether we should hardcode library paths into libraries.
28975 hardcode_into_libs=$hardcode_into_libs
28976
28977 # Compile-time system search path for libraries.
28978 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28979
28980 # Run-time system search path for libraries.
28981 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28982
28983 # Whether dlopen is supported.
28984 dlopen_support=$enable_dlopen
28985
28986 # Whether dlopen of programs is supported.
28987 dlopen_self=$enable_dlopen_self
28988
28989 # Whether dlopen of statically linked programs is supported.
28990 dlopen_self_static=$enable_dlopen_self_static
28991
28992 # Commands to strip libraries.
28993 old_striplib=$lt_old_striplib
28994 striplib=$lt_striplib
28995
28996
28997 # The linker used to build libraries.
28998 LD=$lt_LD
28999
29000 # How to create reloadable object files.
29001 reload_flag=$lt_reload_flag
29002 reload_cmds=$lt_reload_cmds
29003
29004 # Commands used to build an old-style archive.
29005 old_archive_cmds=$lt_old_archive_cmds
29006
29007 # A language specific compiler.
29008 CC=$lt_compiler
29009
29010 # Is the compiler the GNU compiler?
29011 with_gcc=$GCC
29012
29013 # Compiler flag to turn off builtin functions.
29014 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
29015
29016 # How to pass a linker flag through the compiler.
29017 wl=$lt_lt_prog_compiler_wl
29018
29019 # Additional compiler flags for building library objects.
29020 pic_flag=$lt_lt_prog_compiler_pic
29021
29022 # Compiler flag to prevent dynamic linking.
29023 link_static_flag=$lt_lt_prog_compiler_static
29024
29025 # Does compiler simultaneously support -c and -o options?
29026 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
29027
29028 # Whether or not to add -lc for building shared libraries.
29029 build_libtool_need_lc=$archive_cmds_need_lc
29030
29031 # Whether or not to disallow shared libs when runtime libs are static.
29032 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
29033
29034 # Compiler flag to allow reflexive dlopens.
29035 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
29036
29037 # Compiler flag to generate shared objects directly from archives.
29038 whole_archive_flag_spec=$lt_whole_archive_flag_spec
29039
29040 # Whether the compiler copes with passing no objects directly.
29041 compiler_needs_object=$lt_compiler_needs_object
29042
29043 # Create an old-style archive from a shared archive.
29044 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
29045
29046 # Create a temporary old-style archive to link instead of a shared archive.
29047 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
29048
29049 # Commands used to build a shared archive.
29050 archive_cmds=$lt_archive_cmds
29051 archive_expsym_cmds=$lt_archive_expsym_cmds
29052
29053 # Commands used to build a loadable module if different from building
29054 # a shared archive.
29055 module_cmds=$lt_module_cmds
29056 module_expsym_cmds=$lt_module_expsym_cmds
29057
29058 # Whether we are building with GNU ld or not.
29059 with_gnu_ld=$lt_with_gnu_ld
29060
29061 # Flag that allows shared libraries with undefined symbols to be built.
29062 allow_undefined_flag=$lt_allow_undefined_flag
29063
29064 # Flag that enforces no undefined symbols.
29065 no_undefined_flag=$lt_no_undefined_flag
29066
29067 # Flag to hardcode \$libdir into a binary during linking.
29068 # This must work even if \$libdir does not exist
29069 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
29070
29071 # If ld is used when linking, flag to hardcode \$libdir into a binary
29072 # during linking. This must work even if \$libdir does not exist.
29073 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
29074
29075 # Whether we need a single "-rpath" flag with a separated argument.
29076 hardcode_libdir_separator=$lt_hardcode_libdir_separator
29077
29078 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29079 # DIR into the resulting binary.
29080 hardcode_direct=$hardcode_direct
29081
29082 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29083 # DIR into the resulting binary and the resulting library dependency is
29084 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29085 # library is relocated.
29086 hardcode_direct_absolute=$hardcode_direct_absolute
29087
29088 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29089 # into the resulting binary.
29090 hardcode_minus_L=$hardcode_minus_L
29091
29092 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29093 # into the resulting binary.
29094 hardcode_shlibpath_var=$hardcode_shlibpath_var
29095
29096 # Set to "yes" if building a shared library automatically hardcodes DIR
29097 # into the library and all subsequent libraries and executables linked
29098 # against it.
29099 hardcode_automatic=$hardcode_automatic
29100
29101 # Set to yes if linker adds runtime paths of dependent libraries
29102 # to runtime path list.
29103 inherit_rpath=$inherit_rpath
29104
29105 # Whether libtool must link a program against all its dependency libraries.
29106 link_all_deplibs=$link_all_deplibs
29107
29108 # Fix the shell variable \$srcfile for the compiler.
29109 fix_srcfile_path=$lt_fix_srcfile_path
29110
29111 # Set to "yes" if exported symbols are required.
29112 always_export_symbols=$always_export_symbols
29113
29114 # The commands to list exported symbols.
29115 export_symbols_cmds=$lt_export_symbols_cmds
29116
29117 # Symbols that should not be listed in the preloaded symbols.
29118 exclude_expsyms=$lt_exclude_expsyms
29119
29120 # Symbols that must always be exported.
29121 include_expsyms=$lt_include_expsyms
29122
29123 # Commands necessary for linking programs (against libraries) with templates.
29124 prelink_cmds=$lt_prelink_cmds
29125
29126 # Specify filename containing input files.
29127 file_list_spec=$lt_file_list_spec
29128
29129 # How to hardcode a shared library path into an executable.
29130 hardcode_action=$hardcode_action
29131
29132 # The directories searched by this compiler when creating a shared library.
29133 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
29134
29135 # Dependencies to place before and after the objects being linked to
29136 # create a shared library.
29137 predep_objects=$lt_predep_objects
29138 postdep_objects=$lt_postdep_objects
29139 predeps=$lt_predeps
29140 postdeps=$lt_postdeps
29141
29142 # The library search path used internally by the compiler when linking
29143 # a shared library.
29144 compiler_lib_search_path=$lt_compiler_lib_search_path
29145
29146 # ### END LIBTOOL CONFIG
29147
29148 _LT_EOF
29149
29150 case $host_os in
29151 aix3*)
29152 cat <<\_LT_EOF >> "$cfgfile"
29153 # AIX sometimes has problems with the GCC collect2 program. For some
29154 # reason, if we set the COLLECT_NAMES environment variable, the problems
29155 # vanish in a puff of smoke.
29156 if test "X${COLLECT_NAMES+set}" != Xset; then
29157 COLLECT_NAMES=
29158 export COLLECT_NAMES
29159 fi
29160 _LT_EOF
29161 ;;
29162 esac
29163
29164
29165 ltmain="$ac_aux_dir/ltmain.sh"
29166
29167
29168 # We use sed instead of cat because bash on DJGPP gets confused if
29169 # if finds mixed CR/LF and LF-only lines. Since sed operates in
29170 # text mode, it properly converts lines to CR/LF. This bash problem
29171 # is reportedly fixed, but why not run on old versions too?
29172 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
29173 || (rm -f "$cfgfile"; exit 1)
29174
29175 case $xsi_shell in
29176 yes)
29177 cat << \_LT_EOF >> "$cfgfile"
29178
29179 # func_dirname file append nondir_replacement
29180 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29181 # otherwise set result to NONDIR_REPLACEMENT.
29182 func_dirname ()
29183 {
29184 case ${1} in
29185 */*) func_dirname_result="${1%/*}${2}" ;;
29186 * ) func_dirname_result="${3}" ;;
29187 esac
29188 }
29189
29190 # func_basename file
29191 func_basename ()
29192 {
29193 func_basename_result="${1##*/}"
29194 }
29195
29196 # func_dirname_and_basename file append nondir_replacement
29197 # perform func_basename and func_dirname in a single function
29198 # call:
29199 # dirname: Compute the dirname of FILE. If nonempty,
29200 # add APPEND to the result, otherwise set result
29201 # to NONDIR_REPLACEMENT.
29202 # value returned in "$func_dirname_result"
29203 # basename: Compute filename of FILE.
29204 # value retuned in "$func_basename_result"
29205 # Implementation must be kept synchronized with func_dirname
29206 # and func_basename. For efficiency, we do not delegate to
29207 # those functions but instead duplicate the functionality here.
29208 func_dirname_and_basename ()
29209 {
29210 case ${1} in
29211 */*) func_dirname_result="${1%/*}${2}" ;;
29212 * ) func_dirname_result="${3}" ;;
29213 esac
29214 func_basename_result="${1##*/}"
29215 }
29216
29217 # func_stripname prefix suffix name
29218 # strip PREFIX and SUFFIX off of NAME.
29219 # PREFIX and SUFFIX must not contain globbing or regex special
29220 # characters, hashes, percent signs, but SUFFIX may contain a leading
29221 # dot (in which case that matches only a dot).
29222 func_stripname ()
29223 {
29224 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
29225 # positional parameters, so assign one to ordinary parameter first.
29226 func_stripname_result=${3}
29227 func_stripname_result=${func_stripname_result#"${1}"}
29228 func_stripname_result=${func_stripname_result%"${2}"}
29229 }
29230
29231 # func_opt_split
29232 func_opt_split ()
29233 {
29234 func_opt_split_opt=${1%%=*}
29235 func_opt_split_arg=${1#*=}
29236 }
29237
29238 # func_lo2o object
29239 func_lo2o ()
29240 {
29241 case ${1} in
29242 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
29243 *) func_lo2o_result=${1} ;;
29244 esac
29245 }
29246
29247 # func_xform libobj-or-source
29248 func_xform ()
29249 {
29250 func_xform_result=${1%.*}.lo
29251 }
29252
29253 # func_arith arithmetic-term...
29254 func_arith ()
29255 {
29256 func_arith_result=$(( $* ))
29257 }
29258
29259 # func_len string
29260 # STRING may not start with a hyphen.
29261 func_len ()
29262 {
29263 func_len_result=${#1}
29264 }
29265
29266 _LT_EOF
29267 ;;
29268 *) # Bourne compatible functions.
29269 cat << \_LT_EOF >> "$cfgfile"
29270
29271 # func_dirname file append nondir_replacement
29272 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29273 # otherwise set result to NONDIR_REPLACEMENT.
29274 func_dirname ()
29275 {
29276 # Extract subdirectory from the argument.
29277 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
29278 if test "X$func_dirname_result" = "X${1}"; then
29279 func_dirname_result="${3}"
29280 else
29281 func_dirname_result="$func_dirname_result${2}"
29282 fi
29283 }
29284
29285 # func_basename file
29286 func_basename ()
29287 {
29288 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
29289 }
29290
29291
29292 # func_stripname prefix suffix name
29293 # strip PREFIX and SUFFIX off of NAME.
29294 # PREFIX and SUFFIX must not contain globbing or regex special
29295 # characters, hashes, percent signs, but SUFFIX may contain a leading
29296 # dot (in which case that matches only a dot).
29297 # func_strip_suffix prefix name
29298 func_stripname ()
29299 {
29300 case ${2} in
29301 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29302 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29303 esac
29304 }
29305
29306 # sed scripts:
29307 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
29308 my_sed_long_arg='1s/^-[^=]*=//'
29309
29310 # func_opt_split
29311 func_opt_split ()
29312 {
29313 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29314 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29315 }
29316
29317 # func_lo2o object
29318 func_lo2o ()
29319 {
29320 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
29321 }
29322
29323 # func_xform libobj-or-source
29324 func_xform ()
29325 {
29326 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29327 }
29328
29329 # func_arith arithmetic-term...
29330 func_arith ()
29331 {
29332 func_arith_result=`expr "$@"`
29333 }
29334
29335 # func_len string
29336 # STRING may not start with a hyphen.
29337 func_len ()
29338 {
29339 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29340 }
29341
29342 _LT_EOF
29343 esac
29344
29345 case $lt_shell_append in
29346 yes)
29347 cat << \_LT_EOF >> "$cfgfile"
29348
29349 # func_append var value
29350 # Append VALUE to the end of shell variable VAR.
29351 func_append ()
29352 {
29353 eval "$1+=\$2"
29354 }
29355 _LT_EOF
29356 ;;
29357 *)
29358 cat << \_LT_EOF >> "$cfgfile"
29359
29360 # func_append var value
29361 # Append VALUE to the end of shell variable VAR.
29362 func_append ()
29363 {
29364 eval "$1=\$$1\$2"
29365 }
29366
29367 _LT_EOF
29368 ;;
29369 esac
29370
29371
29372 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29373 || (rm -f "$cfgfile"; exit 1)
29374
29375 mv -f "$cfgfile" "$ofile" ||
29376 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29377 chmod +x "$ofile"
29378
29379
29380 cat <<_LT_EOF >> "$ofile"
29381
29382 # ### BEGIN LIBTOOL TAG CONFIG: FC
29383
29384 # The linker used to build libraries.
29385 LD=$lt_LD_FC
29386
29387 # How to create reloadable object files.
29388 reload_flag=$lt_reload_flag_FC
29389 reload_cmds=$lt_reload_cmds_FC
29390
29391 # Commands used to build an old-style archive.
29392 old_archive_cmds=$lt_old_archive_cmds_FC
29393
29394 # A language specific compiler.
29395 CC=$lt_compiler_FC
29396
29397 # Is the compiler the GNU compiler?
29398 with_gcc=$GCC_FC
29399
29400 # Compiler flag to turn off builtin functions.
29401 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29402
29403 # How to pass a linker flag through the compiler.
29404 wl=$lt_lt_prog_compiler_wl_FC
29405
29406 # Additional compiler flags for building library objects.
29407 pic_flag=$lt_lt_prog_compiler_pic_FC
29408
29409 # Compiler flag to prevent dynamic linking.
29410 link_static_flag=$lt_lt_prog_compiler_static_FC
29411
29412 # Does compiler simultaneously support -c and -o options?
29413 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29414
29415 # Whether or not to add -lc for building shared libraries.
29416 build_libtool_need_lc=$archive_cmds_need_lc_FC
29417
29418 # Whether or not to disallow shared libs when runtime libs are static.
29419 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29420
29421 # Compiler flag to allow reflexive dlopens.
29422 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29423
29424 # Compiler flag to generate shared objects directly from archives.
29425 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29426
29427 # Whether the compiler copes with passing no objects directly.
29428 compiler_needs_object=$lt_compiler_needs_object_FC
29429
29430 # Create an old-style archive from a shared archive.
29431 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29432
29433 # Create a temporary old-style archive to link instead of a shared archive.
29434 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29435
29436 # Commands used to build a shared archive.
29437 archive_cmds=$lt_archive_cmds_FC
29438 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29439
29440 # Commands used to build a loadable module if different from building
29441 # a shared archive.
29442 module_cmds=$lt_module_cmds_FC
29443 module_expsym_cmds=$lt_module_expsym_cmds_FC
29444
29445 # Whether we are building with GNU ld or not.
29446 with_gnu_ld=$lt_with_gnu_ld_FC
29447
29448 # Flag that allows shared libraries with undefined symbols to be built.
29449 allow_undefined_flag=$lt_allow_undefined_flag_FC
29450
29451 # Flag that enforces no undefined symbols.
29452 no_undefined_flag=$lt_no_undefined_flag_FC
29453
29454 # Flag to hardcode \$libdir into a binary during linking.
29455 # This must work even if \$libdir does not exist
29456 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29457
29458 # If ld is used when linking, flag to hardcode \$libdir into a binary
29459 # during linking. This must work even if \$libdir does not exist.
29460 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29461
29462 # Whether we need a single "-rpath" flag with a separated argument.
29463 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29464
29465 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29466 # DIR into the resulting binary.
29467 hardcode_direct=$hardcode_direct_FC
29468
29469 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29470 # DIR into the resulting binary and the resulting library dependency is
29471 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29472 # library is relocated.
29473 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29474
29475 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29476 # into the resulting binary.
29477 hardcode_minus_L=$hardcode_minus_L_FC
29478
29479 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29480 # into the resulting binary.
29481 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29482
29483 # Set to "yes" if building a shared library automatically hardcodes DIR
29484 # into the library and all subsequent libraries and executables linked
29485 # against it.
29486 hardcode_automatic=$hardcode_automatic_FC
29487
29488 # Set to yes if linker adds runtime paths of dependent libraries
29489 # to runtime path list.
29490 inherit_rpath=$inherit_rpath_FC
29491
29492 # Whether libtool must link a program against all its dependency libraries.
29493 link_all_deplibs=$link_all_deplibs_FC
29494
29495 # Fix the shell variable \$srcfile for the compiler.
29496 fix_srcfile_path=$lt_fix_srcfile_path_FC
29497
29498 # Set to "yes" if exported symbols are required.
29499 always_export_symbols=$always_export_symbols_FC
29500
29501 # The commands to list exported symbols.
29502 export_symbols_cmds=$lt_export_symbols_cmds_FC
29503
29504 # Symbols that should not be listed in the preloaded symbols.
29505 exclude_expsyms=$lt_exclude_expsyms_FC
29506
29507 # Symbols that must always be exported.
29508 include_expsyms=$lt_include_expsyms_FC
29509
29510 # Commands necessary for linking programs (against libraries) with templates.
29511 prelink_cmds=$lt_prelink_cmds_FC
29512
29513 # Specify filename containing input files.
29514 file_list_spec=$lt_file_list_spec_FC
29515
29516 # How to hardcode a shared library path into an executable.
29517 hardcode_action=$hardcode_action_FC
29518
29519 # The directories searched by this compiler when creating a shared library.
29520 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29521
29522 # Dependencies to place before and after the objects being linked to
29523 # create a shared library.
29524 predep_objects=$lt_predep_objects_FC
29525 postdep_objects=$lt_postdep_objects_FC
29526 predeps=$lt_predeps_FC
29527 postdeps=$lt_postdeps_FC
29528
29529 # The library search path used internally by the compiler when linking
29530 # a shared library.
29531 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29532
29533 # ### END LIBTOOL TAG CONFIG: FC
29534 _LT_EOF
29535
29536 ;;
29537 "gstdint.h":C)
29538 if test "$GCC" = yes; then
29539 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29540 else
29541 echo "/* generated for $CC */" > tmp-stdint.h
29542 fi
29543
29544 sed 's/^ *//' >> tmp-stdint.h <<EOF
29545
29546 #ifndef GCC_GENERATED_STDINT_H
29547 #define GCC_GENERATED_STDINT_H 1
29548
29549 #include <sys/types.h>
29550 EOF
29551
29552 if test "$acx_cv_header_stdint" != stdint.h; then
29553 echo "#include <stddef.h>" >> tmp-stdint.h
29554 fi
29555 if test "$acx_cv_header_stdint" != stddef.h; then
29556 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29557 fi
29558
29559 sed 's/^ *//' >> tmp-stdint.h <<EOF
29560 /* glibc uses these symbols as guards to prevent redefinitions. */
29561 #ifdef __int8_t_defined
29562 #define _INT8_T
29563 #define _INT16_T
29564 #define _INT32_T
29565 #endif
29566 #ifdef __uint32_t_defined
29567 #define _UINT32_T
29568 #endif
29569
29570 EOF
29571
29572 # ----------------- done header, emit basic int types -------------
29573 if test "$acx_cv_header_stdint" = stddef.h; then
29574 sed 's/^ *//' >> tmp-stdint.h <<EOF
29575
29576 #ifndef _UINT8_T
29577 #define _UINT8_T
29578 #ifndef __uint8_t_defined
29579 #define __uint8_t_defined
29580 #ifndef uint8_t
29581 typedef unsigned $acx_cv_type_int8_t uint8_t;
29582 #endif
29583 #endif
29584 #endif
29585
29586 #ifndef _UINT16_T
29587 #define _UINT16_T
29588 #ifndef __uint16_t_defined
29589 #define __uint16_t_defined
29590 #ifndef uint16_t
29591 typedef unsigned $acx_cv_type_int16_t uint16_t;
29592 #endif
29593 #endif
29594 #endif
29595
29596 #ifndef _UINT32_T
29597 #define _UINT32_T
29598 #ifndef __uint32_t_defined
29599 #define __uint32_t_defined
29600 #ifndef uint32_t
29601 typedef unsigned $acx_cv_type_int32_t uint32_t;
29602 #endif
29603 #endif
29604 #endif
29605
29606 #ifndef _INT8_T
29607 #define _INT8_T
29608 #ifndef __int8_t_defined
29609 #define __int8_t_defined
29610 #ifndef int8_t
29611 typedef $acx_cv_type_int8_t int8_t;
29612 #endif
29613 #endif
29614 #endif
29615
29616 #ifndef _INT16_T
29617 #define _INT16_T
29618 #ifndef __int16_t_defined
29619 #define __int16_t_defined
29620 #ifndef int16_t
29621 typedef $acx_cv_type_int16_t int16_t;
29622 #endif
29623 #endif
29624 #endif
29625
29626 #ifndef _INT32_T
29627 #define _INT32_T
29628 #ifndef __int32_t_defined
29629 #define __int32_t_defined
29630 #ifndef int32_t
29631 typedef $acx_cv_type_int32_t int32_t;
29632 #endif
29633 #endif
29634 #endif
29635 EOF
29636 elif test "$ac_cv_type_u_int32_t" = yes; then
29637 sed 's/^ *//' >> tmp-stdint.h <<EOF
29638
29639 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29640 #ifndef _INT8_T
29641 #define _INT8_T
29642 #endif
29643 #ifndef _INT16_T
29644 #define _INT16_T
29645 #endif
29646 #ifndef _INT32_T
29647 #define _INT32_T
29648 #endif
29649
29650 #ifndef _UINT8_T
29651 #define _UINT8_T
29652 #ifndef __uint8_t_defined
29653 #define __uint8_t_defined
29654 #ifndef uint8_t
29655 typedef u_int8_t uint8_t;
29656 #endif
29657 #endif
29658 #endif
29659
29660 #ifndef _UINT16_T
29661 #define _UINT16_T
29662 #ifndef __uint16_t_defined
29663 #define __uint16_t_defined
29664 #ifndef uint16_t
29665 typedef u_int16_t uint16_t;
29666 #endif
29667 #endif
29668 #endif
29669
29670 #ifndef _UINT32_T
29671 #define _UINT32_T
29672 #ifndef __uint32_t_defined
29673 #define __uint32_t_defined
29674 #ifndef uint32_t
29675 typedef u_int32_t uint32_t;
29676 #endif
29677 #endif
29678 #endif
29679 EOF
29680 else
29681 sed 's/^ *//' >> tmp-stdint.h <<EOF
29682
29683 /* Some systems have guard macros to prevent redefinitions, define them. */
29684 #ifndef _INT8_T
29685 #define _INT8_T
29686 #endif
29687 #ifndef _INT16_T
29688 #define _INT16_T
29689 #endif
29690 #ifndef _INT32_T
29691 #define _INT32_T
29692 #endif
29693 #ifndef _UINT8_T
29694 #define _UINT8_T
29695 #endif
29696 #ifndef _UINT16_T
29697 #define _UINT16_T
29698 #endif
29699 #ifndef _UINT32_T
29700 #define _UINT32_T
29701 #endif
29702 EOF
29703 fi
29704
29705 # ------------- done basic int types, emit int64_t types ------------
29706 if test "$ac_cv_type_uint64_t" = yes; then
29707 sed 's/^ *//' >> tmp-stdint.h <<EOF
29708
29709 /* system headers have good uint64_t and int64_t */
29710 #ifndef _INT64_T
29711 #define _INT64_T
29712 #endif
29713 #ifndef _UINT64_T
29714 #define _UINT64_T
29715 #endif
29716 EOF
29717 elif test "$ac_cv_type_u_int64_t" = yes; then
29718 sed 's/^ *//' >> tmp-stdint.h <<EOF
29719
29720 /* system headers have an u_int64_t (and int64_t) */
29721 #ifndef _INT64_T
29722 #define _INT64_T
29723 #endif
29724 #ifndef _UINT64_T
29725 #define _UINT64_T
29726 #ifndef __uint64_t_defined
29727 #define __uint64_t_defined
29728 #ifndef uint64_t
29729 typedef u_int64_t uint64_t;
29730 #endif
29731 #endif
29732 #endif
29733 EOF
29734 elif test -n "$acx_cv_type_int64_t"; then
29735 sed 's/^ *//' >> tmp-stdint.h <<EOF
29736
29737 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29738 #ifndef _INT64_T
29739 #define _INT64_T
29740 #ifndef int64_t
29741 typedef $acx_cv_type_int64_t int64_t;
29742 #endif
29743 #endif
29744 #ifndef _UINT64_T
29745 #define _UINT64_T
29746 #ifndef __uint64_t_defined
29747 #define __uint64_t_defined
29748 #ifndef uint64_t
29749 typedef unsigned $acx_cv_type_int64_t uint64_t;
29750 #endif
29751 #endif
29752 #endif
29753 EOF
29754 else
29755 sed 's/^ *//' >> tmp-stdint.h <<EOF
29756
29757 /* some common heuristics for int64_t, using compiler-specific tests */
29758 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29759 #ifndef _INT64_T
29760 #define _INT64_T
29761 #ifndef __int64_t_defined
29762 #ifndef int64_t
29763 typedef long long int64_t;
29764 #endif
29765 #endif
29766 #endif
29767 #ifndef _UINT64_T
29768 #define _UINT64_T
29769 #ifndef uint64_t
29770 typedef unsigned long long uint64_t;
29771 #endif
29772 #endif
29773
29774 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29775 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29776 does not implement __extension__. But that compiler doesn't define
29777 __GNUC_MINOR__. */
29778 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29779 # define __extension__
29780 # endif
29781
29782 # ifndef _INT64_T
29783 # define _INT64_T
29784 # ifndef int64_t
29785 __extension__ typedef long long int64_t;
29786 # endif
29787 # endif
29788 # ifndef _UINT64_T
29789 # define _UINT64_T
29790 # ifndef uint64_t
29791 __extension__ typedef unsigned long long uint64_t;
29792 # endif
29793 # endif
29794
29795 #elif !defined __STRICT_ANSI__
29796 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29797
29798 # ifndef _INT64_T
29799 # define _INT64_T
29800 # ifndef int64_t
29801 typedef __int64 int64_t;
29802 # endif
29803 # endif
29804 # ifndef _UINT64_T
29805 # define _UINT64_T
29806 # ifndef uint64_t
29807 typedef unsigned __int64 uint64_t;
29808 # endif
29809 # endif
29810 # endif /* compiler */
29811
29812 #endif /* ANSI version */
29813 EOF
29814 fi
29815
29816 # ------------- done int64_t types, emit intptr types ------------
29817 if test "$ac_cv_type_uintptr_t" != yes; then
29818 sed 's/^ *//' >> tmp-stdint.h <<EOF
29819
29820 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29821 #ifndef __uintptr_t_defined
29822 #ifndef uintptr_t
29823 typedef u$acx_cv_type_intptr_t uintptr_t;
29824 #endif
29825 #endif
29826 #ifndef __intptr_t_defined
29827 #ifndef intptr_t
29828 typedef $acx_cv_type_intptr_t intptr_t;
29829 #endif
29830 #endif
29831 EOF
29832 fi
29833
29834 # ------------- done intptr types, emit int_least types ------------
29835 if test "$ac_cv_type_int_least32_t" != yes; then
29836 sed 's/^ *//' >> tmp-stdint.h <<EOF
29837
29838 /* Define int_least types */
29839 typedef int8_t int_least8_t;
29840 typedef int16_t int_least16_t;
29841 typedef int32_t int_least32_t;
29842 #ifdef _INT64_T
29843 typedef int64_t int_least64_t;
29844 #endif
29845
29846 typedef uint8_t uint_least8_t;
29847 typedef uint16_t uint_least16_t;
29848 typedef uint32_t uint_least32_t;
29849 #ifdef _UINT64_T
29850 typedef uint64_t uint_least64_t;
29851 #endif
29852 EOF
29853 fi
29854
29855 # ------------- done intptr types, emit int_fast types ------------
29856 if test "$ac_cv_type_int_fast32_t" != yes; then
29857 sed 's/^ *//' >> tmp-stdint.h <<EOF
29858
29859 /* Define int_fast types. short is often slow */
29860 typedef int8_t int_fast8_t;
29861 typedef int int_fast16_t;
29862 typedef int32_t int_fast32_t;
29863 #ifdef _INT64_T
29864 typedef int64_t int_fast64_t;
29865 #endif
29866
29867 typedef uint8_t uint_fast8_t;
29868 typedef unsigned int uint_fast16_t;
29869 typedef uint32_t uint_fast32_t;
29870 #ifdef _UINT64_T
29871 typedef uint64_t uint_fast64_t;
29872 #endif
29873 EOF
29874 fi
29875
29876 if test "$ac_cv_type_uintmax_t" != yes; then
29877 sed 's/^ *//' >> tmp-stdint.h <<EOF
29878
29879 /* Define intmax based on what we found */
29880 #ifndef intmax_t
29881 #ifdef _INT64_T
29882 typedef int64_t intmax_t;
29883 #else
29884 typedef long intmax_t;
29885 #endif
29886 #endif
29887 #ifndef uintmax_t
29888 #ifdef _UINT64_T
29889 typedef uint64_t uintmax_t;
29890 #else
29891 typedef unsigned long uintmax_t;
29892 #endif
29893 #endif
29894 EOF
29895 fi
29896
29897 sed 's/^ *//' >> tmp-stdint.h <<EOF
29898
29899 #endif /* GCC_GENERATED_STDINT_H */
29900 EOF
29901
29902 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
29903 rm -f tmp-stdint.h
29904 else
29905 mv -f tmp-stdint.h gstdint.h
29906 fi
29907
29908 ;;
29909
29910 esac
29911 done # for ac_tag
29912
29913
29914 as_fn_exit 0
29915 _ACEOF
29916 ac_clean_files=$ac_clean_files_save
29917
29918 test $ac_write_fail = 0 ||
29919 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
29920
29921
29922 # configure is writing to config.log, and then calls config.status.
29923 # config.status does its own redirection, appending to config.log.
29924 # Unfortunately, on DOS this fails, as config.log is still kept open
29925 # by configure, so config.status won't be able to write to it; its
29926 # output is simply discarded. So we exec the FD to /dev/null,
29927 # effectively closing config.log, so it can be properly (re)opened and
29928 # appended to by config.status. When coming back to configure, we
29929 # need to make the FD available again.
29930 if test "$no_create" != yes; then
29931 ac_cs_success=:
29932 ac_config_status_args=
29933 test "$silent" = yes &&
29934 ac_config_status_args="$ac_config_status_args --quiet"
29935 exec 5>/dev/null
29936 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29937 exec 5>>config.log
29938 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29939 # would make configure fail if this is the last instruction.
29940 $ac_cs_success || as_fn_exit 1
29941 fi
29942 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
29943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29944 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
29945 fi
29946