ec5c7ed999b3bf9f96c84b63b4632f4392779b46
[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 test \$(( 1 + 1 )) = 2 || exit 1
173
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
185 fi
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
197 /*)
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
206 fi
207 fi
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241 fi
242 exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260 { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269 return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
307 q
308 }
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
311 q
312 }
313 /^X\(\/\/\)$/{
314 s//\1/
315 q
316 }
317 /^X\(\/\).*/{
318 s//\1/
319 q
320 }
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
337 {
338 eval $1+=\$2
339 }'
340 else
341 as_fn_append ()
342 {
343 eval $1=\$$1\$2
344 }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
354 {
355 as_val=$(( $* ))
356 }'
357 else
358 as_fn_arith ()
359 {
360 as_val=`expr "$@" || test $? -eq 1`
361 }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376 fi
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
407 q
408 }
409 /^X\/\(\/\/\)$/{
410 s//\1/
411 q
412 }
413 /^X\/\(\/\).*/{
414 s//\1/
415 q
416 }
417 s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
433 p
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
439 b
440 :lineno
441 N
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
467 *)
468 ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
491 fi
492 else
493 as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
512 fi
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
524 '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='GNU Fortran Runtime Library'
558 PACKAGE_TARNAME='libgfortran'
559 PACKAGE_VERSION='0.3'
560 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
563
564 # Factoring default headers for most tests.
565 ac_includes_default="\
566 #include <stdio.h>
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
569 #endif
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
572 #endif
573 #ifdef STDC_HEADERS
574 # include <stdlib.h>
575 # include <stddef.h>
576 #else
577 # ifdef HAVE_STDLIB_H
578 # include <stdlib.h>
579 # endif
580 #endif
581 #ifdef HAVE_STRING_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
583 # include <memory.h>
584 # endif
585 # include <string.h>
586 #endif
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
589 #endif
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
592 #endif
593 #ifdef HAVE_STDINT_H
594 # include <stdint.h>
595 #endif
596 #ifdef HAVE_UNISTD_H
597 # include <unistd.h>
598 #endif"
599
600 ac_c_werror_flag=
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 IEEE_FLAGS
606 FPU_HOST_HEADER
607 LIBGFOR_BUILD_QUAD_FALSE
608 LIBGFOR_BUILD_QUAD_TRUE
609 LIBQUADINCLUDE
610 LIBQUADLIB_DEP
611 LIBQUADLIB
612 LIBQUADSPEC
613 extra_ldflags_libgfortran
614 ac_ct_FC
615 FCFLAGS
616 FC
617 enable_static
618 enable_shared
619 lt_host_flags
620 OTOOL64
621 OTOOL
622 LIPO
623 NMEDIT
624 DSYMUTIL
625 OBJDUMP
626 LN_S
627 NM
628 ac_ct_DUMPBIN
629 DUMPBIN
630 LD
631 FGREP
632 SED
633 LIBTOOL
634 RANLIB
635 AR
636 AS
637 SECTION_FLAGS
638 LIBGFOR_USE_SYMVER_SUN_FALSE
639 LIBGFOR_USE_SYMVER_SUN_TRUE
640 LIBGFOR_USE_SYMVER_GNU_FALSE
641 LIBGFOR_USE_SYMVER_GNU_TRUE
642 LIBGFOR_USE_SYMVER_FALSE
643 LIBGFOR_USE_SYMVER_TRUE
644 AM_CFLAGS
645 AM_FCFLAGS
646 toolexeclibdir
647 toolexecdir
648 EGREP
649 GREP
650 CPP
651 am__fastdepCC_FALSE
652 am__fastdepCC_TRUE
653 CCDEPMODE
654 AMDEPBACKSLASH
655 AMDEP_FALSE
656 AMDEP_TRUE
657 am__quote
658 am__include
659 DEPDIR
660 OBJEXT
661 EXEEXT
662 ac_ct_CC
663 CPPFLAGS
664 LDFLAGS
665 CFLAGS
666 CC
667 multi_basedir
668 MAINT
669 MAINTAINER_MODE_FALSE
670 MAINTAINER_MODE_TRUE
671 am__untar
672 am__tar
673 AMTAR
674 am__leading_dot
675 SET_MAKE
676 AWK
677 mkdir_p
678 MKDIR_P
679 INSTALL_STRIP_PROGRAM
680 STRIP
681 install_sh
682 MAKEINFO
683 AUTOHEADER
684 AUTOMAKE
685 AUTOCONF
686 ACLOCAL
687 VERSION
688 PACKAGE
689 CYGPATH_W
690 am__isrc
691 INSTALL_DATA
692 INSTALL_SCRIPT
693 INSTALL_PROGRAM
694 target_os
695 target_vendor
696 target_cpu
697 target
698 host_os
699 host_vendor
700 host_cpu
701 host
702 onestep
703 onestep_FALSE
704 onestep_TRUE
705 target_subdir
706 host_subdir
707 build_subdir
708 build_libsubdir
709 build_os
710 build_vendor
711 build_cpu
712 build
713 target_alias
714 host_alias
715 build_alias
716 LIBS
717 ECHO_T
718 ECHO_N
719 ECHO_C
720 DEFS
721 mandir
722 localedir
723 libdir
724 psdir
725 pdfdir
726 dvidir
727 htmldir
728 infodir
729 docdir
730 oldincludedir
731 includedir
732 localstatedir
733 sharedstatedir
734 sysconfdir
735 datadir
736 datarootdir
737 libexecdir
738 sbindir
739 bindir
740 program_transform_name
741 prefix
742 exec_prefix
743 PACKAGE_URL
744 PACKAGE_BUGREPORT
745 PACKAGE_STRING
746 PACKAGE_VERSION
747 PACKAGE_TARNAME
748 PACKAGE_NAME
749 PATH_SEPARATOR
750 SHELL'
751 ac_subst_files=''
752 ac_user_opts='
753 enable_option_checking
754 with_build_libsubdir
755 enable_version_specific_runtime_libs
756 enable_intermodule
757 enable_maintainer_mode
758 enable_multilib
759 enable_dependency_tracking
760 enable_shared
761 enable_static
762 with_pic
763 enable_fast_install
764 with_gnu_ld
765 enable_libtool_lock
766 enable_largefile
767 enable_libquadmath_support
768 '
769 ac_precious_vars='build_alias
770 host_alias
771 target_alias
772 CC
773 CFLAGS
774 LDFLAGS
775 LIBS
776 CPPFLAGS
777 CPP
778 FC
779 FCFLAGS'
780
781
782 # Initialize some variables set by options.
783 ac_init_help=
784 ac_init_version=false
785 ac_unrecognized_opts=
786 ac_unrecognized_sep=
787 # The variables have the same names as the options, with
788 # dashes changed to underlines.
789 cache_file=/dev/null
790 exec_prefix=NONE
791 no_create=
792 no_recursion=
793 prefix=NONE
794 program_prefix=NONE
795 program_suffix=NONE
796 program_transform_name=s,x,x,
797 silent=
798 site=
799 srcdir=
800 verbose=
801 x_includes=NONE
802 x_libraries=NONE
803
804 # Installation directory options.
805 # These are left unexpanded so users can "make install exec_prefix=/foo"
806 # and all the variables that are supposed to be based on exec_prefix
807 # by default will actually change.
808 # Use braces instead of parens because sh, perl, etc. also accept them.
809 # (The list follows the same order as the GNU Coding Standards.)
810 bindir='${exec_prefix}/bin'
811 sbindir='${exec_prefix}/sbin'
812 libexecdir='${exec_prefix}/libexec'
813 datarootdir='${prefix}/share'
814 datadir='${datarootdir}'
815 sysconfdir='${prefix}/etc'
816 sharedstatedir='${prefix}/com'
817 localstatedir='${prefix}/var'
818 includedir='${prefix}/include'
819 oldincludedir='/usr/include'
820 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
821 infodir='${datarootdir}/info'
822 htmldir='${docdir}'
823 dvidir='${docdir}'
824 pdfdir='${docdir}'
825 psdir='${docdir}'
826 libdir='${exec_prefix}/lib'
827 localedir='${datarootdir}/locale'
828 mandir='${datarootdir}/man'
829
830 ac_prev=
831 ac_dashdash=
832 for ac_option
833 do
834 # If the previous option needs an argument, assign it.
835 if test -n "$ac_prev"; then
836 eval $ac_prev=\$ac_option
837 ac_prev=
838 continue
839 fi
840
841 case $ac_option in
842 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
843 *) ac_optarg=yes ;;
844 esac
845
846 # Accept the important Cygnus configure options, so we can diagnose typos.
847
848 case $ac_dashdash$ac_option in
849 --)
850 ac_dashdash=yes ;;
851
852 -bindir | --bindir | --bindi | --bind | --bin | --bi)
853 ac_prev=bindir ;;
854 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
855 bindir=$ac_optarg ;;
856
857 -build | --build | --buil | --bui | --bu)
858 ac_prev=build_alias ;;
859 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
860 build_alias=$ac_optarg ;;
861
862 -cache-file | --cache-file | --cache-fil | --cache-fi \
863 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
864 ac_prev=cache_file ;;
865 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
866 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
867 cache_file=$ac_optarg ;;
868
869 --config-cache | -C)
870 cache_file=config.cache ;;
871
872 -datadir | --datadir | --datadi | --datad)
873 ac_prev=datadir ;;
874 -datadir=* | --datadir=* | --datadi=* | --datad=*)
875 datadir=$ac_optarg ;;
876
877 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
878 | --dataroo | --dataro | --datar)
879 ac_prev=datarootdir ;;
880 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
881 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
882 datarootdir=$ac_optarg ;;
883
884 -disable-* | --disable-*)
885 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
886 # Reject names that are not valid shell variable names.
887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
888 as_fn_error "invalid feature name: $ac_useropt"
889 ac_useropt_orig=$ac_useropt
890 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
891 case $ac_user_opts in
892 *"
893 "enable_$ac_useropt"
894 "*) ;;
895 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
896 ac_unrecognized_sep=', ';;
897 esac
898 eval enable_$ac_useropt=no ;;
899
900 -docdir | --docdir | --docdi | --doc | --do)
901 ac_prev=docdir ;;
902 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
903 docdir=$ac_optarg ;;
904
905 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
906 ac_prev=dvidir ;;
907 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
908 dvidir=$ac_optarg ;;
909
910 -enable-* | --enable-*)
911 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
912 # Reject names that are not valid shell variable names.
913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
914 as_fn_error "invalid feature name: $ac_useropt"
915 ac_useropt_orig=$ac_useropt
916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
917 case $ac_user_opts in
918 *"
919 "enable_$ac_useropt"
920 "*) ;;
921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
922 ac_unrecognized_sep=', ';;
923 esac
924 eval enable_$ac_useropt=\$ac_optarg ;;
925
926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
927 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
928 | --exec | --exe | --ex)
929 ac_prev=exec_prefix ;;
930 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
931 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
932 | --exec=* | --exe=* | --ex=*)
933 exec_prefix=$ac_optarg ;;
934
935 -gas | --gas | --ga | --g)
936 # Obsolete; use --with-gas.
937 with_gas=yes ;;
938
939 -help | --help | --hel | --he | -h)
940 ac_init_help=long ;;
941 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
942 ac_init_help=recursive ;;
943 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
944 ac_init_help=short ;;
945
946 -host | --host | --hos | --ho)
947 ac_prev=host_alias ;;
948 -host=* | --host=* | --hos=* | --ho=*)
949 host_alias=$ac_optarg ;;
950
951 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
952 ac_prev=htmldir ;;
953 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
954 | --ht=*)
955 htmldir=$ac_optarg ;;
956
957 -includedir | --includedir | --includedi | --included | --include \
958 | --includ | --inclu | --incl | --inc)
959 ac_prev=includedir ;;
960 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
961 | --includ=* | --inclu=* | --incl=* | --inc=*)
962 includedir=$ac_optarg ;;
963
964 -infodir | --infodir | --infodi | --infod | --info | --inf)
965 ac_prev=infodir ;;
966 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
967 infodir=$ac_optarg ;;
968
969 -libdir | --libdir | --libdi | --libd)
970 ac_prev=libdir ;;
971 -libdir=* | --libdir=* | --libdi=* | --libd=*)
972 libdir=$ac_optarg ;;
973
974 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
975 | --libexe | --libex | --libe)
976 ac_prev=libexecdir ;;
977 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
978 | --libexe=* | --libex=* | --libe=*)
979 libexecdir=$ac_optarg ;;
980
981 -localedir | --localedir | --localedi | --localed | --locale)
982 ac_prev=localedir ;;
983 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
984 localedir=$ac_optarg ;;
985
986 -localstatedir | --localstatedir | --localstatedi | --localstated \
987 | --localstate | --localstat | --localsta | --localst | --locals)
988 ac_prev=localstatedir ;;
989 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
990 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
991 localstatedir=$ac_optarg ;;
992
993 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
994 ac_prev=mandir ;;
995 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
996 mandir=$ac_optarg ;;
997
998 -nfp | --nfp | --nf)
999 # Obsolete; use --without-fp.
1000 with_fp=no ;;
1001
1002 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1003 | --no-cr | --no-c | -n)
1004 no_create=yes ;;
1005
1006 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1007 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1008 no_recursion=yes ;;
1009
1010 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1011 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1012 | --oldin | --oldi | --old | --ol | --o)
1013 ac_prev=oldincludedir ;;
1014 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1015 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1016 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1017 oldincludedir=$ac_optarg ;;
1018
1019 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1020 ac_prev=prefix ;;
1021 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1022 prefix=$ac_optarg ;;
1023
1024 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1025 | --program-pre | --program-pr | --program-p)
1026 ac_prev=program_prefix ;;
1027 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1028 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1029 program_prefix=$ac_optarg ;;
1030
1031 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1032 | --program-suf | --program-su | --program-s)
1033 ac_prev=program_suffix ;;
1034 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1035 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1036 program_suffix=$ac_optarg ;;
1037
1038 -program-transform-name | --program-transform-name \
1039 | --program-transform-nam | --program-transform-na \
1040 | --program-transform-n | --program-transform- \
1041 | --program-transform | --program-transfor \
1042 | --program-transfo | --program-transf \
1043 | --program-trans | --program-tran \
1044 | --progr-tra | --program-tr | --program-t)
1045 ac_prev=program_transform_name ;;
1046 -program-transform-name=* | --program-transform-name=* \
1047 | --program-transform-nam=* | --program-transform-na=* \
1048 | --program-transform-n=* | --program-transform-=* \
1049 | --program-transform=* | --program-transfor=* \
1050 | --program-transfo=* | --program-transf=* \
1051 | --program-trans=* | --program-tran=* \
1052 | --progr-tra=* | --program-tr=* | --program-t=*)
1053 program_transform_name=$ac_optarg ;;
1054
1055 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1056 ac_prev=pdfdir ;;
1057 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1058 pdfdir=$ac_optarg ;;
1059
1060 -psdir | --psdir | --psdi | --psd | --ps)
1061 ac_prev=psdir ;;
1062 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1063 psdir=$ac_optarg ;;
1064
1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1066 | -silent | --silent | --silen | --sile | --sil)
1067 silent=yes ;;
1068
1069 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1070 ac_prev=sbindir ;;
1071 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1072 | --sbi=* | --sb=*)
1073 sbindir=$ac_optarg ;;
1074
1075 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1076 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1077 | --sharedst | --shareds | --shared | --share | --shar \
1078 | --sha | --sh)
1079 ac_prev=sharedstatedir ;;
1080 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1081 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1082 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1083 | --sha=* | --sh=*)
1084 sharedstatedir=$ac_optarg ;;
1085
1086 -site | --site | --sit)
1087 ac_prev=site ;;
1088 -site=* | --site=* | --sit=*)
1089 site=$ac_optarg ;;
1090
1091 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1092 ac_prev=srcdir ;;
1093 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1094 srcdir=$ac_optarg ;;
1095
1096 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1097 | --syscon | --sysco | --sysc | --sys | --sy)
1098 ac_prev=sysconfdir ;;
1099 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1100 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1101 sysconfdir=$ac_optarg ;;
1102
1103 -target | --target | --targe | --targ | --tar | --ta | --t)
1104 ac_prev=target_alias ;;
1105 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1106 target_alias=$ac_optarg ;;
1107
1108 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1109 verbose=yes ;;
1110
1111 -version | --version | --versio | --versi | --vers | -V)
1112 ac_init_version=: ;;
1113
1114 -with-* | --with-*)
1115 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118 as_fn_error "invalid package name: $ac_useropt"
1119 ac_useropt_orig=$ac_useropt
1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in
1122 *"
1123 "with_$ac_useropt"
1124 "*) ;;
1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1126 ac_unrecognized_sep=', ';;
1127 esac
1128 eval with_$ac_useropt=\$ac_optarg ;;
1129
1130 -without-* | --without-*)
1131 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1132 # Reject names that are not valid shell variable names.
1133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1134 as_fn_error "invalid package name: $ac_useropt"
1135 ac_useropt_orig=$ac_useropt
1136 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137 case $ac_user_opts in
1138 *"
1139 "with_$ac_useropt"
1140 "*) ;;
1141 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1142 ac_unrecognized_sep=', ';;
1143 esac
1144 eval with_$ac_useropt=no ;;
1145
1146 --x)
1147 # Obsolete; use --with-x.
1148 with_x=yes ;;
1149
1150 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1151 | --x-incl | --x-inc | --x-in | --x-i)
1152 ac_prev=x_includes ;;
1153 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1154 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1155 x_includes=$ac_optarg ;;
1156
1157 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1158 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1159 ac_prev=x_libraries ;;
1160 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1161 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1162 x_libraries=$ac_optarg ;;
1163
1164 -*) as_fn_error "unrecognized option: \`$ac_option'
1165 Try \`$0 --help' for more information."
1166 ;;
1167
1168 *=*)
1169 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1170 # Reject names that are not valid shell variable names.
1171 case $ac_envvar in #(
1172 '' | [0-9]* | *[!_$as_cr_alnum]* )
1173 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1174 esac
1175 eval $ac_envvar=\$ac_optarg
1176 export $ac_envvar ;;
1177
1178 *)
1179 # FIXME: should be removed in autoconf 3.0.
1180 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1181 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1183 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1184 ;;
1185
1186 esac
1187 done
1188
1189 if test -n "$ac_prev"; then
1190 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1191 as_fn_error "missing argument to $ac_option"
1192 fi
1193
1194 if test -n "$ac_unrecognized_opts"; then
1195 case $enable_option_checking in
1196 no) ;;
1197 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1198 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1199 esac
1200 fi
1201
1202 # Check all directory arguments for consistency.
1203 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1204 datadir sysconfdir sharedstatedir localstatedir includedir \
1205 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1206 libdir localedir mandir
1207 do
1208 eval ac_val=\$$ac_var
1209 # Remove trailing slashes.
1210 case $ac_val in
1211 */ )
1212 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1213 eval $ac_var=\$ac_val;;
1214 esac
1215 # Be sure to have absolute directory names.
1216 case $ac_val in
1217 [\\/$]* | ?:[\\/]* ) continue;;
1218 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1219 esac
1220 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1221 done
1222
1223 # There might be people who depend on the old broken behavior: `$host'
1224 # used to hold the argument of --host etc.
1225 # FIXME: To remove some day.
1226 build=$build_alias
1227 host=$host_alias
1228 target=$target_alias
1229
1230 # FIXME: To remove some day.
1231 if test "x$host_alias" != x; then
1232 if test "x$build_alias" = x; then
1233 cross_compiling=maybe
1234 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1235 If a cross compiler is detected then cross compile mode will be used." >&2
1236 elif test "x$build_alias" != "x$host_alias"; then
1237 cross_compiling=yes
1238 fi
1239 fi
1240
1241 ac_tool_prefix=
1242 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1243
1244 test "$silent" = yes && exec 6>/dev/null
1245
1246
1247 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1248 ac_ls_di=`ls -di .` &&
1249 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1250 as_fn_error "working directory cannot be determined"
1251 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1252 as_fn_error "pwd does not report name of working directory"
1253
1254
1255 # Find the source files, if location was not specified.
1256 if test -z "$srcdir"; then
1257 ac_srcdir_defaulted=yes
1258 # Try the directory containing this script, then the parent directory.
1259 ac_confdir=`$as_dirname -- "$as_myself" ||
1260 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1261 X"$as_myself" : 'X\(//\)[^/]' \| \
1262 X"$as_myself" : 'X\(//\)$' \| \
1263 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1264 $as_echo X"$as_myself" |
1265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1266 s//\1/
1267 q
1268 }
1269 /^X\(\/\/\)[^/].*/{
1270 s//\1/
1271 q
1272 }
1273 /^X\(\/\/\)$/{
1274 s//\1/
1275 q
1276 }
1277 /^X\(\/\).*/{
1278 s//\1/
1279 q
1280 }
1281 s/.*/./; q'`
1282 srcdir=$ac_confdir
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1284 srcdir=..
1285 fi
1286 else
1287 ac_srcdir_defaulted=no
1288 fi
1289 if test ! -r "$srcdir/$ac_unique_file"; then
1290 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1291 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1292 fi
1293 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1294 ac_abs_confdir=`(
1295 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1296 pwd)`
1297 # When building in place, set srcdir=.
1298 if test "$ac_abs_confdir" = "$ac_pwd"; then
1299 srcdir=.
1300 fi
1301 # Remove unnecessary trailing slashes from srcdir.
1302 # Double slashes in file names in object file debugging info
1303 # mess up M-x gdb in Emacs.
1304 case $srcdir in
1305 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1306 esac
1307 for ac_var in $ac_precious_vars; do
1308 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1309 eval ac_env_${ac_var}_value=\$${ac_var}
1310 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1311 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1312 done
1313
1314 #
1315 # Report the --help message.
1316 #
1317 if test "$ac_init_help" = "long"; then
1318 # Omit some internal or obsolete options to make the list less imposing.
1319 # This message is too long to be a string in the A/UX 3.1 sh.
1320 cat <<_ACEOF
1321 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1322
1323 Usage: $0 [OPTION]... [VAR=VALUE]...
1324
1325 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1326 VAR=VALUE. See below for descriptions of some of the useful variables.
1327
1328 Defaults for the options are specified in brackets.
1329
1330 Configuration:
1331 -h, --help display this help and exit
1332 --help=short display options specific to this package
1333 --help=recursive display the short help of all the included packages
1334 -V, --version display version information and exit
1335 -q, --quiet, --silent do not print \`checking...' messages
1336 --cache-file=FILE cache test results in FILE [disabled]
1337 -C, --config-cache alias for \`--cache-file=config.cache'
1338 -n, --no-create do not create output files
1339 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1340
1341 Installation directories:
1342 --prefix=PREFIX install architecture-independent files in PREFIX
1343 [$ac_default_prefix]
1344 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1345 [PREFIX]
1346
1347 By default, \`make install' will install all the files in
1348 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1349 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1350 for instance \`--prefix=\$HOME'.
1351
1352 For better control, use the options below.
1353
1354 Fine tuning of the installation directories:
1355 --bindir=DIR user executables [EPREFIX/bin]
1356 --sbindir=DIR system admin executables [EPREFIX/sbin]
1357 --libexecdir=DIR program executables [EPREFIX/libexec]
1358 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1359 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1360 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1361 --libdir=DIR object code libraries [EPREFIX/lib]
1362 --includedir=DIR C header files [PREFIX/include]
1363 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1364 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1365 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1366 --infodir=DIR info documentation [DATAROOTDIR/info]
1367 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1368 --mandir=DIR man documentation [DATAROOTDIR/man]
1369 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1370 --htmldir=DIR html documentation [DOCDIR]
1371 --dvidir=DIR dvi documentation [DOCDIR]
1372 --pdfdir=DIR pdf documentation [DOCDIR]
1373 --psdir=DIR ps documentation [DOCDIR]
1374 _ACEOF
1375
1376 cat <<\_ACEOF
1377
1378 Program names:
1379 --program-prefix=PREFIX prepend PREFIX to installed program names
1380 --program-suffix=SUFFIX append SUFFIX to installed program names
1381 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1382
1383 System types:
1384 --build=BUILD configure for building on BUILD [guessed]
1385 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1386 --target=TARGET configure for building compilers for TARGET [HOST]
1387 _ACEOF
1388 fi
1389
1390 if test -n "$ac_init_help"; then
1391 case $ac_init_help in
1392 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1393 esac
1394 cat <<\_ACEOF
1395
1396 Optional Features:
1397 --disable-option-checking ignore unrecognized --enable/--with options
1398 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1399 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1400 --enable-version-specific-runtime-libs
1401 specify that runtime libraries should be installed
1402 in a compiler-specific directory
1403 --enable-intermodule build the library in one step
1404 --enable-maintainer-mode enable make rules and dependencies not useful
1405 (and sometimes confusing) to the casual installer
1406 --enable-multilib build many library versions (default)
1407 --disable-dependency-tracking speeds up one-time build
1408 --enable-dependency-tracking do not reject slow dependency extractors
1409 --enable-shared[=PKGS] build shared libraries [default=yes]
1410 --enable-static[=PKGS] build static libraries [default=yes]
1411 --enable-fast-install[=PKGS]
1412 optimize for fast installation [default=yes]
1413 --disable-libtool-lock avoid locking (might break parallel builds)
1414 --disable-largefile omit support for large files
1415 --disable-libquadmath-support
1416 disable libquadmath support for Fortran
1417
1418 Optional Packages:
1419 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1420 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1421 --with-build-libsubdir=DIR Directory where to find libraries for build system
1422 --with-pic try to use only PIC/non-PIC objects [default=use
1423 both]
1424 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1425
1426 Some influential environment variables:
1427 CC C compiler command
1428 CFLAGS C compiler flags
1429 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1430 nonstandard directory <lib dir>
1431 LIBS libraries to pass to the linker, e.g. -l<library>
1432 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1433 you have headers in a nonstandard directory <include dir>
1434 CPP C preprocessor
1435 FC Fortran compiler command
1436 FCFLAGS Fortran compiler flags
1437
1438 Use these variables to override the choices made by `configure' or to help
1439 it to find libraries and programs with nonstandard names/locations.
1440
1441 Report bugs to the package provider.
1442 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1443 General help using GNU software: <http://www.gnu.org/gethelp/>.
1444 _ACEOF
1445 ac_status=$?
1446 fi
1447
1448 if test "$ac_init_help" = "recursive"; then
1449 # If there are subdirs, report their specific --help.
1450 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1451 test -d "$ac_dir" ||
1452 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1453 continue
1454 ac_builddir=.
1455
1456 case "$ac_dir" in
1457 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1458 *)
1459 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1460 # A ".." for each directory in $ac_dir_suffix.
1461 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1462 case $ac_top_builddir_sub in
1463 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1464 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1465 esac ;;
1466 esac
1467 ac_abs_top_builddir=$ac_pwd
1468 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1469 # for backward compatibility:
1470 ac_top_builddir=$ac_top_build_prefix
1471
1472 case $srcdir in
1473 .) # We are building in place.
1474 ac_srcdir=.
1475 ac_top_srcdir=$ac_top_builddir_sub
1476 ac_abs_top_srcdir=$ac_pwd ;;
1477 [\\/]* | ?:[\\/]* ) # Absolute name.
1478 ac_srcdir=$srcdir$ac_dir_suffix;
1479 ac_top_srcdir=$srcdir
1480 ac_abs_top_srcdir=$srcdir ;;
1481 *) # Relative name.
1482 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1483 ac_top_srcdir=$ac_top_build_prefix$srcdir
1484 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1485 esac
1486 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1487
1488 cd "$ac_dir" || { ac_status=$?; continue; }
1489 # Check for guested configure.
1490 if test -f "$ac_srcdir/configure.gnu"; then
1491 echo &&
1492 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1493 elif test -f "$ac_srcdir/configure"; then
1494 echo &&
1495 $SHELL "$ac_srcdir/configure" --help=recursive
1496 else
1497 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1498 fi || ac_status=$?
1499 cd "$ac_pwd" || { ac_status=$?; break; }
1500 done
1501 fi
1502
1503 test -n "$ac_init_help" && exit $ac_status
1504 if $ac_init_version; then
1505 cat <<\_ACEOF
1506 GNU Fortran Runtime Library configure 0.3
1507 generated by GNU Autoconf 2.64
1508
1509 Copyright (C) 2009 Free Software Foundation, Inc.
1510 This configure script is free software; the Free Software Foundation
1511 gives unlimited permission to copy, distribute and modify it.
1512 _ACEOF
1513 exit
1514 fi
1515
1516 ## ------------------------ ##
1517 ## Autoconf initialization. ##
1518 ## ------------------------ ##
1519
1520 # ac_fn_c_try_compile LINENO
1521 # --------------------------
1522 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1523 ac_fn_c_try_compile ()
1524 {
1525 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1526 rm -f conftest.$ac_objext
1527 if { { ac_try="$ac_compile"
1528 case "(($ac_try" in
1529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1530 *) ac_try_echo=$ac_try;;
1531 esac
1532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1533 $as_echo "$ac_try_echo"; } >&5
1534 (eval "$ac_compile") 2>conftest.err
1535 ac_status=$?
1536 if test -s conftest.err; then
1537 grep -v '^ *+' conftest.err >conftest.er1
1538 cat conftest.er1 >&5
1539 mv -f conftest.er1 conftest.err
1540 fi
1541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1542 test $ac_status = 0; } && {
1543 test -z "$ac_c_werror_flag" ||
1544 test ! -s conftest.err
1545 } && test -s conftest.$ac_objext; then :
1546 ac_retval=0
1547 else
1548 $as_echo "$as_me: failed program was:" >&5
1549 sed 's/^/| /' conftest.$ac_ext >&5
1550
1551 ac_retval=1
1552 fi
1553 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1554 return $ac_retval
1555
1556 } # ac_fn_c_try_compile
1557
1558 # ac_fn_c_try_cpp LINENO
1559 # ----------------------
1560 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1561 ac_fn_c_try_cpp ()
1562 {
1563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1564 if { { ac_try="$ac_cpp conftest.$ac_ext"
1565 case "(($ac_try" in
1566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1567 *) ac_try_echo=$ac_try;;
1568 esac
1569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1570 $as_echo "$ac_try_echo"; } >&5
1571 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1572 ac_status=$?
1573 if test -s conftest.err; then
1574 grep -v '^ *+' conftest.err >conftest.er1
1575 cat conftest.er1 >&5
1576 mv -f conftest.er1 conftest.err
1577 fi
1578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1579 test $ac_status = 0; } >/dev/null && {
1580 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1581 test ! -s conftest.err
1582 }; then :
1583 ac_retval=0
1584 else
1585 $as_echo "$as_me: failed program was:" >&5
1586 sed 's/^/| /' conftest.$ac_ext >&5
1587
1588 ac_retval=1
1589 fi
1590 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1591 return $ac_retval
1592
1593 } # ac_fn_c_try_cpp
1594
1595 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1596 # -------------------------------------------------------
1597 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1598 # the include files in INCLUDES and setting the cache variable VAR
1599 # accordingly.
1600 ac_fn_c_check_header_mongrel ()
1601 {
1602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1605 $as_echo_n "checking for $2... " >&6; }
1606 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1607 $as_echo_n "(cached) " >&6
1608 fi
1609 eval ac_res=\$$3
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1611 $as_echo "$ac_res" >&6; }
1612 else
1613 # Is the header compilable?
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1615 $as_echo_n "checking $2 usability... " >&6; }
1616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1617 /* end confdefs.h. */
1618 $4
1619 #include <$2>
1620 _ACEOF
1621 if ac_fn_c_try_compile "$LINENO"; then :
1622 ac_header_compiler=yes
1623 else
1624 ac_header_compiler=no
1625 fi
1626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1628 $as_echo "$ac_header_compiler" >&6; }
1629
1630 # Is the header present?
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1632 $as_echo_n "checking $2 presence... " >&6; }
1633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1634 /* end confdefs.h. */
1635 #include <$2>
1636 _ACEOF
1637 if ac_fn_c_try_cpp "$LINENO"; then :
1638 ac_header_preproc=yes
1639 else
1640 ac_header_preproc=no
1641 fi
1642 rm -f conftest.err conftest.$ac_ext
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1644 $as_echo "$ac_header_preproc" >&6; }
1645
1646 # So? What about this header?
1647 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1648 yes:no: )
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1650 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1652 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1653 ;;
1654 no:yes:* )
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1656 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1658 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1660 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1662 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1664 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1665 ;;
1666 esac
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1668 $as_echo_n "checking for $2... " >&6; }
1669 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1670 $as_echo_n "(cached) " >&6
1671 else
1672 eval "$3=\$ac_header_compiler"
1673 fi
1674 eval ac_res=\$$3
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1676 $as_echo "$ac_res" >&6; }
1677 fi
1678 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1679
1680 } # ac_fn_c_check_header_mongrel
1681
1682 # ac_fn_c_try_run LINENO
1683 # ----------------------
1684 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1685 # that executables *can* be run.
1686 ac_fn_c_try_run ()
1687 {
1688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1689 if { { ac_try="$ac_link"
1690 case "(($ac_try" in
1691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1692 *) ac_try_echo=$ac_try;;
1693 esac
1694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695 $as_echo "$ac_try_echo"; } >&5
1696 (eval "$ac_link") 2>&5
1697 ac_status=$?
1698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1700 { { case "(($ac_try" in
1701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1702 *) ac_try_echo=$ac_try;;
1703 esac
1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706 (eval "$ac_try") 2>&5
1707 ac_status=$?
1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 test $ac_status = 0; }; }; then :
1710 ac_retval=0
1711 else
1712 $as_echo "$as_me: program exited with status $ac_status" >&5
1713 $as_echo "$as_me: failed program was:" >&5
1714 sed 's/^/| /' conftest.$ac_ext >&5
1715
1716 ac_retval=$ac_status
1717 fi
1718 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1719 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1720 return $ac_retval
1721
1722 } # ac_fn_c_try_run
1723
1724 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1725 # -------------------------------------------------------
1726 # Tests whether HEADER exists and can be compiled using the include files in
1727 # INCLUDES, setting the cache variable VAR accordingly.
1728 ac_fn_c_check_header_compile ()
1729 {
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1732 $as_echo_n "checking for $2... " >&6; }
1733 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1734 $as_echo_n "(cached) " >&6
1735 else
1736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1737 /* end confdefs.h. */
1738 $4
1739 #include <$2>
1740 _ACEOF
1741 if ac_fn_c_try_compile "$LINENO"; then :
1742 eval "$3=yes"
1743 else
1744 eval "$3=no"
1745 fi
1746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1747 fi
1748 eval ac_res=\$$3
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1750 $as_echo "$ac_res" >&6; }
1751 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1752
1753 } # ac_fn_c_check_header_compile
1754
1755 # ac_fn_c_try_link LINENO
1756 # -----------------------
1757 # Try to link conftest.$ac_ext, and return whether this succeeded.
1758 ac_fn_c_try_link ()
1759 {
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 rm -f conftest.$ac_objext conftest$ac_exeext
1762 if { { ac_try="$ac_link"
1763 case "(($ac_try" in
1764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765 *) ac_try_echo=$ac_try;;
1766 esac
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_link") 2>conftest.err
1770 ac_status=$?
1771 if test -s conftest.err; then
1772 grep -v '^ *+' conftest.err >conftest.er1
1773 cat conftest.er1 >&5
1774 mv -f conftest.er1 conftest.err
1775 fi
1776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1777 test $ac_status = 0; } && {
1778 test -z "$ac_c_werror_flag" ||
1779 test ! -s conftest.err
1780 } && test -s conftest$ac_exeext && {
1781 test "$cross_compiling" = yes ||
1782 $as_test_x conftest$ac_exeext
1783 }; then :
1784 ac_retval=0
1785 else
1786 $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1788
1789 ac_retval=1
1790 fi
1791 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1792 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1793 # interfere with the next link command; also delete a directory that is
1794 # left behind by Apple's compiler. We do this before executing the actions.
1795 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1796 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1797 return $ac_retval
1798
1799 } # ac_fn_c_try_link
1800
1801 # ac_fn_c_check_func LINENO FUNC VAR
1802 # ----------------------------------
1803 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1804 ac_fn_c_check_func ()
1805 {
1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1808 $as_echo_n "checking for $2... " >&6; }
1809 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1810 $as_echo_n "(cached) " >&6
1811 else
1812 if test x$gcc_no_link = xyes; then
1813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1814 fi
1815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1816 /* end confdefs.h. */
1817 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1819 #define $2 innocuous_$2
1820
1821 /* System header to define __stub macros and hopefully few prototypes,
1822 which can conflict with char $2 (); below.
1823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1824 <limits.h> exists even on freestanding compilers. */
1825
1826 #ifdef __STDC__
1827 # include <limits.h>
1828 #else
1829 # include <assert.h>
1830 #endif
1831
1832 #undef $2
1833
1834 /* Override any GCC internal prototype to avoid an error.
1835 Use char because int might match the return type of a GCC
1836 builtin and then its argument prototype would still apply. */
1837 #ifdef __cplusplus
1838 extern "C"
1839 #endif
1840 char $2 ();
1841 /* The GNU C library defines this for functions which it implements
1842 to always fail with ENOSYS. Some functions are actually named
1843 something starting with __ and the normal name is an alias. */
1844 #if defined __stub_$2 || defined __stub___$2
1845 choke me
1846 #endif
1847
1848 int
1849 main ()
1850 {
1851 return $2 ();
1852 ;
1853 return 0;
1854 }
1855 _ACEOF
1856 if ac_fn_c_try_link "$LINENO"; then :
1857 eval "$3=yes"
1858 else
1859 eval "$3=no"
1860 fi
1861 rm -f core conftest.err conftest.$ac_objext \
1862 conftest$ac_exeext conftest.$ac_ext
1863 fi
1864 eval ac_res=\$$3
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1866 $as_echo "$ac_res" >&6; }
1867 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1868
1869 } # ac_fn_c_check_func
1870
1871 # ac_fn_fc_try_compile LINENO
1872 # ---------------------------
1873 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1874 ac_fn_fc_try_compile ()
1875 {
1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877 rm -f conftest.$ac_objext
1878 if { { ac_try="$ac_compile"
1879 case "(($ac_try" in
1880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1881 *) ac_try_echo=$ac_try;;
1882 esac
1883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1884 $as_echo "$ac_try_echo"; } >&5
1885 (eval "$ac_compile") 2>conftest.err
1886 ac_status=$?
1887 if test -s conftest.err; then
1888 grep -v '^ *+' conftest.err >conftest.er1
1889 cat conftest.er1 >&5
1890 mv -f conftest.er1 conftest.err
1891 fi
1892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1893 test $ac_status = 0; } && {
1894 test -z "$ac_fc_werror_flag" ||
1895 test ! -s conftest.err
1896 } && test -s conftest.$ac_objext; then :
1897 ac_retval=0
1898 else
1899 $as_echo "$as_me: failed program was:" >&5
1900 sed 's/^/| /' conftest.$ac_ext >&5
1901
1902 ac_retval=1
1903 fi
1904 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1905 return $ac_retval
1906
1907 } # ac_fn_fc_try_compile
1908
1909 # ac_fn_fc_try_link LINENO
1910 # ------------------------
1911 # Try to link conftest.$ac_ext, and return whether this succeeded.
1912 ac_fn_fc_try_link ()
1913 {
1914 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1915 rm -f conftest.$ac_objext conftest$ac_exeext
1916 if { { ac_try="$ac_link"
1917 case "(($ac_try" in
1918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1919 *) ac_try_echo=$ac_try;;
1920 esac
1921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1922 $as_echo "$ac_try_echo"; } >&5
1923 (eval "$ac_link") 2>conftest.err
1924 ac_status=$?
1925 if test -s conftest.err; then
1926 grep -v '^ *+' conftest.err >conftest.er1
1927 cat conftest.er1 >&5
1928 mv -f conftest.er1 conftest.err
1929 fi
1930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931 test $ac_status = 0; } && {
1932 test -z "$ac_fc_werror_flag" ||
1933 test ! -s conftest.err
1934 } && test -s conftest$ac_exeext && {
1935 test "$cross_compiling" = yes ||
1936 $as_test_x conftest$ac_exeext
1937 }; then :
1938 ac_retval=0
1939 else
1940 $as_echo "$as_me: failed program was:" >&5
1941 sed 's/^/| /' conftest.$ac_ext >&5
1942
1943 ac_retval=1
1944 fi
1945 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1946 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1947 # interfere with the next link command; also delete a directory that is
1948 # left behind by Apple's compiler. We do this before executing the actions.
1949 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1950 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1951 return $ac_retval
1952
1953 } # ac_fn_fc_try_link
1954
1955 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1956 # -------------------------------------------
1957 # Tests whether TYPE exists after having included INCLUDES, setting cache
1958 # variable VAR accordingly.
1959 ac_fn_c_check_type ()
1960 {
1961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1963 $as_echo_n "checking for $2... " >&6; }
1964 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1965 $as_echo_n "(cached) " >&6
1966 else
1967 eval "$3=no"
1968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1969 /* end confdefs.h. */
1970 $4
1971 int
1972 main ()
1973 {
1974 if (sizeof ($2))
1975 return 0;
1976 ;
1977 return 0;
1978 }
1979 _ACEOF
1980 if ac_fn_c_try_compile "$LINENO"; then :
1981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1982 /* end confdefs.h. */
1983 $4
1984 int
1985 main ()
1986 {
1987 if (sizeof (($2)))
1988 return 0;
1989 ;
1990 return 0;
1991 }
1992 _ACEOF
1993 if ac_fn_c_try_compile "$LINENO"; then :
1994
1995 else
1996 eval "$3=yes"
1997 fi
1998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1999 fi
2000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2001 fi
2002 eval ac_res=\$$3
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2004 $as_echo "$ac_res" >&6; }
2005 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2006
2007 } # ac_fn_c_check_type
2008
2009 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2010 # --------------------------------------------
2011 # Tries to find the compile-time value of EXPR in a program that includes
2012 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2013 # computed
2014 ac_fn_c_compute_int ()
2015 {
2016 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017 if test "$cross_compiling" = yes; then
2018 # Depending upon the size, compute the lo and hi bounds.
2019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2020 /* end confdefs.h. */
2021 $4
2022 int
2023 main ()
2024 {
2025 static int test_array [1 - 2 * !(($2) >= 0)];
2026 test_array [0] = 0
2027
2028 ;
2029 return 0;
2030 }
2031 _ACEOF
2032 if ac_fn_c_try_compile "$LINENO"; then :
2033 ac_lo=0 ac_mid=0
2034 while :; do
2035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h. */
2037 $4
2038 int
2039 main ()
2040 {
2041 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2042 test_array [0] = 0
2043
2044 ;
2045 return 0;
2046 }
2047 _ACEOF
2048 if ac_fn_c_try_compile "$LINENO"; then :
2049 ac_hi=$ac_mid; break
2050 else
2051 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2052 if test $ac_lo -le $ac_mid; then
2053 ac_lo= ac_hi=
2054 break
2055 fi
2056 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2057 fi
2058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2059 done
2060 else
2061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2062 /* end confdefs.h. */
2063 $4
2064 int
2065 main ()
2066 {
2067 static int test_array [1 - 2 * !(($2) < 0)];
2068 test_array [0] = 0
2069
2070 ;
2071 return 0;
2072 }
2073 _ACEOF
2074 if ac_fn_c_try_compile "$LINENO"; then :
2075 ac_hi=-1 ac_mid=-1
2076 while :; do
2077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2078 /* end confdefs.h. */
2079 $4
2080 int
2081 main ()
2082 {
2083 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2084 test_array [0] = 0
2085
2086 ;
2087 return 0;
2088 }
2089 _ACEOF
2090 if ac_fn_c_try_compile "$LINENO"; then :
2091 ac_lo=$ac_mid; break
2092 else
2093 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2094 if test $ac_mid -le $ac_hi; then
2095 ac_lo= ac_hi=
2096 break
2097 fi
2098 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2099 fi
2100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101 done
2102 else
2103 ac_lo= ac_hi=
2104 fi
2105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2106 fi
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108 # Binary search between lo and hi bounds.
2109 while test "x$ac_lo" != "x$ac_hi"; do
2110 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h. */
2113 $4
2114 int
2115 main ()
2116 {
2117 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2118 test_array [0] = 0
2119
2120 ;
2121 return 0;
2122 }
2123 _ACEOF
2124 if ac_fn_c_try_compile "$LINENO"; then :
2125 ac_hi=$ac_mid
2126 else
2127 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2128 fi
2129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2130 done
2131 case $ac_lo in #((
2132 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2133 '') ac_retval=1 ;;
2134 esac
2135 else
2136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2137 /* end confdefs.h. */
2138 $4
2139 static long int longval () { return $2; }
2140 static unsigned long int ulongval () { return $2; }
2141 #include <stdio.h>
2142 #include <stdlib.h>
2143 int
2144 main ()
2145 {
2146
2147 FILE *f = fopen ("conftest.val", "w");
2148 if (! f)
2149 return 1;
2150 if (($2) < 0)
2151 {
2152 long int i = longval ();
2153 if (i != ($2))
2154 return 1;
2155 fprintf (f, "%ld", i);
2156 }
2157 else
2158 {
2159 unsigned long int i = ulongval ();
2160 if (i != ($2))
2161 return 1;
2162 fprintf (f, "%lu", i);
2163 }
2164 /* Do not output a trailing newline, as this causes \r\n confusion
2165 on some platforms. */
2166 return ferror (f) || fclose (f) != 0;
2167
2168 ;
2169 return 0;
2170 }
2171 _ACEOF
2172 if ac_fn_c_try_run "$LINENO"; then :
2173 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2174 else
2175 ac_retval=1
2176 fi
2177 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2178 conftest.$ac_objext conftest.beam conftest.$ac_ext
2179 rm -f conftest.val
2180
2181 fi
2182 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2183 return $ac_retval
2184
2185 } # ac_fn_c_compute_int
2186
2187 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2188 # ----------------------------------------------------
2189 # Tries to find if the field MEMBER exists in type AGGR, after including
2190 # INCLUDES, setting cache variable VAR accordingly.
2191 ac_fn_c_check_member ()
2192 {
2193 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2195 $as_echo_n "checking for $2.$3... " >&6; }
2196 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2197 $as_echo_n "(cached) " >&6
2198 else
2199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2200 /* end confdefs.h. */
2201 $5
2202 int
2203 main ()
2204 {
2205 static $2 ac_aggr;
2206 if (ac_aggr.$3)
2207 return 0;
2208 ;
2209 return 0;
2210 }
2211 _ACEOF
2212 if ac_fn_c_try_compile "$LINENO"; then :
2213 eval "$4=yes"
2214 else
2215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2216 /* end confdefs.h. */
2217 $5
2218 int
2219 main ()
2220 {
2221 static $2 ac_aggr;
2222 if (sizeof ac_aggr.$3)
2223 return 0;
2224 ;
2225 return 0;
2226 }
2227 _ACEOF
2228 if ac_fn_c_try_compile "$LINENO"; then :
2229 eval "$4=yes"
2230 else
2231 eval "$4=no"
2232 fi
2233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2234 fi
2235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2236 fi
2237 eval ac_res=\$$4
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2239 $as_echo "$ac_res" >&6; }
2240 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2241
2242 } # ac_fn_c_check_member
2243 cat >config.log <<_ACEOF
2244 This file contains any messages produced by compilers while
2245 running configure, to aid debugging if configure makes a mistake.
2246
2247 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2248 generated by GNU Autoconf 2.64. Invocation command line was
2249
2250 $ $0 $@
2251
2252 _ACEOF
2253 exec 5>>config.log
2254 {
2255 cat <<_ASUNAME
2256 ## --------- ##
2257 ## Platform. ##
2258 ## --------- ##
2259
2260 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2261 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2262 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2263 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2264 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2265
2266 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2267 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2268
2269 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2270 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2271 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2272 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2273 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2274 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2275 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2276
2277 _ASUNAME
2278
2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280 for as_dir in $PATH
2281 do
2282 IFS=$as_save_IFS
2283 test -z "$as_dir" && as_dir=.
2284 $as_echo "PATH: $as_dir"
2285 done
2286 IFS=$as_save_IFS
2287
2288 } >&5
2289
2290 cat >&5 <<_ACEOF
2291
2292
2293 ## ----------- ##
2294 ## Core tests. ##
2295 ## ----------- ##
2296
2297 _ACEOF
2298
2299
2300 # Keep a trace of the command line.
2301 # Strip out --no-create and --no-recursion so they do not pile up.
2302 # Strip out --silent because we don't want to record it for future runs.
2303 # Also quote any args containing shell meta-characters.
2304 # Make two passes to allow for proper duplicate-argument suppression.
2305 ac_configure_args=
2306 ac_configure_args0=
2307 ac_configure_args1=
2308 ac_must_keep_next=false
2309 for ac_pass in 1 2
2310 do
2311 for ac_arg
2312 do
2313 case $ac_arg in
2314 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2315 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2316 | -silent | --silent | --silen | --sile | --sil)
2317 continue ;;
2318 *\'*)
2319 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2320 esac
2321 case $ac_pass in
2322 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2323 2)
2324 as_fn_append ac_configure_args1 " '$ac_arg'"
2325 if test $ac_must_keep_next = true; then
2326 ac_must_keep_next=false # Got value, back to normal.
2327 else
2328 case $ac_arg in
2329 *=* | --config-cache | -C | -disable-* | --disable-* \
2330 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2331 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2332 | -with-* | --with-* | -without-* | --without-* | --x)
2333 case "$ac_configure_args0 " in
2334 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2335 esac
2336 ;;
2337 -* ) ac_must_keep_next=true ;;
2338 esac
2339 fi
2340 as_fn_append ac_configure_args " '$ac_arg'"
2341 ;;
2342 esac
2343 done
2344 done
2345 { ac_configure_args0=; unset ac_configure_args0;}
2346 { ac_configure_args1=; unset ac_configure_args1;}
2347
2348 # When interrupted or exit'd, cleanup temporary files, and complete
2349 # config.log. We remove comments because anyway the quotes in there
2350 # would cause problems or look ugly.
2351 # WARNING: Use '\'' to represent an apostrophe within the trap.
2352 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2353 trap 'exit_status=$?
2354 # Save into config.log some information that might help in debugging.
2355 {
2356 echo
2357
2358 cat <<\_ASBOX
2359 ## ---------------- ##
2360 ## Cache variables. ##
2361 ## ---------------- ##
2362 _ASBOX
2363 echo
2364 # The following way of writing the cache mishandles newlines in values,
2365 (
2366 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2367 eval ac_val=\$$ac_var
2368 case $ac_val in #(
2369 *${as_nl}*)
2370 case $ac_var in #(
2371 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2372 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2373 esac
2374 case $ac_var in #(
2375 _ | IFS | as_nl) ;; #(
2376 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2377 *) { eval $ac_var=; unset $ac_var;} ;;
2378 esac ;;
2379 esac
2380 done
2381 (set) 2>&1 |
2382 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2383 *${as_nl}ac_space=\ *)
2384 sed -n \
2385 "s/'\''/'\''\\\\'\'''\''/g;
2386 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2387 ;; #(
2388 *)
2389 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2390 ;;
2391 esac |
2392 sort
2393 )
2394 echo
2395
2396 cat <<\_ASBOX
2397 ## ----------------- ##
2398 ## Output variables. ##
2399 ## ----------------- ##
2400 _ASBOX
2401 echo
2402 for ac_var in $ac_subst_vars
2403 do
2404 eval ac_val=\$$ac_var
2405 case $ac_val in
2406 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2407 esac
2408 $as_echo "$ac_var='\''$ac_val'\''"
2409 done | sort
2410 echo
2411
2412 if test -n "$ac_subst_files"; then
2413 cat <<\_ASBOX
2414 ## ------------------- ##
2415 ## File substitutions. ##
2416 ## ------------------- ##
2417 _ASBOX
2418 echo
2419 for ac_var in $ac_subst_files
2420 do
2421 eval ac_val=\$$ac_var
2422 case $ac_val in
2423 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2424 esac
2425 $as_echo "$ac_var='\''$ac_val'\''"
2426 done | sort
2427 echo
2428 fi
2429
2430 if test -s confdefs.h; then
2431 cat <<\_ASBOX
2432 ## ----------- ##
2433 ## confdefs.h. ##
2434 ## ----------- ##
2435 _ASBOX
2436 echo
2437 cat confdefs.h
2438 echo
2439 fi
2440 test "$ac_signal" != 0 &&
2441 $as_echo "$as_me: caught signal $ac_signal"
2442 $as_echo "$as_me: exit $exit_status"
2443 } >&5
2444 rm -f core *.core core.conftest.* &&
2445 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2446 exit $exit_status
2447 ' 0
2448 for ac_signal in 1 2 13 15; do
2449 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2450 done
2451 ac_signal=0
2452
2453 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2454 rm -f -r conftest* confdefs.h
2455
2456 $as_echo "/* confdefs.h */" > confdefs.h
2457
2458 # Predefined preprocessor variables.
2459
2460 cat >>confdefs.h <<_ACEOF
2461 #define PACKAGE_NAME "$PACKAGE_NAME"
2462 _ACEOF
2463
2464 cat >>confdefs.h <<_ACEOF
2465 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2466 _ACEOF
2467
2468 cat >>confdefs.h <<_ACEOF
2469 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2470 _ACEOF
2471
2472 cat >>confdefs.h <<_ACEOF
2473 #define PACKAGE_STRING "$PACKAGE_STRING"
2474 _ACEOF
2475
2476 cat >>confdefs.h <<_ACEOF
2477 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2478 _ACEOF
2479
2480 cat >>confdefs.h <<_ACEOF
2481 #define PACKAGE_URL "$PACKAGE_URL"
2482 _ACEOF
2483
2484
2485 # Let the site file select an alternate cache file if it wants to.
2486 # Prefer an explicitly selected file to automatically selected ones.
2487 ac_site_file1=NONE
2488 ac_site_file2=NONE
2489 if test -n "$CONFIG_SITE"; then
2490 ac_site_file1=$CONFIG_SITE
2491 elif test "x$prefix" != xNONE; then
2492 ac_site_file1=$prefix/share/config.site
2493 ac_site_file2=$prefix/etc/config.site
2494 else
2495 ac_site_file1=$ac_default_prefix/share/config.site
2496 ac_site_file2=$ac_default_prefix/etc/config.site
2497 fi
2498 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2499 do
2500 test "x$ac_site_file" = xNONE && continue
2501 if test -r "$ac_site_file"; then
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2503 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2504 sed 's/^/| /' "$ac_site_file" >&5
2505 . "$ac_site_file"
2506 fi
2507 done
2508
2509 if test -r "$cache_file"; then
2510 # Some versions of bash will fail to source /dev/null (special
2511 # files actually), so we avoid doing that.
2512 if test -f "$cache_file"; then
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2514 $as_echo "$as_me: loading cache $cache_file" >&6;}
2515 case $cache_file in
2516 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2517 *) . "./$cache_file";;
2518 esac
2519 fi
2520 else
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2522 $as_echo "$as_me: creating cache $cache_file" >&6;}
2523 >$cache_file
2524 fi
2525
2526 # Check that the precious variables saved in the cache have kept the same
2527 # value.
2528 ac_cache_corrupted=false
2529 for ac_var in $ac_precious_vars; do
2530 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2531 eval ac_new_set=\$ac_env_${ac_var}_set
2532 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2533 eval ac_new_val=\$ac_env_${ac_var}_value
2534 case $ac_old_set,$ac_new_set in
2535 set,)
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2537 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2538 ac_cache_corrupted=: ;;
2539 ,set)
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2541 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2542 ac_cache_corrupted=: ;;
2543 ,);;
2544 *)
2545 if test "x$ac_old_val" != "x$ac_new_val"; then
2546 # differences in whitespace do not lead to failure.
2547 ac_old_val_w=`echo x $ac_old_val`
2548 ac_new_val_w=`echo x $ac_new_val`
2549 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2551 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2552 ac_cache_corrupted=:
2553 else
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2555 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2556 eval $ac_var=\$ac_old_val
2557 fi
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2559 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2561 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2562 fi;;
2563 esac
2564 # Pass precious variables to config.status.
2565 if test "$ac_new_set" = set; then
2566 case $ac_new_val in
2567 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2568 *) ac_arg=$ac_var=$ac_new_val ;;
2569 esac
2570 case " $ac_configure_args " in
2571 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2572 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2573 esac
2574 fi
2575 done
2576 if $ac_cache_corrupted; then
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2580 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2581 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2582 fi
2583 ## -------------------- ##
2584 ## Main body of script. ##
2585 ## -------------------- ##
2586
2587 ac_ext=c
2588 ac_cpp='$CPP $CPPFLAGS'
2589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2592
2593
2594
2595
2596
2597 ac_config_headers="$ac_config_headers config.h"
2598
2599 ac_aux_dir=
2600 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2601 for ac_t in install-sh install.sh shtool; do
2602 if test -f "$ac_dir/$ac_t"; then
2603 ac_aux_dir=$ac_dir
2604 ac_install_sh="$ac_aux_dir/$ac_t -c"
2605 break 2
2606 fi
2607 done
2608 done
2609 if test -z "$ac_aux_dir"; then
2610 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2611 fi
2612
2613 # These three variables are undocumented and unsupported,
2614 # and are intended to be withdrawn in a future Autoconf release.
2615 # They can cause serious problems if a builder's source tree is in a directory
2616 # whose full name contains unusual characters.
2617 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2618 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2619 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2620
2621
2622 # Make sure we can run config.sub.
2623 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2624 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2625
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2627 $as_echo_n "checking build system type... " >&6; }
2628 if test "${ac_cv_build+set}" = set; then :
2629 $as_echo_n "(cached) " >&6
2630 else
2631 ac_build_alias=$build_alias
2632 test "x$ac_build_alias" = x &&
2633 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2634 test "x$ac_build_alias" = x &&
2635 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2636 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2637 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2638
2639 fi
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2641 $as_echo "$ac_cv_build" >&6; }
2642 case $ac_cv_build in
2643 *-*-*) ;;
2644 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2645 esac
2646 build=$ac_cv_build
2647 ac_save_IFS=$IFS; IFS='-'
2648 set x $ac_cv_build
2649 shift
2650 build_cpu=$1
2651 build_vendor=$2
2652 shift; shift
2653 # Remember, the first character of IFS is used to create $*,
2654 # except with old shells:
2655 build_os=$*
2656 IFS=$ac_save_IFS
2657 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2658
2659
2660 case ${build_alias} in
2661 "") build_noncanonical=${build} ;;
2662 *) build_noncanonical=${build_alias} ;;
2663 esac
2664
2665 case ${host_alias} in
2666 "") host_noncanonical=${build_noncanonical} ;;
2667 *) host_noncanonical=${host_alias} ;;
2668 esac
2669
2670 case ${target_alias} in
2671 "") target_noncanonical=${host_noncanonical} ;;
2672 *) target_noncanonical=${target_alias} ;;
2673 esac
2674
2675
2676 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2677 # have matching libraries, they should use host libraries: Makefile.tpl
2678 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2679 # However, they still use the build modules, because the corresponding
2680 # host modules (e.g. bison) are only built for the host when bootstrap
2681 # finishes. So:
2682 # - build_subdir is where we find build modules, and never changes.
2683 # - build_libsubdir is where we find build libraries, and can be overridden.
2684
2685 # Prefix 'build-' so this never conflicts with target_subdir.
2686 build_subdir="build-${build_noncanonical}"
2687
2688 # Check whether --with-build-libsubdir was given.
2689 if test "${with_build_libsubdir+set}" = set; then :
2690 withval=$with_build_libsubdir; build_libsubdir="$withval"
2691 else
2692 build_libsubdir="$build_subdir"
2693 fi
2694
2695 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2696 if ( test $srcdir = . && test -d gcc ) \
2697 || test -d $srcdir/../host-${host_noncanonical}; then
2698 host_subdir="host-${host_noncanonical}"
2699 else
2700 host_subdir=.
2701 fi
2702 # No prefix.
2703 target_subdir=${target_noncanonical}
2704
2705
2706 # -------
2707 # Options
2708 # -------
2709
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2711 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2712 # Check whether --enable-version-specific-runtime-libs was given.
2713 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2714 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2715 yes) version_specific_libs=yes ;;
2716 no) version_specific_libs=no ;;
2717 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2718 esac
2719 else
2720 version_specific_libs=no
2721 fi
2722
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2724 $as_echo "$version_specific_libs" >&6; }
2725
2726 # Build with intermodule optimisations
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2728 $as_echo_n "checking for --enable-intermodule... " >&6; }
2729 # Check whether --enable-intermodule was given.
2730 if test "${enable_intermodule+set}" = set; then :
2731 enableval=$enable_intermodule; case "$enable_intermodule" in
2732 yes) onestep="-onestep";;
2733 *) onestep="";;
2734 esac
2735 else
2736 onestep=""
2737 fi
2738
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2740 $as_echo "$enable_intermodule" >&6; }
2741 if test x$onestep = x-onestep; then
2742 onestep_TRUE=
2743 onestep_FALSE='#'
2744 else
2745 onestep_TRUE='#'
2746 onestep_FALSE=
2747 fi
2748
2749
2750
2751 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2752 #
2753 # You will slowly go insane if you do not grok the following fact: when
2754 # building this library, the top-level /target/ becomes the library's /host/.
2755 #
2756 # configure then causes --target to default to --host, exactly like any
2757 # other package using autoconf. Therefore, 'target' and 'host' will
2758 # always be the same. This makes sense both for native and cross compilers
2759 # just think about it for a little while. :-)
2760 #
2761 # Also, if this library is being configured as part of a cross compiler, the
2762 # top-level configure script will pass the "real" host as $with_cross_host.
2763 #
2764 # Do not delete or change the following two lines. For why, see
2765 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2767 $as_echo_n "checking host system type... " >&6; }
2768 if test "${ac_cv_host+set}" = set; then :
2769 $as_echo_n "(cached) " >&6
2770 else
2771 if test "x$host_alias" = x; then
2772 ac_cv_host=$ac_cv_build
2773 else
2774 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2775 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2776 fi
2777
2778 fi
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2780 $as_echo "$ac_cv_host" >&6; }
2781 case $ac_cv_host in
2782 *-*-*) ;;
2783 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2784 esac
2785 host=$ac_cv_host
2786 ac_save_IFS=$IFS; IFS='-'
2787 set x $ac_cv_host
2788 shift
2789 host_cpu=$1
2790 host_vendor=$2
2791 shift; shift
2792 # Remember, the first character of IFS is used to create $*,
2793 # except with old shells:
2794 host_os=$*
2795 IFS=$ac_save_IFS
2796 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2797
2798
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2800 $as_echo_n "checking target system type... " >&6; }
2801 if test "${ac_cv_target+set}" = set; then :
2802 $as_echo_n "(cached) " >&6
2803 else
2804 if test "x$target_alias" = x; then
2805 ac_cv_target=$ac_cv_host
2806 else
2807 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2808 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2809 fi
2810
2811 fi
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2813 $as_echo "$ac_cv_target" >&6; }
2814 case $ac_cv_target in
2815 *-*-*) ;;
2816 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2817 esac
2818 target=$ac_cv_target
2819 ac_save_IFS=$IFS; IFS='-'
2820 set x $ac_cv_target
2821 shift
2822 target_cpu=$1
2823 target_vendor=$2
2824 shift; shift
2825 # Remember, the first character of IFS is used to create $*,
2826 # except with old shells:
2827 target_os=$*
2828 IFS=$ac_save_IFS
2829 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2830
2831
2832 # The aliases save the names the user supplied, while $host etc.
2833 # will get canonicalized.
2834 test -n "$target_alias" &&
2835 test "$program_prefix$program_suffix$program_transform_name" = \
2836 NONENONEs,x,x, &&
2837 program_prefix=${target_alias}-
2838
2839 target_alias=${target_alias-$host_alias}
2840
2841 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2842 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2843 # 1.9.6: minimum required version
2844 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2845 # of other PACKAGE_* variables will, however, and there's nothing
2846 # we can do about that; they come from AC_INIT).
2847 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2848 # file in the top srcdir, etc, etc), so stop complaining.
2849 # no-dist: we don't want 'dist' and related rules.
2850 # -Wall: turns on all automake warnings...
2851 # -Wno-portability: ...except this one, since GNU make is required.
2852 am__api_version='1.11'
2853
2854 # Find a good install program. We prefer a C program (faster),
2855 # so one script is as good as another. But avoid the broken or
2856 # incompatible versions:
2857 # SysV /etc/install, /usr/sbin/install
2858 # SunOS /usr/etc/install
2859 # IRIX /sbin/install
2860 # AIX /bin/install
2861 # AmigaOS /C/install, which installs bootblocks on floppy discs
2862 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2863 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2864 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2865 # OS/2's system install, which has a completely different semantic
2866 # ./install, which can be erroneously created by make from ./install.sh.
2867 # Reject install programs that cannot install multiple files.
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2869 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2870 if test -z "$INSTALL"; then
2871 if test "${ac_cv_path_install+set}" = set; then :
2872 $as_echo_n "(cached) " >&6
2873 else
2874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2875 for as_dir in $PATH
2876 do
2877 IFS=$as_save_IFS
2878 test -z "$as_dir" && as_dir=.
2879 # Account for people who put trailing slashes in PATH elements.
2880 case $as_dir/ in #((
2881 ./ | .// | /[cC]/* | \
2882 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2883 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2884 /usr/ucb/* ) ;;
2885 *)
2886 # OSF1 and SCO ODT 3.0 have their own names for install.
2887 # Don't use installbsd from OSF since it installs stuff as root
2888 # by default.
2889 for ac_prog in ginstall scoinst install; do
2890 for ac_exec_ext in '' $ac_executable_extensions; do
2891 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2892 if test $ac_prog = install &&
2893 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2894 # AIX install. It has an incompatible calling convention.
2895 :
2896 elif test $ac_prog = install &&
2897 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2898 # program-specific install script used by HP pwplus--don't use.
2899 :
2900 else
2901 rm -rf conftest.one conftest.two conftest.dir
2902 echo one > conftest.one
2903 echo two > conftest.two
2904 mkdir conftest.dir
2905 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2906 test -s conftest.one && test -s conftest.two &&
2907 test -s conftest.dir/conftest.one &&
2908 test -s conftest.dir/conftest.two
2909 then
2910 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2911 break 3
2912 fi
2913 fi
2914 fi
2915 done
2916 done
2917 ;;
2918 esac
2919
2920 done
2921 IFS=$as_save_IFS
2922
2923 rm -rf conftest.one conftest.two conftest.dir
2924
2925 fi
2926 if test "${ac_cv_path_install+set}" = set; then
2927 INSTALL=$ac_cv_path_install
2928 else
2929 # As a last resort, use the slow shell script. Don't cache a
2930 # value for INSTALL within a source directory, because that will
2931 # break other packages using the cache if that directory is
2932 # removed, or if the value is a relative name.
2933 INSTALL=$ac_install_sh
2934 fi
2935 fi
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2937 $as_echo "$INSTALL" >&6; }
2938
2939 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2940 # It thinks the first close brace ends the variable substitution.
2941 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2942
2943 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2944
2945 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2946
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2948 $as_echo_n "checking whether build environment is sane... " >&6; }
2949 # Just in case
2950 sleep 1
2951 echo timestamp > conftest.file
2952 # Reject unsafe characters in $srcdir or the absolute working directory
2953 # name. Accept space and tab only in the latter.
2954 am_lf='
2955 '
2956 case `pwd` in
2957 *[\\\"\#\$\&\'\`$am_lf]*)
2958 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2959 esac
2960 case $srcdir in
2961 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2962 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2963 esac
2964
2965 # Do `set' in a subshell so we don't clobber the current shell's
2966 # arguments. Must try -L first in case configure is actually a
2967 # symlink; some systems play weird games with the mod time of symlinks
2968 # (eg FreeBSD returns the mod time of the symlink's containing
2969 # directory).
2970 if (
2971 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2972 if test "$*" = "X"; then
2973 # -L didn't work.
2974 set X `ls -t "$srcdir/configure" conftest.file`
2975 fi
2976 rm -f conftest.file
2977 if test "$*" != "X $srcdir/configure conftest.file" \
2978 && test "$*" != "X conftest.file $srcdir/configure"; then
2979
2980 # If neither matched, then we have a broken ls. This can happen
2981 # if, for instance, CONFIG_SHELL is bash and it inherits a
2982 # broken ls alias from the environment. This has actually
2983 # happened. Such a system could not be considered "sane".
2984 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2985 alias in your environment" "$LINENO" 5
2986 fi
2987
2988 test "$2" = conftest.file
2989 )
2990 then
2991 # Ok.
2992 :
2993 else
2994 as_fn_error "newly created file is older than distributed files!
2995 Check your system clock" "$LINENO" 5
2996 fi
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2998 $as_echo "yes" >&6; }
2999 test "$program_prefix" != NONE &&
3000 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3001 # Use a double $ so make ignores it.
3002 test "$program_suffix" != NONE &&
3003 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3004 # Double any \ or $.
3005 # By default was `s,x,x', remove it if useless.
3006 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3007 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3008
3009 # expand $ac_aux_dir to an absolute path
3010 am_aux_dir=`cd $ac_aux_dir && pwd`
3011
3012 if test x"${MISSING+set}" != xset; then
3013 case $am_aux_dir in
3014 *\ * | *\ *)
3015 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3016 *)
3017 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3018 esac
3019 fi
3020 # Use eval to expand $SHELL
3021 if eval "$MISSING --run true"; then
3022 am_missing_run="$MISSING --run "
3023 else
3024 am_missing_run=
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3026 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3027 fi
3028
3029 if test x"${install_sh}" != xset; then
3030 case $am_aux_dir in
3031 *\ * | *\ *)
3032 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3033 *)
3034 install_sh="\${SHELL} $am_aux_dir/install-sh"
3035 esac
3036 fi
3037
3038 # Installed binaries are usually stripped using `strip' when the user
3039 # run `make install-strip'. However `strip' might not be the right
3040 # tool to use in cross-compilation environments, therefore Automake
3041 # will honor the `STRIP' environment variable to overrule this program.
3042 if test "$cross_compiling" != no; then
3043 if test -n "$ac_tool_prefix"; then
3044 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3045 set dummy ${ac_tool_prefix}strip; ac_word=$2
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3047 $as_echo_n "checking for $ac_word... " >&6; }
3048 if test "${ac_cv_prog_STRIP+set}" = set; then :
3049 $as_echo_n "(cached) " >&6
3050 else
3051 if test -n "$STRIP"; then
3052 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3053 else
3054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3055 for as_dir in $PATH
3056 do
3057 IFS=$as_save_IFS
3058 test -z "$as_dir" && as_dir=.
3059 for ac_exec_ext in '' $ac_executable_extensions; do
3060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3061 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3063 break 2
3064 fi
3065 done
3066 done
3067 IFS=$as_save_IFS
3068
3069 fi
3070 fi
3071 STRIP=$ac_cv_prog_STRIP
3072 if test -n "$STRIP"; then
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3074 $as_echo "$STRIP" >&6; }
3075 else
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077 $as_echo "no" >&6; }
3078 fi
3079
3080
3081 fi
3082 if test -z "$ac_cv_prog_STRIP"; then
3083 ac_ct_STRIP=$STRIP
3084 # Extract the first word of "strip", so it can be a program name with args.
3085 set dummy strip; ac_word=$2
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3087 $as_echo_n "checking for $ac_word... " >&6; }
3088 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3089 $as_echo_n "(cached) " >&6
3090 else
3091 if test -n "$ac_ct_STRIP"; then
3092 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3093 else
3094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3095 for as_dir in $PATH
3096 do
3097 IFS=$as_save_IFS
3098 test -z "$as_dir" && as_dir=.
3099 for ac_exec_ext in '' $ac_executable_extensions; do
3100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3101 ac_cv_prog_ac_ct_STRIP="strip"
3102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3103 break 2
3104 fi
3105 done
3106 done
3107 IFS=$as_save_IFS
3108
3109 fi
3110 fi
3111 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3112 if test -n "$ac_ct_STRIP"; then
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3114 $as_echo "$ac_ct_STRIP" >&6; }
3115 else
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3117 $as_echo "no" >&6; }
3118 fi
3119
3120 if test "x$ac_ct_STRIP" = x; then
3121 STRIP=":"
3122 else
3123 case $cross_compiling:$ac_tool_warned in
3124 yes:)
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3127 ac_tool_warned=yes ;;
3128 esac
3129 STRIP=$ac_ct_STRIP
3130 fi
3131 else
3132 STRIP="$ac_cv_prog_STRIP"
3133 fi
3134
3135 fi
3136 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3137
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3139 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3140 if test -z "$MKDIR_P"; then
3141 if test "${ac_cv_path_mkdir+set}" = set; then :
3142 $as_echo_n "(cached) " >&6
3143 else
3144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3146 do
3147 IFS=$as_save_IFS
3148 test -z "$as_dir" && as_dir=.
3149 for ac_prog in mkdir gmkdir; do
3150 for ac_exec_ext in '' $ac_executable_extensions; do
3151 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3152 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3153 'mkdir (GNU coreutils) '* | \
3154 'mkdir (coreutils) '* | \
3155 'mkdir (fileutils) '4.1*)
3156 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3157 break 3;;
3158 esac
3159 done
3160 done
3161 done
3162 IFS=$as_save_IFS
3163
3164 fi
3165
3166 if test "${ac_cv_path_mkdir+set}" = set; then
3167 MKDIR_P="$ac_cv_path_mkdir -p"
3168 else
3169 # As a last resort, use the slow shell script. Don't cache a
3170 # value for MKDIR_P within a source directory, because that will
3171 # break other packages using the cache if that directory is
3172 # removed, or if the value is a relative name.
3173 test -d ./--version && rmdir ./--version
3174 MKDIR_P="$ac_install_sh -d"
3175 fi
3176 fi
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3178 $as_echo "$MKDIR_P" >&6; }
3179
3180 mkdir_p="$MKDIR_P"
3181 case $mkdir_p in
3182 [\\/$]* | ?:[\\/]*) ;;
3183 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3184 esac
3185
3186 for ac_prog in gawk mawk nawk awk
3187 do
3188 # Extract the first word of "$ac_prog", so it can be a program name with args.
3189 set dummy $ac_prog; ac_word=$2
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3191 $as_echo_n "checking for $ac_word... " >&6; }
3192 if test "${ac_cv_prog_AWK+set}" = set; then :
3193 $as_echo_n "(cached) " >&6
3194 else
3195 if test -n "$AWK"; then
3196 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3197 else
3198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3199 for as_dir in $PATH
3200 do
3201 IFS=$as_save_IFS
3202 test -z "$as_dir" && as_dir=.
3203 for ac_exec_ext in '' $ac_executable_extensions; do
3204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3205 ac_cv_prog_AWK="$ac_prog"
3206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3207 break 2
3208 fi
3209 done
3210 done
3211 IFS=$as_save_IFS
3212
3213 fi
3214 fi
3215 AWK=$ac_cv_prog_AWK
3216 if test -n "$AWK"; then
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3218 $as_echo "$AWK" >&6; }
3219 else
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3221 $as_echo "no" >&6; }
3222 fi
3223
3224
3225 test -n "$AWK" && break
3226 done
3227
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3229 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3230 set x ${MAKE-make}
3231 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3232 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3233 $as_echo_n "(cached) " >&6
3234 else
3235 cat >conftest.make <<\_ACEOF
3236 SHELL = /bin/sh
3237 all:
3238 @echo '@@@%%%=$(MAKE)=@@@%%%'
3239 _ACEOF
3240 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3241 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3242 *@@@%%%=?*=@@@%%%*)
3243 eval ac_cv_prog_make_${ac_make}_set=yes;;
3244 *)
3245 eval ac_cv_prog_make_${ac_make}_set=no;;
3246 esac
3247 rm -f conftest.make
3248 fi
3249 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3251 $as_echo "yes" >&6; }
3252 SET_MAKE=
3253 else
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255 $as_echo "no" >&6; }
3256 SET_MAKE="MAKE=${MAKE-make}"
3257 fi
3258
3259 rm -rf .tst 2>/dev/null
3260 mkdir .tst 2>/dev/null
3261 if test -d .tst; then
3262 am__leading_dot=.
3263 else
3264 am__leading_dot=_
3265 fi
3266 rmdir .tst 2>/dev/null
3267
3268 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3269 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3270 # is not polluted with repeated "-I."
3271 am__isrc=' -I$(srcdir)'
3272 # test to see if srcdir already configured
3273 if test -f $srcdir/config.status; then
3274 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3275 fi
3276 fi
3277
3278 # test whether we have cygpath
3279 if test -z "$CYGPATH_W"; then
3280 if (cygpath --version) >/dev/null 2>/dev/null; then
3281 CYGPATH_W='cygpath -w'
3282 else
3283 CYGPATH_W=echo
3284 fi
3285 fi
3286
3287
3288 # Define the identity of the package.
3289 PACKAGE='libgfortran'
3290 VERSION='0.3'
3291
3292
3293 # Some tools Automake needs.
3294
3295 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3296
3297
3298 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3299
3300
3301 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3302
3303
3304 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3305
3306
3307 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3308
3309 # We need awk for the "check" target. The system "awk" is bad on
3310 # some platforms.
3311 # Always define AMTAR for backward compatibility.
3312
3313 AMTAR=${AMTAR-"${am_missing_run}tar"}
3314
3315 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3316
3317
3318
3319
3320
3321
3322
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3324 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3325 # Check whether --enable-maintainer-mode was given.
3326 if test "${enable_maintainer_mode+set}" = set; then :
3327 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3328 else
3329 USE_MAINTAINER_MODE=no
3330 fi
3331
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3333 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3334 if test $USE_MAINTAINER_MODE = yes; then
3335 MAINTAINER_MODE_TRUE=
3336 MAINTAINER_MODE_FALSE='#'
3337 else
3338 MAINTAINER_MODE_TRUE='#'
3339 MAINTAINER_MODE_FALSE=
3340 fi
3341
3342 MAINT=$MAINTAINER_MODE_TRUE
3343
3344
3345 # Default to --enable-multilib
3346 # Check whether --enable-multilib was given.
3347 if test "${enable_multilib+set}" = set; then :
3348 enableval=$enable_multilib; case "$enableval" in
3349 yes) multilib=yes ;;
3350 no) multilib=no ;;
3351 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3352 esac
3353 else
3354 multilib=yes
3355 fi
3356
3357
3358 # We may get other options which we leave undocumented:
3359 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3360 # See config-ml.in if you want the gory details.
3361
3362 if test "$srcdir" = "."; then
3363 if test "$with_target_subdir" != "."; then
3364 multi_basedir="$srcdir/$with_multisrctop../.."
3365 else
3366 multi_basedir="$srcdir/$with_multisrctop.."
3367 fi
3368 else
3369 multi_basedir="$srcdir/.."
3370 fi
3371
3372
3373 # Even if the default multilib is not a cross compilation,
3374 # it may be that some of the other multilibs are.
3375 if test $cross_compiling = no && test $multilib = yes \
3376 && test "x${with_multisubdir}" != x ; then
3377 cross_compiling=maybe
3378 fi
3379
3380 ac_config_commands="$ac_config_commands default-1"
3381
3382
3383 # Handy for debugging:
3384 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3385
3386 # Are we being configured with some form of cross compiler?
3387 # NB: We don't actually need to know this just now, but when, say, a test
3388 # suite is included, we'll have to know.
3389 if test "$build" != "$host"; then
3390 LIBGFOR_IS_NATIVE=false
3391
3392 else
3393 LIBGFOR_IS_NATIVE=true
3394 fi
3395
3396 DEPDIR="${am__leading_dot}deps"
3397
3398 ac_config_commands="$ac_config_commands depfiles"
3399
3400
3401 am_make=${MAKE-make}
3402 cat > confinc << 'END'
3403 am__doit:
3404 @echo this is the am__doit target
3405 .PHONY: am__doit
3406 END
3407 # If we don't find an include directive, just comment out the code.
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3409 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3410 am__include="#"
3411 am__quote=
3412 _am_result=none
3413 # First try GNU make style include.
3414 echo "include confinc" > confmf
3415 # Ignore all kinds of additional output from `make'.
3416 case `$am_make -s -f confmf 2> /dev/null` in #(
3417 *the\ am__doit\ target*)
3418 am__include=include
3419 am__quote=
3420 _am_result=GNU
3421 ;;
3422 esac
3423 # Now try BSD make style include.
3424 if test "$am__include" = "#"; then
3425 echo '.include "confinc"' > confmf
3426 case `$am_make -s -f confmf 2> /dev/null` in #(
3427 *the\ am__doit\ target*)
3428 am__include=.include
3429 am__quote="\""
3430 _am_result=BSD
3431 ;;
3432 esac
3433 fi
3434
3435
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3437 $as_echo "$_am_result" >&6; }
3438 rm -f confinc confmf
3439
3440 # Check whether --enable-dependency-tracking was given.
3441 if test "${enable_dependency_tracking+set}" = set; then :
3442 enableval=$enable_dependency_tracking;
3443 fi
3444
3445 if test "x$enable_dependency_tracking" != xno; then
3446 am_depcomp="$ac_aux_dir/depcomp"
3447 AMDEPBACKSLASH='\'
3448 fi
3449 if test "x$enable_dependency_tracking" != xno; then
3450 AMDEP_TRUE=
3451 AMDEP_FALSE='#'
3452 else
3453 AMDEP_TRUE='#'
3454 AMDEP_FALSE=
3455 fi
3456
3457
3458 ac_ext=c
3459 ac_cpp='$CPP $CPPFLAGS'
3460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3463 if test -n "$ac_tool_prefix"; then
3464 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3465 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3467 $as_echo_n "checking for $ac_word... " >&6; }
3468 if test "${ac_cv_prog_CC+set}" = set; then :
3469 $as_echo_n "(cached) " >&6
3470 else
3471 if test -n "$CC"; then
3472 ac_cv_prog_CC="$CC" # Let the user override the test.
3473 else
3474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3475 for as_dir in $PATH
3476 do
3477 IFS=$as_save_IFS
3478 test -z "$as_dir" && as_dir=.
3479 for ac_exec_ext in '' $ac_executable_extensions; do
3480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3481 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3483 break 2
3484 fi
3485 done
3486 done
3487 IFS=$as_save_IFS
3488
3489 fi
3490 fi
3491 CC=$ac_cv_prog_CC
3492 if test -n "$CC"; then
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3494 $as_echo "$CC" >&6; }
3495 else
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3497 $as_echo "no" >&6; }
3498 fi
3499
3500
3501 fi
3502 if test -z "$ac_cv_prog_CC"; then
3503 ac_ct_CC=$CC
3504 # Extract the first word of "gcc", so it can be a program name with args.
3505 set dummy gcc; ac_word=$2
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3507 $as_echo_n "checking for $ac_word... " >&6; }
3508 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3509 $as_echo_n "(cached) " >&6
3510 else
3511 if test -n "$ac_ct_CC"; then
3512 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3513 else
3514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3515 for as_dir in $PATH
3516 do
3517 IFS=$as_save_IFS
3518 test -z "$as_dir" && as_dir=.
3519 for ac_exec_ext in '' $ac_executable_extensions; do
3520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3521 ac_cv_prog_ac_ct_CC="gcc"
3522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3523 break 2
3524 fi
3525 done
3526 done
3527 IFS=$as_save_IFS
3528
3529 fi
3530 fi
3531 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3532 if test -n "$ac_ct_CC"; then
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3534 $as_echo "$ac_ct_CC" >&6; }
3535 else
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3537 $as_echo "no" >&6; }
3538 fi
3539
3540 if test "x$ac_ct_CC" = x; then
3541 CC=""
3542 else
3543 case $cross_compiling:$ac_tool_warned in
3544 yes:)
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3547 ac_tool_warned=yes ;;
3548 esac
3549 CC=$ac_ct_CC
3550 fi
3551 else
3552 CC="$ac_cv_prog_CC"
3553 fi
3554
3555 if test -z "$CC"; then
3556 if test -n "$ac_tool_prefix"; then
3557 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3558 set dummy ${ac_tool_prefix}cc; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if test "${ac_cv_prog_CC+set}" = set; then :
3562 $as_echo_n "(cached) " >&6
3563 else
3564 if test -n "$CC"; then
3565 ac_cv_prog_CC="$CC" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3569 do
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3574 ac_cv_prog_CC="${ac_tool_prefix}cc"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 break 2
3577 fi
3578 done
3579 done
3580 IFS=$as_save_IFS
3581
3582 fi
3583 fi
3584 CC=$ac_cv_prog_CC
3585 if test -n "$CC"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3587 $as_echo "$CC" >&6; }
3588 else
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3591 fi
3592
3593
3594 fi
3595 fi
3596 if test -z "$CC"; then
3597 # Extract the first word of "cc", so it can be a program name with args.
3598 set dummy cc; ac_word=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if test "${ac_cv_prog_CC+set}" = set; then :
3602 $as_echo_n "(cached) " >&6
3603 else
3604 if test -n "$CC"; then
3605 ac_cv_prog_CC="$CC" # Let the user override the test.
3606 else
3607 ac_prog_rejected=no
3608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3609 for as_dir in $PATH
3610 do
3611 IFS=$as_save_IFS
3612 test -z "$as_dir" && as_dir=.
3613 for ac_exec_ext in '' $ac_executable_extensions; do
3614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3615 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3616 ac_prog_rejected=yes
3617 continue
3618 fi
3619 ac_cv_prog_CC="cc"
3620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3621 break 2
3622 fi
3623 done
3624 done
3625 IFS=$as_save_IFS
3626
3627 if test $ac_prog_rejected = yes; then
3628 # We found a bogon in the path, so make sure we never use it.
3629 set dummy $ac_cv_prog_CC
3630 shift
3631 if test $# != 0; then
3632 # We chose a different compiler from the bogus one.
3633 # However, it has the same basename, so the bogon will be chosen
3634 # first if we set CC to just the basename; use the full file name.
3635 shift
3636 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3637 fi
3638 fi
3639 fi
3640 fi
3641 CC=$ac_cv_prog_CC
3642 if test -n "$CC"; then
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3644 $as_echo "$CC" >&6; }
3645 else
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3647 $as_echo "no" >&6; }
3648 fi
3649
3650
3651 fi
3652 if test -z "$CC"; then
3653 if test -n "$ac_tool_prefix"; then
3654 for ac_prog in cl.exe
3655 do
3656 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3657 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3659 $as_echo_n "checking for $ac_word... " >&6; }
3660 if test "${ac_cv_prog_CC+set}" = set; then :
3661 $as_echo_n "(cached) " >&6
3662 else
3663 if test -n "$CC"; then
3664 ac_cv_prog_CC="$CC" # Let the user override the test.
3665 else
3666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3667 for as_dir in $PATH
3668 do
3669 IFS=$as_save_IFS
3670 test -z "$as_dir" && as_dir=.
3671 for ac_exec_ext in '' $ac_executable_extensions; do
3672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3673 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3675 break 2
3676 fi
3677 done
3678 done
3679 IFS=$as_save_IFS
3680
3681 fi
3682 fi
3683 CC=$ac_cv_prog_CC
3684 if test -n "$CC"; then
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3686 $as_echo "$CC" >&6; }
3687 else
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689 $as_echo "no" >&6; }
3690 fi
3691
3692
3693 test -n "$CC" && break
3694 done
3695 fi
3696 if test -z "$CC"; then
3697 ac_ct_CC=$CC
3698 for ac_prog in cl.exe
3699 do
3700 # Extract the first word of "$ac_prog", so it can be a program name with args.
3701 set dummy $ac_prog; ac_word=$2
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3703 $as_echo_n "checking for $ac_word... " >&6; }
3704 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3705 $as_echo_n "(cached) " >&6
3706 else
3707 if test -n "$ac_ct_CC"; then
3708 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3709 else
3710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3711 for as_dir in $PATH
3712 do
3713 IFS=$as_save_IFS
3714 test -z "$as_dir" && as_dir=.
3715 for ac_exec_ext in '' $ac_executable_extensions; do
3716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3717 ac_cv_prog_ac_ct_CC="$ac_prog"
3718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3719 break 2
3720 fi
3721 done
3722 done
3723 IFS=$as_save_IFS
3724
3725 fi
3726 fi
3727 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3728 if test -n "$ac_ct_CC"; then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3730 $as_echo "$ac_ct_CC" >&6; }
3731 else
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3734 fi
3735
3736
3737 test -n "$ac_ct_CC" && break
3738 done
3739
3740 if test "x$ac_ct_CC" = x; then
3741 CC=""
3742 else
3743 case $cross_compiling:$ac_tool_warned in
3744 yes:)
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3747 ac_tool_warned=yes ;;
3748 esac
3749 CC=$ac_ct_CC
3750 fi
3751 fi
3752
3753 fi
3754
3755
3756 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3758 as_fn_error "no acceptable C compiler found in \$PATH
3759 See \`config.log' for more details." "$LINENO" 5; }
3760
3761 # Provide some information about the compiler.
3762 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3763 set X $ac_compile
3764 ac_compiler=$2
3765 for ac_option in --version -v -V -qversion; do
3766 { { ac_try="$ac_compiler $ac_option >&5"
3767 case "(($ac_try" in
3768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3769 *) ac_try_echo=$ac_try;;
3770 esac
3771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3772 $as_echo "$ac_try_echo"; } >&5
3773 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3774 ac_status=$?
3775 if test -s conftest.err; then
3776 sed '10a\
3777 ... rest of stderr output deleted ...
3778 10q' conftest.err >conftest.er1
3779 cat conftest.er1 >&5
3780 rm -f conftest.er1 conftest.err
3781 fi
3782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3783 test $ac_status = 0; }
3784 done
3785
3786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3787 /* end confdefs.h. */
3788
3789 int
3790 main ()
3791 {
3792
3793 ;
3794 return 0;
3795 }
3796 _ACEOF
3797 # FIXME: Cleanup?
3798 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3799 (eval $ac_link) 2>&5
3800 ac_status=$?
3801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3802 test $ac_status = 0; }; then :
3803 gcc_no_link=no
3804 else
3805 gcc_no_link=yes
3806 fi
3807 if test x$gcc_no_link = xyes; then
3808 # Setting cross_compile will disable run tests; it will
3809 # also disable AC_CHECK_FILE but that's generally
3810 # correct if we can't link.
3811 cross_compiling=yes
3812 EXEEXT=
3813 else
3814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3815 /* end confdefs.h. */
3816
3817 int
3818 main ()
3819 {
3820
3821 ;
3822 return 0;
3823 }
3824 _ACEOF
3825 ac_clean_files_save=$ac_clean_files
3826 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3827 # Try to create an executable without -o first, disregard a.out.
3828 # It will help us diagnose broken compilers, and finding out an intuition
3829 # of exeext.
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3831 $as_echo_n "checking for C compiler default output file name... " >&6; }
3832 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3833
3834 # The possible output files:
3835 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3836
3837 ac_rmfiles=
3838 for ac_file in $ac_files
3839 do
3840 case $ac_file in
3841 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3842 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3843 esac
3844 done
3845 rm -f $ac_rmfiles
3846
3847 if { { ac_try="$ac_link_default"
3848 case "(($ac_try" in
3849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3850 *) ac_try_echo=$ac_try;;
3851 esac
3852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3853 $as_echo "$ac_try_echo"; } >&5
3854 (eval "$ac_link_default") 2>&5
3855 ac_status=$?
3856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3857 test $ac_status = 0; }; then :
3858 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3859 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3860 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3861 # so that the user can short-circuit this test for compilers unknown to
3862 # Autoconf.
3863 for ac_file in $ac_files ''
3864 do
3865 test -f "$ac_file" || continue
3866 case $ac_file in
3867 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3868 ;;
3869 [ab].out )
3870 # We found the default executable, but exeext='' is most
3871 # certainly right.
3872 break;;
3873 *.* )
3874 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3875 then :; else
3876 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3877 fi
3878 # We set ac_cv_exeext here because the later test for it is not
3879 # safe: cross compilers may not add the suffix if given an `-o'
3880 # argument, so we may need to know it at that point already.
3881 # Even if this section looks crufty: it has the advantage of
3882 # actually working.
3883 break;;
3884 * )
3885 break;;
3886 esac
3887 done
3888 test "$ac_cv_exeext" = no && ac_cv_exeext=
3889
3890 else
3891 ac_file=''
3892 fi
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3894 $as_echo "$ac_file" >&6; }
3895 if test -z "$ac_file"; then :
3896 $as_echo "$as_me: failed program was:" >&5
3897 sed 's/^/| /' conftest.$ac_ext >&5
3898
3899 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3901 { as_fn_set_status 77
3902 as_fn_error "C compiler cannot create executables
3903 See \`config.log' for more details." "$LINENO" 5; }; }
3904 fi
3905 ac_exeext=$ac_cv_exeext
3906
3907 # Check that the compiler produces executables we can run. If not, either
3908 # the compiler is broken, or we cross compile.
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3910 $as_echo_n "checking whether the C compiler works... " >&6; }
3911 # If not cross compiling, check that we can run a simple program.
3912 if test "$cross_compiling" != yes; then
3913 if { ac_try='./$ac_file'
3914 { { case "(($ac_try" in
3915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3916 *) ac_try_echo=$ac_try;;
3917 esac
3918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3919 $as_echo "$ac_try_echo"; } >&5
3920 (eval "$ac_try") 2>&5
3921 ac_status=$?
3922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923 test $ac_status = 0; }; }; then
3924 cross_compiling=no
3925 else
3926 if test "$cross_compiling" = maybe; then
3927 cross_compiling=yes
3928 else
3929 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3931 as_fn_error "cannot run C compiled programs.
3932 If you meant to cross compile, use \`--host'.
3933 See \`config.log' for more details." "$LINENO" 5; }
3934 fi
3935 fi
3936 fi
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3938 $as_echo "yes" >&6; }
3939
3940 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3941 ac_clean_files=$ac_clean_files_save
3942 # Check that the compiler produces executables we can run. If not, either
3943 # the compiler is broken, or we cross compile.
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3945 $as_echo_n "checking whether we are cross compiling... " >&6; }
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3947 $as_echo "$cross_compiling" >&6; }
3948
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3950 $as_echo_n "checking for suffix of executables... " >&6; }
3951 if { { ac_try="$ac_link"
3952 case "(($ac_try" in
3953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3954 *) ac_try_echo=$ac_try;;
3955 esac
3956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3957 $as_echo "$ac_try_echo"; } >&5
3958 (eval "$ac_link") 2>&5
3959 ac_status=$?
3960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3961 test $ac_status = 0; }; then :
3962 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3963 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3964 # work properly (i.e., refer to `conftest.exe'), while it won't with
3965 # `rm'.
3966 for ac_file in conftest.exe conftest conftest.*; do
3967 test -f "$ac_file" || continue
3968 case $ac_file in
3969 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3970 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3971 break;;
3972 * ) break;;
3973 esac
3974 done
3975 else
3976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3978 as_fn_error "cannot compute suffix of executables: cannot compile and link
3979 See \`config.log' for more details." "$LINENO" 5; }
3980 fi
3981 rm -f conftest$ac_cv_exeext
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3983 $as_echo "$ac_cv_exeext" >&6; }
3984
3985 rm -f conftest.$ac_ext
3986 EXEEXT=$ac_cv_exeext
3987 ac_exeext=$EXEEXT
3988 fi
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3990 $as_echo_n "checking for suffix of object files... " >&6; }
3991 if test "${ac_cv_objext+set}" = set; then :
3992 $as_echo_n "(cached) " >&6
3993 else
3994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3995 /* end confdefs.h. */
3996
3997 int
3998 main ()
3999 {
4000
4001 ;
4002 return 0;
4003 }
4004 _ACEOF
4005 rm -f conftest.o conftest.obj
4006 if { { ac_try="$ac_compile"
4007 case "(($ac_try" in
4008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009 *) ac_try_echo=$ac_try;;
4010 esac
4011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4012 $as_echo "$ac_try_echo"; } >&5
4013 (eval "$ac_compile") 2>&5
4014 ac_status=$?
4015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4016 test $ac_status = 0; }; then :
4017 for ac_file in conftest.o conftest.obj conftest.*; do
4018 test -f "$ac_file" || continue;
4019 case $ac_file in
4020 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4021 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4022 break;;
4023 esac
4024 done
4025 else
4026 $as_echo "$as_me: failed program was:" >&5
4027 sed 's/^/| /' conftest.$ac_ext >&5
4028
4029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error "cannot compute suffix of object files: cannot compile
4032 See \`config.log' for more details." "$LINENO" 5; }
4033 fi
4034 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4035 fi
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4037 $as_echo "$ac_cv_objext" >&6; }
4038 OBJEXT=$ac_cv_objext
4039 ac_objext=$OBJEXT
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4041 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4042 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4043 $as_echo_n "(cached) " >&6
4044 else
4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h. */
4047
4048 int
4049 main ()
4050 {
4051 #ifndef __GNUC__
4052 choke me
4053 #endif
4054
4055 ;
4056 return 0;
4057 }
4058 _ACEOF
4059 if ac_fn_c_try_compile "$LINENO"; then :
4060 ac_compiler_gnu=yes
4061 else
4062 ac_compiler_gnu=no
4063 fi
4064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4065 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4066
4067 fi
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4069 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4070 if test $ac_compiler_gnu = yes; then
4071 GCC=yes
4072 else
4073 GCC=
4074 fi
4075 ac_test_CFLAGS=${CFLAGS+set}
4076 ac_save_CFLAGS=$CFLAGS
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4078 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4079 if test "${ac_cv_prog_cc_g+set}" = set; then :
4080 $as_echo_n "(cached) " >&6
4081 else
4082 ac_save_c_werror_flag=$ac_c_werror_flag
4083 ac_c_werror_flag=yes
4084 ac_cv_prog_cc_g=no
4085 CFLAGS="-g"
4086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4087 /* end confdefs.h. */
4088
4089 int
4090 main ()
4091 {
4092
4093 ;
4094 return 0;
4095 }
4096 _ACEOF
4097 if ac_fn_c_try_compile "$LINENO"; then :
4098 ac_cv_prog_cc_g=yes
4099 else
4100 CFLAGS=""
4101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4102 /* end confdefs.h. */
4103
4104 int
4105 main ()
4106 {
4107
4108 ;
4109 return 0;
4110 }
4111 _ACEOF
4112 if ac_fn_c_try_compile "$LINENO"; then :
4113
4114 else
4115 ac_c_werror_flag=$ac_save_c_werror_flag
4116 CFLAGS="-g"
4117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h. */
4119
4120 int
4121 main ()
4122 {
4123
4124 ;
4125 return 0;
4126 }
4127 _ACEOF
4128 if ac_fn_c_try_compile "$LINENO"; then :
4129 ac_cv_prog_cc_g=yes
4130 fi
4131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4132 fi
4133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4134 fi
4135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4136 ac_c_werror_flag=$ac_save_c_werror_flag
4137 fi
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4139 $as_echo "$ac_cv_prog_cc_g" >&6; }
4140 if test "$ac_test_CFLAGS" = set; then
4141 CFLAGS=$ac_save_CFLAGS
4142 elif test $ac_cv_prog_cc_g = yes; then
4143 if test "$GCC" = yes; then
4144 CFLAGS="-g -O2"
4145 else
4146 CFLAGS="-g"
4147 fi
4148 else
4149 if test "$GCC" = yes; then
4150 CFLAGS="-O2"
4151 else
4152 CFLAGS=
4153 fi
4154 fi
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4156 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4157 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4158 $as_echo_n "(cached) " >&6
4159 else
4160 ac_cv_prog_cc_c89=no
4161 ac_save_CC=$CC
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4164 #include <stdarg.h>
4165 #include <stdio.h>
4166 #include <sys/types.h>
4167 #include <sys/stat.h>
4168 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4169 struct buf { int x; };
4170 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4171 static char *e (p, i)
4172 char **p;
4173 int i;
4174 {
4175 return p[i];
4176 }
4177 static char *f (char * (*g) (char **, int), char **p, ...)
4178 {
4179 char *s;
4180 va_list v;
4181 va_start (v,p);
4182 s = g (p, va_arg (v,int));
4183 va_end (v);
4184 return s;
4185 }
4186
4187 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4188 function prototypes and stuff, but not '\xHH' hex character constants.
4189 These don't provoke an error unfortunately, instead are silently treated
4190 as 'x'. The following induces an error, until -std is added to get
4191 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4192 array size at least. It's necessary to write '\x00'==0 to get something
4193 that's true only with -std. */
4194 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4195
4196 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4197 inside strings and character constants. */
4198 #define FOO(x) 'x'
4199 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4200
4201 int test (int i, double x);
4202 struct s1 {int (*f) (int a);};
4203 struct s2 {int (*f) (double a);};
4204 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4205 int argc;
4206 char **argv;
4207 int
4208 main ()
4209 {
4210 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4211 ;
4212 return 0;
4213 }
4214 _ACEOF
4215 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4216 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4217 do
4218 CC="$ac_save_CC $ac_arg"
4219 if ac_fn_c_try_compile "$LINENO"; then :
4220 ac_cv_prog_cc_c89=$ac_arg
4221 fi
4222 rm -f core conftest.err conftest.$ac_objext
4223 test "x$ac_cv_prog_cc_c89" != "xno" && break
4224 done
4225 rm -f conftest.$ac_ext
4226 CC=$ac_save_CC
4227
4228 fi
4229 # AC_CACHE_VAL
4230 case "x$ac_cv_prog_cc_c89" in
4231 x)
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4233 $as_echo "none needed" >&6; } ;;
4234 xno)
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4236 $as_echo "unsupported" >&6; } ;;
4237 *)
4238 CC="$CC $ac_cv_prog_cc_c89"
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4240 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4241 esac
4242 if test "x$ac_cv_prog_cc_c89" != xno; then :
4243
4244 fi
4245
4246 ac_ext=c
4247 ac_cpp='$CPP $CPPFLAGS'
4248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4251
4252 depcc="$CC" am_compiler_list=
4253
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4255 $as_echo_n "checking dependency style of $depcc... " >&6; }
4256 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4257 $as_echo_n "(cached) " >&6
4258 else
4259 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4260 # We make a subdir and do the tests there. Otherwise we can end up
4261 # making bogus files that we don't know about and never remove. For
4262 # instance it was reported that on HP-UX the gcc test will end up
4263 # making a dummy file named `D' -- because `-MD' means `put the output
4264 # in D'.
4265 mkdir conftest.dir
4266 # Copy depcomp to subdir because otherwise we won't find it if we're
4267 # using a relative directory.
4268 cp "$am_depcomp" conftest.dir
4269 cd conftest.dir
4270 # We will build objects and dependencies in a subdirectory because
4271 # it helps to detect inapplicable dependency modes. For instance
4272 # both Tru64's cc and ICC support -MD to output dependencies as a
4273 # side effect of compilation, but ICC will put the dependencies in
4274 # the current directory while Tru64 will put them in the object
4275 # directory.
4276 mkdir sub
4277
4278 am_cv_CC_dependencies_compiler_type=none
4279 if test "$am_compiler_list" = ""; then
4280 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4281 fi
4282 am__universal=false
4283 case " $depcc " in #(
4284 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4285 esac
4286
4287 for depmode in $am_compiler_list; do
4288 # Setup a source with many dependencies, because some compilers
4289 # like to wrap large dependency lists on column 80 (with \), and
4290 # we should not choose a depcomp mode which is confused by this.
4291 #
4292 # We need to recreate these files for each test, as the compiler may
4293 # overwrite some of them when testing with obscure command lines.
4294 # This happens at least with the AIX C compiler.
4295 : > sub/conftest.c
4296 for i in 1 2 3 4 5 6; do
4297 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4298 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4299 # Solaris 8's {/usr,}/bin/sh.
4300 touch sub/conftst$i.h
4301 done
4302 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4303
4304 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4305 # mode. It turns out that the SunPro C++ compiler does not properly
4306 # handle `-M -o', and we need to detect this. Also, some Intel
4307 # versions had trouble with output in subdirs
4308 am__obj=sub/conftest.${OBJEXT-o}
4309 am__minus_obj="-o $am__obj"
4310 case $depmode in
4311 gcc)
4312 # This depmode causes a compiler race in universal mode.
4313 test "$am__universal" = false || continue
4314 ;;
4315 nosideeffect)
4316 # after this tag, mechanisms are not by side-effect, so they'll
4317 # only be used when explicitly requested
4318 if test "x$enable_dependency_tracking" = xyes; then
4319 continue
4320 else
4321 break
4322 fi
4323 ;;
4324 msvisualcpp | msvcmsys)
4325 # This compiler won't grok `-c -o', but also, the minuso test has
4326 # not run yet. These depmodes are late enough in the game, and
4327 # so weak that their functioning should not be impacted.
4328 am__obj=conftest.${OBJEXT-o}
4329 am__minus_obj=
4330 ;;
4331 none) break ;;
4332 esac
4333 if depmode=$depmode \
4334 source=sub/conftest.c object=$am__obj \
4335 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4336 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4337 >/dev/null 2>conftest.err &&
4338 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4339 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4340 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4341 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4342 # icc doesn't choke on unknown options, it will just issue warnings
4343 # or remarks (even with -Werror). So we grep stderr for any message
4344 # that says an option was ignored or not supported.
4345 # When given -MP, icc 7.0 and 7.1 complain thusly:
4346 # icc: Command line warning: ignoring option '-M'; no argument required
4347 # The diagnosis changed in icc 8.0:
4348 # icc: Command line remark: option '-MP' not supported
4349 if (grep 'ignoring option' conftest.err ||
4350 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4351 am_cv_CC_dependencies_compiler_type=$depmode
4352 break
4353 fi
4354 fi
4355 done
4356
4357 cd ..
4358 rm -rf conftest.dir
4359 else
4360 am_cv_CC_dependencies_compiler_type=none
4361 fi
4362
4363 fi
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4365 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4366 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4367
4368 if
4369 test "x$enable_dependency_tracking" != xno \
4370 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4371 am__fastdepCC_TRUE=
4372 am__fastdepCC_FALSE='#'
4373 else
4374 am__fastdepCC_TRUE='#'
4375 am__fastdepCC_FALSE=
4376 fi
4377
4378
4379
4380 ac_ext=c
4381 ac_cpp='$CPP $CPPFLAGS'
4382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4386 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4387 # On Suns, sometimes $CPP names a directory.
4388 if test -n "$CPP" && test -d "$CPP"; then
4389 CPP=
4390 fi
4391 if test -z "$CPP"; then
4392 if test "${ac_cv_prog_CPP+set}" = set; then :
4393 $as_echo_n "(cached) " >&6
4394 else
4395 # Double quotes because CPP needs to be expanded
4396 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4397 do
4398 ac_preproc_ok=false
4399 for ac_c_preproc_warn_flag in '' yes
4400 do
4401 # Use a header file that comes with gcc, so configuring glibc
4402 # with a fresh cross-compiler works.
4403 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4404 # <limits.h> exists even on freestanding compilers.
4405 # On the NeXT, cc -E runs the code through the compiler's parser,
4406 # not just through cpp. "Syntax error" is here to catch this case.
4407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4408 /* end confdefs.h. */
4409 #ifdef __STDC__
4410 # include <limits.h>
4411 #else
4412 # include <assert.h>
4413 #endif
4414 Syntax error
4415 _ACEOF
4416 if ac_fn_c_try_cpp "$LINENO"; then :
4417
4418 else
4419 # Broken: fails on valid input.
4420 continue
4421 fi
4422 rm -f conftest.err conftest.$ac_ext
4423
4424 # OK, works on sane cases. Now check whether nonexistent headers
4425 # can be detected and how.
4426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4427 /* end confdefs.h. */
4428 #include <ac_nonexistent.h>
4429 _ACEOF
4430 if ac_fn_c_try_cpp "$LINENO"; then :
4431 # Broken: success on invalid input.
4432 continue
4433 else
4434 # Passes both tests.
4435 ac_preproc_ok=:
4436 break
4437 fi
4438 rm -f conftest.err conftest.$ac_ext
4439
4440 done
4441 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4442 rm -f conftest.err conftest.$ac_ext
4443 if $ac_preproc_ok; then :
4444 break
4445 fi
4446
4447 done
4448 ac_cv_prog_CPP=$CPP
4449
4450 fi
4451 CPP=$ac_cv_prog_CPP
4452 else
4453 ac_cv_prog_CPP=$CPP
4454 fi
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4456 $as_echo "$CPP" >&6; }
4457 ac_preproc_ok=false
4458 for ac_c_preproc_warn_flag in '' yes
4459 do
4460 # Use a header file that comes with gcc, so configuring glibc
4461 # with a fresh cross-compiler works.
4462 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4463 # <limits.h> exists even on freestanding compilers.
4464 # On the NeXT, cc -E runs the code through the compiler's parser,
4465 # not just through cpp. "Syntax error" is here to catch this case.
4466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4467 /* end confdefs.h. */
4468 #ifdef __STDC__
4469 # include <limits.h>
4470 #else
4471 # include <assert.h>
4472 #endif
4473 Syntax error
4474 _ACEOF
4475 if ac_fn_c_try_cpp "$LINENO"; then :
4476
4477 else
4478 # Broken: fails on valid input.
4479 continue
4480 fi
4481 rm -f conftest.err conftest.$ac_ext
4482
4483 # OK, works on sane cases. Now check whether nonexistent headers
4484 # can be detected and how.
4485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4486 /* end confdefs.h. */
4487 #include <ac_nonexistent.h>
4488 _ACEOF
4489 if ac_fn_c_try_cpp "$LINENO"; then :
4490 # Broken: success on invalid input.
4491 continue
4492 else
4493 # Passes both tests.
4494 ac_preproc_ok=:
4495 break
4496 fi
4497 rm -f conftest.err conftest.$ac_ext
4498
4499 done
4500 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4501 rm -f conftest.err conftest.$ac_ext
4502 if $ac_preproc_ok; then :
4503
4504 else
4505 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4507 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4508 See \`config.log' for more details." "$LINENO" 5; }
4509 fi
4510
4511 ac_ext=c
4512 ac_cpp='$CPP $CPPFLAGS'
4513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4516
4517
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4519 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4520 if test "${ac_cv_path_GREP+set}" = set; then :
4521 $as_echo_n "(cached) " >&6
4522 else
4523 if test -z "$GREP"; then
4524 ac_path_GREP_found=false
4525 # Loop through the user's path and test for each of PROGNAME-LIST
4526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4527 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4528 do
4529 IFS=$as_save_IFS
4530 test -z "$as_dir" && as_dir=.
4531 for ac_prog in grep ggrep; do
4532 for ac_exec_ext in '' $ac_executable_extensions; do
4533 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4534 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4535 # Check for GNU ac_path_GREP and select it if it is found.
4536 # Check for GNU $ac_path_GREP
4537 case `"$ac_path_GREP" --version 2>&1` in
4538 *GNU*)
4539 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4540 *)
4541 ac_count=0
4542 $as_echo_n 0123456789 >"conftest.in"
4543 while :
4544 do
4545 cat "conftest.in" "conftest.in" >"conftest.tmp"
4546 mv "conftest.tmp" "conftest.in"
4547 cp "conftest.in" "conftest.nl"
4548 $as_echo 'GREP' >> "conftest.nl"
4549 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4550 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4551 as_fn_arith $ac_count + 1 && ac_count=$as_val
4552 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4553 # Best one so far, save it but keep looking for a better one
4554 ac_cv_path_GREP="$ac_path_GREP"
4555 ac_path_GREP_max=$ac_count
4556 fi
4557 # 10*(2^10) chars as input seems more than enough
4558 test $ac_count -gt 10 && break
4559 done
4560 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4561 esac
4562
4563 $ac_path_GREP_found && break 3
4564 done
4565 done
4566 done
4567 IFS=$as_save_IFS
4568 if test -z "$ac_cv_path_GREP"; then
4569 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4570 fi
4571 else
4572 ac_cv_path_GREP=$GREP
4573 fi
4574
4575 fi
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4577 $as_echo "$ac_cv_path_GREP" >&6; }
4578 GREP="$ac_cv_path_GREP"
4579
4580
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4582 $as_echo_n "checking for egrep... " >&6; }
4583 if test "${ac_cv_path_EGREP+set}" = set; then :
4584 $as_echo_n "(cached) " >&6
4585 else
4586 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4587 then ac_cv_path_EGREP="$GREP -E"
4588 else
4589 if test -z "$EGREP"; then
4590 ac_path_EGREP_found=false
4591 # Loop through the user's path and test for each of PROGNAME-LIST
4592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4593 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4594 do
4595 IFS=$as_save_IFS
4596 test -z "$as_dir" && as_dir=.
4597 for ac_prog in egrep; do
4598 for ac_exec_ext in '' $ac_executable_extensions; do
4599 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4600 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4601 # Check for GNU ac_path_EGREP and select it if it is found.
4602 # Check for GNU $ac_path_EGREP
4603 case `"$ac_path_EGREP" --version 2>&1` in
4604 *GNU*)
4605 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4606 *)
4607 ac_count=0
4608 $as_echo_n 0123456789 >"conftest.in"
4609 while :
4610 do
4611 cat "conftest.in" "conftest.in" >"conftest.tmp"
4612 mv "conftest.tmp" "conftest.in"
4613 cp "conftest.in" "conftest.nl"
4614 $as_echo 'EGREP' >> "conftest.nl"
4615 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4616 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4617 as_fn_arith $ac_count + 1 && ac_count=$as_val
4618 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4619 # Best one so far, save it but keep looking for a better one
4620 ac_cv_path_EGREP="$ac_path_EGREP"
4621 ac_path_EGREP_max=$ac_count
4622 fi
4623 # 10*(2^10) chars as input seems more than enough
4624 test $ac_count -gt 10 && break
4625 done
4626 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4627 esac
4628
4629 $ac_path_EGREP_found && break 3
4630 done
4631 done
4632 done
4633 IFS=$as_save_IFS
4634 if test -z "$ac_cv_path_EGREP"; then
4635 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4636 fi
4637 else
4638 ac_cv_path_EGREP=$EGREP
4639 fi
4640
4641 fi
4642 fi
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4644 $as_echo "$ac_cv_path_EGREP" >&6; }
4645 EGREP="$ac_cv_path_EGREP"
4646
4647
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4649 $as_echo_n "checking for ANSI C header files... " >&6; }
4650 if test "${ac_cv_header_stdc+set}" = set; then :
4651 $as_echo_n "(cached) " >&6
4652 else
4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4655 #include <stdlib.h>
4656 #include <stdarg.h>
4657 #include <string.h>
4658 #include <float.h>
4659
4660 int
4661 main ()
4662 {
4663
4664 ;
4665 return 0;
4666 }
4667 _ACEOF
4668 if ac_fn_c_try_compile "$LINENO"; then :
4669 ac_cv_header_stdc=yes
4670 else
4671 ac_cv_header_stdc=no
4672 fi
4673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4674
4675 if test $ac_cv_header_stdc = yes; then
4676 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4678 /* end confdefs.h. */
4679 #include <string.h>
4680
4681 _ACEOF
4682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4683 $EGREP "memchr" >/dev/null 2>&1; then :
4684
4685 else
4686 ac_cv_header_stdc=no
4687 fi
4688 rm -f conftest*
4689
4690 fi
4691
4692 if test $ac_cv_header_stdc = yes; then
4693 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4695 /* end confdefs.h. */
4696 #include <stdlib.h>
4697
4698 _ACEOF
4699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4700 $EGREP "free" >/dev/null 2>&1; then :
4701
4702 else
4703 ac_cv_header_stdc=no
4704 fi
4705 rm -f conftest*
4706
4707 fi
4708
4709 if test $ac_cv_header_stdc = yes; then
4710 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4711 if test "$cross_compiling" = yes; then :
4712 :
4713 else
4714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4715 /* end confdefs.h. */
4716 #include <ctype.h>
4717 #include <stdlib.h>
4718 #if ((' ' & 0x0FF) == 0x020)
4719 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4720 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4721 #else
4722 # define ISLOWER(c) \
4723 (('a' <= (c) && (c) <= 'i') \
4724 || ('j' <= (c) && (c) <= 'r') \
4725 || ('s' <= (c) && (c) <= 'z'))
4726 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4727 #endif
4728
4729 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4730 int
4731 main ()
4732 {
4733 int i;
4734 for (i = 0; i < 256; i++)
4735 if (XOR (islower (i), ISLOWER (i))
4736 || toupper (i) != TOUPPER (i))
4737 return 2;
4738 return 0;
4739 }
4740 _ACEOF
4741 if ac_fn_c_try_run "$LINENO"; then :
4742
4743 else
4744 ac_cv_header_stdc=no
4745 fi
4746 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4747 conftest.$ac_objext conftest.beam conftest.$ac_ext
4748 fi
4749
4750 fi
4751 fi
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4753 $as_echo "$ac_cv_header_stdc" >&6; }
4754 if test $ac_cv_header_stdc = yes; then
4755
4756 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4757
4758 fi
4759
4760 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4761 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4762 inttypes.h stdint.h unistd.h
4763 do :
4764 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4765 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4766 "
4767 eval as_val=\$$as_ac_Header
4768 if test "x$as_val" = x""yes; then :
4769 cat >>confdefs.h <<_ACEOF
4770 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4771 _ACEOF
4772
4773 fi
4774
4775 done
4776
4777
4778
4779 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4780 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4781 MINIX=yes
4782 else
4783 MINIX=
4784 fi
4785
4786
4787 if test "$MINIX" = yes; then
4788
4789 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4790
4791
4792 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4793
4794
4795 $as_echo "#define _MINIX 1" >>confdefs.h
4796
4797 fi
4798
4799
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4801 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4802 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4803 $as_echo_n "(cached) " >&6
4804 else
4805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h. */
4807
4808 # define __EXTENSIONS__ 1
4809 $ac_includes_default
4810 int
4811 main ()
4812 {
4813
4814 ;
4815 return 0;
4816 }
4817 _ACEOF
4818 if ac_fn_c_try_compile "$LINENO"; then :
4819 ac_cv_safe_to_define___extensions__=yes
4820 else
4821 ac_cv_safe_to_define___extensions__=no
4822 fi
4823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4824 fi
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4826 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4827 test $ac_cv_safe_to_define___extensions__ = yes &&
4828 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4829
4830 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4831
4832 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4833
4834 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4835
4836 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4837
4838
4839
4840 # Calculate toolexeclibdir
4841 # Also toolexecdir, though it's only used in toolexeclibdir
4842 case ${version_specific_libs} in
4843 yes)
4844 # Need the gcc compiler version to know where to install libraries
4845 # and header files if --enable-version-specific-runtime-libs option
4846 # is selected.
4847 toolexecdir='$(libdir)/gcc/$(target_alias)'
4848 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4849 ;;
4850 no)
4851 if test -n "$with_cross_host" &&
4852 test x"$with_cross_host" != x"no"; then
4853 # Install a library built with a cross compiler in tooldir, not libdir.
4854 toolexecdir='$(exec_prefix)/$(target_alias)'
4855 toolexeclibdir='$(toolexecdir)/lib'
4856 else
4857 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
4858 toolexeclibdir='$(libdir)'
4859 fi
4860 multi_os_directory=`$CC -print-multi-os-directory`
4861 case $multi_os_directory in
4862 .) ;; # Avoid trailing /.
4863 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
4864 esac
4865 ;;
4866 esac
4867
4868
4869
4870 # Create a spec file, so that compile/link tests don't fail
4871 test -f libgfortran.spec || touch libgfortran.spec
4872
4873 # Check the compiler.
4874 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4875 # We must force CC to /not/ be precious variables; otherwise
4876 # the wrong, non-multilib-adjusted value will be used in multilibs.
4877 # As a side effect, we have to subst CFLAGS ourselves.
4878
4879
4880
4881 ac_ext=c
4882 ac_cpp='$CPP $CPPFLAGS'
4883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4886 if test -n "$ac_tool_prefix"; then
4887 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4888 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4890 $as_echo_n "checking for $ac_word... " >&6; }
4891 if test "${ac_cv_prog_CC+set}" = set; then :
4892 $as_echo_n "(cached) " >&6
4893 else
4894 if test -n "$CC"; then
4895 ac_cv_prog_CC="$CC" # Let the user override the test.
4896 else
4897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4898 for as_dir in $PATH
4899 do
4900 IFS=$as_save_IFS
4901 test -z "$as_dir" && as_dir=.
4902 for ac_exec_ext in '' $ac_executable_extensions; do
4903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4904 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4906 break 2
4907 fi
4908 done
4909 done
4910 IFS=$as_save_IFS
4911
4912 fi
4913 fi
4914 CC=$ac_cv_prog_CC
4915 if test -n "$CC"; then
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4917 $as_echo "$CC" >&6; }
4918 else
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4920 $as_echo "no" >&6; }
4921 fi
4922
4923
4924 fi
4925 if test -z "$ac_cv_prog_CC"; then
4926 ac_ct_CC=$CC
4927 # Extract the first word of "gcc", so it can be a program name with args.
4928 set dummy gcc; ac_word=$2
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4930 $as_echo_n "checking for $ac_word... " >&6; }
4931 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4932 $as_echo_n "(cached) " >&6
4933 else
4934 if test -n "$ac_ct_CC"; then
4935 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4936 else
4937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4938 for as_dir in $PATH
4939 do
4940 IFS=$as_save_IFS
4941 test -z "$as_dir" && as_dir=.
4942 for ac_exec_ext in '' $ac_executable_extensions; do
4943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4944 ac_cv_prog_ac_ct_CC="gcc"
4945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4946 break 2
4947 fi
4948 done
4949 done
4950 IFS=$as_save_IFS
4951
4952 fi
4953 fi
4954 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4955 if test -n "$ac_ct_CC"; then
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4957 $as_echo "$ac_ct_CC" >&6; }
4958 else
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4960 $as_echo "no" >&6; }
4961 fi
4962
4963 if test "x$ac_ct_CC" = x; then
4964 CC=""
4965 else
4966 case $cross_compiling:$ac_tool_warned in
4967 yes:)
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4970 ac_tool_warned=yes ;;
4971 esac
4972 CC=$ac_ct_CC
4973 fi
4974 else
4975 CC="$ac_cv_prog_CC"
4976 fi
4977
4978 if test -z "$CC"; then
4979 if test -n "$ac_tool_prefix"; then
4980 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4981 set dummy ${ac_tool_prefix}cc; ac_word=$2
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4983 $as_echo_n "checking for $ac_word... " >&6; }
4984 if test "${ac_cv_prog_CC+set}" = set; then :
4985 $as_echo_n "(cached) " >&6
4986 else
4987 if test -n "$CC"; then
4988 ac_cv_prog_CC="$CC" # Let the user override the test.
4989 else
4990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4991 for as_dir in $PATH
4992 do
4993 IFS=$as_save_IFS
4994 test -z "$as_dir" && as_dir=.
4995 for ac_exec_ext in '' $ac_executable_extensions; do
4996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4997 ac_cv_prog_CC="${ac_tool_prefix}cc"
4998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4999 break 2
5000 fi
5001 done
5002 done
5003 IFS=$as_save_IFS
5004
5005 fi
5006 fi
5007 CC=$ac_cv_prog_CC
5008 if test -n "$CC"; then
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5010 $as_echo "$CC" >&6; }
5011 else
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 $as_echo "no" >&6; }
5014 fi
5015
5016
5017 fi
5018 fi
5019 if test -z "$CC"; then
5020 # Extract the first word of "cc", so it can be a program name with args.
5021 set dummy cc; ac_word=$2
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 $as_echo_n "checking for $ac_word... " >&6; }
5024 if test "${ac_cv_prog_CC+set}" = set; then :
5025 $as_echo_n "(cached) " >&6
5026 else
5027 if test -n "$CC"; then
5028 ac_cv_prog_CC="$CC" # Let the user override the test.
5029 else
5030 ac_prog_rejected=no
5031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5032 for as_dir in $PATH
5033 do
5034 IFS=$as_save_IFS
5035 test -z "$as_dir" && as_dir=.
5036 for ac_exec_ext in '' $ac_executable_extensions; do
5037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5038 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5039 ac_prog_rejected=yes
5040 continue
5041 fi
5042 ac_cv_prog_CC="cc"
5043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5044 break 2
5045 fi
5046 done
5047 done
5048 IFS=$as_save_IFS
5049
5050 if test $ac_prog_rejected = yes; then
5051 # We found a bogon in the path, so make sure we never use it.
5052 set dummy $ac_cv_prog_CC
5053 shift
5054 if test $# != 0; then
5055 # We chose a different compiler from the bogus one.
5056 # However, it has the same basename, so the bogon will be chosen
5057 # first if we set CC to just the basename; use the full file name.
5058 shift
5059 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5060 fi
5061 fi
5062 fi
5063 fi
5064 CC=$ac_cv_prog_CC
5065 if test -n "$CC"; then
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5067 $as_echo "$CC" >&6; }
5068 else
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 $as_echo "no" >&6; }
5071 fi
5072
5073
5074 fi
5075 if test -z "$CC"; then
5076 if test -n "$ac_tool_prefix"; then
5077 for ac_prog in cl.exe
5078 do
5079 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5080 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5082 $as_echo_n "checking for $ac_word... " >&6; }
5083 if test "${ac_cv_prog_CC+set}" = set; then :
5084 $as_echo_n "(cached) " >&6
5085 else
5086 if test -n "$CC"; then
5087 ac_cv_prog_CC="$CC" # Let the user override the test.
5088 else
5089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5090 for as_dir in $PATH
5091 do
5092 IFS=$as_save_IFS
5093 test -z "$as_dir" && as_dir=.
5094 for ac_exec_ext in '' $ac_executable_extensions; do
5095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5096 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5098 break 2
5099 fi
5100 done
5101 done
5102 IFS=$as_save_IFS
5103
5104 fi
5105 fi
5106 CC=$ac_cv_prog_CC
5107 if test -n "$CC"; then
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5109 $as_echo "$CC" >&6; }
5110 else
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5112 $as_echo "no" >&6; }
5113 fi
5114
5115
5116 test -n "$CC" && break
5117 done
5118 fi
5119 if test -z "$CC"; then
5120 ac_ct_CC=$CC
5121 for ac_prog in cl.exe
5122 do
5123 # Extract the first word of "$ac_prog", so it can be a program name with args.
5124 set dummy $ac_prog; ac_word=$2
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5126 $as_echo_n "checking for $ac_word... " >&6; }
5127 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5128 $as_echo_n "(cached) " >&6
5129 else
5130 if test -n "$ac_ct_CC"; then
5131 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5132 else
5133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5134 for as_dir in $PATH
5135 do
5136 IFS=$as_save_IFS
5137 test -z "$as_dir" && as_dir=.
5138 for ac_exec_ext in '' $ac_executable_extensions; do
5139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5140 ac_cv_prog_ac_ct_CC="$ac_prog"
5141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5142 break 2
5143 fi
5144 done
5145 done
5146 IFS=$as_save_IFS
5147
5148 fi
5149 fi
5150 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5151 if test -n "$ac_ct_CC"; then
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5153 $as_echo "$ac_ct_CC" >&6; }
5154 else
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 $as_echo "no" >&6; }
5157 fi
5158
5159
5160 test -n "$ac_ct_CC" && break
5161 done
5162
5163 if test "x$ac_ct_CC" = x; then
5164 CC=""
5165 else
5166 case $cross_compiling:$ac_tool_warned in
5167 yes:)
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5170 ac_tool_warned=yes ;;
5171 esac
5172 CC=$ac_ct_CC
5173 fi
5174 fi
5175
5176 fi
5177
5178
5179 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5181 as_fn_error "no acceptable C compiler found in \$PATH
5182 See \`config.log' for more details." "$LINENO" 5; }
5183
5184 # Provide some information about the compiler.
5185 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5186 set X $ac_compile
5187 ac_compiler=$2
5188 for ac_option in --version -v -V -qversion; do
5189 { { ac_try="$ac_compiler $ac_option >&5"
5190 case "(($ac_try" in
5191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5192 *) ac_try_echo=$ac_try;;
5193 esac
5194 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5195 $as_echo "$ac_try_echo"; } >&5
5196 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5197 ac_status=$?
5198 if test -s conftest.err; then
5199 sed '10a\
5200 ... rest of stderr output deleted ...
5201 10q' conftest.err >conftest.er1
5202 cat conftest.er1 >&5
5203 rm -f conftest.er1 conftest.err
5204 fi
5205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5206 test $ac_status = 0; }
5207 done
5208
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5210 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5211 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5212 $as_echo_n "(cached) " >&6
5213 else
5214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5215 /* end confdefs.h. */
5216
5217 int
5218 main ()
5219 {
5220 #ifndef __GNUC__
5221 choke me
5222 #endif
5223
5224 ;
5225 return 0;
5226 }
5227 _ACEOF
5228 if ac_fn_c_try_compile "$LINENO"; then :
5229 ac_compiler_gnu=yes
5230 else
5231 ac_compiler_gnu=no
5232 fi
5233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5234 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5235
5236 fi
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5238 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5239 if test $ac_compiler_gnu = yes; then
5240 GCC=yes
5241 else
5242 GCC=
5243 fi
5244 ac_test_CFLAGS=${CFLAGS+set}
5245 ac_save_CFLAGS=$CFLAGS
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5247 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5248 if test "${ac_cv_prog_cc_g+set}" = set; then :
5249 $as_echo_n "(cached) " >&6
5250 else
5251 ac_save_c_werror_flag=$ac_c_werror_flag
5252 ac_c_werror_flag=yes
5253 ac_cv_prog_cc_g=no
5254 CFLAGS="-g"
5255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5256 /* end confdefs.h. */
5257
5258 int
5259 main ()
5260 {
5261
5262 ;
5263 return 0;
5264 }
5265 _ACEOF
5266 if ac_fn_c_try_compile "$LINENO"; then :
5267 ac_cv_prog_cc_g=yes
5268 else
5269 CFLAGS=""
5270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5271 /* end confdefs.h. */
5272
5273 int
5274 main ()
5275 {
5276
5277 ;
5278 return 0;
5279 }
5280 _ACEOF
5281 if ac_fn_c_try_compile "$LINENO"; then :
5282
5283 else
5284 ac_c_werror_flag=$ac_save_c_werror_flag
5285 CFLAGS="-g"
5286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5287 /* end confdefs.h. */
5288
5289 int
5290 main ()
5291 {
5292
5293 ;
5294 return 0;
5295 }
5296 _ACEOF
5297 if ac_fn_c_try_compile "$LINENO"; then :
5298 ac_cv_prog_cc_g=yes
5299 fi
5300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5301 fi
5302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5303 fi
5304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5305 ac_c_werror_flag=$ac_save_c_werror_flag
5306 fi
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5308 $as_echo "$ac_cv_prog_cc_g" >&6; }
5309 if test "$ac_test_CFLAGS" = set; then
5310 CFLAGS=$ac_save_CFLAGS
5311 elif test $ac_cv_prog_cc_g = yes; then
5312 if test "$GCC" = yes; then
5313 CFLAGS="-g -O2"
5314 else
5315 CFLAGS="-g"
5316 fi
5317 else
5318 if test "$GCC" = yes; then
5319 CFLAGS="-O2"
5320 else
5321 CFLAGS=
5322 fi
5323 fi
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5325 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5326 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5327 $as_echo_n "(cached) " >&6
5328 else
5329 ac_cv_prog_cc_c89=no
5330 ac_save_CC=$CC
5331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5332 /* end confdefs.h. */
5333 #include <stdarg.h>
5334 #include <stdio.h>
5335 #include <sys/types.h>
5336 #include <sys/stat.h>
5337 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5338 struct buf { int x; };
5339 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5340 static char *e (p, i)
5341 char **p;
5342 int i;
5343 {
5344 return p[i];
5345 }
5346 static char *f (char * (*g) (char **, int), char **p, ...)
5347 {
5348 char *s;
5349 va_list v;
5350 va_start (v,p);
5351 s = g (p, va_arg (v,int));
5352 va_end (v);
5353 return s;
5354 }
5355
5356 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5357 function prototypes and stuff, but not '\xHH' hex character constants.
5358 These don't provoke an error unfortunately, instead are silently treated
5359 as 'x'. The following induces an error, until -std is added to get
5360 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5361 array size at least. It's necessary to write '\x00'==0 to get something
5362 that's true only with -std. */
5363 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5364
5365 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5366 inside strings and character constants. */
5367 #define FOO(x) 'x'
5368 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5369
5370 int test (int i, double x);
5371 struct s1 {int (*f) (int a);};
5372 struct s2 {int (*f) (double a);};
5373 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5374 int argc;
5375 char **argv;
5376 int
5377 main ()
5378 {
5379 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5380 ;
5381 return 0;
5382 }
5383 _ACEOF
5384 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5385 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5386 do
5387 CC="$ac_save_CC $ac_arg"
5388 if ac_fn_c_try_compile "$LINENO"; then :
5389 ac_cv_prog_cc_c89=$ac_arg
5390 fi
5391 rm -f core conftest.err conftest.$ac_objext
5392 test "x$ac_cv_prog_cc_c89" != "xno" && break
5393 done
5394 rm -f conftest.$ac_ext
5395 CC=$ac_save_CC
5396
5397 fi
5398 # AC_CACHE_VAL
5399 case "x$ac_cv_prog_cc_c89" in
5400 x)
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5402 $as_echo "none needed" >&6; } ;;
5403 xno)
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5405 $as_echo "unsupported" >&6; } ;;
5406 *)
5407 CC="$CC $ac_cv_prog_cc_c89"
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5409 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5410 esac
5411 if test "x$ac_cv_prog_cc_c89" != xno; then :
5412
5413 fi
5414
5415 ac_ext=c
5416 ac_cpp='$CPP $CPPFLAGS'
5417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5420
5421 depcc="$CC" am_compiler_list=
5422
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5424 $as_echo_n "checking dependency style of $depcc... " >&6; }
5425 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5426 $as_echo_n "(cached) " >&6
5427 else
5428 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5429 # We make a subdir and do the tests there. Otherwise we can end up
5430 # making bogus files that we don't know about and never remove. For
5431 # instance it was reported that on HP-UX the gcc test will end up
5432 # making a dummy file named `D' -- because `-MD' means `put the output
5433 # in D'.
5434 mkdir conftest.dir
5435 # Copy depcomp to subdir because otherwise we won't find it if we're
5436 # using a relative directory.
5437 cp "$am_depcomp" conftest.dir
5438 cd conftest.dir
5439 # We will build objects and dependencies in a subdirectory because
5440 # it helps to detect inapplicable dependency modes. For instance
5441 # both Tru64's cc and ICC support -MD to output dependencies as a
5442 # side effect of compilation, but ICC will put the dependencies in
5443 # the current directory while Tru64 will put them in the object
5444 # directory.
5445 mkdir sub
5446
5447 am_cv_CC_dependencies_compiler_type=none
5448 if test "$am_compiler_list" = ""; then
5449 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5450 fi
5451 am__universal=false
5452 case " $depcc " in #(
5453 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5454 esac
5455
5456 for depmode in $am_compiler_list; do
5457 # Setup a source with many dependencies, because some compilers
5458 # like to wrap large dependency lists on column 80 (with \), and
5459 # we should not choose a depcomp mode which is confused by this.
5460 #
5461 # We need to recreate these files for each test, as the compiler may
5462 # overwrite some of them when testing with obscure command lines.
5463 # This happens at least with the AIX C compiler.
5464 : > sub/conftest.c
5465 for i in 1 2 3 4 5 6; do
5466 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5467 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5468 # Solaris 8's {/usr,}/bin/sh.
5469 touch sub/conftst$i.h
5470 done
5471 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5472
5473 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5474 # mode. It turns out that the SunPro C++ compiler does not properly
5475 # handle `-M -o', and we need to detect this. Also, some Intel
5476 # versions had trouble with output in subdirs
5477 am__obj=sub/conftest.${OBJEXT-o}
5478 am__minus_obj="-o $am__obj"
5479 case $depmode in
5480 gcc)
5481 # This depmode causes a compiler race in universal mode.
5482 test "$am__universal" = false || continue
5483 ;;
5484 nosideeffect)
5485 # after this tag, mechanisms are not by side-effect, so they'll
5486 # only be used when explicitly requested
5487 if test "x$enable_dependency_tracking" = xyes; then
5488 continue
5489 else
5490 break
5491 fi
5492 ;;
5493 msvisualcpp | msvcmsys)
5494 # This compiler won't grok `-c -o', but also, the minuso test has
5495 # not run yet. These depmodes are late enough in the game, and
5496 # so weak that their functioning should not be impacted.
5497 am__obj=conftest.${OBJEXT-o}
5498 am__minus_obj=
5499 ;;
5500 none) break ;;
5501 esac
5502 if depmode=$depmode \
5503 source=sub/conftest.c object=$am__obj \
5504 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5505 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5506 >/dev/null 2>conftest.err &&
5507 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5508 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5509 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5510 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5511 # icc doesn't choke on unknown options, it will just issue warnings
5512 # or remarks (even with -Werror). So we grep stderr for any message
5513 # that says an option was ignored or not supported.
5514 # When given -MP, icc 7.0 and 7.1 complain thusly:
5515 # icc: Command line warning: ignoring option '-M'; no argument required
5516 # The diagnosis changed in icc 8.0:
5517 # icc: Command line remark: option '-MP' not supported
5518 if (grep 'ignoring option' conftest.err ||
5519 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5520 am_cv_CC_dependencies_compiler_type=$depmode
5521 break
5522 fi
5523 fi
5524 done
5525
5526 cd ..
5527 rm -rf conftest.dir
5528 else
5529 am_cv_CC_dependencies_compiler_type=none
5530 fi
5531
5532 fi
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5534 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5535 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5536
5537 if
5538 test "x$enable_dependency_tracking" != xno \
5539 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5540 am__fastdepCC_TRUE=
5541 am__fastdepCC_FALSE='#'
5542 else
5543 am__fastdepCC_TRUE='#'
5544 am__fastdepCC_FALSE=
5545 fi
5546
5547
5548
5549
5550 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5551 if test "x$GCC" = "xyes"; then
5552 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5553 ## We like to use C99 routines when available. This makes sure that
5554 ## __STDC_VERSION__ is set such that libc includes make them available.
5555 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5556 ## Compile the following tests with the same system header contents
5557 ## that we'll encounter when compiling our own source files.
5558 CFLAGS="-std=gnu99 $CFLAGS"
5559 fi
5560
5561
5562
5563
5564 # Check for symbol versioning (copied from libssp).
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5566 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5567 save_LDFLAGS="$LDFLAGS"
5568 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5569 cat > conftest.map <<EOF
5570 FOO_1.0 {
5571 global: *foo*; bar; local: *;
5572 };
5573 EOF
5574 if test x$gcc_no_link = xyes; then
5575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5576 fi
5577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5578 /* end confdefs.h. */
5579 int foo;
5580 int
5581 main ()
5582 {
5583
5584 ;
5585 return 0;
5586 }
5587 _ACEOF
5588 if ac_fn_c_try_link "$LINENO"; then :
5589 gfortran_use_symver=gnu
5590 else
5591 gfortran_use_symver=no
5592 fi
5593 rm -f core conftest.err conftest.$ac_objext \
5594 conftest$ac_exeext conftest.$ac_ext
5595 if test x$gfortran_use_symver = xno; then
5596 case "$target_os" in
5597 solaris2*)
5598 LDFLAGS="$save_LDFLAGS"
5599 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5600 # Sun ld cannot handle wildcards and treats all entries as undefined.
5601 cat > conftest.map <<EOF
5602 FOO_1.0 {
5603 global: foo; local: *;
5604 };
5605 EOF
5606 if test x$gcc_no_link = xyes; then
5607 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5608 fi
5609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5610 /* end confdefs.h. */
5611 int foo;
5612 int
5613 main ()
5614 {
5615
5616 ;
5617 return 0;
5618 }
5619 _ACEOF
5620 if ac_fn_c_try_link "$LINENO"; then :
5621 gfortran_use_symver=sun
5622 else
5623 gfortran_use_symver=no
5624 fi
5625 rm -f core conftest.err conftest.$ac_objext \
5626 conftest$ac_exeext conftest.$ac_ext
5627 ;;
5628 esac
5629 fi
5630 LDFLAGS="$save_LDFLAGS"
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5632 $as_echo "$gfortran_use_symver" >&6; }
5633 if test "x$gfortran_use_symver" != xno; then
5634 LIBGFOR_USE_SYMVER_TRUE=
5635 LIBGFOR_USE_SYMVER_FALSE='#'
5636 else
5637 LIBGFOR_USE_SYMVER_TRUE='#'
5638 LIBGFOR_USE_SYMVER_FALSE=
5639 fi
5640
5641 if test "x$gfortran_use_symver" = xgnu; then
5642 LIBGFOR_USE_SYMVER_GNU_TRUE=
5643 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5644 else
5645 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5646 LIBGFOR_USE_SYMVER_GNU_FALSE=
5647 fi
5648
5649 if test "x$gfortran_use_symver" = xsun; then
5650 LIBGFOR_USE_SYMVER_SUN_TRUE=
5651 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5652 else
5653 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5654 LIBGFOR_USE_SYMVER_SUN_FALSE=
5655 fi
5656
5657
5658 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5659 # similarly to how libstdc++ does it
5660 ac_test_CFLAGS="${CFLAGS+set}"
5661 ac_save_CFLAGS="$CFLAGS"
5662
5663 # Check for -ffunction-sections -fdata-sections
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5665 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5666 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5668 /* end confdefs.h. */
5669
5670 int
5671 main ()
5672 {
5673 int foo;
5674 ;
5675 return 0;
5676 }
5677 _ACEOF
5678 if ac_fn_c_try_compile "$LINENO"; then :
5679 ac_fdsections=yes
5680 else
5681 ac_fdsections=no
5682 fi
5683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5684 if test "$ac_test_CFLAGS" = set; then
5685 CFLAGS="$ac_save_CFLAGS"
5686 else
5687 # this is the suspicious part
5688 CFLAGS=""
5689 fi
5690 if test x"$ac_fdsections" = x"yes"; then
5691 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5692 fi
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5694 $as_echo "$ac_fdsections" >&6; }
5695
5696
5697 # Find other programs we need.
5698 if test -n "$ac_tool_prefix"; then
5699 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5700 set dummy ${ac_tool_prefix}as; ac_word=$2
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5702 $as_echo_n "checking for $ac_word... " >&6; }
5703 if test "${ac_cv_prog_AS+set}" = set; then :
5704 $as_echo_n "(cached) " >&6
5705 else
5706 if test -n "$AS"; then
5707 ac_cv_prog_AS="$AS" # Let the user override the test.
5708 else
5709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710 for as_dir in $PATH
5711 do
5712 IFS=$as_save_IFS
5713 test -z "$as_dir" && as_dir=.
5714 for ac_exec_ext in '' $ac_executable_extensions; do
5715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5716 ac_cv_prog_AS="${ac_tool_prefix}as"
5717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5718 break 2
5719 fi
5720 done
5721 done
5722 IFS=$as_save_IFS
5723
5724 fi
5725 fi
5726 AS=$ac_cv_prog_AS
5727 if test -n "$AS"; then
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5729 $as_echo "$AS" >&6; }
5730 else
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5732 $as_echo "no" >&6; }
5733 fi
5734
5735
5736 fi
5737 if test -z "$ac_cv_prog_AS"; then
5738 ac_ct_AS=$AS
5739 # Extract the first word of "as", so it can be a program name with args.
5740 set dummy as; ac_word=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5744 $as_echo_n "(cached) " >&6
5745 else
5746 if test -n "$ac_ct_AS"; then
5747 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5748 else
5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750 for as_dir in $PATH
5751 do
5752 IFS=$as_save_IFS
5753 test -z "$as_dir" && as_dir=.
5754 for ac_exec_ext in '' $ac_executable_extensions; do
5755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5756 ac_cv_prog_ac_ct_AS="as"
5757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5758 break 2
5759 fi
5760 done
5761 done
5762 IFS=$as_save_IFS
5763
5764 fi
5765 fi
5766 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5767 if test -n "$ac_ct_AS"; then
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5769 $as_echo "$ac_ct_AS" >&6; }
5770 else
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; }
5773 fi
5774
5775 if test "x$ac_ct_AS" = x; then
5776 AS=""
5777 else
5778 case $cross_compiling:$ac_tool_warned in
5779 yes:)
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5782 ac_tool_warned=yes ;;
5783 esac
5784 AS=$ac_ct_AS
5785 fi
5786 else
5787 AS="$ac_cv_prog_AS"
5788 fi
5789
5790 if test -n "$ac_tool_prefix"; then
5791 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5792 set dummy ${ac_tool_prefix}ar; ac_word=$2
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5794 $as_echo_n "checking for $ac_word... " >&6; }
5795 if test "${ac_cv_prog_AR+set}" = set; then :
5796 $as_echo_n "(cached) " >&6
5797 else
5798 if test -n "$AR"; then
5799 ac_cv_prog_AR="$AR" # Let the user override the test.
5800 else
5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5802 for as_dir in $PATH
5803 do
5804 IFS=$as_save_IFS
5805 test -z "$as_dir" && as_dir=.
5806 for ac_exec_ext in '' $ac_executable_extensions; do
5807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5808 ac_cv_prog_AR="${ac_tool_prefix}ar"
5809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5810 break 2
5811 fi
5812 done
5813 done
5814 IFS=$as_save_IFS
5815
5816 fi
5817 fi
5818 AR=$ac_cv_prog_AR
5819 if test -n "$AR"; then
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5821 $as_echo "$AR" >&6; }
5822 else
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5824 $as_echo "no" >&6; }
5825 fi
5826
5827
5828 fi
5829 if test -z "$ac_cv_prog_AR"; then
5830 ac_ct_AR=$AR
5831 # Extract the first word of "ar", so it can be a program name with args.
5832 set dummy ar; ac_word=$2
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5834 $as_echo_n "checking for $ac_word... " >&6; }
5835 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5836 $as_echo_n "(cached) " >&6
5837 else
5838 if test -n "$ac_ct_AR"; then
5839 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5840 else
5841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5842 for as_dir in $PATH
5843 do
5844 IFS=$as_save_IFS
5845 test -z "$as_dir" && as_dir=.
5846 for ac_exec_ext in '' $ac_executable_extensions; do
5847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5848 ac_cv_prog_ac_ct_AR="ar"
5849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5850 break 2
5851 fi
5852 done
5853 done
5854 IFS=$as_save_IFS
5855
5856 fi
5857 fi
5858 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5859 if test -n "$ac_ct_AR"; then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5861 $as_echo "$ac_ct_AR" >&6; }
5862 else
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5864 $as_echo "no" >&6; }
5865 fi
5866
5867 if test "x$ac_ct_AR" = x; then
5868 AR=""
5869 else
5870 case $cross_compiling:$ac_tool_warned in
5871 yes:)
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5874 ac_tool_warned=yes ;;
5875 esac
5876 AR=$ac_ct_AR
5877 fi
5878 else
5879 AR="$ac_cv_prog_AR"
5880 fi
5881
5882 if test -n "$ac_tool_prefix"; then
5883 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5884 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5886 $as_echo_n "checking for $ac_word... " >&6; }
5887 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5888 $as_echo_n "(cached) " >&6
5889 else
5890 if test -n "$RANLIB"; then
5891 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5892 else
5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5894 for as_dir in $PATH
5895 do
5896 IFS=$as_save_IFS
5897 test -z "$as_dir" && as_dir=.
5898 for ac_exec_ext in '' $ac_executable_extensions; do
5899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5900 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5902 break 2
5903 fi
5904 done
5905 done
5906 IFS=$as_save_IFS
5907
5908 fi
5909 fi
5910 RANLIB=$ac_cv_prog_RANLIB
5911 if test -n "$RANLIB"; then
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5913 $as_echo "$RANLIB" >&6; }
5914 else
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5916 $as_echo "no" >&6; }
5917 fi
5918
5919
5920 fi
5921 if test -z "$ac_cv_prog_RANLIB"; then
5922 ac_ct_RANLIB=$RANLIB
5923 # Extract the first word of "ranlib", so it can be a program name with args.
5924 set dummy ranlib; ac_word=$2
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5926 $as_echo_n "checking for $ac_word... " >&6; }
5927 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5928 $as_echo_n "(cached) " >&6
5929 else
5930 if test -n "$ac_ct_RANLIB"; then
5931 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5932 else
5933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 for as_dir in $PATH
5935 do
5936 IFS=$as_save_IFS
5937 test -z "$as_dir" && as_dir=.
5938 for ac_exec_ext in '' $ac_executable_extensions; do
5939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5940 ac_cv_prog_ac_ct_RANLIB="ranlib"
5941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5942 break 2
5943 fi
5944 done
5945 done
5946 IFS=$as_save_IFS
5947
5948 fi
5949 fi
5950 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5951 if test -n "$ac_ct_RANLIB"; then
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5953 $as_echo "$ac_ct_RANLIB" >&6; }
5954 else
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5956 $as_echo "no" >&6; }
5957 fi
5958
5959 if test "x$ac_ct_RANLIB" = x; then
5960 RANLIB="ranlib-not-found-in-path-error"
5961 else
5962 case $cross_compiling:$ac_tool_warned in
5963 yes:)
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5966 ac_tool_warned=yes ;;
5967 esac
5968 RANLIB=$ac_ct_RANLIB
5969 fi
5970 else
5971 RANLIB="$ac_cv_prog_RANLIB"
5972 fi
5973
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5975 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5976 set x ${MAKE-make}
5977 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5978 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
5979 $as_echo_n "(cached) " >&6
5980 else
5981 cat >conftest.make <<\_ACEOF
5982 SHELL = /bin/sh
5983 all:
5984 @echo '@@@%%%=$(MAKE)=@@@%%%'
5985 _ACEOF
5986 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5987 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5988 *@@@%%%=?*=@@@%%%*)
5989 eval ac_cv_prog_make_${ac_make}_set=yes;;
5990 *)
5991 eval ac_cv_prog_make_${ac_make}_set=no;;
5992 esac
5993 rm -f conftest.make
5994 fi
5995 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5997 $as_echo "yes" >&6; }
5998 SET_MAKE=
5999 else
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6001 $as_echo "no" >&6; }
6002 SET_MAKE="MAKE=${MAKE-make}"
6003 fi
6004
6005
6006
6007 # Configure libtool
6008 #AC_MSG_NOTICE([====== Starting libtool configuration])
6009 enable_dlopen=yes
6010
6011
6012
6013 case `pwd` in
6014 *\ * | *\ *)
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6016 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6017 esac
6018
6019
6020
6021 macro_version='2.2.7a'
6022 macro_revision='1.3134'
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036 ltmain="$ac_aux_dir/ltmain.sh"
6037
6038 # Backslashify metacharacters that are still active within
6039 # double-quoted strings.
6040 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6041
6042 # Same as above, but do not quote variable references.
6043 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6044
6045 # Sed substitution to delay expansion of an escaped shell variable in a
6046 # double_quote_subst'ed string.
6047 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6048
6049 # Sed substitution to delay expansion of an escaped single quote.
6050 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6051
6052 # Sed substitution to avoid accidental globbing in evaled expressions
6053 no_glob_subst='s/\*/\\\*/g'
6054
6055 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6056 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6057 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6058
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6060 $as_echo_n "checking how to print strings... " >&6; }
6061 # Test print first, because it will be a builtin if present.
6062 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6063 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6064 ECHO='print -r --'
6065 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6066 ECHO='printf %s\n'
6067 else
6068 # Use this function as a fallback that always works.
6069 func_fallback_echo ()
6070 {
6071 eval 'cat <<_LTECHO_EOF
6072 $1
6073 _LTECHO_EOF'
6074 }
6075 ECHO='func_fallback_echo'
6076 fi
6077
6078 # func_echo_all arg...
6079 # Invoke $ECHO with all args, space-separated.
6080 func_echo_all ()
6081 {
6082 $ECHO ""
6083 }
6084
6085 case "$ECHO" in
6086 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6087 $as_echo "printf" >&6; } ;;
6088 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6089 $as_echo "print -r" >&6; } ;;
6090 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6091 $as_echo "cat" >&6; } ;;
6092 esac
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6108 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6109 if test "${ac_cv_path_SED+set}" = set; then :
6110 $as_echo_n "(cached) " >&6
6111 else
6112 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6113 for ac_i in 1 2 3 4 5 6 7; do
6114 ac_script="$ac_script$as_nl$ac_script"
6115 done
6116 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6117 { ac_script=; unset ac_script;}
6118 if test -z "$SED"; then
6119 ac_path_SED_found=false
6120 # Loop through the user's path and test for each of PROGNAME-LIST
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122 for as_dir in $PATH
6123 do
6124 IFS=$as_save_IFS
6125 test -z "$as_dir" && as_dir=.
6126 for ac_prog in sed gsed; do
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6129 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6130 # Check for GNU ac_path_SED and select it if it is found.
6131 # Check for GNU $ac_path_SED
6132 case `"$ac_path_SED" --version 2>&1` in
6133 *GNU*)
6134 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6135 *)
6136 ac_count=0
6137 $as_echo_n 0123456789 >"conftest.in"
6138 while :
6139 do
6140 cat "conftest.in" "conftest.in" >"conftest.tmp"
6141 mv "conftest.tmp" "conftest.in"
6142 cp "conftest.in" "conftest.nl"
6143 $as_echo '' >> "conftest.nl"
6144 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6145 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6146 as_fn_arith $ac_count + 1 && ac_count=$as_val
6147 if test $ac_count -gt ${ac_path_SED_max-0}; then
6148 # Best one so far, save it but keep looking for a better one
6149 ac_cv_path_SED="$ac_path_SED"
6150 ac_path_SED_max=$ac_count
6151 fi
6152 # 10*(2^10) chars as input seems more than enough
6153 test $ac_count -gt 10 && break
6154 done
6155 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6156 esac
6157
6158 $ac_path_SED_found && break 3
6159 done
6160 done
6161 done
6162 IFS=$as_save_IFS
6163 if test -z "$ac_cv_path_SED"; then
6164 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6165 fi
6166 else
6167 ac_cv_path_SED=$SED
6168 fi
6169
6170 fi
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6172 $as_echo "$ac_cv_path_SED" >&6; }
6173 SED="$ac_cv_path_SED"
6174 rm -f conftest.sed
6175
6176 test -z "$SED" && SED=sed
6177 Xsed="$SED -e 1s/^X//"
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6190 $as_echo_n "checking for fgrep... " >&6; }
6191 if test "${ac_cv_path_FGREP+set}" = set; then :
6192 $as_echo_n "(cached) " >&6
6193 else
6194 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6195 then ac_cv_path_FGREP="$GREP -F"
6196 else
6197 if test -z "$FGREP"; then
6198 ac_path_FGREP_found=false
6199 # Loop through the user's path and test for each of PROGNAME-LIST
6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6201 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6202 do
6203 IFS=$as_save_IFS
6204 test -z "$as_dir" && as_dir=.
6205 for ac_prog in fgrep; do
6206 for ac_exec_ext in '' $ac_executable_extensions; do
6207 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6208 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6209 # Check for GNU ac_path_FGREP and select it if it is found.
6210 # Check for GNU $ac_path_FGREP
6211 case `"$ac_path_FGREP" --version 2>&1` in
6212 *GNU*)
6213 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6214 *)
6215 ac_count=0
6216 $as_echo_n 0123456789 >"conftest.in"
6217 while :
6218 do
6219 cat "conftest.in" "conftest.in" >"conftest.tmp"
6220 mv "conftest.tmp" "conftest.in"
6221 cp "conftest.in" "conftest.nl"
6222 $as_echo 'FGREP' >> "conftest.nl"
6223 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6224 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6225 as_fn_arith $ac_count + 1 && ac_count=$as_val
6226 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6227 # Best one so far, save it but keep looking for a better one
6228 ac_cv_path_FGREP="$ac_path_FGREP"
6229 ac_path_FGREP_max=$ac_count
6230 fi
6231 # 10*(2^10) chars as input seems more than enough
6232 test $ac_count -gt 10 && break
6233 done
6234 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6235 esac
6236
6237 $ac_path_FGREP_found && break 3
6238 done
6239 done
6240 done
6241 IFS=$as_save_IFS
6242 if test -z "$ac_cv_path_FGREP"; then
6243 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6244 fi
6245 else
6246 ac_cv_path_FGREP=$FGREP
6247 fi
6248
6249 fi
6250 fi
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6252 $as_echo "$ac_cv_path_FGREP" >&6; }
6253 FGREP="$ac_cv_path_FGREP"
6254
6255
6256 test -z "$GREP" && GREP=grep
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276 # Check whether --with-gnu-ld was given.
6277 if test "${with_gnu_ld+set}" = set; then :
6278 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6279 else
6280 with_gnu_ld=no
6281 fi
6282
6283 ac_prog=ld
6284 if test "$GCC" = yes; then
6285 # Check if gcc -print-prog-name=ld gives a path.
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6287 $as_echo_n "checking for ld used by $CC... " >&6; }
6288 case $host in
6289 *-*-mingw*)
6290 # gcc leaves a trailing carriage return which upsets mingw
6291 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6292 *)
6293 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6294 esac
6295 case $ac_prog in
6296 # Accept absolute paths.
6297 [\\/]* | ?:[\\/]*)
6298 re_direlt='/[^/][^/]*/\.\./'
6299 # Canonicalize the pathname of ld
6300 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6301 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6302 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6303 done
6304 test -z "$LD" && LD="$ac_prog"
6305 ;;
6306 "")
6307 # If it fails, then pretend we aren't using GCC.
6308 ac_prog=ld
6309 ;;
6310 *)
6311 # If it is relative, then search for the first ld in PATH.
6312 with_gnu_ld=unknown
6313 ;;
6314 esac
6315 elif test "$with_gnu_ld" = yes; then
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6317 $as_echo_n "checking for GNU ld... " >&6; }
6318 else
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6320 $as_echo_n "checking for non-GNU ld... " >&6; }
6321 fi
6322 if test "${lt_cv_path_LD+set}" = set; then :
6323 $as_echo_n "(cached) " >&6
6324 else
6325 if test -z "$LD"; then
6326 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6327 for ac_dir in $PATH; do
6328 IFS="$lt_save_ifs"
6329 test -z "$ac_dir" && ac_dir=.
6330 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6331 lt_cv_path_LD="$ac_dir/$ac_prog"
6332 # Check to see if the program is GNU ld. I'd rather use --version,
6333 # but apparently some variants of GNU ld only accept -v.
6334 # Break only if it was the GNU/non-GNU ld that we prefer.
6335 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6336 *GNU* | *'with BFD'*)
6337 test "$with_gnu_ld" != no && break
6338 ;;
6339 *)
6340 test "$with_gnu_ld" != yes && break
6341 ;;
6342 esac
6343 fi
6344 done
6345 IFS="$lt_save_ifs"
6346 else
6347 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6348 fi
6349 fi
6350
6351 LD="$lt_cv_path_LD"
6352 if test -n "$LD"; then
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6354 $as_echo "$LD" >&6; }
6355 else
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6357 $as_echo "no" >&6; }
6358 fi
6359 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6361 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6362 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6363 $as_echo_n "(cached) " >&6
6364 else
6365 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6366 case `$LD -v 2>&1 </dev/null` in
6367 *GNU* | *'with BFD'*)
6368 lt_cv_prog_gnu_ld=yes
6369 ;;
6370 *)
6371 lt_cv_prog_gnu_ld=no
6372 ;;
6373 esac
6374 fi
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6376 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6377 with_gnu_ld=$lt_cv_prog_gnu_ld
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6388 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6389 if test "${lt_cv_path_NM+set}" = set; then :
6390 $as_echo_n "(cached) " >&6
6391 else
6392 if test -n "$NM"; then
6393 # Let the user override the test.
6394 lt_cv_path_NM="$NM"
6395 else
6396 lt_nm_to_check="${ac_tool_prefix}nm"
6397 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6398 lt_nm_to_check="$lt_nm_to_check nm"
6399 fi
6400 for lt_tmp_nm in $lt_nm_to_check; do
6401 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6402 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6403 IFS="$lt_save_ifs"
6404 test -z "$ac_dir" && ac_dir=.
6405 tmp_nm="$ac_dir/$lt_tmp_nm"
6406 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6407 # Check to see if the nm accepts a BSD-compat flag.
6408 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6409 # nm: unknown option "B" ignored
6410 # Tru64's nm complains that /dev/null is an invalid object file
6411 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6412 */dev/null* | *'Invalid file or object type'*)
6413 lt_cv_path_NM="$tmp_nm -B"
6414 break
6415 ;;
6416 *)
6417 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6418 */dev/null*)
6419 lt_cv_path_NM="$tmp_nm -p"
6420 break
6421 ;;
6422 *)
6423 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6424 continue # so that we can try to find one that supports BSD flags
6425 ;;
6426 esac
6427 ;;
6428 esac
6429 fi
6430 done
6431 IFS="$lt_save_ifs"
6432 done
6433 : ${lt_cv_path_NM=no}
6434 fi
6435 fi
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6437 $as_echo "$lt_cv_path_NM" >&6; }
6438 if test "$lt_cv_path_NM" != "no"; then
6439 NM="$lt_cv_path_NM"
6440 else
6441 # Didn't find any BSD compatible name lister, look for dumpbin.
6442 if test -n "$DUMPBIN"; then :
6443 # Let the user override the test.
6444 else
6445 if test -n "$ac_tool_prefix"; then
6446 for ac_prog in dumpbin "link -dump"
6447 do
6448 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6449 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6451 $as_echo_n "checking for $ac_word... " >&6; }
6452 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6453 $as_echo_n "(cached) " >&6
6454 else
6455 if test -n "$DUMPBIN"; then
6456 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6457 else
6458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6459 for as_dir in $PATH
6460 do
6461 IFS=$as_save_IFS
6462 test -z "$as_dir" && as_dir=.
6463 for ac_exec_ext in '' $ac_executable_extensions; do
6464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6465 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6467 break 2
6468 fi
6469 done
6470 done
6471 IFS=$as_save_IFS
6472
6473 fi
6474 fi
6475 DUMPBIN=$ac_cv_prog_DUMPBIN
6476 if test -n "$DUMPBIN"; then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6478 $as_echo "$DUMPBIN" >&6; }
6479 else
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6481 $as_echo "no" >&6; }
6482 fi
6483
6484
6485 test -n "$DUMPBIN" && break
6486 done
6487 fi
6488 if test -z "$DUMPBIN"; then
6489 ac_ct_DUMPBIN=$DUMPBIN
6490 for ac_prog in dumpbin "link -dump"
6491 do
6492 # Extract the first word of "$ac_prog", so it can be a program name with args.
6493 set dummy $ac_prog; ac_word=$2
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6495 $as_echo_n "checking for $ac_word... " >&6; }
6496 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6497 $as_echo_n "(cached) " >&6
6498 else
6499 if test -n "$ac_ct_DUMPBIN"; then
6500 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6501 else
6502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6503 for as_dir in $PATH
6504 do
6505 IFS=$as_save_IFS
6506 test -z "$as_dir" && as_dir=.
6507 for ac_exec_ext in '' $ac_executable_extensions; do
6508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6509 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6511 break 2
6512 fi
6513 done
6514 done
6515 IFS=$as_save_IFS
6516
6517 fi
6518 fi
6519 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6520 if test -n "$ac_ct_DUMPBIN"; then
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6522 $as_echo "$ac_ct_DUMPBIN" >&6; }
6523 else
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6525 $as_echo "no" >&6; }
6526 fi
6527
6528
6529 test -n "$ac_ct_DUMPBIN" && break
6530 done
6531
6532 if test "x$ac_ct_DUMPBIN" = x; then
6533 DUMPBIN=":"
6534 else
6535 case $cross_compiling:$ac_tool_warned in
6536 yes:)
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6539 ac_tool_warned=yes ;;
6540 esac
6541 DUMPBIN=$ac_ct_DUMPBIN
6542 fi
6543 fi
6544
6545 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6546 *COFF*)
6547 DUMPBIN="$DUMPBIN -symbols"
6548 ;;
6549 *)
6550 DUMPBIN=:
6551 ;;
6552 esac
6553 fi
6554
6555 if test "$DUMPBIN" != ":"; then
6556 NM="$DUMPBIN"
6557 fi
6558 fi
6559 test -z "$NM" && NM=nm
6560
6561
6562
6563
6564
6565
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6567 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6568 if test "${lt_cv_nm_interface+set}" = set; then :
6569 $as_echo_n "(cached) " >&6
6570 else
6571 lt_cv_nm_interface="BSD nm"
6572 echo "int some_variable = 0;" > conftest.$ac_ext
6573 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6574 (eval "$ac_compile" 2>conftest.err)
6575 cat conftest.err >&5
6576 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6577 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6578 cat conftest.err >&5
6579 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6580 cat conftest.out >&5
6581 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6582 lt_cv_nm_interface="MS dumpbin"
6583 fi
6584 rm -f conftest*
6585 fi
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6587 $as_echo "$lt_cv_nm_interface" >&6; }
6588
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6590 $as_echo_n "checking whether ln -s works... " >&6; }
6591 LN_S=$as_ln_s
6592 if test "$LN_S" = "ln -s"; then
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6594 $as_echo "yes" >&6; }
6595 else
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6597 $as_echo "no, using $LN_S" >&6; }
6598 fi
6599
6600 # find the maximum length of command line arguments
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6602 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6603 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6604 $as_echo_n "(cached) " >&6
6605 else
6606 i=0
6607 teststring="ABCD"
6608
6609 case $build_os in
6610 msdosdjgpp*)
6611 # On DJGPP, this test can blow up pretty badly due to problems in libc
6612 # (any single argument exceeding 2000 bytes causes a buffer overrun
6613 # during glob expansion). Even if it were fixed, the result of this
6614 # check would be larger than it should be.
6615 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6616 ;;
6617
6618 gnu*)
6619 # Under GNU Hurd, this test is not required because there is
6620 # no limit to the length of command line arguments.
6621 # Libtool will interpret -1 as no limit whatsoever
6622 lt_cv_sys_max_cmd_len=-1;
6623 ;;
6624
6625 cygwin* | mingw* | cegcc*)
6626 # On Win9x/ME, this test blows up -- it succeeds, but takes
6627 # about 5 minutes as the teststring grows exponentially.
6628 # Worse, since 9x/ME are not pre-emptively multitasking,
6629 # you end up with a "frozen" computer, even though with patience
6630 # the test eventually succeeds (with a max line length of 256k).
6631 # Instead, let's just punt: use the minimum linelength reported by
6632 # all of the supported platforms: 8192 (on NT/2K/XP).
6633 lt_cv_sys_max_cmd_len=8192;
6634 ;;
6635
6636 mint*)
6637 # On MiNT this can take a long time and run out of memory.
6638 lt_cv_sys_max_cmd_len=8192;
6639 ;;
6640
6641 amigaos*)
6642 # On AmigaOS with pdksh, this test takes hours, literally.
6643 # So we just punt and use a minimum line length of 8192.
6644 lt_cv_sys_max_cmd_len=8192;
6645 ;;
6646
6647 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6648 # This has been around since 386BSD, at least. Likely further.
6649 if test -x /sbin/sysctl; then
6650 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6651 elif test -x /usr/sbin/sysctl; then
6652 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6653 else
6654 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6655 fi
6656 # And add a safety zone
6657 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6658 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6659 ;;
6660
6661 interix*)
6662 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6663 lt_cv_sys_max_cmd_len=196608
6664 ;;
6665
6666 osf*)
6667 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6668 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6669 # nice to cause kernel panics so lets avoid the loop below.
6670 # First set a reasonable default.
6671 lt_cv_sys_max_cmd_len=16384
6672 #
6673 if test -x /sbin/sysconfig; then
6674 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6675 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6676 esac
6677 fi
6678 ;;
6679 sco3.2v5*)
6680 lt_cv_sys_max_cmd_len=102400
6681 ;;
6682 sysv5* | sco5v6* | sysv4.2uw2*)
6683 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6684 if test -n "$kargmax"; then
6685 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6686 else
6687 lt_cv_sys_max_cmd_len=32768
6688 fi
6689 ;;
6690 *)
6691 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6692 if test -n "$lt_cv_sys_max_cmd_len"; then
6693 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6694 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6695 else
6696 # Make teststring a little bigger before we do anything with it.
6697 # a 1K string should be a reasonable start.
6698 for i in 1 2 3 4 5 6 7 8 ; do
6699 teststring=$teststring$teststring
6700 done
6701 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6702 # If test is not a shell built-in, we'll probably end up computing a
6703 # maximum length that is only half of the actual maximum length, but
6704 # we can't tell.
6705 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6706 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6707 test $i != 17 # 1/2 MB should be enough
6708 do
6709 i=`expr $i + 1`
6710 teststring=$teststring$teststring
6711 done
6712 # Only check the string length outside the loop.
6713 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6714 teststring=
6715 # Add a significant safety factor because C++ compilers can tack on
6716 # massive amounts of additional arguments before passing them to the
6717 # linker. It appears as though 1/2 is a usable value.
6718 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6719 fi
6720 ;;
6721 esac
6722
6723 fi
6724
6725 if test -n $lt_cv_sys_max_cmd_len ; then
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6727 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6728 else
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6730 $as_echo "none" >&6; }
6731 fi
6732 max_cmd_len=$lt_cv_sys_max_cmd_len
6733
6734
6735
6736
6737
6738
6739 : ${CP="cp -f"}
6740 : ${MV="mv -f"}
6741 : ${RM="rm -f"}
6742
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6744 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6745 # Try some XSI features
6746 xsi_shell=no
6747 ( _lt_dummy="a/b/c"
6748 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6749 = c,a/b,, \
6750 && eval 'test $(( 1 + 1 )) -eq 2 \
6751 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6752 && xsi_shell=yes
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6754 $as_echo "$xsi_shell" >&6; }
6755
6756
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6758 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6759 lt_shell_append=no
6760 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6761 >/dev/null 2>&1 \
6762 && lt_shell_append=yes
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6764 $as_echo "$lt_shell_append" >&6; }
6765
6766
6767 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6768 lt_unset=unset
6769 else
6770 lt_unset=false
6771 fi
6772
6773
6774
6775
6776
6777 # test EBCDIC or ASCII
6778 case `echo X|tr X '\101'` in
6779 A) # ASCII based system
6780 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6781 lt_SP2NL='tr \040 \012'
6782 lt_NL2SP='tr \015\012 \040\040'
6783 ;;
6784 *) # EBCDIC based system
6785 lt_SP2NL='tr \100 \n'
6786 lt_NL2SP='tr \r\n \100\100'
6787 ;;
6788 esac
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6799 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6800 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6801 $as_echo_n "(cached) " >&6
6802 else
6803 lt_cv_ld_reload_flag='-r'
6804 fi
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6806 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6807 reload_flag=$lt_cv_ld_reload_flag
6808 case $reload_flag in
6809 "" | " "*) ;;
6810 *) reload_flag=" $reload_flag" ;;
6811 esac
6812 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6813 case $host_os in
6814 darwin*)
6815 if test "$GCC" = yes; then
6816 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6817 else
6818 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6819 fi
6820 ;;
6821 esac
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831 if test -n "$ac_tool_prefix"; then
6832 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6833 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6835 $as_echo_n "checking for $ac_word... " >&6; }
6836 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6837 $as_echo_n "(cached) " >&6
6838 else
6839 if test -n "$OBJDUMP"; then
6840 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6841 else
6842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6843 for as_dir in $PATH
6844 do
6845 IFS=$as_save_IFS
6846 test -z "$as_dir" && as_dir=.
6847 for ac_exec_ext in '' $ac_executable_extensions; do
6848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6849 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6851 break 2
6852 fi
6853 done
6854 done
6855 IFS=$as_save_IFS
6856
6857 fi
6858 fi
6859 OBJDUMP=$ac_cv_prog_OBJDUMP
6860 if test -n "$OBJDUMP"; then
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6862 $as_echo "$OBJDUMP" >&6; }
6863 else
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6865 $as_echo "no" >&6; }
6866 fi
6867
6868
6869 fi
6870 if test -z "$ac_cv_prog_OBJDUMP"; then
6871 ac_ct_OBJDUMP=$OBJDUMP
6872 # Extract the first word of "objdump", so it can be a program name with args.
6873 set dummy objdump; ac_word=$2
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6875 $as_echo_n "checking for $ac_word... " >&6; }
6876 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6877 $as_echo_n "(cached) " >&6
6878 else
6879 if test -n "$ac_ct_OBJDUMP"; then
6880 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6881 else
6882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6883 for as_dir in $PATH
6884 do
6885 IFS=$as_save_IFS
6886 test -z "$as_dir" && as_dir=.
6887 for ac_exec_ext in '' $ac_executable_extensions; do
6888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6889 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6891 break 2
6892 fi
6893 done
6894 done
6895 IFS=$as_save_IFS
6896
6897 fi
6898 fi
6899 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6900 if test -n "$ac_ct_OBJDUMP"; then
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6902 $as_echo "$ac_ct_OBJDUMP" >&6; }
6903 else
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6905 $as_echo "no" >&6; }
6906 fi
6907
6908 if test "x$ac_ct_OBJDUMP" = x; then
6909 OBJDUMP="false"
6910 else
6911 case $cross_compiling:$ac_tool_warned in
6912 yes:)
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6915 ac_tool_warned=yes ;;
6916 esac
6917 OBJDUMP=$ac_ct_OBJDUMP
6918 fi
6919 else
6920 OBJDUMP="$ac_cv_prog_OBJDUMP"
6921 fi
6922
6923 test -z "$OBJDUMP" && OBJDUMP=objdump
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6934 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6935 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6936 $as_echo_n "(cached) " >&6
6937 else
6938 lt_cv_file_magic_cmd='$MAGIC_CMD'
6939 lt_cv_file_magic_test_file=
6940 lt_cv_deplibs_check_method='unknown'
6941 # Need to set the preceding variable on all platforms that support
6942 # interlibrary dependencies.
6943 # 'none' -- dependencies not supported.
6944 # `unknown' -- same as none, but documents that we really don't know.
6945 # 'pass_all' -- all dependencies passed with no checks.
6946 # 'test_compile' -- check by making test program.
6947 # 'file_magic [[regex]]' -- check by looking for files in library path
6948 # which responds to the $file_magic_cmd with a given extended regex.
6949 # If you have `file' or equivalent on your system and you're not sure
6950 # whether `pass_all' will *always* work, you probably want this one.
6951
6952 case $host_os in
6953 aix[4-9]*)
6954 lt_cv_deplibs_check_method=pass_all
6955 ;;
6956
6957 beos*)
6958 lt_cv_deplibs_check_method=pass_all
6959 ;;
6960
6961 bsdi[45]*)
6962 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6963 lt_cv_file_magic_cmd='/usr/bin/file -L'
6964 lt_cv_file_magic_test_file=/shlib/libc.so
6965 ;;
6966
6967 cygwin*)
6968 # func_win32_libid is a shell function defined in ltmain.sh
6969 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6970 lt_cv_file_magic_cmd='func_win32_libid'
6971 ;;
6972
6973 mingw* | pw32*)
6974 # Base MSYS/MinGW do not provide the 'file' command needed by
6975 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6976 # unless we find 'file', for example because we are cross-compiling.
6977 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6978 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6979 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6980 lt_cv_file_magic_cmd='func_win32_libid'
6981 else
6982 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6983 lt_cv_file_magic_cmd='$OBJDUMP -f'
6984 fi
6985 ;;
6986
6987 cegcc*)
6988 # use the weaker test based on 'objdump'. See mingw*.
6989 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6990 lt_cv_file_magic_cmd='$OBJDUMP -f'
6991 ;;
6992
6993 darwin* | rhapsody*)
6994 lt_cv_deplibs_check_method=pass_all
6995 ;;
6996
6997 freebsd* | dragonfly*)
6998 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6999 case $host_cpu in
7000 i*86 )
7001 # Not sure whether the presence of OpenBSD here was a mistake.
7002 # Let's accept both of them until this is cleared up.
7003 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7004 lt_cv_file_magic_cmd=/usr/bin/file
7005 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7006 ;;
7007 esac
7008 else
7009 lt_cv_deplibs_check_method=pass_all
7010 fi
7011 ;;
7012
7013 gnu*)
7014 lt_cv_deplibs_check_method=pass_all
7015 ;;
7016
7017 haiku*)
7018 lt_cv_deplibs_check_method=pass_all
7019 ;;
7020
7021 hpux10.20* | hpux11*)
7022 lt_cv_file_magic_cmd=/usr/bin/file
7023 case $host_cpu in
7024 ia64*)
7025 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7026 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7027 ;;
7028 hppa*64*)
7029 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
7030 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7031 ;;
7032 *)
7033 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7034 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7035 ;;
7036 esac
7037 ;;
7038
7039 interix[3-9]*)
7040 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7041 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7042 ;;
7043
7044 irix5* | irix6* | nonstopux*)
7045 case $LD in
7046 *-32|*"-32 ") libmagic=32-bit;;
7047 *-n32|*"-n32 ") libmagic=N32;;
7048 *-64|*"-64 ") libmagic=64-bit;;
7049 *) libmagic=never-match;;
7050 esac
7051 lt_cv_deplibs_check_method=pass_all
7052 ;;
7053
7054 # This must be Linux ELF.
7055 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7056 lt_cv_deplibs_check_method=pass_all
7057 ;;
7058
7059 netbsd*)
7060 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7061 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7062 else
7063 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7064 fi
7065 ;;
7066
7067 newos6*)
7068 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7069 lt_cv_file_magic_cmd=/usr/bin/file
7070 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7071 ;;
7072
7073 *nto* | *qnx*)
7074 lt_cv_deplibs_check_method=pass_all
7075 ;;
7076
7077 openbsd*)
7078 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7079 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7080 else
7081 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7082 fi
7083 ;;
7084
7085 osf3* | osf4* | osf5*)
7086 lt_cv_deplibs_check_method=pass_all
7087 ;;
7088
7089 rdos*)
7090 lt_cv_deplibs_check_method=pass_all
7091 ;;
7092
7093 solaris*)
7094 lt_cv_deplibs_check_method=pass_all
7095 ;;
7096
7097 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7098 lt_cv_deplibs_check_method=pass_all
7099 ;;
7100
7101 sysv4 | sysv4.3*)
7102 case $host_vendor in
7103 motorola)
7104 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
7105 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7106 ;;
7107 ncr)
7108 lt_cv_deplibs_check_method=pass_all
7109 ;;
7110 sequent)
7111 lt_cv_file_magic_cmd='/bin/file'
7112 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7113 ;;
7114 sni)
7115 lt_cv_file_magic_cmd='/bin/file'
7116 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7117 lt_cv_file_magic_test_file=/lib/libc.so
7118 ;;
7119 siemens)
7120 lt_cv_deplibs_check_method=pass_all
7121 ;;
7122 pc)
7123 lt_cv_deplibs_check_method=pass_all
7124 ;;
7125 esac
7126 ;;
7127
7128 tpf*)
7129 lt_cv_deplibs_check_method=pass_all
7130 ;;
7131 esac
7132
7133 fi
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7135 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7136 file_magic_cmd=$lt_cv_file_magic_cmd
7137 deplibs_check_method=$lt_cv_deplibs_check_method
7138 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151 if test -n "$ac_tool_prefix"; then
7152 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7153 set dummy ${ac_tool_prefix}ar; ac_word=$2
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7155 $as_echo_n "checking for $ac_word... " >&6; }
7156 if test "${ac_cv_prog_AR+set}" = set; then :
7157 $as_echo_n "(cached) " >&6
7158 else
7159 if test -n "$AR"; then
7160 ac_cv_prog_AR="$AR" # Let the user override the test.
7161 else
7162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7163 for as_dir in $PATH
7164 do
7165 IFS=$as_save_IFS
7166 test -z "$as_dir" && as_dir=.
7167 for ac_exec_ext in '' $ac_executable_extensions; do
7168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7169 ac_cv_prog_AR="${ac_tool_prefix}ar"
7170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7171 break 2
7172 fi
7173 done
7174 done
7175 IFS=$as_save_IFS
7176
7177 fi
7178 fi
7179 AR=$ac_cv_prog_AR
7180 if test -n "$AR"; then
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7182 $as_echo "$AR" >&6; }
7183 else
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7185 $as_echo "no" >&6; }
7186 fi
7187
7188
7189 fi
7190 if test -z "$ac_cv_prog_AR"; then
7191 ac_ct_AR=$AR
7192 # Extract the first word of "ar", so it can be a program name with args.
7193 set dummy ar; ac_word=$2
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7195 $as_echo_n "checking for $ac_word... " >&6; }
7196 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7197 $as_echo_n "(cached) " >&6
7198 else
7199 if test -n "$ac_ct_AR"; then
7200 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7201 else
7202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7203 for as_dir in $PATH
7204 do
7205 IFS=$as_save_IFS
7206 test -z "$as_dir" && as_dir=.
7207 for ac_exec_ext in '' $ac_executable_extensions; do
7208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7209 ac_cv_prog_ac_ct_AR="ar"
7210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7211 break 2
7212 fi
7213 done
7214 done
7215 IFS=$as_save_IFS
7216
7217 fi
7218 fi
7219 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7220 if test -n "$ac_ct_AR"; then
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7222 $as_echo "$ac_ct_AR" >&6; }
7223 else
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7225 $as_echo "no" >&6; }
7226 fi
7227
7228 if test "x$ac_ct_AR" = x; then
7229 AR="false"
7230 else
7231 case $cross_compiling:$ac_tool_warned in
7232 yes:)
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7235 ac_tool_warned=yes ;;
7236 esac
7237 AR=$ac_ct_AR
7238 fi
7239 else
7240 AR="$ac_cv_prog_AR"
7241 fi
7242
7243 test -z "$AR" && AR=ar
7244 test -z "$AR_FLAGS" && AR_FLAGS=cru
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256 if test -n "$ac_tool_prefix"; then
7257 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7258 set dummy ${ac_tool_prefix}strip; ac_word=$2
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7260 $as_echo_n "checking for $ac_word... " >&6; }
7261 if test "${ac_cv_prog_STRIP+set}" = set; then :
7262 $as_echo_n "(cached) " >&6
7263 else
7264 if test -n "$STRIP"; then
7265 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7266 else
7267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7268 for as_dir in $PATH
7269 do
7270 IFS=$as_save_IFS
7271 test -z "$as_dir" && as_dir=.
7272 for ac_exec_ext in '' $ac_executable_extensions; do
7273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7274 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7276 break 2
7277 fi
7278 done
7279 done
7280 IFS=$as_save_IFS
7281
7282 fi
7283 fi
7284 STRIP=$ac_cv_prog_STRIP
7285 if test -n "$STRIP"; then
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7287 $as_echo "$STRIP" >&6; }
7288 else
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7290 $as_echo "no" >&6; }
7291 fi
7292
7293
7294 fi
7295 if test -z "$ac_cv_prog_STRIP"; then
7296 ac_ct_STRIP=$STRIP
7297 # Extract the first word of "strip", so it can be a program name with args.
7298 set dummy strip; ac_word=$2
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7300 $as_echo_n "checking for $ac_word... " >&6; }
7301 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7302 $as_echo_n "(cached) " >&6
7303 else
7304 if test -n "$ac_ct_STRIP"; then
7305 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7306 else
7307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7308 for as_dir in $PATH
7309 do
7310 IFS=$as_save_IFS
7311 test -z "$as_dir" && as_dir=.
7312 for ac_exec_ext in '' $ac_executable_extensions; do
7313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7314 ac_cv_prog_ac_ct_STRIP="strip"
7315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7316 break 2
7317 fi
7318 done
7319 done
7320 IFS=$as_save_IFS
7321
7322 fi
7323 fi
7324 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7325 if test -n "$ac_ct_STRIP"; then
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7327 $as_echo "$ac_ct_STRIP" >&6; }
7328 else
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330 $as_echo "no" >&6; }
7331 fi
7332
7333 if test "x$ac_ct_STRIP" = x; then
7334 STRIP=":"
7335 else
7336 case $cross_compiling:$ac_tool_warned in
7337 yes:)
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7340 ac_tool_warned=yes ;;
7341 esac
7342 STRIP=$ac_ct_STRIP
7343 fi
7344 else
7345 STRIP="$ac_cv_prog_STRIP"
7346 fi
7347
7348 test -z "$STRIP" && STRIP=:
7349
7350
7351
7352
7353
7354
7355 if test -n "$ac_tool_prefix"; then
7356 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7357 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7359 $as_echo_n "checking for $ac_word... " >&6; }
7360 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7361 $as_echo_n "(cached) " >&6
7362 else
7363 if test -n "$RANLIB"; then
7364 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7365 else
7366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7367 for as_dir in $PATH
7368 do
7369 IFS=$as_save_IFS
7370 test -z "$as_dir" && as_dir=.
7371 for ac_exec_ext in '' $ac_executable_extensions; do
7372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7373 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7375 break 2
7376 fi
7377 done
7378 done
7379 IFS=$as_save_IFS
7380
7381 fi
7382 fi
7383 RANLIB=$ac_cv_prog_RANLIB
7384 if test -n "$RANLIB"; then
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7386 $as_echo "$RANLIB" >&6; }
7387 else
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7389 $as_echo "no" >&6; }
7390 fi
7391
7392
7393 fi
7394 if test -z "$ac_cv_prog_RANLIB"; then
7395 ac_ct_RANLIB=$RANLIB
7396 # Extract the first word of "ranlib", so it can be a program name with args.
7397 set dummy ranlib; ac_word=$2
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7399 $as_echo_n "checking for $ac_word... " >&6; }
7400 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7401 $as_echo_n "(cached) " >&6
7402 else
7403 if test -n "$ac_ct_RANLIB"; then
7404 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7405 else
7406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7407 for as_dir in $PATH
7408 do
7409 IFS=$as_save_IFS
7410 test -z "$as_dir" && as_dir=.
7411 for ac_exec_ext in '' $ac_executable_extensions; do
7412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7413 ac_cv_prog_ac_ct_RANLIB="ranlib"
7414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7415 break 2
7416 fi
7417 done
7418 done
7419 IFS=$as_save_IFS
7420
7421 fi
7422 fi
7423 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7424 if test -n "$ac_ct_RANLIB"; then
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7426 $as_echo "$ac_ct_RANLIB" >&6; }
7427 else
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7429 $as_echo "no" >&6; }
7430 fi
7431
7432 if test "x$ac_ct_RANLIB" = x; then
7433 RANLIB=":"
7434 else
7435 case $cross_compiling:$ac_tool_warned in
7436 yes:)
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7439 ac_tool_warned=yes ;;
7440 esac
7441 RANLIB=$ac_ct_RANLIB
7442 fi
7443 else
7444 RANLIB="$ac_cv_prog_RANLIB"
7445 fi
7446
7447 test -z "$RANLIB" && RANLIB=:
7448
7449
7450
7451
7452
7453
7454 # Determine commands to create old-style static archives.
7455 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7456 old_postinstall_cmds='chmod 644 $oldlib'
7457 old_postuninstall_cmds=
7458
7459 if test -n "$RANLIB"; then
7460 case $host_os in
7461 openbsd*)
7462 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7463 ;;
7464 *)
7465 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7466 ;;
7467 esac
7468 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7469 fi
7470
7471 case $host_os in
7472 darwin*)
7473 lock_old_archive_extraction=yes ;;
7474 *)
7475 lock_old_archive_extraction=no ;;
7476 esac
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516 # If no C compiler was specified, use CC.
7517 LTCC=${LTCC-"$CC"}
7518
7519 # If no C compiler flags were specified, use CFLAGS.
7520 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7521
7522 # Allow CC to be a program name with arguments.
7523 compiler=$CC
7524
7525
7526 # Check for command to grab the raw symbol name followed by C symbol from nm.
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7528 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7529 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7530 $as_echo_n "(cached) " >&6
7531 else
7532
7533 # These are sane defaults that work on at least a few old systems.
7534 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7535
7536 # Character class describing NM global symbol codes.
7537 symcode='[BCDEGRST]'
7538
7539 # Regexp to match symbols that can be accessed directly from C.
7540 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7541
7542 # Define system-specific variables.
7543 case $host_os in
7544 aix*)
7545 symcode='[BCDT]'
7546 ;;
7547 cygwin* | mingw* | pw32* | cegcc*)
7548 symcode='[ABCDGISTW]'
7549 ;;
7550 hpux*)
7551 if test "$host_cpu" = ia64; then
7552 symcode='[ABCDEGRST]'
7553 fi
7554 ;;
7555 irix* | nonstopux*)
7556 symcode='[BCDEGRST]'
7557 ;;
7558 osf*)
7559 symcode='[BCDEGQRST]'
7560 ;;
7561 solaris*)
7562 symcode='[BDRT]'
7563 ;;
7564 sco3.2v5*)
7565 symcode='[DT]'
7566 ;;
7567 sysv4.2uw2*)
7568 symcode='[DT]'
7569 ;;
7570 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7571 symcode='[ABDT]'
7572 ;;
7573 sysv4)
7574 symcode='[DFNSTU]'
7575 ;;
7576 esac
7577
7578 # If we're using GNU nm, then use its standard symbol codes.
7579 case `$NM -V 2>&1` in
7580 *GNU* | *'with BFD'*)
7581 symcode='[ABCDGIRSTW]' ;;
7582 esac
7583
7584 # Transform an extracted symbol line into a proper C declaration.
7585 # Some systems (esp. on ia64) link data and code symbols differently,
7586 # so use this general approach.
7587 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7588
7589 # Transform an extracted symbol line into symbol name and symbol address
7590 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7591 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7592
7593 # Handle CRLF in mingw tool chain
7594 opt_cr=
7595 case $build_os in
7596 mingw*)
7597 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7598 ;;
7599 esac
7600
7601 # Try without a prefix underscore, then with it.
7602 for ac_symprfx in "" "_"; do
7603
7604 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7605 symxfrm="\\1 $ac_symprfx\\2 \\2"
7606
7607 # Write the raw and C identifiers.
7608 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7609 # Fake it for dumpbin and say T for any non-static function
7610 # and D for any global variable.
7611 # Also find C++ and __fastcall symbols from MSVC++,
7612 # which start with @ or ?.
7613 lt_cv_sys_global_symbol_pipe="$AWK '"\
7614 " {last_section=section; section=\$ 3};"\
7615 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7616 " \$ 0!~/External *\|/{next};"\
7617 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7618 " {if(hide[section]) next};"\
7619 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7620 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7621 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7622 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7623 " ' prfx=^$ac_symprfx"
7624 else
7625 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7626 fi
7627
7628 # Check to see that the pipe works correctly.
7629 pipe_works=no
7630
7631 rm -f conftest*
7632 cat > conftest.$ac_ext <<_LT_EOF
7633 #ifdef __cplusplus
7634 extern "C" {
7635 #endif
7636 char nm_test_var;
7637 void nm_test_func(void);
7638 void nm_test_func(void){}
7639 #ifdef __cplusplus
7640 }
7641 #endif
7642 int main(){nm_test_var='a';nm_test_func();return(0);}
7643 _LT_EOF
7644
7645 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7646 (eval $ac_compile) 2>&5
7647 ac_status=$?
7648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7649 test $ac_status = 0; }; then
7650 # Now try to grab the symbols.
7651 nlist=conftest.nm
7652 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7653 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7654 ac_status=$?
7655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7656 test $ac_status = 0; } && test -s "$nlist"; then
7657 # Try sorting and uniquifying the output.
7658 if sort "$nlist" | uniq > "$nlist"T; then
7659 mv -f "$nlist"T "$nlist"
7660 else
7661 rm -f "$nlist"T
7662 fi
7663
7664 # Make sure that we snagged all the symbols we need.
7665 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7666 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7667 cat <<_LT_EOF > conftest.$ac_ext
7668 #ifdef __cplusplus
7669 extern "C" {
7670 #endif
7671
7672 _LT_EOF
7673 # Now generate the symbol file.
7674 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7675
7676 cat <<_LT_EOF >> conftest.$ac_ext
7677
7678 /* The mapping between symbol names and symbols. */
7679 const struct {
7680 const char *name;
7681 void *address;
7682 }
7683 lt__PROGRAM__LTX_preloaded_symbols[] =
7684 {
7685 { "@PROGRAM@", (void *) 0 },
7686 _LT_EOF
7687 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7688 cat <<\_LT_EOF >> conftest.$ac_ext
7689 {0, (void *) 0}
7690 };
7691
7692 /* This works around a problem in FreeBSD linker */
7693 #ifdef FREEBSD_WORKAROUND
7694 static const void *lt_preloaded_setup() {
7695 return lt__PROGRAM__LTX_preloaded_symbols;
7696 }
7697 #endif
7698
7699 #ifdef __cplusplus
7700 }
7701 #endif
7702 _LT_EOF
7703 # Now try linking the two files.
7704 mv conftest.$ac_objext conftstm.$ac_objext
7705 lt_save_LIBS="$LIBS"
7706 lt_save_CFLAGS="$CFLAGS"
7707 LIBS="conftstm.$ac_objext"
7708 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7709 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7710 (eval $ac_link) 2>&5
7711 ac_status=$?
7712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7713 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7714 pipe_works=yes
7715 fi
7716 LIBS="$lt_save_LIBS"
7717 CFLAGS="$lt_save_CFLAGS"
7718 else
7719 echo "cannot find nm_test_func in $nlist" >&5
7720 fi
7721 else
7722 echo "cannot find nm_test_var in $nlist" >&5
7723 fi
7724 else
7725 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7726 fi
7727 else
7728 echo "$progname: failed program was:" >&5
7729 cat conftest.$ac_ext >&5
7730 fi
7731 rm -rf conftest* conftst*
7732
7733 # Do not use the global_symbol_pipe unless it works.
7734 if test "$pipe_works" = yes; then
7735 break
7736 else
7737 lt_cv_sys_global_symbol_pipe=
7738 fi
7739 done
7740
7741 fi
7742
7743 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7744 lt_cv_sys_global_symbol_to_cdecl=
7745 fi
7746 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7748 $as_echo "failed" >&6; }
7749 else
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7751 $as_echo "ok" >&6; }
7752 fi
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775 # Check whether --enable-libtool-lock was given.
7776 if test "${enable_libtool_lock+set}" = set; then :
7777 enableval=$enable_libtool_lock;
7778 fi
7779
7780 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7781
7782 # Some flags need to be propagated to the compiler or linker for good
7783 # libtool support.
7784 case $host in
7785 ia64-*-hpux*)
7786 # Find out which ABI we are using.
7787 echo 'int i;' > conftest.$ac_ext
7788 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7789 (eval $ac_compile) 2>&5
7790 ac_status=$?
7791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7792 test $ac_status = 0; }; then
7793 case `/usr/bin/file conftest.$ac_objext` in
7794 *ELF-32*)
7795 HPUX_IA64_MODE="32"
7796 ;;
7797 *ELF-64*)
7798 HPUX_IA64_MODE="64"
7799 ;;
7800 esac
7801 fi
7802 rm -rf conftest*
7803 ;;
7804 *-*-irix6*)
7805 # Find out which ABI we are using.
7806 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7807 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7808 (eval $ac_compile) 2>&5
7809 ac_status=$?
7810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7811 test $ac_status = 0; }; then
7812 if test "$lt_cv_prog_gnu_ld" = yes; then
7813 case `/usr/bin/file conftest.$ac_objext` in
7814 *32-bit*)
7815 LD="${LD-ld} -melf32bsmip"
7816 ;;
7817 *N32*)
7818 LD="${LD-ld} -melf32bmipn32"
7819 ;;
7820 *64-bit*)
7821 LD="${LD-ld} -melf64bmip"
7822 ;;
7823 esac
7824 else
7825 case `/usr/bin/file conftest.$ac_objext` in
7826 *32-bit*)
7827 LD="${LD-ld} -32"
7828 ;;
7829 *N32*)
7830 LD="${LD-ld} -n32"
7831 ;;
7832 *64-bit*)
7833 LD="${LD-ld} -64"
7834 ;;
7835 esac
7836 fi
7837 fi
7838 rm -rf conftest*
7839 ;;
7840
7841 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7842 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7843 # Find out which ABI we are using.
7844 echo 'int i;' > conftest.$ac_ext
7845 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7846 (eval $ac_compile) 2>&5
7847 ac_status=$?
7848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7849 test $ac_status = 0; }; then
7850 case `/usr/bin/file conftest.o` in
7851 *32-bit*)
7852 case $host in
7853 x86_64-*kfreebsd*-gnu)
7854 LD="${LD-ld} -m elf_i386_fbsd"
7855 ;;
7856 x86_64-*linux*)
7857 LD="${LD-ld} -m elf_i386"
7858 ;;
7859 ppc64-*linux*|powerpc64-*linux*)
7860 LD="${LD-ld} -m elf32ppclinux"
7861 ;;
7862 s390x-*linux*)
7863 LD="${LD-ld} -m elf_s390"
7864 ;;
7865 sparc64-*linux*)
7866 LD="${LD-ld} -m elf32_sparc"
7867 ;;
7868 esac
7869 ;;
7870 *64-bit*)
7871 case $host in
7872 x86_64-*kfreebsd*-gnu)
7873 LD="${LD-ld} -m elf_x86_64_fbsd"
7874 ;;
7875 x86_64-*linux*)
7876 LD="${LD-ld} -m elf_x86_64"
7877 ;;
7878 ppc*-*linux*|powerpc*-*linux*)
7879 LD="${LD-ld} -m elf64ppc"
7880 ;;
7881 s390*-*linux*|s390*-*tpf*)
7882 LD="${LD-ld} -m elf64_s390"
7883 ;;
7884 sparc*-*linux*)
7885 LD="${LD-ld} -m elf64_sparc"
7886 ;;
7887 esac
7888 ;;
7889 esac
7890 fi
7891 rm -rf conftest*
7892 ;;
7893
7894 *-*-sco3.2v5*)
7895 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7896 SAVE_CFLAGS="$CFLAGS"
7897 CFLAGS="$CFLAGS -belf"
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7899 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7900 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7901 $as_echo_n "(cached) " >&6
7902 else
7903 ac_ext=c
7904 ac_cpp='$CPP $CPPFLAGS'
7905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7908
7909 if test x$gcc_no_link = xyes; then
7910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7911 fi
7912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7913 /* end confdefs.h. */
7914
7915 int
7916 main ()
7917 {
7918
7919 ;
7920 return 0;
7921 }
7922 _ACEOF
7923 if ac_fn_c_try_link "$LINENO"; then :
7924 lt_cv_cc_needs_belf=yes
7925 else
7926 lt_cv_cc_needs_belf=no
7927 fi
7928 rm -f core conftest.err conftest.$ac_objext \
7929 conftest$ac_exeext conftest.$ac_ext
7930 ac_ext=c
7931 ac_cpp='$CPP $CPPFLAGS'
7932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7935
7936 fi
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7938 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7939 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7940 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7941 CFLAGS="$SAVE_CFLAGS"
7942 fi
7943 ;;
7944 sparc*-*solaris*)
7945 # Find out which ABI we are using.
7946 echo 'int i;' > conftest.$ac_ext
7947 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7948 (eval $ac_compile) 2>&5
7949 ac_status=$?
7950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7951 test $ac_status = 0; }; then
7952 case `/usr/bin/file conftest.o` in
7953 *64-bit*)
7954 case $lt_cv_prog_gnu_ld in
7955 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7956 *)
7957 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7958 LD="${LD-ld} -64"
7959 fi
7960 ;;
7961 esac
7962 ;;
7963 esac
7964 fi
7965 rm -rf conftest*
7966 ;;
7967 esac
7968
7969 need_locks="$enable_libtool_lock"
7970
7971
7972 case $host_os in
7973 rhapsody* | darwin*)
7974 if test -n "$ac_tool_prefix"; then
7975 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7976 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7978 $as_echo_n "checking for $ac_word... " >&6; }
7979 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7980 $as_echo_n "(cached) " >&6
7981 else
7982 if test -n "$DSYMUTIL"; then
7983 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7984 else
7985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7986 for as_dir in $PATH
7987 do
7988 IFS=$as_save_IFS
7989 test -z "$as_dir" && as_dir=.
7990 for ac_exec_ext in '' $ac_executable_extensions; do
7991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7992 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7994 break 2
7995 fi
7996 done
7997 done
7998 IFS=$as_save_IFS
7999
8000 fi
8001 fi
8002 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8003 if test -n "$DSYMUTIL"; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8005 $as_echo "$DSYMUTIL" >&6; }
8006 else
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8008 $as_echo "no" >&6; }
8009 fi
8010
8011
8012 fi
8013 if test -z "$ac_cv_prog_DSYMUTIL"; then
8014 ac_ct_DSYMUTIL=$DSYMUTIL
8015 # Extract the first word of "dsymutil", so it can be a program name with args.
8016 set dummy dsymutil; ac_word=$2
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8018 $as_echo_n "checking for $ac_word... " >&6; }
8019 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8020 $as_echo_n "(cached) " >&6
8021 else
8022 if test -n "$ac_ct_DSYMUTIL"; then
8023 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8024 else
8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026 for as_dir in $PATH
8027 do
8028 IFS=$as_save_IFS
8029 test -z "$as_dir" && as_dir=.
8030 for ac_exec_ext in '' $ac_executable_extensions; do
8031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8032 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8034 break 2
8035 fi
8036 done
8037 done
8038 IFS=$as_save_IFS
8039
8040 fi
8041 fi
8042 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8043 if test -n "$ac_ct_DSYMUTIL"; then
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8045 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8046 else
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8048 $as_echo "no" >&6; }
8049 fi
8050
8051 if test "x$ac_ct_DSYMUTIL" = x; then
8052 DSYMUTIL=":"
8053 else
8054 case $cross_compiling:$ac_tool_warned in
8055 yes:)
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8058 ac_tool_warned=yes ;;
8059 esac
8060 DSYMUTIL=$ac_ct_DSYMUTIL
8061 fi
8062 else
8063 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8064 fi
8065
8066 if test -n "$ac_tool_prefix"; then
8067 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8068 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8070 $as_echo_n "checking for $ac_word... " >&6; }
8071 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8072 $as_echo_n "(cached) " >&6
8073 else
8074 if test -n "$NMEDIT"; then
8075 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8076 else
8077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8078 for as_dir in $PATH
8079 do
8080 IFS=$as_save_IFS
8081 test -z "$as_dir" && as_dir=.
8082 for ac_exec_ext in '' $ac_executable_extensions; do
8083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8084 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8086 break 2
8087 fi
8088 done
8089 done
8090 IFS=$as_save_IFS
8091
8092 fi
8093 fi
8094 NMEDIT=$ac_cv_prog_NMEDIT
8095 if test -n "$NMEDIT"; then
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8097 $as_echo "$NMEDIT" >&6; }
8098 else
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8100 $as_echo "no" >&6; }
8101 fi
8102
8103
8104 fi
8105 if test -z "$ac_cv_prog_NMEDIT"; then
8106 ac_ct_NMEDIT=$NMEDIT
8107 # Extract the first word of "nmedit", so it can be a program name with args.
8108 set dummy nmedit; ac_word=$2
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8110 $as_echo_n "checking for $ac_word... " >&6; }
8111 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8112 $as_echo_n "(cached) " >&6
8113 else
8114 if test -n "$ac_ct_NMEDIT"; then
8115 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8116 else
8117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8118 for as_dir in $PATH
8119 do
8120 IFS=$as_save_IFS
8121 test -z "$as_dir" && as_dir=.
8122 for ac_exec_ext in '' $ac_executable_extensions; do
8123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8124 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8126 break 2
8127 fi
8128 done
8129 done
8130 IFS=$as_save_IFS
8131
8132 fi
8133 fi
8134 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8135 if test -n "$ac_ct_NMEDIT"; then
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8137 $as_echo "$ac_ct_NMEDIT" >&6; }
8138 else
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8140 $as_echo "no" >&6; }
8141 fi
8142
8143 if test "x$ac_ct_NMEDIT" = x; then
8144 NMEDIT=":"
8145 else
8146 case $cross_compiling:$ac_tool_warned in
8147 yes:)
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8150 ac_tool_warned=yes ;;
8151 esac
8152 NMEDIT=$ac_ct_NMEDIT
8153 fi
8154 else
8155 NMEDIT="$ac_cv_prog_NMEDIT"
8156 fi
8157
8158 if test -n "$ac_tool_prefix"; then
8159 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8160 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8162 $as_echo_n "checking for $ac_word... " >&6; }
8163 if test "${ac_cv_prog_LIPO+set}" = set; then :
8164 $as_echo_n "(cached) " >&6
8165 else
8166 if test -n "$LIPO"; then
8167 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8168 else
8169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8170 for as_dir in $PATH
8171 do
8172 IFS=$as_save_IFS
8173 test -z "$as_dir" && as_dir=.
8174 for ac_exec_ext in '' $ac_executable_extensions; do
8175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8176 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8178 break 2
8179 fi
8180 done
8181 done
8182 IFS=$as_save_IFS
8183
8184 fi
8185 fi
8186 LIPO=$ac_cv_prog_LIPO
8187 if test -n "$LIPO"; then
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8189 $as_echo "$LIPO" >&6; }
8190 else
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8192 $as_echo "no" >&6; }
8193 fi
8194
8195
8196 fi
8197 if test -z "$ac_cv_prog_LIPO"; then
8198 ac_ct_LIPO=$LIPO
8199 # Extract the first word of "lipo", so it can be a program name with args.
8200 set dummy lipo; ac_word=$2
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8202 $as_echo_n "checking for $ac_word... " >&6; }
8203 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8204 $as_echo_n "(cached) " >&6
8205 else
8206 if test -n "$ac_ct_LIPO"; then
8207 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8208 else
8209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8210 for as_dir in $PATH
8211 do
8212 IFS=$as_save_IFS
8213 test -z "$as_dir" && as_dir=.
8214 for ac_exec_ext in '' $ac_executable_extensions; do
8215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8216 ac_cv_prog_ac_ct_LIPO="lipo"
8217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8218 break 2
8219 fi
8220 done
8221 done
8222 IFS=$as_save_IFS
8223
8224 fi
8225 fi
8226 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8227 if test -n "$ac_ct_LIPO"; then
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8229 $as_echo "$ac_ct_LIPO" >&6; }
8230 else
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232 $as_echo "no" >&6; }
8233 fi
8234
8235 if test "x$ac_ct_LIPO" = x; then
8236 LIPO=":"
8237 else
8238 case $cross_compiling:$ac_tool_warned in
8239 yes:)
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8242 ac_tool_warned=yes ;;
8243 esac
8244 LIPO=$ac_ct_LIPO
8245 fi
8246 else
8247 LIPO="$ac_cv_prog_LIPO"
8248 fi
8249
8250 if test -n "$ac_tool_prefix"; then
8251 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8252 set dummy ${ac_tool_prefix}otool; ac_word=$2
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8254 $as_echo_n "checking for $ac_word... " >&6; }
8255 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8256 $as_echo_n "(cached) " >&6
8257 else
8258 if test -n "$OTOOL"; then
8259 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8260 else
8261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8262 for as_dir in $PATH
8263 do
8264 IFS=$as_save_IFS
8265 test -z "$as_dir" && as_dir=.
8266 for ac_exec_ext in '' $ac_executable_extensions; do
8267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8268 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8270 break 2
8271 fi
8272 done
8273 done
8274 IFS=$as_save_IFS
8275
8276 fi
8277 fi
8278 OTOOL=$ac_cv_prog_OTOOL
8279 if test -n "$OTOOL"; then
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8281 $as_echo "$OTOOL" >&6; }
8282 else
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8284 $as_echo "no" >&6; }
8285 fi
8286
8287
8288 fi
8289 if test -z "$ac_cv_prog_OTOOL"; then
8290 ac_ct_OTOOL=$OTOOL
8291 # Extract the first word of "otool", so it can be a program name with args.
8292 set dummy otool; ac_word=$2
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8294 $as_echo_n "checking for $ac_word... " >&6; }
8295 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8296 $as_echo_n "(cached) " >&6
8297 else
8298 if test -n "$ac_ct_OTOOL"; then
8299 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8300 else
8301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8302 for as_dir in $PATH
8303 do
8304 IFS=$as_save_IFS
8305 test -z "$as_dir" && as_dir=.
8306 for ac_exec_ext in '' $ac_executable_extensions; do
8307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8308 ac_cv_prog_ac_ct_OTOOL="otool"
8309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8310 break 2
8311 fi
8312 done
8313 done
8314 IFS=$as_save_IFS
8315
8316 fi
8317 fi
8318 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8319 if test -n "$ac_ct_OTOOL"; then
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8321 $as_echo "$ac_ct_OTOOL" >&6; }
8322 else
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8324 $as_echo "no" >&6; }
8325 fi
8326
8327 if test "x$ac_ct_OTOOL" = x; then
8328 OTOOL=":"
8329 else
8330 case $cross_compiling:$ac_tool_warned in
8331 yes:)
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8333 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8334 ac_tool_warned=yes ;;
8335 esac
8336 OTOOL=$ac_ct_OTOOL
8337 fi
8338 else
8339 OTOOL="$ac_cv_prog_OTOOL"
8340 fi
8341
8342 if test -n "$ac_tool_prefix"; then
8343 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8344 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8346 $as_echo_n "checking for $ac_word... " >&6; }
8347 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8348 $as_echo_n "(cached) " >&6
8349 else
8350 if test -n "$OTOOL64"; then
8351 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8352 else
8353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8354 for as_dir in $PATH
8355 do
8356 IFS=$as_save_IFS
8357 test -z "$as_dir" && as_dir=.
8358 for ac_exec_ext in '' $ac_executable_extensions; do
8359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8360 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8362 break 2
8363 fi
8364 done
8365 done
8366 IFS=$as_save_IFS
8367
8368 fi
8369 fi
8370 OTOOL64=$ac_cv_prog_OTOOL64
8371 if test -n "$OTOOL64"; then
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8373 $as_echo "$OTOOL64" >&6; }
8374 else
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8376 $as_echo "no" >&6; }
8377 fi
8378
8379
8380 fi
8381 if test -z "$ac_cv_prog_OTOOL64"; then
8382 ac_ct_OTOOL64=$OTOOL64
8383 # Extract the first word of "otool64", so it can be a program name with args.
8384 set dummy otool64; ac_word=$2
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8386 $as_echo_n "checking for $ac_word... " >&6; }
8387 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8388 $as_echo_n "(cached) " >&6
8389 else
8390 if test -n "$ac_ct_OTOOL64"; then
8391 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8392 else
8393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8394 for as_dir in $PATH
8395 do
8396 IFS=$as_save_IFS
8397 test -z "$as_dir" && as_dir=.
8398 for ac_exec_ext in '' $ac_executable_extensions; do
8399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8400 ac_cv_prog_ac_ct_OTOOL64="otool64"
8401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8402 break 2
8403 fi
8404 done
8405 done
8406 IFS=$as_save_IFS
8407
8408 fi
8409 fi
8410 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8411 if test -n "$ac_ct_OTOOL64"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8413 $as_echo "$ac_ct_OTOOL64" >&6; }
8414 else
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416 $as_echo "no" >&6; }
8417 fi
8418
8419 if test "x$ac_ct_OTOOL64" = x; then
8420 OTOOL64=":"
8421 else
8422 case $cross_compiling:$ac_tool_warned in
8423 yes:)
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8426 ac_tool_warned=yes ;;
8427 esac
8428 OTOOL64=$ac_ct_OTOOL64
8429 fi
8430 else
8431 OTOOL64="$ac_cv_prog_OTOOL64"
8432 fi
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8461 $as_echo_n "checking for -single_module linker flag... " >&6; }
8462 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8463 $as_echo_n "(cached) " >&6
8464 else
8465 lt_cv_apple_cc_single_mod=no
8466 if test -z "${LT_MULTI_MODULE}"; then
8467 # By default we will add the -single_module flag. You can override
8468 # by either setting the environment variable LT_MULTI_MODULE
8469 # non-empty at configure time, or by adding -multi_module to the
8470 # link flags.
8471 rm -rf libconftest.dylib*
8472 echo "int foo(void){return 1;}" > conftest.c
8473 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8474 -dynamiclib -Wl,-single_module conftest.c" >&5
8475 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8476 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8477 _lt_result=$?
8478 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8479 lt_cv_apple_cc_single_mod=yes
8480 else
8481 cat conftest.err >&5
8482 fi
8483 rm -rf libconftest.dylib*
8484 rm -f conftest.*
8485 fi
8486 fi
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8488 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8490 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8491 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8492 $as_echo_n "(cached) " >&6
8493 else
8494 lt_cv_ld_exported_symbols_list=no
8495 save_LDFLAGS=$LDFLAGS
8496 echo "_main" > conftest.sym
8497 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8498 if test x$gcc_no_link = xyes; then
8499 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8500 fi
8501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8502 /* end confdefs.h. */
8503
8504 int
8505 main ()
8506 {
8507
8508 ;
8509 return 0;
8510 }
8511 _ACEOF
8512 if ac_fn_c_try_link "$LINENO"; then :
8513 lt_cv_ld_exported_symbols_list=yes
8514 else
8515 lt_cv_ld_exported_symbols_list=no
8516 fi
8517 rm -f core conftest.err conftest.$ac_objext \
8518 conftest$ac_exeext conftest.$ac_ext
8519 LDFLAGS="$save_LDFLAGS"
8520
8521 fi
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8523 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8525 $as_echo_n "checking for -force_load linker flag... " >&6; }
8526 if test "${lt_cv_ld_force_load+set}" = set; then :
8527 $as_echo_n "(cached) " >&6
8528 else
8529 lt_cv_ld_force_load=no
8530 cat > conftest.c << _LT_EOF
8531 int forced_loaded() { return 2;}
8532 _LT_EOF
8533 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8534 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8535 echo "$AR cru libconftest.a conftest.o" >&5
8536 $AR cru libconftest.a conftest.o 2>&5
8537 cat > conftest.c << _LT_EOF
8538 int main() { return 0;}
8539 _LT_EOF
8540 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8541 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8542 _lt_result=$?
8543 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8544 lt_cv_ld_force_load=yes
8545 else
8546 cat conftest.err >&5
8547 fi
8548 rm -f conftest.err libconftest.a conftest conftest.c
8549 rm -rf conftest.dSYM
8550
8551 fi
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8553 $as_echo "$lt_cv_ld_force_load" >&6; }
8554 case $host_os in
8555 rhapsody* | darwin1.[012])
8556 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8557 darwin1.*)
8558 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8559 darwin*) # darwin 5.x on
8560 # if running on 10.5 or later, the deployment target defaults
8561 # to the OS version, if on x86, and 10.4, the deployment
8562 # target defaults to 10.4. Don't you love it?
8563 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8564 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8565 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8566 10.[012]*)
8567 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8568 10.*)
8569 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8570 esac
8571 ;;
8572 esac
8573 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8574 _lt_dar_single_mod='$single_module'
8575 fi
8576 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8577 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8578 else
8579 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8580 fi
8581 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8582 _lt_dsymutil='~$DSYMUTIL $lib || :'
8583 else
8584 _lt_dsymutil=
8585 fi
8586 ;;
8587 esac
8588
8589 for ac_header in dlfcn.h
8590 do :
8591 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8592 "
8593 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8594 cat >>confdefs.h <<_ACEOF
8595 #define HAVE_DLFCN_H 1
8596 _ACEOF
8597
8598 fi
8599
8600 done
8601
8602
8603
8604
8605
8606 # Set options
8607
8608
8609
8610
8611 enable_win32_dll=no
8612
8613
8614 # Check whether --enable-shared was given.
8615 if test "${enable_shared+set}" = set; then :
8616 enableval=$enable_shared; p=${PACKAGE-default}
8617 case $enableval in
8618 yes) enable_shared=yes ;;
8619 no) enable_shared=no ;;
8620 *)
8621 enable_shared=no
8622 # Look at the argument we got. We use all the common list separators.
8623 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8624 for pkg in $enableval; do
8625 IFS="$lt_save_ifs"
8626 if test "X$pkg" = "X$p"; then
8627 enable_shared=yes
8628 fi
8629 done
8630 IFS="$lt_save_ifs"
8631 ;;
8632 esac
8633 else
8634 enable_shared=yes
8635 fi
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645 # Check whether --enable-static was given.
8646 if test "${enable_static+set}" = set; then :
8647 enableval=$enable_static; p=${PACKAGE-default}
8648 case $enableval in
8649 yes) enable_static=yes ;;
8650 no) enable_static=no ;;
8651 *)
8652 enable_static=no
8653 # Look at the argument we got. We use all the common list separators.
8654 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8655 for pkg in $enableval; do
8656 IFS="$lt_save_ifs"
8657 if test "X$pkg" = "X$p"; then
8658 enable_static=yes
8659 fi
8660 done
8661 IFS="$lt_save_ifs"
8662 ;;
8663 esac
8664 else
8665 enable_static=yes
8666 fi
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677 # Check whether --with-pic was given.
8678 if test "${with_pic+set}" = set; then :
8679 withval=$with_pic; pic_mode="$withval"
8680 else
8681 pic_mode=default
8682 fi
8683
8684
8685 test -z "$pic_mode" && pic_mode=default
8686
8687
8688
8689
8690
8691
8692
8693 # Check whether --enable-fast-install was given.
8694 if test "${enable_fast_install+set}" = set; then :
8695 enableval=$enable_fast_install; p=${PACKAGE-default}
8696 case $enableval in
8697 yes) enable_fast_install=yes ;;
8698 no) enable_fast_install=no ;;
8699 *)
8700 enable_fast_install=no
8701 # Look at the argument we got. We use all the common list separators.
8702 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8703 for pkg in $enableval; do
8704 IFS="$lt_save_ifs"
8705 if test "X$pkg" = "X$p"; then
8706 enable_fast_install=yes
8707 fi
8708 done
8709 IFS="$lt_save_ifs"
8710 ;;
8711 esac
8712 else
8713 enable_fast_install=yes
8714 fi
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726 # This can be used to rebuild libtool when needed
8727 LIBTOOL_DEPS="$ltmain"
8728
8729 # Always use our own libtool.
8730 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757 test -z "$LN_S" && LN_S="ln -s"
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772 if test -n "${ZSH_VERSION+set}" ; then
8773 setopt NO_GLOB_SUBST
8774 fi
8775
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8777 $as_echo_n "checking for objdir... " >&6; }
8778 if test "${lt_cv_objdir+set}" = set; then :
8779 $as_echo_n "(cached) " >&6
8780 else
8781 rm -f .libs 2>/dev/null
8782 mkdir .libs 2>/dev/null
8783 if test -d .libs; then
8784 lt_cv_objdir=.libs
8785 else
8786 # MS-DOS does not allow filenames that begin with a dot.
8787 lt_cv_objdir=_libs
8788 fi
8789 rmdir .libs 2>/dev/null
8790 fi
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8792 $as_echo "$lt_cv_objdir" >&6; }
8793 objdir=$lt_cv_objdir
8794
8795
8796
8797
8798
8799 cat >>confdefs.h <<_ACEOF
8800 #define LT_OBJDIR "$lt_cv_objdir/"
8801 _ACEOF
8802
8803
8804
8805
8806 case $host_os in
8807 aix3*)
8808 # AIX sometimes has problems with the GCC collect2 program. For some
8809 # reason, if we set the COLLECT_NAMES environment variable, the problems
8810 # vanish in a puff of smoke.
8811 if test "X${COLLECT_NAMES+set}" != Xset; then
8812 COLLECT_NAMES=
8813 export COLLECT_NAMES
8814 fi
8815 ;;
8816 esac
8817
8818 # Global variables:
8819 ofile=libtool
8820 can_build_shared=yes
8821
8822 # All known linkers require a `.a' archive for static linking (except MSVC,
8823 # which needs '.lib').
8824 libext=a
8825
8826 with_gnu_ld="$lt_cv_prog_gnu_ld"
8827
8828 old_CC="$CC"
8829 old_CFLAGS="$CFLAGS"
8830
8831 # Set sane defaults for various variables
8832 test -z "$CC" && CC=cc
8833 test -z "$LTCC" && LTCC=$CC
8834 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8835 test -z "$LD" && LD=ld
8836 test -z "$ac_objext" && ac_objext=o
8837
8838 for cc_temp in $compiler""; do
8839 case $cc_temp in
8840 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8841 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8842 \-*) ;;
8843 *) break;;
8844 esac
8845 done
8846 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8847
8848
8849 # Only perform the check for file, if the check method requires it
8850 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8851 case $deplibs_check_method in
8852 file_magic*)
8853 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8855 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8856 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8857 $as_echo_n "(cached) " >&6
8858 else
8859 case $MAGIC_CMD in
8860 [\\/*] | ?:[\\/]*)
8861 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8862 ;;
8863 *)
8864 lt_save_MAGIC_CMD="$MAGIC_CMD"
8865 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8866 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8867 for ac_dir in $ac_dummy; do
8868 IFS="$lt_save_ifs"
8869 test -z "$ac_dir" && ac_dir=.
8870 if test -f $ac_dir/${ac_tool_prefix}file; then
8871 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8872 if test -n "$file_magic_test_file"; then
8873 case $deplibs_check_method in
8874 "file_magic "*)
8875 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8876 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8877 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8878 $EGREP "$file_magic_regex" > /dev/null; then
8879 :
8880 else
8881 cat <<_LT_EOF 1>&2
8882
8883 *** Warning: the command libtool uses to detect shared libraries,
8884 *** $file_magic_cmd, produces output that libtool cannot recognize.
8885 *** The result is that libtool may fail to recognize shared libraries
8886 *** as such. This will affect the creation of libtool libraries that
8887 *** depend on shared libraries, but programs linked with such libtool
8888 *** libraries will work regardless of this problem. Nevertheless, you
8889 *** may want to report the problem to your system manager and/or to
8890 *** bug-libtool@gnu.org
8891
8892 _LT_EOF
8893 fi ;;
8894 esac
8895 fi
8896 break
8897 fi
8898 done
8899 IFS="$lt_save_ifs"
8900 MAGIC_CMD="$lt_save_MAGIC_CMD"
8901 ;;
8902 esac
8903 fi
8904
8905 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8906 if test -n "$MAGIC_CMD"; then
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8908 $as_echo "$MAGIC_CMD" >&6; }
8909 else
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8911 $as_echo "no" >&6; }
8912 fi
8913
8914
8915
8916
8917
8918 if test -z "$lt_cv_path_MAGIC_CMD"; then
8919 if test -n "$ac_tool_prefix"; then
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8921 $as_echo_n "checking for file... " >&6; }
8922 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8923 $as_echo_n "(cached) " >&6
8924 else
8925 case $MAGIC_CMD in
8926 [\\/*] | ?:[\\/]*)
8927 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8928 ;;
8929 *)
8930 lt_save_MAGIC_CMD="$MAGIC_CMD"
8931 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8932 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8933 for ac_dir in $ac_dummy; do
8934 IFS="$lt_save_ifs"
8935 test -z "$ac_dir" && ac_dir=.
8936 if test -f $ac_dir/file; then
8937 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8938 if test -n "$file_magic_test_file"; then
8939 case $deplibs_check_method in
8940 "file_magic "*)
8941 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8942 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8943 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8944 $EGREP "$file_magic_regex" > /dev/null; then
8945 :
8946 else
8947 cat <<_LT_EOF 1>&2
8948
8949 *** Warning: the command libtool uses to detect shared libraries,
8950 *** $file_magic_cmd, produces output that libtool cannot recognize.
8951 *** The result is that libtool may fail to recognize shared libraries
8952 *** as such. This will affect the creation of libtool libraries that
8953 *** depend on shared libraries, but programs linked with such libtool
8954 *** libraries will work regardless of this problem. Nevertheless, you
8955 *** may want to report the problem to your system manager and/or to
8956 *** bug-libtool@gnu.org
8957
8958 _LT_EOF
8959 fi ;;
8960 esac
8961 fi
8962 break
8963 fi
8964 done
8965 IFS="$lt_save_ifs"
8966 MAGIC_CMD="$lt_save_MAGIC_CMD"
8967 ;;
8968 esac
8969 fi
8970
8971 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8972 if test -n "$MAGIC_CMD"; then
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8974 $as_echo "$MAGIC_CMD" >&6; }
8975 else
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8977 $as_echo "no" >&6; }
8978 fi
8979
8980
8981 else
8982 MAGIC_CMD=:
8983 fi
8984 fi
8985
8986 fi
8987 ;;
8988 esac
8989
8990 # Use C for the default configuration in the libtool script
8991
8992 lt_save_CC="$CC"
8993 ac_ext=c
8994 ac_cpp='$CPP $CPPFLAGS'
8995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8998
8999
9000 # Source file extension for C test sources.
9001 ac_ext=c
9002
9003 # Object file extension for compiled C test sources.
9004 objext=o
9005 objext=$objext
9006
9007 # Code to be used in simple compile tests
9008 lt_simple_compile_test_code="int some_variable = 0;"
9009
9010 # Code to be used in simple link tests
9011 lt_simple_link_test_code='int main(){return(0);}'
9012
9013
9014
9015
9016
9017
9018
9019 # If no C compiler was specified, use CC.
9020 LTCC=${LTCC-"$CC"}
9021
9022 # If no C compiler flags were specified, use CFLAGS.
9023 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9024
9025 # Allow CC to be a program name with arguments.
9026 compiler=$CC
9027
9028 # Save the default compiler, since it gets overwritten when the other
9029 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9030 compiler_DEFAULT=$CC
9031
9032 # save warnings/boilerplate of simple test code
9033 ac_outfile=conftest.$ac_objext
9034 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9035 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9036 _lt_compiler_boilerplate=`cat conftest.err`
9037 $RM conftest*
9038
9039 ac_outfile=conftest.$ac_objext
9040 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9041 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9042 _lt_linker_boilerplate=`cat conftest.err`
9043 $RM -r conftest*
9044
9045
9046 ## CAVEAT EMPTOR:
9047 ## There is no encapsulation within the following macros, do not change
9048 ## the running order or otherwise move them around unless you know exactly
9049 ## what you are doing...
9050 if test -n "$compiler"; then
9051
9052 lt_prog_compiler_no_builtin_flag=
9053
9054 if test "$GCC" = yes; then
9055 case $cc_basename in
9056 nvcc*)
9057 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9058 *)
9059 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9060 esac
9061
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9063 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9064 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9065 $as_echo_n "(cached) " >&6
9066 else
9067 lt_cv_prog_compiler_rtti_exceptions=no
9068 ac_outfile=conftest.$ac_objext
9069 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9070 lt_compiler_flag="-fno-rtti -fno-exceptions"
9071 # Insert the option either (1) after the last *FLAGS variable, or
9072 # (2) before a word containing "conftest.", or (3) at the end.
9073 # Note that $ac_compile itself does not contain backslashes and begins
9074 # with a dollar sign (not a hyphen), so the echo should work correctly.
9075 # The option is referenced via a variable to avoid confusing sed.
9076 lt_compile=`echo "$ac_compile" | $SED \
9077 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9078 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9079 -e 's:$: $lt_compiler_flag:'`
9080 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9081 (eval "$lt_compile" 2>conftest.err)
9082 ac_status=$?
9083 cat conftest.err >&5
9084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085 if (exit $ac_status) && test -s "$ac_outfile"; then
9086 # The compiler can only warn and ignore the option if not recognized
9087 # So say no if there are warnings other than the usual output.
9088 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9089 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9090 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9091 lt_cv_prog_compiler_rtti_exceptions=yes
9092 fi
9093 fi
9094 $RM conftest*
9095
9096 fi
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9098 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9099
9100 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9101 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9102 else
9103 :
9104 fi
9105
9106 fi
9107
9108
9109
9110
9111
9112
9113 lt_prog_compiler_wl=
9114 lt_prog_compiler_pic=
9115 lt_prog_compiler_static=
9116
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9118 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9119
9120 if test "$GCC" = yes; then
9121 lt_prog_compiler_wl='-Wl,'
9122 lt_prog_compiler_static='-static'
9123
9124 case $host_os in
9125 aix*)
9126 # All AIX code is PIC.
9127 if test "$host_cpu" = ia64; then
9128 # AIX 5 now supports IA64 processor
9129 lt_prog_compiler_static='-Bstatic'
9130 fi
9131 ;;
9132
9133 amigaos*)
9134 case $host_cpu in
9135 powerpc)
9136 # see comment about AmigaOS4 .so support
9137 lt_prog_compiler_pic='-fPIC'
9138 ;;
9139 m68k)
9140 # FIXME: we need at least 68020 code to build shared libraries, but
9141 # adding the `-m68020' flag to GCC prevents building anything better,
9142 # like `-m68040'.
9143 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9144 ;;
9145 esac
9146 ;;
9147
9148 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9149 # PIC is the default for these OSes.
9150 ;;
9151
9152 mingw* | cygwin* | pw32* | os2* | cegcc*)
9153 # This hack is so that the source file can tell whether it is being
9154 # built for inclusion in a dll (and should export symbols for example).
9155 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9156 # (--disable-auto-import) libraries
9157 lt_prog_compiler_pic='-DDLL_EXPORT'
9158 ;;
9159
9160 darwin* | rhapsody*)
9161 # PIC is the default on this platform
9162 # Common symbols not allowed in MH_DYLIB files
9163 lt_prog_compiler_pic='-fno-common'
9164 ;;
9165
9166 haiku*)
9167 # PIC is the default for Haiku.
9168 # The "-static" flag exists, but is broken.
9169 lt_prog_compiler_static=
9170 ;;
9171
9172 hpux*)
9173 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9174 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9175 # sets the default TLS model and affects inlining.
9176 case $host_cpu in
9177 hppa*64*)
9178 # +Z the default
9179 ;;
9180 *)
9181 lt_prog_compiler_pic='-fPIC'
9182 ;;
9183 esac
9184 ;;
9185
9186 interix[3-9]*)
9187 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9188 # Instead, we relocate shared libraries at runtime.
9189 ;;
9190
9191 msdosdjgpp*)
9192 # Just because we use GCC doesn't mean we suddenly get shared libraries
9193 # on systems that don't support them.
9194 lt_prog_compiler_can_build_shared=no
9195 enable_shared=no
9196 ;;
9197
9198 *nto* | *qnx*)
9199 # QNX uses GNU C++, but need to define -shared option too, otherwise
9200 # it will coredump.
9201 lt_prog_compiler_pic='-fPIC -shared'
9202 ;;
9203
9204 sysv4*MP*)
9205 if test -d /usr/nec; then
9206 lt_prog_compiler_pic=-Kconform_pic
9207 fi
9208 ;;
9209
9210 *)
9211 lt_prog_compiler_pic='-fPIC'
9212 ;;
9213 esac
9214
9215 case $cc_basename in
9216 nvcc*) # Cuda Compiler Driver 2.2
9217 lt_prog_compiler_wl='-Xlinker '
9218 lt_prog_compiler_pic='-Xcompiler -fPIC'
9219 ;;
9220 esac
9221 else
9222 # PORTME Check for flag to pass linker flags through the system compiler.
9223 case $host_os in
9224 aix*)
9225 lt_prog_compiler_wl='-Wl,'
9226 if test "$host_cpu" = ia64; then
9227 # AIX 5 now supports IA64 processor
9228 lt_prog_compiler_static='-Bstatic'
9229 else
9230 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9231 fi
9232 ;;
9233
9234 mingw* | cygwin* | pw32* | os2* | cegcc*)
9235 # This hack is so that the source file can tell whether it is being
9236 # built for inclusion in a dll (and should export symbols for example).
9237 lt_prog_compiler_pic='-DDLL_EXPORT'
9238 ;;
9239
9240 hpux9* | hpux10* | hpux11*)
9241 lt_prog_compiler_wl='-Wl,'
9242 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9243 # not for PA HP-UX.
9244 case $host_cpu in
9245 hppa*64*|ia64*)
9246 # +Z the default
9247 ;;
9248 *)
9249 lt_prog_compiler_pic='+Z'
9250 ;;
9251 esac
9252 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9253 lt_prog_compiler_static='${wl}-a ${wl}archive'
9254 ;;
9255
9256 irix5* | irix6* | nonstopux*)
9257 lt_prog_compiler_wl='-Wl,'
9258 # PIC (with -KPIC) is the default.
9259 lt_prog_compiler_static='-non_shared'
9260 ;;
9261
9262 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9263 case $cc_basename in
9264 # old Intel for x86_64 which still supported -KPIC.
9265 ecc*)
9266 lt_prog_compiler_wl='-Wl,'
9267 lt_prog_compiler_pic='-KPIC'
9268 lt_prog_compiler_static='-static'
9269 ;;
9270 # icc used to be incompatible with GCC.
9271 # ICC 10 doesn't accept -KPIC any more.
9272 icc* | ifort*)
9273 lt_prog_compiler_wl='-Wl,'
9274 lt_prog_compiler_pic='-fPIC'
9275 lt_prog_compiler_static='-static'
9276 ;;
9277 # Lahey Fortran 8.1.
9278 lf95*)
9279 lt_prog_compiler_wl='-Wl,'
9280 lt_prog_compiler_pic='--shared'
9281 lt_prog_compiler_static='--static'
9282 ;;
9283 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9284 # Portland Group compilers (*not* the Pentium gcc compiler,
9285 # which looks to be a dead project)
9286 lt_prog_compiler_wl='-Wl,'
9287 lt_prog_compiler_pic='-fpic'
9288 lt_prog_compiler_static='-Bstatic'
9289 ;;
9290 ccc*)
9291 lt_prog_compiler_wl='-Wl,'
9292 # All Alpha code is PIC.
9293 lt_prog_compiler_static='-non_shared'
9294 ;;
9295 xl* | bgxl* | bgf* | mpixl*)
9296 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9297 lt_prog_compiler_wl='-Wl,'
9298 lt_prog_compiler_pic='-qpic'
9299 lt_prog_compiler_static='-qstaticlink'
9300 ;;
9301 *)
9302 case `$CC -V 2>&1 | sed 5q` in
9303 *Sun\ F* | *Sun*Fortran*)
9304 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9305 lt_prog_compiler_pic='-KPIC'
9306 lt_prog_compiler_static='-Bstatic'
9307 lt_prog_compiler_wl=''
9308 ;;
9309 *Sun\ C*)
9310 # Sun C 5.9
9311 lt_prog_compiler_pic='-KPIC'
9312 lt_prog_compiler_static='-Bstatic'
9313 lt_prog_compiler_wl='-Wl,'
9314 ;;
9315 esac
9316 ;;
9317 esac
9318 ;;
9319
9320 newsos6)
9321 lt_prog_compiler_pic='-KPIC'
9322 lt_prog_compiler_static='-Bstatic'
9323 ;;
9324
9325 *nto* | *qnx*)
9326 # QNX uses GNU C++, but need to define -shared option too, otherwise
9327 # it will coredump.
9328 lt_prog_compiler_pic='-fPIC -shared'
9329 ;;
9330
9331 osf3* | osf4* | osf5*)
9332 lt_prog_compiler_wl='-Wl,'
9333 # All OSF/1 code is PIC.
9334 lt_prog_compiler_static='-non_shared'
9335 ;;
9336
9337 rdos*)
9338 lt_prog_compiler_static='-non_shared'
9339 ;;
9340
9341 solaris*)
9342 lt_prog_compiler_pic='-KPIC'
9343 lt_prog_compiler_static='-Bstatic'
9344 case $cc_basename in
9345 f77* | f90* | f95*)
9346 lt_prog_compiler_wl='-Qoption ld ';;
9347 *)
9348 lt_prog_compiler_wl='-Wl,';;
9349 esac
9350 ;;
9351
9352 sunos4*)
9353 lt_prog_compiler_wl='-Qoption ld '
9354 lt_prog_compiler_pic='-PIC'
9355 lt_prog_compiler_static='-Bstatic'
9356 ;;
9357
9358 sysv4 | sysv4.2uw2* | sysv4.3*)
9359 lt_prog_compiler_wl='-Wl,'
9360 lt_prog_compiler_pic='-KPIC'
9361 lt_prog_compiler_static='-Bstatic'
9362 ;;
9363
9364 sysv4*MP*)
9365 if test -d /usr/nec ;then
9366 lt_prog_compiler_pic='-Kconform_pic'
9367 lt_prog_compiler_static='-Bstatic'
9368 fi
9369 ;;
9370
9371 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9372 lt_prog_compiler_wl='-Wl,'
9373 lt_prog_compiler_pic='-KPIC'
9374 lt_prog_compiler_static='-Bstatic'
9375 ;;
9376
9377 unicos*)
9378 lt_prog_compiler_wl='-Wl,'
9379 lt_prog_compiler_can_build_shared=no
9380 ;;
9381
9382 uts4*)
9383 lt_prog_compiler_pic='-pic'
9384 lt_prog_compiler_static='-Bstatic'
9385 ;;
9386
9387 *)
9388 lt_prog_compiler_can_build_shared=no
9389 ;;
9390 esac
9391 fi
9392
9393 case $host_os in
9394 # For platforms which do not support PIC, -DPIC is meaningless:
9395 *djgpp*)
9396 lt_prog_compiler_pic=
9397 ;;
9398 *)
9399 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9400 ;;
9401 esac
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9403 $as_echo "$lt_prog_compiler_pic" >&6; }
9404
9405
9406
9407
9408
9409
9410 #
9411 # Check to make sure the PIC flag actually works.
9412 #
9413 if test -n "$lt_prog_compiler_pic"; then
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9415 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9416 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9417 $as_echo_n "(cached) " >&6
9418 else
9419 lt_cv_prog_compiler_pic_works=no
9420 ac_outfile=conftest.$ac_objext
9421 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9422 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9423 # Insert the option either (1) after the last *FLAGS variable, or
9424 # (2) before a word containing "conftest.", or (3) at the end.
9425 # Note that $ac_compile itself does not contain backslashes and begins
9426 # with a dollar sign (not a hyphen), so the echo should work correctly.
9427 # The option is referenced via a variable to avoid confusing sed.
9428 lt_compile=`echo "$ac_compile" | $SED \
9429 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9430 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9431 -e 's:$: $lt_compiler_flag:'`
9432 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9433 (eval "$lt_compile" 2>conftest.err)
9434 ac_status=$?
9435 cat conftest.err >&5
9436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9437 if (exit $ac_status) && test -s "$ac_outfile"; then
9438 # The compiler can only warn and ignore the option if not recognized
9439 # So say no if there are warnings other than the usual output.
9440 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9441 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9442 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9443 lt_cv_prog_compiler_pic_works=yes
9444 fi
9445 fi
9446 $RM conftest*
9447
9448 fi
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9450 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9451
9452 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9453 case $lt_prog_compiler_pic in
9454 "" | " "*) ;;
9455 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9456 esac
9457 else
9458 lt_prog_compiler_pic=
9459 lt_prog_compiler_can_build_shared=no
9460 fi
9461
9462 fi
9463
9464
9465
9466
9467
9468
9469 #
9470 # Check to make sure the static flag actually works.
9471 #
9472 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9474 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9475 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9476 $as_echo_n "(cached) " >&6
9477 else
9478 lt_cv_prog_compiler_static_works=no
9479 save_LDFLAGS="$LDFLAGS"
9480 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9481 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9482 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9483 # The linker can only warn and ignore the option if not recognized
9484 # So say no if there are warnings
9485 if test -s conftest.err; then
9486 # Append any errors to the config.log.
9487 cat conftest.err 1>&5
9488 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9489 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9490 if diff conftest.exp conftest.er2 >/dev/null; then
9491 lt_cv_prog_compiler_static_works=yes
9492 fi
9493 else
9494 lt_cv_prog_compiler_static_works=yes
9495 fi
9496 fi
9497 $RM -r conftest*
9498 LDFLAGS="$save_LDFLAGS"
9499
9500 fi
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9502 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9503
9504 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9505 :
9506 else
9507 lt_prog_compiler_static=
9508 fi
9509
9510
9511
9512
9513
9514
9515
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9517 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9518 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9519 $as_echo_n "(cached) " >&6
9520 else
9521 lt_cv_prog_compiler_c_o=no
9522 $RM -r conftest 2>/dev/null
9523 mkdir conftest
9524 cd conftest
9525 mkdir out
9526 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9527
9528 lt_compiler_flag="-o out/conftest2.$ac_objext"
9529 # Insert the option either (1) after the last *FLAGS variable, or
9530 # (2) before a word containing "conftest.", or (3) at the end.
9531 # Note that $ac_compile itself does not contain backslashes and begins
9532 # with a dollar sign (not a hyphen), so the echo should work correctly.
9533 lt_compile=`echo "$ac_compile" | $SED \
9534 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9535 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9536 -e 's:$: $lt_compiler_flag:'`
9537 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9538 (eval "$lt_compile" 2>out/conftest.err)
9539 ac_status=$?
9540 cat out/conftest.err >&5
9541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9542 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9543 then
9544 # The compiler can only warn and ignore the option if not recognized
9545 # So say no if there are warnings
9546 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9547 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9548 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9549 lt_cv_prog_compiler_c_o=yes
9550 fi
9551 fi
9552 chmod u+w . 2>&5
9553 $RM conftest*
9554 # SGI C++ compiler will create directory out/ii_files/ for
9555 # template instantiation
9556 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9557 $RM out/* && rmdir out
9558 cd ..
9559 $RM -r conftest
9560 $RM conftest*
9561
9562 fi
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9564 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9565
9566
9567
9568
9569
9570
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9572 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9573 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9574 $as_echo_n "(cached) " >&6
9575 else
9576 lt_cv_prog_compiler_c_o=no
9577 $RM -r conftest 2>/dev/null
9578 mkdir conftest
9579 cd conftest
9580 mkdir out
9581 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9582
9583 lt_compiler_flag="-o out/conftest2.$ac_objext"
9584 # Insert the option either (1) after the last *FLAGS variable, or
9585 # (2) before a word containing "conftest.", or (3) at the end.
9586 # Note that $ac_compile itself does not contain backslashes and begins
9587 # with a dollar sign (not a hyphen), so the echo should work correctly.
9588 lt_compile=`echo "$ac_compile" | $SED \
9589 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9590 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9591 -e 's:$: $lt_compiler_flag:'`
9592 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9593 (eval "$lt_compile" 2>out/conftest.err)
9594 ac_status=$?
9595 cat out/conftest.err >&5
9596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9598 then
9599 # The compiler can only warn and ignore the option if not recognized
9600 # So say no if there are warnings
9601 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9602 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9603 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9604 lt_cv_prog_compiler_c_o=yes
9605 fi
9606 fi
9607 chmod u+w . 2>&5
9608 $RM conftest*
9609 # SGI C++ compiler will create directory out/ii_files/ for
9610 # template instantiation
9611 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9612 $RM out/* && rmdir out
9613 cd ..
9614 $RM -r conftest
9615 $RM conftest*
9616
9617 fi
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9619 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9620
9621
9622
9623
9624 hard_links="nottested"
9625 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9626 # do not overwrite the value of need_locks provided by the user
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9628 $as_echo_n "checking if we can lock with hard links... " >&6; }
9629 hard_links=yes
9630 $RM conftest*
9631 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9632 touch conftest.a
9633 ln conftest.a conftest.b 2>&5 || hard_links=no
9634 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9636 $as_echo "$hard_links" >&6; }
9637 if test "$hard_links" = no; then
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9639 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9640 need_locks=warn
9641 fi
9642 else
9643 need_locks=no
9644 fi
9645
9646
9647
9648
9649
9650
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9652 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9653
9654 runpath_var=
9655 allow_undefined_flag=
9656 always_export_symbols=no
9657 archive_cmds=
9658 archive_expsym_cmds=
9659 compiler_needs_object=no
9660 enable_shared_with_static_runtimes=no
9661 export_dynamic_flag_spec=
9662 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9663 hardcode_automatic=no
9664 hardcode_direct=no
9665 hardcode_direct_absolute=no
9666 hardcode_libdir_flag_spec=
9667 hardcode_libdir_flag_spec_ld=
9668 hardcode_libdir_separator=
9669 hardcode_minus_L=no
9670 hardcode_shlibpath_var=unsupported
9671 inherit_rpath=no
9672 link_all_deplibs=unknown
9673 module_cmds=
9674 module_expsym_cmds=
9675 old_archive_from_new_cmds=
9676 old_archive_from_expsyms_cmds=
9677 thread_safe_flag_spec=
9678 whole_archive_flag_spec=
9679 # include_expsyms should be a list of space-separated symbols to be *always*
9680 # included in the symbol list
9681 include_expsyms=
9682 # exclude_expsyms can be an extended regexp of symbols to exclude
9683 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9684 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9685 # as well as any symbol that contains `d'.
9686 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9687 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9688 # platforms (ab)use it in PIC code, but their linkers get confused if
9689 # the symbol is explicitly referenced. Since portable code cannot
9690 # rely on this symbol name, it's probably fine to never include it in
9691 # preloaded symbol tables.
9692 # Exclude shared library initialization/finalization symbols.
9693 extract_expsyms_cmds=
9694
9695 case $host_os in
9696 cygwin* | mingw* | pw32* | cegcc*)
9697 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9698 # When not using gcc, we currently assume that we are using
9699 # Microsoft Visual C++.
9700 if test "$GCC" != yes; then
9701 with_gnu_ld=no
9702 fi
9703 ;;
9704 interix*)
9705 # we just hope/assume this is gcc and not c89 (= MSVC++)
9706 with_gnu_ld=yes
9707 ;;
9708 openbsd*)
9709 with_gnu_ld=no
9710 ;;
9711 esac
9712
9713 ld_shlibs=yes
9714
9715 # On some targets, GNU ld is compatible enough with the native linker
9716 # that we're better off using the native interface for both.
9717 lt_use_gnu_ld_interface=no
9718 if test "$with_gnu_ld" = yes; then
9719 case $host_os in
9720 aix*)
9721 # The AIX port of GNU ld has always aspired to compatibility
9722 # with the native linker. However, as the warning in the GNU ld
9723 # block says, versions before 2.19.5* couldn't really create working
9724 # shared libraries, regardless of the interface used.
9725 case `$LD -v 2>&1` in
9726 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9727 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9728 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9729 *)
9730 lt_use_gnu_ld_interface=yes
9731 ;;
9732 esac
9733 ;;
9734 *)
9735 lt_use_gnu_ld_interface=yes
9736 ;;
9737 esac
9738 fi
9739
9740 if test "$lt_use_gnu_ld_interface" = yes; then
9741 # If archive_cmds runs LD, not CC, wlarc should be empty
9742 wlarc='${wl}'
9743
9744 # Set some defaults for GNU ld with shared library support. These
9745 # are reset later if shared libraries are not supported. Putting them
9746 # here allows them to be overridden if necessary.
9747 runpath_var=LD_RUN_PATH
9748 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9749 export_dynamic_flag_spec='${wl}--export-dynamic'
9750 # ancient GNU ld didn't support --whole-archive et. al.
9751 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9752 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9753 else
9754 whole_archive_flag_spec=
9755 fi
9756 supports_anon_versioning=no
9757 case `$LD -v 2>&1` in
9758 *GNU\ gold*) supports_anon_versioning=yes ;;
9759 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9760 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9761 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9762 *\ 2.11.*) ;; # other 2.11 versions
9763 *) supports_anon_versioning=yes ;;
9764 esac
9765
9766 # See if GNU ld supports shared libraries.
9767 case $host_os in
9768 aix[3-9]*)
9769 # On AIX/PPC, the GNU linker is very broken
9770 if test "$host_cpu" != ia64; then
9771 ld_shlibs=no
9772 cat <<_LT_EOF 1>&2
9773
9774 *** Warning: the GNU linker, at least up to release 2.19, is reported
9775 *** to be unable to reliably create shared libraries on AIX.
9776 *** Therefore, libtool is disabling shared libraries support. If you
9777 *** really care for shared libraries, you may want to install binutils
9778 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9779 *** You will then need to restart the configuration process.
9780
9781 _LT_EOF
9782 fi
9783 ;;
9784
9785 amigaos*)
9786 case $host_cpu in
9787 powerpc)
9788 # see comment about AmigaOS4 .so support
9789 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9790 archive_expsym_cmds=''
9791 ;;
9792 m68k)
9793 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9794 hardcode_libdir_flag_spec='-L$libdir'
9795 hardcode_minus_L=yes
9796 ;;
9797 esac
9798 ;;
9799
9800 beos*)
9801 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9802 allow_undefined_flag=unsupported
9803 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9804 # support --undefined. This deserves some investigation. FIXME
9805 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9806 else
9807 ld_shlibs=no
9808 fi
9809 ;;
9810
9811 cygwin* | mingw* | pw32* | cegcc*)
9812 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9813 # as there is no search path for DLLs.
9814 hardcode_libdir_flag_spec='-L$libdir'
9815 export_dynamic_flag_spec='${wl}--export-all-symbols'
9816 allow_undefined_flag=unsupported
9817 always_export_symbols=no
9818 enable_shared_with_static_runtimes=yes
9819 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9820
9821 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9822 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9823 # If the export-symbols file already is a .def file (1st line
9824 # is EXPORTS), use it as is; otherwise, prepend...
9825 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9826 cp $export_symbols $output_objdir/$soname.def;
9827 else
9828 echo EXPORTS > $output_objdir/$soname.def;
9829 cat $export_symbols >> $output_objdir/$soname.def;
9830 fi~
9831 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9832 else
9833 ld_shlibs=no
9834 fi
9835 ;;
9836
9837 haiku*)
9838 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9839 link_all_deplibs=yes
9840 ;;
9841
9842 interix[3-9]*)
9843 hardcode_direct=no
9844 hardcode_shlibpath_var=no
9845 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9846 export_dynamic_flag_spec='${wl}-E'
9847 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9848 # Instead, shared libraries are loaded at an image base (0x10000000 by
9849 # default) and relocated if they conflict, which is a slow very memory
9850 # consuming and fragmenting process. To avoid this, we pick a random,
9851 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9852 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9853 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9854 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9855 ;;
9856
9857 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9858 tmp_diet=no
9859 if test "$host_os" = linux-dietlibc; then
9860 case $cc_basename in
9861 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9862 esac
9863 fi
9864 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9865 && test "$tmp_diet" = no
9866 then
9867 tmp_addflag=
9868 tmp_sharedflag='-shared'
9869 case $cc_basename,$host_cpu in
9870 pgcc*) # Portland Group C compiler
9871 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9872 tmp_addflag=' $pic_flag'
9873 ;;
9874 pgf77* | pgf90* | pgf95* | pgfortran*)
9875 # Portland Group f77 and f90 compilers
9876 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9877 tmp_addflag=' $pic_flag -Mnomain' ;;
9878 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9879 tmp_addflag=' -i_dynamic' ;;
9880 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9881 tmp_addflag=' -i_dynamic -nofor_main' ;;
9882 ifc* | ifort*) # Intel Fortran compiler
9883 tmp_addflag=' -nofor_main' ;;
9884 lf95*) # Lahey Fortran 8.1
9885 whole_archive_flag_spec=
9886 tmp_sharedflag='--shared' ;;
9887 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9888 tmp_sharedflag='-qmkshrobj'
9889 tmp_addflag= ;;
9890 nvcc*) # Cuda Compiler Driver 2.2
9891 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9892 compiler_needs_object=yes
9893 ;;
9894 esac
9895 case `$CC -V 2>&1 | sed 5q` in
9896 *Sun\ C*) # Sun C 5.9
9897 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9898 compiler_needs_object=yes
9899 tmp_sharedflag='-G' ;;
9900 *Sun\ F*) # Sun Fortran 8.3
9901 tmp_sharedflag='-G' ;;
9902 esac
9903 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9904
9905 if test "x$supports_anon_versioning" = xyes; then
9906 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9907 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9908 echo "local: *; };" >> $output_objdir/$libname.ver~
9909 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9910 fi
9911
9912 case $cc_basename in
9913 xlf* | bgf* | bgxlf* | mpixlf*)
9914 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9915 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9916 hardcode_libdir_flag_spec=
9917 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9918 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9919 if test "x$supports_anon_versioning" = xyes; then
9920 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9921 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9922 echo "local: *; };" >> $output_objdir/$libname.ver~
9923 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9924 fi
9925 ;;
9926 esac
9927 else
9928 ld_shlibs=no
9929 fi
9930 ;;
9931
9932 netbsd*)
9933 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9934 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9935 wlarc=
9936 else
9937 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9938 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9939 fi
9940 ;;
9941
9942 solaris*)
9943 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9944 ld_shlibs=no
9945 cat <<_LT_EOF 1>&2
9946
9947 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9948 *** create shared libraries on Solaris systems. Therefore, libtool
9949 *** is disabling shared libraries support. We urge you to upgrade GNU
9950 *** binutils to release 2.9.1 or newer. Another option is to modify
9951 *** your PATH or compiler configuration so that the native linker is
9952 *** used, and then restart.
9953
9954 _LT_EOF
9955 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9956 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9957 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9958 else
9959 ld_shlibs=no
9960 fi
9961 ;;
9962
9963 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9964 case `$LD -v 2>&1` in
9965 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9966 ld_shlibs=no
9967 cat <<_LT_EOF 1>&2
9968
9969 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9970 *** reliably create shared libraries on SCO systems. Therefore, libtool
9971 *** is disabling shared libraries support. We urge you to upgrade GNU
9972 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9973 *** your PATH or compiler configuration so that the native linker is
9974 *** used, and then restart.
9975
9976 _LT_EOF
9977 ;;
9978 *)
9979 # For security reasons, it is highly recommended that you always
9980 # use absolute paths for naming shared libraries, and exclude the
9981 # DT_RUNPATH tag from executables and libraries. But doing so
9982 # requires that you compile everything twice, which is a pain.
9983 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9984 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9985 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9986 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9987 else
9988 ld_shlibs=no
9989 fi
9990 ;;
9991 esac
9992 ;;
9993
9994 sunos4*)
9995 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9996 wlarc=
9997 hardcode_direct=yes
9998 hardcode_shlibpath_var=no
9999 ;;
10000
10001 *)
10002 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10003 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10004 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10005 else
10006 ld_shlibs=no
10007 fi
10008 ;;
10009 esac
10010
10011 if test "$ld_shlibs" = no; then
10012 runpath_var=
10013 hardcode_libdir_flag_spec=
10014 export_dynamic_flag_spec=
10015 whole_archive_flag_spec=
10016 fi
10017 else
10018 # PORTME fill in a description of your system's linker (not GNU ld)
10019 case $host_os in
10020 aix3*)
10021 allow_undefined_flag=unsupported
10022 always_export_symbols=yes
10023 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10024 # Note: this linker hardcodes the directories in LIBPATH if there
10025 # are no directories specified by -L.
10026 hardcode_minus_L=yes
10027 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10028 # Neither direct hardcoding nor static linking is supported with a
10029 # broken collect2.
10030 hardcode_direct=unsupported
10031 fi
10032 ;;
10033
10034 aix[4-9]*)
10035 if test "$host_cpu" = ia64; then
10036 # On IA64, the linker does run time linking by default, so we don't
10037 # have to do anything special.
10038 aix_use_runtimelinking=no
10039 exp_sym_flag='-Bexport'
10040 no_entry_flag=""
10041 else
10042 # If we're using GNU nm, then we don't want the "-C" option.
10043 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10044 # Also, AIX nm treats weak defined symbols like other global
10045 # defined symbols, whereas GNU nm marks them as "W".
10046 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10047 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10048 else
10049 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10050 fi
10051 aix_use_runtimelinking=no
10052
10053 # Test if we are trying to use run time linking or normal
10054 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10055 # need to do runtime linking.
10056 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10057 for ld_flag in $LDFLAGS; do
10058 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10059 aix_use_runtimelinking=yes
10060 break
10061 fi
10062 done
10063 ;;
10064 esac
10065
10066 exp_sym_flag='-bexport'
10067 no_entry_flag='-bnoentry'
10068 fi
10069
10070 # When large executables or shared objects are built, AIX ld can
10071 # have problems creating the table of contents. If linking a library
10072 # or program results in "error TOC overflow" add -mminimal-toc to
10073 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10074 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10075
10076 archive_cmds=''
10077 hardcode_direct=yes
10078 hardcode_direct_absolute=yes
10079 hardcode_libdir_separator=':'
10080 link_all_deplibs=yes
10081 file_list_spec='${wl}-f,'
10082
10083 if test "$GCC" = yes; then
10084 case $host_os in aix4.[012]|aix4.[012].*)
10085 # We only want to do this on AIX 4.2 and lower, the check
10086 # below for broken collect2 doesn't work under 4.3+
10087 collect2name=`${CC} -print-prog-name=collect2`
10088 if test -f "$collect2name" &&
10089 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10090 then
10091 # We have reworked collect2
10092 :
10093 else
10094 # We have old collect2
10095 hardcode_direct=unsupported
10096 # It fails to find uninstalled libraries when the uninstalled
10097 # path is not listed in the libpath. Setting hardcode_minus_L
10098 # to unsupported forces relinking
10099 hardcode_minus_L=yes
10100 hardcode_libdir_flag_spec='-L$libdir'
10101 hardcode_libdir_separator=
10102 fi
10103 ;;
10104 esac
10105 shared_flag='-shared'
10106 if test "$aix_use_runtimelinking" = yes; then
10107 shared_flag="$shared_flag "'${wl}-G'
10108 fi
10109 else
10110 # not using gcc
10111 if test "$host_cpu" = ia64; then
10112 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10113 # chokes on -Wl,-G. The following line is correct:
10114 shared_flag='-G'
10115 else
10116 if test "$aix_use_runtimelinking" = yes; then
10117 shared_flag='${wl}-G'
10118 else
10119 shared_flag='${wl}-bM:SRE'
10120 fi
10121 fi
10122 fi
10123
10124 export_dynamic_flag_spec='${wl}-bexpall'
10125 # It seems that -bexpall does not export symbols beginning with
10126 # underscore (_), so it is better to generate a list of symbols to export.
10127 always_export_symbols=yes
10128 if test "$aix_use_runtimelinking" = yes; then
10129 # Warning - without using the other runtime loading flags (-brtl),
10130 # -berok will link without error, but may produce a broken library.
10131 allow_undefined_flag='-berok'
10132 # Determine the default libpath from the value encoded in an
10133 # empty executable.
10134 if test x$gcc_no_link = xyes; then
10135 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10136 fi
10137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10138 /* end confdefs.h. */
10139
10140 int
10141 main ()
10142 {
10143
10144 ;
10145 return 0;
10146 }
10147 _ACEOF
10148 if ac_fn_c_try_link "$LINENO"; then :
10149
10150 lt_aix_libpath_sed='
10151 /Import File Strings/,/^$/ {
10152 /^0/ {
10153 s/^0 *\(.*\)$/\1/
10154 p
10155 }
10156 }'
10157 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10158 # Check for a 64-bit object if we didn't find anything.
10159 if test -z "$aix_libpath"; then
10160 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10161 fi
10162 fi
10163 rm -f core conftest.err conftest.$ac_objext \
10164 conftest$ac_exeext conftest.$ac_ext
10165 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10166
10167 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10168 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10169 else
10170 if test "$host_cpu" = ia64; then
10171 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10172 allow_undefined_flag="-z nodefs"
10173 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10174 else
10175 # Determine the default libpath from the value encoded in an
10176 # empty executable.
10177 if test x$gcc_no_link = xyes; then
10178 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10179 fi
10180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10181 /* end confdefs.h. */
10182
10183 int
10184 main ()
10185 {
10186
10187 ;
10188 return 0;
10189 }
10190 _ACEOF
10191 if ac_fn_c_try_link "$LINENO"; then :
10192
10193 lt_aix_libpath_sed='
10194 /Import File Strings/,/^$/ {
10195 /^0/ {
10196 s/^0 *\(.*\)$/\1/
10197 p
10198 }
10199 }'
10200 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10201 # Check for a 64-bit object if we didn't find anything.
10202 if test -z "$aix_libpath"; then
10203 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10204 fi
10205 fi
10206 rm -f core conftest.err conftest.$ac_objext \
10207 conftest$ac_exeext conftest.$ac_ext
10208 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10209
10210 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10211 # Warning - without using the other run time loading flags,
10212 # -berok will link without error, but may produce a broken library.
10213 no_undefined_flag=' ${wl}-bernotok'
10214 allow_undefined_flag=' ${wl}-berok'
10215 if test "$with_gnu_ld" = yes; then
10216 # We only use this code for GNU lds that support --whole-archive.
10217 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10218 else
10219 # Exported symbols can be pulled into shared objects from archives
10220 whole_archive_flag_spec='$convenience'
10221 fi
10222 archive_cmds_need_lc=yes
10223 # This is similar to how AIX traditionally builds its shared libraries.
10224 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10225 fi
10226 fi
10227 ;;
10228
10229 amigaos*)
10230 case $host_cpu in
10231 powerpc)
10232 # see comment about AmigaOS4 .so support
10233 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10234 archive_expsym_cmds=''
10235 ;;
10236 m68k)
10237 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10238 hardcode_libdir_flag_spec='-L$libdir'
10239 hardcode_minus_L=yes
10240 ;;
10241 esac
10242 ;;
10243
10244 bsdi[45]*)
10245 export_dynamic_flag_spec=-rdynamic
10246 ;;
10247
10248 cygwin* | mingw* | pw32* | cegcc*)
10249 # When not using gcc, we currently assume that we are using
10250 # Microsoft Visual C++.
10251 # hardcode_libdir_flag_spec is actually meaningless, as there is
10252 # no search path for DLLs.
10253 hardcode_libdir_flag_spec=' '
10254 allow_undefined_flag=unsupported
10255 # Tell ltmain to make .lib files, not .a files.
10256 libext=lib
10257 # Tell ltmain to make .dll files, not .so files.
10258 shrext_cmds=".dll"
10259 # FIXME: Setting linknames here is a bad hack.
10260 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10261 # The linker will automatically build a .lib file if we build a DLL.
10262 old_archive_from_new_cmds='true'
10263 # FIXME: Should let the user specify the lib program.
10264 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10265 fix_srcfile_path='`cygpath -w "$srcfile"`'
10266 enable_shared_with_static_runtimes=yes
10267 ;;
10268
10269 darwin* | rhapsody*)
10270
10271
10272 archive_cmds_need_lc=no
10273 hardcode_direct=no
10274 hardcode_automatic=yes
10275 hardcode_shlibpath_var=unsupported
10276 if test "$lt_cv_ld_force_load" = "yes"; then
10277 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10278 else
10279 whole_archive_flag_spec=''
10280 fi
10281 link_all_deplibs=yes
10282 allow_undefined_flag="$_lt_dar_allow_undefined"
10283 case $cc_basename in
10284 ifort*) _lt_dar_can_shared=yes ;;
10285 *) _lt_dar_can_shared=$GCC ;;
10286 esac
10287 if test "$_lt_dar_can_shared" = "yes"; then
10288 output_verbose_link_cmd=func_echo_all
10289 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10290 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10291 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10292 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10293
10294 else
10295 ld_shlibs=no
10296 fi
10297
10298 ;;
10299
10300 dgux*)
10301 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10302 hardcode_libdir_flag_spec='-L$libdir'
10303 hardcode_shlibpath_var=no
10304 ;;
10305
10306 freebsd1*)
10307 ld_shlibs=no
10308 ;;
10309
10310 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10311 # support. Future versions do this automatically, but an explicit c++rt0.o
10312 # does not break anything, and helps significantly (at the cost of a little
10313 # extra space).
10314 freebsd2.2*)
10315 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10316 hardcode_libdir_flag_spec='-R$libdir'
10317 hardcode_direct=yes
10318 hardcode_shlibpath_var=no
10319 ;;
10320
10321 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10322 freebsd2*)
10323 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10324 hardcode_direct=yes
10325 hardcode_minus_L=yes
10326 hardcode_shlibpath_var=no
10327 ;;
10328
10329 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10330 freebsd* | dragonfly*)
10331 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10332 hardcode_libdir_flag_spec='-R$libdir'
10333 hardcode_direct=yes
10334 hardcode_shlibpath_var=no
10335 ;;
10336
10337 hpux9*)
10338 if test "$GCC" = yes; then
10339 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'
10340 else
10341 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'
10342 fi
10343 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10344 hardcode_libdir_separator=:
10345 hardcode_direct=yes
10346
10347 # hardcode_minus_L: Not really in the search PATH,
10348 # but as the default location of the library.
10349 hardcode_minus_L=yes
10350 export_dynamic_flag_spec='${wl}-E'
10351 ;;
10352
10353 hpux10*)
10354 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10355 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10356 else
10357 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10358 fi
10359 if test "$with_gnu_ld" = no; then
10360 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10361 hardcode_libdir_flag_spec_ld='+b $libdir'
10362 hardcode_libdir_separator=:
10363 hardcode_direct=yes
10364 hardcode_direct_absolute=yes
10365 export_dynamic_flag_spec='${wl}-E'
10366 # hardcode_minus_L: Not really in the search PATH,
10367 # but as the default location of the library.
10368 hardcode_minus_L=yes
10369 fi
10370 ;;
10371
10372 hpux11*)
10373 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10374 case $host_cpu in
10375 hppa*64*)
10376 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10377 ;;
10378 ia64*)
10379 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10380 ;;
10381 *)
10382 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10383 ;;
10384 esac
10385 else
10386 case $host_cpu in
10387 hppa*64*)
10388 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10389 ;;
10390 ia64*)
10391 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10392 ;;
10393 *)
10394
10395 # Older versions of the 11.00 compiler do not understand -b yet
10396 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10398 $as_echo_n "checking if $CC understands -b... " >&6; }
10399 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10400 $as_echo_n "(cached) " >&6
10401 else
10402 lt_cv_prog_compiler__b=no
10403 save_LDFLAGS="$LDFLAGS"
10404 LDFLAGS="$LDFLAGS -b"
10405 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10406 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10407 # The linker can only warn and ignore the option if not recognized
10408 # So say no if there are warnings
10409 if test -s conftest.err; then
10410 # Append any errors to the config.log.
10411 cat conftest.err 1>&5
10412 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10413 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10414 if diff conftest.exp conftest.er2 >/dev/null; then
10415 lt_cv_prog_compiler__b=yes
10416 fi
10417 else
10418 lt_cv_prog_compiler__b=yes
10419 fi
10420 fi
10421 $RM -r conftest*
10422 LDFLAGS="$save_LDFLAGS"
10423
10424 fi
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10426 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10427
10428 if test x"$lt_cv_prog_compiler__b" = xyes; then
10429 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10430 else
10431 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10432 fi
10433
10434 ;;
10435 esac
10436 fi
10437 if test "$with_gnu_ld" = no; then
10438 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10439 hardcode_libdir_separator=:
10440
10441 case $host_cpu in
10442 hppa*64*|ia64*)
10443 hardcode_direct=no
10444 hardcode_shlibpath_var=no
10445 ;;
10446 *)
10447 hardcode_direct=yes
10448 hardcode_direct_absolute=yes
10449 export_dynamic_flag_spec='${wl}-E'
10450
10451 # hardcode_minus_L: Not really in the search PATH,
10452 # but as the default location of the library.
10453 hardcode_minus_L=yes
10454 ;;
10455 esac
10456 fi
10457 ;;
10458
10459 irix5* | irix6* | nonstopux*)
10460 if test "$GCC" = yes; then
10461 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'
10462 # Try to use the -exported_symbol ld option, if it does not
10463 # work, assume that -exports_file does not work either and
10464 # implicitly export all symbols.
10465 save_LDFLAGS="$LDFLAGS"
10466 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10467 if test x$gcc_no_link = xyes; then
10468 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10469 fi
10470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10471 /* end confdefs.h. */
10472 int foo(void) {}
10473 _ACEOF
10474 if ac_fn_c_try_link "$LINENO"; then :
10475 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'
10476
10477 fi
10478 rm -f core conftest.err conftest.$ac_objext \
10479 conftest$ac_exeext conftest.$ac_ext
10480 LDFLAGS="$save_LDFLAGS"
10481 else
10482 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'
10483 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'
10484 fi
10485 archive_cmds_need_lc='no'
10486 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10487 hardcode_libdir_separator=:
10488 inherit_rpath=yes
10489 link_all_deplibs=yes
10490 ;;
10491
10492 netbsd*)
10493 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10494 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10495 else
10496 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10497 fi
10498 hardcode_libdir_flag_spec='-R$libdir'
10499 hardcode_direct=yes
10500 hardcode_shlibpath_var=no
10501 ;;
10502
10503 newsos6)
10504 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10505 hardcode_direct=yes
10506 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10507 hardcode_libdir_separator=:
10508 hardcode_shlibpath_var=no
10509 ;;
10510
10511 *nto* | *qnx*)
10512 ;;
10513
10514 openbsd*)
10515 if test -f /usr/libexec/ld.so; then
10516 hardcode_direct=yes
10517 hardcode_shlibpath_var=no
10518 hardcode_direct_absolute=yes
10519 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10520 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10521 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10522 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10523 export_dynamic_flag_spec='${wl}-E'
10524 else
10525 case $host_os in
10526 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10527 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10528 hardcode_libdir_flag_spec='-R$libdir'
10529 ;;
10530 *)
10531 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10532 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10533 ;;
10534 esac
10535 fi
10536 else
10537 ld_shlibs=no
10538 fi
10539 ;;
10540
10541 os2*)
10542 hardcode_libdir_flag_spec='-L$libdir'
10543 hardcode_minus_L=yes
10544 allow_undefined_flag=unsupported
10545 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'
10546 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10547 ;;
10548
10549 osf3*)
10550 if test "$GCC" = yes; then
10551 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10552 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'
10553 else
10554 allow_undefined_flag=' -expect_unresolved \*'
10555 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'
10556 fi
10557 archive_cmds_need_lc='no'
10558 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10559 hardcode_libdir_separator=:
10560 ;;
10561
10562 osf4* | osf5*) # as osf3* with the addition of -msym flag
10563 if test "$GCC" = yes; then
10564 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10565 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'
10566 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10567 else
10568 allow_undefined_flag=' -expect_unresolved \*'
10569 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'
10570 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~
10571 $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'
10572
10573 # Both c and cxx compiler support -rpath directly
10574 hardcode_libdir_flag_spec='-rpath $libdir'
10575 fi
10576 archive_cmds_need_lc='no'
10577 hardcode_libdir_separator=:
10578 ;;
10579
10580 solaris*)
10581 no_undefined_flag=' -z defs'
10582 if test "$GCC" = yes; then
10583 wlarc='${wl}'
10584 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10585 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10586 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10587 else
10588 case `$CC -V 2>&1` in
10589 *"Compilers 5.0"*)
10590 wlarc=''
10591 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10592 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10593 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10594 ;;
10595 *)
10596 wlarc='${wl}'
10597 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10598 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10599 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10600 ;;
10601 esac
10602 fi
10603 hardcode_libdir_flag_spec='-R$libdir'
10604 hardcode_shlibpath_var=no
10605 case $host_os in
10606 solaris2.[0-5] | solaris2.[0-5].*) ;;
10607 *)
10608 # The compiler driver will combine and reorder linker options,
10609 # but understands `-z linker_flag'. GCC discards it without `$wl',
10610 # but is careful enough not to reorder.
10611 # Supported since Solaris 2.6 (maybe 2.5.1?)
10612 if test "$GCC" = yes; then
10613 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10614 else
10615 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10616 fi
10617 ;;
10618 esac
10619 link_all_deplibs=yes
10620 ;;
10621
10622 sunos4*)
10623 if test "x$host_vendor" = xsequent; then
10624 # Use $CC to link under sequent, because it throws in some extra .o
10625 # files that make .init and .fini sections work.
10626 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10627 else
10628 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10629 fi
10630 hardcode_libdir_flag_spec='-L$libdir'
10631 hardcode_direct=yes
10632 hardcode_minus_L=yes
10633 hardcode_shlibpath_var=no
10634 ;;
10635
10636 sysv4)
10637 case $host_vendor in
10638 sni)
10639 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10640 hardcode_direct=yes # is this really true???
10641 ;;
10642 siemens)
10643 ## LD is ld it makes a PLAMLIB
10644 ## CC just makes a GrossModule.
10645 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10646 reload_cmds='$CC -r -o $output$reload_objs'
10647 hardcode_direct=no
10648 ;;
10649 motorola)
10650 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10651 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10652 ;;
10653 esac
10654 runpath_var='LD_RUN_PATH'
10655 hardcode_shlibpath_var=no
10656 ;;
10657
10658 sysv4.3*)
10659 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10660 hardcode_shlibpath_var=no
10661 export_dynamic_flag_spec='-Bexport'
10662 ;;
10663
10664 sysv4*MP*)
10665 if test -d /usr/nec; then
10666 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10667 hardcode_shlibpath_var=no
10668 runpath_var=LD_RUN_PATH
10669 hardcode_runpath_var=yes
10670 ld_shlibs=yes
10671 fi
10672 ;;
10673
10674 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10675 no_undefined_flag='${wl}-z,text'
10676 archive_cmds_need_lc=no
10677 hardcode_shlibpath_var=no
10678 runpath_var='LD_RUN_PATH'
10679
10680 if test "$GCC" = yes; then
10681 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10682 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10683 else
10684 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10685 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10686 fi
10687 ;;
10688
10689 sysv5* | sco3.2v5* | sco5v6*)
10690 # Note: We can NOT use -z defs as we might desire, because we do not
10691 # link with -lc, and that would cause any symbols used from libc to
10692 # always be unresolved, which means just about no library would
10693 # ever link correctly. If we're not using GNU ld we use -z text
10694 # though, which does catch some bad symbols but isn't as heavy-handed
10695 # as -z defs.
10696 no_undefined_flag='${wl}-z,text'
10697 allow_undefined_flag='${wl}-z,nodefs'
10698 archive_cmds_need_lc=no
10699 hardcode_shlibpath_var=no
10700 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10701 hardcode_libdir_separator=':'
10702 link_all_deplibs=yes
10703 export_dynamic_flag_spec='${wl}-Bexport'
10704 runpath_var='LD_RUN_PATH'
10705
10706 if test "$GCC" = yes; then
10707 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10708 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10709 else
10710 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10711 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10712 fi
10713 ;;
10714
10715 uts4*)
10716 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10717 hardcode_libdir_flag_spec='-L$libdir'
10718 hardcode_shlibpath_var=no
10719 ;;
10720
10721 *)
10722 ld_shlibs=no
10723 ;;
10724 esac
10725
10726 if test x$host_vendor = xsni; then
10727 case $host in
10728 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10729 export_dynamic_flag_spec='${wl}-Blargedynsym'
10730 ;;
10731 esac
10732 fi
10733 fi
10734
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10736 $as_echo "$ld_shlibs" >&6; }
10737 test "$ld_shlibs" = no && can_build_shared=no
10738
10739 with_gnu_ld=$with_gnu_ld
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755 #
10756 # Do we need to explicitly link libc?
10757 #
10758 case "x$archive_cmds_need_lc" in
10759 x|xyes)
10760 # Assume -lc should be added
10761 archive_cmds_need_lc=yes
10762
10763 if test "$enable_shared" = yes && test "$GCC" = yes; then
10764 case $archive_cmds in
10765 *'~'*)
10766 # FIXME: we may have to deal with multi-command sequences.
10767 ;;
10768 '$CC '*)
10769 # Test whether the compiler implicitly links with -lc since on some
10770 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10771 # to ld, don't add -lc before -lgcc.
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10773 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10774 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10775 $as_echo_n "(cached) " >&6
10776 else
10777 $RM conftest*
10778 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10779
10780 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10781 (eval $ac_compile) 2>&5
10782 ac_status=$?
10783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10784 test $ac_status = 0; } 2>conftest.err; then
10785 soname=conftest
10786 lib=conftest
10787 libobjs=conftest.$ac_objext
10788 deplibs=
10789 wl=$lt_prog_compiler_wl
10790 pic_flag=$lt_prog_compiler_pic
10791 compiler_flags=-v
10792 linker_flags=-v
10793 verstring=
10794 output_objdir=.
10795 libname=conftest
10796 lt_save_allow_undefined_flag=$allow_undefined_flag
10797 allow_undefined_flag=
10798 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10799 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10800 ac_status=$?
10801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10802 test $ac_status = 0; }
10803 then
10804 lt_cv_archive_cmds_need_lc=no
10805 else
10806 lt_cv_archive_cmds_need_lc=yes
10807 fi
10808 allow_undefined_flag=$lt_save_allow_undefined_flag
10809 else
10810 cat conftest.err 1>&5
10811 fi
10812 $RM conftest*
10813
10814 fi
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10816 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10817 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10818 ;;
10819 esac
10820 fi
10821 ;;
10822 esac
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10981 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10982
10983 if test "$GCC" = yes; then
10984 case $host_os in
10985 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10986 *) lt_awk_arg="/^libraries:/" ;;
10987 esac
10988 case $host_os in
10989 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10990 *) lt_sed_strip_eq="s,=/,/,g" ;;
10991 esac
10992 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10993 case $lt_search_path_spec in
10994 *\;*)
10995 # if the path contains ";" then we assume it to be the separator
10996 # otherwise default to the standard path separator (i.e. ":") - it is
10997 # assumed that no part of a normal pathname contains ";" but that should
10998 # okay in the real world where ";" in dirpaths is itself problematic.
10999 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11000 ;;
11001 *)
11002 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11003 ;;
11004 esac
11005 # Ok, now we have the path, separated by spaces, we can step through it
11006 # and add multilib dir if necessary.
11007 lt_tmp_lt_search_path_spec=
11008 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11009 for lt_sys_path in $lt_search_path_spec; do
11010 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11011 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11012 else
11013 test -d "$lt_sys_path" && \
11014 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11015 fi
11016 done
11017 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11018 BEGIN {RS=" "; FS="/|\n";} {
11019 lt_foo="";
11020 lt_count=0;
11021 for (lt_i = NF; lt_i > 0; lt_i--) {
11022 if ($lt_i != "" && $lt_i != ".") {
11023 if ($lt_i == "..") {
11024 lt_count++;
11025 } else {
11026 if (lt_count == 0) {
11027 lt_foo="/" $lt_i lt_foo;
11028 } else {
11029 lt_count--;
11030 }
11031 }
11032 }
11033 }
11034 if (lt_foo != "") { lt_freq[lt_foo]++; }
11035 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11036 }'`
11037 # AWK program above erroneously prepends '/' to C:/dos/paths
11038 # for these hosts.
11039 case $host_os in
11040 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11041 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11042 esac
11043 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11044 else
11045 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11046 fi
11047 library_names_spec=
11048 libname_spec='lib$name'
11049 soname_spec=
11050 shrext_cmds=".so"
11051 postinstall_cmds=
11052 postuninstall_cmds=
11053 finish_cmds=
11054 finish_eval=
11055 shlibpath_var=
11056 shlibpath_overrides_runpath=unknown
11057 version_type=none
11058 dynamic_linker="$host_os ld.so"
11059 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11060 need_lib_prefix=unknown
11061 hardcode_into_libs=no
11062
11063 # when you set need_version to no, make sure it does not cause -set_version
11064 # flags to be left without arguments
11065 need_version=unknown
11066
11067 case $host_os in
11068 aix3*)
11069 version_type=linux
11070 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11071 shlibpath_var=LIBPATH
11072
11073 # AIX 3 has no versioning support, so we append a major version to the name.
11074 soname_spec='${libname}${release}${shared_ext}$major'
11075 ;;
11076
11077 aix[4-9]*)
11078 version_type=linux
11079 need_lib_prefix=no
11080 need_version=no
11081 hardcode_into_libs=yes
11082 if test "$host_cpu" = ia64; then
11083 # AIX 5 supports IA64
11084 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11085 shlibpath_var=LD_LIBRARY_PATH
11086 else
11087 # With GCC up to 2.95.x, collect2 would create an import file
11088 # for dependence libraries. The import file would start with
11089 # the line `#! .'. This would cause the generated library to
11090 # depend on `.', always an invalid library. This was fixed in
11091 # development snapshots of GCC prior to 3.0.
11092 case $host_os in
11093 aix4 | aix4.[01] | aix4.[01].*)
11094 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11095 echo ' yes '
11096 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11097 :
11098 else
11099 can_build_shared=no
11100 fi
11101 ;;
11102 esac
11103 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11104 # soname into executable. Probably we can add versioning support to
11105 # collect2, so additional links can be useful in future.
11106 if test "$aix_use_runtimelinking" = yes; then
11107 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11108 # instead of lib<name>.a to let people know that these are not
11109 # typical AIX shared libraries.
11110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11111 else
11112 # We preserve .a as extension for shared libraries through AIX4.2
11113 # and later when we are not doing run time linking.
11114 library_names_spec='${libname}${release}.a $libname.a'
11115 soname_spec='${libname}${release}${shared_ext}$major'
11116 fi
11117 shlibpath_var=LIBPATH
11118 fi
11119 ;;
11120
11121 amigaos*)
11122 case $host_cpu in
11123 powerpc)
11124 # Since July 2007 AmigaOS4 officially supports .so libraries.
11125 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11127 ;;
11128 m68k)
11129 library_names_spec='$libname.ixlibrary $libname.a'
11130 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11131 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'
11132 ;;
11133 esac
11134 ;;
11135
11136 beos*)
11137 library_names_spec='${libname}${shared_ext}'
11138 dynamic_linker="$host_os ld.so"
11139 shlibpath_var=LIBRARY_PATH
11140 ;;
11141
11142 bsdi[45]*)
11143 version_type=linux
11144 need_version=no
11145 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11146 soname_spec='${libname}${release}${shared_ext}$major'
11147 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11148 shlibpath_var=LD_LIBRARY_PATH
11149 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11150 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11151 # the default ld.so.conf also contains /usr/contrib/lib and
11152 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11153 # libtool to hard-code these into programs
11154 ;;
11155
11156 cygwin* | mingw* | pw32* | cegcc*)
11157 version_type=windows
11158 shrext_cmds=".dll"
11159 need_version=no
11160 need_lib_prefix=no
11161
11162 case $GCC,$host_os in
11163 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11164 library_names_spec='$libname.dll.a'
11165 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11166 postinstall_cmds='base_file=`basename \${file}`~
11167 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11168 dldir=$destdir/`dirname \$dlpath`~
11169 test -d \$dldir || mkdir -p \$dldir~
11170 $install_prog $dir/$dlname \$dldir/$dlname~
11171 chmod a+x \$dldir/$dlname~
11172 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11173 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11174 fi'
11175 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11176 dlpath=$dir/\$dldll~
11177 $RM \$dlpath'
11178 shlibpath_overrides_runpath=yes
11179
11180 case $host_os in
11181 cygwin*)
11182 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11183 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11184
11185 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11186 ;;
11187 mingw* | cegcc*)
11188 # MinGW DLLs use traditional 'lib' prefix
11189 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11190 ;;
11191 pw32*)
11192 # pw32 DLLs use 'pw' prefix rather than 'lib'
11193 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11194 ;;
11195 esac
11196 ;;
11197
11198 *)
11199 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11200 ;;
11201 esac
11202 dynamic_linker='Win32 ld.exe'
11203 # FIXME: first we should search . and the directory the executable is in
11204 shlibpath_var=PATH
11205 ;;
11206
11207 darwin* | rhapsody*)
11208 dynamic_linker="$host_os dyld"
11209 version_type=darwin
11210 need_lib_prefix=no
11211 need_version=no
11212 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11213 soname_spec='${libname}${release}${major}$shared_ext'
11214 shlibpath_overrides_runpath=yes
11215 shlibpath_var=DYLD_LIBRARY_PATH
11216 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11217
11218 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11219 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11220 ;;
11221
11222 dgux*)
11223 version_type=linux
11224 need_lib_prefix=no
11225 need_version=no
11226 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11227 soname_spec='${libname}${release}${shared_ext}$major'
11228 shlibpath_var=LD_LIBRARY_PATH
11229 ;;
11230
11231 freebsd1*)
11232 dynamic_linker=no
11233 ;;
11234
11235 freebsd* | dragonfly*)
11236 # DragonFly does not have aout. When/if they implement a new
11237 # versioning mechanism, adjust this.
11238 if test -x /usr/bin/objformat; then
11239 objformat=`/usr/bin/objformat`
11240 else
11241 case $host_os in
11242 freebsd[123]*) objformat=aout ;;
11243 *) objformat=elf ;;
11244 esac
11245 fi
11246 version_type=freebsd-$objformat
11247 case $version_type in
11248 freebsd-elf*)
11249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11250 need_version=no
11251 need_lib_prefix=no
11252 ;;
11253 freebsd-*)
11254 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11255 need_version=yes
11256 ;;
11257 esac
11258 shlibpath_var=LD_LIBRARY_PATH
11259 case $host_os in
11260 freebsd2*)
11261 shlibpath_overrides_runpath=yes
11262 ;;
11263 freebsd3.[01]* | freebsdelf3.[01]*)
11264 shlibpath_overrides_runpath=yes
11265 hardcode_into_libs=yes
11266 ;;
11267 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11268 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11269 shlibpath_overrides_runpath=no
11270 hardcode_into_libs=yes
11271 ;;
11272 *) # from 4.6 on, and DragonFly
11273 shlibpath_overrides_runpath=yes
11274 hardcode_into_libs=yes
11275 ;;
11276 esac
11277 ;;
11278
11279 gnu*)
11280 version_type=linux
11281 need_lib_prefix=no
11282 need_version=no
11283 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11284 soname_spec='${libname}${release}${shared_ext}$major'
11285 shlibpath_var=LD_LIBRARY_PATH
11286 hardcode_into_libs=yes
11287 ;;
11288
11289 haiku*)
11290 version_type=linux
11291 need_lib_prefix=no
11292 need_version=no
11293 dynamic_linker="$host_os runtime_loader"
11294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11295 soname_spec='${libname}${release}${shared_ext}$major'
11296 shlibpath_var=LIBRARY_PATH
11297 shlibpath_overrides_runpath=yes
11298 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11299 hardcode_into_libs=yes
11300 ;;
11301
11302 hpux9* | hpux10* | hpux11*)
11303 # Give a soname corresponding to the major version so that dld.sl refuses to
11304 # link against other versions.
11305 version_type=sunos
11306 need_lib_prefix=no
11307 need_version=no
11308 case $host_cpu in
11309 ia64*)
11310 shrext_cmds='.so'
11311 hardcode_into_libs=yes
11312 dynamic_linker="$host_os dld.so"
11313 shlibpath_var=LD_LIBRARY_PATH
11314 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11316 soname_spec='${libname}${release}${shared_ext}$major'
11317 if test "X$HPUX_IA64_MODE" = X32; then
11318 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11319 else
11320 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11321 fi
11322 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11323 ;;
11324 hppa*64*)
11325 shrext_cmds='.sl'
11326 hardcode_into_libs=yes
11327 dynamic_linker="$host_os dld.sl"
11328 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11329 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11331 soname_spec='${libname}${release}${shared_ext}$major'
11332 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11333 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11334 ;;
11335 *)
11336 shrext_cmds='.sl'
11337 dynamic_linker="$host_os dld.sl"
11338 shlibpath_var=SHLIB_PATH
11339 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11341 soname_spec='${libname}${release}${shared_ext}$major'
11342 ;;
11343 esac
11344 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11345 postinstall_cmds='chmod 555 $lib'
11346 # or fails outright, so override atomically:
11347 install_override_mode=555
11348 ;;
11349
11350 interix[3-9]*)
11351 version_type=linux
11352 need_lib_prefix=no
11353 need_version=no
11354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11355 soname_spec='${libname}${release}${shared_ext}$major'
11356 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11357 shlibpath_var=LD_LIBRARY_PATH
11358 shlibpath_overrides_runpath=no
11359 hardcode_into_libs=yes
11360 ;;
11361
11362 irix5* | irix6* | nonstopux*)
11363 case $host_os in
11364 nonstopux*) version_type=nonstopux ;;
11365 *)
11366 if test "$lt_cv_prog_gnu_ld" = yes; then
11367 version_type=linux
11368 else
11369 version_type=irix
11370 fi ;;
11371 esac
11372 need_lib_prefix=no
11373 need_version=no
11374 soname_spec='${libname}${release}${shared_ext}$major'
11375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11376 case $host_os in
11377 irix5* | nonstopux*)
11378 libsuff= shlibsuff=
11379 ;;
11380 *)
11381 case $LD in # libtool.m4 will add one of these switches to LD
11382 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11383 libsuff= shlibsuff= libmagic=32-bit;;
11384 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11385 libsuff=32 shlibsuff=N32 libmagic=N32;;
11386 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11387 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11388 *) libsuff= shlibsuff= libmagic=never-match;;
11389 esac
11390 ;;
11391 esac
11392 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11393 shlibpath_overrides_runpath=no
11394 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11395 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11396 hardcode_into_libs=yes
11397 ;;
11398
11399 # No shared lib support for Linux oldld, aout, or coff.
11400 linux*oldld* | linux*aout* | linux*coff*)
11401 dynamic_linker=no
11402 ;;
11403
11404 # This must be Linux ELF.
11405 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11406 version_type=linux
11407 need_lib_prefix=no
11408 need_version=no
11409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11410 soname_spec='${libname}${release}${shared_ext}$major'
11411 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11412 shlibpath_var=LD_LIBRARY_PATH
11413 shlibpath_overrides_runpath=no
11414
11415 # Some binutils ld are patched to set DT_RUNPATH
11416 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11417 $as_echo_n "(cached) " >&6
11418 else
11419 lt_cv_shlibpath_overrides_runpath=no
11420 save_LDFLAGS=$LDFLAGS
11421 save_libdir=$libdir
11422 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11423 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11424 if test x$gcc_no_link = xyes; then
11425 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11426 fi
11427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11428 /* end confdefs.h. */
11429
11430 int
11431 main ()
11432 {
11433
11434 ;
11435 return 0;
11436 }
11437 _ACEOF
11438 if ac_fn_c_try_link "$LINENO"; then :
11439 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11440 lt_cv_shlibpath_overrides_runpath=yes
11441 fi
11442 fi
11443 rm -f core conftest.err conftest.$ac_objext \
11444 conftest$ac_exeext conftest.$ac_ext
11445 LDFLAGS=$save_LDFLAGS
11446 libdir=$save_libdir
11447
11448 fi
11449
11450 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11451
11452 # This implies no fast_install, which is unacceptable.
11453 # Some rework will be needed to allow for fast_install
11454 # before this can be enabled.
11455 hardcode_into_libs=yes
11456
11457 # Append ld.so.conf contents to the search path
11458 if test -f /etc/ld.so.conf; then
11459 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' ' '`
11460 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11461 fi
11462
11463 # We used to test for /lib/ld.so.1 and disable shared libraries on
11464 # powerpc, because MkLinux only supported shared libraries with the
11465 # GNU dynamic linker. Since this was broken with cross compilers,
11466 # most powerpc-linux boxes support dynamic linking these days and
11467 # people can always --disable-shared, the test was removed, and we
11468 # assume the GNU/Linux dynamic linker is in use.
11469 dynamic_linker='GNU/Linux ld.so'
11470 ;;
11471
11472 netbsd*)
11473 version_type=sunos
11474 need_lib_prefix=no
11475 need_version=no
11476 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11477 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11478 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11479 dynamic_linker='NetBSD (a.out) ld.so'
11480 else
11481 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11482 soname_spec='${libname}${release}${shared_ext}$major'
11483 dynamic_linker='NetBSD ld.elf_so'
11484 fi
11485 shlibpath_var=LD_LIBRARY_PATH
11486 shlibpath_overrides_runpath=yes
11487 hardcode_into_libs=yes
11488 ;;
11489
11490 newsos6)
11491 version_type=linux
11492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11493 shlibpath_var=LD_LIBRARY_PATH
11494 shlibpath_overrides_runpath=yes
11495 ;;
11496
11497 *nto* | *qnx*)
11498 version_type=qnx
11499 need_lib_prefix=no
11500 need_version=no
11501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11502 soname_spec='${libname}${release}${shared_ext}$major'
11503 shlibpath_var=LD_LIBRARY_PATH
11504 shlibpath_overrides_runpath=no
11505 hardcode_into_libs=yes
11506 dynamic_linker='ldqnx.so'
11507 ;;
11508
11509 openbsd*)
11510 version_type=sunos
11511 sys_lib_dlsearch_path_spec="/usr/lib"
11512 need_lib_prefix=no
11513 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11514 case $host_os in
11515 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11516 *) need_version=no ;;
11517 esac
11518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11519 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11520 shlibpath_var=LD_LIBRARY_PATH
11521 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11522 case $host_os in
11523 openbsd2.[89] | openbsd2.[89].*)
11524 shlibpath_overrides_runpath=no
11525 ;;
11526 *)
11527 shlibpath_overrides_runpath=yes
11528 ;;
11529 esac
11530 else
11531 shlibpath_overrides_runpath=yes
11532 fi
11533 ;;
11534
11535 os2*)
11536 libname_spec='$name'
11537 shrext_cmds=".dll"
11538 need_lib_prefix=no
11539 library_names_spec='$libname${shared_ext} $libname.a'
11540 dynamic_linker='OS/2 ld.exe'
11541 shlibpath_var=LIBPATH
11542 ;;
11543
11544 osf3* | osf4* | osf5*)
11545 version_type=osf
11546 need_lib_prefix=no
11547 need_version=no
11548 soname_spec='${libname}${release}${shared_ext}$major'
11549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11550 shlibpath_var=LD_LIBRARY_PATH
11551 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11552 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11553 ;;
11554
11555 rdos*)
11556 dynamic_linker=no
11557 ;;
11558
11559 solaris*)
11560 version_type=linux
11561 need_lib_prefix=no
11562 need_version=no
11563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11564 soname_spec='${libname}${release}${shared_ext}$major'
11565 shlibpath_var=LD_LIBRARY_PATH
11566 shlibpath_overrides_runpath=yes
11567 hardcode_into_libs=yes
11568 # ldd complains unless libraries are executable
11569 postinstall_cmds='chmod +x $lib'
11570 ;;
11571
11572 sunos4*)
11573 version_type=sunos
11574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11575 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11576 shlibpath_var=LD_LIBRARY_PATH
11577 shlibpath_overrides_runpath=yes
11578 if test "$with_gnu_ld" = yes; then
11579 need_lib_prefix=no
11580 fi
11581 need_version=yes
11582 ;;
11583
11584 sysv4 | sysv4.3*)
11585 version_type=linux
11586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11587 soname_spec='${libname}${release}${shared_ext}$major'
11588 shlibpath_var=LD_LIBRARY_PATH
11589 case $host_vendor in
11590 sni)
11591 shlibpath_overrides_runpath=no
11592 need_lib_prefix=no
11593 runpath_var=LD_RUN_PATH
11594 ;;
11595 siemens)
11596 need_lib_prefix=no
11597 ;;
11598 motorola)
11599 need_lib_prefix=no
11600 need_version=no
11601 shlibpath_overrides_runpath=no
11602 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11603 ;;
11604 esac
11605 ;;
11606
11607 sysv4*MP*)
11608 if test -d /usr/nec ;then
11609 version_type=linux
11610 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11611 soname_spec='$libname${shared_ext}.$major'
11612 shlibpath_var=LD_LIBRARY_PATH
11613 fi
11614 ;;
11615
11616 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11617 version_type=freebsd-elf
11618 need_lib_prefix=no
11619 need_version=no
11620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11621 soname_spec='${libname}${release}${shared_ext}$major'
11622 shlibpath_var=LD_LIBRARY_PATH
11623 shlibpath_overrides_runpath=yes
11624 hardcode_into_libs=yes
11625 if test "$with_gnu_ld" = yes; then
11626 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11627 else
11628 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11629 case $host_os in
11630 sco3.2v5*)
11631 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11632 ;;
11633 esac
11634 fi
11635 sys_lib_dlsearch_path_spec='/usr/lib'
11636 ;;
11637
11638 tpf*)
11639 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11640 version_type=linux
11641 need_lib_prefix=no
11642 need_version=no
11643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11644 shlibpath_var=LD_LIBRARY_PATH
11645 shlibpath_overrides_runpath=no
11646 hardcode_into_libs=yes
11647 ;;
11648
11649 uts4*)
11650 version_type=linux
11651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11652 soname_spec='${libname}${release}${shared_ext}$major'
11653 shlibpath_var=LD_LIBRARY_PATH
11654 ;;
11655
11656 *)
11657 dynamic_linker=no
11658 ;;
11659 esac
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11661 $as_echo "$dynamic_linker" >&6; }
11662 test "$dynamic_linker" = no && can_build_shared=no
11663
11664 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11665 if test "$GCC" = yes; then
11666 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11667 fi
11668
11669 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11670 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11671 fi
11672 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11673 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11674 fi
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11768 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11769 hardcode_action=
11770 if test -n "$hardcode_libdir_flag_spec" ||
11771 test -n "$runpath_var" ||
11772 test "X$hardcode_automatic" = "Xyes" ; then
11773
11774 # We can hardcode non-existent directories.
11775 if test "$hardcode_direct" != no &&
11776 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11777 # have to relink, otherwise we might link with an installed library
11778 # when we should be linking with a yet-to-be-installed one
11779 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11780 test "$hardcode_minus_L" != no; then
11781 # Linking always hardcodes the temporary library directory.
11782 hardcode_action=relink
11783 else
11784 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11785 hardcode_action=immediate
11786 fi
11787 else
11788 # We cannot hardcode anything, or else we can only hardcode existing
11789 # directories.
11790 hardcode_action=unsupported
11791 fi
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11793 $as_echo "$hardcode_action" >&6; }
11794
11795 if test "$hardcode_action" = relink ||
11796 test "$inherit_rpath" = yes; then
11797 # Fast installation is not supported
11798 enable_fast_install=no
11799 elif test "$shlibpath_overrides_runpath" = yes ||
11800 test "$enable_shared" = no; then
11801 # Fast installation is not necessary
11802 enable_fast_install=needless
11803 fi
11804
11805
11806
11807
11808
11809
11810 if test "x$enable_dlopen" != xyes; then
11811 enable_dlopen=unknown
11812 enable_dlopen_self=unknown
11813 enable_dlopen_self_static=unknown
11814 else
11815 lt_cv_dlopen=no
11816 lt_cv_dlopen_libs=
11817
11818 case $host_os in
11819 beos*)
11820 lt_cv_dlopen="load_add_on"
11821 lt_cv_dlopen_libs=
11822 lt_cv_dlopen_self=yes
11823 ;;
11824
11825 mingw* | pw32* | cegcc*)
11826 lt_cv_dlopen="LoadLibrary"
11827 lt_cv_dlopen_libs=
11828 ;;
11829
11830 cygwin*)
11831 lt_cv_dlopen="dlopen"
11832 lt_cv_dlopen_libs=
11833 ;;
11834
11835 darwin*)
11836 # if libdl is installed we need to link against it
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11838 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11839 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11840 $as_echo_n "(cached) " >&6
11841 else
11842 ac_check_lib_save_LIBS=$LIBS
11843 LIBS="-ldl $LIBS"
11844 if test x$gcc_no_link = xyes; then
11845 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11846 fi
11847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11848 /* end confdefs.h. */
11849
11850 /* Override any GCC internal prototype to avoid an error.
11851 Use char because int might match the return type of a GCC
11852 builtin and then its argument prototype would still apply. */
11853 #ifdef __cplusplus
11854 extern "C"
11855 #endif
11856 char dlopen ();
11857 int
11858 main ()
11859 {
11860 return dlopen ();
11861 ;
11862 return 0;
11863 }
11864 _ACEOF
11865 if ac_fn_c_try_link "$LINENO"; then :
11866 ac_cv_lib_dl_dlopen=yes
11867 else
11868 ac_cv_lib_dl_dlopen=no
11869 fi
11870 rm -f core conftest.err conftest.$ac_objext \
11871 conftest$ac_exeext conftest.$ac_ext
11872 LIBS=$ac_check_lib_save_LIBS
11873 fi
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11875 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11876 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11877 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11878 else
11879
11880 lt_cv_dlopen="dyld"
11881 lt_cv_dlopen_libs=
11882 lt_cv_dlopen_self=yes
11883
11884 fi
11885
11886 ;;
11887
11888 *)
11889 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11890 if test "x$ac_cv_func_shl_load" = x""yes; then :
11891 lt_cv_dlopen="shl_load"
11892 else
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11894 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11895 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11896 $as_echo_n "(cached) " >&6
11897 else
11898 ac_check_lib_save_LIBS=$LIBS
11899 LIBS="-ldld $LIBS"
11900 if test x$gcc_no_link = xyes; then
11901 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11902 fi
11903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11904 /* end confdefs.h. */
11905
11906 /* Override any GCC internal prototype to avoid an error.
11907 Use char because int might match the return type of a GCC
11908 builtin and then its argument prototype would still apply. */
11909 #ifdef __cplusplus
11910 extern "C"
11911 #endif
11912 char shl_load ();
11913 int
11914 main ()
11915 {
11916 return shl_load ();
11917 ;
11918 return 0;
11919 }
11920 _ACEOF
11921 if ac_fn_c_try_link "$LINENO"; then :
11922 ac_cv_lib_dld_shl_load=yes
11923 else
11924 ac_cv_lib_dld_shl_load=no
11925 fi
11926 rm -f core conftest.err conftest.$ac_objext \
11927 conftest$ac_exeext conftest.$ac_ext
11928 LIBS=$ac_check_lib_save_LIBS
11929 fi
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11931 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11932 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11933 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11934 else
11935 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11936 if test "x$ac_cv_func_dlopen" = x""yes; then :
11937 lt_cv_dlopen="dlopen"
11938 else
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11940 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11941 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11942 $as_echo_n "(cached) " >&6
11943 else
11944 ac_check_lib_save_LIBS=$LIBS
11945 LIBS="-ldl $LIBS"
11946 if test x$gcc_no_link = xyes; then
11947 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11948 fi
11949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11950 /* end confdefs.h. */
11951
11952 /* Override any GCC internal prototype to avoid an error.
11953 Use char because int might match the return type of a GCC
11954 builtin and then its argument prototype would still apply. */
11955 #ifdef __cplusplus
11956 extern "C"
11957 #endif
11958 char dlopen ();
11959 int
11960 main ()
11961 {
11962 return dlopen ();
11963 ;
11964 return 0;
11965 }
11966 _ACEOF
11967 if ac_fn_c_try_link "$LINENO"; then :
11968 ac_cv_lib_dl_dlopen=yes
11969 else
11970 ac_cv_lib_dl_dlopen=no
11971 fi
11972 rm -f core conftest.err conftest.$ac_objext \
11973 conftest$ac_exeext conftest.$ac_ext
11974 LIBS=$ac_check_lib_save_LIBS
11975 fi
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11977 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11978 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11979 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11980 else
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11982 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11983 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11984 $as_echo_n "(cached) " >&6
11985 else
11986 ac_check_lib_save_LIBS=$LIBS
11987 LIBS="-lsvld $LIBS"
11988 if test x$gcc_no_link = xyes; then
11989 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11990 fi
11991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11992 /* end confdefs.h. */
11993
11994 /* Override any GCC internal prototype to avoid an error.
11995 Use char because int might match the return type of a GCC
11996 builtin and then its argument prototype would still apply. */
11997 #ifdef __cplusplus
11998 extern "C"
11999 #endif
12000 char dlopen ();
12001 int
12002 main ()
12003 {
12004 return dlopen ();
12005 ;
12006 return 0;
12007 }
12008 _ACEOF
12009 if ac_fn_c_try_link "$LINENO"; then :
12010 ac_cv_lib_svld_dlopen=yes
12011 else
12012 ac_cv_lib_svld_dlopen=no
12013 fi
12014 rm -f core conftest.err conftest.$ac_objext \
12015 conftest$ac_exeext conftest.$ac_ext
12016 LIBS=$ac_check_lib_save_LIBS
12017 fi
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12019 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12020 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12021 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12022 else
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12024 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12025 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12026 $as_echo_n "(cached) " >&6
12027 else
12028 ac_check_lib_save_LIBS=$LIBS
12029 LIBS="-ldld $LIBS"
12030 if test x$gcc_no_link = xyes; then
12031 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12032 fi
12033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12034 /* end confdefs.h. */
12035
12036 /* Override any GCC internal prototype to avoid an error.
12037 Use char because int might match the return type of a GCC
12038 builtin and then its argument prototype would still apply. */
12039 #ifdef __cplusplus
12040 extern "C"
12041 #endif
12042 char dld_link ();
12043 int
12044 main ()
12045 {
12046 return dld_link ();
12047 ;
12048 return 0;
12049 }
12050 _ACEOF
12051 if ac_fn_c_try_link "$LINENO"; then :
12052 ac_cv_lib_dld_dld_link=yes
12053 else
12054 ac_cv_lib_dld_dld_link=no
12055 fi
12056 rm -f core conftest.err conftest.$ac_objext \
12057 conftest$ac_exeext conftest.$ac_ext
12058 LIBS=$ac_check_lib_save_LIBS
12059 fi
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12061 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12062 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12063 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12064 fi
12065
12066
12067 fi
12068
12069
12070 fi
12071
12072
12073 fi
12074
12075
12076 fi
12077
12078
12079 fi
12080
12081 ;;
12082 esac
12083
12084 if test "x$lt_cv_dlopen" != xno; then
12085 enable_dlopen=yes
12086 else
12087 enable_dlopen=no
12088 fi
12089
12090 case $lt_cv_dlopen in
12091 dlopen)
12092 save_CPPFLAGS="$CPPFLAGS"
12093 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12094
12095 save_LDFLAGS="$LDFLAGS"
12096 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12097
12098 save_LIBS="$LIBS"
12099 LIBS="$lt_cv_dlopen_libs $LIBS"
12100
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12102 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12103 if test "${lt_cv_dlopen_self+set}" = set; then :
12104 $as_echo_n "(cached) " >&6
12105 else
12106 if test "$cross_compiling" = yes; then :
12107 lt_cv_dlopen_self=cross
12108 else
12109 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12110 lt_status=$lt_dlunknown
12111 cat > conftest.$ac_ext <<_LT_EOF
12112 #line 12112 "configure"
12113 #include "confdefs.h"
12114
12115 #if HAVE_DLFCN_H
12116 #include <dlfcn.h>
12117 #endif
12118
12119 #include <stdio.h>
12120
12121 #ifdef RTLD_GLOBAL
12122 # define LT_DLGLOBAL RTLD_GLOBAL
12123 #else
12124 # ifdef DL_GLOBAL
12125 # define LT_DLGLOBAL DL_GLOBAL
12126 # else
12127 # define LT_DLGLOBAL 0
12128 # endif
12129 #endif
12130
12131 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12132 find out it does not work in some platform. */
12133 #ifndef LT_DLLAZY_OR_NOW
12134 # ifdef RTLD_LAZY
12135 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12136 # else
12137 # ifdef DL_LAZY
12138 # define LT_DLLAZY_OR_NOW DL_LAZY
12139 # else
12140 # ifdef RTLD_NOW
12141 # define LT_DLLAZY_OR_NOW RTLD_NOW
12142 # else
12143 # ifdef DL_NOW
12144 # define LT_DLLAZY_OR_NOW DL_NOW
12145 # else
12146 # define LT_DLLAZY_OR_NOW 0
12147 # endif
12148 # endif
12149 # endif
12150 # endif
12151 #endif
12152
12153 /* When -fvisbility=hidden is used, assume the code has been annotated
12154 correspondingly for the symbols needed. */
12155 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12156 void fnord () __attribute__((visibility("default")));
12157 #endif
12158
12159 void fnord () { int i=42; }
12160 int main ()
12161 {
12162 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12163 int status = $lt_dlunknown;
12164
12165 if (self)
12166 {
12167 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12168 else
12169 {
12170 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12171 else puts (dlerror ());
12172 }
12173 /* dlclose (self); */
12174 }
12175 else
12176 puts (dlerror ());
12177
12178 return status;
12179 }
12180 _LT_EOF
12181 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12182 (eval $ac_link) 2>&5
12183 ac_status=$?
12184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12185 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12186 (./conftest; exit; ) >&5 2>/dev/null
12187 lt_status=$?
12188 case x$lt_status in
12189 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12190 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12191 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12192 esac
12193 else :
12194 # compilation failed
12195 lt_cv_dlopen_self=no
12196 fi
12197 fi
12198 rm -fr conftest*
12199
12200
12201 fi
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12203 $as_echo "$lt_cv_dlopen_self" >&6; }
12204
12205 if test "x$lt_cv_dlopen_self" = xyes; then
12206 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12208 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12209 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12210 $as_echo_n "(cached) " >&6
12211 else
12212 if test "$cross_compiling" = yes; then :
12213 lt_cv_dlopen_self_static=cross
12214 else
12215 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12216 lt_status=$lt_dlunknown
12217 cat > conftest.$ac_ext <<_LT_EOF
12218 #line 12218 "configure"
12219 #include "confdefs.h"
12220
12221 #if HAVE_DLFCN_H
12222 #include <dlfcn.h>
12223 #endif
12224
12225 #include <stdio.h>
12226
12227 #ifdef RTLD_GLOBAL
12228 # define LT_DLGLOBAL RTLD_GLOBAL
12229 #else
12230 # ifdef DL_GLOBAL
12231 # define LT_DLGLOBAL DL_GLOBAL
12232 # else
12233 # define LT_DLGLOBAL 0
12234 # endif
12235 #endif
12236
12237 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12238 find out it does not work in some platform. */
12239 #ifndef LT_DLLAZY_OR_NOW
12240 # ifdef RTLD_LAZY
12241 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12242 # else
12243 # ifdef DL_LAZY
12244 # define LT_DLLAZY_OR_NOW DL_LAZY
12245 # else
12246 # ifdef RTLD_NOW
12247 # define LT_DLLAZY_OR_NOW RTLD_NOW
12248 # else
12249 # ifdef DL_NOW
12250 # define LT_DLLAZY_OR_NOW DL_NOW
12251 # else
12252 # define LT_DLLAZY_OR_NOW 0
12253 # endif
12254 # endif
12255 # endif
12256 # endif
12257 #endif
12258
12259 /* When -fvisbility=hidden is used, assume the code has been annotated
12260 correspondingly for the symbols needed. */
12261 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12262 void fnord () __attribute__((visibility("default")));
12263 #endif
12264
12265 void fnord () { int i=42; }
12266 int main ()
12267 {
12268 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12269 int status = $lt_dlunknown;
12270
12271 if (self)
12272 {
12273 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12274 else
12275 {
12276 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12277 else puts (dlerror ());
12278 }
12279 /* dlclose (self); */
12280 }
12281 else
12282 puts (dlerror ());
12283
12284 return status;
12285 }
12286 _LT_EOF
12287 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12288 (eval $ac_link) 2>&5
12289 ac_status=$?
12290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12291 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12292 (./conftest; exit; ) >&5 2>/dev/null
12293 lt_status=$?
12294 case x$lt_status in
12295 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12296 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12297 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12298 esac
12299 else :
12300 # compilation failed
12301 lt_cv_dlopen_self_static=no
12302 fi
12303 fi
12304 rm -fr conftest*
12305
12306
12307 fi
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12309 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12310 fi
12311
12312 CPPFLAGS="$save_CPPFLAGS"
12313 LDFLAGS="$save_LDFLAGS"
12314 LIBS="$save_LIBS"
12315 ;;
12316 esac
12317
12318 case $lt_cv_dlopen_self in
12319 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12320 *) enable_dlopen_self=unknown ;;
12321 esac
12322
12323 case $lt_cv_dlopen_self_static in
12324 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12325 *) enable_dlopen_self_static=unknown ;;
12326 esac
12327 fi
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345 striplib=
12346 old_striplib=
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12348 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12349 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12350 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12351 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12353 $as_echo "yes" >&6; }
12354 else
12355 # FIXME - insert some real tests, host_os isn't really good enough
12356 case $host_os in
12357 darwin*)
12358 if test -n "$STRIP" ; then
12359 striplib="$STRIP -x"
12360 old_striplib="$STRIP -S"
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12362 $as_echo "yes" >&6; }
12363 else
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12365 $as_echo "no" >&6; }
12366 fi
12367 ;;
12368 *)
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12370 $as_echo "no" >&6; }
12371 ;;
12372 esac
12373 fi
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386 # Report which library types will actually be built
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12388 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12390 $as_echo "$can_build_shared" >&6; }
12391
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12393 $as_echo_n "checking whether to build shared libraries... " >&6; }
12394 test "$can_build_shared" = "no" && enable_shared=no
12395
12396 # On AIX, shared libraries and static libraries use the same namespace, and
12397 # are all built from PIC.
12398 case $host_os in
12399 aix3*)
12400 test "$enable_shared" = yes && enable_static=no
12401 if test -n "$RANLIB"; then
12402 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12403 postinstall_cmds='$RANLIB $lib'
12404 fi
12405 ;;
12406
12407 aix[4-9]*)
12408 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12409 test "$enable_shared" = yes && enable_static=no
12410 fi
12411 ;;
12412 esac
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12414 $as_echo "$enable_shared" >&6; }
12415
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12417 $as_echo_n "checking whether to build static libraries... " >&6; }
12418 # Make sure either enable_shared or enable_static is yes.
12419 test "$enable_shared" = yes || enable_static=yes
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12421 $as_echo "$enable_static" >&6; }
12422
12423
12424
12425
12426 fi
12427 ac_ext=c
12428 ac_cpp='$CPP $CPPFLAGS'
12429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12432
12433 CC="$lt_save_CC"
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447 ac_config_commands="$ac_config_commands libtool"
12448
12449
12450
12451
12452 # Only expand once:
12453
12454
12455
12456
12457
12458 case $host in
12459 *-cygwin* | *-mingw*)
12460 # 'host' will be top-level target in the case of a target lib,
12461 # we must compare to with_cross_host to decide if this is a native
12462 # or cross-compiler and select where to install dlls appropriately.
12463 if test -n "$with_cross_host" &&
12464 test x"$with_cross_host" != x"no"; then
12465 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
12466 else
12467 lt_host_flags='-no-undefined -bindir "$(bindir)"';
12468 fi
12469 ;;
12470 *)
12471 lt_host_flags=
12472 ;;
12473 esac
12474
12475
12476
12477
12478
12479 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12480
12481 # We need gfortran to compile parts of the library
12482 #AC_PROG_FC(gfortran)
12483 FC="$GFORTRAN"
12484 ac_ext=${ac_fc_srcext-f}
12485 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12486 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12487 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12488 if test -n "$ac_tool_prefix"; then
12489 for ac_prog in gfortran
12490 do
12491 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12492 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12494 $as_echo_n "checking for $ac_word... " >&6; }
12495 if test "${ac_cv_prog_FC+set}" = set; then :
12496 $as_echo_n "(cached) " >&6
12497 else
12498 if test -n "$FC"; then
12499 ac_cv_prog_FC="$FC" # Let the user override the test.
12500 else
12501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12502 for as_dir in $PATH
12503 do
12504 IFS=$as_save_IFS
12505 test -z "$as_dir" && as_dir=.
12506 for ac_exec_ext in '' $ac_executable_extensions; do
12507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12508 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
12509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12510 break 2
12511 fi
12512 done
12513 done
12514 IFS=$as_save_IFS
12515
12516 fi
12517 fi
12518 FC=$ac_cv_prog_FC
12519 if test -n "$FC"; then
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12521 $as_echo "$FC" >&6; }
12522 else
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12524 $as_echo "no" >&6; }
12525 fi
12526
12527
12528 test -n "$FC" && break
12529 done
12530 fi
12531 if test -z "$FC"; then
12532 ac_ct_FC=$FC
12533 for ac_prog in gfortran
12534 do
12535 # Extract the first word of "$ac_prog", so it can be a program name with args.
12536 set dummy $ac_prog; ac_word=$2
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12538 $as_echo_n "checking for $ac_word... " >&6; }
12539 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12540 $as_echo_n "(cached) " >&6
12541 else
12542 if test -n "$ac_ct_FC"; then
12543 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
12544 else
12545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12546 for as_dir in $PATH
12547 do
12548 IFS=$as_save_IFS
12549 test -z "$as_dir" && as_dir=.
12550 for ac_exec_ext in '' $ac_executable_extensions; do
12551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12552 ac_cv_prog_ac_ct_FC="$ac_prog"
12553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12554 break 2
12555 fi
12556 done
12557 done
12558 IFS=$as_save_IFS
12559
12560 fi
12561 fi
12562 ac_ct_FC=$ac_cv_prog_ac_ct_FC
12563 if test -n "$ac_ct_FC"; then
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12565 $as_echo "$ac_ct_FC" >&6; }
12566 else
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12568 $as_echo "no" >&6; }
12569 fi
12570
12571
12572 test -n "$ac_ct_FC" && break
12573 done
12574
12575 if test "x$ac_ct_FC" = x; then
12576 FC=""
12577 else
12578 case $cross_compiling:$ac_tool_warned in
12579 yes:)
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12582 ac_tool_warned=yes ;;
12583 esac
12584 FC=$ac_ct_FC
12585 fi
12586 fi
12587
12588
12589 # Provide some information about the compiler.
12590 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12591 set X $ac_compile
12592 ac_compiler=$2
12593 for ac_option in --version -v -V -qversion; do
12594 { { ac_try="$ac_compiler $ac_option >&5"
12595 case "(($ac_try" in
12596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12597 *) ac_try_echo=$ac_try;;
12598 esac
12599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12600 $as_echo "$ac_try_echo"; } >&5
12601 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12602 ac_status=$?
12603 if test -s conftest.err; then
12604 sed '10a\
12605 ... rest of stderr output deleted ...
12606 10q' conftest.err >conftest.er1
12607 cat conftest.er1 >&5
12608 rm -f conftest.er1 conftest.err
12609 fi
12610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12611 test $ac_status = 0; }
12612 done
12613 rm -f a.out
12614
12615 # If we don't use `.F' as extension, the preprocessor is not run on the
12616 # input file. (Note that this only needs to work for GNU compilers.)
12617 ac_save_ext=$ac_ext
12618 ac_ext=F
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12620 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12621 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12622 $as_echo_n "(cached) " >&6
12623 else
12624 cat > conftest.$ac_ext <<_ACEOF
12625 program main
12626 #ifndef __GNUC__
12627 choke me
12628 #endif
12629
12630 end
12631 _ACEOF
12632 if ac_fn_fc_try_compile "$LINENO"; then :
12633 ac_compiler_gnu=yes
12634 else
12635 ac_compiler_gnu=no
12636 fi
12637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12638 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12639
12640 fi
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12642 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12643 ac_ext=$ac_save_ext
12644 ac_test_FCFLAGS=${FCFLAGS+set}
12645 ac_save_FCFLAGS=$FCFLAGS
12646 FCFLAGS=
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12648 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12649 if test "${ac_cv_prog_fc_g+set}" = set; then :
12650 $as_echo_n "(cached) " >&6
12651 else
12652 FCFLAGS=-g
12653 cat > conftest.$ac_ext <<_ACEOF
12654 program main
12655
12656 end
12657 _ACEOF
12658 if ac_fn_fc_try_compile "$LINENO"; then :
12659 ac_cv_prog_fc_g=yes
12660 else
12661 ac_cv_prog_fc_g=no
12662 fi
12663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12664
12665 fi
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12667 $as_echo "$ac_cv_prog_fc_g" >&6; }
12668 if test "$ac_test_FCFLAGS" = set; then
12669 FCFLAGS=$ac_save_FCFLAGS
12670 elif test $ac_cv_prog_fc_g = yes; then
12671 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12672 FCFLAGS="-g -O2"
12673 else
12674 FCFLAGS="-g"
12675 fi
12676 else
12677 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12678 FCFLAGS="-O2"
12679 else
12680 FCFLAGS=
12681 fi
12682 fi
12683
12684 ac_ext=c
12685 ac_cpp='$CPP $CPPFLAGS'
12686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12689
12690 ac_ext=${ac_fc_srcext-f}
12691 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12692 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12693 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12694
12695
12696 if test -z "$FC" || test "X$FC" = "Xno"; then
12697 _lt_disable_FC=yes
12698 fi
12699
12700 archive_cmds_need_lc_FC=no
12701 allow_undefined_flag_FC=
12702 always_export_symbols_FC=no
12703 archive_expsym_cmds_FC=
12704 export_dynamic_flag_spec_FC=
12705 hardcode_direct_FC=no
12706 hardcode_direct_absolute_FC=no
12707 hardcode_libdir_flag_spec_FC=
12708 hardcode_libdir_flag_spec_ld_FC=
12709 hardcode_libdir_separator_FC=
12710 hardcode_minus_L_FC=no
12711 hardcode_automatic_FC=no
12712 inherit_rpath_FC=no
12713 module_cmds_FC=
12714 module_expsym_cmds_FC=
12715 link_all_deplibs_FC=unknown
12716 old_archive_cmds_FC=$old_archive_cmds
12717 reload_flag_FC=$reload_flag
12718 reload_cmds_FC=$reload_cmds
12719 no_undefined_flag_FC=
12720 whole_archive_flag_spec_FC=
12721 enable_shared_with_static_runtimes_FC=no
12722
12723 # Source file extension for fc test sources.
12724 ac_ext=${ac_fc_srcext-f}
12725
12726 # Object file extension for compiled fc test sources.
12727 objext=o
12728 objext_FC=$objext
12729
12730 # No sense in running all these tests if we already determined that
12731 # the FC compiler isn't working. Some variables (like enable_shared)
12732 # are currently assumed to apply to all compilers on this platform,
12733 # and will be corrupted by setting them based on a non-working compiler.
12734 if test "$_lt_disable_FC" != yes; then
12735 # Code to be used in simple compile tests
12736 lt_simple_compile_test_code="\
12737 subroutine t
12738 return
12739 end
12740 "
12741
12742 # Code to be used in simple link tests
12743 lt_simple_link_test_code="\
12744 program t
12745 end
12746 "
12747
12748 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12749
12750
12751
12752
12753
12754
12755 # If no C compiler was specified, use CC.
12756 LTCC=${LTCC-"$CC"}
12757
12758 # If no C compiler flags were specified, use CFLAGS.
12759 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12760
12761 # Allow CC to be a program name with arguments.
12762 compiler=$CC
12763
12764
12765 # save warnings/boilerplate of simple test code
12766 ac_outfile=conftest.$ac_objext
12767 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12768 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12769 _lt_compiler_boilerplate=`cat conftest.err`
12770 $RM conftest*
12771
12772 ac_outfile=conftest.$ac_objext
12773 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12774 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12775 _lt_linker_boilerplate=`cat conftest.err`
12776 $RM -r conftest*
12777
12778
12779 # Allow CC to be a program name with arguments.
12780 lt_save_CC="$CC"
12781 lt_save_GCC=$GCC
12782 CC=${FC-"f95"}
12783 compiler=$CC
12784 GCC=$ac_cv_fc_compiler_gnu
12785
12786 compiler_FC=$CC
12787 for cc_temp in $compiler""; do
12788 case $cc_temp in
12789 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12790 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12791 \-*) ;;
12792 *) break;;
12793 esac
12794 done
12795 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12796
12797
12798 if test -n "$compiler"; then
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12800 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12802 $as_echo "$can_build_shared" >&6; }
12803
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12805 $as_echo_n "checking whether to build shared libraries... " >&6; }
12806 test "$can_build_shared" = "no" && enable_shared=no
12807
12808 # On AIX, shared libraries and static libraries use the same namespace, and
12809 # are all built from PIC.
12810 case $host_os in
12811 aix3*)
12812 test "$enable_shared" = yes && enable_static=no
12813 if test -n "$RANLIB"; then
12814 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12815 postinstall_cmds='$RANLIB $lib'
12816 fi
12817 ;;
12818 aix[4-9]*)
12819 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12820 test "$enable_shared" = yes && enable_static=no
12821 fi
12822 ;;
12823 esac
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12825 $as_echo "$enable_shared" >&6; }
12826
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12828 $as_echo_n "checking whether to build static libraries... " >&6; }
12829 # Make sure either enable_shared or enable_static is yes.
12830 test "$enable_shared" = yes || enable_static=yes
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12832 $as_echo "$enable_static" >&6; }
12833
12834 GCC_FC="$ac_cv_fc_compiler_gnu"
12835 LD_FC="$LD"
12836
12837 ## CAVEAT EMPTOR:
12838 ## There is no encapsulation within the following macros, do not change
12839 ## the running order or otherwise move them around unless you know exactly
12840 ## what you are doing...
12841 # Dependencies to place before and after the object being linked:
12842 predep_objects_FC=
12843 postdep_objects_FC=
12844 predeps_FC=
12845 postdeps_FC=
12846 compiler_lib_search_path_FC=
12847
12848 cat > conftest.$ac_ext <<_LT_EOF
12849 subroutine foo
12850 implicit none
12851 integer a
12852 a=0
12853 return
12854 end
12855 _LT_EOF
12856
12857 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12858 (eval $ac_compile) 2>&5
12859 ac_status=$?
12860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12861 test $ac_status = 0; }; then
12862 # Parse the compiler output and extract the necessary
12863 # objects, libraries and library flags.
12864
12865 # Sentinel used to keep track of whether or not we are before
12866 # the conftest object file.
12867 pre_test_object_deps_done=no
12868
12869 for p in `eval "$output_verbose_link_cmd"`; do
12870 case $p in
12871
12872 -L* | -R* | -l*)
12873 # Some compilers place space between "-{L,R}" and the path.
12874 # Remove the space.
12875 if test $p = "-L" ||
12876 test $p = "-R"; then
12877 prev=$p
12878 continue
12879 else
12880 prev=
12881 fi
12882
12883 if test "$pre_test_object_deps_done" = no; then
12884 case $p in
12885 -L* | -R*)
12886 # Internal compiler library paths should come after those
12887 # provided the user. The postdeps already come after the
12888 # user supplied libs so there is no need to process them.
12889 if test -z "$compiler_lib_search_path_FC"; then
12890 compiler_lib_search_path_FC="${prev}${p}"
12891 else
12892 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
12893 fi
12894 ;;
12895 # The "-l" case would never come before the object being
12896 # linked, so don't bother handling this case.
12897 esac
12898 else
12899 if test -z "$postdeps_FC"; then
12900 postdeps_FC="${prev}${p}"
12901 else
12902 postdeps_FC="${postdeps_FC} ${prev}${p}"
12903 fi
12904 fi
12905 ;;
12906
12907 *.$objext)
12908 # This assumes that the test object file only shows up
12909 # once in the compiler output.
12910 if test "$p" = "conftest.$objext"; then
12911 pre_test_object_deps_done=yes
12912 continue
12913 fi
12914
12915 if test "$pre_test_object_deps_done" = no; then
12916 if test -z "$predep_objects_FC"; then
12917 predep_objects_FC="$p"
12918 else
12919 predep_objects_FC="$predep_objects_FC $p"
12920 fi
12921 else
12922 if test -z "$postdep_objects_FC"; then
12923 postdep_objects_FC="$p"
12924 else
12925 postdep_objects_FC="$postdep_objects_FC $p"
12926 fi
12927 fi
12928 ;;
12929
12930 *) ;; # Ignore the rest.
12931
12932 esac
12933 done
12934
12935 # Clean up.
12936 rm -f a.out a.exe
12937 else
12938 echo "libtool.m4: error: problem compiling FC test program"
12939 fi
12940
12941 $RM -f confest.$objext
12942
12943 # PORTME: override above test on systems where it is broken
12944
12945
12946 case " $postdeps_FC " in
12947 *" -lc "*) archive_cmds_need_lc_FC=no ;;
12948 esac
12949 compiler_lib_search_dirs_FC=
12950 if test -n "${compiler_lib_search_path_FC}"; then
12951 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12952 fi
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984 lt_prog_compiler_wl_FC=
12985 lt_prog_compiler_pic_FC=
12986 lt_prog_compiler_static_FC=
12987
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12989 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12990
12991 if test "$GCC" = yes; then
12992 lt_prog_compiler_wl_FC='-Wl,'
12993 lt_prog_compiler_static_FC='-static'
12994
12995 case $host_os in
12996 aix*)
12997 # All AIX code is PIC.
12998 if test "$host_cpu" = ia64; then
12999 # AIX 5 now supports IA64 processor
13000 lt_prog_compiler_static_FC='-Bstatic'
13001 fi
13002 ;;
13003
13004 amigaos*)
13005 case $host_cpu in
13006 powerpc)
13007 # see comment about AmigaOS4 .so support
13008 lt_prog_compiler_pic_FC='-fPIC'
13009 ;;
13010 m68k)
13011 # FIXME: we need at least 68020 code to build shared libraries, but
13012 # adding the `-m68020' flag to GCC prevents building anything better,
13013 # like `-m68040'.
13014 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13015 ;;
13016 esac
13017 ;;
13018
13019 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13020 # PIC is the default for these OSes.
13021 ;;
13022
13023 mingw* | cygwin* | pw32* | os2* | cegcc*)
13024 # This hack is so that the source file can tell whether it is being
13025 # built for inclusion in a dll (and should export symbols for example).
13026 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13027 # (--disable-auto-import) libraries
13028 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13029 ;;
13030
13031 darwin* | rhapsody*)
13032 # PIC is the default on this platform
13033 # Common symbols not allowed in MH_DYLIB files
13034 lt_prog_compiler_pic_FC='-fno-common'
13035 ;;
13036
13037 haiku*)
13038 # PIC is the default for Haiku.
13039 # The "-static" flag exists, but is broken.
13040 lt_prog_compiler_static_FC=
13041 ;;
13042
13043 hpux*)
13044 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13045 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13046 # sets the default TLS model and affects inlining.
13047 case $host_cpu in
13048 hppa*64*)
13049 # +Z the default
13050 ;;
13051 *)
13052 lt_prog_compiler_pic_FC='-fPIC'
13053 ;;
13054 esac
13055 ;;
13056
13057 interix[3-9]*)
13058 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13059 # Instead, we relocate shared libraries at runtime.
13060 ;;
13061
13062 msdosdjgpp*)
13063 # Just because we use GCC doesn't mean we suddenly get shared libraries
13064 # on systems that don't support them.
13065 lt_prog_compiler_can_build_shared_FC=no
13066 enable_shared=no
13067 ;;
13068
13069 *nto* | *qnx*)
13070 # QNX uses GNU C++, but need to define -shared option too, otherwise
13071 # it will coredump.
13072 lt_prog_compiler_pic_FC='-fPIC -shared'
13073 ;;
13074
13075 sysv4*MP*)
13076 if test -d /usr/nec; then
13077 lt_prog_compiler_pic_FC=-Kconform_pic
13078 fi
13079 ;;
13080
13081 *)
13082 lt_prog_compiler_pic_FC='-fPIC'
13083 ;;
13084 esac
13085
13086 case $cc_basename in
13087 nvcc*) # Cuda Compiler Driver 2.2
13088 lt_prog_compiler_wl_FC='-Xlinker '
13089 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13090 ;;
13091 esac
13092 else
13093 # PORTME Check for flag to pass linker flags through the system compiler.
13094 case $host_os in
13095 aix*)
13096 lt_prog_compiler_wl_FC='-Wl,'
13097 if test "$host_cpu" = ia64; then
13098 # AIX 5 now supports IA64 processor
13099 lt_prog_compiler_static_FC='-Bstatic'
13100 else
13101 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13102 fi
13103 ;;
13104
13105 mingw* | cygwin* | pw32* | os2* | cegcc*)
13106 # This hack is so that the source file can tell whether it is being
13107 # built for inclusion in a dll (and should export symbols for example).
13108 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13109 ;;
13110
13111 hpux9* | hpux10* | hpux11*)
13112 lt_prog_compiler_wl_FC='-Wl,'
13113 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13114 # not for PA HP-UX.
13115 case $host_cpu in
13116 hppa*64*|ia64*)
13117 # +Z the default
13118 ;;
13119 *)
13120 lt_prog_compiler_pic_FC='+Z'
13121 ;;
13122 esac
13123 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13124 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13125 ;;
13126
13127 irix5* | irix6* | nonstopux*)
13128 lt_prog_compiler_wl_FC='-Wl,'
13129 # PIC (with -KPIC) is the default.
13130 lt_prog_compiler_static_FC='-non_shared'
13131 ;;
13132
13133 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13134 case $cc_basename in
13135 # old Intel for x86_64 which still supported -KPIC.
13136 ecc*)
13137 lt_prog_compiler_wl_FC='-Wl,'
13138 lt_prog_compiler_pic_FC='-KPIC'
13139 lt_prog_compiler_static_FC='-static'
13140 ;;
13141 # icc used to be incompatible with GCC.
13142 # ICC 10 doesn't accept -KPIC any more.
13143 icc* | ifort*)
13144 lt_prog_compiler_wl_FC='-Wl,'
13145 lt_prog_compiler_pic_FC='-fPIC'
13146 lt_prog_compiler_static_FC='-static'
13147 ;;
13148 # Lahey Fortran 8.1.
13149 lf95*)
13150 lt_prog_compiler_wl_FC='-Wl,'
13151 lt_prog_compiler_pic_FC='--shared'
13152 lt_prog_compiler_static_FC='--static'
13153 ;;
13154 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13155 # Portland Group compilers (*not* the Pentium gcc compiler,
13156 # which looks to be a dead project)
13157 lt_prog_compiler_wl_FC='-Wl,'
13158 lt_prog_compiler_pic_FC='-fpic'
13159 lt_prog_compiler_static_FC='-Bstatic'
13160 ;;
13161 ccc*)
13162 lt_prog_compiler_wl_FC='-Wl,'
13163 # All Alpha code is PIC.
13164 lt_prog_compiler_static_FC='-non_shared'
13165 ;;
13166 xl* | bgxl* | bgf* | mpixl*)
13167 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13168 lt_prog_compiler_wl_FC='-Wl,'
13169 lt_prog_compiler_pic_FC='-qpic'
13170 lt_prog_compiler_static_FC='-qstaticlink'
13171 ;;
13172 *)
13173 case `$CC -V 2>&1 | sed 5q` in
13174 *Sun\ F* | *Sun*Fortran*)
13175 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13176 lt_prog_compiler_pic_FC='-KPIC'
13177 lt_prog_compiler_static_FC='-Bstatic'
13178 lt_prog_compiler_wl_FC=''
13179 ;;
13180 *Sun\ C*)
13181 # Sun C 5.9
13182 lt_prog_compiler_pic_FC='-KPIC'
13183 lt_prog_compiler_static_FC='-Bstatic'
13184 lt_prog_compiler_wl_FC='-Wl,'
13185 ;;
13186 esac
13187 ;;
13188 esac
13189 ;;
13190
13191 newsos6)
13192 lt_prog_compiler_pic_FC='-KPIC'
13193 lt_prog_compiler_static_FC='-Bstatic'
13194 ;;
13195
13196 *nto* | *qnx*)
13197 # QNX uses GNU C++, but need to define -shared option too, otherwise
13198 # it will coredump.
13199 lt_prog_compiler_pic_FC='-fPIC -shared'
13200 ;;
13201
13202 osf3* | osf4* | osf5*)
13203 lt_prog_compiler_wl_FC='-Wl,'
13204 # All OSF/1 code is PIC.
13205 lt_prog_compiler_static_FC='-non_shared'
13206 ;;
13207
13208 rdos*)
13209 lt_prog_compiler_static_FC='-non_shared'
13210 ;;
13211
13212 solaris*)
13213 lt_prog_compiler_pic_FC='-KPIC'
13214 lt_prog_compiler_static_FC='-Bstatic'
13215 case $cc_basename in
13216 f77* | f90* | f95*)
13217 lt_prog_compiler_wl_FC='-Qoption ld ';;
13218 *)
13219 lt_prog_compiler_wl_FC='-Wl,';;
13220 esac
13221 ;;
13222
13223 sunos4*)
13224 lt_prog_compiler_wl_FC='-Qoption ld '
13225 lt_prog_compiler_pic_FC='-PIC'
13226 lt_prog_compiler_static_FC='-Bstatic'
13227 ;;
13228
13229 sysv4 | sysv4.2uw2* | sysv4.3*)
13230 lt_prog_compiler_wl_FC='-Wl,'
13231 lt_prog_compiler_pic_FC='-KPIC'
13232 lt_prog_compiler_static_FC='-Bstatic'
13233 ;;
13234
13235 sysv4*MP*)
13236 if test -d /usr/nec ;then
13237 lt_prog_compiler_pic_FC='-Kconform_pic'
13238 lt_prog_compiler_static_FC='-Bstatic'
13239 fi
13240 ;;
13241
13242 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13243 lt_prog_compiler_wl_FC='-Wl,'
13244 lt_prog_compiler_pic_FC='-KPIC'
13245 lt_prog_compiler_static_FC='-Bstatic'
13246 ;;
13247
13248 unicos*)
13249 lt_prog_compiler_wl_FC='-Wl,'
13250 lt_prog_compiler_can_build_shared_FC=no
13251 ;;
13252
13253 uts4*)
13254 lt_prog_compiler_pic_FC='-pic'
13255 lt_prog_compiler_static_FC='-Bstatic'
13256 ;;
13257
13258 *)
13259 lt_prog_compiler_can_build_shared_FC=no
13260 ;;
13261 esac
13262 fi
13263
13264 case $host_os in
13265 # For platforms which do not support PIC, -DPIC is meaningless:
13266 *djgpp*)
13267 lt_prog_compiler_pic_FC=
13268 ;;
13269 *)
13270 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
13271 ;;
13272 esac
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13274 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13275
13276
13277
13278 #
13279 # Check to make sure the PIC flag actually works.
13280 #
13281 if test -n "$lt_prog_compiler_pic_FC"; then
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13283 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13284 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13285 $as_echo_n "(cached) " >&6
13286 else
13287 lt_cv_prog_compiler_pic_works_FC=no
13288 ac_outfile=conftest.$ac_objext
13289 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13290 lt_compiler_flag="$lt_prog_compiler_pic_FC"
13291 # Insert the option either (1) after the last *FLAGS variable, or
13292 # (2) before a word containing "conftest.", or (3) at the end.
13293 # Note that $ac_compile itself does not contain backslashes and begins
13294 # with a dollar sign (not a hyphen), so the echo should work correctly.
13295 # The option is referenced via a variable to avoid confusing sed.
13296 lt_compile=`echo "$ac_compile" | $SED \
13297 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13298 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13299 -e 's:$: $lt_compiler_flag:'`
13300 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13301 (eval "$lt_compile" 2>conftest.err)
13302 ac_status=$?
13303 cat conftest.err >&5
13304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305 if (exit $ac_status) && test -s "$ac_outfile"; then
13306 # The compiler can only warn and ignore the option if not recognized
13307 # So say no if there are warnings other than the usual output.
13308 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13309 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13310 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13311 lt_cv_prog_compiler_pic_works_FC=yes
13312 fi
13313 fi
13314 $RM conftest*
13315
13316 fi
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13318 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13319
13320 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
13321 case $lt_prog_compiler_pic_FC in
13322 "" | " "*) ;;
13323 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
13324 esac
13325 else
13326 lt_prog_compiler_pic_FC=
13327 lt_prog_compiler_can_build_shared_FC=no
13328 fi
13329
13330 fi
13331
13332
13333
13334 #
13335 # Check to make sure the static flag actually works.
13336 #
13337 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13339 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13340 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13341 $as_echo_n "(cached) " >&6
13342 else
13343 lt_cv_prog_compiler_static_works_FC=no
13344 save_LDFLAGS="$LDFLAGS"
13345 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13346 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13347 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13348 # The linker can only warn and ignore the option if not recognized
13349 # So say no if there are warnings
13350 if test -s conftest.err; then
13351 # Append any errors to the config.log.
13352 cat conftest.err 1>&5
13353 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13354 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13355 if diff conftest.exp conftest.er2 >/dev/null; then
13356 lt_cv_prog_compiler_static_works_FC=yes
13357 fi
13358 else
13359 lt_cv_prog_compiler_static_works_FC=yes
13360 fi
13361 fi
13362 $RM -r conftest*
13363 LDFLAGS="$save_LDFLAGS"
13364
13365 fi
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13367 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13368
13369 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
13370 :
13371 else
13372 lt_prog_compiler_static_FC=
13373 fi
13374
13375
13376
13377
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13379 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13380 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13381 $as_echo_n "(cached) " >&6
13382 else
13383 lt_cv_prog_compiler_c_o_FC=no
13384 $RM -r conftest 2>/dev/null
13385 mkdir conftest
13386 cd conftest
13387 mkdir out
13388 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13389
13390 lt_compiler_flag="-o out/conftest2.$ac_objext"
13391 # Insert the option either (1) after the last *FLAGS variable, or
13392 # (2) before a word containing "conftest.", or (3) at the end.
13393 # Note that $ac_compile itself does not contain backslashes and begins
13394 # with a dollar sign (not a hyphen), so the echo should work correctly.
13395 lt_compile=`echo "$ac_compile" | $SED \
13396 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13397 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13398 -e 's:$: $lt_compiler_flag:'`
13399 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13400 (eval "$lt_compile" 2>out/conftest.err)
13401 ac_status=$?
13402 cat out/conftest.err >&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13405 then
13406 # The compiler can only warn and ignore the option if not recognized
13407 # So say no if there are warnings
13408 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13409 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13410 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13411 lt_cv_prog_compiler_c_o_FC=yes
13412 fi
13413 fi
13414 chmod u+w . 2>&5
13415 $RM conftest*
13416 # SGI C++ compiler will create directory out/ii_files/ for
13417 # template instantiation
13418 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13419 $RM out/* && rmdir out
13420 cd ..
13421 $RM -r conftest
13422 $RM conftest*
13423
13424 fi
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13426 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13427
13428
13429
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13431 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13432 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13433 $as_echo_n "(cached) " >&6
13434 else
13435 lt_cv_prog_compiler_c_o_FC=no
13436 $RM -r conftest 2>/dev/null
13437 mkdir conftest
13438 cd conftest
13439 mkdir out
13440 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13441
13442 lt_compiler_flag="-o out/conftest2.$ac_objext"
13443 # Insert the option either (1) after the last *FLAGS variable, or
13444 # (2) before a word containing "conftest.", or (3) at the end.
13445 # Note that $ac_compile itself does not contain backslashes and begins
13446 # with a dollar sign (not a hyphen), so the echo should work correctly.
13447 lt_compile=`echo "$ac_compile" | $SED \
13448 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13449 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13450 -e 's:$: $lt_compiler_flag:'`
13451 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13452 (eval "$lt_compile" 2>out/conftest.err)
13453 ac_status=$?
13454 cat out/conftest.err >&5
13455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13457 then
13458 # The compiler can only warn and ignore the option if not recognized
13459 # So say no if there are warnings
13460 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13461 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13462 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13463 lt_cv_prog_compiler_c_o_FC=yes
13464 fi
13465 fi
13466 chmod u+w . 2>&5
13467 $RM conftest*
13468 # SGI C++ compiler will create directory out/ii_files/ for
13469 # template instantiation
13470 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13471 $RM out/* && rmdir out
13472 cd ..
13473 $RM -r conftest
13474 $RM conftest*
13475
13476 fi
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13478 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13479
13480
13481
13482
13483 hard_links="nottested"
13484 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
13485 # do not overwrite the value of need_locks provided by the user
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13487 $as_echo_n "checking if we can lock with hard links... " >&6; }
13488 hard_links=yes
13489 $RM conftest*
13490 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13491 touch conftest.a
13492 ln conftest.a conftest.b 2>&5 || hard_links=no
13493 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13495 $as_echo "$hard_links" >&6; }
13496 if test "$hard_links" = no; then
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13498 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13499 need_locks=warn
13500 fi
13501 else
13502 need_locks=no
13503 fi
13504
13505
13506
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13508 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13509
13510 runpath_var=
13511 allow_undefined_flag_FC=
13512 always_export_symbols_FC=no
13513 archive_cmds_FC=
13514 archive_expsym_cmds_FC=
13515 compiler_needs_object_FC=no
13516 enable_shared_with_static_runtimes_FC=no
13517 export_dynamic_flag_spec_FC=
13518 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13519 hardcode_automatic_FC=no
13520 hardcode_direct_FC=no
13521 hardcode_direct_absolute_FC=no
13522 hardcode_libdir_flag_spec_FC=
13523 hardcode_libdir_flag_spec_ld_FC=
13524 hardcode_libdir_separator_FC=
13525 hardcode_minus_L_FC=no
13526 hardcode_shlibpath_var_FC=unsupported
13527 inherit_rpath_FC=no
13528 link_all_deplibs_FC=unknown
13529 module_cmds_FC=
13530 module_expsym_cmds_FC=
13531 old_archive_from_new_cmds_FC=
13532 old_archive_from_expsyms_cmds_FC=
13533 thread_safe_flag_spec_FC=
13534 whole_archive_flag_spec_FC=
13535 # include_expsyms should be a list of space-separated symbols to be *always*
13536 # included in the symbol list
13537 include_expsyms_FC=
13538 # exclude_expsyms can be an extended regexp of symbols to exclude
13539 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13540 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13541 # as well as any symbol that contains `d'.
13542 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13543 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13544 # platforms (ab)use it in PIC code, but their linkers get confused if
13545 # the symbol is explicitly referenced. Since portable code cannot
13546 # rely on this symbol name, it's probably fine to never include it in
13547 # preloaded symbol tables.
13548 # Exclude shared library initialization/finalization symbols.
13549 extract_expsyms_cmds=
13550
13551 case $host_os in
13552 cygwin* | mingw* | pw32* | cegcc*)
13553 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13554 # When not using gcc, we currently assume that we are using
13555 # Microsoft Visual C++.
13556 if test "$GCC" != yes; then
13557 with_gnu_ld=no
13558 fi
13559 ;;
13560 interix*)
13561 # we just hope/assume this is gcc and not c89 (= MSVC++)
13562 with_gnu_ld=yes
13563 ;;
13564 openbsd*)
13565 with_gnu_ld=no
13566 ;;
13567 esac
13568
13569 ld_shlibs_FC=yes
13570
13571 # On some targets, GNU ld is compatible enough with the native linker
13572 # that we're better off using the native interface for both.
13573 lt_use_gnu_ld_interface=no
13574 if test "$with_gnu_ld" = yes; then
13575 case $host_os in
13576 aix*)
13577 # The AIX port of GNU ld has always aspired to compatibility
13578 # with the native linker. However, as the warning in the GNU ld
13579 # block says, versions before 2.19.5* couldn't really create working
13580 # shared libraries, regardless of the interface used.
13581 case `$LD -v 2>&1` in
13582 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
13583 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13584 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13585 *)
13586 lt_use_gnu_ld_interface=yes
13587 ;;
13588 esac
13589 ;;
13590 *)
13591 lt_use_gnu_ld_interface=yes
13592 ;;
13593 esac
13594 fi
13595
13596 if test "$lt_use_gnu_ld_interface" = yes; then
13597 # If archive_cmds runs LD, not CC, wlarc should be empty
13598 wlarc='${wl}'
13599
13600 # Set some defaults for GNU ld with shared library support. These
13601 # are reset later if shared libraries are not supported. Putting them
13602 # here allows them to be overridden if necessary.
13603 runpath_var=LD_RUN_PATH
13604 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13605 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
13606 # ancient GNU ld didn't support --whole-archive et. al.
13607 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13608 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13609 else
13610 whole_archive_flag_spec_FC=
13611 fi
13612 supports_anon_versioning=no
13613 case `$LD -v 2>&1` in
13614 *GNU\ gold*) supports_anon_versioning=yes ;;
13615 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13616 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13617 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13618 *\ 2.11.*) ;; # other 2.11 versions
13619 *) supports_anon_versioning=yes ;;
13620 esac
13621
13622 # See if GNU ld supports shared libraries.
13623 case $host_os in
13624 aix[3-9]*)
13625 # On AIX/PPC, the GNU linker is very broken
13626 if test "$host_cpu" != ia64; then
13627 ld_shlibs_FC=no
13628 cat <<_LT_EOF 1>&2
13629
13630 *** Warning: the GNU linker, at least up to release 2.19, is reported
13631 *** to be unable to reliably create shared libraries on AIX.
13632 *** Therefore, libtool is disabling shared libraries support. If you
13633 *** really care for shared libraries, you may want to install binutils
13634 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13635 *** You will then need to restart the configuration process.
13636
13637 _LT_EOF
13638 fi
13639 ;;
13640
13641 amigaos*)
13642 case $host_cpu in
13643 powerpc)
13644 # see comment about AmigaOS4 .so support
13645 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13646 archive_expsym_cmds_FC=''
13647 ;;
13648 m68k)
13649 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)'
13650 hardcode_libdir_flag_spec_FC='-L$libdir'
13651 hardcode_minus_L_FC=yes
13652 ;;
13653 esac
13654 ;;
13655
13656 beos*)
13657 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13658 allow_undefined_flag_FC=unsupported
13659 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13660 # support --undefined. This deserves some investigation. FIXME
13661 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13662 else
13663 ld_shlibs_FC=no
13664 fi
13665 ;;
13666
13667 cygwin* | mingw* | pw32* | cegcc*)
13668 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13669 # as there is no search path for DLLs.
13670 hardcode_libdir_flag_spec_FC='-L$libdir'
13671 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
13672 allow_undefined_flag_FC=unsupported
13673 always_export_symbols_FC=no
13674 enable_shared_with_static_runtimes_FC=yes
13675 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13676
13677 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13678 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13679 # If the export-symbols file already is a .def file (1st line
13680 # is EXPORTS), use it as is; otherwise, prepend...
13681 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13682 cp $export_symbols $output_objdir/$soname.def;
13683 else
13684 echo EXPORTS > $output_objdir/$soname.def;
13685 cat $export_symbols >> $output_objdir/$soname.def;
13686 fi~
13687 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13688 else
13689 ld_shlibs_FC=no
13690 fi
13691 ;;
13692
13693 haiku*)
13694 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13695 link_all_deplibs_FC=yes
13696 ;;
13697
13698 interix[3-9]*)
13699 hardcode_direct_FC=no
13700 hardcode_shlibpath_var_FC=no
13701 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13702 export_dynamic_flag_spec_FC='${wl}-E'
13703 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13704 # Instead, shared libraries are loaded at an image base (0x10000000 by
13705 # default) and relocated if they conflict, which is a slow very memory
13706 # consuming and fragmenting process. To avoid this, we pick a random,
13707 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13708 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13709 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'
13710 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'
13711 ;;
13712
13713 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13714 tmp_diet=no
13715 if test "$host_os" = linux-dietlibc; then
13716 case $cc_basename in
13717 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
13718 esac
13719 fi
13720 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13721 && test "$tmp_diet" = no
13722 then
13723 tmp_addflag=
13724 tmp_sharedflag='-shared'
13725 case $cc_basename,$host_cpu in
13726 pgcc*) # Portland Group C compiler
13727 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'
13728 tmp_addflag=' $pic_flag'
13729 ;;
13730 pgf77* | pgf90* | pgf95* | pgfortran*)
13731 # Portland Group f77 and f90 compilers
13732 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'
13733 tmp_addflag=' $pic_flag -Mnomain' ;;
13734 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13735 tmp_addflag=' -i_dynamic' ;;
13736 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13737 tmp_addflag=' -i_dynamic -nofor_main' ;;
13738 ifc* | ifort*) # Intel Fortran compiler
13739 tmp_addflag=' -nofor_main' ;;
13740 lf95*) # Lahey Fortran 8.1
13741 whole_archive_flag_spec_FC=
13742 tmp_sharedflag='--shared' ;;
13743 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13744 tmp_sharedflag='-qmkshrobj'
13745 tmp_addflag= ;;
13746 nvcc*) # Cuda Compiler Driver 2.2
13747 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'
13748 compiler_needs_object_FC=yes
13749 ;;
13750 esac
13751 case `$CC -V 2>&1 | sed 5q` in
13752 *Sun\ C*) # Sun C 5.9
13753 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'
13754 compiler_needs_object_FC=yes
13755 tmp_sharedflag='-G' ;;
13756 *Sun\ F*) # Sun Fortran 8.3
13757 tmp_sharedflag='-G' ;;
13758 esac
13759 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13760
13761 if test "x$supports_anon_versioning" = xyes; then
13762 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13763 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13764 echo "local: *; };" >> $output_objdir/$libname.ver~
13765 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13766 fi
13767
13768 case $cc_basename in
13769 xlf* | bgf* | bgxlf* | mpixlf*)
13770 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13771 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
13772 hardcode_libdir_flag_spec_FC=
13773 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
13774 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13775 if test "x$supports_anon_versioning" = xyes; then
13776 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13777 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13778 echo "local: *; };" >> $output_objdir/$libname.ver~
13779 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13780 fi
13781 ;;
13782 esac
13783 else
13784 ld_shlibs_FC=no
13785 fi
13786 ;;
13787
13788 netbsd*)
13789 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13790 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13791 wlarc=
13792 else
13793 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13794 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13795 fi
13796 ;;
13797
13798 solaris*)
13799 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
13800 ld_shlibs_FC=no
13801 cat <<_LT_EOF 1>&2
13802
13803 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13804 *** create shared libraries on Solaris systems. Therefore, libtool
13805 *** is disabling shared libraries support. We urge you to upgrade GNU
13806 *** binutils to release 2.9.1 or newer. Another option is to modify
13807 *** your PATH or compiler configuration so that the native linker is
13808 *** used, and then restart.
13809
13810 _LT_EOF
13811 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13812 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13813 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13814 else
13815 ld_shlibs_FC=no
13816 fi
13817 ;;
13818
13819 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13820 case `$LD -v 2>&1` in
13821 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13822 ld_shlibs_FC=no
13823 cat <<_LT_EOF 1>&2
13824
13825 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13826 *** reliably create shared libraries on SCO systems. Therefore, libtool
13827 *** is disabling shared libraries support. We urge you to upgrade GNU
13828 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13829 *** your PATH or compiler configuration so that the native linker is
13830 *** used, and then restart.
13831
13832 _LT_EOF
13833 ;;
13834 *)
13835 # For security reasons, it is highly recommended that you always
13836 # use absolute paths for naming shared libraries, and exclude the
13837 # DT_RUNPATH tag from executables and libraries. But doing so
13838 # requires that you compile everything twice, which is a pain.
13839 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13840 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13841 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13842 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13843 else
13844 ld_shlibs_FC=no
13845 fi
13846 ;;
13847 esac
13848 ;;
13849
13850 sunos4*)
13851 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13852 wlarc=
13853 hardcode_direct_FC=yes
13854 hardcode_shlibpath_var_FC=no
13855 ;;
13856
13857 *)
13858 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13859 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13860 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13861 else
13862 ld_shlibs_FC=no
13863 fi
13864 ;;
13865 esac
13866
13867 if test "$ld_shlibs_FC" = no; then
13868 runpath_var=
13869 hardcode_libdir_flag_spec_FC=
13870 export_dynamic_flag_spec_FC=
13871 whole_archive_flag_spec_FC=
13872 fi
13873 else
13874 # PORTME fill in a description of your system's linker (not GNU ld)
13875 case $host_os in
13876 aix3*)
13877 allow_undefined_flag_FC=unsupported
13878 always_export_symbols_FC=yes
13879 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'
13880 # Note: this linker hardcodes the directories in LIBPATH if there
13881 # are no directories specified by -L.
13882 hardcode_minus_L_FC=yes
13883 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13884 # Neither direct hardcoding nor static linking is supported with a
13885 # broken collect2.
13886 hardcode_direct_FC=unsupported
13887 fi
13888 ;;
13889
13890 aix[4-9]*)
13891 if test "$host_cpu" = ia64; then
13892 # On IA64, the linker does run time linking by default, so we don't
13893 # have to do anything special.
13894 aix_use_runtimelinking=no
13895 exp_sym_flag='-Bexport'
13896 no_entry_flag=""
13897 else
13898 # If we're using GNU nm, then we don't want the "-C" option.
13899 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13900 # Also, AIX nm treats weak defined symbols like other global
13901 # defined symbols, whereas GNU nm marks them as "W".
13902 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13903 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'
13904 else
13905 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'
13906 fi
13907 aix_use_runtimelinking=no
13908
13909 # Test if we are trying to use run time linking or normal
13910 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13911 # need to do runtime linking.
13912 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13913 for ld_flag in $LDFLAGS; do
13914 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13915 aix_use_runtimelinking=yes
13916 break
13917 fi
13918 done
13919 ;;
13920 esac
13921
13922 exp_sym_flag='-bexport'
13923 no_entry_flag='-bnoentry'
13924 fi
13925
13926 # When large executables or shared objects are built, AIX ld can
13927 # have problems creating the table of contents. If linking a library
13928 # or program results in "error TOC overflow" add -mminimal-toc to
13929 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13930 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13931
13932 archive_cmds_FC=''
13933 hardcode_direct_FC=yes
13934 hardcode_direct_absolute_FC=yes
13935 hardcode_libdir_separator_FC=':'
13936 link_all_deplibs_FC=yes
13937 file_list_spec_FC='${wl}-f,'
13938
13939 if test "$GCC" = yes; then
13940 case $host_os in aix4.[012]|aix4.[012].*)
13941 # We only want to do this on AIX 4.2 and lower, the check
13942 # below for broken collect2 doesn't work under 4.3+
13943 collect2name=`${CC} -print-prog-name=collect2`
13944 if test -f "$collect2name" &&
13945 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13946 then
13947 # We have reworked collect2
13948 :
13949 else
13950 # We have old collect2
13951 hardcode_direct_FC=unsupported
13952 # It fails to find uninstalled libraries when the uninstalled
13953 # path is not listed in the libpath. Setting hardcode_minus_L
13954 # to unsupported forces relinking
13955 hardcode_minus_L_FC=yes
13956 hardcode_libdir_flag_spec_FC='-L$libdir'
13957 hardcode_libdir_separator_FC=
13958 fi
13959 ;;
13960 esac
13961 shared_flag='-shared'
13962 if test "$aix_use_runtimelinking" = yes; then
13963 shared_flag="$shared_flag "'${wl}-G'
13964 fi
13965 else
13966 # not using gcc
13967 if test "$host_cpu" = ia64; then
13968 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13969 # chokes on -Wl,-G. The following line is correct:
13970 shared_flag='-G'
13971 else
13972 if test "$aix_use_runtimelinking" = yes; then
13973 shared_flag='${wl}-G'
13974 else
13975 shared_flag='${wl}-bM:SRE'
13976 fi
13977 fi
13978 fi
13979
13980 export_dynamic_flag_spec_FC='${wl}-bexpall'
13981 # It seems that -bexpall does not export symbols beginning with
13982 # underscore (_), so it is better to generate a list of symbols to export.
13983 always_export_symbols_FC=yes
13984 if test "$aix_use_runtimelinking" = yes; then
13985 # Warning - without using the other runtime loading flags (-brtl),
13986 # -berok will link without error, but may produce a broken library.
13987 allow_undefined_flag_FC='-berok'
13988 # Determine the default libpath from the value encoded in an
13989 # empty executable.
13990 if test x$gcc_no_link = xyes; then
13991 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13992 fi
13993 cat > conftest.$ac_ext <<_ACEOF
13994 program main
13995
13996 end
13997 _ACEOF
13998 if ac_fn_fc_try_link "$LINENO"; then :
13999
14000 lt_aix_libpath_sed='
14001 /Import File Strings/,/^$/ {
14002 /^0/ {
14003 s/^0 *\(.*\)$/\1/
14004 p
14005 }
14006 }'
14007 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14008 # Check for a 64-bit object if we didn't find anything.
14009 if test -z "$aix_libpath"; then
14010 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14011 fi
14012 fi
14013 rm -f core conftest.err conftest.$ac_objext \
14014 conftest$ac_exeext conftest.$ac_ext
14015 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14016
14017 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14018 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"
14019 else
14020 if test "$host_cpu" = ia64; then
14021 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14022 allow_undefined_flag_FC="-z nodefs"
14023 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"
14024 else
14025 # Determine the default libpath from the value encoded in an
14026 # empty executable.
14027 if test x$gcc_no_link = xyes; then
14028 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14029 fi
14030 cat > conftest.$ac_ext <<_ACEOF
14031 program main
14032
14033 end
14034 _ACEOF
14035 if ac_fn_fc_try_link "$LINENO"; then :
14036
14037 lt_aix_libpath_sed='
14038 /Import File Strings/,/^$/ {
14039 /^0/ {
14040 s/^0 *\(.*\)$/\1/
14041 p
14042 }
14043 }'
14044 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14045 # Check for a 64-bit object if we didn't find anything.
14046 if test -z "$aix_libpath"; then
14047 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14048 fi
14049 fi
14050 rm -f core conftest.err conftest.$ac_objext \
14051 conftest$ac_exeext conftest.$ac_ext
14052 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14053
14054 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14055 # Warning - without using the other run time loading flags,
14056 # -berok will link without error, but may produce a broken library.
14057 no_undefined_flag_FC=' ${wl}-bernotok'
14058 allow_undefined_flag_FC=' ${wl}-berok'
14059 if test "$with_gnu_ld" = yes; then
14060 # We only use this code for GNU lds that support --whole-archive.
14061 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14062 else
14063 # Exported symbols can be pulled into shared objects from archives
14064 whole_archive_flag_spec_FC='$convenience'
14065 fi
14066 archive_cmds_need_lc_FC=yes
14067 # This is similar to how AIX traditionally builds its shared libraries.
14068 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'
14069 fi
14070 fi
14071 ;;
14072
14073 amigaos*)
14074 case $host_cpu in
14075 powerpc)
14076 # see comment about AmigaOS4 .so support
14077 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14078 archive_expsym_cmds_FC=''
14079 ;;
14080 m68k)
14081 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)'
14082 hardcode_libdir_flag_spec_FC='-L$libdir'
14083 hardcode_minus_L_FC=yes
14084 ;;
14085 esac
14086 ;;
14087
14088 bsdi[45]*)
14089 export_dynamic_flag_spec_FC=-rdynamic
14090 ;;
14091
14092 cygwin* | mingw* | pw32* | cegcc*)
14093 # When not using gcc, we currently assume that we are using
14094 # Microsoft Visual C++.
14095 # hardcode_libdir_flag_spec is actually meaningless, as there is
14096 # no search path for DLLs.
14097 hardcode_libdir_flag_spec_FC=' '
14098 allow_undefined_flag_FC=unsupported
14099 # Tell ltmain to make .lib files, not .a files.
14100 libext=lib
14101 # Tell ltmain to make .dll files, not .so files.
14102 shrext_cmds=".dll"
14103 # FIXME: Setting linknames here is a bad hack.
14104 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14105 # The linker will automatically build a .lib file if we build a DLL.
14106 old_archive_from_new_cmds_FC='true'
14107 # FIXME: Should let the user specify the lib program.
14108 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14109 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14110 enable_shared_with_static_runtimes_FC=yes
14111 ;;
14112
14113 darwin* | rhapsody*)
14114
14115
14116 archive_cmds_need_lc_FC=no
14117 hardcode_direct_FC=no
14118 hardcode_automatic_FC=yes
14119 hardcode_shlibpath_var_FC=unsupported
14120 if test "$lt_cv_ld_force_load" = "yes"; then
14121 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\"`'
14122 else
14123 whole_archive_flag_spec_FC=''
14124 fi
14125 link_all_deplibs_FC=yes
14126 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14127 case $cc_basename in
14128 ifort*) _lt_dar_can_shared=yes ;;
14129 *) _lt_dar_can_shared=$GCC ;;
14130 esac
14131 if test "$_lt_dar_can_shared" = "yes"; then
14132 output_verbose_link_cmd=func_echo_all
14133 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}"
14134 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14135 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}"
14136 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}"
14137
14138 else
14139 ld_shlibs_FC=no
14140 fi
14141
14142 ;;
14143
14144 dgux*)
14145 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14146 hardcode_libdir_flag_spec_FC='-L$libdir'
14147 hardcode_shlibpath_var_FC=no
14148 ;;
14149
14150 freebsd1*)
14151 ld_shlibs_FC=no
14152 ;;
14153
14154 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14155 # support. Future versions do this automatically, but an explicit c++rt0.o
14156 # does not break anything, and helps significantly (at the cost of a little
14157 # extra space).
14158 freebsd2.2*)
14159 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14160 hardcode_libdir_flag_spec_FC='-R$libdir'
14161 hardcode_direct_FC=yes
14162 hardcode_shlibpath_var_FC=no
14163 ;;
14164
14165 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14166 freebsd2*)
14167 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14168 hardcode_direct_FC=yes
14169 hardcode_minus_L_FC=yes
14170 hardcode_shlibpath_var_FC=no
14171 ;;
14172
14173 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14174 freebsd* | dragonfly*)
14175 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14176 hardcode_libdir_flag_spec_FC='-R$libdir'
14177 hardcode_direct_FC=yes
14178 hardcode_shlibpath_var_FC=no
14179 ;;
14180
14181 hpux9*)
14182 if test "$GCC" = yes; then
14183 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'
14184 else
14185 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'
14186 fi
14187 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14188 hardcode_libdir_separator_FC=:
14189 hardcode_direct_FC=yes
14190
14191 # hardcode_minus_L: Not really in the search PATH,
14192 # but as the default location of the library.
14193 hardcode_minus_L_FC=yes
14194 export_dynamic_flag_spec_FC='${wl}-E'
14195 ;;
14196
14197 hpux10*)
14198 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14199 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14200 else
14201 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14202 fi
14203 if test "$with_gnu_ld" = no; then
14204 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14205 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
14206 hardcode_libdir_separator_FC=:
14207 hardcode_direct_FC=yes
14208 hardcode_direct_absolute_FC=yes
14209 export_dynamic_flag_spec_FC='${wl}-E'
14210 # hardcode_minus_L: Not really in the search PATH,
14211 # but as the default location of the library.
14212 hardcode_minus_L_FC=yes
14213 fi
14214 ;;
14215
14216 hpux11*)
14217 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14218 case $host_cpu in
14219 hppa*64*)
14220 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14221 ;;
14222 ia64*)
14223 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14224 ;;
14225 *)
14226 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14227 ;;
14228 esac
14229 else
14230 case $host_cpu in
14231 hppa*64*)
14232 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14233 ;;
14234 ia64*)
14235 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14236 ;;
14237 *)
14238 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14239 ;;
14240 esac
14241 fi
14242 if test "$with_gnu_ld" = no; then
14243 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14244 hardcode_libdir_separator_FC=:
14245
14246 case $host_cpu in
14247 hppa*64*|ia64*)
14248 hardcode_direct_FC=no
14249 hardcode_shlibpath_var_FC=no
14250 ;;
14251 *)
14252 hardcode_direct_FC=yes
14253 hardcode_direct_absolute_FC=yes
14254 export_dynamic_flag_spec_FC='${wl}-E'
14255
14256 # hardcode_minus_L: Not really in the search PATH,
14257 # but as the default location of the library.
14258 hardcode_minus_L_FC=yes
14259 ;;
14260 esac
14261 fi
14262 ;;
14263
14264 irix5* | irix6* | nonstopux*)
14265 if test "$GCC" = yes; then
14266 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'
14267 # Try to use the -exported_symbol ld option, if it does not
14268 # work, assume that -exports_file does not work either and
14269 # implicitly export all symbols.
14270 save_LDFLAGS="$LDFLAGS"
14271 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14272 if test x$gcc_no_link = xyes; then
14273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14274 fi
14275 cat > conftest.$ac_ext <<_ACEOF
14276 int foo(void) {}
14277 _ACEOF
14278 if ac_fn_fc_try_link "$LINENO"; then :
14279 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'
14280
14281 fi
14282 rm -f core conftest.err conftest.$ac_objext \
14283 conftest$ac_exeext conftest.$ac_ext
14284 LDFLAGS="$save_LDFLAGS"
14285 else
14286 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'
14287 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'
14288 fi
14289 archive_cmds_need_lc_FC='no'
14290 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14291 hardcode_libdir_separator_FC=:
14292 inherit_rpath_FC=yes
14293 link_all_deplibs_FC=yes
14294 ;;
14295
14296 netbsd*)
14297 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14298 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14299 else
14300 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14301 fi
14302 hardcode_libdir_flag_spec_FC='-R$libdir'
14303 hardcode_direct_FC=yes
14304 hardcode_shlibpath_var_FC=no
14305 ;;
14306
14307 newsos6)
14308 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14309 hardcode_direct_FC=yes
14310 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14311 hardcode_libdir_separator_FC=:
14312 hardcode_shlibpath_var_FC=no
14313 ;;
14314
14315 *nto* | *qnx*)
14316 ;;
14317
14318 openbsd*)
14319 if test -f /usr/libexec/ld.so; then
14320 hardcode_direct_FC=yes
14321 hardcode_shlibpath_var_FC=no
14322 hardcode_direct_absolute_FC=yes
14323 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14324 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14325 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14326 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14327 export_dynamic_flag_spec_FC='${wl}-E'
14328 else
14329 case $host_os in
14330 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14331 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14332 hardcode_libdir_flag_spec_FC='-R$libdir'
14333 ;;
14334 *)
14335 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14336 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14337 ;;
14338 esac
14339 fi
14340 else
14341 ld_shlibs_FC=no
14342 fi
14343 ;;
14344
14345 os2*)
14346 hardcode_libdir_flag_spec_FC='-L$libdir'
14347 hardcode_minus_L_FC=yes
14348 allow_undefined_flag_FC=unsupported
14349 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'
14350 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14351 ;;
14352
14353 osf3*)
14354 if test "$GCC" = yes; then
14355 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14356 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'
14357 else
14358 allow_undefined_flag_FC=' -expect_unresolved \*'
14359 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'
14360 fi
14361 archive_cmds_need_lc_FC='no'
14362 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14363 hardcode_libdir_separator_FC=:
14364 ;;
14365
14366 osf4* | osf5*) # as osf3* with the addition of -msym flag
14367 if test "$GCC" = yes; then
14368 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14369 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'
14370 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14371 else
14372 allow_undefined_flag_FC=' -expect_unresolved \*'
14373 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'
14374 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~
14375 $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'
14376
14377 # Both c and cxx compiler support -rpath directly
14378 hardcode_libdir_flag_spec_FC='-rpath $libdir'
14379 fi
14380 archive_cmds_need_lc_FC='no'
14381 hardcode_libdir_separator_FC=:
14382 ;;
14383
14384 solaris*)
14385 no_undefined_flag_FC=' -z defs'
14386 if test "$GCC" = yes; then
14387 wlarc='${wl}'
14388 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14389 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14390 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14391 else
14392 case `$CC -V 2>&1` in
14393 *"Compilers 5.0"*)
14394 wlarc=''
14395 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14396 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14397 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14398 ;;
14399 *)
14400 wlarc='${wl}'
14401 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14402 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14403 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14404 ;;
14405 esac
14406 fi
14407 hardcode_libdir_flag_spec_FC='-R$libdir'
14408 hardcode_shlibpath_var_FC=no
14409 case $host_os in
14410 solaris2.[0-5] | solaris2.[0-5].*) ;;
14411 *)
14412 # The compiler driver will combine and reorder linker options,
14413 # but understands `-z linker_flag'. GCC discards it without `$wl',
14414 # but is careful enough not to reorder.
14415 # Supported since Solaris 2.6 (maybe 2.5.1?)
14416 if test "$GCC" = yes; then
14417 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14418 else
14419 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
14420 fi
14421 ;;
14422 esac
14423 link_all_deplibs_FC=yes
14424 ;;
14425
14426 sunos4*)
14427 if test "x$host_vendor" = xsequent; then
14428 # Use $CC to link under sequent, because it throws in some extra .o
14429 # files that make .init and .fini sections work.
14430 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14431 else
14432 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14433 fi
14434 hardcode_libdir_flag_spec_FC='-L$libdir'
14435 hardcode_direct_FC=yes
14436 hardcode_minus_L_FC=yes
14437 hardcode_shlibpath_var_FC=no
14438 ;;
14439
14440 sysv4)
14441 case $host_vendor in
14442 sni)
14443 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14444 hardcode_direct_FC=yes # is this really true???
14445 ;;
14446 siemens)
14447 ## LD is ld it makes a PLAMLIB
14448 ## CC just makes a GrossModule.
14449 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14450 reload_cmds_FC='$CC -r -o $output$reload_objs'
14451 hardcode_direct_FC=no
14452 ;;
14453 motorola)
14454 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14455 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
14456 ;;
14457 esac
14458 runpath_var='LD_RUN_PATH'
14459 hardcode_shlibpath_var_FC=no
14460 ;;
14461
14462 sysv4.3*)
14463 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14464 hardcode_shlibpath_var_FC=no
14465 export_dynamic_flag_spec_FC='-Bexport'
14466 ;;
14467
14468 sysv4*MP*)
14469 if test -d /usr/nec; then
14470 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14471 hardcode_shlibpath_var_FC=no
14472 runpath_var=LD_RUN_PATH
14473 hardcode_runpath_var=yes
14474 ld_shlibs_FC=yes
14475 fi
14476 ;;
14477
14478 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14479 no_undefined_flag_FC='${wl}-z,text'
14480 archive_cmds_need_lc_FC=no
14481 hardcode_shlibpath_var_FC=no
14482 runpath_var='LD_RUN_PATH'
14483
14484 if test "$GCC" = yes; then
14485 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14486 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14487 else
14488 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14489 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14490 fi
14491 ;;
14492
14493 sysv5* | sco3.2v5* | sco5v6*)
14494 # Note: We can NOT use -z defs as we might desire, because we do not
14495 # link with -lc, and that would cause any symbols used from libc to
14496 # always be unresolved, which means just about no library would
14497 # ever link correctly. If we're not using GNU ld we use -z text
14498 # though, which does catch some bad symbols but isn't as heavy-handed
14499 # as -z defs.
14500 no_undefined_flag_FC='${wl}-z,text'
14501 allow_undefined_flag_FC='${wl}-z,nodefs'
14502 archive_cmds_need_lc_FC=no
14503 hardcode_shlibpath_var_FC=no
14504 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
14505 hardcode_libdir_separator_FC=':'
14506 link_all_deplibs_FC=yes
14507 export_dynamic_flag_spec_FC='${wl}-Bexport'
14508 runpath_var='LD_RUN_PATH'
14509
14510 if test "$GCC" = yes; then
14511 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14512 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14513 else
14514 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14515 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14516 fi
14517 ;;
14518
14519 uts4*)
14520 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14521 hardcode_libdir_flag_spec_FC='-L$libdir'
14522 hardcode_shlibpath_var_FC=no
14523 ;;
14524
14525 *)
14526 ld_shlibs_FC=no
14527 ;;
14528 esac
14529
14530 if test x$host_vendor = xsni; then
14531 case $host in
14532 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14533 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
14534 ;;
14535 esac
14536 fi
14537 fi
14538
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14540 $as_echo "$ld_shlibs_FC" >&6; }
14541 test "$ld_shlibs_FC" = no && can_build_shared=no
14542
14543 with_gnu_ld_FC=$with_gnu_ld
14544
14545
14546
14547
14548
14549
14550 #
14551 # Do we need to explicitly link libc?
14552 #
14553 case "x$archive_cmds_need_lc_FC" in
14554 x|xyes)
14555 # Assume -lc should be added
14556 archive_cmds_need_lc_FC=yes
14557
14558 if test "$enable_shared" = yes && test "$GCC" = yes; then
14559 case $archive_cmds_FC in
14560 *'~'*)
14561 # FIXME: we may have to deal with multi-command sequences.
14562 ;;
14563 '$CC '*)
14564 # Test whether the compiler implicitly links with -lc since on some
14565 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14566 # to ld, don't add -lc before -lgcc.
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14568 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14569 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14570 $as_echo_n "(cached) " >&6
14571 else
14572 $RM conftest*
14573 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14574
14575 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14576 (eval $ac_compile) 2>&5
14577 ac_status=$?
14578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14579 test $ac_status = 0; } 2>conftest.err; then
14580 soname=conftest
14581 lib=conftest
14582 libobjs=conftest.$ac_objext
14583 deplibs=
14584 wl=$lt_prog_compiler_wl_FC
14585 pic_flag=$lt_prog_compiler_pic_FC
14586 compiler_flags=-v
14587 linker_flags=-v
14588 verstring=
14589 output_objdir=.
14590 libname=conftest
14591 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
14592 allow_undefined_flag_FC=
14593 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14594 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14595 ac_status=$?
14596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14597 test $ac_status = 0; }
14598 then
14599 lt_cv_archive_cmds_need_lc_FC=no
14600 else
14601 lt_cv_archive_cmds_need_lc_FC=yes
14602 fi
14603 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
14604 else
14605 cat conftest.err 1>&5
14606 fi
14607 $RM conftest*
14608
14609 fi
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14611 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14612 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
14613 ;;
14614 esac
14615 fi
14616 ;;
14617 esac
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14683 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14684
14685 library_names_spec=
14686 libname_spec='lib$name'
14687 soname_spec=
14688 shrext_cmds=".so"
14689 postinstall_cmds=
14690 postuninstall_cmds=
14691 finish_cmds=
14692 finish_eval=
14693 shlibpath_var=
14694 shlibpath_overrides_runpath=unknown
14695 version_type=none
14696 dynamic_linker="$host_os ld.so"
14697 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14698 need_lib_prefix=unknown
14699 hardcode_into_libs=no
14700
14701 # when you set need_version to no, make sure it does not cause -set_version
14702 # flags to be left without arguments
14703 need_version=unknown
14704
14705 case $host_os in
14706 aix3*)
14707 version_type=linux
14708 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14709 shlibpath_var=LIBPATH
14710
14711 # AIX 3 has no versioning support, so we append a major version to the name.
14712 soname_spec='${libname}${release}${shared_ext}$major'
14713 ;;
14714
14715 aix[4-9]*)
14716 version_type=linux
14717 need_lib_prefix=no
14718 need_version=no
14719 hardcode_into_libs=yes
14720 if test "$host_cpu" = ia64; then
14721 # AIX 5 supports IA64
14722 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14723 shlibpath_var=LD_LIBRARY_PATH
14724 else
14725 # With GCC up to 2.95.x, collect2 would create an import file
14726 # for dependence libraries. The import file would start with
14727 # the line `#! .'. This would cause the generated library to
14728 # depend on `.', always an invalid library. This was fixed in
14729 # development snapshots of GCC prior to 3.0.
14730 case $host_os in
14731 aix4 | aix4.[01] | aix4.[01].*)
14732 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14733 echo ' yes '
14734 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14735 :
14736 else
14737 can_build_shared=no
14738 fi
14739 ;;
14740 esac
14741 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14742 # soname into executable. Probably we can add versioning support to
14743 # collect2, so additional links can be useful in future.
14744 if test "$aix_use_runtimelinking" = yes; then
14745 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14746 # instead of lib<name>.a to let people know that these are not
14747 # typical AIX shared libraries.
14748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14749 else
14750 # We preserve .a as extension for shared libraries through AIX4.2
14751 # and later when we are not doing run time linking.
14752 library_names_spec='${libname}${release}.a $libname.a'
14753 soname_spec='${libname}${release}${shared_ext}$major'
14754 fi
14755 shlibpath_var=LIBPATH
14756 fi
14757 ;;
14758
14759 amigaos*)
14760 case $host_cpu in
14761 powerpc)
14762 # Since July 2007 AmigaOS4 officially supports .so libraries.
14763 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14765 ;;
14766 m68k)
14767 library_names_spec='$libname.ixlibrary $libname.a'
14768 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14769 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'
14770 ;;
14771 esac
14772 ;;
14773
14774 beos*)
14775 library_names_spec='${libname}${shared_ext}'
14776 dynamic_linker="$host_os ld.so"
14777 shlibpath_var=LIBRARY_PATH
14778 ;;
14779
14780 bsdi[45]*)
14781 version_type=linux
14782 need_version=no
14783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14784 soname_spec='${libname}${release}${shared_ext}$major'
14785 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14786 shlibpath_var=LD_LIBRARY_PATH
14787 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14788 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14789 # the default ld.so.conf also contains /usr/contrib/lib and
14790 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14791 # libtool to hard-code these into programs
14792 ;;
14793
14794 cygwin* | mingw* | pw32* | cegcc*)
14795 version_type=windows
14796 shrext_cmds=".dll"
14797 need_version=no
14798 need_lib_prefix=no
14799
14800 case $GCC,$host_os in
14801 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14802 library_names_spec='$libname.dll.a'
14803 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14804 postinstall_cmds='base_file=`basename \${file}`~
14805 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14806 dldir=$destdir/`dirname \$dlpath`~
14807 test -d \$dldir || mkdir -p \$dldir~
14808 $install_prog $dir/$dlname \$dldir/$dlname~
14809 chmod a+x \$dldir/$dlname~
14810 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14811 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14812 fi'
14813 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14814 dlpath=$dir/\$dldll~
14815 $RM \$dlpath'
14816 shlibpath_overrides_runpath=yes
14817
14818 case $host_os in
14819 cygwin*)
14820 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14821 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14822
14823 ;;
14824 mingw* | cegcc*)
14825 # MinGW DLLs use traditional 'lib' prefix
14826 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14827 ;;
14828 pw32*)
14829 # pw32 DLLs use 'pw' prefix rather than 'lib'
14830 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14831 ;;
14832 esac
14833 ;;
14834
14835 *)
14836 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14837 ;;
14838 esac
14839 dynamic_linker='Win32 ld.exe'
14840 # FIXME: first we should search . and the directory the executable is in
14841 shlibpath_var=PATH
14842 ;;
14843
14844 darwin* | rhapsody*)
14845 dynamic_linker="$host_os dyld"
14846 version_type=darwin
14847 need_lib_prefix=no
14848 need_version=no
14849 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14850 soname_spec='${libname}${release}${major}$shared_ext'
14851 shlibpath_overrides_runpath=yes
14852 shlibpath_var=DYLD_LIBRARY_PATH
14853 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14854
14855 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14856 ;;
14857
14858 dgux*)
14859 version_type=linux
14860 need_lib_prefix=no
14861 need_version=no
14862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14863 soname_spec='${libname}${release}${shared_ext}$major'
14864 shlibpath_var=LD_LIBRARY_PATH
14865 ;;
14866
14867 freebsd1*)
14868 dynamic_linker=no
14869 ;;
14870
14871 freebsd* | dragonfly*)
14872 # DragonFly does not have aout. When/if they implement a new
14873 # versioning mechanism, adjust this.
14874 if test -x /usr/bin/objformat; then
14875 objformat=`/usr/bin/objformat`
14876 else
14877 case $host_os in
14878 freebsd[123]*) objformat=aout ;;
14879 *) objformat=elf ;;
14880 esac
14881 fi
14882 version_type=freebsd-$objformat
14883 case $version_type in
14884 freebsd-elf*)
14885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14886 need_version=no
14887 need_lib_prefix=no
14888 ;;
14889 freebsd-*)
14890 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14891 need_version=yes
14892 ;;
14893 esac
14894 shlibpath_var=LD_LIBRARY_PATH
14895 case $host_os in
14896 freebsd2*)
14897 shlibpath_overrides_runpath=yes
14898 ;;
14899 freebsd3.[01]* | freebsdelf3.[01]*)
14900 shlibpath_overrides_runpath=yes
14901 hardcode_into_libs=yes
14902 ;;
14903 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14904 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14905 shlibpath_overrides_runpath=no
14906 hardcode_into_libs=yes
14907 ;;
14908 *) # from 4.6 on, and DragonFly
14909 shlibpath_overrides_runpath=yes
14910 hardcode_into_libs=yes
14911 ;;
14912 esac
14913 ;;
14914
14915 gnu*)
14916 version_type=linux
14917 need_lib_prefix=no
14918 need_version=no
14919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14920 soname_spec='${libname}${release}${shared_ext}$major'
14921 shlibpath_var=LD_LIBRARY_PATH
14922 hardcode_into_libs=yes
14923 ;;
14924
14925 haiku*)
14926 version_type=linux
14927 need_lib_prefix=no
14928 need_version=no
14929 dynamic_linker="$host_os runtime_loader"
14930 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14931 soname_spec='${libname}${release}${shared_ext}$major'
14932 shlibpath_var=LIBRARY_PATH
14933 shlibpath_overrides_runpath=yes
14934 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14935 hardcode_into_libs=yes
14936 ;;
14937
14938 hpux9* | hpux10* | hpux11*)
14939 # Give a soname corresponding to the major version so that dld.sl refuses to
14940 # link against other versions.
14941 version_type=sunos
14942 need_lib_prefix=no
14943 need_version=no
14944 case $host_cpu in
14945 ia64*)
14946 shrext_cmds='.so'
14947 hardcode_into_libs=yes
14948 dynamic_linker="$host_os dld.so"
14949 shlibpath_var=LD_LIBRARY_PATH
14950 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14952 soname_spec='${libname}${release}${shared_ext}$major'
14953 if test "X$HPUX_IA64_MODE" = X32; then
14954 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14955 else
14956 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14957 fi
14958 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14959 ;;
14960 hppa*64*)
14961 shrext_cmds='.sl'
14962 hardcode_into_libs=yes
14963 dynamic_linker="$host_os dld.sl"
14964 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14965 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14967 soname_spec='${libname}${release}${shared_ext}$major'
14968 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14969 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14970 ;;
14971 *)
14972 shrext_cmds='.sl'
14973 dynamic_linker="$host_os dld.sl"
14974 shlibpath_var=SHLIB_PATH
14975 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14977 soname_spec='${libname}${release}${shared_ext}$major'
14978 ;;
14979 esac
14980 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14981 postinstall_cmds='chmod 555 $lib'
14982 # or fails outright, so override atomically:
14983 install_override_mode=555
14984 ;;
14985
14986 interix[3-9]*)
14987 version_type=linux
14988 need_lib_prefix=no
14989 need_version=no
14990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14991 soname_spec='${libname}${release}${shared_ext}$major'
14992 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14993 shlibpath_var=LD_LIBRARY_PATH
14994 shlibpath_overrides_runpath=no
14995 hardcode_into_libs=yes
14996 ;;
14997
14998 irix5* | irix6* | nonstopux*)
14999 case $host_os in
15000 nonstopux*) version_type=nonstopux ;;
15001 *)
15002 if test "$lt_cv_prog_gnu_ld" = yes; then
15003 version_type=linux
15004 else
15005 version_type=irix
15006 fi ;;
15007 esac
15008 need_lib_prefix=no
15009 need_version=no
15010 soname_spec='${libname}${release}${shared_ext}$major'
15011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15012 case $host_os in
15013 irix5* | nonstopux*)
15014 libsuff= shlibsuff=
15015 ;;
15016 *)
15017 case $LD in # libtool.m4 will add one of these switches to LD
15018 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15019 libsuff= shlibsuff= libmagic=32-bit;;
15020 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15021 libsuff=32 shlibsuff=N32 libmagic=N32;;
15022 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15023 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15024 *) libsuff= shlibsuff= libmagic=never-match;;
15025 esac
15026 ;;
15027 esac
15028 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15029 shlibpath_overrides_runpath=no
15030 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15031 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15032 hardcode_into_libs=yes
15033 ;;
15034
15035 # No shared lib support for Linux oldld, aout, or coff.
15036 linux*oldld* | linux*aout* | linux*coff*)
15037 dynamic_linker=no
15038 ;;
15039
15040 # This must be Linux ELF.
15041 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15042 version_type=linux
15043 need_lib_prefix=no
15044 need_version=no
15045 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15046 soname_spec='${libname}${release}${shared_ext}$major'
15047 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15048 shlibpath_var=LD_LIBRARY_PATH
15049 shlibpath_overrides_runpath=no
15050
15051 # Some binutils ld are patched to set DT_RUNPATH
15052 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15053 $as_echo_n "(cached) " >&6
15054 else
15055 lt_cv_shlibpath_overrides_runpath=no
15056 save_LDFLAGS=$LDFLAGS
15057 save_libdir=$libdir
15058 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15059 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15060 if test x$gcc_no_link = xyes; then
15061 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15062 fi
15063 cat > conftest.$ac_ext <<_ACEOF
15064 program main
15065
15066 end
15067 _ACEOF
15068 if ac_fn_fc_try_link "$LINENO"; then :
15069 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15070 lt_cv_shlibpath_overrides_runpath=yes
15071 fi
15072 fi
15073 rm -f core conftest.err conftest.$ac_objext \
15074 conftest$ac_exeext conftest.$ac_ext
15075 LDFLAGS=$save_LDFLAGS
15076 libdir=$save_libdir
15077
15078 fi
15079
15080 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15081
15082 # This implies no fast_install, which is unacceptable.
15083 # Some rework will be needed to allow for fast_install
15084 # before this can be enabled.
15085 hardcode_into_libs=yes
15086
15087 # Append ld.so.conf contents to the search path
15088 if test -f /etc/ld.so.conf; then
15089 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' ' '`
15090 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15091 fi
15092
15093 # We used to test for /lib/ld.so.1 and disable shared libraries on
15094 # powerpc, because MkLinux only supported shared libraries with the
15095 # GNU dynamic linker. Since this was broken with cross compilers,
15096 # most powerpc-linux boxes support dynamic linking these days and
15097 # people can always --disable-shared, the test was removed, and we
15098 # assume the GNU/Linux dynamic linker is in use.
15099 dynamic_linker='GNU/Linux ld.so'
15100 ;;
15101
15102 netbsd*)
15103 version_type=sunos
15104 need_lib_prefix=no
15105 need_version=no
15106 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15108 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15109 dynamic_linker='NetBSD (a.out) ld.so'
15110 else
15111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15112 soname_spec='${libname}${release}${shared_ext}$major'
15113 dynamic_linker='NetBSD ld.elf_so'
15114 fi
15115 shlibpath_var=LD_LIBRARY_PATH
15116 shlibpath_overrides_runpath=yes
15117 hardcode_into_libs=yes
15118 ;;
15119
15120 newsos6)
15121 version_type=linux
15122 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15123 shlibpath_var=LD_LIBRARY_PATH
15124 shlibpath_overrides_runpath=yes
15125 ;;
15126
15127 *nto* | *qnx*)
15128 version_type=qnx
15129 need_lib_prefix=no
15130 need_version=no
15131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15132 soname_spec='${libname}${release}${shared_ext}$major'
15133 shlibpath_var=LD_LIBRARY_PATH
15134 shlibpath_overrides_runpath=no
15135 hardcode_into_libs=yes
15136 dynamic_linker='ldqnx.so'
15137 ;;
15138
15139 openbsd*)
15140 version_type=sunos
15141 sys_lib_dlsearch_path_spec="/usr/lib"
15142 need_lib_prefix=no
15143 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15144 case $host_os in
15145 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15146 *) need_version=no ;;
15147 esac
15148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15149 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15150 shlibpath_var=LD_LIBRARY_PATH
15151 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15152 case $host_os in
15153 openbsd2.[89] | openbsd2.[89].*)
15154 shlibpath_overrides_runpath=no
15155 ;;
15156 *)
15157 shlibpath_overrides_runpath=yes
15158 ;;
15159 esac
15160 else
15161 shlibpath_overrides_runpath=yes
15162 fi
15163 ;;
15164
15165 os2*)
15166 libname_spec='$name'
15167 shrext_cmds=".dll"
15168 need_lib_prefix=no
15169 library_names_spec='$libname${shared_ext} $libname.a'
15170 dynamic_linker='OS/2 ld.exe'
15171 shlibpath_var=LIBPATH
15172 ;;
15173
15174 osf3* | osf4* | osf5*)
15175 version_type=osf
15176 need_lib_prefix=no
15177 need_version=no
15178 soname_spec='${libname}${release}${shared_ext}$major'
15179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15180 shlibpath_var=LD_LIBRARY_PATH
15181 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15182 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15183 ;;
15184
15185 rdos*)
15186 dynamic_linker=no
15187 ;;
15188
15189 solaris*)
15190 version_type=linux
15191 need_lib_prefix=no
15192 need_version=no
15193 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15194 soname_spec='${libname}${release}${shared_ext}$major'
15195 shlibpath_var=LD_LIBRARY_PATH
15196 shlibpath_overrides_runpath=yes
15197 hardcode_into_libs=yes
15198 # ldd complains unless libraries are executable
15199 postinstall_cmds='chmod +x $lib'
15200 ;;
15201
15202 sunos4*)
15203 version_type=sunos
15204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15205 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15206 shlibpath_var=LD_LIBRARY_PATH
15207 shlibpath_overrides_runpath=yes
15208 if test "$with_gnu_ld" = yes; then
15209 need_lib_prefix=no
15210 fi
15211 need_version=yes
15212 ;;
15213
15214 sysv4 | sysv4.3*)
15215 version_type=linux
15216 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15217 soname_spec='${libname}${release}${shared_ext}$major'
15218 shlibpath_var=LD_LIBRARY_PATH
15219 case $host_vendor in
15220 sni)
15221 shlibpath_overrides_runpath=no
15222 need_lib_prefix=no
15223 runpath_var=LD_RUN_PATH
15224 ;;
15225 siemens)
15226 need_lib_prefix=no
15227 ;;
15228 motorola)
15229 need_lib_prefix=no
15230 need_version=no
15231 shlibpath_overrides_runpath=no
15232 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15233 ;;
15234 esac
15235 ;;
15236
15237 sysv4*MP*)
15238 if test -d /usr/nec ;then
15239 version_type=linux
15240 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15241 soname_spec='$libname${shared_ext}.$major'
15242 shlibpath_var=LD_LIBRARY_PATH
15243 fi
15244 ;;
15245
15246 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15247 version_type=freebsd-elf
15248 need_lib_prefix=no
15249 need_version=no
15250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15251 soname_spec='${libname}${release}${shared_ext}$major'
15252 shlibpath_var=LD_LIBRARY_PATH
15253 shlibpath_overrides_runpath=yes
15254 hardcode_into_libs=yes
15255 if test "$with_gnu_ld" = yes; then
15256 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15257 else
15258 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15259 case $host_os in
15260 sco3.2v5*)
15261 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15262 ;;
15263 esac
15264 fi
15265 sys_lib_dlsearch_path_spec='/usr/lib'
15266 ;;
15267
15268 tpf*)
15269 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15270 version_type=linux
15271 need_lib_prefix=no
15272 need_version=no
15273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15274 shlibpath_var=LD_LIBRARY_PATH
15275 shlibpath_overrides_runpath=no
15276 hardcode_into_libs=yes
15277 ;;
15278
15279 uts4*)
15280 version_type=linux
15281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15282 soname_spec='${libname}${release}${shared_ext}$major'
15283 shlibpath_var=LD_LIBRARY_PATH
15284 ;;
15285
15286 *)
15287 dynamic_linker=no
15288 ;;
15289 esac
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15291 $as_echo "$dynamic_linker" >&6; }
15292 test "$dynamic_linker" = no && can_build_shared=no
15293
15294 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15295 if test "$GCC" = yes; then
15296 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15297 fi
15298
15299 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15300 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15301 fi
15302 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15303 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15304 fi
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15344 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15345 hardcode_action_FC=
15346 if test -n "$hardcode_libdir_flag_spec_FC" ||
15347 test -n "$runpath_var_FC" ||
15348 test "X$hardcode_automatic_FC" = "Xyes" ; then
15349
15350 # We can hardcode non-existent directories.
15351 if test "$hardcode_direct_FC" != no &&
15352 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15353 # have to relink, otherwise we might link with an installed library
15354 # when we should be linking with a yet-to-be-installed one
15355 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15356 test "$hardcode_minus_L_FC" != no; then
15357 # Linking always hardcodes the temporary library directory.
15358 hardcode_action_FC=relink
15359 else
15360 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15361 hardcode_action_FC=immediate
15362 fi
15363 else
15364 # We cannot hardcode anything, or else we can only hardcode existing
15365 # directories.
15366 hardcode_action_FC=unsupported
15367 fi
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15369 $as_echo "$hardcode_action_FC" >&6; }
15370
15371 if test "$hardcode_action_FC" = relink ||
15372 test "$inherit_rpath_FC" = yes; then
15373 # Fast installation is not supported
15374 enable_fast_install=no
15375 elif test "$shlibpath_overrides_runpath" = yes ||
15376 test "$enable_shared" = no; then
15377 # Fast installation is not necessary
15378 enable_fast_install=needless
15379 fi
15380
15381
15382
15383
15384
15385
15386
15387 fi # test -n "$compiler"
15388
15389 GCC=$lt_save_GCC
15390 CC="$lt_save_CC"
15391 fi # test "$_lt_disable_FC" != yes
15392
15393 ac_ext=c
15394 ac_cpp='$CPP $CPPFLAGS'
15395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15398
15399
15400
15401 # extra LD Flags which are required for targets
15402 case "${host}" in
15403 *-darwin*)
15404 # Darwin needs -single_module when linking libgfortran
15405 extra_ldflags_libgfortran=-Wl,-single_module
15406 ;;
15407 esac
15408
15409
15410 # We need a working compiler at that point, otherwise give a clear
15411 # error message and bail out.
15412
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15414 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15415 ac_ext=${ac_fc_srcext-f}
15416 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15417 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15418 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
15419
15420 cat > conftest.$ac_ext <<_ACEOF
15421
15422 program foo
15423 real, parameter :: bar = sin (12.34 / 2.5)
15424 end program foo
15425 _ACEOF
15426 if ac_fn_fc_try_compile "$LINENO"; then :
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15428 $as_echo "yes" >&6; }
15429 else
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15431 $as_echo "no" >&6; }
15432 as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15433
15434 fi
15435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15436 ac_ext=c
15437 ac_cpp='$CPP $CPPFLAGS'
15438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15441
15442
15443
15444 # Check whether --enable-largefile was given.
15445 if test "${enable_largefile+set}" = set; then :
15446 enableval=$enable_largefile;
15447 fi
15448
15449 if test "$enable_largefile" != no; then
15450
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15452 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15453 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15454 $as_echo_n "(cached) " >&6
15455 else
15456 ac_cv_sys_largefile_CC=no
15457 if test "$GCC" != yes; then
15458 ac_save_CC=$CC
15459 while :; do
15460 # IRIX 6.2 and later do not support large files by default,
15461 # so use the C compiler's -n32 option if that helps.
15462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15463 /* end confdefs.h. */
15464 #include <sys/types.h>
15465 /* Check that off_t can represent 2**63 - 1 correctly.
15466 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15467 since some C++ compilers masquerading as C compilers
15468 incorrectly reject 9223372036854775807. */
15469 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15470 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15471 && LARGE_OFF_T % 2147483647 == 1)
15472 ? 1 : -1];
15473 int
15474 main ()
15475 {
15476
15477 ;
15478 return 0;
15479 }
15480 _ACEOF
15481 if ac_fn_c_try_compile "$LINENO"; then :
15482 break
15483 fi
15484 rm -f core conftest.err conftest.$ac_objext
15485 CC="$CC -n32"
15486 if ac_fn_c_try_compile "$LINENO"; then :
15487 ac_cv_sys_largefile_CC=' -n32'; break
15488 fi
15489 rm -f core conftest.err conftest.$ac_objext
15490 break
15491 done
15492 CC=$ac_save_CC
15493 rm -f conftest.$ac_ext
15494 fi
15495 fi
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15497 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15498 if test "$ac_cv_sys_largefile_CC" != no; then
15499 CC=$CC$ac_cv_sys_largefile_CC
15500 fi
15501
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15503 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15504 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15505 $as_echo_n "(cached) " >&6
15506 else
15507 while :; do
15508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15509 /* end confdefs.h. */
15510 #include <sys/types.h>
15511 /* Check that off_t can represent 2**63 - 1 correctly.
15512 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15513 since some C++ compilers masquerading as C compilers
15514 incorrectly reject 9223372036854775807. */
15515 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15516 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15517 && LARGE_OFF_T % 2147483647 == 1)
15518 ? 1 : -1];
15519 int
15520 main ()
15521 {
15522
15523 ;
15524 return 0;
15525 }
15526 _ACEOF
15527 if ac_fn_c_try_compile "$LINENO"; then :
15528 ac_cv_sys_file_offset_bits=no; break
15529 fi
15530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15532 /* end confdefs.h. */
15533 #define _FILE_OFFSET_BITS 64
15534 #include <sys/types.h>
15535 /* Check that off_t can represent 2**63 - 1 correctly.
15536 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15537 since some C++ compilers masquerading as C compilers
15538 incorrectly reject 9223372036854775807. */
15539 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15540 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15541 && LARGE_OFF_T % 2147483647 == 1)
15542 ? 1 : -1];
15543 int
15544 main ()
15545 {
15546
15547 ;
15548 return 0;
15549 }
15550 _ACEOF
15551 if ac_fn_c_try_compile "$LINENO"; then :
15552 ac_cv_sys_file_offset_bits=64; break
15553 fi
15554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15555 ac_cv_sys_file_offset_bits=unknown
15556 break
15557 done
15558 fi
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15560 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15561 case $ac_cv_sys_file_offset_bits in #(
15562 no | unknown) ;;
15563 *)
15564 cat >>confdefs.h <<_ACEOF
15565 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15566 _ACEOF
15567 ;;
15568 esac
15569 rm -rf conftest*
15570 if test $ac_cv_sys_file_offset_bits = unknown; then
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15572 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15573 if test "${ac_cv_sys_large_files+set}" = set; then :
15574 $as_echo_n "(cached) " >&6
15575 else
15576 while :; do
15577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15578 /* end confdefs.h. */
15579 #include <sys/types.h>
15580 /* Check that off_t can represent 2**63 - 1 correctly.
15581 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15582 since some C++ compilers masquerading as C compilers
15583 incorrectly reject 9223372036854775807. */
15584 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15585 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15586 && LARGE_OFF_T % 2147483647 == 1)
15587 ? 1 : -1];
15588 int
15589 main ()
15590 {
15591
15592 ;
15593 return 0;
15594 }
15595 _ACEOF
15596 if ac_fn_c_try_compile "$LINENO"; then :
15597 ac_cv_sys_large_files=no; break
15598 fi
15599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15601 /* end confdefs.h. */
15602 #define _LARGE_FILES 1
15603 #include <sys/types.h>
15604 /* Check that off_t can represent 2**63 - 1 correctly.
15605 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15606 since some C++ compilers masquerading as C compilers
15607 incorrectly reject 9223372036854775807. */
15608 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15609 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15610 && LARGE_OFF_T % 2147483647 == 1)
15611 ? 1 : -1];
15612 int
15613 main ()
15614 {
15615
15616 ;
15617 return 0;
15618 }
15619 _ACEOF
15620 if ac_fn_c_try_compile "$LINENO"; then :
15621 ac_cv_sys_large_files=1; break
15622 fi
15623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15624 ac_cv_sys_large_files=unknown
15625 break
15626 done
15627 fi
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15629 $as_echo "$ac_cv_sys_large_files" >&6; }
15630 case $ac_cv_sys_large_files in #(
15631 no | unknown) ;;
15632 *)
15633 cat >>confdefs.h <<_ACEOF
15634 #define _LARGE_FILES $ac_cv_sys_large_files
15635 _ACEOF
15636 ;;
15637 esac
15638 rm -rf conftest*
15639 fi
15640 fi
15641
15642 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15643 if test "x$ac_cv_type_off_t" = x""yes; then :
15644
15645 else
15646
15647 cat >>confdefs.h <<_ACEOF
15648 #define off_t long int
15649 _ACEOF
15650
15651 fi
15652
15653
15654 # check header files
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15656 $as_echo_n "checking for ANSI C header files... " >&6; }
15657 if test "${ac_cv_header_stdc+set}" = set; then :
15658 $as_echo_n "(cached) " >&6
15659 else
15660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15661 /* end confdefs.h. */
15662 #include <stdlib.h>
15663 #include <stdarg.h>
15664 #include <string.h>
15665 #include <float.h>
15666
15667 int
15668 main ()
15669 {
15670
15671 ;
15672 return 0;
15673 }
15674 _ACEOF
15675 if ac_fn_c_try_compile "$LINENO"; then :
15676 ac_cv_header_stdc=yes
15677 else
15678 ac_cv_header_stdc=no
15679 fi
15680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15681
15682 if test $ac_cv_header_stdc = yes; then
15683 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15685 /* end confdefs.h. */
15686 #include <string.h>
15687
15688 _ACEOF
15689 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15690 $EGREP "memchr" >/dev/null 2>&1; then :
15691
15692 else
15693 ac_cv_header_stdc=no
15694 fi
15695 rm -f conftest*
15696
15697 fi
15698
15699 if test $ac_cv_header_stdc = yes; then
15700 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15702 /* end confdefs.h. */
15703 #include <stdlib.h>
15704
15705 _ACEOF
15706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15707 $EGREP "free" >/dev/null 2>&1; then :
15708
15709 else
15710 ac_cv_header_stdc=no
15711 fi
15712 rm -f conftest*
15713
15714 fi
15715
15716 if test $ac_cv_header_stdc = yes; then
15717 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15718 if test "$cross_compiling" = yes; then :
15719 :
15720 else
15721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15722 /* end confdefs.h. */
15723 #include <ctype.h>
15724 #include <stdlib.h>
15725 #if ((' ' & 0x0FF) == 0x020)
15726 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15727 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15728 #else
15729 # define ISLOWER(c) \
15730 (('a' <= (c) && (c) <= 'i') \
15731 || ('j' <= (c) && (c) <= 'r') \
15732 || ('s' <= (c) && (c) <= 'z'))
15733 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15734 #endif
15735
15736 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15737 int
15738 main ()
15739 {
15740 int i;
15741 for (i = 0; i < 256; i++)
15742 if (XOR (islower (i), ISLOWER (i))
15743 || toupper (i) != TOUPPER (i))
15744 return 2;
15745 return 0;
15746 }
15747 _ACEOF
15748 if ac_fn_c_try_run "$LINENO"; then :
15749
15750 else
15751 ac_cv_header_stdc=no
15752 fi
15753 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15754 conftest.$ac_objext conftest.beam conftest.$ac_ext
15755 fi
15756
15757 fi
15758 fi
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15760 $as_echo "$ac_cv_header_stdc" >&6; }
15761 if test $ac_cv_header_stdc = yes; then
15762
15763 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15764
15765 fi
15766
15767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
15768 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
15769 if test "${ac_cv_header_time+set}" = set; then :
15770 $as_echo_n "(cached) " >&6
15771 else
15772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15773 /* end confdefs.h. */
15774 #include <sys/types.h>
15775 #include <sys/time.h>
15776 #include <time.h>
15777
15778 int
15779 main ()
15780 {
15781 if ((struct tm *) 0)
15782 return 0;
15783 ;
15784 return 0;
15785 }
15786 _ACEOF
15787 if ac_fn_c_try_compile "$LINENO"; then :
15788 ac_cv_header_time=yes
15789 else
15790 ac_cv_header_time=no
15791 fi
15792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15793 fi
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
15795 $as_echo "$ac_cv_header_time" >&6; }
15796 if test $ac_cv_header_time = yes; then
15797
15798 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
15799
15800 fi
15801
15802 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
15803 do :
15804 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15805 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15806 eval as_val=\$$as_ac_Header
15807 if test "x$as_val" = x""yes; then :
15808 cat >>confdefs.h <<_ACEOF
15809 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15810 _ACEOF
15811
15812 fi
15813
15814 done
15815
15816 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
15817 do :
15818 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15819 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15820 eval as_val=\$$as_ac_Header
15821 if test "x$as_val" = x""yes; then :
15822 cat >>confdefs.h <<_ACEOF
15823 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15824 _ACEOF
15825
15826 fi
15827
15828 done
15829
15830 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15831 do :
15832 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15833 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15834 eval as_val=\$$as_ac_Header
15835 if test "x$as_val" = x""yes; then :
15836 cat >>confdefs.h <<_ACEOF
15837 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15838 _ACEOF
15839
15840 fi
15841
15842 done
15843
15844 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15845 do :
15846 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15847 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15848 eval as_val=\$$as_ac_Header
15849 if test "x$as_val" = x""yes; then :
15850 cat >>confdefs.h <<_ACEOF
15851 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15852 _ACEOF
15853
15854 fi
15855
15856 done
15857
15858 ac_fn_c_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
15859 if test "x$ac_cv_header_complex_h" = x""yes; then :
15860
15861 $as_echo "#define HAVE_COMPLEX_H 1" >>confdefs.h
15862
15863 fi
15864
15865
15866
15867
15868 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15869
15870 acx_cv_header_stdint=stddef.h
15871 acx_cv_header_stdint_kind="(already complete)"
15872 for i in stdint.h $inttype_headers; do
15873 unset ac_cv_type_uintptr_t
15874 unset ac_cv_type_uintmax_t
15875 unset ac_cv_type_int_least32_t
15876 unset ac_cv_type_int_fast32_t
15877 unset ac_cv_type_uint64_t
15878 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15879 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15880 #include <$i>
15881 "
15882 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
15883 acx_cv_header_stdint=$i
15884 else
15885 continue
15886 fi
15887
15888 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15889 #include <$i>
15890 "
15891 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15892
15893 else
15894 acx_cv_header_stdint_kind="(mostly complete)"
15895 fi
15896
15897 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15898 #include <$i>
15899 "
15900 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
15901
15902 else
15903 acx_cv_header_stdint_kind="(mostly complete)"
15904 fi
15905
15906 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15907 #include <$i>
15908 "
15909 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
15910
15911 else
15912 acx_cv_header_stdint_kind="(mostly complete)"
15913 fi
15914
15915 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15916 #include <$i>
15917 "
15918 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15919
15920 else
15921 acx_cv_header_stdint_kind="(lacks uint64_t)"
15922 fi
15923
15924 break
15925 done
15926 if test "$acx_cv_header_stdint" = stddef.h; then
15927 acx_cv_header_stdint_kind="(lacks uintmax_t)"
15928 for i in stdint.h $inttype_headers; do
15929 unset ac_cv_type_uintptr_t
15930 unset ac_cv_type_uint32_t
15931 unset ac_cv_type_uint64_t
15932 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15933 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15934 #include <$i>
15935 "
15936 if test "x$ac_cv_type_uint32_t" = x""yes; then :
15937 acx_cv_header_stdint=$i
15938 else
15939 continue
15940 fi
15941
15942 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15943 #include <$i>
15944 "
15945 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15946
15947 fi
15948
15949 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15950 #include <$i>
15951 "
15952 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15953
15954 fi
15955
15956 break
15957 done
15958 fi
15959 if test "$acx_cv_header_stdint" = stddef.h; then
15960 acx_cv_header_stdint_kind="(u_intXX_t style)"
15961 for i in sys/types.h $inttype_headers; do
15962 unset ac_cv_type_u_int32_t
15963 unset ac_cv_type_u_int64_t
15964 $as_echo_n "looking for u_intXX_t types in $i, " >&6
15965 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15966 #include <$i>
15967 "
15968 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
15969 acx_cv_header_stdint=$i
15970 else
15971 continue
15972 fi
15973
15974 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15975 #include <$i>
15976 "
15977 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
15978
15979 fi
15980
15981 break
15982 done
15983 fi
15984 if test "$acx_cv_header_stdint" = stddef.h; then
15985 acx_cv_header_stdint_kind="(using manual detection)"
15986 fi
15987
15988 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15989 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15990 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15991 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15992 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15993
15994 # ----------------- Summarize what we found so far
15995
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15997 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15998
15999 case `$as_basename -- gstdint.h ||
16000 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16001 Xgstdint.h : 'X\(//\)$' \| \
16002 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16003 $as_echo X/gstdint.h |
16004 sed '/^.*\/\([^/][^/]*\)\/*$/{
16005 s//\1/
16006 q
16007 }
16008 /^X\/\(\/\/\)$/{
16009 s//\1/
16010 q
16011 }
16012 /^X\/\(\/\).*/{
16013 s//\1/
16014 q
16015 }
16016 s/.*/./; q'` in
16017 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16018 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16019 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16020 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16021 *) ;;
16022 esac
16023
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16025 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16026
16027 # ----------------- done included file, check C basic types --------
16028
16029 # Lacking an uintptr_t? Test size of void *
16030 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16031 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16032 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16033 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16034 # This bug is HP SR number 8606223364.
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16036 $as_echo_n "checking size of void *... " >&6; }
16037 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16038 $as_echo_n "(cached) " >&6
16039 else
16040 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16041
16042 else
16043 if test "$ac_cv_type_void_p" = yes; then
16044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16046 { as_fn_set_status 77
16047 as_fn_error "cannot compute sizeof (void *)
16048 See \`config.log' for more details." "$LINENO" 5; }; }
16049 else
16050 ac_cv_sizeof_void_p=0
16051 fi
16052 fi
16053
16054 fi
16055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16056 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16057
16058
16059
16060 cat >>confdefs.h <<_ACEOF
16061 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16062 _ACEOF
16063
16064 ;;
16065 esac
16066
16067 # Lacking an uint64_t? Test size of long
16068 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16069 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16070 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16071 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16072 # This bug is HP SR number 8606223364.
16073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16074 $as_echo_n "checking size of long... " >&6; }
16075 if test "${ac_cv_sizeof_long+set}" = set; then :
16076 $as_echo_n "(cached) " >&6
16077 else
16078 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16079
16080 else
16081 if test "$ac_cv_type_long" = yes; then
16082 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16084 { as_fn_set_status 77
16085 as_fn_error "cannot compute sizeof (long)
16086 See \`config.log' for more details." "$LINENO" 5; }; }
16087 else
16088 ac_cv_sizeof_long=0
16089 fi
16090 fi
16091
16092 fi
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16094 $as_echo "$ac_cv_sizeof_long" >&6; }
16095
16096
16097
16098 cat >>confdefs.h <<_ACEOF
16099 #define SIZEOF_LONG $ac_cv_sizeof_long
16100 _ACEOF
16101
16102 ;;
16103 esac
16104
16105 if test $acx_cv_header_stdint = stddef.h; then
16106 # Lacking a good header? Test size of everything and deduce all types.
16107 # The cast to long int works around a bug in the HP C Compiler
16108 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16109 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16110 # This bug is HP SR number 8606223364.
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16112 $as_echo_n "checking size of int... " >&6; }
16113 if test "${ac_cv_sizeof_int+set}" = set; then :
16114 $as_echo_n "(cached) " >&6
16115 else
16116 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16117
16118 else
16119 if test "$ac_cv_type_int" = yes; then
16120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16122 { as_fn_set_status 77
16123 as_fn_error "cannot compute sizeof (int)
16124 See \`config.log' for more details." "$LINENO" 5; }; }
16125 else
16126 ac_cv_sizeof_int=0
16127 fi
16128 fi
16129
16130 fi
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16132 $as_echo "$ac_cv_sizeof_int" >&6; }
16133
16134
16135
16136 cat >>confdefs.h <<_ACEOF
16137 #define SIZEOF_INT $ac_cv_sizeof_int
16138 _ACEOF
16139
16140
16141 # The cast to long int works around a bug in the HP C Compiler
16142 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16143 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16144 # This bug is HP SR number 8606223364.
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16146 $as_echo_n "checking size of short... " >&6; }
16147 if test "${ac_cv_sizeof_short+set}" = set; then :
16148 $as_echo_n "(cached) " >&6
16149 else
16150 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16151
16152 else
16153 if test "$ac_cv_type_short" = yes; then
16154 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16155 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16156 { as_fn_set_status 77
16157 as_fn_error "cannot compute sizeof (short)
16158 See \`config.log' for more details." "$LINENO" 5; }; }
16159 else
16160 ac_cv_sizeof_short=0
16161 fi
16162 fi
16163
16164 fi
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16166 $as_echo "$ac_cv_sizeof_short" >&6; }
16167
16168
16169
16170 cat >>confdefs.h <<_ACEOF
16171 #define SIZEOF_SHORT $ac_cv_sizeof_short
16172 _ACEOF
16173
16174
16175 # The cast to long int works around a bug in the HP C Compiler
16176 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16177 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16178 # This bug is HP SR number 8606223364.
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16180 $as_echo_n "checking size of char... " >&6; }
16181 if test "${ac_cv_sizeof_char+set}" = set; then :
16182 $as_echo_n "(cached) " >&6
16183 else
16184 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16185
16186 else
16187 if test "$ac_cv_type_char" = yes; then
16188 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16190 { as_fn_set_status 77
16191 as_fn_error "cannot compute sizeof (char)
16192 See \`config.log' for more details." "$LINENO" 5; }; }
16193 else
16194 ac_cv_sizeof_char=0
16195 fi
16196 fi
16197
16198 fi
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16200 $as_echo "$ac_cv_sizeof_char" >&6; }
16201
16202
16203
16204 cat >>confdefs.h <<_ACEOF
16205 #define SIZEOF_CHAR $ac_cv_sizeof_char
16206 _ACEOF
16207
16208
16209
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16211 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16212 case "$ac_cv_sizeof_char" in
16213 1) acx_cv_type_int8_t=char ;;
16214 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
16215 esac
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16217 $as_echo "$acx_cv_type_int8_t" >&6; }
16218
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16220 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16221 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16222 2:*) acx_cv_type_int16_t=int ;;
16223 *:2) acx_cv_type_int16_t=short ;;
16224 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
16225 esac
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16227 $as_echo "$acx_cv_type_int16_t" >&6; }
16228
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16230 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16231 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16232 4:*) acx_cv_type_int32_t=int ;;
16233 *:4) acx_cv_type_int32_t=long ;;
16234 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
16235 esac
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16237 $as_echo "$acx_cv_type_int32_t" >&6; }
16238 fi
16239
16240 # These tests are here to make the output prettier
16241
16242 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16243 case "$ac_cv_sizeof_long" in
16244 8) acx_cv_type_int64_t=long ;;
16245 esac
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16247 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16249 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16250 fi
16251
16252 # Now we can use the above types
16253
16254 if test "$ac_cv_type_uintptr_t" != yes; then
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16256 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16257 case $ac_cv_sizeof_void_p in
16258 2) acx_cv_type_intptr_t=int16_t ;;
16259 4) acx_cv_type_intptr_t=int32_t ;;
16260 8) acx_cv_type_intptr_t=int64_t ;;
16261 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16262 esac
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16264 $as_echo "$acx_cv_type_intptr_t" >&6; }
16265 fi
16266
16267 # ----------------- done all checks, emit header -------------
16268 ac_config_commands="$ac_config_commands gstdint.h"
16269
16270
16271
16272
16273 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16274 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
16275
16276 cat >>confdefs.h <<_ACEOF
16277 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16278 _ACEOF
16279
16280
16281 fi
16282
16283 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16284 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
16285
16286 cat >>confdefs.h <<_ACEOF
16287 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16288 _ACEOF
16289
16290
16291 fi
16292
16293 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16294 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
16295
16296 cat >>confdefs.h <<_ACEOF
16297 #define HAVE_STRUCT_STAT_ST_RDEV 1
16298 _ACEOF
16299
16300
16301 fi
16302
16303
16304 # Check for library functions.
16305 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
16306 do :
16307 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16308 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16309 eval as_val=\$$as_ac_var
16310 if test "x$as_val" = x""yes; then :
16311 cat >>confdefs.h <<_ACEOF
16312 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16313 _ACEOF
16314
16315 fi
16316 done
16317
16318 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
16319 do :
16320 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16321 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16322 eval as_val=\$$as_ac_var
16323 if test "x$as_val" = x""yes; then :
16324 cat >>confdefs.h <<_ACEOF
16325 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16326 _ACEOF
16327
16328 fi
16329 done
16330
16331 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
16332 do :
16333 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16334 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16335 eval as_val=\$$as_ac_var
16336 if test "x$as_val" = x""yes; then :
16337 cat >>confdefs.h <<_ACEOF
16338 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16339 _ACEOF
16340
16341 fi
16342 done
16343
16344 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
16345 do :
16346 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16347 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16348 eval as_val=\$$as_ac_var
16349 if test "x$as_val" = x""yes; then :
16350 cat >>confdefs.h <<_ACEOF
16351 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16352 _ACEOF
16353
16354 fi
16355 done
16356
16357 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
16358 do :
16359 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16360 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16361 eval as_val=\$$as_ac_var
16362 if test "x$as_val" = x""yes; then :
16363 cat >>confdefs.h <<_ACEOF
16364 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16365 _ACEOF
16366
16367 fi
16368 done
16369
16370 for ac_func in localtime_r gmtime_r strerror_r getpwuid_r ttyname_r ctime_r
16371 do :
16372 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16373 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16374 eval as_val=\$$as_ac_var
16375 if test "x$as_val" = x""yes; then :
16376 cat >>confdefs.h <<_ACEOF
16377 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16378 _ACEOF
16379
16380 fi
16381 done
16382
16383 for ac_func in clock_gettime
16384 do :
16385 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
16386 if test "x$ac_cv_func_clock_gettime" = x""yes; then :
16387 cat >>confdefs.h <<_ACEOF
16388 #define HAVE_CLOCK_GETTIME 1
16389 _ACEOF
16390
16391 fi
16392 done
16393
16394
16395 # Check for glibc backtrace functions
16396 for ac_func in backtrace backtrace_symbols
16397 do :
16398 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16399 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16400 eval as_val=\$$as_ac_var
16401 if test "x$as_val" = x""yes; then :
16402 cat >>confdefs.h <<_ACEOF
16403 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16404 _ACEOF
16405
16406 fi
16407 done
16408
16409
16410 # Check for types
16411 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16412 if test "x$ac_cv_type_intptr_t" = x""yes; then :
16413
16414 cat >>confdefs.h <<_ACEOF
16415 #define HAVE_INTPTR_T 1
16416 _ACEOF
16417
16418
16419 fi
16420
16421 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16422 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16423
16424 cat >>confdefs.h <<_ACEOF
16425 #define HAVE_UINTPTR_T 1
16426 _ACEOF
16427
16428
16429 fi
16430
16431
16432 # Check libc for getgid, getpid, getuid
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
16434 $as_echo_n "checking for getgid in -lc... " >&6; }
16435 if test "${ac_cv_lib_c_getgid+set}" = set; then :
16436 $as_echo_n "(cached) " >&6
16437 else
16438 ac_check_lib_save_LIBS=$LIBS
16439 LIBS="-lc $LIBS"
16440 if test x$gcc_no_link = xyes; then
16441 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16442 fi
16443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16444 /* end confdefs.h. */
16445
16446 /* Override any GCC internal prototype to avoid an error.
16447 Use char because int might match the return type of a GCC
16448 builtin and then its argument prototype would still apply. */
16449 #ifdef __cplusplus
16450 extern "C"
16451 #endif
16452 char getgid ();
16453 int
16454 main ()
16455 {
16456 return getgid ();
16457 ;
16458 return 0;
16459 }
16460 _ACEOF
16461 if ac_fn_c_try_link "$LINENO"; then :
16462 ac_cv_lib_c_getgid=yes
16463 else
16464 ac_cv_lib_c_getgid=no
16465 fi
16466 rm -f core conftest.err conftest.$ac_objext \
16467 conftest$ac_exeext conftest.$ac_ext
16468 LIBS=$ac_check_lib_save_LIBS
16469 fi
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
16471 $as_echo "$ac_cv_lib_c_getgid" >&6; }
16472 if test "x$ac_cv_lib_c_getgid" = x""yes; then :
16473
16474 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
16475
16476 fi
16477
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
16479 $as_echo_n "checking for getpid in -lc... " >&6; }
16480 if test "${ac_cv_lib_c_getpid+set}" = set; then :
16481 $as_echo_n "(cached) " >&6
16482 else
16483 ac_check_lib_save_LIBS=$LIBS
16484 LIBS="-lc $LIBS"
16485 if test x$gcc_no_link = xyes; then
16486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16487 fi
16488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16489 /* end confdefs.h. */
16490
16491 /* Override any GCC internal prototype to avoid an error.
16492 Use char because int might match the return type of a GCC
16493 builtin and then its argument prototype would still apply. */
16494 #ifdef __cplusplus
16495 extern "C"
16496 #endif
16497 char getpid ();
16498 int
16499 main ()
16500 {
16501 return getpid ();
16502 ;
16503 return 0;
16504 }
16505 _ACEOF
16506 if ac_fn_c_try_link "$LINENO"; then :
16507 ac_cv_lib_c_getpid=yes
16508 else
16509 ac_cv_lib_c_getpid=no
16510 fi
16511 rm -f core conftest.err conftest.$ac_objext \
16512 conftest$ac_exeext conftest.$ac_ext
16513 LIBS=$ac_check_lib_save_LIBS
16514 fi
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
16516 $as_echo "$ac_cv_lib_c_getpid" >&6; }
16517 if test "x$ac_cv_lib_c_getpid" = x""yes; then :
16518
16519 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
16520
16521 fi
16522
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getppid in -lc" >&5
16524 $as_echo_n "checking for getppid in -lc... " >&6; }
16525 if test "${ac_cv_lib_c_getppid+set}" = set; then :
16526 $as_echo_n "(cached) " >&6
16527 else
16528 ac_check_lib_save_LIBS=$LIBS
16529 LIBS="-lc $LIBS"
16530 if test x$gcc_no_link = xyes; then
16531 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16532 fi
16533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16534 /* end confdefs.h. */
16535
16536 /* Override any GCC internal prototype to avoid an error.
16537 Use char because int might match the return type of a GCC
16538 builtin and then its argument prototype would still apply. */
16539 #ifdef __cplusplus
16540 extern "C"
16541 #endif
16542 char getppid ();
16543 int
16544 main ()
16545 {
16546 return getppid ();
16547 ;
16548 return 0;
16549 }
16550 _ACEOF
16551 if ac_fn_c_try_link "$LINENO"; then :
16552 ac_cv_lib_c_getppid=yes
16553 else
16554 ac_cv_lib_c_getppid=no
16555 fi
16556 rm -f core conftest.err conftest.$ac_objext \
16557 conftest$ac_exeext conftest.$ac_ext
16558 LIBS=$ac_check_lib_save_LIBS
16559 fi
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getppid" >&5
16561 $as_echo "$ac_cv_lib_c_getppid" >&6; }
16562 if test "x$ac_cv_lib_c_getppid" = x""yes; then :
16563
16564 $as_echo "#define HAVE_GETPPID 1" >>confdefs.h
16565
16566 fi
16567
16568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
16569 $as_echo_n "checking for getuid in -lc... " >&6; }
16570 if test "${ac_cv_lib_c_getuid+set}" = set; then :
16571 $as_echo_n "(cached) " >&6
16572 else
16573 ac_check_lib_save_LIBS=$LIBS
16574 LIBS="-lc $LIBS"
16575 if test x$gcc_no_link = xyes; then
16576 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16577 fi
16578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16579 /* end confdefs.h. */
16580
16581 /* Override any GCC internal prototype to avoid an error.
16582 Use char because int might match the return type of a GCC
16583 builtin and then its argument prototype would still apply. */
16584 #ifdef __cplusplus
16585 extern "C"
16586 #endif
16587 char getuid ();
16588 int
16589 main ()
16590 {
16591 return getuid ();
16592 ;
16593 return 0;
16594 }
16595 _ACEOF
16596 if ac_fn_c_try_link "$LINENO"; then :
16597 ac_cv_lib_c_getuid=yes
16598 else
16599 ac_cv_lib_c_getuid=no
16600 fi
16601 rm -f core conftest.err conftest.$ac_objext \
16602 conftest$ac_exeext conftest.$ac_ext
16603 LIBS=$ac_check_lib_save_LIBS
16604 fi
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
16606 $as_echo "$ac_cv_lib_c_getuid" >&6; }
16607 if test "x$ac_cv_lib_c_getuid" = x""yes; then :
16608
16609 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
16610
16611 fi
16612
16613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geteuid in -lc" >&5
16614 $as_echo_n "checking for geteuid in -lc... " >&6; }
16615 if test "${ac_cv_lib_c_geteuid+set}" = set; then :
16616 $as_echo_n "(cached) " >&6
16617 else
16618 ac_check_lib_save_LIBS=$LIBS
16619 LIBS="-lc $LIBS"
16620 if test x$gcc_no_link = xyes; then
16621 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16622 fi
16623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16624 /* end confdefs.h. */
16625
16626 /* Override any GCC internal prototype to avoid an error.
16627 Use char because int might match the return type of a GCC
16628 builtin and then its argument prototype would still apply. */
16629 #ifdef __cplusplus
16630 extern "C"
16631 #endif
16632 char geteuid ();
16633 int
16634 main ()
16635 {
16636 return geteuid ();
16637 ;
16638 return 0;
16639 }
16640 _ACEOF
16641 if ac_fn_c_try_link "$LINENO"; then :
16642 ac_cv_lib_c_geteuid=yes
16643 else
16644 ac_cv_lib_c_geteuid=no
16645 fi
16646 rm -f core conftest.err conftest.$ac_objext \
16647 conftest$ac_exeext conftest.$ac_ext
16648 LIBS=$ac_check_lib_save_LIBS
16649 fi
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_geteuid" >&5
16651 $as_echo "$ac_cv_lib_c_geteuid" >&6; }
16652 if test "x$ac_cv_lib_c_geteuid" = x""yes; then :
16653
16654 $as_echo "#define HAVE_GETEUID 1" >>confdefs.h
16655
16656 fi
16657
16658
16659 # Check for C99 (and other IEEE) math functions
16660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
16661 $as_echo_n "checking for acosf in -lm... " >&6; }
16662 if test "${ac_cv_lib_m_acosf+set}" = set; then :
16663 $as_echo_n "(cached) " >&6
16664 else
16665 ac_check_lib_save_LIBS=$LIBS
16666 LIBS="-lm $LIBS"
16667 if test x$gcc_no_link = xyes; then
16668 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16669 fi
16670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16671 /* end confdefs.h. */
16672
16673 /* Override any GCC internal prototype to avoid an error.
16674 Use char because int might match the return type of a GCC
16675 builtin and then its argument prototype would still apply. */
16676 #ifdef __cplusplus
16677 extern "C"
16678 #endif
16679 char acosf ();
16680 int
16681 main ()
16682 {
16683 return acosf ();
16684 ;
16685 return 0;
16686 }
16687 _ACEOF
16688 if ac_fn_c_try_link "$LINENO"; then :
16689 ac_cv_lib_m_acosf=yes
16690 else
16691 ac_cv_lib_m_acosf=no
16692 fi
16693 rm -f core conftest.err conftest.$ac_objext \
16694 conftest$ac_exeext conftest.$ac_ext
16695 LIBS=$ac_check_lib_save_LIBS
16696 fi
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
16698 $as_echo "$ac_cv_lib_m_acosf" >&6; }
16699 if test "x$ac_cv_lib_m_acosf" = x""yes; then :
16700
16701 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
16702
16703 fi
16704
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
16706 $as_echo_n "checking for acos in -lm... " >&6; }
16707 if test "${ac_cv_lib_m_acos+set}" = set; then :
16708 $as_echo_n "(cached) " >&6
16709 else
16710 ac_check_lib_save_LIBS=$LIBS
16711 LIBS="-lm $LIBS"
16712 if test x$gcc_no_link = xyes; then
16713 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16714 fi
16715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16716 /* end confdefs.h. */
16717
16718 /* Override any GCC internal prototype to avoid an error.
16719 Use char because int might match the return type of a GCC
16720 builtin and then its argument prototype would still apply. */
16721 #ifdef __cplusplus
16722 extern "C"
16723 #endif
16724 char acos ();
16725 int
16726 main ()
16727 {
16728 return acos ();
16729 ;
16730 return 0;
16731 }
16732 _ACEOF
16733 if ac_fn_c_try_link "$LINENO"; then :
16734 ac_cv_lib_m_acos=yes
16735 else
16736 ac_cv_lib_m_acos=no
16737 fi
16738 rm -f core conftest.err conftest.$ac_objext \
16739 conftest$ac_exeext conftest.$ac_ext
16740 LIBS=$ac_check_lib_save_LIBS
16741 fi
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
16743 $as_echo "$ac_cv_lib_m_acos" >&6; }
16744 if test "x$ac_cv_lib_m_acos" = x""yes; then :
16745
16746 $as_echo "#define HAVE_ACOS 1" >>confdefs.h
16747
16748 fi
16749
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
16751 $as_echo_n "checking for acosl in -lm... " >&6; }
16752 if test "${ac_cv_lib_m_acosl+set}" = set; then :
16753 $as_echo_n "(cached) " >&6
16754 else
16755 ac_check_lib_save_LIBS=$LIBS
16756 LIBS="-lm $LIBS"
16757 if test x$gcc_no_link = xyes; then
16758 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16759 fi
16760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16761 /* end confdefs.h. */
16762
16763 /* Override any GCC internal prototype to avoid an error.
16764 Use char because int might match the return type of a GCC
16765 builtin and then its argument prototype would still apply. */
16766 #ifdef __cplusplus
16767 extern "C"
16768 #endif
16769 char acosl ();
16770 int
16771 main ()
16772 {
16773 return acosl ();
16774 ;
16775 return 0;
16776 }
16777 _ACEOF
16778 if ac_fn_c_try_link "$LINENO"; then :
16779 ac_cv_lib_m_acosl=yes
16780 else
16781 ac_cv_lib_m_acosl=no
16782 fi
16783 rm -f core conftest.err conftest.$ac_objext \
16784 conftest$ac_exeext conftest.$ac_ext
16785 LIBS=$ac_check_lib_save_LIBS
16786 fi
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosl" >&5
16788 $as_echo "$ac_cv_lib_m_acosl" >&6; }
16789 if test "x$ac_cv_lib_m_acosl" = x""yes; then :
16790
16791 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
16792
16793 fi
16794
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
16796 $as_echo_n "checking for acoshf in -lm... " >&6; }
16797 if test "${ac_cv_lib_m_acoshf+set}" = set; then :
16798 $as_echo_n "(cached) " >&6
16799 else
16800 ac_check_lib_save_LIBS=$LIBS
16801 LIBS="-lm $LIBS"
16802 if test x$gcc_no_link = xyes; then
16803 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16804 fi
16805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16806 /* end confdefs.h. */
16807
16808 /* Override any GCC internal prototype to avoid an error.
16809 Use char because int might match the return type of a GCC
16810 builtin and then its argument prototype would still apply. */
16811 #ifdef __cplusplus
16812 extern "C"
16813 #endif
16814 char acoshf ();
16815 int
16816 main ()
16817 {
16818 return acoshf ();
16819 ;
16820 return 0;
16821 }
16822 _ACEOF
16823 if ac_fn_c_try_link "$LINENO"; then :
16824 ac_cv_lib_m_acoshf=yes
16825 else
16826 ac_cv_lib_m_acoshf=no
16827 fi
16828 rm -f core conftest.err conftest.$ac_objext \
16829 conftest$ac_exeext conftest.$ac_ext
16830 LIBS=$ac_check_lib_save_LIBS
16831 fi
16832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshf" >&5
16833 $as_echo "$ac_cv_lib_m_acoshf" >&6; }
16834 if test "x$ac_cv_lib_m_acoshf" = x""yes; then :
16835
16836 $as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16837
16838 fi
16839
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16841 $as_echo_n "checking for acosh in -lm... " >&6; }
16842 if test "${ac_cv_lib_m_acosh+set}" = set; then :
16843 $as_echo_n "(cached) " >&6
16844 else
16845 ac_check_lib_save_LIBS=$LIBS
16846 LIBS="-lm $LIBS"
16847 if test x$gcc_no_link = xyes; then
16848 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16849 fi
16850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16851 /* end confdefs.h. */
16852
16853 /* Override any GCC internal prototype to avoid an error.
16854 Use char because int might match the return type of a GCC
16855 builtin and then its argument prototype would still apply. */
16856 #ifdef __cplusplus
16857 extern "C"
16858 #endif
16859 char acosh ();
16860 int
16861 main ()
16862 {
16863 return acosh ();
16864 ;
16865 return 0;
16866 }
16867 _ACEOF
16868 if ac_fn_c_try_link "$LINENO"; then :
16869 ac_cv_lib_m_acosh=yes
16870 else
16871 ac_cv_lib_m_acosh=no
16872 fi
16873 rm -f core conftest.err conftest.$ac_objext \
16874 conftest$ac_exeext conftest.$ac_ext
16875 LIBS=$ac_check_lib_save_LIBS
16876 fi
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosh" >&5
16878 $as_echo "$ac_cv_lib_m_acosh" >&6; }
16879 if test "x$ac_cv_lib_m_acosh" = x""yes; then :
16880
16881 $as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16882
16883 fi
16884
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16886 $as_echo_n "checking for acoshl in -lm... " >&6; }
16887 if test "${ac_cv_lib_m_acoshl+set}" = set; then :
16888 $as_echo_n "(cached) " >&6
16889 else
16890 ac_check_lib_save_LIBS=$LIBS
16891 LIBS="-lm $LIBS"
16892 if test x$gcc_no_link = xyes; then
16893 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16894 fi
16895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16896 /* end confdefs.h. */
16897
16898 /* Override any GCC internal prototype to avoid an error.
16899 Use char because int might match the return type of a GCC
16900 builtin and then its argument prototype would still apply. */
16901 #ifdef __cplusplus
16902 extern "C"
16903 #endif
16904 char acoshl ();
16905 int
16906 main ()
16907 {
16908 return acoshl ();
16909 ;
16910 return 0;
16911 }
16912 _ACEOF
16913 if ac_fn_c_try_link "$LINENO"; then :
16914 ac_cv_lib_m_acoshl=yes
16915 else
16916 ac_cv_lib_m_acoshl=no
16917 fi
16918 rm -f core conftest.err conftest.$ac_objext \
16919 conftest$ac_exeext conftest.$ac_ext
16920 LIBS=$ac_check_lib_save_LIBS
16921 fi
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshl" >&5
16923 $as_echo "$ac_cv_lib_m_acoshl" >&6; }
16924 if test "x$ac_cv_lib_m_acoshl" = x""yes; then :
16925
16926 $as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16927
16928 fi
16929
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16931 $as_echo_n "checking for asinf in -lm... " >&6; }
16932 if test "${ac_cv_lib_m_asinf+set}" = set; then :
16933 $as_echo_n "(cached) " >&6
16934 else
16935 ac_check_lib_save_LIBS=$LIBS
16936 LIBS="-lm $LIBS"
16937 if test x$gcc_no_link = xyes; then
16938 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16939 fi
16940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16941 /* end confdefs.h. */
16942
16943 /* Override any GCC internal prototype to avoid an error.
16944 Use char because int might match the return type of a GCC
16945 builtin and then its argument prototype would still apply. */
16946 #ifdef __cplusplus
16947 extern "C"
16948 #endif
16949 char asinf ();
16950 int
16951 main ()
16952 {
16953 return asinf ();
16954 ;
16955 return 0;
16956 }
16957 _ACEOF
16958 if ac_fn_c_try_link "$LINENO"; then :
16959 ac_cv_lib_m_asinf=yes
16960 else
16961 ac_cv_lib_m_asinf=no
16962 fi
16963 rm -f core conftest.err conftest.$ac_objext \
16964 conftest$ac_exeext conftest.$ac_ext
16965 LIBS=$ac_check_lib_save_LIBS
16966 fi
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinf" >&5
16968 $as_echo "$ac_cv_lib_m_asinf" >&6; }
16969 if test "x$ac_cv_lib_m_asinf" = x""yes; then :
16970
16971 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
16972
16973 fi
16974
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16976 $as_echo_n "checking for asin in -lm... " >&6; }
16977 if test "${ac_cv_lib_m_asin+set}" = set; then :
16978 $as_echo_n "(cached) " >&6
16979 else
16980 ac_check_lib_save_LIBS=$LIBS
16981 LIBS="-lm $LIBS"
16982 if test x$gcc_no_link = xyes; then
16983 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16984 fi
16985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16986 /* end confdefs.h. */
16987
16988 /* Override any GCC internal prototype to avoid an error.
16989 Use char because int might match the return type of a GCC
16990 builtin and then its argument prototype would still apply. */
16991 #ifdef __cplusplus
16992 extern "C"
16993 #endif
16994 char asin ();
16995 int
16996 main ()
16997 {
16998 return asin ();
16999 ;
17000 return 0;
17001 }
17002 _ACEOF
17003 if ac_fn_c_try_link "$LINENO"; then :
17004 ac_cv_lib_m_asin=yes
17005 else
17006 ac_cv_lib_m_asin=no
17007 fi
17008 rm -f core conftest.err conftest.$ac_objext \
17009 conftest$ac_exeext conftest.$ac_ext
17010 LIBS=$ac_check_lib_save_LIBS
17011 fi
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5
17013 $as_echo "$ac_cv_lib_m_asin" >&6; }
17014 if test "x$ac_cv_lib_m_asin" = x""yes; then :
17015
17016 $as_echo "#define HAVE_ASIN 1" >>confdefs.h
17017
17018 fi
17019
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
17021 $as_echo_n "checking for asinl in -lm... " >&6; }
17022 if test "${ac_cv_lib_m_asinl+set}" = set; then :
17023 $as_echo_n "(cached) " >&6
17024 else
17025 ac_check_lib_save_LIBS=$LIBS
17026 LIBS="-lm $LIBS"
17027 if test x$gcc_no_link = xyes; then
17028 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17029 fi
17030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17031 /* end confdefs.h. */
17032
17033 /* Override any GCC internal prototype to avoid an error.
17034 Use char because int might match the return type of a GCC
17035 builtin and then its argument prototype would still apply. */
17036 #ifdef __cplusplus
17037 extern "C"
17038 #endif
17039 char asinl ();
17040 int
17041 main ()
17042 {
17043 return asinl ();
17044 ;
17045 return 0;
17046 }
17047 _ACEOF
17048 if ac_fn_c_try_link "$LINENO"; then :
17049 ac_cv_lib_m_asinl=yes
17050 else
17051 ac_cv_lib_m_asinl=no
17052 fi
17053 rm -f core conftest.err conftest.$ac_objext \
17054 conftest$ac_exeext conftest.$ac_ext
17055 LIBS=$ac_check_lib_save_LIBS
17056 fi
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinl" >&5
17058 $as_echo "$ac_cv_lib_m_asinl" >&6; }
17059 if test "x$ac_cv_lib_m_asinl" = x""yes; then :
17060
17061 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
17062
17063 fi
17064
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
17066 $as_echo_n "checking for asinhf in -lm... " >&6; }
17067 if test "${ac_cv_lib_m_asinhf+set}" = set; then :
17068 $as_echo_n "(cached) " >&6
17069 else
17070 ac_check_lib_save_LIBS=$LIBS
17071 LIBS="-lm $LIBS"
17072 if test x$gcc_no_link = xyes; then
17073 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17074 fi
17075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17076 /* end confdefs.h. */
17077
17078 /* Override any GCC internal prototype to avoid an error.
17079 Use char because int might match the return type of a GCC
17080 builtin and then its argument prototype would still apply. */
17081 #ifdef __cplusplus
17082 extern "C"
17083 #endif
17084 char asinhf ();
17085 int
17086 main ()
17087 {
17088 return asinhf ();
17089 ;
17090 return 0;
17091 }
17092 _ACEOF
17093 if ac_fn_c_try_link "$LINENO"; then :
17094 ac_cv_lib_m_asinhf=yes
17095 else
17096 ac_cv_lib_m_asinhf=no
17097 fi
17098 rm -f core conftest.err conftest.$ac_objext \
17099 conftest$ac_exeext conftest.$ac_ext
17100 LIBS=$ac_check_lib_save_LIBS
17101 fi
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhf" >&5
17103 $as_echo "$ac_cv_lib_m_asinhf" >&6; }
17104 if test "x$ac_cv_lib_m_asinhf" = x""yes; then :
17105
17106 $as_echo "#define HAVE_ASINHF 1" >>confdefs.h
17107
17108 fi
17109
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
17111 $as_echo_n "checking for asinh in -lm... " >&6; }
17112 if test "${ac_cv_lib_m_asinh+set}" = set; then :
17113 $as_echo_n "(cached) " >&6
17114 else
17115 ac_check_lib_save_LIBS=$LIBS
17116 LIBS="-lm $LIBS"
17117 if test x$gcc_no_link = xyes; then
17118 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17119 fi
17120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17121 /* end confdefs.h. */
17122
17123 /* Override any GCC internal prototype to avoid an error.
17124 Use char because int might match the return type of a GCC
17125 builtin and then its argument prototype would still apply. */
17126 #ifdef __cplusplus
17127 extern "C"
17128 #endif
17129 char asinh ();
17130 int
17131 main ()
17132 {
17133 return asinh ();
17134 ;
17135 return 0;
17136 }
17137 _ACEOF
17138 if ac_fn_c_try_link "$LINENO"; then :
17139 ac_cv_lib_m_asinh=yes
17140 else
17141 ac_cv_lib_m_asinh=no
17142 fi
17143 rm -f core conftest.err conftest.$ac_objext \
17144 conftest$ac_exeext conftest.$ac_ext
17145 LIBS=$ac_check_lib_save_LIBS
17146 fi
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinh" >&5
17148 $as_echo "$ac_cv_lib_m_asinh" >&6; }
17149 if test "x$ac_cv_lib_m_asinh" = x""yes; then :
17150
17151 $as_echo "#define HAVE_ASINH 1" >>confdefs.h
17152
17153 fi
17154
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
17156 $as_echo_n "checking for asinhl in -lm... " >&6; }
17157 if test "${ac_cv_lib_m_asinhl+set}" = set; then :
17158 $as_echo_n "(cached) " >&6
17159 else
17160 ac_check_lib_save_LIBS=$LIBS
17161 LIBS="-lm $LIBS"
17162 if test x$gcc_no_link = xyes; then
17163 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17164 fi
17165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17166 /* end confdefs.h. */
17167
17168 /* Override any GCC internal prototype to avoid an error.
17169 Use char because int might match the return type of a GCC
17170 builtin and then its argument prototype would still apply. */
17171 #ifdef __cplusplus
17172 extern "C"
17173 #endif
17174 char asinhl ();
17175 int
17176 main ()
17177 {
17178 return asinhl ();
17179 ;
17180 return 0;
17181 }
17182 _ACEOF
17183 if ac_fn_c_try_link "$LINENO"; then :
17184 ac_cv_lib_m_asinhl=yes
17185 else
17186 ac_cv_lib_m_asinhl=no
17187 fi
17188 rm -f core conftest.err conftest.$ac_objext \
17189 conftest$ac_exeext conftest.$ac_ext
17190 LIBS=$ac_check_lib_save_LIBS
17191 fi
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhl" >&5
17193 $as_echo "$ac_cv_lib_m_asinhl" >&6; }
17194 if test "x$ac_cv_lib_m_asinhl" = x""yes; then :
17195
17196 $as_echo "#define HAVE_ASINHL 1" >>confdefs.h
17197
17198 fi
17199
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
17201 $as_echo_n "checking for atan2f in -lm... " >&6; }
17202 if test "${ac_cv_lib_m_atan2f+set}" = set; then :
17203 $as_echo_n "(cached) " >&6
17204 else
17205 ac_check_lib_save_LIBS=$LIBS
17206 LIBS="-lm $LIBS"
17207 if test x$gcc_no_link = xyes; then
17208 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17209 fi
17210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17211 /* end confdefs.h. */
17212
17213 /* Override any GCC internal prototype to avoid an error.
17214 Use char because int might match the return type of a GCC
17215 builtin and then its argument prototype would still apply. */
17216 #ifdef __cplusplus
17217 extern "C"
17218 #endif
17219 char atan2f ();
17220 int
17221 main ()
17222 {
17223 return atan2f ();
17224 ;
17225 return 0;
17226 }
17227 _ACEOF
17228 if ac_fn_c_try_link "$LINENO"; then :
17229 ac_cv_lib_m_atan2f=yes
17230 else
17231 ac_cv_lib_m_atan2f=no
17232 fi
17233 rm -f core conftest.err conftest.$ac_objext \
17234 conftest$ac_exeext conftest.$ac_ext
17235 LIBS=$ac_check_lib_save_LIBS
17236 fi
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2f" >&5
17238 $as_echo "$ac_cv_lib_m_atan2f" >&6; }
17239 if test "x$ac_cv_lib_m_atan2f" = x""yes; then :
17240
17241 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
17242
17243 fi
17244
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
17246 $as_echo_n "checking for atan2 in -lm... " >&6; }
17247 if test "${ac_cv_lib_m_atan2+set}" = set; then :
17248 $as_echo_n "(cached) " >&6
17249 else
17250 ac_check_lib_save_LIBS=$LIBS
17251 LIBS="-lm $LIBS"
17252 if test x$gcc_no_link = xyes; then
17253 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17254 fi
17255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17256 /* end confdefs.h. */
17257
17258 /* Override any GCC internal prototype to avoid an error.
17259 Use char because int might match the return type of a GCC
17260 builtin and then its argument prototype would still apply. */
17261 #ifdef __cplusplus
17262 extern "C"
17263 #endif
17264 char atan2 ();
17265 int
17266 main ()
17267 {
17268 return atan2 ();
17269 ;
17270 return 0;
17271 }
17272 _ACEOF
17273 if ac_fn_c_try_link "$LINENO"; then :
17274 ac_cv_lib_m_atan2=yes
17275 else
17276 ac_cv_lib_m_atan2=no
17277 fi
17278 rm -f core conftest.err conftest.$ac_objext \
17279 conftest$ac_exeext conftest.$ac_ext
17280 LIBS=$ac_check_lib_save_LIBS
17281 fi
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
17283 $as_echo "$ac_cv_lib_m_atan2" >&6; }
17284 if test "x$ac_cv_lib_m_atan2" = x""yes; then :
17285
17286 $as_echo "#define HAVE_ATAN2 1" >>confdefs.h
17287
17288 fi
17289
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
17291 $as_echo_n "checking for atan2l in -lm... " >&6; }
17292 if test "${ac_cv_lib_m_atan2l+set}" = set; then :
17293 $as_echo_n "(cached) " >&6
17294 else
17295 ac_check_lib_save_LIBS=$LIBS
17296 LIBS="-lm $LIBS"
17297 if test x$gcc_no_link = xyes; then
17298 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17299 fi
17300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17301 /* end confdefs.h. */
17302
17303 /* Override any GCC internal prototype to avoid an error.
17304 Use char because int might match the return type of a GCC
17305 builtin and then its argument prototype would still apply. */
17306 #ifdef __cplusplus
17307 extern "C"
17308 #endif
17309 char atan2l ();
17310 int
17311 main ()
17312 {
17313 return atan2l ();
17314 ;
17315 return 0;
17316 }
17317 _ACEOF
17318 if ac_fn_c_try_link "$LINENO"; then :
17319 ac_cv_lib_m_atan2l=yes
17320 else
17321 ac_cv_lib_m_atan2l=no
17322 fi
17323 rm -f core conftest.err conftest.$ac_objext \
17324 conftest$ac_exeext conftest.$ac_ext
17325 LIBS=$ac_check_lib_save_LIBS
17326 fi
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2l" >&5
17328 $as_echo "$ac_cv_lib_m_atan2l" >&6; }
17329 if test "x$ac_cv_lib_m_atan2l" = x""yes; then :
17330
17331 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
17332
17333 fi
17334
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
17336 $as_echo_n "checking for atanf in -lm... " >&6; }
17337 if test "${ac_cv_lib_m_atanf+set}" = set; then :
17338 $as_echo_n "(cached) " >&6
17339 else
17340 ac_check_lib_save_LIBS=$LIBS
17341 LIBS="-lm $LIBS"
17342 if test x$gcc_no_link = xyes; then
17343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17344 fi
17345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17346 /* end confdefs.h. */
17347
17348 /* Override any GCC internal prototype to avoid an error.
17349 Use char because int might match the return type of a GCC
17350 builtin and then its argument prototype would still apply. */
17351 #ifdef __cplusplus
17352 extern "C"
17353 #endif
17354 char atanf ();
17355 int
17356 main ()
17357 {
17358 return atanf ();
17359 ;
17360 return 0;
17361 }
17362 _ACEOF
17363 if ac_fn_c_try_link "$LINENO"; then :
17364 ac_cv_lib_m_atanf=yes
17365 else
17366 ac_cv_lib_m_atanf=no
17367 fi
17368 rm -f core conftest.err conftest.$ac_objext \
17369 conftest$ac_exeext conftest.$ac_ext
17370 LIBS=$ac_check_lib_save_LIBS
17371 fi
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanf" >&5
17373 $as_echo "$ac_cv_lib_m_atanf" >&6; }
17374 if test "x$ac_cv_lib_m_atanf" = x""yes; then :
17375
17376 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
17377
17378 fi
17379
17380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
17381 $as_echo_n "checking for atan in -lm... " >&6; }
17382 if test "${ac_cv_lib_m_atan+set}" = set; then :
17383 $as_echo_n "(cached) " >&6
17384 else
17385 ac_check_lib_save_LIBS=$LIBS
17386 LIBS="-lm $LIBS"
17387 if test x$gcc_no_link = xyes; then
17388 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17389 fi
17390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17391 /* end confdefs.h. */
17392
17393 /* Override any GCC internal prototype to avoid an error.
17394 Use char because int might match the return type of a GCC
17395 builtin and then its argument prototype would still apply. */
17396 #ifdef __cplusplus
17397 extern "C"
17398 #endif
17399 char atan ();
17400 int
17401 main ()
17402 {
17403 return atan ();
17404 ;
17405 return 0;
17406 }
17407 _ACEOF
17408 if ac_fn_c_try_link "$LINENO"; then :
17409 ac_cv_lib_m_atan=yes
17410 else
17411 ac_cv_lib_m_atan=no
17412 fi
17413 rm -f core conftest.err conftest.$ac_objext \
17414 conftest$ac_exeext conftest.$ac_ext
17415 LIBS=$ac_check_lib_save_LIBS
17416 fi
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5
17418 $as_echo "$ac_cv_lib_m_atan" >&6; }
17419 if test "x$ac_cv_lib_m_atan" = x""yes; then :
17420
17421 $as_echo "#define HAVE_ATAN 1" >>confdefs.h
17422
17423 fi
17424
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
17426 $as_echo_n "checking for atanl in -lm... " >&6; }
17427 if test "${ac_cv_lib_m_atanl+set}" = set; then :
17428 $as_echo_n "(cached) " >&6
17429 else
17430 ac_check_lib_save_LIBS=$LIBS
17431 LIBS="-lm $LIBS"
17432 if test x$gcc_no_link = xyes; then
17433 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17434 fi
17435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17436 /* end confdefs.h. */
17437
17438 /* Override any GCC internal prototype to avoid an error.
17439 Use char because int might match the return type of a GCC
17440 builtin and then its argument prototype would still apply. */
17441 #ifdef __cplusplus
17442 extern "C"
17443 #endif
17444 char atanl ();
17445 int
17446 main ()
17447 {
17448 return atanl ();
17449 ;
17450 return 0;
17451 }
17452 _ACEOF
17453 if ac_fn_c_try_link "$LINENO"; then :
17454 ac_cv_lib_m_atanl=yes
17455 else
17456 ac_cv_lib_m_atanl=no
17457 fi
17458 rm -f core conftest.err conftest.$ac_objext \
17459 conftest$ac_exeext conftest.$ac_ext
17460 LIBS=$ac_check_lib_save_LIBS
17461 fi
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanl" >&5
17463 $as_echo "$ac_cv_lib_m_atanl" >&6; }
17464 if test "x$ac_cv_lib_m_atanl" = x""yes; then :
17465
17466 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
17467
17468 fi
17469
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
17471 $as_echo_n "checking for atanhf in -lm... " >&6; }
17472 if test "${ac_cv_lib_m_atanhf+set}" = set; then :
17473 $as_echo_n "(cached) " >&6
17474 else
17475 ac_check_lib_save_LIBS=$LIBS
17476 LIBS="-lm $LIBS"
17477 if test x$gcc_no_link = xyes; then
17478 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17479 fi
17480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17481 /* end confdefs.h. */
17482
17483 /* Override any GCC internal prototype to avoid an error.
17484 Use char because int might match the return type of a GCC
17485 builtin and then its argument prototype would still apply. */
17486 #ifdef __cplusplus
17487 extern "C"
17488 #endif
17489 char atanhf ();
17490 int
17491 main ()
17492 {
17493 return atanhf ();
17494 ;
17495 return 0;
17496 }
17497 _ACEOF
17498 if ac_fn_c_try_link "$LINENO"; then :
17499 ac_cv_lib_m_atanhf=yes
17500 else
17501 ac_cv_lib_m_atanhf=no
17502 fi
17503 rm -f core conftest.err conftest.$ac_objext \
17504 conftest$ac_exeext conftest.$ac_ext
17505 LIBS=$ac_check_lib_save_LIBS
17506 fi
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhf" >&5
17508 $as_echo "$ac_cv_lib_m_atanhf" >&6; }
17509 if test "x$ac_cv_lib_m_atanhf" = x""yes; then :
17510
17511 $as_echo "#define HAVE_ATANHF 1" >>confdefs.h
17512
17513 fi
17514
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
17516 $as_echo_n "checking for atanh in -lm... " >&6; }
17517 if test "${ac_cv_lib_m_atanh+set}" = set; then :
17518 $as_echo_n "(cached) " >&6
17519 else
17520 ac_check_lib_save_LIBS=$LIBS
17521 LIBS="-lm $LIBS"
17522 if test x$gcc_no_link = xyes; then
17523 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17524 fi
17525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17526 /* end confdefs.h. */
17527
17528 /* Override any GCC internal prototype to avoid an error.
17529 Use char because int might match the return type of a GCC
17530 builtin and then its argument prototype would still apply. */
17531 #ifdef __cplusplus
17532 extern "C"
17533 #endif
17534 char atanh ();
17535 int
17536 main ()
17537 {
17538 return atanh ();
17539 ;
17540 return 0;
17541 }
17542 _ACEOF
17543 if ac_fn_c_try_link "$LINENO"; then :
17544 ac_cv_lib_m_atanh=yes
17545 else
17546 ac_cv_lib_m_atanh=no
17547 fi
17548 rm -f core conftest.err conftest.$ac_objext \
17549 conftest$ac_exeext conftest.$ac_ext
17550 LIBS=$ac_check_lib_save_LIBS
17551 fi
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanh" >&5
17553 $as_echo "$ac_cv_lib_m_atanh" >&6; }
17554 if test "x$ac_cv_lib_m_atanh" = x""yes; then :
17555
17556 $as_echo "#define HAVE_ATANH 1" >>confdefs.h
17557
17558 fi
17559
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
17561 $as_echo_n "checking for atanhl in -lm... " >&6; }
17562 if test "${ac_cv_lib_m_atanhl+set}" = set; then :
17563 $as_echo_n "(cached) " >&6
17564 else
17565 ac_check_lib_save_LIBS=$LIBS
17566 LIBS="-lm $LIBS"
17567 if test x$gcc_no_link = xyes; then
17568 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17569 fi
17570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17571 /* end confdefs.h. */
17572
17573 /* Override any GCC internal prototype to avoid an error.
17574 Use char because int might match the return type of a GCC
17575 builtin and then its argument prototype would still apply. */
17576 #ifdef __cplusplus
17577 extern "C"
17578 #endif
17579 char atanhl ();
17580 int
17581 main ()
17582 {
17583 return atanhl ();
17584 ;
17585 return 0;
17586 }
17587 _ACEOF
17588 if ac_fn_c_try_link "$LINENO"; then :
17589 ac_cv_lib_m_atanhl=yes
17590 else
17591 ac_cv_lib_m_atanhl=no
17592 fi
17593 rm -f core conftest.err conftest.$ac_objext \
17594 conftest$ac_exeext conftest.$ac_ext
17595 LIBS=$ac_check_lib_save_LIBS
17596 fi
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhl" >&5
17598 $as_echo "$ac_cv_lib_m_atanhl" >&6; }
17599 if test "x$ac_cv_lib_m_atanhl" = x""yes; then :
17600
17601 $as_echo "#define HAVE_ATANHL 1" >>confdefs.h
17602
17603 fi
17604
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
17606 $as_echo_n "checking for cargf in -lm... " >&6; }
17607 if test "${ac_cv_lib_m_cargf+set}" = set; then :
17608 $as_echo_n "(cached) " >&6
17609 else
17610 ac_check_lib_save_LIBS=$LIBS
17611 LIBS="-lm $LIBS"
17612 if test x$gcc_no_link = xyes; then
17613 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17614 fi
17615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17616 /* end confdefs.h. */
17617
17618 /* Override any GCC internal prototype to avoid an error.
17619 Use char because int might match the return type of a GCC
17620 builtin and then its argument prototype would still apply. */
17621 #ifdef __cplusplus
17622 extern "C"
17623 #endif
17624 char cargf ();
17625 int
17626 main ()
17627 {
17628 return cargf ();
17629 ;
17630 return 0;
17631 }
17632 _ACEOF
17633 if ac_fn_c_try_link "$LINENO"; then :
17634 ac_cv_lib_m_cargf=yes
17635 else
17636 ac_cv_lib_m_cargf=no
17637 fi
17638 rm -f core conftest.err conftest.$ac_objext \
17639 conftest$ac_exeext conftest.$ac_ext
17640 LIBS=$ac_check_lib_save_LIBS
17641 fi
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargf" >&5
17643 $as_echo "$ac_cv_lib_m_cargf" >&6; }
17644 if test "x$ac_cv_lib_m_cargf" = x""yes; then :
17645
17646 $as_echo "#define HAVE_CARGF 1" >>confdefs.h
17647
17648 fi
17649
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
17651 $as_echo_n "checking for carg in -lm... " >&6; }
17652 if test "${ac_cv_lib_m_carg+set}" = set; then :
17653 $as_echo_n "(cached) " >&6
17654 else
17655 ac_check_lib_save_LIBS=$LIBS
17656 LIBS="-lm $LIBS"
17657 if test x$gcc_no_link = xyes; then
17658 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17659 fi
17660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17661 /* end confdefs.h. */
17662
17663 /* Override any GCC internal prototype to avoid an error.
17664 Use char because int might match the return type of a GCC
17665 builtin and then its argument prototype would still apply. */
17666 #ifdef __cplusplus
17667 extern "C"
17668 #endif
17669 char carg ();
17670 int
17671 main ()
17672 {
17673 return carg ();
17674 ;
17675 return 0;
17676 }
17677 _ACEOF
17678 if ac_fn_c_try_link "$LINENO"; then :
17679 ac_cv_lib_m_carg=yes
17680 else
17681 ac_cv_lib_m_carg=no
17682 fi
17683 rm -f core conftest.err conftest.$ac_objext \
17684 conftest$ac_exeext conftest.$ac_ext
17685 LIBS=$ac_check_lib_save_LIBS
17686 fi
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_carg" >&5
17688 $as_echo "$ac_cv_lib_m_carg" >&6; }
17689 if test "x$ac_cv_lib_m_carg" = x""yes; then :
17690
17691 $as_echo "#define HAVE_CARG 1" >>confdefs.h
17692
17693 fi
17694
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
17696 $as_echo_n "checking for cargl in -lm... " >&6; }
17697 if test "${ac_cv_lib_m_cargl+set}" = set; then :
17698 $as_echo_n "(cached) " >&6
17699 else
17700 ac_check_lib_save_LIBS=$LIBS
17701 LIBS="-lm $LIBS"
17702 if test x$gcc_no_link = xyes; then
17703 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17704 fi
17705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706 /* end confdefs.h. */
17707
17708 /* Override any GCC internal prototype to avoid an error.
17709 Use char because int might match the return type of a GCC
17710 builtin and then its argument prototype would still apply. */
17711 #ifdef __cplusplus
17712 extern "C"
17713 #endif
17714 char cargl ();
17715 int
17716 main ()
17717 {
17718 return cargl ();
17719 ;
17720 return 0;
17721 }
17722 _ACEOF
17723 if ac_fn_c_try_link "$LINENO"; then :
17724 ac_cv_lib_m_cargl=yes
17725 else
17726 ac_cv_lib_m_cargl=no
17727 fi
17728 rm -f core conftest.err conftest.$ac_objext \
17729 conftest$ac_exeext conftest.$ac_ext
17730 LIBS=$ac_check_lib_save_LIBS
17731 fi
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargl" >&5
17733 $as_echo "$ac_cv_lib_m_cargl" >&6; }
17734 if test "x$ac_cv_lib_m_cargl" = x""yes; then :
17735
17736 $as_echo "#define HAVE_CARGL 1" >>confdefs.h
17737
17738 fi
17739
17740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
17741 $as_echo_n "checking for ceilf in -lm... " >&6; }
17742 if test "${ac_cv_lib_m_ceilf+set}" = set; then :
17743 $as_echo_n "(cached) " >&6
17744 else
17745 ac_check_lib_save_LIBS=$LIBS
17746 LIBS="-lm $LIBS"
17747 if test x$gcc_no_link = xyes; then
17748 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17749 fi
17750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17751 /* end confdefs.h. */
17752
17753 /* Override any GCC internal prototype to avoid an error.
17754 Use char because int might match the return type of a GCC
17755 builtin and then its argument prototype would still apply. */
17756 #ifdef __cplusplus
17757 extern "C"
17758 #endif
17759 char ceilf ();
17760 int
17761 main ()
17762 {
17763 return ceilf ();
17764 ;
17765 return 0;
17766 }
17767 _ACEOF
17768 if ac_fn_c_try_link "$LINENO"; then :
17769 ac_cv_lib_m_ceilf=yes
17770 else
17771 ac_cv_lib_m_ceilf=no
17772 fi
17773 rm -f core conftest.err conftest.$ac_objext \
17774 conftest$ac_exeext conftest.$ac_ext
17775 LIBS=$ac_check_lib_save_LIBS
17776 fi
17777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5
17778 $as_echo "$ac_cv_lib_m_ceilf" >&6; }
17779 if test "x$ac_cv_lib_m_ceilf" = x""yes; then :
17780
17781 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
17782
17783 fi
17784
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
17786 $as_echo_n "checking for ceil in -lm... " >&6; }
17787 if test "${ac_cv_lib_m_ceil+set}" = set; then :
17788 $as_echo_n "(cached) " >&6
17789 else
17790 ac_check_lib_save_LIBS=$LIBS
17791 LIBS="-lm $LIBS"
17792 if test x$gcc_no_link = xyes; then
17793 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17794 fi
17795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17796 /* end confdefs.h. */
17797
17798 /* Override any GCC internal prototype to avoid an error.
17799 Use char because int might match the return type of a GCC
17800 builtin and then its argument prototype would still apply. */
17801 #ifdef __cplusplus
17802 extern "C"
17803 #endif
17804 char ceil ();
17805 int
17806 main ()
17807 {
17808 return ceil ();
17809 ;
17810 return 0;
17811 }
17812 _ACEOF
17813 if ac_fn_c_try_link "$LINENO"; then :
17814 ac_cv_lib_m_ceil=yes
17815 else
17816 ac_cv_lib_m_ceil=no
17817 fi
17818 rm -f core conftest.err conftest.$ac_objext \
17819 conftest$ac_exeext conftest.$ac_ext
17820 LIBS=$ac_check_lib_save_LIBS
17821 fi
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
17823 $as_echo "$ac_cv_lib_m_ceil" >&6; }
17824 if test "x$ac_cv_lib_m_ceil" = x""yes; then :
17825
17826 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
17827
17828 fi
17829
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
17831 $as_echo_n "checking for ceill in -lm... " >&6; }
17832 if test "${ac_cv_lib_m_ceill+set}" = set; then :
17833 $as_echo_n "(cached) " >&6
17834 else
17835 ac_check_lib_save_LIBS=$LIBS
17836 LIBS="-lm $LIBS"
17837 if test x$gcc_no_link = xyes; then
17838 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17839 fi
17840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17841 /* end confdefs.h. */
17842
17843 /* Override any GCC internal prototype to avoid an error.
17844 Use char because int might match the return type of a GCC
17845 builtin and then its argument prototype would still apply. */
17846 #ifdef __cplusplus
17847 extern "C"
17848 #endif
17849 char ceill ();
17850 int
17851 main ()
17852 {
17853 return ceill ();
17854 ;
17855 return 0;
17856 }
17857 _ACEOF
17858 if ac_fn_c_try_link "$LINENO"; then :
17859 ac_cv_lib_m_ceill=yes
17860 else
17861 ac_cv_lib_m_ceill=no
17862 fi
17863 rm -f core conftest.err conftest.$ac_objext \
17864 conftest$ac_exeext conftest.$ac_ext
17865 LIBS=$ac_check_lib_save_LIBS
17866 fi
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceill" >&5
17868 $as_echo "$ac_cv_lib_m_ceill" >&6; }
17869 if test "x$ac_cv_lib_m_ceill" = x""yes; then :
17870
17871 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
17872
17873 fi
17874
17875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17876 $as_echo_n "checking for copysignf in -lm... " >&6; }
17877 if test "${ac_cv_lib_m_copysignf+set}" = set; then :
17878 $as_echo_n "(cached) " >&6
17879 else
17880 ac_check_lib_save_LIBS=$LIBS
17881 LIBS="-lm $LIBS"
17882 if test x$gcc_no_link = xyes; then
17883 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17884 fi
17885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17886 /* end confdefs.h. */
17887
17888 /* Override any GCC internal prototype to avoid an error.
17889 Use char because int might match the return type of a GCC
17890 builtin and then its argument prototype would still apply. */
17891 #ifdef __cplusplus
17892 extern "C"
17893 #endif
17894 char copysignf ();
17895 int
17896 main ()
17897 {
17898 return copysignf ();
17899 ;
17900 return 0;
17901 }
17902 _ACEOF
17903 if ac_fn_c_try_link "$LINENO"; then :
17904 ac_cv_lib_m_copysignf=yes
17905 else
17906 ac_cv_lib_m_copysignf=no
17907 fi
17908 rm -f core conftest.err conftest.$ac_objext \
17909 conftest$ac_exeext conftest.$ac_ext
17910 LIBS=$ac_check_lib_save_LIBS
17911 fi
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignf" >&5
17913 $as_echo "$ac_cv_lib_m_copysignf" >&6; }
17914 if test "x$ac_cv_lib_m_copysignf" = x""yes; then :
17915
17916 $as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17917
17918 fi
17919
17920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17921 $as_echo_n "checking for copysign in -lm... " >&6; }
17922 if test "${ac_cv_lib_m_copysign+set}" = set; then :
17923 $as_echo_n "(cached) " >&6
17924 else
17925 ac_check_lib_save_LIBS=$LIBS
17926 LIBS="-lm $LIBS"
17927 if test x$gcc_no_link = xyes; then
17928 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17929 fi
17930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17931 /* end confdefs.h. */
17932
17933 /* Override any GCC internal prototype to avoid an error.
17934 Use char because int might match the return type of a GCC
17935 builtin and then its argument prototype would still apply. */
17936 #ifdef __cplusplus
17937 extern "C"
17938 #endif
17939 char copysign ();
17940 int
17941 main ()
17942 {
17943 return copysign ();
17944 ;
17945 return 0;
17946 }
17947 _ACEOF
17948 if ac_fn_c_try_link "$LINENO"; then :
17949 ac_cv_lib_m_copysign=yes
17950 else
17951 ac_cv_lib_m_copysign=no
17952 fi
17953 rm -f core conftest.err conftest.$ac_objext \
17954 conftest$ac_exeext conftest.$ac_ext
17955 LIBS=$ac_check_lib_save_LIBS
17956 fi
17957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysign" >&5
17958 $as_echo "$ac_cv_lib_m_copysign" >&6; }
17959 if test "x$ac_cv_lib_m_copysign" = x""yes; then :
17960
17961 $as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17962
17963 fi
17964
17965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17966 $as_echo_n "checking for copysignl in -lm... " >&6; }
17967 if test "${ac_cv_lib_m_copysignl+set}" = set; then :
17968 $as_echo_n "(cached) " >&6
17969 else
17970 ac_check_lib_save_LIBS=$LIBS
17971 LIBS="-lm $LIBS"
17972 if test x$gcc_no_link = xyes; then
17973 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17974 fi
17975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h. */
17977
17978 /* Override any GCC internal prototype to avoid an error.
17979 Use char because int might match the return type of a GCC
17980 builtin and then its argument prototype would still apply. */
17981 #ifdef __cplusplus
17982 extern "C"
17983 #endif
17984 char copysignl ();
17985 int
17986 main ()
17987 {
17988 return copysignl ();
17989 ;
17990 return 0;
17991 }
17992 _ACEOF
17993 if ac_fn_c_try_link "$LINENO"; then :
17994 ac_cv_lib_m_copysignl=yes
17995 else
17996 ac_cv_lib_m_copysignl=no
17997 fi
17998 rm -f core conftest.err conftest.$ac_objext \
17999 conftest$ac_exeext conftest.$ac_ext
18000 LIBS=$ac_check_lib_save_LIBS
18001 fi
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignl" >&5
18003 $as_echo "$ac_cv_lib_m_copysignl" >&6; }
18004 if test "x$ac_cv_lib_m_copysignl" = x""yes; then :
18005
18006 $as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
18007
18008 fi
18009
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
18011 $as_echo_n "checking for cosf in -lm... " >&6; }
18012 if test "${ac_cv_lib_m_cosf+set}" = set; then :
18013 $as_echo_n "(cached) " >&6
18014 else
18015 ac_check_lib_save_LIBS=$LIBS
18016 LIBS="-lm $LIBS"
18017 if test x$gcc_no_link = xyes; then
18018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18019 fi
18020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18021 /* end confdefs.h. */
18022
18023 /* Override any GCC internal prototype to avoid an error.
18024 Use char because int might match the return type of a GCC
18025 builtin and then its argument prototype would still apply. */
18026 #ifdef __cplusplus
18027 extern "C"
18028 #endif
18029 char cosf ();
18030 int
18031 main ()
18032 {
18033 return cosf ();
18034 ;
18035 return 0;
18036 }
18037 _ACEOF
18038 if ac_fn_c_try_link "$LINENO"; then :
18039 ac_cv_lib_m_cosf=yes
18040 else
18041 ac_cv_lib_m_cosf=no
18042 fi
18043 rm -f core conftest.err conftest.$ac_objext \
18044 conftest$ac_exeext conftest.$ac_ext
18045 LIBS=$ac_check_lib_save_LIBS
18046 fi
18047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
18048 $as_echo "$ac_cv_lib_m_cosf" >&6; }
18049 if test "x$ac_cv_lib_m_cosf" = x""yes; then :
18050
18051 $as_echo "#define HAVE_COSF 1" >>confdefs.h
18052
18053 fi
18054
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
18056 $as_echo_n "checking for cos in -lm... " >&6; }
18057 if test "${ac_cv_lib_m_cos+set}" = set; then :
18058 $as_echo_n "(cached) " >&6
18059 else
18060 ac_check_lib_save_LIBS=$LIBS
18061 LIBS="-lm $LIBS"
18062 if test x$gcc_no_link = xyes; then
18063 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18064 fi
18065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18066 /* end confdefs.h. */
18067
18068 /* Override any GCC internal prototype to avoid an error.
18069 Use char because int might match the return type of a GCC
18070 builtin and then its argument prototype would still apply. */
18071 #ifdef __cplusplus
18072 extern "C"
18073 #endif
18074 char cos ();
18075 int
18076 main ()
18077 {
18078 return cos ();
18079 ;
18080 return 0;
18081 }
18082 _ACEOF
18083 if ac_fn_c_try_link "$LINENO"; then :
18084 ac_cv_lib_m_cos=yes
18085 else
18086 ac_cv_lib_m_cos=no
18087 fi
18088 rm -f core conftest.err conftest.$ac_objext \
18089 conftest$ac_exeext conftest.$ac_ext
18090 LIBS=$ac_check_lib_save_LIBS
18091 fi
18092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
18093 $as_echo "$ac_cv_lib_m_cos" >&6; }
18094 if test "x$ac_cv_lib_m_cos" = x""yes; then :
18095
18096 $as_echo "#define HAVE_COS 1" >>confdefs.h
18097
18098 fi
18099
18100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
18101 $as_echo_n "checking for cosl in -lm... " >&6; }
18102 if test "${ac_cv_lib_m_cosl+set}" = set; then :
18103 $as_echo_n "(cached) " >&6
18104 else
18105 ac_check_lib_save_LIBS=$LIBS
18106 LIBS="-lm $LIBS"
18107 if test x$gcc_no_link = xyes; then
18108 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18109 fi
18110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18111 /* end confdefs.h. */
18112
18113 /* Override any GCC internal prototype to avoid an error.
18114 Use char because int might match the return type of a GCC
18115 builtin and then its argument prototype would still apply. */
18116 #ifdef __cplusplus
18117 extern "C"
18118 #endif
18119 char cosl ();
18120 int
18121 main ()
18122 {
18123 return cosl ();
18124 ;
18125 return 0;
18126 }
18127 _ACEOF
18128 if ac_fn_c_try_link "$LINENO"; then :
18129 ac_cv_lib_m_cosl=yes
18130 else
18131 ac_cv_lib_m_cosl=no
18132 fi
18133 rm -f core conftest.err conftest.$ac_objext \
18134 conftest$ac_exeext conftest.$ac_ext
18135 LIBS=$ac_check_lib_save_LIBS
18136 fi
18137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosl" >&5
18138 $as_echo "$ac_cv_lib_m_cosl" >&6; }
18139 if test "x$ac_cv_lib_m_cosl" = x""yes; then :
18140
18141 $as_echo "#define HAVE_COSL 1" >>confdefs.h
18142
18143 fi
18144
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
18146 $as_echo_n "checking for ccosf in -lm... " >&6; }
18147 if test "${ac_cv_lib_m_ccosf+set}" = set; then :
18148 $as_echo_n "(cached) " >&6
18149 else
18150 ac_check_lib_save_LIBS=$LIBS
18151 LIBS="-lm $LIBS"
18152 if test x$gcc_no_link = xyes; then
18153 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18154 fi
18155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18156 /* end confdefs.h. */
18157
18158 /* Override any GCC internal prototype to avoid an error.
18159 Use char because int might match the return type of a GCC
18160 builtin and then its argument prototype would still apply. */
18161 #ifdef __cplusplus
18162 extern "C"
18163 #endif
18164 char ccosf ();
18165 int
18166 main ()
18167 {
18168 return ccosf ();
18169 ;
18170 return 0;
18171 }
18172 _ACEOF
18173 if ac_fn_c_try_link "$LINENO"; then :
18174 ac_cv_lib_m_ccosf=yes
18175 else
18176 ac_cv_lib_m_ccosf=no
18177 fi
18178 rm -f core conftest.err conftest.$ac_objext \
18179 conftest$ac_exeext conftest.$ac_ext
18180 LIBS=$ac_check_lib_save_LIBS
18181 fi
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosf" >&5
18183 $as_echo "$ac_cv_lib_m_ccosf" >&6; }
18184 if test "x$ac_cv_lib_m_ccosf" = x""yes; then :
18185
18186 $as_echo "#define HAVE_CCOSF 1" >>confdefs.h
18187
18188 fi
18189
18190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
18191 $as_echo_n "checking for ccos in -lm... " >&6; }
18192 if test "${ac_cv_lib_m_ccos+set}" = set; then :
18193 $as_echo_n "(cached) " >&6
18194 else
18195 ac_check_lib_save_LIBS=$LIBS
18196 LIBS="-lm $LIBS"
18197 if test x$gcc_no_link = xyes; then
18198 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18199 fi
18200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18201 /* end confdefs.h. */
18202
18203 /* Override any GCC internal prototype to avoid an error.
18204 Use char because int might match the return type of a GCC
18205 builtin and then its argument prototype would still apply. */
18206 #ifdef __cplusplus
18207 extern "C"
18208 #endif
18209 char ccos ();
18210 int
18211 main ()
18212 {
18213 return ccos ();
18214 ;
18215 return 0;
18216 }
18217 _ACEOF
18218 if ac_fn_c_try_link "$LINENO"; then :
18219 ac_cv_lib_m_ccos=yes
18220 else
18221 ac_cv_lib_m_ccos=no
18222 fi
18223 rm -f core conftest.err conftest.$ac_objext \
18224 conftest$ac_exeext conftest.$ac_ext
18225 LIBS=$ac_check_lib_save_LIBS
18226 fi
18227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccos" >&5
18228 $as_echo "$ac_cv_lib_m_ccos" >&6; }
18229 if test "x$ac_cv_lib_m_ccos" = x""yes; then :
18230
18231 $as_echo "#define HAVE_CCOS 1" >>confdefs.h
18232
18233 fi
18234
18235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
18236 $as_echo_n "checking for ccosl in -lm... " >&6; }
18237 if test "${ac_cv_lib_m_ccosl+set}" = set; then :
18238 $as_echo_n "(cached) " >&6
18239 else
18240 ac_check_lib_save_LIBS=$LIBS
18241 LIBS="-lm $LIBS"
18242 if test x$gcc_no_link = xyes; then
18243 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18244 fi
18245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18246 /* end confdefs.h. */
18247
18248 /* Override any GCC internal prototype to avoid an error.
18249 Use char because int might match the return type of a GCC
18250 builtin and then its argument prototype would still apply. */
18251 #ifdef __cplusplus
18252 extern "C"
18253 #endif
18254 char ccosl ();
18255 int
18256 main ()
18257 {
18258 return ccosl ();
18259 ;
18260 return 0;
18261 }
18262 _ACEOF
18263 if ac_fn_c_try_link "$LINENO"; then :
18264 ac_cv_lib_m_ccosl=yes
18265 else
18266 ac_cv_lib_m_ccosl=no
18267 fi
18268 rm -f core conftest.err conftest.$ac_objext \
18269 conftest$ac_exeext conftest.$ac_ext
18270 LIBS=$ac_check_lib_save_LIBS
18271 fi
18272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosl" >&5
18273 $as_echo "$ac_cv_lib_m_ccosl" >&6; }
18274 if test "x$ac_cv_lib_m_ccosl" = x""yes; then :
18275
18276 $as_echo "#define HAVE_CCOSL 1" >>confdefs.h
18277
18278 fi
18279
18280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
18281 $as_echo_n "checking for coshf in -lm... " >&6; }
18282 if test "${ac_cv_lib_m_coshf+set}" = set; then :
18283 $as_echo_n "(cached) " >&6
18284 else
18285 ac_check_lib_save_LIBS=$LIBS
18286 LIBS="-lm $LIBS"
18287 if test x$gcc_no_link = xyes; then
18288 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18289 fi
18290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18291 /* end confdefs.h. */
18292
18293 /* Override any GCC internal prototype to avoid an error.
18294 Use char because int might match the return type of a GCC
18295 builtin and then its argument prototype would still apply. */
18296 #ifdef __cplusplus
18297 extern "C"
18298 #endif
18299 char coshf ();
18300 int
18301 main ()
18302 {
18303 return coshf ();
18304 ;
18305 return 0;
18306 }
18307 _ACEOF
18308 if ac_fn_c_try_link "$LINENO"; then :
18309 ac_cv_lib_m_coshf=yes
18310 else
18311 ac_cv_lib_m_coshf=no
18312 fi
18313 rm -f core conftest.err conftest.$ac_objext \
18314 conftest$ac_exeext conftest.$ac_ext
18315 LIBS=$ac_check_lib_save_LIBS
18316 fi
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshf" >&5
18318 $as_echo "$ac_cv_lib_m_coshf" >&6; }
18319 if test "x$ac_cv_lib_m_coshf" = x""yes; then :
18320
18321 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
18322
18323 fi
18324
18325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
18326 $as_echo_n "checking for cosh in -lm... " >&6; }
18327 if test "${ac_cv_lib_m_cosh+set}" = set; then :
18328 $as_echo_n "(cached) " >&6
18329 else
18330 ac_check_lib_save_LIBS=$LIBS
18331 LIBS="-lm $LIBS"
18332 if test x$gcc_no_link = xyes; then
18333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18334 fi
18335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18336 /* end confdefs.h. */
18337
18338 /* Override any GCC internal prototype to avoid an error.
18339 Use char because int might match the return type of a GCC
18340 builtin and then its argument prototype would still apply. */
18341 #ifdef __cplusplus
18342 extern "C"
18343 #endif
18344 char cosh ();
18345 int
18346 main ()
18347 {
18348 return cosh ();
18349 ;
18350 return 0;
18351 }
18352 _ACEOF
18353 if ac_fn_c_try_link "$LINENO"; then :
18354 ac_cv_lib_m_cosh=yes
18355 else
18356 ac_cv_lib_m_cosh=no
18357 fi
18358 rm -f core conftest.err conftest.$ac_objext \
18359 conftest$ac_exeext conftest.$ac_ext
18360 LIBS=$ac_check_lib_save_LIBS
18361 fi
18362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosh" >&5
18363 $as_echo "$ac_cv_lib_m_cosh" >&6; }
18364 if test "x$ac_cv_lib_m_cosh" = x""yes; then :
18365
18366 $as_echo "#define HAVE_COSH 1" >>confdefs.h
18367
18368 fi
18369
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
18371 $as_echo_n "checking for coshl in -lm... " >&6; }
18372 if test "${ac_cv_lib_m_coshl+set}" = set; then :
18373 $as_echo_n "(cached) " >&6
18374 else
18375 ac_check_lib_save_LIBS=$LIBS
18376 LIBS="-lm $LIBS"
18377 if test x$gcc_no_link = xyes; then
18378 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18379 fi
18380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18381 /* end confdefs.h. */
18382
18383 /* Override any GCC internal prototype to avoid an error.
18384 Use char because int might match the return type of a GCC
18385 builtin and then its argument prototype would still apply. */
18386 #ifdef __cplusplus
18387 extern "C"
18388 #endif
18389 char coshl ();
18390 int
18391 main ()
18392 {
18393 return coshl ();
18394 ;
18395 return 0;
18396 }
18397 _ACEOF
18398 if ac_fn_c_try_link "$LINENO"; then :
18399 ac_cv_lib_m_coshl=yes
18400 else
18401 ac_cv_lib_m_coshl=no
18402 fi
18403 rm -f core conftest.err conftest.$ac_objext \
18404 conftest$ac_exeext conftest.$ac_ext
18405 LIBS=$ac_check_lib_save_LIBS
18406 fi
18407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshl" >&5
18408 $as_echo "$ac_cv_lib_m_coshl" >&6; }
18409 if test "x$ac_cv_lib_m_coshl" = x""yes; then :
18410
18411 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
18412
18413 fi
18414
18415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
18416 $as_echo_n "checking for ccoshf in -lm... " >&6; }
18417 if test "${ac_cv_lib_m_ccoshf+set}" = set; then :
18418 $as_echo_n "(cached) " >&6
18419 else
18420 ac_check_lib_save_LIBS=$LIBS
18421 LIBS="-lm $LIBS"
18422 if test x$gcc_no_link = xyes; then
18423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18424 fi
18425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18426 /* end confdefs.h. */
18427
18428 /* Override any GCC internal prototype to avoid an error.
18429 Use char because int might match the return type of a GCC
18430 builtin and then its argument prototype would still apply. */
18431 #ifdef __cplusplus
18432 extern "C"
18433 #endif
18434 char ccoshf ();
18435 int
18436 main ()
18437 {
18438 return ccoshf ();
18439 ;
18440 return 0;
18441 }
18442 _ACEOF
18443 if ac_fn_c_try_link "$LINENO"; then :
18444 ac_cv_lib_m_ccoshf=yes
18445 else
18446 ac_cv_lib_m_ccoshf=no
18447 fi
18448 rm -f core conftest.err conftest.$ac_objext \
18449 conftest$ac_exeext conftest.$ac_ext
18450 LIBS=$ac_check_lib_save_LIBS
18451 fi
18452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshf" >&5
18453 $as_echo "$ac_cv_lib_m_ccoshf" >&6; }
18454 if test "x$ac_cv_lib_m_ccoshf" = x""yes; then :
18455
18456 $as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
18457
18458 fi
18459
18460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
18461 $as_echo_n "checking for ccosh in -lm... " >&6; }
18462 if test "${ac_cv_lib_m_ccosh+set}" = set; then :
18463 $as_echo_n "(cached) " >&6
18464 else
18465 ac_check_lib_save_LIBS=$LIBS
18466 LIBS="-lm $LIBS"
18467 if test x$gcc_no_link = xyes; then
18468 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18469 fi
18470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18471 /* end confdefs.h. */
18472
18473 /* Override any GCC internal prototype to avoid an error.
18474 Use char because int might match the return type of a GCC
18475 builtin and then its argument prototype would still apply. */
18476 #ifdef __cplusplus
18477 extern "C"
18478 #endif
18479 char ccosh ();
18480 int
18481 main ()
18482 {
18483 return ccosh ();
18484 ;
18485 return 0;
18486 }
18487 _ACEOF
18488 if ac_fn_c_try_link "$LINENO"; then :
18489 ac_cv_lib_m_ccosh=yes
18490 else
18491 ac_cv_lib_m_ccosh=no
18492 fi
18493 rm -f core conftest.err conftest.$ac_objext \
18494 conftest$ac_exeext conftest.$ac_ext
18495 LIBS=$ac_check_lib_save_LIBS
18496 fi
18497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosh" >&5
18498 $as_echo "$ac_cv_lib_m_ccosh" >&6; }
18499 if test "x$ac_cv_lib_m_ccosh" = x""yes; then :
18500
18501 $as_echo "#define HAVE_CCOSH 1" >>confdefs.h
18502
18503 fi
18504
18505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
18506 $as_echo_n "checking for ccoshl in -lm... " >&6; }
18507 if test "${ac_cv_lib_m_ccoshl+set}" = set; then :
18508 $as_echo_n "(cached) " >&6
18509 else
18510 ac_check_lib_save_LIBS=$LIBS
18511 LIBS="-lm $LIBS"
18512 if test x$gcc_no_link = xyes; then
18513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18514 fi
18515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18516 /* end confdefs.h. */
18517
18518 /* Override any GCC internal prototype to avoid an error.
18519 Use char because int might match the return type of a GCC
18520 builtin and then its argument prototype would still apply. */
18521 #ifdef __cplusplus
18522 extern "C"
18523 #endif
18524 char ccoshl ();
18525 int
18526 main ()
18527 {
18528 return ccoshl ();
18529 ;
18530 return 0;
18531 }
18532 _ACEOF
18533 if ac_fn_c_try_link "$LINENO"; then :
18534 ac_cv_lib_m_ccoshl=yes
18535 else
18536 ac_cv_lib_m_ccoshl=no
18537 fi
18538 rm -f core conftest.err conftest.$ac_objext \
18539 conftest$ac_exeext conftest.$ac_ext
18540 LIBS=$ac_check_lib_save_LIBS
18541 fi
18542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshl" >&5
18543 $as_echo "$ac_cv_lib_m_ccoshl" >&6; }
18544 if test "x$ac_cv_lib_m_ccoshl" = x""yes; then :
18545
18546 $as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
18547
18548 fi
18549
18550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
18551 $as_echo_n "checking for expf in -lm... " >&6; }
18552 if test "${ac_cv_lib_m_expf+set}" = set; then :
18553 $as_echo_n "(cached) " >&6
18554 else
18555 ac_check_lib_save_LIBS=$LIBS
18556 LIBS="-lm $LIBS"
18557 if test x$gcc_no_link = xyes; then
18558 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18559 fi
18560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18561 /* end confdefs.h. */
18562
18563 /* Override any GCC internal prototype to avoid an error.
18564 Use char because int might match the return type of a GCC
18565 builtin and then its argument prototype would still apply. */
18566 #ifdef __cplusplus
18567 extern "C"
18568 #endif
18569 char expf ();
18570 int
18571 main ()
18572 {
18573 return expf ();
18574 ;
18575 return 0;
18576 }
18577 _ACEOF
18578 if ac_fn_c_try_link "$LINENO"; then :
18579 ac_cv_lib_m_expf=yes
18580 else
18581 ac_cv_lib_m_expf=no
18582 fi
18583 rm -f core conftest.err conftest.$ac_objext \
18584 conftest$ac_exeext conftest.$ac_ext
18585 LIBS=$ac_check_lib_save_LIBS
18586 fi
18587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expf" >&5
18588 $as_echo "$ac_cv_lib_m_expf" >&6; }
18589 if test "x$ac_cv_lib_m_expf" = x""yes; then :
18590
18591 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
18592
18593 fi
18594
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
18596 $as_echo_n "checking for exp in -lm... " >&6; }
18597 if test "${ac_cv_lib_m_exp+set}" = set; then :
18598 $as_echo_n "(cached) " >&6
18599 else
18600 ac_check_lib_save_LIBS=$LIBS
18601 LIBS="-lm $LIBS"
18602 if test x$gcc_no_link = xyes; then
18603 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18604 fi
18605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18606 /* end confdefs.h. */
18607
18608 /* Override any GCC internal prototype to avoid an error.
18609 Use char because int might match the return type of a GCC
18610 builtin and then its argument prototype would still apply. */
18611 #ifdef __cplusplus
18612 extern "C"
18613 #endif
18614 char exp ();
18615 int
18616 main ()
18617 {
18618 return exp ();
18619 ;
18620 return 0;
18621 }
18622 _ACEOF
18623 if ac_fn_c_try_link "$LINENO"; then :
18624 ac_cv_lib_m_exp=yes
18625 else
18626 ac_cv_lib_m_exp=no
18627 fi
18628 rm -f core conftest.err conftest.$ac_objext \
18629 conftest$ac_exeext conftest.$ac_ext
18630 LIBS=$ac_check_lib_save_LIBS
18631 fi
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
18633 $as_echo "$ac_cv_lib_m_exp" >&6; }
18634 if test "x$ac_cv_lib_m_exp" = x""yes; then :
18635
18636 $as_echo "#define HAVE_EXP 1" >>confdefs.h
18637
18638 fi
18639
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
18641 $as_echo_n "checking for expl in -lm... " >&6; }
18642 if test "${ac_cv_lib_m_expl+set}" = set; then :
18643 $as_echo_n "(cached) " >&6
18644 else
18645 ac_check_lib_save_LIBS=$LIBS
18646 LIBS="-lm $LIBS"
18647 if test x$gcc_no_link = xyes; then
18648 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18649 fi
18650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18651 /* end confdefs.h. */
18652
18653 /* Override any GCC internal prototype to avoid an error.
18654 Use char because int might match the return type of a GCC
18655 builtin and then its argument prototype would still apply. */
18656 #ifdef __cplusplus
18657 extern "C"
18658 #endif
18659 char expl ();
18660 int
18661 main ()
18662 {
18663 return expl ();
18664 ;
18665 return 0;
18666 }
18667 _ACEOF
18668 if ac_fn_c_try_link "$LINENO"; then :
18669 ac_cv_lib_m_expl=yes
18670 else
18671 ac_cv_lib_m_expl=no
18672 fi
18673 rm -f core conftest.err conftest.$ac_objext \
18674 conftest$ac_exeext conftest.$ac_ext
18675 LIBS=$ac_check_lib_save_LIBS
18676 fi
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expl" >&5
18678 $as_echo "$ac_cv_lib_m_expl" >&6; }
18679 if test "x$ac_cv_lib_m_expl" = x""yes; then :
18680
18681 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
18682
18683 fi
18684
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
18686 $as_echo_n "checking for cexpf in -lm... " >&6; }
18687 if test "${ac_cv_lib_m_cexpf+set}" = set; then :
18688 $as_echo_n "(cached) " >&6
18689 else
18690 ac_check_lib_save_LIBS=$LIBS
18691 LIBS="-lm $LIBS"
18692 if test x$gcc_no_link = xyes; then
18693 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18694 fi
18695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18696 /* end confdefs.h. */
18697
18698 /* Override any GCC internal prototype to avoid an error.
18699 Use char because int might match the return type of a GCC
18700 builtin and then its argument prototype would still apply. */
18701 #ifdef __cplusplus
18702 extern "C"
18703 #endif
18704 char cexpf ();
18705 int
18706 main ()
18707 {
18708 return cexpf ();
18709 ;
18710 return 0;
18711 }
18712 _ACEOF
18713 if ac_fn_c_try_link "$LINENO"; then :
18714 ac_cv_lib_m_cexpf=yes
18715 else
18716 ac_cv_lib_m_cexpf=no
18717 fi
18718 rm -f core conftest.err conftest.$ac_objext \
18719 conftest$ac_exeext conftest.$ac_ext
18720 LIBS=$ac_check_lib_save_LIBS
18721 fi
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpf" >&5
18723 $as_echo "$ac_cv_lib_m_cexpf" >&6; }
18724 if test "x$ac_cv_lib_m_cexpf" = x""yes; then :
18725
18726 $as_echo "#define HAVE_CEXPF 1" >>confdefs.h
18727
18728 fi
18729
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
18731 $as_echo_n "checking for cexp in -lm... " >&6; }
18732 if test "${ac_cv_lib_m_cexp+set}" = set; then :
18733 $as_echo_n "(cached) " >&6
18734 else
18735 ac_check_lib_save_LIBS=$LIBS
18736 LIBS="-lm $LIBS"
18737 if test x$gcc_no_link = xyes; then
18738 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18739 fi
18740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18741 /* end confdefs.h. */
18742
18743 /* Override any GCC internal prototype to avoid an error.
18744 Use char because int might match the return type of a GCC
18745 builtin and then its argument prototype would still apply. */
18746 #ifdef __cplusplus
18747 extern "C"
18748 #endif
18749 char cexp ();
18750 int
18751 main ()
18752 {
18753 return cexp ();
18754 ;
18755 return 0;
18756 }
18757 _ACEOF
18758 if ac_fn_c_try_link "$LINENO"; then :
18759 ac_cv_lib_m_cexp=yes
18760 else
18761 ac_cv_lib_m_cexp=no
18762 fi
18763 rm -f core conftest.err conftest.$ac_objext \
18764 conftest$ac_exeext conftest.$ac_ext
18765 LIBS=$ac_check_lib_save_LIBS
18766 fi
18767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexp" >&5
18768 $as_echo "$ac_cv_lib_m_cexp" >&6; }
18769 if test "x$ac_cv_lib_m_cexp" = x""yes; then :
18770
18771 $as_echo "#define HAVE_CEXP 1" >>confdefs.h
18772
18773 fi
18774
18775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
18776 $as_echo_n "checking for cexpl in -lm... " >&6; }
18777 if test "${ac_cv_lib_m_cexpl+set}" = set; then :
18778 $as_echo_n "(cached) " >&6
18779 else
18780 ac_check_lib_save_LIBS=$LIBS
18781 LIBS="-lm $LIBS"
18782 if test x$gcc_no_link = xyes; then
18783 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18784 fi
18785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18786 /* end confdefs.h. */
18787
18788 /* Override any GCC internal prototype to avoid an error.
18789 Use char because int might match the return type of a GCC
18790 builtin and then its argument prototype would still apply. */
18791 #ifdef __cplusplus
18792 extern "C"
18793 #endif
18794 char cexpl ();
18795 int
18796 main ()
18797 {
18798 return cexpl ();
18799 ;
18800 return 0;
18801 }
18802 _ACEOF
18803 if ac_fn_c_try_link "$LINENO"; then :
18804 ac_cv_lib_m_cexpl=yes
18805 else
18806 ac_cv_lib_m_cexpl=no
18807 fi
18808 rm -f core conftest.err conftest.$ac_objext \
18809 conftest$ac_exeext conftest.$ac_ext
18810 LIBS=$ac_check_lib_save_LIBS
18811 fi
18812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpl" >&5
18813 $as_echo "$ac_cv_lib_m_cexpl" >&6; }
18814 if test "x$ac_cv_lib_m_cexpl" = x""yes; then :
18815
18816 $as_echo "#define HAVE_CEXPL 1" >>confdefs.h
18817
18818 fi
18819
18820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
18821 $as_echo_n "checking for fabsf in -lm... " >&6; }
18822 if test "${ac_cv_lib_m_fabsf+set}" = set; then :
18823 $as_echo_n "(cached) " >&6
18824 else
18825 ac_check_lib_save_LIBS=$LIBS
18826 LIBS="-lm $LIBS"
18827 if test x$gcc_no_link = xyes; then
18828 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18829 fi
18830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18831 /* end confdefs.h. */
18832
18833 /* Override any GCC internal prototype to avoid an error.
18834 Use char because int might match the return type of a GCC
18835 builtin and then its argument prototype would still apply. */
18836 #ifdef __cplusplus
18837 extern "C"
18838 #endif
18839 char fabsf ();
18840 int
18841 main ()
18842 {
18843 return fabsf ();
18844 ;
18845 return 0;
18846 }
18847 _ACEOF
18848 if ac_fn_c_try_link "$LINENO"; then :
18849 ac_cv_lib_m_fabsf=yes
18850 else
18851 ac_cv_lib_m_fabsf=no
18852 fi
18853 rm -f core conftest.err conftest.$ac_objext \
18854 conftest$ac_exeext conftest.$ac_ext
18855 LIBS=$ac_check_lib_save_LIBS
18856 fi
18857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
18858 $as_echo "$ac_cv_lib_m_fabsf" >&6; }
18859 if test "x$ac_cv_lib_m_fabsf" = x""yes; then :
18860
18861 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
18862
18863 fi
18864
18865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18866 $as_echo_n "checking for fabs in -lm... " >&6; }
18867 if test "${ac_cv_lib_m_fabs+set}" = set; then :
18868 $as_echo_n "(cached) " >&6
18869 else
18870 ac_check_lib_save_LIBS=$LIBS
18871 LIBS="-lm $LIBS"
18872 if test x$gcc_no_link = xyes; then
18873 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18874 fi
18875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18876 /* end confdefs.h. */
18877
18878 /* Override any GCC internal prototype to avoid an error.
18879 Use char because int might match the return type of a GCC
18880 builtin and then its argument prototype would still apply. */
18881 #ifdef __cplusplus
18882 extern "C"
18883 #endif
18884 char fabs ();
18885 int
18886 main ()
18887 {
18888 return fabs ();
18889 ;
18890 return 0;
18891 }
18892 _ACEOF
18893 if ac_fn_c_try_link "$LINENO"; then :
18894 ac_cv_lib_m_fabs=yes
18895 else
18896 ac_cv_lib_m_fabs=no
18897 fi
18898 rm -f core conftest.err conftest.$ac_objext \
18899 conftest$ac_exeext conftest.$ac_ext
18900 LIBS=$ac_check_lib_save_LIBS
18901 fi
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
18903 $as_echo "$ac_cv_lib_m_fabs" >&6; }
18904 if test "x$ac_cv_lib_m_fabs" = x""yes; then :
18905
18906 $as_echo "#define HAVE_FABS 1" >>confdefs.h
18907
18908 fi
18909
18910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18911 $as_echo_n "checking for fabsl in -lm... " >&6; }
18912 if test "${ac_cv_lib_m_fabsl+set}" = set; then :
18913 $as_echo_n "(cached) " >&6
18914 else
18915 ac_check_lib_save_LIBS=$LIBS
18916 LIBS="-lm $LIBS"
18917 if test x$gcc_no_link = xyes; then
18918 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18919 fi
18920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18921 /* end confdefs.h. */
18922
18923 /* Override any GCC internal prototype to avoid an error.
18924 Use char because int might match the return type of a GCC
18925 builtin and then its argument prototype would still apply. */
18926 #ifdef __cplusplus
18927 extern "C"
18928 #endif
18929 char fabsl ();
18930 int
18931 main ()
18932 {
18933 return fabsl ();
18934 ;
18935 return 0;
18936 }
18937 _ACEOF
18938 if ac_fn_c_try_link "$LINENO"; then :
18939 ac_cv_lib_m_fabsl=yes
18940 else
18941 ac_cv_lib_m_fabsl=no
18942 fi
18943 rm -f core conftest.err conftest.$ac_objext \
18944 conftest$ac_exeext conftest.$ac_ext
18945 LIBS=$ac_check_lib_save_LIBS
18946 fi
18947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsl" >&5
18948 $as_echo "$ac_cv_lib_m_fabsl" >&6; }
18949 if test "x$ac_cv_lib_m_fabsl" = x""yes; then :
18950
18951 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
18952
18953 fi
18954
18955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18956 $as_echo_n "checking for cabsf in -lm... " >&6; }
18957 if test "${ac_cv_lib_m_cabsf+set}" = set; then :
18958 $as_echo_n "(cached) " >&6
18959 else
18960 ac_check_lib_save_LIBS=$LIBS
18961 LIBS="-lm $LIBS"
18962 if test x$gcc_no_link = xyes; then
18963 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18964 fi
18965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18966 /* end confdefs.h. */
18967
18968 /* Override any GCC internal prototype to avoid an error.
18969 Use char because int might match the return type of a GCC
18970 builtin and then its argument prototype would still apply. */
18971 #ifdef __cplusplus
18972 extern "C"
18973 #endif
18974 char cabsf ();
18975 int
18976 main ()
18977 {
18978 return cabsf ();
18979 ;
18980 return 0;
18981 }
18982 _ACEOF
18983 if ac_fn_c_try_link "$LINENO"; then :
18984 ac_cv_lib_m_cabsf=yes
18985 else
18986 ac_cv_lib_m_cabsf=no
18987 fi
18988 rm -f core conftest.err conftest.$ac_objext \
18989 conftest$ac_exeext conftest.$ac_ext
18990 LIBS=$ac_check_lib_save_LIBS
18991 fi
18992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsf" >&5
18993 $as_echo "$ac_cv_lib_m_cabsf" >&6; }
18994 if test "x$ac_cv_lib_m_cabsf" = x""yes; then :
18995
18996 $as_echo "#define HAVE_CABSF 1" >>confdefs.h
18997
18998 fi
18999
19000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
19001 $as_echo_n "checking for cabs in -lm... " >&6; }
19002 if test "${ac_cv_lib_m_cabs+set}" = set; then :
19003 $as_echo_n "(cached) " >&6
19004 else
19005 ac_check_lib_save_LIBS=$LIBS
19006 LIBS="-lm $LIBS"
19007 if test x$gcc_no_link = xyes; then
19008 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19009 fi
19010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19011 /* end confdefs.h. */
19012
19013 /* Override any GCC internal prototype to avoid an error.
19014 Use char because int might match the return type of a GCC
19015 builtin and then its argument prototype would still apply. */
19016 #ifdef __cplusplus
19017 extern "C"
19018 #endif
19019 char cabs ();
19020 int
19021 main ()
19022 {
19023 return cabs ();
19024 ;
19025 return 0;
19026 }
19027 _ACEOF
19028 if ac_fn_c_try_link "$LINENO"; then :
19029 ac_cv_lib_m_cabs=yes
19030 else
19031 ac_cv_lib_m_cabs=no
19032 fi
19033 rm -f core conftest.err conftest.$ac_objext \
19034 conftest$ac_exeext conftest.$ac_ext
19035 LIBS=$ac_check_lib_save_LIBS
19036 fi
19037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabs" >&5
19038 $as_echo "$ac_cv_lib_m_cabs" >&6; }
19039 if test "x$ac_cv_lib_m_cabs" = x""yes; then :
19040
19041 $as_echo "#define HAVE_CABS 1" >>confdefs.h
19042
19043 fi
19044
19045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
19046 $as_echo_n "checking for cabsl in -lm... " >&6; }
19047 if test "${ac_cv_lib_m_cabsl+set}" = set; then :
19048 $as_echo_n "(cached) " >&6
19049 else
19050 ac_check_lib_save_LIBS=$LIBS
19051 LIBS="-lm $LIBS"
19052 if test x$gcc_no_link = xyes; then
19053 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19054 fi
19055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19056 /* end confdefs.h. */
19057
19058 /* Override any GCC internal prototype to avoid an error.
19059 Use char because int might match the return type of a GCC
19060 builtin and then its argument prototype would still apply. */
19061 #ifdef __cplusplus
19062 extern "C"
19063 #endif
19064 char cabsl ();
19065 int
19066 main ()
19067 {
19068 return cabsl ();
19069 ;
19070 return 0;
19071 }
19072 _ACEOF
19073 if ac_fn_c_try_link "$LINENO"; then :
19074 ac_cv_lib_m_cabsl=yes
19075 else
19076 ac_cv_lib_m_cabsl=no
19077 fi
19078 rm -f core conftest.err conftest.$ac_objext \
19079 conftest$ac_exeext conftest.$ac_ext
19080 LIBS=$ac_check_lib_save_LIBS
19081 fi
19082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsl" >&5
19083 $as_echo "$ac_cv_lib_m_cabsl" >&6; }
19084 if test "x$ac_cv_lib_m_cabsl" = x""yes; then :
19085
19086 $as_echo "#define HAVE_CABSL 1" >>confdefs.h
19087
19088 fi
19089
19090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
19091 $as_echo_n "checking for floorf in -lm... " >&6; }
19092 if test "${ac_cv_lib_m_floorf+set}" = set; then :
19093 $as_echo_n "(cached) " >&6
19094 else
19095 ac_check_lib_save_LIBS=$LIBS
19096 LIBS="-lm $LIBS"
19097 if test x$gcc_no_link = xyes; then
19098 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19099 fi
19100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19101 /* end confdefs.h. */
19102
19103 /* Override any GCC internal prototype to avoid an error.
19104 Use char because int might match the return type of a GCC
19105 builtin and then its argument prototype would still apply. */
19106 #ifdef __cplusplus
19107 extern "C"
19108 #endif
19109 char floorf ();
19110 int
19111 main ()
19112 {
19113 return floorf ();
19114 ;
19115 return 0;
19116 }
19117 _ACEOF
19118 if ac_fn_c_try_link "$LINENO"; then :
19119 ac_cv_lib_m_floorf=yes
19120 else
19121 ac_cv_lib_m_floorf=no
19122 fi
19123 rm -f core conftest.err conftest.$ac_objext \
19124 conftest$ac_exeext conftest.$ac_ext
19125 LIBS=$ac_check_lib_save_LIBS
19126 fi
19127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorf" >&5
19128 $as_echo "$ac_cv_lib_m_floorf" >&6; }
19129 if test "x$ac_cv_lib_m_floorf" = x""yes; then :
19130
19131 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
19132
19133 fi
19134
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
19136 $as_echo_n "checking for floor in -lm... " >&6; }
19137 if test "${ac_cv_lib_m_floor+set}" = set; then :
19138 $as_echo_n "(cached) " >&6
19139 else
19140 ac_check_lib_save_LIBS=$LIBS
19141 LIBS="-lm $LIBS"
19142 if test x$gcc_no_link = xyes; then
19143 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19144 fi
19145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19146 /* end confdefs.h. */
19147
19148 /* Override any GCC internal prototype to avoid an error.
19149 Use char because int might match the return type of a GCC
19150 builtin and then its argument prototype would still apply. */
19151 #ifdef __cplusplus
19152 extern "C"
19153 #endif
19154 char floor ();
19155 int
19156 main ()
19157 {
19158 return floor ();
19159 ;
19160 return 0;
19161 }
19162 _ACEOF
19163 if ac_fn_c_try_link "$LINENO"; then :
19164 ac_cv_lib_m_floor=yes
19165 else
19166 ac_cv_lib_m_floor=no
19167 fi
19168 rm -f core conftest.err conftest.$ac_objext \
19169 conftest$ac_exeext conftest.$ac_ext
19170 LIBS=$ac_check_lib_save_LIBS
19171 fi
19172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
19173 $as_echo "$ac_cv_lib_m_floor" >&6; }
19174 if test "x$ac_cv_lib_m_floor" = x""yes; then :
19175
19176 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
19177
19178 fi
19179
19180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
19181 $as_echo_n "checking for floorl in -lm... " >&6; }
19182 if test "${ac_cv_lib_m_floorl+set}" = set; then :
19183 $as_echo_n "(cached) " >&6
19184 else
19185 ac_check_lib_save_LIBS=$LIBS
19186 LIBS="-lm $LIBS"
19187 if test x$gcc_no_link = xyes; then
19188 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19189 fi
19190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19191 /* end confdefs.h. */
19192
19193 /* Override any GCC internal prototype to avoid an error.
19194 Use char because int might match the return type of a GCC
19195 builtin and then its argument prototype would still apply. */
19196 #ifdef __cplusplus
19197 extern "C"
19198 #endif
19199 char floorl ();
19200 int
19201 main ()
19202 {
19203 return floorl ();
19204 ;
19205 return 0;
19206 }
19207 _ACEOF
19208 if ac_fn_c_try_link "$LINENO"; then :
19209 ac_cv_lib_m_floorl=yes
19210 else
19211 ac_cv_lib_m_floorl=no
19212 fi
19213 rm -f core conftest.err conftest.$ac_objext \
19214 conftest$ac_exeext conftest.$ac_ext
19215 LIBS=$ac_check_lib_save_LIBS
19216 fi
19217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorl" >&5
19218 $as_echo "$ac_cv_lib_m_floorl" >&6; }
19219 if test "x$ac_cv_lib_m_floorl" = x""yes; then :
19220
19221 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
19222
19223 fi
19224
19225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
19226 $as_echo_n "checking for fmodf in -lm... " >&6; }
19227 if test "${ac_cv_lib_m_fmodf+set}" = set; then :
19228 $as_echo_n "(cached) " >&6
19229 else
19230 ac_check_lib_save_LIBS=$LIBS
19231 LIBS="-lm $LIBS"
19232 if test x$gcc_no_link = xyes; then
19233 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19234 fi
19235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19236 /* end confdefs.h. */
19237
19238 /* Override any GCC internal prototype to avoid an error.
19239 Use char because int might match the return type of a GCC
19240 builtin and then its argument prototype would still apply. */
19241 #ifdef __cplusplus
19242 extern "C"
19243 #endif
19244 char fmodf ();
19245 int
19246 main ()
19247 {
19248 return fmodf ();
19249 ;
19250 return 0;
19251 }
19252 _ACEOF
19253 if ac_fn_c_try_link "$LINENO"; then :
19254 ac_cv_lib_m_fmodf=yes
19255 else
19256 ac_cv_lib_m_fmodf=no
19257 fi
19258 rm -f core conftest.err conftest.$ac_objext \
19259 conftest$ac_exeext conftest.$ac_ext
19260 LIBS=$ac_check_lib_save_LIBS
19261 fi
19262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodf" >&5
19263 $as_echo "$ac_cv_lib_m_fmodf" >&6; }
19264 if test "x$ac_cv_lib_m_fmodf" = x""yes; then :
19265
19266 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
19267
19268 fi
19269
19270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
19271 $as_echo_n "checking for fmod in -lm... " >&6; }
19272 if test "${ac_cv_lib_m_fmod+set}" = set; then :
19273 $as_echo_n "(cached) " >&6
19274 else
19275 ac_check_lib_save_LIBS=$LIBS
19276 LIBS="-lm $LIBS"
19277 if test x$gcc_no_link = xyes; then
19278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19279 fi
19280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19281 /* end confdefs.h. */
19282
19283 /* Override any GCC internal prototype to avoid an error.
19284 Use char because int might match the return type of a GCC
19285 builtin and then its argument prototype would still apply. */
19286 #ifdef __cplusplus
19287 extern "C"
19288 #endif
19289 char fmod ();
19290 int
19291 main ()
19292 {
19293 return fmod ();
19294 ;
19295 return 0;
19296 }
19297 _ACEOF
19298 if ac_fn_c_try_link "$LINENO"; then :
19299 ac_cv_lib_m_fmod=yes
19300 else
19301 ac_cv_lib_m_fmod=no
19302 fi
19303 rm -f core conftest.err conftest.$ac_objext \
19304 conftest$ac_exeext conftest.$ac_ext
19305 LIBS=$ac_check_lib_save_LIBS
19306 fi
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5
19308 $as_echo "$ac_cv_lib_m_fmod" >&6; }
19309 if test "x$ac_cv_lib_m_fmod" = x""yes; then :
19310
19311 $as_echo "#define HAVE_FMOD 1" >>confdefs.h
19312
19313 fi
19314
19315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
19316 $as_echo_n "checking for fmodl in -lm... " >&6; }
19317 if test "${ac_cv_lib_m_fmodl+set}" = set; then :
19318 $as_echo_n "(cached) " >&6
19319 else
19320 ac_check_lib_save_LIBS=$LIBS
19321 LIBS="-lm $LIBS"
19322 if test x$gcc_no_link = xyes; then
19323 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19324 fi
19325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19326 /* end confdefs.h. */
19327
19328 /* Override any GCC internal prototype to avoid an error.
19329 Use char because int might match the return type of a GCC
19330 builtin and then its argument prototype would still apply. */
19331 #ifdef __cplusplus
19332 extern "C"
19333 #endif
19334 char fmodl ();
19335 int
19336 main ()
19337 {
19338 return fmodl ();
19339 ;
19340 return 0;
19341 }
19342 _ACEOF
19343 if ac_fn_c_try_link "$LINENO"; then :
19344 ac_cv_lib_m_fmodl=yes
19345 else
19346 ac_cv_lib_m_fmodl=no
19347 fi
19348 rm -f core conftest.err conftest.$ac_objext \
19349 conftest$ac_exeext conftest.$ac_ext
19350 LIBS=$ac_check_lib_save_LIBS
19351 fi
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodl" >&5
19353 $as_echo "$ac_cv_lib_m_fmodl" >&6; }
19354 if test "x$ac_cv_lib_m_fmodl" = x""yes; then :
19355
19356 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
19357
19358 fi
19359
19360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
19361 $as_echo_n "checking for frexpf in -lm... " >&6; }
19362 if test "${ac_cv_lib_m_frexpf+set}" = set; then :
19363 $as_echo_n "(cached) " >&6
19364 else
19365 ac_check_lib_save_LIBS=$LIBS
19366 LIBS="-lm $LIBS"
19367 if test x$gcc_no_link = xyes; then
19368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19369 fi
19370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19371 /* end confdefs.h. */
19372
19373 /* Override any GCC internal prototype to avoid an error.
19374 Use char because int might match the return type of a GCC
19375 builtin and then its argument prototype would still apply. */
19376 #ifdef __cplusplus
19377 extern "C"
19378 #endif
19379 char frexpf ();
19380 int
19381 main ()
19382 {
19383 return frexpf ();
19384 ;
19385 return 0;
19386 }
19387 _ACEOF
19388 if ac_fn_c_try_link "$LINENO"; then :
19389 ac_cv_lib_m_frexpf=yes
19390 else
19391 ac_cv_lib_m_frexpf=no
19392 fi
19393 rm -f core conftest.err conftest.$ac_objext \
19394 conftest$ac_exeext conftest.$ac_ext
19395 LIBS=$ac_check_lib_save_LIBS
19396 fi
19397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpf" >&5
19398 $as_echo "$ac_cv_lib_m_frexpf" >&6; }
19399 if test "x$ac_cv_lib_m_frexpf" = x""yes; then :
19400
19401 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
19402
19403 fi
19404
19405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
19406 $as_echo_n "checking for frexp in -lm... " >&6; }
19407 if test "${ac_cv_lib_m_frexp+set}" = set; then :
19408 $as_echo_n "(cached) " >&6
19409 else
19410 ac_check_lib_save_LIBS=$LIBS
19411 LIBS="-lm $LIBS"
19412 if test x$gcc_no_link = xyes; then
19413 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19414 fi
19415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19416 /* end confdefs.h. */
19417
19418 /* Override any GCC internal prototype to avoid an error.
19419 Use char because int might match the return type of a GCC
19420 builtin and then its argument prototype would still apply. */
19421 #ifdef __cplusplus
19422 extern "C"
19423 #endif
19424 char frexp ();
19425 int
19426 main ()
19427 {
19428 return frexp ();
19429 ;
19430 return 0;
19431 }
19432 _ACEOF
19433 if ac_fn_c_try_link "$LINENO"; then :
19434 ac_cv_lib_m_frexp=yes
19435 else
19436 ac_cv_lib_m_frexp=no
19437 fi
19438 rm -f core conftest.err conftest.$ac_objext \
19439 conftest$ac_exeext conftest.$ac_ext
19440 LIBS=$ac_check_lib_save_LIBS
19441 fi
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexp" >&5
19443 $as_echo "$ac_cv_lib_m_frexp" >&6; }
19444 if test "x$ac_cv_lib_m_frexp" = x""yes; then :
19445
19446 $as_echo "#define HAVE_FREXP 1" >>confdefs.h
19447
19448 fi
19449
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
19451 $as_echo_n "checking for frexpl in -lm... " >&6; }
19452 if test "${ac_cv_lib_m_frexpl+set}" = set; then :
19453 $as_echo_n "(cached) " >&6
19454 else
19455 ac_check_lib_save_LIBS=$LIBS
19456 LIBS="-lm $LIBS"
19457 if test x$gcc_no_link = xyes; then
19458 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19459 fi
19460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19461 /* end confdefs.h. */
19462
19463 /* Override any GCC internal prototype to avoid an error.
19464 Use char because int might match the return type of a GCC
19465 builtin and then its argument prototype would still apply. */
19466 #ifdef __cplusplus
19467 extern "C"
19468 #endif
19469 char frexpl ();
19470 int
19471 main ()
19472 {
19473 return frexpl ();
19474 ;
19475 return 0;
19476 }
19477 _ACEOF
19478 if ac_fn_c_try_link "$LINENO"; then :
19479 ac_cv_lib_m_frexpl=yes
19480 else
19481 ac_cv_lib_m_frexpl=no
19482 fi
19483 rm -f core conftest.err conftest.$ac_objext \
19484 conftest$ac_exeext conftest.$ac_ext
19485 LIBS=$ac_check_lib_save_LIBS
19486 fi
19487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpl" >&5
19488 $as_echo "$ac_cv_lib_m_frexpl" >&6; }
19489 if test "x$ac_cv_lib_m_frexpl" = x""yes; then :
19490
19491 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
19492
19493 fi
19494
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
19496 $as_echo_n "checking for hypotf in -lm... " >&6; }
19497 if test "${ac_cv_lib_m_hypotf+set}" = set; then :
19498 $as_echo_n "(cached) " >&6
19499 else
19500 ac_check_lib_save_LIBS=$LIBS
19501 LIBS="-lm $LIBS"
19502 if test x$gcc_no_link = xyes; then
19503 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19504 fi
19505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19506 /* end confdefs.h. */
19507
19508 /* Override any GCC internal prototype to avoid an error.
19509 Use char because int might match the return type of a GCC
19510 builtin and then its argument prototype would still apply. */
19511 #ifdef __cplusplus
19512 extern "C"
19513 #endif
19514 char hypotf ();
19515 int
19516 main ()
19517 {
19518 return hypotf ();
19519 ;
19520 return 0;
19521 }
19522 _ACEOF
19523 if ac_fn_c_try_link "$LINENO"; then :
19524 ac_cv_lib_m_hypotf=yes
19525 else
19526 ac_cv_lib_m_hypotf=no
19527 fi
19528 rm -f core conftest.err conftest.$ac_objext \
19529 conftest$ac_exeext conftest.$ac_ext
19530 LIBS=$ac_check_lib_save_LIBS
19531 fi
19532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotf" >&5
19533 $as_echo "$ac_cv_lib_m_hypotf" >&6; }
19534 if test "x$ac_cv_lib_m_hypotf" = x""yes; then :
19535
19536 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
19537
19538 fi
19539
19540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
19541 $as_echo_n "checking for hypot in -lm... " >&6; }
19542 if test "${ac_cv_lib_m_hypot+set}" = set; then :
19543 $as_echo_n "(cached) " >&6
19544 else
19545 ac_check_lib_save_LIBS=$LIBS
19546 LIBS="-lm $LIBS"
19547 if test x$gcc_no_link = xyes; then
19548 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19549 fi
19550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19551 /* end confdefs.h. */
19552
19553 /* Override any GCC internal prototype to avoid an error.
19554 Use char because int might match the return type of a GCC
19555 builtin and then its argument prototype would still apply. */
19556 #ifdef __cplusplus
19557 extern "C"
19558 #endif
19559 char hypot ();
19560 int
19561 main ()
19562 {
19563 return hypot ();
19564 ;
19565 return 0;
19566 }
19567 _ACEOF
19568 if ac_fn_c_try_link "$LINENO"; then :
19569 ac_cv_lib_m_hypot=yes
19570 else
19571 ac_cv_lib_m_hypot=no
19572 fi
19573 rm -f core conftest.err conftest.$ac_objext \
19574 conftest$ac_exeext conftest.$ac_ext
19575 LIBS=$ac_check_lib_save_LIBS
19576 fi
19577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
19578 $as_echo "$ac_cv_lib_m_hypot" >&6; }
19579 if test "x$ac_cv_lib_m_hypot" = x""yes; then :
19580
19581 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
19582
19583 fi
19584
19585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
19586 $as_echo_n "checking for hypotl in -lm... " >&6; }
19587 if test "${ac_cv_lib_m_hypotl+set}" = set; then :
19588 $as_echo_n "(cached) " >&6
19589 else
19590 ac_check_lib_save_LIBS=$LIBS
19591 LIBS="-lm $LIBS"
19592 if test x$gcc_no_link = xyes; then
19593 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19594 fi
19595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19596 /* end confdefs.h. */
19597
19598 /* Override any GCC internal prototype to avoid an error.
19599 Use char because int might match the return type of a GCC
19600 builtin and then its argument prototype would still apply. */
19601 #ifdef __cplusplus
19602 extern "C"
19603 #endif
19604 char hypotl ();
19605 int
19606 main ()
19607 {
19608 return hypotl ();
19609 ;
19610 return 0;
19611 }
19612 _ACEOF
19613 if ac_fn_c_try_link "$LINENO"; then :
19614 ac_cv_lib_m_hypotl=yes
19615 else
19616 ac_cv_lib_m_hypotl=no
19617 fi
19618 rm -f core conftest.err conftest.$ac_objext \
19619 conftest$ac_exeext conftest.$ac_ext
19620 LIBS=$ac_check_lib_save_LIBS
19621 fi
19622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotl" >&5
19623 $as_echo "$ac_cv_lib_m_hypotl" >&6; }
19624 if test "x$ac_cv_lib_m_hypotl" = x""yes; then :
19625
19626 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
19627
19628 fi
19629
19630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
19631 $as_echo_n "checking for ldexpf in -lm... " >&6; }
19632 if test "${ac_cv_lib_m_ldexpf+set}" = set; then :
19633 $as_echo_n "(cached) " >&6
19634 else
19635 ac_check_lib_save_LIBS=$LIBS
19636 LIBS="-lm $LIBS"
19637 if test x$gcc_no_link = xyes; then
19638 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19639 fi
19640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19641 /* end confdefs.h. */
19642
19643 /* Override any GCC internal prototype to avoid an error.
19644 Use char because int might match the return type of a GCC
19645 builtin and then its argument prototype would still apply. */
19646 #ifdef __cplusplus
19647 extern "C"
19648 #endif
19649 char ldexpf ();
19650 int
19651 main ()
19652 {
19653 return ldexpf ();
19654 ;
19655 return 0;
19656 }
19657 _ACEOF
19658 if ac_fn_c_try_link "$LINENO"; then :
19659 ac_cv_lib_m_ldexpf=yes
19660 else
19661 ac_cv_lib_m_ldexpf=no
19662 fi
19663 rm -f core conftest.err conftest.$ac_objext \
19664 conftest$ac_exeext conftest.$ac_ext
19665 LIBS=$ac_check_lib_save_LIBS
19666 fi
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpf" >&5
19668 $as_echo "$ac_cv_lib_m_ldexpf" >&6; }
19669 if test "x$ac_cv_lib_m_ldexpf" = x""yes; then :
19670
19671 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
19672
19673 fi
19674
19675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
19676 $as_echo_n "checking for ldexp in -lm... " >&6; }
19677 if test "${ac_cv_lib_m_ldexp+set}" = set; then :
19678 $as_echo_n "(cached) " >&6
19679 else
19680 ac_check_lib_save_LIBS=$LIBS
19681 LIBS="-lm $LIBS"
19682 if test x$gcc_no_link = xyes; then
19683 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19684 fi
19685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19686 /* end confdefs.h. */
19687
19688 /* Override any GCC internal prototype to avoid an error.
19689 Use char because int might match the return type of a GCC
19690 builtin and then its argument prototype would still apply. */
19691 #ifdef __cplusplus
19692 extern "C"
19693 #endif
19694 char ldexp ();
19695 int
19696 main ()
19697 {
19698 return ldexp ();
19699 ;
19700 return 0;
19701 }
19702 _ACEOF
19703 if ac_fn_c_try_link "$LINENO"; then :
19704 ac_cv_lib_m_ldexp=yes
19705 else
19706 ac_cv_lib_m_ldexp=no
19707 fi
19708 rm -f core conftest.err conftest.$ac_objext \
19709 conftest$ac_exeext conftest.$ac_ext
19710 LIBS=$ac_check_lib_save_LIBS
19711 fi
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexp" >&5
19713 $as_echo "$ac_cv_lib_m_ldexp" >&6; }
19714 if test "x$ac_cv_lib_m_ldexp" = x""yes; then :
19715
19716 $as_echo "#define HAVE_LDEXP 1" >>confdefs.h
19717
19718 fi
19719
19720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
19721 $as_echo_n "checking for ldexpl in -lm... " >&6; }
19722 if test "${ac_cv_lib_m_ldexpl+set}" = set; then :
19723 $as_echo_n "(cached) " >&6
19724 else
19725 ac_check_lib_save_LIBS=$LIBS
19726 LIBS="-lm $LIBS"
19727 if test x$gcc_no_link = xyes; then
19728 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19729 fi
19730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19731 /* end confdefs.h. */
19732
19733 /* Override any GCC internal prototype to avoid an error.
19734 Use char because int might match the return type of a GCC
19735 builtin and then its argument prototype would still apply. */
19736 #ifdef __cplusplus
19737 extern "C"
19738 #endif
19739 char ldexpl ();
19740 int
19741 main ()
19742 {
19743 return ldexpl ();
19744 ;
19745 return 0;
19746 }
19747 _ACEOF
19748 if ac_fn_c_try_link "$LINENO"; then :
19749 ac_cv_lib_m_ldexpl=yes
19750 else
19751 ac_cv_lib_m_ldexpl=no
19752 fi
19753 rm -f core conftest.err conftest.$ac_objext \
19754 conftest$ac_exeext conftest.$ac_ext
19755 LIBS=$ac_check_lib_save_LIBS
19756 fi
19757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpl" >&5
19758 $as_echo "$ac_cv_lib_m_ldexpl" >&6; }
19759 if test "x$ac_cv_lib_m_ldexpl" = x""yes; then :
19760
19761 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
19762
19763 fi
19764
19765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
19766 $as_echo_n "checking for logf in -lm... " >&6; }
19767 if test "${ac_cv_lib_m_logf+set}" = set; then :
19768 $as_echo_n "(cached) " >&6
19769 else
19770 ac_check_lib_save_LIBS=$LIBS
19771 LIBS="-lm $LIBS"
19772 if test x$gcc_no_link = xyes; then
19773 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19774 fi
19775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19776 /* end confdefs.h. */
19777
19778 /* Override any GCC internal prototype to avoid an error.
19779 Use char because int might match the return type of a GCC
19780 builtin and then its argument prototype would still apply. */
19781 #ifdef __cplusplus
19782 extern "C"
19783 #endif
19784 char logf ();
19785 int
19786 main ()
19787 {
19788 return logf ();
19789 ;
19790 return 0;
19791 }
19792 _ACEOF
19793 if ac_fn_c_try_link "$LINENO"; then :
19794 ac_cv_lib_m_logf=yes
19795 else
19796 ac_cv_lib_m_logf=no
19797 fi
19798 rm -f core conftest.err conftest.$ac_objext \
19799 conftest$ac_exeext conftest.$ac_ext
19800 LIBS=$ac_check_lib_save_LIBS
19801 fi
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logf" >&5
19803 $as_echo "$ac_cv_lib_m_logf" >&6; }
19804 if test "x$ac_cv_lib_m_logf" = x""yes; then :
19805
19806 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
19807
19808 fi
19809
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
19811 $as_echo_n "checking for log in -lm... " >&6; }
19812 if test "${ac_cv_lib_m_log+set}" = set; then :
19813 $as_echo_n "(cached) " >&6
19814 else
19815 ac_check_lib_save_LIBS=$LIBS
19816 LIBS="-lm $LIBS"
19817 if test x$gcc_no_link = xyes; then
19818 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19819 fi
19820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19821 /* end confdefs.h. */
19822
19823 /* Override any GCC internal prototype to avoid an error.
19824 Use char because int might match the return type of a GCC
19825 builtin and then its argument prototype would still apply. */
19826 #ifdef __cplusplus
19827 extern "C"
19828 #endif
19829 char log ();
19830 int
19831 main ()
19832 {
19833 return log ();
19834 ;
19835 return 0;
19836 }
19837 _ACEOF
19838 if ac_fn_c_try_link "$LINENO"; then :
19839 ac_cv_lib_m_log=yes
19840 else
19841 ac_cv_lib_m_log=no
19842 fi
19843 rm -f core conftest.err conftest.$ac_objext \
19844 conftest$ac_exeext conftest.$ac_ext
19845 LIBS=$ac_check_lib_save_LIBS
19846 fi
19847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
19848 $as_echo "$ac_cv_lib_m_log" >&6; }
19849 if test "x$ac_cv_lib_m_log" = x""yes; then :
19850
19851 $as_echo "#define HAVE_LOG 1" >>confdefs.h
19852
19853 fi
19854
19855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19856 $as_echo_n "checking for logl in -lm... " >&6; }
19857 if test "${ac_cv_lib_m_logl+set}" = set; then :
19858 $as_echo_n "(cached) " >&6
19859 else
19860 ac_check_lib_save_LIBS=$LIBS
19861 LIBS="-lm $LIBS"
19862 if test x$gcc_no_link = xyes; then
19863 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19864 fi
19865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19866 /* end confdefs.h. */
19867
19868 /* Override any GCC internal prototype to avoid an error.
19869 Use char because int might match the return type of a GCC
19870 builtin and then its argument prototype would still apply. */
19871 #ifdef __cplusplus
19872 extern "C"
19873 #endif
19874 char logl ();
19875 int
19876 main ()
19877 {
19878 return logl ();
19879 ;
19880 return 0;
19881 }
19882 _ACEOF
19883 if ac_fn_c_try_link "$LINENO"; then :
19884 ac_cv_lib_m_logl=yes
19885 else
19886 ac_cv_lib_m_logl=no
19887 fi
19888 rm -f core conftest.err conftest.$ac_objext \
19889 conftest$ac_exeext conftest.$ac_ext
19890 LIBS=$ac_check_lib_save_LIBS
19891 fi
19892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logl" >&5
19893 $as_echo "$ac_cv_lib_m_logl" >&6; }
19894 if test "x$ac_cv_lib_m_logl" = x""yes; then :
19895
19896 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
19897
19898 fi
19899
19900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19901 $as_echo_n "checking for clogf in -lm... " >&6; }
19902 if test "${ac_cv_lib_m_clogf+set}" = set; then :
19903 $as_echo_n "(cached) " >&6
19904 else
19905 ac_check_lib_save_LIBS=$LIBS
19906 LIBS="-lm $LIBS"
19907 if test x$gcc_no_link = xyes; then
19908 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19909 fi
19910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19911 /* end confdefs.h. */
19912
19913 /* Override any GCC internal prototype to avoid an error.
19914 Use char because int might match the return type of a GCC
19915 builtin and then its argument prototype would still apply. */
19916 #ifdef __cplusplus
19917 extern "C"
19918 #endif
19919 char clogf ();
19920 int
19921 main ()
19922 {
19923 return clogf ();
19924 ;
19925 return 0;
19926 }
19927 _ACEOF
19928 if ac_fn_c_try_link "$LINENO"; then :
19929 ac_cv_lib_m_clogf=yes
19930 else
19931 ac_cv_lib_m_clogf=no
19932 fi
19933 rm -f core conftest.err conftest.$ac_objext \
19934 conftest$ac_exeext conftest.$ac_ext
19935 LIBS=$ac_check_lib_save_LIBS
19936 fi
19937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogf" >&5
19938 $as_echo "$ac_cv_lib_m_clogf" >&6; }
19939 if test "x$ac_cv_lib_m_clogf" = x""yes; then :
19940
19941 $as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19942
19943 fi
19944
19945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19946 $as_echo_n "checking for clog in -lm... " >&6; }
19947 if test "${ac_cv_lib_m_clog+set}" = set; then :
19948 $as_echo_n "(cached) " >&6
19949 else
19950 ac_check_lib_save_LIBS=$LIBS
19951 LIBS="-lm $LIBS"
19952 if test x$gcc_no_link = xyes; then
19953 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19954 fi
19955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19957
19958 /* Override any GCC internal prototype to avoid an error.
19959 Use char because int might match the return type of a GCC
19960 builtin and then its argument prototype would still apply. */
19961 #ifdef __cplusplus
19962 extern "C"
19963 #endif
19964 char clog ();
19965 int
19966 main ()
19967 {
19968 return clog ();
19969 ;
19970 return 0;
19971 }
19972 _ACEOF
19973 if ac_fn_c_try_link "$LINENO"; then :
19974 ac_cv_lib_m_clog=yes
19975 else
19976 ac_cv_lib_m_clog=no
19977 fi
19978 rm -f core conftest.err conftest.$ac_objext \
19979 conftest$ac_exeext conftest.$ac_ext
19980 LIBS=$ac_check_lib_save_LIBS
19981 fi
19982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog" >&5
19983 $as_echo "$ac_cv_lib_m_clog" >&6; }
19984 if test "x$ac_cv_lib_m_clog" = x""yes; then :
19985
19986 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
19987
19988 fi
19989
19990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19991 $as_echo_n "checking for clogl in -lm... " >&6; }
19992 if test "${ac_cv_lib_m_clogl+set}" = set; then :
19993 $as_echo_n "(cached) " >&6
19994 else
19995 ac_check_lib_save_LIBS=$LIBS
19996 LIBS="-lm $LIBS"
19997 if test x$gcc_no_link = xyes; then
19998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19999 fi
20000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20001 /* end confdefs.h. */
20002
20003 /* Override any GCC internal prototype to avoid an error.
20004 Use char because int might match the return type of a GCC
20005 builtin and then its argument prototype would still apply. */
20006 #ifdef __cplusplus
20007 extern "C"
20008 #endif
20009 char clogl ();
20010 int
20011 main ()
20012 {
20013 return clogl ();
20014 ;
20015 return 0;
20016 }
20017 _ACEOF
20018 if ac_fn_c_try_link "$LINENO"; then :
20019 ac_cv_lib_m_clogl=yes
20020 else
20021 ac_cv_lib_m_clogl=no
20022 fi
20023 rm -f core conftest.err conftest.$ac_objext \
20024 conftest$ac_exeext conftest.$ac_ext
20025 LIBS=$ac_check_lib_save_LIBS
20026 fi
20027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogl" >&5
20028 $as_echo "$ac_cv_lib_m_clogl" >&6; }
20029 if test "x$ac_cv_lib_m_clogl" = x""yes; then :
20030
20031 $as_echo "#define HAVE_CLOGL 1" >>confdefs.h
20032
20033 fi
20034
20035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
20036 $as_echo_n "checking for log10f in -lm... " >&6; }
20037 if test "${ac_cv_lib_m_log10f+set}" = set; then :
20038 $as_echo_n "(cached) " >&6
20039 else
20040 ac_check_lib_save_LIBS=$LIBS
20041 LIBS="-lm $LIBS"
20042 if test x$gcc_no_link = xyes; then
20043 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20044 fi
20045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20046 /* end confdefs.h. */
20047
20048 /* Override any GCC internal prototype to avoid an error.
20049 Use char because int might match the return type of a GCC
20050 builtin and then its argument prototype would still apply. */
20051 #ifdef __cplusplus
20052 extern "C"
20053 #endif
20054 char log10f ();
20055 int
20056 main ()
20057 {
20058 return log10f ();
20059 ;
20060 return 0;
20061 }
20062 _ACEOF
20063 if ac_fn_c_try_link "$LINENO"; then :
20064 ac_cv_lib_m_log10f=yes
20065 else
20066 ac_cv_lib_m_log10f=no
20067 fi
20068 rm -f core conftest.err conftest.$ac_objext \
20069 conftest$ac_exeext conftest.$ac_ext
20070 LIBS=$ac_check_lib_save_LIBS
20071 fi
20072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10f" >&5
20073 $as_echo "$ac_cv_lib_m_log10f" >&6; }
20074 if test "x$ac_cv_lib_m_log10f" = x""yes; then :
20075
20076 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
20077
20078 fi
20079
20080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
20081 $as_echo_n "checking for log10 in -lm... " >&6; }
20082 if test "${ac_cv_lib_m_log10+set}" = set; then :
20083 $as_echo_n "(cached) " >&6
20084 else
20085 ac_check_lib_save_LIBS=$LIBS
20086 LIBS="-lm $LIBS"
20087 if test x$gcc_no_link = xyes; then
20088 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20089 fi
20090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20091 /* end confdefs.h. */
20092
20093 /* Override any GCC internal prototype to avoid an error.
20094 Use char because int might match the return type of a GCC
20095 builtin and then its argument prototype would still apply. */
20096 #ifdef __cplusplus
20097 extern "C"
20098 #endif
20099 char log10 ();
20100 int
20101 main ()
20102 {
20103 return log10 ();
20104 ;
20105 return 0;
20106 }
20107 _ACEOF
20108 if ac_fn_c_try_link "$LINENO"; then :
20109 ac_cv_lib_m_log10=yes
20110 else
20111 ac_cv_lib_m_log10=no
20112 fi
20113 rm -f core conftest.err conftest.$ac_objext \
20114 conftest$ac_exeext conftest.$ac_ext
20115 LIBS=$ac_check_lib_save_LIBS
20116 fi
20117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
20118 $as_echo "$ac_cv_lib_m_log10" >&6; }
20119 if test "x$ac_cv_lib_m_log10" = x""yes; then :
20120
20121 $as_echo "#define HAVE_LOG10 1" >>confdefs.h
20122
20123 fi
20124
20125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
20126 $as_echo_n "checking for log10l in -lm... " >&6; }
20127 if test "${ac_cv_lib_m_log10l+set}" = set; then :
20128 $as_echo_n "(cached) " >&6
20129 else
20130 ac_check_lib_save_LIBS=$LIBS
20131 LIBS="-lm $LIBS"
20132 if test x$gcc_no_link = xyes; then
20133 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20134 fi
20135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20136 /* end confdefs.h. */
20137
20138 /* Override any GCC internal prototype to avoid an error.
20139 Use char because int might match the return type of a GCC
20140 builtin and then its argument prototype would still apply. */
20141 #ifdef __cplusplus
20142 extern "C"
20143 #endif
20144 char log10l ();
20145 int
20146 main ()
20147 {
20148 return log10l ();
20149 ;
20150 return 0;
20151 }
20152 _ACEOF
20153 if ac_fn_c_try_link "$LINENO"; then :
20154 ac_cv_lib_m_log10l=yes
20155 else
20156 ac_cv_lib_m_log10l=no
20157 fi
20158 rm -f core conftest.err conftest.$ac_objext \
20159 conftest$ac_exeext conftest.$ac_ext
20160 LIBS=$ac_check_lib_save_LIBS
20161 fi
20162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10l" >&5
20163 $as_echo "$ac_cv_lib_m_log10l" >&6; }
20164 if test "x$ac_cv_lib_m_log10l" = x""yes; then :
20165
20166 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
20167
20168 fi
20169
20170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
20171 $as_echo_n "checking for clog10f in -lm... " >&6; }
20172 if test "${ac_cv_lib_m_clog10f+set}" = set; then :
20173 $as_echo_n "(cached) " >&6
20174 else
20175 ac_check_lib_save_LIBS=$LIBS
20176 LIBS="-lm $LIBS"
20177 if test x$gcc_no_link = xyes; then
20178 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20179 fi
20180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20181 /* end confdefs.h. */
20182
20183 /* Override any GCC internal prototype to avoid an error.
20184 Use char because int might match the return type of a GCC
20185 builtin and then its argument prototype would still apply. */
20186 #ifdef __cplusplus
20187 extern "C"
20188 #endif
20189 char clog10f ();
20190 int
20191 main ()
20192 {
20193 return clog10f ();
20194 ;
20195 return 0;
20196 }
20197 _ACEOF
20198 if ac_fn_c_try_link "$LINENO"; then :
20199 ac_cv_lib_m_clog10f=yes
20200 else
20201 ac_cv_lib_m_clog10f=no
20202 fi
20203 rm -f core conftest.err conftest.$ac_objext \
20204 conftest$ac_exeext conftest.$ac_ext
20205 LIBS=$ac_check_lib_save_LIBS
20206 fi
20207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10f" >&5
20208 $as_echo "$ac_cv_lib_m_clog10f" >&6; }
20209 if test "x$ac_cv_lib_m_clog10f" = x""yes; then :
20210
20211 $as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
20212
20213 fi
20214
20215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
20216 $as_echo_n "checking for clog10 in -lm... " >&6; }
20217 if test "${ac_cv_lib_m_clog10+set}" = set; then :
20218 $as_echo_n "(cached) " >&6
20219 else
20220 ac_check_lib_save_LIBS=$LIBS
20221 LIBS="-lm $LIBS"
20222 if test x$gcc_no_link = xyes; then
20223 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20224 fi
20225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20226 /* end confdefs.h. */
20227
20228 /* Override any GCC internal prototype to avoid an error.
20229 Use char because int might match the return type of a GCC
20230 builtin and then its argument prototype would still apply. */
20231 #ifdef __cplusplus
20232 extern "C"
20233 #endif
20234 char clog10 ();
20235 int
20236 main ()
20237 {
20238 return clog10 ();
20239 ;
20240 return 0;
20241 }
20242 _ACEOF
20243 if ac_fn_c_try_link "$LINENO"; then :
20244 ac_cv_lib_m_clog10=yes
20245 else
20246 ac_cv_lib_m_clog10=no
20247 fi
20248 rm -f core conftest.err conftest.$ac_objext \
20249 conftest$ac_exeext conftest.$ac_ext
20250 LIBS=$ac_check_lib_save_LIBS
20251 fi
20252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10" >&5
20253 $as_echo "$ac_cv_lib_m_clog10" >&6; }
20254 if test "x$ac_cv_lib_m_clog10" = x""yes; then :
20255
20256 $as_echo "#define HAVE_CLOG10 1" >>confdefs.h
20257
20258 fi
20259
20260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
20261 $as_echo_n "checking for clog10l in -lm... " >&6; }
20262 if test "${ac_cv_lib_m_clog10l+set}" = set; then :
20263 $as_echo_n "(cached) " >&6
20264 else
20265 ac_check_lib_save_LIBS=$LIBS
20266 LIBS="-lm $LIBS"
20267 if test x$gcc_no_link = xyes; then
20268 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20269 fi
20270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20271 /* end confdefs.h. */
20272
20273 /* Override any GCC internal prototype to avoid an error.
20274 Use char because int might match the return type of a GCC
20275 builtin and then its argument prototype would still apply. */
20276 #ifdef __cplusplus
20277 extern "C"
20278 #endif
20279 char clog10l ();
20280 int
20281 main ()
20282 {
20283 return clog10l ();
20284 ;
20285 return 0;
20286 }
20287 _ACEOF
20288 if ac_fn_c_try_link "$LINENO"; then :
20289 ac_cv_lib_m_clog10l=yes
20290 else
20291 ac_cv_lib_m_clog10l=no
20292 fi
20293 rm -f core conftest.err conftest.$ac_objext \
20294 conftest$ac_exeext conftest.$ac_ext
20295 LIBS=$ac_check_lib_save_LIBS
20296 fi
20297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10l" >&5
20298 $as_echo "$ac_cv_lib_m_clog10l" >&6; }
20299 if test "x$ac_cv_lib_m_clog10l" = x""yes; then :
20300
20301 $as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
20302
20303 fi
20304
20305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
20306 $as_echo_n "checking for nextafterf in -lm... " >&6; }
20307 if test "${ac_cv_lib_m_nextafterf+set}" = set; then :
20308 $as_echo_n "(cached) " >&6
20309 else
20310 ac_check_lib_save_LIBS=$LIBS
20311 LIBS="-lm $LIBS"
20312 if test x$gcc_no_link = xyes; then
20313 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20314 fi
20315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20316 /* end confdefs.h. */
20317
20318 /* Override any GCC internal prototype to avoid an error.
20319 Use char because int might match the return type of a GCC
20320 builtin and then its argument prototype would still apply. */
20321 #ifdef __cplusplus
20322 extern "C"
20323 #endif
20324 char nextafterf ();
20325 int
20326 main ()
20327 {
20328 return nextafterf ();
20329 ;
20330 return 0;
20331 }
20332 _ACEOF
20333 if ac_fn_c_try_link "$LINENO"; then :
20334 ac_cv_lib_m_nextafterf=yes
20335 else
20336 ac_cv_lib_m_nextafterf=no
20337 fi
20338 rm -f core conftest.err conftest.$ac_objext \
20339 conftest$ac_exeext conftest.$ac_ext
20340 LIBS=$ac_check_lib_save_LIBS
20341 fi
20342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterf" >&5
20343 $as_echo "$ac_cv_lib_m_nextafterf" >&6; }
20344 if test "x$ac_cv_lib_m_nextafterf" = x""yes; then :
20345
20346 $as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
20347
20348 fi
20349
20350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
20351 $as_echo_n "checking for nextafter in -lm... " >&6; }
20352 if test "${ac_cv_lib_m_nextafter+set}" = set; then :
20353 $as_echo_n "(cached) " >&6
20354 else
20355 ac_check_lib_save_LIBS=$LIBS
20356 LIBS="-lm $LIBS"
20357 if test x$gcc_no_link = xyes; then
20358 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20359 fi
20360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20361 /* end confdefs.h. */
20362
20363 /* Override any GCC internal prototype to avoid an error.
20364 Use char because int might match the return type of a GCC
20365 builtin and then its argument prototype would still apply. */
20366 #ifdef __cplusplus
20367 extern "C"
20368 #endif
20369 char nextafter ();
20370 int
20371 main ()
20372 {
20373 return nextafter ();
20374 ;
20375 return 0;
20376 }
20377 _ACEOF
20378 if ac_fn_c_try_link "$LINENO"; then :
20379 ac_cv_lib_m_nextafter=yes
20380 else
20381 ac_cv_lib_m_nextafter=no
20382 fi
20383 rm -f core conftest.err conftest.$ac_objext \
20384 conftest$ac_exeext conftest.$ac_ext
20385 LIBS=$ac_check_lib_save_LIBS
20386 fi
20387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafter" >&5
20388 $as_echo "$ac_cv_lib_m_nextafter" >&6; }
20389 if test "x$ac_cv_lib_m_nextafter" = x""yes; then :
20390
20391 $as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
20392
20393 fi
20394
20395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
20396 $as_echo_n "checking for nextafterl in -lm... " >&6; }
20397 if test "${ac_cv_lib_m_nextafterl+set}" = set; then :
20398 $as_echo_n "(cached) " >&6
20399 else
20400 ac_check_lib_save_LIBS=$LIBS
20401 LIBS="-lm $LIBS"
20402 if test x$gcc_no_link = xyes; then
20403 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20404 fi
20405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20406 /* end confdefs.h. */
20407
20408 /* Override any GCC internal prototype to avoid an error.
20409 Use char because int might match the return type of a GCC
20410 builtin and then its argument prototype would still apply. */
20411 #ifdef __cplusplus
20412 extern "C"
20413 #endif
20414 char nextafterl ();
20415 int
20416 main ()
20417 {
20418 return nextafterl ();
20419 ;
20420 return 0;
20421 }
20422 _ACEOF
20423 if ac_fn_c_try_link "$LINENO"; then :
20424 ac_cv_lib_m_nextafterl=yes
20425 else
20426 ac_cv_lib_m_nextafterl=no
20427 fi
20428 rm -f core conftest.err conftest.$ac_objext \
20429 conftest$ac_exeext conftest.$ac_ext
20430 LIBS=$ac_check_lib_save_LIBS
20431 fi
20432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterl" >&5
20433 $as_echo "$ac_cv_lib_m_nextafterl" >&6; }
20434 if test "x$ac_cv_lib_m_nextafterl" = x""yes; then :
20435
20436 $as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
20437
20438 fi
20439
20440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
20441 $as_echo_n "checking for powf in -lm... " >&6; }
20442 if test "${ac_cv_lib_m_powf+set}" = set; then :
20443 $as_echo_n "(cached) " >&6
20444 else
20445 ac_check_lib_save_LIBS=$LIBS
20446 LIBS="-lm $LIBS"
20447 if test x$gcc_no_link = xyes; then
20448 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20449 fi
20450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20451 /* end confdefs.h. */
20452
20453 /* Override any GCC internal prototype to avoid an error.
20454 Use char because int might match the return type of a GCC
20455 builtin and then its argument prototype would still apply. */
20456 #ifdef __cplusplus
20457 extern "C"
20458 #endif
20459 char powf ();
20460 int
20461 main ()
20462 {
20463 return powf ();
20464 ;
20465 return 0;
20466 }
20467 _ACEOF
20468 if ac_fn_c_try_link "$LINENO"; then :
20469 ac_cv_lib_m_powf=yes
20470 else
20471 ac_cv_lib_m_powf=no
20472 fi
20473 rm -f core conftest.err conftest.$ac_objext \
20474 conftest$ac_exeext conftest.$ac_ext
20475 LIBS=$ac_check_lib_save_LIBS
20476 fi
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powf" >&5
20478 $as_echo "$ac_cv_lib_m_powf" >&6; }
20479 if test "x$ac_cv_lib_m_powf" = x""yes; then :
20480
20481 $as_echo "#define HAVE_POWF 1" >>confdefs.h
20482
20483 fi
20484
20485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
20486 $as_echo_n "checking for pow in -lm... " >&6; }
20487 if test "${ac_cv_lib_m_pow+set}" = set; then :
20488 $as_echo_n "(cached) " >&6
20489 else
20490 ac_check_lib_save_LIBS=$LIBS
20491 LIBS="-lm $LIBS"
20492 if test x$gcc_no_link = xyes; then
20493 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20494 fi
20495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20496 /* end confdefs.h. */
20497
20498 /* Override any GCC internal prototype to avoid an error.
20499 Use char because int might match the return type of a GCC
20500 builtin and then its argument prototype would still apply. */
20501 #ifdef __cplusplus
20502 extern "C"
20503 #endif
20504 char pow ();
20505 int
20506 main ()
20507 {
20508 return pow ();
20509 ;
20510 return 0;
20511 }
20512 _ACEOF
20513 if ac_fn_c_try_link "$LINENO"; then :
20514 ac_cv_lib_m_pow=yes
20515 else
20516 ac_cv_lib_m_pow=no
20517 fi
20518 rm -f core conftest.err conftest.$ac_objext \
20519 conftest$ac_exeext conftest.$ac_ext
20520 LIBS=$ac_check_lib_save_LIBS
20521 fi
20522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
20523 $as_echo "$ac_cv_lib_m_pow" >&6; }
20524 if test "x$ac_cv_lib_m_pow" = x""yes; then :
20525
20526 $as_echo "#define HAVE_POW 1" >>confdefs.h
20527
20528 fi
20529
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
20531 $as_echo_n "checking for powl in -lm... " >&6; }
20532 if test "${ac_cv_lib_m_powl+set}" = set; then :
20533 $as_echo_n "(cached) " >&6
20534 else
20535 ac_check_lib_save_LIBS=$LIBS
20536 LIBS="-lm $LIBS"
20537 if test x$gcc_no_link = xyes; then
20538 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20539 fi
20540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20541 /* end confdefs.h. */
20542
20543 /* Override any GCC internal prototype to avoid an error.
20544 Use char because int might match the return type of a GCC
20545 builtin and then its argument prototype would still apply. */
20546 #ifdef __cplusplus
20547 extern "C"
20548 #endif
20549 char powl ();
20550 int
20551 main ()
20552 {
20553 return powl ();
20554 ;
20555 return 0;
20556 }
20557 _ACEOF
20558 if ac_fn_c_try_link "$LINENO"; then :
20559 ac_cv_lib_m_powl=yes
20560 else
20561 ac_cv_lib_m_powl=no
20562 fi
20563 rm -f core conftest.err conftest.$ac_objext \
20564 conftest$ac_exeext conftest.$ac_ext
20565 LIBS=$ac_check_lib_save_LIBS
20566 fi
20567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powl" >&5
20568 $as_echo "$ac_cv_lib_m_powl" >&6; }
20569 if test "x$ac_cv_lib_m_powl" = x""yes; then :
20570
20571 $as_echo "#define HAVE_POWL 1" >>confdefs.h
20572
20573 fi
20574
20575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
20576 $as_echo_n "checking for cpowf in -lm... " >&6; }
20577 if test "${ac_cv_lib_m_cpowf+set}" = set; then :
20578 $as_echo_n "(cached) " >&6
20579 else
20580 ac_check_lib_save_LIBS=$LIBS
20581 LIBS="-lm $LIBS"
20582 if test x$gcc_no_link = xyes; then
20583 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20584 fi
20585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20586 /* end confdefs.h. */
20587
20588 /* Override any GCC internal prototype to avoid an error.
20589 Use char because int might match the return type of a GCC
20590 builtin and then its argument prototype would still apply. */
20591 #ifdef __cplusplus
20592 extern "C"
20593 #endif
20594 char cpowf ();
20595 int
20596 main ()
20597 {
20598 return cpowf ();
20599 ;
20600 return 0;
20601 }
20602 _ACEOF
20603 if ac_fn_c_try_link "$LINENO"; then :
20604 ac_cv_lib_m_cpowf=yes
20605 else
20606 ac_cv_lib_m_cpowf=no
20607 fi
20608 rm -f core conftest.err conftest.$ac_objext \
20609 conftest$ac_exeext conftest.$ac_ext
20610 LIBS=$ac_check_lib_save_LIBS
20611 fi
20612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowf" >&5
20613 $as_echo "$ac_cv_lib_m_cpowf" >&6; }
20614 if test "x$ac_cv_lib_m_cpowf" = x""yes; then :
20615
20616 $as_echo "#define HAVE_CPOWF 1" >>confdefs.h
20617
20618 fi
20619
20620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
20621 $as_echo_n "checking for cpow in -lm... " >&6; }
20622 if test "${ac_cv_lib_m_cpow+set}" = set; then :
20623 $as_echo_n "(cached) " >&6
20624 else
20625 ac_check_lib_save_LIBS=$LIBS
20626 LIBS="-lm $LIBS"
20627 if test x$gcc_no_link = xyes; then
20628 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20629 fi
20630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20631 /* end confdefs.h. */
20632
20633 /* Override any GCC internal prototype to avoid an error.
20634 Use char because int might match the return type of a GCC
20635 builtin and then its argument prototype would still apply. */
20636 #ifdef __cplusplus
20637 extern "C"
20638 #endif
20639 char cpow ();
20640 int
20641 main ()
20642 {
20643 return cpow ();
20644 ;
20645 return 0;
20646 }
20647 _ACEOF
20648 if ac_fn_c_try_link "$LINENO"; then :
20649 ac_cv_lib_m_cpow=yes
20650 else
20651 ac_cv_lib_m_cpow=no
20652 fi
20653 rm -f core conftest.err conftest.$ac_objext \
20654 conftest$ac_exeext conftest.$ac_ext
20655 LIBS=$ac_check_lib_save_LIBS
20656 fi
20657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpow" >&5
20658 $as_echo "$ac_cv_lib_m_cpow" >&6; }
20659 if test "x$ac_cv_lib_m_cpow" = x""yes; then :
20660
20661 $as_echo "#define HAVE_CPOW 1" >>confdefs.h
20662
20663 fi
20664
20665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
20666 $as_echo_n "checking for cpowl in -lm... " >&6; }
20667 if test "${ac_cv_lib_m_cpowl+set}" = set; then :
20668 $as_echo_n "(cached) " >&6
20669 else
20670 ac_check_lib_save_LIBS=$LIBS
20671 LIBS="-lm $LIBS"
20672 if test x$gcc_no_link = xyes; then
20673 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20674 fi
20675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20676 /* end confdefs.h. */
20677
20678 /* Override any GCC internal prototype to avoid an error.
20679 Use char because int might match the return type of a GCC
20680 builtin and then its argument prototype would still apply. */
20681 #ifdef __cplusplus
20682 extern "C"
20683 #endif
20684 char cpowl ();
20685 int
20686 main ()
20687 {
20688 return cpowl ();
20689 ;
20690 return 0;
20691 }
20692 _ACEOF
20693 if ac_fn_c_try_link "$LINENO"; then :
20694 ac_cv_lib_m_cpowl=yes
20695 else
20696 ac_cv_lib_m_cpowl=no
20697 fi
20698 rm -f core conftest.err conftest.$ac_objext \
20699 conftest$ac_exeext conftest.$ac_ext
20700 LIBS=$ac_check_lib_save_LIBS
20701 fi
20702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowl" >&5
20703 $as_echo "$ac_cv_lib_m_cpowl" >&6; }
20704 if test "x$ac_cv_lib_m_cpowl" = x""yes; then :
20705
20706 $as_echo "#define HAVE_CPOWL 1" >>confdefs.h
20707
20708 fi
20709
20710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
20711 $as_echo_n "checking for roundf in -lm... " >&6; }
20712 if test "${ac_cv_lib_m_roundf+set}" = set; then :
20713 $as_echo_n "(cached) " >&6
20714 else
20715 ac_check_lib_save_LIBS=$LIBS
20716 LIBS="-lm $LIBS"
20717 if test x$gcc_no_link = xyes; then
20718 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20719 fi
20720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20721 /* end confdefs.h. */
20722
20723 /* Override any GCC internal prototype to avoid an error.
20724 Use char because int might match the return type of a GCC
20725 builtin and then its argument prototype would still apply. */
20726 #ifdef __cplusplus
20727 extern "C"
20728 #endif
20729 char roundf ();
20730 int
20731 main ()
20732 {
20733 return roundf ();
20734 ;
20735 return 0;
20736 }
20737 _ACEOF
20738 if ac_fn_c_try_link "$LINENO"; then :
20739 ac_cv_lib_m_roundf=yes
20740 else
20741 ac_cv_lib_m_roundf=no
20742 fi
20743 rm -f core conftest.err conftest.$ac_objext \
20744 conftest$ac_exeext conftest.$ac_ext
20745 LIBS=$ac_check_lib_save_LIBS
20746 fi
20747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
20748 $as_echo "$ac_cv_lib_m_roundf" >&6; }
20749 if test "x$ac_cv_lib_m_roundf" = x""yes; then :
20750
20751 $as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
20752
20753 fi
20754
20755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
20756 $as_echo_n "checking for round in -lm... " >&6; }
20757 if test "${ac_cv_lib_m_round+set}" = set; then :
20758 $as_echo_n "(cached) " >&6
20759 else
20760 ac_check_lib_save_LIBS=$LIBS
20761 LIBS="-lm $LIBS"
20762 if test x$gcc_no_link = xyes; then
20763 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20764 fi
20765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20766 /* end confdefs.h. */
20767
20768 /* Override any GCC internal prototype to avoid an error.
20769 Use char because int might match the return type of a GCC
20770 builtin and then its argument prototype would still apply. */
20771 #ifdef __cplusplus
20772 extern "C"
20773 #endif
20774 char round ();
20775 int
20776 main ()
20777 {
20778 return round ();
20779 ;
20780 return 0;
20781 }
20782 _ACEOF
20783 if ac_fn_c_try_link "$LINENO"; then :
20784 ac_cv_lib_m_round=yes
20785 else
20786 ac_cv_lib_m_round=no
20787 fi
20788 rm -f core conftest.err conftest.$ac_objext \
20789 conftest$ac_exeext conftest.$ac_ext
20790 LIBS=$ac_check_lib_save_LIBS
20791 fi
20792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
20793 $as_echo "$ac_cv_lib_m_round" >&6; }
20794 if test "x$ac_cv_lib_m_round" = x""yes; then :
20795
20796 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
20797
20798 fi
20799
20800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
20801 $as_echo_n "checking for roundl in -lm... " >&6; }
20802 if test "${ac_cv_lib_m_roundl+set}" = set; then :
20803 $as_echo_n "(cached) " >&6
20804 else
20805 ac_check_lib_save_LIBS=$LIBS
20806 LIBS="-lm $LIBS"
20807 if test x$gcc_no_link = xyes; then
20808 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20809 fi
20810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20811 /* end confdefs.h. */
20812
20813 /* Override any GCC internal prototype to avoid an error.
20814 Use char because int might match the return type of a GCC
20815 builtin and then its argument prototype would still apply. */
20816 #ifdef __cplusplus
20817 extern "C"
20818 #endif
20819 char roundl ();
20820 int
20821 main ()
20822 {
20823 return roundl ();
20824 ;
20825 return 0;
20826 }
20827 _ACEOF
20828 if ac_fn_c_try_link "$LINENO"; then :
20829 ac_cv_lib_m_roundl=yes
20830 else
20831 ac_cv_lib_m_roundl=no
20832 fi
20833 rm -f core conftest.err conftest.$ac_objext \
20834 conftest$ac_exeext conftest.$ac_ext
20835 LIBS=$ac_check_lib_save_LIBS
20836 fi
20837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundl" >&5
20838 $as_echo "$ac_cv_lib_m_roundl" >&6; }
20839 if test "x$ac_cv_lib_m_roundl" = x""yes; then :
20840
20841 $as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20842
20843 fi
20844
20845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20846 $as_echo_n "checking for lroundf in -lm... " >&6; }
20847 if test "${ac_cv_lib_m_lroundf+set}" = set; then :
20848 $as_echo_n "(cached) " >&6
20849 else
20850 ac_check_lib_save_LIBS=$LIBS
20851 LIBS="-lm $LIBS"
20852 if test x$gcc_no_link = xyes; then
20853 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20854 fi
20855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20856 /* end confdefs.h. */
20857
20858 /* Override any GCC internal prototype to avoid an error.
20859 Use char because int might match the return type of a GCC
20860 builtin and then its argument prototype would still apply. */
20861 #ifdef __cplusplus
20862 extern "C"
20863 #endif
20864 char lroundf ();
20865 int
20866 main ()
20867 {
20868 return lroundf ();
20869 ;
20870 return 0;
20871 }
20872 _ACEOF
20873 if ac_fn_c_try_link "$LINENO"; then :
20874 ac_cv_lib_m_lroundf=yes
20875 else
20876 ac_cv_lib_m_lroundf=no
20877 fi
20878 rm -f core conftest.err conftest.$ac_objext \
20879 conftest$ac_exeext conftest.$ac_ext
20880 LIBS=$ac_check_lib_save_LIBS
20881 fi
20882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5
20883 $as_echo "$ac_cv_lib_m_lroundf" >&6; }
20884 if test "x$ac_cv_lib_m_lroundf" = x""yes; then :
20885
20886 $as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20887
20888 fi
20889
20890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20891 $as_echo_n "checking for lround in -lm... " >&6; }
20892 if test "${ac_cv_lib_m_lround+set}" = set; then :
20893 $as_echo_n "(cached) " >&6
20894 else
20895 ac_check_lib_save_LIBS=$LIBS
20896 LIBS="-lm $LIBS"
20897 if test x$gcc_no_link = xyes; then
20898 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20899 fi
20900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20901 /* end confdefs.h. */
20902
20903 /* Override any GCC internal prototype to avoid an error.
20904 Use char because int might match the return type of a GCC
20905 builtin and then its argument prototype would still apply. */
20906 #ifdef __cplusplus
20907 extern "C"
20908 #endif
20909 char lround ();
20910 int
20911 main ()
20912 {
20913 return lround ();
20914 ;
20915 return 0;
20916 }
20917 _ACEOF
20918 if ac_fn_c_try_link "$LINENO"; then :
20919 ac_cv_lib_m_lround=yes
20920 else
20921 ac_cv_lib_m_lround=no
20922 fi
20923 rm -f core conftest.err conftest.$ac_objext \
20924 conftest$ac_exeext conftest.$ac_ext
20925 LIBS=$ac_check_lib_save_LIBS
20926 fi
20927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20928 $as_echo "$ac_cv_lib_m_lround" >&6; }
20929 if test "x$ac_cv_lib_m_lround" = x""yes; then :
20930
20931 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20932
20933 fi
20934
20935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20936 $as_echo_n "checking for lroundl in -lm... " >&6; }
20937 if test "${ac_cv_lib_m_lroundl+set}" = set; then :
20938 $as_echo_n "(cached) " >&6
20939 else
20940 ac_check_lib_save_LIBS=$LIBS
20941 LIBS="-lm $LIBS"
20942 if test x$gcc_no_link = xyes; then
20943 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20944 fi
20945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20946 /* end confdefs.h. */
20947
20948 /* Override any GCC internal prototype to avoid an error.
20949 Use char because int might match the return type of a GCC
20950 builtin and then its argument prototype would still apply. */
20951 #ifdef __cplusplus
20952 extern "C"
20953 #endif
20954 char lroundl ();
20955 int
20956 main ()
20957 {
20958 return lroundl ();
20959 ;
20960 return 0;
20961 }
20962 _ACEOF
20963 if ac_fn_c_try_link "$LINENO"; then :
20964 ac_cv_lib_m_lroundl=yes
20965 else
20966 ac_cv_lib_m_lroundl=no
20967 fi
20968 rm -f core conftest.err conftest.$ac_objext \
20969 conftest$ac_exeext conftest.$ac_ext
20970 LIBS=$ac_check_lib_save_LIBS
20971 fi
20972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundl" >&5
20973 $as_echo "$ac_cv_lib_m_lroundl" >&6; }
20974 if test "x$ac_cv_lib_m_lroundl" = x""yes; then :
20975
20976 $as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20977
20978 fi
20979
20980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20981 $as_echo_n "checking for llroundf in -lm... " >&6; }
20982 if test "${ac_cv_lib_m_llroundf+set}" = set; then :
20983 $as_echo_n "(cached) " >&6
20984 else
20985 ac_check_lib_save_LIBS=$LIBS
20986 LIBS="-lm $LIBS"
20987 if test x$gcc_no_link = xyes; then
20988 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20989 fi
20990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20991 /* end confdefs.h. */
20992
20993 /* Override any GCC internal prototype to avoid an error.
20994 Use char because int might match the return type of a GCC
20995 builtin and then its argument prototype would still apply. */
20996 #ifdef __cplusplus
20997 extern "C"
20998 #endif
20999 char llroundf ();
21000 int
21001 main ()
21002 {
21003 return llroundf ();
21004 ;
21005 return 0;
21006 }
21007 _ACEOF
21008 if ac_fn_c_try_link "$LINENO"; then :
21009 ac_cv_lib_m_llroundf=yes
21010 else
21011 ac_cv_lib_m_llroundf=no
21012 fi
21013 rm -f core conftest.err conftest.$ac_objext \
21014 conftest$ac_exeext conftest.$ac_ext
21015 LIBS=$ac_check_lib_save_LIBS
21016 fi
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundf" >&5
21018 $as_echo "$ac_cv_lib_m_llroundf" >&6; }
21019 if test "x$ac_cv_lib_m_llroundf" = x""yes; then :
21020
21021 $as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
21022
21023 fi
21024
21025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
21026 $as_echo_n "checking for llround in -lm... " >&6; }
21027 if test "${ac_cv_lib_m_llround+set}" = set; then :
21028 $as_echo_n "(cached) " >&6
21029 else
21030 ac_check_lib_save_LIBS=$LIBS
21031 LIBS="-lm $LIBS"
21032 if test x$gcc_no_link = xyes; then
21033 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21034 fi
21035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21036 /* end confdefs.h. */
21037
21038 /* Override any GCC internal prototype to avoid an error.
21039 Use char because int might match the return type of a GCC
21040 builtin and then its argument prototype would still apply. */
21041 #ifdef __cplusplus
21042 extern "C"
21043 #endif
21044 char llround ();
21045 int
21046 main ()
21047 {
21048 return llround ();
21049 ;
21050 return 0;
21051 }
21052 _ACEOF
21053 if ac_fn_c_try_link "$LINENO"; then :
21054 ac_cv_lib_m_llround=yes
21055 else
21056 ac_cv_lib_m_llround=no
21057 fi
21058 rm -f core conftest.err conftest.$ac_objext \
21059 conftest$ac_exeext conftest.$ac_ext
21060 LIBS=$ac_check_lib_save_LIBS
21061 fi
21062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llround" >&5
21063 $as_echo "$ac_cv_lib_m_llround" >&6; }
21064 if test "x$ac_cv_lib_m_llround" = x""yes; then :
21065
21066 $as_echo "#define HAVE_LLROUND 1" >>confdefs.h
21067
21068 fi
21069
21070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
21071 $as_echo_n "checking for llroundl in -lm... " >&6; }
21072 if test "${ac_cv_lib_m_llroundl+set}" = set; then :
21073 $as_echo_n "(cached) " >&6
21074 else
21075 ac_check_lib_save_LIBS=$LIBS
21076 LIBS="-lm $LIBS"
21077 if test x$gcc_no_link = xyes; then
21078 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21079 fi
21080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21081 /* end confdefs.h. */
21082
21083 /* Override any GCC internal prototype to avoid an error.
21084 Use char because int might match the return type of a GCC
21085 builtin and then its argument prototype would still apply. */
21086 #ifdef __cplusplus
21087 extern "C"
21088 #endif
21089 char llroundl ();
21090 int
21091 main ()
21092 {
21093 return llroundl ();
21094 ;
21095 return 0;
21096 }
21097 _ACEOF
21098 if ac_fn_c_try_link "$LINENO"; then :
21099 ac_cv_lib_m_llroundl=yes
21100 else
21101 ac_cv_lib_m_llroundl=no
21102 fi
21103 rm -f core conftest.err conftest.$ac_objext \
21104 conftest$ac_exeext conftest.$ac_ext
21105 LIBS=$ac_check_lib_save_LIBS
21106 fi
21107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundl" >&5
21108 $as_echo "$ac_cv_lib_m_llroundl" >&6; }
21109 if test "x$ac_cv_lib_m_llroundl" = x""yes; then :
21110
21111 $as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
21112
21113 fi
21114
21115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
21116 $as_echo_n "checking for scalbnf in -lm... " >&6; }
21117 if test "${ac_cv_lib_m_scalbnf+set}" = set; then :
21118 $as_echo_n "(cached) " >&6
21119 else
21120 ac_check_lib_save_LIBS=$LIBS
21121 LIBS="-lm $LIBS"
21122 if test x$gcc_no_link = xyes; then
21123 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21124 fi
21125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21126 /* end confdefs.h. */
21127
21128 /* Override any GCC internal prototype to avoid an error.
21129 Use char because int might match the return type of a GCC
21130 builtin and then its argument prototype would still apply. */
21131 #ifdef __cplusplus
21132 extern "C"
21133 #endif
21134 char scalbnf ();
21135 int
21136 main ()
21137 {
21138 return scalbnf ();
21139 ;
21140 return 0;
21141 }
21142 _ACEOF
21143 if ac_fn_c_try_link "$LINENO"; then :
21144 ac_cv_lib_m_scalbnf=yes
21145 else
21146 ac_cv_lib_m_scalbnf=no
21147 fi
21148 rm -f core conftest.err conftest.$ac_objext \
21149 conftest$ac_exeext conftest.$ac_ext
21150 LIBS=$ac_check_lib_save_LIBS
21151 fi
21152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnf" >&5
21153 $as_echo "$ac_cv_lib_m_scalbnf" >&6; }
21154 if test "x$ac_cv_lib_m_scalbnf" = x""yes; then :
21155
21156 $as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
21157
21158 fi
21159
21160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
21161 $as_echo_n "checking for scalbn in -lm... " >&6; }
21162 if test "${ac_cv_lib_m_scalbn+set}" = set; then :
21163 $as_echo_n "(cached) " >&6
21164 else
21165 ac_check_lib_save_LIBS=$LIBS
21166 LIBS="-lm $LIBS"
21167 if test x$gcc_no_link = xyes; then
21168 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21169 fi
21170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21171 /* end confdefs.h. */
21172
21173 /* Override any GCC internal prototype to avoid an error.
21174 Use char because int might match the return type of a GCC
21175 builtin and then its argument prototype would still apply. */
21176 #ifdef __cplusplus
21177 extern "C"
21178 #endif
21179 char scalbn ();
21180 int
21181 main ()
21182 {
21183 return scalbn ();
21184 ;
21185 return 0;
21186 }
21187 _ACEOF
21188 if ac_fn_c_try_link "$LINENO"; then :
21189 ac_cv_lib_m_scalbn=yes
21190 else
21191 ac_cv_lib_m_scalbn=no
21192 fi
21193 rm -f core conftest.err conftest.$ac_objext \
21194 conftest$ac_exeext conftest.$ac_ext
21195 LIBS=$ac_check_lib_save_LIBS
21196 fi
21197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbn" >&5
21198 $as_echo "$ac_cv_lib_m_scalbn" >&6; }
21199 if test "x$ac_cv_lib_m_scalbn" = x""yes; then :
21200
21201 $as_echo "#define HAVE_SCALBN 1" >>confdefs.h
21202
21203 fi
21204
21205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
21206 $as_echo_n "checking for scalbnl in -lm... " >&6; }
21207 if test "${ac_cv_lib_m_scalbnl+set}" = set; then :
21208 $as_echo_n "(cached) " >&6
21209 else
21210 ac_check_lib_save_LIBS=$LIBS
21211 LIBS="-lm $LIBS"
21212 if test x$gcc_no_link = xyes; then
21213 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21214 fi
21215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21216 /* end confdefs.h. */
21217
21218 /* Override any GCC internal prototype to avoid an error.
21219 Use char because int might match the return type of a GCC
21220 builtin and then its argument prototype would still apply. */
21221 #ifdef __cplusplus
21222 extern "C"
21223 #endif
21224 char scalbnl ();
21225 int
21226 main ()
21227 {
21228 return scalbnl ();
21229 ;
21230 return 0;
21231 }
21232 _ACEOF
21233 if ac_fn_c_try_link "$LINENO"; then :
21234 ac_cv_lib_m_scalbnl=yes
21235 else
21236 ac_cv_lib_m_scalbnl=no
21237 fi
21238 rm -f core conftest.err conftest.$ac_objext \
21239 conftest$ac_exeext conftest.$ac_ext
21240 LIBS=$ac_check_lib_save_LIBS
21241 fi
21242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnl" >&5
21243 $as_echo "$ac_cv_lib_m_scalbnl" >&6; }
21244 if test "x$ac_cv_lib_m_scalbnl" = x""yes; then :
21245
21246 $as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
21247
21248 fi
21249
21250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
21251 $as_echo_n "checking for sinf in -lm... " >&6; }
21252 if test "${ac_cv_lib_m_sinf+set}" = set; then :
21253 $as_echo_n "(cached) " >&6
21254 else
21255 ac_check_lib_save_LIBS=$LIBS
21256 LIBS="-lm $LIBS"
21257 if test x$gcc_no_link = xyes; then
21258 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21259 fi
21260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21261 /* end confdefs.h. */
21262
21263 /* Override any GCC internal prototype to avoid an error.
21264 Use char because int might match the return type of a GCC
21265 builtin and then its argument prototype would still apply. */
21266 #ifdef __cplusplus
21267 extern "C"
21268 #endif
21269 char sinf ();
21270 int
21271 main ()
21272 {
21273 return sinf ();
21274 ;
21275 return 0;
21276 }
21277 _ACEOF
21278 if ac_fn_c_try_link "$LINENO"; then :
21279 ac_cv_lib_m_sinf=yes
21280 else
21281 ac_cv_lib_m_sinf=no
21282 fi
21283 rm -f core conftest.err conftest.$ac_objext \
21284 conftest$ac_exeext conftest.$ac_ext
21285 LIBS=$ac_check_lib_save_LIBS
21286 fi
21287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
21288 $as_echo "$ac_cv_lib_m_sinf" >&6; }
21289 if test "x$ac_cv_lib_m_sinf" = x""yes; then :
21290
21291 $as_echo "#define HAVE_SINF 1" >>confdefs.h
21292
21293 fi
21294
21295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21296 $as_echo_n "checking for sin in -lm... " >&6; }
21297 if test "${ac_cv_lib_m_sin+set}" = set; then :
21298 $as_echo_n "(cached) " >&6
21299 else
21300 ac_check_lib_save_LIBS=$LIBS
21301 LIBS="-lm $LIBS"
21302 if test x$gcc_no_link = xyes; then
21303 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21304 fi
21305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21306 /* end confdefs.h. */
21307
21308 /* Override any GCC internal prototype to avoid an error.
21309 Use char because int might match the return type of a GCC
21310 builtin and then its argument prototype would still apply. */
21311 #ifdef __cplusplus
21312 extern "C"
21313 #endif
21314 char sin ();
21315 int
21316 main ()
21317 {
21318 return sin ();
21319 ;
21320 return 0;
21321 }
21322 _ACEOF
21323 if ac_fn_c_try_link "$LINENO"; then :
21324 ac_cv_lib_m_sin=yes
21325 else
21326 ac_cv_lib_m_sin=no
21327 fi
21328 rm -f core conftest.err conftest.$ac_objext \
21329 conftest$ac_exeext conftest.$ac_ext
21330 LIBS=$ac_check_lib_save_LIBS
21331 fi
21332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21333 $as_echo "$ac_cv_lib_m_sin" >&6; }
21334 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21335
21336 $as_echo "#define HAVE_SIN 1" >>confdefs.h
21337
21338 fi
21339
21340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
21341 $as_echo_n "checking for sinl in -lm... " >&6; }
21342 if test "${ac_cv_lib_m_sinl+set}" = set; then :
21343 $as_echo_n "(cached) " >&6
21344 else
21345 ac_check_lib_save_LIBS=$LIBS
21346 LIBS="-lm $LIBS"
21347 if test x$gcc_no_link = xyes; then
21348 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21349 fi
21350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21351 /* end confdefs.h. */
21352
21353 /* Override any GCC internal prototype to avoid an error.
21354 Use char because int might match the return type of a GCC
21355 builtin and then its argument prototype would still apply. */
21356 #ifdef __cplusplus
21357 extern "C"
21358 #endif
21359 char sinl ();
21360 int
21361 main ()
21362 {
21363 return sinl ();
21364 ;
21365 return 0;
21366 }
21367 _ACEOF
21368 if ac_fn_c_try_link "$LINENO"; then :
21369 ac_cv_lib_m_sinl=yes
21370 else
21371 ac_cv_lib_m_sinl=no
21372 fi
21373 rm -f core conftest.err conftest.$ac_objext \
21374 conftest$ac_exeext conftest.$ac_ext
21375 LIBS=$ac_check_lib_save_LIBS
21376 fi
21377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinl" >&5
21378 $as_echo "$ac_cv_lib_m_sinl" >&6; }
21379 if test "x$ac_cv_lib_m_sinl" = x""yes; then :
21380
21381 $as_echo "#define HAVE_SINL 1" >>confdefs.h
21382
21383 fi
21384
21385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
21386 $as_echo_n "checking for csinf in -lm... " >&6; }
21387 if test "${ac_cv_lib_m_csinf+set}" = set; then :
21388 $as_echo_n "(cached) " >&6
21389 else
21390 ac_check_lib_save_LIBS=$LIBS
21391 LIBS="-lm $LIBS"
21392 if test x$gcc_no_link = xyes; then
21393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21394 fi
21395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21396 /* end confdefs.h. */
21397
21398 /* Override any GCC internal prototype to avoid an error.
21399 Use char because int might match the return type of a GCC
21400 builtin and then its argument prototype would still apply. */
21401 #ifdef __cplusplus
21402 extern "C"
21403 #endif
21404 char csinf ();
21405 int
21406 main ()
21407 {
21408 return csinf ();
21409 ;
21410 return 0;
21411 }
21412 _ACEOF
21413 if ac_fn_c_try_link "$LINENO"; then :
21414 ac_cv_lib_m_csinf=yes
21415 else
21416 ac_cv_lib_m_csinf=no
21417 fi
21418 rm -f core conftest.err conftest.$ac_objext \
21419 conftest$ac_exeext conftest.$ac_ext
21420 LIBS=$ac_check_lib_save_LIBS
21421 fi
21422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinf" >&5
21423 $as_echo "$ac_cv_lib_m_csinf" >&6; }
21424 if test "x$ac_cv_lib_m_csinf" = x""yes; then :
21425
21426 $as_echo "#define HAVE_CSINF 1" >>confdefs.h
21427
21428 fi
21429
21430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
21431 $as_echo_n "checking for csin in -lm... " >&6; }
21432 if test "${ac_cv_lib_m_csin+set}" = set; then :
21433 $as_echo_n "(cached) " >&6
21434 else
21435 ac_check_lib_save_LIBS=$LIBS
21436 LIBS="-lm $LIBS"
21437 if test x$gcc_no_link = xyes; then
21438 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21439 fi
21440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21441 /* end confdefs.h. */
21442
21443 /* Override any GCC internal prototype to avoid an error.
21444 Use char because int might match the return type of a GCC
21445 builtin and then its argument prototype would still apply. */
21446 #ifdef __cplusplus
21447 extern "C"
21448 #endif
21449 char csin ();
21450 int
21451 main ()
21452 {
21453 return csin ();
21454 ;
21455 return 0;
21456 }
21457 _ACEOF
21458 if ac_fn_c_try_link "$LINENO"; then :
21459 ac_cv_lib_m_csin=yes
21460 else
21461 ac_cv_lib_m_csin=no
21462 fi
21463 rm -f core conftest.err conftest.$ac_objext \
21464 conftest$ac_exeext conftest.$ac_ext
21465 LIBS=$ac_check_lib_save_LIBS
21466 fi
21467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csin" >&5
21468 $as_echo "$ac_cv_lib_m_csin" >&6; }
21469 if test "x$ac_cv_lib_m_csin" = x""yes; then :
21470
21471 $as_echo "#define HAVE_CSIN 1" >>confdefs.h
21472
21473 fi
21474
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
21476 $as_echo_n "checking for csinl in -lm... " >&6; }
21477 if test "${ac_cv_lib_m_csinl+set}" = set; then :
21478 $as_echo_n "(cached) " >&6
21479 else
21480 ac_check_lib_save_LIBS=$LIBS
21481 LIBS="-lm $LIBS"
21482 if test x$gcc_no_link = xyes; then
21483 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21484 fi
21485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21486 /* end confdefs.h. */
21487
21488 /* Override any GCC internal prototype to avoid an error.
21489 Use char because int might match the return type of a GCC
21490 builtin and then its argument prototype would still apply. */
21491 #ifdef __cplusplus
21492 extern "C"
21493 #endif
21494 char csinl ();
21495 int
21496 main ()
21497 {
21498 return csinl ();
21499 ;
21500 return 0;
21501 }
21502 _ACEOF
21503 if ac_fn_c_try_link "$LINENO"; then :
21504 ac_cv_lib_m_csinl=yes
21505 else
21506 ac_cv_lib_m_csinl=no
21507 fi
21508 rm -f core conftest.err conftest.$ac_objext \
21509 conftest$ac_exeext conftest.$ac_ext
21510 LIBS=$ac_check_lib_save_LIBS
21511 fi
21512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinl" >&5
21513 $as_echo "$ac_cv_lib_m_csinl" >&6; }
21514 if test "x$ac_cv_lib_m_csinl" = x""yes; then :
21515
21516 $as_echo "#define HAVE_CSINL 1" >>confdefs.h
21517
21518 fi
21519
21520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
21521 $as_echo_n "checking for sinhf in -lm... " >&6; }
21522 if test "${ac_cv_lib_m_sinhf+set}" = set; then :
21523 $as_echo_n "(cached) " >&6
21524 else
21525 ac_check_lib_save_LIBS=$LIBS
21526 LIBS="-lm $LIBS"
21527 if test x$gcc_no_link = xyes; then
21528 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21529 fi
21530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21531 /* end confdefs.h. */
21532
21533 /* Override any GCC internal prototype to avoid an error.
21534 Use char because int might match the return type of a GCC
21535 builtin and then its argument prototype would still apply. */
21536 #ifdef __cplusplus
21537 extern "C"
21538 #endif
21539 char sinhf ();
21540 int
21541 main ()
21542 {
21543 return sinhf ();
21544 ;
21545 return 0;
21546 }
21547 _ACEOF
21548 if ac_fn_c_try_link "$LINENO"; then :
21549 ac_cv_lib_m_sinhf=yes
21550 else
21551 ac_cv_lib_m_sinhf=no
21552 fi
21553 rm -f core conftest.err conftest.$ac_objext \
21554 conftest$ac_exeext conftest.$ac_ext
21555 LIBS=$ac_check_lib_save_LIBS
21556 fi
21557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhf" >&5
21558 $as_echo "$ac_cv_lib_m_sinhf" >&6; }
21559 if test "x$ac_cv_lib_m_sinhf" = x""yes; then :
21560
21561 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
21562
21563 fi
21564
21565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
21566 $as_echo_n "checking for sinh in -lm... " >&6; }
21567 if test "${ac_cv_lib_m_sinh+set}" = set; then :
21568 $as_echo_n "(cached) " >&6
21569 else
21570 ac_check_lib_save_LIBS=$LIBS
21571 LIBS="-lm $LIBS"
21572 if test x$gcc_no_link = xyes; then
21573 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21574 fi
21575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21576 /* end confdefs.h. */
21577
21578 /* Override any GCC internal prototype to avoid an error.
21579 Use char because int might match the return type of a GCC
21580 builtin and then its argument prototype would still apply. */
21581 #ifdef __cplusplus
21582 extern "C"
21583 #endif
21584 char sinh ();
21585 int
21586 main ()
21587 {
21588 return sinh ();
21589 ;
21590 return 0;
21591 }
21592 _ACEOF
21593 if ac_fn_c_try_link "$LINENO"; then :
21594 ac_cv_lib_m_sinh=yes
21595 else
21596 ac_cv_lib_m_sinh=no
21597 fi
21598 rm -f core conftest.err conftest.$ac_objext \
21599 conftest$ac_exeext conftest.$ac_ext
21600 LIBS=$ac_check_lib_save_LIBS
21601 fi
21602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinh" >&5
21603 $as_echo "$ac_cv_lib_m_sinh" >&6; }
21604 if test "x$ac_cv_lib_m_sinh" = x""yes; then :
21605
21606 $as_echo "#define HAVE_SINH 1" >>confdefs.h
21607
21608 fi
21609
21610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
21611 $as_echo_n "checking for sinhl in -lm... " >&6; }
21612 if test "${ac_cv_lib_m_sinhl+set}" = set; then :
21613 $as_echo_n "(cached) " >&6
21614 else
21615 ac_check_lib_save_LIBS=$LIBS
21616 LIBS="-lm $LIBS"
21617 if test x$gcc_no_link = xyes; then
21618 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21619 fi
21620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21621 /* end confdefs.h. */
21622
21623 /* Override any GCC internal prototype to avoid an error.
21624 Use char because int might match the return type of a GCC
21625 builtin and then its argument prototype would still apply. */
21626 #ifdef __cplusplus
21627 extern "C"
21628 #endif
21629 char sinhl ();
21630 int
21631 main ()
21632 {
21633 return sinhl ();
21634 ;
21635 return 0;
21636 }
21637 _ACEOF
21638 if ac_fn_c_try_link "$LINENO"; then :
21639 ac_cv_lib_m_sinhl=yes
21640 else
21641 ac_cv_lib_m_sinhl=no
21642 fi
21643 rm -f core conftest.err conftest.$ac_objext \
21644 conftest$ac_exeext conftest.$ac_ext
21645 LIBS=$ac_check_lib_save_LIBS
21646 fi
21647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhl" >&5
21648 $as_echo "$ac_cv_lib_m_sinhl" >&6; }
21649 if test "x$ac_cv_lib_m_sinhl" = x""yes; then :
21650
21651 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
21652
21653 fi
21654
21655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
21656 $as_echo_n "checking for csinhf in -lm... " >&6; }
21657 if test "${ac_cv_lib_m_csinhf+set}" = set; then :
21658 $as_echo_n "(cached) " >&6
21659 else
21660 ac_check_lib_save_LIBS=$LIBS
21661 LIBS="-lm $LIBS"
21662 if test x$gcc_no_link = xyes; then
21663 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21664 fi
21665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21666 /* end confdefs.h. */
21667
21668 /* Override any GCC internal prototype to avoid an error.
21669 Use char because int might match the return type of a GCC
21670 builtin and then its argument prototype would still apply. */
21671 #ifdef __cplusplus
21672 extern "C"
21673 #endif
21674 char csinhf ();
21675 int
21676 main ()
21677 {
21678 return csinhf ();
21679 ;
21680 return 0;
21681 }
21682 _ACEOF
21683 if ac_fn_c_try_link "$LINENO"; then :
21684 ac_cv_lib_m_csinhf=yes
21685 else
21686 ac_cv_lib_m_csinhf=no
21687 fi
21688 rm -f core conftest.err conftest.$ac_objext \
21689 conftest$ac_exeext conftest.$ac_ext
21690 LIBS=$ac_check_lib_save_LIBS
21691 fi
21692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhf" >&5
21693 $as_echo "$ac_cv_lib_m_csinhf" >&6; }
21694 if test "x$ac_cv_lib_m_csinhf" = x""yes; then :
21695
21696 $as_echo "#define HAVE_CSINHF 1" >>confdefs.h
21697
21698 fi
21699
21700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
21701 $as_echo_n "checking for csinh in -lm... " >&6; }
21702 if test "${ac_cv_lib_m_csinh+set}" = set; then :
21703 $as_echo_n "(cached) " >&6
21704 else
21705 ac_check_lib_save_LIBS=$LIBS
21706 LIBS="-lm $LIBS"
21707 if test x$gcc_no_link = xyes; then
21708 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21709 fi
21710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21711 /* end confdefs.h. */
21712
21713 /* Override any GCC internal prototype to avoid an error.
21714 Use char because int might match the return type of a GCC
21715 builtin and then its argument prototype would still apply. */
21716 #ifdef __cplusplus
21717 extern "C"
21718 #endif
21719 char csinh ();
21720 int
21721 main ()
21722 {
21723 return csinh ();
21724 ;
21725 return 0;
21726 }
21727 _ACEOF
21728 if ac_fn_c_try_link "$LINENO"; then :
21729 ac_cv_lib_m_csinh=yes
21730 else
21731 ac_cv_lib_m_csinh=no
21732 fi
21733 rm -f core conftest.err conftest.$ac_objext \
21734 conftest$ac_exeext conftest.$ac_ext
21735 LIBS=$ac_check_lib_save_LIBS
21736 fi
21737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinh" >&5
21738 $as_echo "$ac_cv_lib_m_csinh" >&6; }
21739 if test "x$ac_cv_lib_m_csinh" = x""yes; then :
21740
21741 $as_echo "#define HAVE_CSINH 1" >>confdefs.h
21742
21743 fi
21744
21745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
21746 $as_echo_n "checking for csinhl in -lm... " >&6; }
21747 if test "${ac_cv_lib_m_csinhl+set}" = set; then :
21748 $as_echo_n "(cached) " >&6
21749 else
21750 ac_check_lib_save_LIBS=$LIBS
21751 LIBS="-lm $LIBS"
21752 if test x$gcc_no_link = xyes; then
21753 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21754 fi
21755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21756 /* end confdefs.h. */
21757
21758 /* Override any GCC internal prototype to avoid an error.
21759 Use char because int might match the return type of a GCC
21760 builtin and then its argument prototype would still apply. */
21761 #ifdef __cplusplus
21762 extern "C"
21763 #endif
21764 char csinhl ();
21765 int
21766 main ()
21767 {
21768 return csinhl ();
21769 ;
21770 return 0;
21771 }
21772 _ACEOF
21773 if ac_fn_c_try_link "$LINENO"; then :
21774 ac_cv_lib_m_csinhl=yes
21775 else
21776 ac_cv_lib_m_csinhl=no
21777 fi
21778 rm -f core conftest.err conftest.$ac_objext \
21779 conftest$ac_exeext conftest.$ac_ext
21780 LIBS=$ac_check_lib_save_LIBS
21781 fi
21782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhl" >&5
21783 $as_echo "$ac_cv_lib_m_csinhl" >&6; }
21784 if test "x$ac_cv_lib_m_csinhl" = x""yes; then :
21785
21786 $as_echo "#define HAVE_CSINHL 1" >>confdefs.h
21787
21788 fi
21789
21790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
21791 $as_echo_n "checking for sqrtf in -lm... " >&6; }
21792 if test "${ac_cv_lib_m_sqrtf+set}" = set; then :
21793 $as_echo_n "(cached) " >&6
21794 else
21795 ac_check_lib_save_LIBS=$LIBS
21796 LIBS="-lm $LIBS"
21797 if test x$gcc_no_link = xyes; then
21798 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21799 fi
21800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21801 /* end confdefs.h. */
21802
21803 /* Override any GCC internal prototype to avoid an error.
21804 Use char because int might match the return type of a GCC
21805 builtin and then its argument prototype would still apply. */
21806 #ifdef __cplusplus
21807 extern "C"
21808 #endif
21809 char sqrtf ();
21810 int
21811 main ()
21812 {
21813 return sqrtf ();
21814 ;
21815 return 0;
21816 }
21817 _ACEOF
21818 if ac_fn_c_try_link "$LINENO"; then :
21819 ac_cv_lib_m_sqrtf=yes
21820 else
21821 ac_cv_lib_m_sqrtf=no
21822 fi
21823 rm -f core conftest.err conftest.$ac_objext \
21824 conftest$ac_exeext conftest.$ac_ext
21825 LIBS=$ac_check_lib_save_LIBS
21826 fi
21827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
21828 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
21829 if test "x$ac_cv_lib_m_sqrtf" = x""yes; then :
21830
21831 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21832
21833 fi
21834
21835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21836 $as_echo_n "checking for sqrt in -lm... " >&6; }
21837 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
21838 $as_echo_n "(cached) " >&6
21839 else
21840 ac_check_lib_save_LIBS=$LIBS
21841 LIBS="-lm $LIBS"
21842 if test x$gcc_no_link = xyes; then
21843 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21844 fi
21845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21846 /* end confdefs.h. */
21847
21848 /* Override any GCC internal prototype to avoid an error.
21849 Use char because int might match the return type of a GCC
21850 builtin and then its argument prototype would still apply. */
21851 #ifdef __cplusplus
21852 extern "C"
21853 #endif
21854 char sqrt ();
21855 int
21856 main ()
21857 {
21858 return sqrt ();
21859 ;
21860 return 0;
21861 }
21862 _ACEOF
21863 if ac_fn_c_try_link "$LINENO"; then :
21864 ac_cv_lib_m_sqrt=yes
21865 else
21866 ac_cv_lib_m_sqrt=no
21867 fi
21868 rm -f core conftest.err conftest.$ac_objext \
21869 conftest$ac_exeext conftest.$ac_ext
21870 LIBS=$ac_check_lib_save_LIBS
21871 fi
21872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
21873 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
21874 if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
21875
21876 $as_echo "#define HAVE_SQRT 1" >>confdefs.h
21877
21878 fi
21879
21880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21881 $as_echo_n "checking for sqrtl in -lm... " >&6; }
21882 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
21883 $as_echo_n "(cached) " >&6
21884 else
21885 ac_check_lib_save_LIBS=$LIBS
21886 LIBS="-lm $LIBS"
21887 if test x$gcc_no_link = xyes; then
21888 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21889 fi
21890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21891 /* end confdefs.h. */
21892
21893 /* Override any GCC internal prototype to avoid an error.
21894 Use char because int might match the return type of a GCC
21895 builtin and then its argument prototype would still apply. */
21896 #ifdef __cplusplus
21897 extern "C"
21898 #endif
21899 char sqrtl ();
21900 int
21901 main ()
21902 {
21903 return sqrtl ();
21904 ;
21905 return 0;
21906 }
21907 _ACEOF
21908 if ac_fn_c_try_link "$LINENO"; then :
21909 ac_cv_lib_m_sqrtl=yes
21910 else
21911 ac_cv_lib_m_sqrtl=no
21912 fi
21913 rm -f core conftest.err conftest.$ac_objext \
21914 conftest$ac_exeext conftest.$ac_ext
21915 LIBS=$ac_check_lib_save_LIBS
21916 fi
21917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
21918 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21919 if test "x$ac_cv_lib_m_sqrtl" = x""yes; then :
21920
21921 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21922
21923 fi
21924
21925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21926 $as_echo_n "checking for csqrtf in -lm... " >&6; }
21927 if test "${ac_cv_lib_m_csqrtf+set}" = set; then :
21928 $as_echo_n "(cached) " >&6
21929 else
21930 ac_check_lib_save_LIBS=$LIBS
21931 LIBS="-lm $LIBS"
21932 if test x$gcc_no_link = xyes; then
21933 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21934 fi
21935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21936 /* end confdefs.h. */
21937
21938 /* Override any GCC internal prototype to avoid an error.
21939 Use char because int might match the return type of a GCC
21940 builtin and then its argument prototype would still apply. */
21941 #ifdef __cplusplus
21942 extern "C"
21943 #endif
21944 char csqrtf ();
21945 int
21946 main ()
21947 {
21948 return csqrtf ();
21949 ;
21950 return 0;
21951 }
21952 _ACEOF
21953 if ac_fn_c_try_link "$LINENO"; then :
21954 ac_cv_lib_m_csqrtf=yes
21955 else
21956 ac_cv_lib_m_csqrtf=no
21957 fi
21958 rm -f core conftest.err conftest.$ac_objext \
21959 conftest$ac_exeext conftest.$ac_ext
21960 LIBS=$ac_check_lib_save_LIBS
21961 fi
21962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtf" >&5
21963 $as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21964 if test "x$ac_cv_lib_m_csqrtf" = x""yes; then :
21965
21966 $as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21967
21968 fi
21969
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21971 $as_echo_n "checking for csqrt in -lm... " >&6; }
21972 if test "${ac_cv_lib_m_csqrt+set}" = set; then :
21973 $as_echo_n "(cached) " >&6
21974 else
21975 ac_check_lib_save_LIBS=$LIBS
21976 LIBS="-lm $LIBS"
21977 if test x$gcc_no_link = xyes; then
21978 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21979 fi
21980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21981 /* end confdefs.h. */
21982
21983 /* Override any GCC internal prototype to avoid an error.
21984 Use char because int might match the return type of a GCC
21985 builtin and then its argument prototype would still apply. */
21986 #ifdef __cplusplus
21987 extern "C"
21988 #endif
21989 char csqrt ();
21990 int
21991 main ()
21992 {
21993 return csqrt ();
21994 ;
21995 return 0;
21996 }
21997 _ACEOF
21998 if ac_fn_c_try_link "$LINENO"; then :
21999 ac_cv_lib_m_csqrt=yes
22000 else
22001 ac_cv_lib_m_csqrt=no
22002 fi
22003 rm -f core conftest.err conftest.$ac_objext \
22004 conftest$ac_exeext conftest.$ac_ext
22005 LIBS=$ac_check_lib_save_LIBS
22006 fi
22007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrt" >&5
22008 $as_echo "$ac_cv_lib_m_csqrt" >&6; }
22009 if test "x$ac_cv_lib_m_csqrt" = x""yes; then :
22010
22011 $as_echo "#define HAVE_CSQRT 1" >>confdefs.h
22012
22013 fi
22014
22015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
22016 $as_echo_n "checking for csqrtl in -lm... " >&6; }
22017 if test "${ac_cv_lib_m_csqrtl+set}" = set; then :
22018 $as_echo_n "(cached) " >&6
22019 else
22020 ac_check_lib_save_LIBS=$LIBS
22021 LIBS="-lm $LIBS"
22022 if test x$gcc_no_link = xyes; then
22023 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22024 fi
22025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22026 /* end confdefs.h. */
22027
22028 /* Override any GCC internal prototype to avoid an error.
22029 Use char because int might match the return type of a GCC
22030 builtin and then its argument prototype would still apply. */
22031 #ifdef __cplusplus
22032 extern "C"
22033 #endif
22034 char csqrtl ();
22035 int
22036 main ()
22037 {
22038 return csqrtl ();
22039 ;
22040 return 0;
22041 }
22042 _ACEOF
22043 if ac_fn_c_try_link "$LINENO"; then :
22044 ac_cv_lib_m_csqrtl=yes
22045 else
22046 ac_cv_lib_m_csqrtl=no
22047 fi
22048 rm -f core conftest.err conftest.$ac_objext \
22049 conftest$ac_exeext conftest.$ac_ext
22050 LIBS=$ac_check_lib_save_LIBS
22051 fi
22052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtl" >&5
22053 $as_echo "$ac_cv_lib_m_csqrtl" >&6; }
22054 if test "x$ac_cv_lib_m_csqrtl" = x""yes; then :
22055
22056 $as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
22057
22058 fi
22059
22060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
22061 $as_echo_n "checking for tanf in -lm... " >&6; }
22062 if test "${ac_cv_lib_m_tanf+set}" = set; then :
22063 $as_echo_n "(cached) " >&6
22064 else
22065 ac_check_lib_save_LIBS=$LIBS
22066 LIBS="-lm $LIBS"
22067 if test x$gcc_no_link = xyes; then
22068 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22069 fi
22070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22071 /* end confdefs.h. */
22072
22073 /* Override any GCC internal prototype to avoid an error.
22074 Use char because int might match the return type of a GCC
22075 builtin and then its argument prototype would still apply. */
22076 #ifdef __cplusplus
22077 extern "C"
22078 #endif
22079 char tanf ();
22080 int
22081 main ()
22082 {
22083 return tanf ();
22084 ;
22085 return 0;
22086 }
22087 _ACEOF
22088 if ac_fn_c_try_link "$LINENO"; then :
22089 ac_cv_lib_m_tanf=yes
22090 else
22091 ac_cv_lib_m_tanf=no
22092 fi
22093 rm -f core conftest.err conftest.$ac_objext \
22094 conftest$ac_exeext conftest.$ac_ext
22095 LIBS=$ac_check_lib_save_LIBS
22096 fi
22097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanf" >&5
22098 $as_echo "$ac_cv_lib_m_tanf" >&6; }
22099 if test "x$ac_cv_lib_m_tanf" = x""yes; then :
22100
22101 $as_echo "#define HAVE_TANF 1" >>confdefs.h
22102
22103 fi
22104
22105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
22106 $as_echo_n "checking for tan in -lm... " >&6; }
22107 if test "${ac_cv_lib_m_tan+set}" = set; then :
22108 $as_echo_n "(cached) " >&6
22109 else
22110 ac_check_lib_save_LIBS=$LIBS
22111 LIBS="-lm $LIBS"
22112 if test x$gcc_no_link = xyes; then
22113 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22114 fi
22115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22116 /* end confdefs.h. */
22117
22118 /* Override any GCC internal prototype to avoid an error.
22119 Use char because int might match the return type of a GCC
22120 builtin and then its argument prototype would still apply. */
22121 #ifdef __cplusplus
22122 extern "C"
22123 #endif
22124 char tan ();
22125 int
22126 main ()
22127 {
22128 return tan ();
22129 ;
22130 return 0;
22131 }
22132 _ACEOF
22133 if ac_fn_c_try_link "$LINENO"; then :
22134 ac_cv_lib_m_tan=yes
22135 else
22136 ac_cv_lib_m_tan=no
22137 fi
22138 rm -f core conftest.err conftest.$ac_objext \
22139 conftest$ac_exeext conftest.$ac_ext
22140 LIBS=$ac_check_lib_save_LIBS
22141 fi
22142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5
22143 $as_echo "$ac_cv_lib_m_tan" >&6; }
22144 if test "x$ac_cv_lib_m_tan" = x""yes; then :
22145
22146 $as_echo "#define HAVE_TAN 1" >>confdefs.h
22147
22148 fi
22149
22150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
22151 $as_echo_n "checking for tanl in -lm... " >&6; }
22152 if test "${ac_cv_lib_m_tanl+set}" = set; then :
22153 $as_echo_n "(cached) " >&6
22154 else
22155 ac_check_lib_save_LIBS=$LIBS
22156 LIBS="-lm $LIBS"
22157 if test x$gcc_no_link = xyes; then
22158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22159 fi
22160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22161 /* end confdefs.h. */
22162
22163 /* Override any GCC internal prototype to avoid an error.
22164 Use char because int might match the return type of a GCC
22165 builtin and then its argument prototype would still apply. */
22166 #ifdef __cplusplus
22167 extern "C"
22168 #endif
22169 char tanl ();
22170 int
22171 main ()
22172 {
22173 return tanl ();
22174 ;
22175 return 0;
22176 }
22177 _ACEOF
22178 if ac_fn_c_try_link "$LINENO"; then :
22179 ac_cv_lib_m_tanl=yes
22180 else
22181 ac_cv_lib_m_tanl=no
22182 fi
22183 rm -f core conftest.err conftest.$ac_objext \
22184 conftest$ac_exeext conftest.$ac_ext
22185 LIBS=$ac_check_lib_save_LIBS
22186 fi
22187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanl" >&5
22188 $as_echo "$ac_cv_lib_m_tanl" >&6; }
22189 if test "x$ac_cv_lib_m_tanl" = x""yes; then :
22190
22191 $as_echo "#define HAVE_TANL 1" >>confdefs.h
22192
22193 fi
22194
22195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
22196 $as_echo_n "checking for ctanf in -lm... " >&6; }
22197 if test "${ac_cv_lib_m_ctanf+set}" = set; then :
22198 $as_echo_n "(cached) " >&6
22199 else
22200 ac_check_lib_save_LIBS=$LIBS
22201 LIBS="-lm $LIBS"
22202 if test x$gcc_no_link = xyes; then
22203 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22204 fi
22205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22206 /* end confdefs.h. */
22207
22208 /* Override any GCC internal prototype to avoid an error.
22209 Use char because int might match the return type of a GCC
22210 builtin and then its argument prototype would still apply. */
22211 #ifdef __cplusplus
22212 extern "C"
22213 #endif
22214 char ctanf ();
22215 int
22216 main ()
22217 {
22218 return ctanf ();
22219 ;
22220 return 0;
22221 }
22222 _ACEOF
22223 if ac_fn_c_try_link "$LINENO"; then :
22224 ac_cv_lib_m_ctanf=yes
22225 else
22226 ac_cv_lib_m_ctanf=no
22227 fi
22228 rm -f core conftest.err conftest.$ac_objext \
22229 conftest$ac_exeext conftest.$ac_ext
22230 LIBS=$ac_check_lib_save_LIBS
22231 fi
22232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanf" >&5
22233 $as_echo "$ac_cv_lib_m_ctanf" >&6; }
22234 if test "x$ac_cv_lib_m_ctanf" = x""yes; then :
22235
22236 $as_echo "#define HAVE_CTANF 1" >>confdefs.h
22237
22238 fi
22239
22240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
22241 $as_echo_n "checking for ctan in -lm... " >&6; }
22242 if test "${ac_cv_lib_m_ctan+set}" = set; then :
22243 $as_echo_n "(cached) " >&6
22244 else
22245 ac_check_lib_save_LIBS=$LIBS
22246 LIBS="-lm $LIBS"
22247 if test x$gcc_no_link = xyes; then
22248 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22249 fi
22250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22251 /* end confdefs.h. */
22252
22253 /* Override any GCC internal prototype to avoid an error.
22254 Use char because int might match the return type of a GCC
22255 builtin and then its argument prototype would still apply. */
22256 #ifdef __cplusplus
22257 extern "C"
22258 #endif
22259 char ctan ();
22260 int
22261 main ()
22262 {
22263 return ctan ();
22264 ;
22265 return 0;
22266 }
22267 _ACEOF
22268 if ac_fn_c_try_link "$LINENO"; then :
22269 ac_cv_lib_m_ctan=yes
22270 else
22271 ac_cv_lib_m_ctan=no
22272 fi
22273 rm -f core conftest.err conftest.$ac_objext \
22274 conftest$ac_exeext conftest.$ac_ext
22275 LIBS=$ac_check_lib_save_LIBS
22276 fi
22277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctan" >&5
22278 $as_echo "$ac_cv_lib_m_ctan" >&6; }
22279 if test "x$ac_cv_lib_m_ctan" = x""yes; then :
22280
22281 $as_echo "#define HAVE_CTAN 1" >>confdefs.h
22282
22283 fi
22284
22285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
22286 $as_echo_n "checking for ctanl in -lm... " >&6; }
22287 if test "${ac_cv_lib_m_ctanl+set}" = set; then :
22288 $as_echo_n "(cached) " >&6
22289 else
22290 ac_check_lib_save_LIBS=$LIBS
22291 LIBS="-lm $LIBS"
22292 if test x$gcc_no_link = xyes; then
22293 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22294 fi
22295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22296 /* end confdefs.h. */
22297
22298 /* Override any GCC internal prototype to avoid an error.
22299 Use char because int might match the return type of a GCC
22300 builtin and then its argument prototype would still apply. */
22301 #ifdef __cplusplus
22302 extern "C"
22303 #endif
22304 char ctanl ();
22305 int
22306 main ()
22307 {
22308 return ctanl ();
22309 ;
22310 return 0;
22311 }
22312 _ACEOF
22313 if ac_fn_c_try_link "$LINENO"; then :
22314 ac_cv_lib_m_ctanl=yes
22315 else
22316 ac_cv_lib_m_ctanl=no
22317 fi
22318 rm -f core conftest.err conftest.$ac_objext \
22319 conftest$ac_exeext conftest.$ac_ext
22320 LIBS=$ac_check_lib_save_LIBS
22321 fi
22322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanl" >&5
22323 $as_echo "$ac_cv_lib_m_ctanl" >&6; }
22324 if test "x$ac_cv_lib_m_ctanl" = x""yes; then :
22325
22326 $as_echo "#define HAVE_CTANL 1" >>confdefs.h
22327
22328 fi
22329
22330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
22331 $as_echo_n "checking for tanhf in -lm... " >&6; }
22332 if test "${ac_cv_lib_m_tanhf+set}" = set; then :
22333 $as_echo_n "(cached) " >&6
22334 else
22335 ac_check_lib_save_LIBS=$LIBS
22336 LIBS="-lm $LIBS"
22337 if test x$gcc_no_link = xyes; then
22338 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22339 fi
22340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22341 /* end confdefs.h. */
22342
22343 /* Override any GCC internal prototype to avoid an error.
22344 Use char because int might match the return type of a GCC
22345 builtin and then its argument prototype would still apply. */
22346 #ifdef __cplusplus
22347 extern "C"
22348 #endif
22349 char tanhf ();
22350 int
22351 main ()
22352 {
22353 return tanhf ();
22354 ;
22355 return 0;
22356 }
22357 _ACEOF
22358 if ac_fn_c_try_link "$LINENO"; then :
22359 ac_cv_lib_m_tanhf=yes
22360 else
22361 ac_cv_lib_m_tanhf=no
22362 fi
22363 rm -f core conftest.err conftest.$ac_objext \
22364 conftest$ac_exeext conftest.$ac_ext
22365 LIBS=$ac_check_lib_save_LIBS
22366 fi
22367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhf" >&5
22368 $as_echo "$ac_cv_lib_m_tanhf" >&6; }
22369 if test "x$ac_cv_lib_m_tanhf" = x""yes; then :
22370
22371 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
22372
22373 fi
22374
22375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
22376 $as_echo_n "checking for tanh in -lm... " >&6; }
22377 if test "${ac_cv_lib_m_tanh+set}" = set; then :
22378 $as_echo_n "(cached) " >&6
22379 else
22380 ac_check_lib_save_LIBS=$LIBS
22381 LIBS="-lm $LIBS"
22382 if test x$gcc_no_link = xyes; then
22383 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22384 fi
22385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22386 /* end confdefs.h. */
22387
22388 /* Override any GCC internal prototype to avoid an error.
22389 Use char because int might match the return type of a GCC
22390 builtin and then its argument prototype would still apply. */
22391 #ifdef __cplusplus
22392 extern "C"
22393 #endif
22394 char tanh ();
22395 int
22396 main ()
22397 {
22398 return tanh ();
22399 ;
22400 return 0;
22401 }
22402 _ACEOF
22403 if ac_fn_c_try_link "$LINENO"; then :
22404 ac_cv_lib_m_tanh=yes
22405 else
22406 ac_cv_lib_m_tanh=no
22407 fi
22408 rm -f core conftest.err conftest.$ac_objext \
22409 conftest$ac_exeext conftest.$ac_ext
22410 LIBS=$ac_check_lib_save_LIBS
22411 fi
22412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanh" >&5
22413 $as_echo "$ac_cv_lib_m_tanh" >&6; }
22414 if test "x$ac_cv_lib_m_tanh" = x""yes; then :
22415
22416 $as_echo "#define HAVE_TANH 1" >>confdefs.h
22417
22418 fi
22419
22420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
22421 $as_echo_n "checking for tanhl in -lm... " >&6; }
22422 if test "${ac_cv_lib_m_tanhl+set}" = set; then :
22423 $as_echo_n "(cached) " >&6
22424 else
22425 ac_check_lib_save_LIBS=$LIBS
22426 LIBS="-lm $LIBS"
22427 if test x$gcc_no_link = xyes; then
22428 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22429 fi
22430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22431 /* end confdefs.h. */
22432
22433 /* Override any GCC internal prototype to avoid an error.
22434 Use char because int might match the return type of a GCC
22435 builtin and then its argument prototype would still apply. */
22436 #ifdef __cplusplus
22437 extern "C"
22438 #endif
22439 char tanhl ();
22440 int
22441 main ()
22442 {
22443 return tanhl ();
22444 ;
22445 return 0;
22446 }
22447 _ACEOF
22448 if ac_fn_c_try_link "$LINENO"; then :
22449 ac_cv_lib_m_tanhl=yes
22450 else
22451 ac_cv_lib_m_tanhl=no
22452 fi
22453 rm -f core conftest.err conftest.$ac_objext \
22454 conftest$ac_exeext conftest.$ac_ext
22455 LIBS=$ac_check_lib_save_LIBS
22456 fi
22457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhl" >&5
22458 $as_echo "$ac_cv_lib_m_tanhl" >&6; }
22459 if test "x$ac_cv_lib_m_tanhl" = x""yes; then :
22460
22461 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
22462
22463 fi
22464
22465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
22466 $as_echo_n "checking for ctanhf in -lm... " >&6; }
22467 if test "${ac_cv_lib_m_ctanhf+set}" = set; then :
22468 $as_echo_n "(cached) " >&6
22469 else
22470 ac_check_lib_save_LIBS=$LIBS
22471 LIBS="-lm $LIBS"
22472 if test x$gcc_no_link = xyes; then
22473 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22474 fi
22475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22476 /* end confdefs.h. */
22477
22478 /* Override any GCC internal prototype to avoid an error.
22479 Use char because int might match the return type of a GCC
22480 builtin and then its argument prototype would still apply. */
22481 #ifdef __cplusplus
22482 extern "C"
22483 #endif
22484 char ctanhf ();
22485 int
22486 main ()
22487 {
22488 return ctanhf ();
22489 ;
22490 return 0;
22491 }
22492 _ACEOF
22493 if ac_fn_c_try_link "$LINENO"; then :
22494 ac_cv_lib_m_ctanhf=yes
22495 else
22496 ac_cv_lib_m_ctanhf=no
22497 fi
22498 rm -f core conftest.err conftest.$ac_objext \
22499 conftest$ac_exeext conftest.$ac_ext
22500 LIBS=$ac_check_lib_save_LIBS
22501 fi
22502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhf" >&5
22503 $as_echo "$ac_cv_lib_m_ctanhf" >&6; }
22504 if test "x$ac_cv_lib_m_ctanhf" = x""yes; then :
22505
22506 $as_echo "#define HAVE_CTANHF 1" >>confdefs.h
22507
22508 fi
22509
22510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
22511 $as_echo_n "checking for ctanh in -lm... " >&6; }
22512 if test "${ac_cv_lib_m_ctanh+set}" = set; then :
22513 $as_echo_n "(cached) " >&6
22514 else
22515 ac_check_lib_save_LIBS=$LIBS
22516 LIBS="-lm $LIBS"
22517 if test x$gcc_no_link = xyes; then
22518 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22519 fi
22520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22521 /* end confdefs.h. */
22522
22523 /* Override any GCC internal prototype to avoid an error.
22524 Use char because int might match the return type of a GCC
22525 builtin and then its argument prototype would still apply. */
22526 #ifdef __cplusplus
22527 extern "C"
22528 #endif
22529 char ctanh ();
22530 int
22531 main ()
22532 {
22533 return ctanh ();
22534 ;
22535 return 0;
22536 }
22537 _ACEOF
22538 if ac_fn_c_try_link "$LINENO"; then :
22539 ac_cv_lib_m_ctanh=yes
22540 else
22541 ac_cv_lib_m_ctanh=no
22542 fi
22543 rm -f core conftest.err conftest.$ac_objext \
22544 conftest$ac_exeext conftest.$ac_ext
22545 LIBS=$ac_check_lib_save_LIBS
22546 fi
22547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanh" >&5
22548 $as_echo "$ac_cv_lib_m_ctanh" >&6; }
22549 if test "x$ac_cv_lib_m_ctanh" = x""yes; then :
22550
22551 $as_echo "#define HAVE_CTANH 1" >>confdefs.h
22552
22553 fi
22554
22555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
22556 $as_echo_n "checking for ctanhl in -lm... " >&6; }
22557 if test "${ac_cv_lib_m_ctanhl+set}" = set; then :
22558 $as_echo_n "(cached) " >&6
22559 else
22560 ac_check_lib_save_LIBS=$LIBS
22561 LIBS="-lm $LIBS"
22562 if test x$gcc_no_link = xyes; then
22563 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22564 fi
22565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22566 /* end confdefs.h. */
22567
22568 /* Override any GCC internal prototype to avoid an error.
22569 Use char because int might match the return type of a GCC
22570 builtin and then its argument prototype would still apply. */
22571 #ifdef __cplusplus
22572 extern "C"
22573 #endif
22574 char ctanhl ();
22575 int
22576 main ()
22577 {
22578 return ctanhl ();
22579 ;
22580 return 0;
22581 }
22582 _ACEOF
22583 if ac_fn_c_try_link "$LINENO"; then :
22584 ac_cv_lib_m_ctanhl=yes
22585 else
22586 ac_cv_lib_m_ctanhl=no
22587 fi
22588 rm -f core conftest.err conftest.$ac_objext \
22589 conftest$ac_exeext conftest.$ac_ext
22590 LIBS=$ac_check_lib_save_LIBS
22591 fi
22592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhl" >&5
22593 $as_echo "$ac_cv_lib_m_ctanhl" >&6; }
22594 if test "x$ac_cv_lib_m_ctanhl" = x""yes; then :
22595
22596 $as_echo "#define HAVE_CTANHL 1" >>confdefs.h
22597
22598 fi
22599
22600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
22601 $as_echo_n "checking for truncf in -lm... " >&6; }
22602 if test "${ac_cv_lib_m_truncf+set}" = set; then :
22603 $as_echo_n "(cached) " >&6
22604 else
22605 ac_check_lib_save_LIBS=$LIBS
22606 LIBS="-lm $LIBS"
22607 if test x$gcc_no_link = xyes; then
22608 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22609 fi
22610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22611 /* end confdefs.h. */
22612
22613 /* Override any GCC internal prototype to avoid an error.
22614 Use char because int might match the return type of a GCC
22615 builtin and then its argument prototype would still apply. */
22616 #ifdef __cplusplus
22617 extern "C"
22618 #endif
22619 char truncf ();
22620 int
22621 main ()
22622 {
22623 return truncf ();
22624 ;
22625 return 0;
22626 }
22627 _ACEOF
22628 if ac_fn_c_try_link "$LINENO"; then :
22629 ac_cv_lib_m_truncf=yes
22630 else
22631 ac_cv_lib_m_truncf=no
22632 fi
22633 rm -f core conftest.err conftest.$ac_objext \
22634 conftest$ac_exeext conftest.$ac_ext
22635 LIBS=$ac_check_lib_save_LIBS
22636 fi
22637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncf" >&5
22638 $as_echo "$ac_cv_lib_m_truncf" >&6; }
22639 if test "x$ac_cv_lib_m_truncf" = x""yes; then :
22640
22641 $as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
22642
22643 fi
22644
22645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
22646 $as_echo_n "checking for trunc in -lm... " >&6; }
22647 if test "${ac_cv_lib_m_trunc+set}" = set; then :
22648 $as_echo_n "(cached) " >&6
22649 else
22650 ac_check_lib_save_LIBS=$LIBS
22651 LIBS="-lm $LIBS"
22652 if test x$gcc_no_link = xyes; then
22653 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22654 fi
22655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22656 /* end confdefs.h. */
22657
22658 /* Override any GCC internal prototype to avoid an error.
22659 Use char because int might match the return type of a GCC
22660 builtin and then its argument prototype would still apply. */
22661 #ifdef __cplusplus
22662 extern "C"
22663 #endif
22664 char trunc ();
22665 int
22666 main ()
22667 {
22668 return trunc ();
22669 ;
22670 return 0;
22671 }
22672 _ACEOF
22673 if ac_fn_c_try_link "$LINENO"; then :
22674 ac_cv_lib_m_trunc=yes
22675 else
22676 ac_cv_lib_m_trunc=no
22677 fi
22678 rm -f core conftest.err conftest.$ac_objext \
22679 conftest$ac_exeext conftest.$ac_ext
22680 LIBS=$ac_check_lib_save_LIBS
22681 fi
22682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
22683 $as_echo "$ac_cv_lib_m_trunc" >&6; }
22684 if test "x$ac_cv_lib_m_trunc" = x""yes; then :
22685
22686 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
22687
22688 fi
22689
22690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
22691 $as_echo_n "checking for truncl in -lm... " >&6; }
22692 if test "${ac_cv_lib_m_truncl+set}" = set; then :
22693 $as_echo_n "(cached) " >&6
22694 else
22695 ac_check_lib_save_LIBS=$LIBS
22696 LIBS="-lm $LIBS"
22697 if test x$gcc_no_link = xyes; then
22698 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22699 fi
22700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22701 /* end confdefs.h. */
22702
22703 /* Override any GCC internal prototype to avoid an error.
22704 Use char because int might match the return type of a GCC
22705 builtin and then its argument prototype would still apply. */
22706 #ifdef __cplusplus
22707 extern "C"
22708 #endif
22709 char truncl ();
22710 int
22711 main ()
22712 {
22713 return truncl ();
22714 ;
22715 return 0;
22716 }
22717 _ACEOF
22718 if ac_fn_c_try_link "$LINENO"; then :
22719 ac_cv_lib_m_truncl=yes
22720 else
22721 ac_cv_lib_m_truncl=no
22722 fi
22723 rm -f core conftest.err conftest.$ac_objext \
22724 conftest$ac_exeext conftest.$ac_ext
22725 LIBS=$ac_check_lib_save_LIBS
22726 fi
22727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncl" >&5
22728 $as_echo "$ac_cv_lib_m_truncl" >&6; }
22729 if test "x$ac_cv_lib_m_truncl" = x""yes; then :
22730
22731 $as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
22732
22733 fi
22734
22735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
22736 $as_echo_n "checking for erff in -lm... " >&6; }
22737 if test "${ac_cv_lib_m_erff+set}" = set; then :
22738 $as_echo_n "(cached) " >&6
22739 else
22740 ac_check_lib_save_LIBS=$LIBS
22741 LIBS="-lm $LIBS"
22742 if test x$gcc_no_link = xyes; then
22743 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22744 fi
22745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22746 /* end confdefs.h. */
22747
22748 /* Override any GCC internal prototype to avoid an error.
22749 Use char because int might match the return type of a GCC
22750 builtin and then its argument prototype would still apply. */
22751 #ifdef __cplusplus
22752 extern "C"
22753 #endif
22754 char erff ();
22755 int
22756 main ()
22757 {
22758 return erff ();
22759 ;
22760 return 0;
22761 }
22762 _ACEOF
22763 if ac_fn_c_try_link "$LINENO"; then :
22764 ac_cv_lib_m_erff=yes
22765 else
22766 ac_cv_lib_m_erff=no
22767 fi
22768 rm -f core conftest.err conftest.$ac_objext \
22769 conftest$ac_exeext conftest.$ac_ext
22770 LIBS=$ac_check_lib_save_LIBS
22771 fi
22772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erff" >&5
22773 $as_echo "$ac_cv_lib_m_erff" >&6; }
22774 if test "x$ac_cv_lib_m_erff" = x""yes; then :
22775
22776 $as_echo "#define HAVE_ERFF 1" >>confdefs.h
22777
22778 fi
22779
22780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
22781 $as_echo_n "checking for erf in -lm... " >&6; }
22782 if test "${ac_cv_lib_m_erf+set}" = set; then :
22783 $as_echo_n "(cached) " >&6
22784 else
22785 ac_check_lib_save_LIBS=$LIBS
22786 LIBS="-lm $LIBS"
22787 if test x$gcc_no_link = xyes; then
22788 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22789 fi
22790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22791 /* end confdefs.h. */
22792
22793 /* Override any GCC internal prototype to avoid an error.
22794 Use char because int might match the return type of a GCC
22795 builtin and then its argument prototype would still apply. */
22796 #ifdef __cplusplus
22797 extern "C"
22798 #endif
22799 char erf ();
22800 int
22801 main ()
22802 {
22803 return erf ();
22804 ;
22805 return 0;
22806 }
22807 _ACEOF
22808 if ac_fn_c_try_link "$LINENO"; then :
22809 ac_cv_lib_m_erf=yes
22810 else
22811 ac_cv_lib_m_erf=no
22812 fi
22813 rm -f core conftest.err conftest.$ac_objext \
22814 conftest$ac_exeext conftest.$ac_ext
22815 LIBS=$ac_check_lib_save_LIBS
22816 fi
22817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erf" >&5
22818 $as_echo "$ac_cv_lib_m_erf" >&6; }
22819 if test "x$ac_cv_lib_m_erf" = x""yes; then :
22820
22821 $as_echo "#define HAVE_ERF 1" >>confdefs.h
22822
22823 fi
22824
22825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
22826 $as_echo_n "checking for erfl in -lm... " >&6; }
22827 if test "${ac_cv_lib_m_erfl+set}" = set; then :
22828 $as_echo_n "(cached) " >&6
22829 else
22830 ac_check_lib_save_LIBS=$LIBS
22831 LIBS="-lm $LIBS"
22832 if test x$gcc_no_link = xyes; then
22833 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22834 fi
22835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22836 /* end confdefs.h. */
22837
22838 /* Override any GCC internal prototype to avoid an error.
22839 Use char because int might match the return type of a GCC
22840 builtin and then its argument prototype would still apply. */
22841 #ifdef __cplusplus
22842 extern "C"
22843 #endif
22844 char erfl ();
22845 int
22846 main ()
22847 {
22848 return erfl ();
22849 ;
22850 return 0;
22851 }
22852 _ACEOF
22853 if ac_fn_c_try_link "$LINENO"; then :
22854 ac_cv_lib_m_erfl=yes
22855 else
22856 ac_cv_lib_m_erfl=no
22857 fi
22858 rm -f core conftest.err conftest.$ac_objext \
22859 conftest$ac_exeext conftest.$ac_ext
22860 LIBS=$ac_check_lib_save_LIBS
22861 fi
22862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfl" >&5
22863 $as_echo "$ac_cv_lib_m_erfl" >&6; }
22864 if test "x$ac_cv_lib_m_erfl" = x""yes; then :
22865
22866 $as_echo "#define HAVE_ERFL 1" >>confdefs.h
22867
22868 fi
22869
22870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22871 $as_echo_n "checking for erfcf in -lm... " >&6; }
22872 if test "${ac_cv_lib_m_erfcf+set}" = set; then :
22873 $as_echo_n "(cached) " >&6
22874 else
22875 ac_check_lib_save_LIBS=$LIBS
22876 LIBS="-lm $LIBS"
22877 if test x$gcc_no_link = xyes; then
22878 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22879 fi
22880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22881 /* end confdefs.h. */
22882
22883 /* Override any GCC internal prototype to avoid an error.
22884 Use char because int might match the return type of a GCC
22885 builtin and then its argument prototype would still apply. */
22886 #ifdef __cplusplus
22887 extern "C"
22888 #endif
22889 char erfcf ();
22890 int
22891 main ()
22892 {
22893 return erfcf ();
22894 ;
22895 return 0;
22896 }
22897 _ACEOF
22898 if ac_fn_c_try_link "$LINENO"; then :
22899 ac_cv_lib_m_erfcf=yes
22900 else
22901 ac_cv_lib_m_erfcf=no
22902 fi
22903 rm -f core conftest.err conftest.$ac_objext \
22904 conftest$ac_exeext conftest.$ac_ext
22905 LIBS=$ac_check_lib_save_LIBS
22906 fi
22907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcf" >&5
22908 $as_echo "$ac_cv_lib_m_erfcf" >&6; }
22909 if test "x$ac_cv_lib_m_erfcf" = x""yes; then :
22910
22911 $as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22912
22913 fi
22914
22915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22916 $as_echo_n "checking for erfc in -lm... " >&6; }
22917 if test "${ac_cv_lib_m_erfc+set}" = set; then :
22918 $as_echo_n "(cached) " >&6
22919 else
22920 ac_check_lib_save_LIBS=$LIBS
22921 LIBS="-lm $LIBS"
22922 if test x$gcc_no_link = xyes; then
22923 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22924 fi
22925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22926 /* end confdefs.h. */
22927
22928 /* Override any GCC internal prototype to avoid an error.
22929 Use char because int might match the return type of a GCC
22930 builtin and then its argument prototype would still apply. */
22931 #ifdef __cplusplus
22932 extern "C"
22933 #endif
22934 char erfc ();
22935 int
22936 main ()
22937 {
22938 return erfc ();
22939 ;
22940 return 0;
22941 }
22942 _ACEOF
22943 if ac_fn_c_try_link "$LINENO"; then :
22944 ac_cv_lib_m_erfc=yes
22945 else
22946 ac_cv_lib_m_erfc=no
22947 fi
22948 rm -f core conftest.err conftest.$ac_objext \
22949 conftest$ac_exeext conftest.$ac_ext
22950 LIBS=$ac_check_lib_save_LIBS
22951 fi
22952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfc" >&5
22953 $as_echo "$ac_cv_lib_m_erfc" >&6; }
22954 if test "x$ac_cv_lib_m_erfc" = x""yes; then :
22955
22956 $as_echo "#define HAVE_ERFC 1" >>confdefs.h
22957
22958 fi
22959
22960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22961 $as_echo_n "checking for erfcl in -lm... " >&6; }
22962 if test "${ac_cv_lib_m_erfcl+set}" = set; then :
22963 $as_echo_n "(cached) " >&6
22964 else
22965 ac_check_lib_save_LIBS=$LIBS
22966 LIBS="-lm $LIBS"
22967 if test x$gcc_no_link = xyes; then
22968 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22969 fi
22970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22971 /* end confdefs.h. */
22972
22973 /* Override any GCC internal prototype to avoid an error.
22974 Use char because int might match the return type of a GCC
22975 builtin and then its argument prototype would still apply. */
22976 #ifdef __cplusplus
22977 extern "C"
22978 #endif
22979 char erfcl ();
22980 int
22981 main ()
22982 {
22983 return erfcl ();
22984 ;
22985 return 0;
22986 }
22987 _ACEOF
22988 if ac_fn_c_try_link "$LINENO"; then :
22989 ac_cv_lib_m_erfcl=yes
22990 else
22991 ac_cv_lib_m_erfcl=no
22992 fi
22993 rm -f core conftest.err conftest.$ac_objext \
22994 conftest$ac_exeext conftest.$ac_ext
22995 LIBS=$ac_check_lib_save_LIBS
22996 fi
22997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcl" >&5
22998 $as_echo "$ac_cv_lib_m_erfcl" >&6; }
22999 if test "x$ac_cv_lib_m_erfcl" = x""yes; then :
23000
23001 $as_echo "#define HAVE_ERFCL 1" >>confdefs.h
23002
23003 fi
23004
23005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
23006 $as_echo_n "checking for j0f in -lm... " >&6; }
23007 if test "${ac_cv_lib_m_j0f+set}" = set; then :
23008 $as_echo_n "(cached) " >&6
23009 else
23010 ac_check_lib_save_LIBS=$LIBS
23011 LIBS="-lm $LIBS"
23012 if test x$gcc_no_link = xyes; then
23013 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23014 fi
23015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23016 /* end confdefs.h. */
23017
23018 /* Override any GCC internal prototype to avoid an error.
23019 Use char because int might match the return type of a GCC
23020 builtin and then its argument prototype would still apply. */
23021 #ifdef __cplusplus
23022 extern "C"
23023 #endif
23024 char j0f ();
23025 int
23026 main ()
23027 {
23028 return j0f ();
23029 ;
23030 return 0;
23031 }
23032 _ACEOF
23033 if ac_fn_c_try_link "$LINENO"; then :
23034 ac_cv_lib_m_j0f=yes
23035 else
23036 ac_cv_lib_m_j0f=no
23037 fi
23038 rm -f core conftest.err conftest.$ac_objext \
23039 conftest$ac_exeext conftest.$ac_ext
23040 LIBS=$ac_check_lib_save_LIBS
23041 fi
23042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0f" >&5
23043 $as_echo "$ac_cv_lib_m_j0f" >&6; }
23044 if test "x$ac_cv_lib_m_j0f" = x""yes; then :
23045
23046 $as_echo "#define HAVE_J0F 1" >>confdefs.h
23047
23048 fi
23049
23050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
23051 $as_echo_n "checking for j0 in -lm... " >&6; }
23052 if test "${ac_cv_lib_m_j0+set}" = set; then :
23053 $as_echo_n "(cached) " >&6
23054 else
23055 ac_check_lib_save_LIBS=$LIBS
23056 LIBS="-lm $LIBS"
23057 if test x$gcc_no_link = xyes; then
23058 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23059 fi
23060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23061 /* end confdefs.h. */
23062
23063 /* Override any GCC internal prototype to avoid an error.
23064 Use char because int might match the return type of a GCC
23065 builtin and then its argument prototype would still apply. */
23066 #ifdef __cplusplus
23067 extern "C"
23068 #endif
23069 char j0 ();
23070 int
23071 main ()
23072 {
23073 return j0 ();
23074 ;
23075 return 0;
23076 }
23077 _ACEOF
23078 if ac_fn_c_try_link "$LINENO"; then :
23079 ac_cv_lib_m_j0=yes
23080 else
23081 ac_cv_lib_m_j0=no
23082 fi
23083 rm -f core conftest.err conftest.$ac_objext \
23084 conftest$ac_exeext conftest.$ac_ext
23085 LIBS=$ac_check_lib_save_LIBS
23086 fi
23087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0" >&5
23088 $as_echo "$ac_cv_lib_m_j0" >&6; }
23089 if test "x$ac_cv_lib_m_j0" = x""yes; then :
23090
23091 $as_echo "#define HAVE_J0 1" >>confdefs.h
23092
23093 fi
23094
23095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
23096 $as_echo_n "checking for j0l in -lm... " >&6; }
23097 if test "${ac_cv_lib_m_j0l+set}" = set; then :
23098 $as_echo_n "(cached) " >&6
23099 else
23100 ac_check_lib_save_LIBS=$LIBS
23101 LIBS="-lm $LIBS"
23102 if test x$gcc_no_link = xyes; then
23103 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23104 fi
23105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23106 /* end confdefs.h. */
23107
23108 /* Override any GCC internal prototype to avoid an error.
23109 Use char because int might match the return type of a GCC
23110 builtin and then its argument prototype would still apply. */
23111 #ifdef __cplusplus
23112 extern "C"
23113 #endif
23114 char j0l ();
23115 int
23116 main ()
23117 {
23118 return j0l ();
23119 ;
23120 return 0;
23121 }
23122 _ACEOF
23123 if ac_fn_c_try_link "$LINENO"; then :
23124 ac_cv_lib_m_j0l=yes
23125 else
23126 ac_cv_lib_m_j0l=no
23127 fi
23128 rm -f core conftest.err conftest.$ac_objext \
23129 conftest$ac_exeext conftest.$ac_ext
23130 LIBS=$ac_check_lib_save_LIBS
23131 fi
23132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0l" >&5
23133 $as_echo "$ac_cv_lib_m_j0l" >&6; }
23134 if test "x$ac_cv_lib_m_j0l" = x""yes; then :
23135
23136 $as_echo "#define HAVE_J0L 1" >>confdefs.h
23137
23138 fi
23139
23140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
23141 $as_echo_n "checking for j1f in -lm... " >&6; }
23142 if test "${ac_cv_lib_m_j1f+set}" = set; then :
23143 $as_echo_n "(cached) " >&6
23144 else
23145 ac_check_lib_save_LIBS=$LIBS
23146 LIBS="-lm $LIBS"
23147 if test x$gcc_no_link = xyes; then
23148 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23149 fi
23150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23151 /* end confdefs.h. */
23152
23153 /* Override any GCC internal prototype to avoid an error.
23154 Use char because int might match the return type of a GCC
23155 builtin and then its argument prototype would still apply. */
23156 #ifdef __cplusplus
23157 extern "C"
23158 #endif
23159 char j1f ();
23160 int
23161 main ()
23162 {
23163 return j1f ();
23164 ;
23165 return 0;
23166 }
23167 _ACEOF
23168 if ac_fn_c_try_link "$LINENO"; then :
23169 ac_cv_lib_m_j1f=yes
23170 else
23171 ac_cv_lib_m_j1f=no
23172 fi
23173 rm -f core conftest.err conftest.$ac_objext \
23174 conftest$ac_exeext conftest.$ac_ext
23175 LIBS=$ac_check_lib_save_LIBS
23176 fi
23177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1f" >&5
23178 $as_echo "$ac_cv_lib_m_j1f" >&6; }
23179 if test "x$ac_cv_lib_m_j1f" = x""yes; then :
23180
23181 $as_echo "#define HAVE_J1F 1" >>confdefs.h
23182
23183 fi
23184
23185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
23186 $as_echo_n "checking for j1 in -lm... " >&6; }
23187 if test "${ac_cv_lib_m_j1+set}" = set; then :
23188 $as_echo_n "(cached) " >&6
23189 else
23190 ac_check_lib_save_LIBS=$LIBS
23191 LIBS="-lm $LIBS"
23192 if test x$gcc_no_link = xyes; then
23193 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23194 fi
23195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23196 /* end confdefs.h. */
23197
23198 /* Override any GCC internal prototype to avoid an error.
23199 Use char because int might match the return type of a GCC
23200 builtin and then its argument prototype would still apply. */
23201 #ifdef __cplusplus
23202 extern "C"
23203 #endif
23204 char j1 ();
23205 int
23206 main ()
23207 {
23208 return j1 ();
23209 ;
23210 return 0;
23211 }
23212 _ACEOF
23213 if ac_fn_c_try_link "$LINENO"; then :
23214 ac_cv_lib_m_j1=yes
23215 else
23216 ac_cv_lib_m_j1=no
23217 fi
23218 rm -f core conftest.err conftest.$ac_objext \
23219 conftest$ac_exeext conftest.$ac_ext
23220 LIBS=$ac_check_lib_save_LIBS
23221 fi
23222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1" >&5
23223 $as_echo "$ac_cv_lib_m_j1" >&6; }
23224 if test "x$ac_cv_lib_m_j1" = x""yes; then :
23225
23226 $as_echo "#define HAVE_J1 1" >>confdefs.h
23227
23228 fi
23229
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
23231 $as_echo_n "checking for j1l in -lm... " >&6; }
23232 if test "${ac_cv_lib_m_j1l+set}" = set; then :
23233 $as_echo_n "(cached) " >&6
23234 else
23235 ac_check_lib_save_LIBS=$LIBS
23236 LIBS="-lm $LIBS"
23237 if test x$gcc_no_link = xyes; then
23238 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23239 fi
23240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23241 /* end confdefs.h. */
23242
23243 /* Override any GCC internal prototype to avoid an error.
23244 Use char because int might match the return type of a GCC
23245 builtin and then its argument prototype would still apply. */
23246 #ifdef __cplusplus
23247 extern "C"
23248 #endif
23249 char j1l ();
23250 int
23251 main ()
23252 {
23253 return j1l ();
23254 ;
23255 return 0;
23256 }
23257 _ACEOF
23258 if ac_fn_c_try_link "$LINENO"; then :
23259 ac_cv_lib_m_j1l=yes
23260 else
23261 ac_cv_lib_m_j1l=no
23262 fi
23263 rm -f core conftest.err conftest.$ac_objext \
23264 conftest$ac_exeext conftest.$ac_ext
23265 LIBS=$ac_check_lib_save_LIBS
23266 fi
23267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1l" >&5
23268 $as_echo "$ac_cv_lib_m_j1l" >&6; }
23269 if test "x$ac_cv_lib_m_j1l" = x""yes; then :
23270
23271 $as_echo "#define HAVE_J1L 1" >>confdefs.h
23272
23273 fi
23274
23275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
23276 $as_echo_n "checking for jnf in -lm... " >&6; }
23277 if test "${ac_cv_lib_m_jnf+set}" = set; then :
23278 $as_echo_n "(cached) " >&6
23279 else
23280 ac_check_lib_save_LIBS=$LIBS
23281 LIBS="-lm $LIBS"
23282 if test x$gcc_no_link = xyes; then
23283 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23284 fi
23285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23286 /* end confdefs.h. */
23287
23288 /* Override any GCC internal prototype to avoid an error.
23289 Use char because int might match the return type of a GCC
23290 builtin and then its argument prototype would still apply. */
23291 #ifdef __cplusplus
23292 extern "C"
23293 #endif
23294 char jnf ();
23295 int
23296 main ()
23297 {
23298 return jnf ();
23299 ;
23300 return 0;
23301 }
23302 _ACEOF
23303 if ac_fn_c_try_link "$LINENO"; then :
23304 ac_cv_lib_m_jnf=yes
23305 else
23306 ac_cv_lib_m_jnf=no
23307 fi
23308 rm -f core conftest.err conftest.$ac_objext \
23309 conftest$ac_exeext conftest.$ac_ext
23310 LIBS=$ac_check_lib_save_LIBS
23311 fi
23312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnf" >&5
23313 $as_echo "$ac_cv_lib_m_jnf" >&6; }
23314 if test "x$ac_cv_lib_m_jnf" = x""yes; then :
23315
23316 $as_echo "#define HAVE_JNF 1" >>confdefs.h
23317
23318 fi
23319
23320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
23321 $as_echo_n "checking for jn in -lm... " >&6; }
23322 if test "${ac_cv_lib_m_jn+set}" = set; then :
23323 $as_echo_n "(cached) " >&6
23324 else
23325 ac_check_lib_save_LIBS=$LIBS
23326 LIBS="-lm $LIBS"
23327 if test x$gcc_no_link = xyes; then
23328 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23329 fi
23330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23331 /* end confdefs.h. */
23332
23333 /* Override any GCC internal prototype to avoid an error.
23334 Use char because int might match the return type of a GCC
23335 builtin and then its argument prototype would still apply. */
23336 #ifdef __cplusplus
23337 extern "C"
23338 #endif
23339 char jn ();
23340 int
23341 main ()
23342 {
23343 return jn ();
23344 ;
23345 return 0;
23346 }
23347 _ACEOF
23348 if ac_fn_c_try_link "$LINENO"; then :
23349 ac_cv_lib_m_jn=yes
23350 else
23351 ac_cv_lib_m_jn=no
23352 fi
23353 rm -f core conftest.err conftest.$ac_objext \
23354 conftest$ac_exeext conftest.$ac_ext
23355 LIBS=$ac_check_lib_save_LIBS
23356 fi
23357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jn" >&5
23358 $as_echo "$ac_cv_lib_m_jn" >&6; }
23359 if test "x$ac_cv_lib_m_jn" = x""yes; then :
23360
23361 $as_echo "#define HAVE_JN 1" >>confdefs.h
23362
23363 fi
23364
23365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
23366 $as_echo_n "checking for jnl in -lm... " >&6; }
23367 if test "${ac_cv_lib_m_jnl+set}" = set; then :
23368 $as_echo_n "(cached) " >&6
23369 else
23370 ac_check_lib_save_LIBS=$LIBS
23371 LIBS="-lm $LIBS"
23372 if test x$gcc_no_link = xyes; then
23373 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23374 fi
23375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23376 /* end confdefs.h. */
23377
23378 /* Override any GCC internal prototype to avoid an error.
23379 Use char because int might match the return type of a GCC
23380 builtin and then its argument prototype would still apply. */
23381 #ifdef __cplusplus
23382 extern "C"
23383 #endif
23384 char jnl ();
23385 int
23386 main ()
23387 {
23388 return jnl ();
23389 ;
23390 return 0;
23391 }
23392 _ACEOF
23393 if ac_fn_c_try_link "$LINENO"; then :
23394 ac_cv_lib_m_jnl=yes
23395 else
23396 ac_cv_lib_m_jnl=no
23397 fi
23398 rm -f core conftest.err conftest.$ac_objext \
23399 conftest$ac_exeext conftest.$ac_ext
23400 LIBS=$ac_check_lib_save_LIBS
23401 fi
23402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnl" >&5
23403 $as_echo "$ac_cv_lib_m_jnl" >&6; }
23404 if test "x$ac_cv_lib_m_jnl" = x""yes; then :
23405
23406 $as_echo "#define HAVE_JNL 1" >>confdefs.h
23407
23408 fi
23409
23410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
23411 $as_echo_n "checking for y0f in -lm... " >&6; }
23412 if test "${ac_cv_lib_m_y0f+set}" = set; then :
23413 $as_echo_n "(cached) " >&6
23414 else
23415 ac_check_lib_save_LIBS=$LIBS
23416 LIBS="-lm $LIBS"
23417 if test x$gcc_no_link = xyes; then
23418 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23419 fi
23420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23421 /* end confdefs.h. */
23422
23423 /* Override any GCC internal prototype to avoid an error.
23424 Use char because int might match the return type of a GCC
23425 builtin and then its argument prototype would still apply. */
23426 #ifdef __cplusplus
23427 extern "C"
23428 #endif
23429 char y0f ();
23430 int
23431 main ()
23432 {
23433 return y0f ();
23434 ;
23435 return 0;
23436 }
23437 _ACEOF
23438 if ac_fn_c_try_link "$LINENO"; then :
23439 ac_cv_lib_m_y0f=yes
23440 else
23441 ac_cv_lib_m_y0f=no
23442 fi
23443 rm -f core conftest.err conftest.$ac_objext \
23444 conftest$ac_exeext conftest.$ac_ext
23445 LIBS=$ac_check_lib_save_LIBS
23446 fi
23447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0f" >&5
23448 $as_echo "$ac_cv_lib_m_y0f" >&6; }
23449 if test "x$ac_cv_lib_m_y0f" = x""yes; then :
23450
23451 $as_echo "#define HAVE_Y0F 1" >>confdefs.h
23452
23453 fi
23454
23455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
23456 $as_echo_n "checking for y0 in -lm... " >&6; }
23457 if test "${ac_cv_lib_m_y0+set}" = set; then :
23458 $as_echo_n "(cached) " >&6
23459 else
23460 ac_check_lib_save_LIBS=$LIBS
23461 LIBS="-lm $LIBS"
23462 if test x$gcc_no_link = xyes; then
23463 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23464 fi
23465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23466 /* end confdefs.h. */
23467
23468 /* Override any GCC internal prototype to avoid an error.
23469 Use char because int might match the return type of a GCC
23470 builtin and then its argument prototype would still apply. */
23471 #ifdef __cplusplus
23472 extern "C"
23473 #endif
23474 char y0 ();
23475 int
23476 main ()
23477 {
23478 return y0 ();
23479 ;
23480 return 0;
23481 }
23482 _ACEOF
23483 if ac_fn_c_try_link "$LINENO"; then :
23484 ac_cv_lib_m_y0=yes
23485 else
23486 ac_cv_lib_m_y0=no
23487 fi
23488 rm -f core conftest.err conftest.$ac_objext \
23489 conftest$ac_exeext conftest.$ac_ext
23490 LIBS=$ac_check_lib_save_LIBS
23491 fi
23492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0" >&5
23493 $as_echo "$ac_cv_lib_m_y0" >&6; }
23494 if test "x$ac_cv_lib_m_y0" = x""yes; then :
23495
23496 $as_echo "#define HAVE_Y0 1" >>confdefs.h
23497
23498 fi
23499
23500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
23501 $as_echo_n "checking for y0l in -lm... " >&6; }
23502 if test "${ac_cv_lib_m_y0l+set}" = set; then :
23503 $as_echo_n "(cached) " >&6
23504 else
23505 ac_check_lib_save_LIBS=$LIBS
23506 LIBS="-lm $LIBS"
23507 if test x$gcc_no_link = xyes; then
23508 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23509 fi
23510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23511 /* end confdefs.h. */
23512
23513 /* Override any GCC internal prototype to avoid an error.
23514 Use char because int might match the return type of a GCC
23515 builtin and then its argument prototype would still apply. */
23516 #ifdef __cplusplus
23517 extern "C"
23518 #endif
23519 char y0l ();
23520 int
23521 main ()
23522 {
23523 return y0l ();
23524 ;
23525 return 0;
23526 }
23527 _ACEOF
23528 if ac_fn_c_try_link "$LINENO"; then :
23529 ac_cv_lib_m_y0l=yes
23530 else
23531 ac_cv_lib_m_y0l=no
23532 fi
23533 rm -f core conftest.err conftest.$ac_objext \
23534 conftest$ac_exeext conftest.$ac_ext
23535 LIBS=$ac_check_lib_save_LIBS
23536 fi
23537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0l" >&5
23538 $as_echo "$ac_cv_lib_m_y0l" >&6; }
23539 if test "x$ac_cv_lib_m_y0l" = x""yes; then :
23540
23541 $as_echo "#define HAVE_Y0L 1" >>confdefs.h
23542
23543 fi
23544
23545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
23546 $as_echo_n "checking for y1f in -lm... " >&6; }
23547 if test "${ac_cv_lib_m_y1f+set}" = set; then :
23548 $as_echo_n "(cached) " >&6
23549 else
23550 ac_check_lib_save_LIBS=$LIBS
23551 LIBS="-lm $LIBS"
23552 if test x$gcc_no_link = xyes; then
23553 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23554 fi
23555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23556 /* end confdefs.h. */
23557
23558 /* Override any GCC internal prototype to avoid an error.
23559 Use char because int might match the return type of a GCC
23560 builtin and then its argument prototype would still apply. */
23561 #ifdef __cplusplus
23562 extern "C"
23563 #endif
23564 char y1f ();
23565 int
23566 main ()
23567 {
23568 return y1f ();
23569 ;
23570 return 0;
23571 }
23572 _ACEOF
23573 if ac_fn_c_try_link "$LINENO"; then :
23574 ac_cv_lib_m_y1f=yes
23575 else
23576 ac_cv_lib_m_y1f=no
23577 fi
23578 rm -f core conftest.err conftest.$ac_objext \
23579 conftest$ac_exeext conftest.$ac_ext
23580 LIBS=$ac_check_lib_save_LIBS
23581 fi
23582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1f" >&5
23583 $as_echo "$ac_cv_lib_m_y1f" >&6; }
23584 if test "x$ac_cv_lib_m_y1f" = x""yes; then :
23585
23586 $as_echo "#define HAVE_Y1F 1" >>confdefs.h
23587
23588 fi
23589
23590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
23591 $as_echo_n "checking for y1 in -lm... " >&6; }
23592 if test "${ac_cv_lib_m_y1+set}" = set; then :
23593 $as_echo_n "(cached) " >&6
23594 else
23595 ac_check_lib_save_LIBS=$LIBS
23596 LIBS="-lm $LIBS"
23597 if test x$gcc_no_link = xyes; then
23598 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23599 fi
23600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23601 /* end confdefs.h. */
23602
23603 /* Override any GCC internal prototype to avoid an error.
23604 Use char because int might match the return type of a GCC
23605 builtin and then its argument prototype would still apply. */
23606 #ifdef __cplusplus
23607 extern "C"
23608 #endif
23609 char y1 ();
23610 int
23611 main ()
23612 {
23613 return y1 ();
23614 ;
23615 return 0;
23616 }
23617 _ACEOF
23618 if ac_fn_c_try_link "$LINENO"; then :
23619 ac_cv_lib_m_y1=yes
23620 else
23621 ac_cv_lib_m_y1=no
23622 fi
23623 rm -f core conftest.err conftest.$ac_objext \
23624 conftest$ac_exeext conftest.$ac_ext
23625 LIBS=$ac_check_lib_save_LIBS
23626 fi
23627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1" >&5
23628 $as_echo "$ac_cv_lib_m_y1" >&6; }
23629 if test "x$ac_cv_lib_m_y1" = x""yes; then :
23630
23631 $as_echo "#define HAVE_Y1 1" >>confdefs.h
23632
23633 fi
23634
23635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
23636 $as_echo_n "checking for y1l in -lm... " >&6; }
23637 if test "${ac_cv_lib_m_y1l+set}" = set; then :
23638 $as_echo_n "(cached) " >&6
23639 else
23640 ac_check_lib_save_LIBS=$LIBS
23641 LIBS="-lm $LIBS"
23642 if test x$gcc_no_link = xyes; then
23643 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23644 fi
23645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23646 /* end confdefs.h. */
23647
23648 /* Override any GCC internal prototype to avoid an error.
23649 Use char because int might match the return type of a GCC
23650 builtin and then its argument prototype would still apply. */
23651 #ifdef __cplusplus
23652 extern "C"
23653 #endif
23654 char y1l ();
23655 int
23656 main ()
23657 {
23658 return y1l ();
23659 ;
23660 return 0;
23661 }
23662 _ACEOF
23663 if ac_fn_c_try_link "$LINENO"; then :
23664 ac_cv_lib_m_y1l=yes
23665 else
23666 ac_cv_lib_m_y1l=no
23667 fi
23668 rm -f core conftest.err conftest.$ac_objext \
23669 conftest$ac_exeext conftest.$ac_ext
23670 LIBS=$ac_check_lib_save_LIBS
23671 fi
23672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1l" >&5
23673 $as_echo "$ac_cv_lib_m_y1l" >&6; }
23674 if test "x$ac_cv_lib_m_y1l" = x""yes; then :
23675
23676 $as_echo "#define HAVE_Y1L 1" >>confdefs.h
23677
23678 fi
23679
23680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
23681 $as_echo_n "checking for ynf in -lm... " >&6; }
23682 if test "${ac_cv_lib_m_ynf+set}" = set; then :
23683 $as_echo_n "(cached) " >&6
23684 else
23685 ac_check_lib_save_LIBS=$LIBS
23686 LIBS="-lm $LIBS"
23687 if test x$gcc_no_link = xyes; then
23688 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23689 fi
23690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23691 /* end confdefs.h. */
23692
23693 /* Override any GCC internal prototype to avoid an error.
23694 Use char because int might match the return type of a GCC
23695 builtin and then its argument prototype would still apply. */
23696 #ifdef __cplusplus
23697 extern "C"
23698 #endif
23699 char ynf ();
23700 int
23701 main ()
23702 {
23703 return ynf ();
23704 ;
23705 return 0;
23706 }
23707 _ACEOF
23708 if ac_fn_c_try_link "$LINENO"; then :
23709 ac_cv_lib_m_ynf=yes
23710 else
23711 ac_cv_lib_m_ynf=no
23712 fi
23713 rm -f core conftest.err conftest.$ac_objext \
23714 conftest$ac_exeext conftest.$ac_ext
23715 LIBS=$ac_check_lib_save_LIBS
23716 fi
23717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynf" >&5
23718 $as_echo "$ac_cv_lib_m_ynf" >&6; }
23719 if test "x$ac_cv_lib_m_ynf" = x""yes; then :
23720
23721 $as_echo "#define HAVE_YNF 1" >>confdefs.h
23722
23723 fi
23724
23725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
23726 $as_echo_n "checking for yn in -lm... " >&6; }
23727 if test "${ac_cv_lib_m_yn+set}" = set; then :
23728 $as_echo_n "(cached) " >&6
23729 else
23730 ac_check_lib_save_LIBS=$LIBS
23731 LIBS="-lm $LIBS"
23732 if test x$gcc_no_link = xyes; then
23733 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23734 fi
23735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23736 /* end confdefs.h. */
23737
23738 /* Override any GCC internal prototype to avoid an error.
23739 Use char because int might match the return type of a GCC
23740 builtin and then its argument prototype would still apply. */
23741 #ifdef __cplusplus
23742 extern "C"
23743 #endif
23744 char yn ();
23745 int
23746 main ()
23747 {
23748 return yn ();
23749 ;
23750 return 0;
23751 }
23752 _ACEOF
23753 if ac_fn_c_try_link "$LINENO"; then :
23754 ac_cv_lib_m_yn=yes
23755 else
23756 ac_cv_lib_m_yn=no
23757 fi
23758 rm -f core conftest.err conftest.$ac_objext \
23759 conftest$ac_exeext conftest.$ac_ext
23760 LIBS=$ac_check_lib_save_LIBS
23761 fi
23762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_yn" >&5
23763 $as_echo "$ac_cv_lib_m_yn" >&6; }
23764 if test "x$ac_cv_lib_m_yn" = x""yes; then :
23765
23766 $as_echo "#define HAVE_YN 1" >>confdefs.h
23767
23768 fi
23769
23770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
23771 $as_echo_n "checking for ynl in -lm... " >&6; }
23772 if test "${ac_cv_lib_m_ynl+set}" = set; then :
23773 $as_echo_n "(cached) " >&6
23774 else
23775 ac_check_lib_save_LIBS=$LIBS
23776 LIBS="-lm $LIBS"
23777 if test x$gcc_no_link = xyes; then
23778 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23779 fi
23780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23781 /* end confdefs.h. */
23782
23783 /* Override any GCC internal prototype to avoid an error.
23784 Use char because int might match the return type of a GCC
23785 builtin and then its argument prototype would still apply. */
23786 #ifdef __cplusplus
23787 extern "C"
23788 #endif
23789 char ynl ();
23790 int
23791 main ()
23792 {
23793 return ynl ();
23794 ;
23795 return 0;
23796 }
23797 _ACEOF
23798 if ac_fn_c_try_link "$LINENO"; then :
23799 ac_cv_lib_m_ynl=yes
23800 else
23801 ac_cv_lib_m_ynl=no
23802 fi
23803 rm -f core conftest.err conftest.$ac_objext \
23804 conftest$ac_exeext conftest.$ac_ext
23805 LIBS=$ac_check_lib_save_LIBS
23806 fi
23807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynl" >&5
23808 $as_echo "$ac_cv_lib_m_ynl" >&6; }
23809 if test "x$ac_cv_lib_m_ynl" = x""yes; then :
23810
23811 $as_echo "#define HAVE_YNL 1" >>confdefs.h
23812
23813 fi
23814
23815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
23816 $as_echo_n "checking for tgamma in -lm... " >&6; }
23817 if test "${ac_cv_lib_m_tgamma+set}" = set; then :
23818 $as_echo_n "(cached) " >&6
23819 else
23820 ac_check_lib_save_LIBS=$LIBS
23821 LIBS="-lm $LIBS"
23822 if test x$gcc_no_link = xyes; then
23823 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23824 fi
23825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23826 /* end confdefs.h. */
23827
23828 /* Override any GCC internal prototype to avoid an error.
23829 Use char because int might match the return type of a GCC
23830 builtin and then its argument prototype would still apply. */
23831 #ifdef __cplusplus
23832 extern "C"
23833 #endif
23834 char tgamma ();
23835 int
23836 main ()
23837 {
23838 return tgamma ();
23839 ;
23840 return 0;
23841 }
23842 _ACEOF
23843 if ac_fn_c_try_link "$LINENO"; then :
23844 ac_cv_lib_m_tgamma=yes
23845 else
23846 ac_cv_lib_m_tgamma=no
23847 fi
23848 rm -f core conftest.err conftest.$ac_objext \
23849 conftest$ac_exeext conftest.$ac_ext
23850 LIBS=$ac_check_lib_save_LIBS
23851 fi
23852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgamma" >&5
23853 $as_echo "$ac_cv_lib_m_tgamma" >&6; }
23854 if test "x$ac_cv_lib_m_tgamma" = x""yes; then :
23855
23856 $as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23857
23858 fi
23859
23860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23861 $as_echo_n "checking for tgammaf in -lm... " >&6; }
23862 if test "${ac_cv_lib_m_tgammaf+set}" = set; then :
23863 $as_echo_n "(cached) " >&6
23864 else
23865 ac_check_lib_save_LIBS=$LIBS
23866 LIBS="-lm $LIBS"
23867 if test x$gcc_no_link = xyes; then
23868 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23869 fi
23870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23871 /* end confdefs.h. */
23872
23873 /* Override any GCC internal prototype to avoid an error.
23874 Use char because int might match the return type of a GCC
23875 builtin and then its argument prototype would still apply. */
23876 #ifdef __cplusplus
23877 extern "C"
23878 #endif
23879 char tgammaf ();
23880 int
23881 main ()
23882 {
23883 return tgammaf ();
23884 ;
23885 return 0;
23886 }
23887 _ACEOF
23888 if ac_fn_c_try_link "$LINENO"; then :
23889 ac_cv_lib_m_tgammaf=yes
23890 else
23891 ac_cv_lib_m_tgammaf=no
23892 fi
23893 rm -f core conftest.err conftest.$ac_objext \
23894 conftest$ac_exeext conftest.$ac_ext
23895 LIBS=$ac_check_lib_save_LIBS
23896 fi
23897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammaf" >&5
23898 $as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23899 if test "x$ac_cv_lib_m_tgammaf" = x""yes; then :
23900
23901 $as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23902
23903 fi
23904
23905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23906 $as_echo_n "checking for tgammal in -lm... " >&6; }
23907 if test "${ac_cv_lib_m_tgammal+set}" = set; then :
23908 $as_echo_n "(cached) " >&6
23909 else
23910 ac_check_lib_save_LIBS=$LIBS
23911 LIBS="-lm $LIBS"
23912 if test x$gcc_no_link = xyes; then
23913 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23914 fi
23915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23916 /* end confdefs.h. */
23917
23918 /* Override any GCC internal prototype to avoid an error.
23919 Use char because int might match the return type of a GCC
23920 builtin and then its argument prototype would still apply. */
23921 #ifdef __cplusplus
23922 extern "C"
23923 #endif
23924 char tgammal ();
23925 int
23926 main ()
23927 {
23928 return tgammal ();
23929 ;
23930 return 0;
23931 }
23932 _ACEOF
23933 if ac_fn_c_try_link "$LINENO"; then :
23934 ac_cv_lib_m_tgammal=yes
23935 else
23936 ac_cv_lib_m_tgammal=no
23937 fi
23938 rm -f core conftest.err conftest.$ac_objext \
23939 conftest$ac_exeext conftest.$ac_ext
23940 LIBS=$ac_check_lib_save_LIBS
23941 fi
23942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammal" >&5
23943 $as_echo "$ac_cv_lib_m_tgammal" >&6; }
23944 if test "x$ac_cv_lib_m_tgammal" = x""yes; then :
23945
23946 $as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23947
23948 fi
23949
23950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23951 $as_echo_n "checking for lgamma in -lm... " >&6; }
23952 if test "${ac_cv_lib_m_lgamma+set}" = set; then :
23953 $as_echo_n "(cached) " >&6
23954 else
23955 ac_check_lib_save_LIBS=$LIBS
23956 LIBS="-lm $LIBS"
23957 if test x$gcc_no_link = xyes; then
23958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23959 fi
23960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23961 /* end confdefs.h. */
23962
23963 /* Override any GCC internal prototype to avoid an error.
23964 Use char because int might match the return type of a GCC
23965 builtin and then its argument prototype would still apply. */
23966 #ifdef __cplusplus
23967 extern "C"
23968 #endif
23969 char lgamma ();
23970 int
23971 main ()
23972 {
23973 return lgamma ();
23974 ;
23975 return 0;
23976 }
23977 _ACEOF
23978 if ac_fn_c_try_link "$LINENO"; then :
23979 ac_cv_lib_m_lgamma=yes
23980 else
23981 ac_cv_lib_m_lgamma=no
23982 fi
23983 rm -f core conftest.err conftest.$ac_objext \
23984 conftest$ac_exeext conftest.$ac_ext
23985 LIBS=$ac_check_lib_save_LIBS
23986 fi
23987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgamma" >&5
23988 $as_echo "$ac_cv_lib_m_lgamma" >&6; }
23989 if test "x$ac_cv_lib_m_lgamma" = x""yes; then :
23990
23991 $as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23992
23993 fi
23994
23995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23996 $as_echo_n "checking for lgammaf in -lm... " >&6; }
23997 if test "${ac_cv_lib_m_lgammaf+set}" = set; then :
23998 $as_echo_n "(cached) " >&6
23999 else
24000 ac_check_lib_save_LIBS=$LIBS
24001 LIBS="-lm $LIBS"
24002 if test x$gcc_no_link = xyes; then
24003 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24004 fi
24005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24006 /* end confdefs.h. */
24007
24008 /* Override any GCC internal prototype to avoid an error.
24009 Use char because int might match the return type of a GCC
24010 builtin and then its argument prototype would still apply. */
24011 #ifdef __cplusplus
24012 extern "C"
24013 #endif
24014 char lgammaf ();
24015 int
24016 main ()
24017 {
24018 return lgammaf ();
24019 ;
24020 return 0;
24021 }
24022 _ACEOF
24023 if ac_fn_c_try_link "$LINENO"; then :
24024 ac_cv_lib_m_lgammaf=yes
24025 else
24026 ac_cv_lib_m_lgammaf=no
24027 fi
24028 rm -f core conftest.err conftest.$ac_objext \
24029 conftest$ac_exeext conftest.$ac_ext
24030 LIBS=$ac_check_lib_save_LIBS
24031 fi
24032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammaf" >&5
24033 $as_echo "$ac_cv_lib_m_lgammaf" >&6; }
24034 if test "x$ac_cv_lib_m_lgammaf" = x""yes; then :
24035
24036 $as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
24037
24038 fi
24039
24040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
24041 $as_echo_n "checking for lgammal in -lm... " >&6; }
24042 if test "${ac_cv_lib_m_lgammal+set}" = set; then :
24043 $as_echo_n "(cached) " >&6
24044 else
24045 ac_check_lib_save_LIBS=$LIBS
24046 LIBS="-lm $LIBS"
24047 if test x$gcc_no_link = xyes; then
24048 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24049 fi
24050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24051 /* end confdefs.h. */
24052
24053 /* Override any GCC internal prototype to avoid an error.
24054 Use char because int might match the return type of a GCC
24055 builtin and then its argument prototype would still apply. */
24056 #ifdef __cplusplus
24057 extern "C"
24058 #endif
24059 char lgammal ();
24060 int
24061 main ()
24062 {
24063 return lgammal ();
24064 ;
24065 return 0;
24066 }
24067 _ACEOF
24068 if ac_fn_c_try_link "$LINENO"; then :
24069 ac_cv_lib_m_lgammal=yes
24070 else
24071 ac_cv_lib_m_lgammal=no
24072 fi
24073 rm -f core conftest.err conftest.$ac_objext \
24074 conftest$ac_exeext conftest.$ac_ext
24075 LIBS=$ac_check_lib_save_LIBS
24076 fi
24077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammal" >&5
24078 $as_echo "$ac_cv_lib_m_lgammal" >&6; }
24079 if test "x$ac_cv_lib_m_lgammal" = x""yes; then :
24080
24081 $as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
24082
24083 fi
24084
24085
24086 # Check for GFORTRAN_C99_1.1 funcs
24087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos in -lm" >&5
24088 $as_echo_n "checking for cacos in -lm... " >&6; }
24089 if test "${ac_cv_lib_m_cacos+set}" = set; then :
24090 $as_echo_n "(cached) " >&6
24091 else
24092 ac_check_lib_save_LIBS=$LIBS
24093 LIBS="-lm $LIBS"
24094 if test x$gcc_no_link = xyes; then
24095 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24096 fi
24097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24098 /* end confdefs.h. */
24099
24100 /* Override any GCC internal prototype to avoid an error.
24101 Use char because int might match the return type of a GCC
24102 builtin and then its argument prototype would still apply. */
24103 #ifdef __cplusplus
24104 extern "C"
24105 #endif
24106 char cacos ();
24107 int
24108 main ()
24109 {
24110 return cacos ();
24111 ;
24112 return 0;
24113 }
24114 _ACEOF
24115 if ac_fn_c_try_link "$LINENO"; then :
24116 ac_cv_lib_m_cacos=yes
24117 else
24118 ac_cv_lib_m_cacos=no
24119 fi
24120 rm -f core conftest.err conftest.$ac_objext \
24121 conftest$ac_exeext conftest.$ac_ext
24122 LIBS=$ac_check_lib_save_LIBS
24123 fi
24124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacos" >&5
24125 $as_echo "$ac_cv_lib_m_cacos" >&6; }
24126 if test "x$ac_cv_lib_m_cacos" = x""yes; then :
24127
24128 $as_echo "#define HAVE_CACOS 1" >>confdefs.h
24129
24130 fi
24131
24132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf in -lm" >&5
24133 $as_echo_n "checking for cacosf in -lm... " >&6; }
24134 if test "${ac_cv_lib_m_cacosf+set}" = set; then :
24135 $as_echo_n "(cached) " >&6
24136 else
24137 ac_check_lib_save_LIBS=$LIBS
24138 LIBS="-lm $LIBS"
24139 if test x$gcc_no_link = xyes; then
24140 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24141 fi
24142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24143 /* end confdefs.h. */
24144
24145 /* Override any GCC internal prototype to avoid an error.
24146 Use char because int might match the return type of a GCC
24147 builtin and then its argument prototype would still apply. */
24148 #ifdef __cplusplus
24149 extern "C"
24150 #endif
24151 char cacosf ();
24152 int
24153 main ()
24154 {
24155 return cacosf ();
24156 ;
24157 return 0;
24158 }
24159 _ACEOF
24160 if ac_fn_c_try_link "$LINENO"; then :
24161 ac_cv_lib_m_cacosf=yes
24162 else
24163 ac_cv_lib_m_cacosf=no
24164 fi
24165 rm -f core conftest.err conftest.$ac_objext \
24166 conftest$ac_exeext conftest.$ac_ext
24167 LIBS=$ac_check_lib_save_LIBS
24168 fi
24169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosf" >&5
24170 $as_echo "$ac_cv_lib_m_cacosf" >&6; }
24171 if test "x$ac_cv_lib_m_cacosf" = x""yes; then :
24172
24173 $as_echo "#define HAVE_CACOSF 1" >>confdefs.h
24174
24175 fi
24176
24177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh in -lm" >&5
24178 $as_echo_n "checking for cacosh in -lm... " >&6; }
24179 if test "${ac_cv_lib_m_cacosh+set}" = set; then :
24180 $as_echo_n "(cached) " >&6
24181 else
24182 ac_check_lib_save_LIBS=$LIBS
24183 LIBS="-lm $LIBS"
24184 if test x$gcc_no_link = xyes; then
24185 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24186 fi
24187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24188 /* end confdefs.h. */
24189
24190 /* Override any GCC internal prototype to avoid an error.
24191 Use char because int might match the return type of a GCC
24192 builtin and then its argument prototype would still apply. */
24193 #ifdef __cplusplus
24194 extern "C"
24195 #endif
24196 char cacosh ();
24197 int
24198 main ()
24199 {
24200 return cacosh ();
24201 ;
24202 return 0;
24203 }
24204 _ACEOF
24205 if ac_fn_c_try_link "$LINENO"; then :
24206 ac_cv_lib_m_cacosh=yes
24207 else
24208 ac_cv_lib_m_cacosh=no
24209 fi
24210 rm -f core conftest.err conftest.$ac_objext \
24211 conftest$ac_exeext conftest.$ac_ext
24212 LIBS=$ac_check_lib_save_LIBS
24213 fi
24214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosh" >&5
24215 $as_echo "$ac_cv_lib_m_cacosh" >&6; }
24216 if test "x$ac_cv_lib_m_cacosh" = x""yes; then :
24217
24218 $as_echo "#define HAVE_CACOSH 1" >>confdefs.h
24219
24220 fi
24221
24222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf in -lm" >&5
24223 $as_echo_n "checking for cacoshf in -lm... " >&6; }
24224 if test "${ac_cv_lib_m_cacoshf+set}" = set; then :
24225 $as_echo_n "(cached) " >&6
24226 else
24227 ac_check_lib_save_LIBS=$LIBS
24228 LIBS="-lm $LIBS"
24229 if test x$gcc_no_link = xyes; then
24230 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24231 fi
24232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24233 /* end confdefs.h. */
24234
24235 /* Override any GCC internal prototype to avoid an error.
24236 Use char because int might match the return type of a GCC
24237 builtin and then its argument prototype would still apply. */
24238 #ifdef __cplusplus
24239 extern "C"
24240 #endif
24241 char cacoshf ();
24242 int
24243 main ()
24244 {
24245 return cacoshf ();
24246 ;
24247 return 0;
24248 }
24249 _ACEOF
24250 if ac_fn_c_try_link "$LINENO"; then :
24251 ac_cv_lib_m_cacoshf=yes
24252 else
24253 ac_cv_lib_m_cacoshf=no
24254 fi
24255 rm -f core conftest.err conftest.$ac_objext \
24256 conftest$ac_exeext conftest.$ac_ext
24257 LIBS=$ac_check_lib_save_LIBS
24258 fi
24259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshf" >&5
24260 $as_echo "$ac_cv_lib_m_cacoshf" >&6; }
24261 if test "x$ac_cv_lib_m_cacoshf" = x""yes; then :
24262
24263 $as_echo "#define HAVE_CACOSHF 1" >>confdefs.h
24264
24265 fi
24266
24267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl in -lm" >&5
24268 $as_echo_n "checking for cacoshl in -lm... " >&6; }
24269 if test "${ac_cv_lib_m_cacoshl+set}" = set; then :
24270 $as_echo_n "(cached) " >&6
24271 else
24272 ac_check_lib_save_LIBS=$LIBS
24273 LIBS="-lm $LIBS"
24274 if test x$gcc_no_link = xyes; then
24275 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24276 fi
24277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24278 /* end confdefs.h. */
24279
24280 /* Override any GCC internal prototype to avoid an error.
24281 Use char because int might match the return type of a GCC
24282 builtin and then its argument prototype would still apply. */
24283 #ifdef __cplusplus
24284 extern "C"
24285 #endif
24286 char cacoshl ();
24287 int
24288 main ()
24289 {
24290 return cacoshl ();
24291 ;
24292 return 0;
24293 }
24294 _ACEOF
24295 if ac_fn_c_try_link "$LINENO"; then :
24296 ac_cv_lib_m_cacoshl=yes
24297 else
24298 ac_cv_lib_m_cacoshl=no
24299 fi
24300 rm -f core conftest.err conftest.$ac_objext \
24301 conftest$ac_exeext conftest.$ac_ext
24302 LIBS=$ac_check_lib_save_LIBS
24303 fi
24304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshl" >&5
24305 $as_echo "$ac_cv_lib_m_cacoshl" >&6; }
24306 if test "x$ac_cv_lib_m_cacoshl" = x""yes; then :
24307
24308 $as_echo "#define HAVE_CACOSHL 1" >>confdefs.h
24309
24310 fi
24311
24312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl in -lm" >&5
24313 $as_echo_n "checking for cacosl in -lm... " >&6; }
24314 if test "${ac_cv_lib_m_cacosl+set}" = set; then :
24315 $as_echo_n "(cached) " >&6
24316 else
24317 ac_check_lib_save_LIBS=$LIBS
24318 LIBS="-lm $LIBS"
24319 if test x$gcc_no_link = xyes; then
24320 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24321 fi
24322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24323 /* end confdefs.h. */
24324
24325 /* Override any GCC internal prototype to avoid an error.
24326 Use char because int might match the return type of a GCC
24327 builtin and then its argument prototype would still apply. */
24328 #ifdef __cplusplus
24329 extern "C"
24330 #endif
24331 char cacosl ();
24332 int
24333 main ()
24334 {
24335 return cacosl ();
24336 ;
24337 return 0;
24338 }
24339 _ACEOF
24340 if ac_fn_c_try_link "$LINENO"; then :
24341 ac_cv_lib_m_cacosl=yes
24342 else
24343 ac_cv_lib_m_cacosl=no
24344 fi
24345 rm -f core conftest.err conftest.$ac_objext \
24346 conftest$ac_exeext conftest.$ac_ext
24347 LIBS=$ac_check_lib_save_LIBS
24348 fi
24349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosl" >&5
24350 $as_echo "$ac_cv_lib_m_cacosl" >&6; }
24351 if test "x$ac_cv_lib_m_cacosl" = x""yes; then :
24352
24353 $as_echo "#define HAVE_CACOSL 1" >>confdefs.h
24354
24355 fi
24356
24357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin in -lm" >&5
24358 $as_echo_n "checking for casin in -lm... " >&6; }
24359 if test "${ac_cv_lib_m_casin+set}" = set; then :
24360 $as_echo_n "(cached) " >&6
24361 else
24362 ac_check_lib_save_LIBS=$LIBS
24363 LIBS="-lm $LIBS"
24364 if test x$gcc_no_link = xyes; then
24365 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24366 fi
24367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24368 /* end confdefs.h. */
24369
24370 /* Override any GCC internal prototype to avoid an error.
24371 Use char because int might match the return type of a GCC
24372 builtin and then its argument prototype would still apply. */
24373 #ifdef __cplusplus
24374 extern "C"
24375 #endif
24376 char casin ();
24377 int
24378 main ()
24379 {
24380 return casin ();
24381 ;
24382 return 0;
24383 }
24384 _ACEOF
24385 if ac_fn_c_try_link "$LINENO"; then :
24386 ac_cv_lib_m_casin=yes
24387 else
24388 ac_cv_lib_m_casin=no
24389 fi
24390 rm -f core conftest.err conftest.$ac_objext \
24391 conftest$ac_exeext conftest.$ac_ext
24392 LIBS=$ac_check_lib_save_LIBS
24393 fi
24394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casin" >&5
24395 $as_echo "$ac_cv_lib_m_casin" >&6; }
24396 if test "x$ac_cv_lib_m_casin" = x""yes; then :
24397
24398 $as_echo "#define HAVE_CASIN 1" >>confdefs.h
24399
24400 fi
24401
24402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf in -lm" >&5
24403 $as_echo_n "checking for casinf in -lm... " >&6; }
24404 if test "${ac_cv_lib_m_casinf+set}" = set; then :
24405 $as_echo_n "(cached) " >&6
24406 else
24407 ac_check_lib_save_LIBS=$LIBS
24408 LIBS="-lm $LIBS"
24409 if test x$gcc_no_link = xyes; then
24410 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24411 fi
24412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24413 /* end confdefs.h. */
24414
24415 /* Override any GCC internal prototype to avoid an error.
24416 Use char because int might match the return type of a GCC
24417 builtin and then its argument prototype would still apply. */
24418 #ifdef __cplusplus
24419 extern "C"
24420 #endif
24421 char casinf ();
24422 int
24423 main ()
24424 {
24425 return casinf ();
24426 ;
24427 return 0;
24428 }
24429 _ACEOF
24430 if ac_fn_c_try_link "$LINENO"; then :
24431 ac_cv_lib_m_casinf=yes
24432 else
24433 ac_cv_lib_m_casinf=no
24434 fi
24435 rm -f core conftest.err conftest.$ac_objext \
24436 conftest$ac_exeext conftest.$ac_ext
24437 LIBS=$ac_check_lib_save_LIBS
24438 fi
24439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinf" >&5
24440 $as_echo "$ac_cv_lib_m_casinf" >&6; }
24441 if test "x$ac_cv_lib_m_casinf" = x""yes; then :
24442
24443 $as_echo "#define HAVE_CASINF 1" >>confdefs.h
24444
24445 fi
24446
24447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh in -lm" >&5
24448 $as_echo_n "checking for casinh in -lm... " >&6; }
24449 if test "${ac_cv_lib_m_casinh+set}" = set; then :
24450 $as_echo_n "(cached) " >&6
24451 else
24452 ac_check_lib_save_LIBS=$LIBS
24453 LIBS="-lm $LIBS"
24454 if test x$gcc_no_link = xyes; then
24455 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24456 fi
24457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24458 /* end confdefs.h. */
24459
24460 /* Override any GCC internal prototype to avoid an error.
24461 Use char because int might match the return type of a GCC
24462 builtin and then its argument prototype would still apply. */
24463 #ifdef __cplusplus
24464 extern "C"
24465 #endif
24466 char casinh ();
24467 int
24468 main ()
24469 {
24470 return casinh ();
24471 ;
24472 return 0;
24473 }
24474 _ACEOF
24475 if ac_fn_c_try_link "$LINENO"; then :
24476 ac_cv_lib_m_casinh=yes
24477 else
24478 ac_cv_lib_m_casinh=no
24479 fi
24480 rm -f core conftest.err conftest.$ac_objext \
24481 conftest$ac_exeext conftest.$ac_ext
24482 LIBS=$ac_check_lib_save_LIBS
24483 fi
24484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinh" >&5
24485 $as_echo "$ac_cv_lib_m_casinh" >&6; }
24486 if test "x$ac_cv_lib_m_casinh" = x""yes; then :
24487
24488 $as_echo "#define HAVE_CASINH 1" >>confdefs.h
24489
24490 fi
24491
24492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf in -lm" >&5
24493 $as_echo_n "checking for casinhf in -lm... " >&6; }
24494 if test "${ac_cv_lib_m_casinhf+set}" = set; then :
24495 $as_echo_n "(cached) " >&6
24496 else
24497 ac_check_lib_save_LIBS=$LIBS
24498 LIBS="-lm $LIBS"
24499 if test x$gcc_no_link = xyes; then
24500 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24501 fi
24502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24503 /* end confdefs.h. */
24504
24505 /* Override any GCC internal prototype to avoid an error.
24506 Use char because int might match the return type of a GCC
24507 builtin and then its argument prototype would still apply. */
24508 #ifdef __cplusplus
24509 extern "C"
24510 #endif
24511 char casinhf ();
24512 int
24513 main ()
24514 {
24515 return casinhf ();
24516 ;
24517 return 0;
24518 }
24519 _ACEOF
24520 if ac_fn_c_try_link "$LINENO"; then :
24521 ac_cv_lib_m_casinhf=yes
24522 else
24523 ac_cv_lib_m_casinhf=no
24524 fi
24525 rm -f core conftest.err conftest.$ac_objext \
24526 conftest$ac_exeext conftest.$ac_ext
24527 LIBS=$ac_check_lib_save_LIBS
24528 fi
24529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhf" >&5
24530 $as_echo "$ac_cv_lib_m_casinhf" >&6; }
24531 if test "x$ac_cv_lib_m_casinhf" = x""yes; then :
24532
24533 $as_echo "#define HAVE_CASINHF 1" >>confdefs.h
24534
24535 fi
24536
24537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl in -lm" >&5
24538 $as_echo_n "checking for casinhl in -lm... " >&6; }
24539 if test "${ac_cv_lib_m_casinhl+set}" = set; then :
24540 $as_echo_n "(cached) " >&6
24541 else
24542 ac_check_lib_save_LIBS=$LIBS
24543 LIBS="-lm $LIBS"
24544 if test x$gcc_no_link = xyes; then
24545 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24546 fi
24547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24548 /* end confdefs.h. */
24549
24550 /* Override any GCC internal prototype to avoid an error.
24551 Use char because int might match the return type of a GCC
24552 builtin and then its argument prototype would still apply. */
24553 #ifdef __cplusplus
24554 extern "C"
24555 #endif
24556 char casinhl ();
24557 int
24558 main ()
24559 {
24560 return casinhl ();
24561 ;
24562 return 0;
24563 }
24564 _ACEOF
24565 if ac_fn_c_try_link "$LINENO"; then :
24566 ac_cv_lib_m_casinhl=yes
24567 else
24568 ac_cv_lib_m_casinhl=no
24569 fi
24570 rm -f core conftest.err conftest.$ac_objext \
24571 conftest$ac_exeext conftest.$ac_ext
24572 LIBS=$ac_check_lib_save_LIBS
24573 fi
24574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhl" >&5
24575 $as_echo "$ac_cv_lib_m_casinhl" >&6; }
24576 if test "x$ac_cv_lib_m_casinhl" = x""yes; then :
24577
24578 $as_echo "#define HAVE_CASINHL 1" >>confdefs.h
24579
24580 fi
24581
24582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl in -lm" >&5
24583 $as_echo_n "checking for casinl in -lm... " >&6; }
24584 if test "${ac_cv_lib_m_casinl+set}" = set; then :
24585 $as_echo_n "(cached) " >&6
24586 else
24587 ac_check_lib_save_LIBS=$LIBS
24588 LIBS="-lm $LIBS"
24589 if test x$gcc_no_link = xyes; then
24590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24591 fi
24592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24593 /* end confdefs.h. */
24594
24595 /* Override any GCC internal prototype to avoid an error.
24596 Use char because int might match the return type of a GCC
24597 builtin and then its argument prototype would still apply. */
24598 #ifdef __cplusplus
24599 extern "C"
24600 #endif
24601 char casinl ();
24602 int
24603 main ()
24604 {
24605 return casinl ();
24606 ;
24607 return 0;
24608 }
24609 _ACEOF
24610 if ac_fn_c_try_link "$LINENO"; then :
24611 ac_cv_lib_m_casinl=yes
24612 else
24613 ac_cv_lib_m_casinl=no
24614 fi
24615 rm -f core conftest.err conftest.$ac_objext \
24616 conftest$ac_exeext conftest.$ac_ext
24617 LIBS=$ac_check_lib_save_LIBS
24618 fi
24619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinl" >&5
24620 $as_echo "$ac_cv_lib_m_casinl" >&6; }
24621 if test "x$ac_cv_lib_m_casinl" = x""yes; then :
24622
24623 $as_echo "#define HAVE_CASINL 1" >>confdefs.h
24624
24625 fi
24626
24627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan in -lm" >&5
24628 $as_echo_n "checking for catan in -lm... " >&6; }
24629 if test "${ac_cv_lib_m_catan+set}" = set; then :
24630 $as_echo_n "(cached) " >&6
24631 else
24632 ac_check_lib_save_LIBS=$LIBS
24633 LIBS="-lm $LIBS"
24634 if test x$gcc_no_link = xyes; then
24635 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24636 fi
24637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24638 /* end confdefs.h. */
24639
24640 /* Override any GCC internal prototype to avoid an error.
24641 Use char because int might match the return type of a GCC
24642 builtin and then its argument prototype would still apply. */
24643 #ifdef __cplusplus
24644 extern "C"
24645 #endif
24646 char catan ();
24647 int
24648 main ()
24649 {
24650 return catan ();
24651 ;
24652 return 0;
24653 }
24654 _ACEOF
24655 if ac_fn_c_try_link "$LINENO"; then :
24656 ac_cv_lib_m_catan=yes
24657 else
24658 ac_cv_lib_m_catan=no
24659 fi
24660 rm -f core conftest.err conftest.$ac_objext \
24661 conftest$ac_exeext conftest.$ac_ext
24662 LIBS=$ac_check_lib_save_LIBS
24663 fi
24664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catan" >&5
24665 $as_echo "$ac_cv_lib_m_catan" >&6; }
24666 if test "x$ac_cv_lib_m_catan" = x""yes; then :
24667
24668 $as_echo "#define HAVE_CATAN 1" >>confdefs.h
24669
24670 fi
24671
24672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf in -lm" >&5
24673 $as_echo_n "checking for catanf in -lm... " >&6; }
24674 if test "${ac_cv_lib_m_catanf+set}" = set; then :
24675 $as_echo_n "(cached) " >&6
24676 else
24677 ac_check_lib_save_LIBS=$LIBS
24678 LIBS="-lm $LIBS"
24679 if test x$gcc_no_link = xyes; then
24680 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24681 fi
24682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24683 /* end confdefs.h. */
24684
24685 /* Override any GCC internal prototype to avoid an error.
24686 Use char because int might match the return type of a GCC
24687 builtin and then its argument prototype would still apply. */
24688 #ifdef __cplusplus
24689 extern "C"
24690 #endif
24691 char catanf ();
24692 int
24693 main ()
24694 {
24695 return catanf ();
24696 ;
24697 return 0;
24698 }
24699 _ACEOF
24700 if ac_fn_c_try_link "$LINENO"; then :
24701 ac_cv_lib_m_catanf=yes
24702 else
24703 ac_cv_lib_m_catanf=no
24704 fi
24705 rm -f core conftest.err conftest.$ac_objext \
24706 conftest$ac_exeext conftest.$ac_ext
24707 LIBS=$ac_check_lib_save_LIBS
24708 fi
24709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanf" >&5
24710 $as_echo "$ac_cv_lib_m_catanf" >&6; }
24711 if test "x$ac_cv_lib_m_catanf" = x""yes; then :
24712
24713 $as_echo "#define HAVE_CATANF 1" >>confdefs.h
24714
24715 fi
24716
24717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh in -lm" >&5
24718 $as_echo_n "checking for catanh in -lm... " >&6; }
24719 if test "${ac_cv_lib_m_catanh+set}" = set; then :
24720 $as_echo_n "(cached) " >&6
24721 else
24722 ac_check_lib_save_LIBS=$LIBS
24723 LIBS="-lm $LIBS"
24724 if test x$gcc_no_link = xyes; then
24725 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24726 fi
24727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24728 /* end confdefs.h. */
24729
24730 /* Override any GCC internal prototype to avoid an error.
24731 Use char because int might match the return type of a GCC
24732 builtin and then its argument prototype would still apply. */
24733 #ifdef __cplusplus
24734 extern "C"
24735 #endif
24736 char catanh ();
24737 int
24738 main ()
24739 {
24740 return catanh ();
24741 ;
24742 return 0;
24743 }
24744 _ACEOF
24745 if ac_fn_c_try_link "$LINENO"; then :
24746 ac_cv_lib_m_catanh=yes
24747 else
24748 ac_cv_lib_m_catanh=no
24749 fi
24750 rm -f core conftest.err conftest.$ac_objext \
24751 conftest$ac_exeext conftest.$ac_ext
24752 LIBS=$ac_check_lib_save_LIBS
24753 fi
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanh" >&5
24755 $as_echo "$ac_cv_lib_m_catanh" >&6; }
24756 if test "x$ac_cv_lib_m_catanh" = x""yes; then :
24757
24758 $as_echo "#define HAVE_CATANH 1" >>confdefs.h
24759
24760 fi
24761
24762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf in -lm" >&5
24763 $as_echo_n "checking for catanhf in -lm... " >&6; }
24764 if test "${ac_cv_lib_m_catanhf+set}" = set; then :
24765 $as_echo_n "(cached) " >&6
24766 else
24767 ac_check_lib_save_LIBS=$LIBS
24768 LIBS="-lm $LIBS"
24769 if test x$gcc_no_link = xyes; then
24770 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24771 fi
24772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24773 /* end confdefs.h. */
24774
24775 /* Override any GCC internal prototype to avoid an error.
24776 Use char because int might match the return type of a GCC
24777 builtin and then its argument prototype would still apply. */
24778 #ifdef __cplusplus
24779 extern "C"
24780 #endif
24781 char catanhf ();
24782 int
24783 main ()
24784 {
24785 return catanhf ();
24786 ;
24787 return 0;
24788 }
24789 _ACEOF
24790 if ac_fn_c_try_link "$LINENO"; then :
24791 ac_cv_lib_m_catanhf=yes
24792 else
24793 ac_cv_lib_m_catanhf=no
24794 fi
24795 rm -f core conftest.err conftest.$ac_objext \
24796 conftest$ac_exeext conftest.$ac_ext
24797 LIBS=$ac_check_lib_save_LIBS
24798 fi
24799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhf" >&5
24800 $as_echo "$ac_cv_lib_m_catanhf" >&6; }
24801 if test "x$ac_cv_lib_m_catanhf" = x""yes; then :
24802
24803 $as_echo "#define HAVE_CATANHF 1" >>confdefs.h
24804
24805 fi
24806
24807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl in -lm" >&5
24808 $as_echo_n "checking for catanhl in -lm... " >&6; }
24809 if test "${ac_cv_lib_m_catanhl+set}" = set; then :
24810 $as_echo_n "(cached) " >&6
24811 else
24812 ac_check_lib_save_LIBS=$LIBS
24813 LIBS="-lm $LIBS"
24814 if test x$gcc_no_link = xyes; then
24815 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24816 fi
24817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24818 /* end confdefs.h. */
24819
24820 /* Override any GCC internal prototype to avoid an error.
24821 Use char because int might match the return type of a GCC
24822 builtin and then its argument prototype would still apply. */
24823 #ifdef __cplusplus
24824 extern "C"
24825 #endif
24826 char catanhl ();
24827 int
24828 main ()
24829 {
24830 return catanhl ();
24831 ;
24832 return 0;
24833 }
24834 _ACEOF
24835 if ac_fn_c_try_link "$LINENO"; then :
24836 ac_cv_lib_m_catanhl=yes
24837 else
24838 ac_cv_lib_m_catanhl=no
24839 fi
24840 rm -f core conftest.err conftest.$ac_objext \
24841 conftest$ac_exeext conftest.$ac_ext
24842 LIBS=$ac_check_lib_save_LIBS
24843 fi
24844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhl" >&5
24845 $as_echo "$ac_cv_lib_m_catanhl" >&6; }
24846 if test "x$ac_cv_lib_m_catanhl" = x""yes; then :
24847
24848 $as_echo "#define HAVE_CATANHL 1" >>confdefs.h
24849
24850 fi
24851
24852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl in -lm" >&5
24853 $as_echo_n "checking for catanl in -lm... " >&6; }
24854 if test "${ac_cv_lib_m_catanl+set}" = set; then :
24855 $as_echo_n "(cached) " >&6
24856 else
24857 ac_check_lib_save_LIBS=$LIBS
24858 LIBS="-lm $LIBS"
24859 if test x$gcc_no_link = xyes; then
24860 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24861 fi
24862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24863 /* end confdefs.h. */
24864
24865 /* Override any GCC internal prototype to avoid an error.
24866 Use char because int might match the return type of a GCC
24867 builtin and then its argument prototype would still apply. */
24868 #ifdef __cplusplus
24869 extern "C"
24870 #endif
24871 char catanl ();
24872 int
24873 main ()
24874 {
24875 return catanl ();
24876 ;
24877 return 0;
24878 }
24879 _ACEOF
24880 if ac_fn_c_try_link "$LINENO"; then :
24881 ac_cv_lib_m_catanl=yes
24882 else
24883 ac_cv_lib_m_catanl=no
24884 fi
24885 rm -f core conftest.err conftest.$ac_objext \
24886 conftest$ac_exeext conftest.$ac_ext
24887 LIBS=$ac_check_lib_save_LIBS
24888 fi
24889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanl" >&5
24890 $as_echo "$ac_cv_lib_m_catanl" >&6; }
24891 if test "x$ac_cv_lib_m_catanl" = x""yes; then :
24892
24893 $as_echo "#define HAVE_CATANL 1" >>confdefs.h
24894
24895 fi
24896
24897
24898 # On AIX, clog is present in libm as __clog
24899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
24900 $as_echo_n "checking for __clog in -lm... " >&6; }
24901 if test "${ac_cv_lib_m___clog+set}" = set; then :
24902 $as_echo_n "(cached) " >&6
24903 else
24904 ac_check_lib_save_LIBS=$LIBS
24905 LIBS="-lm $LIBS"
24906 if test x$gcc_no_link = xyes; then
24907 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24908 fi
24909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24910 /* end confdefs.h. */
24911
24912 /* Override any GCC internal prototype to avoid an error.
24913 Use char because int might match the return type of a GCC
24914 builtin and then its argument prototype would still apply. */
24915 #ifdef __cplusplus
24916 extern "C"
24917 #endif
24918 char __clog ();
24919 int
24920 main ()
24921 {
24922 return __clog ();
24923 ;
24924 return 0;
24925 }
24926 _ACEOF
24927 if ac_fn_c_try_link "$LINENO"; then :
24928 ac_cv_lib_m___clog=yes
24929 else
24930 ac_cv_lib_m___clog=no
24931 fi
24932 rm -f core conftest.err conftest.$ac_objext \
24933 conftest$ac_exeext conftest.$ac_ext
24934 LIBS=$ac_check_lib_save_LIBS
24935 fi
24936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
24937 $as_echo "$ac_cv_lib_m___clog" >&6; }
24938 if test "x$ac_cv_lib_m___clog" = x""yes; then :
24939
24940 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
24941
24942 fi
24943
24944
24945 # Check whether the system has a working stat()
24946
24947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
24948 $as_echo_n "checking whether the target stat is reliable... " >&6; }
24949 if test "${libgfor_cv_have_working_stat+set}" = set; then :
24950 $as_echo_n "(cached) " >&6
24951 else
24952
24953 if test "$cross_compiling" = yes; then :
24954
24955 case "${target}" in
24956 *mingw*) libgfor_cv_have_working_stat=no ;;
24957 *) libgfor_cv_have_working_stat=yes;;
24958 esac
24959 else
24960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24961 /* end confdefs.h. */
24962
24963 #include <stdio.h>
24964 #include <sys/types.h>
24965 #include <sys/stat.h>
24966 #include <unistd.h>
24967
24968 int main ()
24969 {
24970 FILE *f, *g;
24971 struct stat st1, st2;
24972
24973 f = fopen ("foo", "w");
24974 g = fopen ("bar", "w");
24975 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
24976 return 1;
24977 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
24978 return 1;
24979 fclose(f);
24980 fclose(g);
24981 return 0;
24982 }
24983 _ACEOF
24984 if ac_fn_c_try_run "$LINENO"; then :
24985 libgfor_cv_have_working_stat=yes
24986 else
24987 libgfor_cv_have_working_stat=no
24988 fi
24989 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24990 conftest.$ac_objext conftest.beam conftest.$ac_ext
24991 fi
24992
24993 fi
24994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
24995 $as_echo "$libgfor_cv_have_working_stat" >&6; }
24996 if test x"$libgfor_cv_have_working_stat" = xyes; then
24997
24998 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
24999
25000 fi
25001
25002 # Check whether __mingw_snprintf() is present
25003
25004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25005 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25006 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25007 $as_echo_n "(cached) " >&6
25008 else
25009
25010 if test x$gcc_no_link = xyes; then
25011 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25012 fi
25013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25014 /* end confdefs.h. */
25015
25016 #include <stdio.h>
25017 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25018
25019 int
25020 main ()
25021 {
25022
25023 __mingw_snprintf (NULL, 0, "%d\n", 1);
25024
25025 ;
25026 return 0;
25027 }
25028 _ACEOF
25029 if ac_fn_c_try_link "$LINENO"; then :
25030 eval "libgfor_cv_have_mingw_snprintf=yes"
25031 else
25032 eval "libgfor_cv_have_mingw_snprintf=no"
25033 fi
25034 rm -f core conftest.err conftest.$ac_objext \
25035 conftest$ac_exeext conftest.$ac_ext
25036
25037 fi
25038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25039 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25040 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
25041
25042 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25043
25044 fi
25045
25046
25047 # Check for a broken powf implementation
25048
25049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
25050 $as_echo_n "checking whether powf is broken... " >&6; }
25051 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
25052 $as_echo_n "(cached) " >&6
25053 else
25054
25055 case "${target}" in
25056 hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
25057 *) libgfor_cv_have_broken_powf=no;;
25058 esac
25059 fi
25060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
25061 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
25062 if test x"$libgfor_cv_have_broken_powf" = xyes; then
25063
25064 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
25065
25066 fi
25067
25068
25069 # Check whether libquadmath should be used
25070 # Check whether --enable-libquadmath-support was given.
25071 if test "${enable_libquadmath_support+set}" = set; then :
25072 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
25073 else
25074 ENABLE_LIBQUADMATH_SUPPORT=yes
25075 fi
25076
25077 enable_libquadmath_support=
25078 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25079 enable_libquadmath_support=no
25080 fi
25081
25082 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25083
25084 LIBQUADSPEC=
25085
25086 if test "x$enable_libquadmath_support" != xno; then
25087
25088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25089 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25090 if test "${libgfor_cv_have_float128+set}" = set; then :
25091 $as_echo_n "(cached) " >&6
25092 else
25093
25094 if test x$gcc_no_link = xyes; then
25095 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25096 fi
25097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25098 /* end confdefs.h. */
25099
25100 /* no header */
25101
25102 int
25103 main ()
25104 {
25105
25106 typedef _Complex float __attribute__((mode(TC))) __complex128;
25107
25108 __float128 x;
25109 x = __builtin_huge_valq() - 2.e1000Q;
25110
25111 __complex128 z1, z2;
25112 z1 = x;
25113 z2 = 2.Q;
25114
25115 z1 /= z2;
25116 z1 /= 7.Q;
25117
25118 ;
25119 return 0;
25120 }
25121 _ACEOF
25122 if ac_fn_c_try_link "$LINENO"; then :
25123 libgfor_cv_have_float128=yes
25124 else
25125 libgfor_cv_have_float128=no
25126 fi
25127 rm -f core conftest.err conftest.$ac_objext \
25128 conftest$ac_exeext conftest.$ac_ext
25129
25130 fi
25131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25132 $as_echo "$libgfor_cv_have_float128" >&6; }
25133
25134 if test "x$libgfor_cv_have_float128" = xyes; then
25135
25136 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25137
25138
25139 ac_xsave_c_werror_flag=$ac_c_werror_flag
25140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed works" >&5
25141 $as_echo_n "checking whether --as-needed works... " >&6; }
25142 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25143 $as_echo_n "(cached) " >&6
25144 else
25145
25146 save_LDFLAGS="$LDFLAGS"
25147 LDFLAGS="$LDFLAGS -Wl,--as-needed -lm -Wl,--no-as-needed"
25148 libgfor_cv_have_as_needed=no
25149
25150 ac_c_werror_flag=yes
25151 if test x$gcc_no_link = xyes; then
25152 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25153 fi
25154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25155 /* end confdefs.h. */
25156
25157 int
25158 main ()
25159 {
25160
25161 ;
25162 return 0;
25163 }
25164 _ACEOF
25165 if ac_fn_c_try_link "$LINENO"; then :
25166 libgfor_cv_have_as_needed=yes
25167 else
25168 libgfor_cv_have_as_needed=no
25169 fi
25170 rm -f core conftest.err conftest.$ac_objext \
25171 conftest$ac_exeext conftest.$ac_ext
25172 LDFLAGS="$save_LDFLAGS"
25173 ac_c_werror_flag=$ac_xsave_c_werror_flag
25174
25175 fi
25176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25177 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25178
25179 if test "x$libgfor_cv_have_as_needed" = xyes; then
25180 LIBQUADSPEC="%{static-libgfortran:--as-needed} -lquadmath %{static-libgfortran:--no-as-needed}"
25181 else
25182 LIBQUADSPEC="-lquadmath"
25183 fi
25184 if test -f ../libquadmath/libquadmath.la; then
25185 LIBQUADLIB=../libquadmath/libquadmath.la
25186 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
25187 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
25188 else
25189 LIBQUADLIB="-lquadmath"
25190 LIBQUADLIB_DEP=
25191 LIBQUADINCLUDE=
25192 fi
25193 fi
25194 else
25195 # for --disable-quadmath
25196 LIBQUADLIB=
25197 LIBQUADLIB_DEP=
25198 LIBQUADINCLUDE=
25199 fi
25200
25201
25202
25203
25204
25205
25206 if test "x$libgfor_cv_have_float128" = xyes; then
25207 LIBGFOR_BUILD_QUAD_TRUE=
25208 LIBGFOR_BUILD_QUAD_FALSE='#'
25209 else
25210 LIBGFOR_BUILD_QUAD_TRUE='#'
25211 LIBGFOR_BUILD_QUAD_FALSE=
25212 fi
25213
25214
25215
25216 # Check for GNU libc feenableexcept
25217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25218 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25219 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25220 $as_echo_n "(cached) " >&6
25221 else
25222 ac_check_lib_save_LIBS=$LIBS
25223 LIBS="-lm $LIBS"
25224 if test x$gcc_no_link = xyes; then
25225 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25226 fi
25227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25228 /* end confdefs.h. */
25229
25230 /* Override any GCC internal prototype to avoid an error.
25231 Use char because int might match the return type of a GCC
25232 builtin and then its argument prototype would still apply. */
25233 #ifdef __cplusplus
25234 extern "C"
25235 #endif
25236 char feenableexcept ();
25237 int
25238 main ()
25239 {
25240 return feenableexcept ();
25241 ;
25242 return 0;
25243 }
25244 _ACEOF
25245 if ac_fn_c_try_link "$LINENO"; then :
25246 ac_cv_lib_m_feenableexcept=yes
25247 else
25248 ac_cv_lib_m_feenableexcept=no
25249 fi
25250 rm -f core conftest.err conftest.$ac_objext \
25251 conftest$ac_exeext conftest.$ac_ext
25252 LIBS=$ac_check_lib_save_LIBS
25253 fi
25254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25255 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25256 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
25257 have_feenableexcept=yes
25258 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25259
25260 fi
25261
25262
25263 # At least for glibc, clock_gettime is in librt. But don't pull that
25264 # in if it still doesn't give us the function we want.
25265 # This test is copied from libgomp.
25266 if test $ac_cv_func_clock_gettime = no; then
25267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25268 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25269 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25270 $as_echo_n "(cached) " >&6
25271 else
25272 ac_check_lib_save_LIBS=$LIBS
25273 LIBS="-lrt $LIBS"
25274 if test x$gcc_no_link = xyes; then
25275 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25276 fi
25277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25278 /* end confdefs.h. */
25279
25280 /* Override any GCC internal prototype to avoid an error.
25281 Use char because int might match the return type of a GCC
25282 builtin and then its argument prototype would still apply. */
25283 #ifdef __cplusplus
25284 extern "C"
25285 #endif
25286 char clock_gettime ();
25287 int
25288 main ()
25289 {
25290 return clock_gettime ();
25291 ;
25292 return 0;
25293 }
25294 _ACEOF
25295 if ac_fn_c_try_link "$LINENO"; then :
25296 ac_cv_lib_rt_clock_gettime=yes
25297 else
25298 ac_cv_lib_rt_clock_gettime=no
25299 fi
25300 rm -f core conftest.err conftest.$ac_objext \
25301 conftest$ac_exeext conftest.$ac_ext
25302 LIBS=$ac_check_lib_save_LIBS
25303 fi
25304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25305 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25306 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
25307 LIBS="-lrt $LIBS"
25308
25309 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
25310
25311 fi
25312
25313 fi
25314
25315 # Check for SysV fpsetmask
25316
25317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25318 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25319 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25320 $as_echo_n "(cached) " >&6
25321 else
25322
25323 if test x$gcc_no_link = xyes; then
25324 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25325 fi
25326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25327 /* end confdefs.h. */
25328
25329 #if HAVE_FLOATINGPOINT_H
25330 # include <floatingpoint.h>
25331 #endif /* HAVE_FLOATINGPOINT_H */
25332 #if HAVE_IEEEFP_H
25333 # include <ieeefp.h>
25334 #endif /* HAVE_IEEEFP_H */
25335 int
25336 main ()
25337 {
25338 fpsetmask(0);
25339 ;
25340 return 0;
25341 }
25342 _ACEOF
25343 if ac_fn_c_try_link "$LINENO"; then :
25344 eval "libgfor_cv_have_fpsetmask=yes"
25345 else
25346 eval "libgfor_cv_have_fpsetmask=no"
25347 fi
25348 rm -f core conftest.err conftest.$ac_objext \
25349 conftest$ac_exeext conftest.$ac_ext
25350
25351 fi
25352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25353 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25354 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
25355
25356 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
25357
25358 fi
25359
25360
25361 # Check for AIX fp_trap and fp_enable
25362 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
25363 if test "x$ac_cv_func_fp_trap" = x""yes; then :
25364 have_fp_trap=yes
25365 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
25366
25367 fi
25368
25369 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
25370 if test "x$ac_cv_func_fp_enable" = x""yes; then :
25371 have_fp_enable=yes
25372 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
25373
25374 fi
25375
25376
25377 # Runs configure.host to set up necessary host-dependent shell variables.
25378 # We then display a message about it, and propagate them through the
25379 # build chain.
25380 . ${srcdir}/configure.host
25381 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
25382 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
25383 FPU_HOST_HEADER=config/${fpu_host}.h
25384
25385
25386 # Some targets require additional compiler options for IEEE compatibility.
25387 IEEE_FLAGS="${ieee_flags}"
25388
25389
25390 # Check out attribute support.
25391
25392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
25393 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
25394 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
25395 $as_echo_n "(cached) " >&6
25396 else
25397
25398 save_CFLAGS="$CFLAGS"
25399 CFLAGS="$CFLAGS -Werror"
25400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25401 /* end confdefs.h. */
25402 void __attribute__((visibility("hidden"))) foo(void) { }
25403 int
25404 main ()
25405 {
25406
25407 ;
25408 return 0;
25409 }
25410 _ACEOF
25411 if ac_fn_c_try_compile "$LINENO"; then :
25412 libgfor_cv_have_attribute_visibility=yes
25413 else
25414 libgfor_cv_have_attribute_visibility=no
25415 fi
25416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25417 CFLAGS="$save_CFLAGS"
25418 fi
25419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
25420 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
25421 if test $libgfor_cv_have_attribute_visibility = yes; then
25422
25423 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
25424
25425 fi
25426
25427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
25428 $as_echo_n "checking whether the target supports dllexport... " >&6; }
25429 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
25430 $as_echo_n "(cached) " >&6
25431 else
25432
25433 save_CFLAGS="$CFLAGS"
25434 CFLAGS="$CFLAGS -Werror"
25435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25436 /* end confdefs.h. */
25437 void __attribute__((dllexport)) foo(void) { }
25438 int
25439 main ()
25440 {
25441
25442 ;
25443 return 0;
25444 }
25445 _ACEOF
25446 if ac_fn_c_try_compile "$LINENO"; then :
25447 libgfor_cv_have_attribute_dllexport=yes
25448 else
25449 libgfor_cv_have_attribute_dllexport=no
25450 fi
25451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25452 CFLAGS="$save_CFLAGS"
25453 fi
25454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
25455 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
25456 if test $libgfor_cv_have_attribute_dllexport = yes; then
25457
25458 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
25459
25460 fi
25461
25462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
25463 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
25464 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
25465 $as_echo_n "(cached) " >&6
25466 else
25467
25468 if test x$gcc_no_link = xyes; then
25469 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25470 fi
25471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25472 /* end confdefs.h. */
25473
25474 void foo(void) { }
25475 extern void bar(void) __attribute__((alias("foo")));
25476 int
25477 main ()
25478 {
25479 bar();
25480 ;
25481 return 0;
25482 }
25483 _ACEOF
25484 if ac_fn_c_try_link "$LINENO"; then :
25485 libgfor_cv_have_attribute_alias=yes
25486 else
25487 libgfor_cv_have_attribute_alias=no
25488 fi
25489 rm -f core conftest.err conftest.$ac_objext \
25490 conftest$ac_exeext conftest.$ac_ext
25491 fi
25492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
25493 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
25494 if test $libgfor_cv_have_attribute_alias = yes; then
25495
25496 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
25497
25498 fi
25499
25500 # Check out sync builtins support.
25501
25502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
25503 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
25504 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
25505 $as_echo_n "(cached) " >&6
25506 else
25507
25508 if test x$gcc_no_link = xyes; then
25509 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25510 fi
25511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25512 /* end confdefs.h. */
25513 int foovar = 0;
25514 int
25515 main ()
25516 {
25517
25518 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
25519 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
25520 ;
25521 return 0;
25522 }
25523 _ACEOF
25524 if ac_fn_c_try_link "$LINENO"; then :
25525 libgfor_cv_have_sync_fetch_and_add=yes
25526 else
25527 libgfor_cv_have_sync_fetch_and_add=no
25528 fi
25529 rm -f core conftest.err conftest.$ac_objext \
25530 conftest$ac_exeext conftest.$ac_ext
25531 fi
25532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
25533 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
25534 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
25535
25536 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
25537
25538 fi
25539
25540 # Check out thread support.
25541
25542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured target thread model" >&5
25543 $as_echo_n "checking configured target thread model... " >&6; }
25544 if test "${libgfor_cv_target_thread_file+set}" = set; then :
25545 $as_echo_n "(cached) " >&6
25546 else
25547
25548 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
25549 fi
25550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_target_thread_file" >&5
25551 $as_echo "$libgfor_cv_target_thread_file" >&6; }
25552
25553 if test $libgfor_cv_target_thread_file != single; then
25554
25555 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
25556
25557 fi
25558
25559 # Check out #pragma weak.
25560
25561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
25562 $as_echo_n "checking whether pragma weak works... " >&6; }
25563 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
25564 $as_echo_n "(cached) " >&6
25565 else
25566
25567 gfor_save_CFLAGS="$CFLAGS"
25568 CFLAGS="$CFLAGS -Wunknown-pragmas"
25569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25570 /* end confdefs.h. */
25571 void foo (void);
25572 #pragma weak foo
25573 int
25574 main ()
25575 {
25576 if (foo) foo ();
25577 ;
25578 return 0;
25579 }
25580 _ACEOF
25581 if ac_fn_c_try_compile "$LINENO"; then :
25582 libgfor_cv_have_pragma_weak=yes
25583 else
25584 libgfor_cv_have_pragma_weak=no
25585 fi
25586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25587 fi
25588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
25589 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
25590 if test $libgfor_cv_have_pragma_weak = yes; then
25591
25592 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
25593
25594 fi
25595 case "$host" in
25596 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
25597
25598 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
25599
25600 ;;
25601 esac
25602
25603 # Various other checks on target
25604
25605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
25606 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
25607 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
25608 $as_echo_n "(cached) " >&6
25609 else
25610
25611 if test "$cross_compiling" = yes; then :
25612
25613 case "${target}" in
25614 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
25615 *) libgfor_cv_have_unlink_open_file=yes;;
25616 esac
25617 else
25618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25619 /* end confdefs.h. */
25620
25621 #include <errno.h>
25622 #include <fcntl.h>
25623 #include <unistd.h>
25624 #include <sys/stat.h>
25625
25626 int main ()
25627 {
25628 int fd;
25629
25630 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
25631 if (fd <= 0)
25632 return 0;
25633 if (unlink ("testfile") == -1)
25634 return 1;
25635 write (fd, "This is a test\n", 15);
25636 close (fd);
25637
25638 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
25639 return 0;
25640 else
25641 return 1;
25642 }
25643 _ACEOF
25644 if ac_fn_c_try_run "$LINENO"; then :
25645 libgfor_cv_have_unlink_open_file=yes
25646 else
25647 libgfor_cv_have_unlink_open_file=no
25648 fi
25649 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25650 conftest.$ac_objext conftest.beam conftest.$ac_ext
25651 fi
25652
25653 fi
25654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
25655 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
25656 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
25657
25658 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
25659
25660 fi
25661
25662 # Check whether line terminator is LF or CRLF
25663
25664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
25665 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
25666 if test "${libgfor_cv_have_crlf+set}" = set; then :
25667 $as_echo_n "(cached) " >&6
25668 else
25669
25670 if test "$cross_compiling" = yes; then :
25671
25672 case "${target}" in
25673 *mingw*) libgfor_cv_have_crlf=yes ;;
25674 *) libgfor_cv_have_crlf=no;;
25675 esac
25676 else
25677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25678 /* end confdefs.h. */
25679
25680 /* This test program should exit with status 0 if system uses a CRLF as
25681 line terminator, and status 1 otherwise.
25682 Since it is used to check for mingw systems, and should return 0 in any
25683 other case, in case of a failure we will not use CRLF. */
25684 #include <sys/stat.h>
25685 #include <stdlib.h>
25686 #include <fcntl.h>
25687 #include <stdio.h>
25688
25689 int main ()
25690 {
25691 #ifndef O_BINARY
25692 exit(1);
25693 #else
25694 int fd, bytes;
25695 char buff[5];
25696
25697 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
25698 if (fd < 0)
25699 exit(1);
25700 if (write (fd, "\n", 1) < 0)
25701 perror ("write");
25702
25703 close (fd);
25704
25705 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
25706 exit(1);
25707 bytes = read (fd, buff, 5);
25708 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
25709 exit(0);
25710 else
25711 exit(1);
25712 #endif
25713 }
25714 _ACEOF
25715 if ac_fn_c_try_run "$LINENO"; then :
25716 libgfor_cv_have_crlf=yes
25717 else
25718 libgfor_cv_have_crlf=no
25719 fi
25720 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25721 conftest.$ac_objext conftest.beam conftest.$ac_ext
25722 fi
25723
25724 fi
25725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
25726 $as_echo "$libgfor_cv_have_crlf" >&6; }
25727 if test x"$libgfor_cv_have_crlf" = xyes; then
25728
25729 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
25730
25731 fi
25732
25733 cat >confcache <<\_ACEOF
25734 # This file is a shell script that caches the results of configure
25735 # tests run on this system so they can be shared between configure
25736 # scripts and configure runs, see configure's option --config-cache.
25737 # It is not useful on other systems. If it contains results you don't
25738 # want to keep, you may remove or edit it.
25739 #
25740 # config.status only pays attention to the cache file if you give it
25741 # the --recheck option to rerun configure.
25742 #
25743 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25744 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25745 # following values.
25746
25747 _ACEOF
25748
25749 # The following way of writing the cache mishandles newlines in values,
25750 # but we know of no workaround that is simple, portable, and efficient.
25751 # So, we kill variables containing newlines.
25752 # Ultrix sh set writes to stderr and can't be redirected directly,
25753 # and sets the high bit in the cache file unless we assign to the vars.
25754 (
25755 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25756 eval ac_val=\$$ac_var
25757 case $ac_val in #(
25758 *${as_nl}*)
25759 case $ac_var in #(
25760 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25761 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25762 esac
25763 case $ac_var in #(
25764 _ | IFS | as_nl) ;; #(
25765 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25766 *) { eval $ac_var=; unset $ac_var;} ;;
25767 esac ;;
25768 esac
25769 done
25770
25771 (set) 2>&1 |
25772 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25773 *${as_nl}ac_space=\ *)
25774 # `set' does not quote correctly, so add quotes: double-quote
25775 # substitution turns \\\\ into \\, and sed turns \\ into \.
25776 sed -n \
25777 "s/'/'\\\\''/g;
25778 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25779 ;; #(
25780 *)
25781 # `set' quotes correctly as required by POSIX, so do not add quotes.
25782 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25783 ;;
25784 esac |
25785 sort
25786 ) |
25787 sed '
25788 /^ac_cv_env_/b end
25789 t clear
25790 :clear
25791 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25792 t end
25793 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25794 :end' >>confcache
25795 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25796 if test -w "$cache_file"; then
25797 test "x$cache_file" != "x/dev/null" &&
25798 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25799 $as_echo "$as_me: updating cache $cache_file" >&6;}
25800 cat confcache >$cache_file
25801 else
25802 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25803 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25804 fi
25805 fi
25806 rm -f confcache
25807
25808 if test ${multilib} = yes; then
25809 multilib_arg="--enable-multilib"
25810 else
25811 multilib_arg=
25812 fi
25813
25814 # Write our Makefile and spec file.
25815 ac_config_files="$ac_config_files Makefile libgfortran.spec"
25816
25817 cat >confcache <<\_ACEOF
25818 # This file is a shell script that caches the results of configure
25819 # tests run on this system so they can be shared between configure
25820 # scripts and configure runs, see configure's option --config-cache.
25821 # It is not useful on other systems. If it contains results you don't
25822 # want to keep, you may remove or edit it.
25823 #
25824 # config.status only pays attention to the cache file if you give it
25825 # the --recheck option to rerun configure.
25826 #
25827 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25828 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25829 # following values.
25830
25831 _ACEOF
25832
25833 # The following way of writing the cache mishandles newlines in values,
25834 # but we know of no workaround that is simple, portable, and efficient.
25835 # So, we kill variables containing newlines.
25836 # Ultrix sh set writes to stderr and can't be redirected directly,
25837 # and sets the high bit in the cache file unless we assign to the vars.
25838 (
25839 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25840 eval ac_val=\$$ac_var
25841 case $ac_val in #(
25842 *${as_nl}*)
25843 case $ac_var in #(
25844 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25845 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25846 esac
25847 case $ac_var in #(
25848 _ | IFS | as_nl) ;; #(
25849 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25850 *) { eval $ac_var=; unset $ac_var;} ;;
25851 esac ;;
25852 esac
25853 done
25854
25855 (set) 2>&1 |
25856 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25857 *${as_nl}ac_space=\ *)
25858 # `set' does not quote correctly, so add quotes: double-quote
25859 # substitution turns \\\\ into \\, and sed turns \\ into \.
25860 sed -n \
25861 "s/'/'\\\\''/g;
25862 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25863 ;; #(
25864 *)
25865 # `set' quotes correctly as required by POSIX, so do not add quotes.
25866 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25867 ;;
25868 esac |
25869 sort
25870 ) |
25871 sed '
25872 /^ac_cv_env_/b end
25873 t clear
25874 :clear
25875 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25876 t end
25877 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25878 :end' >>confcache
25879 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25880 if test -w "$cache_file"; then
25881 test "x$cache_file" != "x/dev/null" &&
25882 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25883 $as_echo "$as_me: updating cache $cache_file" >&6;}
25884 cat confcache >$cache_file
25885 else
25886 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25887 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25888 fi
25889 fi
25890 rm -f confcache
25891
25892 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25893 # Let make expand exec_prefix.
25894 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25895
25896 DEFS=-DHAVE_CONFIG_H
25897
25898 ac_libobjs=
25899 ac_ltlibobjs=
25900 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25901 # 1. Remove the extension, and $U if already installed.
25902 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25903 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25904 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25905 # will be set to the directory where LIBOBJS objects are built.
25906 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25907 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25908 done
25909 LIBOBJS=$ac_libobjs
25910
25911 LTLIBOBJS=$ac_ltlibobjs
25912
25913
25914 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
25915 as_fn_error "conditional \"onestep\" was never defined.
25916 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25917 fi
25918 if test -n "$EXEEXT"; then
25919 am__EXEEXT_TRUE=
25920 am__EXEEXT_FALSE='#'
25921 else
25922 am__EXEEXT_TRUE='#'
25923 am__EXEEXT_FALSE=
25924 fi
25925
25926 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25927 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
25928 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25929 fi
25930 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25931 as_fn_error "conditional \"AMDEP\" was never defined.
25932 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25933 fi
25934 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25935 as_fn_error "conditional \"am__fastdepCC\" was never defined.
25936 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25937 fi
25938 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25939 as_fn_error "conditional \"am__fastdepCC\" was never defined.
25940 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25941 fi
25942 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
25943 as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
25944 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25945 fi
25946 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
25947 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
25948 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25949 fi
25950 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
25951 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
25952 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25953 fi
25954 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
25955 as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
25956 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25957 fi
25958
25959 : ${CONFIG_STATUS=./config.status}
25960 ac_write_fail=0
25961 ac_clean_files_save=$ac_clean_files
25962 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25963 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25964 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25965 as_write_fail=0
25966 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25967 #! $SHELL
25968 # Generated by $as_me.
25969 # Run this file to recreate the current configuration.
25970 # Compiler output produced by configure, useful for debugging
25971 # configure, is in config.log if it exists.
25972
25973 debug=false
25974 ac_cs_recheck=false
25975 ac_cs_silent=false
25976
25977 SHELL=\${CONFIG_SHELL-$SHELL}
25978 export SHELL
25979 _ASEOF
25980 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25981 ## -------------------- ##
25982 ## M4sh Initialization. ##
25983 ## -------------------- ##
25984
25985 # Be more Bourne compatible
25986 DUALCASE=1; export DUALCASE # for MKS sh
25987 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25988 emulate sh
25989 NULLCMD=:
25990 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25991 # is contrary to our usage. Disable this feature.
25992 alias -g '${1+"$@"}'='"$@"'
25993 setopt NO_GLOB_SUBST
25994 else
25995 case `(set -o) 2>/dev/null` in #(
25996 *posix*) :
25997 set -o posix ;; #(
25998 *) :
25999 ;;
26000 esac
26001 fi
26002
26003
26004 as_nl='
26005 '
26006 export as_nl
26007 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26008 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26009 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26010 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26011 # Prefer a ksh shell builtin over an external printf program on Solaris,
26012 # but without wasting forks for bash or zsh.
26013 if test -z "$BASH_VERSION$ZSH_VERSION" \
26014 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26015 as_echo='print -r --'
26016 as_echo_n='print -rn --'
26017 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26018 as_echo='printf %s\n'
26019 as_echo_n='printf %s'
26020 else
26021 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26022 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26023 as_echo_n='/usr/ucb/echo -n'
26024 else
26025 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26026 as_echo_n_body='eval
26027 arg=$1;
26028 case $arg in #(
26029 *"$as_nl"*)
26030 expr "X$arg" : "X\\(.*\\)$as_nl";
26031 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26032 esac;
26033 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26034 '
26035 export as_echo_n_body
26036 as_echo_n='sh -c $as_echo_n_body as_echo'
26037 fi
26038 export as_echo_body
26039 as_echo='sh -c $as_echo_body as_echo'
26040 fi
26041
26042 # The user is always right.
26043 if test "${PATH_SEPARATOR+set}" != set; then
26044 PATH_SEPARATOR=:
26045 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26046 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26047 PATH_SEPARATOR=';'
26048 }
26049 fi
26050
26051
26052 # IFS
26053 # We need space, tab and new line, in precisely that order. Quoting is
26054 # there to prevent editors from complaining about space-tab.
26055 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26056 # splitting by setting IFS to empty value.)
26057 IFS=" "" $as_nl"
26058
26059 # Find who we are. Look in the path if we contain no directory separator.
26060 case $0 in #((
26061 *[\\/]* ) as_myself=$0 ;;
26062 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26063 for as_dir in $PATH
26064 do
26065 IFS=$as_save_IFS
26066 test -z "$as_dir" && as_dir=.
26067 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26068 done
26069 IFS=$as_save_IFS
26070
26071 ;;
26072 esac
26073 # We did not find ourselves, most probably we were run as `sh COMMAND'
26074 # in which case we are not to be found in the path.
26075 if test "x$as_myself" = x; then
26076 as_myself=$0
26077 fi
26078 if test ! -f "$as_myself"; then
26079 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26080 exit 1
26081 fi
26082
26083 # Unset variables that we do not need and which cause bugs (e.g. in
26084 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26085 # suppresses any "Segmentation fault" message there. '((' could
26086 # trigger a bug in pdksh 5.2.14.
26087 for as_var in BASH_ENV ENV MAIL MAILPATH
26088 do eval test x\${$as_var+set} = xset \
26089 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26090 done
26091 PS1='$ '
26092 PS2='> '
26093 PS4='+ '
26094
26095 # NLS nuisances.
26096 LC_ALL=C
26097 export LC_ALL
26098 LANGUAGE=C
26099 export LANGUAGE
26100
26101 # CDPATH.
26102 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26103
26104
26105 # as_fn_error ERROR [LINENO LOG_FD]
26106 # ---------------------------------
26107 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26108 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26109 # script with status $?, using 1 if that was 0.
26110 as_fn_error ()
26111 {
26112 as_status=$?; test $as_status -eq 0 && as_status=1
26113 if test "$3"; then
26114 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26115 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26116 fi
26117 $as_echo "$as_me: error: $1" >&2
26118 as_fn_exit $as_status
26119 } # as_fn_error
26120
26121
26122 # as_fn_set_status STATUS
26123 # -----------------------
26124 # Set $? to STATUS, without forking.
26125 as_fn_set_status ()
26126 {
26127 return $1
26128 } # as_fn_set_status
26129
26130 # as_fn_exit STATUS
26131 # -----------------
26132 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26133 as_fn_exit ()
26134 {
26135 set +e
26136 as_fn_set_status $1
26137 exit $1
26138 } # as_fn_exit
26139
26140 # as_fn_unset VAR
26141 # ---------------
26142 # Portably unset VAR.
26143 as_fn_unset ()
26144 {
26145 { eval $1=; unset $1;}
26146 }
26147 as_unset=as_fn_unset
26148 # as_fn_append VAR VALUE
26149 # ----------------------
26150 # Append the text in VALUE to the end of the definition contained in VAR. Take
26151 # advantage of any shell optimizations that allow amortized linear growth over
26152 # repeated appends, instead of the typical quadratic growth present in naive
26153 # implementations.
26154 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26155 eval 'as_fn_append ()
26156 {
26157 eval $1+=\$2
26158 }'
26159 else
26160 as_fn_append ()
26161 {
26162 eval $1=\$$1\$2
26163 }
26164 fi # as_fn_append
26165
26166 # as_fn_arith ARG...
26167 # ------------------
26168 # Perform arithmetic evaluation on the ARGs, and store the result in the
26169 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26170 # must be portable across $(()) and expr.
26171 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26172 eval 'as_fn_arith ()
26173 {
26174 as_val=$(( $* ))
26175 }'
26176 else
26177 as_fn_arith ()
26178 {
26179 as_val=`expr "$@" || test $? -eq 1`
26180 }
26181 fi # as_fn_arith
26182
26183
26184 if expr a : '\(a\)' >/dev/null 2>&1 &&
26185 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26186 as_expr=expr
26187 else
26188 as_expr=false
26189 fi
26190
26191 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26192 as_basename=basename
26193 else
26194 as_basename=false
26195 fi
26196
26197 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26198 as_dirname=dirname
26199 else
26200 as_dirname=false
26201 fi
26202
26203 as_me=`$as_basename -- "$0" ||
26204 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26205 X"$0" : 'X\(//\)$' \| \
26206 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26207 $as_echo X/"$0" |
26208 sed '/^.*\/\([^/][^/]*\)\/*$/{
26209 s//\1/
26210 q
26211 }
26212 /^X\/\(\/\/\)$/{
26213 s//\1/
26214 q
26215 }
26216 /^X\/\(\/\).*/{
26217 s//\1/
26218 q
26219 }
26220 s/.*/./; q'`
26221
26222 # Avoid depending upon Character Ranges.
26223 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26224 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26225 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26226 as_cr_digits='0123456789'
26227 as_cr_alnum=$as_cr_Letters$as_cr_digits
26228
26229 ECHO_C= ECHO_N= ECHO_T=
26230 case `echo -n x` in #(((((
26231 -n*)
26232 case `echo 'xy\c'` in
26233 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26234 xy) ECHO_C='\c';;
26235 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
26236 ECHO_T=' ';;
26237 esac;;
26238 *)
26239 ECHO_N='-n';;
26240 esac
26241
26242 rm -f conf$$ conf$$.exe conf$$.file
26243 if test -d conf$$.dir; then
26244 rm -f conf$$.dir/conf$$.file
26245 else
26246 rm -f conf$$.dir
26247 mkdir conf$$.dir 2>/dev/null
26248 fi
26249 if (echo >conf$$.file) 2>/dev/null; then
26250 if ln -s conf$$.file conf$$ 2>/dev/null; then
26251 as_ln_s='ln -s'
26252 # ... but there are two gotchas:
26253 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26254 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26255 # In both cases, we have to default to `cp -p'.
26256 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26257 as_ln_s='cp -p'
26258 elif ln conf$$.file conf$$ 2>/dev/null; then
26259 as_ln_s=ln
26260 else
26261 as_ln_s='cp -p'
26262 fi
26263 else
26264 as_ln_s='cp -p'
26265 fi
26266 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26267 rmdir conf$$.dir 2>/dev/null
26268
26269
26270 # as_fn_mkdir_p
26271 # -------------
26272 # Create "$as_dir" as a directory, including parents if necessary.
26273 as_fn_mkdir_p ()
26274 {
26275
26276 case $as_dir in #(
26277 -*) as_dir=./$as_dir;;
26278 esac
26279 test -d "$as_dir" || eval $as_mkdir_p || {
26280 as_dirs=
26281 while :; do
26282 case $as_dir in #(
26283 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26284 *) as_qdir=$as_dir;;
26285 esac
26286 as_dirs="'$as_qdir' $as_dirs"
26287 as_dir=`$as_dirname -- "$as_dir" ||
26288 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26289 X"$as_dir" : 'X\(//\)[^/]' \| \
26290 X"$as_dir" : 'X\(//\)$' \| \
26291 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26292 $as_echo X"$as_dir" |
26293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26294 s//\1/
26295 q
26296 }
26297 /^X\(\/\/\)[^/].*/{
26298 s//\1/
26299 q
26300 }
26301 /^X\(\/\/\)$/{
26302 s//\1/
26303 q
26304 }
26305 /^X\(\/\).*/{
26306 s//\1/
26307 q
26308 }
26309 s/.*/./; q'`
26310 test -d "$as_dir" && break
26311 done
26312 test -z "$as_dirs" || eval "mkdir $as_dirs"
26313 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
26314
26315
26316 } # as_fn_mkdir_p
26317 if mkdir -p . 2>/dev/null; then
26318 as_mkdir_p='mkdir -p "$as_dir"'
26319 else
26320 test -d ./-p && rmdir ./-p
26321 as_mkdir_p=false
26322 fi
26323
26324 if test -x / >/dev/null 2>&1; then
26325 as_test_x='test -x'
26326 else
26327 if ls -dL / >/dev/null 2>&1; then
26328 as_ls_L_option=L
26329 else
26330 as_ls_L_option=
26331 fi
26332 as_test_x='
26333 eval sh -c '\''
26334 if test -d "$1"; then
26335 test -d "$1/.";
26336 else
26337 case $1 in #(
26338 -*)set "./$1";;
26339 esac;
26340 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
26341 ???[sx]*):;;*)false;;esac;fi
26342 '\'' sh
26343 '
26344 fi
26345 as_executable_p=$as_test_x
26346
26347 # Sed expression to map a string onto a valid CPP name.
26348 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26349
26350 # Sed expression to map a string onto a valid variable name.
26351 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26352
26353
26354 exec 6>&1
26355 ## ----------------------------------- ##
26356 ## Main body of $CONFIG_STATUS script. ##
26357 ## ----------------------------------- ##
26358 _ASEOF
26359 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26360
26361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26362 # Save the log message, to keep $0 and so on meaningful, and to
26363 # report actual input values of CONFIG_FILES etc. instead of their
26364 # values after options handling.
26365 ac_log="
26366 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
26367 generated by GNU Autoconf 2.64. Invocation command line was
26368
26369 CONFIG_FILES = $CONFIG_FILES
26370 CONFIG_HEADERS = $CONFIG_HEADERS
26371 CONFIG_LINKS = $CONFIG_LINKS
26372 CONFIG_COMMANDS = $CONFIG_COMMANDS
26373 $ $0 $@
26374
26375 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26376 "
26377
26378 _ACEOF
26379
26380 case $ac_config_files in *"
26381 "*) set x $ac_config_files; shift; ac_config_files=$*;;
26382 esac
26383
26384 case $ac_config_headers in *"
26385 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
26386 esac
26387
26388
26389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26390 # Files that config.status was made for.
26391 config_files="$ac_config_files"
26392 config_headers="$ac_config_headers"
26393 config_commands="$ac_config_commands"
26394
26395 _ACEOF
26396
26397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26398 ac_cs_usage="\
26399 \`$as_me' instantiates files and other configuration actions
26400 from templates according to the current configuration. Unless the files
26401 and actions are specified as TAGs, all are instantiated by default.
26402
26403 Usage: $0 [OPTION]... [TAG]...
26404
26405 -h, --help print this help, then exit
26406 -V, --version print version number and configuration settings, then exit
26407 -q, --quiet, --silent
26408 do not print progress messages
26409 -d, --debug don't remove temporary files
26410 --recheck update $as_me by reconfiguring in the same conditions
26411 --file=FILE[:TEMPLATE]
26412 instantiate the configuration file FILE
26413 --header=FILE[:TEMPLATE]
26414 instantiate the configuration header FILE
26415
26416 Configuration files:
26417 $config_files
26418
26419 Configuration headers:
26420 $config_headers
26421
26422 Configuration commands:
26423 $config_commands
26424
26425 Report bugs to the package provider.
26426 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
26427 General help using GNU software: <http://www.gnu.org/gethelp/>."
26428
26429 _ACEOF
26430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26431 ac_cs_version="\\
26432 GNU Fortran Runtime Library config.status 0.3
26433 configured by $0, generated by GNU Autoconf 2.64,
26434 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26435
26436 Copyright (C) 2009 Free Software Foundation, Inc.
26437 This config.status script is free software; the Free Software Foundation
26438 gives unlimited permission to copy, distribute and modify it."
26439
26440 ac_pwd='$ac_pwd'
26441 srcdir='$srcdir'
26442 INSTALL='$INSTALL'
26443 MKDIR_P='$MKDIR_P'
26444 AWK='$AWK'
26445 test -n "\$AWK" || AWK=awk
26446 _ACEOF
26447
26448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26449 # The default lists apply if the user does not specify any file.
26450 ac_need_defaults=:
26451 while test $# != 0
26452 do
26453 case $1 in
26454 --*=*)
26455 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26456 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26457 ac_shift=:
26458 ;;
26459 *)
26460 ac_option=$1
26461 ac_optarg=$2
26462 ac_shift=shift
26463 ;;
26464 esac
26465
26466 case $ac_option in
26467 # Handling of the options.
26468 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26469 ac_cs_recheck=: ;;
26470 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26471 $as_echo "$ac_cs_version"; exit ;;
26472 --debug | --debu | --deb | --de | --d | -d )
26473 debug=: ;;
26474 --file | --fil | --fi | --f )
26475 $ac_shift
26476 case $ac_optarg in
26477 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26478 esac
26479 as_fn_append CONFIG_FILES " '$ac_optarg'"
26480 ac_need_defaults=false;;
26481 --header | --heade | --head | --hea )
26482 $ac_shift
26483 case $ac_optarg in
26484 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26485 esac
26486 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
26487 ac_need_defaults=false;;
26488 --he | --h)
26489 # Conflict between --help and --header
26490 as_fn_error "ambiguous option: \`$1'
26491 Try \`$0 --help' for more information.";;
26492 --help | --hel | -h )
26493 $as_echo "$ac_cs_usage"; exit ;;
26494 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26495 | -silent | --silent | --silen | --sile | --sil | --si | --s)
26496 ac_cs_silent=: ;;
26497
26498 # This is an error.
26499 -*) as_fn_error "unrecognized option: \`$1'
26500 Try \`$0 --help' for more information." ;;
26501
26502 *) as_fn_append ac_config_targets " $1"
26503 ac_need_defaults=false ;;
26504
26505 esac
26506 shift
26507 done
26508
26509 ac_configure_extra_args=
26510
26511 if $ac_cs_silent; then
26512 exec 6>/dev/null
26513 ac_configure_extra_args="$ac_configure_extra_args --silent"
26514 fi
26515
26516 _ACEOF
26517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26518 if \$ac_cs_recheck; then
26519 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26520 shift
26521 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26522 CONFIG_SHELL='$SHELL'
26523 export CONFIG_SHELL
26524 exec "\$@"
26525 fi
26526
26527 _ACEOF
26528 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26529 exec 5>>config.log
26530 {
26531 echo
26532 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26533 ## Running $as_me. ##
26534 _ASBOX
26535 $as_echo "$ac_log"
26536 } >&5
26537
26538 _ACEOF
26539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26540 #
26541 # INIT-COMMANDS
26542 #
26543
26544 srcdir="$srcdir"
26545 host="$host"
26546 target="$target"
26547 with_multisubdir="$with_multisubdir"
26548 with_multisrctop="$with_multisrctop"
26549 with_target_subdir="$with_target_subdir"
26550 ac_configure_args="${multilib_arg} ${ac_configure_args}"
26551 multi_basedir="$multi_basedir"
26552 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
26553 CC="$CC"
26554 CXX="$CXX"
26555 GFORTRAN="$GFORTRAN"
26556 GCJ="$GCJ"
26557 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26558
26559
26560 # The HP-UX ksh and POSIX shell print the target directory to stdout
26561 # if CDPATH is set.
26562 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26563
26564 sed_quote_subst='$sed_quote_subst'
26565 double_quote_subst='$double_quote_subst'
26566 delay_variable_subst='$delay_variable_subst'
26567 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
26568 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
26569 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
26570 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
26571 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
26572 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
26573 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26574 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26575 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
26576 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
26577 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
26578 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
26579 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
26580 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
26581 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
26582 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
26583 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
26584 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
26585 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
26586 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
26587 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
26588 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
26589 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
26590 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
26591 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
26592 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
26593 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
26594 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
26595 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
26596 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
26597 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
26598 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
26599 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
26600 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
26601 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
26602 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
26603 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
26604 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26605 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26606 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
26607 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
26608 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
26609 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
26610 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
26611 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
26612 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
26613 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
26614 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
26615 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"`'
26616 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
26617 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
26618 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
26619 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
26620 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
26621 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
26622 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
26623 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
26624 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
26625 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
26626 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
26627 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
26628 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
26629 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
26630 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
26631 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26632 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
26633 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
26634 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
26635 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
26636 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
26637 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
26638 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26639 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
26640 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26641 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
26642 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26643 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
26644 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
26645 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
26646 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
26647 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
26648 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
26649 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
26650 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
26651 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
26652 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
26653 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
26654 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
26655 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
26656 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
26657 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
26658 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
26659 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
26660 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
26661 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
26662 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
26663 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
26664 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
26665 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
26666 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
26667 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
26668 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
26669 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
26670 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
26671 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
26672 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
26673 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
26674 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26675 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26676 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
26677 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
26678 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
26679 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
26680 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
26681 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
26682 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
26683 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
26684 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
26685 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
26686 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
26687 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
26688 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
26689 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
26690 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
26691 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
26692 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
26693 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
26694 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
26695 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
26696 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
26697 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
26698 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
26699 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
26700 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
26701 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
26702 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
26703 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
26704 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
26705 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
26706 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
26707 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
26708 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
26709 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
26710 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
26711 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
26712 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
26713 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
26714 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
26715 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
26716 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
26717 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
26718 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
26719 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
26720 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
26721 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
26722 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
26723 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
26724 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
26725 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
26726 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
26727 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
26728 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
26729 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
26730 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
26731 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
26732 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
26733 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
26734 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
26735 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
26736 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
26737 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
26738 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
26739 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
26740 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
26741 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
26742
26743 LTCC='$LTCC'
26744 LTCFLAGS='$LTCFLAGS'
26745 compiler='$compiler_DEFAULT'
26746
26747 # A function that is used when there is no print builtin or printf.
26748 func_fallback_echo ()
26749 {
26750 eval 'cat <<_LTECHO_EOF
26751 \$1
26752 _LTECHO_EOF'
26753 }
26754
26755 # Quote evaled strings.
26756 for var in SHELL \
26757 ECHO \
26758 SED \
26759 GREP \
26760 EGREP \
26761 FGREP \
26762 LD \
26763 NM \
26764 LN_S \
26765 lt_SP2NL \
26766 lt_NL2SP \
26767 reload_flag \
26768 OBJDUMP \
26769 deplibs_check_method \
26770 file_magic_cmd \
26771 AR \
26772 AR_FLAGS \
26773 STRIP \
26774 RANLIB \
26775 CC \
26776 CFLAGS \
26777 compiler \
26778 lt_cv_sys_global_symbol_pipe \
26779 lt_cv_sys_global_symbol_to_cdecl \
26780 lt_cv_sys_global_symbol_to_c_name_address \
26781 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26782 lt_prog_compiler_no_builtin_flag \
26783 lt_prog_compiler_wl \
26784 lt_prog_compiler_pic \
26785 lt_prog_compiler_static \
26786 lt_cv_prog_compiler_c_o \
26787 need_locks \
26788 DSYMUTIL \
26789 NMEDIT \
26790 LIPO \
26791 OTOOL \
26792 OTOOL64 \
26793 shrext_cmds \
26794 export_dynamic_flag_spec \
26795 whole_archive_flag_spec \
26796 compiler_needs_object \
26797 with_gnu_ld \
26798 allow_undefined_flag \
26799 no_undefined_flag \
26800 hardcode_libdir_flag_spec \
26801 hardcode_libdir_flag_spec_ld \
26802 hardcode_libdir_separator \
26803 fix_srcfile_path \
26804 exclude_expsyms \
26805 include_expsyms \
26806 file_list_spec \
26807 variables_saved_for_relink \
26808 libname_spec \
26809 library_names_spec \
26810 soname_spec \
26811 install_override_mode \
26812 finish_eval \
26813 old_striplib \
26814 striplib \
26815 compiler_lib_search_dirs \
26816 predep_objects \
26817 postdep_objects \
26818 predeps \
26819 postdeps \
26820 compiler_lib_search_path \
26821 LD_FC \
26822 reload_flag_FC \
26823 compiler_FC \
26824 lt_prog_compiler_no_builtin_flag_FC \
26825 lt_prog_compiler_wl_FC \
26826 lt_prog_compiler_pic_FC \
26827 lt_prog_compiler_static_FC \
26828 lt_cv_prog_compiler_c_o_FC \
26829 export_dynamic_flag_spec_FC \
26830 whole_archive_flag_spec_FC \
26831 compiler_needs_object_FC \
26832 with_gnu_ld_FC \
26833 allow_undefined_flag_FC \
26834 no_undefined_flag_FC \
26835 hardcode_libdir_flag_spec_FC \
26836 hardcode_libdir_flag_spec_ld_FC \
26837 hardcode_libdir_separator_FC \
26838 fix_srcfile_path_FC \
26839 exclude_expsyms_FC \
26840 include_expsyms_FC \
26841 file_list_spec_FC \
26842 compiler_lib_search_dirs_FC \
26843 predep_objects_FC \
26844 postdep_objects_FC \
26845 predeps_FC \
26846 postdeps_FC \
26847 compiler_lib_search_path_FC; do
26848 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26849 *[\\\\\\\`\\"\\\$]*)
26850 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26851 ;;
26852 *)
26853 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26854 ;;
26855 esac
26856 done
26857
26858 # Double-quote double-evaled strings.
26859 for var in reload_cmds \
26860 old_postinstall_cmds \
26861 old_postuninstall_cmds \
26862 old_archive_cmds \
26863 extract_expsyms_cmds \
26864 old_archive_from_new_cmds \
26865 old_archive_from_expsyms_cmds \
26866 archive_cmds \
26867 archive_expsym_cmds \
26868 module_cmds \
26869 module_expsym_cmds \
26870 export_symbols_cmds \
26871 prelink_cmds \
26872 postinstall_cmds \
26873 postuninstall_cmds \
26874 finish_cmds \
26875 sys_lib_search_path_spec \
26876 sys_lib_dlsearch_path_spec \
26877 reload_cmds_FC \
26878 old_archive_cmds_FC \
26879 old_archive_from_new_cmds_FC \
26880 old_archive_from_expsyms_cmds_FC \
26881 archive_cmds_FC \
26882 archive_expsym_cmds_FC \
26883 module_cmds_FC \
26884 module_expsym_cmds_FC \
26885 export_symbols_cmds_FC \
26886 prelink_cmds_FC; do
26887 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26888 *[\\\\\\\`\\"\\\$]*)
26889 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26890 ;;
26891 *)
26892 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26893 ;;
26894 esac
26895 done
26896
26897 ac_aux_dir='$ac_aux_dir'
26898 xsi_shell='$xsi_shell'
26899 lt_shell_append='$lt_shell_append'
26900
26901 # See if we are running on zsh, and set the options which allow our
26902 # commands through without removal of \ escapes INIT.
26903 if test -n "\${ZSH_VERSION+set}" ; then
26904 setopt NO_GLOB_SUBST
26905 fi
26906
26907
26908 PACKAGE='$PACKAGE'
26909 VERSION='$VERSION'
26910 TIMESTAMP='$TIMESTAMP'
26911 RM='$RM'
26912 ofile='$ofile'
26913
26914
26915
26916
26917
26918
26919 GCC="$GCC"
26920 CC="$CC"
26921 acx_cv_header_stdint="$acx_cv_header_stdint"
26922 acx_cv_type_int8_t="$acx_cv_type_int8_t"
26923 acx_cv_type_int16_t="$acx_cv_type_int16_t"
26924 acx_cv_type_int32_t="$acx_cv_type_int32_t"
26925 acx_cv_type_int64_t="$acx_cv_type_int64_t"
26926 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
26927 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
26928 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
26929 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
26930 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
26931 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
26932 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
26933 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
26934 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
26935
26936
26937 _ACEOF
26938
26939 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26940
26941 # Handling of arguments.
26942 for ac_config_target in $ac_config_targets
26943 do
26944 case $ac_config_target in
26945 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26946 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26947 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26948 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26949 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
26950 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26951 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
26952
26953 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26954 esac
26955 done
26956
26957
26958 # If the user did not use the arguments to specify the items to instantiate,
26959 # then the envvar interface is used. Set only those that are not.
26960 # We use the long form for the default assignment because of an extremely
26961 # bizarre bug on SunOS 4.1.3.
26962 if $ac_need_defaults; then
26963 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26964 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26965 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26966 fi
26967
26968 # Have a temporary directory for convenience. Make it in the build tree
26969 # simply because there is no reason against having it here, and in addition,
26970 # creating and moving files from /tmp can sometimes cause problems.
26971 # Hook for its removal unless debugging.
26972 # Note that there is a small window in which the directory will not be cleaned:
26973 # after its creation but before its name has been assigned to `$tmp'.
26974 $debug ||
26975 {
26976 tmp=
26977 trap 'exit_status=$?
26978 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26979 ' 0
26980 trap 'as_fn_exit 1' 1 2 13 15
26981 }
26982 # Create a (secure) tmp directory for tmp files.
26983
26984 {
26985 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26986 test -n "$tmp" && test -d "$tmp"
26987 } ||
26988 {
26989 tmp=./conf$$-$RANDOM
26990 (umask 077 && mkdir "$tmp")
26991 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
26992
26993 # Set up the scripts for CONFIG_FILES section.
26994 # No need to generate them if there are no CONFIG_FILES.
26995 # This happens for instance with `./config.status config.h'.
26996 if test -n "$CONFIG_FILES"; then
26997
26998
26999 ac_cr=`echo X | tr X '\015'`
27000 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27001 # But we know of no other shell where ac_cr would be empty at this
27002 # point, so we can use a bashism as a fallback.
27003 if test "x$ac_cr" = x; then
27004 eval ac_cr=\$\'\\r\'
27005 fi
27006 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27007 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27008 ac_cs_awk_cr='\r'
27009 else
27010 ac_cs_awk_cr=$ac_cr
27011 fi
27012
27013 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27014 _ACEOF
27015
27016
27017 {
27018 echo "cat >conf$$subs.awk <<_ACEOF" &&
27019 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27020 echo "_ACEOF"
27021 } >conf$$subs.sh ||
27022 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27023 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27024 ac_delim='%!_!# '
27025 for ac_last_try in false false false false false :; do
27026 . ./conf$$subs.sh ||
27027 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27028
27029 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27030 if test $ac_delim_n = $ac_delim_num; then
27031 break
27032 elif $ac_last_try; then
27033 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27034 else
27035 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27036 fi
27037 done
27038 rm -f conf$$subs.sh
27039
27040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27041 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
27042 _ACEOF
27043 sed -n '
27044 h
27045 s/^/S["/; s/!.*/"]=/
27046 p
27047 g
27048 s/^[^!]*!//
27049 :repl
27050 t repl
27051 s/'"$ac_delim"'$//
27052 t delim
27053 :nl
27054 h
27055 s/\(.\{148\}\).*/\1/
27056 t more1
27057 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27058 p
27059 n
27060 b repl
27061 :more1
27062 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27063 p
27064 g
27065 s/.\{148\}//
27066 t nl
27067 :delim
27068 h
27069 s/\(.\{148\}\).*/\1/
27070 t more2
27071 s/["\\]/\\&/g; s/^/"/; s/$/"/
27072 p
27073 b
27074 :more2
27075 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27076 p
27077 g
27078 s/.\{148\}//
27079 t delim
27080 ' <conf$$subs.awk | sed '
27081 /^[^""]/{
27082 N
27083 s/\n//
27084 }
27085 ' >>$CONFIG_STATUS || ac_write_fail=1
27086 rm -f conf$$subs.awk
27087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27088 _ACAWK
27089 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
27090 for (key in S) S_is_set[key] = 1
27091 FS = "\a"
27092
27093 }
27094 {
27095 line = $ 0
27096 nfields = split(line, field, "@")
27097 substed = 0
27098 len = length(field[1])
27099 for (i = 2; i < nfields; i++) {
27100 key = field[i]
27101 keylen = length(key)
27102 if (S_is_set[key]) {
27103 value = S[key]
27104 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27105 len += length(value) + length(field[++i])
27106 substed = 1
27107 } else
27108 len += 1 + keylen
27109 }
27110
27111 print line
27112 }
27113
27114 _ACAWK
27115 _ACEOF
27116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27117 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27118 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27119 else
27120 cat
27121 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
27122 || as_fn_error "could not setup config files machinery" "$LINENO" 5
27123 _ACEOF
27124
27125 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27126 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27127 # trailing colons and then remove the whole line if VPATH becomes empty
27128 # (actually we leave an empty line to preserve line numbers).
27129 if test "x$srcdir" = x.; then
27130 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27131 s/:*\$(srcdir):*/:/
27132 s/:*\${srcdir}:*/:/
27133 s/:*@srcdir@:*/:/
27134 s/^\([^=]*=[ ]*\):*/\1/
27135 s/:*$//
27136 s/^[^=]*=[ ]*$//
27137 }'
27138 fi
27139
27140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27141 fi # test -n "$CONFIG_FILES"
27142
27143 # Set up the scripts for CONFIG_HEADERS section.
27144 # No need to generate them if there are no CONFIG_HEADERS.
27145 # This happens for instance with `./config.status Makefile'.
27146 if test -n "$CONFIG_HEADERS"; then
27147 cat >"$tmp/defines.awk" <<\_ACAWK ||
27148 BEGIN {
27149 _ACEOF
27150
27151 # Transform confdefs.h into an awk script `defines.awk', embedded as
27152 # here-document in config.status, that substitutes the proper values into
27153 # config.h.in to produce config.h.
27154
27155 # Create a delimiter string that does not exist in confdefs.h, to ease
27156 # handling of long lines.
27157 ac_delim='%!_!# '
27158 for ac_last_try in false false :; do
27159 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
27160 if test -z "$ac_t"; then
27161 break
27162 elif $ac_last_try; then
27163 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
27164 else
27165 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27166 fi
27167 done
27168
27169 # For the awk script, D is an array of macro values keyed by name,
27170 # likewise P contains macro parameters if any. Preserve backslash
27171 # newline sequences.
27172
27173 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27174 sed -n '
27175 s/.\{148\}/&'"$ac_delim"'/g
27176 t rset
27177 :rset
27178 s/^[ ]*#[ ]*define[ ][ ]*/ /
27179 t def
27180 d
27181 :def
27182 s/\\$//
27183 t bsnl
27184 s/["\\]/\\&/g
27185 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27186 D["\1"]=" \3"/p
27187 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
27188 d
27189 :bsnl
27190 s/["\\]/\\&/g
27191 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27192 D["\1"]=" \3\\\\\\n"\\/p
27193 t cont
27194 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27195 t cont
27196 d
27197 :cont
27198 n
27199 s/.\{148\}/&'"$ac_delim"'/g
27200 t clear
27201 :clear
27202 s/\\$//
27203 t bsnlc
27204 s/["\\]/\\&/g; s/^/"/; s/$/"/p
27205 d
27206 :bsnlc
27207 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27208 b cont
27209 ' <confdefs.h | sed '
27210 s/'"$ac_delim"'/"\\\
27211 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27212
27213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27214 for (key in D) D_is_set[key] = 1
27215 FS = "\a"
27216 }
27217 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27218 line = \$ 0
27219 split(line, arg, " ")
27220 if (arg[1] == "#") {
27221 defundef = arg[2]
27222 mac1 = arg[3]
27223 } else {
27224 defundef = substr(arg[1], 2)
27225 mac1 = arg[2]
27226 }
27227 split(mac1, mac2, "(") #)
27228 macro = mac2[1]
27229 prefix = substr(line, 1, index(line, defundef) - 1)
27230 if (D_is_set[macro]) {
27231 # Preserve the white space surrounding the "#".
27232 print prefix "define", macro P[macro] D[macro]
27233 next
27234 } else {
27235 # Replace #undef with comments. This is necessary, for example,
27236 # in the case of _POSIX_SOURCE, which is predefined and required
27237 # on some systems where configure will not decide to define it.
27238 if (defundef == "undef") {
27239 print "/*", prefix defundef, macro, "*/"
27240 next
27241 }
27242 }
27243 }
27244 { print }
27245 _ACAWK
27246 _ACEOF
27247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27248 as_fn_error "could not setup config headers machinery" "$LINENO" 5
27249 fi # test -n "$CONFIG_HEADERS"
27250
27251
27252 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
27253 shift
27254 for ac_tag
27255 do
27256 case $ac_tag in
27257 :[FHLC]) ac_mode=$ac_tag; continue;;
27258 esac
27259 case $ac_mode$ac_tag in
27260 :[FHL]*:*);;
27261 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
27262 :[FH]-) ac_tag=-:-;;
27263 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27264 esac
27265 ac_save_IFS=$IFS
27266 IFS=:
27267 set x $ac_tag
27268 IFS=$ac_save_IFS
27269 shift
27270 ac_file=$1
27271 shift
27272
27273 case $ac_mode in
27274 :L) ac_source=$1;;
27275 :[FH])
27276 ac_file_inputs=
27277 for ac_f
27278 do
27279 case $ac_f in
27280 -) ac_f="$tmp/stdin";;
27281 *) # Look for the file first in the build tree, then in the source tree
27282 # (if the path is not absolute). The absolute path cannot be DOS-style,
27283 # because $ac_f cannot contain `:'.
27284 test -f "$ac_f" ||
27285 case $ac_f in
27286 [\\/$]*) false;;
27287 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27288 esac ||
27289 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27290 esac
27291 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27292 as_fn_append ac_file_inputs " '$ac_f'"
27293 done
27294
27295 # Let's still pretend it is `configure' which instantiates (i.e., don't
27296 # use $as_me), people would be surprised to read:
27297 # /* config.h. Generated by config.status. */
27298 configure_input='Generated from '`
27299 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27300 `' by configure.'
27301 if test x"$ac_file" != x-; then
27302 configure_input="$ac_file. $configure_input"
27303 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27304 $as_echo "$as_me: creating $ac_file" >&6;}
27305 fi
27306 # Neutralize special characters interpreted by sed in replacement strings.
27307 case $configure_input in #(
27308 *\&* | *\|* | *\\* )
27309 ac_sed_conf_input=`$as_echo "$configure_input" |
27310 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27311 *) ac_sed_conf_input=$configure_input;;
27312 esac
27313
27314 case $ac_tag in
27315 *:-:* | *:-) cat >"$tmp/stdin" \
27316 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
27317 esac
27318 ;;
27319 esac
27320
27321 ac_dir=`$as_dirname -- "$ac_file" ||
27322 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27323 X"$ac_file" : 'X\(//\)[^/]' \| \
27324 X"$ac_file" : 'X\(//\)$' \| \
27325 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27326 $as_echo X"$ac_file" |
27327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27328 s//\1/
27329 q
27330 }
27331 /^X\(\/\/\)[^/].*/{
27332 s//\1/
27333 q
27334 }
27335 /^X\(\/\/\)$/{
27336 s//\1/
27337 q
27338 }
27339 /^X\(\/\).*/{
27340 s//\1/
27341 q
27342 }
27343 s/.*/./; q'`
27344 as_dir="$ac_dir"; as_fn_mkdir_p
27345 ac_builddir=.
27346
27347 case "$ac_dir" in
27348 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27349 *)
27350 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27351 # A ".." for each directory in $ac_dir_suffix.
27352 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27353 case $ac_top_builddir_sub in
27354 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27355 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27356 esac ;;
27357 esac
27358 ac_abs_top_builddir=$ac_pwd
27359 ac_abs_builddir=$ac_pwd$ac_dir_suffix
27360 # for backward compatibility:
27361 ac_top_builddir=$ac_top_build_prefix
27362
27363 case $srcdir in
27364 .) # We are building in place.
27365 ac_srcdir=.
27366 ac_top_srcdir=$ac_top_builddir_sub
27367 ac_abs_top_srcdir=$ac_pwd ;;
27368 [\\/]* | ?:[\\/]* ) # Absolute name.
27369 ac_srcdir=$srcdir$ac_dir_suffix;
27370 ac_top_srcdir=$srcdir
27371 ac_abs_top_srcdir=$srcdir ;;
27372 *) # Relative name.
27373 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27374 ac_top_srcdir=$ac_top_build_prefix$srcdir
27375 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27376 esac
27377 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27378
27379
27380 case $ac_mode in
27381 :F)
27382 #
27383 # CONFIG_FILE
27384 #
27385
27386 case $INSTALL in
27387 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27388 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27389 esac
27390 ac_MKDIR_P=$MKDIR_P
27391 case $MKDIR_P in
27392 [\\/$]* | ?:[\\/]* ) ;;
27393 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
27394 esac
27395 _ACEOF
27396
27397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27398 # If the template does not know about datarootdir, expand it.
27399 # FIXME: This hack should be removed a few years after 2.60.
27400 ac_datarootdir_hack=; ac_datarootdir_seen=
27401 ac_sed_dataroot='
27402 /datarootdir/ {
27403 p
27404 q
27405 }
27406 /@datadir@/p
27407 /@docdir@/p
27408 /@infodir@/p
27409 /@localedir@/p
27410 /@mandir@/p'
27411 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27412 *datarootdir*) ac_datarootdir_seen=yes;;
27413 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27415 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27416 _ACEOF
27417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27418 ac_datarootdir_hack='
27419 s&@datadir@&$datadir&g
27420 s&@docdir@&$docdir&g
27421 s&@infodir@&$infodir&g
27422 s&@localedir@&$localedir&g
27423 s&@mandir@&$mandir&g
27424 s&\\\${datarootdir}&$datarootdir&g' ;;
27425 esac
27426 _ACEOF
27427
27428 # Neutralize VPATH when `$srcdir' = `.'.
27429 # Shell code in configure.ac might set extrasub.
27430 # FIXME: do we really want to maintain this feature?
27431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27432 ac_sed_extra="$ac_vpsub
27433 $extrasub
27434 _ACEOF
27435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27436 :t
27437 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27438 s|@configure_input@|$ac_sed_conf_input|;t t
27439 s&@top_builddir@&$ac_top_builddir_sub&;t t
27440 s&@top_build_prefix@&$ac_top_build_prefix&;t t
27441 s&@srcdir@&$ac_srcdir&;t t
27442 s&@abs_srcdir@&$ac_abs_srcdir&;t t
27443 s&@top_srcdir@&$ac_top_srcdir&;t t
27444 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27445 s&@builddir@&$ac_builddir&;t t
27446 s&@abs_builddir@&$ac_abs_builddir&;t t
27447 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27448 s&@INSTALL@&$ac_INSTALL&;t t
27449 s&@MKDIR_P@&$ac_MKDIR_P&;t t
27450 $ac_datarootdir_hack
27451 "
27452 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
27453 || as_fn_error "could not create $ac_file" "$LINENO" 5
27454
27455 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27456 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27457 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27459 which seems to be undefined. Please make sure it is defined." >&5
27460 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27461 which seems to be undefined. Please make sure it is defined." >&2;}
27462
27463 rm -f "$tmp/stdin"
27464 case $ac_file in
27465 -) cat "$tmp/out" && rm -f "$tmp/out";;
27466 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
27467 esac \
27468 || as_fn_error "could not create $ac_file" "$LINENO" 5
27469 ;;
27470 :H)
27471 #
27472 # CONFIG_HEADER
27473 #
27474 if test x"$ac_file" != x-; then
27475 {
27476 $as_echo "/* $configure_input */" \
27477 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
27478 } >"$tmp/config.h" \
27479 || as_fn_error "could not create $ac_file" "$LINENO" 5
27480 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
27481 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27482 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27483 else
27484 rm -f "$ac_file"
27485 mv "$tmp/config.h" "$ac_file" \
27486 || as_fn_error "could not create $ac_file" "$LINENO" 5
27487 fi
27488 else
27489 $as_echo "/* $configure_input */" \
27490 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
27491 || as_fn_error "could not create -" "$LINENO" 5
27492 fi
27493 # Compute "$ac_file"'s index in $config_headers.
27494 _am_arg="$ac_file"
27495 _am_stamp_count=1
27496 for _am_header in $config_headers :; do
27497 case $_am_header in
27498 $_am_arg | $_am_arg:* )
27499 break ;;
27500 * )
27501 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27502 esac
27503 done
27504 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27505 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27506 X"$_am_arg" : 'X\(//\)[^/]' \| \
27507 X"$_am_arg" : 'X\(//\)$' \| \
27508 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27509 $as_echo X"$_am_arg" |
27510 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27511 s//\1/
27512 q
27513 }
27514 /^X\(\/\/\)[^/].*/{
27515 s//\1/
27516 q
27517 }
27518 /^X\(\/\/\)$/{
27519 s//\1/
27520 q
27521 }
27522 /^X\(\/\).*/{
27523 s//\1/
27524 q
27525 }
27526 s/.*/./; q'`/stamp-h$_am_stamp_count
27527 ;;
27528
27529 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27530 $as_echo "$as_me: executing $ac_file commands" >&6;}
27531 ;;
27532 esac
27533
27534
27535 case $ac_file$ac_mode in
27536 "default-1":C)
27537 # Only add multilib support code if we just rebuilt the top-level
27538 # Makefile.
27539 case " $CONFIG_FILES " in
27540 *" Makefile "*)
27541 ac_file=Makefile . ${multi_basedir}/config-ml.in
27542 ;;
27543 esac ;;
27544 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
27545 # Autoconf 2.62 quotes --file arguments for eval, but not when files
27546 # are listed without --file. Let's play safe and only enable the eval
27547 # if we detect the quoting.
27548 case $CONFIG_FILES in
27549 *\'*) eval set x "$CONFIG_FILES" ;;
27550 *) set x $CONFIG_FILES ;;
27551 esac
27552 shift
27553 for mf
27554 do
27555 # Strip MF so we end up with the name of the file.
27556 mf=`echo "$mf" | sed -e 's/:.*$//'`
27557 # Check whether this is an Automake generated Makefile or not.
27558 # We used to match only the files named `Makefile.in', but
27559 # some people rename them; so instead we look at the file content.
27560 # Grep'ing the first line is not enough: some people post-process
27561 # each Makefile.in and add a new line on top of each file to say so.
27562 # Grep'ing the whole file is not good either: AIX grep has a line
27563 # limit of 2048, but all sed's we know have understand at least 4000.
27564 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
27565 dirpart=`$as_dirname -- "$mf" ||
27566 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27567 X"$mf" : 'X\(//\)[^/]' \| \
27568 X"$mf" : 'X\(//\)$' \| \
27569 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27570 $as_echo X"$mf" |
27571 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27572 s//\1/
27573 q
27574 }
27575 /^X\(\/\/\)[^/].*/{
27576 s//\1/
27577 q
27578 }
27579 /^X\(\/\/\)$/{
27580 s//\1/
27581 q
27582 }
27583 /^X\(\/\).*/{
27584 s//\1/
27585 q
27586 }
27587 s/.*/./; q'`
27588 else
27589 continue
27590 fi
27591 # Extract the definition of DEPDIR, am__include, and am__quote
27592 # from the Makefile without running `make'.
27593 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27594 test -z "$DEPDIR" && continue
27595 am__include=`sed -n 's/^am__include = //p' < "$mf"`
27596 test -z "am__include" && continue
27597 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27598 # When using ansi2knr, U may be empty or an underscore; expand it
27599 U=`sed -n 's/^U = //p' < "$mf"`
27600 # Find all dependency output files, they are included files with
27601 # $(DEPDIR) in their names. We invoke sed twice because it is the
27602 # simplest approach to changing $(DEPDIR) to its actual value in the
27603 # expansion.
27604 for file in `sed -n "
27605 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27606 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27607 # Make sure the directory exists.
27608 test -f "$dirpart/$file" && continue
27609 fdir=`$as_dirname -- "$file" ||
27610 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27611 X"$file" : 'X\(//\)[^/]' \| \
27612 X"$file" : 'X\(//\)$' \| \
27613 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27614 $as_echo X"$file" |
27615 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27616 s//\1/
27617 q
27618 }
27619 /^X\(\/\/\)[^/].*/{
27620 s//\1/
27621 q
27622 }
27623 /^X\(\/\/\)$/{
27624 s//\1/
27625 q
27626 }
27627 /^X\(\/\).*/{
27628 s//\1/
27629 q
27630 }
27631 s/.*/./; q'`
27632 as_dir=$dirpart/$fdir; as_fn_mkdir_p
27633 # echo "creating $dirpart/$file"
27634 echo '# dummy' > "$dirpart/$file"
27635 done
27636 done
27637 }
27638 ;;
27639 "libtool":C)
27640
27641 # See if we are running on zsh, and set the options which allow our
27642 # commands through without removal of \ escapes.
27643 if test -n "${ZSH_VERSION+set}" ; then
27644 setopt NO_GLOB_SUBST
27645 fi
27646
27647 cfgfile="${ofile}T"
27648 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27649 $RM "$cfgfile"
27650
27651 cat <<_LT_EOF >> "$cfgfile"
27652 #! $SHELL
27653
27654 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27655 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
27656 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27657 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27658 #
27659 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27660 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
27661 # Written by Gordon Matzigkeit, 1996
27662 #
27663 # This file is part of GNU Libtool.
27664 #
27665 # GNU Libtool is free software; you can redistribute it and/or
27666 # modify it under the terms of the GNU General Public License as
27667 # published by the Free Software Foundation; either version 2 of
27668 # the License, or (at your option) any later version.
27669 #
27670 # As a special exception to the GNU General Public License,
27671 # if you distribute this file as part of a program or library that
27672 # is built using GNU Libtool, you may include this file under the
27673 # same distribution terms that you use for the rest of that program.
27674 #
27675 # GNU Libtool is distributed in the hope that it will be useful,
27676 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27677 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27678 # GNU General Public License for more details.
27679 #
27680 # You should have received a copy of the GNU General Public License
27681 # along with GNU Libtool; see the file COPYING. If not, a copy
27682 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27683 # obtained by writing to the Free Software Foundation, Inc.,
27684 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27685
27686
27687 # The names of the tagged configurations supported by this script.
27688 available_tags="FC "
27689
27690 # ### BEGIN LIBTOOL CONFIG
27691
27692 # Which release of libtool.m4 was used?
27693 macro_version=$macro_version
27694 macro_revision=$macro_revision
27695
27696 # Whether or not to build shared libraries.
27697 build_libtool_libs=$enable_shared
27698
27699 # Whether or not to build static libraries.
27700 build_old_libs=$enable_static
27701
27702 # What type of objects to build.
27703 pic_mode=$pic_mode
27704
27705 # Whether or not to optimize for fast installation.
27706 fast_install=$enable_fast_install
27707
27708 # Shell to use when invoking shell scripts.
27709 SHELL=$lt_SHELL
27710
27711 # An echo program that protects backslashes.
27712 ECHO=$lt_ECHO
27713
27714 # The host system.
27715 host_alias=$host_alias
27716 host=$host
27717 host_os=$host_os
27718
27719 # The build system.
27720 build_alias=$build_alias
27721 build=$build
27722 build_os=$build_os
27723
27724 # A sed program that does not truncate output.
27725 SED=$lt_SED
27726
27727 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27728 Xsed="\$SED -e 1s/^X//"
27729
27730 # A grep program that handles long lines.
27731 GREP=$lt_GREP
27732
27733 # An ERE matcher.
27734 EGREP=$lt_EGREP
27735
27736 # A literal string matcher.
27737 FGREP=$lt_FGREP
27738
27739 # A BSD- or MS-compatible name lister.
27740 NM=$lt_NM
27741
27742 # Whether we need soft or hard links.
27743 LN_S=$lt_LN_S
27744
27745 # What is the maximum length of a command?
27746 max_cmd_len=$max_cmd_len
27747
27748 # Object file suffix (normally "o").
27749 objext=$ac_objext
27750
27751 # Executable file suffix (normally "").
27752 exeext=$exeext
27753
27754 # whether the shell understands "unset".
27755 lt_unset=$lt_unset
27756
27757 # turn spaces into newlines.
27758 SP2NL=$lt_lt_SP2NL
27759
27760 # turn newlines into spaces.
27761 NL2SP=$lt_lt_NL2SP
27762
27763 # An object symbol dumper.
27764 OBJDUMP=$lt_OBJDUMP
27765
27766 # Method to check whether dependent libraries are shared objects.
27767 deplibs_check_method=$lt_deplibs_check_method
27768
27769 # Command to use when deplibs_check_method == "file_magic".
27770 file_magic_cmd=$lt_file_magic_cmd
27771
27772 # The archiver.
27773 AR=$lt_AR
27774 AR_FLAGS=$lt_AR_FLAGS
27775
27776 # A symbol stripping program.
27777 STRIP=$lt_STRIP
27778
27779 # Commands used to install an old-style archive.
27780 RANLIB=$lt_RANLIB
27781 old_postinstall_cmds=$lt_old_postinstall_cmds
27782 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27783
27784 # Whether to use a lock for old archive extraction.
27785 lock_old_archive_extraction=$lock_old_archive_extraction
27786
27787 # A C compiler.
27788 LTCC=$lt_CC
27789
27790 # LTCC compiler flags.
27791 LTCFLAGS=$lt_CFLAGS
27792
27793 # Take the output of nm and produce a listing of raw symbols and C names.
27794 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27795
27796 # Transform the output of nm in a proper C declaration.
27797 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27798
27799 # Transform the output of nm in a C name address pair.
27800 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27801
27802 # Transform the output of nm in a C name address pair when lib prefix is needed.
27803 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27804
27805 # The name of the directory that contains temporary libtool files.
27806 objdir=$objdir
27807
27808 # Used to examine libraries when file_magic_cmd begins with "file".
27809 MAGIC_CMD=$MAGIC_CMD
27810
27811 # Must we lock files when doing compilation?
27812 need_locks=$lt_need_locks
27813
27814 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27815 DSYMUTIL=$lt_DSYMUTIL
27816
27817 # Tool to change global to local symbols on Mac OS X.
27818 NMEDIT=$lt_NMEDIT
27819
27820 # Tool to manipulate fat objects and archives on Mac OS X.
27821 LIPO=$lt_LIPO
27822
27823 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27824 OTOOL=$lt_OTOOL
27825
27826 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27827 OTOOL64=$lt_OTOOL64
27828
27829 # Old archive suffix (normally "a").
27830 libext=$libext
27831
27832 # Shared library suffix (normally ".so").
27833 shrext_cmds=$lt_shrext_cmds
27834
27835 # The commands to extract the exported symbol list from a shared archive.
27836 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27837
27838 # Variables whose values should be saved in libtool wrapper scripts and
27839 # restored at link time.
27840 variables_saved_for_relink=$lt_variables_saved_for_relink
27841
27842 # Do we need the "lib" prefix for modules?
27843 need_lib_prefix=$need_lib_prefix
27844
27845 # Do we need a version for libraries?
27846 need_version=$need_version
27847
27848 # Library versioning type.
27849 version_type=$version_type
27850
27851 # Shared library runtime path variable.
27852 runpath_var=$runpath_var
27853
27854 # Shared library path variable.
27855 shlibpath_var=$shlibpath_var
27856
27857 # Is shlibpath searched before the hard-coded library search path?
27858 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27859
27860 # Format of library name prefix.
27861 libname_spec=$lt_libname_spec
27862
27863 # List of archive names. First name is the real one, the rest are links.
27864 # The last name is the one that the linker finds with -lNAME
27865 library_names_spec=$lt_library_names_spec
27866
27867 # The coded name of the library, if different from the real name.
27868 soname_spec=$lt_soname_spec
27869
27870 # Permission mode override for installation of shared libraries.
27871 install_override_mode=$lt_install_override_mode
27872
27873 # Command to use after installation of a shared archive.
27874 postinstall_cmds=$lt_postinstall_cmds
27875
27876 # Command to use after uninstallation of a shared archive.
27877 postuninstall_cmds=$lt_postuninstall_cmds
27878
27879 # Commands used to finish a libtool library installation in a directory.
27880 finish_cmds=$lt_finish_cmds
27881
27882 # As "finish_cmds", except a single script fragment to be evaled but
27883 # not shown.
27884 finish_eval=$lt_finish_eval
27885
27886 # Whether we should hardcode library paths into libraries.
27887 hardcode_into_libs=$hardcode_into_libs
27888
27889 # Compile-time system search path for libraries.
27890 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27891
27892 # Run-time system search path for libraries.
27893 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27894
27895 # Whether dlopen is supported.
27896 dlopen_support=$enable_dlopen
27897
27898 # Whether dlopen of programs is supported.
27899 dlopen_self=$enable_dlopen_self
27900
27901 # Whether dlopen of statically linked programs is supported.
27902 dlopen_self_static=$enable_dlopen_self_static
27903
27904 # Commands to strip libraries.
27905 old_striplib=$lt_old_striplib
27906 striplib=$lt_striplib
27907
27908
27909 # The linker used to build libraries.
27910 LD=$lt_LD
27911
27912 # How to create reloadable object files.
27913 reload_flag=$lt_reload_flag
27914 reload_cmds=$lt_reload_cmds
27915
27916 # Commands used to build an old-style archive.
27917 old_archive_cmds=$lt_old_archive_cmds
27918
27919 # A language specific compiler.
27920 CC=$lt_compiler
27921
27922 # Is the compiler the GNU compiler?
27923 with_gcc=$GCC
27924
27925 # Compiler flag to turn off builtin functions.
27926 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27927
27928 # How to pass a linker flag through the compiler.
27929 wl=$lt_lt_prog_compiler_wl
27930
27931 # Additional compiler flags for building library objects.
27932 pic_flag=$lt_lt_prog_compiler_pic
27933
27934 # Compiler flag to prevent dynamic linking.
27935 link_static_flag=$lt_lt_prog_compiler_static
27936
27937 # Does compiler simultaneously support -c and -o options?
27938 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27939
27940 # Whether or not to add -lc for building shared libraries.
27941 build_libtool_need_lc=$archive_cmds_need_lc
27942
27943 # Whether or not to disallow shared libs when runtime libs are static.
27944 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27945
27946 # Compiler flag to allow reflexive dlopens.
27947 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27948
27949 # Compiler flag to generate shared objects directly from archives.
27950 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27951
27952 # Whether the compiler copes with passing no objects directly.
27953 compiler_needs_object=$lt_compiler_needs_object
27954
27955 # Create an old-style archive from a shared archive.
27956 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27957
27958 # Create a temporary old-style archive to link instead of a shared archive.
27959 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27960
27961 # Commands used to build a shared archive.
27962 archive_cmds=$lt_archive_cmds
27963 archive_expsym_cmds=$lt_archive_expsym_cmds
27964
27965 # Commands used to build a loadable module if different from building
27966 # a shared archive.
27967 module_cmds=$lt_module_cmds
27968 module_expsym_cmds=$lt_module_expsym_cmds
27969
27970 # Whether we are building with GNU ld or not.
27971 with_gnu_ld=$lt_with_gnu_ld
27972
27973 # Flag that allows shared libraries with undefined symbols to be built.
27974 allow_undefined_flag=$lt_allow_undefined_flag
27975
27976 # Flag that enforces no undefined symbols.
27977 no_undefined_flag=$lt_no_undefined_flag
27978
27979 # Flag to hardcode \$libdir into a binary during linking.
27980 # This must work even if \$libdir does not exist
27981 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27982
27983 # If ld is used when linking, flag to hardcode \$libdir into a binary
27984 # during linking. This must work even if \$libdir does not exist.
27985 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27986
27987 # Whether we need a single "-rpath" flag with a separated argument.
27988 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27989
27990 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27991 # DIR into the resulting binary.
27992 hardcode_direct=$hardcode_direct
27993
27994 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27995 # DIR into the resulting binary and the resulting library dependency is
27996 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27997 # library is relocated.
27998 hardcode_direct_absolute=$hardcode_direct_absolute
27999
28000 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28001 # into the resulting binary.
28002 hardcode_minus_L=$hardcode_minus_L
28003
28004 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28005 # into the resulting binary.
28006 hardcode_shlibpath_var=$hardcode_shlibpath_var
28007
28008 # Set to "yes" if building a shared library automatically hardcodes DIR
28009 # into the library and all subsequent libraries and executables linked
28010 # against it.
28011 hardcode_automatic=$hardcode_automatic
28012
28013 # Set to yes if linker adds runtime paths of dependent libraries
28014 # to runtime path list.
28015 inherit_rpath=$inherit_rpath
28016
28017 # Whether libtool must link a program against all its dependency libraries.
28018 link_all_deplibs=$link_all_deplibs
28019
28020 # Fix the shell variable \$srcfile for the compiler.
28021 fix_srcfile_path=$lt_fix_srcfile_path
28022
28023 # Set to "yes" if exported symbols are required.
28024 always_export_symbols=$always_export_symbols
28025
28026 # The commands to list exported symbols.
28027 export_symbols_cmds=$lt_export_symbols_cmds
28028
28029 # Symbols that should not be listed in the preloaded symbols.
28030 exclude_expsyms=$lt_exclude_expsyms
28031
28032 # Symbols that must always be exported.
28033 include_expsyms=$lt_include_expsyms
28034
28035 # Commands necessary for linking programs (against libraries) with templates.
28036 prelink_cmds=$lt_prelink_cmds
28037
28038 # Specify filename containing input files.
28039 file_list_spec=$lt_file_list_spec
28040
28041 # How to hardcode a shared library path into an executable.
28042 hardcode_action=$hardcode_action
28043
28044 # The directories searched by this compiler when creating a shared library.
28045 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28046
28047 # Dependencies to place before and after the objects being linked to
28048 # create a shared library.
28049 predep_objects=$lt_predep_objects
28050 postdep_objects=$lt_postdep_objects
28051 predeps=$lt_predeps
28052 postdeps=$lt_postdeps
28053
28054 # The library search path used internally by the compiler when linking
28055 # a shared library.
28056 compiler_lib_search_path=$lt_compiler_lib_search_path
28057
28058 # ### END LIBTOOL CONFIG
28059
28060 _LT_EOF
28061
28062 case $host_os in
28063 aix3*)
28064 cat <<\_LT_EOF >> "$cfgfile"
28065 # AIX sometimes has problems with the GCC collect2 program. For some
28066 # reason, if we set the COLLECT_NAMES environment variable, the problems
28067 # vanish in a puff of smoke.
28068 if test "X${COLLECT_NAMES+set}" != Xset; then
28069 COLLECT_NAMES=
28070 export COLLECT_NAMES
28071 fi
28072 _LT_EOF
28073 ;;
28074 esac
28075
28076
28077 ltmain="$ac_aux_dir/ltmain.sh"
28078
28079
28080 # We use sed instead of cat because bash on DJGPP gets confused if
28081 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28082 # text mode, it properly converts lines to CR/LF. This bash problem
28083 # is reportedly fixed, but why not run on old versions too?
28084 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28085 || (rm -f "$cfgfile"; exit 1)
28086
28087 case $xsi_shell in
28088 yes)
28089 cat << \_LT_EOF >> "$cfgfile"
28090
28091 # func_dirname file append nondir_replacement
28092 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28093 # otherwise set result to NONDIR_REPLACEMENT.
28094 func_dirname ()
28095 {
28096 case ${1} in
28097 */*) func_dirname_result="${1%/*}${2}" ;;
28098 * ) func_dirname_result="${3}" ;;
28099 esac
28100 }
28101
28102 # func_basename file
28103 func_basename ()
28104 {
28105 func_basename_result="${1##*/}"
28106 }
28107
28108 # func_dirname_and_basename file append nondir_replacement
28109 # perform func_basename and func_dirname in a single function
28110 # call:
28111 # dirname: Compute the dirname of FILE. If nonempty,
28112 # add APPEND to the result, otherwise set result
28113 # to NONDIR_REPLACEMENT.
28114 # value returned in "$func_dirname_result"
28115 # basename: Compute filename of FILE.
28116 # value retuned in "$func_basename_result"
28117 # Implementation must be kept synchronized with func_dirname
28118 # and func_basename. For efficiency, we do not delegate to
28119 # those functions but instead duplicate the functionality here.
28120 func_dirname_and_basename ()
28121 {
28122 case ${1} in
28123 */*) func_dirname_result="${1%/*}${2}" ;;
28124 * ) func_dirname_result="${3}" ;;
28125 esac
28126 func_basename_result="${1##*/}"
28127 }
28128
28129 # func_stripname prefix suffix name
28130 # strip PREFIX and SUFFIX off of NAME.
28131 # PREFIX and SUFFIX must not contain globbing or regex special
28132 # characters, hashes, percent signs, but SUFFIX may contain a leading
28133 # dot (in which case that matches only a dot).
28134 func_stripname ()
28135 {
28136 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28137 # positional parameters, so assign one to ordinary parameter first.
28138 func_stripname_result=${3}
28139 func_stripname_result=${func_stripname_result#"${1}"}
28140 func_stripname_result=${func_stripname_result%"${2}"}
28141 }
28142
28143 # func_opt_split
28144 func_opt_split ()
28145 {
28146 func_opt_split_opt=${1%%=*}
28147 func_opt_split_arg=${1#*=}
28148 }
28149
28150 # func_lo2o object
28151 func_lo2o ()
28152 {
28153 case ${1} in
28154 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
28155 *) func_lo2o_result=${1} ;;
28156 esac
28157 }
28158
28159 # func_xform libobj-or-source
28160 func_xform ()
28161 {
28162 func_xform_result=${1%.*}.lo
28163 }
28164
28165 # func_arith arithmetic-term...
28166 func_arith ()
28167 {
28168 func_arith_result=$(( $* ))
28169 }
28170
28171 # func_len string
28172 # STRING may not start with a hyphen.
28173 func_len ()
28174 {
28175 func_len_result=${#1}
28176 }
28177
28178 _LT_EOF
28179 ;;
28180 *) # Bourne compatible functions.
28181 cat << \_LT_EOF >> "$cfgfile"
28182
28183 # func_dirname file append nondir_replacement
28184 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28185 # otherwise set result to NONDIR_REPLACEMENT.
28186 func_dirname ()
28187 {
28188 # Extract subdirectory from the argument.
28189 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
28190 if test "X$func_dirname_result" = "X${1}"; then
28191 func_dirname_result="${3}"
28192 else
28193 func_dirname_result="$func_dirname_result${2}"
28194 fi
28195 }
28196
28197 # func_basename file
28198 func_basename ()
28199 {
28200 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
28201 }
28202
28203
28204 # func_stripname prefix suffix name
28205 # strip PREFIX and SUFFIX off of NAME.
28206 # PREFIX and SUFFIX must not contain globbing or regex special
28207 # characters, hashes, percent signs, but SUFFIX may contain a leading
28208 # dot (in which case that matches only a dot).
28209 # func_strip_suffix prefix name
28210 func_stripname ()
28211 {
28212 case ${2} in
28213 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28214 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28215 esac
28216 }
28217
28218 # sed scripts:
28219 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
28220 my_sed_long_arg='1s/^-[^=]*=//'
28221
28222 # func_opt_split
28223 func_opt_split ()
28224 {
28225 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28226 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
28227 }
28228
28229 # func_lo2o object
28230 func_lo2o ()
28231 {
28232 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
28233 }
28234
28235 # func_xform libobj-or-source
28236 func_xform ()
28237 {
28238 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
28239 }
28240
28241 # func_arith arithmetic-term...
28242 func_arith ()
28243 {
28244 func_arith_result=`expr "$@"`
28245 }
28246
28247 # func_len string
28248 # STRING may not start with a hyphen.
28249 func_len ()
28250 {
28251 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
28252 }
28253
28254 _LT_EOF
28255 esac
28256
28257 case $lt_shell_append in
28258 yes)
28259 cat << \_LT_EOF >> "$cfgfile"
28260
28261 # func_append var value
28262 # Append VALUE to the end of shell variable VAR.
28263 func_append ()
28264 {
28265 eval "$1+=\$2"
28266 }
28267 _LT_EOF
28268 ;;
28269 *)
28270 cat << \_LT_EOF >> "$cfgfile"
28271
28272 # func_append var value
28273 # Append VALUE to the end of shell variable VAR.
28274 func_append ()
28275 {
28276 eval "$1=\$$1\$2"
28277 }
28278
28279 _LT_EOF
28280 ;;
28281 esac
28282
28283
28284 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
28285 || (rm -f "$cfgfile"; exit 1)
28286
28287 mv -f "$cfgfile" "$ofile" ||
28288 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28289 chmod +x "$ofile"
28290
28291
28292 cat <<_LT_EOF >> "$ofile"
28293
28294 # ### BEGIN LIBTOOL TAG CONFIG: FC
28295
28296 # The linker used to build libraries.
28297 LD=$lt_LD_FC
28298
28299 # How to create reloadable object files.
28300 reload_flag=$lt_reload_flag_FC
28301 reload_cmds=$lt_reload_cmds_FC
28302
28303 # Commands used to build an old-style archive.
28304 old_archive_cmds=$lt_old_archive_cmds_FC
28305
28306 # A language specific compiler.
28307 CC=$lt_compiler_FC
28308
28309 # Is the compiler the GNU compiler?
28310 with_gcc=$GCC_FC
28311
28312 # Compiler flag to turn off builtin functions.
28313 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
28314
28315 # How to pass a linker flag through the compiler.
28316 wl=$lt_lt_prog_compiler_wl_FC
28317
28318 # Additional compiler flags for building library objects.
28319 pic_flag=$lt_lt_prog_compiler_pic_FC
28320
28321 # Compiler flag to prevent dynamic linking.
28322 link_static_flag=$lt_lt_prog_compiler_static_FC
28323
28324 # Does compiler simultaneously support -c and -o options?
28325 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
28326
28327 # Whether or not to add -lc for building shared libraries.
28328 build_libtool_need_lc=$archive_cmds_need_lc_FC
28329
28330 # Whether or not to disallow shared libs when runtime libs are static.
28331 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
28332
28333 # Compiler flag to allow reflexive dlopens.
28334 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
28335
28336 # Compiler flag to generate shared objects directly from archives.
28337 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
28338
28339 # Whether the compiler copes with passing no objects directly.
28340 compiler_needs_object=$lt_compiler_needs_object_FC
28341
28342 # Create an old-style archive from a shared archive.
28343 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
28344
28345 # Create a temporary old-style archive to link instead of a shared archive.
28346 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
28347
28348 # Commands used to build a shared archive.
28349 archive_cmds=$lt_archive_cmds_FC
28350 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
28351
28352 # Commands used to build a loadable module if different from building
28353 # a shared archive.
28354 module_cmds=$lt_module_cmds_FC
28355 module_expsym_cmds=$lt_module_expsym_cmds_FC
28356
28357 # Whether we are building with GNU ld or not.
28358 with_gnu_ld=$lt_with_gnu_ld_FC
28359
28360 # Flag that allows shared libraries with undefined symbols to be built.
28361 allow_undefined_flag=$lt_allow_undefined_flag_FC
28362
28363 # Flag that enforces no undefined symbols.
28364 no_undefined_flag=$lt_no_undefined_flag_FC
28365
28366 # Flag to hardcode \$libdir into a binary during linking.
28367 # This must work even if \$libdir does not exist
28368 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
28369
28370 # If ld is used when linking, flag to hardcode \$libdir into a binary
28371 # during linking. This must work even if \$libdir does not exist.
28372 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
28373
28374 # Whether we need a single "-rpath" flag with a separated argument.
28375 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
28376
28377 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28378 # DIR into the resulting binary.
28379 hardcode_direct=$hardcode_direct_FC
28380
28381 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28382 # DIR into the resulting binary and the resulting library dependency is
28383 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28384 # library is relocated.
28385 hardcode_direct_absolute=$hardcode_direct_absolute_FC
28386
28387 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28388 # into the resulting binary.
28389 hardcode_minus_L=$hardcode_minus_L_FC
28390
28391 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28392 # into the resulting binary.
28393 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
28394
28395 # Set to "yes" if building a shared library automatically hardcodes DIR
28396 # into the library and all subsequent libraries and executables linked
28397 # against it.
28398 hardcode_automatic=$hardcode_automatic_FC
28399
28400 # Set to yes if linker adds runtime paths of dependent libraries
28401 # to runtime path list.
28402 inherit_rpath=$inherit_rpath_FC
28403
28404 # Whether libtool must link a program against all its dependency libraries.
28405 link_all_deplibs=$link_all_deplibs_FC
28406
28407 # Fix the shell variable \$srcfile for the compiler.
28408 fix_srcfile_path=$lt_fix_srcfile_path_FC
28409
28410 # Set to "yes" if exported symbols are required.
28411 always_export_symbols=$always_export_symbols_FC
28412
28413 # The commands to list exported symbols.
28414 export_symbols_cmds=$lt_export_symbols_cmds_FC
28415
28416 # Symbols that should not be listed in the preloaded symbols.
28417 exclude_expsyms=$lt_exclude_expsyms_FC
28418
28419 # Symbols that must always be exported.
28420 include_expsyms=$lt_include_expsyms_FC
28421
28422 # Commands necessary for linking programs (against libraries) with templates.
28423 prelink_cmds=$lt_prelink_cmds_FC
28424
28425 # Specify filename containing input files.
28426 file_list_spec=$lt_file_list_spec_FC
28427
28428 # How to hardcode a shared library path into an executable.
28429 hardcode_action=$hardcode_action_FC
28430
28431 # The directories searched by this compiler when creating a shared library.
28432 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
28433
28434 # Dependencies to place before and after the objects being linked to
28435 # create a shared library.
28436 predep_objects=$lt_predep_objects_FC
28437 postdep_objects=$lt_postdep_objects_FC
28438 predeps=$lt_predeps_FC
28439 postdeps=$lt_postdeps_FC
28440
28441 # The library search path used internally by the compiler when linking
28442 # a shared library.
28443 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
28444
28445 # ### END LIBTOOL TAG CONFIG: FC
28446 _LT_EOF
28447
28448 ;;
28449 "gstdint.h":C)
28450 if test "$GCC" = yes; then
28451 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
28452 else
28453 echo "/* generated for $CC */" > tmp-stdint.h
28454 fi
28455
28456 sed 's/^ *//' >> tmp-stdint.h <<EOF
28457
28458 #ifndef GCC_GENERATED_STDINT_H
28459 #define GCC_GENERATED_STDINT_H 1
28460
28461 #include <sys/types.h>
28462 EOF
28463
28464 if test "$acx_cv_header_stdint" != stdint.h; then
28465 echo "#include <stddef.h>" >> tmp-stdint.h
28466 fi
28467 if test "$acx_cv_header_stdint" != stddef.h; then
28468 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
28469 fi
28470
28471 sed 's/^ *//' >> tmp-stdint.h <<EOF
28472 /* glibc uses these symbols as guards to prevent redefinitions. */
28473 #ifdef __int8_t_defined
28474 #define _INT8_T
28475 #define _INT16_T
28476 #define _INT32_T
28477 #endif
28478 #ifdef __uint32_t_defined
28479 #define _UINT32_T
28480 #endif
28481
28482 EOF
28483
28484 # ----------------- done header, emit basic int types -------------
28485 if test "$acx_cv_header_stdint" = stddef.h; then
28486 sed 's/^ *//' >> tmp-stdint.h <<EOF
28487
28488 #ifndef _UINT8_T
28489 #define _UINT8_T
28490 #ifndef __uint8_t_defined
28491 #define __uint8_t_defined
28492 #ifndef uint8_t
28493 typedef unsigned $acx_cv_type_int8_t uint8_t;
28494 #endif
28495 #endif
28496 #endif
28497
28498 #ifndef _UINT16_T
28499 #define _UINT16_T
28500 #ifndef __uint16_t_defined
28501 #define __uint16_t_defined
28502 #ifndef uint16_t
28503 typedef unsigned $acx_cv_type_int16_t uint16_t;
28504 #endif
28505 #endif
28506 #endif
28507
28508 #ifndef _UINT32_T
28509 #define _UINT32_T
28510 #ifndef __uint32_t_defined
28511 #define __uint32_t_defined
28512 #ifndef uint32_t
28513 typedef unsigned $acx_cv_type_int32_t uint32_t;
28514 #endif
28515 #endif
28516 #endif
28517
28518 #ifndef _INT8_T
28519 #define _INT8_T
28520 #ifndef __int8_t_defined
28521 #define __int8_t_defined
28522 #ifndef int8_t
28523 typedef $acx_cv_type_int8_t int8_t;
28524 #endif
28525 #endif
28526 #endif
28527
28528 #ifndef _INT16_T
28529 #define _INT16_T
28530 #ifndef __int16_t_defined
28531 #define __int16_t_defined
28532 #ifndef int16_t
28533 typedef $acx_cv_type_int16_t int16_t;
28534 #endif
28535 #endif
28536 #endif
28537
28538 #ifndef _INT32_T
28539 #define _INT32_T
28540 #ifndef __int32_t_defined
28541 #define __int32_t_defined
28542 #ifndef int32_t
28543 typedef $acx_cv_type_int32_t int32_t;
28544 #endif
28545 #endif
28546 #endif
28547 EOF
28548 elif test "$ac_cv_type_u_int32_t" = yes; then
28549 sed 's/^ *//' >> tmp-stdint.h <<EOF
28550
28551 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
28552 #ifndef _INT8_T
28553 #define _INT8_T
28554 #endif
28555 #ifndef _INT16_T
28556 #define _INT16_T
28557 #endif
28558 #ifndef _INT32_T
28559 #define _INT32_T
28560 #endif
28561
28562 #ifndef _UINT8_T
28563 #define _UINT8_T
28564 #ifndef __uint8_t_defined
28565 #define __uint8_t_defined
28566 #ifndef uint8_t
28567 typedef u_int8_t uint8_t;
28568 #endif
28569 #endif
28570 #endif
28571
28572 #ifndef _UINT16_T
28573 #define _UINT16_T
28574 #ifndef __uint16_t_defined
28575 #define __uint16_t_defined
28576 #ifndef uint16_t
28577 typedef u_int16_t uint16_t;
28578 #endif
28579 #endif
28580 #endif
28581
28582 #ifndef _UINT32_T
28583 #define _UINT32_T
28584 #ifndef __uint32_t_defined
28585 #define __uint32_t_defined
28586 #ifndef uint32_t
28587 typedef u_int32_t uint32_t;
28588 #endif
28589 #endif
28590 #endif
28591 EOF
28592 else
28593 sed 's/^ *//' >> tmp-stdint.h <<EOF
28594
28595 /* Some systems have guard macros to prevent redefinitions, define them. */
28596 #ifndef _INT8_T
28597 #define _INT8_T
28598 #endif
28599 #ifndef _INT16_T
28600 #define _INT16_T
28601 #endif
28602 #ifndef _INT32_T
28603 #define _INT32_T
28604 #endif
28605 #ifndef _UINT8_T
28606 #define _UINT8_T
28607 #endif
28608 #ifndef _UINT16_T
28609 #define _UINT16_T
28610 #endif
28611 #ifndef _UINT32_T
28612 #define _UINT32_T
28613 #endif
28614 EOF
28615 fi
28616
28617 # ------------- done basic int types, emit int64_t types ------------
28618 if test "$ac_cv_type_uint64_t" = yes; then
28619 sed 's/^ *//' >> tmp-stdint.h <<EOF
28620
28621 /* system headers have good uint64_t and int64_t */
28622 #ifndef _INT64_T
28623 #define _INT64_T
28624 #endif
28625 #ifndef _UINT64_T
28626 #define _UINT64_T
28627 #endif
28628 EOF
28629 elif test "$ac_cv_type_u_int64_t" = yes; then
28630 sed 's/^ *//' >> tmp-stdint.h <<EOF
28631
28632 /* system headers have an u_int64_t (and int64_t) */
28633 #ifndef _INT64_T
28634 #define _INT64_T
28635 #endif
28636 #ifndef _UINT64_T
28637 #define _UINT64_T
28638 #ifndef __uint64_t_defined
28639 #define __uint64_t_defined
28640 #ifndef uint64_t
28641 typedef u_int64_t uint64_t;
28642 #endif
28643 #endif
28644 #endif
28645 EOF
28646 elif test -n "$acx_cv_type_int64_t"; then
28647 sed 's/^ *//' >> tmp-stdint.h <<EOF
28648
28649 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
28650 #ifndef _INT64_T
28651 #define _INT64_T
28652 #ifndef int64_t
28653 typedef $acx_cv_type_int64_t int64_t;
28654 #endif
28655 #endif
28656 #ifndef _UINT64_T
28657 #define _UINT64_T
28658 #ifndef __uint64_t_defined
28659 #define __uint64_t_defined
28660 #ifndef uint64_t
28661 typedef unsigned $acx_cv_type_int64_t uint64_t;
28662 #endif
28663 #endif
28664 #endif
28665 EOF
28666 else
28667 sed 's/^ *//' >> tmp-stdint.h <<EOF
28668
28669 /* some common heuristics for int64_t, using compiler-specific tests */
28670 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
28671 #ifndef _INT64_T
28672 #define _INT64_T
28673 #ifndef __int64_t_defined
28674 #ifndef int64_t
28675 typedef long long int64_t;
28676 #endif
28677 #endif
28678 #endif
28679 #ifndef _UINT64_T
28680 #define _UINT64_T
28681 #ifndef uint64_t
28682 typedef unsigned long long uint64_t;
28683 #endif
28684 #endif
28685
28686 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
28687 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
28688 does not implement __extension__. But that compiler doesn't define
28689 __GNUC_MINOR__. */
28690 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
28691 # define __extension__
28692 # endif
28693
28694 # ifndef _INT64_T
28695 # define _INT64_T
28696 # ifndef int64_t
28697 __extension__ typedef long long int64_t;
28698 # endif
28699 # endif
28700 # ifndef _UINT64_T
28701 # define _UINT64_T
28702 # ifndef uint64_t
28703 __extension__ typedef unsigned long long uint64_t;
28704 # endif
28705 # endif
28706
28707 #elif !defined __STRICT_ANSI__
28708 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
28709
28710 # ifndef _INT64_T
28711 # define _INT64_T
28712 # ifndef int64_t
28713 typedef __int64 int64_t;
28714 # endif
28715 # endif
28716 # ifndef _UINT64_T
28717 # define _UINT64_T
28718 # ifndef uint64_t
28719 typedef unsigned __int64 uint64_t;
28720 # endif
28721 # endif
28722 # endif /* compiler */
28723
28724 #endif /* ANSI version */
28725 EOF
28726 fi
28727
28728 # ------------- done int64_t types, emit intptr types ------------
28729 if test "$ac_cv_type_uintptr_t" != yes; then
28730 sed 's/^ *//' >> tmp-stdint.h <<EOF
28731
28732 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
28733 #ifndef __uintptr_t_defined
28734 #ifndef uintptr_t
28735 typedef u$acx_cv_type_intptr_t uintptr_t;
28736 #endif
28737 #endif
28738 #ifndef __intptr_t_defined
28739 #ifndef intptr_t
28740 typedef $acx_cv_type_intptr_t intptr_t;
28741 #endif
28742 #endif
28743 EOF
28744 fi
28745
28746 # ------------- done intptr types, emit int_least types ------------
28747 if test "$ac_cv_type_int_least32_t" != yes; then
28748 sed 's/^ *//' >> tmp-stdint.h <<EOF
28749
28750 /* Define int_least types */
28751 typedef int8_t int_least8_t;
28752 typedef int16_t int_least16_t;
28753 typedef int32_t int_least32_t;
28754 #ifdef _INT64_T
28755 typedef int64_t int_least64_t;
28756 #endif
28757
28758 typedef uint8_t uint_least8_t;
28759 typedef uint16_t uint_least16_t;
28760 typedef uint32_t uint_least32_t;
28761 #ifdef _UINT64_T
28762 typedef uint64_t uint_least64_t;
28763 #endif
28764 EOF
28765 fi
28766
28767 # ------------- done intptr types, emit int_fast types ------------
28768 if test "$ac_cv_type_int_fast32_t" != yes; then
28769 sed 's/^ *//' >> tmp-stdint.h <<EOF
28770
28771 /* Define int_fast types. short is often slow */
28772 typedef int8_t int_fast8_t;
28773 typedef int int_fast16_t;
28774 typedef int32_t int_fast32_t;
28775 #ifdef _INT64_T
28776 typedef int64_t int_fast64_t;
28777 #endif
28778
28779 typedef uint8_t uint_fast8_t;
28780 typedef unsigned int uint_fast16_t;
28781 typedef uint32_t uint_fast32_t;
28782 #ifdef _UINT64_T
28783 typedef uint64_t uint_fast64_t;
28784 #endif
28785 EOF
28786 fi
28787
28788 if test "$ac_cv_type_uintmax_t" != yes; then
28789 sed 's/^ *//' >> tmp-stdint.h <<EOF
28790
28791 /* Define intmax based on what we found */
28792 #ifndef intmax_t
28793 #ifdef _INT64_T
28794 typedef int64_t intmax_t;
28795 #else
28796 typedef long intmax_t;
28797 #endif
28798 #endif
28799 #ifndef uintmax_t
28800 #ifdef _UINT64_T
28801 typedef uint64_t uintmax_t;
28802 #else
28803 typedef unsigned long uintmax_t;
28804 #endif
28805 #endif
28806 EOF
28807 fi
28808
28809 sed 's/^ *//' >> tmp-stdint.h <<EOF
28810
28811 #endif /* GCC_GENERATED_STDINT_H */
28812 EOF
28813
28814 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
28815 rm -f tmp-stdint.h
28816 else
28817 mv -f tmp-stdint.h gstdint.h
28818 fi
28819
28820 ;;
28821
28822 esac
28823 done # for ac_tag
28824
28825
28826 as_fn_exit 0
28827 _ACEOF
28828 ac_clean_files=$ac_clean_files_save
28829
28830 test $ac_write_fail = 0 ||
28831 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
28832
28833
28834 # configure is writing to config.log, and then calls config.status.
28835 # config.status does its own redirection, appending to config.log.
28836 # Unfortunately, on DOS this fails, as config.log is still kept open
28837 # by configure, so config.status won't be able to write to it; its
28838 # output is simply discarded. So we exec the FD to /dev/null,
28839 # effectively closing config.log, so it can be properly (re)opened and
28840 # appended to by config.status. When coming back to configure, we
28841 # need to make the FD available again.
28842 if test "$no_create" != yes; then
28843 ac_cs_success=:
28844 ac_config_status_args=
28845 test "$silent" = yes &&
28846 ac_config_status_args="$ac_config_status_args --quiet"
28847 exec 5>/dev/null
28848 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28849 exec 5>>config.log
28850 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28851 # would make configure fail if this is the last instruction.
28852 $ac_cs_success || as_fn_exit $?
28853 fi
28854 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28856 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28857 fi
28858