re PR fortran/45308 ([F2003] DATE_AND_TIME does _not_ blank-pad strings)
[gcc.git] / libgfortran / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Fortran Runtime Library 0.3.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
147 ;;
148 esac
149 fi
150 "
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165 exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172
173 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 PATH=/empty FPATH=/empty; export PATH FPATH
178 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
185 fi
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
197 /*)
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
206 fi
207 fi
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241 fi
242 exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260 { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269 return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
307 q
308 }
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
311 q
312 }
313 /^X\(\/\/\)$/{
314 s//\1/
315 q
316 }
317 /^X\(\/\).*/{
318 s//\1/
319 q
320 }
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
337 {
338 eval $1+=\$2
339 }'
340 else
341 as_fn_append ()
342 {
343 eval $1=\$$1\$2
344 }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
354 {
355 as_val=$(( $* ))
356 }'
357 else
358 as_fn_arith ()
359 {
360 as_val=`expr "$@" || test $? -eq 1`
361 }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376 fi
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
407 q
408 }
409 /^X\/\(\/\/\)$/{
410 s//\1/
411 q
412 }
413 /^X\/\(\/\).*/{
414 s//\1/
415 q
416 }
417 s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
433 p
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
439 b
440 :lineno
441 N
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
467 *)
468 ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
491 fi
492 else
493 as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
512 fi
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
524 '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='GNU Fortran Runtime Library'
558 PACKAGE_TARNAME='libgfortran'
559 PACKAGE_VERSION='0.3'
560 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
563
564 # Factoring default headers for most tests.
565 ac_includes_default="\
566 #include <stdio.h>
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
569 #endif
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
572 #endif
573 #ifdef STDC_HEADERS
574 # include <stdlib.h>
575 # include <stddef.h>
576 #else
577 # ifdef HAVE_STDLIB_H
578 # include <stdlib.h>
579 # endif
580 #endif
581 #ifdef HAVE_STRING_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
583 # include <memory.h>
584 # endif
585 # include <string.h>
586 #endif
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
589 #endif
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
592 #endif
593 #ifdef HAVE_STDINT_H
594 # include <stdint.h>
595 #endif
596 #ifdef HAVE_UNISTD_H
597 # include <unistd.h>
598 #endif"
599
600 ac_subst_vars='am__EXEEXT_FALSE
601 am__EXEEXT_TRUE
602 LTLIBOBJS
603 LIBOBJS
604 IEEE_FLAGS
605 FPU_HOST_HEADER
606 extra_ldflags_libgfortran
607 ac_ct_FC
608 FCFLAGS
609 FC
610 enable_static
611 enable_shared
612 CPP
613 OTOOL64
614 OTOOL
615 LIPO
616 NMEDIT
617 DSYMUTIL
618 OBJDUMP
619 LN_S
620 NM
621 ac_ct_DUMPBIN
622 DUMPBIN
623 LD
624 FGREP
625 EGREP
626 GREP
627 SED
628 LIBTOOL
629 RANLIB
630 AR
631 AS
632 SECTION_FLAGS
633 LIBGFOR_USE_SYMVER_SUN_FALSE
634 LIBGFOR_USE_SYMVER_SUN_TRUE
635 LIBGFOR_USE_SYMVER_GNU_FALSE
636 LIBGFOR_USE_SYMVER_GNU_TRUE
637 LIBGFOR_USE_SYMVER_FALSE
638 LIBGFOR_USE_SYMVER_TRUE
639 AM_CFLAGS
640 AM_FCFLAGS
641 am__fastdepCC_FALSE
642 am__fastdepCC_TRUE
643 CCDEPMODE
644 AMDEPBACKSLASH
645 AMDEP_FALSE
646 AMDEP_TRUE
647 am__quote
648 am__include
649 DEPDIR
650 OBJEXT
651 EXEEXT
652 ac_ct_CC
653 CPPFLAGS
654 LDFLAGS
655 CFLAGS
656 CC
657 toolexeclibdir
658 toolexecdir
659 multi_basedir
660 MAINT
661 MAINTAINER_MODE_FALSE
662 MAINTAINER_MODE_TRUE
663 am__untar
664 am__tar
665 AMTAR
666 am__leading_dot
667 SET_MAKE
668 AWK
669 mkdir_p
670 MKDIR_P
671 INSTALL_STRIP_PROGRAM
672 STRIP
673 install_sh
674 MAKEINFO
675 AUTOHEADER
676 AUTOMAKE
677 AUTOCONF
678 ACLOCAL
679 VERSION
680 PACKAGE
681 CYGPATH_W
682 am__isrc
683 INSTALL_DATA
684 INSTALL_SCRIPT
685 INSTALL_PROGRAM
686 target_os
687 target_vendor
688 target_cpu
689 target
690 host_os
691 host_vendor
692 host_cpu
693 host
694 onestep
695 onestep_FALSE
696 onestep_TRUE
697 target_subdir
698 host_subdir
699 build_subdir
700 build_libsubdir
701 build_os
702 build_vendor
703 build_cpu
704 build
705 target_alias
706 host_alias
707 build_alias
708 LIBS
709 ECHO_T
710 ECHO_N
711 ECHO_C
712 DEFS
713 mandir
714 localedir
715 libdir
716 psdir
717 pdfdir
718 dvidir
719 htmldir
720 infodir
721 docdir
722 oldincludedir
723 includedir
724 localstatedir
725 sharedstatedir
726 sysconfdir
727 datadir
728 datarootdir
729 libexecdir
730 sbindir
731 bindir
732 program_transform_name
733 prefix
734 exec_prefix
735 PACKAGE_URL
736 PACKAGE_BUGREPORT
737 PACKAGE_STRING
738 PACKAGE_VERSION
739 PACKAGE_TARNAME
740 PACKAGE_NAME
741 PATH_SEPARATOR
742 SHELL'
743 ac_subst_files=''
744 ac_user_opts='
745 enable_option_checking
746 with_build_libsubdir
747 enable_version_specific_runtime_libs
748 enable_intermodule
749 enable_maintainer_mode
750 enable_multilib
751 enable_dependency_tracking
752 enable_shared
753 enable_static
754 with_pic
755 enable_fast_install
756 with_gnu_ld
757 enable_libtool_lock
758 enable_largefile
759 '
760 ac_precious_vars='build_alias
761 host_alias
762 target_alias
763 CPP
764 CPPFLAGS
765 FC
766 FCFLAGS
767 LDFLAGS
768 LIBS'
769
770
771 # Initialize some variables set by options.
772 ac_init_help=
773 ac_init_version=false
774 ac_unrecognized_opts=
775 ac_unrecognized_sep=
776 # The variables have the same names as the options, with
777 # dashes changed to underlines.
778 cache_file=/dev/null
779 exec_prefix=NONE
780 no_create=
781 no_recursion=
782 prefix=NONE
783 program_prefix=NONE
784 program_suffix=NONE
785 program_transform_name=s,x,x,
786 silent=
787 site=
788 srcdir=
789 verbose=
790 x_includes=NONE
791 x_libraries=NONE
792
793 # Installation directory options.
794 # These are left unexpanded so users can "make install exec_prefix=/foo"
795 # and all the variables that are supposed to be based on exec_prefix
796 # by default will actually change.
797 # Use braces instead of parens because sh, perl, etc. also accept them.
798 # (The list follows the same order as the GNU Coding Standards.)
799 bindir='${exec_prefix}/bin'
800 sbindir='${exec_prefix}/sbin'
801 libexecdir='${exec_prefix}/libexec'
802 datarootdir='${prefix}/share'
803 datadir='${datarootdir}'
804 sysconfdir='${prefix}/etc'
805 sharedstatedir='${prefix}/com'
806 localstatedir='${prefix}/var'
807 includedir='${prefix}/include'
808 oldincludedir='/usr/include'
809 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
810 infodir='${datarootdir}/info'
811 htmldir='${docdir}'
812 dvidir='${docdir}'
813 pdfdir='${docdir}'
814 psdir='${docdir}'
815 libdir='${exec_prefix}/lib'
816 localedir='${datarootdir}/locale'
817 mandir='${datarootdir}/man'
818
819 ac_prev=
820 ac_dashdash=
821 for ac_option
822 do
823 # If the previous option needs an argument, assign it.
824 if test -n "$ac_prev"; then
825 eval $ac_prev=\$ac_option
826 ac_prev=
827 continue
828 fi
829
830 case $ac_option in
831 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
832 *) ac_optarg=yes ;;
833 esac
834
835 # Accept the important Cygnus configure options, so we can diagnose typos.
836
837 case $ac_dashdash$ac_option in
838 --)
839 ac_dashdash=yes ;;
840
841 -bindir | --bindir | --bindi | --bind | --bin | --bi)
842 ac_prev=bindir ;;
843 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
844 bindir=$ac_optarg ;;
845
846 -build | --build | --buil | --bui | --bu)
847 ac_prev=build_alias ;;
848 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
849 build_alias=$ac_optarg ;;
850
851 -cache-file | --cache-file | --cache-fil | --cache-fi \
852 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
853 ac_prev=cache_file ;;
854 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
855 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
856 cache_file=$ac_optarg ;;
857
858 --config-cache | -C)
859 cache_file=config.cache ;;
860
861 -datadir | --datadir | --datadi | --datad)
862 ac_prev=datadir ;;
863 -datadir=* | --datadir=* | --datadi=* | --datad=*)
864 datadir=$ac_optarg ;;
865
866 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
867 | --dataroo | --dataro | --datar)
868 ac_prev=datarootdir ;;
869 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
870 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
871 datarootdir=$ac_optarg ;;
872
873 -disable-* | --disable-*)
874 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
875 # Reject names that are not valid shell variable names.
876 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
877 as_fn_error "invalid feature name: $ac_useropt"
878 ac_useropt_orig=$ac_useropt
879 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
880 case $ac_user_opts in
881 *"
882 "enable_$ac_useropt"
883 "*) ;;
884 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
885 ac_unrecognized_sep=', ';;
886 esac
887 eval enable_$ac_useropt=no ;;
888
889 -docdir | --docdir | --docdi | --doc | --do)
890 ac_prev=docdir ;;
891 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
892 docdir=$ac_optarg ;;
893
894 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
895 ac_prev=dvidir ;;
896 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
897 dvidir=$ac_optarg ;;
898
899 -enable-* | --enable-*)
900 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
901 # Reject names that are not valid shell variable names.
902 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
903 as_fn_error "invalid feature name: $ac_useropt"
904 ac_useropt_orig=$ac_useropt
905 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
906 case $ac_user_opts in
907 *"
908 "enable_$ac_useropt"
909 "*) ;;
910 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
911 ac_unrecognized_sep=', ';;
912 esac
913 eval enable_$ac_useropt=\$ac_optarg ;;
914
915 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
916 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
917 | --exec | --exe | --ex)
918 ac_prev=exec_prefix ;;
919 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
920 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
921 | --exec=* | --exe=* | --ex=*)
922 exec_prefix=$ac_optarg ;;
923
924 -gas | --gas | --ga | --g)
925 # Obsolete; use --with-gas.
926 with_gas=yes ;;
927
928 -help | --help | --hel | --he | -h)
929 ac_init_help=long ;;
930 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
931 ac_init_help=recursive ;;
932 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
933 ac_init_help=short ;;
934
935 -host | --host | --hos | --ho)
936 ac_prev=host_alias ;;
937 -host=* | --host=* | --hos=* | --ho=*)
938 host_alias=$ac_optarg ;;
939
940 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
941 ac_prev=htmldir ;;
942 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
943 | --ht=*)
944 htmldir=$ac_optarg ;;
945
946 -includedir | --includedir | --includedi | --included | --include \
947 | --includ | --inclu | --incl | --inc)
948 ac_prev=includedir ;;
949 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
950 | --includ=* | --inclu=* | --incl=* | --inc=*)
951 includedir=$ac_optarg ;;
952
953 -infodir | --infodir | --infodi | --infod | --info | --inf)
954 ac_prev=infodir ;;
955 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
956 infodir=$ac_optarg ;;
957
958 -libdir | --libdir | --libdi | --libd)
959 ac_prev=libdir ;;
960 -libdir=* | --libdir=* | --libdi=* | --libd=*)
961 libdir=$ac_optarg ;;
962
963 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
964 | --libexe | --libex | --libe)
965 ac_prev=libexecdir ;;
966 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
967 | --libexe=* | --libex=* | --libe=*)
968 libexecdir=$ac_optarg ;;
969
970 -localedir | --localedir | --localedi | --localed | --locale)
971 ac_prev=localedir ;;
972 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
973 localedir=$ac_optarg ;;
974
975 -localstatedir | --localstatedir | --localstatedi | --localstated \
976 | --localstate | --localstat | --localsta | --localst | --locals)
977 ac_prev=localstatedir ;;
978 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
979 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
980 localstatedir=$ac_optarg ;;
981
982 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
983 ac_prev=mandir ;;
984 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
985 mandir=$ac_optarg ;;
986
987 -nfp | --nfp | --nf)
988 # Obsolete; use --without-fp.
989 with_fp=no ;;
990
991 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
992 | --no-cr | --no-c | -n)
993 no_create=yes ;;
994
995 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
996 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
997 no_recursion=yes ;;
998
999 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1000 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1001 | --oldin | --oldi | --old | --ol | --o)
1002 ac_prev=oldincludedir ;;
1003 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1004 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1005 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1006 oldincludedir=$ac_optarg ;;
1007
1008 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1009 ac_prev=prefix ;;
1010 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1011 prefix=$ac_optarg ;;
1012
1013 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1014 | --program-pre | --program-pr | --program-p)
1015 ac_prev=program_prefix ;;
1016 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1017 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1018 program_prefix=$ac_optarg ;;
1019
1020 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1021 | --program-suf | --program-su | --program-s)
1022 ac_prev=program_suffix ;;
1023 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1024 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1025 program_suffix=$ac_optarg ;;
1026
1027 -program-transform-name | --program-transform-name \
1028 | --program-transform-nam | --program-transform-na \
1029 | --program-transform-n | --program-transform- \
1030 | --program-transform | --program-transfor \
1031 | --program-transfo | --program-transf \
1032 | --program-trans | --program-tran \
1033 | --progr-tra | --program-tr | --program-t)
1034 ac_prev=program_transform_name ;;
1035 -program-transform-name=* | --program-transform-name=* \
1036 | --program-transform-nam=* | --program-transform-na=* \
1037 | --program-transform-n=* | --program-transform-=* \
1038 | --program-transform=* | --program-transfor=* \
1039 | --program-transfo=* | --program-transf=* \
1040 | --program-trans=* | --program-tran=* \
1041 | --progr-tra=* | --program-tr=* | --program-t=*)
1042 program_transform_name=$ac_optarg ;;
1043
1044 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1045 ac_prev=pdfdir ;;
1046 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1047 pdfdir=$ac_optarg ;;
1048
1049 -psdir | --psdir | --psdi | --psd | --ps)
1050 ac_prev=psdir ;;
1051 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1052 psdir=$ac_optarg ;;
1053
1054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1055 | -silent | --silent | --silen | --sile | --sil)
1056 silent=yes ;;
1057
1058 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1059 ac_prev=sbindir ;;
1060 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1061 | --sbi=* | --sb=*)
1062 sbindir=$ac_optarg ;;
1063
1064 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1065 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1066 | --sharedst | --shareds | --shared | --share | --shar \
1067 | --sha | --sh)
1068 ac_prev=sharedstatedir ;;
1069 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1070 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1071 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1072 | --sha=* | --sh=*)
1073 sharedstatedir=$ac_optarg ;;
1074
1075 -site | --site | --sit)
1076 ac_prev=site ;;
1077 -site=* | --site=* | --sit=*)
1078 site=$ac_optarg ;;
1079
1080 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1081 ac_prev=srcdir ;;
1082 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1083 srcdir=$ac_optarg ;;
1084
1085 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1086 | --syscon | --sysco | --sysc | --sys | --sy)
1087 ac_prev=sysconfdir ;;
1088 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1089 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1090 sysconfdir=$ac_optarg ;;
1091
1092 -target | --target | --targe | --targ | --tar | --ta | --t)
1093 ac_prev=target_alias ;;
1094 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1095 target_alias=$ac_optarg ;;
1096
1097 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1098 verbose=yes ;;
1099
1100 -version | --version | --versio | --versi | --vers | -V)
1101 ac_init_version=: ;;
1102
1103 -with-* | --with-*)
1104 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1105 # Reject names that are not valid shell variable names.
1106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1107 as_fn_error "invalid package name: $ac_useropt"
1108 ac_useropt_orig=$ac_useropt
1109 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1110 case $ac_user_opts in
1111 *"
1112 "with_$ac_useropt"
1113 "*) ;;
1114 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1115 ac_unrecognized_sep=', ';;
1116 esac
1117 eval with_$ac_useropt=\$ac_optarg ;;
1118
1119 -without-* | --without-*)
1120 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1123 as_fn_error "invalid package name: $ac_useropt"
1124 ac_useropt_orig=$ac_useropt
1125 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1126 case $ac_user_opts in
1127 *"
1128 "with_$ac_useropt"
1129 "*) ;;
1130 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1131 ac_unrecognized_sep=', ';;
1132 esac
1133 eval with_$ac_useropt=no ;;
1134
1135 --x)
1136 # Obsolete; use --with-x.
1137 with_x=yes ;;
1138
1139 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1140 | --x-incl | --x-inc | --x-in | --x-i)
1141 ac_prev=x_includes ;;
1142 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1143 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1144 x_includes=$ac_optarg ;;
1145
1146 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1147 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1148 ac_prev=x_libraries ;;
1149 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1150 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1151 x_libraries=$ac_optarg ;;
1152
1153 -*) as_fn_error "unrecognized option: \`$ac_option'
1154 Try \`$0 --help' for more information."
1155 ;;
1156
1157 *=*)
1158 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1159 # Reject names that are not valid shell variable names.
1160 case $ac_envvar in #(
1161 '' | [0-9]* | *[!_$as_cr_alnum]* )
1162 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1163 esac
1164 eval $ac_envvar=\$ac_optarg
1165 export $ac_envvar ;;
1166
1167 *)
1168 # FIXME: should be removed in autoconf 3.0.
1169 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1170 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1171 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1172 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1173 ;;
1174
1175 esac
1176 done
1177
1178 if test -n "$ac_prev"; then
1179 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1180 as_fn_error "missing argument to $ac_option"
1181 fi
1182
1183 if test -n "$ac_unrecognized_opts"; then
1184 case $enable_option_checking in
1185 no) ;;
1186 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1187 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1188 esac
1189 fi
1190
1191 # Check all directory arguments for consistency.
1192 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1193 datadir sysconfdir sharedstatedir localstatedir includedir \
1194 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1195 libdir localedir mandir
1196 do
1197 eval ac_val=\$$ac_var
1198 # Remove trailing slashes.
1199 case $ac_val in
1200 */ )
1201 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1202 eval $ac_var=\$ac_val;;
1203 esac
1204 # Be sure to have absolute directory names.
1205 case $ac_val in
1206 [\\/$]* | ?:[\\/]* ) continue;;
1207 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1208 esac
1209 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1210 done
1211
1212 # There might be people who depend on the old broken behavior: `$host'
1213 # used to hold the argument of --host etc.
1214 # FIXME: To remove some day.
1215 build=$build_alias
1216 host=$host_alias
1217 target=$target_alias
1218
1219 # FIXME: To remove some day.
1220 if test "x$host_alias" != x; then
1221 if test "x$build_alias" = x; then
1222 cross_compiling=maybe
1223 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1224 If a cross compiler is detected then cross compile mode will be used." >&2
1225 elif test "x$build_alias" != "x$host_alias"; then
1226 cross_compiling=yes
1227 fi
1228 fi
1229
1230 ac_tool_prefix=
1231 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1232
1233 test "$silent" = yes && exec 6>/dev/null
1234
1235
1236 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1237 ac_ls_di=`ls -di .` &&
1238 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1239 as_fn_error "working directory cannot be determined"
1240 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1241 as_fn_error "pwd does not report name of working directory"
1242
1243
1244 # Find the source files, if location was not specified.
1245 if test -z "$srcdir"; then
1246 ac_srcdir_defaulted=yes
1247 # Try the directory containing this script, then the parent directory.
1248 ac_confdir=`$as_dirname -- "$as_myself" ||
1249 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1250 X"$as_myself" : 'X\(//\)[^/]' \| \
1251 X"$as_myself" : 'X\(//\)$' \| \
1252 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1253 $as_echo X"$as_myself" |
1254 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1255 s//\1/
1256 q
1257 }
1258 /^X\(\/\/\)[^/].*/{
1259 s//\1/
1260 q
1261 }
1262 /^X\(\/\/\)$/{
1263 s//\1/
1264 q
1265 }
1266 /^X\(\/\).*/{
1267 s//\1/
1268 q
1269 }
1270 s/.*/./; q'`
1271 srcdir=$ac_confdir
1272 if test ! -r "$srcdir/$ac_unique_file"; then
1273 srcdir=..
1274 fi
1275 else
1276 ac_srcdir_defaulted=no
1277 fi
1278 if test ! -r "$srcdir/$ac_unique_file"; then
1279 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1280 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1281 fi
1282 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1283 ac_abs_confdir=`(
1284 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1285 pwd)`
1286 # When building in place, set srcdir=.
1287 if test "$ac_abs_confdir" = "$ac_pwd"; then
1288 srcdir=.
1289 fi
1290 # Remove unnecessary trailing slashes from srcdir.
1291 # Double slashes in file names in object file debugging info
1292 # mess up M-x gdb in Emacs.
1293 case $srcdir in
1294 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1295 esac
1296 for ac_var in $ac_precious_vars; do
1297 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1298 eval ac_env_${ac_var}_value=\$${ac_var}
1299 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1300 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1301 done
1302
1303 #
1304 # Report the --help message.
1305 #
1306 if test "$ac_init_help" = "long"; then
1307 # Omit some internal or obsolete options to make the list less imposing.
1308 # This message is too long to be a string in the A/UX 3.1 sh.
1309 cat <<_ACEOF
1310 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1311
1312 Usage: $0 [OPTION]... [VAR=VALUE]...
1313
1314 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1315 VAR=VALUE. See below for descriptions of some of the useful variables.
1316
1317 Defaults for the options are specified in brackets.
1318
1319 Configuration:
1320 -h, --help display this help and exit
1321 --help=short display options specific to this package
1322 --help=recursive display the short help of all the included packages
1323 -V, --version display version information and exit
1324 -q, --quiet, --silent do not print \`checking...' messages
1325 --cache-file=FILE cache test results in FILE [disabled]
1326 -C, --config-cache alias for \`--cache-file=config.cache'
1327 -n, --no-create do not create output files
1328 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1329
1330 Installation directories:
1331 --prefix=PREFIX install architecture-independent files in PREFIX
1332 [$ac_default_prefix]
1333 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1334 [PREFIX]
1335
1336 By default, \`make install' will install all the files in
1337 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1338 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1339 for instance \`--prefix=\$HOME'.
1340
1341 For better control, use the options below.
1342
1343 Fine tuning of the installation directories:
1344 --bindir=DIR user executables [EPREFIX/bin]
1345 --sbindir=DIR system admin executables [EPREFIX/sbin]
1346 --libexecdir=DIR program executables [EPREFIX/libexec]
1347 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1348 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1349 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1350 --libdir=DIR object code libraries [EPREFIX/lib]
1351 --includedir=DIR C header files [PREFIX/include]
1352 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1353 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1354 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1355 --infodir=DIR info documentation [DATAROOTDIR/info]
1356 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1357 --mandir=DIR man documentation [DATAROOTDIR/man]
1358 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1359 --htmldir=DIR html documentation [DOCDIR]
1360 --dvidir=DIR dvi documentation [DOCDIR]
1361 --pdfdir=DIR pdf documentation [DOCDIR]
1362 --psdir=DIR ps documentation [DOCDIR]
1363 _ACEOF
1364
1365 cat <<\_ACEOF
1366
1367 Program names:
1368 --program-prefix=PREFIX prepend PREFIX to installed program names
1369 --program-suffix=SUFFIX append SUFFIX to installed program names
1370 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1371
1372 System types:
1373 --build=BUILD configure for building on BUILD [guessed]
1374 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1375 --target=TARGET configure for building compilers for TARGET [HOST]
1376 _ACEOF
1377 fi
1378
1379 if test -n "$ac_init_help"; then
1380 case $ac_init_help in
1381 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1382 esac
1383 cat <<\_ACEOF
1384
1385 Optional Features:
1386 --disable-option-checking ignore unrecognized --enable/--with options
1387 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1388 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1389 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1390 --enable-intermodule build the library in one step
1391 --enable-maintainer-mode enable make rules and dependencies not useful
1392 (and sometimes confusing) to the casual installer
1393 --enable-multilib build many library versions (default)
1394 --disable-dependency-tracking speeds up one-time build
1395 --enable-dependency-tracking do not reject slow dependency extractors
1396 --enable-shared[=PKGS] build shared libraries [default=yes]
1397 --enable-static[=PKGS] build static libraries [default=yes]
1398 --enable-fast-install[=PKGS]
1399 optimize for fast installation [default=yes]
1400 --disable-libtool-lock avoid locking (might break parallel builds)
1401 --disable-largefile omit support for large files
1402
1403 Optional Packages:
1404 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1405 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1406 --with-build-libsubdir=DIR Directory where to find libraries for build system
1407 --with-pic try to use only PIC/non-PIC objects [default=use
1408 both]
1409 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1410
1411 Some influential environment variables:
1412 CC C compiler command
1413 CFLAGS C compiler flags
1414 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1415 nonstandard directory <lib dir>
1416 LIBS libraries to pass to the linker, e.g. -l<library>
1417 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1418 you have headers in a nonstandard directory <include dir>
1419 CPP C preprocessor
1420 FC Fortran compiler command
1421 FCFLAGS Fortran compiler flags
1422
1423 Use these variables to override the choices made by `configure' or to help
1424 it to find libraries and programs with nonstandard names/locations.
1425
1426 Report bugs to the package provider.
1427 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1428 General help using GNU software: <http://www.gnu.org/gethelp/>.
1429 _ACEOF
1430 ac_status=$?
1431 fi
1432
1433 if test "$ac_init_help" = "recursive"; then
1434 # If there are subdirs, report their specific --help.
1435 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1436 test -d "$ac_dir" ||
1437 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1438 continue
1439 ac_builddir=.
1440
1441 case "$ac_dir" in
1442 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1443 *)
1444 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1445 # A ".." for each directory in $ac_dir_suffix.
1446 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1447 case $ac_top_builddir_sub in
1448 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1449 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1450 esac ;;
1451 esac
1452 ac_abs_top_builddir=$ac_pwd
1453 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1454 # for backward compatibility:
1455 ac_top_builddir=$ac_top_build_prefix
1456
1457 case $srcdir in
1458 .) # We are building in place.
1459 ac_srcdir=.
1460 ac_top_srcdir=$ac_top_builddir_sub
1461 ac_abs_top_srcdir=$ac_pwd ;;
1462 [\\/]* | ?:[\\/]* ) # Absolute name.
1463 ac_srcdir=$srcdir$ac_dir_suffix;
1464 ac_top_srcdir=$srcdir
1465 ac_abs_top_srcdir=$srcdir ;;
1466 *) # Relative name.
1467 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1468 ac_top_srcdir=$ac_top_build_prefix$srcdir
1469 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1470 esac
1471 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1472
1473 cd "$ac_dir" || { ac_status=$?; continue; }
1474 # Check for guested configure.
1475 if test -f "$ac_srcdir/configure.gnu"; then
1476 echo &&
1477 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1478 elif test -f "$ac_srcdir/configure"; then
1479 echo &&
1480 $SHELL "$ac_srcdir/configure" --help=recursive
1481 else
1482 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1483 fi || ac_status=$?
1484 cd "$ac_pwd" || { ac_status=$?; break; }
1485 done
1486 fi
1487
1488 test -n "$ac_init_help" && exit $ac_status
1489 if $ac_init_version; then
1490 cat <<\_ACEOF
1491 GNU Fortran Runtime Library configure 0.3
1492 generated by GNU Autoconf 2.64
1493
1494 Copyright (C) 2009 Free Software Foundation, Inc.
1495 This configure script is free software; the Free Software Foundation
1496 gives unlimited permission to copy, distribute and modify it.
1497 _ACEOF
1498 exit
1499 fi
1500
1501 ## ------------------------ ##
1502 ## Autoconf initialization. ##
1503 ## ------------------------ ##
1504
1505 # ac_fn_c_try_compile LINENO
1506 # --------------------------
1507 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1508 ac_fn_c_try_compile ()
1509 {
1510 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1511 rm -f conftest.$ac_objext
1512 if { { ac_try="$ac_compile"
1513 case "(($ac_try" in
1514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1515 *) ac_try_echo=$ac_try;;
1516 esac
1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1518 $as_echo "$ac_try_echo"; } >&5
1519 (eval "$ac_compile") 2>conftest.err
1520 ac_status=$?
1521 if test -s conftest.err; then
1522 grep -v '^ *+' conftest.err >conftest.er1
1523 cat conftest.er1 >&5
1524 mv -f conftest.er1 conftest.err
1525 fi
1526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1527 test $ac_status = 0; } && {
1528 test -z "$ac_c_werror_flag" ||
1529 test ! -s conftest.err
1530 } && test -s conftest.$ac_objext; then :
1531 ac_retval=0
1532 else
1533 $as_echo "$as_me: failed program was:" >&5
1534 sed 's/^/| /' conftest.$ac_ext >&5
1535
1536 ac_retval=1
1537 fi
1538 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1539 return $ac_retval
1540
1541 } # ac_fn_c_try_compile
1542
1543 # ac_fn_c_try_link LINENO
1544 # -----------------------
1545 # Try to link conftest.$ac_ext, and return whether this succeeded.
1546 ac_fn_c_try_link ()
1547 {
1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1549 rm -f conftest.$ac_objext conftest$ac_exeext
1550 if { { ac_try="$ac_link"
1551 case "(($ac_try" in
1552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1553 *) ac_try_echo=$ac_try;;
1554 esac
1555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1556 $as_echo "$ac_try_echo"; } >&5
1557 (eval "$ac_link") 2>conftest.err
1558 ac_status=$?
1559 if test -s conftest.err; then
1560 grep -v '^ *+' conftest.err >conftest.er1
1561 cat conftest.er1 >&5
1562 mv -f conftest.er1 conftest.err
1563 fi
1564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1565 test $ac_status = 0; } && {
1566 test -z "$ac_c_werror_flag" ||
1567 test ! -s conftest.err
1568 } && test -s conftest$ac_exeext && {
1569 test "$cross_compiling" = yes ||
1570 $as_test_x conftest$ac_exeext
1571 }; then :
1572 ac_retval=0
1573 else
1574 $as_echo "$as_me: failed program was:" >&5
1575 sed 's/^/| /' conftest.$ac_ext >&5
1576
1577 ac_retval=1
1578 fi
1579 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1580 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1581 # interfere with the next link command; also delete a directory that is
1582 # left behind by Apple's compiler. We do this before executing the actions.
1583 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1584 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1585 return $ac_retval
1586
1587 } # ac_fn_c_try_link
1588
1589 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1590 # -------------------------------------------------------
1591 # Tests whether HEADER exists and can be compiled using the include files in
1592 # INCLUDES, setting the cache variable VAR accordingly.
1593 ac_fn_c_check_header_compile ()
1594 {
1595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1597 $as_echo_n "checking for $2... " >&6; }
1598 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1599 $as_echo_n "(cached) " >&6
1600 else
1601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1602 /* end confdefs.h. */
1603 $4
1604 #include <$2>
1605 _ACEOF
1606 if ac_fn_c_try_compile "$LINENO"; then :
1607 eval "$3=yes"
1608 else
1609 eval "$3=no"
1610 fi
1611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1612 fi
1613 eval ac_res=\$$3
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1615 $as_echo "$ac_res" >&6; }
1616 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1617
1618 } # ac_fn_c_check_header_compile
1619
1620 # ac_fn_c_try_cpp LINENO
1621 # ----------------------
1622 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1623 ac_fn_c_try_cpp ()
1624 {
1625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626 if { { ac_try="$ac_cpp conftest.$ac_ext"
1627 case "(($ac_try" in
1628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1629 *) ac_try_echo=$ac_try;;
1630 esac
1631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1632 $as_echo "$ac_try_echo"; } >&5
1633 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1634 ac_status=$?
1635 if test -s conftest.err; then
1636 grep -v '^ *+' conftest.err >conftest.er1
1637 cat conftest.er1 >&5
1638 mv -f conftest.er1 conftest.err
1639 fi
1640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1641 test $ac_status = 0; } >/dev/null && {
1642 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1643 test ! -s conftest.err
1644 }; then :
1645 ac_retval=0
1646 else
1647 $as_echo "$as_me: failed program was:" >&5
1648 sed 's/^/| /' conftest.$ac_ext >&5
1649
1650 ac_retval=1
1651 fi
1652 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1653 return $ac_retval
1654
1655 } # ac_fn_c_try_cpp
1656
1657 # ac_fn_c_try_run LINENO
1658 # ----------------------
1659 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1660 # that executables *can* be run.
1661 ac_fn_c_try_run ()
1662 {
1663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664 if { { ac_try="$ac_link"
1665 case "(($ac_try" in
1666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1667 *) ac_try_echo=$ac_try;;
1668 esac
1669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1670 $as_echo "$ac_try_echo"; } >&5
1671 (eval "$ac_link") 2>&5
1672 ac_status=$?
1673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1675 { { case "(($ac_try" in
1676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1677 *) ac_try_echo=$ac_try;;
1678 esac
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681 (eval "$ac_try") 2>&5
1682 ac_status=$?
1683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1684 test $ac_status = 0; }; }; then :
1685 ac_retval=0
1686 else
1687 $as_echo "$as_me: program exited with status $ac_status" >&5
1688 $as_echo "$as_me: failed program was:" >&5
1689 sed 's/^/| /' conftest.$ac_ext >&5
1690
1691 ac_retval=$ac_status
1692 fi
1693 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1694 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1695 return $ac_retval
1696
1697 } # ac_fn_c_try_run
1698
1699 # ac_fn_c_check_func LINENO FUNC VAR
1700 # ----------------------------------
1701 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1702 ac_fn_c_check_func ()
1703 {
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1706 $as_echo_n "checking for $2... " >&6; }
1707 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1708 $as_echo_n "(cached) " >&6
1709 else
1710 if test x$gcc_no_link = xyes; then
1711 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1712 fi
1713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1714 /* end confdefs.h. */
1715 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1717 #define $2 innocuous_$2
1718
1719 /* System header to define __stub macros and hopefully few prototypes,
1720 which can conflict with char $2 (); below.
1721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1722 <limits.h> exists even on freestanding compilers. */
1723
1724 #ifdef __STDC__
1725 # include <limits.h>
1726 #else
1727 # include <assert.h>
1728 #endif
1729
1730 #undef $2
1731
1732 /* Override any GCC internal prototype to avoid an error.
1733 Use char because int might match the return type of a GCC
1734 builtin and then its argument prototype would still apply. */
1735 #ifdef __cplusplus
1736 extern "C"
1737 #endif
1738 char $2 ();
1739 /* The GNU C library defines this for functions which it implements
1740 to always fail with ENOSYS. Some functions are actually named
1741 something starting with __ and the normal name is an alias. */
1742 #if defined __stub_$2 || defined __stub___$2
1743 choke me
1744 #endif
1745
1746 int
1747 main ()
1748 {
1749 return $2 ();
1750 ;
1751 return 0;
1752 }
1753 _ACEOF
1754 if ac_fn_c_try_link "$LINENO"; then :
1755 eval "$3=yes"
1756 else
1757 eval "$3=no"
1758 fi
1759 rm -f core conftest.err conftest.$ac_objext \
1760 conftest$ac_exeext conftest.$ac_ext
1761 fi
1762 eval ac_res=\$$3
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1764 $as_echo "$ac_res" >&6; }
1765 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1766
1767 } # ac_fn_c_check_func
1768
1769 # ac_fn_fc_try_compile LINENO
1770 # ---------------------------
1771 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1772 ac_fn_fc_try_compile ()
1773 {
1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775 rm -f conftest.$ac_objext
1776 if { { ac_try="$ac_compile"
1777 case "(($ac_try" in
1778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1779 *) ac_try_echo=$ac_try;;
1780 esac
1781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1782 $as_echo "$ac_try_echo"; } >&5
1783 (eval "$ac_compile") 2>conftest.err
1784 ac_status=$?
1785 if test -s conftest.err; then
1786 grep -v '^ *+' conftest.err >conftest.er1
1787 cat conftest.er1 >&5
1788 mv -f conftest.er1 conftest.err
1789 fi
1790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791 test $ac_status = 0; } && {
1792 test -z "$ac_fc_werror_flag" ||
1793 test ! -s conftest.err
1794 } && test -s conftest.$ac_objext; then :
1795 ac_retval=0
1796 else
1797 $as_echo "$as_me: failed program was:" >&5
1798 sed 's/^/| /' conftest.$ac_ext >&5
1799
1800 ac_retval=1
1801 fi
1802 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1803 return $ac_retval
1804
1805 } # ac_fn_fc_try_compile
1806
1807 # ac_fn_fc_try_link LINENO
1808 # ------------------------
1809 # Try to link conftest.$ac_ext, and return whether this succeeded.
1810 ac_fn_fc_try_link ()
1811 {
1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 rm -f conftest.$ac_objext conftest$ac_exeext
1814 if { { ac_try="$ac_link"
1815 case "(($ac_try" in
1816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1817 *) ac_try_echo=$ac_try;;
1818 esac
1819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820 $as_echo "$ac_try_echo"; } >&5
1821 (eval "$ac_link") 2>conftest.err
1822 ac_status=$?
1823 if test -s conftest.err; then
1824 grep -v '^ *+' conftest.err >conftest.er1
1825 cat conftest.er1 >&5
1826 mv -f conftest.er1 conftest.err
1827 fi
1828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829 test $ac_status = 0; } && {
1830 test -z "$ac_fc_werror_flag" ||
1831 test ! -s conftest.err
1832 } && test -s conftest$ac_exeext && {
1833 test "$cross_compiling" = yes ||
1834 $as_test_x conftest$ac_exeext
1835 }; then :
1836 ac_retval=0
1837 else
1838 $as_echo "$as_me: failed program was:" >&5
1839 sed 's/^/| /' conftest.$ac_ext >&5
1840
1841 ac_retval=1
1842 fi
1843 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1844 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1845 # interfere with the next link command; also delete a directory that is
1846 # left behind by Apple's compiler. We do this before executing the actions.
1847 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1848 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1849 return $ac_retval
1850
1851 } # ac_fn_fc_try_link
1852
1853 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1854 # -------------------------------------------
1855 # Tests whether TYPE exists after having included INCLUDES, setting cache
1856 # variable VAR accordingly.
1857 ac_fn_c_check_type ()
1858 {
1859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1861 $as_echo_n "checking for $2... " >&6; }
1862 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1863 $as_echo_n "(cached) " >&6
1864 else
1865 eval "$3=no"
1866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1867 /* end confdefs.h. */
1868 $4
1869 int
1870 main ()
1871 {
1872 if (sizeof ($2))
1873 return 0;
1874 ;
1875 return 0;
1876 }
1877 _ACEOF
1878 if ac_fn_c_try_compile "$LINENO"; then :
1879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1880 /* end confdefs.h. */
1881 $4
1882 int
1883 main ()
1884 {
1885 if (sizeof (($2)))
1886 return 0;
1887 ;
1888 return 0;
1889 }
1890 _ACEOF
1891 if ac_fn_c_try_compile "$LINENO"; then :
1892
1893 else
1894 eval "$3=yes"
1895 fi
1896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1897 fi
1898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1899 fi
1900 eval ac_res=\$$3
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1902 $as_echo "$ac_res" >&6; }
1903 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1904
1905 } # ac_fn_c_check_type
1906
1907 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1908 # -------------------------------------------------------
1909 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1910 # the include files in INCLUDES and setting the cache variable VAR
1911 # accordingly.
1912 ac_fn_c_check_header_mongrel ()
1913 {
1914 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1915 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1917 $as_echo_n "checking for $2... " >&6; }
1918 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1919 $as_echo_n "(cached) " >&6
1920 fi
1921 eval ac_res=\$$3
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1923 $as_echo "$ac_res" >&6; }
1924 else
1925 # Is the header compilable?
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1927 $as_echo_n "checking $2 usability... " >&6; }
1928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1929 /* end confdefs.h. */
1930 $4
1931 #include <$2>
1932 _ACEOF
1933 if ac_fn_c_try_compile "$LINENO"; then :
1934 ac_header_compiler=yes
1935 else
1936 ac_header_compiler=no
1937 fi
1938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1940 $as_echo "$ac_header_compiler" >&6; }
1941
1942 # Is the header present?
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1944 $as_echo_n "checking $2 presence... " >&6; }
1945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1946 /* end confdefs.h. */
1947 #include <$2>
1948 _ACEOF
1949 if ac_fn_c_try_cpp "$LINENO"; then :
1950 ac_header_preproc=yes
1951 else
1952 ac_header_preproc=no
1953 fi
1954 rm -f conftest.err conftest.$ac_ext
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1956 $as_echo "$ac_header_preproc" >&6; }
1957
1958 # So? What about this header?
1959 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1960 yes:no: )
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1962 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1964 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1965 ;;
1966 no:yes:* )
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1968 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1970 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1972 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1974 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1976 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1977 ;;
1978 esac
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1980 $as_echo_n "checking for $2... " >&6; }
1981 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1982 $as_echo_n "(cached) " >&6
1983 else
1984 eval "$3=\$ac_header_compiler"
1985 fi
1986 eval ac_res=\$$3
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988 $as_echo "$ac_res" >&6; }
1989 fi
1990 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1991
1992 } # ac_fn_c_check_header_mongrel
1993
1994 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1995 # --------------------------------------------
1996 # Tries to find the compile-time value of EXPR in a program that includes
1997 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1998 # computed
1999 ac_fn_c_compute_int ()
2000 {
2001 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2002 if test "$cross_compiling" = yes; then
2003 # Depending upon the size, compute the lo and hi bounds.
2004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2005 /* end confdefs.h. */
2006 $4
2007 int
2008 main ()
2009 {
2010 static int test_array [1 - 2 * !(($2) >= 0)];
2011 test_array [0] = 0
2012
2013 ;
2014 return 0;
2015 }
2016 _ACEOF
2017 if ac_fn_c_try_compile "$LINENO"; then :
2018 ac_lo=0 ac_mid=0
2019 while :; do
2020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2021 /* end confdefs.h. */
2022 $4
2023 int
2024 main ()
2025 {
2026 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2027 test_array [0] = 0
2028
2029 ;
2030 return 0;
2031 }
2032 _ACEOF
2033 if ac_fn_c_try_compile "$LINENO"; then :
2034 ac_hi=$ac_mid; break
2035 else
2036 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2037 if test $ac_lo -le $ac_mid; then
2038 ac_lo= ac_hi=
2039 break
2040 fi
2041 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2042 fi
2043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2044 done
2045 else
2046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2047 /* end confdefs.h. */
2048 $4
2049 int
2050 main ()
2051 {
2052 static int test_array [1 - 2 * !(($2) < 0)];
2053 test_array [0] = 0
2054
2055 ;
2056 return 0;
2057 }
2058 _ACEOF
2059 if ac_fn_c_try_compile "$LINENO"; then :
2060 ac_hi=-1 ac_mid=-1
2061 while :; do
2062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2063 /* end confdefs.h. */
2064 $4
2065 int
2066 main ()
2067 {
2068 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2069 test_array [0] = 0
2070
2071 ;
2072 return 0;
2073 }
2074 _ACEOF
2075 if ac_fn_c_try_compile "$LINENO"; then :
2076 ac_lo=$ac_mid; break
2077 else
2078 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2079 if test $ac_mid -le $ac_hi; then
2080 ac_lo= ac_hi=
2081 break
2082 fi
2083 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2084 fi
2085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2086 done
2087 else
2088 ac_lo= ac_hi=
2089 fi
2090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2091 fi
2092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2093 # Binary search between lo and hi bounds.
2094 while test "x$ac_lo" != "x$ac_hi"; do
2095 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h. */
2098 $4
2099 int
2100 main ()
2101 {
2102 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2103 test_array [0] = 0
2104
2105 ;
2106 return 0;
2107 }
2108 _ACEOF
2109 if ac_fn_c_try_compile "$LINENO"; then :
2110 ac_hi=$ac_mid
2111 else
2112 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2113 fi
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 done
2116 case $ac_lo in #((
2117 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2118 '') ac_retval=1 ;;
2119 esac
2120 else
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h. */
2123 $4
2124 static long int longval () { return $2; }
2125 static unsigned long int ulongval () { return $2; }
2126 #include <stdio.h>
2127 #include <stdlib.h>
2128 int
2129 main ()
2130 {
2131
2132 FILE *f = fopen ("conftest.val", "w");
2133 if (! f)
2134 return 1;
2135 if (($2) < 0)
2136 {
2137 long int i = longval ();
2138 if (i != ($2))
2139 return 1;
2140 fprintf (f, "%ld", i);
2141 }
2142 else
2143 {
2144 unsigned long int i = ulongval ();
2145 if (i != ($2))
2146 return 1;
2147 fprintf (f, "%lu", i);
2148 }
2149 /* Do not output a trailing newline, as this causes \r\n confusion
2150 on some platforms. */
2151 return ferror (f) || fclose (f) != 0;
2152
2153 ;
2154 return 0;
2155 }
2156 _ACEOF
2157 if ac_fn_c_try_run "$LINENO"; then :
2158 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2159 else
2160 ac_retval=1
2161 fi
2162 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2163 conftest.$ac_objext conftest.beam conftest.$ac_ext
2164 rm -f conftest.val
2165
2166 fi
2167 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2168 return $ac_retval
2169
2170 } # ac_fn_c_compute_int
2171
2172 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2173 # ----------------------------------------------------
2174 # Tries to find if the field MEMBER exists in type AGGR, after including
2175 # INCLUDES, setting cache variable VAR accordingly.
2176 ac_fn_c_check_member ()
2177 {
2178 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2180 $as_echo_n "checking for $2.$3... " >&6; }
2181 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2182 $as_echo_n "(cached) " >&6
2183 else
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h. */
2186 $5
2187 int
2188 main ()
2189 {
2190 static $2 ac_aggr;
2191 if (ac_aggr.$3)
2192 return 0;
2193 ;
2194 return 0;
2195 }
2196 _ACEOF
2197 if ac_fn_c_try_compile "$LINENO"; then :
2198 eval "$4=yes"
2199 else
2200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2201 /* end confdefs.h. */
2202 $5
2203 int
2204 main ()
2205 {
2206 static $2 ac_aggr;
2207 if (sizeof ac_aggr.$3)
2208 return 0;
2209 ;
2210 return 0;
2211 }
2212 _ACEOF
2213 if ac_fn_c_try_compile "$LINENO"; then :
2214 eval "$4=yes"
2215 else
2216 eval "$4=no"
2217 fi
2218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2219 fi
2220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2221 fi
2222 eval ac_res=\$$4
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2224 $as_echo "$ac_res" >&6; }
2225 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2226
2227 } # ac_fn_c_check_member
2228 cat >config.log <<_ACEOF
2229 This file contains any messages produced by compilers while
2230 running configure, to aid debugging if configure makes a mistake.
2231
2232 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2233 generated by GNU Autoconf 2.64. Invocation command line was
2234
2235 $ $0 $@
2236
2237 _ACEOF
2238 exec 5>>config.log
2239 {
2240 cat <<_ASUNAME
2241 ## --------- ##
2242 ## Platform. ##
2243 ## --------- ##
2244
2245 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2246 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2247 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2248 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2249 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2250
2251 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2252 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2253
2254 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2255 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2256 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2257 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2258 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2259 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2260 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2261
2262 _ASUNAME
2263
2264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265 for as_dir in $PATH
2266 do
2267 IFS=$as_save_IFS
2268 test -z "$as_dir" && as_dir=.
2269 $as_echo "PATH: $as_dir"
2270 done
2271 IFS=$as_save_IFS
2272
2273 } >&5
2274
2275 cat >&5 <<_ACEOF
2276
2277
2278 ## ----------- ##
2279 ## Core tests. ##
2280 ## ----------- ##
2281
2282 _ACEOF
2283
2284
2285 # Keep a trace of the command line.
2286 # Strip out --no-create and --no-recursion so they do not pile up.
2287 # Strip out --silent because we don't want to record it for future runs.
2288 # Also quote any args containing shell meta-characters.
2289 # Make two passes to allow for proper duplicate-argument suppression.
2290 ac_configure_args=
2291 ac_configure_args0=
2292 ac_configure_args1=
2293 ac_must_keep_next=false
2294 for ac_pass in 1 2
2295 do
2296 for ac_arg
2297 do
2298 case $ac_arg in
2299 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2300 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2301 | -silent | --silent | --silen | --sile | --sil)
2302 continue ;;
2303 *\'*)
2304 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2305 esac
2306 case $ac_pass in
2307 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2308 2)
2309 as_fn_append ac_configure_args1 " '$ac_arg'"
2310 if test $ac_must_keep_next = true; then
2311 ac_must_keep_next=false # Got value, back to normal.
2312 else
2313 case $ac_arg in
2314 *=* | --config-cache | -C | -disable-* | --disable-* \
2315 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2316 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2317 | -with-* | --with-* | -without-* | --without-* | --x)
2318 case "$ac_configure_args0 " in
2319 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2320 esac
2321 ;;
2322 -* ) ac_must_keep_next=true ;;
2323 esac
2324 fi
2325 as_fn_append ac_configure_args " '$ac_arg'"
2326 ;;
2327 esac
2328 done
2329 done
2330 { ac_configure_args0=; unset ac_configure_args0;}
2331 { ac_configure_args1=; unset ac_configure_args1;}
2332
2333 # When interrupted or exit'd, cleanup temporary files, and complete
2334 # config.log. We remove comments because anyway the quotes in there
2335 # would cause problems or look ugly.
2336 # WARNING: Use '\'' to represent an apostrophe within the trap.
2337 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2338 trap 'exit_status=$?
2339 # Save into config.log some information that might help in debugging.
2340 {
2341 echo
2342
2343 cat <<\_ASBOX
2344 ## ---------------- ##
2345 ## Cache variables. ##
2346 ## ---------------- ##
2347 _ASBOX
2348 echo
2349 # The following way of writing the cache mishandles newlines in values,
2350 (
2351 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2352 eval ac_val=\$$ac_var
2353 case $ac_val in #(
2354 *${as_nl}*)
2355 case $ac_var in #(
2356 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2357 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2358 esac
2359 case $ac_var in #(
2360 _ | IFS | as_nl) ;; #(
2361 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2362 *) { eval $ac_var=; unset $ac_var;} ;;
2363 esac ;;
2364 esac
2365 done
2366 (set) 2>&1 |
2367 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2368 *${as_nl}ac_space=\ *)
2369 sed -n \
2370 "s/'\''/'\''\\\\'\'''\''/g;
2371 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2372 ;; #(
2373 *)
2374 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2375 ;;
2376 esac |
2377 sort
2378 )
2379 echo
2380
2381 cat <<\_ASBOX
2382 ## ----------------- ##
2383 ## Output variables. ##
2384 ## ----------------- ##
2385 _ASBOX
2386 echo
2387 for ac_var in $ac_subst_vars
2388 do
2389 eval ac_val=\$$ac_var
2390 case $ac_val in
2391 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2392 esac
2393 $as_echo "$ac_var='\''$ac_val'\''"
2394 done | sort
2395 echo
2396
2397 if test -n "$ac_subst_files"; then
2398 cat <<\_ASBOX
2399 ## ------------------- ##
2400 ## File substitutions. ##
2401 ## ------------------- ##
2402 _ASBOX
2403 echo
2404 for ac_var in $ac_subst_files
2405 do
2406 eval ac_val=\$$ac_var
2407 case $ac_val in
2408 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2409 esac
2410 $as_echo "$ac_var='\''$ac_val'\''"
2411 done | sort
2412 echo
2413 fi
2414
2415 if test -s confdefs.h; then
2416 cat <<\_ASBOX
2417 ## ----------- ##
2418 ## confdefs.h. ##
2419 ## ----------- ##
2420 _ASBOX
2421 echo
2422 cat confdefs.h
2423 echo
2424 fi
2425 test "$ac_signal" != 0 &&
2426 $as_echo "$as_me: caught signal $ac_signal"
2427 $as_echo "$as_me: exit $exit_status"
2428 } >&5
2429 rm -f core *.core core.conftest.* &&
2430 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2431 exit $exit_status
2432 ' 0
2433 for ac_signal in 1 2 13 15; do
2434 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2435 done
2436 ac_signal=0
2437
2438 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2439 rm -f -r conftest* confdefs.h
2440
2441 $as_echo "/* confdefs.h */" > confdefs.h
2442
2443 # Predefined preprocessor variables.
2444
2445 cat >>confdefs.h <<_ACEOF
2446 #define PACKAGE_NAME "$PACKAGE_NAME"
2447 _ACEOF
2448
2449 cat >>confdefs.h <<_ACEOF
2450 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2451 _ACEOF
2452
2453 cat >>confdefs.h <<_ACEOF
2454 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2455 _ACEOF
2456
2457 cat >>confdefs.h <<_ACEOF
2458 #define PACKAGE_STRING "$PACKAGE_STRING"
2459 _ACEOF
2460
2461 cat >>confdefs.h <<_ACEOF
2462 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2463 _ACEOF
2464
2465 cat >>confdefs.h <<_ACEOF
2466 #define PACKAGE_URL "$PACKAGE_URL"
2467 _ACEOF
2468
2469
2470 # Let the site file select an alternate cache file if it wants to.
2471 # Prefer an explicitly selected file to automatically selected ones.
2472 ac_site_file1=NONE
2473 ac_site_file2=NONE
2474 if test -n "$CONFIG_SITE"; then
2475 ac_site_file1=$CONFIG_SITE
2476 elif test "x$prefix" != xNONE; then
2477 ac_site_file1=$prefix/share/config.site
2478 ac_site_file2=$prefix/etc/config.site
2479 else
2480 ac_site_file1=$ac_default_prefix/share/config.site
2481 ac_site_file2=$ac_default_prefix/etc/config.site
2482 fi
2483 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2484 do
2485 test "x$ac_site_file" = xNONE && continue
2486 if test -r "$ac_site_file"; then
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2488 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2489 sed 's/^/| /' "$ac_site_file" >&5
2490 . "$ac_site_file"
2491 fi
2492 done
2493
2494 if test -r "$cache_file"; then
2495 # Some versions of bash will fail to source /dev/null (special
2496 # files actually), so we avoid doing that.
2497 if test -f "$cache_file"; then
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2499 $as_echo "$as_me: loading cache $cache_file" >&6;}
2500 case $cache_file in
2501 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2502 *) . "./$cache_file";;
2503 esac
2504 fi
2505 else
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2507 $as_echo "$as_me: creating cache $cache_file" >&6;}
2508 >$cache_file
2509 fi
2510
2511 # Check that the precious variables saved in the cache have kept the same
2512 # value.
2513 ac_cache_corrupted=false
2514 for ac_var in $ac_precious_vars; do
2515 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2516 eval ac_new_set=\$ac_env_${ac_var}_set
2517 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2518 eval ac_new_val=\$ac_env_${ac_var}_value
2519 case $ac_old_set,$ac_new_set in
2520 set,)
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2522 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2523 ac_cache_corrupted=: ;;
2524 ,set)
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2526 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2527 ac_cache_corrupted=: ;;
2528 ,);;
2529 *)
2530 if test "x$ac_old_val" != "x$ac_new_val"; then
2531 # differences in whitespace do not lead to failure.
2532 ac_old_val_w=`echo x $ac_old_val`
2533 ac_new_val_w=`echo x $ac_new_val`
2534 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2536 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2537 ac_cache_corrupted=:
2538 else
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2540 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2541 eval $ac_var=\$ac_old_val
2542 fi
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2544 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2546 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2547 fi;;
2548 esac
2549 # Pass precious variables to config.status.
2550 if test "$ac_new_set" = set; then
2551 case $ac_new_val in
2552 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2553 *) ac_arg=$ac_var=$ac_new_val ;;
2554 esac
2555 case " $ac_configure_args " in
2556 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2557 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2558 esac
2559 fi
2560 done
2561 if $ac_cache_corrupted; then
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2565 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2566 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2567 fi
2568 ## -------------------- ##
2569 ## Main body of script. ##
2570 ## -------------------- ##
2571
2572 ac_ext=c
2573 ac_cpp='$CPP $CPPFLAGS'
2574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2577
2578
2579
2580
2581
2582 ac_config_headers="$ac_config_headers config.h"
2583
2584 ac_aux_dir=
2585 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2586 for ac_t in install-sh install.sh shtool; do
2587 if test -f "$ac_dir/$ac_t"; then
2588 ac_aux_dir=$ac_dir
2589 ac_install_sh="$ac_aux_dir/$ac_t -c"
2590 break 2
2591 fi
2592 done
2593 done
2594 if test -z "$ac_aux_dir"; then
2595 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2596 fi
2597
2598 # These three variables are undocumented and unsupported,
2599 # and are intended to be withdrawn in a future Autoconf release.
2600 # They can cause serious problems if a builder's source tree is in a directory
2601 # whose full name contains unusual characters.
2602 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2603 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2604 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2605
2606
2607 # Make sure we can run config.sub.
2608 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2609 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2610
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2612 $as_echo_n "checking build system type... " >&6; }
2613 if test "${ac_cv_build+set}" = set; then :
2614 $as_echo_n "(cached) " >&6
2615 else
2616 ac_build_alias=$build_alias
2617 test "x$ac_build_alias" = x &&
2618 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2619 test "x$ac_build_alias" = x &&
2620 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2621 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2622 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2623
2624 fi
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2626 $as_echo "$ac_cv_build" >&6; }
2627 case $ac_cv_build in
2628 *-*-*) ;;
2629 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2630 esac
2631 build=$ac_cv_build
2632 ac_save_IFS=$IFS; IFS='-'
2633 set x $ac_cv_build
2634 shift
2635 build_cpu=$1
2636 build_vendor=$2
2637 shift; shift
2638 # Remember, the first character of IFS is used to create $*,
2639 # except with old shells:
2640 build_os=$*
2641 IFS=$ac_save_IFS
2642 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2643
2644
2645 case ${build_alias} in
2646 "") build_noncanonical=${build} ;;
2647 *) build_noncanonical=${build_alias} ;;
2648 esac
2649
2650 case ${host_alias} in
2651 "") host_noncanonical=${build_noncanonical} ;;
2652 *) host_noncanonical=${host_alias} ;;
2653 esac
2654
2655 case ${target_alias} in
2656 "") target_noncanonical=${host_noncanonical} ;;
2657 *) target_noncanonical=${target_alias} ;;
2658 esac
2659
2660
2661 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2662 # have matching libraries, they should use host libraries: Makefile.tpl
2663 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2664 # However, they still use the build modules, because the corresponding
2665 # host modules (e.g. bison) are only built for the host when bootstrap
2666 # finishes. So:
2667 # - build_subdir is where we find build modules, and never changes.
2668 # - build_libsubdir is where we find build libraries, and can be overridden.
2669
2670 # Prefix 'build-' so this never conflicts with target_subdir.
2671 build_subdir="build-${build_noncanonical}"
2672
2673 # Check whether --with-build-libsubdir was given.
2674 if test "${with_build_libsubdir+set}" = set; then :
2675 withval=$with_build_libsubdir; build_libsubdir="$withval"
2676 else
2677 build_libsubdir="$build_subdir"
2678 fi
2679
2680 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2681 if ( test $srcdir = . && test -d gcc ) \
2682 || test -d $srcdir/../host-${host_noncanonical}; then
2683 host_subdir="host-${host_noncanonical}"
2684 else
2685 host_subdir=.
2686 fi
2687 # No prefix.
2688 target_subdir=${target_noncanonical}
2689
2690
2691 # -------
2692 # Options
2693 # -------
2694
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2696 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2697 # Check whether --enable-version-specific-runtime-libs was given.
2698 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2699 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2700 yes) version_specific_libs=yes ;;
2701 no) version_specific_libs=no ;;
2702 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2703 esac
2704 else
2705 version_specific_libs=no
2706 fi
2707
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2709 $as_echo "$version_specific_libs" >&6; }
2710
2711 # Build with intermodule optimisations
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2713 $as_echo_n "checking for --enable-intermodule... " >&6; }
2714 # Check whether --enable-intermodule was given.
2715 if test "${enable_intermodule+set}" = set; then :
2716 enableval=$enable_intermodule; case "$enable_intermodule" in
2717 yes) onestep="-onestep";;
2718 *) onestep="";;
2719 esac
2720 else
2721 onestep=""
2722 fi
2723
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2725 $as_echo "$enable_intermodule" >&6; }
2726 if test x$onestep = x-onestep; then
2727 onestep_TRUE=
2728 onestep_FALSE='#'
2729 else
2730 onestep_TRUE='#'
2731 onestep_FALSE=
2732 fi
2733
2734
2735
2736 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2737 #
2738 # You will slowly go insane if you do not grok the following fact: when
2739 # building this library, the top-level /target/ becomes the library's /host/.
2740 #
2741 # configure then causes --target to default to --host, exactly like any
2742 # other package using autoconf. Therefore, 'target' and 'host' will
2743 # always be the same. This makes sense both for native and cross compilers
2744 # just think about it for a little while. :-)
2745 #
2746 # Also, if this library is being configured as part of a cross compiler, the
2747 # top-level configure script will pass the "real" host as $with_cross_host.
2748 #
2749 # Do not delete or change the following two lines. For why, see
2750 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2752 $as_echo_n "checking host system type... " >&6; }
2753 if test "${ac_cv_host+set}" = set; then :
2754 $as_echo_n "(cached) " >&6
2755 else
2756 if test "x$host_alias" = x; then
2757 ac_cv_host=$ac_cv_build
2758 else
2759 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2760 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2761 fi
2762
2763 fi
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2765 $as_echo "$ac_cv_host" >&6; }
2766 case $ac_cv_host in
2767 *-*-*) ;;
2768 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2769 esac
2770 host=$ac_cv_host
2771 ac_save_IFS=$IFS; IFS='-'
2772 set x $ac_cv_host
2773 shift
2774 host_cpu=$1
2775 host_vendor=$2
2776 shift; shift
2777 # Remember, the first character of IFS is used to create $*,
2778 # except with old shells:
2779 host_os=$*
2780 IFS=$ac_save_IFS
2781 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2782
2783
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2785 $as_echo_n "checking target system type... " >&6; }
2786 if test "${ac_cv_target+set}" = set; then :
2787 $as_echo_n "(cached) " >&6
2788 else
2789 if test "x$target_alias" = x; then
2790 ac_cv_target=$ac_cv_host
2791 else
2792 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2793 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2794 fi
2795
2796 fi
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2798 $as_echo "$ac_cv_target" >&6; }
2799 case $ac_cv_target in
2800 *-*-*) ;;
2801 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2802 esac
2803 target=$ac_cv_target
2804 ac_save_IFS=$IFS; IFS='-'
2805 set x $ac_cv_target
2806 shift
2807 target_cpu=$1
2808 target_vendor=$2
2809 shift; shift
2810 # Remember, the first character of IFS is used to create $*,
2811 # except with old shells:
2812 target_os=$*
2813 IFS=$ac_save_IFS
2814 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2815
2816
2817 # The aliases save the names the user supplied, while $host etc.
2818 # will get canonicalized.
2819 test -n "$target_alias" &&
2820 test "$program_prefix$program_suffix$program_transform_name" = \
2821 NONENONEs,x,x, &&
2822 program_prefix=${target_alias}-
2823
2824 target_alias=${target_alias-$host_alias}
2825
2826 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2827 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2828 # 1.9.6: minimum required version
2829 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2830 # of other PACKAGE_* variables will, however, and there's nothing
2831 # we can do about that; they come from AC_INIT).
2832 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2833 # file in the top srcdir, etc, etc), so stop complaining.
2834 # no-dist: we don't want 'dist' and related rules.
2835 # -Wall: turns on all automake warnings...
2836 # -Wno-portability: ...except this one, since GNU make is required.
2837 am__api_version='1.11'
2838
2839 # Find a good install program. We prefer a C program (faster),
2840 # so one script is as good as another. But avoid the broken or
2841 # incompatible versions:
2842 # SysV /etc/install, /usr/sbin/install
2843 # SunOS /usr/etc/install
2844 # IRIX /sbin/install
2845 # AIX /bin/install
2846 # AmigaOS /C/install, which installs bootblocks on floppy discs
2847 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2848 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2849 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2850 # OS/2's system install, which has a completely different semantic
2851 # ./install, which can be erroneously created by make from ./install.sh.
2852 # Reject install programs that cannot install multiple files.
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2854 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2855 if test -z "$INSTALL"; then
2856 if test "${ac_cv_path_install+set}" = set; then :
2857 $as_echo_n "(cached) " >&6
2858 else
2859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2860 for as_dir in $PATH
2861 do
2862 IFS=$as_save_IFS
2863 test -z "$as_dir" && as_dir=.
2864 # Account for people who put trailing slashes in PATH elements.
2865 case $as_dir/ in #((
2866 ./ | .// | /[cC]/* | \
2867 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2868 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2869 /usr/ucb/* ) ;;
2870 *)
2871 # OSF1 and SCO ODT 3.0 have their own names for install.
2872 # Don't use installbsd from OSF since it installs stuff as root
2873 # by default.
2874 for ac_prog in ginstall scoinst install; do
2875 for ac_exec_ext in '' $ac_executable_extensions; do
2876 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2877 if test $ac_prog = install &&
2878 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2879 # AIX install. It has an incompatible calling convention.
2880 :
2881 elif test $ac_prog = install &&
2882 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2883 # program-specific install script used by HP pwplus--don't use.
2884 :
2885 else
2886 rm -rf conftest.one conftest.two conftest.dir
2887 echo one > conftest.one
2888 echo two > conftest.two
2889 mkdir conftest.dir
2890 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2891 test -s conftest.one && test -s conftest.two &&
2892 test -s conftest.dir/conftest.one &&
2893 test -s conftest.dir/conftest.two
2894 then
2895 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2896 break 3
2897 fi
2898 fi
2899 fi
2900 done
2901 done
2902 ;;
2903 esac
2904
2905 done
2906 IFS=$as_save_IFS
2907
2908 rm -rf conftest.one conftest.two conftest.dir
2909
2910 fi
2911 if test "${ac_cv_path_install+set}" = set; then
2912 INSTALL=$ac_cv_path_install
2913 else
2914 # As a last resort, use the slow shell script. Don't cache a
2915 # value for INSTALL within a source directory, because that will
2916 # break other packages using the cache if that directory is
2917 # removed, or if the value is a relative name.
2918 INSTALL=$ac_install_sh
2919 fi
2920 fi
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2922 $as_echo "$INSTALL" >&6; }
2923
2924 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2925 # It thinks the first close brace ends the variable substitution.
2926 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2927
2928 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2929
2930 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2931
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2933 $as_echo_n "checking whether build environment is sane... " >&6; }
2934 # Just in case
2935 sleep 1
2936 echo timestamp > conftest.file
2937 # Reject unsafe characters in $srcdir or the absolute working directory
2938 # name. Accept space and tab only in the latter.
2939 am_lf='
2940 '
2941 case `pwd` in
2942 *[\\\"\#\$\&\'\`$am_lf]*)
2943 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2944 esac
2945 case $srcdir in
2946 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2947 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2948 esac
2949
2950 # Do `set' in a subshell so we don't clobber the current shell's
2951 # arguments. Must try -L first in case configure is actually a
2952 # symlink; some systems play weird games with the mod time of symlinks
2953 # (eg FreeBSD returns the mod time of the symlink's containing
2954 # directory).
2955 if (
2956 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2957 if test "$*" = "X"; then
2958 # -L didn't work.
2959 set X `ls -t "$srcdir/configure" conftest.file`
2960 fi
2961 rm -f conftest.file
2962 if test "$*" != "X $srcdir/configure conftest.file" \
2963 && test "$*" != "X conftest.file $srcdir/configure"; then
2964
2965 # If neither matched, then we have a broken ls. This can happen
2966 # if, for instance, CONFIG_SHELL is bash and it inherits a
2967 # broken ls alias from the environment. This has actually
2968 # happened. Such a system could not be considered "sane".
2969 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2970 alias in your environment" "$LINENO" 5
2971 fi
2972
2973 test "$2" = conftest.file
2974 )
2975 then
2976 # Ok.
2977 :
2978 else
2979 as_fn_error "newly created file is older than distributed files!
2980 Check your system clock" "$LINENO" 5
2981 fi
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2983 $as_echo "yes" >&6; }
2984 test "$program_prefix" != NONE &&
2985 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2986 # Use a double $ so make ignores it.
2987 test "$program_suffix" != NONE &&
2988 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2989 # Double any \ or $.
2990 # By default was `s,x,x', remove it if useless.
2991 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2992 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2993
2994 # expand $ac_aux_dir to an absolute path
2995 am_aux_dir=`cd $ac_aux_dir && pwd`
2996
2997 if test x"${MISSING+set}" != xset; then
2998 case $am_aux_dir in
2999 *\ * | *\ *)
3000 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3001 *)
3002 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3003 esac
3004 fi
3005 # Use eval to expand $SHELL
3006 if eval "$MISSING --run true"; then
3007 am_missing_run="$MISSING --run "
3008 else
3009 am_missing_run=
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3011 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3012 fi
3013
3014 if test x"${install_sh}" != xset; then
3015 case $am_aux_dir in
3016 *\ * | *\ *)
3017 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3018 *)
3019 install_sh="\${SHELL} $am_aux_dir/install-sh"
3020 esac
3021 fi
3022
3023 # Installed binaries are usually stripped using `strip' when the user
3024 # run `make install-strip'. However `strip' might not be the right
3025 # tool to use in cross-compilation environments, therefore Automake
3026 # will honor the `STRIP' environment variable to overrule this program.
3027 if test "$cross_compiling" != no; then
3028 if test -n "$ac_tool_prefix"; then
3029 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3030 set dummy ${ac_tool_prefix}strip; ac_word=$2
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3032 $as_echo_n "checking for $ac_word... " >&6; }
3033 if test "${ac_cv_prog_STRIP+set}" = set; then :
3034 $as_echo_n "(cached) " >&6
3035 else
3036 if test -n "$STRIP"; then
3037 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3038 else
3039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3040 for as_dir in $PATH
3041 do
3042 IFS=$as_save_IFS
3043 test -z "$as_dir" && as_dir=.
3044 for ac_exec_ext in '' $ac_executable_extensions; do
3045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3046 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3048 break 2
3049 fi
3050 done
3051 done
3052 IFS=$as_save_IFS
3053
3054 fi
3055 fi
3056 STRIP=$ac_cv_prog_STRIP
3057 if test -n "$STRIP"; then
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3059 $as_echo "$STRIP" >&6; }
3060 else
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3062 $as_echo "no" >&6; }
3063 fi
3064
3065
3066 fi
3067 if test -z "$ac_cv_prog_STRIP"; then
3068 ac_ct_STRIP=$STRIP
3069 # Extract the first word of "strip", so it can be a program name with args.
3070 set dummy strip; ac_word=$2
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3072 $as_echo_n "checking for $ac_word... " >&6; }
3073 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3074 $as_echo_n "(cached) " >&6
3075 else
3076 if test -n "$ac_ct_STRIP"; then
3077 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3078 else
3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 for as_dir in $PATH
3081 do
3082 IFS=$as_save_IFS
3083 test -z "$as_dir" && as_dir=.
3084 for ac_exec_ext in '' $ac_executable_extensions; do
3085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3086 ac_cv_prog_ac_ct_STRIP="strip"
3087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3088 break 2
3089 fi
3090 done
3091 done
3092 IFS=$as_save_IFS
3093
3094 fi
3095 fi
3096 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3097 if test -n "$ac_ct_STRIP"; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3099 $as_echo "$ac_ct_STRIP" >&6; }
3100 else
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3102 $as_echo "no" >&6; }
3103 fi
3104
3105 if test "x$ac_ct_STRIP" = x; then
3106 STRIP=":"
3107 else
3108 case $cross_compiling:$ac_tool_warned in
3109 yes:)
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3112 ac_tool_warned=yes ;;
3113 esac
3114 STRIP=$ac_ct_STRIP
3115 fi
3116 else
3117 STRIP="$ac_cv_prog_STRIP"
3118 fi
3119
3120 fi
3121 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3122
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3124 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3125 if test -z "$MKDIR_P"; then
3126 if test "${ac_cv_path_mkdir+set}" = set; then :
3127 $as_echo_n "(cached) " >&6
3128 else
3129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3130 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3131 do
3132 IFS=$as_save_IFS
3133 test -z "$as_dir" && as_dir=.
3134 for ac_prog in mkdir gmkdir; do
3135 for ac_exec_ext in '' $ac_executable_extensions; do
3136 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3137 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3138 'mkdir (GNU coreutils) '* | \
3139 'mkdir (coreutils) '* | \
3140 'mkdir (fileutils) '4.1*)
3141 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3142 break 3;;
3143 esac
3144 done
3145 done
3146 done
3147 IFS=$as_save_IFS
3148
3149 fi
3150
3151 if test "${ac_cv_path_mkdir+set}" = set; then
3152 MKDIR_P="$ac_cv_path_mkdir -p"
3153 else
3154 # As a last resort, use the slow shell script. Don't cache a
3155 # value for MKDIR_P within a source directory, because that will
3156 # break other packages using the cache if that directory is
3157 # removed, or if the value is a relative name.
3158 test -d ./--version && rmdir ./--version
3159 MKDIR_P="$ac_install_sh -d"
3160 fi
3161 fi
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3163 $as_echo "$MKDIR_P" >&6; }
3164
3165 mkdir_p="$MKDIR_P"
3166 case $mkdir_p in
3167 [\\/$]* | ?:[\\/]*) ;;
3168 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3169 esac
3170
3171 for ac_prog in gawk mawk nawk awk
3172 do
3173 # Extract the first word of "$ac_prog", so it can be a program name with args.
3174 set dummy $ac_prog; ac_word=$2
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3176 $as_echo_n "checking for $ac_word... " >&6; }
3177 if test "${ac_cv_prog_AWK+set}" = set; then :
3178 $as_echo_n "(cached) " >&6
3179 else
3180 if test -n "$AWK"; then
3181 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3182 else
3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3184 for as_dir in $PATH
3185 do
3186 IFS=$as_save_IFS
3187 test -z "$as_dir" && as_dir=.
3188 for ac_exec_ext in '' $ac_executable_extensions; do
3189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3190 ac_cv_prog_AWK="$ac_prog"
3191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3192 break 2
3193 fi
3194 done
3195 done
3196 IFS=$as_save_IFS
3197
3198 fi
3199 fi
3200 AWK=$ac_cv_prog_AWK
3201 if test -n "$AWK"; then
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3203 $as_echo "$AWK" >&6; }
3204 else
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3207 fi
3208
3209
3210 test -n "$AWK" && break
3211 done
3212
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3214 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3215 set x ${MAKE-make}
3216 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3217 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3218 $as_echo_n "(cached) " >&6
3219 else
3220 cat >conftest.make <<\_ACEOF
3221 SHELL = /bin/sh
3222 all:
3223 @echo '@@@%%%=$(MAKE)=@@@%%%'
3224 _ACEOF
3225 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3226 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3227 *@@@%%%=?*=@@@%%%*)
3228 eval ac_cv_prog_make_${ac_make}_set=yes;;
3229 *)
3230 eval ac_cv_prog_make_${ac_make}_set=no;;
3231 esac
3232 rm -f conftest.make
3233 fi
3234 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3236 $as_echo "yes" >&6; }
3237 SET_MAKE=
3238 else
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3240 $as_echo "no" >&6; }
3241 SET_MAKE="MAKE=${MAKE-make}"
3242 fi
3243
3244 rm -rf .tst 2>/dev/null
3245 mkdir .tst 2>/dev/null
3246 if test -d .tst; then
3247 am__leading_dot=.
3248 else
3249 am__leading_dot=_
3250 fi
3251 rmdir .tst 2>/dev/null
3252
3253 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3254 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3255 # is not polluted with repeated "-I."
3256 am__isrc=' -I$(srcdir)'
3257 # test to see if srcdir already configured
3258 if test -f $srcdir/config.status; then
3259 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3260 fi
3261 fi
3262
3263 # test whether we have cygpath
3264 if test -z "$CYGPATH_W"; then
3265 if (cygpath --version) >/dev/null 2>/dev/null; then
3266 CYGPATH_W='cygpath -w'
3267 else
3268 CYGPATH_W=echo
3269 fi
3270 fi
3271
3272
3273 # Define the identity of the package.
3274 PACKAGE='libgfortran'
3275 VERSION='0.3'
3276
3277
3278 # Some tools Automake needs.
3279
3280 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3281
3282
3283 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3284
3285
3286 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3287
3288
3289 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3290
3291
3292 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3293
3294 # We need awk for the "check" target. The system "awk" is bad on
3295 # some platforms.
3296 # Always define AMTAR for backward compatibility.
3297
3298 AMTAR=${AMTAR-"${am_missing_run}tar"}
3299
3300 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3301
3302
3303
3304
3305
3306
3307
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3309 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3310 # Check whether --enable-maintainer-mode was given.
3311 if test "${enable_maintainer_mode+set}" = set; then :
3312 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3313 else
3314 USE_MAINTAINER_MODE=no
3315 fi
3316
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3318 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3319 if test $USE_MAINTAINER_MODE = yes; then
3320 MAINTAINER_MODE_TRUE=
3321 MAINTAINER_MODE_FALSE='#'
3322 else
3323 MAINTAINER_MODE_TRUE='#'
3324 MAINTAINER_MODE_FALSE=
3325 fi
3326
3327 MAINT=$MAINTAINER_MODE_TRUE
3328
3329
3330 # Default to --enable-multilib
3331 # Check whether --enable-multilib was given.
3332 if test "${enable_multilib+set}" = set; then :
3333 enableval=$enable_multilib; case "$enableval" in
3334 yes) multilib=yes ;;
3335 no) multilib=no ;;
3336 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3337 esac
3338 else
3339 multilib=yes
3340 fi
3341
3342
3343 # We may get other options which we leave undocumented:
3344 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3345 # See config-ml.in if you want the gory details.
3346
3347 if test "$srcdir" = "."; then
3348 if test "$with_target_subdir" != "."; then
3349 multi_basedir="$srcdir/$with_multisrctop../.."
3350 else
3351 multi_basedir="$srcdir/$with_multisrctop.."
3352 fi
3353 else
3354 multi_basedir="$srcdir/.."
3355 fi
3356
3357
3358 # Even if the default multilib is not a cross compilation,
3359 # it may be that some of the other multilibs are.
3360 if test $cross_compiling = no && test $multilib = yes \
3361 && test "x${with_multisubdir}" != x ; then
3362 cross_compiling=maybe
3363 fi
3364
3365 ac_config_commands="$ac_config_commands default-1"
3366
3367
3368 # Handy for debugging:
3369 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3370
3371 # Are we being configured with some form of cross compiler?
3372 # NB: We don't actually need to know this just now, but when, say, a test
3373 # suite is included, we'll have to know.
3374 if test "$build" != "$host"; then
3375 LIBGFOR_IS_NATIVE=false
3376
3377 else
3378 LIBGFOR_IS_NATIVE=true
3379 fi
3380
3381 # Calculate toolexeclibdir
3382 # Also toolexecdir, though it's only used in toolexeclibdir
3383 case ${version_specific_libs} in
3384 yes)
3385 # Need the gcc compiler version to know where to install libraries
3386 # and header files if --enable-version-specific-runtime-libs option
3387 # is selected.
3388 toolexecdir='$(libdir)/gcc/$(target_alias)'
3389 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3390 ;;
3391 no)
3392 if test -n "$with_cross_host" &&
3393 test x"$with_cross_host" != x"no"; then
3394 # Install a library built with a cross compiler in tooldir, not libdir.
3395 toolexecdir='$(exec_prefix)/$(target_alias)'
3396 toolexeclibdir='$(toolexecdir)/lib'
3397 else
3398 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
3399 toolexeclibdir='$(libdir)'
3400 fi
3401 multi_os_directory=`$CC -print-multi-os-directory`
3402 case $multi_os_directory in
3403 .) ;; # Avoid trailing /.
3404 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
3405 esac
3406 ;;
3407 esac
3408
3409
3410
3411 # Check the compiler.
3412 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3413 # We must force CC to /not/ be precious variables; otherwise
3414 # the wrong, non-multilib-adjusted value will be used in multilibs.
3415 # As a side effect, we have to subst CFLAGS ourselves.
3416
3417
3418
3419 ac_ext=c
3420 ac_cpp='$CPP $CPPFLAGS'
3421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3424 if test -n "$ac_tool_prefix"; then
3425 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3426 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3428 $as_echo_n "checking for $ac_word... " >&6; }
3429 if test "${ac_cv_prog_CC+set}" = set; then :
3430 $as_echo_n "(cached) " >&6
3431 else
3432 if test -n "$CC"; then
3433 ac_cv_prog_CC="$CC" # Let the user override the test.
3434 else
3435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3436 for as_dir in $PATH
3437 do
3438 IFS=$as_save_IFS
3439 test -z "$as_dir" && as_dir=.
3440 for ac_exec_ext in '' $ac_executable_extensions; do
3441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3442 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3444 break 2
3445 fi
3446 done
3447 done
3448 IFS=$as_save_IFS
3449
3450 fi
3451 fi
3452 CC=$ac_cv_prog_CC
3453 if test -n "$CC"; then
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3455 $as_echo "$CC" >&6; }
3456 else
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3458 $as_echo "no" >&6; }
3459 fi
3460
3461
3462 fi
3463 if test -z "$ac_cv_prog_CC"; then
3464 ac_ct_CC=$CC
3465 # Extract the first word of "gcc", so it can be a program name with args.
3466 set dummy gcc; ac_word=$2
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3468 $as_echo_n "checking for $ac_word... " >&6; }
3469 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3470 $as_echo_n "(cached) " >&6
3471 else
3472 if test -n "$ac_ct_CC"; then
3473 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3474 else
3475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3476 for as_dir in $PATH
3477 do
3478 IFS=$as_save_IFS
3479 test -z "$as_dir" && as_dir=.
3480 for ac_exec_ext in '' $ac_executable_extensions; do
3481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3482 ac_cv_prog_ac_ct_CC="gcc"
3483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3484 break 2
3485 fi
3486 done
3487 done
3488 IFS=$as_save_IFS
3489
3490 fi
3491 fi
3492 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3493 if test -n "$ac_ct_CC"; then
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3495 $as_echo "$ac_ct_CC" >&6; }
3496 else
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3498 $as_echo "no" >&6; }
3499 fi
3500
3501 if test "x$ac_ct_CC" = x; then
3502 CC=""
3503 else
3504 case $cross_compiling:$ac_tool_warned in
3505 yes:)
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3508 ac_tool_warned=yes ;;
3509 esac
3510 CC=$ac_ct_CC
3511 fi
3512 else
3513 CC="$ac_cv_prog_CC"
3514 fi
3515
3516 if test -z "$CC"; then
3517 if test -n "$ac_tool_prefix"; then
3518 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3519 set dummy ${ac_tool_prefix}cc; ac_word=$2
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3521 $as_echo_n "checking for $ac_word... " >&6; }
3522 if test "${ac_cv_prog_CC+set}" = set; then :
3523 $as_echo_n "(cached) " >&6
3524 else
3525 if test -n "$CC"; then
3526 ac_cv_prog_CC="$CC" # Let the user override the test.
3527 else
3528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3529 for as_dir in $PATH
3530 do
3531 IFS=$as_save_IFS
3532 test -z "$as_dir" && as_dir=.
3533 for ac_exec_ext in '' $ac_executable_extensions; do
3534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3535 ac_cv_prog_CC="${ac_tool_prefix}cc"
3536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3537 break 2
3538 fi
3539 done
3540 done
3541 IFS=$as_save_IFS
3542
3543 fi
3544 fi
3545 CC=$ac_cv_prog_CC
3546 if test -n "$CC"; then
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3548 $as_echo "$CC" >&6; }
3549 else
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3551 $as_echo "no" >&6; }
3552 fi
3553
3554
3555 fi
3556 fi
3557 if test -z "$CC"; then
3558 # Extract the first word of "cc", so it can be a program name with args.
3559 set dummy cc; ac_word=$2
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3561 $as_echo_n "checking for $ac_word... " >&6; }
3562 if test "${ac_cv_prog_CC+set}" = set; then :
3563 $as_echo_n "(cached) " >&6
3564 else
3565 if test -n "$CC"; then
3566 ac_cv_prog_CC="$CC" # Let the user override the test.
3567 else
3568 ac_prog_rejected=no
3569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3570 for as_dir in $PATH
3571 do
3572 IFS=$as_save_IFS
3573 test -z "$as_dir" && as_dir=.
3574 for ac_exec_ext in '' $ac_executable_extensions; do
3575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3576 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3577 ac_prog_rejected=yes
3578 continue
3579 fi
3580 ac_cv_prog_CC="cc"
3581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3582 break 2
3583 fi
3584 done
3585 done
3586 IFS=$as_save_IFS
3587
3588 if test $ac_prog_rejected = yes; then
3589 # We found a bogon in the path, so make sure we never use it.
3590 set dummy $ac_cv_prog_CC
3591 shift
3592 if test $# != 0; then
3593 # We chose a different compiler from the bogus one.
3594 # However, it has the same basename, so the bogon will be chosen
3595 # first if we set CC to just the basename; use the full file name.
3596 shift
3597 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3598 fi
3599 fi
3600 fi
3601 fi
3602 CC=$ac_cv_prog_CC
3603 if test -n "$CC"; then
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3605 $as_echo "$CC" >&6; }
3606 else
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3608 $as_echo "no" >&6; }
3609 fi
3610
3611
3612 fi
3613 if test -z "$CC"; then
3614 if test -n "$ac_tool_prefix"; then
3615 for ac_prog in cl.exe
3616 do
3617 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3618 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3620 $as_echo_n "checking for $ac_word... " >&6; }
3621 if test "${ac_cv_prog_CC+set}" = set; then :
3622 $as_echo_n "(cached) " >&6
3623 else
3624 if test -n "$CC"; then
3625 ac_cv_prog_CC="$CC" # Let the user override the test.
3626 else
3627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3628 for as_dir in $PATH
3629 do
3630 IFS=$as_save_IFS
3631 test -z "$as_dir" && as_dir=.
3632 for ac_exec_ext in '' $ac_executable_extensions; do
3633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3634 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3636 break 2
3637 fi
3638 done
3639 done
3640 IFS=$as_save_IFS
3641
3642 fi
3643 fi
3644 CC=$ac_cv_prog_CC
3645 if test -n "$CC"; then
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3647 $as_echo "$CC" >&6; }
3648 else
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3650 $as_echo "no" >&6; }
3651 fi
3652
3653
3654 test -n "$CC" && break
3655 done
3656 fi
3657 if test -z "$CC"; then
3658 ac_ct_CC=$CC
3659 for ac_prog in cl.exe
3660 do
3661 # Extract the first word of "$ac_prog", so it can be a program name with args.
3662 set dummy $ac_prog; ac_word=$2
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3664 $as_echo_n "checking for $ac_word... " >&6; }
3665 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3666 $as_echo_n "(cached) " >&6
3667 else
3668 if test -n "$ac_ct_CC"; then
3669 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3670 else
3671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3672 for as_dir in $PATH
3673 do
3674 IFS=$as_save_IFS
3675 test -z "$as_dir" && as_dir=.
3676 for ac_exec_ext in '' $ac_executable_extensions; do
3677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3678 ac_cv_prog_ac_ct_CC="$ac_prog"
3679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3680 break 2
3681 fi
3682 done
3683 done
3684 IFS=$as_save_IFS
3685
3686 fi
3687 fi
3688 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3689 if test -n "$ac_ct_CC"; then
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3691 $as_echo "$ac_ct_CC" >&6; }
3692 else
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3694 $as_echo "no" >&6; }
3695 fi
3696
3697
3698 test -n "$ac_ct_CC" && break
3699 done
3700
3701 if test "x$ac_ct_CC" = x; then
3702 CC=""
3703 else
3704 case $cross_compiling:$ac_tool_warned in
3705 yes:)
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3708 ac_tool_warned=yes ;;
3709 esac
3710 CC=$ac_ct_CC
3711 fi
3712 fi
3713
3714 fi
3715
3716
3717 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3719 as_fn_error "no acceptable C compiler found in \$PATH
3720 See \`config.log' for more details." "$LINENO" 5; }
3721
3722 # Provide some information about the compiler.
3723 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3724 set X $ac_compile
3725 ac_compiler=$2
3726 for ac_option in --version -v -V -qversion; do
3727 { { ac_try="$ac_compiler $ac_option >&5"
3728 case "(($ac_try" in
3729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3730 *) ac_try_echo=$ac_try;;
3731 esac
3732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3733 $as_echo "$ac_try_echo"; } >&5
3734 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3735 ac_status=$?
3736 if test -s conftest.err; then
3737 sed '10a\
3738 ... rest of stderr output deleted ...
3739 10q' conftest.err >conftest.er1
3740 cat conftest.er1 >&5
3741 rm -f conftest.er1 conftest.err
3742 fi
3743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3744 test $ac_status = 0; }
3745 done
3746
3747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3748 /* end confdefs.h. */
3749
3750 int
3751 main ()
3752 {
3753
3754 ;
3755 return 0;
3756 }
3757 _ACEOF
3758 # FIXME: Cleanup?
3759 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3760 (eval $ac_link) 2>&5
3761 ac_status=$?
3762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3763 test $ac_status = 0; }; then :
3764 gcc_no_link=no
3765 else
3766 gcc_no_link=yes
3767 fi
3768 if test x$gcc_no_link = xyes; then
3769 # Setting cross_compile will disable run tests; it will
3770 # also disable AC_CHECK_FILE but that's generally
3771 # correct if we can't link.
3772 cross_compiling=yes
3773 EXEEXT=
3774 else
3775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3776 /* end confdefs.h. */
3777
3778 int
3779 main ()
3780 {
3781
3782 ;
3783 return 0;
3784 }
3785 _ACEOF
3786 ac_clean_files_save=$ac_clean_files
3787 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3788 # Try to create an executable without -o first, disregard a.out.
3789 # It will help us diagnose broken compilers, and finding out an intuition
3790 # of exeext.
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3792 $as_echo_n "checking for C compiler default output file name... " >&6; }
3793 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3794
3795 # The possible output files:
3796 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3797
3798 ac_rmfiles=
3799 for ac_file in $ac_files
3800 do
3801 case $ac_file in
3802 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3803 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3804 esac
3805 done
3806 rm -f $ac_rmfiles
3807
3808 if { { ac_try="$ac_link_default"
3809 case "(($ac_try" in
3810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3811 *) ac_try_echo=$ac_try;;
3812 esac
3813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3814 $as_echo "$ac_try_echo"; } >&5
3815 (eval "$ac_link_default") 2>&5
3816 ac_status=$?
3817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3818 test $ac_status = 0; }; then :
3819 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3820 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3821 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3822 # so that the user can short-circuit this test for compilers unknown to
3823 # Autoconf.
3824 for ac_file in $ac_files ''
3825 do
3826 test -f "$ac_file" || continue
3827 case $ac_file in
3828 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3829 ;;
3830 [ab].out )
3831 # We found the default executable, but exeext='' is most
3832 # certainly right.
3833 break;;
3834 *.* )
3835 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3836 then :; else
3837 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3838 fi
3839 # We set ac_cv_exeext here because the later test for it is not
3840 # safe: cross compilers may not add the suffix if given an `-o'
3841 # argument, so we may need to know it at that point already.
3842 # Even if this section looks crufty: it has the advantage of
3843 # actually working.
3844 break;;
3845 * )
3846 break;;
3847 esac
3848 done
3849 test "$ac_cv_exeext" = no && ac_cv_exeext=
3850
3851 else
3852 ac_file=''
3853 fi
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3855 $as_echo "$ac_file" >&6; }
3856 if test -z "$ac_file"; then :
3857 $as_echo "$as_me: failed program was:" >&5
3858 sed 's/^/| /' conftest.$ac_ext >&5
3859
3860 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3861 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3862 { as_fn_set_status 77
3863 as_fn_error "C compiler cannot create executables
3864 See \`config.log' for more details." "$LINENO" 5; }; }
3865 fi
3866 ac_exeext=$ac_cv_exeext
3867
3868 # Check that the compiler produces executables we can run. If not, either
3869 # the compiler is broken, or we cross compile.
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3871 $as_echo_n "checking whether the C compiler works... " >&6; }
3872 # If not cross compiling, check that we can run a simple program.
3873 if test "$cross_compiling" != yes; then
3874 if { ac_try='./$ac_file'
3875 { { case "(($ac_try" in
3876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3877 *) ac_try_echo=$ac_try;;
3878 esac
3879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3880 $as_echo "$ac_try_echo"; } >&5
3881 (eval "$ac_try") 2>&5
3882 ac_status=$?
3883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3884 test $ac_status = 0; }; }; then
3885 cross_compiling=no
3886 else
3887 if test "$cross_compiling" = maybe; then
3888 cross_compiling=yes
3889 else
3890 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3892 as_fn_error "cannot run C compiled programs.
3893 If you meant to cross compile, use \`--host'.
3894 See \`config.log' for more details." "$LINENO" 5; }
3895 fi
3896 fi
3897 fi
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3899 $as_echo "yes" >&6; }
3900
3901 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3902 ac_clean_files=$ac_clean_files_save
3903 # Check that the compiler produces executables we can run. If not, either
3904 # the compiler is broken, or we cross compile.
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3906 $as_echo_n "checking whether we are cross compiling... " >&6; }
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3908 $as_echo "$cross_compiling" >&6; }
3909
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3911 $as_echo_n "checking for suffix of executables... " >&6; }
3912 if { { ac_try="$ac_link"
3913 case "(($ac_try" in
3914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3915 *) ac_try_echo=$ac_try;;
3916 esac
3917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3918 $as_echo "$ac_try_echo"; } >&5
3919 (eval "$ac_link") 2>&5
3920 ac_status=$?
3921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3922 test $ac_status = 0; }; then :
3923 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3924 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3925 # work properly (i.e., refer to `conftest.exe'), while it won't with
3926 # `rm'.
3927 for ac_file in conftest.exe conftest conftest.*; do
3928 test -f "$ac_file" || continue
3929 case $ac_file in
3930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3931 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3932 break;;
3933 * ) break;;
3934 esac
3935 done
3936 else
3937 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3939 as_fn_error "cannot compute suffix of executables: cannot compile and link
3940 See \`config.log' for more details." "$LINENO" 5; }
3941 fi
3942 rm -f conftest$ac_cv_exeext
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3944 $as_echo "$ac_cv_exeext" >&6; }
3945
3946 rm -f conftest.$ac_ext
3947 EXEEXT=$ac_cv_exeext
3948 ac_exeext=$EXEEXT
3949 fi
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3951 $as_echo_n "checking for suffix of object files... " >&6; }
3952 if test "${ac_cv_objext+set}" = set; then :
3953 $as_echo_n "(cached) " >&6
3954 else
3955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956 /* end confdefs.h. */
3957
3958 int
3959 main ()
3960 {
3961
3962 ;
3963 return 0;
3964 }
3965 _ACEOF
3966 rm -f conftest.o conftest.obj
3967 if { { ac_try="$ac_compile"
3968 case "(($ac_try" in
3969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3970 *) ac_try_echo=$ac_try;;
3971 esac
3972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3973 $as_echo "$ac_try_echo"; } >&5
3974 (eval "$ac_compile") 2>&5
3975 ac_status=$?
3976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3977 test $ac_status = 0; }; then :
3978 for ac_file in conftest.o conftest.obj conftest.*; do
3979 test -f "$ac_file" || continue;
3980 case $ac_file in
3981 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3982 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3983 break;;
3984 esac
3985 done
3986 else
3987 $as_echo "$as_me: failed program was:" >&5
3988 sed 's/^/| /' conftest.$ac_ext >&5
3989
3990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3992 as_fn_error "cannot compute suffix of object files: cannot compile
3993 See \`config.log' for more details." "$LINENO" 5; }
3994 fi
3995 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3996 fi
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3998 $as_echo "$ac_cv_objext" >&6; }
3999 OBJEXT=$ac_cv_objext
4000 ac_objext=$OBJEXT
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4002 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4003 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4004 $as_echo_n "(cached) " >&6
4005 else
4006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4007 /* end confdefs.h. */
4008
4009 int
4010 main ()
4011 {
4012 #ifndef __GNUC__
4013 choke me
4014 #endif
4015
4016 ;
4017 return 0;
4018 }
4019 _ACEOF
4020 if ac_fn_c_try_compile "$LINENO"; then :
4021 ac_compiler_gnu=yes
4022 else
4023 ac_compiler_gnu=no
4024 fi
4025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4026 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4027
4028 fi
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4030 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4031 if test $ac_compiler_gnu = yes; then
4032 GCC=yes
4033 else
4034 GCC=
4035 fi
4036 ac_test_CFLAGS=${CFLAGS+set}
4037 ac_save_CFLAGS=$CFLAGS
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4039 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4040 if test "${ac_cv_prog_cc_g+set}" = set; then :
4041 $as_echo_n "(cached) " >&6
4042 else
4043 ac_save_c_werror_flag=$ac_c_werror_flag
4044 ac_c_werror_flag=yes
4045 ac_cv_prog_cc_g=no
4046 CFLAGS="-g"
4047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4048 /* end confdefs.h. */
4049
4050 int
4051 main ()
4052 {
4053
4054 ;
4055 return 0;
4056 }
4057 _ACEOF
4058 if ac_fn_c_try_compile "$LINENO"; then :
4059 ac_cv_prog_cc_g=yes
4060 else
4061 CFLAGS=""
4062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4063 /* end confdefs.h. */
4064
4065 int
4066 main ()
4067 {
4068
4069 ;
4070 return 0;
4071 }
4072 _ACEOF
4073 if ac_fn_c_try_compile "$LINENO"; then :
4074
4075 else
4076 ac_c_werror_flag=$ac_save_c_werror_flag
4077 CFLAGS="-g"
4078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h. */
4080
4081 int
4082 main ()
4083 {
4084
4085 ;
4086 return 0;
4087 }
4088 _ACEOF
4089 if ac_fn_c_try_compile "$LINENO"; then :
4090 ac_cv_prog_cc_g=yes
4091 fi
4092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4093 fi
4094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4095 fi
4096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4097 ac_c_werror_flag=$ac_save_c_werror_flag
4098 fi
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4100 $as_echo "$ac_cv_prog_cc_g" >&6; }
4101 if test "$ac_test_CFLAGS" = set; then
4102 CFLAGS=$ac_save_CFLAGS
4103 elif test $ac_cv_prog_cc_g = yes; then
4104 if test "$GCC" = yes; then
4105 CFLAGS="-g -O2"
4106 else
4107 CFLAGS="-g"
4108 fi
4109 else
4110 if test "$GCC" = yes; then
4111 CFLAGS="-O2"
4112 else
4113 CFLAGS=
4114 fi
4115 fi
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4117 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4118 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4119 $as_echo_n "(cached) " >&6
4120 else
4121 ac_cv_prog_cc_c89=no
4122 ac_save_CC=$CC
4123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4124 /* end confdefs.h. */
4125 #include <stdarg.h>
4126 #include <stdio.h>
4127 #include <sys/types.h>
4128 #include <sys/stat.h>
4129 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4130 struct buf { int x; };
4131 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4132 static char *e (p, i)
4133 char **p;
4134 int i;
4135 {
4136 return p[i];
4137 }
4138 static char *f (char * (*g) (char **, int), char **p, ...)
4139 {
4140 char *s;
4141 va_list v;
4142 va_start (v,p);
4143 s = g (p, va_arg (v,int));
4144 va_end (v);
4145 return s;
4146 }
4147
4148 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4149 function prototypes and stuff, but not '\xHH' hex character constants.
4150 These don't provoke an error unfortunately, instead are silently treated
4151 as 'x'. The following induces an error, until -std is added to get
4152 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4153 array size at least. It's necessary to write '\x00'==0 to get something
4154 that's true only with -std. */
4155 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4156
4157 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4158 inside strings and character constants. */
4159 #define FOO(x) 'x'
4160 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4161
4162 int test (int i, double x);
4163 struct s1 {int (*f) (int a);};
4164 struct s2 {int (*f) (double a);};
4165 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4166 int argc;
4167 char **argv;
4168 int
4169 main ()
4170 {
4171 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4172 ;
4173 return 0;
4174 }
4175 _ACEOF
4176 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4177 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4178 do
4179 CC="$ac_save_CC $ac_arg"
4180 if ac_fn_c_try_compile "$LINENO"; then :
4181 ac_cv_prog_cc_c89=$ac_arg
4182 fi
4183 rm -f core conftest.err conftest.$ac_objext
4184 test "x$ac_cv_prog_cc_c89" != "xno" && break
4185 done
4186 rm -f conftest.$ac_ext
4187 CC=$ac_save_CC
4188
4189 fi
4190 # AC_CACHE_VAL
4191 case "x$ac_cv_prog_cc_c89" in
4192 x)
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4194 $as_echo "none needed" >&6; } ;;
4195 xno)
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4197 $as_echo "unsupported" >&6; } ;;
4198 *)
4199 CC="$CC $ac_cv_prog_cc_c89"
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4201 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4202 esac
4203 if test "x$ac_cv_prog_cc_c89" != xno; then :
4204
4205 fi
4206
4207 ac_ext=c
4208 ac_cpp='$CPP $CPPFLAGS'
4209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4212 DEPDIR="${am__leading_dot}deps"
4213
4214 ac_config_commands="$ac_config_commands depfiles"
4215
4216
4217 am_make=${MAKE-make}
4218 cat > confinc << 'END'
4219 am__doit:
4220 @echo this is the am__doit target
4221 .PHONY: am__doit
4222 END
4223 # If we don't find an include directive, just comment out the code.
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4225 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4226 am__include="#"
4227 am__quote=
4228 _am_result=none
4229 # First try GNU make style include.
4230 echo "include confinc" > confmf
4231 # Ignore all kinds of additional output from `make'.
4232 case `$am_make -s -f confmf 2> /dev/null` in #(
4233 *the\ am__doit\ target*)
4234 am__include=include
4235 am__quote=
4236 _am_result=GNU
4237 ;;
4238 esac
4239 # Now try BSD make style include.
4240 if test "$am__include" = "#"; then
4241 echo '.include "confinc"' > confmf
4242 case `$am_make -s -f confmf 2> /dev/null` in #(
4243 *the\ am__doit\ target*)
4244 am__include=.include
4245 am__quote="\""
4246 _am_result=BSD
4247 ;;
4248 esac
4249 fi
4250
4251
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4253 $as_echo "$_am_result" >&6; }
4254 rm -f confinc confmf
4255
4256 # Check whether --enable-dependency-tracking was given.
4257 if test "${enable_dependency_tracking+set}" = set; then :
4258 enableval=$enable_dependency_tracking;
4259 fi
4260
4261 if test "x$enable_dependency_tracking" != xno; then
4262 am_depcomp="$ac_aux_dir/depcomp"
4263 AMDEPBACKSLASH='\'
4264 fi
4265 if test "x$enable_dependency_tracking" != xno; then
4266 AMDEP_TRUE=
4267 AMDEP_FALSE='#'
4268 else
4269 AMDEP_TRUE='#'
4270 AMDEP_FALSE=
4271 fi
4272
4273
4274
4275 depcc="$CC" am_compiler_list=
4276
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4278 $as_echo_n "checking dependency style of $depcc... " >&6; }
4279 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4280 $as_echo_n "(cached) " >&6
4281 else
4282 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4283 # We make a subdir and do the tests there. Otherwise we can end up
4284 # making bogus files that we don't know about and never remove. For
4285 # instance it was reported that on HP-UX the gcc test will end up
4286 # making a dummy file named `D' -- because `-MD' means `put the output
4287 # in D'.
4288 mkdir conftest.dir
4289 # Copy depcomp to subdir because otherwise we won't find it if we're
4290 # using a relative directory.
4291 cp "$am_depcomp" conftest.dir
4292 cd conftest.dir
4293 # We will build objects and dependencies in a subdirectory because
4294 # it helps to detect inapplicable dependency modes. For instance
4295 # both Tru64's cc and ICC support -MD to output dependencies as a
4296 # side effect of compilation, but ICC will put the dependencies in
4297 # the current directory while Tru64 will put them in the object
4298 # directory.
4299 mkdir sub
4300
4301 am_cv_CC_dependencies_compiler_type=none
4302 if test "$am_compiler_list" = ""; then
4303 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4304 fi
4305 am__universal=false
4306 case " $depcc " in #(
4307 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4308 esac
4309
4310 for depmode in $am_compiler_list; do
4311 # Setup a source with many dependencies, because some compilers
4312 # like to wrap large dependency lists on column 80 (with \), and
4313 # we should not choose a depcomp mode which is confused by this.
4314 #
4315 # We need to recreate these files for each test, as the compiler may
4316 # overwrite some of them when testing with obscure command lines.
4317 # This happens at least with the AIX C compiler.
4318 : > sub/conftest.c
4319 for i in 1 2 3 4 5 6; do
4320 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4321 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4322 # Solaris 8's {/usr,}/bin/sh.
4323 touch sub/conftst$i.h
4324 done
4325 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4326
4327 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4328 # mode. It turns out that the SunPro C++ compiler does not properly
4329 # handle `-M -o', and we need to detect this. Also, some Intel
4330 # versions had trouble with output in subdirs
4331 am__obj=sub/conftest.${OBJEXT-o}
4332 am__minus_obj="-o $am__obj"
4333 case $depmode in
4334 gcc)
4335 # This depmode causes a compiler race in universal mode.
4336 test "$am__universal" = false || continue
4337 ;;
4338 nosideeffect)
4339 # after this tag, mechanisms are not by side-effect, so they'll
4340 # only be used when explicitly requested
4341 if test "x$enable_dependency_tracking" = xyes; then
4342 continue
4343 else
4344 break
4345 fi
4346 ;;
4347 msvisualcpp | msvcmsys)
4348 # This compiler won't grok `-c -o', but also, the minuso test has
4349 # not run yet. These depmodes are late enough in the game, and
4350 # so weak that their functioning should not be impacted.
4351 am__obj=conftest.${OBJEXT-o}
4352 am__minus_obj=
4353 ;;
4354 none) break ;;
4355 esac
4356 if depmode=$depmode \
4357 source=sub/conftest.c object=$am__obj \
4358 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4359 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4360 >/dev/null 2>conftest.err &&
4361 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4362 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4363 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4364 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4365 # icc doesn't choke on unknown options, it will just issue warnings
4366 # or remarks (even with -Werror). So we grep stderr for any message
4367 # that says an option was ignored or not supported.
4368 # When given -MP, icc 7.0 and 7.1 complain thusly:
4369 # icc: Command line warning: ignoring option '-M'; no argument required
4370 # The diagnosis changed in icc 8.0:
4371 # icc: Command line remark: option '-MP' not supported
4372 if (grep 'ignoring option' conftest.err ||
4373 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4374 am_cv_CC_dependencies_compiler_type=$depmode
4375 break
4376 fi
4377 fi
4378 done
4379
4380 cd ..
4381 rm -rf conftest.dir
4382 else
4383 am_cv_CC_dependencies_compiler_type=none
4384 fi
4385
4386 fi
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4388 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4389 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4390
4391 if
4392 test "x$enable_dependency_tracking" != xno \
4393 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4394 am__fastdepCC_TRUE=
4395 am__fastdepCC_FALSE='#'
4396 else
4397 am__fastdepCC_TRUE='#'
4398 am__fastdepCC_FALSE=
4399 fi
4400
4401
4402
4403
4404 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
4405 if test "x$GCC" = "xyes"; then
4406 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
4407 ## We like to use C99 routines when available. This makes sure that
4408 ## __STDC_VERSION__ is set such that libc includes make them available.
4409 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
4410 ## Compile the following tests with the same system header contents
4411 ## that we'll encounter when compiling our own source files.
4412 CFLAGS="-std=gnu99 $CFLAGS"
4413 fi
4414
4415
4416
4417
4418 # Check for symbol versioning (copied from libssp).
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
4420 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
4421 save_LDFLAGS="$LDFLAGS"
4422 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
4423 cat > conftest.map <<EOF
4424 FOO_1.0 {
4425 global: *foo*; bar; local: *;
4426 };
4427 EOF
4428
4429 if test x$gcc_no_link = xyes; then
4430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4431 fi
4432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4433 /* end confdefs.h. */
4434 int foo;
4435 int
4436 main ()
4437 {
4438
4439 ;
4440 return 0;
4441 }
4442 _ACEOF
4443 if ac_fn_c_try_link "$LINENO"; then :
4444 gfortran_use_symver=gnu
4445 else
4446 gfortran_use_symver=no
4447 fi
4448 rm -f core conftest.err conftest.$ac_objext \
4449 conftest$ac_exeext conftest.$ac_ext
4450 if test x$gfortran_use_symver = xno; then
4451 case "$target_os" in
4452 solaris2*)
4453 LDFLAGS="$save_LDFLAGS"
4454 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
4455 # Sun ld cannot handle wildcards and treats all entries as undefined.
4456 cat > conftest.map <<EOF
4457 FOO_1.0 {
4458 global: foo; local: *;
4459 };
4460 EOF
4461 if test x$gcc_no_link = xyes; then
4462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4463 fi
4464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4465 /* end confdefs.h. */
4466 int foo;
4467 int
4468 main ()
4469 {
4470
4471 ;
4472 return 0;
4473 }
4474 _ACEOF
4475 if ac_fn_c_try_link "$LINENO"; then :
4476 gfortran_use_symver=sun
4477 else
4478 gfortran_use_symver=no
4479 fi
4480 rm -f core conftest.err conftest.$ac_objext \
4481 conftest$ac_exeext conftest.$ac_ext
4482 ;;
4483 esac
4484 fi
4485 LDFLAGS="$save_LDFLAGS"
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
4487 $as_echo "$gfortran_use_symver" >&6; }
4488 if test "x$gfortran_use_symver" != xno; then
4489 LIBGFOR_USE_SYMVER_TRUE=
4490 LIBGFOR_USE_SYMVER_FALSE='#'
4491 else
4492 LIBGFOR_USE_SYMVER_TRUE='#'
4493 LIBGFOR_USE_SYMVER_FALSE=
4494 fi
4495
4496 if test "x$gfortran_use_symver" = xgnu; then
4497 LIBGFOR_USE_SYMVER_GNU_TRUE=
4498 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
4499 else
4500 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
4501 LIBGFOR_USE_SYMVER_GNU_FALSE=
4502 fi
4503
4504 if test "x$gfortran_use_symver" = xsun; then
4505 LIBGFOR_USE_SYMVER_SUN_TRUE=
4506 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
4507 else
4508 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
4509 LIBGFOR_USE_SYMVER_SUN_FALSE=
4510 fi
4511
4512
4513 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
4514 # similarly to how libstdc++ does it
4515 ac_test_CFLAGS="${CFLAGS+set}"
4516 ac_save_CFLAGS="$CFLAGS"
4517
4518 # Check for -ffunction-sections -fdata-sections
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
4520 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
4521 CFLAGS='-Werror -ffunction-sections -fdata-sections'
4522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h. */
4524
4525 int
4526 main ()
4527 {
4528 int foo;
4529 ;
4530 return 0;
4531 }
4532 _ACEOF
4533 if ac_fn_c_try_compile "$LINENO"; then :
4534 ac_fdsections=yes
4535 else
4536 ac_fdsections=no
4537 fi
4538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4539 if test "$ac_test_CFLAGS" = set; then
4540 CFLAGS="$ac_save_CFLAGS"
4541 else
4542 # this is the suspicious part
4543 CFLAGS=""
4544 fi
4545 if test x"$ac_fdsections" = x"yes"; then
4546 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4547 fi
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
4549 $as_echo "$ac_fdsections" >&6; }
4550
4551
4552 # Find other programs we need.
4553 if test -n "$ac_tool_prefix"; then
4554 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4555 set dummy ${ac_tool_prefix}as; ac_word=$2
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4557 $as_echo_n "checking for $ac_word... " >&6; }
4558 if test "${ac_cv_prog_AS+set}" = set; then :
4559 $as_echo_n "(cached) " >&6
4560 else
4561 if test -n "$AS"; then
4562 ac_cv_prog_AS="$AS" # Let the user override the test.
4563 else
4564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4565 for as_dir in $PATH
4566 do
4567 IFS=$as_save_IFS
4568 test -z "$as_dir" && as_dir=.
4569 for ac_exec_ext in '' $ac_executable_extensions; do
4570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4571 ac_cv_prog_AS="${ac_tool_prefix}as"
4572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4573 break 2
4574 fi
4575 done
4576 done
4577 IFS=$as_save_IFS
4578
4579 fi
4580 fi
4581 AS=$ac_cv_prog_AS
4582 if test -n "$AS"; then
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4584 $as_echo "$AS" >&6; }
4585 else
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4587 $as_echo "no" >&6; }
4588 fi
4589
4590
4591 fi
4592 if test -z "$ac_cv_prog_AS"; then
4593 ac_ct_AS=$AS
4594 # Extract the first word of "as", so it can be a program name with args.
4595 set dummy as; ac_word=$2
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4597 $as_echo_n "checking for $ac_word... " >&6; }
4598 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4599 $as_echo_n "(cached) " >&6
4600 else
4601 if test -n "$ac_ct_AS"; then
4602 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4603 else
4604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4605 for as_dir in $PATH
4606 do
4607 IFS=$as_save_IFS
4608 test -z "$as_dir" && as_dir=.
4609 for ac_exec_ext in '' $ac_executable_extensions; do
4610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4611 ac_cv_prog_ac_ct_AS="as"
4612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4613 break 2
4614 fi
4615 done
4616 done
4617 IFS=$as_save_IFS
4618
4619 fi
4620 fi
4621 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4622 if test -n "$ac_ct_AS"; then
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4624 $as_echo "$ac_ct_AS" >&6; }
4625 else
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4627 $as_echo "no" >&6; }
4628 fi
4629
4630 if test "x$ac_ct_AS" = x; then
4631 AS=""
4632 else
4633 case $cross_compiling:$ac_tool_warned in
4634 yes:)
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4637 ac_tool_warned=yes ;;
4638 esac
4639 AS=$ac_ct_AS
4640 fi
4641 else
4642 AS="$ac_cv_prog_AS"
4643 fi
4644
4645 if test -n "$ac_tool_prefix"; then
4646 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4647 set dummy ${ac_tool_prefix}ar; ac_word=$2
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649 $as_echo_n "checking for $ac_word... " >&6; }
4650 if test "${ac_cv_prog_AR+set}" = set; then :
4651 $as_echo_n "(cached) " >&6
4652 else
4653 if test -n "$AR"; then
4654 ac_cv_prog_AR="$AR" # Let the user override the test.
4655 else
4656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4657 for as_dir in $PATH
4658 do
4659 IFS=$as_save_IFS
4660 test -z "$as_dir" && as_dir=.
4661 for ac_exec_ext in '' $ac_executable_extensions; do
4662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4663 ac_cv_prog_AR="${ac_tool_prefix}ar"
4664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 break 2
4666 fi
4667 done
4668 done
4669 IFS=$as_save_IFS
4670
4671 fi
4672 fi
4673 AR=$ac_cv_prog_AR
4674 if test -n "$AR"; then
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4676 $as_echo "$AR" >&6; }
4677 else
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679 $as_echo "no" >&6; }
4680 fi
4681
4682
4683 fi
4684 if test -z "$ac_cv_prog_AR"; then
4685 ac_ct_AR=$AR
4686 # Extract the first word of "ar", so it can be a program name with args.
4687 set dummy ar; ac_word=$2
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4689 $as_echo_n "checking for $ac_word... " >&6; }
4690 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4691 $as_echo_n "(cached) " >&6
4692 else
4693 if test -n "$ac_ct_AR"; then
4694 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4695 else
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4697 for as_dir in $PATH
4698 do
4699 IFS=$as_save_IFS
4700 test -z "$as_dir" && as_dir=.
4701 for ac_exec_ext in '' $ac_executable_extensions; do
4702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4703 ac_cv_prog_ac_ct_AR="ar"
4704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4705 break 2
4706 fi
4707 done
4708 done
4709 IFS=$as_save_IFS
4710
4711 fi
4712 fi
4713 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4714 if test -n "$ac_ct_AR"; then
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4716 $as_echo "$ac_ct_AR" >&6; }
4717 else
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719 $as_echo "no" >&6; }
4720 fi
4721
4722 if test "x$ac_ct_AR" = x; then
4723 AR=""
4724 else
4725 case $cross_compiling:$ac_tool_warned in
4726 yes:)
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4729 ac_tool_warned=yes ;;
4730 esac
4731 AR=$ac_ct_AR
4732 fi
4733 else
4734 AR="$ac_cv_prog_AR"
4735 fi
4736
4737 if test -n "$ac_tool_prefix"; then
4738 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4739 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4741 $as_echo_n "checking for $ac_word... " >&6; }
4742 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4743 $as_echo_n "(cached) " >&6
4744 else
4745 if test -n "$RANLIB"; then
4746 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4747 else
4748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4749 for as_dir in $PATH
4750 do
4751 IFS=$as_save_IFS
4752 test -z "$as_dir" && as_dir=.
4753 for ac_exec_ext in '' $ac_executable_extensions; do
4754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4755 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4757 break 2
4758 fi
4759 done
4760 done
4761 IFS=$as_save_IFS
4762
4763 fi
4764 fi
4765 RANLIB=$ac_cv_prog_RANLIB
4766 if test -n "$RANLIB"; then
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4768 $as_echo "$RANLIB" >&6; }
4769 else
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4771 $as_echo "no" >&6; }
4772 fi
4773
4774
4775 fi
4776 if test -z "$ac_cv_prog_RANLIB"; then
4777 ac_ct_RANLIB=$RANLIB
4778 # Extract the first word of "ranlib", so it can be a program name with args.
4779 set dummy ranlib; ac_word=$2
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4781 $as_echo_n "checking for $ac_word... " >&6; }
4782 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4783 $as_echo_n "(cached) " >&6
4784 else
4785 if test -n "$ac_ct_RANLIB"; then
4786 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4787 else
4788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4789 for as_dir in $PATH
4790 do
4791 IFS=$as_save_IFS
4792 test -z "$as_dir" && as_dir=.
4793 for ac_exec_ext in '' $ac_executable_extensions; do
4794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4795 ac_cv_prog_ac_ct_RANLIB="ranlib"
4796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4797 break 2
4798 fi
4799 done
4800 done
4801 IFS=$as_save_IFS
4802
4803 fi
4804 fi
4805 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4806 if test -n "$ac_ct_RANLIB"; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4808 $as_echo "$ac_ct_RANLIB" >&6; }
4809 else
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 $as_echo "no" >&6; }
4812 fi
4813
4814 if test "x$ac_ct_RANLIB" = x; then
4815 RANLIB="ranlib-not-found-in-path-error"
4816 else
4817 case $cross_compiling:$ac_tool_warned in
4818 yes:)
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4821 ac_tool_warned=yes ;;
4822 esac
4823 RANLIB=$ac_ct_RANLIB
4824 fi
4825 else
4826 RANLIB="$ac_cv_prog_RANLIB"
4827 fi
4828
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4830 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4831 set x ${MAKE-make}
4832 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4833 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4834 $as_echo_n "(cached) " >&6
4835 else
4836 cat >conftest.make <<\_ACEOF
4837 SHELL = /bin/sh
4838 all:
4839 @echo '@@@%%%=$(MAKE)=@@@%%%'
4840 _ACEOF
4841 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4842 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4843 *@@@%%%=?*=@@@%%%*)
4844 eval ac_cv_prog_make_${ac_make}_set=yes;;
4845 *)
4846 eval ac_cv_prog_make_${ac_make}_set=no;;
4847 esac
4848 rm -f conftest.make
4849 fi
4850 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4852 $as_echo "yes" >&6; }
4853 SET_MAKE=
4854 else
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4856 $as_echo "no" >&6; }
4857 SET_MAKE="MAKE=${MAKE-make}"
4858 fi
4859
4860
4861
4862 # Configure libtool
4863 #AC_MSG_NOTICE([====== Starting libtool configuration])
4864 enable_dlopen=yes
4865
4866
4867
4868 case `pwd` in
4869 *\ * | *\ *)
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4871 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4872 esac
4873
4874
4875
4876 macro_version='2.2.7a'
4877 macro_revision='1.3134'
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891 ltmain="$ac_aux_dir/ltmain.sh"
4892
4893 # Backslashify metacharacters that are still active within
4894 # double-quoted strings.
4895 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4896
4897 # Same as above, but do not quote variable references.
4898 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4899
4900 # Sed substitution to delay expansion of an escaped shell variable in a
4901 # double_quote_subst'ed string.
4902 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4903
4904 # Sed substitution to delay expansion of an escaped single quote.
4905 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4906
4907 # Sed substitution to avoid accidental globbing in evaled expressions
4908 no_glob_subst='s/\*/\\\*/g'
4909
4910 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4911 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4912 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4913
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4915 $as_echo_n "checking how to print strings... " >&6; }
4916 # Test print first, because it will be a builtin if present.
4917 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4918 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4919 ECHO='print -r --'
4920 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4921 ECHO='printf %s\n'
4922 else
4923 # Use this function as a fallback that always works.
4924 func_fallback_echo ()
4925 {
4926 eval 'cat <<_LTECHO_EOF
4927 $1
4928 _LTECHO_EOF'
4929 }
4930 ECHO='func_fallback_echo'
4931 fi
4932
4933 # func_echo_all arg...
4934 # Invoke $ECHO with all args, space-separated.
4935 func_echo_all ()
4936 {
4937 $ECHO ""
4938 }
4939
4940 case "$ECHO" in
4941 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4942 $as_echo "printf" >&6; } ;;
4943 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4944 $as_echo "print -r" >&6; } ;;
4945 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4946 $as_echo "cat" >&6; } ;;
4947 esac
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4963 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4964 if test "${ac_cv_path_SED+set}" = set; then :
4965 $as_echo_n "(cached) " >&6
4966 else
4967 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4968 for ac_i in 1 2 3 4 5 6 7; do
4969 ac_script="$ac_script$as_nl$ac_script"
4970 done
4971 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4972 { ac_script=; unset ac_script;}
4973 if test -z "$SED"; then
4974 ac_path_SED_found=false
4975 # Loop through the user's path and test for each of PROGNAME-LIST
4976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4977 for as_dir in $PATH
4978 do
4979 IFS=$as_save_IFS
4980 test -z "$as_dir" && as_dir=.
4981 for ac_prog in sed gsed; do
4982 for ac_exec_ext in '' $ac_executable_extensions; do
4983 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4984 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4985 # Check for GNU ac_path_SED and select it if it is found.
4986 # Check for GNU $ac_path_SED
4987 case `"$ac_path_SED" --version 2>&1` in
4988 *GNU*)
4989 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4990 *)
4991 ac_count=0
4992 $as_echo_n 0123456789 >"conftest.in"
4993 while :
4994 do
4995 cat "conftest.in" "conftest.in" >"conftest.tmp"
4996 mv "conftest.tmp" "conftest.in"
4997 cp "conftest.in" "conftest.nl"
4998 $as_echo '' >> "conftest.nl"
4999 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5000 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5001 as_fn_arith $ac_count + 1 && ac_count=$as_val
5002 if test $ac_count -gt ${ac_path_SED_max-0}; then
5003 # Best one so far, save it but keep looking for a better one
5004 ac_cv_path_SED="$ac_path_SED"
5005 ac_path_SED_max=$ac_count
5006 fi
5007 # 10*(2^10) chars as input seems more than enough
5008 test $ac_count -gt 10 && break
5009 done
5010 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5011 esac
5012
5013 $ac_path_SED_found && break 3
5014 done
5015 done
5016 done
5017 IFS=$as_save_IFS
5018 if test -z "$ac_cv_path_SED"; then
5019 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5020 fi
5021 else
5022 ac_cv_path_SED=$SED
5023 fi
5024
5025 fi
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5027 $as_echo "$ac_cv_path_SED" >&6; }
5028 SED="$ac_cv_path_SED"
5029 rm -f conftest.sed
5030
5031 test -z "$SED" && SED=sed
5032 Xsed="$SED -e 1s/^X//"
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5045 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5046 if test "${ac_cv_path_GREP+set}" = set; then :
5047 $as_echo_n "(cached) " >&6
5048 else
5049 if test -z "$GREP"; then
5050 ac_path_GREP_found=false
5051 # Loop through the user's path and test for each of PROGNAME-LIST
5052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5053 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5054 do
5055 IFS=$as_save_IFS
5056 test -z "$as_dir" && as_dir=.
5057 for ac_prog in grep ggrep; do
5058 for ac_exec_ext in '' $ac_executable_extensions; do
5059 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5060 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5061 # Check for GNU ac_path_GREP and select it if it is found.
5062 # Check for GNU $ac_path_GREP
5063 case `"$ac_path_GREP" --version 2>&1` in
5064 *GNU*)
5065 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5066 *)
5067 ac_count=0
5068 $as_echo_n 0123456789 >"conftest.in"
5069 while :
5070 do
5071 cat "conftest.in" "conftest.in" >"conftest.tmp"
5072 mv "conftest.tmp" "conftest.in"
5073 cp "conftest.in" "conftest.nl"
5074 $as_echo 'GREP' >> "conftest.nl"
5075 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5076 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5077 as_fn_arith $ac_count + 1 && ac_count=$as_val
5078 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5079 # Best one so far, save it but keep looking for a better one
5080 ac_cv_path_GREP="$ac_path_GREP"
5081 ac_path_GREP_max=$ac_count
5082 fi
5083 # 10*(2^10) chars as input seems more than enough
5084 test $ac_count -gt 10 && break
5085 done
5086 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5087 esac
5088
5089 $ac_path_GREP_found && break 3
5090 done
5091 done
5092 done
5093 IFS=$as_save_IFS
5094 if test -z "$ac_cv_path_GREP"; then
5095 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5096 fi
5097 else
5098 ac_cv_path_GREP=$GREP
5099 fi
5100
5101 fi
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5103 $as_echo "$ac_cv_path_GREP" >&6; }
5104 GREP="$ac_cv_path_GREP"
5105
5106
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5108 $as_echo_n "checking for egrep... " >&6; }
5109 if test "${ac_cv_path_EGREP+set}" = set; then :
5110 $as_echo_n "(cached) " >&6
5111 else
5112 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5113 then ac_cv_path_EGREP="$GREP -E"
5114 else
5115 if test -z "$EGREP"; then
5116 ac_path_EGREP_found=false
5117 # Loop through the user's path and test for each of PROGNAME-LIST
5118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5120 do
5121 IFS=$as_save_IFS
5122 test -z "$as_dir" && as_dir=.
5123 for ac_prog in egrep; do
5124 for ac_exec_ext in '' $ac_executable_extensions; do
5125 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5126 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5127 # Check for GNU ac_path_EGREP and select it if it is found.
5128 # Check for GNU $ac_path_EGREP
5129 case `"$ac_path_EGREP" --version 2>&1` in
5130 *GNU*)
5131 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5132 *)
5133 ac_count=0
5134 $as_echo_n 0123456789 >"conftest.in"
5135 while :
5136 do
5137 cat "conftest.in" "conftest.in" >"conftest.tmp"
5138 mv "conftest.tmp" "conftest.in"
5139 cp "conftest.in" "conftest.nl"
5140 $as_echo 'EGREP' >> "conftest.nl"
5141 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5142 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5143 as_fn_arith $ac_count + 1 && ac_count=$as_val
5144 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5145 # Best one so far, save it but keep looking for a better one
5146 ac_cv_path_EGREP="$ac_path_EGREP"
5147 ac_path_EGREP_max=$ac_count
5148 fi
5149 # 10*(2^10) chars as input seems more than enough
5150 test $ac_count -gt 10 && break
5151 done
5152 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5153 esac
5154
5155 $ac_path_EGREP_found && break 3
5156 done
5157 done
5158 done
5159 IFS=$as_save_IFS
5160 if test -z "$ac_cv_path_EGREP"; then
5161 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5162 fi
5163 else
5164 ac_cv_path_EGREP=$EGREP
5165 fi
5166
5167 fi
5168 fi
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5170 $as_echo "$ac_cv_path_EGREP" >&6; }
5171 EGREP="$ac_cv_path_EGREP"
5172
5173
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5175 $as_echo_n "checking for fgrep... " >&6; }
5176 if test "${ac_cv_path_FGREP+set}" = set; then :
5177 $as_echo_n "(cached) " >&6
5178 else
5179 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5180 then ac_cv_path_FGREP="$GREP -F"
5181 else
5182 if test -z "$FGREP"; then
5183 ac_path_FGREP_found=false
5184 # Loop through the user's path and test for each of PROGNAME-LIST
5185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5186 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5187 do
5188 IFS=$as_save_IFS
5189 test -z "$as_dir" && as_dir=.
5190 for ac_prog in fgrep; do
5191 for ac_exec_ext in '' $ac_executable_extensions; do
5192 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5193 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5194 # Check for GNU ac_path_FGREP and select it if it is found.
5195 # Check for GNU $ac_path_FGREP
5196 case `"$ac_path_FGREP" --version 2>&1` in
5197 *GNU*)
5198 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5199 *)
5200 ac_count=0
5201 $as_echo_n 0123456789 >"conftest.in"
5202 while :
5203 do
5204 cat "conftest.in" "conftest.in" >"conftest.tmp"
5205 mv "conftest.tmp" "conftest.in"
5206 cp "conftest.in" "conftest.nl"
5207 $as_echo 'FGREP' >> "conftest.nl"
5208 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5209 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5210 as_fn_arith $ac_count + 1 && ac_count=$as_val
5211 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5212 # Best one so far, save it but keep looking for a better one
5213 ac_cv_path_FGREP="$ac_path_FGREP"
5214 ac_path_FGREP_max=$ac_count
5215 fi
5216 # 10*(2^10) chars as input seems more than enough
5217 test $ac_count -gt 10 && break
5218 done
5219 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5220 esac
5221
5222 $ac_path_FGREP_found && break 3
5223 done
5224 done
5225 done
5226 IFS=$as_save_IFS
5227 if test -z "$ac_cv_path_FGREP"; then
5228 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5229 fi
5230 else
5231 ac_cv_path_FGREP=$FGREP
5232 fi
5233
5234 fi
5235 fi
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5237 $as_echo "$ac_cv_path_FGREP" >&6; }
5238 FGREP="$ac_cv_path_FGREP"
5239
5240
5241 test -z "$GREP" && GREP=grep
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261 # Check whether --with-gnu-ld was given.
5262 if test "${with_gnu_ld+set}" = set; then :
5263 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5264 else
5265 with_gnu_ld=no
5266 fi
5267
5268 ac_prog=ld
5269 if test "$GCC" = yes; then
5270 # Check if gcc -print-prog-name=ld gives a path.
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5272 $as_echo_n "checking for ld used by $CC... " >&6; }
5273 case $host in
5274 *-*-mingw*)
5275 # gcc leaves a trailing carriage return which upsets mingw
5276 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5277 *)
5278 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5279 esac
5280 case $ac_prog in
5281 # Accept absolute paths.
5282 [\\/]* | ?:[\\/]*)
5283 re_direlt='/[^/][^/]*/\.\./'
5284 # Canonicalize the pathname of ld
5285 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5286 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5287 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5288 done
5289 test -z "$LD" && LD="$ac_prog"
5290 ;;
5291 "")
5292 # If it fails, then pretend we aren't using GCC.
5293 ac_prog=ld
5294 ;;
5295 *)
5296 # If it is relative, then search for the first ld in PATH.
5297 with_gnu_ld=unknown
5298 ;;
5299 esac
5300 elif test "$with_gnu_ld" = yes; then
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5302 $as_echo_n "checking for GNU ld... " >&6; }
5303 else
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5305 $as_echo_n "checking for non-GNU ld... " >&6; }
5306 fi
5307 if test "${lt_cv_path_LD+set}" = set; then :
5308 $as_echo_n "(cached) " >&6
5309 else
5310 if test -z "$LD"; then
5311 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5312 for ac_dir in $PATH; do
5313 IFS="$lt_save_ifs"
5314 test -z "$ac_dir" && ac_dir=.
5315 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5316 lt_cv_path_LD="$ac_dir/$ac_prog"
5317 # Check to see if the program is GNU ld. I'd rather use --version,
5318 # but apparently some variants of GNU ld only accept -v.
5319 # Break only if it was the GNU/non-GNU ld that we prefer.
5320 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5321 *GNU* | *'with BFD'*)
5322 test "$with_gnu_ld" != no && break
5323 ;;
5324 *)
5325 test "$with_gnu_ld" != yes && break
5326 ;;
5327 esac
5328 fi
5329 done
5330 IFS="$lt_save_ifs"
5331 else
5332 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5333 fi
5334 fi
5335
5336 LD="$lt_cv_path_LD"
5337 if test -n "$LD"; then
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5339 $as_echo "$LD" >&6; }
5340 else
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5342 $as_echo "no" >&6; }
5343 fi
5344 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5346 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5347 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5348 $as_echo_n "(cached) " >&6
5349 else
5350 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5351 case `$LD -v 2>&1 </dev/null` in
5352 *GNU* | *'with BFD'*)
5353 lt_cv_prog_gnu_ld=yes
5354 ;;
5355 *)
5356 lt_cv_prog_gnu_ld=no
5357 ;;
5358 esac
5359 fi
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5361 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5362 with_gnu_ld=$lt_cv_prog_gnu_ld
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5373 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5374 if test "${lt_cv_path_NM+set}" = set; then :
5375 $as_echo_n "(cached) " >&6
5376 else
5377 if test -n "$NM"; then
5378 # Let the user override the test.
5379 lt_cv_path_NM="$NM"
5380 else
5381 lt_nm_to_check="${ac_tool_prefix}nm"
5382 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5383 lt_nm_to_check="$lt_nm_to_check nm"
5384 fi
5385 for lt_tmp_nm in $lt_nm_to_check; do
5386 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5387 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5388 IFS="$lt_save_ifs"
5389 test -z "$ac_dir" && ac_dir=.
5390 tmp_nm="$ac_dir/$lt_tmp_nm"
5391 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5392 # Check to see if the nm accepts a BSD-compat flag.
5393 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5394 # nm: unknown option "B" ignored
5395 # Tru64's nm complains that /dev/null is an invalid object file
5396 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5397 */dev/null* | *'Invalid file or object type'*)
5398 lt_cv_path_NM="$tmp_nm -B"
5399 break
5400 ;;
5401 *)
5402 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5403 */dev/null*)
5404 lt_cv_path_NM="$tmp_nm -p"
5405 break
5406 ;;
5407 *)
5408 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5409 continue # so that we can try to find one that supports BSD flags
5410 ;;
5411 esac
5412 ;;
5413 esac
5414 fi
5415 done
5416 IFS="$lt_save_ifs"
5417 done
5418 : ${lt_cv_path_NM=no}
5419 fi
5420 fi
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5422 $as_echo "$lt_cv_path_NM" >&6; }
5423 if test "$lt_cv_path_NM" != "no"; then
5424 NM="$lt_cv_path_NM"
5425 else
5426 # Didn't find any BSD compatible name lister, look for dumpbin.
5427 if test -n "$DUMPBIN"; then :
5428 # Let the user override the test.
5429 else
5430 if test -n "$ac_tool_prefix"; then
5431 for ac_prog in dumpbin "link -dump"
5432 do
5433 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5434 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436 $as_echo_n "checking for $ac_word... " >&6; }
5437 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5438 $as_echo_n "(cached) " >&6
5439 else
5440 if test -n "$DUMPBIN"; then
5441 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5442 else
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444 for as_dir in $PATH
5445 do
5446 IFS=$as_save_IFS
5447 test -z "$as_dir" && as_dir=.
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5450 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 break 2
5453 fi
5454 done
5455 done
5456 IFS=$as_save_IFS
5457
5458 fi
5459 fi
5460 DUMPBIN=$ac_cv_prog_DUMPBIN
5461 if test -n "$DUMPBIN"; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5463 $as_echo "$DUMPBIN" >&6; }
5464 else
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5466 $as_echo "no" >&6; }
5467 fi
5468
5469
5470 test -n "$DUMPBIN" && break
5471 done
5472 fi
5473 if test -z "$DUMPBIN"; then
5474 ac_ct_DUMPBIN=$DUMPBIN
5475 for ac_prog in dumpbin "link -dump"
5476 do
5477 # Extract the first word of "$ac_prog", so it can be a program name with args.
5478 set dummy $ac_prog; ac_word=$2
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5480 $as_echo_n "checking for $ac_word... " >&6; }
5481 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5482 $as_echo_n "(cached) " >&6
5483 else
5484 if test -n "$ac_ct_DUMPBIN"; then
5485 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5486 else
5487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5488 for as_dir in $PATH
5489 do
5490 IFS=$as_save_IFS
5491 test -z "$as_dir" && as_dir=.
5492 for ac_exec_ext in '' $ac_executable_extensions; do
5493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5494 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 break 2
5497 fi
5498 done
5499 done
5500 IFS=$as_save_IFS
5501
5502 fi
5503 fi
5504 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5505 if test -n "$ac_ct_DUMPBIN"; then
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5507 $as_echo "$ac_ct_DUMPBIN" >&6; }
5508 else
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5510 $as_echo "no" >&6; }
5511 fi
5512
5513
5514 test -n "$ac_ct_DUMPBIN" && break
5515 done
5516
5517 if test "x$ac_ct_DUMPBIN" = x; then
5518 DUMPBIN=":"
5519 else
5520 case $cross_compiling:$ac_tool_warned in
5521 yes:)
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5524 ac_tool_warned=yes ;;
5525 esac
5526 DUMPBIN=$ac_ct_DUMPBIN
5527 fi
5528 fi
5529
5530 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5531 *COFF*)
5532 DUMPBIN="$DUMPBIN -symbols"
5533 ;;
5534 *)
5535 DUMPBIN=:
5536 ;;
5537 esac
5538 fi
5539
5540 if test "$DUMPBIN" != ":"; then
5541 NM="$DUMPBIN"
5542 fi
5543 fi
5544 test -z "$NM" && NM=nm
5545
5546
5547
5548
5549
5550
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5552 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5553 if test "${lt_cv_nm_interface+set}" = set; then :
5554 $as_echo_n "(cached) " >&6
5555 else
5556 lt_cv_nm_interface="BSD nm"
5557 echo "int some_variable = 0;" > conftest.$ac_ext
5558 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5559 (eval "$ac_compile" 2>conftest.err)
5560 cat conftest.err >&5
5561 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5562 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5563 cat conftest.err >&5
5564 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5565 cat conftest.out >&5
5566 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5567 lt_cv_nm_interface="MS dumpbin"
5568 fi
5569 rm -f conftest*
5570 fi
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5572 $as_echo "$lt_cv_nm_interface" >&6; }
5573
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5575 $as_echo_n "checking whether ln -s works... " >&6; }
5576 LN_S=$as_ln_s
5577 if test "$LN_S" = "ln -s"; then
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5579 $as_echo "yes" >&6; }
5580 else
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5582 $as_echo "no, using $LN_S" >&6; }
5583 fi
5584
5585 # find the maximum length of command line arguments
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5587 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5588 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5589 $as_echo_n "(cached) " >&6
5590 else
5591 i=0
5592 teststring="ABCD"
5593
5594 case $build_os in
5595 msdosdjgpp*)
5596 # On DJGPP, this test can blow up pretty badly due to problems in libc
5597 # (any single argument exceeding 2000 bytes causes a buffer overrun
5598 # during glob expansion). Even if it were fixed, the result of this
5599 # check would be larger than it should be.
5600 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5601 ;;
5602
5603 gnu*)
5604 # Under GNU Hurd, this test is not required because there is
5605 # no limit to the length of command line arguments.
5606 # Libtool will interpret -1 as no limit whatsoever
5607 lt_cv_sys_max_cmd_len=-1;
5608 ;;
5609
5610 cygwin* | mingw* | cegcc*)
5611 # On Win9x/ME, this test blows up -- it succeeds, but takes
5612 # about 5 minutes as the teststring grows exponentially.
5613 # Worse, since 9x/ME are not pre-emptively multitasking,
5614 # you end up with a "frozen" computer, even though with patience
5615 # the test eventually succeeds (with a max line length of 256k).
5616 # Instead, let's just punt: use the minimum linelength reported by
5617 # all of the supported platforms: 8192 (on NT/2K/XP).
5618 lt_cv_sys_max_cmd_len=8192;
5619 ;;
5620
5621 mint*)
5622 # On MiNT this can take a long time and run out of memory.
5623 lt_cv_sys_max_cmd_len=8192;
5624 ;;
5625
5626 amigaos*)
5627 # On AmigaOS with pdksh, this test takes hours, literally.
5628 # So we just punt and use a minimum line length of 8192.
5629 lt_cv_sys_max_cmd_len=8192;
5630 ;;
5631
5632 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5633 # This has been around since 386BSD, at least. Likely further.
5634 if test -x /sbin/sysctl; then
5635 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5636 elif test -x /usr/sbin/sysctl; then
5637 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5638 else
5639 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5640 fi
5641 # And add a safety zone
5642 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5643 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5644 ;;
5645
5646 interix*)
5647 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5648 lt_cv_sys_max_cmd_len=196608
5649 ;;
5650
5651 osf*)
5652 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5653 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5654 # nice to cause kernel panics so lets avoid the loop below.
5655 # First set a reasonable default.
5656 lt_cv_sys_max_cmd_len=16384
5657 #
5658 if test -x /sbin/sysconfig; then
5659 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5660 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5661 esac
5662 fi
5663 ;;
5664 sco3.2v5*)
5665 lt_cv_sys_max_cmd_len=102400
5666 ;;
5667 sysv5* | sco5v6* | sysv4.2uw2*)
5668 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5669 if test -n "$kargmax"; then
5670 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5671 else
5672 lt_cv_sys_max_cmd_len=32768
5673 fi
5674 ;;
5675 *)
5676 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5677 if test -n "$lt_cv_sys_max_cmd_len"; then
5678 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5679 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5680 else
5681 # Make teststring a little bigger before we do anything with it.
5682 # a 1K string should be a reasonable start.
5683 for i in 1 2 3 4 5 6 7 8 ; do
5684 teststring=$teststring$teststring
5685 done
5686 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5687 # If test is not a shell built-in, we'll probably end up computing a
5688 # maximum length that is only half of the actual maximum length, but
5689 # we can't tell.
5690 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5691 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5692 test $i != 17 # 1/2 MB should be enough
5693 do
5694 i=`expr $i + 1`
5695 teststring=$teststring$teststring
5696 done
5697 # Only check the string length outside the loop.
5698 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5699 teststring=
5700 # Add a significant safety factor because C++ compilers can tack on
5701 # massive amounts of additional arguments before passing them to the
5702 # linker. It appears as though 1/2 is a usable value.
5703 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5704 fi
5705 ;;
5706 esac
5707
5708 fi
5709
5710 if test -n $lt_cv_sys_max_cmd_len ; then
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5712 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5713 else
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5715 $as_echo "none" >&6; }
5716 fi
5717 max_cmd_len=$lt_cv_sys_max_cmd_len
5718
5719
5720
5721
5722
5723
5724 : ${CP="cp -f"}
5725 : ${MV="mv -f"}
5726 : ${RM="rm -f"}
5727
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5729 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5730 # Try some XSI features
5731 xsi_shell=no
5732 ( _lt_dummy="a/b/c"
5733 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5734 = c,a/b,, \
5735 && eval 'test $(( 1 + 1 )) -eq 2 \
5736 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5737 && xsi_shell=yes
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5739 $as_echo "$xsi_shell" >&6; }
5740
5741
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5743 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5744 lt_shell_append=no
5745 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5746 >/dev/null 2>&1 \
5747 && lt_shell_append=yes
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5749 $as_echo "$lt_shell_append" >&6; }
5750
5751
5752 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5753 lt_unset=unset
5754 else
5755 lt_unset=false
5756 fi
5757
5758
5759
5760
5761
5762 # test EBCDIC or ASCII
5763 case `echo X|tr X '\101'` in
5764 A) # ASCII based system
5765 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5766 lt_SP2NL='tr \040 \012'
5767 lt_NL2SP='tr \015\012 \040\040'
5768 ;;
5769 *) # EBCDIC based system
5770 lt_SP2NL='tr \100 \n'
5771 lt_NL2SP='tr \r\n \100\100'
5772 ;;
5773 esac
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5784 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5785 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5786 $as_echo_n "(cached) " >&6
5787 else
5788 lt_cv_ld_reload_flag='-r'
5789 fi
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5791 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5792 reload_flag=$lt_cv_ld_reload_flag
5793 case $reload_flag in
5794 "" | " "*) ;;
5795 *) reload_flag=" $reload_flag" ;;
5796 esac
5797 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5798 case $host_os in
5799 darwin*)
5800 if test "$GCC" = yes; then
5801 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5802 else
5803 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5804 fi
5805 ;;
5806 esac
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816 if test -n "$ac_tool_prefix"; then
5817 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5818 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5820 $as_echo_n "checking for $ac_word... " >&6; }
5821 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5822 $as_echo_n "(cached) " >&6
5823 else
5824 if test -n "$OBJDUMP"; then
5825 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5826 else
5827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5828 for as_dir in $PATH
5829 do
5830 IFS=$as_save_IFS
5831 test -z "$as_dir" && as_dir=.
5832 for ac_exec_ext in '' $ac_executable_extensions; do
5833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5834 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5836 break 2
5837 fi
5838 done
5839 done
5840 IFS=$as_save_IFS
5841
5842 fi
5843 fi
5844 OBJDUMP=$ac_cv_prog_OBJDUMP
5845 if test -n "$OBJDUMP"; then
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5847 $as_echo "$OBJDUMP" >&6; }
5848 else
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5850 $as_echo "no" >&6; }
5851 fi
5852
5853
5854 fi
5855 if test -z "$ac_cv_prog_OBJDUMP"; then
5856 ac_ct_OBJDUMP=$OBJDUMP
5857 # Extract the first word of "objdump", so it can be a program name with args.
5858 set dummy objdump; ac_word=$2
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5860 $as_echo_n "checking for $ac_word... " >&6; }
5861 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5862 $as_echo_n "(cached) " >&6
5863 else
5864 if test -n "$ac_ct_OBJDUMP"; then
5865 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5866 else
5867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5868 for as_dir in $PATH
5869 do
5870 IFS=$as_save_IFS
5871 test -z "$as_dir" && as_dir=.
5872 for ac_exec_ext in '' $ac_executable_extensions; do
5873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5874 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5876 break 2
5877 fi
5878 done
5879 done
5880 IFS=$as_save_IFS
5881
5882 fi
5883 fi
5884 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5885 if test -n "$ac_ct_OBJDUMP"; then
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5887 $as_echo "$ac_ct_OBJDUMP" >&6; }
5888 else
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5890 $as_echo "no" >&6; }
5891 fi
5892
5893 if test "x$ac_ct_OBJDUMP" = x; then
5894 OBJDUMP="false"
5895 else
5896 case $cross_compiling:$ac_tool_warned in
5897 yes:)
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5900 ac_tool_warned=yes ;;
5901 esac
5902 OBJDUMP=$ac_ct_OBJDUMP
5903 fi
5904 else
5905 OBJDUMP="$ac_cv_prog_OBJDUMP"
5906 fi
5907
5908 test -z "$OBJDUMP" && OBJDUMP=objdump
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5919 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5920 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5921 $as_echo_n "(cached) " >&6
5922 else
5923 lt_cv_file_magic_cmd='$MAGIC_CMD'
5924 lt_cv_file_magic_test_file=
5925 lt_cv_deplibs_check_method='unknown'
5926 # Need to set the preceding variable on all platforms that support
5927 # interlibrary dependencies.
5928 # 'none' -- dependencies not supported.
5929 # `unknown' -- same as none, but documents that we really don't know.
5930 # 'pass_all' -- all dependencies passed with no checks.
5931 # 'test_compile' -- check by making test program.
5932 # 'file_magic [[regex]]' -- check by looking for files in library path
5933 # which responds to the $file_magic_cmd with a given extended regex.
5934 # If you have `file' or equivalent on your system and you're not sure
5935 # whether `pass_all' will *always* work, you probably want this one.
5936
5937 case $host_os in
5938 aix[4-9]*)
5939 lt_cv_deplibs_check_method=pass_all
5940 ;;
5941
5942 beos*)
5943 lt_cv_deplibs_check_method=pass_all
5944 ;;
5945
5946 bsdi[45]*)
5947 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5948 lt_cv_file_magic_cmd='/usr/bin/file -L'
5949 lt_cv_file_magic_test_file=/shlib/libc.so
5950 ;;
5951
5952 cygwin*)
5953 # func_win32_libid is a shell function defined in ltmain.sh
5954 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5955 lt_cv_file_magic_cmd='func_win32_libid'
5956 ;;
5957
5958 mingw* | pw32*)
5959 # Base MSYS/MinGW do not provide the 'file' command needed by
5960 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5961 # unless we find 'file', for example because we are cross-compiling.
5962 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5963 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5964 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5965 lt_cv_file_magic_cmd='func_win32_libid'
5966 else
5967 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5968 lt_cv_file_magic_cmd='$OBJDUMP -f'
5969 fi
5970 ;;
5971
5972 cegcc*)
5973 # use the weaker test based on 'objdump'. See mingw*.
5974 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5975 lt_cv_file_magic_cmd='$OBJDUMP -f'
5976 ;;
5977
5978 darwin* | rhapsody*)
5979 lt_cv_deplibs_check_method=pass_all
5980 ;;
5981
5982 freebsd* | dragonfly*)
5983 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5984 case $host_cpu in
5985 i*86 )
5986 # Not sure whether the presence of OpenBSD here was a mistake.
5987 # Let's accept both of them until this is cleared up.
5988 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5989 lt_cv_file_magic_cmd=/usr/bin/file
5990 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5991 ;;
5992 esac
5993 else
5994 lt_cv_deplibs_check_method=pass_all
5995 fi
5996 ;;
5997
5998 gnu*)
5999 lt_cv_deplibs_check_method=pass_all
6000 ;;
6001
6002 haiku*)
6003 lt_cv_deplibs_check_method=pass_all
6004 ;;
6005
6006 hpux10.20* | hpux11*)
6007 lt_cv_file_magic_cmd=/usr/bin/file
6008 case $host_cpu in
6009 ia64*)
6010 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6011 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6012 ;;
6013 hppa*64*)
6014 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]'
6015 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6016 ;;
6017 *)
6018 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6019 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6020 ;;
6021 esac
6022 ;;
6023
6024 interix[3-9]*)
6025 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6026 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6027 ;;
6028
6029 irix5* | irix6* | nonstopux*)
6030 case $LD in
6031 *-32|*"-32 ") libmagic=32-bit;;
6032 *-n32|*"-n32 ") libmagic=N32;;
6033 *-64|*"-64 ") libmagic=64-bit;;
6034 *) libmagic=never-match;;
6035 esac
6036 lt_cv_deplibs_check_method=pass_all
6037 ;;
6038
6039 # This must be Linux ELF.
6040 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6041 lt_cv_deplibs_check_method=pass_all
6042 ;;
6043
6044 netbsd*)
6045 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6046 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6047 else
6048 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6049 fi
6050 ;;
6051
6052 newos6*)
6053 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6054 lt_cv_file_magic_cmd=/usr/bin/file
6055 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6056 ;;
6057
6058 *nto* | *qnx*)
6059 lt_cv_deplibs_check_method=pass_all
6060 ;;
6061
6062 openbsd*)
6063 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6064 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6065 else
6066 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6067 fi
6068 ;;
6069
6070 osf3* | osf4* | osf5*)
6071 lt_cv_deplibs_check_method=pass_all
6072 ;;
6073
6074 rdos*)
6075 lt_cv_deplibs_check_method=pass_all
6076 ;;
6077
6078 solaris*)
6079 lt_cv_deplibs_check_method=pass_all
6080 ;;
6081
6082 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6083 lt_cv_deplibs_check_method=pass_all
6084 ;;
6085
6086 sysv4 | sysv4.3*)
6087 case $host_vendor in
6088 motorola)
6089 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]'
6090 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6091 ;;
6092 ncr)
6093 lt_cv_deplibs_check_method=pass_all
6094 ;;
6095 sequent)
6096 lt_cv_file_magic_cmd='/bin/file'
6097 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6098 ;;
6099 sni)
6100 lt_cv_file_magic_cmd='/bin/file'
6101 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6102 lt_cv_file_magic_test_file=/lib/libc.so
6103 ;;
6104 siemens)
6105 lt_cv_deplibs_check_method=pass_all
6106 ;;
6107 pc)
6108 lt_cv_deplibs_check_method=pass_all
6109 ;;
6110 esac
6111 ;;
6112
6113 tpf*)
6114 lt_cv_deplibs_check_method=pass_all
6115 ;;
6116 esac
6117
6118 fi
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6120 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6121 file_magic_cmd=$lt_cv_file_magic_cmd
6122 deplibs_check_method=$lt_cv_deplibs_check_method
6123 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136 if test -n "$ac_tool_prefix"; then
6137 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6138 set dummy ${ac_tool_prefix}ar; ac_word=$2
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6140 $as_echo_n "checking for $ac_word... " >&6; }
6141 if test "${ac_cv_prog_AR+set}" = set; then :
6142 $as_echo_n "(cached) " >&6
6143 else
6144 if test -n "$AR"; then
6145 ac_cv_prog_AR="$AR" # Let the user override the test.
6146 else
6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6148 for as_dir in $PATH
6149 do
6150 IFS=$as_save_IFS
6151 test -z "$as_dir" && as_dir=.
6152 for ac_exec_ext in '' $ac_executable_extensions; do
6153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6154 ac_cv_prog_AR="${ac_tool_prefix}ar"
6155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6156 break 2
6157 fi
6158 done
6159 done
6160 IFS=$as_save_IFS
6161
6162 fi
6163 fi
6164 AR=$ac_cv_prog_AR
6165 if test -n "$AR"; then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6167 $as_echo "$AR" >&6; }
6168 else
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6170 $as_echo "no" >&6; }
6171 fi
6172
6173
6174 fi
6175 if test -z "$ac_cv_prog_AR"; then
6176 ac_ct_AR=$AR
6177 # Extract the first word of "ar", so it can be a program name with args.
6178 set dummy ar; ac_word=$2
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6180 $as_echo_n "checking for $ac_word... " >&6; }
6181 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6182 $as_echo_n "(cached) " >&6
6183 else
6184 if test -n "$ac_ct_AR"; then
6185 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6186 else
6187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6188 for as_dir in $PATH
6189 do
6190 IFS=$as_save_IFS
6191 test -z "$as_dir" && as_dir=.
6192 for ac_exec_ext in '' $ac_executable_extensions; do
6193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6194 ac_cv_prog_ac_ct_AR="ar"
6195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6196 break 2
6197 fi
6198 done
6199 done
6200 IFS=$as_save_IFS
6201
6202 fi
6203 fi
6204 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6205 if test -n "$ac_ct_AR"; then
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6207 $as_echo "$ac_ct_AR" >&6; }
6208 else
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6210 $as_echo "no" >&6; }
6211 fi
6212
6213 if test "x$ac_ct_AR" = x; then
6214 AR="false"
6215 else
6216 case $cross_compiling:$ac_tool_warned in
6217 yes:)
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6220 ac_tool_warned=yes ;;
6221 esac
6222 AR=$ac_ct_AR
6223 fi
6224 else
6225 AR="$ac_cv_prog_AR"
6226 fi
6227
6228 test -z "$AR" && AR=ar
6229 test -z "$AR_FLAGS" && AR_FLAGS=cru
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241 if test -n "$ac_tool_prefix"; then
6242 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6243 set dummy ${ac_tool_prefix}strip; ac_word=$2
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6245 $as_echo_n "checking for $ac_word... " >&6; }
6246 if test "${ac_cv_prog_STRIP+set}" = set; then :
6247 $as_echo_n "(cached) " >&6
6248 else
6249 if test -n "$STRIP"; then
6250 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6251 else
6252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6253 for as_dir in $PATH
6254 do
6255 IFS=$as_save_IFS
6256 test -z "$as_dir" && as_dir=.
6257 for ac_exec_ext in '' $ac_executable_extensions; do
6258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6259 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6261 break 2
6262 fi
6263 done
6264 done
6265 IFS=$as_save_IFS
6266
6267 fi
6268 fi
6269 STRIP=$ac_cv_prog_STRIP
6270 if test -n "$STRIP"; then
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6272 $as_echo "$STRIP" >&6; }
6273 else
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6275 $as_echo "no" >&6; }
6276 fi
6277
6278
6279 fi
6280 if test -z "$ac_cv_prog_STRIP"; then
6281 ac_ct_STRIP=$STRIP
6282 # Extract the first word of "strip", so it can be a program name with args.
6283 set dummy strip; ac_word=$2
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6285 $as_echo_n "checking for $ac_word... " >&6; }
6286 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6287 $as_echo_n "(cached) " >&6
6288 else
6289 if test -n "$ac_ct_STRIP"; then
6290 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6291 else
6292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6293 for as_dir in $PATH
6294 do
6295 IFS=$as_save_IFS
6296 test -z "$as_dir" && as_dir=.
6297 for ac_exec_ext in '' $ac_executable_extensions; do
6298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6299 ac_cv_prog_ac_ct_STRIP="strip"
6300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6301 break 2
6302 fi
6303 done
6304 done
6305 IFS=$as_save_IFS
6306
6307 fi
6308 fi
6309 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6310 if test -n "$ac_ct_STRIP"; then
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6312 $as_echo "$ac_ct_STRIP" >&6; }
6313 else
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6315 $as_echo "no" >&6; }
6316 fi
6317
6318 if test "x$ac_ct_STRIP" = x; then
6319 STRIP=":"
6320 else
6321 case $cross_compiling:$ac_tool_warned in
6322 yes:)
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6325 ac_tool_warned=yes ;;
6326 esac
6327 STRIP=$ac_ct_STRIP
6328 fi
6329 else
6330 STRIP="$ac_cv_prog_STRIP"
6331 fi
6332
6333 test -z "$STRIP" && STRIP=:
6334
6335
6336
6337
6338
6339
6340 if test -n "$ac_tool_prefix"; then
6341 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6342 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6344 $as_echo_n "checking for $ac_word... " >&6; }
6345 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6346 $as_echo_n "(cached) " >&6
6347 else
6348 if test -n "$RANLIB"; then
6349 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6350 else
6351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6352 for as_dir in $PATH
6353 do
6354 IFS=$as_save_IFS
6355 test -z "$as_dir" && as_dir=.
6356 for ac_exec_ext in '' $ac_executable_extensions; do
6357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6358 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6360 break 2
6361 fi
6362 done
6363 done
6364 IFS=$as_save_IFS
6365
6366 fi
6367 fi
6368 RANLIB=$ac_cv_prog_RANLIB
6369 if test -n "$RANLIB"; then
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6371 $as_echo "$RANLIB" >&6; }
6372 else
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6374 $as_echo "no" >&6; }
6375 fi
6376
6377
6378 fi
6379 if test -z "$ac_cv_prog_RANLIB"; then
6380 ac_ct_RANLIB=$RANLIB
6381 # Extract the first word of "ranlib", so it can be a program name with args.
6382 set dummy ranlib; ac_word=$2
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6384 $as_echo_n "checking for $ac_word... " >&6; }
6385 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6386 $as_echo_n "(cached) " >&6
6387 else
6388 if test -n "$ac_ct_RANLIB"; then
6389 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6390 else
6391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6392 for as_dir in $PATH
6393 do
6394 IFS=$as_save_IFS
6395 test -z "$as_dir" && as_dir=.
6396 for ac_exec_ext in '' $ac_executable_extensions; do
6397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6398 ac_cv_prog_ac_ct_RANLIB="ranlib"
6399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6400 break 2
6401 fi
6402 done
6403 done
6404 IFS=$as_save_IFS
6405
6406 fi
6407 fi
6408 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6409 if test -n "$ac_ct_RANLIB"; then
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6411 $as_echo "$ac_ct_RANLIB" >&6; }
6412 else
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6414 $as_echo "no" >&6; }
6415 fi
6416
6417 if test "x$ac_ct_RANLIB" = x; then
6418 RANLIB=":"
6419 else
6420 case $cross_compiling:$ac_tool_warned in
6421 yes:)
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6424 ac_tool_warned=yes ;;
6425 esac
6426 RANLIB=$ac_ct_RANLIB
6427 fi
6428 else
6429 RANLIB="$ac_cv_prog_RANLIB"
6430 fi
6431
6432 test -z "$RANLIB" && RANLIB=:
6433
6434
6435
6436
6437
6438
6439 # Determine commands to create old-style static archives.
6440 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6441 old_postinstall_cmds='chmod 644 $oldlib'
6442 old_postuninstall_cmds=
6443
6444 if test -n "$RANLIB"; then
6445 case $host_os in
6446 openbsd*)
6447 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6448 ;;
6449 *)
6450 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6451 ;;
6452 esac
6453 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6454 fi
6455
6456 case $host_os in
6457 darwin*)
6458 lock_old_archive_extraction=yes ;;
6459 *)
6460 lock_old_archive_extraction=no ;;
6461 esac
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501 # If no C compiler was specified, use CC.
6502 LTCC=${LTCC-"$CC"}
6503
6504 # If no C compiler flags were specified, use CFLAGS.
6505 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6506
6507 # Allow CC to be a program name with arguments.
6508 compiler=$CC
6509
6510
6511 # Check for command to grab the raw symbol name followed by C symbol from nm.
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6513 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6514 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6515 $as_echo_n "(cached) " >&6
6516 else
6517
6518 # These are sane defaults that work on at least a few old systems.
6519 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6520
6521 # Character class describing NM global symbol codes.
6522 symcode='[BCDEGRST]'
6523
6524 # Regexp to match symbols that can be accessed directly from C.
6525 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6526
6527 # Define system-specific variables.
6528 case $host_os in
6529 aix*)
6530 symcode='[BCDT]'
6531 ;;
6532 cygwin* | mingw* | pw32* | cegcc*)
6533 symcode='[ABCDGISTW]'
6534 ;;
6535 hpux*)
6536 if test "$host_cpu" = ia64; then
6537 symcode='[ABCDEGRST]'
6538 fi
6539 ;;
6540 irix* | nonstopux*)
6541 symcode='[BCDEGRST]'
6542 ;;
6543 osf*)
6544 symcode='[BCDEGQRST]'
6545 ;;
6546 solaris*)
6547 symcode='[BDRT]'
6548 ;;
6549 sco3.2v5*)
6550 symcode='[DT]'
6551 ;;
6552 sysv4.2uw2*)
6553 symcode='[DT]'
6554 ;;
6555 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6556 symcode='[ABDT]'
6557 ;;
6558 sysv4)
6559 symcode='[DFNSTU]'
6560 ;;
6561 esac
6562
6563 # If we're using GNU nm, then use its standard symbol codes.
6564 case `$NM -V 2>&1` in
6565 *GNU* | *'with BFD'*)
6566 symcode='[ABCDGIRSTW]' ;;
6567 esac
6568
6569 # Transform an extracted symbol line into a proper C declaration.
6570 # Some systems (esp. on ia64) link data and code symbols differently,
6571 # so use this general approach.
6572 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6573
6574 # Transform an extracted symbol line into symbol name and symbol address
6575 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6576 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'"
6577
6578 # Handle CRLF in mingw tool chain
6579 opt_cr=
6580 case $build_os in
6581 mingw*)
6582 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6583 ;;
6584 esac
6585
6586 # Try without a prefix underscore, then with it.
6587 for ac_symprfx in "" "_"; do
6588
6589 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6590 symxfrm="\\1 $ac_symprfx\\2 \\2"
6591
6592 # Write the raw and C identifiers.
6593 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6594 # Fake it for dumpbin and say T for any non-static function
6595 # and D for any global variable.
6596 # Also find C++ and __fastcall symbols from MSVC++,
6597 # which start with @ or ?.
6598 lt_cv_sys_global_symbol_pipe="$AWK '"\
6599 " {last_section=section; section=\$ 3};"\
6600 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6601 " \$ 0!~/External *\|/{next};"\
6602 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6603 " {if(hide[section]) next};"\
6604 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6605 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6606 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6607 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6608 " ' prfx=^$ac_symprfx"
6609 else
6610 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6611 fi
6612
6613 # Check to see that the pipe works correctly.
6614 pipe_works=no
6615
6616 rm -f conftest*
6617 cat > conftest.$ac_ext <<_LT_EOF
6618 #ifdef __cplusplus
6619 extern "C" {
6620 #endif
6621 char nm_test_var;
6622 void nm_test_func(void);
6623 void nm_test_func(void){}
6624 #ifdef __cplusplus
6625 }
6626 #endif
6627 int main(){nm_test_var='a';nm_test_func();return(0);}
6628 _LT_EOF
6629
6630 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6631 (eval $ac_compile) 2>&5
6632 ac_status=$?
6633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6634 test $ac_status = 0; }; then
6635 # Now try to grab the symbols.
6636 nlist=conftest.nm
6637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6638 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6639 ac_status=$?
6640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6641 test $ac_status = 0; } && test -s "$nlist"; then
6642 # Try sorting and uniquifying the output.
6643 if sort "$nlist" | uniq > "$nlist"T; then
6644 mv -f "$nlist"T "$nlist"
6645 else
6646 rm -f "$nlist"T
6647 fi
6648
6649 # Make sure that we snagged all the symbols we need.
6650 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6651 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6652 cat <<_LT_EOF > conftest.$ac_ext
6653 #ifdef __cplusplus
6654 extern "C" {
6655 #endif
6656
6657 _LT_EOF
6658 # Now generate the symbol file.
6659 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6660
6661 cat <<_LT_EOF >> conftest.$ac_ext
6662
6663 /* The mapping between symbol names and symbols. */
6664 const struct {
6665 const char *name;
6666 void *address;
6667 }
6668 lt__PROGRAM__LTX_preloaded_symbols[] =
6669 {
6670 { "@PROGRAM@", (void *) 0 },
6671 _LT_EOF
6672 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6673 cat <<\_LT_EOF >> conftest.$ac_ext
6674 {0, (void *) 0}
6675 };
6676
6677 /* This works around a problem in FreeBSD linker */
6678 #ifdef FREEBSD_WORKAROUND
6679 static const void *lt_preloaded_setup() {
6680 return lt__PROGRAM__LTX_preloaded_symbols;
6681 }
6682 #endif
6683
6684 #ifdef __cplusplus
6685 }
6686 #endif
6687 _LT_EOF
6688 # Now try linking the two files.
6689 mv conftest.$ac_objext conftstm.$ac_objext
6690 lt_save_LIBS="$LIBS"
6691 lt_save_CFLAGS="$CFLAGS"
6692 LIBS="conftstm.$ac_objext"
6693 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6694 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6695 (eval $ac_link) 2>&5
6696 ac_status=$?
6697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6698 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6699 pipe_works=yes
6700 fi
6701 LIBS="$lt_save_LIBS"
6702 CFLAGS="$lt_save_CFLAGS"
6703 else
6704 echo "cannot find nm_test_func in $nlist" >&5
6705 fi
6706 else
6707 echo "cannot find nm_test_var in $nlist" >&5
6708 fi
6709 else
6710 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6711 fi
6712 else
6713 echo "$progname: failed program was:" >&5
6714 cat conftest.$ac_ext >&5
6715 fi
6716 rm -rf conftest* conftst*
6717
6718 # Do not use the global_symbol_pipe unless it works.
6719 if test "$pipe_works" = yes; then
6720 break
6721 else
6722 lt_cv_sys_global_symbol_pipe=
6723 fi
6724 done
6725
6726 fi
6727
6728 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6729 lt_cv_sys_global_symbol_to_cdecl=
6730 fi
6731 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6733 $as_echo "failed" >&6; }
6734 else
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6736 $as_echo "ok" >&6; }
6737 fi
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760 # Check whether --enable-libtool-lock was given.
6761 if test "${enable_libtool_lock+set}" = set; then :
6762 enableval=$enable_libtool_lock;
6763 fi
6764
6765 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6766
6767 # Some flags need to be propagated to the compiler or linker for good
6768 # libtool support.
6769 case $host in
6770 ia64-*-hpux*)
6771 # Find out which ABI we are using.
6772 echo 'int i;' > conftest.$ac_ext
6773 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6774 (eval $ac_compile) 2>&5
6775 ac_status=$?
6776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6777 test $ac_status = 0; }; then
6778 case `/usr/bin/file conftest.$ac_objext` in
6779 *ELF-32*)
6780 HPUX_IA64_MODE="32"
6781 ;;
6782 *ELF-64*)
6783 HPUX_IA64_MODE="64"
6784 ;;
6785 esac
6786 fi
6787 rm -rf conftest*
6788 ;;
6789 *-*-irix6*)
6790 # Find out which ABI we are using.
6791 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6792 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6793 (eval $ac_compile) 2>&5
6794 ac_status=$?
6795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6796 test $ac_status = 0; }; then
6797 if test "$lt_cv_prog_gnu_ld" = yes; then
6798 case `/usr/bin/file conftest.$ac_objext` in
6799 *32-bit*)
6800 LD="${LD-ld} -melf32bsmip"
6801 ;;
6802 *N32*)
6803 LD="${LD-ld} -melf32bmipn32"
6804 ;;
6805 *64-bit*)
6806 LD="${LD-ld} -melf64bmip"
6807 ;;
6808 esac
6809 else
6810 case `/usr/bin/file conftest.$ac_objext` in
6811 *32-bit*)
6812 LD="${LD-ld} -32"
6813 ;;
6814 *N32*)
6815 LD="${LD-ld} -n32"
6816 ;;
6817 *64-bit*)
6818 LD="${LD-ld} -64"
6819 ;;
6820 esac
6821 fi
6822 fi
6823 rm -rf conftest*
6824 ;;
6825
6826 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6827 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6828 # Find out which ABI we are using.
6829 echo 'int i;' > conftest.$ac_ext
6830 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6831 (eval $ac_compile) 2>&5
6832 ac_status=$?
6833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6834 test $ac_status = 0; }; then
6835 case `/usr/bin/file conftest.o` in
6836 *32-bit*)
6837 case $host in
6838 x86_64-*kfreebsd*-gnu)
6839 LD="${LD-ld} -m elf_i386_fbsd"
6840 ;;
6841 x86_64-*linux*)
6842 LD="${LD-ld} -m elf_i386"
6843 ;;
6844 ppc64-*linux*|powerpc64-*linux*)
6845 LD="${LD-ld} -m elf32ppclinux"
6846 ;;
6847 s390x-*linux*)
6848 LD="${LD-ld} -m elf_s390"
6849 ;;
6850 sparc64-*linux*)
6851 LD="${LD-ld} -m elf32_sparc"
6852 ;;
6853 esac
6854 ;;
6855 *64-bit*)
6856 case $host in
6857 x86_64-*kfreebsd*-gnu)
6858 LD="${LD-ld} -m elf_x86_64_fbsd"
6859 ;;
6860 x86_64-*linux*)
6861 LD="${LD-ld} -m elf_x86_64"
6862 ;;
6863 ppc*-*linux*|powerpc*-*linux*)
6864 LD="${LD-ld} -m elf64ppc"
6865 ;;
6866 s390*-*linux*|s390*-*tpf*)
6867 LD="${LD-ld} -m elf64_s390"
6868 ;;
6869 sparc*-*linux*)
6870 LD="${LD-ld} -m elf64_sparc"
6871 ;;
6872 esac
6873 ;;
6874 esac
6875 fi
6876 rm -rf conftest*
6877 ;;
6878
6879 *-*-sco3.2v5*)
6880 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6881 SAVE_CFLAGS="$CFLAGS"
6882 CFLAGS="$CFLAGS -belf"
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6884 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6885 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6886 $as_echo_n "(cached) " >&6
6887 else
6888 ac_ext=c
6889 ac_cpp='$CPP $CPPFLAGS'
6890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6893
6894 if test x$gcc_no_link = xyes; then
6895 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6896 fi
6897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6898 /* end confdefs.h. */
6899
6900 int
6901 main ()
6902 {
6903
6904 ;
6905 return 0;
6906 }
6907 _ACEOF
6908 if ac_fn_c_try_link "$LINENO"; then :
6909 lt_cv_cc_needs_belf=yes
6910 else
6911 lt_cv_cc_needs_belf=no
6912 fi
6913 rm -f core conftest.err conftest.$ac_objext \
6914 conftest$ac_exeext conftest.$ac_ext
6915 ac_ext=c
6916 ac_cpp='$CPP $CPPFLAGS'
6917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6920
6921 fi
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6923 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6924 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6925 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6926 CFLAGS="$SAVE_CFLAGS"
6927 fi
6928 ;;
6929 sparc*-*solaris*)
6930 # Find out which ABI we are using.
6931 echo 'int i;' > conftest.$ac_ext
6932 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6933 (eval $ac_compile) 2>&5
6934 ac_status=$?
6935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6936 test $ac_status = 0; }; then
6937 case `/usr/bin/file conftest.o` in
6938 *64-bit*)
6939 case $lt_cv_prog_gnu_ld in
6940 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6941 *)
6942 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6943 LD="${LD-ld} -64"
6944 fi
6945 ;;
6946 esac
6947 ;;
6948 esac
6949 fi
6950 rm -rf conftest*
6951 ;;
6952 esac
6953
6954 need_locks="$enable_libtool_lock"
6955
6956
6957 case $host_os in
6958 rhapsody* | darwin*)
6959 if test -n "$ac_tool_prefix"; then
6960 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6961 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6963 $as_echo_n "checking for $ac_word... " >&6; }
6964 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6965 $as_echo_n "(cached) " >&6
6966 else
6967 if test -n "$DSYMUTIL"; then
6968 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6969 else
6970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6971 for as_dir in $PATH
6972 do
6973 IFS=$as_save_IFS
6974 test -z "$as_dir" && as_dir=.
6975 for ac_exec_ext in '' $ac_executable_extensions; do
6976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6977 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6979 break 2
6980 fi
6981 done
6982 done
6983 IFS=$as_save_IFS
6984
6985 fi
6986 fi
6987 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6988 if test -n "$DSYMUTIL"; then
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6990 $as_echo "$DSYMUTIL" >&6; }
6991 else
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6993 $as_echo "no" >&6; }
6994 fi
6995
6996
6997 fi
6998 if test -z "$ac_cv_prog_DSYMUTIL"; then
6999 ac_ct_DSYMUTIL=$DSYMUTIL
7000 # Extract the first word of "dsymutil", so it can be a program name with args.
7001 set dummy dsymutil; ac_word=$2
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7003 $as_echo_n "checking for $ac_word... " >&6; }
7004 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7005 $as_echo_n "(cached) " >&6
7006 else
7007 if test -n "$ac_ct_DSYMUTIL"; then
7008 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7009 else
7010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7011 for as_dir in $PATH
7012 do
7013 IFS=$as_save_IFS
7014 test -z "$as_dir" && as_dir=.
7015 for ac_exec_ext in '' $ac_executable_extensions; do
7016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7017 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7019 break 2
7020 fi
7021 done
7022 done
7023 IFS=$as_save_IFS
7024
7025 fi
7026 fi
7027 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7028 if test -n "$ac_ct_DSYMUTIL"; then
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7030 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7031 else
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7033 $as_echo "no" >&6; }
7034 fi
7035
7036 if test "x$ac_ct_DSYMUTIL" = x; then
7037 DSYMUTIL=":"
7038 else
7039 case $cross_compiling:$ac_tool_warned in
7040 yes:)
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7043 ac_tool_warned=yes ;;
7044 esac
7045 DSYMUTIL=$ac_ct_DSYMUTIL
7046 fi
7047 else
7048 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7049 fi
7050
7051 if test -n "$ac_tool_prefix"; then
7052 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7053 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7055 $as_echo_n "checking for $ac_word... " >&6; }
7056 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7057 $as_echo_n "(cached) " >&6
7058 else
7059 if test -n "$NMEDIT"; then
7060 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7061 else
7062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7063 for as_dir in $PATH
7064 do
7065 IFS=$as_save_IFS
7066 test -z "$as_dir" && as_dir=.
7067 for ac_exec_ext in '' $ac_executable_extensions; do
7068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7069 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7071 break 2
7072 fi
7073 done
7074 done
7075 IFS=$as_save_IFS
7076
7077 fi
7078 fi
7079 NMEDIT=$ac_cv_prog_NMEDIT
7080 if test -n "$NMEDIT"; then
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7082 $as_echo "$NMEDIT" >&6; }
7083 else
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7085 $as_echo "no" >&6; }
7086 fi
7087
7088
7089 fi
7090 if test -z "$ac_cv_prog_NMEDIT"; then
7091 ac_ct_NMEDIT=$NMEDIT
7092 # Extract the first word of "nmedit", so it can be a program name with args.
7093 set dummy nmedit; ac_word=$2
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7095 $as_echo_n "checking for $ac_word... " >&6; }
7096 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7097 $as_echo_n "(cached) " >&6
7098 else
7099 if test -n "$ac_ct_NMEDIT"; then
7100 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7101 else
7102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7103 for as_dir in $PATH
7104 do
7105 IFS=$as_save_IFS
7106 test -z "$as_dir" && as_dir=.
7107 for ac_exec_ext in '' $ac_executable_extensions; do
7108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7109 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7111 break 2
7112 fi
7113 done
7114 done
7115 IFS=$as_save_IFS
7116
7117 fi
7118 fi
7119 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7120 if test -n "$ac_ct_NMEDIT"; then
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7122 $as_echo "$ac_ct_NMEDIT" >&6; }
7123 else
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7125 $as_echo "no" >&6; }
7126 fi
7127
7128 if test "x$ac_ct_NMEDIT" = x; then
7129 NMEDIT=":"
7130 else
7131 case $cross_compiling:$ac_tool_warned in
7132 yes:)
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7135 ac_tool_warned=yes ;;
7136 esac
7137 NMEDIT=$ac_ct_NMEDIT
7138 fi
7139 else
7140 NMEDIT="$ac_cv_prog_NMEDIT"
7141 fi
7142
7143 if test -n "$ac_tool_prefix"; then
7144 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7145 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7147 $as_echo_n "checking for $ac_word... " >&6; }
7148 if test "${ac_cv_prog_LIPO+set}" = set; then :
7149 $as_echo_n "(cached) " >&6
7150 else
7151 if test -n "$LIPO"; then
7152 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7153 else
7154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7155 for as_dir in $PATH
7156 do
7157 IFS=$as_save_IFS
7158 test -z "$as_dir" && as_dir=.
7159 for ac_exec_ext in '' $ac_executable_extensions; do
7160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7161 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7163 break 2
7164 fi
7165 done
7166 done
7167 IFS=$as_save_IFS
7168
7169 fi
7170 fi
7171 LIPO=$ac_cv_prog_LIPO
7172 if test -n "$LIPO"; then
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7174 $as_echo "$LIPO" >&6; }
7175 else
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7177 $as_echo "no" >&6; }
7178 fi
7179
7180
7181 fi
7182 if test -z "$ac_cv_prog_LIPO"; then
7183 ac_ct_LIPO=$LIPO
7184 # Extract the first word of "lipo", so it can be a program name with args.
7185 set dummy lipo; ac_word=$2
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7187 $as_echo_n "checking for $ac_word... " >&6; }
7188 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7189 $as_echo_n "(cached) " >&6
7190 else
7191 if test -n "$ac_ct_LIPO"; then
7192 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7193 else
7194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7195 for as_dir in $PATH
7196 do
7197 IFS=$as_save_IFS
7198 test -z "$as_dir" && as_dir=.
7199 for ac_exec_ext in '' $ac_executable_extensions; do
7200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7201 ac_cv_prog_ac_ct_LIPO="lipo"
7202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7203 break 2
7204 fi
7205 done
7206 done
7207 IFS=$as_save_IFS
7208
7209 fi
7210 fi
7211 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7212 if test -n "$ac_ct_LIPO"; then
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7214 $as_echo "$ac_ct_LIPO" >&6; }
7215 else
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7217 $as_echo "no" >&6; }
7218 fi
7219
7220 if test "x$ac_ct_LIPO" = x; then
7221 LIPO=":"
7222 else
7223 case $cross_compiling:$ac_tool_warned in
7224 yes:)
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7227 ac_tool_warned=yes ;;
7228 esac
7229 LIPO=$ac_ct_LIPO
7230 fi
7231 else
7232 LIPO="$ac_cv_prog_LIPO"
7233 fi
7234
7235 if test -n "$ac_tool_prefix"; then
7236 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7237 set dummy ${ac_tool_prefix}otool; ac_word=$2
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7239 $as_echo_n "checking for $ac_word... " >&6; }
7240 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7241 $as_echo_n "(cached) " >&6
7242 else
7243 if test -n "$OTOOL"; then
7244 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7245 else
7246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7247 for as_dir in $PATH
7248 do
7249 IFS=$as_save_IFS
7250 test -z "$as_dir" && as_dir=.
7251 for ac_exec_ext in '' $ac_executable_extensions; do
7252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7253 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7255 break 2
7256 fi
7257 done
7258 done
7259 IFS=$as_save_IFS
7260
7261 fi
7262 fi
7263 OTOOL=$ac_cv_prog_OTOOL
7264 if test -n "$OTOOL"; then
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7266 $as_echo "$OTOOL" >&6; }
7267 else
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7269 $as_echo "no" >&6; }
7270 fi
7271
7272
7273 fi
7274 if test -z "$ac_cv_prog_OTOOL"; then
7275 ac_ct_OTOOL=$OTOOL
7276 # Extract the first word of "otool", so it can be a program name with args.
7277 set dummy otool; ac_word=$2
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7279 $as_echo_n "checking for $ac_word... " >&6; }
7280 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7281 $as_echo_n "(cached) " >&6
7282 else
7283 if test -n "$ac_ct_OTOOL"; then
7284 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7285 else
7286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7287 for as_dir in $PATH
7288 do
7289 IFS=$as_save_IFS
7290 test -z "$as_dir" && as_dir=.
7291 for ac_exec_ext in '' $ac_executable_extensions; do
7292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7293 ac_cv_prog_ac_ct_OTOOL="otool"
7294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7295 break 2
7296 fi
7297 done
7298 done
7299 IFS=$as_save_IFS
7300
7301 fi
7302 fi
7303 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7304 if test -n "$ac_ct_OTOOL"; then
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7306 $as_echo "$ac_ct_OTOOL" >&6; }
7307 else
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7309 $as_echo "no" >&6; }
7310 fi
7311
7312 if test "x$ac_ct_OTOOL" = x; then
7313 OTOOL=":"
7314 else
7315 case $cross_compiling:$ac_tool_warned in
7316 yes:)
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7319 ac_tool_warned=yes ;;
7320 esac
7321 OTOOL=$ac_ct_OTOOL
7322 fi
7323 else
7324 OTOOL="$ac_cv_prog_OTOOL"
7325 fi
7326
7327 if test -n "$ac_tool_prefix"; then
7328 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7329 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7331 $as_echo_n "checking for $ac_word... " >&6; }
7332 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7333 $as_echo_n "(cached) " >&6
7334 else
7335 if test -n "$OTOOL64"; then
7336 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7337 else
7338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7339 for as_dir in $PATH
7340 do
7341 IFS=$as_save_IFS
7342 test -z "$as_dir" && as_dir=.
7343 for ac_exec_ext in '' $ac_executable_extensions; do
7344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7345 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7347 break 2
7348 fi
7349 done
7350 done
7351 IFS=$as_save_IFS
7352
7353 fi
7354 fi
7355 OTOOL64=$ac_cv_prog_OTOOL64
7356 if test -n "$OTOOL64"; then
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7358 $as_echo "$OTOOL64" >&6; }
7359 else
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7361 $as_echo "no" >&6; }
7362 fi
7363
7364
7365 fi
7366 if test -z "$ac_cv_prog_OTOOL64"; then
7367 ac_ct_OTOOL64=$OTOOL64
7368 # Extract the first word of "otool64", so it can be a program name with args.
7369 set dummy otool64; ac_word=$2
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7371 $as_echo_n "checking for $ac_word... " >&6; }
7372 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7373 $as_echo_n "(cached) " >&6
7374 else
7375 if test -n "$ac_ct_OTOOL64"; then
7376 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7377 else
7378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7379 for as_dir in $PATH
7380 do
7381 IFS=$as_save_IFS
7382 test -z "$as_dir" && as_dir=.
7383 for ac_exec_ext in '' $ac_executable_extensions; do
7384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7385 ac_cv_prog_ac_ct_OTOOL64="otool64"
7386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7387 break 2
7388 fi
7389 done
7390 done
7391 IFS=$as_save_IFS
7392
7393 fi
7394 fi
7395 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7396 if test -n "$ac_ct_OTOOL64"; then
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7398 $as_echo "$ac_ct_OTOOL64" >&6; }
7399 else
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7401 $as_echo "no" >&6; }
7402 fi
7403
7404 if test "x$ac_ct_OTOOL64" = x; then
7405 OTOOL64=":"
7406 else
7407 case $cross_compiling:$ac_tool_warned in
7408 yes:)
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7411 ac_tool_warned=yes ;;
7412 esac
7413 OTOOL64=$ac_ct_OTOOL64
7414 fi
7415 else
7416 OTOOL64="$ac_cv_prog_OTOOL64"
7417 fi
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7446 $as_echo_n "checking for -single_module linker flag... " >&6; }
7447 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7448 $as_echo_n "(cached) " >&6
7449 else
7450 lt_cv_apple_cc_single_mod=no
7451 if test -z "${LT_MULTI_MODULE}"; then
7452 # By default we will add the -single_module flag. You can override
7453 # by either setting the environment variable LT_MULTI_MODULE
7454 # non-empty at configure time, or by adding -multi_module to the
7455 # link flags.
7456 rm -rf libconftest.dylib*
7457 echo "int foo(void){return 1;}" > conftest.c
7458 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7459 -dynamiclib -Wl,-single_module conftest.c" >&5
7460 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7461 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7462 _lt_result=$?
7463 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7464 lt_cv_apple_cc_single_mod=yes
7465 else
7466 cat conftest.err >&5
7467 fi
7468 rm -rf libconftest.dylib*
7469 rm -f conftest.*
7470 fi
7471 fi
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7473 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7475 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7476 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7477 $as_echo_n "(cached) " >&6
7478 else
7479 lt_cv_ld_exported_symbols_list=no
7480 save_LDFLAGS=$LDFLAGS
7481 echo "_main" > conftest.sym
7482 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7483 if test x$gcc_no_link = xyes; then
7484 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7485 fi
7486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7487 /* end confdefs.h. */
7488
7489 int
7490 main ()
7491 {
7492
7493 ;
7494 return 0;
7495 }
7496 _ACEOF
7497 if ac_fn_c_try_link "$LINENO"; then :
7498 lt_cv_ld_exported_symbols_list=yes
7499 else
7500 lt_cv_ld_exported_symbols_list=no
7501 fi
7502 rm -f core conftest.err conftest.$ac_objext \
7503 conftest$ac_exeext conftest.$ac_ext
7504 LDFLAGS="$save_LDFLAGS"
7505
7506 fi
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7508 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7510 $as_echo_n "checking for -force_load linker flag... " >&6; }
7511 if test "${lt_cv_ld_force_load+set}" = set; then :
7512 $as_echo_n "(cached) " >&6
7513 else
7514 lt_cv_ld_force_load=no
7515 cat > conftest.c << _LT_EOF
7516 int forced_loaded() { return 2;}
7517 _LT_EOF
7518 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7519 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7520 echo "$AR cru libconftest.a conftest.o" >&5
7521 $AR cru libconftest.a conftest.o 2>&5
7522 cat > conftest.c << _LT_EOF
7523 int main() { return 0;}
7524 _LT_EOF
7525 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7526 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7527 _lt_result=$?
7528 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7529 lt_cv_ld_force_load=yes
7530 else
7531 cat conftest.err >&5
7532 fi
7533 rm -f conftest.err libconftest.a conftest conftest.c
7534 rm -rf conftest.dSYM
7535
7536 fi
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7538 $as_echo "$lt_cv_ld_force_load" >&6; }
7539 case $host_os in
7540 rhapsody* | darwin1.[012])
7541 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7542 darwin1.*)
7543 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7544 darwin*) # darwin 5.x on
7545 # if running on 10.5 or later, the deployment target defaults
7546 # to the OS version, if on x86, and 10.4, the deployment
7547 # target defaults to 10.4. Don't you love it?
7548 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7549 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7550 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7551 10.[012]*)
7552 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7553 10.*)
7554 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7555 esac
7556 ;;
7557 esac
7558 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7559 _lt_dar_single_mod='$single_module'
7560 fi
7561 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7562 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7563 else
7564 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7565 fi
7566 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7567 _lt_dsymutil='~$DSYMUTIL $lib || :'
7568 else
7569 _lt_dsymutil=
7570 fi
7571 ;;
7572 esac
7573
7574 ac_ext=c
7575 ac_cpp='$CPP $CPPFLAGS'
7576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7580 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7581 # On Suns, sometimes $CPP names a directory.
7582 if test -n "$CPP" && test -d "$CPP"; then
7583 CPP=
7584 fi
7585 if test -z "$CPP"; then
7586 if test "${ac_cv_prog_CPP+set}" = set; then :
7587 $as_echo_n "(cached) " >&6
7588 else
7589 # Double quotes because CPP needs to be expanded
7590 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7591 do
7592 ac_preproc_ok=false
7593 for ac_c_preproc_warn_flag in '' yes
7594 do
7595 # Use a header file that comes with gcc, so configuring glibc
7596 # with a fresh cross-compiler works.
7597 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7598 # <limits.h> exists even on freestanding compilers.
7599 # On the NeXT, cc -E runs the code through the compiler's parser,
7600 # not just through cpp. "Syntax error" is here to catch this case.
7601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7602 /* end confdefs.h. */
7603 #ifdef __STDC__
7604 # include <limits.h>
7605 #else
7606 # include <assert.h>
7607 #endif
7608 Syntax error
7609 _ACEOF
7610 if ac_fn_c_try_cpp "$LINENO"; then :
7611
7612 else
7613 # Broken: fails on valid input.
7614 continue
7615 fi
7616 rm -f conftest.err conftest.$ac_ext
7617
7618 # OK, works on sane cases. Now check whether nonexistent headers
7619 # can be detected and how.
7620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7621 /* end confdefs.h. */
7622 #include <ac_nonexistent.h>
7623 _ACEOF
7624 if ac_fn_c_try_cpp "$LINENO"; then :
7625 # Broken: success on invalid input.
7626 continue
7627 else
7628 # Passes both tests.
7629 ac_preproc_ok=:
7630 break
7631 fi
7632 rm -f conftest.err conftest.$ac_ext
7633
7634 done
7635 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7636 rm -f conftest.err conftest.$ac_ext
7637 if $ac_preproc_ok; then :
7638 break
7639 fi
7640
7641 done
7642 ac_cv_prog_CPP=$CPP
7643
7644 fi
7645 CPP=$ac_cv_prog_CPP
7646 else
7647 ac_cv_prog_CPP=$CPP
7648 fi
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7650 $as_echo "$CPP" >&6; }
7651 ac_preproc_ok=false
7652 for ac_c_preproc_warn_flag in '' yes
7653 do
7654 # Use a header file that comes with gcc, so configuring glibc
7655 # with a fresh cross-compiler works.
7656 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7657 # <limits.h> exists even on freestanding compilers.
7658 # On the NeXT, cc -E runs the code through the compiler's parser,
7659 # not just through cpp. "Syntax error" is here to catch this case.
7660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7661 /* end confdefs.h. */
7662 #ifdef __STDC__
7663 # include <limits.h>
7664 #else
7665 # include <assert.h>
7666 #endif
7667 Syntax error
7668 _ACEOF
7669 if ac_fn_c_try_cpp "$LINENO"; then :
7670
7671 else
7672 # Broken: fails on valid input.
7673 continue
7674 fi
7675 rm -f conftest.err conftest.$ac_ext
7676
7677 # OK, works on sane cases. Now check whether nonexistent headers
7678 # can be detected and how.
7679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7680 /* end confdefs.h. */
7681 #include <ac_nonexistent.h>
7682 _ACEOF
7683 if ac_fn_c_try_cpp "$LINENO"; then :
7684 # Broken: success on invalid input.
7685 continue
7686 else
7687 # Passes both tests.
7688 ac_preproc_ok=:
7689 break
7690 fi
7691 rm -f conftest.err conftest.$ac_ext
7692
7693 done
7694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7695 rm -f conftest.err conftest.$ac_ext
7696 if $ac_preproc_ok; then :
7697
7698 else
7699 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7701 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7702 See \`config.log' for more details." "$LINENO" 5; }
7703 fi
7704
7705 ac_ext=c
7706 ac_cpp='$CPP $CPPFLAGS'
7707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7710
7711
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7713 $as_echo_n "checking for ANSI C header files... " >&6; }
7714 if test "${ac_cv_header_stdc+set}" = set; then :
7715 $as_echo_n "(cached) " >&6
7716 else
7717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7718 /* end confdefs.h. */
7719 #include <stdlib.h>
7720 #include <stdarg.h>
7721 #include <string.h>
7722 #include <float.h>
7723
7724 int
7725 main ()
7726 {
7727
7728 ;
7729 return 0;
7730 }
7731 _ACEOF
7732 if ac_fn_c_try_compile "$LINENO"; then :
7733 ac_cv_header_stdc=yes
7734 else
7735 ac_cv_header_stdc=no
7736 fi
7737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7738
7739 if test $ac_cv_header_stdc = yes; then
7740 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7742 /* end confdefs.h. */
7743 #include <string.h>
7744
7745 _ACEOF
7746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7747 $EGREP "memchr" >/dev/null 2>&1; then :
7748
7749 else
7750 ac_cv_header_stdc=no
7751 fi
7752 rm -f conftest*
7753
7754 fi
7755
7756 if test $ac_cv_header_stdc = yes; then
7757 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7759 /* end confdefs.h. */
7760 #include <stdlib.h>
7761
7762 _ACEOF
7763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7764 $EGREP "free" >/dev/null 2>&1; then :
7765
7766 else
7767 ac_cv_header_stdc=no
7768 fi
7769 rm -f conftest*
7770
7771 fi
7772
7773 if test $ac_cv_header_stdc = yes; then
7774 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7775 if test "$cross_compiling" = yes; then :
7776 :
7777 else
7778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7779 /* end confdefs.h. */
7780 #include <ctype.h>
7781 #include <stdlib.h>
7782 #if ((' ' & 0x0FF) == 0x020)
7783 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7784 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7785 #else
7786 # define ISLOWER(c) \
7787 (('a' <= (c) && (c) <= 'i') \
7788 || ('j' <= (c) && (c) <= 'r') \
7789 || ('s' <= (c) && (c) <= 'z'))
7790 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7791 #endif
7792
7793 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7794 int
7795 main ()
7796 {
7797 int i;
7798 for (i = 0; i < 256; i++)
7799 if (XOR (islower (i), ISLOWER (i))
7800 || toupper (i) != TOUPPER (i))
7801 return 2;
7802 return 0;
7803 }
7804 _ACEOF
7805 if ac_fn_c_try_run "$LINENO"; then :
7806
7807 else
7808 ac_cv_header_stdc=no
7809 fi
7810 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7811 conftest.$ac_objext conftest.beam conftest.$ac_ext
7812 fi
7813
7814 fi
7815 fi
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7817 $as_echo "$ac_cv_header_stdc" >&6; }
7818 if test $ac_cv_header_stdc = yes; then
7819
7820 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7821
7822 fi
7823
7824 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7825 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7826 inttypes.h stdint.h unistd.h
7827 do :
7828 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7829 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7830 "
7831 eval as_val=\$$as_ac_Header
7832 if test "x$as_val" = x""yes; then :
7833 cat >>confdefs.h <<_ACEOF
7834 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7835 _ACEOF
7836
7837 fi
7838
7839 done
7840
7841
7842 for ac_header in dlfcn.h
7843 do :
7844 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7845 "
7846 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7847 cat >>confdefs.h <<_ACEOF
7848 #define HAVE_DLFCN_H 1
7849 _ACEOF
7850
7851 fi
7852
7853 done
7854
7855
7856
7857
7858
7859 # Set options
7860
7861
7862
7863
7864 enable_win32_dll=no
7865
7866
7867 # Check whether --enable-shared was given.
7868 if test "${enable_shared+set}" = set; then :
7869 enableval=$enable_shared; p=${PACKAGE-default}
7870 case $enableval in
7871 yes) enable_shared=yes ;;
7872 no) enable_shared=no ;;
7873 *)
7874 enable_shared=no
7875 # Look at the argument we got. We use all the common list separators.
7876 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7877 for pkg in $enableval; do
7878 IFS="$lt_save_ifs"
7879 if test "X$pkg" = "X$p"; then
7880 enable_shared=yes
7881 fi
7882 done
7883 IFS="$lt_save_ifs"
7884 ;;
7885 esac
7886 else
7887 enable_shared=yes
7888 fi
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898 # Check whether --enable-static was given.
7899 if test "${enable_static+set}" = set; then :
7900 enableval=$enable_static; p=${PACKAGE-default}
7901 case $enableval in
7902 yes) enable_static=yes ;;
7903 no) enable_static=no ;;
7904 *)
7905 enable_static=no
7906 # Look at the argument we got. We use all the common list separators.
7907 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7908 for pkg in $enableval; do
7909 IFS="$lt_save_ifs"
7910 if test "X$pkg" = "X$p"; then
7911 enable_static=yes
7912 fi
7913 done
7914 IFS="$lt_save_ifs"
7915 ;;
7916 esac
7917 else
7918 enable_static=yes
7919 fi
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930 # Check whether --with-pic was given.
7931 if test "${with_pic+set}" = set; then :
7932 withval=$with_pic; pic_mode="$withval"
7933 else
7934 pic_mode=default
7935 fi
7936
7937
7938 test -z "$pic_mode" && pic_mode=default
7939
7940
7941
7942
7943
7944
7945
7946 # Check whether --enable-fast-install was given.
7947 if test "${enable_fast_install+set}" = set; then :
7948 enableval=$enable_fast_install; p=${PACKAGE-default}
7949 case $enableval in
7950 yes) enable_fast_install=yes ;;
7951 no) enable_fast_install=no ;;
7952 *)
7953 enable_fast_install=no
7954 # Look at the argument we got. We use all the common list separators.
7955 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7956 for pkg in $enableval; do
7957 IFS="$lt_save_ifs"
7958 if test "X$pkg" = "X$p"; then
7959 enable_fast_install=yes
7960 fi
7961 done
7962 IFS="$lt_save_ifs"
7963 ;;
7964 esac
7965 else
7966 enable_fast_install=yes
7967 fi
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979 # This can be used to rebuild libtool when needed
7980 LIBTOOL_DEPS="$ltmain"
7981
7982 # Always use our own libtool.
7983 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010 test -z "$LN_S" && LN_S="ln -s"
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025 if test -n "${ZSH_VERSION+set}" ; then
8026 setopt NO_GLOB_SUBST
8027 fi
8028
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8030 $as_echo_n "checking for objdir... " >&6; }
8031 if test "${lt_cv_objdir+set}" = set; then :
8032 $as_echo_n "(cached) " >&6
8033 else
8034 rm -f .libs 2>/dev/null
8035 mkdir .libs 2>/dev/null
8036 if test -d .libs; then
8037 lt_cv_objdir=.libs
8038 else
8039 # MS-DOS does not allow filenames that begin with a dot.
8040 lt_cv_objdir=_libs
8041 fi
8042 rmdir .libs 2>/dev/null
8043 fi
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8045 $as_echo "$lt_cv_objdir" >&6; }
8046 objdir=$lt_cv_objdir
8047
8048
8049
8050
8051
8052 cat >>confdefs.h <<_ACEOF
8053 #define LT_OBJDIR "$lt_cv_objdir/"
8054 _ACEOF
8055
8056
8057
8058
8059 case $host_os in
8060 aix3*)
8061 # AIX sometimes has problems with the GCC collect2 program. For some
8062 # reason, if we set the COLLECT_NAMES environment variable, the problems
8063 # vanish in a puff of smoke.
8064 if test "X${COLLECT_NAMES+set}" != Xset; then
8065 COLLECT_NAMES=
8066 export COLLECT_NAMES
8067 fi
8068 ;;
8069 esac
8070
8071 # Global variables:
8072 ofile=libtool
8073 can_build_shared=yes
8074
8075 # All known linkers require a `.a' archive for static linking (except MSVC,
8076 # which needs '.lib').
8077 libext=a
8078
8079 with_gnu_ld="$lt_cv_prog_gnu_ld"
8080
8081 old_CC="$CC"
8082 old_CFLAGS="$CFLAGS"
8083
8084 # Set sane defaults for various variables
8085 test -z "$CC" && CC=cc
8086 test -z "$LTCC" && LTCC=$CC
8087 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8088 test -z "$LD" && LD=ld
8089 test -z "$ac_objext" && ac_objext=o
8090
8091 for cc_temp in $compiler""; do
8092 case $cc_temp in
8093 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8094 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8095 \-*) ;;
8096 *) break;;
8097 esac
8098 done
8099 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8100
8101
8102 # Only perform the check for file, if the check method requires it
8103 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8104 case $deplibs_check_method in
8105 file_magic*)
8106 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8108 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8109 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8110 $as_echo_n "(cached) " >&6
8111 else
8112 case $MAGIC_CMD in
8113 [\\/*] | ?:[\\/]*)
8114 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8115 ;;
8116 *)
8117 lt_save_MAGIC_CMD="$MAGIC_CMD"
8118 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8119 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8120 for ac_dir in $ac_dummy; do
8121 IFS="$lt_save_ifs"
8122 test -z "$ac_dir" && ac_dir=.
8123 if test -f $ac_dir/${ac_tool_prefix}file; then
8124 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8125 if test -n "$file_magic_test_file"; then
8126 case $deplibs_check_method in
8127 "file_magic "*)
8128 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8129 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8130 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8131 $EGREP "$file_magic_regex" > /dev/null; then
8132 :
8133 else
8134 cat <<_LT_EOF 1>&2
8135
8136 *** Warning: the command libtool uses to detect shared libraries,
8137 *** $file_magic_cmd, produces output that libtool cannot recognize.
8138 *** The result is that libtool may fail to recognize shared libraries
8139 *** as such. This will affect the creation of libtool libraries that
8140 *** depend on shared libraries, but programs linked with such libtool
8141 *** libraries will work regardless of this problem. Nevertheless, you
8142 *** may want to report the problem to your system manager and/or to
8143 *** bug-libtool@gnu.org
8144
8145 _LT_EOF
8146 fi ;;
8147 esac
8148 fi
8149 break
8150 fi
8151 done
8152 IFS="$lt_save_ifs"
8153 MAGIC_CMD="$lt_save_MAGIC_CMD"
8154 ;;
8155 esac
8156 fi
8157
8158 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8159 if test -n "$MAGIC_CMD"; then
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8161 $as_echo "$MAGIC_CMD" >&6; }
8162 else
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8164 $as_echo "no" >&6; }
8165 fi
8166
8167
8168
8169
8170
8171 if test -z "$lt_cv_path_MAGIC_CMD"; then
8172 if test -n "$ac_tool_prefix"; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8174 $as_echo_n "checking for file... " >&6; }
8175 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8176 $as_echo_n "(cached) " >&6
8177 else
8178 case $MAGIC_CMD in
8179 [\\/*] | ?:[\\/]*)
8180 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8181 ;;
8182 *)
8183 lt_save_MAGIC_CMD="$MAGIC_CMD"
8184 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8185 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8186 for ac_dir in $ac_dummy; do
8187 IFS="$lt_save_ifs"
8188 test -z "$ac_dir" && ac_dir=.
8189 if test -f $ac_dir/file; then
8190 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8191 if test -n "$file_magic_test_file"; then
8192 case $deplibs_check_method in
8193 "file_magic "*)
8194 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8195 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8196 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8197 $EGREP "$file_magic_regex" > /dev/null; then
8198 :
8199 else
8200 cat <<_LT_EOF 1>&2
8201
8202 *** Warning: the command libtool uses to detect shared libraries,
8203 *** $file_magic_cmd, produces output that libtool cannot recognize.
8204 *** The result is that libtool may fail to recognize shared libraries
8205 *** as such. This will affect the creation of libtool libraries that
8206 *** depend on shared libraries, but programs linked with such libtool
8207 *** libraries will work regardless of this problem. Nevertheless, you
8208 *** may want to report the problem to your system manager and/or to
8209 *** bug-libtool@gnu.org
8210
8211 _LT_EOF
8212 fi ;;
8213 esac
8214 fi
8215 break
8216 fi
8217 done
8218 IFS="$lt_save_ifs"
8219 MAGIC_CMD="$lt_save_MAGIC_CMD"
8220 ;;
8221 esac
8222 fi
8223
8224 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8225 if test -n "$MAGIC_CMD"; then
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8227 $as_echo "$MAGIC_CMD" >&6; }
8228 else
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8230 $as_echo "no" >&6; }
8231 fi
8232
8233
8234 else
8235 MAGIC_CMD=:
8236 fi
8237 fi
8238
8239 fi
8240 ;;
8241 esac
8242
8243 # Use C for the default configuration in the libtool script
8244
8245 lt_save_CC="$CC"
8246 ac_ext=c
8247 ac_cpp='$CPP $CPPFLAGS'
8248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8251
8252
8253 # Source file extension for C test sources.
8254 ac_ext=c
8255
8256 # Object file extension for compiled C test sources.
8257 objext=o
8258 objext=$objext
8259
8260 # Code to be used in simple compile tests
8261 lt_simple_compile_test_code="int some_variable = 0;"
8262
8263 # Code to be used in simple link tests
8264 lt_simple_link_test_code='int main(){return(0);}'
8265
8266
8267
8268
8269
8270
8271
8272 # If no C compiler was specified, use CC.
8273 LTCC=${LTCC-"$CC"}
8274
8275 # If no C compiler flags were specified, use CFLAGS.
8276 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8277
8278 # Allow CC to be a program name with arguments.
8279 compiler=$CC
8280
8281 # Save the default compiler, since it gets overwritten when the other
8282 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8283 compiler_DEFAULT=$CC
8284
8285 # save warnings/boilerplate of simple test code
8286 ac_outfile=conftest.$ac_objext
8287 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8288 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8289 _lt_compiler_boilerplate=`cat conftest.err`
8290 $RM conftest*
8291
8292 ac_outfile=conftest.$ac_objext
8293 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8294 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8295 _lt_linker_boilerplate=`cat conftest.err`
8296 $RM -r conftest*
8297
8298
8299 ## CAVEAT EMPTOR:
8300 ## There is no encapsulation within the following macros, do not change
8301 ## the running order or otherwise move them around unless you know exactly
8302 ## what you are doing...
8303 if test -n "$compiler"; then
8304
8305 lt_prog_compiler_no_builtin_flag=
8306
8307 if test "$GCC" = yes; then
8308 case $cc_basename in
8309 nvcc*)
8310 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8311 *)
8312 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8313 esac
8314
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8316 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8317 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8318 $as_echo_n "(cached) " >&6
8319 else
8320 lt_cv_prog_compiler_rtti_exceptions=no
8321 ac_outfile=conftest.$ac_objext
8322 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8323 lt_compiler_flag="-fno-rtti -fno-exceptions"
8324 # Insert the option either (1) after the last *FLAGS variable, or
8325 # (2) before a word containing "conftest.", or (3) at the end.
8326 # Note that $ac_compile itself does not contain backslashes and begins
8327 # with a dollar sign (not a hyphen), so the echo should work correctly.
8328 # The option is referenced via a variable to avoid confusing sed.
8329 lt_compile=`echo "$ac_compile" | $SED \
8330 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8331 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8332 -e 's:$: $lt_compiler_flag:'`
8333 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8334 (eval "$lt_compile" 2>conftest.err)
8335 ac_status=$?
8336 cat conftest.err >&5
8337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 if (exit $ac_status) && test -s "$ac_outfile"; then
8339 # The compiler can only warn and ignore the option if not recognized
8340 # So say no if there are warnings other than the usual output.
8341 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8342 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8343 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8344 lt_cv_prog_compiler_rtti_exceptions=yes
8345 fi
8346 fi
8347 $RM conftest*
8348
8349 fi
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8351 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8352
8353 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8354 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8355 else
8356 :
8357 fi
8358
8359 fi
8360
8361
8362
8363
8364
8365
8366 lt_prog_compiler_wl=
8367 lt_prog_compiler_pic=
8368 lt_prog_compiler_static=
8369
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8371 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8372
8373 if test "$GCC" = yes; then
8374 lt_prog_compiler_wl='-Wl,'
8375 lt_prog_compiler_static='-static'
8376
8377 case $host_os in
8378 aix*)
8379 # All AIX code is PIC.
8380 if test "$host_cpu" = ia64; then
8381 # AIX 5 now supports IA64 processor
8382 lt_prog_compiler_static='-Bstatic'
8383 fi
8384 ;;
8385
8386 amigaos*)
8387 case $host_cpu in
8388 powerpc)
8389 # see comment about AmigaOS4 .so support
8390 lt_prog_compiler_pic='-fPIC'
8391 ;;
8392 m68k)
8393 # FIXME: we need at least 68020 code to build shared libraries, but
8394 # adding the `-m68020' flag to GCC prevents building anything better,
8395 # like `-m68040'.
8396 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8397 ;;
8398 esac
8399 ;;
8400
8401 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8402 # PIC is the default for these OSes.
8403 ;;
8404
8405 mingw* | cygwin* | pw32* | os2* | cegcc*)
8406 # This hack is so that the source file can tell whether it is being
8407 # built for inclusion in a dll (and should export symbols for example).
8408 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8409 # (--disable-auto-import) libraries
8410 lt_prog_compiler_pic='-DDLL_EXPORT'
8411 ;;
8412
8413 darwin* | rhapsody*)
8414 # PIC is the default on this platform
8415 # Common symbols not allowed in MH_DYLIB files
8416 lt_prog_compiler_pic='-fno-common'
8417 ;;
8418
8419 haiku*)
8420 # PIC is the default for Haiku.
8421 # The "-static" flag exists, but is broken.
8422 lt_prog_compiler_static=
8423 ;;
8424
8425 hpux*)
8426 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8427 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8428 # sets the default TLS model and affects inlining.
8429 case $host_cpu in
8430 hppa*64*)
8431 # +Z the default
8432 ;;
8433 *)
8434 lt_prog_compiler_pic='-fPIC'
8435 ;;
8436 esac
8437 ;;
8438
8439 interix[3-9]*)
8440 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8441 # Instead, we relocate shared libraries at runtime.
8442 ;;
8443
8444 msdosdjgpp*)
8445 # Just because we use GCC doesn't mean we suddenly get shared libraries
8446 # on systems that don't support them.
8447 lt_prog_compiler_can_build_shared=no
8448 enable_shared=no
8449 ;;
8450
8451 *nto* | *qnx*)
8452 # QNX uses GNU C++, but need to define -shared option too, otherwise
8453 # it will coredump.
8454 lt_prog_compiler_pic='-fPIC -shared'
8455 ;;
8456
8457 sysv4*MP*)
8458 if test -d /usr/nec; then
8459 lt_prog_compiler_pic=-Kconform_pic
8460 fi
8461 ;;
8462
8463 *)
8464 lt_prog_compiler_pic='-fPIC'
8465 ;;
8466 esac
8467
8468 case $cc_basename in
8469 nvcc*) # Cuda Compiler Driver 2.2
8470 lt_prog_compiler_wl='-Xlinker '
8471 lt_prog_compiler_pic='-Xcompiler -fPIC'
8472 ;;
8473 esac
8474 else
8475 # PORTME Check for flag to pass linker flags through the system compiler.
8476 case $host_os in
8477 aix*)
8478 lt_prog_compiler_wl='-Wl,'
8479 if test "$host_cpu" = ia64; then
8480 # AIX 5 now supports IA64 processor
8481 lt_prog_compiler_static='-Bstatic'
8482 else
8483 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8484 fi
8485 ;;
8486
8487 mingw* | cygwin* | pw32* | os2* | cegcc*)
8488 # This hack is so that the source file can tell whether it is being
8489 # built for inclusion in a dll (and should export symbols for example).
8490 lt_prog_compiler_pic='-DDLL_EXPORT'
8491 ;;
8492
8493 hpux9* | hpux10* | hpux11*)
8494 lt_prog_compiler_wl='-Wl,'
8495 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8496 # not for PA HP-UX.
8497 case $host_cpu in
8498 hppa*64*|ia64*)
8499 # +Z the default
8500 ;;
8501 *)
8502 lt_prog_compiler_pic='+Z'
8503 ;;
8504 esac
8505 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8506 lt_prog_compiler_static='${wl}-a ${wl}archive'
8507 ;;
8508
8509 irix5* | irix6* | nonstopux*)
8510 lt_prog_compiler_wl='-Wl,'
8511 # PIC (with -KPIC) is the default.
8512 lt_prog_compiler_static='-non_shared'
8513 ;;
8514
8515 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8516 case $cc_basename in
8517 # old Intel for x86_64 which still supported -KPIC.
8518 ecc*)
8519 lt_prog_compiler_wl='-Wl,'
8520 lt_prog_compiler_pic='-KPIC'
8521 lt_prog_compiler_static='-static'
8522 ;;
8523 # icc used to be incompatible with GCC.
8524 # ICC 10 doesn't accept -KPIC any more.
8525 icc* | ifort*)
8526 lt_prog_compiler_wl='-Wl,'
8527 lt_prog_compiler_pic='-fPIC'
8528 lt_prog_compiler_static='-static'
8529 ;;
8530 # Lahey Fortran 8.1.
8531 lf95*)
8532 lt_prog_compiler_wl='-Wl,'
8533 lt_prog_compiler_pic='--shared'
8534 lt_prog_compiler_static='--static'
8535 ;;
8536 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8537 # Portland Group compilers (*not* the Pentium gcc compiler,
8538 # which looks to be a dead project)
8539 lt_prog_compiler_wl='-Wl,'
8540 lt_prog_compiler_pic='-fpic'
8541 lt_prog_compiler_static='-Bstatic'
8542 ;;
8543 ccc*)
8544 lt_prog_compiler_wl='-Wl,'
8545 # All Alpha code is PIC.
8546 lt_prog_compiler_static='-non_shared'
8547 ;;
8548 xl* | bgxl* | bgf* | mpixl*)
8549 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8550 lt_prog_compiler_wl='-Wl,'
8551 lt_prog_compiler_pic='-qpic'
8552 lt_prog_compiler_static='-qstaticlink'
8553 ;;
8554 *)
8555 case `$CC -V 2>&1 | sed 5q` in
8556 *Sun\ F* | *Sun*Fortran*)
8557 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8558 lt_prog_compiler_pic='-KPIC'
8559 lt_prog_compiler_static='-Bstatic'
8560 lt_prog_compiler_wl=''
8561 ;;
8562 *Sun\ C*)
8563 # Sun C 5.9
8564 lt_prog_compiler_pic='-KPIC'
8565 lt_prog_compiler_static='-Bstatic'
8566 lt_prog_compiler_wl='-Wl,'
8567 ;;
8568 esac
8569 ;;
8570 esac
8571 ;;
8572
8573 newsos6)
8574 lt_prog_compiler_pic='-KPIC'
8575 lt_prog_compiler_static='-Bstatic'
8576 ;;
8577
8578 *nto* | *qnx*)
8579 # QNX uses GNU C++, but need to define -shared option too, otherwise
8580 # it will coredump.
8581 lt_prog_compiler_pic='-fPIC -shared'
8582 ;;
8583
8584 osf3* | osf4* | osf5*)
8585 lt_prog_compiler_wl='-Wl,'
8586 # All OSF/1 code is PIC.
8587 lt_prog_compiler_static='-non_shared'
8588 ;;
8589
8590 rdos*)
8591 lt_prog_compiler_static='-non_shared'
8592 ;;
8593
8594 solaris*)
8595 lt_prog_compiler_pic='-KPIC'
8596 lt_prog_compiler_static='-Bstatic'
8597 case $cc_basename in
8598 f77* | f90* | f95*)
8599 lt_prog_compiler_wl='-Qoption ld ';;
8600 *)
8601 lt_prog_compiler_wl='-Wl,';;
8602 esac
8603 ;;
8604
8605 sunos4*)
8606 lt_prog_compiler_wl='-Qoption ld '
8607 lt_prog_compiler_pic='-PIC'
8608 lt_prog_compiler_static='-Bstatic'
8609 ;;
8610
8611 sysv4 | sysv4.2uw2* | sysv4.3*)
8612 lt_prog_compiler_wl='-Wl,'
8613 lt_prog_compiler_pic='-KPIC'
8614 lt_prog_compiler_static='-Bstatic'
8615 ;;
8616
8617 sysv4*MP*)
8618 if test -d /usr/nec ;then
8619 lt_prog_compiler_pic='-Kconform_pic'
8620 lt_prog_compiler_static='-Bstatic'
8621 fi
8622 ;;
8623
8624 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8625 lt_prog_compiler_wl='-Wl,'
8626 lt_prog_compiler_pic='-KPIC'
8627 lt_prog_compiler_static='-Bstatic'
8628 ;;
8629
8630 unicos*)
8631 lt_prog_compiler_wl='-Wl,'
8632 lt_prog_compiler_can_build_shared=no
8633 ;;
8634
8635 uts4*)
8636 lt_prog_compiler_pic='-pic'
8637 lt_prog_compiler_static='-Bstatic'
8638 ;;
8639
8640 *)
8641 lt_prog_compiler_can_build_shared=no
8642 ;;
8643 esac
8644 fi
8645
8646 case $host_os in
8647 # For platforms which do not support PIC, -DPIC is meaningless:
8648 *djgpp*)
8649 lt_prog_compiler_pic=
8650 ;;
8651 *)
8652 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8653 ;;
8654 esac
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8656 $as_echo "$lt_prog_compiler_pic" >&6; }
8657
8658
8659
8660
8661
8662
8663 #
8664 # Check to make sure the PIC flag actually works.
8665 #
8666 if test -n "$lt_prog_compiler_pic"; then
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8668 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8669 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8670 $as_echo_n "(cached) " >&6
8671 else
8672 lt_cv_prog_compiler_pic_works=no
8673 ac_outfile=conftest.$ac_objext
8674 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8675 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8676 # Insert the option either (1) after the last *FLAGS variable, or
8677 # (2) before a word containing "conftest.", or (3) at the end.
8678 # Note that $ac_compile itself does not contain backslashes and begins
8679 # with a dollar sign (not a hyphen), so the echo should work correctly.
8680 # The option is referenced via a variable to avoid confusing sed.
8681 lt_compile=`echo "$ac_compile" | $SED \
8682 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8683 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8684 -e 's:$: $lt_compiler_flag:'`
8685 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8686 (eval "$lt_compile" 2>conftest.err)
8687 ac_status=$?
8688 cat conftest.err >&5
8689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8690 if (exit $ac_status) && test -s "$ac_outfile"; then
8691 # The compiler can only warn and ignore the option if not recognized
8692 # So say no if there are warnings other than the usual output.
8693 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8694 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8695 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8696 lt_cv_prog_compiler_pic_works=yes
8697 fi
8698 fi
8699 $RM conftest*
8700
8701 fi
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8703 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8704
8705 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8706 case $lt_prog_compiler_pic in
8707 "" | " "*) ;;
8708 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8709 esac
8710 else
8711 lt_prog_compiler_pic=
8712 lt_prog_compiler_can_build_shared=no
8713 fi
8714
8715 fi
8716
8717
8718
8719
8720
8721
8722 #
8723 # Check to make sure the static flag actually works.
8724 #
8725 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8727 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8728 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8729 $as_echo_n "(cached) " >&6
8730 else
8731 lt_cv_prog_compiler_static_works=no
8732 save_LDFLAGS="$LDFLAGS"
8733 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8734 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8735 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8736 # The linker can only warn and ignore the option if not recognized
8737 # So say no if there are warnings
8738 if test -s conftest.err; then
8739 # Append any errors to the config.log.
8740 cat conftest.err 1>&5
8741 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8742 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8743 if diff conftest.exp conftest.er2 >/dev/null; then
8744 lt_cv_prog_compiler_static_works=yes
8745 fi
8746 else
8747 lt_cv_prog_compiler_static_works=yes
8748 fi
8749 fi
8750 $RM -r conftest*
8751 LDFLAGS="$save_LDFLAGS"
8752
8753 fi
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8755 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8756
8757 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8758 :
8759 else
8760 lt_prog_compiler_static=
8761 fi
8762
8763
8764
8765
8766
8767
8768
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8770 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8771 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8772 $as_echo_n "(cached) " >&6
8773 else
8774 lt_cv_prog_compiler_c_o=no
8775 $RM -r conftest 2>/dev/null
8776 mkdir conftest
8777 cd conftest
8778 mkdir out
8779 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8780
8781 lt_compiler_flag="-o out/conftest2.$ac_objext"
8782 # Insert the option either (1) after the last *FLAGS variable, or
8783 # (2) before a word containing "conftest.", or (3) at the end.
8784 # Note that $ac_compile itself does not contain backslashes and begins
8785 # with a dollar sign (not a hyphen), so the echo should work correctly.
8786 lt_compile=`echo "$ac_compile" | $SED \
8787 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8788 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8789 -e 's:$: $lt_compiler_flag:'`
8790 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8791 (eval "$lt_compile" 2>out/conftest.err)
8792 ac_status=$?
8793 cat out/conftest.err >&5
8794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8796 then
8797 # The compiler can only warn and ignore the option if not recognized
8798 # So say no if there are warnings
8799 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8800 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8801 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8802 lt_cv_prog_compiler_c_o=yes
8803 fi
8804 fi
8805 chmod u+w . 2>&5
8806 $RM conftest*
8807 # SGI C++ compiler will create directory out/ii_files/ for
8808 # template instantiation
8809 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8810 $RM out/* && rmdir out
8811 cd ..
8812 $RM -r conftest
8813 $RM conftest*
8814
8815 fi
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8817 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8818
8819
8820
8821
8822
8823
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8825 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8826 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8827 $as_echo_n "(cached) " >&6
8828 else
8829 lt_cv_prog_compiler_c_o=no
8830 $RM -r conftest 2>/dev/null
8831 mkdir conftest
8832 cd conftest
8833 mkdir out
8834 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8835
8836 lt_compiler_flag="-o out/conftest2.$ac_objext"
8837 # Insert the option either (1) after the last *FLAGS variable, or
8838 # (2) before a word containing "conftest.", or (3) at the end.
8839 # Note that $ac_compile itself does not contain backslashes and begins
8840 # with a dollar sign (not a hyphen), so the echo should work correctly.
8841 lt_compile=`echo "$ac_compile" | $SED \
8842 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8843 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8844 -e 's:$: $lt_compiler_flag:'`
8845 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8846 (eval "$lt_compile" 2>out/conftest.err)
8847 ac_status=$?
8848 cat out/conftest.err >&5
8849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8850 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8851 then
8852 # The compiler can only warn and ignore the option if not recognized
8853 # So say no if there are warnings
8854 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8855 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8856 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8857 lt_cv_prog_compiler_c_o=yes
8858 fi
8859 fi
8860 chmod u+w . 2>&5
8861 $RM conftest*
8862 # SGI C++ compiler will create directory out/ii_files/ for
8863 # template instantiation
8864 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8865 $RM out/* && rmdir out
8866 cd ..
8867 $RM -r conftest
8868 $RM conftest*
8869
8870 fi
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8872 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8873
8874
8875
8876
8877 hard_links="nottested"
8878 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8879 # do not overwrite the value of need_locks provided by the user
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8881 $as_echo_n "checking if we can lock with hard links... " >&6; }
8882 hard_links=yes
8883 $RM conftest*
8884 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8885 touch conftest.a
8886 ln conftest.a conftest.b 2>&5 || hard_links=no
8887 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8889 $as_echo "$hard_links" >&6; }
8890 if test "$hard_links" = no; then
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8892 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8893 need_locks=warn
8894 fi
8895 else
8896 need_locks=no
8897 fi
8898
8899
8900
8901
8902
8903
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8905 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8906
8907 runpath_var=
8908 allow_undefined_flag=
8909 always_export_symbols=no
8910 archive_cmds=
8911 archive_expsym_cmds=
8912 compiler_needs_object=no
8913 enable_shared_with_static_runtimes=no
8914 export_dynamic_flag_spec=
8915 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8916 hardcode_automatic=no
8917 hardcode_direct=no
8918 hardcode_direct_absolute=no
8919 hardcode_libdir_flag_spec=
8920 hardcode_libdir_flag_spec_ld=
8921 hardcode_libdir_separator=
8922 hardcode_minus_L=no
8923 hardcode_shlibpath_var=unsupported
8924 inherit_rpath=no
8925 link_all_deplibs=unknown
8926 module_cmds=
8927 module_expsym_cmds=
8928 old_archive_from_new_cmds=
8929 old_archive_from_expsyms_cmds=
8930 thread_safe_flag_spec=
8931 whole_archive_flag_spec=
8932 # include_expsyms should be a list of space-separated symbols to be *always*
8933 # included in the symbol list
8934 include_expsyms=
8935 # exclude_expsyms can be an extended regexp of symbols to exclude
8936 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8937 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8938 # as well as any symbol that contains `d'.
8939 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8940 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8941 # platforms (ab)use it in PIC code, but their linkers get confused if
8942 # the symbol is explicitly referenced. Since portable code cannot
8943 # rely on this symbol name, it's probably fine to never include it in
8944 # preloaded symbol tables.
8945 # Exclude shared library initialization/finalization symbols.
8946 extract_expsyms_cmds=
8947
8948 case $host_os in
8949 cygwin* | mingw* | pw32* | cegcc*)
8950 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8951 # When not using gcc, we currently assume that we are using
8952 # Microsoft Visual C++.
8953 if test "$GCC" != yes; then
8954 with_gnu_ld=no
8955 fi
8956 ;;
8957 interix*)
8958 # we just hope/assume this is gcc and not c89 (= MSVC++)
8959 with_gnu_ld=yes
8960 ;;
8961 openbsd*)
8962 with_gnu_ld=no
8963 ;;
8964 esac
8965
8966 ld_shlibs=yes
8967
8968 # On some targets, GNU ld is compatible enough with the native linker
8969 # that we're better off using the native interface for both.
8970 lt_use_gnu_ld_interface=no
8971 if test "$with_gnu_ld" = yes; then
8972 case $host_os in
8973 aix*)
8974 # The AIX port of GNU ld has always aspired to compatibility
8975 # with the native linker. However, as the warning in the GNU ld
8976 # block says, versions before 2.19.5* couldn't really create working
8977 # shared libraries, regardless of the interface used.
8978 case `$LD -v 2>&1` in
8979 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8980 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8981 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8982 *)
8983 lt_use_gnu_ld_interface=yes
8984 ;;
8985 esac
8986 ;;
8987 *)
8988 lt_use_gnu_ld_interface=yes
8989 ;;
8990 esac
8991 fi
8992
8993 if test "$lt_use_gnu_ld_interface" = yes; then
8994 # If archive_cmds runs LD, not CC, wlarc should be empty
8995 wlarc='${wl}'
8996
8997 # Set some defaults for GNU ld with shared library support. These
8998 # are reset later if shared libraries are not supported. Putting them
8999 # here allows them to be overridden if necessary.
9000 runpath_var=LD_RUN_PATH
9001 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9002 export_dynamic_flag_spec='${wl}--export-dynamic'
9003 # ancient GNU ld didn't support --whole-archive et. al.
9004 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9005 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9006 else
9007 whole_archive_flag_spec=
9008 fi
9009 supports_anon_versioning=no
9010 case `$LD -v 2>&1` in
9011 *GNU\ gold*) supports_anon_versioning=yes ;;
9012 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9013 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9014 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9015 *\ 2.11.*) ;; # other 2.11 versions
9016 *) supports_anon_versioning=yes ;;
9017 esac
9018
9019 # See if GNU ld supports shared libraries.
9020 case $host_os in
9021 aix[3-9]*)
9022 # On AIX/PPC, the GNU linker is very broken
9023 if test "$host_cpu" != ia64; then
9024 ld_shlibs=no
9025 cat <<_LT_EOF 1>&2
9026
9027 *** Warning: the GNU linker, at least up to release 2.19, is reported
9028 *** to be unable to reliably create shared libraries on AIX.
9029 *** Therefore, libtool is disabling shared libraries support. If you
9030 *** really care for shared libraries, you may want to install binutils
9031 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9032 *** You will then need to restart the configuration process.
9033
9034 _LT_EOF
9035 fi
9036 ;;
9037
9038 amigaos*)
9039 case $host_cpu in
9040 powerpc)
9041 # see comment about AmigaOS4 .so support
9042 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9043 archive_expsym_cmds=''
9044 ;;
9045 m68k)
9046 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)'
9047 hardcode_libdir_flag_spec='-L$libdir'
9048 hardcode_minus_L=yes
9049 ;;
9050 esac
9051 ;;
9052
9053 beos*)
9054 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9055 allow_undefined_flag=unsupported
9056 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9057 # support --undefined. This deserves some investigation. FIXME
9058 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9059 else
9060 ld_shlibs=no
9061 fi
9062 ;;
9063
9064 cygwin* | mingw* | pw32* | cegcc*)
9065 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9066 # as there is no search path for DLLs.
9067 hardcode_libdir_flag_spec='-L$libdir'
9068 export_dynamic_flag_spec='${wl}--export-all-symbols'
9069 allow_undefined_flag=unsupported
9070 always_export_symbols=no
9071 enable_shared_with_static_runtimes=yes
9072 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9073
9074 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9075 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9076 # If the export-symbols file already is a .def file (1st line
9077 # is EXPORTS), use it as is; otherwise, prepend...
9078 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9079 cp $export_symbols $output_objdir/$soname.def;
9080 else
9081 echo EXPORTS > $output_objdir/$soname.def;
9082 cat $export_symbols >> $output_objdir/$soname.def;
9083 fi~
9084 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9085 else
9086 ld_shlibs=no
9087 fi
9088 ;;
9089
9090 haiku*)
9091 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9092 link_all_deplibs=yes
9093 ;;
9094
9095 interix[3-9]*)
9096 hardcode_direct=no
9097 hardcode_shlibpath_var=no
9098 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9099 export_dynamic_flag_spec='${wl}-E'
9100 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9101 # Instead, shared libraries are loaded at an image base (0x10000000 by
9102 # default) and relocated if they conflict, which is a slow very memory
9103 # consuming and fragmenting process. To avoid this, we pick a random,
9104 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9105 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9106 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9107 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'
9108 ;;
9109
9110 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9111 tmp_diet=no
9112 if test "$host_os" = linux-dietlibc; then
9113 case $cc_basename in
9114 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9115 esac
9116 fi
9117 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9118 && test "$tmp_diet" = no
9119 then
9120 tmp_addflag=
9121 tmp_sharedflag='-shared'
9122 case $cc_basename,$host_cpu in
9123 pgcc*) # Portland Group C compiler
9124 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'
9125 tmp_addflag=' $pic_flag'
9126 ;;
9127 pgf77* | pgf90* | pgf95* | pgfortran*)
9128 # Portland Group f77 and f90 compilers
9129 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'
9130 tmp_addflag=' $pic_flag -Mnomain' ;;
9131 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9132 tmp_addflag=' -i_dynamic' ;;
9133 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9134 tmp_addflag=' -i_dynamic -nofor_main' ;;
9135 ifc* | ifort*) # Intel Fortran compiler
9136 tmp_addflag=' -nofor_main' ;;
9137 lf95*) # Lahey Fortran 8.1
9138 whole_archive_flag_spec=
9139 tmp_sharedflag='--shared' ;;
9140 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9141 tmp_sharedflag='-qmkshrobj'
9142 tmp_addflag= ;;
9143 nvcc*) # Cuda Compiler Driver 2.2
9144 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'
9145 compiler_needs_object=yes
9146 ;;
9147 esac
9148 case `$CC -V 2>&1 | sed 5q` in
9149 *Sun\ C*) # Sun C 5.9
9150 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'
9151 compiler_needs_object=yes
9152 tmp_sharedflag='-G' ;;
9153 *Sun\ F*) # Sun Fortran 8.3
9154 tmp_sharedflag='-G' ;;
9155 esac
9156 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9157
9158 if test "x$supports_anon_versioning" = xyes; then
9159 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9160 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9161 echo "local: *; };" >> $output_objdir/$libname.ver~
9162 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9163 fi
9164
9165 case $cc_basename in
9166 xlf* | bgf* | bgxlf* | mpixlf*)
9167 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9168 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9169 hardcode_libdir_flag_spec=
9170 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9171 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9172 if test "x$supports_anon_versioning" = xyes; then
9173 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9174 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9175 echo "local: *; };" >> $output_objdir/$libname.ver~
9176 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9177 fi
9178 ;;
9179 esac
9180 else
9181 ld_shlibs=no
9182 fi
9183 ;;
9184
9185 netbsd*)
9186 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9187 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9188 wlarc=
9189 else
9190 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9191 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9192 fi
9193 ;;
9194
9195 solaris*)
9196 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9197 ld_shlibs=no
9198 cat <<_LT_EOF 1>&2
9199
9200 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9201 *** create shared libraries on Solaris systems. Therefore, libtool
9202 *** is disabling shared libraries support. We urge you to upgrade GNU
9203 *** binutils to release 2.9.1 or newer. Another option is to modify
9204 *** your PATH or compiler configuration so that the native linker is
9205 *** used, and then restart.
9206
9207 _LT_EOF
9208 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9209 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9210 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9211 else
9212 ld_shlibs=no
9213 fi
9214 ;;
9215
9216 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9217 case `$LD -v 2>&1` in
9218 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9219 ld_shlibs=no
9220 cat <<_LT_EOF 1>&2
9221
9222 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9223 *** reliably create shared libraries on SCO systems. Therefore, libtool
9224 *** is disabling shared libraries support. We urge you to upgrade GNU
9225 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9226 *** your PATH or compiler configuration so that the native linker is
9227 *** used, and then restart.
9228
9229 _LT_EOF
9230 ;;
9231 *)
9232 # For security reasons, it is highly recommended that you always
9233 # use absolute paths for naming shared libraries, and exclude the
9234 # DT_RUNPATH tag from executables and libraries. But doing so
9235 # requires that you compile everything twice, which is a pain.
9236 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9237 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9238 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9239 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9240 else
9241 ld_shlibs=no
9242 fi
9243 ;;
9244 esac
9245 ;;
9246
9247 sunos4*)
9248 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9249 wlarc=
9250 hardcode_direct=yes
9251 hardcode_shlibpath_var=no
9252 ;;
9253
9254 *)
9255 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9256 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9257 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9258 else
9259 ld_shlibs=no
9260 fi
9261 ;;
9262 esac
9263
9264 if test "$ld_shlibs" = no; then
9265 runpath_var=
9266 hardcode_libdir_flag_spec=
9267 export_dynamic_flag_spec=
9268 whole_archive_flag_spec=
9269 fi
9270 else
9271 # PORTME fill in a description of your system's linker (not GNU ld)
9272 case $host_os in
9273 aix3*)
9274 allow_undefined_flag=unsupported
9275 always_export_symbols=yes
9276 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'
9277 # Note: this linker hardcodes the directories in LIBPATH if there
9278 # are no directories specified by -L.
9279 hardcode_minus_L=yes
9280 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9281 # Neither direct hardcoding nor static linking is supported with a
9282 # broken collect2.
9283 hardcode_direct=unsupported
9284 fi
9285 ;;
9286
9287 aix[4-9]*)
9288 if test "$host_cpu" = ia64; then
9289 # On IA64, the linker does run time linking by default, so we don't
9290 # have to do anything special.
9291 aix_use_runtimelinking=no
9292 exp_sym_flag='-Bexport'
9293 no_entry_flag=""
9294 else
9295 # If we're using GNU nm, then we don't want the "-C" option.
9296 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9297 # Also, AIX nm treats weak defined symbols like other global
9298 # defined symbols, whereas GNU nm marks them as "W".
9299 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9300 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'
9301 else
9302 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9303 fi
9304 aix_use_runtimelinking=no
9305
9306 # Test if we are trying to use run time linking or normal
9307 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9308 # need to do runtime linking.
9309 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9310 for ld_flag in $LDFLAGS; do
9311 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9312 aix_use_runtimelinking=yes
9313 break
9314 fi
9315 done
9316 ;;
9317 esac
9318
9319 exp_sym_flag='-bexport'
9320 no_entry_flag='-bnoentry'
9321 fi
9322
9323 # When large executables or shared objects are built, AIX ld can
9324 # have problems creating the table of contents. If linking a library
9325 # or program results in "error TOC overflow" add -mminimal-toc to
9326 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9327 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9328
9329 archive_cmds=''
9330 hardcode_direct=yes
9331 hardcode_direct_absolute=yes
9332 hardcode_libdir_separator=':'
9333 link_all_deplibs=yes
9334 file_list_spec='${wl}-f,'
9335
9336 if test "$GCC" = yes; then
9337 case $host_os in aix4.[012]|aix4.[012].*)
9338 # We only want to do this on AIX 4.2 and lower, the check
9339 # below for broken collect2 doesn't work under 4.3+
9340 collect2name=`${CC} -print-prog-name=collect2`
9341 if test -f "$collect2name" &&
9342 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9343 then
9344 # We have reworked collect2
9345 :
9346 else
9347 # We have old collect2
9348 hardcode_direct=unsupported
9349 # It fails to find uninstalled libraries when the uninstalled
9350 # path is not listed in the libpath. Setting hardcode_minus_L
9351 # to unsupported forces relinking
9352 hardcode_minus_L=yes
9353 hardcode_libdir_flag_spec='-L$libdir'
9354 hardcode_libdir_separator=
9355 fi
9356 ;;
9357 esac
9358 shared_flag='-shared'
9359 if test "$aix_use_runtimelinking" = yes; then
9360 shared_flag="$shared_flag "'${wl}-G'
9361 fi
9362 else
9363 # not using gcc
9364 if test "$host_cpu" = ia64; then
9365 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9366 # chokes on -Wl,-G. The following line is correct:
9367 shared_flag='-G'
9368 else
9369 if test "$aix_use_runtimelinking" = yes; then
9370 shared_flag='${wl}-G'
9371 else
9372 shared_flag='${wl}-bM:SRE'
9373 fi
9374 fi
9375 fi
9376
9377 export_dynamic_flag_spec='${wl}-bexpall'
9378 # It seems that -bexpall does not export symbols beginning with
9379 # underscore (_), so it is better to generate a list of symbols to export.
9380 always_export_symbols=yes
9381 if test "$aix_use_runtimelinking" = yes; then
9382 # Warning - without using the other runtime loading flags (-brtl),
9383 # -berok will link without error, but may produce a broken library.
9384 allow_undefined_flag='-berok'
9385 # Determine the default libpath from the value encoded in an
9386 # empty executable.
9387 if test x$gcc_no_link = xyes; then
9388 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9389 fi
9390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9391 /* end confdefs.h. */
9392
9393 int
9394 main ()
9395 {
9396
9397 ;
9398 return 0;
9399 }
9400 _ACEOF
9401 if ac_fn_c_try_link "$LINENO"; then :
9402
9403 lt_aix_libpath_sed='
9404 /Import File Strings/,/^$/ {
9405 /^0/ {
9406 s/^0 *\(.*\)$/\1/
9407 p
9408 }
9409 }'
9410 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9411 # Check for a 64-bit object if we didn't find anything.
9412 if test -z "$aix_libpath"; then
9413 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9414 fi
9415 fi
9416 rm -f core conftest.err conftest.$ac_objext \
9417 conftest$ac_exeext conftest.$ac_ext
9418 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9419
9420 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9421 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"
9422 else
9423 if test "$host_cpu" = ia64; then
9424 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9425 allow_undefined_flag="-z nodefs"
9426 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"
9427 else
9428 # Determine the default libpath from the value encoded in an
9429 # empty executable.
9430 if test x$gcc_no_link = xyes; then
9431 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9432 fi
9433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9434 /* end confdefs.h. */
9435
9436 int
9437 main ()
9438 {
9439
9440 ;
9441 return 0;
9442 }
9443 _ACEOF
9444 if ac_fn_c_try_link "$LINENO"; then :
9445
9446 lt_aix_libpath_sed='
9447 /Import File Strings/,/^$/ {
9448 /^0/ {
9449 s/^0 *\(.*\)$/\1/
9450 p
9451 }
9452 }'
9453 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9454 # Check for a 64-bit object if we didn't find anything.
9455 if test -z "$aix_libpath"; then
9456 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9457 fi
9458 fi
9459 rm -f core conftest.err conftest.$ac_objext \
9460 conftest$ac_exeext conftest.$ac_ext
9461 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9462
9463 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9464 # Warning - without using the other run time loading flags,
9465 # -berok will link without error, but may produce a broken library.
9466 no_undefined_flag=' ${wl}-bernotok'
9467 allow_undefined_flag=' ${wl}-berok'
9468 if test "$with_gnu_ld" = yes; then
9469 # We only use this code for GNU lds that support --whole-archive.
9470 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9471 else
9472 # Exported symbols can be pulled into shared objects from archives
9473 whole_archive_flag_spec='$convenience'
9474 fi
9475 archive_cmds_need_lc=yes
9476 # This is similar to how AIX traditionally builds its shared libraries.
9477 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'
9478 fi
9479 fi
9480 ;;
9481
9482 amigaos*)
9483 case $host_cpu in
9484 powerpc)
9485 # see comment about AmigaOS4 .so support
9486 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9487 archive_expsym_cmds=''
9488 ;;
9489 m68k)
9490 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)'
9491 hardcode_libdir_flag_spec='-L$libdir'
9492 hardcode_minus_L=yes
9493 ;;
9494 esac
9495 ;;
9496
9497 bsdi[45]*)
9498 export_dynamic_flag_spec=-rdynamic
9499 ;;
9500
9501 cygwin* | mingw* | pw32* | cegcc*)
9502 # When not using gcc, we currently assume that we are using
9503 # Microsoft Visual C++.
9504 # hardcode_libdir_flag_spec is actually meaningless, as there is
9505 # no search path for DLLs.
9506 hardcode_libdir_flag_spec=' '
9507 allow_undefined_flag=unsupported
9508 # Tell ltmain to make .lib files, not .a files.
9509 libext=lib
9510 # Tell ltmain to make .dll files, not .so files.
9511 shrext_cmds=".dll"
9512 # FIXME: Setting linknames here is a bad hack.
9513 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9514 # The linker will automatically build a .lib file if we build a DLL.
9515 old_archive_from_new_cmds='true'
9516 # FIXME: Should let the user specify the lib program.
9517 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9518 fix_srcfile_path='`cygpath -w "$srcfile"`'
9519 enable_shared_with_static_runtimes=yes
9520 ;;
9521
9522 darwin* | rhapsody*)
9523
9524
9525 archive_cmds_need_lc=no
9526 hardcode_direct=no
9527 hardcode_automatic=yes
9528 hardcode_shlibpath_var=unsupported
9529 if test "$lt_cv_ld_force_load" = "yes"; then
9530 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\"`'
9531 else
9532 whole_archive_flag_spec=''
9533 fi
9534 link_all_deplibs=yes
9535 allow_undefined_flag="$_lt_dar_allow_undefined"
9536 case $cc_basename in
9537 ifort*) _lt_dar_can_shared=yes ;;
9538 *) _lt_dar_can_shared=$GCC ;;
9539 esac
9540 if test "$_lt_dar_can_shared" = "yes"; then
9541 output_verbose_link_cmd=func_echo_all
9542 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9543 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9544 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}"
9545 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}"
9546
9547 else
9548 ld_shlibs=no
9549 fi
9550
9551 ;;
9552
9553 dgux*)
9554 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9555 hardcode_libdir_flag_spec='-L$libdir'
9556 hardcode_shlibpath_var=no
9557 ;;
9558
9559 freebsd1*)
9560 ld_shlibs=no
9561 ;;
9562
9563 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9564 # support. Future versions do this automatically, but an explicit c++rt0.o
9565 # does not break anything, and helps significantly (at the cost of a little
9566 # extra space).
9567 freebsd2.2*)
9568 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9569 hardcode_libdir_flag_spec='-R$libdir'
9570 hardcode_direct=yes
9571 hardcode_shlibpath_var=no
9572 ;;
9573
9574 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9575 freebsd2*)
9576 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9577 hardcode_direct=yes
9578 hardcode_minus_L=yes
9579 hardcode_shlibpath_var=no
9580 ;;
9581
9582 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9583 freebsd* | dragonfly*)
9584 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9585 hardcode_libdir_flag_spec='-R$libdir'
9586 hardcode_direct=yes
9587 hardcode_shlibpath_var=no
9588 ;;
9589
9590 hpux9*)
9591 if test "$GCC" = yes; then
9592 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'
9593 else
9594 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'
9595 fi
9596 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9597 hardcode_libdir_separator=:
9598 hardcode_direct=yes
9599
9600 # hardcode_minus_L: Not really in the search PATH,
9601 # but as the default location of the library.
9602 hardcode_minus_L=yes
9603 export_dynamic_flag_spec='${wl}-E'
9604 ;;
9605
9606 hpux10*)
9607 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9608 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9609 else
9610 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9611 fi
9612 if test "$with_gnu_ld" = no; then
9613 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9614 hardcode_libdir_flag_spec_ld='+b $libdir'
9615 hardcode_libdir_separator=:
9616 hardcode_direct=yes
9617 hardcode_direct_absolute=yes
9618 export_dynamic_flag_spec='${wl}-E'
9619 # hardcode_minus_L: Not really in the search PATH,
9620 # but as the default location of the library.
9621 hardcode_minus_L=yes
9622 fi
9623 ;;
9624
9625 hpux11*)
9626 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9627 case $host_cpu in
9628 hppa*64*)
9629 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9630 ;;
9631 ia64*)
9632 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9633 ;;
9634 *)
9635 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9636 ;;
9637 esac
9638 else
9639 case $host_cpu in
9640 hppa*64*)
9641 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9642 ;;
9643 ia64*)
9644 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9645 ;;
9646 *)
9647
9648 # Older versions of the 11.00 compiler do not understand -b yet
9649 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9651 $as_echo_n "checking if $CC understands -b... " >&6; }
9652 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9653 $as_echo_n "(cached) " >&6
9654 else
9655 lt_cv_prog_compiler__b=no
9656 save_LDFLAGS="$LDFLAGS"
9657 LDFLAGS="$LDFLAGS -b"
9658 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9659 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9660 # The linker can only warn and ignore the option if not recognized
9661 # So say no if there are warnings
9662 if test -s conftest.err; then
9663 # Append any errors to the config.log.
9664 cat conftest.err 1>&5
9665 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9666 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9667 if diff conftest.exp conftest.er2 >/dev/null; then
9668 lt_cv_prog_compiler__b=yes
9669 fi
9670 else
9671 lt_cv_prog_compiler__b=yes
9672 fi
9673 fi
9674 $RM -r conftest*
9675 LDFLAGS="$save_LDFLAGS"
9676
9677 fi
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9679 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9680
9681 if test x"$lt_cv_prog_compiler__b" = xyes; then
9682 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9683 else
9684 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9685 fi
9686
9687 ;;
9688 esac
9689 fi
9690 if test "$with_gnu_ld" = no; then
9691 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9692 hardcode_libdir_separator=:
9693
9694 case $host_cpu in
9695 hppa*64*|ia64*)
9696 hardcode_direct=no
9697 hardcode_shlibpath_var=no
9698 ;;
9699 *)
9700 hardcode_direct=yes
9701 hardcode_direct_absolute=yes
9702 export_dynamic_flag_spec='${wl}-E'
9703
9704 # hardcode_minus_L: Not really in the search PATH,
9705 # but as the default location of the library.
9706 hardcode_minus_L=yes
9707 ;;
9708 esac
9709 fi
9710 ;;
9711
9712 irix5* | irix6* | nonstopux*)
9713 if test "$GCC" = yes; then
9714 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'
9715 # Try to use the -exported_symbol ld option, if it does not
9716 # work, assume that -exports_file does not work either and
9717 # implicitly export all symbols.
9718 save_LDFLAGS="$LDFLAGS"
9719 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9720 if test x$gcc_no_link = xyes; then
9721 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9722 fi
9723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9724 /* end confdefs.h. */
9725 int foo(void) {}
9726 _ACEOF
9727 if ac_fn_c_try_link "$LINENO"; then :
9728 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'
9729
9730 fi
9731 rm -f core conftest.err conftest.$ac_objext \
9732 conftest$ac_exeext conftest.$ac_ext
9733 LDFLAGS="$save_LDFLAGS"
9734 else
9735 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'
9736 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'
9737 fi
9738 archive_cmds_need_lc='no'
9739 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9740 hardcode_libdir_separator=:
9741 inherit_rpath=yes
9742 link_all_deplibs=yes
9743 ;;
9744
9745 netbsd*)
9746 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9747 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9748 else
9749 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9750 fi
9751 hardcode_libdir_flag_spec='-R$libdir'
9752 hardcode_direct=yes
9753 hardcode_shlibpath_var=no
9754 ;;
9755
9756 newsos6)
9757 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9758 hardcode_direct=yes
9759 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9760 hardcode_libdir_separator=:
9761 hardcode_shlibpath_var=no
9762 ;;
9763
9764 *nto* | *qnx*)
9765 ;;
9766
9767 openbsd*)
9768 if test -f /usr/libexec/ld.so; then
9769 hardcode_direct=yes
9770 hardcode_shlibpath_var=no
9771 hardcode_direct_absolute=yes
9772 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9773 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9774 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9775 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9776 export_dynamic_flag_spec='${wl}-E'
9777 else
9778 case $host_os in
9779 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9780 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9781 hardcode_libdir_flag_spec='-R$libdir'
9782 ;;
9783 *)
9784 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9785 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9786 ;;
9787 esac
9788 fi
9789 else
9790 ld_shlibs=no
9791 fi
9792 ;;
9793
9794 os2*)
9795 hardcode_libdir_flag_spec='-L$libdir'
9796 hardcode_minus_L=yes
9797 allow_undefined_flag=unsupported
9798 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'
9799 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9800 ;;
9801
9802 osf3*)
9803 if test "$GCC" = yes; then
9804 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9805 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'
9806 else
9807 allow_undefined_flag=' -expect_unresolved \*'
9808 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'
9809 fi
9810 archive_cmds_need_lc='no'
9811 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9812 hardcode_libdir_separator=:
9813 ;;
9814
9815 osf4* | osf5*) # as osf3* with the addition of -msym flag
9816 if test "$GCC" = yes; then
9817 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9818 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'
9819 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9820 else
9821 allow_undefined_flag=' -expect_unresolved \*'
9822 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'
9823 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~
9824 $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'
9825
9826 # Both c and cxx compiler support -rpath directly
9827 hardcode_libdir_flag_spec='-rpath $libdir'
9828 fi
9829 archive_cmds_need_lc='no'
9830 hardcode_libdir_separator=:
9831 ;;
9832
9833 solaris*)
9834 no_undefined_flag=' -z defs'
9835 if test "$GCC" = yes; then
9836 wlarc='${wl}'
9837 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9838 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9839 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9840 else
9841 case `$CC -V 2>&1` in
9842 *"Compilers 5.0"*)
9843 wlarc=''
9844 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9845 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9846 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9847 ;;
9848 *)
9849 wlarc='${wl}'
9850 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9851 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9852 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9853 ;;
9854 esac
9855 fi
9856 hardcode_libdir_flag_spec='-R$libdir'
9857 hardcode_shlibpath_var=no
9858 case $host_os in
9859 solaris2.[0-5] | solaris2.[0-5].*) ;;
9860 *)
9861 # The compiler driver will combine and reorder linker options,
9862 # but understands `-z linker_flag'. GCC discards it without `$wl',
9863 # but is careful enough not to reorder.
9864 # Supported since Solaris 2.6 (maybe 2.5.1?)
9865 if test "$GCC" = yes; then
9866 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9867 else
9868 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9869 fi
9870 ;;
9871 esac
9872 link_all_deplibs=yes
9873 ;;
9874
9875 sunos4*)
9876 if test "x$host_vendor" = xsequent; then
9877 # Use $CC to link under sequent, because it throws in some extra .o
9878 # files that make .init and .fini sections work.
9879 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9880 else
9881 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9882 fi
9883 hardcode_libdir_flag_spec='-L$libdir'
9884 hardcode_direct=yes
9885 hardcode_minus_L=yes
9886 hardcode_shlibpath_var=no
9887 ;;
9888
9889 sysv4)
9890 case $host_vendor in
9891 sni)
9892 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9893 hardcode_direct=yes # is this really true???
9894 ;;
9895 siemens)
9896 ## LD is ld it makes a PLAMLIB
9897 ## CC just makes a GrossModule.
9898 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9899 reload_cmds='$CC -r -o $output$reload_objs'
9900 hardcode_direct=no
9901 ;;
9902 motorola)
9903 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9904 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9905 ;;
9906 esac
9907 runpath_var='LD_RUN_PATH'
9908 hardcode_shlibpath_var=no
9909 ;;
9910
9911 sysv4.3*)
9912 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9913 hardcode_shlibpath_var=no
9914 export_dynamic_flag_spec='-Bexport'
9915 ;;
9916
9917 sysv4*MP*)
9918 if test -d /usr/nec; then
9919 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9920 hardcode_shlibpath_var=no
9921 runpath_var=LD_RUN_PATH
9922 hardcode_runpath_var=yes
9923 ld_shlibs=yes
9924 fi
9925 ;;
9926
9927 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9928 no_undefined_flag='${wl}-z,text'
9929 archive_cmds_need_lc=no
9930 hardcode_shlibpath_var=no
9931 runpath_var='LD_RUN_PATH'
9932
9933 if test "$GCC" = yes; then
9934 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9935 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9936 else
9937 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9938 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9939 fi
9940 ;;
9941
9942 sysv5* | sco3.2v5* | sco5v6*)
9943 # Note: We can NOT use -z defs as we might desire, because we do not
9944 # link with -lc, and that would cause any symbols used from libc to
9945 # always be unresolved, which means just about no library would
9946 # ever link correctly. If we're not using GNU ld we use -z text
9947 # though, which does catch some bad symbols but isn't as heavy-handed
9948 # as -z defs.
9949 no_undefined_flag='${wl}-z,text'
9950 allow_undefined_flag='${wl}-z,nodefs'
9951 archive_cmds_need_lc=no
9952 hardcode_shlibpath_var=no
9953 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9954 hardcode_libdir_separator=':'
9955 link_all_deplibs=yes
9956 export_dynamic_flag_spec='${wl}-Bexport'
9957 runpath_var='LD_RUN_PATH'
9958
9959 if test "$GCC" = yes; then
9960 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9961 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9962 else
9963 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9964 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9965 fi
9966 ;;
9967
9968 uts4*)
9969 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9970 hardcode_libdir_flag_spec='-L$libdir'
9971 hardcode_shlibpath_var=no
9972 ;;
9973
9974 *)
9975 ld_shlibs=no
9976 ;;
9977 esac
9978
9979 if test x$host_vendor = xsni; then
9980 case $host in
9981 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9982 export_dynamic_flag_spec='${wl}-Blargedynsym'
9983 ;;
9984 esac
9985 fi
9986 fi
9987
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9989 $as_echo "$ld_shlibs" >&6; }
9990 test "$ld_shlibs" = no && can_build_shared=no
9991
9992 with_gnu_ld=$with_gnu_ld
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008 #
10009 # Do we need to explicitly link libc?
10010 #
10011 case "x$archive_cmds_need_lc" in
10012 x|xyes)
10013 # Assume -lc should be added
10014 archive_cmds_need_lc=yes
10015
10016 if test "$enable_shared" = yes && test "$GCC" = yes; then
10017 case $archive_cmds in
10018 *'~'*)
10019 # FIXME: we may have to deal with multi-command sequences.
10020 ;;
10021 '$CC '*)
10022 # Test whether the compiler implicitly links with -lc since on some
10023 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10024 # to ld, don't add -lc before -lgcc.
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10026 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10027 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10028 $as_echo_n "(cached) " >&6
10029 else
10030 $RM conftest*
10031 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10032
10033 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10034 (eval $ac_compile) 2>&5
10035 ac_status=$?
10036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10037 test $ac_status = 0; } 2>conftest.err; then
10038 soname=conftest
10039 lib=conftest
10040 libobjs=conftest.$ac_objext
10041 deplibs=
10042 wl=$lt_prog_compiler_wl
10043 pic_flag=$lt_prog_compiler_pic
10044 compiler_flags=-v
10045 linker_flags=-v
10046 verstring=
10047 output_objdir=.
10048 libname=conftest
10049 lt_save_allow_undefined_flag=$allow_undefined_flag
10050 allow_undefined_flag=
10051 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10052 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10053 ac_status=$?
10054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10055 test $ac_status = 0; }
10056 then
10057 lt_cv_archive_cmds_need_lc=no
10058 else
10059 lt_cv_archive_cmds_need_lc=yes
10060 fi
10061 allow_undefined_flag=$lt_save_allow_undefined_flag
10062 else
10063 cat conftest.err 1>&5
10064 fi
10065 $RM conftest*
10066
10067 fi
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10069 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10070 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10071 ;;
10072 esac
10073 fi
10074 ;;
10075 esac
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10234 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10235
10236 if test "$GCC" = yes; then
10237 case $host_os in
10238 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10239 *) lt_awk_arg="/^libraries:/" ;;
10240 esac
10241 case $host_os in
10242 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10243 *) lt_sed_strip_eq="s,=/,/,g" ;;
10244 esac
10245 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10246 case $lt_search_path_spec in
10247 *\;*)
10248 # if the path contains ";" then we assume it to be the separator
10249 # otherwise default to the standard path separator (i.e. ":") - it is
10250 # assumed that no part of a normal pathname contains ";" but that should
10251 # okay in the real world where ";" in dirpaths is itself problematic.
10252 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10253 ;;
10254 *)
10255 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10256 ;;
10257 esac
10258 # Ok, now we have the path, separated by spaces, we can step through it
10259 # and add multilib dir if necessary.
10260 lt_tmp_lt_search_path_spec=
10261 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10262 for lt_sys_path in $lt_search_path_spec; do
10263 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10264 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10265 else
10266 test -d "$lt_sys_path" && \
10267 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10268 fi
10269 done
10270 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10271 BEGIN {RS=" "; FS="/|\n";} {
10272 lt_foo="";
10273 lt_count=0;
10274 for (lt_i = NF; lt_i > 0; lt_i--) {
10275 if ($lt_i != "" && $lt_i != ".") {
10276 if ($lt_i == "..") {
10277 lt_count++;
10278 } else {
10279 if (lt_count == 0) {
10280 lt_foo="/" $lt_i lt_foo;
10281 } else {
10282 lt_count--;
10283 }
10284 }
10285 }
10286 }
10287 if (lt_foo != "") { lt_freq[lt_foo]++; }
10288 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10289 }'`
10290 # AWK program above erroneously prepends '/' to C:/dos/paths
10291 # for these hosts.
10292 case $host_os in
10293 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10294 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10295 esac
10296 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10297 else
10298 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10299 fi
10300 library_names_spec=
10301 libname_spec='lib$name'
10302 soname_spec=
10303 shrext_cmds=".so"
10304 postinstall_cmds=
10305 postuninstall_cmds=
10306 finish_cmds=
10307 finish_eval=
10308 shlibpath_var=
10309 shlibpath_overrides_runpath=unknown
10310 version_type=none
10311 dynamic_linker="$host_os ld.so"
10312 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10313 need_lib_prefix=unknown
10314 hardcode_into_libs=no
10315
10316 # when you set need_version to no, make sure it does not cause -set_version
10317 # flags to be left without arguments
10318 need_version=unknown
10319
10320 case $host_os in
10321 aix3*)
10322 version_type=linux
10323 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10324 shlibpath_var=LIBPATH
10325
10326 # AIX 3 has no versioning support, so we append a major version to the name.
10327 soname_spec='${libname}${release}${shared_ext}$major'
10328 ;;
10329
10330 aix[4-9]*)
10331 version_type=linux
10332 need_lib_prefix=no
10333 need_version=no
10334 hardcode_into_libs=yes
10335 if test "$host_cpu" = ia64; then
10336 # AIX 5 supports IA64
10337 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10338 shlibpath_var=LD_LIBRARY_PATH
10339 else
10340 # With GCC up to 2.95.x, collect2 would create an import file
10341 # for dependence libraries. The import file would start with
10342 # the line `#! .'. This would cause the generated library to
10343 # depend on `.', always an invalid library. This was fixed in
10344 # development snapshots of GCC prior to 3.0.
10345 case $host_os in
10346 aix4 | aix4.[01] | aix4.[01].*)
10347 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10348 echo ' yes '
10349 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10350 :
10351 else
10352 can_build_shared=no
10353 fi
10354 ;;
10355 esac
10356 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10357 # soname into executable. Probably we can add versioning support to
10358 # collect2, so additional links can be useful in future.
10359 if test "$aix_use_runtimelinking" = yes; then
10360 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10361 # instead of lib<name>.a to let people know that these are not
10362 # typical AIX shared libraries.
10363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10364 else
10365 # We preserve .a as extension for shared libraries through AIX4.2
10366 # and later when we are not doing run time linking.
10367 library_names_spec='${libname}${release}.a $libname.a'
10368 soname_spec='${libname}${release}${shared_ext}$major'
10369 fi
10370 shlibpath_var=LIBPATH
10371 fi
10372 ;;
10373
10374 amigaos*)
10375 case $host_cpu in
10376 powerpc)
10377 # Since July 2007 AmigaOS4 officially supports .so libraries.
10378 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10380 ;;
10381 m68k)
10382 library_names_spec='$libname.ixlibrary $libname.a'
10383 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10384 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'
10385 ;;
10386 esac
10387 ;;
10388
10389 beos*)
10390 library_names_spec='${libname}${shared_ext}'
10391 dynamic_linker="$host_os ld.so"
10392 shlibpath_var=LIBRARY_PATH
10393 ;;
10394
10395 bsdi[45]*)
10396 version_type=linux
10397 need_version=no
10398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10399 soname_spec='${libname}${release}${shared_ext}$major'
10400 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10401 shlibpath_var=LD_LIBRARY_PATH
10402 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10403 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10404 # the default ld.so.conf also contains /usr/contrib/lib and
10405 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10406 # libtool to hard-code these into programs
10407 ;;
10408
10409 cygwin* | mingw* | pw32* | cegcc*)
10410 version_type=windows
10411 shrext_cmds=".dll"
10412 need_version=no
10413 need_lib_prefix=no
10414
10415 case $GCC,$host_os in
10416 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10417 library_names_spec='$libname.dll.a'
10418 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10419 postinstall_cmds='base_file=`basename \${file}`~
10420 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10421 dldir=$destdir/`dirname \$dlpath`~
10422 test -d \$dldir || mkdir -p \$dldir~
10423 $install_prog $dir/$dlname \$dldir/$dlname~
10424 chmod a+x \$dldir/$dlname~
10425 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10426 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10427 fi'
10428 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10429 dlpath=$dir/\$dldll~
10430 $RM \$dlpath'
10431 shlibpath_overrides_runpath=yes
10432
10433 case $host_os in
10434 cygwin*)
10435 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10436 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10437
10438 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10439 ;;
10440 mingw* | cegcc*)
10441 # MinGW DLLs use traditional 'lib' prefix
10442 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10443 ;;
10444 pw32*)
10445 # pw32 DLLs use 'pw' prefix rather than 'lib'
10446 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10447 ;;
10448 esac
10449 ;;
10450
10451 *)
10452 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10453 ;;
10454 esac
10455 dynamic_linker='Win32 ld.exe'
10456 # FIXME: first we should search . and the directory the executable is in
10457 shlibpath_var=PATH
10458 ;;
10459
10460 darwin* | rhapsody*)
10461 dynamic_linker="$host_os dyld"
10462 version_type=darwin
10463 need_lib_prefix=no
10464 need_version=no
10465 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10466 soname_spec='${libname}${release}${major}$shared_ext'
10467 shlibpath_overrides_runpath=yes
10468 shlibpath_var=DYLD_LIBRARY_PATH
10469 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10470
10471 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10472 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10473 ;;
10474
10475 dgux*)
10476 version_type=linux
10477 need_lib_prefix=no
10478 need_version=no
10479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10480 soname_spec='${libname}${release}${shared_ext}$major'
10481 shlibpath_var=LD_LIBRARY_PATH
10482 ;;
10483
10484 freebsd1*)
10485 dynamic_linker=no
10486 ;;
10487
10488 freebsd* | dragonfly*)
10489 # DragonFly does not have aout. When/if they implement a new
10490 # versioning mechanism, adjust this.
10491 if test -x /usr/bin/objformat; then
10492 objformat=`/usr/bin/objformat`
10493 else
10494 case $host_os in
10495 freebsd[123]*) objformat=aout ;;
10496 *) objformat=elf ;;
10497 esac
10498 fi
10499 version_type=freebsd-$objformat
10500 case $version_type in
10501 freebsd-elf*)
10502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10503 need_version=no
10504 need_lib_prefix=no
10505 ;;
10506 freebsd-*)
10507 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10508 need_version=yes
10509 ;;
10510 esac
10511 shlibpath_var=LD_LIBRARY_PATH
10512 case $host_os in
10513 freebsd2*)
10514 shlibpath_overrides_runpath=yes
10515 ;;
10516 freebsd3.[01]* | freebsdelf3.[01]*)
10517 shlibpath_overrides_runpath=yes
10518 hardcode_into_libs=yes
10519 ;;
10520 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10521 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10522 shlibpath_overrides_runpath=no
10523 hardcode_into_libs=yes
10524 ;;
10525 *) # from 4.6 on, and DragonFly
10526 shlibpath_overrides_runpath=yes
10527 hardcode_into_libs=yes
10528 ;;
10529 esac
10530 ;;
10531
10532 gnu*)
10533 version_type=linux
10534 need_lib_prefix=no
10535 need_version=no
10536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10537 soname_spec='${libname}${release}${shared_ext}$major'
10538 shlibpath_var=LD_LIBRARY_PATH
10539 hardcode_into_libs=yes
10540 ;;
10541
10542 haiku*)
10543 version_type=linux
10544 need_lib_prefix=no
10545 need_version=no
10546 dynamic_linker="$host_os runtime_loader"
10547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10548 soname_spec='${libname}${release}${shared_ext}$major'
10549 shlibpath_var=LIBRARY_PATH
10550 shlibpath_overrides_runpath=yes
10551 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10552 hardcode_into_libs=yes
10553 ;;
10554
10555 hpux9* | hpux10* | hpux11*)
10556 # Give a soname corresponding to the major version so that dld.sl refuses to
10557 # link against other versions.
10558 version_type=sunos
10559 need_lib_prefix=no
10560 need_version=no
10561 case $host_cpu in
10562 ia64*)
10563 shrext_cmds='.so'
10564 hardcode_into_libs=yes
10565 dynamic_linker="$host_os dld.so"
10566 shlibpath_var=LD_LIBRARY_PATH
10567 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10569 soname_spec='${libname}${release}${shared_ext}$major'
10570 if test "X$HPUX_IA64_MODE" = X32; then
10571 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10572 else
10573 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10574 fi
10575 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10576 ;;
10577 hppa*64*)
10578 shrext_cmds='.sl'
10579 hardcode_into_libs=yes
10580 dynamic_linker="$host_os dld.sl"
10581 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10582 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10584 soname_spec='${libname}${release}${shared_ext}$major'
10585 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10586 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10587 ;;
10588 *)
10589 shrext_cmds='.sl'
10590 dynamic_linker="$host_os dld.sl"
10591 shlibpath_var=SHLIB_PATH
10592 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10594 soname_spec='${libname}${release}${shared_ext}$major'
10595 ;;
10596 esac
10597 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10598 postinstall_cmds='chmod 555 $lib'
10599 # or fails outright, so override atomically:
10600 install_override_mode=555
10601 ;;
10602
10603 interix[3-9]*)
10604 version_type=linux
10605 need_lib_prefix=no
10606 need_version=no
10607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10608 soname_spec='${libname}${release}${shared_ext}$major'
10609 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10610 shlibpath_var=LD_LIBRARY_PATH
10611 shlibpath_overrides_runpath=no
10612 hardcode_into_libs=yes
10613 ;;
10614
10615 irix5* | irix6* | nonstopux*)
10616 case $host_os in
10617 nonstopux*) version_type=nonstopux ;;
10618 *)
10619 if test "$lt_cv_prog_gnu_ld" = yes; then
10620 version_type=linux
10621 else
10622 version_type=irix
10623 fi ;;
10624 esac
10625 need_lib_prefix=no
10626 need_version=no
10627 soname_spec='${libname}${release}${shared_ext}$major'
10628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10629 case $host_os in
10630 irix5* | nonstopux*)
10631 libsuff= shlibsuff=
10632 ;;
10633 *)
10634 case $LD in # libtool.m4 will add one of these switches to LD
10635 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10636 libsuff= shlibsuff= libmagic=32-bit;;
10637 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10638 libsuff=32 shlibsuff=N32 libmagic=N32;;
10639 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10640 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10641 *) libsuff= shlibsuff= libmagic=never-match;;
10642 esac
10643 ;;
10644 esac
10645 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10646 shlibpath_overrides_runpath=no
10647 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10648 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10649 hardcode_into_libs=yes
10650 ;;
10651
10652 # No shared lib support for Linux oldld, aout, or coff.
10653 linux*oldld* | linux*aout* | linux*coff*)
10654 dynamic_linker=no
10655 ;;
10656
10657 # This must be Linux ELF.
10658 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10659 version_type=linux
10660 need_lib_prefix=no
10661 need_version=no
10662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10663 soname_spec='${libname}${release}${shared_ext}$major'
10664 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10665 shlibpath_var=LD_LIBRARY_PATH
10666 shlibpath_overrides_runpath=no
10667
10668 # Some binutils ld are patched to set DT_RUNPATH
10669 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10670 $as_echo_n "(cached) " >&6
10671 else
10672 lt_cv_shlibpath_overrides_runpath=no
10673 save_LDFLAGS=$LDFLAGS
10674 save_libdir=$libdir
10675 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10676 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10677 if test x$gcc_no_link = xyes; then
10678 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10679 fi
10680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10681 /* end confdefs.h. */
10682
10683 int
10684 main ()
10685 {
10686
10687 ;
10688 return 0;
10689 }
10690 _ACEOF
10691 if ac_fn_c_try_link "$LINENO"; then :
10692 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10693 lt_cv_shlibpath_overrides_runpath=yes
10694 fi
10695 fi
10696 rm -f core conftest.err conftest.$ac_objext \
10697 conftest$ac_exeext conftest.$ac_ext
10698 LDFLAGS=$save_LDFLAGS
10699 libdir=$save_libdir
10700
10701 fi
10702
10703 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10704
10705 # This implies no fast_install, which is unacceptable.
10706 # Some rework will be needed to allow for fast_install
10707 # before this can be enabled.
10708 hardcode_into_libs=yes
10709
10710 # Append ld.so.conf contents to the search path
10711 if test -f /etc/ld.so.conf; then
10712 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' ' '`
10713 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10714 fi
10715
10716 # We used to test for /lib/ld.so.1 and disable shared libraries on
10717 # powerpc, because MkLinux only supported shared libraries with the
10718 # GNU dynamic linker. Since this was broken with cross compilers,
10719 # most powerpc-linux boxes support dynamic linking these days and
10720 # people can always --disable-shared, the test was removed, and we
10721 # assume the GNU/Linux dynamic linker is in use.
10722 dynamic_linker='GNU/Linux ld.so'
10723 ;;
10724
10725 netbsd*)
10726 version_type=sunos
10727 need_lib_prefix=no
10728 need_version=no
10729 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10731 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10732 dynamic_linker='NetBSD (a.out) ld.so'
10733 else
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10735 soname_spec='${libname}${release}${shared_ext}$major'
10736 dynamic_linker='NetBSD ld.elf_so'
10737 fi
10738 shlibpath_var=LD_LIBRARY_PATH
10739 shlibpath_overrides_runpath=yes
10740 hardcode_into_libs=yes
10741 ;;
10742
10743 newsos6)
10744 version_type=linux
10745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10746 shlibpath_var=LD_LIBRARY_PATH
10747 shlibpath_overrides_runpath=yes
10748 ;;
10749
10750 *nto* | *qnx*)
10751 version_type=qnx
10752 need_lib_prefix=no
10753 need_version=no
10754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10755 soname_spec='${libname}${release}${shared_ext}$major'
10756 shlibpath_var=LD_LIBRARY_PATH
10757 shlibpath_overrides_runpath=no
10758 hardcode_into_libs=yes
10759 dynamic_linker='ldqnx.so'
10760 ;;
10761
10762 openbsd*)
10763 version_type=sunos
10764 sys_lib_dlsearch_path_spec="/usr/lib"
10765 need_lib_prefix=no
10766 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10767 case $host_os in
10768 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10769 *) need_version=no ;;
10770 esac
10771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10772 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10773 shlibpath_var=LD_LIBRARY_PATH
10774 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10775 case $host_os in
10776 openbsd2.[89] | openbsd2.[89].*)
10777 shlibpath_overrides_runpath=no
10778 ;;
10779 *)
10780 shlibpath_overrides_runpath=yes
10781 ;;
10782 esac
10783 else
10784 shlibpath_overrides_runpath=yes
10785 fi
10786 ;;
10787
10788 os2*)
10789 libname_spec='$name'
10790 shrext_cmds=".dll"
10791 need_lib_prefix=no
10792 library_names_spec='$libname${shared_ext} $libname.a'
10793 dynamic_linker='OS/2 ld.exe'
10794 shlibpath_var=LIBPATH
10795 ;;
10796
10797 osf3* | osf4* | osf5*)
10798 version_type=osf
10799 need_lib_prefix=no
10800 need_version=no
10801 soname_spec='${libname}${release}${shared_ext}$major'
10802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10803 shlibpath_var=LD_LIBRARY_PATH
10804 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10805 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10806 ;;
10807
10808 rdos*)
10809 dynamic_linker=no
10810 ;;
10811
10812 solaris*)
10813 version_type=linux
10814 need_lib_prefix=no
10815 need_version=no
10816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10817 soname_spec='${libname}${release}${shared_ext}$major'
10818 shlibpath_var=LD_LIBRARY_PATH
10819 shlibpath_overrides_runpath=yes
10820 hardcode_into_libs=yes
10821 # ldd complains unless libraries are executable
10822 postinstall_cmds='chmod +x $lib'
10823 ;;
10824
10825 sunos4*)
10826 version_type=sunos
10827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10828 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10829 shlibpath_var=LD_LIBRARY_PATH
10830 shlibpath_overrides_runpath=yes
10831 if test "$with_gnu_ld" = yes; then
10832 need_lib_prefix=no
10833 fi
10834 need_version=yes
10835 ;;
10836
10837 sysv4 | sysv4.3*)
10838 version_type=linux
10839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10840 soname_spec='${libname}${release}${shared_ext}$major'
10841 shlibpath_var=LD_LIBRARY_PATH
10842 case $host_vendor in
10843 sni)
10844 shlibpath_overrides_runpath=no
10845 need_lib_prefix=no
10846 runpath_var=LD_RUN_PATH
10847 ;;
10848 siemens)
10849 need_lib_prefix=no
10850 ;;
10851 motorola)
10852 need_lib_prefix=no
10853 need_version=no
10854 shlibpath_overrides_runpath=no
10855 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10856 ;;
10857 esac
10858 ;;
10859
10860 sysv4*MP*)
10861 if test -d /usr/nec ;then
10862 version_type=linux
10863 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10864 soname_spec='$libname${shared_ext}.$major'
10865 shlibpath_var=LD_LIBRARY_PATH
10866 fi
10867 ;;
10868
10869 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10870 version_type=freebsd-elf
10871 need_lib_prefix=no
10872 need_version=no
10873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10874 soname_spec='${libname}${release}${shared_ext}$major'
10875 shlibpath_var=LD_LIBRARY_PATH
10876 shlibpath_overrides_runpath=yes
10877 hardcode_into_libs=yes
10878 if test "$with_gnu_ld" = yes; then
10879 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10880 else
10881 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10882 case $host_os in
10883 sco3.2v5*)
10884 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10885 ;;
10886 esac
10887 fi
10888 sys_lib_dlsearch_path_spec='/usr/lib'
10889 ;;
10890
10891 tpf*)
10892 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10893 version_type=linux
10894 need_lib_prefix=no
10895 need_version=no
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=no
10899 hardcode_into_libs=yes
10900 ;;
10901
10902 uts4*)
10903 version_type=linux
10904 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10905 soname_spec='${libname}${release}${shared_ext}$major'
10906 shlibpath_var=LD_LIBRARY_PATH
10907 ;;
10908
10909 *)
10910 dynamic_linker=no
10911 ;;
10912 esac
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10914 $as_echo "$dynamic_linker" >&6; }
10915 test "$dynamic_linker" = no && can_build_shared=no
10916
10917 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10918 if test "$GCC" = yes; then
10919 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10920 fi
10921
10922 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10923 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10924 fi
10925 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10926 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10927 fi
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11021 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11022 hardcode_action=
11023 if test -n "$hardcode_libdir_flag_spec" ||
11024 test -n "$runpath_var" ||
11025 test "X$hardcode_automatic" = "Xyes" ; then
11026
11027 # We can hardcode non-existent directories.
11028 if test "$hardcode_direct" != no &&
11029 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11030 # have to relink, otherwise we might link with an installed library
11031 # when we should be linking with a yet-to-be-installed one
11032 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11033 test "$hardcode_minus_L" != no; then
11034 # Linking always hardcodes the temporary library directory.
11035 hardcode_action=relink
11036 else
11037 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11038 hardcode_action=immediate
11039 fi
11040 else
11041 # We cannot hardcode anything, or else we can only hardcode existing
11042 # directories.
11043 hardcode_action=unsupported
11044 fi
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11046 $as_echo "$hardcode_action" >&6; }
11047
11048 if test "$hardcode_action" = relink ||
11049 test "$inherit_rpath" = yes; then
11050 # Fast installation is not supported
11051 enable_fast_install=no
11052 elif test "$shlibpath_overrides_runpath" = yes ||
11053 test "$enable_shared" = no; then
11054 # Fast installation is not necessary
11055 enable_fast_install=needless
11056 fi
11057
11058
11059
11060
11061
11062
11063 if test "x$enable_dlopen" != xyes; then
11064 enable_dlopen=unknown
11065 enable_dlopen_self=unknown
11066 enable_dlopen_self_static=unknown
11067 else
11068 lt_cv_dlopen=no
11069 lt_cv_dlopen_libs=
11070
11071 case $host_os in
11072 beos*)
11073 lt_cv_dlopen="load_add_on"
11074 lt_cv_dlopen_libs=
11075 lt_cv_dlopen_self=yes
11076 ;;
11077
11078 mingw* | pw32* | cegcc*)
11079 lt_cv_dlopen="LoadLibrary"
11080 lt_cv_dlopen_libs=
11081 ;;
11082
11083 cygwin*)
11084 lt_cv_dlopen="dlopen"
11085 lt_cv_dlopen_libs=
11086 ;;
11087
11088 darwin*)
11089 # if libdl is installed we need to link against it
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11091 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11092 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11093 $as_echo_n "(cached) " >&6
11094 else
11095 ac_check_lib_save_LIBS=$LIBS
11096 LIBS="-ldl $LIBS"
11097 if test x$gcc_no_link = xyes; then
11098 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11099 fi
11100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11101 /* end confdefs.h. */
11102
11103 /* Override any GCC internal prototype to avoid an error.
11104 Use char because int might match the return type of a GCC
11105 builtin and then its argument prototype would still apply. */
11106 #ifdef __cplusplus
11107 extern "C"
11108 #endif
11109 char dlopen ();
11110 int
11111 main ()
11112 {
11113 return dlopen ();
11114 ;
11115 return 0;
11116 }
11117 _ACEOF
11118 if ac_fn_c_try_link "$LINENO"; then :
11119 ac_cv_lib_dl_dlopen=yes
11120 else
11121 ac_cv_lib_dl_dlopen=no
11122 fi
11123 rm -f core conftest.err conftest.$ac_objext \
11124 conftest$ac_exeext conftest.$ac_ext
11125 LIBS=$ac_check_lib_save_LIBS
11126 fi
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11128 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11129 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11130 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11131 else
11132
11133 lt_cv_dlopen="dyld"
11134 lt_cv_dlopen_libs=
11135 lt_cv_dlopen_self=yes
11136
11137 fi
11138
11139 ;;
11140
11141 *)
11142 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11143 if test "x$ac_cv_func_shl_load" = x""yes; then :
11144 lt_cv_dlopen="shl_load"
11145 else
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11147 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11148 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11149 $as_echo_n "(cached) " >&6
11150 else
11151 ac_check_lib_save_LIBS=$LIBS
11152 LIBS="-ldld $LIBS"
11153 if test x$gcc_no_link = xyes; then
11154 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11155 fi
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11158
11159 /* Override any GCC internal prototype to avoid an error.
11160 Use char because int might match the return type of a GCC
11161 builtin and then its argument prototype would still apply. */
11162 #ifdef __cplusplus
11163 extern "C"
11164 #endif
11165 char shl_load ();
11166 int
11167 main ()
11168 {
11169 return shl_load ();
11170 ;
11171 return 0;
11172 }
11173 _ACEOF
11174 if ac_fn_c_try_link "$LINENO"; then :
11175 ac_cv_lib_dld_shl_load=yes
11176 else
11177 ac_cv_lib_dld_shl_load=no
11178 fi
11179 rm -f core conftest.err conftest.$ac_objext \
11180 conftest$ac_exeext conftest.$ac_ext
11181 LIBS=$ac_check_lib_save_LIBS
11182 fi
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11184 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11185 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11186 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11187 else
11188 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11189 if test "x$ac_cv_func_dlopen" = x""yes; then :
11190 lt_cv_dlopen="dlopen"
11191 else
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11193 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11194 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11195 $as_echo_n "(cached) " >&6
11196 else
11197 ac_check_lib_save_LIBS=$LIBS
11198 LIBS="-ldl $LIBS"
11199 if test x$gcc_no_link = xyes; then
11200 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11201 fi
11202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11203 /* end confdefs.h. */
11204
11205 /* Override any GCC internal prototype to avoid an error.
11206 Use char because int might match the return type of a GCC
11207 builtin and then its argument prototype would still apply. */
11208 #ifdef __cplusplus
11209 extern "C"
11210 #endif
11211 char dlopen ();
11212 int
11213 main ()
11214 {
11215 return dlopen ();
11216 ;
11217 return 0;
11218 }
11219 _ACEOF
11220 if ac_fn_c_try_link "$LINENO"; then :
11221 ac_cv_lib_dl_dlopen=yes
11222 else
11223 ac_cv_lib_dl_dlopen=no
11224 fi
11225 rm -f core conftest.err conftest.$ac_objext \
11226 conftest$ac_exeext conftest.$ac_ext
11227 LIBS=$ac_check_lib_save_LIBS
11228 fi
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11230 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11231 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11232 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11233 else
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11235 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11236 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11237 $as_echo_n "(cached) " >&6
11238 else
11239 ac_check_lib_save_LIBS=$LIBS
11240 LIBS="-lsvld $LIBS"
11241 if test x$gcc_no_link = xyes; then
11242 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11243 fi
11244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11245 /* end confdefs.h. */
11246
11247 /* Override any GCC internal prototype to avoid an error.
11248 Use char because int might match the return type of a GCC
11249 builtin and then its argument prototype would still apply. */
11250 #ifdef __cplusplus
11251 extern "C"
11252 #endif
11253 char dlopen ();
11254 int
11255 main ()
11256 {
11257 return dlopen ();
11258 ;
11259 return 0;
11260 }
11261 _ACEOF
11262 if ac_fn_c_try_link "$LINENO"; then :
11263 ac_cv_lib_svld_dlopen=yes
11264 else
11265 ac_cv_lib_svld_dlopen=no
11266 fi
11267 rm -f core conftest.err conftest.$ac_objext \
11268 conftest$ac_exeext conftest.$ac_ext
11269 LIBS=$ac_check_lib_save_LIBS
11270 fi
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11272 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11273 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11274 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11275 else
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11277 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11278 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11279 $as_echo_n "(cached) " >&6
11280 else
11281 ac_check_lib_save_LIBS=$LIBS
11282 LIBS="-ldld $LIBS"
11283 if test x$gcc_no_link = xyes; then
11284 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11285 fi
11286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11287 /* end confdefs.h. */
11288
11289 /* Override any GCC internal prototype to avoid an error.
11290 Use char because int might match the return type of a GCC
11291 builtin and then its argument prototype would still apply. */
11292 #ifdef __cplusplus
11293 extern "C"
11294 #endif
11295 char dld_link ();
11296 int
11297 main ()
11298 {
11299 return dld_link ();
11300 ;
11301 return 0;
11302 }
11303 _ACEOF
11304 if ac_fn_c_try_link "$LINENO"; then :
11305 ac_cv_lib_dld_dld_link=yes
11306 else
11307 ac_cv_lib_dld_dld_link=no
11308 fi
11309 rm -f core conftest.err conftest.$ac_objext \
11310 conftest$ac_exeext conftest.$ac_ext
11311 LIBS=$ac_check_lib_save_LIBS
11312 fi
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11314 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11315 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11316 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11317 fi
11318
11319
11320 fi
11321
11322
11323 fi
11324
11325
11326 fi
11327
11328
11329 fi
11330
11331
11332 fi
11333
11334 ;;
11335 esac
11336
11337 if test "x$lt_cv_dlopen" != xno; then
11338 enable_dlopen=yes
11339 else
11340 enable_dlopen=no
11341 fi
11342
11343 case $lt_cv_dlopen in
11344 dlopen)
11345 save_CPPFLAGS="$CPPFLAGS"
11346 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11347
11348 save_LDFLAGS="$LDFLAGS"
11349 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11350
11351 save_LIBS="$LIBS"
11352 LIBS="$lt_cv_dlopen_libs $LIBS"
11353
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11355 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11356 if test "${lt_cv_dlopen_self+set}" = set; then :
11357 $as_echo_n "(cached) " >&6
11358 else
11359 if test "$cross_compiling" = yes; then :
11360 lt_cv_dlopen_self=cross
11361 else
11362 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11363 lt_status=$lt_dlunknown
11364 cat > conftest.$ac_ext <<_LT_EOF
11365 #line 11365 "configure"
11366 #include "confdefs.h"
11367
11368 #if HAVE_DLFCN_H
11369 #include <dlfcn.h>
11370 #endif
11371
11372 #include <stdio.h>
11373
11374 #ifdef RTLD_GLOBAL
11375 # define LT_DLGLOBAL RTLD_GLOBAL
11376 #else
11377 # ifdef DL_GLOBAL
11378 # define LT_DLGLOBAL DL_GLOBAL
11379 # else
11380 # define LT_DLGLOBAL 0
11381 # endif
11382 #endif
11383
11384 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11385 find out it does not work in some platform. */
11386 #ifndef LT_DLLAZY_OR_NOW
11387 # ifdef RTLD_LAZY
11388 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11389 # else
11390 # ifdef DL_LAZY
11391 # define LT_DLLAZY_OR_NOW DL_LAZY
11392 # else
11393 # ifdef RTLD_NOW
11394 # define LT_DLLAZY_OR_NOW RTLD_NOW
11395 # else
11396 # ifdef DL_NOW
11397 # define LT_DLLAZY_OR_NOW DL_NOW
11398 # else
11399 # define LT_DLLAZY_OR_NOW 0
11400 # endif
11401 # endif
11402 # endif
11403 # endif
11404 #endif
11405
11406 /* When -fvisbility=hidden is used, assume the code has been annotated
11407 correspondingly for the symbols needed. */
11408 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11409 void fnord () __attribute__((visibility("default")));
11410 #endif
11411
11412 void fnord () { int i=42; }
11413 int main ()
11414 {
11415 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11416 int status = $lt_dlunknown;
11417
11418 if (self)
11419 {
11420 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11421 else
11422 {
11423 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11424 else puts (dlerror ());
11425 }
11426 /* dlclose (self); */
11427 }
11428 else
11429 puts (dlerror ());
11430
11431 return status;
11432 }
11433 _LT_EOF
11434 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11435 (eval $ac_link) 2>&5
11436 ac_status=$?
11437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11438 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11439 (./conftest; exit; ) >&5 2>/dev/null
11440 lt_status=$?
11441 case x$lt_status in
11442 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11443 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11444 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11445 esac
11446 else :
11447 # compilation failed
11448 lt_cv_dlopen_self=no
11449 fi
11450 fi
11451 rm -fr conftest*
11452
11453
11454 fi
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11456 $as_echo "$lt_cv_dlopen_self" >&6; }
11457
11458 if test "x$lt_cv_dlopen_self" = xyes; then
11459 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11461 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11462 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11463 $as_echo_n "(cached) " >&6
11464 else
11465 if test "$cross_compiling" = yes; then :
11466 lt_cv_dlopen_self_static=cross
11467 else
11468 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11469 lt_status=$lt_dlunknown
11470 cat > conftest.$ac_ext <<_LT_EOF
11471 #line 11471 "configure"
11472 #include "confdefs.h"
11473
11474 #if HAVE_DLFCN_H
11475 #include <dlfcn.h>
11476 #endif
11477
11478 #include <stdio.h>
11479
11480 #ifdef RTLD_GLOBAL
11481 # define LT_DLGLOBAL RTLD_GLOBAL
11482 #else
11483 # ifdef DL_GLOBAL
11484 # define LT_DLGLOBAL DL_GLOBAL
11485 # else
11486 # define LT_DLGLOBAL 0
11487 # endif
11488 #endif
11489
11490 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11491 find out it does not work in some platform. */
11492 #ifndef LT_DLLAZY_OR_NOW
11493 # ifdef RTLD_LAZY
11494 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11495 # else
11496 # ifdef DL_LAZY
11497 # define LT_DLLAZY_OR_NOW DL_LAZY
11498 # else
11499 # ifdef RTLD_NOW
11500 # define LT_DLLAZY_OR_NOW RTLD_NOW
11501 # else
11502 # ifdef DL_NOW
11503 # define LT_DLLAZY_OR_NOW DL_NOW
11504 # else
11505 # define LT_DLLAZY_OR_NOW 0
11506 # endif
11507 # endif
11508 # endif
11509 # endif
11510 #endif
11511
11512 /* When -fvisbility=hidden is used, assume the code has been annotated
11513 correspondingly for the symbols needed. */
11514 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11515 void fnord () __attribute__((visibility("default")));
11516 #endif
11517
11518 void fnord () { int i=42; }
11519 int main ()
11520 {
11521 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11522 int status = $lt_dlunknown;
11523
11524 if (self)
11525 {
11526 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11527 else
11528 {
11529 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11530 else puts (dlerror ());
11531 }
11532 /* dlclose (self); */
11533 }
11534 else
11535 puts (dlerror ());
11536
11537 return status;
11538 }
11539 _LT_EOF
11540 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11541 (eval $ac_link) 2>&5
11542 ac_status=$?
11543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11544 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11545 (./conftest; exit; ) >&5 2>/dev/null
11546 lt_status=$?
11547 case x$lt_status in
11548 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11549 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11550 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11551 esac
11552 else :
11553 # compilation failed
11554 lt_cv_dlopen_self_static=no
11555 fi
11556 fi
11557 rm -fr conftest*
11558
11559
11560 fi
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11562 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11563 fi
11564
11565 CPPFLAGS="$save_CPPFLAGS"
11566 LDFLAGS="$save_LDFLAGS"
11567 LIBS="$save_LIBS"
11568 ;;
11569 esac
11570
11571 case $lt_cv_dlopen_self in
11572 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11573 *) enable_dlopen_self=unknown ;;
11574 esac
11575
11576 case $lt_cv_dlopen_self_static in
11577 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11578 *) enable_dlopen_self_static=unknown ;;
11579 esac
11580 fi
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598 striplib=
11599 old_striplib=
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11601 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11602 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11603 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11604 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11606 $as_echo "yes" >&6; }
11607 else
11608 # FIXME - insert some real tests, host_os isn't really good enough
11609 case $host_os in
11610 darwin*)
11611 if test -n "$STRIP" ; then
11612 striplib="$STRIP -x"
11613 old_striplib="$STRIP -S"
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11615 $as_echo "yes" >&6; }
11616 else
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11618 $as_echo "no" >&6; }
11619 fi
11620 ;;
11621 *)
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11623 $as_echo "no" >&6; }
11624 ;;
11625 esac
11626 fi
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639 # Report which library types will actually be built
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11641 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11643 $as_echo "$can_build_shared" >&6; }
11644
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11646 $as_echo_n "checking whether to build shared libraries... " >&6; }
11647 test "$can_build_shared" = "no" && enable_shared=no
11648
11649 # On AIX, shared libraries and static libraries use the same namespace, and
11650 # are all built from PIC.
11651 case $host_os in
11652 aix3*)
11653 test "$enable_shared" = yes && enable_static=no
11654 if test -n "$RANLIB"; then
11655 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11656 postinstall_cmds='$RANLIB $lib'
11657 fi
11658 ;;
11659
11660 aix[4-9]*)
11661 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11662 test "$enable_shared" = yes && enable_static=no
11663 fi
11664 ;;
11665 esac
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11667 $as_echo "$enable_shared" >&6; }
11668
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11670 $as_echo_n "checking whether to build static libraries... " >&6; }
11671 # Make sure either enable_shared or enable_static is yes.
11672 test "$enable_shared" = yes || enable_static=yes
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11674 $as_echo "$enable_static" >&6; }
11675
11676
11677
11678
11679 fi
11680 ac_ext=c
11681 ac_cpp='$CPP $CPPFLAGS'
11682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11685
11686 CC="$lt_save_CC"
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700 ac_config_commands="$ac_config_commands libtool"
11701
11702
11703
11704
11705 # Only expand once:
11706
11707
11708
11709
11710 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
11711
11712 # We need gfortran to compile parts of the library
11713 #AC_PROG_FC(gfortran)
11714 FC="$GFORTRAN"
11715 ac_ext=${ac_fc_srcext-f}
11716 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11717 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11718 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11719 if test -n "$ac_tool_prefix"; then
11720 for ac_prog in gfortran
11721 do
11722 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11723 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11725 $as_echo_n "checking for $ac_word... " >&6; }
11726 if test "${ac_cv_prog_FC+set}" = set; then :
11727 $as_echo_n "(cached) " >&6
11728 else
11729 if test -n "$FC"; then
11730 ac_cv_prog_FC="$FC" # Let the user override the test.
11731 else
11732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11733 for as_dir in $PATH
11734 do
11735 IFS=$as_save_IFS
11736 test -z "$as_dir" && as_dir=.
11737 for ac_exec_ext in '' $ac_executable_extensions; do
11738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11739 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11741 break 2
11742 fi
11743 done
11744 done
11745 IFS=$as_save_IFS
11746
11747 fi
11748 fi
11749 FC=$ac_cv_prog_FC
11750 if test -n "$FC"; then
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11752 $as_echo "$FC" >&6; }
11753 else
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11755 $as_echo "no" >&6; }
11756 fi
11757
11758
11759 test -n "$FC" && break
11760 done
11761 fi
11762 if test -z "$FC"; then
11763 ac_ct_FC=$FC
11764 for ac_prog in gfortran
11765 do
11766 # Extract the first word of "$ac_prog", so it can be a program name with args.
11767 set dummy $ac_prog; ac_word=$2
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11769 $as_echo_n "checking for $ac_word... " >&6; }
11770 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11771 $as_echo_n "(cached) " >&6
11772 else
11773 if test -n "$ac_ct_FC"; then
11774 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11775 else
11776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11777 for as_dir in $PATH
11778 do
11779 IFS=$as_save_IFS
11780 test -z "$as_dir" && as_dir=.
11781 for ac_exec_ext in '' $ac_executable_extensions; do
11782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11783 ac_cv_prog_ac_ct_FC="$ac_prog"
11784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11785 break 2
11786 fi
11787 done
11788 done
11789 IFS=$as_save_IFS
11790
11791 fi
11792 fi
11793 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11794 if test -n "$ac_ct_FC"; then
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11796 $as_echo "$ac_ct_FC" >&6; }
11797 else
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11799 $as_echo "no" >&6; }
11800 fi
11801
11802
11803 test -n "$ac_ct_FC" && break
11804 done
11805
11806 if test "x$ac_ct_FC" = x; then
11807 FC=""
11808 else
11809 case $cross_compiling:$ac_tool_warned in
11810 yes:)
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11813 ac_tool_warned=yes ;;
11814 esac
11815 FC=$ac_ct_FC
11816 fi
11817 fi
11818
11819
11820 # Provide some information about the compiler.
11821 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11822 set X $ac_compile
11823 ac_compiler=$2
11824 for ac_option in --version -v -V -qversion; do
11825 { { ac_try="$ac_compiler $ac_option >&5"
11826 case "(($ac_try" in
11827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11828 *) ac_try_echo=$ac_try;;
11829 esac
11830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11831 $as_echo "$ac_try_echo"; } >&5
11832 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11833 ac_status=$?
11834 if test -s conftest.err; then
11835 sed '10a\
11836 ... rest of stderr output deleted ...
11837 10q' conftest.err >conftest.er1
11838 cat conftest.er1 >&5
11839 rm -f conftest.er1 conftest.err
11840 fi
11841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11842 test $ac_status = 0; }
11843 done
11844 rm -f a.out
11845
11846 # If we don't use `.F' as extension, the preprocessor is not run on the
11847 # input file. (Note that this only needs to work for GNU compilers.)
11848 ac_save_ext=$ac_ext
11849 ac_ext=F
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11851 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11852 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11853 $as_echo_n "(cached) " >&6
11854 else
11855 cat > conftest.$ac_ext <<_ACEOF
11856 program main
11857 #ifndef __GNUC__
11858 choke me
11859 #endif
11860
11861 end
11862 _ACEOF
11863 if ac_fn_fc_try_compile "$LINENO"; then :
11864 ac_compiler_gnu=yes
11865 else
11866 ac_compiler_gnu=no
11867 fi
11868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11869 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11870
11871 fi
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11873 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11874 ac_ext=$ac_save_ext
11875 ac_test_FCFLAGS=${FCFLAGS+set}
11876 ac_save_FCFLAGS=$FCFLAGS
11877 FCFLAGS=
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11879 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11880 if test "${ac_cv_prog_fc_g+set}" = set; then :
11881 $as_echo_n "(cached) " >&6
11882 else
11883 FCFLAGS=-g
11884 cat > conftest.$ac_ext <<_ACEOF
11885 program main
11886
11887 end
11888 _ACEOF
11889 if ac_fn_fc_try_compile "$LINENO"; then :
11890 ac_cv_prog_fc_g=yes
11891 else
11892 ac_cv_prog_fc_g=no
11893 fi
11894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11895
11896 fi
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11898 $as_echo "$ac_cv_prog_fc_g" >&6; }
11899 if test "$ac_test_FCFLAGS" = set; then
11900 FCFLAGS=$ac_save_FCFLAGS
11901 elif test $ac_cv_prog_fc_g = yes; then
11902 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11903 FCFLAGS="-g -O2"
11904 else
11905 FCFLAGS="-g"
11906 fi
11907 else
11908 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11909 FCFLAGS="-O2"
11910 else
11911 FCFLAGS=
11912 fi
11913 fi
11914
11915 ac_ext=c
11916 ac_cpp='$CPP $CPPFLAGS'
11917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11920
11921 ac_ext=${ac_fc_srcext-f}
11922 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11923 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11924 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11925
11926
11927 if test -z "$FC" || test "X$FC" = "Xno"; then
11928 _lt_disable_FC=yes
11929 fi
11930
11931 archive_cmds_need_lc_FC=no
11932 allow_undefined_flag_FC=
11933 always_export_symbols_FC=no
11934 archive_expsym_cmds_FC=
11935 export_dynamic_flag_spec_FC=
11936 hardcode_direct_FC=no
11937 hardcode_direct_absolute_FC=no
11938 hardcode_libdir_flag_spec_FC=
11939 hardcode_libdir_flag_spec_ld_FC=
11940 hardcode_libdir_separator_FC=
11941 hardcode_minus_L_FC=no
11942 hardcode_automatic_FC=no
11943 inherit_rpath_FC=no
11944 module_cmds_FC=
11945 module_expsym_cmds_FC=
11946 link_all_deplibs_FC=unknown
11947 old_archive_cmds_FC=$old_archive_cmds
11948 reload_flag_FC=$reload_flag
11949 reload_cmds_FC=$reload_cmds
11950 no_undefined_flag_FC=
11951 whole_archive_flag_spec_FC=
11952 enable_shared_with_static_runtimes_FC=no
11953
11954 # Source file extension for fc test sources.
11955 ac_ext=${ac_fc_srcext-f}
11956
11957 # Object file extension for compiled fc test sources.
11958 objext=o
11959 objext_FC=$objext
11960
11961 # No sense in running all these tests if we already determined that
11962 # the FC compiler isn't working. Some variables (like enable_shared)
11963 # are currently assumed to apply to all compilers on this platform,
11964 # and will be corrupted by setting them based on a non-working compiler.
11965 if test "$_lt_disable_FC" != yes; then
11966 # Code to be used in simple compile tests
11967 lt_simple_compile_test_code="\
11968 subroutine t
11969 return
11970 end
11971 "
11972
11973 # Code to be used in simple link tests
11974 lt_simple_link_test_code="\
11975 program t
11976 end
11977 "
11978
11979 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11980
11981
11982
11983
11984
11985
11986 # If no C compiler was specified, use CC.
11987 LTCC=${LTCC-"$CC"}
11988
11989 # If no C compiler flags were specified, use CFLAGS.
11990 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11991
11992 # Allow CC to be a program name with arguments.
11993 compiler=$CC
11994
11995
11996 # save warnings/boilerplate of simple test code
11997 ac_outfile=conftest.$ac_objext
11998 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11999 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12000 _lt_compiler_boilerplate=`cat conftest.err`
12001 $RM conftest*
12002
12003 ac_outfile=conftest.$ac_objext
12004 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12005 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12006 _lt_linker_boilerplate=`cat conftest.err`
12007 $RM -r conftest*
12008
12009
12010 # Allow CC to be a program name with arguments.
12011 lt_save_CC="$CC"
12012 lt_save_GCC=$GCC
12013 CC=${FC-"f95"}
12014 compiler=$CC
12015 GCC=$ac_cv_fc_compiler_gnu
12016
12017 compiler_FC=$CC
12018 for cc_temp in $compiler""; do
12019 case $cc_temp in
12020 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12021 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12022 \-*) ;;
12023 *) break;;
12024 esac
12025 done
12026 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12027
12028
12029 if test -n "$compiler"; then
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12031 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12033 $as_echo "$can_build_shared" >&6; }
12034
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12036 $as_echo_n "checking whether to build shared libraries... " >&6; }
12037 test "$can_build_shared" = "no" && enable_shared=no
12038
12039 # On AIX, shared libraries and static libraries use the same namespace, and
12040 # are all built from PIC.
12041 case $host_os in
12042 aix3*)
12043 test "$enable_shared" = yes && enable_static=no
12044 if test -n "$RANLIB"; then
12045 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12046 postinstall_cmds='$RANLIB $lib'
12047 fi
12048 ;;
12049 aix[4-9]*)
12050 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12051 test "$enable_shared" = yes && enable_static=no
12052 fi
12053 ;;
12054 esac
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12056 $as_echo "$enable_shared" >&6; }
12057
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12059 $as_echo_n "checking whether to build static libraries... " >&6; }
12060 # Make sure either enable_shared or enable_static is yes.
12061 test "$enable_shared" = yes || enable_static=yes
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12063 $as_echo "$enable_static" >&6; }
12064
12065 GCC_FC="$ac_cv_fc_compiler_gnu"
12066 LD_FC="$LD"
12067
12068 ## CAVEAT EMPTOR:
12069 ## There is no encapsulation within the following macros, do not change
12070 ## the running order or otherwise move them around unless you know exactly
12071 ## what you are doing...
12072 # Dependencies to place before and after the object being linked:
12073 predep_objects_FC=
12074 postdep_objects_FC=
12075 predeps_FC=
12076 postdeps_FC=
12077 compiler_lib_search_path_FC=
12078
12079 cat > conftest.$ac_ext <<_LT_EOF
12080 subroutine foo
12081 implicit none
12082 integer a
12083 a=0
12084 return
12085 end
12086 _LT_EOF
12087
12088 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12089 (eval $ac_compile) 2>&5
12090 ac_status=$?
12091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12092 test $ac_status = 0; }; then
12093 # Parse the compiler output and extract the necessary
12094 # objects, libraries and library flags.
12095
12096 # Sentinel used to keep track of whether or not we are before
12097 # the conftest object file.
12098 pre_test_object_deps_done=no
12099
12100 for p in `eval "$output_verbose_link_cmd"`; do
12101 case $p in
12102
12103 -L* | -R* | -l*)
12104 # Some compilers place space between "-{L,R}" and the path.
12105 # Remove the space.
12106 if test $p = "-L" ||
12107 test $p = "-R"; then
12108 prev=$p
12109 continue
12110 else
12111 prev=
12112 fi
12113
12114 if test "$pre_test_object_deps_done" = no; then
12115 case $p in
12116 -L* | -R*)
12117 # Internal compiler library paths should come after those
12118 # provided the user. The postdeps already come after the
12119 # user supplied libs so there is no need to process them.
12120 if test -z "$compiler_lib_search_path_FC"; then
12121 compiler_lib_search_path_FC="${prev}${p}"
12122 else
12123 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
12124 fi
12125 ;;
12126 # The "-l" case would never come before the object being
12127 # linked, so don't bother handling this case.
12128 esac
12129 else
12130 if test -z "$postdeps_FC"; then
12131 postdeps_FC="${prev}${p}"
12132 else
12133 postdeps_FC="${postdeps_FC} ${prev}${p}"
12134 fi
12135 fi
12136 ;;
12137
12138 *.$objext)
12139 # This assumes that the test object file only shows up
12140 # once in the compiler output.
12141 if test "$p" = "conftest.$objext"; then
12142 pre_test_object_deps_done=yes
12143 continue
12144 fi
12145
12146 if test "$pre_test_object_deps_done" = no; then
12147 if test -z "$predep_objects_FC"; then
12148 predep_objects_FC="$p"
12149 else
12150 predep_objects_FC="$predep_objects_FC $p"
12151 fi
12152 else
12153 if test -z "$postdep_objects_FC"; then
12154 postdep_objects_FC="$p"
12155 else
12156 postdep_objects_FC="$postdep_objects_FC $p"
12157 fi
12158 fi
12159 ;;
12160
12161 *) ;; # Ignore the rest.
12162
12163 esac
12164 done
12165
12166 # Clean up.
12167 rm -f a.out a.exe
12168 else
12169 echo "libtool.m4: error: problem compiling FC test program"
12170 fi
12171
12172 $RM -f confest.$objext
12173
12174 # PORTME: override above test on systems where it is broken
12175
12176
12177 case " $postdeps_FC " in
12178 *" -lc "*) archive_cmds_need_lc_FC=no ;;
12179 esac
12180 compiler_lib_search_dirs_FC=
12181 if test -n "${compiler_lib_search_path_FC}"; then
12182 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12183 fi
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215 lt_prog_compiler_wl_FC=
12216 lt_prog_compiler_pic_FC=
12217 lt_prog_compiler_static_FC=
12218
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12220 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12221
12222 if test "$GCC" = yes; then
12223 lt_prog_compiler_wl_FC='-Wl,'
12224 lt_prog_compiler_static_FC='-static'
12225
12226 case $host_os in
12227 aix*)
12228 # All AIX code is PIC.
12229 if test "$host_cpu" = ia64; then
12230 # AIX 5 now supports IA64 processor
12231 lt_prog_compiler_static_FC='-Bstatic'
12232 fi
12233 ;;
12234
12235 amigaos*)
12236 case $host_cpu in
12237 powerpc)
12238 # see comment about AmigaOS4 .so support
12239 lt_prog_compiler_pic_FC='-fPIC'
12240 ;;
12241 m68k)
12242 # FIXME: we need at least 68020 code to build shared libraries, but
12243 # adding the `-m68020' flag to GCC prevents building anything better,
12244 # like `-m68040'.
12245 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
12246 ;;
12247 esac
12248 ;;
12249
12250 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12251 # PIC is the default for these OSes.
12252 ;;
12253
12254 mingw* | cygwin* | pw32* | os2* | cegcc*)
12255 # This hack is so that the source file can tell whether it is being
12256 # built for inclusion in a dll (and should export symbols for example).
12257 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12258 # (--disable-auto-import) libraries
12259 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12260 ;;
12261
12262 darwin* | rhapsody*)
12263 # PIC is the default on this platform
12264 # Common symbols not allowed in MH_DYLIB files
12265 lt_prog_compiler_pic_FC='-fno-common'
12266 ;;
12267
12268 haiku*)
12269 # PIC is the default for Haiku.
12270 # The "-static" flag exists, but is broken.
12271 lt_prog_compiler_static_FC=
12272 ;;
12273
12274 hpux*)
12275 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12276 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12277 # sets the default TLS model and affects inlining.
12278 case $host_cpu in
12279 hppa*64*)
12280 # +Z the default
12281 ;;
12282 *)
12283 lt_prog_compiler_pic_FC='-fPIC'
12284 ;;
12285 esac
12286 ;;
12287
12288 interix[3-9]*)
12289 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12290 # Instead, we relocate shared libraries at runtime.
12291 ;;
12292
12293 msdosdjgpp*)
12294 # Just because we use GCC doesn't mean we suddenly get shared libraries
12295 # on systems that don't support them.
12296 lt_prog_compiler_can_build_shared_FC=no
12297 enable_shared=no
12298 ;;
12299
12300 *nto* | *qnx*)
12301 # QNX uses GNU C++, but need to define -shared option too, otherwise
12302 # it will coredump.
12303 lt_prog_compiler_pic_FC='-fPIC -shared'
12304 ;;
12305
12306 sysv4*MP*)
12307 if test -d /usr/nec; then
12308 lt_prog_compiler_pic_FC=-Kconform_pic
12309 fi
12310 ;;
12311
12312 *)
12313 lt_prog_compiler_pic_FC='-fPIC'
12314 ;;
12315 esac
12316
12317 case $cc_basename in
12318 nvcc*) # Cuda Compiler Driver 2.2
12319 lt_prog_compiler_wl_FC='-Xlinker '
12320 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
12321 ;;
12322 esac
12323 else
12324 # PORTME Check for flag to pass linker flags through the system compiler.
12325 case $host_os in
12326 aix*)
12327 lt_prog_compiler_wl_FC='-Wl,'
12328 if test "$host_cpu" = ia64; then
12329 # AIX 5 now supports IA64 processor
12330 lt_prog_compiler_static_FC='-Bstatic'
12331 else
12332 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
12333 fi
12334 ;;
12335
12336 mingw* | cygwin* | pw32* | os2* | cegcc*)
12337 # This hack is so that the source file can tell whether it is being
12338 # built for inclusion in a dll (and should export symbols for example).
12339 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12340 ;;
12341
12342 hpux9* | hpux10* | hpux11*)
12343 lt_prog_compiler_wl_FC='-Wl,'
12344 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12345 # not for PA HP-UX.
12346 case $host_cpu in
12347 hppa*64*|ia64*)
12348 # +Z the default
12349 ;;
12350 *)
12351 lt_prog_compiler_pic_FC='+Z'
12352 ;;
12353 esac
12354 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12355 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
12356 ;;
12357
12358 irix5* | irix6* | nonstopux*)
12359 lt_prog_compiler_wl_FC='-Wl,'
12360 # PIC (with -KPIC) is the default.
12361 lt_prog_compiler_static_FC='-non_shared'
12362 ;;
12363
12364 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12365 case $cc_basename in
12366 # old Intel for x86_64 which still supported -KPIC.
12367 ecc*)
12368 lt_prog_compiler_wl_FC='-Wl,'
12369 lt_prog_compiler_pic_FC='-KPIC'
12370 lt_prog_compiler_static_FC='-static'
12371 ;;
12372 # icc used to be incompatible with GCC.
12373 # ICC 10 doesn't accept -KPIC any more.
12374 icc* | ifort*)
12375 lt_prog_compiler_wl_FC='-Wl,'
12376 lt_prog_compiler_pic_FC='-fPIC'
12377 lt_prog_compiler_static_FC='-static'
12378 ;;
12379 # Lahey Fortran 8.1.
12380 lf95*)
12381 lt_prog_compiler_wl_FC='-Wl,'
12382 lt_prog_compiler_pic_FC='--shared'
12383 lt_prog_compiler_static_FC='--static'
12384 ;;
12385 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
12386 # Portland Group compilers (*not* the Pentium gcc compiler,
12387 # which looks to be a dead project)
12388 lt_prog_compiler_wl_FC='-Wl,'
12389 lt_prog_compiler_pic_FC='-fpic'
12390 lt_prog_compiler_static_FC='-Bstatic'
12391 ;;
12392 ccc*)
12393 lt_prog_compiler_wl_FC='-Wl,'
12394 # All Alpha code is PIC.
12395 lt_prog_compiler_static_FC='-non_shared'
12396 ;;
12397 xl* | bgxl* | bgf* | mpixl*)
12398 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12399 lt_prog_compiler_wl_FC='-Wl,'
12400 lt_prog_compiler_pic_FC='-qpic'
12401 lt_prog_compiler_static_FC='-qstaticlink'
12402 ;;
12403 *)
12404 case `$CC -V 2>&1 | sed 5q` in
12405 *Sun\ F* | *Sun*Fortran*)
12406 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12407 lt_prog_compiler_pic_FC='-KPIC'
12408 lt_prog_compiler_static_FC='-Bstatic'
12409 lt_prog_compiler_wl_FC=''
12410 ;;
12411 *Sun\ C*)
12412 # Sun C 5.9
12413 lt_prog_compiler_pic_FC='-KPIC'
12414 lt_prog_compiler_static_FC='-Bstatic'
12415 lt_prog_compiler_wl_FC='-Wl,'
12416 ;;
12417 esac
12418 ;;
12419 esac
12420 ;;
12421
12422 newsos6)
12423 lt_prog_compiler_pic_FC='-KPIC'
12424 lt_prog_compiler_static_FC='-Bstatic'
12425 ;;
12426
12427 *nto* | *qnx*)
12428 # QNX uses GNU C++, but need to define -shared option too, otherwise
12429 # it will coredump.
12430 lt_prog_compiler_pic_FC='-fPIC -shared'
12431 ;;
12432
12433 osf3* | osf4* | osf5*)
12434 lt_prog_compiler_wl_FC='-Wl,'
12435 # All OSF/1 code is PIC.
12436 lt_prog_compiler_static_FC='-non_shared'
12437 ;;
12438
12439 rdos*)
12440 lt_prog_compiler_static_FC='-non_shared'
12441 ;;
12442
12443 solaris*)
12444 lt_prog_compiler_pic_FC='-KPIC'
12445 lt_prog_compiler_static_FC='-Bstatic'
12446 case $cc_basename in
12447 f77* | f90* | f95*)
12448 lt_prog_compiler_wl_FC='-Qoption ld ';;
12449 *)
12450 lt_prog_compiler_wl_FC='-Wl,';;
12451 esac
12452 ;;
12453
12454 sunos4*)
12455 lt_prog_compiler_wl_FC='-Qoption ld '
12456 lt_prog_compiler_pic_FC='-PIC'
12457 lt_prog_compiler_static_FC='-Bstatic'
12458 ;;
12459
12460 sysv4 | sysv4.2uw2* | sysv4.3*)
12461 lt_prog_compiler_wl_FC='-Wl,'
12462 lt_prog_compiler_pic_FC='-KPIC'
12463 lt_prog_compiler_static_FC='-Bstatic'
12464 ;;
12465
12466 sysv4*MP*)
12467 if test -d /usr/nec ;then
12468 lt_prog_compiler_pic_FC='-Kconform_pic'
12469 lt_prog_compiler_static_FC='-Bstatic'
12470 fi
12471 ;;
12472
12473 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12474 lt_prog_compiler_wl_FC='-Wl,'
12475 lt_prog_compiler_pic_FC='-KPIC'
12476 lt_prog_compiler_static_FC='-Bstatic'
12477 ;;
12478
12479 unicos*)
12480 lt_prog_compiler_wl_FC='-Wl,'
12481 lt_prog_compiler_can_build_shared_FC=no
12482 ;;
12483
12484 uts4*)
12485 lt_prog_compiler_pic_FC='-pic'
12486 lt_prog_compiler_static_FC='-Bstatic'
12487 ;;
12488
12489 *)
12490 lt_prog_compiler_can_build_shared_FC=no
12491 ;;
12492 esac
12493 fi
12494
12495 case $host_os in
12496 # For platforms which do not support PIC, -DPIC is meaningless:
12497 *djgpp*)
12498 lt_prog_compiler_pic_FC=
12499 ;;
12500 *)
12501 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
12502 ;;
12503 esac
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12505 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12506
12507
12508
12509 #
12510 # Check to make sure the PIC flag actually works.
12511 #
12512 if test -n "$lt_prog_compiler_pic_FC"; then
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12514 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12515 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
12516 $as_echo_n "(cached) " >&6
12517 else
12518 lt_cv_prog_compiler_pic_works_FC=no
12519 ac_outfile=conftest.$ac_objext
12520 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12521 lt_compiler_flag="$lt_prog_compiler_pic_FC"
12522 # Insert the option either (1) after the last *FLAGS variable, or
12523 # (2) before a word containing "conftest.", or (3) at the end.
12524 # Note that $ac_compile itself does not contain backslashes and begins
12525 # with a dollar sign (not a hyphen), so the echo should work correctly.
12526 # The option is referenced via a variable to avoid confusing sed.
12527 lt_compile=`echo "$ac_compile" | $SED \
12528 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12529 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12530 -e 's:$: $lt_compiler_flag:'`
12531 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12532 (eval "$lt_compile" 2>conftest.err)
12533 ac_status=$?
12534 cat conftest.err >&5
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 if (exit $ac_status) && test -s "$ac_outfile"; then
12537 # The compiler can only warn and ignore the option if not recognized
12538 # So say no if there are warnings other than the usual output.
12539 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
12540 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12541 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12542 lt_cv_prog_compiler_pic_works_FC=yes
12543 fi
12544 fi
12545 $RM conftest*
12546
12547 fi
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12549 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12550
12551 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
12552 case $lt_prog_compiler_pic_FC in
12553 "" | " "*) ;;
12554 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
12555 esac
12556 else
12557 lt_prog_compiler_pic_FC=
12558 lt_prog_compiler_can_build_shared_FC=no
12559 fi
12560
12561 fi
12562
12563
12564
12565 #
12566 # Check to make sure the static flag actually works.
12567 #
12568 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12570 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12571 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
12572 $as_echo_n "(cached) " >&6
12573 else
12574 lt_cv_prog_compiler_static_works_FC=no
12575 save_LDFLAGS="$LDFLAGS"
12576 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12577 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12578 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12579 # The linker can only warn and ignore the option if not recognized
12580 # So say no if there are warnings
12581 if test -s conftest.err; then
12582 # Append any errors to the config.log.
12583 cat conftest.err 1>&5
12584 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12585 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12586 if diff conftest.exp conftest.er2 >/dev/null; then
12587 lt_cv_prog_compiler_static_works_FC=yes
12588 fi
12589 else
12590 lt_cv_prog_compiler_static_works_FC=yes
12591 fi
12592 fi
12593 $RM -r conftest*
12594 LDFLAGS="$save_LDFLAGS"
12595
12596 fi
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12598 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12599
12600 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
12601 :
12602 else
12603 lt_prog_compiler_static_FC=
12604 fi
12605
12606
12607
12608
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12610 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12611 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12612 $as_echo_n "(cached) " >&6
12613 else
12614 lt_cv_prog_compiler_c_o_FC=no
12615 $RM -r conftest 2>/dev/null
12616 mkdir conftest
12617 cd conftest
12618 mkdir out
12619 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12620
12621 lt_compiler_flag="-o out/conftest2.$ac_objext"
12622 # Insert the option either (1) after the last *FLAGS variable, or
12623 # (2) before a word containing "conftest.", or (3) at the end.
12624 # Note that $ac_compile itself does not contain backslashes and begins
12625 # with a dollar sign (not a hyphen), so the echo should work correctly.
12626 lt_compile=`echo "$ac_compile" | $SED \
12627 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12628 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12629 -e 's:$: $lt_compiler_flag:'`
12630 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12631 (eval "$lt_compile" 2>out/conftest.err)
12632 ac_status=$?
12633 cat out/conftest.err >&5
12634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12635 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12636 then
12637 # The compiler can only warn and ignore the option if not recognized
12638 # So say no if there are warnings
12639 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12640 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12641 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12642 lt_cv_prog_compiler_c_o_FC=yes
12643 fi
12644 fi
12645 chmod u+w . 2>&5
12646 $RM conftest*
12647 # SGI C++ compiler will create directory out/ii_files/ for
12648 # template instantiation
12649 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12650 $RM out/* && rmdir out
12651 cd ..
12652 $RM -r conftest
12653 $RM conftest*
12654
12655 fi
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12657 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12658
12659
12660
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12662 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12663 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12664 $as_echo_n "(cached) " >&6
12665 else
12666 lt_cv_prog_compiler_c_o_FC=no
12667 $RM -r conftest 2>/dev/null
12668 mkdir conftest
12669 cd conftest
12670 mkdir out
12671 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12672
12673 lt_compiler_flag="-o out/conftest2.$ac_objext"
12674 # Insert the option either (1) after the last *FLAGS variable, or
12675 # (2) before a word containing "conftest.", or (3) at the end.
12676 # Note that $ac_compile itself does not contain backslashes and begins
12677 # with a dollar sign (not a hyphen), so the echo should work correctly.
12678 lt_compile=`echo "$ac_compile" | $SED \
12679 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12680 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12681 -e 's:$: $lt_compiler_flag:'`
12682 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12683 (eval "$lt_compile" 2>out/conftest.err)
12684 ac_status=$?
12685 cat out/conftest.err >&5
12686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12688 then
12689 # The compiler can only warn and ignore the option if not recognized
12690 # So say no if there are warnings
12691 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12692 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12693 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12694 lt_cv_prog_compiler_c_o_FC=yes
12695 fi
12696 fi
12697 chmod u+w . 2>&5
12698 $RM conftest*
12699 # SGI C++ compiler will create directory out/ii_files/ for
12700 # template instantiation
12701 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12702 $RM out/* && rmdir out
12703 cd ..
12704 $RM -r conftest
12705 $RM conftest*
12706
12707 fi
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12709 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12710
12711
12712
12713
12714 hard_links="nottested"
12715 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
12716 # do not overwrite the value of need_locks provided by the user
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12718 $as_echo_n "checking if we can lock with hard links... " >&6; }
12719 hard_links=yes
12720 $RM conftest*
12721 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12722 touch conftest.a
12723 ln conftest.a conftest.b 2>&5 || hard_links=no
12724 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12726 $as_echo "$hard_links" >&6; }
12727 if test "$hard_links" = no; then
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12729 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12730 need_locks=warn
12731 fi
12732 else
12733 need_locks=no
12734 fi
12735
12736
12737
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12739 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12740
12741 runpath_var=
12742 allow_undefined_flag_FC=
12743 always_export_symbols_FC=no
12744 archive_cmds_FC=
12745 archive_expsym_cmds_FC=
12746 compiler_needs_object_FC=no
12747 enable_shared_with_static_runtimes_FC=no
12748 export_dynamic_flag_spec_FC=
12749 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12750 hardcode_automatic_FC=no
12751 hardcode_direct_FC=no
12752 hardcode_direct_absolute_FC=no
12753 hardcode_libdir_flag_spec_FC=
12754 hardcode_libdir_flag_spec_ld_FC=
12755 hardcode_libdir_separator_FC=
12756 hardcode_minus_L_FC=no
12757 hardcode_shlibpath_var_FC=unsupported
12758 inherit_rpath_FC=no
12759 link_all_deplibs_FC=unknown
12760 module_cmds_FC=
12761 module_expsym_cmds_FC=
12762 old_archive_from_new_cmds_FC=
12763 old_archive_from_expsyms_cmds_FC=
12764 thread_safe_flag_spec_FC=
12765 whole_archive_flag_spec_FC=
12766 # include_expsyms should be a list of space-separated symbols to be *always*
12767 # included in the symbol list
12768 include_expsyms_FC=
12769 # exclude_expsyms can be an extended regexp of symbols to exclude
12770 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12771 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12772 # as well as any symbol that contains `d'.
12773 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12774 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12775 # platforms (ab)use it in PIC code, but their linkers get confused if
12776 # the symbol is explicitly referenced. Since portable code cannot
12777 # rely on this symbol name, it's probably fine to never include it in
12778 # preloaded symbol tables.
12779 # Exclude shared library initialization/finalization symbols.
12780 extract_expsyms_cmds=
12781
12782 case $host_os in
12783 cygwin* | mingw* | pw32* | cegcc*)
12784 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12785 # When not using gcc, we currently assume that we are using
12786 # Microsoft Visual C++.
12787 if test "$GCC" != yes; then
12788 with_gnu_ld=no
12789 fi
12790 ;;
12791 interix*)
12792 # we just hope/assume this is gcc and not c89 (= MSVC++)
12793 with_gnu_ld=yes
12794 ;;
12795 openbsd*)
12796 with_gnu_ld=no
12797 ;;
12798 esac
12799
12800 ld_shlibs_FC=yes
12801
12802 # On some targets, GNU ld is compatible enough with the native linker
12803 # that we're better off using the native interface for both.
12804 lt_use_gnu_ld_interface=no
12805 if test "$with_gnu_ld" = yes; then
12806 case $host_os in
12807 aix*)
12808 # The AIX port of GNU ld has always aspired to compatibility
12809 # with the native linker. However, as the warning in the GNU ld
12810 # block says, versions before 2.19.5* couldn't really create working
12811 # shared libraries, regardless of the interface used.
12812 case `$LD -v 2>&1` in
12813 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12814 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12815 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12816 *)
12817 lt_use_gnu_ld_interface=yes
12818 ;;
12819 esac
12820 ;;
12821 *)
12822 lt_use_gnu_ld_interface=yes
12823 ;;
12824 esac
12825 fi
12826
12827 if test "$lt_use_gnu_ld_interface" = yes; then
12828 # If archive_cmds runs LD, not CC, wlarc should be empty
12829 wlarc='${wl}'
12830
12831 # Set some defaults for GNU ld with shared library support. These
12832 # are reset later if shared libraries are not supported. Putting them
12833 # here allows them to be overridden if necessary.
12834 runpath_var=LD_RUN_PATH
12835 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12836 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
12837 # ancient GNU ld didn't support --whole-archive et. al.
12838 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12839 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12840 else
12841 whole_archive_flag_spec_FC=
12842 fi
12843 supports_anon_versioning=no
12844 case `$LD -v 2>&1` in
12845 *GNU\ gold*) supports_anon_versioning=yes ;;
12846 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12847 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12848 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12849 *\ 2.11.*) ;; # other 2.11 versions
12850 *) supports_anon_versioning=yes ;;
12851 esac
12852
12853 # See if GNU ld supports shared libraries.
12854 case $host_os in
12855 aix[3-9]*)
12856 # On AIX/PPC, the GNU linker is very broken
12857 if test "$host_cpu" != ia64; then
12858 ld_shlibs_FC=no
12859 cat <<_LT_EOF 1>&2
12860
12861 *** Warning: the GNU linker, at least up to release 2.19, is reported
12862 *** to be unable to reliably create shared libraries on AIX.
12863 *** Therefore, libtool is disabling shared libraries support. If you
12864 *** really care for shared libraries, you may want to install binutils
12865 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12866 *** You will then need to restart the configuration process.
12867
12868 _LT_EOF
12869 fi
12870 ;;
12871
12872 amigaos*)
12873 case $host_cpu in
12874 powerpc)
12875 # see comment about AmigaOS4 .so support
12876 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12877 archive_expsym_cmds_FC=''
12878 ;;
12879 m68k)
12880 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)'
12881 hardcode_libdir_flag_spec_FC='-L$libdir'
12882 hardcode_minus_L_FC=yes
12883 ;;
12884 esac
12885 ;;
12886
12887 beos*)
12888 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12889 allow_undefined_flag_FC=unsupported
12890 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12891 # support --undefined. This deserves some investigation. FIXME
12892 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12893 else
12894 ld_shlibs_FC=no
12895 fi
12896 ;;
12897
12898 cygwin* | mingw* | pw32* | cegcc*)
12899 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12900 # as there is no search path for DLLs.
12901 hardcode_libdir_flag_spec_FC='-L$libdir'
12902 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
12903 allow_undefined_flag_FC=unsupported
12904 always_export_symbols_FC=no
12905 enable_shared_with_static_runtimes_FC=yes
12906 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12907
12908 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12909 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12910 # If the export-symbols file already is a .def file (1st line
12911 # is EXPORTS), use it as is; otherwise, prepend...
12912 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12913 cp $export_symbols $output_objdir/$soname.def;
12914 else
12915 echo EXPORTS > $output_objdir/$soname.def;
12916 cat $export_symbols >> $output_objdir/$soname.def;
12917 fi~
12918 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12919 else
12920 ld_shlibs_FC=no
12921 fi
12922 ;;
12923
12924 haiku*)
12925 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12926 link_all_deplibs_FC=yes
12927 ;;
12928
12929 interix[3-9]*)
12930 hardcode_direct_FC=no
12931 hardcode_shlibpath_var_FC=no
12932 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12933 export_dynamic_flag_spec_FC='${wl}-E'
12934 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12935 # Instead, shared libraries are loaded at an image base (0x10000000 by
12936 # default) and relocated if they conflict, which is a slow very memory
12937 # consuming and fragmenting process. To avoid this, we pick a random,
12938 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12939 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12940 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'
12941 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'
12942 ;;
12943
12944 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12945 tmp_diet=no
12946 if test "$host_os" = linux-dietlibc; then
12947 case $cc_basename in
12948 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12949 esac
12950 fi
12951 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12952 && test "$tmp_diet" = no
12953 then
12954 tmp_addflag=
12955 tmp_sharedflag='-shared'
12956 case $cc_basename,$host_cpu in
12957 pgcc*) # Portland Group C compiler
12958 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'
12959 tmp_addflag=' $pic_flag'
12960 ;;
12961 pgf77* | pgf90* | pgf95* | pgfortran*)
12962 # Portland Group f77 and f90 compilers
12963 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'
12964 tmp_addflag=' $pic_flag -Mnomain' ;;
12965 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12966 tmp_addflag=' -i_dynamic' ;;
12967 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12968 tmp_addflag=' -i_dynamic -nofor_main' ;;
12969 ifc* | ifort*) # Intel Fortran compiler
12970 tmp_addflag=' -nofor_main' ;;
12971 lf95*) # Lahey Fortran 8.1
12972 whole_archive_flag_spec_FC=
12973 tmp_sharedflag='--shared' ;;
12974 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12975 tmp_sharedflag='-qmkshrobj'
12976 tmp_addflag= ;;
12977 nvcc*) # Cuda Compiler Driver 2.2
12978 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'
12979 compiler_needs_object_FC=yes
12980 ;;
12981 esac
12982 case `$CC -V 2>&1 | sed 5q` in
12983 *Sun\ C*) # Sun C 5.9
12984 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'
12985 compiler_needs_object_FC=yes
12986 tmp_sharedflag='-G' ;;
12987 *Sun\ F*) # Sun Fortran 8.3
12988 tmp_sharedflag='-G' ;;
12989 esac
12990 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12991
12992 if test "x$supports_anon_versioning" = xyes; then
12993 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12994 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12995 echo "local: *; };" >> $output_objdir/$libname.ver~
12996 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12997 fi
12998
12999 case $cc_basename in
13000 xlf* | bgf* | bgxlf* | mpixlf*)
13001 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13002 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
13003 hardcode_libdir_flag_spec_FC=
13004 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
13005 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13006 if test "x$supports_anon_versioning" = xyes; then
13007 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13008 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13009 echo "local: *; };" >> $output_objdir/$libname.ver~
13010 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13011 fi
13012 ;;
13013 esac
13014 else
13015 ld_shlibs_FC=no
13016 fi
13017 ;;
13018
13019 netbsd*)
13020 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13021 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13022 wlarc=
13023 else
13024 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13025 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13026 fi
13027 ;;
13028
13029 solaris*)
13030 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
13031 ld_shlibs_FC=no
13032 cat <<_LT_EOF 1>&2
13033
13034 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13035 *** create shared libraries on Solaris systems. Therefore, libtool
13036 *** is disabling shared libraries support. We urge you to upgrade GNU
13037 *** binutils to release 2.9.1 or newer. Another option is to modify
13038 *** your PATH or compiler configuration so that the native linker is
13039 *** used, and then restart.
13040
13041 _LT_EOF
13042 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13043 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13044 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13045 else
13046 ld_shlibs_FC=no
13047 fi
13048 ;;
13049
13050 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13051 case `$LD -v 2>&1` in
13052 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13053 ld_shlibs_FC=no
13054 cat <<_LT_EOF 1>&2
13055
13056 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13057 *** reliably create shared libraries on SCO systems. Therefore, libtool
13058 *** is disabling shared libraries support. We urge you to upgrade GNU
13059 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13060 *** your PATH or compiler configuration so that the native linker is
13061 *** used, and then restart.
13062
13063 _LT_EOF
13064 ;;
13065 *)
13066 # For security reasons, it is highly recommended that you always
13067 # use absolute paths for naming shared libraries, and exclude the
13068 # DT_RUNPATH tag from executables and libraries. But doing so
13069 # requires that you compile everything twice, which is a pain.
13070 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13071 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13072 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13073 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13074 else
13075 ld_shlibs_FC=no
13076 fi
13077 ;;
13078 esac
13079 ;;
13080
13081 sunos4*)
13082 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13083 wlarc=
13084 hardcode_direct_FC=yes
13085 hardcode_shlibpath_var_FC=no
13086 ;;
13087
13088 *)
13089 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13090 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13091 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13092 else
13093 ld_shlibs_FC=no
13094 fi
13095 ;;
13096 esac
13097
13098 if test "$ld_shlibs_FC" = no; then
13099 runpath_var=
13100 hardcode_libdir_flag_spec_FC=
13101 export_dynamic_flag_spec_FC=
13102 whole_archive_flag_spec_FC=
13103 fi
13104 else
13105 # PORTME fill in a description of your system's linker (not GNU ld)
13106 case $host_os in
13107 aix3*)
13108 allow_undefined_flag_FC=unsupported
13109 always_export_symbols_FC=yes
13110 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'
13111 # Note: this linker hardcodes the directories in LIBPATH if there
13112 # are no directories specified by -L.
13113 hardcode_minus_L_FC=yes
13114 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13115 # Neither direct hardcoding nor static linking is supported with a
13116 # broken collect2.
13117 hardcode_direct_FC=unsupported
13118 fi
13119 ;;
13120
13121 aix[4-9]*)
13122 if test "$host_cpu" = ia64; then
13123 # On IA64, the linker does run time linking by default, so we don't
13124 # have to do anything special.
13125 aix_use_runtimelinking=no
13126 exp_sym_flag='-Bexport'
13127 no_entry_flag=""
13128 else
13129 # If we're using GNU nm, then we don't want the "-C" option.
13130 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13131 # Also, AIX nm treats weak defined symbols like other global
13132 # defined symbols, whereas GNU nm marks them as "W".
13133 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13134 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'
13135 else
13136 export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13137 fi
13138 aix_use_runtimelinking=no
13139
13140 # Test if we are trying to use run time linking or normal
13141 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13142 # need to do runtime linking.
13143 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13144 for ld_flag in $LDFLAGS; do
13145 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13146 aix_use_runtimelinking=yes
13147 break
13148 fi
13149 done
13150 ;;
13151 esac
13152
13153 exp_sym_flag='-bexport'
13154 no_entry_flag='-bnoentry'
13155 fi
13156
13157 # When large executables or shared objects are built, AIX ld can
13158 # have problems creating the table of contents. If linking a library
13159 # or program results in "error TOC overflow" add -mminimal-toc to
13160 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13161 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13162
13163 archive_cmds_FC=''
13164 hardcode_direct_FC=yes
13165 hardcode_direct_absolute_FC=yes
13166 hardcode_libdir_separator_FC=':'
13167 link_all_deplibs_FC=yes
13168 file_list_spec_FC='${wl}-f,'
13169
13170 if test "$GCC" = yes; then
13171 case $host_os in aix4.[012]|aix4.[012].*)
13172 # We only want to do this on AIX 4.2 and lower, the check
13173 # below for broken collect2 doesn't work under 4.3+
13174 collect2name=`${CC} -print-prog-name=collect2`
13175 if test -f "$collect2name" &&
13176 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13177 then
13178 # We have reworked collect2
13179 :
13180 else
13181 # We have old collect2
13182 hardcode_direct_FC=unsupported
13183 # It fails to find uninstalled libraries when the uninstalled
13184 # path is not listed in the libpath. Setting hardcode_minus_L
13185 # to unsupported forces relinking
13186 hardcode_minus_L_FC=yes
13187 hardcode_libdir_flag_spec_FC='-L$libdir'
13188 hardcode_libdir_separator_FC=
13189 fi
13190 ;;
13191 esac
13192 shared_flag='-shared'
13193 if test "$aix_use_runtimelinking" = yes; then
13194 shared_flag="$shared_flag "'${wl}-G'
13195 fi
13196 else
13197 # not using gcc
13198 if test "$host_cpu" = ia64; then
13199 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13200 # chokes on -Wl,-G. The following line is correct:
13201 shared_flag='-G'
13202 else
13203 if test "$aix_use_runtimelinking" = yes; then
13204 shared_flag='${wl}-G'
13205 else
13206 shared_flag='${wl}-bM:SRE'
13207 fi
13208 fi
13209 fi
13210
13211 export_dynamic_flag_spec_FC='${wl}-bexpall'
13212 # It seems that -bexpall does not export symbols beginning with
13213 # underscore (_), so it is better to generate a list of symbols to export.
13214 always_export_symbols_FC=yes
13215 if test "$aix_use_runtimelinking" = yes; then
13216 # Warning - without using the other runtime loading flags (-brtl),
13217 # -berok will link without error, but may produce a broken library.
13218 allow_undefined_flag_FC='-berok'
13219 # Determine the default libpath from the value encoded in an
13220 # empty executable.
13221 if test x$gcc_no_link = xyes; then
13222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13223 fi
13224 cat > conftest.$ac_ext <<_ACEOF
13225 program main
13226
13227 end
13228 _ACEOF
13229 if ac_fn_fc_try_link "$LINENO"; then :
13230
13231 lt_aix_libpath_sed='
13232 /Import File Strings/,/^$/ {
13233 /^0/ {
13234 s/^0 *\(.*\)$/\1/
13235 p
13236 }
13237 }'
13238 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13239 # Check for a 64-bit object if we didn't find anything.
13240 if test -z "$aix_libpath"; then
13241 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13242 fi
13243 fi
13244 rm -f core conftest.err conftest.$ac_objext \
13245 conftest$ac_exeext conftest.$ac_ext
13246 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13247
13248 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13249 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"
13250 else
13251 if test "$host_cpu" = ia64; then
13252 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
13253 allow_undefined_flag_FC="-z nodefs"
13254 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"
13255 else
13256 # Determine the default libpath from the value encoded in an
13257 # empty executable.
13258 if test x$gcc_no_link = xyes; then
13259 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13260 fi
13261 cat > conftest.$ac_ext <<_ACEOF
13262 program main
13263
13264 end
13265 _ACEOF
13266 if ac_fn_fc_try_link "$LINENO"; then :
13267
13268 lt_aix_libpath_sed='
13269 /Import File Strings/,/^$/ {
13270 /^0/ {
13271 s/^0 *\(.*\)$/\1/
13272 p
13273 }
13274 }'
13275 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13276 # Check for a 64-bit object if we didn't find anything.
13277 if test -z "$aix_libpath"; then
13278 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13279 fi
13280 fi
13281 rm -f core conftest.err conftest.$ac_objext \
13282 conftest$ac_exeext conftest.$ac_ext
13283 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13284
13285 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13286 # Warning - without using the other run time loading flags,
13287 # -berok will link without error, but may produce a broken library.
13288 no_undefined_flag_FC=' ${wl}-bernotok'
13289 allow_undefined_flag_FC=' ${wl}-berok'
13290 if test "$with_gnu_ld" = yes; then
13291 # We only use this code for GNU lds that support --whole-archive.
13292 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13293 else
13294 # Exported symbols can be pulled into shared objects from archives
13295 whole_archive_flag_spec_FC='$convenience'
13296 fi
13297 archive_cmds_need_lc_FC=yes
13298 # This is similar to how AIX traditionally builds its shared libraries.
13299 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'
13300 fi
13301 fi
13302 ;;
13303
13304 amigaos*)
13305 case $host_cpu in
13306 powerpc)
13307 # see comment about AmigaOS4 .so support
13308 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13309 archive_expsym_cmds_FC=''
13310 ;;
13311 m68k)
13312 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)'
13313 hardcode_libdir_flag_spec_FC='-L$libdir'
13314 hardcode_minus_L_FC=yes
13315 ;;
13316 esac
13317 ;;
13318
13319 bsdi[45]*)
13320 export_dynamic_flag_spec_FC=-rdynamic
13321 ;;
13322
13323 cygwin* | mingw* | pw32* | cegcc*)
13324 # When not using gcc, we currently assume that we are using
13325 # Microsoft Visual C++.
13326 # hardcode_libdir_flag_spec is actually meaningless, as there is
13327 # no search path for DLLs.
13328 hardcode_libdir_flag_spec_FC=' '
13329 allow_undefined_flag_FC=unsupported
13330 # Tell ltmain to make .lib files, not .a files.
13331 libext=lib
13332 # Tell ltmain to make .dll files, not .so files.
13333 shrext_cmds=".dll"
13334 # FIXME: Setting linknames here is a bad hack.
13335 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13336 # The linker will automatically build a .lib file if we build a DLL.
13337 old_archive_from_new_cmds_FC='true'
13338 # FIXME: Should let the user specify the lib program.
13339 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
13340 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
13341 enable_shared_with_static_runtimes_FC=yes
13342 ;;
13343
13344 darwin* | rhapsody*)
13345
13346
13347 archive_cmds_need_lc_FC=no
13348 hardcode_direct_FC=no
13349 hardcode_automatic_FC=yes
13350 hardcode_shlibpath_var_FC=unsupported
13351 if test "$lt_cv_ld_force_load" = "yes"; then
13352 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\"`'
13353 else
13354 whole_archive_flag_spec_FC=''
13355 fi
13356 link_all_deplibs_FC=yes
13357 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
13358 case $cc_basename in
13359 ifort*) _lt_dar_can_shared=yes ;;
13360 *) _lt_dar_can_shared=$GCC ;;
13361 esac
13362 if test "$_lt_dar_can_shared" = "yes"; then
13363 output_verbose_link_cmd=func_echo_all
13364 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}"
13365 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13366 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}"
13367 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}"
13368
13369 else
13370 ld_shlibs_FC=no
13371 fi
13372
13373 ;;
13374
13375 dgux*)
13376 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13377 hardcode_libdir_flag_spec_FC='-L$libdir'
13378 hardcode_shlibpath_var_FC=no
13379 ;;
13380
13381 freebsd1*)
13382 ld_shlibs_FC=no
13383 ;;
13384
13385 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13386 # support. Future versions do this automatically, but an explicit c++rt0.o
13387 # does not break anything, and helps significantly (at the cost of a little
13388 # extra space).
13389 freebsd2.2*)
13390 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13391 hardcode_libdir_flag_spec_FC='-R$libdir'
13392 hardcode_direct_FC=yes
13393 hardcode_shlibpath_var_FC=no
13394 ;;
13395
13396 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13397 freebsd2*)
13398 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13399 hardcode_direct_FC=yes
13400 hardcode_minus_L_FC=yes
13401 hardcode_shlibpath_var_FC=no
13402 ;;
13403
13404 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13405 freebsd* | dragonfly*)
13406 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13407 hardcode_libdir_flag_spec_FC='-R$libdir'
13408 hardcode_direct_FC=yes
13409 hardcode_shlibpath_var_FC=no
13410 ;;
13411
13412 hpux9*)
13413 if test "$GCC" = yes; then
13414 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'
13415 else
13416 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'
13417 fi
13418 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13419 hardcode_libdir_separator_FC=:
13420 hardcode_direct_FC=yes
13421
13422 # hardcode_minus_L: Not really in the search PATH,
13423 # but as the default location of the library.
13424 hardcode_minus_L_FC=yes
13425 export_dynamic_flag_spec_FC='${wl}-E'
13426 ;;
13427
13428 hpux10*)
13429 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13430 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13431 else
13432 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13433 fi
13434 if test "$with_gnu_ld" = no; then
13435 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13436 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
13437 hardcode_libdir_separator_FC=:
13438 hardcode_direct_FC=yes
13439 hardcode_direct_absolute_FC=yes
13440 export_dynamic_flag_spec_FC='${wl}-E'
13441 # hardcode_minus_L: Not really in the search PATH,
13442 # but as the default location of the library.
13443 hardcode_minus_L_FC=yes
13444 fi
13445 ;;
13446
13447 hpux11*)
13448 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13449 case $host_cpu in
13450 hppa*64*)
13451 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13452 ;;
13453 ia64*)
13454 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13455 ;;
13456 *)
13457 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13458 ;;
13459 esac
13460 else
13461 case $host_cpu in
13462 hppa*64*)
13463 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13464 ;;
13465 ia64*)
13466 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13467 ;;
13468 *)
13469 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13470 ;;
13471 esac
13472 fi
13473 if test "$with_gnu_ld" = no; then
13474 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13475 hardcode_libdir_separator_FC=:
13476
13477 case $host_cpu in
13478 hppa*64*|ia64*)
13479 hardcode_direct_FC=no
13480 hardcode_shlibpath_var_FC=no
13481 ;;
13482 *)
13483 hardcode_direct_FC=yes
13484 hardcode_direct_absolute_FC=yes
13485 export_dynamic_flag_spec_FC='${wl}-E'
13486
13487 # hardcode_minus_L: Not really in the search PATH,
13488 # but as the default location of the library.
13489 hardcode_minus_L_FC=yes
13490 ;;
13491 esac
13492 fi
13493 ;;
13494
13495 irix5* | irix6* | nonstopux*)
13496 if test "$GCC" = yes; then
13497 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'
13498 # Try to use the -exported_symbol ld option, if it does not
13499 # work, assume that -exports_file does not work either and
13500 # implicitly export all symbols.
13501 save_LDFLAGS="$LDFLAGS"
13502 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13503 if test x$gcc_no_link = xyes; then
13504 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13505 fi
13506 cat > conftest.$ac_ext <<_ACEOF
13507 int foo(void) {}
13508 _ACEOF
13509 if ac_fn_fc_try_link "$LINENO"; then :
13510 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'
13511
13512 fi
13513 rm -f core conftest.err conftest.$ac_objext \
13514 conftest$ac_exeext conftest.$ac_ext
13515 LDFLAGS="$save_LDFLAGS"
13516 else
13517 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'
13518 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'
13519 fi
13520 archive_cmds_need_lc_FC='no'
13521 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13522 hardcode_libdir_separator_FC=:
13523 inherit_rpath_FC=yes
13524 link_all_deplibs_FC=yes
13525 ;;
13526
13527 netbsd*)
13528 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13529 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13530 else
13531 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13532 fi
13533 hardcode_libdir_flag_spec_FC='-R$libdir'
13534 hardcode_direct_FC=yes
13535 hardcode_shlibpath_var_FC=no
13536 ;;
13537
13538 newsos6)
13539 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13540 hardcode_direct_FC=yes
13541 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13542 hardcode_libdir_separator_FC=:
13543 hardcode_shlibpath_var_FC=no
13544 ;;
13545
13546 *nto* | *qnx*)
13547 ;;
13548
13549 openbsd*)
13550 if test -f /usr/libexec/ld.so; then
13551 hardcode_direct_FC=yes
13552 hardcode_shlibpath_var_FC=no
13553 hardcode_direct_absolute_FC=yes
13554 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13555 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13556 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13557 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13558 export_dynamic_flag_spec_FC='${wl}-E'
13559 else
13560 case $host_os in
13561 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13562 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13563 hardcode_libdir_flag_spec_FC='-R$libdir'
13564 ;;
13565 *)
13566 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13567 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13568 ;;
13569 esac
13570 fi
13571 else
13572 ld_shlibs_FC=no
13573 fi
13574 ;;
13575
13576 os2*)
13577 hardcode_libdir_flag_spec_FC='-L$libdir'
13578 hardcode_minus_L_FC=yes
13579 allow_undefined_flag_FC=unsupported
13580 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'
13581 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13582 ;;
13583
13584 osf3*)
13585 if test "$GCC" = yes; then
13586 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13587 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'
13588 else
13589 allow_undefined_flag_FC=' -expect_unresolved \*'
13590 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'
13591 fi
13592 archive_cmds_need_lc_FC='no'
13593 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13594 hardcode_libdir_separator_FC=:
13595 ;;
13596
13597 osf4* | osf5*) # as osf3* with the addition of -msym flag
13598 if test "$GCC" = yes; then
13599 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13600 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'
13601 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13602 else
13603 allow_undefined_flag_FC=' -expect_unresolved \*'
13604 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'
13605 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~
13606 $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'
13607
13608 # Both c and cxx compiler support -rpath directly
13609 hardcode_libdir_flag_spec_FC='-rpath $libdir'
13610 fi
13611 archive_cmds_need_lc_FC='no'
13612 hardcode_libdir_separator_FC=:
13613 ;;
13614
13615 solaris*)
13616 no_undefined_flag_FC=' -z defs'
13617 if test "$GCC" = yes; then
13618 wlarc='${wl}'
13619 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13620 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13621 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13622 else
13623 case `$CC -V 2>&1` in
13624 *"Compilers 5.0"*)
13625 wlarc=''
13626 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13627 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13628 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13629 ;;
13630 *)
13631 wlarc='${wl}'
13632 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13633 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13634 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13635 ;;
13636 esac
13637 fi
13638 hardcode_libdir_flag_spec_FC='-R$libdir'
13639 hardcode_shlibpath_var_FC=no
13640 case $host_os in
13641 solaris2.[0-5] | solaris2.[0-5].*) ;;
13642 *)
13643 # The compiler driver will combine and reorder linker options,
13644 # but understands `-z linker_flag'. GCC discards it without `$wl',
13645 # but is careful enough not to reorder.
13646 # Supported since Solaris 2.6 (maybe 2.5.1?)
13647 if test "$GCC" = yes; then
13648 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13649 else
13650 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
13651 fi
13652 ;;
13653 esac
13654 link_all_deplibs_FC=yes
13655 ;;
13656
13657 sunos4*)
13658 if test "x$host_vendor" = xsequent; then
13659 # Use $CC to link under sequent, because it throws in some extra .o
13660 # files that make .init and .fini sections work.
13661 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13662 else
13663 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13664 fi
13665 hardcode_libdir_flag_spec_FC='-L$libdir'
13666 hardcode_direct_FC=yes
13667 hardcode_minus_L_FC=yes
13668 hardcode_shlibpath_var_FC=no
13669 ;;
13670
13671 sysv4)
13672 case $host_vendor in
13673 sni)
13674 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13675 hardcode_direct_FC=yes # is this really true???
13676 ;;
13677 siemens)
13678 ## LD is ld it makes a PLAMLIB
13679 ## CC just makes a GrossModule.
13680 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13681 reload_cmds_FC='$CC -r -o $output$reload_objs'
13682 hardcode_direct_FC=no
13683 ;;
13684 motorola)
13685 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13686 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
13687 ;;
13688 esac
13689 runpath_var='LD_RUN_PATH'
13690 hardcode_shlibpath_var_FC=no
13691 ;;
13692
13693 sysv4.3*)
13694 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13695 hardcode_shlibpath_var_FC=no
13696 export_dynamic_flag_spec_FC='-Bexport'
13697 ;;
13698
13699 sysv4*MP*)
13700 if test -d /usr/nec; then
13701 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13702 hardcode_shlibpath_var_FC=no
13703 runpath_var=LD_RUN_PATH
13704 hardcode_runpath_var=yes
13705 ld_shlibs_FC=yes
13706 fi
13707 ;;
13708
13709 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13710 no_undefined_flag_FC='${wl}-z,text'
13711 archive_cmds_need_lc_FC=no
13712 hardcode_shlibpath_var_FC=no
13713 runpath_var='LD_RUN_PATH'
13714
13715 if test "$GCC" = yes; then
13716 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13717 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13718 else
13719 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13720 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13721 fi
13722 ;;
13723
13724 sysv5* | sco3.2v5* | sco5v6*)
13725 # Note: We can NOT use -z defs as we might desire, because we do not
13726 # link with -lc, and that would cause any symbols used from libc to
13727 # always be unresolved, which means just about no library would
13728 # ever link correctly. If we're not using GNU ld we use -z text
13729 # though, which does catch some bad symbols but isn't as heavy-handed
13730 # as -z defs.
13731 no_undefined_flag_FC='${wl}-z,text'
13732 allow_undefined_flag_FC='${wl}-z,nodefs'
13733 archive_cmds_need_lc_FC=no
13734 hardcode_shlibpath_var_FC=no
13735 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
13736 hardcode_libdir_separator_FC=':'
13737 link_all_deplibs_FC=yes
13738 export_dynamic_flag_spec_FC='${wl}-Bexport'
13739 runpath_var='LD_RUN_PATH'
13740
13741 if test "$GCC" = yes; then
13742 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13743 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13744 else
13745 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13746 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13747 fi
13748 ;;
13749
13750 uts4*)
13751 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13752 hardcode_libdir_flag_spec_FC='-L$libdir'
13753 hardcode_shlibpath_var_FC=no
13754 ;;
13755
13756 *)
13757 ld_shlibs_FC=no
13758 ;;
13759 esac
13760
13761 if test x$host_vendor = xsni; then
13762 case $host in
13763 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13764 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
13765 ;;
13766 esac
13767 fi
13768 fi
13769
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13771 $as_echo "$ld_shlibs_FC" >&6; }
13772 test "$ld_shlibs_FC" = no && can_build_shared=no
13773
13774 with_gnu_ld_FC=$with_gnu_ld
13775
13776
13777
13778
13779
13780
13781 #
13782 # Do we need to explicitly link libc?
13783 #
13784 case "x$archive_cmds_need_lc_FC" in
13785 x|xyes)
13786 # Assume -lc should be added
13787 archive_cmds_need_lc_FC=yes
13788
13789 if test "$enable_shared" = yes && test "$GCC" = yes; then
13790 case $archive_cmds_FC in
13791 *'~'*)
13792 # FIXME: we may have to deal with multi-command sequences.
13793 ;;
13794 '$CC '*)
13795 # Test whether the compiler implicitly links with -lc since on some
13796 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13797 # to ld, don't add -lc before -lgcc.
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13799 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13800 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
13801 $as_echo_n "(cached) " >&6
13802 else
13803 $RM conftest*
13804 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13805
13806 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13807 (eval $ac_compile) 2>&5
13808 ac_status=$?
13809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13810 test $ac_status = 0; } 2>conftest.err; then
13811 soname=conftest
13812 lib=conftest
13813 libobjs=conftest.$ac_objext
13814 deplibs=
13815 wl=$lt_prog_compiler_wl_FC
13816 pic_flag=$lt_prog_compiler_pic_FC
13817 compiler_flags=-v
13818 linker_flags=-v
13819 verstring=
13820 output_objdir=.
13821 libname=conftest
13822 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
13823 allow_undefined_flag_FC=
13824 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13825 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13826 ac_status=$?
13827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13828 test $ac_status = 0; }
13829 then
13830 lt_cv_archive_cmds_need_lc_FC=no
13831 else
13832 lt_cv_archive_cmds_need_lc_FC=yes
13833 fi
13834 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
13835 else
13836 cat conftest.err 1>&5
13837 fi
13838 $RM conftest*
13839
13840 fi
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13842 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
13843 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
13844 ;;
13845 esac
13846 fi
13847 ;;
13848 esac
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13914 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13915
13916 library_names_spec=
13917 libname_spec='lib$name'
13918 soname_spec=
13919 shrext_cmds=".so"
13920 postinstall_cmds=
13921 postuninstall_cmds=
13922 finish_cmds=
13923 finish_eval=
13924 shlibpath_var=
13925 shlibpath_overrides_runpath=unknown
13926 version_type=none
13927 dynamic_linker="$host_os ld.so"
13928 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13929 need_lib_prefix=unknown
13930 hardcode_into_libs=no
13931
13932 # when you set need_version to no, make sure it does not cause -set_version
13933 # flags to be left without arguments
13934 need_version=unknown
13935
13936 case $host_os in
13937 aix3*)
13938 version_type=linux
13939 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13940 shlibpath_var=LIBPATH
13941
13942 # AIX 3 has no versioning support, so we append a major version to the name.
13943 soname_spec='${libname}${release}${shared_ext}$major'
13944 ;;
13945
13946 aix[4-9]*)
13947 version_type=linux
13948 need_lib_prefix=no
13949 need_version=no
13950 hardcode_into_libs=yes
13951 if test "$host_cpu" = ia64; then
13952 # AIX 5 supports IA64
13953 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13954 shlibpath_var=LD_LIBRARY_PATH
13955 else
13956 # With GCC up to 2.95.x, collect2 would create an import file
13957 # for dependence libraries. The import file would start with
13958 # the line `#! .'. This would cause the generated library to
13959 # depend on `.', always an invalid library. This was fixed in
13960 # development snapshots of GCC prior to 3.0.
13961 case $host_os in
13962 aix4 | aix4.[01] | aix4.[01].*)
13963 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13964 echo ' yes '
13965 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13966 :
13967 else
13968 can_build_shared=no
13969 fi
13970 ;;
13971 esac
13972 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13973 # soname into executable. Probably we can add versioning support to
13974 # collect2, so additional links can be useful in future.
13975 if test "$aix_use_runtimelinking" = yes; then
13976 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13977 # instead of lib<name>.a to let people know that these are not
13978 # typical AIX shared libraries.
13979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13980 else
13981 # We preserve .a as extension for shared libraries through AIX4.2
13982 # and later when we are not doing run time linking.
13983 library_names_spec='${libname}${release}.a $libname.a'
13984 soname_spec='${libname}${release}${shared_ext}$major'
13985 fi
13986 shlibpath_var=LIBPATH
13987 fi
13988 ;;
13989
13990 amigaos*)
13991 case $host_cpu in
13992 powerpc)
13993 # Since July 2007 AmigaOS4 officially supports .so libraries.
13994 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13995 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13996 ;;
13997 m68k)
13998 library_names_spec='$libname.ixlibrary $libname.a'
13999 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14000 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'
14001 ;;
14002 esac
14003 ;;
14004
14005 beos*)
14006 library_names_spec='${libname}${shared_ext}'
14007 dynamic_linker="$host_os ld.so"
14008 shlibpath_var=LIBRARY_PATH
14009 ;;
14010
14011 bsdi[45]*)
14012 version_type=linux
14013 need_version=no
14014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14015 soname_spec='${libname}${release}${shared_ext}$major'
14016 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14017 shlibpath_var=LD_LIBRARY_PATH
14018 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14019 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14020 # the default ld.so.conf also contains /usr/contrib/lib and
14021 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14022 # libtool to hard-code these into programs
14023 ;;
14024
14025 cygwin* | mingw* | pw32* | cegcc*)
14026 version_type=windows
14027 shrext_cmds=".dll"
14028 need_version=no
14029 need_lib_prefix=no
14030
14031 case $GCC,$host_os in
14032 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14033 library_names_spec='$libname.dll.a'
14034 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14035 postinstall_cmds='base_file=`basename \${file}`~
14036 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14037 dldir=$destdir/`dirname \$dlpath`~
14038 test -d \$dldir || mkdir -p \$dldir~
14039 $install_prog $dir/$dlname \$dldir/$dlname~
14040 chmod a+x \$dldir/$dlname~
14041 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14042 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14043 fi'
14044 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14045 dlpath=$dir/\$dldll~
14046 $RM \$dlpath'
14047 shlibpath_overrides_runpath=yes
14048
14049 case $host_os in
14050 cygwin*)
14051 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14052 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14053
14054 ;;
14055 mingw* | cegcc*)
14056 # MinGW DLLs use traditional 'lib' prefix
14057 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14058 ;;
14059 pw32*)
14060 # pw32 DLLs use 'pw' prefix rather than 'lib'
14061 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14062 ;;
14063 esac
14064 ;;
14065
14066 *)
14067 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14068 ;;
14069 esac
14070 dynamic_linker='Win32 ld.exe'
14071 # FIXME: first we should search . and the directory the executable is in
14072 shlibpath_var=PATH
14073 ;;
14074
14075 darwin* | rhapsody*)
14076 dynamic_linker="$host_os dyld"
14077 version_type=darwin
14078 need_lib_prefix=no
14079 need_version=no
14080 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14081 soname_spec='${libname}${release}${major}$shared_ext'
14082 shlibpath_overrides_runpath=yes
14083 shlibpath_var=DYLD_LIBRARY_PATH
14084 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14085
14086 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14087 ;;
14088
14089 dgux*)
14090 version_type=linux
14091 need_lib_prefix=no
14092 need_version=no
14093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14094 soname_spec='${libname}${release}${shared_ext}$major'
14095 shlibpath_var=LD_LIBRARY_PATH
14096 ;;
14097
14098 freebsd1*)
14099 dynamic_linker=no
14100 ;;
14101
14102 freebsd* | dragonfly*)
14103 # DragonFly does not have aout. When/if they implement a new
14104 # versioning mechanism, adjust this.
14105 if test -x /usr/bin/objformat; then
14106 objformat=`/usr/bin/objformat`
14107 else
14108 case $host_os in
14109 freebsd[123]*) objformat=aout ;;
14110 *) objformat=elf ;;
14111 esac
14112 fi
14113 version_type=freebsd-$objformat
14114 case $version_type in
14115 freebsd-elf*)
14116 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14117 need_version=no
14118 need_lib_prefix=no
14119 ;;
14120 freebsd-*)
14121 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14122 need_version=yes
14123 ;;
14124 esac
14125 shlibpath_var=LD_LIBRARY_PATH
14126 case $host_os in
14127 freebsd2*)
14128 shlibpath_overrides_runpath=yes
14129 ;;
14130 freebsd3.[01]* | freebsdelf3.[01]*)
14131 shlibpath_overrides_runpath=yes
14132 hardcode_into_libs=yes
14133 ;;
14134 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14135 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14136 shlibpath_overrides_runpath=no
14137 hardcode_into_libs=yes
14138 ;;
14139 *) # from 4.6 on, and DragonFly
14140 shlibpath_overrides_runpath=yes
14141 hardcode_into_libs=yes
14142 ;;
14143 esac
14144 ;;
14145
14146 gnu*)
14147 version_type=linux
14148 need_lib_prefix=no
14149 need_version=no
14150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14151 soname_spec='${libname}${release}${shared_ext}$major'
14152 shlibpath_var=LD_LIBRARY_PATH
14153 hardcode_into_libs=yes
14154 ;;
14155
14156 haiku*)
14157 version_type=linux
14158 need_lib_prefix=no
14159 need_version=no
14160 dynamic_linker="$host_os runtime_loader"
14161 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14162 soname_spec='${libname}${release}${shared_ext}$major'
14163 shlibpath_var=LIBRARY_PATH
14164 shlibpath_overrides_runpath=yes
14165 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14166 hardcode_into_libs=yes
14167 ;;
14168
14169 hpux9* | hpux10* | hpux11*)
14170 # Give a soname corresponding to the major version so that dld.sl refuses to
14171 # link against other versions.
14172 version_type=sunos
14173 need_lib_prefix=no
14174 need_version=no
14175 case $host_cpu in
14176 ia64*)
14177 shrext_cmds='.so'
14178 hardcode_into_libs=yes
14179 dynamic_linker="$host_os dld.so"
14180 shlibpath_var=LD_LIBRARY_PATH
14181 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14183 soname_spec='${libname}${release}${shared_ext}$major'
14184 if test "X$HPUX_IA64_MODE" = X32; then
14185 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14186 else
14187 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14188 fi
14189 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14190 ;;
14191 hppa*64*)
14192 shrext_cmds='.sl'
14193 hardcode_into_libs=yes
14194 dynamic_linker="$host_os dld.sl"
14195 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14196 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14198 soname_spec='${libname}${release}${shared_ext}$major'
14199 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14200 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14201 ;;
14202 *)
14203 shrext_cmds='.sl'
14204 dynamic_linker="$host_os dld.sl"
14205 shlibpath_var=SHLIB_PATH
14206 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14208 soname_spec='${libname}${release}${shared_ext}$major'
14209 ;;
14210 esac
14211 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14212 postinstall_cmds='chmod 555 $lib'
14213 # or fails outright, so override atomically:
14214 install_override_mode=555
14215 ;;
14216
14217 interix[3-9]*)
14218 version_type=linux
14219 need_lib_prefix=no
14220 need_version=no
14221 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14222 soname_spec='${libname}${release}${shared_ext}$major'
14223 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14224 shlibpath_var=LD_LIBRARY_PATH
14225 shlibpath_overrides_runpath=no
14226 hardcode_into_libs=yes
14227 ;;
14228
14229 irix5* | irix6* | nonstopux*)
14230 case $host_os in
14231 nonstopux*) version_type=nonstopux ;;
14232 *)
14233 if test "$lt_cv_prog_gnu_ld" = yes; then
14234 version_type=linux
14235 else
14236 version_type=irix
14237 fi ;;
14238 esac
14239 need_lib_prefix=no
14240 need_version=no
14241 soname_spec='${libname}${release}${shared_ext}$major'
14242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14243 case $host_os in
14244 irix5* | nonstopux*)
14245 libsuff= shlibsuff=
14246 ;;
14247 *)
14248 case $LD in # libtool.m4 will add one of these switches to LD
14249 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14250 libsuff= shlibsuff= libmagic=32-bit;;
14251 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14252 libsuff=32 shlibsuff=N32 libmagic=N32;;
14253 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14254 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14255 *) libsuff= shlibsuff= libmagic=never-match;;
14256 esac
14257 ;;
14258 esac
14259 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14260 shlibpath_overrides_runpath=no
14261 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14262 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14263 hardcode_into_libs=yes
14264 ;;
14265
14266 # No shared lib support for Linux oldld, aout, or coff.
14267 linux*oldld* | linux*aout* | linux*coff*)
14268 dynamic_linker=no
14269 ;;
14270
14271 # This must be Linux ELF.
14272 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14273 version_type=linux
14274 need_lib_prefix=no
14275 need_version=no
14276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14277 soname_spec='${libname}${release}${shared_ext}$major'
14278 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14279 shlibpath_var=LD_LIBRARY_PATH
14280 shlibpath_overrides_runpath=no
14281
14282 # Some binutils ld are patched to set DT_RUNPATH
14283 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14284 $as_echo_n "(cached) " >&6
14285 else
14286 lt_cv_shlibpath_overrides_runpath=no
14287 save_LDFLAGS=$LDFLAGS
14288 save_libdir=$libdir
14289 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14290 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14291 if test x$gcc_no_link = xyes; then
14292 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14293 fi
14294 cat > conftest.$ac_ext <<_ACEOF
14295 program main
14296
14297 end
14298 _ACEOF
14299 if ac_fn_fc_try_link "$LINENO"; then :
14300 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14301 lt_cv_shlibpath_overrides_runpath=yes
14302 fi
14303 fi
14304 rm -f core conftest.err conftest.$ac_objext \
14305 conftest$ac_exeext conftest.$ac_ext
14306 LDFLAGS=$save_LDFLAGS
14307 libdir=$save_libdir
14308
14309 fi
14310
14311 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14312
14313 # This implies no fast_install, which is unacceptable.
14314 # Some rework will be needed to allow for fast_install
14315 # before this can be enabled.
14316 hardcode_into_libs=yes
14317
14318 # Append ld.so.conf contents to the search path
14319 if test -f /etc/ld.so.conf; then
14320 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' ' '`
14321 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14322 fi
14323
14324 # We used to test for /lib/ld.so.1 and disable shared libraries on
14325 # powerpc, because MkLinux only supported shared libraries with the
14326 # GNU dynamic linker. Since this was broken with cross compilers,
14327 # most powerpc-linux boxes support dynamic linking these days and
14328 # people can always --disable-shared, the test was removed, and we
14329 # assume the GNU/Linux dynamic linker is in use.
14330 dynamic_linker='GNU/Linux ld.so'
14331 ;;
14332
14333 netbsd*)
14334 version_type=sunos
14335 need_lib_prefix=no
14336 need_version=no
14337 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14338 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14339 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14340 dynamic_linker='NetBSD (a.out) ld.so'
14341 else
14342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14343 soname_spec='${libname}${release}${shared_ext}$major'
14344 dynamic_linker='NetBSD ld.elf_so'
14345 fi
14346 shlibpath_var=LD_LIBRARY_PATH
14347 shlibpath_overrides_runpath=yes
14348 hardcode_into_libs=yes
14349 ;;
14350
14351 newsos6)
14352 version_type=linux
14353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14354 shlibpath_var=LD_LIBRARY_PATH
14355 shlibpath_overrides_runpath=yes
14356 ;;
14357
14358 *nto* | *qnx*)
14359 version_type=qnx
14360 need_lib_prefix=no
14361 need_version=no
14362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14363 soname_spec='${libname}${release}${shared_ext}$major'
14364 shlibpath_var=LD_LIBRARY_PATH
14365 shlibpath_overrides_runpath=no
14366 hardcode_into_libs=yes
14367 dynamic_linker='ldqnx.so'
14368 ;;
14369
14370 openbsd*)
14371 version_type=sunos
14372 sys_lib_dlsearch_path_spec="/usr/lib"
14373 need_lib_prefix=no
14374 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14375 case $host_os in
14376 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14377 *) need_version=no ;;
14378 esac
14379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14380 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14381 shlibpath_var=LD_LIBRARY_PATH
14382 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14383 case $host_os in
14384 openbsd2.[89] | openbsd2.[89].*)
14385 shlibpath_overrides_runpath=no
14386 ;;
14387 *)
14388 shlibpath_overrides_runpath=yes
14389 ;;
14390 esac
14391 else
14392 shlibpath_overrides_runpath=yes
14393 fi
14394 ;;
14395
14396 os2*)
14397 libname_spec='$name'
14398 shrext_cmds=".dll"
14399 need_lib_prefix=no
14400 library_names_spec='$libname${shared_ext} $libname.a'
14401 dynamic_linker='OS/2 ld.exe'
14402 shlibpath_var=LIBPATH
14403 ;;
14404
14405 osf3* | osf4* | osf5*)
14406 version_type=osf
14407 need_lib_prefix=no
14408 need_version=no
14409 soname_spec='${libname}${release}${shared_ext}$major'
14410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14411 shlibpath_var=LD_LIBRARY_PATH
14412 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14413 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14414 ;;
14415
14416 rdos*)
14417 dynamic_linker=no
14418 ;;
14419
14420 solaris*)
14421 version_type=linux
14422 need_lib_prefix=no
14423 need_version=no
14424 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14425 soname_spec='${libname}${release}${shared_ext}$major'
14426 shlibpath_var=LD_LIBRARY_PATH
14427 shlibpath_overrides_runpath=yes
14428 hardcode_into_libs=yes
14429 # ldd complains unless libraries are executable
14430 postinstall_cmds='chmod +x $lib'
14431 ;;
14432
14433 sunos4*)
14434 version_type=sunos
14435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14436 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14437 shlibpath_var=LD_LIBRARY_PATH
14438 shlibpath_overrides_runpath=yes
14439 if test "$with_gnu_ld" = yes; then
14440 need_lib_prefix=no
14441 fi
14442 need_version=yes
14443 ;;
14444
14445 sysv4 | sysv4.3*)
14446 version_type=linux
14447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14448 soname_spec='${libname}${release}${shared_ext}$major'
14449 shlibpath_var=LD_LIBRARY_PATH
14450 case $host_vendor in
14451 sni)
14452 shlibpath_overrides_runpath=no
14453 need_lib_prefix=no
14454 runpath_var=LD_RUN_PATH
14455 ;;
14456 siemens)
14457 need_lib_prefix=no
14458 ;;
14459 motorola)
14460 need_lib_prefix=no
14461 need_version=no
14462 shlibpath_overrides_runpath=no
14463 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14464 ;;
14465 esac
14466 ;;
14467
14468 sysv4*MP*)
14469 if test -d /usr/nec ;then
14470 version_type=linux
14471 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14472 soname_spec='$libname${shared_ext}.$major'
14473 shlibpath_var=LD_LIBRARY_PATH
14474 fi
14475 ;;
14476
14477 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14478 version_type=freebsd-elf
14479 need_lib_prefix=no
14480 need_version=no
14481 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14482 soname_spec='${libname}${release}${shared_ext}$major'
14483 shlibpath_var=LD_LIBRARY_PATH
14484 shlibpath_overrides_runpath=yes
14485 hardcode_into_libs=yes
14486 if test "$with_gnu_ld" = yes; then
14487 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14488 else
14489 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14490 case $host_os in
14491 sco3.2v5*)
14492 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14493 ;;
14494 esac
14495 fi
14496 sys_lib_dlsearch_path_spec='/usr/lib'
14497 ;;
14498
14499 tpf*)
14500 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14501 version_type=linux
14502 need_lib_prefix=no
14503 need_version=no
14504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14505 shlibpath_var=LD_LIBRARY_PATH
14506 shlibpath_overrides_runpath=no
14507 hardcode_into_libs=yes
14508 ;;
14509
14510 uts4*)
14511 version_type=linux
14512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14513 soname_spec='${libname}${release}${shared_ext}$major'
14514 shlibpath_var=LD_LIBRARY_PATH
14515 ;;
14516
14517 *)
14518 dynamic_linker=no
14519 ;;
14520 esac
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14522 $as_echo "$dynamic_linker" >&6; }
14523 test "$dynamic_linker" = no && can_build_shared=no
14524
14525 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14526 if test "$GCC" = yes; then
14527 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14528 fi
14529
14530 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14531 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14532 fi
14533 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14534 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14535 fi
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14575 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14576 hardcode_action_FC=
14577 if test -n "$hardcode_libdir_flag_spec_FC" ||
14578 test -n "$runpath_var_FC" ||
14579 test "X$hardcode_automatic_FC" = "Xyes" ; then
14580
14581 # We can hardcode non-existent directories.
14582 if test "$hardcode_direct_FC" != no &&
14583 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14584 # have to relink, otherwise we might link with an installed library
14585 # when we should be linking with a yet-to-be-installed one
14586 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14587 test "$hardcode_minus_L_FC" != no; then
14588 # Linking always hardcodes the temporary library directory.
14589 hardcode_action_FC=relink
14590 else
14591 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14592 hardcode_action_FC=immediate
14593 fi
14594 else
14595 # We cannot hardcode anything, or else we can only hardcode existing
14596 # directories.
14597 hardcode_action_FC=unsupported
14598 fi
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14600 $as_echo "$hardcode_action_FC" >&6; }
14601
14602 if test "$hardcode_action_FC" = relink ||
14603 test "$inherit_rpath_FC" = yes; then
14604 # Fast installation is not supported
14605 enable_fast_install=no
14606 elif test "$shlibpath_overrides_runpath" = yes ||
14607 test "$enable_shared" = no; then
14608 # Fast installation is not necessary
14609 enable_fast_install=needless
14610 fi
14611
14612
14613
14614
14615
14616
14617
14618 fi # test -n "$compiler"
14619
14620 GCC=$lt_save_GCC
14621 CC="$lt_save_CC"
14622 fi # test "$_lt_disable_FC" != yes
14623
14624 ac_ext=c
14625 ac_cpp='$CPP $CPPFLAGS'
14626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14629
14630
14631
14632 # extra LD Flags which are required for targets
14633 case "${host}" in
14634 *-darwin*)
14635 # Darwin needs -single_module when linking libgfortran
14636 extra_ldflags_libgfortran=-Wl,-single_module
14637 ;;
14638 esac
14639
14640
14641 # We need a working compiler at that point, otherwise give a clear
14642 # error message and bail out.
14643
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
14645 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
14646 ac_ext=${ac_fc_srcext-f}
14647 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
14648 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
14649 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
14650
14651 cat > conftest.$ac_ext <<_ACEOF
14652
14653 program foo
14654 real, parameter :: bar = sin (12.34 / 2.5)
14655 end program foo
14656 _ACEOF
14657 if ac_fn_fc_try_compile "$LINENO"; then :
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14659 $as_echo "yes" >&6; }
14660 else
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14662 $as_echo "no" >&6; }
14663 as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
14664
14665 fi
14666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14667 ac_ext=c
14668 ac_cpp='$CPP $CPPFLAGS'
14669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14672
14673
14674
14675 # Check whether --enable-largefile was given.
14676 if test "${enable_largefile+set}" = set; then :
14677 enableval=$enable_largefile;
14678 fi
14679
14680 if test "$enable_largefile" != no; then
14681
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14683 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14684 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
14685 $as_echo_n "(cached) " >&6
14686 else
14687 ac_cv_sys_largefile_CC=no
14688 if test "$GCC" != yes; then
14689 ac_save_CC=$CC
14690 while :; do
14691 # IRIX 6.2 and later do not support large files by default,
14692 # so use the C compiler's -n32 option if that helps.
14693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14694 /* end confdefs.h. */
14695 #include <sys/types.h>
14696 /* Check that off_t can represent 2**63 - 1 correctly.
14697 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14698 since some C++ compilers masquerading as C compilers
14699 incorrectly reject 9223372036854775807. */
14700 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14701 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14702 && LARGE_OFF_T % 2147483647 == 1)
14703 ? 1 : -1];
14704 int
14705 main ()
14706 {
14707
14708 ;
14709 return 0;
14710 }
14711 _ACEOF
14712 if ac_fn_c_try_compile "$LINENO"; then :
14713 break
14714 fi
14715 rm -f core conftest.err conftest.$ac_objext
14716 CC="$CC -n32"
14717 if ac_fn_c_try_compile "$LINENO"; then :
14718 ac_cv_sys_largefile_CC=' -n32'; break
14719 fi
14720 rm -f core conftest.err conftest.$ac_objext
14721 break
14722 done
14723 CC=$ac_save_CC
14724 rm -f conftest.$ac_ext
14725 fi
14726 fi
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14728 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
14729 if test "$ac_cv_sys_largefile_CC" != no; then
14730 CC=$CC$ac_cv_sys_largefile_CC
14731 fi
14732
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14734 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14735 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
14736 $as_echo_n "(cached) " >&6
14737 else
14738 while :; do
14739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14740 /* end confdefs.h. */
14741 #include <sys/types.h>
14742 /* Check that off_t can represent 2**63 - 1 correctly.
14743 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14744 since some C++ compilers masquerading as C compilers
14745 incorrectly reject 9223372036854775807. */
14746 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14747 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14748 && LARGE_OFF_T % 2147483647 == 1)
14749 ? 1 : -1];
14750 int
14751 main ()
14752 {
14753
14754 ;
14755 return 0;
14756 }
14757 _ACEOF
14758 if ac_fn_c_try_compile "$LINENO"; then :
14759 ac_cv_sys_file_offset_bits=no; break
14760 fi
14761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14763 /* end confdefs.h. */
14764 #define _FILE_OFFSET_BITS 64
14765 #include <sys/types.h>
14766 /* Check that off_t can represent 2**63 - 1 correctly.
14767 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14768 since some C++ compilers masquerading as C compilers
14769 incorrectly reject 9223372036854775807. */
14770 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14771 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14772 && LARGE_OFF_T % 2147483647 == 1)
14773 ? 1 : -1];
14774 int
14775 main ()
14776 {
14777
14778 ;
14779 return 0;
14780 }
14781 _ACEOF
14782 if ac_fn_c_try_compile "$LINENO"; then :
14783 ac_cv_sys_file_offset_bits=64; break
14784 fi
14785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14786 ac_cv_sys_file_offset_bits=unknown
14787 break
14788 done
14789 fi
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14791 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14792 case $ac_cv_sys_file_offset_bits in #(
14793 no | unknown) ;;
14794 *)
14795 cat >>confdefs.h <<_ACEOF
14796 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14797 _ACEOF
14798 ;;
14799 esac
14800 rm -rf conftest*
14801 if test $ac_cv_sys_file_offset_bits = unknown; then
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14803 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14804 if test "${ac_cv_sys_large_files+set}" = set; then :
14805 $as_echo_n "(cached) " >&6
14806 else
14807 while :; do
14808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14809 /* end confdefs.h. */
14810 #include <sys/types.h>
14811 /* Check that off_t can represent 2**63 - 1 correctly.
14812 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14813 since some C++ compilers masquerading as C compilers
14814 incorrectly reject 9223372036854775807. */
14815 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14816 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14817 && LARGE_OFF_T % 2147483647 == 1)
14818 ? 1 : -1];
14819 int
14820 main ()
14821 {
14822
14823 ;
14824 return 0;
14825 }
14826 _ACEOF
14827 if ac_fn_c_try_compile "$LINENO"; then :
14828 ac_cv_sys_large_files=no; break
14829 fi
14830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14832 /* end confdefs.h. */
14833 #define _LARGE_FILES 1
14834 #include <sys/types.h>
14835 /* Check that off_t can represent 2**63 - 1 correctly.
14836 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14837 since some C++ compilers masquerading as C compilers
14838 incorrectly reject 9223372036854775807. */
14839 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14840 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14841 && LARGE_OFF_T % 2147483647 == 1)
14842 ? 1 : -1];
14843 int
14844 main ()
14845 {
14846
14847 ;
14848 return 0;
14849 }
14850 _ACEOF
14851 if ac_fn_c_try_compile "$LINENO"; then :
14852 ac_cv_sys_large_files=1; break
14853 fi
14854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14855 ac_cv_sys_large_files=unknown
14856 break
14857 done
14858 fi
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14860 $as_echo "$ac_cv_sys_large_files" >&6; }
14861 case $ac_cv_sys_large_files in #(
14862 no | unknown) ;;
14863 *)
14864 cat >>confdefs.h <<_ACEOF
14865 #define _LARGE_FILES $ac_cv_sys_large_files
14866 _ACEOF
14867 ;;
14868 esac
14869 rm -rf conftest*
14870 fi
14871 fi
14872
14873 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14874 if test "x$ac_cv_type_off_t" = x""yes; then :
14875
14876 else
14877
14878 cat >>confdefs.h <<_ACEOF
14879 #define off_t long int
14880 _ACEOF
14881
14882 fi
14883
14884
14885 # check header files
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14887 $as_echo_n "checking for ANSI C header files... " >&6; }
14888 if test "${ac_cv_header_stdc+set}" = set; then :
14889 $as_echo_n "(cached) " >&6
14890 else
14891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14892 /* end confdefs.h. */
14893 #include <stdlib.h>
14894 #include <stdarg.h>
14895 #include <string.h>
14896 #include <float.h>
14897
14898 int
14899 main ()
14900 {
14901
14902 ;
14903 return 0;
14904 }
14905 _ACEOF
14906 if ac_fn_c_try_compile "$LINENO"; then :
14907 ac_cv_header_stdc=yes
14908 else
14909 ac_cv_header_stdc=no
14910 fi
14911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14912
14913 if test $ac_cv_header_stdc = yes; then
14914 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14916 /* end confdefs.h. */
14917 #include <string.h>
14918
14919 _ACEOF
14920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14921 $EGREP "memchr" >/dev/null 2>&1; then :
14922
14923 else
14924 ac_cv_header_stdc=no
14925 fi
14926 rm -f conftest*
14927
14928 fi
14929
14930 if test $ac_cv_header_stdc = yes; then
14931 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14933 /* end confdefs.h. */
14934 #include <stdlib.h>
14935
14936 _ACEOF
14937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14938 $EGREP "free" >/dev/null 2>&1; then :
14939
14940 else
14941 ac_cv_header_stdc=no
14942 fi
14943 rm -f conftest*
14944
14945 fi
14946
14947 if test $ac_cv_header_stdc = yes; then
14948 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14949 if test "$cross_compiling" = yes; then :
14950 :
14951 else
14952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14954 #include <ctype.h>
14955 #include <stdlib.h>
14956 #if ((' ' & 0x0FF) == 0x020)
14957 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14958 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14959 #else
14960 # define ISLOWER(c) \
14961 (('a' <= (c) && (c) <= 'i') \
14962 || ('j' <= (c) && (c) <= 'r') \
14963 || ('s' <= (c) && (c) <= 'z'))
14964 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14965 #endif
14966
14967 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14968 int
14969 main ()
14970 {
14971 int i;
14972 for (i = 0; i < 256; i++)
14973 if (XOR (islower (i), ISLOWER (i))
14974 || toupper (i) != TOUPPER (i))
14975 return 2;
14976 return 0;
14977 }
14978 _ACEOF
14979 if ac_fn_c_try_run "$LINENO"; then :
14980
14981 else
14982 ac_cv_header_stdc=no
14983 fi
14984 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14985 conftest.$ac_objext conftest.beam conftest.$ac_ext
14986 fi
14987
14988 fi
14989 fi
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14991 $as_echo "$ac_cv_header_stdc" >&6; }
14992 if test $ac_cv_header_stdc = yes; then
14993
14994 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14995
14996 fi
14997
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14999 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
15000 if test "${ac_cv_header_time+set}" = set; then :
15001 $as_echo_n "(cached) " >&6
15002 else
15003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15004 /* end confdefs.h. */
15005 #include <sys/types.h>
15006 #include <sys/time.h>
15007 #include <time.h>
15008
15009 int
15010 main ()
15011 {
15012 if ((struct tm *) 0)
15013 return 0;
15014 ;
15015 return 0;
15016 }
15017 _ACEOF
15018 if ac_fn_c_try_compile "$LINENO"; then :
15019 ac_cv_header_time=yes
15020 else
15021 ac_cv_header_time=no
15022 fi
15023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15024 fi
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
15026 $as_echo "$ac_cv_header_time" >&6; }
15027 if test $ac_cv_header_time = yes; then
15028
15029 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
15030
15031 fi
15032
15033 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
15034 do :
15035 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15036 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15037 eval as_val=\$$as_ac_Header
15038 if test "x$as_val" = x""yes; then :
15039 cat >>confdefs.h <<_ACEOF
15040 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15041 _ACEOF
15042
15043 fi
15044
15045 done
15046
15047 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
15048 do :
15049 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15050 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15051 eval as_val=\$$as_ac_Header
15052 if test "x$as_val" = x""yes; then :
15053 cat >>confdefs.h <<_ACEOF
15054 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15055 _ACEOF
15056
15057 fi
15058
15059 done
15060
15061 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15062 do :
15063 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15064 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15065 eval as_val=\$$as_ac_Header
15066 if test "x$as_val" = x""yes; then :
15067 cat >>confdefs.h <<_ACEOF
15068 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15069 _ACEOF
15070
15071 fi
15072
15073 done
15074
15075 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15076 do :
15077 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15078 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15079 eval as_val=\$$as_ac_Header
15080 if test "x$as_val" = x""yes; then :
15081 cat >>confdefs.h <<_ACEOF
15082 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15083 _ACEOF
15084
15085 fi
15086
15087 done
15088
15089 ac_fn_c_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
15090 if test "x$ac_cv_header_complex_h" = x""yes; then :
15091
15092 $as_echo "#define HAVE_COMPLEX_H 1" >>confdefs.h
15093
15094 fi
15095
15096
15097
15098
15099 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15100
15101 acx_cv_header_stdint=stddef.h
15102 acx_cv_header_stdint_kind="(already complete)"
15103 for i in stdint.h $inttype_headers; do
15104 unset ac_cv_type_uintptr_t
15105 unset ac_cv_type_uintmax_t
15106 unset ac_cv_type_int_least32_t
15107 unset ac_cv_type_int_fast32_t
15108 unset ac_cv_type_uint64_t
15109 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15110 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15111 #include <$i>
15112 "
15113 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
15114 acx_cv_header_stdint=$i
15115 else
15116 continue
15117 fi
15118
15119 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15120 #include <$i>
15121 "
15122 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15123
15124 else
15125 acx_cv_header_stdint_kind="(mostly complete)"
15126 fi
15127
15128 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15129 #include <$i>
15130 "
15131 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
15132
15133 else
15134 acx_cv_header_stdint_kind="(mostly complete)"
15135 fi
15136
15137 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15138 #include <$i>
15139 "
15140 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
15141
15142 else
15143 acx_cv_header_stdint_kind="(mostly complete)"
15144 fi
15145
15146 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15147 #include <$i>
15148 "
15149 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15150
15151 else
15152 acx_cv_header_stdint_kind="(lacks uint64_t)"
15153 fi
15154
15155 break
15156 done
15157 if test "$acx_cv_header_stdint" = stddef.h; then
15158 acx_cv_header_stdint_kind="(lacks uintmax_t)"
15159 for i in stdint.h $inttype_headers; do
15160 unset ac_cv_type_uintptr_t
15161 unset ac_cv_type_uint32_t
15162 unset ac_cv_type_uint64_t
15163 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15164 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15165 #include <$i>
15166 "
15167 if test "x$ac_cv_type_uint32_t" = x""yes; then :
15168 acx_cv_header_stdint=$i
15169 else
15170 continue
15171 fi
15172
15173 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15174 #include <$i>
15175 "
15176 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15177
15178 fi
15179
15180 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15181 #include <$i>
15182 "
15183 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15184
15185 fi
15186
15187 break
15188 done
15189 fi
15190 if test "$acx_cv_header_stdint" = stddef.h; then
15191 acx_cv_header_stdint_kind="(u_intXX_t style)"
15192 for i in sys/types.h $inttype_headers; do
15193 unset ac_cv_type_u_int32_t
15194 unset ac_cv_type_u_int64_t
15195 $as_echo_n "looking for u_intXX_t types in $i, " >&6
15196 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15197 #include <$i>
15198 "
15199 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
15200 acx_cv_header_stdint=$i
15201 else
15202 continue
15203 fi
15204
15205 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15206 #include <$i>
15207 "
15208 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
15209
15210 fi
15211
15212 break
15213 done
15214 fi
15215 if test "$acx_cv_header_stdint" = stddef.h; then
15216 acx_cv_header_stdint_kind="(using manual detection)"
15217 fi
15218
15219 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15220 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15221 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15222 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15223 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15224
15225 # ----------------- Summarize what we found so far
15226
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15228 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15229
15230 case `$as_basename -- gstdint.h ||
15231 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15232 Xgstdint.h : 'X\(//\)$' \| \
15233 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15234 $as_echo X/gstdint.h |
15235 sed '/^.*\/\([^/][^/]*\)\/*$/{
15236 s//\1/
15237 q
15238 }
15239 /^X\/\(\/\/\)$/{
15240 s//\1/
15241 q
15242 }
15243 /^X\/\(\/\).*/{
15244 s//\1/
15245 q
15246 }
15247 s/.*/./; q'` in
15248 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15249 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15250 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15251 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15252 *) ;;
15253 esac
15254
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15256 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15257
15258 # ----------------- done included file, check C basic types --------
15259
15260 # Lacking an uintptr_t? Test size of void *
15261 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15262 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
15263 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15264 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15265 # This bug is HP SR number 8606223364.
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15267 $as_echo_n "checking size of void *... " >&6; }
15268 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15269 $as_echo_n "(cached) " >&6
15270 else
15271 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15272
15273 else
15274 if test "$ac_cv_type_void_p" = yes; then
15275 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15277 { as_fn_set_status 77
15278 as_fn_error "cannot compute sizeof (void *)
15279 See \`config.log' for more details." "$LINENO" 5; }; }
15280 else
15281 ac_cv_sizeof_void_p=0
15282 fi
15283 fi
15284
15285 fi
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15287 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15288
15289
15290
15291 cat >>confdefs.h <<_ACEOF
15292 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15293 _ACEOF
15294
15295 ;;
15296 esac
15297
15298 # Lacking an uint64_t? Test size of long
15299 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15300 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
15301 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15302 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15303 # This bug is HP SR number 8606223364.
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15305 $as_echo_n "checking size of long... " >&6; }
15306 if test "${ac_cv_sizeof_long+set}" = set; then :
15307 $as_echo_n "(cached) " >&6
15308 else
15309 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15310
15311 else
15312 if test "$ac_cv_type_long" = yes; then
15313 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15315 { as_fn_set_status 77
15316 as_fn_error "cannot compute sizeof (long)
15317 See \`config.log' for more details." "$LINENO" 5; }; }
15318 else
15319 ac_cv_sizeof_long=0
15320 fi
15321 fi
15322
15323 fi
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15325 $as_echo "$ac_cv_sizeof_long" >&6; }
15326
15327
15328
15329 cat >>confdefs.h <<_ACEOF
15330 #define SIZEOF_LONG $ac_cv_sizeof_long
15331 _ACEOF
15332
15333 ;;
15334 esac
15335
15336 if test $acx_cv_header_stdint = stddef.h; then
15337 # Lacking a good header? Test size of everything and deduce all types.
15338 # The cast to long int works around a bug in the HP C Compiler
15339 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15340 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15341 # This bug is HP SR number 8606223364.
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15343 $as_echo_n "checking size of int... " >&6; }
15344 if test "${ac_cv_sizeof_int+set}" = set; then :
15345 $as_echo_n "(cached) " >&6
15346 else
15347 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
15348
15349 else
15350 if test "$ac_cv_type_int" = yes; then
15351 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15353 { as_fn_set_status 77
15354 as_fn_error "cannot compute sizeof (int)
15355 See \`config.log' for more details." "$LINENO" 5; }; }
15356 else
15357 ac_cv_sizeof_int=0
15358 fi
15359 fi
15360
15361 fi
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15363 $as_echo "$ac_cv_sizeof_int" >&6; }
15364
15365
15366
15367 cat >>confdefs.h <<_ACEOF
15368 #define SIZEOF_INT $ac_cv_sizeof_int
15369 _ACEOF
15370
15371
15372 # The cast to long int works around a bug in the HP C Compiler
15373 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15374 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15375 # This bug is HP SR number 8606223364.
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15377 $as_echo_n "checking size of short... " >&6; }
15378 if test "${ac_cv_sizeof_short+set}" = set; then :
15379 $as_echo_n "(cached) " >&6
15380 else
15381 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
15382
15383 else
15384 if test "$ac_cv_type_short" = yes; then
15385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15387 { as_fn_set_status 77
15388 as_fn_error "cannot compute sizeof (short)
15389 See \`config.log' for more details." "$LINENO" 5; }; }
15390 else
15391 ac_cv_sizeof_short=0
15392 fi
15393 fi
15394
15395 fi
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15397 $as_echo "$ac_cv_sizeof_short" >&6; }
15398
15399
15400
15401 cat >>confdefs.h <<_ACEOF
15402 #define SIZEOF_SHORT $ac_cv_sizeof_short
15403 _ACEOF
15404
15405
15406 # The cast to long int works around a bug in the HP C Compiler
15407 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15408 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15409 # This bug is HP SR number 8606223364.
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
15411 $as_echo_n "checking size of char... " >&6; }
15412 if test "${ac_cv_sizeof_char+set}" = set; then :
15413 $as_echo_n "(cached) " >&6
15414 else
15415 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
15416
15417 else
15418 if test "$ac_cv_type_char" = yes; then
15419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15421 { as_fn_set_status 77
15422 as_fn_error "cannot compute sizeof (char)
15423 See \`config.log' for more details." "$LINENO" 5; }; }
15424 else
15425 ac_cv_sizeof_char=0
15426 fi
15427 fi
15428
15429 fi
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
15431 $as_echo "$ac_cv_sizeof_char" >&6; }
15432
15433
15434
15435 cat >>confdefs.h <<_ACEOF
15436 #define SIZEOF_CHAR $ac_cv_sizeof_char
15437 _ACEOF
15438
15439
15440
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
15442 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
15443 case "$ac_cv_sizeof_char" in
15444 1) acx_cv_type_int8_t=char ;;
15445 *) { as_fn_set_status please report a bug
15446 as_fn_error "no 8-bit type" "$LINENO" 5; }
15447 esac
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
15449 $as_echo "$acx_cv_type_int8_t" >&6; }
15450
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
15452 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
15453 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15454 2:*) acx_cv_type_int16_t=int ;;
15455 *:2) acx_cv_type_int16_t=short ;;
15456 *) { as_fn_set_status please report a bug
15457 as_fn_error "no 16-bit type" "$LINENO" 5; }
15458 esac
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
15460 $as_echo "$acx_cv_type_int16_t" >&6; }
15461
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
15463 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
15464 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15465 4:*) acx_cv_type_int32_t=int ;;
15466 *:4) acx_cv_type_int32_t=long ;;
15467 *) { as_fn_set_status please report a bug
15468 as_fn_error "no 32-bit type" "$LINENO" 5; }
15469 esac
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
15471 $as_echo "$acx_cv_type_int32_t" >&6; }
15472 fi
15473
15474 # These tests are here to make the output prettier
15475
15476 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15477 case "$ac_cv_sizeof_long" in
15478 8) acx_cv_type_int64_t=long ;;
15479 esac
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
15481 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15483 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
15484 fi
15485
15486 # Now we can use the above types
15487
15488 if test "$ac_cv_type_uintptr_t" != yes; then
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
15490 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
15491 case $ac_cv_sizeof_void_p in
15492 2) acx_cv_type_intptr_t=int16_t ;;
15493 4) acx_cv_type_intptr_t=int32_t ;;
15494 8) acx_cv_type_intptr_t=int64_t ;;
15495 *) { as_fn_set_status please report a bug
15496 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
15497 esac
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
15499 $as_echo "$acx_cv_type_intptr_t" >&6; }
15500 fi
15501
15502 # ----------------- done all checks, emit header -------------
15503 ac_config_commands="$ac_config_commands gstdint.h"
15504
15505
15506
15507
15508 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
15509 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
15510
15511 cat >>confdefs.h <<_ACEOF
15512 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15513 _ACEOF
15514
15515
15516 fi
15517
15518 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15519 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
15520
15521 cat >>confdefs.h <<_ACEOF
15522 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15523 _ACEOF
15524
15525
15526 fi
15527
15528 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
15529 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
15530
15531 cat >>confdefs.h <<_ACEOF
15532 #define HAVE_STRUCT_STAT_ST_RDEV 1
15533 _ACEOF
15534
15535
15536 fi
15537
15538
15539 # Check for library functions.
15540 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
15541 do :
15542 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15543 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15544 eval as_val=\$$as_ac_var
15545 if test "x$as_val" = x""yes; then :
15546 cat >>confdefs.h <<_ACEOF
15547 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15548 _ACEOF
15549
15550 fi
15551 done
15552
15553 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
15554 do :
15555 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15556 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15557 eval as_val=\$$as_ac_var
15558 if test "x$as_val" = x""yes; then :
15559 cat >>confdefs.h <<_ACEOF
15560 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15561 _ACEOF
15562
15563 fi
15564 done
15565
15566 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
15567 do :
15568 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15569 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15570 eval as_val=\$$as_ac_var
15571 if test "x$as_val" = x""yes; then :
15572 cat >>confdefs.h <<_ACEOF
15573 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15574 _ACEOF
15575
15576 fi
15577 done
15578
15579 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
15580 do :
15581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15582 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15583 eval as_val=\$$as_ac_var
15584 if test "x$as_val" = x""yes; then :
15585 cat >>confdefs.h <<_ACEOF
15586 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15587 _ACEOF
15588
15589 fi
15590 done
15591
15592 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
15593 do :
15594 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15595 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15596 eval as_val=\$$as_ac_var
15597 if test "x$as_val" = x""yes; then :
15598 cat >>confdefs.h <<_ACEOF
15599 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15600 _ACEOF
15601
15602 fi
15603 done
15604
15605 for ac_func in localtime_r gmtime_r
15606 do :
15607 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15608 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15609 eval as_val=\$$as_ac_var
15610 if test "x$as_val" = x""yes; then :
15611 cat >>confdefs.h <<_ACEOF
15612 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15613 _ACEOF
15614
15615 fi
15616 done
15617
15618
15619 # Check for glibc backtrace functions
15620 for ac_func in backtrace backtrace_symbols
15621 do :
15622 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15623 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15624 eval as_val=\$$as_ac_var
15625 if test "x$as_val" = x""yes; then :
15626 cat >>confdefs.h <<_ACEOF
15627 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15628 _ACEOF
15629
15630 fi
15631 done
15632
15633
15634 # Check for types
15635 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15636 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15637
15638 cat >>confdefs.h <<_ACEOF
15639 #define HAVE_INTPTR_T 1
15640 _ACEOF
15641
15642
15643 fi
15644
15645 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15646 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15647
15648 cat >>confdefs.h <<_ACEOF
15649 #define HAVE_UINTPTR_T 1
15650 _ACEOF
15651
15652
15653 fi
15654
15655
15656 # Check libc for getgid, getpid, getuid
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
15658 $as_echo_n "checking for getgid in -lc... " >&6; }
15659 if test "${ac_cv_lib_c_getgid+set}" = set; then :
15660 $as_echo_n "(cached) " >&6
15661 else
15662 ac_check_lib_save_LIBS=$LIBS
15663 LIBS="-lc $LIBS"
15664 if test x$gcc_no_link = xyes; then
15665 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15666 fi
15667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15668 /* end confdefs.h. */
15669
15670 /* Override any GCC internal prototype to avoid an error.
15671 Use char because int might match the return type of a GCC
15672 builtin and then its argument prototype would still apply. */
15673 #ifdef __cplusplus
15674 extern "C"
15675 #endif
15676 char getgid ();
15677 int
15678 main ()
15679 {
15680 return getgid ();
15681 ;
15682 return 0;
15683 }
15684 _ACEOF
15685 if ac_fn_c_try_link "$LINENO"; then :
15686 ac_cv_lib_c_getgid=yes
15687 else
15688 ac_cv_lib_c_getgid=no
15689 fi
15690 rm -f core conftest.err conftest.$ac_objext \
15691 conftest$ac_exeext conftest.$ac_ext
15692 LIBS=$ac_check_lib_save_LIBS
15693 fi
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
15695 $as_echo "$ac_cv_lib_c_getgid" >&6; }
15696 if test "x$ac_cv_lib_c_getgid" = x""yes; then :
15697
15698 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
15699
15700 fi
15701
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
15703 $as_echo_n "checking for getpid in -lc... " >&6; }
15704 if test "${ac_cv_lib_c_getpid+set}" = set; then :
15705 $as_echo_n "(cached) " >&6
15706 else
15707 ac_check_lib_save_LIBS=$LIBS
15708 LIBS="-lc $LIBS"
15709 if test x$gcc_no_link = xyes; then
15710 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15711 fi
15712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15713 /* end confdefs.h. */
15714
15715 /* Override any GCC internal prototype to avoid an error.
15716 Use char because int might match the return type of a GCC
15717 builtin and then its argument prototype would still apply. */
15718 #ifdef __cplusplus
15719 extern "C"
15720 #endif
15721 char getpid ();
15722 int
15723 main ()
15724 {
15725 return getpid ();
15726 ;
15727 return 0;
15728 }
15729 _ACEOF
15730 if ac_fn_c_try_link "$LINENO"; then :
15731 ac_cv_lib_c_getpid=yes
15732 else
15733 ac_cv_lib_c_getpid=no
15734 fi
15735 rm -f core conftest.err conftest.$ac_objext \
15736 conftest$ac_exeext conftest.$ac_ext
15737 LIBS=$ac_check_lib_save_LIBS
15738 fi
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
15740 $as_echo "$ac_cv_lib_c_getpid" >&6; }
15741 if test "x$ac_cv_lib_c_getpid" = x""yes; then :
15742
15743 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
15744
15745 fi
15746
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getppid in -lc" >&5
15748 $as_echo_n "checking for getppid in -lc... " >&6; }
15749 if test "${ac_cv_lib_c_getppid+set}" = set; then :
15750 $as_echo_n "(cached) " >&6
15751 else
15752 ac_check_lib_save_LIBS=$LIBS
15753 LIBS="-lc $LIBS"
15754 if test x$gcc_no_link = xyes; then
15755 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15756 fi
15757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15758 /* end confdefs.h. */
15759
15760 /* Override any GCC internal prototype to avoid an error.
15761 Use char because int might match the return type of a GCC
15762 builtin and then its argument prototype would still apply. */
15763 #ifdef __cplusplus
15764 extern "C"
15765 #endif
15766 char getppid ();
15767 int
15768 main ()
15769 {
15770 return getppid ();
15771 ;
15772 return 0;
15773 }
15774 _ACEOF
15775 if ac_fn_c_try_link "$LINENO"; then :
15776 ac_cv_lib_c_getppid=yes
15777 else
15778 ac_cv_lib_c_getppid=no
15779 fi
15780 rm -f core conftest.err conftest.$ac_objext \
15781 conftest$ac_exeext conftest.$ac_ext
15782 LIBS=$ac_check_lib_save_LIBS
15783 fi
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getppid" >&5
15785 $as_echo "$ac_cv_lib_c_getppid" >&6; }
15786 if test "x$ac_cv_lib_c_getppid" = x""yes; then :
15787
15788 $as_echo "#define HAVE_GETPPID 1" >>confdefs.h
15789
15790 fi
15791
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
15793 $as_echo_n "checking for getuid in -lc... " >&6; }
15794 if test "${ac_cv_lib_c_getuid+set}" = set; then :
15795 $as_echo_n "(cached) " >&6
15796 else
15797 ac_check_lib_save_LIBS=$LIBS
15798 LIBS="-lc $LIBS"
15799 if test x$gcc_no_link = xyes; then
15800 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15801 fi
15802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15803 /* end confdefs.h. */
15804
15805 /* Override any GCC internal prototype to avoid an error.
15806 Use char because int might match the return type of a GCC
15807 builtin and then its argument prototype would still apply. */
15808 #ifdef __cplusplus
15809 extern "C"
15810 #endif
15811 char getuid ();
15812 int
15813 main ()
15814 {
15815 return getuid ();
15816 ;
15817 return 0;
15818 }
15819 _ACEOF
15820 if ac_fn_c_try_link "$LINENO"; then :
15821 ac_cv_lib_c_getuid=yes
15822 else
15823 ac_cv_lib_c_getuid=no
15824 fi
15825 rm -f core conftest.err conftest.$ac_objext \
15826 conftest$ac_exeext conftest.$ac_ext
15827 LIBS=$ac_check_lib_save_LIBS
15828 fi
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
15830 $as_echo "$ac_cv_lib_c_getuid" >&6; }
15831 if test "x$ac_cv_lib_c_getuid" = x""yes; then :
15832
15833 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
15834
15835 fi
15836
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geteuid in -lc" >&5
15838 $as_echo_n "checking for geteuid in -lc... " >&6; }
15839 if test "${ac_cv_lib_c_geteuid+set}" = set; then :
15840 $as_echo_n "(cached) " >&6
15841 else
15842 ac_check_lib_save_LIBS=$LIBS
15843 LIBS="-lc $LIBS"
15844 if test x$gcc_no_link = xyes; then
15845 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15846 fi
15847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15848 /* end confdefs.h. */
15849
15850 /* Override any GCC internal prototype to avoid an error.
15851 Use char because int might match the return type of a GCC
15852 builtin and then its argument prototype would still apply. */
15853 #ifdef __cplusplus
15854 extern "C"
15855 #endif
15856 char geteuid ();
15857 int
15858 main ()
15859 {
15860 return geteuid ();
15861 ;
15862 return 0;
15863 }
15864 _ACEOF
15865 if ac_fn_c_try_link "$LINENO"; then :
15866 ac_cv_lib_c_geteuid=yes
15867 else
15868 ac_cv_lib_c_geteuid=no
15869 fi
15870 rm -f core conftest.err conftest.$ac_objext \
15871 conftest$ac_exeext conftest.$ac_ext
15872 LIBS=$ac_check_lib_save_LIBS
15873 fi
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_geteuid" >&5
15875 $as_echo "$ac_cv_lib_c_geteuid" >&6; }
15876 if test "x$ac_cv_lib_c_geteuid" = x""yes; then :
15877
15878 $as_echo "#define HAVE_GETEUID 1" >>confdefs.h
15879
15880 fi
15881
15882
15883 # Check for C99 (and other IEEE) math functions
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
15885 $as_echo_n "checking for acosf in -lm... " >&6; }
15886 if test "${ac_cv_lib_m_acosf+set}" = set; then :
15887 $as_echo_n "(cached) " >&6
15888 else
15889 ac_check_lib_save_LIBS=$LIBS
15890 LIBS="-lm $LIBS"
15891 if test x$gcc_no_link = xyes; then
15892 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15893 fi
15894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15895 /* end confdefs.h. */
15896
15897 /* Override any GCC internal prototype to avoid an error.
15898 Use char because int might match the return type of a GCC
15899 builtin and then its argument prototype would still apply. */
15900 #ifdef __cplusplus
15901 extern "C"
15902 #endif
15903 char acosf ();
15904 int
15905 main ()
15906 {
15907 return acosf ();
15908 ;
15909 return 0;
15910 }
15911 _ACEOF
15912 if ac_fn_c_try_link "$LINENO"; then :
15913 ac_cv_lib_m_acosf=yes
15914 else
15915 ac_cv_lib_m_acosf=no
15916 fi
15917 rm -f core conftest.err conftest.$ac_objext \
15918 conftest$ac_exeext conftest.$ac_ext
15919 LIBS=$ac_check_lib_save_LIBS
15920 fi
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
15922 $as_echo "$ac_cv_lib_m_acosf" >&6; }
15923 if test "x$ac_cv_lib_m_acosf" = x""yes; then :
15924
15925 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
15926
15927 fi
15928
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
15930 $as_echo_n "checking for acos in -lm... " >&6; }
15931 if test "${ac_cv_lib_m_acos+set}" = set; then :
15932 $as_echo_n "(cached) " >&6
15933 else
15934 ac_check_lib_save_LIBS=$LIBS
15935 LIBS="-lm $LIBS"
15936 if test x$gcc_no_link = xyes; then
15937 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15938 fi
15939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15940 /* end confdefs.h. */
15941
15942 /* Override any GCC internal prototype to avoid an error.
15943 Use char because int might match the return type of a GCC
15944 builtin and then its argument prototype would still apply. */
15945 #ifdef __cplusplus
15946 extern "C"
15947 #endif
15948 char acos ();
15949 int
15950 main ()
15951 {
15952 return acos ();
15953 ;
15954 return 0;
15955 }
15956 _ACEOF
15957 if ac_fn_c_try_link "$LINENO"; then :
15958 ac_cv_lib_m_acos=yes
15959 else
15960 ac_cv_lib_m_acos=no
15961 fi
15962 rm -f core conftest.err conftest.$ac_objext \
15963 conftest$ac_exeext conftest.$ac_ext
15964 LIBS=$ac_check_lib_save_LIBS
15965 fi
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
15967 $as_echo "$ac_cv_lib_m_acos" >&6; }
15968 if test "x$ac_cv_lib_m_acos" = x""yes; then :
15969
15970 $as_echo "#define HAVE_ACOS 1" >>confdefs.h
15971
15972 fi
15973
15974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
15975 $as_echo_n "checking for acosl in -lm... " >&6; }
15976 if test "${ac_cv_lib_m_acosl+set}" = set; then :
15977 $as_echo_n "(cached) " >&6
15978 else
15979 ac_check_lib_save_LIBS=$LIBS
15980 LIBS="-lm $LIBS"
15981 if test x$gcc_no_link = xyes; then
15982 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15983 fi
15984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15985 /* end confdefs.h. */
15986
15987 /* Override any GCC internal prototype to avoid an error.
15988 Use char because int might match the return type of a GCC
15989 builtin and then its argument prototype would still apply. */
15990 #ifdef __cplusplus
15991 extern "C"
15992 #endif
15993 char acosl ();
15994 int
15995 main ()
15996 {
15997 return acosl ();
15998 ;
15999 return 0;
16000 }
16001 _ACEOF
16002 if ac_fn_c_try_link "$LINENO"; then :
16003 ac_cv_lib_m_acosl=yes
16004 else
16005 ac_cv_lib_m_acosl=no
16006 fi
16007 rm -f core conftest.err conftest.$ac_objext \
16008 conftest$ac_exeext conftest.$ac_ext
16009 LIBS=$ac_check_lib_save_LIBS
16010 fi
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosl" >&5
16012 $as_echo "$ac_cv_lib_m_acosl" >&6; }
16013 if test "x$ac_cv_lib_m_acosl" = x""yes; then :
16014
16015 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
16016
16017 fi
16018
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
16020 $as_echo_n "checking for acoshf in -lm... " >&6; }
16021 if test "${ac_cv_lib_m_acoshf+set}" = set; then :
16022 $as_echo_n "(cached) " >&6
16023 else
16024 ac_check_lib_save_LIBS=$LIBS
16025 LIBS="-lm $LIBS"
16026 if test x$gcc_no_link = xyes; then
16027 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16028 fi
16029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16030 /* end confdefs.h. */
16031
16032 /* Override any GCC internal prototype to avoid an error.
16033 Use char because int might match the return type of a GCC
16034 builtin and then its argument prototype would still apply. */
16035 #ifdef __cplusplus
16036 extern "C"
16037 #endif
16038 char acoshf ();
16039 int
16040 main ()
16041 {
16042 return acoshf ();
16043 ;
16044 return 0;
16045 }
16046 _ACEOF
16047 if ac_fn_c_try_link "$LINENO"; then :
16048 ac_cv_lib_m_acoshf=yes
16049 else
16050 ac_cv_lib_m_acoshf=no
16051 fi
16052 rm -f core conftest.err conftest.$ac_objext \
16053 conftest$ac_exeext conftest.$ac_ext
16054 LIBS=$ac_check_lib_save_LIBS
16055 fi
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshf" >&5
16057 $as_echo "$ac_cv_lib_m_acoshf" >&6; }
16058 if test "x$ac_cv_lib_m_acoshf" = x""yes; then :
16059
16060 $as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16061
16062 fi
16063
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16065 $as_echo_n "checking for acosh in -lm... " >&6; }
16066 if test "${ac_cv_lib_m_acosh+set}" = set; then :
16067 $as_echo_n "(cached) " >&6
16068 else
16069 ac_check_lib_save_LIBS=$LIBS
16070 LIBS="-lm $LIBS"
16071 if test x$gcc_no_link = xyes; then
16072 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16073 fi
16074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16075 /* end confdefs.h. */
16076
16077 /* Override any GCC internal prototype to avoid an error.
16078 Use char because int might match the return type of a GCC
16079 builtin and then its argument prototype would still apply. */
16080 #ifdef __cplusplus
16081 extern "C"
16082 #endif
16083 char acosh ();
16084 int
16085 main ()
16086 {
16087 return acosh ();
16088 ;
16089 return 0;
16090 }
16091 _ACEOF
16092 if ac_fn_c_try_link "$LINENO"; then :
16093 ac_cv_lib_m_acosh=yes
16094 else
16095 ac_cv_lib_m_acosh=no
16096 fi
16097 rm -f core conftest.err conftest.$ac_objext \
16098 conftest$ac_exeext conftest.$ac_ext
16099 LIBS=$ac_check_lib_save_LIBS
16100 fi
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosh" >&5
16102 $as_echo "$ac_cv_lib_m_acosh" >&6; }
16103 if test "x$ac_cv_lib_m_acosh" = x""yes; then :
16104
16105 $as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16106
16107 fi
16108
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16110 $as_echo_n "checking for acoshl in -lm... " >&6; }
16111 if test "${ac_cv_lib_m_acoshl+set}" = set; then :
16112 $as_echo_n "(cached) " >&6
16113 else
16114 ac_check_lib_save_LIBS=$LIBS
16115 LIBS="-lm $LIBS"
16116 if test x$gcc_no_link = xyes; then
16117 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16118 fi
16119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16120 /* end confdefs.h. */
16121
16122 /* Override any GCC internal prototype to avoid an error.
16123 Use char because int might match the return type of a GCC
16124 builtin and then its argument prototype would still apply. */
16125 #ifdef __cplusplus
16126 extern "C"
16127 #endif
16128 char acoshl ();
16129 int
16130 main ()
16131 {
16132 return acoshl ();
16133 ;
16134 return 0;
16135 }
16136 _ACEOF
16137 if ac_fn_c_try_link "$LINENO"; then :
16138 ac_cv_lib_m_acoshl=yes
16139 else
16140 ac_cv_lib_m_acoshl=no
16141 fi
16142 rm -f core conftest.err conftest.$ac_objext \
16143 conftest$ac_exeext conftest.$ac_ext
16144 LIBS=$ac_check_lib_save_LIBS
16145 fi
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshl" >&5
16147 $as_echo "$ac_cv_lib_m_acoshl" >&6; }
16148 if test "x$ac_cv_lib_m_acoshl" = x""yes; then :
16149
16150 $as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16151
16152 fi
16153
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16155 $as_echo_n "checking for asinf in -lm... " >&6; }
16156 if test "${ac_cv_lib_m_asinf+set}" = set; then :
16157 $as_echo_n "(cached) " >&6
16158 else
16159 ac_check_lib_save_LIBS=$LIBS
16160 LIBS="-lm $LIBS"
16161 if test x$gcc_no_link = xyes; then
16162 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16163 fi
16164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16165 /* end confdefs.h. */
16166
16167 /* Override any GCC internal prototype to avoid an error.
16168 Use char because int might match the return type of a GCC
16169 builtin and then its argument prototype would still apply. */
16170 #ifdef __cplusplus
16171 extern "C"
16172 #endif
16173 char asinf ();
16174 int
16175 main ()
16176 {
16177 return asinf ();
16178 ;
16179 return 0;
16180 }
16181 _ACEOF
16182 if ac_fn_c_try_link "$LINENO"; then :
16183 ac_cv_lib_m_asinf=yes
16184 else
16185 ac_cv_lib_m_asinf=no
16186 fi
16187 rm -f core conftest.err conftest.$ac_objext \
16188 conftest$ac_exeext conftest.$ac_ext
16189 LIBS=$ac_check_lib_save_LIBS
16190 fi
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinf" >&5
16192 $as_echo "$ac_cv_lib_m_asinf" >&6; }
16193 if test "x$ac_cv_lib_m_asinf" = x""yes; then :
16194
16195 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
16196
16197 fi
16198
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16200 $as_echo_n "checking for asin in -lm... " >&6; }
16201 if test "${ac_cv_lib_m_asin+set}" = set; then :
16202 $as_echo_n "(cached) " >&6
16203 else
16204 ac_check_lib_save_LIBS=$LIBS
16205 LIBS="-lm $LIBS"
16206 if test x$gcc_no_link = xyes; then
16207 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16208 fi
16209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16210 /* end confdefs.h. */
16211
16212 /* Override any GCC internal prototype to avoid an error.
16213 Use char because int might match the return type of a GCC
16214 builtin and then its argument prototype would still apply. */
16215 #ifdef __cplusplus
16216 extern "C"
16217 #endif
16218 char asin ();
16219 int
16220 main ()
16221 {
16222 return asin ();
16223 ;
16224 return 0;
16225 }
16226 _ACEOF
16227 if ac_fn_c_try_link "$LINENO"; then :
16228 ac_cv_lib_m_asin=yes
16229 else
16230 ac_cv_lib_m_asin=no
16231 fi
16232 rm -f core conftest.err conftest.$ac_objext \
16233 conftest$ac_exeext conftest.$ac_ext
16234 LIBS=$ac_check_lib_save_LIBS
16235 fi
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5
16237 $as_echo "$ac_cv_lib_m_asin" >&6; }
16238 if test "x$ac_cv_lib_m_asin" = x""yes; then :
16239
16240 $as_echo "#define HAVE_ASIN 1" >>confdefs.h
16241
16242 fi
16243
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
16245 $as_echo_n "checking for asinl in -lm... " >&6; }
16246 if test "${ac_cv_lib_m_asinl+set}" = set; then :
16247 $as_echo_n "(cached) " >&6
16248 else
16249 ac_check_lib_save_LIBS=$LIBS
16250 LIBS="-lm $LIBS"
16251 if test x$gcc_no_link = xyes; then
16252 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16253 fi
16254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16255 /* end confdefs.h. */
16256
16257 /* Override any GCC internal prototype to avoid an error.
16258 Use char because int might match the return type of a GCC
16259 builtin and then its argument prototype would still apply. */
16260 #ifdef __cplusplus
16261 extern "C"
16262 #endif
16263 char asinl ();
16264 int
16265 main ()
16266 {
16267 return asinl ();
16268 ;
16269 return 0;
16270 }
16271 _ACEOF
16272 if ac_fn_c_try_link "$LINENO"; then :
16273 ac_cv_lib_m_asinl=yes
16274 else
16275 ac_cv_lib_m_asinl=no
16276 fi
16277 rm -f core conftest.err conftest.$ac_objext \
16278 conftest$ac_exeext conftest.$ac_ext
16279 LIBS=$ac_check_lib_save_LIBS
16280 fi
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinl" >&5
16282 $as_echo "$ac_cv_lib_m_asinl" >&6; }
16283 if test "x$ac_cv_lib_m_asinl" = x""yes; then :
16284
16285 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
16286
16287 fi
16288
16289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
16290 $as_echo_n "checking for asinhf in -lm... " >&6; }
16291 if test "${ac_cv_lib_m_asinhf+set}" = set; then :
16292 $as_echo_n "(cached) " >&6
16293 else
16294 ac_check_lib_save_LIBS=$LIBS
16295 LIBS="-lm $LIBS"
16296 if test x$gcc_no_link = xyes; then
16297 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16298 fi
16299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16300 /* end confdefs.h. */
16301
16302 /* Override any GCC internal prototype to avoid an error.
16303 Use char because int might match the return type of a GCC
16304 builtin and then its argument prototype would still apply. */
16305 #ifdef __cplusplus
16306 extern "C"
16307 #endif
16308 char asinhf ();
16309 int
16310 main ()
16311 {
16312 return asinhf ();
16313 ;
16314 return 0;
16315 }
16316 _ACEOF
16317 if ac_fn_c_try_link "$LINENO"; then :
16318 ac_cv_lib_m_asinhf=yes
16319 else
16320 ac_cv_lib_m_asinhf=no
16321 fi
16322 rm -f core conftest.err conftest.$ac_objext \
16323 conftest$ac_exeext conftest.$ac_ext
16324 LIBS=$ac_check_lib_save_LIBS
16325 fi
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhf" >&5
16327 $as_echo "$ac_cv_lib_m_asinhf" >&6; }
16328 if test "x$ac_cv_lib_m_asinhf" = x""yes; then :
16329
16330 $as_echo "#define HAVE_ASINHF 1" >>confdefs.h
16331
16332 fi
16333
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
16335 $as_echo_n "checking for asinh in -lm... " >&6; }
16336 if test "${ac_cv_lib_m_asinh+set}" = set; then :
16337 $as_echo_n "(cached) " >&6
16338 else
16339 ac_check_lib_save_LIBS=$LIBS
16340 LIBS="-lm $LIBS"
16341 if test x$gcc_no_link = xyes; then
16342 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16343 fi
16344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16345 /* end confdefs.h. */
16346
16347 /* Override any GCC internal prototype to avoid an error.
16348 Use char because int might match the return type of a GCC
16349 builtin and then its argument prototype would still apply. */
16350 #ifdef __cplusplus
16351 extern "C"
16352 #endif
16353 char asinh ();
16354 int
16355 main ()
16356 {
16357 return asinh ();
16358 ;
16359 return 0;
16360 }
16361 _ACEOF
16362 if ac_fn_c_try_link "$LINENO"; then :
16363 ac_cv_lib_m_asinh=yes
16364 else
16365 ac_cv_lib_m_asinh=no
16366 fi
16367 rm -f core conftest.err conftest.$ac_objext \
16368 conftest$ac_exeext conftest.$ac_ext
16369 LIBS=$ac_check_lib_save_LIBS
16370 fi
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinh" >&5
16372 $as_echo "$ac_cv_lib_m_asinh" >&6; }
16373 if test "x$ac_cv_lib_m_asinh" = x""yes; then :
16374
16375 $as_echo "#define HAVE_ASINH 1" >>confdefs.h
16376
16377 fi
16378
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
16380 $as_echo_n "checking for asinhl in -lm... " >&6; }
16381 if test "${ac_cv_lib_m_asinhl+set}" = set; then :
16382 $as_echo_n "(cached) " >&6
16383 else
16384 ac_check_lib_save_LIBS=$LIBS
16385 LIBS="-lm $LIBS"
16386 if test x$gcc_no_link = xyes; then
16387 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16388 fi
16389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16390 /* end confdefs.h. */
16391
16392 /* Override any GCC internal prototype to avoid an error.
16393 Use char because int might match the return type of a GCC
16394 builtin and then its argument prototype would still apply. */
16395 #ifdef __cplusplus
16396 extern "C"
16397 #endif
16398 char asinhl ();
16399 int
16400 main ()
16401 {
16402 return asinhl ();
16403 ;
16404 return 0;
16405 }
16406 _ACEOF
16407 if ac_fn_c_try_link "$LINENO"; then :
16408 ac_cv_lib_m_asinhl=yes
16409 else
16410 ac_cv_lib_m_asinhl=no
16411 fi
16412 rm -f core conftest.err conftest.$ac_objext \
16413 conftest$ac_exeext conftest.$ac_ext
16414 LIBS=$ac_check_lib_save_LIBS
16415 fi
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhl" >&5
16417 $as_echo "$ac_cv_lib_m_asinhl" >&6; }
16418 if test "x$ac_cv_lib_m_asinhl" = x""yes; then :
16419
16420 $as_echo "#define HAVE_ASINHL 1" >>confdefs.h
16421
16422 fi
16423
16424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
16425 $as_echo_n "checking for atan2f in -lm... " >&6; }
16426 if test "${ac_cv_lib_m_atan2f+set}" = set; then :
16427 $as_echo_n "(cached) " >&6
16428 else
16429 ac_check_lib_save_LIBS=$LIBS
16430 LIBS="-lm $LIBS"
16431 if test x$gcc_no_link = xyes; then
16432 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16433 fi
16434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16435 /* end confdefs.h. */
16436
16437 /* Override any GCC internal prototype to avoid an error.
16438 Use char because int might match the return type of a GCC
16439 builtin and then its argument prototype would still apply. */
16440 #ifdef __cplusplus
16441 extern "C"
16442 #endif
16443 char atan2f ();
16444 int
16445 main ()
16446 {
16447 return atan2f ();
16448 ;
16449 return 0;
16450 }
16451 _ACEOF
16452 if ac_fn_c_try_link "$LINENO"; then :
16453 ac_cv_lib_m_atan2f=yes
16454 else
16455 ac_cv_lib_m_atan2f=no
16456 fi
16457 rm -f core conftest.err conftest.$ac_objext \
16458 conftest$ac_exeext conftest.$ac_ext
16459 LIBS=$ac_check_lib_save_LIBS
16460 fi
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2f" >&5
16462 $as_echo "$ac_cv_lib_m_atan2f" >&6; }
16463 if test "x$ac_cv_lib_m_atan2f" = x""yes; then :
16464
16465 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
16466
16467 fi
16468
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
16470 $as_echo_n "checking for atan2 in -lm... " >&6; }
16471 if test "${ac_cv_lib_m_atan2+set}" = set; then :
16472 $as_echo_n "(cached) " >&6
16473 else
16474 ac_check_lib_save_LIBS=$LIBS
16475 LIBS="-lm $LIBS"
16476 if test x$gcc_no_link = xyes; then
16477 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16478 fi
16479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16480 /* end confdefs.h. */
16481
16482 /* Override any GCC internal prototype to avoid an error.
16483 Use char because int might match the return type of a GCC
16484 builtin and then its argument prototype would still apply. */
16485 #ifdef __cplusplus
16486 extern "C"
16487 #endif
16488 char atan2 ();
16489 int
16490 main ()
16491 {
16492 return atan2 ();
16493 ;
16494 return 0;
16495 }
16496 _ACEOF
16497 if ac_fn_c_try_link "$LINENO"; then :
16498 ac_cv_lib_m_atan2=yes
16499 else
16500 ac_cv_lib_m_atan2=no
16501 fi
16502 rm -f core conftest.err conftest.$ac_objext \
16503 conftest$ac_exeext conftest.$ac_ext
16504 LIBS=$ac_check_lib_save_LIBS
16505 fi
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
16507 $as_echo "$ac_cv_lib_m_atan2" >&6; }
16508 if test "x$ac_cv_lib_m_atan2" = x""yes; then :
16509
16510 $as_echo "#define HAVE_ATAN2 1" >>confdefs.h
16511
16512 fi
16513
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
16515 $as_echo_n "checking for atan2l in -lm... " >&6; }
16516 if test "${ac_cv_lib_m_atan2l+set}" = set; then :
16517 $as_echo_n "(cached) " >&6
16518 else
16519 ac_check_lib_save_LIBS=$LIBS
16520 LIBS="-lm $LIBS"
16521 if test x$gcc_no_link = xyes; then
16522 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16523 fi
16524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16525 /* end confdefs.h. */
16526
16527 /* Override any GCC internal prototype to avoid an error.
16528 Use char because int might match the return type of a GCC
16529 builtin and then its argument prototype would still apply. */
16530 #ifdef __cplusplus
16531 extern "C"
16532 #endif
16533 char atan2l ();
16534 int
16535 main ()
16536 {
16537 return atan2l ();
16538 ;
16539 return 0;
16540 }
16541 _ACEOF
16542 if ac_fn_c_try_link "$LINENO"; then :
16543 ac_cv_lib_m_atan2l=yes
16544 else
16545 ac_cv_lib_m_atan2l=no
16546 fi
16547 rm -f core conftest.err conftest.$ac_objext \
16548 conftest$ac_exeext conftest.$ac_ext
16549 LIBS=$ac_check_lib_save_LIBS
16550 fi
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2l" >&5
16552 $as_echo "$ac_cv_lib_m_atan2l" >&6; }
16553 if test "x$ac_cv_lib_m_atan2l" = x""yes; then :
16554
16555 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
16556
16557 fi
16558
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
16560 $as_echo_n "checking for atanf in -lm... " >&6; }
16561 if test "${ac_cv_lib_m_atanf+set}" = set; then :
16562 $as_echo_n "(cached) " >&6
16563 else
16564 ac_check_lib_save_LIBS=$LIBS
16565 LIBS="-lm $LIBS"
16566 if test x$gcc_no_link = xyes; then
16567 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16568 fi
16569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16570 /* end confdefs.h. */
16571
16572 /* Override any GCC internal prototype to avoid an error.
16573 Use char because int might match the return type of a GCC
16574 builtin and then its argument prototype would still apply. */
16575 #ifdef __cplusplus
16576 extern "C"
16577 #endif
16578 char atanf ();
16579 int
16580 main ()
16581 {
16582 return atanf ();
16583 ;
16584 return 0;
16585 }
16586 _ACEOF
16587 if ac_fn_c_try_link "$LINENO"; then :
16588 ac_cv_lib_m_atanf=yes
16589 else
16590 ac_cv_lib_m_atanf=no
16591 fi
16592 rm -f core conftest.err conftest.$ac_objext \
16593 conftest$ac_exeext conftest.$ac_ext
16594 LIBS=$ac_check_lib_save_LIBS
16595 fi
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanf" >&5
16597 $as_echo "$ac_cv_lib_m_atanf" >&6; }
16598 if test "x$ac_cv_lib_m_atanf" = x""yes; then :
16599
16600 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
16601
16602 fi
16603
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
16605 $as_echo_n "checking for atan in -lm... " >&6; }
16606 if test "${ac_cv_lib_m_atan+set}" = set; then :
16607 $as_echo_n "(cached) " >&6
16608 else
16609 ac_check_lib_save_LIBS=$LIBS
16610 LIBS="-lm $LIBS"
16611 if test x$gcc_no_link = xyes; then
16612 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16613 fi
16614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16615 /* end confdefs.h. */
16616
16617 /* Override any GCC internal prototype to avoid an error.
16618 Use char because int might match the return type of a GCC
16619 builtin and then its argument prototype would still apply. */
16620 #ifdef __cplusplus
16621 extern "C"
16622 #endif
16623 char atan ();
16624 int
16625 main ()
16626 {
16627 return atan ();
16628 ;
16629 return 0;
16630 }
16631 _ACEOF
16632 if ac_fn_c_try_link "$LINENO"; then :
16633 ac_cv_lib_m_atan=yes
16634 else
16635 ac_cv_lib_m_atan=no
16636 fi
16637 rm -f core conftest.err conftest.$ac_objext \
16638 conftest$ac_exeext conftest.$ac_ext
16639 LIBS=$ac_check_lib_save_LIBS
16640 fi
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5
16642 $as_echo "$ac_cv_lib_m_atan" >&6; }
16643 if test "x$ac_cv_lib_m_atan" = x""yes; then :
16644
16645 $as_echo "#define HAVE_ATAN 1" >>confdefs.h
16646
16647 fi
16648
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
16650 $as_echo_n "checking for atanl in -lm... " >&6; }
16651 if test "${ac_cv_lib_m_atanl+set}" = set; then :
16652 $as_echo_n "(cached) " >&6
16653 else
16654 ac_check_lib_save_LIBS=$LIBS
16655 LIBS="-lm $LIBS"
16656 if test x$gcc_no_link = xyes; then
16657 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16658 fi
16659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16660 /* end confdefs.h. */
16661
16662 /* Override any GCC internal prototype to avoid an error.
16663 Use char because int might match the return type of a GCC
16664 builtin and then its argument prototype would still apply. */
16665 #ifdef __cplusplus
16666 extern "C"
16667 #endif
16668 char atanl ();
16669 int
16670 main ()
16671 {
16672 return atanl ();
16673 ;
16674 return 0;
16675 }
16676 _ACEOF
16677 if ac_fn_c_try_link "$LINENO"; then :
16678 ac_cv_lib_m_atanl=yes
16679 else
16680 ac_cv_lib_m_atanl=no
16681 fi
16682 rm -f core conftest.err conftest.$ac_objext \
16683 conftest$ac_exeext conftest.$ac_ext
16684 LIBS=$ac_check_lib_save_LIBS
16685 fi
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanl" >&5
16687 $as_echo "$ac_cv_lib_m_atanl" >&6; }
16688 if test "x$ac_cv_lib_m_atanl" = x""yes; then :
16689
16690 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
16691
16692 fi
16693
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
16695 $as_echo_n "checking for atanhf in -lm... " >&6; }
16696 if test "${ac_cv_lib_m_atanhf+set}" = set; then :
16697 $as_echo_n "(cached) " >&6
16698 else
16699 ac_check_lib_save_LIBS=$LIBS
16700 LIBS="-lm $LIBS"
16701 if test x$gcc_no_link = xyes; then
16702 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16703 fi
16704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16705 /* end confdefs.h. */
16706
16707 /* Override any GCC internal prototype to avoid an error.
16708 Use char because int might match the return type of a GCC
16709 builtin and then its argument prototype would still apply. */
16710 #ifdef __cplusplus
16711 extern "C"
16712 #endif
16713 char atanhf ();
16714 int
16715 main ()
16716 {
16717 return atanhf ();
16718 ;
16719 return 0;
16720 }
16721 _ACEOF
16722 if ac_fn_c_try_link "$LINENO"; then :
16723 ac_cv_lib_m_atanhf=yes
16724 else
16725 ac_cv_lib_m_atanhf=no
16726 fi
16727 rm -f core conftest.err conftest.$ac_objext \
16728 conftest$ac_exeext conftest.$ac_ext
16729 LIBS=$ac_check_lib_save_LIBS
16730 fi
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhf" >&5
16732 $as_echo "$ac_cv_lib_m_atanhf" >&6; }
16733 if test "x$ac_cv_lib_m_atanhf" = x""yes; then :
16734
16735 $as_echo "#define HAVE_ATANHF 1" >>confdefs.h
16736
16737 fi
16738
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
16740 $as_echo_n "checking for atanh in -lm... " >&6; }
16741 if test "${ac_cv_lib_m_atanh+set}" = set; then :
16742 $as_echo_n "(cached) " >&6
16743 else
16744 ac_check_lib_save_LIBS=$LIBS
16745 LIBS="-lm $LIBS"
16746 if test x$gcc_no_link = xyes; then
16747 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16748 fi
16749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16751
16752 /* Override any GCC internal prototype to avoid an error.
16753 Use char because int might match the return type of a GCC
16754 builtin and then its argument prototype would still apply. */
16755 #ifdef __cplusplus
16756 extern "C"
16757 #endif
16758 char atanh ();
16759 int
16760 main ()
16761 {
16762 return atanh ();
16763 ;
16764 return 0;
16765 }
16766 _ACEOF
16767 if ac_fn_c_try_link "$LINENO"; then :
16768 ac_cv_lib_m_atanh=yes
16769 else
16770 ac_cv_lib_m_atanh=no
16771 fi
16772 rm -f core conftest.err conftest.$ac_objext \
16773 conftest$ac_exeext conftest.$ac_ext
16774 LIBS=$ac_check_lib_save_LIBS
16775 fi
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanh" >&5
16777 $as_echo "$ac_cv_lib_m_atanh" >&6; }
16778 if test "x$ac_cv_lib_m_atanh" = x""yes; then :
16779
16780 $as_echo "#define HAVE_ATANH 1" >>confdefs.h
16781
16782 fi
16783
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
16785 $as_echo_n "checking for atanhl in -lm... " >&6; }
16786 if test "${ac_cv_lib_m_atanhl+set}" = set; then :
16787 $as_echo_n "(cached) " >&6
16788 else
16789 ac_check_lib_save_LIBS=$LIBS
16790 LIBS="-lm $LIBS"
16791 if test x$gcc_no_link = xyes; then
16792 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16793 fi
16794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16795 /* end confdefs.h. */
16796
16797 /* Override any GCC internal prototype to avoid an error.
16798 Use char because int might match the return type of a GCC
16799 builtin and then its argument prototype would still apply. */
16800 #ifdef __cplusplus
16801 extern "C"
16802 #endif
16803 char atanhl ();
16804 int
16805 main ()
16806 {
16807 return atanhl ();
16808 ;
16809 return 0;
16810 }
16811 _ACEOF
16812 if ac_fn_c_try_link "$LINENO"; then :
16813 ac_cv_lib_m_atanhl=yes
16814 else
16815 ac_cv_lib_m_atanhl=no
16816 fi
16817 rm -f core conftest.err conftest.$ac_objext \
16818 conftest$ac_exeext conftest.$ac_ext
16819 LIBS=$ac_check_lib_save_LIBS
16820 fi
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhl" >&5
16822 $as_echo "$ac_cv_lib_m_atanhl" >&6; }
16823 if test "x$ac_cv_lib_m_atanhl" = x""yes; then :
16824
16825 $as_echo "#define HAVE_ATANHL 1" >>confdefs.h
16826
16827 fi
16828
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
16830 $as_echo_n "checking for cargf in -lm... " >&6; }
16831 if test "${ac_cv_lib_m_cargf+set}" = set; then :
16832 $as_echo_n "(cached) " >&6
16833 else
16834 ac_check_lib_save_LIBS=$LIBS
16835 LIBS="-lm $LIBS"
16836 if test x$gcc_no_link = xyes; then
16837 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16838 fi
16839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16840 /* end confdefs.h. */
16841
16842 /* Override any GCC internal prototype to avoid an error.
16843 Use char because int might match the return type of a GCC
16844 builtin and then its argument prototype would still apply. */
16845 #ifdef __cplusplus
16846 extern "C"
16847 #endif
16848 char cargf ();
16849 int
16850 main ()
16851 {
16852 return cargf ();
16853 ;
16854 return 0;
16855 }
16856 _ACEOF
16857 if ac_fn_c_try_link "$LINENO"; then :
16858 ac_cv_lib_m_cargf=yes
16859 else
16860 ac_cv_lib_m_cargf=no
16861 fi
16862 rm -f core conftest.err conftest.$ac_objext \
16863 conftest$ac_exeext conftest.$ac_ext
16864 LIBS=$ac_check_lib_save_LIBS
16865 fi
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargf" >&5
16867 $as_echo "$ac_cv_lib_m_cargf" >&6; }
16868 if test "x$ac_cv_lib_m_cargf" = x""yes; then :
16869
16870 $as_echo "#define HAVE_CARGF 1" >>confdefs.h
16871
16872 fi
16873
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
16875 $as_echo_n "checking for carg in -lm... " >&6; }
16876 if test "${ac_cv_lib_m_carg+set}" = set; then :
16877 $as_echo_n "(cached) " >&6
16878 else
16879 ac_check_lib_save_LIBS=$LIBS
16880 LIBS="-lm $LIBS"
16881 if test x$gcc_no_link = xyes; then
16882 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16883 fi
16884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16885 /* end confdefs.h. */
16886
16887 /* Override any GCC internal prototype to avoid an error.
16888 Use char because int might match the return type of a GCC
16889 builtin and then its argument prototype would still apply. */
16890 #ifdef __cplusplus
16891 extern "C"
16892 #endif
16893 char carg ();
16894 int
16895 main ()
16896 {
16897 return carg ();
16898 ;
16899 return 0;
16900 }
16901 _ACEOF
16902 if ac_fn_c_try_link "$LINENO"; then :
16903 ac_cv_lib_m_carg=yes
16904 else
16905 ac_cv_lib_m_carg=no
16906 fi
16907 rm -f core conftest.err conftest.$ac_objext \
16908 conftest$ac_exeext conftest.$ac_ext
16909 LIBS=$ac_check_lib_save_LIBS
16910 fi
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_carg" >&5
16912 $as_echo "$ac_cv_lib_m_carg" >&6; }
16913 if test "x$ac_cv_lib_m_carg" = x""yes; then :
16914
16915 $as_echo "#define HAVE_CARG 1" >>confdefs.h
16916
16917 fi
16918
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
16920 $as_echo_n "checking for cargl in -lm... " >&6; }
16921 if test "${ac_cv_lib_m_cargl+set}" = set; then :
16922 $as_echo_n "(cached) " >&6
16923 else
16924 ac_check_lib_save_LIBS=$LIBS
16925 LIBS="-lm $LIBS"
16926 if test x$gcc_no_link = xyes; then
16927 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16928 fi
16929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16931
16932 /* Override any GCC internal prototype to avoid an error.
16933 Use char because int might match the return type of a GCC
16934 builtin and then its argument prototype would still apply. */
16935 #ifdef __cplusplus
16936 extern "C"
16937 #endif
16938 char cargl ();
16939 int
16940 main ()
16941 {
16942 return cargl ();
16943 ;
16944 return 0;
16945 }
16946 _ACEOF
16947 if ac_fn_c_try_link "$LINENO"; then :
16948 ac_cv_lib_m_cargl=yes
16949 else
16950 ac_cv_lib_m_cargl=no
16951 fi
16952 rm -f core conftest.err conftest.$ac_objext \
16953 conftest$ac_exeext conftest.$ac_ext
16954 LIBS=$ac_check_lib_save_LIBS
16955 fi
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargl" >&5
16957 $as_echo "$ac_cv_lib_m_cargl" >&6; }
16958 if test "x$ac_cv_lib_m_cargl" = x""yes; then :
16959
16960 $as_echo "#define HAVE_CARGL 1" >>confdefs.h
16961
16962 fi
16963
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
16965 $as_echo_n "checking for ceilf in -lm... " >&6; }
16966 if test "${ac_cv_lib_m_ceilf+set}" = set; then :
16967 $as_echo_n "(cached) " >&6
16968 else
16969 ac_check_lib_save_LIBS=$LIBS
16970 LIBS="-lm $LIBS"
16971 if test x$gcc_no_link = xyes; then
16972 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16973 fi
16974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16975 /* end confdefs.h. */
16976
16977 /* Override any GCC internal prototype to avoid an error.
16978 Use char because int might match the return type of a GCC
16979 builtin and then its argument prototype would still apply. */
16980 #ifdef __cplusplus
16981 extern "C"
16982 #endif
16983 char ceilf ();
16984 int
16985 main ()
16986 {
16987 return ceilf ();
16988 ;
16989 return 0;
16990 }
16991 _ACEOF
16992 if ac_fn_c_try_link "$LINENO"; then :
16993 ac_cv_lib_m_ceilf=yes
16994 else
16995 ac_cv_lib_m_ceilf=no
16996 fi
16997 rm -f core conftest.err conftest.$ac_objext \
16998 conftest$ac_exeext conftest.$ac_ext
16999 LIBS=$ac_check_lib_save_LIBS
17000 fi
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5
17002 $as_echo "$ac_cv_lib_m_ceilf" >&6; }
17003 if test "x$ac_cv_lib_m_ceilf" = x""yes; then :
17004
17005 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
17006
17007 fi
17008
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
17010 $as_echo_n "checking for ceil in -lm... " >&6; }
17011 if test "${ac_cv_lib_m_ceil+set}" = set; then :
17012 $as_echo_n "(cached) " >&6
17013 else
17014 ac_check_lib_save_LIBS=$LIBS
17015 LIBS="-lm $LIBS"
17016 if test x$gcc_no_link = xyes; then
17017 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17018 fi
17019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17020 /* end confdefs.h. */
17021
17022 /* Override any GCC internal prototype to avoid an error.
17023 Use char because int might match the return type of a GCC
17024 builtin and then its argument prototype would still apply. */
17025 #ifdef __cplusplus
17026 extern "C"
17027 #endif
17028 char ceil ();
17029 int
17030 main ()
17031 {
17032 return ceil ();
17033 ;
17034 return 0;
17035 }
17036 _ACEOF
17037 if ac_fn_c_try_link "$LINENO"; then :
17038 ac_cv_lib_m_ceil=yes
17039 else
17040 ac_cv_lib_m_ceil=no
17041 fi
17042 rm -f core conftest.err conftest.$ac_objext \
17043 conftest$ac_exeext conftest.$ac_ext
17044 LIBS=$ac_check_lib_save_LIBS
17045 fi
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
17047 $as_echo "$ac_cv_lib_m_ceil" >&6; }
17048 if test "x$ac_cv_lib_m_ceil" = x""yes; then :
17049
17050 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
17051
17052 fi
17053
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
17055 $as_echo_n "checking for ceill in -lm... " >&6; }
17056 if test "${ac_cv_lib_m_ceill+set}" = set; then :
17057 $as_echo_n "(cached) " >&6
17058 else
17059 ac_check_lib_save_LIBS=$LIBS
17060 LIBS="-lm $LIBS"
17061 if test x$gcc_no_link = xyes; then
17062 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17063 fi
17064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17065 /* end confdefs.h. */
17066
17067 /* Override any GCC internal prototype to avoid an error.
17068 Use char because int might match the return type of a GCC
17069 builtin and then its argument prototype would still apply. */
17070 #ifdef __cplusplus
17071 extern "C"
17072 #endif
17073 char ceill ();
17074 int
17075 main ()
17076 {
17077 return ceill ();
17078 ;
17079 return 0;
17080 }
17081 _ACEOF
17082 if ac_fn_c_try_link "$LINENO"; then :
17083 ac_cv_lib_m_ceill=yes
17084 else
17085 ac_cv_lib_m_ceill=no
17086 fi
17087 rm -f core conftest.err conftest.$ac_objext \
17088 conftest$ac_exeext conftest.$ac_ext
17089 LIBS=$ac_check_lib_save_LIBS
17090 fi
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceill" >&5
17092 $as_echo "$ac_cv_lib_m_ceill" >&6; }
17093 if test "x$ac_cv_lib_m_ceill" = x""yes; then :
17094
17095 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
17096
17097 fi
17098
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17100 $as_echo_n "checking for copysignf in -lm... " >&6; }
17101 if test "${ac_cv_lib_m_copysignf+set}" = set; then :
17102 $as_echo_n "(cached) " >&6
17103 else
17104 ac_check_lib_save_LIBS=$LIBS
17105 LIBS="-lm $LIBS"
17106 if test x$gcc_no_link = xyes; then
17107 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17108 fi
17109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17110 /* end confdefs.h. */
17111
17112 /* Override any GCC internal prototype to avoid an error.
17113 Use char because int might match the return type of a GCC
17114 builtin and then its argument prototype would still apply. */
17115 #ifdef __cplusplus
17116 extern "C"
17117 #endif
17118 char copysignf ();
17119 int
17120 main ()
17121 {
17122 return copysignf ();
17123 ;
17124 return 0;
17125 }
17126 _ACEOF
17127 if ac_fn_c_try_link "$LINENO"; then :
17128 ac_cv_lib_m_copysignf=yes
17129 else
17130 ac_cv_lib_m_copysignf=no
17131 fi
17132 rm -f core conftest.err conftest.$ac_objext \
17133 conftest$ac_exeext conftest.$ac_ext
17134 LIBS=$ac_check_lib_save_LIBS
17135 fi
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignf" >&5
17137 $as_echo "$ac_cv_lib_m_copysignf" >&6; }
17138 if test "x$ac_cv_lib_m_copysignf" = x""yes; then :
17139
17140 $as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17141
17142 fi
17143
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17145 $as_echo_n "checking for copysign in -lm... " >&6; }
17146 if test "${ac_cv_lib_m_copysign+set}" = set; then :
17147 $as_echo_n "(cached) " >&6
17148 else
17149 ac_check_lib_save_LIBS=$LIBS
17150 LIBS="-lm $LIBS"
17151 if test x$gcc_no_link = xyes; then
17152 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17153 fi
17154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17155 /* end confdefs.h. */
17156
17157 /* Override any GCC internal prototype to avoid an error.
17158 Use char because int might match the return type of a GCC
17159 builtin and then its argument prototype would still apply. */
17160 #ifdef __cplusplus
17161 extern "C"
17162 #endif
17163 char copysign ();
17164 int
17165 main ()
17166 {
17167 return copysign ();
17168 ;
17169 return 0;
17170 }
17171 _ACEOF
17172 if ac_fn_c_try_link "$LINENO"; then :
17173 ac_cv_lib_m_copysign=yes
17174 else
17175 ac_cv_lib_m_copysign=no
17176 fi
17177 rm -f core conftest.err conftest.$ac_objext \
17178 conftest$ac_exeext conftest.$ac_ext
17179 LIBS=$ac_check_lib_save_LIBS
17180 fi
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysign" >&5
17182 $as_echo "$ac_cv_lib_m_copysign" >&6; }
17183 if test "x$ac_cv_lib_m_copysign" = x""yes; then :
17184
17185 $as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17186
17187 fi
17188
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17190 $as_echo_n "checking for copysignl in -lm... " >&6; }
17191 if test "${ac_cv_lib_m_copysignl+set}" = set; then :
17192 $as_echo_n "(cached) " >&6
17193 else
17194 ac_check_lib_save_LIBS=$LIBS
17195 LIBS="-lm $LIBS"
17196 if test x$gcc_no_link = xyes; then
17197 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17198 fi
17199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17200 /* end confdefs.h. */
17201
17202 /* Override any GCC internal prototype to avoid an error.
17203 Use char because int might match the return type of a GCC
17204 builtin and then its argument prototype would still apply. */
17205 #ifdef __cplusplus
17206 extern "C"
17207 #endif
17208 char copysignl ();
17209 int
17210 main ()
17211 {
17212 return copysignl ();
17213 ;
17214 return 0;
17215 }
17216 _ACEOF
17217 if ac_fn_c_try_link "$LINENO"; then :
17218 ac_cv_lib_m_copysignl=yes
17219 else
17220 ac_cv_lib_m_copysignl=no
17221 fi
17222 rm -f core conftest.err conftest.$ac_objext \
17223 conftest$ac_exeext conftest.$ac_ext
17224 LIBS=$ac_check_lib_save_LIBS
17225 fi
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignl" >&5
17227 $as_echo "$ac_cv_lib_m_copysignl" >&6; }
17228 if test "x$ac_cv_lib_m_copysignl" = x""yes; then :
17229
17230 $as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
17231
17232 fi
17233
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
17235 $as_echo_n "checking for cosf in -lm... " >&6; }
17236 if test "${ac_cv_lib_m_cosf+set}" = set; then :
17237 $as_echo_n "(cached) " >&6
17238 else
17239 ac_check_lib_save_LIBS=$LIBS
17240 LIBS="-lm $LIBS"
17241 if test x$gcc_no_link = xyes; then
17242 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17243 fi
17244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17245 /* end confdefs.h. */
17246
17247 /* Override any GCC internal prototype to avoid an error.
17248 Use char because int might match the return type of a GCC
17249 builtin and then its argument prototype would still apply. */
17250 #ifdef __cplusplus
17251 extern "C"
17252 #endif
17253 char cosf ();
17254 int
17255 main ()
17256 {
17257 return cosf ();
17258 ;
17259 return 0;
17260 }
17261 _ACEOF
17262 if ac_fn_c_try_link "$LINENO"; then :
17263 ac_cv_lib_m_cosf=yes
17264 else
17265 ac_cv_lib_m_cosf=no
17266 fi
17267 rm -f core conftest.err conftest.$ac_objext \
17268 conftest$ac_exeext conftest.$ac_ext
17269 LIBS=$ac_check_lib_save_LIBS
17270 fi
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
17272 $as_echo "$ac_cv_lib_m_cosf" >&6; }
17273 if test "x$ac_cv_lib_m_cosf" = x""yes; then :
17274
17275 $as_echo "#define HAVE_COSF 1" >>confdefs.h
17276
17277 fi
17278
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
17280 $as_echo_n "checking for cos in -lm... " >&6; }
17281 if test "${ac_cv_lib_m_cos+set}" = set; then :
17282 $as_echo_n "(cached) " >&6
17283 else
17284 ac_check_lib_save_LIBS=$LIBS
17285 LIBS="-lm $LIBS"
17286 if test x$gcc_no_link = xyes; then
17287 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17288 fi
17289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17290 /* end confdefs.h. */
17291
17292 /* Override any GCC internal prototype to avoid an error.
17293 Use char because int might match the return type of a GCC
17294 builtin and then its argument prototype would still apply. */
17295 #ifdef __cplusplus
17296 extern "C"
17297 #endif
17298 char cos ();
17299 int
17300 main ()
17301 {
17302 return cos ();
17303 ;
17304 return 0;
17305 }
17306 _ACEOF
17307 if ac_fn_c_try_link "$LINENO"; then :
17308 ac_cv_lib_m_cos=yes
17309 else
17310 ac_cv_lib_m_cos=no
17311 fi
17312 rm -f core conftest.err conftest.$ac_objext \
17313 conftest$ac_exeext conftest.$ac_ext
17314 LIBS=$ac_check_lib_save_LIBS
17315 fi
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
17317 $as_echo "$ac_cv_lib_m_cos" >&6; }
17318 if test "x$ac_cv_lib_m_cos" = x""yes; then :
17319
17320 $as_echo "#define HAVE_COS 1" >>confdefs.h
17321
17322 fi
17323
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
17325 $as_echo_n "checking for cosl in -lm... " >&6; }
17326 if test "${ac_cv_lib_m_cosl+set}" = set; then :
17327 $as_echo_n "(cached) " >&6
17328 else
17329 ac_check_lib_save_LIBS=$LIBS
17330 LIBS="-lm $LIBS"
17331 if test x$gcc_no_link = xyes; then
17332 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17333 fi
17334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17335 /* end confdefs.h. */
17336
17337 /* Override any GCC internal prototype to avoid an error.
17338 Use char because int might match the return type of a GCC
17339 builtin and then its argument prototype would still apply. */
17340 #ifdef __cplusplus
17341 extern "C"
17342 #endif
17343 char cosl ();
17344 int
17345 main ()
17346 {
17347 return cosl ();
17348 ;
17349 return 0;
17350 }
17351 _ACEOF
17352 if ac_fn_c_try_link "$LINENO"; then :
17353 ac_cv_lib_m_cosl=yes
17354 else
17355 ac_cv_lib_m_cosl=no
17356 fi
17357 rm -f core conftest.err conftest.$ac_objext \
17358 conftest$ac_exeext conftest.$ac_ext
17359 LIBS=$ac_check_lib_save_LIBS
17360 fi
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosl" >&5
17362 $as_echo "$ac_cv_lib_m_cosl" >&6; }
17363 if test "x$ac_cv_lib_m_cosl" = x""yes; then :
17364
17365 $as_echo "#define HAVE_COSL 1" >>confdefs.h
17366
17367 fi
17368
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
17370 $as_echo_n "checking for ccosf in -lm... " >&6; }
17371 if test "${ac_cv_lib_m_ccosf+set}" = set; then :
17372 $as_echo_n "(cached) " >&6
17373 else
17374 ac_check_lib_save_LIBS=$LIBS
17375 LIBS="-lm $LIBS"
17376 if test x$gcc_no_link = xyes; then
17377 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17378 fi
17379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17380 /* end confdefs.h. */
17381
17382 /* Override any GCC internal prototype to avoid an error.
17383 Use char because int might match the return type of a GCC
17384 builtin and then its argument prototype would still apply. */
17385 #ifdef __cplusplus
17386 extern "C"
17387 #endif
17388 char ccosf ();
17389 int
17390 main ()
17391 {
17392 return ccosf ();
17393 ;
17394 return 0;
17395 }
17396 _ACEOF
17397 if ac_fn_c_try_link "$LINENO"; then :
17398 ac_cv_lib_m_ccosf=yes
17399 else
17400 ac_cv_lib_m_ccosf=no
17401 fi
17402 rm -f core conftest.err conftest.$ac_objext \
17403 conftest$ac_exeext conftest.$ac_ext
17404 LIBS=$ac_check_lib_save_LIBS
17405 fi
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosf" >&5
17407 $as_echo "$ac_cv_lib_m_ccosf" >&6; }
17408 if test "x$ac_cv_lib_m_ccosf" = x""yes; then :
17409
17410 $as_echo "#define HAVE_CCOSF 1" >>confdefs.h
17411
17412 fi
17413
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
17415 $as_echo_n "checking for ccos in -lm... " >&6; }
17416 if test "${ac_cv_lib_m_ccos+set}" = set; then :
17417 $as_echo_n "(cached) " >&6
17418 else
17419 ac_check_lib_save_LIBS=$LIBS
17420 LIBS="-lm $LIBS"
17421 if test x$gcc_no_link = xyes; then
17422 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17423 fi
17424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17425 /* end confdefs.h. */
17426
17427 /* Override any GCC internal prototype to avoid an error.
17428 Use char because int might match the return type of a GCC
17429 builtin and then its argument prototype would still apply. */
17430 #ifdef __cplusplus
17431 extern "C"
17432 #endif
17433 char ccos ();
17434 int
17435 main ()
17436 {
17437 return ccos ();
17438 ;
17439 return 0;
17440 }
17441 _ACEOF
17442 if ac_fn_c_try_link "$LINENO"; then :
17443 ac_cv_lib_m_ccos=yes
17444 else
17445 ac_cv_lib_m_ccos=no
17446 fi
17447 rm -f core conftest.err conftest.$ac_objext \
17448 conftest$ac_exeext conftest.$ac_ext
17449 LIBS=$ac_check_lib_save_LIBS
17450 fi
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccos" >&5
17452 $as_echo "$ac_cv_lib_m_ccos" >&6; }
17453 if test "x$ac_cv_lib_m_ccos" = x""yes; then :
17454
17455 $as_echo "#define HAVE_CCOS 1" >>confdefs.h
17456
17457 fi
17458
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
17460 $as_echo_n "checking for ccosl in -lm... " >&6; }
17461 if test "${ac_cv_lib_m_ccosl+set}" = set; then :
17462 $as_echo_n "(cached) " >&6
17463 else
17464 ac_check_lib_save_LIBS=$LIBS
17465 LIBS="-lm $LIBS"
17466 if test x$gcc_no_link = xyes; then
17467 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17468 fi
17469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17470 /* end confdefs.h. */
17471
17472 /* Override any GCC internal prototype to avoid an error.
17473 Use char because int might match the return type of a GCC
17474 builtin and then its argument prototype would still apply. */
17475 #ifdef __cplusplus
17476 extern "C"
17477 #endif
17478 char ccosl ();
17479 int
17480 main ()
17481 {
17482 return ccosl ();
17483 ;
17484 return 0;
17485 }
17486 _ACEOF
17487 if ac_fn_c_try_link "$LINENO"; then :
17488 ac_cv_lib_m_ccosl=yes
17489 else
17490 ac_cv_lib_m_ccosl=no
17491 fi
17492 rm -f core conftest.err conftest.$ac_objext \
17493 conftest$ac_exeext conftest.$ac_ext
17494 LIBS=$ac_check_lib_save_LIBS
17495 fi
17496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosl" >&5
17497 $as_echo "$ac_cv_lib_m_ccosl" >&6; }
17498 if test "x$ac_cv_lib_m_ccosl" = x""yes; then :
17499
17500 $as_echo "#define HAVE_CCOSL 1" >>confdefs.h
17501
17502 fi
17503
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
17505 $as_echo_n "checking for coshf in -lm... " >&6; }
17506 if test "${ac_cv_lib_m_coshf+set}" = set; then :
17507 $as_echo_n "(cached) " >&6
17508 else
17509 ac_check_lib_save_LIBS=$LIBS
17510 LIBS="-lm $LIBS"
17511 if test x$gcc_no_link = xyes; then
17512 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17513 fi
17514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17515 /* end confdefs.h. */
17516
17517 /* Override any GCC internal prototype to avoid an error.
17518 Use char because int might match the return type of a GCC
17519 builtin and then its argument prototype would still apply. */
17520 #ifdef __cplusplus
17521 extern "C"
17522 #endif
17523 char coshf ();
17524 int
17525 main ()
17526 {
17527 return coshf ();
17528 ;
17529 return 0;
17530 }
17531 _ACEOF
17532 if ac_fn_c_try_link "$LINENO"; then :
17533 ac_cv_lib_m_coshf=yes
17534 else
17535 ac_cv_lib_m_coshf=no
17536 fi
17537 rm -f core conftest.err conftest.$ac_objext \
17538 conftest$ac_exeext conftest.$ac_ext
17539 LIBS=$ac_check_lib_save_LIBS
17540 fi
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshf" >&5
17542 $as_echo "$ac_cv_lib_m_coshf" >&6; }
17543 if test "x$ac_cv_lib_m_coshf" = x""yes; then :
17544
17545 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
17546
17547 fi
17548
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
17550 $as_echo_n "checking for cosh in -lm... " >&6; }
17551 if test "${ac_cv_lib_m_cosh+set}" = set; then :
17552 $as_echo_n "(cached) " >&6
17553 else
17554 ac_check_lib_save_LIBS=$LIBS
17555 LIBS="-lm $LIBS"
17556 if test x$gcc_no_link = xyes; then
17557 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17558 fi
17559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17560 /* end confdefs.h. */
17561
17562 /* Override any GCC internal prototype to avoid an error.
17563 Use char because int might match the return type of a GCC
17564 builtin and then its argument prototype would still apply. */
17565 #ifdef __cplusplus
17566 extern "C"
17567 #endif
17568 char cosh ();
17569 int
17570 main ()
17571 {
17572 return cosh ();
17573 ;
17574 return 0;
17575 }
17576 _ACEOF
17577 if ac_fn_c_try_link "$LINENO"; then :
17578 ac_cv_lib_m_cosh=yes
17579 else
17580 ac_cv_lib_m_cosh=no
17581 fi
17582 rm -f core conftest.err conftest.$ac_objext \
17583 conftest$ac_exeext conftest.$ac_ext
17584 LIBS=$ac_check_lib_save_LIBS
17585 fi
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosh" >&5
17587 $as_echo "$ac_cv_lib_m_cosh" >&6; }
17588 if test "x$ac_cv_lib_m_cosh" = x""yes; then :
17589
17590 $as_echo "#define HAVE_COSH 1" >>confdefs.h
17591
17592 fi
17593
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
17595 $as_echo_n "checking for coshl in -lm... " >&6; }
17596 if test "${ac_cv_lib_m_coshl+set}" = set; then :
17597 $as_echo_n "(cached) " >&6
17598 else
17599 ac_check_lib_save_LIBS=$LIBS
17600 LIBS="-lm $LIBS"
17601 if test x$gcc_no_link = xyes; then
17602 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17603 fi
17604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17605 /* end confdefs.h. */
17606
17607 /* Override any GCC internal prototype to avoid an error.
17608 Use char because int might match the return type of a GCC
17609 builtin and then its argument prototype would still apply. */
17610 #ifdef __cplusplus
17611 extern "C"
17612 #endif
17613 char coshl ();
17614 int
17615 main ()
17616 {
17617 return coshl ();
17618 ;
17619 return 0;
17620 }
17621 _ACEOF
17622 if ac_fn_c_try_link "$LINENO"; then :
17623 ac_cv_lib_m_coshl=yes
17624 else
17625 ac_cv_lib_m_coshl=no
17626 fi
17627 rm -f core conftest.err conftest.$ac_objext \
17628 conftest$ac_exeext conftest.$ac_ext
17629 LIBS=$ac_check_lib_save_LIBS
17630 fi
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshl" >&5
17632 $as_echo "$ac_cv_lib_m_coshl" >&6; }
17633 if test "x$ac_cv_lib_m_coshl" = x""yes; then :
17634
17635 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
17636
17637 fi
17638
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
17640 $as_echo_n "checking for ccoshf in -lm... " >&6; }
17641 if test "${ac_cv_lib_m_ccoshf+set}" = set; then :
17642 $as_echo_n "(cached) " >&6
17643 else
17644 ac_check_lib_save_LIBS=$LIBS
17645 LIBS="-lm $LIBS"
17646 if test x$gcc_no_link = xyes; then
17647 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17648 fi
17649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17650 /* end confdefs.h. */
17651
17652 /* Override any GCC internal prototype to avoid an error.
17653 Use char because int might match the return type of a GCC
17654 builtin and then its argument prototype would still apply. */
17655 #ifdef __cplusplus
17656 extern "C"
17657 #endif
17658 char ccoshf ();
17659 int
17660 main ()
17661 {
17662 return ccoshf ();
17663 ;
17664 return 0;
17665 }
17666 _ACEOF
17667 if ac_fn_c_try_link "$LINENO"; then :
17668 ac_cv_lib_m_ccoshf=yes
17669 else
17670 ac_cv_lib_m_ccoshf=no
17671 fi
17672 rm -f core conftest.err conftest.$ac_objext \
17673 conftest$ac_exeext conftest.$ac_ext
17674 LIBS=$ac_check_lib_save_LIBS
17675 fi
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshf" >&5
17677 $as_echo "$ac_cv_lib_m_ccoshf" >&6; }
17678 if test "x$ac_cv_lib_m_ccoshf" = x""yes; then :
17679
17680 $as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
17681
17682 fi
17683
17684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
17685 $as_echo_n "checking for ccosh in -lm... " >&6; }
17686 if test "${ac_cv_lib_m_ccosh+set}" = set; then :
17687 $as_echo_n "(cached) " >&6
17688 else
17689 ac_check_lib_save_LIBS=$LIBS
17690 LIBS="-lm $LIBS"
17691 if test x$gcc_no_link = xyes; then
17692 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17693 fi
17694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17695 /* end confdefs.h. */
17696
17697 /* Override any GCC internal prototype to avoid an error.
17698 Use char because int might match the return type of a GCC
17699 builtin and then its argument prototype would still apply. */
17700 #ifdef __cplusplus
17701 extern "C"
17702 #endif
17703 char ccosh ();
17704 int
17705 main ()
17706 {
17707 return ccosh ();
17708 ;
17709 return 0;
17710 }
17711 _ACEOF
17712 if ac_fn_c_try_link "$LINENO"; then :
17713 ac_cv_lib_m_ccosh=yes
17714 else
17715 ac_cv_lib_m_ccosh=no
17716 fi
17717 rm -f core conftest.err conftest.$ac_objext \
17718 conftest$ac_exeext conftest.$ac_ext
17719 LIBS=$ac_check_lib_save_LIBS
17720 fi
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosh" >&5
17722 $as_echo "$ac_cv_lib_m_ccosh" >&6; }
17723 if test "x$ac_cv_lib_m_ccosh" = x""yes; then :
17724
17725 $as_echo "#define HAVE_CCOSH 1" >>confdefs.h
17726
17727 fi
17728
17729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
17730 $as_echo_n "checking for ccoshl in -lm... " >&6; }
17731 if test "${ac_cv_lib_m_ccoshl+set}" = set; then :
17732 $as_echo_n "(cached) " >&6
17733 else
17734 ac_check_lib_save_LIBS=$LIBS
17735 LIBS="-lm $LIBS"
17736 if test x$gcc_no_link = xyes; then
17737 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17738 fi
17739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17740 /* end confdefs.h. */
17741
17742 /* Override any GCC internal prototype to avoid an error.
17743 Use char because int might match the return type of a GCC
17744 builtin and then its argument prototype would still apply. */
17745 #ifdef __cplusplus
17746 extern "C"
17747 #endif
17748 char ccoshl ();
17749 int
17750 main ()
17751 {
17752 return ccoshl ();
17753 ;
17754 return 0;
17755 }
17756 _ACEOF
17757 if ac_fn_c_try_link "$LINENO"; then :
17758 ac_cv_lib_m_ccoshl=yes
17759 else
17760 ac_cv_lib_m_ccoshl=no
17761 fi
17762 rm -f core conftest.err conftest.$ac_objext \
17763 conftest$ac_exeext conftest.$ac_ext
17764 LIBS=$ac_check_lib_save_LIBS
17765 fi
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshl" >&5
17767 $as_echo "$ac_cv_lib_m_ccoshl" >&6; }
17768 if test "x$ac_cv_lib_m_ccoshl" = x""yes; then :
17769
17770 $as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
17771
17772 fi
17773
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
17775 $as_echo_n "checking for expf in -lm... " >&6; }
17776 if test "${ac_cv_lib_m_expf+set}" = set; then :
17777 $as_echo_n "(cached) " >&6
17778 else
17779 ac_check_lib_save_LIBS=$LIBS
17780 LIBS="-lm $LIBS"
17781 if test x$gcc_no_link = xyes; then
17782 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17783 fi
17784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17785 /* end confdefs.h. */
17786
17787 /* Override any GCC internal prototype to avoid an error.
17788 Use char because int might match the return type of a GCC
17789 builtin and then its argument prototype would still apply. */
17790 #ifdef __cplusplus
17791 extern "C"
17792 #endif
17793 char expf ();
17794 int
17795 main ()
17796 {
17797 return expf ();
17798 ;
17799 return 0;
17800 }
17801 _ACEOF
17802 if ac_fn_c_try_link "$LINENO"; then :
17803 ac_cv_lib_m_expf=yes
17804 else
17805 ac_cv_lib_m_expf=no
17806 fi
17807 rm -f core conftest.err conftest.$ac_objext \
17808 conftest$ac_exeext conftest.$ac_ext
17809 LIBS=$ac_check_lib_save_LIBS
17810 fi
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expf" >&5
17812 $as_echo "$ac_cv_lib_m_expf" >&6; }
17813 if test "x$ac_cv_lib_m_expf" = x""yes; then :
17814
17815 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
17816
17817 fi
17818
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
17820 $as_echo_n "checking for exp in -lm... " >&6; }
17821 if test "${ac_cv_lib_m_exp+set}" = set; then :
17822 $as_echo_n "(cached) " >&6
17823 else
17824 ac_check_lib_save_LIBS=$LIBS
17825 LIBS="-lm $LIBS"
17826 if test x$gcc_no_link = xyes; then
17827 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17828 fi
17829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17830 /* end confdefs.h. */
17831
17832 /* Override any GCC internal prototype to avoid an error.
17833 Use char because int might match the return type of a GCC
17834 builtin and then its argument prototype would still apply. */
17835 #ifdef __cplusplus
17836 extern "C"
17837 #endif
17838 char exp ();
17839 int
17840 main ()
17841 {
17842 return exp ();
17843 ;
17844 return 0;
17845 }
17846 _ACEOF
17847 if ac_fn_c_try_link "$LINENO"; then :
17848 ac_cv_lib_m_exp=yes
17849 else
17850 ac_cv_lib_m_exp=no
17851 fi
17852 rm -f core conftest.err conftest.$ac_objext \
17853 conftest$ac_exeext conftest.$ac_ext
17854 LIBS=$ac_check_lib_save_LIBS
17855 fi
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
17857 $as_echo "$ac_cv_lib_m_exp" >&6; }
17858 if test "x$ac_cv_lib_m_exp" = x""yes; then :
17859
17860 $as_echo "#define HAVE_EXP 1" >>confdefs.h
17861
17862 fi
17863
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
17865 $as_echo_n "checking for expl in -lm... " >&6; }
17866 if test "${ac_cv_lib_m_expl+set}" = set; then :
17867 $as_echo_n "(cached) " >&6
17868 else
17869 ac_check_lib_save_LIBS=$LIBS
17870 LIBS="-lm $LIBS"
17871 if test x$gcc_no_link = xyes; then
17872 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17873 fi
17874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17875 /* end confdefs.h. */
17876
17877 /* Override any GCC internal prototype to avoid an error.
17878 Use char because int might match the return type of a GCC
17879 builtin and then its argument prototype would still apply. */
17880 #ifdef __cplusplus
17881 extern "C"
17882 #endif
17883 char expl ();
17884 int
17885 main ()
17886 {
17887 return expl ();
17888 ;
17889 return 0;
17890 }
17891 _ACEOF
17892 if ac_fn_c_try_link "$LINENO"; then :
17893 ac_cv_lib_m_expl=yes
17894 else
17895 ac_cv_lib_m_expl=no
17896 fi
17897 rm -f core conftest.err conftest.$ac_objext \
17898 conftest$ac_exeext conftest.$ac_ext
17899 LIBS=$ac_check_lib_save_LIBS
17900 fi
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expl" >&5
17902 $as_echo "$ac_cv_lib_m_expl" >&6; }
17903 if test "x$ac_cv_lib_m_expl" = x""yes; then :
17904
17905 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
17906
17907 fi
17908
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
17910 $as_echo_n "checking for cexpf in -lm... " >&6; }
17911 if test "${ac_cv_lib_m_cexpf+set}" = set; then :
17912 $as_echo_n "(cached) " >&6
17913 else
17914 ac_check_lib_save_LIBS=$LIBS
17915 LIBS="-lm $LIBS"
17916 if test x$gcc_no_link = xyes; then
17917 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17918 fi
17919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17920 /* end confdefs.h. */
17921
17922 /* Override any GCC internal prototype to avoid an error.
17923 Use char because int might match the return type of a GCC
17924 builtin and then its argument prototype would still apply. */
17925 #ifdef __cplusplus
17926 extern "C"
17927 #endif
17928 char cexpf ();
17929 int
17930 main ()
17931 {
17932 return cexpf ();
17933 ;
17934 return 0;
17935 }
17936 _ACEOF
17937 if ac_fn_c_try_link "$LINENO"; then :
17938 ac_cv_lib_m_cexpf=yes
17939 else
17940 ac_cv_lib_m_cexpf=no
17941 fi
17942 rm -f core conftest.err conftest.$ac_objext \
17943 conftest$ac_exeext conftest.$ac_ext
17944 LIBS=$ac_check_lib_save_LIBS
17945 fi
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpf" >&5
17947 $as_echo "$ac_cv_lib_m_cexpf" >&6; }
17948 if test "x$ac_cv_lib_m_cexpf" = x""yes; then :
17949
17950 $as_echo "#define HAVE_CEXPF 1" >>confdefs.h
17951
17952 fi
17953
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
17955 $as_echo_n "checking for cexp in -lm... " >&6; }
17956 if test "${ac_cv_lib_m_cexp+set}" = set; then :
17957 $as_echo_n "(cached) " >&6
17958 else
17959 ac_check_lib_save_LIBS=$LIBS
17960 LIBS="-lm $LIBS"
17961 if test x$gcc_no_link = xyes; then
17962 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17963 fi
17964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17965 /* end confdefs.h. */
17966
17967 /* Override any GCC internal prototype to avoid an error.
17968 Use char because int might match the return type of a GCC
17969 builtin and then its argument prototype would still apply. */
17970 #ifdef __cplusplus
17971 extern "C"
17972 #endif
17973 char cexp ();
17974 int
17975 main ()
17976 {
17977 return cexp ();
17978 ;
17979 return 0;
17980 }
17981 _ACEOF
17982 if ac_fn_c_try_link "$LINENO"; then :
17983 ac_cv_lib_m_cexp=yes
17984 else
17985 ac_cv_lib_m_cexp=no
17986 fi
17987 rm -f core conftest.err conftest.$ac_objext \
17988 conftest$ac_exeext conftest.$ac_ext
17989 LIBS=$ac_check_lib_save_LIBS
17990 fi
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexp" >&5
17992 $as_echo "$ac_cv_lib_m_cexp" >&6; }
17993 if test "x$ac_cv_lib_m_cexp" = x""yes; then :
17994
17995 $as_echo "#define HAVE_CEXP 1" >>confdefs.h
17996
17997 fi
17998
17999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
18000 $as_echo_n "checking for cexpl in -lm... " >&6; }
18001 if test "${ac_cv_lib_m_cexpl+set}" = set; then :
18002 $as_echo_n "(cached) " >&6
18003 else
18004 ac_check_lib_save_LIBS=$LIBS
18005 LIBS="-lm $LIBS"
18006 if test x$gcc_no_link = xyes; then
18007 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18008 fi
18009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18010 /* end confdefs.h. */
18011
18012 /* Override any GCC internal prototype to avoid an error.
18013 Use char because int might match the return type of a GCC
18014 builtin and then its argument prototype would still apply. */
18015 #ifdef __cplusplus
18016 extern "C"
18017 #endif
18018 char cexpl ();
18019 int
18020 main ()
18021 {
18022 return cexpl ();
18023 ;
18024 return 0;
18025 }
18026 _ACEOF
18027 if ac_fn_c_try_link "$LINENO"; then :
18028 ac_cv_lib_m_cexpl=yes
18029 else
18030 ac_cv_lib_m_cexpl=no
18031 fi
18032 rm -f core conftest.err conftest.$ac_objext \
18033 conftest$ac_exeext conftest.$ac_ext
18034 LIBS=$ac_check_lib_save_LIBS
18035 fi
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpl" >&5
18037 $as_echo "$ac_cv_lib_m_cexpl" >&6; }
18038 if test "x$ac_cv_lib_m_cexpl" = x""yes; then :
18039
18040 $as_echo "#define HAVE_CEXPL 1" >>confdefs.h
18041
18042 fi
18043
18044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
18045 $as_echo_n "checking for fabsf in -lm... " >&6; }
18046 if test "${ac_cv_lib_m_fabsf+set}" = set; then :
18047 $as_echo_n "(cached) " >&6
18048 else
18049 ac_check_lib_save_LIBS=$LIBS
18050 LIBS="-lm $LIBS"
18051 if test x$gcc_no_link = xyes; then
18052 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18053 fi
18054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18055 /* end confdefs.h. */
18056
18057 /* Override any GCC internal prototype to avoid an error.
18058 Use char because int might match the return type of a GCC
18059 builtin and then its argument prototype would still apply. */
18060 #ifdef __cplusplus
18061 extern "C"
18062 #endif
18063 char fabsf ();
18064 int
18065 main ()
18066 {
18067 return fabsf ();
18068 ;
18069 return 0;
18070 }
18071 _ACEOF
18072 if ac_fn_c_try_link "$LINENO"; then :
18073 ac_cv_lib_m_fabsf=yes
18074 else
18075 ac_cv_lib_m_fabsf=no
18076 fi
18077 rm -f core conftest.err conftest.$ac_objext \
18078 conftest$ac_exeext conftest.$ac_ext
18079 LIBS=$ac_check_lib_save_LIBS
18080 fi
18081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
18082 $as_echo "$ac_cv_lib_m_fabsf" >&6; }
18083 if test "x$ac_cv_lib_m_fabsf" = x""yes; then :
18084
18085 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
18086
18087 fi
18088
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18090 $as_echo_n "checking for fabs in -lm... " >&6; }
18091 if test "${ac_cv_lib_m_fabs+set}" = set; then :
18092 $as_echo_n "(cached) " >&6
18093 else
18094 ac_check_lib_save_LIBS=$LIBS
18095 LIBS="-lm $LIBS"
18096 if test x$gcc_no_link = xyes; then
18097 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18098 fi
18099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18100 /* end confdefs.h. */
18101
18102 /* Override any GCC internal prototype to avoid an error.
18103 Use char because int might match the return type of a GCC
18104 builtin and then its argument prototype would still apply. */
18105 #ifdef __cplusplus
18106 extern "C"
18107 #endif
18108 char fabs ();
18109 int
18110 main ()
18111 {
18112 return fabs ();
18113 ;
18114 return 0;
18115 }
18116 _ACEOF
18117 if ac_fn_c_try_link "$LINENO"; then :
18118 ac_cv_lib_m_fabs=yes
18119 else
18120 ac_cv_lib_m_fabs=no
18121 fi
18122 rm -f core conftest.err conftest.$ac_objext \
18123 conftest$ac_exeext conftest.$ac_ext
18124 LIBS=$ac_check_lib_save_LIBS
18125 fi
18126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
18127 $as_echo "$ac_cv_lib_m_fabs" >&6; }
18128 if test "x$ac_cv_lib_m_fabs" = x""yes; then :
18129
18130 $as_echo "#define HAVE_FABS 1" >>confdefs.h
18131
18132 fi
18133
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18135 $as_echo_n "checking for fabsl in -lm... " >&6; }
18136 if test "${ac_cv_lib_m_fabsl+set}" = set; then :
18137 $as_echo_n "(cached) " >&6
18138 else
18139 ac_check_lib_save_LIBS=$LIBS
18140 LIBS="-lm $LIBS"
18141 if test x$gcc_no_link = xyes; then
18142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18143 fi
18144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18145 /* end confdefs.h. */
18146
18147 /* Override any GCC internal prototype to avoid an error.
18148 Use char because int might match the return type of a GCC
18149 builtin and then its argument prototype would still apply. */
18150 #ifdef __cplusplus
18151 extern "C"
18152 #endif
18153 char fabsl ();
18154 int
18155 main ()
18156 {
18157 return fabsl ();
18158 ;
18159 return 0;
18160 }
18161 _ACEOF
18162 if ac_fn_c_try_link "$LINENO"; then :
18163 ac_cv_lib_m_fabsl=yes
18164 else
18165 ac_cv_lib_m_fabsl=no
18166 fi
18167 rm -f core conftest.err conftest.$ac_objext \
18168 conftest$ac_exeext conftest.$ac_ext
18169 LIBS=$ac_check_lib_save_LIBS
18170 fi
18171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsl" >&5
18172 $as_echo "$ac_cv_lib_m_fabsl" >&6; }
18173 if test "x$ac_cv_lib_m_fabsl" = x""yes; then :
18174
18175 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
18176
18177 fi
18178
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18180 $as_echo_n "checking for cabsf in -lm... " >&6; }
18181 if test "${ac_cv_lib_m_cabsf+set}" = set; then :
18182 $as_echo_n "(cached) " >&6
18183 else
18184 ac_check_lib_save_LIBS=$LIBS
18185 LIBS="-lm $LIBS"
18186 if test x$gcc_no_link = xyes; then
18187 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18188 fi
18189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18190 /* end confdefs.h. */
18191
18192 /* Override any GCC internal prototype to avoid an error.
18193 Use char because int might match the return type of a GCC
18194 builtin and then its argument prototype would still apply. */
18195 #ifdef __cplusplus
18196 extern "C"
18197 #endif
18198 char cabsf ();
18199 int
18200 main ()
18201 {
18202 return cabsf ();
18203 ;
18204 return 0;
18205 }
18206 _ACEOF
18207 if ac_fn_c_try_link "$LINENO"; then :
18208 ac_cv_lib_m_cabsf=yes
18209 else
18210 ac_cv_lib_m_cabsf=no
18211 fi
18212 rm -f core conftest.err conftest.$ac_objext \
18213 conftest$ac_exeext conftest.$ac_ext
18214 LIBS=$ac_check_lib_save_LIBS
18215 fi
18216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsf" >&5
18217 $as_echo "$ac_cv_lib_m_cabsf" >&6; }
18218 if test "x$ac_cv_lib_m_cabsf" = x""yes; then :
18219
18220 $as_echo "#define HAVE_CABSF 1" >>confdefs.h
18221
18222 fi
18223
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
18225 $as_echo_n "checking for cabs in -lm... " >&6; }
18226 if test "${ac_cv_lib_m_cabs+set}" = set; then :
18227 $as_echo_n "(cached) " >&6
18228 else
18229 ac_check_lib_save_LIBS=$LIBS
18230 LIBS="-lm $LIBS"
18231 if test x$gcc_no_link = xyes; then
18232 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18233 fi
18234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18235 /* end confdefs.h. */
18236
18237 /* Override any GCC internal prototype to avoid an error.
18238 Use char because int might match the return type of a GCC
18239 builtin and then its argument prototype would still apply. */
18240 #ifdef __cplusplus
18241 extern "C"
18242 #endif
18243 char cabs ();
18244 int
18245 main ()
18246 {
18247 return cabs ();
18248 ;
18249 return 0;
18250 }
18251 _ACEOF
18252 if ac_fn_c_try_link "$LINENO"; then :
18253 ac_cv_lib_m_cabs=yes
18254 else
18255 ac_cv_lib_m_cabs=no
18256 fi
18257 rm -f core conftest.err conftest.$ac_objext \
18258 conftest$ac_exeext conftest.$ac_ext
18259 LIBS=$ac_check_lib_save_LIBS
18260 fi
18261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabs" >&5
18262 $as_echo "$ac_cv_lib_m_cabs" >&6; }
18263 if test "x$ac_cv_lib_m_cabs" = x""yes; then :
18264
18265 $as_echo "#define HAVE_CABS 1" >>confdefs.h
18266
18267 fi
18268
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
18270 $as_echo_n "checking for cabsl in -lm... " >&6; }
18271 if test "${ac_cv_lib_m_cabsl+set}" = set; then :
18272 $as_echo_n "(cached) " >&6
18273 else
18274 ac_check_lib_save_LIBS=$LIBS
18275 LIBS="-lm $LIBS"
18276 if test x$gcc_no_link = xyes; then
18277 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18278 fi
18279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18280 /* end confdefs.h. */
18281
18282 /* Override any GCC internal prototype to avoid an error.
18283 Use char because int might match the return type of a GCC
18284 builtin and then its argument prototype would still apply. */
18285 #ifdef __cplusplus
18286 extern "C"
18287 #endif
18288 char cabsl ();
18289 int
18290 main ()
18291 {
18292 return cabsl ();
18293 ;
18294 return 0;
18295 }
18296 _ACEOF
18297 if ac_fn_c_try_link "$LINENO"; then :
18298 ac_cv_lib_m_cabsl=yes
18299 else
18300 ac_cv_lib_m_cabsl=no
18301 fi
18302 rm -f core conftest.err conftest.$ac_objext \
18303 conftest$ac_exeext conftest.$ac_ext
18304 LIBS=$ac_check_lib_save_LIBS
18305 fi
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsl" >&5
18307 $as_echo "$ac_cv_lib_m_cabsl" >&6; }
18308 if test "x$ac_cv_lib_m_cabsl" = x""yes; then :
18309
18310 $as_echo "#define HAVE_CABSL 1" >>confdefs.h
18311
18312 fi
18313
18314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
18315 $as_echo_n "checking for floorf in -lm... " >&6; }
18316 if test "${ac_cv_lib_m_floorf+set}" = set; then :
18317 $as_echo_n "(cached) " >&6
18318 else
18319 ac_check_lib_save_LIBS=$LIBS
18320 LIBS="-lm $LIBS"
18321 if test x$gcc_no_link = xyes; then
18322 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18323 fi
18324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h. */
18326
18327 /* Override any GCC internal prototype to avoid an error.
18328 Use char because int might match the return type of a GCC
18329 builtin and then its argument prototype would still apply. */
18330 #ifdef __cplusplus
18331 extern "C"
18332 #endif
18333 char floorf ();
18334 int
18335 main ()
18336 {
18337 return floorf ();
18338 ;
18339 return 0;
18340 }
18341 _ACEOF
18342 if ac_fn_c_try_link "$LINENO"; then :
18343 ac_cv_lib_m_floorf=yes
18344 else
18345 ac_cv_lib_m_floorf=no
18346 fi
18347 rm -f core conftest.err conftest.$ac_objext \
18348 conftest$ac_exeext conftest.$ac_ext
18349 LIBS=$ac_check_lib_save_LIBS
18350 fi
18351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorf" >&5
18352 $as_echo "$ac_cv_lib_m_floorf" >&6; }
18353 if test "x$ac_cv_lib_m_floorf" = x""yes; then :
18354
18355 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
18356
18357 fi
18358
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
18360 $as_echo_n "checking for floor in -lm... " >&6; }
18361 if test "${ac_cv_lib_m_floor+set}" = set; then :
18362 $as_echo_n "(cached) " >&6
18363 else
18364 ac_check_lib_save_LIBS=$LIBS
18365 LIBS="-lm $LIBS"
18366 if test x$gcc_no_link = xyes; then
18367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18368 fi
18369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18370 /* end confdefs.h. */
18371
18372 /* Override any GCC internal prototype to avoid an error.
18373 Use char because int might match the return type of a GCC
18374 builtin and then its argument prototype would still apply. */
18375 #ifdef __cplusplus
18376 extern "C"
18377 #endif
18378 char floor ();
18379 int
18380 main ()
18381 {
18382 return floor ();
18383 ;
18384 return 0;
18385 }
18386 _ACEOF
18387 if ac_fn_c_try_link "$LINENO"; then :
18388 ac_cv_lib_m_floor=yes
18389 else
18390 ac_cv_lib_m_floor=no
18391 fi
18392 rm -f core conftest.err conftest.$ac_objext \
18393 conftest$ac_exeext conftest.$ac_ext
18394 LIBS=$ac_check_lib_save_LIBS
18395 fi
18396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
18397 $as_echo "$ac_cv_lib_m_floor" >&6; }
18398 if test "x$ac_cv_lib_m_floor" = x""yes; then :
18399
18400 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
18401
18402 fi
18403
18404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
18405 $as_echo_n "checking for floorl in -lm... " >&6; }
18406 if test "${ac_cv_lib_m_floorl+set}" = set; then :
18407 $as_echo_n "(cached) " >&6
18408 else
18409 ac_check_lib_save_LIBS=$LIBS
18410 LIBS="-lm $LIBS"
18411 if test x$gcc_no_link = xyes; then
18412 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18413 fi
18414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18415 /* end confdefs.h. */
18416
18417 /* Override any GCC internal prototype to avoid an error.
18418 Use char because int might match the return type of a GCC
18419 builtin and then its argument prototype would still apply. */
18420 #ifdef __cplusplus
18421 extern "C"
18422 #endif
18423 char floorl ();
18424 int
18425 main ()
18426 {
18427 return floorl ();
18428 ;
18429 return 0;
18430 }
18431 _ACEOF
18432 if ac_fn_c_try_link "$LINENO"; then :
18433 ac_cv_lib_m_floorl=yes
18434 else
18435 ac_cv_lib_m_floorl=no
18436 fi
18437 rm -f core conftest.err conftest.$ac_objext \
18438 conftest$ac_exeext conftest.$ac_ext
18439 LIBS=$ac_check_lib_save_LIBS
18440 fi
18441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorl" >&5
18442 $as_echo "$ac_cv_lib_m_floorl" >&6; }
18443 if test "x$ac_cv_lib_m_floorl" = x""yes; then :
18444
18445 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
18446
18447 fi
18448
18449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
18450 $as_echo_n "checking for fmodf in -lm... " >&6; }
18451 if test "${ac_cv_lib_m_fmodf+set}" = set; then :
18452 $as_echo_n "(cached) " >&6
18453 else
18454 ac_check_lib_save_LIBS=$LIBS
18455 LIBS="-lm $LIBS"
18456 if test x$gcc_no_link = xyes; then
18457 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18458 fi
18459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18460 /* end confdefs.h. */
18461
18462 /* Override any GCC internal prototype to avoid an error.
18463 Use char because int might match the return type of a GCC
18464 builtin and then its argument prototype would still apply. */
18465 #ifdef __cplusplus
18466 extern "C"
18467 #endif
18468 char fmodf ();
18469 int
18470 main ()
18471 {
18472 return fmodf ();
18473 ;
18474 return 0;
18475 }
18476 _ACEOF
18477 if ac_fn_c_try_link "$LINENO"; then :
18478 ac_cv_lib_m_fmodf=yes
18479 else
18480 ac_cv_lib_m_fmodf=no
18481 fi
18482 rm -f core conftest.err conftest.$ac_objext \
18483 conftest$ac_exeext conftest.$ac_ext
18484 LIBS=$ac_check_lib_save_LIBS
18485 fi
18486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodf" >&5
18487 $as_echo "$ac_cv_lib_m_fmodf" >&6; }
18488 if test "x$ac_cv_lib_m_fmodf" = x""yes; then :
18489
18490 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
18491
18492 fi
18493
18494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
18495 $as_echo_n "checking for fmod in -lm... " >&6; }
18496 if test "${ac_cv_lib_m_fmod+set}" = set; then :
18497 $as_echo_n "(cached) " >&6
18498 else
18499 ac_check_lib_save_LIBS=$LIBS
18500 LIBS="-lm $LIBS"
18501 if test x$gcc_no_link = xyes; then
18502 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18503 fi
18504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18505 /* end confdefs.h. */
18506
18507 /* Override any GCC internal prototype to avoid an error.
18508 Use char because int might match the return type of a GCC
18509 builtin and then its argument prototype would still apply. */
18510 #ifdef __cplusplus
18511 extern "C"
18512 #endif
18513 char fmod ();
18514 int
18515 main ()
18516 {
18517 return fmod ();
18518 ;
18519 return 0;
18520 }
18521 _ACEOF
18522 if ac_fn_c_try_link "$LINENO"; then :
18523 ac_cv_lib_m_fmod=yes
18524 else
18525 ac_cv_lib_m_fmod=no
18526 fi
18527 rm -f core conftest.err conftest.$ac_objext \
18528 conftest$ac_exeext conftest.$ac_ext
18529 LIBS=$ac_check_lib_save_LIBS
18530 fi
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5
18532 $as_echo "$ac_cv_lib_m_fmod" >&6; }
18533 if test "x$ac_cv_lib_m_fmod" = x""yes; then :
18534
18535 $as_echo "#define HAVE_FMOD 1" >>confdefs.h
18536
18537 fi
18538
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
18540 $as_echo_n "checking for fmodl in -lm... " >&6; }
18541 if test "${ac_cv_lib_m_fmodl+set}" = set; then :
18542 $as_echo_n "(cached) " >&6
18543 else
18544 ac_check_lib_save_LIBS=$LIBS
18545 LIBS="-lm $LIBS"
18546 if test x$gcc_no_link = xyes; then
18547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18548 fi
18549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18550 /* end confdefs.h. */
18551
18552 /* Override any GCC internal prototype to avoid an error.
18553 Use char because int might match the return type of a GCC
18554 builtin and then its argument prototype would still apply. */
18555 #ifdef __cplusplus
18556 extern "C"
18557 #endif
18558 char fmodl ();
18559 int
18560 main ()
18561 {
18562 return fmodl ();
18563 ;
18564 return 0;
18565 }
18566 _ACEOF
18567 if ac_fn_c_try_link "$LINENO"; then :
18568 ac_cv_lib_m_fmodl=yes
18569 else
18570 ac_cv_lib_m_fmodl=no
18571 fi
18572 rm -f core conftest.err conftest.$ac_objext \
18573 conftest$ac_exeext conftest.$ac_ext
18574 LIBS=$ac_check_lib_save_LIBS
18575 fi
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodl" >&5
18577 $as_echo "$ac_cv_lib_m_fmodl" >&6; }
18578 if test "x$ac_cv_lib_m_fmodl" = x""yes; then :
18579
18580 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
18581
18582 fi
18583
18584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
18585 $as_echo_n "checking for frexpf in -lm... " >&6; }
18586 if test "${ac_cv_lib_m_frexpf+set}" = set; then :
18587 $as_echo_n "(cached) " >&6
18588 else
18589 ac_check_lib_save_LIBS=$LIBS
18590 LIBS="-lm $LIBS"
18591 if test x$gcc_no_link = xyes; then
18592 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18593 fi
18594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18595 /* end confdefs.h. */
18596
18597 /* Override any GCC internal prototype to avoid an error.
18598 Use char because int might match the return type of a GCC
18599 builtin and then its argument prototype would still apply. */
18600 #ifdef __cplusplus
18601 extern "C"
18602 #endif
18603 char frexpf ();
18604 int
18605 main ()
18606 {
18607 return frexpf ();
18608 ;
18609 return 0;
18610 }
18611 _ACEOF
18612 if ac_fn_c_try_link "$LINENO"; then :
18613 ac_cv_lib_m_frexpf=yes
18614 else
18615 ac_cv_lib_m_frexpf=no
18616 fi
18617 rm -f core conftest.err conftest.$ac_objext \
18618 conftest$ac_exeext conftest.$ac_ext
18619 LIBS=$ac_check_lib_save_LIBS
18620 fi
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpf" >&5
18622 $as_echo "$ac_cv_lib_m_frexpf" >&6; }
18623 if test "x$ac_cv_lib_m_frexpf" = x""yes; then :
18624
18625 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
18626
18627 fi
18628
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
18630 $as_echo_n "checking for frexp in -lm... " >&6; }
18631 if test "${ac_cv_lib_m_frexp+set}" = set; then :
18632 $as_echo_n "(cached) " >&6
18633 else
18634 ac_check_lib_save_LIBS=$LIBS
18635 LIBS="-lm $LIBS"
18636 if test x$gcc_no_link = xyes; then
18637 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18638 fi
18639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18640 /* end confdefs.h. */
18641
18642 /* Override any GCC internal prototype to avoid an error.
18643 Use char because int might match the return type of a GCC
18644 builtin and then its argument prototype would still apply. */
18645 #ifdef __cplusplus
18646 extern "C"
18647 #endif
18648 char frexp ();
18649 int
18650 main ()
18651 {
18652 return frexp ();
18653 ;
18654 return 0;
18655 }
18656 _ACEOF
18657 if ac_fn_c_try_link "$LINENO"; then :
18658 ac_cv_lib_m_frexp=yes
18659 else
18660 ac_cv_lib_m_frexp=no
18661 fi
18662 rm -f core conftest.err conftest.$ac_objext \
18663 conftest$ac_exeext conftest.$ac_ext
18664 LIBS=$ac_check_lib_save_LIBS
18665 fi
18666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexp" >&5
18667 $as_echo "$ac_cv_lib_m_frexp" >&6; }
18668 if test "x$ac_cv_lib_m_frexp" = x""yes; then :
18669
18670 $as_echo "#define HAVE_FREXP 1" >>confdefs.h
18671
18672 fi
18673
18674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
18675 $as_echo_n "checking for frexpl in -lm... " >&6; }
18676 if test "${ac_cv_lib_m_frexpl+set}" = set; then :
18677 $as_echo_n "(cached) " >&6
18678 else
18679 ac_check_lib_save_LIBS=$LIBS
18680 LIBS="-lm $LIBS"
18681 if test x$gcc_no_link = xyes; then
18682 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18683 fi
18684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18685 /* end confdefs.h. */
18686
18687 /* Override any GCC internal prototype to avoid an error.
18688 Use char because int might match the return type of a GCC
18689 builtin and then its argument prototype would still apply. */
18690 #ifdef __cplusplus
18691 extern "C"
18692 #endif
18693 char frexpl ();
18694 int
18695 main ()
18696 {
18697 return frexpl ();
18698 ;
18699 return 0;
18700 }
18701 _ACEOF
18702 if ac_fn_c_try_link "$LINENO"; then :
18703 ac_cv_lib_m_frexpl=yes
18704 else
18705 ac_cv_lib_m_frexpl=no
18706 fi
18707 rm -f core conftest.err conftest.$ac_objext \
18708 conftest$ac_exeext conftest.$ac_ext
18709 LIBS=$ac_check_lib_save_LIBS
18710 fi
18711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpl" >&5
18712 $as_echo "$ac_cv_lib_m_frexpl" >&6; }
18713 if test "x$ac_cv_lib_m_frexpl" = x""yes; then :
18714
18715 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
18716
18717 fi
18718
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
18720 $as_echo_n "checking for hypotf in -lm... " >&6; }
18721 if test "${ac_cv_lib_m_hypotf+set}" = set; then :
18722 $as_echo_n "(cached) " >&6
18723 else
18724 ac_check_lib_save_LIBS=$LIBS
18725 LIBS="-lm $LIBS"
18726 if test x$gcc_no_link = xyes; then
18727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18728 fi
18729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18730 /* end confdefs.h. */
18731
18732 /* Override any GCC internal prototype to avoid an error.
18733 Use char because int might match the return type of a GCC
18734 builtin and then its argument prototype would still apply. */
18735 #ifdef __cplusplus
18736 extern "C"
18737 #endif
18738 char hypotf ();
18739 int
18740 main ()
18741 {
18742 return hypotf ();
18743 ;
18744 return 0;
18745 }
18746 _ACEOF
18747 if ac_fn_c_try_link "$LINENO"; then :
18748 ac_cv_lib_m_hypotf=yes
18749 else
18750 ac_cv_lib_m_hypotf=no
18751 fi
18752 rm -f core conftest.err conftest.$ac_objext \
18753 conftest$ac_exeext conftest.$ac_ext
18754 LIBS=$ac_check_lib_save_LIBS
18755 fi
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotf" >&5
18757 $as_echo "$ac_cv_lib_m_hypotf" >&6; }
18758 if test "x$ac_cv_lib_m_hypotf" = x""yes; then :
18759
18760 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
18761
18762 fi
18763
18764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
18765 $as_echo_n "checking for hypot in -lm... " >&6; }
18766 if test "${ac_cv_lib_m_hypot+set}" = set; then :
18767 $as_echo_n "(cached) " >&6
18768 else
18769 ac_check_lib_save_LIBS=$LIBS
18770 LIBS="-lm $LIBS"
18771 if test x$gcc_no_link = xyes; then
18772 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18773 fi
18774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18775 /* end confdefs.h. */
18776
18777 /* Override any GCC internal prototype to avoid an error.
18778 Use char because int might match the return type of a GCC
18779 builtin and then its argument prototype would still apply. */
18780 #ifdef __cplusplus
18781 extern "C"
18782 #endif
18783 char hypot ();
18784 int
18785 main ()
18786 {
18787 return hypot ();
18788 ;
18789 return 0;
18790 }
18791 _ACEOF
18792 if ac_fn_c_try_link "$LINENO"; then :
18793 ac_cv_lib_m_hypot=yes
18794 else
18795 ac_cv_lib_m_hypot=no
18796 fi
18797 rm -f core conftest.err conftest.$ac_objext \
18798 conftest$ac_exeext conftest.$ac_ext
18799 LIBS=$ac_check_lib_save_LIBS
18800 fi
18801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
18802 $as_echo "$ac_cv_lib_m_hypot" >&6; }
18803 if test "x$ac_cv_lib_m_hypot" = x""yes; then :
18804
18805 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
18806
18807 fi
18808
18809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
18810 $as_echo_n "checking for hypotl in -lm... " >&6; }
18811 if test "${ac_cv_lib_m_hypotl+set}" = set; then :
18812 $as_echo_n "(cached) " >&6
18813 else
18814 ac_check_lib_save_LIBS=$LIBS
18815 LIBS="-lm $LIBS"
18816 if test x$gcc_no_link = xyes; then
18817 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18818 fi
18819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18820 /* end confdefs.h. */
18821
18822 /* Override any GCC internal prototype to avoid an error.
18823 Use char because int might match the return type of a GCC
18824 builtin and then its argument prototype would still apply. */
18825 #ifdef __cplusplus
18826 extern "C"
18827 #endif
18828 char hypotl ();
18829 int
18830 main ()
18831 {
18832 return hypotl ();
18833 ;
18834 return 0;
18835 }
18836 _ACEOF
18837 if ac_fn_c_try_link "$LINENO"; then :
18838 ac_cv_lib_m_hypotl=yes
18839 else
18840 ac_cv_lib_m_hypotl=no
18841 fi
18842 rm -f core conftest.err conftest.$ac_objext \
18843 conftest$ac_exeext conftest.$ac_ext
18844 LIBS=$ac_check_lib_save_LIBS
18845 fi
18846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotl" >&5
18847 $as_echo "$ac_cv_lib_m_hypotl" >&6; }
18848 if test "x$ac_cv_lib_m_hypotl" = x""yes; then :
18849
18850 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
18851
18852 fi
18853
18854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
18855 $as_echo_n "checking for ldexpf in -lm... " >&6; }
18856 if test "${ac_cv_lib_m_ldexpf+set}" = set; then :
18857 $as_echo_n "(cached) " >&6
18858 else
18859 ac_check_lib_save_LIBS=$LIBS
18860 LIBS="-lm $LIBS"
18861 if test x$gcc_no_link = xyes; then
18862 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18863 fi
18864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18865 /* end confdefs.h. */
18866
18867 /* Override any GCC internal prototype to avoid an error.
18868 Use char because int might match the return type of a GCC
18869 builtin and then its argument prototype would still apply. */
18870 #ifdef __cplusplus
18871 extern "C"
18872 #endif
18873 char ldexpf ();
18874 int
18875 main ()
18876 {
18877 return ldexpf ();
18878 ;
18879 return 0;
18880 }
18881 _ACEOF
18882 if ac_fn_c_try_link "$LINENO"; then :
18883 ac_cv_lib_m_ldexpf=yes
18884 else
18885 ac_cv_lib_m_ldexpf=no
18886 fi
18887 rm -f core conftest.err conftest.$ac_objext \
18888 conftest$ac_exeext conftest.$ac_ext
18889 LIBS=$ac_check_lib_save_LIBS
18890 fi
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpf" >&5
18892 $as_echo "$ac_cv_lib_m_ldexpf" >&6; }
18893 if test "x$ac_cv_lib_m_ldexpf" = x""yes; then :
18894
18895 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
18896
18897 fi
18898
18899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
18900 $as_echo_n "checking for ldexp in -lm... " >&6; }
18901 if test "${ac_cv_lib_m_ldexp+set}" = set; then :
18902 $as_echo_n "(cached) " >&6
18903 else
18904 ac_check_lib_save_LIBS=$LIBS
18905 LIBS="-lm $LIBS"
18906 if test x$gcc_no_link = xyes; then
18907 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18908 fi
18909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18910 /* end confdefs.h. */
18911
18912 /* Override any GCC internal prototype to avoid an error.
18913 Use char because int might match the return type of a GCC
18914 builtin and then its argument prototype would still apply. */
18915 #ifdef __cplusplus
18916 extern "C"
18917 #endif
18918 char ldexp ();
18919 int
18920 main ()
18921 {
18922 return ldexp ();
18923 ;
18924 return 0;
18925 }
18926 _ACEOF
18927 if ac_fn_c_try_link "$LINENO"; then :
18928 ac_cv_lib_m_ldexp=yes
18929 else
18930 ac_cv_lib_m_ldexp=no
18931 fi
18932 rm -f core conftest.err conftest.$ac_objext \
18933 conftest$ac_exeext conftest.$ac_ext
18934 LIBS=$ac_check_lib_save_LIBS
18935 fi
18936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexp" >&5
18937 $as_echo "$ac_cv_lib_m_ldexp" >&6; }
18938 if test "x$ac_cv_lib_m_ldexp" = x""yes; then :
18939
18940 $as_echo "#define HAVE_LDEXP 1" >>confdefs.h
18941
18942 fi
18943
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
18945 $as_echo_n "checking for ldexpl in -lm... " >&6; }
18946 if test "${ac_cv_lib_m_ldexpl+set}" = set; then :
18947 $as_echo_n "(cached) " >&6
18948 else
18949 ac_check_lib_save_LIBS=$LIBS
18950 LIBS="-lm $LIBS"
18951 if test x$gcc_no_link = xyes; then
18952 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18953 fi
18954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18955 /* end confdefs.h. */
18956
18957 /* Override any GCC internal prototype to avoid an error.
18958 Use char because int might match the return type of a GCC
18959 builtin and then its argument prototype would still apply. */
18960 #ifdef __cplusplus
18961 extern "C"
18962 #endif
18963 char ldexpl ();
18964 int
18965 main ()
18966 {
18967 return ldexpl ();
18968 ;
18969 return 0;
18970 }
18971 _ACEOF
18972 if ac_fn_c_try_link "$LINENO"; then :
18973 ac_cv_lib_m_ldexpl=yes
18974 else
18975 ac_cv_lib_m_ldexpl=no
18976 fi
18977 rm -f core conftest.err conftest.$ac_objext \
18978 conftest$ac_exeext conftest.$ac_ext
18979 LIBS=$ac_check_lib_save_LIBS
18980 fi
18981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpl" >&5
18982 $as_echo "$ac_cv_lib_m_ldexpl" >&6; }
18983 if test "x$ac_cv_lib_m_ldexpl" = x""yes; then :
18984
18985 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
18986
18987 fi
18988
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
18990 $as_echo_n "checking for logf in -lm... " >&6; }
18991 if test "${ac_cv_lib_m_logf+set}" = set; then :
18992 $as_echo_n "(cached) " >&6
18993 else
18994 ac_check_lib_save_LIBS=$LIBS
18995 LIBS="-lm $LIBS"
18996 if test x$gcc_no_link = xyes; then
18997 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18998 fi
18999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19000 /* end confdefs.h. */
19001
19002 /* Override any GCC internal prototype to avoid an error.
19003 Use char because int might match the return type of a GCC
19004 builtin and then its argument prototype would still apply. */
19005 #ifdef __cplusplus
19006 extern "C"
19007 #endif
19008 char logf ();
19009 int
19010 main ()
19011 {
19012 return logf ();
19013 ;
19014 return 0;
19015 }
19016 _ACEOF
19017 if ac_fn_c_try_link "$LINENO"; then :
19018 ac_cv_lib_m_logf=yes
19019 else
19020 ac_cv_lib_m_logf=no
19021 fi
19022 rm -f core conftest.err conftest.$ac_objext \
19023 conftest$ac_exeext conftest.$ac_ext
19024 LIBS=$ac_check_lib_save_LIBS
19025 fi
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logf" >&5
19027 $as_echo "$ac_cv_lib_m_logf" >&6; }
19028 if test "x$ac_cv_lib_m_logf" = x""yes; then :
19029
19030 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
19031
19032 fi
19033
19034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
19035 $as_echo_n "checking for log in -lm... " >&6; }
19036 if test "${ac_cv_lib_m_log+set}" = set; then :
19037 $as_echo_n "(cached) " >&6
19038 else
19039 ac_check_lib_save_LIBS=$LIBS
19040 LIBS="-lm $LIBS"
19041 if test x$gcc_no_link = xyes; then
19042 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19043 fi
19044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19045 /* end confdefs.h. */
19046
19047 /* Override any GCC internal prototype to avoid an error.
19048 Use char because int might match the return type of a GCC
19049 builtin and then its argument prototype would still apply. */
19050 #ifdef __cplusplus
19051 extern "C"
19052 #endif
19053 char log ();
19054 int
19055 main ()
19056 {
19057 return log ();
19058 ;
19059 return 0;
19060 }
19061 _ACEOF
19062 if ac_fn_c_try_link "$LINENO"; then :
19063 ac_cv_lib_m_log=yes
19064 else
19065 ac_cv_lib_m_log=no
19066 fi
19067 rm -f core conftest.err conftest.$ac_objext \
19068 conftest$ac_exeext conftest.$ac_ext
19069 LIBS=$ac_check_lib_save_LIBS
19070 fi
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
19072 $as_echo "$ac_cv_lib_m_log" >&6; }
19073 if test "x$ac_cv_lib_m_log" = x""yes; then :
19074
19075 $as_echo "#define HAVE_LOG 1" >>confdefs.h
19076
19077 fi
19078
19079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19080 $as_echo_n "checking for logl in -lm... " >&6; }
19081 if test "${ac_cv_lib_m_logl+set}" = set; then :
19082 $as_echo_n "(cached) " >&6
19083 else
19084 ac_check_lib_save_LIBS=$LIBS
19085 LIBS="-lm $LIBS"
19086 if test x$gcc_no_link = xyes; then
19087 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19088 fi
19089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19090 /* end confdefs.h. */
19091
19092 /* Override any GCC internal prototype to avoid an error.
19093 Use char because int might match the return type of a GCC
19094 builtin and then its argument prototype would still apply. */
19095 #ifdef __cplusplus
19096 extern "C"
19097 #endif
19098 char logl ();
19099 int
19100 main ()
19101 {
19102 return logl ();
19103 ;
19104 return 0;
19105 }
19106 _ACEOF
19107 if ac_fn_c_try_link "$LINENO"; then :
19108 ac_cv_lib_m_logl=yes
19109 else
19110 ac_cv_lib_m_logl=no
19111 fi
19112 rm -f core conftest.err conftest.$ac_objext \
19113 conftest$ac_exeext conftest.$ac_ext
19114 LIBS=$ac_check_lib_save_LIBS
19115 fi
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logl" >&5
19117 $as_echo "$ac_cv_lib_m_logl" >&6; }
19118 if test "x$ac_cv_lib_m_logl" = x""yes; then :
19119
19120 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
19121
19122 fi
19123
19124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19125 $as_echo_n "checking for clogf in -lm... " >&6; }
19126 if test "${ac_cv_lib_m_clogf+set}" = set; then :
19127 $as_echo_n "(cached) " >&6
19128 else
19129 ac_check_lib_save_LIBS=$LIBS
19130 LIBS="-lm $LIBS"
19131 if test x$gcc_no_link = xyes; then
19132 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19133 fi
19134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19135 /* end confdefs.h. */
19136
19137 /* Override any GCC internal prototype to avoid an error.
19138 Use char because int might match the return type of a GCC
19139 builtin and then its argument prototype would still apply. */
19140 #ifdef __cplusplus
19141 extern "C"
19142 #endif
19143 char clogf ();
19144 int
19145 main ()
19146 {
19147 return clogf ();
19148 ;
19149 return 0;
19150 }
19151 _ACEOF
19152 if ac_fn_c_try_link "$LINENO"; then :
19153 ac_cv_lib_m_clogf=yes
19154 else
19155 ac_cv_lib_m_clogf=no
19156 fi
19157 rm -f core conftest.err conftest.$ac_objext \
19158 conftest$ac_exeext conftest.$ac_ext
19159 LIBS=$ac_check_lib_save_LIBS
19160 fi
19161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogf" >&5
19162 $as_echo "$ac_cv_lib_m_clogf" >&6; }
19163 if test "x$ac_cv_lib_m_clogf" = x""yes; then :
19164
19165 $as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19166
19167 fi
19168
19169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19170 $as_echo_n "checking for clog in -lm... " >&6; }
19171 if test "${ac_cv_lib_m_clog+set}" = set; then :
19172 $as_echo_n "(cached) " >&6
19173 else
19174 ac_check_lib_save_LIBS=$LIBS
19175 LIBS="-lm $LIBS"
19176 if test x$gcc_no_link = xyes; then
19177 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19178 fi
19179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19180 /* end confdefs.h. */
19181
19182 /* Override any GCC internal prototype to avoid an error.
19183 Use char because int might match the return type of a GCC
19184 builtin and then its argument prototype would still apply. */
19185 #ifdef __cplusplus
19186 extern "C"
19187 #endif
19188 char clog ();
19189 int
19190 main ()
19191 {
19192 return clog ();
19193 ;
19194 return 0;
19195 }
19196 _ACEOF
19197 if ac_fn_c_try_link "$LINENO"; then :
19198 ac_cv_lib_m_clog=yes
19199 else
19200 ac_cv_lib_m_clog=no
19201 fi
19202 rm -f core conftest.err conftest.$ac_objext \
19203 conftest$ac_exeext conftest.$ac_ext
19204 LIBS=$ac_check_lib_save_LIBS
19205 fi
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog" >&5
19207 $as_echo "$ac_cv_lib_m_clog" >&6; }
19208 if test "x$ac_cv_lib_m_clog" = x""yes; then :
19209
19210 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
19211
19212 fi
19213
19214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19215 $as_echo_n "checking for clogl in -lm... " >&6; }
19216 if test "${ac_cv_lib_m_clogl+set}" = set; then :
19217 $as_echo_n "(cached) " >&6
19218 else
19219 ac_check_lib_save_LIBS=$LIBS
19220 LIBS="-lm $LIBS"
19221 if test x$gcc_no_link = xyes; then
19222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19223 fi
19224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19225 /* end confdefs.h. */
19226
19227 /* Override any GCC internal prototype to avoid an error.
19228 Use char because int might match the return type of a GCC
19229 builtin and then its argument prototype would still apply. */
19230 #ifdef __cplusplus
19231 extern "C"
19232 #endif
19233 char clogl ();
19234 int
19235 main ()
19236 {
19237 return clogl ();
19238 ;
19239 return 0;
19240 }
19241 _ACEOF
19242 if ac_fn_c_try_link "$LINENO"; then :
19243 ac_cv_lib_m_clogl=yes
19244 else
19245 ac_cv_lib_m_clogl=no
19246 fi
19247 rm -f core conftest.err conftest.$ac_objext \
19248 conftest$ac_exeext conftest.$ac_ext
19249 LIBS=$ac_check_lib_save_LIBS
19250 fi
19251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogl" >&5
19252 $as_echo "$ac_cv_lib_m_clogl" >&6; }
19253 if test "x$ac_cv_lib_m_clogl" = x""yes; then :
19254
19255 $as_echo "#define HAVE_CLOGL 1" >>confdefs.h
19256
19257 fi
19258
19259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
19260 $as_echo_n "checking for log10f in -lm... " >&6; }
19261 if test "${ac_cv_lib_m_log10f+set}" = set; then :
19262 $as_echo_n "(cached) " >&6
19263 else
19264 ac_check_lib_save_LIBS=$LIBS
19265 LIBS="-lm $LIBS"
19266 if test x$gcc_no_link = xyes; then
19267 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19268 fi
19269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19270 /* end confdefs.h. */
19271
19272 /* Override any GCC internal prototype to avoid an error.
19273 Use char because int might match the return type of a GCC
19274 builtin and then its argument prototype would still apply. */
19275 #ifdef __cplusplus
19276 extern "C"
19277 #endif
19278 char log10f ();
19279 int
19280 main ()
19281 {
19282 return log10f ();
19283 ;
19284 return 0;
19285 }
19286 _ACEOF
19287 if ac_fn_c_try_link "$LINENO"; then :
19288 ac_cv_lib_m_log10f=yes
19289 else
19290 ac_cv_lib_m_log10f=no
19291 fi
19292 rm -f core conftest.err conftest.$ac_objext \
19293 conftest$ac_exeext conftest.$ac_ext
19294 LIBS=$ac_check_lib_save_LIBS
19295 fi
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10f" >&5
19297 $as_echo "$ac_cv_lib_m_log10f" >&6; }
19298 if test "x$ac_cv_lib_m_log10f" = x""yes; then :
19299
19300 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
19301
19302 fi
19303
19304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
19305 $as_echo_n "checking for log10 in -lm... " >&6; }
19306 if test "${ac_cv_lib_m_log10+set}" = set; then :
19307 $as_echo_n "(cached) " >&6
19308 else
19309 ac_check_lib_save_LIBS=$LIBS
19310 LIBS="-lm $LIBS"
19311 if test x$gcc_no_link = xyes; then
19312 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19313 fi
19314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19315 /* end confdefs.h. */
19316
19317 /* Override any GCC internal prototype to avoid an error.
19318 Use char because int might match the return type of a GCC
19319 builtin and then its argument prototype would still apply. */
19320 #ifdef __cplusplus
19321 extern "C"
19322 #endif
19323 char log10 ();
19324 int
19325 main ()
19326 {
19327 return log10 ();
19328 ;
19329 return 0;
19330 }
19331 _ACEOF
19332 if ac_fn_c_try_link "$LINENO"; then :
19333 ac_cv_lib_m_log10=yes
19334 else
19335 ac_cv_lib_m_log10=no
19336 fi
19337 rm -f core conftest.err conftest.$ac_objext \
19338 conftest$ac_exeext conftest.$ac_ext
19339 LIBS=$ac_check_lib_save_LIBS
19340 fi
19341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
19342 $as_echo "$ac_cv_lib_m_log10" >&6; }
19343 if test "x$ac_cv_lib_m_log10" = x""yes; then :
19344
19345 $as_echo "#define HAVE_LOG10 1" >>confdefs.h
19346
19347 fi
19348
19349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
19350 $as_echo_n "checking for log10l in -lm... " >&6; }
19351 if test "${ac_cv_lib_m_log10l+set}" = set; then :
19352 $as_echo_n "(cached) " >&6
19353 else
19354 ac_check_lib_save_LIBS=$LIBS
19355 LIBS="-lm $LIBS"
19356 if test x$gcc_no_link = xyes; then
19357 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19358 fi
19359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19360 /* end confdefs.h. */
19361
19362 /* Override any GCC internal prototype to avoid an error.
19363 Use char because int might match the return type of a GCC
19364 builtin and then its argument prototype would still apply. */
19365 #ifdef __cplusplus
19366 extern "C"
19367 #endif
19368 char log10l ();
19369 int
19370 main ()
19371 {
19372 return log10l ();
19373 ;
19374 return 0;
19375 }
19376 _ACEOF
19377 if ac_fn_c_try_link "$LINENO"; then :
19378 ac_cv_lib_m_log10l=yes
19379 else
19380 ac_cv_lib_m_log10l=no
19381 fi
19382 rm -f core conftest.err conftest.$ac_objext \
19383 conftest$ac_exeext conftest.$ac_ext
19384 LIBS=$ac_check_lib_save_LIBS
19385 fi
19386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10l" >&5
19387 $as_echo "$ac_cv_lib_m_log10l" >&6; }
19388 if test "x$ac_cv_lib_m_log10l" = x""yes; then :
19389
19390 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
19391
19392 fi
19393
19394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
19395 $as_echo_n "checking for clog10f in -lm... " >&6; }
19396 if test "${ac_cv_lib_m_clog10f+set}" = set; then :
19397 $as_echo_n "(cached) " >&6
19398 else
19399 ac_check_lib_save_LIBS=$LIBS
19400 LIBS="-lm $LIBS"
19401 if test x$gcc_no_link = xyes; then
19402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19403 fi
19404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19405 /* end confdefs.h. */
19406
19407 /* Override any GCC internal prototype to avoid an error.
19408 Use char because int might match the return type of a GCC
19409 builtin and then its argument prototype would still apply. */
19410 #ifdef __cplusplus
19411 extern "C"
19412 #endif
19413 char clog10f ();
19414 int
19415 main ()
19416 {
19417 return clog10f ();
19418 ;
19419 return 0;
19420 }
19421 _ACEOF
19422 if ac_fn_c_try_link "$LINENO"; then :
19423 ac_cv_lib_m_clog10f=yes
19424 else
19425 ac_cv_lib_m_clog10f=no
19426 fi
19427 rm -f core conftest.err conftest.$ac_objext \
19428 conftest$ac_exeext conftest.$ac_ext
19429 LIBS=$ac_check_lib_save_LIBS
19430 fi
19431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10f" >&5
19432 $as_echo "$ac_cv_lib_m_clog10f" >&6; }
19433 if test "x$ac_cv_lib_m_clog10f" = x""yes; then :
19434
19435 $as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
19436
19437 fi
19438
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
19440 $as_echo_n "checking for clog10 in -lm... " >&6; }
19441 if test "${ac_cv_lib_m_clog10+set}" = set; then :
19442 $as_echo_n "(cached) " >&6
19443 else
19444 ac_check_lib_save_LIBS=$LIBS
19445 LIBS="-lm $LIBS"
19446 if test x$gcc_no_link = xyes; then
19447 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19448 fi
19449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19450 /* end confdefs.h. */
19451
19452 /* Override any GCC internal prototype to avoid an error.
19453 Use char because int might match the return type of a GCC
19454 builtin and then its argument prototype would still apply. */
19455 #ifdef __cplusplus
19456 extern "C"
19457 #endif
19458 char clog10 ();
19459 int
19460 main ()
19461 {
19462 return clog10 ();
19463 ;
19464 return 0;
19465 }
19466 _ACEOF
19467 if ac_fn_c_try_link "$LINENO"; then :
19468 ac_cv_lib_m_clog10=yes
19469 else
19470 ac_cv_lib_m_clog10=no
19471 fi
19472 rm -f core conftest.err conftest.$ac_objext \
19473 conftest$ac_exeext conftest.$ac_ext
19474 LIBS=$ac_check_lib_save_LIBS
19475 fi
19476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10" >&5
19477 $as_echo "$ac_cv_lib_m_clog10" >&6; }
19478 if test "x$ac_cv_lib_m_clog10" = x""yes; then :
19479
19480 $as_echo "#define HAVE_CLOG10 1" >>confdefs.h
19481
19482 fi
19483
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
19485 $as_echo_n "checking for clog10l in -lm... " >&6; }
19486 if test "${ac_cv_lib_m_clog10l+set}" = set; then :
19487 $as_echo_n "(cached) " >&6
19488 else
19489 ac_check_lib_save_LIBS=$LIBS
19490 LIBS="-lm $LIBS"
19491 if test x$gcc_no_link = xyes; then
19492 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19493 fi
19494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19495 /* end confdefs.h. */
19496
19497 /* Override any GCC internal prototype to avoid an error.
19498 Use char because int might match the return type of a GCC
19499 builtin and then its argument prototype would still apply. */
19500 #ifdef __cplusplus
19501 extern "C"
19502 #endif
19503 char clog10l ();
19504 int
19505 main ()
19506 {
19507 return clog10l ();
19508 ;
19509 return 0;
19510 }
19511 _ACEOF
19512 if ac_fn_c_try_link "$LINENO"; then :
19513 ac_cv_lib_m_clog10l=yes
19514 else
19515 ac_cv_lib_m_clog10l=no
19516 fi
19517 rm -f core conftest.err conftest.$ac_objext \
19518 conftest$ac_exeext conftest.$ac_ext
19519 LIBS=$ac_check_lib_save_LIBS
19520 fi
19521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10l" >&5
19522 $as_echo "$ac_cv_lib_m_clog10l" >&6; }
19523 if test "x$ac_cv_lib_m_clog10l" = x""yes; then :
19524
19525 $as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
19526
19527 fi
19528
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
19530 $as_echo_n "checking for nextafterf in -lm... " >&6; }
19531 if test "${ac_cv_lib_m_nextafterf+set}" = set; then :
19532 $as_echo_n "(cached) " >&6
19533 else
19534 ac_check_lib_save_LIBS=$LIBS
19535 LIBS="-lm $LIBS"
19536 if test x$gcc_no_link = xyes; then
19537 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19538 fi
19539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19540 /* end confdefs.h. */
19541
19542 /* Override any GCC internal prototype to avoid an error.
19543 Use char because int might match the return type of a GCC
19544 builtin and then its argument prototype would still apply. */
19545 #ifdef __cplusplus
19546 extern "C"
19547 #endif
19548 char nextafterf ();
19549 int
19550 main ()
19551 {
19552 return nextafterf ();
19553 ;
19554 return 0;
19555 }
19556 _ACEOF
19557 if ac_fn_c_try_link "$LINENO"; then :
19558 ac_cv_lib_m_nextafterf=yes
19559 else
19560 ac_cv_lib_m_nextafterf=no
19561 fi
19562 rm -f core conftest.err conftest.$ac_objext \
19563 conftest$ac_exeext conftest.$ac_ext
19564 LIBS=$ac_check_lib_save_LIBS
19565 fi
19566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterf" >&5
19567 $as_echo "$ac_cv_lib_m_nextafterf" >&6; }
19568 if test "x$ac_cv_lib_m_nextafterf" = x""yes; then :
19569
19570 $as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
19571
19572 fi
19573
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
19575 $as_echo_n "checking for nextafter in -lm... " >&6; }
19576 if test "${ac_cv_lib_m_nextafter+set}" = set; then :
19577 $as_echo_n "(cached) " >&6
19578 else
19579 ac_check_lib_save_LIBS=$LIBS
19580 LIBS="-lm $LIBS"
19581 if test x$gcc_no_link = xyes; then
19582 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19583 fi
19584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19585 /* end confdefs.h. */
19586
19587 /* Override any GCC internal prototype to avoid an error.
19588 Use char because int might match the return type of a GCC
19589 builtin and then its argument prototype would still apply. */
19590 #ifdef __cplusplus
19591 extern "C"
19592 #endif
19593 char nextafter ();
19594 int
19595 main ()
19596 {
19597 return nextafter ();
19598 ;
19599 return 0;
19600 }
19601 _ACEOF
19602 if ac_fn_c_try_link "$LINENO"; then :
19603 ac_cv_lib_m_nextafter=yes
19604 else
19605 ac_cv_lib_m_nextafter=no
19606 fi
19607 rm -f core conftest.err conftest.$ac_objext \
19608 conftest$ac_exeext conftest.$ac_ext
19609 LIBS=$ac_check_lib_save_LIBS
19610 fi
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafter" >&5
19612 $as_echo "$ac_cv_lib_m_nextafter" >&6; }
19613 if test "x$ac_cv_lib_m_nextafter" = x""yes; then :
19614
19615 $as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
19616
19617 fi
19618
19619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
19620 $as_echo_n "checking for nextafterl in -lm... " >&6; }
19621 if test "${ac_cv_lib_m_nextafterl+set}" = set; then :
19622 $as_echo_n "(cached) " >&6
19623 else
19624 ac_check_lib_save_LIBS=$LIBS
19625 LIBS="-lm $LIBS"
19626 if test x$gcc_no_link = xyes; then
19627 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19628 fi
19629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19630 /* end confdefs.h. */
19631
19632 /* Override any GCC internal prototype to avoid an error.
19633 Use char because int might match the return type of a GCC
19634 builtin and then its argument prototype would still apply. */
19635 #ifdef __cplusplus
19636 extern "C"
19637 #endif
19638 char nextafterl ();
19639 int
19640 main ()
19641 {
19642 return nextafterl ();
19643 ;
19644 return 0;
19645 }
19646 _ACEOF
19647 if ac_fn_c_try_link "$LINENO"; then :
19648 ac_cv_lib_m_nextafterl=yes
19649 else
19650 ac_cv_lib_m_nextafterl=no
19651 fi
19652 rm -f core conftest.err conftest.$ac_objext \
19653 conftest$ac_exeext conftest.$ac_ext
19654 LIBS=$ac_check_lib_save_LIBS
19655 fi
19656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterl" >&5
19657 $as_echo "$ac_cv_lib_m_nextafterl" >&6; }
19658 if test "x$ac_cv_lib_m_nextafterl" = x""yes; then :
19659
19660 $as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
19661
19662 fi
19663
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
19665 $as_echo_n "checking for powf in -lm... " >&6; }
19666 if test "${ac_cv_lib_m_powf+set}" = set; then :
19667 $as_echo_n "(cached) " >&6
19668 else
19669 ac_check_lib_save_LIBS=$LIBS
19670 LIBS="-lm $LIBS"
19671 if test x$gcc_no_link = xyes; then
19672 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19673 fi
19674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19675 /* end confdefs.h. */
19676
19677 /* Override any GCC internal prototype to avoid an error.
19678 Use char because int might match the return type of a GCC
19679 builtin and then its argument prototype would still apply. */
19680 #ifdef __cplusplus
19681 extern "C"
19682 #endif
19683 char powf ();
19684 int
19685 main ()
19686 {
19687 return powf ();
19688 ;
19689 return 0;
19690 }
19691 _ACEOF
19692 if ac_fn_c_try_link "$LINENO"; then :
19693 ac_cv_lib_m_powf=yes
19694 else
19695 ac_cv_lib_m_powf=no
19696 fi
19697 rm -f core conftest.err conftest.$ac_objext \
19698 conftest$ac_exeext conftest.$ac_ext
19699 LIBS=$ac_check_lib_save_LIBS
19700 fi
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powf" >&5
19702 $as_echo "$ac_cv_lib_m_powf" >&6; }
19703 if test "x$ac_cv_lib_m_powf" = x""yes; then :
19704
19705 $as_echo "#define HAVE_POWF 1" >>confdefs.h
19706
19707 fi
19708
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19710 $as_echo_n "checking for pow in -lm... " >&6; }
19711 if test "${ac_cv_lib_m_pow+set}" = set; then :
19712 $as_echo_n "(cached) " >&6
19713 else
19714 ac_check_lib_save_LIBS=$LIBS
19715 LIBS="-lm $LIBS"
19716 if test x$gcc_no_link = xyes; then
19717 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19718 fi
19719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19720 /* end confdefs.h. */
19721
19722 /* Override any GCC internal prototype to avoid an error.
19723 Use char because int might match the return type of a GCC
19724 builtin and then its argument prototype would still apply. */
19725 #ifdef __cplusplus
19726 extern "C"
19727 #endif
19728 char pow ();
19729 int
19730 main ()
19731 {
19732 return pow ();
19733 ;
19734 return 0;
19735 }
19736 _ACEOF
19737 if ac_fn_c_try_link "$LINENO"; then :
19738 ac_cv_lib_m_pow=yes
19739 else
19740 ac_cv_lib_m_pow=no
19741 fi
19742 rm -f core conftest.err conftest.$ac_objext \
19743 conftest$ac_exeext conftest.$ac_ext
19744 LIBS=$ac_check_lib_save_LIBS
19745 fi
19746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19747 $as_echo "$ac_cv_lib_m_pow" >&6; }
19748 if test "x$ac_cv_lib_m_pow" = x""yes; then :
19749
19750 $as_echo "#define HAVE_POW 1" >>confdefs.h
19751
19752 fi
19753
19754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
19755 $as_echo_n "checking for powl in -lm... " >&6; }
19756 if test "${ac_cv_lib_m_powl+set}" = set; then :
19757 $as_echo_n "(cached) " >&6
19758 else
19759 ac_check_lib_save_LIBS=$LIBS
19760 LIBS="-lm $LIBS"
19761 if test x$gcc_no_link = xyes; then
19762 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19763 fi
19764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19765 /* end confdefs.h. */
19766
19767 /* Override any GCC internal prototype to avoid an error.
19768 Use char because int might match the return type of a GCC
19769 builtin and then its argument prototype would still apply. */
19770 #ifdef __cplusplus
19771 extern "C"
19772 #endif
19773 char powl ();
19774 int
19775 main ()
19776 {
19777 return powl ();
19778 ;
19779 return 0;
19780 }
19781 _ACEOF
19782 if ac_fn_c_try_link "$LINENO"; then :
19783 ac_cv_lib_m_powl=yes
19784 else
19785 ac_cv_lib_m_powl=no
19786 fi
19787 rm -f core conftest.err conftest.$ac_objext \
19788 conftest$ac_exeext conftest.$ac_ext
19789 LIBS=$ac_check_lib_save_LIBS
19790 fi
19791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powl" >&5
19792 $as_echo "$ac_cv_lib_m_powl" >&6; }
19793 if test "x$ac_cv_lib_m_powl" = x""yes; then :
19794
19795 $as_echo "#define HAVE_POWL 1" >>confdefs.h
19796
19797 fi
19798
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
19800 $as_echo_n "checking for cpowf in -lm... " >&6; }
19801 if test "${ac_cv_lib_m_cpowf+set}" = set; then :
19802 $as_echo_n "(cached) " >&6
19803 else
19804 ac_check_lib_save_LIBS=$LIBS
19805 LIBS="-lm $LIBS"
19806 if test x$gcc_no_link = xyes; then
19807 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19808 fi
19809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19810 /* end confdefs.h. */
19811
19812 /* Override any GCC internal prototype to avoid an error.
19813 Use char because int might match the return type of a GCC
19814 builtin and then its argument prototype would still apply. */
19815 #ifdef __cplusplus
19816 extern "C"
19817 #endif
19818 char cpowf ();
19819 int
19820 main ()
19821 {
19822 return cpowf ();
19823 ;
19824 return 0;
19825 }
19826 _ACEOF
19827 if ac_fn_c_try_link "$LINENO"; then :
19828 ac_cv_lib_m_cpowf=yes
19829 else
19830 ac_cv_lib_m_cpowf=no
19831 fi
19832 rm -f core conftest.err conftest.$ac_objext \
19833 conftest$ac_exeext conftest.$ac_ext
19834 LIBS=$ac_check_lib_save_LIBS
19835 fi
19836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowf" >&5
19837 $as_echo "$ac_cv_lib_m_cpowf" >&6; }
19838 if test "x$ac_cv_lib_m_cpowf" = x""yes; then :
19839
19840 $as_echo "#define HAVE_CPOWF 1" >>confdefs.h
19841
19842 fi
19843
19844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
19845 $as_echo_n "checking for cpow in -lm... " >&6; }
19846 if test "${ac_cv_lib_m_cpow+set}" = set; then :
19847 $as_echo_n "(cached) " >&6
19848 else
19849 ac_check_lib_save_LIBS=$LIBS
19850 LIBS="-lm $LIBS"
19851 if test x$gcc_no_link = xyes; then
19852 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19853 fi
19854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19855 /* end confdefs.h. */
19856
19857 /* Override any GCC internal prototype to avoid an error.
19858 Use char because int might match the return type of a GCC
19859 builtin and then its argument prototype would still apply. */
19860 #ifdef __cplusplus
19861 extern "C"
19862 #endif
19863 char cpow ();
19864 int
19865 main ()
19866 {
19867 return cpow ();
19868 ;
19869 return 0;
19870 }
19871 _ACEOF
19872 if ac_fn_c_try_link "$LINENO"; then :
19873 ac_cv_lib_m_cpow=yes
19874 else
19875 ac_cv_lib_m_cpow=no
19876 fi
19877 rm -f core conftest.err conftest.$ac_objext \
19878 conftest$ac_exeext conftest.$ac_ext
19879 LIBS=$ac_check_lib_save_LIBS
19880 fi
19881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpow" >&5
19882 $as_echo "$ac_cv_lib_m_cpow" >&6; }
19883 if test "x$ac_cv_lib_m_cpow" = x""yes; then :
19884
19885 $as_echo "#define HAVE_CPOW 1" >>confdefs.h
19886
19887 fi
19888
19889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
19890 $as_echo_n "checking for cpowl in -lm... " >&6; }
19891 if test "${ac_cv_lib_m_cpowl+set}" = set; then :
19892 $as_echo_n "(cached) " >&6
19893 else
19894 ac_check_lib_save_LIBS=$LIBS
19895 LIBS="-lm $LIBS"
19896 if test x$gcc_no_link = xyes; then
19897 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19898 fi
19899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19900 /* end confdefs.h. */
19901
19902 /* Override any GCC internal prototype to avoid an error.
19903 Use char because int might match the return type of a GCC
19904 builtin and then its argument prototype would still apply. */
19905 #ifdef __cplusplus
19906 extern "C"
19907 #endif
19908 char cpowl ();
19909 int
19910 main ()
19911 {
19912 return cpowl ();
19913 ;
19914 return 0;
19915 }
19916 _ACEOF
19917 if ac_fn_c_try_link "$LINENO"; then :
19918 ac_cv_lib_m_cpowl=yes
19919 else
19920 ac_cv_lib_m_cpowl=no
19921 fi
19922 rm -f core conftest.err conftest.$ac_objext \
19923 conftest$ac_exeext conftest.$ac_ext
19924 LIBS=$ac_check_lib_save_LIBS
19925 fi
19926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowl" >&5
19927 $as_echo "$ac_cv_lib_m_cpowl" >&6; }
19928 if test "x$ac_cv_lib_m_cpowl" = x""yes; then :
19929
19930 $as_echo "#define HAVE_CPOWL 1" >>confdefs.h
19931
19932 fi
19933
19934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
19935 $as_echo_n "checking for roundf in -lm... " >&6; }
19936 if test "${ac_cv_lib_m_roundf+set}" = set; then :
19937 $as_echo_n "(cached) " >&6
19938 else
19939 ac_check_lib_save_LIBS=$LIBS
19940 LIBS="-lm $LIBS"
19941 if test x$gcc_no_link = xyes; then
19942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19943 fi
19944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19945 /* end confdefs.h. */
19946
19947 /* Override any GCC internal prototype to avoid an error.
19948 Use char because int might match the return type of a GCC
19949 builtin and then its argument prototype would still apply. */
19950 #ifdef __cplusplus
19951 extern "C"
19952 #endif
19953 char roundf ();
19954 int
19955 main ()
19956 {
19957 return roundf ();
19958 ;
19959 return 0;
19960 }
19961 _ACEOF
19962 if ac_fn_c_try_link "$LINENO"; then :
19963 ac_cv_lib_m_roundf=yes
19964 else
19965 ac_cv_lib_m_roundf=no
19966 fi
19967 rm -f core conftest.err conftest.$ac_objext \
19968 conftest$ac_exeext conftest.$ac_ext
19969 LIBS=$ac_check_lib_save_LIBS
19970 fi
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
19972 $as_echo "$ac_cv_lib_m_roundf" >&6; }
19973 if test "x$ac_cv_lib_m_roundf" = x""yes; then :
19974
19975 $as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
19976
19977 fi
19978
19979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
19980 $as_echo_n "checking for round in -lm... " >&6; }
19981 if test "${ac_cv_lib_m_round+set}" = set; then :
19982 $as_echo_n "(cached) " >&6
19983 else
19984 ac_check_lib_save_LIBS=$LIBS
19985 LIBS="-lm $LIBS"
19986 if test x$gcc_no_link = xyes; then
19987 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19988 fi
19989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19990 /* end confdefs.h. */
19991
19992 /* Override any GCC internal prototype to avoid an error.
19993 Use char because int might match the return type of a GCC
19994 builtin and then its argument prototype would still apply. */
19995 #ifdef __cplusplus
19996 extern "C"
19997 #endif
19998 char round ();
19999 int
20000 main ()
20001 {
20002 return round ();
20003 ;
20004 return 0;
20005 }
20006 _ACEOF
20007 if ac_fn_c_try_link "$LINENO"; then :
20008 ac_cv_lib_m_round=yes
20009 else
20010 ac_cv_lib_m_round=no
20011 fi
20012 rm -f core conftest.err conftest.$ac_objext \
20013 conftest$ac_exeext conftest.$ac_ext
20014 LIBS=$ac_check_lib_save_LIBS
20015 fi
20016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
20017 $as_echo "$ac_cv_lib_m_round" >&6; }
20018 if test "x$ac_cv_lib_m_round" = x""yes; then :
20019
20020 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
20021
20022 fi
20023
20024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
20025 $as_echo_n "checking for roundl in -lm... " >&6; }
20026 if test "${ac_cv_lib_m_roundl+set}" = set; then :
20027 $as_echo_n "(cached) " >&6
20028 else
20029 ac_check_lib_save_LIBS=$LIBS
20030 LIBS="-lm $LIBS"
20031 if test x$gcc_no_link = xyes; then
20032 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20033 fi
20034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20035 /* end confdefs.h. */
20036
20037 /* Override any GCC internal prototype to avoid an error.
20038 Use char because int might match the return type of a GCC
20039 builtin and then its argument prototype would still apply. */
20040 #ifdef __cplusplus
20041 extern "C"
20042 #endif
20043 char roundl ();
20044 int
20045 main ()
20046 {
20047 return roundl ();
20048 ;
20049 return 0;
20050 }
20051 _ACEOF
20052 if ac_fn_c_try_link "$LINENO"; then :
20053 ac_cv_lib_m_roundl=yes
20054 else
20055 ac_cv_lib_m_roundl=no
20056 fi
20057 rm -f core conftest.err conftest.$ac_objext \
20058 conftest$ac_exeext conftest.$ac_ext
20059 LIBS=$ac_check_lib_save_LIBS
20060 fi
20061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundl" >&5
20062 $as_echo "$ac_cv_lib_m_roundl" >&6; }
20063 if test "x$ac_cv_lib_m_roundl" = x""yes; then :
20064
20065 $as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20066
20067 fi
20068
20069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20070 $as_echo_n "checking for lroundf in -lm... " >&6; }
20071 if test "${ac_cv_lib_m_lroundf+set}" = set; then :
20072 $as_echo_n "(cached) " >&6
20073 else
20074 ac_check_lib_save_LIBS=$LIBS
20075 LIBS="-lm $LIBS"
20076 if test x$gcc_no_link = xyes; then
20077 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20078 fi
20079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20080 /* end confdefs.h. */
20081
20082 /* Override any GCC internal prototype to avoid an error.
20083 Use char because int might match the return type of a GCC
20084 builtin and then its argument prototype would still apply. */
20085 #ifdef __cplusplus
20086 extern "C"
20087 #endif
20088 char lroundf ();
20089 int
20090 main ()
20091 {
20092 return lroundf ();
20093 ;
20094 return 0;
20095 }
20096 _ACEOF
20097 if ac_fn_c_try_link "$LINENO"; then :
20098 ac_cv_lib_m_lroundf=yes
20099 else
20100 ac_cv_lib_m_lroundf=no
20101 fi
20102 rm -f core conftest.err conftest.$ac_objext \
20103 conftest$ac_exeext conftest.$ac_ext
20104 LIBS=$ac_check_lib_save_LIBS
20105 fi
20106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5
20107 $as_echo "$ac_cv_lib_m_lroundf" >&6; }
20108 if test "x$ac_cv_lib_m_lroundf" = x""yes; then :
20109
20110 $as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20111
20112 fi
20113
20114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20115 $as_echo_n "checking for lround in -lm... " >&6; }
20116 if test "${ac_cv_lib_m_lround+set}" = set; then :
20117 $as_echo_n "(cached) " >&6
20118 else
20119 ac_check_lib_save_LIBS=$LIBS
20120 LIBS="-lm $LIBS"
20121 if test x$gcc_no_link = xyes; then
20122 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20123 fi
20124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20125 /* end confdefs.h. */
20126
20127 /* Override any GCC internal prototype to avoid an error.
20128 Use char because int might match the return type of a GCC
20129 builtin and then its argument prototype would still apply. */
20130 #ifdef __cplusplus
20131 extern "C"
20132 #endif
20133 char lround ();
20134 int
20135 main ()
20136 {
20137 return lround ();
20138 ;
20139 return 0;
20140 }
20141 _ACEOF
20142 if ac_fn_c_try_link "$LINENO"; then :
20143 ac_cv_lib_m_lround=yes
20144 else
20145 ac_cv_lib_m_lround=no
20146 fi
20147 rm -f core conftest.err conftest.$ac_objext \
20148 conftest$ac_exeext conftest.$ac_ext
20149 LIBS=$ac_check_lib_save_LIBS
20150 fi
20151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20152 $as_echo "$ac_cv_lib_m_lround" >&6; }
20153 if test "x$ac_cv_lib_m_lround" = x""yes; then :
20154
20155 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20156
20157 fi
20158
20159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20160 $as_echo_n "checking for lroundl in -lm... " >&6; }
20161 if test "${ac_cv_lib_m_lroundl+set}" = set; then :
20162 $as_echo_n "(cached) " >&6
20163 else
20164 ac_check_lib_save_LIBS=$LIBS
20165 LIBS="-lm $LIBS"
20166 if test x$gcc_no_link = xyes; then
20167 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20168 fi
20169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20170 /* end confdefs.h. */
20171
20172 /* Override any GCC internal prototype to avoid an error.
20173 Use char because int might match the return type of a GCC
20174 builtin and then its argument prototype would still apply. */
20175 #ifdef __cplusplus
20176 extern "C"
20177 #endif
20178 char lroundl ();
20179 int
20180 main ()
20181 {
20182 return lroundl ();
20183 ;
20184 return 0;
20185 }
20186 _ACEOF
20187 if ac_fn_c_try_link "$LINENO"; then :
20188 ac_cv_lib_m_lroundl=yes
20189 else
20190 ac_cv_lib_m_lroundl=no
20191 fi
20192 rm -f core conftest.err conftest.$ac_objext \
20193 conftest$ac_exeext conftest.$ac_ext
20194 LIBS=$ac_check_lib_save_LIBS
20195 fi
20196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundl" >&5
20197 $as_echo "$ac_cv_lib_m_lroundl" >&6; }
20198 if test "x$ac_cv_lib_m_lroundl" = x""yes; then :
20199
20200 $as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20201
20202 fi
20203
20204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20205 $as_echo_n "checking for llroundf in -lm... " >&6; }
20206 if test "${ac_cv_lib_m_llroundf+set}" = set; then :
20207 $as_echo_n "(cached) " >&6
20208 else
20209 ac_check_lib_save_LIBS=$LIBS
20210 LIBS="-lm $LIBS"
20211 if test x$gcc_no_link = xyes; then
20212 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20213 fi
20214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20215 /* end confdefs.h. */
20216
20217 /* Override any GCC internal prototype to avoid an error.
20218 Use char because int might match the return type of a GCC
20219 builtin and then its argument prototype would still apply. */
20220 #ifdef __cplusplus
20221 extern "C"
20222 #endif
20223 char llroundf ();
20224 int
20225 main ()
20226 {
20227 return llroundf ();
20228 ;
20229 return 0;
20230 }
20231 _ACEOF
20232 if ac_fn_c_try_link "$LINENO"; then :
20233 ac_cv_lib_m_llroundf=yes
20234 else
20235 ac_cv_lib_m_llroundf=no
20236 fi
20237 rm -f core conftest.err conftest.$ac_objext \
20238 conftest$ac_exeext conftest.$ac_ext
20239 LIBS=$ac_check_lib_save_LIBS
20240 fi
20241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundf" >&5
20242 $as_echo "$ac_cv_lib_m_llroundf" >&6; }
20243 if test "x$ac_cv_lib_m_llroundf" = x""yes; then :
20244
20245 $as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
20246
20247 fi
20248
20249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
20250 $as_echo_n "checking for llround in -lm... " >&6; }
20251 if test "${ac_cv_lib_m_llround+set}" = set; then :
20252 $as_echo_n "(cached) " >&6
20253 else
20254 ac_check_lib_save_LIBS=$LIBS
20255 LIBS="-lm $LIBS"
20256 if test x$gcc_no_link = xyes; then
20257 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20258 fi
20259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20260 /* end confdefs.h. */
20261
20262 /* Override any GCC internal prototype to avoid an error.
20263 Use char because int might match the return type of a GCC
20264 builtin and then its argument prototype would still apply. */
20265 #ifdef __cplusplus
20266 extern "C"
20267 #endif
20268 char llround ();
20269 int
20270 main ()
20271 {
20272 return llround ();
20273 ;
20274 return 0;
20275 }
20276 _ACEOF
20277 if ac_fn_c_try_link "$LINENO"; then :
20278 ac_cv_lib_m_llround=yes
20279 else
20280 ac_cv_lib_m_llround=no
20281 fi
20282 rm -f core conftest.err conftest.$ac_objext \
20283 conftest$ac_exeext conftest.$ac_ext
20284 LIBS=$ac_check_lib_save_LIBS
20285 fi
20286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llround" >&5
20287 $as_echo "$ac_cv_lib_m_llround" >&6; }
20288 if test "x$ac_cv_lib_m_llround" = x""yes; then :
20289
20290 $as_echo "#define HAVE_LLROUND 1" >>confdefs.h
20291
20292 fi
20293
20294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
20295 $as_echo_n "checking for llroundl in -lm... " >&6; }
20296 if test "${ac_cv_lib_m_llroundl+set}" = set; then :
20297 $as_echo_n "(cached) " >&6
20298 else
20299 ac_check_lib_save_LIBS=$LIBS
20300 LIBS="-lm $LIBS"
20301 if test x$gcc_no_link = xyes; then
20302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20303 fi
20304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20305 /* end confdefs.h. */
20306
20307 /* Override any GCC internal prototype to avoid an error.
20308 Use char because int might match the return type of a GCC
20309 builtin and then its argument prototype would still apply. */
20310 #ifdef __cplusplus
20311 extern "C"
20312 #endif
20313 char llroundl ();
20314 int
20315 main ()
20316 {
20317 return llroundl ();
20318 ;
20319 return 0;
20320 }
20321 _ACEOF
20322 if ac_fn_c_try_link "$LINENO"; then :
20323 ac_cv_lib_m_llroundl=yes
20324 else
20325 ac_cv_lib_m_llroundl=no
20326 fi
20327 rm -f core conftest.err conftest.$ac_objext \
20328 conftest$ac_exeext conftest.$ac_ext
20329 LIBS=$ac_check_lib_save_LIBS
20330 fi
20331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundl" >&5
20332 $as_echo "$ac_cv_lib_m_llroundl" >&6; }
20333 if test "x$ac_cv_lib_m_llroundl" = x""yes; then :
20334
20335 $as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
20336
20337 fi
20338
20339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
20340 $as_echo_n "checking for scalbnf in -lm... " >&6; }
20341 if test "${ac_cv_lib_m_scalbnf+set}" = set; then :
20342 $as_echo_n "(cached) " >&6
20343 else
20344 ac_check_lib_save_LIBS=$LIBS
20345 LIBS="-lm $LIBS"
20346 if test x$gcc_no_link = xyes; then
20347 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20348 fi
20349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20350 /* end confdefs.h. */
20351
20352 /* Override any GCC internal prototype to avoid an error.
20353 Use char because int might match the return type of a GCC
20354 builtin and then its argument prototype would still apply. */
20355 #ifdef __cplusplus
20356 extern "C"
20357 #endif
20358 char scalbnf ();
20359 int
20360 main ()
20361 {
20362 return scalbnf ();
20363 ;
20364 return 0;
20365 }
20366 _ACEOF
20367 if ac_fn_c_try_link "$LINENO"; then :
20368 ac_cv_lib_m_scalbnf=yes
20369 else
20370 ac_cv_lib_m_scalbnf=no
20371 fi
20372 rm -f core conftest.err conftest.$ac_objext \
20373 conftest$ac_exeext conftest.$ac_ext
20374 LIBS=$ac_check_lib_save_LIBS
20375 fi
20376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnf" >&5
20377 $as_echo "$ac_cv_lib_m_scalbnf" >&6; }
20378 if test "x$ac_cv_lib_m_scalbnf" = x""yes; then :
20379
20380 $as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
20381
20382 fi
20383
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
20385 $as_echo_n "checking for scalbn in -lm... " >&6; }
20386 if test "${ac_cv_lib_m_scalbn+set}" = set; then :
20387 $as_echo_n "(cached) " >&6
20388 else
20389 ac_check_lib_save_LIBS=$LIBS
20390 LIBS="-lm $LIBS"
20391 if test x$gcc_no_link = xyes; then
20392 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20393 fi
20394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20395 /* end confdefs.h. */
20396
20397 /* Override any GCC internal prototype to avoid an error.
20398 Use char because int might match the return type of a GCC
20399 builtin and then its argument prototype would still apply. */
20400 #ifdef __cplusplus
20401 extern "C"
20402 #endif
20403 char scalbn ();
20404 int
20405 main ()
20406 {
20407 return scalbn ();
20408 ;
20409 return 0;
20410 }
20411 _ACEOF
20412 if ac_fn_c_try_link "$LINENO"; then :
20413 ac_cv_lib_m_scalbn=yes
20414 else
20415 ac_cv_lib_m_scalbn=no
20416 fi
20417 rm -f core conftest.err conftest.$ac_objext \
20418 conftest$ac_exeext conftest.$ac_ext
20419 LIBS=$ac_check_lib_save_LIBS
20420 fi
20421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbn" >&5
20422 $as_echo "$ac_cv_lib_m_scalbn" >&6; }
20423 if test "x$ac_cv_lib_m_scalbn" = x""yes; then :
20424
20425 $as_echo "#define HAVE_SCALBN 1" >>confdefs.h
20426
20427 fi
20428
20429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
20430 $as_echo_n "checking for scalbnl in -lm... " >&6; }
20431 if test "${ac_cv_lib_m_scalbnl+set}" = set; then :
20432 $as_echo_n "(cached) " >&6
20433 else
20434 ac_check_lib_save_LIBS=$LIBS
20435 LIBS="-lm $LIBS"
20436 if test x$gcc_no_link = xyes; then
20437 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20438 fi
20439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20440 /* end confdefs.h. */
20441
20442 /* Override any GCC internal prototype to avoid an error.
20443 Use char because int might match the return type of a GCC
20444 builtin and then its argument prototype would still apply. */
20445 #ifdef __cplusplus
20446 extern "C"
20447 #endif
20448 char scalbnl ();
20449 int
20450 main ()
20451 {
20452 return scalbnl ();
20453 ;
20454 return 0;
20455 }
20456 _ACEOF
20457 if ac_fn_c_try_link "$LINENO"; then :
20458 ac_cv_lib_m_scalbnl=yes
20459 else
20460 ac_cv_lib_m_scalbnl=no
20461 fi
20462 rm -f core conftest.err conftest.$ac_objext \
20463 conftest$ac_exeext conftest.$ac_ext
20464 LIBS=$ac_check_lib_save_LIBS
20465 fi
20466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnl" >&5
20467 $as_echo "$ac_cv_lib_m_scalbnl" >&6; }
20468 if test "x$ac_cv_lib_m_scalbnl" = x""yes; then :
20469
20470 $as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
20471
20472 fi
20473
20474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
20475 $as_echo_n "checking for sinf in -lm... " >&6; }
20476 if test "${ac_cv_lib_m_sinf+set}" = set; then :
20477 $as_echo_n "(cached) " >&6
20478 else
20479 ac_check_lib_save_LIBS=$LIBS
20480 LIBS="-lm $LIBS"
20481 if test x$gcc_no_link = xyes; then
20482 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20483 fi
20484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20485 /* end confdefs.h. */
20486
20487 /* Override any GCC internal prototype to avoid an error.
20488 Use char because int might match the return type of a GCC
20489 builtin and then its argument prototype would still apply. */
20490 #ifdef __cplusplus
20491 extern "C"
20492 #endif
20493 char sinf ();
20494 int
20495 main ()
20496 {
20497 return sinf ();
20498 ;
20499 return 0;
20500 }
20501 _ACEOF
20502 if ac_fn_c_try_link "$LINENO"; then :
20503 ac_cv_lib_m_sinf=yes
20504 else
20505 ac_cv_lib_m_sinf=no
20506 fi
20507 rm -f core conftest.err conftest.$ac_objext \
20508 conftest$ac_exeext conftest.$ac_ext
20509 LIBS=$ac_check_lib_save_LIBS
20510 fi
20511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
20512 $as_echo "$ac_cv_lib_m_sinf" >&6; }
20513 if test "x$ac_cv_lib_m_sinf" = x""yes; then :
20514
20515 $as_echo "#define HAVE_SINF 1" >>confdefs.h
20516
20517 fi
20518
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20520 $as_echo_n "checking for sin in -lm... " >&6; }
20521 if test "${ac_cv_lib_m_sin+set}" = set; then :
20522 $as_echo_n "(cached) " >&6
20523 else
20524 ac_check_lib_save_LIBS=$LIBS
20525 LIBS="-lm $LIBS"
20526 if test x$gcc_no_link = xyes; then
20527 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20528 fi
20529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20530 /* end confdefs.h. */
20531
20532 /* Override any GCC internal prototype to avoid an error.
20533 Use char because int might match the return type of a GCC
20534 builtin and then its argument prototype would still apply. */
20535 #ifdef __cplusplus
20536 extern "C"
20537 #endif
20538 char sin ();
20539 int
20540 main ()
20541 {
20542 return sin ();
20543 ;
20544 return 0;
20545 }
20546 _ACEOF
20547 if ac_fn_c_try_link "$LINENO"; then :
20548 ac_cv_lib_m_sin=yes
20549 else
20550 ac_cv_lib_m_sin=no
20551 fi
20552 rm -f core conftest.err conftest.$ac_objext \
20553 conftest$ac_exeext conftest.$ac_ext
20554 LIBS=$ac_check_lib_save_LIBS
20555 fi
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20557 $as_echo "$ac_cv_lib_m_sin" >&6; }
20558 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20559
20560 $as_echo "#define HAVE_SIN 1" >>confdefs.h
20561
20562 fi
20563
20564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
20565 $as_echo_n "checking for sinl in -lm... " >&6; }
20566 if test "${ac_cv_lib_m_sinl+set}" = set; then :
20567 $as_echo_n "(cached) " >&6
20568 else
20569 ac_check_lib_save_LIBS=$LIBS
20570 LIBS="-lm $LIBS"
20571 if test x$gcc_no_link = xyes; then
20572 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20573 fi
20574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20575 /* end confdefs.h. */
20576
20577 /* Override any GCC internal prototype to avoid an error.
20578 Use char because int might match the return type of a GCC
20579 builtin and then its argument prototype would still apply. */
20580 #ifdef __cplusplus
20581 extern "C"
20582 #endif
20583 char sinl ();
20584 int
20585 main ()
20586 {
20587 return sinl ();
20588 ;
20589 return 0;
20590 }
20591 _ACEOF
20592 if ac_fn_c_try_link "$LINENO"; then :
20593 ac_cv_lib_m_sinl=yes
20594 else
20595 ac_cv_lib_m_sinl=no
20596 fi
20597 rm -f core conftest.err conftest.$ac_objext \
20598 conftest$ac_exeext conftest.$ac_ext
20599 LIBS=$ac_check_lib_save_LIBS
20600 fi
20601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinl" >&5
20602 $as_echo "$ac_cv_lib_m_sinl" >&6; }
20603 if test "x$ac_cv_lib_m_sinl" = x""yes; then :
20604
20605 $as_echo "#define HAVE_SINL 1" >>confdefs.h
20606
20607 fi
20608
20609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
20610 $as_echo_n "checking for csinf in -lm... " >&6; }
20611 if test "${ac_cv_lib_m_csinf+set}" = set; then :
20612 $as_echo_n "(cached) " >&6
20613 else
20614 ac_check_lib_save_LIBS=$LIBS
20615 LIBS="-lm $LIBS"
20616 if test x$gcc_no_link = xyes; then
20617 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20618 fi
20619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20620 /* end confdefs.h. */
20621
20622 /* Override any GCC internal prototype to avoid an error.
20623 Use char because int might match the return type of a GCC
20624 builtin and then its argument prototype would still apply. */
20625 #ifdef __cplusplus
20626 extern "C"
20627 #endif
20628 char csinf ();
20629 int
20630 main ()
20631 {
20632 return csinf ();
20633 ;
20634 return 0;
20635 }
20636 _ACEOF
20637 if ac_fn_c_try_link "$LINENO"; then :
20638 ac_cv_lib_m_csinf=yes
20639 else
20640 ac_cv_lib_m_csinf=no
20641 fi
20642 rm -f core conftest.err conftest.$ac_objext \
20643 conftest$ac_exeext conftest.$ac_ext
20644 LIBS=$ac_check_lib_save_LIBS
20645 fi
20646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinf" >&5
20647 $as_echo "$ac_cv_lib_m_csinf" >&6; }
20648 if test "x$ac_cv_lib_m_csinf" = x""yes; then :
20649
20650 $as_echo "#define HAVE_CSINF 1" >>confdefs.h
20651
20652 fi
20653
20654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
20655 $as_echo_n "checking for csin in -lm... " >&6; }
20656 if test "${ac_cv_lib_m_csin+set}" = set; then :
20657 $as_echo_n "(cached) " >&6
20658 else
20659 ac_check_lib_save_LIBS=$LIBS
20660 LIBS="-lm $LIBS"
20661 if test x$gcc_no_link = xyes; then
20662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20663 fi
20664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20665 /* end confdefs.h. */
20666
20667 /* Override any GCC internal prototype to avoid an error.
20668 Use char because int might match the return type of a GCC
20669 builtin and then its argument prototype would still apply. */
20670 #ifdef __cplusplus
20671 extern "C"
20672 #endif
20673 char csin ();
20674 int
20675 main ()
20676 {
20677 return csin ();
20678 ;
20679 return 0;
20680 }
20681 _ACEOF
20682 if ac_fn_c_try_link "$LINENO"; then :
20683 ac_cv_lib_m_csin=yes
20684 else
20685 ac_cv_lib_m_csin=no
20686 fi
20687 rm -f core conftest.err conftest.$ac_objext \
20688 conftest$ac_exeext conftest.$ac_ext
20689 LIBS=$ac_check_lib_save_LIBS
20690 fi
20691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csin" >&5
20692 $as_echo "$ac_cv_lib_m_csin" >&6; }
20693 if test "x$ac_cv_lib_m_csin" = x""yes; then :
20694
20695 $as_echo "#define HAVE_CSIN 1" >>confdefs.h
20696
20697 fi
20698
20699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
20700 $as_echo_n "checking for csinl in -lm... " >&6; }
20701 if test "${ac_cv_lib_m_csinl+set}" = set; then :
20702 $as_echo_n "(cached) " >&6
20703 else
20704 ac_check_lib_save_LIBS=$LIBS
20705 LIBS="-lm $LIBS"
20706 if test x$gcc_no_link = xyes; then
20707 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20708 fi
20709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20710 /* end confdefs.h. */
20711
20712 /* Override any GCC internal prototype to avoid an error.
20713 Use char because int might match the return type of a GCC
20714 builtin and then its argument prototype would still apply. */
20715 #ifdef __cplusplus
20716 extern "C"
20717 #endif
20718 char csinl ();
20719 int
20720 main ()
20721 {
20722 return csinl ();
20723 ;
20724 return 0;
20725 }
20726 _ACEOF
20727 if ac_fn_c_try_link "$LINENO"; then :
20728 ac_cv_lib_m_csinl=yes
20729 else
20730 ac_cv_lib_m_csinl=no
20731 fi
20732 rm -f core conftest.err conftest.$ac_objext \
20733 conftest$ac_exeext conftest.$ac_ext
20734 LIBS=$ac_check_lib_save_LIBS
20735 fi
20736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinl" >&5
20737 $as_echo "$ac_cv_lib_m_csinl" >&6; }
20738 if test "x$ac_cv_lib_m_csinl" = x""yes; then :
20739
20740 $as_echo "#define HAVE_CSINL 1" >>confdefs.h
20741
20742 fi
20743
20744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
20745 $as_echo_n "checking for sinhf in -lm... " >&6; }
20746 if test "${ac_cv_lib_m_sinhf+set}" = set; then :
20747 $as_echo_n "(cached) " >&6
20748 else
20749 ac_check_lib_save_LIBS=$LIBS
20750 LIBS="-lm $LIBS"
20751 if test x$gcc_no_link = xyes; then
20752 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20753 fi
20754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20755 /* end confdefs.h. */
20756
20757 /* Override any GCC internal prototype to avoid an error.
20758 Use char because int might match the return type of a GCC
20759 builtin and then its argument prototype would still apply. */
20760 #ifdef __cplusplus
20761 extern "C"
20762 #endif
20763 char sinhf ();
20764 int
20765 main ()
20766 {
20767 return sinhf ();
20768 ;
20769 return 0;
20770 }
20771 _ACEOF
20772 if ac_fn_c_try_link "$LINENO"; then :
20773 ac_cv_lib_m_sinhf=yes
20774 else
20775 ac_cv_lib_m_sinhf=no
20776 fi
20777 rm -f core conftest.err conftest.$ac_objext \
20778 conftest$ac_exeext conftest.$ac_ext
20779 LIBS=$ac_check_lib_save_LIBS
20780 fi
20781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhf" >&5
20782 $as_echo "$ac_cv_lib_m_sinhf" >&6; }
20783 if test "x$ac_cv_lib_m_sinhf" = x""yes; then :
20784
20785 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
20786
20787 fi
20788
20789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
20790 $as_echo_n "checking for sinh in -lm... " >&6; }
20791 if test "${ac_cv_lib_m_sinh+set}" = set; then :
20792 $as_echo_n "(cached) " >&6
20793 else
20794 ac_check_lib_save_LIBS=$LIBS
20795 LIBS="-lm $LIBS"
20796 if test x$gcc_no_link = xyes; then
20797 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20798 fi
20799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20800 /* end confdefs.h. */
20801
20802 /* Override any GCC internal prototype to avoid an error.
20803 Use char because int might match the return type of a GCC
20804 builtin and then its argument prototype would still apply. */
20805 #ifdef __cplusplus
20806 extern "C"
20807 #endif
20808 char sinh ();
20809 int
20810 main ()
20811 {
20812 return sinh ();
20813 ;
20814 return 0;
20815 }
20816 _ACEOF
20817 if ac_fn_c_try_link "$LINENO"; then :
20818 ac_cv_lib_m_sinh=yes
20819 else
20820 ac_cv_lib_m_sinh=no
20821 fi
20822 rm -f core conftest.err conftest.$ac_objext \
20823 conftest$ac_exeext conftest.$ac_ext
20824 LIBS=$ac_check_lib_save_LIBS
20825 fi
20826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinh" >&5
20827 $as_echo "$ac_cv_lib_m_sinh" >&6; }
20828 if test "x$ac_cv_lib_m_sinh" = x""yes; then :
20829
20830 $as_echo "#define HAVE_SINH 1" >>confdefs.h
20831
20832 fi
20833
20834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
20835 $as_echo_n "checking for sinhl in -lm... " >&6; }
20836 if test "${ac_cv_lib_m_sinhl+set}" = set; then :
20837 $as_echo_n "(cached) " >&6
20838 else
20839 ac_check_lib_save_LIBS=$LIBS
20840 LIBS="-lm $LIBS"
20841 if test x$gcc_no_link = xyes; then
20842 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20843 fi
20844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20845 /* end confdefs.h. */
20846
20847 /* Override any GCC internal prototype to avoid an error.
20848 Use char because int might match the return type of a GCC
20849 builtin and then its argument prototype would still apply. */
20850 #ifdef __cplusplus
20851 extern "C"
20852 #endif
20853 char sinhl ();
20854 int
20855 main ()
20856 {
20857 return sinhl ();
20858 ;
20859 return 0;
20860 }
20861 _ACEOF
20862 if ac_fn_c_try_link "$LINENO"; then :
20863 ac_cv_lib_m_sinhl=yes
20864 else
20865 ac_cv_lib_m_sinhl=no
20866 fi
20867 rm -f core conftest.err conftest.$ac_objext \
20868 conftest$ac_exeext conftest.$ac_ext
20869 LIBS=$ac_check_lib_save_LIBS
20870 fi
20871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhl" >&5
20872 $as_echo "$ac_cv_lib_m_sinhl" >&6; }
20873 if test "x$ac_cv_lib_m_sinhl" = x""yes; then :
20874
20875 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
20876
20877 fi
20878
20879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
20880 $as_echo_n "checking for csinhf in -lm... " >&6; }
20881 if test "${ac_cv_lib_m_csinhf+set}" = set; then :
20882 $as_echo_n "(cached) " >&6
20883 else
20884 ac_check_lib_save_LIBS=$LIBS
20885 LIBS="-lm $LIBS"
20886 if test x$gcc_no_link = xyes; then
20887 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20888 fi
20889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20890 /* end confdefs.h. */
20891
20892 /* Override any GCC internal prototype to avoid an error.
20893 Use char because int might match the return type of a GCC
20894 builtin and then its argument prototype would still apply. */
20895 #ifdef __cplusplus
20896 extern "C"
20897 #endif
20898 char csinhf ();
20899 int
20900 main ()
20901 {
20902 return csinhf ();
20903 ;
20904 return 0;
20905 }
20906 _ACEOF
20907 if ac_fn_c_try_link "$LINENO"; then :
20908 ac_cv_lib_m_csinhf=yes
20909 else
20910 ac_cv_lib_m_csinhf=no
20911 fi
20912 rm -f core conftest.err conftest.$ac_objext \
20913 conftest$ac_exeext conftest.$ac_ext
20914 LIBS=$ac_check_lib_save_LIBS
20915 fi
20916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhf" >&5
20917 $as_echo "$ac_cv_lib_m_csinhf" >&6; }
20918 if test "x$ac_cv_lib_m_csinhf" = x""yes; then :
20919
20920 $as_echo "#define HAVE_CSINHF 1" >>confdefs.h
20921
20922 fi
20923
20924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
20925 $as_echo_n "checking for csinh in -lm... " >&6; }
20926 if test "${ac_cv_lib_m_csinh+set}" = set; then :
20927 $as_echo_n "(cached) " >&6
20928 else
20929 ac_check_lib_save_LIBS=$LIBS
20930 LIBS="-lm $LIBS"
20931 if test x$gcc_no_link = xyes; then
20932 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20933 fi
20934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20935 /* end confdefs.h. */
20936
20937 /* Override any GCC internal prototype to avoid an error.
20938 Use char because int might match the return type of a GCC
20939 builtin and then its argument prototype would still apply. */
20940 #ifdef __cplusplus
20941 extern "C"
20942 #endif
20943 char csinh ();
20944 int
20945 main ()
20946 {
20947 return csinh ();
20948 ;
20949 return 0;
20950 }
20951 _ACEOF
20952 if ac_fn_c_try_link "$LINENO"; then :
20953 ac_cv_lib_m_csinh=yes
20954 else
20955 ac_cv_lib_m_csinh=no
20956 fi
20957 rm -f core conftest.err conftest.$ac_objext \
20958 conftest$ac_exeext conftest.$ac_ext
20959 LIBS=$ac_check_lib_save_LIBS
20960 fi
20961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinh" >&5
20962 $as_echo "$ac_cv_lib_m_csinh" >&6; }
20963 if test "x$ac_cv_lib_m_csinh" = x""yes; then :
20964
20965 $as_echo "#define HAVE_CSINH 1" >>confdefs.h
20966
20967 fi
20968
20969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
20970 $as_echo_n "checking for csinhl in -lm... " >&6; }
20971 if test "${ac_cv_lib_m_csinhl+set}" = set; then :
20972 $as_echo_n "(cached) " >&6
20973 else
20974 ac_check_lib_save_LIBS=$LIBS
20975 LIBS="-lm $LIBS"
20976 if test x$gcc_no_link = xyes; then
20977 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20978 fi
20979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20980 /* end confdefs.h. */
20981
20982 /* Override any GCC internal prototype to avoid an error.
20983 Use char because int might match the return type of a GCC
20984 builtin and then its argument prototype would still apply. */
20985 #ifdef __cplusplus
20986 extern "C"
20987 #endif
20988 char csinhl ();
20989 int
20990 main ()
20991 {
20992 return csinhl ();
20993 ;
20994 return 0;
20995 }
20996 _ACEOF
20997 if ac_fn_c_try_link "$LINENO"; then :
20998 ac_cv_lib_m_csinhl=yes
20999 else
21000 ac_cv_lib_m_csinhl=no
21001 fi
21002 rm -f core conftest.err conftest.$ac_objext \
21003 conftest$ac_exeext conftest.$ac_ext
21004 LIBS=$ac_check_lib_save_LIBS
21005 fi
21006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhl" >&5
21007 $as_echo "$ac_cv_lib_m_csinhl" >&6; }
21008 if test "x$ac_cv_lib_m_csinhl" = x""yes; then :
21009
21010 $as_echo "#define HAVE_CSINHL 1" >>confdefs.h
21011
21012 fi
21013
21014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
21015 $as_echo_n "checking for sqrtf in -lm... " >&6; }
21016 if test "${ac_cv_lib_m_sqrtf+set}" = set; then :
21017 $as_echo_n "(cached) " >&6
21018 else
21019 ac_check_lib_save_LIBS=$LIBS
21020 LIBS="-lm $LIBS"
21021 if test x$gcc_no_link = xyes; then
21022 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21023 fi
21024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21025 /* end confdefs.h. */
21026
21027 /* Override any GCC internal prototype to avoid an error.
21028 Use char because int might match the return type of a GCC
21029 builtin and then its argument prototype would still apply. */
21030 #ifdef __cplusplus
21031 extern "C"
21032 #endif
21033 char sqrtf ();
21034 int
21035 main ()
21036 {
21037 return sqrtf ();
21038 ;
21039 return 0;
21040 }
21041 _ACEOF
21042 if ac_fn_c_try_link "$LINENO"; then :
21043 ac_cv_lib_m_sqrtf=yes
21044 else
21045 ac_cv_lib_m_sqrtf=no
21046 fi
21047 rm -f core conftest.err conftest.$ac_objext \
21048 conftest$ac_exeext conftest.$ac_ext
21049 LIBS=$ac_check_lib_save_LIBS
21050 fi
21051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
21052 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
21053 if test "x$ac_cv_lib_m_sqrtf" = x""yes; then :
21054
21055 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21056
21057 fi
21058
21059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21060 $as_echo_n "checking for sqrt in -lm... " >&6; }
21061 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
21062 $as_echo_n "(cached) " >&6
21063 else
21064 ac_check_lib_save_LIBS=$LIBS
21065 LIBS="-lm $LIBS"
21066 if test x$gcc_no_link = xyes; then
21067 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21068 fi
21069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21070 /* end confdefs.h. */
21071
21072 /* Override any GCC internal prototype to avoid an error.
21073 Use char because int might match the return type of a GCC
21074 builtin and then its argument prototype would still apply. */
21075 #ifdef __cplusplus
21076 extern "C"
21077 #endif
21078 char sqrt ();
21079 int
21080 main ()
21081 {
21082 return sqrt ();
21083 ;
21084 return 0;
21085 }
21086 _ACEOF
21087 if ac_fn_c_try_link "$LINENO"; then :
21088 ac_cv_lib_m_sqrt=yes
21089 else
21090 ac_cv_lib_m_sqrt=no
21091 fi
21092 rm -f core conftest.err conftest.$ac_objext \
21093 conftest$ac_exeext conftest.$ac_ext
21094 LIBS=$ac_check_lib_save_LIBS
21095 fi
21096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
21097 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
21098 if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
21099
21100 $as_echo "#define HAVE_SQRT 1" >>confdefs.h
21101
21102 fi
21103
21104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21105 $as_echo_n "checking for sqrtl in -lm... " >&6; }
21106 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
21107 $as_echo_n "(cached) " >&6
21108 else
21109 ac_check_lib_save_LIBS=$LIBS
21110 LIBS="-lm $LIBS"
21111 if test x$gcc_no_link = xyes; then
21112 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21113 fi
21114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21115 /* end confdefs.h. */
21116
21117 /* Override any GCC internal prototype to avoid an error.
21118 Use char because int might match the return type of a GCC
21119 builtin and then its argument prototype would still apply. */
21120 #ifdef __cplusplus
21121 extern "C"
21122 #endif
21123 char sqrtl ();
21124 int
21125 main ()
21126 {
21127 return sqrtl ();
21128 ;
21129 return 0;
21130 }
21131 _ACEOF
21132 if ac_fn_c_try_link "$LINENO"; then :
21133 ac_cv_lib_m_sqrtl=yes
21134 else
21135 ac_cv_lib_m_sqrtl=no
21136 fi
21137 rm -f core conftest.err conftest.$ac_objext \
21138 conftest$ac_exeext conftest.$ac_ext
21139 LIBS=$ac_check_lib_save_LIBS
21140 fi
21141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
21142 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21143 if test "x$ac_cv_lib_m_sqrtl" = x""yes; then :
21144
21145 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21146
21147 fi
21148
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21150 $as_echo_n "checking for csqrtf in -lm... " >&6; }
21151 if test "${ac_cv_lib_m_csqrtf+set}" = set; then :
21152 $as_echo_n "(cached) " >&6
21153 else
21154 ac_check_lib_save_LIBS=$LIBS
21155 LIBS="-lm $LIBS"
21156 if test x$gcc_no_link = xyes; then
21157 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21158 fi
21159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21160 /* end confdefs.h. */
21161
21162 /* Override any GCC internal prototype to avoid an error.
21163 Use char because int might match the return type of a GCC
21164 builtin and then its argument prototype would still apply. */
21165 #ifdef __cplusplus
21166 extern "C"
21167 #endif
21168 char csqrtf ();
21169 int
21170 main ()
21171 {
21172 return csqrtf ();
21173 ;
21174 return 0;
21175 }
21176 _ACEOF
21177 if ac_fn_c_try_link "$LINENO"; then :
21178 ac_cv_lib_m_csqrtf=yes
21179 else
21180 ac_cv_lib_m_csqrtf=no
21181 fi
21182 rm -f core conftest.err conftest.$ac_objext \
21183 conftest$ac_exeext conftest.$ac_ext
21184 LIBS=$ac_check_lib_save_LIBS
21185 fi
21186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtf" >&5
21187 $as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21188 if test "x$ac_cv_lib_m_csqrtf" = x""yes; then :
21189
21190 $as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21191
21192 fi
21193
21194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21195 $as_echo_n "checking for csqrt in -lm... " >&6; }
21196 if test "${ac_cv_lib_m_csqrt+set}" = set; then :
21197 $as_echo_n "(cached) " >&6
21198 else
21199 ac_check_lib_save_LIBS=$LIBS
21200 LIBS="-lm $LIBS"
21201 if test x$gcc_no_link = xyes; then
21202 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21203 fi
21204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21205 /* end confdefs.h. */
21206
21207 /* Override any GCC internal prototype to avoid an error.
21208 Use char because int might match the return type of a GCC
21209 builtin and then its argument prototype would still apply. */
21210 #ifdef __cplusplus
21211 extern "C"
21212 #endif
21213 char csqrt ();
21214 int
21215 main ()
21216 {
21217 return csqrt ();
21218 ;
21219 return 0;
21220 }
21221 _ACEOF
21222 if ac_fn_c_try_link "$LINENO"; then :
21223 ac_cv_lib_m_csqrt=yes
21224 else
21225 ac_cv_lib_m_csqrt=no
21226 fi
21227 rm -f core conftest.err conftest.$ac_objext \
21228 conftest$ac_exeext conftest.$ac_ext
21229 LIBS=$ac_check_lib_save_LIBS
21230 fi
21231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrt" >&5
21232 $as_echo "$ac_cv_lib_m_csqrt" >&6; }
21233 if test "x$ac_cv_lib_m_csqrt" = x""yes; then :
21234
21235 $as_echo "#define HAVE_CSQRT 1" >>confdefs.h
21236
21237 fi
21238
21239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
21240 $as_echo_n "checking for csqrtl in -lm... " >&6; }
21241 if test "${ac_cv_lib_m_csqrtl+set}" = set; then :
21242 $as_echo_n "(cached) " >&6
21243 else
21244 ac_check_lib_save_LIBS=$LIBS
21245 LIBS="-lm $LIBS"
21246 if test x$gcc_no_link = xyes; then
21247 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21248 fi
21249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21250 /* end confdefs.h. */
21251
21252 /* Override any GCC internal prototype to avoid an error.
21253 Use char because int might match the return type of a GCC
21254 builtin and then its argument prototype would still apply. */
21255 #ifdef __cplusplus
21256 extern "C"
21257 #endif
21258 char csqrtl ();
21259 int
21260 main ()
21261 {
21262 return csqrtl ();
21263 ;
21264 return 0;
21265 }
21266 _ACEOF
21267 if ac_fn_c_try_link "$LINENO"; then :
21268 ac_cv_lib_m_csqrtl=yes
21269 else
21270 ac_cv_lib_m_csqrtl=no
21271 fi
21272 rm -f core conftest.err conftest.$ac_objext \
21273 conftest$ac_exeext conftest.$ac_ext
21274 LIBS=$ac_check_lib_save_LIBS
21275 fi
21276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtl" >&5
21277 $as_echo "$ac_cv_lib_m_csqrtl" >&6; }
21278 if test "x$ac_cv_lib_m_csqrtl" = x""yes; then :
21279
21280 $as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
21281
21282 fi
21283
21284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
21285 $as_echo_n "checking for tanf in -lm... " >&6; }
21286 if test "${ac_cv_lib_m_tanf+set}" = set; then :
21287 $as_echo_n "(cached) " >&6
21288 else
21289 ac_check_lib_save_LIBS=$LIBS
21290 LIBS="-lm $LIBS"
21291 if test x$gcc_no_link = xyes; then
21292 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21293 fi
21294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21295 /* end confdefs.h. */
21296
21297 /* Override any GCC internal prototype to avoid an error.
21298 Use char because int might match the return type of a GCC
21299 builtin and then its argument prototype would still apply. */
21300 #ifdef __cplusplus
21301 extern "C"
21302 #endif
21303 char tanf ();
21304 int
21305 main ()
21306 {
21307 return tanf ();
21308 ;
21309 return 0;
21310 }
21311 _ACEOF
21312 if ac_fn_c_try_link "$LINENO"; then :
21313 ac_cv_lib_m_tanf=yes
21314 else
21315 ac_cv_lib_m_tanf=no
21316 fi
21317 rm -f core conftest.err conftest.$ac_objext \
21318 conftest$ac_exeext conftest.$ac_ext
21319 LIBS=$ac_check_lib_save_LIBS
21320 fi
21321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanf" >&5
21322 $as_echo "$ac_cv_lib_m_tanf" >&6; }
21323 if test "x$ac_cv_lib_m_tanf" = x""yes; then :
21324
21325 $as_echo "#define HAVE_TANF 1" >>confdefs.h
21326
21327 fi
21328
21329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
21330 $as_echo_n "checking for tan in -lm... " >&6; }
21331 if test "${ac_cv_lib_m_tan+set}" = set; then :
21332 $as_echo_n "(cached) " >&6
21333 else
21334 ac_check_lib_save_LIBS=$LIBS
21335 LIBS="-lm $LIBS"
21336 if test x$gcc_no_link = xyes; then
21337 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21338 fi
21339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21340 /* end confdefs.h. */
21341
21342 /* Override any GCC internal prototype to avoid an error.
21343 Use char because int might match the return type of a GCC
21344 builtin and then its argument prototype would still apply. */
21345 #ifdef __cplusplus
21346 extern "C"
21347 #endif
21348 char tan ();
21349 int
21350 main ()
21351 {
21352 return tan ();
21353 ;
21354 return 0;
21355 }
21356 _ACEOF
21357 if ac_fn_c_try_link "$LINENO"; then :
21358 ac_cv_lib_m_tan=yes
21359 else
21360 ac_cv_lib_m_tan=no
21361 fi
21362 rm -f core conftest.err conftest.$ac_objext \
21363 conftest$ac_exeext conftest.$ac_ext
21364 LIBS=$ac_check_lib_save_LIBS
21365 fi
21366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5
21367 $as_echo "$ac_cv_lib_m_tan" >&6; }
21368 if test "x$ac_cv_lib_m_tan" = x""yes; then :
21369
21370 $as_echo "#define HAVE_TAN 1" >>confdefs.h
21371
21372 fi
21373
21374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
21375 $as_echo_n "checking for tanl in -lm... " >&6; }
21376 if test "${ac_cv_lib_m_tanl+set}" = set; then :
21377 $as_echo_n "(cached) " >&6
21378 else
21379 ac_check_lib_save_LIBS=$LIBS
21380 LIBS="-lm $LIBS"
21381 if test x$gcc_no_link = xyes; then
21382 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21383 fi
21384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21385 /* end confdefs.h. */
21386
21387 /* Override any GCC internal prototype to avoid an error.
21388 Use char because int might match the return type of a GCC
21389 builtin and then its argument prototype would still apply. */
21390 #ifdef __cplusplus
21391 extern "C"
21392 #endif
21393 char tanl ();
21394 int
21395 main ()
21396 {
21397 return tanl ();
21398 ;
21399 return 0;
21400 }
21401 _ACEOF
21402 if ac_fn_c_try_link "$LINENO"; then :
21403 ac_cv_lib_m_tanl=yes
21404 else
21405 ac_cv_lib_m_tanl=no
21406 fi
21407 rm -f core conftest.err conftest.$ac_objext \
21408 conftest$ac_exeext conftest.$ac_ext
21409 LIBS=$ac_check_lib_save_LIBS
21410 fi
21411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanl" >&5
21412 $as_echo "$ac_cv_lib_m_tanl" >&6; }
21413 if test "x$ac_cv_lib_m_tanl" = x""yes; then :
21414
21415 $as_echo "#define HAVE_TANL 1" >>confdefs.h
21416
21417 fi
21418
21419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
21420 $as_echo_n "checking for ctanf in -lm... " >&6; }
21421 if test "${ac_cv_lib_m_ctanf+set}" = set; then :
21422 $as_echo_n "(cached) " >&6
21423 else
21424 ac_check_lib_save_LIBS=$LIBS
21425 LIBS="-lm $LIBS"
21426 if test x$gcc_no_link = xyes; then
21427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21428 fi
21429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21430 /* end confdefs.h. */
21431
21432 /* Override any GCC internal prototype to avoid an error.
21433 Use char because int might match the return type of a GCC
21434 builtin and then its argument prototype would still apply. */
21435 #ifdef __cplusplus
21436 extern "C"
21437 #endif
21438 char ctanf ();
21439 int
21440 main ()
21441 {
21442 return ctanf ();
21443 ;
21444 return 0;
21445 }
21446 _ACEOF
21447 if ac_fn_c_try_link "$LINENO"; then :
21448 ac_cv_lib_m_ctanf=yes
21449 else
21450 ac_cv_lib_m_ctanf=no
21451 fi
21452 rm -f core conftest.err conftest.$ac_objext \
21453 conftest$ac_exeext conftest.$ac_ext
21454 LIBS=$ac_check_lib_save_LIBS
21455 fi
21456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanf" >&5
21457 $as_echo "$ac_cv_lib_m_ctanf" >&6; }
21458 if test "x$ac_cv_lib_m_ctanf" = x""yes; then :
21459
21460 $as_echo "#define HAVE_CTANF 1" >>confdefs.h
21461
21462 fi
21463
21464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
21465 $as_echo_n "checking for ctan in -lm... " >&6; }
21466 if test "${ac_cv_lib_m_ctan+set}" = set; then :
21467 $as_echo_n "(cached) " >&6
21468 else
21469 ac_check_lib_save_LIBS=$LIBS
21470 LIBS="-lm $LIBS"
21471 if test x$gcc_no_link = xyes; then
21472 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21473 fi
21474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21475 /* end confdefs.h. */
21476
21477 /* Override any GCC internal prototype to avoid an error.
21478 Use char because int might match the return type of a GCC
21479 builtin and then its argument prototype would still apply. */
21480 #ifdef __cplusplus
21481 extern "C"
21482 #endif
21483 char ctan ();
21484 int
21485 main ()
21486 {
21487 return ctan ();
21488 ;
21489 return 0;
21490 }
21491 _ACEOF
21492 if ac_fn_c_try_link "$LINENO"; then :
21493 ac_cv_lib_m_ctan=yes
21494 else
21495 ac_cv_lib_m_ctan=no
21496 fi
21497 rm -f core conftest.err conftest.$ac_objext \
21498 conftest$ac_exeext conftest.$ac_ext
21499 LIBS=$ac_check_lib_save_LIBS
21500 fi
21501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctan" >&5
21502 $as_echo "$ac_cv_lib_m_ctan" >&6; }
21503 if test "x$ac_cv_lib_m_ctan" = x""yes; then :
21504
21505 $as_echo "#define HAVE_CTAN 1" >>confdefs.h
21506
21507 fi
21508
21509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
21510 $as_echo_n "checking for ctanl in -lm... " >&6; }
21511 if test "${ac_cv_lib_m_ctanl+set}" = set; then :
21512 $as_echo_n "(cached) " >&6
21513 else
21514 ac_check_lib_save_LIBS=$LIBS
21515 LIBS="-lm $LIBS"
21516 if test x$gcc_no_link = xyes; then
21517 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21518 fi
21519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21520 /* end confdefs.h. */
21521
21522 /* Override any GCC internal prototype to avoid an error.
21523 Use char because int might match the return type of a GCC
21524 builtin and then its argument prototype would still apply. */
21525 #ifdef __cplusplus
21526 extern "C"
21527 #endif
21528 char ctanl ();
21529 int
21530 main ()
21531 {
21532 return ctanl ();
21533 ;
21534 return 0;
21535 }
21536 _ACEOF
21537 if ac_fn_c_try_link "$LINENO"; then :
21538 ac_cv_lib_m_ctanl=yes
21539 else
21540 ac_cv_lib_m_ctanl=no
21541 fi
21542 rm -f core conftest.err conftest.$ac_objext \
21543 conftest$ac_exeext conftest.$ac_ext
21544 LIBS=$ac_check_lib_save_LIBS
21545 fi
21546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanl" >&5
21547 $as_echo "$ac_cv_lib_m_ctanl" >&6; }
21548 if test "x$ac_cv_lib_m_ctanl" = x""yes; then :
21549
21550 $as_echo "#define HAVE_CTANL 1" >>confdefs.h
21551
21552 fi
21553
21554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
21555 $as_echo_n "checking for tanhf in -lm... " >&6; }
21556 if test "${ac_cv_lib_m_tanhf+set}" = set; then :
21557 $as_echo_n "(cached) " >&6
21558 else
21559 ac_check_lib_save_LIBS=$LIBS
21560 LIBS="-lm $LIBS"
21561 if test x$gcc_no_link = xyes; then
21562 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21563 fi
21564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21565 /* end confdefs.h. */
21566
21567 /* Override any GCC internal prototype to avoid an error.
21568 Use char because int might match the return type of a GCC
21569 builtin and then its argument prototype would still apply. */
21570 #ifdef __cplusplus
21571 extern "C"
21572 #endif
21573 char tanhf ();
21574 int
21575 main ()
21576 {
21577 return tanhf ();
21578 ;
21579 return 0;
21580 }
21581 _ACEOF
21582 if ac_fn_c_try_link "$LINENO"; then :
21583 ac_cv_lib_m_tanhf=yes
21584 else
21585 ac_cv_lib_m_tanhf=no
21586 fi
21587 rm -f core conftest.err conftest.$ac_objext \
21588 conftest$ac_exeext conftest.$ac_ext
21589 LIBS=$ac_check_lib_save_LIBS
21590 fi
21591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhf" >&5
21592 $as_echo "$ac_cv_lib_m_tanhf" >&6; }
21593 if test "x$ac_cv_lib_m_tanhf" = x""yes; then :
21594
21595 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
21596
21597 fi
21598
21599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
21600 $as_echo_n "checking for tanh in -lm... " >&6; }
21601 if test "${ac_cv_lib_m_tanh+set}" = set; then :
21602 $as_echo_n "(cached) " >&6
21603 else
21604 ac_check_lib_save_LIBS=$LIBS
21605 LIBS="-lm $LIBS"
21606 if test x$gcc_no_link = xyes; then
21607 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21608 fi
21609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21610 /* end confdefs.h. */
21611
21612 /* Override any GCC internal prototype to avoid an error.
21613 Use char because int might match the return type of a GCC
21614 builtin and then its argument prototype would still apply. */
21615 #ifdef __cplusplus
21616 extern "C"
21617 #endif
21618 char tanh ();
21619 int
21620 main ()
21621 {
21622 return tanh ();
21623 ;
21624 return 0;
21625 }
21626 _ACEOF
21627 if ac_fn_c_try_link "$LINENO"; then :
21628 ac_cv_lib_m_tanh=yes
21629 else
21630 ac_cv_lib_m_tanh=no
21631 fi
21632 rm -f core conftest.err conftest.$ac_objext \
21633 conftest$ac_exeext conftest.$ac_ext
21634 LIBS=$ac_check_lib_save_LIBS
21635 fi
21636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanh" >&5
21637 $as_echo "$ac_cv_lib_m_tanh" >&6; }
21638 if test "x$ac_cv_lib_m_tanh" = x""yes; then :
21639
21640 $as_echo "#define HAVE_TANH 1" >>confdefs.h
21641
21642 fi
21643
21644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
21645 $as_echo_n "checking for tanhl in -lm... " >&6; }
21646 if test "${ac_cv_lib_m_tanhl+set}" = set; then :
21647 $as_echo_n "(cached) " >&6
21648 else
21649 ac_check_lib_save_LIBS=$LIBS
21650 LIBS="-lm $LIBS"
21651 if test x$gcc_no_link = xyes; then
21652 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21653 fi
21654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21655 /* end confdefs.h. */
21656
21657 /* Override any GCC internal prototype to avoid an error.
21658 Use char because int might match the return type of a GCC
21659 builtin and then its argument prototype would still apply. */
21660 #ifdef __cplusplus
21661 extern "C"
21662 #endif
21663 char tanhl ();
21664 int
21665 main ()
21666 {
21667 return tanhl ();
21668 ;
21669 return 0;
21670 }
21671 _ACEOF
21672 if ac_fn_c_try_link "$LINENO"; then :
21673 ac_cv_lib_m_tanhl=yes
21674 else
21675 ac_cv_lib_m_tanhl=no
21676 fi
21677 rm -f core conftest.err conftest.$ac_objext \
21678 conftest$ac_exeext conftest.$ac_ext
21679 LIBS=$ac_check_lib_save_LIBS
21680 fi
21681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhl" >&5
21682 $as_echo "$ac_cv_lib_m_tanhl" >&6; }
21683 if test "x$ac_cv_lib_m_tanhl" = x""yes; then :
21684
21685 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
21686
21687 fi
21688
21689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
21690 $as_echo_n "checking for ctanhf in -lm... " >&6; }
21691 if test "${ac_cv_lib_m_ctanhf+set}" = set; then :
21692 $as_echo_n "(cached) " >&6
21693 else
21694 ac_check_lib_save_LIBS=$LIBS
21695 LIBS="-lm $LIBS"
21696 if test x$gcc_no_link = xyes; then
21697 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21698 fi
21699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21700 /* end confdefs.h. */
21701
21702 /* Override any GCC internal prototype to avoid an error.
21703 Use char because int might match the return type of a GCC
21704 builtin and then its argument prototype would still apply. */
21705 #ifdef __cplusplus
21706 extern "C"
21707 #endif
21708 char ctanhf ();
21709 int
21710 main ()
21711 {
21712 return ctanhf ();
21713 ;
21714 return 0;
21715 }
21716 _ACEOF
21717 if ac_fn_c_try_link "$LINENO"; then :
21718 ac_cv_lib_m_ctanhf=yes
21719 else
21720 ac_cv_lib_m_ctanhf=no
21721 fi
21722 rm -f core conftest.err conftest.$ac_objext \
21723 conftest$ac_exeext conftest.$ac_ext
21724 LIBS=$ac_check_lib_save_LIBS
21725 fi
21726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhf" >&5
21727 $as_echo "$ac_cv_lib_m_ctanhf" >&6; }
21728 if test "x$ac_cv_lib_m_ctanhf" = x""yes; then :
21729
21730 $as_echo "#define HAVE_CTANHF 1" >>confdefs.h
21731
21732 fi
21733
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
21735 $as_echo_n "checking for ctanh in -lm... " >&6; }
21736 if test "${ac_cv_lib_m_ctanh+set}" = set; then :
21737 $as_echo_n "(cached) " >&6
21738 else
21739 ac_check_lib_save_LIBS=$LIBS
21740 LIBS="-lm $LIBS"
21741 if test x$gcc_no_link = xyes; then
21742 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21743 fi
21744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21745 /* end confdefs.h. */
21746
21747 /* Override any GCC internal prototype to avoid an error.
21748 Use char because int might match the return type of a GCC
21749 builtin and then its argument prototype would still apply. */
21750 #ifdef __cplusplus
21751 extern "C"
21752 #endif
21753 char ctanh ();
21754 int
21755 main ()
21756 {
21757 return ctanh ();
21758 ;
21759 return 0;
21760 }
21761 _ACEOF
21762 if ac_fn_c_try_link "$LINENO"; then :
21763 ac_cv_lib_m_ctanh=yes
21764 else
21765 ac_cv_lib_m_ctanh=no
21766 fi
21767 rm -f core conftest.err conftest.$ac_objext \
21768 conftest$ac_exeext conftest.$ac_ext
21769 LIBS=$ac_check_lib_save_LIBS
21770 fi
21771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanh" >&5
21772 $as_echo "$ac_cv_lib_m_ctanh" >&6; }
21773 if test "x$ac_cv_lib_m_ctanh" = x""yes; then :
21774
21775 $as_echo "#define HAVE_CTANH 1" >>confdefs.h
21776
21777 fi
21778
21779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
21780 $as_echo_n "checking for ctanhl in -lm... " >&6; }
21781 if test "${ac_cv_lib_m_ctanhl+set}" = set; then :
21782 $as_echo_n "(cached) " >&6
21783 else
21784 ac_check_lib_save_LIBS=$LIBS
21785 LIBS="-lm $LIBS"
21786 if test x$gcc_no_link = xyes; then
21787 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21788 fi
21789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21790 /* end confdefs.h. */
21791
21792 /* Override any GCC internal prototype to avoid an error.
21793 Use char because int might match the return type of a GCC
21794 builtin and then its argument prototype would still apply. */
21795 #ifdef __cplusplus
21796 extern "C"
21797 #endif
21798 char ctanhl ();
21799 int
21800 main ()
21801 {
21802 return ctanhl ();
21803 ;
21804 return 0;
21805 }
21806 _ACEOF
21807 if ac_fn_c_try_link "$LINENO"; then :
21808 ac_cv_lib_m_ctanhl=yes
21809 else
21810 ac_cv_lib_m_ctanhl=no
21811 fi
21812 rm -f core conftest.err conftest.$ac_objext \
21813 conftest$ac_exeext conftest.$ac_ext
21814 LIBS=$ac_check_lib_save_LIBS
21815 fi
21816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhl" >&5
21817 $as_echo "$ac_cv_lib_m_ctanhl" >&6; }
21818 if test "x$ac_cv_lib_m_ctanhl" = x""yes; then :
21819
21820 $as_echo "#define HAVE_CTANHL 1" >>confdefs.h
21821
21822 fi
21823
21824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
21825 $as_echo_n "checking for truncf in -lm... " >&6; }
21826 if test "${ac_cv_lib_m_truncf+set}" = set; then :
21827 $as_echo_n "(cached) " >&6
21828 else
21829 ac_check_lib_save_LIBS=$LIBS
21830 LIBS="-lm $LIBS"
21831 if test x$gcc_no_link = xyes; then
21832 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21833 fi
21834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21835 /* end confdefs.h. */
21836
21837 /* Override any GCC internal prototype to avoid an error.
21838 Use char because int might match the return type of a GCC
21839 builtin and then its argument prototype would still apply. */
21840 #ifdef __cplusplus
21841 extern "C"
21842 #endif
21843 char truncf ();
21844 int
21845 main ()
21846 {
21847 return truncf ();
21848 ;
21849 return 0;
21850 }
21851 _ACEOF
21852 if ac_fn_c_try_link "$LINENO"; then :
21853 ac_cv_lib_m_truncf=yes
21854 else
21855 ac_cv_lib_m_truncf=no
21856 fi
21857 rm -f core conftest.err conftest.$ac_objext \
21858 conftest$ac_exeext conftest.$ac_ext
21859 LIBS=$ac_check_lib_save_LIBS
21860 fi
21861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncf" >&5
21862 $as_echo "$ac_cv_lib_m_truncf" >&6; }
21863 if test "x$ac_cv_lib_m_truncf" = x""yes; then :
21864
21865 $as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
21866
21867 fi
21868
21869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
21870 $as_echo_n "checking for trunc in -lm... " >&6; }
21871 if test "${ac_cv_lib_m_trunc+set}" = set; then :
21872 $as_echo_n "(cached) " >&6
21873 else
21874 ac_check_lib_save_LIBS=$LIBS
21875 LIBS="-lm $LIBS"
21876 if test x$gcc_no_link = xyes; then
21877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21878 fi
21879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21880 /* end confdefs.h. */
21881
21882 /* Override any GCC internal prototype to avoid an error.
21883 Use char because int might match the return type of a GCC
21884 builtin and then its argument prototype would still apply. */
21885 #ifdef __cplusplus
21886 extern "C"
21887 #endif
21888 char trunc ();
21889 int
21890 main ()
21891 {
21892 return trunc ();
21893 ;
21894 return 0;
21895 }
21896 _ACEOF
21897 if ac_fn_c_try_link "$LINENO"; then :
21898 ac_cv_lib_m_trunc=yes
21899 else
21900 ac_cv_lib_m_trunc=no
21901 fi
21902 rm -f core conftest.err conftest.$ac_objext \
21903 conftest$ac_exeext conftest.$ac_ext
21904 LIBS=$ac_check_lib_save_LIBS
21905 fi
21906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
21907 $as_echo "$ac_cv_lib_m_trunc" >&6; }
21908 if test "x$ac_cv_lib_m_trunc" = x""yes; then :
21909
21910 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
21911
21912 fi
21913
21914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
21915 $as_echo_n "checking for truncl in -lm... " >&6; }
21916 if test "${ac_cv_lib_m_truncl+set}" = set; then :
21917 $as_echo_n "(cached) " >&6
21918 else
21919 ac_check_lib_save_LIBS=$LIBS
21920 LIBS="-lm $LIBS"
21921 if test x$gcc_no_link = xyes; then
21922 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21923 fi
21924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21925 /* end confdefs.h. */
21926
21927 /* Override any GCC internal prototype to avoid an error.
21928 Use char because int might match the return type of a GCC
21929 builtin and then its argument prototype would still apply. */
21930 #ifdef __cplusplus
21931 extern "C"
21932 #endif
21933 char truncl ();
21934 int
21935 main ()
21936 {
21937 return truncl ();
21938 ;
21939 return 0;
21940 }
21941 _ACEOF
21942 if ac_fn_c_try_link "$LINENO"; then :
21943 ac_cv_lib_m_truncl=yes
21944 else
21945 ac_cv_lib_m_truncl=no
21946 fi
21947 rm -f core conftest.err conftest.$ac_objext \
21948 conftest$ac_exeext conftest.$ac_ext
21949 LIBS=$ac_check_lib_save_LIBS
21950 fi
21951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncl" >&5
21952 $as_echo "$ac_cv_lib_m_truncl" >&6; }
21953 if test "x$ac_cv_lib_m_truncl" = x""yes; then :
21954
21955 $as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
21956
21957 fi
21958
21959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
21960 $as_echo_n "checking for erff in -lm... " >&6; }
21961 if test "${ac_cv_lib_m_erff+set}" = set; then :
21962 $as_echo_n "(cached) " >&6
21963 else
21964 ac_check_lib_save_LIBS=$LIBS
21965 LIBS="-lm $LIBS"
21966 if test x$gcc_no_link = xyes; then
21967 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21968 fi
21969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21970 /* end confdefs.h. */
21971
21972 /* Override any GCC internal prototype to avoid an error.
21973 Use char because int might match the return type of a GCC
21974 builtin and then its argument prototype would still apply. */
21975 #ifdef __cplusplus
21976 extern "C"
21977 #endif
21978 char erff ();
21979 int
21980 main ()
21981 {
21982 return erff ();
21983 ;
21984 return 0;
21985 }
21986 _ACEOF
21987 if ac_fn_c_try_link "$LINENO"; then :
21988 ac_cv_lib_m_erff=yes
21989 else
21990 ac_cv_lib_m_erff=no
21991 fi
21992 rm -f core conftest.err conftest.$ac_objext \
21993 conftest$ac_exeext conftest.$ac_ext
21994 LIBS=$ac_check_lib_save_LIBS
21995 fi
21996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erff" >&5
21997 $as_echo "$ac_cv_lib_m_erff" >&6; }
21998 if test "x$ac_cv_lib_m_erff" = x""yes; then :
21999
22000 $as_echo "#define HAVE_ERFF 1" >>confdefs.h
22001
22002 fi
22003
22004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
22005 $as_echo_n "checking for erf in -lm... " >&6; }
22006 if test "${ac_cv_lib_m_erf+set}" = set; then :
22007 $as_echo_n "(cached) " >&6
22008 else
22009 ac_check_lib_save_LIBS=$LIBS
22010 LIBS="-lm $LIBS"
22011 if test x$gcc_no_link = xyes; then
22012 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22013 fi
22014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22015 /* end confdefs.h. */
22016
22017 /* Override any GCC internal prototype to avoid an error.
22018 Use char because int might match the return type of a GCC
22019 builtin and then its argument prototype would still apply. */
22020 #ifdef __cplusplus
22021 extern "C"
22022 #endif
22023 char erf ();
22024 int
22025 main ()
22026 {
22027 return erf ();
22028 ;
22029 return 0;
22030 }
22031 _ACEOF
22032 if ac_fn_c_try_link "$LINENO"; then :
22033 ac_cv_lib_m_erf=yes
22034 else
22035 ac_cv_lib_m_erf=no
22036 fi
22037 rm -f core conftest.err conftest.$ac_objext \
22038 conftest$ac_exeext conftest.$ac_ext
22039 LIBS=$ac_check_lib_save_LIBS
22040 fi
22041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erf" >&5
22042 $as_echo "$ac_cv_lib_m_erf" >&6; }
22043 if test "x$ac_cv_lib_m_erf" = x""yes; then :
22044
22045 $as_echo "#define HAVE_ERF 1" >>confdefs.h
22046
22047 fi
22048
22049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
22050 $as_echo_n "checking for erfl in -lm... " >&6; }
22051 if test "${ac_cv_lib_m_erfl+set}" = set; then :
22052 $as_echo_n "(cached) " >&6
22053 else
22054 ac_check_lib_save_LIBS=$LIBS
22055 LIBS="-lm $LIBS"
22056 if test x$gcc_no_link = xyes; then
22057 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22058 fi
22059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22060 /* end confdefs.h. */
22061
22062 /* Override any GCC internal prototype to avoid an error.
22063 Use char because int might match the return type of a GCC
22064 builtin and then its argument prototype would still apply. */
22065 #ifdef __cplusplus
22066 extern "C"
22067 #endif
22068 char erfl ();
22069 int
22070 main ()
22071 {
22072 return erfl ();
22073 ;
22074 return 0;
22075 }
22076 _ACEOF
22077 if ac_fn_c_try_link "$LINENO"; then :
22078 ac_cv_lib_m_erfl=yes
22079 else
22080 ac_cv_lib_m_erfl=no
22081 fi
22082 rm -f core conftest.err conftest.$ac_objext \
22083 conftest$ac_exeext conftest.$ac_ext
22084 LIBS=$ac_check_lib_save_LIBS
22085 fi
22086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfl" >&5
22087 $as_echo "$ac_cv_lib_m_erfl" >&6; }
22088 if test "x$ac_cv_lib_m_erfl" = x""yes; then :
22089
22090 $as_echo "#define HAVE_ERFL 1" >>confdefs.h
22091
22092 fi
22093
22094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22095 $as_echo_n "checking for erfcf in -lm... " >&6; }
22096 if test "${ac_cv_lib_m_erfcf+set}" = set; then :
22097 $as_echo_n "(cached) " >&6
22098 else
22099 ac_check_lib_save_LIBS=$LIBS
22100 LIBS="-lm $LIBS"
22101 if test x$gcc_no_link = xyes; then
22102 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22103 fi
22104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22105 /* end confdefs.h. */
22106
22107 /* Override any GCC internal prototype to avoid an error.
22108 Use char because int might match the return type of a GCC
22109 builtin and then its argument prototype would still apply. */
22110 #ifdef __cplusplus
22111 extern "C"
22112 #endif
22113 char erfcf ();
22114 int
22115 main ()
22116 {
22117 return erfcf ();
22118 ;
22119 return 0;
22120 }
22121 _ACEOF
22122 if ac_fn_c_try_link "$LINENO"; then :
22123 ac_cv_lib_m_erfcf=yes
22124 else
22125 ac_cv_lib_m_erfcf=no
22126 fi
22127 rm -f core conftest.err conftest.$ac_objext \
22128 conftest$ac_exeext conftest.$ac_ext
22129 LIBS=$ac_check_lib_save_LIBS
22130 fi
22131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcf" >&5
22132 $as_echo "$ac_cv_lib_m_erfcf" >&6; }
22133 if test "x$ac_cv_lib_m_erfcf" = x""yes; then :
22134
22135 $as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22136
22137 fi
22138
22139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22140 $as_echo_n "checking for erfc in -lm... " >&6; }
22141 if test "${ac_cv_lib_m_erfc+set}" = set; then :
22142 $as_echo_n "(cached) " >&6
22143 else
22144 ac_check_lib_save_LIBS=$LIBS
22145 LIBS="-lm $LIBS"
22146 if test x$gcc_no_link = xyes; then
22147 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22148 fi
22149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22150 /* end confdefs.h. */
22151
22152 /* Override any GCC internal prototype to avoid an error.
22153 Use char because int might match the return type of a GCC
22154 builtin and then its argument prototype would still apply. */
22155 #ifdef __cplusplus
22156 extern "C"
22157 #endif
22158 char erfc ();
22159 int
22160 main ()
22161 {
22162 return erfc ();
22163 ;
22164 return 0;
22165 }
22166 _ACEOF
22167 if ac_fn_c_try_link "$LINENO"; then :
22168 ac_cv_lib_m_erfc=yes
22169 else
22170 ac_cv_lib_m_erfc=no
22171 fi
22172 rm -f core conftest.err conftest.$ac_objext \
22173 conftest$ac_exeext conftest.$ac_ext
22174 LIBS=$ac_check_lib_save_LIBS
22175 fi
22176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfc" >&5
22177 $as_echo "$ac_cv_lib_m_erfc" >&6; }
22178 if test "x$ac_cv_lib_m_erfc" = x""yes; then :
22179
22180 $as_echo "#define HAVE_ERFC 1" >>confdefs.h
22181
22182 fi
22183
22184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22185 $as_echo_n "checking for erfcl in -lm... " >&6; }
22186 if test "${ac_cv_lib_m_erfcl+set}" = set; then :
22187 $as_echo_n "(cached) " >&6
22188 else
22189 ac_check_lib_save_LIBS=$LIBS
22190 LIBS="-lm $LIBS"
22191 if test x$gcc_no_link = xyes; then
22192 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22193 fi
22194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22195 /* end confdefs.h. */
22196
22197 /* Override any GCC internal prototype to avoid an error.
22198 Use char because int might match the return type of a GCC
22199 builtin and then its argument prototype would still apply. */
22200 #ifdef __cplusplus
22201 extern "C"
22202 #endif
22203 char erfcl ();
22204 int
22205 main ()
22206 {
22207 return erfcl ();
22208 ;
22209 return 0;
22210 }
22211 _ACEOF
22212 if ac_fn_c_try_link "$LINENO"; then :
22213 ac_cv_lib_m_erfcl=yes
22214 else
22215 ac_cv_lib_m_erfcl=no
22216 fi
22217 rm -f core conftest.err conftest.$ac_objext \
22218 conftest$ac_exeext conftest.$ac_ext
22219 LIBS=$ac_check_lib_save_LIBS
22220 fi
22221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcl" >&5
22222 $as_echo "$ac_cv_lib_m_erfcl" >&6; }
22223 if test "x$ac_cv_lib_m_erfcl" = x""yes; then :
22224
22225 $as_echo "#define HAVE_ERFCL 1" >>confdefs.h
22226
22227 fi
22228
22229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
22230 $as_echo_n "checking for j0f in -lm... " >&6; }
22231 if test "${ac_cv_lib_m_j0f+set}" = set; then :
22232 $as_echo_n "(cached) " >&6
22233 else
22234 ac_check_lib_save_LIBS=$LIBS
22235 LIBS="-lm $LIBS"
22236 if test x$gcc_no_link = xyes; then
22237 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22238 fi
22239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22240 /* end confdefs.h. */
22241
22242 /* Override any GCC internal prototype to avoid an error.
22243 Use char because int might match the return type of a GCC
22244 builtin and then its argument prototype would still apply. */
22245 #ifdef __cplusplus
22246 extern "C"
22247 #endif
22248 char j0f ();
22249 int
22250 main ()
22251 {
22252 return j0f ();
22253 ;
22254 return 0;
22255 }
22256 _ACEOF
22257 if ac_fn_c_try_link "$LINENO"; then :
22258 ac_cv_lib_m_j0f=yes
22259 else
22260 ac_cv_lib_m_j0f=no
22261 fi
22262 rm -f core conftest.err conftest.$ac_objext \
22263 conftest$ac_exeext conftest.$ac_ext
22264 LIBS=$ac_check_lib_save_LIBS
22265 fi
22266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0f" >&5
22267 $as_echo "$ac_cv_lib_m_j0f" >&6; }
22268 if test "x$ac_cv_lib_m_j0f" = x""yes; then :
22269
22270 $as_echo "#define HAVE_J0F 1" >>confdefs.h
22271
22272 fi
22273
22274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
22275 $as_echo_n "checking for j0 in -lm... " >&6; }
22276 if test "${ac_cv_lib_m_j0+set}" = set; then :
22277 $as_echo_n "(cached) " >&6
22278 else
22279 ac_check_lib_save_LIBS=$LIBS
22280 LIBS="-lm $LIBS"
22281 if test x$gcc_no_link = xyes; then
22282 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22283 fi
22284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22285 /* end confdefs.h. */
22286
22287 /* Override any GCC internal prototype to avoid an error.
22288 Use char because int might match the return type of a GCC
22289 builtin and then its argument prototype would still apply. */
22290 #ifdef __cplusplus
22291 extern "C"
22292 #endif
22293 char j0 ();
22294 int
22295 main ()
22296 {
22297 return j0 ();
22298 ;
22299 return 0;
22300 }
22301 _ACEOF
22302 if ac_fn_c_try_link "$LINENO"; then :
22303 ac_cv_lib_m_j0=yes
22304 else
22305 ac_cv_lib_m_j0=no
22306 fi
22307 rm -f core conftest.err conftest.$ac_objext \
22308 conftest$ac_exeext conftest.$ac_ext
22309 LIBS=$ac_check_lib_save_LIBS
22310 fi
22311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0" >&5
22312 $as_echo "$ac_cv_lib_m_j0" >&6; }
22313 if test "x$ac_cv_lib_m_j0" = x""yes; then :
22314
22315 $as_echo "#define HAVE_J0 1" >>confdefs.h
22316
22317 fi
22318
22319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
22320 $as_echo_n "checking for j0l in -lm... " >&6; }
22321 if test "${ac_cv_lib_m_j0l+set}" = set; then :
22322 $as_echo_n "(cached) " >&6
22323 else
22324 ac_check_lib_save_LIBS=$LIBS
22325 LIBS="-lm $LIBS"
22326 if test x$gcc_no_link = xyes; then
22327 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22328 fi
22329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22330 /* end confdefs.h. */
22331
22332 /* Override any GCC internal prototype to avoid an error.
22333 Use char because int might match the return type of a GCC
22334 builtin and then its argument prototype would still apply. */
22335 #ifdef __cplusplus
22336 extern "C"
22337 #endif
22338 char j0l ();
22339 int
22340 main ()
22341 {
22342 return j0l ();
22343 ;
22344 return 0;
22345 }
22346 _ACEOF
22347 if ac_fn_c_try_link "$LINENO"; then :
22348 ac_cv_lib_m_j0l=yes
22349 else
22350 ac_cv_lib_m_j0l=no
22351 fi
22352 rm -f core conftest.err conftest.$ac_objext \
22353 conftest$ac_exeext conftest.$ac_ext
22354 LIBS=$ac_check_lib_save_LIBS
22355 fi
22356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0l" >&5
22357 $as_echo "$ac_cv_lib_m_j0l" >&6; }
22358 if test "x$ac_cv_lib_m_j0l" = x""yes; then :
22359
22360 $as_echo "#define HAVE_J0L 1" >>confdefs.h
22361
22362 fi
22363
22364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
22365 $as_echo_n "checking for j1f in -lm... " >&6; }
22366 if test "${ac_cv_lib_m_j1f+set}" = set; then :
22367 $as_echo_n "(cached) " >&6
22368 else
22369 ac_check_lib_save_LIBS=$LIBS
22370 LIBS="-lm $LIBS"
22371 if test x$gcc_no_link = xyes; then
22372 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22373 fi
22374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22375 /* end confdefs.h. */
22376
22377 /* Override any GCC internal prototype to avoid an error.
22378 Use char because int might match the return type of a GCC
22379 builtin and then its argument prototype would still apply. */
22380 #ifdef __cplusplus
22381 extern "C"
22382 #endif
22383 char j1f ();
22384 int
22385 main ()
22386 {
22387 return j1f ();
22388 ;
22389 return 0;
22390 }
22391 _ACEOF
22392 if ac_fn_c_try_link "$LINENO"; then :
22393 ac_cv_lib_m_j1f=yes
22394 else
22395 ac_cv_lib_m_j1f=no
22396 fi
22397 rm -f core conftest.err conftest.$ac_objext \
22398 conftest$ac_exeext conftest.$ac_ext
22399 LIBS=$ac_check_lib_save_LIBS
22400 fi
22401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1f" >&5
22402 $as_echo "$ac_cv_lib_m_j1f" >&6; }
22403 if test "x$ac_cv_lib_m_j1f" = x""yes; then :
22404
22405 $as_echo "#define HAVE_J1F 1" >>confdefs.h
22406
22407 fi
22408
22409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
22410 $as_echo_n "checking for j1 in -lm... " >&6; }
22411 if test "${ac_cv_lib_m_j1+set}" = set; then :
22412 $as_echo_n "(cached) " >&6
22413 else
22414 ac_check_lib_save_LIBS=$LIBS
22415 LIBS="-lm $LIBS"
22416 if test x$gcc_no_link = xyes; then
22417 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22418 fi
22419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22420 /* end confdefs.h. */
22421
22422 /* Override any GCC internal prototype to avoid an error.
22423 Use char because int might match the return type of a GCC
22424 builtin and then its argument prototype would still apply. */
22425 #ifdef __cplusplus
22426 extern "C"
22427 #endif
22428 char j1 ();
22429 int
22430 main ()
22431 {
22432 return j1 ();
22433 ;
22434 return 0;
22435 }
22436 _ACEOF
22437 if ac_fn_c_try_link "$LINENO"; then :
22438 ac_cv_lib_m_j1=yes
22439 else
22440 ac_cv_lib_m_j1=no
22441 fi
22442 rm -f core conftest.err conftest.$ac_objext \
22443 conftest$ac_exeext conftest.$ac_ext
22444 LIBS=$ac_check_lib_save_LIBS
22445 fi
22446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1" >&5
22447 $as_echo "$ac_cv_lib_m_j1" >&6; }
22448 if test "x$ac_cv_lib_m_j1" = x""yes; then :
22449
22450 $as_echo "#define HAVE_J1 1" >>confdefs.h
22451
22452 fi
22453
22454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
22455 $as_echo_n "checking for j1l in -lm... " >&6; }
22456 if test "${ac_cv_lib_m_j1l+set}" = set; then :
22457 $as_echo_n "(cached) " >&6
22458 else
22459 ac_check_lib_save_LIBS=$LIBS
22460 LIBS="-lm $LIBS"
22461 if test x$gcc_no_link = xyes; then
22462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22463 fi
22464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22465 /* end confdefs.h. */
22466
22467 /* Override any GCC internal prototype to avoid an error.
22468 Use char because int might match the return type of a GCC
22469 builtin and then its argument prototype would still apply. */
22470 #ifdef __cplusplus
22471 extern "C"
22472 #endif
22473 char j1l ();
22474 int
22475 main ()
22476 {
22477 return j1l ();
22478 ;
22479 return 0;
22480 }
22481 _ACEOF
22482 if ac_fn_c_try_link "$LINENO"; then :
22483 ac_cv_lib_m_j1l=yes
22484 else
22485 ac_cv_lib_m_j1l=no
22486 fi
22487 rm -f core conftest.err conftest.$ac_objext \
22488 conftest$ac_exeext conftest.$ac_ext
22489 LIBS=$ac_check_lib_save_LIBS
22490 fi
22491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1l" >&5
22492 $as_echo "$ac_cv_lib_m_j1l" >&6; }
22493 if test "x$ac_cv_lib_m_j1l" = x""yes; then :
22494
22495 $as_echo "#define HAVE_J1L 1" >>confdefs.h
22496
22497 fi
22498
22499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
22500 $as_echo_n "checking for jnf in -lm... " >&6; }
22501 if test "${ac_cv_lib_m_jnf+set}" = set; then :
22502 $as_echo_n "(cached) " >&6
22503 else
22504 ac_check_lib_save_LIBS=$LIBS
22505 LIBS="-lm $LIBS"
22506 if test x$gcc_no_link = xyes; then
22507 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22508 fi
22509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22510 /* end confdefs.h. */
22511
22512 /* Override any GCC internal prototype to avoid an error.
22513 Use char because int might match the return type of a GCC
22514 builtin and then its argument prototype would still apply. */
22515 #ifdef __cplusplus
22516 extern "C"
22517 #endif
22518 char jnf ();
22519 int
22520 main ()
22521 {
22522 return jnf ();
22523 ;
22524 return 0;
22525 }
22526 _ACEOF
22527 if ac_fn_c_try_link "$LINENO"; then :
22528 ac_cv_lib_m_jnf=yes
22529 else
22530 ac_cv_lib_m_jnf=no
22531 fi
22532 rm -f core conftest.err conftest.$ac_objext \
22533 conftest$ac_exeext conftest.$ac_ext
22534 LIBS=$ac_check_lib_save_LIBS
22535 fi
22536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnf" >&5
22537 $as_echo "$ac_cv_lib_m_jnf" >&6; }
22538 if test "x$ac_cv_lib_m_jnf" = x""yes; then :
22539
22540 $as_echo "#define HAVE_JNF 1" >>confdefs.h
22541
22542 fi
22543
22544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
22545 $as_echo_n "checking for jn in -lm... " >&6; }
22546 if test "${ac_cv_lib_m_jn+set}" = set; then :
22547 $as_echo_n "(cached) " >&6
22548 else
22549 ac_check_lib_save_LIBS=$LIBS
22550 LIBS="-lm $LIBS"
22551 if test x$gcc_no_link = xyes; then
22552 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22553 fi
22554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22555 /* end confdefs.h. */
22556
22557 /* Override any GCC internal prototype to avoid an error.
22558 Use char because int might match the return type of a GCC
22559 builtin and then its argument prototype would still apply. */
22560 #ifdef __cplusplus
22561 extern "C"
22562 #endif
22563 char jn ();
22564 int
22565 main ()
22566 {
22567 return jn ();
22568 ;
22569 return 0;
22570 }
22571 _ACEOF
22572 if ac_fn_c_try_link "$LINENO"; then :
22573 ac_cv_lib_m_jn=yes
22574 else
22575 ac_cv_lib_m_jn=no
22576 fi
22577 rm -f core conftest.err conftest.$ac_objext \
22578 conftest$ac_exeext conftest.$ac_ext
22579 LIBS=$ac_check_lib_save_LIBS
22580 fi
22581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jn" >&5
22582 $as_echo "$ac_cv_lib_m_jn" >&6; }
22583 if test "x$ac_cv_lib_m_jn" = x""yes; then :
22584
22585 $as_echo "#define HAVE_JN 1" >>confdefs.h
22586
22587 fi
22588
22589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
22590 $as_echo_n "checking for jnl in -lm... " >&6; }
22591 if test "${ac_cv_lib_m_jnl+set}" = set; then :
22592 $as_echo_n "(cached) " >&6
22593 else
22594 ac_check_lib_save_LIBS=$LIBS
22595 LIBS="-lm $LIBS"
22596 if test x$gcc_no_link = xyes; then
22597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22598 fi
22599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22600 /* end confdefs.h. */
22601
22602 /* Override any GCC internal prototype to avoid an error.
22603 Use char because int might match the return type of a GCC
22604 builtin and then its argument prototype would still apply. */
22605 #ifdef __cplusplus
22606 extern "C"
22607 #endif
22608 char jnl ();
22609 int
22610 main ()
22611 {
22612 return jnl ();
22613 ;
22614 return 0;
22615 }
22616 _ACEOF
22617 if ac_fn_c_try_link "$LINENO"; then :
22618 ac_cv_lib_m_jnl=yes
22619 else
22620 ac_cv_lib_m_jnl=no
22621 fi
22622 rm -f core conftest.err conftest.$ac_objext \
22623 conftest$ac_exeext conftest.$ac_ext
22624 LIBS=$ac_check_lib_save_LIBS
22625 fi
22626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnl" >&5
22627 $as_echo "$ac_cv_lib_m_jnl" >&6; }
22628 if test "x$ac_cv_lib_m_jnl" = x""yes; then :
22629
22630 $as_echo "#define HAVE_JNL 1" >>confdefs.h
22631
22632 fi
22633
22634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
22635 $as_echo_n "checking for y0f in -lm... " >&6; }
22636 if test "${ac_cv_lib_m_y0f+set}" = set; then :
22637 $as_echo_n "(cached) " >&6
22638 else
22639 ac_check_lib_save_LIBS=$LIBS
22640 LIBS="-lm $LIBS"
22641 if test x$gcc_no_link = xyes; then
22642 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22643 fi
22644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22645 /* end confdefs.h. */
22646
22647 /* Override any GCC internal prototype to avoid an error.
22648 Use char because int might match the return type of a GCC
22649 builtin and then its argument prototype would still apply. */
22650 #ifdef __cplusplus
22651 extern "C"
22652 #endif
22653 char y0f ();
22654 int
22655 main ()
22656 {
22657 return y0f ();
22658 ;
22659 return 0;
22660 }
22661 _ACEOF
22662 if ac_fn_c_try_link "$LINENO"; then :
22663 ac_cv_lib_m_y0f=yes
22664 else
22665 ac_cv_lib_m_y0f=no
22666 fi
22667 rm -f core conftest.err conftest.$ac_objext \
22668 conftest$ac_exeext conftest.$ac_ext
22669 LIBS=$ac_check_lib_save_LIBS
22670 fi
22671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0f" >&5
22672 $as_echo "$ac_cv_lib_m_y0f" >&6; }
22673 if test "x$ac_cv_lib_m_y0f" = x""yes; then :
22674
22675 $as_echo "#define HAVE_Y0F 1" >>confdefs.h
22676
22677 fi
22678
22679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
22680 $as_echo_n "checking for y0 in -lm... " >&6; }
22681 if test "${ac_cv_lib_m_y0+set}" = set; then :
22682 $as_echo_n "(cached) " >&6
22683 else
22684 ac_check_lib_save_LIBS=$LIBS
22685 LIBS="-lm $LIBS"
22686 if test x$gcc_no_link = xyes; then
22687 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22688 fi
22689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22690 /* end confdefs.h. */
22691
22692 /* Override any GCC internal prototype to avoid an error.
22693 Use char because int might match the return type of a GCC
22694 builtin and then its argument prototype would still apply. */
22695 #ifdef __cplusplus
22696 extern "C"
22697 #endif
22698 char y0 ();
22699 int
22700 main ()
22701 {
22702 return y0 ();
22703 ;
22704 return 0;
22705 }
22706 _ACEOF
22707 if ac_fn_c_try_link "$LINENO"; then :
22708 ac_cv_lib_m_y0=yes
22709 else
22710 ac_cv_lib_m_y0=no
22711 fi
22712 rm -f core conftest.err conftest.$ac_objext \
22713 conftest$ac_exeext conftest.$ac_ext
22714 LIBS=$ac_check_lib_save_LIBS
22715 fi
22716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0" >&5
22717 $as_echo "$ac_cv_lib_m_y0" >&6; }
22718 if test "x$ac_cv_lib_m_y0" = x""yes; then :
22719
22720 $as_echo "#define HAVE_Y0 1" >>confdefs.h
22721
22722 fi
22723
22724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
22725 $as_echo_n "checking for y0l in -lm... " >&6; }
22726 if test "${ac_cv_lib_m_y0l+set}" = set; then :
22727 $as_echo_n "(cached) " >&6
22728 else
22729 ac_check_lib_save_LIBS=$LIBS
22730 LIBS="-lm $LIBS"
22731 if test x$gcc_no_link = xyes; then
22732 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22733 fi
22734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22735 /* end confdefs.h. */
22736
22737 /* Override any GCC internal prototype to avoid an error.
22738 Use char because int might match the return type of a GCC
22739 builtin and then its argument prototype would still apply. */
22740 #ifdef __cplusplus
22741 extern "C"
22742 #endif
22743 char y0l ();
22744 int
22745 main ()
22746 {
22747 return y0l ();
22748 ;
22749 return 0;
22750 }
22751 _ACEOF
22752 if ac_fn_c_try_link "$LINENO"; then :
22753 ac_cv_lib_m_y0l=yes
22754 else
22755 ac_cv_lib_m_y0l=no
22756 fi
22757 rm -f core conftest.err conftest.$ac_objext \
22758 conftest$ac_exeext conftest.$ac_ext
22759 LIBS=$ac_check_lib_save_LIBS
22760 fi
22761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0l" >&5
22762 $as_echo "$ac_cv_lib_m_y0l" >&6; }
22763 if test "x$ac_cv_lib_m_y0l" = x""yes; then :
22764
22765 $as_echo "#define HAVE_Y0L 1" >>confdefs.h
22766
22767 fi
22768
22769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
22770 $as_echo_n "checking for y1f in -lm... " >&6; }
22771 if test "${ac_cv_lib_m_y1f+set}" = set; then :
22772 $as_echo_n "(cached) " >&6
22773 else
22774 ac_check_lib_save_LIBS=$LIBS
22775 LIBS="-lm $LIBS"
22776 if test x$gcc_no_link = xyes; then
22777 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22778 fi
22779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22780 /* end confdefs.h. */
22781
22782 /* Override any GCC internal prototype to avoid an error.
22783 Use char because int might match the return type of a GCC
22784 builtin and then its argument prototype would still apply. */
22785 #ifdef __cplusplus
22786 extern "C"
22787 #endif
22788 char y1f ();
22789 int
22790 main ()
22791 {
22792 return y1f ();
22793 ;
22794 return 0;
22795 }
22796 _ACEOF
22797 if ac_fn_c_try_link "$LINENO"; then :
22798 ac_cv_lib_m_y1f=yes
22799 else
22800 ac_cv_lib_m_y1f=no
22801 fi
22802 rm -f core conftest.err conftest.$ac_objext \
22803 conftest$ac_exeext conftest.$ac_ext
22804 LIBS=$ac_check_lib_save_LIBS
22805 fi
22806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1f" >&5
22807 $as_echo "$ac_cv_lib_m_y1f" >&6; }
22808 if test "x$ac_cv_lib_m_y1f" = x""yes; then :
22809
22810 $as_echo "#define HAVE_Y1F 1" >>confdefs.h
22811
22812 fi
22813
22814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
22815 $as_echo_n "checking for y1 in -lm... " >&6; }
22816 if test "${ac_cv_lib_m_y1+set}" = set; then :
22817 $as_echo_n "(cached) " >&6
22818 else
22819 ac_check_lib_save_LIBS=$LIBS
22820 LIBS="-lm $LIBS"
22821 if test x$gcc_no_link = xyes; then
22822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22823 fi
22824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22825 /* end confdefs.h. */
22826
22827 /* Override any GCC internal prototype to avoid an error.
22828 Use char because int might match the return type of a GCC
22829 builtin and then its argument prototype would still apply. */
22830 #ifdef __cplusplus
22831 extern "C"
22832 #endif
22833 char y1 ();
22834 int
22835 main ()
22836 {
22837 return y1 ();
22838 ;
22839 return 0;
22840 }
22841 _ACEOF
22842 if ac_fn_c_try_link "$LINENO"; then :
22843 ac_cv_lib_m_y1=yes
22844 else
22845 ac_cv_lib_m_y1=no
22846 fi
22847 rm -f core conftest.err conftest.$ac_objext \
22848 conftest$ac_exeext conftest.$ac_ext
22849 LIBS=$ac_check_lib_save_LIBS
22850 fi
22851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1" >&5
22852 $as_echo "$ac_cv_lib_m_y1" >&6; }
22853 if test "x$ac_cv_lib_m_y1" = x""yes; then :
22854
22855 $as_echo "#define HAVE_Y1 1" >>confdefs.h
22856
22857 fi
22858
22859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
22860 $as_echo_n "checking for y1l in -lm... " >&6; }
22861 if test "${ac_cv_lib_m_y1l+set}" = set; then :
22862 $as_echo_n "(cached) " >&6
22863 else
22864 ac_check_lib_save_LIBS=$LIBS
22865 LIBS="-lm $LIBS"
22866 if test x$gcc_no_link = xyes; then
22867 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22868 fi
22869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22870 /* end confdefs.h. */
22871
22872 /* Override any GCC internal prototype to avoid an error.
22873 Use char because int might match the return type of a GCC
22874 builtin and then its argument prototype would still apply. */
22875 #ifdef __cplusplus
22876 extern "C"
22877 #endif
22878 char y1l ();
22879 int
22880 main ()
22881 {
22882 return y1l ();
22883 ;
22884 return 0;
22885 }
22886 _ACEOF
22887 if ac_fn_c_try_link "$LINENO"; then :
22888 ac_cv_lib_m_y1l=yes
22889 else
22890 ac_cv_lib_m_y1l=no
22891 fi
22892 rm -f core conftest.err conftest.$ac_objext \
22893 conftest$ac_exeext conftest.$ac_ext
22894 LIBS=$ac_check_lib_save_LIBS
22895 fi
22896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1l" >&5
22897 $as_echo "$ac_cv_lib_m_y1l" >&6; }
22898 if test "x$ac_cv_lib_m_y1l" = x""yes; then :
22899
22900 $as_echo "#define HAVE_Y1L 1" >>confdefs.h
22901
22902 fi
22903
22904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
22905 $as_echo_n "checking for ynf in -lm... " >&6; }
22906 if test "${ac_cv_lib_m_ynf+set}" = set; then :
22907 $as_echo_n "(cached) " >&6
22908 else
22909 ac_check_lib_save_LIBS=$LIBS
22910 LIBS="-lm $LIBS"
22911 if test x$gcc_no_link = xyes; then
22912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22913 fi
22914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22915 /* end confdefs.h. */
22916
22917 /* Override any GCC internal prototype to avoid an error.
22918 Use char because int might match the return type of a GCC
22919 builtin and then its argument prototype would still apply. */
22920 #ifdef __cplusplus
22921 extern "C"
22922 #endif
22923 char ynf ();
22924 int
22925 main ()
22926 {
22927 return ynf ();
22928 ;
22929 return 0;
22930 }
22931 _ACEOF
22932 if ac_fn_c_try_link "$LINENO"; then :
22933 ac_cv_lib_m_ynf=yes
22934 else
22935 ac_cv_lib_m_ynf=no
22936 fi
22937 rm -f core conftest.err conftest.$ac_objext \
22938 conftest$ac_exeext conftest.$ac_ext
22939 LIBS=$ac_check_lib_save_LIBS
22940 fi
22941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynf" >&5
22942 $as_echo "$ac_cv_lib_m_ynf" >&6; }
22943 if test "x$ac_cv_lib_m_ynf" = x""yes; then :
22944
22945 $as_echo "#define HAVE_YNF 1" >>confdefs.h
22946
22947 fi
22948
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
22950 $as_echo_n "checking for yn in -lm... " >&6; }
22951 if test "${ac_cv_lib_m_yn+set}" = set; then :
22952 $as_echo_n "(cached) " >&6
22953 else
22954 ac_check_lib_save_LIBS=$LIBS
22955 LIBS="-lm $LIBS"
22956 if test x$gcc_no_link = xyes; then
22957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22958 fi
22959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22960 /* end confdefs.h. */
22961
22962 /* Override any GCC internal prototype to avoid an error.
22963 Use char because int might match the return type of a GCC
22964 builtin and then its argument prototype would still apply. */
22965 #ifdef __cplusplus
22966 extern "C"
22967 #endif
22968 char yn ();
22969 int
22970 main ()
22971 {
22972 return yn ();
22973 ;
22974 return 0;
22975 }
22976 _ACEOF
22977 if ac_fn_c_try_link "$LINENO"; then :
22978 ac_cv_lib_m_yn=yes
22979 else
22980 ac_cv_lib_m_yn=no
22981 fi
22982 rm -f core conftest.err conftest.$ac_objext \
22983 conftest$ac_exeext conftest.$ac_ext
22984 LIBS=$ac_check_lib_save_LIBS
22985 fi
22986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_yn" >&5
22987 $as_echo "$ac_cv_lib_m_yn" >&6; }
22988 if test "x$ac_cv_lib_m_yn" = x""yes; then :
22989
22990 $as_echo "#define HAVE_YN 1" >>confdefs.h
22991
22992 fi
22993
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
22995 $as_echo_n "checking for ynl in -lm... " >&6; }
22996 if test "${ac_cv_lib_m_ynl+set}" = set; then :
22997 $as_echo_n "(cached) " >&6
22998 else
22999 ac_check_lib_save_LIBS=$LIBS
23000 LIBS="-lm $LIBS"
23001 if test x$gcc_no_link = xyes; then
23002 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23003 fi
23004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23005 /* end confdefs.h. */
23006
23007 /* Override any GCC internal prototype to avoid an error.
23008 Use char because int might match the return type of a GCC
23009 builtin and then its argument prototype would still apply. */
23010 #ifdef __cplusplus
23011 extern "C"
23012 #endif
23013 char ynl ();
23014 int
23015 main ()
23016 {
23017 return ynl ();
23018 ;
23019 return 0;
23020 }
23021 _ACEOF
23022 if ac_fn_c_try_link "$LINENO"; then :
23023 ac_cv_lib_m_ynl=yes
23024 else
23025 ac_cv_lib_m_ynl=no
23026 fi
23027 rm -f core conftest.err conftest.$ac_objext \
23028 conftest$ac_exeext conftest.$ac_ext
23029 LIBS=$ac_check_lib_save_LIBS
23030 fi
23031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynl" >&5
23032 $as_echo "$ac_cv_lib_m_ynl" >&6; }
23033 if test "x$ac_cv_lib_m_ynl" = x""yes; then :
23034
23035 $as_echo "#define HAVE_YNL 1" >>confdefs.h
23036
23037 fi
23038
23039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
23040 $as_echo_n "checking for tgamma in -lm... " >&6; }
23041 if test "${ac_cv_lib_m_tgamma+set}" = set; then :
23042 $as_echo_n "(cached) " >&6
23043 else
23044 ac_check_lib_save_LIBS=$LIBS
23045 LIBS="-lm $LIBS"
23046 if test x$gcc_no_link = xyes; then
23047 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23048 fi
23049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23050 /* end confdefs.h. */
23051
23052 /* Override any GCC internal prototype to avoid an error.
23053 Use char because int might match the return type of a GCC
23054 builtin and then its argument prototype would still apply. */
23055 #ifdef __cplusplus
23056 extern "C"
23057 #endif
23058 char tgamma ();
23059 int
23060 main ()
23061 {
23062 return tgamma ();
23063 ;
23064 return 0;
23065 }
23066 _ACEOF
23067 if ac_fn_c_try_link "$LINENO"; then :
23068 ac_cv_lib_m_tgamma=yes
23069 else
23070 ac_cv_lib_m_tgamma=no
23071 fi
23072 rm -f core conftest.err conftest.$ac_objext \
23073 conftest$ac_exeext conftest.$ac_ext
23074 LIBS=$ac_check_lib_save_LIBS
23075 fi
23076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgamma" >&5
23077 $as_echo "$ac_cv_lib_m_tgamma" >&6; }
23078 if test "x$ac_cv_lib_m_tgamma" = x""yes; then :
23079
23080 $as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23081
23082 fi
23083
23084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23085 $as_echo_n "checking for tgammaf in -lm... " >&6; }
23086 if test "${ac_cv_lib_m_tgammaf+set}" = set; then :
23087 $as_echo_n "(cached) " >&6
23088 else
23089 ac_check_lib_save_LIBS=$LIBS
23090 LIBS="-lm $LIBS"
23091 if test x$gcc_no_link = xyes; then
23092 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23093 fi
23094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23095 /* end confdefs.h. */
23096
23097 /* Override any GCC internal prototype to avoid an error.
23098 Use char because int might match the return type of a GCC
23099 builtin and then its argument prototype would still apply. */
23100 #ifdef __cplusplus
23101 extern "C"
23102 #endif
23103 char tgammaf ();
23104 int
23105 main ()
23106 {
23107 return tgammaf ();
23108 ;
23109 return 0;
23110 }
23111 _ACEOF
23112 if ac_fn_c_try_link "$LINENO"; then :
23113 ac_cv_lib_m_tgammaf=yes
23114 else
23115 ac_cv_lib_m_tgammaf=no
23116 fi
23117 rm -f core conftest.err conftest.$ac_objext \
23118 conftest$ac_exeext conftest.$ac_ext
23119 LIBS=$ac_check_lib_save_LIBS
23120 fi
23121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammaf" >&5
23122 $as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23123 if test "x$ac_cv_lib_m_tgammaf" = x""yes; then :
23124
23125 $as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23126
23127 fi
23128
23129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23130 $as_echo_n "checking for tgammal in -lm... " >&6; }
23131 if test "${ac_cv_lib_m_tgammal+set}" = set; then :
23132 $as_echo_n "(cached) " >&6
23133 else
23134 ac_check_lib_save_LIBS=$LIBS
23135 LIBS="-lm $LIBS"
23136 if test x$gcc_no_link = xyes; then
23137 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23138 fi
23139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23140 /* end confdefs.h. */
23141
23142 /* Override any GCC internal prototype to avoid an error.
23143 Use char because int might match the return type of a GCC
23144 builtin and then its argument prototype would still apply. */
23145 #ifdef __cplusplus
23146 extern "C"
23147 #endif
23148 char tgammal ();
23149 int
23150 main ()
23151 {
23152 return tgammal ();
23153 ;
23154 return 0;
23155 }
23156 _ACEOF
23157 if ac_fn_c_try_link "$LINENO"; then :
23158 ac_cv_lib_m_tgammal=yes
23159 else
23160 ac_cv_lib_m_tgammal=no
23161 fi
23162 rm -f core conftest.err conftest.$ac_objext \
23163 conftest$ac_exeext conftest.$ac_ext
23164 LIBS=$ac_check_lib_save_LIBS
23165 fi
23166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammal" >&5
23167 $as_echo "$ac_cv_lib_m_tgammal" >&6; }
23168 if test "x$ac_cv_lib_m_tgammal" = x""yes; then :
23169
23170 $as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23171
23172 fi
23173
23174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23175 $as_echo_n "checking for lgamma in -lm... " >&6; }
23176 if test "${ac_cv_lib_m_lgamma+set}" = set; then :
23177 $as_echo_n "(cached) " >&6
23178 else
23179 ac_check_lib_save_LIBS=$LIBS
23180 LIBS="-lm $LIBS"
23181 if test x$gcc_no_link = xyes; then
23182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23183 fi
23184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23185 /* end confdefs.h. */
23186
23187 /* Override any GCC internal prototype to avoid an error.
23188 Use char because int might match the return type of a GCC
23189 builtin and then its argument prototype would still apply. */
23190 #ifdef __cplusplus
23191 extern "C"
23192 #endif
23193 char lgamma ();
23194 int
23195 main ()
23196 {
23197 return lgamma ();
23198 ;
23199 return 0;
23200 }
23201 _ACEOF
23202 if ac_fn_c_try_link "$LINENO"; then :
23203 ac_cv_lib_m_lgamma=yes
23204 else
23205 ac_cv_lib_m_lgamma=no
23206 fi
23207 rm -f core conftest.err conftest.$ac_objext \
23208 conftest$ac_exeext conftest.$ac_ext
23209 LIBS=$ac_check_lib_save_LIBS
23210 fi
23211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgamma" >&5
23212 $as_echo "$ac_cv_lib_m_lgamma" >&6; }
23213 if test "x$ac_cv_lib_m_lgamma" = x""yes; then :
23214
23215 $as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23216
23217 fi
23218
23219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23220 $as_echo_n "checking for lgammaf in -lm... " >&6; }
23221 if test "${ac_cv_lib_m_lgammaf+set}" = set; then :
23222 $as_echo_n "(cached) " >&6
23223 else
23224 ac_check_lib_save_LIBS=$LIBS
23225 LIBS="-lm $LIBS"
23226 if test x$gcc_no_link = xyes; then
23227 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23228 fi
23229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23230 /* end confdefs.h. */
23231
23232 /* Override any GCC internal prototype to avoid an error.
23233 Use char because int might match the return type of a GCC
23234 builtin and then its argument prototype would still apply. */
23235 #ifdef __cplusplus
23236 extern "C"
23237 #endif
23238 char lgammaf ();
23239 int
23240 main ()
23241 {
23242 return lgammaf ();
23243 ;
23244 return 0;
23245 }
23246 _ACEOF
23247 if ac_fn_c_try_link "$LINENO"; then :
23248 ac_cv_lib_m_lgammaf=yes
23249 else
23250 ac_cv_lib_m_lgammaf=no
23251 fi
23252 rm -f core conftest.err conftest.$ac_objext \
23253 conftest$ac_exeext conftest.$ac_ext
23254 LIBS=$ac_check_lib_save_LIBS
23255 fi
23256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammaf" >&5
23257 $as_echo "$ac_cv_lib_m_lgammaf" >&6; }
23258 if test "x$ac_cv_lib_m_lgammaf" = x""yes; then :
23259
23260 $as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
23261
23262 fi
23263
23264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
23265 $as_echo_n "checking for lgammal in -lm... " >&6; }
23266 if test "${ac_cv_lib_m_lgammal+set}" = set; then :
23267 $as_echo_n "(cached) " >&6
23268 else
23269 ac_check_lib_save_LIBS=$LIBS
23270 LIBS="-lm $LIBS"
23271 if test x$gcc_no_link = xyes; then
23272 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23273 fi
23274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23275 /* end confdefs.h. */
23276
23277 /* Override any GCC internal prototype to avoid an error.
23278 Use char because int might match the return type of a GCC
23279 builtin and then its argument prototype would still apply. */
23280 #ifdef __cplusplus
23281 extern "C"
23282 #endif
23283 char lgammal ();
23284 int
23285 main ()
23286 {
23287 return lgammal ();
23288 ;
23289 return 0;
23290 }
23291 _ACEOF
23292 if ac_fn_c_try_link "$LINENO"; then :
23293 ac_cv_lib_m_lgammal=yes
23294 else
23295 ac_cv_lib_m_lgammal=no
23296 fi
23297 rm -f core conftest.err conftest.$ac_objext \
23298 conftest$ac_exeext conftest.$ac_ext
23299 LIBS=$ac_check_lib_save_LIBS
23300 fi
23301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammal" >&5
23302 $as_echo "$ac_cv_lib_m_lgammal" >&6; }
23303 if test "x$ac_cv_lib_m_lgammal" = x""yes; then :
23304
23305 $as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
23306
23307 fi
23308
23309
23310 # Check for GFORTRAN_C99_1.1 funcs
23311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos in -lm" >&5
23312 $as_echo_n "checking for cacos in -lm... " >&6; }
23313 if test "${ac_cv_lib_m_cacos+set}" = set; then :
23314 $as_echo_n "(cached) " >&6
23315 else
23316 ac_check_lib_save_LIBS=$LIBS
23317 LIBS="-lm $LIBS"
23318 if test x$gcc_no_link = xyes; then
23319 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23320 fi
23321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23322 /* end confdefs.h. */
23323
23324 /* Override any GCC internal prototype to avoid an error.
23325 Use char because int might match the return type of a GCC
23326 builtin and then its argument prototype would still apply. */
23327 #ifdef __cplusplus
23328 extern "C"
23329 #endif
23330 char cacos ();
23331 int
23332 main ()
23333 {
23334 return cacos ();
23335 ;
23336 return 0;
23337 }
23338 _ACEOF
23339 if ac_fn_c_try_link "$LINENO"; then :
23340 ac_cv_lib_m_cacos=yes
23341 else
23342 ac_cv_lib_m_cacos=no
23343 fi
23344 rm -f core conftest.err conftest.$ac_objext \
23345 conftest$ac_exeext conftest.$ac_ext
23346 LIBS=$ac_check_lib_save_LIBS
23347 fi
23348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacos" >&5
23349 $as_echo "$ac_cv_lib_m_cacos" >&6; }
23350 if test "x$ac_cv_lib_m_cacos" = x""yes; then :
23351
23352 $as_echo "#define HAVE_CACOS 1" >>confdefs.h
23353
23354 fi
23355
23356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf in -lm" >&5
23357 $as_echo_n "checking for cacosf in -lm... " >&6; }
23358 if test "${ac_cv_lib_m_cacosf+set}" = set; then :
23359 $as_echo_n "(cached) " >&6
23360 else
23361 ac_check_lib_save_LIBS=$LIBS
23362 LIBS="-lm $LIBS"
23363 if test x$gcc_no_link = xyes; then
23364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23365 fi
23366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23367 /* end confdefs.h. */
23368
23369 /* Override any GCC internal prototype to avoid an error.
23370 Use char because int might match the return type of a GCC
23371 builtin and then its argument prototype would still apply. */
23372 #ifdef __cplusplus
23373 extern "C"
23374 #endif
23375 char cacosf ();
23376 int
23377 main ()
23378 {
23379 return cacosf ();
23380 ;
23381 return 0;
23382 }
23383 _ACEOF
23384 if ac_fn_c_try_link "$LINENO"; then :
23385 ac_cv_lib_m_cacosf=yes
23386 else
23387 ac_cv_lib_m_cacosf=no
23388 fi
23389 rm -f core conftest.err conftest.$ac_objext \
23390 conftest$ac_exeext conftest.$ac_ext
23391 LIBS=$ac_check_lib_save_LIBS
23392 fi
23393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosf" >&5
23394 $as_echo "$ac_cv_lib_m_cacosf" >&6; }
23395 if test "x$ac_cv_lib_m_cacosf" = x""yes; then :
23396
23397 $as_echo "#define HAVE_CACOSF 1" >>confdefs.h
23398
23399 fi
23400
23401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh in -lm" >&5
23402 $as_echo_n "checking for cacosh in -lm... " >&6; }
23403 if test "${ac_cv_lib_m_cacosh+set}" = set; then :
23404 $as_echo_n "(cached) " >&6
23405 else
23406 ac_check_lib_save_LIBS=$LIBS
23407 LIBS="-lm $LIBS"
23408 if test x$gcc_no_link = xyes; then
23409 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23410 fi
23411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23412 /* end confdefs.h. */
23413
23414 /* Override any GCC internal prototype to avoid an error.
23415 Use char because int might match the return type of a GCC
23416 builtin and then its argument prototype would still apply. */
23417 #ifdef __cplusplus
23418 extern "C"
23419 #endif
23420 char cacosh ();
23421 int
23422 main ()
23423 {
23424 return cacosh ();
23425 ;
23426 return 0;
23427 }
23428 _ACEOF
23429 if ac_fn_c_try_link "$LINENO"; then :
23430 ac_cv_lib_m_cacosh=yes
23431 else
23432 ac_cv_lib_m_cacosh=no
23433 fi
23434 rm -f core conftest.err conftest.$ac_objext \
23435 conftest$ac_exeext conftest.$ac_ext
23436 LIBS=$ac_check_lib_save_LIBS
23437 fi
23438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosh" >&5
23439 $as_echo "$ac_cv_lib_m_cacosh" >&6; }
23440 if test "x$ac_cv_lib_m_cacosh" = x""yes; then :
23441
23442 $as_echo "#define HAVE_CACOSH 1" >>confdefs.h
23443
23444 fi
23445
23446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf in -lm" >&5
23447 $as_echo_n "checking for cacoshf in -lm... " >&6; }
23448 if test "${ac_cv_lib_m_cacoshf+set}" = set; then :
23449 $as_echo_n "(cached) " >&6
23450 else
23451 ac_check_lib_save_LIBS=$LIBS
23452 LIBS="-lm $LIBS"
23453 if test x$gcc_no_link = xyes; then
23454 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23455 fi
23456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23457 /* end confdefs.h. */
23458
23459 /* Override any GCC internal prototype to avoid an error.
23460 Use char because int might match the return type of a GCC
23461 builtin and then its argument prototype would still apply. */
23462 #ifdef __cplusplus
23463 extern "C"
23464 #endif
23465 char cacoshf ();
23466 int
23467 main ()
23468 {
23469 return cacoshf ();
23470 ;
23471 return 0;
23472 }
23473 _ACEOF
23474 if ac_fn_c_try_link "$LINENO"; then :
23475 ac_cv_lib_m_cacoshf=yes
23476 else
23477 ac_cv_lib_m_cacoshf=no
23478 fi
23479 rm -f core conftest.err conftest.$ac_objext \
23480 conftest$ac_exeext conftest.$ac_ext
23481 LIBS=$ac_check_lib_save_LIBS
23482 fi
23483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshf" >&5
23484 $as_echo "$ac_cv_lib_m_cacoshf" >&6; }
23485 if test "x$ac_cv_lib_m_cacoshf" = x""yes; then :
23486
23487 $as_echo "#define HAVE_CACOSHF 1" >>confdefs.h
23488
23489 fi
23490
23491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl in -lm" >&5
23492 $as_echo_n "checking for cacoshl in -lm... " >&6; }
23493 if test "${ac_cv_lib_m_cacoshl+set}" = set; then :
23494 $as_echo_n "(cached) " >&6
23495 else
23496 ac_check_lib_save_LIBS=$LIBS
23497 LIBS="-lm $LIBS"
23498 if test x$gcc_no_link = xyes; then
23499 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23500 fi
23501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23502 /* end confdefs.h. */
23503
23504 /* Override any GCC internal prototype to avoid an error.
23505 Use char because int might match the return type of a GCC
23506 builtin and then its argument prototype would still apply. */
23507 #ifdef __cplusplus
23508 extern "C"
23509 #endif
23510 char cacoshl ();
23511 int
23512 main ()
23513 {
23514 return cacoshl ();
23515 ;
23516 return 0;
23517 }
23518 _ACEOF
23519 if ac_fn_c_try_link "$LINENO"; then :
23520 ac_cv_lib_m_cacoshl=yes
23521 else
23522 ac_cv_lib_m_cacoshl=no
23523 fi
23524 rm -f core conftest.err conftest.$ac_objext \
23525 conftest$ac_exeext conftest.$ac_ext
23526 LIBS=$ac_check_lib_save_LIBS
23527 fi
23528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshl" >&5
23529 $as_echo "$ac_cv_lib_m_cacoshl" >&6; }
23530 if test "x$ac_cv_lib_m_cacoshl" = x""yes; then :
23531
23532 $as_echo "#define HAVE_CACOSHL 1" >>confdefs.h
23533
23534 fi
23535
23536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl in -lm" >&5
23537 $as_echo_n "checking for cacosl in -lm... " >&6; }
23538 if test "${ac_cv_lib_m_cacosl+set}" = set; then :
23539 $as_echo_n "(cached) " >&6
23540 else
23541 ac_check_lib_save_LIBS=$LIBS
23542 LIBS="-lm $LIBS"
23543 if test x$gcc_no_link = xyes; then
23544 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23545 fi
23546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23547 /* end confdefs.h. */
23548
23549 /* Override any GCC internal prototype to avoid an error.
23550 Use char because int might match the return type of a GCC
23551 builtin and then its argument prototype would still apply. */
23552 #ifdef __cplusplus
23553 extern "C"
23554 #endif
23555 char cacosl ();
23556 int
23557 main ()
23558 {
23559 return cacosl ();
23560 ;
23561 return 0;
23562 }
23563 _ACEOF
23564 if ac_fn_c_try_link "$LINENO"; then :
23565 ac_cv_lib_m_cacosl=yes
23566 else
23567 ac_cv_lib_m_cacosl=no
23568 fi
23569 rm -f core conftest.err conftest.$ac_objext \
23570 conftest$ac_exeext conftest.$ac_ext
23571 LIBS=$ac_check_lib_save_LIBS
23572 fi
23573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosl" >&5
23574 $as_echo "$ac_cv_lib_m_cacosl" >&6; }
23575 if test "x$ac_cv_lib_m_cacosl" = x""yes; then :
23576
23577 $as_echo "#define HAVE_CACOSL 1" >>confdefs.h
23578
23579 fi
23580
23581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin in -lm" >&5
23582 $as_echo_n "checking for casin in -lm... " >&6; }
23583 if test "${ac_cv_lib_m_casin+set}" = set; then :
23584 $as_echo_n "(cached) " >&6
23585 else
23586 ac_check_lib_save_LIBS=$LIBS
23587 LIBS="-lm $LIBS"
23588 if test x$gcc_no_link = xyes; then
23589 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23590 fi
23591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23592 /* end confdefs.h. */
23593
23594 /* Override any GCC internal prototype to avoid an error.
23595 Use char because int might match the return type of a GCC
23596 builtin and then its argument prototype would still apply. */
23597 #ifdef __cplusplus
23598 extern "C"
23599 #endif
23600 char casin ();
23601 int
23602 main ()
23603 {
23604 return casin ();
23605 ;
23606 return 0;
23607 }
23608 _ACEOF
23609 if ac_fn_c_try_link "$LINENO"; then :
23610 ac_cv_lib_m_casin=yes
23611 else
23612 ac_cv_lib_m_casin=no
23613 fi
23614 rm -f core conftest.err conftest.$ac_objext \
23615 conftest$ac_exeext conftest.$ac_ext
23616 LIBS=$ac_check_lib_save_LIBS
23617 fi
23618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casin" >&5
23619 $as_echo "$ac_cv_lib_m_casin" >&6; }
23620 if test "x$ac_cv_lib_m_casin" = x""yes; then :
23621
23622 $as_echo "#define HAVE_CASIN 1" >>confdefs.h
23623
23624 fi
23625
23626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf in -lm" >&5
23627 $as_echo_n "checking for casinf in -lm... " >&6; }
23628 if test "${ac_cv_lib_m_casinf+set}" = set; then :
23629 $as_echo_n "(cached) " >&6
23630 else
23631 ac_check_lib_save_LIBS=$LIBS
23632 LIBS="-lm $LIBS"
23633 if test x$gcc_no_link = xyes; then
23634 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23635 fi
23636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23637 /* end confdefs.h. */
23638
23639 /* Override any GCC internal prototype to avoid an error.
23640 Use char because int might match the return type of a GCC
23641 builtin and then its argument prototype would still apply. */
23642 #ifdef __cplusplus
23643 extern "C"
23644 #endif
23645 char casinf ();
23646 int
23647 main ()
23648 {
23649 return casinf ();
23650 ;
23651 return 0;
23652 }
23653 _ACEOF
23654 if ac_fn_c_try_link "$LINENO"; then :
23655 ac_cv_lib_m_casinf=yes
23656 else
23657 ac_cv_lib_m_casinf=no
23658 fi
23659 rm -f core conftest.err conftest.$ac_objext \
23660 conftest$ac_exeext conftest.$ac_ext
23661 LIBS=$ac_check_lib_save_LIBS
23662 fi
23663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinf" >&5
23664 $as_echo "$ac_cv_lib_m_casinf" >&6; }
23665 if test "x$ac_cv_lib_m_casinf" = x""yes; then :
23666
23667 $as_echo "#define HAVE_CASINF 1" >>confdefs.h
23668
23669 fi
23670
23671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh in -lm" >&5
23672 $as_echo_n "checking for casinh in -lm... " >&6; }
23673 if test "${ac_cv_lib_m_casinh+set}" = set; then :
23674 $as_echo_n "(cached) " >&6
23675 else
23676 ac_check_lib_save_LIBS=$LIBS
23677 LIBS="-lm $LIBS"
23678 if test x$gcc_no_link = xyes; then
23679 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23680 fi
23681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23682 /* end confdefs.h. */
23683
23684 /* Override any GCC internal prototype to avoid an error.
23685 Use char because int might match the return type of a GCC
23686 builtin and then its argument prototype would still apply. */
23687 #ifdef __cplusplus
23688 extern "C"
23689 #endif
23690 char casinh ();
23691 int
23692 main ()
23693 {
23694 return casinh ();
23695 ;
23696 return 0;
23697 }
23698 _ACEOF
23699 if ac_fn_c_try_link "$LINENO"; then :
23700 ac_cv_lib_m_casinh=yes
23701 else
23702 ac_cv_lib_m_casinh=no
23703 fi
23704 rm -f core conftest.err conftest.$ac_objext \
23705 conftest$ac_exeext conftest.$ac_ext
23706 LIBS=$ac_check_lib_save_LIBS
23707 fi
23708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinh" >&5
23709 $as_echo "$ac_cv_lib_m_casinh" >&6; }
23710 if test "x$ac_cv_lib_m_casinh" = x""yes; then :
23711
23712 $as_echo "#define HAVE_CASINH 1" >>confdefs.h
23713
23714 fi
23715
23716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf in -lm" >&5
23717 $as_echo_n "checking for casinhf in -lm... " >&6; }
23718 if test "${ac_cv_lib_m_casinhf+set}" = set; then :
23719 $as_echo_n "(cached) " >&6
23720 else
23721 ac_check_lib_save_LIBS=$LIBS
23722 LIBS="-lm $LIBS"
23723 if test x$gcc_no_link = xyes; then
23724 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23725 fi
23726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23727 /* end confdefs.h. */
23728
23729 /* Override any GCC internal prototype to avoid an error.
23730 Use char because int might match the return type of a GCC
23731 builtin and then its argument prototype would still apply. */
23732 #ifdef __cplusplus
23733 extern "C"
23734 #endif
23735 char casinhf ();
23736 int
23737 main ()
23738 {
23739 return casinhf ();
23740 ;
23741 return 0;
23742 }
23743 _ACEOF
23744 if ac_fn_c_try_link "$LINENO"; then :
23745 ac_cv_lib_m_casinhf=yes
23746 else
23747 ac_cv_lib_m_casinhf=no
23748 fi
23749 rm -f core conftest.err conftest.$ac_objext \
23750 conftest$ac_exeext conftest.$ac_ext
23751 LIBS=$ac_check_lib_save_LIBS
23752 fi
23753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhf" >&5
23754 $as_echo "$ac_cv_lib_m_casinhf" >&6; }
23755 if test "x$ac_cv_lib_m_casinhf" = x""yes; then :
23756
23757 $as_echo "#define HAVE_CASINHF 1" >>confdefs.h
23758
23759 fi
23760
23761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl in -lm" >&5
23762 $as_echo_n "checking for casinhl in -lm... " >&6; }
23763 if test "${ac_cv_lib_m_casinhl+set}" = set; then :
23764 $as_echo_n "(cached) " >&6
23765 else
23766 ac_check_lib_save_LIBS=$LIBS
23767 LIBS="-lm $LIBS"
23768 if test x$gcc_no_link = xyes; then
23769 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23770 fi
23771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23772 /* end confdefs.h. */
23773
23774 /* Override any GCC internal prototype to avoid an error.
23775 Use char because int might match the return type of a GCC
23776 builtin and then its argument prototype would still apply. */
23777 #ifdef __cplusplus
23778 extern "C"
23779 #endif
23780 char casinhl ();
23781 int
23782 main ()
23783 {
23784 return casinhl ();
23785 ;
23786 return 0;
23787 }
23788 _ACEOF
23789 if ac_fn_c_try_link "$LINENO"; then :
23790 ac_cv_lib_m_casinhl=yes
23791 else
23792 ac_cv_lib_m_casinhl=no
23793 fi
23794 rm -f core conftest.err conftest.$ac_objext \
23795 conftest$ac_exeext conftest.$ac_ext
23796 LIBS=$ac_check_lib_save_LIBS
23797 fi
23798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhl" >&5
23799 $as_echo "$ac_cv_lib_m_casinhl" >&6; }
23800 if test "x$ac_cv_lib_m_casinhl" = x""yes; then :
23801
23802 $as_echo "#define HAVE_CASINHL 1" >>confdefs.h
23803
23804 fi
23805
23806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl in -lm" >&5
23807 $as_echo_n "checking for casinl in -lm... " >&6; }
23808 if test "${ac_cv_lib_m_casinl+set}" = set; then :
23809 $as_echo_n "(cached) " >&6
23810 else
23811 ac_check_lib_save_LIBS=$LIBS
23812 LIBS="-lm $LIBS"
23813 if test x$gcc_no_link = xyes; then
23814 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23815 fi
23816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23817 /* end confdefs.h. */
23818
23819 /* Override any GCC internal prototype to avoid an error.
23820 Use char because int might match the return type of a GCC
23821 builtin and then its argument prototype would still apply. */
23822 #ifdef __cplusplus
23823 extern "C"
23824 #endif
23825 char casinl ();
23826 int
23827 main ()
23828 {
23829 return casinl ();
23830 ;
23831 return 0;
23832 }
23833 _ACEOF
23834 if ac_fn_c_try_link "$LINENO"; then :
23835 ac_cv_lib_m_casinl=yes
23836 else
23837 ac_cv_lib_m_casinl=no
23838 fi
23839 rm -f core conftest.err conftest.$ac_objext \
23840 conftest$ac_exeext conftest.$ac_ext
23841 LIBS=$ac_check_lib_save_LIBS
23842 fi
23843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinl" >&5
23844 $as_echo "$ac_cv_lib_m_casinl" >&6; }
23845 if test "x$ac_cv_lib_m_casinl" = x""yes; then :
23846
23847 $as_echo "#define HAVE_CASINL 1" >>confdefs.h
23848
23849 fi
23850
23851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan in -lm" >&5
23852 $as_echo_n "checking for catan in -lm... " >&6; }
23853 if test "${ac_cv_lib_m_catan+set}" = set; then :
23854 $as_echo_n "(cached) " >&6
23855 else
23856 ac_check_lib_save_LIBS=$LIBS
23857 LIBS="-lm $LIBS"
23858 if test x$gcc_no_link = xyes; then
23859 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23860 fi
23861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23862 /* end confdefs.h. */
23863
23864 /* Override any GCC internal prototype to avoid an error.
23865 Use char because int might match the return type of a GCC
23866 builtin and then its argument prototype would still apply. */
23867 #ifdef __cplusplus
23868 extern "C"
23869 #endif
23870 char catan ();
23871 int
23872 main ()
23873 {
23874 return catan ();
23875 ;
23876 return 0;
23877 }
23878 _ACEOF
23879 if ac_fn_c_try_link "$LINENO"; then :
23880 ac_cv_lib_m_catan=yes
23881 else
23882 ac_cv_lib_m_catan=no
23883 fi
23884 rm -f core conftest.err conftest.$ac_objext \
23885 conftest$ac_exeext conftest.$ac_ext
23886 LIBS=$ac_check_lib_save_LIBS
23887 fi
23888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catan" >&5
23889 $as_echo "$ac_cv_lib_m_catan" >&6; }
23890 if test "x$ac_cv_lib_m_catan" = x""yes; then :
23891
23892 $as_echo "#define HAVE_CATAN 1" >>confdefs.h
23893
23894 fi
23895
23896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf in -lm" >&5
23897 $as_echo_n "checking for catanf in -lm... " >&6; }
23898 if test "${ac_cv_lib_m_catanf+set}" = set; then :
23899 $as_echo_n "(cached) " >&6
23900 else
23901 ac_check_lib_save_LIBS=$LIBS
23902 LIBS="-lm $LIBS"
23903 if test x$gcc_no_link = xyes; then
23904 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23905 fi
23906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23907 /* end confdefs.h. */
23908
23909 /* Override any GCC internal prototype to avoid an error.
23910 Use char because int might match the return type of a GCC
23911 builtin and then its argument prototype would still apply. */
23912 #ifdef __cplusplus
23913 extern "C"
23914 #endif
23915 char catanf ();
23916 int
23917 main ()
23918 {
23919 return catanf ();
23920 ;
23921 return 0;
23922 }
23923 _ACEOF
23924 if ac_fn_c_try_link "$LINENO"; then :
23925 ac_cv_lib_m_catanf=yes
23926 else
23927 ac_cv_lib_m_catanf=no
23928 fi
23929 rm -f core conftest.err conftest.$ac_objext \
23930 conftest$ac_exeext conftest.$ac_ext
23931 LIBS=$ac_check_lib_save_LIBS
23932 fi
23933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanf" >&5
23934 $as_echo "$ac_cv_lib_m_catanf" >&6; }
23935 if test "x$ac_cv_lib_m_catanf" = x""yes; then :
23936
23937 $as_echo "#define HAVE_CATANF 1" >>confdefs.h
23938
23939 fi
23940
23941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh in -lm" >&5
23942 $as_echo_n "checking for catanh in -lm... " >&6; }
23943 if test "${ac_cv_lib_m_catanh+set}" = set; then :
23944 $as_echo_n "(cached) " >&6
23945 else
23946 ac_check_lib_save_LIBS=$LIBS
23947 LIBS="-lm $LIBS"
23948 if test x$gcc_no_link = xyes; then
23949 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23950 fi
23951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23952 /* end confdefs.h. */
23953
23954 /* Override any GCC internal prototype to avoid an error.
23955 Use char because int might match the return type of a GCC
23956 builtin and then its argument prototype would still apply. */
23957 #ifdef __cplusplus
23958 extern "C"
23959 #endif
23960 char catanh ();
23961 int
23962 main ()
23963 {
23964 return catanh ();
23965 ;
23966 return 0;
23967 }
23968 _ACEOF
23969 if ac_fn_c_try_link "$LINENO"; then :
23970 ac_cv_lib_m_catanh=yes
23971 else
23972 ac_cv_lib_m_catanh=no
23973 fi
23974 rm -f core conftest.err conftest.$ac_objext \
23975 conftest$ac_exeext conftest.$ac_ext
23976 LIBS=$ac_check_lib_save_LIBS
23977 fi
23978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanh" >&5
23979 $as_echo "$ac_cv_lib_m_catanh" >&6; }
23980 if test "x$ac_cv_lib_m_catanh" = x""yes; then :
23981
23982 $as_echo "#define HAVE_CATANH 1" >>confdefs.h
23983
23984 fi
23985
23986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf in -lm" >&5
23987 $as_echo_n "checking for catanhf in -lm... " >&6; }
23988 if test "${ac_cv_lib_m_catanhf+set}" = set; then :
23989 $as_echo_n "(cached) " >&6
23990 else
23991 ac_check_lib_save_LIBS=$LIBS
23992 LIBS="-lm $LIBS"
23993 if test x$gcc_no_link = xyes; then
23994 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23995 fi
23996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23997 /* end confdefs.h. */
23998
23999 /* Override any GCC internal prototype to avoid an error.
24000 Use char because int might match the return type of a GCC
24001 builtin and then its argument prototype would still apply. */
24002 #ifdef __cplusplus
24003 extern "C"
24004 #endif
24005 char catanhf ();
24006 int
24007 main ()
24008 {
24009 return catanhf ();
24010 ;
24011 return 0;
24012 }
24013 _ACEOF
24014 if ac_fn_c_try_link "$LINENO"; then :
24015 ac_cv_lib_m_catanhf=yes
24016 else
24017 ac_cv_lib_m_catanhf=no
24018 fi
24019 rm -f core conftest.err conftest.$ac_objext \
24020 conftest$ac_exeext conftest.$ac_ext
24021 LIBS=$ac_check_lib_save_LIBS
24022 fi
24023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhf" >&5
24024 $as_echo "$ac_cv_lib_m_catanhf" >&6; }
24025 if test "x$ac_cv_lib_m_catanhf" = x""yes; then :
24026
24027 $as_echo "#define HAVE_CATANHF 1" >>confdefs.h
24028
24029 fi
24030
24031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl in -lm" >&5
24032 $as_echo_n "checking for catanhl in -lm... " >&6; }
24033 if test "${ac_cv_lib_m_catanhl+set}" = set; then :
24034 $as_echo_n "(cached) " >&6
24035 else
24036 ac_check_lib_save_LIBS=$LIBS
24037 LIBS="-lm $LIBS"
24038 if test x$gcc_no_link = xyes; then
24039 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24040 fi
24041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24042 /* end confdefs.h. */
24043
24044 /* Override any GCC internal prototype to avoid an error.
24045 Use char because int might match the return type of a GCC
24046 builtin and then its argument prototype would still apply. */
24047 #ifdef __cplusplus
24048 extern "C"
24049 #endif
24050 char catanhl ();
24051 int
24052 main ()
24053 {
24054 return catanhl ();
24055 ;
24056 return 0;
24057 }
24058 _ACEOF
24059 if ac_fn_c_try_link "$LINENO"; then :
24060 ac_cv_lib_m_catanhl=yes
24061 else
24062 ac_cv_lib_m_catanhl=no
24063 fi
24064 rm -f core conftest.err conftest.$ac_objext \
24065 conftest$ac_exeext conftest.$ac_ext
24066 LIBS=$ac_check_lib_save_LIBS
24067 fi
24068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhl" >&5
24069 $as_echo "$ac_cv_lib_m_catanhl" >&6; }
24070 if test "x$ac_cv_lib_m_catanhl" = x""yes; then :
24071
24072 $as_echo "#define HAVE_CATANHL 1" >>confdefs.h
24073
24074 fi
24075
24076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl in -lm" >&5
24077 $as_echo_n "checking for catanl in -lm... " >&6; }
24078 if test "${ac_cv_lib_m_catanl+set}" = set; then :
24079 $as_echo_n "(cached) " >&6
24080 else
24081 ac_check_lib_save_LIBS=$LIBS
24082 LIBS="-lm $LIBS"
24083 if test x$gcc_no_link = xyes; then
24084 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24085 fi
24086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24087 /* end confdefs.h. */
24088
24089 /* Override any GCC internal prototype to avoid an error.
24090 Use char because int might match the return type of a GCC
24091 builtin and then its argument prototype would still apply. */
24092 #ifdef __cplusplus
24093 extern "C"
24094 #endif
24095 char catanl ();
24096 int
24097 main ()
24098 {
24099 return catanl ();
24100 ;
24101 return 0;
24102 }
24103 _ACEOF
24104 if ac_fn_c_try_link "$LINENO"; then :
24105 ac_cv_lib_m_catanl=yes
24106 else
24107 ac_cv_lib_m_catanl=no
24108 fi
24109 rm -f core conftest.err conftest.$ac_objext \
24110 conftest$ac_exeext conftest.$ac_ext
24111 LIBS=$ac_check_lib_save_LIBS
24112 fi
24113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanl" >&5
24114 $as_echo "$ac_cv_lib_m_catanl" >&6; }
24115 if test "x$ac_cv_lib_m_catanl" = x""yes; then :
24116
24117 $as_echo "#define HAVE_CATANL 1" >>confdefs.h
24118
24119 fi
24120
24121
24122 # On AIX, clog is present in libm as __clog
24123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
24124 $as_echo_n "checking for __clog in -lm... " >&6; }
24125 if test "${ac_cv_lib_m___clog+set}" = set; then :
24126 $as_echo_n "(cached) " >&6
24127 else
24128 ac_check_lib_save_LIBS=$LIBS
24129 LIBS="-lm $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
24137 Use char because int might match the return type of a GCC
24138 builtin and then its argument prototype would still apply. */
24139 #ifdef __cplusplus
24140 extern "C"
24141 #endif
24142 char __clog ();
24143 int
24144 main ()
24145 {
24146 return __clog ();
24147 ;
24148 return 0;
24149 }
24150 _ACEOF
24151 if ac_fn_c_try_link "$LINENO"; then :
24152 ac_cv_lib_m___clog=yes
24153 else
24154 ac_cv_lib_m___clog=no
24155 fi
24156 rm -f core conftest.err conftest.$ac_objext \
24157 conftest$ac_exeext conftest.$ac_ext
24158 LIBS=$ac_check_lib_save_LIBS
24159 fi
24160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
24161 $as_echo "$ac_cv_lib_m___clog" >&6; }
24162 if test "x$ac_cv_lib_m___clog" = x""yes; then :
24163
24164 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
24165
24166 fi
24167
24168
24169 # Check for a isfinite macro that works on long doubles.
24170
24171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isfinite is broken" >&5
24172 $as_echo_n "checking whether isfinite is broken... " >&6; }
24173 if test "${libgfor_cv_have_broken_isfinite+set}" = set; then :
24174 $as_echo_n "(cached) " >&6
24175 else
24176
24177 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
24178 LIBS="$LIBS -lm"
24179 if test "$cross_compiling" = yes; then :
24180
24181 case "${target}" in
24182 hppa*-*-hpux*) libgfor_cv_have_broken_isfinite=yes ;;
24183 *) libgfor_cv_have_broken_isfinite=no ;;
24184 esac
24185 else
24186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24187 /* end confdefs.h. */
24188
24189 #include <math.h>
24190 #include <float.h>
24191 int main ()
24192 {
24193 #ifdef isfinite
24194 #ifdef LDBL_MAX
24195 if (!isfinite(LDBL_MAX)) return 1;
24196 #endif
24197 #ifdef DBL_MAX
24198 if (!isfinite(DBL_MAX)) return 1;
24199 #endif
24200 #endif
24201 return 0;
24202 }
24203 _ACEOF
24204 if ac_fn_c_try_run "$LINENO"; then :
24205 libgfor_cv_have_broken_isfinite=no
24206 else
24207 libgfor_cv_have_broken_isfinite=yes
24208 fi
24209 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24210 conftest.$ac_objext conftest.beam conftest.$ac_ext
24211 fi
24212
24213 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
24214 fi
24215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_isfinite" >&5
24216 $as_echo "$libgfor_cv_have_broken_isfinite" >&6; }
24217 if test x"$libgfor_cv_have_broken_isfinite" = xyes; then
24218
24219 $as_echo "#define HAVE_BROKEN_ISFINITE 1" >>confdefs.h
24220
24221 fi
24222
24223 # Check for a isnan macro that works on long doubles.
24224
24225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan is broken" >&5
24226 $as_echo_n "checking whether isnan is broken... " >&6; }
24227 if test "${libgfor_cv_have_broken_isnan+set}" = set; then :
24228 $as_echo_n "(cached) " >&6
24229 else
24230
24231 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
24232 LIBS="$LIBS -lm"
24233 if test "$cross_compiling" = yes; then :
24234
24235 case "${target}" in
24236 hppa*-*-hpux*) libgfor_cv_have_broken_isnan=yes ;;
24237 *) libgfor_cv_have_broken_isnan=no ;;
24238 esac
24239 else
24240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24241 /* end confdefs.h. */
24242
24243 #include <math.h>
24244 #include <float.h>
24245 int main ()
24246 {
24247 #ifdef isnan
24248 #ifdef LDBL_MAX
24249 {
24250 long double x;
24251 x = __builtin_nanl ("");
24252 if (!isnan(x)) return 1;
24253 if (isnan(LDBL_MAX)) return 1;
24254 #ifdef NAN
24255 x = (long double) NAN;
24256 if (!isnan(x)) return 1;
24257 #endif
24258 }
24259 #endif
24260 #ifdef DBL_MAX
24261 {
24262 double y;
24263 y = __builtin_nan ("");
24264 if (!isnan(y)) return 1;
24265 if (isnan(DBL_MAX)) return 1;
24266 #ifdef NAN
24267 y = (double) NAN;
24268 if (!isnan(y)) return 1;
24269 #endif
24270 }
24271 #endif
24272 #endif
24273 return 0;
24274 }
24275 _ACEOF
24276 if ac_fn_c_try_run "$LINENO"; then :
24277 libgfor_cv_have_broken_isnan=no
24278 else
24279 libgfor_cv_have_broken_isnan=yes
24280 fi
24281 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24282 conftest.$ac_objext conftest.beam conftest.$ac_ext
24283 fi
24284
24285 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
24286 fi
24287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_isnan" >&5
24288 $as_echo "$libgfor_cv_have_broken_isnan" >&6; }
24289 if test x"$libgfor_cv_have_broken_isnan" = xyes; then
24290
24291 $as_echo "#define HAVE_BROKEN_ISNAN 1" >>confdefs.h
24292
24293 fi
24294
24295 # Check for a fpclassify macro that works on long doubles.
24296
24297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpclassify is broken" >&5
24298 $as_echo_n "checking whether fpclassify is broken... " >&6; }
24299 if test "${libgfor_cv_have_broken_fpclassify+set}" = set; then :
24300 $as_echo_n "(cached) " >&6
24301 else
24302
24303 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
24304 LIBS="$LIBS -lm"
24305 if test "$cross_compiling" = yes; then :
24306
24307 case "${target}" in
24308 hppa*-*-hpux*) libgfor_cv_have_broken_fpclassify=yes ;;
24309 *) libgfor_cv_have_broken_fpclassify=no ;;
24310 esac
24311 else
24312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24313 /* end confdefs.h. */
24314
24315 #include <math.h>
24316 #include <float.h>
24317 int main ()
24318 {
24319 #ifdef fpclassify
24320 #ifdef LDBL_MAX
24321 if (fpclassify(LDBL_MAX) == FP_NAN
24322 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
24323 #endif
24324 #ifdef DBL_MAX
24325 if (fpclassify(DBL_MAX) == FP_NAN
24326 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
24327 #endif
24328 #endif
24329 return 0;
24330 }
24331 _ACEOF
24332 if ac_fn_c_try_run "$LINENO"; then :
24333 libgfor_cv_have_broken_fpclassify=no
24334 else
24335 libgfor_cv_have_broken_fpclassify=yes
24336 fi
24337 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24338 conftest.$ac_objext conftest.beam conftest.$ac_ext
24339 fi
24340
24341 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
24342 fi
24343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_fpclassify" >&5
24344 $as_echo "$libgfor_cv_have_broken_fpclassify" >&6; }
24345 if test x"$libgfor_cv_have_broken_fpclassify" = xyes; then
24346
24347 $as_echo "#define HAVE_BROKEN_FPCLASSIFY 1" >>confdefs.h
24348
24349 fi
24350
24351 # Check whether the system has a working stat()
24352
24353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
24354 $as_echo_n "checking whether the target stat is reliable... " >&6; }
24355 if test "${libgfor_cv_have_working_stat+set}" = set; then :
24356 $as_echo_n "(cached) " >&6
24357 else
24358
24359 if test "$cross_compiling" = yes; then :
24360
24361 case "${target}" in
24362 *mingw*) libgfor_cv_have_working_stat=no ;;
24363 *) libgfor_cv_have_working_stat=yes;;
24364 esac
24365 else
24366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24367 /* end confdefs.h. */
24368
24369 #include <stdio.h>
24370 #include <sys/types.h>
24371 #include <sys/stat.h>
24372 #include <unistd.h>
24373
24374 int main ()
24375 {
24376 FILE *f, *g;
24377 struct stat st1, st2;
24378
24379 f = fopen ("foo", "w");
24380 g = fopen ("bar", "w");
24381 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
24382 return 1;
24383 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
24384 return 1;
24385 fclose(f);
24386 fclose(g);
24387 return 0;
24388 }
24389 _ACEOF
24390 if ac_fn_c_try_run "$LINENO"; then :
24391 libgfor_cv_have_working_stat=yes
24392 else
24393 libgfor_cv_have_working_stat=no
24394 fi
24395 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24396 conftest.$ac_objext conftest.beam conftest.$ac_ext
24397 fi
24398
24399 fi
24400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
24401 $as_echo "$libgfor_cv_have_working_stat" >&6; }
24402 if test x"$libgfor_cv_have_working_stat" = xyes; then
24403
24404 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
24405
24406 fi
24407
24408 # Check whether __mingw_snprintf() is present
24409
24410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
24411 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
24412 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
24413 $as_echo_n "(cached) " >&6
24414 else
24415
24416 if test x$gcc_no_link = xyes; then
24417 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24418 fi
24419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24420 /* end confdefs.h. */
24421
24422 #include <stdio.h>
24423 extern int __mingw_snprintf (char *, size_t, const char *, ...);
24424
24425 int
24426 main ()
24427 {
24428
24429 __mingw_snprintf (NULL, 0, "%d\n", 1);
24430
24431 ;
24432 return 0;
24433 }
24434 _ACEOF
24435 if ac_fn_c_try_link "$LINENO"; then :
24436 eval "libgfor_cv_have_mingw_snprintf=yes"
24437 else
24438 eval "libgfor_cv_have_mingw_snprintf=no"
24439 fi
24440 rm -f core conftest.err conftest.$ac_objext \
24441 conftest$ac_exeext conftest.$ac_ext
24442
24443 fi
24444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
24445 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
24446 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
24447
24448 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
24449
24450 fi
24451
24452
24453 # Check for a broken powf implementation
24454
24455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
24456 $as_echo_n "checking whether powf is broken... " >&6; }
24457 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
24458 $as_echo_n "(cached) " >&6
24459 else
24460
24461 case "${target}" in
24462 hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
24463 *) libgfor_cv_have_broken_powf=no;;
24464 esac
24465 fi
24466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
24467 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
24468 if test x"$libgfor_cv_have_broken_powf" = xyes; then
24469
24470 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
24471
24472 fi
24473
24474
24475 # Check for GNU libc feenableexcept
24476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
24477 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
24478 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
24479 $as_echo_n "(cached) " >&6
24480 else
24481 ac_check_lib_save_LIBS=$LIBS
24482 LIBS="-lm $LIBS"
24483 if test x$gcc_no_link = xyes; then
24484 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24485 fi
24486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24487 /* end confdefs.h. */
24488
24489 /* Override any GCC internal prototype to avoid an error.
24490 Use char because int might match the return type of a GCC
24491 builtin and then its argument prototype would still apply. */
24492 #ifdef __cplusplus
24493 extern "C"
24494 #endif
24495 char feenableexcept ();
24496 int
24497 main ()
24498 {
24499 return feenableexcept ();
24500 ;
24501 return 0;
24502 }
24503 _ACEOF
24504 if ac_fn_c_try_link "$LINENO"; then :
24505 ac_cv_lib_m_feenableexcept=yes
24506 else
24507 ac_cv_lib_m_feenableexcept=no
24508 fi
24509 rm -f core conftest.err conftest.$ac_objext \
24510 conftest$ac_exeext conftest.$ac_ext
24511 LIBS=$ac_check_lib_save_LIBS
24512 fi
24513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
24514 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
24515 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
24516 have_feenableexcept=yes
24517 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
24518
24519 fi
24520
24521
24522 # Check for SysV fpsetmask
24523
24524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
24525 $as_echo_n "checking whether fpsetmask is present... " >&6; }
24526 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
24527 $as_echo_n "(cached) " >&6
24528 else
24529
24530 if test x$gcc_no_link = xyes; then
24531 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24532 fi
24533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24534 /* end confdefs.h. */
24535
24536 #if HAVE_FLOATINGPOINT_H
24537 # include <floatingpoint.h>
24538 #endif /* HAVE_FLOATINGPOINT_H */
24539 #if HAVE_IEEEFP_H
24540 # include <ieeefp.h>
24541 #endif /* HAVE_IEEEFP_H */
24542 int
24543 main ()
24544 {
24545 fpsetmask(0);
24546 ;
24547 return 0;
24548 }
24549 _ACEOF
24550 if ac_fn_c_try_link "$LINENO"; then :
24551 eval "libgfor_cv_have_fpsetmask=yes"
24552 else
24553 eval "libgfor_cv_have_fpsetmask=no"
24554 fi
24555 rm -f core conftest.err conftest.$ac_objext \
24556 conftest$ac_exeext conftest.$ac_ext
24557
24558 fi
24559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
24560 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
24561 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
24562
24563 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
24564
24565 fi
24566
24567
24568 # Check for AIX fp_trap and fp_enable
24569 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
24570 if test "x$ac_cv_func_fp_trap" = x""yes; then :
24571 have_fp_trap=yes
24572 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
24573
24574 fi
24575
24576 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
24577 if test "x$ac_cv_func_fp_enable" = x""yes; then :
24578 have_fp_enable=yes
24579 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
24580
24581 fi
24582
24583
24584 # Runs configure.host to set up necessary host-dependent shell variables.
24585 # We then display a message about it, and propagate them through the
24586 # build chain.
24587 . ${srcdir}/configure.host
24588 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
24589 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
24590 FPU_HOST_HEADER=config/${fpu_host}.h
24591
24592
24593 # Some targets require additional compiler options for IEEE compatibility.
24594 IEEE_FLAGS="${ieee_flags}"
24595
24596
24597 # Check out attribute support.
24598
24599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
24600 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
24601 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
24602 $as_echo_n "(cached) " >&6
24603 else
24604
24605 save_CFLAGS="$CFLAGS"
24606 CFLAGS="$CFLAGS -Werror"
24607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24608 /* end confdefs.h. */
24609 void __attribute__((visibility("hidden"))) foo(void) { }
24610 int
24611 main ()
24612 {
24613
24614 ;
24615 return 0;
24616 }
24617 _ACEOF
24618 if ac_fn_c_try_compile "$LINENO"; then :
24619 libgfor_cv_have_attribute_visibility=yes
24620 else
24621 libgfor_cv_have_attribute_visibility=no
24622 fi
24623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24624 CFLAGS="$save_CFLAGS"
24625 fi
24626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
24627 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
24628 if test $libgfor_cv_have_attribute_visibility = yes; then
24629
24630 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
24631
24632 fi
24633
24634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
24635 $as_echo_n "checking whether the target supports dllexport... " >&6; }
24636 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
24637 $as_echo_n "(cached) " >&6
24638 else
24639
24640 save_CFLAGS="$CFLAGS"
24641 CFLAGS="$CFLAGS -Werror"
24642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24643 /* end confdefs.h. */
24644 void __attribute__((dllexport)) foo(void) { }
24645 int
24646 main ()
24647 {
24648
24649 ;
24650 return 0;
24651 }
24652 _ACEOF
24653 if ac_fn_c_try_compile "$LINENO"; then :
24654 libgfor_cv_have_attribute_dllexport=yes
24655 else
24656 libgfor_cv_have_attribute_dllexport=no
24657 fi
24658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24659 CFLAGS="$save_CFLAGS"
24660 fi
24661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
24662 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
24663 if test $libgfor_cv_have_attribute_dllexport = yes; then
24664
24665 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
24666
24667 fi
24668
24669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
24670 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
24671 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
24672 $as_echo_n "(cached) " >&6
24673 else
24674
24675 if test x$gcc_no_link = xyes; then
24676 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24677 fi
24678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24679 /* end confdefs.h. */
24680
24681 void foo(void) { }
24682 extern void bar(void) __attribute__((alias("foo")));
24683 int
24684 main ()
24685 {
24686 bar();
24687 ;
24688 return 0;
24689 }
24690 _ACEOF
24691 if ac_fn_c_try_link "$LINENO"; then :
24692 libgfor_cv_have_attribute_alias=yes
24693 else
24694 libgfor_cv_have_attribute_alias=no
24695 fi
24696 rm -f core conftest.err conftest.$ac_objext \
24697 conftest$ac_exeext conftest.$ac_ext
24698 fi
24699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
24700 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
24701 if test $libgfor_cv_have_attribute_alias = yes; then
24702
24703 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
24704
24705 fi
24706
24707 # Check out sync builtins support.
24708
24709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
24710 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
24711 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
24712 $as_echo_n "(cached) " >&6
24713 else
24714
24715 if test x$gcc_no_link = xyes; then
24716 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24717 fi
24718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24719 /* end confdefs.h. */
24720 int foovar = 0;
24721 int
24722 main ()
24723 {
24724
24725 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
24726 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
24727 ;
24728 return 0;
24729 }
24730 _ACEOF
24731 if ac_fn_c_try_link "$LINENO"; then :
24732 libgfor_cv_have_sync_fetch_and_add=yes
24733 else
24734 libgfor_cv_have_sync_fetch_and_add=no
24735 fi
24736 rm -f core conftest.err conftest.$ac_objext \
24737 conftest$ac_exeext conftest.$ac_ext
24738 fi
24739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
24740 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
24741 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
24742
24743 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
24744
24745 fi
24746
24747 # Check out thread support.
24748
24749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured target thread model" >&5
24750 $as_echo_n "checking configured target thread model... " >&6; }
24751 if test "${libgfor_cv_target_thread_file+set}" = set; then :
24752 $as_echo_n "(cached) " >&6
24753 else
24754
24755 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
24756 fi
24757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_target_thread_file" >&5
24758 $as_echo "$libgfor_cv_target_thread_file" >&6; }
24759
24760 if test $libgfor_cv_target_thread_file != single; then
24761
24762 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
24763
24764 fi
24765
24766 # Check out #pragma weak.
24767
24768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
24769 $as_echo_n "checking whether pragma weak works... " >&6; }
24770 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
24771 $as_echo_n "(cached) " >&6
24772 else
24773
24774 gfor_save_CFLAGS="$CFLAGS"
24775 CFLAGS="$CFLAGS -Wunknown-pragmas"
24776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24777 /* end confdefs.h. */
24778 void foo (void);
24779 #pragma weak foo
24780 int
24781 main ()
24782 {
24783 if (foo) foo ();
24784 ;
24785 return 0;
24786 }
24787 _ACEOF
24788 if ac_fn_c_try_compile "$LINENO"; then :
24789 libgfor_cv_have_pragma_weak=yes
24790 else
24791 libgfor_cv_have_pragma_weak=no
24792 fi
24793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24794 fi
24795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
24796 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
24797 if test $libgfor_cv_have_pragma_weak = yes; then
24798
24799 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
24800
24801 fi
24802 case "$host" in
24803 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
24804
24805 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
24806
24807 ;;
24808 esac
24809
24810 # Various other checks on target
24811
24812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
24813 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
24814 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
24815 $as_echo_n "(cached) " >&6
24816 else
24817
24818 if test "$cross_compiling" = yes; then :
24819
24820 case "${target}" in
24821 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
24822 *) libgfor_cv_have_unlink_open_file=yes;;
24823 esac
24824 else
24825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24826 /* end confdefs.h. */
24827
24828 #include <errno.h>
24829 #include <fcntl.h>
24830 #include <unistd.h>
24831 #include <sys/stat.h>
24832
24833 int main ()
24834 {
24835 int fd;
24836
24837 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
24838 if (fd <= 0)
24839 return 0;
24840 if (unlink ("testfile") == -1)
24841 return 1;
24842 write (fd, "This is a test\n", 15);
24843 close (fd);
24844
24845 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24846 return 0;
24847 else
24848 return 1;
24849 }
24850 _ACEOF
24851 if ac_fn_c_try_run "$LINENO"; then :
24852 libgfor_cv_have_unlink_open_file=yes
24853 else
24854 libgfor_cv_have_unlink_open_file=no
24855 fi
24856 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24857 conftest.$ac_objext conftest.beam conftest.$ac_ext
24858 fi
24859
24860 fi
24861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
24862 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
24863 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
24864
24865 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
24866
24867 fi
24868
24869 # Check whether line terminator is LF or CRLF
24870
24871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
24872 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
24873 if test "${libgfor_cv_have_crlf+set}" = set; then :
24874 $as_echo_n "(cached) " >&6
24875 else
24876
24877 if test "$cross_compiling" = yes; then :
24878
24879 case "${target}" in
24880 *mingw*) libgfor_cv_have_crlf=yes ;;
24881 *) libgfor_cv_have_crlf=no;;
24882 esac
24883 else
24884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24885 /* end confdefs.h. */
24886
24887 /* This test program should exit with status 0 if system uses a CRLF as
24888 line terminator, and status 1 otherwise.
24889 Since it is used to check for mingw systems, and should return 0 in any
24890 other case, in case of a failure we will not use CRLF. */
24891 #include <sys/stat.h>
24892 #include <stdlib.h>
24893 #include <fcntl.h>
24894 #include <stdio.h>
24895
24896 int main ()
24897 {
24898 #ifndef O_BINARY
24899 exit(1);
24900 #else
24901 int fd, bytes;
24902 char buff[5];
24903
24904 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24905 if (fd < 0)
24906 exit(1);
24907 if (write (fd, "\n", 1) < 0)
24908 perror ("write");
24909
24910 close (fd);
24911
24912 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24913 exit(1);
24914 bytes = read (fd, buff, 5);
24915 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24916 exit(0);
24917 else
24918 exit(1);
24919 #endif
24920 }
24921 _ACEOF
24922 if ac_fn_c_try_run "$LINENO"; then :
24923 libgfor_cv_have_crlf=yes
24924 else
24925 libgfor_cv_have_crlf=no
24926 fi
24927 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24928 conftest.$ac_objext conftest.beam conftest.$ac_ext
24929 fi
24930
24931 fi
24932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
24933 $as_echo "$libgfor_cv_have_crlf" >&6; }
24934 if test x"$libgfor_cv_have_crlf" = xyes; then
24935
24936 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
24937
24938 fi
24939
24940 cat >confcache <<\_ACEOF
24941 # This file is a shell script that caches the results of configure
24942 # tests run on this system so they can be shared between configure
24943 # scripts and configure runs, see configure's option --config-cache.
24944 # It is not useful on other systems. If it contains results you don't
24945 # want to keep, you may remove or edit it.
24946 #
24947 # config.status only pays attention to the cache file if you give it
24948 # the --recheck option to rerun configure.
24949 #
24950 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24951 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24952 # following values.
24953
24954 _ACEOF
24955
24956 # The following way of writing the cache mishandles newlines in values,
24957 # but we know of no workaround that is simple, portable, and efficient.
24958 # So, we kill variables containing newlines.
24959 # Ultrix sh set writes to stderr and can't be redirected directly,
24960 # and sets the high bit in the cache file unless we assign to the vars.
24961 (
24962 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24963 eval ac_val=\$$ac_var
24964 case $ac_val in #(
24965 *${as_nl}*)
24966 case $ac_var in #(
24967 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24968 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24969 esac
24970 case $ac_var in #(
24971 _ | IFS | as_nl) ;; #(
24972 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
24973 *) { eval $ac_var=; unset $ac_var;} ;;
24974 esac ;;
24975 esac
24976 done
24977
24978 (set) 2>&1 |
24979 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24980 *${as_nl}ac_space=\ *)
24981 # `set' does not quote correctly, so add quotes: double-quote
24982 # substitution turns \\\\ into \\, and sed turns \\ into \.
24983 sed -n \
24984 "s/'/'\\\\''/g;
24985 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24986 ;; #(
24987 *)
24988 # `set' quotes correctly as required by POSIX, so do not add quotes.
24989 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24990 ;;
24991 esac |
24992 sort
24993 ) |
24994 sed '
24995 /^ac_cv_env_/b end
24996 t clear
24997 :clear
24998 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24999 t end
25000 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25001 :end' >>confcache
25002 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25003 if test -w "$cache_file"; then
25004 test "x$cache_file" != "x/dev/null" &&
25005 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25006 $as_echo "$as_me: updating cache $cache_file" >&6;}
25007 cat confcache >$cache_file
25008 else
25009 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25010 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25011 fi
25012 fi
25013 rm -f confcache
25014
25015 if test ${multilib} = yes; then
25016 multilib_arg="--enable-multilib"
25017 else
25018 multilib_arg=
25019 fi
25020
25021 # Write our Makefile.
25022 ac_config_files="$ac_config_files Makefile"
25023
25024 cat >confcache <<\_ACEOF
25025 # This file is a shell script that caches the results of configure
25026 # tests run on this system so they can be shared between configure
25027 # scripts and configure runs, see configure's option --config-cache.
25028 # It is not useful on other systems. If it contains results you don't
25029 # want to keep, you may remove or edit it.
25030 #
25031 # config.status only pays attention to the cache file if you give it
25032 # the --recheck option to rerun configure.
25033 #
25034 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25035 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25036 # following values.
25037
25038 _ACEOF
25039
25040 # The following way of writing the cache mishandles newlines in values,
25041 # but we know of no workaround that is simple, portable, and efficient.
25042 # So, we kill variables containing newlines.
25043 # Ultrix sh set writes to stderr and can't be redirected directly,
25044 # and sets the high bit in the cache file unless we assign to the vars.
25045 (
25046 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25047 eval ac_val=\$$ac_var
25048 case $ac_val in #(
25049 *${as_nl}*)
25050 case $ac_var in #(
25051 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25052 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25053 esac
25054 case $ac_var in #(
25055 _ | IFS | as_nl) ;; #(
25056 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25057 *) { eval $ac_var=; unset $ac_var;} ;;
25058 esac ;;
25059 esac
25060 done
25061
25062 (set) 2>&1 |
25063 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25064 *${as_nl}ac_space=\ *)
25065 # `set' does not quote correctly, so add quotes: double-quote
25066 # substitution turns \\\\ into \\, and sed turns \\ into \.
25067 sed -n \
25068 "s/'/'\\\\''/g;
25069 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25070 ;; #(
25071 *)
25072 # `set' quotes correctly as required by POSIX, so do not add quotes.
25073 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25074 ;;
25075 esac |
25076 sort
25077 ) |
25078 sed '
25079 /^ac_cv_env_/b end
25080 t clear
25081 :clear
25082 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25083 t end
25084 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25085 :end' >>confcache
25086 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25087 if test -w "$cache_file"; then
25088 test "x$cache_file" != "x/dev/null" &&
25089 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25090 $as_echo "$as_me: updating cache $cache_file" >&6;}
25091 cat confcache >$cache_file
25092 else
25093 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25094 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25095 fi
25096 fi
25097 rm -f confcache
25098
25099 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25100 # Let make expand exec_prefix.
25101 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25102
25103 DEFS=-DHAVE_CONFIG_H
25104
25105 ac_libobjs=
25106 ac_ltlibobjs=
25107 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25108 # 1. Remove the extension, and $U if already installed.
25109 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25110 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25111 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25112 # will be set to the directory where LIBOBJS objects are built.
25113 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25114 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25115 done
25116 LIBOBJS=$ac_libobjs
25117
25118 LTLIBOBJS=$ac_ltlibobjs
25119
25120
25121 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
25122 as_fn_error "conditional \"onestep\" was never defined.
25123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25124 fi
25125 if test -n "$EXEEXT"; then
25126 am__EXEEXT_TRUE=
25127 am__EXEEXT_FALSE='#'
25128 else
25129 am__EXEEXT_TRUE='#'
25130 am__EXEEXT_FALSE=
25131 fi
25132
25133 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25134 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
25135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25136 fi
25137 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25138 as_fn_error "conditional \"AMDEP\" was never defined.
25139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25140 fi
25141 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25142 as_fn_error "conditional \"am__fastdepCC\" was never defined.
25143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25144 fi
25145 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
25146 as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
25147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25148 fi
25149 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
25150 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
25151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25152 fi
25153 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
25154 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
25155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25156 fi
25157
25158 : ${CONFIG_STATUS=./config.status}
25159 ac_write_fail=0
25160 ac_clean_files_save=$ac_clean_files
25161 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25162 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25163 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25164 as_write_fail=0
25165 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25166 #! $SHELL
25167 # Generated by $as_me.
25168 # Run this file to recreate the current configuration.
25169 # Compiler output produced by configure, useful for debugging
25170 # configure, is in config.log if it exists.
25171
25172 debug=false
25173 ac_cs_recheck=false
25174 ac_cs_silent=false
25175
25176 SHELL=\${CONFIG_SHELL-$SHELL}
25177 export SHELL
25178 _ASEOF
25179 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25180 ## -------------------- ##
25181 ## M4sh Initialization. ##
25182 ## -------------------- ##
25183
25184 # Be more Bourne compatible
25185 DUALCASE=1; export DUALCASE # for MKS sh
25186 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25187 emulate sh
25188 NULLCMD=:
25189 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25190 # is contrary to our usage. Disable this feature.
25191 alias -g '${1+"$@"}'='"$@"'
25192 setopt NO_GLOB_SUBST
25193 else
25194 case `(set -o) 2>/dev/null` in #(
25195 *posix*) :
25196 set -o posix ;; #(
25197 *) :
25198 ;;
25199 esac
25200 fi
25201
25202
25203 as_nl='
25204 '
25205 export as_nl
25206 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25207 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25208 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25209 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25210 # Prefer a ksh shell builtin over an external printf program on Solaris,
25211 # but without wasting forks for bash or zsh.
25212 if test -z "$BASH_VERSION$ZSH_VERSION" \
25213 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25214 as_echo='print -r --'
25215 as_echo_n='print -rn --'
25216 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25217 as_echo='printf %s\n'
25218 as_echo_n='printf %s'
25219 else
25220 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25221 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25222 as_echo_n='/usr/ucb/echo -n'
25223 else
25224 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25225 as_echo_n_body='eval
25226 arg=$1;
25227 case $arg in #(
25228 *"$as_nl"*)
25229 expr "X$arg" : "X\\(.*\\)$as_nl";
25230 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25231 esac;
25232 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25233 '
25234 export as_echo_n_body
25235 as_echo_n='sh -c $as_echo_n_body as_echo'
25236 fi
25237 export as_echo_body
25238 as_echo='sh -c $as_echo_body as_echo'
25239 fi
25240
25241 # The user is always right.
25242 if test "${PATH_SEPARATOR+set}" != set; then
25243 PATH_SEPARATOR=:
25244 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25245 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25246 PATH_SEPARATOR=';'
25247 }
25248 fi
25249
25250
25251 # IFS
25252 # We need space, tab and new line, in precisely that order. Quoting is
25253 # there to prevent editors from complaining about space-tab.
25254 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25255 # splitting by setting IFS to empty value.)
25256 IFS=" "" $as_nl"
25257
25258 # Find who we are. Look in the path if we contain no directory separator.
25259 case $0 in #((
25260 *[\\/]* ) as_myself=$0 ;;
25261 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25262 for as_dir in $PATH
25263 do
25264 IFS=$as_save_IFS
25265 test -z "$as_dir" && as_dir=.
25266 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25267 done
25268 IFS=$as_save_IFS
25269
25270 ;;
25271 esac
25272 # We did not find ourselves, most probably we were run as `sh COMMAND'
25273 # in which case we are not to be found in the path.
25274 if test "x$as_myself" = x; then
25275 as_myself=$0
25276 fi
25277 if test ! -f "$as_myself"; then
25278 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25279 exit 1
25280 fi
25281
25282 # Unset variables that we do not need and which cause bugs (e.g. in
25283 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25284 # suppresses any "Segmentation fault" message there. '((' could
25285 # trigger a bug in pdksh 5.2.14.
25286 for as_var in BASH_ENV ENV MAIL MAILPATH
25287 do eval test x\${$as_var+set} = xset \
25288 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
25289 done
25290 PS1='$ '
25291 PS2='> '
25292 PS4='+ '
25293
25294 # NLS nuisances.
25295 LC_ALL=C
25296 export LC_ALL
25297 LANGUAGE=C
25298 export LANGUAGE
25299
25300 # CDPATH.
25301 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25302
25303
25304 # as_fn_error ERROR [LINENO LOG_FD]
25305 # ---------------------------------
25306 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25307 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25308 # script with status $?, using 1 if that was 0.
25309 as_fn_error ()
25310 {
25311 as_status=$?; test $as_status -eq 0 && as_status=1
25312 if test "$3"; then
25313 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
25314 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
25315 fi
25316 $as_echo "$as_me: error: $1" >&2
25317 as_fn_exit $as_status
25318 } # as_fn_error
25319
25320
25321 # as_fn_set_status STATUS
25322 # -----------------------
25323 # Set $? to STATUS, without forking.
25324 as_fn_set_status ()
25325 {
25326 return $1
25327 } # as_fn_set_status
25328
25329 # as_fn_exit STATUS
25330 # -----------------
25331 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25332 as_fn_exit ()
25333 {
25334 set +e
25335 as_fn_set_status $1
25336 exit $1
25337 } # as_fn_exit
25338
25339 # as_fn_unset VAR
25340 # ---------------
25341 # Portably unset VAR.
25342 as_fn_unset ()
25343 {
25344 { eval $1=; unset $1;}
25345 }
25346 as_unset=as_fn_unset
25347 # as_fn_append VAR VALUE
25348 # ----------------------
25349 # Append the text in VALUE to the end of the definition contained in VAR. Take
25350 # advantage of any shell optimizations that allow amortized linear growth over
25351 # repeated appends, instead of the typical quadratic growth present in naive
25352 # implementations.
25353 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
25354 eval 'as_fn_append ()
25355 {
25356 eval $1+=\$2
25357 }'
25358 else
25359 as_fn_append ()
25360 {
25361 eval $1=\$$1\$2
25362 }
25363 fi # as_fn_append
25364
25365 # as_fn_arith ARG...
25366 # ------------------
25367 # Perform arithmetic evaluation on the ARGs, and store the result in the
25368 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25369 # must be portable across $(()) and expr.
25370 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25371 eval 'as_fn_arith ()
25372 {
25373 as_val=$(( $* ))
25374 }'
25375 else
25376 as_fn_arith ()
25377 {
25378 as_val=`expr "$@" || test $? -eq 1`
25379 }
25380 fi # as_fn_arith
25381
25382
25383 if expr a : '\(a\)' >/dev/null 2>&1 &&
25384 test "X`expr 00001 : '.*\(...\)'`" = X001; then
25385 as_expr=expr
25386 else
25387 as_expr=false
25388 fi
25389
25390 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25391 as_basename=basename
25392 else
25393 as_basename=false
25394 fi
25395
25396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25397 as_dirname=dirname
25398 else
25399 as_dirname=false
25400 fi
25401
25402 as_me=`$as_basename -- "$0" ||
25403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25404 X"$0" : 'X\(//\)$' \| \
25405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25406 $as_echo X/"$0" |
25407 sed '/^.*\/\([^/][^/]*\)\/*$/{
25408 s//\1/
25409 q
25410 }
25411 /^X\/\(\/\/\)$/{
25412 s//\1/
25413 q
25414 }
25415 /^X\/\(\/\).*/{
25416 s//\1/
25417 q
25418 }
25419 s/.*/./; q'`
25420
25421 # Avoid depending upon Character Ranges.
25422 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25425 as_cr_digits='0123456789'
25426 as_cr_alnum=$as_cr_Letters$as_cr_digits
25427
25428 ECHO_C= ECHO_N= ECHO_T=
25429 case `echo -n x` in #(((((
25430 -n*)
25431 case `echo 'xy\c'` in
25432 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
25433 xy) ECHO_C='\c';;
25434 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
25435 ECHO_T=' ';;
25436 esac;;
25437 *)
25438 ECHO_N='-n';;
25439 esac
25440
25441 rm -f conf$$ conf$$.exe conf$$.file
25442 if test -d conf$$.dir; then
25443 rm -f conf$$.dir/conf$$.file
25444 else
25445 rm -f conf$$.dir
25446 mkdir conf$$.dir 2>/dev/null
25447 fi
25448 if (echo >conf$$.file) 2>/dev/null; then
25449 if ln -s conf$$.file conf$$ 2>/dev/null; then
25450 as_ln_s='ln -s'
25451 # ... but there are two gotchas:
25452 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25453 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25454 # In both cases, we have to default to `cp -p'.
25455 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25456 as_ln_s='cp -p'
25457 elif ln conf$$.file conf$$ 2>/dev/null; then
25458 as_ln_s=ln
25459 else
25460 as_ln_s='cp -p'
25461 fi
25462 else
25463 as_ln_s='cp -p'
25464 fi
25465 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25466 rmdir conf$$.dir 2>/dev/null
25467
25468
25469 # as_fn_mkdir_p
25470 # -------------
25471 # Create "$as_dir" as a directory, including parents if necessary.
25472 as_fn_mkdir_p ()
25473 {
25474
25475 case $as_dir in #(
25476 -*) as_dir=./$as_dir;;
25477 esac
25478 test -d "$as_dir" || eval $as_mkdir_p || {
25479 as_dirs=
25480 while :; do
25481 case $as_dir in #(
25482 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25483 *) as_qdir=$as_dir;;
25484 esac
25485 as_dirs="'$as_qdir' $as_dirs"
25486 as_dir=`$as_dirname -- "$as_dir" ||
25487 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25488 X"$as_dir" : 'X\(//\)[^/]' \| \
25489 X"$as_dir" : 'X\(//\)$' \| \
25490 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25491 $as_echo X"$as_dir" |
25492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25493 s//\1/
25494 q
25495 }
25496 /^X\(\/\/\)[^/].*/{
25497 s//\1/
25498 q
25499 }
25500 /^X\(\/\/\)$/{
25501 s//\1/
25502 q
25503 }
25504 /^X\(\/\).*/{
25505 s//\1/
25506 q
25507 }
25508 s/.*/./; q'`
25509 test -d "$as_dir" && break
25510 done
25511 test -z "$as_dirs" || eval "mkdir $as_dirs"
25512 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
25513
25514
25515 } # as_fn_mkdir_p
25516 if mkdir -p . 2>/dev/null; then
25517 as_mkdir_p='mkdir -p "$as_dir"'
25518 else
25519 test -d ./-p && rmdir ./-p
25520 as_mkdir_p=false
25521 fi
25522
25523 if test -x / >/dev/null 2>&1; then
25524 as_test_x='test -x'
25525 else
25526 if ls -dL / >/dev/null 2>&1; then
25527 as_ls_L_option=L
25528 else
25529 as_ls_L_option=
25530 fi
25531 as_test_x='
25532 eval sh -c '\''
25533 if test -d "$1"; then
25534 test -d "$1/.";
25535 else
25536 case $1 in #(
25537 -*)set "./$1";;
25538 esac;
25539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25540 ???[sx]*):;;*)false;;esac;fi
25541 '\'' sh
25542 '
25543 fi
25544 as_executable_p=$as_test_x
25545
25546 # Sed expression to map a string onto a valid CPP name.
25547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25548
25549 # Sed expression to map a string onto a valid variable name.
25550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25551
25552
25553 exec 6>&1
25554 ## ----------------------------------- ##
25555 ## Main body of $CONFIG_STATUS script. ##
25556 ## ----------------------------------- ##
25557 _ASEOF
25558 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
25559
25560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25561 # Save the log message, to keep $0 and so on meaningful, and to
25562 # report actual input values of CONFIG_FILES etc. instead of their
25563 # values after options handling.
25564 ac_log="
25565 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
25566 generated by GNU Autoconf 2.64. Invocation command line was
25567
25568 CONFIG_FILES = $CONFIG_FILES
25569 CONFIG_HEADERS = $CONFIG_HEADERS
25570 CONFIG_LINKS = $CONFIG_LINKS
25571 CONFIG_COMMANDS = $CONFIG_COMMANDS
25572 $ $0 $@
25573
25574 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25575 "
25576
25577 _ACEOF
25578
25579 case $ac_config_files in *"
25580 "*) set x $ac_config_files; shift; ac_config_files=$*;;
25581 esac
25582
25583 case $ac_config_headers in *"
25584 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
25585 esac
25586
25587
25588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25589 # Files that config.status was made for.
25590 config_files="$ac_config_files"
25591 config_headers="$ac_config_headers"
25592 config_commands="$ac_config_commands"
25593
25594 _ACEOF
25595
25596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25597 ac_cs_usage="\
25598 \`$as_me' instantiates files and other configuration actions
25599 from templates according to the current configuration. Unless the files
25600 and actions are specified as TAGs, all are instantiated by default.
25601
25602 Usage: $0 [OPTION]... [TAG]...
25603
25604 -h, --help print this help, then exit
25605 -V, --version print version number and configuration settings, then exit
25606 -q, --quiet, --silent
25607 do not print progress messages
25608 -d, --debug don't remove temporary files
25609 --recheck update $as_me by reconfiguring in the same conditions
25610 --file=FILE[:TEMPLATE]
25611 instantiate the configuration file FILE
25612 --header=FILE[:TEMPLATE]
25613 instantiate the configuration header FILE
25614
25615 Configuration files:
25616 $config_files
25617
25618 Configuration headers:
25619 $config_headers
25620
25621 Configuration commands:
25622 $config_commands
25623
25624 Report bugs to the package provider.
25625 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
25626 General help using GNU software: <http://www.gnu.org/gethelp/>."
25627
25628 _ACEOF
25629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25630 ac_cs_version="\\
25631 GNU Fortran Runtime Library config.status 0.3
25632 configured by $0, generated by GNU Autoconf 2.64,
25633 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25634
25635 Copyright (C) 2009 Free Software Foundation, Inc.
25636 This config.status script is free software; the Free Software Foundation
25637 gives unlimited permission to copy, distribute and modify it."
25638
25639 ac_pwd='$ac_pwd'
25640 srcdir='$srcdir'
25641 INSTALL='$INSTALL'
25642 MKDIR_P='$MKDIR_P'
25643 AWK='$AWK'
25644 test -n "\$AWK" || AWK=awk
25645 _ACEOF
25646
25647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25648 # The default lists apply if the user does not specify any file.
25649 ac_need_defaults=:
25650 while test $# != 0
25651 do
25652 case $1 in
25653 --*=*)
25654 ac_option=`expr "X$1" : 'X\([^=]*\)='`
25655 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25656 ac_shift=:
25657 ;;
25658 *)
25659 ac_option=$1
25660 ac_optarg=$2
25661 ac_shift=shift
25662 ;;
25663 esac
25664
25665 case $ac_option in
25666 # Handling of the options.
25667 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25668 ac_cs_recheck=: ;;
25669 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25670 $as_echo "$ac_cs_version"; exit ;;
25671 --debug | --debu | --deb | --de | --d | -d )
25672 debug=: ;;
25673 --file | --fil | --fi | --f )
25674 $ac_shift
25675 case $ac_optarg in
25676 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25677 esac
25678 as_fn_append CONFIG_FILES " '$ac_optarg'"
25679 ac_need_defaults=false;;
25680 --header | --heade | --head | --hea )
25681 $ac_shift
25682 case $ac_optarg in
25683 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25684 esac
25685 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25686 ac_need_defaults=false;;
25687 --he | --h)
25688 # Conflict between --help and --header
25689 as_fn_error "ambiguous option: \`$1'
25690 Try \`$0 --help' for more information.";;
25691 --help | --hel | -h )
25692 $as_echo "$ac_cs_usage"; exit ;;
25693 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25694 | -silent | --silent | --silen | --sile | --sil | --si | --s)
25695 ac_cs_silent=: ;;
25696
25697 # This is an error.
25698 -*) as_fn_error "unrecognized option: \`$1'
25699 Try \`$0 --help' for more information." ;;
25700
25701 *) as_fn_append ac_config_targets " $1"
25702 ac_need_defaults=false ;;
25703
25704 esac
25705 shift
25706 done
25707
25708 ac_configure_extra_args=
25709
25710 if $ac_cs_silent; then
25711 exec 6>/dev/null
25712 ac_configure_extra_args="$ac_configure_extra_args --silent"
25713 fi
25714
25715 _ACEOF
25716 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25717 if \$ac_cs_recheck; then
25718 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25719 shift
25720 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25721 CONFIG_SHELL='$SHELL'
25722 export CONFIG_SHELL
25723 exec "\$@"
25724 fi
25725
25726 _ACEOF
25727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25728 exec 5>>config.log
25729 {
25730 echo
25731 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25732 ## Running $as_me. ##
25733 _ASBOX
25734 $as_echo "$ac_log"
25735 } >&5
25736
25737 _ACEOF
25738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25739 #
25740 # INIT-COMMANDS
25741 #
25742
25743 srcdir="$srcdir"
25744 host="$host"
25745 target="$target"
25746 with_multisubdir="$with_multisubdir"
25747 with_multisrctop="$with_multisrctop"
25748 with_target_subdir="$with_target_subdir"
25749 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25750 multi_basedir="$multi_basedir"
25751 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25752 CC="$CC"
25753 CXX="$CXX"
25754 GFORTRAN="$GFORTRAN"
25755 GCJ="$GCJ"
25756 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25757
25758
25759 # The HP-UX ksh and POSIX shell print the target directory to stdout
25760 # if CDPATH is set.
25761 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25762
25763 sed_quote_subst='$sed_quote_subst'
25764 double_quote_subst='$double_quote_subst'
25765 delay_variable_subst='$delay_variable_subst'
25766 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25767 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25768 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25769 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25770 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25771 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25772 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25773 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25774 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25775 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25776 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25777 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25778 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25779 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25780 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25781 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25782 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25783 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25784 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25785 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25786 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25787 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25788 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25789 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25790 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25791 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25792 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25793 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25794 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25795 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25796 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25797 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25798 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25799 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25800 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25801 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25802 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25803 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25804 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25805 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25806 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25807 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25808 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25809 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25810 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25811 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25812 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25813 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25814 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"`'
25815 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25816 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25817 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25818 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25819 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25820 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25821 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25822 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25823 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25824 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25825 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25826 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25827 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25828 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25829 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25830 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25831 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25832 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25833 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25834 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25835 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25836 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25837 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25838 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25839 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25840 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25841 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25842 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25843 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25844 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25845 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25846 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25847 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25848 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25849 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25850 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25851 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25852 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25853 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25854 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25855 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25856 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25857 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25858 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25859 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25860 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25861 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25862 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25863 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25864 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25865 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25866 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25867 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25868 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25869 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25870 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25871 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25872 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25873 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25874 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25875 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25876 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25877 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25878 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25879 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25880 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25881 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25882 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25883 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25884 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25885 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25886 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25887 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25888 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25889 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25890 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25891 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25892 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
25893 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
25894 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
25895 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25896 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
25897 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
25898 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
25899 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
25900 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
25901 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
25902 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
25903 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
25904 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
25905 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25906 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25907 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
25908 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
25909 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
25910 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25911 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25912 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
25913 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25914 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
25915 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25916 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25917 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25918 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
25919 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
25920 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
25921 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
25922 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
25923 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
25924 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
25925 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
25926 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
25927 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
25928 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
25929 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
25930 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25931 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25932 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
25933 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
25934 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
25935 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
25936 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
25937 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
25938 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
25939 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
25940 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
25941
25942 LTCC='$LTCC'
25943 LTCFLAGS='$LTCFLAGS'
25944 compiler='$compiler_DEFAULT'
25945
25946 # A function that is used when there is no print builtin or printf.
25947 func_fallback_echo ()
25948 {
25949 eval 'cat <<_LTECHO_EOF
25950 \$1
25951 _LTECHO_EOF'
25952 }
25953
25954 # Quote evaled strings.
25955 for var in SHELL \
25956 ECHO \
25957 SED \
25958 GREP \
25959 EGREP \
25960 FGREP \
25961 LD \
25962 NM \
25963 LN_S \
25964 lt_SP2NL \
25965 lt_NL2SP \
25966 reload_flag \
25967 OBJDUMP \
25968 deplibs_check_method \
25969 file_magic_cmd \
25970 AR \
25971 AR_FLAGS \
25972 STRIP \
25973 RANLIB \
25974 CC \
25975 CFLAGS \
25976 compiler \
25977 lt_cv_sys_global_symbol_pipe \
25978 lt_cv_sys_global_symbol_to_cdecl \
25979 lt_cv_sys_global_symbol_to_c_name_address \
25980 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25981 lt_prog_compiler_no_builtin_flag \
25982 lt_prog_compiler_wl \
25983 lt_prog_compiler_pic \
25984 lt_prog_compiler_static \
25985 lt_cv_prog_compiler_c_o \
25986 need_locks \
25987 DSYMUTIL \
25988 NMEDIT \
25989 LIPO \
25990 OTOOL \
25991 OTOOL64 \
25992 shrext_cmds \
25993 export_dynamic_flag_spec \
25994 whole_archive_flag_spec \
25995 compiler_needs_object \
25996 with_gnu_ld \
25997 allow_undefined_flag \
25998 no_undefined_flag \
25999 hardcode_libdir_flag_spec \
26000 hardcode_libdir_flag_spec_ld \
26001 hardcode_libdir_separator \
26002 fix_srcfile_path \
26003 exclude_expsyms \
26004 include_expsyms \
26005 file_list_spec \
26006 variables_saved_for_relink \
26007 libname_spec \
26008 library_names_spec \
26009 soname_spec \
26010 install_override_mode \
26011 finish_eval \
26012 old_striplib \
26013 striplib \
26014 compiler_lib_search_dirs \
26015 predep_objects \
26016 postdep_objects \
26017 predeps \
26018 postdeps \
26019 compiler_lib_search_path \
26020 LD_FC \
26021 reload_flag_FC \
26022 compiler_FC \
26023 lt_prog_compiler_no_builtin_flag_FC \
26024 lt_prog_compiler_wl_FC \
26025 lt_prog_compiler_pic_FC \
26026 lt_prog_compiler_static_FC \
26027 lt_cv_prog_compiler_c_o_FC \
26028 export_dynamic_flag_spec_FC \
26029 whole_archive_flag_spec_FC \
26030 compiler_needs_object_FC \
26031 with_gnu_ld_FC \
26032 allow_undefined_flag_FC \
26033 no_undefined_flag_FC \
26034 hardcode_libdir_flag_spec_FC \
26035 hardcode_libdir_flag_spec_ld_FC \
26036 hardcode_libdir_separator_FC \
26037 fix_srcfile_path_FC \
26038 exclude_expsyms_FC \
26039 include_expsyms_FC \
26040 file_list_spec_FC \
26041 compiler_lib_search_dirs_FC \
26042 predep_objects_FC \
26043 postdep_objects_FC \
26044 predeps_FC \
26045 postdeps_FC \
26046 compiler_lib_search_path_FC; do
26047 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26048 *[\\\\\\\`\\"\\\$]*)
26049 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26050 ;;
26051 *)
26052 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26053 ;;
26054 esac
26055 done
26056
26057 # Double-quote double-evaled strings.
26058 for var in reload_cmds \
26059 old_postinstall_cmds \
26060 old_postuninstall_cmds \
26061 old_archive_cmds \
26062 extract_expsyms_cmds \
26063 old_archive_from_new_cmds \
26064 old_archive_from_expsyms_cmds \
26065 archive_cmds \
26066 archive_expsym_cmds \
26067 module_cmds \
26068 module_expsym_cmds \
26069 export_symbols_cmds \
26070 prelink_cmds \
26071 postinstall_cmds \
26072 postuninstall_cmds \
26073 finish_cmds \
26074 sys_lib_search_path_spec \
26075 sys_lib_dlsearch_path_spec \
26076 reload_cmds_FC \
26077 old_archive_cmds_FC \
26078 old_archive_from_new_cmds_FC \
26079 old_archive_from_expsyms_cmds_FC \
26080 archive_cmds_FC \
26081 archive_expsym_cmds_FC \
26082 module_cmds_FC \
26083 module_expsym_cmds_FC \
26084 export_symbols_cmds_FC \
26085 prelink_cmds_FC; do
26086 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26087 *[\\\\\\\`\\"\\\$]*)
26088 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26089 ;;
26090 *)
26091 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26092 ;;
26093 esac
26094 done
26095
26096 ac_aux_dir='$ac_aux_dir'
26097 xsi_shell='$xsi_shell'
26098 lt_shell_append='$lt_shell_append'
26099
26100 # See if we are running on zsh, and set the options which allow our
26101 # commands through without removal of \ escapes INIT.
26102 if test -n "\${ZSH_VERSION+set}" ; then
26103 setopt NO_GLOB_SUBST
26104 fi
26105
26106
26107 PACKAGE='$PACKAGE'
26108 VERSION='$VERSION'
26109 TIMESTAMP='$TIMESTAMP'
26110 RM='$RM'
26111 ofile='$ofile'
26112
26113
26114
26115
26116
26117
26118 GCC="$GCC"
26119 CC="$CC"
26120 acx_cv_header_stdint="$acx_cv_header_stdint"
26121 acx_cv_type_int8_t="$acx_cv_type_int8_t"
26122 acx_cv_type_int16_t="$acx_cv_type_int16_t"
26123 acx_cv_type_int32_t="$acx_cv_type_int32_t"
26124 acx_cv_type_int64_t="$acx_cv_type_int64_t"
26125 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
26126 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
26127 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
26128 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
26129 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
26130 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
26131 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
26132 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
26133 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
26134
26135
26136 _ACEOF
26137
26138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26139
26140 # Handling of arguments.
26141 for ac_config_target in $ac_config_targets
26142 do
26143 case $ac_config_target in
26144 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26145 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26146 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26147 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26148 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
26149 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26150
26151 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26152 esac
26153 done
26154
26155
26156 # If the user did not use the arguments to specify the items to instantiate,
26157 # then the envvar interface is used. Set only those that are not.
26158 # We use the long form for the default assignment because of an extremely
26159 # bizarre bug on SunOS 4.1.3.
26160 if $ac_need_defaults; then
26161 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26162 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26163 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26164 fi
26165
26166 # Have a temporary directory for convenience. Make it in the build tree
26167 # simply because there is no reason against having it here, and in addition,
26168 # creating and moving files from /tmp can sometimes cause problems.
26169 # Hook for its removal unless debugging.
26170 # Note that there is a small window in which the directory will not be cleaned:
26171 # after its creation but before its name has been assigned to `$tmp'.
26172 $debug ||
26173 {
26174 tmp=
26175 trap 'exit_status=$?
26176 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26177 ' 0
26178 trap 'as_fn_exit 1' 1 2 13 15
26179 }
26180 # Create a (secure) tmp directory for tmp files.
26181
26182 {
26183 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26184 test -n "$tmp" && test -d "$tmp"
26185 } ||
26186 {
26187 tmp=./conf$$-$RANDOM
26188 (umask 077 && mkdir "$tmp")
26189 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
26190
26191 # Set up the scripts for CONFIG_FILES section.
26192 # No need to generate them if there are no CONFIG_FILES.
26193 # This happens for instance with `./config.status config.h'.
26194 if test -n "$CONFIG_FILES"; then
26195
26196
26197 ac_cr=`echo X | tr X '\015'`
26198 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26199 # But we know of no other shell where ac_cr would be empty at this
26200 # point, so we can use a bashism as a fallback.
26201 if test "x$ac_cr" = x; then
26202 eval ac_cr=\$\'\\r\'
26203 fi
26204 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26205 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26206 ac_cs_awk_cr='\r'
26207 else
26208 ac_cs_awk_cr=$ac_cr
26209 fi
26210
26211 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26212 _ACEOF
26213
26214
26215 {
26216 echo "cat >conf$$subs.awk <<_ACEOF" &&
26217 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26218 echo "_ACEOF"
26219 } >conf$$subs.sh ||
26220 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26221 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26222 ac_delim='%!_!# '
26223 for ac_last_try in false false false false false :; do
26224 . ./conf$$subs.sh ||
26225 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26226
26227 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26228 if test $ac_delim_n = $ac_delim_num; then
26229 break
26230 elif $ac_last_try; then
26231 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26232 else
26233 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26234 fi
26235 done
26236 rm -f conf$$subs.sh
26237
26238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26239 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
26240 _ACEOF
26241 sed -n '
26242 h
26243 s/^/S["/; s/!.*/"]=/
26244 p
26245 g
26246 s/^[^!]*!//
26247 :repl
26248 t repl
26249 s/'"$ac_delim"'$//
26250 t delim
26251 :nl
26252 h
26253 s/\(.\{148\}\).*/\1/
26254 t more1
26255 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26256 p
26257 n
26258 b repl
26259 :more1
26260 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26261 p
26262 g
26263 s/.\{148\}//
26264 t nl
26265 :delim
26266 h
26267 s/\(.\{148\}\).*/\1/
26268 t more2
26269 s/["\\]/\\&/g; s/^/"/; s/$/"/
26270 p
26271 b
26272 :more2
26273 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26274 p
26275 g
26276 s/.\{148\}//
26277 t delim
26278 ' <conf$$subs.awk | sed '
26279 /^[^""]/{
26280 N
26281 s/\n//
26282 }
26283 ' >>$CONFIG_STATUS || ac_write_fail=1
26284 rm -f conf$$subs.awk
26285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26286 _ACAWK
26287 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
26288 for (key in S) S_is_set[key] = 1
26289 FS = "\a"
26290
26291 }
26292 {
26293 line = $ 0
26294 nfields = split(line, field, "@")
26295 substed = 0
26296 len = length(field[1])
26297 for (i = 2; i < nfields; i++) {
26298 key = field[i]
26299 keylen = length(key)
26300 if (S_is_set[key]) {
26301 value = S[key]
26302 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26303 len += length(value) + length(field[++i])
26304 substed = 1
26305 } else
26306 len += 1 + keylen
26307 }
26308
26309 print line
26310 }
26311
26312 _ACAWK
26313 _ACEOF
26314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26315 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26316 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26317 else
26318 cat
26319 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
26320 || as_fn_error "could not setup config files machinery" "$LINENO" 5
26321 _ACEOF
26322
26323 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26324 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26325 # trailing colons and then remove the whole line if VPATH becomes empty
26326 # (actually we leave an empty line to preserve line numbers).
26327 if test "x$srcdir" = x.; then
26328 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26329 s/:*\$(srcdir):*/:/
26330 s/:*\${srcdir}:*/:/
26331 s/:*@srcdir@:*/:/
26332 s/^\([^=]*=[ ]*\):*/\1/
26333 s/:*$//
26334 s/^[^=]*=[ ]*$//
26335 }'
26336 fi
26337
26338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26339 fi # test -n "$CONFIG_FILES"
26340
26341 # Set up the scripts for CONFIG_HEADERS section.
26342 # No need to generate them if there are no CONFIG_HEADERS.
26343 # This happens for instance with `./config.status Makefile'.
26344 if test -n "$CONFIG_HEADERS"; then
26345 cat >"$tmp/defines.awk" <<\_ACAWK ||
26346 BEGIN {
26347 _ACEOF
26348
26349 # Transform confdefs.h into an awk script `defines.awk', embedded as
26350 # here-document in config.status, that substitutes the proper values into
26351 # config.h.in to produce config.h.
26352
26353 # Create a delimiter string that does not exist in confdefs.h, to ease
26354 # handling of long lines.
26355 ac_delim='%!_!# '
26356 for ac_last_try in false false :; do
26357 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
26358 if test -z "$ac_t"; then
26359 break
26360 elif $ac_last_try; then
26361 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
26362 else
26363 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26364 fi
26365 done
26366
26367 # For the awk script, D is an array of macro values keyed by name,
26368 # likewise P contains macro parameters if any. Preserve backslash
26369 # newline sequences.
26370
26371 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26372 sed -n '
26373 s/.\{148\}/&'"$ac_delim"'/g
26374 t rset
26375 :rset
26376 s/^[ ]*#[ ]*define[ ][ ]*/ /
26377 t def
26378 d
26379 :def
26380 s/\\$//
26381 t bsnl
26382 s/["\\]/\\&/g
26383 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26384 D["\1"]=" \3"/p
26385 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
26386 d
26387 :bsnl
26388 s/["\\]/\\&/g
26389 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26390 D["\1"]=" \3\\\\\\n"\\/p
26391 t cont
26392 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26393 t cont
26394 d
26395 :cont
26396 n
26397 s/.\{148\}/&'"$ac_delim"'/g
26398 t clear
26399 :clear
26400 s/\\$//
26401 t bsnlc
26402 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26403 d
26404 :bsnlc
26405 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26406 b cont
26407 ' <confdefs.h | sed '
26408 s/'"$ac_delim"'/"\\\
26409 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26410
26411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26412 for (key in D) D_is_set[key] = 1
26413 FS = "\a"
26414 }
26415 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26416 line = \$ 0
26417 split(line, arg, " ")
26418 if (arg[1] == "#") {
26419 defundef = arg[2]
26420 mac1 = arg[3]
26421 } else {
26422 defundef = substr(arg[1], 2)
26423 mac1 = arg[2]
26424 }
26425 split(mac1, mac2, "(") #)
26426 macro = mac2[1]
26427 prefix = substr(line, 1, index(line, defundef) - 1)
26428 if (D_is_set[macro]) {
26429 # Preserve the white space surrounding the "#".
26430 print prefix "define", macro P[macro] D[macro]
26431 next
26432 } else {
26433 # Replace #undef with comments. This is necessary, for example,
26434 # in the case of _POSIX_SOURCE, which is predefined and required
26435 # on some systems where configure will not decide to define it.
26436 if (defundef == "undef") {
26437 print "/*", prefix defundef, macro, "*/"
26438 next
26439 }
26440 }
26441 }
26442 { print }
26443 _ACAWK
26444 _ACEOF
26445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26446 as_fn_error "could not setup config headers machinery" "$LINENO" 5
26447 fi # test -n "$CONFIG_HEADERS"
26448
26449
26450 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
26451 shift
26452 for ac_tag
26453 do
26454 case $ac_tag in
26455 :[FHLC]) ac_mode=$ac_tag; continue;;
26456 esac
26457 case $ac_mode$ac_tag in
26458 :[FHL]*:*);;
26459 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
26460 :[FH]-) ac_tag=-:-;;
26461 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26462 esac
26463 ac_save_IFS=$IFS
26464 IFS=:
26465 set x $ac_tag
26466 IFS=$ac_save_IFS
26467 shift
26468 ac_file=$1
26469 shift
26470
26471 case $ac_mode in
26472 :L) ac_source=$1;;
26473 :[FH])
26474 ac_file_inputs=
26475 for ac_f
26476 do
26477 case $ac_f in
26478 -) ac_f="$tmp/stdin";;
26479 *) # Look for the file first in the build tree, then in the source tree
26480 # (if the path is not absolute). The absolute path cannot be DOS-style,
26481 # because $ac_f cannot contain `:'.
26482 test -f "$ac_f" ||
26483 case $ac_f in
26484 [\\/$]*) false;;
26485 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26486 esac ||
26487 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26488 esac
26489 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26490 as_fn_append ac_file_inputs " '$ac_f'"
26491 done
26492
26493 # Let's still pretend it is `configure' which instantiates (i.e., don't
26494 # use $as_me), people would be surprised to read:
26495 # /* config.h. Generated by config.status. */
26496 configure_input='Generated from '`
26497 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26498 `' by configure.'
26499 if test x"$ac_file" != x-; then
26500 configure_input="$ac_file. $configure_input"
26501 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26502 $as_echo "$as_me: creating $ac_file" >&6;}
26503 fi
26504 # Neutralize special characters interpreted by sed in replacement strings.
26505 case $configure_input in #(
26506 *\&* | *\|* | *\\* )
26507 ac_sed_conf_input=`$as_echo "$configure_input" |
26508 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26509 *) ac_sed_conf_input=$configure_input;;
26510 esac
26511
26512 case $ac_tag in
26513 *:-:* | *:-) cat >"$tmp/stdin" \
26514 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
26515 esac
26516 ;;
26517 esac
26518
26519 ac_dir=`$as_dirname -- "$ac_file" ||
26520 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26521 X"$ac_file" : 'X\(//\)[^/]' \| \
26522 X"$ac_file" : 'X\(//\)$' \| \
26523 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26524 $as_echo X"$ac_file" |
26525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26526 s//\1/
26527 q
26528 }
26529 /^X\(\/\/\)[^/].*/{
26530 s//\1/
26531 q
26532 }
26533 /^X\(\/\/\)$/{
26534 s//\1/
26535 q
26536 }
26537 /^X\(\/\).*/{
26538 s//\1/
26539 q
26540 }
26541 s/.*/./; q'`
26542 as_dir="$ac_dir"; as_fn_mkdir_p
26543 ac_builddir=.
26544
26545 case "$ac_dir" in
26546 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26547 *)
26548 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26549 # A ".." for each directory in $ac_dir_suffix.
26550 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26551 case $ac_top_builddir_sub in
26552 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26553 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26554 esac ;;
26555 esac
26556 ac_abs_top_builddir=$ac_pwd
26557 ac_abs_builddir=$ac_pwd$ac_dir_suffix
26558 # for backward compatibility:
26559 ac_top_builddir=$ac_top_build_prefix
26560
26561 case $srcdir in
26562 .) # We are building in place.
26563 ac_srcdir=.
26564 ac_top_srcdir=$ac_top_builddir_sub
26565 ac_abs_top_srcdir=$ac_pwd ;;
26566 [\\/]* | ?:[\\/]* ) # Absolute name.
26567 ac_srcdir=$srcdir$ac_dir_suffix;
26568 ac_top_srcdir=$srcdir
26569 ac_abs_top_srcdir=$srcdir ;;
26570 *) # Relative name.
26571 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26572 ac_top_srcdir=$ac_top_build_prefix$srcdir
26573 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26574 esac
26575 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26576
26577
26578 case $ac_mode in
26579 :F)
26580 #
26581 # CONFIG_FILE
26582 #
26583
26584 case $INSTALL in
26585 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26586 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26587 esac
26588 ac_MKDIR_P=$MKDIR_P
26589 case $MKDIR_P in
26590 [\\/$]* | ?:[\\/]* ) ;;
26591 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
26592 esac
26593 _ACEOF
26594
26595 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26596 # If the template does not know about datarootdir, expand it.
26597 # FIXME: This hack should be removed a few years after 2.60.
26598 ac_datarootdir_hack=; ac_datarootdir_seen=
26599 ac_sed_dataroot='
26600 /datarootdir/ {
26601 p
26602 q
26603 }
26604 /@datadir@/p
26605 /@docdir@/p
26606 /@infodir@/p
26607 /@localedir@/p
26608 /@mandir@/p'
26609 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26610 *datarootdir*) ac_datarootdir_seen=yes;;
26611 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26613 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26614 _ACEOF
26615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26616 ac_datarootdir_hack='
26617 s&@datadir@&$datadir&g
26618 s&@docdir@&$docdir&g
26619 s&@infodir@&$infodir&g
26620 s&@localedir@&$localedir&g
26621 s&@mandir@&$mandir&g
26622 s&\\\${datarootdir}&$datarootdir&g' ;;
26623 esac
26624 _ACEOF
26625
26626 # Neutralize VPATH when `$srcdir' = `.'.
26627 # Shell code in configure.ac might set extrasub.
26628 # FIXME: do we really want to maintain this feature?
26629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26630 ac_sed_extra="$ac_vpsub
26631 $extrasub
26632 _ACEOF
26633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26634 :t
26635 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26636 s|@configure_input@|$ac_sed_conf_input|;t t
26637 s&@top_builddir@&$ac_top_builddir_sub&;t t
26638 s&@top_build_prefix@&$ac_top_build_prefix&;t t
26639 s&@srcdir@&$ac_srcdir&;t t
26640 s&@abs_srcdir@&$ac_abs_srcdir&;t t
26641 s&@top_srcdir@&$ac_top_srcdir&;t t
26642 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26643 s&@builddir@&$ac_builddir&;t t
26644 s&@abs_builddir@&$ac_abs_builddir&;t t
26645 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26646 s&@INSTALL@&$ac_INSTALL&;t t
26647 s&@MKDIR_P@&$ac_MKDIR_P&;t t
26648 $ac_datarootdir_hack
26649 "
26650 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
26651 || as_fn_error "could not create $ac_file" "$LINENO" 5
26652
26653 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26654 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
26655 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
26656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26657 which seems to be undefined. Please make sure it is defined." >&5
26658 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26659 which seems to be undefined. Please make sure it is defined." >&2;}
26660
26661 rm -f "$tmp/stdin"
26662 case $ac_file in
26663 -) cat "$tmp/out" && rm -f "$tmp/out";;
26664 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26665 esac \
26666 || as_fn_error "could not create $ac_file" "$LINENO" 5
26667 ;;
26668 :H)
26669 #
26670 # CONFIG_HEADER
26671 #
26672 if test x"$ac_file" != x-; then
26673 {
26674 $as_echo "/* $configure_input */" \
26675 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26676 } >"$tmp/config.h" \
26677 || as_fn_error "could not create $ac_file" "$LINENO" 5
26678 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26679 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26680 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26681 else
26682 rm -f "$ac_file"
26683 mv "$tmp/config.h" "$ac_file" \
26684 || as_fn_error "could not create $ac_file" "$LINENO" 5
26685 fi
26686 else
26687 $as_echo "/* $configure_input */" \
26688 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26689 || as_fn_error "could not create -" "$LINENO" 5
26690 fi
26691 # Compute "$ac_file"'s index in $config_headers.
26692 _am_arg="$ac_file"
26693 _am_stamp_count=1
26694 for _am_header in $config_headers :; do
26695 case $_am_header in
26696 $_am_arg | $_am_arg:* )
26697 break ;;
26698 * )
26699 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
26700 esac
26701 done
26702 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26703 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26704 X"$_am_arg" : 'X\(//\)[^/]' \| \
26705 X"$_am_arg" : 'X\(//\)$' \| \
26706 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26707 $as_echo X"$_am_arg" |
26708 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26709 s//\1/
26710 q
26711 }
26712 /^X\(\/\/\)[^/].*/{
26713 s//\1/
26714 q
26715 }
26716 /^X\(\/\/\)$/{
26717 s//\1/
26718 q
26719 }
26720 /^X\(\/\).*/{
26721 s//\1/
26722 q
26723 }
26724 s/.*/./; q'`/stamp-h$_am_stamp_count
26725 ;;
26726
26727 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26728 $as_echo "$as_me: executing $ac_file commands" >&6;}
26729 ;;
26730 esac
26731
26732
26733 case $ac_file$ac_mode in
26734 "default-1":C)
26735 # Only add multilib support code if we just rebuilt the top-level
26736 # Makefile.
26737 case " $CONFIG_FILES " in
26738 *" Makefile "*)
26739 ac_file=Makefile . ${multi_basedir}/config-ml.in
26740 ;;
26741 esac ;;
26742 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
26743 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26744 # are listed without --file. Let's play safe and only enable the eval
26745 # if we detect the quoting.
26746 case $CONFIG_FILES in
26747 *\'*) eval set x "$CONFIG_FILES" ;;
26748 *) set x $CONFIG_FILES ;;
26749 esac
26750 shift
26751 for mf
26752 do
26753 # Strip MF so we end up with the name of the file.
26754 mf=`echo "$mf" | sed -e 's/:.*$//'`
26755 # Check whether this is an Automake generated Makefile or not.
26756 # We used to match only the files named `Makefile.in', but
26757 # some people rename them; so instead we look at the file content.
26758 # Grep'ing the first line is not enough: some people post-process
26759 # each Makefile.in and add a new line on top of each file to say so.
26760 # Grep'ing the whole file is not good either: AIX grep has a line
26761 # limit of 2048, but all sed's we know have understand at least 4000.
26762 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
26763 dirpart=`$as_dirname -- "$mf" ||
26764 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26765 X"$mf" : 'X\(//\)[^/]' \| \
26766 X"$mf" : 'X\(//\)$' \| \
26767 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26768 $as_echo X"$mf" |
26769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26770 s//\1/
26771 q
26772 }
26773 /^X\(\/\/\)[^/].*/{
26774 s//\1/
26775 q
26776 }
26777 /^X\(\/\/\)$/{
26778 s//\1/
26779 q
26780 }
26781 /^X\(\/\).*/{
26782 s//\1/
26783 q
26784 }
26785 s/.*/./; q'`
26786 else
26787 continue
26788 fi
26789 # Extract the definition of DEPDIR, am__include, and am__quote
26790 # from the Makefile without running `make'.
26791 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
26792 test -z "$DEPDIR" && continue
26793 am__include=`sed -n 's/^am__include = //p' < "$mf"`
26794 test -z "am__include" && continue
26795 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
26796 # When using ansi2knr, U may be empty or an underscore; expand it
26797 U=`sed -n 's/^U = //p' < "$mf"`
26798 # Find all dependency output files, they are included files with
26799 # $(DEPDIR) in their names. We invoke sed twice because it is the
26800 # simplest approach to changing $(DEPDIR) to its actual value in the
26801 # expansion.
26802 for file in `sed -n "
26803 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26804 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26805 # Make sure the directory exists.
26806 test -f "$dirpart/$file" && continue
26807 fdir=`$as_dirname -- "$file" ||
26808 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26809 X"$file" : 'X\(//\)[^/]' \| \
26810 X"$file" : 'X\(//\)$' \| \
26811 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26812 $as_echo X"$file" |
26813 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26814 s//\1/
26815 q
26816 }
26817 /^X\(\/\/\)[^/].*/{
26818 s//\1/
26819 q
26820 }
26821 /^X\(\/\/\)$/{
26822 s//\1/
26823 q
26824 }
26825 /^X\(\/\).*/{
26826 s//\1/
26827 q
26828 }
26829 s/.*/./; q'`
26830 as_dir=$dirpart/$fdir; as_fn_mkdir_p
26831 # echo "creating $dirpart/$file"
26832 echo '# dummy' > "$dirpart/$file"
26833 done
26834 done
26835 }
26836 ;;
26837 "libtool":C)
26838
26839 # See if we are running on zsh, and set the options which allow our
26840 # commands through without removal of \ escapes.
26841 if test -n "${ZSH_VERSION+set}" ; then
26842 setopt NO_GLOB_SUBST
26843 fi
26844
26845 cfgfile="${ofile}T"
26846 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26847 $RM "$cfgfile"
26848
26849 cat <<_LT_EOF >> "$cfgfile"
26850 #! $SHELL
26851
26852 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26853 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26854 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26855 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26856 #
26857 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26858 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
26859 # Written by Gordon Matzigkeit, 1996
26860 #
26861 # This file is part of GNU Libtool.
26862 #
26863 # GNU Libtool is free software; you can redistribute it and/or
26864 # modify it under the terms of the GNU General Public License as
26865 # published by the Free Software Foundation; either version 2 of
26866 # the License, or (at your option) any later version.
26867 #
26868 # As a special exception to the GNU General Public License,
26869 # if you distribute this file as part of a program or library that
26870 # is built using GNU Libtool, you may include this file under the
26871 # same distribution terms that you use for the rest of that program.
26872 #
26873 # GNU Libtool is distributed in the hope that it will be useful,
26874 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26875 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26876 # GNU General Public License for more details.
26877 #
26878 # You should have received a copy of the GNU General Public License
26879 # along with GNU Libtool; see the file COPYING. If not, a copy
26880 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26881 # obtained by writing to the Free Software Foundation, Inc.,
26882 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26883
26884
26885 # The names of the tagged configurations supported by this script.
26886 available_tags="FC "
26887
26888 # ### BEGIN LIBTOOL CONFIG
26889
26890 # Which release of libtool.m4 was used?
26891 macro_version=$macro_version
26892 macro_revision=$macro_revision
26893
26894 # Whether or not to build shared libraries.
26895 build_libtool_libs=$enable_shared
26896
26897 # Whether or not to build static libraries.
26898 build_old_libs=$enable_static
26899
26900 # What type of objects to build.
26901 pic_mode=$pic_mode
26902
26903 # Whether or not to optimize for fast installation.
26904 fast_install=$enable_fast_install
26905
26906 # Shell to use when invoking shell scripts.
26907 SHELL=$lt_SHELL
26908
26909 # An echo program that protects backslashes.
26910 ECHO=$lt_ECHO
26911
26912 # The host system.
26913 host_alias=$host_alias
26914 host=$host
26915 host_os=$host_os
26916
26917 # The build system.
26918 build_alias=$build_alias
26919 build=$build
26920 build_os=$build_os
26921
26922 # A sed program that does not truncate output.
26923 SED=$lt_SED
26924
26925 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26926 Xsed="\$SED -e 1s/^X//"
26927
26928 # A grep program that handles long lines.
26929 GREP=$lt_GREP
26930
26931 # An ERE matcher.
26932 EGREP=$lt_EGREP
26933
26934 # A literal string matcher.
26935 FGREP=$lt_FGREP
26936
26937 # A BSD- or MS-compatible name lister.
26938 NM=$lt_NM
26939
26940 # Whether we need soft or hard links.
26941 LN_S=$lt_LN_S
26942
26943 # What is the maximum length of a command?
26944 max_cmd_len=$max_cmd_len
26945
26946 # Object file suffix (normally "o").
26947 objext=$ac_objext
26948
26949 # Executable file suffix (normally "").
26950 exeext=$exeext
26951
26952 # whether the shell understands "unset".
26953 lt_unset=$lt_unset
26954
26955 # turn spaces into newlines.
26956 SP2NL=$lt_lt_SP2NL
26957
26958 # turn newlines into spaces.
26959 NL2SP=$lt_lt_NL2SP
26960
26961 # An object symbol dumper.
26962 OBJDUMP=$lt_OBJDUMP
26963
26964 # Method to check whether dependent libraries are shared objects.
26965 deplibs_check_method=$lt_deplibs_check_method
26966
26967 # Command to use when deplibs_check_method == "file_magic".
26968 file_magic_cmd=$lt_file_magic_cmd
26969
26970 # The archiver.
26971 AR=$lt_AR
26972 AR_FLAGS=$lt_AR_FLAGS
26973
26974 # A symbol stripping program.
26975 STRIP=$lt_STRIP
26976
26977 # Commands used to install an old-style archive.
26978 RANLIB=$lt_RANLIB
26979 old_postinstall_cmds=$lt_old_postinstall_cmds
26980 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26981
26982 # Whether to use a lock for old archive extraction.
26983 lock_old_archive_extraction=$lock_old_archive_extraction
26984
26985 # A C compiler.
26986 LTCC=$lt_CC
26987
26988 # LTCC compiler flags.
26989 LTCFLAGS=$lt_CFLAGS
26990
26991 # Take the output of nm and produce a listing of raw symbols and C names.
26992 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26993
26994 # Transform the output of nm in a proper C declaration.
26995 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26996
26997 # Transform the output of nm in a C name address pair.
26998 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26999
27000 # Transform the output of nm in a C name address pair when lib prefix is needed.
27001 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27002
27003 # The name of the directory that contains temporary libtool files.
27004 objdir=$objdir
27005
27006 # Used to examine libraries when file_magic_cmd begins with "file".
27007 MAGIC_CMD=$MAGIC_CMD
27008
27009 # Must we lock files when doing compilation?
27010 need_locks=$lt_need_locks
27011
27012 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27013 DSYMUTIL=$lt_DSYMUTIL
27014
27015 # Tool to change global to local symbols on Mac OS X.
27016 NMEDIT=$lt_NMEDIT
27017
27018 # Tool to manipulate fat objects and archives on Mac OS X.
27019 LIPO=$lt_LIPO
27020
27021 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27022 OTOOL=$lt_OTOOL
27023
27024 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27025 OTOOL64=$lt_OTOOL64
27026
27027 # Old archive suffix (normally "a").
27028 libext=$libext
27029
27030 # Shared library suffix (normally ".so").
27031 shrext_cmds=$lt_shrext_cmds
27032
27033 # The commands to extract the exported symbol list from a shared archive.
27034 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27035
27036 # Variables whose values should be saved in libtool wrapper scripts and
27037 # restored at link time.
27038 variables_saved_for_relink=$lt_variables_saved_for_relink
27039
27040 # Do we need the "lib" prefix for modules?
27041 need_lib_prefix=$need_lib_prefix
27042
27043 # Do we need a version for libraries?
27044 need_version=$need_version
27045
27046 # Library versioning type.
27047 version_type=$version_type
27048
27049 # Shared library runtime path variable.
27050 runpath_var=$runpath_var
27051
27052 # Shared library path variable.
27053 shlibpath_var=$shlibpath_var
27054
27055 # Is shlibpath searched before the hard-coded library search path?
27056 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27057
27058 # Format of library name prefix.
27059 libname_spec=$lt_libname_spec
27060
27061 # List of archive names. First name is the real one, the rest are links.
27062 # The last name is the one that the linker finds with -lNAME
27063 library_names_spec=$lt_library_names_spec
27064
27065 # The coded name of the library, if different from the real name.
27066 soname_spec=$lt_soname_spec
27067
27068 # Permission mode override for installation of shared libraries.
27069 install_override_mode=$lt_install_override_mode
27070
27071 # Command to use after installation of a shared archive.
27072 postinstall_cmds=$lt_postinstall_cmds
27073
27074 # Command to use after uninstallation of a shared archive.
27075 postuninstall_cmds=$lt_postuninstall_cmds
27076
27077 # Commands used to finish a libtool library installation in a directory.
27078 finish_cmds=$lt_finish_cmds
27079
27080 # As "finish_cmds", except a single script fragment to be evaled but
27081 # not shown.
27082 finish_eval=$lt_finish_eval
27083
27084 # Whether we should hardcode library paths into libraries.
27085 hardcode_into_libs=$hardcode_into_libs
27086
27087 # Compile-time system search path for libraries.
27088 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27089
27090 # Run-time system search path for libraries.
27091 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27092
27093 # Whether dlopen is supported.
27094 dlopen_support=$enable_dlopen
27095
27096 # Whether dlopen of programs is supported.
27097 dlopen_self=$enable_dlopen_self
27098
27099 # Whether dlopen of statically linked programs is supported.
27100 dlopen_self_static=$enable_dlopen_self_static
27101
27102 # Commands to strip libraries.
27103 old_striplib=$lt_old_striplib
27104 striplib=$lt_striplib
27105
27106
27107 # The linker used to build libraries.
27108 LD=$lt_LD
27109
27110 # How to create reloadable object files.
27111 reload_flag=$lt_reload_flag
27112 reload_cmds=$lt_reload_cmds
27113
27114 # Commands used to build an old-style archive.
27115 old_archive_cmds=$lt_old_archive_cmds
27116
27117 # A language specific compiler.
27118 CC=$lt_compiler
27119
27120 # Is the compiler the GNU compiler?
27121 with_gcc=$GCC
27122
27123 # Compiler flag to turn off builtin functions.
27124 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27125
27126 # How to pass a linker flag through the compiler.
27127 wl=$lt_lt_prog_compiler_wl
27128
27129 # Additional compiler flags for building library objects.
27130 pic_flag=$lt_lt_prog_compiler_pic
27131
27132 # Compiler flag to prevent dynamic linking.
27133 link_static_flag=$lt_lt_prog_compiler_static
27134
27135 # Does compiler simultaneously support -c and -o options?
27136 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27137
27138 # Whether or not to add -lc for building shared libraries.
27139 build_libtool_need_lc=$archive_cmds_need_lc
27140
27141 # Whether or not to disallow shared libs when runtime libs are static.
27142 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27143
27144 # Compiler flag to allow reflexive dlopens.
27145 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27146
27147 # Compiler flag to generate shared objects directly from archives.
27148 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27149
27150 # Whether the compiler copes with passing no objects directly.
27151 compiler_needs_object=$lt_compiler_needs_object
27152
27153 # Create an old-style archive from a shared archive.
27154 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27155
27156 # Create a temporary old-style archive to link instead of a shared archive.
27157 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27158
27159 # Commands used to build a shared archive.
27160 archive_cmds=$lt_archive_cmds
27161 archive_expsym_cmds=$lt_archive_expsym_cmds
27162
27163 # Commands used to build a loadable module if different from building
27164 # a shared archive.
27165 module_cmds=$lt_module_cmds
27166 module_expsym_cmds=$lt_module_expsym_cmds
27167
27168 # Whether we are building with GNU ld or not.
27169 with_gnu_ld=$lt_with_gnu_ld
27170
27171 # Flag that allows shared libraries with undefined symbols to be built.
27172 allow_undefined_flag=$lt_allow_undefined_flag
27173
27174 # Flag that enforces no undefined symbols.
27175 no_undefined_flag=$lt_no_undefined_flag
27176
27177 # Flag to hardcode \$libdir into a binary during linking.
27178 # This must work even if \$libdir does not exist
27179 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27180
27181 # If ld is used when linking, flag to hardcode \$libdir into a binary
27182 # during linking. This must work even if \$libdir does not exist.
27183 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27184
27185 # Whether we need a single "-rpath" flag with a separated argument.
27186 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27187
27188 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27189 # DIR into the resulting binary.
27190 hardcode_direct=$hardcode_direct
27191
27192 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27193 # DIR into the resulting binary and the resulting library dependency is
27194 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27195 # library is relocated.
27196 hardcode_direct_absolute=$hardcode_direct_absolute
27197
27198 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27199 # into the resulting binary.
27200 hardcode_minus_L=$hardcode_minus_L
27201
27202 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27203 # into the resulting binary.
27204 hardcode_shlibpath_var=$hardcode_shlibpath_var
27205
27206 # Set to "yes" if building a shared library automatically hardcodes DIR
27207 # into the library and all subsequent libraries and executables linked
27208 # against it.
27209 hardcode_automatic=$hardcode_automatic
27210
27211 # Set to yes if linker adds runtime paths of dependent libraries
27212 # to runtime path list.
27213 inherit_rpath=$inherit_rpath
27214
27215 # Whether libtool must link a program against all its dependency libraries.
27216 link_all_deplibs=$link_all_deplibs
27217
27218 # Fix the shell variable \$srcfile for the compiler.
27219 fix_srcfile_path=$lt_fix_srcfile_path
27220
27221 # Set to "yes" if exported symbols are required.
27222 always_export_symbols=$always_export_symbols
27223
27224 # The commands to list exported symbols.
27225 export_symbols_cmds=$lt_export_symbols_cmds
27226
27227 # Symbols that should not be listed in the preloaded symbols.
27228 exclude_expsyms=$lt_exclude_expsyms
27229
27230 # Symbols that must always be exported.
27231 include_expsyms=$lt_include_expsyms
27232
27233 # Commands necessary for linking programs (against libraries) with templates.
27234 prelink_cmds=$lt_prelink_cmds
27235
27236 # Specify filename containing input files.
27237 file_list_spec=$lt_file_list_spec
27238
27239 # How to hardcode a shared library path into an executable.
27240 hardcode_action=$hardcode_action
27241
27242 # The directories searched by this compiler when creating a shared library.
27243 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27244
27245 # Dependencies to place before and after the objects being linked to
27246 # create a shared library.
27247 predep_objects=$lt_predep_objects
27248 postdep_objects=$lt_postdep_objects
27249 predeps=$lt_predeps
27250 postdeps=$lt_postdeps
27251
27252 # The library search path used internally by the compiler when linking
27253 # a shared library.
27254 compiler_lib_search_path=$lt_compiler_lib_search_path
27255
27256 # ### END LIBTOOL CONFIG
27257
27258 _LT_EOF
27259
27260 case $host_os in
27261 aix3*)
27262 cat <<\_LT_EOF >> "$cfgfile"
27263 # AIX sometimes has problems with the GCC collect2 program. For some
27264 # reason, if we set the COLLECT_NAMES environment variable, the problems
27265 # vanish in a puff of smoke.
27266 if test "X${COLLECT_NAMES+set}" != Xset; then
27267 COLLECT_NAMES=
27268 export COLLECT_NAMES
27269 fi
27270 _LT_EOF
27271 ;;
27272 esac
27273
27274
27275 ltmain="$ac_aux_dir/ltmain.sh"
27276
27277
27278 # We use sed instead of cat because bash on DJGPP gets confused if
27279 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27280 # text mode, it properly converts lines to CR/LF. This bash problem
27281 # is reportedly fixed, but why not run on old versions too?
27282 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27283 || (rm -f "$cfgfile"; exit 1)
27284
27285 case $xsi_shell in
27286 yes)
27287 cat << \_LT_EOF >> "$cfgfile"
27288
27289 # func_dirname file append nondir_replacement
27290 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27291 # otherwise set result to NONDIR_REPLACEMENT.
27292 func_dirname ()
27293 {
27294 case ${1} in
27295 */*) func_dirname_result="${1%/*}${2}" ;;
27296 * ) func_dirname_result="${3}" ;;
27297 esac
27298 }
27299
27300 # func_basename file
27301 func_basename ()
27302 {
27303 func_basename_result="${1##*/}"
27304 }
27305
27306 # func_dirname_and_basename file append nondir_replacement
27307 # perform func_basename and func_dirname in a single function
27308 # call:
27309 # dirname: Compute the dirname of FILE. If nonempty,
27310 # add APPEND to the result, otherwise set result
27311 # to NONDIR_REPLACEMENT.
27312 # value returned in "$func_dirname_result"
27313 # basename: Compute filename of FILE.
27314 # value retuned in "$func_basename_result"
27315 # Implementation must be kept synchronized with func_dirname
27316 # and func_basename. For efficiency, we do not delegate to
27317 # those functions but instead duplicate the functionality here.
27318 func_dirname_and_basename ()
27319 {
27320 case ${1} in
27321 */*) func_dirname_result="${1%/*}${2}" ;;
27322 * ) func_dirname_result="${3}" ;;
27323 esac
27324 func_basename_result="${1##*/}"
27325 }
27326
27327 # func_stripname prefix suffix name
27328 # strip PREFIX and SUFFIX off of NAME.
27329 # PREFIX and SUFFIX must not contain globbing or regex special
27330 # characters, hashes, percent signs, but SUFFIX may contain a leading
27331 # dot (in which case that matches only a dot).
27332 func_stripname ()
27333 {
27334 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27335 # positional parameters, so assign one to ordinary parameter first.
27336 func_stripname_result=${3}
27337 func_stripname_result=${func_stripname_result#"${1}"}
27338 func_stripname_result=${func_stripname_result%"${2}"}
27339 }
27340
27341 # func_opt_split
27342 func_opt_split ()
27343 {
27344 func_opt_split_opt=${1%%=*}
27345 func_opt_split_arg=${1#*=}
27346 }
27347
27348 # func_lo2o object
27349 func_lo2o ()
27350 {
27351 case ${1} in
27352 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
27353 *) func_lo2o_result=${1} ;;
27354 esac
27355 }
27356
27357 # func_xform libobj-or-source
27358 func_xform ()
27359 {
27360 func_xform_result=${1%.*}.lo
27361 }
27362
27363 # func_arith arithmetic-term...
27364 func_arith ()
27365 {
27366 func_arith_result=$(( $* ))
27367 }
27368
27369 # func_len string
27370 # STRING may not start with a hyphen.
27371 func_len ()
27372 {
27373 func_len_result=${#1}
27374 }
27375
27376 _LT_EOF
27377 ;;
27378 *) # Bourne compatible functions.
27379 cat << \_LT_EOF >> "$cfgfile"
27380
27381 # func_dirname file append nondir_replacement
27382 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27383 # otherwise set result to NONDIR_REPLACEMENT.
27384 func_dirname ()
27385 {
27386 # Extract subdirectory from the argument.
27387 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
27388 if test "X$func_dirname_result" = "X${1}"; then
27389 func_dirname_result="${3}"
27390 else
27391 func_dirname_result="$func_dirname_result${2}"
27392 fi
27393 }
27394
27395 # func_basename file
27396 func_basename ()
27397 {
27398 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
27399 }
27400
27401
27402 # func_stripname prefix suffix name
27403 # strip PREFIX and SUFFIX off of NAME.
27404 # PREFIX and SUFFIX must not contain globbing or regex special
27405 # characters, hashes, percent signs, but SUFFIX may contain a leading
27406 # dot (in which case that matches only a dot).
27407 # func_strip_suffix prefix name
27408 func_stripname ()
27409 {
27410 case ${2} in
27411 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27412 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27413 esac
27414 }
27415
27416 # sed scripts:
27417 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
27418 my_sed_long_arg='1s/^-[^=]*=//'
27419
27420 # func_opt_split
27421 func_opt_split ()
27422 {
27423 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27424 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27425 }
27426
27427 # func_lo2o object
27428 func_lo2o ()
27429 {
27430 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
27431 }
27432
27433 # func_xform libobj-or-source
27434 func_xform ()
27435 {
27436 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27437 }
27438
27439 # func_arith arithmetic-term...
27440 func_arith ()
27441 {
27442 func_arith_result=`expr "$@"`
27443 }
27444
27445 # func_len string
27446 # STRING may not start with a hyphen.
27447 func_len ()
27448 {
27449 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27450 }
27451
27452 _LT_EOF
27453 esac
27454
27455 case $lt_shell_append in
27456 yes)
27457 cat << \_LT_EOF >> "$cfgfile"
27458
27459 # func_append var value
27460 # Append VALUE to the end of shell variable VAR.
27461 func_append ()
27462 {
27463 eval "$1+=\$2"
27464 }
27465 _LT_EOF
27466 ;;
27467 *)
27468 cat << \_LT_EOF >> "$cfgfile"
27469
27470 # func_append var value
27471 # Append VALUE to the end of shell variable VAR.
27472 func_append ()
27473 {
27474 eval "$1=\$$1\$2"
27475 }
27476
27477 _LT_EOF
27478 ;;
27479 esac
27480
27481
27482 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27483 || (rm -f "$cfgfile"; exit 1)
27484
27485 mv -f "$cfgfile" "$ofile" ||
27486 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27487 chmod +x "$ofile"
27488
27489
27490 cat <<_LT_EOF >> "$ofile"
27491
27492 # ### BEGIN LIBTOOL TAG CONFIG: FC
27493
27494 # The linker used to build libraries.
27495 LD=$lt_LD_FC
27496
27497 # How to create reloadable object files.
27498 reload_flag=$lt_reload_flag_FC
27499 reload_cmds=$lt_reload_cmds_FC
27500
27501 # Commands used to build an old-style archive.
27502 old_archive_cmds=$lt_old_archive_cmds_FC
27503
27504 # A language specific compiler.
27505 CC=$lt_compiler_FC
27506
27507 # Is the compiler the GNU compiler?
27508 with_gcc=$GCC_FC
27509
27510 # Compiler flag to turn off builtin functions.
27511 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
27512
27513 # How to pass a linker flag through the compiler.
27514 wl=$lt_lt_prog_compiler_wl_FC
27515
27516 # Additional compiler flags for building library objects.
27517 pic_flag=$lt_lt_prog_compiler_pic_FC
27518
27519 # Compiler flag to prevent dynamic linking.
27520 link_static_flag=$lt_lt_prog_compiler_static_FC
27521
27522 # Does compiler simultaneously support -c and -o options?
27523 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
27524
27525 # Whether or not to add -lc for building shared libraries.
27526 build_libtool_need_lc=$archive_cmds_need_lc_FC
27527
27528 # Whether or not to disallow shared libs when runtime libs are static.
27529 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
27530
27531 # Compiler flag to allow reflexive dlopens.
27532 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
27533
27534 # Compiler flag to generate shared objects directly from archives.
27535 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
27536
27537 # Whether the compiler copes with passing no objects directly.
27538 compiler_needs_object=$lt_compiler_needs_object_FC
27539
27540 # Create an old-style archive from a shared archive.
27541 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
27542
27543 # Create a temporary old-style archive to link instead of a shared archive.
27544 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
27545
27546 # Commands used to build a shared archive.
27547 archive_cmds=$lt_archive_cmds_FC
27548 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
27549
27550 # Commands used to build a loadable module if different from building
27551 # a shared archive.
27552 module_cmds=$lt_module_cmds_FC
27553 module_expsym_cmds=$lt_module_expsym_cmds_FC
27554
27555 # Whether we are building with GNU ld or not.
27556 with_gnu_ld=$lt_with_gnu_ld_FC
27557
27558 # Flag that allows shared libraries with undefined symbols to be built.
27559 allow_undefined_flag=$lt_allow_undefined_flag_FC
27560
27561 # Flag that enforces no undefined symbols.
27562 no_undefined_flag=$lt_no_undefined_flag_FC
27563
27564 # Flag to hardcode \$libdir into a binary during linking.
27565 # This must work even if \$libdir does not exist
27566 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
27567
27568 # If ld is used when linking, flag to hardcode \$libdir into a binary
27569 # during linking. This must work even if \$libdir does not exist.
27570 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
27571
27572 # Whether we need a single "-rpath" flag with a separated argument.
27573 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
27574
27575 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27576 # DIR into the resulting binary.
27577 hardcode_direct=$hardcode_direct_FC
27578
27579 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27580 # DIR into the resulting binary and the resulting library dependency is
27581 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27582 # library is relocated.
27583 hardcode_direct_absolute=$hardcode_direct_absolute_FC
27584
27585 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27586 # into the resulting binary.
27587 hardcode_minus_L=$hardcode_minus_L_FC
27588
27589 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27590 # into the resulting binary.
27591 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
27592
27593 # Set to "yes" if building a shared library automatically hardcodes DIR
27594 # into the library and all subsequent libraries and executables linked
27595 # against it.
27596 hardcode_automatic=$hardcode_automatic_FC
27597
27598 # Set to yes if linker adds runtime paths of dependent libraries
27599 # to runtime path list.
27600 inherit_rpath=$inherit_rpath_FC
27601
27602 # Whether libtool must link a program against all its dependency libraries.
27603 link_all_deplibs=$link_all_deplibs_FC
27604
27605 # Fix the shell variable \$srcfile for the compiler.
27606 fix_srcfile_path=$lt_fix_srcfile_path_FC
27607
27608 # Set to "yes" if exported symbols are required.
27609 always_export_symbols=$always_export_symbols_FC
27610
27611 # The commands to list exported symbols.
27612 export_symbols_cmds=$lt_export_symbols_cmds_FC
27613
27614 # Symbols that should not be listed in the preloaded symbols.
27615 exclude_expsyms=$lt_exclude_expsyms_FC
27616
27617 # Symbols that must always be exported.
27618 include_expsyms=$lt_include_expsyms_FC
27619
27620 # Commands necessary for linking programs (against libraries) with templates.
27621 prelink_cmds=$lt_prelink_cmds_FC
27622
27623 # Specify filename containing input files.
27624 file_list_spec=$lt_file_list_spec_FC
27625
27626 # How to hardcode a shared library path into an executable.
27627 hardcode_action=$hardcode_action_FC
27628
27629 # The directories searched by this compiler when creating a shared library.
27630 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
27631
27632 # Dependencies to place before and after the objects being linked to
27633 # create a shared library.
27634 predep_objects=$lt_predep_objects_FC
27635 postdep_objects=$lt_postdep_objects_FC
27636 predeps=$lt_predeps_FC
27637 postdeps=$lt_postdeps_FC
27638
27639 # The library search path used internally by the compiler when linking
27640 # a shared library.
27641 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
27642
27643 # ### END LIBTOOL TAG CONFIG: FC
27644 _LT_EOF
27645
27646 ;;
27647 "gstdint.h":C)
27648 if test "$GCC" = yes; then
27649 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
27650 else
27651 echo "/* generated for $CC */" > tmp-stdint.h
27652 fi
27653
27654 sed 's/^ *//' >> tmp-stdint.h <<EOF
27655
27656 #ifndef GCC_GENERATED_STDINT_H
27657 #define GCC_GENERATED_STDINT_H 1
27658
27659 #include <sys/types.h>
27660 EOF
27661
27662 if test "$acx_cv_header_stdint" != stdint.h; then
27663 echo "#include <stddef.h>" >> tmp-stdint.h
27664 fi
27665 if test "$acx_cv_header_stdint" != stddef.h; then
27666 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
27667 fi
27668
27669 sed 's/^ *//' >> tmp-stdint.h <<EOF
27670 /* glibc uses these symbols as guards to prevent redefinitions. */
27671 #ifdef __int8_t_defined
27672 #define _INT8_T
27673 #define _INT16_T
27674 #define _INT32_T
27675 #endif
27676 #ifdef __uint32_t_defined
27677 #define _UINT32_T
27678 #endif
27679
27680 EOF
27681
27682 # ----------------- done header, emit basic int types -------------
27683 if test "$acx_cv_header_stdint" = stddef.h; then
27684 sed 's/^ *//' >> tmp-stdint.h <<EOF
27685
27686 #ifndef _UINT8_T
27687 #define _UINT8_T
27688 #ifndef __uint8_t_defined
27689 #define __uint8_t_defined
27690 #ifndef uint8_t
27691 typedef unsigned $acx_cv_type_int8_t uint8_t;
27692 #endif
27693 #endif
27694 #endif
27695
27696 #ifndef _UINT16_T
27697 #define _UINT16_T
27698 #ifndef __uint16_t_defined
27699 #define __uint16_t_defined
27700 #ifndef uint16_t
27701 typedef unsigned $acx_cv_type_int16_t uint16_t;
27702 #endif
27703 #endif
27704 #endif
27705
27706 #ifndef _UINT32_T
27707 #define _UINT32_T
27708 #ifndef __uint32_t_defined
27709 #define __uint32_t_defined
27710 #ifndef uint32_t
27711 typedef unsigned $acx_cv_type_int32_t uint32_t;
27712 #endif
27713 #endif
27714 #endif
27715
27716 #ifndef _INT8_T
27717 #define _INT8_T
27718 #ifndef __int8_t_defined
27719 #define __int8_t_defined
27720 #ifndef int8_t
27721 typedef $acx_cv_type_int8_t int8_t;
27722 #endif
27723 #endif
27724 #endif
27725
27726 #ifndef _INT16_T
27727 #define _INT16_T
27728 #ifndef __int16_t_defined
27729 #define __int16_t_defined
27730 #ifndef int16_t
27731 typedef $acx_cv_type_int16_t int16_t;
27732 #endif
27733 #endif
27734 #endif
27735
27736 #ifndef _INT32_T
27737 #define _INT32_T
27738 #ifndef __int32_t_defined
27739 #define __int32_t_defined
27740 #ifndef int32_t
27741 typedef $acx_cv_type_int32_t int32_t;
27742 #endif
27743 #endif
27744 #endif
27745 EOF
27746 elif test "$ac_cv_type_u_int32_t" = yes; then
27747 sed 's/^ *//' >> tmp-stdint.h <<EOF
27748
27749 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
27750 #ifndef _INT8_T
27751 #define _INT8_T
27752 #endif
27753 #ifndef _INT16_T
27754 #define _INT16_T
27755 #endif
27756 #ifndef _INT32_T
27757 #define _INT32_T
27758 #endif
27759
27760 #ifndef _UINT8_T
27761 #define _UINT8_T
27762 #ifndef __uint8_t_defined
27763 #define __uint8_t_defined
27764 #ifndef uint8_t
27765 typedef u_int8_t uint8_t;
27766 #endif
27767 #endif
27768 #endif
27769
27770 #ifndef _UINT16_T
27771 #define _UINT16_T
27772 #ifndef __uint16_t_defined
27773 #define __uint16_t_defined
27774 #ifndef uint16_t
27775 typedef u_int16_t uint16_t;
27776 #endif
27777 #endif
27778 #endif
27779
27780 #ifndef _UINT32_T
27781 #define _UINT32_T
27782 #ifndef __uint32_t_defined
27783 #define __uint32_t_defined
27784 #ifndef uint32_t
27785 typedef u_int32_t uint32_t;
27786 #endif
27787 #endif
27788 #endif
27789 EOF
27790 else
27791 sed 's/^ *//' >> tmp-stdint.h <<EOF
27792
27793 /* Some systems have guard macros to prevent redefinitions, define them. */
27794 #ifndef _INT8_T
27795 #define _INT8_T
27796 #endif
27797 #ifndef _INT16_T
27798 #define _INT16_T
27799 #endif
27800 #ifndef _INT32_T
27801 #define _INT32_T
27802 #endif
27803 #ifndef _UINT8_T
27804 #define _UINT8_T
27805 #endif
27806 #ifndef _UINT16_T
27807 #define _UINT16_T
27808 #endif
27809 #ifndef _UINT32_T
27810 #define _UINT32_T
27811 #endif
27812 EOF
27813 fi
27814
27815 # ------------- done basic int types, emit int64_t types ------------
27816 if test "$ac_cv_type_uint64_t" = yes; then
27817 sed 's/^ *//' >> tmp-stdint.h <<EOF
27818
27819 /* system headers have good uint64_t and int64_t */
27820 #ifndef _INT64_T
27821 #define _INT64_T
27822 #endif
27823 #ifndef _UINT64_T
27824 #define _UINT64_T
27825 #endif
27826 EOF
27827 elif test "$ac_cv_type_u_int64_t" = yes; then
27828 sed 's/^ *//' >> tmp-stdint.h <<EOF
27829
27830 /* system headers have an u_int64_t (and int64_t) */
27831 #ifndef _INT64_T
27832 #define _INT64_T
27833 #endif
27834 #ifndef _UINT64_T
27835 #define _UINT64_T
27836 #ifndef __uint64_t_defined
27837 #define __uint64_t_defined
27838 #ifndef uint64_t
27839 typedef u_int64_t uint64_t;
27840 #endif
27841 #endif
27842 #endif
27843 EOF
27844 elif test -n "$acx_cv_type_int64_t"; then
27845 sed 's/^ *//' >> tmp-stdint.h <<EOF
27846
27847 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
27848 #ifndef _INT64_T
27849 #define _INT64_T
27850 #ifndef int64_t
27851 typedef $acx_cv_type_int64_t int64_t;
27852 #endif
27853 #endif
27854 #ifndef _UINT64_T
27855 #define _UINT64_T
27856 #ifndef __uint64_t_defined
27857 #define __uint64_t_defined
27858 #ifndef uint64_t
27859 typedef unsigned $acx_cv_type_int64_t uint64_t;
27860 #endif
27861 #endif
27862 #endif
27863 EOF
27864 else
27865 sed 's/^ *//' >> tmp-stdint.h <<EOF
27866
27867 /* some common heuristics for int64_t, using compiler-specific tests */
27868 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
27869 #ifndef _INT64_T
27870 #define _INT64_T
27871 #ifndef __int64_t_defined
27872 #ifndef int64_t
27873 typedef long long int64_t;
27874 #endif
27875 #endif
27876 #endif
27877 #ifndef _UINT64_T
27878 #define _UINT64_T
27879 #ifndef uint64_t
27880 typedef unsigned long long uint64_t;
27881 #endif
27882 #endif
27883
27884 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
27885 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
27886 does not implement __extension__. But that compiler doesn't define
27887 __GNUC_MINOR__. */
27888 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
27889 # define __extension__
27890 # endif
27891
27892 # ifndef _INT64_T
27893 # define _INT64_T
27894 # ifndef int64_t
27895 __extension__ typedef long long int64_t;
27896 # endif
27897 # endif
27898 # ifndef _UINT64_T
27899 # define _UINT64_T
27900 # ifndef uint64_t
27901 __extension__ typedef unsigned long long uint64_t;
27902 # endif
27903 # endif
27904
27905 #elif !defined __STRICT_ANSI__
27906 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
27907
27908 # ifndef _INT64_T
27909 # define _INT64_T
27910 # ifndef int64_t
27911 typedef __int64 int64_t;
27912 # endif
27913 # endif
27914 # ifndef _UINT64_T
27915 # define _UINT64_T
27916 # ifndef uint64_t
27917 typedef unsigned __int64 uint64_t;
27918 # endif
27919 # endif
27920 # endif /* compiler */
27921
27922 #endif /* ANSI version */
27923 EOF
27924 fi
27925
27926 # ------------- done int64_t types, emit intptr types ------------
27927 if test "$ac_cv_type_uintptr_t" != yes; then
27928 sed 's/^ *//' >> tmp-stdint.h <<EOF
27929
27930 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
27931 #ifndef __uintptr_t_defined
27932 #ifndef uintptr_t
27933 typedef u$acx_cv_type_intptr_t uintptr_t;
27934 #endif
27935 #endif
27936 #ifndef __intptr_t_defined
27937 #ifndef intptr_t
27938 typedef $acx_cv_type_intptr_t intptr_t;
27939 #endif
27940 #endif
27941 EOF
27942 fi
27943
27944 # ------------- done intptr types, emit int_least types ------------
27945 if test "$ac_cv_type_int_least32_t" != yes; then
27946 sed 's/^ *//' >> tmp-stdint.h <<EOF
27947
27948 /* Define int_least types */
27949 typedef int8_t int_least8_t;
27950 typedef int16_t int_least16_t;
27951 typedef int32_t int_least32_t;
27952 #ifdef _INT64_T
27953 typedef int64_t int_least64_t;
27954 #endif
27955
27956 typedef uint8_t uint_least8_t;
27957 typedef uint16_t uint_least16_t;
27958 typedef uint32_t uint_least32_t;
27959 #ifdef _UINT64_T
27960 typedef uint64_t uint_least64_t;
27961 #endif
27962 EOF
27963 fi
27964
27965 # ------------- done intptr types, emit int_fast types ------------
27966 if test "$ac_cv_type_int_fast32_t" != yes; then
27967 sed 's/^ *//' >> tmp-stdint.h <<EOF
27968
27969 /* Define int_fast types. short is often slow */
27970 typedef int8_t int_fast8_t;
27971 typedef int int_fast16_t;
27972 typedef int32_t int_fast32_t;
27973 #ifdef _INT64_T
27974 typedef int64_t int_fast64_t;
27975 #endif
27976
27977 typedef uint8_t uint_fast8_t;
27978 typedef unsigned int uint_fast16_t;
27979 typedef uint32_t uint_fast32_t;
27980 #ifdef _UINT64_T
27981 typedef uint64_t uint_fast64_t;
27982 #endif
27983 EOF
27984 fi
27985
27986 if test "$ac_cv_type_uintmax_t" != yes; then
27987 sed 's/^ *//' >> tmp-stdint.h <<EOF
27988
27989 /* Define intmax based on what we found */
27990 #ifndef intmax_t
27991 #ifdef _INT64_T
27992 typedef int64_t intmax_t;
27993 #else
27994 typedef long intmax_t;
27995 #endif
27996 #endif
27997 #ifndef uintmax_t
27998 #ifdef _UINT64_T
27999 typedef uint64_t uintmax_t;
28000 #else
28001 typedef unsigned long uintmax_t;
28002 #endif
28003 #endif
28004 EOF
28005 fi
28006
28007 sed 's/^ *//' >> tmp-stdint.h <<EOF
28008
28009 #endif /* GCC_GENERATED_STDINT_H */
28010 EOF
28011
28012 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
28013 rm -f tmp-stdint.h
28014 else
28015 mv -f tmp-stdint.h gstdint.h
28016 fi
28017
28018 ;;
28019
28020 esac
28021 done # for ac_tag
28022
28023
28024 as_fn_exit 0
28025 _ACEOF
28026 ac_clean_files=$ac_clean_files_save
28027
28028 test $ac_write_fail = 0 ||
28029 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
28030
28031
28032 # configure is writing to config.log, and then calls config.status.
28033 # config.status does its own redirection, appending to config.log.
28034 # Unfortunately, on DOS this fails, as config.log is still kept open
28035 # by configure, so config.status won't be able to write to it; its
28036 # output is simply discarded. So we exec the FD to /dev/null,
28037 # effectively closing config.log, so it can be properly (re)opened and
28038 # appended to by config.status. When coming back to configure, we
28039 # need to make the FD available again.
28040 if test "$no_create" != yes; then
28041 ac_cs_success=:
28042 ac_config_status_args=
28043 test "$silent" = yes &&
28044 ac_config_status_args="$ac_config_status_args --quiet"
28045 exec 5>/dev/null
28046 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28047 exec 5>>config.log
28048 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28049 # would make configure fail if this is the last instruction.
28050 $ac_cs_success || as_fn_exit $?
28051 fi
28052 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28054 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28055 fi
28056