Fix DealII type problems.
[official-gcc/Ramakrishna.git] / libgfortran / configure
blob5fcd8d23e079d2c209261972e54aa0623cc8f7f8
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.
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.
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 ## -------------------- ##
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 *) :
30 esac
34 as_nl='
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"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
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=';'
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"
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
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
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
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
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='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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 *) :
148 esac
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; }
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 :
164 else
165 exitcode=1; echo positional parameters were not saved.
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 if (eval "$as_required") 2>/dev/null; then :
174 as_have_required=yes
175 else
176 as_have_required=no
178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
180 else
181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182 as_found=false
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
185 IFS=$as_save_IFS
186 test -z "$as_dir" && as_dir=.
187 as_found=:
188 case $as_dir in #(
190 for as_base in sh bash ksh sh5; do
191 # Try only shells that exist, to save several forks.
192 as_shell=$as_dir/$as_base
193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195 CONFIG_SHELL=$as_shell as_have_required=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 break 2
200 done;;
201 esac
202 as_found=false
203 done
204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206 CONFIG_SHELL=$SHELL as_have_required=yes
207 fi; }
208 IFS=$as_save_IFS
211 if test "x$CONFIG_SHELL" != x; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
215 BASH_ENV=/dev/null
216 ENV=/dev/null
217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
218 export CONFIG_SHELL
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x$as_have_required = xno; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x${ZSH_VERSION+set} = xset ; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
228 else
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
234 exit 1
238 SHELL=${CONFIG_SHELL-/bin/sh}
239 export SHELL
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE= GREP_OPTIONS=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
247 # as_fn_unset VAR
248 # ---------------
249 # Portably unset VAR.
250 as_fn_unset ()
252 { eval $1=; unset $1;}
254 as_unset=as_fn_unset
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
259 as_fn_set_status ()
261 return $1
262 } # as_fn_set_status
264 # as_fn_exit STATUS
265 # -----------------
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
267 as_fn_exit ()
269 set +e
270 as_fn_set_status $1
271 exit $1
272 } # as_fn_exit
274 # as_fn_mkdir_p
275 # -------------
276 # Create "$as_dir" as a directory, including parents if necessary.
277 as_fn_mkdir_p ()
280 case $as_dir in #(
281 -*) as_dir=./$as_dir;;
282 esac
283 test -d "$as_dir" || eval $as_mkdir_p || {
284 as_dirs=
285 while :; do
286 case $as_dir in #(
287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
288 *) as_qdir=$as_dir;;
289 esac
290 as_dirs="'$as_qdir' $as_dirs"
291 as_dir=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
298 s//\1/
301 /^X\(\/\/\)[^/].*/{
302 s//\1/
305 /^X\(\/\/\)$/{
306 s//\1/
309 /^X\(\/\).*/{
310 s//\1/
313 s/.*/./; q'`
314 test -d "$as_dir" && break
315 done
316 test -z "$as_dirs" || eval "mkdir $as_dirs"
317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320 } # as_fn_mkdir_p
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
326 # implementations.
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328 eval 'as_fn_append ()
330 eval $1+=\$2
332 else
333 as_fn_append ()
335 eval $1=\$$1\$2
337 fi # as_fn_append
339 # as_fn_arith ARG...
340 # ------------------
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
345 eval 'as_fn_arith ()
347 as_val=$(( $* ))
349 else
350 as_fn_arith ()
352 as_val=`expr "$@" || test $? -eq 1`
354 fi # as_fn_arith
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
362 as_fn_error ()
364 as_status=$?; test $as_status -eq 0 && as_status=1
365 if test "$3"; then
366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit $as_status
371 } # as_fn_error
373 if expr a : '\(a\)' >/dev/null 2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001; then
375 as_expr=expr
376 else
377 as_expr=false
380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
381 as_basename=basename
382 else
383 as_basename=false
386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
387 as_dirname=dirname
388 else
389 as_dirname=false
392 as_me=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
396 $as_echo X/"$0" |
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
398 s//\1/
401 /^X\/\(\/\/\)$/{
402 s//\1/
405 /^X\/\(\/\).*/{
406 s//\1/
409 s/.*/./; q'`
411 # Avoid depending upon Character Ranges.
412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits='0123456789'
416 as_cr_alnum=$as_cr_Letters$as_cr_digits
419 as_lineno_1=$LINENO as_lineno_1a=$LINENO
420 as_lineno_2=$LINENO as_lineno_2a=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
424 sed -n '
426 /[$]LINENO/=
427 ' <$as_myself |
428 sed '
429 s/[$]LINENO.*/&-/
430 t lineno
432 :lineno
434 :loop
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
436 t loop
437 s/-\n.*//
438 ' >$as_me.lineno &&
439 chmod +x "$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
445 . "./$as_me.lineno"
446 # Exit status is that of the last command.
447 exit
450 ECHO_C= ECHO_N= ECHO_T=
451 case `echo -n x` in #(((((
452 -n*)
453 case `echo 'xy\c'` in
454 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
455 xy) ECHO_C='\c';;
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
457 ECHO_T=' ';;
458 esac;;
460 ECHO_N='-n';;
461 esac
463 rm -f conf$$ conf$$.exe conf$$.file
464 if test -d conf$$.dir; then
465 rm -f conf$$.dir/conf$$.file
466 else
467 rm -f conf$$.dir
468 mkdir conf$$.dir 2>/dev/null
470 if (echo >conf$$.file) 2>/dev/null; then
471 if ln -s conf$$.file conf$$ 2>/dev/null; then
472 as_ln_s='ln -s'
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
478 as_ln_s='cp -p'
479 elif ln conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s=ln
481 else
482 as_ln_s='cp -p'
484 else
485 as_ln_s='cp -p'
487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488 rmdir conf$$.dir 2>/dev/null
490 if mkdir -p . 2>/dev/null; then
491 as_mkdir_p='mkdir -p "$as_dir"'
492 else
493 test -d ./-p && rmdir ./-p
494 as_mkdir_p=false
497 if test -x / >/dev/null 2>&1; then
498 as_test_x='test -x'
499 else
500 if ls -dL / >/dev/null 2>&1; then
501 as_ls_L_option=L
502 else
503 as_ls_L_option=
505 as_test_x='
506 eval sh -c '\''
507 if test -d "$1"; then
508 test -d "$1/.";
509 else
510 case $1 in #(
511 -*)set "./$1";;
512 esac;
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
515 '\'' sh
518 as_executable_p=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 # Check that we are running under the correct shell.
529 SHELL=${CONFIG_SHELL-/bin/sh}
531 case X$lt_ECHO in
532 X*--fallback-echo)
533 # Remove one level of quotation (which was required for Make).
534 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
536 esac
538 ECHO=${lt_ECHO-echo}
539 if test "X$1" = X--no-reexec; then
540 # Discard the --no-reexec flag, and continue.
541 shift
542 elif test "X$1" = X--fallback-echo; then
543 # Avoid inline document here, it may be left over
545 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
546 # Yippee, $ECHO works!
548 else
549 # Restart under the correct shell.
550 exec $SHELL "$0" --no-reexec ${1+"$@"}
553 if test "X$1" = X--fallback-echo; then
554 # used as fallback echo
555 shift
556 cat <<_LT_EOF
558 _LT_EOF
559 exit 0
562 # The HP-UX ksh and POSIX shell print the target directory to stdout
563 # if CDPATH is set.
564 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
566 if test -z "$lt_ECHO"; then
567 if test "X${echo_test_string+set}" != Xset; then
568 # find a string as large as possible, as long as the shell can cope with it
569 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
570 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
571 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
572 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
573 then
574 break
576 done
579 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
580 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
581 test "X$echo_testing_string" = "X$echo_test_string"; then
583 else
584 # The Solaris, AIX, and Digital Unix default echo programs unquote
585 # backslashes. This makes it impossible to quote backslashes using
586 # echo "$something" | sed 's/\\/\\\\/g'
588 # So, first we look for a working echo in the user's PATH.
590 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
591 for dir in $PATH /usr/ucb; do
592 IFS="$lt_save_ifs"
593 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
594 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
595 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
596 test "X$echo_testing_string" = "X$echo_test_string"; then
597 ECHO="$dir/echo"
598 break
600 done
601 IFS="$lt_save_ifs"
603 if test "X$ECHO" = Xecho; then
604 # We didn't find a better echo, so look for alternatives.
605 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
606 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
608 # This shell has a builtin print -r that does the trick.
609 ECHO='print -r'
610 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
611 test "X$CONFIG_SHELL" != X/bin/ksh; then
612 # If we have ksh, try running configure again with it.
613 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
614 export ORIGINAL_CONFIG_SHELL
615 CONFIG_SHELL=/bin/ksh
616 export CONFIG_SHELL
617 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
618 else
619 # Try using printf.
620 ECHO='printf %s\n'
621 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
622 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
623 test "X$echo_testing_string" = "X$echo_test_string"; then
624 # Cool, printf works
626 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
627 test "X$echo_testing_string" = 'X\t' &&
628 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
630 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
631 export CONFIG_SHELL
632 SHELL="$CONFIG_SHELL"
633 export SHELL
634 ECHO="$CONFIG_SHELL $0 --fallback-echo"
635 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
636 test "X$echo_testing_string" = 'X\t' &&
637 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
638 test "X$echo_testing_string" = "X$echo_test_string"; then
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
640 else
641 # maybe with a smaller string...
642 prev=:
644 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
645 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
646 then
647 break
649 prev="$cmd"
650 done
652 if test "$prev" != 'sed 50q "$0"'; then
653 echo_test_string=`eval $prev`
654 export echo_test_string
655 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
656 else
657 # Oops. We lost completely, so just stick with echo.
658 ECHO=echo
666 # Copy echo and quote the copy suitably for passing to libtool from
667 # the Makefile, instead of quoting the original, which is used later.
668 lt_ECHO=$ECHO
669 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
670 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676 exec 7<&0 </dev/null 6>&1
678 # Name of the host.
679 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
680 # so uname gets run too.
681 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
684 # Initializations.
686 ac_default_prefix=/usr/local
687 ac_clean_files=
688 ac_config_libobj_dir=.
689 LIBOBJS=
690 cross_compiling=no
691 subdirs=
692 MFLAGS=
693 MAKEFLAGS=
695 # Identity of this package.
696 PACKAGE_NAME='GNU Fortran Runtime Library'
697 PACKAGE_TARNAME='libgfortran'
698 PACKAGE_VERSION='0.3'
699 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
700 PACKAGE_BUGREPORT=''
701 PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
703 # Factoring default headers for most tests.
704 ac_includes_default="\
705 #include <stdio.h>
706 #ifdef HAVE_SYS_TYPES_H
707 # include <sys/types.h>
708 #endif
709 #ifdef HAVE_SYS_STAT_H
710 # include <sys/stat.h>
711 #endif
712 #ifdef STDC_HEADERS
713 # include <stdlib.h>
714 # include <stddef.h>
715 #else
716 # ifdef HAVE_STDLIB_H
717 # include <stdlib.h>
718 # endif
719 #endif
720 #ifdef HAVE_STRING_H
721 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
722 # include <memory.h>
723 # endif
724 # include <string.h>
725 #endif
726 #ifdef HAVE_STRINGS_H
727 # include <strings.h>
728 #endif
729 #ifdef HAVE_INTTYPES_H
730 # include <inttypes.h>
731 #endif
732 #ifdef HAVE_STDINT_H
733 # include <stdint.h>
734 #endif
735 #ifdef HAVE_UNISTD_H
736 # include <unistd.h>
737 #endif"
739 ac_subst_vars='am__EXEEXT_FALSE
740 am__EXEEXT_TRUE
741 LTLIBOBJS
742 LIBOBJS
743 IEEE_FLAGS
744 FPU_HOST_HEADER
745 extra_ldflags_libgfortran
746 ac_ct_FC
747 FCFLAGS
749 enable_static
750 enable_shared
752 OTOOL64
753 OTOOL
754 LIPO
755 NMEDIT
756 DSYMUTIL
757 lt_ECHO
758 OBJDUMP
759 LN_S
761 ac_ct_DUMPBIN
762 DUMPBIN
764 FGREP
765 EGREP
766 GREP
768 LIBTOOL
769 RANLIB
772 SECTION_FLAGS
773 LIBGFOR_USE_SYMVER_FALSE
774 LIBGFOR_USE_SYMVER_TRUE
775 AM_CFLAGS
776 AM_FCFLAGS
777 am__fastdepCC_FALSE
778 am__fastdepCC_TRUE
779 CCDEPMODE
780 AMDEPBACKSLASH
781 AMDEP_FALSE
782 AMDEP_TRUE
783 am__quote
784 am__include
785 DEPDIR
786 OBJEXT
787 EXEEXT
788 ac_ct_CC
789 CPPFLAGS
790 LDFLAGS
791 CFLAGS
793 toolexeclibdir
794 toolexecdir
795 multi_basedir
796 MAINT
797 MAINTAINER_MODE_FALSE
798 MAINTAINER_MODE_TRUE
799 am__untar
800 am__tar
801 AMTAR
802 am__leading_dot
803 SET_MAKE
805 mkdir_p
806 MKDIR_P
807 INSTALL_STRIP_PROGRAM
808 STRIP
809 install_sh
810 MAKEINFO
811 AUTOHEADER
812 AUTOMAKE
813 AUTOCONF
814 ACLOCAL
815 VERSION
816 PACKAGE
817 CYGPATH_W
818 am__isrc
819 INSTALL_DATA
820 INSTALL_SCRIPT
821 INSTALL_PROGRAM
822 target_os
823 target_vendor
824 target_cpu
825 target
826 host_os
827 host_vendor
828 host_cpu
829 host
830 onestep
831 onestep_FALSE
832 onestep_TRUE
833 target_subdir
834 host_subdir
835 build_subdir
836 build_libsubdir
837 build_os
838 build_vendor
839 build_cpu
840 build
841 target_alias
842 host_alias
843 build_alias
844 LIBS
845 ECHO_T
846 ECHO_N
847 ECHO_C
848 DEFS
849 mandir
850 localedir
851 libdir
852 psdir
853 pdfdir
854 dvidir
855 htmldir
856 infodir
857 docdir
858 oldincludedir
859 includedir
860 localstatedir
861 sharedstatedir
862 sysconfdir
863 datadir
864 datarootdir
865 libexecdir
866 sbindir
867 bindir
868 program_transform_name
869 prefix
870 exec_prefix
871 PACKAGE_URL
872 PACKAGE_BUGREPORT
873 PACKAGE_STRING
874 PACKAGE_VERSION
875 PACKAGE_TARNAME
876 PACKAGE_NAME
877 PATH_SEPARATOR
878 SHELL'
879 ac_subst_files=''
880 ac_user_opts='
881 enable_option_checking
882 with_build_libsubdir
883 enable_version_specific_runtime_libs
884 enable_intermodule
885 enable_maintainer_mode
886 enable_multilib
887 enable_dependency_tracking
888 enable_shared
889 enable_static
890 with_pic
891 enable_fast_install
892 with_gnu_ld
893 enable_libtool_lock
894 enable_largefile
896 ac_precious_vars='build_alias
897 host_alias
898 target_alias
900 CPPFLAGS
902 FCFLAGS
903 LDFLAGS
904 LIBS'
907 # Initialize some variables set by options.
908 ac_init_help=
909 ac_init_version=false
910 ac_unrecognized_opts=
911 ac_unrecognized_sep=
912 # The variables have the same names as the options, with
913 # dashes changed to underlines.
914 cache_file=/dev/null
915 exec_prefix=NONE
916 no_create=
917 no_recursion=
918 prefix=NONE
919 program_prefix=NONE
920 program_suffix=NONE
921 program_transform_name=s,x,x,
922 silent=
923 site=
924 srcdir=
925 verbose=
926 x_includes=NONE
927 x_libraries=NONE
929 # Installation directory options.
930 # These are left unexpanded so users can "make install exec_prefix=/foo"
931 # and all the variables that are supposed to be based on exec_prefix
932 # by default will actually change.
933 # Use braces instead of parens because sh, perl, etc. also accept them.
934 # (The list follows the same order as the GNU Coding Standards.)
935 bindir='${exec_prefix}/bin'
936 sbindir='${exec_prefix}/sbin'
937 libexecdir='${exec_prefix}/libexec'
938 datarootdir='${prefix}/share'
939 datadir='${datarootdir}'
940 sysconfdir='${prefix}/etc'
941 sharedstatedir='${prefix}/com'
942 localstatedir='${prefix}/var'
943 includedir='${prefix}/include'
944 oldincludedir='/usr/include'
945 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
946 infodir='${datarootdir}/info'
947 htmldir='${docdir}'
948 dvidir='${docdir}'
949 pdfdir='${docdir}'
950 psdir='${docdir}'
951 libdir='${exec_prefix}/lib'
952 localedir='${datarootdir}/locale'
953 mandir='${datarootdir}/man'
955 ac_prev=
956 ac_dashdash=
957 for ac_option
959 # If the previous option needs an argument, assign it.
960 if test -n "$ac_prev"; then
961 eval $ac_prev=\$ac_option
962 ac_prev=
963 continue
966 case $ac_option in
967 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
968 *) ac_optarg=yes ;;
969 esac
971 # Accept the important Cygnus configure options, so we can diagnose typos.
973 case $ac_dashdash$ac_option in
975 ac_dashdash=yes ;;
977 -bindir | --bindir | --bindi | --bind | --bin | --bi)
978 ac_prev=bindir ;;
979 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
980 bindir=$ac_optarg ;;
982 -build | --build | --buil | --bui | --bu)
983 ac_prev=build_alias ;;
984 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
985 build_alias=$ac_optarg ;;
987 -cache-file | --cache-file | --cache-fil | --cache-fi \
988 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
989 ac_prev=cache_file ;;
990 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
991 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
992 cache_file=$ac_optarg ;;
994 --config-cache | -C)
995 cache_file=config.cache ;;
997 -datadir | --datadir | --datadi | --datad)
998 ac_prev=datadir ;;
999 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1000 datadir=$ac_optarg ;;
1002 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1003 | --dataroo | --dataro | --datar)
1004 ac_prev=datarootdir ;;
1005 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1006 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1007 datarootdir=$ac_optarg ;;
1009 -disable-* | --disable-*)
1010 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1011 # Reject names that are not valid shell variable names.
1012 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1013 as_fn_error "invalid feature name: $ac_useropt"
1014 ac_useropt_orig=$ac_useropt
1015 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1016 case $ac_user_opts in
1018 "enable_$ac_useropt"
1019 "*) ;;
1020 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1021 ac_unrecognized_sep=', ';;
1022 esac
1023 eval enable_$ac_useropt=no ;;
1025 -docdir | --docdir | --docdi | --doc | --do)
1026 ac_prev=docdir ;;
1027 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1028 docdir=$ac_optarg ;;
1030 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1031 ac_prev=dvidir ;;
1032 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1033 dvidir=$ac_optarg ;;
1035 -enable-* | --enable-*)
1036 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1039 as_fn_error "invalid feature name: $ac_useropt"
1040 ac_useropt_orig=$ac_useropt
1041 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042 case $ac_user_opts in
1044 "enable_$ac_useropt"
1045 "*) ;;
1046 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1047 ac_unrecognized_sep=', ';;
1048 esac
1049 eval enable_$ac_useropt=\$ac_optarg ;;
1051 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1052 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1053 | --exec | --exe | --ex)
1054 ac_prev=exec_prefix ;;
1055 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1056 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1057 | --exec=* | --exe=* | --ex=*)
1058 exec_prefix=$ac_optarg ;;
1060 -gas | --gas | --ga | --g)
1061 # Obsolete; use --with-gas.
1062 with_gas=yes ;;
1064 -help | --help | --hel | --he | -h)
1065 ac_init_help=long ;;
1066 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1067 ac_init_help=recursive ;;
1068 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1069 ac_init_help=short ;;
1071 -host | --host | --hos | --ho)
1072 ac_prev=host_alias ;;
1073 -host=* | --host=* | --hos=* | --ho=*)
1074 host_alias=$ac_optarg ;;
1076 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1077 ac_prev=htmldir ;;
1078 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1079 | --ht=*)
1080 htmldir=$ac_optarg ;;
1082 -includedir | --includedir | --includedi | --included | --include \
1083 | --includ | --inclu | --incl | --inc)
1084 ac_prev=includedir ;;
1085 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1086 | --includ=* | --inclu=* | --incl=* | --inc=*)
1087 includedir=$ac_optarg ;;
1089 -infodir | --infodir | --infodi | --infod | --info | --inf)
1090 ac_prev=infodir ;;
1091 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1092 infodir=$ac_optarg ;;
1094 -libdir | --libdir | --libdi | --libd)
1095 ac_prev=libdir ;;
1096 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1097 libdir=$ac_optarg ;;
1099 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1100 | --libexe | --libex | --libe)
1101 ac_prev=libexecdir ;;
1102 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1103 | --libexe=* | --libex=* | --libe=*)
1104 libexecdir=$ac_optarg ;;
1106 -localedir | --localedir | --localedi | --localed | --locale)
1107 ac_prev=localedir ;;
1108 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1109 localedir=$ac_optarg ;;
1111 -localstatedir | --localstatedir | --localstatedi | --localstated \
1112 | --localstate | --localstat | --localsta | --localst | --locals)
1113 ac_prev=localstatedir ;;
1114 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1115 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1116 localstatedir=$ac_optarg ;;
1118 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1119 ac_prev=mandir ;;
1120 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1121 mandir=$ac_optarg ;;
1123 -nfp | --nfp | --nf)
1124 # Obsolete; use --without-fp.
1125 with_fp=no ;;
1127 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1128 | --no-cr | --no-c | -n)
1129 no_create=yes ;;
1131 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1132 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1133 no_recursion=yes ;;
1135 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1136 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1137 | --oldin | --oldi | --old | --ol | --o)
1138 ac_prev=oldincludedir ;;
1139 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1140 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1141 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1142 oldincludedir=$ac_optarg ;;
1144 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1145 ac_prev=prefix ;;
1146 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1147 prefix=$ac_optarg ;;
1149 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1150 | --program-pre | --program-pr | --program-p)
1151 ac_prev=program_prefix ;;
1152 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1153 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1154 program_prefix=$ac_optarg ;;
1156 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1157 | --program-suf | --program-su | --program-s)
1158 ac_prev=program_suffix ;;
1159 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1160 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1161 program_suffix=$ac_optarg ;;
1163 -program-transform-name | --program-transform-name \
1164 | --program-transform-nam | --program-transform-na \
1165 | --program-transform-n | --program-transform- \
1166 | --program-transform | --program-transfor \
1167 | --program-transfo | --program-transf \
1168 | --program-trans | --program-tran \
1169 | --progr-tra | --program-tr | --program-t)
1170 ac_prev=program_transform_name ;;
1171 -program-transform-name=* | --program-transform-name=* \
1172 | --program-transform-nam=* | --program-transform-na=* \
1173 | --program-transform-n=* | --program-transform-=* \
1174 | --program-transform=* | --program-transfor=* \
1175 | --program-transfo=* | --program-transf=* \
1176 | --program-trans=* | --program-tran=* \
1177 | --progr-tra=* | --program-tr=* | --program-t=*)
1178 program_transform_name=$ac_optarg ;;
1180 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1181 ac_prev=pdfdir ;;
1182 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1183 pdfdir=$ac_optarg ;;
1185 -psdir | --psdir | --psdi | --psd | --ps)
1186 ac_prev=psdir ;;
1187 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1188 psdir=$ac_optarg ;;
1190 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1191 | -silent | --silent | --silen | --sile | --sil)
1192 silent=yes ;;
1194 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1195 ac_prev=sbindir ;;
1196 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1197 | --sbi=* | --sb=*)
1198 sbindir=$ac_optarg ;;
1200 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1201 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1202 | --sharedst | --shareds | --shared | --share | --shar \
1203 | --sha | --sh)
1204 ac_prev=sharedstatedir ;;
1205 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1206 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1207 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1208 | --sha=* | --sh=*)
1209 sharedstatedir=$ac_optarg ;;
1211 -site | --site | --sit)
1212 ac_prev=site ;;
1213 -site=* | --site=* | --sit=*)
1214 site=$ac_optarg ;;
1216 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1217 ac_prev=srcdir ;;
1218 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1219 srcdir=$ac_optarg ;;
1221 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1222 | --syscon | --sysco | --sysc | --sys | --sy)
1223 ac_prev=sysconfdir ;;
1224 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1225 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1226 sysconfdir=$ac_optarg ;;
1228 -target | --target | --targe | --targ | --tar | --ta | --t)
1229 ac_prev=target_alias ;;
1230 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1231 target_alias=$ac_optarg ;;
1233 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1234 verbose=yes ;;
1236 -version | --version | --versio | --versi | --vers | -V)
1237 ac_init_version=: ;;
1239 -with-* | --with-*)
1240 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1241 # Reject names that are not valid shell variable names.
1242 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1243 as_fn_error "invalid package name: $ac_useropt"
1244 ac_useropt_orig=$ac_useropt
1245 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1246 case $ac_user_opts in
1248 "with_$ac_useropt"
1249 "*) ;;
1250 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1251 ac_unrecognized_sep=', ';;
1252 esac
1253 eval with_$ac_useropt=\$ac_optarg ;;
1255 -without-* | --without-*)
1256 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1257 # Reject names that are not valid shell variable names.
1258 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1259 as_fn_error "invalid package name: $ac_useropt"
1260 ac_useropt_orig=$ac_useropt
1261 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1262 case $ac_user_opts in
1264 "with_$ac_useropt"
1265 "*) ;;
1266 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1267 ac_unrecognized_sep=', ';;
1268 esac
1269 eval with_$ac_useropt=no ;;
1271 --x)
1272 # Obsolete; use --with-x.
1273 with_x=yes ;;
1275 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1276 | --x-incl | --x-inc | --x-in | --x-i)
1277 ac_prev=x_includes ;;
1278 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1279 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1280 x_includes=$ac_optarg ;;
1282 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1283 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1284 ac_prev=x_libraries ;;
1285 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1286 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1287 x_libraries=$ac_optarg ;;
1289 -*) as_fn_error "unrecognized option: \`$ac_option'
1290 Try \`$0 --help' for more information."
1293 *=*)
1294 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1295 # Reject names that are not valid shell variable names.
1296 case $ac_envvar in #(
1297 '' | [0-9]* | *[!_$as_cr_alnum]* )
1298 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1299 esac
1300 eval $ac_envvar=\$ac_optarg
1301 export $ac_envvar ;;
1304 # FIXME: should be removed in autoconf 3.0.
1305 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1306 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1307 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1308 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1311 esac
1312 done
1314 if test -n "$ac_prev"; then
1315 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1316 as_fn_error "missing argument to $ac_option"
1319 if test -n "$ac_unrecognized_opts"; then
1320 case $enable_option_checking in
1321 no) ;;
1322 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1323 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1324 esac
1327 # Check all directory arguments for consistency.
1328 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1329 datadir sysconfdir sharedstatedir localstatedir includedir \
1330 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1331 libdir localedir mandir
1333 eval ac_val=\$$ac_var
1334 # Remove trailing slashes.
1335 case $ac_val in
1336 */ )
1337 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1338 eval $ac_var=\$ac_val;;
1339 esac
1340 # Be sure to have absolute directory names.
1341 case $ac_val in
1342 [\\/$]* | ?:[\\/]* ) continue;;
1343 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1344 esac
1345 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1346 done
1348 # There might be people who depend on the old broken behavior: `$host'
1349 # used to hold the argument of --host etc.
1350 # FIXME: To remove some day.
1351 build=$build_alias
1352 host=$host_alias
1353 target=$target_alias
1355 # FIXME: To remove some day.
1356 if test "x$host_alias" != x; then
1357 if test "x$build_alias" = x; then
1358 cross_compiling=maybe
1359 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1360 If a cross compiler is detected then cross compile mode will be used." >&2
1361 elif test "x$build_alias" != "x$host_alias"; then
1362 cross_compiling=yes
1366 ac_tool_prefix=
1367 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1369 test "$silent" = yes && exec 6>/dev/null
1372 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1373 ac_ls_di=`ls -di .` &&
1374 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1375 as_fn_error "working directory cannot be determined"
1376 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1377 as_fn_error "pwd does not report name of working directory"
1380 # Find the source files, if location was not specified.
1381 if test -z "$srcdir"; then
1382 ac_srcdir_defaulted=yes
1383 # Try the directory containing this script, then the parent directory.
1384 ac_confdir=`$as_dirname -- "$as_myself" ||
1385 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1386 X"$as_myself" : 'X\(//\)[^/]' \| \
1387 X"$as_myself" : 'X\(//\)$' \| \
1388 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1389 $as_echo X"$as_myself" |
1390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1391 s//\1/
1394 /^X\(\/\/\)[^/].*/{
1395 s//\1/
1398 /^X\(\/\/\)$/{
1399 s//\1/
1402 /^X\(\/\).*/{
1403 s//\1/
1406 s/.*/./; q'`
1407 srcdir=$ac_confdir
1408 if test ! -r "$srcdir/$ac_unique_file"; then
1409 srcdir=..
1411 else
1412 ac_srcdir_defaulted=no
1414 if test ! -r "$srcdir/$ac_unique_file"; then
1415 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1416 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1418 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1419 ac_abs_confdir=`(
1420 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1421 pwd)`
1422 # When building in place, set srcdir=.
1423 if test "$ac_abs_confdir" = "$ac_pwd"; then
1424 srcdir=.
1426 # Remove unnecessary trailing slashes from srcdir.
1427 # Double slashes in file names in object file debugging info
1428 # mess up M-x gdb in Emacs.
1429 case $srcdir in
1430 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1431 esac
1432 for ac_var in $ac_precious_vars; do
1433 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1434 eval ac_env_${ac_var}_value=\$${ac_var}
1435 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1436 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1437 done
1440 # Report the --help message.
1442 if test "$ac_init_help" = "long"; then
1443 # Omit some internal or obsolete options to make the list less imposing.
1444 # This message is too long to be a string in the A/UX 3.1 sh.
1445 cat <<_ACEOF
1446 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1448 Usage: $0 [OPTION]... [VAR=VALUE]...
1450 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1451 VAR=VALUE. See below for descriptions of some of the useful variables.
1453 Defaults for the options are specified in brackets.
1455 Configuration:
1456 -h, --help display this help and exit
1457 --help=short display options specific to this package
1458 --help=recursive display the short help of all the included packages
1459 -V, --version display version information and exit
1460 -q, --quiet, --silent do not print \`checking...' messages
1461 --cache-file=FILE cache test results in FILE [disabled]
1462 -C, --config-cache alias for \`--cache-file=config.cache'
1463 -n, --no-create do not create output files
1464 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1466 Installation directories:
1467 --prefix=PREFIX install architecture-independent files in PREFIX
1468 [$ac_default_prefix]
1469 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1470 [PREFIX]
1472 By default, \`make install' will install all the files in
1473 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1474 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1475 for instance \`--prefix=\$HOME'.
1477 For better control, use the options below.
1479 Fine tuning of the installation directories:
1480 --bindir=DIR user executables [EPREFIX/bin]
1481 --sbindir=DIR system admin executables [EPREFIX/sbin]
1482 --libexecdir=DIR program executables [EPREFIX/libexec]
1483 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1484 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1485 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1486 --libdir=DIR object code libraries [EPREFIX/lib]
1487 --includedir=DIR C header files [PREFIX/include]
1488 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1489 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1490 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1491 --infodir=DIR info documentation [DATAROOTDIR/info]
1492 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1493 --mandir=DIR man documentation [DATAROOTDIR/man]
1494 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1495 --htmldir=DIR html documentation [DOCDIR]
1496 --dvidir=DIR dvi documentation [DOCDIR]
1497 --pdfdir=DIR pdf documentation [DOCDIR]
1498 --psdir=DIR ps documentation [DOCDIR]
1499 _ACEOF
1501 cat <<\_ACEOF
1503 Program names:
1504 --program-prefix=PREFIX prepend PREFIX to installed program names
1505 --program-suffix=SUFFIX append SUFFIX to installed program names
1506 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1508 System types:
1509 --build=BUILD configure for building on BUILD [guessed]
1510 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1511 --target=TARGET configure for building compilers for TARGET [HOST]
1512 _ACEOF
1515 if test -n "$ac_init_help"; then
1516 case $ac_init_help in
1517 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1518 esac
1519 cat <<\_ACEOF
1521 Optional Features:
1522 --disable-option-checking ignore unrecognized --enable/--with options
1523 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1524 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1525 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1526 --enable-intermodule build the library in one step
1527 --enable-maintainer-mode enable make rules and dependencies not useful
1528 (and sometimes confusing) to the casual installer
1529 --enable-multilib build many library versions (default)
1530 --disable-dependency-tracking speeds up one-time build
1531 --enable-dependency-tracking do not reject slow dependency extractors
1532 --enable-shared[=PKGS] build shared libraries [default=yes]
1533 --enable-static[=PKGS] build static libraries [default=yes]
1534 --enable-fast-install[=PKGS]
1535 optimize for fast installation [default=yes]
1536 --disable-libtool-lock avoid locking (might break parallel builds)
1537 --disable-largefile omit support for large files
1539 Optional Packages:
1540 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1541 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1542 --with-build-libsubdir=DIR Directory where to find libraries for build system
1543 --with-pic try to use only PIC/non-PIC objects [default=use
1544 both]
1545 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1547 Some influential environment variables:
1548 CC C compiler command
1549 CFLAGS C compiler flags
1550 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1551 nonstandard directory <lib dir>
1552 LIBS libraries to pass to the linker, e.g. -l<library>
1553 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1554 you have headers in a nonstandard directory <include dir>
1555 CPP C preprocessor
1556 FC Fortran compiler command
1557 FCFLAGS Fortran compiler flags
1559 Use these variables to override the choices made by `configure' or to help
1560 it to find libraries and programs with nonstandard names/locations.
1562 Report bugs to the package provider.
1563 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1564 General help using GNU software: <http://www.gnu.org/gethelp/>.
1565 _ACEOF
1566 ac_status=$?
1569 if test "$ac_init_help" = "recursive"; then
1570 # If there are subdirs, report their specific --help.
1571 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1572 test -d "$ac_dir" ||
1573 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1574 continue
1575 ac_builddir=.
1577 case "$ac_dir" in
1578 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1580 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1581 # A ".." for each directory in $ac_dir_suffix.
1582 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1583 case $ac_top_builddir_sub in
1584 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1585 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1586 esac ;;
1587 esac
1588 ac_abs_top_builddir=$ac_pwd
1589 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1590 # for backward compatibility:
1591 ac_top_builddir=$ac_top_build_prefix
1593 case $srcdir in
1594 .) # We are building in place.
1595 ac_srcdir=.
1596 ac_top_srcdir=$ac_top_builddir_sub
1597 ac_abs_top_srcdir=$ac_pwd ;;
1598 [\\/]* | ?:[\\/]* ) # Absolute name.
1599 ac_srcdir=$srcdir$ac_dir_suffix;
1600 ac_top_srcdir=$srcdir
1601 ac_abs_top_srcdir=$srcdir ;;
1602 *) # Relative name.
1603 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1604 ac_top_srcdir=$ac_top_build_prefix$srcdir
1605 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1606 esac
1607 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1609 cd "$ac_dir" || { ac_status=$?; continue; }
1610 # Check for guested configure.
1611 if test -f "$ac_srcdir/configure.gnu"; then
1612 echo &&
1613 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1614 elif test -f "$ac_srcdir/configure"; then
1615 echo &&
1616 $SHELL "$ac_srcdir/configure" --help=recursive
1617 else
1618 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1619 fi || ac_status=$?
1620 cd "$ac_pwd" || { ac_status=$?; break; }
1621 done
1624 test -n "$ac_init_help" && exit $ac_status
1625 if $ac_init_version; then
1626 cat <<\_ACEOF
1627 GNU Fortran Runtime Library configure 0.3
1628 generated by GNU Autoconf 2.64
1630 Copyright (C) 2009 Free Software Foundation, Inc.
1631 This configure script is free software; the Free Software Foundation
1632 gives unlimited permission to copy, distribute and modify it.
1633 _ACEOF
1634 exit
1637 ## ------------------------ ##
1638 ## Autoconf initialization. ##
1639 ## ------------------------ ##
1641 # ac_fn_c_try_compile LINENO
1642 # --------------------------
1643 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1644 ac_fn_c_try_compile ()
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 rm -f conftest.$ac_objext
1648 if { { ac_try="$ac_compile"
1649 case "(($ac_try" in
1650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1651 *) ac_try_echo=$ac_try;;
1652 esac
1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655 (eval "$ac_compile") 2>conftest.err
1656 ac_status=$?
1657 if test -s conftest.err; then
1658 grep -v '^ *+' conftest.err >conftest.er1
1659 cat conftest.er1 >&5
1660 mv -f conftest.er1 conftest.err
1662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663 test $ac_status = 0; } && {
1664 test -z "$ac_c_werror_flag" ||
1665 test ! -s conftest.err
1666 } && test -s conftest.$ac_objext; then :
1667 ac_retval=0
1668 else
1669 $as_echo "$as_me: failed program was:" >&5
1670 sed 's/^/| /' conftest.$ac_ext >&5
1672 ac_retval=1
1674 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1675 return $ac_retval
1677 } # ac_fn_c_try_compile
1679 # ac_fn_c_try_link LINENO
1680 # -----------------------
1681 # Try to link conftest.$ac_ext, and return whether this succeeded.
1682 ac_fn_c_try_link ()
1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685 rm -f conftest.$ac_objext conftest$ac_exeext
1686 if { { ac_try="$ac_link"
1687 case "(($ac_try" in
1688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1689 *) ac_try_echo=$ac_try;;
1690 esac
1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692 $as_echo "$ac_try_echo"; } >&5
1693 (eval "$ac_link") 2>conftest.err
1694 ac_status=$?
1695 if test -s conftest.err; then
1696 grep -v '^ *+' conftest.err >conftest.er1
1697 cat conftest.er1 >&5
1698 mv -f conftest.er1 conftest.err
1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701 test $ac_status = 0; } && {
1702 test -z "$ac_c_werror_flag" ||
1703 test ! -s conftest.err
1704 } && test -s conftest$ac_exeext && {
1705 test "$cross_compiling" = yes ||
1706 $as_test_x conftest$ac_exeext
1707 }; then :
1708 ac_retval=0
1709 else
1710 $as_echo "$as_me: failed program was:" >&5
1711 sed 's/^/| /' conftest.$ac_ext >&5
1713 ac_retval=1
1715 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1716 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1717 # interfere with the next link command; also delete a directory that is
1718 # left behind by Apple's compiler. We do this before executing the actions.
1719 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1720 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1721 return $ac_retval
1723 } # ac_fn_c_try_link
1725 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1726 # -------------------------------------------------------
1727 # Tests whether HEADER exists and can be compiled using the include files in
1728 # INCLUDES, setting the cache variable VAR accordingly.
1729 ac_fn_c_check_header_compile ()
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1733 $as_echo_n "checking for $2... " >&6; }
1734 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1735 $as_echo_n "(cached) " >&6
1736 else
1737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1738 /* end confdefs.h. */
1740 #include <$2>
1741 _ACEOF
1742 if ac_fn_c_try_compile "$LINENO"; then :
1743 eval "$3=yes"
1744 else
1745 eval "$3=no"
1747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1749 eval ac_res=\$$3
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1751 $as_echo "$ac_res" >&6; }
1752 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1754 } # ac_fn_c_check_header_compile
1756 # ac_fn_c_try_cpp LINENO
1757 # ----------------------
1758 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1759 ac_fn_c_try_cpp ()
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 if { { ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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
1776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1777 test $ac_status = 0; } >/dev/null && {
1778 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1779 test ! -s conftest.err
1780 }; then :
1781 ac_retval=0
1782 else
1783 $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.$ac_ext >&5
1786 ac_retval=1
1788 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1789 return $ac_retval
1791 } # ac_fn_c_try_cpp
1793 # ac_fn_c_try_run LINENO
1794 # ----------------------
1795 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1796 # that executables *can* be run.
1797 ac_fn_c_try_run ()
1799 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1800 if { { ac_try="$ac_link"
1801 case "(($ac_try" in
1802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1803 *) ac_try_echo=$ac_try;;
1804 esac
1805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1806 $as_echo "$ac_try_echo"; } >&5
1807 (eval "$ac_link") 2>&5
1808 ac_status=$?
1809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1810 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1811 { { case "(($ac_try" in
1812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1813 *) ac_try_echo=$ac_try;;
1814 esac
1815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817 (eval "$ac_try") 2>&5
1818 ac_status=$?
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; }; }; then :
1821 ac_retval=0
1822 else
1823 $as_echo "$as_me: program exited with status $ac_status" >&5
1824 $as_echo "$as_me: failed program was:" >&5
1825 sed 's/^/| /' conftest.$ac_ext >&5
1827 ac_retval=$ac_status
1829 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1830 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1831 return $ac_retval
1833 } # ac_fn_c_try_run
1835 # ac_fn_c_check_func LINENO FUNC VAR
1836 # ----------------------------------
1837 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1838 ac_fn_c_check_func ()
1840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1842 $as_echo_n "checking for $2... " >&6; }
1843 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1844 $as_echo_n "(cached) " >&6
1845 else
1846 if test x$gcc_no_link = xyes; then
1847 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1850 /* end confdefs.h. */
1851 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1853 #define $2 innocuous_$2
1855 /* System header to define __stub macros and hopefully few prototypes,
1856 which can conflict with char $2 (); below.
1857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1858 <limits.h> exists even on freestanding compilers. */
1860 #ifdef __STDC__
1861 # include <limits.h>
1862 #else
1863 # include <assert.h>
1864 #endif
1866 #undef $2
1868 /* Override any GCC internal prototype to avoid an error.
1869 Use char because int might match the return type of a GCC
1870 builtin and then its argument prototype would still apply. */
1871 #ifdef __cplusplus
1872 extern "C"
1873 #endif
1874 char $2 ();
1875 /* The GNU C library defines this for functions which it implements
1876 to always fail with ENOSYS. Some functions are actually named
1877 something starting with __ and the normal name is an alias. */
1878 #if defined __stub_$2 || defined __stub___$2
1879 choke me
1880 #endif
1883 main ()
1885 return $2 ();
1887 return 0;
1889 _ACEOF
1890 if ac_fn_c_try_link "$LINENO"; then :
1891 eval "$3=yes"
1892 else
1893 eval "$3=no"
1895 rm -f core conftest.err conftest.$ac_objext \
1896 conftest$ac_exeext conftest.$ac_ext
1898 eval ac_res=\$$3
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1900 $as_echo "$ac_res" >&6; }
1901 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1903 } # ac_fn_c_check_func
1905 # ac_fn_fc_try_compile LINENO
1906 # ---------------------------
1907 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1908 ac_fn_fc_try_compile ()
1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911 rm -f conftest.$ac_objext
1912 if { { ac_try="$ac_compile"
1913 case "(($ac_try" in
1914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1915 *) ac_try_echo=$ac_try;;
1916 esac
1917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1918 $as_echo "$ac_try_echo"; } >&5
1919 (eval "$ac_compile") 2>conftest.err
1920 ac_status=$?
1921 if test -s conftest.err; then
1922 grep -v '^ *+' conftest.err >conftest.er1
1923 cat conftest.er1 >&5
1924 mv -f conftest.er1 conftest.err
1926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1927 test $ac_status = 0; } && {
1928 test -z "$ac_fc_werror_flag" ||
1929 test ! -s conftest.err
1930 } && test -s conftest.$ac_objext; then :
1931 ac_retval=0
1932 else
1933 $as_echo "$as_me: failed program was:" >&5
1934 sed 's/^/| /' conftest.$ac_ext >&5
1936 ac_retval=1
1938 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1939 return $ac_retval
1941 } # ac_fn_fc_try_compile
1943 # ac_fn_fc_try_link LINENO
1944 # ------------------------
1945 # Try to link conftest.$ac_ext, and return whether this succeeded.
1946 ac_fn_fc_try_link ()
1948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949 rm -f conftest.$ac_objext conftest$ac_exeext
1950 if { { ac_try="$ac_link"
1951 case "(($ac_try" in
1952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1953 *) ac_try_echo=$ac_try;;
1954 esac
1955 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1956 $as_echo "$ac_try_echo"; } >&5
1957 (eval "$ac_link") 2>conftest.err
1958 ac_status=$?
1959 if test -s conftest.err; then
1960 grep -v '^ *+' conftest.err >conftest.er1
1961 cat conftest.er1 >&5
1962 mv -f conftest.er1 conftest.err
1964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1965 test $ac_status = 0; } && {
1966 test -z "$ac_fc_werror_flag" ||
1967 test ! -s conftest.err
1968 } && test -s conftest$ac_exeext && {
1969 test "$cross_compiling" = yes ||
1970 $as_test_x conftest$ac_exeext
1971 }; then :
1972 ac_retval=0
1973 else
1974 $as_echo "$as_me: failed program was:" >&5
1975 sed 's/^/| /' conftest.$ac_ext >&5
1977 ac_retval=1
1979 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1980 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1981 # interfere with the next link command; also delete a directory that is
1982 # left behind by Apple's compiler. We do this before executing the actions.
1983 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1984 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1985 return $ac_retval
1987 } # ac_fn_fc_try_link
1989 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1990 # -------------------------------------------
1991 # Tests whether TYPE exists after having included INCLUDES, setting cache
1992 # variable VAR accordingly.
1993 ac_fn_c_check_type ()
1995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1997 $as_echo_n "checking for $2... " >&6; }
1998 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1999 $as_echo_n "(cached) " >&6
2000 else
2001 eval "$3=no"
2002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2003 /* end confdefs.h. */
2006 main ()
2008 if (sizeof ($2))
2009 return 0;
2011 return 0;
2013 _ACEOF
2014 if ac_fn_c_try_compile "$LINENO"; then :
2015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2016 /* end confdefs.h. */
2019 main ()
2021 if (sizeof (($2)))
2022 return 0;
2024 return 0;
2026 _ACEOF
2027 if ac_fn_c_try_compile "$LINENO"; then :
2029 else
2030 eval "$3=yes"
2032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2036 eval ac_res=\$$3
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2039 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2041 } # ac_fn_c_check_type
2043 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2044 # -------------------------------------------------------
2045 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2046 # the include files in INCLUDES and setting the cache variable VAR
2047 # accordingly.
2048 ac_fn_c_check_header_mongrel ()
2050 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2051 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2053 $as_echo_n "checking for $2... " >&6; }
2054 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2055 $as_echo_n "(cached) " >&6
2057 eval ac_res=\$$3
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2059 $as_echo "$ac_res" >&6; }
2060 else
2061 # Is the header compilable?
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2063 $as_echo_n "checking $2 usability... " >&6; }
2064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2065 /* end confdefs.h. */
2067 #include <$2>
2068 _ACEOF
2069 if ac_fn_c_try_compile "$LINENO"; then :
2070 ac_header_compiler=yes
2071 else
2072 ac_header_compiler=no
2074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2076 $as_echo "$ac_header_compiler" >&6; }
2078 # Is the header present?
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2080 $as_echo_n "checking $2 presence... " >&6; }
2081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2082 /* end confdefs.h. */
2083 #include <$2>
2084 _ACEOF
2085 if ac_fn_c_try_cpp "$LINENO"; then :
2086 ac_header_preproc=yes
2087 else
2088 ac_header_preproc=no
2090 rm -f conftest.err conftest.$ac_ext
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2092 $as_echo "$ac_header_preproc" >&6; }
2094 # So? What about this header?
2095 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2096 yes:no: )
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2098 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2100 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2102 no:yes:* )
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2104 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2106 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2108 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2110 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2112 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2114 esac
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2116 $as_echo_n "checking for $2... " >&6; }
2117 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2118 $as_echo_n "(cached) " >&6
2119 else
2120 eval "$3=\$ac_header_compiler"
2122 eval ac_res=\$$3
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2124 $as_echo "$ac_res" >&6; }
2126 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2128 } # ac_fn_c_check_header_mongrel
2130 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2131 # --------------------------------------------
2132 # Tries to find the compile-time value of EXPR in a program that includes
2133 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2134 # computed
2135 ac_fn_c_compute_int ()
2137 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2138 if test "$cross_compiling" = yes; then
2139 # Depending upon the size, compute the lo and hi bounds.
2140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2141 /* end confdefs.h. */
2144 main ()
2146 static int test_array [1 - 2 * !(($2) >= 0)];
2147 test_array [0] = 0
2150 return 0;
2152 _ACEOF
2153 if ac_fn_c_try_compile "$LINENO"; then :
2154 ac_lo=0 ac_mid=0
2155 while :; do
2156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2157 /* end confdefs.h. */
2160 main ()
2162 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2163 test_array [0] = 0
2166 return 0;
2168 _ACEOF
2169 if ac_fn_c_try_compile "$LINENO"; then :
2170 ac_hi=$ac_mid; break
2171 else
2172 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2173 if test $ac_lo -le $ac_mid; then
2174 ac_lo= ac_hi=
2175 break
2177 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2180 done
2181 else
2182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2183 /* end confdefs.h. */
2186 main ()
2188 static int test_array [1 - 2 * !(($2) < 0)];
2189 test_array [0] = 0
2192 return 0;
2194 _ACEOF
2195 if ac_fn_c_try_compile "$LINENO"; then :
2196 ac_hi=-1 ac_mid=-1
2197 while :; do
2198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2199 /* end confdefs.h. */
2202 main ()
2204 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2205 test_array [0] = 0
2208 return 0;
2210 _ACEOF
2211 if ac_fn_c_try_compile "$LINENO"; then :
2212 ac_lo=$ac_mid; break
2213 else
2214 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2215 if test $ac_mid -le $ac_hi; then
2216 ac_lo= ac_hi=
2217 break
2219 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2222 done
2223 else
2224 ac_lo= ac_hi=
2226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2229 # Binary search between lo and hi bounds.
2230 while test "x$ac_lo" != "x$ac_hi"; do
2231 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2233 /* end confdefs.h. */
2236 main ()
2238 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2239 test_array [0] = 0
2242 return 0;
2244 _ACEOF
2245 if ac_fn_c_try_compile "$LINENO"; then :
2246 ac_hi=$ac_mid
2247 else
2248 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2251 done
2252 case $ac_lo in #((
2253 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2254 '') ac_retval=1 ;;
2255 esac
2256 else
2257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2258 /* end confdefs.h. */
2260 static long int longval () { return $2; }
2261 static unsigned long int ulongval () { return $2; }
2262 #include <stdio.h>
2263 #include <stdlib.h>
2265 main ()
2268 FILE *f = fopen ("conftest.val", "w");
2269 if (! f)
2270 return 1;
2271 if (($2) < 0)
2273 long int i = longval ();
2274 if (i != ($2))
2275 return 1;
2276 fprintf (f, "%ld", i);
2278 else
2280 unsigned long int i = ulongval ();
2281 if (i != ($2))
2282 return 1;
2283 fprintf (f, "%lu", i);
2285 /* Do not output a trailing newline, as this causes \r\n confusion
2286 on some platforms. */
2287 return ferror (f) || fclose (f) != 0;
2290 return 0;
2292 _ACEOF
2293 if ac_fn_c_try_run "$LINENO"; then :
2294 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2295 else
2296 ac_retval=1
2298 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2299 conftest.$ac_objext conftest.beam conftest.$ac_ext
2300 rm -f conftest.val
2303 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2304 return $ac_retval
2306 } # ac_fn_c_compute_int
2308 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2309 # ----------------------------------------------------
2310 # Tries to find if the field MEMBER exists in type AGGR, after including
2311 # INCLUDES, setting cache variable VAR accordingly.
2312 ac_fn_c_check_member ()
2314 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2316 $as_echo_n "checking for $2.$3... " >&6; }
2317 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2318 $as_echo_n "(cached) " >&6
2319 else
2320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2321 /* end confdefs.h. */
2324 main ()
2326 static $2 ac_aggr;
2327 if (ac_aggr.$3)
2328 return 0;
2330 return 0;
2332 _ACEOF
2333 if ac_fn_c_try_compile "$LINENO"; then :
2334 eval "$4=yes"
2335 else
2336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2337 /* end confdefs.h. */
2340 main ()
2342 static $2 ac_aggr;
2343 if (sizeof ac_aggr.$3)
2344 return 0;
2346 return 0;
2348 _ACEOF
2349 if ac_fn_c_try_compile "$LINENO"; then :
2350 eval "$4=yes"
2351 else
2352 eval "$4=no"
2354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2358 eval ac_res=\$$4
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2360 $as_echo "$ac_res" >&6; }
2361 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2363 } # ac_fn_c_check_member
2364 cat >config.log <<_ACEOF
2365 This file contains any messages produced by compilers while
2366 running configure, to aid debugging if configure makes a mistake.
2368 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2369 generated by GNU Autoconf 2.64. Invocation command line was
2371 $ $0 $@
2373 _ACEOF
2374 exec 5>>config.log
2376 cat <<_ASUNAME
2377 ## --------- ##
2378 ## Platform. ##
2379 ## --------- ##
2381 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2382 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2383 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2384 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2385 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2387 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2388 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2390 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2391 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2392 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2393 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2394 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2395 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2396 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2398 _ASUNAME
2400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2401 for as_dir in $PATH
2403 IFS=$as_save_IFS
2404 test -z "$as_dir" && as_dir=.
2405 $as_echo "PATH: $as_dir"
2406 done
2407 IFS=$as_save_IFS
2409 } >&5
2411 cat >&5 <<_ACEOF
2414 ## ----------- ##
2415 ## Core tests. ##
2416 ## ----------- ##
2418 _ACEOF
2421 # Keep a trace of the command line.
2422 # Strip out --no-create and --no-recursion so they do not pile up.
2423 # Strip out --silent because we don't want to record it for future runs.
2424 # Also quote any args containing shell meta-characters.
2425 # Make two passes to allow for proper duplicate-argument suppression.
2426 ac_configure_args=
2427 ac_configure_args0=
2428 ac_configure_args1=
2429 ac_must_keep_next=false
2430 for ac_pass in 1 2
2432 for ac_arg
2434 case $ac_arg in
2435 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2436 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2437 | -silent | --silent | --silen | --sile | --sil)
2438 continue ;;
2439 *\'*)
2440 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2441 esac
2442 case $ac_pass in
2443 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2445 as_fn_append ac_configure_args1 " '$ac_arg'"
2446 if test $ac_must_keep_next = true; then
2447 ac_must_keep_next=false # Got value, back to normal.
2448 else
2449 case $ac_arg in
2450 *=* | --config-cache | -C | -disable-* | --disable-* \
2451 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2452 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2453 | -with-* | --with-* | -without-* | --without-* | --x)
2454 case "$ac_configure_args0 " in
2455 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2456 esac
2458 -* ) ac_must_keep_next=true ;;
2459 esac
2461 as_fn_append ac_configure_args " '$ac_arg'"
2463 esac
2464 done
2465 done
2466 { ac_configure_args0=; unset ac_configure_args0;}
2467 { ac_configure_args1=; unset ac_configure_args1;}
2469 # When interrupted or exit'd, cleanup temporary files, and complete
2470 # config.log. We remove comments because anyway the quotes in there
2471 # would cause problems or look ugly.
2472 # WARNING: Use '\'' to represent an apostrophe within the trap.
2473 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2474 trap 'exit_status=$?
2475 # Save into config.log some information that might help in debugging.
2477 echo
2479 cat <<\_ASBOX
2480 ## ---------------- ##
2481 ## Cache variables. ##
2482 ## ---------------- ##
2483 _ASBOX
2484 echo
2485 # The following way of writing the cache mishandles newlines in values,
2487 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2488 eval ac_val=\$$ac_var
2489 case $ac_val in #(
2490 *${as_nl}*)
2491 case $ac_var in #(
2492 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2493 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2494 esac
2495 case $ac_var in #(
2496 _ | IFS | as_nl) ;; #(
2497 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2498 *) { eval $ac_var=; unset $ac_var;} ;;
2499 esac ;;
2500 esac
2501 done
2502 (set) 2>&1 |
2503 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2504 *${as_nl}ac_space=\ *)
2505 sed -n \
2506 "s/'\''/'\''\\\\'\'''\''/g;
2507 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2508 ;; #(
2510 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2512 esac |
2513 sort
2515 echo
2517 cat <<\_ASBOX
2518 ## ----------------- ##
2519 ## Output variables. ##
2520 ## ----------------- ##
2521 _ASBOX
2522 echo
2523 for ac_var in $ac_subst_vars
2525 eval ac_val=\$$ac_var
2526 case $ac_val in
2527 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2528 esac
2529 $as_echo "$ac_var='\''$ac_val'\''"
2530 done | sort
2531 echo
2533 if test -n "$ac_subst_files"; then
2534 cat <<\_ASBOX
2535 ## ------------------- ##
2536 ## File substitutions. ##
2537 ## ------------------- ##
2538 _ASBOX
2539 echo
2540 for ac_var in $ac_subst_files
2542 eval ac_val=\$$ac_var
2543 case $ac_val in
2544 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2545 esac
2546 $as_echo "$ac_var='\''$ac_val'\''"
2547 done | sort
2548 echo
2551 if test -s confdefs.h; then
2552 cat <<\_ASBOX
2553 ## ----------- ##
2554 ## confdefs.h. ##
2555 ## ----------- ##
2556 _ASBOX
2557 echo
2558 cat confdefs.h
2559 echo
2561 test "$ac_signal" != 0 &&
2562 $as_echo "$as_me: caught signal $ac_signal"
2563 $as_echo "$as_me: exit $exit_status"
2564 } >&5
2565 rm -f core *.core core.conftest.* &&
2566 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2567 exit $exit_status
2569 for ac_signal in 1 2 13 15; do
2570 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2571 done
2572 ac_signal=0
2574 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2575 rm -f -r conftest* confdefs.h
2577 $as_echo "/* confdefs.h */" > confdefs.h
2579 # Predefined preprocessor variables.
2581 cat >>confdefs.h <<_ACEOF
2582 #define PACKAGE_NAME "$PACKAGE_NAME"
2583 _ACEOF
2585 cat >>confdefs.h <<_ACEOF
2586 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2587 _ACEOF
2589 cat >>confdefs.h <<_ACEOF
2590 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2591 _ACEOF
2593 cat >>confdefs.h <<_ACEOF
2594 #define PACKAGE_STRING "$PACKAGE_STRING"
2595 _ACEOF
2597 cat >>confdefs.h <<_ACEOF
2598 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2599 _ACEOF
2601 cat >>confdefs.h <<_ACEOF
2602 #define PACKAGE_URL "$PACKAGE_URL"
2603 _ACEOF
2606 # Let the site file select an alternate cache file if it wants to.
2607 # Prefer an explicitly selected file to automatically selected ones.
2608 ac_site_file1=NONE
2609 ac_site_file2=NONE
2610 if test -n "$CONFIG_SITE"; then
2611 ac_site_file1=$CONFIG_SITE
2612 elif test "x$prefix" != xNONE; then
2613 ac_site_file1=$prefix/share/config.site
2614 ac_site_file2=$prefix/etc/config.site
2615 else
2616 ac_site_file1=$ac_default_prefix/share/config.site
2617 ac_site_file2=$ac_default_prefix/etc/config.site
2619 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2621 test "x$ac_site_file" = xNONE && continue
2622 if test -r "$ac_site_file"; then
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2624 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2625 sed 's/^/| /' "$ac_site_file" >&5
2626 . "$ac_site_file"
2628 done
2630 if test -r "$cache_file"; then
2631 # Some versions of bash will fail to source /dev/null (special
2632 # files actually), so we avoid doing that.
2633 if test -f "$cache_file"; then
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2635 $as_echo "$as_me: loading cache $cache_file" >&6;}
2636 case $cache_file in
2637 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2638 *) . "./$cache_file";;
2639 esac
2641 else
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2643 $as_echo "$as_me: creating cache $cache_file" >&6;}
2644 >$cache_file
2647 # Check that the precious variables saved in the cache have kept the same
2648 # value.
2649 ac_cache_corrupted=false
2650 for ac_var in $ac_precious_vars; do
2651 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2652 eval ac_new_set=\$ac_env_${ac_var}_set
2653 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2654 eval ac_new_val=\$ac_env_${ac_var}_value
2655 case $ac_old_set,$ac_new_set in
2656 set,)
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2658 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2659 ac_cache_corrupted=: ;;
2660 ,set)
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2662 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2663 ac_cache_corrupted=: ;;
2664 ,);;
2666 if test "x$ac_old_val" != "x$ac_new_val"; then
2667 # differences in whitespace do not lead to failure.
2668 ac_old_val_w=`echo x $ac_old_val`
2669 ac_new_val_w=`echo x $ac_new_val`
2670 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2672 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2673 ac_cache_corrupted=:
2674 else
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2676 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2677 eval $ac_var=\$ac_old_val
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2680 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2682 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2683 fi;;
2684 esac
2685 # Pass precious variables to config.status.
2686 if test "$ac_new_set" = set; then
2687 case $ac_new_val in
2688 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2689 *) ac_arg=$ac_var=$ac_new_val ;;
2690 esac
2691 case " $ac_configure_args " in
2692 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2693 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2694 esac
2696 done
2697 if $ac_cache_corrupted; then
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2701 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2702 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2704 ## -------------------- ##
2705 ## Main body of script. ##
2706 ## -------------------- ##
2708 ac_ext=c
2709 ac_cpp='$CPP $CPPFLAGS'
2710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2718 ac_config_headers="$ac_config_headers config.h"
2720 ac_aux_dir=
2721 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2722 for ac_t in install-sh install.sh shtool; do
2723 if test -f "$ac_dir/$ac_t"; then
2724 ac_aux_dir=$ac_dir
2725 ac_install_sh="$ac_aux_dir/$ac_t -c"
2726 break 2
2728 done
2729 done
2730 if test -z "$ac_aux_dir"; then
2731 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2734 # These three variables are undocumented and unsupported,
2735 # and are intended to be withdrawn in a future Autoconf release.
2736 # They can cause serious problems if a builder's source tree is in a directory
2737 # whose full name contains unusual characters.
2738 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2739 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2740 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2743 # Make sure we can run config.sub.
2744 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2745 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2748 $as_echo_n "checking build system type... " >&6; }
2749 if test "${ac_cv_build+set}" = set; then :
2750 $as_echo_n "(cached) " >&6
2751 else
2752 ac_build_alias=$build_alias
2753 test "x$ac_build_alias" = x &&
2754 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2755 test "x$ac_build_alias" = x &&
2756 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2757 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2758 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2762 $as_echo "$ac_cv_build" >&6; }
2763 case $ac_cv_build in
2764 *-*-*) ;;
2765 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2766 esac
2767 build=$ac_cv_build
2768 ac_save_IFS=$IFS; IFS='-'
2769 set x $ac_cv_build
2770 shift
2771 build_cpu=$1
2772 build_vendor=$2
2773 shift; shift
2774 # Remember, the first character of IFS is used to create $*,
2775 # except with old shells:
2776 build_os=$*
2777 IFS=$ac_save_IFS
2778 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2781 case ${build_alias} in
2782 "") build_noncanonical=${build} ;;
2783 *) build_noncanonical=${build_alias} ;;
2784 esac
2786 case ${host_alias} in
2787 "") host_noncanonical=${build_noncanonical} ;;
2788 *) host_noncanonical=${host_alias} ;;
2789 esac
2791 case ${target_alias} in
2792 "") target_noncanonical=${host_noncanonical} ;;
2793 *) target_noncanonical=${target_alias} ;;
2794 esac
2797 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2798 # have matching libraries, they should use host libraries: Makefile.tpl
2799 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2800 # However, they still use the build modules, because the corresponding
2801 # host modules (e.g. bison) are only built for the host when bootstrap
2802 # finishes. So:
2803 # - build_subdir is where we find build modules, and never changes.
2804 # - build_libsubdir is where we find build libraries, and can be overridden.
2806 # Prefix 'build-' so this never conflicts with target_subdir.
2807 build_subdir="build-${build_noncanonical}"
2809 # Check whether --with-build-libsubdir was given.
2810 if test "${with_build_libsubdir+set}" = set; then :
2811 withval=$with_build_libsubdir; build_libsubdir="$withval"
2812 else
2813 build_libsubdir="$build_subdir"
2816 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2817 if ( test $srcdir = . && test -d gcc ) \
2818 || test -d $srcdir/../host-${host_noncanonical}; then
2819 host_subdir="host-${host_noncanonical}"
2820 else
2821 host_subdir=.
2823 # No prefix.
2824 target_subdir=${target_noncanonical}
2827 # -------
2828 # Options
2829 # -------
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2832 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2833 # Check whether --enable-version-specific-runtime-libs was given.
2834 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2835 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2836 yes) version_specific_libs=yes ;;
2837 no) version_specific_libs=no ;;
2838 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2839 esac
2840 else
2841 version_specific_libs=no
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2845 $as_echo "$version_specific_libs" >&6; }
2847 # Build with intermodule optimisations
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2849 $as_echo_n "checking for --enable-intermodule... " >&6; }
2850 # Check whether --enable-intermodule was given.
2851 if test "${enable_intermodule+set}" = set; then :
2852 enableval=$enable_intermodule; case "$enable_intermodule" in
2853 yes) onestep="-onestep";;
2854 *) onestep="";;
2855 esac
2856 else
2857 onestep=""
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2861 $as_echo "$enable_intermodule" >&6; }
2862 if test x$onestep = x-onestep; then
2863 onestep_TRUE=
2864 onestep_FALSE='#'
2865 else
2866 onestep_TRUE='#'
2867 onestep_FALSE=
2872 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2874 # You will slowly go insane if you do not grok the following fact: when
2875 # building this library, the top-level /target/ becomes the library's /host/.
2877 # configure then causes --target to default to --host, exactly like any
2878 # other package using autoconf. Therefore, 'target' and 'host' will
2879 # always be the same. This makes sense both for native and cross compilers
2880 # just think about it for a little while. :-)
2882 # Also, if this library is being configured as part of a cross compiler, the
2883 # top-level configure script will pass the "real" host as $with_cross_host.
2885 # Do not delete or change the following two lines. For why, see
2886 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2888 $as_echo_n "checking host system type... " >&6; }
2889 if test "${ac_cv_host+set}" = set; then :
2890 $as_echo_n "(cached) " >&6
2891 else
2892 if test "x$host_alias" = x; then
2893 ac_cv_host=$ac_cv_build
2894 else
2895 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2896 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2901 $as_echo "$ac_cv_host" >&6; }
2902 case $ac_cv_host in
2903 *-*-*) ;;
2904 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2905 esac
2906 host=$ac_cv_host
2907 ac_save_IFS=$IFS; IFS='-'
2908 set x $ac_cv_host
2909 shift
2910 host_cpu=$1
2911 host_vendor=$2
2912 shift; shift
2913 # Remember, the first character of IFS is used to create $*,
2914 # except with old shells:
2915 host_os=$*
2916 IFS=$ac_save_IFS
2917 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2921 $as_echo_n "checking target system type... " >&6; }
2922 if test "${ac_cv_target+set}" = set; then :
2923 $as_echo_n "(cached) " >&6
2924 else
2925 if test "x$target_alias" = x; then
2926 ac_cv_target=$ac_cv_host
2927 else
2928 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2929 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2934 $as_echo "$ac_cv_target" >&6; }
2935 case $ac_cv_target in
2936 *-*-*) ;;
2937 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2938 esac
2939 target=$ac_cv_target
2940 ac_save_IFS=$IFS; IFS='-'
2941 set x $ac_cv_target
2942 shift
2943 target_cpu=$1
2944 target_vendor=$2
2945 shift; shift
2946 # Remember, the first character of IFS is used to create $*,
2947 # except with old shells:
2948 target_os=$*
2949 IFS=$ac_save_IFS
2950 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2953 # The aliases save the names the user supplied, while $host etc.
2954 # will get canonicalized.
2955 test -n "$target_alias" &&
2956 test "$program_prefix$program_suffix$program_transform_name" = \
2957 NONENONEs,x,x, &&
2958 program_prefix=${target_alias}-
2960 target_alias=${target_alias-$host_alias}
2962 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2963 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2964 # 1.9.6: minimum required version
2965 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2966 # of other PACKAGE_* variables will, however, and there's nothing
2967 # we can do about that; they come from AC_INIT).
2968 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2969 # file in the top srcdir, etc, etc), so stop complaining.
2970 # -Wall: turns on all automake warnings...
2971 # -Wno-portability: ...except this one, since GNU make is required.
2972 am__api_version='1.11'
2974 # Find a good install program. We prefer a C program (faster),
2975 # so one script is as good as another. But avoid the broken or
2976 # incompatible versions:
2977 # SysV /etc/install, /usr/sbin/install
2978 # SunOS /usr/etc/install
2979 # IRIX /sbin/install
2980 # AIX /bin/install
2981 # AmigaOS /C/install, which installs bootblocks on floppy discs
2982 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2983 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2984 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2985 # OS/2's system install, which has a completely different semantic
2986 # ./install, which can be erroneously created by make from ./install.sh.
2987 # Reject install programs that cannot install multiple files.
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2989 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2990 if test -z "$INSTALL"; then
2991 if test "${ac_cv_path_install+set}" = set; then :
2992 $as_echo_n "(cached) " >&6
2993 else
2994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2995 for as_dir in $PATH
2997 IFS=$as_save_IFS
2998 test -z "$as_dir" && as_dir=.
2999 # Account for people who put trailing slashes in PATH elements.
3000 case $as_dir/ in #((
3001 ./ | .// | /[cC]/* | \
3002 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3003 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3004 /usr/ucb/* ) ;;
3006 # OSF1 and SCO ODT 3.0 have their own names for install.
3007 # Don't use installbsd from OSF since it installs stuff as root
3008 # by default.
3009 for ac_prog in ginstall scoinst install; do
3010 for ac_exec_ext in '' $ac_executable_extensions; do
3011 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3012 if test $ac_prog = install &&
3013 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3014 # AIX install. It has an incompatible calling convention.
3016 elif test $ac_prog = install &&
3017 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3018 # program-specific install script used by HP pwplus--don't use.
3020 else
3021 rm -rf conftest.one conftest.two conftest.dir
3022 echo one > conftest.one
3023 echo two > conftest.two
3024 mkdir conftest.dir
3025 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3026 test -s conftest.one && test -s conftest.two &&
3027 test -s conftest.dir/conftest.one &&
3028 test -s conftest.dir/conftest.two
3029 then
3030 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3031 break 3
3035 done
3036 done
3038 esac
3040 done
3041 IFS=$as_save_IFS
3043 rm -rf conftest.one conftest.two conftest.dir
3046 if test "${ac_cv_path_install+set}" = set; then
3047 INSTALL=$ac_cv_path_install
3048 else
3049 # As a last resort, use the slow shell script. Don't cache a
3050 # value for INSTALL within a source directory, because that will
3051 # break other packages using the cache if that directory is
3052 # removed, or if the value is a relative name.
3053 INSTALL=$ac_install_sh
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3057 $as_echo "$INSTALL" >&6; }
3059 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3060 # It thinks the first close brace ends the variable substitution.
3061 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3063 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3065 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3068 $as_echo_n "checking whether build environment is sane... " >&6; }
3069 # Just in case
3070 sleep 1
3071 echo timestamp > conftest.file
3072 # Reject unsafe characters in $srcdir or the absolute working directory
3073 # name. Accept space and tab only in the latter.
3074 am_lf='
3076 case `pwd` in
3077 *[\\\"\#\$\&\'\`$am_lf]*)
3078 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3079 esac
3080 case $srcdir in
3081 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3082 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3083 esac
3085 # Do `set' in a subshell so we don't clobber the current shell's
3086 # arguments. Must try -L first in case configure is actually a
3087 # symlink; some systems play weird games with the mod time of symlinks
3088 # (eg FreeBSD returns the mod time of the symlink's containing
3089 # directory).
3090 if (
3091 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3092 if test "$*" = "X"; then
3093 # -L didn't work.
3094 set X `ls -t "$srcdir/configure" conftest.file`
3096 rm -f conftest.file
3097 if test "$*" != "X $srcdir/configure conftest.file" \
3098 && test "$*" != "X conftest.file $srcdir/configure"; then
3100 # If neither matched, then we have a broken ls. This can happen
3101 # if, for instance, CONFIG_SHELL is bash and it inherits a
3102 # broken ls alias from the environment. This has actually
3103 # happened. Such a system could not be considered "sane".
3104 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3105 alias in your environment" "$LINENO" 5
3108 test "$2" = conftest.file
3110 then
3111 # Ok.
3113 else
3114 as_fn_error "newly created file is older than distributed files!
3115 Check your system clock" "$LINENO" 5
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3118 $as_echo "yes" >&6; }
3119 test "$program_prefix" != NONE &&
3120 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3121 # Use a double $ so make ignores it.
3122 test "$program_suffix" != NONE &&
3123 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3124 # Double any \ or $.
3125 # By default was `s,x,x', remove it if useless.
3126 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3127 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3129 # expand $ac_aux_dir to an absolute path
3130 am_aux_dir=`cd $ac_aux_dir && pwd`
3132 if test x"${MISSING+set}" != xset; then
3133 case $am_aux_dir in
3134 *\ * | *\ *)
3135 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3137 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3138 esac
3140 # Use eval to expand $SHELL
3141 if eval "$MISSING --run true"; then
3142 am_missing_run="$MISSING --run "
3143 else
3144 am_missing_run=
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3146 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3149 if test x"${install_sh}" != xset; then
3150 case $am_aux_dir in
3151 *\ * | *\ *)
3152 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3154 install_sh="\${SHELL} $am_aux_dir/install-sh"
3155 esac
3158 # Installed binaries are usually stripped using `strip' when the user
3159 # run `make install-strip'. However `strip' might not be the right
3160 # tool to use in cross-compilation environments, therefore Automake
3161 # will honor the `STRIP' environment variable to overrule this program.
3162 if test "$cross_compiling" != no; then
3163 if test -n "$ac_tool_prefix"; then
3164 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3165 set dummy ${ac_tool_prefix}strip; ac_word=$2
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3167 $as_echo_n "checking for $ac_word... " >&6; }
3168 if test "${ac_cv_prog_STRIP+set}" = set; then :
3169 $as_echo_n "(cached) " >&6
3170 else
3171 if test -n "$STRIP"; then
3172 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3173 else
3174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3175 for as_dir in $PATH
3177 IFS=$as_save_IFS
3178 test -z "$as_dir" && as_dir=.
3179 for ac_exec_ext in '' $ac_executable_extensions; do
3180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3181 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3183 break 2
3185 done
3186 done
3187 IFS=$as_save_IFS
3191 STRIP=$ac_cv_prog_STRIP
3192 if test -n "$STRIP"; then
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3194 $as_echo "$STRIP" >&6; }
3195 else
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3197 $as_echo "no" >&6; }
3202 if test -z "$ac_cv_prog_STRIP"; then
3203 ac_ct_STRIP=$STRIP
3204 # Extract the first word of "strip", so it can be a program name with args.
3205 set dummy strip; ac_word=$2
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3207 $as_echo_n "checking for $ac_word... " >&6; }
3208 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3209 $as_echo_n "(cached) " >&6
3210 else
3211 if test -n "$ac_ct_STRIP"; then
3212 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3213 else
3214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3215 for as_dir in $PATH
3217 IFS=$as_save_IFS
3218 test -z "$as_dir" && as_dir=.
3219 for ac_exec_ext in '' $ac_executable_extensions; do
3220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3221 ac_cv_prog_ac_ct_STRIP="strip"
3222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3223 break 2
3225 done
3226 done
3227 IFS=$as_save_IFS
3231 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3232 if test -n "$ac_ct_STRIP"; then
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3234 $as_echo "$ac_ct_STRIP" >&6; }
3235 else
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3237 $as_echo "no" >&6; }
3240 if test "x$ac_ct_STRIP" = x; then
3241 STRIP=":"
3242 else
3243 case $cross_compiling:$ac_tool_warned in
3244 yes:)
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3247 ac_tool_warned=yes ;;
3248 esac
3249 STRIP=$ac_ct_STRIP
3251 else
3252 STRIP="$ac_cv_prog_STRIP"
3256 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3259 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3260 if test -z "$MKDIR_P"; then
3261 if test "${ac_cv_path_mkdir+set}" = set; then :
3262 $as_echo_n "(cached) " >&6
3263 else
3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3265 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3267 IFS=$as_save_IFS
3268 test -z "$as_dir" && as_dir=.
3269 for ac_prog in mkdir gmkdir; do
3270 for ac_exec_ext in '' $ac_executable_extensions; do
3271 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3272 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3273 'mkdir (GNU coreutils) '* | \
3274 'mkdir (coreutils) '* | \
3275 'mkdir (fileutils) '4.1*)
3276 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3277 break 3;;
3278 esac
3279 done
3280 done
3281 done
3282 IFS=$as_save_IFS
3286 if test "${ac_cv_path_mkdir+set}" = set; then
3287 MKDIR_P="$ac_cv_path_mkdir -p"
3288 else
3289 # As a last resort, use the slow shell script. Don't cache a
3290 # value for MKDIR_P within a source directory, because that will
3291 # break other packages using the cache if that directory is
3292 # removed, or if the value is a relative name.
3293 test -d ./--version && rmdir ./--version
3294 MKDIR_P="$ac_install_sh -d"
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3298 $as_echo "$MKDIR_P" >&6; }
3300 mkdir_p="$MKDIR_P"
3301 case $mkdir_p in
3302 [\\/$]* | ?:[\\/]*) ;;
3303 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3304 esac
3306 for ac_prog in gawk mawk nawk awk
3308 # Extract the first word of "$ac_prog", so it can be a program name with args.
3309 set dummy $ac_prog; ac_word=$2
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3311 $as_echo_n "checking for $ac_word... " >&6; }
3312 if test "${ac_cv_prog_AWK+set}" = set; then :
3313 $as_echo_n "(cached) " >&6
3314 else
3315 if test -n "$AWK"; then
3316 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3317 else
3318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3319 for as_dir in $PATH
3321 IFS=$as_save_IFS
3322 test -z "$as_dir" && as_dir=.
3323 for ac_exec_ext in '' $ac_executable_extensions; do
3324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3325 ac_cv_prog_AWK="$ac_prog"
3326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3327 break 2
3329 done
3330 done
3331 IFS=$as_save_IFS
3335 AWK=$ac_cv_prog_AWK
3336 if test -n "$AWK"; then
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3338 $as_echo "$AWK" >&6; }
3339 else
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3341 $as_echo "no" >&6; }
3345 test -n "$AWK" && break
3346 done
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3349 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3350 set x ${MAKE-make}
3351 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3352 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3353 $as_echo_n "(cached) " >&6
3354 else
3355 cat >conftest.make <<\_ACEOF
3356 SHELL = /bin/sh
3357 all:
3358 @echo '@@@%%%=$(MAKE)=@@@%%%'
3359 _ACEOF
3360 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3361 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3362 *@@@%%%=?*=@@@%%%*)
3363 eval ac_cv_prog_make_${ac_make}_set=yes;;
3365 eval ac_cv_prog_make_${ac_make}_set=no;;
3366 esac
3367 rm -f conftest.make
3369 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3371 $as_echo "yes" >&6; }
3372 SET_MAKE=
3373 else
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3375 $as_echo "no" >&6; }
3376 SET_MAKE="MAKE=${MAKE-make}"
3379 rm -rf .tst 2>/dev/null
3380 mkdir .tst 2>/dev/null
3381 if test -d .tst; then
3382 am__leading_dot=.
3383 else
3384 am__leading_dot=_
3386 rmdir .tst 2>/dev/null
3388 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3389 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3390 # is not polluted with repeated "-I."
3391 am__isrc=' -I$(srcdir)'
3392 # test to see if srcdir already configured
3393 if test -f $srcdir/config.status; then
3394 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3398 # test whether we have cygpath
3399 if test -z "$CYGPATH_W"; then
3400 if (cygpath --version) >/dev/null 2>/dev/null; then
3401 CYGPATH_W='cygpath -w'
3402 else
3403 CYGPATH_W=echo
3408 # Define the identity of the package.
3409 PACKAGE='libgfortran'
3410 VERSION='0.3'
3413 # Some tools Automake needs.
3415 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3418 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3421 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3424 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3427 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3429 # We need awk for the "check" target. The system "awk" is bad on
3430 # some platforms.
3431 # Always define AMTAR for backward compatibility.
3433 AMTAR=${AMTAR-"${am_missing_run}tar"}
3435 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3444 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3445 # Check whether --enable-maintainer-mode was given.
3446 if test "${enable_maintainer_mode+set}" = set; then :
3447 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3448 else
3449 USE_MAINTAINER_MODE=no
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3453 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3454 if test $USE_MAINTAINER_MODE = yes; then
3455 MAINTAINER_MODE_TRUE=
3456 MAINTAINER_MODE_FALSE='#'
3457 else
3458 MAINTAINER_MODE_TRUE='#'
3459 MAINTAINER_MODE_FALSE=
3462 MAINT=$MAINTAINER_MODE_TRUE
3465 # Default to --enable-multilib
3466 # Check whether --enable-multilib was given.
3467 if test "${enable_multilib+set}" = set; then :
3468 enableval=$enable_multilib; case "$enableval" in
3469 yes) multilib=yes ;;
3470 no) multilib=no ;;
3471 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3472 esac
3473 else
3474 multilib=yes
3478 # We may get other options which we leave undocumented:
3479 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3480 # See config-ml.in if you want the gory details.
3482 if test "$srcdir" = "."; then
3483 if test "$with_target_subdir" != "."; then
3484 multi_basedir="$srcdir/$with_multisrctop../.."
3485 else
3486 multi_basedir="$srcdir/$with_multisrctop.."
3488 else
3489 multi_basedir="$srcdir/.."
3493 # Even if the default multilib is not a cross compilation,
3494 # it may be that some of the other multilibs are.
3495 if test $cross_compiling = no && test $multilib = yes \
3496 && test "x${with_multisubdir}" != x ; then
3497 cross_compiling=maybe
3500 ac_config_commands="$ac_config_commands default-1"
3503 # Handy for debugging:
3504 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3506 # Are we being configured with some form of cross compiler?
3507 # NB: We don't actually need to know this just now, but when, say, a test
3508 # suite is included, we'll have to know.
3509 if test "$build" != "$host"; then
3510 LIBGFOR_IS_NATIVE=false
3512 else
3513 LIBGFOR_IS_NATIVE=true
3516 # Calculate toolexeclibdir
3517 # Also toolexecdir, though it's only used in toolexeclibdir
3518 case ${version_specific_libs} in
3519 yes)
3520 # Need the gcc compiler version to know where to install libraries
3521 # and header files if --enable-version-specific-runtime-libs option
3522 # is selected.
3523 toolexecdir='$(libdir)/gcc/$(target_alias)'
3524 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3527 if test -n "$with_cross_host" &&
3528 test x"$with_cross_host" != x"no"; then
3529 # Install a library built with a cross compiler in tooldir, not libdir.
3530 toolexecdir='$(exec_prefix)/$(target_alias)'
3531 toolexeclibdir='$(toolexecdir)/lib'
3532 else
3533 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
3534 toolexeclibdir='$(libdir)'
3536 multi_os_directory=`$CC -print-multi-os-directory`
3537 case $multi_os_directory in
3538 .) ;; # Avoid trailing /.
3539 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
3540 esac
3542 esac
3546 # Check the compiler.
3547 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3548 # We must force CC to /not/ be precious variables; otherwise
3549 # the wrong, non-multilib-adjusted value will be used in multilibs.
3550 # As a side effect, we have to subst CFLAGS ourselves.
3554 ac_ext=c
3555 ac_cpp='$CPP $CPPFLAGS'
3556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3559 if test -n "$ac_tool_prefix"; then
3560 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3561 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3563 $as_echo_n "checking for $ac_word... " >&6; }
3564 if test "${ac_cv_prog_CC+set}" = set; then :
3565 $as_echo_n "(cached) " >&6
3566 else
3567 if test -n "$CC"; then
3568 ac_cv_prog_CC="$CC" # Let the user override the test.
3569 else
3570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3571 for as_dir in $PATH
3573 IFS=$as_save_IFS
3574 test -z "$as_dir" && as_dir=.
3575 for ac_exec_ext in '' $ac_executable_extensions; do
3576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3577 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3579 break 2
3581 done
3582 done
3583 IFS=$as_save_IFS
3587 CC=$ac_cv_prog_CC
3588 if test -n "$CC"; then
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3590 $as_echo "$CC" >&6; }
3591 else
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3593 $as_echo "no" >&6; }
3598 if test -z "$ac_cv_prog_CC"; then
3599 ac_ct_CC=$CC
3600 # Extract the first word of "gcc", so it can be a program name with args.
3601 set dummy gcc; ac_word=$2
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3603 $as_echo_n "checking for $ac_word... " >&6; }
3604 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3605 $as_echo_n "(cached) " >&6
3606 else
3607 if test -n "$ac_ct_CC"; then
3608 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3609 else
3610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3611 for as_dir in $PATH
3613 IFS=$as_save_IFS
3614 test -z "$as_dir" && as_dir=.
3615 for ac_exec_ext in '' $ac_executable_extensions; do
3616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3617 ac_cv_prog_ac_ct_CC="gcc"
3618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3619 break 2
3621 done
3622 done
3623 IFS=$as_save_IFS
3627 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3628 if test -n "$ac_ct_CC"; then
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3630 $as_echo "$ac_ct_CC" >&6; }
3631 else
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3633 $as_echo "no" >&6; }
3636 if test "x$ac_ct_CC" = x; then
3637 CC=""
3638 else
3639 case $cross_compiling:$ac_tool_warned in
3640 yes:)
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3643 ac_tool_warned=yes ;;
3644 esac
3645 CC=$ac_ct_CC
3647 else
3648 CC="$ac_cv_prog_CC"
3651 if test -z "$CC"; then
3652 if test -n "$ac_tool_prefix"; then
3653 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3654 set dummy ${ac_tool_prefix}cc; ac_word=$2
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3656 $as_echo_n "checking for $ac_word... " >&6; }
3657 if test "${ac_cv_prog_CC+set}" = set; then :
3658 $as_echo_n "(cached) " >&6
3659 else
3660 if test -n "$CC"; then
3661 ac_cv_prog_CC="$CC" # Let the user override the test.
3662 else
3663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3664 for as_dir in $PATH
3666 IFS=$as_save_IFS
3667 test -z "$as_dir" && as_dir=.
3668 for ac_exec_ext in '' $ac_executable_extensions; do
3669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3670 ac_cv_prog_CC="${ac_tool_prefix}cc"
3671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3672 break 2
3674 done
3675 done
3676 IFS=$as_save_IFS
3680 CC=$ac_cv_prog_CC
3681 if test -n "$CC"; then
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3683 $as_echo "$CC" >&6; }
3684 else
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3686 $as_echo "no" >&6; }
3692 if test -z "$CC"; then
3693 # Extract the first word of "cc", so it can be a program name with args.
3694 set dummy cc; ac_word=$2
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3696 $as_echo_n "checking for $ac_word... " >&6; }
3697 if test "${ac_cv_prog_CC+set}" = set; then :
3698 $as_echo_n "(cached) " >&6
3699 else
3700 if test -n "$CC"; then
3701 ac_cv_prog_CC="$CC" # Let the user override the test.
3702 else
3703 ac_prog_rejected=no
3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3705 for as_dir in $PATH
3707 IFS=$as_save_IFS
3708 test -z "$as_dir" && as_dir=.
3709 for ac_exec_ext in '' $ac_executable_extensions; do
3710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3711 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3712 ac_prog_rejected=yes
3713 continue
3715 ac_cv_prog_CC="cc"
3716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3717 break 2
3719 done
3720 done
3721 IFS=$as_save_IFS
3723 if test $ac_prog_rejected = yes; then
3724 # We found a bogon in the path, so make sure we never use it.
3725 set dummy $ac_cv_prog_CC
3726 shift
3727 if test $# != 0; then
3728 # We chose a different compiler from the bogus one.
3729 # However, it has the same basename, so the bogon will be chosen
3730 # first if we set CC to just the basename; use the full file name.
3731 shift
3732 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3737 CC=$ac_cv_prog_CC
3738 if test -n "$CC"; then
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3740 $as_echo "$CC" >&6; }
3741 else
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3743 $as_echo "no" >&6; }
3748 if test -z "$CC"; then
3749 if test -n "$ac_tool_prefix"; then
3750 for ac_prog in cl.exe
3752 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3753 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3755 $as_echo_n "checking for $ac_word... " >&6; }
3756 if test "${ac_cv_prog_CC+set}" = set; then :
3757 $as_echo_n "(cached) " >&6
3758 else
3759 if test -n "$CC"; then
3760 ac_cv_prog_CC="$CC" # Let the user override the test.
3761 else
3762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3763 for as_dir in $PATH
3765 IFS=$as_save_IFS
3766 test -z "$as_dir" && as_dir=.
3767 for ac_exec_ext in '' $ac_executable_extensions; do
3768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3769 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3771 break 2
3773 done
3774 done
3775 IFS=$as_save_IFS
3779 CC=$ac_cv_prog_CC
3780 if test -n "$CC"; then
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3782 $as_echo "$CC" >&6; }
3783 else
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3785 $as_echo "no" >&6; }
3789 test -n "$CC" && break
3790 done
3792 if test -z "$CC"; then
3793 ac_ct_CC=$CC
3794 for ac_prog in cl.exe
3796 # Extract the first word of "$ac_prog", so it can be a program name with args.
3797 set dummy $ac_prog; ac_word=$2
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3799 $as_echo_n "checking for $ac_word... " >&6; }
3800 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3801 $as_echo_n "(cached) " >&6
3802 else
3803 if test -n "$ac_ct_CC"; then
3804 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3805 else
3806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3807 for as_dir in $PATH
3809 IFS=$as_save_IFS
3810 test -z "$as_dir" && as_dir=.
3811 for ac_exec_ext in '' $ac_executable_extensions; do
3812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3813 ac_cv_prog_ac_ct_CC="$ac_prog"
3814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3815 break 2
3817 done
3818 done
3819 IFS=$as_save_IFS
3823 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3824 if test -n "$ac_ct_CC"; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3826 $as_echo "$ac_ct_CC" >&6; }
3827 else
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3829 $as_echo "no" >&6; }
3833 test -n "$ac_ct_CC" && break
3834 done
3836 if test "x$ac_ct_CC" = x; then
3837 CC=""
3838 else
3839 case $cross_compiling:$ac_tool_warned in
3840 yes:)
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3843 ac_tool_warned=yes ;;
3844 esac
3845 CC=$ac_ct_CC
3852 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3854 as_fn_error "no acceptable C compiler found in \$PATH
3855 See \`config.log' for more details." "$LINENO" 5; }
3857 # Provide some information about the compiler.
3858 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3859 set X $ac_compile
3860 ac_compiler=$2
3861 for ac_option in --version -v -V -qversion; do
3862 { { ac_try="$ac_compiler $ac_option >&5"
3863 case "(($ac_try" in
3864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3865 *) ac_try_echo=$ac_try;;
3866 esac
3867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3868 $as_echo "$ac_try_echo"; } >&5
3869 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3870 ac_status=$?
3871 if test -s conftest.err; then
3872 sed '10a\
3873 ... rest of stderr output deleted ...
3874 10q' conftest.err >conftest.er1
3875 cat conftest.er1 >&5
3876 rm -f conftest.er1 conftest.err
3878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3879 test $ac_status = 0; }
3880 done
3882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h. */
3886 main ()
3890 return 0;
3892 _ACEOF
3893 # FIXME: Cleanup?
3894 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3895 (eval $ac_link) 2>&5
3896 ac_status=$?
3897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3898 test $ac_status = 0; }; then :
3899 gcc_no_link=no
3900 else
3901 gcc_no_link=yes
3903 if test x$gcc_no_link = xyes; then
3904 # Setting cross_compile will disable run tests; it will
3905 # also disable AC_CHECK_FILE but that's generally
3906 # correct if we can't link.
3907 cross_compiling=yes
3908 EXEEXT=
3909 else
3910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3911 /* end confdefs.h. */
3914 main ()
3918 return 0;
3920 _ACEOF
3921 ac_clean_files_save=$ac_clean_files
3922 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3923 # Try to create an executable without -o first, disregard a.out.
3924 # It will help us diagnose broken compilers, and finding out an intuition
3925 # of exeext.
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3927 $as_echo_n "checking for C compiler default output file name... " >&6; }
3928 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3930 # The possible output files:
3931 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3933 ac_rmfiles=
3934 for ac_file in $ac_files
3936 case $ac_file in
3937 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3938 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3939 esac
3940 done
3941 rm -f $ac_rmfiles
3943 if { { ac_try="$ac_link_default"
3944 case "(($ac_try" in
3945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3946 *) ac_try_echo=$ac_try;;
3947 esac
3948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3949 $as_echo "$ac_try_echo"; } >&5
3950 (eval "$ac_link_default") 2>&5
3951 ac_status=$?
3952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3953 test $ac_status = 0; }; then :
3954 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3955 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3956 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3957 # so that the user can short-circuit this test for compilers unknown to
3958 # Autoconf.
3959 for ac_file in $ac_files ''
3961 test -f "$ac_file" || continue
3962 case $ac_file in
3963 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3965 [ab].out )
3966 # We found the default executable, but exeext='' is most
3967 # certainly right.
3968 break;;
3969 *.* )
3970 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3971 then :; else
3972 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3974 # We set ac_cv_exeext here because the later test for it is not
3975 # safe: cross compilers may not add the suffix if given an `-o'
3976 # argument, so we may need to know it at that point already.
3977 # Even if this section looks crufty: it has the advantage of
3978 # actually working.
3979 break;;
3981 break;;
3982 esac
3983 done
3984 test "$ac_cv_exeext" = no && ac_cv_exeext=
3986 else
3987 ac_file=''
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3990 $as_echo "$ac_file" >&6; }
3991 if test -z "$ac_file"; then :
3992 $as_echo "$as_me: failed program was:" >&5
3993 sed 's/^/| /' conftest.$ac_ext >&5
3995 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3996 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3997 { as_fn_set_status 77
3998 as_fn_error "C compiler cannot create executables
3999 See \`config.log' for more details." "$LINENO" 5; }; }
4001 ac_exeext=$ac_cv_exeext
4003 # Check that the compiler produces executables we can run. If not, either
4004 # the compiler is broken, or we cross compile.
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4006 $as_echo_n "checking whether the C compiler works... " >&6; }
4007 # If not cross compiling, check that we can run a simple program.
4008 if test "$cross_compiling" != yes; then
4009 if { ac_try='./$ac_file'
4010 { { case "(($ac_try" in
4011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4012 *) ac_try_echo=$ac_try;;
4013 esac
4014 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4015 $as_echo "$ac_try_echo"; } >&5
4016 (eval "$ac_try") 2>&5
4017 ac_status=$?
4018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4019 test $ac_status = 0; }; }; then
4020 cross_compiling=no
4021 else
4022 if test "$cross_compiling" = maybe; then
4023 cross_compiling=yes
4024 else
4025 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4026 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4027 as_fn_error "cannot run C compiled programs.
4028 If you meant to cross compile, use \`--host'.
4029 See \`config.log' for more details." "$LINENO" 5; }
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4034 $as_echo "yes" >&6; }
4036 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4037 ac_clean_files=$ac_clean_files_save
4038 # Check that the compiler produces executables we can run. If not, either
4039 # the compiler is broken, or we cross compile.
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4041 $as_echo_n "checking whether we are cross compiling... " >&6; }
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4043 $as_echo "$cross_compiling" >&6; }
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4046 $as_echo_n "checking for suffix of executables... " >&6; }
4047 if { { ac_try="$ac_link"
4048 case "(($ac_try" in
4049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4050 *) ac_try_echo=$ac_try;;
4051 esac
4052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4053 $as_echo "$ac_try_echo"; } >&5
4054 (eval "$ac_link") 2>&5
4055 ac_status=$?
4056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4057 test $ac_status = 0; }; then :
4058 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4059 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4060 # work properly (i.e., refer to `conftest.exe'), while it won't with
4061 # `rm'.
4062 for ac_file in conftest.exe conftest conftest.*; do
4063 test -f "$ac_file" || continue
4064 case $ac_file in
4065 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4066 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4067 break;;
4068 * ) break;;
4069 esac
4070 done
4071 else
4072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4074 as_fn_error "cannot compute suffix of executables: cannot compile and link
4075 See \`config.log' for more details." "$LINENO" 5; }
4077 rm -f conftest$ac_cv_exeext
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4079 $as_echo "$ac_cv_exeext" >&6; }
4081 rm -f conftest.$ac_ext
4082 EXEEXT=$ac_cv_exeext
4083 ac_exeext=$EXEEXT
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4086 $as_echo_n "checking for suffix of object files... " >&6; }
4087 if test "${ac_cv_objext+set}" = set; then :
4088 $as_echo_n "(cached) " >&6
4089 else
4090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h. */
4094 main ()
4098 return 0;
4100 _ACEOF
4101 rm -f conftest.o conftest.obj
4102 if { { ac_try="$ac_compile"
4103 case "(($ac_try" in
4104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4105 *) ac_try_echo=$ac_try;;
4106 esac
4107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4108 $as_echo "$ac_try_echo"; } >&5
4109 (eval "$ac_compile") 2>&5
4110 ac_status=$?
4111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4112 test $ac_status = 0; }; then :
4113 for ac_file in conftest.o conftest.obj conftest.*; do
4114 test -f "$ac_file" || continue;
4115 case $ac_file in
4116 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4117 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4118 break;;
4119 esac
4120 done
4121 else
4122 $as_echo "$as_me: failed program was:" >&5
4123 sed 's/^/| /' conftest.$ac_ext >&5
4125 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4127 as_fn_error "cannot compute suffix of object files: cannot compile
4128 See \`config.log' for more details." "$LINENO" 5; }
4130 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4133 $as_echo "$ac_cv_objext" >&6; }
4134 OBJEXT=$ac_cv_objext
4135 ac_objext=$OBJEXT
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4137 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4138 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4139 $as_echo_n "(cached) " >&6
4140 else
4141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4145 main ()
4147 #ifndef __GNUC__
4148 choke me
4149 #endif
4152 return 0;
4154 _ACEOF
4155 if ac_fn_c_try_compile "$LINENO"; then :
4156 ac_compiler_gnu=yes
4157 else
4158 ac_compiler_gnu=no
4160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4161 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4165 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4166 if test $ac_compiler_gnu = yes; then
4167 GCC=yes
4168 else
4169 GCC=
4171 ac_test_CFLAGS=${CFLAGS+set}
4172 ac_save_CFLAGS=$CFLAGS
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4174 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4175 if test "${ac_cv_prog_cc_g+set}" = set; then :
4176 $as_echo_n "(cached) " >&6
4177 else
4178 ac_save_c_werror_flag=$ac_c_werror_flag
4179 ac_c_werror_flag=yes
4180 ac_cv_prog_cc_g=no
4181 CFLAGS="-g"
4182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183 /* end confdefs.h. */
4186 main ()
4190 return 0;
4192 _ACEOF
4193 if ac_fn_c_try_compile "$LINENO"; then :
4194 ac_cv_prog_cc_g=yes
4195 else
4196 CFLAGS=""
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4201 main ()
4205 return 0;
4207 _ACEOF
4208 if ac_fn_c_try_compile "$LINENO"; then :
4210 else
4211 ac_c_werror_flag=$ac_save_c_werror_flag
4212 CFLAGS="-g"
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4217 main ()
4221 return 0;
4223 _ACEOF
4224 if ac_fn_c_try_compile "$LINENO"; then :
4225 ac_cv_prog_cc_g=yes
4227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4232 ac_c_werror_flag=$ac_save_c_werror_flag
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4235 $as_echo "$ac_cv_prog_cc_g" >&6; }
4236 if test "$ac_test_CFLAGS" = set; then
4237 CFLAGS=$ac_save_CFLAGS
4238 elif test $ac_cv_prog_cc_g = yes; then
4239 if test "$GCC" = yes; then
4240 CFLAGS="-g -O2"
4241 else
4242 CFLAGS="-g"
4244 else
4245 if test "$GCC" = yes; then
4246 CFLAGS="-O2"
4247 else
4248 CFLAGS=
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4252 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4253 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4254 $as_echo_n "(cached) " >&6
4255 else
4256 ac_cv_prog_cc_c89=no
4257 ac_save_CC=$CC
4258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4259 /* end confdefs.h. */
4260 #include <stdarg.h>
4261 #include <stdio.h>
4262 #include <sys/types.h>
4263 #include <sys/stat.h>
4264 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4265 struct buf { int x; };
4266 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4267 static char *e (p, i)
4268 char **p;
4269 int i;
4271 return p[i];
4273 static char *f (char * (*g) (char **, int), char **p, ...)
4275 char *s;
4276 va_list v;
4277 va_start (v,p);
4278 s = g (p, va_arg (v,int));
4279 va_end (v);
4280 return s;
4283 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4284 function prototypes and stuff, but not '\xHH' hex character constants.
4285 These don't provoke an error unfortunately, instead are silently treated
4286 as 'x'. The following induces an error, until -std is added to get
4287 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4288 array size at least. It's necessary to write '\x00'==0 to get something
4289 that's true only with -std. */
4290 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4292 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4293 inside strings and character constants. */
4294 #define FOO(x) 'x'
4295 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4297 int test (int i, double x);
4298 struct s1 {int (*f) (int a);};
4299 struct s2 {int (*f) (double a);};
4300 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4301 int argc;
4302 char **argv;
4304 main ()
4306 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4308 return 0;
4310 _ACEOF
4311 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4312 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4314 CC="$ac_save_CC $ac_arg"
4315 if ac_fn_c_try_compile "$LINENO"; then :
4316 ac_cv_prog_cc_c89=$ac_arg
4318 rm -f core conftest.err conftest.$ac_objext
4319 test "x$ac_cv_prog_cc_c89" != "xno" && break
4320 done
4321 rm -f conftest.$ac_ext
4322 CC=$ac_save_CC
4325 # AC_CACHE_VAL
4326 case "x$ac_cv_prog_cc_c89" in
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4329 $as_echo "none needed" >&6; } ;;
4330 xno)
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4332 $as_echo "unsupported" >&6; } ;;
4334 CC="$CC $ac_cv_prog_cc_c89"
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4336 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4337 esac
4338 if test "x$ac_cv_prog_cc_c89" != xno; then :
4342 ac_ext=c
4343 ac_cpp='$CPP $CPPFLAGS'
4344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4347 DEPDIR="${am__leading_dot}deps"
4349 ac_config_commands="$ac_config_commands depfiles"
4352 am_make=${MAKE-make}
4353 cat > confinc << 'END'
4354 am__doit:
4355 @echo this is the am__doit target
4356 .PHONY: am__doit
4358 # If we don't find an include directive, just comment out the code.
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4360 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4361 am__include="#"
4362 am__quote=
4363 _am_result=none
4364 # First try GNU make style include.
4365 echo "include confinc" > confmf
4366 # Ignore all kinds of additional output from `make'.
4367 case `$am_make -s -f confmf 2> /dev/null` in #(
4368 *the\ am__doit\ target*)
4369 am__include=include
4370 am__quote=
4371 _am_result=GNU
4373 esac
4374 # Now try BSD make style include.
4375 if test "$am__include" = "#"; then
4376 echo '.include "confinc"' > confmf
4377 case `$am_make -s -f confmf 2> /dev/null` in #(
4378 *the\ am__doit\ target*)
4379 am__include=.include
4380 am__quote="\""
4381 _am_result=BSD
4383 esac
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4388 $as_echo "$_am_result" >&6; }
4389 rm -f confinc confmf
4391 # Check whether --enable-dependency-tracking was given.
4392 if test "${enable_dependency_tracking+set}" = set; then :
4393 enableval=$enable_dependency_tracking;
4396 if test "x$enable_dependency_tracking" != xno; then
4397 am_depcomp="$ac_aux_dir/depcomp"
4398 AMDEPBACKSLASH='\'
4400 if test "x$enable_dependency_tracking" != xno; then
4401 AMDEP_TRUE=
4402 AMDEP_FALSE='#'
4403 else
4404 AMDEP_TRUE='#'
4405 AMDEP_FALSE=
4410 depcc="$CC" am_compiler_list=
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4413 $as_echo_n "checking dependency style of $depcc... " >&6; }
4414 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4415 $as_echo_n "(cached) " >&6
4416 else
4417 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4418 # We make a subdir and do the tests there. Otherwise we can end up
4419 # making bogus files that we don't know about and never remove. For
4420 # instance it was reported that on HP-UX the gcc test will end up
4421 # making a dummy file named `D' -- because `-MD' means `put the output
4422 # in D'.
4423 mkdir conftest.dir
4424 # Copy depcomp to subdir because otherwise we won't find it if we're
4425 # using a relative directory.
4426 cp "$am_depcomp" conftest.dir
4427 cd conftest.dir
4428 # We will build objects and dependencies in a subdirectory because
4429 # it helps to detect inapplicable dependency modes. For instance
4430 # both Tru64's cc and ICC support -MD to output dependencies as a
4431 # side effect of compilation, but ICC will put the dependencies in
4432 # the current directory while Tru64 will put them in the object
4433 # directory.
4434 mkdir sub
4436 am_cv_CC_dependencies_compiler_type=none
4437 if test "$am_compiler_list" = ""; then
4438 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4440 am__universal=false
4441 case " $depcc " in #(
4442 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4443 esac
4445 for depmode in $am_compiler_list; do
4446 # Setup a source with many dependencies, because some compilers
4447 # like to wrap large dependency lists on column 80 (with \), and
4448 # we should not choose a depcomp mode which is confused by this.
4450 # We need to recreate these files for each test, as the compiler may
4451 # overwrite some of them when testing with obscure command lines.
4452 # This happens at least with the AIX C compiler.
4453 : > sub/conftest.c
4454 for i in 1 2 3 4 5 6; do
4455 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4456 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4457 # Solaris 8's {/usr,}/bin/sh.
4458 touch sub/conftst$i.h
4459 done
4460 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4462 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4463 # mode. It turns out that the SunPro C++ compiler does not properly
4464 # handle `-M -o', and we need to detect this. Also, some Intel
4465 # versions had trouble with output in subdirs
4466 am__obj=sub/conftest.${OBJEXT-o}
4467 am__minus_obj="-o $am__obj"
4468 case $depmode in
4469 gcc)
4470 # This depmode causes a compiler race in universal mode.
4471 test "$am__universal" = false || continue
4473 nosideeffect)
4474 # after this tag, mechanisms are not by side-effect, so they'll
4475 # only be used when explicitly requested
4476 if test "x$enable_dependency_tracking" = xyes; then
4477 continue
4478 else
4479 break
4482 msvisualcpp | msvcmsys)
4483 # This compiler won't grok `-c -o', but also, the minuso test has
4484 # not run yet. These depmodes are late enough in the game, and
4485 # so weak that their functioning should not be impacted.
4486 am__obj=conftest.${OBJEXT-o}
4487 am__minus_obj=
4489 none) break ;;
4490 esac
4491 if depmode=$depmode \
4492 source=sub/conftest.c object=$am__obj \
4493 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4494 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4495 >/dev/null 2>conftest.err &&
4496 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4497 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4498 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4499 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4500 # icc doesn't choke on unknown options, it will just issue warnings
4501 # or remarks (even with -Werror). So we grep stderr for any message
4502 # that says an option was ignored or not supported.
4503 # When given -MP, icc 7.0 and 7.1 complain thusly:
4504 # icc: Command line warning: ignoring option '-M'; no argument required
4505 # The diagnosis changed in icc 8.0:
4506 # icc: Command line remark: option '-MP' not supported
4507 if (grep 'ignoring option' conftest.err ||
4508 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4509 am_cv_CC_dependencies_compiler_type=$depmode
4510 break
4513 done
4515 cd ..
4516 rm -rf conftest.dir
4517 else
4518 am_cv_CC_dependencies_compiler_type=none
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4523 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4524 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4527 test "x$enable_dependency_tracking" != xno \
4528 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4529 am__fastdepCC_TRUE=
4530 am__fastdepCC_FALSE='#'
4531 else
4532 am__fastdepCC_TRUE='#'
4533 am__fastdepCC_FALSE=
4539 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
4540 if test "x$GCC" = "xyes"; then
4541 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
4542 ## We like to use C99 routines when available. This makes sure that
4543 ## __STDC_VERSION__ is set such that libc includes make them available.
4544 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
4545 ## Compile the following tests with the same system header contents
4546 ## that we'll encounter when compiling our own source files.
4547 CFLAGS="-std=gnu99 $CFLAGS"
4553 # Check for symbol versioning (copied from libssp).
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
4555 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
4556 cat > conftest.map <<EOF
4557 FOO_1.0 {
4558 global: *foo*; bar; local: *;
4561 save_LDFLAGS="$LDFLAGS"
4562 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
4564 if test x$gcc_no_link = xyes; then
4565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4568 /* end confdefs.h. */
4569 int foo;
4571 main ()
4575 return 0;
4577 _ACEOF
4578 if ac_fn_c_try_link "$LINENO"; then :
4579 gfortran_use_symver=yes
4580 else
4581 gfortran_use_symver=no
4583 rm -f core conftest.err conftest.$ac_objext \
4584 conftest$ac_exeext conftest.$ac_ext
4585 LDFLAGS="$save_LDFLAGS"
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
4587 $as_echo "$gfortran_use_symver" >&6; }
4588 if test "x$gfortran_use_symver" = xyes; then
4589 LIBGFOR_USE_SYMVER_TRUE=
4590 LIBGFOR_USE_SYMVER_FALSE='#'
4591 else
4592 LIBGFOR_USE_SYMVER_TRUE='#'
4593 LIBGFOR_USE_SYMVER_FALSE=
4597 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
4598 # similarly to how libstdc++ does it
4599 ac_test_CFLAGS="${CFLAGS+set}"
4600 ac_save_CFLAGS="$CFLAGS"
4602 # Check for -ffunction-sections -fdata-sections
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
4604 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
4605 CFLAGS='-Werror -ffunction-sections -fdata-sections'
4606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4607 /* end confdefs.h. */
4610 main ()
4612 int foo;
4614 return 0;
4616 _ACEOF
4617 if ac_fn_c_try_compile "$LINENO"; then :
4618 ac_fdsections=yes
4619 else
4620 ac_fdsections=no
4622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4623 if test "$ac_test_CFLAGS" = set; then
4624 CFLAGS="$ac_save_CFLAGS"
4625 else
4626 # this is the suspicious part
4627 CFLAGS=""
4629 if test x"$ac_fdsections" = x"yes"; then
4630 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
4633 $as_echo "$ac_fdsections" >&6; }
4636 # Find other programs we need.
4637 if test -n "$ac_tool_prefix"; then
4638 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4639 set dummy ${ac_tool_prefix}as; ac_word=$2
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641 $as_echo_n "checking for $ac_word... " >&6; }
4642 if test "${ac_cv_prog_AS+set}" = set; then :
4643 $as_echo_n "(cached) " >&6
4644 else
4645 if test -n "$AS"; then
4646 ac_cv_prog_AS="$AS" # Let the user override the test.
4647 else
4648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4649 for as_dir in $PATH
4651 IFS=$as_save_IFS
4652 test -z "$as_dir" && as_dir=.
4653 for ac_exec_ext in '' $ac_executable_extensions; do
4654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4655 ac_cv_prog_AS="${ac_tool_prefix}as"
4656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4657 break 2
4659 done
4660 done
4661 IFS=$as_save_IFS
4665 AS=$ac_cv_prog_AS
4666 if test -n "$AS"; then
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4668 $as_echo "$AS" >&6; }
4669 else
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671 $as_echo "no" >&6; }
4676 if test -z "$ac_cv_prog_AS"; then
4677 ac_ct_AS=$AS
4678 # Extract the first word of "as", so it can be a program name with args.
4679 set dummy as; ac_word=$2
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4681 $as_echo_n "checking for $ac_word... " >&6; }
4682 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4683 $as_echo_n "(cached) " >&6
4684 else
4685 if test -n "$ac_ct_AS"; then
4686 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4687 else
4688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4689 for as_dir in $PATH
4691 IFS=$as_save_IFS
4692 test -z "$as_dir" && as_dir=.
4693 for ac_exec_ext in '' $ac_executable_extensions; do
4694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4695 ac_cv_prog_ac_ct_AS="as"
4696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4697 break 2
4699 done
4700 done
4701 IFS=$as_save_IFS
4705 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4706 if test -n "$ac_ct_AS"; then
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4708 $as_echo "$ac_ct_AS" >&6; }
4709 else
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4711 $as_echo "no" >&6; }
4714 if test "x$ac_ct_AS" = x; then
4715 AS=""
4716 else
4717 case $cross_compiling:$ac_tool_warned in
4718 yes:)
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4721 ac_tool_warned=yes ;;
4722 esac
4723 AS=$ac_ct_AS
4725 else
4726 AS="$ac_cv_prog_AS"
4729 if test -n "$ac_tool_prefix"; then
4730 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4731 set dummy ${ac_tool_prefix}ar; ac_word=$2
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4733 $as_echo_n "checking for $ac_word... " >&6; }
4734 if test "${ac_cv_prog_AR+set}" = set; then :
4735 $as_echo_n "(cached) " >&6
4736 else
4737 if test -n "$AR"; then
4738 ac_cv_prog_AR="$AR" # Let the user override the test.
4739 else
4740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4741 for as_dir in $PATH
4743 IFS=$as_save_IFS
4744 test -z "$as_dir" && as_dir=.
4745 for ac_exec_ext in '' $ac_executable_extensions; do
4746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4747 ac_cv_prog_AR="${ac_tool_prefix}ar"
4748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4749 break 2
4751 done
4752 done
4753 IFS=$as_save_IFS
4757 AR=$ac_cv_prog_AR
4758 if test -n "$AR"; then
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4760 $as_echo "$AR" >&6; }
4761 else
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763 $as_echo "no" >&6; }
4768 if test -z "$ac_cv_prog_AR"; then
4769 ac_ct_AR=$AR
4770 # Extract the first word of "ar", so it can be a program name with args.
4771 set dummy ar; ac_word=$2
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4773 $as_echo_n "checking for $ac_word... " >&6; }
4774 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4775 $as_echo_n "(cached) " >&6
4776 else
4777 if test -n "$ac_ct_AR"; then
4778 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4779 else
4780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4781 for as_dir in $PATH
4783 IFS=$as_save_IFS
4784 test -z "$as_dir" && as_dir=.
4785 for ac_exec_ext in '' $ac_executable_extensions; do
4786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4787 ac_cv_prog_ac_ct_AR="ar"
4788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4789 break 2
4791 done
4792 done
4793 IFS=$as_save_IFS
4797 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4798 if test -n "$ac_ct_AR"; then
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4800 $as_echo "$ac_ct_AR" >&6; }
4801 else
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 $as_echo "no" >&6; }
4806 if test "x$ac_ct_AR" = x; then
4807 AR=""
4808 else
4809 case $cross_compiling:$ac_tool_warned in
4810 yes:)
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4813 ac_tool_warned=yes ;;
4814 esac
4815 AR=$ac_ct_AR
4817 else
4818 AR="$ac_cv_prog_AR"
4821 if test -n "$ac_tool_prefix"; then
4822 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4823 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4825 $as_echo_n "checking for $ac_word... " >&6; }
4826 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4827 $as_echo_n "(cached) " >&6
4828 else
4829 if test -n "$RANLIB"; then
4830 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4831 else
4832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4833 for as_dir in $PATH
4835 IFS=$as_save_IFS
4836 test -z "$as_dir" && as_dir=.
4837 for ac_exec_ext in '' $ac_executable_extensions; do
4838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4839 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4841 break 2
4843 done
4844 done
4845 IFS=$as_save_IFS
4849 RANLIB=$ac_cv_prog_RANLIB
4850 if test -n "$RANLIB"; then
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4852 $as_echo "$RANLIB" >&6; }
4853 else
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4855 $as_echo "no" >&6; }
4860 if test -z "$ac_cv_prog_RANLIB"; then
4861 ac_ct_RANLIB=$RANLIB
4862 # Extract the first word of "ranlib", so it can be a program name with args.
4863 set dummy ranlib; ac_word=$2
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4865 $as_echo_n "checking for $ac_word... " >&6; }
4866 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4867 $as_echo_n "(cached) " >&6
4868 else
4869 if test -n "$ac_ct_RANLIB"; then
4870 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4871 else
4872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4873 for as_dir in $PATH
4875 IFS=$as_save_IFS
4876 test -z "$as_dir" && as_dir=.
4877 for ac_exec_ext in '' $ac_executable_extensions; do
4878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4879 ac_cv_prog_ac_ct_RANLIB="ranlib"
4880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4881 break 2
4883 done
4884 done
4885 IFS=$as_save_IFS
4889 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4890 if test -n "$ac_ct_RANLIB"; then
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4892 $as_echo "$ac_ct_RANLIB" >&6; }
4893 else
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4895 $as_echo "no" >&6; }
4898 if test "x$ac_ct_RANLIB" = x; then
4899 RANLIB="ranlib-not-found-in-path-error"
4900 else
4901 case $cross_compiling:$ac_tool_warned in
4902 yes:)
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4905 ac_tool_warned=yes ;;
4906 esac
4907 RANLIB=$ac_ct_RANLIB
4909 else
4910 RANLIB="$ac_cv_prog_RANLIB"
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4914 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4915 set x ${MAKE-make}
4916 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4917 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4918 $as_echo_n "(cached) " >&6
4919 else
4920 cat >conftest.make <<\_ACEOF
4921 SHELL = /bin/sh
4922 all:
4923 @echo '@@@%%%=$(MAKE)=@@@%%%'
4924 _ACEOF
4925 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4926 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4927 *@@@%%%=?*=@@@%%%*)
4928 eval ac_cv_prog_make_${ac_make}_set=yes;;
4930 eval ac_cv_prog_make_${ac_make}_set=no;;
4931 esac
4932 rm -f conftest.make
4934 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4936 $as_echo "yes" >&6; }
4937 SET_MAKE=
4938 else
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4940 $as_echo "no" >&6; }
4941 SET_MAKE="MAKE=${MAKE-make}"
4946 # Configure libtool
4947 #AC_MSG_NOTICE([====== Starting libtool configuration])
4948 enable_dlopen=yes
4952 case `pwd` in
4953 *\ * | *\ *)
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4955 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4956 esac
4960 macro_version='2.2.6'
4961 macro_revision='1.3012'
4975 ltmain="$ac_aux_dir/ltmain.sh"
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4978 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4979 if test "${ac_cv_path_SED+set}" = set; then :
4980 $as_echo_n "(cached) " >&6
4981 else
4982 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4983 for ac_i in 1 2 3 4 5 6 7; do
4984 ac_script="$ac_script$as_nl$ac_script"
4985 done
4986 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4987 { ac_script=; unset ac_script;}
4988 if test -z "$SED"; then
4989 ac_path_SED_found=false
4990 # Loop through the user's path and test for each of PROGNAME-LIST
4991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4992 for as_dir in $PATH
4994 IFS=$as_save_IFS
4995 test -z "$as_dir" && as_dir=.
4996 for ac_prog in sed gsed; do
4997 for ac_exec_ext in '' $ac_executable_extensions; do
4998 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4999 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5000 # Check for GNU ac_path_SED and select it if it is found.
5001 # Check for GNU $ac_path_SED
5002 case `"$ac_path_SED" --version 2>&1` in
5003 *GNU*)
5004 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5006 ac_count=0
5007 $as_echo_n 0123456789 >"conftest.in"
5008 while :
5010 cat "conftest.in" "conftest.in" >"conftest.tmp"
5011 mv "conftest.tmp" "conftest.in"
5012 cp "conftest.in" "conftest.nl"
5013 $as_echo '' >> "conftest.nl"
5014 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5015 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5016 as_fn_arith $ac_count + 1 && ac_count=$as_val
5017 if test $ac_count -gt ${ac_path_SED_max-0}; then
5018 # Best one so far, save it but keep looking for a better one
5019 ac_cv_path_SED="$ac_path_SED"
5020 ac_path_SED_max=$ac_count
5022 # 10*(2^10) chars as input seems more than enough
5023 test $ac_count -gt 10 && break
5024 done
5025 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5026 esac
5028 $ac_path_SED_found && break 3
5029 done
5030 done
5031 done
5032 IFS=$as_save_IFS
5033 if test -z "$ac_cv_path_SED"; then
5034 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5036 else
5037 ac_cv_path_SED=$SED
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5042 $as_echo "$ac_cv_path_SED" >&6; }
5043 SED="$ac_cv_path_SED"
5044 rm -f conftest.sed
5046 test -z "$SED" && SED=sed
5047 Xsed="$SED -e 1s/^X//"
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5060 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5061 if test "${ac_cv_path_GREP+set}" = set; then :
5062 $as_echo_n "(cached) " >&6
5063 else
5064 if test -z "$GREP"; then
5065 ac_path_GREP_found=false
5066 # Loop through the user's path and test for each of PROGNAME-LIST
5067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5068 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5070 IFS=$as_save_IFS
5071 test -z "$as_dir" && as_dir=.
5072 for ac_prog in grep ggrep; do
5073 for ac_exec_ext in '' $ac_executable_extensions; do
5074 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5075 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5076 # Check for GNU ac_path_GREP and select it if it is found.
5077 # Check for GNU $ac_path_GREP
5078 case `"$ac_path_GREP" --version 2>&1` in
5079 *GNU*)
5080 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5082 ac_count=0
5083 $as_echo_n 0123456789 >"conftest.in"
5084 while :
5086 cat "conftest.in" "conftest.in" >"conftest.tmp"
5087 mv "conftest.tmp" "conftest.in"
5088 cp "conftest.in" "conftest.nl"
5089 $as_echo 'GREP' >> "conftest.nl"
5090 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5091 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5092 as_fn_arith $ac_count + 1 && ac_count=$as_val
5093 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5094 # Best one so far, save it but keep looking for a better one
5095 ac_cv_path_GREP="$ac_path_GREP"
5096 ac_path_GREP_max=$ac_count
5098 # 10*(2^10) chars as input seems more than enough
5099 test $ac_count -gt 10 && break
5100 done
5101 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5102 esac
5104 $ac_path_GREP_found && break 3
5105 done
5106 done
5107 done
5108 IFS=$as_save_IFS
5109 if test -z "$ac_cv_path_GREP"; then
5110 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5112 else
5113 ac_cv_path_GREP=$GREP
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5118 $as_echo "$ac_cv_path_GREP" >&6; }
5119 GREP="$ac_cv_path_GREP"
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5123 $as_echo_n "checking for egrep... " >&6; }
5124 if test "${ac_cv_path_EGREP+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5126 else
5127 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5128 then ac_cv_path_EGREP="$GREP -E"
5129 else
5130 if test -z "$EGREP"; then
5131 ac_path_EGREP_found=false
5132 # Loop through the user's path and test for each of PROGNAME-LIST
5133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5134 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5136 IFS=$as_save_IFS
5137 test -z "$as_dir" && as_dir=.
5138 for ac_prog in egrep; do
5139 for ac_exec_ext in '' $ac_executable_extensions; do
5140 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5141 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5142 # Check for GNU ac_path_EGREP and select it if it is found.
5143 # Check for GNU $ac_path_EGREP
5144 case `"$ac_path_EGREP" --version 2>&1` in
5145 *GNU*)
5146 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5148 ac_count=0
5149 $as_echo_n 0123456789 >"conftest.in"
5150 while :
5152 cat "conftest.in" "conftest.in" >"conftest.tmp"
5153 mv "conftest.tmp" "conftest.in"
5154 cp "conftest.in" "conftest.nl"
5155 $as_echo 'EGREP' >> "conftest.nl"
5156 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5157 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5158 as_fn_arith $ac_count + 1 && ac_count=$as_val
5159 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5160 # Best one so far, save it but keep looking for a better one
5161 ac_cv_path_EGREP="$ac_path_EGREP"
5162 ac_path_EGREP_max=$ac_count
5164 # 10*(2^10) chars as input seems more than enough
5165 test $ac_count -gt 10 && break
5166 done
5167 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5168 esac
5170 $ac_path_EGREP_found && break 3
5171 done
5172 done
5173 done
5174 IFS=$as_save_IFS
5175 if test -z "$ac_cv_path_EGREP"; then
5176 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5178 else
5179 ac_cv_path_EGREP=$EGREP
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5185 $as_echo "$ac_cv_path_EGREP" >&6; }
5186 EGREP="$ac_cv_path_EGREP"
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5190 $as_echo_n "checking for fgrep... " >&6; }
5191 if test "${ac_cv_path_FGREP+set}" = set; then :
5192 $as_echo_n "(cached) " >&6
5193 else
5194 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5195 then ac_cv_path_FGREP="$GREP -F"
5196 else
5197 if test -z "$FGREP"; then
5198 ac_path_FGREP_found=false
5199 # Loop through the user's path and test for each of PROGNAME-LIST
5200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5201 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5203 IFS=$as_save_IFS
5204 test -z "$as_dir" && as_dir=.
5205 for ac_prog in fgrep; do
5206 for ac_exec_ext in '' $ac_executable_extensions; do
5207 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5208 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5209 # Check for GNU ac_path_FGREP and select it if it is found.
5210 # Check for GNU $ac_path_FGREP
5211 case `"$ac_path_FGREP" --version 2>&1` in
5212 *GNU*)
5213 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5215 ac_count=0
5216 $as_echo_n 0123456789 >"conftest.in"
5217 while :
5219 cat "conftest.in" "conftest.in" >"conftest.tmp"
5220 mv "conftest.tmp" "conftest.in"
5221 cp "conftest.in" "conftest.nl"
5222 $as_echo 'FGREP' >> "conftest.nl"
5223 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5224 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5225 as_fn_arith $ac_count + 1 && ac_count=$as_val
5226 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5227 # Best one so far, save it but keep looking for a better one
5228 ac_cv_path_FGREP="$ac_path_FGREP"
5229 ac_path_FGREP_max=$ac_count
5231 # 10*(2^10) chars as input seems more than enough
5232 test $ac_count -gt 10 && break
5233 done
5234 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5235 esac
5237 $ac_path_FGREP_found && break 3
5238 done
5239 done
5240 done
5241 IFS=$as_save_IFS
5242 if test -z "$ac_cv_path_FGREP"; then
5243 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5245 else
5246 ac_cv_path_FGREP=$FGREP
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5252 $as_echo "$ac_cv_path_FGREP" >&6; }
5253 FGREP="$ac_cv_path_FGREP"
5256 test -z "$GREP" && GREP=grep
5276 # Check whether --with-gnu-ld was given.
5277 if test "${with_gnu_ld+set}" = set; then :
5278 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5279 else
5280 with_gnu_ld=no
5283 ac_prog=ld
5284 if test "$GCC" = yes; then
5285 # Check if gcc -print-prog-name=ld gives a path.
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5287 $as_echo_n "checking for ld used by $CC... " >&6; }
5288 case $host in
5289 *-*-mingw*)
5290 # gcc leaves a trailing carriage return which upsets mingw
5291 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5293 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5294 esac
5295 case $ac_prog in
5296 # Accept absolute paths.
5297 [\\/]* | ?:[\\/]*)
5298 re_direlt='/[^/][^/]*/\.\./'
5299 # Canonicalize the pathname of ld
5300 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5301 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5302 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5303 done
5304 test -z "$LD" && LD="$ac_prog"
5307 # If it fails, then pretend we aren't using GCC.
5308 ac_prog=ld
5311 # If it is relative, then search for the first ld in PATH.
5312 with_gnu_ld=unknown
5314 esac
5315 elif test "$with_gnu_ld" = yes; then
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5317 $as_echo_n "checking for GNU ld... " >&6; }
5318 else
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5320 $as_echo_n "checking for non-GNU ld... " >&6; }
5322 if test "${lt_cv_path_LD+set}" = set; then :
5323 $as_echo_n "(cached) " >&6
5324 else
5325 if test -z "$LD"; then
5326 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5327 for ac_dir in $PATH; do
5328 IFS="$lt_save_ifs"
5329 test -z "$ac_dir" && ac_dir=.
5330 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5331 lt_cv_path_LD="$ac_dir/$ac_prog"
5332 # Check to see if the program is GNU ld. I'd rather use --version,
5333 # but apparently some variants of GNU ld only accept -v.
5334 # Break only if it was the GNU/non-GNU ld that we prefer.
5335 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5336 *GNU* | *'with BFD'*)
5337 test "$with_gnu_ld" != no && break
5340 test "$with_gnu_ld" != yes && break
5342 esac
5344 done
5345 IFS="$lt_save_ifs"
5346 else
5347 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5351 LD="$lt_cv_path_LD"
5352 if test -n "$LD"; then
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5354 $as_echo "$LD" >&6; }
5355 else
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5357 $as_echo "no" >&6; }
5359 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5361 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5362 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5363 $as_echo_n "(cached) " >&6
5364 else
5365 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5366 case `$LD -v 2>&1 </dev/null` in
5367 *GNU* | *'with BFD'*)
5368 lt_cv_prog_gnu_ld=yes
5371 lt_cv_prog_gnu_ld=no
5373 esac
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5376 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5377 with_gnu_ld=$lt_cv_prog_gnu_ld
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5388 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5389 if test "${lt_cv_path_NM+set}" = set; then :
5390 $as_echo_n "(cached) " >&6
5391 else
5392 if test -n "$NM"; then
5393 # Let the user override the test.
5394 lt_cv_path_NM="$NM"
5395 else
5396 lt_nm_to_check="${ac_tool_prefix}nm"
5397 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5398 lt_nm_to_check="$lt_nm_to_check nm"
5400 for lt_tmp_nm in $lt_nm_to_check; do
5401 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5402 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5403 IFS="$lt_save_ifs"
5404 test -z "$ac_dir" && ac_dir=.
5405 tmp_nm="$ac_dir/$lt_tmp_nm"
5406 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5407 # Check to see if the nm accepts a BSD-compat flag.
5408 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5409 # nm: unknown option "B" ignored
5410 # Tru64's nm complains that /dev/null is an invalid object file
5411 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5412 */dev/null* | *'Invalid file or object type'*)
5413 lt_cv_path_NM="$tmp_nm -B"
5414 break
5417 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5418 */dev/null*)
5419 lt_cv_path_NM="$tmp_nm -p"
5420 break
5423 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5424 continue # so that we can try to find one that supports BSD flags
5426 esac
5428 esac
5430 done
5431 IFS="$lt_save_ifs"
5432 done
5433 : ${lt_cv_path_NM=no}
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5437 $as_echo "$lt_cv_path_NM" >&6; }
5438 if test "$lt_cv_path_NM" != "no"; then
5439 NM="$lt_cv_path_NM"
5440 else
5441 # Didn't find any BSD compatible name lister, look for dumpbin.
5442 if test -n "$ac_tool_prefix"; then
5443 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5445 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5446 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5448 $as_echo_n "checking for $ac_word... " >&6; }
5449 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5450 $as_echo_n "(cached) " >&6
5451 else
5452 if test -n "$DUMPBIN"; then
5453 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5454 else
5455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5456 for as_dir in $PATH
5458 IFS=$as_save_IFS
5459 test -z "$as_dir" && as_dir=.
5460 for ac_exec_ext in '' $ac_executable_extensions; do
5461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5462 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5464 break 2
5466 done
5467 done
5468 IFS=$as_save_IFS
5472 DUMPBIN=$ac_cv_prog_DUMPBIN
5473 if test -n "$DUMPBIN"; then
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5475 $as_echo "$DUMPBIN" >&6; }
5476 else
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5478 $as_echo "no" >&6; }
5482 test -n "$DUMPBIN" && break
5483 done
5485 if test -z "$DUMPBIN"; then
5486 ac_ct_DUMPBIN=$DUMPBIN
5487 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5489 # Extract the first word of "$ac_prog", so it can be a program name with args.
5490 set dummy $ac_prog; ac_word=$2
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5492 $as_echo_n "checking for $ac_word... " >&6; }
5493 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5494 $as_echo_n "(cached) " >&6
5495 else
5496 if test -n "$ac_ct_DUMPBIN"; then
5497 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5498 else
5499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5500 for as_dir in $PATH
5502 IFS=$as_save_IFS
5503 test -z "$as_dir" && as_dir=.
5504 for ac_exec_ext in '' $ac_executable_extensions; do
5505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5506 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5508 break 2
5510 done
5511 done
5512 IFS=$as_save_IFS
5516 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5517 if test -n "$ac_ct_DUMPBIN"; then
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5519 $as_echo "$ac_ct_DUMPBIN" >&6; }
5520 else
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5522 $as_echo "no" >&6; }
5526 test -n "$ac_ct_DUMPBIN" && break
5527 done
5529 if test "x$ac_ct_DUMPBIN" = x; then
5530 DUMPBIN=":"
5531 else
5532 case $cross_compiling:$ac_tool_warned in
5533 yes:)
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5536 ac_tool_warned=yes ;;
5537 esac
5538 DUMPBIN=$ac_ct_DUMPBIN
5543 if test "$DUMPBIN" != ":"; then
5544 NM="$DUMPBIN"
5547 test -z "$NM" && NM=nm
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5555 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5556 if test "${lt_cv_nm_interface+set}" = set; then :
5557 $as_echo_n "(cached) " >&6
5558 else
5559 lt_cv_nm_interface="BSD nm"
5560 echo "int some_variable = 0;" > conftest.$ac_ext
5561 (eval echo "\"\$as_me:5561: $ac_compile\"" >&5)
5562 (eval "$ac_compile" 2>conftest.err)
5563 cat conftest.err >&5
5564 (eval echo "\"\$as_me:5564: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5565 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5566 cat conftest.err >&5
5567 (eval echo "\"\$as_me:5567: output\"" >&5)
5568 cat conftest.out >&5
5569 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5570 lt_cv_nm_interface="MS dumpbin"
5572 rm -f conftest*
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5575 $as_echo "$lt_cv_nm_interface" >&6; }
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5578 $as_echo_n "checking whether ln -s works... " >&6; }
5579 LN_S=$as_ln_s
5580 if test "$LN_S" = "ln -s"; then
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5582 $as_echo "yes" >&6; }
5583 else
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5585 $as_echo "no, using $LN_S" >&6; }
5588 # find the maximum length of command line arguments
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5590 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5591 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5592 $as_echo_n "(cached) " >&6
5593 else
5595 teststring="ABCD"
5597 case $build_os in
5598 msdosdjgpp*)
5599 # On DJGPP, this test can blow up pretty badly due to problems in libc
5600 # (any single argument exceeding 2000 bytes causes a buffer overrun
5601 # during glob expansion). Even if it were fixed, the result of this
5602 # check would be larger than it should be.
5603 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5606 gnu*)
5607 # Under GNU Hurd, this test is not required because there is
5608 # no limit to the length of command line arguments.
5609 # Libtool will interpret -1 as no limit whatsoever
5610 lt_cv_sys_max_cmd_len=-1;
5613 cygwin* | mingw* | cegcc*)
5614 # On Win9x/ME, this test blows up -- it succeeds, but takes
5615 # about 5 minutes as the teststring grows exponentially.
5616 # Worse, since 9x/ME are not pre-emptively multitasking,
5617 # you end up with a "frozen" computer, even though with patience
5618 # the test eventually succeeds (with a max line length of 256k).
5619 # Instead, let's just punt: use the minimum linelength reported by
5620 # all of the supported platforms: 8192 (on NT/2K/XP).
5621 lt_cv_sys_max_cmd_len=8192;
5624 amigaos*)
5625 # On AmigaOS with pdksh, this test takes hours, literally.
5626 # So we just punt and use a minimum line length of 8192.
5627 lt_cv_sys_max_cmd_len=8192;
5630 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5631 # This has been around since 386BSD, at least. Likely further.
5632 if test -x /sbin/sysctl; then
5633 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5634 elif test -x /usr/sbin/sysctl; then
5635 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5636 else
5637 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5639 # And add a safety zone
5640 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5641 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5644 interix*)
5645 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5646 lt_cv_sys_max_cmd_len=196608
5649 osf*)
5650 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5651 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5652 # nice to cause kernel panics so lets avoid the loop below.
5653 # First set a reasonable default.
5654 lt_cv_sys_max_cmd_len=16384
5656 if test -x /sbin/sysconfig; then
5657 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5658 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5659 esac
5662 sco3.2v5*)
5663 lt_cv_sys_max_cmd_len=102400
5665 sysv5* | sco5v6* | sysv4.2uw2*)
5666 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5667 if test -n "$kargmax"; then
5668 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5669 else
5670 lt_cv_sys_max_cmd_len=32768
5674 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5675 if test -n "$lt_cv_sys_max_cmd_len"; then
5676 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5677 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5678 else
5679 # Make teststring a little bigger before we do anything with it.
5680 # a 1K string should be a reasonable start.
5681 for i in 1 2 3 4 5 6 7 8 ; do
5682 teststring=$teststring$teststring
5683 done
5684 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5685 # If test is not a shell built-in, we'll probably end up computing a
5686 # maximum length that is only half of the actual maximum length, but
5687 # we can't tell.
5688 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5689 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5690 test $i != 17 # 1/2 MB should be enough
5692 i=`expr $i + 1`
5693 teststring=$teststring$teststring
5694 done
5695 # Only check the string length outside the loop.
5696 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5697 teststring=
5698 # Add a significant safety factor because C++ compilers can tack on
5699 # massive amounts of additional arguments before passing them to the
5700 # linker. It appears as though 1/2 is a usable value.
5701 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5704 esac
5708 if test -n $lt_cv_sys_max_cmd_len ; then
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5710 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5711 else
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5713 $as_echo "none" >&6; }
5715 max_cmd_len=$lt_cv_sys_max_cmd_len
5722 : ${CP="cp -f"}
5723 : ${MV="mv -f"}
5724 : ${RM="rm -f"}
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5727 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5728 # Try some XSI features
5729 xsi_shell=no
5730 ( _lt_dummy="a/b/c"
5731 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5732 = c,a/b,, \
5733 && eval 'test $(( 1 + 1 )) -eq 2 \
5734 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5735 && xsi_shell=yes
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5737 $as_echo "$xsi_shell" >&6; }
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5741 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5742 lt_shell_append=no
5743 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5744 >/dev/null 2>&1 \
5745 && lt_shell_append=yes
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5747 $as_echo "$lt_shell_append" >&6; }
5750 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5751 lt_unset=unset
5752 else
5753 lt_unset=false
5760 # test EBCDIC or ASCII
5761 case `echo X|tr X '\101'` in
5762 A) # ASCII based system
5763 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5764 lt_SP2NL='tr \040 \012'
5765 lt_NL2SP='tr \015\012 \040\040'
5767 *) # EBCDIC based system
5768 lt_SP2NL='tr \100 \n'
5769 lt_NL2SP='tr \r\n \100\100'
5771 esac
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5782 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5783 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5784 $as_echo_n "(cached) " >&6
5785 else
5786 lt_cv_ld_reload_flag='-r'
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5789 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5790 reload_flag=$lt_cv_ld_reload_flag
5791 case $reload_flag in
5792 "" | " "*) ;;
5793 *) reload_flag=" $reload_flag" ;;
5794 esac
5795 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5796 case $host_os in
5797 darwin*)
5798 if test "$GCC" = yes; then
5799 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5800 else
5801 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5804 esac
5814 if test -n "$ac_tool_prefix"; then
5815 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5816 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5818 $as_echo_n "checking for $ac_word... " >&6; }
5819 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5820 $as_echo_n "(cached) " >&6
5821 else
5822 if test -n "$OBJDUMP"; then
5823 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5824 else
5825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5826 for as_dir in $PATH
5828 IFS=$as_save_IFS
5829 test -z "$as_dir" && as_dir=.
5830 for ac_exec_ext in '' $ac_executable_extensions; do
5831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5832 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5834 break 2
5836 done
5837 done
5838 IFS=$as_save_IFS
5842 OBJDUMP=$ac_cv_prog_OBJDUMP
5843 if test -n "$OBJDUMP"; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5845 $as_echo "$OBJDUMP" >&6; }
5846 else
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5848 $as_echo "no" >&6; }
5853 if test -z "$ac_cv_prog_OBJDUMP"; then
5854 ac_ct_OBJDUMP=$OBJDUMP
5855 # Extract the first word of "objdump", so it can be a program name with args.
5856 set dummy objdump; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 if test -n "$ac_ct_OBJDUMP"; then
5863 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5864 else
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 for as_dir in $PATH
5868 IFS=$as_save_IFS
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 break 2
5876 done
5877 done
5878 IFS=$as_save_IFS
5882 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5883 if test -n "$ac_ct_OBJDUMP"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5885 $as_echo "$ac_ct_OBJDUMP" >&6; }
5886 else
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5891 if test "x$ac_ct_OBJDUMP" = x; then
5892 OBJDUMP="false"
5893 else
5894 case $cross_compiling:$ac_tool_warned in
5895 yes:)
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5898 ac_tool_warned=yes ;;
5899 esac
5900 OBJDUMP=$ac_ct_OBJDUMP
5902 else
5903 OBJDUMP="$ac_cv_prog_OBJDUMP"
5906 test -z "$OBJDUMP" && OBJDUMP=objdump
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5917 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5918 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5919 $as_echo_n "(cached) " >&6
5920 else
5921 lt_cv_file_magic_cmd='$MAGIC_CMD'
5922 lt_cv_file_magic_test_file=
5923 lt_cv_deplibs_check_method='unknown'
5924 # Need to set the preceding variable on all platforms that support
5925 # interlibrary dependencies.
5926 # 'none' -- dependencies not supported.
5927 # `unknown' -- same as none, but documents that we really don't know.
5928 # 'pass_all' -- all dependencies passed with no checks.
5929 # 'test_compile' -- check by making test program.
5930 # 'file_magic [[regex]]' -- check by looking for files in library path
5931 # which responds to the $file_magic_cmd with a given extended regex.
5932 # If you have `file' or equivalent on your system and you're not sure
5933 # whether `pass_all' will *always* work, you probably want this one.
5935 case $host_os in
5936 aix[4-9]*)
5937 lt_cv_deplibs_check_method=pass_all
5940 beos*)
5941 lt_cv_deplibs_check_method=pass_all
5944 bsdi[45]*)
5945 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5946 lt_cv_file_magic_cmd='/usr/bin/file -L'
5947 lt_cv_file_magic_test_file=/shlib/libc.so
5950 cygwin*)
5951 # func_win32_libid is a shell function defined in ltmain.sh
5952 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5953 lt_cv_file_magic_cmd='func_win32_libid'
5956 mingw* | pw32*)
5957 # Base MSYS/MinGW do not provide the 'file' command needed by
5958 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5959 # unless we find 'file', for example because we are cross-compiling.
5960 if ( file / ) >/dev/null 2>&1; then
5961 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5962 lt_cv_file_magic_cmd='func_win32_libid'
5963 else
5964 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5965 lt_cv_file_magic_cmd='$OBJDUMP -f'
5969 cegcc)
5970 # use the weaker test based on 'objdump'. See mingw*.
5971 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5972 lt_cv_file_magic_cmd='$OBJDUMP -f'
5975 darwin* | rhapsody*)
5976 lt_cv_deplibs_check_method=pass_all
5979 freebsd* | dragonfly*)
5980 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5981 case $host_cpu in
5982 i*86 )
5983 # Not sure whether the presence of OpenBSD here was a mistake.
5984 # Let's accept both of them until this is cleared up.
5985 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5986 lt_cv_file_magic_cmd=/usr/bin/file
5987 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5989 esac
5990 else
5991 lt_cv_deplibs_check_method=pass_all
5995 gnu*)
5996 lt_cv_deplibs_check_method=pass_all
5999 hpux10.20* | hpux11*)
6000 lt_cv_file_magic_cmd=/usr/bin/file
6001 case $host_cpu in
6002 ia64*)
6003 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6004 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6006 hppa*64*)
6007 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6008 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6011 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6012 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6014 esac
6017 interix[3-9]*)
6018 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6019 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6022 irix5* | irix6* | nonstopux*)
6023 case $LD in
6024 *-32|*"-32 ") libmagic=32-bit;;
6025 *-n32|*"-n32 ") libmagic=N32;;
6026 *-64|*"-64 ") libmagic=64-bit;;
6027 *) libmagic=never-match;;
6028 esac
6029 lt_cv_deplibs_check_method=pass_all
6032 # This must be Linux ELF.
6033 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6034 lt_cv_deplibs_check_method=pass_all
6037 netbsd*)
6038 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6039 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6040 else
6041 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6045 newos6*)
6046 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6047 lt_cv_file_magic_cmd=/usr/bin/file
6048 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6051 *nto* | *qnx*)
6052 lt_cv_deplibs_check_method=pass_all
6055 openbsd*)
6056 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6057 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6058 else
6059 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6063 osf3* | osf4* | osf5*)
6064 lt_cv_deplibs_check_method=pass_all
6067 rdos*)
6068 lt_cv_deplibs_check_method=pass_all
6071 solaris*)
6072 lt_cv_deplibs_check_method=pass_all
6075 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6076 lt_cv_deplibs_check_method=pass_all
6079 sysv4 | sysv4.3*)
6080 case $host_vendor in
6081 motorola)
6082 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]'
6083 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6085 ncr)
6086 lt_cv_deplibs_check_method=pass_all
6088 sequent)
6089 lt_cv_file_magic_cmd='/bin/file'
6090 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6092 sni)
6093 lt_cv_file_magic_cmd='/bin/file'
6094 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6095 lt_cv_file_magic_test_file=/lib/libc.so
6097 siemens)
6098 lt_cv_deplibs_check_method=pass_all
6101 lt_cv_deplibs_check_method=pass_all
6103 esac
6106 tpf*)
6107 lt_cv_deplibs_check_method=pass_all
6109 esac
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6113 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6114 file_magic_cmd=$lt_cv_file_magic_cmd
6115 deplibs_check_method=$lt_cv_deplibs_check_method
6116 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6129 if test -n "$ac_tool_prefix"; then
6130 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6131 set dummy ${ac_tool_prefix}ar; ac_word=$2
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6133 $as_echo_n "checking for $ac_word... " >&6; }
6134 if test "${ac_cv_prog_AR+set}" = set; then :
6135 $as_echo_n "(cached) " >&6
6136 else
6137 if test -n "$AR"; then
6138 ac_cv_prog_AR="$AR" # Let the user override the test.
6139 else
6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141 for as_dir in $PATH
6143 IFS=$as_save_IFS
6144 test -z "$as_dir" && as_dir=.
6145 for ac_exec_ext in '' $ac_executable_extensions; do
6146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6147 ac_cv_prog_AR="${ac_tool_prefix}ar"
6148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6149 break 2
6151 done
6152 done
6153 IFS=$as_save_IFS
6157 AR=$ac_cv_prog_AR
6158 if test -n "$AR"; then
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6160 $as_echo "$AR" >&6; }
6161 else
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6163 $as_echo "no" >&6; }
6168 if test -z "$ac_cv_prog_AR"; then
6169 ac_ct_AR=$AR
6170 # Extract the first word of "ar", so it can be a program name with args.
6171 set dummy ar; ac_word=$2
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6173 $as_echo_n "checking for $ac_word... " >&6; }
6174 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6175 $as_echo_n "(cached) " >&6
6176 else
6177 if test -n "$ac_ct_AR"; then
6178 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6179 else
6180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6181 for as_dir in $PATH
6183 IFS=$as_save_IFS
6184 test -z "$as_dir" && as_dir=.
6185 for ac_exec_ext in '' $ac_executable_extensions; do
6186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6187 ac_cv_prog_ac_ct_AR="ar"
6188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6189 break 2
6191 done
6192 done
6193 IFS=$as_save_IFS
6197 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6198 if test -n "$ac_ct_AR"; then
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6200 $as_echo "$ac_ct_AR" >&6; }
6201 else
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6203 $as_echo "no" >&6; }
6206 if test "x$ac_ct_AR" = x; then
6207 AR="false"
6208 else
6209 case $cross_compiling:$ac_tool_warned in
6210 yes:)
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6213 ac_tool_warned=yes ;;
6214 esac
6215 AR=$ac_ct_AR
6217 else
6218 AR="$ac_cv_prog_AR"
6221 test -z "$AR" && AR=ar
6222 test -z "$AR_FLAGS" && AR_FLAGS=cru
6234 if test -n "$ac_tool_prefix"; then
6235 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6236 set dummy ${ac_tool_prefix}strip; ac_word=$2
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6238 $as_echo_n "checking for $ac_word... " >&6; }
6239 if test "${ac_cv_prog_STRIP+set}" = set; then :
6240 $as_echo_n "(cached) " >&6
6241 else
6242 if test -n "$STRIP"; then
6243 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6244 else
6245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6246 for as_dir in $PATH
6248 IFS=$as_save_IFS
6249 test -z "$as_dir" && as_dir=.
6250 for ac_exec_ext in '' $ac_executable_extensions; do
6251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6252 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6254 break 2
6256 done
6257 done
6258 IFS=$as_save_IFS
6262 STRIP=$ac_cv_prog_STRIP
6263 if test -n "$STRIP"; then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6265 $as_echo "$STRIP" >&6; }
6266 else
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6268 $as_echo "no" >&6; }
6273 if test -z "$ac_cv_prog_STRIP"; then
6274 ac_ct_STRIP=$STRIP
6275 # Extract the first word of "strip", so it can be a program name with args.
6276 set dummy strip; ac_word=$2
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6278 $as_echo_n "checking for $ac_word... " >&6; }
6279 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6280 $as_echo_n "(cached) " >&6
6281 else
6282 if test -n "$ac_ct_STRIP"; then
6283 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6284 else
6285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6286 for as_dir in $PATH
6288 IFS=$as_save_IFS
6289 test -z "$as_dir" && as_dir=.
6290 for ac_exec_ext in '' $ac_executable_extensions; do
6291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6292 ac_cv_prog_ac_ct_STRIP="strip"
6293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6294 break 2
6296 done
6297 done
6298 IFS=$as_save_IFS
6302 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6303 if test -n "$ac_ct_STRIP"; then
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6305 $as_echo "$ac_ct_STRIP" >&6; }
6306 else
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6308 $as_echo "no" >&6; }
6311 if test "x$ac_ct_STRIP" = x; then
6312 STRIP=":"
6313 else
6314 case $cross_compiling:$ac_tool_warned in
6315 yes:)
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6318 ac_tool_warned=yes ;;
6319 esac
6320 STRIP=$ac_ct_STRIP
6322 else
6323 STRIP="$ac_cv_prog_STRIP"
6326 test -z "$STRIP" && STRIP=:
6333 if test -n "$ac_tool_prefix"; then
6334 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6335 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6337 $as_echo_n "checking for $ac_word... " >&6; }
6338 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6339 $as_echo_n "(cached) " >&6
6340 else
6341 if test -n "$RANLIB"; then
6342 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6343 else
6344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6345 for as_dir in $PATH
6347 IFS=$as_save_IFS
6348 test -z "$as_dir" && as_dir=.
6349 for ac_exec_ext in '' $ac_executable_extensions; do
6350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6351 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6353 break 2
6355 done
6356 done
6357 IFS=$as_save_IFS
6361 RANLIB=$ac_cv_prog_RANLIB
6362 if test -n "$RANLIB"; then
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6364 $as_echo "$RANLIB" >&6; }
6365 else
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6367 $as_echo "no" >&6; }
6372 if test -z "$ac_cv_prog_RANLIB"; then
6373 ac_ct_RANLIB=$RANLIB
6374 # Extract the first word of "ranlib", so it can be a program name with args.
6375 set dummy ranlib; ac_word=$2
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6377 $as_echo_n "checking for $ac_word... " >&6; }
6378 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6379 $as_echo_n "(cached) " >&6
6380 else
6381 if test -n "$ac_ct_RANLIB"; then
6382 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6383 else
6384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6385 for as_dir in $PATH
6387 IFS=$as_save_IFS
6388 test -z "$as_dir" && as_dir=.
6389 for ac_exec_ext in '' $ac_executable_extensions; do
6390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6391 ac_cv_prog_ac_ct_RANLIB="ranlib"
6392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6393 break 2
6395 done
6396 done
6397 IFS=$as_save_IFS
6401 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6402 if test -n "$ac_ct_RANLIB"; then
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6404 $as_echo "$ac_ct_RANLIB" >&6; }
6405 else
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6407 $as_echo "no" >&6; }
6410 if test "x$ac_ct_RANLIB" = x; then
6411 RANLIB=":"
6412 else
6413 case $cross_compiling:$ac_tool_warned in
6414 yes:)
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6417 ac_tool_warned=yes ;;
6418 esac
6419 RANLIB=$ac_ct_RANLIB
6421 else
6422 RANLIB="$ac_cv_prog_RANLIB"
6425 test -z "$RANLIB" && RANLIB=:
6432 # Determine commands to create old-style static archives.
6433 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6434 old_postinstall_cmds='chmod 644 $oldlib'
6435 old_postuninstall_cmds=
6437 if test -n "$RANLIB"; then
6438 case $host_os in
6439 openbsd*)
6440 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6443 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6445 esac
6446 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6482 # If no C compiler was specified, use CC.
6483 LTCC=${LTCC-"$CC"}
6485 # If no C compiler flags were specified, use CFLAGS.
6486 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6488 # Allow CC to be a program name with arguments.
6489 compiler=$CC
6492 # Check for command to grab the raw symbol name followed by C symbol from nm.
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6494 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6495 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6496 $as_echo_n "(cached) " >&6
6497 else
6499 # These are sane defaults that work on at least a few old systems.
6500 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6502 # Character class describing NM global symbol codes.
6503 symcode='[BCDEGRST]'
6505 # Regexp to match symbols that can be accessed directly from C.
6506 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6508 # Define system-specific variables.
6509 case $host_os in
6510 aix*)
6511 symcode='[BCDT]'
6513 cygwin* | mingw* | pw32* | cegcc*)
6514 symcode='[ABCDGISTW]'
6516 hpux*)
6517 if test "$host_cpu" = ia64; then
6518 symcode='[ABCDEGRST]'
6521 irix* | nonstopux*)
6522 symcode='[BCDEGRST]'
6524 osf*)
6525 symcode='[BCDEGQRST]'
6527 solaris*)
6528 symcode='[BDRT]'
6530 sco3.2v5*)
6531 symcode='[DT]'
6533 sysv4.2uw2*)
6534 symcode='[DT]'
6536 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6537 symcode='[ABDT]'
6539 sysv4)
6540 symcode='[DFNSTU]'
6542 esac
6544 # If we're using GNU nm, then use its standard symbol codes.
6545 case `$NM -V 2>&1` in
6546 *GNU* | *'with BFD'*)
6547 symcode='[ABCDGIRSTW]' ;;
6548 esac
6550 # Transform an extracted symbol line into a proper C declaration.
6551 # Some systems (esp. on ia64) link data and code symbols differently,
6552 # so use this general approach.
6553 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6555 # Transform an extracted symbol line into symbol name and symbol address
6556 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6557 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'"
6559 # Handle CRLF in mingw tool chain
6560 opt_cr=
6561 case $build_os in
6562 mingw*)
6563 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6565 esac
6567 # Try without a prefix underscore, then with it.
6568 for ac_symprfx in "" "_"; do
6570 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6571 symxfrm="\\1 $ac_symprfx\\2 \\2"
6573 # Write the raw and C identifiers.
6574 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6575 # Fake it for dumpbin and say T for any non-static function
6576 # and D for any global variable.
6577 # Also find C++ and __fastcall symbols from MSVC++,
6578 # which start with @ or ?.
6579 lt_cv_sys_global_symbol_pipe="$AWK '"\
6580 " {last_section=section; section=\$ 3};"\
6581 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6582 " \$ 0!~/External *\|/{next};"\
6583 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6584 " {if(hide[section]) next};"\
6585 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6586 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6587 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6588 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6589 " ' prfx=^$ac_symprfx"
6590 else
6591 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6594 # Check to see that the pipe works correctly.
6595 pipe_works=no
6597 rm -f conftest*
6598 cat > conftest.$ac_ext <<_LT_EOF
6599 #ifdef __cplusplus
6600 extern "C" {
6601 #endif
6602 char nm_test_var;
6603 void nm_test_func(void);
6604 void nm_test_func(void){}
6605 #ifdef __cplusplus
6607 #endif
6608 int main(){nm_test_var='a';nm_test_func();return(0);}
6609 _LT_EOF
6611 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6612 (eval $ac_compile) 2>&5
6613 ac_status=$?
6614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6615 test $ac_status = 0; }; then
6616 # Now try to grab the symbols.
6617 nlist=conftest.nm
6618 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6619 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6620 ac_status=$?
6621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6622 test $ac_status = 0; } && test -s "$nlist"; then
6623 # Try sorting and uniquifying the output.
6624 if sort "$nlist" | uniq > "$nlist"T; then
6625 mv -f "$nlist"T "$nlist"
6626 else
6627 rm -f "$nlist"T
6630 # Make sure that we snagged all the symbols we need.
6631 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6632 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6633 cat <<_LT_EOF > conftest.$ac_ext
6634 #ifdef __cplusplus
6635 extern "C" {
6636 #endif
6638 _LT_EOF
6639 # Now generate the symbol file.
6640 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6642 cat <<_LT_EOF >> conftest.$ac_ext
6644 /* The mapping between symbol names and symbols. */
6645 const struct {
6646 const char *name;
6647 void *address;
6649 lt__PROGRAM__LTX_preloaded_symbols[] =
6651 { "@PROGRAM@", (void *) 0 },
6652 _LT_EOF
6653 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6654 cat <<\_LT_EOF >> conftest.$ac_ext
6655 {0, (void *) 0}
6658 /* This works around a problem in FreeBSD linker */
6659 #ifdef FREEBSD_WORKAROUND
6660 static const void *lt_preloaded_setup() {
6661 return lt__PROGRAM__LTX_preloaded_symbols;
6663 #endif
6665 #ifdef __cplusplus
6667 #endif
6668 _LT_EOF
6669 # Now try linking the two files.
6670 mv conftest.$ac_objext conftstm.$ac_objext
6671 lt_save_LIBS="$LIBS"
6672 lt_save_CFLAGS="$CFLAGS"
6673 LIBS="conftstm.$ac_objext"
6674 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6675 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6676 (eval $ac_link) 2>&5
6677 ac_status=$?
6678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6679 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6680 pipe_works=yes
6682 LIBS="$lt_save_LIBS"
6683 CFLAGS="$lt_save_CFLAGS"
6684 else
6685 echo "cannot find nm_test_func in $nlist" >&5
6687 else
6688 echo "cannot find nm_test_var in $nlist" >&5
6690 else
6691 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6693 else
6694 echo "$progname: failed program was:" >&5
6695 cat conftest.$ac_ext >&5
6697 rm -rf conftest* conftst*
6699 # Do not use the global_symbol_pipe unless it works.
6700 if test "$pipe_works" = yes; then
6701 break
6702 else
6703 lt_cv_sys_global_symbol_pipe=
6705 done
6709 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6710 lt_cv_sys_global_symbol_to_cdecl=
6712 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6714 $as_echo "failed" >&6; }
6715 else
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6717 $as_echo "ok" >&6; }
6741 # Check whether --enable-libtool-lock was given.
6742 if test "${enable_libtool_lock+set}" = set; then :
6743 enableval=$enable_libtool_lock;
6746 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6748 # Some flags need to be propagated to the compiler or linker for good
6749 # libtool support.
6750 case $host in
6751 ia64-*-hpux*)
6752 # Find out which ABI we are using.
6753 echo 'int i;' > conftest.$ac_ext
6754 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6755 (eval $ac_compile) 2>&5
6756 ac_status=$?
6757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6758 test $ac_status = 0; }; then
6759 case `/usr/bin/file conftest.$ac_objext` in
6760 *ELF-32*)
6761 HPUX_IA64_MODE="32"
6763 *ELF-64*)
6764 HPUX_IA64_MODE="64"
6766 esac
6768 rm -rf conftest*
6770 *-*-irix6*)
6771 # Find out which ABI we are using.
6772 echo '#line 6772 "configure"' > conftest.$ac_ext
6773 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6774 (eval $ac_compile) 2>&5
6775 ac_status=$?
6776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6777 test $ac_status = 0; }; then
6778 if test "$lt_cv_prog_gnu_ld" = yes; then
6779 case `/usr/bin/file conftest.$ac_objext` in
6780 *32-bit*)
6781 LD="${LD-ld} -melf32bsmip"
6783 *N32*)
6784 LD="${LD-ld} -melf32bmipn32"
6786 *64-bit*)
6787 LD="${LD-ld} -melf64bmip"
6789 esac
6790 else
6791 case `/usr/bin/file conftest.$ac_objext` in
6792 *32-bit*)
6793 LD="${LD-ld} -32"
6795 *N32*)
6796 LD="${LD-ld} -n32"
6798 *64-bit*)
6799 LD="${LD-ld} -64"
6801 esac
6804 rm -rf conftest*
6807 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6808 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6809 # Find out which ABI we are using.
6810 echo 'int i;' > conftest.$ac_ext
6811 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6812 (eval $ac_compile) 2>&5
6813 ac_status=$?
6814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6815 test $ac_status = 0; }; then
6816 case `/usr/bin/file conftest.o` in
6817 *32-bit*)
6818 case $host in
6819 x86_64-*kfreebsd*-gnu)
6820 LD="${LD-ld} -m elf_i386_fbsd"
6822 x86_64-*linux*)
6823 LD="${LD-ld} -m elf_i386"
6825 ppc64-*linux*|powerpc64-*linux*)
6826 LD="${LD-ld} -m elf32ppclinux"
6828 s390x-*linux*)
6829 LD="${LD-ld} -m elf_s390"
6831 sparc64-*linux*)
6832 LD="${LD-ld} -m elf32_sparc"
6834 esac
6836 *64-bit*)
6837 case $host in
6838 x86_64-*kfreebsd*-gnu)
6839 LD="${LD-ld} -m elf_x86_64_fbsd"
6841 x86_64-*linux*)
6842 LD="${LD-ld} -m elf_x86_64"
6844 ppc*-*linux*|powerpc*-*linux*)
6845 LD="${LD-ld} -m elf64ppc"
6847 s390*-*linux*|s390*-*tpf*)
6848 LD="${LD-ld} -m elf64_s390"
6850 sparc*-*linux*)
6851 LD="${LD-ld} -m elf64_sparc"
6853 esac
6855 esac
6857 rm -rf conftest*
6860 *-*-sco3.2v5*)
6861 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6862 SAVE_CFLAGS="$CFLAGS"
6863 CFLAGS="$CFLAGS -belf"
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6865 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6866 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6867 $as_echo_n "(cached) " >&6
6868 else
6869 ac_ext=c
6870 ac_cpp='$CPP $CPPFLAGS'
6871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6875 if test x$gcc_no_link = xyes; then
6876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6879 /* end confdefs.h. */
6882 main ()
6886 return 0;
6888 _ACEOF
6889 if ac_fn_c_try_link "$LINENO"; then :
6890 lt_cv_cc_needs_belf=yes
6891 else
6892 lt_cv_cc_needs_belf=no
6894 rm -f core conftest.err conftest.$ac_objext \
6895 conftest$ac_exeext conftest.$ac_ext
6896 ac_ext=c
6897 ac_cpp='$CPP $CPPFLAGS'
6898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6904 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6905 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6906 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6907 CFLAGS="$SAVE_CFLAGS"
6910 sparc*-*solaris*)
6911 # Find out which ABI we are using.
6912 echo 'int i;' > conftest.$ac_ext
6913 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6914 (eval $ac_compile) 2>&5
6915 ac_status=$?
6916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6917 test $ac_status = 0; }; then
6918 case `/usr/bin/file conftest.o` in
6919 *64-bit*)
6920 case $lt_cv_prog_gnu_ld in
6921 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6923 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6924 LD="${LD-ld} -64"
6927 esac
6929 esac
6931 rm -rf conftest*
6933 esac
6935 need_locks="$enable_libtool_lock"
6938 case $host_os in
6939 rhapsody* | darwin*)
6940 if test -n "$ac_tool_prefix"; then
6941 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6942 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6944 $as_echo_n "checking for $ac_word... " >&6; }
6945 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6946 $as_echo_n "(cached) " >&6
6947 else
6948 if test -n "$DSYMUTIL"; then
6949 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6950 else
6951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6952 for as_dir in $PATH
6954 IFS=$as_save_IFS
6955 test -z "$as_dir" && as_dir=.
6956 for ac_exec_ext in '' $ac_executable_extensions; do
6957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6958 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6960 break 2
6962 done
6963 done
6964 IFS=$as_save_IFS
6968 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6969 if test -n "$DSYMUTIL"; then
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6971 $as_echo "$DSYMUTIL" >&6; }
6972 else
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6974 $as_echo "no" >&6; }
6979 if test -z "$ac_cv_prog_DSYMUTIL"; then
6980 ac_ct_DSYMUTIL=$DSYMUTIL
6981 # Extract the first word of "dsymutil", so it can be a program name with args.
6982 set dummy dsymutil; ac_word=$2
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6984 $as_echo_n "checking for $ac_word... " >&6; }
6985 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6986 $as_echo_n "(cached) " >&6
6987 else
6988 if test -n "$ac_ct_DSYMUTIL"; then
6989 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6990 else
6991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6992 for as_dir in $PATH
6994 IFS=$as_save_IFS
6995 test -z "$as_dir" && as_dir=.
6996 for ac_exec_ext in '' $ac_executable_extensions; do
6997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6998 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7000 break 2
7002 done
7003 done
7004 IFS=$as_save_IFS
7008 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7009 if test -n "$ac_ct_DSYMUTIL"; then
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7011 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7012 else
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7014 $as_echo "no" >&6; }
7017 if test "x$ac_ct_DSYMUTIL" = x; then
7018 DSYMUTIL=":"
7019 else
7020 case $cross_compiling:$ac_tool_warned in
7021 yes:)
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7024 ac_tool_warned=yes ;;
7025 esac
7026 DSYMUTIL=$ac_ct_DSYMUTIL
7028 else
7029 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7032 if test -n "$ac_tool_prefix"; then
7033 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7034 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7036 $as_echo_n "checking for $ac_word... " >&6; }
7037 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7038 $as_echo_n "(cached) " >&6
7039 else
7040 if test -n "$NMEDIT"; then
7041 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7042 else
7043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7044 for as_dir in $PATH
7046 IFS=$as_save_IFS
7047 test -z "$as_dir" && as_dir=.
7048 for ac_exec_ext in '' $ac_executable_extensions; do
7049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7050 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7052 break 2
7054 done
7055 done
7056 IFS=$as_save_IFS
7060 NMEDIT=$ac_cv_prog_NMEDIT
7061 if test -n "$NMEDIT"; then
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7063 $as_echo "$NMEDIT" >&6; }
7064 else
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7066 $as_echo "no" >&6; }
7071 if test -z "$ac_cv_prog_NMEDIT"; then
7072 ac_ct_NMEDIT=$NMEDIT
7073 # Extract the first word of "nmedit", so it can be a program name with args.
7074 set dummy nmedit; ac_word=$2
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7076 $as_echo_n "checking for $ac_word... " >&6; }
7077 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7078 $as_echo_n "(cached) " >&6
7079 else
7080 if test -n "$ac_ct_NMEDIT"; then
7081 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7082 else
7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7084 for as_dir in $PATH
7086 IFS=$as_save_IFS
7087 test -z "$as_dir" && as_dir=.
7088 for ac_exec_ext in '' $ac_executable_extensions; do
7089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7090 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7092 break 2
7094 done
7095 done
7096 IFS=$as_save_IFS
7100 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7101 if test -n "$ac_ct_NMEDIT"; then
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7103 $as_echo "$ac_ct_NMEDIT" >&6; }
7104 else
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7106 $as_echo "no" >&6; }
7109 if test "x$ac_ct_NMEDIT" = x; then
7110 NMEDIT=":"
7111 else
7112 case $cross_compiling:$ac_tool_warned in
7113 yes:)
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7116 ac_tool_warned=yes ;;
7117 esac
7118 NMEDIT=$ac_ct_NMEDIT
7120 else
7121 NMEDIT="$ac_cv_prog_NMEDIT"
7124 if test -n "$ac_tool_prefix"; then
7125 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7126 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7128 $as_echo_n "checking for $ac_word... " >&6; }
7129 if test "${ac_cv_prog_LIPO+set}" = set; then :
7130 $as_echo_n "(cached) " >&6
7131 else
7132 if test -n "$LIPO"; then
7133 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7134 else
7135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7136 for as_dir in $PATH
7138 IFS=$as_save_IFS
7139 test -z "$as_dir" && as_dir=.
7140 for ac_exec_ext in '' $ac_executable_extensions; do
7141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7142 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7144 break 2
7146 done
7147 done
7148 IFS=$as_save_IFS
7152 LIPO=$ac_cv_prog_LIPO
7153 if test -n "$LIPO"; then
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7155 $as_echo "$LIPO" >&6; }
7156 else
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7158 $as_echo "no" >&6; }
7163 if test -z "$ac_cv_prog_LIPO"; then
7164 ac_ct_LIPO=$LIPO
7165 # Extract the first word of "lipo", so it can be a program name with args.
7166 set dummy lipo; ac_word=$2
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7168 $as_echo_n "checking for $ac_word... " >&6; }
7169 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7170 $as_echo_n "(cached) " >&6
7171 else
7172 if test -n "$ac_ct_LIPO"; then
7173 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7174 else
7175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7176 for as_dir in $PATH
7178 IFS=$as_save_IFS
7179 test -z "$as_dir" && as_dir=.
7180 for ac_exec_ext in '' $ac_executable_extensions; do
7181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7182 ac_cv_prog_ac_ct_LIPO="lipo"
7183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7184 break 2
7186 done
7187 done
7188 IFS=$as_save_IFS
7192 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7193 if test -n "$ac_ct_LIPO"; then
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7195 $as_echo "$ac_ct_LIPO" >&6; }
7196 else
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7198 $as_echo "no" >&6; }
7201 if test "x$ac_ct_LIPO" = x; then
7202 LIPO=":"
7203 else
7204 case $cross_compiling:$ac_tool_warned in
7205 yes:)
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7208 ac_tool_warned=yes ;;
7209 esac
7210 LIPO=$ac_ct_LIPO
7212 else
7213 LIPO="$ac_cv_prog_LIPO"
7216 if test -n "$ac_tool_prefix"; then
7217 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7218 set dummy ${ac_tool_prefix}otool; ac_word=$2
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7220 $as_echo_n "checking for $ac_word... " >&6; }
7221 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7222 $as_echo_n "(cached) " >&6
7223 else
7224 if test -n "$OTOOL"; then
7225 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7226 else
7227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7228 for as_dir in $PATH
7230 IFS=$as_save_IFS
7231 test -z "$as_dir" && as_dir=.
7232 for ac_exec_ext in '' $ac_executable_extensions; do
7233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7234 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7236 break 2
7238 done
7239 done
7240 IFS=$as_save_IFS
7244 OTOOL=$ac_cv_prog_OTOOL
7245 if test -n "$OTOOL"; then
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7247 $as_echo "$OTOOL" >&6; }
7248 else
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7250 $as_echo "no" >&6; }
7255 if test -z "$ac_cv_prog_OTOOL"; then
7256 ac_ct_OTOOL=$OTOOL
7257 # Extract the first word of "otool", so it can be a program name with args.
7258 set dummy otool; 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_ac_ct_OTOOL+set}" = set; then :
7262 $as_echo_n "(cached) " >&6
7263 else
7264 if test -n "$ac_ct_OTOOL"; then
7265 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7266 else
7267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7268 for as_dir in $PATH
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_ac_ct_OTOOL="otool"
7275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7276 break 2
7278 done
7279 done
7280 IFS=$as_save_IFS
7284 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7285 if test -n "$ac_ct_OTOOL"; then
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7287 $as_echo "$ac_ct_OTOOL" >&6; }
7288 else
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7290 $as_echo "no" >&6; }
7293 if test "x$ac_ct_OTOOL" = x; then
7294 OTOOL=":"
7295 else
7296 case $cross_compiling:$ac_tool_warned in
7297 yes:)
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7300 ac_tool_warned=yes ;;
7301 esac
7302 OTOOL=$ac_ct_OTOOL
7304 else
7305 OTOOL="$ac_cv_prog_OTOOL"
7308 if test -n "$ac_tool_prefix"; then
7309 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7310 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7312 $as_echo_n "checking for $ac_word... " >&6; }
7313 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7314 $as_echo_n "(cached) " >&6
7315 else
7316 if test -n "$OTOOL64"; then
7317 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7318 else
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7320 for as_dir in $PATH
7322 IFS=$as_save_IFS
7323 test -z "$as_dir" && as_dir=.
7324 for ac_exec_ext in '' $ac_executable_extensions; do
7325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7326 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7328 break 2
7330 done
7331 done
7332 IFS=$as_save_IFS
7336 OTOOL64=$ac_cv_prog_OTOOL64
7337 if test -n "$OTOOL64"; then
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7339 $as_echo "$OTOOL64" >&6; }
7340 else
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 $as_echo "no" >&6; }
7347 if test -z "$ac_cv_prog_OTOOL64"; then
7348 ac_ct_OTOOL64=$OTOOL64
7349 # Extract the first word of "otool64", so it can be a program name with args.
7350 set dummy otool64; ac_word=$2
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7352 $as_echo_n "checking for $ac_word... " >&6; }
7353 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7354 $as_echo_n "(cached) " >&6
7355 else
7356 if test -n "$ac_ct_OTOOL64"; then
7357 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7358 else
7359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7360 for as_dir in $PATH
7362 IFS=$as_save_IFS
7363 test -z "$as_dir" && as_dir=.
7364 for ac_exec_ext in '' $ac_executable_extensions; do
7365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7366 ac_cv_prog_ac_ct_OTOOL64="otool64"
7367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7368 break 2
7370 done
7371 done
7372 IFS=$as_save_IFS
7376 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7377 if test -n "$ac_ct_OTOOL64"; then
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7379 $as_echo "$ac_ct_OTOOL64" >&6; }
7380 else
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7382 $as_echo "no" >&6; }
7385 if test "x$ac_ct_OTOOL64" = x; then
7386 OTOOL64=":"
7387 else
7388 case $cross_compiling:$ac_tool_warned in
7389 yes:)
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7392 ac_tool_warned=yes ;;
7393 esac
7394 OTOOL64=$ac_ct_OTOOL64
7396 else
7397 OTOOL64="$ac_cv_prog_OTOOL64"
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7427 $as_echo_n "checking for -single_module linker flag... " >&6; }
7428 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7429 $as_echo_n "(cached) " >&6
7430 else
7431 lt_cv_apple_cc_single_mod=no
7432 if test -z "${LT_MULTI_MODULE}"; then
7433 # By default we will add the -single_module flag. You can override
7434 # by either setting the environment variable LT_MULTI_MODULE
7435 # non-empty at configure time, or by adding -multi_module to the
7436 # link flags.
7437 rm -rf libconftest.dylib*
7438 echo "int foo(void){return 1;}" > conftest.c
7439 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7440 -dynamiclib -Wl,-single_module conftest.c" >&5
7441 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7442 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7443 _lt_result=$?
7444 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7445 lt_cv_apple_cc_single_mod=yes
7446 else
7447 cat conftest.err >&5
7449 rm -rf libconftest.dylib*
7450 rm -f conftest.*
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7454 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7456 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7457 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7458 $as_echo_n "(cached) " >&6
7459 else
7460 lt_cv_ld_exported_symbols_list=no
7461 save_LDFLAGS=$LDFLAGS
7462 echo "_main" > conftest.sym
7463 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7464 if test x$gcc_no_link = xyes; then
7465 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7468 /* end confdefs.h. */
7471 main ()
7475 return 0;
7477 _ACEOF
7478 if ac_fn_c_try_link "$LINENO"; then :
7479 lt_cv_ld_exported_symbols_list=yes
7480 else
7481 lt_cv_ld_exported_symbols_list=no
7483 rm -f core conftest.err conftest.$ac_objext \
7484 conftest$ac_exeext conftest.$ac_ext
7485 LDFLAGS="$save_LDFLAGS"
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7489 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7490 case $host_os in
7491 rhapsody* | darwin1.[012])
7492 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7493 darwin1.*)
7494 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7495 darwin*) # darwin 5.x on
7496 # if running on 10.5 or later, the deployment target defaults
7497 # to the OS version, if on x86, and 10.4, the deployment
7498 # target defaults to 10.4. Don't you love it?
7499 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7500 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7501 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7502 10.[012]*)
7503 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7504 10.*)
7505 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7506 esac
7508 esac
7509 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7510 _lt_dar_single_mod='$single_module'
7512 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7513 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7514 else
7515 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7517 if test "$DSYMUTIL" != ":"; then
7518 _lt_dsymutil='~$DSYMUTIL $lib || :'
7519 else
7520 _lt_dsymutil=
7523 esac
7525 ac_ext=c
7526 ac_cpp='$CPP $CPPFLAGS'
7527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7531 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7532 # On Suns, sometimes $CPP names a directory.
7533 if test -n "$CPP" && test -d "$CPP"; then
7534 CPP=
7536 if test -z "$CPP"; then
7537 if test "${ac_cv_prog_CPP+set}" = set; then :
7538 $as_echo_n "(cached) " >&6
7539 else
7540 # Double quotes because CPP needs to be expanded
7541 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7543 ac_preproc_ok=false
7544 for ac_c_preproc_warn_flag in '' yes
7546 # Use a header file that comes with gcc, so configuring glibc
7547 # with a fresh cross-compiler works.
7548 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7549 # <limits.h> exists even on freestanding compilers.
7550 # On the NeXT, cc -E runs the code through the compiler's parser,
7551 # not just through cpp. "Syntax error" is here to catch this case.
7552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7553 /* end confdefs.h. */
7554 #ifdef __STDC__
7555 # include <limits.h>
7556 #else
7557 # include <assert.h>
7558 #endif
7559 Syntax error
7560 _ACEOF
7561 if ac_fn_c_try_cpp "$LINENO"; then :
7563 else
7564 # Broken: fails on valid input.
7565 continue
7567 rm -f conftest.err conftest.$ac_ext
7569 # OK, works on sane cases. Now check whether nonexistent headers
7570 # can be detected and how.
7571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7572 /* end confdefs.h. */
7573 #include <ac_nonexistent.h>
7574 _ACEOF
7575 if ac_fn_c_try_cpp "$LINENO"; then :
7576 # Broken: success on invalid input.
7577 continue
7578 else
7579 # Passes both tests.
7580 ac_preproc_ok=:
7581 break
7583 rm -f conftest.err conftest.$ac_ext
7585 done
7586 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7587 rm -f conftest.err conftest.$ac_ext
7588 if $ac_preproc_ok; then :
7589 break
7592 done
7593 ac_cv_prog_CPP=$CPP
7596 CPP=$ac_cv_prog_CPP
7597 else
7598 ac_cv_prog_CPP=$CPP
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7601 $as_echo "$CPP" >&6; }
7602 ac_preproc_ok=false
7603 for ac_c_preproc_warn_flag in '' yes
7605 # Use a header file that comes with gcc, so configuring glibc
7606 # with a fresh cross-compiler works.
7607 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7608 # <limits.h> exists even on freestanding compilers.
7609 # On the NeXT, cc -E runs the code through the compiler's parser,
7610 # not just through cpp. "Syntax error" is here to catch this case.
7611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7612 /* end confdefs.h. */
7613 #ifdef __STDC__
7614 # include <limits.h>
7615 #else
7616 # include <assert.h>
7617 #endif
7618 Syntax error
7619 _ACEOF
7620 if ac_fn_c_try_cpp "$LINENO"; then :
7622 else
7623 # Broken: fails on valid input.
7624 continue
7626 rm -f conftest.err conftest.$ac_ext
7628 # OK, works on sane cases. Now check whether nonexistent headers
7629 # can be detected and how.
7630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7631 /* end confdefs.h. */
7632 #include <ac_nonexistent.h>
7633 _ACEOF
7634 if ac_fn_c_try_cpp "$LINENO"; then :
7635 # Broken: success on invalid input.
7636 continue
7637 else
7638 # Passes both tests.
7639 ac_preproc_ok=:
7640 break
7642 rm -f conftest.err conftest.$ac_ext
7644 done
7645 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7646 rm -f conftest.err conftest.$ac_ext
7647 if $ac_preproc_ok; then :
7649 else
7650 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7652 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7653 See \`config.log' for more details." "$LINENO" 5; }
7656 ac_ext=c
7657 ac_cpp='$CPP $CPPFLAGS'
7658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7664 $as_echo_n "checking for ANSI C header files... " >&6; }
7665 if test "${ac_cv_header_stdc+set}" = set; then :
7666 $as_echo_n "(cached) " >&6
7667 else
7668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7669 /* end confdefs.h. */
7670 #include <stdlib.h>
7671 #include <stdarg.h>
7672 #include <string.h>
7673 #include <float.h>
7676 main ()
7680 return 0;
7682 _ACEOF
7683 if ac_fn_c_try_compile "$LINENO"; then :
7684 ac_cv_header_stdc=yes
7685 else
7686 ac_cv_header_stdc=no
7688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7690 if test $ac_cv_header_stdc = yes; then
7691 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7693 /* end confdefs.h. */
7694 #include <string.h>
7696 _ACEOF
7697 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7698 $EGREP "memchr" >/dev/null 2>&1; then :
7700 else
7701 ac_cv_header_stdc=no
7703 rm -f conftest*
7707 if test $ac_cv_header_stdc = yes; then
7708 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7710 /* end confdefs.h. */
7711 #include <stdlib.h>
7713 _ACEOF
7714 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7715 $EGREP "free" >/dev/null 2>&1; then :
7717 else
7718 ac_cv_header_stdc=no
7720 rm -f conftest*
7724 if test $ac_cv_header_stdc = yes; then
7725 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7726 if test "$cross_compiling" = yes; then :
7728 else
7729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7730 /* end confdefs.h. */
7731 #include <ctype.h>
7732 #include <stdlib.h>
7733 #if ((' ' & 0x0FF) == 0x020)
7734 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7735 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7736 #else
7737 # define ISLOWER(c) \
7738 (('a' <= (c) && (c) <= 'i') \
7739 || ('j' <= (c) && (c) <= 'r') \
7740 || ('s' <= (c) && (c) <= 'z'))
7741 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7742 #endif
7744 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7746 main ()
7748 int i;
7749 for (i = 0; i < 256; i++)
7750 if (XOR (islower (i), ISLOWER (i))
7751 || toupper (i) != TOUPPER (i))
7752 return 2;
7753 return 0;
7755 _ACEOF
7756 if ac_fn_c_try_run "$LINENO"; then :
7758 else
7759 ac_cv_header_stdc=no
7761 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7762 conftest.$ac_objext conftest.beam conftest.$ac_ext
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7768 $as_echo "$ac_cv_header_stdc" >&6; }
7769 if test $ac_cv_header_stdc = yes; then
7771 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7775 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7776 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7777 inttypes.h stdint.h unistd.h
7778 do :
7779 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7780 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7782 eval as_val=\$$as_ac_Header
7783 if test "x$as_val" = x""yes; then :
7784 cat >>confdefs.h <<_ACEOF
7785 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7786 _ACEOF
7790 done
7793 for ac_header in dlfcn.h
7794 do :
7795 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7797 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7798 cat >>confdefs.h <<_ACEOF
7799 #define HAVE_DLFCN_H 1
7800 _ACEOF
7804 done
7808 # Set options
7813 enable_win32_dll=no
7816 # Check whether --enable-shared was given.
7817 if test "${enable_shared+set}" = set; then :
7818 enableval=$enable_shared; p=${PACKAGE-default}
7819 case $enableval in
7820 yes) enable_shared=yes ;;
7821 no) enable_shared=no ;;
7823 enable_shared=no
7824 # Look at the argument we got. We use all the common list separators.
7825 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7826 for pkg in $enableval; do
7827 IFS="$lt_save_ifs"
7828 if test "X$pkg" = "X$p"; then
7829 enable_shared=yes
7831 done
7832 IFS="$lt_save_ifs"
7834 esac
7835 else
7836 enable_shared=yes
7847 # Check whether --enable-static was given.
7848 if test "${enable_static+set}" = set; then :
7849 enableval=$enable_static; p=${PACKAGE-default}
7850 case $enableval in
7851 yes) enable_static=yes ;;
7852 no) enable_static=no ;;
7854 enable_static=no
7855 # Look at the argument we got. We use all the common list separators.
7856 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7857 for pkg in $enableval; do
7858 IFS="$lt_save_ifs"
7859 if test "X$pkg" = "X$p"; then
7860 enable_static=yes
7862 done
7863 IFS="$lt_save_ifs"
7865 esac
7866 else
7867 enable_static=yes
7879 # Check whether --with-pic was given.
7880 if test "${with_pic+set}" = set; then :
7881 withval=$with_pic; pic_mode="$withval"
7882 else
7883 pic_mode=default
7887 test -z "$pic_mode" && pic_mode=default
7895 # Check whether --enable-fast-install was given.
7896 if test "${enable_fast_install+set}" = set; then :
7897 enableval=$enable_fast_install; p=${PACKAGE-default}
7898 case $enableval in
7899 yes) enable_fast_install=yes ;;
7900 no) enable_fast_install=no ;;
7902 enable_fast_install=no
7903 # Look at the argument we got. We use all the common list separators.
7904 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7905 for pkg in $enableval; do
7906 IFS="$lt_save_ifs"
7907 if test "X$pkg" = "X$p"; then
7908 enable_fast_install=yes
7910 done
7911 IFS="$lt_save_ifs"
7913 esac
7914 else
7915 enable_fast_install=yes
7928 # This can be used to rebuild libtool when needed
7929 LIBTOOL_DEPS="$ltmain"
7931 # Always use our own libtool.
7932 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7958 test -z "$LN_S" && LN_S="ln -s"
7973 if test -n "${ZSH_VERSION+set}" ; then
7974 setopt NO_GLOB_SUBST
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7978 $as_echo_n "checking for objdir... " >&6; }
7979 if test "${lt_cv_objdir+set}" = set; then :
7980 $as_echo_n "(cached) " >&6
7981 else
7982 rm -f .libs 2>/dev/null
7983 mkdir .libs 2>/dev/null
7984 if test -d .libs; then
7985 lt_cv_objdir=.libs
7986 else
7987 # MS-DOS does not allow filenames that begin with a dot.
7988 lt_cv_objdir=_libs
7990 rmdir .libs 2>/dev/null
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7993 $as_echo "$lt_cv_objdir" >&6; }
7994 objdir=$lt_cv_objdir
8000 cat >>confdefs.h <<_ACEOF
8001 #define LT_OBJDIR "$lt_cv_objdir/"
8002 _ACEOF
8020 case $host_os in
8021 aix3*)
8022 # AIX sometimes has problems with the GCC collect2 program. For some
8023 # reason, if we set the COLLECT_NAMES environment variable, the problems
8024 # vanish in a puff of smoke.
8025 if test "X${COLLECT_NAMES+set}" != Xset; then
8026 COLLECT_NAMES=
8027 export COLLECT_NAMES
8030 esac
8032 # Sed substitution that helps us do robust quoting. It backslashifies
8033 # metacharacters that are still active within double-quoted strings.
8034 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8036 # Same as above, but do not quote variable references.
8037 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8039 # Sed substitution to delay expansion of an escaped shell variable in a
8040 # double_quote_subst'ed string.
8041 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8043 # Sed substitution to delay expansion of an escaped single quote.
8044 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8046 # Sed substitution to avoid accidental globbing in evaled expressions
8047 no_glob_subst='s/\*/\\\*/g'
8049 # Global variables:
8050 ofile=libtool
8051 can_build_shared=yes
8053 # All known linkers require a `.a' archive for static linking (except MSVC,
8054 # which needs '.lib').
8055 libext=a
8057 with_gnu_ld="$lt_cv_prog_gnu_ld"
8059 old_CC="$CC"
8060 old_CFLAGS="$CFLAGS"
8062 # Set sane defaults for various variables
8063 test -z "$CC" && CC=cc
8064 test -z "$LTCC" && LTCC=$CC
8065 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8066 test -z "$LD" && LD=ld
8067 test -z "$ac_objext" && ac_objext=o
8069 for cc_temp in $compiler""; do
8070 case $cc_temp in
8071 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8072 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8073 \-*) ;;
8074 *) break;;
8075 esac
8076 done
8077 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8080 # Only perform the check for file, if the check method requires it
8081 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8082 case $deplibs_check_method in
8083 file_magic*)
8084 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8086 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8087 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8088 $as_echo_n "(cached) " >&6
8089 else
8090 case $MAGIC_CMD in
8091 [\\/*] | ?:[\\/]*)
8092 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8095 lt_save_MAGIC_CMD="$MAGIC_CMD"
8096 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8097 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8098 for ac_dir in $ac_dummy; do
8099 IFS="$lt_save_ifs"
8100 test -z "$ac_dir" && ac_dir=.
8101 if test -f $ac_dir/${ac_tool_prefix}file; then
8102 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8103 if test -n "$file_magic_test_file"; then
8104 case $deplibs_check_method in
8105 "file_magic "*)
8106 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8107 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8108 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8109 $EGREP "$file_magic_regex" > /dev/null; then
8111 else
8112 cat <<_LT_EOF 1>&2
8114 *** Warning: the command libtool uses to detect shared libraries,
8115 *** $file_magic_cmd, produces output that libtool cannot recognize.
8116 *** The result is that libtool may fail to recognize shared libraries
8117 *** as such. This will affect the creation of libtool libraries that
8118 *** depend on shared libraries, but programs linked with such libtool
8119 *** libraries will work regardless of this problem. Nevertheless, you
8120 *** may want to report the problem to your system manager and/or to
8121 *** bug-libtool@gnu.org
8123 _LT_EOF
8124 fi ;;
8125 esac
8127 break
8129 done
8130 IFS="$lt_save_ifs"
8131 MAGIC_CMD="$lt_save_MAGIC_CMD"
8133 esac
8136 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8137 if test -n "$MAGIC_CMD"; then
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8139 $as_echo "$MAGIC_CMD" >&6; }
8140 else
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8142 $as_echo "no" >&6; }
8149 if test -z "$lt_cv_path_MAGIC_CMD"; then
8150 if test -n "$ac_tool_prefix"; then
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8152 $as_echo_n "checking for file... " >&6; }
8153 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8154 $as_echo_n "(cached) " >&6
8155 else
8156 case $MAGIC_CMD in
8157 [\\/*] | ?:[\\/]*)
8158 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8161 lt_save_MAGIC_CMD="$MAGIC_CMD"
8162 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8163 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8164 for ac_dir in $ac_dummy; do
8165 IFS="$lt_save_ifs"
8166 test -z "$ac_dir" && ac_dir=.
8167 if test -f $ac_dir/file; then
8168 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8169 if test -n "$file_magic_test_file"; then
8170 case $deplibs_check_method in
8171 "file_magic "*)
8172 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8173 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8174 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8175 $EGREP "$file_magic_regex" > /dev/null; then
8177 else
8178 cat <<_LT_EOF 1>&2
8180 *** Warning: the command libtool uses to detect shared libraries,
8181 *** $file_magic_cmd, produces output that libtool cannot recognize.
8182 *** The result is that libtool may fail to recognize shared libraries
8183 *** as such. This will affect the creation of libtool libraries that
8184 *** depend on shared libraries, but programs linked with such libtool
8185 *** libraries will work regardless of this problem. Nevertheless, you
8186 *** may want to report the problem to your system manager and/or to
8187 *** bug-libtool@gnu.org
8189 _LT_EOF
8190 fi ;;
8191 esac
8193 break
8195 done
8196 IFS="$lt_save_ifs"
8197 MAGIC_CMD="$lt_save_MAGIC_CMD"
8199 esac
8202 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8203 if test -n "$MAGIC_CMD"; then
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8205 $as_echo "$MAGIC_CMD" >&6; }
8206 else
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8208 $as_echo "no" >&6; }
8212 else
8213 MAGIC_CMD=:
8219 esac
8221 # Use C for the default configuration in the libtool script
8223 lt_save_CC="$CC"
8224 ac_ext=c
8225 ac_cpp='$CPP $CPPFLAGS'
8226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8231 # Source file extension for C test sources.
8232 ac_ext=c
8234 # Object file extension for compiled C test sources.
8235 objext=o
8236 objext=$objext
8238 # Code to be used in simple compile tests
8239 lt_simple_compile_test_code="int some_variable = 0;"
8241 # Code to be used in simple link tests
8242 lt_simple_link_test_code='int main(){return(0);}'
8250 # If no C compiler was specified, use CC.
8251 LTCC=${LTCC-"$CC"}
8253 # If no C compiler flags were specified, use CFLAGS.
8254 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8256 # Allow CC to be a program name with arguments.
8257 compiler=$CC
8259 # Save the default compiler, since it gets overwritten when the other
8260 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8261 compiler_DEFAULT=$CC
8263 # save warnings/boilerplate of simple test code
8264 ac_outfile=conftest.$ac_objext
8265 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8266 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8267 _lt_compiler_boilerplate=`cat conftest.err`
8268 $RM conftest*
8270 ac_outfile=conftest.$ac_objext
8271 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8272 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8273 _lt_linker_boilerplate=`cat conftest.err`
8274 $RM -r conftest*
8277 ## CAVEAT EMPTOR:
8278 ## There is no encapsulation within the following macros, do not change
8279 ## the running order or otherwise move them around unless you know exactly
8280 ## what you are doing...
8281 if test -n "$compiler"; then
8283 lt_prog_compiler_no_builtin_flag=
8285 if test "$GCC" = yes; then
8286 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8289 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8290 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8291 $as_echo_n "(cached) " >&6
8292 else
8293 lt_cv_prog_compiler_rtti_exceptions=no
8294 ac_outfile=conftest.$ac_objext
8295 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8296 lt_compiler_flag="-fno-rtti -fno-exceptions"
8297 # Insert the option either (1) after the last *FLAGS variable, or
8298 # (2) before a word containing "conftest.", or (3) at the end.
8299 # Note that $ac_compile itself does not contain backslashes and begins
8300 # with a dollar sign (not a hyphen), so the echo should work correctly.
8301 # The option is referenced via a variable to avoid confusing sed.
8302 lt_compile=`echo "$ac_compile" | $SED \
8303 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8304 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8305 -e 's:$: $lt_compiler_flag:'`
8306 (eval echo "\"\$as_me:8306: $lt_compile\"" >&5)
8307 (eval "$lt_compile" 2>conftest.err)
8308 ac_status=$?
8309 cat conftest.err >&5
8310 echo "$as_me:8310: \$? = $ac_status" >&5
8311 if (exit $ac_status) && test -s "$ac_outfile"; then
8312 # The compiler can only warn and ignore the option if not recognized
8313 # So say no if there are warnings other than the usual output.
8314 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8315 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8316 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8317 lt_cv_prog_compiler_rtti_exceptions=yes
8320 $RM conftest*
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8324 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8326 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8327 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8328 else
8339 lt_prog_compiler_wl=
8340 lt_prog_compiler_pic=
8341 lt_prog_compiler_static=
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8344 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8346 if test "$GCC" = yes; then
8347 lt_prog_compiler_wl='-Wl,'
8348 lt_prog_compiler_static='-static'
8350 case $host_os in
8351 aix*)
8352 # All AIX code is PIC.
8353 if test "$host_cpu" = ia64; then
8354 # AIX 5 now supports IA64 processor
8355 lt_prog_compiler_static='-Bstatic'
8359 amigaos*)
8360 case $host_cpu in
8361 powerpc)
8362 # see comment about AmigaOS4 .so support
8363 lt_prog_compiler_pic='-fPIC'
8365 m68k)
8366 # FIXME: we need at least 68020 code to build shared libraries, but
8367 # adding the `-m68020' flag to GCC prevents building anything better,
8368 # like `-m68040'.
8369 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8371 esac
8374 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8375 # PIC is the default for these OSes.
8378 mingw* | cygwin* | pw32* | os2* | cegcc*)
8379 # This hack is so that the source file can tell whether it is being
8380 # built for inclusion in a dll (and should export symbols for example).
8381 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8382 # (--disable-auto-import) libraries
8383 lt_prog_compiler_pic='-DDLL_EXPORT'
8386 darwin* | rhapsody*)
8387 # PIC is the default on this platform
8388 # Common symbols not allowed in MH_DYLIB files
8389 lt_prog_compiler_pic='-fno-common'
8392 hpux*)
8393 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8394 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8395 # sets the default TLS model and affects inlining.
8396 case $host_cpu in
8397 hppa*64*)
8398 # +Z the default
8401 lt_prog_compiler_pic='-fPIC'
8403 esac
8406 interix[3-9]*)
8407 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8408 # Instead, we relocate shared libraries at runtime.
8411 msdosdjgpp*)
8412 # Just because we use GCC doesn't mean we suddenly get shared libraries
8413 # on systems that don't support them.
8414 lt_prog_compiler_can_build_shared=no
8415 enable_shared=no
8418 *nto* | *qnx*)
8419 # QNX uses GNU C++, but need to define -shared option too, otherwise
8420 # it will coredump.
8421 lt_prog_compiler_pic='-fPIC -shared'
8424 sysv4*MP*)
8425 if test -d /usr/nec; then
8426 lt_prog_compiler_pic=-Kconform_pic
8431 lt_prog_compiler_pic='-fPIC'
8433 esac
8434 else
8435 # PORTME Check for flag to pass linker flags through the system compiler.
8436 case $host_os in
8437 aix*)
8438 lt_prog_compiler_wl='-Wl,'
8439 if test "$host_cpu" = ia64; then
8440 # AIX 5 now supports IA64 processor
8441 lt_prog_compiler_static='-Bstatic'
8442 else
8443 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8447 mingw* | cygwin* | pw32* | os2* | cegcc*)
8448 # This hack is so that the source file can tell whether it is being
8449 # built for inclusion in a dll (and should export symbols for example).
8450 lt_prog_compiler_pic='-DDLL_EXPORT'
8453 hpux9* | hpux10* | hpux11*)
8454 lt_prog_compiler_wl='-Wl,'
8455 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8456 # not for PA HP-UX.
8457 case $host_cpu in
8458 hppa*64*|ia64*)
8459 # +Z the default
8462 lt_prog_compiler_pic='+Z'
8464 esac
8465 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8466 lt_prog_compiler_static='${wl}-a ${wl}archive'
8469 irix5* | irix6* | nonstopux*)
8470 lt_prog_compiler_wl='-Wl,'
8471 # PIC (with -KPIC) is the default.
8472 lt_prog_compiler_static='-non_shared'
8475 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8476 case $cc_basename in
8477 # old Intel for x86_64 which still supported -KPIC.
8478 ecc*)
8479 lt_prog_compiler_wl='-Wl,'
8480 lt_prog_compiler_pic='-KPIC'
8481 lt_prog_compiler_static='-static'
8483 # icc used to be incompatible with GCC.
8484 # ICC 10 doesn't accept -KPIC any more.
8485 icc* | ifort*)
8486 lt_prog_compiler_wl='-Wl,'
8487 lt_prog_compiler_pic='-fPIC'
8488 lt_prog_compiler_static='-static'
8490 # Lahey Fortran 8.1.
8491 lf95*)
8492 lt_prog_compiler_wl='-Wl,'
8493 lt_prog_compiler_pic='--shared'
8494 lt_prog_compiler_static='--static'
8496 pgcc* | pgf77* | pgf90* | pgf95*)
8497 # Portland Group compilers (*not* the Pentium gcc compiler,
8498 # which looks to be a dead project)
8499 lt_prog_compiler_wl='-Wl,'
8500 lt_prog_compiler_pic='-fpic'
8501 lt_prog_compiler_static='-Bstatic'
8503 ccc*)
8504 lt_prog_compiler_wl='-Wl,'
8505 # All Alpha code is PIC.
8506 lt_prog_compiler_static='-non_shared'
8508 xl*)
8509 # IBM XL C 8.0/Fortran 10.1 on PPC
8510 lt_prog_compiler_wl='-Wl,'
8511 lt_prog_compiler_pic='-qpic'
8512 lt_prog_compiler_static='-qstaticlink'
8515 case `$CC -V 2>&1 | sed 5q` in
8516 *Sun\ C*)
8517 # Sun C 5.9
8518 lt_prog_compiler_pic='-KPIC'
8519 lt_prog_compiler_static='-Bstatic'
8520 lt_prog_compiler_wl='-Wl,'
8522 *Sun\ F*)
8523 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8524 lt_prog_compiler_pic='-KPIC'
8525 lt_prog_compiler_static='-Bstatic'
8526 lt_prog_compiler_wl=''
8528 esac
8530 esac
8533 newsos6)
8534 lt_prog_compiler_pic='-KPIC'
8535 lt_prog_compiler_static='-Bstatic'
8538 *nto* | *qnx*)
8539 # QNX uses GNU C++, but need to define -shared option too, otherwise
8540 # it will coredump.
8541 lt_prog_compiler_pic='-fPIC -shared'
8544 osf3* | osf4* | osf5*)
8545 lt_prog_compiler_wl='-Wl,'
8546 # All OSF/1 code is PIC.
8547 lt_prog_compiler_static='-non_shared'
8550 rdos*)
8551 lt_prog_compiler_static='-non_shared'
8554 solaris*)
8555 lt_prog_compiler_pic='-KPIC'
8556 lt_prog_compiler_static='-Bstatic'
8557 case $cc_basename in
8558 f77* | f90* | f95*)
8559 lt_prog_compiler_wl='-Qoption ld ';;
8561 lt_prog_compiler_wl='-Wl,';;
8562 esac
8565 sunos4*)
8566 lt_prog_compiler_wl='-Qoption ld '
8567 lt_prog_compiler_pic='-PIC'
8568 lt_prog_compiler_static='-Bstatic'
8571 sysv4 | sysv4.2uw2* | sysv4.3*)
8572 lt_prog_compiler_wl='-Wl,'
8573 lt_prog_compiler_pic='-KPIC'
8574 lt_prog_compiler_static='-Bstatic'
8577 sysv4*MP*)
8578 if test -d /usr/nec ;then
8579 lt_prog_compiler_pic='-Kconform_pic'
8580 lt_prog_compiler_static='-Bstatic'
8584 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8585 lt_prog_compiler_wl='-Wl,'
8586 lt_prog_compiler_pic='-KPIC'
8587 lt_prog_compiler_static='-Bstatic'
8590 unicos*)
8591 lt_prog_compiler_wl='-Wl,'
8592 lt_prog_compiler_can_build_shared=no
8595 uts4*)
8596 lt_prog_compiler_pic='-pic'
8597 lt_prog_compiler_static='-Bstatic'
8601 lt_prog_compiler_can_build_shared=no
8603 esac
8606 case $host_os in
8607 # For platforms which do not support PIC, -DPIC is meaningless:
8608 *djgpp*)
8609 lt_prog_compiler_pic=
8612 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8614 esac
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8616 $as_echo "$lt_prog_compiler_pic" >&6; }
8624 # Check to make sure the PIC flag actually works.
8626 if test -n "$lt_prog_compiler_pic"; then
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8628 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8629 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8630 $as_echo_n "(cached) " >&6
8631 else
8632 lt_cv_prog_compiler_pic_works=no
8633 ac_outfile=conftest.$ac_objext
8634 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8635 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8636 # Insert the option either (1) after the last *FLAGS variable, or
8637 # (2) before a word containing "conftest.", or (3) at the end.
8638 # Note that $ac_compile itself does not contain backslashes and begins
8639 # with a dollar sign (not a hyphen), so the echo should work correctly.
8640 # The option is referenced via a variable to avoid confusing sed.
8641 lt_compile=`echo "$ac_compile" | $SED \
8642 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8643 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8644 -e 's:$: $lt_compiler_flag:'`
8645 (eval echo "\"\$as_me:8645: $lt_compile\"" >&5)
8646 (eval "$lt_compile" 2>conftest.err)
8647 ac_status=$?
8648 cat conftest.err >&5
8649 echo "$as_me:8649: \$? = $ac_status" >&5
8650 if (exit $ac_status) && test -s "$ac_outfile"; then
8651 # The compiler can only warn and ignore the option if not recognized
8652 # So say no if there are warnings other than the usual output.
8653 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8654 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8655 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8656 lt_cv_prog_compiler_pic_works=yes
8659 $RM conftest*
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8663 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8665 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8666 case $lt_prog_compiler_pic in
8667 "" | " "*) ;;
8668 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8669 esac
8670 else
8671 lt_prog_compiler_pic=
8672 lt_prog_compiler_can_build_shared=no
8683 # Check to make sure the static flag actually works.
8685 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8687 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8688 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8689 $as_echo_n "(cached) " >&6
8690 else
8691 lt_cv_prog_compiler_static_works=no
8692 save_LDFLAGS="$LDFLAGS"
8693 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8694 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8695 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8696 # The linker can only warn and ignore the option if not recognized
8697 # So say no if there are warnings
8698 if test -s conftest.err; then
8699 # Append any errors to the config.log.
8700 cat conftest.err 1>&5
8701 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8702 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8703 if diff conftest.exp conftest.er2 >/dev/null; then
8704 lt_cv_prog_compiler_static_works=yes
8706 else
8707 lt_cv_prog_compiler_static_works=yes
8710 $RM -r conftest*
8711 LDFLAGS="$save_LDFLAGS"
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8715 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8717 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8719 else
8720 lt_prog_compiler_static=
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8730 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8731 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8732 $as_echo_n "(cached) " >&6
8733 else
8734 lt_cv_prog_compiler_c_o=no
8735 $RM -r conftest 2>/dev/null
8736 mkdir conftest
8737 cd conftest
8738 mkdir out
8739 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8741 lt_compiler_flag="-o out/conftest2.$ac_objext"
8742 # Insert the option either (1) after the last *FLAGS variable, or
8743 # (2) before a word containing "conftest.", or (3) at the end.
8744 # Note that $ac_compile itself does not contain backslashes and begins
8745 # with a dollar sign (not a hyphen), so the echo should work correctly.
8746 lt_compile=`echo "$ac_compile" | $SED \
8747 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8748 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8749 -e 's:$: $lt_compiler_flag:'`
8750 (eval echo "\"\$as_me:8750: $lt_compile\"" >&5)
8751 (eval "$lt_compile" 2>out/conftest.err)
8752 ac_status=$?
8753 cat out/conftest.err >&5
8754 echo "$as_me:8754: \$? = $ac_status" >&5
8755 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8756 then
8757 # The compiler can only warn and ignore the option if not recognized
8758 # So say no if there are warnings
8759 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8760 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8761 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8762 lt_cv_prog_compiler_c_o=yes
8765 chmod u+w . 2>&5
8766 $RM conftest*
8767 # SGI C++ compiler will create directory out/ii_files/ for
8768 # template instantiation
8769 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8770 $RM out/* && rmdir out
8771 cd ..
8772 $RM -r conftest
8773 $RM conftest*
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8777 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8785 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8786 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8787 $as_echo_n "(cached) " >&6
8788 else
8789 lt_cv_prog_compiler_c_o=no
8790 $RM -r conftest 2>/dev/null
8791 mkdir conftest
8792 cd conftest
8793 mkdir out
8794 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8796 lt_compiler_flag="-o out/conftest2.$ac_objext"
8797 # Insert the option either (1) after the last *FLAGS variable, or
8798 # (2) before a word containing "conftest.", or (3) at the end.
8799 # Note that $ac_compile itself does not contain backslashes and begins
8800 # with a dollar sign (not a hyphen), so the echo should work correctly.
8801 lt_compile=`echo "$ac_compile" | $SED \
8802 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8803 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8804 -e 's:$: $lt_compiler_flag:'`
8805 (eval echo "\"\$as_me:8805: $lt_compile\"" >&5)
8806 (eval "$lt_compile" 2>out/conftest.err)
8807 ac_status=$?
8808 cat out/conftest.err >&5
8809 echo "$as_me:8809: \$? = $ac_status" >&5
8810 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8811 then
8812 # The compiler can only warn and ignore the option if not recognized
8813 # So say no if there are warnings
8814 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8815 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8816 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8817 lt_cv_prog_compiler_c_o=yes
8820 chmod u+w . 2>&5
8821 $RM conftest*
8822 # SGI C++ compiler will create directory out/ii_files/ for
8823 # template instantiation
8824 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8825 $RM out/* && rmdir out
8826 cd ..
8827 $RM -r conftest
8828 $RM conftest*
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8832 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8837 hard_links="nottested"
8838 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8839 # do not overwrite the value of need_locks provided by the user
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8841 $as_echo_n "checking if we can lock with hard links... " >&6; }
8842 hard_links=yes
8843 $RM conftest*
8844 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8845 touch conftest.a
8846 ln conftest.a conftest.b 2>&5 || hard_links=no
8847 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8849 $as_echo "$hard_links" >&6; }
8850 if test "$hard_links" = no; then
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8852 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8853 need_locks=warn
8855 else
8856 need_locks=no
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8865 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8867 runpath_var=
8868 allow_undefined_flag=
8869 always_export_symbols=no
8870 archive_cmds=
8871 archive_expsym_cmds=
8872 compiler_needs_object=no
8873 enable_shared_with_static_runtimes=no
8874 export_dynamic_flag_spec=
8875 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8876 hardcode_automatic=no
8877 hardcode_direct=no
8878 hardcode_direct_absolute=no
8879 hardcode_libdir_flag_spec=
8880 hardcode_libdir_flag_spec_ld=
8881 hardcode_libdir_separator=
8882 hardcode_minus_L=no
8883 hardcode_shlibpath_var=unsupported
8884 inherit_rpath=no
8885 link_all_deplibs=unknown
8886 module_cmds=
8887 module_expsym_cmds=
8888 old_archive_from_new_cmds=
8889 old_archive_from_expsyms_cmds=
8890 thread_safe_flag_spec=
8891 whole_archive_flag_spec=
8892 # include_expsyms should be a list of space-separated symbols to be *always*
8893 # included in the symbol list
8894 include_expsyms=
8895 # exclude_expsyms can be an extended regexp of symbols to exclude
8896 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8897 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8898 # as well as any symbol that contains `d'.
8899 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8900 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8901 # platforms (ab)use it in PIC code, but their linkers get confused if
8902 # the symbol is explicitly referenced. Since portable code cannot
8903 # rely on this symbol name, it's probably fine to never include it in
8904 # preloaded symbol tables.
8905 # Exclude shared library initialization/finalization symbols.
8906 extract_expsyms_cmds=
8908 case $host_os in
8909 cygwin* | mingw* | pw32* | cegcc*)
8910 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8911 # When not using gcc, we currently assume that we are using
8912 # Microsoft Visual C++.
8913 if test "$GCC" != yes; then
8914 with_gnu_ld=no
8917 interix*)
8918 # we just hope/assume this is gcc and not c89 (= MSVC++)
8919 with_gnu_ld=yes
8921 openbsd*)
8922 with_gnu_ld=no
8924 esac
8926 ld_shlibs=yes
8927 if test "$with_gnu_ld" = yes; then
8928 # If archive_cmds runs LD, not CC, wlarc should be empty
8929 wlarc='${wl}'
8931 # Set some defaults for GNU ld with shared library support. These
8932 # are reset later if shared libraries are not supported. Putting them
8933 # here allows them to be overridden if necessary.
8934 runpath_var=LD_RUN_PATH
8935 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8936 export_dynamic_flag_spec='${wl}--export-dynamic'
8937 # ancient GNU ld didn't support --whole-archive et. al.
8938 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8939 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8940 else
8941 whole_archive_flag_spec=
8943 supports_anon_versioning=no
8944 case `$LD -v 2>&1` in
8945 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8946 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8947 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8948 *\ 2.11.*) ;; # other 2.11 versions
8949 *) supports_anon_versioning=yes ;;
8950 esac
8952 # See if GNU ld supports shared libraries.
8953 case $host_os in
8954 aix[3-9]*)
8955 # On AIX/PPC, the GNU linker is very broken
8956 if test "$host_cpu" != ia64; then
8957 ld_shlibs=no
8958 cat <<_LT_EOF 1>&2
8960 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8961 *** to be unable to reliably create shared libraries on AIX.
8962 *** Therefore, libtool is disabling shared libraries support. If you
8963 *** really care for shared libraries, you may want to modify your PATH
8964 *** so that a non-GNU linker is found, and then restart.
8966 _LT_EOF
8970 amigaos*)
8971 case $host_cpu in
8972 powerpc)
8973 # see comment about AmigaOS4 .so support
8974 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8975 archive_expsym_cmds=''
8977 m68k)
8978 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)'
8979 hardcode_libdir_flag_spec='-L$libdir'
8980 hardcode_minus_L=yes
8982 esac
8985 beos*)
8986 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8987 allow_undefined_flag=unsupported
8988 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8989 # support --undefined. This deserves some investigation. FIXME
8990 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8991 else
8992 ld_shlibs=no
8996 cygwin* | mingw* | pw32* | cegcc*)
8997 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8998 # as there is no search path for DLLs.
8999 hardcode_libdir_flag_spec='-L$libdir'
9000 allow_undefined_flag=unsupported
9001 always_export_symbols=no
9002 enable_shared_with_static_runtimes=yes
9003 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9005 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9006 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9007 # If the export-symbols file already is a .def file (1st line
9008 # is EXPORTS), use it as is; otherwise, prepend...
9009 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9010 cp $export_symbols $output_objdir/$soname.def;
9011 else
9012 echo EXPORTS > $output_objdir/$soname.def;
9013 cat $export_symbols >> $output_objdir/$soname.def;
9015 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9016 else
9017 ld_shlibs=no
9021 interix[3-9]*)
9022 hardcode_direct=no
9023 hardcode_shlibpath_var=no
9024 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9025 export_dynamic_flag_spec='${wl}-E'
9026 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9027 # Instead, shared libraries are loaded at an image base (0x10000000 by
9028 # default) and relocated if they conflict, which is a slow very memory
9029 # consuming and fragmenting process. To avoid this, we pick a random,
9030 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9031 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9032 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9033 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'
9036 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9037 tmp_diet=no
9038 if test "$host_os" = linux-dietlibc; then
9039 case $cc_basename in
9040 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9041 esac
9043 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9044 && test "$tmp_diet" = no
9045 then
9046 tmp_addflag=
9047 tmp_sharedflag='-shared'
9048 case $cc_basename,$host_cpu in
9049 pgcc*) # Portland Group C compiler
9050 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9051 tmp_addflag=' $pic_flag'
9053 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9054 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9055 tmp_addflag=' $pic_flag -Mnomain' ;;
9056 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9057 tmp_addflag=' -i_dynamic' ;;
9058 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9059 tmp_addflag=' -i_dynamic -nofor_main' ;;
9060 ifc* | ifort*) # Intel Fortran compiler
9061 tmp_addflag=' -nofor_main' ;;
9062 lf95*) # Lahey Fortran 8.1
9063 whole_archive_flag_spec=
9064 tmp_sharedflag='--shared' ;;
9065 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9066 tmp_sharedflag='-qmkshrobj'
9067 tmp_addflag= ;;
9068 esac
9069 case `$CC -V 2>&1 | sed 5q` in
9070 *Sun\ C*) # Sun C 5.9
9071 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9072 compiler_needs_object=yes
9073 tmp_sharedflag='-G' ;;
9074 *Sun\ F*) # Sun Fortran 8.3
9075 tmp_sharedflag='-G' ;;
9076 esac
9077 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9079 if test "x$supports_anon_versioning" = xyes; then
9080 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9081 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9082 echo "local: *; };" >> $output_objdir/$libname.ver~
9083 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9086 case $cc_basename in
9087 xlf*)
9088 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9089 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9090 hardcode_libdir_flag_spec=
9091 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9092 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9093 if test "x$supports_anon_versioning" = xyes; then
9094 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9095 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9096 echo "local: *; };" >> $output_objdir/$libname.ver~
9097 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9100 esac
9101 else
9102 ld_shlibs=no
9106 netbsd*)
9107 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9108 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9109 wlarc=
9110 else
9111 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9112 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9116 solaris*)
9117 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9118 ld_shlibs=no
9119 cat <<_LT_EOF 1>&2
9121 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9122 *** create shared libraries on Solaris systems. Therefore, libtool
9123 *** is disabling shared libraries support. We urge you to upgrade GNU
9124 *** binutils to release 2.9.1 or newer. Another option is to modify
9125 *** your PATH or compiler configuration so that the native linker is
9126 *** used, and then restart.
9128 _LT_EOF
9129 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9130 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9131 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9132 else
9133 ld_shlibs=no
9137 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9138 case `$LD -v 2>&1` in
9139 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9140 ld_shlibs=no
9141 cat <<_LT_EOF 1>&2
9143 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9144 *** reliably create shared libraries on SCO systems. Therefore, libtool
9145 *** is disabling shared libraries support. We urge you to upgrade GNU
9146 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9147 *** your PATH or compiler configuration so that the native linker is
9148 *** used, and then restart.
9150 _LT_EOF
9153 # For security reasons, it is highly recommended that you always
9154 # use absolute paths for naming shared libraries, and exclude the
9155 # DT_RUNPATH tag from executables and libraries. But doing so
9156 # requires that you compile everything twice, which is a pain.
9157 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9158 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9159 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9160 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9161 else
9162 ld_shlibs=no
9165 esac
9168 sunos4*)
9169 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9170 wlarc=
9171 hardcode_direct=yes
9172 hardcode_shlibpath_var=no
9176 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9177 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9178 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9179 else
9180 ld_shlibs=no
9183 esac
9185 if test "$ld_shlibs" = no; then
9186 runpath_var=
9187 hardcode_libdir_flag_spec=
9188 export_dynamic_flag_spec=
9189 whole_archive_flag_spec=
9191 else
9192 # PORTME fill in a description of your system's linker (not GNU ld)
9193 case $host_os in
9194 aix3*)
9195 allow_undefined_flag=unsupported
9196 always_export_symbols=yes
9197 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'
9198 # Note: this linker hardcodes the directories in LIBPATH if there
9199 # are no directories specified by -L.
9200 hardcode_minus_L=yes
9201 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9202 # Neither direct hardcoding nor static linking is supported with a
9203 # broken collect2.
9204 hardcode_direct=unsupported
9208 aix[4-9]*)
9209 if test "$host_cpu" = ia64; then
9210 # On IA64, the linker does run time linking by default, so we don't
9211 # have to do anything special.
9212 aix_use_runtimelinking=no
9213 exp_sym_flag='-Bexport'
9214 no_entry_flag=""
9215 else
9216 # If we're using GNU nm, then we don't want the "-C" option.
9217 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9218 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9219 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9220 else
9221 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'
9223 aix_use_runtimelinking=no
9225 # Test if we are trying to use run time linking or normal
9226 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9227 # need to do runtime linking.
9228 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9229 for ld_flag in $LDFLAGS; do
9230 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9231 aix_use_runtimelinking=yes
9232 break
9234 done
9236 esac
9238 exp_sym_flag='-bexport'
9239 no_entry_flag='-bnoentry'
9242 # When large executables or shared objects are built, AIX ld can
9243 # have problems creating the table of contents. If linking a library
9244 # or program results in "error TOC overflow" add -mminimal-toc to
9245 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9246 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9248 archive_cmds=''
9249 hardcode_direct=yes
9250 hardcode_direct_absolute=yes
9251 hardcode_libdir_separator=':'
9252 link_all_deplibs=yes
9253 file_list_spec='${wl}-f,'
9255 if test "$GCC" = yes; then
9256 case $host_os in aix4.[012]|aix4.[012].*)
9257 # We only want to do this on AIX 4.2 and lower, the check
9258 # below for broken collect2 doesn't work under 4.3+
9259 collect2name=`${CC} -print-prog-name=collect2`
9260 if test -f "$collect2name" &&
9261 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9262 then
9263 # We have reworked collect2
9265 else
9266 # We have old collect2
9267 hardcode_direct=unsupported
9268 # It fails to find uninstalled libraries when the uninstalled
9269 # path is not listed in the libpath. Setting hardcode_minus_L
9270 # to unsupported forces relinking
9271 hardcode_minus_L=yes
9272 hardcode_libdir_flag_spec='-L$libdir'
9273 hardcode_libdir_separator=
9276 esac
9277 shared_flag='-shared'
9278 if test "$aix_use_runtimelinking" = yes; then
9279 shared_flag="$shared_flag "'${wl}-G'
9281 else
9282 # not using gcc
9283 if test "$host_cpu" = ia64; then
9284 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9285 # chokes on -Wl,-G. The following line is correct:
9286 shared_flag='-G'
9287 else
9288 if test "$aix_use_runtimelinking" = yes; then
9289 shared_flag='${wl}-G'
9290 else
9291 shared_flag='${wl}-bM:SRE'
9296 export_dynamic_flag_spec='${wl}-bexpall'
9297 # It seems that -bexpall does not export symbols beginning with
9298 # underscore (_), so it is better to generate a list of symbols to export.
9299 always_export_symbols=yes
9300 if test "$aix_use_runtimelinking" = yes; then
9301 # Warning - without using the other runtime loading flags (-brtl),
9302 # -berok will link without error, but may produce a broken library.
9303 allow_undefined_flag='-berok'
9304 # Determine the default libpath from the value encoded in an
9305 # empty executable.
9306 if test x$gcc_no_link = xyes; then
9307 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9310 /* end confdefs.h. */
9313 main ()
9317 return 0;
9319 _ACEOF
9320 if ac_fn_c_try_link "$LINENO"; then :
9322 lt_aix_libpath_sed='
9323 /Import File Strings/,/^$/ {
9324 /^0/ {
9325 s/^0 *\(.*\)$/\1/
9329 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9330 # Check for a 64-bit object if we didn't find anything.
9331 if test -z "$aix_libpath"; then
9332 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9335 rm -f core conftest.err conftest.$ac_objext \
9336 conftest$ac_exeext conftest.$ac_ext
9337 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9339 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9340 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9341 else
9342 if test "$host_cpu" = ia64; then
9343 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9344 allow_undefined_flag="-z nodefs"
9345 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"
9346 else
9347 # Determine the default libpath from the value encoded in an
9348 # empty executable.
9349 if test x$gcc_no_link = xyes; then
9350 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9353 /* end confdefs.h. */
9356 main ()
9360 return 0;
9362 _ACEOF
9363 if ac_fn_c_try_link "$LINENO"; then :
9365 lt_aix_libpath_sed='
9366 /Import File Strings/,/^$/ {
9367 /^0/ {
9368 s/^0 *\(.*\)$/\1/
9372 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9373 # Check for a 64-bit object if we didn't find anything.
9374 if test -z "$aix_libpath"; then
9375 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9378 rm -f core conftest.err conftest.$ac_objext \
9379 conftest$ac_exeext conftest.$ac_ext
9380 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9382 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9383 # Warning - without using the other run time loading flags,
9384 # -berok will link without error, but may produce a broken library.
9385 no_undefined_flag=' ${wl}-bernotok'
9386 allow_undefined_flag=' ${wl}-berok'
9387 # Exported symbols can be pulled into shared objects from archives
9388 whole_archive_flag_spec='$convenience'
9389 archive_cmds_need_lc=yes
9390 # This is similar to how AIX traditionally builds its shared libraries.
9391 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'
9396 amigaos*)
9397 case $host_cpu in
9398 powerpc)
9399 # see comment about AmigaOS4 .so support
9400 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9401 archive_expsym_cmds=''
9403 m68k)
9404 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)'
9405 hardcode_libdir_flag_spec='-L$libdir'
9406 hardcode_minus_L=yes
9408 esac
9411 bsdi[45]*)
9412 export_dynamic_flag_spec=-rdynamic
9415 cygwin* | mingw* | pw32* | cegcc*)
9416 # When not using gcc, we currently assume that we are using
9417 # Microsoft Visual C++.
9418 # hardcode_libdir_flag_spec is actually meaningless, as there is
9419 # no search path for DLLs.
9420 hardcode_libdir_flag_spec=' '
9421 allow_undefined_flag=unsupported
9422 # Tell ltmain to make .lib files, not .a files.
9423 libext=lib
9424 # Tell ltmain to make .dll files, not .so files.
9425 shrext_cmds=".dll"
9426 # FIXME: Setting linknames here is a bad hack.
9427 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9428 # The linker will automatically build a .lib file if we build a DLL.
9429 old_archive_from_new_cmds='true'
9430 # FIXME: Should let the user specify the lib program.
9431 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9432 fix_srcfile_path='`cygpath -w "$srcfile"`'
9433 enable_shared_with_static_runtimes=yes
9436 darwin* | rhapsody*)
9439 archive_cmds_need_lc=no
9440 hardcode_direct=no
9441 hardcode_automatic=yes
9442 hardcode_shlibpath_var=unsupported
9443 whole_archive_flag_spec=''
9444 link_all_deplibs=yes
9445 allow_undefined_flag="$_lt_dar_allow_undefined"
9446 case $cc_basename in
9447 ifort*) _lt_dar_can_shared=yes ;;
9448 *) _lt_dar_can_shared=$GCC ;;
9449 esac
9450 if test "$_lt_dar_can_shared" = "yes"; then
9451 output_verbose_link_cmd=echo
9452 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9453 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9454 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}"
9455 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}"
9457 else
9458 ld_shlibs=no
9463 dgux*)
9464 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9465 hardcode_libdir_flag_spec='-L$libdir'
9466 hardcode_shlibpath_var=no
9469 freebsd1*)
9470 ld_shlibs=no
9473 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9474 # support. Future versions do this automatically, but an explicit c++rt0.o
9475 # does not break anything, and helps significantly (at the cost of a little
9476 # extra space).
9477 freebsd2.2*)
9478 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9479 hardcode_libdir_flag_spec='-R$libdir'
9480 hardcode_direct=yes
9481 hardcode_shlibpath_var=no
9484 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9485 freebsd2*)
9486 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9487 hardcode_direct=yes
9488 hardcode_minus_L=yes
9489 hardcode_shlibpath_var=no
9492 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9493 freebsd* | dragonfly*)
9494 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9495 hardcode_libdir_flag_spec='-R$libdir'
9496 hardcode_direct=yes
9497 hardcode_shlibpath_var=no
9500 hpux9*)
9501 if test "$GCC" = yes; then
9502 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'
9503 else
9504 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'
9506 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9507 hardcode_libdir_separator=:
9508 hardcode_direct=yes
9510 # hardcode_minus_L: Not really in the search PATH,
9511 # but as the default location of the library.
9512 hardcode_minus_L=yes
9513 export_dynamic_flag_spec='${wl}-E'
9516 hpux10*)
9517 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9518 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9519 else
9520 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9522 if test "$with_gnu_ld" = no; then
9523 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9524 hardcode_libdir_flag_spec_ld='+b $libdir'
9525 hardcode_libdir_separator=:
9526 hardcode_direct=yes
9527 hardcode_direct_absolute=yes
9528 export_dynamic_flag_spec='${wl}-E'
9529 # hardcode_minus_L: Not really in the search PATH,
9530 # but as the default location of the library.
9531 hardcode_minus_L=yes
9535 hpux11*)
9536 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9537 case $host_cpu in
9538 hppa*64*)
9539 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9541 ia64*)
9542 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9545 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9547 esac
9548 else
9549 case $host_cpu in
9550 hppa*64*)
9551 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9553 ia64*)
9554 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9557 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9559 esac
9561 if test "$with_gnu_ld" = no; then
9562 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9563 hardcode_libdir_separator=:
9565 case $host_cpu in
9566 hppa*64*|ia64*)
9567 hardcode_direct=no
9568 hardcode_shlibpath_var=no
9571 hardcode_direct=yes
9572 hardcode_direct_absolute=yes
9573 export_dynamic_flag_spec='${wl}-E'
9575 # hardcode_minus_L: Not really in the search PATH,
9576 # but as the default location of the library.
9577 hardcode_minus_L=yes
9579 esac
9583 irix5* | irix6* | nonstopux*)
9584 if test "$GCC" = yes; then
9585 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9586 # Try to use the -exported_symbol ld option, if it does not
9587 # work, assume that -exports_file does not work either and
9588 # implicitly export all symbols.
9589 save_LDFLAGS="$LDFLAGS"
9590 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9591 if test x$gcc_no_link = xyes; then
9592 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9595 /* end confdefs.h. */
9596 int foo(void) {}
9597 _ACEOF
9598 if ac_fn_c_try_link "$LINENO"; then :
9599 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9602 rm -f core conftest.err conftest.$ac_objext \
9603 conftest$ac_exeext conftest.$ac_ext
9604 LDFLAGS="$save_LDFLAGS"
9605 else
9606 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9607 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9609 archive_cmds_need_lc='no'
9610 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9611 hardcode_libdir_separator=:
9612 inherit_rpath=yes
9613 link_all_deplibs=yes
9616 netbsd*)
9617 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9618 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9619 else
9620 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9622 hardcode_libdir_flag_spec='-R$libdir'
9623 hardcode_direct=yes
9624 hardcode_shlibpath_var=no
9627 newsos6)
9628 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9629 hardcode_direct=yes
9630 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9631 hardcode_libdir_separator=:
9632 hardcode_shlibpath_var=no
9635 *nto* | *qnx*)
9638 openbsd*)
9639 if test -f /usr/libexec/ld.so; then
9640 hardcode_direct=yes
9641 hardcode_shlibpath_var=no
9642 hardcode_direct_absolute=yes
9643 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9644 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9645 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9646 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9647 export_dynamic_flag_spec='${wl}-E'
9648 else
9649 case $host_os in
9650 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9651 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9652 hardcode_libdir_flag_spec='-R$libdir'
9655 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9656 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9658 esac
9660 else
9661 ld_shlibs=no
9665 os2*)
9666 hardcode_libdir_flag_spec='-L$libdir'
9667 hardcode_minus_L=yes
9668 allow_undefined_flag=unsupported
9669 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'
9670 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9673 osf3*)
9674 if test "$GCC" = yes; then
9675 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9676 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9677 else
9678 allow_undefined_flag=' -expect_unresolved \*'
9679 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9681 archive_cmds_need_lc='no'
9682 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9683 hardcode_libdir_separator=:
9686 osf4* | osf5*) # as osf3* with the addition of -msym flag
9687 if test "$GCC" = yes; then
9688 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9689 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9690 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9691 else
9692 allow_undefined_flag=' -expect_unresolved \*'
9693 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9694 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~
9695 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9697 # Both c and cxx compiler support -rpath directly
9698 hardcode_libdir_flag_spec='-rpath $libdir'
9700 archive_cmds_need_lc='no'
9701 hardcode_libdir_separator=:
9704 solaris*)
9705 no_undefined_flag=' -z defs'
9706 if test "$GCC" = yes; then
9707 wlarc='${wl}'
9708 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9709 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9710 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9711 else
9712 case `$CC -V 2>&1` in
9713 *"Compilers 5.0"*)
9714 wlarc=''
9715 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9716 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9717 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9720 wlarc='${wl}'
9721 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9722 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9723 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9725 esac
9727 hardcode_libdir_flag_spec='-R$libdir'
9728 hardcode_shlibpath_var=no
9729 case $host_os in
9730 solaris2.[0-5] | solaris2.[0-5].*) ;;
9732 # The compiler driver will combine and reorder linker options,
9733 # but understands `-z linker_flag'. GCC discards it without `$wl',
9734 # but is careful enough not to reorder.
9735 # Supported since Solaris 2.6 (maybe 2.5.1?)
9736 if test "$GCC" = yes; then
9737 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9738 else
9739 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9742 esac
9743 link_all_deplibs=yes
9746 sunos4*)
9747 if test "x$host_vendor" = xsequent; then
9748 # Use $CC to link under sequent, because it throws in some extra .o
9749 # files that make .init and .fini sections work.
9750 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9751 else
9752 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9754 hardcode_libdir_flag_spec='-L$libdir'
9755 hardcode_direct=yes
9756 hardcode_minus_L=yes
9757 hardcode_shlibpath_var=no
9760 sysv4)
9761 case $host_vendor in
9762 sni)
9763 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9764 hardcode_direct=yes # is this really true???
9766 siemens)
9767 ## LD is ld it makes a PLAMLIB
9768 ## CC just makes a GrossModule.
9769 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9770 reload_cmds='$CC -r -o $output$reload_objs'
9771 hardcode_direct=no
9773 motorola)
9774 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9775 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9777 esac
9778 runpath_var='LD_RUN_PATH'
9779 hardcode_shlibpath_var=no
9782 sysv4.3*)
9783 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9784 hardcode_shlibpath_var=no
9785 export_dynamic_flag_spec='-Bexport'
9788 sysv4*MP*)
9789 if test -d /usr/nec; then
9790 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9791 hardcode_shlibpath_var=no
9792 runpath_var=LD_RUN_PATH
9793 hardcode_runpath_var=yes
9794 ld_shlibs=yes
9798 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9799 no_undefined_flag='${wl}-z,text'
9800 archive_cmds_need_lc=no
9801 hardcode_shlibpath_var=no
9802 runpath_var='LD_RUN_PATH'
9804 if test "$GCC" = yes; then
9805 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9806 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9807 else
9808 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9809 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9813 sysv5* | sco3.2v5* | sco5v6*)
9814 # Note: We can NOT use -z defs as we might desire, because we do not
9815 # link with -lc, and that would cause any symbols used from libc to
9816 # always be unresolved, which means just about no library would
9817 # ever link correctly. If we're not using GNU ld we use -z text
9818 # though, which does catch some bad symbols but isn't as heavy-handed
9819 # as -z defs.
9820 no_undefined_flag='${wl}-z,text'
9821 allow_undefined_flag='${wl}-z,nodefs'
9822 archive_cmds_need_lc=no
9823 hardcode_shlibpath_var=no
9824 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9825 hardcode_libdir_separator=':'
9826 link_all_deplibs=yes
9827 export_dynamic_flag_spec='${wl}-Bexport'
9828 runpath_var='LD_RUN_PATH'
9830 if test "$GCC" = yes; then
9831 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9832 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9833 else
9834 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9835 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9839 uts4*)
9840 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9841 hardcode_libdir_flag_spec='-L$libdir'
9842 hardcode_shlibpath_var=no
9846 ld_shlibs=no
9848 esac
9850 if test x$host_vendor = xsni; then
9851 case $host in
9852 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9853 export_dynamic_flag_spec='${wl}-Blargedynsym'
9855 esac
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9860 $as_echo "$ld_shlibs" >&6; }
9861 test "$ld_shlibs" = no && can_build_shared=no
9863 with_gnu_ld=$with_gnu_ld
9880 # Do we need to explicitly link libc?
9882 case "x$archive_cmds_need_lc" in
9883 x|xyes)
9884 # Assume -lc should be added
9885 archive_cmds_need_lc=yes
9887 if test "$enable_shared" = yes && test "$GCC" = yes; then
9888 case $archive_cmds in
9889 *'~'*)
9890 # FIXME: we may have to deal with multi-command sequences.
9892 '$CC '*)
9893 # Test whether the compiler implicitly links with -lc since on some
9894 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9895 # to ld, don't add -lc before -lgcc.
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9897 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9898 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9899 $as_echo_n "(cached) " >&6
9900 else
9901 $RM conftest*
9902 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9904 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9905 (eval $ac_compile) 2>&5
9906 ac_status=$?
9907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9908 test $ac_status = 0; } 2>conftest.err; then
9909 soname=conftest
9910 lib=conftest
9911 libobjs=conftest.$ac_objext
9912 deplibs=
9913 wl=$lt_prog_compiler_wl
9914 pic_flag=$lt_prog_compiler_pic
9915 compiler_flags=-v
9916 linker_flags=-v
9917 verstring=
9918 output_objdir=.
9919 libname=conftest
9920 lt_save_allow_undefined_flag=$allow_undefined_flag
9921 allow_undefined_flag=
9922 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9923 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9924 ac_status=$?
9925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9926 test $ac_status = 0; }
9927 then
9928 lt_cv_archive_cmds_need_lc=no
9929 else
9930 lt_cv_archive_cmds_need_lc=yes
9932 allow_undefined_flag=$lt_save_allow_undefined_flag
9933 else
9934 cat conftest.err 1>&5
9936 $RM conftest*
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9940 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9941 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9943 esac
9946 esac
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10105 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10107 if test "$GCC" = yes; then
10108 case $host_os in
10109 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10110 *) lt_awk_arg="/^libraries:/" ;;
10111 esac
10112 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10113 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10114 # if the path contains ";" then we assume it to be the separator
10115 # otherwise default to the standard path separator (i.e. ":") - it is
10116 # assumed that no part of a normal pathname contains ";" but that should
10117 # okay in the real world where ";" in dirpaths is itself problematic.
10118 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10119 else
10120 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10122 # Ok, now we have the path, separated by spaces, we can step through it
10123 # and add multilib dir if necessary.
10124 lt_tmp_lt_search_path_spec=
10125 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10126 for lt_sys_path in $lt_search_path_spec; do
10127 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10128 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10129 else
10130 test -d "$lt_sys_path" && \
10131 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10133 done
10134 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10135 BEGIN {RS=" "; FS="/|\n";} {
10136 lt_foo="";
10137 lt_count=0;
10138 for (lt_i = NF; lt_i > 0; lt_i--) {
10139 if ($lt_i != "" && $lt_i != ".") {
10140 if ($lt_i == "..") {
10141 lt_count++;
10142 } else {
10143 if (lt_count == 0) {
10144 lt_foo="/" $lt_i lt_foo;
10145 } else {
10146 lt_count--;
10151 if (lt_foo != "") { lt_freq[lt_foo]++; }
10152 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10154 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10155 else
10156 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10158 library_names_spec=
10159 libname_spec='lib$name'
10160 soname_spec=
10161 shrext_cmds=".so"
10162 postinstall_cmds=
10163 postuninstall_cmds=
10164 finish_cmds=
10165 finish_eval=
10166 shlibpath_var=
10167 shlibpath_overrides_runpath=unknown
10168 version_type=none
10169 dynamic_linker="$host_os ld.so"
10170 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10171 need_lib_prefix=unknown
10172 hardcode_into_libs=no
10174 # when you set need_version to no, make sure it does not cause -set_version
10175 # flags to be left without arguments
10176 need_version=unknown
10178 case $host_os in
10179 aix3*)
10180 version_type=linux
10181 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10182 shlibpath_var=LIBPATH
10184 # AIX 3 has no versioning support, so we append a major version to the name.
10185 soname_spec='${libname}${release}${shared_ext}$major'
10188 aix[4-9]*)
10189 version_type=linux
10190 need_lib_prefix=no
10191 need_version=no
10192 hardcode_into_libs=yes
10193 if test "$host_cpu" = ia64; then
10194 # AIX 5 supports IA64
10195 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10196 shlibpath_var=LD_LIBRARY_PATH
10197 else
10198 # With GCC up to 2.95.x, collect2 would create an import file
10199 # for dependence libraries. The import file would start with
10200 # the line `#! .'. This would cause the generated library to
10201 # depend on `.', always an invalid library. This was fixed in
10202 # development snapshots of GCC prior to 3.0.
10203 case $host_os in
10204 aix4 | aix4.[01] | aix4.[01].*)
10205 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10206 echo ' yes '
10207 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10209 else
10210 can_build_shared=no
10213 esac
10214 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10215 # soname into executable. Probably we can add versioning support to
10216 # collect2, so additional links can be useful in future.
10217 if test "$aix_use_runtimelinking" = yes; then
10218 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10219 # instead of lib<name>.a to let people know that these are not
10220 # typical AIX shared libraries.
10221 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10222 else
10223 # We preserve .a as extension for shared libraries through AIX4.2
10224 # and later when we are not doing run time linking.
10225 library_names_spec='${libname}${release}.a $libname.a'
10226 soname_spec='${libname}${release}${shared_ext}$major'
10228 shlibpath_var=LIBPATH
10232 amigaos*)
10233 case $host_cpu in
10234 powerpc)
10235 # Since July 2007 AmigaOS4 officially supports .so libraries.
10236 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10239 m68k)
10240 library_names_spec='$libname.ixlibrary $libname.a'
10241 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10242 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
10244 esac
10247 beos*)
10248 library_names_spec='${libname}${shared_ext}'
10249 dynamic_linker="$host_os ld.so"
10250 shlibpath_var=LIBRARY_PATH
10253 bsdi[45]*)
10254 version_type=linux
10255 need_version=no
10256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10257 soname_spec='${libname}${release}${shared_ext}$major'
10258 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10259 shlibpath_var=LD_LIBRARY_PATH
10260 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10261 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10262 # the default ld.so.conf also contains /usr/contrib/lib and
10263 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10264 # libtool to hard-code these into programs
10267 cygwin* | mingw* | pw32* | cegcc*)
10268 version_type=windows
10269 shrext_cmds=".dll"
10270 need_version=no
10271 need_lib_prefix=no
10273 case $GCC,$host_os in
10274 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10275 library_names_spec='$libname.dll.a'
10276 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10277 postinstall_cmds='base_file=`basename \${file}`~
10278 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10279 dldir=$destdir/`dirname \$dlpath`~
10280 test -d \$dldir || mkdir -p \$dldir~
10281 $install_prog $dir/$dlname \$dldir/$dlname~
10282 chmod a+x \$dldir/$dlname~
10283 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10284 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10286 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10287 dlpath=$dir/\$dldll~
10288 $RM \$dlpath'
10289 shlibpath_overrides_runpath=yes
10291 case $host_os in
10292 cygwin*)
10293 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10294 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10295 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10297 mingw* | cegcc*)
10298 # MinGW DLLs use traditional 'lib' prefix
10299 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10300 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10301 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10302 # It is most probably a Windows format PATH printed by
10303 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10304 # path with ; separators, and with drive letters. We can handle the
10305 # drive letters (cygwin fileutils understands them), so leave them,
10306 # especially as we might pass files found there to a mingw objdump,
10307 # which wouldn't understand a cygwinified path. Ahh.
10308 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10309 else
10310 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10313 pw32*)
10314 # pw32 DLLs use 'pw' prefix rather than 'lib'
10315 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10317 esac
10321 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10323 esac
10324 dynamic_linker='Win32 ld.exe'
10325 # FIXME: first we should search . and the directory the executable is in
10326 shlibpath_var=PATH
10329 darwin* | rhapsody*)
10330 dynamic_linker="$host_os dyld"
10331 version_type=darwin
10332 need_lib_prefix=no
10333 need_version=no
10334 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10335 soname_spec='${libname}${release}${major}$shared_ext'
10336 shlibpath_overrides_runpath=yes
10337 shlibpath_var=DYLD_LIBRARY_PATH
10338 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10340 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10341 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10344 dgux*)
10345 version_type=linux
10346 need_lib_prefix=no
10347 need_version=no
10348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10349 soname_spec='${libname}${release}${shared_ext}$major'
10350 shlibpath_var=LD_LIBRARY_PATH
10353 freebsd1*)
10354 dynamic_linker=no
10357 freebsd* | dragonfly*)
10358 # DragonFly does not have aout. When/if they implement a new
10359 # versioning mechanism, adjust this.
10360 if test -x /usr/bin/objformat; then
10361 objformat=`/usr/bin/objformat`
10362 else
10363 case $host_os in
10364 freebsd[123]*) objformat=aout ;;
10365 *) objformat=elf ;;
10366 esac
10368 version_type=freebsd-$objformat
10369 case $version_type in
10370 freebsd-elf*)
10371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10372 need_version=no
10373 need_lib_prefix=no
10375 freebsd-*)
10376 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10377 need_version=yes
10379 esac
10380 shlibpath_var=LD_LIBRARY_PATH
10381 case $host_os in
10382 freebsd2*)
10383 shlibpath_overrides_runpath=yes
10385 freebsd3.[01]* | freebsdelf3.[01]*)
10386 shlibpath_overrides_runpath=yes
10387 hardcode_into_libs=yes
10389 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10390 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10391 shlibpath_overrides_runpath=no
10392 hardcode_into_libs=yes
10394 *) # from 4.6 on, and DragonFly
10395 shlibpath_overrides_runpath=yes
10396 hardcode_into_libs=yes
10398 esac
10401 gnu*)
10402 version_type=linux
10403 need_lib_prefix=no
10404 need_version=no
10405 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10406 soname_spec='${libname}${release}${shared_ext}$major'
10407 shlibpath_var=LD_LIBRARY_PATH
10408 hardcode_into_libs=yes
10411 hpux9* | hpux10* | hpux11*)
10412 # Give a soname corresponding to the major version so that dld.sl refuses to
10413 # link against other versions.
10414 version_type=sunos
10415 need_lib_prefix=no
10416 need_version=no
10417 case $host_cpu in
10418 ia64*)
10419 shrext_cmds='.so'
10420 hardcode_into_libs=yes
10421 dynamic_linker="$host_os dld.so"
10422 shlibpath_var=LD_LIBRARY_PATH
10423 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10424 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10425 soname_spec='${libname}${release}${shared_ext}$major'
10426 if test "X$HPUX_IA64_MODE" = X32; then
10427 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10428 else
10429 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10431 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10433 hppa*64*)
10434 shrext_cmds='.sl'
10435 hardcode_into_libs=yes
10436 dynamic_linker="$host_os dld.sl"
10437 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10438 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10440 soname_spec='${libname}${release}${shared_ext}$major'
10441 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10442 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10445 shrext_cmds='.sl'
10446 dynamic_linker="$host_os dld.sl"
10447 shlibpath_var=SHLIB_PATH
10448 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10450 soname_spec='${libname}${release}${shared_ext}$major'
10452 esac
10453 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10454 postinstall_cmds='chmod 555 $lib'
10457 interix[3-9]*)
10458 version_type=linux
10459 need_lib_prefix=no
10460 need_version=no
10461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10462 soname_spec='${libname}${release}${shared_ext}$major'
10463 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10464 shlibpath_var=LD_LIBRARY_PATH
10465 shlibpath_overrides_runpath=no
10466 hardcode_into_libs=yes
10469 irix5* | irix6* | nonstopux*)
10470 case $host_os in
10471 nonstopux*) version_type=nonstopux ;;
10473 if test "$lt_cv_prog_gnu_ld" = yes; then
10474 version_type=linux
10475 else
10476 version_type=irix
10477 fi ;;
10478 esac
10479 need_lib_prefix=no
10480 need_version=no
10481 soname_spec='${libname}${release}${shared_ext}$major'
10482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10483 case $host_os in
10484 irix5* | nonstopux*)
10485 libsuff= shlibsuff=
10488 case $LD in # libtool.m4 will add one of these switches to LD
10489 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10490 libsuff= shlibsuff= libmagic=32-bit;;
10491 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10492 libsuff=32 shlibsuff=N32 libmagic=N32;;
10493 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10494 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10495 *) libsuff= shlibsuff= libmagic=never-match;;
10496 esac
10498 esac
10499 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10500 shlibpath_overrides_runpath=no
10501 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10502 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10503 hardcode_into_libs=yes
10506 # No shared lib support for Linux oldld, aout, or coff.
10507 linux*oldld* | linux*aout* | linux*coff*)
10508 dynamic_linker=no
10511 # This must be Linux ELF.
10512 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10513 version_type=linux
10514 need_lib_prefix=no
10515 need_version=no
10516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10517 soname_spec='${libname}${release}${shared_ext}$major'
10518 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10519 shlibpath_var=LD_LIBRARY_PATH
10520 shlibpath_overrides_runpath=no
10522 # Some binutils ld are patched to set DT_RUNPATH
10523 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10524 $as_echo_n "(cached) " >&6
10525 else
10526 lt_cv_shlibpath_overrides_runpath=no
10527 save_LDFLAGS=$LDFLAGS
10528 save_libdir=$libdir
10529 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10530 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10531 if test x$gcc_no_link = xyes; then
10532 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10535 /* end confdefs.h. */
10538 main ()
10542 return 0;
10544 _ACEOF
10545 if ac_fn_c_try_link "$LINENO"; then :
10546 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10547 lt_cv_shlibpath_overrides_runpath=yes
10550 rm -f core conftest.err conftest.$ac_objext \
10551 conftest$ac_exeext conftest.$ac_ext
10552 LDFLAGS=$save_LDFLAGS
10553 libdir=$save_libdir
10557 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10559 # This implies no fast_install, which is unacceptable.
10560 # Some rework will be needed to allow for fast_install
10561 # before this can be enabled.
10562 hardcode_into_libs=yes
10564 # Append ld.so.conf contents to the search path
10565 if test -f /etc/ld.so.conf; then
10566 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;/^$/d' | tr '\n' ' '`
10567 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10570 # We used to test for /lib/ld.so.1 and disable shared libraries on
10571 # powerpc, because MkLinux only supported shared libraries with the
10572 # GNU dynamic linker. Since this was broken with cross compilers,
10573 # most powerpc-linux boxes support dynamic linking these days and
10574 # people can always --disable-shared, the test was removed, and we
10575 # assume the GNU/Linux dynamic linker is in use.
10576 dynamic_linker='GNU/Linux ld.so'
10579 netbsd*)
10580 version_type=sunos
10581 need_lib_prefix=no
10582 need_version=no
10583 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10585 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10586 dynamic_linker='NetBSD (a.out) ld.so'
10587 else
10588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10589 soname_spec='${libname}${release}${shared_ext}$major'
10590 dynamic_linker='NetBSD ld.elf_so'
10592 shlibpath_var=LD_LIBRARY_PATH
10593 shlibpath_overrides_runpath=yes
10594 hardcode_into_libs=yes
10597 newsos6)
10598 version_type=linux
10599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10600 shlibpath_var=LD_LIBRARY_PATH
10601 shlibpath_overrides_runpath=yes
10604 *nto* | *qnx*)
10605 version_type=qnx
10606 need_lib_prefix=no
10607 need_version=no
10608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10609 soname_spec='${libname}${release}${shared_ext}$major'
10610 shlibpath_var=LD_LIBRARY_PATH
10611 shlibpath_overrides_runpath=no
10612 hardcode_into_libs=yes
10613 dynamic_linker='ldqnx.so'
10616 openbsd*)
10617 version_type=sunos
10618 sys_lib_dlsearch_path_spec="/usr/lib"
10619 need_lib_prefix=no
10620 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10621 case $host_os in
10622 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10623 *) need_version=no ;;
10624 esac
10625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10626 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10627 shlibpath_var=LD_LIBRARY_PATH
10628 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10629 case $host_os in
10630 openbsd2.[89] | openbsd2.[89].*)
10631 shlibpath_overrides_runpath=no
10634 shlibpath_overrides_runpath=yes
10636 esac
10637 else
10638 shlibpath_overrides_runpath=yes
10642 os2*)
10643 libname_spec='$name'
10644 shrext_cmds=".dll"
10645 need_lib_prefix=no
10646 library_names_spec='$libname${shared_ext} $libname.a'
10647 dynamic_linker='OS/2 ld.exe'
10648 shlibpath_var=LIBPATH
10651 osf3* | osf4* | osf5*)
10652 version_type=osf
10653 need_lib_prefix=no
10654 need_version=no
10655 soname_spec='${libname}${release}${shared_ext}$major'
10656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10657 shlibpath_var=LD_LIBRARY_PATH
10658 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10659 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10662 rdos*)
10663 dynamic_linker=no
10666 solaris*)
10667 version_type=linux
10668 need_lib_prefix=no
10669 need_version=no
10670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10671 soname_spec='${libname}${release}${shared_ext}$major'
10672 shlibpath_var=LD_LIBRARY_PATH
10673 shlibpath_overrides_runpath=yes
10674 hardcode_into_libs=yes
10675 # ldd complains unless libraries are executable
10676 postinstall_cmds='chmod +x $lib'
10679 sunos4*)
10680 version_type=sunos
10681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10682 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10683 shlibpath_var=LD_LIBRARY_PATH
10684 shlibpath_overrides_runpath=yes
10685 if test "$with_gnu_ld" = yes; then
10686 need_lib_prefix=no
10688 need_version=yes
10691 sysv4 | sysv4.3*)
10692 version_type=linux
10693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10694 soname_spec='${libname}${release}${shared_ext}$major'
10695 shlibpath_var=LD_LIBRARY_PATH
10696 case $host_vendor in
10697 sni)
10698 shlibpath_overrides_runpath=no
10699 need_lib_prefix=no
10700 runpath_var=LD_RUN_PATH
10702 siemens)
10703 need_lib_prefix=no
10705 motorola)
10706 need_lib_prefix=no
10707 need_version=no
10708 shlibpath_overrides_runpath=no
10709 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10711 esac
10714 sysv4*MP*)
10715 if test -d /usr/nec ;then
10716 version_type=linux
10717 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10718 soname_spec='$libname${shared_ext}.$major'
10719 shlibpath_var=LD_LIBRARY_PATH
10723 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10724 version_type=freebsd-elf
10725 need_lib_prefix=no
10726 need_version=no
10727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10728 soname_spec='${libname}${release}${shared_ext}$major'
10729 shlibpath_var=LD_LIBRARY_PATH
10730 shlibpath_overrides_runpath=yes
10731 hardcode_into_libs=yes
10732 if test "$with_gnu_ld" = yes; then
10733 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10734 else
10735 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10736 case $host_os in
10737 sco3.2v5*)
10738 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10740 esac
10742 sys_lib_dlsearch_path_spec='/usr/lib'
10745 tpf*)
10746 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10747 version_type=linux
10748 need_lib_prefix=no
10749 need_version=no
10750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10751 shlibpath_var=LD_LIBRARY_PATH
10752 shlibpath_overrides_runpath=no
10753 hardcode_into_libs=yes
10756 uts4*)
10757 version_type=linux
10758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10759 soname_spec='${libname}${release}${shared_ext}$major'
10760 shlibpath_var=LD_LIBRARY_PATH
10764 dynamic_linker=no
10766 esac
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10768 $as_echo "$dynamic_linker" >&6; }
10769 test "$dynamic_linker" = no && can_build_shared=no
10771 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10772 if test "$GCC" = yes; then
10773 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10776 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10777 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10779 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10780 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10870 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10871 hardcode_action=
10872 if test -n "$hardcode_libdir_flag_spec" ||
10873 test -n "$runpath_var" ||
10874 test "X$hardcode_automatic" = "Xyes" ; then
10876 # We can hardcode non-existent directories.
10877 if test "$hardcode_direct" != no &&
10878 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10879 # have to relink, otherwise we might link with an installed library
10880 # when we should be linking with a yet-to-be-installed one
10881 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10882 test "$hardcode_minus_L" != no; then
10883 # Linking always hardcodes the temporary library directory.
10884 hardcode_action=relink
10885 else
10886 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10887 hardcode_action=immediate
10889 else
10890 # We cannot hardcode anything, or else we can only hardcode existing
10891 # directories.
10892 hardcode_action=unsupported
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10895 $as_echo "$hardcode_action" >&6; }
10897 if test "$hardcode_action" = relink ||
10898 test "$inherit_rpath" = yes; then
10899 # Fast installation is not supported
10900 enable_fast_install=no
10901 elif test "$shlibpath_overrides_runpath" = yes ||
10902 test "$enable_shared" = no; then
10903 # Fast installation is not necessary
10904 enable_fast_install=needless
10912 if test "x$enable_dlopen" != xyes; then
10913 enable_dlopen=unknown
10914 enable_dlopen_self=unknown
10915 enable_dlopen_self_static=unknown
10916 else
10917 lt_cv_dlopen=no
10918 lt_cv_dlopen_libs=
10920 case $host_os in
10921 beos*)
10922 lt_cv_dlopen="load_add_on"
10923 lt_cv_dlopen_libs=
10924 lt_cv_dlopen_self=yes
10927 mingw* | pw32* | cegcc*)
10928 lt_cv_dlopen="LoadLibrary"
10929 lt_cv_dlopen_libs=
10932 cygwin*)
10933 lt_cv_dlopen="dlopen"
10934 lt_cv_dlopen_libs=
10937 darwin*)
10938 # if libdl is installed we need to link against it
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10940 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10941 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10942 $as_echo_n "(cached) " >&6
10943 else
10944 ac_check_lib_save_LIBS=$LIBS
10945 LIBS="-ldl $LIBS"
10946 if test x$gcc_no_link = xyes; then
10947 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10950 /* end confdefs.h. */
10952 /* Override any GCC internal prototype to avoid an error.
10953 Use char because int might match the return type of a GCC
10954 builtin and then its argument prototype would still apply. */
10955 #ifdef __cplusplus
10956 extern "C"
10957 #endif
10958 char dlopen ();
10960 main ()
10962 return dlopen ();
10964 return 0;
10966 _ACEOF
10967 if ac_fn_c_try_link "$LINENO"; then :
10968 ac_cv_lib_dl_dlopen=yes
10969 else
10970 ac_cv_lib_dl_dlopen=no
10972 rm -f core conftest.err conftest.$ac_objext \
10973 conftest$ac_exeext conftest.$ac_ext
10974 LIBS=$ac_check_lib_save_LIBS
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10977 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10978 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10979 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10980 else
10982 lt_cv_dlopen="dyld"
10983 lt_cv_dlopen_libs=
10984 lt_cv_dlopen_self=yes
10991 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10992 if test "x$ac_cv_func_shl_load" = x""yes; then :
10993 lt_cv_dlopen="shl_load"
10994 else
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10996 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10997 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10998 $as_echo_n "(cached) " >&6
10999 else
11000 ac_check_lib_save_LIBS=$LIBS
11001 LIBS="-ldld $LIBS"
11002 if test x$gcc_no_link = xyes; then
11003 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11008 /* Override any GCC internal prototype to avoid an error.
11009 Use char because int might match the return type of a GCC
11010 builtin and then its argument prototype would still apply. */
11011 #ifdef __cplusplus
11012 extern "C"
11013 #endif
11014 char shl_load ();
11016 main ()
11018 return shl_load ();
11020 return 0;
11022 _ACEOF
11023 if ac_fn_c_try_link "$LINENO"; then :
11024 ac_cv_lib_dld_shl_load=yes
11025 else
11026 ac_cv_lib_dld_shl_load=no
11028 rm -f core conftest.err conftest.$ac_objext \
11029 conftest$ac_exeext conftest.$ac_ext
11030 LIBS=$ac_check_lib_save_LIBS
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11033 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11034 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11035 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11036 else
11037 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11038 if test "x$ac_cv_func_dlopen" = x""yes; then :
11039 lt_cv_dlopen="dlopen"
11040 else
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11042 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11043 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11044 $as_echo_n "(cached) " >&6
11045 else
11046 ac_check_lib_save_LIBS=$LIBS
11047 LIBS="-ldl $LIBS"
11048 if test x$gcc_no_link = xyes; then
11049 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11052 /* end confdefs.h. */
11054 /* Override any GCC internal prototype to avoid an error.
11055 Use char because int might match the return type of a GCC
11056 builtin and then its argument prototype would still apply. */
11057 #ifdef __cplusplus
11058 extern "C"
11059 #endif
11060 char dlopen ();
11062 main ()
11064 return dlopen ();
11066 return 0;
11068 _ACEOF
11069 if ac_fn_c_try_link "$LINENO"; then :
11070 ac_cv_lib_dl_dlopen=yes
11071 else
11072 ac_cv_lib_dl_dlopen=no
11074 rm -f core conftest.err conftest.$ac_objext \
11075 conftest$ac_exeext conftest.$ac_ext
11076 LIBS=$ac_check_lib_save_LIBS
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11079 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11080 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11081 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11082 else
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11084 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11085 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11086 $as_echo_n "(cached) " >&6
11087 else
11088 ac_check_lib_save_LIBS=$LIBS
11089 LIBS="-lsvld $LIBS"
11090 if test x$gcc_no_link = xyes; then
11091 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11094 /* end confdefs.h. */
11096 /* Override any GCC internal prototype to avoid an error.
11097 Use char because int might match the return type of a GCC
11098 builtin and then its argument prototype would still apply. */
11099 #ifdef __cplusplus
11100 extern "C"
11101 #endif
11102 char dlopen ();
11104 main ()
11106 return dlopen ();
11108 return 0;
11110 _ACEOF
11111 if ac_fn_c_try_link "$LINENO"; then :
11112 ac_cv_lib_svld_dlopen=yes
11113 else
11114 ac_cv_lib_svld_dlopen=no
11116 rm -f core conftest.err conftest.$ac_objext \
11117 conftest$ac_exeext conftest.$ac_ext
11118 LIBS=$ac_check_lib_save_LIBS
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11121 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11122 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11123 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11124 else
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11126 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11127 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11128 $as_echo_n "(cached) " >&6
11129 else
11130 ac_check_lib_save_LIBS=$LIBS
11131 LIBS="-ldld $LIBS"
11132 if test x$gcc_no_link = xyes; then
11133 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11138 /* Override any GCC internal prototype to avoid an error.
11139 Use char because int might match the return type of a GCC
11140 builtin and then its argument prototype would still apply. */
11141 #ifdef __cplusplus
11142 extern "C"
11143 #endif
11144 char dld_link ();
11146 main ()
11148 return dld_link ();
11150 return 0;
11152 _ACEOF
11153 if ac_fn_c_try_link "$LINENO"; then :
11154 ac_cv_lib_dld_dld_link=yes
11155 else
11156 ac_cv_lib_dld_dld_link=no
11158 rm -f core conftest.err conftest.$ac_objext \
11159 conftest$ac_exeext conftest.$ac_ext
11160 LIBS=$ac_check_lib_save_LIBS
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11163 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11164 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11165 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11184 esac
11186 if test "x$lt_cv_dlopen" != xno; then
11187 enable_dlopen=yes
11188 else
11189 enable_dlopen=no
11192 case $lt_cv_dlopen in
11193 dlopen)
11194 save_CPPFLAGS="$CPPFLAGS"
11195 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11197 save_LDFLAGS="$LDFLAGS"
11198 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11200 save_LIBS="$LIBS"
11201 LIBS="$lt_cv_dlopen_libs $LIBS"
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11204 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11205 if test "${lt_cv_dlopen_self+set}" = set; then :
11206 $as_echo_n "(cached) " >&6
11207 else
11208 if test "$cross_compiling" = yes; then :
11209 lt_cv_dlopen_self=cross
11210 else
11211 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11212 lt_status=$lt_dlunknown
11213 cat > conftest.$ac_ext <<_LT_EOF
11214 #line 11214 "configure"
11215 #include "confdefs.h"
11217 #if HAVE_DLFCN_H
11218 #include <dlfcn.h>
11219 #endif
11221 #include <stdio.h>
11223 #ifdef RTLD_GLOBAL
11224 # define LT_DLGLOBAL RTLD_GLOBAL
11225 #else
11226 # ifdef DL_GLOBAL
11227 # define LT_DLGLOBAL DL_GLOBAL
11228 # else
11229 # define LT_DLGLOBAL 0
11230 # endif
11231 #endif
11233 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11234 find out it does not work in some platform. */
11235 #ifndef LT_DLLAZY_OR_NOW
11236 # ifdef RTLD_LAZY
11237 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11238 # else
11239 # ifdef DL_LAZY
11240 # define LT_DLLAZY_OR_NOW DL_LAZY
11241 # else
11242 # ifdef RTLD_NOW
11243 # define LT_DLLAZY_OR_NOW RTLD_NOW
11244 # else
11245 # ifdef DL_NOW
11246 # define LT_DLLAZY_OR_NOW DL_NOW
11247 # else
11248 # define LT_DLLAZY_OR_NOW 0
11249 # endif
11250 # endif
11251 # endif
11252 # endif
11253 #endif
11255 void fnord() { int i=42;}
11256 int main ()
11258 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11259 int status = $lt_dlunknown;
11261 if (self)
11263 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11264 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11265 /* dlclose (self); */
11267 else
11268 puts (dlerror ());
11270 return status;
11272 _LT_EOF
11273 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11274 (eval $ac_link) 2>&5
11275 ac_status=$?
11276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11277 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11278 (./conftest; exit; ) >&5 2>/dev/null
11279 lt_status=$?
11280 case x$lt_status in
11281 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11282 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11283 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11284 esac
11285 else :
11286 # compilation failed
11287 lt_cv_dlopen_self=no
11290 rm -fr conftest*
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11295 $as_echo "$lt_cv_dlopen_self" >&6; }
11297 if test "x$lt_cv_dlopen_self" = xyes; then
11298 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11300 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11301 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11302 $as_echo_n "(cached) " >&6
11303 else
11304 if test "$cross_compiling" = yes; then :
11305 lt_cv_dlopen_self_static=cross
11306 else
11307 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11308 lt_status=$lt_dlunknown
11309 cat > conftest.$ac_ext <<_LT_EOF
11310 #line 11310 "configure"
11311 #include "confdefs.h"
11313 #if HAVE_DLFCN_H
11314 #include <dlfcn.h>
11315 #endif
11317 #include <stdio.h>
11319 #ifdef RTLD_GLOBAL
11320 # define LT_DLGLOBAL RTLD_GLOBAL
11321 #else
11322 # ifdef DL_GLOBAL
11323 # define LT_DLGLOBAL DL_GLOBAL
11324 # else
11325 # define LT_DLGLOBAL 0
11326 # endif
11327 #endif
11329 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11330 find out it does not work in some platform. */
11331 #ifndef LT_DLLAZY_OR_NOW
11332 # ifdef RTLD_LAZY
11333 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11334 # else
11335 # ifdef DL_LAZY
11336 # define LT_DLLAZY_OR_NOW DL_LAZY
11337 # else
11338 # ifdef RTLD_NOW
11339 # define LT_DLLAZY_OR_NOW RTLD_NOW
11340 # else
11341 # ifdef DL_NOW
11342 # define LT_DLLAZY_OR_NOW DL_NOW
11343 # else
11344 # define LT_DLLAZY_OR_NOW 0
11345 # endif
11346 # endif
11347 # endif
11348 # endif
11349 #endif
11351 void fnord() { int i=42;}
11352 int main ()
11354 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11355 int status = $lt_dlunknown;
11357 if (self)
11359 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11360 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11361 /* dlclose (self); */
11363 else
11364 puts (dlerror ());
11366 return status;
11368 _LT_EOF
11369 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11370 (eval $ac_link) 2>&5
11371 ac_status=$?
11372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11373 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11374 (./conftest; exit; ) >&5 2>/dev/null
11375 lt_status=$?
11376 case x$lt_status in
11377 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11378 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11379 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11380 esac
11381 else :
11382 # compilation failed
11383 lt_cv_dlopen_self_static=no
11386 rm -fr conftest*
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11391 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11394 CPPFLAGS="$save_CPPFLAGS"
11395 LDFLAGS="$save_LDFLAGS"
11396 LIBS="$save_LIBS"
11398 esac
11400 case $lt_cv_dlopen_self in
11401 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11402 *) enable_dlopen_self=unknown ;;
11403 esac
11405 case $lt_cv_dlopen_self_static in
11406 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11407 *) enable_dlopen_self_static=unknown ;;
11408 esac
11427 striplib=
11428 old_striplib=
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11430 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11431 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11432 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11433 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11435 $as_echo "yes" >&6; }
11436 else
11437 # FIXME - insert some real tests, host_os isn't really good enough
11438 case $host_os in
11439 darwin*)
11440 if test -n "$STRIP" ; then
11441 striplib="$STRIP -x"
11442 old_striplib="$STRIP -S"
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11444 $as_echo "yes" >&6; }
11445 else
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11447 $as_echo "no" >&6; }
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11452 $as_echo "no" >&6; }
11454 esac
11468 # Report which library types will actually be built
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11470 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11472 $as_echo "$can_build_shared" >&6; }
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11475 $as_echo_n "checking whether to build shared libraries... " >&6; }
11476 test "$can_build_shared" = "no" && enable_shared=no
11478 # On AIX, shared libraries and static libraries use the same namespace, and
11479 # are all built from PIC.
11480 case $host_os in
11481 aix3*)
11482 test "$enable_shared" = yes && enable_static=no
11483 if test -n "$RANLIB"; then
11484 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11485 postinstall_cmds='$RANLIB $lib'
11489 aix[4-9]*)
11490 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11491 test "$enable_shared" = yes && enable_static=no
11494 esac
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11496 $as_echo "$enable_shared" >&6; }
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11499 $as_echo_n "checking whether to build static libraries... " >&6; }
11500 # Make sure either enable_shared or enable_static is yes.
11501 test "$enable_shared" = yes || enable_static=yes
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11503 $as_echo "$enable_static" >&6; }
11509 ac_ext=c
11510 ac_cpp='$CPP $CPPFLAGS'
11511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11515 CC="$lt_save_CC"
11529 ac_config_commands="$ac_config_commands libtool"
11534 # Only expand once:
11539 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
11541 # We need gfortran to compile parts of the library
11542 #AC_PROG_FC(gfortran)
11543 FC="$GFORTRAN"
11544 ac_ext=${ac_fc_srcext-f}
11545 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11546 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11547 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11548 if test -n "$ac_tool_prefix"; then
11549 for ac_prog in gfortran
11551 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11552 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11554 $as_echo_n "checking for $ac_word... " >&6; }
11555 if test "${ac_cv_prog_FC+set}" = set; then :
11556 $as_echo_n "(cached) " >&6
11557 else
11558 if test -n "$FC"; then
11559 ac_cv_prog_FC="$FC" # Let the user override the test.
11560 else
11561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11562 for as_dir in $PATH
11564 IFS=$as_save_IFS
11565 test -z "$as_dir" && as_dir=.
11566 for ac_exec_ext in '' $ac_executable_extensions; do
11567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11568 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11570 break 2
11572 done
11573 done
11574 IFS=$as_save_IFS
11578 FC=$ac_cv_prog_FC
11579 if test -n "$FC"; then
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11581 $as_echo "$FC" >&6; }
11582 else
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11584 $as_echo "no" >&6; }
11588 test -n "$FC" && break
11589 done
11591 if test -z "$FC"; then
11592 ac_ct_FC=$FC
11593 for ac_prog in gfortran
11595 # Extract the first word of "$ac_prog", so it can be a program name with args.
11596 set dummy $ac_prog; ac_word=$2
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11598 $as_echo_n "checking for $ac_word... " >&6; }
11599 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11600 $as_echo_n "(cached) " >&6
11601 else
11602 if test -n "$ac_ct_FC"; then
11603 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11604 else
11605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11606 for as_dir in $PATH
11608 IFS=$as_save_IFS
11609 test -z "$as_dir" && as_dir=.
11610 for ac_exec_ext in '' $ac_executable_extensions; do
11611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11612 ac_cv_prog_ac_ct_FC="$ac_prog"
11613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11614 break 2
11616 done
11617 done
11618 IFS=$as_save_IFS
11622 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11623 if test -n "$ac_ct_FC"; then
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11625 $as_echo "$ac_ct_FC" >&6; }
11626 else
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11628 $as_echo "no" >&6; }
11632 test -n "$ac_ct_FC" && break
11633 done
11635 if test "x$ac_ct_FC" = x; then
11636 FC=""
11637 else
11638 case $cross_compiling:$ac_tool_warned in
11639 yes:)
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11642 ac_tool_warned=yes ;;
11643 esac
11644 FC=$ac_ct_FC
11649 # Provide some information about the compiler.
11650 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11651 set X $ac_compile
11652 ac_compiler=$2
11653 for ac_option in --version -v -V -qversion; do
11654 { { ac_try="$ac_compiler $ac_option >&5"
11655 case "(($ac_try" in
11656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11657 *) ac_try_echo=$ac_try;;
11658 esac
11659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11660 $as_echo "$ac_try_echo"; } >&5
11661 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11662 ac_status=$?
11663 if test -s conftest.err; then
11664 sed '10a\
11665 ... rest of stderr output deleted ...
11666 10q' conftest.err >conftest.er1
11667 cat conftest.er1 >&5
11668 rm -f conftest.er1 conftest.err
11670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11671 test $ac_status = 0; }
11672 done
11673 rm -f a.out
11675 # If we don't use `.F' as extension, the preprocessor is not run on the
11676 # input file. (Note that this only needs to work for GNU compilers.)
11677 ac_save_ext=$ac_ext
11678 ac_ext=F
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11680 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11681 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11682 $as_echo_n "(cached) " >&6
11683 else
11684 cat > conftest.$ac_ext <<_ACEOF
11685 program main
11686 #ifndef __GNUC__
11687 choke me
11688 #endif
11691 _ACEOF
11692 if ac_fn_fc_try_compile "$LINENO"; then :
11693 ac_compiler_gnu=yes
11694 else
11695 ac_compiler_gnu=no
11697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11698 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11702 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11703 ac_ext=$ac_save_ext
11704 ac_test_FCFLAGS=${FCFLAGS+set}
11705 ac_save_FCFLAGS=$FCFLAGS
11706 FCFLAGS=
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11708 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11709 if test "${ac_cv_prog_fc_g+set}" = set; then :
11710 $as_echo_n "(cached) " >&6
11711 else
11712 FCFLAGS=-g
11713 cat > conftest.$ac_ext <<_ACEOF
11714 program main
11717 _ACEOF
11718 if ac_fn_fc_try_compile "$LINENO"; then :
11719 ac_cv_prog_fc_g=yes
11720 else
11721 ac_cv_prog_fc_g=no
11723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11727 $as_echo "$ac_cv_prog_fc_g" >&6; }
11728 if test "$ac_test_FCFLAGS" = set; then
11729 FCFLAGS=$ac_save_FCFLAGS
11730 elif test $ac_cv_prog_fc_g = yes; then
11731 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11732 FCFLAGS="-g -O2"
11733 else
11734 FCFLAGS="-g"
11736 else
11737 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11738 FCFLAGS="-O2"
11739 else
11740 FCFLAGS=
11744 ac_ext=c
11745 ac_cpp='$CPP $CPPFLAGS'
11746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11751 ac_ext=${ac_fc_srcext-f}
11752 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11753 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11754 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11755 if test -n "$ac_tool_prefix"; then
11756 for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
11758 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11759 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11761 $as_echo_n "checking for $ac_word... " >&6; }
11762 if test "${ac_cv_prog_FC+set}" = set; then :
11763 $as_echo_n "(cached) " >&6
11764 else
11765 if test -n "$FC"; then
11766 ac_cv_prog_FC="$FC" # Let the user override the test.
11767 else
11768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11769 for as_dir in $PATH
11771 IFS=$as_save_IFS
11772 test -z "$as_dir" && as_dir=.
11773 for ac_exec_ext in '' $ac_executable_extensions; do
11774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11775 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11777 break 2
11779 done
11780 done
11781 IFS=$as_save_IFS
11785 FC=$ac_cv_prog_FC
11786 if test -n "$FC"; then
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11788 $as_echo "$FC" >&6; }
11789 else
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11791 $as_echo "no" >&6; }
11795 test -n "$FC" && break
11796 done
11798 if test -z "$FC"; then
11799 ac_ct_FC=$FC
11800 for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
11802 # Extract the first word of "$ac_prog", so it can be a program name with args.
11803 set dummy $ac_prog; ac_word=$2
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11805 $as_echo_n "checking for $ac_word... " >&6; }
11806 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11807 $as_echo_n "(cached) " >&6
11808 else
11809 if test -n "$ac_ct_FC"; then
11810 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11811 else
11812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11813 for as_dir in $PATH
11815 IFS=$as_save_IFS
11816 test -z "$as_dir" && as_dir=.
11817 for ac_exec_ext in '' $ac_executable_extensions; do
11818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11819 ac_cv_prog_ac_ct_FC="$ac_prog"
11820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11821 break 2
11823 done
11824 done
11825 IFS=$as_save_IFS
11829 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11830 if test -n "$ac_ct_FC"; then
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11832 $as_echo "$ac_ct_FC" >&6; }
11833 else
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11835 $as_echo "no" >&6; }
11839 test -n "$ac_ct_FC" && break
11840 done
11842 if test "x$ac_ct_FC" = x; then
11843 FC=""
11844 else
11845 case $cross_compiling:$ac_tool_warned in
11846 yes:)
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11849 ac_tool_warned=yes ;;
11850 esac
11851 FC=$ac_ct_FC
11856 # Provide some information about the compiler.
11857 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11858 set X $ac_compile
11859 ac_compiler=$2
11860 for ac_option in --version -v -V -qversion; do
11861 { { ac_try="$ac_compiler $ac_option >&5"
11862 case "(($ac_try" in
11863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11864 *) ac_try_echo=$ac_try;;
11865 esac
11866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11867 $as_echo "$ac_try_echo"; } >&5
11868 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11869 ac_status=$?
11870 if test -s conftest.err; then
11871 sed '10a\
11872 ... rest of stderr output deleted ...
11873 10q' conftest.err >conftest.er1
11874 cat conftest.er1 >&5
11875 rm -f conftest.er1 conftest.err
11877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11878 test $ac_status = 0; }
11879 done
11880 rm -f a.out
11882 # If we don't use `.F' as extension, the preprocessor is not run on the
11883 # input file. (Note that this only needs to work for GNU compilers.)
11884 ac_save_ext=$ac_ext
11885 ac_ext=F
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11887 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11888 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11889 $as_echo_n "(cached) " >&6
11890 else
11891 cat > conftest.$ac_ext <<_ACEOF
11892 program main
11893 #ifndef __GNUC__
11894 choke me
11895 #endif
11898 _ACEOF
11899 if ac_fn_fc_try_compile "$LINENO"; then :
11900 ac_compiler_gnu=yes
11901 else
11902 ac_compiler_gnu=no
11904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11905 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11909 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11910 ac_ext=$ac_save_ext
11911 ac_test_FCFLAGS=${FCFLAGS+set}
11912 ac_save_FCFLAGS=$FCFLAGS
11913 FCFLAGS=
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11915 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11916 if test "${ac_cv_prog_fc_g+set}" = set; then :
11917 $as_echo_n "(cached) " >&6
11918 else
11919 FCFLAGS=-g
11920 cat > conftest.$ac_ext <<_ACEOF
11921 program main
11924 _ACEOF
11925 if ac_fn_fc_try_compile "$LINENO"; then :
11926 ac_cv_prog_fc_g=yes
11927 else
11928 ac_cv_prog_fc_g=no
11930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11934 $as_echo "$ac_cv_prog_fc_g" >&6; }
11935 if test "$ac_test_FCFLAGS" = set; then
11936 FCFLAGS=$ac_save_FCFLAGS
11937 elif test $ac_cv_prog_fc_g = yes; then
11938 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11939 FCFLAGS="-g -O2"
11940 else
11941 FCFLAGS="-g"
11943 else
11944 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11945 FCFLAGS="-O2"
11946 else
11947 FCFLAGS=
11951 ac_ext=c
11952 ac_cpp='$CPP $CPPFLAGS'
11953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11957 if test -z "$FC" || test "X$FC" = "Xno"; then
11958 _lt_disable_FC=yes
11963 ac_ext=${ac_fc_srcext-f}
11964 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11965 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11966 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11969 archive_cmds_need_lc_FC=no
11970 allow_undefined_flag_FC=
11971 always_export_symbols_FC=no
11972 archive_expsym_cmds_FC=
11973 export_dynamic_flag_spec_FC=
11974 hardcode_direct_FC=no
11975 hardcode_direct_absolute_FC=no
11976 hardcode_libdir_flag_spec_FC=
11977 hardcode_libdir_flag_spec_ld_FC=
11978 hardcode_libdir_separator_FC=
11979 hardcode_minus_L_FC=no
11980 hardcode_automatic_FC=no
11981 inherit_rpath_FC=no
11982 module_cmds_FC=
11983 module_expsym_cmds_FC=
11984 link_all_deplibs_FC=unknown
11985 old_archive_cmds_FC=$old_archive_cmds
11986 no_undefined_flag_FC=
11987 whole_archive_flag_spec_FC=
11988 enable_shared_with_static_runtimes_FC=no
11990 # Source file extension for fc test sources.
11991 ac_ext=${ac_fc_srcext-f}
11993 # Object file extension for compiled fc test sources.
11994 objext=o
11995 objext_FC=$objext
11997 # No sense in running all these tests if we already determined that
11998 # the FC compiler isn't working. Some variables (like enable_shared)
11999 # are currently assumed to apply to all compilers on this platform,
12000 # and will be corrupted by setting them based on a non-working compiler.
12001 if test "$_lt_disable_FC" != yes; then
12002 # Code to be used in simple compile tests
12003 lt_simple_compile_test_code="\
12004 subroutine t
12005 return
12009 # Code to be used in simple link tests
12010 lt_simple_link_test_code="\
12011 program t
12015 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12022 # If no C compiler was specified, use CC.
12023 LTCC=${LTCC-"$CC"}
12025 # If no C compiler flags were specified, use CFLAGS.
12026 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12028 # Allow CC to be a program name with arguments.
12029 compiler=$CC
12032 # save warnings/boilerplate of simple test code
12033 ac_outfile=conftest.$ac_objext
12034 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12035 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12036 _lt_compiler_boilerplate=`cat conftest.err`
12037 $RM conftest*
12039 ac_outfile=conftest.$ac_objext
12040 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12041 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12042 _lt_linker_boilerplate=`cat conftest.err`
12043 $RM -r conftest*
12046 # Allow CC to be a program name with arguments.
12047 lt_save_CC="$CC"
12048 lt_save_GCC=$GCC
12049 CC=${FC-"f95"}
12050 compiler=$CC
12051 GCC=$ac_cv_fc_compiler_gnu
12053 compiler_FC=$CC
12054 for cc_temp in $compiler""; do
12055 case $cc_temp in
12056 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12057 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12058 \-*) ;;
12059 *) break;;
12060 esac
12061 done
12062 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12065 if test -n "$compiler"; then
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12067 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12069 $as_echo "$can_build_shared" >&6; }
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12072 $as_echo_n "checking whether to build shared libraries... " >&6; }
12073 test "$can_build_shared" = "no" && enable_shared=no
12075 # On AIX, shared libraries and static libraries use the same namespace, and
12076 # are all built from PIC.
12077 case $host_os in
12078 aix3*)
12079 test "$enable_shared" = yes && enable_static=no
12080 if test -n "$RANLIB"; then
12081 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12082 postinstall_cmds='$RANLIB $lib'
12085 aix[4-9]*)
12086 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12087 test "$enable_shared" = yes && enable_static=no
12090 esac
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12092 $as_echo "$enable_shared" >&6; }
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12095 $as_echo_n "checking whether to build static libraries... " >&6; }
12096 # Make sure either enable_shared or enable_static is yes.
12097 test "$enable_shared" = yes || enable_static=yes
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12099 $as_echo "$enable_static" >&6; }
12101 GCC_FC="$ac_cv_fc_compiler_gnu"
12102 LD_FC="$LD"
12104 ## CAVEAT EMPTOR:
12105 ## There is no encapsulation within the following macros, do not change
12106 ## the running order or otherwise move them around unless you know exactly
12107 ## what you are doing...
12108 # Dependencies to place before and after the object being linked:
12109 predep_objects_FC=
12110 postdep_objects_FC=
12111 predeps_FC=
12112 postdeps_FC=
12113 compiler_lib_search_path_FC=
12115 cat > conftest.$ac_ext <<_LT_EOF
12116 subroutine foo
12117 implicit none
12118 integer a
12120 return
12122 _LT_EOF
12124 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12125 (eval $ac_compile) 2>&5
12126 ac_status=$?
12127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12128 test $ac_status = 0; }; then
12129 # Parse the compiler output and extract the necessary
12130 # objects, libraries and library flags.
12132 # Sentinel used to keep track of whether or not we are before
12133 # the conftest object file.
12134 pre_test_object_deps_done=no
12136 for p in `eval "$output_verbose_link_cmd"`; do
12137 case $p in
12139 -L* | -R* | -l*)
12140 # Some compilers place space between "-{L,R}" and the path.
12141 # Remove the space.
12142 if test $p = "-L" ||
12143 test $p = "-R"; then
12144 prev=$p
12145 continue
12146 else
12147 prev=
12150 if test "$pre_test_object_deps_done" = no; then
12151 case $p in
12152 -L* | -R*)
12153 # Internal compiler library paths should come after those
12154 # provided the user. The postdeps already come after the
12155 # user supplied libs so there is no need to process them.
12156 if test -z "$compiler_lib_search_path_FC"; then
12157 compiler_lib_search_path_FC="${prev}${p}"
12158 else
12159 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
12162 # The "-l" case would never come before the object being
12163 # linked, so don't bother handling this case.
12164 esac
12165 else
12166 if test -z "$postdeps_FC"; then
12167 postdeps_FC="${prev}${p}"
12168 else
12169 postdeps_FC="${postdeps_FC} ${prev}${p}"
12174 *.$objext)
12175 # This assumes that the test object file only shows up
12176 # once in the compiler output.
12177 if test "$p" = "conftest.$objext"; then
12178 pre_test_object_deps_done=yes
12179 continue
12182 if test "$pre_test_object_deps_done" = no; then
12183 if test -z "$predep_objects_FC"; then
12184 predep_objects_FC="$p"
12185 else
12186 predep_objects_FC="$predep_objects_FC $p"
12188 else
12189 if test -z "$postdep_objects_FC"; then
12190 postdep_objects_FC="$p"
12191 else
12192 postdep_objects_FC="$postdep_objects_FC $p"
12197 *) ;; # Ignore the rest.
12199 esac
12200 done
12202 # Clean up.
12203 rm -f a.out a.exe
12204 else
12205 echo "libtool.m4: error: problem compiling FC test program"
12208 $RM -f confest.$objext
12210 # PORTME: override above test on systems where it is broken
12213 case " $postdeps_FC " in
12214 *" -lc "*) archive_cmds_need_lc_FC=no ;;
12215 esac
12216 compiler_lib_search_dirs_FC=
12217 if test -n "${compiler_lib_search_path_FC}"; then
12218 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12251 lt_prog_compiler_wl_FC=
12252 lt_prog_compiler_pic_FC=
12253 lt_prog_compiler_static_FC=
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12256 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12258 if test "$GCC" = yes; then
12259 lt_prog_compiler_wl_FC='-Wl,'
12260 lt_prog_compiler_static_FC='-static'
12262 case $host_os in
12263 aix*)
12264 # All AIX code is PIC.
12265 if test "$host_cpu" = ia64; then
12266 # AIX 5 now supports IA64 processor
12267 lt_prog_compiler_static_FC='-Bstatic'
12271 amigaos*)
12272 case $host_cpu in
12273 powerpc)
12274 # see comment about AmigaOS4 .so support
12275 lt_prog_compiler_pic_FC='-fPIC'
12277 m68k)
12278 # FIXME: we need at least 68020 code to build shared libraries, but
12279 # adding the `-m68020' flag to GCC prevents building anything better,
12280 # like `-m68040'.
12281 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
12283 esac
12286 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12287 # PIC is the default for these OSes.
12290 mingw* | cygwin* | pw32* | os2* | cegcc*)
12291 # This hack is so that the source file can tell whether it is being
12292 # built for inclusion in a dll (and should export symbols for example).
12293 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12294 # (--disable-auto-import) libraries
12295 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12298 darwin* | rhapsody*)
12299 # PIC is the default on this platform
12300 # Common symbols not allowed in MH_DYLIB files
12301 lt_prog_compiler_pic_FC='-fno-common'
12304 hpux*)
12305 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12306 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12307 # sets the default TLS model and affects inlining.
12308 case $host_cpu in
12309 hppa*64*)
12310 # +Z the default
12313 lt_prog_compiler_pic_FC='-fPIC'
12315 esac
12318 interix[3-9]*)
12319 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12320 # Instead, we relocate shared libraries at runtime.
12323 msdosdjgpp*)
12324 # Just because we use GCC doesn't mean we suddenly get shared libraries
12325 # on systems that don't support them.
12326 lt_prog_compiler_can_build_shared_FC=no
12327 enable_shared=no
12330 *nto* | *qnx*)
12331 # QNX uses GNU C++, but need to define -shared option too, otherwise
12332 # it will coredump.
12333 lt_prog_compiler_pic_FC='-fPIC -shared'
12336 sysv4*MP*)
12337 if test -d /usr/nec; then
12338 lt_prog_compiler_pic_FC=-Kconform_pic
12343 lt_prog_compiler_pic_FC='-fPIC'
12345 esac
12346 else
12347 # PORTME Check for flag to pass linker flags through the system compiler.
12348 case $host_os in
12349 aix*)
12350 lt_prog_compiler_wl_FC='-Wl,'
12351 if test "$host_cpu" = ia64; then
12352 # AIX 5 now supports IA64 processor
12353 lt_prog_compiler_static_FC='-Bstatic'
12354 else
12355 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
12359 mingw* | cygwin* | pw32* | os2* | cegcc*)
12360 # This hack is so that the source file can tell whether it is being
12361 # built for inclusion in a dll (and should export symbols for example).
12362 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12365 hpux9* | hpux10* | hpux11*)
12366 lt_prog_compiler_wl_FC='-Wl,'
12367 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12368 # not for PA HP-UX.
12369 case $host_cpu in
12370 hppa*64*|ia64*)
12371 # +Z the default
12374 lt_prog_compiler_pic_FC='+Z'
12376 esac
12377 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12378 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
12381 irix5* | irix6* | nonstopux*)
12382 lt_prog_compiler_wl_FC='-Wl,'
12383 # PIC (with -KPIC) is the default.
12384 lt_prog_compiler_static_FC='-non_shared'
12387 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12388 case $cc_basename in
12389 # old Intel for x86_64 which still supported -KPIC.
12390 ecc*)
12391 lt_prog_compiler_wl_FC='-Wl,'
12392 lt_prog_compiler_pic_FC='-KPIC'
12393 lt_prog_compiler_static_FC='-static'
12395 # icc used to be incompatible with GCC.
12396 # ICC 10 doesn't accept -KPIC any more.
12397 icc* | ifort*)
12398 lt_prog_compiler_wl_FC='-Wl,'
12399 lt_prog_compiler_pic_FC='-fPIC'
12400 lt_prog_compiler_static_FC='-static'
12402 # Lahey Fortran 8.1.
12403 lf95*)
12404 lt_prog_compiler_wl_FC='-Wl,'
12405 lt_prog_compiler_pic_FC='--shared'
12406 lt_prog_compiler_static_FC='--static'
12408 pgcc* | pgf77* | pgf90* | pgf95*)
12409 # Portland Group compilers (*not* the Pentium gcc compiler,
12410 # which looks to be a dead project)
12411 lt_prog_compiler_wl_FC='-Wl,'
12412 lt_prog_compiler_pic_FC='-fpic'
12413 lt_prog_compiler_static_FC='-Bstatic'
12415 ccc*)
12416 lt_prog_compiler_wl_FC='-Wl,'
12417 # All Alpha code is PIC.
12418 lt_prog_compiler_static_FC='-non_shared'
12420 xl*)
12421 # IBM XL C 8.0/Fortran 10.1 on PPC
12422 lt_prog_compiler_wl_FC='-Wl,'
12423 lt_prog_compiler_pic_FC='-qpic'
12424 lt_prog_compiler_static_FC='-qstaticlink'
12427 case `$CC -V 2>&1 | sed 5q` in
12428 *Sun\ C*)
12429 # Sun C 5.9
12430 lt_prog_compiler_pic_FC='-KPIC'
12431 lt_prog_compiler_static_FC='-Bstatic'
12432 lt_prog_compiler_wl_FC='-Wl,'
12434 *Sun\ F*)
12435 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12436 lt_prog_compiler_pic_FC='-KPIC'
12437 lt_prog_compiler_static_FC='-Bstatic'
12438 lt_prog_compiler_wl_FC=''
12440 esac
12442 esac
12445 newsos6)
12446 lt_prog_compiler_pic_FC='-KPIC'
12447 lt_prog_compiler_static_FC='-Bstatic'
12450 *nto* | *qnx*)
12451 # QNX uses GNU C++, but need to define -shared option too, otherwise
12452 # it will coredump.
12453 lt_prog_compiler_pic_FC='-fPIC -shared'
12456 osf3* | osf4* | osf5*)
12457 lt_prog_compiler_wl_FC='-Wl,'
12458 # All OSF/1 code is PIC.
12459 lt_prog_compiler_static_FC='-non_shared'
12462 rdos*)
12463 lt_prog_compiler_static_FC='-non_shared'
12466 solaris*)
12467 lt_prog_compiler_pic_FC='-KPIC'
12468 lt_prog_compiler_static_FC='-Bstatic'
12469 case $cc_basename in
12470 f77* | f90* | f95*)
12471 lt_prog_compiler_wl_FC='-Qoption ld ';;
12473 lt_prog_compiler_wl_FC='-Wl,';;
12474 esac
12477 sunos4*)
12478 lt_prog_compiler_wl_FC='-Qoption ld '
12479 lt_prog_compiler_pic_FC='-PIC'
12480 lt_prog_compiler_static_FC='-Bstatic'
12483 sysv4 | sysv4.2uw2* | sysv4.3*)
12484 lt_prog_compiler_wl_FC='-Wl,'
12485 lt_prog_compiler_pic_FC='-KPIC'
12486 lt_prog_compiler_static_FC='-Bstatic'
12489 sysv4*MP*)
12490 if test -d /usr/nec ;then
12491 lt_prog_compiler_pic_FC='-Kconform_pic'
12492 lt_prog_compiler_static_FC='-Bstatic'
12496 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12497 lt_prog_compiler_wl_FC='-Wl,'
12498 lt_prog_compiler_pic_FC='-KPIC'
12499 lt_prog_compiler_static_FC='-Bstatic'
12502 unicos*)
12503 lt_prog_compiler_wl_FC='-Wl,'
12504 lt_prog_compiler_can_build_shared_FC=no
12507 uts4*)
12508 lt_prog_compiler_pic_FC='-pic'
12509 lt_prog_compiler_static_FC='-Bstatic'
12513 lt_prog_compiler_can_build_shared_FC=no
12515 esac
12518 case $host_os in
12519 # For platforms which do not support PIC, -DPIC is meaningless:
12520 *djgpp*)
12521 lt_prog_compiler_pic_FC=
12524 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
12526 esac
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12528 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12533 # Check to make sure the PIC flag actually works.
12535 if test -n "$lt_prog_compiler_pic_FC"; then
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12537 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12538 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
12539 $as_echo_n "(cached) " >&6
12540 else
12541 lt_cv_prog_compiler_pic_works_FC=no
12542 ac_outfile=conftest.$ac_objext
12543 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12544 lt_compiler_flag="$lt_prog_compiler_pic_FC"
12545 # Insert the option either (1) after the last *FLAGS variable, or
12546 # (2) before a word containing "conftest.", or (3) at the end.
12547 # Note that $ac_compile itself does not contain backslashes and begins
12548 # with a dollar sign (not a hyphen), so the echo should work correctly.
12549 # The option is referenced via a variable to avoid confusing sed.
12550 lt_compile=`echo "$ac_compile" | $SED \
12551 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12552 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12553 -e 's:$: $lt_compiler_flag:'`
12554 (eval echo "\"\$as_me:12554: $lt_compile\"" >&5)
12555 (eval "$lt_compile" 2>conftest.err)
12556 ac_status=$?
12557 cat conftest.err >&5
12558 echo "$as_me:12558: \$? = $ac_status" >&5
12559 if (exit $ac_status) && test -s "$ac_outfile"; then
12560 # The compiler can only warn and ignore the option if not recognized
12561 # So say no if there are warnings other than the usual output.
12562 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12563 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12564 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12565 lt_cv_prog_compiler_pic_works_FC=yes
12568 $RM conftest*
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12572 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12574 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
12575 case $lt_prog_compiler_pic_FC in
12576 "" | " "*) ;;
12577 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
12578 esac
12579 else
12580 lt_prog_compiler_pic_FC=
12581 lt_prog_compiler_can_build_shared_FC=no
12589 # Check to make sure the static flag actually works.
12591 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12593 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12594 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
12595 $as_echo_n "(cached) " >&6
12596 else
12597 lt_cv_prog_compiler_static_works_FC=no
12598 save_LDFLAGS="$LDFLAGS"
12599 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12600 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12601 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12602 # The linker can only warn and ignore the option if not recognized
12603 # So say no if there are warnings
12604 if test -s conftest.err; then
12605 # Append any errors to the config.log.
12606 cat conftest.err 1>&5
12607 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12608 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12609 if diff conftest.exp conftest.er2 >/dev/null; then
12610 lt_cv_prog_compiler_static_works_FC=yes
12612 else
12613 lt_cv_prog_compiler_static_works_FC=yes
12616 $RM -r conftest*
12617 LDFLAGS="$save_LDFLAGS"
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12621 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12623 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
12625 else
12626 lt_prog_compiler_static_FC=
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12633 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12634 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12635 $as_echo_n "(cached) " >&6
12636 else
12637 lt_cv_prog_compiler_c_o_FC=no
12638 $RM -r conftest 2>/dev/null
12639 mkdir conftest
12640 cd conftest
12641 mkdir out
12642 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12644 lt_compiler_flag="-o out/conftest2.$ac_objext"
12645 # Insert the option either (1) after the last *FLAGS variable, or
12646 # (2) before a word containing "conftest.", or (3) at the end.
12647 # Note that $ac_compile itself does not contain backslashes and begins
12648 # with a dollar sign (not a hyphen), so the echo should work correctly.
12649 lt_compile=`echo "$ac_compile" | $SED \
12650 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12651 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12652 -e 's:$: $lt_compiler_flag:'`
12653 (eval echo "\"\$as_me:12653: $lt_compile\"" >&5)
12654 (eval "$lt_compile" 2>out/conftest.err)
12655 ac_status=$?
12656 cat out/conftest.err >&5
12657 echo "$as_me:12657: \$? = $ac_status" >&5
12658 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12659 then
12660 # The compiler can only warn and ignore the option if not recognized
12661 # So say no if there are warnings
12662 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12663 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12664 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12665 lt_cv_prog_compiler_c_o_FC=yes
12668 chmod u+w . 2>&5
12669 $RM conftest*
12670 # SGI C++ compiler will create directory out/ii_files/ for
12671 # template instantiation
12672 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12673 $RM out/* && rmdir out
12674 cd ..
12675 $RM -r conftest
12676 $RM conftest*
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12680 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12685 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12686 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12687 $as_echo_n "(cached) " >&6
12688 else
12689 lt_cv_prog_compiler_c_o_FC=no
12690 $RM -r conftest 2>/dev/null
12691 mkdir conftest
12692 cd conftest
12693 mkdir out
12694 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12696 lt_compiler_flag="-o out/conftest2.$ac_objext"
12697 # Insert the option either (1) after the last *FLAGS variable, or
12698 # (2) before a word containing "conftest.", or (3) at the end.
12699 # Note that $ac_compile itself does not contain backslashes and begins
12700 # with a dollar sign (not a hyphen), so the echo should work correctly.
12701 lt_compile=`echo "$ac_compile" | $SED \
12702 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12703 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12704 -e 's:$: $lt_compiler_flag:'`
12705 (eval echo "\"\$as_me:12705: $lt_compile\"" >&5)
12706 (eval "$lt_compile" 2>out/conftest.err)
12707 ac_status=$?
12708 cat out/conftest.err >&5
12709 echo "$as_me:12709: \$? = $ac_status" >&5
12710 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12711 then
12712 # The compiler can only warn and ignore the option if not recognized
12713 # So say no if there are warnings
12714 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12715 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12716 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12717 lt_cv_prog_compiler_c_o_FC=yes
12720 chmod u+w . 2>&5
12721 $RM conftest*
12722 # SGI C++ compiler will create directory out/ii_files/ for
12723 # template instantiation
12724 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12725 $RM out/* && rmdir out
12726 cd ..
12727 $RM -r conftest
12728 $RM conftest*
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12732 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12737 hard_links="nottested"
12738 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
12739 # do not overwrite the value of need_locks provided by the user
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12741 $as_echo_n "checking if we can lock with hard links... " >&6; }
12742 hard_links=yes
12743 $RM conftest*
12744 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12745 touch conftest.a
12746 ln conftest.a conftest.b 2>&5 || hard_links=no
12747 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12749 $as_echo "$hard_links" >&6; }
12750 if test "$hard_links" = no; then
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12752 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12753 need_locks=warn
12755 else
12756 need_locks=no
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12762 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12764 runpath_var=
12765 allow_undefined_flag_FC=
12766 always_export_symbols_FC=no
12767 archive_cmds_FC=
12768 archive_expsym_cmds_FC=
12769 compiler_needs_object_FC=no
12770 enable_shared_with_static_runtimes_FC=no
12771 export_dynamic_flag_spec_FC=
12772 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12773 hardcode_automatic_FC=no
12774 hardcode_direct_FC=no
12775 hardcode_direct_absolute_FC=no
12776 hardcode_libdir_flag_spec_FC=
12777 hardcode_libdir_flag_spec_ld_FC=
12778 hardcode_libdir_separator_FC=
12779 hardcode_minus_L_FC=no
12780 hardcode_shlibpath_var_FC=unsupported
12781 inherit_rpath_FC=no
12782 link_all_deplibs_FC=unknown
12783 module_cmds_FC=
12784 module_expsym_cmds_FC=
12785 old_archive_from_new_cmds_FC=
12786 old_archive_from_expsyms_cmds_FC=
12787 thread_safe_flag_spec_FC=
12788 whole_archive_flag_spec_FC=
12789 # include_expsyms should be a list of space-separated symbols to be *always*
12790 # included in the symbol list
12791 include_expsyms_FC=
12792 # exclude_expsyms can be an extended regexp of symbols to exclude
12793 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12794 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12795 # as well as any symbol that contains `d'.
12796 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12797 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12798 # platforms (ab)use it in PIC code, but their linkers get confused if
12799 # the symbol is explicitly referenced. Since portable code cannot
12800 # rely on this symbol name, it's probably fine to never include it in
12801 # preloaded symbol tables.
12802 # Exclude shared library initialization/finalization symbols.
12803 extract_expsyms_cmds=
12805 case $host_os in
12806 cygwin* | mingw* | pw32* | cegcc*)
12807 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12808 # When not using gcc, we currently assume that we are using
12809 # Microsoft Visual C++.
12810 if test "$GCC" != yes; then
12811 with_gnu_ld=no
12814 interix*)
12815 # we just hope/assume this is gcc and not c89 (= MSVC++)
12816 with_gnu_ld=yes
12818 openbsd*)
12819 with_gnu_ld=no
12821 esac
12823 ld_shlibs_FC=yes
12824 if test "$with_gnu_ld" = yes; then
12825 # If archive_cmds runs LD, not CC, wlarc should be empty
12826 wlarc='${wl}'
12828 # Set some defaults for GNU ld with shared library support. These
12829 # are reset later if shared libraries are not supported. Putting them
12830 # here allows them to be overridden if necessary.
12831 runpath_var=LD_RUN_PATH
12832 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12833 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
12834 # ancient GNU ld didn't support --whole-archive et. al.
12835 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12836 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12837 else
12838 whole_archive_flag_spec_FC=
12840 supports_anon_versioning=no
12841 case `$LD -v 2>&1` in
12842 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12843 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12844 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12845 *\ 2.11.*) ;; # other 2.11 versions
12846 *) supports_anon_versioning=yes ;;
12847 esac
12849 # See if GNU ld supports shared libraries.
12850 case $host_os in
12851 aix[3-9]*)
12852 # On AIX/PPC, the GNU linker is very broken
12853 if test "$host_cpu" != ia64; then
12854 ld_shlibs_FC=no
12855 cat <<_LT_EOF 1>&2
12857 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
12858 *** to be unable to reliably create shared libraries on AIX.
12859 *** Therefore, libtool is disabling shared libraries support. If you
12860 *** really care for shared libraries, you may want to modify your PATH
12861 *** so that a non-GNU linker is found, and then restart.
12863 _LT_EOF
12867 amigaos*)
12868 case $host_cpu in
12869 powerpc)
12870 # see comment about AmigaOS4 .so support
12871 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12872 archive_expsym_cmds_FC=''
12874 m68k)
12875 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)'
12876 hardcode_libdir_flag_spec_FC='-L$libdir'
12877 hardcode_minus_L_FC=yes
12879 esac
12882 beos*)
12883 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12884 allow_undefined_flag_FC=unsupported
12885 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12886 # support --undefined. This deserves some investigation. FIXME
12887 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12888 else
12889 ld_shlibs_FC=no
12893 cygwin* | mingw* | pw32* | cegcc*)
12894 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12895 # as there is no search path for DLLs.
12896 hardcode_libdir_flag_spec_FC='-L$libdir'
12897 allow_undefined_flag_FC=unsupported
12898 always_export_symbols_FC=no
12899 enable_shared_with_static_runtimes_FC=yes
12900 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12902 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12903 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12904 # If the export-symbols file already is a .def file (1st line
12905 # is EXPORTS), use it as is; otherwise, prepend...
12906 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12907 cp $export_symbols $output_objdir/$soname.def;
12908 else
12909 echo EXPORTS > $output_objdir/$soname.def;
12910 cat $export_symbols >> $output_objdir/$soname.def;
12912 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12913 else
12914 ld_shlibs_FC=no
12918 interix[3-9]*)
12919 hardcode_direct_FC=no
12920 hardcode_shlibpath_var_FC=no
12921 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12922 export_dynamic_flag_spec_FC='${wl}-E'
12923 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12924 # Instead, shared libraries are loaded at an image base (0x10000000 by
12925 # default) and relocated if they conflict, which is a slow very memory
12926 # consuming and fragmenting process. To avoid this, we pick a random,
12927 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12928 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12929 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'
12930 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'
12933 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12934 tmp_diet=no
12935 if test "$host_os" = linux-dietlibc; then
12936 case $cc_basename in
12937 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12938 esac
12940 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12941 && test "$tmp_diet" = no
12942 then
12943 tmp_addflag=
12944 tmp_sharedflag='-shared'
12945 case $cc_basename,$host_cpu in
12946 pgcc*) # Portland Group C compiler
12947 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12948 tmp_addflag=' $pic_flag'
12950 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
12951 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12952 tmp_addflag=' $pic_flag -Mnomain' ;;
12953 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12954 tmp_addflag=' -i_dynamic' ;;
12955 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12956 tmp_addflag=' -i_dynamic -nofor_main' ;;
12957 ifc* | ifort*) # Intel Fortran compiler
12958 tmp_addflag=' -nofor_main' ;;
12959 lf95*) # Lahey Fortran 8.1
12960 whole_archive_flag_spec_FC=
12961 tmp_sharedflag='--shared' ;;
12962 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12963 tmp_sharedflag='-qmkshrobj'
12964 tmp_addflag= ;;
12965 esac
12966 case `$CC -V 2>&1 | sed 5q` in
12967 *Sun\ C*) # Sun C 5.9
12968 whole_archive_flag_spec_FC='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12969 compiler_needs_object_FC=yes
12970 tmp_sharedflag='-G' ;;
12971 *Sun\ F*) # Sun Fortran 8.3
12972 tmp_sharedflag='-G' ;;
12973 esac
12974 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12976 if test "x$supports_anon_versioning" = xyes; then
12977 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12978 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12979 echo "local: *; };" >> $output_objdir/$libname.ver~
12980 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12983 case $cc_basename in
12984 xlf*)
12985 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12986 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
12987 hardcode_libdir_flag_spec_FC=
12988 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
12989 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12990 if test "x$supports_anon_versioning" = xyes; then
12991 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12992 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12993 echo "local: *; };" >> $output_objdir/$libname.ver~
12994 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12997 esac
12998 else
12999 ld_shlibs_FC=no
13003 netbsd*)
13004 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13005 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13006 wlarc=
13007 else
13008 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13009 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13013 solaris*)
13014 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
13015 ld_shlibs_FC=no
13016 cat <<_LT_EOF 1>&2
13018 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13019 *** create shared libraries on Solaris systems. Therefore, libtool
13020 *** is disabling shared libraries support. We urge you to upgrade GNU
13021 *** binutils to release 2.9.1 or newer. Another option is to modify
13022 *** your PATH or compiler configuration so that the native linker is
13023 *** used, and then restart.
13025 _LT_EOF
13026 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13027 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13028 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13029 else
13030 ld_shlibs_FC=no
13034 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13035 case `$LD -v 2>&1` in
13036 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13037 ld_shlibs_FC=no
13038 cat <<_LT_EOF 1>&2
13040 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13041 *** reliably create shared libraries on SCO systems. Therefore, libtool
13042 *** is disabling shared libraries support. We urge you to upgrade GNU
13043 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13044 *** your PATH or compiler configuration so that the native linker is
13045 *** used, and then restart.
13047 _LT_EOF
13050 # For security reasons, it is highly recommended that you always
13051 # use absolute paths for naming shared libraries, and exclude the
13052 # DT_RUNPATH tag from executables and libraries. But doing so
13053 # requires that you compile everything twice, which is a pain.
13054 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13055 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13056 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13057 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13058 else
13059 ld_shlibs_FC=no
13062 esac
13065 sunos4*)
13066 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13067 wlarc=
13068 hardcode_direct_FC=yes
13069 hardcode_shlibpath_var_FC=no
13073 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13074 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13075 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13076 else
13077 ld_shlibs_FC=no
13080 esac
13082 if test "$ld_shlibs_FC" = no; then
13083 runpath_var=
13084 hardcode_libdir_flag_spec_FC=
13085 export_dynamic_flag_spec_FC=
13086 whole_archive_flag_spec_FC=
13088 else
13089 # PORTME fill in a description of your system's linker (not GNU ld)
13090 case $host_os in
13091 aix3*)
13092 allow_undefined_flag_FC=unsupported
13093 always_export_symbols_FC=yes
13094 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'
13095 # Note: this linker hardcodes the directories in LIBPATH if there
13096 # are no directories specified by -L.
13097 hardcode_minus_L_FC=yes
13098 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13099 # Neither direct hardcoding nor static linking is supported with a
13100 # broken collect2.
13101 hardcode_direct_FC=unsupported
13105 aix[4-9]*)
13106 if test "$host_cpu" = ia64; then
13107 # On IA64, the linker does run time linking by default, so we don't
13108 # have to do anything special.
13109 aix_use_runtimelinking=no
13110 exp_sym_flag='-Bexport'
13111 no_entry_flag=""
13112 else
13113 # If we're using GNU nm, then we don't want the "-C" option.
13114 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13115 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13116 export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13117 else
13118 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'
13120 aix_use_runtimelinking=no
13122 # Test if we are trying to use run time linking or normal
13123 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13124 # need to do runtime linking.
13125 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13126 for ld_flag in $LDFLAGS; do
13127 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13128 aix_use_runtimelinking=yes
13129 break
13131 done
13133 esac
13135 exp_sym_flag='-bexport'
13136 no_entry_flag='-bnoentry'
13139 # When large executables or shared objects are built, AIX ld can
13140 # have problems creating the table of contents. If linking a library
13141 # or program results in "error TOC overflow" add -mminimal-toc to
13142 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13143 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13145 archive_cmds_FC=''
13146 hardcode_direct_FC=yes
13147 hardcode_direct_absolute_FC=yes
13148 hardcode_libdir_separator_FC=':'
13149 link_all_deplibs_FC=yes
13150 file_list_spec_FC='${wl}-f,'
13152 if test "$GCC" = yes; then
13153 case $host_os in aix4.[012]|aix4.[012].*)
13154 # We only want to do this on AIX 4.2 and lower, the check
13155 # below for broken collect2 doesn't work under 4.3+
13156 collect2name=`${CC} -print-prog-name=collect2`
13157 if test -f "$collect2name" &&
13158 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13159 then
13160 # We have reworked collect2
13162 else
13163 # We have old collect2
13164 hardcode_direct_FC=unsupported
13165 # It fails to find uninstalled libraries when the uninstalled
13166 # path is not listed in the libpath. Setting hardcode_minus_L
13167 # to unsupported forces relinking
13168 hardcode_minus_L_FC=yes
13169 hardcode_libdir_flag_spec_FC='-L$libdir'
13170 hardcode_libdir_separator_FC=
13173 esac
13174 shared_flag='-shared'
13175 if test "$aix_use_runtimelinking" = yes; then
13176 shared_flag="$shared_flag "'${wl}-G'
13178 else
13179 # not using gcc
13180 if test "$host_cpu" = ia64; then
13181 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13182 # chokes on -Wl,-G. The following line is correct:
13183 shared_flag='-G'
13184 else
13185 if test "$aix_use_runtimelinking" = yes; then
13186 shared_flag='${wl}-G'
13187 else
13188 shared_flag='${wl}-bM:SRE'
13193 export_dynamic_flag_spec_FC='${wl}-bexpall'
13194 # It seems that -bexpall does not export symbols beginning with
13195 # underscore (_), so it is better to generate a list of symbols to export.
13196 always_export_symbols_FC=yes
13197 if test "$aix_use_runtimelinking" = yes; then
13198 # Warning - without using the other runtime loading flags (-brtl),
13199 # -berok will link without error, but may produce a broken library.
13200 allow_undefined_flag_FC='-berok'
13201 # Determine the default libpath from the value encoded in an
13202 # empty executable.
13203 if test x$gcc_no_link = xyes; then
13204 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13206 cat > conftest.$ac_ext <<_ACEOF
13207 program main
13210 _ACEOF
13211 if ac_fn_fc_try_link "$LINENO"; then :
13213 lt_aix_libpath_sed='
13214 /Import File Strings/,/^$/ {
13215 /^0/ {
13216 s/^0 *\(.*\)$/\1/
13220 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13221 # Check for a 64-bit object if we didn't find anything.
13222 if test -z "$aix_libpath"; then
13223 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13226 rm -f core conftest.err conftest.$ac_objext \
13227 conftest$ac_exeext conftest.$ac_ext
13228 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13230 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13231 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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13232 else
13233 if test "$host_cpu" = ia64; then
13234 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
13235 allow_undefined_flag_FC="-z nodefs"
13236 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"
13237 else
13238 # Determine the default libpath from the value encoded in an
13239 # empty executable.
13240 if test x$gcc_no_link = xyes; then
13241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13243 cat > conftest.$ac_ext <<_ACEOF
13244 program main
13247 _ACEOF
13248 if ac_fn_fc_try_link "$LINENO"; then :
13250 lt_aix_libpath_sed='
13251 /Import File Strings/,/^$/ {
13252 /^0/ {
13253 s/^0 *\(.*\)$/\1/
13257 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13258 # Check for a 64-bit object if we didn't find anything.
13259 if test -z "$aix_libpath"; then
13260 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13263 rm -f core conftest.err conftest.$ac_objext \
13264 conftest$ac_exeext conftest.$ac_ext
13265 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13267 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13268 # Warning - without using the other run time loading flags,
13269 # -berok will link without error, but may produce a broken library.
13270 no_undefined_flag_FC=' ${wl}-bernotok'
13271 allow_undefined_flag_FC=' ${wl}-berok'
13272 # Exported symbols can be pulled into shared objects from archives
13273 whole_archive_flag_spec_FC='$convenience'
13274 archive_cmds_need_lc_FC=yes
13275 # This is similar to how AIX traditionally builds its shared libraries.
13276 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'
13281 amigaos*)
13282 case $host_cpu in
13283 powerpc)
13284 # see comment about AmigaOS4 .so support
13285 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13286 archive_expsym_cmds_FC=''
13288 m68k)
13289 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)'
13290 hardcode_libdir_flag_spec_FC='-L$libdir'
13291 hardcode_minus_L_FC=yes
13293 esac
13296 bsdi[45]*)
13297 export_dynamic_flag_spec_FC=-rdynamic
13300 cygwin* | mingw* | pw32* | cegcc*)
13301 # When not using gcc, we currently assume that we are using
13302 # Microsoft Visual C++.
13303 # hardcode_libdir_flag_spec is actually meaningless, as there is
13304 # no search path for DLLs.
13305 hardcode_libdir_flag_spec_FC=' '
13306 allow_undefined_flag_FC=unsupported
13307 # Tell ltmain to make .lib files, not .a files.
13308 libext=lib
13309 # Tell ltmain to make .dll files, not .so files.
13310 shrext_cmds=".dll"
13311 # FIXME: Setting linknames here is a bad hack.
13312 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
13313 # The linker will automatically build a .lib file if we build a DLL.
13314 old_archive_from_new_cmds_FC='true'
13315 # FIXME: Should let the user specify the lib program.
13316 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
13317 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
13318 enable_shared_with_static_runtimes_FC=yes
13321 darwin* | rhapsody*)
13324 archive_cmds_need_lc_FC=no
13325 hardcode_direct_FC=no
13326 hardcode_automatic_FC=yes
13327 hardcode_shlibpath_var_FC=unsupported
13328 whole_archive_flag_spec_FC=''
13329 link_all_deplibs_FC=yes
13330 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
13331 case $cc_basename in
13332 ifort*) _lt_dar_can_shared=yes ;;
13333 *) _lt_dar_can_shared=$GCC ;;
13334 esac
13335 if test "$_lt_dar_can_shared" = "yes"; then
13336 output_verbose_link_cmd=echo
13337 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}"
13338 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13339 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}"
13340 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}"
13342 else
13343 ld_shlibs_FC=no
13348 dgux*)
13349 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13350 hardcode_libdir_flag_spec_FC='-L$libdir'
13351 hardcode_shlibpath_var_FC=no
13354 freebsd1*)
13355 ld_shlibs_FC=no
13358 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13359 # support. Future versions do this automatically, but an explicit c++rt0.o
13360 # does not break anything, and helps significantly (at the cost of a little
13361 # extra space).
13362 freebsd2.2*)
13363 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13364 hardcode_libdir_flag_spec_FC='-R$libdir'
13365 hardcode_direct_FC=yes
13366 hardcode_shlibpath_var_FC=no
13369 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13370 freebsd2*)
13371 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13372 hardcode_direct_FC=yes
13373 hardcode_minus_L_FC=yes
13374 hardcode_shlibpath_var_FC=no
13377 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13378 freebsd* | dragonfly*)
13379 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13380 hardcode_libdir_flag_spec_FC='-R$libdir'
13381 hardcode_direct_FC=yes
13382 hardcode_shlibpath_var_FC=no
13385 hpux9*)
13386 if test "$GCC" = yes; then
13387 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'
13388 else
13389 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'
13391 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13392 hardcode_libdir_separator_FC=:
13393 hardcode_direct_FC=yes
13395 # hardcode_minus_L: Not really in the search PATH,
13396 # but as the default location of the library.
13397 hardcode_minus_L_FC=yes
13398 export_dynamic_flag_spec_FC='${wl}-E'
13401 hpux10*)
13402 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13403 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13404 else
13405 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13407 if test "$with_gnu_ld" = no; then
13408 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13409 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
13410 hardcode_libdir_separator_FC=:
13411 hardcode_direct_FC=yes
13412 hardcode_direct_absolute_FC=yes
13413 export_dynamic_flag_spec_FC='${wl}-E'
13414 # hardcode_minus_L: Not really in the search PATH,
13415 # but as the default location of the library.
13416 hardcode_minus_L_FC=yes
13420 hpux11*)
13421 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13422 case $host_cpu in
13423 hppa*64*)
13424 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13426 ia64*)
13427 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13430 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13432 esac
13433 else
13434 case $host_cpu in
13435 hppa*64*)
13436 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13438 ia64*)
13439 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13442 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13444 esac
13446 if test "$with_gnu_ld" = no; then
13447 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13448 hardcode_libdir_separator_FC=:
13450 case $host_cpu in
13451 hppa*64*|ia64*)
13452 hardcode_direct_FC=no
13453 hardcode_shlibpath_var_FC=no
13456 hardcode_direct_FC=yes
13457 hardcode_direct_absolute_FC=yes
13458 export_dynamic_flag_spec_FC='${wl}-E'
13460 # hardcode_minus_L: Not really in the search PATH,
13461 # but as the default location of the library.
13462 hardcode_minus_L_FC=yes
13464 esac
13468 irix5* | irix6* | nonstopux*)
13469 if test "$GCC" = yes; then
13470 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13471 # Try to use the -exported_symbol ld option, if it does not
13472 # work, assume that -exports_file does not work either and
13473 # implicitly export all symbols.
13474 save_LDFLAGS="$LDFLAGS"
13475 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13476 if test x$gcc_no_link = xyes; then
13477 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13479 cat > conftest.$ac_ext <<_ACEOF
13480 int foo(void) {}
13481 _ACEOF
13482 if ac_fn_fc_try_link "$LINENO"; then :
13483 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
13486 rm -f core conftest.err conftest.$ac_objext \
13487 conftest$ac_exeext conftest.$ac_ext
13488 LDFLAGS="$save_LDFLAGS"
13489 else
13490 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13491 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
13493 archive_cmds_need_lc_FC='no'
13494 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13495 hardcode_libdir_separator_FC=:
13496 inherit_rpath_FC=yes
13497 link_all_deplibs_FC=yes
13500 netbsd*)
13501 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13502 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13503 else
13504 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13506 hardcode_libdir_flag_spec_FC='-R$libdir'
13507 hardcode_direct_FC=yes
13508 hardcode_shlibpath_var_FC=no
13511 newsos6)
13512 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13513 hardcode_direct_FC=yes
13514 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13515 hardcode_libdir_separator_FC=:
13516 hardcode_shlibpath_var_FC=no
13519 *nto* | *qnx*)
13522 openbsd*)
13523 if test -f /usr/libexec/ld.so; then
13524 hardcode_direct_FC=yes
13525 hardcode_shlibpath_var_FC=no
13526 hardcode_direct_absolute_FC=yes
13527 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13528 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13529 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13530 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13531 export_dynamic_flag_spec_FC='${wl}-E'
13532 else
13533 case $host_os in
13534 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13535 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13536 hardcode_libdir_flag_spec_FC='-R$libdir'
13539 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13540 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13542 esac
13544 else
13545 ld_shlibs_FC=no
13549 os2*)
13550 hardcode_libdir_flag_spec_FC='-L$libdir'
13551 hardcode_minus_L_FC=yes
13552 allow_undefined_flag_FC=unsupported
13553 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'
13554 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13557 osf3*)
13558 if test "$GCC" = yes; then
13559 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13560 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13561 else
13562 allow_undefined_flag_FC=' -expect_unresolved \*'
13563 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13565 archive_cmds_need_lc_FC='no'
13566 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13567 hardcode_libdir_separator_FC=:
13570 osf4* | osf5*) # as osf3* with the addition of -msym flag
13571 if test "$GCC" = yes; then
13572 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13573 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13574 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13575 else
13576 allow_undefined_flag_FC=' -expect_unresolved \*'
13577 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13578 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~
13579 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
13581 # Both c and cxx compiler support -rpath directly
13582 hardcode_libdir_flag_spec_FC='-rpath $libdir'
13584 archive_cmds_need_lc_FC='no'
13585 hardcode_libdir_separator_FC=:
13588 solaris*)
13589 no_undefined_flag_FC=' -z defs'
13590 if test "$GCC" = yes; then
13591 wlarc='${wl}'
13592 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13593 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13594 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13595 else
13596 case `$CC -V 2>&1` in
13597 *"Compilers 5.0"*)
13598 wlarc=''
13599 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13600 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13601 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13604 wlarc='${wl}'
13605 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13606 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13607 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13609 esac
13611 hardcode_libdir_flag_spec_FC='-R$libdir'
13612 hardcode_shlibpath_var_FC=no
13613 case $host_os in
13614 solaris2.[0-5] | solaris2.[0-5].*) ;;
13616 # The compiler driver will combine and reorder linker options,
13617 # but understands `-z linker_flag'. GCC discards it without `$wl',
13618 # but is careful enough not to reorder.
13619 # Supported since Solaris 2.6 (maybe 2.5.1?)
13620 if test "$GCC" = yes; then
13621 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13622 else
13623 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
13626 esac
13627 link_all_deplibs_FC=yes
13630 sunos4*)
13631 if test "x$host_vendor" = xsequent; then
13632 # Use $CC to link under sequent, because it throws in some extra .o
13633 # files that make .init and .fini sections work.
13634 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13635 else
13636 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13638 hardcode_libdir_flag_spec_FC='-L$libdir'
13639 hardcode_direct_FC=yes
13640 hardcode_minus_L_FC=yes
13641 hardcode_shlibpath_var_FC=no
13644 sysv4)
13645 case $host_vendor in
13646 sni)
13647 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13648 hardcode_direct_FC=yes # is this really true???
13650 siemens)
13651 ## LD is ld it makes a PLAMLIB
13652 ## CC just makes a GrossModule.
13653 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13654 reload_cmds_FC='$CC -r -o $output$reload_objs'
13655 hardcode_direct_FC=no
13657 motorola)
13658 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13659 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
13661 esac
13662 runpath_var='LD_RUN_PATH'
13663 hardcode_shlibpath_var_FC=no
13666 sysv4.3*)
13667 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13668 hardcode_shlibpath_var_FC=no
13669 export_dynamic_flag_spec_FC='-Bexport'
13672 sysv4*MP*)
13673 if test -d /usr/nec; then
13674 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13675 hardcode_shlibpath_var_FC=no
13676 runpath_var=LD_RUN_PATH
13677 hardcode_runpath_var=yes
13678 ld_shlibs_FC=yes
13682 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13683 no_undefined_flag_FC='${wl}-z,text'
13684 archive_cmds_need_lc_FC=no
13685 hardcode_shlibpath_var_FC=no
13686 runpath_var='LD_RUN_PATH'
13688 if test "$GCC" = yes; then
13689 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13690 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13691 else
13692 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13693 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13697 sysv5* | sco3.2v5* | sco5v6*)
13698 # Note: We can NOT use -z defs as we might desire, because we do not
13699 # link with -lc, and that would cause any symbols used from libc to
13700 # always be unresolved, which means just about no library would
13701 # ever link correctly. If we're not using GNU ld we use -z text
13702 # though, which does catch some bad symbols but isn't as heavy-handed
13703 # as -z defs.
13704 no_undefined_flag_FC='${wl}-z,text'
13705 allow_undefined_flag_FC='${wl}-z,nodefs'
13706 archive_cmds_need_lc_FC=no
13707 hardcode_shlibpath_var_FC=no
13708 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
13709 hardcode_libdir_separator_FC=':'
13710 link_all_deplibs_FC=yes
13711 export_dynamic_flag_spec_FC='${wl}-Bexport'
13712 runpath_var='LD_RUN_PATH'
13714 if test "$GCC" = yes; then
13715 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13716 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13717 else
13718 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13719 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13723 uts4*)
13724 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13725 hardcode_libdir_flag_spec_FC='-L$libdir'
13726 hardcode_shlibpath_var_FC=no
13730 ld_shlibs_FC=no
13732 esac
13734 if test x$host_vendor = xsni; then
13735 case $host in
13736 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13737 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
13739 esac
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13744 $as_echo "$ld_shlibs_FC" >&6; }
13745 test "$ld_shlibs_FC" = no && can_build_shared=no
13747 with_gnu_ld_FC=$with_gnu_ld
13755 # Do we need to explicitly link libc?
13757 case "x$archive_cmds_need_lc_FC" in
13758 x|xyes)
13759 # Assume -lc should be added
13760 archive_cmds_need_lc_FC=yes
13762 if test "$enable_shared" = yes && test "$GCC" = yes; then
13763 case $archive_cmds_FC in
13764 *'~'*)
13765 # FIXME: we may have to deal with multi-command sequences.
13767 '$CC '*)
13768 # Test whether the compiler implicitly links with -lc since on some
13769 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13770 # to ld, don't add -lc before -lgcc.
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13772 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13773 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
13774 $as_echo_n "(cached) " >&6
13775 else
13776 $RM conftest*
13777 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13779 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13780 (eval $ac_compile) 2>&5
13781 ac_status=$?
13782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13783 test $ac_status = 0; } 2>conftest.err; then
13784 soname=conftest
13785 lib=conftest
13786 libobjs=conftest.$ac_objext
13787 deplibs=
13788 wl=$lt_prog_compiler_wl_FC
13789 pic_flag=$lt_prog_compiler_pic_FC
13790 compiler_flags=-v
13791 linker_flags=-v
13792 verstring=
13793 output_objdir=.
13794 libname=conftest
13795 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
13796 allow_undefined_flag_FC=
13797 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13798 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13799 ac_status=$?
13800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13801 test $ac_status = 0; }
13802 then
13803 lt_cv_archive_cmds_need_lc_FC=no
13804 else
13805 lt_cv_archive_cmds_need_lc_FC=yes
13807 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
13808 else
13809 cat conftest.err 1>&5
13811 $RM conftest*
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13815 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
13816 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
13818 esac
13821 esac
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13887 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13889 library_names_spec=
13890 libname_spec='lib$name'
13891 soname_spec=
13892 shrext_cmds=".so"
13893 postinstall_cmds=
13894 postuninstall_cmds=
13895 finish_cmds=
13896 finish_eval=
13897 shlibpath_var=
13898 shlibpath_overrides_runpath=unknown
13899 version_type=none
13900 dynamic_linker="$host_os ld.so"
13901 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13902 need_lib_prefix=unknown
13903 hardcode_into_libs=no
13905 # when you set need_version to no, make sure it does not cause -set_version
13906 # flags to be left without arguments
13907 need_version=unknown
13909 case $host_os in
13910 aix3*)
13911 version_type=linux
13912 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13913 shlibpath_var=LIBPATH
13915 # AIX 3 has no versioning support, so we append a major version to the name.
13916 soname_spec='${libname}${release}${shared_ext}$major'
13919 aix[4-9]*)
13920 version_type=linux
13921 need_lib_prefix=no
13922 need_version=no
13923 hardcode_into_libs=yes
13924 if test "$host_cpu" = ia64; then
13925 # AIX 5 supports IA64
13926 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13927 shlibpath_var=LD_LIBRARY_PATH
13928 else
13929 # With GCC up to 2.95.x, collect2 would create an import file
13930 # for dependence libraries. The import file would start with
13931 # the line `#! .'. This would cause the generated library to
13932 # depend on `.', always an invalid library. This was fixed in
13933 # development snapshots of GCC prior to 3.0.
13934 case $host_os in
13935 aix4 | aix4.[01] | aix4.[01].*)
13936 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13937 echo ' yes '
13938 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13940 else
13941 can_build_shared=no
13944 esac
13945 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13946 # soname into executable. Probably we can add versioning support to
13947 # collect2, so additional links can be useful in future.
13948 if test "$aix_use_runtimelinking" = yes; then
13949 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13950 # instead of lib<name>.a to let people know that these are not
13951 # typical AIX shared libraries.
13952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13953 else
13954 # We preserve .a as extension for shared libraries through AIX4.2
13955 # and later when we are not doing run time linking.
13956 library_names_spec='${libname}${release}.a $libname.a'
13957 soname_spec='${libname}${release}${shared_ext}$major'
13959 shlibpath_var=LIBPATH
13963 amigaos*)
13964 case $host_cpu in
13965 powerpc)
13966 # Since July 2007 AmigaOS4 officially supports .so libraries.
13967 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13970 m68k)
13971 library_names_spec='$libname.ixlibrary $libname.a'
13972 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13973 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
13975 esac
13978 beos*)
13979 library_names_spec='${libname}${shared_ext}'
13980 dynamic_linker="$host_os ld.so"
13981 shlibpath_var=LIBRARY_PATH
13984 bsdi[45]*)
13985 version_type=linux
13986 need_version=no
13987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13988 soname_spec='${libname}${release}${shared_ext}$major'
13989 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13990 shlibpath_var=LD_LIBRARY_PATH
13991 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13992 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13993 # the default ld.so.conf also contains /usr/contrib/lib and
13994 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13995 # libtool to hard-code these into programs
13998 cygwin* | mingw* | pw32* | cegcc*)
13999 version_type=windows
14000 shrext_cmds=".dll"
14001 need_version=no
14002 need_lib_prefix=no
14004 case $GCC,$host_os in
14005 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14006 library_names_spec='$libname.dll.a'
14007 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14008 postinstall_cmds='base_file=`basename \${file}`~
14009 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14010 dldir=$destdir/`dirname \$dlpath`~
14011 test -d \$dldir || mkdir -p \$dldir~
14012 $install_prog $dir/$dlname \$dldir/$dlname~
14013 chmod a+x \$dldir/$dlname~
14014 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14015 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14017 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14018 dlpath=$dir/\$dldll~
14019 $RM \$dlpath'
14020 shlibpath_overrides_runpath=yes
14022 case $host_os in
14023 cygwin*)
14024 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14025 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14026 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14028 mingw* | cegcc*)
14029 # MinGW DLLs use traditional 'lib' prefix
14030 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14031 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14032 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14033 # It is most probably a Windows format PATH printed by
14034 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14035 # path with ; separators, and with drive letters. We can handle the
14036 # drive letters (cygwin fileutils understands them), so leave them,
14037 # especially as we might pass files found there to a mingw objdump,
14038 # which wouldn't understand a cygwinified path. Ahh.
14039 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14040 else
14041 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14044 pw32*)
14045 # pw32 DLLs use 'pw' prefix rather than 'lib'
14046 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14048 esac
14052 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14054 esac
14055 dynamic_linker='Win32 ld.exe'
14056 # FIXME: first we should search . and the directory the executable is in
14057 shlibpath_var=PATH
14060 darwin* | rhapsody*)
14061 dynamic_linker="$host_os dyld"
14062 version_type=darwin
14063 need_lib_prefix=no
14064 need_version=no
14065 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14066 soname_spec='${libname}${release}${major}$shared_ext'
14067 shlibpath_overrides_runpath=yes
14068 shlibpath_var=DYLD_LIBRARY_PATH
14069 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14071 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14074 dgux*)
14075 version_type=linux
14076 need_lib_prefix=no
14077 need_version=no
14078 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14079 soname_spec='${libname}${release}${shared_ext}$major'
14080 shlibpath_var=LD_LIBRARY_PATH
14083 freebsd1*)
14084 dynamic_linker=no
14087 freebsd* | dragonfly*)
14088 # DragonFly does not have aout. When/if they implement a new
14089 # versioning mechanism, adjust this.
14090 if test -x /usr/bin/objformat; then
14091 objformat=`/usr/bin/objformat`
14092 else
14093 case $host_os in
14094 freebsd[123]*) objformat=aout ;;
14095 *) objformat=elf ;;
14096 esac
14098 version_type=freebsd-$objformat
14099 case $version_type in
14100 freebsd-elf*)
14101 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14102 need_version=no
14103 need_lib_prefix=no
14105 freebsd-*)
14106 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14107 need_version=yes
14109 esac
14110 shlibpath_var=LD_LIBRARY_PATH
14111 case $host_os in
14112 freebsd2*)
14113 shlibpath_overrides_runpath=yes
14115 freebsd3.[01]* | freebsdelf3.[01]*)
14116 shlibpath_overrides_runpath=yes
14117 hardcode_into_libs=yes
14119 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14120 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14121 shlibpath_overrides_runpath=no
14122 hardcode_into_libs=yes
14124 *) # from 4.6 on, and DragonFly
14125 shlibpath_overrides_runpath=yes
14126 hardcode_into_libs=yes
14128 esac
14131 gnu*)
14132 version_type=linux
14133 need_lib_prefix=no
14134 need_version=no
14135 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14136 soname_spec='${libname}${release}${shared_ext}$major'
14137 shlibpath_var=LD_LIBRARY_PATH
14138 hardcode_into_libs=yes
14141 hpux9* | hpux10* | hpux11*)
14142 # Give a soname corresponding to the major version so that dld.sl refuses to
14143 # link against other versions.
14144 version_type=sunos
14145 need_lib_prefix=no
14146 need_version=no
14147 case $host_cpu in
14148 ia64*)
14149 shrext_cmds='.so'
14150 hardcode_into_libs=yes
14151 dynamic_linker="$host_os dld.so"
14152 shlibpath_var=LD_LIBRARY_PATH
14153 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14154 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14155 soname_spec='${libname}${release}${shared_ext}$major'
14156 if test "X$HPUX_IA64_MODE" = X32; then
14157 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14158 else
14159 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14161 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14163 hppa*64*)
14164 shrext_cmds='.sl'
14165 hardcode_into_libs=yes
14166 dynamic_linker="$host_os dld.sl"
14167 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14168 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14169 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14170 soname_spec='${libname}${release}${shared_ext}$major'
14171 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14172 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14175 shrext_cmds='.sl'
14176 dynamic_linker="$host_os dld.sl"
14177 shlibpath_var=SHLIB_PATH
14178 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14180 soname_spec='${libname}${release}${shared_ext}$major'
14182 esac
14183 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14184 postinstall_cmds='chmod 555 $lib'
14187 interix[3-9]*)
14188 version_type=linux
14189 need_lib_prefix=no
14190 need_version=no
14191 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14192 soname_spec='${libname}${release}${shared_ext}$major'
14193 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14194 shlibpath_var=LD_LIBRARY_PATH
14195 shlibpath_overrides_runpath=no
14196 hardcode_into_libs=yes
14199 irix5* | irix6* | nonstopux*)
14200 case $host_os in
14201 nonstopux*) version_type=nonstopux ;;
14203 if test "$lt_cv_prog_gnu_ld" = yes; then
14204 version_type=linux
14205 else
14206 version_type=irix
14207 fi ;;
14208 esac
14209 need_lib_prefix=no
14210 need_version=no
14211 soname_spec='${libname}${release}${shared_ext}$major'
14212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14213 case $host_os in
14214 irix5* | nonstopux*)
14215 libsuff= shlibsuff=
14218 case $LD in # libtool.m4 will add one of these switches to LD
14219 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14220 libsuff= shlibsuff= libmagic=32-bit;;
14221 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14222 libsuff=32 shlibsuff=N32 libmagic=N32;;
14223 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14224 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14225 *) libsuff= shlibsuff= libmagic=never-match;;
14226 esac
14228 esac
14229 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14230 shlibpath_overrides_runpath=no
14231 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14232 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14233 hardcode_into_libs=yes
14236 # No shared lib support for Linux oldld, aout, or coff.
14237 linux*oldld* | linux*aout* | linux*coff*)
14238 dynamic_linker=no
14241 # This must be Linux ELF.
14242 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14243 version_type=linux
14244 need_lib_prefix=no
14245 need_version=no
14246 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14247 soname_spec='${libname}${release}${shared_ext}$major'
14248 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14249 shlibpath_var=LD_LIBRARY_PATH
14250 shlibpath_overrides_runpath=no
14252 # Some binutils ld are patched to set DT_RUNPATH
14253 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14254 $as_echo_n "(cached) " >&6
14255 else
14256 lt_cv_shlibpath_overrides_runpath=no
14257 save_LDFLAGS=$LDFLAGS
14258 save_libdir=$libdir
14259 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14260 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14261 if test x$gcc_no_link = xyes; then
14262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14264 cat > conftest.$ac_ext <<_ACEOF
14265 program main
14268 _ACEOF
14269 if ac_fn_fc_try_link "$LINENO"; then :
14270 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14271 lt_cv_shlibpath_overrides_runpath=yes
14274 rm -f core conftest.err conftest.$ac_objext \
14275 conftest$ac_exeext conftest.$ac_ext
14276 LDFLAGS=$save_LDFLAGS
14277 libdir=$save_libdir
14281 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14283 # This implies no fast_install, which is unacceptable.
14284 # Some rework will be needed to allow for fast_install
14285 # before this can be enabled.
14286 hardcode_into_libs=yes
14288 # Append ld.so.conf contents to the search path
14289 if test -f /etc/ld.so.conf; then
14290 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;/^$/d' | tr '\n' ' '`
14291 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14294 # We used to test for /lib/ld.so.1 and disable shared libraries on
14295 # powerpc, because MkLinux only supported shared libraries with the
14296 # GNU dynamic linker. Since this was broken with cross compilers,
14297 # most powerpc-linux boxes support dynamic linking these days and
14298 # people can always --disable-shared, the test was removed, and we
14299 # assume the GNU/Linux dynamic linker is in use.
14300 dynamic_linker='GNU/Linux ld.so'
14303 netbsd*)
14304 version_type=sunos
14305 need_lib_prefix=no
14306 need_version=no
14307 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14309 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14310 dynamic_linker='NetBSD (a.out) ld.so'
14311 else
14312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14313 soname_spec='${libname}${release}${shared_ext}$major'
14314 dynamic_linker='NetBSD ld.elf_so'
14316 shlibpath_var=LD_LIBRARY_PATH
14317 shlibpath_overrides_runpath=yes
14318 hardcode_into_libs=yes
14321 newsos6)
14322 version_type=linux
14323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14324 shlibpath_var=LD_LIBRARY_PATH
14325 shlibpath_overrides_runpath=yes
14328 *nto* | *qnx*)
14329 version_type=qnx
14330 need_lib_prefix=no
14331 need_version=no
14332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14333 soname_spec='${libname}${release}${shared_ext}$major'
14334 shlibpath_var=LD_LIBRARY_PATH
14335 shlibpath_overrides_runpath=no
14336 hardcode_into_libs=yes
14337 dynamic_linker='ldqnx.so'
14340 openbsd*)
14341 version_type=sunos
14342 sys_lib_dlsearch_path_spec="/usr/lib"
14343 need_lib_prefix=no
14344 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14345 case $host_os in
14346 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14347 *) need_version=no ;;
14348 esac
14349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14350 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14351 shlibpath_var=LD_LIBRARY_PATH
14352 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14353 case $host_os in
14354 openbsd2.[89] | openbsd2.[89].*)
14355 shlibpath_overrides_runpath=no
14358 shlibpath_overrides_runpath=yes
14360 esac
14361 else
14362 shlibpath_overrides_runpath=yes
14366 os2*)
14367 libname_spec='$name'
14368 shrext_cmds=".dll"
14369 need_lib_prefix=no
14370 library_names_spec='$libname${shared_ext} $libname.a'
14371 dynamic_linker='OS/2 ld.exe'
14372 shlibpath_var=LIBPATH
14375 osf3* | osf4* | osf5*)
14376 version_type=osf
14377 need_lib_prefix=no
14378 need_version=no
14379 soname_spec='${libname}${release}${shared_ext}$major'
14380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14381 shlibpath_var=LD_LIBRARY_PATH
14382 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14383 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14386 rdos*)
14387 dynamic_linker=no
14390 solaris*)
14391 version_type=linux
14392 need_lib_prefix=no
14393 need_version=no
14394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14395 soname_spec='${libname}${release}${shared_ext}$major'
14396 shlibpath_var=LD_LIBRARY_PATH
14397 shlibpath_overrides_runpath=yes
14398 hardcode_into_libs=yes
14399 # ldd complains unless libraries are executable
14400 postinstall_cmds='chmod +x $lib'
14403 sunos4*)
14404 version_type=sunos
14405 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14406 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14407 shlibpath_var=LD_LIBRARY_PATH
14408 shlibpath_overrides_runpath=yes
14409 if test "$with_gnu_ld" = yes; then
14410 need_lib_prefix=no
14412 need_version=yes
14415 sysv4 | sysv4.3*)
14416 version_type=linux
14417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14418 soname_spec='${libname}${release}${shared_ext}$major'
14419 shlibpath_var=LD_LIBRARY_PATH
14420 case $host_vendor in
14421 sni)
14422 shlibpath_overrides_runpath=no
14423 need_lib_prefix=no
14424 runpath_var=LD_RUN_PATH
14426 siemens)
14427 need_lib_prefix=no
14429 motorola)
14430 need_lib_prefix=no
14431 need_version=no
14432 shlibpath_overrides_runpath=no
14433 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14435 esac
14438 sysv4*MP*)
14439 if test -d /usr/nec ;then
14440 version_type=linux
14441 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14442 soname_spec='$libname${shared_ext}.$major'
14443 shlibpath_var=LD_LIBRARY_PATH
14447 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14448 version_type=freebsd-elf
14449 need_lib_prefix=no
14450 need_version=no
14451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14452 soname_spec='${libname}${release}${shared_ext}$major'
14453 shlibpath_var=LD_LIBRARY_PATH
14454 shlibpath_overrides_runpath=yes
14455 hardcode_into_libs=yes
14456 if test "$with_gnu_ld" = yes; then
14457 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14458 else
14459 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14460 case $host_os in
14461 sco3.2v5*)
14462 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14464 esac
14466 sys_lib_dlsearch_path_spec='/usr/lib'
14469 tpf*)
14470 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14471 version_type=linux
14472 need_lib_prefix=no
14473 need_version=no
14474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14475 shlibpath_var=LD_LIBRARY_PATH
14476 shlibpath_overrides_runpath=no
14477 hardcode_into_libs=yes
14480 uts4*)
14481 version_type=linux
14482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14483 soname_spec='${libname}${release}${shared_ext}$major'
14484 shlibpath_var=LD_LIBRARY_PATH
14488 dynamic_linker=no
14490 esac
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14492 $as_echo "$dynamic_linker" >&6; }
14493 test "$dynamic_linker" = no && can_build_shared=no
14495 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14496 if test "$GCC" = yes; then
14497 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14500 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14501 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14503 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14504 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14543 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14544 hardcode_action_FC=
14545 if test -n "$hardcode_libdir_flag_spec_FC" ||
14546 test -n "$runpath_var_FC" ||
14547 test "X$hardcode_automatic_FC" = "Xyes" ; then
14549 # We can hardcode non-existent directories.
14550 if test "$hardcode_direct_FC" != no &&
14551 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14552 # have to relink, otherwise we might link with an installed library
14553 # when we should be linking with a yet-to-be-installed one
14554 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14555 test "$hardcode_minus_L_FC" != no; then
14556 # Linking always hardcodes the temporary library directory.
14557 hardcode_action_FC=relink
14558 else
14559 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14560 hardcode_action_FC=immediate
14562 else
14563 # We cannot hardcode anything, or else we can only hardcode existing
14564 # directories.
14565 hardcode_action_FC=unsupported
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14568 $as_echo "$hardcode_action_FC" >&6; }
14570 if test "$hardcode_action_FC" = relink ||
14571 test "$inherit_rpath_FC" = yes; then
14572 # Fast installation is not supported
14573 enable_fast_install=no
14574 elif test "$shlibpath_overrides_runpath" = yes ||
14575 test "$enable_shared" = no; then
14576 # Fast installation is not necessary
14577 enable_fast_install=needless
14586 fi # test -n "$compiler"
14588 GCC=$lt_save_GCC
14589 CC="$lt_save_CC"
14590 fi # test "$_lt_disable_FC" != yes
14592 ac_ext=c
14593 ac_cpp='$CPP $CPPFLAGS'
14594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14600 # extra LD Flags which are required for targets
14601 case "${host}" in
14602 *-darwin*)
14603 # Darwin needs -single_module when linking libgfortran
14604 extra_ldflags_libgfortran=-Wl,-single_module
14606 esac
14609 # We need a working compiler at that point, otherwise give a clear
14610 # error message and bail out.
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
14613 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
14614 ac_ext=${ac_fc_srcext-f}
14615 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
14616 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
14617 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
14619 cat > conftest.$ac_ext <<_ACEOF
14621 program foo
14622 real, parameter :: bar = sin (12.34 / 2.5)
14623 end program foo
14624 _ACEOF
14625 if ac_fn_fc_try_compile "$LINENO"; then :
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14627 $as_echo "yes" >&6; }
14628 else
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14630 $as_echo "no" >&6; }
14631 as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
14634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14635 ac_ext=c
14636 ac_cpp='$CPP $CPPFLAGS'
14637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14643 # Check whether --enable-largefile was given.
14644 if test "${enable_largefile+set}" = set; then :
14645 enableval=$enable_largefile;
14648 if test "$enable_largefile" != no; then
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14651 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14652 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
14653 $as_echo_n "(cached) " >&6
14654 else
14655 ac_cv_sys_largefile_CC=no
14656 if test "$GCC" != yes; then
14657 ac_save_CC=$CC
14658 while :; do
14659 # IRIX 6.2 and later do not support large files by default,
14660 # so use the C compiler's -n32 option if that helps.
14661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14662 /* end confdefs.h. */
14663 #include <sys/types.h>
14664 /* Check that off_t can represent 2**63 - 1 correctly.
14665 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14666 since some C++ compilers masquerading as C compilers
14667 incorrectly reject 9223372036854775807. */
14668 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14669 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14670 && LARGE_OFF_T % 2147483647 == 1)
14671 ? 1 : -1];
14673 main ()
14677 return 0;
14679 _ACEOF
14680 if ac_fn_c_try_compile "$LINENO"; then :
14681 break
14683 rm -f core conftest.err conftest.$ac_objext
14684 CC="$CC -n32"
14685 if ac_fn_c_try_compile "$LINENO"; then :
14686 ac_cv_sys_largefile_CC=' -n32'; break
14688 rm -f core conftest.err conftest.$ac_objext
14689 break
14690 done
14691 CC=$ac_save_CC
14692 rm -f conftest.$ac_ext
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14696 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
14697 if test "$ac_cv_sys_largefile_CC" != no; then
14698 CC=$CC$ac_cv_sys_largefile_CC
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14702 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14703 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
14704 $as_echo_n "(cached) " >&6
14705 else
14706 while :; do
14707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14708 /* end confdefs.h. */
14709 #include <sys/types.h>
14710 /* Check that off_t can represent 2**63 - 1 correctly.
14711 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14712 since some C++ compilers masquerading as C compilers
14713 incorrectly reject 9223372036854775807. */
14714 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14715 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14716 && LARGE_OFF_T % 2147483647 == 1)
14717 ? 1 : -1];
14719 main ()
14723 return 0;
14725 _ACEOF
14726 if ac_fn_c_try_compile "$LINENO"; then :
14727 ac_cv_sys_file_offset_bits=no; break
14729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14731 /* end confdefs.h. */
14732 #define _FILE_OFFSET_BITS 64
14733 #include <sys/types.h>
14734 /* Check that off_t can represent 2**63 - 1 correctly.
14735 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14736 since some C++ compilers masquerading as C compilers
14737 incorrectly reject 9223372036854775807. */
14738 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14739 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14740 && LARGE_OFF_T % 2147483647 == 1)
14741 ? 1 : -1];
14743 main ()
14747 return 0;
14749 _ACEOF
14750 if ac_fn_c_try_compile "$LINENO"; then :
14751 ac_cv_sys_file_offset_bits=64; break
14753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14754 ac_cv_sys_file_offset_bits=unknown
14755 break
14756 done
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14759 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14760 case $ac_cv_sys_file_offset_bits in #(
14761 no | unknown) ;;
14763 cat >>confdefs.h <<_ACEOF
14764 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14765 _ACEOF
14767 esac
14768 rm -rf conftest*
14769 if test $ac_cv_sys_file_offset_bits = unknown; then
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14771 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14772 if test "${ac_cv_sys_large_files+set}" = set; then :
14773 $as_echo_n "(cached) " >&6
14774 else
14775 while :; do
14776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14777 /* end confdefs.h. */
14778 #include <sys/types.h>
14779 /* Check that off_t can represent 2**63 - 1 correctly.
14780 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14781 since some C++ compilers masquerading as C compilers
14782 incorrectly reject 9223372036854775807. */
14783 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14784 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14785 && LARGE_OFF_T % 2147483647 == 1)
14786 ? 1 : -1];
14788 main ()
14792 return 0;
14794 _ACEOF
14795 if ac_fn_c_try_compile "$LINENO"; then :
14796 ac_cv_sys_large_files=no; break
14798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14800 /* end confdefs.h. */
14801 #define _LARGE_FILES 1
14802 #include <sys/types.h>
14803 /* Check that off_t can represent 2**63 - 1 correctly.
14804 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14805 since some C++ compilers masquerading as C compilers
14806 incorrectly reject 9223372036854775807. */
14807 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14808 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14809 && LARGE_OFF_T % 2147483647 == 1)
14810 ? 1 : -1];
14812 main ()
14816 return 0;
14818 _ACEOF
14819 if ac_fn_c_try_compile "$LINENO"; then :
14820 ac_cv_sys_large_files=1; break
14822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14823 ac_cv_sys_large_files=unknown
14824 break
14825 done
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14828 $as_echo "$ac_cv_sys_large_files" >&6; }
14829 case $ac_cv_sys_large_files in #(
14830 no | unknown) ;;
14832 cat >>confdefs.h <<_ACEOF
14833 #define _LARGE_FILES $ac_cv_sys_large_files
14834 _ACEOF
14836 esac
14837 rm -rf conftest*
14841 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14842 if test "x$ac_cv_type_off_t" = x""yes; then :
14844 else
14846 cat >>confdefs.h <<_ACEOF
14847 #define off_t long int
14848 _ACEOF
14853 # check header files
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14855 $as_echo_n "checking for ANSI C header files... " >&6; }
14856 if test "${ac_cv_header_stdc+set}" = set; then :
14857 $as_echo_n "(cached) " >&6
14858 else
14859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14860 /* end confdefs.h. */
14861 #include <stdlib.h>
14862 #include <stdarg.h>
14863 #include <string.h>
14864 #include <float.h>
14867 main ()
14871 return 0;
14873 _ACEOF
14874 if ac_fn_c_try_compile "$LINENO"; then :
14875 ac_cv_header_stdc=yes
14876 else
14877 ac_cv_header_stdc=no
14879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14881 if test $ac_cv_header_stdc = yes; then
14882 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14884 /* end confdefs.h. */
14885 #include <string.h>
14887 _ACEOF
14888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14889 $EGREP "memchr" >/dev/null 2>&1; then :
14891 else
14892 ac_cv_header_stdc=no
14894 rm -f conftest*
14898 if test $ac_cv_header_stdc = yes; then
14899 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14901 /* end confdefs.h. */
14902 #include <stdlib.h>
14904 _ACEOF
14905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14906 $EGREP "free" >/dev/null 2>&1; then :
14908 else
14909 ac_cv_header_stdc=no
14911 rm -f conftest*
14915 if test $ac_cv_header_stdc = yes; then
14916 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14917 if test "$cross_compiling" = yes; then :
14919 else
14920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14921 /* end confdefs.h. */
14922 #include <ctype.h>
14923 #include <stdlib.h>
14924 #if ((' ' & 0x0FF) == 0x020)
14925 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14926 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14927 #else
14928 # define ISLOWER(c) \
14929 (('a' <= (c) && (c) <= 'i') \
14930 || ('j' <= (c) && (c) <= 'r') \
14931 || ('s' <= (c) && (c) <= 'z'))
14932 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14933 #endif
14935 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14937 main ()
14939 int i;
14940 for (i = 0; i < 256; i++)
14941 if (XOR (islower (i), ISLOWER (i))
14942 || toupper (i) != TOUPPER (i))
14943 return 2;
14944 return 0;
14946 _ACEOF
14947 if ac_fn_c_try_run "$LINENO"; then :
14949 else
14950 ac_cv_header_stdc=no
14952 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14953 conftest.$ac_objext conftest.beam conftest.$ac_ext
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14959 $as_echo "$ac_cv_header_stdc" >&6; }
14960 if test $ac_cv_header_stdc = yes; then
14962 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14967 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14968 if test "${ac_cv_header_time+set}" = set; then :
14969 $as_echo_n "(cached) " >&6
14970 else
14971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14972 /* end confdefs.h. */
14973 #include <sys/types.h>
14974 #include <sys/time.h>
14975 #include <time.h>
14978 main ()
14980 if ((struct tm *) 0)
14981 return 0;
14983 return 0;
14985 _ACEOF
14986 if ac_fn_c_try_compile "$LINENO"; then :
14987 ac_cv_header_time=yes
14988 else
14989 ac_cv_header_time=no
14991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
14994 $as_echo "$ac_cv_header_time" >&6; }
14995 if test $ac_cv_header_time = yes; then
14997 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
15001 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
15002 do :
15003 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15004 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15005 eval as_val=\$$as_ac_Header
15006 if test "x$as_val" = x""yes; then :
15007 cat >>confdefs.h <<_ACEOF
15008 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15009 _ACEOF
15013 done
15015 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
15016 do :
15017 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15018 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15019 eval as_val=\$$as_ac_Header
15020 if test "x$as_val" = x""yes; then :
15021 cat >>confdefs.h <<_ACEOF
15022 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15023 _ACEOF
15027 done
15029 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15030 do :
15031 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15032 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15033 eval as_val=\$$as_ac_Header
15034 if test "x$as_val" = x""yes; then :
15035 cat >>confdefs.h <<_ACEOF
15036 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15037 _ACEOF
15041 done
15043 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15044 do :
15045 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15046 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15047 eval as_val=\$$as_ac_Header
15048 if test "x$as_val" = x""yes; then :
15049 cat >>confdefs.h <<_ACEOF
15050 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15051 _ACEOF
15055 done
15057 ac_fn_c_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
15058 if test "x$ac_cv_header_complex_h" = x""yes; then :
15060 $as_echo "#define HAVE_COMPLEX_H 1" >>confdefs.h
15067 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15069 acx_cv_header_stdint=stddef.h
15070 acx_cv_header_stdint_kind="(already complete)"
15071 for i in stdint.h $inttype_headers; do
15072 unset ac_cv_type_uintptr_t
15073 unset ac_cv_type_uintmax_t
15074 unset ac_cv_type_int_least32_t
15075 unset ac_cv_type_int_fast32_t
15076 unset ac_cv_type_uint64_t
15077 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15078 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15079 #include <$i>
15081 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
15082 acx_cv_header_stdint=$i
15083 else
15084 continue
15087 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15088 #include <$i>
15090 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15092 else
15093 acx_cv_header_stdint_kind="(mostly complete)"
15096 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15097 #include <$i>
15099 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
15101 else
15102 acx_cv_header_stdint_kind="(mostly complete)"
15105 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15106 #include <$i>
15108 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
15110 else
15111 acx_cv_header_stdint_kind="(mostly complete)"
15114 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15115 #include <$i>
15117 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15119 else
15120 acx_cv_header_stdint_kind="(lacks uint64_t)"
15123 break
15124 done
15125 if test "$acx_cv_header_stdint" = stddef.h; then
15126 acx_cv_header_stdint_kind="(lacks uintmax_t)"
15127 for i in stdint.h $inttype_headers; do
15128 unset ac_cv_type_uintptr_t
15129 unset ac_cv_type_uint32_t
15130 unset ac_cv_type_uint64_t
15131 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15132 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15133 #include <$i>
15135 if test "x$ac_cv_type_uint32_t" = x""yes; then :
15136 acx_cv_header_stdint=$i
15137 else
15138 continue
15141 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15142 #include <$i>
15144 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15148 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15149 #include <$i>
15151 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15155 break
15156 done
15158 if test "$acx_cv_header_stdint" = stddef.h; then
15159 acx_cv_header_stdint_kind="(u_intXX_t style)"
15160 for i in sys/types.h $inttype_headers; do
15161 unset ac_cv_type_u_int32_t
15162 unset ac_cv_type_u_int64_t
15163 $as_echo_n "looking for u_intXX_t types in $i, " >&6
15164 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15165 #include <$i>
15167 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
15168 acx_cv_header_stdint=$i
15169 else
15170 continue
15173 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15174 #include <$i>
15176 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
15180 break
15181 done
15183 if test "$acx_cv_header_stdint" = stddef.h; then
15184 acx_cv_header_stdint_kind="(using manual detection)"
15187 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15188 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15189 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15190 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15191 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15193 # ----------------- Summarize what we found so far
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15196 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15198 case `$as_basename -- gstdint.h ||
15199 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15200 Xgstdint.h : 'X\(//\)$' \| \
15201 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15202 $as_echo X/gstdint.h |
15203 sed '/^.*\/\([^/][^/]*\)\/*$/{
15204 s//\1/
15207 /^X\/\(\/\/\)$/{
15208 s//\1/
15211 /^X\/\(\/\).*/{
15212 s//\1/
15215 s/.*/./; q'` in
15216 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15217 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15218 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15219 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15220 *) ;;
15221 esac
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15224 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15226 # ----------------- done included file, check C basic types --------
15228 # Lacking an uintptr_t? Test size of void *
15229 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15230 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
15231 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15232 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15233 # This bug is HP SR number 8606223364.
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15235 $as_echo_n "checking size of void *... " >&6; }
15236 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15237 $as_echo_n "(cached) " >&6
15238 else
15239 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15241 else
15242 if test "$ac_cv_type_void_p" = yes; then
15243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15245 { as_fn_set_status 77
15246 as_fn_error "cannot compute sizeof (void *)
15247 See \`config.log' for more details." "$LINENO" 5; }; }
15248 else
15249 ac_cv_sizeof_void_p=0
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15255 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15259 cat >>confdefs.h <<_ACEOF
15260 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15261 _ACEOF
15264 esac
15266 # Lacking an uint64_t? Test size of long
15267 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15268 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
15269 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15270 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15271 # This bug is HP SR number 8606223364.
15272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15273 $as_echo_n "checking size of long... " >&6; }
15274 if test "${ac_cv_sizeof_long+set}" = set; then :
15275 $as_echo_n "(cached) " >&6
15276 else
15277 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15279 else
15280 if test "$ac_cv_type_long" = yes; then
15281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15283 { as_fn_set_status 77
15284 as_fn_error "cannot compute sizeof (long)
15285 See \`config.log' for more details." "$LINENO" 5; }; }
15286 else
15287 ac_cv_sizeof_long=0
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15293 $as_echo "$ac_cv_sizeof_long" >&6; }
15297 cat >>confdefs.h <<_ACEOF
15298 #define SIZEOF_LONG $ac_cv_sizeof_long
15299 _ACEOF
15302 esac
15304 if test $acx_cv_header_stdint = stddef.h; then
15305 # Lacking a good header? Test size of everything and deduce all types.
15306 # The cast to long int works around a bug in the HP C Compiler
15307 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15308 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15309 # This bug is HP SR number 8606223364.
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15311 $as_echo_n "checking size of int... " >&6; }
15312 if test "${ac_cv_sizeof_int+set}" = set; then :
15313 $as_echo_n "(cached) " >&6
15314 else
15315 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
15317 else
15318 if test "$ac_cv_type_int" = yes; then
15319 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15321 { as_fn_set_status 77
15322 as_fn_error "cannot compute sizeof (int)
15323 See \`config.log' for more details." "$LINENO" 5; }; }
15324 else
15325 ac_cv_sizeof_int=0
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15331 $as_echo "$ac_cv_sizeof_int" >&6; }
15335 cat >>confdefs.h <<_ACEOF
15336 #define SIZEOF_INT $ac_cv_sizeof_int
15337 _ACEOF
15340 # The cast to long int works around a bug in the HP C Compiler
15341 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15342 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15343 # This bug is HP SR number 8606223364.
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15345 $as_echo_n "checking size of short... " >&6; }
15346 if test "${ac_cv_sizeof_short+set}" = set; then :
15347 $as_echo_n "(cached) " >&6
15348 else
15349 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
15351 else
15352 if test "$ac_cv_type_short" = yes; then
15353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15355 { as_fn_set_status 77
15356 as_fn_error "cannot compute sizeof (short)
15357 See \`config.log' for more details." "$LINENO" 5; }; }
15358 else
15359 ac_cv_sizeof_short=0
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15365 $as_echo "$ac_cv_sizeof_short" >&6; }
15369 cat >>confdefs.h <<_ACEOF
15370 #define SIZEOF_SHORT $ac_cv_sizeof_short
15371 _ACEOF
15374 # The cast to long int works around a bug in the HP C Compiler
15375 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15376 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15377 # This bug is HP SR number 8606223364.
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
15379 $as_echo_n "checking size of char... " >&6; }
15380 if test "${ac_cv_sizeof_char+set}" = set; then :
15381 $as_echo_n "(cached) " >&6
15382 else
15383 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
15385 else
15386 if test "$ac_cv_type_char" = yes; then
15387 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15389 { as_fn_set_status 77
15390 as_fn_error "cannot compute sizeof (char)
15391 See \`config.log' for more details." "$LINENO" 5; }; }
15392 else
15393 ac_cv_sizeof_char=0
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
15399 $as_echo "$ac_cv_sizeof_char" >&6; }
15403 cat >>confdefs.h <<_ACEOF
15404 #define SIZEOF_CHAR $ac_cv_sizeof_char
15405 _ACEOF
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
15410 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
15411 case "$ac_cv_sizeof_char" in
15412 1) acx_cv_type_int8_t=char ;;
15413 *) { as_fn_set_status please report a bug
15414 as_fn_error "no 8-bit type" "$LINENO" 5; }
15415 esac
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
15417 $as_echo "$acx_cv_type_int8_t" >&6; }
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
15420 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
15421 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15422 2:*) acx_cv_type_int16_t=int ;;
15423 *:2) acx_cv_type_int16_t=short ;;
15424 *) { as_fn_set_status please report a bug
15425 as_fn_error "no 16-bit type" "$LINENO" 5; }
15426 esac
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
15428 $as_echo "$acx_cv_type_int16_t" >&6; }
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
15431 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
15432 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15433 4:*) acx_cv_type_int32_t=int ;;
15434 *:4) acx_cv_type_int32_t=long ;;
15435 *) { as_fn_set_status please report a bug
15436 as_fn_error "no 32-bit type" "$LINENO" 5; }
15437 esac
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
15439 $as_echo "$acx_cv_type_int32_t" >&6; }
15442 # These tests are here to make the output prettier
15444 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15445 case "$ac_cv_sizeof_long" in
15446 8) acx_cv_type_int64_t=long ;;
15447 esac
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
15449 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15451 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
15454 # Now we can use the above types
15456 if test "$ac_cv_type_uintptr_t" != yes; then
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
15458 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
15459 case $ac_cv_sizeof_void_p in
15460 2) acx_cv_type_intptr_t=int16_t ;;
15461 4) acx_cv_type_intptr_t=int32_t ;;
15462 8) acx_cv_type_intptr_t=int64_t ;;
15463 *) { as_fn_set_status please report a bug
15464 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
15465 esac
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
15467 $as_echo "$acx_cv_type_intptr_t" >&6; }
15470 # ----------------- done all checks, emit header -------------
15471 ac_config_commands="$ac_config_commands gstdint.h"
15476 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
15477 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
15479 cat >>confdefs.h <<_ACEOF
15480 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15481 _ACEOF
15486 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15487 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
15489 cat >>confdefs.h <<_ACEOF
15490 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15491 _ACEOF
15496 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
15497 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
15499 cat >>confdefs.h <<_ACEOF
15500 #define HAVE_STRUCT_STAT_ST_RDEV 1
15501 _ACEOF
15507 # Check for library functions.
15508 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
15509 do :
15510 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15511 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15512 eval as_val=\$$as_ac_var
15513 if test "x$as_val" = x""yes; then :
15514 cat >>confdefs.h <<_ACEOF
15515 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15516 _ACEOF
15519 done
15521 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
15522 do :
15523 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15524 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15525 eval as_val=\$$as_ac_var
15526 if test "x$as_val" = x""yes; then :
15527 cat >>confdefs.h <<_ACEOF
15528 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15529 _ACEOF
15532 done
15534 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
15535 do :
15536 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15537 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15538 eval as_val=\$$as_ac_var
15539 if test "x$as_val" = x""yes; then :
15540 cat >>confdefs.h <<_ACEOF
15541 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15542 _ACEOF
15545 done
15547 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
15548 do :
15549 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15550 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15551 eval as_val=\$$as_ac_var
15552 if test "x$as_val" = x""yes; then :
15553 cat >>confdefs.h <<_ACEOF
15554 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15555 _ACEOF
15558 done
15560 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
15561 do :
15562 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15563 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15564 eval as_val=\$$as_ac_var
15565 if test "x$as_val" = x""yes; then :
15566 cat >>confdefs.h <<_ACEOF
15567 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15568 _ACEOF
15571 done
15573 for ac_func in localtime_r gmtime_r
15574 do :
15575 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15576 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15577 eval as_val=\$$as_ac_var
15578 if test "x$as_val" = x""yes; then :
15579 cat >>confdefs.h <<_ACEOF
15580 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15581 _ACEOF
15584 done
15587 # Check for glibc backtrace functions
15588 for ac_func in backtrace backtrace_symbols
15589 do :
15590 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15591 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15592 eval as_val=\$$as_ac_var
15593 if test "x$as_val" = x""yes; then :
15594 cat >>confdefs.h <<_ACEOF
15595 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15596 _ACEOF
15599 done
15602 # Check for types
15603 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15604 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15606 cat >>confdefs.h <<_ACEOF
15607 #define HAVE_INTPTR_T 1
15608 _ACEOF
15613 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15614 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15616 cat >>confdefs.h <<_ACEOF
15617 #define HAVE_UINTPTR_T 1
15618 _ACEOF
15624 # Check libc for getgid, getpid, getuid
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
15626 $as_echo_n "checking for getgid in -lc... " >&6; }
15627 if test "${ac_cv_lib_c_getgid+set}" = set; then :
15628 $as_echo_n "(cached) " >&6
15629 else
15630 ac_check_lib_save_LIBS=$LIBS
15631 LIBS="-lc $LIBS"
15632 if test x$gcc_no_link = xyes; then
15633 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15636 /* end confdefs.h. */
15638 /* Override any GCC internal prototype to avoid an error.
15639 Use char because int might match the return type of a GCC
15640 builtin and then its argument prototype would still apply. */
15641 #ifdef __cplusplus
15642 extern "C"
15643 #endif
15644 char getgid ();
15646 main ()
15648 return getgid ();
15650 return 0;
15652 _ACEOF
15653 if ac_fn_c_try_link "$LINENO"; then :
15654 ac_cv_lib_c_getgid=yes
15655 else
15656 ac_cv_lib_c_getgid=no
15658 rm -f core conftest.err conftest.$ac_objext \
15659 conftest$ac_exeext conftest.$ac_ext
15660 LIBS=$ac_check_lib_save_LIBS
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
15663 $as_echo "$ac_cv_lib_c_getgid" >&6; }
15664 if test "x$ac_cv_lib_c_getgid" = x""yes; then :
15666 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
15671 $as_echo_n "checking for getpid in -lc... " >&6; }
15672 if test "${ac_cv_lib_c_getpid+set}" = set; then :
15673 $as_echo_n "(cached) " >&6
15674 else
15675 ac_check_lib_save_LIBS=$LIBS
15676 LIBS="-lc $LIBS"
15677 if test x$gcc_no_link = xyes; then
15678 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15681 /* end confdefs.h. */
15683 /* Override any GCC internal prototype to avoid an error.
15684 Use char because int might match the return type of a GCC
15685 builtin and then its argument prototype would still apply. */
15686 #ifdef __cplusplus
15687 extern "C"
15688 #endif
15689 char getpid ();
15691 main ()
15693 return getpid ();
15695 return 0;
15697 _ACEOF
15698 if ac_fn_c_try_link "$LINENO"; then :
15699 ac_cv_lib_c_getpid=yes
15700 else
15701 ac_cv_lib_c_getpid=no
15703 rm -f core conftest.err conftest.$ac_objext \
15704 conftest$ac_exeext conftest.$ac_ext
15705 LIBS=$ac_check_lib_save_LIBS
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
15708 $as_echo "$ac_cv_lib_c_getpid" >&6; }
15709 if test "x$ac_cv_lib_c_getpid" = x""yes; then :
15711 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getppid in -lc" >&5
15716 $as_echo_n "checking for getppid in -lc... " >&6; }
15717 if test "${ac_cv_lib_c_getppid+set}" = set; then :
15718 $as_echo_n "(cached) " >&6
15719 else
15720 ac_check_lib_save_LIBS=$LIBS
15721 LIBS="-lc $LIBS"
15722 if test x$gcc_no_link = xyes; then
15723 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15726 /* end confdefs.h. */
15728 /* Override any GCC internal prototype to avoid an error.
15729 Use char because int might match the return type of a GCC
15730 builtin and then its argument prototype would still apply. */
15731 #ifdef __cplusplus
15732 extern "C"
15733 #endif
15734 char getppid ();
15736 main ()
15738 return getppid ();
15740 return 0;
15742 _ACEOF
15743 if ac_fn_c_try_link "$LINENO"; then :
15744 ac_cv_lib_c_getppid=yes
15745 else
15746 ac_cv_lib_c_getppid=no
15748 rm -f core conftest.err conftest.$ac_objext \
15749 conftest$ac_exeext conftest.$ac_ext
15750 LIBS=$ac_check_lib_save_LIBS
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getppid" >&5
15753 $as_echo "$ac_cv_lib_c_getppid" >&6; }
15754 if test "x$ac_cv_lib_c_getppid" = x""yes; then :
15756 $as_echo "#define HAVE_GETPPID 1" >>confdefs.h
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
15761 $as_echo_n "checking for getuid in -lc... " >&6; }
15762 if test "${ac_cv_lib_c_getuid+set}" = set; then :
15763 $as_echo_n "(cached) " >&6
15764 else
15765 ac_check_lib_save_LIBS=$LIBS
15766 LIBS="-lc $LIBS"
15767 if test x$gcc_no_link = xyes; then
15768 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15771 /* end confdefs.h. */
15773 /* Override any GCC internal prototype to avoid an error.
15774 Use char because int might match the return type of a GCC
15775 builtin and then its argument prototype would still apply. */
15776 #ifdef __cplusplus
15777 extern "C"
15778 #endif
15779 char getuid ();
15781 main ()
15783 return getuid ();
15785 return 0;
15787 _ACEOF
15788 if ac_fn_c_try_link "$LINENO"; then :
15789 ac_cv_lib_c_getuid=yes
15790 else
15791 ac_cv_lib_c_getuid=no
15793 rm -f core conftest.err conftest.$ac_objext \
15794 conftest$ac_exeext conftest.$ac_ext
15795 LIBS=$ac_check_lib_save_LIBS
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
15798 $as_echo "$ac_cv_lib_c_getuid" >&6; }
15799 if test "x$ac_cv_lib_c_getuid" = x""yes; then :
15801 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geteuid in -lc" >&5
15806 $as_echo_n "checking for geteuid in -lc... " >&6; }
15807 if test "${ac_cv_lib_c_geteuid+set}" = set; then :
15808 $as_echo_n "(cached) " >&6
15809 else
15810 ac_check_lib_save_LIBS=$LIBS
15811 LIBS="-lc $LIBS"
15812 if test x$gcc_no_link = xyes; then
15813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15816 /* end confdefs.h. */
15818 /* Override any GCC internal prototype to avoid an error.
15819 Use char because int might match the return type of a GCC
15820 builtin and then its argument prototype would still apply. */
15821 #ifdef __cplusplus
15822 extern "C"
15823 #endif
15824 char geteuid ();
15826 main ()
15828 return geteuid ();
15830 return 0;
15832 _ACEOF
15833 if ac_fn_c_try_link "$LINENO"; then :
15834 ac_cv_lib_c_geteuid=yes
15835 else
15836 ac_cv_lib_c_geteuid=no
15838 rm -f core conftest.err conftest.$ac_objext \
15839 conftest$ac_exeext conftest.$ac_ext
15840 LIBS=$ac_check_lib_save_LIBS
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_geteuid" >&5
15843 $as_echo "$ac_cv_lib_c_geteuid" >&6; }
15844 if test "x$ac_cv_lib_c_geteuid" = x""yes; then :
15846 $as_echo "#define HAVE_GETEUID 1" >>confdefs.h
15851 # Check for C99 (and other IEEE) math functions
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
15853 $as_echo_n "checking for acosf in -lm... " >&6; }
15854 if test "${ac_cv_lib_m_acosf+set}" = set; then :
15855 $as_echo_n "(cached) " >&6
15856 else
15857 ac_check_lib_save_LIBS=$LIBS
15858 LIBS="-lm $LIBS"
15859 if test x$gcc_no_link = xyes; then
15860 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15863 /* end confdefs.h. */
15865 /* Override any GCC internal prototype to avoid an error.
15866 Use char because int might match the return type of a GCC
15867 builtin and then its argument prototype would still apply. */
15868 #ifdef __cplusplus
15869 extern "C"
15870 #endif
15871 char acosf ();
15873 main ()
15875 return acosf ();
15877 return 0;
15879 _ACEOF
15880 if ac_fn_c_try_link "$LINENO"; then :
15881 ac_cv_lib_m_acosf=yes
15882 else
15883 ac_cv_lib_m_acosf=no
15885 rm -f core conftest.err conftest.$ac_objext \
15886 conftest$ac_exeext conftest.$ac_ext
15887 LIBS=$ac_check_lib_save_LIBS
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
15890 $as_echo "$ac_cv_lib_m_acosf" >&6; }
15891 if test "x$ac_cv_lib_m_acosf" = x""yes; then :
15893 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
15898 $as_echo_n "checking for acos in -lm... " >&6; }
15899 if test "${ac_cv_lib_m_acos+set}" = set; then :
15900 $as_echo_n "(cached) " >&6
15901 else
15902 ac_check_lib_save_LIBS=$LIBS
15903 LIBS="-lm $LIBS"
15904 if test x$gcc_no_link = xyes; then
15905 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15908 /* end confdefs.h. */
15910 /* Override any GCC internal prototype to avoid an error.
15911 Use char because int might match the return type of a GCC
15912 builtin and then its argument prototype would still apply. */
15913 #ifdef __cplusplus
15914 extern "C"
15915 #endif
15916 char acos ();
15918 main ()
15920 return acos ();
15922 return 0;
15924 _ACEOF
15925 if ac_fn_c_try_link "$LINENO"; then :
15926 ac_cv_lib_m_acos=yes
15927 else
15928 ac_cv_lib_m_acos=no
15930 rm -f core conftest.err conftest.$ac_objext \
15931 conftest$ac_exeext conftest.$ac_ext
15932 LIBS=$ac_check_lib_save_LIBS
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
15935 $as_echo "$ac_cv_lib_m_acos" >&6; }
15936 if test "x$ac_cv_lib_m_acos" = x""yes; then :
15938 $as_echo "#define HAVE_ACOS 1" >>confdefs.h
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
15943 $as_echo_n "checking for acosl in -lm... " >&6; }
15944 if test "${ac_cv_lib_m_acosl+set}" = set; then :
15945 $as_echo_n "(cached) " >&6
15946 else
15947 ac_check_lib_save_LIBS=$LIBS
15948 LIBS="-lm $LIBS"
15949 if test x$gcc_no_link = xyes; then
15950 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15953 /* end confdefs.h. */
15955 /* Override any GCC internal prototype to avoid an error.
15956 Use char because int might match the return type of a GCC
15957 builtin and then its argument prototype would still apply. */
15958 #ifdef __cplusplus
15959 extern "C"
15960 #endif
15961 char acosl ();
15963 main ()
15965 return acosl ();
15967 return 0;
15969 _ACEOF
15970 if ac_fn_c_try_link "$LINENO"; then :
15971 ac_cv_lib_m_acosl=yes
15972 else
15973 ac_cv_lib_m_acosl=no
15975 rm -f core conftest.err conftest.$ac_objext \
15976 conftest$ac_exeext conftest.$ac_ext
15977 LIBS=$ac_check_lib_save_LIBS
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosl" >&5
15980 $as_echo "$ac_cv_lib_m_acosl" >&6; }
15981 if test "x$ac_cv_lib_m_acosl" = x""yes; then :
15983 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
15988 $as_echo_n "checking for acoshf in -lm... " >&6; }
15989 if test "${ac_cv_lib_m_acoshf+set}" = set; then :
15990 $as_echo_n "(cached) " >&6
15991 else
15992 ac_check_lib_save_LIBS=$LIBS
15993 LIBS="-lm $LIBS"
15994 if test x$gcc_no_link = xyes; then
15995 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15998 /* end confdefs.h. */
16000 /* Override any GCC internal prototype to avoid an error.
16001 Use char because int might match the return type of a GCC
16002 builtin and then its argument prototype would still apply. */
16003 #ifdef __cplusplus
16004 extern "C"
16005 #endif
16006 char acoshf ();
16008 main ()
16010 return acoshf ();
16012 return 0;
16014 _ACEOF
16015 if ac_fn_c_try_link "$LINENO"; then :
16016 ac_cv_lib_m_acoshf=yes
16017 else
16018 ac_cv_lib_m_acoshf=no
16020 rm -f core conftest.err conftest.$ac_objext \
16021 conftest$ac_exeext conftest.$ac_ext
16022 LIBS=$ac_check_lib_save_LIBS
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshf" >&5
16025 $as_echo "$ac_cv_lib_m_acoshf" >&6; }
16026 if test "x$ac_cv_lib_m_acoshf" = x""yes; then :
16028 $as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16033 $as_echo_n "checking for acosh in -lm... " >&6; }
16034 if test "${ac_cv_lib_m_acosh+set}" = set; then :
16035 $as_echo_n "(cached) " >&6
16036 else
16037 ac_check_lib_save_LIBS=$LIBS
16038 LIBS="-lm $LIBS"
16039 if test x$gcc_no_link = xyes; then
16040 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16043 /* end confdefs.h. */
16045 /* Override any GCC internal prototype to avoid an error.
16046 Use char because int might match the return type of a GCC
16047 builtin and then its argument prototype would still apply. */
16048 #ifdef __cplusplus
16049 extern "C"
16050 #endif
16051 char acosh ();
16053 main ()
16055 return acosh ();
16057 return 0;
16059 _ACEOF
16060 if ac_fn_c_try_link "$LINENO"; then :
16061 ac_cv_lib_m_acosh=yes
16062 else
16063 ac_cv_lib_m_acosh=no
16065 rm -f core conftest.err conftest.$ac_objext \
16066 conftest$ac_exeext conftest.$ac_ext
16067 LIBS=$ac_check_lib_save_LIBS
16069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosh" >&5
16070 $as_echo "$ac_cv_lib_m_acosh" >&6; }
16071 if test "x$ac_cv_lib_m_acosh" = x""yes; then :
16073 $as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16078 $as_echo_n "checking for acoshl in -lm... " >&6; }
16079 if test "${ac_cv_lib_m_acoshl+set}" = set; then :
16080 $as_echo_n "(cached) " >&6
16081 else
16082 ac_check_lib_save_LIBS=$LIBS
16083 LIBS="-lm $LIBS"
16084 if test x$gcc_no_link = xyes; then
16085 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16088 /* end confdefs.h. */
16090 /* Override any GCC internal prototype to avoid an error.
16091 Use char because int might match the return type of a GCC
16092 builtin and then its argument prototype would still apply. */
16093 #ifdef __cplusplus
16094 extern "C"
16095 #endif
16096 char acoshl ();
16098 main ()
16100 return acoshl ();
16102 return 0;
16104 _ACEOF
16105 if ac_fn_c_try_link "$LINENO"; then :
16106 ac_cv_lib_m_acoshl=yes
16107 else
16108 ac_cv_lib_m_acoshl=no
16110 rm -f core conftest.err conftest.$ac_objext \
16111 conftest$ac_exeext conftest.$ac_ext
16112 LIBS=$ac_check_lib_save_LIBS
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshl" >&5
16115 $as_echo "$ac_cv_lib_m_acoshl" >&6; }
16116 if test "x$ac_cv_lib_m_acoshl" = x""yes; then :
16118 $as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16123 $as_echo_n "checking for asinf in -lm... " >&6; }
16124 if test "${ac_cv_lib_m_asinf+set}" = set; then :
16125 $as_echo_n "(cached) " >&6
16126 else
16127 ac_check_lib_save_LIBS=$LIBS
16128 LIBS="-lm $LIBS"
16129 if test x$gcc_no_link = xyes; then
16130 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16133 /* end confdefs.h. */
16135 /* Override any GCC internal prototype to avoid an error.
16136 Use char because int might match the return type of a GCC
16137 builtin and then its argument prototype would still apply. */
16138 #ifdef __cplusplus
16139 extern "C"
16140 #endif
16141 char asinf ();
16143 main ()
16145 return asinf ();
16147 return 0;
16149 _ACEOF
16150 if ac_fn_c_try_link "$LINENO"; then :
16151 ac_cv_lib_m_asinf=yes
16152 else
16153 ac_cv_lib_m_asinf=no
16155 rm -f core conftest.err conftest.$ac_objext \
16156 conftest$ac_exeext conftest.$ac_ext
16157 LIBS=$ac_check_lib_save_LIBS
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinf" >&5
16160 $as_echo "$ac_cv_lib_m_asinf" >&6; }
16161 if test "x$ac_cv_lib_m_asinf" = x""yes; then :
16163 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16168 $as_echo_n "checking for asin in -lm... " >&6; }
16169 if test "${ac_cv_lib_m_asin+set}" = set; then :
16170 $as_echo_n "(cached) " >&6
16171 else
16172 ac_check_lib_save_LIBS=$LIBS
16173 LIBS="-lm $LIBS"
16174 if test x$gcc_no_link = xyes; then
16175 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16178 /* end confdefs.h. */
16180 /* Override any GCC internal prototype to avoid an error.
16181 Use char because int might match the return type of a GCC
16182 builtin and then its argument prototype would still apply. */
16183 #ifdef __cplusplus
16184 extern "C"
16185 #endif
16186 char asin ();
16188 main ()
16190 return asin ();
16192 return 0;
16194 _ACEOF
16195 if ac_fn_c_try_link "$LINENO"; then :
16196 ac_cv_lib_m_asin=yes
16197 else
16198 ac_cv_lib_m_asin=no
16200 rm -f core conftest.err conftest.$ac_objext \
16201 conftest$ac_exeext conftest.$ac_ext
16202 LIBS=$ac_check_lib_save_LIBS
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5
16205 $as_echo "$ac_cv_lib_m_asin" >&6; }
16206 if test "x$ac_cv_lib_m_asin" = x""yes; then :
16208 $as_echo "#define HAVE_ASIN 1" >>confdefs.h
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
16213 $as_echo_n "checking for asinl in -lm... " >&6; }
16214 if test "${ac_cv_lib_m_asinl+set}" = set; then :
16215 $as_echo_n "(cached) " >&6
16216 else
16217 ac_check_lib_save_LIBS=$LIBS
16218 LIBS="-lm $LIBS"
16219 if test x$gcc_no_link = xyes; then
16220 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16223 /* end confdefs.h. */
16225 /* Override any GCC internal prototype to avoid an error.
16226 Use char because int might match the return type of a GCC
16227 builtin and then its argument prototype would still apply. */
16228 #ifdef __cplusplus
16229 extern "C"
16230 #endif
16231 char asinl ();
16233 main ()
16235 return asinl ();
16237 return 0;
16239 _ACEOF
16240 if ac_fn_c_try_link "$LINENO"; then :
16241 ac_cv_lib_m_asinl=yes
16242 else
16243 ac_cv_lib_m_asinl=no
16245 rm -f core conftest.err conftest.$ac_objext \
16246 conftest$ac_exeext conftest.$ac_ext
16247 LIBS=$ac_check_lib_save_LIBS
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinl" >&5
16250 $as_echo "$ac_cv_lib_m_asinl" >&6; }
16251 if test "x$ac_cv_lib_m_asinl" = x""yes; then :
16253 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
16258 $as_echo_n "checking for asinhf in -lm... " >&6; }
16259 if test "${ac_cv_lib_m_asinhf+set}" = set; then :
16260 $as_echo_n "(cached) " >&6
16261 else
16262 ac_check_lib_save_LIBS=$LIBS
16263 LIBS="-lm $LIBS"
16264 if test x$gcc_no_link = xyes; then
16265 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16268 /* end confdefs.h. */
16270 /* Override any GCC internal prototype to avoid an error.
16271 Use char because int might match the return type of a GCC
16272 builtin and then its argument prototype would still apply. */
16273 #ifdef __cplusplus
16274 extern "C"
16275 #endif
16276 char asinhf ();
16278 main ()
16280 return asinhf ();
16282 return 0;
16284 _ACEOF
16285 if ac_fn_c_try_link "$LINENO"; then :
16286 ac_cv_lib_m_asinhf=yes
16287 else
16288 ac_cv_lib_m_asinhf=no
16290 rm -f core conftest.err conftest.$ac_objext \
16291 conftest$ac_exeext conftest.$ac_ext
16292 LIBS=$ac_check_lib_save_LIBS
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhf" >&5
16295 $as_echo "$ac_cv_lib_m_asinhf" >&6; }
16296 if test "x$ac_cv_lib_m_asinhf" = x""yes; then :
16298 $as_echo "#define HAVE_ASINHF 1" >>confdefs.h
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
16303 $as_echo_n "checking for asinh in -lm... " >&6; }
16304 if test "${ac_cv_lib_m_asinh+set}" = set; then :
16305 $as_echo_n "(cached) " >&6
16306 else
16307 ac_check_lib_save_LIBS=$LIBS
16308 LIBS="-lm $LIBS"
16309 if test x$gcc_no_link = xyes; then
16310 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16313 /* end confdefs.h. */
16315 /* Override any GCC internal prototype to avoid an error.
16316 Use char because int might match the return type of a GCC
16317 builtin and then its argument prototype would still apply. */
16318 #ifdef __cplusplus
16319 extern "C"
16320 #endif
16321 char asinh ();
16323 main ()
16325 return asinh ();
16327 return 0;
16329 _ACEOF
16330 if ac_fn_c_try_link "$LINENO"; then :
16331 ac_cv_lib_m_asinh=yes
16332 else
16333 ac_cv_lib_m_asinh=no
16335 rm -f core conftest.err conftest.$ac_objext \
16336 conftest$ac_exeext conftest.$ac_ext
16337 LIBS=$ac_check_lib_save_LIBS
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinh" >&5
16340 $as_echo "$ac_cv_lib_m_asinh" >&6; }
16341 if test "x$ac_cv_lib_m_asinh" = x""yes; then :
16343 $as_echo "#define HAVE_ASINH 1" >>confdefs.h
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
16348 $as_echo_n "checking for asinhl in -lm... " >&6; }
16349 if test "${ac_cv_lib_m_asinhl+set}" = set; then :
16350 $as_echo_n "(cached) " >&6
16351 else
16352 ac_check_lib_save_LIBS=$LIBS
16353 LIBS="-lm $LIBS"
16354 if test x$gcc_no_link = xyes; then
16355 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16358 /* end confdefs.h. */
16360 /* Override any GCC internal prototype to avoid an error.
16361 Use char because int might match the return type of a GCC
16362 builtin and then its argument prototype would still apply. */
16363 #ifdef __cplusplus
16364 extern "C"
16365 #endif
16366 char asinhl ();
16368 main ()
16370 return asinhl ();
16372 return 0;
16374 _ACEOF
16375 if ac_fn_c_try_link "$LINENO"; then :
16376 ac_cv_lib_m_asinhl=yes
16377 else
16378 ac_cv_lib_m_asinhl=no
16380 rm -f core conftest.err conftest.$ac_objext \
16381 conftest$ac_exeext conftest.$ac_ext
16382 LIBS=$ac_check_lib_save_LIBS
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhl" >&5
16385 $as_echo "$ac_cv_lib_m_asinhl" >&6; }
16386 if test "x$ac_cv_lib_m_asinhl" = x""yes; then :
16388 $as_echo "#define HAVE_ASINHL 1" >>confdefs.h
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
16393 $as_echo_n "checking for atan2f in -lm... " >&6; }
16394 if test "${ac_cv_lib_m_atan2f+set}" = set; then :
16395 $as_echo_n "(cached) " >&6
16396 else
16397 ac_check_lib_save_LIBS=$LIBS
16398 LIBS="-lm $LIBS"
16399 if test x$gcc_no_link = xyes; then
16400 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16403 /* end confdefs.h. */
16405 /* Override any GCC internal prototype to avoid an error.
16406 Use char because int might match the return type of a GCC
16407 builtin and then its argument prototype would still apply. */
16408 #ifdef __cplusplus
16409 extern "C"
16410 #endif
16411 char atan2f ();
16413 main ()
16415 return atan2f ();
16417 return 0;
16419 _ACEOF
16420 if ac_fn_c_try_link "$LINENO"; then :
16421 ac_cv_lib_m_atan2f=yes
16422 else
16423 ac_cv_lib_m_atan2f=no
16425 rm -f core conftest.err conftest.$ac_objext \
16426 conftest$ac_exeext conftest.$ac_ext
16427 LIBS=$ac_check_lib_save_LIBS
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2f" >&5
16430 $as_echo "$ac_cv_lib_m_atan2f" >&6; }
16431 if test "x$ac_cv_lib_m_atan2f" = x""yes; then :
16433 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
16438 $as_echo_n "checking for atan2 in -lm... " >&6; }
16439 if test "${ac_cv_lib_m_atan2+set}" = set; then :
16440 $as_echo_n "(cached) " >&6
16441 else
16442 ac_check_lib_save_LIBS=$LIBS
16443 LIBS="-lm $LIBS"
16444 if test x$gcc_no_link = xyes; then
16445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16448 /* end confdefs.h. */
16450 /* Override any GCC internal prototype to avoid an error.
16451 Use char because int might match the return type of a GCC
16452 builtin and then its argument prototype would still apply. */
16453 #ifdef __cplusplus
16454 extern "C"
16455 #endif
16456 char atan2 ();
16458 main ()
16460 return atan2 ();
16462 return 0;
16464 _ACEOF
16465 if ac_fn_c_try_link "$LINENO"; then :
16466 ac_cv_lib_m_atan2=yes
16467 else
16468 ac_cv_lib_m_atan2=no
16470 rm -f core conftest.err conftest.$ac_objext \
16471 conftest$ac_exeext conftest.$ac_ext
16472 LIBS=$ac_check_lib_save_LIBS
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
16475 $as_echo "$ac_cv_lib_m_atan2" >&6; }
16476 if test "x$ac_cv_lib_m_atan2" = x""yes; then :
16478 $as_echo "#define HAVE_ATAN2 1" >>confdefs.h
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
16483 $as_echo_n "checking for atan2l in -lm... " >&6; }
16484 if test "${ac_cv_lib_m_atan2l+set}" = set; then :
16485 $as_echo_n "(cached) " >&6
16486 else
16487 ac_check_lib_save_LIBS=$LIBS
16488 LIBS="-lm $LIBS"
16489 if test x$gcc_no_link = xyes; then
16490 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16493 /* end confdefs.h. */
16495 /* Override any GCC internal prototype to avoid an error.
16496 Use char because int might match the return type of a GCC
16497 builtin and then its argument prototype would still apply. */
16498 #ifdef __cplusplus
16499 extern "C"
16500 #endif
16501 char atan2l ();
16503 main ()
16505 return atan2l ();
16507 return 0;
16509 _ACEOF
16510 if ac_fn_c_try_link "$LINENO"; then :
16511 ac_cv_lib_m_atan2l=yes
16512 else
16513 ac_cv_lib_m_atan2l=no
16515 rm -f core conftest.err conftest.$ac_objext \
16516 conftest$ac_exeext conftest.$ac_ext
16517 LIBS=$ac_check_lib_save_LIBS
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2l" >&5
16520 $as_echo "$ac_cv_lib_m_atan2l" >&6; }
16521 if test "x$ac_cv_lib_m_atan2l" = x""yes; then :
16523 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
16528 $as_echo_n "checking for atanf in -lm... " >&6; }
16529 if test "${ac_cv_lib_m_atanf+set}" = set; then :
16530 $as_echo_n "(cached) " >&6
16531 else
16532 ac_check_lib_save_LIBS=$LIBS
16533 LIBS="-lm $LIBS"
16534 if test x$gcc_no_link = xyes; then
16535 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16538 /* end confdefs.h. */
16540 /* Override any GCC internal prototype to avoid an error.
16541 Use char because int might match the return type of a GCC
16542 builtin and then its argument prototype would still apply. */
16543 #ifdef __cplusplus
16544 extern "C"
16545 #endif
16546 char atanf ();
16548 main ()
16550 return atanf ();
16552 return 0;
16554 _ACEOF
16555 if ac_fn_c_try_link "$LINENO"; then :
16556 ac_cv_lib_m_atanf=yes
16557 else
16558 ac_cv_lib_m_atanf=no
16560 rm -f core conftest.err conftest.$ac_objext \
16561 conftest$ac_exeext conftest.$ac_ext
16562 LIBS=$ac_check_lib_save_LIBS
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanf" >&5
16565 $as_echo "$ac_cv_lib_m_atanf" >&6; }
16566 if test "x$ac_cv_lib_m_atanf" = x""yes; then :
16568 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
16573 $as_echo_n "checking for atan in -lm... " >&6; }
16574 if test "${ac_cv_lib_m_atan+set}" = set; then :
16575 $as_echo_n "(cached) " >&6
16576 else
16577 ac_check_lib_save_LIBS=$LIBS
16578 LIBS="-lm $LIBS"
16579 if test x$gcc_no_link = xyes; then
16580 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16583 /* end confdefs.h. */
16585 /* Override any GCC internal prototype to avoid an error.
16586 Use char because int might match the return type of a GCC
16587 builtin and then its argument prototype would still apply. */
16588 #ifdef __cplusplus
16589 extern "C"
16590 #endif
16591 char atan ();
16593 main ()
16595 return atan ();
16597 return 0;
16599 _ACEOF
16600 if ac_fn_c_try_link "$LINENO"; then :
16601 ac_cv_lib_m_atan=yes
16602 else
16603 ac_cv_lib_m_atan=no
16605 rm -f core conftest.err conftest.$ac_objext \
16606 conftest$ac_exeext conftest.$ac_ext
16607 LIBS=$ac_check_lib_save_LIBS
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5
16610 $as_echo "$ac_cv_lib_m_atan" >&6; }
16611 if test "x$ac_cv_lib_m_atan" = x""yes; then :
16613 $as_echo "#define HAVE_ATAN 1" >>confdefs.h
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
16618 $as_echo_n "checking for atanl in -lm... " >&6; }
16619 if test "${ac_cv_lib_m_atanl+set}" = set; then :
16620 $as_echo_n "(cached) " >&6
16621 else
16622 ac_check_lib_save_LIBS=$LIBS
16623 LIBS="-lm $LIBS"
16624 if test x$gcc_no_link = xyes; then
16625 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16628 /* end confdefs.h. */
16630 /* Override any GCC internal prototype to avoid an error.
16631 Use char because int might match the return type of a GCC
16632 builtin and then its argument prototype would still apply. */
16633 #ifdef __cplusplus
16634 extern "C"
16635 #endif
16636 char atanl ();
16638 main ()
16640 return atanl ();
16642 return 0;
16644 _ACEOF
16645 if ac_fn_c_try_link "$LINENO"; then :
16646 ac_cv_lib_m_atanl=yes
16647 else
16648 ac_cv_lib_m_atanl=no
16650 rm -f core conftest.err conftest.$ac_objext \
16651 conftest$ac_exeext conftest.$ac_ext
16652 LIBS=$ac_check_lib_save_LIBS
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanl" >&5
16655 $as_echo "$ac_cv_lib_m_atanl" >&6; }
16656 if test "x$ac_cv_lib_m_atanl" = x""yes; then :
16658 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
16663 $as_echo_n "checking for atanhf in -lm... " >&6; }
16664 if test "${ac_cv_lib_m_atanhf+set}" = set; then :
16665 $as_echo_n "(cached) " >&6
16666 else
16667 ac_check_lib_save_LIBS=$LIBS
16668 LIBS="-lm $LIBS"
16669 if test x$gcc_no_link = xyes; then
16670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16673 /* end confdefs.h. */
16675 /* Override any GCC internal prototype to avoid an error.
16676 Use char because int might match the return type of a GCC
16677 builtin and then its argument prototype would still apply. */
16678 #ifdef __cplusplus
16679 extern "C"
16680 #endif
16681 char atanhf ();
16683 main ()
16685 return atanhf ();
16687 return 0;
16689 _ACEOF
16690 if ac_fn_c_try_link "$LINENO"; then :
16691 ac_cv_lib_m_atanhf=yes
16692 else
16693 ac_cv_lib_m_atanhf=no
16695 rm -f core conftest.err conftest.$ac_objext \
16696 conftest$ac_exeext conftest.$ac_ext
16697 LIBS=$ac_check_lib_save_LIBS
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhf" >&5
16700 $as_echo "$ac_cv_lib_m_atanhf" >&6; }
16701 if test "x$ac_cv_lib_m_atanhf" = x""yes; then :
16703 $as_echo "#define HAVE_ATANHF 1" >>confdefs.h
16707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
16708 $as_echo_n "checking for atanh in -lm... " >&6; }
16709 if test "${ac_cv_lib_m_atanh+set}" = set; then :
16710 $as_echo_n "(cached) " >&6
16711 else
16712 ac_check_lib_save_LIBS=$LIBS
16713 LIBS="-lm $LIBS"
16714 if test x$gcc_no_link = xyes; then
16715 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16718 /* end confdefs.h. */
16720 /* Override any GCC internal prototype to avoid an error.
16721 Use char because int might match the return type of a GCC
16722 builtin and then its argument prototype would still apply. */
16723 #ifdef __cplusplus
16724 extern "C"
16725 #endif
16726 char atanh ();
16728 main ()
16730 return atanh ();
16732 return 0;
16734 _ACEOF
16735 if ac_fn_c_try_link "$LINENO"; then :
16736 ac_cv_lib_m_atanh=yes
16737 else
16738 ac_cv_lib_m_atanh=no
16740 rm -f core conftest.err conftest.$ac_objext \
16741 conftest$ac_exeext conftest.$ac_ext
16742 LIBS=$ac_check_lib_save_LIBS
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanh" >&5
16745 $as_echo "$ac_cv_lib_m_atanh" >&6; }
16746 if test "x$ac_cv_lib_m_atanh" = x""yes; then :
16748 $as_echo "#define HAVE_ATANH 1" >>confdefs.h
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
16753 $as_echo_n "checking for atanhl in -lm... " >&6; }
16754 if test "${ac_cv_lib_m_atanhl+set}" = set; then :
16755 $as_echo_n "(cached) " >&6
16756 else
16757 ac_check_lib_save_LIBS=$LIBS
16758 LIBS="-lm $LIBS"
16759 if test x$gcc_no_link = xyes; then
16760 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16763 /* end confdefs.h. */
16765 /* Override any GCC internal prototype to avoid an error.
16766 Use char because int might match the return type of a GCC
16767 builtin and then its argument prototype would still apply. */
16768 #ifdef __cplusplus
16769 extern "C"
16770 #endif
16771 char atanhl ();
16773 main ()
16775 return atanhl ();
16777 return 0;
16779 _ACEOF
16780 if ac_fn_c_try_link "$LINENO"; then :
16781 ac_cv_lib_m_atanhl=yes
16782 else
16783 ac_cv_lib_m_atanhl=no
16785 rm -f core conftest.err conftest.$ac_objext \
16786 conftest$ac_exeext conftest.$ac_ext
16787 LIBS=$ac_check_lib_save_LIBS
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhl" >&5
16790 $as_echo "$ac_cv_lib_m_atanhl" >&6; }
16791 if test "x$ac_cv_lib_m_atanhl" = x""yes; then :
16793 $as_echo "#define HAVE_ATANHL 1" >>confdefs.h
16797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
16798 $as_echo_n "checking for cargf in -lm... " >&6; }
16799 if test "${ac_cv_lib_m_cargf+set}" = set; then :
16800 $as_echo_n "(cached) " >&6
16801 else
16802 ac_check_lib_save_LIBS=$LIBS
16803 LIBS="-lm $LIBS"
16804 if test x$gcc_no_link = xyes; then
16805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16808 /* end confdefs.h. */
16810 /* Override any GCC internal prototype to avoid an error.
16811 Use char because int might match the return type of a GCC
16812 builtin and then its argument prototype would still apply. */
16813 #ifdef __cplusplus
16814 extern "C"
16815 #endif
16816 char cargf ();
16818 main ()
16820 return cargf ();
16822 return 0;
16824 _ACEOF
16825 if ac_fn_c_try_link "$LINENO"; then :
16826 ac_cv_lib_m_cargf=yes
16827 else
16828 ac_cv_lib_m_cargf=no
16830 rm -f core conftest.err conftest.$ac_objext \
16831 conftest$ac_exeext conftest.$ac_ext
16832 LIBS=$ac_check_lib_save_LIBS
16834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargf" >&5
16835 $as_echo "$ac_cv_lib_m_cargf" >&6; }
16836 if test "x$ac_cv_lib_m_cargf" = x""yes; then :
16838 $as_echo "#define HAVE_CARGF 1" >>confdefs.h
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
16843 $as_echo_n "checking for carg in -lm... " >&6; }
16844 if test "${ac_cv_lib_m_carg+set}" = set; then :
16845 $as_echo_n "(cached) " >&6
16846 else
16847 ac_check_lib_save_LIBS=$LIBS
16848 LIBS="-lm $LIBS"
16849 if test x$gcc_no_link = xyes; then
16850 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16853 /* end confdefs.h. */
16855 /* Override any GCC internal prototype to avoid an error.
16856 Use char because int might match the return type of a GCC
16857 builtin and then its argument prototype would still apply. */
16858 #ifdef __cplusplus
16859 extern "C"
16860 #endif
16861 char carg ();
16863 main ()
16865 return carg ();
16867 return 0;
16869 _ACEOF
16870 if ac_fn_c_try_link "$LINENO"; then :
16871 ac_cv_lib_m_carg=yes
16872 else
16873 ac_cv_lib_m_carg=no
16875 rm -f core conftest.err conftest.$ac_objext \
16876 conftest$ac_exeext conftest.$ac_ext
16877 LIBS=$ac_check_lib_save_LIBS
16879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_carg" >&5
16880 $as_echo "$ac_cv_lib_m_carg" >&6; }
16881 if test "x$ac_cv_lib_m_carg" = x""yes; then :
16883 $as_echo "#define HAVE_CARG 1" >>confdefs.h
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
16888 $as_echo_n "checking for cargl in -lm... " >&6; }
16889 if test "${ac_cv_lib_m_cargl+set}" = set; then :
16890 $as_echo_n "(cached) " >&6
16891 else
16892 ac_check_lib_save_LIBS=$LIBS
16893 LIBS="-lm $LIBS"
16894 if test x$gcc_no_link = xyes; then
16895 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16898 /* end confdefs.h. */
16900 /* Override any GCC internal prototype to avoid an error.
16901 Use char because int might match the return type of a GCC
16902 builtin and then its argument prototype would still apply. */
16903 #ifdef __cplusplus
16904 extern "C"
16905 #endif
16906 char cargl ();
16908 main ()
16910 return cargl ();
16912 return 0;
16914 _ACEOF
16915 if ac_fn_c_try_link "$LINENO"; then :
16916 ac_cv_lib_m_cargl=yes
16917 else
16918 ac_cv_lib_m_cargl=no
16920 rm -f core conftest.err conftest.$ac_objext \
16921 conftest$ac_exeext conftest.$ac_ext
16922 LIBS=$ac_check_lib_save_LIBS
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargl" >&5
16925 $as_echo "$ac_cv_lib_m_cargl" >&6; }
16926 if test "x$ac_cv_lib_m_cargl" = x""yes; then :
16928 $as_echo "#define HAVE_CARGL 1" >>confdefs.h
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
16933 $as_echo_n "checking for ceilf in -lm... " >&6; }
16934 if test "${ac_cv_lib_m_ceilf+set}" = set; then :
16935 $as_echo_n "(cached) " >&6
16936 else
16937 ac_check_lib_save_LIBS=$LIBS
16938 LIBS="-lm $LIBS"
16939 if test x$gcc_no_link = xyes; then
16940 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16943 /* end confdefs.h. */
16945 /* Override any GCC internal prototype to avoid an error.
16946 Use char because int might match the return type of a GCC
16947 builtin and then its argument prototype would still apply. */
16948 #ifdef __cplusplus
16949 extern "C"
16950 #endif
16951 char ceilf ();
16953 main ()
16955 return ceilf ();
16957 return 0;
16959 _ACEOF
16960 if ac_fn_c_try_link "$LINENO"; then :
16961 ac_cv_lib_m_ceilf=yes
16962 else
16963 ac_cv_lib_m_ceilf=no
16965 rm -f core conftest.err conftest.$ac_objext \
16966 conftest$ac_exeext conftest.$ac_ext
16967 LIBS=$ac_check_lib_save_LIBS
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5
16970 $as_echo "$ac_cv_lib_m_ceilf" >&6; }
16971 if test "x$ac_cv_lib_m_ceilf" = x""yes; then :
16973 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
16978 $as_echo_n "checking for ceil in -lm... " >&6; }
16979 if test "${ac_cv_lib_m_ceil+set}" = set; then :
16980 $as_echo_n "(cached) " >&6
16981 else
16982 ac_check_lib_save_LIBS=$LIBS
16983 LIBS="-lm $LIBS"
16984 if test x$gcc_no_link = xyes; then
16985 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16988 /* end confdefs.h. */
16990 /* Override any GCC internal prototype to avoid an error.
16991 Use char because int might match the return type of a GCC
16992 builtin and then its argument prototype would still apply. */
16993 #ifdef __cplusplus
16994 extern "C"
16995 #endif
16996 char ceil ();
16998 main ()
17000 return ceil ();
17002 return 0;
17004 _ACEOF
17005 if ac_fn_c_try_link "$LINENO"; then :
17006 ac_cv_lib_m_ceil=yes
17007 else
17008 ac_cv_lib_m_ceil=no
17010 rm -f core conftest.err conftest.$ac_objext \
17011 conftest$ac_exeext conftest.$ac_ext
17012 LIBS=$ac_check_lib_save_LIBS
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
17015 $as_echo "$ac_cv_lib_m_ceil" >&6; }
17016 if test "x$ac_cv_lib_m_ceil" = x""yes; then :
17018 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
17023 $as_echo_n "checking for ceill in -lm... " >&6; }
17024 if test "${ac_cv_lib_m_ceill+set}" = set; then :
17025 $as_echo_n "(cached) " >&6
17026 else
17027 ac_check_lib_save_LIBS=$LIBS
17028 LIBS="-lm $LIBS"
17029 if test x$gcc_no_link = xyes; then
17030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17033 /* end confdefs.h. */
17035 /* Override any GCC internal prototype to avoid an error.
17036 Use char because int might match the return type of a GCC
17037 builtin and then its argument prototype would still apply. */
17038 #ifdef __cplusplus
17039 extern "C"
17040 #endif
17041 char ceill ();
17043 main ()
17045 return ceill ();
17047 return 0;
17049 _ACEOF
17050 if ac_fn_c_try_link "$LINENO"; then :
17051 ac_cv_lib_m_ceill=yes
17052 else
17053 ac_cv_lib_m_ceill=no
17055 rm -f core conftest.err conftest.$ac_objext \
17056 conftest$ac_exeext conftest.$ac_ext
17057 LIBS=$ac_check_lib_save_LIBS
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceill" >&5
17060 $as_echo "$ac_cv_lib_m_ceill" >&6; }
17061 if test "x$ac_cv_lib_m_ceill" = x""yes; then :
17063 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17068 $as_echo_n "checking for copysignf in -lm... " >&6; }
17069 if test "${ac_cv_lib_m_copysignf+set}" = set; then :
17070 $as_echo_n "(cached) " >&6
17071 else
17072 ac_check_lib_save_LIBS=$LIBS
17073 LIBS="-lm $LIBS"
17074 if test x$gcc_no_link = xyes; then
17075 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17080 /* Override any GCC internal prototype to avoid an error.
17081 Use char because int might match the return type of a GCC
17082 builtin and then its argument prototype would still apply. */
17083 #ifdef __cplusplus
17084 extern "C"
17085 #endif
17086 char copysignf ();
17088 main ()
17090 return copysignf ();
17092 return 0;
17094 _ACEOF
17095 if ac_fn_c_try_link "$LINENO"; then :
17096 ac_cv_lib_m_copysignf=yes
17097 else
17098 ac_cv_lib_m_copysignf=no
17100 rm -f core conftest.err conftest.$ac_objext \
17101 conftest$ac_exeext conftest.$ac_ext
17102 LIBS=$ac_check_lib_save_LIBS
17104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignf" >&5
17105 $as_echo "$ac_cv_lib_m_copysignf" >&6; }
17106 if test "x$ac_cv_lib_m_copysignf" = x""yes; then :
17108 $as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17113 $as_echo_n "checking for copysign in -lm... " >&6; }
17114 if test "${ac_cv_lib_m_copysign+set}" = set; then :
17115 $as_echo_n "(cached) " >&6
17116 else
17117 ac_check_lib_save_LIBS=$LIBS
17118 LIBS="-lm $LIBS"
17119 if test x$gcc_no_link = xyes; then
17120 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17123 /* end confdefs.h. */
17125 /* Override any GCC internal prototype to avoid an error.
17126 Use char because int might match the return type of a GCC
17127 builtin and then its argument prototype would still apply. */
17128 #ifdef __cplusplus
17129 extern "C"
17130 #endif
17131 char copysign ();
17133 main ()
17135 return copysign ();
17137 return 0;
17139 _ACEOF
17140 if ac_fn_c_try_link "$LINENO"; then :
17141 ac_cv_lib_m_copysign=yes
17142 else
17143 ac_cv_lib_m_copysign=no
17145 rm -f core conftest.err conftest.$ac_objext \
17146 conftest$ac_exeext conftest.$ac_ext
17147 LIBS=$ac_check_lib_save_LIBS
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysign" >&5
17150 $as_echo "$ac_cv_lib_m_copysign" >&6; }
17151 if test "x$ac_cv_lib_m_copysign" = x""yes; then :
17153 $as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17158 $as_echo_n "checking for copysignl in -lm... " >&6; }
17159 if test "${ac_cv_lib_m_copysignl+set}" = set; then :
17160 $as_echo_n "(cached) " >&6
17161 else
17162 ac_check_lib_save_LIBS=$LIBS
17163 LIBS="-lm $LIBS"
17164 if test x$gcc_no_link = xyes; then
17165 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17168 /* end confdefs.h. */
17170 /* Override any GCC internal prototype to avoid an error.
17171 Use char because int might match the return type of a GCC
17172 builtin and then its argument prototype would still apply. */
17173 #ifdef __cplusplus
17174 extern "C"
17175 #endif
17176 char copysignl ();
17178 main ()
17180 return copysignl ();
17182 return 0;
17184 _ACEOF
17185 if ac_fn_c_try_link "$LINENO"; then :
17186 ac_cv_lib_m_copysignl=yes
17187 else
17188 ac_cv_lib_m_copysignl=no
17190 rm -f core conftest.err conftest.$ac_objext \
17191 conftest$ac_exeext conftest.$ac_ext
17192 LIBS=$ac_check_lib_save_LIBS
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignl" >&5
17195 $as_echo "$ac_cv_lib_m_copysignl" >&6; }
17196 if test "x$ac_cv_lib_m_copysignl" = x""yes; then :
17198 $as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
17203 $as_echo_n "checking for cosf in -lm... " >&6; }
17204 if test "${ac_cv_lib_m_cosf+set}" = set; then :
17205 $as_echo_n "(cached) " >&6
17206 else
17207 ac_check_lib_save_LIBS=$LIBS
17208 LIBS="-lm $LIBS"
17209 if test x$gcc_no_link = xyes; then
17210 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17213 /* end confdefs.h. */
17215 /* Override any GCC internal prototype to avoid an error.
17216 Use char because int might match the return type of a GCC
17217 builtin and then its argument prototype would still apply. */
17218 #ifdef __cplusplus
17219 extern "C"
17220 #endif
17221 char cosf ();
17223 main ()
17225 return cosf ();
17227 return 0;
17229 _ACEOF
17230 if ac_fn_c_try_link "$LINENO"; then :
17231 ac_cv_lib_m_cosf=yes
17232 else
17233 ac_cv_lib_m_cosf=no
17235 rm -f core conftest.err conftest.$ac_objext \
17236 conftest$ac_exeext conftest.$ac_ext
17237 LIBS=$ac_check_lib_save_LIBS
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
17240 $as_echo "$ac_cv_lib_m_cosf" >&6; }
17241 if test "x$ac_cv_lib_m_cosf" = x""yes; then :
17243 $as_echo "#define HAVE_COSF 1" >>confdefs.h
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
17248 $as_echo_n "checking for cos in -lm... " >&6; }
17249 if test "${ac_cv_lib_m_cos+set}" = set; then :
17250 $as_echo_n "(cached) " >&6
17251 else
17252 ac_check_lib_save_LIBS=$LIBS
17253 LIBS="-lm $LIBS"
17254 if test x$gcc_no_link = xyes; then
17255 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17258 /* end confdefs.h. */
17260 /* Override any GCC internal prototype to avoid an error.
17261 Use char because int might match the return type of a GCC
17262 builtin and then its argument prototype would still apply. */
17263 #ifdef __cplusplus
17264 extern "C"
17265 #endif
17266 char cos ();
17268 main ()
17270 return cos ();
17272 return 0;
17274 _ACEOF
17275 if ac_fn_c_try_link "$LINENO"; then :
17276 ac_cv_lib_m_cos=yes
17277 else
17278 ac_cv_lib_m_cos=no
17280 rm -f core conftest.err conftest.$ac_objext \
17281 conftest$ac_exeext conftest.$ac_ext
17282 LIBS=$ac_check_lib_save_LIBS
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
17285 $as_echo "$ac_cv_lib_m_cos" >&6; }
17286 if test "x$ac_cv_lib_m_cos" = x""yes; then :
17288 $as_echo "#define HAVE_COS 1" >>confdefs.h
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
17293 $as_echo_n "checking for cosl in -lm... " >&6; }
17294 if test "${ac_cv_lib_m_cosl+set}" = set; then :
17295 $as_echo_n "(cached) " >&6
17296 else
17297 ac_check_lib_save_LIBS=$LIBS
17298 LIBS="-lm $LIBS"
17299 if test x$gcc_no_link = xyes; then
17300 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17303 /* end confdefs.h. */
17305 /* Override any GCC internal prototype to avoid an error.
17306 Use char because int might match the return type of a GCC
17307 builtin and then its argument prototype would still apply. */
17308 #ifdef __cplusplus
17309 extern "C"
17310 #endif
17311 char cosl ();
17313 main ()
17315 return cosl ();
17317 return 0;
17319 _ACEOF
17320 if ac_fn_c_try_link "$LINENO"; then :
17321 ac_cv_lib_m_cosl=yes
17322 else
17323 ac_cv_lib_m_cosl=no
17325 rm -f core conftest.err conftest.$ac_objext \
17326 conftest$ac_exeext conftest.$ac_ext
17327 LIBS=$ac_check_lib_save_LIBS
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosl" >&5
17330 $as_echo "$ac_cv_lib_m_cosl" >&6; }
17331 if test "x$ac_cv_lib_m_cosl" = x""yes; then :
17333 $as_echo "#define HAVE_COSL 1" >>confdefs.h
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
17338 $as_echo_n "checking for ccosf in -lm... " >&6; }
17339 if test "${ac_cv_lib_m_ccosf+set}" = set; then :
17340 $as_echo_n "(cached) " >&6
17341 else
17342 ac_check_lib_save_LIBS=$LIBS
17343 LIBS="-lm $LIBS"
17344 if test x$gcc_no_link = xyes; then
17345 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17348 /* end confdefs.h. */
17350 /* Override any GCC internal prototype to avoid an error.
17351 Use char because int might match the return type of a GCC
17352 builtin and then its argument prototype would still apply. */
17353 #ifdef __cplusplus
17354 extern "C"
17355 #endif
17356 char ccosf ();
17358 main ()
17360 return ccosf ();
17362 return 0;
17364 _ACEOF
17365 if ac_fn_c_try_link "$LINENO"; then :
17366 ac_cv_lib_m_ccosf=yes
17367 else
17368 ac_cv_lib_m_ccosf=no
17370 rm -f core conftest.err conftest.$ac_objext \
17371 conftest$ac_exeext conftest.$ac_ext
17372 LIBS=$ac_check_lib_save_LIBS
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosf" >&5
17375 $as_echo "$ac_cv_lib_m_ccosf" >&6; }
17376 if test "x$ac_cv_lib_m_ccosf" = x""yes; then :
17378 $as_echo "#define HAVE_CCOSF 1" >>confdefs.h
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
17383 $as_echo_n "checking for ccos in -lm... " >&6; }
17384 if test "${ac_cv_lib_m_ccos+set}" = set; then :
17385 $as_echo_n "(cached) " >&6
17386 else
17387 ac_check_lib_save_LIBS=$LIBS
17388 LIBS="-lm $LIBS"
17389 if test x$gcc_no_link = xyes; then
17390 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17393 /* end confdefs.h. */
17395 /* Override any GCC internal prototype to avoid an error.
17396 Use char because int might match the return type of a GCC
17397 builtin and then its argument prototype would still apply. */
17398 #ifdef __cplusplus
17399 extern "C"
17400 #endif
17401 char ccos ();
17403 main ()
17405 return ccos ();
17407 return 0;
17409 _ACEOF
17410 if ac_fn_c_try_link "$LINENO"; then :
17411 ac_cv_lib_m_ccos=yes
17412 else
17413 ac_cv_lib_m_ccos=no
17415 rm -f core conftest.err conftest.$ac_objext \
17416 conftest$ac_exeext conftest.$ac_ext
17417 LIBS=$ac_check_lib_save_LIBS
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccos" >&5
17420 $as_echo "$ac_cv_lib_m_ccos" >&6; }
17421 if test "x$ac_cv_lib_m_ccos" = x""yes; then :
17423 $as_echo "#define HAVE_CCOS 1" >>confdefs.h
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
17428 $as_echo_n "checking for ccosl in -lm... " >&6; }
17429 if test "${ac_cv_lib_m_ccosl+set}" = set; then :
17430 $as_echo_n "(cached) " >&6
17431 else
17432 ac_check_lib_save_LIBS=$LIBS
17433 LIBS="-lm $LIBS"
17434 if test x$gcc_no_link = xyes; then
17435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17438 /* end confdefs.h. */
17440 /* Override any GCC internal prototype to avoid an error.
17441 Use char because int might match the return type of a GCC
17442 builtin and then its argument prototype would still apply. */
17443 #ifdef __cplusplus
17444 extern "C"
17445 #endif
17446 char ccosl ();
17448 main ()
17450 return ccosl ();
17452 return 0;
17454 _ACEOF
17455 if ac_fn_c_try_link "$LINENO"; then :
17456 ac_cv_lib_m_ccosl=yes
17457 else
17458 ac_cv_lib_m_ccosl=no
17460 rm -f core conftest.err conftest.$ac_objext \
17461 conftest$ac_exeext conftest.$ac_ext
17462 LIBS=$ac_check_lib_save_LIBS
17464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosl" >&5
17465 $as_echo "$ac_cv_lib_m_ccosl" >&6; }
17466 if test "x$ac_cv_lib_m_ccosl" = x""yes; then :
17468 $as_echo "#define HAVE_CCOSL 1" >>confdefs.h
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
17473 $as_echo_n "checking for coshf in -lm... " >&6; }
17474 if test "${ac_cv_lib_m_coshf+set}" = set; then :
17475 $as_echo_n "(cached) " >&6
17476 else
17477 ac_check_lib_save_LIBS=$LIBS
17478 LIBS="-lm $LIBS"
17479 if test x$gcc_no_link = xyes; then
17480 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17483 /* end confdefs.h. */
17485 /* Override any GCC internal prototype to avoid an error.
17486 Use char because int might match the return type of a GCC
17487 builtin and then its argument prototype would still apply. */
17488 #ifdef __cplusplus
17489 extern "C"
17490 #endif
17491 char coshf ();
17493 main ()
17495 return coshf ();
17497 return 0;
17499 _ACEOF
17500 if ac_fn_c_try_link "$LINENO"; then :
17501 ac_cv_lib_m_coshf=yes
17502 else
17503 ac_cv_lib_m_coshf=no
17505 rm -f core conftest.err conftest.$ac_objext \
17506 conftest$ac_exeext conftest.$ac_ext
17507 LIBS=$ac_check_lib_save_LIBS
17509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshf" >&5
17510 $as_echo "$ac_cv_lib_m_coshf" >&6; }
17511 if test "x$ac_cv_lib_m_coshf" = x""yes; then :
17513 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
17518 $as_echo_n "checking for cosh in -lm... " >&6; }
17519 if test "${ac_cv_lib_m_cosh+set}" = set; then :
17520 $as_echo_n "(cached) " >&6
17521 else
17522 ac_check_lib_save_LIBS=$LIBS
17523 LIBS="-lm $LIBS"
17524 if test x$gcc_no_link = xyes; then
17525 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17528 /* end confdefs.h. */
17530 /* Override any GCC internal prototype to avoid an error.
17531 Use char because int might match the return type of a GCC
17532 builtin and then its argument prototype would still apply. */
17533 #ifdef __cplusplus
17534 extern "C"
17535 #endif
17536 char cosh ();
17538 main ()
17540 return cosh ();
17542 return 0;
17544 _ACEOF
17545 if ac_fn_c_try_link "$LINENO"; then :
17546 ac_cv_lib_m_cosh=yes
17547 else
17548 ac_cv_lib_m_cosh=no
17550 rm -f core conftest.err conftest.$ac_objext \
17551 conftest$ac_exeext conftest.$ac_ext
17552 LIBS=$ac_check_lib_save_LIBS
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosh" >&5
17555 $as_echo "$ac_cv_lib_m_cosh" >&6; }
17556 if test "x$ac_cv_lib_m_cosh" = x""yes; then :
17558 $as_echo "#define HAVE_COSH 1" >>confdefs.h
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
17563 $as_echo_n "checking for coshl in -lm... " >&6; }
17564 if test "${ac_cv_lib_m_coshl+set}" = set; then :
17565 $as_echo_n "(cached) " >&6
17566 else
17567 ac_check_lib_save_LIBS=$LIBS
17568 LIBS="-lm $LIBS"
17569 if test x$gcc_no_link = xyes; then
17570 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17573 /* end confdefs.h. */
17575 /* Override any GCC internal prototype to avoid an error.
17576 Use char because int might match the return type of a GCC
17577 builtin and then its argument prototype would still apply. */
17578 #ifdef __cplusplus
17579 extern "C"
17580 #endif
17581 char coshl ();
17583 main ()
17585 return coshl ();
17587 return 0;
17589 _ACEOF
17590 if ac_fn_c_try_link "$LINENO"; then :
17591 ac_cv_lib_m_coshl=yes
17592 else
17593 ac_cv_lib_m_coshl=no
17595 rm -f core conftest.err conftest.$ac_objext \
17596 conftest$ac_exeext conftest.$ac_ext
17597 LIBS=$ac_check_lib_save_LIBS
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshl" >&5
17600 $as_echo "$ac_cv_lib_m_coshl" >&6; }
17601 if test "x$ac_cv_lib_m_coshl" = x""yes; then :
17603 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
17608 $as_echo_n "checking for ccoshf in -lm... " >&6; }
17609 if test "${ac_cv_lib_m_ccoshf+set}" = set; then :
17610 $as_echo_n "(cached) " >&6
17611 else
17612 ac_check_lib_save_LIBS=$LIBS
17613 LIBS="-lm $LIBS"
17614 if test x$gcc_no_link = xyes; then
17615 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17618 /* end confdefs.h. */
17620 /* Override any GCC internal prototype to avoid an error.
17621 Use char because int might match the return type of a GCC
17622 builtin and then its argument prototype would still apply. */
17623 #ifdef __cplusplus
17624 extern "C"
17625 #endif
17626 char ccoshf ();
17628 main ()
17630 return ccoshf ();
17632 return 0;
17634 _ACEOF
17635 if ac_fn_c_try_link "$LINENO"; then :
17636 ac_cv_lib_m_ccoshf=yes
17637 else
17638 ac_cv_lib_m_ccoshf=no
17640 rm -f core conftest.err conftest.$ac_objext \
17641 conftest$ac_exeext conftest.$ac_ext
17642 LIBS=$ac_check_lib_save_LIBS
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshf" >&5
17645 $as_echo "$ac_cv_lib_m_ccoshf" >&6; }
17646 if test "x$ac_cv_lib_m_ccoshf" = x""yes; then :
17648 $as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
17652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
17653 $as_echo_n "checking for ccosh in -lm... " >&6; }
17654 if test "${ac_cv_lib_m_ccosh+set}" = set; then :
17655 $as_echo_n "(cached) " >&6
17656 else
17657 ac_check_lib_save_LIBS=$LIBS
17658 LIBS="-lm $LIBS"
17659 if test x$gcc_no_link = xyes; then
17660 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17663 /* end confdefs.h. */
17665 /* Override any GCC internal prototype to avoid an error.
17666 Use char because int might match the return type of a GCC
17667 builtin and then its argument prototype would still apply. */
17668 #ifdef __cplusplus
17669 extern "C"
17670 #endif
17671 char ccosh ();
17673 main ()
17675 return ccosh ();
17677 return 0;
17679 _ACEOF
17680 if ac_fn_c_try_link "$LINENO"; then :
17681 ac_cv_lib_m_ccosh=yes
17682 else
17683 ac_cv_lib_m_ccosh=no
17685 rm -f core conftest.err conftest.$ac_objext \
17686 conftest$ac_exeext conftest.$ac_ext
17687 LIBS=$ac_check_lib_save_LIBS
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosh" >&5
17690 $as_echo "$ac_cv_lib_m_ccosh" >&6; }
17691 if test "x$ac_cv_lib_m_ccosh" = x""yes; then :
17693 $as_echo "#define HAVE_CCOSH 1" >>confdefs.h
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
17698 $as_echo_n "checking for ccoshl in -lm... " >&6; }
17699 if test "${ac_cv_lib_m_ccoshl+set}" = set; then :
17700 $as_echo_n "(cached) " >&6
17701 else
17702 ac_check_lib_save_LIBS=$LIBS
17703 LIBS="-lm $LIBS"
17704 if test x$gcc_no_link = xyes; then
17705 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17708 /* end confdefs.h. */
17710 /* Override any GCC internal prototype to avoid an error.
17711 Use char because int might match the return type of a GCC
17712 builtin and then its argument prototype would still apply. */
17713 #ifdef __cplusplus
17714 extern "C"
17715 #endif
17716 char ccoshl ();
17718 main ()
17720 return ccoshl ();
17722 return 0;
17724 _ACEOF
17725 if ac_fn_c_try_link "$LINENO"; then :
17726 ac_cv_lib_m_ccoshl=yes
17727 else
17728 ac_cv_lib_m_ccoshl=no
17730 rm -f core conftest.err conftest.$ac_objext \
17731 conftest$ac_exeext conftest.$ac_ext
17732 LIBS=$ac_check_lib_save_LIBS
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshl" >&5
17735 $as_echo "$ac_cv_lib_m_ccoshl" >&6; }
17736 if test "x$ac_cv_lib_m_ccoshl" = x""yes; then :
17738 $as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
17743 $as_echo_n "checking for expf in -lm... " >&6; }
17744 if test "${ac_cv_lib_m_expf+set}" = set; then :
17745 $as_echo_n "(cached) " >&6
17746 else
17747 ac_check_lib_save_LIBS=$LIBS
17748 LIBS="-lm $LIBS"
17749 if test x$gcc_no_link = xyes; then
17750 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17755 /* Override any GCC internal prototype to avoid an error.
17756 Use char because int might match the return type of a GCC
17757 builtin and then its argument prototype would still apply. */
17758 #ifdef __cplusplus
17759 extern "C"
17760 #endif
17761 char expf ();
17763 main ()
17765 return expf ();
17767 return 0;
17769 _ACEOF
17770 if ac_fn_c_try_link "$LINENO"; then :
17771 ac_cv_lib_m_expf=yes
17772 else
17773 ac_cv_lib_m_expf=no
17775 rm -f core conftest.err conftest.$ac_objext \
17776 conftest$ac_exeext conftest.$ac_ext
17777 LIBS=$ac_check_lib_save_LIBS
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expf" >&5
17780 $as_echo "$ac_cv_lib_m_expf" >&6; }
17781 if test "x$ac_cv_lib_m_expf" = x""yes; then :
17783 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
17788 $as_echo_n "checking for exp in -lm... " >&6; }
17789 if test "${ac_cv_lib_m_exp+set}" = set; then :
17790 $as_echo_n "(cached) " >&6
17791 else
17792 ac_check_lib_save_LIBS=$LIBS
17793 LIBS="-lm $LIBS"
17794 if test x$gcc_no_link = xyes; then
17795 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17798 /* end confdefs.h. */
17800 /* Override any GCC internal prototype to avoid an error.
17801 Use char because int might match the return type of a GCC
17802 builtin and then its argument prototype would still apply. */
17803 #ifdef __cplusplus
17804 extern "C"
17805 #endif
17806 char exp ();
17808 main ()
17810 return exp ();
17812 return 0;
17814 _ACEOF
17815 if ac_fn_c_try_link "$LINENO"; then :
17816 ac_cv_lib_m_exp=yes
17817 else
17818 ac_cv_lib_m_exp=no
17820 rm -f core conftest.err conftest.$ac_objext \
17821 conftest$ac_exeext conftest.$ac_ext
17822 LIBS=$ac_check_lib_save_LIBS
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
17825 $as_echo "$ac_cv_lib_m_exp" >&6; }
17826 if test "x$ac_cv_lib_m_exp" = x""yes; then :
17828 $as_echo "#define HAVE_EXP 1" >>confdefs.h
17832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
17833 $as_echo_n "checking for expl in -lm... " >&6; }
17834 if test "${ac_cv_lib_m_expl+set}" = set; then :
17835 $as_echo_n "(cached) " >&6
17836 else
17837 ac_check_lib_save_LIBS=$LIBS
17838 LIBS="-lm $LIBS"
17839 if test x$gcc_no_link = xyes; then
17840 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17843 /* end confdefs.h. */
17845 /* Override any GCC internal prototype to avoid an error.
17846 Use char because int might match the return type of a GCC
17847 builtin and then its argument prototype would still apply. */
17848 #ifdef __cplusplus
17849 extern "C"
17850 #endif
17851 char expl ();
17853 main ()
17855 return expl ();
17857 return 0;
17859 _ACEOF
17860 if ac_fn_c_try_link "$LINENO"; then :
17861 ac_cv_lib_m_expl=yes
17862 else
17863 ac_cv_lib_m_expl=no
17865 rm -f core conftest.err conftest.$ac_objext \
17866 conftest$ac_exeext conftest.$ac_ext
17867 LIBS=$ac_check_lib_save_LIBS
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expl" >&5
17870 $as_echo "$ac_cv_lib_m_expl" >&6; }
17871 if test "x$ac_cv_lib_m_expl" = x""yes; then :
17873 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
17878 $as_echo_n "checking for cexpf in -lm... " >&6; }
17879 if test "${ac_cv_lib_m_cexpf+set}" = set; then :
17880 $as_echo_n "(cached) " >&6
17881 else
17882 ac_check_lib_save_LIBS=$LIBS
17883 LIBS="-lm $LIBS"
17884 if test x$gcc_no_link = xyes; then
17885 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17888 /* end confdefs.h. */
17890 /* Override any GCC internal prototype to avoid an error.
17891 Use char because int might match the return type of a GCC
17892 builtin and then its argument prototype would still apply. */
17893 #ifdef __cplusplus
17894 extern "C"
17895 #endif
17896 char cexpf ();
17898 main ()
17900 return cexpf ();
17902 return 0;
17904 _ACEOF
17905 if ac_fn_c_try_link "$LINENO"; then :
17906 ac_cv_lib_m_cexpf=yes
17907 else
17908 ac_cv_lib_m_cexpf=no
17910 rm -f core conftest.err conftest.$ac_objext \
17911 conftest$ac_exeext conftest.$ac_ext
17912 LIBS=$ac_check_lib_save_LIBS
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpf" >&5
17915 $as_echo "$ac_cv_lib_m_cexpf" >&6; }
17916 if test "x$ac_cv_lib_m_cexpf" = x""yes; then :
17918 $as_echo "#define HAVE_CEXPF 1" >>confdefs.h
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
17923 $as_echo_n "checking for cexp in -lm... " >&6; }
17924 if test "${ac_cv_lib_m_cexp+set}" = set; then :
17925 $as_echo_n "(cached) " >&6
17926 else
17927 ac_check_lib_save_LIBS=$LIBS
17928 LIBS="-lm $LIBS"
17929 if test x$gcc_no_link = xyes; then
17930 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17933 /* end confdefs.h. */
17935 /* Override any GCC internal prototype to avoid an error.
17936 Use char because int might match the return type of a GCC
17937 builtin and then its argument prototype would still apply. */
17938 #ifdef __cplusplus
17939 extern "C"
17940 #endif
17941 char cexp ();
17943 main ()
17945 return cexp ();
17947 return 0;
17949 _ACEOF
17950 if ac_fn_c_try_link "$LINENO"; then :
17951 ac_cv_lib_m_cexp=yes
17952 else
17953 ac_cv_lib_m_cexp=no
17955 rm -f core conftest.err conftest.$ac_objext \
17956 conftest$ac_exeext conftest.$ac_ext
17957 LIBS=$ac_check_lib_save_LIBS
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexp" >&5
17960 $as_echo "$ac_cv_lib_m_cexp" >&6; }
17961 if test "x$ac_cv_lib_m_cexp" = x""yes; then :
17963 $as_echo "#define HAVE_CEXP 1" >>confdefs.h
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
17968 $as_echo_n "checking for cexpl in -lm... " >&6; }
17969 if test "${ac_cv_lib_m_cexpl+set}" = set; then :
17970 $as_echo_n "(cached) " >&6
17971 else
17972 ac_check_lib_save_LIBS=$LIBS
17973 LIBS="-lm $LIBS"
17974 if test x$gcc_no_link = xyes; then
17975 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17978 /* end confdefs.h. */
17980 /* Override any GCC internal prototype to avoid an error.
17981 Use char because int might match the return type of a GCC
17982 builtin and then its argument prototype would still apply. */
17983 #ifdef __cplusplus
17984 extern "C"
17985 #endif
17986 char cexpl ();
17988 main ()
17990 return cexpl ();
17992 return 0;
17994 _ACEOF
17995 if ac_fn_c_try_link "$LINENO"; then :
17996 ac_cv_lib_m_cexpl=yes
17997 else
17998 ac_cv_lib_m_cexpl=no
18000 rm -f core conftest.err conftest.$ac_objext \
18001 conftest$ac_exeext conftest.$ac_ext
18002 LIBS=$ac_check_lib_save_LIBS
18004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpl" >&5
18005 $as_echo "$ac_cv_lib_m_cexpl" >&6; }
18006 if test "x$ac_cv_lib_m_cexpl" = x""yes; then :
18008 $as_echo "#define HAVE_CEXPL 1" >>confdefs.h
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
18013 $as_echo_n "checking for fabsf in -lm... " >&6; }
18014 if test "${ac_cv_lib_m_fabsf+set}" = set; then :
18015 $as_echo_n "(cached) " >&6
18016 else
18017 ac_check_lib_save_LIBS=$LIBS
18018 LIBS="-lm $LIBS"
18019 if test x$gcc_no_link = xyes; then
18020 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18023 /* end confdefs.h. */
18025 /* Override any GCC internal prototype to avoid an error.
18026 Use char because int might match the return type of a GCC
18027 builtin and then its argument prototype would still apply. */
18028 #ifdef __cplusplus
18029 extern "C"
18030 #endif
18031 char fabsf ();
18033 main ()
18035 return fabsf ();
18037 return 0;
18039 _ACEOF
18040 if ac_fn_c_try_link "$LINENO"; then :
18041 ac_cv_lib_m_fabsf=yes
18042 else
18043 ac_cv_lib_m_fabsf=no
18045 rm -f core conftest.err conftest.$ac_objext \
18046 conftest$ac_exeext conftest.$ac_ext
18047 LIBS=$ac_check_lib_save_LIBS
18049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
18050 $as_echo "$ac_cv_lib_m_fabsf" >&6; }
18051 if test "x$ac_cv_lib_m_fabsf" = x""yes; then :
18053 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18058 $as_echo_n "checking for fabs in -lm... " >&6; }
18059 if test "${ac_cv_lib_m_fabs+set}" = set; then :
18060 $as_echo_n "(cached) " >&6
18061 else
18062 ac_check_lib_save_LIBS=$LIBS
18063 LIBS="-lm $LIBS"
18064 if test x$gcc_no_link = xyes; then
18065 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18068 /* end confdefs.h. */
18070 /* Override any GCC internal prototype to avoid an error.
18071 Use char because int might match the return type of a GCC
18072 builtin and then its argument prototype would still apply. */
18073 #ifdef __cplusplus
18074 extern "C"
18075 #endif
18076 char fabs ();
18078 main ()
18080 return fabs ();
18082 return 0;
18084 _ACEOF
18085 if ac_fn_c_try_link "$LINENO"; then :
18086 ac_cv_lib_m_fabs=yes
18087 else
18088 ac_cv_lib_m_fabs=no
18090 rm -f core conftest.err conftest.$ac_objext \
18091 conftest$ac_exeext conftest.$ac_ext
18092 LIBS=$ac_check_lib_save_LIBS
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
18095 $as_echo "$ac_cv_lib_m_fabs" >&6; }
18096 if test "x$ac_cv_lib_m_fabs" = x""yes; then :
18098 $as_echo "#define HAVE_FABS 1" >>confdefs.h
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18103 $as_echo_n "checking for fabsl in -lm... " >&6; }
18104 if test "${ac_cv_lib_m_fabsl+set}" = set; then :
18105 $as_echo_n "(cached) " >&6
18106 else
18107 ac_check_lib_save_LIBS=$LIBS
18108 LIBS="-lm $LIBS"
18109 if test x$gcc_no_link = xyes; then
18110 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18113 /* end confdefs.h. */
18115 /* Override any GCC internal prototype to avoid an error.
18116 Use char because int might match the return type of a GCC
18117 builtin and then its argument prototype would still apply. */
18118 #ifdef __cplusplus
18119 extern "C"
18120 #endif
18121 char fabsl ();
18123 main ()
18125 return fabsl ();
18127 return 0;
18129 _ACEOF
18130 if ac_fn_c_try_link "$LINENO"; then :
18131 ac_cv_lib_m_fabsl=yes
18132 else
18133 ac_cv_lib_m_fabsl=no
18135 rm -f core conftest.err conftest.$ac_objext \
18136 conftest$ac_exeext conftest.$ac_ext
18137 LIBS=$ac_check_lib_save_LIBS
18139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsl" >&5
18140 $as_echo "$ac_cv_lib_m_fabsl" >&6; }
18141 if test "x$ac_cv_lib_m_fabsl" = x""yes; then :
18143 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
18147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18148 $as_echo_n "checking for cabsf in -lm... " >&6; }
18149 if test "${ac_cv_lib_m_cabsf+set}" = set; then :
18150 $as_echo_n "(cached) " >&6
18151 else
18152 ac_check_lib_save_LIBS=$LIBS
18153 LIBS="-lm $LIBS"
18154 if test x$gcc_no_link = xyes; then
18155 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18158 /* end confdefs.h. */
18160 /* Override any GCC internal prototype to avoid an error.
18161 Use char because int might match the return type of a GCC
18162 builtin and then its argument prototype would still apply. */
18163 #ifdef __cplusplus
18164 extern "C"
18165 #endif
18166 char cabsf ();
18168 main ()
18170 return cabsf ();
18172 return 0;
18174 _ACEOF
18175 if ac_fn_c_try_link "$LINENO"; then :
18176 ac_cv_lib_m_cabsf=yes
18177 else
18178 ac_cv_lib_m_cabsf=no
18180 rm -f core conftest.err conftest.$ac_objext \
18181 conftest$ac_exeext conftest.$ac_ext
18182 LIBS=$ac_check_lib_save_LIBS
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsf" >&5
18185 $as_echo "$ac_cv_lib_m_cabsf" >&6; }
18186 if test "x$ac_cv_lib_m_cabsf" = x""yes; then :
18188 $as_echo "#define HAVE_CABSF 1" >>confdefs.h
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
18193 $as_echo_n "checking for cabs in -lm... " >&6; }
18194 if test "${ac_cv_lib_m_cabs+set}" = set; then :
18195 $as_echo_n "(cached) " >&6
18196 else
18197 ac_check_lib_save_LIBS=$LIBS
18198 LIBS="-lm $LIBS"
18199 if test x$gcc_no_link = xyes; then
18200 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18203 /* end confdefs.h. */
18205 /* Override any GCC internal prototype to avoid an error.
18206 Use char because int might match the return type of a GCC
18207 builtin and then its argument prototype would still apply. */
18208 #ifdef __cplusplus
18209 extern "C"
18210 #endif
18211 char cabs ();
18213 main ()
18215 return cabs ();
18217 return 0;
18219 _ACEOF
18220 if ac_fn_c_try_link "$LINENO"; then :
18221 ac_cv_lib_m_cabs=yes
18222 else
18223 ac_cv_lib_m_cabs=no
18225 rm -f core conftest.err conftest.$ac_objext \
18226 conftest$ac_exeext conftest.$ac_ext
18227 LIBS=$ac_check_lib_save_LIBS
18229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabs" >&5
18230 $as_echo "$ac_cv_lib_m_cabs" >&6; }
18231 if test "x$ac_cv_lib_m_cabs" = x""yes; then :
18233 $as_echo "#define HAVE_CABS 1" >>confdefs.h
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
18238 $as_echo_n "checking for cabsl in -lm... " >&6; }
18239 if test "${ac_cv_lib_m_cabsl+set}" = set; then :
18240 $as_echo_n "(cached) " >&6
18241 else
18242 ac_check_lib_save_LIBS=$LIBS
18243 LIBS="-lm $LIBS"
18244 if test x$gcc_no_link = xyes; then
18245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18248 /* end confdefs.h. */
18250 /* Override any GCC internal prototype to avoid an error.
18251 Use char because int might match the return type of a GCC
18252 builtin and then its argument prototype would still apply. */
18253 #ifdef __cplusplus
18254 extern "C"
18255 #endif
18256 char cabsl ();
18258 main ()
18260 return cabsl ();
18262 return 0;
18264 _ACEOF
18265 if ac_fn_c_try_link "$LINENO"; then :
18266 ac_cv_lib_m_cabsl=yes
18267 else
18268 ac_cv_lib_m_cabsl=no
18270 rm -f core conftest.err conftest.$ac_objext \
18271 conftest$ac_exeext conftest.$ac_ext
18272 LIBS=$ac_check_lib_save_LIBS
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsl" >&5
18275 $as_echo "$ac_cv_lib_m_cabsl" >&6; }
18276 if test "x$ac_cv_lib_m_cabsl" = x""yes; then :
18278 $as_echo "#define HAVE_CABSL 1" >>confdefs.h
18282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
18283 $as_echo_n "checking for floorf in -lm... " >&6; }
18284 if test "${ac_cv_lib_m_floorf+set}" = set; then :
18285 $as_echo_n "(cached) " >&6
18286 else
18287 ac_check_lib_save_LIBS=$LIBS
18288 LIBS="-lm $LIBS"
18289 if test x$gcc_no_link = xyes; then
18290 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18293 /* end confdefs.h. */
18295 /* Override any GCC internal prototype to avoid an error.
18296 Use char because int might match the return type of a GCC
18297 builtin and then its argument prototype would still apply. */
18298 #ifdef __cplusplus
18299 extern "C"
18300 #endif
18301 char floorf ();
18303 main ()
18305 return floorf ();
18307 return 0;
18309 _ACEOF
18310 if ac_fn_c_try_link "$LINENO"; then :
18311 ac_cv_lib_m_floorf=yes
18312 else
18313 ac_cv_lib_m_floorf=no
18315 rm -f core conftest.err conftest.$ac_objext \
18316 conftest$ac_exeext conftest.$ac_ext
18317 LIBS=$ac_check_lib_save_LIBS
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorf" >&5
18320 $as_echo "$ac_cv_lib_m_floorf" >&6; }
18321 if test "x$ac_cv_lib_m_floorf" = x""yes; then :
18323 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
18327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
18328 $as_echo_n "checking for floor in -lm... " >&6; }
18329 if test "${ac_cv_lib_m_floor+set}" = set; then :
18330 $as_echo_n "(cached) " >&6
18331 else
18332 ac_check_lib_save_LIBS=$LIBS
18333 LIBS="-lm $LIBS"
18334 if test x$gcc_no_link = xyes; then
18335 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18338 /* end confdefs.h. */
18340 /* Override any GCC internal prototype to avoid an error.
18341 Use char because int might match the return type of a GCC
18342 builtin and then its argument prototype would still apply. */
18343 #ifdef __cplusplus
18344 extern "C"
18345 #endif
18346 char floor ();
18348 main ()
18350 return floor ();
18352 return 0;
18354 _ACEOF
18355 if ac_fn_c_try_link "$LINENO"; then :
18356 ac_cv_lib_m_floor=yes
18357 else
18358 ac_cv_lib_m_floor=no
18360 rm -f core conftest.err conftest.$ac_objext \
18361 conftest$ac_exeext conftest.$ac_ext
18362 LIBS=$ac_check_lib_save_LIBS
18364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
18365 $as_echo "$ac_cv_lib_m_floor" >&6; }
18366 if test "x$ac_cv_lib_m_floor" = x""yes; then :
18368 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
18372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
18373 $as_echo_n "checking for floorl in -lm... " >&6; }
18374 if test "${ac_cv_lib_m_floorl+set}" = set; then :
18375 $as_echo_n "(cached) " >&6
18376 else
18377 ac_check_lib_save_LIBS=$LIBS
18378 LIBS="-lm $LIBS"
18379 if test x$gcc_no_link = xyes; then
18380 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18383 /* end confdefs.h. */
18385 /* Override any GCC internal prototype to avoid an error.
18386 Use char because int might match the return type of a GCC
18387 builtin and then its argument prototype would still apply. */
18388 #ifdef __cplusplus
18389 extern "C"
18390 #endif
18391 char floorl ();
18393 main ()
18395 return floorl ();
18397 return 0;
18399 _ACEOF
18400 if ac_fn_c_try_link "$LINENO"; then :
18401 ac_cv_lib_m_floorl=yes
18402 else
18403 ac_cv_lib_m_floorl=no
18405 rm -f core conftest.err conftest.$ac_objext \
18406 conftest$ac_exeext conftest.$ac_ext
18407 LIBS=$ac_check_lib_save_LIBS
18409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorl" >&5
18410 $as_echo "$ac_cv_lib_m_floorl" >&6; }
18411 if test "x$ac_cv_lib_m_floorl" = x""yes; then :
18413 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
18418 $as_echo_n "checking for fmodf in -lm... " >&6; }
18419 if test "${ac_cv_lib_m_fmodf+set}" = set; then :
18420 $as_echo_n "(cached) " >&6
18421 else
18422 ac_check_lib_save_LIBS=$LIBS
18423 LIBS="-lm $LIBS"
18424 if test x$gcc_no_link = xyes; then
18425 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18428 /* end confdefs.h. */
18430 /* Override any GCC internal prototype to avoid an error.
18431 Use char because int might match the return type of a GCC
18432 builtin and then its argument prototype would still apply. */
18433 #ifdef __cplusplus
18434 extern "C"
18435 #endif
18436 char fmodf ();
18438 main ()
18440 return fmodf ();
18442 return 0;
18444 _ACEOF
18445 if ac_fn_c_try_link "$LINENO"; then :
18446 ac_cv_lib_m_fmodf=yes
18447 else
18448 ac_cv_lib_m_fmodf=no
18450 rm -f core conftest.err conftest.$ac_objext \
18451 conftest$ac_exeext conftest.$ac_ext
18452 LIBS=$ac_check_lib_save_LIBS
18454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodf" >&5
18455 $as_echo "$ac_cv_lib_m_fmodf" >&6; }
18456 if test "x$ac_cv_lib_m_fmodf" = x""yes; then :
18458 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
18462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
18463 $as_echo_n "checking for fmod in -lm... " >&6; }
18464 if test "${ac_cv_lib_m_fmod+set}" = set; then :
18465 $as_echo_n "(cached) " >&6
18466 else
18467 ac_check_lib_save_LIBS=$LIBS
18468 LIBS="-lm $LIBS"
18469 if test x$gcc_no_link = xyes; then
18470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18473 /* end confdefs.h. */
18475 /* Override any GCC internal prototype to avoid an error.
18476 Use char because int might match the return type of a GCC
18477 builtin and then its argument prototype would still apply. */
18478 #ifdef __cplusplus
18479 extern "C"
18480 #endif
18481 char fmod ();
18483 main ()
18485 return fmod ();
18487 return 0;
18489 _ACEOF
18490 if ac_fn_c_try_link "$LINENO"; then :
18491 ac_cv_lib_m_fmod=yes
18492 else
18493 ac_cv_lib_m_fmod=no
18495 rm -f core conftest.err conftest.$ac_objext \
18496 conftest$ac_exeext conftest.$ac_ext
18497 LIBS=$ac_check_lib_save_LIBS
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5
18500 $as_echo "$ac_cv_lib_m_fmod" >&6; }
18501 if test "x$ac_cv_lib_m_fmod" = x""yes; then :
18503 $as_echo "#define HAVE_FMOD 1" >>confdefs.h
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
18508 $as_echo_n "checking for fmodl in -lm... " >&6; }
18509 if test "${ac_cv_lib_m_fmodl+set}" = set; then :
18510 $as_echo_n "(cached) " >&6
18511 else
18512 ac_check_lib_save_LIBS=$LIBS
18513 LIBS="-lm $LIBS"
18514 if test x$gcc_no_link = xyes; then
18515 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18518 /* end confdefs.h. */
18520 /* Override any GCC internal prototype to avoid an error.
18521 Use char because int might match the return type of a GCC
18522 builtin and then its argument prototype would still apply. */
18523 #ifdef __cplusplus
18524 extern "C"
18525 #endif
18526 char fmodl ();
18528 main ()
18530 return fmodl ();
18532 return 0;
18534 _ACEOF
18535 if ac_fn_c_try_link "$LINENO"; then :
18536 ac_cv_lib_m_fmodl=yes
18537 else
18538 ac_cv_lib_m_fmodl=no
18540 rm -f core conftest.err conftest.$ac_objext \
18541 conftest$ac_exeext conftest.$ac_ext
18542 LIBS=$ac_check_lib_save_LIBS
18544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodl" >&5
18545 $as_echo "$ac_cv_lib_m_fmodl" >&6; }
18546 if test "x$ac_cv_lib_m_fmodl" = x""yes; then :
18548 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
18552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
18553 $as_echo_n "checking for frexpf in -lm... " >&6; }
18554 if test "${ac_cv_lib_m_frexpf+set}" = set; then :
18555 $as_echo_n "(cached) " >&6
18556 else
18557 ac_check_lib_save_LIBS=$LIBS
18558 LIBS="-lm $LIBS"
18559 if test x$gcc_no_link = xyes; then
18560 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18563 /* end confdefs.h. */
18565 /* Override any GCC internal prototype to avoid an error.
18566 Use char because int might match the return type of a GCC
18567 builtin and then its argument prototype would still apply. */
18568 #ifdef __cplusplus
18569 extern "C"
18570 #endif
18571 char frexpf ();
18573 main ()
18575 return frexpf ();
18577 return 0;
18579 _ACEOF
18580 if ac_fn_c_try_link "$LINENO"; then :
18581 ac_cv_lib_m_frexpf=yes
18582 else
18583 ac_cv_lib_m_frexpf=no
18585 rm -f core conftest.err conftest.$ac_objext \
18586 conftest$ac_exeext conftest.$ac_ext
18587 LIBS=$ac_check_lib_save_LIBS
18589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpf" >&5
18590 $as_echo "$ac_cv_lib_m_frexpf" >&6; }
18591 if test "x$ac_cv_lib_m_frexpf" = x""yes; then :
18593 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
18598 $as_echo_n "checking for frexp in -lm... " >&6; }
18599 if test "${ac_cv_lib_m_frexp+set}" = set; then :
18600 $as_echo_n "(cached) " >&6
18601 else
18602 ac_check_lib_save_LIBS=$LIBS
18603 LIBS="-lm $LIBS"
18604 if test x$gcc_no_link = xyes; then
18605 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18608 /* end confdefs.h. */
18610 /* Override any GCC internal prototype to avoid an error.
18611 Use char because int might match the return type of a GCC
18612 builtin and then its argument prototype would still apply. */
18613 #ifdef __cplusplus
18614 extern "C"
18615 #endif
18616 char frexp ();
18618 main ()
18620 return frexp ();
18622 return 0;
18624 _ACEOF
18625 if ac_fn_c_try_link "$LINENO"; then :
18626 ac_cv_lib_m_frexp=yes
18627 else
18628 ac_cv_lib_m_frexp=no
18630 rm -f core conftest.err conftest.$ac_objext \
18631 conftest$ac_exeext conftest.$ac_ext
18632 LIBS=$ac_check_lib_save_LIBS
18634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexp" >&5
18635 $as_echo "$ac_cv_lib_m_frexp" >&6; }
18636 if test "x$ac_cv_lib_m_frexp" = x""yes; then :
18638 $as_echo "#define HAVE_FREXP 1" >>confdefs.h
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
18643 $as_echo_n "checking for frexpl in -lm... " >&6; }
18644 if test "${ac_cv_lib_m_frexpl+set}" = set; then :
18645 $as_echo_n "(cached) " >&6
18646 else
18647 ac_check_lib_save_LIBS=$LIBS
18648 LIBS="-lm $LIBS"
18649 if test x$gcc_no_link = xyes; then
18650 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18653 /* end confdefs.h. */
18655 /* Override any GCC internal prototype to avoid an error.
18656 Use char because int might match the return type of a GCC
18657 builtin and then its argument prototype would still apply. */
18658 #ifdef __cplusplus
18659 extern "C"
18660 #endif
18661 char frexpl ();
18663 main ()
18665 return frexpl ();
18667 return 0;
18669 _ACEOF
18670 if ac_fn_c_try_link "$LINENO"; then :
18671 ac_cv_lib_m_frexpl=yes
18672 else
18673 ac_cv_lib_m_frexpl=no
18675 rm -f core conftest.err conftest.$ac_objext \
18676 conftest$ac_exeext conftest.$ac_ext
18677 LIBS=$ac_check_lib_save_LIBS
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpl" >&5
18680 $as_echo "$ac_cv_lib_m_frexpl" >&6; }
18681 if test "x$ac_cv_lib_m_frexpl" = x""yes; then :
18683 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
18688 $as_echo_n "checking for hypotf in -lm... " >&6; }
18689 if test "${ac_cv_lib_m_hypotf+set}" = set; then :
18690 $as_echo_n "(cached) " >&6
18691 else
18692 ac_check_lib_save_LIBS=$LIBS
18693 LIBS="-lm $LIBS"
18694 if test x$gcc_no_link = xyes; then
18695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18698 /* end confdefs.h. */
18700 /* Override any GCC internal prototype to avoid an error.
18701 Use char because int might match the return type of a GCC
18702 builtin and then its argument prototype would still apply. */
18703 #ifdef __cplusplus
18704 extern "C"
18705 #endif
18706 char hypotf ();
18708 main ()
18710 return hypotf ();
18712 return 0;
18714 _ACEOF
18715 if ac_fn_c_try_link "$LINENO"; then :
18716 ac_cv_lib_m_hypotf=yes
18717 else
18718 ac_cv_lib_m_hypotf=no
18720 rm -f core conftest.err conftest.$ac_objext \
18721 conftest$ac_exeext conftest.$ac_ext
18722 LIBS=$ac_check_lib_save_LIBS
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotf" >&5
18725 $as_echo "$ac_cv_lib_m_hypotf" >&6; }
18726 if test "x$ac_cv_lib_m_hypotf" = x""yes; then :
18728 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
18732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
18733 $as_echo_n "checking for hypot in -lm... " >&6; }
18734 if test "${ac_cv_lib_m_hypot+set}" = set; then :
18735 $as_echo_n "(cached) " >&6
18736 else
18737 ac_check_lib_save_LIBS=$LIBS
18738 LIBS="-lm $LIBS"
18739 if test x$gcc_no_link = xyes; then
18740 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18743 /* end confdefs.h. */
18745 /* Override any GCC internal prototype to avoid an error.
18746 Use char because int might match the return type of a GCC
18747 builtin and then its argument prototype would still apply. */
18748 #ifdef __cplusplus
18749 extern "C"
18750 #endif
18751 char hypot ();
18753 main ()
18755 return hypot ();
18757 return 0;
18759 _ACEOF
18760 if ac_fn_c_try_link "$LINENO"; then :
18761 ac_cv_lib_m_hypot=yes
18762 else
18763 ac_cv_lib_m_hypot=no
18765 rm -f core conftest.err conftest.$ac_objext \
18766 conftest$ac_exeext conftest.$ac_ext
18767 LIBS=$ac_check_lib_save_LIBS
18769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
18770 $as_echo "$ac_cv_lib_m_hypot" >&6; }
18771 if test "x$ac_cv_lib_m_hypot" = x""yes; then :
18773 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
18777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
18778 $as_echo_n "checking for hypotl in -lm... " >&6; }
18779 if test "${ac_cv_lib_m_hypotl+set}" = set; then :
18780 $as_echo_n "(cached) " >&6
18781 else
18782 ac_check_lib_save_LIBS=$LIBS
18783 LIBS="-lm $LIBS"
18784 if test x$gcc_no_link = xyes; then
18785 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18788 /* end confdefs.h. */
18790 /* Override any GCC internal prototype to avoid an error.
18791 Use char because int might match the return type of a GCC
18792 builtin and then its argument prototype would still apply. */
18793 #ifdef __cplusplus
18794 extern "C"
18795 #endif
18796 char hypotl ();
18798 main ()
18800 return hypotl ();
18802 return 0;
18804 _ACEOF
18805 if ac_fn_c_try_link "$LINENO"; then :
18806 ac_cv_lib_m_hypotl=yes
18807 else
18808 ac_cv_lib_m_hypotl=no
18810 rm -f core conftest.err conftest.$ac_objext \
18811 conftest$ac_exeext conftest.$ac_ext
18812 LIBS=$ac_check_lib_save_LIBS
18814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotl" >&5
18815 $as_echo "$ac_cv_lib_m_hypotl" >&6; }
18816 if test "x$ac_cv_lib_m_hypotl" = x""yes; then :
18818 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
18822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
18823 $as_echo_n "checking for ldexpf in -lm... " >&6; }
18824 if test "${ac_cv_lib_m_ldexpf+set}" = set; then :
18825 $as_echo_n "(cached) " >&6
18826 else
18827 ac_check_lib_save_LIBS=$LIBS
18828 LIBS="-lm $LIBS"
18829 if test x$gcc_no_link = xyes; then
18830 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18833 /* end confdefs.h. */
18835 /* Override any GCC internal prototype to avoid an error.
18836 Use char because int might match the return type of a GCC
18837 builtin and then its argument prototype would still apply. */
18838 #ifdef __cplusplus
18839 extern "C"
18840 #endif
18841 char ldexpf ();
18843 main ()
18845 return ldexpf ();
18847 return 0;
18849 _ACEOF
18850 if ac_fn_c_try_link "$LINENO"; then :
18851 ac_cv_lib_m_ldexpf=yes
18852 else
18853 ac_cv_lib_m_ldexpf=no
18855 rm -f core conftest.err conftest.$ac_objext \
18856 conftest$ac_exeext conftest.$ac_ext
18857 LIBS=$ac_check_lib_save_LIBS
18859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpf" >&5
18860 $as_echo "$ac_cv_lib_m_ldexpf" >&6; }
18861 if test "x$ac_cv_lib_m_ldexpf" = x""yes; then :
18863 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
18867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
18868 $as_echo_n "checking for ldexp in -lm... " >&6; }
18869 if test "${ac_cv_lib_m_ldexp+set}" = set; then :
18870 $as_echo_n "(cached) " >&6
18871 else
18872 ac_check_lib_save_LIBS=$LIBS
18873 LIBS="-lm $LIBS"
18874 if test x$gcc_no_link = xyes; then
18875 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18878 /* end confdefs.h. */
18880 /* Override any GCC internal prototype to avoid an error.
18881 Use char because int might match the return type of a GCC
18882 builtin and then its argument prototype would still apply. */
18883 #ifdef __cplusplus
18884 extern "C"
18885 #endif
18886 char ldexp ();
18888 main ()
18890 return ldexp ();
18892 return 0;
18894 _ACEOF
18895 if ac_fn_c_try_link "$LINENO"; then :
18896 ac_cv_lib_m_ldexp=yes
18897 else
18898 ac_cv_lib_m_ldexp=no
18900 rm -f core conftest.err conftest.$ac_objext \
18901 conftest$ac_exeext conftest.$ac_ext
18902 LIBS=$ac_check_lib_save_LIBS
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexp" >&5
18905 $as_echo "$ac_cv_lib_m_ldexp" >&6; }
18906 if test "x$ac_cv_lib_m_ldexp" = x""yes; then :
18908 $as_echo "#define HAVE_LDEXP 1" >>confdefs.h
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
18913 $as_echo_n "checking for ldexpl in -lm... " >&6; }
18914 if test "${ac_cv_lib_m_ldexpl+set}" = set; then :
18915 $as_echo_n "(cached) " >&6
18916 else
18917 ac_check_lib_save_LIBS=$LIBS
18918 LIBS="-lm $LIBS"
18919 if test x$gcc_no_link = xyes; then
18920 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18923 /* end confdefs.h. */
18925 /* Override any GCC internal prototype to avoid an error.
18926 Use char because int might match the return type of a GCC
18927 builtin and then its argument prototype would still apply. */
18928 #ifdef __cplusplus
18929 extern "C"
18930 #endif
18931 char ldexpl ();
18933 main ()
18935 return ldexpl ();
18937 return 0;
18939 _ACEOF
18940 if ac_fn_c_try_link "$LINENO"; then :
18941 ac_cv_lib_m_ldexpl=yes
18942 else
18943 ac_cv_lib_m_ldexpl=no
18945 rm -f core conftest.err conftest.$ac_objext \
18946 conftest$ac_exeext conftest.$ac_ext
18947 LIBS=$ac_check_lib_save_LIBS
18949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpl" >&5
18950 $as_echo "$ac_cv_lib_m_ldexpl" >&6; }
18951 if test "x$ac_cv_lib_m_ldexpl" = x""yes; then :
18953 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
18958 $as_echo_n "checking for logf in -lm... " >&6; }
18959 if test "${ac_cv_lib_m_logf+set}" = set; then :
18960 $as_echo_n "(cached) " >&6
18961 else
18962 ac_check_lib_save_LIBS=$LIBS
18963 LIBS="-lm $LIBS"
18964 if test x$gcc_no_link = xyes; then
18965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18968 /* end confdefs.h. */
18970 /* Override any GCC internal prototype to avoid an error.
18971 Use char because int might match the return type of a GCC
18972 builtin and then its argument prototype would still apply. */
18973 #ifdef __cplusplus
18974 extern "C"
18975 #endif
18976 char logf ();
18978 main ()
18980 return logf ();
18982 return 0;
18984 _ACEOF
18985 if ac_fn_c_try_link "$LINENO"; then :
18986 ac_cv_lib_m_logf=yes
18987 else
18988 ac_cv_lib_m_logf=no
18990 rm -f core conftest.err conftest.$ac_objext \
18991 conftest$ac_exeext conftest.$ac_ext
18992 LIBS=$ac_check_lib_save_LIBS
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logf" >&5
18995 $as_echo "$ac_cv_lib_m_logf" >&6; }
18996 if test "x$ac_cv_lib_m_logf" = x""yes; then :
18998 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
19002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
19003 $as_echo_n "checking for log in -lm... " >&6; }
19004 if test "${ac_cv_lib_m_log+set}" = set; then :
19005 $as_echo_n "(cached) " >&6
19006 else
19007 ac_check_lib_save_LIBS=$LIBS
19008 LIBS="-lm $LIBS"
19009 if test x$gcc_no_link = xyes; then
19010 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19013 /* end confdefs.h. */
19015 /* Override any GCC internal prototype to avoid an error.
19016 Use char because int might match the return type of a GCC
19017 builtin and then its argument prototype would still apply. */
19018 #ifdef __cplusplus
19019 extern "C"
19020 #endif
19021 char log ();
19023 main ()
19025 return log ();
19027 return 0;
19029 _ACEOF
19030 if ac_fn_c_try_link "$LINENO"; then :
19031 ac_cv_lib_m_log=yes
19032 else
19033 ac_cv_lib_m_log=no
19035 rm -f core conftest.err conftest.$ac_objext \
19036 conftest$ac_exeext conftest.$ac_ext
19037 LIBS=$ac_check_lib_save_LIBS
19039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
19040 $as_echo "$ac_cv_lib_m_log" >&6; }
19041 if test "x$ac_cv_lib_m_log" = x""yes; then :
19043 $as_echo "#define HAVE_LOG 1" >>confdefs.h
19047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19048 $as_echo_n "checking for logl in -lm... " >&6; }
19049 if test "${ac_cv_lib_m_logl+set}" = set; then :
19050 $as_echo_n "(cached) " >&6
19051 else
19052 ac_check_lib_save_LIBS=$LIBS
19053 LIBS="-lm $LIBS"
19054 if test x$gcc_no_link = xyes; then
19055 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19058 /* end confdefs.h. */
19060 /* Override any GCC internal prototype to avoid an error.
19061 Use char because int might match the return type of a GCC
19062 builtin and then its argument prototype would still apply. */
19063 #ifdef __cplusplus
19064 extern "C"
19065 #endif
19066 char logl ();
19068 main ()
19070 return logl ();
19072 return 0;
19074 _ACEOF
19075 if ac_fn_c_try_link "$LINENO"; then :
19076 ac_cv_lib_m_logl=yes
19077 else
19078 ac_cv_lib_m_logl=no
19080 rm -f core conftest.err conftest.$ac_objext \
19081 conftest$ac_exeext conftest.$ac_ext
19082 LIBS=$ac_check_lib_save_LIBS
19084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logl" >&5
19085 $as_echo "$ac_cv_lib_m_logl" >&6; }
19086 if test "x$ac_cv_lib_m_logl" = x""yes; then :
19088 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
19092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19093 $as_echo_n "checking for clogf in -lm... " >&6; }
19094 if test "${ac_cv_lib_m_clogf+set}" = set; then :
19095 $as_echo_n "(cached) " >&6
19096 else
19097 ac_check_lib_save_LIBS=$LIBS
19098 LIBS="-lm $LIBS"
19099 if test x$gcc_no_link = xyes; then
19100 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19103 /* end confdefs.h. */
19105 /* Override any GCC internal prototype to avoid an error.
19106 Use char because int might match the return type of a GCC
19107 builtin and then its argument prototype would still apply. */
19108 #ifdef __cplusplus
19109 extern "C"
19110 #endif
19111 char clogf ();
19113 main ()
19115 return clogf ();
19117 return 0;
19119 _ACEOF
19120 if ac_fn_c_try_link "$LINENO"; then :
19121 ac_cv_lib_m_clogf=yes
19122 else
19123 ac_cv_lib_m_clogf=no
19125 rm -f core conftest.err conftest.$ac_objext \
19126 conftest$ac_exeext conftest.$ac_ext
19127 LIBS=$ac_check_lib_save_LIBS
19129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogf" >&5
19130 $as_echo "$ac_cv_lib_m_clogf" >&6; }
19131 if test "x$ac_cv_lib_m_clogf" = x""yes; then :
19133 $as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19138 $as_echo_n "checking for clog in -lm... " >&6; }
19139 if test "${ac_cv_lib_m_clog+set}" = set; then :
19140 $as_echo_n "(cached) " >&6
19141 else
19142 ac_check_lib_save_LIBS=$LIBS
19143 LIBS="-lm $LIBS"
19144 if test x$gcc_no_link = xyes; then
19145 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19148 /* end confdefs.h. */
19150 /* Override any GCC internal prototype to avoid an error.
19151 Use char because int might match the return type of a GCC
19152 builtin and then its argument prototype would still apply. */
19153 #ifdef __cplusplus
19154 extern "C"
19155 #endif
19156 char clog ();
19158 main ()
19160 return clog ();
19162 return 0;
19164 _ACEOF
19165 if ac_fn_c_try_link "$LINENO"; then :
19166 ac_cv_lib_m_clog=yes
19167 else
19168 ac_cv_lib_m_clog=no
19170 rm -f core conftest.err conftest.$ac_objext \
19171 conftest$ac_exeext conftest.$ac_ext
19172 LIBS=$ac_check_lib_save_LIBS
19174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog" >&5
19175 $as_echo "$ac_cv_lib_m_clog" >&6; }
19176 if test "x$ac_cv_lib_m_clog" = x""yes; then :
19178 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19183 $as_echo_n "checking for clogl in -lm... " >&6; }
19184 if test "${ac_cv_lib_m_clogl+set}" = set; then :
19185 $as_echo_n "(cached) " >&6
19186 else
19187 ac_check_lib_save_LIBS=$LIBS
19188 LIBS="-lm $LIBS"
19189 if test x$gcc_no_link = xyes; then
19190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19193 /* end confdefs.h. */
19195 /* Override any GCC internal prototype to avoid an error.
19196 Use char because int might match the return type of a GCC
19197 builtin and then its argument prototype would still apply. */
19198 #ifdef __cplusplus
19199 extern "C"
19200 #endif
19201 char clogl ();
19203 main ()
19205 return clogl ();
19207 return 0;
19209 _ACEOF
19210 if ac_fn_c_try_link "$LINENO"; then :
19211 ac_cv_lib_m_clogl=yes
19212 else
19213 ac_cv_lib_m_clogl=no
19215 rm -f core conftest.err conftest.$ac_objext \
19216 conftest$ac_exeext conftest.$ac_ext
19217 LIBS=$ac_check_lib_save_LIBS
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogl" >&5
19220 $as_echo "$ac_cv_lib_m_clogl" >&6; }
19221 if test "x$ac_cv_lib_m_clogl" = x""yes; then :
19223 $as_echo "#define HAVE_CLOGL 1" >>confdefs.h
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
19228 $as_echo_n "checking for log10f in -lm... " >&6; }
19229 if test "${ac_cv_lib_m_log10f+set}" = set; then :
19230 $as_echo_n "(cached) " >&6
19231 else
19232 ac_check_lib_save_LIBS=$LIBS
19233 LIBS="-lm $LIBS"
19234 if test x$gcc_no_link = xyes; then
19235 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19238 /* end confdefs.h. */
19240 /* Override any GCC internal prototype to avoid an error.
19241 Use char because int might match the return type of a GCC
19242 builtin and then its argument prototype would still apply. */
19243 #ifdef __cplusplus
19244 extern "C"
19245 #endif
19246 char log10f ();
19248 main ()
19250 return log10f ();
19252 return 0;
19254 _ACEOF
19255 if ac_fn_c_try_link "$LINENO"; then :
19256 ac_cv_lib_m_log10f=yes
19257 else
19258 ac_cv_lib_m_log10f=no
19260 rm -f core conftest.err conftest.$ac_objext \
19261 conftest$ac_exeext conftest.$ac_ext
19262 LIBS=$ac_check_lib_save_LIBS
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10f" >&5
19265 $as_echo "$ac_cv_lib_m_log10f" >&6; }
19266 if test "x$ac_cv_lib_m_log10f" = x""yes; then :
19268 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
19272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
19273 $as_echo_n "checking for log10 in -lm... " >&6; }
19274 if test "${ac_cv_lib_m_log10+set}" = set; then :
19275 $as_echo_n "(cached) " >&6
19276 else
19277 ac_check_lib_save_LIBS=$LIBS
19278 LIBS="-lm $LIBS"
19279 if test x$gcc_no_link = xyes; then
19280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19283 /* end confdefs.h. */
19285 /* Override any GCC internal prototype to avoid an error.
19286 Use char because int might match the return type of a GCC
19287 builtin and then its argument prototype would still apply. */
19288 #ifdef __cplusplus
19289 extern "C"
19290 #endif
19291 char log10 ();
19293 main ()
19295 return log10 ();
19297 return 0;
19299 _ACEOF
19300 if ac_fn_c_try_link "$LINENO"; then :
19301 ac_cv_lib_m_log10=yes
19302 else
19303 ac_cv_lib_m_log10=no
19305 rm -f core conftest.err conftest.$ac_objext \
19306 conftest$ac_exeext conftest.$ac_ext
19307 LIBS=$ac_check_lib_save_LIBS
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
19310 $as_echo "$ac_cv_lib_m_log10" >&6; }
19311 if test "x$ac_cv_lib_m_log10" = x""yes; then :
19313 $as_echo "#define HAVE_LOG10 1" >>confdefs.h
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
19318 $as_echo_n "checking for log10l in -lm... " >&6; }
19319 if test "${ac_cv_lib_m_log10l+set}" = set; then :
19320 $as_echo_n "(cached) " >&6
19321 else
19322 ac_check_lib_save_LIBS=$LIBS
19323 LIBS="-lm $LIBS"
19324 if test x$gcc_no_link = xyes; then
19325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19328 /* end confdefs.h. */
19330 /* Override any GCC internal prototype to avoid an error.
19331 Use char because int might match the return type of a GCC
19332 builtin and then its argument prototype would still apply. */
19333 #ifdef __cplusplus
19334 extern "C"
19335 #endif
19336 char log10l ();
19338 main ()
19340 return log10l ();
19342 return 0;
19344 _ACEOF
19345 if ac_fn_c_try_link "$LINENO"; then :
19346 ac_cv_lib_m_log10l=yes
19347 else
19348 ac_cv_lib_m_log10l=no
19350 rm -f core conftest.err conftest.$ac_objext \
19351 conftest$ac_exeext conftest.$ac_ext
19352 LIBS=$ac_check_lib_save_LIBS
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10l" >&5
19355 $as_echo "$ac_cv_lib_m_log10l" >&6; }
19356 if test "x$ac_cv_lib_m_log10l" = x""yes; then :
19358 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
19363 $as_echo_n "checking for clog10f in -lm... " >&6; }
19364 if test "${ac_cv_lib_m_clog10f+set}" = set; then :
19365 $as_echo_n "(cached) " >&6
19366 else
19367 ac_check_lib_save_LIBS=$LIBS
19368 LIBS="-lm $LIBS"
19369 if test x$gcc_no_link = xyes; then
19370 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19373 /* end confdefs.h. */
19375 /* Override any GCC internal prototype to avoid an error.
19376 Use char because int might match the return type of a GCC
19377 builtin and then its argument prototype would still apply. */
19378 #ifdef __cplusplus
19379 extern "C"
19380 #endif
19381 char clog10f ();
19383 main ()
19385 return clog10f ();
19387 return 0;
19389 _ACEOF
19390 if ac_fn_c_try_link "$LINENO"; then :
19391 ac_cv_lib_m_clog10f=yes
19392 else
19393 ac_cv_lib_m_clog10f=no
19395 rm -f core conftest.err conftest.$ac_objext \
19396 conftest$ac_exeext conftest.$ac_ext
19397 LIBS=$ac_check_lib_save_LIBS
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10f" >&5
19400 $as_echo "$ac_cv_lib_m_clog10f" >&6; }
19401 if test "x$ac_cv_lib_m_clog10f" = x""yes; then :
19403 $as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
19407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
19408 $as_echo_n "checking for clog10 in -lm... " >&6; }
19409 if test "${ac_cv_lib_m_clog10+set}" = set; then :
19410 $as_echo_n "(cached) " >&6
19411 else
19412 ac_check_lib_save_LIBS=$LIBS
19413 LIBS="-lm $LIBS"
19414 if test x$gcc_no_link = xyes; then
19415 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19418 /* end confdefs.h. */
19420 /* Override any GCC internal prototype to avoid an error.
19421 Use char because int might match the return type of a GCC
19422 builtin and then its argument prototype would still apply. */
19423 #ifdef __cplusplus
19424 extern "C"
19425 #endif
19426 char clog10 ();
19428 main ()
19430 return clog10 ();
19432 return 0;
19434 _ACEOF
19435 if ac_fn_c_try_link "$LINENO"; then :
19436 ac_cv_lib_m_clog10=yes
19437 else
19438 ac_cv_lib_m_clog10=no
19440 rm -f core conftest.err conftest.$ac_objext \
19441 conftest$ac_exeext conftest.$ac_ext
19442 LIBS=$ac_check_lib_save_LIBS
19444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10" >&5
19445 $as_echo "$ac_cv_lib_m_clog10" >&6; }
19446 if test "x$ac_cv_lib_m_clog10" = x""yes; then :
19448 $as_echo "#define HAVE_CLOG10 1" >>confdefs.h
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
19453 $as_echo_n "checking for clog10l in -lm... " >&6; }
19454 if test "${ac_cv_lib_m_clog10l+set}" = set; then :
19455 $as_echo_n "(cached) " >&6
19456 else
19457 ac_check_lib_save_LIBS=$LIBS
19458 LIBS="-lm $LIBS"
19459 if test x$gcc_no_link = xyes; then
19460 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19463 /* end confdefs.h. */
19465 /* Override any GCC internal prototype to avoid an error.
19466 Use char because int might match the return type of a GCC
19467 builtin and then its argument prototype would still apply. */
19468 #ifdef __cplusplus
19469 extern "C"
19470 #endif
19471 char clog10l ();
19473 main ()
19475 return clog10l ();
19477 return 0;
19479 _ACEOF
19480 if ac_fn_c_try_link "$LINENO"; then :
19481 ac_cv_lib_m_clog10l=yes
19482 else
19483 ac_cv_lib_m_clog10l=no
19485 rm -f core conftest.err conftest.$ac_objext \
19486 conftest$ac_exeext conftest.$ac_ext
19487 LIBS=$ac_check_lib_save_LIBS
19489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10l" >&5
19490 $as_echo "$ac_cv_lib_m_clog10l" >&6; }
19491 if test "x$ac_cv_lib_m_clog10l" = x""yes; then :
19493 $as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
19497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
19498 $as_echo_n "checking for nextafterf in -lm... " >&6; }
19499 if test "${ac_cv_lib_m_nextafterf+set}" = set; then :
19500 $as_echo_n "(cached) " >&6
19501 else
19502 ac_check_lib_save_LIBS=$LIBS
19503 LIBS="-lm $LIBS"
19504 if test x$gcc_no_link = xyes; then
19505 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19508 /* end confdefs.h. */
19510 /* Override any GCC internal prototype to avoid an error.
19511 Use char because int might match the return type of a GCC
19512 builtin and then its argument prototype would still apply. */
19513 #ifdef __cplusplus
19514 extern "C"
19515 #endif
19516 char nextafterf ();
19518 main ()
19520 return nextafterf ();
19522 return 0;
19524 _ACEOF
19525 if ac_fn_c_try_link "$LINENO"; then :
19526 ac_cv_lib_m_nextafterf=yes
19527 else
19528 ac_cv_lib_m_nextafterf=no
19530 rm -f core conftest.err conftest.$ac_objext \
19531 conftest$ac_exeext conftest.$ac_ext
19532 LIBS=$ac_check_lib_save_LIBS
19534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterf" >&5
19535 $as_echo "$ac_cv_lib_m_nextafterf" >&6; }
19536 if test "x$ac_cv_lib_m_nextafterf" = x""yes; then :
19538 $as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
19542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
19543 $as_echo_n "checking for nextafter in -lm... " >&6; }
19544 if test "${ac_cv_lib_m_nextafter+set}" = set; then :
19545 $as_echo_n "(cached) " >&6
19546 else
19547 ac_check_lib_save_LIBS=$LIBS
19548 LIBS="-lm $LIBS"
19549 if test x$gcc_no_link = xyes; then
19550 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19553 /* end confdefs.h. */
19555 /* Override any GCC internal prototype to avoid an error.
19556 Use char because int might match the return type of a GCC
19557 builtin and then its argument prototype would still apply. */
19558 #ifdef __cplusplus
19559 extern "C"
19560 #endif
19561 char nextafter ();
19563 main ()
19565 return nextafter ();
19567 return 0;
19569 _ACEOF
19570 if ac_fn_c_try_link "$LINENO"; then :
19571 ac_cv_lib_m_nextafter=yes
19572 else
19573 ac_cv_lib_m_nextafter=no
19575 rm -f core conftest.err conftest.$ac_objext \
19576 conftest$ac_exeext conftest.$ac_ext
19577 LIBS=$ac_check_lib_save_LIBS
19579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafter" >&5
19580 $as_echo "$ac_cv_lib_m_nextafter" >&6; }
19581 if test "x$ac_cv_lib_m_nextafter" = x""yes; then :
19583 $as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
19588 $as_echo_n "checking for nextafterl in -lm... " >&6; }
19589 if test "${ac_cv_lib_m_nextafterl+set}" = set; then :
19590 $as_echo_n "(cached) " >&6
19591 else
19592 ac_check_lib_save_LIBS=$LIBS
19593 LIBS="-lm $LIBS"
19594 if test x$gcc_no_link = xyes; then
19595 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19598 /* end confdefs.h. */
19600 /* Override any GCC internal prototype to avoid an error.
19601 Use char because int might match the return type of a GCC
19602 builtin and then its argument prototype would still apply. */
19603 #ifdef __cplusplus
19604 extern "C"
19605 #endif
19606 char nextafterl ();
19608 main ()
19610 return nextafterl ();
19612 return 0;
19614 _ACEOF
19615 if ac_fn_c_try_link "$LINENO"; then :
19616 ac_cv_lib_m_nextafterl=yes
19617 else
19618 ac_cv_lib_m_nextafterl=no
19620 rm -f core conftest.err conftest.$ac_objext \
19621 conftest$ac_exeext conftest.$ac_ext
19622 LIBS=$ac_check_lib_save_LIBS
19624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterl" >&5
19625 $as_echo "$ac_cv_lib_m_nextafterl" >&6; }
19626 if test "x$ac_cv_lib_m_nextafterl" = x""yes; then :
19628 $as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
19633 $as_echo_n "checking for powf in -lm... " >&6; }
19634 if test "${ac_cv_lib_m_powf+set}" = set; then :
19635 $as_echo_n "(cached) " >&6
19636 else
19637 ac_check_lib_save_LIBS=$LIBS
19638 LIBS="-lm $LIBS"
19639 if test x$gcc_no_link = xyes; then
19640 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19643 /* end confdefs.h. */
19645 /* Override any GCC internal prototype to avoid an error.
19646 Use char because int might match the return type of a GCC
19647 builtin and then its argument prototype would still apply. */
19648 #ifdef __cplusplus
19649 extern "C"
19650 #endif
19651 char powf ();
19653 main ()
19655 return powf ();
19657 return 0;
19659 _ACEOF
19660 if ac_fn_c_try_link "$LINENO"; then :
19661 ac_cv_lib_m_powf=yes
19662 else
19663 ac_cv_lib_m_powf=no
19665 rm -f core conftest.err conftest.$ac_objext \
19666 conftest$ac_exeext conftest.$ac_ext
19667 LIBS=$ac_check_lib_save_LIBS
19669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powf" >&5
19670 $as_echo "$ac_cv_lib_m_powf" >&6; }
19671 if test "x$ac_cv_lib_m_powf" = x""yes; then :
19673 $as_echo "#define HAVE_POWF 1" >>confdefs.h
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19678 $as_echo_n "checking for pow in -lm... " >&6; }
19679 if test "${ac_cv_lib_m_pow+set}" = set; then :
19680 $as_echo_n "(cached) " >&6
19681 else
19682 ac_check_lib_save_LIBS=$LIBS
19683 LIBS="-lm $LIBS"
19684 if test x$gcc_no_link = xyes; then
19685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19688 /* end confdefs.h. */
19690 /* Override any GCC internal prototype to avoid an error.
19691 Use char because int might match the return type of a GCC
19692 builtin and then its argument prototype would still apply. */
19693 #ifdef __cplusplus
19694 extern "C"
19695 #endif
19696 char pow ();
19698 main ()
19700 return pow ();
19702 return 0;
19704 _ACEOF
19705 if ac_fn_c_try_link "$LINENO"; then :
19706 ac_cv_lib_m_pow=yes
19707 else
19708 ac_cv_lib_m_pow=no
19710 rm -f core conftest.err conftest.$ac_objext \
19711 conftest$ac_exeext conftest.$ac_ext
19712 LIBS=$ac_check_lib_save_LIBS
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19715 $as_echo "$ac_cv_lib_m_pow" >&6; }
19716 if test "x$ac_cv_lib_m_pow" = x""yes; then :
19718 $as_echo "#define HAVE_POW 1" >>confdefs.h
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
19723 $as_echo_n "checking for powl in -lm... " >&6; }
19724 if test "${ac_cv_lib_m_powl+set}" = set; then :
19725 $as_echo_n "(cached) " >&6
19726 else
19727 ac_check_lib_save_LIBS=$LIBS
19728 LIBS="-lm $LIBS"
19729 if test x$gcc_no_link = xyes; then
19730 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19733 /* end confdefs.h. */
19735 /* Override any GCC internal prototype to avoid an error.
19736 Use char because int might match the return type of a GCC
19737 builtin and then its argument prototype would still apply. */
19738 #ifdef __cplusplus
19739 extern "C"
19740 #endif
19741 char powl ();
19743 main ()
19745 return powl ();
19747 return 0;
19749 _ACEOF
19750 if ac_fn_c_try_link "$LINENO"; then :
19751 ac_cv_lib_m_powl=yes
19752 else
19753 ac_cv_lib_m_powl=no
19755 rm -f core conftest.err conftest.$ac_objext \
19756 conftest$ac_exeext conftest.$ac_ext
19757 LIBS=$ac_check_lib_save_LIBS
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powl" >&5
19760 $as_echo "$ac_cv_lib_m_powl" >&6; }
19761 if test "x$ac_cv_lib_m_powl" = x""yes; then :
19763 $as_echo "#define HAVE_POWL 1" >>confdefs.h
19767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
19768 $as_echo_n "checking for cpowf in -lm... " >&6; }
19769 if test "${ac_cv_lib_m_cpowf+set}" = set; then :
19770 $as_echo_n "(cached) " >&6
19771 else
19772 ac_check_lib_save_LIBS=$LIBS
19773 LIBS="-lm $LIBS"
19774 if test x$gcc_no_link = xyes; then
19775 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19778 /* end confdefs.h. */
19780 /* Override any GCC internal prototype to avoid an error.
19781 Use char because int might match the return type of a GCC
19782 builtin and then its argument prototype would still apply. */
19783 #ifdef __cplusplus
19784 extern "C"
19785 #endif
19786 char cpowf ();
19788 main ()
19790 return cpowf ();
19792 return 0;
19794 _ACEOF
19795 if ac_fn_c_try_link "$LINENO"; then :
19796 ac_cv_lib_m_cpowf=yes
19797 else
19798 ac_cv_lib_m_cpowf=no
19800 rm -f core conftest.err conftest.$ac_objext \
19801 conftest$ac_exeext conftest.$ac_ext
19802 LIBS=$ac_check_lib_save_LIBS
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowf" >&5
19805 $as_echo "$ac_cv_lib_m_cpowf" >&6; }
19806 if test "x$ac_cv_lib_m_cpowf" = x""yes; then :
19808 $as_echo "#define HAVE_CPOWF 1" >>confdefs.h
19812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
19813 $as_echo_n "checking for cpow in -lm... " >&6; }
19814 if test "${ac_cv_lib_m_cpow+set}" = set; then :
19815 $as_echo_n "(cached) " >&6
19816 else
19817 ac_check_lib_save_LIBS=$LIBS
19818 LIBS="-lm $LIBS"
19819 if test x$gcc_no_link = xyes; then
19820 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19823 /* end confdefs.h. */
19825 /* Override any GCC internal prototype to avoid an error.
19826 Use char because int might match the return type of a GCC
19827 builtin and then its argument prototype would still apply. */
19828 #ifdef __cplusplus
19829 extern "C"
19830 #endif
19831 char cpow ();
19833 main ()
19835 return cpow ();
19837 return 0;
19839 _ACEOF
19840 if ac_fn_c_try_link "$LINENO"; then :
19841 ac_cv_lib_m_cpow=yes
19842 else
19843 ac_cv_lib_m_cpow=no
19845 rm -f core conftest.err conftest.$ac_objext \
19846 conftest$ac_exeext conftest.$ac_ext
19847 LIBS=$ac_check_lib_save_LIBS
19849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpow" >&5
19850 $as_echo "$ac_cv_lib_m_cpow" >&6; }
19851 if test "x$ac_cv_lib_m_cpow" = x""yes; then :
19853 $as_echo "#define HAVE_CPOW 1" >>confdefs.h
19857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
19858 $as_echo_n "checking for cpowl in -lm... " >&6; }
19859 if test "${ac_cv_lib_m_cpowl+set}" = set; then :
19860 $as_echo_n "(cached) " >&6
19861 else
19862 ac_check_lib_save_LIBS=$LIBS
19863 LIBS="-lm $LIBS"
19864 if test x$gcc_no_link = xyes; then
19865 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19868 /* end confdefs.h. */
19870 /* Override any GCC internal prototype to avoid an error.
19871 Use char because int might match the return type of a GCC
19872 builtin and then its argument prototype would still apply. */
19873 #ifdef __cplusplus
19874 extern "C"
19875 #endif
19876 char cpowl ();
19878 main ()
19880 return cpowl ();
19882 return 0;
19884 _ACEOF
19885 if ac_fn_c_try_link "$LINENO"; then :
19886 ac_cv_lib_m_cpowl=yes
19887 else
19888 ac_cv_lib_m_cpowl=no
19890 rm -f core conftest.err conftest.$ac_objext \
19891 conftest$ac_exeext conftest.$ac_ext
19892 LIBS=$ac_check_lib_save_LIBS
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowl" >&5
19895 $as_echo "$ac_cv_lib_m_cpowl" >&6; }
19896 if test "x$ac_cv_lib_m_cpowl" = x""yes; then :
19898 $as_echo "#define HAVE_CPOWL 1" >>confdefs.h
19902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
19903 $as_echo_n "checking for roundf in -lm... " >&6; }
19904 if test "${ac_cv_lib_m_roundf+set}" = set; then :
19905 $as_echo_n "(cached) " >&6
19906 else
19907 ac_check_lib_save_LIBS=$LIBS
19908 LIBS="-lm $LIBS"
19909 if test x$gcc_no_link = xyes; then
19910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19913 /* end confdefs.h. */
19915 /* Override any GCC internal prototype to avoid an error.
19916 Use char because int might match the return type of a GCC
19917 builtin and then its argument prototype would still apply. */
19918 #ifdef __cplusplus
19919 extern "C"
19920 #endif
19921 char roundf ();
19923 main ()
19925 return roundf ();
19927 return 0;
19929 _ACEOF
19930 if ac_fn_c_try_link "$LINENO"; then :
19931 ac_cv_lib_m_roundf=yes
19932 else
19933 ac_cv_lib_m_roundf=no
19935 rm -f core conftest.err conftest.$ac_objext \
19936 conftest$ac_exeext conftest.$ac_ext
19937 LIBS=$ac_check_lib_save_LIBS
19939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
19940 $as_echo "$ac_cv_lib_m_roundf" >&6; }
19941 if test "x$ac_cv_lib_m_roundf" = x""yes; then :
19943 $as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
19947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
19948 $as_echo_n "checking for round in -lm... " >&6; }
19949 if test "${ac_cv_lib_m_round+set}" = set; then :
19950 $as_echo_n "(cached) " >&6
19951 else
19952 ac_check_lib_save_LIBS=$LIBS
19953 LIBS="-lm $LIBS"
19954 if test x$gcc_no_link = xyes; then
19955 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19958 /* end confdefs.h. */
19960 /* Override any GCC internal prototype to avoid an error.
19961 Use char because int might match the return type of a GCC
19962 builtin and then its argument prototype would still apply. */
19963 #ifdef __cplusplus
19964 extern "C"
19965 #endif
19966 char round ();
19968 main ()
19970 return round ();
19972 return 0;
19974 _ACEOF
19975 if ac_fn_c_try_link "$LINENO"; then :
19976 ac_cv_lib_m_round=yes
19977 else
19978 ac_cv_lib_m_round=no
19980 rm -f core conftest.err conftest.$ac_objext \
19981 conftest$ac_exeext conftest.$ac_ext
19982 LIBS=$ac_check_lib_save_LIBS
19984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
19985 $as_echo "$ac_cv_lib_m_round" >&6; }
19986 if test "x$ac_cv_lib_m_round" = x""yes; then :
19988 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
19992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
19993 $as_echo_n "checking for roundl in -lm... " >&6; }
19994 if test "${ac_cv_lib_m_roundl+set}" = set; then :
19995 $as_echo_n "(cached) " >&6
19996 else
19997 ac_check_lib_save_LIBS=$LIBS
19998 LIBS="-lm $LIBS"
19999 if test x$gcc_no_link = xyes; then
20000 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20003 /* end confdefs.h. */
20005 /* Override any GCC internal prototype to avoid an error.
20006 Use char because int might match the return type of a GCC
20007 builtin and then its argument prototype would still apply. */
20008 #ifdef __cplusplus
20009 extern "C"
20010 #endif
20011 char roundl ();
20013 main ()
20015 return roundl ();
20017 return 0;
20019 _ACEOF
20020 if ac_fn_c_try_link "$LINENO"; then :
20021 ac_cv_lib_m_roundl=yes
20022 else
20023 ac_cv_lib_m_roundl=no
20025 rm -f core conftest.err conftest.$ac_objext \
20026 conftest$ac_exeext conftest.$ac_ext
20027 LIBS=$ac_check_lib_save_LIBS
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundl" >&5
20030 $as_echo "$ac_cv_lib_m_roundl" >&6; }
20031 if test "x$ac_cv_lib_m_roundl" = x""yes; then :
20033 $as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20038 $as_echo_n "checking for lroundf in -lm... " >&6; }
20039 if test "${ac_cv_lib_m_lroundf+set}" = set; then :
20040 $as_echo_n "(cached) " >&6
20041 else
20042 ac_check_lib_save_LIBS=$LIBS
20043 LIBS="-lm $LIBS"
20044 if test x$gcc_no_link = xyes; then
20045 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20048 /* end confdefs.h. */
20050 /* Override any GCC internal prototype to avoid an error.
20051 Use char because int might match the return type of a GCC
20052 builtin and then its argument prototype would still apply. */
20053 #ifdef __cplusplus
20054 extern "C"
20055 #endif
20056 char lroundf ();
20058 main ()
20060 return lroundf ();
20062 return 0;
20064 _ACEOF
20065 if ac_fn_c_try_link "$LINENO"; then :
20066 ac_cv_lib_m_lroundf=yes
20067 else
20068 ac_cv_lib_m_lroundf=no
20070 rm -f core conftest.err conftest.$ac_objext \
20071 conftest$ac_exeext conftest.$ac_ext
20072 LIBS=$ac_check_lib_save_LIBS
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5
20075 $as_echo "$ac_cv_lib_m_lroundf" >&6; }
20076 if test "x$ac_cv_lib_m_lroundf" = x""yes; then :
20078 $as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20083 $as_echo_n "checking for lround in -lm... " >&6; }
20084 if test "${ac_cv_lib_m_lround+set}" = set; then :
20085 $as_echo_n "(cached) " >&6
20086 else
20087 ac_check_lib_save_LIBS=$LIBS
20088 LIBS="-lm $LIBS"
20089 if test x$gcc_no_link = xyes; then
20090 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20093 /* end confdefs.h. */
20095 /* Override any GCC internal prototype to avoid an error.
20096 Use char because int might match the return type of a GCC
20097 builtin and then its argument prototype would still apply. */
20098 #ifdef __cplusplus
20099 extern "C"
20100 #endif
20101 char lround ();
20103 main ()
20105 return lround ();
20107 return 0;
20109 _ACEOF
20110 if ac_fn_c_try_link "$LINENO"; then :
20111 ac_cv_lib_m_lround=yes
20112 else
20113 ac_cv_lib_m_lround=no
20115 rm -f core conftest.err conftest.$ac_objext \
20116 conftest$ac_exeext conftest.$ac_ext
20117 LIBS=$ac_check_lib_save_LIBS
20119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20120 $as_echo "$ac_cv_lib_m_lround" >&6; }
20121 if test "x$ac_cv_lib_m_lround" = x""yes; then :
20123 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20128 $as_echo_n "checking for lroundl in -lm... " >&6; }
20129 if test "${ac_cv_lib_m_lroundl+set}" = set; then :
20130 $as_echo_n "(cached) " >&6
20131 else
20132 ac_check_lib_save_LIBS=$LIBS
20133 LIBS="-lm $LIBS"
20134 if test x$gcc_no_link = xyes; then
20135 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20138 /* end confdefs.h. */
20140 /* Override any GCC internal prototype to avoid an error.
20141 Use char because int might match the return type of a GCC
20142 builtin and then its argument prototype would still apply. */
20143 #ifdef __cplusplus
20144 extern "C"
20145 #endif
20146 char lroundl ();
20148 main ()
20150 return lroundl ();
20152 return 0;
20154 _ACEOF
20155 if ac_fn_c_try_link "$LINENO"; then :
20156 ac_cv_lib_m_lroundl=yes
20157 else
20158 ac_cv_lib_m_lroundl=no
20160 rm -f core conftest.err conftest.$ac_objext \
20161 conftest$ac_exeext conftest.$ac_ext
20162 LIBS=$ac_check_lib_save_LIBS
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundl" >&5
20165 $as_echo "$ac_cv_lib_m_lroundl" >&6; }
20166 if test "x$ac_cv_lib_m_lroundl" = x""yes; then :
20168 $as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20173 $as_echo_n "checking for llroundf in -lm... " >&6; }
20174 if test "${ac_cv_lib_m_llroundf+set}" = set; then :
20175 $as_echo_n "(cached) " >&6
20176 else
20177 ac_check_lib_save_LIBS=$LIBS
20178 LIBS="-lm $LIBS"
20179 if test x$gcc_no_link = xyes; then
20180 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20183 /* end confdefs.h. */
20185 /* Override any GCC internal prototype to avoid an error.
20186 Use char because int might match the return type of a GCC
20187 builtin and then its argument prototype would still apply. */
20188 #ifdef __cplusplus
20189 extern "C"
20190 #endif
20191 char llroundf ();
20193 main ()
20195 return llroundf ();
20197 return 0;
20199 _ACEOF
20200 if ac_fn_c_try_link "$LINENO"; then :
20201 ac_cv_lib_m_llroundf=yes
20202 else
20203 ac_cv_lib_m_llroundf=no
20205 rm -f core conftest.err conftest.$ac_objext \
20206 conftest$ac_exeext conftest.$ac_ext
20207 LIBS=$ac_check_lib_save_LIBS
20209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundf" >&5
20210 $as_echo "$ac_cv_lib_m_llroundf" >&6; }
20211 if test "x$ac_cv_lib_m_llroundf" = x""yes; then :
20213 $as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
20217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
20218 $as_echo_n "checking for llround in -lm... " >&6; }
20219 if test "${ac_cv_lib_m_llround+set}" = set; then :
20220 $as_echo_n "(cached) " >&6
20221 else
20222 ac_check_lib_save_LIBS=$LIBS
20223 LIBS="-lm $LIBS"
20224 if test x$gcc_no_link = xyes; then
20225 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20228 /* end confdefs.h. */
20230 /* Override any GCC internal prototype to avoid an error.
20231 Use char because int might match the return type of a GCC
20232 builtin and then its argument prototype would still apply. */
20233 #ifdef __cplusplus
20234 extern "C"
20235 #endif
20236 char llround ();
20238 main ()
20240 return llround ();
20242 return 0;
20244 _ACEOF
20245 if ac_fn_c_try_link "$LINENO"; then :
20246 ac_cv_lib_m_llround=yes
20247 else
20248 ac_cv_lib_m_llround=no
20250 rm -f core conftest.err conftest.$ac_objext \
20251 conftest$ac_exeext conftest.$ac_ext
20252 LIBS=$ac_check_lib_save_LIBS
20254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llround" >&5
20255 $as_echo "$ac_cv_lib_m_llround" >&6; }
20256 if test "x$ac_cv_lib_m_llround" = x""yes; then :
20258 $as_echo "#define HAVE_LLROUND 1" >>confdefs.h
20262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
20263 $as_echo_n "checking for llroundl in -lm... " >&6; }
20264 if test "${ac_cv_lib_m_llroundl+set}" = set; then :
20265 $as_echo_n "(cached) " >&6
20266 else
20267 ac_check_lib_save_LIBS=$LIBS
20268 LIBS="-lm $LIBS"
20269 if test x$gcc_no_link = xyes; then
20270 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20273 /* end confdefs.h. */
20275 /* Override any GCC internal prototype to avoid an error.
20276 Use char because int might match the return type of a GCC
20277 builtin and then its argument prototype would still apply. */
20278 #ifdef __cplusplus
20279 extern "C"
20280 #endif
20281 char llroundl ();
20283 main ()
20285 return llroundl ();
20287 return 0;
20289 _ACEOF
20290 if ac_fn_c_try_link "$LINENO"; then :
20291 ac_cv_lib_m_llroundl=yes
20292 else
20293 ac_cv_lib_m_llroundl=no
20295 rm -f core conftest.err conftest.$ac_objext \
20296 conftest$ac_exeext conftest.$ac_ext
20297 LIBS=$ac_check_lib_save_LIBS
20299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundl" >&5
20300 $as_echo "$ac_cv_lib_m_llroundl" >&6; }
20301 if test "x$ac_cv_lib_m_llroundl" = x""yes; then :
20303 $as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
20307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
20308 $as_echo_n "checking for scalbnf in -lm... " >&6; }
20309 if test "${ac_cv_lib_m_scalbnf+set}" = set; then :
20310 $as_echo_n "(cached) " >&6
20311 else
20312 ac_check_lib_save_LIBS=$LIBS
20313 LIBS="-lm $LIBS"
20314 if test x$gcc_no_link = xyes; then
20315 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20318 /* end confdefs.h. */
20320 /* Override any GCC internal prototype to avoid an error.
20321 Use char because int might match the return type of a GCC
20322 builtin and then its argument prototype would still apply. */
20323 #ifdef __cplusplus
20324 extern "C"
20325 #endif
20326 char scalbnf ();
20328 main ()
20330 return scalbnf ();
20332 return 0;
20334 _ACEOF
20335 if ac_fn_c_try_link "$LINENO"; then :
20336 ac_cv_lib_m_scalbnf=yes
20337 else
20338 ac_cv_lib_m_scalbnf=no
20340 rm -f core conftest.err conftest.$ac_objext \
20341 conftest$ac_exeext conftest.$ac_ext
20342 LIBS=$ac_check_lib_save_LIBS
20344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnf" >&5
20345 $as_echo "$ac_cv_lib_m_scalbnf" >&6; }
20346 if test "x$ac_cv_lib_m_scalbnf" = x""yes; then :
20348 $as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
20352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
20353 $as_echo_n "checking for scalbn in -lm... " >&6; }
20354 if test "${ac_cv_lib_m_scalbn+set}" = set; then :
20355 $as_echo_n "(cached) " >&6
20356 else
20357 ac_check_lib_save_LIBS=$LIBS
20358 LIBS="-lm $LIBS"
20359 if test x$gcc_no_link = xyes; then
20360 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20363 /* end confdefs.h. */
20365 /* Override any GCC internal prototype to avoid an error.
20366 Use char because int might match the return type of a GCC
20367 builtin and then its argument prototype would still apply. */
20368 #ifdef __cplusplus
20369 extern "C"
20370 #endif
20371 char scalbn ();
20373 main ()
20375 return scalbn ();
20377 return 0;
20379 _ACEOF
20380 if ac_fn_c_try_link "$LINENO"; then :
20381 ac_cv_lib_m_scalbn=yes
20382 else
20383 ac_cv_lib_m_scalbn=no
20385 rm -f core conftest.err conftest.$ac_objext \
20386 conftest$ac_exeext conftest.$ac_ext
20387 LIBS=$ac_check_lib_save_LIBS
20389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbn" >&5
20390 $as_echo "$ac_cv_lib_m_scalbn" >&6; }
20391 if test "x$ac_cv_lib_m_scalbn" = x""yes; then :
20393 $as_echo "#define HAVE_SCALBN 1" >>confdefs.h
20397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
20398 $as_echo_n "checking for scalbnl in -lm... " >&6; }
20399 if test "${ac_cv_lib_m_scalbnl+set}" = set; then :
20400 $as_echo_n "(cached) " >&6
20401 else
20402 ac_check_lib_save_LIBS=$LIBS
20403 LIBS="-lm $LIBS"
20404 if test x$gcc_no_link = xyes; then
20405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20408 /* end confdefs.h. */
20410 /* Override any GCC internal prototype to avoid an error.
20411 Use char because int might match the return type of a GCC
20412 builtin and then its argument prototype would still apply. */
20413 #ifdef __cplusplus
20414 extern "C"
20415 #endif
20416 char scalbnl ();
20418 main ()
20420 return scalbnl ();
20422 return 0;
20424 _ACEOF
20425 if ac_fn_c_try_link "$LINENO"; then :
20426 ac_cv_lib_m_scalbnl=yes
20427 else
20428 ac_cv_lib_m_scalbnl=no
20430 rm -f core conftest.err conftest.$ac_objext \
20431 conftest$ac_exeext conftest.$ac_ext
20432 LIBS=$ac_check_lib_save_LIBS
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnl" >&5
20435 $as_echo "$ac_cv_lib_m_scalbnl" >&6; }
20436 if test "x$ac_cv_lib_m_scalbnl" = x""yes; then :
20438 $as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
20442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
20443 $as_echo_n "checking for sinf in -lm... " >&6; }
20444 if test "${ac_cv_lib_m_sinf+set}" = set; then :
20445 $as_echo_n "(cached) " >&6
20446 else
20447 ac_check_lib_save_LIBS=$LIBS
20448 LIBS="-lm $LIBS"
20449 if test x$gcc_no_link = xyes; then
20450 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20453 /* end confdefs.h. */
20455 /* Override any GCC internal prototype to avoid an error.
20456 Use char because int might match the return type of a GCC
20457 builtin and then its argument prototype would still apply. */
20458 #ifdef __cplusplus
20459 extern "C"
20460 #endif
20461 char sinf ();
20463 main ()
20465 return sinf ();
20467 return 0;
20469 _ACEOF
20470 if ac_fn_c_try_link "$LINENO"; then :
20471 ac_cv_lib_m_sinf=yes
20472 else
20473 ac_cv_lib_m_sinf=no
20475 rm -f core conftest.err conftest.$ac_objext \
20476 conftest$ac_exeext conftest.$ac_ext
20477 LIBS=$ac_check_lib_save_LIBS
20479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
20480 $as_echo "$ac_cv_lib_m_sinf" >&6; }
20481 if test "x$ac_cv_lib_m_sinf" = x""yes; then :
20483 $as_echo "#define HAVE_SINF 1" >>confdefs.h
20487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20488 $as_echo_n "checking for sin in -lm... " >&6; }
20489 if test "${ac_cv_lib_m_sin+set}" = set; then :
20490 $as_echo_n "(cached) " >&6
20491 else
20492 ac_check_lib_save_LIBS=$LIBS
20493 LIBS="-lm $LIBS"
20494 if test x$gcc_no_link = xyes; then
20495 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20498 /* end confdefs.h. */
20500 /* Override any GCC internal prototype to avoid an error.
20501 Use char because int might match the return type of a GCC
20502 builtin and then its argument prototype would still apply. */
20503 #ifdef __cplusplus
20504 extern "C"
20505 #endif
20506 char sin ();
20508 main ()
20510 return sin ();
20512 return 0;
20514 _ACEOF
20515 if ac_fn_c_try_link "$LINENO"; then :
20516 ac_cv_lib_m_sin=yes
20517 else
20518 ac_cv_lib_m_sin=no
20520 rm -f core conftest.err conftest.$ac_objext \
20521 conftest$ac_exeext conftest.$ac_ext
20522 LIBS=$ac_check_lib_save_LIBS
20524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20525 $as_echo "$ac_cv_lib_m_sin" >&6; }
20526 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20528 $as_echo "#define HAVE_SIN 1" >>confdefs.h
20532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
20533 $as_echo_n "checking for sinl in -lm... " >&6; }
20534 if test "${ac_cv_lib_m_sinl+set}" = set; then :
20535 $as_echo_n "(cached) " >&6
20536 else
20537 ac_check_lib_save_LIBS=$LIBS
20538 LIBS="-lm $LIBS"
20539 if test x$gcc_no_link = xyes; then
20540 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20543 /* end confdefs.h. */
20545 /* Override any GCC internal prototype to avoid an error.
20546 Use char because int might match the return type of a GCC
20547 builtin and then its argument prototype would still apply. */
20548 #ifdef __cplusplus
20549 extern "C"
20550 #endif
20551 char sinl ();
20553 main ()
20555 return sinl ();
20557 return 0;
20559 _ACEOF
20560 if ac_fn_c_try_link "$LINENO"; then :
20561 ac_cv_lib_m_sinl=yes
20562 else
20563 ac_cv_lib_m_sinl=no
20565 rm -f core conftest.err conftest.$ac_objext \
20566 conftest$ac_exeext conftest.$ac_ext
20567 LIBS=$ac_check_lib_save_LIBS
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinl" >&5
20570 $as_echo "$ac_cv_lib_m_sinl" >&6; }
20571 if test "x$ac_cv_lib_m_sinl" = x""yes; then :
20573 $as_echo "#define HAVE_SINL 1" >>confdefs.h
20577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
20578 $as_echo_n "checking for csinf in -lm... " >&6; }
20579 if test "${ac_cv_lib_m_csinf+set}" = set; then :
20580 $as_echo_n "(cached) " >&6
20581 else
20582 ac_check_lib_save_LIBS=$LIBS
20583 LIBS="-lm $LIBS"
20584 if test x$gcc_no_link = xyes; then
20585 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20588 /* end confdefs.h. */
20590 /* Override any GCC internal prototype to avoid an error.
20591 Use char because int might match the return type of a GCC
20592 builtin and then its argument prototype would still apply. */
20593 #ifdef __cplusplus
20594 extern "C"
20595 #endif
20596 char csinf ();
20598 main ()
20600 return csinf ();
20602 return 0;
20604 _ACEOF
20605 if ac_fn_c_try_link "$LINENO"; then :
20606 ac_cv_lib_m_csinf=yes
20607 else
20608 ac_cv_lib_m_csinf=no
20610 rm -f core conftest.err conftest.$ac_objext \
20611 conftest$ac_exeext conftest.$ac_ext
20612 LIBS=$ac_check_lib_save_LIBS
20614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinf" >&5
20615 $as_echo "$ac_cv_lib_m_csinf" >&6; }
20616 if test "x$ac_cv_lib_m_csinf" = x""yes; then :
20618 $as_echo "#define HAVE_CSINF 1" >>confdefs.h
20622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
20623 $as_echo_n "checking for csin in -lm... " >&6; }
20624 if test "${ac_cv_lib_m_csin+set}" = set; then :
20625 $as_echo_n "(cached) " >&6
20626 else
20627 ac_check_lib_save_LIBS=$LIBS
20628 LIBS="-lm $LIBS"
20629 if test x$gcc_no_link = xyes; then
20630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20633 /* end confdefs.h. */
20635 /* Override any GCC internal prototype to avoid an error.
20636 Use char because int might match the return type of a GCC
20637 builtin and then its argument prototype would still apply. */
20638 #ifdef __cplusplus
20639 extern "C"
20640 #endif
20641 char csin ();
20643 main ()
20645 return csin ();
20647 return 0;
20649 _ACEOF
20650 if ac_fn_c_try_link "$LINENO"; then :
20651 ac_cv_lib_m_csin=yes
20652 else
20653 ac_cv_lib_m_csin=no
20655 rm -f core conftest.err conftest.$ac_objext \
20656 conftest$ac_exeext conftest.$ac_ext
20657 LIBS=$ac_check_lib_save_LIBS
20659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csin" >&5
20660 $as_echo "$ac_cv_lib_m_csin" >&6; }
20661 if test "x$ac_cv_lib_m_csin" = x""yes; then :
20663 $as_echo "#define HAVE_CSIN 1" >>confdefs.h
20667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
20668 $as_echo_n "checking for csinl in -lm... " >&6; }
20669 if test "${ac_cv_lib_m_csinl+set}" = set; then :
20670 $as_echo_n "(cached) " >&6
20671 else
20672 ac_check_lib_save_LIBS=$LIBS
20673 LIBS="-lm $LIBS"
20674 if test x$gcc_no_link = xyes; then
20675 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20678 /* end confdefs.h. */
20680 /* Override any GCC internal prototype to avoid an error.
20681 Use char because int might match the return type of a GCC
20682 builtin and then its argument prototype would still apply. */
20683 #ifdef __cplusplus
20684 extern "C"
20685 #endif
20686 char csinl ();
20688 main ()
20690 return csinl ();
20692 return 0;
20694 _ACEOF
20695 if ac_fn_c_try_link "$LINENO"; then :
20696 ac_cv_lib_m_csinl=yes
20697 else
20698 ac_cv_lib_m_csinl=no
20700 rm -f core conftest.err conftest.$ac_objext \
20701 conftest$ac_exeext conftest.$ac_ext
20702 LIBS=$ac_check_lib_save_LIBS
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinl" >&5
20705 $as_echo "$ac_cv_lib_m_csinl" >&6; }
20706 if test "x$ac_cv_lib_m_csinl" = x""yes; then :
20708 $as_echo "#define HAVE_CSINL 1" >>confdefs.h
20712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
20713 $as_echo_n "checking for sinhf in -lm... " >&6; }
20714 if test "${ac_cv_lib_m_sinhf+set}" = set; then :
20715 $as_echo_n "(cached) " >&6
20716 else
20717 ac_check_lib_save_LIBS=$LIBS
20718 LIBS="-lm $LIBS"
20719 if test x$gcc_no_link = xyes; then
20720 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20723 /* end confdefs.h. */
20725 /* Override any GCC internal prototype to avoid an error.
20726 Use char because int might match the return type of a GCC
20727 builtin and then its argument prototype would still apply. */
20728 #ifdef __cplusplus
20729 extern "C"
20730 #endif
20731 char sinhf ();
20733 main ()
20735 return sinhf ();
20737 return 0;
20739 _ACEOF
20740 if ac_fn_c_try_link "$LINENO"; then :
20741 ac_cv_lib_m_sinhf=yes
20742 else
20743 ac_cv_lib_m_sinhf=no
20745 rm -f core conftest.err conftest.$ac_objext \
20746 conftest$ac_exeext conftest.$ac_ext
20747 LIBS=$ac_check_lib_save_LIBS
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhf" >&5
20750 $as_echo "$ac_cv_lib_m_sinhf" >&6; }
20751 if test "x$ac_cv_lib_m_sinhf" = x""yes; then :
20753 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
20757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
20758 $as_echo_n "checking for sinh in -lm... " >&6; }
20759 if test "${ac_cv_lib_m_sinh+set}" = set; then :
20760 $as_echo_n "(cached) " >&6
20761 else
20762 ac_check_lib_save_LIBS=$LIBS
20763 LIBS="-lm $LIBS"
20764 if test x$gcc_no_link = xyes; then
20765 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20768 /* end confdefs.h. */
20770 /* Override any GCC internal prototype to avoid an error.
20771 Use char because int might match the return type of a GCC
20772 builtin and then its argument prototype would still apply. */
20773 #ifdef __cplusplus
20774 extern "C"
20775 #endif
20776 char sinh ();
20778 main ()
20780 return sinh ();
20782 return 0;
20784 _ACEOF
20785 if ac_fn_c_try_link "$LINENO"; then :
20786 ac_cv_lib_m_sinh=yes
20787 else
20788 ac_cv_lib_m_sinh=no
20790 rm -f core conftest.err conftest.$ac_objext \
20791 conftest$ac_exeext conftest.$ac_ext
20792 LIBS=$ac_check_lib_save_LIBS
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinh" >&5
20795 $as_echo "$ac_cv_lib_m_sinh" >&6; }
20796 if test "x$ac_cv_lib_m_sinh" = x""yes; then :
20798 $as_echo "#define HAVE_SINH 1" >>confdefs.h
20802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
20803 $as_echo_n "checking for sinhl in -lm... " >&6; }
20804 if test "${ac_cv_lib_m_sinhl+set}" = set; then :
20805 $as_echo_n "(cached) " >&6
20806 else
20807 ac_check_lib_save_LIBS=$LIBS
20808 LIBS="-lm $LIBS"
20809 if test x$gcc_no_link = xyes; then
20810 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20813 /* end confdefs.h. */
20815 /* Override any GCC internal prototype to avoid an error.
20816 Use char because int might match the return type of a GCC
20817 builtin and then its argument prototype would still apply. */
20818 #ifdef __cplusplus
20819 extern "C"
20820 #endif
20821 char sinhl ();
20823 main ()
20825 return sinhl ();
20827 return 0;
20829 _ACEOF
20830 if ac_fn_c_try_link "$LINENO"; then :
20831 ac_cv_lib_m_sinhl=yes
20832 else
20833 ac_cv_lib_m_sinhl=no
20835 rm -f core conftest.err conftest.$ac_objext \
20836 conftest$ac_exeext conftest.$ac_ext
20837 LIBS=$ac_check_lib_save_LIBS
20839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhl" >&5
20840 $as_echo "$ac_cv_lib_m_sinhl" >&6; }
20841 if test "x$ac_cv_lib_m_sinhl" = x""yes; then :
20843 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
20847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
20848 $as_echo_n "checking for csinhf in -lm... " >&6; }
20849 if test "${ac_cv_lib_m_csinhf+set}" = set; then :
20850 $as_echo_n "(cached) " >&6
20851 else
20852 ac_check_lib_save_LIBS=$LIBS
20853 LIBS="-lm $LIBS"
20854 if test x$gcc_no_link = xyes; then
20855 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20858 /* end confdefs.h. */
20860 /* Override any GCC internal prototype to avoid an error.
20861 Use char because int might match the return type of a GCC
20862 builtin and then its argument prototype would still apply. */
20863 #ifdef __cplusplus
20864 extern "C"
20865 #endif
20866 char csinhf ();
20868 main ()
20870 return csinhf ();
20872 return 0;
20874 _ACEOF
20875 if ac_fn_c_try_link "$LINENO"; then :
20876 ac_cv_lib_m_csinhf=yes
20877 else
20878 ac_cv_lib_m_csinhf=no
20880 rm -f core conftest.err conftest.$ac_objext \
20881 conftest$ac_exeext conftest.$ac_ext
20882 LIBS=$ac_check_lib_save_LIBS
20884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhf" >&5
20885 $as_echo "$ac_cv_lib_m_csinhf" >&6; }
20886 if test "x$ac_cv_lib_m_csinhf" = x""yes; then :
20888 $as_echo "#define HAVE_CSINHF 1" >>confdefs.h
20892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
20893 $as_echo_n "checking for csinh in -lm... " >&6; }
20894 if test "${ac_cv_lib_m_csinh+set}" = set; then :
20895 $as_echo_n "(cached) " >&6
20896 else
20897 ac_check_lib_save_LIBS=$LIBS
20898 LIBS="-lm $LIBS"
20899 if test x$gcc_no_link = xyes; then
20900 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20903 /* end confdefs.h. */
20905 /* Override any GCC internal prototype to avoid an error.
20906 Use char because int might match the return type of a GCC
20907 builtin and then its argument prototype would still apply. */
20908 #ifdef __cplusplus
20909 extern "C"
20910 #endif
20911 char csinh ();
20913 main ()
20915 return csinh ();
20917 return 0;
20919 _ACEOF
20920 if ac_fn_c_try_link "$LINENO"; then :
20921 ac_cv_lib_m_csinh=yes
20922 else
20923 ac_cv_lib_m_csinh=no
20925 rm -f core conftest.err conftest.$ac_objext \
20926 conftest$ac_exeext conftest.$ac_ext
20927 LIBS=$ac_check_lib_save_LIBS
20929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinh" >&5
20930 $as_echo "$ac_cv_lib_m_csinh" >&6; }
20931 if test "x$ac_cv_lib_m_csinh" = x""yes; then :
20933 $as_echo "#define HAVE_CSINH 1" >>confdefs.h
20937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
20938 $as_echo_n "checking for csinhl in -lm... " >&6; }
20939 if test "${ac_cv_lib_m_csinhl+set}" = set; then :
20940 $as_echo_n "(cached) " >&6
20941 else
20942 ac_check_lib_save_LIBS=$LIBS
20943 LIBS="-lm $LIBS"
20944 if test x$gcc_no_link = xyes; then
20945 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20948 /* end confdefs.h. */
20950 /* Override any GCC internal prototype to avoid an error.
20951 Use char because int might match the return type of a GCC
20952 builtin and then its argument prototype would still apply. */
20953 #ifdef __cplusplus
20954 extern "C"
20955 #endif
20956 char csinhl ();
20958 main ()
20960 return csinhl ();
20962 return 0;
20964 _ACEOF
20965 if ac_fn_c_try_link "$LINENO"; then :
20966 ac_cv_lib_m_csinhl=yes
20967 else
20968 ac_cv_lib_m_csinhl=no
20970 rm -f core conftest.err conftest.$ac_objext \
20971 conftest$ac_exeext conftest.$ac_ext
20972 LIBS=$ac_check_lib_save_LIBS
20974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhl" >&5
20975 $as_echo "$ac_cv_lib_m_csinhl" >&6; }
20976 if test "x$ac_cv_lib_m_csinhl" = x""yes; then :
20978 $as_echo "#define HAVE_CSINHL 1" >>confdefs.h
20982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
20983 $as_echo_n "checking for sqrtf in -lm... " >&6; }
20984 if test "${ac_cv_lib_m_sqrtf+set}" = set; then :
20985 $as_echo_n "(cached) " >&6
20986 else
20987 ac_check_lib_save_LIBS=$LIBS
20988 LIBS="-lm $LIBS"
20989 if test x$gcc_no_link = xyes; then
20990 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20993 /* end confdefs.h. */
20995 /* Override any GCC internal prototype to avoid an error.
20996 Use char because int might match the return type of a GCC
20997 builtin and then its argument prototype would still apply. */
20998 #ifdef __cplusplus
20999 extern "C"
21000 #endif
21001 char sqrtf ();
21003 main ()
21005 return sqrtf ();
21007 return 0;
21009 _ACEOF
21010 if ac_fn_c_try_link "$LINENO"; then :
21011 ac_cv_lib_m_sqrtf=yes
21012 else
21013 ac_cv_lib_m_sqrtf=no
21015 rm -f core conftest.err conftest.$ac_objext \
21016 conftest$ac_exeext conftest.$ac_ext
21017 LIBS=$ac_check_lib_save_LIBS
21019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
21020 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
21021 if test "x$ac_cv_lib_m_sqrtf" = x""yes; then :
21023 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21028 $as_echo_n "checking for sqrt in -lm... " >&6; }
21029 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
21030 $as_echo_n "(cached) " >&6
21031 else
21032 ac_check_lib_save_LIBS=$LIBS
21033 LIBS="-lm $LIBS"
21034 if test x$gcc_no_link = xyes; then
21035 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21038 /* end confdefs.h. */
21040 /* Override any GCC internal prototype to avoid an error.
21041 Use char because int might match the return type of a GCC
21042 builtin and then its argument prototype would still apply. */
21043 #ifdef __cplusplus
21044 extern "C"
21045 #endif
21046 char sqrt ();
21048 main ()
21050 return sqrt ();
21052 return 0;
21054 _ACEOF
21055 if ac_fn_c_try_link "$LINENO"; then :
21056 ac_cv_lib_m_sqrt=yes
21057 else
21058 ac_cv_lib_m_sqrt=no
21060 rm -f core conftest.err conftest.$ac_objext \
21061 conftest$ac_exeext conftest.$ac_ext
21062 LIBS=$ac_check_lib_save_LIBS
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
21065 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
21066 if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
21068 $as_echo "#define HAVE_SQRT 1" >>confdefs.h
21072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21073 $as_echo_n "checking for sqrtl in -lm... " >&6; }
21074 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
21075 $as_echo_n "(cached) " >&6
21076 else
21077 ac_check_lib_save_LIBS=$LIBS
21078 LIBS="-lm $LIBS"
21079 if test x$gcc_no_link = xyes; then
21080 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21083 /* end confdefs.h. */
21085 /* Override any GCC internal prototype to avoid an error.
21086 Use char because int might match the return type of a GCC
21087 builtin and then its argument prototype would still apply. */
21088 #ifdef __cplusplus
21089 extern "C"
21090 #endif
21091 char sqrtl ();
21093 main ()
21095 return sqrtl ();
21097 return 0;
21099 _ACEOF
21100 if ac_fn_c_try_link "$LINENO"; then :
21101 ac_cv_lib_m_sqrtl=yes
21102 else
21103 ac_cv_lib_m_sqrtl=no
21105 rm -f core conftest.err conftest.$ac_objext \
21106 conftest$ac_exeext conftest.$ac_ext
21107 LIBS=$ac_check_lib_save_LIBS
21109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
21110 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21111 if test "x$ac_cv_lib_m_sqrtl" = x""yes; then :
21113 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21118 $as_echo_n "checking for csqrtf in -lm... " >&6; }
21119 if test "${ac_cv_lib_m_csqrtf+set}" = set; then :
21120 $as_echo_n "(cached) " >&6
21121 else
21122 ac_check_lib_save_LIBS=$LIBS
21123 LIBS="-lm $LIBS"
21124 if test x$gcc_no_link = xyes; then
21125 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21128 /* end confdefs.h. */
21130 /* Override any GCC internal prototype to avoid an error.
21131 Use char because int might match the return type of a GCC
21132 builtin and then its argument prototype would still apply. */
21133 #ifdef __cplusplus
21134 extern "C"
21135 #endif
21136 char csqrtf ();
21138 main ()
21140 return csqrtf ();
21142 return 0;
21144 _ACEOF
21145 if ac_fn_c_try_link "$LINENO"; then :
21146 ac_cv_lib_m_csqrtf=yes
21147 else
21148 ac_cv_lib_m_csqrtf=no
21150 rm -f core conftest.err conftest.$ac_objext \
21151 conftest$ac_exeext conftest.$ac_ext
21152 LIBS=$ac_check_lib_save_LIBS
21154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtf" >&5
21155 $as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21156 if test "x$ac_cv_lib_m_csqrtf" = x""yes; then :
21158 $as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21163 $as_echo_n "checking for csqrt in -lm... " >&6; }
21164 if test "${ac_cv_lib_m_csqrt+set}" = set; then :
21165 $as_echo_n "(cached) " >&6
21166 else
21167 ac_check_lib_save_LIBS=$LIBS
21168 LIBS="-lm $LIBS"
21169 if test x$gcc_no_link = xyes; then
21170 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21173 /* end confdefs.h. */
21175 /* Override any GCC internal prototype to avoid an error.
21176 Use char because int might match the return type of a GCC
21177 builtin and then its argument prototype would still apply. */
21178 #ifdef __cplusplus
21179 extern "C"
21180 #endif
21181 char csqrt ();
21183 main ()
21185 return csqrt ();
21187 return 0;
21189 _ACEOF
21190 if ac_fn_c_try_link "$LINENO"; then :
21191 ac_cv_lib_m_csqrt=yes
21192 else
21193 ac_cv_lib_m_csqrt=no
21195 rm -f core conftest.err conftest.$ac_objext \
21196 conftest$ac_exeext conftest.$ac_ext
21197 LIBS=$ac_check_lib_save_LIBS
21199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrt" >&5
21200 $as_echo "$ac_cv_lib_m_csqrt" >&6; }
21201 if test "x$ac_cv_lib_m_csqrt" = x""yes; then :
21203 $as_echo "#define HAVE_CSQRT 1" >>confdefs.h
21207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
21208 $as_echo_n "checking for csqrtl in -lm... " >&6; }
21209 if test "${ac_cv_lib_m_csqrtl+set}" = set; then :
21210 $as_echo_n "(cached) " >&6
21211 else
21212 ac_check_lib_save_LIBS=$LIBS
21213 LIBS="-lm $LIBS"
21214 if test x$gcc_no_link = xyes; then
21215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21218 /* end confdefs.h. */
21220 /* Override any GCC internal prototype to avoid an error.
21221 Use char because int might match the return type of a GCC
21222 builtin and then its argument prototype would still apply. */
21223 #ifdef __cplusplus
21224 extern "C"
21225 #endif
21226 char csqrtl ();
21228 main ()
21230 return csqrtl ();
21232 return 0;
21234 _ACEOF
21235 if ac_fn_c_try_link "$LINENO"; then :
21236 ac_cv_lib_m_csqrtl=yes
21237 else
21238 ac_cv_lib_m_csqrtl=no
21240 rm -f core conftest.err conftest.$ac_objext \
21241 conftest$ac_exeext conftest.$ac_ext
21242 LIBS=$ac_check_lib_save_LIBS
21244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtl" >&5
21245 $as_echo "$ac_cv_lib_m_csqrtl" >&6; }
21246 if test "x$ac_cv_lib_m_csqrtl" = x""yes; then :
21248 $as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
21252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
21253 $as_echo_n "checking for tanf in -lm... " >&6; }
21254 if test "${ac_cv_lib_m_tanf+set}" = set; then :
21255 $as_echo_n "(cached) " >&6
21256 else
21257 ac_check_lib_save_LIBS=$LIBS
21258 LIBS="-lm $LIBS"
21259 if test x$gcc_no_link = xyes; then
21260 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21263 /* end confdefs.h. */
21265 /* Override any GCC internal prototype to avoid an error.
21266 Use char because int might match the return type of a GCC
21267 builtin and then its argument prototype would still apply. */
21268 #ifdef __cplusplus
21269 extern "C"
21270 #endif
21271 char tanf ();
21273 main ()
21275 return tanf ();
21277 return 0;
21279 _ACEOF
21280 if ac_fn_c_try_link "$LINENO"; then :
21281 ac_cv_lib_m_tanf=yes
21282 else
21283 ac_cv_lib_m_tanf=no
21285 rm -f core conftest.err conftest.$ac_objext \
21286 conftest$ac_exeext conftest.$ac_ext
21287 LIBS=$ac_check_lib_save_LIBS
21289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanf" >&5
21290 $as_echo "$ac_cv_lib_m_tanf" >&6; }
21291 if test "x$ac_cv_lib_m_tanf" = x""yes; then :
21293 $as_echo "#define HAVE_TANF 1" >>confdefs.h
21297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
21298 $as_echo_n "checking for tan in -lm... " >&6; }
21299 if test "${ac_cv_lib_m_tan+set}" = set; then :
21300 $as_echo_n "(cached) " >&6
21301 else
21302 ac_check_lib_save_LIBS=$LIBS
21303 LIBS="-lm $LIBS"
21304 if test x$gcc_no_link = xyes; then
21305 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21308 /* end confdefs.h. */
21310 /* Override any GCC internal prototype to avoid an error.
21311 Use char because int might match the return type of a GCC
21312 builtin and then its argument prototype would still apply. */
21313 #ifdef __cplusplus
21314 extern "C"
21315 #endif
21316 char tan ();
21318 main ()
21320 return tan ();
21322 return 0;
21324 _ACEOF
21325 if ac_fn_c_try_link "$LINENO"; then :
21326 ac_cv_lib_m_tan=yes
21327 else
21328 ac_cv_lib_m_tan=no
21330 rm -f core conftest.err conftest.$ac_objext \
21331 conftest$ac_exeext conftest.$ac_ext
21332 LIBS=$ac_check_lib_save_LIBS
21334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5
21335 $as_echo "$ac_cv_lib_m_tan" >&6; }
21336 if test "x$ac_cv_lib_m_tan" = x""yes; then :
21338 $as_echo "#define HAVE_TAN 1" >>confdefs.h
21342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
21343 $as_echo_n "checking for tanl in -lm... " >&6; }
21344 if test "${ac_cv_lib_m_tanl+set}" = set; then :
21345 $as_echo_n "(cached) " >&6
21346 else
21347 ac_check_lib_save_LIBS=$LIBS
21348 LIBS="-lm $LIBS"
21349 if test x$gcc_no_link = xyes; then
21350 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21353 /* end confdefs.h. */
21355 /* Override any GCC internal prototype to avoid an error.
21356 Use char because int might match the return type of a GCC
21357 builtin and then its argument prototype would still apply. */
21358 #ifdef __cplusplus
21359 extern "C"
21360 #endif
21361 char tanl ();
21363 main ()
21365 return tanl ();
21367 return 0;
21369 _ACEOF
21370 if ac_fn_c_try_link "$LINENO"; then :
21371 ac_cv_lib_m_tanl=yes
21372 else
21373 ac_cv_lib_m_tanl=no
21375 rm -f core conftest.err conftest.$ac_objext \
21376 conftest$ac_exeext conftest.$ac_ext
21377 LIBS=$ac_check_lib_save_LIBS
21379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanl" >&5
21380 $as_echo "$ac_cv_lib_m_tanl" >&6; }
21381 if test "x$ac_cv_lib_m_tanl" = x""yes; then :
21383 $as_echo "#define HAVE_TANL 1" >>confdefs.h
21387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
21388 $as_echo_n "checking for ctanf in -lm... " >&6; }
21389 if test "${ac_cv_lib_m_ctanf+set}" = set; then :
21390 $as_echo_n "(cached) " >&6
21391 else
21392 ac_check_lib_save_LIBS=$LIBS
21393 LIBS="-lm $LIBS"
21394 if test x$gcc_no_link = xyes; then
21395 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21398 /* end confdefs.h. */
21400 /* Override any GCC internal prototype to avoid an error.
21401 Use char because int might match the return type of a GCC
21402 builtin and then its argument prototype would still apply. */
21403 #ifdef __cplusplus
21404 extern "C"
21405 #endif
21406 char ctanf ();
21408 main ()
21410 return ctanf ();
21412 return 0;
21414 _ACEOF
21415 if ac_fn_c_try_link "$LINENO"; then :
21416 ac_cv_lib_m_ctanf=yes
21417 else
21418 ac_cv_lib_m_ctanf=no
21420 rm -f core conftest.err conftest.$ac_objext \
21421 conftest$ac_exeext conftest.$ac_ext
21422 LIBS=$ac_check_lib_save_LIBS
21424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanf" >&5
21425 $as_echo "$ac_cv_lib_m_ctanf" >&6; }
21426 if test "x$ac_cv_lib_m_ctanf" = x""yes; then :
21428 $as_echo "#define HAVE_CTANF 1" >>confdefs.h
21432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
21433 $as_echo_n "checking for ctan in -lm... " >&6; }
21434 if test "${ac_cv_lib_m_ctan+set}" = set; then :
21435 $as_echo_n "(cached) " >&6
21436 else
21437 ac_check_lib_save_LIBS=$LIBS
21438 LIBS="-lm $LIBS"
21439 if test x$gcc_no_link = xyes; then
21440 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21443 /* end confdefs.h. */
21445 /* Override any GCC internal prototype to avoid an error.
21446 Use char because int might match the return type of a GCC
21447 builtin and then its argument prototype would still apply. */
21448 #ifdef __cplusplus
21449 extern "C"
21450 #endif
21451 char ctan ();
21453 main ()
21455 return ctan ();
21457 return 0;
21459 _ACEOF
21460 if ac_fn_c_try_link "$LINENO"; then :
21461 ac_cv_lib_m_ctan=yes
21462 else
21463 ac_cv_lib_m_ctan=no
21465 rm -f core conftest.err conftest.$ac_objext \
21466 conftest$ac_exeext conftest.$ac_ext
21467 LIBS=$ac_check_lib_save_LIBS
21469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctan" >&5
21470 $as_echo "$ac_cv_lib_m_ctan" >&6; }
21471 if test "x$ac_cv_lib_m_ctan" = x""yes; then :
21473 $as_echo "#define HAVE_CTAN 1" >>confdefs.h
21477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
21478 $as_echo_n "checking for ctanl in -lm... " >&6; }
21479 if test "${ac_cv_lib_m_ctanl+set}" = set; then :
21480 $as_echo_n "(cached) " >&6
21481 else
21482 ac_check_lib_save_LIBS=$LIBS
21483 LIBS="-lm $LIBS"
21484 if test x$gcc_no_link = xyes; then
21485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21488 /* end confdefs.h. */
21490 /* Override any GCC internal prototype to avoid an error.
21491 Use char because int might match the return type of a GCC
21492 builtin and then its argument prototype would still apply. */
21493 #ifdef __cplusplus
21494 extern "C"
21495 #endif
21496 char ctanl ();
21498 main ()
21500 return ctanl ();
21502 return 0;
21504 _ACEOF
21505 if ac_fn_c_try_link "$LINENO"; then :
21506 ac_cv_lib_m_ctanl=yes
21507 else
21508 ac_cv_lib_m_ctanl=no
21510 rm -f core conftest.err conftest.$ac_objext \
21511 conftest$ac_exeext conftest.$ac_ext
21512 LIBS=$ac_check_lib_save_LIBS
21514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanl" >&5
21515 $as_echo "$ac_cv_lib_m_ctanl" >&6; }
21516 if test "x$ac_cv_lib_m_ctanl" = x""yes; then :
21518 $as_echo "#define HAVE_CTANL 1" >>confdefs.h
21522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
21523 $as_echo_n "checking for tanhf in -lm... " >&6; }
21524 if test "${ac_cv_lib_m_tanhf+set}" = set; then :
21525 $as_echo_n "(cached) " >&6
21526 else
21527 ac_check_lib_save_LIBS=$LIBS
21528 LIBS="-lm $LIBS"
21529 if test x$gcc_no_link = xyes; then
21530 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21533 /* end confdefs.h. */
21535 /* Override any GCC internal prototype to avoid an error.
21536 Use char because int might match the return type of a GCC
21537 builtin and then its argument prototype would still apply. */
21538 #ifdef __cplusplus
21539 extern "C"
21540 #endif
21541 char tanhf ();
21543 main ()
21545 return tanhf ();
21547 return 0;
21549 _ACEOF
21550 if ac_fn_c_try_link "$LINENO"; then :
21551 ac_cv_lib_m_tanhf=yes
21552 else
21553 ac_cv_lib_m_tanhf=no
21555 rm -f core conftest.err conftest.$ac_objext \
21556 conftest$ac_exeext conftest.$ac_ext
21557 LIBS=$ac_check_lib_save_LIBS
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhf" >&5
21560 $as_echo "$ac_cv_lib_m_tanhf" >&6; }
21561 if test "x$ac_cv_lib_m_tanhf" = x""yes; then :
21563 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
21567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
21568 $as_echo_n "checking for tanh in -lm... " >&6; }
21569 if test "${ac_cv_lib_m_tanh+set}" = set; then :
21570 $as_echo_n "(cached) " >&6
21571 else
21572 ac_check_lib_save_LIBS=$LIBS
21573 LIBS="-lm $LIBS"
21574 if test x$gcc_no_link = xyes; then
21575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21578 /* end confdefs.h. */
21580 /* Override any GCC internal prototype to avoid an error.
21581 Use char because int might match the return type of a GCC
21582 builtin and then its argument prototype would still apply. */
21583 #ifdef __cplusplus
21584 extern "C"
21585 #endif
21586 char tanh ();
21588 main ()
21590 return tanh ();
21592 return 0;
21594 _ACEOF
21595 if ac_fn_c_try_link "$LINENO"; then :
21596 ac_cv_lib_m_tanh=yes
21597 else
21598 ac_cv_lib_m_tanh=no
21600 rm -f core conftest.err conftest.$ac_objext \
21601 conftest$ac_exeext conftest.$ac_ext
21602 LIBS=$ac_check_lib_save_LIBS
21604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanh" >&5
21605 $as_echo "$ac_cv_lib_m_tanh" >&6; }
21606 if test "x$ac_cv_lib_m_tanh" = x""yes; then :
21608 $as_echo "#define HAVE_TANH 1" >>confdefs.h
21612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
21613 $as_echo_n "checking for tanhl in -lm... " >&6; }
21614 if test "${ac_cv_lib_m_tanhl+set}" = set; then :
21615 $as_echo_n "(cached) " >&6
21616 else
21617 ac_check_lib_save_LIBS=$LIBS
21618 LIBS="-lm $LIBS"
21619 if test x$gcc_no_link = xyes; then
21620 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21623 /* end confdefs.h. */
21625 /* Override any GCC internal prototype to avoid an error.
21626 Use char because int might match the return type of a GCC
21627 builtin and then its argument prototype would still apply. */
21628 #ifdef __cplusplus
21629 extern "C"
21630 #endif
21631 char tanhl ();
21633 main ()
21635 return tanhl ();
21637 return 0;
21639 _ACEOF
21640 if ac_fn_c_try_link "$LINENO"; then :
21641 ac_cv_lib_m_tanhl=yes
21642 else
21643 ac_cv_lib_m_tanhl=no
21645 rm -f core conftest.err conftest.$ac_objext \
21646 conftest$ac_exeext conftest.$ac_ext
21647 LIBS=$ac_check_lib_save_LIBS
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhl" >&5
21650 $as_echo "$ac_cv_lib_m_tanhl" >&6; }
21651 if test "x$ac_cv_lib_m_tanhl" = x""yes; then :
21653 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
21657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
21658 $as_echo_n "checking for ctanhf in -lm... " >&6; }
21659 if test "${ac_cv_lib_m_ctanhf+set}" = set; then :
21660 $as_echo_n "(cached) " >&6
21661 else
21662 ac_check_lib_save_LIBS=$LIBS
21663 LIBS="-lm $LIBS"
21664 if test x$gcc_no_link = xyes; then
21665 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21668 /* end confdefs.h. */
21670 /* Override any GCC internal prototype to avoid an error.
21671 Use char because int might match the return type of a GCC
21672 builtin and then its argument prototype would still apply. */
21673 #ifdef __cplusplus
21674 extern "C"
21675 #endif
21676 char ctanhf ();
21678 main ()
21680 return ctanhf ();
21682 return 0;
21684 _ACEOF
21685 if ac_fn_c_try_link "$LINENO"; then :
21686 ac_cv_lib_m_ctanhf=yes
21687 else
21688 ac_cv_lib_m_ctanhf=no
21690 rm -f core conftest.err conftest.$ac_objext \
21691 conftest$ac_exeext conftest.$ac_ext
21692 LIBS=$ac_check_lib_save_LIBS
21694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhf" >&5
21695 $as_echo "$ac_cv_lib_m_ctanhf" >&6; }
21696 if test "x$ac_cv_lib_m_ctanhf" = x""yes; then :
21698 $as_echo "#define HAVE_CTANHF 1" >>confdefs.h
21702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
21703 $as_echo_n "checking for ctanh in -lm... " >&6; }
21704 if test "${ac_cv_lib_m_ctanh+set}" = set; then :
21705 $as_echo_n "(cached) " >&6
21706 else
21707 ac_check_lib_save_LIBS=$LIBS
21708 LIBS="-lm $LIBS"
21709 if test x$gcc_no_link = xyes; then
21710 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21713 /* end confdefs.h. */
21715 /* Override any GCC internal prototype to avoid an error.
21716 Use char because int might match the return type of a GCC
21717 builtin and then its argument prototype would still apply. */
21718 #ifdef __cplusplus
21719 extern "C"
21720 #endif
21721 char ctanh ();
21723 main ()
21725 return ctanh ();
21727 return 0;
21729 _ACEOF
21730 if ac_fn_c_try_link "$LINENO"; then :
21731 ac_cv_lib_m_ctanh=yes
21732 else
21733 ac_cv_lib_m_ctanh=no
21735 rm -f core conftest.err conftest.$ac_objext \
21736 conftest$ac_exeext conftest.$ac_ext
21737 LIBS=$ac_check_lib_save_LIBS
21739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanh" >&5
21740 $as_echo "$ac_cv_lib_m_ctanh" >&6; }
21741 if test "x$ac_cv_lib_m_ctanh" = x""yes; then :
21743 $as_echo "#define HAVE_CTANH 1" >>confdefs.h
21747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
21748 $as_echo_n "checking for ctanhl in -lm... " >&6; }
21749 if test "${ac_cv_lib_m_ctanhl+set}" = set; then :
21750 $as_echo_n "(cached) " >&6
21751 else
21752 ac_check_lib_save_LIBS=$LIBS
21753 LIBS="-lm $LIBS"
21754 if test x$gcc_no_link = xyes; then
21755 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21758 /* end confdefs.h. */
21760 /* Override any GCC internal prototype to avoid an error.
21761 Use char because int might match the return type of a GCC
21762 builtin and then its argument prototype would still apply. */
21763 #ifdef __cplusplus
21764 extern "C"
21765 #endif
21766 char ctanhl ();
21768 main ()
21770 return ctanhl ();
21772 return 0;
21774 _ACEOF
21775 if ac_fn_c_try_link "$LINENO"; then :
21776 ac_cv_lib_m_ctanhl=yes
21777 else
21778 ac_cv_lib_m_ctanhl=no
21780 rm -f core conftest.err conftest.$ac_objext \
21781 conftest$ac_exeext conftest.$ac_ext
21782 LIBS=$ac_check_lib_save_LIBS
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhl" >&5
21785 $as_echo "$ac_cv_lib_m_ctanhl" >&6; }
21786 if test "x$ac_cv_lib_m_ctanhl" = x""yes; then :
21788 $as_echo "#define HAVE_CTANHL 1" >>confdefs.h
21792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
21793 $as_echo_n "checking for truncf in -lm... " >&6; }
21794 if test "${ac_cv_lib_m_truncf+set}" = set; then :
21795 $as_echo_n "(cached) " >&6
21796 else
21797 ac_check_lib_save_LIBS=$LIBS
21798 LIBS="-lm $LIBS"
21799 if test x$gcc_no_link = xyes; then
21800 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21803 /* end confdefs.h. */
21805 /* Override any GCC internal prototype to avoid an error.
21806 Use char because int might match the return type of a GCC
21807 builtin and then its argument prototype would still apply. */
21808 #ifdef __cplusplus
21809 extern "C"
21810 #endif
21811 char truncf ();
21813 main ()
21815 return truncf ();
21817 return 0;
21819 _ACEOF
21820 if ac_fn_c_try_link "$LINENO"; then :
21821 ac_cv_lib_m_truncf=yes
21822 else
21823 ac_cv_lib_m_truncf=no
21825 rm -f core conftest.err conftest.$ac_objext \
21826 conftest$ac_exeext conftest.$ac_ext
21827 LIBS=$ac_check_lib_save_LIBS
21829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncf" >&5
21830 $as_echo "$ac_cv_lib_m_truncf" >&6; }
21831 if test "x$ac_cv_lib_m_truncf" = x""yes; then :
21833 $as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
21837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
21838 $as_echo_n "checking for trunc in -lm... " >&6; }
21839 if test "${ac_cv_lib_m_trunc+set}" = set; then :
21840 $as_echo_n "(cached) " >&6
21841 else
21842 ac_check_lib_save_LIBS=$LIBS
21843 LIBS="-lm $LIBS"
21844 if test x$gcc_no_link = xyes; then
21845 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21848 /* end confdefs.h. */
21850 /* Override any GCC internal prototype to avoid an error.
21851 Use char because int might match the return type of a GCC
21852 builtin and then its argument prototype would still apply. */
21853 #ifdef __cplusplus
21854 extern "C"
21855 #endif
21856 char trunc ();
21858 main ()
21860 return trunc ();
21862 return 0;
21864 _ACEOF
21865 if ac_fn_c_try_link "$LINENO"; then :
21866 ac_cv_lib_m_trunc=yes
21867 else
21868 ac_cv_lib_m_trunc=no
21870 rm -f core conftest.err conftest.$ac_objext \
21871 conftest$ac_exeext conftest.$ac_ext
21872 LIBS=$ac_check_lib_save_LIBS
21874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
21875 $as_echo "$ac_cv_lib_m_trunc" >&6; }
21876 if test "x$ac_cv_lib_m_trunc" = x""yes; then :
21878 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
21883 $as_echo_n "checking for truncl in -lm... " >&6; }
21884 if test "${ac_cv_lib_m_truncl+set}" = set; then :
21885 $as_echo_n "(cached) " >&6
21886 else
21887 ac_check_lib_save_LIBS=$LIBS
21888 LIBS="-lm $LIBS"
21889 if test x$gcc_no_link = xyes; then
21890 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21893 /* end confdefs.h. */
21895 /* Override any GCC internal prototype to avoid an error.
21896 Use char because int might match the return type of a GCC
21897 builtin and then its argument prototype would still apply. */
21898 #ifdef __cplusplus
21899 extern "C"
21900 #endif
21901 char truncl ();
21903 main ()
21905 return truncl ();
21907 return 0;
21909 _ACEOF
21910 if ac_fn_c_try_link "$LINENO"; then :
21911 ac_cv_lib_m_truncl=yes
21912 else
21913 ac_cv_lib_m_truncl=no
21915 rm -f core conftest.err conftest.$ac_objext \
21916 conftest$ac_exeext conftest.$ac_ext
21917 LIBS=$ac_check_lib_save_LIBS
21919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncl" >&5
21920 $as_echo "$ac_cv_lib_m_truncl" >&6; }
21921 if test "x$ac_cv_lib_m_truncl" = x""yes; then :
21923 $as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
21927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
21928 $as_echo_n "checking for erff in -lm... " >&6; }
21929 if test "${ac_cv_lib_m_erff+set}" = set; then :
21930 $as_echo_n "(cached) " >&6
21931 else
21932 ac_check_lib_save_LIBS=$LIBS
21933 LIBS="-lm $LIBS"
21934 if test x$gcc_no_link = xyes; then
21935 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21938 /* end confdefs.h. */
21940 /* Override any GCC internal prototype to avoid an error.
21941 Use char because int might match the return type of a GCC
21942 builtin and then its argument prototype would still apply. */
21943 #ifdef __cplusplus
21944 extern "C"
21945 #endif
21946 char erff ();
21948 main ()
21950 return erff ();
21952 return 0;
21954 _ACEOF
21955 if ac_fn_c_try_link "$LINENO"; then :
21956 ac_cv_lib_m_erff=yes
21957 else
21958 ac_cv_lib_m_erff=no
21960 rm -f core conftest.err conftest.$ac_objext \
21961 conftest$ac_exeext conftest.$ac_ext
21962 LIBS=$ac_check_lib_save_LIBS
21964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erff" >&5
21965 $as_echo "$ac_cv_lib_m_erff" >&6; }
21966 if test "x$ac_cv_lib_m_erff" = x""yes; then :
21968 $as_echo "#define HAVE_ERFF 1" >>confdefs.h
21972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
21973 $as_echo_n "checking for erf in -lm... " >&6; }
21974 if test "${ac_cv_lib_m_erf+set}" = set; then :
21975 $as_echo_n "(cached) " >&6
21976 else
21977 ac_check_lib_save_LIBS=$LIBS
21978 LIBS="-lm $LIBS"
21979 if test x$gcc_no_link = xyes; then
21980 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21983 /* end confdefs.h. */
21985 /* Override any GCC internal prototype to avoid an error.
21986 Use char because int might match the return type of a GCC
21987 builtin and then its argument prototype would still apply. */
21988 #ifdef __cplusplus
21989 extern "C"
21990 #endif
21991 char erf ();
21993 main ()
21995 return erf ();
21997 return 0;
21999 _ACEOF
22000 if ac_fn_c_try_link "$LINENO"; then :
22001 ac_cv_lib_m_erf=yes
22002 else
22003 ac_cv_lib_m_erf=no
22005 rm -f core conftest.err conftest.$ac_objext \
22006 conftest$ac_exeext conftest.$ac_ext
22007 LIBS=$ac_check_lib_save_LIBS
22009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erf" >&5
22010 $as_echo "$ac_cv_lib_m_erf" >&6; }
22011 if test "x$ac_cv_lib_m_erf" = x""yes; then :
22013 $as_echo "#define HAVE_ERF 1" >>confdefs.h
22017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
22018 $as_echo_n "checking for erfl in -lm... " >&6; }
22019 if test "${ac_cv_lib_m_erfl+set}" = set; then :
22020 $as_echo_n "(cached) " >&6
22021 else
22022 ac_check_lib_save_LIBS=$LIBS
22023 LIBS="-lm $LIBS"
22024 if test x$gcc_no_link = xyes; then
22025 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22028 /* end confdefs.h. */
22030 /* Override any GCC internal prototype to avoid an error.
22031 Use char because int might match the return type of a GCC
22032 builtin and then its argument prototype would still apply. */
22033 #ifdef __cplusplus
22034 extern "C"
22035 #endif
22036 char erfl ();
22038 main ()
22040 return erfl ();
22042 return 0;
22044 _ACEOF
22045 if ac_fn_c_try_link "$LINENO"; then :
22046 ac_cv_lib_m_erfl=yes
22047 else
22048 ac_cv_lib_m_erfl=no
22050 rm -f core conftest.err conftest.$ac_objext \
22051 conftest$ac_exeext conftest.$ac_ext
22052 LIBS=$ac_check_lib_save_LIBS
22054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfl" >&5
22055 $as_echo "$ac_cv_lib_m_erfl" >&6; }
22056 if test "x$ac_cv_lib_m_erfl" = x""yes; then :
22058 $as_echo "#define HAVE_ERFL 1" >>confdefs.h
22062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22063 $as_echo_n "checking for erfcf in -lm... " >&6; }
22064 if test "${ac_cv_lib_m_erfcf+set}" = set; then :
22065 $as_echo_n "(cached) " >&6
22066 else
22067 ac_check_lib_save_LIBS=$LIBS
22068 LIBS="-lm $LIBS"
22069 if test x$gcc_no_link = xyes; then
22070 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22073 /* end confdefs.h. */
22075 /* Override any GCC internal prototype to avoid an error.
22076 Use char because int might match the return type of a GCC
22077 builtin and then its argument prototype would still apply. */
22078 #ifdef __cplusplus
22079 extern "C"
22080 #endif
22081 char erfcf ();
22083 main ()
22085 return erfcf ();
22087 return 0;
22089 _ACEOF
22090 if ac_fn_c_try_link "$LINENO"; then :
22091 ac_cv_lib_m_erfcf=yes
22092 else
22093 ac_cv_lib_m_erfcf=no
22095 rm -f core conftest.err conftest.$ac_objext \
22096 conftest$ac_exeext conftest.$ac_ext
22097 LIBS=$ac_check_lib_save_LIBS
22099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcf" >&5
22100 $as_echo "$ac_cv_lib_m_erfcf" >&6; }
22101 if test "x$ac_cv_lib_m_erfcf" = x""yes; then :
22103 $as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22108 $as_echo_n "checking for erfc in -lm... " >&6; }
22109 if test "${ac_cv_lib_m_erfc+set}" = set; then :
22110 $as_echo_n "(cached) " >&6
22111 else
22112 ac_check_lib_save_LIBS=$LIBS
22113 LIBS="-lm $LIBS"
22114 if test x$gcc_no_link = xyes; then
22115 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22118 /* end confdefs.h. */
22120 /* Override any GCC internal prototype to avoid an error.
22121 Use char because int might match the return type of a GCC
22122 builtin and then its argument prototype would still apply. */
22123 #ifdef __cplusplus
22124 extern "C"
22125 #endif
22126 char erfc ();
22128 main ()
22130 return erfc ();
22132 return 0;
22134 _ACEOF
22135 if ac_fn_c_try_link "$LINENO"; then :
22136 ac_cv_lib_m_erfc=yes
22137 else
22138 ac_cv_lib_m_erfc=no
22140 rm -f core conftest.err conftest.$ac_objext \
22141 conftest$ac_exeext conftest.$ac_ext
22142 LIBS=$ac_check_lib_save_LIBS
22144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfc" >&5
22145 $as_echo "$ac_cv_lib_m_erfc" >&6; }
22146 if test "x$ac_cv_lib_m_erfc" = x""yes; then :
22148 $as_echo "#define HAVE_ERFC 1" >>confdefs.h
22152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22153 $as_echo_n "checking for erfcl in -lm... " >&6; }
22154 if test "${ac_cv_lib_m_erfcl+set}" = set; then :
22155 $as_echo_n "(cached) " >&6
22156 else
22157 ac_check_lib_save_LIBS=$LIBS
22158 LIBS="-lm $LIBS"
22159 if test x$gcc_no_link = xyes; then
22160 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22163 /* end confdefs.h. */
22165 /* Override any GCC internal prototype to avoid an error.
22166 Use char because int might match the return type of a GCC
22167 builtin and then its argument prototype would still apply. */
22168 #ifdef __cplusplus
22169 extern "C"
22170 #endif
22171 char erfcl ();
22173 main ()
22175 return erfcl ();
22177 return 0;
22179 _ACEOF
22180 if ac_fn_c_try_link "$LINENO"; then :
22181 ac_cv_lib_m_erfcl=yes
22182 else
22183 ac_cv_lib_m_erfcl=no
22185 rm -f core conftest.err conftest.$ac_objext \
22186 conftest$ac_exeext conftest.$ac_ext
22187 LIBS=$ac_check_lib_save_LIBS
22189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcl" >&5
22190 $as_echo "$ac_cv_lib_m_erfcl" >&6; }
22191 if test "x$ac_cv_lib_m_erfcl" = x""yes; then :
22193 $as_echo "#define HAVE_ERFCL 1" >>confdefs.h
22197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
22198 $as_echo_n "checking for j0f in -lm... " >&6; }
22199 if test "${ac_cv_lib_m_j0f+set}" = set; then :
22200 $as_echo_n "(cached) " >&6
22201 else
22202 ac_check_lib_save_LIBS=$LIBS
22203 LIBS="-lm $LIBS"
22204 if test x$gcc_no_link = xyes; then
22205 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22208 /* end confdefs.h. */
22210 /* Override any GCC internal prototype to avoid an error.
22211 Use char because int might match the return type of a GCC
22212 builtin and then its argument prototype would still apply. */
22213 #ifdef __cplusplus
22214 extern "C"
22215 #endif
22216 char j0f ();
22218 main ()
22220 return j0f ();
22222 return 0;
22224 _ACEOF
22225 if ac_fn_c_try_link "$LINENO"; then :
22226 ac_cv_lib_m_j0f=yes
22227 else
22228 ac_cv_lib_m_j0f=no
22230 rm -f core conftest.err conftest.$ac_objext \
22231 conftest$ac_exeext conftest.$ac_ext
22232 LIBS=$ac_check_lib_save_LIBS
22234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0f" >&5
22235 $as_echo "$ac_cv_lib_m_j0f" >&6; }
22236 if test "x$ac_cv_lib_m_j0f" = x""yes; then :
22238 $as_echo "#define HAVE_J0F 1" >>confdefs.h
22242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
22243 $as_echo_n "checking for j0 in -lm... " >&6; }
22244 if test "${ac_cv_lib_m_j0+set}" = set; then :
22245 $as_echo_n "(cached) " >&6
22246 else
22247 ac_check_lib_save_LIBS=$LIBS
22248 LIBS="-lm $LIBS"
22249 if test x$gcc_no_link = xyes; then
22250 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22253 /* end confdefs.h. */
22255 /* Override any GCC internal prototype to avoid an error.
22256 Use char because int might match the return type of a GCC
22257 builtin and then its argument prototype would still apply. */
22258 #ifdef __cplusplus
22259 extern "C"
22260 #endif
22261 char j0 ();
22263 main ()
22265 return j0 ();
22267 return 0;
22269 _ACEOF
22270 if ac_fn_c_try_link "$LINENO"; then :
22271 ac_cv_lib_m_j0=yes
22272 else
22273 ac_cv_lib_m_j0=no
22275 rm -f core conftest.err conftest.$ac_objext \
22276 conftest$ac_exeext conftest.$ac_ext
22277 LIBS=$ac_check_lib_save_LIBS
22279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0" >&5
22280 $as_echo "$ac_cv_lib_m_j0" >&6; }
22281 if test "x$ac_cv_lib_m_j0" = x""yes; then :
22283 $as_echo "#define HAVE_J0 1" >>confdefs.h
22287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
22288 $as_echo_n "checking for j0l in -lm... " >&6; }
22289 if test "${ac_cv_lib_m_j0l+set}" = set; then :
22290 $as_echo_n "(cached) " >&6
22291 else
22292 ac_check_lib_save_LIBS=$LIBS
22293 LIBS="-lm $LIBS"
22294 if test x$gcc_no_link = xyes; then
22295 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22298 /* end confdefs.h. */
22300 /* Override any GCC internal prototype to avoid an error.
22301 Use char because int might match the return type of a GCC
22302 builtin and then its argument prototype would still apply. */
22303 #ifdef __cplusplus
22304 extern "C"
22305 #endif
22306 char j0l ();
22308 main ()
22310 return j0l ();
22312 return 0;
22314 _ACEOF
22315 if ac_fn_c_try_link "$LINENO"; then :
22316 ac_cv_lib_m_j0l=yes
22317 else
22318 ac_cv_lib_m_j0l=no
22320 rm -f core conftest.err conftest.$ac_objext \
22321 conftest$ac_exeext conftest.$ac_ext
22322 LIBS=$ac_check_lib_save_LIBS
22324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0l" >&5
22325 $as_echo "$ac_cv_lib_m_j0l" >&6; }
22326 if test "x$ac_cv_lib_m_j0l" = x""yes; then :
22328 $as_echo "#define HAVE_J0L 1" >>confdefs.h
22332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
22333 $as_echo_n "checking for j1f in -lm... " >&6; }
22334 if test "${ac_cv_lib_m_j1f+set}" = set; then :
22335 $as_echo_n "(cached) " >&6
22336 else
22337 ac_check_lib_save_LIBS=$LIBS
22338 LIBS="-lm $LIBS"
22339 if test x$gcc_no_link = xyes; then
22340 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22343 /* end confdefs.h. */
22345 /* Override any GCC internal prototype to avoid an error.
22346 Use char because int might match the return type of a GCC
22347 builtin and then its argument prototype would still apply. */
22348 #ifdef __cplusplus
22349 extern "C"
22350 #endif
22351 char j1f ();
22353 main ()
22355 return j1f ();
22357 return 0;
22359 _ACEOF
22360 if ac_fn_c_try_link "$LINENO"; then :
22361 ac_cv_lib_m_j1f=yes
22362 else
22363 ac_cv_lib_m_j1f=no
22365 rm -f core conftest.err conftest.$ac_objext \
22366 conftest$ac_exeext conftest.$ac_ext
22367 LIBS=$ac_check_lib_save_LIBS
22369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1f" >&5
22370 $as_echo "$ac_cv_lib_m_j1f" >&6; }
22371 if test "x$ac_cv_lib_m_j1f" = x""yes; then :
22373 $as_echo "#define HAVE_J1F 1" >>confdefs.h
22377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
22378 $as_echo_n "checking for j1 in -lm... " >&6; }
22379 if test "${ac_cv_lib_m_j1+set}" = set; then :
22380 $as_echo_n "(cached) " >&6
22381 else
22382 ac_check_lib_save_LIBS=$LIBS
22383 LIBS="-lm $LIBS"
22384 if test x$gcc_no_link = xyes; then
22385 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22388 /* end confdefs.h. */
22390 /* Override any GCC internal prototype to avoid an error.
22391 Use char because int might match the return type of a GCC
22392 builtin and then its argument prototype would still apply. */
22393 #ifdef __cplusplus
22394 extern "C"
22395 #endif
22396 char j1 ();
22398 main ()
22400 return j1 ();
22402 return 0;
22404 _ACEOF
22405 if ac_fn_c_try_link "$LINENO"; then :
22406 ac_cv_lib_m_j1=yes
22407 else
22408 ac_cv_lib_m_j1=no
22410 rm -f core conftest.err conftest.$ac_objext \
22411 conftest$ac_exeext conftest.$ac_ext
22412 LIBS=$ac_check_lib_save_LIBS
22414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1" >&5
22415 $as_echo "$ac_cv_lib_m_j1" >&6; }
22416 if test "x$ac_cv_lib_m_j1" = x""yes; then :
22418 $as_echo "#define HAVE_J1 1" >>confdefs.h
22422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
22423 $as_echo_n "checking for j1l in -lm... " >&6; }
22424 if test "${ac_cv_lib_m_j1l+set}" = set; then :
22425 $as_echo_n "(cached) " >&6
22426 else
22427 ac_check_lib_save_LIBS=$LIBS
22428 LIBS="-lm $LIBS"
22429 if test x$gcc_no_link = xyes; then
22430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22433 /* end confdefs.h. */
22435 /* Override any GCC internal prototype to avoid an error.
22436 Use char because int might match the return type of a GCC
22437 builtin and then its argument prototype would still apply. */
22438 #ifdef __cplusplus
22439 extern "C"
22440 #endif
22441 char j1l ();
22443 main ()
22445 return j1l ();
22447 return 0;
22449 _ACEOF
22450 if ac_fn_c_try_link "$LINENO"; then :
22451 ac_cv_lib_m_j1l=yes
22452 else
22453 ac_cv_lib_m_j1l=no
22455 rm -f core conftest.err conftest.$ac_objext \
22456 conftest$ac_exeext conftest.$ac_ext
22457 LIBS=$ac_check_lib_save_LIBS
22459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1l" >&5
22460 $as_echo "$ac_cv_lib_m_j1l" >&6; }
22461 if test "x$ac_cv_lib_m_j1l" = x""yes; then :
22463 $as_echo "#define HAVE_J1L 1" >>confdefs.h
22467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
22468 $as_echo_n "checking for jnf in -lm... " >&6; }
22469 if test "${ac_cv_lib_m_jnf+set}" = set; then :
22470 $as_echo_n "(cached) " >&6
22471 else
22472 ac_check_lib_save_LIBS=$LIBS
22473 LIBS="-lm $LIBS"
22474 if test x$gcc_no_link = xyes; then
22475 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22478 /* end confdefs.h. */
22480 /* Override any GCC internal prototype to avoid an error.
22481 Use char because int might match the return type of a GCC
22482 builtin and then its argument prototype would still apply. */
22483 #ifdef __cplusplus
22484 extern "C"
22485 #endif
22486 char jnf ();
22488 main ()
22490 return jnf ();
22492 return 0;
22494 _ACEOF
22495 if ac_fn_c_try_link "$LINENO"; then :
22496 ac_cv_lib_m_jnf=yes
22497 else
22498 ac_cv_lib_m_jnf=no
22500 rm -f core conftest.err conftest.$ac_objext \
22501 conftest$ac_exeext conftest.$ac_ext
22502 LIBS=$ac_check_lib_save_LIBS
22504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnf" >&5
22505 $as_echo "$ac_cv_lib_m_jnf" >&6; }
22506 if test "x$ac_cv_lib_m_jnf" = x""yes; then :
22508 $as_echo "#define HAVE_JNF 1" >>confdefs.h
22512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
22513 $as_echo_n "checking for jn in -lm... " >&6; }
22514 if test "${ac_cv_lib_m_jn+set}" = set; then :
22515 $as_echo_n "(cached) " >&6
22516 else
22517 ac_check_lib_save_LIBS=$LIBS
22518 LIBS="-lm $LIBS"
22519 if test x$gcc_no_link = xyes; then
22520 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22523 /* end confdefs.h. */
22525 /* Override any GCC internal prototype to avoid an error.
22526 Use char because int might match the return type of a GCC
22527 builtin and then its argument prototype would still apply. */
22528 #ifdef __cplusplus
22529 extern "C"
22530 #endif
22531 char jn ();
22533 main ()
22535 return jn ();
22537 return 0;
22539 _ACEOF
22540 if ac_fn_c_try_link "$LINENO"; then :
22541 ac_cv_lib_m_jn=yes
22542 else
22543 ac_cv_lib_m_jn=no
22545 rm -f core conftest.err conftest.$ac_objext \
22546 conftest$ac_exeext conftest.$ac_ext
22547 LIBS=$ac_check_lib_save_LIBS
22549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jn" >&5
22550 $as_echo "$ac_cv_lib_m_jn" >&6; }
22551 if test "x$ac_cv_lib_m_jn" = x""yes; then :
22553 $as_echo "#define HAVE_JN 1" >>confdefs.h
22557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
22558 $as_echo_n "checking for jnl in -lm... " >&6; }
22559 if test "${ac_cv_lib_m_jnl+set}" = set; then :
22560 $as_echo_n "(cached) " >&6
22561 else
22562 ac_check_lib_save_LIBS=$LIBS
22563 LIBS="-lm $LIBS"
22564 if test x$gcc_no_link = xyes; then
22565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22568 /* end confdefs.h. */
22570 /* Override any GCC internal prototype to avoid an error.
22571 Use char because int might match the return type of a GCC
22572 builtin and then its argument prototype would still apply. */
22573 #ifdef __cplusplus
22574 extern "C"
22575 #endif
22576 char jnl ();
22578 main ()
22580 return jnl ();
22582 return 0;
22584 _ACEOF
22585 if ac_fn_c_try_link "$LINENO"; then :
22586 ac_cv_lib_m_jnl=yes
22587 else
22588 ac_cv_lib_m_jnl=no
22590 rm -f core conftest.err conftest.$ac_objext \
22591 conftest$ac_exeext conftest.$ac_ext
22592 LIBS=$ac_check_lib_save_LIBS
22594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnl" >&5
22595 $as_echo "$ac_cv_lib_m_jnl" >&6; }
22596 if test "x$ac_cv_lib_m_jnl" = x""yes; then :
22598 $as_echo "#define HAVE_JNL 1" >>confdefs.h
22602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
22603 $as_echo_n "checking for y0f in -lm... " >&6; }
22604 if test "${ac_cv_lib_m_y0f+set}" = set; then :
22605 $as_echo_n "(cached) " >&6
22606 else
22607 ac_check_lib_save_LIBS=$LIBS
22608 LIBS="-lm $LIBS"
22609 if test x$gcc_no_link = xyes; then
22610 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22613 /* end confdefs.h. */
22615 /* Override any GCC internal prototype to avoid an error.
22616 Use char because int might match the return type of a GCC
22617 builtin and then its argument prototype would still apply. */
22618 #ifdef __cplusplus
22619 extern "C"
22620 #endif
22621 char y0f ();
22623 main ()
22625 return y0f ();
22627 return 0;
22629 _ACEOF
22630 if ac_fn_c_try_link "$LINENO"; then :
22631 ac_cv_lib_m_y0f=yes
22632 else
22633 ac_cv_lib_m_y0f=no
22635 rm -f core conftest.err conftest.$ac_objext \
22636 conftest$ac_exeext conftest.$ac_ext
22637 LIBS=$ac_check_lib_save_LIBS
22639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0f" >&5
22640 $as_echo "$ac_cv_lib_m_y0f" >&6; }
22641 if test "x$ac_cv_lib_m_y0f" = x""yes; then :
22643 $as_echo "#define HAVE_Y0F 1" >>confdefs.h
22647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
22648 $as_echo_n "checking for y0 in -lm... " >&6; }
22649 if test "${ac_cv_lib_m_y0+set}" = set; then :
22650 $as_echo_n "(cached) " >&6
22651 else
22652 ac_check_lib_save_LIBS=$LIBS
22653 LIBS="-lm $LIBS"
22654 if test x$gcc_no_link = xyes; then
22655 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22658 /* end confdefs.h. */
22660 /* Override any GCC internal prototype to avoid an error.
22661 Use char because int might match the return type of a GCC
22662 builtin and then its argument prototype would still apply. */
22663 #ifdef __cplusplus
22664 extern "C"
22665 #endif
22666 char y0 ();
22668 main ()
22670 return y0 ();
22672 return 0;
22674 _ACEOF
22675 if ac_fn_c_try_link "$LINENO"; then :
22676 ac_cv_lib_m_y0=yes
22677 else
22678 ac_cv_lib_m_y0=no
22680 rm -f core conftest.err conftest.$ac_objext \
22681 conftest$ac_exeext conftest.$ac_ext
22682 LIBS=$ac_check_lib_save_LIBS
22684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0" >&5
22685 $as_echo "$ac_cv_lib_m_y0" >&6; }
22686 if test "x$ac_cv_lib_m_y0" = x""yes; then :
22688 $as_echo "#define HAVE_Y0 1" >>confdefs.h
22692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
22693 $as_echo_n "checking for y0l in -lm... " >&6; }
22694 if test "${ac_cv_lib_m_y0l+set}" = set; then :
22695 $as_echo_n "(cached) " >&6
22696 else
22697 ac_check_lib_save_LIBS=$LIBS
22698 LIBS="-lm $LIBS"
22699 if test x$gcc_no_link = xyes; then
22700 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22703 /* end confdefs.h. */
22705 /* Override any GCC internal prototype to avoid an error.
22706 Use char because int might match the return type of a GCC
22707 builtin and then its argument prototype would still apply. */
22708 #ifdef __cplusplus
22709 extern "C"
22710 #endif
22711 char y0l ();
22713 main ()
22715 return y0l ();
22717 return 0;
22719 _ACEOF
22720 if ac_fn_c_try_link "$LINENO"; then :
22721 ac_cv_lib_m_y0l=yes
22722 else
22723 ac_cv_lib_m_y0l=no
22725 rm -f core conftest.err conftest.$ac_objext \
22726 conftest$ac_exeext conftest.$ac_ext
22727 LIBS=$ac_check_lib_save_LIBS
22729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0l" >&5
22730 $as_echo "$ac_cv_lib_m_y0l" >&6; }
22731 if test "x$ac_cv_lib_m_y0l" = x""yes; then :
22733 $as_echo "#define HAVE_Y0L 1" >>confdefs.h
22737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
22738 $as_echo_n "checking for y1f in -lm... " >&6; }
22739 if test "${ac_cv_lib_m_y1f+set}" = set; then :
22740 $as_echo_n "(cached) " >&6
22741 else
22742 ac_check_lib_save_LIBS=$LIBS
22743 LIBS="-lm $LIBS"
22744 if test x$gcc_no_link = xyes; then
22745 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22748 /* end confdefs.h. */
22750 /* Override any GCC internal prototype to avoid an error.
22751 Use char because int might match the return type of a GCC
22752 builtin and then its argument prototype would still apply. */
22753 #ifdef __cplusplus
22754 extern "C"
22755 #endif
22756 char y1f ();
22758 main ()
22760 return y1f ();
22762 return 0;
22764 _ACEOF
22765 if ac_fn_c_try_link "$LINENO"; then :
22766 ac_cv_lib_m_y1f=yes
22767 else
22768 ac_cv_lib_m_y1f=no
22770 rm -f core conftest.err conftest.$ac_objext \
22771 conftest$ac_exeext conftest.$ac_ext
22772 LIBS=$ac_check_lib_save_LIBS
22774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1f" >&5
22775 $as_echo "$ac_cv_lib_m_y1f" >&6; }
22776 if test "x$ac_cv_lib_m_y1f" = x""yes; then :
22778 $as_echo "#define HAVE_Y1F 1" >>confdefs.h
22782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
22783 $as_echo_n "checking for y1 in -lm... " >&6; }
22784 if test "${ac_cv_lib_m_y1+set}" = set; then :
22785 $as_echo_n "(cached) " >&6
22786 else
22787 ac_check_lib_save_LIBS=$LIBS
22788 LIBS="-lm $LIBS"
22789 if test x$gcc_no_link = xyes; then
22790 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22793 /* end confdefs.h. */
22795 /* Override any GCC internal prototype to avoid an error.
22796 Use char because int might match the return type of a GCC
22797 builtin and then its argument prototype would still apply. */
22798 #ifdef __cplusplus
22799 extern "C"
22800 #endif
22801 char y1 ();
22803 main ()
22805 return y1 ();
22807 return 0;
22809 _ACEOF
22810 if ac_fn_c_try_link "$LINENO"; then :
22811 ac_cv_lib_m_y1=yes
22812 else
22813 ac_cv_lib_m_y1=no
22815 rm -f core conftest.err conftest.$ac_objext \
22816 conftest$ac_exeext conftest.$ac_ext
22817 LIBS=$ac_check_lib_save_LIBS
22819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1" >&5
22820 $as_echo "$ac_cv_lib_m_y1" >&6; }
22821 if test "x$ac_cv_lib_m_y1" = x""yes; then :
22823 $as_echo "#define HAVE_Y1 1" >>confdefs.h
22827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
22828 $as_echo_n "checking for y1l in -lm... " >&6; }
22829 if test "${ac_cv_lib_m_y1l+set}" = set; then :
22830 $as_echo_n "(cached) " >&6
22831 else
22832 ac_check_lib_save_LIBS=$LIBS
22833 LIBS="-lm $LIBS"
22834 if test x$gcc_no_link = xyes; then
22835 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22838 /* end confdefs.h. */
22840 /* Override any GCC internal prototype to avoid an error.
22841 Use char because int might match the return type of a GCC
22842 builtin and then its argument prototype would still apply. */
22843 #ifdef __cplusplus
22844 extern "C"
22845 #endif
22846 char y1l ();
22848 main ()
22850 return y1l ();
22852 return 0;
22854 _ACEOF
22855 if ac_fn_c_try_link "$LINENO"; then :
22856 ac_cv_lib_m_y1l=yes
22857 else
22858 ac_cv_lib_m_y1l=no
22860 rm -f core conftest.err conftest.$ac_objext \
22861 conftest$ac_exeext conftest.$ac_ext
22862 LIBS=$ac_check_lib_save_LIBS
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1l" >&5
22865 $as_echo "$ac_cv_lib_m_y1l" >&6; }
22866 if test "x$ac_cv_lib_m_y1l" = x""yes; then :
22868 $as_echo "#define HAVE_Y1L 1" >>confdefs.h
22872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
22873 $as_echo_n "checking for ynf in -lm... " >&6; }
22874 if test "${ac_cv_lib_m_ynf+set}" = set; then :
22875 $as_echo_n "(cached) " >&6
22876 else
22877 ac_check_lib_save_LIBS=$LIBS
22878 LIBS="-lm $LIBS"
22879 if test x$gcc_no_link = xyes; then
22880 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22883 /* end confdefs.h. */
22885 /* Override any GCC internal prototype to avoid an error.
22886 Use char because int might match the return type of a GCC
22887 builtin and then its argument prototype would still apply. */
22888 #ifdef __cplusplus
22889 extern "C"
22890 #endif
22891 char ynf ();
22893 main ()
22895 return ynf ();
22897 return 0;
22899 _ACEOF
22900 if ac_fn_c_try_link "$LINENO"; then :
22901 ac_cv_lib_m_ynf=yes
22902 else
22903 ac_cv_lib_m_ynf=no
22905 rm -f core conftest.err conftest.$ac_objext \
22906 conftest$ac_exeext conftest.$ac_ext
22907 LIBS=$ac_check_lib_save_LIBS
22909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynf" >&5
22910 $as_echo "$ac_cv_lib_m_ynf" >&6; }
22911 if test "x$ac_cv_lib_m_ynf" = x""yes; then :
22913 $as_echo "#define HAVE_YNF 1" >>confdefs.h
22917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
22918 $as_echo_n "checking for yn in -lm... " >&6; }
22919 if test "${ac_cv_lib_m_yn+set}" = set; then :
22920 $as_echo_n "(cached) " >&6
22921 else
22922 ac_check_lib_save_LIBS=$LIBS
22923 LIBS="-lm $LIBS"
22924 if test x$gcc_no_link = xyes; then
22925 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22928 /* end confdefs.h. */
22930 /* Override any GCC internal prototype to avoid an error.
22931 Use char because int might match the return type of a GCC
22932 builtin and then its argument prototype would still apply. */
22933 #ifdef __cplusplus
22934 extern "C"
22935 #endif
22936 char yn ();
22938 main ()
22940 return yn ();
22942 return 0;
22944 _ACEOF
22945 if ac_fn_c_try_link "$LINENO"; then :
22946 ac_cv_lib_m_yn=yes
22947 else
22948 ac_cv_lib_m_yn=no
22950 rm -f core conftest.err conftest.$ac_objext \
22951 conftest$ac_exeext conftest.$ac_ext
22952 LIBS=$ac_check_lib_save_LIBS
22954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_yn" >&5
22955 $as_echo "$ac_cv_lib_m_yn" >&6; }
22956 if test "x$ac_cv_lib_m_yn" = x""yes; then :
22958 $as_echo "#define HAVE_YN 1" >>confdefs.h
22962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
22963 $as_echo_n "checking for ynl in -lm... " >&6; }
22964 if test "${ac_cv_lib_m_ynl+set}" = set; then :
22965 $as_echo_n "(cached) " >&6
22966 else
22967 ac_check_lib_save_LIBS=$LIBS
22968 LIBS="-lm $LIBS"
22969 if test x$gcc_no_link = xyes; then
22970 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22973 /* end confdefs.h. */
22975 /* Override any GCC internal prototype to avoid an error.
22976 Use char because int might match the return type of a GCC
22977 builtin and then its argument prototype would still apply. */
22978 #ifdef __cplusplus
22979 extern "C"
22980 #endif
22981 char ynl ();
22983 main ()
22985 return ynl ();
22987 return 0;
22989 _ACEOF
22990 if ac_fn_c_try_link "$LINENO"; then :
22991 ac_cv_lib_m_ynl=yes
22992 else
22993 ac_cv_lib_m_ynl=no
22995 rm -f core conftest.err conftest.$ac_objext \
22996 conftest$ac_exeext conftest.$ac_ext
22997 LIBS=$ac_check_lib_save_LIBS
22999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynl" >&5
23000 $as_echo "$ac_cv_lib_m_ynl" >&6; }
23001 if test "x$ac_cv_lib_m_ynl" = x""yes; then :
23003 $as_echo "#define HAVE_YNL 1" >>confdefs.h
23007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
23008 $as_echo_n "checking for tgamma in -lm... " >&6; }
23009 if test "${ac_cv_lib_m_tgamma+set}" = set; then :
23010 $as_echo_n "(cached) " >&6
23011 else
23012 ac_check_lib_save_LIBS=$LIBS
23013 LIBS="-lm $LIBS"
23014 if test x$gcc_no_link = xyes; then
23015 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23018 /* end confdefs.h. */
23020 /* Override any GCC internal prototype to avoid an error.
23021 Use char because int might match the return type of a GCC
23022 builtin and then its argument prototype would still apply. */
23023 #ifdef __cplusplus
23024 extern "C"
23025 #endif
23026 char tgamma ();
23028 main ()
23030 return tgamma ();
23032 return 0;
23034 _ACEOF
23035 if ac_fn_c_try_link "$LINENO"; then :
23036 ac_cv_lib_m_tgamma=yes
23037 else
23038 ac_cv_lib_m_tgamma=no
23040 rm -f core conftest.err conftest.$ac_objext \
23041 conftest$ac_exeext conftest.$ac_ext
23042 LIBS=$ac_check_lib_save_LIBS
23044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgamma" >&5
23045 $as_echo "$ac_cv_lib_m_tgamma" >&6; }
23046 if test "x$ac_cv_lib_m_tgamma" = x""yes; then :
23048 $as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23053 $as_echo_n "checking for tgammaf in -lm... " >&6; }
23054 if test "${ac_cv_lib_m_tgammaf+set}" = set; then :
23055 $as_echo_n "(cached) " >&6
23056 else
23057 ac_check_lib_save_LIBS=$LIBS
23058 LIBS="-lm $LIBS"
23059 if test x$gcc_no_link = xyes; then
23060 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23063 /* end confdefs.h. */
23065 /* Override any GCC internal prototype to avoid an error.
23066 Use char because int might match the return type of a GCC
23067 builtin and then its argument prototype would still apply. */
23068 #ifdef __cplusplus
23069 extern "C"
23070 #endif
23071 char tgammaf ();
23073 main ()
23075 return tgammaf ();
23077 return 0;
23079 _ACEOF
23080 if ac_fn_c_try_link "$LINENO"; then :
23081 ac_cv_lib_m_tgammaf=yes
23082 else
23083 ac_cv_lib_m_tgammaf=no
23085 rm -f core conftest.err conftest.$ac_objext \
23086 conftest$ac_exeext conftest.$ac_ext
23087 LIBS=$ac_check_lib_save_LIBS
23089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammaf" >&5
23090 $as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23091 if test "x$ac_cv_lib_m_tgammaf" = x""yes; then :
23093 $as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23098 $as_echo_n "checking for tgammal in -lm... " >&6; }
23099 if test "${ac_cv_lib_m_tgammal+set}" = set; then :
23100 $as_echo_n "(cached) " >&6
23101 else
23102 ac_check_lib_save_LIBS=$LIBS
23103 LIBS="-lm $LIBS"
23104 if test x$gcc_no_link = xyes; then
23105 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23108 /* end confdefs.h. */
23110 /* Override any GCC internal prototype to avoid an error.
23111 Use char because int might match the return type of a GCC
23112 builtin and then its argument prototype would still apply. */
23113 #ifdef __cplusplus
23114 extern "C"
23115 #endif
23116 char tgammal ();
23118 main ()
23120 return tgammal ();
23122 return 0;
23124 _ACEOF
23125 if ac_fn_c_try_link "$LINENO"; then :
23126 ac_cv_lib_m_tgammal=yes
23127 else
23128 ac_cv_lib_m_tgammal=no
23130 rm -f core conftest.err conftest.$ac_objext \
23131 conftest$ac_exeext conftest.$ac_ext
23132 LIBS=$ac_check_lib_save_LIBS
23134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammal" >&5
23135 $as_echo "$ac_cv_lib_m_tgammal" >&6; }
23136 if test "x$ac_cv_lib_m_tgammal" = x""yes; then :
23138 $as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23143 $as_echo_n "checking for lgamma in -lm... " >&6; }
23144 if test "${ac_cv_lib_m_lgamma+set}" = set; then :
23145 $as_echo_n "(cached) " >&6
23146 else
23147 ac_check_lib_save_LIBS=$LIBS
23148 LIBS="-lm $LIBS"
23149 if test x$gcc_no_link = xyes; then
23150 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23153 /* end confdefs.h. */
23155 /* Override any GCC internal prototype to avoid an error.
23156 Use char because int might match the return type of a GCC
23157 builtin and then its argument prototype would still apply. */
23158 #ifdef __cplusplus
23159 extern "C"
23160 #endif
23161 char lgamma ();
23163 main ()
23165 return lgamma ();
23167 return 0;
23169 _ACEOF
23170 if ac_fn_c_try_link "$LINENO"; then :
23171 ac_cv_lib_m_lgamma=yes
23172 else
23173 ac_cv_lib_m_lgamma=no
23175 rm -f core conftest.err conftest.$ac_objext \
23176 conftest$ac_exeext conftest.$ac_ext
23177 LIBS=$ac_check_lib_save_LIBS
23179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgamma" >&5
23180 $as_echo "$ac_cv_lib_m_lgamma" >&6; }
23181 if test "x$ac_cv_lib_m_lgamma" = x""yes; then :
23183 $as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23188 $as_echo_n "checking for lgammaf in -lm... " >&6; }
23189 if test "${ac_cv_lib_m_lgammaf+set}" = set; then :
23190 $as_echo_n "(cached) " >&6
23191 else
23192 ac_check_lib_save_LIBS=$LIBS
23193 LIBS="-lm $LIBS"
23194 if test x$gcc_no_link = xyes; then
23195 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23198 /* end confdefs.h. */
23200 /* Override any GCC internal prototype to avoid an error.
23201 Use char because int might match the return type of a GCC
23202 builtin and then its argument prototype would still apply. */
23203 #ifdef __cplusplus
23204 extern "C"
23205 #endif
23206 char lgammaf ();
23208 main ()
23210 return lgammaf ();
23212 return 0;
23214 _ACEOF
23215 if ac_fn_c_try_link "$LINENO"; then :
23216 ac_cv_lib_m_lgammaf=yes
23217 else
23218 ac_cv_lib_m_lgammaf=no
23220 rm -f core conftest.err conftest.$ac_objext \
23221 conftest$ac_exeext conftest.$ac_ext
23222 LIBS=$ac_check_lib_save_LIBS
23224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammaf" >&5
23225 $as_echo "$ac_cv_lib_m_lgammaf" >&6; }
23226 if test "x$ac_cv_lib_m_lgammaf" = x""yes; then :
23228 $as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
23232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
23233 $as_echo_n "checking for lgammal in -lm... " >&6; }
23234 if test "${ac_cv_lib_m_lgammal+set}" = set; then :
23235 $as_echo_n "(cached) " >&6
23236 else
23237 ac_check_lib_save_LIBS=$LIBS
23238 LIBS="-lm $LIBS"
23239 if test x$gcc_no_link = xyes; then
23240 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23243 /* end confdefs.h. */
23245 /* Override any GCC internal prototype to avoid an error.
23246 Use char because int might match the return type of a GCC
23247 builtin and then its argument prototype would still apply. */
23248 #ifdef __cplusplus
23249 extern "C"
23250 #endif
23251 char lgammal ();
23253 main ()
23255 return lgammal ();
23257 return 0;
23259 _ACEOF
23260 if ac_fn_c_try_link "$LINENO"; then :
23261 ac_cv_lib_m_lgammal=yes
23262 else
23263 ac_cv_lib_m_lgammal=no
23265 rm -f core conftest.err conftest.$ac_objext \
23266 conftest$ac_exeext conftest.$ac_ext
23267 LIBS=$ac_check_lib_save_LIBS
23269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammal" >&5
23270 $as_echo "$ac_cv_lib_m_lgammal" >&6; }
23271 if test "x$ac_cv_lib_m_lgammal" = x""yes; then :
23273 $as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
23278 # Check for GFORTRAN_C99_1.1 funcs
23279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos in -lm" >&5
23280 $as_echo_n "checking for cacos in -lm... " >&6; }
23281 if test "${ac_cv_lib_m_cacos+set}" = set; then :
23282 $as_echo_n "(cached) " >&6
23283 else
23284 ac_check_lib_save_LIBS=$LIBS
23285 LIBS="-lm $LIBS"
23286 if test x$gcc_no_link = xyes; then
23287 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23290 /* end confdefs.h. */
23292 /* Override any GCC internal prototype to avoid an error.
23293 Use char because int might match the return type of a GCC
23294 builtin and then its argument prototype would still apply. */
23295 #ifdef __cplusplus
23296 extern "C"
23297 #endif
23298 char cacos ();
23300 main ()
23302 return cacos ();
23304 return 0;
23306 _ACEOF
23307 if ac_fn_c_try_link "$LINENO"; then :
23308 ac_cv_lib_m_cacos=yes
23309 else
23310 ac_cv_lib_m_cacos=no
23312 rm -f core conftest.err conftest.$ac_objext \
23313 conftest$ac_exeext conftest.$ac_ext
23314 LIBS=$ac_check_lib_save_LIBS
23316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacos" >&5
23317 $as_echo "$ac_cv_lib_m_cacos" >&6; }
23318 if test "x$ac_cv_lib_m_cacos" = x""yes; then :
23320 $as_echo "#define HAVE_CACOS 1" >>confdefs.h
23324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf in -lm" >&5
23325 $as_echo_n "checking for cacosf in -lm... " >&6; }
23326 if test "${ac_cv_lib_m_cacosf+set}" = set; then :
23327 $as_echo_n "(cached) " >&6
23328 else
23329 ac_check_lib_save_LIBS=$LIBS
23330 LIBS="-lm $LIBS"
23331 if test x$gcc_no_link = xyes; then
23332 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23335 /* end confdefs.h. */
23337 /* Override any GCC internal prototype to avoid an error.
23338 Use char because int might match the return type of a GCC
23339 builtin and then its argument prototype would still apply. */
23340 #ifdef __cplusplus
23341 extern "C"
23342 #endif
23343 char cacosf ();
23345 main ()
23347 return cacosf ();
23349 return 0;
23351 _ACEOF
23352 if ac_fn_c_try_link "$LINENO"; then :
23353 ac_cv_lib_m_cacosf=yes
23354 else
23355 ac_cv_lib_m_cacosf=no
23357 rm -f core conftest.err conftest.$ac_objext \
23358 conftest$ac_exeext conftest.$ac_ext
23359 LIBS=$ac_check_lib_save_LIBS
23361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosf" >&5
23362 $as_echo "$ac_cv_lib_m_cacosf" >&6; }
23363 if test "x$ac_cv_lib_m_cacosf" = x""yes; then :
23365 $as_echo "#define HAVE_CACOSF 1" >>confdefs.h
23369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh in -lm" >&5
23370 $as_echo_n "checking for cacosh in -lm... " >&6; }
23371 if test "${ac_cv_lib_m_cacosh+set}" = set; then :
23372 $as_echo_n "(cached) " >&6
23373 else
23374 ac_check_lib_save_LIBS=$LIBS
23375 LIBS="-lm $LIBS"
23376 if test x$gcc_no_link = xyes; then
23377 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23380 /* end confdefs.h. */
23382 /* Override any GCC internal prototype to avoid an error.
23383 Use char because int might match the return type of a GCC
23384 builtin and then its argument prototype would still apply. */
23385 #ifdef __cplusplus
23386 extern "C"
23387 #endif
23388 char cacosh ();
23390 main ()
23392 return cacosh ();
23394 return 0;
23396 _ACEOF
23397 if ac_fn_c_try_link "$LINENO"; then :
23398 ac_cv_lib_m_cacosh=yes
23399 else
23400 ac_cv_lib_m_cacosh=no
23402 rm -f core conftest.err conftest.$ac_objext \
23403 conftest$ac_exeext conftest.$ac_ext
23404 LIBS=$ac_check_lib_save_LIBS
23406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosh" >&5
23407 $as_echo "$ac_cv_lib_m_cacosh" >&6; }
23408 if test "x$ac_cv_lib_m_cacosh" = x""yes; then :
23410 $as_echo "#define HAVE_CACOSH 1" >>confdefs.h
23414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf in -lm" >&5
23415 $as_echo_n "checking for cacoshf in -lm... " >&6; }
23416 if test "${ac_cv_lib_m_cacoshf+set}" = set; then :
23417 $as_echo_n "(cached) " >&6
23418 else
23419 ac_check_lib_save_LIBS=$LIBS
23420 LIBS="-lm $LIBS"
23421 if test x$gcc_no_link = xyes; then
23422 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23425 /* end confdefs.h. */
23427 /* Override any GCC internal prototype to avoid an error.
23428 Use char because int might match the return type of a GCC
23429 builtin and then its argument prototype would still apply. */
23430 #ifdef __cplusplus
23431 extern "C"
23432 #endif
23433 char cacoshf ();
23435 main ()
23437 return cacoshf ();
23439 return 0;
23441 _ACEOF
23442 if ac_fn_c_try_link "$LINENO"; then :
23443 ac_cv_lib_m_cacoshf=yes
23444 else
23445 ac_cv_lib_m_cacoshf=no
23447 rm -f core conftest.err conftest.$ac_objext \
23448 conftest$ac_exeext conftest.$ac_ext
23449 LIBS=$ac_check_lib_save_LIBS
23451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshf" >&5
23452 $as_echo "$ac_cv_lib_m_cacoshf" >&6; }
23453 if test "x$ac_cv_lib_m_cacoshf" = x""yes; then :
23455 $as_echo "#define HAVE_CACOSHF 1" >>confdefs.h
23459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl in -lm" >&5
23460 $as_echo_n "checking for cacoshl in -lm... " >&6; }
23461 if test "${ac_cv_lib_m_cacoshl+set}" = set; then :
23462 $as_echo_n "(cached) " >&6
23463 else
23464 ac_check_lib_save_LIBS=$LIBS
23465 LIBS="-lm $LIBS"
23466 if test x$gcc_no_link = xyes; then
23467 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23470 /* end confdefs.h. */
23472 /* Override any GCC internal prototype to avoid an error.
23473 Use char because int might match the return type of a GCC
23474 builtin and then its argument prototype would still apply. */
23475 #ifdef __cplusplus
23476 extern "C"
23477 #endif
23478 char cacoshl ();
23480 main ()
23482 return cacoshl ();
23484 return 0;
23486 _ACEOF
23487 if ac_fn_c_try_link "$LINENO"; then :
23488 ac_cv_lib_m_cacoshl=yes
23489 else
23490 ac_cv_lib_m_cacoshl=no
23492 rm -f core conftest.err conftest.$ac_objext \
23493 conftest$ac_exeext conftest.$ac_ext
23494 LIBS=$ac_check_lib_save_LIBS
23496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshl" >&5
23497 $as_echo "$ac_cv_lib_m_cacoshl" >&6; }
23498 if test "x$ac_cv_lib_m_cacoshl" = x""yes; then :
23500 $as_echo "#define HAVE_CACOSHL 1" >>confdefs.h
23504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl in -lm" >&5
23505 $as_echo_n "checking for cacosl in -lm... " >&6; }
23506 if test "${ac_cv_lib_m_cacosl+set}" = set; then :
23507 $as_echo_n "(cached) " >&6
23508 else
23509 ac_check_lib_save_LIBS=$LIBS
23510 LIBS="-lm $LIBS"
23511 if test x$gcc_no_link = xyes; then
23512 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23515 /* end confdefs.h. */
23517 /* Override any GCC internal prototype to avoid an error.
23518 Use char because int might match the return type of a GCC
23519 builtin and then its argument prototype would still apply. */
23520 #ifdef __cplusplus
23521 extern "C"
23522 #endif
23523 char cacosl ();
23525 main ()
23527 return cacosl ();
23529 return 0;
23531 _ACEOF
23532 if ac_fn_c_try_link "$LINENO"; then :
23533 ac_cv_lib_m_cacosl=yes
23534 else
23535 ac_cv_lib_m_cacosl=no
23537 rm -f core conftest.err conftest.$ac_objext \
23538 conftest$ac_exeext conftest.$ac_ext
23539 LIBS=$ac_check_lib_save_LIBS
23541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosl" >&5
23542 $as_echo "$ac_cv_lib_m_cacosl" >&6; }
23543 if test "x$ac_cv_lib_m_cacosl" = x""yes; then :
23545 $as_echo "#define HAVE_CACOSL 1" >>confdefs.h
23549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin in -lm" >&5
23550 $as_echo_n "checking for casin in -lm... " >&6; }
23551 if test "${ac_cv_lib_m_casin+set}" = set; then :
23552 $as_echo_n "(cached) " >&6
23553 else
23554 ac_check_lib_save_LIBS=$LIBS
23555 LIBS="-lm $LIBS"
23556 if test x$gcc_no_link = xyes; then
23557 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23560 /* end confdefs.h. */
23562 /* Override any GCC internal prototype to avoid an error.
23563 Use char because int might match the return type of a GCC
23564 builtin and then its argument prototype would still apply. */
23565 #ifdef __cplusplus
23566 extern "C"
23567 #endif
23568 char casin ();
23570 main ()
23572 return casin ();
23574 return 0;
23576 _ACEOF
23577 if ac_fn_c_try_link "$LINENO"; then :
23578 ac_cv_lib_m_casin=yes
23579 else
23580 ac_cv_lib_m_casin=no
23582 rm -f core conftest.err conftest.$ac_objext \
23583 conftest$ac_exeext conftest.$ac_ext
23584 LIBS=$ac_check_lib_save_LIBS
23586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casin" >&5
23587 $as_echo "$ac_cv_lib_m_casin" >&6; }
23588 if test "x$ac_cv_lib_m_casin" = x""yes; then :
23590 $as_echo "#define HAVE_CASIN 1" >>confdefs.h
23594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf in -lm" >&5
23595 $as_echo_n "checking for casinf in -lm... " >&6; }
23596 if test "${ac_cv_lib_m_casinf+set}" = set; then :
23597 $as_echo_n "(cached) " >&6
23598 else
23599 ac_check_lib_save_LIBS=$LIBS
23600 LIBS="-lm $LIBS"
23601 if test x$gcc_no_link = xyes; then
23602 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23605 /* end confdefs.h. */
23607 /* Override any GCC internal prototype to avoid an error.
23608 Use char because int might match the return type of a GCC
23609 builtin and then its argument prototype would still apply. */
23610 #ifdef __cplusplus
23611 extern "C"
23612 #endif
23613 char casinf ();
23615 main ()
23617 return casinf ();
23619 return 0;
23621 _ACEOF
23622 if ac_fn_c_try_link "$LINENO"; then :
23623 ac_cv_lib_m_casinf=yes
23624 else
23625 ac_cv_lib_m_casinf=no
23627 rm -f core conftest.err conftest.$ac_objext \
23628 conftest$ac_exeext conftest.$ac_ext
23629 LIBS=$ac_check_lib_save_LIBS
23631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinf" >&5
23632 $as_echo "$ac_cv_lib_m_casinf" >&6; }
23633 if test "x$ac_cv_lib_m_casinf" = x""yes; then :
23635 $as_echo "#define HAVE_CASINF 1" >>confdefs.h
23639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh in -lm" >&5
23640 $as_echo_n "checking for casinh in -lm... " >&6; }
23641 if test "${ac_cv_lib_m_casinh+set}" = set; then :
23642 $as_echo_n "(cached) " >&6
23643 else
23644 ac_check_lib_save_LIBS=$LIBS
23645 LIBS="-lm $LIBS"
23646 if test x$gcc_no_link = xyes; then
23647 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23650 /* end confdefs.h. */
23652 /* Override any GCC internal prototype to avoid an error.
23653 Use char because int might match the return type of a GCC
23654 builtin and then its argument prototype would still apply. */
23655 #ifdef __cplusplus
23656 extern "C"
23657 #endif
23658 char casinh ();
23660 main ()
23662 return casinh ();
23664 return 0;
23666 _ACEOF
23667 if ac_fn_c_try_link "$LINENO"; then :
23668 ac_cv_lib_m_casinh=yes
23669 else
23670 ac_cv_lib_m_casinh=no
23672 rm -f core conftest.err conftest.$ac_objext \
23673 conftest$ac_exeext conftest.$ac_ext
23674 LIBS=$ac_check_lib_save_LIBS
23676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinh" >&5
23677 $as_echo "$ac_cv_lib_m_casinh" >&6; }
23678 if test "x$ac_cv_lib_m_casinh" = x""yes; then :
23680 $as_echo "#define HAVE_CASINH 1" >>confdefs.h
23684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf in -lm" >&5
23685 $as_echo_n "checking for casinhf in -lm... " >&6; }
23686 if test "${ac_cv_lib_m_casinhf+set}" = set; then :
23687 $as_echo_n "(cached) " >&6
23688 else
23689 ac_check_lib_save_LIBS=$LIBS
23690 LIBS="-lm $LIBS"
23691 if test x$gcc_no_link = xyes; then
23692 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23695 /* end confdefs.h. */
23697 /* Override any GCC internal prototype to avoid an error.
23698 Use char because int might match the return type of a GCC
23699 builtin and then its argument prototype would still apply. */
23700 #ifdef __cplusplus
23701 extern "C"
23702 #endif
23703 char casinhf ();
23705 main ()
23707 return casinhf ();
23709 return 0;
23711 _ACEOF
23712 if ac_fn_c_try_link "$LINENO"; then :
23713 ac_cv_lib_m_casinhf=yes
23714 else
23715 ac_cv_lib_m_casinhf=no
23717 rm -f core conftest.err conftest.$ac_objext \
23718 conftest$ac_exeext conftest.$ac_ext
23719 LIBS=$ac_check_lib_save_LIBS
23721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhf" >&5
23722 $as_echo "$ac_cv_lib_m_casinhf" >&6; }
23723 if test "x$ac_cv_lib_m_casinhf" = x""yes; then :
23725 $as_echo "#define HAVE_CASINHF 1" >>confdefs.h
23729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl in -lm" >&5
23730 $as_echo_n "checking for casinhl in -lm... " >&6; }
23731 if test "${ac_cv_lib_m_casinhl+set}" = set; then :
23732 $as_echo_n "(cached) " >&6
23733 else
23734 ac_check_lib_save_LIBS=$LIBS
23735 LIBS="-lm $LIBS"
23736 if test x$gcc_no_link = xyes; then
23737 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23740 /* end confdefs.h. */
23742 /* Override any GCC internal prototype to avoid an error.
23743 Use char because int might match the return type of a GCC
23744 builtin and then its argument prototype would still apply. */
23745 #ifdef __cplusplus
23746 extern "C"
23747 #endif
23748 char casinhl ();
23750 main ()
23752 return casinhl ();
23754 return 0;
23756 _ACEOF
23757 if ac_fn_c_try_link "$LINENO"; then :
23758 ac_cv_lib_m_casinhl=yes
23759 else
23760 ac_cv_lib_m_casinhl=no
23762 rm -f core conftest.err conftest.$ac_objext \
23763 conftest$ac_exeext conftest.$ac_ext
23764 LIBS=$ac_check_lib_save_LIBS
23766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhl" >&5
23767 $as_echo "$ac_cv_lib_m_casinhl" >&6; }
23768 if test "x$ac_cv_lib_m_casinhl" = x""yes; then :
23770 $as_echo "#define HAVE_CASINHL 1" >>confdefs.h
23774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl in -lm" >&5
23775 $as_echo_n "checking for casinl in -lm... " >&6; }
23776 if test "${ac_cv_lib_m_casinl+set}" = set; then :
23777 $as_echo_n "(cached) " >&6
23778 else
23779 ac_check_lib_save_LIBS=$LIBS
23780 LIBS="-lm $LIBS"
23781 if test x$gcc_no_link = xyes; then
23782 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23785 /* end confdefs.h. */
23787 /* Override any GCC internal prototype to avoid an error.
23788 Use char because int might match the return type of a GCC
23789 builtin and then its argument prototype would still apply. */
23790 #ifdef __cplusplus
23791 extern "C"
23792 #endif
23793 char casinl ();
23795 main ()
23797 return casinl ();
23799 return 0;
23801 _ACEOF
23802 if ac_fn_c_try_link "$LINENO"; then :
23803 ac_cv_lib_m_casinl=yes
23804 else
23805 ac_cv_lib_m_casinl=no
23807 rm -f core conftest.err conftest.$ac_objext \
23808 conftest$ac_exeext conftest.$ac_ext
23809 LIBS=$ac_check_lib_save_LIBS
23811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinl" >&5
23812 $as_echo "$ac_cv_lib_m_casinl" >&6; }
23813 if test "x$ac_cv_lib_m_casinl" = x""yes; then :
23815 $as_echo "#define HAVE_CASINL 1" >>confdefs.h
23819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan in -lm" >&5
23820 $as_echo_n "checking for catan in -lm... " >&6; }
23821 if test "${ac_cv_lib_m_catan+set}" = set; then :
23822 $as_echo_n "(cached) " >&6
23823 else
23824 ac_check_lib_save_LIBS=$LIBS
23825 LIBS="-lm $LIBS"
23826 if test x$gcc_no_link = xyes; then
23827 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23830 /* end confdefs.h. */
23832 /* Override any GCC internal prototype to avoid an error.
23833 Use char because int might match the return type of a GCC
23834 builtin and then its argument prototype would still apply. */
23835 #ifdef __cplusplus
23836 extern "C"
23837 #endif
23838 char catan ();
23840 main ()
23842 return catan ();
23844 return 0;
23846 _ACEOF
23847 if ac_fn_c_try_link "$LINENO"; then :
23848 ac_cv_lib_m_catan=yes
23849 else
23850 ac_cv_lib_m_catan=no
23852 rm -f core conftest.err conftest.$ac_objext \
23853 conftest$ac_exeext conftest.$ac_ext
23854 LIBS=$ac_check_lib_save_LIBS
23856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catan" >&5
23857 $as_echo "$ac_cv_lib_m_catan" >&6; }
23858 if test "x$ac_cv_lib_m_catan" = x""yes; then :
23860 $as_echo "#define HAVE_CATAN 1" >>confdefs.h
23864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf in -lm" >&5
23865 $as_echo_n "checking for catanf in -lm... " >&6; }
23866 if test "${ac_cv_lib_m_catanf+set}" = set; then :
23867 $as_echo_n "(cached) " >&6
23868 else
23869 ac_check_lib_save_LIBS=$LIBS
23870 LIBS="-lm $LIBS"
23871 if test x$gcc_no_link = xyes; then
23872 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23875 /* end confdefs.h. */
23877 /* Override any GCC internal prototype to avoid an error.
23878 Use char because int might match the return type of a GCC
23879 builtin and then its argument prototype would still apply. */
23880 #ifdef __cplusplus
23881 extern "C"
23882 #endif
23883 char catanf ();
23885 main ()
23887 return catanf ();
23889 return 0;
23891 _ACEOF
23892 if ac_fn_c_try_link "$LINENO"; then :
23893 ac_cv_lib_m_catanf=yes
23894 else
23895 ac_cv_lib_m_catanf=no
23897 rm -f core conftest.err conftest.$ac_objext \
23898 conftest$ac_exeext conftest.$ac_ext
23899 LIBS=$ac_check_lib_save_LIBS
23901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanf" >&5
23902 $as_echo "$ac_cv_lib_m_catanf" >&6; }
23903 if test "x$ac_cv_lib_m_catanf" = x""yes; then :
23905 $as_echo "#define HAVE_CATANF 1" >>confdefs.h
23909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh in -lm" >&5
23910 $as_echo_n "checking for catanh in -lm... " >&6; }
23911 if test "${ac_cv_lib_m_catanh+set}" = set; then :
23912 $as_echo_n "(cached) " >&6
23913 else
23914 ac_check_lib_save_LIBS=$LIBS
23915 LIBS="-lm $LIBS"
23916 if test x$gcc_no_link = xyes; then
23917 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23920 /* end confdefs.h. */
23922 /* Override any GCC internal prototype to avoid an error.
23923 Use char because int might match the return type of a GCC
23924 builtin and then its argument prototype would still apply. */
23925 #ifdef __cplusplus
23926 extern "C"
23927 #endif
23928 char catanh ();
23930 main ()
23932 return catanh ();
23934 return 0;
23936 _ACEOF
23937 if ac_fn_c_try_link "$LINENO"; then :
23938 ac_cv_lib_m_catanh=yes
23939 else
23940 ac_cv_lib_m_catanh=no
23942 rm -f core conftest.err conftest.$ac_objext \
23943 conftest$ac_exeext conftest.$ac_ext
23944 LIBS=$ac_check_lib_save_LIBS
23946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanh" >&5
23947 $as_echo "$ac_cv_lib_m_catanh" >&6; }
23948 if test "x$ac_cv_lib_m_catanh" = x""yes; then :
23950 $as_echo "#define HAVE_CATANH 1" >>confdefs.h
23954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf in -lm" >&5
23955 $as_echo_n "checking for catanhf in -lm... " >&6; }
23956 if test "${ac_cv_lib_m_catanhf+set}" = set; then :
23957 $as_echo_n "(cached) " >&6
23958 else
23959 ac_check_lib_save_LIBS=$LIBS
23960 LIBS="-lm $LIBS"
23961 if test x$gcc_no_link = xyes; then
23962 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23965 /* end confdefs.h. */
23967 /* Override any GCC internal prototype to avoid an error.
23968 Use char because int might match the return type of a GCC
23969 builtin and then its argument prototype would still apply. */
23970 #ifdef __cplusplus
23971 extern "C"
23972 #endif
23973 char catanhf ();
23975 main ()
23977 return catanhf ();
23979 return 0;
23981 _ACEOF
23982 if ac_fn_c_try_link "$LINENO"; then :
23983 ac_cv_lib_m_catanhf=yes
23984 else
23985 ac_cv_lib_m_catanhf=no
23987 rm -f core conftest.err conftest.$ac_objext \
23988 conftest$ac_exeext conftest.$ac_ext
23989 LIBS=$ac_check_lib_save_LIBS
23991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhf" >&5
23992 $as_echo "$ac_cv_lib_m_catanhf" >&6; }
23993 if test "x$ac_cv_lib_m_catanhf" = x""yes; then :
23995 $as_echo "#define HAVE_CATANHF 1" >>confdefs.h
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl in -lm" >&5
24000 $as_echo_n "checking for catanhl in -lm... " >&6; }
24001 if test "${ac_cv_lib_m_catanhl+set}" = set; then :
24002 $as_echo_n "(cached) " >&6
24003 else
24004 ac_check_lib_save_LIBS=$LIBS
24005 LIBS="-lm $LIBS"
24006 if test x$gcc_no_link = xyes; then
24007 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24010 /* end confdefs.h. */
24012 /* Override any GCC internal prototype to avoid an error.
24013 Use char because int might match the return type of a GCC
24014 builtin and then its argument prototype would still apply. */
24015 #ifdef __cplusplus
24016 extern "C"
24017 #endif
24018 char catanhl ();
24020 main ()
24022 return catanhl ();
24024 return 0;
24026 _ACEOF
24027 if ac_fn_c_try_link "$LINENO"; then :
24028 ac_cv_lib_m_catanhl=yes
24029 else
24030 ac_cv_lib_m_catanhl=no
24032 rm -f core conftest.err conftest.$ac_objext \
24033 conftest$ac_exeext conftest.$ac_ext
24034 LIBS=$ac_check_lib_save_LIBS
24036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhl" >&5
24037 $as_echo "$ac_cv_lib_m_catanhl" >&6; }
24038 if test "x$ac_cv_lib_m_catanhl" = x""yes; then :
24040 $as_echo "#define HAVE_CATANHL 1" >>confdefs.h
24044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl in -lm" >&5
24045 $as_echo_n "checking for catanl in -lm... " >&6; }
24046 if test "${ac_cv_lib_m_catanl+set}" = set; then :
24047 $as_echo_n "(cached) " >&6
24048 else
24049 ac_check_lib_save_LIBS=$LIBS
24050 LIBS="-lm $LIBS"
24051 if test x$gcc_no_link = xyes; then
24052 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24055 /* end confdefs.h. */
24057 /* Override any GCC internal prototype to avoid an error.
24058 Use char because int might match the return type of a GCC
24059 builtin and then its argument prototype would still apply. */
24060 #ifdef __cplusplus
24061 extern "C"
24062 #endif
24063 char catanl ();
24065 main ()
24067 return catanl ();
24069 return 0;
24071 _ACEOF
24072 if ac_fn_c_try_link "$LINENO"; then :
24073 ac_cv_lib_m_catanl=yes
24074 else
24075 ac_cv_lib_m_catanl=no
24077 rm -f core conftest.err conftest.$ac_objext \
24078 conftest$ac_exeext conftest.$ac_ext
24079 LIBS=$ac_check_lib_save_LIBS
24081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanl" >&5
24082 $as_echo "$ac_cv_lib_m_catanl" >&6; }
24083 if test "x$ac_cv_lib_m_catanl" = x""yes; then :
24085 $as_echo "#define HAVE_CATANL 1" >>confdefs.h
24090 # On AIX, clog is present in libm as __clog
24091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
24092 $as_echo_n "checking for __clog in -lm... " >&6; }
24093 if test "${ac_cv_lib_m___clog+set}" = set; then :
24094 $as_echo_n "(cached) " >&6
24095 else
24096 ac_check_lib_save_LIBS=$LIBS
24097 LIBS="-lm $LIBS"
24098 if test x$gcc_no_link = xyes; then
24099 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24102 /* end confdefs.h. */
24104 /* Override any GCC internal prototype to avoid an error.
24105 Use char because int might match the return type of a GCC
24106 builtin and then its argument prototype would still apply. */
24107 #ifdef __cplusplus
24108 extern "C"
24109 #endif
24110 char __clog ();
24112 main ()
24114 return __clog ();
24116 return 0;
24118 _ACEOF
24119 if ac_fn_c_try_link "$LINENO"; then :
24120 ac_cv_lib_m___clog=yes
24121 else
24122 ac_cv_lib_m___clog=no
24124 rm -f core conftest.err conftest.$ac_objext \
24125 conftest$ac_exeext conftest.$ac_ext
24126 LIBS=$ac_check_lib_save_LIBS
24128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
24129 $as_echo "$ac_cv_lib_m___clog" >&6; }
24130 if test "x$ac_cv_lib_m___clog" = x""yes; then :
24132 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
24137 # Check for a isfinite macro that works on long doubles.
24139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isfinite is broken" >&5
24140 $as_echo_n "checking whether isfinite is broken... " >&6; }
24141 if test "${libgfor_cv_have_broken_isfinite+set}" = set; then :
24142 $as_echo_n "(cached) " >&6
24143 else
24145 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
24146 LIBS="$LIBS -lm"
24147 if test "$cross_compiling" = yes; then :
24149 case "${target}" in
24150 hppa*-*-hpux*) libgfor_cv_have_broken_isfinite=yes ;;
24151 *) libgfor_cv_have_broken_isfinite=no ;;
24152 esac
24153 else
24154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24155 /* end confdefs.h. */
24157 #include <math.h>
24158 #include <float.h>
24159 int main ()
24161 #ifdef isfinite
24162 #ifdef LDBL_MAX
24163 if (!isfinite(LDBL_MAX)) return 1;
24164 #endif
24165 #ifdef DBL_MAX
24166 if (!isfinite(DBL_MAX)) return 1;
24167 #endif
24168 #endif
24169 return 0;
24171 _ACEOF
24172 if ac_fn_c_try_run "$LINENO"; then :
24173 libgfor_cv_have_broken_isfinite=no
24174 else
24175 libgfor_cv_have_broken_isfinite=yes
24177 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24178 conftest.$ac_objext conftest.beam conftest.$ac_ext
24181 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
24183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_isfinite" >&5
24184 $as_echo "$libgfor_cv_have_broken_isfinite" >&6; }
24185 if test x"$libgfor_cv_have_broken_isfinite" = xyes; then
24187 $as_echo "#define HAVE_BROKEN_ISFINITE 1" >>confdefs.h
24191 # Check for a isnan macro that works on long doubles.
24193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan is broken" >&5
24194 $as_echo_n "checking whether isnan is broken... " >&6; }
24195 if test "${libgfor_cv_have_broken_isnan+set}" = set; then :
24196 $as_echo_n "(cached) " >&6
24197 else
24199 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
24200 LIBS="$LIBS -lm"
24201 if test "$cross_compiling" = yes; then :
24203 case "${target}" in
24204 hppa*-*-hpux*) libgfor_cv_have_broken_isnan=yes ;;
24205 *) libgfor_cv_have_broken_isnan=no ;;
24206 esac
24207 else
24208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24209 /* end confdefs.h. */
24211 #include <math.h>
24212 #include <float.h>
24213 int main ()
24215 #ifdef isnan
24216 #ifdef LDBL_MAX
24218 long double x;
24219 x = __builtin_nanl ("");
24220 if (!isnan(x)) return 1;
24221 if (isnan(LDBL_MAX)) return 1;
24222 #ifdef NAN
24223 x = (long double) NAN;
24224 if (!isnan(x)) return 1;
24225 #endif
24227 #endif
24228 #ifdef DBL_MAX
24230 double y;
24231 y = __builtin_nan ("");
24232 if (!isnan(y)) return 1;
24233 if (isnan(DBL_MAX)) return 1;
24234 #ifdef NAN
24235 y = (double) NAN;
24236 if (!isnan(y)) return 1;
24237 #endif
24239 #endif
24240 #endif
24241 return 0;
24243 _ACEOF
24244 if ac_fn_c_try_run "$LINENO"; then :
24245 libgfor_cv_have_broken_isnan=no
24246 else
24247 libgfor_cv_have_broken_isnan=yes
24249 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24250 conftest.$ac_objext conftest.beam conftest.$ac_ext
24253 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
24255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_isnan" >&5
24256 $as_echo "$libgfor_cv_have_broken_isnan" >&6; }
24257 if test x"$libgfor_cv_have_broken_isnan" = xyes; then
24259 $as_echo "#define HAVE_BROKEN_ISNAN 1" >>confdefs.h
24263 # Check for a fpclassify macro that works on long doubles.
24265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpclassify is broken" >&5
24266 $as_echo_n "checking whether fpclassify is broken... " >&6; }
24267 if test "${libgfor_cv_have_broken_fpclassify+set}" = set; then :
24268 $as_echo_n "(cached) " >&6
24269 else
24271 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
24272 LIBS="$LIBS -lm"
24273 if test "$cross_compiling" = yes; then :
24275 case "${target}" in
24276 hppa*-*-hpux*) libgfor_cv_have_broken_fpclassify=yes ;;
24277 *) libgfor_cv_have_broken_fpclassify=no ;;
24278 esac
24279 else
24280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24281 /* end confdefs.h. */
24283 #include <math.h>
24284 #include <float.h>
24285 int main ()
24287 #ifdef fpclassify
24288 #ifdef LDBL_MAX
24289 if (fpclassify(LDBL_MAX) == FP_NAN
24290 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
24291 #endif
24292 #ifdef DBL_MAX
24293 if (fpclassify(DBL_MAX) == FP_NAN
24294 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
24295 #endif
24296 #endif
24297 return 0;
24299 _ACEOF
24300 if ac_fn_c_try_run "$LINENO"; then :
24301 libgfor_cv_have_broken_fpclassify=no
24302 else
24303 libgfor_cv_have_broken_fpclassify=yes
24305 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24306 conftest.$ac_objext conftest.beam conftest.$ac_ext
24309 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
24311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_fpclassify" >&5
24312 $as_echo "$libgfor_cv_have_broken_fpclassify" >&6; }
24313 if test x"$libgfor_cv_have_broken_fpclassify" = xyes; then
24315 $as_echo "#define HAVE_BROKEN_FPCLASSIFY 1" >>confdefs.h
24319 # Check whether the system has a working stat()
24321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
24322 $as_echo_n "checking whether the target stat is reliable... " >&6; }
24323 if test "${libgfor_cv_have_working_stat+set}" = set; then :
24324 $as_echo_n "(cached) " >&6
24325 else
24327 if test "$cross_compiling" = yes; then :
24329 case "${target}" in
24330 *mingw*) libgfor_cv_have_working_stat=no ;;
24331 *) libgfor_cv_have_working_stat=yes;;
24332 esac
24333 else
24334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24335 /* end confdefs.h. */
24337 #include <stdio.h>
24338 #include <sys/types.h>
24339 #include <sys/stat.h>
24340 #include <unistd.h>
24342 int main ()
24344 FILE *f, *g;
24345 struct stat st1, st2;
24347 f = fopen ("foo", "w");
24348 g = fopen ("bar", "w");
24349 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
24350 return 1;
24351 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
24352 return 1;
24353 fclose(f);
24354 fclose(g);
24355 return 0;
24357 _ACEOF
24358 if ac_fn_c_try_run "$LINENO"; then :
24359 libgfor_cv_have_working_stat=yes
24360 else
24361 libgfor_cv_have_working_stat=no
24363 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24364 conftest.$ac_objext conftest.beam conftest.$ac_ext
24368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
24369 $as_echo "$libgfor_cv_have_working_stat" >&6; }
24370 if test x"$libgfor_cv_have_working_stat" = xyes; then
24372 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
24376 # Check whether __mingw_snprintf() is present
24378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
24379 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
24380 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
24381 $as_echo_n "(cached) " >&6
24382 else
24384 if test x$gcc_no_link = xyes; then
24385 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24388 /* end confdefs.h. */
24390 #include <stdio.h>
24391 extern int __mingw_snprintf (char *, size_t, const char *, ...);
24394 main ()
24397 __mingw_snprintf (NULL, 0, "%d\n", 1);
24400 return 0;
24402 _ACEOF
24403 if ac_fn_c_try_link "$LINENO"; then :
24404 eval "libgfor_cv_have_mingw_snprintf=yes"
24405 else
24406 eval "libgfor_cv_have_mingw_snprintf=no"
24408 rm -f core conftest.err conftest.$ac_objext \
24409 conftest$ac_exeext conftest.$ac_ext
24412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
24413 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
24414 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
24416 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
24421 # Check for a broken powf implementation
24423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
24424 $as_echo_n "checking whether powf is broken... " >&6; }
24425 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
24426 $as_echo_n "(cached) " >&6
24427 else
24429 case "${target}" in
24430 hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
24431 *) libgfor_cv_have_broken_powf=no;;
24432 esac
24434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
24435 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
24436 if test x"$libgfor_cv_have_broken_powf" = xyes; then
24438 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
24443 # Check for GNU libc feenableexcept
24444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
24445 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
24446 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
24447 $as_echo_n "(cached) " >&6
24448 else
24449 ac_check_lib_save_LIBS=$LIBS
24450 LIBS="-lm $LIBS"
24451 if test x$gcc_no_link = xyes; then
24452 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24455 /* end confdefs.h. */
24457 /* Override any GCC internal prototype to avoid an error.
24458 Use char because int might match the return type of a GCC
24459 builtin and then its argument prototype would still apply. */
24460 #ifdef __cplusplus
24461 extern "C"
24462 #endif
24463 char feenableexcept ();
24465 main ()
24467 return feenableexcept ();
24469 return 0;
24471 _ACEOF
24472 if ac_fn_c_try_link "$LINENO"; then :
24473 ac_cv_lib_m_feenableexcept=yes
24474 else
24475 ac_cv_lib_m_feenableexcept=no
24477 rm -f core conftest.err conftest.$ac_objext \
24478 conftest$ac_exeext conftest.$ac_ext
24479 LIBS=$ac_check_lib_save_LIBS
24481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
24482 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
24483 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
24484 have_feenableexcept=yes
24485 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
24490 # Check for SysV fpsetmask
24492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
24493 $as_echo_n "checking whether fpsetmask is present... " >&6; }
24494 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
24495 $as_echo_n "(cached) " >&6
24496 else
24498 if test x$gcc_no_link = xyes; then
24499 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24502 /* end confdefs.h. */
24504 #if HAVE_FLOATINGPOINT_H
24505 # include <floatingpoint.h>
24506 #endif /* HAVE_FLOATINGPOINT_H */
24507 #if HAVE_IEEEFP_H
24508 # include <ieeefp.h>
24509 #endif /* HAVE_IEEEFP_H */
24511 main ()
24513 fpsetmask(0);
24515 return 0;
24517 _ACEOF
24518 if ac_fn_c_try_link "$LINENO"; then :
24519 eval "libgfor_cv_have_fpsetmask=yes"
24520 else
24521 eval "libgfor_cv_have_fpsetmask=no"
24523 rm -f core conftest.err conftest.$ac_objext \
24524 conftest$ac_exeext conftest.$ac_ext
24527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
24528 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
24529 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
24531 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
24536 # Check for AIX fp_trap and fp_enable
24537 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
24538 if test "x$ac_cv_func_fp_trap" = x""yes; then :
24539 have_fp_trap=yes
24540 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
24544 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
24545 if test "x$ac_cv_func_fp_enable" = x""yes; then :
24546 have_fp_enable=yes
24547 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
24552 # Runs configure.host to set up necessary host-dependent shell variables.
24553 # We then display a message about it, and propagate them through the
24554 # build chain.
24555 . ${srcdir}/configure.host
24556 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
24557 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
24558 FPU_HOST_HEADER=config/${fpu_host}.h
24561 # Some targets require additional compiler options for IEEE compatibility.
24562 IEEE_FLAGS="${ieee_flags}"
24565 # Check out attribute support.
24567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
24568 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
24569 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
24570 $as_echo_n "(cached) " >&6
24571 else
24573 save_CFLAGS="$CFLAGS"
24574 CFLAGS="$CFLAGS -Werror"
24575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24576 /* end confdefs.h. */
24577 void __attribute__((visibility("hidden"))) foo(void) { }
24579 main ()
24583 return 0;
24585 _ACEOF
24586 if ac_fn_c_try_compile "$LINENO"; then :
24587 libgfor_cv_have_attribute_visibility=yes
24588 else
24589 libgfor_cv_have_attribute_visibility=no
24591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24592 CFLAGS="$save_CFLAGS"
24594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
24595 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
24596 if test $libgfor_cv_have_attribute_visibility = yes; then
24598 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
24602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
24603 $as_echo_n "checking whether the target supports dllexport... " >&6; }
24604 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
24605 $as_echo_n "(cached) " >&6
24606 else
24608 save_CFLAGS="$CFLAGS"
24609 CFLAGS="$CFLAGS -Werror"
24610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24611 /* end confdefs.h. */
24612 void __attribute__((dllexport)) foo(void) { }
24614 main ()
24618 return 0;
24620 _ACEOF
24621 if ac_fn_c_try_compile "$LINENO"; then :
24622 libgfor_cv_have_attribute_dllexport=yes
24623 else
24624 libgfor_cv_have_attribute_dllexport=no
24626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24627 CFLAGS="$save_CFLAGS"
24629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
24630 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
24631 if test $libgfor_cv_have_attribute_dllexport = yes; then
24633 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
24637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
24638 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
24639 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
24640 $as_echo_n "(cached) " >&6
24641 else
24643 if test x$gcc_no_link = xyes; then
24644 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24647 /* end confdefs.h. */
24649 void foo(void) { }
24650 extern void bar(void) __attribute__((alias("foo")));
24652 main ()
24654 bar();
24656 return 0;
24658 _ACEOF
24659 if ac_fn_c_try_link "$LINENO"; then :
24660 libgfor_cv_have_attribute_alias=yes
24661 else
24662 libgfor_cv_have_attribute_alias=no
24664 rm -f core conftest.err conftest.$ac_objext \
24665 conftest$ac_exeext conftest.$ac_ext
24667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
24668 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
24669 if test $libgfor_cv_have_attribute_alias = yes; then
24671 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
24675 # Check out sync builtins support.
24677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
24678 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
24679 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
24680 $as_echo_n "(cached) " >&6
24681 else
24683 if test x$gcc_no_link = xyes; then
24684 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24687 /* end confdefs.h. */
24688 int foovar = 0;
24690 main ()
24693 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
24694 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
24696 return 0;
24698 _ACEOF
24699 if ac_fn_c_try_link "$LINENO"; then :
24700 libgfor_cv_have_sync_fetch_and_add=yes
24701 else
24702 libgfor_cv_have_sync_fetch_and_add=no
24704 rm -f core conftest.err conftest.$ac_objext \
24705 conftest$ac_exeext conftest.$ac_ext
24707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
24708 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
24709 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
24711 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
24715 # Check out thread support.
24717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured target thread model" >&5
24718 $as_echo_n "checking configured target thread model... " >&6; }
24719 if test "${libgfor_cv_target_thread_file+set}" = set; then :
24720 $as_echo_n "(cached) " >&6
24721 else
24723 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
24725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_target_thread_file" >&5
24726 $as_echo "$libgfor_cv_target_thread_file" >&6; }
24728 if test $libgfor_cv_target_thread_file != single; then
24730 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
24734 # Check out #pragma weak.
24736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
24737 $as_echo_n "checking whether pragma weak works... " >&6; }
24738 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
24739 $as_echo_n "(cached) " >&6
24740 else
24742 gfor_save_CFLAGS="$CFLAGS"
24743 CFLAGS="$CFLAGS -Wunknown-pragmas"
24744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24745 /* end confdefs.h. */
24746 void foo (void);
24747 #pragma weak foo
24749 main ()
24751 if (foo) foo ();
24753 return 0;
24755 _ACEOF
24756 if ac_fn_c_try_compile "$LINENO"; then :
24757 libgfor_cv_have_pragma_weak=yes
24758 else
24759 libgfor_cv_have_pragma_weak=no
24761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
24764 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
24765 if test $libgfor_cv_have_pragma_weak = yes; then
24767 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
24770 case "$host" in
24771 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
24773 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
24776 esac
24778 # Various other checks on target
24780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
24781 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
24782 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
24783 $as_echo_n "(cached) " >&6
24784 else
24786 if test "$cross_compiling" = yes; then :
24788 case "${target}" in
24789 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
24790 *) libgfor_cv_have_unlink_open_file=yes;;
24791 esac
24792 else
24793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24794 /* end confdefs.h. */
24796 #include <errno.h>
24797 #include <fcntl.h>
24798 #include <unistd.h>
24799 #include <sys/stat.h>
24801 int main ()
24803 int fd;
24805 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
24806 if (fd <= 0)
24807 return 0;
24808 if (unlink ("testfile") == -1)
24809 return 1;
24810 write (fd, "This is a test\n", 15);
24811 close (fd);
24813 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24814 return 0;
24815 else
24816 return 1;
24818 _ACEOF
24819 if ac_fn_c_try_run "$LINENO"; then :
24820 libgfor_cv_have_unlink_open_file=yes
24821 else
24822 libgfor_cv_have_unlink_open_file=no
24824 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24825 conftest.$ac_objext conftest.beam conftest.$ac_ext
24829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
24830 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
24831 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
24833 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
24837 # Check whether line terminator is LF or CRLF
24839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
24840 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
24841 if test "${libgfor_cv_have_crlf+set}" = set; then :
24842 $as_echo_n "(cached) " >&6
24843 else
24845 if test "$cross_compiling" = yes; then :
24847 case "${target}" in
24848 *mingw*) libgfor_cv_have_crlf=yes ;;
24849 *) libgfor_cv_have_crlf=no;;
24850 esac
24851 else
24852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24853 /* end confdefs.h. */
24855 /* This test program should exit with status 0 if system uses a CRLF as
24856 line terminator, and status 1 otherwise.
24857 Since it is used to check for mingw systems, and should return 0 in any
24858 other case, in case of a failure we will not use CRLF. */
24859 #include <sys/stat.h>
24860 #include <stdlib.h>
24861 #include <fcntl.h>
24862 #include <stdio.h>
24864 int main ()
24866 #ifndef O_BINARY
24867 exit(1);
24868 #else
24869 int fd, bytes;
24870 char buff[5];
24872 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24873 if (fd < 0)
24874 exit(1);
24875 if (write (fd, "\n", 1) < 0)
24876 perror ("write");
24878 close (fd);
24880 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24881 exit(1);
24882 bytes = read (fd, buff, 5);
24883 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24884 exit(0);
24885 else
24886 exit(1);
24887 #endif
24889 _ACEOF
24890 if ac_fn_c_try_run "$LINENO"; then :
24891 libgfor_cv_have_crlf=yes
24892 else
24893 libgfor_cv_have_crlf=no
24895 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24896 conftest.$ac_objext conftest.beam conftest.$ac_ext
24900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
24901 $as_echo "$libgfor_cv_have_crlf" >&6; }
24902 if test x"$libgfor_cv_have_crlf" = xyes; then
24904 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
24908 cat >confcache <<\_ACEOF
24909 # This file is a shell script that caches the results of configure
24910 # tests run on this system so they can be shared between configure
24911 # scripts and configure runs, see configure's option --config-cache.
24912 # It is not useful on other systems. If it contains results you don't
24913 # want to keep, you may remove or edit it.
24915 # config.status only pays attention to the cache file if you give it
24916 # the --recheck option to rerun configure.
24918 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24919 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24920 # following values.
24922 _ACEOF
24924 # The following way of writing the cache mishandles newlines in values,
24925 # but we know of no workaround that is simple, portable, and efficient.
24926 # So, we kill variables containing newlines.
24927 # Ultrix sh set writes to stderr and can't be redirected directly,
24928 # and sets the high bit in the cache file unless we assign to the vars.
24930 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24931 eval ac_val=\$$ac_var
24932 case $ac_val in #(
24933 *${as_nl}*)
24934 case $ac_var in #(
24935 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24936 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24937 esac
24938 case $ac_var in #(
24939 _ | IFS | as_nl) ;; #(
24940 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
24941 *) { eval $ac_var=; unset $ac_var;} ;;
24942 esac ;;
24943 esac
24944 done
24946 (set) 2>&1 |
24947 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24948 *${as_nl}ac_space=\ *)
24949 # `set' does not quote correctly, so add quotes: double-quote
24950 # substitution turns \\\\ into \\, and sed turns \\ into \.
24951 sed -n \
24952 "s/'/'\\\\''/g;
24953 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24954 ;; #(
24956 # `set' quotes correctly as required by POSIX, so do not add quotes.
24957 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24959 esac |
24960 sort
24962 sed '
24963 /^ac_cv_env_/b end
24964 t clear
24965 :clear
24966 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24967 t end
24968 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24969 :end' >>confcache
24970 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24971 if test -w "$cache_file"; then
24972 test "x$cache_file" != "x/dev/null" &&
24973 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24974 $as_echo "$as_me: updating cache $cache_file" >&6;}
24975 cat confcache >$cache_file
24976 else
24977 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24978 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24981 rm -f confcache
24983 if test ${multilib} = yes; then
24984 multilib_arg="--enable-multilib"
24985 else
24986 multilib_arg=
24989 # Write our Makefile.
24990 ac_config_files="$ac_config_files Makefile"
24992 cat >confcache <<\_ACEOF
24993 # This file is a shell script that caches the results of configure
24994 # tests run on this system so they can be shared between configure
24995 # scripts and configure runs, see configure's option --config-cache.
24996 # It is not useful on other systems. If it contains results you don't
24997 # want to keep, you may remove or edit it.
24999 # config.status only pays attention to the cache file if you give it
25000 # the --recheck option to rerun configure.
25002 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25003 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25004 # following values.
25006 _ACEOF
25008 # The following way of writing the cache mishandles newlines in values,
25009 # but we know of no workaround that is simple, portable, and efficient.
25010 # So, we kill variables containing newlines.
25011 # Ultrix sh set writes to stderr and can't be redirected directly,
25012 # and sets the high bit in the cache file unless we assign to the vars.
25014 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25015 eval ac_val=\$$ac_var
25016 case $ac_val in #(
25017 *${as_nl}*)
25018 case $ac_var in #(
25019 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25020 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25021 esac
25022 case $ac_var in #(
25023 _ | IFS | as_nl) ;; #(
25024 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25025 *) { eval $ac_var=; unset $ac_var;} ;;
25026 esac ;;
25027 esac
25028 done
25030 (set) 2>&1 |
25031 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25032 *${as_nl}ac_space=\ *)
25033 # `set' does not quote correctly, so add quotes: double-quote
25034 # substitution turns \\\\ into \\, and sed turns \\ into \.
25035 sed -n \
25036 "s/'/'\\\\''/g;
25037 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25038 ;; #(
25040 # `set' quotes correctly as required by POSIX, so do not add quotes.
25041 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25043 esac |
25044 sort
25046 sed '
25047 /^ac_cv_env_/b end
25048 t clear
25049 :clear
25050 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25051 t end
25052 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25053 :end' >>confcache
25054 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25055 if test -w "$cache_file"; then
25056 test "x$cache_file" != "x/dev/null" &&
25057 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25058 $as_echo "$as_me: updating cache $cache_file" >&6;}
25059 cat confcache >$cache_file
25060 else
25061 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25062 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25065 rm -f confcache
25067 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25068 # Let make expand exec_prefix.
25069 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25071 DEFS=-DHAVE_CONFIG_H
25073 ac_libobjs=
25074 ac_ltlibobjs=
25075 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25076 # 1. Remove the extension, and $U if already installed.
25077 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25078 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25079 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25080 # will be set to the directory where LIBOBJS objects are built.
25081 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25082 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25083 done
25084 LIBOBJS=$ac_libobjs
25086 LTLIBOBJS=$ac_ltlibobjs
25089 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
25090 as_fn_error "conditional \"onestep\" was never defined.
25091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25093 if test -n "$EXEEXT"; then
25094 am__EXEEXT_TRUE=
25095 am__EXEEXT_FALSE='#'
25096 else
25097 am__EXEEXT_TRUE='#'
25098 am__EXEEXT_FALSE=
25101 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25102 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
25103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25105 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25106 as_fn_error "conditional \"AMDEP\" was never defined.
25107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25109 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25110 as_fn_error "conditional \"am__fastdepCC\" was never defined.
25111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25113 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
25114 as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
25115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25118 : ${CONFIG_STATUS=./config.status}
25119 ac_write_fail=0
25120 ac_clean_files_save=$ac_clean_files
25121 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25122 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25123 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25124 as_write_fail=0
25125 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25126 #! $SHELL
25127 # Generated by $as_me.
25128 # Run this file to recreate the current configuration.
25129 # Compiler output produced by configure, useful for debugging
25130 # configure, is in config.log if it exists.
25132 debug=false
25133 ac_cs_recheck=false
25134 ac_cs_silent=false
25136 SHELL=\${CONFIG_SHELL-$SHELL}
25137 export SHELL
25138 _ASEOF
25139 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25140 ## -------------------- ##
25141 ## M4sh Initialization. ##
25142 ## -------------------- ##
25144 # Be more Bourne compatible
25145 DUALCASE=1; export DUALCASE # for MKS sh
25146 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25147 emulate sh
25148 NULLCMD=:
25149 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25150 # is contrary to our usage. Disable this feature.
25151 alias -g '${1+"$@"}'='"$@"'
25152 setopt NO_GLOB_SUBST
25153 else
25154 case `(set -o) 2>/dev/null` in #(
25155 *posix*) :
25156 set -o posix ;; #(
25157 *) :
25159 esac
25163 as_nl='
25165 export as_nl
25166 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25167 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25168 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25169 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25170 # Prefer a ksh shell builtin over an external printf program on Solaris,
25171 # but without wasting forks for bash or zsh.
25172 if test -z "$BASH_VERSION$ZSH_VERSION" \
25173 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25174 as_echo='print -r --'
25175 as_echo_n='print -rn --'
25176 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25177 as_echo='printf %s\n'
25178 as_echo_n='printf %s'
25179 else
25180 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25181 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25182 as_echo_n='/usr/ucb/echo -n'
25183 else
25184 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25185 as_echo_n_body='eval
25186 arg=$1;
25187 case $arg in #(
25188 *"$as_nl"*)
25189 expr "X$arg" : "X\\(.*\\)$as_nl";
25190 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25191 esac;
25192 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25194 export as_echo_n_body
25195 as_echo_n='sh -c $as_echo_n_body as_echo'
25197 export as_echo_body
25198 as_echo='sh -c $as_echo_body as_echo'
25201 # The user is always right.
25202 if test "${PATH_SEPARATOR+set}" != set; then
25203 PATH_SEPARATOR=:
25204 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25205 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25206 PATH_SEPARATOR=';'
25211 # IFS
25212 # We need space, tab and new line, in precisely that order. Quoting is
25213 # there to prevent editors from complaining about space-tab.
25214 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25215 # splitting by setting IFS to empty value.)
25216 IFS=" "" $as_nl"
25218 # Find who we are. Look in the path if we contain no directory separator.
25219 case $0 in #((
25220 *[\\/]* ) as_myself=$0 ;;
25221 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25222 for as_dir in $PATH
25224 IFS=$as_save_IFS
25225 test -z "$as_dir" && as_dir=.
25226 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25227 done
25228 IFS=$as_save_IFS
25231 esac
25232 # We did not find ourselves, most probably we were run as `sh COMMAND'
25233 # in which case we are not to be found in the path.
25234 if test "x$as_myself" = x; then
25235 as_myself=$0
25237 if test ! -f "$as_myself"; then
25238 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25239 exit 1
25242 # Unset variables that we do not need and which cause bugs (e.g. in
25243 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25244 # suppresses any "Segmentation fault" message there. '((' could
25245 # trigger a bug in pdksh 5.2.14.
25246 for as_var in BASH_ENV ENV MAIL MAILPATH
25247 do eval test x\${$as_var+set} = xset \
25248 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
25249 done
25250 PS1='$ '
25251 PS2='> '
25252 PS4='+ '
25254 # NLS nuisances.
25255 LC_ALL=C
25256 export LC_ALL
25257 LANGUAGE=C
25258 export LANGUAGE
25260 # CDPATH.
25261 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25264 # as_fn_error ERROR [LINENO LOG_FD]
25265 # ---------------------------------
25266 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25267 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25268 # script with status $?, using 1 if that was 0.
25269 as_fn_error ()
25271 as_status=$?; test $as_status -eq 0 && as_status=1
25272 if test "$3"; then
25273 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
25274 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
25276 $as_echo "$as_me: error: $1" >&2
25277 as_fn_exit $as_status
25278 } # as_fn_error
25281 # as_fn_set_status STATUS
25282 # -----------------------
25283 # Set $? to STATUS, without forking.
25284 as_fn_set_status ()
25286 return $1
25287 } # as_fn_set_status
25289 # as_fn_exit STATUS
25290 # -----------------
25291 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25292 as_fn_exit ()
25294 set +e
25295 as_fn_set_status $1
25296 exit $1
25297 } # as_fn_exit
25299 # as_fn_unset VAR
25300 # ---------------
25301 # Portably unset VAR.
25302 as_fn_unset ()
25304 { eval $1=; unset $1;}
25306 as_unset=as_fn_unset
25307 # as_fn_append VAR VALUE
25308 # ----------------------
25309 # Append the text in VALUE to the end of the definition contained in VAR. Take
25310 # advantage of any shell optimizations that allow amortized linear growth over
25311 # repeated appends, instead of the typical quadratic growth present in naive
25312 # implementations.
25313 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
25314 eval 'as_fn_append ()
25316 eval $1+=\$2
25318 else
25319 as_fn_append ()
25321 eval $1=\$$1\$2
25323 fi # as_fn_append
25325 # as_fn_arith ARG...
25326 # ------------------
25327 # Perform arithmetic evaluation on the ARGs, and store the result in the
25328 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25329 # must be portable across $(()) and expr.
25330 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25331 eval 'as_fn_arith ()
25333 as_val=$(( $* ))
25335 else
25336 as_fn_arith ()
25338 as_val=`expr "$@" || test $? -eq 1`
25340 fi # as_fn_arith
25343 if expr a : '\(a\)' >/dev/null 2>&1 &&
25344 test "X`expr 00001 : '.*\(...\)'`" = X001; then
25345 as_expr=expr
25346 else
25347 as_expr=false
25350 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25351 as_basename=basename
25352 else
25353 as_basename=false
25356 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25357 as_dirname=dirname
25358 else
25359 as_dirname=false
25362 as_me=`$as_basename -- "$0" ||
25363 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25364 X"$0" : 'X\(//\)$' \| \
25365 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25366 $as_echo X/"$0" |
25367 sed '/^.*\/\([^/][^/]*\)\/*$/{
25368 s//\1/
25371 /^X\/\(\/\/\)$/{
25372 s//\1/
25375 /^X\/\(\/\).*/{
25376 s//\1/
25379 s/.*/./; q'`
25381 # Avoid depending upon Character Ranges.
25382 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25383 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25384 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25385 as_cr_digits='0123456789'
25386 as_cr_alnum=$as_cr_Letters$as_cr_digits
25388 ECHO_C= ECHO_N= ECHO_T=
25389 case `echo -n x` in #(((((
25390 -n*)
25391 case `echo 'xy\c'` in
25392 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
25393 xy) ECHO_C='\c';;
25394 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
25395 ECHO_T=' ';;
25396 esac;;
25398 ECHO_N='-n';;
25399 esac
25401 rm -f conf$$ conf$$.exe conf$$.file
25402 if test -d conf$$.dir; then
25403 rm -f conf$$.dir/conf$$.file
25404 else
25405 rm -f conf$$.dir
25406 mkdir conf$$.dir 2>/dev/null
25408 if (echo >conf$$.file) 2>/dev/null; then
25409 if ln -s conf$$.file conf$$ 2>/dev/null; then
25410 as_ln_s='ln -s'
25411 # ... but there are two gotchas:
25412 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25413 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25414 # In both cases, we have to default to `cp -p'.
25415 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25416 as_ln_s='cp -p'
25417 elif ln conf$$.file conf$$ 2>/dev/null; then
25418 as_ln_s=ln
25419 else
25420 as_ln_s='cp -p'
25422 else
25423 as_ln_s='cp -p'
25425 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25426 rmdir conf$$.dir 2>/dev/null
25429 # as_fn_mkdir_p
25430 # -------------
25431 # Create "$as_dir" as a directory, including parents if necessary.
25432 as_fn_mkdir_p ()
25435 case $as_dir in #(
25436 -*) as_dir=./$as_dir;;
25437 esac
25438 test -d "$as_dir" || eval $as_mkdir_p || {
25439 as_dirs=
25440 while :; do
25441 case $as_dir in #(
25442 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25443 *) as_qdir=$as_dir;;
25444 esac
25445 as_dirs="'$as_qdir' $as_dirs"
25446 as_dir=`$as_dirname -- "$as_dir" ||
25447 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25448 X"$as_dir" : 'X\(//\)[^/]' \| \
25449 X"$as_dir" : 'X\(//\)$' \| \
25450 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25451 $as_echo X"$as_dir" |
25452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25453 s//\1/
25456 /^X\(\/\/\)[^/].*/{
25457 s//\1/
25460 /^X\(\/\/\)$/{
25461 s//\1/
25464 /^X\(\/\).*/{
25465 s//\1/
25468 s/.*/./; q'`
25469 test -d "$as_dir" && break
25470 done
25471 test -z "$as_dirs" || eval "mkdir $as_dirs"
25472 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
25475 } # as_fn_mkdir_p
25476 if mkdir -p . 2>/dev/null; then
25477 as_mkdir_p='mkdir -p "$as_dir"'
25478 else
25479 test -d ./-p && rmdir ./-p
25480 as_mkdir_p=false
25483 if test -x / >/dev/null 2>&1; then
25484 as_test_x='test -x'
25485 else
25486 if ls -dL / >/dev/null 2>&1; then
25487 as_ls_L_option=L
25488 else
25489 as_ls_L_option=
25491 as_test_x='
25492 eval sh -c '\''
25493 if test -d "$1"; then
25494 test -d "$1/.";
25495 else
25496 case $1 in #(
25497 -*)set "./$1";;
25498 esac;
25499 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25500 ???[sx]*):;;*)false;;esac;fi
25501 '\'' sh
25504 as_executable_p=$as_test_x
25506 # Sed expression to map a string onto a valid CPP name.
25507 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25509 # Sed expression to map a string onto a valid variable name.
25510 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25513 exec 6>&1
25514 ## ----------------------------------- ##
25515 ## Main body of $CONFIG_STATUS script. ##
25516 ## ----------------------------------- ##
25517 _ASEOF
25518 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
25520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25521 # Save the log message, to keep $0 and so on meaningful, and to
25522 # report actual input values of CONFIG_FILES etc. instead of their
25523 # values after options handling.
25524 ac_log="
25525 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
25526 generated by GNU Autoconf 2.64. Invocation command line was
25528 CONFIG_FILES = $CONFIG_FILES
25529 CONFIG_HEADERS = $CONFIG_HEADERS
25530 CONFIG_LINKS = $CONFIG_LINKS
25531 CONFIG_COMMANDS = $CONFIG_COMMANDS
25532 $ $0 $@
25534 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25537 _ACEOF
25539 case $ac_config_files in *"
25540 "*) set x $ac_config_files; shift; ac_config_files=$*;;
25541 esac
25543 case $ac_config_headers in *"
25544 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
25545 esac
25548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25549 # Files that config.status was made for.
25550 config_files="$ac_config_files"
25551 config_headers="$ac_config_headers"
25552 config_commands="$ac_config_commands"
25554 _ACEOF
25556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25557 ac_cs_usage="\
25558 \`$as_me' instantiates files and other configuration actions
25559 from templates according to the current configuration. Unless the files
25560 and actions are specified as TAGs, all are instantiated by default.
25562 Usage: $0 [OPTION]... [TAG]...
25564 -h, --help print this help, then exit
25565 -V, --version print version number and configuration settings, then exit
25566 -q, --quiet, --silent
25567 do not print progress messages
25568 -d, --debug don't remove temporary files
25569 --recheck update $as_me by reconfiguring in the same conditions
25570 --file=FILE[:TEMPLATE]
25571 instantiate the configuration file FILE
25572 --header=FILE[:TEMPLATE]
25573 instantiate the configuration header FILE
25575 Configuration files:
25576 $config_files
25578 Configuration headers:
25579 $config_headers
25581 Configuration commands:
25582 $config_commands
25584 Report bugs to the package provider.
25585 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
25586 General help using GNU software: <http://www.gnu.org/gethelp/>."
25588 _ACEOF
25589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25590 ac_cs_version="\\
25591 GNU Fortran Runtime Library config.status 0.3
25592 configured by $0, generated by GNU Autoconf 2.64,
25593 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25595 Copyright (C) 2009 Free Software Foundation, Inc.
25596 This config.status script is free software; the Free Software Foundation
25597 gives unlimited permission to copy, distribute and modify it."
25599 ac_pwd='$ac_pwd'
25600 srcdir='$srcdir'
25601 INSTALL='$INSTALL'
25602 MKDIR_P='$MKDIR_P'
25603 AWK='$AWK'
25604 test -n "\$AWK" || AWK=awk
25605 _ACEOF
25607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25608 # The default lists apply if the user does not specify any file.
25609 ac_need_defaults=:
25610 while test $# != 0
25612 case $1 in
25613 --*=*)
25614 ac_option=`expr "X$1" : 'X\([^=]*\)='`
25615 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25616 ac_shift=:
25619 ac_option=$1
25620 ac_optarg=$2
25621 ac_shift=shift
25623 esac
25625 case $ac_option in
25626 # Handling of the options.
25627 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25628 ac_cs_recheck=: ;;
25629 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25630 $as_echo "$ac_cs_version"; exit ;;
25631 --debug | --debu | --deb | --de | --d | -d )
25632 debug=: ;;
25633 --file | --fil | --fi | --f )
25634 $ac_shift
25635 case $ac_optarg in
25636 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25637 esac
25638 as_fn_append CONFIG_FILES " '$ac_optarg'"
25639 ac_need_defaults=false;;
25640 --header | --heade | --head | --hea )
25641 $ac_shift
25642 case $ac_optarg in
25643 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25644 esac
25645 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25646 ac_need_defaults=false;;
25647 --he | --h)
25648 # Conflict between --help and --header
25649 as_fn_error "ambiguous option: \`$1'
25650 Try \`$0 --help' for more information.";;
25651 --help | --hel | -h )
25652 $as_echo "$ac_cs_usage"; exit ;;
25653 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25654 | -silent | --silent | --silen | --sile | --sil | --si | --s)
25655 ac_cs_silent=: ;;
25657 # This is an error.
25658 -*) as_fn_error "unrecognized option: \`$1'
25659 Try \`$0 --help' for more information." ;;
25661 *) as_fn_append ac_config_targets " $1"
25662 ac_need_defaults=false ;;
25664 esac
25665 shift
25666 done
25668 ac_configure_extra_args=
25670 if $ac_cs_silent; then
25671 exec 6>/dev/null
25672 ac_configure_extra_args="$ac_configure_extra_args --silent"
25675 _ACEOF
25676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25677 if \$ac_cs_recheck; then
25678 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25679 shift
25680 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25681 CONFIG_SHELL='$SHELL'
25682 export CONFIG_SHELL
25683 exec "\$@"
25686 _ACEOF
25687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25688 exec 5>>config.log
25690 echo
25691 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25692 ## Running $as_me. ##
25693 _ASBOX
25694 $as_echo "$ac_log"
25695 } >&5
25697 _ACEOF
25698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25700 # INIT-COMMANDS
25703 srcdir="$srcdir"
25704 host="$host"
25705 target="$target"
25706 with_multisubdir="$with_multisubdir"
25707 with_multisrctop="$with_multisrctop"
25708 with_target_subdir="$with_target_subdir"
25709 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25710 multi_basedir="$multi_basedir"
25711 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25712 CC="$CC"
25713 CXX="$CXX"
25714 GFORTRAN="$GFORTRAN"
25715 GCJ="$GCJ"
25716 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25719 # The HP-UX ksh and POSIX shell print the target directory to stdout
25720 # if CDPATH is set.
25721 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25723 sed_quote_subst='$sed_quote_subst'
25724 double_quote_subst='$double_quote_subst'
25725 delay_variable_subst='$delay_variable_subst'
25726 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
25727 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
25728 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
25729 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
25730 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
25731 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
25732 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
25733 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
25734 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
25735 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
25736 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
25737 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
25738 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
25739 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
25740 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
25741 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
25742 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
25743 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
25744 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
25745 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
25746 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
25747 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
25748 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
25749 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
25750 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
25751 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
25752 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
25753 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25754 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
25755 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
25756 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
25757 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
25758 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
25759 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
25760 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
25761 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25762 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25763 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25764 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
25765 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
25766 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
25767 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
25768 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
25769 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
25770 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
25771 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
25772 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
25773 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
25774 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
25775 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
25776 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
25777 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
25778 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
25779 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
25780 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
25781 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
25782 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
25783 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
25784 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
25785 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
25786 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
25787 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
25788 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25789 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25790 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
25791 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
25792 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
25793 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
25794 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
25795 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25796 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25797 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25798 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25799 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25800 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25801 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
25802 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
25803 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
25804 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
25805 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
25806 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
25807 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
25808 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
25809 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
25810 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
25811 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
25812 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
25813 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
25814 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
25815 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
25816 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25817 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
25818 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
25819 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25820 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
25821 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
25822 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
25823 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
25824 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
25825 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
25826 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
25827 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
25828 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
25829 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
25830 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
25831 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25832 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25833 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25834 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
25835 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
25836 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
25837 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
25838 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
25839 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
25840 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
25841 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
25842 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
25843 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
25844 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
25845 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
25846 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
25847 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
25848 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
25849 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
25850 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
25851 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
25852 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
25853 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
25854 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
25855 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
25856 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
25857 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
25858 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
25859 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
25860 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
25861 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
25862 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
25863 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
25864 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
25865 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
25866 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
25867 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
25868 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
25869 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
25870 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
25871 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
25872 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
25873 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
25874 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
25875 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
25876 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
25877 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
25878 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
25879 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
25880 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
25881 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
25882 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
25883 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
25884 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
25885 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
25886 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
25887 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
25888 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
25889 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
25890 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
25891 compiler_lib_search_dirs_FC='`$ECHO "X$compiler_lib_search_dirs_FC" | $Xsed -e "$delay_single_quote_subst"`'
25892 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
25893 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
25894 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
25895 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
25896 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
25898 LTCC='$LTCC'
25899 LTCFLAGS='$LTCFLAGS'
25900 compiler='$compiler_DEFAULT'
25902 # Quote evaled strings.
25903 for var in SED \
25904 GREP \
25905 EGREP \
25906 FGREP \
25907 LD \
25908 NM \
25909 LN_S \
25910 lt_SP2NL \
25911 lt_NL2SP \
25912 reload_flag \
25913 OBJDUMP \
25914 deplibs_check_method \
25915 file_magic_cmd \
25916 AR \
25917 AR_FLAGS \
25918 STRIP \
25919 RANLIB \
25920 CC \
25921 CFLAGS \
25922 compiler \
25923 lt_cv_sys_global_symbol_pipe \
25924 lt_cv_sys_global_symbol_to_cdecl \
25925 lt_cv_sys_global_symbol_to_c_name_address \
25926 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25927 SHELL \
25928 ECHO \
25929 lt_prog_compiler_no_builtin_flag \
25930 lt_prog_compiler_wl \
25931 lt_prog_compiler_pic \
25932 lt_prog_compiler_static \
25933 lt_cv_prog_compiler_c_o \
25934 need_locks \
25935 DSYMUTIL \
25936 NMEDIT \
25937 LIPO \
25938 OTOOL \
25939 OTOOL64 \
25940 shrext_cmds \
25941 export_dynamic_flag_spec \
25942 whole_archive_flag_spec \
25943 compiler_needs_object \
25944 with_gnu_ld \
25945 allow_undefined_flag \
25946 no_undefined_flag \
25947 hardcode_libdir_flag_spec \
25948 hardcode_libdir_flag_spec_ld \
25949 hardcode_libdir_separator \
25950 fix_srcfile_path \
25951 exclude_expsyms \
25952 include_expsyms \
25953 file_list_spec \
25954 variables_saved_for_relink \
25955 libname_spec \
25956 library_names_spec \
25957 soname_spec \
25958 finish_eval \
25959 old_striplib \
25960 striplib \
25961 compiler_lib_search_dirs \
25962 predep_objects \
25963 postdep_objects \
25964 predeps \
25965 postdeps \
25966 compiler_lib_search_path \
25967 LD_FC \
25968 compiler_FC \
25969 lt_prog_compiler_no_builtin_flag_FC \
25970 lt_prog_compiler_wl_FC \
25971 lt_prog_compiler_pic_FC \
25972 lt_prog_compiler_static_FC \
25973 lt_cv_prog_compiler_c_o_FC \
25974 export_dynamic_flag_spec_FC \
25975 whole_archive_flag_spec_FC \
25976 compiler_needs_object_FC \
25977 with_gnu_ld_FC \
25978 allow_undefined_flag_FC \
25979 no_undefined_flag_FC \
25980 hardcode_libdir_flag_spec_FC \
25981 hardcode_libdir_flag_spec_ld_FC \
25982 hardcode_libdir_separator_FC \
25983 fix_srcfile_path_FC \
25984 exclude_expsyms_FC \
25985 include_expsyms_FC \
25986 file_list_spec_FC \
25987 compiler_lib_search_dirs_FC \
25988 predep_objects_FC \
25989 postdep_objects_FC \
25990 predeps_FC \
25991 postdeps_FC \
25992 compiler_lib_search_path_FC; do
25993 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
25994 *[\\\\\\\`\\"\\\$]*)
25995 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
25998 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26000 esac
26001 done
26003 # Double-quote double-evaled strings.
26004 for var in reload_cmds \
26005 old_postinstall_cmds \
26006 old_postuninstall_cmds \
26007 old_archive_cmds \
26008 extract_expsyms_cmds \
26009 old_archive_from_new_cmds \
26010 old_archive_from_expsyms_cmds \
26011 archive_cmds \
26012 archive_expsym_cmds \
26013 module_cmds \
26014 module_expsym_cmds \
26015 export_symbols_cmds \
26016 prelink_cmds \
26017 postinstall_cmds \
26018 postuninstall_cmds \
26019 finish_cmds \
26020 sys_lib_search_path_spec \
26021 sys_lib_dlsearch_path_spec \
26022 old_archive_cmds_FC \
26023 old_archive_from_new_cmds_FC \
26024 old_archive_from_expsyms_cmds_FC \
26025 archive_cmds_FC \
26026 archive_expsym_cmds_FC \
26027 module_cmds_FC \
26028 module_expsym_cmds_FC \
26029 export_symbols_cmds_FC \
26030 prelink_cmds_FC; do
26031 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
26032 *[\\\\\\\`\\"\\\$]*)
26033 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26036 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26038 esac
26039 done
26041 # Fix-up fallback echo if it was mangled by the above quoting rules.
26042 case \$lt_ECHO in
26043 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
26045 esac
26047 ac_aux_dir='$ac_aux_dir'
26048 xsi_shell='$xsi_shell'
26049 lt_shell_append='$lt_shell_append'
26051 # See if we are running on zsh, and set the options which allow our
26052 # commands through without removal of \ escapes INIT.
26053 if test -n "\${ZSH_VERSION+set}" ; then
26054 setopt NO_GLOB_SUBST
26058 PACKAGE='$PACKAGE'
26059 VERSION='$VERSION'
26060 TIMESTAMP='$TIMESTAMP'
26061 RM='$RM'
26062 ofile='$ofile'
26069 GCC="$GCC"
26070 CC="$CC"
26071 acx_cv_header_stdint="$acx_cv_header_stdint"
26072 acx_cv_type_int8_t="$acx_cv_type_int8_t"
26073 acx_cv_type_int16_t="$acx_cv_type_int16_t"
26074 acx_cv_type_int32_t="$acx_cv_type_int32_t"
26075 acx_cv_type_int64_t="$acx_cv_type_int64_t"
26076 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
26077 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
26078 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
26079 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
26080 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
26081 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
26082 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
26083 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
26084 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
26087 _ACEOF
26089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26091 # Handling of arguments.
26092 for ac_config_target in $ac_config_targets
26094 case $ac_config_target in
26095 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26096 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26097 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26098 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26099 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
26100 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26102 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26103 esac
26104 done
26107 # If the user did not use the arguments to specify the items to instantiate,
26108 # then the envvar interface is used. Set only those that are not.
26109 # We use the long form for the default assignment because of an extremely
26110 # bizarre bug on SunOS 4.1.3.
26111 if $ac_need_defaults; then
26112 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26113 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26114 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26117 # Have a temporary directory for convenience. Make it in the build tree
26118 # simply because there is no reason against having it here, and in addition,
26119 # creating and moving files from /tmp can sometimes cause problems.
26120 # Hook for its removal unless debugging.
26121 # Note that there is a small window in which the directory will not be cleaned:
26122 # after its creation but before its name has been assigned to `$tmp'.
26123 $debug ||
26125 tmp=
26126 trap 'exit_status=$?
26127 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26129 trap 'as_fn_exit 1' 1 2 13 15
26131 # Create a (secure) tmp directory for tmp files.
26134 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26135 test -n "$tmp" && test -d "$tmp"
26136 } ||
26138 tmp=./conf$$-$RANDOM
26139 (umask 077 && mkdir "$tmp")
26140 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
26142 # Set up the scripts for CONFIG_FILES section.
26143 # No need to generate them if there are no CONFIG_FILES.
26144 # This happens for instance with `./config.status config.h'.
26145 if test -n "$CONFIG_FILES"; then
26148 ac_cr=`echo X | tr X '\015'`
26149 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26150 # But we know of no other shell where ac_cr would be empty at this
26151 # point, so we can use a bashism as a fallback.
26152 if test "x$ac_cr" = x; then
26153 eval ac_cr=\$\'\\r\'
26155 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26156 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26157 ac_cs_awk_cr='\r'
26158 else
26159 ac_cs_awk_cr=$ac_cr
26162 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26163 _ACEOF
26167 echo "cat >conf$$subs.awk <<_ACEOF" &&
26168 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26169 echo "_ACEOF"
26170 } >conf$$subs.sh ||
26171 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26172 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26173 ac_delim='%!_!# '
26174 for ac_last_try in false false false false false :; do
26175 . ./conf$$subs.sh ||
26176 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26178 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26179 if test $ac_delim_n = $ac_delim_num; then
26180 break
26181 elif $ac_last_try; then
26182 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26183 else
26184 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26186 done
26187 rm -f conf$$subs.sh
26189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26190 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
26191 _ACEOF
26192 sed -n '
26194 s/^/S["/; s/!.*/"]=/
26197 s/^[^!]*!//
26198 :repl
26199 t repl
26200 s/'"$ac_delim"'$//
26201 t delim
26204 s/\(.\{148\}\).*/\1/
26205 t more1
26206 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26209 b repl
26210 :more1
26211 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26214 s/.\{148\}//
26215 t nl
26216 :delim
26218 s/\(.\{148\}\).*/\1/
26219 t more2
26220 s/["\\]/\\&/g; s/^/"/; s/$/"/
26223 :more2
26224 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26227 s/.\{148\}//
26228 t delim
26229 ' <conf$$subs.awk | sed '
26230 /^[^""]/{
26232 s/\n//
26234 ' >>$CONFIG_STATUS || ac_write_fail=1
26235 rm -f conf$$subs.awk
26236 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26237 _ACAWK
26238 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
26239 for (key in S) S_is_set[key] = 1
26240 FS = "\a"
26244 line = $ 0
26245 nfields = split(line, field, "@")
26246 substed = 0
26247 len = length(field[1])
26248 for (i = 2; i < nfields; i++) {
26249 key = field[i]
26250 keylen = length(key)
26251 if (S_is_set[key]) {
26252 value = S[key]
26253 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26254 len += length(value) + length(field[++i])
26255 substed = 1
26256 } else
26257 len += 1 + keylen
26260 print line
26263 _ACAWK
26264 _ACEOF
26265 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26266 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26267 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26268 else
26270 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
26271 || as_fn_error "could not setup config files machinery" "$LINENO" 5
26272 _ACEOF
26274 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26275 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26276 # trailing colons and then remove the whole line if VPATH becomes empty
26277 # (actually we leave an empty line to preserve line numbers).
26278 if test "x$srcdir" = x.; then
26279 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26280 s/:*\$(srcdir):*/:/
26281 s/:*\${srcdir}:*/:/
26282 s/:*@srcdir@:*/:/
26283 s/^\([^=]*=[ ]*\):*/\1/
26284 s/:*$//
26285 s/^[^=]*=[ ]*$//
26289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26290 fi # test -n "$CONFIG_FILES"
26292 # Set up the scripts for CONFIG_HEADERS section.
26293 # No need to generate them if there are no CONFIG_HEADERS.
26294 # This happens for instance with `./config.status Makefile'.
26295 if test -n "$CONFIG_HEADERS"; then
26296 cat >"$tmp/defines.awk" <<\_ACAWK ||
26297 BEGIN {
26298 _ACEOF
26300 # Transform confdefs.h into an awk script `defines.awk', embedded as
26301 # here-document in config.status, that substitutes the proper values into
26302 # config.h.in to produce config.h.
26304 # Create a delimiter string that does not exist in confdefs.h, to ease
26305 # handling of long lines.
26306 ac_delim='%!_!# '
26307 for ac_last_try in false false :; do
26308 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
26309 if test -z "$ac_t"; then
26310 break
26311 elif $ac_last_try; then
26312 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
26313 else
26314 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26316 done
26318 # For the awk script, D is an array of macro values keyed by name,
26319 # likewise P contains macro parameters if any. Preserve backslash
26320 # newline sequences.
26322 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26323 sed -n '
26324 s/.\{148\}/&'"$ac_delim"'/g
26325 t rset
26326 :rset
26327 s/^[ ]*#[ ]*define[ ][ ]*/ /
26328 t def
26330 :def
26331 s/\\$//
26332 t bsnl
26333 s/["\\]/\\&/g
26334 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26335 D["\1"]=" \3"/p
26336 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
26338 :bsnl
26339 s/["\\]/\\&/g
26340 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26341 D["\1"]=" \3\\\\\\n"\\/p
26342 t cont
26343 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26344 t cont
26346 :cont
26348 s/.\{148\}/&'"$ac_delim"'/g
26349 t clear
26350 :clear
26351 s/\\$//
26352 t bsnlc
26353 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26355 :bsnlc
26356 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26357 b cont
26358 ' <confdefs.h | sed '
26359 s/'"$ac_delim"'/"\\\
26360 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26363 for (key in D) D_is_set[key] = 1
26364 FS = "\a"
26366 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26367 line = \$ 0
26368 split(line, arg, " ")
26369 if (arg[1] == "#") {
26370 defundef = arg[2]
26371 mac1 = arg[3]
26372 } else {
26373 defundef = substr(arg[1], 2)
26374 mac1 = arg[2]
26376 split(mac1, mac2, "(") #)
26377 macro = mac2[1]
26378 prefix = substr(line, 1, index(line, defundef) - 1)
26379 if (D_is_set[macro]) {
26380 # Preserve the white space surrounding the "#".
26381 print prefix "define", macro P[macro] D[macro]
26382 next
26383 } else {
26384 # Replace #undef with comments. This is necessary, for example,
26385 # in the case of _POSIX_SOURCE, which is predefined and required
26386 # on some systems where configure will not decide to define it.
26387 if (defundef == "undef") {
26388 print "/*", prefix defundef, macro, "*/"
26389 next
26393 { print }
26394 _ACAWK
26395 _ACEOF
26396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26397 as_fn_error "could not setup config headers machinery" "$LINENO" 5
26398 fi # test -n "$CONFIG_HEADERS"
26401 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
26402 shift
26403 for ac_tag
26405 case $ac_tag in
26406 :[FHLC]) ac_mode=$ac_tag; continue;;
26407 esac
26408 case $ac_mode$ac_tag in
26409 :[FHL]*:*);;
26410 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
26411 :[FH]-) ac_tag=-:-;;
26412 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26413 esac
26414 ac_save_IFS=$IFS
26415 IFS=:
26416 set x $ac_tag
26417 IFS=$ac_save_IFS
26418 shift
26419 ac_file=$1
26420 shift
26422 case $ac_mode in
26423 :L) ac_source=$1;;
26424 :[FH])
26425 ac_file_inputs=
26426 for ac_f
26428 case $ac_f in
26429 -) ac_f="$tmp/stdin";;
26430 *) # Look for the file first in the build tree, then in the source tree
26431 # (if the path is not absolute). The absolute path cannot be DOS-style,
26432 # because $ac_f cannot contain `:'.
26433 test -f "$ac_f" ||
26434 case $ac_f in
26435 [\\/$]*) false;;
26436 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26437 esac ||
26438 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26439 esac
26440 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26441 as_fn_append ac_file_inputs " '$ac_f'"
26442 done
26444 # Let's still pretend it is `configure' which instantiates (i.e., don't
26445 # use $as_me), people would be surprised to read:
26446 # /* config.h. Generated by config.status. */
26447 configure_input='Generated from '`
26448 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26449 `' by configure.'
26450 if test x"$ac_file" != x-; then
26451 configure_input="$ac_file. $configure_input"
26452 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26453 $as_echo "$as_me: creating $ac_file" >&6;}
26455 # Neutralize special characters interpreted by sed in replacement strings.
26456 case $configure_input in #(
26457 *\&* | *\|* | *\\* )
26458 ac_sed_conf_input=`$as_echo "$configure_input" |
26459 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26460 *) ac_sed_conf_input=$configure_input;;
26461 esac
26463 case $ac_tag in
26464 *:-:* | *:-) cat >"$tmp/stdin" \
26465 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
26466 esac
26468 esac
26470 ac_dir=`$as_dirname -- "$ac_file" ||
26471 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26472 X"$ac_file" : 'X\(//\)[^/]' \| \
26473 X"$ac_file" : 'X\(//\)$' \| \
26474 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26475 $as_echo X"$ac_file" |
26476 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26477 s//\1/
26480 /^X\(\/\/\)[^/].*/{
26481 s//\1/
26484 /^X\(\/\/\)$/{
26485 s//\1/
26488 /^X\(\/\).*/{
26489 s//\1/
26492 s/.*/./; q'`
26493 as_dir="$ac_dir"; as_fn_mkdir_p
26494 ac_builddir=.
26496 case "$ac_dir" in
26497 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26499 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26500 # A ".." for each directory in $ac_dir_suffix.
26501 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26502 case $ac_top_builddir_sub in
26503 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26504 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26505 esac ;;
26506 esac
26507 ac_abs_top_builddir=$ac_pwd
26508 ac_abs_builddir=$ac_pwd$ac_dir_suffix
26509 # for backward compatibility:
26510 ac_top_builddir=$ac_top_build_prefix
26512 case $srcdir in
26513 .) # We are building in place.
26514 ac_srcdir=.
26515 ac_top_srcdir=$ac_top_builddir_sub
26516 ac_abs_top_srcdir=$ac_pwd ;;
26517 [\\/]* | ?:[\\/]* ) # Absolute name.
26518 ac_srcdir=$srcdir$ac_dir_suffix;
26519 ac_top_srcdir=$srcdir
26520 ac_abs_top_srcdir=$srcdir ;;
26521 *) # Relative name.
26522 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26523 ac_top_srcdir=$ac_top_build_prefix$srcdir
26524 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26525 esac
26526 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26529 case $ac_mode in
26532 # CONFIG_FILE
26535 case $INSTALL in
26536 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26537 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26538 esac
26539 ac_MKDIR_P=$MKDIR_P
26540 case $MKDIR_P in
26541 [\\/$]* | ?:[\\/]* ) ;;
26542 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
26543 esac
26544 _ACEOF
26546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26547 # If the template does not know about datarootdir, expand it.
26548 # FIXME: This hack should be removed a few years after 2.60.
26549 ac_datarootdir_hack=; ac_datarootdir_seen=
26550 ac_sed_dataroot='
26551 /datarootdir/ {
26555 /@datadir@/p
26556 /@docdir@/p
26557 /@infodir@/p
26558 /@localedir@/p
26559 /@mandir@/p'
26560 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26561 *datarootdir*) ac_datarootdir_seen=yes;;
26562 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26564 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26565 _ACEOF
26566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26567 ac_datarootdir_hack='
26568 s&@datadir@&$datadir&g
26569 s&@docdir@&$docdir&g
26570 s&@infodir@&$infodir&g
26571 s&@localedir@&$localedir&g
26572 s&@mandir@&$mandir&g
26573 s&\\\${datarootdir}&$datarootdir&g' ;;
26574 esac
26575 _ACEOF
26577 # Neutralize VPATH when `$srcdir' = `.'.
26578 # Shell code in configure.ac might set extrasub.
26579 # FIXME: do we really want to maintain this feature?
26580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26581 ac_sed_extra="$ac_vpsub
26582 $extrasub
26583 _ACEOF
26584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26586 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26587 s|@configure_input@|$ac_sed_conf_input|;t t
26588 s&@top_builddir@&$ac_top_builddir_sub&;t t
26589 s&@top_build_prefix@&$ac_top_build_prefix&;t t
26590 s&@srcdir@&$ac_srcdir&;t t
26591 s&@abs_srcdir@&$ac_abs_srcdir&;t t
26592 s&@top_srcdir@&$ac_top_srcdir&;t t
26593 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26594 s&@builddir@&$ac_builddir&;t t
26595 s&@abs_builddir@&$ac_abs_builddir&;t t
26596 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26597 s&@INSTALL@&$ac_INSTALL&;t t
26598 s&@MKDIR_P@&$ac_MKDIR_P&;t t
26599 $ac_datarootdir_hack
26601 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
26602 || as_fn_error "could not create $ac_file" "$LINENO" 5
26604 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26605 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
26606 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
26607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26608 which seems to be undefined. Please make sure it is defined." >&5
26609 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26610 which seems to be undefined. Please make sure it is defined." >&2;}
26612 rm -f "$tmp/stdin"
26613 case $ac_file in
26614 -) cat "$tmp/out" && rm -f "$tmp/out";;
26615 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26616 esac \
26617 || as_fn_error "could not create $ac_file" "$LINENO" 5
26621 # CONFIG_HEADER
26623 if test x"$ac_file" != x-; then
26625 $as_echo "/* $configure_input */" \
26626 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26627 } >"$tmp/config.h" \
26628 || as_fn_error "could not create $ac_file" "$LINENO" 5
26629 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26630 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26631 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26632 else
26633 rm -f "$ac_file"
26634 mv "$tmp/config.h" "$ac_file" \
26635 || as_fn_error "could not create $ac_file" "$LINENO" 5
26637 else
26638 $as_echo "/* $configure_input */" \
26639 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26640 || as_fn_error "could not create -" "$LINENO" 5
26642 # Compute "$ac_file"'s index in $config_headers.
26643 _am_arg="$ac_file"
26644 _am_stamp_count=1
26645 for _am_header in $config_headers :; do
26646 case $_am_header in
26647 $_am_arg | $_am_arg:* )
26648 break ;;
26650 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
26651 esac
26652 done
26653 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26654 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26655 X"$_am_arg" : 'X\(//\)[^/]' \| \
26656 X"$_am_arg" : 'X\(//\)$' \| \
26657 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26658 $as_echo X"$_am_arg" |
26659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26660 s//\1/
26663 /^X\(\/\/\)[^/].*/{
26664 s//\1/
26667 /^X\(\/\/\)$/{
26668 s//\1/
26671 /^X\(\/\).*/{
26672 s//\1/
26675 s/.*/./; q'`/stamp-h$_am_stamp_count
26678 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26679 $as_echo "$as_me: executing $ac_file commands" >&6;}
26681 esac
26684 case $ac_file$ac_mode in
26685 "default-1":C)
26686 # Only add multilib support code if we just rebuilt the top-level
26687 # Makefile.
26688 case " $CONFIG_FILES " in
26689 *" Makefile "*)
26690 ac_file=Makefile . ${multi_basedir}/config-ml.in
26692 esac ;;
26693 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
26694 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26695 # are listed without --file. Let's play safe and only enable the eval
26696 # if we detect the quoting.
26697 case $CONFIG_FILES in
26698 *\'*) eval set x "$CONFIG_FILES" ;;
26699 *) set x $CONFIG_FILES ;;
26700 esac
26701 shift
26702 for mf
26704 # Strip MF so we end up with the name of the file.
26705 mf=`echo "$mf" | sed -e 's/:.*$//'`
26706 # Check whether this is an Automake generated Makefile or not.
26707 # We used to match only the files named `Makefile.in', but
26708 # some people rename them; so instead we look at the file content.
26709 # Grep'ing the first line is not enough: some people post-process
26710 # each Makefile.in and add a new line on top of each file to say so.
26711 # Grep'ing the whole file is not good either: AIX grep has a line
26712 # limit of 2048, but all sed's we know have understand at least 4000.
26713 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
26714 dirpart=`$as_dirname -- "$mf" ||
26715 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26716 X"$mf" : 'X\(//\)[^/]' \| \
26717 X"$mf" : 'X\(//\)$' \| \
26718 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26719 $as_echo X"$mf" |
26720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26721 s//\1/
26724 /^X\(\/\/\)[^/].*/{
26725 s//\1/
26728 /^X\(\/\/\)$/{
26729 s//\1/
26732 /^X\(\/\).*/{
26733 s//\1/
26736 s/.*/./; q'`
26737 else
26738 continue
26740 # Extract the definition of DEPDIR, am__include, and am__quote
26741 # from the Makefile without running `make'.
26742 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
26743 test -z "$DEPDIR" && continue
26744 am__include=`sed -n 's/^am__include = //p' < "$mf"`
26745 test -z "am__include" && continue
26746 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
26747 # When using ansi2knr, U may be empty or an underscore; expand it
26748 U=`sed -n 's/^U = //p' < "$mf"`
26749 # Find all dependency output files, they are included files with
26750 # $(DEPDIR) in their names. We invoke sed twice because it is the
26751 # simplest approach to changing $(DEPDIR) to its actual value in the
26752 # expansion.
26753 for file in `sed -n "
26754 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26755 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26756 # Make sure the directory exists.
26757 test -f "$dirpart/$file" && continue
26758 fdir=`$as_dirname -- "$file" ||
26759 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26760 X"$file" : 'X\(//\)[^/]' \| \
26761 X"$file" : 'X\(//\)$' \| \
26762 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26763 $as_echo X"$file" |
26764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26765 s//\1/
26768 /^X\(\/\/\)[^/].*/{
26769 s//\1/
26772 /^X\(\/\/\)$/{
26773 s//\1/
26776 /^X\(\/\).*/{
26777 s//\1/
26780 s/.*/./; q'`
26781 as_dir=$dirpart/$fdir; as_fn_mkdir_p
26782 # echo "creating $dirpart/$file"
26783 echo '# dummy' > "$dirpart/$file"
26784 done
26785 done
26788 "libtool":C)
26790 # See if we are running on zsh, and set the options which allow our
26791 # commands through without removal of \ escapes.
26792 if test -n "${ZSH_VERSION+set}" ; then
26793 setopt NO_GLOB_SUBST
26796 cfgfile="${ofile}T"
26797 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26798 $RM "$cfgfile"
26800 cat <<_LT_EOF >> "$cfgfile"
26801 #! $SHELL
26803 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26804 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26805 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26806 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26808 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26809 # 2006, 2007, 2008 Free Software Foundation, Inc.
26810 # Written by Gordon Matzigkeit, 1996
26812 # This file is part of GNU Libtool.
26814 # GNU Libtool is free software; you can redistribute it and/or
26815 # modify it under the terms of the GNU General Public License as
26816 # published by the Free Software Foundation; either version 2 of
26817 # the License, or (at your option) any later version.
26819 # As a special exception to the GNU General Public License,
26820 # if you distribute this file as part of a program or library that
26821 # is built using GNU Libtool, you may include this file under the
26822 # same distribution terms that you use for the rest of that program.
26824 # GNU Libtool is distributed in the hope that it will be useful,
26825 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26826 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26827 # GNU General Public License for more details.
26829 # You should have received a copy of the GNU General Public License
26830 # along with GNU Libtool; see the file COPYING. If not, a copy
26831 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26832 # obtained by writing to the Free Software Foundation, Inc.,
26833 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26836 # The names of the tagged configurations supported by this script.
26837 available_tags="FC "
26839 # ### BEGIN LIBTOOL CONFIG
26841 # Which release of libtool.m4 was used?
26842 macro_version=$macro_version
26843 macro_revision=$macro_revision
26845 # Whether or not to build shared libraries.
26846 build_libtool_libs=$enable_shared
26848 # Whether or not to build static libraries.
26849 build_old_libs=$enable_static
26851 # What type of objects to build.
26852 pic_mode=$pic_mode
26854 # Whether or not to optimize for fast installation.
26855 fast_install=$enable_fast_install
26857 # The host system.
26858 host_alias=$host_alias
26859 host=$host
26860 host_os=$host_os
26862 # The build system.
26863 build_alias=$build_alias
26864 build=$build
26865 build_os=$build_os
26867 # A sed program that does not truncate output.
26868 SED=$lt_SED
26870 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26871 Xsed="\$SED -e 1s/^X//"
26873 # A grep program that handles long lines.
26874 GREP=$lt_GREP
26876 # An ERE matcher.
26877 EGREP=$lt_EGREP
26879 # A literal string matcher.
26880 FGREP=$lt_FGREP
26882 # A BSD- or MS-compatible name lister.
26883 NM=$lt_NM
26885 # Whether we need soft or hard links.
26886 LN_S=$lt_LN_S
26888 # What is the maximum length of a command?
26889 max_cmd_len=$max_cmd_len
26891 # Object file suffix (normally "o").
26892 objext=$ac_objext
26894 # Executable file suffix (normally "").
26895 exeext=$exeext
26897 # whether the shell understands "unset".
26898 lt_unset=$lt_unset
26900 # turn spaces into newlines.
26901 SP2NL=$lt_lt_SP2NL
26903 # turn newlines into spaces.
26904 NL2SP=$lt_lt_NL2SP
26906 # How to create reloadable object files.
26907 reload_flag=$lt_reload_flag
26908 reload_cmds=$lt_reload_cmds
26910 # An object symbol dumper.
26911 OBJDUMP=$lt_OBJDUMP
26913 # Method to check whether dependent libraries are shared objects.
26914 deplibs_check_method=$lt_deplibs_check_method
26916 # Command to use when deplibs_check_method == "file_magic".
26917 file_magic_cmd=$lt_file_magic_cmd
26919 # The archiver.
26920 AR=$lt_AR
26921 AR_FLAGS=$lt_AR_FLAGS
26923 # A symbol stripping program.
26924 STRIP=$lt_STRIP
26926 # Commands used to install an old-style archive.
26927 RANLIB=$lt_RANLIB
26928 old_postinstall_cmds=$lt_old_postinstall_cmds
26929 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26931 # A C compiler.
26932 LTCC=$lt_CC
26934 # LTCC compiler flags.
26935 LTCFLAGS=$lt_CFLAGS
26937 # Take the output of nm and produce a listing of raw symbols and C names.
26938 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26940 # Transform the output of nm in a proper C declaration.
26941 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26943 # Transform the output of nm in a C name address pair.
26944 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26946 # Transform the output of nm in a C name address pair when lib prefix is needed.
26947 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26949 # The name of the directory that contains temporary libtool files.
26950 objdir=$objdir
26952 # Shell to use when invoking shell scripts.
26953 SHELL=$lt_SHELL
26955 # An echo program that does not interpret backslashes.
26956 ECHO=$lt_ECHO
26958 # Used to examine libraries when file_magic_cmd begins with "file".
26959 MAGIC_CMD=$MAGIC_CMD
26961 # Must we lock files when doing compilation?
26962 need_locks=$lt_need_locks
26964 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26965 DSYMUTIL=$lt_DSYMUTIL
26967 # Tool to change global to local symbols on Mac OS X.
26968 NMEDIT=$lt_NMEDIT
26970 # Tool to manipulate fat objects and archives on Mac OS X.
26971 LIPO=$lt_LIPO
26973 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26974 OTOOL=$lt_OTOOL
26976 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26977 OTOOL64=$lt_OTOOL64
26979 # Old archive suffix (normally "a").
26980 libext=$libext
26982 # Shared library suffix (normally ".so").
26983 shrext_cmds=$lt_shrext_cmds
26985 # The commands to extract the exported symbol list from a shared archive.
26986 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26988 # Variables whose values should be saved in libtool wrapper scripts and
26989 # restored at link time.
26990 variables_saved_for_relink=$lt_variables_saved_for_relink
26992 # Do we need the "lib" prefix for modules?
26993 need_lib_prefix=$need_lib_prefix
26995 # Do we need a version for libraries?
26996 need_version=$need_version
26998 # Library versioning type.
26999 version_type=$version_type
27001 # Shared library runtime path variable.
27002 runpath_var=$runpath_var
27004 # Shared library path variable.
27005 shlibpath_var=$shlibpath_var
27007 # Is shlibpath searched before the hard-coded library search path?
27008 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27010 # Format of library name prefix.
27011 libname_spec=$lt_libname_spec
27013 # List of archive names. First name is the real one, the rest are links.
27014 # The last name is the one that the linker finds with -lNAME
27015 library_names_spec=$lt_library_names_spec
27017 # The coded name of the library, if different from the real name.
27018 soname_spec=$lt_soname_spec
27020 # Command to use after installation of a shared archive.
27021 postinstall_cmds=$lt_postinstall_cmds
27023 # Command to use after uninstallation of a shared archive.
27024 postuninstall_cmds=$lt_postuninstall_cmds
27026 # Commands used to finish a libtool library installation in a directory.
27027 finish_cmds=$lt_finish_cmds
27029 # As "finish_cmds", except a single script fragment to be evaled but
27030 # not shown.
27031 finish_eval=$lt_finish_eval
27033 # Whether we should hardcode library paths into libraries.
27034 hardcode_into_libs=$hardcode_into_libs
27036 # Compile-time system search path for libraries.
27037 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27039 # Run-time system search path for libraries.
27040 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27042 # Whether dlopen is supported.
27043 dlopen_support=$enable_dlopen
27045 # Whether dlopen of programs is supported.
27046 dlopen_self=$enable_dlopen_self
27048 # Whether dlopen of statically linked programs is supported.
27049 dlopen_self_static=$enable_dlopen_self_static
27051 # Commands to strip libraries.
27052 old_striplib=$lt_old_striplib
27053 striplib=$lt_striplib
27056 # The linker used to build libraries.
27057 LD=$lt_LD
27059 # Commands used to build an old-style archive.
27060 old_archive_cmds=$lt_old_archive_cmds
27062 # A language specific compiler.
27063 CC=$lt_compiler
27065 # Is the compiler the GNU compiler?
27066 with_gcc=$GCC
27068 # Compiler flag to turn off builtin functions.
27069 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27071 # How to pass a linker flag through the compiler.
27072 wl=$lt_lt_prog_compiler_wl
27074 # Additional compiler flags for building library objects.
27075 pic_flag=$lt_lt_prog_compiler_pic
27077 # Compiler flag to prevent dynamic linking.
27078 link_static_flag=$lt_lt_prog_compiler_static
27080 # Does compiler simultaneously support -c and -o options?
27081 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27083 # Whether or not to add -lc for building shared libraries.
27084 build_libtool_need_lc=$archive_cmds_need_lc
27086 # Whether or not to disallow shared libs when runtime libs are static.
27087 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27089 # Compiler flag to allow reflexive dlopens.
27090 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27092 # Compiler flag to generate shared objects directly from archives.
27093 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27095 # Whether the compiler copes with passing no objects directly.
27096 compiler_needs_object=$lt_compiler_needs_object
27098 # Create an old-style archive from a shared archive.
27099 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27101 # Create a temporary old-style archive to link instead of a shared archive.
27102 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27104 # Commands used to build a shared archive.
27105 archive_cmds=$lt_archive_cmds
27106 archive_expsym_cmds=$lt_archive_expsym_cmds
27108 # Commands used to build a loadable module if different from building
27109 # a shared archive.
27110 module_cmds=$lt_module_cmds
27111 module_expsym_cmds=$lt_module_expsym_cmds
27113 # Whether we are building with GNU ld or not.
27114 with_gnu_ld=$lt_with_gnu_ld
27116 # Flag that allows shared libraries with undefined symbols to be built.
27117 allow_undefined_flag=$lt_allow_undefined_flag
27119 # Flag that enforces no undefined symbols.
27120 no_undefined_flag=$lt_no_undefined_flag
27122 # Flag to hardcode \$libdir into a binary during linking.
27123 # This must work even if \$libdir does not exist
27124 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27126 # If ld is used when linking, flag to hardcode \$libdir into a binary
27127 # during linking. This must work even if \$libdir does not exist.
27128 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27130 # Whether we need a single "-rpath" flag with a separated argument.
27131 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27133 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27134 # DIR into the resulting binary.
27135 hardcode_direct=$hardcode_direct
27137 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27138 # DIR into the resulting binary and the resulting library dependency is
27139 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27140 # library is relocated.
27141 hardcode_direct_absolute=$hardcode_direct_absolute
27143 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27144 # into the resulting binary.
27145 hardcode_minus_L=$hardcode_minus_L
27147 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27148 # into the resulting binary.
27149 hardcode_shlibpath_var=$hardcode_shlibpath_var
27151 # Set to "yes" if building a shared library automatically hardcodes DIR
27152 # into the library and all subsequent libraries and executables linked
27153 # against it.
27154 hardcode_automatic=$hardcode_automatic
27156 # Set to yes if linker adds runtime paths of dependent libraries
27157 # to runtime path list.
27158 inherit_rpath=$inherit_rpath
27160 # Whether libtool must link a program against all its dependency libraries.
27161 link_all_deplibs=$link_all_deplibs
27163 # Fix the shell variable \$srcfile for the compiler.
27164 fix_srcfile_path=$lt_fix_srcfile_path
27166 # Set to "yes" if exported symbols are required.
27167 always_export_symbols=$always_export_symbols
27169 # The commands to list exported symbols.
27170 export_symbols_cmds=$lt_export_symbols_cmds
27172 # Symbols that should not be listed in the preloaded symbols.
27173 exclude_expsyms=$lt_exclude_expsyms
27175 # Symbols that must always be exported.
27176 include_expsyms=$lt_include_expsyms
27178 # Commands necessary for linking programs (against libraries) with templates.
27179 prelink_cmds=$lt_prelink_cmds
27181 # Specify filename containing input files.
27182 file_list_spec=$lt_file_list_spec
27184 # How to hardcode a shared library path into an executable.
27185 hardcode_action=$hardcode_action
27187 # The directories searched by this compiler when creating a shared library.
27188 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27190 # Dependencies to place before and after the objects being linked to
27191 # create a shared library.
27192 predep_objects=$lt_predep_objects
27193 postdep_objects=$lt_postdep_objects
27194 predeps=$lt_predeps
27195 postdeps=$lt_postdeps
27197 # The library search path used internally by the compiler when linking
27198 # a shared library.
27199 compiler_lib_search_path=$lt_compiler_lib_search_path
27201 # ### END LIBTOOL CONFIG
27203 _LT_EOF
27205 case $host_os in
27206 aix3*)
27207 cat <<\_LT_EOF >> "$cfgfile"
27208 # AIX sometimes has problems with the GCC collect2 program. For some
27209 # reason, if we set the COLLECT_NAMES environment variable, the problems
27210 # vanish in a puff of smoke.
27211 if test "X${COLLECT_NAMES+set}" != Xset; then
27212 COLLECT_NAMES=
27213 export COLLECT_NAMES
27215 _LT_EOF
27217 esac
27220 ltmain="$ac_aux_dir/ltmain.sh"
27223 # We use sed instead of cat because bash on DJGPP gets confused if
27224 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27225 # text mode, it properly converts lines to CR/LF. This bash problem
27226 # is reportedly fixed, but why not run on old versions too?
27227 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27228 || (rm -f "$cfgfile"; exit 1)
27230 case $xsi_shell in
27231 yes)
27232 cat << \_LT_EOF >> "$cfgfile"
27234 # func_dirname file append nondir_replacement
27235 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27236 # otherwise set result to NONDIR_REPLACEMENT.
27237 func_dirname ()
27239 case ${1} in
27240 */*) func_dirname_result="${1%/*}${2}" ;;
27241 * ) func_dirname_result="${3}" ;;
27242 esac
27245 # func_basename file
27246 func_basename ()
27248 func_basename_result="${1##*/}"
27251 # func_dirname_and_basename file append nondir_replacement
27252 # perform func_basename and func_dirname in a single function
27253 # call:
27254 # dirname: Compute the dirname of FILE. If nonempty,
27255 # add APPEND to the result, otherwise set result
27256 # to NONDIR_REPLACEMENT.
27257 # value returned in "$func_dirname_result"
27258 # basename: Compute filename of FILE.
27259 # value retuned in "$func_basename_result"
27260 # Implementation must be kept synchronized with func_dirname
27261 # and func_basename. For efficiency, we do not delegate to
27262 # those functions but instead duplicate the functionality here.
27263 func_dirname_and_basename ()
27265 case ${1} in
27266 */*) func_dirname_result="${1%/*}${2}" ;;
27267 * ) func_dirname_result="${3}" ;;
27268 esac
27269 func_basename_result="${1##*/}"
27272 # func_stripname prefix suffix name
27273 # strip PREFIX and SUFFIX off of NAME.
27274 # PREFIX and SUFFIX must not contain globbing or regex special
27275 # characters, hashes, percent signs, but SUFFIX may contain a leading
27276 # dot (in which case that matches only a dot).
27277 func_stripname ()
27279 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27280 # positional parameters, so assign one to ordinary parameter first.
27281 func_stripname_result=${3}
27282 func_stripname_result=${func_stripname_result#"${1}"}
27283 func_stripname_result=${func_stripname_result%"${2}"}
27286 # func_opt_split
27287 func_opt_split ()
27289 func_opt_split_opt=${1%%=*}
27290 func_opt_split_arg=${1#*=}
27293 # func_lo2o object
27294 func_lo2o ()
27296 case ${1} in
27297 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
27298 *) func_lo2o_result=${1} ;;
27299 esac
27302 # func_xform libobj-or-source
27303 func_xform ()
27305 func_xform_result=${1%.*}.lo
27308 # func_arith arithmetic-term...
27309 func_arith ()
27311 func_arith_result=$(( $* ))
27314 # func_len string
27315 # STRING may not start with a hyphen.
27316 func_len ()
27318 func_len_result=${#1}
27321 _LT_EOF
27323 *) # Bourne compatible functions.
27324 cat << \_LT_EOF >> "$cfgfile"
27326 # func_dirname file append nondir_replacement
27327 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27328 # otherwise set result to NONDIR_REPLACEMENT.
27329 func_dirname ()
27331 # Extract subdirectory from the argument.
27332 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
27333 if test "X$func_dirname_result" = "X${1}"; then
27334 func_dirname_result="${3}"
27335 else
27336 func_dirname_result="$func_dirname_result${2}"
27340 # func_basename file
27341 func_basename ()
27343 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
27347 # func_stripname prefix suffix name
27348 # strip PREFIX and SUFFIX off of NAME.
27349 # PREFIX and SUFFIX must not contain globbing or regex special
27350 # characters, hashes, percent signs, but SUFFIX may contain a leading
27351 # dot (in which case that matches only a dot).
27352 # func_strip_suffix prefix name
27353 func_stripname ()
27355 case ${2} in
27356 .*) func_stripname_result=`$ECHO "X${3}" \
27357 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
27358 *) func_stripname_result=`$ECHO "X${3}" \
27359 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
27360 esac
27363 # sed scripts:
27364 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
27365 my_sed_long_arg='1s/^-[^=]*=//'
27367 # func_opt_split
27368 func_opt_split ()
27370 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
27371 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
27374 # func_lo2o object
27375 func_lo2o ()
27377 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
27380 # func_xform libobj-or-source
27381 func_xform ()
27383 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
27386 # func_arith arithmetic-term...
27387 func_arith ()
27389 func_arith_result=`expr "$@"`
27392 # func_len string
27393 # STRING may not start with a hyphen.
27394 func_len ()
27396 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27399 _LT_EOF
27400 esac
27402 case $lt_shell_append in
27403 yes)
27404 cat << \_LT_EOF >> "$cfgfile"
27406 # func_append var value
27407 # Append VALUE to the end of shell variable VAR.
27408 func_append ()
27410 eval "$1+=\$2"
27412 _LT_EOF
27415 cat << \_LT_EOF >> "$cfgfile"
27417 # func_append var value
27418 # Append VALUE to the end of shell variable VAR.
27419 func_append ()
27421 eval "$1=\$$1\$2"
27424 _LT_EOF
27426 esac
27429 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27430 || (rm -f "$cfgfile"; exit 1)
27432 mv -f "$cfgfile" "$ofile" ||
27433 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27434 chmod +x "$ofile"
27437 cat <<_LT_EOF >> "$ofile"
27439 # ### BEGIN LIBTOOL TAG CONFIG: FC
27441 # The linker used to build libraries.
27442 LD=$lt_LD_FC
27444 # Commands used to build an old-style archive.
27445 old_archive_cmds=$lt_old_archive_cmds_FC
27447 # A language specific compiler.
27448 CC=$lt_compiler_FC
27450 # Is the compiler the GNU compiler?
27451 with_gcc=$GCC_FC
27453 # Compiler flag to turn off builtin functions.
27454 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
27456 # How to pass a linker flag through the compiler.
27457 wl=$lt_lt_prog_compiler_wl_FC
27459 # Additional compiler flags for building library objects.
27460 pic_flag=$lt_lt_prog_compiler_pic_FC
27462 # Compiler flag to prevent dynamic linking.
27463 link_static_flag=$lt_lt_prog_compiler_static_FC
27465 # Does compiler simultaneously support -c and -o options?
27466 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
27468 # Whether or not to add -lc for building shared libraries.
27469 build_libtool_need_lc=$archive_cmds_need_lc_FC
27471 # Whether or not to disallow shared libs when runtime libs are static.
27472 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
27474 # Compiler flag to allow reflexive dlopens.
27475 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
27477 # Compiler flag to generate shared objects directly from archives.
27478 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
27480 # Whether the compiler copes with passing no objects directly.
27481 compiler_needs_object=$lt_compiler_needs_object_FC
27483 # Create an old-style archive from a shared archive.
27484 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
27486 # Create a temporary old-style archive to link instead of a shared archive.
27487 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
27489 # Commands used to build a shared archive.
27490 archive_cmds=$lt_archive_cmds_FC
27491 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
27493 # Commands used to build a loadable module if different from building
27494 # a shared archive.
27495 module_cmds=$lt_module_cmds_FC
27496 module_expsym_cmds=$lt_module_expsym_cmds_FC
27498 # Whether we are building with GNU ld or not.
27499 with_gnu_ld=$lt_with_gnu_ld_FC
27501 # Flag that allows shared libraries with undefined symbols to be built.
27502 allow_undefined_flag=$lt_allow_undefined_flag_FC
27504 # Flag that enforces no undefined symbols.
27505 no_undefined_flag=$lt_no_undefined_flag_FC
27507 # Flag to hardcode \$libdir into a binary during linking.
27508 # This must work even if \$libdir does not exist
27509 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
27511 # If ld is used when linking, flag to hardcode \$libdir into a binary
27512 # during linking. This must work even if \$libdir does not exist.
27513 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
27515 # Whether we need a single "-rpath" flag with a separated argument.
27516 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
27518 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27519 # DIR into the resulting binary.
27520 hardcode_direct=$hardcode_direct_FC
27522 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27523 # DIR into the resulting binary and the resulting library dependency is
27524 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27525 # library is relocated.
27526 hardcode_direct_absolute=$hardcode_direct_absolute_FC
27528 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27529 # into the resulting binary.
27530 hardcode_minus_L=$hardcode_minus_L_FC
27532 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27533 # into the resulting binary.
27534 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
27536 # Set to "yes" if building a shared library automatically hardcodes DIR
27537 # into the library and all subsequent libraries and executables linked
27538 # against it.
27539 hardcode_automatic=$hardcode_automatic_FC
27541 # Set to yes if linker adds runtime paths of dependent libraries
27542 # to runtime path list.
27543 inherit_rpath=$inherit_rpath_FC
27545 # Whether libtool must link a program against all its dependency libraries.
27546 link_all_deplibs=$link_all_deplibs_FC
27548 # Fix the shell variable \$srcfile for the compiler.
27549 fix_srcfile_path=$lt_fix_srcfile_path_FC
27551 # Set to "yes" if exported symbols are required.
27552 always_export_symbols=$always_export_symbols_FC
27554 # The commands to list exported symbols.
27555 export_symbols_cmds=$lt_export_symbols_cmds_FC
27557 # Symbols that should not be listed in the preloaded symbols.
27558 exclude_expsyms=$lt_exclude_expsyms_FC
27560 # Symbols that must always be exported.
27561 include_expsyms=$lt_include_expsyms_FC
27563 # Commands necessary for linking programs (against libraries) with templates.
27564 prelink_cmds=$lt_prelink_cmds_FC
27566 # Specify filename containing input files.
27567 file_list_spec=$lt_file_list_spec_FC
27569 # How to hardcode a shared library path into an executable.
27570 hardcode_action=$hardcode_action_FC
27572 # The directories searched by this compiler when creating a shared library.
27573 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
27575 # Dependencies to place before and after the objects being linked to
27576 # create a shared library.
27577 predep_objects=$lt_predep_objects_FC
27578 postdep_objects=$lt_postdep_objects_FC
27579 predeps=$lt_predeps_FC
27580 postdeps=$lt_postdeps_FC
27582 # The library search path used internally by the compiler when linking
27583 # a shared library.
27584 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
27586 # ### END LIBTOOL TAG CONFIG: FC
27587 _LT_EOF
27590 "gstdint.h":C)
27591 if test "$GCC" = yes; then
27592 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
27593 else
27594 echo "/* generated for $CC */" > tmp-stdint.h
27597 sed 's/^ *//' >> tmp-stdint.h <<EOF
27599 #ifndef GCC_GENERATED_STDINT_H
27600 #define GCC_GENERATED_STDINT_H 1
27602 #include <sys/types.h>
27605 if test "$acx_cv_header_stdint" != stdint.h; then
27606 echo "#include <stddef.h>" >> tmp-stdint.h
27608 if test "$acx_cv_header_stdint" != stddef.h; then
27609 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
27612 sed 's/^ *//' >> tmp-stdint.h <<EOF
27613 /* glibc uses these symbols as guards to prevent redefinitions. */
27614 #ifdef __int8_t_defined
27615 #define _INT8_T
27616 #define _INT16_T
27617 #define _INT32_T
27618 #endif
27619 #ifdef __uint32_t_defined
27620 #define _UINT32_T
27621 #endif
27625 # ----------------- done header, emit basic int types -------------
27626 if test "$acx_cv_header_stdint" = stddef.h; then
27627 sed 's/^ *//' >> tmp-stdint.h <<EOF
27629 #ifndef _UINT8_T
27630 #define _UINT8_T
27631 #ifndef __uint8_t_defined
27632 #define __uint8_t_defined
27633 typedef unsigned $acx_cv_type_int8_t uint8_t;
27634 #endif
27635 #endif
27637 #ifndef _UINT16_T
27638 #define _UINT16_T
27639 #ifndef __uint16_t_defined
27640 #define __uint16_t_defined
27641 typedef unsigned $acx_cv_type_int16_t uint16_t;
27642 #endif
27643 #endif
27645 #ifndef _UINT32_T
27646 #define _UINT32_T
27647 #ifndef __uint32_t_defined
27648 #define __uint32_t_defined
27649 typedef unsigned $acx_cv_type_int32_t uint32_t;
27650 #endif
27651 #endif
27653 #ifndef _INT8_T
27654 #define _INT8_T
27655 #ifndef __int8_t_defined
27656 #define __int8_t_defined
27657 typedef $acx_cv_type_int8_t int8_t;
27658 #endif
27659 #endif
27661 #ifndef _INT16_T
27662 #define _INT16_T
27663 #ifndef __int16_t_defined
27664 #define __int16_t_defined
27665 typedef $acx_cv_type_int16_t int16_t;
27666 #endif
27667 #endif
27669 #ifndef _INT32_T
27670 #define _INT32_T
27671 #ifndef __int32_t_defined
27672 #define __int32_t_defined
27673 typedef $acx_cv_type_int32_t int32_t;
27674 #endif
27675 #endif
27677 elif test "$ac_cv_type_u_int32_t" = yes; then
27678 sed 's/^ *//' >> tmp-stdint.h <<EOF
27680 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
27681 #ifndef _INT8_T
27682 #define _INT8_T
27683 #endif
27684 #ifndef _INT16_T
27685 #define _INT16_T
27686 #endif
27687 #ifndef _INT32_T
27688 #define _INT32_T
27689 #endif
27691 #ifndef _UINT8_T
27692 #define _UINT8_T
27693 #ifndef __uint8_t_defined
27694 #define __uint8_t_defined
27695 typedef u_int8_t uint8_t;
27696 #endif
27697 #endif
27699 #ifndef _UINT16_T
27700 #define _UINT16_T
27701 #ifndef __uint16_t_defined
27702 #define __uint16_t_defined
27703 typedef u_int16_t uint16_t;
27704 #endif
27705 #endif
27707 #ifndef _UINT32_T
27708 #define _UINT32_T
27709 #ifndef __uint32_t_defined
27710 #define __uint32_t_defined
27711 typedef u_int32_t uint32_t;
27712 #endif
27713 #endif
27715 else
27716 sed 's/^ *//' >> tmp-stdint.h <<EOF
27718 /* Some systems have guard macros to prevent redefinitions, define them. */
27719 #ifndef _INT8_T
27720 #define _INT8_T
27721 #endif
27722 #ifndef _INT16_T
27723 #define _INT16_T
27724 #endif
27725 #ifndef _INT32_T
27726 #define _INT32_T
27727 #endif
27728 #ifndef _UINT8_T
27729 #define _UINT8_T
27730 #endif
27731 #ifndef _UINT16_T
27732 #define _UINT16_T
27733 #endif
27734 #ifndef _UINT32_T
27735 #define _UINT32_T
27736 #endif
27740 # ------------- done basic int types, emit int64_t types ------------
27741 if test "$ac_cv_type_uint64_t" = yes; then
27742 sed 's/^ *//' >> tmp-stdint.h <<EOF
27744 /* system headers have good uint64_t and int64_t */
27745 #ifndef _INT64_T
27746 #define _INT64_T
27747 #endif
27748 #ifndef _UINT64_T
27749 #define _UINT64_T
27750 #endif
27752 elif test "$ac_cv_type_u_int64_t" = yes; then
27753 sed 's/^ *//' >> tmp-stdint.h <<EOF
27755 /* system headers have an u_int64_t (and int64_t) */
27756 #ifndef _INT64_T
27757 #define _INT64_T
27758 #endif
27759 #ifndef _UINT64_T
27760 #define _UINT64_T
27761 #ifndef __uint64_t_defined
27762 #define __uint64_t_defined
27763 typedef u_int64_t uint64_t;
27764 #endif
27765 #endif
27767 elif test -n "$acx_cv_type_int64_t"; then
27768 sed 's/^ *//' >> tmp-stdint.h <<EOF
27770 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
27771 #ifndef _INT64_T
27772 #define _INT64_T
27773 typedef $acx_cv_type_int64_t int64_t;
27774 #endif
27775 #ifndef _UINT64_T
27776 #define _UINT64_T
27777 #ifndef __uint64_t_defined
27778 #define __uint64_t_defined
27779 typedef unsigned $acx_cv_type_int64_t uint64_t;
27780 #endif
27781 #endif
27783 else
27784 sed 's/^ *//' >> tmp-stdint.h <<EOF
27786 /* some common heuristics for int64_t, using compiler-specific tests */
27787 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
27788 #ifndef _INT64_T
27789 #define _INT64_T
27790 #ifndef __int64_t_defined
27791 typedef long long int64_t;
27792 #endif
27793 #endif
27794 #ifndef _UINT64_T
27795 #define _UINT64_T
27796 typedef unsigned long long uint64_t;
27797 #endif
27799 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
27800 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
27801 does not implement __extension__. But that compiler doesn't define
27802 __GNUC_MINOR__. */
27803 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
27804 # define __extension__
27805 # endif
27807 # ifndef _INT64_T
27808 # define _INT64_T
27809 __extension__ typedef long long int64_t;
27810 # endif
27811 # ifndef _UINT64_T
27812 # define _UINT64_T
27813 __extension__ typedef unsigned long long uint64_t;
27814 # endif
27816 #elif !defined __STRICT_ANSI__
27817 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
27819 # ifndef _INT64_T
27820 # define _INT64_T
27821 typedef __int64 int64_t;
27822 # endif
27823 # ifndef _UINT64_T
27824 # define _UINT64_T
27825 typedef unsigned __int64 uint64_t;
27826 # endif
27827 # endif /* compiler */
27829 #endif /* ANSI version */
27833 # ------------- done int64_t types, emit intptr types ------------
27834 if test "$ac_cv_type_uintptr_t" != yes; then
27835 sed 's/^ *//' >> tmp-stdint.h <<EOF
27837 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
27838 #ifndef __uintptr_t_defined
27839 typedef u$acx_cv_type_intptr_t uintptr_t;
27840 #endif
27841 #ifndef __intptr_t_defined
27842 typedef $acx_cv_type_intptr_t intptr_t;
27843 #endif
27847 # ------------- done intptr types, emit int_least types ------------
27848 if test "$ac_cv_type_int_least32_t" != yes; then
27849 sed 's/^ *//' >> tmp-stdint.h <<EOF
27851 /* Define int_least types */
27852 typedef int8_t int_least8_t;
27853 typedef int16_t int_least16_t;
27854 typedef int32_t int_least32_t;
27855 #ifdef _INT64_T
27856 typedef int64_t int_least64_t;
27857 #endif
27859 typedef uint8_t uint_least8_t;
27860 typedef uint16_t uint_least16_t;
27861 typedef uint32_t uint_least32_t;
27862 #ifdef _UINT64_T
27863 typedef uint64_t uint_least64_t;
27864 #endif
27868 # ------------- done intptr types, emit int_fast types ------------
27869 if test "$ac_cv_type_int_fast32_t" != yes; then
27870 sed 's/^ *//' >> tmp-stdint.h <<EOF
27872 /* Define int_fast types. short is often slow */
27873 typedef int8_t int_fast8_t;
27874 typedef int int_fast16_t;
27875 typedef int32_t int_fast32_t;
27876 #ifdef _INT64_T
27877 typedef int64_t int_fast64_t;
27878 #endif
27880 typedef uint8_t uint_fast8_t;
27881 typedef unsigned int uint_fast16_t;
27882 typedef uint32_t uint_fast32_t;
27883 #ifdef _UINT64_T
27884 typedef uint64_t uint_fast64_t;
27885 #endif
27889 if test "$ac_cv_type_uintmax_t" != yes; then
27890 sed 's/^ *//' >> tmp-stdint.h <<EOF
27892 /* Define intmax based on what we found */
27893 #ifdef _INT64_T
27894 typedef int64_t intmax_t;
27895 #else
27896 typedef long intmax_t;
27897 #endif
27898 #ifdef _UINT64_T
27899 typedef uint64_t uintmax_t;
27900 #else
27901 typedef unsigned long uintmax_t;
27902 #endif
27906 sed 's/^ *//' >> tmp-stdint.h <<EOF
27908 #endif /* GCC_GENERATED_STDINT_H */
27911 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
27912 rm -f tmp-stdint.h
27913 else
27914 mv -f tmp-stdint.h gstdint.h
27919 esac
27920 done # for ac_tag
27923 as_fn_exit 0
27924 _ACEOF
27925 ac_clean_files=$ac_clean_files_save
27927 test $ac_write_fail = 0 ||
27928 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
27931 # configure is writing to config.log, and then calls config.status.
27932 # config.status does its own redirection, appending to config.log.
27933 # Unfortunately, on DOS this fails, as config.log is still kept open
27934 # by configure, so config.status won't be able to write to it; its
27935 # output is simply discarded. So we exec the FD to /dev/null,
27936 # effectively closing config.log, so it can be properly (re)opened and
27937 # appended to by config.status. When coming back to configure, we
27938 # need to make the FD available again.
27939 if test "$no_create" != yes; then
27940 ac_cs_success=:
27941 ac_config_status_args=
27942 test "$silent" = yes &&
27943 ac_config_status_args="$ac_config_status_args --quiet"
27944 exec 5>/dev/null
27945 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
27946 exec 5>>config.log
27947 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27948 # would make configure fail if this is the last instruction.
27949 $ac_cs_success || as_fn_exit $?
27951 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
27952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27953 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}