OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgfortran/] [configure] - Blame information for rev 764

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 733 jeremybenn
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.64 for GNU Fortran Runtime Library 0.3.
4
#
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7
# Foundation, Inc.
8
#
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
## -------------------- ##
12
## M4sh Initialization. ##
13
## -------------------- ##
14
 
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
  emulate sh
19
  NULLCMD=:
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
  # is contrary to our usage.  Disable this feature.
22
  alias -g '${1+"$@"}'='"$@"'
23
  setopt NO_GLOB_SUBST
24
else
25
  case `(set -o) 2>/dev/null` in #(
26
  *posix*) :
27
    set -o posix ;; #(
28
  *) :
29
     ;;
30
esac
31
fi
32
 
33
 
34
as_nl='
35
'
36
export as_nl
37
# Printing a long string crashes Solaris 7 /usr/bin/printf.
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
42
# but without wasting forks for bash or zsh.
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
44
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45
  as_echo='print -r --'
46
  as_echo_n='print -rn --'
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48
  as_echo='printf %s\n'
49
  as_echo_n='printf %s'
50
else
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
    as_echo_n='/usr/ucb/echo -n'
54
  else
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56
    as_echo_n_body='eval
57
      arg=$1;
58
      case $arg in #(
59
      *"$as_nl"*)
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62
      esac;
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64
    '
65
    export as_echo_n_body
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
67
  fi
68
  export as_echo_body
69
  as_echo='sh -c $as_echo_body as_echo'
70
fi
71
 
72
# The user is always right.
73
if test "${PATH_SEPARATOR+set}" != set; then
74
  PATH_SEPARATOR=:
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77
      PATH_SEPARATOR=';'
78
  }
79
fi
80
 
81
 
82
# IFS
83
# We need space, tab and new line, in precisely that order.  Quoting is
84
# there to prevent editors from complaining about space-tab.
85
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86
# splitting by setting IFS to empty value.)
87
IFS=" ""        $as_nl"
88
 
89
# Find who we are.  Look in the path if we contain no directory separator.
90
case $0 in #((
91
  *[\\/]* ) as_myself=$0 ;;
92
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93
for as_dir in $PATH
94
do
95
  IFS=$as_save_IFS
96
  test -z "$as_dir" && as_dir=.
97
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98
  done
99
IFS=$as_save_IFS
100
 
101
     ;;
102
esac
103
# We did not find ourselves, most probably we were run as `sh COMMAND'
104
# in which case we are not to be found in the path.
105
if test "x$as_myself" = x; then
106
  as_myself=$0
107
fi
108
if test ! -f "$as_myself"; then
109
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110
  exit 1
111
fi
112
 
113
# Unset variables that we do not need and which cause bugs (e.g. in
114
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115
# suppresses any "Segmentation fault" message there.  '((' could
116
# trigger a bug in pdksh 5.2.14.
117
for as_var in BASH_ENV ENV MAIL MAILPATH
118
do eval test x\${$as_var+set} = xset \
119
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120
done
121
PS1='$ '
122
PS2='> '
123
PS4='+ '
124
 
125
# NLS nuisances.
126
LC_ALL=C
127
export LC_ALL
128
LANGUAGE=C
129
export LANGUAGE
130
 
131
# CDPATH.
132
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
 
134
if test "x$CONFIG_SHELL" = x; then
135
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136
  emulate sh
137
  NULLCMD=:
138
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139
  # is contrary to our usage.  Disable this feature.
140
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
141
  setopt NO_GLOB_SUBST
142
else
143
  case \`(set -o) 2>/dev/null\` in #(
144
  *posix*) :
145
    set -o posix ;; #(
146
  *) :
147
     ;;
148
esac
149
fi
150
"
151
  as_required="as_fn_return () { (exit \$1); }
152
as_fn_success () { as_fn_return 0; }
153
as_fn_failure () { as_fn_return 1; }
154
as_fn_ret_success () { return 0; }
155
as_fn_ret_failure () { return 1; }
156
 
157
exitcode=0
158
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
 
164
else
165
  exitcode=1; echo positional parameters were not saved.
166
fi
167
test x\$exitcode = x0 || exit 1"
168
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172
test \$(( 1 + 1 )) = 2 || exit 1
173
 
174
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178
    PATH=/empty FPATH=/empty; export PATH FPATH
179
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181
  if (eval "$as_required") 2>/dev/null; then :
182
  as_have_required=yes
183
else
184
  as_have_required=no
185
fi
186
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
 
188
else
189
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190
as_found=false
191
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192
do
193
  IFS=$as_save_IFS
194
  test -z "$as_dir" && as_dir=.
195
  as_found=:
196
  case $as_dir in #(
197
         /*)
198
           for as_base in sh bash ksh sh5; do
199
             # Try only shells that exist, to save several forks.
200
             as_shell=$as_dir/$as_base
201
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203
  CONFIG_SHELL=$as_shell as_have_required=yes
204
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205
  break 2
206
fi
207
fi
208
           done;;
209
       esac
210
  as_found=false
211
done
212
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214
  CONFIG_SHELL=$SHELL as_have_required=yes
215
fi; }
216
IFS=$as_save_IFS
217
 
218
 
219
      if test "x$CONFIG_SHELL" != x; then :
220
  # We cannot yet assume a decent shell, so we have to provide a
221
        # neutralization value for shells without unset; and this also
222
        # works around shells that cannot unset nonexistent variables.
223
        BASH_ENV=/dev/null
224
        ENV=/dev/null
225
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226
        export CONFIG_SHELL
227
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228
fi
229
 
230
    if test x$as_have_required = xno; then :
231
  $as_echo "$0: This script requires a shell more modern than all"
232
  $as_echo "$0: the shells that I found on your system."
233
  if test x${ZSH_VERSION+set} = xset ; then
234
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236
  else
237
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238
$0: including any error possibly output before this
239
$0: message. Then install a modern shell, or manually run
240
$0: the script under such a shell if you do have one."
241
  fi
242
  exit 1
243
fi
244
fi
245
fi
246
SHELL=${CONFIG_SHELL-/bin/sh}
247
export SHELL
248
# Unset more variables known to interfere with behavior of common tools.
249
CLICOLOR_FORCE= GREP_OPTIONS=
250
unset CLICOLOR_FORCE GREP_OPTIONS
251
 
252
## --------------------- ##
253
## M4sh Shell Functions. ##
254
## --------------------- ##
255
# as_fn_unset VAR
256
# ---------------
257
# Portably unset VAR.
258
as_fn_unset ()
259
{
260
  { eval $1=; unset $1;}
261
}
262
as_unset=as_fn_unset
263
 
264
# as_fn_set_status STATUS
265
# -----------------------
266
# Set $? to STATUS, without forking.
267
as_fn_set_status ()
268
{
269
  return $1
270
} # as_fn_set_status
271
 
272
# as_fn_exit STATUS
273
# -----------------
274
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275
as_fn_exit ()
276
{
277
  set +e
278
  as_fn_set_status $1
279
  exit $1
280
} # as_fn_exit
281
 
282
# as_fn_mkdir_p
283
# -------------
284
# Create "$as_dir" as a directory, including parents if necessary.
285
as_fn_mkdir_p ()
286
{
287
 
288
  case $as_dir in #(
289
  -*) as_dir=./$as_dir;;
290
  esac
291
  test -d "$as_dir" || eval $as_mkdir_p || {
292
    as_dirs=
293
    while :; do
294
      case $as_dir in #(
295
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296
      *) as_qdir=$as_dir;;
297
      esac
298
      as_dirs="'$as_qdir' $as_dirs"
299
      as_dir=`$as_dirname -- "$as_dir" ||
300
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301
         X"$as_dir" : 'X\(//\)[^/]' \| \
302
         X"$as_dir" : 'X\(//\)$' \| \
303
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304
$as_echo X"$as_dir" |
305
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306
            s//\1/
307
            q
308
          }
309
          /^X\(\/\/\)[^/].*/{
310
            s//\1/
311
            q
312
          }
313
          /^X\(\/\/\)$/{
314
            s//\1/
315
            q
316
          }
317
          /^X\(\/\).*/{
318
            s//\1/
319
            q
320
          }
321
          s/.*/./; q'`
322
      test -d "$as_dir" && break
323
    done
324
    test -z "$as_dirs" || eval "mkdir $as_dirs"
325
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
 
327
 
328
} # as_fn_mkdir_p
329
# as_fn_append VAR VALUE
330
# ----------------------
331
# Append the text in VALUE to the end of the definition contained in VAR. Take
332
# advantage of any shell optimizations that allow amortized linear growth over
333
# repeated appends, instead of the typical quadratic growth present in naive
334
# implementations.
335
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336
  eval 'as_fn_append ()
337
  {
338
    eval $1+=\$2
339
  }'
340
else
341
  as_fn_append ()
342
  {
343
    eval $1=\$$1\$2
344
  }
345
fi # as_fn_append
346
 
347
# as_fn_arith ARG...
348
# ------------------
349
# Perform arithmetic evaluation on the ARGs, and store the result in the
350
# global $as_val. Take advantage of shells that can avoid forks. The arguments
351
# must be portable across $(()) and expr.
352
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353
  eval 'as_fn_arith ()
354
  {
355
    as_val=$(( $* ))
356
  }'
357
else
358
  as_fn_arith ()
359
  {
360
    as_val=`expr "$@" || test $? -eq 1`
361
  }
362
fi # as_fn_arith
363
 
364
 
365
# as_fn_error ERROR [LINENO LOG_FD]
366
# ---------------------------------
367
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369
# script with status $?, using 1 if that was 0.
370
as_fn_error ()
371
{
372
  as_status=$?; test $as_status -eq 0 && as_status=1
373
  if test "$3"; then
374
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376
  fi
377
  $as_echo "$as_me: error: $1" >&2
378
  as_fn_exit $as_status
379
} # as_fn_error
380
 
381
if expr a : '\(a\)' >/dev/null 2>&1 &&
382
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
383
  as_expr=expr
384
else
385
  as_expr=false
386
fi
387
 
388
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389
  as_basename=basename
390
else
391
  as_basename=false
392
fi
393
 
394
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395
  as_dirname=dirname
396
else
397
  as_dirname=false
398
fi
399
 
400
as_me=`$as_basename -- "$0" ||
401
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402
         X"$0" : 'X\(//\)$' \| \
403
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404
$as_echo X/"$0" |
405
    sed '/^.*\/\([^/][^/]*\)\/*$/{
406
            s//\1/
407
            q
408
          }
409
          /^X\/\(\/\/\)$/{
410
            s//\1/
411
            q
412
          }
413
          /^X\/\(\/\).*/{
414
            s//\1/
415
            q
416
          }
417
          s/.*/./; q'`
418
 
419
# Avoid depending upon Character Ranges.
420
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423
as_cr_digits='0123456789'
424
as_cr_alnum=$as_cr_Letters$as_cr_digits
425
 
426
 
427
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
428
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
429
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
432
  sed -n '
433
    p
434
    /[$]LINENO/=
435
  ' <$as_myself |
436
    sed '
437
      s/[$]LINENO.*/&-/
438
      t lineno
439
      b
440
      :lineno
441
      N
442
      :loop
443
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444
      t loop
445
      s/-\n.*//
446
    ' >$as_me.lineno &&
447
  chmod +x "$as_me.lineno" ||
448
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
 
450
  # Don't try to exec as it changes $[0], causing all sort of problems
451
  # (the dirname of $[0] is not the place where we might find the
452
  # original and so on.  Autoconf is especially sensitive to this).
453
  . "./$as_me.lineno"
454
  # Exit status is that of the last command.
455
  exit
456
}
457
 
458
ECHO_C= ECHO_N= ECHO_T=
459
case `echo -n x` in #(((((
460
-n*)
461
  case `echo 'xy\c'` in
462
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
463
  xy)  ECHO_C='\c';;
464
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
465
       ECHO_T=' ';;
466
  esac;;
467
*)
468
  ECHO_N='-n';;
469
esac
470
 
471
rm -f conf$$ conf$$.exe conf$$.file
472
if test -d conf$$.dir; then
473
  rm -f conf$$.dir/conf$$.file
474
else
475
  rm -f conf$$.dir
476
  mkdir conf$$.dir 2>/dev/null
477
fi
478
if (echo >conf$$.file) 2>/dev/null; then
479
  if ln -s conf$$.file conf$$ 2>/dev/null; then
480
    as_ln_s='ln -s'
481
    # ... but there are two gotchas:
482
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484
    # In both cases, we have to default to `cp -p'.
485
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486
      as_ln_s='cp -p'
487
  elif ln conf$$.file conf$$ 2>/dev/null; then
488
    as_ln_s=ln
489
  else
490
    as_ln_s='cp -p'
491
  fi
492
else
493
  as_ln_s='cp -p'
494
fi
495
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496
rmdir conf$$.dir 2>/dev/null
497
 
498
if mkdir -p . 2>/dev/null; then
499
  as_mkdir_p='mkdir -p "$as_dir"'
500
else
501
  test -d ./-p && rmdir ./-p
502
  as_mkdir_p=false
503
fi
504
 
505
if test -x / >/dev/null 2>&1; then
506
  as_test_x='test -x'
507
else
508
  if ls -dL / >/dev/null 2>&1; then
509
    as_ls_L_option=L
510
  else
511
    as_ls_L_option=
512
  fi
513
  as_test_x='
514
    eval sh -c '\''
515
      if test -d "$1"; then
516
        test -d "$1/.";
517
      else
518
        case $1 in #(
519
        -*)set "./$1";;
520
        esac;
521
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522
        ???[sx]*):;;*)false;;esac;fi
523
    '\'' sh
524
  '
525
fi
526
as_executable_p=$as_test_x
527
 
528
# Sed expression to map a string onto a valid CPP name.
529
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
 
531
# Sed expression to map a string onto a valid variable name.
532
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
 
534
SHELL=${CONFIG_SHELL-/bin/sh}
535
 
536
 
537
exec 7<&0 &1
538
 
539
# Name of the host.
540
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541
# so uname gets run too.
542
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
 
544
#
545
# Initializations.
546
#
547
ac_default_prefix=/usr/local
548
ac_clean_files=
549
ac_config_libobj_dir=.
550
LIBOBJS=
551
cross_compiling=no
552
subdirs=
553
MFLAGS=
554
MAKEFLAGS=
555
 
556
# Identity of this package.
557
PACKAGE_NAME='GNU Fortran Runtime Library'
558
PACKAGE_TARNAME='libgfortran'
559
PACKAGE_VERSION='0.3'
560
PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
561
PACKAGE_BUGREPORT=''
562
PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
563
 
564
# Factoring default headers for most tests.
565
ac_includes_default="\
566
#include 
567
#ifdef HAVE_SYS_TYPES_H
568
# include 
569
#endif
570
#ifdef HAVE_SYS_STAT_H
571
# include 
572
#endif
573
#ifdef STDC_HEADERS
574
# include 
575
# include 
576
#else
577
# ifdef HAVE_STDLIB_H
578
#  include 
579
# endif
580
#endif
581
#ifdef HAVE_STRING_H
582
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
583
#  include 
584
# endif
585
# include 
586
#endif
587
#ifdef HAVE_STRINGS_H
588
# include 
589
#endif
590
#ifdef HAVE_INTTYPES_H
591
# include 
592
#endif
593
#ifdef HAVE_STDINT_H
594
# include 
595
#endif
596
#ifdef HAVE_UNISTD_H
597
# include 
598
#endif"
599
 
600
ac_header_list=
601
ac_func_list=
602
ac_c_werror_flag=
603
ac_subst_vars='am__EXEEXT_FALSE
604
am__EXEEXT_TRUE
605
LTLIBOBJS
606
LIBOBJS
607
IEEE_FLAGS
608
FPU_HOST_HEADER
609
LIBGFOR_BUILD_QUAD_FALSE
610
LIBGFOR_BUILD_QUAD_TRUE
611
LIBQUADINCLUDE
612
LIBQUADLIB_DEP
613
LIBQUADLIB
614
LIBQUADSPEC
615
extra_ldflags_libgfortran
616
ac_ct_FC
617
FCFLAGS
618
FC
619
enable_static
620
enable_shared
621
lt_host_flags
622
OTOOL64
623
OTOOL
624
LIPO
625
NMEDIT
626
DSYMUTIL
627
OBJDUMP
628
LN_S
629
NM
630
ac_ct_DUMPBIN
631
DUMPBIN
632
LD
633
FGREP
634
SED
635
LIBTOOL
636
RANLIB
637
AR
638
AS
639
SECTION_FLAGS
640
LIBGFOR_USE_SYMVER_SUN_FALSE
641
LIBGFOR_USE_SYMVER_SUN_TRUE
642
LIBGFOR_USE_SYMVER_GNU_FALSE
643
LIBGFOR_USE_SYMVER_GNU_TRUE
644
LIBGFOR_USE_SYMVER_FALSE
645
LIBGFOR_USE_SYMVER_TRUE
646
AM_CFLAGS
647
AM_FCFLAGS
648
toolexeclibdir
649
toolexecdir
650
EGREP
651
GREP
652
CPP
653
am__fastdepCC_FALSE
654
am__fastdepCC_TRUE
655
CCDEPMODE
656
AMDEPBACKSLASH
657
AMDEP_FALSE
658
AMDEP_TRUE
659
am__quote
660
am__include
661
DEPDIR
662
OBJEXT
663
EXEEXT
664
ac_ct_CC
665
CPPFLAGS
666
LDFLAGS
667
CFLAGS
668
CC
669
multi_basedir
670
MAINT
671
MAINTAINER_MODE_FALSE
672
MAINTAINER_MODE_TRUE
673
am__untar
674
am__tar
675
AMTAR
676
am__leading_dot
677
SET_MAKE
678
AWK
679
mkdir_p
680
MKDIR_P
681
INSTALL_STRIP_PROGRAM
682
STRIP
683
install_sh
684
MAKEINFO
685
AUTOHEADER
686
AUTOMAKE
687
AUTOCONF
688
ACLOCAL
689
VERSION
690
PACKAGE
691
CYGPATH_W
692
am__isrc
693
INSTALL_DATA
694
INSTALL_SCRIPT
695
INSTALL_PROGRAM
696
target_noncanonical
697
target_os
698
target_vendor
699
target_cpu
700
target
701
host_os
702
host_vendor
703
host_cpu
704
host
705
onestep
706
onestep_FALSE
707
onestep_TRUE
708
target_subdir
709
host_subdir
710
build_subdir
711
build_libsubdir
712
build_os
713
build_vendor
714
build_cpu
715
build
716
target_alias
717
host_alias
718
build_alias
719
LIBS
720
ECHO_T
721
ECHO_N
722
ECHO_C
723
DEFS
724
mandir
725
localedir
726
libdir
727
psdir
728
pdfdir
729
dvidir
730
htmldir
731
infodir
732
docdir
733
oldincludedir
734
includedir
735
localstatedir
736
sharedstatedir
737
sysconfdir
738
datadir
739
datarootdir
740
libexecdir
741
sbindir
742
bindir
743
program_transform_name
744
prefix
745
exec_prefix
746
PACKAGE_URL
747
PACKAGE_BUGREPORT
748
PACKAGE_STRING
749
PACKAGE_VERSION
750
PACKAGE_TARNAME
751
PACKAGE_NAME
752
PATH_SEPARATOR
753
SHELL'
754
ac_subst_files=''
755
ac_user_opts='
756
enable_option_checking
757
with_build_libsubdir
758
enable_version_specific_runtime_libs
759
enable_intermodule
760
enable_maintainer_mode
761
enable_multilib
762
enable_dependency_tracking
763
enable_symvers
764
enable_shared
765
enable_static
766
with_pic
767
enable_fast_install
768
with_gnu_ld
769
enable_libtool_lock
770
enable_largefile
771
enable_libquadmath_support
772
with_system_libunwind
773
'
774
      ac_precious_vars='build_alias
775
host_alias
776
target_alias
777
CC
778
CFLAGS
779
LDFLAGS
780
LIBS
781
CPPFLAGS
782
CPP
783
FC
784
FCFLAGS'
785
 
786
 
787
# Initialize some variables set by options.
788
ac_init_help=
789
ac_init_version=false
790
ac_unrecognized_opts=
791
ac_unrecognized_sep=
792
# The variables have the same names as the options, with
793
# dashes changed to underlines.
794
cache_file=/dev/null
795
exec_prefix=NONE
796
no_create=
797
no_recursion=
798
prefix=NONE
799
program_prefix=NONE
800
program_suffix=NONE
801
program_transform_name=s,x,x,
802
silent=
803
site=
804
srcdir=
805
verbose=
806
x_includes=NONE
807
x_libraries=NONE
808
 
809
# Installation directory options.
810
# These are left unexpanded so users can "make install exec_prefix=/foo"
811
# and all the variables that are supposed to be based on exec_prefix
812
# by default will actually change.
813
# Use braces instead of parens because sh, perl, etc. also accept them.
814
# (The list follows the same order as the GNU Coding Standards.)
815
bindir='${exec_prefix}/bin'
816
sbindir='${exec_prefix}/sbin'
817
libexecdir='${exec_prefix}/libexec'
818
datarootdir='${prefix}/share'
819
datadir='${datarootdir}'
820
sysconfdir='${prefix}/etc'
821
sharedstatedir='${prefix}/com'
822
localstatedir='${prefix}/var'
823
includedir='${prefix}/include'
824
oldincludedir='/usr/include'
825
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
826
infodir='${datarootdir}/info'
827
htmldir='${docdir}'
828
dvidir='${docdir}'
829
pdfdir='${docdir}'
830
psdir='${docdir}'
831
libdir='${exec_prefix}/lib'
832
localedir='${datarootdir}/locale'
833
mandir='${datarootdir}/man'
834
 
835
ac_prev=
836
ac_dashdash=
837
for ac_option
838
do
839
  # If the previous option needs an argument, assign it.
840
  if test -n "$ac_prev"; then
841
    eval $ac_prev=\$ac_option
842
    ac_prev=
843
    continue
844
  fi
845
 
846
  case $ac_option in
847
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
848
  *)    ac_optarg=yes ;;
849
  esac
850
 
851
  # Accept the important Cygnus configure options, so we can diagnose typos.
852
 
853
  case $ac_dashdash$ac_option in
854
  --)
855
    ac_dashdash=yes ;;
856
 
857
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
858
    ac_prev=bindir ;;
859
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
860
    bindir=$ac_optarg ;;
861
 
862
  -build | --build | --buil | --bui | --bu)
863
    ac_prev=build_alias ;;
864
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
865
    build_alias=$ac_optarg ;;
866
 
867
  -cache-file | --cache-file | --cache-fil | --cache-fi \
868
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
869
    ac_prev=cache_file ;;
870
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
871
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
872
    cache_file=$ac_optarg ;;
873
 
874
  --config-cache | -C)
875
    cache_file=config.cache ;;
876
 
877
  -datadir | --datadir | --datadi | --datad)
878
    ac_prev=datadir ;;
879
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
880
    datadir=$ac_optarg ;;
881
 
882
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
883
  | --dataroo | --dataro | --datar)
884
    ac_prev=datarootdir ;;
885
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
886
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
887
    datarootdir=$ac_optarg ;;
888
 
889
  -disable-* | --disable-*)
890
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
891
    # Reject names that are not valid shell variable names.
892
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
893
      as_fn_error "invalid feature name: $ac_useropt"
894
    ac_useropt_orig=$ac_useropt
895
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
896
    case $ac_user_opts in
897
      *"
898
"enable_$ac_useropt"
899
"*) ;;
900
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
901
         ac_unrecognized_sep=', ';;
902
    esac
903
    eval enable_$ac_useropt=no ;;
904
 
905
  -docdir | --docdir | --docdi | --doc | --do)
906
    ac_prev=docdir ;;
907
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
908
    docdir=$ac_optarg ;;
909
 
910
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
911
    ac_prev=dvidir ;;
912
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
913
    dvidir=$ac_optarg ;;
914
 
915
  -enable-* | --enable-*)
916
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917
    # Reject names that are not valid shell variable names.
918
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
919
      as_fn_error "invalid feature name: $ac_useropt"
920
    ac_useropt_orig=$ac_useropt
921
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
922
    case $ac_user_opts in
923
      *"
924
"enable_$ac_useropt"
925
"*) ;;
926
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
927
         ac_unrecognized_sep=', ';;
928
    esac
929
    eval enable_$ac_useropt=\$ac_optarg ;;
930
 
931
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
932
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
933
  | --exec | --exe | --ex)
934
    ac_prev=exec_prefix ;;
935
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
936
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
937
  | --exec=* | --exe=* | --ex=*)
938
    exec_prefix=$ac_optarg ;;
939
 
940
  -gas | --gas | --ga | --g)
941
    # Obsolete; use --with-gas.
942
    with_gas=yes ;;
943
 
944
  -help | --help | --hel | --he | -h)
945
    ac_init_help=long ;;
946
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
947
    ac_init_help=recursive ;;
948
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
949
    ac_init_help=short ;;
950
 
951
  -host | --host | --hos | --ho)
952
    ac_prev=host_alias ;;
953
  -host=* | --host=* | --hos=* | --ho=*)
954
    host_alias=$ac_optarg ;;
955
 
956
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
957
    ac_prev=htmldir ;;
958
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
959
  | --ht=*)
960
    htmldir=$ac_optarg ;;
961
 
962
  -includedir | --includedir | --includedi | --included | --include \
963
  | --includ | --inclu | --incl | --inc)
964
    ac_prev=includedir ;;
965
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
966
  | --includ=* | --inclu=* | --incl=* | --inc=*)
967
    includedir=$ac_optarg ;;
968
 
969
  -infodir | --infodir | --infodi | --infod | --info | --inf)
970
    ac_prev=infodir ;;
971
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
972
    infodir=$ac_optarg ;;
973
 
974
  -libdir | --libdir | --libdi | --libd)
975
    ac_prev=libdir ;;
976
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
977
    libdir=$ac_optarg ;;
978
 
979
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
980
  | --libexe | --libex | --libe)
981
    ac_prev=libexecdir ;;
982
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
983
  | --libexe=* | --libex=* | --libe=*)
984
    libexecdir=$ac_optarg ;;
985
 
986
  -localedir | --localedir | --localedi | --localed | --locale)
987
    ac_prev=localedir ;;
988
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
989
    localedir=$ac_optarg ;;
990
 
991
  -localstatedir | --localstatedir | --localstatedi | --localstated \
992
  | --localstate | --localstat | --localsta | --localst | --locals)
993
    ac_prev=localstatedir ;;
994
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
995
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
996
    localstatedir=$ac_optarg ;;
997
 
998
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
999
    ac_prev=mandir ;;
1000
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1001
    mandir=$ac_optarg ;;
1002
 
1003
  -nfp | --nfp | --nf)
1004
    # Obsolete; use --without-fp.
1005
    with_fp=no ;;
1006
 
1007
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1008
  | --no-cr | --no-c | -n)
1009
    no_create=yes ;;
1010
 
1011
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1012
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1013
    no_recursion=yes ;;
1014
 
1015
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1016
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1017
  | --oldin | --oldi | --old | --ol | --o)
1018
    ac_prev=oldincludedir ;;
1019
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1020
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1021
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1022
    oldincludedir=$ac_optarg ;;
1023
 
1024
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1025
    ac_prev=prefix ;;
1026
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1027
    prefix=$ac_optarg ;;
1028
 
1029
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1030
  | --program-pre | --program-pr | --program-p)
1031
    ac_prev=program_prefix ;;
1032
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1033
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1034
    program_prefix=$ac_optarg ;;
1035
 
1036
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1037
  | --program-suf | --program-su | --program-s)
1038
    ac_prev=program_suffix ;;
1039
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1040
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1041
    program_suffix=$ac_optarg ;;
1042
 
1043
  -program-transform-name | --program-transform-name \
1044
  | --program-transform-nam | --program-transform-na \
1045
  | --program-transform-n | --program-transform- \
1046
  | --program-transform | --program-transfor \
1047
  | --program-transfo | --program-transf \
1048
  | --program-trans | --program-tran \
1049
  | --progr-tra | --program-tr | --program-t)
1050
    ac_prev=program_transform_name ;;
1051
  -program-transform-name=* | --program-transform-name=* \
1052
  | --program-transform-nam=* | --program-transform-na=* \
1053
  | --program-transform-n=* | --program-transform-=* \
1054
  | --program-transform=* | --program-transfor=* \
1055
  | --program-transfo=* | --program-transf=* \
1056
  | --program-trans=* | --program-tran=* \
1057
  | --progr-tra=* | --program-tr=* | --program-t=*)
1058
    program_transform_name=$ac_optarg ;;
1059
 
1060
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1061
    ac_prev=pdfdir ;;
1062
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1063
    pdfdir=$ac_optarg ;;
1064
 
1065
  -psdir | --psdir | --psdi | --psd | --ps)
1066
    ac_prev=psdir ;;
1067
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1068
    psdir=$ac_optarg ;;
1069
 
1070
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1071
  | -silent | --silent | --silen | --sile | --sil)
1072
    silent=yes ;;
1073
 
1074
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1075
    ac_prev=sbindir ;;
1076
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1077
  | --sbi=* | --sb=*)
1078
    sbindir=$ac_optarg ;;
1079
 
1080
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1081
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1082
  | --sharedst | --shareds | --shared | --share | --shar \
1083
  | --sha | --sh)
1084
    ac_prev=sharedstatedir ;;
1085
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1086
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1087
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1088
  | --sha=* | --sh=*)
1089
    sharedstatedir=$ac_optarg ;;
1090
 
1091
  -site | --site | --sit)
1092
    ac_prev=site ;;
1093
  -site=* | --site=* | --sit=*)
1094
    site=$ac_optarg ;;
1095
 
1096
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1097
    ac_prev=srcdir ;;
1098
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1099
    srcdir=$ac_optarg ;;
1100
 
1101
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1102
  | --syscon | --sysco | --sysc | --sys | --sy)
1103
    ac_prev=sysconfdir ;;
1104
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1105
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1106
    sysconfdir=$ac_optarg ;;
1107
 
1108
  -target | --target | --targe | --targ | --tar | --ta | --t)
1109
    ac_prev=target_alias ;;
1110
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1111
    target_alias=$ac_optarg ;;
1112
 
1113
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1114
    verbose=yes ;;
1115
 
1116
  -version | --version | --versio | --versi | --vers | -V)
1117
    ac_init_version=: ;;
1118
 
1119
  -with-* | --with-*)
1120
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1121
    # Reject names that are not valid shell variable names.
1122
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1123
      as_fn_error "invalid package name: $ac_useropt"
1124
    ac_useropt_orig=$ac_useropt
1125
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1126
    case $ac_user_opts in
1127
      *"
1128
"with_$ac_useropt"
1129
"*) ;;
1130
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1131
         ac_unrecognized_sep=', ';;
1132
    esac
1133
    eval with_$ac_useropt=\$ac_optarg ;;
1134
 
1135
  -without-* | --without-*)
1136
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1137
    # Reject names that are not valid shell variable names.
1138
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1139
      as_fn_error "invalid package name: $ac_useropt"
1140
    ac_useropt_orig=$ac_useropt
1141
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142
    case $ac_user_opts in
1143
      *"
1144
"with_$ac_useropt"
1145
"*) ;;
1146
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1147
         ac_unrecognized_sep=', ';;
1148
    esac
1149
    eval with_$ac_useropt=no ;;
1150
 
1151
  --x)
1152
    # Obsolete; use --with-x.
1153
    with_x=yes ;;
1154
 
1155
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1156
  | --x-incl | --x-inc | --x-in | --x-i)
1157
    ac_prev=x_includes ;;
1158
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1159
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1160
    x_includes=$ac_optarg ;;
1161
 
1162
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1163
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1164
    ac_prev=x_libraries ;;
1165
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1166
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1167
    x_libraries=$ac_optarg ;;
1168
 
1169
  -*) as_fn_error "unrecognized option: \`$ac_option'
1170
Try \`$0 --help' for more information."
1171
    ;;
1172
 
1173
  *=*)
1174
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1175
    # Reject names that are not valid shell variable names.
1176
    case $ac_envvar in #(
1177
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1178
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1179
    esac
1180
    eval $ac_envvar=\$ac_optarg
1181
    export $ac_envvar ;;
1182
 
1183
  *)
1184
    # FIXME: should be removed in autoconf 3.0.
1185
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1186
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1187
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1188
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1189
    ;;
1190
 
1191
  esac
1192
done
1193
 
1194
if test -n "$ac_prev"; then
1195
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1196
  as_fn_error "missing argument to $ac_option"
1197
fi
1198
 
1199
if test -n "$ac_unrecognized_opts"; then
1200
  case $enable_option_checking in
1201
    no) ;;
1202
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1203
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1204
  esac
1205
fi
1206
 
1207
# Check all directory arguments for consistency.
1208
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1209
                datadir sysconfdir sharedstatedir localstatedir includedir \
1210
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1211
                libdir localedir mandir
1212
do
1213
  eval ac_val=\$$ac_var
1214
  # Remove trailing slashes.
1215
  case $ac_val in
1216
    */ )
1217
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1218
      eval $ac_var=\$ac_val;;
1219
  esac
1220
  # Be sure to have absolute directory names.
1221
  case $ac_val in
1222
    [\\/$]* | ?:[\\/]* )  continue;;
1223
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1224
  esac
1225
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1226
done
1227
 
1228
# There might be people who depend on the old broken behavior: `$host'
1229
# used to hold the argument of --host etc.
1230
# FIXME: To remove some day.
1231
build=$build_alias
1232
host=$host_alias
1233
target=$target_alias
1234
 
1235
# FIXME: To remove some day.
1236
if test "x$host_alias" != x; then
1237
  if test "x$build_alias" = x; then
1238
    cross_compiling=maybe
1239
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1240
    If a cross compiler is detected then cross compile mode will be used." >&2
1241
  elif test "x$build_alias" != "x$host_alias"; then
1242
    cross_compiling=yes
1243
  fi
1244
fi
1245
 
1246
ac_tool_prefix=
1247
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1248
 
1249
test "$silent" = yes && exec 6>/dev/null
1250
 
1251
 
1252
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1253
ac_ls_di=`ls -di .` &&
1254
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1255
  as_fn_error "working directory cannot be determined"
1256
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1257
  as_fn_error "pwd does not report name of working directory"
1258
 
1259
 
1260
# Find the source files, if location was not specified.
1261
if test -z "$srcdir"; then
1262
  ac_srcdir_defaulted=yes
1263
  # Try the directory containing this script, then the parent directory.
1264
  ac_confdir=`$as_dirname -- "$as_myself" ||
1265
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1266
         X"$as_myself" : 'X\(//\)[^/]' \| \
1267
         X"$as_myself" : 'X\(//\)$' \| \
1268
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1269
$as_echo X"$as_myself" |
1270
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1271
            s//\1/
1272
            q
1273
          }
1274
          /^X\(\/\/\)[^/].*/{
1275
            s//\1/
1276
            q
1277
          }
1278
          /^X\(\/\/\)$/{
1279
            s//\1/
1280
            q
1281
          }
1282
          /^X\(\/\).*/{
1283
            s//\1/
1284
            q
1285
          }
1286
          s/.*/./; q'`
1287
  srcdir=$ac_confdir
1288
  if test ! -r "$srcdir/$ac_unique_file"; then
1289
    srcdir=..
1290
  fi
1291
else
1292
  ac_srcdir_defaulted=no
1293
fi
1294
if test ! -r "$srcdir/$ac_unique_file"; then
1295
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1296
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1297
fi
1298
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1299
ac_abs_confdir=`(
1300
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1301
        pwd)`
1302
# When building in place, set srcdir=.
1303
if test "$ac_abs_confdir" = "$ac_pwd"; then
1304
  srcdir=.
1305
fi
1306
# Remove unnecessary trailing slashes from srcdir.
1307
# Double slashes in file names in object file debugging info
1308
# mess up M-x gdb in Emacs.
1309
case $srcdir in
1310
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1311
esac
1312
for ac_var in $ac_precious_vars; do
1313
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1314
  eval ac_env_${ac_var}_value=\$${ac_var}
1315
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1316
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1317
done
1318
 
1319
#
1320
# Report the --help message.
1321
#
1322
if test "$ac_init_help" = "long"; then
1323
  # Omit some internal or obsolete options to make the list less imposing.
1324
  # This message is too long to be a string in the A/UX 3.1 sh.
1325
  cat <<_ACEOF
1326
\`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1327
 
1328
Usage: $0 [OPTION]... [VAR=VALUE]...
1329
 
1330
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1331
VAR=VALUE.  See below for descriptions of some of the useful variables.
1332
 
1333
Defaults for the options are specified in brackets.
1334
 
1335
Configuration:
1336
  -h, --help              display this help and exit
1337
      --help=short        display options specific to this package
1338
      --help=recursive    display the short help of all the included packages
1339
  -V, --version           display version information and exit
1340
  -q, --quiet, --silent   do not print \`checking...' messages
1341
      --cache-file=FILE   cache test results in FILE [disabled]
1342
  -C, --config-cache      alias for \`--cache-file=config.cache'
1343
  -n, --no-create         do not create output files
1344
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1345
 
1346
Installation directories:
1347
  --prefix=PREFIX         install architecture-independent files in PREFIX
1348
                          [$ac_default_prefix]
1349
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1350
                          [PREFIX]
1351
 
1352
By default, \`make install' will install all the files in
1353
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1354
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1355
for instance \`--prefix=\$HOME'.
1356
 
1357
For better control, use the options below.
1358
 
1359
Fine tuning of the installation directories:
1360
  --bindir=DIR            user executables [EPREFIX/bin]
1361
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1362
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1363
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1364
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1365
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1366
  --libdir=DIR            object code libraries [EPREFIX/lib]
1367
  --includedir=DIR        C header files [PREFIX/include]
1368
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1369
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1370
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1371
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1372
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1373
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1374
  --docdir=DIR            documentation root [DATAROOTDIR/doc/libgfortran]
1375
  --htmldir=DIR           html documentation [DOCDIR]
1376
  --dvidir=DIR            dvi documentation [DOCDIR]
1377
  --pdfdir=DIR            pdf documentation [DOCDIR]
1378
  --psdir=DIR             ps documentation [DOCDIR]
1379
_ACEOF
1380
 
1381
  cat <<\_ACEOF
1382
 
1383
Program names:
1384
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1385
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1386
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1387
 
1388
System types:
1389
  --build=BUILD     configure for building on BUILD [guessed]
1390
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1391
  --target=TARGET   configure for building compilers for TARGET [HOST]
1392
_ACEOF
1393
fi
1394
 
1395
if test -n "$ac_init_help"; then
1396
  case $ac_init_help in
1397
     short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1398
   esac
1399
  cat <<\_ACEOF
1400
 
1401
Optional Features:
1402
  --disable-option-checking  ignore unrecognized --enable/--with options
1403
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1404
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1405
  --enable-version-specific-runtime-libs
1406
                          specify that runtime libraries should be installed
1407
                          in a compiler-specific directory
1408
  --enable-intermodule    build the library in one step
1409
  --enable-maintainer-mode  enable make rules and dependencies not useful
1410
                          (and sometimes confusing) to the casual installer
1411
  --enable-multilib       build many library versions (default)
1412
  --disable-dependency-tracking  speeds up one-time build
1413
  --enable-dependency-tracking   do not reject slow dependency extractors
1414
  --disable-symvers       disable symbol versioning for libgfortran
1415
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1416
  --enable-static[=PKGS]  build static libraries [default=yes]
1417
  --enable-fast-install[=PKGS]
1418
                          optimize for fast installation [default=yes]
1419
  --disable-libtool-lock  avoid locking (might break parallel builds)
1420
  --disable-largefile     omit support for large files
1421
  --disable-libquadmath-support
1422
                          disable libquadmath support for Fortran
1423
 
1424
Optional Packages:
1425
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1426
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1427
  --with-build-libsubdir=DIR  Directory where to find libraries for build system
1428
  --with-pic              try to use only PIC/non-PIC objects [default=use
1429
                          both]
1430
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1431
  --with-system-libunwind use installed libunwind
1432
 
1433
Some influential environment variables:
1434
  CC          C compiler command
1435
  CFLAGS      C compiler flags
1436
  LDFLAGS     linker flags, e.g. -L if you have libraries in a
1437
              nonstandard directory 
1438
  LIBS        libraries to pass to the linker, e.g. -l
1439
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I if
1440
              you have headers in a nonstandard directory 
1441
  CPP         C preprocessor
1442
  FC          Fortran compiler command
1443
  FCFLAGS     Fortran compiler flags
1444
 
1445
Use these variables to override the choices made by `configure' or to help
1446
it to find libraries and programs with nonstandard names/locations.
1447
 
1448
Report bugs to the package provider.
1449
GNU Fortran Runtime Library home page: .
1450
General help using GNU software: .
1451
_ACEOF
1452
ac_status=$?
1453
fi
1454
 
1455
if test "$ac_init_help" = "recursive"; then
1456
  # If there are subdirs, report their specific --help.
1457
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1458
    test -d "$ac_dir" ||
1459
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1460
      continue
1461
    ac_builddir=.
1462
 
1463
case "$ac_dir" in
1464
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465
*)
1466
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1467
  # A ".." for each directory in $ac_dir_suffix.
1468
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1469
  case $ac_top_builddir_sub in
1470
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1471
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1472
  esac ;;
1473
esac
1474
ac_abs_top_builddir=$ac_pwd
1475
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1476
# for backward compatibility:
1477
ac_top_builddir=$ac_top_build_prefix
1478
 
1479
case $srcdir in
1480
  .)  # We are building in place.
1481
    ac_srcdir=.
1482
    ac_top_srcdir=$ac_top_builddir_sub
1483
    ac_abs_top_srcdir=$ac_pwd ;;
1484
  [\\/]* | ?:[\\/]* )  # Absolute name.
1485
    ac_srcdir=$srcdir$ac_dir_suffix;
1486
    ac_top_srcdir=$srcdir
1487
    ac_abs_top_srcdir=$srcdir ;;
1488
  *) # Relative name.
1489
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1490
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1491
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1492
esac
1493
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1494
 
1495
    cd "$ac_dir" || { ac_status=$?; continue; }
1496
    # Check for guested configure.
1497
    if test -f "$ac_srcdir/configure.gnu"; then
1498
      echo &&
1499
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1500
    elif test -f "$ac_srcdir/configure"; then
1501
      echo &&
1502
      $SHELL "$ac_srcdir/configure" --help=recursive
1503
    else
1504
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1505
    fi || ac_status=$?
1506
    cd "$ac_pwd" || { ac_status=$?; break; }
1507
  done
1508
fi
1509
 
1510
test -n "$ac_init_help" && exit $ac_status
1511
if $ac_init_version; then
1512
  cat <<\_ACEOF
1513
GNU Fortran Runtime Library configure 0.3
1514
generated by GNU Autoconf 2.64
1515
 
1516
Copyright (C) 2009 Free Software Foundation, Inc.
1517
This configure script is free software; the Free Software Foundation
1518
gives unlimited permission to copy, distribute and modify it.
1519
_ACEOF
1520
  exit
1521
fi
1522
 
1523
## ------------------------ ##
1524
## Autoconf initialization. ##
1525
## ------------------------ ##
1526
 
1527
# ac_fn_c_try_compile LINENO
1528
# --------------------------
1529
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1530
ac_fn_c_try_compile ()
1531
{
1532
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1533
  rm -f conftest.$ac_objext
1534
  if { { ac_try="$ac_compile"
1535
case "(($ac_try" in
1536
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1537
  *) ac_try_echo=$ac_try;;
1538
esac
1539
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1540
$as_echo "$ac_try_echo"; } >&5
1541
  (eval "$ac_compile") 2>conftest.err
1542
  ac_status=$?
1543
  if test -s conftest.err; then
1544
    grep -v '^ *+' conftest.err >conftest.er1
1545
    cat conftest.er1 >&5
1546
    mv -f conftest.er1 conftest.err
1547
  fi
1548
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1549
  test $ac_status = 0; } && {
1550
         test -z "$ac_c_werror_flag" ||
1551
         test ! -s conftest.err
1552
       } && test -s conftest.$ac_objext; then :
1553
  ac_retval=0
1554
else
1555
  $as_echo "$as_me: failed program was:" >&5
1556
sed 's/^/| /' conftest.$ac_ext >&5
1557
 
1558
        ac_retval=1
1559
fi
1560
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1561
  return $ac_retval
1562
 
1563
} # ac_fn_c_try_compile
1564
 
1565
# ac_fn_c_try_cpp LINENO
1566
# ----------------------
1567
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1568
ac_fn_c_try_cpp ()
1569
{
1570
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1572
case "(($ac_try" in
1573
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1574
  *) ac_try_echo=$ac_try;;
1575
esac
1576
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577
$as_echo "$ac_try_echo"; } >&5
1578
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1579
  ac_status=$?
1580
  if test -s conftest.err; then
1581
    grep -v '^ *+' conftest.err >conftest.er1
1582
    cat conftest.er1 >&5
1583
    mv -f conftest.er1 conftest.err
1584
  fi
1585
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1586
  test $ac_status = 0; } >/dev/null && {
1587
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1588
         test ! -s conftest.err
1589
       }; then :
1590
  ac_retval=0
1591
else
1592
  $as_echo "$as_me: failed program was:" >&5
1593
sed 's/^/| /' conftest.$ac_ext >&5
1594
 
1595
    ac_retval=1
1596
fi
1597
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1598
  return $ac_retval
1599
 
1600
} # ac_fn_c_try_cpp
1601
 
1602
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1603
# -------------------------------------------------------
1604
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1605
# the include files in INCLUDES and setting the cache variable VAR
1606
# accordingly.
1607
ac_fn_c_check_header_mongrel ()
1608
{
1609
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1611
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1612
$as_echo_n "checking for $2... " >&6; }
1613
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1614
  $as_echo_n "(cached) " >&6
1615
fi
1616
eval ac_res=\$$3
1617
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1618
$as_echo "$ac_res" >&6; }
1619
else
1620
  # Is the header compilable?
1621
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1622
$as_echo_n "checking $2 usability... " >&6; }
1623
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1624
/* end confdefs.h.  */
1625
$4
1626
#include <$2>
1627
_ACEOF
1628
if ac_fn_c_try_compile "$LINENO"; then :
1629
  ac_header_compiler=yes
1630
else
1631
  ac_header_compiler=no
1632
fi
1633
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1635
$as_echo "$ac_header_compiler" >&6; }
1636
 
1637
# Is the header present?
1638
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1639
$as_echo_n "checking $2 presence... " >&6; }
1640
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1641
/* end confdefs.h.  */
1642
#include <$2>
1643
_ACEOF
1644
if ac_fn_c_try_cpp "$LINENO"; then :
1645
  ac_header_preproc=yes
1646
else
1647
  ac_header_preproc=no
1648
fi
1649
rm -f conftest.err conftest.$ac_ext
1650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1651
$as_echo "$ac_header_preproc" >&6; }
1652
 
1653
# So?  What about this header?
1654
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1655
  yes:no: )
1656
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1657
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1658
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1659
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1660
    ;;
1661
  no:yes:* )
1662
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1663
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1664
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1665
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1666
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1667
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1668
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1669
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1670
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1671
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1672
    ;;
1673
esac
1674
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1675
$as_echo_n "checking for $2... " >&6; }
1676
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1677
  $as_echo_n "(cached) " >&6
1678
else
1679
  eval "$3=\$ac_header_compiler"
1680
fi
1681
eval ac_res=\$$3
1682
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683
$as_echo "$ac_res" >&6; }
1684
fi
1685
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1686
 
1687
} # ac_fn_c_check_header_mongrel
1688
 
1689
# ac_fn_c_try_run LINENO
1690
# ----------------------
1691
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1692
# that executables *can* be run.
1693
ac_fn_c_try_run ()
1694
{
1695
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696
  if { { ac_try="$ac_link"
1697
case "(($ac_try" in
1698
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1699
  *) ac_try_echo=$ac_try;;
1700
esac
1701
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702
$as_echo "$ac_try_echo"; } >&5
1703
  (eval "$ac_link") 2>&5
1704
  ac_status=$?
1705
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1707
  { { case "(($ac_try" in
1708
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1709
  *) ac_try_echo=$ac_try;;
1710
esac
1711
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712
$as_echo "$ac_try_echo"; } >&5
1713
  (eval "$ac_try") 2>&5
1714
  ac_status=$?
1715
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716
  test $ac_status = 0; }; }; then :
1717
  ac_retval=0
1718
else
1719
  $as_echo "$as_me: program exited with status $ac_status" >&5
1720
       $as_echo "$as_me: failed program was:" >&5
1721
sed 's/^/| /' conftest.$ac_ext >&5
1722
 
1723
       ac_retval=$ac_status
1724
fi
1725
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1726
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1727
  return $ac_retval
1728
 
1729
} # ac_fn_c_try_run
1730
 
1731
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1732
# -------------------------------------------------------
1733
# Tests whether HEADER exists and can be compiled using the include files in
1734
# INCLUDES, setting the cache variable VAR accordingly.
1735
ac_fn_c_check_header_compile ()
1736
{
1737
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739
$as_echo_n "checking for $2... " >&6; }
1740
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1741
  $as_echo_n "(cached) " >&6
1742
else
1743
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744
/* end confdefs.h.  */
1745
$4
1746
#include <$2>
1747
_ACEOF
1748
if ac_fn_c_try_compile "$LINENO"; then :
1749
  eval "$3=yes"
1750
else
1751
  eval "$3=no"
1752
fi
1753
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1754
fi
1755
eval ac_res=\$$3
1756
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1757
$as_echo "$ac_res" >&6; }
1758
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1759
 
1760
} # ac_fn_c_check_header_compile
1761
 
1762
# ac_fn_c_try_link LINENO
1763
# -----------------------
1764
# Try to link conftest.$ac_ext, and return whether this succeeded.
1765
ac_fn_c_try_link ()
1766
{
1767
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768
  rm -f conftest.$ac_objext conftest$ac_exeext
1769
  if { { ac_try="$ac_link"
1770
case "(($ac_try" in
1771
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772
  *) ac_try_echo=$ac_try;;
1773
esac
1774
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775
$as_echo "$ac_try_echo"; } >&5
1776
  (eval "$ac_link") 2>conftest.err
1777
  ac_status=$?
1778
  if test -s conftest.err; then
1779
    grep -v '^ *+' conftest.err >conftest.er1
1780
    cat conftest.er1 >&5
1781
    mv -f conftest.er1 conftest.err
1782
  fi
1783
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784
  test $ac_status = 0; } && {
1785
         test -z "$ac_c_werror_flag" ||
1786
         test ! -s conftest.err
1787
       } && test -s conftest$ac_exeext && {
1788
         test "$cross_compiling" = yes ||
1789
         $as_test_x conftest$ac_exeext
1790
       }; then :
1791
  ac_retval=0
1792
else
1793
  $as_echo "$as_me: failed program was:" >&5
1794
sed 's/^/| /' conftest.$ac_ext >&5
1795
 
1796
        ac_retval=1
1797
fi
1798
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1799
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1800
  # interfere with the next link command; also delete a directory that is
1801
  # left behind by Apple's compiler.  We do this before executing the actions.
1802
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1803
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1804
  return $ac_retval
1805
 
1806
} # ac_fn_c_try_link
1807
 
1808
# ac_fn_c_check_func LINENO FUNC VAR
1809
# ----------------------------------
1810
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1811
ac_fn_c_check_func ()
1812
{
1813
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815
$as_echo_n "checking for $2... " >&6; }
1816
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1817
  $as_echo_n "(cached) " >&6
1818
else
1819
  if test x$gcc_no_link = xyes; then
1820
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1821
fi
1822
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1823
/* end confdefs.h.  */
1824
/* Define $2 to an innocuous variant, in case  declares $2.
1825
   For example, HP-UX 11i  declares gettimeofday.  */
1826
#define $2 innocuous_$2
1827
 
1828
/* System header to define __stub macros and hopefully few prototypes,
1829
    which can conflict with char $2 (); below.
1830
    Prefer  to  if __STDC__ is defined, since
1831
     exists even on freestanding compilers.  */
1832
 
1833
#ifdef __STDC__
1834
# include 
1835
#else
1836
# include 
1837
#endif
1838
 
1839
#undef $2
1840
 
1841
/* Override any GCC internal prototype to avoid an error.
1842
   Use char because int might match the return type of a GCC
1843
   builtin and then its argument prototype would still apply.  */
1844
#ifdef __cplusplus
1845
extern "C"
1846
#endif
1847
char $2 ();
1848
/* The GNU C library defines this for functions which it implements
1849
    to always fail with ENOSYS.  Some functions are actually named
1850
    something starting with __ and the normal name is an alias.  */
1851
#if defined __stub_$2 || defined __stub___$2
1852
choke me
1853
#endif
1854
 
1855
int
1856
main ()
1857
{
1858
return $2 ();
1859
  ;
1860
  return 0;
1861
}
1862
_ACEOF
1863
if ac_fn_c_try_link "$LINENO"; then :
1864
  eval "$3=yes"
1865
else
1866
  eval "$3=no"
1867
fi
1868
rm -f core conftest.err conftest.$ac_objext \
1869
    conftest$ac_exeext conftest.$ac_ext
1870
fi
1871
eval ac_res=\$$3
1872
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1873
$as_echo "$ac_res" >&6; }
1874
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1875
 
1876
} # ac_fn_c_check_func
1877
 
1878
# ac_fn_fc_try_compile LINENO
1879
# ---------------------------
1880
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1881
ac_fn_fc_try_compile ()
1882
{
1883
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1884
  rm -f conftest.$ac_objext
1885
  if { { ac_try="$ac_compile"
1886
case "(($ac_try" in
1887
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1888
  *) ac_try_echo=$ac_try;;
1889
esac
1890
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1891
$as_echo "$ac_try_echo"; } >&5
1892
  (eval "$ac_compile") 2>conftest.err
1893
  ac_status=$?
1894
  if test -s conftest.err; then
1895
    grep -v '^ *+' conftest.err >conftest.er1
1896
    cat conftest.er1 >&5
1897
    mv -f conftest.er1 conftest.err
1898
  fi
1899
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1900
  test $ac_status = 0; } && {
1901
         test -z "$ac_fc_werror_flag" ||
1902
         test ! -s conftest.err
1903
       } && test -s conftest.$ac_objext; then :
1904
  ac_retval=0
1905
else
1906
  $as_echo "$as_me: failed program was:" >&5
1907
sed 's/^/| /' conftest.$ac_ext >&5
1908
 
1909
        ac_retval=1
1910
fi
1911
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1912
  return $ac_retval
1913
 
1914
} # ac_fn_fc_try_compile
1915
 
1916
# ac_fn_fc_try_link LINENO
1917
# ------------------------
1918
# Try to link conftest.$ac_ext, and return whether this succeeded.
1919
ac_fn_fc_try_link ()
1920
{
1921
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922
  rm -f conftest.$ac_objext conftest$ac_exeext
1923
  if { { ac_try="$ac_link"
1924
case "(($ac_try" in
1925
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1926
  *) ac_try_echo=$ac_try;;
1927
esac
1928
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1929
$as_echo "$ac_try_echo"; } >&5
1930
  (eval "$ac_link") 2>conftest.err
1931
  ac_status=$?
1932
  if test -s conftest.err; then
1933
    grep -v '^ *+' conftest.err >conftest.er1
1934
    cat conftest.er1 >&5
1935
    mv -f conftest.er1 conftest.err
1936
  fi
1937
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1938
  test $ac_status = 0; } && {
1939
         test -z "$ac_fc_werror_flag" ||
1940
         test ! -s conftest.err
1941
       } && test -s conftest$ac_exeext && {
1942
         test "$cross_compiling" = yes ||
1943
         $as_test_x conftest$ac_exeext
1944
       }; then :
1945
  ac_retval=0
1946
else
1947
  $as_echo "$as_me: failed program was:" >&5
1948
sed 's/^/| /' conftest.$ac_ext >&5
1949
 
1950
        ac_retval=1
1951
fi
1952
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1953
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1954
  # interfere with the next link command; also delete a directory that is
1955
  # left behind by Apple's compiler.  We do this before executing the actions.
1956
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1957
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1958
  return $ac_retval
1959
 
1960
} # ac_fn_fc_try_link
1961
 
1962
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1963
# -------------------------------------------
1964
# Tests whether TYPE exists after having included INCLUDES, setting cache
1965
# variable VAR accordingly.
1966
ac_fn_c_check_type ()
1967
{
1968
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1969
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1970
$as_echo_n "checking for $2... " >&6; }
1971
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1972
  $as_echo_n "(cached) " >&6
1973
else
1974
  eval "$3=no"
1975
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1976
/* end confdefs.h.  */
1977
$4
1978
int
1979
main ()
1980
{
1981
if (sizeof ($2))
1982
         return 0;
1983
  ;
1984
  return 0;
1985
}
1986
_ACEOF
1987
if ac_fn_c_try_compile "$LINENO"; then :
1988
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1989
/* end confdefs.h.  */
1990
$4
1991
int
1992
main ()
1993
{
1994
if (sizeof (($2)))
1995
            return 0;
1996
  ;
1997
  return 0;
1998
}
1999
_ACEOF
2000
if ac_fn_c_try_compile "$LINENO"; then :
2001
 
2002
else
2003
  eval "$3=yes"
2004
fi
2005
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2006
fi
2007
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2008
fi
2009
eval ac_res=\$$3
2010
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011
$as_echo "$ac_res" >&6; }
2012
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2013
 
2014
} # ac_fn_c_check_type
2015
 
2016
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2017
# --------------------------------------------
2018
# Tries to find the compile-time value of EXPR in a program that includes
2019
# INCLUDES, setting VAR accordingly. Returns whether the value could be
2020
# computed
2021
ac_fn_c_compute_int ()
2022
{
2023
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2024
  if test "$cross_compiling" = yes; then
2025
    # Depending upon the size, compute the lo and hi bounds.
2026
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027
/* end confdefs.h.  */
2028
$4
2029
int
2030
main ()
2031
{
2032
static int test_array [1 - 2 * !(($2) >= 0)];
2033
test_array [0] = 0
2034
 
2035
  ;
2036
  return 0;
2037
}
2038
_ACEOF
2039
if ac_fn_c_try_compile "$LINENO"; then :
2040
  ac_lo=0 ac_mid=0
2041
  while :; do
2042
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2043
/* end confdefs.h.  */
2044
$4
2045
int
2046
main ()
2047
{
2048
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2049
test_array [0] = 0
2050
 
2051
  ;
2052
  return 0;
2053
}
2054
_ACEOF
2055
if ac_fn_c_try_compile "$LINENO"; then :
2056
  ac_hi=$ac_mid; break
2057
else
2058
  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2059
                        if test $ac_lo -le $ac_mid; then
2060
                          ac_lo= ac_hi=
2061
                          break
2062
                        fi
2063
                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2064
fi
2065
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2066
  done
2067
else
2068
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2069
/* end confdefs.h.  */
2070
$4
2071
int
2072
main ()
2073
{
2074
static int test_array [1 - 2 * !(($2) < 0)];
2075
test_array [0] = 0
2076
 
2077
  ;
2078
  return 0;
2079
}
2080
_ACEOF
2081
if ac_fn_c_try_compile "$LINENO"; then :
2082
  ac_hi=-1 ac_mid=-1
2083
  while :; do
2084
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2085
/* end confdefs.h.  */
2086
$4
2087
int
2088
main ()
2089
{
2090
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2091
test_array [0] = 0
2092
 
2093
  ;
2094
  return 0;
2095
}
2096
_ACEOF
2097
if ac_fn_c_try_compile "$LINENO"; then :
2098
  ac_lo=$ac_mid; break
2099
else
2100
  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2101
                        if test $ac_mid -le $ac_hi; then
2102
                          ac_lo= ac_hi=
2103
                          break
2104
                        fi
2105
                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2106
fi
2107
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108
  done
2109
else
2110
  ac_lo= ac_hi=
2111
fi
2112
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2113
fi
2114
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115
# Binary search between lo and hi bounds.
2116
while test "x$ac_lo" != "x$ac_hi"; do
2117
  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2118
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119
/* end confdefs.h.  */
2120
$4
2121
int
2122
main ()
2123
{
2124
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2125
test_array [0] = 0
2126
 
2127
  ;
2128
  return 0;
2129
}
2130
_ACEOF
2131
if ac_fn_c_try_compile "$LINENO"; then :
2132
  ac_hi=$ac_mid
2133
else
2134
  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2135
fi
2136
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2137
done
2138
case $ac_lo in #((
2139
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2140
'') ac_retval=1 ;;
2141
esac
2142
  else
2143
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2144
/* end confdefs.h.  */
2145
$4
2146
static long int longval () { return $2; }
2147
static unsigned long int ulongval () { return $2; }
2148
#include 
2149
#include 
2150
int
2151
main ()
2152
{
2153
 
2154
  FILE *f = fopen ("conftest.val", "w");
2155
  if (! f)
2156
    return 1;
2157
  if (($2) < 0)
2158
    {
2159
      long int i = longval ();
2160
      if (i != ($2))
2161
        return 1;
2162
      fprintf (f, "%ld", i);
2163
    }
2164
  else
2165
    {
2166
      unsigned long int i = ulongval ();
2167
      if (i != ($2))
2168
        return 1;
2169
      fprintf (f, "%lu", i);
2170
    }
2171
  /* Do not output a trailing newline, as this causes \r\n confusion
2172
     on some platforms.  */
2173
  return ferror (f) || fclose (f) != 0;
2174
 
2175
  ;
2176
  return 0;
2177
}
2178
_ACEOF
2179
if ac_fn_c_try_run "$LINENO"; then :
2180
  echo >>conftest.val; read $3 
2181
else
2182
  ac_retval=1
2183
fi
2184
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2185
  conftest.$ac_objext conftest.beam conftest.$ac_ext
2186
rm -f conftest.val
2187
 
2188
  fi
2189
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2190
  return $ac_retval
2191
 
2192
} # ac_fn_c_compute_int
2193
 
2194
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2195
# ----------------------------------------------------
2196
# Tries to find if the field MEMBER exists in type AGGR, after including
2197
# INCLUDES, setting cache variable VAR accordingly.
2198
ac_fn_c_check_member ()
2199
{
2200
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2201
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2202
$as_echo_n "checking for $2.$3... " >&6; }
2203
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2204
  $as_echo_n "(cached) " >&6
2205
else
2206
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2207
/* end confdefs.h.  */
2208
$5
2209
int
2210
main ()
2211
{
2212
static $2 ac_aggr;
2213
if (ac_aggr.$3)
2214
return 0;
2215
  ;
2216
  return 0;
2217
}
2218
_ACEOF
2219
if ac_fn_c_try_compile "$LINENO"; then :
2220
  eval "$4=yes"
2221
else
2222
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2223
/* end confdefs.h.  */
2224
$5
2225
int
2226
main ()
2227
{
2228
static $2 ac_aggr;
2229
if (sizeof ac_aggr.$3)
2230
return 0;
2231
  ;
2232
  return 0;
2233
}
2234
_ACEOF
2235
if ac_fn_c_try_compile "$LINENO"; then :
2236
  eval "$4=yes"
2237
else
2238
  eval "$4=no"
2239
fi
2240
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2241
fi
2242
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2243
fi
2244
eval ac_res=\$$4
2245
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2246
$as_echo "$ac_res" >&6; }
2247
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2248
 
2249
} # ac_fn_c_check_member
2250
cat >config.log <<_ACEOF
2251
This file contains any messages produced by compilers while
2252
running configure, to aid debugging if configure makes a mistake.
2253
 
2254
It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2255
generated by GNU Autoconf 2.64.  Invocation command line was
2256
 
2257
  $ $0 $@
2258
 
2259
_ACEOF
2260
exec 5>>config.log
2261
{
2262
cat <<_ASUNAME
2263
## --------- ##
2264
## Platform. ##
2265
## --------- ##
2266
 
2267
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2268
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2269
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2270
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2271
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2272
 
2273
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2274
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2275
 
2276
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2277
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2278
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2279
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2280
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2281
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2282
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2283
 
2284
_ASUNAME
2285
 
2286
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2287
for as_dir in $PATH
2288
do
2289
  IFS=$as_save_IFS
2290
  test -z "$as_dir" && as_dir=.
2291
    $as_echo "PATH: $as_dir"
2292
  done
2293
IFS=$as_save_IFS
2294
 
2295
} >&5
2296
 
2297
cat >&5 <<_ACEOF
2298
 
2299
 
2300
## ----------- ##
2301
## Core tests. ##
2302
## ----------- ##
2303
 
2304
_ACEOF
2305
 
2306
 
2307
# Keep a trace of the command line.
2308
# Strip out --no-create and --no-recursion so they do not pile up.
2309
# Strip out --silent because we don't want to record it for future runs.
2310
# Also quote any args containing shell meta-characters.
2311
# Make two passes to allow for proper duplicate-argument suppression.
2312
ac_configure_args=
2313
ac_configure_args0=
2314
ac_configure_args1=
2315
ac_must_keep_next=false
2316
for ac_pass in 1 2
2317
do
2318
  for ac_arg
2319
  do
2320
    case $ac_arg in
2321
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2322
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2323
    | -silent | --silent | --silen | --sile | --sil)
2324
      continue ;;
2325
    *\'*)
2326
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2327
    esac
2328
    case $ac_pass in
2329
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2330
    2)
2331
      as_fn_append ac_configure_args1 " '$ac_arg'"
2332
      if test $ac_must_keep_next = true; then
2333
        ac_must_keep_next=false # Got value, back to normal.
2334
      else
2335
        case $ac_arg in
2336
          *=* | --config-cache | -C | -disable-* | --disable-* \
2337
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2338
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2339
          | -with-* | --with-* | -without-* | --without-* | --x)
2340
            case "$ac_configure_args0 " in
2341
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2342
            esac
2343
            ;;
2344
          -* ) ac_must_keep_next=true ;;
2345
        esac
2346
      fi
2347
      as_fn_append ac_configure_args " '$ac_arg'"
2348
      ;;
2349
    esac
2350
  done
2351
done
2352
{ ac_configure_args0=; unset ac_configure_args0;}
2353
{ ac_configure_args1=; unset ac_configure_args1;}
2354
 
2355
# When interrupted or exit'd, cleanup temporary files, and complete
2356
# config.log.  We remove comments because anyway the quotes in there
2357
# would cause problems or look ugly.
2358
# WARNING: Use '\'' to represent an apostrophe within the trap.
2359
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2360
trap 'exit_status=$?
2361
  # Save into config.log some information that might help in debugging.
2362
  {
2363
    echo
2364
 
2365
    cat <<\_ASBOX
2366
## ---------------- ##
2367
## Cache variables. ##
2368
## ---------------- ##
2369
_ASBOX
2370
    echo
2371
    # The following way of writing the cache mishandles newlines in values,
2372
(
2373
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2374
    eval ac_val=\$$ac_var
2375
    case $ac_val in #(
2376
    *${as_nl}*)
2377
      case $ac_var in #(
2378
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2379
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2380
      esac
2381
      case $ac_var in #(
2382
      _ | IFS | as_nl) ;; #(
2383
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2384
      *) { eval $ac_var=; unset $ac_var;} ;;
2385
      esac ;;
2386
    esac
2387
  done
2388
  (set) 2>&1 |
2389
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2390
    *${as_nl}ac_space=\ *)
2391
      sed -n \
2392
        "s/'\''/'\''\\\\'\'''\''/g;
2393
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2394
      ;; #(
2395
    *)
2396
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2397
      ;;
2398
    esac |
2399
    sort
2400
)
2401
    echo
2402
 
2403
    cat <<\_ASBOX
2404
## ----------------- ##
2405
## Output variables. ##
2406
## ----------------- ##
2407
_ASBOX
2408
    echo
2409
    for ac_var in $ac_subst_vars
2410
    do
2411
      eval ac_val=\$$ac_var
2412
      case $ac_val in
2413
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2414
      esac
2415
      $as_echo "$ac_var='\''$ac_val'\''"
2416
    done | sort
2417
    echo
2418
 
2419
    if test -n "$ac_subst_files"; then
2420
      cat <<\_ASBOX
2421
## ------------------- ##
2422
## File substitutions. ##
2423
## ------------------- ##
2424
_ASBOX
2425
      echo
2426
      for ac_var in $ac_subst_files
2427
      do
2428
        eval ac_val=\$$ac_var
2429
        case $ac_val in
2430
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2431
        esac
2432
        $as_echo "$ac_var='\''$ac_val'\''"
2433
      done | sort
2434
      echo
2435
    fi
2436
 
2437
    if test -s confdefs.h; then
2438
      cat <<\_ASBOX
2439
## ----------- ##
2440
## confdefs.h. ##
2441
## ----------- ##
2442
_ASBOX
2443
      echo
2444
      cat confdefs.h
2445
      echo
2446
    fi
2447
    test "$ac_signal" != 0 &&
2448
      $as_echo "$as_me: caught signal $ac_signal"
2449
    $as_echo "$as_me: exit $exit_status"
2450
  } >&5
2451
  rm -f core *.core core.conftest.* &&
2452
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2453
    exit $exit_status
2454
' 0
2455
for ac_signal in 1 2 13 15; do
2456
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2457
done
2458
ac_signal=0
2459
 
2460
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2461
rm -f -r conftest* confdefs.h
2462
 
2463
$as_echo "/* confdefs.h */" > confdefs.h
2464
 
2465
# Predefined preprocessor variables.
2466
 
2467
cat >>confdefs.h <<_ACEOF
2468
#define PACKAGE_NAME "$PACKAGE_NAME"
2469
_ACEOF
2470
 
2471
cat >>confdefs.h <<_ACEOF
2472
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2473
_ACEOF
2474
 
2475
cat >>confdefs.h <<_ACEOF
2476
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2477
_ACEOF
2478
 
2479
cat >>confdefs.h <<_ACEOF
2480
#define PACKAGE_STRING "$PACKAGE_STRING"
2481
_ACEOF
2482
 
2483
cat >>confdefs.h <<_ACEOF
2484
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2485
_ACEOF
2486
 
2487
cat >>confdefs.h <<_ACEOF
2488
#define PACKAGE_URL "$PACKAGE_URL"
2489
_ACEOF
2490
 
2491
 
2492
# Let the site file select an alternate cache file if it wants to.
2493
# Prefer an explicitly selected file to automatically selected ones.
2494
ac_site_file1=NONE
2495
ac_site_file2=NONE
2496
if test -n "$CONFIG_SITE"; then
2497
  ac_site_file1=$CONFIG_SITE
2498
elif test "x$prefix" != xNONE; then
2499
  ac_site_file1=$prefix/share/config.site
2500
  ac_site_file2=$prefix/etc/config.site
2501
else
2502
  ac_site_file1=$ac_default_prefix/share/config.site
2503
  ac_site_file2=$ac_default_prefix/etc/config.site
2504
fi
2505
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2506
do
2507
  test "x$ac_site_file" = xNONE && continue
2508
  if test -r "$ac_site_file"; then
2509
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2510
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2511
    sed 's/^/| /' "$ac_site_file" >&5
2512
    . "$ac_site_file"
2513
  fi
2514
done
2515
 
2516
if test -r "$cache_file"; then
2517
  # Some versions of bash will fail to source /dev/null (special
2518
  # files actually), so we avoid doing that.
2519
  if test -f "$cache_file"; then
2520
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2521
$as_echo "$as_me: loading cache $cache_file" >&6;}
2522
    case $cache_file in
2523
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2524
      *)                      . "./$cache_file";;
2525
    esac
2526
  fi
2527
else
2528
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2529
$as_echo "$as_me: creating cache $cache_file" >&6;}
2530
  >$cache_file
2531
fi
2532
 
2533
as_fn_append ac_header_list " unistd.h"
2534
as_fn_append ac_header_list " sys/time.h"
2535
as_fn_append ac_header_list " sys/times.h"
2536
as_fn_append ac_header_list " sys/resource.h"
2537
as_fn_append ac_header_list " sys/types.h"
2538
as_fn_append ac_header_list " sys/stat.h"
2539
as_fn_append ac_header_list " sys/wait.h"
2540
as_fn_append ac_header_list " floatingpoint.h"
2541
as_fn_append ac_header_list " ieeefp.h"
2542
as_fn_append ac_header_list " fenv.h"
2543
as_fn_append ac_header_list " fptrap.h"
2544
as_fn_append ac_header_list " pwd.h"
2545
as_fn_append ac_header_list " complex.h"
2546
as_fn_append ac_func_list " getrusage"
2547
as_fn_append ac_func_list " times"
2548
as_fn_append ac_func_list " mkstemp"
2549
as_fn_append ac_func_list " strtof"
2550
as_fn_append ac_func_list " strtold"
2551
as_fn_append ac_func_list " snprintf"
2552
as_fn_append ac_func_list " ftruncate"
2553
as_fn_append ac_func_list " chsize"
2554
as_fn_append ac_func_list " chdir"
2555
as_fn_append ac_func_list " getlogin"
2556
as_fn_append ac_func_list " gethostname"
2557
as_fn_append ac_func_list " kill"
2558
as_fn_append ac_func_list " link"
2559
as_fn_append ac_func_list " symlink"
2560
as_fn_append ac_func_list " sleep"
2561
as_fn_append ac_func_list " ttyname"
2562
as_fn_append ac_func_list " alarm"
2563
as_fn_append ac_func_list " access"
2564
as_fn_append ac_func_list " fork"
2565
as_fn_append ac_func_list " execl"
2566
as_fn_append ac_func_list " wait"
2567
as_fn_append ac_func_list " setmode"
2568
as_fn_append ac_func_list " execve"
2569
as_fn_append ac_func_list " pipe"
2570
as_fn_append ac_func_list " dup2"
2571
as_fn_append ac_func_list " close"
2572
as_fn_append ac_func_list " strcasestr"
2573
as_fn_append ac_func_list " getrlimit"
2574
as_fn_append ac_func_list " gettimeofday"
2575
as_fn_append ac_func_list " stat"
2576
as_fn_append ac_func_list " fstat"
2577
as_fn_append ac_func_list " lstat"
2578
as_fn_append ac_func_list " getpwuid"
2579
as_fn_append ac_func_list " vsnprintf"
2580
as_fn_append ac_func_list " dup"
2581
as_fn_append ac_func_list " getcwd"
2582
as_fn_append ac_func_list " localtime_r"
2583
as_fn_append ac_func_list " gmtime_r"
2584
as_fn_append ac_func_list " strerror_r"
2585
as_fn_append ac_func_list " getpwuid_r"
2586
as_fn_append ac_func_list " ttyname_r"
2587
as_fn_append ac_func_list " clock_gettime"
2588
as_fn_append ac_func_list " readlink"
2589
as_fn_append ac_func_list " getgid"
2590
as_fn_append ac_func_list " getpid"
2591
as_fn_append ac_func_list " getppid"
2592
as_fn_append ac_func_list " getuid"
2593
as_fn_append ac_func_list " geteuid"
2594
as_fn_append ac_func_list " umask"
2595
# Check that the precious variables saved in the cache have kept the same
2596
# value.
2597
ac_cache_corrupted=false
2598
for ac_var in $ac_precious_vars; do
2599
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2600
  eval ac_new_set=\$ac_env_${ac_var}_set
2601
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2602
  eval ac_new_val=\$ac_env_${ac_var}_value
2603
  case $ac_old_set,$ac_new_set in
2604
    set,)
2605
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2606
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2607
      ac_cache_corrupted=: ;;
2608
    ,set)
2609
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2610
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2611
      ac_cache_corrupted=: ;;
2612
    ,);;
2613
    *)
2614
      if test "x$ac_old_val" != "x$ac_new_val"; then
2615
        # differences in whitespace do not lead to failure.
2616
        ac_old_val_w=`echo x $ac_old_val`
2617
        ac_new_val_w=`echo x $ac_new_val`
2618
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2619
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2620
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2621
          ac_cache_corrupted=:
2622
        else
2623
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2624
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2625
          eval $ac_var=\$ac_old_val
2626
        fi
2627
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2628
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2629
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2630
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2631
      fi;;
2632
  esac
2633
  # Pass precious variables to config.status.
2634
  if test "$ac_new_set" = set; then
2635
    case $ac_new_val in
2636
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2637
    *) ac_arg=$ac_var=$ac_new_val ;;
2638
    esac
2639
    case " $ac_configure_args " in
2640
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2641
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2642
    esac
2643
  fi
2644
done
2645
if $ac_cache_corrupted; then
2646
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2647
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2648
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2649
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2650
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2651
fi
2652
## -------------------- ##
2653
## Main body of script. ##
2654
## -------------------- ##
2655
 
2656
ac_ext=c
2657
ac_cpp='$CPP $CPPFLAGS'
2658
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2659
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2660
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2661
 
2662
 
2663
 
2664
 
2665
 
2666
ac_config_headers="$ac_config_headers config.h"
2667
 
2668
ac_aux_dir=
2669
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2670
  for ac_t in install-sh install.sh shtool; do
2671
    if test -f "$ac_dir/$ac_t"; then
2672
      ac_aux_dir=$ac_dir
2673
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2674
      break 2
2675
    fi
2676
  done
2677
done
2678
if test -z "$ac_aux_dir"; then
2679
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2680
fi
2681
 
2682
# These three variables are undocumented and unsupported,
2683
# and are intended to be withdrawn in a future Autoconf release.
2684
# They can cause serious problems if a builder's source tree is in a directory
2685
# whose full name contains unusual characters.
2686
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2687
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2688
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2689
 
2690
 
2691
# Make sure we can run config.sub.
2692
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2693
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2694
 
2695
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2696
$as_echo_n "checking build system type... " >&6; }
2697
if test "${ac_cv_build+set}" = set; then :
2698
  $as_echo_n "(cached) " >&6
2699
else
2700
  ac_build_alias=$build_alias
2701
test "x$ac_build_alias" = x &&
2702
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2703
test "x$ac_build_alias" = x &&
2704
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2705
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2706
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2707
 
2708
fi
2709
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2710
$as_echo "$ac_cv_build" >&6; }
2711
case $ac_cv_build in
2712
*-*-*) ;;
2713
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2714
esac
2715
build=$ac_cv_build
2716
ac_save_IFS=$IFS; IFS='-'
2717
set x $ac_cv_build
2718
shift
2719
build_cpu=$1
2720
build_vendor=$2
2721
shift; shift
2722
# Remember, the first character of IFS is used to create $*,
2723
# except with old shells:
2724
build_os=$*
2725
IFS=$ac_save_IFS
2726
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2727
 
2728
 
2729
 case ${build_alias} in
2730
  "") build_noncanonical=${build} ;;
2731
  *) build_noncanonical=${build_alias} ;;
2732
esac
2733
 
2734
 case ${host_alias} in
2735
  "") host_noncanonical=${build_noncanonical} ;;
2736
  *) host_noncanonical=${host_alias} ;;
2737
esac
2738
 
2739
 case ${target_alias} in
2740
  "") target_noncanonical=${host_noncanonical} ;;
2741
  *) target_noncanonical=${target_alias} ;;
2742
esac
2743
 
2744
 
2745
# post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2746
# have matching libraries, they should use host libraries: Makefile.tpl
2747
# arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2748
# However, they still use the build modules, because the corresponding
2749
# host modules (e.g. bison) are only built for the host when bootstrap
2750
# finishes. So:
2751
# - build_subdir is where we find build modules, and never changes.
2752
# - build_libsubdir is where we find build libraries, and can be overridden.
2753
 
2754
# Prefix 'build-' so this never conflicts with target_subdir.
2755
build_subdir="build-${build_noncanonical}"
2756
 
2757
# Check whether --with-build-libsubdir was given.
2758
if test "${with_build_libsubdir+set}" = set; then :
2759
  withval=$with_build_libsubdir; build_libsubdir="$withval"
2760
else
2761
  build_libsubdir="$build_subdir"
2762
fi
2763
 
2764
# --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2765
if ( test $srcdir = . && test -d gcc ) \
2766
   || test -d $srcdir/../host-${host_noncanonical}; then
2767
  host_subdir="host-${host_noncanonical}"
2768
else
2769
  host_subdir=.
2770
fi
2771
# No prefix.
2772
target_subdir=${target_noncanonical}
2773
 
2774
 
2775
# -------
2776
# Options
2777
# -------
2778
 
2779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2780
$as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2781
# Check whether --enable-version-specific-runtime-libs was given.
2782
if test "${enable_version_specific_runtime_libs+set}" = set; then :
2783
  enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2784
 yes) version_specific_libs=yes ;;
2785
 no)  version_specific_libs=no ;;
2786
 *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2787
 esac
2788
else
2789
  version_specific_libs=no
2790
fi
2791
 
2792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2793
$as_echo "$version_specific_libs" >&6; }
2794
 
2795
# Build with intermodule optimisations
2796
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2797
$as_echo_n "checking for --enable-intermodule... " >&6; }
2798
# Check whether --enable-intermodule was given.
2799
if test "${enable_intermodule+set}" = set; then :
2800
  enableval=$enable_intermodule; case "$enable_intermodule" in
2801
  yes) onestep="-onestep";;
2802
    *) onestep="";;
2803
esac
2804
else
2805
  onestep=""
2806
fi
2807
 
2808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2809
$as_echo "$enable_intermodule" >&6; }
2810
 if test x$onestep = x-onestep; then
2811
  onestep_TRUE=
2812
  onestep_FALSE='#'
2813
else
2814
  onestep_TRUE='#'
2815
  onestep_FALSE=
2816
fi
2817
 
2818
 
2819
 
2820
# Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2821
#
2822
# You will slowly go insane if you do not grok the following fact:  when
2823
# building this library, the top-level /target/ becomes the library's /host/.
2824
#
2825
# configure then causes --target to default to --host, exactly like any
2826
# other package using autoconf.  Therefore, 'target' and 'host' will
2827
# always be the same.  This makes sense both for native and cross compilers
2828
# just think about it for a little while.  :-)
2829
#
2830
# Also, if this library is being configured as part of a cross compiler, the
2831
# top-level configure script will pass the "real" host as $with_cross_host.
2832
#
2833
# Do not delete or change the following two lines.  For why, see
2834
# http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2836
$as_echo_n "checking host system type... " >&6; }
2837
if test "${ac_cv_host+set}" = set; then :
2838
  $as_echo_n "(cached) " >&6
2839
else
2840
  if test "x$host_alias" = x; then
2841
  ac_cv_host=$ac_cv_build
2842
else
2843
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2844
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2845
fi
2846
 
2847
fi
2848
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2849
$as_echo "$ac_cv_host" >&6; }
2850
case $ac_cv_host in
2851
*-*-*) ;;
2852
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2853
esac
2854
host=$ac_cv_host
2855
ac_save_IFS=$IFS; IFS='-'
2856
set x $ac_cv_host
2857
shift
2858
host_cpu=$1
2859
host_vendor=$2
2860
shift; shift
2861
# Remember, the first character of IFS is used to create $*,
2862
# except with old shells:
2863
host_os=$*
2864
IFS=$ac_save_IFS
2865
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2866
 
2867
 
2868
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2869
$as_echo_n "checking target system type... " >&6; }
2870
if test "${ac_cv_target+set}" = set; then :
2871
  $as_echo_n "(cached) " >&6
2872
else
2873
  if test "x$target_alias" = x; then
2874
  ac_cv_target=$ac_cv_host
2875
else
2876
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2877
    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2878
fi
2879
 
2880
fi
2881
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2882
$as_echo "$ac_cv_target" >&6; }
2883
case $ac_cv_target in
2884
*-*-*) ;;
2885
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2886
esac
2887
target=$ac_cv_target
2888
ac_save_IFS=$IFS; IFS='-'
2889
set x $ac_cv_target
2890
shift
2891
target_cpu=$1
2892
target_vendor=$2
2893
shift; shift
2894
# Remember, the first character of IFS is used to create $*,
2895
# except with old shells:
2896
target_os=$*
2897
IFS=$ac_save_IFS
2898
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2899
 
2900
 
2901
# The aliases save the names the user supplied, while $host etc.
2902
# will get canonicalized.
2903
test -n "$target_alias" &&
2904
  test "$program_prefix$program_suffix$program_transform_name" = \
2905
    NONENONEs,x,x, &&
2906
  program_prefix=${target_alias}-
2907
 
2908
 
2909
 
2910
 
2911
target_alias=${target_alias-$host_alias}
2912
 
2913
 
2914
# Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
2915
# following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2916
#  1.9.6:  minimum required version
2917
#  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
2918
#              of other PACKAGE_* variables will, however, and there's nothing
2919
#              we can do about that; they come from AC_INIT).
2920
#  foreign:  we don't follow the normal rules for GNU packages (no COPYING
2921
#            file in the top srcdir, etc, etc), so stop complaining.
2922
#  no-dist:  we don't want 'dist' and related rules.
2923
#  -Wall:  turns on all automake warnings...
2924
#  -Wno-portability:  ...except this one, since GNU make is required.
2925
am__api_version='1.11'
2926
 
2927
# Find a good install program.  We prefer a C program (faster),
2928
# so one script is as good as another.  But avoid the broken or
2929
# incompatible versions:
2930
# SysV /etc/install, /usr/sbin/install
2931
# SunOS /usr/etc/install
2932
# IRIX /sbin/install
2933
# AIX /bin/install
2934
# AmigaOS /C/install, which installs bootblocks on floppy discs
2935
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2936
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2937
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2938
# OS/2's system install, which has a completely different semantic
2939
# ./install, which can be erroneously created by make from ./install.sh.
2940
# Reject install programs that cannot install multiple files.
2941
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2942
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2943
if test -z "$INSTALL"; then
2944
if test "${ac_cv_path_install+set}" = set; then :
2945
  $as_echo_n "(cached) " >&6
2946
else
2947
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2948
for as_dir in $PATH
2949
do
2950
  IFS=$as_save_IFS
2951
  test -z "$as_dir" && as_dir=.
2952
    # Account for people who put trailing slashes in PATH elements.
2953
case $as_dir/ in #((
2954
  ./ | .// | /[cC]/* | \
2955
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2956
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2957
  /usr/ucb/* ) ;;
2958
  *)
2959
    # OSF1 and SCO ODT 3.0 have their own names for install.
2960
    # Don't use installbsd from OSF since it installs stuff as root
2961
    # by default.
2962
    for ac_prog in ginstall scoinst install; do
2963
      for ac_exec_ext in '' $ac_executable_extensions; do
2964
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2965
          if test $ac_prog = install &&
2966
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2967
            # AIX install.  It has an incompatible calling convention.
2968
            :
2969
          elif test $ac_prog = install &&
2970
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2971
            # program-specific install script used by HP pwplus--don't use.
2972
            :
2973
          else
2974
            rm -rf conftest.one conftest.two conftest.dir
2975
            echo one > conftest.one
2976
            echo two > conftest.two
2977
            mkdir conftest.dir
2978
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2979
              test -s conftest.one && test -s conftest.two &&
2980
              test -s conftest.dir/conftest.one &&
2981
              test -s conftest.dir/conftest.two
2982
            then
2983
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2984
              break 3
2985
            fi
2986
          fi
2987
        fi
2988
      done
2989
    done
2990
    ;;
2991
esac
2992
 
2993
  done
2994
IFS=$as_save_IFS
2995
 
2996
rm -rf conftest.one conftest.two conftest.dir
2997
 
2998
fi
2999
  if test "${ac_cv_path_install+set}" = set; then
3000
    INSTALL=$ac_cv_path_install
3001
  else
3002
    # As a last resort, use the slow shell script.  Don't cache a
3003
    # value for INSTALL within a source directory, because that will
3004
    # break other packages using the cache if that directory is
3005
    # removed, or if the value is a relative name.
3006
    INSTALL=$ac_install_sh
3007
  fi
3008
fi
3009
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3010
$as_echo "$INSTALL" >&6; }
3011
 
3012
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3013
# It thinks the first close brace ends the variable substitution.
3014
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3015
 
3016
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3017
 
3018
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3019
 
3020
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3021
$as_echo_n "checking whether build environment is sane... " >&6; }
3022
# Just in case
3023
sleep 1
3024
echo timestamp > conftest.file
3025
# Reject unsafe characters in $srcdir or the absolute working directory
3026
# name.  Accept space and tab only in the latter.
3027
am_lf='
3028
'
3029
case `pwd` in
3030
  *[\\\"\#\$\&\'\`$am_lf]*)
3031
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3032
esac
3033
case $srcdir in
3034
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3035
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3036
esac
3037
 
3038
# Do `set' in a subshell so we don't clobber the current shell's
3039
# arguments.  Must try -L first in case configure is actually a
3040
# symlink; some systems play weird games with the mod time of symlinks
3041
# (eg FreeBSD returns the mod time of the symlink's containing
3042
# directory).
3043
if (
3044
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3045
   if test "$*" = "X"; then
3046
      # -L didn't work.
3047
      set X `ls -t "$srcdir/configure" conftest.file`
3048
   fi
3049
   rm -f conftest.file
3050
   if test "$*" != "X $srcdir/configure conftest.file" \
3051
      && test "$*" != "X conftest.file $srcdir/configure"; then
3052
 
3053
      # If neither matched, then we have a broken ls.  This can happen
3054
      # if, for instance, CONFIG_SHELL is bash and it inherits a
3055
      # broken ls alias from the environment.  This has actually
3056
      # happened.  Such a system could not be considered "sane".
3057
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3058
alias in your environment" "$LINENO" 5
3059
   fi
3060
 
3061
   test "$2" = conftest.file
3062
   )
3063
then
3064
   # Ok.
3065
   :
3066
else
3067
   as_fn_error "newly created file is older than distributed files!
3068
Check your system clock" "$LINENO" 5
3069
fi
3070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3071
$as_echo "yes" >&6; }
3072
test "$program_prefix" != NONE &&
3073
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3074
# Use a double $ so make ignores it.
3075
test "$program_suffix" != NONE &&
3076
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3077
# Double any \ or $.
3078
# By default was `s,x,x', remove it if useless.
3079
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3080
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3081
 
3082
# expand $ac_aux_dir to an absolute path
3083
am_aux_dir=`cd $ac_aux_dir && pwd`
3084
 
3085
if test x"${MISSING+set}" != xset; then
3086
  case $am_aux_dir in
3087
  *\ * | *\     *)
3088
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3089
  *)
3090
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3091
  esac
3092
fi
3093
# Use eval to expand $SHELL
3094
if eval "$MISSING --run true"; then
3095
  am_missing_run="$MISSING --run "
3096
else
3097
  am_missing_run=
3098
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3099
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3100
fi
3101
 
3102
if test x"${install_sh}" != xset; then
3103
  case $am_aux_dir in
3104
  *\ * | *\     *)
3105
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3106
  *)
3107
    install_sh="\${SHELL} $am_aux_dir/install-sh"
3108
  esac
3109
fi
3110
 
3111
# Installed binaries are usually stripped using `strip' when the user
3112
# run `make install-strip'.  However `strip' might not be the right
3113
# tool to use in cross-compilation environments, therefore Automake
3114
# will honor the `STRIP' environment variable to overrule this program.
3115
if test "$cross_compiling" != no; then
3116
  if test -n "$ac_tool_prefix"; then
3117
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3118
set dummy ${ac_tool_prefix}strip; ac_word=$2
3119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3120
$as_echo_n "checking for $ac_word... " >&6; }
3121
if test "${ac_cv_prog_STRIP+set}" = set; then :
3122
  $as_echo_n "(cached) " >&6
3123
else
3124
  if test -n "$STRIP"; then
3125
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3126
else
3127
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3128
for as_dir in $PATH
3129
do
3130
  IFS=$as_save_IFS
3131
  test -z "$as_dir" && as_dir=.
3132
    for ac_exec_ext in '' $ac_executable_extensions; do
3133
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3134
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3135
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3136
    break 2
3137
  fi
3138
done
3139
  done
3140
IFS=$as_save_IFS
3141
 
3142
fi
3143
fi
3144
STRIP=$ac_cv_prog_STRIP
3145
if test -n "$STRIP"; then
3146
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3147
$as_echo "$STRIP" >&6; }
3148
else
3149
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3150
$as_echo "no" >&6; }
3151
fi
3152
 
3153
 
3154
fi
3155
if test -z "$ac_cv_prog_STRIP"; then
3156
  ac_ct_STRIP=$STRIP
3157
  # Extract the first word of "strip", so it can be a program name with args.
3158
set dummy strip; ac_word=$2
3159
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3160
$as_echo_n "checking for $ac_word... " >&6; }
3161
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3162
  $as_echo_n "(cached) " >&6
3163
else
3164
  if test -n "$ac_ct_STRIP"; then
3165
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3166
else
3167
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3168
for as_dir in $PATH
3169
do
3170
  IFS=$as_save_IFS
3171
  test -z "$as_dir" && as_dir=.
3172
    for ac_exec_ext in '' $ac_executable_extensions; do
3173
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3174
    ac_cv_prog_ac_ct_STRIP="strip"
3175
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3176
    break 2
3177
  fi
3178
done
3179
  done
3180
IFS=$as_save_IFS
3181
 
3182
fi
3183
fi
3184
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3185
if test -n "$ac_ct_STRIP"; then
3186
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3187
$as_echo "$ac_ct_STRIP" >&6; }
3188
else
3189
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190
$as_echo "no" >&6; }
3191
fi
3192
 
3193
  if test "x$ac_ct_STRIP" = x; then
3194
    STRIP=":"
3195
  else
3196
    case $cross_compiling:$ac_tool_warned in
3197
yes:)
3198
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3199
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3200
ac_tool_warned=yes ;;
3201
esac
3202
    STRIP=$ac_ct_STRIP
3203
  fi
3204
else
3205
  STRIP="$ac_cv_prog_STRIP"
3206
fi
3207
 
3208
fi
3209
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3210
 
3211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3212
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3213
if test -z "$MKDIR_P"; then
3214
  if test "${ac_cv_path_mkdir+set}" = set; then :
3215
  $as_echo_n "(cached) " >&6
3216
else
3217
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3218
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3219
do
3220
  IFS=$as_save_IFS
3221
  test -z "$as_dir" && as_dir=.
3222
    for ac_prog in mkdir gmkdir; do
3223
         for ac_exec_ext in '' $ac_executable_extensions; do
3224
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3225
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3226
             'mkdir (GNU coreutils) '* | \
3227
             'mkdir (coreutils) '* | \
3228
             'mkdir (fileutils) '4.1*)
3229
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3230
               break 3;;
3231
           esac
3232
         done
3233
       done
3234
  done
3235
IFS=$as_save_IFS
3236
 
3237
fi
3238
 
3239
  if test "${ac_cv_path_mkdir+set}" = set; then
3240
    MKDIR_P="$ac_cv_path_mkdir -p"
3241
  else
3242
    # As a last resort, use the slow shell script.  Don't cache a
3243
    # value for MKDIR_P within a source directory, because that will
3244
    # break other packages using the cache if that directory is
3245
    # removed, or if the value is a relative name.
3246
    test -d ./--version && rmdir ./--version
3247
    MKDIR_P="$ac_install_sh -d"
3248
  fi
3249
fi
3250
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3251
$as_echo "$MKDIR_P" >&6; }
3252
 
3253
mkdir_p="$MKDIR_P"
3254
case $mkdir_p in
3255
  [\\/$]* | ?:[\\/]*) ;;
3256
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3257
esac
3258
 
3259
for ac_prog in gawk mawk nawk awk
3260
do
3261
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3262
set dummy $ac_prog; ac_word=$2
3263
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3264
$as_echo_n "checking for $ac_word... " >&6; }
3265
if test "${ac_cv_prog_AWK+set}" = set; then :
3266
  $as_echo_n "(cached) " >&6
3267
else
3268
  if test -n "$AWK"; then
3269
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3270
else
3271
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3272
for as_dir in $PATH
3273
do
3274
  IFS=$as_save_IFS
3275
  test -z "$as_dir" && as_dir=.
3276
    for ac_exec_ext in '' $ac_executable_extensions; do
3277
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3278
    ac_cv_prog_AWK="$ac_prog"
3279
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3280
    break 2
3281
  fi
3282
done
3283
  done
3284
IFS=$as_save_IFS
3285
 
3286
fi
3287
fi
3288
AWK=$ac_cv_prog_AWK
3289
if test -n "$AWK"; then
3290
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3291
$as_echo "$AWK" >&6; }
3292
else
3293
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3294
$as_echo "no" >&6; }
3295
fi
3296
 
3297
 
3298
  test -n "$AWK" && break
3299
done
3300
 
3301
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3302
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3303
set x ${MAKE-make}
3304
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3305
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3306
  $as_echo_n "(cached) " >&6
3307
else
3308
  cat >conftest.make <<\_ACEOF
3309
SHELL = /bin/sh
3310
all:
3311
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3312
_ACEOF
3313
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3314
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3315
  *@@@%%%=?*=@@@%%%*)
3316
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3317
  *)
3318
    eval ac_cv_prog_make_${ac_make}_set=no;;
3319
esac
3320
rm -f conftest.make
3321
fi
3322
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3323
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3324
$as_echo "yes" >&6; }
3325
  SET_MAKE=
3326
else
3327
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3328
$as_echo "no" >&6; }
3329
  SET_MAKE="MAKE=${MAKE-make}"
3330
fi
3331
 
3332
rm -rf .tst 2>/dev/null
3333
mkdir .tst 2>/dev/null
3334
if test -d .tst; then
3335
  am__leading_dot=.
3336
else
3337
  am__leading_dot=_
3338
fi
3339
rmdir .tst 2>/dev/null
3340
 
3341
if test "`cd $srcdir && pwd`" != "`pwd`"; then
3342
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3343
  # is not polluted with repeated "-I."
3344
  am__isrc=' -I$(srcdir)'
3345
  # test to see if srcdir already configured
3346
  if test -f $srcdir/config.status; then
3347
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3348
  fi
3349
fi
3350
 
3351
# test whether we have cygpath
3352
if test -z "$CYGPATH_W"; then
3353
  if (cygpath --version) >/dev/null 2>/dev/null; then
3354
    CYGPATH_W='cygpath -w'
3355
  else
3356
    CYGPATH_W=echo
3357
  fi
3358
fi
3359
 
3360
 
3361
# Define the identity of the package.
3362
 PACKAGE='libgfortran'
3363
 VERSION='0.3'
3364
 
3365
 
3366
# Some tools Automake needs.
3367
 
3368
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3369
 
3370
 
3371
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3372
 
3373
 
3374
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3375
 
3376
 
3377
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3378
 
3379
 
3380
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3381
 
3382
# We need awk for the "check" target.  The system "awk" is bad on
3383
# some platforms.
3384
# Always define AMTAR for backward compatibility.
3385
 
3386
AMTAR=${AMTAR-"${am_missing_run}tar"}
3387
 
3388
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3389
 
3390
 
3391
 
3392
 
3393
 
3394
 
3395
 
3396
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3397
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3398
    # Check whether --enable-maintainer-mode was given.
3399
if test "${enable_maintainer_mode+set}" = set; then :
3400
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3401
else
3402
  USE_MAINTAINER_MODE=no
3403
fi
3404
 
3405
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3406
$as_echo "$USE_MAINTAINER_MODE" >&6; }
3407
   if test $USE_MAINTAINER_MODE = yes; then
3408
  MAINTAINER_MODE_TRUE=
3409
  MAINTAINER_MODE_FALSE='#'
3410
else
3411
  MAINTAINER_MODE_TRUE='#'
3412
  MAINTAINER_MODE_FALSE=
3413
fi
3414
 
3415
  MAINT=$MAINTAINER_MODE_TRUE
3416
 
3417
 
3418
# Default to --enable-multilib
3419
# Check whether --enable-multilib was given.
3420
if test "${enable_multilib+set}" = set; then :
3421
  enableval=$enable_multilib; case "$enableval" in
3422
  yes) multilib=yes ;;
3423
  no)  multilib=no ;;
3424
  *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3425
 esac
3426
else
3427
  multilib=yes
3428
fi
3429
 
3430
 
3431
# We may get other options which we leave undocumented:
3432
# --with-target-subdir, --with-multisrctop, --with-multisubdir
3433
# See config-ml.in if you want the gory details.
3434
 
3435
if test "$srcdir" = "."; then
3436
  if test "$with_target_subdir" != "."; then
3437
    multi_basedir="$srcdir/$with_multisrctop../.."
3438
  else
3439
    multi_basedir="$srcdir/$with_multisrctop.."
3440
  fi
3441
else
3442
  multi_basedir="$srcdir/.."
3443
fi
3444
 
3445
 
3446
# Even if the default multilib is not a cross compilation,
3447
# it may be that some of the other multilibs are.
3448
if test $cross_compiling = no && test $multilib = yes \
3449
   && test "x${with_multisubdir}" != x ; then
3450
   cross_compiling=maybe
3451
fi
3452
 
3453
ac_config_commands="$ac_config_commands default-1"
3454
 
3455
 
3456
# Handy for debugging:
3457
#AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3458
 
3459
# Are we being configured with some form of cross compiler?
3460
# NB: We don't actually need to know this just now, but when, say, a test
3461
#     suite is included, we'll have to know.
3462
if test "$build" != "$host"; then
3463
  LIBGFOR_IS_NATIVE=false
3464
 
3465
else
3466
  LIBGFOR_IS_NATIVE=true
3467
fi
3468
 
3469
DEPDIR="${am__leading_dot}deps"
3470
 
3471
ac_config_commands="$ac_config_commands depfiles"
3472
 
3473
 
3474
am_make=${MAKE-make}
3475
cat > confinc << 'END'
3476
am__doit:
3477
        @echo this is the am__doit target
3478
.PHONY: am__doit
3479
END
3480
# If we don't find an include directive, just comment out the code.
3481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3482
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3483
am__include="#"
3484
am__quote=
3485
_am_result=none
3486
# First try GNU make style include.
3487
echo "include confinc" > confmf
3488
# Ignore all kinds of additional output from `make'.
3489
case `$am_make -s -f confmf 2> /dev/null` in #(
3490
*the\ am__doit\ target*)
3491
  am__include=include
3492
  am__quote=
3493
  _am_result=GNU
3494
  ;;
3495
esac
3496
# Now try BSD make style include.
3497
if test "$am__include" = "#"; then
3498
   echo '.include "confinc"' > confmf
3499
   case `$am_make -s -f confmf 2> /dev/null` in #(
3500
   *the\ am__doit\ target*)
3501
     am__include=.include
3502
     am__quote="\""
3503
     _am_result=BSD
3504
     ;;
3505
   esac
3506
fi
3507
 
3508
 
3509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3510
$as_echo "$_am_result" >&6; }
3511
rm -f confinc confmf
3512
 
3513
# Check whether --enable-dependency-tracking was given.
3514
if test "${enable_dependency_tracking+set}" = set; then :
3515
  enableval=$enable_dependency_tracking;
3516
fi
3517
 
3518
if test "x$enable_dependency_tracking" != xno; then
3519
  am_depcomp="$ac_aux_dir/depcomp"
3520
  AMDEPBACKSLASH='\'
3521
fi
3522
 if test "x$enable_dependency_tracking" != xno; then
3523
  AMDEP_TRUE=
3524
  AMDEP_FALSE='#'
3525
else
3526
  AMDEP_TRUE='#'
3527
  AMDEP_FALSE=
3528
fi
3529
 
3530
 
3531
ac_ext=c
3532
ac_cpp='$CPP $CPPFLAGS'
3533
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3534
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3535
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3536
if test -n "$ac_tool_prefix"; then
3537
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3538
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3540
$as_echo_n "checking for $ac_word... " >&6; }
3541
if test "${ac_cv_prog_CC+set}" = set; then :
3542
  $as_echo_n "(cached) " >&6
3543
else
3544
  if test -n "$CC"; then
3545
  ac_cv_prog_CC="$CC" # Let the user override the test.
3546
else
3547
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548
for as_dir in $PATH
3549
do
3550
  IFS=$as_save_IFS
3551
  test -z "$as_dir" && as_dir=.
3552
    for ac_exec_ext in '' $ac_executable_extensions; do
3553
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3554
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3555
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3556
    break 2
3557
  fi
3558
done
3559
  done
3560
IFS=$as_save_IFS
3561
 
3562
fi
3563
fi
3564
CC=$ac_cv_prog_CC
3565
if test -n "$CC"; then
3566
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3567
$as_echo "$CC" >&6; }
3568
else
3569
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3570
$as_echo "no" >&6; }
3571
fi
3572
 
3573
 
3574
fi
3575
if test -z "$ac_cv_prog_CC"; then
3576
  ac_ct_CC=$CC
3577
  # Extract the first word of "gcc", so it can be a program name with args.
3578
set dummy gcc; ac_word=$2
3579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3580
$as_echo_n "checking for $ac_word... " >&6; }
3581
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3582
  $as_echo_n "(cached) " >&6
3583
else
3584
  if test -n "$ac_ct_CC"; then
3585
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3586
else
3587
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3588
for as_dir in $PATH
3589
do
3590
  IFS=$as_save_IFS
3591
  test -z "$as_dir" && as_dir=.
3592
    for ac_exec_ext in '' $ac_executable_extensions; do
3593
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3594
    ac_cv_prog_ac_ct_CC="gcc"
3595
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3596
    break 2
3597
  fi
3598
done
3599
  done
3600
IFS=$as_save_IFS
3601
 
3602
fi
3603
fi
3604
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3605
if test -n "$ac_ct_CC"; then
3606
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3607
$as_echo "$ac_ct_CC" >&6; }
3608
else
3609
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610
$as_echo "no" >&6; }
3611
fi
3612
 
3613
  if test "x$ac_ct_CC" = x; then
3614
    CC=""
3615
  else
3616
    case $cross_compiling:$ac_tool_warned in
3617
yes:)
3618
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3619
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3620
ac_tool_warned=yes ;;
3621
esac
3622
    CC=$ac_ct_CC
3623
  fi
3624
else
3625
  CC="$ac_cv_prog_CC"
3626
fi
3627
 
3628
if test -z "$CC"; then
3629
          if test -n "$ac_tool_prefix"; then
3630
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3631
set dummy ${ac_tool_prefix}cc; ac_word=$2
3632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3633
$as_echo_n "checking for $ac_word... " >&6; }
3634
if test "${ac_cv_prog_CC+set}" = set; then :
3635
  $as_echo_n "(cached) " >&6
3636
else
3637
  if test -n "$CC"; then
3638
  ac_cv_prog_CC="$CC" # Let the user override the test.
3639
else
3640
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3641
for as_dir in $PATH
3642
do
3643
  IFS=$as_save_IFS
3644
  test -z "$as_dir" && as_dir=.
3645
    for ac_exec_ext in '' $ac_executable_extensions; do
3646
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3647
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3648
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3649
    break 2
3650
  fi
3651
done
3652
  done
3653
IFS=$as_save_IFS
3654
 
3655
fi
3656
fi
3657
CC=$ac_cv_prog_CC
3658
if test -n "$CC"; then
3659
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3660
$as_echo "$CC" >&6; }
3661
else
3662
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3663
$as_echo "no" >&6; }
3664
fi
3665
 
3666
 
3667
  fi
3668
fi
3669
if test -z "$CC"; then
3670
  # Extract the first word of "cc", so it can be a program name with args.
3671
set dummy cc; ac_word=$2
3672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673
$as_echo_n "checking for $ac_word... " >&6; }
3674
if test "${ac_cv_prog_CC+set}" = set; then :
3675
  $as_echo_n "(cached) " >&6
3676
else
3677
  if test -n "$CC"; then
3678
  ac_cv_prog_CC="$CC" # Let the user override the test.
3679
else
3680
  ac_prog_rejected=no
3681
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682
for as_dir in $PATH
3683
do
3684
  IFS=$as_save_IFS
3685
  test -z "$as_dir" && as_dir=.
3686
    for ac_exec_ext in '' $ac_executable_extensions; do
3687
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3688
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3689
       ac_prog_rejected=yes
3690
       continue
3691
     fi
3692
    ac_cv_prog_CC="cc"
3693
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3694
    break 2
3695
  fi
3696
done
3697
  done
3698
IFS=$as_save_IFS
3699
 
3700
if test $ac_prog_rejected = yes; then
3701
  # We found a bogon in the path, so make sure we never use it.
3702
  set dummy $ac_cv_prog_CC
3703
  shift
3704
  if test $# != 0; then
3705
    # We chose a different compiler from the bogus one.
3706
    # However, it has the same basename, so the bogon will be chosen
3707
    # first if we set CC to just the basename; use the full file name.
3708
    shift
3709
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3710
  fi
3711
fi
3712
fi
3713
fi
3714
CC=$ac_cv_prog_CC
3715
if test -n "$CC"; then
3716
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3717
$as_echo "$CC" >&6; }
3718
else
3719
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3720
$as_echo "no" >&6; }
3721
fi
3722
 
3723
 
3724
fi
3725
if test -z "$CC"; then
3726
  if test -n "$ac_tool_prefix"; then
3727
  for ac_prog in cl.exe
3728
  do
3729
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3730
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3732
$as_echo_n "checking for $ac_word... " >&6; }
3733
if test "${ac_cv_prog_CC+set}" = set; then :
3734
  $as_echo_n "(cached) " >&6
3735
else
3736
  if test -n "$CC"; then
3737
  ac_cv_prog_CC="$CC" # Let the user override the test.
3738
else
3739
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3740
for as_dir in $PATH
3741
do
3742
  IFS=$as_save_IFS
3743
  test -z "$as_dir" && as_dir=.
3744
    for ac_exec_ext in '' $ac_executable_extensions; do
3745
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3746
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3747
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3748
    break 2
3749
  fi
3750
done
3751
  done
3752
IFS=$as_save_IFS
3753
 
3754
fi
3755
fi
3756
CC=$ac_cv_prog_CC
3757
if test -n "$CC"; then
3758
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3759
$as_echo "$CC" >&6; }
3760
else
3761
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3762
$as_echo "no" >&6; }
3763
fi
3764
 
3765
 
3766
    test -n "$CC" && break
3767
  done
3768
fi
3769
if test -z "$CC"; then
3770
  ac_ct_CC=$CC
3771
  for ac_prog in cl.exe
3772
do
3773
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3774
set dummy $ac_prog; ac_word=$2
3775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3776
$as_echo_n "checking for $ac_word... " >&6; }
3777
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3778
  $as_echo_n "(cached) " >&6
3779
else
3780
  if test -n "$ac_ct_CC"; then
3781
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3782
else
3783
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3784
for as_dir in $PATH
3785
do
3786
  IFS=$as_save_IFS
3787
  test -z "$as_dir" && as_dir=.
3788
    for ac_exec_ext in '' $ac_executable_extensions; do
3789
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3790
    ac_cv_prog_ac_ct_CC="$ac_prog"
3791
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3792
    break 2
3793
  fi
3794
done
3795
  done
3796
IFS=$as_save_IFS
3797
 
3798
fi
3799
fi
3800
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3801
if test -n "$ac_ct_CC"; then
3802
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3803
$as_echo "$ac_ct_CC" >&6; }
3804
else
3805
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3806
$as_echo "no" >&6; }
3807
fi
3808
 
3809
 
3810
  test -n "$ac_ct_CC" && break
3811
done
3812
 
3813
  if test "x$ac_ct_CC" = x; then
3814
    CC=""
3815
  else
3816
    case $cross_compiling:$ac_tool_warned in
3817
yes:)
3818
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3819
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3820
ac_tool_warned=yes ;;
3821
esac
3822
    CC=$ac_ct_CC
3823
  fi
3824
fi
3825
 
3826
fi
3827
 
3828
 
3829
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3830
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3831
as_fn_error "no acceptable C compiler found in \$PATH
3832
See \`config.log' for more details." "$LINENO" 5; }
3833
 
3834
# Provide some information about the compiler.
3835
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3836
set X $ac_compile
3837
ac_compiler=$2
3838
for ac_option in --version -v -V -qversion; do
3839
  { { ac_try="$ac_compiler $ac_option >&5"
3840
case "(($ac_try" in
3841
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3842
  *) ac_try_echo=$ac_try;;
3843
esac
3844
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3845
$as_echo "$ac_try_echo"; } >&5
3846
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3847
  ac_status=$?
3848
  if test -s conftest.err; then
3849
    sed '10a\
3850
... rest of stderr output deleted ...
3851
         10q' conftest.err >conftest.er1
3852
    cat conftest.er1 >&5
3853
    rm -f conftest.er1 conftest.err
3854
  fi
3855
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3856
  test $ac_status = 0; }
3857
done
3858
 
3859
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3860
/* end confdefs.h.  */
3861
 
3862
int
3863
main ()
3864
{
3865
 
3866
  ;
3867
  return 0;
3868
}
3869
_ACEOF
3870
# FIXME: Cleanup?
3871
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3872
  (eval $ac_link) 2>&5
3873
  ac_status=$?
3874
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3875
  test $ac_status = 0; }; then :
3876
  gcc_no_link=no
3877
else
3878
  gcc_no_link=yes
3879
fi
3880
if test x$gcc_no_link = xyes; then
3881
  # Setting cross_compile will disable run tests; it will
3882
  # also disable AC_CHECK_FILE but that's generally
3883
  # correct if we can't link.
3884
  cross_compiling=yes
3885
  EXEEXT=
3886
else
3887
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888
/* end confdefs.h.  */
3889
 
3890
int
3891
main ()
3892
{
3893
 
3894
  ;
3895
  return 0;
3896
}
3897
_ACEOF
3898
ac_clean_files_save=$ac_clean_files
3899
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3900
# Try to create an executable without -o first, disregard a.out.
3901
# It will help us diagnose broken compilers, and finding out an intuition
3902
# of exeext.
3903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3904
$as_echo_n "checking for C compiler default output file name... " >&6; }
3905
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3906
 
3907
# The possible output files:
3908
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3909
 
3910
ac_rmfiles=
3911
for ac_file in $ac_files
3912
do
3913
  case $ac_file in
3914
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3915
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3916
  esac
3917
done
3918
rm -f $ac_rmfiles
3919
 
3920
if { { ac_try="$ac_link_default"
3921
case "(($ac_try" in
3922
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3923
  *) ac_try_echo=$ac_try;;
3924
esac
3925
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3926
$as_echo "$ac_try_echo"; } >&5
3927
  (eval "$ac_link_default") 2>&5
3928
  ac_status=$?
3929
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3930
  test $ac_status = 0; }; then :
3931
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3932
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3933
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3934
# so that the user can short-circuit this test for compilers unknown to
3935
# Autoconf.
3936
for ac_file in $ac_files ''
3937
do
3938
  test -f "$ac_file" || continue
3939
  case $ac_file in
3940
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3941
        ;;
3942
    [ab].out )
3943
        # We found the default executable, but exeext='' is most
3944
        # certainly right.
3945
        break;;
3946
    *.* )
3947
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3948
        then :; else
3949
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3950
        fi
3951
        # We set ac_cv_exeext here because the later test for it is not
3952
        # safe: cross compilers may not add the suffix if given an `-o'
3953
        # argument, so we may need to know it at that point already.
3954
        # Even if this section looks crufty: it has the advantage of
3955
        # actually working.
3956
        break;;
3957
    * )
3958
        break;;
3959
  esac
3960
done
3961
test "$ac_cv_exeext" = no && ac_cv_exeext=
3962
 
3963
else
3964
  ac_file=''
3965
fi
3966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3967
$as_echo "$ac_file" >&6; }
3968
if test -z "$ac_file"; then :
3969
  $as_echo "$as_me: failed program was:" >&5
3970
sed 's/^/| /' conftest.$ac_ext >&5
3971
 
3972
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3973
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3974
{ as_fn_set_status 77
3975
as_fn_error "C compiler cannot create executables
3976
See \`config.log' for more details." "$LINENO" 5; }; }
3977
fi
3978
ac_exeext=$ac_cv_exeext
3979
 
3980
# Check that the compiler produces executables we can run.  If not, either
3981
# the compiler is broken, or we cross compile.
3982
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3983
$as_echo_n "checking whether the C compiler works... " >&6; }
3984
# If not cross compiling, check that we can run a simple program.
3985
if test "$cross_compiling" != yes; then
3986
  if { ac_try='./$ac_file'
3987
  { { case "(($ac_try" in
3988
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3989
  *) ac_try_echo=$ac_try;;
3990
esac
3991
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3992
$as_echo "$ac_try_echo"; } >&5
3993
  (eval "$ac_try") 2>&5
3994
  ac_status=$?
3995
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3996
  test $ac_status = 0; }; }; then
3997
    cross_compiling=no
3998
  else
3999
    if test "$cross_compiling" = maybe; then
4000
        cross_compiling=yes
4001
    else
4002
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4003
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4004
as_fn_error "cannot run C compiled programs.
4005
If you meant to cross compile, use \`--host'.
4006
See \`config.log' for more details." "$LINENO" 5; }
4007
    fi
4008
  fi
4009
fi
4010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4011
$as_echo "yes" >&6; }
4012
 
4013
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4014
ac_clean_files=$ac_clean_files_save
4015
# Check that the compiler produces executables we can run.  If not, either
4016
# the compiler is broken, or we cross compile.
4017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4018
$as_echo_n "checking whether we are cross compiling... " >&6; }
4019
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4020
$as_echo "$cross_compiling" >&6; }
4021
 
4022
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4023
$as_echo_n "checking for suffix of executables... " >&6; }
4024
if { { ac_try="$ac_link"
4025
case "(($ac_try" in
4026
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4027
  *) ac_try_echo=$ac_try;;
4028
esac
4029
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4030
$as_echo "$ac_try_echo"; } >&5
4031
  (eval "$ac_link") 2>&5
4032
  ac_status=$?
4033
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4034
  test $ac_status = 0; }; then :
4035
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4036
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4037
# work properly (i.e., refer to `conftest.exe'), while it won't with
4038
# `rm'.
4039
for ac_file in conftest.exe conftest conftest.*; do
4040
  test -f "$ac_file" || continue
4041
  case $ac_file in
4042
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4043
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4044
          break;;
4045
    * ) break;;
4046
  esac
4047
done
4048
else
4049
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4050
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4051
as_fn_error "cannot compute suffix of executables: cannot compile and link
4052
See \`config.log' for more details." "$LINENO" 5; }
4053
fi
4054
rm -f conftest$ac_cv_exeext
4055
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4056
$as_echo "$ac_cv_exeext" >&6; }
4057
 
4058
rm -f conftest.$ac_ext
4059
EXEEXT=$ac_cv_exeext
4060
ac_exeext=$EXEEXT
4061
fi
4062
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4063
$as_echo_n "checking for suffix of object files... " >&6; }
4064
if test "${ac_cv_objext+set}" = set; then :
4065
  $as_echo_n "(cached) " >&6
4066
else
4067
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4068
/* end confdefs.h.  */
4069
 
4070
int
4071
main ()
4072
{
4073
 
4074
  ;
4075
  return 0;
4076
}
4077
_ACEOF
4078
rm -f conftest.o conftest.obj
4079
if { { ac_try="$ac_compile"
4080
case "(($ac_try" in
4081
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4082
  *) ac_try_echo=$ac_try;;
4083
esac
4084
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4085
$as_echo "$ac_try_echo"; } >&5
4086
  (eval "$ac_compile") 2>&5
4087
  ac_status=$?
4088
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4089
  test $ac_status = 0; }; then :
4090
  for ac_file in conftest.o conftest.obj conftest.*; do
4091
  test -f "$ac_file" || continue;
4092
  case $ac_file in
4093
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4094
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4095
       break;;
4096
  esac
4097
done
4098
else
4099
  $as_echo "$as_me: failed program was:" >&5
4100
sed 's/^/| /' conftest.$ac_ext >&5
4101
 
4102
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4103
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4104
as_fn_error "cannot compute suffix of object files: cannot compile
4105
See \`config.log' for more details." "$LINENO" 5; }
4106
fi
4107
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4108
fi
4109
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4110
$as_echo "$ac_cv_objext" >&6; }
4111
OBJEXT=$ac_cv_objext
4112
ac_objext=$OBJEXT
4113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4114
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4115
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4116
  $as_echo_n "(cached) " >&6
4117
else
4118
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119
/* end confdefs.h.  */
4120
 
4121
int
4122
main ()
4123
{
4124
#ifndef __GNUC__
4125
       choke me
4126
#endif
4127
 
4128
  ;
4129
  return 0;
4130
}
4131
_ACEOF
4132
if ac_fn_c_try_compile "$LINENO"; then :
4133
  ac_compiler_gnu=yes
4134
else
4135
  ac_compiler_gnu=no
4136
fi
4137
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4138
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4139
 
4140
fi
4141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4142
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4143
if test $ac_compiler_gnu = yes; then
4144
  GCC=yes
4145
else
4146
  GCC=
4147
fi
4148
ac_test_CFLAGS=${CFLAGS+set}
4149
ac_save_CFLAGS=$CFLAGS
4150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4151
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4152
if test "${ac_cv_prog_cc_g+set}" = set; then :
4153
  $as_echo_n "(cached) " >&6
4154
else
4155
  ac_save_c_werror_flag=$ac_c_werror_flag
4156
   ac_c_werror_flag=yes
4157
   ac_cv_prog_cc_g=no
4158
   CFLAGS="-g"
4159
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4160
/* end confdefs.h.  */
4161
 
4162
int
4163
main ()
4164
{
4165
 
4166
  ;
4167
  return 0;
4168
}
4169
_ACEOF
4170
if ac_fn_c_try_compile "$LINENO"; then :
4171
  ac_cv_prog_cc_g=yes
4172
else
4173
  CFLAGS=""
4174
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175
/* end confdefs.h.  */
4176
 
4177
int
4178
main ()
4179
{
4180
 
4181
  ;
4182
  return 0;
4183
}
4184
_ACEOF
4185
if ac_fn_c_try_compile "$LINENO"; then :
4186
 
4187
else
4188
  ac_c_werror_flag=$ac_save_c_werror_flag
4189
         CFLAGS="-g"
4190
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4191
/* end confdefs.h.  */
4192
 
4193
int
4194
main ()
4195
{
4196
 
4197
  ;
4198
  return 0;
4199
}
4200
_ACEOF
4201
if ac_fn_c_try_compile "$LINENO"; then :
4202
  ac_cv_prog_cc_g=yes
4203
fi
4204
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4205
fi
4206
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4207
fi
4208
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209
   ac_c_werror_flag=$ac_save_c_werror_flag
4210
fi
4211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4212
$as_echo "$ac_cv_prog_cc_g" >&6; }
4213
if test "$ac_test_CFLAGS" = set; then
4214
  CFLAGS=$ac_save_CFLAGS
4215
elif test $ac_cv_prog_cc_g = yes; then
4216
  if test "$GCC" = yes; then
4217
    CFLAGS="-g -O2"
4218
  else
4219
    CFLAGS="-g"
4220
  fi
4221
else
4222
  if test "$GCC" = yes; then
4223
    CFLAGS="-O2"
4224
  else
4225
    CFLAGS=
4226
  fi
4227
fi
4228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4229
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4230
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4231
  $as_echo_n "(cached) " >&6
4232
else
4233
  ac_cv_prog_cc_c89=no
4234
ac_save_CC=$CC
4235
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4236
/* end confdefs.h.  */
4237
#include 
4238
#include 
4239
#include 
4240
#include 
4241
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4242
struct buf { int x; };
4243
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4244
static char *e (p, i)
4245
     char **p;
4246
     int i;
4247
{
4248
  return p[i];
4249
}
4250
static char *f (char * (*g) (char **, int), char **p, ...)
4251
{
4252
  char *s;
4253
  va_list v;
4254
  va_start (v,p);
4255
  s = g (p, va_arg (v,int));
4256
  va_end (v);
4257
  return s;
4258
}
4259
 
4260
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4261
   function prototypes and stuff, but not '\xHH' hex character constants.
4262
   These don't provoke an error unfortunately, instead are silently treated
4263
   as 'x'.  The following induces an error, until -std is added to get
4264
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4265
   array size at least.  It's necessary to write '\x00'==0 to get something
4266
   that's true only with -std.  */
4267
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4268
 
4269
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4270
   inside strings and character constants.  */
4271
#define FOO(x) 'x'
4272
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4273
 
4274
int test (int i, double x);
4275
struct s1 {int (*f) (int a);};
4276
struct s2 {int (*f) (double a);};
4277
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4278
int argc;
4279
char **argv;
4280
int
4281
main ()
4282
{
4283
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4284
  ;
4285
  return 0;
4286
}
4287
_ACEOF
4288
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4289
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4290
do
4291
  CC="$ac_save_CC $ac_arg"
4292
  if ac_fn_c_try_compile "$LINENO"; then :
4293
  ac_cv_prog_cc_c89=$ac_arg
4294
fi
4295
rm -f core conftest.err conftest.$ac_objext
4296
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4297
done
4298
rm -f conftest.$ac_ext
4299
CC=$ac_save_CC
4300
 
4301
fi
4302
# AC_CACHE_VAL
4303
case "x$ac_cv_prog_cc_c89" in
4304
  x)
4305
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4306
$as_echo "none needed" >&6; } ;;
4307
  xno)
4308
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4309
$as_echo "unsupported" >&6; } ;;
4310
  *)
4311
    CC="$CC $ac_cv_prog_cc_c89"
4312
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4313
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4314
esac
4315
if test "x$ac_cv_prog_cc_c89" != xno; then :
4316
 
4317
fi
4318
 
4319
ac_ext=c
4320
ac_cpp='$CPP $CPPFLAGS'
4321
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4322
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4323
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4324
 
4325
depcc="$CC"   am_compiler_list=
4326
 
4327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4328
$as_echo_n "checking dependency style of $depcc... " >&6; }
4329
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4330
  $as_echo_n "(cached) " >&6
4331
else
4332
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4333
  # We make a subdir and do the tests there.  Otherwise we can end up
4334
  # making bogus files that we don't know about and never remove.  For
4335
  # instance it was reported that on HP-UX the gcc test will end up
4336
  # making a dummy file named `D' -- because `-MD' means `put the output
4337
  # in D'.
4338
  mkdir conftest.dir
4339
  # Copy depcomp to subdir because otherwise we won't find it if we're
4340
  # using a relative directory.
4341
  cp "$am_depcomp" conftest.dir
4342
  cd conftest.dir
4343
  # We will build objects and dependencies in a subdirectory because
4344
  # it helps to detect inapplicable dependency modes.  For instance
4345
  # both Tru64's cc and ICC support -MD to output dependencies as a
4346
  # side effect of compilation, but ICC will put the dependencies in
4347
  # the current directory while Tru64 will put them in the object
4348
  # directory.
4349
  mkdir sub
4350
 
4351
  am_cv_CC_dependencies_compiler_type=none
4352
  if test "$am_compiler_list" = ""; then
4353
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4354
  fi
4355
  am__universal=false
4356
  case " $depcc " in #(
4357
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4358
     esac
4359
 
4360
  for depmode in $am_compiler_list; do
4361
    # Setup a source with many dependencies, because some compilers
4362
    # like to wrap large dependency lists on column 80 (with \), and
4363
    # we should not choose a depcomp mode which is confused by this.
4364
    #
4365
    # We need to recreate these files for each test, as the compiler may
4366
    # overwrite some of them when testing with obscure command lines.
4367
    # This happens at least with the AIX C compiler.
4368
    : > sub/conftest.c
4369
    for i in 1 2 3 4 5 6; do
4370
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4371
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4372
      # Solaris 8's {/usr,}/bin/sh.
4373
      touch sub/conftst$i.h
4374
    done
4375
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4376
 
4377
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4378
    # mode.  It turns out that the SunPro C++ compiler does not properly
4379
    # handle `-M -o', and we need to detect this.  Also, some Intel
4380
    # versions had trouble with output in subdirs
4381
    am__obj=sub/conftest.${OBJEXT-o}
4382
    am__minus_obj="-o $am__obj"
4383
    case $depmode in
4384
    gcc)
4385
      # This depmode causes a compiler race in universal mode.
4386
      test "$am__universal" = false || continue
4387
      ;;
4388
    nosideeffect)
4389
      # after this tag, mechanisms are not by side-effect, so they'll
4390
      # only be used when explicitly requested
4391
      if test "x$enable_dependency_tracking" = xyes; then
4392
        continue
4393
      else
4394
        break
4395
      fi
4396
      ;;
4397
    msvisualcpp | msvcmsys)
4398
      # This compiler won't grok `-c -o', but also, the minuso test has
4399
      # not run yet.  These depmodes are late enough in the game, and
4400
      # so weak that their functioning should not be impacted.
4401
      am__obj=conftest.${OBJEXT-o}
4402
      am__minus_obj=
4403
      ;;
4404
    none) break ;;
4405
    esac
4406
    if depmode=$depmode \
4407
       source=sub/conftest.c object=$am__obj \
4408
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4409
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4410
         >/dev/null 2>conftest.err &&
4411
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4412
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4413
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4414
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4415
      # icc doesn't choke on unknown options, it will just issue warnings
4416
      # or remarks (even with -Werror).  So we grep stderr for any message
4417
      # that says an option was ignored or not supported.
4418
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4419
      #   icc: Command line warning: ignoring option '-M'; no argument required
4420
      # The diagnosis changed in icc 8.0:
4421
      #   icc: Command line remark: option '-MP' not supported
4422
      if (grep 'ignoring option' conftest.err ||
4423
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4424
        am_cv_CC_dependencies_compiler_type=$depmode
4425
        break
4426
      fi
4427
    fi
4428
  done
4429
 
4430
  cd ..
4431
  rm -rf conftest.dir
4432
else
4433
  am_cv_CC_dependencies_compiler_type=none
4434
fi
4435
 
4436
fi
4437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4438
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4439
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4440
 
4441
 if
4442
  test "x$enable_dependency_tracking" != xno \
4443
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4444
  am__fastdepCC_TRUE=
4445
  am__fastdepCC_FALSE='#'
4446
else
4447
  am__fastdepCC_TRUE='#'
4448
  am__fastdepCC_FALSE=
4449
fi
4450
 
4451
 
4452
 
4453
ac_ext=c
4454
ac_cpp='$CPP $CPPFLAGS'
4455
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4456
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4457
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4459
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4460
# On Suns, sometimes $CPP names a directory.
4461
if test -n "$CPP" && test -d "$CPP"; then
4462
  CPP=
4463
fi
4464
if test -z "$CPP"; then
4465
  if test "${ac_cv_prog_CPP+set}" = set; then :
4466
  $as_echo_n "(cached) " >&6
4467
else
4468
      # Double quotes because CPP needs to be expanded
4469
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4470
    do
4471
      ac_preproc_ok=false
4472
for ac_c_preproc_warn_flag in '' yes
4473
do
4474
  # Use a header file that comes with gcc, so configuring glibc
4475
  # with a fresh cross-compiler works.
4476
  # Prefer  to  if __STDC__ is defined, since
4477
  #  exists even on freestanding compilers.
4478
  # On the NeXT, cc -E runs the code through the compiler's parser,
4479
  # not just through cpp. "Syntax error" is here to catch this case.
4480
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4481
/* end confdefs.h.  */
4482
#ifdef __STDC__
4483
# include 
4484
#else
4485
# include 
4486
#endif
4487
                     Syntax error
4488
_ACEOF
4489
if ac_fn_c_try_cpp "$LINENO"; then :
4490
 
4491
else
4492
  # Broken: fails on valid input.
4493
continue
4494
fi
4495
rm -f conftest.err conftest.$ac_ext
4496
 
4497
  # OK, works on sane cases.  Now check whether nonexistent headers
4498
  # can be detected and how.
4499
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4500
/* end confdefs.h.  */
4501
#include 
4502
_ACEOF
4503
if ac_fn_c_try_cpp "$LINENO"; then :
4504
  # Broken: success on invalid input.
4505
continue
4506
else
4507
  # Passes both tests.
4508
ac_preproc_ok=:
4509
break
4510
fi
4511
rm -f conftest.err conftest.$ac_ext
4512
 
4513
done
4514
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4515
rm -f conftest.err conftest.$ac_ext
4516
if $ac_preproc_ok; then :
4517
  break
4518
fi
4519
 
4520
    done
4521
    ac_cv_prog_CPP=$CPP
4522
 
4523
fi
4524
  CPP=$ac_cv_prog_CPP
4525
else
4526
  ac_cv_prog_CPP=$CPP
4527
fi
4528
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4529
$as_echo "$CPP" >&6; }
4530
ac_preproc_ok=false
4531
for ac_c_preproc_warn_flag in '' yes
4532
do
4533
  # Use a header file that comes with gcc, so configuring glibc
4534
  # with a fresh cross-compiler works.
4535
  # Prefer  to  if __STDC__ is defined, since
4536
  #  exists even on freestanding compilers.
4537
  # On the NeXT, cc -E runs the code through the compiler's parser,
4538
  # not just through cpp. "Syntax error" is here to catch this case.
4539
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4540
/* end confdefs.h.  */
4541
#ifdef __STDC__
4542
# include 
4543
#else
4544
# include 
4545
#endif
4546
                     Syntax error
4547
_ACEOF
4548
if ac_fn_c_try_cpp "$LINENO"; then :
4549
 
4550
else
4551
  # Broken: fails on valid input.
4552
continue
4553
fi
4554
rm -f conftest.err conftest.$ac_ext
4555
 
4556
  # OK, works on sane cases.  Now check whether nonexistent headers
4557
  # can be detected and how.
4558
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559
/* end confdefs.h.  */
4560
#include 
4561
_ACEOF
4562
if ac_fn_c_try_cpp "$LINENO"; then :
4563
  # Broken: success on invalid input.
4564
continue
4565
else
4566
  # Passes both tests.
4567
ac_preproc_ok=:
4568
break
4569
fi
4570
rm -f conftest.err conftest.$ac_ext
4571
 
4572
done
4573
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4574
rm -f conftest.err conftest.$ac_ext
4575
if $ac_preproc_ok; then :
4576
 
4577
else
4578
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4579
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4580
as_fn_error "C preprocessor \"$CPP\" fails sanity check
4581
See \`config.log' for more details." "$LINENO" 5; }
4582
fi
4583
 
4584
ac_ext=c
4585
ac_cpp='$CPP $CPPFLAGS'
4586
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4587
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4588
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4589
 
4590
 
4591
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4592
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4593
if test "${ac_cv_path_GREP+set}" = set; then :
4594
  $as_echo_n "(cached) " >&6
4595
else
4596
  if test -z "$GREP"; then
4597
  ac_path_GREP_found=false
4598
  # Loop through the user's path and test for each of PROGNAME-LIST
4599
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4600
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4601
do
4602
  IFS=$as_save_IFS
4603
  test -z "$as_dir" && as_dir=.
4604
    for ac_prog in grep ggrep; do
4605
    for ac_exec_ext in '' $ac_executable_extensions; do
4606
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4607
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4608
# Check for GNU ac_path_GREP and select it if it is found.
4609
  # Check for GNU $ac_path_GREP
4610
case `"$ac_path_GREP" --version 2>&1` in
4611
*GNU*)
4612
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4613
*)
4614
  ac_count=0
4615
  $as_echo_n 0123456789 >"conftest.in"
4616
  while :
4617
  do
4618
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4619
    mv "conftest.tmp" "conftest.in"
4620
    cp "conftest.in" "conftest.nl"
4621
    $as_echo 'GREP' >> "conftest.nl"
4622
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4623
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4624
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4625
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4626
      # Best one so far, save it but keep looking for a better one
4627
      ac_cv_path_GREP="$ac_path_GREP"
4628
      ac_path_GREP_max=$ac_count
4629
    fi
4630
    # 10*(2^10) chars as input seems more than enough
4631
    test $ac_count -gt 10 && break
4632
  done
4633
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4634
esac
4635
 
4636
      $ac_path_GREP_found && break 3
4637
    done
4638
  done
4639
  done
4640
IFS=$as_save_IFS
4641
  if test -z "$ac_cv_path_GREP"; then
4642
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4643
  fi
4644
else
4645
  ac_cv_path_GREP=$GREP
4646
fi
4647
 
4648
fi
4649
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4650
$as_echo "$ac_cv_path_GREP" >&6; }
4651
 GREP="$ac_cv_path_GREP"
4652
 
4653
 
4654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4655
$as_echo_n "checking for egrep... " >&6; }
4656
if test "${ac_cv_path_EGREP+set}" = set; then :
4657
  $as_echo_n "(cached) " >&6
4658
else
4659
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4660
   then ac_cv_path_EGREP="$GREP -E"
4661
   else
4662
     if test -z "$EGREP"; then
4663
  ac_path_EGREP_found=false
4664
  # Loop through the user's path and test for each of PROGNAME-LIST
4665
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4666
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4667
do
4668
  IFS=$as_save_IFS
4669
  test -z "$as_dir" && as_dir=.
4670
    for ac_prog in egrep; do
4671
    for ac_exec_ext in '' $ac_executable_extensions; do
4672
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4673
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4674
# Check for GNU ac_path_EGREP and select it if it is found.
4675
  # Check for GNU $ac_path_EGREP
4676
case `"$ac_path_EGREP" --version 2>&1` in
4677
*GNU*)
4678
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4679
*)
4680
  ac_count=0
4681
  $as_echo_n 0123456789 >"conftest.in"
4682
  while :
4683
  do
4684
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4685
    mv "conftest.tmp" "conftest.in"
4686
    cp "conftest.in" "conftest.nl"
4687
    $as_echo 'EGREP' >> "conftest.nl"
4688
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4689
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4690
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4691
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4692
      # Best one so far, save it but keep looking for a better one
4693
      ac_cv_path_EGREP="$ac_path_EGREP"
4694
      ac_path_EGREP_max=$ac_count
4695
    fi
4696
    # 10*(2^10) chars as input seems more than enough
4697
    test $ac_count -gt 10 && break
4698
  done
4699
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4700
esac
4701
 
4702
      $ac_path_EGREP_found && break 3
4703
    done
4704
  done
4705
  done
4706
IFS=$as_save_IFS
4707
  if test -z "$ac_cv_path_EGREP"; then
4708
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4709
  fi
4710
else
4711
  ac_cv_path_EGREP=$EGREP
4712
fi
4713
 
4714
   fi
4715
fi
4716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4717
$as_echo "$ac_cv_path_EGREP" >&6; }
4718
 EGREP="$ac_cv_path_EGREP"
4719
 
4720
 
4721
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4722
$as_echo_n "checking for ANSI C header files... " >&6; }
4723
if test "${ac_cv_header_stdc+set}" = set; then :
4724
  $as_echo_n "(cached) " >&6
4725
else
4726
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4727
/* end confdefs.h.  */
4728
#include 
4729
#include 
4730
#include 
4731
#include 
4732
 
4733
int
4734
main ()
4735
{
4736
 
4737
  ;
4738
  return 0;
4739
}
4740
_ACEOF
4741
if ac_fn_c_try_compile "$LINENO"; then :
4742
  ac_cv_header_stdc=yes
4743
else
4744
  ac_cv_header_stdc=no
4745
fi
4746
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4747
 
4748
if test $ac_cv_header_stdc = yes; then
4749
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4750
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4751
/* end confdefs.h.  */
4752
#include 
4753
 
4754
_ACEOF
4755
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4756
  $EGREP "memchr" >/dev/null 2>&1; then :
4757
 
4758
else
4759
  ac_cv_header_stdc=no
4760
fi
4761
rm -f conftest*
4762
 
4763
fi
4764
 
4765
if test $ac_cv_header_stdc = yes; then
4766
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4767
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4768
/* end confdefs.h.  */
4769
#include 
4770
 
4771
_ACEOF
4772
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4773
  $EGREP "free" >/dev/null 2>&1; then :
4774
 
4775
else
4776
  ac_cv_header_stdc=no
4777
fi
4778
rm -f conftest*
4779
 
4780
fi
4781
 
4782
if test $ac_cv_header_stdc = yes; then
4783
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4784
  if test "$cross_compiling" = yes; then :
4785
  :
4786
else
4787
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4788
/* end confdefs.h.  */
4789
#include 
4790
#include 
4791
#if ((' ' & 0x0FF) == 0x020)
4792
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4793
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4794
#else
4795
# define ISLOWER(c) \
4796
                   (('a' <= (c) && (c) <= 'i') \
4797
                     || ('j' <= (c) && (c) <= 'r') \
4798
                     || ('s' <= (c) && (c) <= 'z'))
4799
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4800
#endif
4801
 
4802
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4803
int
4804
main ()
4805
{
4806
  int i;
4807
  for (i = 0; i < 256; i++)
4808
    if (XOR (islower (i), ISLOWER (i))
4809
        || toupper (i) != TOUPPER (i))
4810
      return 2;
4811
  return 0;
4812
}
4813
_ACEOF
4814
if ac_fn_c_try_run "$LINENO"; then :
4815
 
4816
else
4817
  ac_cv_header_stdc=no
4818
fi
4819
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4820
  conftest.$ac_objext conftest.beam conftest.$ac_ext
4821
fi
4822
 
4823
fi
4824
fi
4825
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4826
$as_echo "$ac_cv_header_stdc" >&6; }
4827
if test $ac_cv_header_stdc = yes; then
4828
 
4829
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4830
 
4831
fi
4832
 
4833
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4834
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4835
                  inttypes.h stdint.h unistd.h
4836
do :
4837
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4838
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4839
"
4840
eval as_val=\$$as_ac_Header
4841
   if test "x$as_val" = x""yes; then :
4842
  cat >>confdefs.h <<_ACEOF
4843
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4844
_ACEOF
4845
 
4846
fi
4847
 
4848
done
4849
 
4850
 
4851
 
4852
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4853
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4854
  MINIX=yes
4855
else
4856
  MINIX=
4857
fi
4858
 
4859
 
4860
  if test "$MINIX" = yes; then
4861
 
4862
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4863
 
4864
 
4865
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4866
 
4867
 
4868
$as_echo "#define _MINIX 1" >>confdefs.h
4869
 
4870
  fi
4871
 
4872
 
4873
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4874
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4875
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4876
  $as_echo_n "(cached) " >&6
4877
else
4878
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4879
/* end confdefs.h.  */
4880
 
4881
#         define __EXTENSIONS__ 1
4882
          $ac_includes_default
4883
int
4884
main ()
4885
{
4886
 
4887
  ;
4888
  return 0;
4889
}
4890
_ACEOF
4891
if ac_fn_c_try_compile "$LINENO"; then :
4892
  ac_cv_safe_to_define___extensions__=yes
4893
else
4894
  ac_cv_safe_to_define___extensions__=no
4895
fi
4896
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4897
fi
4898
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4899
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4900
  test $ac_cv_safe_to_define___extensions__ = yes &&
4901
    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4902
 
4903
  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4904
 
4905
  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4906
 
4907
  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4908
 
4909
  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4910
 
4911
 
4912
 
4913
# Calculate toolexeclibdir
4914
# Also toolexecdir, though it's only used in toolexeclibdir
4915
case ${version_specific_libs} in
4916
  yes)
4917
    # Need the gcc compiler version to know where to install libraries
4918
    # and header files if --enable-version-specific-runtime-libs option
4919
    # is selected.
4920
    toolexecdir='$(libdir)/gcc/$(target_alias)'
4921
    toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4922
    ;;
4923
  no)
4924
    if test -n "$with_cross_host" &&
4925
       test x"$with_cross_host" != x"no"; then
4926
      # Install a library built with a cross compiler in tooldir, not libdir.
4927
      toolexecdir='$(exec_prefix)/$(target_alias)'
4928
      toolexeclibdir='$(toolexecdir)/lib'
4929
    else
4930
      toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
4931
      toolexeclibdir='$(libdir)'
4932
    fi
4933
    multi_os_directory=`$CC -print-multi-os-directory`
4934
    case $multi_os_directory in
4935
      .) ;; # Avoid trailing /.
4936
      *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
4937
    esac
4938
    ;;
4939
esac
4940
 
4941
 
4942
 
4943
# Create a spec file, so that compile/link tests don't fail
4944
test -f libgfortran.spec || touch libgfortran.spec
4945
 
4946
ac_ext=c
4947
ac_cpp='$CPP $CPPFLAGS'
4948
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4949
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4950
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4951
 
4952
# Check the compiler.
4953
# The same as in boehm-gc and libstdc++. Have to borrow it from there.
4954
# We must force CC to /not/ be precious variables; otherwise
4955
# the wrong, non-multilib-adjusted value will be used in multilibs.
4956
# As a side effect, we have to subst CFLAGS ourselves.
4957
 
4958
 
4959
 
4960
ac_ext=c
4961
ac_cpp='$CPP $CPPFLAGS'
4962
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4963
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4964
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4965
if test -n "$ac_tool_prefix"; then
4966
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4967
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4969
$as_echo_n "checking for $ac_word... " >&6; }
4970
if test "${ac_cv_prog_CC+set}" = set; then :
4971
  $as_echo_n "(cached) " >&6
4972
else
4973
  if test -n "$CC"; then
4974
  ac_cv_prog_CC="$CC" # Let the user override the test.
4975
else
4976
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4977
for as_dir in $PATH
4978
do
4979
  IFS=$as_save_IFS
4980
  test -z "$as_dir" && as_dir=.
4981
    for ac_exec_ext in '' $ac_executable_extensions; do
4982
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4983
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4984
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4985
    break 2
4986
  fi
4987
done
4988
  done
4989
IFS=$as_save_IFS
4990
 
4991
fi
4992
fi
4993
CC=$ac_cv_prog_CC
4994
if test -n "$CC"; then
4995
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4996
$as_echo "$CC" >&6; }
4997
else
4998
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4999
$as_echo "no" >&6; }
5000
fi
5001
 
5002
 
5003
fi
5004
if test -z "$ac_cv_prog_CC"; then
5005
  ac_ct_CC=$CC
5006
  # Extract the first word of "gcc", so it can be a program name with args.
5007
set dummy gcc; ac_word=$2
5008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5009
$as_echo_n "checking for $ac_word... " >&6; }
5010
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5011
  $as_echo_n "(cached) " >&6
5012
else
5013
  if test -n "$ac_ct_CC"; then
5014
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5015
else
5016
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5017
for as_dir in $PATH
5018
do
5019
  IFS=$as_save_IFS
5020
  test -z "$as_dir" && as_dir=.
5021
    for ac_exec_ext in '' $ac_executable_extensions; do
5022
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5023
    ac_cv_prog_ac_ct_CC="gcc"
5024
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5025
    break 2
5026
  fi
5027
done
5028
  done
5029
IFS=$as_save_IFS
5030
 
5031
fi
5032
fi
5033
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5034
if test -n "$ac_ct_CC"; then
5035
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5036
$as_echo "$ac_ct_CC" >&6; }
5037
else
5038
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039
$as_echo "no" >&6; }
5040
fi
5041
 
5042
  if test "x$ac_ct_CC" = x; then
5043
    CC=""
5044
  else
5045
    case $cross_compiling:$ac_tool_warned in
5046
yes:)
5047
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5048
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5049
ac_tool_warned=yes ;;
5050
esac
5051
    CC=$ac_ct_CC
5052
  fi
5053
else
5054
  CC="$ac_cv_prog_CC"
5055
fi
5056
 
5057
if test -z "$CC"; then
5058
          if test -n "$ac_tool_prefix"; then
5059
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5060
set dummy ${ac_tool_prefix}cc; ac_word=$2
5061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5062
$as_echo_n "checking for $ac_word... " >&6; }
5063
if test "${ac_cv_prog_CC+set}" = set; then :
5064
  $as_echo_n "(cached) " >&6
5065
else
5066
  if test -n "$CC"; then
5067
  ac_cv_prog_CC="$CC" # Let the user override the test.
5068
else
5069
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5070
for as_dir in $PATH
5071
do
5072
  IFS=$as_save_IFS
5073
  test -z "$as_dir" && as_dir=.
5074
    for ac_exec_ext in '' $ac_executable_extensions; do
5075
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5076
    ac_cv_prog_CC="${ac_tool_prefix}cc"
5077
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5078
    break 2
5079
  fi
5080
done
5081
  done
5082
IFS=$as_save_IFS
5083
 
5084
fi
5085
fi
5086
CC=$ac_cv_prog_CC
5087
if test -n "$CC"; then
5088
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5089
$as_echo "$CC" >&6; }
5090
else
5091
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5092
$as_echo "no" >&6; }
5093
fi
5094
 
5095
 
5096
  fi
5097
fi
5098
if test -z "$CC"; then
5099
  # Extract the first word of "cc", so it can be a program name with args.
5100
set dummy cc; ac_word=$2
5101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5102
$as_echo_n "checking for $ac_word... " >&6; }
5103
if test "${ac_cv_prog_CC+set}" = set; then :
5104
  $as_echo_n "(cached) " >&6
5105
else
5106
  if test -n "$CC"; then
5107
  ac_cv_prog_CC="$CC" # Let the user override the test.
5108
else
5109
  ac_prog_rejected=no
5110
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5111
for as_dir in $PATH
5112
do
5113
  IFS=$as_save_IFS
5114
  test -z "$as_dir" && as_dir=.
5115
    for ac_exec_ext in '' $ac_executable_extensions; do
5116
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5117
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5118
       ac_prog_rejected=yes
5119
       continue
5120
     fi
5121
    ac_cv_prog_CC="cc"
5122
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5123
    break 2
5124
  fi
5125
done
5126
  done
5127
IFS=$as_save_IFS
5128
 
5129
if test $ac_prog_rejected = yes; then
5130
  # We found a bogon in the path, so make sure we never use it.
5131
  set dummy $ac_cv_prog_CC
5132
  shift
5133
  if test $# != 0; then
5134
    # We chose a different compiler from the bogus one.
5135
    # However, it has the same basename, so the bogon will be chosen
5136
    # first if we set CC to just the basename; use the full file name.
5137
    shift
5138
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5139
  fi
5140
fi
5141
fi
5142
fi
5143
CC=$ac_cv_prog_CC
5144
if test -n "$CC"; then
5145
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5146
$as_echo "$CC" >&6; }
5147
else
5148
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149
$as_echo "no" >&6; }
5150
fi
5151
 
5152
 
5153
fi
5154
if test -z "$CC"; then
5155
  if test -n "$ac_tool_prefix"; then
5156
  for ac_prog in cl.exe
5157
  do
5158
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5159
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5160
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5161
$as_echo_n "checking for $ac_word... " >&6; }
5162
if test "${ac_cv_prog_CC+set}" = set; then :
5163
  $as_echo_n "(cached) " >&6
5164
else
5165
  if test -n "$CC"; then
5166
  ac_cv_prog_CC="$CC" # Let the user override the test.
5167
else
5168
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5169
for as_dir in $PATH
5170
do
5171
  IFS=$as_save_IFS
5172
  test -z "$as_dir" && as_dir=.
5173
    for ac_exec_ext in '' $ac_executable_extensions; do
5174
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5175
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5176
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5177
    break 2
5178
  fi
5179
done
5180
  done
5181
IFS=$as_save_IFS
5182
 
5183
fi
5184
fi
5185
CC=$ac_cv_prog_CC
5186
if test -n "$CC"; then
5187
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5188
$as_echo "$CC" >&6; }
5189
else
5190
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5191
$as_echo "no" >&6; }
5192
fi
5193
 
5194
 
5195
    test -n "$CC" && break
5196
  done
5197
fi
5198
if test -z "$CC"; then
5199
  ac_ct_CC=$CC
5200
  for ac_prog in cl.exe
5201
do
5202
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5203
set dummy $ac_prog; ac_word=$2
5204
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5205
$as_echo_n "checking for $ac_word... " >&6; }
5206
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5207
  $as_echo_n "(cached) " >&6
5208
else
5209
  if test -n "$ac_ct_CC"; then
5210
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5211
else
5212
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213
for as_dir in $PATH
5214
do
5215
  IFS=$as_save_IFS
5216
  test -z "$as_dir" && as_dir=.
5217
    for ac_exec_ext in '' $ac_executable_extensions; do
5218
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219
    ac_cv_prog_ac_ct_CC="$ac_prog"
5220
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5221
    break 2
5222
  fi
5223
done
5224
  done
5225
IFS=$as_save_IFS
5226
 
5227
fi
5228
fi
5229
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5230
if test -n "$ac_ct_CC"; then
5231
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5232
$as_echo "$ac_ct_CC" >&6; }
5233
else
5234
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5235
$as_echo "no" >&6; }
5236
fi
5237
 
5238
 
5239
  test -n "$ac_ct_CC" && break
5240
done
5241
 
5242
  if test "x$ac_ct_CC" = x; then
5243
    CC=""
5244
  else
5245
    case $cross_compiling:$ac_tool_warned in
5246
yes:)
5247
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5248
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5249
ac_tool_warned=yes ;;
5250
esac
5251
    CC=$ac_ct_CC
5252
  fi
5253
fi
5254
 
5255
fi
5256
 
5257
 
5258
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5259
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5260
as_fn_error "no acceptable C compiler found in \$PATH
5261
See \`config.log' for more details." "$LINENO" 5; }
5262
 
5263
# Provide some information about the compiler.
5264
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5265
set X $ac_compile
5266
ac_compiler=$2
5267
for ac_option in --version -v -V -qversion; do
5268
  { { ac_try="$ac_compiler $ac_option >&5"
5269
case "(($ac_try" in
5270
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5271
  *) ac_try_echo=$ac_try;;
5272
esac
5273
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5274
$as_echo "$ac_try_echo"; } >&5
5275
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5276
  ac_status=$?
5277
  if test -s conftest.err; then
5278
    sed '10a\
5279
... rest of stderr output deleted ...
5280
         10q' conftest.err >conftest.er1
5281
    cat conftest.er1 >&5
5282
    rm -f conftest.er1 conftest.err
5283
  fi
5284
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5285
  test $ac_status = 0; }
5286
done
5287
 
5288
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5289
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5290
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5291
  $as_echo_n "(cached) " >&6
5292
else
5293
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5294
/* end confdefs.h.  */
5295
 
5296
int
5297
main ()
5298
{
5299
#ifndef __GNUC__
5300
       choke me
5301
#endif
5302
 
5303
  ;
5304
  return 0;
5305
}
5306
_ACEOF
5307
if ac_fn_c_try_compile "$LINENO"; then :
5308
  ac_compiler_gnu=yes
5309
else
5310
  ac_compiler_gnu=no
5311
fi
5312
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5313
ac_cv_c_compiler_gnu=$ac_compiler_gnu
5314
 
5315
fi
5316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5317
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5318
if test $ac_compiler_gnu = yes; then
5319
  GCC=yes
5320
else
5321
  GCC=
5322
fi
5323
ac_test_CFLAGS=${CFLAGS+set}
5324
ac_save_CFLAGS=$CFLAGS
5325
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5326
$as_echo_n "checking whether $CC accepts -g... " >&6; }
5327
if test "${ac_cv_prog_cc_g+set}" = set; then :
5328
  $as_echo_n "(cached) " >&6
5329
else
5330
  ac_save_c_werror_flag=$ac_c_werror_flag
5331
   ac_c_werror_flag=yes
5332
   ac_cv_prog_cc_g=no
5333
   CFLAGS="-g"
5334
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5335
/* end confdefs.h.  */
5336
 
5337
int
5338
main ()
5339
{
5340
 
5341
  ;
5342
  return 0;
5343
}
5344
_ACEOF
5345
if ac_fn_c_try_compile "$LINENO"; then :
5346
  ac_cv_prog_cc_g=yes
5347
else
5348
  CFLAGS=""
5349
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5350
/* end confdefs.h.  */
5351
 
5352
int
5353
main ()
5354
{
5355
 
5356
  ;
5357
  return 0;
5358
}
5359
_ACEOF
5360
if ac_fn_c_try_compile "$LINENO"; then :
5361
 
5362
else
5363
  ac_c_werror_flag=$ac_save_c_werror_flag
5364
         CFLAGS="-g"
5365
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5366
/* end confdefs.h.  */
5367
 
5368
int
5369
main ()
5370
{
5371
 
5372
  ;
5373
  return 0;
5374
}
5375
_ACEOF
5376
if ac_fn_c_try_compile "$LINENO"; then :
5377
  ac_cv_prog_cc_g=yes
5378
fi
5379
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5380
fi
5381
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5382
fi
5383
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5384
   ac_c_werror_flag=$ac_save_c_werror_flag
5385
fi
5386
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5387
$as_echo "$ac_cv_prog_cc_g" >&6; }
5388
if test "$ac_test_CFLAGS" = set; then
5389
  CFLAGS=$ac_save_CFLAGS
5390
elif test $ac_cv_prog_cc_g = yes; then
5391
  if test "$GCC" = yes; then
5392
    CFLAGS="-g -O2"
5393
  else
5394
    CFLAGS="-g"
5395
  fi
5396
else
5397
  if test "$GCC" = yes; then
5398
    CFLAGS="-O2"
5399
  else
5400
    CFLAGS=
5401
  fi
5402
fi
5403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5404
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5405
if test "${ac_cv_prog_cc_c89+set}" = set; then :
5406
  $as_echo_n "(cached) " >&6
5407
else
5408
  ac_cv_prog_cc_c89=no
5409
ac_save_CC=$CC
5410
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5411
/* end confdefs.h.  */
5412
#include 
5413
#include 
5414
#include 
5415
#include 
5416
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5417
struct buf { int x; };
5418
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5419
static char *e (p, i)
5420
     char **p;
5421
     int i;
5422
{
5423
  return p[i];
5424
}
5425
static char *f (char * (*g) (char **, int), char **p, ...)
5426
{
5427
  char *s;
5428
  va_list v;
5429
  va_start (v,p);
5430
  s = g (p, va_arg (v,int));
5431
  va_end (v);
5432
  return s;
5433
}
5434
 
5435
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5436
   function prototypes and stuff, but not '\xHH' hex character constants.
5437
   These don't provoke an error unfortunately, instead are silently treated
5438
   as 'x'.  The following induces an error, until -std is added to get
5439
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5440
   array size at least.  It's necessary to write '\x00'==0 to get something
5441
   that's true only with -std.  */
5442
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5443
 
5444
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5445
   inside strings and character constants.  */
5446
#define FOO(x) 'x'
5447
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5448
 
5449
int test (int i, double x);
5450
struct s1 {int (*f) (int a);};
5451
struct s2 {int (*f) (double a);};
5452
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5453
int argc;
5454
char **argv;
5455
int
5456
main ()
5457
{
5458
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5459
  ;
5460
  return 0;
5461
}
5462
_ACEOF
5463
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5464
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5465
do
5466
  CC="$ac_save_CC $ac_arg"
5467
  if ac_fn_c_try_compile "$LINENO"; then :
5468
  ac_cv_prog_cc_c89=$ac_arg
5469
fi
5470
rm -f core conftest.err conftest.$ac_objext
5471
  test "x$ac_cv_prog_cc_c89" != "xno" && break
5472
done
5473
rm -f conftest.$ac_ext
5474
CC=$ac_save_CC
5475
 
5476
fi
5477
# AC_CACHE_VAL
5478
case "x$ac_cv_prog_cc_c89" in
5479
  x)
5480
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5481
$as_echo "none needed" >&6; } ;;
5482
  xno)
5483
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5484
$as_echo "unsupported" >&6; } ;;
5485
  *)
5486
    CC="$CC $ac_cv_prog_cc_c89"
5487
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5488
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5489
esac
5490
if test "x$ac_cv_prog_cc_c89" != xno; then :
5491
 
5492
fi
5493
 
5494
ac_ext=c
5495
ac_cpp='$CPP $CPPFLAGS'
5496
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5497
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5498
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5499
 
5500
depcc="$CC"   am_compiler_list=
5501
 
5502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5503
$as_echo_n "checking dependency style of $depcc... " >&6; }
5504
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5505
  $as_echo_n "(cached) " >&6
5506
else
5507
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5508
  # We make a subdir and do the tests there.  Otherwise we can end up
5509
  # making bogus files that we don't know about and never remove.  For
5510
  # instance it was reported that on HP-UX the gcc test will end up
5511
  # making a dummy file named `D' -- because `-MD' means `put the output
5512
  # in D'.
5513
  mkdir conftest.dir
5514
  # Copy depcomp to subdir because otherwise we won't find it if we're
5515
  # using a relative directory.
5516
  cp "$am_depcomp" conftest.dir
5517
  cd conftest.dir
5518
  # We will build objects and dependencies in a subdirectory because
5519
  # it helps to detect inapplicable dependency modes.  For instance
5520
  # both Tru64's cc and ICC support -MD to output dependencies as a
5521
  # side effect of compilation, but ICC will put the dependencies in
5522
  # the current directory while Tru64 will put them in the object
5523
  # directory.
5524
  mkdir sub
5525
 
5526
  am_cv_CC_dependencies_compiler_type=none
5527
  if test "$am_compiler_list" = ""; then
5528
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5529
  fi
5530
  am__universal=false
5531
  case " $depcc " in #(
5532
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5533
     esac
5534
 
5535
  for depmode in $am_compiler_list; do
5536
    # Setup a source with many dependencies, because some compilers
5537
    # like to wrap large dependency lists on column 80 (with \), and
5538
    # we should not choose a depcomp mode which is confused by this.
5539
    #
5540
    # We need to recreate these files for each test, as the compiler may
5541
    # overwrite some of them when testing with obscure command lines.
5542
    # This happens at least with the AIX C compiler.
5543
    : > sub/conftest.c
5544
    for i in 1 2 3 4 5 6; do
5545
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5546
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5547
      # Solaris 8's {/usr,}/bin/sh.
5548
      touch sub/conftst$i.h
5549
    done
5550
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5551
 
5552
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5553
    # mode.  It turns out that the SunPro C++ compiler does not properly
5554
    # handle `-M -o', and we need to detect this.  Also, some Intel
5555
    # versions had trouble with output in subdirs
5556
    am__obj=sub/conftest.${OBJEXT-o}
5557
    am__minus_obj="-o $am__obj"
5558
    case $depmode in
5559
    gcc)
5560
      # This depmode causes a compiler race in universal mode.
5561
      test "$am__universal" = false || continue
5562
      ;;
5563
    nosideeffect)
5564
      # after this tag, mechanisms are not by side-effect, so they'll
5565
      # only be used when explicitly requested
5566
      if test "x$enable_dependency_tracking" = xyes; then
5567
        continue
5568
      else
5569
        break
5570
      fi
5571
      ;;
5572
    msvisualcpp | msvcmsys)
5573
      # This compiler won't grok `-c -o', but also, the minuso test has
5574
      # not run yet.  These depmodes are late enough in the game, and
5575
      # so weak that their functioning should not be impacted.
5576
      am__obj=conftest.${OBJEXT-o}
5577
      am__minus_obj=
5578
      ;;
5579
    none) break ;;
5580
    esac
5581
    if depmode=$depmode \
5582
       source=sub/conftest.c object=$am__obj \
5583
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5584
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5585
         >/dev/null 2>conftest.err &&
5586
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5587
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5588
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5589
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5590
      # icc doesn't choke on unknown options, it will just issue warnings
5591
      # or remarks (even with -Werror).  So we grep stderr for any message
5592
      # that says an option was ignored or not supported.
5593
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5594
      #   icc: Command line warning: ignoring option '-M'; no argument required
5595
      # The diagnosis changed in icc 8.0:
5596
      #   icc: Command line remark: option '-MP' not supported
5597
      if (grep 'ignoring option' conftest.err ||
5598
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5599
        am_cv_CC_dependencies_compiler_type=$depmode
5600
        break
5601
      fi
5602
    fi
5603
  done
5604
 
5605
  cd ..
5606
  rm -rf conftest.dir
5607
else
5608
  am_cv_CC_dependencies_compiler_type=none
5609
fi
5610
 
5611
fi
5612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5613
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5614
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5615
 
5616
 if
5617
  test "x$enable_dependency_tracking" != xno \
5618
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5619
  am__fastdepCC_TRUE=
5620
  am__fastdepCC_FALSE='#'
5621
else
5622
  am__fastdepCC_TRUE='#'
5623
  am__fastdepCC_FALSE=
5624
fi
5625
 
5626
 
5627
 
5628
 
5629
 
5630
 
5631
if test "x$CC" != xcc; then
5632
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5633
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5634
else
5635
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5636
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5637
fi
5638
set dummy $CC; ac_cc=`$as_echo "$2" |
5639
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5640
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5641
  $as_echo_n "(cached) " >&6
5642
else
5643
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5644
/* end confdefs.h.  */
5645
 
5646
int
5647
main ()
5648
{
5649
 
5650
  ;
5651
  return 0;
5652
}
5653
_ACEOF
5654
# Make sure it works both with $CC and with simple cc.
5655
# We do the test twice because some compilers refuse to overwrite an
5656
# existing .o file with -o, though they will create one.
5657
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5658
rm -f conftest2.*
5659
if { { case "(($ac_try" in
5660
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5661
  *) ac_try_echo=$ac_try;;
5662
esac
5663
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5664
$as_echo "$ac_try_echo"; } >&5
5665
  (eval "$ac_try") 2>&5
5666
  ac_status=$?
5667
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5668
  test $ac_status = 0; } &&
5669
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
5670
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5671
  *) ac_try_echo=$ac_try;;
5672
esac
5673
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5674
$as_echo "$ac_try_echo"; } >&5
5675
  (eval "$ac_try") 2>&5
5676
  ac_status=$?
5677
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5678
  test $ac_status = 0; };
5679
then
5680
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5681
  if test "x$CC" != xcc; then
5682
    # Test first that cc exists at all.
5683
    if { ac_try='cc -c conftest.$ac_ext >&5'
5684
  { { case "(($ac_try" in
5685
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5686
  *) ac_try_echo=$ac_try;;
5687
esac
5688
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5689
$as_echo "$ac_try_echo"; } >&5
5690
  (eval "$ac_try") 2>&5
5691
  ac_status=$?
5692
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5693
  test $ac_status = 0; }; }; then
5694
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5695
      rm -f conftest2.*
5696
      if { { case "(($ac_try" in
5697
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5698
  *) ac_try_echo=$ac_try;;
5699
esac
5700
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5701
$as_echo "$ac_try_echo"; } >&5
5702
  (eval "$ac_try") 2>&5
5703
  ac_status=$?
5704
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5705
  test $ac_status = 0; } &&
5706
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
5707
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5708
  *) ac_try_echo=$ac_try;;
5709
esac
5710
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5711
$as_echo "$ac_try_echo"; } >&5
5712
  (eval "$ac_try") 2>&5
5713
  ac_status=$?
5714
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5715
  test $ac_status = 0; };
5716
      then
5717
        # cc works too.
5718
        :
5719
      else
5720
        # cc exists but doesn't like -o.
5721
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
5722
      fi
5723
    fi
5724
  fi
5725
else
5726
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
5727
fi
5728
rm -f core conftest*
5729
 
5730
fi
5731
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5732
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5733
$as_echo "yes" >&6; }
5734
else
5735
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736
$as_echo "no" >&6; }
5737
 
5738
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5739
 
5740
fi
5741
 
5742
# FIXME: we rely on the cache variable name because
5743
# there is no other way.
5744
set dummy $CC
5745
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5746
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5747
if test "$am_t" != yes; then
5748
   # Losing compiler, so override with the script.
5749
   # FIXME: It is wrong to rewrite CC.
5750
   # But if we don't then we get into trouble of one sort or another.
5751
   # A longer-term fix would be to have automake use am__CC in this case,
5752
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5753
   CC="$am_aux_dir/compile $CC"
5754
fi
5755
 
5756
 
5757
 
5758
# Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5759
if test "x$GCC" = "xyes"; then
5760
  AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5761
  ## We like to use C99 routines when available.  This makes sure that
5762
  ## __STDC_VERSION__ is set such that libc includes make them available.
5763
  AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5764
  ## Compile the following tests with the same system header contents
5765
  ## that we'll encounter when compiling our own source files.
5766
  CFLAGS="-std=gnu99 $CFLAGS"
5767
fi
5768
 
5769
 
5770
 
5771
 
5772
# Check for symbol versioning (copied from libssp).
5773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5774
$as_echo_n "checking whether symbol versioning is supported... " >&6; }
5775
# Check whether --enable-symvers was given.
5776
if test "${enable_symvers+set}" = set; then :
5777
  enableval=$enable_symvers; gfortran_use_symver=$enableval
5778
else
5779
  gfortran_use_symver=yes
5780
fi
5781
 
5782
if test "x$gfortran_use_symver" = xyes; then
5783
  save_LDFLAGS="$LDFLAGS"
5784
  LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5785
  cat > conftest.map <
5786
FOO_1.0 {
5787
  global: *foo*; bar; local: *;
5788
};
5789
EOF
5790
  if test x$gcc_no_link = xyes; then
5791
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5792
fi
5793
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5794
/* end confdefs.h.  */
5795
int foo;
5796
int
5797
main ()
5798
{
5799
 
5800
  ;
5801
  return 0;
5802
}
5803
_ACEOF
5804
if ac_fn_c_try_link "$LINENO"; then :
5805
  gfortran_use_symver=gnu
5806
else
5807
  gfortran_use_symver=no
5808
fi
5809
rm -f core conftest.err conftest.$ac_objext \
5810
    conftest$ac_exeext conftest.$ac_ext
5811
  if test x$gfortran_use_symver = xno; then
5812
    case "$target_os" in
5813
      solaris2*)
5814
        LDFLAGS="$save_LDFLAGS"
5815
        LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5816
        # Sun ld cannot handle wildcards and treats all entries as undefined.
5817
        cat > conftest.map <
5818
FOO_1.0 {
5819
  global: foo; local: *;
5820
};
5821
EOF
5822
        if test x$gcc_no_link = xyes; then
5823
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5824
fi
5825
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5826
/* end confdefs.h.  */
5827
int foo;
5828
int
5829
main ()
5830
{
5831
 
5832
  ;
5833
  return 0;
5834
}
5835
_ACEOF
5836
if ac_fn_c_try_link "$LINENO"; then :
5837
  gfortran_use_symver=sun
5838
else
5839
  gfortran_use_symver=no
5840
fi
5841
rm -f core conftest.err conftest.$ac_objext \
5842
    conftest$ac_exeext conftest.$ac_ext
5843
        ;;
5844
    esac
5845
  fi
5846
  LDFLAGS="$save_LDFLAGS"
5847
fi
5848
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5849
$as_echo "$gfortran_use_symver" >&6; }
5850
 if test "x$gfortran_use_symver" != xno; then
5851
  LIBGFOR_USE_SYMVER_TRUE=
5852
  LIBGFOR_USE_SYMVER_FALSE='#'
5853
else
5854
  LIBGFOR_USE_SYMVER_TRUE='#'
5855
  LIBGFOR_USE_SYMVER_FALSE=
5856
fi
5857
 
5858
 if test "x$gfortran_use_symver" = xgnu; then
5859
  LIBGFOR_USE_SYMVER_GNU_TRUE=
5860
  LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5861
else
5862
  LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5863
  LIBGFOR_USE_SYMVER_GNU_FALSE=
5864
fi
5865
 
5866
 if test "x$gfortran_use_symver" = xsun; then
5867
  LIBGFOR_USE_SYMVER_SUN_TRUE=
5868
  LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5869
else
5870
  LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5871
  LIBGFOR_USE_SYMVER_SUN_FALSE=
5872
fi
5873
 
5874
 
5875
# Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5876
# similarly to how libstdc++ does it
5877
ac_test_CFLAGS="${CFLAGS+set}"
5878
ac_save_CFLAGS="$CFLAGS"
5879
 
5880
# Check for -ffunction-sections -fdata-sections
5881
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5882
$as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5883
CFLAGS='-Werror -ffunction-sections -fdata-sections'
5884
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5885
/* end confdefs.h.  */
5886
 
5887
int
5888
main ()
5889
{
5890
int foo;
5891
  ;
5892
  return 0;
5893
}
5894
_ACEOF
5895
if ac_fn_c_try_compile "$LINENO"; then :
5896
  ac_fdsections=yes
5897
else
5898
  ac_fdsections=no
5899
fi
5900
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5901
if test "$ac_test_CFLAGS" = set; then
5902
  CFLAGS="$ac_save_CFLAGS"
5903
else
5904
  # this is the suspicious part
5905
  CFLAGS=""
5906
fi
5907
if test x"$ac_fdsections" = x"yes"; then
5908
  SECTION_FLAGS='-ffunction-sections -fdata-sections'
5909
fi
5910
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5911
$as_echo "$ac_fdsections" >&6; }
5912
 
5913
 
5914
# Find other programs we need.
5915
if test -n "$ac_tool_prefix"; then
5916
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5917
set dummy ${ac_tool_prefix}as; ac_word=$2
5918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5919
$as_echo_n "checking for $ac_word... " >&6; }
5920
if test "${ac_cv_prog_AS+set}" = set; then :
5921
  $as_echo_n "(cached) " >&6
5922
else
5923
  if test -n "$AS"; then
5924
  ac_cv_prog_AS="$AS" # Let the user override the test.
5925
else
5926
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5927
for as_dir in $PATH
5928
do
5929
  IFS=$as_save_IFS
5930
  test -z "$as_dir" && as_dir=.
5931
    for ac_exec_ext in '' $ac_executable_extensions; do
5932
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5933
    ac_cv_prog_AS="${ac_tool_prefix}as"
5934
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5935
    break 2
5936
  fi
5937
done
5938
  done
5939
IFS=$as_save_IFS
5940
 
5941
fi
5942
fi
5943
AS=$ac_cv_prog_AS
5944
if test -n "$AS"; then
5945
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5946
$as_echo "$AS" >&6; }
5947
else
5948
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5949
$as_echo "no" >&6; }
5950
fi
5951
 
5952
 
5953
fi
5954
if test -z "$ac_cv_prog_AS"; then
5955
  ac_ct_AS=$AS
5956
  # Extract the first word of "as", so it can be a program name with args.
5957
set dummy as; ac_word=$2
5958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5959
$as_echo_n "checking for $ac_word... " >&6; }
5960
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5961
  $as_echo_n "(cached) " >&6
5962
else
5963
  if test -n "$ac_ct_AS"; then
5964
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5965
else
5966
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967
for as_dir in $PATH
5968
do
5969
  IFS=$as_save_IFS
5970
  test -z "$as_dir" && as_dir=.
5971
    for ac_exec_ext in '' $ac_executable_extensions; do
5972
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5973
    ac_cv_prog_ac_ct_AS="as"
5974
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5975
    break 2
5976
  fi
5977
done
5978
  done
5979
IFS=$as_save_IFS
5980
 
5981
fi
5982
fi
5983
ac_ct_AS=$ac_cv_prog_ac_ct_AS
5984
if test -n "$ac_ct_AS"; then
5985
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5986
$as_echo "$ac_ct_AS" >&6; }
5987
else
5988
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5989
$as_echo "no" >&6; }
5990
fi
5991
 
5992
  if test "x$ac_ct_AS" = x; then
5993
    AS=""
5994
  else
5995
    case $cross_compiling:$ac_tool_warned in
5996
yes:)
5997
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5998
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5999
ac_tool_warned=yes ;;
6000
esac
6001
    AS=$ac_ct_AS
6002
  fi
6003
else
6004
  AS="$ac_cv_prog_AS"
6005
fi
6006
 
6007
if test -n "$ac_tool_prefix"; then
6008
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6009
set dummy ${ac_tool_prefix}ar; ac_word=$2
6010
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6011
$as_echo_n "checking for $ac_word... " >&6; }
6012
if test "${ac_cv_prog_AR+set}" = set; then :
6013
  $as_echo_n "(cached) " >&6
6014
else
6015
  if test -n "$AR"; then
6016
  ac_cv_prog_AR="$AR" # Let the user override the test.
6017
else
6018
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6019
for as_dir in $PATH
6020
do
6021
  IFS=$as_save_IFS
6022
  test -z "$as_dir" && as_dir=.
6023
    for ac_exec_ext in '' $ac_executable_extensions; do
6024
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6025
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6026
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6027
    break 2
6028
  fi
6029
done
6030
  done
6031
IFS=$as_save_IFS
6032
 
6033
fi
6034
fi
6035
AR=$ac_cv_prog_AR
6036
if test -n "$AR"; then
6037
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6038
$as_echo "$AR" >&6; }
6039
else
6040
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6041
$as_echo "no" >&6; }
6042
fi
6043
 
6044
 
6045
fi
6046
if test -z "$ac_cv_prog_AR"; then
6047
  ac_ct_AR=$AR
6048
  # Extract the first word of "ar", so it can be a program name with args.
6049
set dummy ar; ac_word=$2
6050
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6051
$as_echo_n "checking for $ac_word... " >&6; }
6052
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6053
  $as_echo_n "(cached) " >&6
6054
else
6055
  if test -n "$ac_ct_AR"; then
6056
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6057
else
6058
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6059
for as_dir in $PATH
6060
do
6061
  IFS=$as_save_IFS
6062
  test -z "$as_dir" && as_dir=.
6063
    for ac_exec_ext in '' $ac_executable_extensions; do
6064
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6065
    ac_cv_prog_ac_ct_AR="ar"
6066
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6067
    break 2
6068
  fi
6069
done
6070
  done
6071
IFS=$as_save_IFS
6072
 
6073
fi
6074
fi
6075
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6076
if test -n "$ac_ct_AR"; then
6077
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6078
$as_echo "$ac_ct_AR" >&6; }
6079
else
6080
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6081
$as_echo "no" >&6; }
6082
fi
6083
 
6084
  if test "x$ac_ct_AR" = x; then
6085
    AR=""
6086
  else
6087
    case $cross_compiling:$ac_tool_warned in
6088
yes:)
6089
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6090
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6091
ac_tool_warned=yes ;;
6092
esac
6093
    AR=$ac_ct_AR
6094
  fi
6095
else
6096
  AR="$ac_cv_prog_AR"
6097
fi
6098
 
6099
if test -n "$ac_tool_prefix"; then
6100
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6101
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6102
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6103
$as_echo_n "checking for $ac_word... " >&6; }
6104
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6105
  $as_echo_n "(cached) " >&6
6106
else
6107
  if test -n "$RANLIB"; then
6108
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6109
else
6110
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6111
for as_dir in $PATH
6112
do
6113
  IFS=$as_save_IFS
6114
  test -z "$as_dir" && as_dir=.
6115
    for ac_exec_ext in '' $ac_executable_extensions; do
6116
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6117
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6118
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6119
    break 2
6120
  fi
6121
done
6122
  done
6123
IFS=$as_save_IFS
6124
 
6125
fi
6126
fi
6127
RANLIB=$ac_cv_prog_RANLIB
6128
if test -n "$RANLIB"; then
6129
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6130
$as_echo "$RANLIB" >&6; }
6131
else
6132
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6133
$as_echo "no" >&6; }
6134
fi
6135
 
6136
 
6137
fi
6138
if test -z "$ac_cv_prog_RANLIB"; then
6139
  ac_ct_RANLIB=$RANLIB
6140
  # Extract the first word of "ranlib", so it can be a program name with args.
6141
set dummy ranlib; ac_word=$2
6142
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6143
$as_echo_n "checking for $ac_word... " >&6; }
6144
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6145
  $as_echo_n "(cached) " >&6
6146
else
6147
  if test -n "$ac_ct_RANLIB"; then
6148
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6149
else
6150
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6151
for as_dir in $PATH
6152
do
6153
  IFS=$as_save_IFS
6154
  test -z "$as_dir" && as_dir=.
6155
    for ac_exec_ext in '' $ac_executable_extensions; do
6156
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6157
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6158
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6159
    break 2
6160
  fi
6161
done
6162
  done
6163
IFS=$as_save_IFS
6164
 
6165
fi
6166
fi
6167
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6168
if test -n "$ac_ct_RANLIB"; then
6169
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6170
$as_echo "$ac_ct_RANLIB" >&6; }
6171
else
6172
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6173
$as_echo "no" >&6; }
6174
fi
6175
 
6176
  if test "x$ac_ct_RANLIB" = x; then
6177
    RANLIB="ranlib-not-found-in-path-error"
6178
  else
6179
    case $cross_compiling:$ac_tool_warned in
6180
yes:)
6181
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6182
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6183
ac_tool_warned=yes ;;
6184
esac
6185
    RANLIB=$ac_ct_RANLIB
6186
  fi
6187
else
6188
  RANLIB="$ac_cv_prog_RANLIB"
6189
fi
6190
 
6191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6192
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6193
set x ${MAKE-make}
6194
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6195
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6196
  $as_echo_n "(cached) " >&6
6197
else
6198
  cat >conftest.make <<\_ACEOF
6199
SHELL = /bin/sh
6200
all:
6201
        @echo '@@@%%%=$(MAKE)=@@@%%%'
6202
_ACEOF
6203
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6204
case `${MAKE-make} -f conftest.make 2>/dev/null` in
6205
  *@@@%%%=?*=@@@%%%*)
6206
    eval ac_cv_prog_make_${ac_make}_set=yes;;
6207
  *)
6208
    eval ac_cv_prog_make_${ac_make}_set=no;;
6209
esac
6210
rm -f conftest.make
6211
fi
6212
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6213
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6214
$as_echo "yes" >&6; }
6215
  SET_MAKE=
6216
else
6217
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6218
$as_echo "no" >&6; }
6219
  SET_MAKE="MAKE=${MAKE-make}"
6220
fi
6221
 
6222
 
6223
 
6224
# Configure libtool
6225
#AC_MSG_NOTICE([====== Starting libtool configuration])
6226
enable_dlopen=yes
6227
 
6228
 
6229
 
6230
case `pwd` in
6231
  *\ * | *\     *)
6232
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6233
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6234
esac
6235
 
6236
 
6237
 
6238
macro_version='2.2.7a'
6239
macro_revision='1.3134'
6240
 
6241
 
6242
 
6243
 
6244
 
6245
 
6246
 
6247
 
6248
 
6249
 
6250
 
6251
 
6252
 
6253
ltmain="$ac_aux_dir/ltmain.sh"
6254
 
6255
# Backslashify metacharacters that are still active within
6256
# double-quoted strings.
6257
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6258
 
6259
# Same as above, but do not quote variable references.
6260
double_quote_subst='s/\(["`\\]\)/\\\1/g'
6261
 
6262
# Sed substitution to delay expansion of an escaped shell variable in a
6263
# double_quote_subst'ed string.
6264
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6265
 
6266
# Sed substitution to delay expansion of an escaped single quote.
6267
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6268
 
6269
# Sed substitution to avoid accidental globbing in evaled expressions
6270
no_glob_subst='s/\*/\\\*/g'
6271
 
6272
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6273
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6274
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6275
 
6276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6277
$as_echo_n "checking how to print strings... " >&6; }
6278
# Test print first, because it will be a builtin if present.
6279
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6280
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6281
  ECHO='print -r --'
6282
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6283
  ECHO='printf %s\n'
6284
else
6285
  # Use this function as a fallback that always works.
6286
  func_fallback_echo ()
6287
  {
6288
    eval 'cat <<_LTECHO_EOF
6289
$1
6290
_LTECHO_EOF'
6291
  }
6292
  ECHO='func_fallback_echo'
6293
fi
6294
 
6295
# func_echo_all arg...
6296
# Invoke $ECHO with all args, space-separated.
6297
func_echo_all ()
6298
{
6299
    $ECHO ""
6300
}
6301
 
6302
case "$ECHO" in
6303
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6304
$as_echo "printf" >&6; } ;;
6305
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6306
$as_echo "print -r" >&6; } ;;
6307
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6308
$as_echo "cat" >&6; } ;;
6309
esac
6310
 
6311
 
6312
 
6313
 
6314
 
6315
 
6316
 
6317
 
6318
 
6319
 
6320
 
6321
 
6322
 
6323
 
6324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6325
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6326
if test "${ac_cv_path_SED+set}" = set; then :
6327
  $as_echo_n "(cached) " >&6
6328
else
6329
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6330
     for ac_i in 1 2 3 4 5 6 7; do
6331
       ac_script="$ac_script$as_nl$ac_script"
6332
     done
6333
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6334
     { ac_script=; unset ac_script;}
6335
     if test -z "$SED"; then
6336
  ac_path_SED_found=false
6337
  # Loop through the user's path and test for each of PROGNAME-LIST
6338
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6339
for as_dir in $PATH
6340
do
6341
  IFS=$as_save_IFS
6342
  test -z "$as_dir" && as_dir=.
6343
    for ac_prog in sed gsed; do
6344
    for ac_exec_ext in '' $ac_executable_extensions; do
6345
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6346
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6347
# Check for GNU ac_path_SED and select it if it is found.
6348
  # Check for GNU $ac_path_SED
6349
case `"$ac_path_SED" --version 2>&1` in
6350
*GNU*)
6351
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6352
*)
6353
  ac_count=0
6354
  $as_echo_n 0123456789 >"conftest.in"
6355
  while :
6356
  do
6357
    cat "conftest.in" "conftest.in" >"conftest.tmp"
6358
    mv "conftest.tmp" "conftest.in"
6359
    cp "conftest.in" "conftest.nl"
6360
    $as_echo '' >> "conftest.nl"
6361
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6362
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6363
    as_fn_arith $ac_count + 1 && ac_count=$as_val
6364
    if test $ac_count -gt ${ac_path_SED_max-0}; then
6365
      # Best one so far, save it but keep looking for a better one
6366
      ac_cv_path_SED="$ac_path_SED"
6367
      ac_path_SED_max=$ac_count
6368
    fi
6369
    # 10*(2^10) chars as input seems more than enough
6370
    test $ac_count -gt 10 && break
6371
  done
6372
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6373
esac
6374
 
6375
      $ac_path_SED_found && break 3
6376
    done
6377
  done
6378
  done
6379
IFS=$as_save_IFS
6380
  if test -z "$ac_cv_path_SED"; then
6381
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6382
  fi
6383
else
6384
  ac_cv_path_SED=$SED
6385
fi
6386
 
6387
fi
6388
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6389
$as_echo "$ac_cv_path_SED" >&6; }
6390
 SED="$ac_cv_path_SED"
6391
  rm -f conftest.sed
6392
 
6393
test -z "$SED" && SED=sed
6394
Xsed="$SED -e 1s/^X//"
6395
 
6396
 
6397
 
6398
 
6399
 
6400
 
6401
 
6402
 
6403
 
6404
 
6405
 
6406
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6407
$as_echo_n "checking for fgrep... " >&6; }
6408
if test "${ac_cv_path_FGREP+set}" = set; then :
6409
  $as_echo_n "(cached) " >&6
6410
else
6411
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6412
   then ac_cv_path_FGREP="$GREP -F"
6413
   else
6414
     if test -z "$FGREP"; then
6415
  ac_path_FGREP_found=false
6416
  # Loop through the user's path and test for each of PROGNAME-LIST
6417
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6418
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6419
do
6420
  IFS=$as_save_IFS
6421
  test -z "$as_dir" && as_dir=.
6422
    for ac_prog in fgrep; do
6423
    for ac_exec_ext in '' $ac_executable_extensions; do
6424
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6425
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6426
# Check for GNU ac_path_FGREP and select it if it is found.
6427
  # Check for GNU $ac_path_FGREP
6428
case `"$ac_path_FGREP" --version 2>&1` in
6429
*GNU*)
6430
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6431
*)
6432
  ac_count=0
6433
  $as_echo_n 0123456789 >"conftest.in"
6434
  while :
6435
  do
6436
    cat "conftest.in" "conftest.in" >"conftest.tmp"
6437
    mv "conftest.tmp" "conftest.in"
6438
    cp "conftest.in" "conftest.nl"
6439
    $as_echo 'FGREP' >> "conftest.nl"
6440
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6441
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6442
    as_fn_arith $ac_count + 1 && ac_count=$as_val
6443
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6444
      # Best one so far, save it but keep looking for a better one
6445
      ac_cv_path_FGREP="$ac_path_FGREP"
6446
      ac_path_FGREP_max=$ac_count
6447
    fi
6448
    # 10*(2^10) chars as input seems more than enough
6449
    test $ac_count -gt 10 && break
6450
  done
6451
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6452
esac
6453
 
6454
      $ac_path_FGREP_found && break 3
6455
    done
6456
  done
6457
  done
6458
IFS=$as_save_IFS
6459
  if test -z "$ac_cv_path_FGREP"; then
6460
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6461
  fi
6462
else
6463
  ac_cv_path_FGREP=$FGREP
6464
fi
6465
 
6466
   fi
6467
fi
6468
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6469
$as_echo "$ac_cv_path_FGREP" >&6; }
6470
 FGREP="$ac_cv_path_FGREP"
6471
 
6472
 
6473
test -z "$GREP" && GREP=grep
6474
 
6475
 
6476
 
6477
 
6478
 
6479
 
6480
 
6481
 
6482
 
6483
 
6484
 
6485
 
6486
 
6487
 
6488
 
6489
 
6490
 
6491
 
6492
 
6493
# Check whether --with-gnu-ld was given.
6494
if test "${with_gnu_ld+set}" = set; then :
6495
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6496
else
6497
  with_gnu_ld=no
6498
fi
6499
 
6500
ac_prog=ld
6501
if test "$GCC" = yes; then
6502
  # Check if gcc -print-prog-name=ld gives a path.
6503
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6504
$as_echo_n "checking for ld used by $CC... " >&6; }
6505
  case $host in
6506
  *-*-mingw*)
6507
    # gcc leaves a trailing carriage return which upsets mingw
6508
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6509
  *)
6510
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6511
  esac
6512
  case $ac_prog in
6513
    # Accept absolute paths.
6514
    [\\/]* | ?:[\\/]*)
6515
      re_direlt='/[^/][^/]*/\.\./'
6516
      # Canonicalize the pathname of ld
6517
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6518
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6519
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6520
      done
6521
      test -z "$LD" && LD="$ac_prog"
6522
      ;;
6523
  "")
6524
    # If it fails, then pretend we aren't using GCC.
6525
    ac_prog=ld
6526
    ;;
6527
  *)
6528
    # If it is relative, then search for the first ld in PATH.
6529
    with_gnu_ld=unknown
6530
    ;;
6531
  esac
6532
elif test "$with_gnu_ld" = yes; then
6533
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6534
$as_echo_n "checking for GNU ld... " >&6; }
6535
else
6536
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6537
$as_echo_n "checking for non-GNU ld... " >&6; }
6538
fi
6539
if test "${lt_cv_path_LD+set}" = set; then :
6540
  $as_echo_n "(cached) " >&6
6541
else
6542
  if test -z "$LD"; then
6543
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6544
  for ac_dir in $PATH; do
6545
    IFS="$lt_save_ifs"
6546
    test -z "$ac_dir" && ac_dir=.
6547
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6548
      lt_cv_path_LD="$ac_dir/$ac_prog"
6549
      # Check to see if the program is GNU ld.  I'd rather use --version,
6550
      # but apparently some variants of GNU ld only accept -v.
6551
      # Break only if it was the GNU/non-GNU ld that we prefer.
6552
      case `"$lt_cv_path_LD" -v 2>&1 
6553
      *GNU* | *'with BFD'*)
6554
        test "$with_gnu_ld" != no && break
6555
        ;;
6556
      *)
6557
        test "$with_gnu_ld" != yes && break
6558
        ;;
6559
      esac
6560
    fi
6561
  done
6562
  IFS="$lt_save_ifs"
6563
else
6564
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
6565
fi
6566
fi
6567
 
6568
LD="$lt_cv_path_LD"
6569
if test -n "$LD"; then
6570
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6571
$as_echo "$LD" >&6; }
6572
else
6573
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6574
$as_echo "no" >&6; }
6575
fi
6576
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6578
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6579
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6580
  $as_echo_n "(cached) " >&6
6581
else
6582
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6583
case `$LD -v 2>&1 
6584
*GNU* | *'with BFD'*)
6585
  lt_cv_prog_gnu_ld=yes
6586
  ;;
6587
*)
6588
  lt_cv_prog_gnu_ld=no
6589
  ;;
6590
esac
6591
fi
6592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6593
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6594
with_gnu_ld=$lt_cv_prog_gnu_ld
6595
 
6596
 
6597
 
6598
 
6599
 
6600
 
6601
 
6602
 
6603
 
6604
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6605
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6606
if test "${lt_cv_path_NM+set}" = set; then :
6607
  $as_echo_n "(cached) " >&6
6608
else
6609
  if test -n "$NM"; then
6610
  # Let the user override the test.
6611
  lt_cv_path_NM="$NM"
6612
else
6613
  lt_nm_to_check="${ac_tool_prefix}nm"
6614
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6615
    lt_nm_to_check="$lt_nm_to_check nm"
6616
  fi
6617
  for lt_tmp_nm in $lt_nm_to_check; do
6618
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6619
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6620
      IFS="$lt_save_ifs"
6621
      test -z "$ac_dir" && ac_dir=.
6622
      tmp_nm="$ac_dir/$lt_tmp_nm"
6623
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6624
        # Check to see if the nm accepts a BSD-compat flag.
6625
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6626
        #   nm: unknown option "B" ignored
6627
        # Tru64's nm complains that /dev/null is an invalid object file
6628
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6629
        */dev/null* | *'Invalid file or object type'*)
6630
          lt_cv_path_NM="$tmp_nm -B"
6631
          break
6632
          ;;
6633
        *)
6634
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6635
          */dev/null*)
6636
            lt_cv_path_NM="$tmp_nm -p"
6637
            break
6638
            ;;
6639
          *)
6640
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6641
            continue # so that we can try to find one that supports BSD flags
6642
            ;;
6643
          esac
6644
          ;;
6645
        esac
6646
      fi
6647
    done
6648
    IFS="$lt_save_ifs"
6649
  done
6650
  : ${lt_cv_path_NM=no}
6651
fi
6652
fi
6653
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6654
$as_echo "$lt_cv_path_NM" >&6; }
6655
if test "$lt_cv_path_NM" != "no"; then
6656
  NM="$lt_cv_path_NM"
6657
else
6658
  # Didn't find any BSD compatible name lister, look for dumpbin.
6659
  if test -n "$DUMPBIN"; then :
6660
    # Let the user override the test.
6661
  else
6662
    if test -n "$ac_tool_prefix"; then
6663
  for ac_prog in dumpbin "link -dump"
6664
  do
6665
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6666
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6667
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6668
$as_echo_n "checking for $ac_word... " >&6; }
6669
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6670
  $as_echo_n "(cached) " >&6
6671
else
6672
  if test -n "$DUMPBIN"; then
6673
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6674
else
6675
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6676
for as_dir in $PATH
6677
do
6678
  IFS=$as_save_IFS
6679
  test -z "$as_dir" && as_dir=.
6680
    for ac_exec_ext in '' $ac_executable_extensions; do
6681
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6682
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6683
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6684
    break 2
6685
  fi
6686
done
6687
  done
6688
IFS=$as_save_IFS
6689
 
6690
fi
6691
fi
6692
DUMPBIN=$ac_cv_prog_DUMPBIN
6693
if test -n "$DUMPBIN"; then
6694
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6695
$as_echo "$DUMPBIN" >&6; }
6696
else
6697
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6698
$as_echo "no" >&6; }
6699
fi
6700
 
6701
 
6702
    test -n "$DUMPBIN" && break
6703
  done
6704
fi
6705
if test -z "$DUMPBIN"; then
6706
  ac_ct_DUMPBIN=$DUMPBIN
6707
  for ac_prog in dumpbin "link -dump"
6708
do
6709
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6710
set dummy $ac_prog; ac_word=$2
6711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6712
$as_echo_n "checking for $ac_word... " >&6; }
6713
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6714
  $as_echo_n "(cached) " >&6
6715
else
6716
  if test -n "$ac_ct_DUMPBIN"; then
6717
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6718
else
6719
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6720
for as_dir in $PATH
6721
do
6722
  IFS=$as_save_IFS
6723
  test -z "$as_dir" && as_dir=.
6724
    for ac_exec_ext in '' $ac_executable_extensions; do
6725
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6726
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6727
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6728
    break 2
6729
  fi
6730
done
6731
  done
6732
IFS=$as_save_IFS
6733
 
6734
fi
6735
fi
6736
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6737
if test -n "$ac_ct_DUMPBIN"; then
6738
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6739
$as_echo "$ac_ct_DUMPBIN" >&6; }
6740
else
6741
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6742
$as_echo "no" >&6; }
6743
fi
6744
 
6745
 
6746
  test -n "$ac_ct_DUMPBIN" && break
6747
done
6748
 
6749
  if test "x$ac_ct_DUMPBIN" = x; then
6750
    DUMPBIN=":"
6751
  else
6752
    case $cross_compiling:$ac_tool_warned in
6753
yes:)
6754
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6755
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6756
ac_tool_warned=yes ;;
6757
esac
6758
    DUMPBIN=$ac_ct_DUMPBIN
6759
  fi
6760
fi
6761
 
6762
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6763
    *COFF*)
6764
      DUMPBIN="$DUMPBIN -symbols"
6765
      ;;
6766
    *)
6767
      DUMPBIN=:
6768
      ;;
6769
    esac
6770
  fi
6771
 
6772
  if test "$DUMPBIN" != ":"; then
6773
    NM="$DUMPBIN"
6774
  fi
6775
fi
6776
test -z "$NM" && NM=nm
6777
 
6778
 
6779
 
6780
 
6781
 
6782
 
6783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6784
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6785
if test "${lt_cv_nm_interface+set}" = set; then :
6786
  $as_echo_n "(cached) " >&6
6787
else
6788
  lt_cv_nm_interface="BSD nm"
6789
  echo "int some_variable = 0;" > conftest.$ac_ext
6790
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6791
  (eval "$ac_compile" 2>conftest.err)
6792
  cat conftest.err >&5
6793
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6794
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6795
  cat conftest.err >&5
6796
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6797
  cat conftest.out >&5
6798
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6799
    lt_cv_nm_interface="MS dumpbin"
6800
  fi
6801
  rm -f conftest*
6802
fi
6803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6804
$as_echo "$lt_cv_nm_interface" >&6; }
6805
 
6806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6807
$as_echo_n "checking whether ln -s works... " >&6; }
6808
LN_S=$as_ln_s
6809
if test "$LN_S" = "ln -s"; then
6810
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6811
$as_echo "yes" >&6; }
6812
else
6813
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6814
$as_echo "no, using $LN_S" >&6; }
6815
fi
6816
 
6817
# find the maximum length of command line arguments
6818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6819
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6820
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6821
  $as_echo_n "(cached) " >&6
6822
else
6823
    i=0
6824
  teststring="ABCD"
6825
 
6826
  case $build_os in
6827
  msdosdjgpp*)
6828
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6829
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6830
    # during glob expansion).  Even if it were fixed, the result of this
6831
    # check would be larger than it should be.
6832
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6833
    ;;
6834
 
6835
  gnu*)
6836
    # Under GNU Hurd, this test is not required because there is
6837
    # no limit to the length of command line arguments.
6838
    # Libtool will interpret -1 as no limit whatsoever
6839
    lt_cv_sys_max_cmd_len=-1;
6840
    ;;
6841
 
6842
  cygwin* | mingw* | cegcc*)
6843
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6844
    # about 5 minutes as the teststring grows exponentially.
6845
    # Worse, since 9x/ME are not pre-emptively multitasking,
6846
    # you end up with a "frozen" computer, even though with patience
6847
    # the test eventually succeeds (with a max line length of 256k).
6848
    # Instead, let's just punt: use the minimum linelength reported by
6849
    # all of the supported platforms: 8192 (on NT/2K/XP).
6850
    lt_cv_sys_max_cmd_len=8192;
6851
    ;;
6852
 
6853
  mint*)
6854
    # On MiNT this can take a long time and run out of memory.
6855
    lt_cv_sys_max_cmd_len=8192;
6856
    ;;
6857
 
6858
  amigaos*)
6859
    # On AmigaOS with pdksh, this test takes hours, literally.
6860
    # So we just punt and use a minimum line length of 8192.
6861
    lt_cv_sys_max_cmd_len=8192;
6862
    ;;
6863
 
6864
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6865
    # This has been around since 386BSD, at least.  Likely further.
6866
    if test -x /sbin/sysctl; then
6867
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6868
    elif test -x /usr/sbin/sysctl; then
6869
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6870
    else
6871
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6872
    fi
6873
    # And add a safety zone
6874
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6875
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6876
    ;;
6877
 
6878
  interix*)
6879
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6880
    lt_cv_sys_max_cmd_len=196608
6881
    ;;
6882
 
6883
  osf*)
6884
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6885
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6886
    # nice to cause kernel panics so lets avoid the loop below.
6887
    # First set a reasonable default.
6888
    lt_cv_sys_max_cmd_len=16384
6889
    #
6890
    if test -x /sbin/sysconfig; then
6891
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6892
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6893
      esac
6894
    fi
6895
    ;;
6896
  sco3.2v5*)
6897
    lt_cv_sys_max_cmd_len=102400
6898
    ;;
6899
  sysv5* | sco5v6* | sysv4.2uw2*)
6900
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6901
    if test -n "$kargmax"; then
6902
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6903
    else
6904
      lt_cv_sys_max_cmd_len=32768
6905
    fi
6906
    ;;
6907
  *)
6908
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6909
    if test -n "$lt_cv_sys_max_cmd_len"; then
6910
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6911
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6912
    else
6913
      # Make teststring a little bigger before we do anything with it.
6914
      # a 1K string should be a reasonable start.
6915
      for i in 1 2 3 4 5 6 7 8 ; do
6916
        teststring=$teststring$teststring
6917
      done
6918
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6919
      # If test is not a shell built-in, we'll probably end up computing a
6920
      # maximum length that is only half of the actual maximum length, but
6921
      # we can't tell.
6922
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6923
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6924
              test $i != 17 # 1/2 MB should be enough
6925
      do
6926
        i=`expr $i + 1`
6927
        teststring=$teststring$teststring
6928
      done
6929
      # Only check the string length outside the loop.
6930
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6931
      teststring=
6932
      # Add a significant safety factor because C++ compilers can tack on
6933
      # massive amounts of additional arguments before passing them to the
6934
      # linker.  It appears as though 1/2 is a usable value.
6935
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6936
    fi
6937
    ;;
6938
  esac
6939
 
6940
fi
6941
 
6942
if test -n $lt_cv_sys_max_cmd_len ; then
6943
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6944
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6945
else
6946
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6947
$as_echo "none" >&6; }
6948
fi
6949
max_cmd_len=$lt_cv_sys_max_cmd_len
6950
 
6951
 
6952
 
6953
 
6954
 
6955
 
6956
: ${CP="cp -f"}
6957
: ${MV="mv -f"}
6958
: ${RM="rm -f"}
6959
 
6960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6961
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6962
# Try some XSI features
6963
xsi_shell=no
6964
( _lt_dummy="a/b/c"
6965
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6966
      = c,a/b,, \
6967
    && eval 'test $(( 1 + 1 )) -eq 2 \
6968
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6969
  && xsi_shell=yes
6970
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6971
$as_echo "$xsi_shell" >&6; }
6972
 
6973
 
6974
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6975
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6976
lt_shell_append=no
6977
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6978
    >/dev/null 2>&1 \
6979
  && lt_shell_append=yes
6980
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6981
$as_echo "$lt_shell_append" >&6; }
6982
 
6983
 
6984
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6985
  lt_unset=unset
6986
else
6987
  lt_unset=false
6988
fi
6989
 
6990
 
6991
 
6992
 
6993
 
6994
# test EBCDIC or ASCII
6995
case `echo X|tr X '\101'` in
6996
 A) # ASCII based system
6997
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6998
  lt_SP2NL='tr \040 \012'
6999
  lt_NL2SP='tr \015\012 \040\040'
7000
  ;;
7001
 *) # EBCDIC based system
7002
  lt_SP2NL='tr \100 \n'
7003
  lt_NL2SP='tr \r\n \100\100'
7004
  ;;
7005
esac
7006
 
7007
 
7008
 
7009
 
7010
 
7011
 
7012
 
7013
 
7014
 
7015
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7016
$as_echo_n "checking for $LD option to reload object files... " >&6; }
7017
if test "${lt_cv_ld_reload_flag+set}" = set; then :
7018
  $as_echo_n "(cached) " >&6
7019
else
7020
  lt_cv_ld_reload_flag='-r'
7021
fi
7022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7023
$as_echo "$lt_cv_ld_reload_flag" >&6; }
7024
reload_flag=$lt_cv_ld_reload_flag
7025
case $reload_flag in
7026
"" | " "*) ;;
7027
*) reload_flag=" $reload_flag" ;;
7028
esac
7029
reload_cmds='$LD$reload_flag -o $output$reload_objs'
7030
case $host_os in
7031
  darwin*)
7032
    if test "$GCC" = yes; then
7033
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7034
    else
7035
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
7036
    fi
7037
    ;;
7038
esac
7039
 
7040
 
7041
 
7042
 
7043
 
7044
 
7045
 
7046
 
7047
 
7048
if test -n "$ac_tool_prefix"; then
7049
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7050
set dummy ${ac_tool_prefix}objdump; ac_word=$2
7051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7052
$as_echo_n "checking for $ac_word... " >&6; }
7053
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7054
  $as_echo_n "(cached) " >&6
7055
else
7056
  if test -n "$OBJDUMP"; then
7057
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7058
else
7059
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7060
for as_dir in $PATH
7061
do
7062
  IFS=$as_save_IFS
7063
  test -z "$as_dir" && as_dir=.
7064
    for ac_exec_ext in '' $ac_executable_extensions; do
7065
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7066
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7067
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7068
    break 2
7069
  fi
7070
done
7071
  done
7072
IFS=$as_save_IFS
7073
 
7074
fi
7075
fi
7076
OBJDUMP=$ac_cv_prog_OBJDUMP
7077
if test -n "$OBJDUMP"; then
7078
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7079
$as_echo "$OBJDUMP" >&6; }
7080
else
7081
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7082
$as_echo "no" >&6; }
7083
fi
7084
 
7085
 
7086
fi
7087
if test -z "$ac_cv_prog_OBJDUMP"; then
7088
  ac_ct_OBJDUMP=$OBJDUMP
7089
  # Extract the first word of "objdump", so it can be a program name with args.
7090
set dummy objdump; ac_word=$2
7091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092
$as_echo_n "checking for $ac_word... " >&6; }
7093
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7094
  $as_echo_n "(cached) " >&6
7095
else
7096
  if test -n "$ac_ct_OBJDUMP"; then
7097
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7098
else
7099
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7100
for as_dir in $PATH
7101
do
7102
  IFS=$as_save_IFS
7103
  test -z "$as_dir" && as_dir=.
7104
    for ac_exec_ext in '' $ac_executable_extensions; do
7105
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7106
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7107
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7108
    break 2
7109
  fi
7110
done
7111
  done
7112
IFS=$as_save_IFS
7113
 
7114
fi
7115
fi
7116
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7117
if test -n "$ac_ct_OBJDUMP"; then
7118
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7119
$as_echo "$ac_ct_OBJDUMP" >&6; }
7120
else
7121
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7122
$as_echo "no" >&6; }
7123
fi
7124
 
7125
  if test "x$ac_ct_OBJDUMP" = x; then
7126
    OBJDUMP="false"
7127
  else
7128
    case $cross_compiling:$ac_tool_warned in
7129
yes:)
7130
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7131
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7132
ac_tool_warned=yes ;;
7133
esac
7134
    OBJDUMP=$ac_ct_OBJDUMP
7135
  fi
7136
else
7137
  OBJDUMP="$ac_cv_prog_OBJDUMP"
7138
fi
7139
 
7140
test -z "$OBJDUMP" && OBJDUMP=objdump
7141
 
7142
 
7143
 
7144
 
7145
 
7146
 
7147
 
7148
 
7149
 
7150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7151
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7152
if test "${lt_cv_deplibs_check_method+set}" = set; then :
7153
  $as_echo_n "(cached) " >&6
7154
else
7155
  lt_cv_file_magic_cmd='$MAGIC_CMD'
7156
lt_cv_file_magic_test_file=
7157
lt_cv_deplibs_check_method='unknown'
7158
# Need to set the preceding variable on all platforms that support
7159
# interlibrary dependencies.
7160
# 'none' -- dependencies not supported.
7161
# `unknown' -- same as none, but documents that we really don't know.
7162
# 'pass_all' -- all dependencies passed with no checks.
7163
# 'test_compile' -- check by making test program.
7164
# 'file_magic [[regex]]' -- check by looking for files in library path
7165
# which responds to the $file_magic_cmd with a given extended regex.
7166
# If you have `file' or equivalent on your system and you're not sure
7167
# whether `pass_all' will *always* work, you probably want this one.
7168
 
7169
case $host_os in
7170
aix[4-9]*)
7171
  lt_cv_deplibs_check_method=pass_all
7172
  ;;
7173
 
7174
beos*)
7175
  lt_cv_deplibs_check_method=pass_all
7176
  ;;
7177
 
7178
bsdi[45]*)
7179
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7180
  lt_cv_file_magic_cmd='/usr/bin/file -L'
7181
  lt_cv_file_magic_test_file=/shlib/libc.so
7182
  ;;
7183
 
7184
cygwin*)
7185
  # func_win32_libid is a shell function defined in ltmain.sh
7186
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7187
  lt_cv_file_magic_cmd='func_win32_libid'
7188
  ;;
7189
 
7190
mingw* | pw32*)
7191
  # Base MSYS/MinGW do not provide the 'file' command needed by
7192
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7193
  # unless we find 'file', for example because we are cross-compiling.
7194
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7195
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7196
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7197
    lt_cv_file_magic_cmd='func_win32_libid'
7198
  else
7199
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7200
    lt_cv_file_magic_cmd='$OBJDUMP -f'
7201
  fi
7202
  ;;
7203
 
7204
cegcc*)
7205
  # use the weaker test based on 'objdump'. See mingw*.
7206
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7207
  lt_cv_file_magic_cmd='$OBJDUMP -f'
7208
  ;;
7209
 
7210
darwin* | rhapsody*)
7211
  lt_cv_deplibs_check_method=pass_all
7212
  ;;
7213
 
7214
freebsd* | dragonfly*)
7215
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7216
    case $host_cpu in
7217
    i*86 )
7218
      # Not sure whether the presence of OpenBSD here was a mistake.
7219
      # Let's accept both of them until this is cleared up.
7220
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7221
      lt_cv_file_magic_cmd=/usr/bin/file
7222
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7223
      ;;
7224
    esac
7225
  else
7226
    lt_cv_deplibs_check_method=pass_all
7227
  fi
7228
  ;;
7229
 
7230
gnu*)
7231
  lt_cv_deplibs_check_method=pass_all
7232
  ;;
7233
 
7234
haiku*)
7235
  lt_cv_deplibs_check_method=pass_all
7236
  ;;
7237
 
7238
hpux10.20* | hpux11*)
7239
  lt_cv_file_magic_cmd=/usr/bin/file
7240
  case $host_cpu in
7241
  ia64*)
7242
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7243
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7244
    ;;
7245
  hppa*64*)
7246
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
7247
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7248
    ;;
7249
  *)
7250
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7251
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7252
    ;;
7253
  esac
7254
  ;;
7255
 
7256
interix[3-9]*)
7257
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7258
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7259
  ;;
7260
 
7261
irix5* | irix6* | nonstopux*)
7262
  case $LD in
7263
  *-32|*"-32 ") libmagic=32-bit;;
7264
  *-n32|*"-n32 ") libmagic=N32;;
7265
  *-64|*"-64 ") libmagic=64-bit;;
7266
  *) libmagic=never-match;;
7267
  esac
7268
  lt_cv_deplibs_check_method=pass_all
7269
  ;;
7270
 
7271
# This must be Linux ELF.
7272
linux* | k*bsd*-gnu | kopensolaris*-gnu)
7273
  lt_cv_deplibs_check_method=pass_all
7274
  ;;
7275
 
7276
netbsd*)
7277
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7278
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7279
  else
7280
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7281
  fi
7282
  ;;
7283
 
7284
newos6*)
7285
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7286
  lt_cv_file_magic_cmd=/usr/bin/file
7287
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7288
  ;;
7289
 
7290
*nto* | *qnx*)
7291
  lt_cv_deplibs_check_method=pass_all
7292
  ;;
7293
 
7294
openbsd*)
7295
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7296
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7297
  else
7298
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7299
  fi
7300
  ;;
7301
 
7302
osf3* | osf4* | osf5*)
7303
  lt_cv_deplibs_check_method=pass_all
7304
  ;;
7305
 
7306
rdos*)
7307
  lt_cv_deplibs_check_method=pass_all
7308
  ;;
7309
 
7310
solaris*)
7311
  lt_cv_deplibs_check_method=pass_all
7312
  ;;
7313
 
7314
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7315
  lt_cv_deplibs_check_method=pass_all
7316
  ;;
7317
 
7318
sysv4 | sysv4.3*)
7319
  case $host_vendor in
7320
  motorola)
7321
    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]'
7322
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7323
    ;;
7324
  ncr)
7325
    lt_cv_deplibs_check_method=pass_all
7326
    ;;
7327
  sequent)
7328
    lt_cv_file_magic_cmd='/bin/file'
7329
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7330
    ;;
7331
  sni)
7332
    lt_cv_file_magic_cmd='/bin/file'
7333
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7334
    lt_cv_file_magic_test_file=/lib/libc.so
7335
    ;;
7336
  siemens)
7337
    lt_cv_deplibs_check_method=pass_all
7338
    ;;
7339
  pc)
7340
    lt_cv_deplibs_check_method=pass_all
7341
    ;;
7342
  esac
7343
  ;;
7344
 
7345
tpf*)
7346
  lt_cv_deplibs_check_method=pass_all
7347
  ;;
7348
esac
7349
 
7350
fi
7351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7352
$as_echo "$lt_cv_deplibs_check_method" >&6; }
7353
file_magic_cmd=$lt_cv_file_magic_cmd
7354
deplibs_check_method=$lt_cv_deplibs_check_method
7355
test -z "$deplibs_check_method" && deplibs_check_method=unknown
7356
 
7357
 
7358
 
7359
 
7360
 
7361
 
7362
 
7363
 
7364
 
7365
 
7366
 
7367
 
7368
if test -n "$ac_tool_prefix"; then
7369
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7370
set dummy ${ac_tool_prefix}ar; ac_word=$2
7371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7372
$as_echo_n "checking for $ac_word... " >&6; }
7373
if test "${ac_cv_prog_AR+set}" = set; then :
7374
  $as_echo_n "(cached) " >&6
7375
else
7376
  if test -n "$AR"; then
7377
  ac_cv_prog_AR="$AR" # Let the user override the test.
7378
else
7379
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7380
for as_dir in $PATH
7381
do
7382
  IFS=$as_save_IFS
7383
  test -z "$as_dir" && as_dir=.
7384
    for ac_exec_ext in '' $ac_executable_extensions; do
7385
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7386
    ac_cv_prog_AR="${ac_tool_prefix}ar"
7387
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7388
    break 2
7389
  fi
7390
done
7391
  done
7392
IFS=$as_save_IFS
7393
 
7394
fi
7395
fi
7396
AR=$ac_cv_prog_AR
7397
if test -n "$AR"; then
7398
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7399
$as_echo "$AR" >&6; }
7400
else
7401
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7402
$as_echo "no" >&6; }
7403
fi
7404
 
7405
 
7406
fi
7407
if test -z "$ac_cv_prog_AR"; then
7408
  ac_ct_AR=$AR
7409
  # Extract the first word of "ar", so it can be a program name with args.
7410
set dummy ar; ac_word=$2
7411
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412
$as_echo_n "checking for $ac_word... " >&6; }
7413
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7414
  $as_echo_n "(cached) " >&6
7415
else
7416
  if test -n "$ac_ct_AR"; then
7417
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7418
else
7419
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7420
for as_dir in $PATH
7421
do
7422
  IFS=$as_save_IFS
7423
  test -z "$as_dir" && as_dir=.
7424
    for ac_exec_ext in '' $ac_executable_extensions; do
7425
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7426
    ac_cv_prog_ac_ct_AR="ar"
7427
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428
    break 2
7429
  fi
7430
done
7431
  done
7432
IFS=$as_save_IFS
7433
 
7434
fi
7435
fi
7436
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7437
if test -n "$ac_ct_AR"; then
7438
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7439
$as_echo "$ac_ct_AR" >&6; }
7440
else
7441
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442
$as_echo "no" >&6; }
7443
fi
7444
 
7445
  if test "x$ac_ct_AR" = x; then
7446
    AR="false"
7447
  else
7448
    case $cross_compiling:$ac_tool_warned in
7449
yes:)
7450
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7451
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7452
ac_tool_warned=yes ;;
7453
esac
7454
    AR=$ac_ct_AR
7455
  fi
7456
else
7457
  AR="$ac_cv_prog_AR"
7458
fi
7459
 
7460
test -z "$AR" && AR=ar
7461
test -z "$AR_FLAGS" && AR_FLAGS=cru
7462
 
7463
 
7464
 
7465
 
7466
 
7467
 
7468
 
7469
 
7470
 
7471
 
7472
 
7473
if test -n "$ac_tool_prefix"; then
7474
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7475
set dummy ${ac_tool_prefix}strip; ac_word=$2
7476
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7477
$as_echo_n "checking for $ac_word... " >&6; }
7478
if test "${ac_cv_prog_STRIP+set}" = set; then :
7479
  $as_echo_n "(cached) " >&6
7480
else
7481
  if test -n "$STRIP"; then
7482
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7483
else
7484
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7485
for as_dir in $PATH
7486
do
7487
  IFS=$as_save_IFS
7488
  test -z "$as_dir" && as_dir=.
7489
    for ac_exec_ext in '' $ac_executable_extensions; do
7490
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7491
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7492
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7493
    break 2
7494
  fi
7495
done
7496
  done
7497
IFS=$as_save_IFS
7498
 
7499
fi
7500
fi
7501
STRIP=$ac_cv_prog_STRIP
7502
if test -n "$STRIP"; then
7503
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7504
$as_echo "$STRIP" >&6; }
7505
else
7506
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7507
$as_echo "no" >&6; }
7508
fi
7509
 
7510
 
7511
fi
7512
if test -z "$ac_cv_prog_STRIP"; then
7513
  ac_ct_STRIP=$STRIP
7514
  # Extract the first word of "strip", so it can be a program name with args.
7515
set dummy strip; ac_word=$2
7516
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7517
$as_echo_n "checking for $ac_word... " >&6; }
7518
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7519
  $as_echo_n "(cached) " >&6
7520
else
7521
  if test -n "$ac_ct_STRIP"; then
7522
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7523
else
7524
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7525
for as_dir in $PATH
7526
do
7527
  IFS=$as_save_IFS
7528
  test -z "$as_dir" && as_dir=.
7529
    for ac_exec_ext in '' $ac_executable_extensions; do
7530
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7531
    ac_cv_prog_ac_ct_STRIP="strip"
7532
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7533
    break 2
7534
  fi
7535
done
7536
  done
7537
IFS=$as_save_IFS
7538
 
7539
fi
7540
fi
7541
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7542
if test -n "$ac_ct_STRIP"; then
7543
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7544
$as_echo "$ac_ct_STRIP" >&6; }
7545
else
7546
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7547
$as_echo "no" >&6; }
7548
fi
7549
 
7550
  if test "x$ac_ct_STRIP" = x; then
7551
    STRIP=":"
7552
  else
7553
    case $cross_compiling:$ac_tool_warned in
7554
yes:)
7555
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7556
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7557
ac_tool_warned=yes ;;
7558
esac
7559
    STRIP=$ac_ct_STRIP
7560
  fi
7561
else
7562
  STRIP="$ac_cv_prog_STRIP"
7563
fi
7564
 
7565
test -z "$STRIP" && STRIP=:
7566
 
7567
 
7568
 
7569
 
7570
 
7571
 
7572
if test -n "$ac_tool_prefix"; then
7573
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7574
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7575
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7576
$as_echo_n "checking for $ac_word... " >&6; }
7577
if test "${ac_cv_prog_RANLIB+set}" = set; then :
7578
  $as_echo_n "(cached) " >&6
7579
else
7580
  if test -n "$RANLIB"; then
7581
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7582
else
7583
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7584
for as_dir in $PATH
7585
do
7586
  IFS=$as_save_IFS
7587
  test -z "$as_dir" && as_dir=.
7588
    for ac_exec_ext in '' $ac_executable_extensions; do
7589
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7590
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7591
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7592
    break 2
7593
  fi
7594
done
7595
  done
7596
IFS=$as_save_IFS
7597
 
7598
fi
7599
fi
7600
RANLIB=$ac_cv_prog_RANLIB
7601
if test -n "$RANLIB"; then
7602
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7603
$as_echo "$RANLIB" >&6; }
7604
else
7605
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606
$as_echo "no" >&6; }
7607
fi
7608
 
7609
 
7610
fi
7611
if test -z "$ac_cv_prog_RANLIB"; then
7612
  ac_ct_RANLIB=$RANLIB
7613
  # Extract the first word of "ranlib", so it can be a program name with args.
7614
set dummy ranlib; ac_word=$2
7615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7616
$as_echo_n "checking for $ac_word... " >&6; }
7617
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7618
  $as_echo_n "(cached) " >&6
7619
else
7620
  if test -n "$ac_ct_RANLIB"; then
7621
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7622
else
7623
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7624
for as_dir in $PATH
7625
do
7626
  IFS=$as_save_IFS
7627
  test -z "$as_dir" && as_dir=.
7628
    for ac_exec_ext in '' $ac_executable_extensions; do
7629
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7630
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7631
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7632
    break 2
7633
  fi
7634
done
7635
  done
7636
IFS=$as_save_IFS
7637
 
7638
fi
7639
fi
7640
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7641
if test -n "$ac_ct_RANLIB"; then
7642
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7643
$as_echo "$ac_ct_RANLIB" >&6; }
7644
else
7645
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7646
$as_echo "no" >&6; }
7647
fi
7648
 
7649
  if test "x$ac_ct_RANLIB" = x; then
7650
    RANLIB=":"
7651
  else
7652
    case $cross_compiling:$ac_tool_warned in
7653
yes:)
7654
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7655
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7656
ac_tool_warned=yes ;;
7657
esac
7658
    RANLIB=$ac_ct_RANLIB
7659
  fi
7660
else
7661
  RANLIB="$ac_cv_prog_RANLIB"
7662
fi
7663
 
7664
test -z "$RANLIB" && RANLIB=:
7665
 
7666
 
7667
 
7668
 
7669
 
7670
 
7671
# Determine commands to create old-style static archives.
7672
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7673
old_postinstall_cmds='chmod 644 $oldlib'
7674
old_postuninstall_cmds=
7675
 
7676
if test -n "$RANLIB"; then
7677
  case $host_os in
7678
  openbsd*)
7679
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7680
    ;;
7681
  *)
7682
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7683
    ;;
7684
  esac
7685
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7686
fi
7687
 
7688
case $host_os in
7689
  darwin*)
7690
    lock_old_archive_extraction=yes ;;
7691
  *)
7692
    lock_old_archive_extraction=no ;;
7693
esac
7694
 
7695
 
7696
 
7697
 
7698
 
7699
 
7700
 
7701
 
7702
 
7703
 
7704
 
7705
 
7706
 
7707
 
7708
 
7709
 
7710
 
7711
 
7712
 
7713
 
7714
 
7715
 
7716
 
7717
 
7718
 
7719
 
7720
 
7721
 
7722
 
7723
 
7724
 
7725
 
7726
 
7727
 
7728
 
7729
 
7730
 
7731
 
7732
 
7733
# If no C compiler was specified, use CC.
7734
LTCC=${LTCC-"$CC"}
7735
 
7736
# If no C compiler flags were specified, use CFLAGS.
7737
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7738
 
7739
# Allow CC to be a program name with arguments.
7740
compiler=$CC
7741
 
7742
 
7743
# Check for command to grab the raw symbol name followed by C symbol from nm.
7744
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7745
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7746
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7747
  $as_echo_n "(cached) " >&6
7748
else
7749
 
7750
# These are sane defaults that work on at least a few old systems.
7751
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7752
 
7753
# Character class describing NM global symbol codes.
7754
symcode='[BCDEGRST]'
7755
 
7756
# Regexp to match symbols that can be accessed directly from C.
7757
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7758
 
7759
# Define system-specific variables.
7760
case $host_os in
7761
aix*)
7762
  symcode='[BCDT]'
7763
  ;;
7764
cygwin* | mingw* | pw32* | cegcc*)
7765
  symcode='[ABCDGISTW]'
7766
  ;;
7767
hpux*)
7768
  if test "$host_cpu" = ia64; then
7769
    symcode='[ABCDEGRST]'
7770
  fi
7771
  ;;
7772
irix* | nonstopux*)
7773
  symcode='[BCDEGRST]'
7774
  ;;
7775
osf*)
7776
  symcode='[BCDEGQRST]'
7777
  ;;
7778
solaris*)
7779
  symcode='[BDRT]'
7780
  ;;
7781
sco3.2v5*)
7782
  symcode='[DT]'
7783
  ;;
7784
sysv4.2uw2*)
7785
  symcode='[DT]'
7786
  ;;
7787
sysv5* | sco5v6* | unixware* | OpenUNIX*)
7788
  symcode='[ABDT]'
7789
  ;;
7790
sysv4)
7791
  symcode='[DFNSTU]'
7792
  ;;
7793
esac
7794
 
7795
# If we're using GNU nm, then use its standard symbol codes.
7796
case `$NM -V 2>&1` in
7797
*GNU* | *'with BFD'*)
7798
  symcode='[ABCDGIRSTW]' ;;
7799
esac
7800
 
7801
# Transform an extracted symbol line into a proper C declaration.
7802
# Some systems (esp. on ia64) link data and code symbols differently,
7803
# so use this general approach.
7804
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7805
 
7806
# Transform an extracted symbol line into symbol name and symbol address
7807
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7808
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'"
7809
 
7810
# Handle CRLF in mingw tool chain
7811
opt_cr=
7812
case $build_os in
7813
mingw*)
7814
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7815
  ;;
7816
esac
7817
 
7818
# Try without a prefix underscore, then with it.
7819
for ac_symprfx in "" "_"; do
7820
 
7821
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7822
  symxfrm="\\1 $ac_symprfx\\2 \\2"
7823
 
7824
  # Write the raw and C identifiers.
7825
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7826
    # Fake it for dumpbin and say T for any non-static function
7827
    # and D for any global variable.
7828
    # Also find C++ and __fastcall symbols from MSVC++,
7829
    # which start with @ or ?.
7830
    lt_cv_sys_global_symbol_pipe="$AWK '"\
7831
"     {last_section=section; section=\$ 3};"\
7832
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7833
"     \$ 0!~/External *\|/{next};"\
7834
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7835
"     {if(hide[section]) next};"\
7836
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7837
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7838
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7839
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7840
"     ' prfx=^$ac_symprfx"
7841
  else
7842
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7843
  fi
7844
 
7845
  # Check to see that the pipe works correctly.
7846
  pipe_works=no
7847
 
7848
  rm -f conftest*
7849
  cat > conftest.$ac_ext <<_LT_EOF
7850
#ifdef __cplusplus
7851
extern "C" {
7852
#endif
7853
char nm_test_var;
7854
void nm_test_func(void);
7855
void nm_test_func(void){}
7856
#ifdef __cplusplus
7857
}
7858
#endif
7859
int main(){nm_test_var='a';nm_test_func();return(0);}
7860
_LT_EOF
7861
 
7862
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7863
  (eval $ac_compile) 2>&5
7864
  ac_status=$?
7865
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7866
  test $ac_status = 0; }; then
7867
    # Now try to grab the symbols.
7868
    nlist=conftest.nm
7869
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7870
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7871
  ac_status=$?
7872
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7873
  test $ac_status = 0; } && test -s "$nlist"; then
7874
      # Try sorting and uniquifying the output.
7875
      if sort "$nlist" | uniq > "$nlist"T; then
7876
        mv -f "$nlist"T "$nlist"
7877
      else
7878
        rm -f "$nlist"T
7879
      fi
7880
 
7881
      # Make sure that we snagged all the symbols we need.
7882
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7883
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7884
          cat <<_LT_EOF > conftest.$ac_ext
7885
#ifdef __cplusplus
7886
extern "C" {
7887
#endif
7888
 
7889
_LT_EOF
7890
          # Now generate the symbol file.
7891
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7892
 
7893
          cat <<_LT_EOF >> conftest.$ac_ext
7894
 
7895
/* The mapping between symbol names and symbols.  */
7896
const struct {
7897
  const char *name;
7898
  void       *address;
7899
}
7900
lt__PROGRAM__LTX_preloaded_symbols[] =
7901
{
7902
  { "@PROGRAM@", (void *) 0 },
7903
_LT_EOF
7904
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7905
          cat <<\_LT_EOF >> conftest.$ac_ext
7906
  {0, (void *) 0}
7907
};
7908
 
7909
/* This works around a problem in FreeBSD linker */
7910
#ifdef FREEBSD_WORKAROUND
7911
static const void *lt_preloaded_setup() {
7912
  return lt__PROGRAM__LTX_preloaded_symbols;
7913
}
7914
#endif
7915
 
7916
#ifdef __cplusplus
7917
}
7918
#endif
7919
_LT_EOF
7920
          # Now try linking the two files.
7921
          mv conftest.$ac_objext conftstm.$ac_objext
7922
          lt_save_LIBS="$LIBS"
7923
          lt_save_CFLAGS="$CFLAGS"
7924
          LIBS="conftstm.$ac_objext"
7925
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7926
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7927
  (eval $ac_link) 2>&5
7928
  ac_status=$?
7929
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7930
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7931
            pipe_works=yes
7932
          fi
7933
          LIBS="$lt_save_LIBS"
7934
          CFLAGS="$lt_save_CFLAGS"
7935
        else
7936
          echo "cannot find nm_test_func in $nlist" >&5
7937
        fi
7938
      else
7939
        echo "cannot find nm_test_var in $nlist" >&5
7940
      fi
7941
    else
7942
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7943
    fi
7944
  else
7945
    echo "$progname: failed program was:" >&5
7946
    cat conftest.$ac_ext >&5
7947
  fi
7948
  rm -rf conftest* conftst*
7949
 
7950
  # Do not use the global_symbol_pipe unless it works.
7951
  if test "$pipe_works" = yes; then
7952
    break
7953
  else
7954
    lt_cv_sys_global_symbol_pipe=
7955
  fi
7956
done
7957
 
7958
fi
7959
 
7960
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7961
  lt_cv_sys_global_symbol_to_cdecl=
7962
fi
7963
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7964
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7965
$as_echo "failed" >&6; }
7966
else
7967
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7968
$as_echo "ok" >&6; }
7969
fi
7970
 
7971
 
7972
 
7973
 
7974
 
7975
 
7976
 
7977
 
7978
 
7979
 
7980
 
7981
 
7982
 
7983
 
7984
 
7985
 
7986
 
7987
 
7988
 
7989
 
7990
 
7991
 
7992
# Check whether --enable-libtool-lock was given.
7993
if test "${enable_libtool_lock+set}" = set; then :
7994
  enableval=$enable_libtool_lock;
7995
fi
7996
 
7997
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7998
 
7999
# Some flags need to be propagated to the compiler or linker for good
8000
# libtool support.
8001
case $host in
8002
ia64-*-hpux*)
8003
  # Find out which ABI we are using.
8004
  echo 'int i;' > conftest.$ac_ext
8005
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8006
  (eval $ac_compile) 2>&5
8007
  ac_status=$?
8008
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8009
  test $ac_status = 0; }; then
8010
    case `/usr/bin/file conftest.$ac_objext` in
8011
      *ELF-32*)
8012
        HPUX_IA64_MODE="32"
8013
        ;;
8014
      *ELF-64*)
8015
        HPUX_IA64_MODE="64"
8016
        ;;
8017
    esac
8018
  fi
8019
  rm -rf conftest*
8020
  ;;
8021
*-*-irix6*)
8022
  # Find out which ABI we are using.
8023
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8024
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8025
  (eval $ac_compile) 2>&5
8026
  ac_status=$?
8027
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8028
  test $ac_status = 0; }; then
8029
    if test "$lt_cv_prog_gnu_ld" = yes; then
8030
      case `/usr/bin/file conftest.$ac_objext` in
8031
        *32-bit*)
8032
          LD="${LD-ld} -melf32bsmip"
8033
          ;;
8034
        *N32*)
8035
          LD="${LD-ld} -melf32bmipn32"
8036
          ;;
8037
        *64-bit*)
8038
          LD="${LD-ld} -melf64bmip"
8039
        ;;
8040
      esac
8041
    else
8042
      case `/usr/bin/file conftest.$ac_objext` in
8043
        *32-bit*)
8044
          LD="${LD-ld} -32"
8045
          ;;
8046
        *N32*)
8047
          LD="${LD-ld} -n32"
8048
          ;;
8049
        *64-bit*)
8050
          LD="${LD-ld} -64"
8051
          ;;
8052
      esac
8053
    fi
8054
  fi
8055
  rm -rf conftest*
8056
  ;;
8057
 
8058
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8059
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8060
  # Find out which ABI we are using.
8061
  echo 'int i;' > conftest.$ac_ext
8062
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8063
  (eval $ac_compile) 2>&5
8064
  ac_status=$?
8065
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8066
  test $ac_status = 0; }; then
8067
    case `/usr/bin/file conftest.o` in
8068
      *32-bit*)
8069
        case $host in
8070
          x86_64-*kfreebsd*-gnu)
8071
            LD="${LD-ld} -m elf_i386_fbsd"
8072
            ;;
8073
          x86_64-*linux*)
8074
            LD="${LD-ld} -m elf_i386"
8075
            ;;
8076
          ppc64-*linux*|powerpc64-*linux*)
8077
            LD="${LD-ld} -m elf32ppclinux"
8078
            ;;
8079
          s390x-*linux*)
8080
            LD="${LD-ld} -m elf_s390"
8081
            ;;
8082
          sparc64-*linux*)
8083
            LD="${LD-ld} -m elf32_sparc"
8084
            ;;
8085
        esac
8086
        ;;
8087
      *64-bit*)
8088
        case $host in
8089
          x86_64-*kfreebsd*-gnu)
8090
            LD="${LD-ld} -m elf_x86_64_fbsd"
8091
            ;;
8092
          x86_64-*linux*)
8093
            LD="${LD-ld} -m elf_x86_64"
8094
            ;;
8095
          ppc*-*linux*|powerpc*-*linux*)
8096
            LD="${LD-ld} -m elf64ppc"
8097
            ;;
8098
          s390*-*linux*|s390*-*tpf*)
8099
            LD="${LD-ld} -m elf64_s390"
8100
            ;;
8101
          sparc*-*linux*)
8102
            LD="${LD-ld} -m elf64_sparc"
8103
            ;;
8104
        esac
8105
        ;;
8106
    esac
8107
  fi
8108
  rm -rf conftest*
8109
  ;;
8110
 
8111
*-*-sco3.2v5*)
8112
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8113
  SAVE_CFLAGS="$CFLAGS"
8114
  CFLAGS="$CFLAGS -belf"
8115
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8116
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8117
if test "${lt_cv_cc_needs_belf+set}" = set; then :
8118
  $as_echo_n "(cached) " >&6
8119
else
8120
  ac_ext=c
8121
ac_cpp='$CPP $CPPFLAGS'
8122
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8123
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8124
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8125
 
8126
     if test x$gcc_no_link = xyes; then
8127
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8128
fi
8129
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8130
/* end confdefs.h.  */
8131
 
8132
int
8133
main ()
8134
{
8135
 
8136
  ;
8137
  return 0;
8138
}
8139
_ACEOF
8140
if ac_fn_c_try_link "$LINENO"; then :
8141
  lt_cv_cc_needs_belf=yes
8142
else
8143
  lt_cv_cc_needs_belf=no
8144
fi
8145
rm -f core conftest.err conftest.$ac_objext \
8146
    conftest$ac_exeext conftest.$ac_ext
8147
     ac_ext=c
8148
ac_cpp='$CPP $CPPFLAGS'
8149
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8150
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8151
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8152
 
8153
fi
8154
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8155
$as_echo "$lt_cv_cc_needs_belf" >&6; }
8156
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8157
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8158
    CFLAGS="$SAVE_CFLAGS"
8159
  fi
8160
  ;;
8161
sparc*-*solaris*)
8162
  # Find out which ABI we are using.
8163
  echo 'int i;' > conftest.$ac_ext
8164
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8165
  (eval $ac_compile) 2>&5
8166
  ac_status=$?
8167
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8168
  test $ac_status = 0; }; then
8169
    case `/usr/bin/file conftest.o` in
8170
    *64-bit*)
8171
      case $lt_cv_prog_gnu_ld in
8172
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
8173
      *)
8174
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8175
          LD="${LD-ld} -64"
8176
        fi
8177
        ;;
8178
      esac
8179
      ;;
8180
    esac
8181
  fi
8182
  rm -rf conftest*
8183
  ;;
8184
esac
8185
 
8186
need_locks="$enable_libtool_lock"
8187
 
8188
 
8189
  case $host_os in
8190
    rhapsody* | darwin*)
8191
    if test -n "$ac_tool_prefix"; then
8192
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8193
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8195
$as_echo_n "checking for $ac_word... " >&6; }
8196
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8197
  $as_echo_n "(cached) " >&6
8198
else
8199
  if test -n "$DSYMUTIL"; then
8200
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8201
else
8202
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8203
for as_dir in $PATH
8204
do
8205
  IFS=$as_save_IFS
8206
  test -z "$as_dir" && as_dir=.
8207
    for ac_exec_ext in '' $ac_executable_extensions; do
8208
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8209
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8210
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8211
    break 2
8212
  fi
8213
done
8214
  done
8215
IFS=$as_save_IFS
8216
 
8217
fi
8218
fi
8219
DSYMUTIL=$ac_cv_prog_DSYMUTIL
8220
if test -n "$DSYMUTIL"; then
8221
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8222
$as_echo "$DSYMUTIL" >&6; }
8223
else
8224
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8225
$as_echo "no" >&6; }
8226
fi
8227
 
8228
 
8229
fi
8230
if test -z "$ac_cv_prog_DSYMUTIL"; then
8231
  ac_ct_DSYMUTIL=$DSYMUTIL
8232
  # Extract the first word of "dsymutil", so it can be a program name with args.
8233
set dummy dsymutil; ac_word=$2
8234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8235
$as_echo_n "checking for $ac_word... " >&6; }
8236
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8237
  $as_echo_n "(cached) " >&6
8238
else
8239
  if test -n "$ac_ct_DSYMUTIL"; then
8240
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8241
else
8242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8243
for as_dir in $PATH
8244
do
8245
  IFS=$as_save_IFS
8246
  test -z "$as_dir" && as_dir=.
8247
    for ac_exec_ext in '' $ac_executable_extensions; do
8248
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8249
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8250
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8251
    break 2
8252
  fi
8253
done
8254
  done
8255
IFS=$as_save_IFS
8256
 
8257
fi
8258
fi
8259
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8260
if test -n "$ac_ct_DSYMUTIL"; then
8261
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8262
$as_echo "$ac_ct_DSYMUTIL" >&6; }
8263
else
8264
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8265
$as_echo "no" >&6; }
8266
fi
8267
 
8268
  if test "x$ac_ct_DSYMUTIL" = x; then
8269
    DSYMUTIL=":"
8270
  else
8271
    case $cross_compiling:$ac_tool_warned in
8272
yes:)
8273
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8274
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8275
ac_tool_warned=yes ;;
8276
esac
8277
    DSYMUTIL=$ac_ct_DSYMUTIL
8278
  fi
8279
else
8280
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8281
fi
8282
 
8283
    if test -n "$ac_tool_prefix"; then
8284
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8285
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8286
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8287
$as_echo_n "checking for $ac_word... " >&6; }
8288
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8289
  $as_echo_n "(cached) " >&6
8290
else
8291
  if test -n "$NMEDIT"; then
8292
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8293
else
8294
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8295
for as_dir in $PATH
8296
do
8297
  IFS=$as_save_IFS
8298
  test -z "$as_dir" && as_dir=.
8299
    for ac_exec_ext in '' $ac_executable_extensions; do
8300
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8301
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8302
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8303
    break 2
8304
  fi
8305
done
8306
  done
8307
IFS=$as_save_IFS
8308
 
8309
fi
8310
fi
8311
NMEDIT=$ac_cv_prog_NMEDIT
8312
if test -n "$NMEDIT"; then
8313
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8314
$as_echo "$NMEDIT" >&6; }
8315
else
8316
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8317
$as_echo "no" >&6; }
8318
fi
8319
 
8320
 
8321
fi
8322
if test -z "$ac_cv_prog_NMEDIT"; then
8323
  ac_ct_NMEDIT=$NMEDIT
8324
  # Extract the first word of "nmedit", so it can be a program name with args.
8325
set dummy nmedit; ac_word=$2
8326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8327
$as_echo_n "checking for $ac_word... " >&6; }
8328
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8329
  $as_echo_n "(cached) " >&6
8330
else
8331
  if test -n "$ac_ct_NMEDIT"; then
8332
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8333
else
8334
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8335
for as_dir in $PATH
8336
do
8337
  IFS=$as_save_IFS
8338
  test -z "$as_dir" && as_dir=.
8339
    for ac_exec_ext in '' $ac_executable_extensions; do
8340
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8341
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8342
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8343
    break 2
8344
  fi
8345
done
8346
  done
8347
IFS=$as_save_IFS
8348
 
8349
fi
8350
fi
8351
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8352
if test -n "$ac_ct_NMEDIT"; then
8353
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8354
$as_echo "$ac_ct_NMEDIT" >&6; }
8355
else
8356
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8357
$as_echo "no" >&6; }
8358
fi
8359
 
8360
  if test "x$ac_ct_NMEDIT" = x; then
8361
    NMEDIT=":"
8362
  else
8363
    case $cross_compiling:$ac_tool_warned in
8364
yes:)
8365
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8366
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8367
ac_tool_warned=yes ;;
8368
esac
8369
    NMEDIT=$ac_ct_NMEDIT
8370
  fi
8371
else
8372
  NMEDIT="$ac_cv_prog_NMEDIT"
8373
fi
8374
 
8375
    if test -n "$ac_tool_prefix"; then
8376
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8377
set dummy ${ac_tool_prefix}lipo; ac_word=$2
8378
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8379
$as_echo_n "checking for $ac_word... " >&6; }
8380
if test "${ac_cv_prog_LIPO+set}" = set; then :
8381
  $as_echo_n "(cached) " >&6
8382
else
8383
  if test -n "$LIPO"; then
8384
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8385
else
8386
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8387
for as_dir in $PATH
8388
do
8389
  IFS=$as_save_IFS
8390
  test -z "$as_dir" && as_dir=.
8391
    for ac_exec_ext in '' $ac_executable_extensions; do
8392
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8393
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8394
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8395
    break 2
8396
  fi
8397
done
8398
  done
8399
IFS=$as_save_IFS
8400
 
8401
fi
8402
fi
8403
LIPO=$ac_cv_prog_LIPO
8404
if test -n "$LIPO"; then
8405
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8406
$as_echo "$LIPO" >&6; }
8407
else
8408
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8409
$as_echo "no" >&6; }
8410
fi
8411
 
8412
 
8413
fi
8414
if test -z "$ac_cv_prog_LIPO"; then
8415
  ac_ct_LIPO=$LIPO
8416
  # Extract the first word of "lipo", so it can be a program name with args.
8417
set dummy lipo; ac_word=$2
8418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8419
$as_echo_n "checking for $ac_word... " >&6; }
8420
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8421
  $as_echo_n "(cached) " >&6
8422
else
8423
  if test -n "$ac_ct_LIPO"; then
8424
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8425
else
8426
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8427
for as_dir in $PATH
8428
do
8429
  IFS=$as_save_IFS
8430
  test -z "$as_dir" && as_dir=.
8431
    for ac_exec_ext in '' $ac_executable_extensions; do
8432
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8433
    ac_cv_prog_ac_ct_LIPO="lipo"
8434
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8435
    break 2
8436
  fi
8437
done
8438
  done
8439
IFS=$as_save_IFS
8440
 
8441
fi
8442
fi
8443
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8444
if test -n "$ac_ct_LIPO"; then
8445
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8446
$as_echo "$ac_ct_LIPO" >&6; }
8447
else
8448
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8449
$as_echo "no" >&6; }
8450
fi
8451
 
8452
  if test "x$ac_ct_LIPO" = x; then
8453
    LIPO=":"
8454
  else
8455
    case $cross_compiling:$ac_tool_warned in
8456
yes:)
8457
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8458
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8459
ac_tool_warned=yes ;;
8460
esac
8461
    LIPO=$ac_ct_LIPO
8462
  fi
8463
else
8464
  LIPO="$ac_cv_prog_LIPO"
8465
fi
8466
 
8467
    if test -n "$ac_tool_prefix"; then
8468
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8469
set dummy ${ac_tool_prefix}otool; ac_word=$2
8470
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8471
$as_echo_n "checking for $ac_word... " >&6; }
8472
if test "${ac_cv_prog_OTOOL+set}" = set; then :
8473
  $as_echo_n "(cached) " >&6
8474
else
8475
  if test -n "$OTOOL"; then
8476
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8477
else
8478
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8479
for as_dir in $PATH
8480
do
8481
  IFS=$as_save_IFS
8482
  test -z "$as_dir" && as_dir=.
8483
    for ac_exec_ext in '' $ac_executable_extensions; do
8484
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8485
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8486
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8487
    break 2
8488
  fi
8489
done
8490
  done
8491
IFS=$as_save_IFS
8492
 
8493
fi
8494
fi
8495
OTOOL=$ac_cv_prog_OTOOL
8496
if test -n "$OTOOL"; then
8497
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8498
$as_echo "$OTOOL" >&6; }
8499
else
8500
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8501
$as_echo "no" >&6; }
8502
fi
8503
 
8504
 
8505
fi
8506
if test -z "$ac_cv_prog_OTOOL"; then
8507
  ac_ct_OTOOL=$OTOOL
8508
  # Extract the first word of "otool", so it can be a program name with args.
8509
set dummy otool; ac_word=$2
8510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8511
$as_echo_n "checking for $ac_word... " >&6; }
8512
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8513
  $as_echo_n "(cached) " >&6
8514
else
8515
  if test -n "$ac_ct_OTOOL"; then
8516
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8517
else
8518
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8519
for as_dir in $PATH
8520
do
8521
  IFS=$as_save_IFS
8522
  test -z "$as_dir" && as_dir=.
8523
    for ac_exec_ext in '' $ac_executable_extensions; do
8524
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8525
    ac_cv_prog_ac_ct_OTOOL="otool"
8526
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8527
    break 2
8528
  fi
8529
done
8530
  done
8531
IFS=$as_save_IFS
8532
 
8533
fi
8534
fi
8535
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8536
if test -n "$ac_ct_OTOOL"; then
8537
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8538
$as_echo "$ac_ct_OTOOL" >&6; }
8539
else
8540
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8541
$as_echo "no" >&6; }
8542
fi
8543
 
8544
  if test "x$ac_ct_OTOOL" = x; then
8545
    OTOOL=":"
8546
  else
8547
    case $cross_compiling:$ac_tool_warned in
8548
yes:)
8549
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8550
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8551
ac_tool_warned=yes ;;
8552
esac
8553
    OTOOL=$ac_ct_OTOOL
8554
  fi
8555
else
8556
  OTOOL="$ac_cv_prog_OTOOL"
8557
fi
8558
 
8559
    if test -n "$ac_tool_prefix"; then
8560
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8561
set dummy ${ac_tool_prefix}otool64; ac_word=$2
8562
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8563
$as_echo_n "checking for $ac_word... " >&6; }
8564
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8565
  $as_echo_n "(cached) " >&6
8566
else
8567
  if test -n "$OTOOL64"; then
8568
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8569
else
8570
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8571
for as_dir in $PATH
8572
do
8573
  IFS=$as_save_IFS
8574
  test -z "$as_dir" && as_dir=.
8575
    for ac_exec_ext in '' $ac_executable_extensions; do
8576
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8577
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8578
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8579
    break 2
8580
  fi
8581
done
8582
  done
8583
IFS=$as_save_IFS
8584
 
8585
fi
8586
fi
8587
OTOOL64=$ac_cv_prog_OTOOL64
8588
if test -n "$OTOOL64"; then
8589
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8590
$as_echo "$OTOOL64" >&6; }
8591
else
8592
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8593
$as_echo "no" >&6; }
8594
fi
8595
 
8596
 
8597
fi
8598
if test -z "$ac_cv_prog_OTOOL64"; then
8599
  ac_ct_OTOOL64=$OTOOL64
8600
  # Extract the first word of "otool64", so it can be a program name with args.
8601
set dummy otool64; ac_word=$2
8602
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8603
$as_echo_n "checking for $ac_word... " >&6; }
8604
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8605
  $as_echo_n "(cached) " >&6
8606
else
8607
  if test -n "$ac_ct_OTOOL64"; then
8608
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8609
else
8610
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8611
for as_dir in $PATH
8612
do
8613
  IFS=$as_save_IFS
8614
  test -z "$as_dir" && as_dir=.
8615
    for ac_exec_ext in '' $ac_executable_extensions; do
8616
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8617
    ac_cv_prog_ac_ct_OTOOL64="otool64"
8618
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8619
    break 2
8620
  fi
8621
done
8622
  done
8623
IFS=$as_save_IFS
8624
 
8625
fi
8626
fi
8627
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8628
if test -n "$ac_ct_OTOOL64"; then
8629
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8630
$as_echo "$ac_ct_OTOOL64" >&6; }
8631
else
8632
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8633
$as_echo "no" >&6; }
8634
fi
8635
 
8636
  if test "x$ac_ct_OTOOL64" = x; then
8637
    OTOOL64=":"
8638
  else
8639
    case $cross_compiling:$ac_tool_warned in
8640
yes:)
8641
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8642
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8643
ac_tool_warned=yes ;;
8644
esac
8645
    OTOOL64=$ac_ct_OTOOL64
8646
  fi
8647
else
8648
  OTOOL64="$ac_cv_prog_OTOOL64"
8649
fi
8650
 
8651
 
8652
 
8653
 
8654
 
8655
 
8656
 
8657
 
8658
 
8659
 
8660
 
8661
 
8662
 
8663
 
8664
 
8665
 
8666
 
8667
 
8668
 
8669
 
8670
 
8671
 
8672
 
8673
 
8674
 
8675
 
8676
 
8677
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8678
$as_echo_n "checking for -single_module linker flag... " >&6; }
8679
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8680
  $as_echo_n "(cached) " >&6
8681
else
8682
  lt_cv_apple_cc_single_mod=no
8683
      if test -z "${LT_MULTI_MODULE}"; then
8684
        # By default we will add the -single_module flag. You can override
8685
        # by either setting the environment variable LT_MULTI_MODULE
8686
        # non-empty at configure time, or by adding -multi_module to the
8687
        # link flags.
8688
        rm -rf libconftest.dylib*
8689
        echo "int foo(void){return 1;}" > conftest.c
8690
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8691
-dynamiclib -Wl,-single_module conftest.c" >&5
8692
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8693
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8694
        _lt_result=$?
8695
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8696
          lt_cv_apple_cc_single_mod=yes
8697
        else
8698
          cat conftest.err >&5
8699
        fi
8700
        rm -rf libconftest.dylib*
8701
        rm -f conftest.*
8702
      fi
8703
fi
8704
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8705
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8706
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8707
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8708
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8709
  $as_echo_n "(cached) " >&6
8710
else
8711
  lt_cv_ld_exported_symbols_list=no
8712
      save_LDFLAGS=$LDFLAGS
8713
      echo "_main" > conftest.sym
8714
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8715
      if test x$gcc_no_link = xyes; then
8716
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8717
fi
8718
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8719
/* end confdefs.h.  */
8720
 
8721
int
8722
main ()
8723
{
8724
 
8725
  ;
8726
  return 0;
8727
}
8728
_ACEOF
8729
if ac_fn_c_try_link "$LINENO"; then :
8730
  lt_cv_ld_exported_symbols_list=yes
8731
else
8732
  lt_cv_ld_exported_symbols_list=no
8733
fi
8734
rm -f core conftest.err conftest.$ac_objext \
8735
    conftest$ac_exeext conftest.$ac_ext
8736
        LDFLAGS="$save_LDFLAGS"
8737
 
8738
fi
8739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8740
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8741
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8742
$as_echo_n "checking for -force_load linker flag... " >&6; }
8743
if test "${lt_cv_ld_force_load+set}" = set; then :
8744
  $as_echo_n "(cached) " >&6
8745
else
8746
  lt_cv_ld_force_load=no
8747
      cat > conftest.c << _LT_EOF
8748
int forced_loaded() { return 2;}
8749
_LT_EOF
8750
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8751
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8752
      echo "$AR cru libconftest.a conftest.o" >&5
8753
      $AR cru libconftest.a conftest.o 2>&5
8754
      cat > conftest.c << _LT_EOF
8755
int main() { return 0;}
8756
_LT_EOF
8757
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8758
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8759
      _lt_result=$?
8760
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8761
        lt_cv_ld_force_load=yes
8762
      else
8763
        cat conftest.err >&5
8764
      fi
8765
        rm -f conftest.err libconftest.a conftest conftest.c
8766
        rm -rf conftest.dSYM
8767
 
8768
fi
8769
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8770
$as_echo "$lt_cv_ld_force_load" >&6; }
8771
    case $host_os in
8772
    rhapsody* | darwin1.[012])
8773
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8774
    darwin1.*)
8775
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8776
    darwin*) # darwin 5.x on
8777
      # if running on 10.5 or later, the deployment target defaults
8778
      # to the OS version, if on x86, and 10.4, the deployment
8779
      # target defaults to 10.4. Don't you love it?
8780
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8781
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8782
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8783
        10.[012]*)
8784
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8785
        10.*)
8786
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8787
      esac
8788
    ;;
8789
  esac
8790
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8791
      _lt_dar_single_mod='$single_module'
8792
    fi
8793
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8794
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8795
    else
8796
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8797
    fi
8798
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8799
      _lt_dsymutil='~$DSYMUTIL $lib || :'
8800
    else
8801
      _lt_dsymutil=
8802
    fi
8803
    ;;
8804
  esac
8805
 
8806
for ac_header in dlfcn.h
8807
do :
8808
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8809
"
8810
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8811
  cat >>confdefs.h <<_ACEOF
8812
#define HAVE_DLFCN_H 1
8813
_ACEOF
8814
 
8815
fi
8816
 
8817
done
8818
 
8819
 
8820
 
8821
 
8822
 
8823
# Set options
8824
 
8825
 
8826
 
8827
 
8828
  enable_win32_dll=no
8829
 
8830
 
8831
            # Check whether --enable-shared was given.
8832
if test "${enable_shared+set}" = set; then :
8833
  enableval=$enable_shared; p=${PACKAGE-default}
8834
    case $enableval in
8835
    yes) enable_shared=yes ;;
8836
    no) enable_shared=no ;;
8837
    *)
8838
      enable_shared=no
8839
      # Look at the argument we got.  We use all the common list separators.
8840
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8841
      for pkg in $enableval; do
8842
        IFS="$lt_save_ifs"
8843
        if test "X$pkg" = "X$p"; then
8844
          enable_shared=yes
8845
        fi
8846
      done
8847
      IFS="$lt_save_ifs"
8848
      ;;
8849
    esac
8850
else
8851
  enable_shared=yes
8852
fi
8853
 
8854
 
8855
 
8856
 
8857
 
8858
 
8859
 
8860
 
8861
 
8862
  # Check whether --enable-static was given.
8863
if test "${enable_static+set}" = set; then :
8864
  enableval=$enable_static; p=${PACKAGE-default}
8865
    case $enableval in
8866
    yes) enable_static=yes ;;
8867
    no) enable_static=no ;;
8868
    *)
8869
     enable_static=no
8870
      # Look at the argument we got.  We use all the common list separators.
8871
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8872
      for pkg in $enableval; do
8873
        IFS="$lt_save_ifs"
8874
        if test "X$pkg" = "X$p"; then
8875
          enable_static=yes
8876
        fi
8877
      done
8878
      IFS="$lt_save_ifs"
8879
      ;;
8880
    esac
8881
else
8882
  enable_static=yes
8883
fi
8884
 
8885
 
8886
 
8887
 
8888
 
8889
 
8890
 
8891
 
8892
 
8893
 
8894
# Check whether --with-pic was given.
8895
if test "${with_pic+set}" = set; then :
8896
  withval=$with_pic; pic_mode="$withval"
8897
else
8898
  pic_mode=default
8899
fi
8900
 
8901
 
8902
test -z "$pic_mode" && pic_mode=default
8903
 
8904
 
8905
 
8906
 
8907
 
8908
 
8909
 
8910
  # Check whether --enable-fast-install was given.
8911
if test "${enable_fast_install+set}" = set; then :
8912
  enableval=$enable_fast_install; p=${PACKAGE-default}
8913
    case $enableval in
8914
    yes) enable_fast_install=yes ;;
8915
    no) enable_fast_install=no ;;
8916
    *)
8917
      enable_fast_install=no
8918
      # Look at the argument we got.  We use all the common list separators.
8919
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8920
      for pkg in $enableval; do
8921
        IFS="$lt_save_ifs"
8922
        if test "X$pkg" = "X$p"; then
8923
          enable_fast_install=yes
8924
        fi
8925
      done
8926
      IFS="$lt_save_ifs"
8927
      ;;
8928
    esac
8929
else
8930
  enable_fast_install=yes
8931
fi
8932
 
8933
 
8934
 
8935
 
8936
 
8937
 
8938
 
8939
 
8940
 
8941
 
8942
 
8943
# This can be used to rebuild libtool when needed
8944
LIBTOOL_DEPS="$ltmain"
8945
 
8946
# Always use our own libtool.
8947
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8948
 
8949
 
8950
 
8951
 
8952
 
8953
 
8954
 
8955
 
8956
 
8957
 
8958
 
8959
 
8960
 
8961
 
8962
 
8963
 
8964
 
8965
 
8966
 
8967
 
8968
 
8969
 
8970
 
8971
 
8972
 
8973
 
8974
test -z "$LN_S" && LN_S="ln -s"
8975
 
8976
 
8977
 
8978
 
8979
 
8980
 
8981
 
8982
 
8983
 
8984
 
8985
 
8986
 
8987
 
8988
 
8989
if test -n "${ZSH_VERSION+set}" ; then
8990
   setopt NO_GLOB_SUBST
8991
fi
8992
 
8993
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8994
$as_echo_n "checking for objdir... " >&6; }
8995
if test "${lt_cv_objdir+set}" = set; then :
8996
  $as_echo_n "(cached) " >&6
8997
else
8998
  rm -f .libs 2>/dev/null
8999
mkdir .libs 2>/dev/null
9000
if test -d .libs; then
9001
  lt_cv_objdir=.libs
9002
else
9003
  # MS-DOS does not allow filenames that begin with a dot.
9004
  lt_cv_objdir=_libs
9005
fi
9006
rmdir .libs 2>/dev/null
9007
fi
9008
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9009
$as_echo "$lt_cv_objdir" >&6; }
9010
objdir=$lt_cv_objdir
9011
 
9012
 
9013
 
9014
 
9015
 
9016
cat >>confdefs.h <<_ACEOF
9017
#define LT_OBJDIR "$lt_cv_objdir/"
9018
_ACEOF
9019
 
9020
 
9021
 
9022
 
9023
case $host_os in
9024
aix3*)
9025
  # AIX sometimes has problems with the GCC collect2 program.  For some
9026
  # reason, if we set the COLLECT_NAMES environment variable, the problems
9027
  # vanish in a puff of smoke.
9028
  if test "X${COLLECT_NAMES+set}" != Xset; then
9029
    COLLECT_NAMES=
9030
    export COLLECT_NAMES
9031
  fi
9032
  ;;
9033
esac
9034
 
9035
# Global variables:
9036
ofile=libtool
9037
can_build_shared=yes
9038
 
9039
# All known linkers require a `.a' archive for static linking (except MSVC,
9040
# which needs '.lib').
9041
libext=a
9042
 
9043
with_gnu_ld="$lt_cv_prog_gnu_ld"
9044
 
9045
old_CC="$CC"
9046
old_CFLAGS="$CFLAGS"
9047
 
9048
# Set sane defaults for various variables
9049
test -z "$CC" && CC=cc
9050
test -z "$LTCC" && LTCC=$CC
9051
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9052
test -z "$LD" && LD=ld
9053
test -z "$ac_objext" && ac_objext=o
9054
 
9055
for cc_temp in $compiler""; do
9056
  case $cc_temp in
9057
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9058
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9059
    \-*) ;;
9060
    *) break;;
9061
  esac
9062
done
9063
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9064
 
9065
 
9066
# Only perform the check for file, if the check method requires it
9067
test -z "$MAGIC_CMD" && MAGIC_CMD=file
9068
case $deplibs_check_method in
9069
file_magic*)
9070
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9071
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9072
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9073
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9074
  $as_echo_n "(cached) " >&6
9075
else
9076
  case $MAGIC_CMD in
9077
[\\/*] |  ?:[\\/]*)
9078
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9079
  ;;
9080
*)
9081
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9082
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9083
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9084
  for ac_dir in $ac_dummy; do
9085
    IFS="$lt_save_ifs"
9086
    test -z "$ac_dir" && ac_dir=.
9087
    if test -f $ac_dir/${ac_tool_prefix}file; then
9088
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9089
      if test -n "$file_magic_test_file"; then
9090
        case $deplibs_check_method in
9091
        "file_magic "*)
9092
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9093
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9094
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9095
            $EGREP "$file_magic_regex" > /dev/null; then
9096
            :
9097
          else
9098
            cat <<_LT_EOF 1>&2
9099
 
9100
*** Warning: the command libtool uses to detect shared libraries,
9101
*** $file_magic_cmd, produces output that libtool cannot recognize.
9102
*** The result is that libtool may fail to recognize shared libraries
9103
*** as such.  This will affect the creation of libtool libraries that
9104
*** depend on shared libraries, but programs linked with such libtool
9105
*** libraries will work regardless of this problem.  Nevertheless, you
9106
*** may want to report the problem to your system manager and/or to
9107
*** bug-libtool@gnu.org
9108
 
9109
_LT_EOF
9110
          fi ;;
9111
        esac
9112
      fi
9113
      break
9114
    fi
9115
  done
9116
  IFS="$lt_save_ifs"
9117
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9118
  ;;
9119
esac
9120
fi
9121
 
9122
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9123
if test -n "$MAGIC_CMD"; then
9124
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9125
$as_echo "$MAGIC_CMD" >&6; }
9126
else
9127
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9128
$as_echo "no" >&6; }
9129
fi
9130
 
9131
 
9132
 
9133
 
9134
 
9135
if test -z "$lt_cv_path_MAGIC_CMD"; then
9136
  if test -n "$ac_tool_prefix"; then
9137
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9138
$as_echo_n "checking for file... " >&6; }
9139
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9140
  $as_echo_n "(cached) " >&6
9141
else
9142
  case $MAGIC_CMD in
9143
[\\/*] |  ?:[\\/]*)
9144
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9145
  ;;
9146
*)
9147
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9148
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9149
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9150
  for ac_dir in $ac_dummy; do
9151
    IFS="$lt_save_ifs"
9152
    test -z "$ac_dir" && ac_dir=.
9153
    if test -f $ac_dir/file; then
9154
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
9155
      if test -n "$file_magic_test_file"; then
9156
        case $deplibs_check_method in
9157
        "file_magic "*)
9158
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9159
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9160
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9161
            $EGREP "$file_magic_regex" > /dev/null; then
9162
            :
9163
          else
9164
            cat <<_LT_EOF 1>&2
9165
 
9166
*** Warning: the command libtool uses to detect shared libraries,
9167
*** $file_magic_cmd, produces output that libtool cannot recognize.
9168
*** The result is that libtool may fail to recognize shared libraries
9169
*** as such.  This will affect the creation of libtool libraries that
9170
*** depend on shared libraries, but programs linked with such libtool
9171
*** libraries will work regardless of this problem.  Nevertheless, you
9172
*** may want to report the problem to your system manager and/or to
9173
*** bug-libtool@gnu.org
9174
 
9175
_LT_EOF
9176
          fi ;;
9177
        esac
9178
      fi
9179
      break
9180
    fi
9181
  done
9182
  IFS="$lt_save_ifs"
9183
  MAGIC_CMD="$lt_save_MAGIC_CMD"
9184
  ;;
9185
esac
9186
fi
9187
 
9188
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9189
if test -n "$MAGIC_CMD"; then
9190
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9191
$as_echo "$MAGIC_CMD" >&6; }
9192
else
9193
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9194
$as_echo "no" >&6; }
9195
fi
9196
 
9197
 
9198
  else
9199
    MAGIC_CMD=:
9200
  fi
9201
fi
9202
 
9203
  fi
9204
  ;;
9205
esac
9206
 
9207
# Use C for the default configuration in the libtool script
9208
 
9209
lt_save_CC="$CC"
9210
ac_ext=c
9211
ac_cpp='$CPP $CPPFLAGS'
9212
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9213
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9214
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9215
 
9216
 
9217
# Source file extension for C test sources.
9218
ac_ext=c
9219
 
9220
# Object file extension for compiled C test sources.
9221
objext=o
9222
objext=$objext
9223
 
9224
# Code to be used in simple compile tests
9225
lt_simple_compile_test_code="int some_variable = 0;"
9226
 
9227
# Code to be used in simple link tests
9228
lt_simple_link_test_code='int main(){return(0);}'
9229
 
9230
 
9231
 
9232
 
9233
 
9234
 
9235
 
9236
# If no C compiler was specified, use CC.
9237
LTCC=${LTCC-"$CC"}
9238
 
9239
# If no C compiler flags were specified, use CFLAGS.
9240
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9241
 
9242
# Allow CC to be a program name with arguments.
9243
compiler=$CC
9244
 
9245
# Save the default compiler, since it gets overwritten when the other
9246
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9247
compiler_DEFAULT=$CC
9248
 
9249
# save warnings/boilerplate of simple test code
9250
ac_outfile=conftest.$ac_objext
9251
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9252
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9253
_lt_compiler_boilerplate=`cat conftest.err`
9254
$RM conftest*
9255
 
9256
ac_outfile=conftest.$ac_objext
9257
echo "$lt_simple_link_test_code" >conftest.$ac_ext
9258
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9259
_lt_linker_boilerplate=`cat conftest.err`
9260
$RM -r conftest*
9261
 
9262
 
9263
## CAVEAT EMPTOR:
9264
## There is no encapsulation within the following macros, do not change
9265
## the running order or otherwise move them around unless you know exactly
9266
## what you are doing...
9267
if test -n "$compiler"; then
9268
 
9269
lt_prog_compiler_no_builtin_flag=
9270
 
9271
if test "$GCC" = yes; then
9272
  case $cc_basename in
9273
  nvcc*)
9274
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9275
  *)
9276
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9277
  esac
9278
 
9279
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9280
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9281
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9282
  $as_echo_n "(cached) " >&6
9283
else
9284
  lt_cv_prog_compiler_rtti_exceptions=no
9285
   ac_outfile=conftest.$ac_objext
9286
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9287
   lt_compiler_flag="-fno-rtti -fno-exceptions"
9288
   # Insert the option either (1) after the last *FLAGS variable, or
9289
   # (2) before a word containing "conftest.", or (3) at the end.
9290
   # Note that $ac_compile itself does not contain backslashes and begins
9291
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9292
   # The option is referenced via a variable to avoid confusing sed.
9293
   lt_compile=`echo "$ac_compile" | $SED \
9294
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9295
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9296
   -e 's:$: $lt_compiler_flag:'`
9297
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9298
   (eval "$lt_compile" 2>conftest.err)
9299
   ac_status=$?
9300
   cat conftest.err >&5
9301
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9302
   if (exit $ac_status) && test -s "$ac_outfile"; then
9303
     # The compiler can only warn and ignore the option if not recognized
9304
     # So say no if there are warnings other than the usual output.
9305
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9306
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9307
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9308
       lt_cv_prog_compiler_rtti_exceptions=yes
9309
     fi
9310
   fi
9311
   $RM conftest*
9312
 
9313
fi
9314
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9315
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9316
 
9317
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9318
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9319
else
9320
    :
9321
fi
9322
 
9323
fi
9324
 
9325
 
9326
 
9327
 
9328
 
9329
 
9330
  lt_prog_compiler_wl=
9331
lt_prog_compiler_pic=
9332
lt_prog_compiler_static=
9333
 
9334
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9335
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9336
 
9337
  if test "$GCC" = yes; then
9338
    lt_prog_compiler_wl='-Wl,'
9339
    lt_prog_compiler_static='-static'
9340
 
9341
    case $host_os in
9342
      aix*)
9343
      # All AIX code is PIC.
9344
      if test "$host_cpu" = ia64; then
9345
        # AIX 5 now supports IA64 processor
9346
        lt_prog_compiler_static='-Bstatic'
9347
      fi
9348
      ;;
9349
 
9350
    amigaos*)
9351
      case $host_cpu in
9352
      powerpc)
9353
            # see comment about AmigaOS4 .so support
9354
            lt_prog_compiler_pic='-fPIC'
9355
        ;;
9356
      m68k)
9357
            # FIXME: we need at least 68020 code to build shared libraries, but
9358
            # adding the `-m68020' flag to GCC prevents building anything better,
9359
            # like `-m68040'.
9360
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9361
        ;;
9362
      esac
9363
      ;;
9364
 
9365
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9366
      # PIC is the default for these OSes.
9367
      ;;
9368
 
9369
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9370
      # This hack is so that the source file can tell whether it is being
9371
      # built for inclusion in a dll (and should export symbols for example).
9372
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9373
      # (--disable-auto-import) libraries
9374
      lt_prog_compiler_pic='-DDLL_EXPORT'
9375
      ;;
9376
 
9377
    darwin* | rhapsody*)
9378
      # PIC is the default on this platform
9379
      # Common symbols not allowed in MH_DYLIB files
9380
      lt_prog_compiler_pic='-fno-common'
9381
      ;;
9382
 
9383
    haiku*)
9384
      # PIC is the default for Haiku.
9385
      # The "-static" flag exists, but is broken.
9386
      lt_prog_compiler_static=
9387
      ;;
9388
 
9389
    hpux*)
9390
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9391
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9392
      # sets the default TLS model and affects inlining.
9393
      case $host_cpu in
9394
      hppa*64*)
9395
        # +Z the default
9396
        ;;
9397
      *)
9398
        lt_prog_compiler_pic='-fPIC'
9399
        ;;
9400
      esac
9401
      ;;
9402
 
9403
    interix[3-9]*)
9404
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9405
      # Instead, we relocate shared libraries at runtime.
9406
      ;;
9407
 
9408
    msdosdjgpp*)
9409
      # Just because we use GCC doesn't mean we suddenly get shared libraries
9410
      # on systems that don't support them.
9411
      lt_prog_compiler_can_build_shared=no
9412
      enable_shared=no
9413
      ;;
9414
 
9415
    *nto* | *qnx*)
9416
      # QNX uses GNU C++, but need to define -shared option too, otherwise
9417
      # it will coredump.
9418
      lt_prog_compiler_pic='-fPIC -shared'
9419
      ;;
9420
 
9421
    sysv4*MP*)
9422
      if test -d /usr/nec; then
9423
        lt_prog_compiler_pic=-Kconform_pic
9424
      fi
9425
      ;;
9426
 
9427
    *)
9428
      lt_prog_compiler_pic='-fPIC'
9429
      ;;
9430
    esac
9431
 
9432
    case $cc_basename in
9433
    nvcc*) # Cuda Compiler Driver 2.2
9434
      lt_prog_compiler_wl='-Xlinker '
9435
      lt_prog_compiler_pic='-Xcompiler -fPIC'
9436
      ;;
9437
    esac
9438
  else
9439
    # PORTME Check for flag to pass linker flags through the system compiler.
9440
    case $host_os in
9441
    aix*)
9442
      lt_prog_compiler_wl='-Wl,'
9443
      if test "$host_cpu" = ia64; then
9444
        # AIX 5 now supports IA64 processor
9445
        lt_prog_compiler_static='-Bstatic'
9446
      else
9447
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9448
      fi
9449
      ;;
9450
 
9451
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9452
      # This hack is so that the source file can tell whether it is being
9453
      # built for inclusion in a dll (and should export symbols for example).
9454
      lt_prog_compiler_pic='-DDLL_EXPORT'
9455
      ;;
9456
 
9457
    hpux9* | hpux10* | hpux11*)
9458
      lt_prog_compiler_wl='-Wl,'
9459
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9460
      # not for PA HP-UX.
9461
      case $host_cpu in
9462
      hppa*64*|ia64*)
9463
        # +Z the default
9464
        ;;
9465
      *)
9466
        lt_prog_compiler_pic='+Z'
9467
        ;;
9468
      esac
9469
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9470
      lt_prog_compiler_static='${wl}-a ${wl}archive'
9471
      ;;
9472
 
9473
    irix5* | irix6* | nonstopux*)
9474
      lt_prog_compiler_wl='-Wl,'
9475
      # PIC (with -KPIC) is the default.
9476
      lt_prog_compiler_static='-non_shared'
9477
      ;;
9478
 
9479
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9480
      case $cc_basename in
9481
      # old Intel for x86_64 which still supported -KPIC.
9482
      ecc*)
9483
        lt_prog_compiler_wl='-Wl,'
9484
        lt_prog_compiler_pic='-KPIC'
9485
        lt_prog_compiler_static='-static'
9486
        ;;
9487
      # icc used to be incompatible with GCC.
9488
      # ICC 10 doesn't accept -KPIC any more.
9489
      icc* | ifort*)
9490
        lt_prog_compiler_wl='-Wl,'
9491
        lt_prog_compiler_pic='-fPIC'
9492
        lt_prog_compiler_static='-static'
9493
        ;;
9494
      # Lahey Fortran 8.1.
9495
      lf95*)
9496
        lt_prog_compiler_wl='-Wl,'
9497
        lt_prog_compiler_pic='--shared'
9498
        lt_prog_compiler_static='--static'
9499
        ;;
9500
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9501
        # Portland Group compilers (*not* the Pentium gcc compiler,
9502
        # which looks to be a dead project)
9503
        lt_prog_compiler_wl='-Wl,'
9504
        lt_prog_compiler_pic='-fpic'
9505
        lt_prog_compiler_static='-Bstatic'
9506
        ;;
9507
      ccc*)
9508
        lt_prog_compiler_wl='-Wl,'
9509
        # All Alpha code is PIC.
9510
        lt_prog_compiler_static='-non_shared'
9511
        ;;
9512
      xl* | bgxl* | bgf* | mpixl*)
9513
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9514
        lt_prog_compiler_wl='-Wl,'
9515
        lt_prog_compiler_pic='-qpic'
9516
        lt_prog_compiler_static='-qstaticlink'
9517
        ;;
9518
      *)
9519
        case `$CC -V 2>&1 | sed 5q` in
9520
        *Sun\ F* | *Sun*Fortran*)
9521
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9522
          lt_prog_compiler_pic='-KPIC'
9523
          lt_prog_compiler_static='-Bstatic'
9524
          lt_prog_compiler_wl=''
9525
          ;;
9526
        *Sun\ C*)
9527
          # Sun C 5.9
9528
          lt_prog_compiler_pic='-KPIC'
9529
          lt_prog_compiler_static='-Bstatic'
9530
          lt_prog_compiler_wl='-Wl,'
9531
          ;;
9532
        esac
9533
        ;;
9534
      esac
9535
      ;;
9536
 
9537
    newsos6)
9538
      lt_prog_compiler_pic='-KPIC'
9539
      lt_prog_compiler_static='-Bstatic'
9540
      ;;
9541
 
9542
    *nto* | *qnx*)
9543
      # QNX uses GNU C++, but need to define -shared option too, otherwise
9544
      # it will coredump.
9545
      lt_prog_compiler_pic='-fPIC -shared'
9546
      ;;
9547
 
9548
    osf3* | osf4* | osf5*)
9549
      lt_prog_compiler_wl='-Wl,'
9550
      # All OSF/1 code is PIC.
9551
      lt_prog_compiler_static='-non_shared'
9552
      ;;
9553
 
9554
    rdos*)
9555
      lt_prog_compiler_static='-non_shared'
9556
      ;;
9557
 
9558
    solaris*)
9559
      lt_prog_compiler_pic='-KPIC'
9560
      lt_prog_compiler_static='-Bstatic'
9561
      case $cc_basename in
9562
      f77* | f90* | f95*)
9563
        lt_prog_compiler_wl='-Qoption ld ';;
9564
      *)
9565
        lt_prog_compiler_wl='-Wl,';;
9566
      esac
9567
      ;;
9568
 
9569
    sunos4*)
9570
      lt_prog_compiler_wl='-Qoption ld '
9571
      lt_prog_compiler_pic='-PIC'
9572
      lt_prog_compiler_static='-Bstatic'
9573
      ;;
9574
 
9575
    sysv4 | sysv4.2uw2* | sysv4.3*)
9576
      lt_prog_compiler_wl='-Wl,'
9577
      lt_prog_compiler_pic='-KPIC'
9578
      lt_prog_compiler_static='-Bstatic'
9579
      ;;
9580
 
9581
    sysv4*MP*)
9582
      if test -d /usr/nec ;then
9583
        lt_prog_compiler_pic='-Kconform_pic'
9584
        lt_prog_compiler_static='-Bstatic'
9585
      fi
9586
      ;;
9587
 
9588
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9589
      lt_prog_compiler_wl='-Wl,'
9590
      lt_prog_compiler_pic='-KPIC'
9591
      lt_prog_compiler_static='-Bstatic'
9592
      ;;
9593
 
9594
    unicos*)
9595
      lt_prog_compiler_wl='-Wl,'
9596
      lt_prog_compiler_can_build_shared=no
9597
      ;;
9598
 
9599
    uts4*)
9600
      lt_prog_compiler_pic='-pic'
9601
      lt_prog_compiler_static='-Bstatic'
9602
      ;;
9603
 
9604
    *)
9605
      lt_prog_compiler_can_build_shared=no
9606
      ;;
9607
    esac
9608
  fi
9609
 
9610
case $host_os in
9611
  # For platforms which do not support PIC, -DPIC is meaningless:
9612
  *djgpp*)
9613
    lt_prog_compiler_pic=
9614
    ;;
9615
  *)
9616
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9617
    ;;
9618
esac
9619
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9620
$as_echo "$lt_prog_compiler_pic" >&6; }
9621
 
9622
 
9623
 
9624
 
9625
 
9626
 
9627
#
9628
# Check to make sure the PIC flag actually works.
9629
#
9630
if test -n "$lt_prog_compiler_pic"; then
9631
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9632
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9633
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9634
  $as_echo_n "(cached) " >&6
9635
else
9636
  lt_cv_prog_compiler_pic_works=no
9637
   ac_outfile=conftest.$ac_objext
9638
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9639
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9640
   # Insert the option either (1) after the last *FLAGS variable, or
9641
   # (2) before a word containing "conftest.", or (3) at the end.
9642
   # Note that $ac_compile itself does not contain backslashes and begins
9643
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9644
   # The option is referenced via a variable to avoid confusing sed.
9645
   lt_compile=`echo "$ac_compile" | $SED \
9646
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9647
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9648
   -e 's:$: $lt_compiler_flag:'`
9649
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9650
   (eval "$lt_compile" 2>conftest.err)
9651
   ac_status=$?
9652
   cat conftest.err >&5
9653
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9654
   if (exit $ac_status) && test -s "$ac_outfile"; then
9655
     # The compiler can only warn and ignore the option if not recognized
9656
     # So say no if there are warnings other than the usual output.
9657
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9658
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9659
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9660
       lt_cv_prog_compiler_pic_works=yes
9661
     fi
9662
   fi
9663
   $RM conftest*
9664
 
9665
fi
9666
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9667
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9668
 
9669
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9670
    case $lt_prog_compiler_pic in
9671
     "" | " "*) ;;
9672
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9673
     esac
9674
else
9675
    lt_prog_compiler_pic=
9676
     lt_prog_compiler_can_build_shared=no
9677
fi
9678
 
9679
fi
9680
 
9681
 
9682
 
9683
 
9684
 
9685
 
9686
#
9687
# Check to make sure the static flag actually works.
9688
#
9689
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9691
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9692
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9693
  $as_echo_n "(cached) " >&6
9694
else
9695
  lt_cv_prog_compiler_static_works=no
9696
   save_LDFLAGS="$LDFLAGS"
9697
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9698
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9699
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9700
     # The linker can only warn and ignore the option if not recognized
9701
     # So say no if there are warnings
9702
     if test -s conftest.err; then
9703
       # Append any errors to the config.log.
9704
       cat conftest.err 1>&5
9705
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9706
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9707
       if diff conftest.exp conftest.er2 >/dev/null; then
9708
         lt_cv_prog_compiler_static_works=yes
9709
       fi
9710
     else
9711
       lt_cv_prog_compiler_static_works=yes
9712
     fi
9713
   fi
9714
   $RM -r conftest*
9715
   LDFLAGS="$save_LDFLAGS"
9716
 
9717
fi
9718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9719
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9720
 
9721
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9722
    :
9723
else
9724
    lt_prog_compiler_static=
9725
fi
9726
 
9727
 
9728
 
9729
 
9730
 
9731
 
9732
 
9733
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9734
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9735
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9736
  $as_echo_n "(cached) " >&6
9737
else
9738
  lt_cv_prog_compiler_c_o=no
9739
   $RM -r conftest 2>/dev/null
9740
   mkdir conftest
9741
   cd conftest
9742
   mkdir out
9743
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9744
 
9745
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9746
   # Insert the option either (1) after the last *FLAGS variable, or
9747
   # (2) before a word containing "conftest.", or (3) at the end.
9748
   # Note that $ac_compile itself does not contain backslashes and begins
9749
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9750
   lt_compile=`echo "$ac_compile" | $SED \
9751
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9752
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9753
   -e 's:$: $lt_compiler_flag:'`
9754
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9755
   (eval "$lt_compile" 2>out/conftest.err)
9756
   ac_status=$?
9757
   cat out/conftest.err >&5
9758
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9759
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9760
   then
9761
     # The compiler can only warn and ignore the option if not recognized
9762
     # So say no if there are warnings
9763
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9764
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9765
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9766
       lt_cv_prog_compiler_c_o=yes
9767
     fi
9768
   fi
9769
   chmod u+w . 2>&5
9770
   $RM conftest*
9771
   # SGI C++ compiler will create directory out/ii_files/ for
9772
   # template instantiation
9773
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9774
   $RM out/* && rmdir out
9775
   cd ..
9776
   $RM -r conftest
9777
   $RM conftest*
9778
 
9779
fi
9780
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9781
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9782
 
9783
 
9784
 
9785
 
9786
 
9787
 
9788
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9789
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9790
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9791
  $as_echo_n "(cached) " >&6
9792
else
9793
  lt_cv_prog_compiler_c_o=no
9794
   $RM -r conftest 2>/dev/null
9795
   mkdir conftest
9796
   cd conftest
9797
   mkdir out
9798
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9799
 
9800
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9801
   # Insert the option either (1) after the last *FLAGS variable, or
9802
   # (2) before a word containing "conftest.", or (3) at the end.
9803
   # Note that $ac_compile itself does not contain backslashes and begins
9804
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9805
   lt_compile=`echo "$ac_compile" | $SED \
9806
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9807
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9808
   -e 's:$: $lt_compiler_flag:'`
9809
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9810
   (eval "$lt_compile" 2>out/conftest.err)
9811
   ac_status=$?
9812
   cat out/conftest.err >&5
9813
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9814
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9815
   then
9816
     # The compiler can only warn and ignore the option if not recognized
9817
     # So say no if there are warnings
9818
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9819
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9820
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9821
       lt_cv_prog_compiler_c_o=yes
9822
     fi
9823
   fi
9824
   chmod u+w . 2>&5
9825
   $RM conftest*
9826
   # SGI C++ compiler will create directory out/ii_files/ for
9827
   # template instantiation
9828
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9829
   $RM out/* && rmdir out
9830
   cd ..
9831
   $RM -r conftest
9832
   $RM conftest*
9833
 
9834
fi
9835
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9836
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9837
 
9838
 
9839
 
9840
 
9841
hard_links="nottested"
9842
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9843
  # do not overwrite the value of need_locks provided by the user
9844
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9845
$as_echo_n "checking if we can lock with hard links... " >&6; }
9846
  hard_links=yes
9847
  $RM conftest*
9848
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9849
  touch conftest.a
9850
  ln conftest.a conftest.b 2>&5 || hard_links=no
9851
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9852
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9853
$as_echo "$hard_links" >&6; }
9854
  if test "$hard_links" = no; then
9855
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9856
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9857
    need_locks=warn
9858
  fi
9859
else
9860
  need_locks=no
9861
fi
9862
 
9863
 
9864
 
9865
 
9866
 
9867
 
9868
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9869
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9870
 
9871
  runpath_var=
9872
  allow_undefined_flag=
9873
  always_export_symbols=no
9874
  archive_cmds=
9875
  archive_expsym_cmds=
9876
  compiler_needs_object=no
9877
  enable_shared_with_static_runtimes=no
9878
  export_dynamic_flag_spec=
9879
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9880
  hardcode_automatic=no
9881
  hardcode_direct=no
9882
  hardcode_direct_absolute=no
9883
  hardcode_libdir_flag_spec=
9884
  hardcode_libdir_flag_spec_ld=
9885
  hardcode_libdir_separator=
9886
  hardcode_minus_L=no
9887
  hardcode_shlibpath_var=unsupported
9888
  inherit_rpath=no
9889
  link_all_deplibs=unknown
9890
  module_cmds=
9891
  module_expsym_cmds=
9892
  old_archive_from_new_cmds=
9893
  old_archive_from_expsyms_cmds=
9894
  thread_safe_flag_spec=
9895
  whole_archive_flag_spec=
9896
  # include_expsyms should be a list of space-separated symbols to be *always*
9897
  # included in the symbol list
9898
  include_expsyms=
9899
  # exclude_expsyms can be an extended regexp of symbols to exclude
9900
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9901
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9902
  # as well as any symbol that contains `d'.
9903
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9904
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9905
  # platforms (ab)use it in PIC code, but their linkers get confused if
9906
  # the symbol is explicitly referenced.  Since portable code cannot
9907
  # rely on this symbol name, it's probably fine to never include it in
9908
  # preloaded symbol tables.
9909
  # Exclude shared library initialization/finalization symbols.
9910
  extract_expsyms_cmds=
9911
 
9912
  case $host_os in
9913
  cygwin* | mingw* | pw32* | cegcc*)
9914
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9915
    # When not using gcc, we currently assume that we are using
9916
    # Microsoft Visual C++.
9917
    if test "$GCC" != yes; then
9918
      with_gnu_ld=no
9919
    fi
9920
    ;;
9921
  interix*)
9922
    # we just hope/assume this is gcc and not c89 (= MSVC++)
9923
    with_gnu_ld=yes
9924
    ;;
9925
  openbsd*)
9926
    with_gnu_ld=no
9927
    ;;
9928
  esac
9929
 
9930
  ld_shlibs=yes
9931
 
9932
  # On some targets, GNU ld is compatible enough with the native linker
9933
  # that we're better off using the native interface for both.
9934
  lt_use_gnu_ld_interface=no
9935
  if test "$with_gnu_ld" = yes; then
9936
    case $host_os in
9937
      aix*)
9938
        # The AIX port of GNU ld has always aspired to compatibility
9939
        # with the native linker.  However, as the warning in the GNU ld
9940
        # block says, versions before 2.19.5* couldn't really create working
9941
        # shared libraries, regardless of the interface used.
9942
        case `$LD -v 2>&1` in
9943
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9944
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9945
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9946
          *)
9947
            lt_use_gnu_ld_interface=yes
9948
            ;;
9949
        esac
9950
        ;;
9951
      *)
9952
        lt_use_gnu_ld_interface=yes
9953
        ;;
9954
    esac
9955
  fi
9956
 
9957
  if test "$lt_use_gnu_ld_interface" = yes; then
9958
    # If archive_cmds runs LD, not CC, wlarc should be empty
9959
    wlarc='${wl}'
9960
 
9961
    # Set some defaults for GNU ld with shared library support. These
9962
    # are reset later if shared libraries are not supported. Putting them
9963
    # here allows them to be overridden if necessary.
9964
    runpath_var=LD_RUN_PATH
9965
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9966
    export_dynamic_flag_spec='${wl}--export-dynamic'
9967
    # ancient GNU ld didn't support --whole-archive et. al.
9968
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9969
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9970
    else
9971
      whole_archive_flag_spec=
9972
    fi
9973
    supports_anon_versioning=no
9974
    case `$LD -v 2>&1` in
9975
      *GNU\ gold*) supports_anon_versioning=yes ;;
9976
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9977
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9978
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9979
      *\ 2.11.*) ;; # other 2.11 versions
9980
      *) supports_anon_versioning=yes ;;
9981
    esac
9982
 
9983
    # See if GNU ld supports shared libraries.
9984
    case $host_os in
9985
    aix[3-9]*)
9986
      # On AIX/PPC, the GNU linker is very broken
9987
      if test "$host_cpu" != ia64; then
9988
        ld_shlibs=no
9989
        cat <<_LT_EOF 1>&2
9990
 
9991
*** Warning: the GNU linker, at least up to release 2.19, is reported
9992
*** to be unable to reliably create shared libraries on AIX.
9993
*** Therefore, libtool is disabling shared libraries support.  If you
9994
*** really care for shared libraries, you may want to install binutils
9995
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9996
*** You will then need to restart the configuration process.
9997
 
9998
_LT_EOF
9999
      fi
10000
      ;;
10001
 
10002
    amigaos*)
10003
      case $host_cpu in
10004
      powerpc)
10005
            # see comment about AmigaOS4 .so support
10006
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10007
            archive_expsym_cmds=''
10008
        ;;
10009
      m68k)
10010
            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)'
10011
            hardcode_libdir_flag_spec='-L$libdir'
10012
            hardcode_minus_L=yes
10013
        ;;
10014
      esac
10015
      ;;
10016
 
10017
    beos*)
10018
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10019
        allow_undefined_flag=unsupported
10020
        # Joseph Beckenbach  says some releases of gcc
10021
        # support --undefined.  This deserves some investigation.  FIXME
10022
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10023
      else
10024
        ld_shlibs=no
10025
      fi
10026
      ;;
10027
 
10028
    cygwin* | mingw* | pw32* | cegcc*)
10029
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10030
      # as there is no search path for DLLs.
10031
      hardcode_libdir_flag_spec='-L$libdir'
10032
      export_dynamic_flag_spec='${wl}--export-all-symbols'
10033
      allow_undefined_flag=unsupported
10034
      always_export_symbols=no
10035
      enable_shared_with_static_runtimes=yes
10036
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10037
 
10038
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10039
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10040
        # If the export-symbols file already is a .def file (1st line
10041
        # is EXPORTS), use it as is; otherwise, prepend...
10042
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10043
          cp $export_symbols $output_objdir/$soname.def;
10044
        else
10045
          echo EXPORTS > $output_objdir/$soname.def;
10046
          cat $export_symbols >> $output_objdir/$soname.def;
10047
        fi~
10048
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10049
      else
10050
        ld_shlibs=no
10051
      fi
10052
      ;;
10053
 
10054
    haiku*)
10055
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10056
      link_all_deplibs=yes
10057
      ;;
10058
 
10059
    interix[3-9]*)
10060
      hardcode_direct=no
10061
      hardcode_shlibpath_var=no
10062
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10063
      export_dynamic_flag_spec='${wl}-E'
10064
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10065
      # Instead, shared libraries are loaded at an image base (0x10000000 by
10066
      # default) and relocated if they conflict, which is a slow very memory
10067
      # consuming and fragmenting process.  To avoid this, we pick a random,
10068
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10069
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10070
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10071
      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'
10072
      ;;
10073
 
10074
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10075
      tmp_diet=no
10076
      if test "$host_os" = linux-dietlibc; then
10077
        case $cc_basename in
10078
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10079
        esac
10080
      fi
10081
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10082
         && test "$tmp_diet" = no
10083
      then
10084
        tmp_addflag=
10085
        tmp_sharedflag='-shared'
10086
        case $cc_basename,$host_cpu in
10087
        pgcc*)                          # Portland Group C compiler
10088
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10089
          tmp_addflag=' $pic_flag'
10090
          ;;
10091
        pgf77* | pgf90* | pgf95* | pgfortran*)
10092
                                        # Portland Group f77 and f90 compilers
10093
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10094
          tmp_addflag=' $pic_flag -Mnomain' ;;
10095
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10096
          tmp_addflag=' -i_dynamic' ;;
10097
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10098
          tmp_addflag=' -i_dynamic -nofor_main' ;;
10099
        ifc* | ifort*)                  # Intel Fortran compiler
10100
          tmp_addflag=' -nofor_main' ;;
10101
        lf95*)                          # Lahey Fortran 8.1
10102
          whole_archive_flag_spec=
10103
          tmp_sharedflag='--shared' ;;
10104
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10105
          tmp_sharedflag='-qmkshrobj'
10106
          tmp_addflag= ;;
10107
        nvcc*)  # Cuda Compiler Driver 2.2
10108
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10109
          compiler_needs_object=yes
10110
          ;;
10111
        esac
10112
        case `$CC -V 2>&1 | sed 5q` in
10113
        *Sun\ C*)                       # Sun C 5.9
10114
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10115
          compiler_needs_object=yes
10116
          tmp_sharedflag='-G' ;;
10117
        *Sun\ F*)                       # Sun Fortran 8.3
10118
          tmp_sharedflag='-G' ;;
10119
        esac
10120
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10121
 
10122
        if test "x$supports_anon_versioning" = xyes; then
10123
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10124
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10125
            echo "local: *; };" >> $output_objdir/$libname.ver~
10126
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10127
        fi
10128
 
10129
        case $cc_basename in
10130
        xlf* | bgf* | bgxlf* | mpixlf*)
10131
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10132
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10133
          hardcode_libdir_flag_spec=
10134
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
10135
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10136
          if test "x$supports_anon_versioning" = xyes; then
10137
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10138
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10139
              echo "local: *; };" >> $output_objdir/$libname.ver~
10140
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10141
          fi
10142
          ;;
10143
        esac
10144
      else
10145
        ld_shlibs=no
10146
      fi
10147
      ;;
10148
 
10149
    netbsd*)
10150
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10151
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10152
        wlarc=
10153
      else
10154
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10155
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10156
      fi
10157
      ;;
10158
 
10159
    solaris*)
10160
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10161
        ld_shlibs=no
10162
        cat <<_LT_EOF 1>&2
10163
 
10164
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10165
*** create shared libraries on Solaris systems.  Therefore, libtool
10166
*** is disabling shared libraries support.  We urge you to upgrade GNU
10167
*** binutils to release 2.9.1 or newer.  Another option is to modify
10168
*** your PATH or compiler configuration so that the native linker is
10169
*** used, and then restart.
10170
 
10171
_LT_EOF
10172
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10173
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10174
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10175
      else
10176
        ld_shlibs=no
10177
      fi
10178
      ;;
10179
 
10180
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10181
      case `$LD -v 2>&1` in
10182
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10183
        ld_shlibs=no
10184
        cat <<_LT_EOF 1>&2
10185
 
10186
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10187
*** reliably create shared libraries on SCO systems.  Therefore, libtool
10188
*** is disabling shared libraries support.  We urge you to upgrade GNU
10189
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10190
*** your PATH or compiler configuration so that the native linker is
10191
*** used, and then restart.
10192
 
10193
_LT_EOF
10194
        ;;
10195
        *)
10196
          # For security reasons, it is highly recommended that you always
10197
          # use absolute paths for naming shared libraries, and exclude the
10198
          # DT_RUNPATH tag from executables and libraries.  But doing so
10199
          # requires that you compile everything twice, which is a pain.
10200
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10201
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10202
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10203
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10204
          else
10205
            ld_shlibs=no
10206
          fi
10207
        ;;
10208
      esac
10209
      ;;
10210
 
10211
    sunos4*)
10212
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10213
      wlarc=
10214
      hardcode_direct=yes
10215
      hardcode_shlibpath_var=no
10216
      ;;
10217
 
10218
    *)
10219
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10220
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10221
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10222
      else
10223
        ld_shlibs=no
10224
      fi
10225
      ;;
10226
    esac
10227
 
10228
    if test "$ld_shlibs" = no; then
10229
      runpath_var=
10230
      hardcode_libdir_flag_spec=
10231
      export_dynamic_flag_spec=
10232
      whole_archive_flag_spec=
10233
    fi
10234
  else
10235
    # PORTME fill in a description of your system's linker (not GNU ld)
10236
    case $host_os in
10237
    aix3*)
10238
      allow_undefined_flag=unsupported
10239
      always_export_symbols=yes
10240
      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'
10241
      # Note: this linker hardcodes the directories in LIBPATH if there
10242
      # are no directories specified by -L.
10243
      hardcode_minus_L=yes
10244
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10245
        # Neither direct hardcoding nor static linking is supported with a
10246
        # broken collect2.
10247
        hardcode_direct=unsupported
10248
      fi
10249
      ;;
10250
 
10251
    aix[4-9]*)
10252
      if test "$host_cpu" = ia64; then
10253
        # On IA64, the linker does run time linking by default, so we don't
10254
        # have to do anything special.
10255
        aix_use_runtimelinking=no
10256
        exp_sym_flag='-Bexport'
10257
        no_entry_flag=""
10258
      else
10259
        # If we're using GNU nm, then we don't want the "-C" option.
10260
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
10261
        # Also, AIX nm treats weak defined symbols like other global
10262
        # defined symbols, whereas GNU nm marks them as "W".
10263
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10264
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10265
        else
10266
          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'
10267
        fi
10268
        aix_use_runtimelinking=no
10269
 
10270
        # Test if we are trying to use run time linking or normal
10271
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10272
        # need to do runtime linking.
10273
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10274
          for ld_flag in $LDFLAGS; do
10275
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10276
            aix_use_runtimelinking=yes
10277
            break
10278
          fi
10279
          done
10280
          ;;
10281
        esac
10282
 
10283
        exp_sym_flag='-bexport'
10284
        no_entry_flag='-bnoentry'
10285
      fi
10286
 
10287
      # When large executables or shared objects are built, AIX ld can
10288
      # have problems creating the table of contents.  If linking a library
10289
      # or program results in "error TOC overflow" add -mminimal-toc to
10290
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10291
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10292
 
10293
      archive_cmds=''
10294
      hardcode_direct=yes
10295
      hardcode_direct_absolute=yes
10296
      hardcode_libdir_separator=':'
10297
      link_all_deplibs=yes
10298
      file_list_spec='${wl}-f,'
10299
 
10300
      if test "$GCC" = yes; then
10301
        case $host_os in aix4.[012]|aix4.[012].*)
10302
        # We only want to do this on AIX 4.2 and lower, the check
10303
        # below for broken collect2 doesn't work under 4.3+
10304
          collect2name=`${CC} -print-prog-name=collect2`
10305
          if test -f "$collect2name" &&
10306
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10307
          then
10308
          # We have reworked collect2
10309
          :
10310
          else
10311
          # We have old collect2
10312
          hardcode_direct=unsupported
10313
          # It fails to find uninstalled libraries when the uninstalled
10314
          # path is not listed in the libpath.  Setting hardcode_minus_L
10315
          # to unsupported forces relinking
10316
          hardcode_minus_L=yes
10317
          hardcode_libdir_flag_spec='-L$libdir'
10318
          hardcode_libdir_separator=
10319
          fi
10320
          ;;
10321
        esac
10322
        shared_flag='-shared'
10323
        if test "$aix_use_runtimelinking" = yes; then
10324
          shared_flag="$shared_flag "'${wl}-G'
10325
        fi
10326
      else
10327
        # not using gcc
10328
        if test "$host_cpu" = ia64; then
10329
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10330
        # chokes on -Wl,-G. The following line is correct:
10331
          shared_flag='-G'
10332
        else
10333
          if test "$aix_use_runtimelinking" = yes; then
10334
            shared_flag='${wl}-G'
10335
          else
10336
            shared_flag='${wl}-bM:SRE'
10337
          fi
10338
        fi
10339
      fi
10340
 
10341
      export_dynamic_flag_spec='${wl}-bexpall'
10342
      # It seems that -bexpall does not export symbols beginning with
10343
      # underscore (_), so it is better to generate a list of symbols to export.
10344
      always_export_symbols=yes
10345
      if test "$aix_use_runtimelinking" = yes; then
10346
        # Warning - without using the other runtime loading flags (-brtl),
10347
        # -berok will link without error, but may produce a broken library.
10348
        allow_undefined_flag='-berok'
10349
        # Determine the default libpath from the value encoded in an
10350
        # empty executable.
10351
        if test x$gcc_no_link = xyes; then
10352
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10353
fi
10354
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10355
/* end confdefs.h.  */
10356
 
10357
int
10358
main ()
10359
{
10360
 
10361
  ;
10362
  return 0;
10363
}
10364
_ACEOF
10365
if ac_fn_c_try_link "$LINENO"; then :
10366
 
10367
lt_aix_libpath_sed='
10368
    /Import File Strings/,/^$/ {
10369
        /^0/ {
10370
            s/^0  *\(.*\)$/\1/
10371
            p
10372
        }
10373
    }'
10374
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10375
# Check for a 64-bit object if we didn't find anything.
10376
if test -z "$aix_libpath"; then
10377
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10378
fi
10379
fi
10380
rm -f core conftest.err conftest.$ac_objext \
10381
    conftest$ac_exeext conftest.$ac_ext
10382
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10383
 
10384
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10385
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10386
      else
10387
        if test "$host_cpu" = ia64; then
10388
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10389
          allow_undefined_flag="-z nodefs"
10390
          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"
10391
        else
10392
         # Determine the default libpath from the value encoded in an
10393
         # empty executable.
10394
         if test x$gcc_no_link = xyes; then
10395
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10396
fi
10397
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10398
/* end confdefs.h.  */
10399
 
10400
int
10401
main ()
10402
{
10403
 
10404
  ;
10405
  return 0;
10406
}
10407
_ACEOF
10408
if ac_fn_c_try_link "$LINENO"; then :
10409
 
10410
lt_aix_libpath_sed='
10411
    /Import File Strings/,/^$/ {
10412
        /^0/ {
10413
            s/^0  *\(.*\)$/\1/
10414
            p
10415
        }
10416
    }'
10417
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10418
# Check for a 64-bit object if we didn't find anything.
10419
if test -z "$aix_libpath"; then
10420
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10421
fi
10422
fi
10423
rm -f core conftest.err conftest.$ac_objext \
10424
    conftest$ac_exeext conftest.$ac_ext
10425
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10426
 
10427
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10428
          # Warning - without using the other run time loading flags,
10429
          # -berok will link without error, but may produce a broken library.
10430
          no_undefined_flag=' ${wl}-bernotok'
10431
          allow_undefined_flag=' ${wl}-berok'
10432
          if test "$with_gnu_ld" = yes; then
10433
            # We only use this code for GNU lds that support --whole-archive.
10434
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10435
          else
10436
            # Exported symbols can be pulled into shared objects from archives
10437
            whole_archive_flag_spec='$convenience'
10438
          fi
10439
          archive_cmds_need_lc=yes
10440
          # This is similar to how AIX traditionally builds its shared libraries.
10441
          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'
10442
        fi
10443
      fi
10444
      ;;
10445
 
10446
    amigaos*)
10447
      case $host_cpu in
10448
      powerpc)
10449
            # see comment about AmigaOS4 .so support
10450
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10451
            archive_expsym_cmds=''
10452
        ;;
10453
      m68k)
10454
            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)'
10455
            hardcode_libdir_flag_spec='-L$libdir'
10456
            hardcode_minus_L=yes
10457
        ;;
10458
      esac
10459
      ;;
10460
 
10461
    bsdi[45]*)
10462
      export_dynamic_flag_spec=-rdynamic
10463
      ;;
10464
 
10465
    cygwin* | mingw* | pw32* | cegcc*)
10466
      # When not using gcc, we currently assume that we are using
10467
      # Microsoft Visual C++.
10468
      # hardcode_libdir_flag_spec is actually meaningless, as there is
10469
      # no search path for DLLs.
10470
      hardcode_libdir_flag_spec=' '
10471
      allow_undefined_flag=unsupported
10472
      # Tell ltmain to make .lib files, not .a files.
10473
      libext=lib
10474
      # Tell ltmain to make .dll files, not .so files.
10475
      shrext_cmds=".dll"
10476
      # FIXME: Setting linknames here is a bad hack.
10477
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10478
      # The linker will automatically build a .lib file if we build a DLL.
10479
      old_archive_from_new_cmds='true'
10480
      # FIXME: Should let the user specify the lib program.
10481
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10482
      fix_srcfile_path='`cygpath -w "$srcfile"`'
10483
      enable_shared_with_static_runtimes=yes
10484
      ;;
10485
 
10486
    darwin* | rhapsody*)
10487
 
10488
 
10489
  archive_cmds_need_lc=no
10490
  hardcode_direct=no
10491
  hardcode_automatic=yes
10492
  hardcode_shlibpath_var=unsupported
10493
  if test "$lt_cv_ld_force_load" = "yes"; then
10494
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10495
  else
10496
    whole_archive_flag_spec=''
10497
  fi
10498
  link_all_deplibs=yes
10499
  allow_undefined_flag="$_lt_dar_allow_undefined"
10500
  case $cc_basename in
10501
     ifort*) _lt_dar_can_shared=yes ;;
10502
     *) _lt_dar_can_shared=$GCC ;;
10503
  esac
10504
  if test "$_lt_dar_can_shared" = "yes"; then
10505
    output_verbose_link_cmd=func_echo_all
10506
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10507
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10508
    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}"
10509
    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}"
10510
 
10511
  else
10512
  ld_shlibs=no
10513
  fi
10514
 
10515
      ;;
10516
 
10517
    dgux*)
10518
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10519
      hardcode_libdir_flag_spec='-L$libdir'
10520
      hardcode_shlibpath_var=no
10521
      ;;
10522
 
10523
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10524
    # support.  Future versions do this automatically, but an explicit c++rt0.o
10525
    # does not break anything, and helps significantly (at the cost of a little
10526
    # extra space).
10527
    freebsd2.2*)
10528
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10529
      hardcode_libdir_flag_spec='-R$libdir'
10530
      hardcode_direct=yes
10531
      hardcode_shlibpath_var=no
10532
      ;;
10533
 
10534
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10535
    freebsd2.*)
10536
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10537
      hardcode_direct=yes
10538
      hardcode_minus_L=yes
10539
      hardcode_shlibpath_var=no
10540
      ;;
10541
 
10542
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10543
    freebsd* | dragonfly*)
10544
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10545
      hardcode_libdir_flag_spec='-R$libdir'
10546
      hardcode_direct=yes
10547
      hardcode_shlibpath_var=no
10548
      ;;
10549
 
10550
    hpux9*)
10551
      if test "$GCC" = yes; then
10552
        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'
10553
      else
10554
        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'
10555
      fi
10556
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10557
      hardcode_libdir_separator=:
10558
      hardcode_direct=yes
10559
 
10560
      # hardcode_minus_L: Not really in the search PATH,
10561
      # but as the default location of the library.
10562
      hardcode_minus_L=yes
10563
      export_dynamic_flag_spec='${wl}-E'
10564
      ;;
10565
 
10566
    hpux10*)
10567
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10568
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10569
      else
10570
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10571
      fi
10572
      if test "$with_gnu_ld" = no; then
10573
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10574
        hardcode_libdir_flag_spec_ld='+b $libdir'
10575
        hardcode_libdir_separator=:
10576
        hardcode_direct=yes
10577
        hardcode_direct_absolute=yes
10578
        export_dynamic_flag_spec='${wl}-E'
10579
        # hardcode_minus_L: Not really in the search PATH,
10580
        # but as the default location of the library.
10581
        hardcode_minus_L=yes
10582
      fi
10583
      ;;
10584
 
10585
    hpux11*)
10586
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10587
        case $host_cpu in
10588
        hppa*64*)
10589
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10590
          ;;
10591
        ia64*)
10592
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10593
          ;;
10594
        *)
10595
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10596
          ;;
10597
        esac
10598
      else
10599
        case $host_cpu in
10600
        hppa*64*)
10601
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10602
          ;;
10603
        ia64*)
10604
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10605
          ;;
10606
        *)
10607
 
10608
          # Older versions of the 11.00 compiler do not understand -b yet
10609
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10610
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10611
$as_echo_n "checking if $CC understands -b... " >&6; }
10612
if test "${lt_cv_prog_compiler__b+set}" = set; then :
10613
  $as_echo_n "(cached) " >&6
10614
else
10615
  lt_cv_prog_compiler__b=no
10616
   save_LDFLAGS="$LDFLAGS"
10617
   LDFLAGS="$LDFLAGS -b"
10618
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10619
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10620
     # The linker can only warn and ignore the option if not recognized
10621
     # So say no if there are warnings
10622
     if test -s conftest.err; then
10623
       # Append any errors to the config.log.
10624
       cat conftest.err 1>&5
10625
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10626
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10627
       if diff conftest.exp conftest.er2 >/dev/null; then
10628
         lt_cv_prog_compiler__b=yes
10629
       fi
10630
     else
10631
       lt_cv_prog_compiler__b=yes
10632
     fi
10633
   fi
10634
   $RM -r conftest*
10635
   LDFLAGS="$save_LDFLAGS"
10636
 
10637
fi
10638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10639
$as_echo "$lt_cv_prog_compiler__b" >&6; }
10640
 
10641
if test x"$lt_cv_prog_compiler__b" = xyes; then
10642
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10643
else
10644
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10645
fi
10646
 
10647
          ;;
10648
        esac
10649
      fi
10650
      if test "$with_gnu_ld" = no; then
10651
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10652
        hardcode_libdir_separator=:
10653
 
10654
        case $host_cpu in
10655
        hppa*64*|ia64*)
10656
          hardcode_direct=no
10657
          hardcode_shlibpath_var=no
10658
          ;;
10659
        *)
10660
          hardcode_direct=yes
10661
          hardcode_direct_absolute=yes
10662
          export_dynamic_flag_spec='${wl}-E'
10663
 
10664
          # hardcode_minus_L: Not really in the search PATH,
10665
          # but as the default location of the library.
10666
          hardcode_minus_L=yes
10667
          ;;
10668
        esac
10669
      fi
10670
      ;;
10671
 
10672
    irix5* | irix6* | nonstopux*)
10673
      if test "$GCC" = yes; then
10674
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10675
        # Try to use the -exported_symbol ld option, if it does not
10676
        # work, assume that -exports_file does not work either and
10677
        # implicitly export all symbols.
10678
        save_LDFLAGS="$LDFLAGS"
10679
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10680
        if test x$gcc_no_link = xyes; then
10681
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10682
fi
10683
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10684
/* end confdefs.h.  */
10685
int foo(void) {}
10686
_ACEOF
10687
if ac_fn_c_try_link "$LINENO"; then :
10688
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10689
 
10690
fi
10691
rm -f core conftest.err conftest.$ac_objext \
10692
    conftest$ac_exeext conftest.$ac_ext
10693
        LDFLAGS="$save_LDFLAGS"
10694
      else
10695
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10696
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10697
      fi
10698
      archive_cmds_need_lc='no'
10699
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10700
      hardcode_libdir_separator=:
10701
      inherit_rpath=yes
10702
      link_all_deplibs=yes
10703
      ;;
10704
 
10705
    netbsd*)
10706
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10707
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10708
      else
10709
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10710
      fi
10711
      hardcode_libdir_flag_spec='-R$libdir'
10712
      hardcode_direct=yes
10713
      hardcode_shlibpath_var=no
10714
      ;;
10715
 
10716
    newsos6)
10717
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10718
      hardcode_direct=yes
10719
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10720
      hardcode_libdir_separator=:
10721
      hardcode_shlibpath_var=no
10722
      ;;
10723
 
10724
    *nto* | *qnx*)
10725
      ;;
10726
 
10727
    openbsd*)
10728
      if test -f /usr/libexec/ld.so; then
10729
        hardcode_direct=yes
10730
        hardcode_shlibpath_var=no
10731
        hardcode_direct_absolute=yes
10732
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10733
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10734
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10735
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10736
          export_dynamic_flag_spec='${wl}-E'
10737
        else
10738
          case $host_os in
10739
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10740
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10741
             hardcode_libdir_flag_spec='-R$libdir'
10742
             ;;
10743
           *)
10744
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10745
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10746
             ;;
10747
          esac
10748
        fi
10749
      else
10750
        ld_shlibs=no
10751
      fi
10752
      ;;
10753
 
10754
    os2*)
10755
      hardcode_libdir_flag_spec='-L$libdir'
10756
      hardcode_minus_L=yes
10757
      allow_undefined_flag=unsupported
10758
      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'
10759
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10760
      ;;
10761
 
10762
    osf3*)
10763
      if test "$GCC" = yes; then
10764
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10765
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10766
      else
10767
        allow_undefined_flag=' -expect_unresolved \*'
10768
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10769
      fi
10770
      archive_cmds_need_lc='no'
10771
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10772
      hardcode_libdir_separator=:
10773
      ;;
10774
 
10775
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10776
      if test "$GCC" = yes; then
10777
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10778
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10779
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10780
      else
10781
        allow_undefined_flag=' -expect_unresolved \*'
10782
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10783
        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~
10784
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10785
 
10786
        # Both c and cxx compiler support -rpath directly
10787
        hardcode_libdir_flag_spec='-rpath $libdir'
10788
      fi
10789
      archive_cmds_need_lc='no'
10790
      hardcode_libdir_separator=:
10791
      ;;
10792
 
10793
    solaris*)
10794
      no_undefined_flag=' -z defs'
10795
      if test "$GCC" = yes; then
10796
        wlarc='${wl}'
10797
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10798
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10799
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10800
      else
10801
        case `$CC -V 2>&1` in
10802
        *"Compilers 5.0"*)
10803
          wlarc=''
10804
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10805
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10806
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10807
          ;;
10808
        *)
10809
          wlarc='${wl}'
10810
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10811
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10812
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10813
          ;;
10814
        esac
10815
      fi
10816
      hardcode_libdir_flag_spec='-R$libdir'
10817
      hardcode_shlibpath_var=no
10818
      case $host_os in
10819
      solaris2.[0-5] | solaris2.[0-5].*) ;;
10820
      *)
10821
        # The compiler driver will combine and reorder linker options,
10822
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10823
        # but is careful enough not to reorder.
10824
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10825
        if test "$GCC" = yes; then
10826
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10827
        else
10828
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10829
        fi
10830
        ;;
10831
      esac
10832
      link_all_deplibs=yes
10833
      ;;
10834
 
10835
    sunos4*)
10836
      if test "x$host_vendor" = xsequent; then
10837
        # Use $CC to link under sequent, because it throws in some extra .o
10838
        # files that make .init and .fini sections work.
10839
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10840
      else
10841
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10842
      fi
10843
      hardcode_libdir_flag_spec='-L$libdir'
10844
      hardcode_direct=yes
10845
      hardcode_minus_L=yes
10846
      hardcode_shlibpath_var=no
10847
      ;;
10848
 
10849
    sysv4)
10850
      case $host_vendor in
10851
        sni)
10852
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10853
          hardcode_direct=yes # is this really true???
10854
        ;;
10855
        siemens)
10856
          ## LD is ld it makes a PLAMLIB
10857
          ## CC just makes a GrossModule.
10858
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10859
          reload_cmds='$CC -r -o $output$reload_objs'
10860
          hardcode_direct=no
10861
        ;;
10862
        motorola)
10863
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10864
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10865
        ;;
10866
      esac
10867
      runpath_var='LD_RUN_PATH'
10868
      hardcode_shlibpath_var=no
10869
      ;;
10870
 
10871
    sysv4.3*)
10872
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10873
      hardcode_shlibpath_var=no
10874
      export_dynamic_flag_spec='-Bexport'
10875
      ;;
10876
 
10877
    sysv4*MP*)
10878
      if test -d /usr/nec; then
10879
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10880
        hardcode_shlibpath_var=no
10881
        runpath_var=LD_RUN_PATH
10882
        hardcode_runpath_var=yes
10883
        ld_shlibs=yes
10884
      fi
10885
      ;;
10886
 
10887
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10888
      no_undefined_flag='${wl}-z,text'
10889
      archive_cmds_need_lc=no
10890
      hardcode_shlibpath_var=no
10891
      runpath_var='LD_RUN_PATH'
10892
 
10893
      if test "$GCC" = yes; then
10894
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10895
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10896
      else
10897
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10898
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10899
      fi
10900
      ;;
10901
 
10902
    sysv5* | sco3.2v5* | sco5v6*)
10903
      # Note: We can NOT use -z defs as we might desire, because we do not
10904
      # link with -lc, and that would cause any symbols used from libc to
10905
      # always be unresolved, which means just about no library would
10906
      # ever link correctly.  If we're not using GNU ld we use -z text
10907
      # though, which does catch some bad symbols but isn't as heavy-handed
10908
      # as -z defs.
10909
      no_undefined_flag='${wl}-z,text'
10910
      allow_undefined_flag='${wl}-z,nodefs'
10911
      archive_cmds_need_lc=no
10912
      hardcode_shlibpath_var=no
10913
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10914
      hardcode_libdir_separator=':'
10915
      link_all_deplibs=yes
10916
      export_dynamic_flag_spec='${wl}-Bexport'
10917
      runpath_var='LD_RUN_PATH'
10918
 
10919
      if test "$GCC" = yes; then
10920
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10921
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10922
      else
10923
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10924
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10925
      fi
10926
      ;;
10927
 
10928
    uts4*)
10929
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10930
      hardcode_libdir_flag_spec='-L$libdir'
10931
      hardcode_shlibpath_var=no
10932
      ;;
10933
 
10934
    *)
10935
      ld_shlibs=no
10936
      ;;
10937
    esac
10938
 
10939
    if test x$host_vendor = xsni; then
10940
      case $host in
10941
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10942
        export_dynamic_flag_spec='${wl}-Blargedynsym'
10943
        ;;
10944
      esac
10945
    fi
10946
  fi
10947
 
10948
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10949
$as_echo "$ld_shlibs" >&6; }
10950
test "$ld_shlibs" = no && can_build_shared=no
10951
 
10952
with_gnu_ld=$with_gnu_ld
10953
 
10954
 
10955
 
10956
 
10957
 
10958
 
10959
 
10960
 
10961
 
10962
 
10963
 
10964
 
10965
 
10966
 
10967
 
10968
#
10969
# Do we need to explicitly link libc?
10970
#
10971
case "x$archive_cmds_need_lc" in
10972
x|xyes)
10973
  # Assume -lc should be added
10974
  archive_cmds_need_lc=yes
10975
 
10976
  if test "$enable_shared" = yes && test "$GCC" = yes; then
10977
    case $archive_cmds in
10978
    *'~'*)
10979
      # FIXME: we may have to deal with multi-command sequences.
10980
      ;;
10981
    '$CC '*)
10982
      # Test whether the compiler implicitly links with -lc since on some
10983
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10984
      # to ld, don't add -lc before -lgcc.
10985
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10986
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10987
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10988
  $as_echo_n "(cached) " >&6
10989
else
10990
  $RM conftest*
10991
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10992
 
10993
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10994
  (eval $ac_compile) 2>&5
10995
  ac_status=$?
10996
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10997
  test $ac_status = 0; } 2>conftest.err; then
10998
          soname=conftest
10999
          lib=conftest
11000
          libobjs=conftest.$ac_objext
11001
          deplibs=
11002
          wl=$lt_prog_compiler_wl
11003
          pic_flag=$lt_prog_compiler_pic
11004
          compiler_flags=-v
11005
          linker_flags=-v
11006
          verstring=
11007
          output_objdir=.
11008
          libname=conftest
11009
          lt_save_allow_undefined_flag=$allow_undefined_flag
11010
          allow_undefined_flag=
11011
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11012
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11013
  ac_status=$?
11014
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11015
  test $ac_status = 0; }
11016
          then
11017
            lt_cv_archive_cmds_need_lc=no
11018
          else
11019
            lt_cv_archive_cmds_need_lc=yes
11020
          fi
11021
          allow_undefined_flag=$lt_save_allow_undefined_flag
11022
        else
11023
          cat conftest.err 1>&5
11024
        fi
11025
        $RM conftest*
11026
 
11027
fi
11028
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11029
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11030
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11031
      ;;
11032
    esac
11033
  fi
11034
  ;;
11035
esac
11036
 
11037
 
11038
 
11039
 
11040
 
11041
 
11042
 
11043
 
11044
 
11045
 
11046
 
11047
 
11048
 
11049
 
11050
 
11051
 
11052
 
11053
 
11054
 
11055
 
11056
 
11057
 
11058
 
11059
 
11060
 
11061
 
11062
 
11063
 
11064
 
11065
 
11066
 
11067
 
11068
 
11069
 
11070
 
11071
 
11072
 
11073
 
11074
 
11075
 
11076
 
11077
 
11078
 
11079
 
11080
 
11081
 
11082
 
11083
 
11084
 
11085
 
11086
 
11087
 
11088
 
11089
 
11090
 
11091
 
11092
 
11093
 
11094
 
11095
 
11096
 
11097
 
11098
 
11099
 
11100
 
11101
 
11102
 
11103
 
11104
 
11105
 
11106
 
11107
 
11108
 
11109
 
11110
 
11111
 
11112
 
11113
 
11114
 
11115
 
11116
 
11117
 
11118
 
11119
 
11120
 
11121
 
11122
 
11123
 
11124
 
11125
 
11126
 
11127
 
11128
 
11129
 
11130
 
11131
 
11132
 
11133
 
11134
 
11135
 
11136
 
11137
 
11138
 
11139
 
11140
 
11141
 
11142
 
11143
 
11144
 
11145
 
11146
 
11147
 
11148
 
11149
 
11150
 
11151
 
11152
 
11153
 
11154
 
11155
 
11156
 
11157
 
11158
 
11159
 
11160
 
11161
 
11162
 
11163
 
11164
 
11165
 
11166
 
11167
 
11168
 
11169
 
11170
 
11171
 
11172
 
11173
 
11174
 
11175
 
11176
 
11177
 
11178
 
11179
 
11180
 
11181
 
11182
 
11183
 
11184
 
11185
 
11186
 
11187
 
11188
 
11189
 
11190
 
11191
 
11192
 
11193
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11194
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11195
 
11196
if test "$GCC" = yes; then
11197
  case $host_os in
11198
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11199
    *) lt_awk_arg="/^libraries:/" ;;
11200
  esac
11201
  case $host_os in
11202
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11203
    *) lt_sed_strip_eq="s,=/,/,g" ;;
11204
  esac
11205
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11206
  case $lt_search_path_spec in
11207
  *\;*)
11208
    # if the path contains ";" then we assume it to be the separator
11209
    # otherwise default to the standard path separator (i.e. ":") - it is
11210
    # assumed that no part of a normal pathname contains ";" but that should
11211
    # okay in the real world where ";" in dirpaths is itself problematic.
11212
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11213
    ;;
11214
  *)
11215
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11216
    ;;
11217
  esac
11218
  # Ok, now we have the path, separated by spaces, we can step through it
11219
  # and add multilib dir if necessary.
11220
  lt_tmp_lt_search_path_spec=
11221
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11222
  for lt_sys_path in $lt_search_path_spec; do
11223
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11224
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11225
    else
11226
      test -d "$lt_sys_path" && \
11227
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11228
    fi
11229
  done
11230
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11231
BEGIN {RS=" "; FS="/|\n";} {
11232
  lt_foo="";
11233
  lt_count=0;
11234
  for (lt_i = NF; lt_i > 0; lt_i--) {
11235
    if ($lt_i != "" && $lt_i != ".") {
11236
      if ($lt_i == "..") {
11237
        lt_count++;
11238
      } else {
11239
        if (lt_count == 0) {
11240
          lt_foo="/" $lt_i lt_foo;
11241
        } else {
11242
          lt_count--;
11243
        }
11244
      }
11245
    }
11246
  }
11247
  if (lt_foo != "") { lt_freq[lt_foo]++; }
11248
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11249
}'`
11250
  # AWK program above erroneously prepends '/' to C:/dos/paths
11251
  # for these hosts.
11252
  case $host_os in
11253
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11254
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11255
  esac
11256
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11257
else
11258
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11259
fi
11260
library_names_spec=
11261
libname_spec='lib$name'
11262
soname_spec=
11263
shrext_cmds=".so"
11264
postinstall_cmds=
11265
postuninstall_cmds=
11266
finish_cmds=
11267
finish_eval=
11268
shlibpath_var=
11269
shlibpath_overrides_runpath=unknown
11270
version_type=none
11271
dynamic_linker="$host_os ld.so"
11272
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11273
need_lib_prefix=unknown
11274
hardcode_into_libs=no
11275
 
11276
# when you set need_version to no, make sure it does not cause -set_version
11277
# flags to be left without arguments
11278
need_version=unknown
11279
 
11280
case $host_os in
11281
aix3*)
11282
  version_type=linux
11283
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11284
  shlibpath_var=LIBPATH
11285
 
11286
  # AIX 3 has no versioning support, so we append a major version to the name.
11287
  soname_spec='${libname}${release}${shared_ext}$major'
11288
  ;;
11289
 
11290
aix[4-9]*)
11291
  version_type=linux
11292
  need_lib_prefix=no
11293
  need_version=no
11294
  hardcode_into_libs=yes
11295
  if test "$host_cpu" = ia64; then
11296
    # AIX 5 supports IA64
11297
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11298
    shlibpath_var=LD_LIBRARY_PATH
11299
  else
11300
    # With GCC up to 2.95.x, collect2 would create an import file
11301
    # for dependence libraries.  The import file would start with
11302
    # the line `#! .'.  This would cause the generated library to
11303
    # depend on `.', always an invalid library.  This was fixed in
11304
    # development snapshots of GCC prior to 3.0.
11305
    case $host_os in
11306
      aix4 | aix4.[01] | aix4.[01].*)
11307
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11308
           echo ' yes '
11309
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11310
        :
11311
      else
11312
        can_build_shared=no
11313
      fi
11314
      ;;
11315
    esac
11316
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11317
    # soname into executable. Probably we can add versioning support to
11318
    # collect2, so additional links can be useful in future.
11319
    if test "$aix_use_runtimelinking" = yes; then
11320
      # If using run time linking (on AIX 4.2 or later) use lib.so
11321
      # instead of lib.a to let people know that these are not
11322
      # typical AIX shared libraries.
11323
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11324
    else
11325
      # We preserve .a as extension for shared libraries through AIX4.2
11326
      # and later when we are not doing run time linking.
11327
      library_names_spec='${libname}${release}.a $libname.a'
11328
      soname_spec='${libname}${release}${shared_ext}$major'
11329
    fi
11330
    shlibpath_var=LIBPATH
11331
  fi
11332
  ;;
11333
 
11334
amigaos*)
11335
  case $host_cpu in
11336
  powerpc)
11337
    # Since July 2007 AmigaOS4 officially supports .so libraries.
11338
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11339
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11340
    ;;
11341
  m68k)
11342
    library_names_spec='$libname.ixlibrary $libname.a'
11343
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11344
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11345
    ;;
11346
  esac
11347
  ;;
11348
 
11349
beos*)
11350
  library_names_spec='${libname}${shared_ext}'
11351
  dynamic_linker="$host_os ld.so"
11352
  shlibpath_var=LIBRARY_PATH
11353
  ;;
11354
 
11355
bsdi[45]*)
11356
  version_type=linux
11357
  need_version=no
11358
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11359
  soname_spec='${libname}${release}${shared_ext}$major'
11360
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11361
  shlibpath_var=LD_LIBRARY_PATH
11362
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11363
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11364
  # the default ld.so.conf also contains /usr/contrib/lib and
11365
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11366
  # libtool to hard-code these into programs
11367
  ;;
11368
 
11369
cygwin* | mingw* | pw32* | cegcc*)
11370
  version_type=windows
11371
  shrext_cmds=".dll"
11372
  need_version=no
11373
  need_lib_prefix=no
11374
 
11375
  case $GCC,$host_os in
11376
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11377
    library_names_spec='$libname.dll.a'
11378
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11379
    postinstall_cmds='base_file=`basename \${file}`~
11380
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11381
      dldir=$destdir/`dirname \$dlpath`~
11382
      test -d \$dldir || mkdir -p \$dldir~
11383
      $install_prog $dir/$dlname \$dldir/$dlname~
11384
      chmod a+x \$dldir/$dlname~
11385
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11386
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11387
      fi'
11388
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11389
      dlpath=$dir/\$dldll~
11390
       $RM \$dlpath'
11391
    shlibpath_overrides_runpath=yes
11392
 
11393
    case $host_os in
11394
    cygwin*)
11395
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11396
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11397
 
11398
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11399
      ;;
11400
    mingw* | cegcc*)
11401
      # MinGW DLLs use traditional 'lib' prefix
11402
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11403
      ;;
11404
    pw32*)
11405
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11406
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11407
      ;;
11408
    esac
11409
    ;;
11410
 
11411
  *)
11412
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11413
    ;;
11414
  esac
11415
  dynamic_linker='Win32 ld.exe'
11416
  # FIXME: first we should search . and the directory the executable is in
11417
  shlibpath_var=PATH
11418
  ;;
11419
 
11420
darwin* | rhapsody*)
11421
  dynamic_linker="$host_os dyld"
11422
  version_type=darwin
11423
  need_lib_prefix=no
11424
  need_version=no
11425
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11426
  soname_spec='${libname}${release}${major}$shared_ext'
11427
  shlibpath_overrides_runpath=yes
11428
  shlibpath_var=DYLD_LIBRARY_PATH
11429
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11430
 
11431
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11432
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11433
  ;;
11434
 
11435
dgux*)
11436
  version_type=linux
11437
  need_lib_prefix=no
11438
  need_version=no
11439
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11440
  soname_spec='${libname}${release}${shared_ext}$major'
11441
  shlibpath_var=LD_LIBRARY_PATH
11442
  ;;
11443
 
11444
freebsd* | dragonfly*)
11445
  # DragonFly does not have aout.  When/if they implement a new
11446
  # versioning mechanism, adjust this.
11447
  if test -x /usr/bin/objformat; then
11448
    objformat=`/usr/bin/objformat`
11449
  else
11450
    case $host_os in
11451
    freebsd[23].*) objformat=aout ;;
11452
    *) objformat=elf ;;
11453
    esac
11454
  fi
11455
  version_type=freebsd-$objformat
11456
  case $version_type in
11457
    freebsd-elf*)
11458
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11459
      need_version=no
11460
      need_lib_prefix=no
11461
      ;;
11462
    freebsd-*)
11463
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11464
      need_version=yes
11465
      ;;
11466
  esac
11467
  shlibpath_var=LD_LIBRARY_PATH
11468
  case $host_os in
11469
  freebsd2.*)
11470
    shlibpath_overrides_runpath=yes
11471
    ;;
11472
  freebsd3.[01]* | freebsdelf3.[01]*)
11473
    shlibpath_overrides_runpath=yes
11474
    hardcode_into_libs=yes
11475
    ;;
11476
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11477
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11478
    shlibpath_overrides_runpath=no
11479
    hardcode_into_libs=yes
11480
    ;;
11481
  *) # from 4.6 on, and DragonFly
11482
    shlibpath_overrides_runpath=yes
11483
    hardcode_into_libs=yes
11484
    ;;
11485
  esac
11486
  ;;
11487
 
11488
gnu*)
11489
  version_type=linux
11490
  need_lib_prefix=no
11491
  need_version=no
11492
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11493
  soname_spec='${libname}${release}${shared_ext}$major'
11494
  shlibpath_var=LD_LIBRARY_PATH
11495
  hardcode_into_libs=yes
11496
  ;;
11497
 
11498
haiku*)
11499
  version_type=linux
11500
  need_lib_prefix=no
11501
  need_version=no
11502
  dynamic_linker="$host_os runtime_loader"
11503
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11504
  soname_spec='${libname}${release}${shared_ext}$major'
11505
  shlibpath_var=LIBRARY_PATH
11506
  shlibpath_overrides_runpath=yes
11507
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11508
  hardcode_into_libs=yes
11509
  ;;
11510
 
11511
hpux9* | hpux10* | hpux11*)
11512
  # Give a soname corresponding to the major version so that dld.sl refuses to
11513
  # link against other versions.
11514
  version_type=sunos
11515
  need_lib_prefix=no
11516
  need_version=no
11517
  case $host_cpu in
11518
  ia64*)
11519
    shrext_cmds='.so'
11520
    hardcode_into_libs=yes
11521
    dynamic_linker="$host_os dld.so"
11522
    shlibpath_var=LD_LIBRARY_PATH
11523
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11524
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11525
    soname_spec='${libname}${release}${shared_ext}$major'
11526
    if test "X$HPUX_IA64_MODE" = X32; then
11527
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11528
    else
11529
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11530
    fi
11531
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11532
    ;;
11533
  hppa*64*)
11534
    shrext_cmds='.sl'
11535
    hardcode_into_libs=yes
11536
    dynamic_linker="$host_os dld.sl"
11537
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11538
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11539
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11540
    soname_spec='${libname}${release}${shared_ext}$major'
11541
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11542
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11543
    ;;
11544
  *)
11545
    shrext_cmds='.sl'
11546
    dynamic_linker="$host_os dld.sl"
11547
    shlibpath_var=SHLIB_PATH
11548
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11549
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11550
    soname_spec='${libname}${release}${shared_ext}$major'
11551
    ;;
11552
  esac
11553
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11554
  postinstall_cmds='chmod 555 $lib'
11555
  # or fails outright, so override atomically:
11556
  install_override_mode=555
11557
  ;;
11558
 
11559
interix[3-9]*)
11560
  version_type=linux
11561
  need_lib_prefix=no
11562
  need_version=no
11563
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11564
  soname_spec='${libname}${release}${shared_ext}$major'
11565
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11566
  shlibpath_var=LD_LIBRARY_PATH
11567
  shlibpath_overrides_runpath=no
11568
  hardcode_into_libs=yes
11569
  ;;
11570
 
11571
irix5* | irix6* | nonstopux*)
11572
  case $host_os in
11573
    nonstopux*) version_type=nonstopux ;;
11574
    *)
11575
        if test "$lt_cv_prog_gnu_ld" = yes; then
11576
                version_type=linux
11577
        else
11578
                version_type=irix
11579
        fi ;;
11580
  esac
11581
  need_lib_prefix=no
11582
  need_version=no
11583
  soname_spec='${libname}${release}${shared_ext}$major'
11584
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11585
  case $host_os in
11586
  irix5* | nonstopux*)
11587
    libsuff= shlibsuff=
11588
    ;;
11589
  *)
11590
    case $LD in # libtool.m4 will add one of these switches to LD
11591
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11592
      libsuff= shlibsuff= libmagic=32-bit;;
11593
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11594
      libsuff=32 shlibsuff=N32 libmagic=N32;;
11595
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11596
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11597
    *) libsuff= shlibsuff= libmagic=never-match;;
11598
    esac
11599
    ;;
11600
  esac
11601
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11602
  shlibpath_overrides_runpath=no
11603
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11604
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11605
  hardcode_into_libs=yes
11606
  ;;
11607
 
11608
# No shared lib support for Linux oldld, aout, or coff.
11609
linux*oldld* | linux*aout* | linux*coff*)
11610
  dynamic_linker=no
11611
  ;;
11612
 
11613
# This must be Linux ELF.
11614
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11615
  version_type=linux
11616
  need_lib_prefix=no
11617
  need_version=no
11618
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11619
  soname_spec='${libname}${release}${shared_ext}$major'
11620
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11621
  shlibpath_var=LD_LIBRARY_PATH
11622
  shlibpath_overrides_runpath=no
11623
 
11624
  # Some binutils ld are patched to set DT_RUNPATH
11625
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11626
  $as_echo_n "(cached) " >&6
11627
else
11628
  lt_cv_shlibpath_overrides_runpath=no
11629
    save_LDFLAGS=$LDFLAGS
11630
    save_libdir=$libdir
11631
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11632
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11633
    if test x$gcc_no_link = xyes; then
11634
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11635
fi
11636
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11637
/* end confdefs.h.  */
11638
 
11639
int
11640
main ()
11641
{
11642
 
11643
  ;
11644
  return 0;
11645
}
11646
_ACEOF
11647
if ac_fn_c_try_link "$LINENO"; then :
11648
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11649
  lt_cv_shlibpath_overrides_runpath=yes
11650
fi
11651
fi
11652
rm -f core conftest.err conftest.$ac_objext \
11653
    conftest$ac_exeext conftest.$ac_ext
11654
    LDFLAGS=$save_LDFLAGS
11655
    libdir=$save_libdir
11656
 
11657
fi
11658
 
11659
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11660
 
11661
  # This implies no fast_install, which is unacceptable.
11662
  # Some rework will be needed to allow for fast_install
11663
  # before this can be enabled.
11664
  hardcode_into_libs=yes
11665
 
11666
  # Append ld.so.conf contents to the search path
11667
  if test -f /etc/ld.so.conf; then
11668
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11669
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11670
  fi
11671
 
11672
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11673
  # powerpc, because MkLinux only supported shared libraries with the
11674
  # GNU dynamic linker.  Since this was broken with cross compilers,
11675
  # most powerpc-linux boxes support dynamic linking these days and
11676
  # people can always --disable-shared, the test was removed, and we
11677
  # assume the GNU/Linux dynamic linker is in use.
11678
  dynamic_linker='GNU/Linux ld.so'
11679
  ;;
11680
 
11681
netbsd*)
11682
  version_type=sunos
11683
  need_lib_prefix=no
11684
  need_version=no
11685
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11686
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11687
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11688
    dynamic_linker='NetBSD (a.out) ld.so'
11689
  else
11690
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11691
    soname_spec='${libname}${release}${shared_ext}$major'
11692
    dynamic_linker='NetBSD ld.elf_so'
11693
  fi
11694
  shlibpath_var=LD_LIBRARY_PATH
11695
  shlibpath_overrides_runpath=yes
11696
  hardcode_into_libs=yes
11697
  ;;
11698
 
11699
newsos6)
11700
  version_type=linux
11701
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11702
  shlibpath_var=LD_LIBRARY_PATH
11703
  shlibpath_overrides_runpath=yes
11704
  ;;
11705
 
11706
*nto* | *qnx*)
11707
  version_type=qnx
11708
  need_lib_prefix=no
11709
  need_version=no
11710
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11711
  soname_spec='${libname}${release}${shared_ext}$major'
11712
  shlibpath_var=LD_LIBRARY_PATH
11713
  shlibpath_overrides_runpath=no
11714
  hardcode_into_libs=yes
11715
  dynamic_linker='ldqnx.so'
11716
  ;;
11717
 
11718
openbsd*)
11719
  version_type=sunos
11720
  sys_lib_dlsearch_path_spec="/usr/lib"
11721
  need_lib_prefix=no
11722
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11723
  case $host_os in
11724
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11725
    *)                          need_version=no  ;;
11726
  esac
11727
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11728
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11729
  shlibpath_var=LD_LIBRARY_PATH
11730
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11731
    case $host_os in
11732
      openbsd2.[89] | openbsd2.[89].*)
11733
        shlibpath_overrides_runpath=no
11734
        ;;
11735
      *)
11736
        shlibpath_overrides_runpath=yes
11737
        ;;
11738
      esac
11739
  else
11740
    shlibpath_overrides_runpath=yes
11741
  fi
11742
  ;;
11743
 
11744
os2*)
11745
  libname_spec='$name'
11746
  shrext_cmds=".dll"
11747
  need_lib_prefix=no
11748
  library_names_spec='$libname${shared_ext} $libname.a'
11749
  dynamic_linker='OS/2 ld.exe'
11750
  shlibpath_var=LIBPATH
11751
  ;;
11752
 
11753
osf3* | osf4* | osf5*)
11754
  version_type=osf
11755
  need_lib_prefix=no
11756
  need_version=no
11757
  soname_spec='${libname}${release}${shared_ext}$major'
11758
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11759
  shlibpath_var=LD_LIBRARY_PATH
11760
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11761
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11762
  ;;
11763
 
11764
rdos*)
11765
  dynamic_linker=no
11766
  ;;
11767
 
11768
solaris*)
11769
  version_type=linux
11770
  need_lib_prefix=no
11771
  need_version=no
11772
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11773
  soname_spec='${libname}${release}${shared_ext}$major'
11774
  shlibpath_var=LD_LIBRARY_PATH
11775
  shlibpath_overrides_runpath=yes
11776
  hardcode_into_libs=yes
11777
  # ldd complains unless libraries are executable
11778
  postinstall_cmds='chmod +x $lib'
11779
  ;;
11780
 
11781
sunos4*)
11782
  version_type=sunos
11783
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11784
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11785
  shlibpath_var=LD_LIBRARY_PATH
11786
  shlibpath_overrides_runpath=yes
11787
  if test "$with_gnu_ld" = yes; then
11788
    need_lib_prefix=no
11789
  fi
11790
  need_version=yes
11791
  ;;
11792
 
11793
sysv4 | sysv4.3*)
11794
  version_type=linux
11795
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11796
  soname_spec='${libname}${release}${shared_ext}$major'
11797
  shlibpath_var=LD_LIBRARY_PATH
11798
  case $host_vendor in
11799
    sni)
11800
      shlibpath_overrides_runpath=no
11801
      need_lib_prefix=no
11802
      runpath_var=LD_RUN_PATH
11803
      ;;
11804
    siemens)
11805
      need_lib_prefix=no
11806
      ;;
11807
    motorola)
11808
      need_lib_prefix=no
11809
      need_version=no
11810
      shlibpath_overrides_runpath=no
11811
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11812
      ;;
11813
  esac
11814
  ;;
11815
 
11816
sysv4*MP*)
11817
  if test -d /usr/nec ;then
11818
    version_type=linux
11819
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11820
    soname_spec='$libname${shared_ext}.$major'
11821
    shlibpath_var=LD_LIBRARY_PATH
11822
  fi
11823
  ;;
11824
 
11825
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11826
  version_type=freebsd-elf
11827
  need_lib_prefix=no
11828
  need_version=no
11829
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11830
  soname_spec='${libname}${release}${shared_ext}$major'
11831
  shlibpath_var=LD_LIBRARY_PATH
11832
  shlibpath_overrides_runpath=yes
11833
  hardcode_into_libs=yes
11834
  if test "$with_gnu_ld" = yes; then
11835
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11836
  else
11837
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11838
    case $host_os in
11839
      sco3.2v5*)
11840
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11841
        ;;
11842
    esac
11843
  fi
11844
  sys_lib_dlsearch_path_spec='/usr/lib'
11845
  ;;
11846
 
11847
tpf*)
11848
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11849
  version_type=linux
11850
  need_lib_prefix=no
11851
  need_version=no
11852
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11853
  shlibpath_var=LD_LIBRARY_PATH
11854
  shlibpath_overrides_runpath=no
11855
  hardcode_into_libs=yes
11856
  ;;
11857
 
11858
uts4*)
11859
  version_type=linux
11860
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11861
  soname_spec='${libname}${release}${shared_ext}$major'
11862
  shlibpath_var=LD_LIBRARY_PATH
11863
  ;;
11864
 
11865
*)
11866
  dynamic_linker=no
11867
  ;;
11868
esac
11869
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11870
$as_echo "$dynamic_linker" >&6; }
11871
test "$dynamic_linker" = no && can_build_shared=no
11872
 
11873
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11874
if test "$GCC" = yes; then
11875
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11876
fi
11877
 
11878
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11879
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11880
fi
11881
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11882
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11883
fi
11884
 
11885
 
11886
 
11887
 
11888
 
11889
 
11890
 
11891
 
11892
 
11893
 
11894
 
11895
 
11896
 
11897
 
11898
 
11899
 
11900
 
11901
 
11902
 
11903
 
11904
 
11905
 
11906
 
11907
 
11908
 
11909
 
11910
 
11911
 
11912
 
11913
 
11914
 
11915
 
11916
 
11917
 
11918
 
11919
 
11920
 
11921
 
11922
 
11923
 
11924
 
11925
 
11926
 
11927
 
11928
 
11929
 
11930
 
11931
 
11932
 
11933
 
11934
 
11935
 
11936
 
11937
 
11938
 
11939
 
11940
 
11941
 
11942
 
11943
 
11944
 
11945
 
11946
 
11947
 
11948
 
11949
 
11950
 
11951
 
11952
 
11953
 
11954
 
11955
 
11956
 
11957
 
11958
 
11959
 
11960
 
11961
 
11962
 
11963
 
11964
 
11965
 
11966
 
11967
 
11968
 
11969
 
11970
 
11971
 
11972
 
11973
 
11974
 
11975
 
11976
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11977
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11978
hardcode_action=
11979
if test -n "$hardcode_libdir_flag_spec" ||
11980
   test -n "$runpath_var" ||
11981
   test "X$hardcode_automatic" = "Xyes" ; then
11982
 
11983
  # We can hardcode non-existent directories.
11984
  if test "$hardcode_direct" != no &&
11985
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11986
     # have to relink, otherwise we might link with an installed library
11987
     # when we should be linking with a yet-to-be-installed one
11988
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11989
     test "$hardcode_minus_L" != no; then
11990
    # Linking always hardcodes the temporary library directory.
11991
    hardcode_action=relink
11992
  else
11993
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11994
    hardcode_action=immediate
11995
  fi
11996
else
11997
  # We cannot hardcode anything, or else we can only hardcode existing
11998
  # directories.
11999
  hardcode_action=unsupported
12000
fi
12001
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12002
$as_echo "$hardcode_action" >&6; }
12003
 
12004
if test "$hardcode_action" = relink ||
12005
   test "$inherit_rpath" = yes; then
12006
  # Fast installation is not supported
12007
  enable_fast_install=no
12008
elif test "$shlibpath_overrides_runpath" = yes ||
12009
     test "$enable_shared" = no; then
12010
  # Fast installation is not necessary
12011
  enable_fast_install=needless
12012
fi
12013
 
12014
 
12015
 
12016
 
12017
 
12018
 
12019
  if test "x$enable_dlopen" != xyes; then
12020
  enable_dlopen=unknown
12021
  enable_dlopen_self=unknown
12022
  enable_dlopen_self_static=unknown
12023
else
12024
  lt_cv_dlopen=no
12025
  lt_cv_dlopen_libs=
12026
 
12027
  case $host_os in
12028
  beos*)
12029
    lt_cv_dlopen="load_add_on"
12030
    lt_cv_dlopen_libs=
12031
    lt_cv_dlopen_self=yes
12032
    ;;
12033
 
12034
  mingw* | pw32* | cegcc*)
12035
    lt_cv_dlopen="LoadLibrary"
12036
    lt_cv_dlopen_libs=
12037
    ;;
12038
 
12039
  cygwin*)
12040
    lt_cv_dlopen="dlopen"
12041
    lt_cv_dlopen_libs=
12042
    ;;
12043
 
12044
  darwin*)
12045
  # if libdl is installed we need to link against it
12046
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12047
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12048
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12049
  $as_echo_n "(cached) " >&6
12050
else
12051
  ac_check_lib_save_LIBS=$LIBS
12052
LIBS="-ldl  $LIBS"
12053
if test x$gcc_no_link = xyes; then
12054
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12055
fi
12056
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12057
/* end confdefs.h.  */
12058
 
12059
/* Override any GCC internal prototype to avoid an error.
12060
   Use char because int might match the return type of a GCC
12061
   builtin and then its argument prototype would still apply.  */
12062
#ifdef __cplusplus
12063
extern "C"
12064
#endif
12065
char dlopen ();
12066
int
12067
main ()
12068
{
12069
return dlopen ();
12070
  ;
12071
  return 0;
12072
}
12073
_ACEOF
12074
if ac_fn_c_try_link "$LINENO"; then :
12075
  ac_cv_lib_dl_dlopen=yes
12076
else
12077
  ac_cv_lib_dl_dlopen=no
12078
fi
12079
rm -f core conftest.err conftest.$ac_objext \
12080
    conftest$ac_exeext conftest.$ac_ext
12081
LIBS=$ac_check_lib_save_LIBS
12082
fi
12083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12084
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12085
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12086
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12087
else
12088
 
12089
    lt_cv_dlopen="dyld"
12090
    lt_cv_dlopen_libs=
12091
    lt_cv_dlopen_self=yes
12092
 
12093
fi
12094
 
12095
    ;;
12096
 
12097
  *)
12098
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12099
if test "x$ac_cv_func_shl_load" = x""yes; then :
12100
  lt_cv_dlopen="shl_load"
12101
else
12102
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12103
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12104
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12105
  $as_echo_n "(cached) " >&6
12106
else
12107
  ac_check_lib_save_LIBS=$LIBS
12108
LIBS="-ldld  $LIBS"
12109
if test x$gcc_no_link = xyes; then
12110
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12111
fi
12112
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12113
/* end confdefs.h.  */
12114
 
12115
/* Override any GCC internal prototype to avoid an error.
12116
   Use char because int might match the return type of a GCC
12117
   builtin and then its argument prototype would still apply.  */
12118
#ifdef __cplusplus
12119
extern "C"
12120
#endif
12121
char shl_load ();
12122
int
12123
main ()
12124
{
12125
return shl_load ();
12126
  ;
12127
  return 0;
12128
}
12129
_ACEOF
12130
if ac_fn_c_try_link "$LINENO"; then :
12131
  ac_cv_lib_dld_shl_load=yes
12132
else
12133
  ac_cv_lib_dld_shl_load=no
12134
fi
12135
rm -f core conftest.err conftest.$ac_objext \
12136
    conftest$ac_exeext conftest.$ac_ext
12137
LIBS=$ac_check_lib_save_LIBS
12138
fi
12139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12140
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12141
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12142
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12143
else
12144
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12145
if test "x$ac_cv_func_dlopen" = x""yes; then :
12146
  lt_cv_dlopen="dlopen"
12147
else
12148
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12149
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12150
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12151
  $as_echo_n "(cached) " >&6
12152
else
12153
  ac_check_lib_save_LIBS=$LIBS
12154
LIBS="-ldl  $LIBS"
12155
if test x$gcc_no_link = xyes; then
12156
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12157
fi
12158
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12159
/* end confdefs.h.  */
12160
 
12161
/* Override any GCC internal prototype to avoid an error.
12162
   Use char because int might match the return type of a GCC
12163
   builtin and then its argument prototype would still apply.  */
12164
#ifdef __cplusplus
12165
extern "C"
12166
#endif
12167
char dlopen ();
12168
int
12169
main ()
12170
{
12171
return dlopen ();
12172
  ;
12173
  return 0;
12174
}
12175
_ACEOF
12176
if ac_fn_c_try_link "$LINENO"; then :
12177
  ac_cv_lib_dl_dlopen=yes
12178
else
12179
  ac_cv_lib_dl_dlopen=no
12180
fi
12181
rm -f core conftest.err conftest.$ac_objext \
12182
    conftest$ac_exeext conftest.$ac_ext
12183
LIBS=$ac_check_lib_save_LIBS
12184
fi
12185
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12186
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12187
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12188
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12189
else
12190
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12191
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12192
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12193
  $as_echo_n "(cached) " >&6
12194
else
12195
  ac_check_lib_save_LIBS=$LIBS
12196
LIBS="-lsvld  $LIBS"
12197
if test x$gcc_no_link = xyes; then
12198
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12199
fi
12200
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12201
/* end confdefs.h.  */
12202
 
12203
/* Override any GCC internal prototype to avoid an error.
12204
   Use char because int might match the return type of a GCC
12205
   builtin and then its argument prototype would still apply.  */
12206
#ifdef __cplusplus
12207
extern "C"
12208
#endif
12209
char dlopen ();
12210
int
12211
main ()
12212
{
12213
return dlopen ();
12214
  ;
12215
  return 0;
12216
}
12217
_ACEOF
12218
if ac_fn_c_try_link "$LINENO"; then :
12219
  ac_cv_lib_svld_dlopen=yes
12220
else
12221
  ac_cv_lib_svld_dlopen=no
12222
fi
12223
rm -f core conftest.err conftest.$ac_objext \
12224
    conftest$ac_exeext conftest.$ac_ext
12225
LIBS=$ac_check_lib_save_LIBS
12226
fi
12227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12228
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12229
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12230
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12231
else
12232
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12233
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12234
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12235
  $as_echo_n "(cached) " >&6
12236
else
12237
  ac_check_lib_save_LIBS=$LIBS
12238
LIBS="-ldld  $LIBS"
12239
if test x$gcc_no_link = xyes; then
12240
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12241
fi
12242
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12243
/* end confdefs.h.  */
12244
 
12245
/* Override any GCC internal prototype to avoid an error.
12246
   Use char because int might match the return type of a GCC
12247
   builtin and then its argument prototype would still apply.  */
12248
#ifdef __cplusplus
12249
extern "C"
12250
#endif
12251
char dld_link ();
12252
int
12253
main ()
12254
{
12255
return dld_link ();
12256
  ;
12257
  return 0;
12258
}
12259
_ACEOF
12260
if ac_fn_c_try_link "$LINENO"; then :
12261
  ac_cv_lib_dld_dld_link=yes
12262
else
12263
  ac_cv_lib_dld_dld_link=no
12264
fi
12265
rm -f core conftest.err conftest.$ac_objext \
12266
    conftest$ac_exeext conftest.$ac_ext
12267
LIBS=$ac_check_lib_save_LIBS
12268
fi
12269
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12270
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12271
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12272
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12273
fi
12274
 
12275
 
12276
fi
12277
 
12278
 
12279
fi
12280
 
12281
 
12282
fi
12283
 
12284
 
12285
fi
12286
 
12287
 
12288
fi
12289
 
12290
    ;;
12291
  esac
12292
 
12293
  if test "x$lt_cv_dlopen" != xno; then
12294
    enable_dlopen=yes
12295
  else
12296
    enable_dlopen=no
12297
  fi
12298
 
12299
  case $lt_cv_dlopen in
12300
  dlopen)
12301
    save_CPPFLAGS="$CPPFLAGS"
12302
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12303
 
12304
    save_LDFLAGS="$LDFLAGS"
12305
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12306
 
12307
    save_LIBS="$LIBS"
12308
    LIBS="$lt_cv_dlopen_libs $LIBS"
12309
 
12310
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12311
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12312
if test "${lt_cv_dlopen_self+set}" = set; then :
12313
  $as_echo_n "(cached) " >&6
12314
else
12315
          if test "$cross_compiling" = yes; then :
12316
  lt_cv_dlopen_self=cross
12317
else
12318
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12319
  lt_status=$lt_dlunknown
12320
  cat > conftest.$ac_ext <<_LT_EOF
12321
#line 12321 "configure"
12322
#include "confdefs.h"
12323
 
12324
#if HAVE_DLFCN_H
12325
#include 
12326
#endif
12327
 
12328
#include 
12329
 
12330
#ifdef RTLD_GLOBAL
12331
#  define LT_DLGLOBAL           RTLD_GLOBAL
12332
#else
12333
#  ifdef DL_GLOBAL
12334
#    define LT_DLGLOBAL         DL_GLOBAL
12335
#  else
12336
#    define LT_DLGLOBAL         0
12337
#  endif
12338
#endif
12339
 
12340
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12341
   find out it does not work in some platform. */
12342
#ifndef LT_DLLAZY_OR_NOW
12343
#  ifdef RTLD_LAZY
12344
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12345
#  else
12346
#    ifdef DL_LAZY
12347
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12348
#    else
12349
#      ifdef RTLD_NOW
12350
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12351
#      else
12352
#        ifdef DL_NOW
12353
#          define LT_DLLAZY_OR_NOW      DL_NOW
12354
#        else
12355
#          define LT_DLLAZY_OR_NOW      0
12356
#        endif
12357
#      endif
12358
#    endif
12359
#  endif
12360
#endif
12361
 
12362
/* When -fvisbility=hidden is used, assume the code has been annotated
12363
   correspondingly for the symbols needed.  */
12364
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12365
void fnord () __attribute__((visibility("default")));
12366
#endif
12367
 
12368
void fnord () { int i=42; }
12369
int main ()
12370
{
12371
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12372
  int status = $lt_dlunknown;
12373
 
12374
  if (self)
12375
    {
12376
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12377
      else
12378
        {
12379
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12380
          else puts (dlerror ());
12381
        }
12382
      /* dlclose (self); */
12383
    }
12384
  else
12385
    puts (dlerror ());
12386
 
12387
  return status;
12388
}
12389
_LT_EOF
12390
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12391
  (eval $ac_link) 2>&5
12392
  ac_status=$?
12393
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12394
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12395
    (./conftest; exit; ) >&5 2>/dev/null
12396
    lt_status=$?
12397
    case x$lt_status in
12398
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12399
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12400
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12401
    esac
12402
  else :
12403
    # compilation failed
12404
    lt_cv_dlopen_self=no
12405
  fi
12406
fi
12407
rm -fr conftest*
12408
 
12409
 
12410
fi
12411
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12412
$as_echo "$lt_cv_dlopen_self" >&6; }
12413
 
12414
    if test "x$lt_cv_dlopen_self" = xyes; then
12415
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12416
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12417
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12418
if test "${lt_cv_dlopen_self_static+set}" = set; then :
12419
  $as_echo_n "(cached) " >&6
12420
else
12421
          if test "$cross_compiling" = yes; then :
12422
  lt_cv_dlopen_self_static=cross
12423
else
12424
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12425
  lt_status=$lt_dlunknown
12426
  cat > conftest.$ac_ext <<_LT_EOF
12427
#line 12427 "configure"
12428
#include "confdefs.h"
12429
 
12430
#if HAVE_DLFCN_H
12431
#include 
12432
#endif
12433
 
12434
#include 
12435
 
12436
#ifdef RTLD_GLOBAL
12437
#  define LT_DLGLOBAL           RTLD_GLOBAL
12438
#else
12439
#  ifdef DL_GLOBAL
12440
#    define LT_DLGLOBAL         DL_GLOBAL
12441
#  else
12442
#    define LT_DLGLOBAL         0
12443
#  endif
12444
#endif
12445
 
12446
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12447
   find out it does not work in some platform. */
12448
#ifndef LT_DLLAZY_OR_NOW
12449
#  ifdef RTLD_LAZY
12450
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12451
#  else
12452
#    ifdef DL_LAZY
12453
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12454
#    else
12455
#      ifdef RTLD_NOW
12456
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12457
#      else
12458
#        ifdef DL_NOW
12459
#          define LT_DLLAZY_OR_NOW      DL_NOW
12460
#        else
12461
#          define LT_DLLAZY_OR_NOW      0
12462
#        endif
12463
#      endif
12464
#    endif
12465
#  endif
12466
#endif
12467
 
12468
/* When -fvisbility=hidden is used, assume the code has been annotated
12469
   correspondingly for the symbols needed.  */
12470
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12471
void fnord () __attribute__((visibility("default")));
12472
#endif
12473
 
12474
void fnord () { int i=42; }
12475
int main ()
12476
{
12477
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12478
  int status = $lt_dlunknown;
12479
 
12480
  if (self)
12481
    {
12482
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12483
      else
12484
        {
12485
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12486
          else puts (dlerror ());
12487
        }
12488
      /* dlclose (self); */
12489
    }
12490
  else
12491
    puts (dlerror ());
12492
 
12493
  return status;
12494
}
12495
_LT_EOF
12496
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12497
  (eval $ac_link) 2>&5
12498
  ac_status=$?
12499
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12500
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12501
    (./conftest; exit; ) >&5 2>/dev/null
12502
    lt_status=$?
12503
    case x$lt_status in
12504
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12505
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12506
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12507
    esac
12508
  else :
12509
    # compilation failed
12510
    lt_cv_dlopen_self_static=no
12511
  fi
12512
fi
12513
rm -fr conftest*
12514
 
12515
 
12516
fi
12517
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12518
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12519
    fi
12520
 
12521
    CPPFLAGS="$save_CPPFLAGS"
12522
    LDFLAGS="$save_LDFLAGS"
12523
    LIBS="$save_LIBS"
12524
    ;;
12525
  esac
12526
 
12527
  case $lt_cv_dlopen_self in
12528
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12529
  *) enable_dlopen_self=unknown ;;
12530
  esac
12531
 
12532
  case $lt_cv_dlopen_self_static in
12533
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12534
  *) enable_dlopen_self_static=unknown ;;
12535
  esac
12536
fi
12537
 
12538
 
12539
 
12540
 
12541
 
12542
 
12543
 
12544
 
12545
 
12546
 
12547
 
12548
 
12549
 
12550
 
12551
 
12552
 
12553
 
12554
striplib=
12555
old_striplib=
12556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12557
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12558
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12559
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12560
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12561
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12562
$as_echo "yes" >&6; }
12563
else
12564
# FIXME - insert some real tests, host_os isn't really good enough
12565
  case $host_os in
12566
  darwin*)
12567
    if test -n "$STRIP" ; then
12568
      striplib="$STRIP -x"
12569
      old_striplib="$STRIP -S"
12570
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12571
$as_echo "yes" >&6; }
12572
    else
12573
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12574
$as_echo "no" >&6; }
12575
    fi
12576
    ;;
12577
  *)
12578
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12579
$as_echo "no" >&6; }
12580
    ;;
12581
  esac
12582
fi
12583
 
12584
 
12585
 
12586
 
12587
 
12588
 
12589
 
12590
 
12591
 
12592
 
12593
 
12594
 
12595
  # Report which library types will actually be built
12596
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12597
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12598
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12599
$as_echo "$can_build_shared" >&6; }
12600
 
12601
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12602
$as_echo_n "checking whether to build shared libraries... " >&6; }
12603
  test "$can_build_shared" = "no" && enable_shared=no
12604
 
12605
  # On AIX, shared libraries and static libraries use the same namespace, and
12606
  # are all built from PIC.
12607
  case $host_os in
12608
  aix3*)
12609
    test "$enable_shared" = yes && enable_static=no
12610
    if test -n "$RANLIB"; then
12611
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12612
      postinstall_cmds='$RANLIB $lib'
12613
    fi
12614
    ;;
12615
 
12616
  aix[4-9]*)
12617
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12618
      test "$enable_shared" = yes && enable_static=no
12619
    fi
12620
    ;;
12621
  esac
12622
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12623
$as_echo "$enable_shared" >&6; }
12624
 
12625
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12626
$as_echo_n "checking whether to build static libraries... " >&6; }
12627
  # Make sure either enable_shared or enable_static is yes.
12628
  test "$enable_shared" = yes || enable_static=yes
12629
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12630
$as_echo "$enable_static" >&6; }
12631
 
12632
 
12633
 
12634
 
12635
fi
12636
ac_ext=c
12637
ac_cpp='$CPP $CPPFLAGS'
12638
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12639
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12640
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12641
 
12642
CC="$lt_save_CC"
12643
 
12644
 
12645
 
12646
 
12647
 
12648
 
12649
 
12650
 
12651
 
12652
 
12653
 
12654
 
12655
 
12656
        ac_config_commands="$ac_config_commands libtool"
12657
 
12658
 
12659
 
12660
 
12661
# Only expand once:
12662
 
12663
 
12664
 
12665
 
12666
 
12667
case $host in
12668
  *-cygwin* | *-mingw*)
12669
    # 'host' will be top-level target in the case of a target lib,
12670
    # we must compare to with_cross_host to decide if this is a native
12671
    # or cross-compiler and select where to install dlls appropriately.
12672
    if test -n "$with_cross_host" &&
12673
        test x"$with_cross_host" != x"no"; then
12674
      lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
12675
    else
12676
      lt_host_flags='-no-undefined -bindir "$(bindir)"';
12677
    fi
12678
    ;;
12679
  *)
12680
    lt_host_flags=
12681
    ;;
12682
esac
12683
 
12684
 
12685
 
12686
 
12687
 
12688
#AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12689
 
12690
# We need gfortran to compile parts of the library
12691
#AC_PROG_FC(gfortran)
12692
FC="$GFORTRAN"
12693
ac_ext=${ac_fc_srcext-f}
12694
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12695
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12696
ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12697
if test -n "$ac_tool_prefix"; then
12698
  for ac_prog in gfortran
12699
  do
12700
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12701
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12703
$as_echo_n "checking for $ac_word... " >&6; }
12704
if test "${ac_cv_prog_FC+set}" = set; then :
12705
  $as_echo_n "(cached) " >&6
12706
else
12707
  if test -n "$FC"; then
12708
  ac_cv_prog_FC="$FC" # Let the user override the test.
12709
else
12710
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12711
for as_dir in $PATH
12712
do
12713
  IFS=$as_save_IFS
12714
  test -z "$as_dir" && as_dir=.
12715
    for ac_exec_ext in '' $ac_executable_extensions; do
12716
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12717
    ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
12718
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12719
    break 2
12720
  fi
12721
done
12722
  done
12723
IFS=$as_save_IFS
12724
 
12725
fi
12726
fi
12727
FC=$ac_cv_prog_FC
12728
if test -n "$FC"; then
12729
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12730
$as_echo "$FC" >&6; }
12731
else
12732
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12733
$as_echo "no" >&6; }
12734
fi
12735
 
12736
 
12737
    test -n "$FC" && break
12738
  done
12739
fi
12740
if test -z "$FC"; then
12741
  ac_ct_FC=$FC
12742
  for ac_prog in gfortran
12743
do
12744
  # Extract the first word of "$ac_prog", so it can be a program name with args.
12745
set dummy $ac_prog; ac_word=$2
12746
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12747
$as_echo_n "checking for $ac_word... " >&6; }
12748
if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12749
  $as_echo_n "(cached) " >&6
12750
else
12751
  if test -n "$ac_ct_FC"; then
12752
  ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
12753
else
12754
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12755
for as_dir in $PATH
12756
do
12757
  IFS=$as_save_IFS
12758
  test -z "$as_dir" && as_dir=.
12759
    for ac_exec_ext in '' $ac_executable_extensions; do
12760
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12761
    ac_cv_prog_ac_ct_FC="$ac_prog"
12762
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12763
    break 2
12764
  fi
12765
done
12766
  done
12767
IFS=$as_save_IFS
12768
 
12769
fi
12770
fi
12771
ac_ct_FC=$ac_cv_prog_ac_ct_FC
12772
if test -n "$ac_ct_FC"; then
12773
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12774
$as_echo "$ac_ct_FC" >&6; }
12775
else
12776
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12777
$as_echo "no" >&6; }
12778
fi
12779
 
12780
 
12781
  test -n "$ac_ct_FC" && break
12782
done
12783
 
12784
  if test "x$ac_ct_FC" = x; then
12785
    FC=""
12786
  else
12787
    case $cross_compiling:$ac_tool_warned in
12788
yes:)
12789
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12790
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12791
ac_tool_warned=yes ;;
12792
esac
12793
    FC=$ac_ct_FC
12794
  fi
12795
fi
12796
 
12797
 
12798
# Provide some information about the compiler.
12799
$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12800
set X $ac_compile
12801
ac_compiler=$2
12802
for ac_option in --version -v -V -qversion; do
12803
  { { ac_try="$ac_compiler $ac_option >&5"
12804
case "(($ac_try" in
12805
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12806
  *) ac_try_echo=$ac_try;;
12807
esac
12808
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12809
$as_echo "$ac_try_echo"; } >&5
12810
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12811
  ac_status=$?
12812
  if test -s conftest.err; then
12813
    sed '10a\
12814
... rest of stderr output deleted ...
12815
         10q' conftest.err >conftest.er1
12816
    cat conftest.er1 >&5
12817
    rm -f conftest.er1 conftest.err
12818
  fi
12819
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12820
  test $ac_status = 0; }
12821
done
12822
rm -f a.out
12823
 
12824
# If we don't use `.F' as extension, the preprocessor is not run on the
12825
# input file.  (Note that this only needs to work for GNU compilers.)
12826
ac_save_ext=$ac_ext
12827
ac_ext=F
12828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12829
$as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12830
if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12831
  $as_echo_n "(cached) " >&6
12832
else
12833
  cat > conftest.$ac_ext <<_ACEOF
12834
      program main
12835
#ifndef __GNUC__
12836
       choke me
12837
#endif
12838
 
12839
      end
12840
_ACEOF
12841
if ac_fn_fc_try_compile "$LINENO"; then :
12842
  ac_compiler_gnu=yes
12843
else
12844
  ac_compiler_gnu=no
12845
fi
12846
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12847
ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12848
 
12849
fi
12850
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12851
$as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12852
ac_ext=$ac_save_ext
12853
ac_test_FCFLAGS=${FCFLAGS+set}
12854
ac_save_FCFLAGS=$FCFLAGS
12855
FCFLAGS=
12856
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12857
$as_echo_n "checking whether $FC accepts -g... " >&6; }
12858
if test "${ac_cv_prog_fc_g+set}" = set; then :
12859
  $as_echo_n "(cached) " >&6
12860
else
12861
  FCFLAGS=-g
12862
cat > conftest.$ac_ext <<_ACEOF
12863
      program main
12864
 
12865
      end
12866
_ACEOF
12867
if ac_fn_fc_try_compile "$LINENO"; then :
12868
  ac_cv_prog_fc_g=yes
12869
else
12870
  ac_cv_prog_fc_g=no
12871
fi
12872
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12873
 
12874
fi
12875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12876
$as_echo "$ac_cv_prog_fc_g" >&6; }
12877
if test "$ac_test_FCFLAGS" = set; then
12878
  FCFLAGS=$ac_save_FCFLAGS
12879
elif test $ac_cv_prog_fc_g = yes; then
12880
  if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12881
    FCFLAGS="-g -O2"
12882
  else
12883
    FCFLAGS="-g"
12884
  fi
12885
else
12886
  if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12887
    FCFLAGS="-O2"
12888
  else
12889
    FCFLAGS=
12890
  fi
12891
fi
12892
 
12893
ac_ext=c
12894
ac_cpp='$CPP $CPPFLAGS'
12895
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12896
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12897
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12898
 
12899
      ac_ext=${ac_fc_srcext-f}
12900
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12901
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12902
ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12903
 
12904
 
12905
if test -z "$FC" || test "X$FC" = "Xno"; then
12906
  _lt_disable_FC=yes
12907
fi
12908
 
12909
archive_cmds_need_lc_FC=no
12910
allow_undefined_flag_FC=
12911
always_export_symbols_FC=no
12912
archive_expsym_cmds_FC=
12913
export_dynamic_flag_spec_FC=
12914
hardcode_direct_FC=no
12915
hardcode_direct_absolute_FC=no
12916
hardcode_libdir_flag_spec_FC=
12917
hardcode_libdir_flag_spec_ld_FC=
12918
hardcode_libdir_separator_FC=
12919
hardcode_minus_L_FC=no
12920
hardcode_automatic_FC=no
12921
inherit_rpath_FC=no
12922
module_cmds_FC=
12923
module_expsym_cmds_FC=
12924
link_all_deplibs_FC=unknown
12925
old_archive_cmds_FC=$old_archive_cmds
12926
reload_flag_FC=$reload_flag
12927
reload_cmds_FC=$reload_cmds
12928
no_undefined_flag_FC=
12929
whole_archive_flag_spec_FC=
12930
enable_shared_with_static_runtimes_FC=no
12931
 
12932
# Source file extension for fc test sources.
12933
ac_ext=${ac_fc_srcext-f}
12934
 
12935
# Object file extension for compiled fc test sources.
12936
objext=o
12937
objext_FC=$objext
12938
 
12939
# No sense in running all these tests if we already determined that
12940
# the FC compiler isn't working.  Some variables (like enable_shared)
12941
# are currently assumed to apply to all compilers on this platform,
12942
# and will be corrupted by setting them based on a non-working compiler.
12943
if test "$_lt_disable_FC" != yes; then
12944
  # Code to be used in simple compile tests
12945
  lt_simple_compile_test_code="\
12946
      subroutine t
12947
      return
12948
      end
12949
"
12950
 
12951
  # Code to be used in simple link tests
12952
  lt_simple_link_test_code="\
12953
      program t
12954
      end
12955
"
12956
 
12957
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12958
 
12959
 
12960
 
12961
 
12962
 
12963
 
12964
# If no C compiler was specified, use CC.
12965
LTCC=${LTCC-"$CC"}
12966
 
12967
# If no C compiler flags were specified, use CFLAGS.
12968
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12969
 
12970
# Allow CC to be a program name with arguments.
12971
compiler=$CC
12972
 
12973
 
12974
  # save warnings/boilerplate of simple test code
12975
  ac_outfile=conftest.$ac_objext
12976
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12977
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12978
_lt_compiler_boilerplate=`cat conftest.err`
12979
$RM conftest*
12980
 
12981
  ac_outfile=conftest.$ac_objext
12982
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12983
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12984
_lt_linker_boilerplate=`cat conftest.err`
12985
$RM -r conftest*
12986
 
12987
 
12988
  # Allow CC to be a program name with arguments.
12989
  lt_save_CC="$CC"
12990
  lt_save_GCC=$GCC
12991
  CC=${FC-"f95"}
12992
  compiler=$CC
12993
  GCC=$ac_cv_fc_compiler_gnu
12994
 
12995
  compiler_FC=$CC
12996
  for cc_temp in $compiler""; do
12997
  case $cc_temp in
12998
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12999
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13000
    \-*) ;;
13001
    *) break;;
13002
  esac
13003
done
13004
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13005
 
13006
 
13007
  if test -n "$compiler"; then
13008
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13009
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13010
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13011
$as_echo "$can_build_shared" >&6; }
13012
 
13013
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13014
$as_echo_n "checking whether to build shared libraries... " >&6; }
13015
    test "$can_build_shared" = "no" && enable_shared=no
13016
 
13017
    # On AIX, shared libraries and static libraries use the same namespace, and
13018
    # are all built from PIC.
13019
    case $host_os in
13020
      aix3*)
13021
        test "$enable_shared" = yes && enable_static=no
13022
        if test -n "$RANLIB"; then
13023
          archive_cmds="$archive_cmds~\$RANLIB \$lib"
13024
          postinstall_cmds='$RANLIB $lib'
13025
        fi
13026
        ;;
13027
      aix[4-9]*)
13028
        if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13029
          test "$enable_shared" = yes && enable_static=no
13030
        fi
13031
        ;;
13032
    esac
13033
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13034
$as_echo "$enable_shared" >&6; }
13035
 
13036
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13037
$as_echo_n "checking whether to build static libraries... " >&6; }
13038
    # Make sure either enable_shared or enable_static is yes.
13039
    test "$enable_shared" = yes || enable_static=yes
13040
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13041
$as_echo "$enable_static" >&6; }
13042
 
13043
    GCC_FC="$ac_cv_fc_compiler_gnu"
13044
    LD_FC="$LD"
13045
 
13046
    ## CAVEAT EMPTOR:
13047
    ## There is no encapsulation within the following macros, do not change
13048
    ## the running order or otherwise move them around unless you know exactly
13049
    ## what you are doing...
13050
    # Dependencies to place before and after the object being linked:
13051
predep_objects_FC=
13052
postdep_objects_FC=
13053
predeps_FC=
13054
postdeps_FC=
13055
compiler_lib_search_path_FC=
13056
 
13057
cat > conftest.$ac_ext <<_LT_EOF
13058
      subroutine foo
13059
      implicit none
13060
      integer a
13061
      a=0
13062
      return
13063
      end
13064
_LT_EOF
13065
 
13066
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13067
  (eval $ac_compile) 2>&5
13068
  ac_status=$?
13069
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13070
  test $ac_status = 0; }; then
13071
  # Parse the compiler output and extract the necessary
13072
  # objects, libraries and library flags.
13073
 
13074
  # Sentinel used to keep track of whether or not we are before
13075
  # the conftest object file.
13076
  pre_test_object_deps_done=no
13077
 
13078
  for p in `eval "$output_verbose_link_cmd"`; do
13079
    case $p in
13080
 
13081
    -L* | -R* | -l*)
13082
       # Some compilers place space between "-{L,R}" and the path.
13083
       # Remove the space.
13084
       if test $p = "-L" ||
13085
          test $p = "-R"; then
13086
         prev=$p
13087
         continue
13088
       else
13089
         prev=
13090
       fi
13091
 
13092
       if test "$pre_test_object_deps_done" = no; then
13093
         case $p in
13094
         -L* | -R*)
13095
           # Internal compiler library paths should come after those
13096
           # provided the user.  The postdeps already come after the
13097
           # user supplied libs so there is no need to process them.
13098
           if test -z "$compiler_lib_search_path_FC"; then
13099
             compiler_lib_search_path_FC="${prev}${p}"
13100
           else
13101
             compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13102
           fi
13103
           ;;
13104
         # The "-l" case would never come before the object being
13105
         # linked, so don't bother handling this case.
13106
         esac
13107
       else
13108
         if test -z "$postdeps_FC"; then
13109
           postdeps_FC="${prev}${p}"
13110
         else
13111
           postdeps_FC="${postdeps_FC} ${prev}${p}"
13112
         fi
13113
       fi
13114
       ;;
13115
 
13116
    *.$objext)
13117
       # This assumes that the test object file only shows up
13118
       # once in the compiler output.
13119
       if test "$p" = "conftest.$objext"; then
13120
         pre_test_object_deps_done=yes
13121
         continue
13122
       fi
13123
 
13124
       if test "$pre_test_object_deps_done" = no; then
13125
         if test -z "$predep_objects_FC"; then
13126
           predep_objects_FC="$p"
13127
         else
13128
           predep_objects_FC="$predep_objects_FC $p"
13129
         fi
13130
       else
13131
         if test -z "$postdep_objects_FC"; then
13132
           postdep_objects_FC="$p"
13133
         else
13134
           postdep_objects_FC="$postdep_objects_FC $p"
13135
         fi
13136
       fi
13137
       ;;
13138
 
13139
    *) ;; # Ignore the rest.
13140
 
13141
    esac
13142
  done
13143
 
13144
  # Clean up.
13145
  rm -f a.out a.exe
13146
else
13147
  echo "libtool.m4: error: problem compiling FC test program"
13148
fi
13149
 
13150
$RM -f confest.$objext
13151
 
13152
# PORTME: override above test on systems where it is broken
13153
 
13154
 
13155
case " $postdeps_FC " in
13156
*" -lc "*) archive_cmds_need_lc_FC=no ;;
13157
esac
13158
 compiler_lib_search_dirs_FC=
13159
if test -n "${compiler_lib_search_path_FC}"; then
13160
 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13161
fi
13162
 
13163
 
13164
 
13165
 
13166
 
13167
 
13168
 
13169
 
13170
 
13171
 
13172
 
13173
 
13174
 
13175
 
13176
 
13177
 
13178
 
13179
 
13180
 
13181
 
13182
 
13183
 
13184
 
13185
 
13186
 
13187
 
13188
 
13189
 
13190
 
13191
 
13192
 
13193
    lt_prog_compiler_wl_FC=
13194
lt_prog_compiler_pic_FC=
13195
lt_prog_compiler_static_FC=
13196
 
13197
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13198
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13199
 
13200
  if test "$GCC" = yes; then
13201
    lt_prog_compiler_wl_FC='-Wl,'
13202
    lt_prog_compiler_static_FC='-static'
13203
 
13204
    case $host_os in
13205
      aix*)
13206
      # All AIX code is PIC.
13207
      if test "$host_cpu" = ia64; then
13208
        # AIX 5 now supports IA64 processor
13209
        lt_prog_compiler_static_FC='-Bstatic'
13210
      fi
13211
      ;;
13212
 
13213
    amigaos*)
13214
      case $host_cpu in
13215
      powerpc)
13216
            # see comment about AmigaOS4 .so support
13217
            lt_prog_compiler_pic_FC='-fPIC'
13218
        ;;
13219
      m68k)
13220
            # FIXME: we need at least 68020 code to build shared libraries, but
13221
            # adding the `-m68020' flag to GCC prevents building anything better,
13222
            # like `-m68040'.
13223
            lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13224
        ;;
13225
      esac
13226
      ;;
13227
 
13228
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13229
      # PIC is the default for these OSes.
13230
      ;;
13231
 
13232
    mingw* | cygwin* | pw32* | os2* | cegcc*)
13233
      # This hack is so that the source file can tell whether it is being
13234
      # built for inclusion in a dll (and should export symbols for example).
13235
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13236
      # (--disable-auto-import) libraries
13237
      lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13238
      ;;
13239
 
13240
    darwin* | rhapsody*)
13241
      # PIC is the default on this platform
13242
      # Common symbols not allowed in MH_DYLIB files
13243
      lt_prog_compiler_pic_FC='-fno-common'
13244
      ;;
13245
 
13246
    haiku*)
13247
      # PIC is the default for Haiku.
13248
      # The "-static" flag exists, but is broken.
13249
      lt_prog_compiler_static_FC=
13250
      ;;
13251
 
13252
    hpux*)
13253
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13254
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13255
      # sets the default TLS model and affects inlining.
13256
      case $host_cpu in
13257
      hppa*64*)
13258
        # +Z the default
13259
        ;;
13260
      *)
13261
        lt_prog_compiler_pic_FC='-fPIC'
13262
        ;;
13263
      esac
13264
      ;;
13265
 
13266
    interix[3-9]*)
13267
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13268
      # Instead, we relocate shared libraries at runtime.
13269
      ;;
13270
 
13271
    msdosdjgpp*)
13272
      # Just because we use GCC doesn't mean we suddenly get shared libraries
13273
      # on systems that don't support them.
13274
      lt_prog_compiler_can_build_shared_FC=no
13275
      enable_shared=no
13276
      ;;
13277
 
13278
    *nto* | *qnx*)
13279
      # QNX uses GNU C++, but need to define -shared option too, otherwise
13280
      # it will coredump.
13281
      lt_prog_compiler_pic_FC='-fPIC -shared'
13282
      ;;
13283
 
13284
    sysv4*MP*)
13285
      if test -d /usr/nec; then
13286
        lt_prog_compiler_pic_FC=-Kconform_pic
13287
      fi
13288
      ;;
13289
 
13290
    *)
13291
      lt_prog_compiler_pic_FC='-fPIC'
13292
      ;;
13293
    esac
13294
 
13295
    case $cc_basename in
13296
    nvcc*) # Cuda Compiler Driver 2.2
13297
      lt_prog_compiler_wl_FC='-Xlinker '
13298
      lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13299
      ;;
13300
    esac
13301
  else
13302
    # PORTME Check for flag to pass linker flags through the system compiler.
13303
    case $host_os in
13304
    aix*)
13305
      lt_prog_compiler_wl_FC='-Wl,'
13306
      if test "$host_cpu" = ia64; then
13307
        # AIX 5 now supports IA64 processor
13308
        lt_prog_compiler_static_FC='-Bstatic'
13309
      else
13310
        lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13311
      fi
13312
      ;;
13313
 
13314
    mingw* | cygwin* | pw32* | os2* | cegcc*)
13315
      # This hack is so that the source file can tell whether it is being
13316
      # built for inclusion in a dll (and should export symbols for example).
13317
      lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13318
      ;;
13319
 
13320
    hpux9* | hpux10* | hpux11*)
13321
      lt_prog_compiler_wl_FC='-Wl,'
13322
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13323
      # not for PA HP-UX.
13324
      case $host_cpu in
13325
      hppa*64*|ia64*)
13326
        # +Z the default
13327
        ;;
13328
      *)
13329
        lt_prog_compiler_pic_FC='+Z'
13330
        ;;
13331
      esac
13332
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
13333
      lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13334
      ;;
13335
 
13336
    irix5* | irix6* | nonstopux*)
13337
      lt_prog_compiler_wl_FC='-Wl,'
13338
      # PIC (with -KPIC) is the default.
13339
      lt_prog_compiler_static_FC='-non_shared'
13340
      ;;
13341
 
13342
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
13343
      case $cc_basename in
13344
      # old Intel for x86_64 which still supported -KPIC.
13345
      ecc*)
13346
        lt_prog_compiler_wl_FC='-Wl,'
13347
        lt_prog_compiler_pic_FC='-KPIC'
13348
        lt_prog_compiler_static_FC='-static'
13349
        ;;
13350
      # icc used to be incompatible with GCC.
13351
      # ICC 10 doesn't accept -KPIC any more.
13352
      icc* | ifort*)
13353
        lt_prog_compiler_wl_FC='-Wl,'
13354
        lt_prog_compiler_pic_FC='-fPIC'
13355
        lt_prog_compiler_static_FC='-static'
13356
        ;;
13357
      # Lahey Fortran 8.1.
13358
      lf95*)
13359
        lt_prog_compiler_wl_FC='-Wl,'
13360
        lt_prog_compiler_pic_FC='--shared'
13361
        lt_prog_compiler_static_FC='--static'
13362
        ;;
13363
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13364
        # Portland Group compilers (*not* the Pentium gcc compiler,
13365
        # which looks to be a dead project)
13366
        lt_prog_compiler_wl_FC='-Wl,'
13367
        lt_prog_compiler_pic_FC='-fpic'
13368
        lt_prog_compiler_static_FC='-Bstatic'
13369
        ;;
13370
      ccc*)
13371
        lt_prog_compiler_wl_FC='-Wl,'
13372
        # All Alpha code is PIC.
13373
        lt_prog_compiler_static_FC='-non_shared'
13374
        ;;
13375
      xl* | bgxl* | bgf* | mpixl*)
13376
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13377
        lt_prog_compiler_wl_FC='-Wl,'
13378
        lt_prog_compiler_pic_FC='-qpic'
13379
        lt_prog_compiler_static_FC='-qstaticlink'
13380
        ;;
13381
      *)
13382
        case `$CC -V 2>&1 | sed 5q` in
13383
        *Sun\ F* | *Sun*Fortran*)
13384
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
13385
          lt_prog_compiler_pic_FC='-KPIC'
13386
          lt_prog_compiler_static_FC='-Bstatic'
13387
          lt_prog_compiler_wl_FC=''
13388
          ;;
13389
        *Sun\ C*)
13390
          # Sun C 5.9
13391
          lt_prog_compiler_pic_FC='-KPIC'
13392
          lt_prog_compiler_static_FC='-Bstatic'
13393
          lt_prog_compiler_wl_FC='-Wl,'
13394
          ;;
13395
        esac
13396
        ;;
13397
      esac
13398
      ;;
13399
 
13400
    newsos6)
13401
      lt_prog_compiler_pic_FC='-KPIC'
13402
      lt_prog_compiler_static_FC='-Bstatic'
13403
      ;;
13404
 
13405
    *nto* | *qnx*)
13406
      # QNX uses GNU C++, but need to define -shared option too, otherwise
13407
      # it will coredump.
13408
      lt_prog_compiler_pic_FC='-fPIC -shared'
13409
      ;;
13410
 
13411
    osf3* | osf4* | osf5*)
13412
      lt_prog_compiler_wl_FC='-Wl,'
13413
      # All OSF/1 code is PIC.
13414
      lt_prog_compiler_static_FC='-non_shared'
13415
      ;;
13416
 
13417
    rdos*)
13418
      lt_prog_compiler_static_FC='-non_shared'
13419
      ;;
13420
 
13421
    solaris*)
13422
      lt_prog_compiler_pic_FC='-KPIC'
13423
      lt_prog_compiler_static_FC='-Bstatic'
13424
      case $cc_basename in
13425
      f77* | f90* | f95*)
13426
        lt_prog_compiler_wl_FC='-Qoption ld ';;
13427
      *)
13428
        lt_prog_compiler_wl_FC='-Wl,';;
13429
      esac
13430
      ;;
13431
 
13432
    sunos4*)
13433
      lt_prog_compiler_wl_FC='-Qoption ld '
13434
      lt_prog_compiler_pic_FC='-PIC'
13435
      lt_prog_compiler_static_FC='-Bstatic'
13436
      ;;
13437
 
13438
    sysv4 | sysv4.2uw2* | sysv4.3*)
13439
      lt_prog_compiler_wl_FC='-Wl,'
13440
      lt_prog_compiler_pic_FC='-KPIC'
13441
      lt_prog_compiler_static_FC='-Bstatic'
13442
      ;;
13443
 
13444
    sysv4*MP*)
13445
      if test -d /usr/nec ;then
13446
        lt_prog_compiler_pic_FC='-Kconform_pic'
13447
        lt_prog_compiler_static_FC='-Bstatic'
13448
      fi
13449
      ;;
13450
 
13451
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13452
      lt_prog_compiler_wl_FC='-Wl,'
13453
      lt_prog_compiler_pic_FC='-KPIC'
13454
      lt_prog_compiler_static_FC='-Bstatic'
13455
      ;;
13456
 
13457
    unicos*)
13458
      lt_prog_compiler_wl_FC='-Wl,'
13459
      lt_prog_compiler_can_build_shared_FC=no
13460
      ;;
13461
 
13462
    uts4*)
13463
      lt_prog_compiler_pic_FC='-pic'
13464
      lt_prog_compiler_static_FC='-Bstatic'
13465
      ;;
13466
 
13467
    *)
13468
      lt_prog_compiler_can_build_shared_FC=no
13469
      ;;
13470
    esac
13471
  fi
13472
 
13473
case $host_os in
13474
  # For platforms which do not support PIC, -DPIC is meaningless:
13475
  *djgpp*)
13476
    lt_prog_compiler_pic_FC=
13477
    ;;
13478
  *)
13479
    lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
13480
    ;;
13481
esac
13482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13483
$as_echo "$lt_prog_compiler_pic_FC" >&6; }
13484
 
13485
 
13486
 
13487
#
13488
# Check to make sure the PIC flag actually works.
13489
#
13490
if test -n "$lt_prog_compiler_pic_FC"; then
13491
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13492
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13493
if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13494
  $as_echo_n "(cached) " >&6
13495
else
13496
  lt_cv_prog_compiler_pic_works_FC=no
13497
   ac_outfile=conftest.$ac_objext
13498
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13499
   lt_compiler_flag="$lt_prog_compiler_pic_FC"
13500
   # Insert the option either (1) after the last *FLAGS variable, or
13501
   # (2) before a word containing "conftest.", or (3) at the end.
13502
   # Note that $ac_compile itself does not contain backslashes and begins
13503
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13504
   # The option is referenced via a variable to avoid confusing sed.
13505
   lt_compile=`echo "$ac_compile" | $SED \
13506
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13507
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13508
   -e 's:$: $lt_compiler_flag:'`
13509
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13510
   (eval "$lt_compile" 2>conftest.err)
13511
   ac_status=$?
13512
   cat conftest.err >&5
13513
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514
   if (exit $ac_status) && test -s "$ac_outfile"; then
13515
     # The compiler can only warn and ignore the option if not recognized
13516
     # So say no if there are warnings other than the usual output.
13517
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13518
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13519
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13520
       lt_cv_prog_compiler_pic_works_FC=yes
13521
     fi
13522
   fi
13523
   $RM conftest*
13524
 
13525
fi
13526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13527
$as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13528
 
13529
if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
13530
    case $lt_prog_compiler_pic_FC in
13531
     "" | " "*) ;;
13532
     *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
13533
     esac
13534
else
13535
    lt_prog_compiler_pic_FC=
13536
     lt_prog_compiler_can_build_shared_FC=no
13537
fi
13538
 
13539
fi
13540
 
13541
 
13542
 
13543
#
13544
# Check to make sure the static flag actually works.
13545
#
13546
wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
13547
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13548
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13549
if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13550
  $as_echo_n "(cached) " >&6
13551
else
13552
  lt_cv_prog_compiler_static_works_FC=no
13553
   save_LDFLAGS="$LDFLAGS"
13554
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13555
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13556
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13557
     # The linker can only warn and ignore the option if not recognized
13558
     # So say no if there are warnings
13559
     if test -s conftest.err; then
13560
       # Append any errors to the config.log.
13561
       cat conftest.err 1>&5
13562
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13563
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13564
       if diff conftest.exp conftest.er2 >/dev/null; then
13565
         lt_cv_prog_compiler_static_works_FC=yes
13566
       fi
13567
     else
13568
       lt_cv_prog_compiler_static_works_FC=yes
13569
     fi
13570
   fi
13571
   $RM -r conftest*
13572
   LDFLAGS="$save_LDFLAGS"
13573
 
13574
fi
13575
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13576
$as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13577
 
13578
if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
13579
    :
13580
else
13581
    lt_prog_compiler_static_FC=
13582
fi
13583
 
13584
 
13585
 
13586
 
13587
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13588
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13589
if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13590
  $as_echo_n "(cached) " >&6
13591
else
13592
  lt_cv_prog_compiler_c_o_FC=no
13593
   $RM -r conftest 2>/dev/null
13594
   mkdir conftest
13595
   cd conftest
13596
   mkdir out
13597
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13598
 
13599
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13600
   # Insert the option either (1) after the last *FLAGS variable, or
13601
   # (2) before a word containing "conftest.", or (3) at the end.
13602
   # Note that $ac_compile itself does not contain backslashes and begins
13603
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13604
   lt_compile=`echo "$ac_compile" | $SED \
13605
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13606
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13607
   -e 's:$: $lt_compiler_flag:'`
13608
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13609
   (eval "$lt_compile" 2>out/conftest.err)
13610
   ac_status=$?
13611
   cat out/conftest.err >&5
13612
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13614
   then
13615
     # The compiler can only warn and ignore the option if not recognized
13616
     # So say no if there are warnings
13617
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13618
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13619
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13620
       lt_cv_prog_compiler_c_o_FC=yes
13621
     fi
13622
   fi
13623
   chmod u+w . 2>&5
13624
   $RM conftest*
13625
   # SGI C++ compiler will create directory out/ii_files/ for
13626
   # template instantiation
13627
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13628
   $RM out/* && rmdir out
13629
   cd ..
13630
   $RM -r conftest
13631
   $RM conftest*
13632
 
13633
fi
13634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13635
$as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13636
 
13637
 
13638
 
13639
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13640
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13641
if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13642
  $as_echo_n "(cached) " >&6
13643
else
13644
  lt_cv_prog_compiler_c_o_FC=no
13645
   $RM -r conftest 2>/dev/null
13646
   mkdir conftest
13647
   cd conftest
13648
   mkdir out
13649
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13650
 
13651
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13652
   # Insert the option either (1) after the last *FLAGS variable, or
13653
   # (2) before a word containing "conftest.", or (3) at the end.
13654
   # Note that $ac_compile itself does not contain backslashes and begins
13655
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13656
   lt_compile=`echo "$ac_compile" | $SED \
13657
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13658
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13659
   -e 's:$: $lt_compiler_flag:'`
13660
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13661
   (eval "$lt_compile" 2>out/conftest.err)
13662
   ac_status=$?
13663
   cat out/conftest.err >&5
13664
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13666
   then
13667
     # The compiler can only warn and ignore the option if not recognized
13668
     # So say no if there are warnings
13669
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13670
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13671
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13672
       lt_cv_prog_compiler_c_o_FC=yes
13673
     fi
13674
   fi
13675
   chmod u+w . 2>&5
13676
   $RM conftest*
13677
   # SGI C++ compiler will create directory out/ii_files/ for
13678
   # template instantiation
13679
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13680
   $RM out/* && rmdir out
13681
   cd ..
13682
   $RM -r conftest
13683
   $RM conftest*
13684
 
13685
fi
13686
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13687
$as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13688
 
13689
 
13690
 
13691
 
13692
hard_links="nottested"
13693
if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
13694
  # do not overwrite the value of need_locks provided by the user
13695
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13696
$as_echo_n "checking if we can lock with hard links... " >&6; }
13697
  hard_links=yes
13698
  $RM conftest*
13699
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13700
  touch conftest.a
13701
  ln conftest.a conftest.b 2>&5 || hard_links=no
13702
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13703
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13704
$as_echo "$hard_links" >&6; }
13705
  if test "$hard_links" = no; then
13706
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13707
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13708
    need_locks=warn
13709
  fi
13710
else
13711
  need_locks=no
13712
fi
13713
 
13714
 
13715
 
13716
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13717
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13718
 
13719
  runpath_var=
13720
  allow_undefined_flag_FC=
13721
  always_export_symbols_FC=no
13722
  archive_cmds_FC=
13723
  archive_expsym_cmds_FC=
13724
  compiler_needs_object_FC=no
13725
  enable_shared_with_static_runtimes_FC=no
13726
  export_dynamic_flag_spec_FC=
13727
  export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13728
  hardcode_automatic_FC=no
13729
  hardcode_direct_FC=no
13730
  hardcode_direct_absolute_FC=no
13731
  hardcode_libdir_flag_spec_FC=
13732
  hardcode_libdir_flag_spec_ld_FC=
13733
  hardcode_libdir_separator_FC=
13734
  hardcode_minus_L_FC=no
13735
  hardcode_shlibpath_var_FC=unsupported
13736
  inherit_rpath_FC=no
13737
  link_all_deplibs_FC=unknown
13738
  module_cmds_FC=
13739
  module_expsym_cmds_FC=
13740
  old_archive_from_new_cmds_FC=
13741
  old_archive_from_expsyms_cmds_FC=
13742
  thread_safe_flag_spec_FC=
13743
  whole_archive_flag_spec_FC=
13744
  # include_expsyms should be a list of space-separated symbols to be *always*
13745
  # included in the symbol list
13746
  include_expsyms_FC=
13747
  # exclude_expsyms can be an extended regexp of symbols to exclude
13748
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
13749
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13750
  # as well as any symbol that contains `d'.
13751
  exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13752
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13753
  # platforms (ab)use it in PIC code, but their linkers get confused if
13754
  # the symbol is explicitly referenced.  Since portable code cannot
13755
  # rely on this symbol name, it's probably fine to never include it in
13756
  # preloaded symbol tables.
13757
  # Exclude shared library initialization/finalization symbols.
13758
  extract_expsyms_cmds=
13759
 
13760
  case $host_os in
13761
  cygwin* | mingw* | pw32* | cegcc*)
13762
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
13763
    # When not using gcc, we currently assume that we are using
13764
    # Microsoft Visual C++.
13765
    if test "$GCC" != yes; then
13766
      with_gnu_ld=no
13767
    fi
13768
    ;;
13769
  interix*)
13770
    # we just hope/assume this is gcc and not c89 (= MSVC++)
13771
    with_gnu_ld=yes
13772
    ;;
13773
  openbsd*)
13774
    with_gnu_ld=no
13775
    ;;
13776
  esac
13777
 
13778
  ld_shlibs_FC=yes
13779
 
13780
  # On some targets, GNU ld is compatible enough with the native linker
13781
  # that we're better off using the native interface for both.
13782
  lt_use_gnu_ld_interface=no
13783
  if test "$with_gnu_ld" = yes; then
13784
    case $host_os in
13785
      aix*)
13786
        # The AIX port of GNU ld has always aspired to compatibility
13787
        # with the native linker.  However, as the warning in the GNU ld
13788
        # block says, versions before 2.19.5* couldn't really create working
13789
        # shared libraries, regardless of the interface used.
13790
        case `$LD -v 2>&1` in
13791
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
13792
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13793
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13794
          *)
13795
            lt_use_gnu_ld_interface=yes
13796
            ;;
13797
        esac
13798
        ;;
13799
      *)
13800
        lt_use_gnu_ld_interface=yes
13801
        ;;
13802
    esac
13803
  fi
13804
 
13805
  if test "$lt_use_gnu_ld_interface" = yes; then
13806
    # If archive_cmds runs LD, not CC, wlarc should be empty
13807
    wlarc='${wl}'
13808
 
13809
    # Set some defaults for GNU ld with shared library support. These
13810
    # are reset later if shared libraries are not supported. Putting them
13811
    # here allows them to be overridden if necessary.
13812
    runpath_var=LD_RUN_PATH
13813
    hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13814
    export_dynamic_flag_spec_FC='${wl}--export-dynamic'
13815
    # ancient GNU ld didn't support --whole-archive et. al.
13816
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13817
      whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13818
    else
13819
      whole_archive_flag_spec_FC=
13820
    fi
13821
    supports_anon_versioning=no
13822
    case `$LD -v 2>&1` in
13823
      *GNU\ gold*) supports_anon_versioning=yes ;;
13824
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13825
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13826
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13827
      *\ 2.11.*) ;; # other 2.11 versions
13828
      *) supports_anon_versioning=yes ;;
13829
    esac
13830
 
13831
    # See if GNU ld supports shared libraries.
13832
    case $host_os in
13833
    aix[3-9]*)
13834
      # On AIX/PPC, the GNU linker is very broken
13835
      if test "$host_cpu" != ia64; then
13836
        ld_shlibs_FC=no
13837
        cat <<_LT_EOF 1>&2
13838
 
13839
*** Warning: the GNU linker, at least up to release 2.19, is reported
13840
*** to be unable to reliably create shared libraries on AIX.
13841
*** Therefore, libtool is disabling shared libraries support.  If you
13842
*** really care for shared libraries, you may want to install binutils
13843
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13844
*** You will then need to restart the configuration process.
13845
 
13846
_LT_EOF
13847
      fi
13848
      ;;
13849
 
13850
    amigaos*)
13851
      case $host_cpu in
13852
      powerpc)
13853
            # see comment about AmigaOS4 .so support
13854
            archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13855
            archive_expsym_cmds_FC=''
13856
        ;;
13857
      m68k)
13858
            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)'
13859
            hardcode_libdir_flag_spec_FC='-L$libdir'
13860
            hardcode_minus_L_FC=yes
13861
        ;;
13862
      esac
13863
      ;;
13864
 
13865
    beos*)
13866
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13867
        allow_undefined_flag_FC=unsupported
13868
        # Joseph Beckenbach  says some releases of gcc
13869
        # support --undefined.  This deserves some investigation.  FIXME
13870
        archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13871
      else
13872
        ld_shlibs_FC=no
13873
      fi
13874
      ;;
13875
 
13876
    cygwin* | mingw* | pw32* | cegcc*)
13877
      # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13878
      # as there is no search path for DLLs.
13879
      hardcode_libdir_flag_spec_FC='-L$libdir'
13880
      export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
13881
      allow_undefined_flag_FC=unsupported
13882
      always_export_symbols_FC=no
13883
      enable_shared_with_static_runtimes_FC=yes
13884
      export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13885
 
13886
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13887
        archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13888
        # If the export-symbols file already is a .def file (1st line
13889
        # is EXPORTS), use it as is; otherwise, prepend...
13890
        archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13891
          cp $export_symbols $output_objdir/$soname.def;
13892
        else
13893
          echo EXPORTS > $output_objdir/$soname.def;
13894
          cat $export_symbols >> $output_objdir/$soname.def;
13895
        fi~
13896
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13897
      else
13898
        ld_shlibs_FC=no
13899
      fi
13900
      ;;
13901
 
13902
    haiku*)
13903
      archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13904
      link_all_deplibs_FC=yes
13905
      ;;
13906
 
13907
    interix[3-9]*)
13908
      hardcode_direct_FC=no
13909
      hardcode_shlibpath_var_FC=no
13910
      hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13911
      export_dynamic_flag_spec_FC='${wl}-E'
13912
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13913
      # Instead, shared libraries are loaded at an image base (0x10000000 by
13914
      # default) and relocated if they conflict, which is a slow very memory
13915
      # consuming and fragmenting process.  To avoid this, we pick a random,
13916
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13917
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13918
      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'
13919
      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'
13920
      ;;
13921
 
13922
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13923
      tmp_diet=no
13924
      if test "$host_os" = linux-dietlibc; then
13925
        case $cc_basename in
13926
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
13927
        esac
13928
      fi
13929
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13930
         && test "$tmp_diet" = no
13931
      then
13932
        tmp_addflag=
13933
        tmp_sharedflag='-shared'
13934
        case $cc_basename,$host_cpu in
13935
        pgcc*)                          # Portland Group C compiler
13936
          whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13937
          tmp_addflag=' $pic_flag'
13938
          ;;
13939
        pgf77* | pgf90* | pgf95* | pgfortran*)
13940
                                        # Portland Group f77 and f90 compilers
13941
          whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13942
          tmp_addflag=' $pic_flag -Mnomain' ;;
13943
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
13944
          tmp_addflag=' -i_dynamic' ;;
13945
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
13946
          tmp_addflag=' -i_dynamic -nofor_main' ;;
13947
        ifc* | ifort*)                  # Intel Fortran compiler
13948
          tmp_addflag=' -nofor_main' ;;
13949
        lf95*)                          # Lahey Fortran 8.1
13950
          whole_archive_flag_spec_FC=
13951
          tmp_sharedflag='--shared' ;;
13952
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13953
          tmp_sharedflag='-qmkshrobj'
13954
          tmp_addflag= ;;
13955
        nvcc*)  # Cuda Compiler Driver 2.2
13956
          whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13957
          compiler_needs_object_FC=yes
13958
          ;;
13959
        esac
13960
        case `$CC -V 2>&1 | sed 5q` in
13961
        *Sun\ C*)                       # Sun C 5.9
13962
          whole_archive_flag_spec_FC='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13963
          compiler_needs_object_FC=yes
13964
          tmp_sharedflag='-G' ;;
13965
        *Sun\ F*)                       # Sun Fortran 8.3
13966
          tmp_sharedflag='-G' ;;
13967
        esac
13968
        archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13969
 
13970
        if test "x$supports_anon_versioning" = xyes; then
13971
          archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13972
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13973
            echo "local: *; };" >> $output_objdir/$libname.ver~
13974
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13975
        fi
13976
 
13977
        case $cc_basename in
13978
        xlf* | bgf* | bgxlf* | mpixlf*)
13979
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13980
          whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
13981
          hardcode_libdir_flag_spec_FC=
13982
          hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
13983
          archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13984
          if test "x$supports_anon_versioning" = xyes; then
13985
            archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13986
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13987
              echo "local: *; };" >> $output_objdir/$libname.ver~
13988
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13989
          fi
13990
          ;;
13991
        esac
13992
      else
13993
        ld_shlibs_FC=no
13994
      fi
13995
      ;;
13996
 
13997
    netbsd*)
13998
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13999
        archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14000
        wlarc=
14001
      else
14002
        archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14003
        archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14004
      fi
14005
      ;;
14006
 
14007
    solaris*)
14008
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14009
        ld_shlibs_FC=no
14010
        cat <<_LT_EOF 1>&2
14011
 
14012
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14013
*** create shared libraries on Solaris systems.  Therefore, libtool
14014
*** is disabling shared libraries support.  We urge you to upgrade GNU
14015
*** binutils to release 2.9.1 or newer.  Another option is to modify
14016
*** your PATH or compiler configuration so that the native linker is
14017
*** used, and then restart.
14018
 
14019
_LT_EOF
14020
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14021
        archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14022
        archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14023
      else
14024
        ld_shlibs_FC=no
14025
      fi
14026
      ;;
14027
 
14028
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14029
      case `$LD -v 2>&1` in
14030
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14031
        ld_shlibs_FC=no
14032
        cat <<_LT_EOF 1>&2
14033
 
14034
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14035
*** reliably create shared libraries on SCO systems.  Therefore, libtool
14036
*** is disabling shared libraries support.  We urge you to upgrade GNU
14037
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
14038
*** your PATH or compiler configuration so that the native linker is
14039
*** used, and then restart.
14040
 
14041
_LT_EOF
14042
        ;;
14043
        *)
14044
          # For security reasons, it is highly recommended that you always
14045
          # use absolute paths for naming shared libraries, and exclude the
14046
          # DT_RUNPATH tag from executables and libraries.  But doing so
14047
          # requires that you compile everything twice, which is a pain.
14048
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14049
            hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14050
            archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14051
            archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14052
          else
14053
            ld_shlibs_FC=no
14054
          fi
14055
        ;;
14056
      esac
14057
      ;;
14058
 
14059
    sunos4*)
14060
      archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14061
      wlarc=
14062
      hardcode_direct_FC=yes
14063
      hardcode_shlibpath_var_FC=no
14064
      ;;
14065
 
14066
    *)
14067
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14068
        archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14069
        archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14070
      else
14071
        ld_shlibs_FC=no
14072
      fi
14073
      ;;
14074
    esac
14075
 
14076
    if test "$ld_shlibs_FC" = no; then
14077
      runpath_var=
14078
      hardcode_libdir_flag_spec_FC=
14079
      export_dynamic_flag_spec_FC=
14080
      whole_archive_flag_spec_FC=
14081
    fi
14082
  else
14083
    # PORTME fill in a description of your system's linker (not GNU ld)
14084
    case $host_os in
14085
    aix3*)
14086
      allow_undefined_flag_FC=unsupported
14087
      always_export_symbols_FC=yes
14088
      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'
14089
      # Note: this linker hardcodes the directories in LIBPATH if there
14090
      # are no directories specified by -L.
14091
      hardcode_minus_L_FC=yes
14092
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14093
        # Neither direct hardcoding nor static linking is supported with a
14094
        # broken collect2.
14095
        hardcode_direct_FC=unsupported
14096
      fi
14097
      ;;
14098
 
14099
    aix[4-9]*)
14100
      if test "$host_cpu" = ia64; then
14101
        # On IA64, the linker does run time linking by default, so we don't
14102
        # have to do anything special.
14103
        aix_use_runtimelinking=no
14104
        exp_sym_flag='-Bexport'
14105
        no_entry_flag=""
14106
      else
14107
        # If we're using GNU nm, then we don't want the "-C" option.
14108
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
14109
        # Also, AIX nm treats weak defined symbols like other global
14110
        # defined symbols, whereas GNU nm marks them as "W".
14111
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14112
          export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14113
        else
14114
          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'
14115
        fi
14116
        aix_use_runtimelinking=no
14117
 
14118
        # Test if we are trying to use run time linking or normal
14119
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14120
        # need to do runtime linking.
14121
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14122
          for ld_flag in $LDFLAGS; do
14123
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14124
            aix_use_runtimelinking=yes
14125
            break
14126
          fi
14127
          done
14128
          ;;
14129
        esac
14130
 
14131
        exp_sym_flag='-bexport'
14132
        no_entry_flag='-bnoentry'
14133
      fi
14134
 
14135
      # When large executables or shared objects are built, AIX ld can
14136
      # have problems creating the table of contents.  If linking a library
14137
      # or program results in "error TOC overflow" add -mminimal-toc to
14138
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14139
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14140
 
14141
      archive_cmds_FC=''
14142
      hardcode_direct_FC=yes
14143
      hardcode_direct_absolute_FC=yes
14144
      hardcode_libdir_separator_FC=':'
14145
      link_all_deplibs_FC=yes
14146
      file_list_spec_FC='${wl}-f,'
14147
 
14148
      if test "$GCC" = yes; then
14149
        case $host_os in aix4.[012]|aix4.[012].*)
14150
        # We only want to do this on AIX 4.2 and lower, the check
14151
        # below for broken collect2 doesn't work under 4.3+
14152
          collect2name=`${CC} -print-prog-name=collect2`
14153
          if test -f "$collect2name" &&
14154
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14155
          then
14156
          # We have reworked collect2
14157
          :
14158
          else
14159
          # We have old collect2
14160
          hardcode_direct_FC=unsupported
14161
          # It fails to find uninstalled libraries when the uninstalled
14162
          # path is not listed in the libpath.  Setting hardcode_minus_L
14163
          # to unsupported forces relinking
14164
          hardcode_minus_L_FC=yes
14165
          hardcode_libdir_flag_spec_FC='-L$libdir'
14166
          hardcode_libdir_separator_FC=
14167
          fi
14168
          ;;
14169
        esac
14170
        shared_flag='-shared'
14171
        if test "$aix_use_runtimelinking" = yes; then
14172
          shared_flag="$shared_flag "'${wl}-G'
14173
        fi
14174
      else
14175
        # not using gcc
14176
        if test "$host_cpu" = ia64; then
14177
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14178
        # chokes on -Wl,-G. The following line is correct:
14179
          shared_flag='-G'
14180
        else
14181
          if test "$aix_use_runtimelinking" = yes; then
14182
            shared_flag='${wl}-G'
14183
          else
14184
            shared_flag='${wl}-bM:SRE'
14185
          fi
14186
        fi
14187
      fi
14188
 
14189
      export_dynamic_flag_spec_FC='${wl}-bexpall'
14190
      # It seems that -bexpall does not export symbols beginning with
14191
      # underscore (_), so it is better to generate a list of symbols to export.
14192
      always_export_symbols_FC=yes
14193
      if test "$aix_use_runtimelinking" = yes; then
14194
        # Warning - without using the other runtime loading flags (-brtl),
14195
        # -berok will link without error, but may produce a broken library.
14196
        allow_undefined_flag_FC='-berok'
14197
        # Determine the default libpath from the value encoded in an
14198
        # empty executable.
14199
        if test x$gcc_no_link = xyes; then
14200
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14201
fi
14202
cat > conftest.$ac_ext <<_ACEOF
14203
      program main
14204
 
14205
      end
14206
_ACEOF
14207
if ac_fn_fc_try_link "$LINENO"; then :
14208
 
14209
lt_aix_libpath_sed='
14210
    /Import File Strings/,/^$/ {
14211
        /^0/ {
14212
            s/^0  *\(.*\)$/\1/
14213
            p
14214
        }
14215
    }'
14216
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14217
# Check for a 64-bit object if we didn't find anything.
14218
if test -z "$aix_libpath"; then
14219
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14220
fi
14221
fi
14222
rm -f core conftest.err conftest.$ac_objext \
14223
    conftest$ac_exeext conftest.$ac_ext
14224
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14225
 
14226
        hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14227
        archive_expsym_cmds_FC='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14228
      else
14229
        if test "$host_cpu" = ia64; then
14230
          hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14231
          allow_undefined_flag_FC="-z nodefs"
14232
          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"
14233
        else
14234
         # Determine the default libpath from the value encoded in an
14235
         # empty executable.
14236
         if test x$gcc_no_link = xyes; then
14237
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14238
fi
14239
cat > conftest.$ac_ext <<_ACEOF
14240
      program main
14241
 
14242
      end
14243
_ACEOF
14244
if ac_fn_fc_try_link "$LINENO"; then :
14245
 
14246
lt_aix_libpath_sed='
14247
    /Import File Strings/,/^$/ {
14248
        /^0/ {
14249
            s/^0  *\(.*\)$/\1/
14250
            p
14251
        }
14252
    }'
14253
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14254
# Check for a 64-bit object if we didn't find anything.
14255
if test -z "$aix_libpath"; then
14256
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14257
fi
14258
fi
14259
rm -f core conftest.err conftest.$ac_objext \
14260
    conftest$ac_exeext conftest.$ac_ext
14261
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14262
 
14263
         hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14264
          # Warning - without using the other run time loading flags,
14265
          # -berok will link without error, but may produce a broken library.
14266
          no_undefined_flag_FC=' ${wl}-bernotok'
14267
          allow_undefined_flag_FC=' ${wl}-berok'
14268
          if test "$with_gnu_ld" = yes; then
14269
            # We only use this code for GNU lds that support --whole-archive.
14270
            whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14271
          else
14272
            # Exported symbols can be pulled into shared objects from archives
14273
            whole_archive_flag_spec_FC='$convenience'
14274
          fi
14275
          archive_cmds_need_lc_FC=yes
14276
          # This is similar to how AIX traditionally builds its shared libraries.
14277
          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'
14278
        fi
14279
      fi
14280
      ;;
14281
 
14282
    amigaos*)
14283
      case $host_cpu in
14284
      powerpc)
14285
            # see comment about AmigaOS4 .so support
14286
            archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14287
            archive_expsym_cmds_FC=''
14288
        ;;
14289
      m68k)
14290
            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)'
14291
            hardcode_libdir_flag_spec_FC='-L$libdir'
14292
            hardcode_minus_L_FC=yes
14293
        ;;
14294
      esac
14295
      ;;
14296
 
14297
    bsdi[45]*)
14298
      export_dynamic_flag_spec_FC=-rdynamic
14299
      ;;
14300
 
14301
    cygwin* | mingw* | pw32* | cegcc*)
14302
      # When not using gcc, we currently assume that we are using
14303
      # Microsoft Visual C++.
14304
      # hardcode_libdir_flag_spec is actually meaningless, as there is
14305
      # no search path for DLLs.
14306
      hardcode_libdir_flag_spec_FC=' '
14307
      allow_undefined_flag_FC=unsupported
14308
      # Tell ltmain to make .lib files, not .a files.
14309
      libext=lib
14310
      # Tell ltmain to make .dll files, not .so files.
14311
      shrext_cmds=".dll"
14312
      # FIXME: Setting linknames here is a bad hack.
14313
      archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14314
      # The linker will automatically build a .lib file if we build a DLL.
14315
      old_archive_from_new_cmds_FC='true'
14316
      # FIXME: Should let the user specify the lib program.
14317
      old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14318
      fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14319
      enable_shared_with_static_runtimes_FC=yes
14320
      ;;
14321
 
14322
    darwin* | rhapsody*)
14323
 
14324
 
14325
  archive_cmds_need_lc_FC=no
14326
  hardcode_direct_FC=no
14327
  hardcode_automatic_FC=yes
14328
  hardcode_shlibpath_var_FC=unsupported
14329
  if test "$lt_cv_ld_force_load" = "yes"; then
14330
    whole_archive_flag_spec_FC='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
14331
  else
14332
    whole_archive_flag_spec_FC=''
14333
  fi
14334
  link_all_deplibs_FC=yes
14335
  allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14336
  case $cc_basename in
14337
     ifort*) _lt_dar_can_shared=yes ;;
14338
     *) _lt_dar_can_shared=$GCC ;;
14339
  esac
14340
  if test "$_lt_dar_can_shared" = "yes"; then
14341
    output_verbose_link_cmd=func_echo_all
14342
    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}"
14343
    module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14344
    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}"
14345
    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}"
14346
 
14347
  else
14348
  ld_shlibs_FC=no
14349
  fi
14350
 
14351
      ;;
14352
 
14353
    dgux*)
14354
      archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14355
      hardcode_libdir_flag_spec_FC='-L$libdir'
14356
      hardcode_shlibpath_var_FC=no
14357
      ;;
14358
 
14359
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14360
    # support.  Future versions do this automatically, but an explicit c++rt0.o
14361
    # does not break anything, and helps significantly (at the cost of a little
14362
    # extra space).
14363
    freebsd2.2*)
14364
      archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14365
      hardcode_libdir_flag_spec_FC='-R$libdir'
14366
      hardcode_direct_FC=yes
14367
      hardcode_shlibpath_var_FC=no
14368
      ;;
14369
 
14370
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14371
    freebsd2.*)
14372
      archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14373
      hardcode_direct_FC=yes
14374
      hardcode_minus_L_FC=yes
14375
      hardcode_shlibpath_var_FC=no
14376
      ;;
14377
 
14378
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14379
    freebsd* | dragonfly*)
14380
      archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14381
      hardcode_libdir_flag_spec_FC='-R$libdir'
14382
      hardcode_direct_FC=yes
14383
      hardcode_shlibpath_var_FC=no
14384
      ;;
14385
 
14386
    hpux9*)
14387
      if test "$GCC" = yes; then
14388
        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'
14389
      else
14390
        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'
14391
      fi
14392
      hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14393
      hardcode_libdir_separator_FC=:
14394
      hardcode_direct_FC=yes
14395
 
14396
      # hardcode_minus_L: Not really in the search PATH,
14397
      # but as the default location of the library.
14398
      hardcode_minus_L_FC=yes
14399
      export_dynamic_flag_spec_FC='${wl}-E'
14400
      ;;
14401
 
14402
    hpux10*)
14403
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14404
        archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14405
      else
14406
        archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14407
      fi
14408
      if test "$with_gnu_ld" = no; then
14409
        hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14410
        hardcode_libdir_flag_spec_ld_FC='+b $libdir'
14411
        hardcode_libdir_separator_FC=:
14412
        hardcode_direct_FC=yes
14413
        hardcode_direct_absolute_FC=yes
14414
        export_dynamic_flag_spec_FC='${wl}-E'
14415
        # hardcode_minus_L: Not really in the search PATH,
14416
        # but as the default location of the library.
14417
        hardcode_minus_L_FC=yes
14418
      fi
14419
      ;;
14420
 
14421
    hpux11*)
14422
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14423
        case $host_cpu in
14424
        hppa*64*)
14425
          archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14426
          ;;
14427
        ia64*)
14428
          archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14429
          ;;
14430
        *)
14431
          archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14432
          ;;
14433
        esac
14434
      else
14435
        case $host_cpu in
14436
        hppa*64*)
14437
          archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14438
          ;;
14439
        ia64*)
14440
          archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14441
          ;;
14442
        *)
14443
        archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14444
          ;;
14445
        esac
14446
      fi
14447
      if test "$with_gnu_ld" = no; then
14448
        hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14449
        hardcode_libdir_separator_FC=:
14450
 
14451
        case $host_cpu in
14452
        hppa*64*|ia64*)
14453
          hardcode_direct_FC=no
14454
          hardcode_shlibpath_var_FC=no
14455
          ;;
14456
        *)
14457
          hardcode_direct_FC=yes
14458
          hardcode_direct_absolute_FC=yes
14459
          export_dynamic_flag_spec_FC='${wl}-E'
14460
 
14461
          # hardcode_minus_L: Not really in the search PATH,
14462
          # but as the default location of the library.
14463
          hardcode_minus_L_FC=yes
14464
          ;;
14465
        esac
14466
      fi
14467
      ;;
14468
 
14469
    irix5* | irix6* | nonstopux*)
14470
      if test "$GCC" = yes; then
14471
        archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14472
        # Try to use the -exported_symbol ld option, if it does not
14473
        # work, assume that -exports_file does not work either and
14474
        # implicitly export all symbols.
14475
        save_LDFLAGS="$LDFLAGS"
14476
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14477
        if test x$gcc_no_link = xyes; then
14478
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14479
fi
14480
cat > conftest.$ac_ext <<_ACEOF
14481
int foo(void) {}
14482
_ACEOF
14483
if ac_fn_fc_try_link "$LINENO"; then :
14484
  archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
14485
 
14486
fi
14487
rm -f core conftest.err conftest.$ac_objext \
14488
    conftest$ac_exeext conftest.$ac_ext
14489
        LDFLAGS="$save_LDFLAGS"
14490
      else
14491
        archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14492
        archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
14493
      fi
14494
      archive_cmds_need_lc_FC='no'
14495
      hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14496
      hardcode_libdir_separator_FC=:
14497
      inherit_rpath_FC=yes
14498
      link_all_deplibs_FC=yes
14499
      ;;
14500
 
14501
    netbsd*)
14502
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14503
        archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14504
      else
14505
        archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
14506
      fi
14507
      hardcode_libdir_flag_spec_FC='-R$libdir'
14508
      hardcode_direct_FC=yes
14509
      hardcode_shlibpath_var_FC=no
14510
      ;;
14511
 
14512
    newsos6)
14513
      archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14514
      hardcode_direct_FC=yes
14515
      hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14516
      hardcode_libdir_separator_FC=:
14517
      hardcode_shlibpath_var_FC=no
14518
      ;;
14519
 
14520
    *nto* | *qnx*)
14521
      ;;
14522
 
14523
    openbsd*)
14524
      if test -f /usr/libexec/ld.so; then
14525
        hardcode_direct_FC=yes
14526
        hardcode_shlibpath_var_FC=no
14527
        hardcode_direct_absolute_FC=yes
14528
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14529
          archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14530
          archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14531
          hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14532
          export_dynamic_flag_spec_FC='${wl}-E'
14533
        else
14534
          case $host_os in
14535
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14536
             archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14537
             hardcode_libdir_flag_spec_FC='-R$libdir'
14538
             ;;
14539
           *)
14540
             archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14541
             hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14542
             ;;
14543
          esac
14544
        fi
14545
      else
14546
        ld_shlibs_FC=no
14547
      fi
14548
      ;;
14549
 
14550
    os2*)
14551
      hardcode_libdir_flag_spec_FC='-L$libdir'
14552
      hardcode_minus_L_FC=yes
14553
      allow_undefined_flag_FC=unsupported
14554
      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'
14555
      old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14556
      ;;
14557
 
14558
    osf3*)
14559
      if test "$GCC" = yes; then
14560
        allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14561
        archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14562
      else
14563
        allow_undefined_flag_FC=' -expect_unresolved \*'
14564
        archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14565
      fi
14566
      archive_cmds_need_lc_FC='no'
14567
      hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14568
      hardcode_libdir_separator_FC=:
14569
      ;;
14570
 
14571
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
14572
      if test "$GCC" = yes; then
14573
        allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14574
        archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14575
        hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14576
      else
14577
        allow_undefined_flag_FC=' -expect_unresolved \*'
14578
        archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14579
        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~
14580
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
14581
 
14582
        # Both c and cxx compiler support -rpath directly
14583
        hardcode_libdir_flag_spec_FC='-rpath $libdir'
14584
      fi
14585
      archive_cmds_need_lc_FC='no'
14586
      hardcode_libdir_separator_FC=:
14587
      ;;
14588
 
14589
    solaris*)
14590
      no_undefined_flag_FC=' -z defs'
14591
      if test "$GCC" = yes; then
14592
        wlarc='${wl}'
14593
        archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14594
        archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14595
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14596
      else
14597
        case `$CC -V 2>&1` in
14598
        *"Compilers 5.0"*)
14599
          wlarc=''
14600
          archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14601
          archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14602
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14603
          ;;
14604
        *)
14605
          wlarc='${wl}'
14606
          archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14607
          archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14608
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14609
          ;;
14610
        esac
14611
      fi
14612
      hardcode_libdir_flag_spec_FC='-R$libdir'
14613
      hardcode_shlibpath_var_FC=no
14614
      case $host_os in
14615
      solaris2.[0-5] | solaris2.[0-5].*) ;;
14616
      *)
14617
        # The compiler driver will combine and reorder linker options,
14618
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
14619
        # but is careful enough not to reorder.
14620
        # Supported since Solaris 2.6 (maybe 2.5.1?)
14621
        if test "$GCC" = yes; then
14622
          whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14623
        else
14624
          whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
14625
        fi
14626
        ;;
14627
      esac
14628
      link_all_deplibs_FC=yes
14629
      ;;
14630
 
14631
    sunos4*)
14632
      if test "x$host_vendor" = xsequent; then
14633
        # Use $CC to link under sequent, because it throws in some extra .o
14634
        # files that make .init and .fini sections work.
14635
        archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14636
      else
14637
        archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14638
      fi
14639
      hardcode_libdir_flag_spec_FC='-L$libdir'
14640
      hardcode_direct_FC=yes
14641
      hardcode_minus_L_FC=yes
14642
      hardcode_shlibpath_var_FC=no
14643
      ;;
14644
 
14645
    sysv4)
14646
      case $host_vendor in
14647
        sni)
14648
          archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14649
          hardcode_direct_FC=yes # is this really true???
14650
        ;;
14651
        siemens)
14652
          ## LD is ld it makes a PLAMLIB
14653
          ## CC just makes a GrossModule.
14654
          archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14655
          reload_cmds_FC='$CC -r -o $output$reload_objs'
14656
          hardcode_direct_FC=no
14657
        ;;
14658
        motorola)
14659
          archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14660
          hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
14661
        ;;
14662
      esac
14663
      runpath_var='LD_RUN_PATH'
14664
      hardcode_shlibpath_var_FC=no
14665
      ;;
14666
 
14667
    sysv4.3*)
14668
      archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14669
      hardcode_shlibpath_var_FC=no
14670
      export_dynamic_flag_spec_FC='-Bexport'
14671
      ;;
14672
 
14673
    sysv4*MP*)
14674
      if test -d /usr/nec; then
14675
        archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14676
        hardcode_shlibpath_var_FC=no
14677
        runpath_var=LD_RUN_PATH
14678
        hardcode_runpath_var=yes
14679
        ld_shlibs_FC=yes
14680
      fi
14681
      ;;
14682
 
14683
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14684
      no_undefined_flag_FC='${wl}-z,text'
14685
      archive_cmds_need_lc_FC=no
14686
      hardcode_shlibpath_var_FC=no
14687
      runpath_var='LD_RUN_PATH'
14688
 
14689
      if test "$GCC" = yes; then
14690
        archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14691
        archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14692
      else
14693
        archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14694
        archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14695
      fi
14696
      ;;
14697
 
14698
    sysv5* | sco3.2v5* | sco5v6*)
14699
      # Note: We can NOT use -z defs as we might desire, because we do not
14700
      # link with -lc, and that would cause any symbols used from libc to
14701
      # always be unresolved, which means just about no library would
14702
      # ever link correctly.  If we're not using GNU ld we use -z text
14703
      # though, which does catch some bad symbols but isn't as heavy-handed
14704
      # as -z defs.
14705
      no_undefined_flag_FC='${wl}-z,text'
14706
      allow_undefined_flag_FC='${wl}-z,nodefs'
14707
      archive_cmds_need_lc_FC=no
14708
      hardcode_shlibpath_var_FC=no
14709
      hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
14710
      hardcode_libdir_separator_FC=':'
14711
      link_all_deplibs_FC=yes
14712
      export_dynamic_flag_spec_FC='${wl}-Bexport'
14713
      runpath_var='LD_RUN_PATH'
14714
 
14715
      if test "$GCC" = yes; then
14716
        archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14717
        archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14718
      else
14719
        archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14720
        archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14721
      fi
14722
      ;;
14723
 
14724
    uts4*)
14725
      archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14726
      hardcode_libdir_flag_spec_FC='-L$libdir'
14727
      hardcode_shlibpath_var_FC=no
14728
      ;;
14729
 
14730
    *)
14731
      ld_shlibs_FC=no
14732
      ;;
14733
    esac
14734
 
14735
    if test x$host_vendor = xsni; then
14736
      case $host in
14737
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14738
        export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
14739
        ;;
14740
      esac
14741
    fi
14742
  fi
14743
 
14744
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14745
$as_echo "$ld_shlibs_FC" >&6; }
14746
test "$ld_shlibs_FC" = no && can_build_shared=no
14747
 
14748
with_gnu_ld_FC=$with_gnu_ld
14749
 
14750
 
14751
 
14752
 
14753
 
14754
 
14755
#
14756
# Do we need to explicitly link libc?
14757
#
14758
case "x$archive_cmds_need_lc_FC" in
14759
x|xyes)
14760
  # Assume -lc should be added
14761
  archive_cmds_need_lc_FC=yes
14762
 
14763
  if test "$enable_shared" = yes && test "$GCC" = yes; then
14764
    case $archive_cmds_FC in
14765
    *'~'*)
14766
      # FIXME: we may have to deal with multi-command sequences.
14767
      ;;
14768
    '$CC '*)
14769
      # Test whether the compiler implicitly links with -lc since on some
14770
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14771
      # to ld, don't add -lc before -lgcc.
14772
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14773
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14774
if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14775
  $as_echo_n "(cached) " >&6
14776
else
14777
  $RM conftest*
14778
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14779
 
14780
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14781
  (eval $ac_compile) 2>&5
14782
  ac_status=$?
14783
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14784
  test $ac_status = 0; } 2>conftest.err; then
14785
          soname=conftest
14786
          lib=conftest
14787
          libobjs=conftest.$ac_objext
14788
          deplibs=
14789
          wl=$lt_prog_compiler_wl_FC
14790
          pic_flag=$lt_prog_compiler_pic_FC
14791
          compiler_flags=-v
14792
          linker_flags=-v
14793
          verstring=
14794
          output_objdir=.
14795
          libname=conftest
14796
          lt_save_allow_undefined_flag=$allow_undefined_flag_FC
14797
          allow_undefined_flag_FC=
14798
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14799
  (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14800
  ac_status=$?
14801
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14802
  test $ac_status = 0; }
14803
          then
14804
            lt_cv_archive_cmds_need_lc_FC=no
14805
          else
14806
            lt_cv_archive_cmds_need_lc_FC=yes
14807
          fi
14808
          allow_undefined_flag_FC=$lt_save_allow_undefined_flag
14809
        else
14810
          cat conftest.err 1>&5
14811
        fi
14812
        $RM conftest*
14813
 
14814
fi
14815
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14816
$as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14817
      archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
14818
      ;;
14819
    esac
14820
  fi
14821
  ;;
14822
esac
14823
 
14824
 
14825
 
14826
 
14827
 
14828
 
14829
 
14830
 
14831
 
14832
 
14833
 
14834
 
14835
 
14836
 
14837
 
14838
 
14839
 
14840
 
14841
 
14842
 
14843
 
14844
 
14845
 
14846
 
14847
 
14848
 
14849
 
14850
 
14851
 
14852
 
14853
 
14854
 
14855
 
14856
 
14857
 
14858
 
14859
 
14860
 
14861
 
14862
 
14863
 
14864
 
14865
 
14866
 
14867
 
14868
 
14869
 
14870
 
14871
 
14872
 
14873
 
14874
 
14875
 
14876
 
14877
 
14878
 
14879
 
14880
 
14881
 
14882
 
14883
 
14884
 
14885
 
14886
 
14887
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14888
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14889
 
14890
library_names_spec=
14891
libname_spec='lib$name'
14892
soname_spec=
14893
shrext_cmds=".so"
14894
postinstall_cmds=
14895
postuninstall_cmds=
14896
finish_cmds=
14897
finish_eval=
14898
shlibpath_var=
14899
shlibpath_overrides_runpath=unknown
14900
version_type=none
14901
dynamic_linker="$host_os ld.so"
14902
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14903
need_lib_prefix=unknown
14904
hardcode_into_libs=no
14905
 
14906
# when you set need_version to no, make sure it does not cause -set_version
14907
# flags to be left without arguments
14908
need_version=unknown
14909
 
14910
case $host_os in
14911
aix3*)
14912
  version_type=linux
14913
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14914
  shlibpath_var=LIBPATH
14915
 
14916
  # AIX 3 has no versioning support, so we append a major version to the name.
14917
  soname_spec='${libname}${release}${shared_ext}$major'
14918
  ;;
14919
 
14920
aix[4-9]*)
14921
  version_type=linux
14922
  need_lib_prefix=no
14923
  need_version=no
14924
  hardcode_into_libs=yes
14925
  if test "$host_cpu" = ia64; then
14926
    # AIX 5 supports IA64
14927
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14928
    shlibpath_var=LD_LIBRARY_PATH
14929
  else
14930
    # With GCC up to 2.95.x, collect2 would create an import file
14931
    # for dependence libraries.  The import file would start with
14932
    # the line `#! .'.  This would cause the generated library to
14933
    # depend on `.', always an invalid library.  This was fixed in
14934
    # development snapshots of GCC prior to 3.0.
14935
    case $host_os in
14936
      aix4 | aix4.[01] | aix4.[01].*)
14937
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14938
           echo ' yes '
14939
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14940
        :
14941
      else
14942
        can_build_shared=no
14943
      fi
14944
      ;;
14945
    esac
14946
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14947
    # soname into executable. Probably we can add versioning support to
14948
    # collect2, so additional links can be useful in future.
14949
    if test "$aix_use_runtimelinking" = yes; then
14950
      # If using run time linking (on AIX 4.2 or later) use lib.so
14951
      # instead of lib.a to let people know that these are not
14952
      # typical AIX shared libraries.
14953
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14954
    else
14955
      # We preserve .a as extension for shared libraries through AIX4.2
14956
      # and later when we are not doing run time linking.
14957
      library_names_spec='${libname}${release}.a $libname.a'
14958
      soname_spec='${libname}${release}${shared_ext}$major'
14959
    fi
14960
    shlibpath_var=LIBPATH
14961
  fi
14962
  ;;
14963
 
14964
amigaos*)
14965
  case $host_cpu in
14966
  powerpc)
14967
    # Since July 2007 AmigaOS4 officially supports .so libraries.
14968
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14969
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14970
    ;;
14971
  m68k)
14972
    library_names_spec='$libname.ixlibrary $libname.a'
14973
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
14974
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14975
    ;;
14976
  esac
14977
  ;;
14978
 
14979
beos*)
14980
  library_names_spec='${libname}${shared_ext}'
14981
  dynamic_linker="$host_os ld.so"
14982
  shlibpath_var=LIBRARY_PATH
14983
  ;;
14984
 
14985
bsdi[45]*)
14986
  version_type=linux
14987
  need_version=no
14988
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14989
  soname_spec='${libname}${release}${shared_ext}$major'
14990
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14991
  shlibpath_var=LD_LIBRARY_PATH
14992
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14993
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14994
  # the default ld.so.conf also contains /usr/contrib/lib and
14995
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14996
  # libtool to hard-code these into programs
14997
  ;;
14998
 
14999
cygwin* | mingw* | pw32* | cegcc*)
15000
  version_type=windows
15001
  shrext_cmds=".dll"
15002
  need_version=no
15003
  need_lib_prefix=no
15004
 
15005
  case $GCC,$host_os in
15006
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15007
    library_names_spec='$libname.dll.a'
15008
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15009
    postinstall_cmds='base_file=`basename \${file}`~
15010
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15011
      dldir=$destdir/`dirname \$dlpath`~
15012
      test -d \$dldir || mkdir -p \$dldir~
15013
      $install_prog $dir/$dlname \$dldir/$dlname~
15014
      chmod a+x \$dldir/$dlname~
15015
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15016
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15017
      fi'
15018
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15019
      dlpath=$dir/\$dldll~
15020
       $RM \$dlpath'
15021
    shlibpath_overrides_runpath=yes
15022
 
15023
    case $host_os in
15024
    cygwin*)
15025
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15026
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15027
 
15028
      ;;
15029
    mingw* | cegcc*)
15030
      # MinGW DLLs use traditional 'lib' prefix
15031
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15032
      ;;
15033
    pw32*)
15034
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15035
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15036
      ;;
15037
    esac
15038
    ;;
15039
 
15040
  *)
15041
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15042
    ;;
15043
  esac
15044
  dynamic_linker='Win32 ld.exe'
15045
  # FIXME: first we should search . and the directory the executable is in
15046
  shlibpath_var=PATH
15047
  ;;
15048
 
15049
darwin* | rhapsody*)
15050
  dynamic_linker="$host_os dyld"
15051
  version_type=darwin
15052
  need_lib_prefix=no
15053
  need_version=no
15054
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15055
  soname_spec='${libname}${release}${major}$shared_ext'
15056
  shlibpath_overrides_runpath=yes
15057
  shlibpath_var=DYLD_LIBRARY_PATH
15058
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15059
 
15060
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15061
  ;;
15062
 
15063
dgux*)
15064
  version_type=linux
15065
  need_lib_prefix=no
15066
  need_version=no
15067
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15068
  soname_spec='${libname}${release}${shared_ext}$major'
15069
  shlibpath_var=LD_LIBRARY_PATH
15070
  ;;
15071
 
15072
freebsd* | dragonfly*)
15073
  # DragonFly does not have aout.  When/if they implement a new
15074
  # versioning mechanism, adjust this.
15075
  if test -x /usr/bin/objformat; then
15076
    objformat=`/usr/bin/objformat`
15077
  else
15078
    case $host_os in
15079
    freebsd[23].*) objformat=aout ;;
15080
    *) objformat=elf ;;
15081
    esac
15082
  fi
15083
  version_type=freebsd-$objformat
15084
  case $version_type in
15085
    freebsd-elf*)
15086
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15087
      need_version=no
15088
      need_lib_prefix=no
15089
      ;;
15090
    freebsd-*)
15091
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15092
      need_version=yes
15093
      ;;
15094
  esac
15095
  shlibpath_var=LD_LIBRARY_PATH
15096
  case $host_os in
15097
  freebsd2.*)
15098
    shlibpath_overrides_runpath=yes
15099
    ;;
15100
  freebsd3.[01]* | freebsdelf3.[01]*)
15101
    shlibpath_overrides_runpath=yes
15102
    hardcode_into_libs=yes
15103
    ;;
15104
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15105
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15106
    shlibpath_overrides_runpath=no
15107
    hardcode_into_libs=yes
15108
    ;;
15109
  *) # from 4.6 on, and DragonFly
15110
    shlibpath_overrides_runpath=yes
15111
    hardcode_into_libs=yes
15112
    ;;
15113
  esac
15114
  ;;
15115
 
15116
gnu*)
15117
  version_type=linux
15118
  need_lib_prefix=no
15119
  need_version=no
15120
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15121
  soname_spec='${libname}${release}${shared_ext}$major'
15122
  shlibpath_var=LD_LIBRARY_PATH
15123
  hardcode_into_libs=yes
15124
  ;;
15125
 
15126
haiku*)
15127
  version_type=linux
15128
  need_lib_prefix=no
15129
  need_version=no
15130
  dynamic_linker="$host_os runtime_loader"
15131
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15132
  soname_spec='${libname}${release}${shared_ext}$major'
15133
  shlibpath_var=LIBRARY_PATH
15134
  shlibpath_overrides_runpath=yes
15135
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15136
  hardcode_into_libs=yes
15137
  ;;
15138
 
15139
hpux9* | hpux10* | hpux11*)
15140
  # Give a soname corresponding to the major version so that dld.sl refuses to
15141
  # link against other versions.
15142
  version_type=sunos
15143
  need_lib_prefix=no
15144
  need_version=no
15145
  case $host_cpu in
15146
  ia64*)
15147
    shrext_cmds='.so'
15148
    hardcode_into_libs=yes
15149
    dynamic_linker="$host_os dld.so"
15150
    shlibpath_var=LD_LIBRARY_PATH
15151
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15152
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15153
    soname_spec='${libname}${release}${shared_ext}$major'
15154
    if test "X$HPUX_IA64_MODE" = X32; then
15155
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15156
    else
15157
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15158
    fi
15159
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15160
    ;;
15161
  hppa*64*)
15162
    shrext_cmds='.sl'
15163
    hardcode_into_libs=yes
15164
    dynamic_linker="$host_os dld.sl"
15165
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15166
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15167
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15168
    soname_spec='${libname}${release}${shared_ext}$major'
15169
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15170
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15171
    ;;
15172
  *)
15173
    shrext_cmds='.sl'
15174
    dynamic_linker="$host_os dld.sl"
15175
    shlibpath_var=SHLIB_PATH
15176
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15177
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15178
    soname_spec='${libname}${release}${shared_ext}$major'
15179
    ;;
15180
  esac
15181
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15182
  postinstall_cmds='chmod 555 $lib'
15183
  # or fails outright, so override atomically:
15184
  install_override_mode=555
15185
  ;;
15186
 
15187
interix[3-9]*)
15188
  version_type=linux
15189
  need_lib_prefix=no
15190
  need_version=no
15191
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15192
  soname_spec='${libname}${release}${shared_ext}$major'
15193
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15194
  shlibpath_var=LD_LIBRARY_PATH
15195
  shlibpath_overrides_runpath=no
15196
  hardcode_into_libs=yes
15197
  ;;
15198
 
15199
irix5* | irix6* | nonstopux*)
15200
  case $host_os in
15201
    nonstopux*) version_type=nonstopux ;;
15202
    *)
15203
        if test "$lt_cv_prog_gnu_ld" = yes; then
15204
                version_type=linux
15205
        else
15206
                version_type=irix
15207
        fi ;;
15208
  esac
15209
  need_lib_prefix=no
15210
  need_version=no
15211
  soname_spec='${libname}${release}${shared_ext}$major'
15212
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15213
  case $host_os in
15214
  irix5* | nonstopux*)
15215
    libsuff= shlibsuff=
15216
    ;;
15217
  *)
15218
    case $LD in # libtool.m4 will add one of these switches to LD
15219
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15220
      libsuff= shlibsuff= libmagic=32-bit;;
15221
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15222
      libsuff=32 shlibsuff=N32 libmagic=N32;;
15223
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15224
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15225
    *) libsuff= shlibsuff= libmagic=never-match;;
15226
    esac
15227
    ;;
15228
  esac
15229
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15230
  shlibpath_overrides_runpath=no
15231
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15232
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15233
  hardcode_into_libs=yes
15234
  ;;
15235
 
15236
# No shared lib support for Linux oldld, aout, or coff.
15237
linux*oldld* | linux*aout* | linux*coff*)
15238
  dynamic_linker=no
15239
  ;;
15240
 
15241
# This must be Linux ELF.
15242
linux* | k*bsd*-gnu | kopensolaris*-gnu)
15243
  version_type=linux
15244
  need_lib_prefix=no
15245
  need_version=no
15246
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15247
  soname_spec='${libname}${release}${shared_ext}$major'
15248
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15249
  shlibpath_var=LD_LIBRARY_PATH
15250
  shlibpath_overrides_runpath=no
15251
 
15252
  # Some binutils ld are patched to set DT_RUNPATH
15253
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15254
  $as_echo_n "(cached) " >&6
15255
else
15256
  lt_cv_shlibpath_overrides_runpath=no
15257
    save_LDFLAGS=$LDFLAGS
15258
    save_libdir=$libdir
15259
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15260
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15261
    if test x$gcc_no_link = xyes; then
15262
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15263
fi
15264
cat > conftest.$ac_ext <<_ACEOF
15265
      program main
15266
 
15267
      end
15268
_ACEOF
15269
if ac_fn_fc_try_link "$LINENO"; then :
15270
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15271
  lt_cv_shlibpath_overrides_runpath=yes
15272
fi
15273
fi
15274
rm -f core conftest.err conftest.$ac_objext \
15275
    conftest$ac_exeext conftest.$ac_ext
15276
    LDFLAGS=$save_LDFLAGS
15277
    libdir=$save_libdir
15278
 
15279
fi
15280
 
15281
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15282
 
15283
  # This implies no fast_install, which is unacceptable.
15284
  # Some rework will be needed to allow for fast_install
15285
  # before this can be enabled.
15286
  hardcode_into_libs=yes
15287
 
15288
  # Append ld.so.conf contents to the search path
15289
  if test -f /etc/ld.so.conf; then
15290
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
15291
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15292
  fi
15293
 
15294
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15295
  # powerpc, because MkLinux only supported shared libraries with the
15296
  # GNU dynamic linker.  Since this was broken with cross compilers,
15297
  # most powerpc-linux boxes support dynamic linking these days and
15298
  # people can always --disable-shared, the test was removed, and we
15299
  # assume the GNU/Linux dynamic linker is in use.
15300
  dynamic_linker='GNU/Linux ld.so'
15301
  ;;
15302
 
15303
netbsd*)
15304
  version_type=sunos
15305
  need_lib_prefix=no
15306
  need_version=no
15307
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15308
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15309
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15310
    dynamic_linker='NetBSD (a.out) ld.so'
15311
  else
15312
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15313
    soname_spec='${libname}${release}${shared_ext}$major'
15314
    dynamic_linker='NetBSD ld.elf_so'
15315
  fi
15316
  shlibpath_var=LD_LIBRARY_PATH
15317
  shlibpath_overrides_runpath=yes
15318
  hardcode_into_libs=yes
15319
  ;;
15320
 
15321
newsos6)
15322
  version_type=linux
15323
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15324
  shlibpath_var=LD_LIBRARY_PATH
15325
  shlibpath_overrides_runpath=yes
15326
  ;;
15327
 
15328
*nto* | *qnx*)
15329
  version_type=qnx
15330
  need_lib_prefix=no
15331
  need_version=no
15332
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15333
  soname_spec='${libname}${release}${shared_ext}$major'
15334
  shlibpath_var=LD_LIBRARY_PATH
15335
  shlibpath_overrides_runpath=no
15336
  hardcode_into_libs=yes
15337
  dynamic_linker='ldqnx.so'
15338
  ;;
15339
 
15340
openbsd*)
15341
  version_type=sunos
15342
  sys_lib_dlsearch_path_spec="/usr/lib"
15343
  need_lib_prefix=no
15344
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15345
  case $host_os in
15346
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
15347
    *)                          need_version=no  ;;
15348
  esac
15349
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15350
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15351
  shlibpath_var=LD_LIBRARY_PATH
15352
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15353
    case $host_os in
15354
      openbsd2.[89] | openbsd2.[89].*)
15355
        shlibpath_overrides_runpath=no
15356
        ;;
15357
      *)
15358
        shlibpath_overrides_runpath=yes
15359
        ;;
15360
      esac
15361
  else
15362
    shlibpath_overrides_runpath=yes
15363
  fi
15364
  ;;
15365
 
15366
os2*)
15367
  libname_spec='$name'
15368
  shrext_cmds=".dll"
15369
  need_lib_prefix=no
15370
  library_names_spec='$libname${shared_ext} $libname.a'
15371
  dynamic_linker='OS/2 ld.exe'
15372
  shlibpath_var=LIBPATH
15373
  ;;
15374
 
15375
osf3* | osf4* | osf5*)
15376
  version_type=osf
15377
  need_lib_prefix=no
15378
  need_version=no
15379
  soname_spec='${libname}${release}${shared_ext}$major'
15380
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15381
  shlibpath_var=LD_LIBRARY_PATH
15382
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15383
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15384
  ;;
15385
 
15386
rdos*)
15387
  dynamic_linker=no
15388
  ;;
15389
 
15390
solaris*)
15391
  version_type=linux
15392
  need_lib_prefix=no
15393
  need_version=no
15394
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15395
  soname_spec='${libname}${release}${shared_ext}$major'
15396
  shlibpath_var=LD_LIBRARY_PATH
15397
  shlibpath_overrides_runpath=yes
15398
  hardcode_into_libs=yes
15399
  # ldd complains unless libraries are executable
15400
  postinstall_cmds='chmod +x $lib'
15401
  ;;
15402
 
15403
sunos4*)
15404
  version_type=sunos
15405
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15406
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15407
  shlibpath_var=LD_LIBRARY_PATH
15408
  shlibpath_overrides_runpath=yes
15409
  if test "$with_gnu_ld" = yes; then
15410
    need_lib_prefix=no
15411
  fi
15412
  need_version=yes
15413
  ;;
15414
 
15415
sysv4 | sysv4.3*)
15416
  version_type=linux
15417
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15418
  soname_spec='${libname}${release}${shared_ext}$major'
15419
  shlibpath_var=LD_LIBRARY_PATH
15420
  case $host_vendor in
15421
    sni)
15422
      shlibpath_overrides_runpath=no
15423
      need_lib_prefix=no
15424
      runpath_var=LD_RUN_PATH
15425
      ;;
15426
    siemens)
15427
      need_lib_prefix=no
15428
      ;;
15429
    motorola)
15430
      need_lib_prefix=no
15431
      need_version=no
15432
      shlibpath_overrides_runpath=no
15433
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15434
      ;;
15435
  esac
15436
  ;;
15437
 
15438
sysv4*MP*)
15439
  if test -d /usr/nec ;then
15440
    version_type=linux
15441
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15442
    soname_spec='$libname${shared_ext}.$major'
15443
    shlibpath_var=LD_LIBRARY_PATH
15444
  fi
15445
  ;;
15446
 
15447
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15448
  version_type=freebsd-elf
15449
  need_lib_prefix=no
15450
  need_version=no
15451
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15452
  soname_spec='${libname}${release}${shared_ext}$major'
15453
  shlibpath_var=LD_LIBRARY_PATH
15454
  shlibpath_overrides_runpath=yes
15455
  hardcode_into_libs=yes
15456
  if test "$with_gnu_ld" = yes; then
15457
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15458
  else
15459
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15460
    case $host_os in
15461
      sco3.2v5*)
15462
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15463
        ;;
15464
    esac
15465
  fi
15466
  sys_lib_dlsearch_path_spec='/usr/lib'
15467
  ;;
15468
 
15469
tpf*)
15470
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15471
  version_type=linux
15472
  need_lib_prefix=no
15473
  need_version=no
15474
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15475
  shlibpath_var=LD_LIBRARY_PATH
15476
  shlibpath_overrides_runpath=no
15477
  hardcode_into_libs=yes
15478
  ;;
15479
 
15480
uts4*)
15481
  version_type=linux
15482
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15483
  soname_spec='${libname}${release}${shared_ext}$major'
15484
  shlibpath_var=LD_LIBRARY_PATH
15485
  ;;
15486
 
15487
*)
15488
  dynamic_linker=no
15489
  ;;
15490
esac
15491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15492
$as_echo "$dynamic_linker" >&6; }
15493
test "$dynamic_linker" = no && can_build_shared=no
15494
 
15495
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15496
if test "$GCC" = yes; then
15497
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15498
fi
15499
 
15500
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15501
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15502
fi
15503
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15504
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15505
fi
15506
 
15507
 
15508
 
15509
 
15510
 
15511
 
15512
 
15513
 
15514
 
15515
 
15516
 
15517
 
15518
 
15519
 
15520
 
15521
 
15522
 
15523
 
15524
 
15525
 
15526
 
15527
 
15528
 
15529
 
15530
 
15531
 
15532
 
15533
 
15534
 
15535
 
15536
 
15537
 
15538
 
15539
 
15540
 
15541
 
15542
 
15543
 
15544
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15545
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15546
hardcode_action_FC=
15547
if test -n "$hardcode_libdir_flag_spec_FC" ||
15548
   test -n "$runpath_var_FC" ||
15549
   test "X$hardcode_automatic_FC" = "Xyes" ; then
15550
 
15551
  # We can hardcode non-existent directories.
15552
  if test "$hardcode_direct_FC" != no &&
15553
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15554
     # have to relink, otherwise we might link with an installed library
15555
     # when we should be linking with a yet-to-be-installed one
15556
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15557
     test "$hardcode_minus_L_FC" != no; then
15558
    # Linking always hardcodes the temporary library directory.
15559
    hardcode_action_FC=relink
15560
  else
15561
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15562
    hardcode_action_FC=immediate
15563
  fi
15564
else
15565
  # We cannot hardcode anything, or else we can only hardcode existing
15566
  # directories.
15567
  hardcode_action_FC=unsupported
15568
fi
15569
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15570
$as_echo "$hardcode_action_FC" >&6; }
15571
 
15572
if test "$hardcode_action_FC" = relink ||
15573
   test "$inherit_rpath_FC" = yes; then
15574
  # Fast installation is not supported
15575
  enable_fast_install=no
15576
elif test "$shlibpath_overrides_runpath" = yes ||
15577
     test "$enable_shared" = no; then
15578
  # Fast installation is not necessary
15579
  enable_fast_install=needless
15580
fi
15581
 
15582
 
15583
 
15584
 
15585
 
15586
 
15587
 
15588
  fi # test -n "$compiler"
15589
 
15590
  GCC=$lt_save_GCC
15591
  CC="$lt_save_CC"
15592
fi # test "$_lt_disable_FC" != yes
15593
 
15594
ac_ext=c
15595
ac_cpp='$CPP $CPPFLAGS'
15596
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15597
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15598
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15599
 
15600
 
15601
 
15602
# extra LD Flags which are required for targets
15603
case "${host}" in
15604
  *-darwin*)
15605
    # Darwin needs -single_module when linking libgfortran
15606
    extra_ldflags_libgfortran=-Wl,-single_module
15607
    ;;
15608
esac
15609
 
15610
 
15611
# We need a working compiler at that point, otherwise give a clear
15612
# error message and bail out.
15613
 
15614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15615
$as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15616
ac_ext=${ac_fc_srcext-f}
15617
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15618
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15619
ac_compiler_gnu=$ac_cv_fc_compiler_gnu
15620
 
15621
cat > conftest.$ac_ext <<_ACEOF
15622
 
15623
      program foo
15624
      real, parameter :: bar = sin (12.34 / 2.5)
15625
      end program foo
15626
_ACEOF
15627
if ac_fn_fc_try_compile "$LINENO"; then :
15628
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15629
$as_echo "yes" >&6; }
15630
else
15631
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15632
$as_echo "no" >&6; }
15633
     as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15634
 
15635
fi
15636
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15637
ac_ext=c
15638
ac_cpp='$CPP $CPPFLAGS'
15639
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15640
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15641
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15642
 
15643
 
15644
 
15645
# Check whether --enable-largefile was given.
15646
if test "${enable_largefile+set}" = set; then :
15647
  enableval=$enable_largefile;
15648
fi
15649
 
15650
if test "$enable_largefile" != no; then
15651
 
15652
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15653
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15654
if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15655
  $as_echo_n "(cached) " >&6
15656
else
15657
  ac_cv_sys_largefile_CC=no
15658
     if test "$GCC" != yes; then
15659
       ac_save_CC=$CC
15660
       while :; do
15661
         # IRIX 6.2 and later do not support large files by default,
15662
         # so use the C compiler's -n32 option if that helps.
15663
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15664
/* end confdefs.h.  */
15665
#include 
15666
 /* Check that off_t can represent 2**63 - 1 correctly.
15667
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
15668
    since some C++ compilers masquerading as C compilers
15669
    incorrectly reject 9223372036854775807.  */
15670
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15671
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15672
                       && LARGE_OFF_T % 2147483647 == 1)
15673
                      ? 1 : -1];
15674
int
15675
main ()
15676
{
15677
 
15678
  ;
15679
  return 0;
15680
}
15681
_ACEOF
15682
         if ac_fn_c_try_compile "$LINENO"; then :
15683
  break
15684
fi
15685
rm -f core conftest.err conftest.$ac_objext
15686
         CC="$CC -n32"
15687
         if ac_fn_c_try_compile "$LINENO"; then :
15688
  ac_cv_sys_largefile_CC=' -n32'; break
15689
fi
15690
rm -f core conftest.err conftest.$ac_objext
15691
         break
15692
       done
15693
       CC=$ac_save_CC
15694
       rm -f conftest.$ac_ext
15695
    fi
15696
fi
15697
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15698
$as_echo "$ac_cv_sys_largefile_CC" >&6; }
15699
  if test "$ac_cv_sys_largefile_CC" != no; then
15700
    CC=$CC$ac_cv_sys_largefile_CC
15701
  fi
15702
 
15703
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15704
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15705
if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15706
  $as_echo_n "(cached) " >&6
15707
else
15708
  while :; do
15709
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15710
/* end confdefs.h.  */
15711
#include 
15712
 /* Check that off_t can represent 2**63 - 1 correctly.
15713
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
15714
    since some C++ compilers masquerading as C compilers
15715
    incorrectly reject 9223372036854775807.  */
15716
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15717
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15718
                       && LARGE_OFF_T % 2147483647 == 1)
15719
                      ? 1 : -1];
15720
int
15721
main ()
15722
{
15723
 
15724
  ;
15725
  return 0;
15726
}
15727
_ACEOF
15728
if ac_fn_c_try_compile "$LINENO"; then :
15729
  ac_cv_sys_file_offset_bits=no; break
15730
fi
15731
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15732
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15733
/* end confdefs.h.  */
15734
#define _FILE_OFFSET_BITS 64
15735
#include 
15736
 /* Check that off_t can represent 2**63 - 1 correctly.
15737
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
15738
    since some C++ compilers masquerading as C compilers
15739
    incorrectly reject 9223372036854775807.  */
15740
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15741
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15742
                       && LARGE_OFF_T % 2147483647 == 1)
15743
                      ? 1 : -1];
15744
int
15745
main ()
15746
{
15747
 
15748
  ;
15749
  return 0;
15750
}
15751
_ACEOF
15752
if ac_fn_c_try_compile "$LINENO"; then :
15753
  ac_cv_sys_file_offset_bits=64; break
15754
fi
15755
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15756
  ac_cv_sys_file_offset_bits=unknown
15757
  break
15758
done
15759
fi
15760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15761
$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15762
case $ac_cv_sys_file_offset_bits in #(
15763
  no | unknown) ;;
15764
  *)
15765
cat >>confdefs.h <<_ACEOF
15766
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15767
_ACEOF
15768
;;
15769
esac
15770
rm -rf conftest*
15771
  if test $ac_cv_sys_file_offset_bits = unknown; then
15772
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15773
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15774
if test "${ac_cv_sys_large_files+set}" = set; then :
15775
  $as_echo_n "(cached) " >&6
15776
else
15777
  while :; do
15778
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15779
/* end confdefs.h.  */
15780
#include 
15781
 /* Check that off_t can represent 2**63 - 1 correctly.
15782
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
15783
    since some C++ compilers masquerading as C compilers
15784
    incorrectly reject 9223372036854775807.  */
15785
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15786
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15787
                       && LARGE_OFF_T % 2147483647 == 1)
15788
                      ? 1 : -1];
15789
int
15790
main ()
15791
{
15792
 
15793
  ;
15794
  return 0;
15795
}
15796
_ACEOF
15797
if ac_fn_c_try_compile "$LINENO"; then :
15798
  ac_cv_sys_large_files=no; break
15799
fi
15800
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15801
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15802
/* end confdefs.h.  */
15803
#define _LARGE_FILES 1
15804
#include 
15805
 /* Check that off_t can represent 2**63 - 1 correctly.
15806
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
15807
    since some C++ compilers masquerading as C compilers
15808
    incorrectly reject 9223372036854775807.  */
15809
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15810
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15811
                       && LARGE_OFF_T % 2147483647 == 1)
15812
                      ? 1 : -1];
15813
int
15814
main ()
15815
{
15816
 
15817
  ;
15818
  return 0;
15819
}
15820
_ACEOF
15821
if ac_fn_c_try_compile "$LINENO"; then :
15822
  ac_cv_sys_large_files=1; break
15823
fi
15824
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15825
  ac_cv_sys_large_files=unknown
15826
  break
15827
done
15828
fi
15829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15830
$as_echo "$ac_cv_sys_large_files" >&6; }
15831
case $ac_cv_sys_large_files in #(
15832
  no | unknown) ;;
15833
  *)
15834
cat >>confdefs.h <<_ACEOF
15835
#define _LARGE_FILES $ac_cv_sys_large_files
15836
_ACEOF
15837
;;
15838
esac
15839
rm -rf conftest*
15840
  fi
15841
fi
15842
 
15843
 
15844
# Types
15845
ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15846
if test "x$ac_cv_type_off_t" = x""yes; then :
15847
 
15848
else
15849
 
15850
cat >>confdefs.h <<_ACEOF
15851
#define off_t long int
15852
_ACEOF
15853
 
15854
fi
15855
 
15856
 
15857
  ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15858
if test "x$ac_cv_type_intptr_t" = x""yes; then :
15859
 
15860
$as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15861
 
15862
else
15863
  for ac_type in 'int' 'long int' 'long long int'; do
15864
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15865
/* end confdefs.h.  */
15866
$ac_includes_default
15867
int
15868
main ()
15869
{
15870
static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15871
test_array [0] = 0
15872
 
15873
  ;
15874
  return 0;
15875
}
15876
_ACEOF
15877
if ac_fn_c_try_compile "$LINENO"; then :
15878
 
15879
cat >>confdefs.h <<_ACEOF
15880
#define intptr_t $ac_type
15881
_ACEOF
15882
 
15883
          ac_type=
15884
fi
15885
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15886
       test -z "$ac_type" && break
15887
     done
15888
fi
15889
 
15890
 
15891
 
15892
  ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15893
if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15894
 
15895
$as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15896
 
15897
else
15898
  for ac_type in 'unsigned int' 'unsigned long int' \
15899
        'unsigned long long int'; do
15900
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15901
/* end confdefs.h.  */
15902
$ac_includes_default
15903
int
15904
main ()
15905
{
15906
static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15907
test_array [0] = 0
15908
 
15909
  ;
15910
  return 0;
15911
}
15912
_ACEOF
15913
if ac_fn_c_try_compile "$LINENO"; then :
15914
 
15915
cat >>confdefs.h <<_ACEOF
15916
#define uintptr_t $ac_type
15917
_ACEOF
15918
 
15919
          ac_type=
15920
fi
15921
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15922
       test -z "$ac_type" && break
15923
     done
15924
fi
15925
 
15926
 
15927
ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15928
if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
15929
 
15930
cat >>confdefs.h <<_ACEOF
15931
#define HAVE_PTRDIFF_T 1
15932
_ACEOF
15933
 
15934
 
15935
fi
15936
 
15937
 
15938
# check header files (we assume C89 is available, so don't check for that)
15939
 
15940
 
15941
 
15942
  for ac_header in $ac_header_list
15943
do :
15944
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15945
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15946
"
15947
eval as_val=\$$as_ac_Header
15948
   if test "x$as_val" = x""yes; then :
15949
  cat >>confdefs.h <<_ACEOF
15950
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15951
_ACEOF
15952
 
15953
fi
15954
 
15955
done
15956
 
15957
 
15958
 
15959
 
15960
 
15961
 
15962
 
15963
 
15964
 
15965
 
15966
 
15967
 
15968
 
15969
 
15970
 
15971
 
15972
 
15973
 
15974
 
15975
 
15976
 
15977
 
15978
 
15979
 
15980
 
15981
 
15982
 
15983
 
15984
 
15985
 
15986
 
15987
inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
15988
 
15989
acx_cv_header_stdint=stddef.h
15990
acx_cv_header_stdint_kind="(already complete)"
15991
for i in stdint.h $inttype_headers; do
15992
  unset ac_cv_type_uintptr_t
15993
  unset ac_cv_type_uintmax_t
15994
  unset ac_cv_type_int_least32_t
15995
  unset ac_cv_type_int_fast32_t
15996
  unset ac_cv_type_uint64_t
15997
  $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15998
  ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include 
15999
#include <$i>
16000
"
16001
if test "x$ac_cv_type_uintmax_t" = x""yes; then :
16002
  acx_cv_header_stdint=$i
16003
else
16004
  continue
16005
fi
16006
 
16007
  ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include 
16008
#include <$i>
16009
"
16010
if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16011
 
16012
else
16013
  acx_cv_header_stdint_kind="(mostly complete)"
16014
fi
16015
 
16016
  ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include 
16017
#include <$i>
16018
"
16019
if test "x$ac_cv_type_int_least32_t" = x""yes; then :
16020
 
16021
else
16022
  acx_cv_header_stdint_kind="(mostly complete)"
16023
fi
16024
 
16025
  ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include 
16026
#include <$i>
16027
"
16028
if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
16029
 
16030
else
16031
  acx_cv_header_stdint_kind="(mostly complete)"
16032
fi
16033
 
16034
  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include 
16035
#include <$i>
16036
"
16037
if test "x$ac_cv_type_uint64_t" = x""yes; then :
16038
 
16039
else
16040
  acx_cv_header_stdint_kind="(lacks uint64_t)"
16041
fi
16042
 
16043
  break
16044
done
16045
if test "$acx_cv_header_stdint" = stddef.h; then
16046
  acx_cv_header_stdint_kind="(lacks uintmax_t)"
16047
  for i in stdint.h $inttype_headers; do
16048
    unset ac_cv_type_uintptr_t
16049
    unset ac_cv_type_uint32_t
16050
    unset ac_cv_type_uint64_t
16051
    $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16052
    ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include 
16053
#include <$i>
16054
"
16055
if test "x$ac_cv_type_uint32_t" = x""yes; then :
16056
  acx_cv_header_stdint=$i
16057
else
16058
  continue
16059
fi
16060
 
16061
    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include 
16062
#include <$i>
16063
"
16064
if test "x$ac_cv_type_uint64_t" = x""yes; then :
16065
 
16066
fi
16067
 
16068
    ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include 
16069
#include <$i>
16070
"
16071
if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16072
 
16073
fi
16074
 
16075
    break
16076
  done
16077
fi
16078
if test "$acx_cv_header_stdint" = stddef.h; then
16079
  acx_cv_header_stdint_kind="(u_intXX_t style)"
16080
  for i in sys/types.h $inttype_headers; do
16081
    unset ac_cv_type_u_int32_t
16082
    unset ac_cv_type_u_int64_t
16083
    $as_echo_n "looking for u_intXX_t types in $i, " >&6
16084
    ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include 
16085
#include <$i>
16086
"
16087
if test "x$ac_cv_type_u_int32_t" = x""yes; then :
16088
  acx_cv_header_stdint=$i
16089
else
16090
  continue
16091
fi
16092
 
16093
    ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include 
16094
#include <$i>
16095
"
16096
if test "x$ac_cv_type_u_int64_t" = x""yes; then :
16097
 
16098
fi
16099
 
16100
    break
16101
  done
16102
fi
16103
if test "$acx_cv_header_stdint" = stddef.h; then
16104
  acx_cv_header_stdint_kind="(using manual detection)"
16105
fi
16106
 
16107
test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16108
test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16109
test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16110
test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16111
test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16112
 
16113
# ----------------- Summarize what we found so far
16114
 
16115
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16116
$as_echo_n "checking what to include in gstdint.h... " >&6; }
16117
 
16118
case `$as_basename -- gstdint.h ||
16119
$as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16120
         Xgstdint.h : 'X\(//\)$' \| \
16121
         Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16122
$as_echo X/gstdint.h |
16123
    sed '/^.*\/\([^/][^/]*\)\/*$/{
16124
            s//\1/
16125
            q
16126
          }
16127
          /^X\/\(\/\/\)$/{
16128
            s//\1/
16129
            q
16130
          }
16131
          /^X\/\(\/\).*/{
16132
            s//\1/
16133
            q
16134
          }
16135
          s/.*/./; q'` in
16136
  stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16137
$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16138
  inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16139
$as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16140
  *) ;;
16141
esac
16142
 
16143
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16144
$as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16145
 
16146
# ----------------- done included file, check C basic types --------
16147
 
16148
# Lacking an uintptr_t?  Test size of void *
16149
case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16150
  stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16151
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16152
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16153
# This bug is HP SR number 8606223364.
16154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16155
$as_echo_n "checking size of void *... " >&6; }
16156
if test "${ac_cv_sizeof_void_p+set}" = set; then :
16157
  $as_echo_n "(cached) " >&6
16158
else
16159
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
16160
 
16161
else
16162
  if test "$ac_cv_type_void_p" = yes; then
16163
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16164
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16165
{ as_fn_set_status 77
16166
as_fn_error "cannot compute sizeof (void *)
16167
See \`config.log' for more details." "$LINENO" 5; }; }
16168
   else
16169
     ac_cv_sizeof_void_p=0
16170
   fi
16171
fi
16172
 
16173
fi
16174
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16175
$as_echo "$ac_cv_sizeof_void_p" >&6; }
16176
 
16177
 
16178
 
16179
cat >>confdefs.h <<_ACEOF
16180
#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16181
_ACEOF
16182
 
16183
 ;;
16184
esac
16185
 
16186
# Lacking an uint64_t?  Test size of long
16187
case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16188
  stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16189
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16190
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16191
# This bug is HP SR number 8606223364.
16192
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16193
$as_echo_n "checking size of long... " >&6; }
16194
if test "${ac_cv_sizeof_long+set}" = set; then :
16195
  $as_echo_n "(cached) " >&6
16196
else
16197
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
16198
 
16199
else
16200
  if test "$ac_cv_type_long" = yes; then
16201
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16202
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16203
{ as_fn_set_status 77
16204
as_fn_error "cannot compute sizeof (long)
16205
See \`config.log' for more details." "$LINENO" 5; }; }
16206
   else
16207
     ac_cv_sizeof_long=0
16208
   fi
16209
fi
16210
 
16211
fi
16212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16213
$as_echo "$ac_cv_sizeof_long" >&6; }
16214
 
16215
 
16216
 
16217
cat >>confdefs.h <<_ACEOF
16218
#define SIZEOF_LONG $ac_cv_sizeof_long
16219
_ACEOF
16220
 
16221
 ;;
16222
esac
16223
 
16224
if test $acx_cv_header_stdint = stddef.h; then
16225
  # Lacking a good header?  Test size of everything and deduce all types.
16226
  # The cast to long int works around a bug in the HP C Compiler
16227
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16228
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16229
# This bug is HP SR number 8606223364.
16230
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16231
$as_echo_n "checking size of int... " >&6; }
16232
if test "${ac_cv_sizeof_int+set}" = set; then :
16233
  $as_echo_n "(cached) " >&6
16234
else
16235
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
16236
 
16237
else
16238
  if test "$ac_cv_type_int" = yes; then
16239
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16240
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16241
{ as_fn_set_status 77
16242
as_fn_error "cannot compute sizeof (int)
16243
See \`config.log' for more details." "$LINENO" 5; }; }
16244
   else
16245
     ac_cv_sizeof_int=0
16246
   fi
16247
fi
16248
 
16249
fi
16250
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16251
$as_echo "$ac_cv_sizeof_int" >&6; }
16252
 
16253
 
16254
 
16255
cat >>confdefs.h <<_ACEOF
16256
#define SIZEOF_INT $ac_cv_sizeof_int
16257
_ACEOF
16258
 
16259
 
16260
  # The cast to long int works around a bug in the HP C Compiler
16261
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16262
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16263
# This bug is HP SR number 8606223364.
16264
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16265
$as_echo_n "checking size of short... " >&6; }
16266
if test "${ac_cv_sizeof_short+set}" = set; then :
16267
  $as_echo_n "(cached) " >&6
16268
else
16269
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
16270
 
16271
else
16272
  if test "$ac_cv_type_short" = yes; then
16273
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16274
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16275
{ as_fn_set_status 77
16276
as_fn_error "cannot compute sizeof (short)
16277
See \`config.log' for more details." "$LINENO" 5; }; }
16278
   else
16279
     ac_cv_sizeof_short=0
16280
   fi
16281
fi
16282
 
16283
fi
16284
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16285
$as_echo "$ac_cv_sizeof_short" >&6; }
16286
 
16287
 
16288
 
16289
cat >>confdefs.h <<_ACEOF
16290
#define SIZEOF_SHORT $ac_cv_sizeof_short
16291
_ACEOF
16292
 
16293
 
16294
  # The cast to long int works around a bug in the HP C Compiler
16295
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16296
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16297
# This bug is HP SR number 8606223364.
16298
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16299
$as_echo_n "checking size of char... " >&6; }
16300
if test "${ac_cv_sizeof_char+set}" = set; then :
16301
  $as_echo_n "(cached) " >&6
16302
else
16303
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
16304
 
16305
else
16306
  if test "$ac_cv_type_char" = yes; then
16307
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16308
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16309
{ as_fn_set_status 77
16310
as_fn_error "cannot compute sizeof (char)
16311
See \`config.log' for more details." "$LINENO" 5; }; }
16312
   else
16313
     ac_cv_sizeof_char=0
16314
   fi
16315
fi
16316
 
16317
fi
16318
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16319
$as_echo "$ac_cv_sizeof_char" >&6; }
16320
 
16321
 
16322
 
16323
cat >>confdefs.h <<_ACEOF
16324
#define SIZEOF_CHAR $ac_cv_sizeof_char
16325
_ACEOF
16326
 
16327
 
16328
 
16329
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16330
$as_echo_n "checking for type equivalent to int8_t... " >&6; }
16331
  case "$ac_cv_sizeof_char" in
16332
    1) acx_cv_type_int8_t=char ;;
16333
    *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
16334
  esac
16335
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16336
$as_echo "$acx_cv_type_int8_t" >&6; }
16337
 
16338
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16339
$as_echo_n "checking for type equivalent to int16_t... " >&6; }
16340
  case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16341
    2:*) acx_cv_type_int16_t=int ;;
16342
    *:2) acx_cv_type_int16_t=short ;;
16343
    *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
16344
  esac
16345
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16346
$as_echo "$acx_cv_type_int16_t" >&6; }
16347
 
16348
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16349
$as_echo_n "checking for type equivalent to int32_t... " >&6; }
16350
  case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16351
    4:*) acx_cv_type_int32_t=int ;;
16352
    *:4) acx_cv_type_int32_t=long ;;
16353
    *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
16354
  esac
16355
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16356
$as_echo "$acx_cv_type_int32_t" >&6; }
16357
fi
16358
 
16359
# These tests are here to make the output prettier
16360
 
16361
if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16362
  case "$ac_cv_sizeof_long" in
16363
    8) acx_cv_type_int64_t=long ;;
16364
  esac
16365
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16366
$as_echo_n "checking for type equivalent to int64_t... " >&6; }
16367
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16368
$as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16369
fi
16370
 
16371
# Now we can use the above types
16372
 
16373
if test "$ac_cv_type_uintptr_t" != yes; then
16374
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16375
$as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16376
  case $ac_cv_sizeof_void_p in
16377
    2) acx_cv_type_intptr_t=int16_t ;;
16378
    4) acx_cv_type_intptr_t=int32_t ;;
16379
    8) acx_cv_type_intptr_t=int64_t ;;
16380
    *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16381
  esac
16382
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16383
$as_echo "$acx_cv_type_intptr_t" >&6; }
16384
fi
16385
 
16386
# ----------------- done all checks, emit header -------------
16387
ac_config_commands="$ac_config_commands gstdint.h"
16388
 
16389
 
16390
 
16391
 
16392
ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16393
if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
16394
 
16395
cat >>confdefs.h <<_ACEOF
16396
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16397
_ACEOF
16398
 
16399
 
16400
fi
16401
ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16402
if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
16403
 
16404
cat >>confdefs.h <<_ACEOF
16405
#define HAVE_STRUCT_STAT_ST_BLOCKS 1
16406
_ACEOF
16407
 
16408
 
16409
fi
16410
ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16411
if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
16412
 
16413
cat >>confdefs.h <<_ACEOF
16414
#define HAVE_STRUCT_STAT_ST_RDEV 1
16415
_ACEOF
16416
 
16417
 
16418
fi
16419
 
16420
 
16421
# Check for library functions.
16422
 
16423
 
16424
 
16425
  for ac_func in $ac_func_list
16426
do :
16427
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16428
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16429
eval as_val=\$$as_ac_var
16430
   if test "x$as_val" = x""yes; then :
16431
  cat >>confdefs.h <<_ACEOF
16432
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16433
_ACEOF
16434
 
16435
fi
16436
done
16437
 
16438
 
16439
 
16440
 
16441
 
16442
 
16443
 
16444
 
16445
 
16446
 
16447
 
16448
 
16449
 
16450
 
16451
 
16452
 
16453
 
16454
 
16455
 
16456
 
16457
 
16458
 
16459
 
16460
 
16461
 
16462
 
16463
 
16464
 
16465
 
16466
 
16467
 
16468
 
16469
 
16470
 
16471
 
16472
 
16473
 
16474
 
16475
 
16476
 
16477
 
16478
 
16479
 
16480
 
16481
 
16482
 
16483
 
16484
 
16485
 
16486
 
16487
 
16488
 
16489
 
16490
 
16491
 
16492
 
16493
 
16494
 
16495
 
16496
 
16497
 
16498
 
16499
 
16500
 
16501
 
16502
 
16503
 
16504
 
16505
 
16506
 
16507
 
16508
 
16509
 
16510
 
16511
 
16512
 
16513
 
16514
 
16515
 
16516
 
16517
 
16518
 
16519
 
16520
 
16521
 
16522
 
16523
 
16524
 
16525
 
16526
 
16527
 
16528
 
16529
 
16530
 
16531
 
16532
 
16533
 
16534
 
16535
 
16536
 
16537
 
16538
# Check for C99 (and other IEEE) math functions
16539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
16540
$as_echo_n "checking for acosf in -lm... " >&6; }
16541
if test "${ac_cv_lib_m_acosf+set}" = set; then :
16542
  $as_echo_n "(cached) " >&6
16543
else
16544
  ac_check_lib_save_LIBS=$LIBS
16545
LIBS="-lm  $LIBS"
16546
if test x$gcc_no_link = xyes; then
16547
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16548
fi
16549
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16550
/* end confdefs.h.  */
16551
 
16552
/* Override any GCC internal prototype to avoid an error.
16553
   Use char because int might match the return type of a GCC
16554
   builtin and then its argument prototype would still apply.  */
16555
#ifdef __cplusplus
16556
extern "C"
16557
#endif
16558
char acosf ();
16559
int
16560
main ()
16561
{
16562
return acosf ();
16563
  ;
16564
  return 0;
16565
}
16566
_ACEOF
16567
if ac_fn_c_try_link "$LINENO"; then :
16568
  ac_cv_lib_m_acosf=yes
16569
else
16570
  ac_cv_lib_m_acosf=no
16571
fi
16572
rm -f core conftest.err conftest.$ac_objext \
16573
    conftest$ac_exeext conftest.$ac_ext
16574
LIBS=$ac_check_lib_save_LIBS
16575
fi
16576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
16577
$as_echo "$ac_cv_lib_m_acosf" >&6; }
16578
if test "x$ac_cv_lib_m_acosf" = x""yes; then :
16579
 
16580
$as_echo "#define HAVE_ACOSF 1" >>confdefs.h
16581
 
16582
fi
16583
 
16584
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
16585
$as_echo_n "checking for acos in -lm... " >&6; }
16586
if test "${ac_cv_lib_m_acos+set}" = set; then :
16587
  $as_echo_n "(cached) " >&6
16588
else
16589
  ac_check_lib_save_LIBS=$LIBS
16590
LIBS="-lm  $LIBS"
16591
if test x$gcc_no_link = xyes; then
16592
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16593
fi
16594
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16595
/* end confdefs.h.  */
16596
 
16597
/* Override any GCC internal prototype to avoid an error.
16598
   Use char because int might match the return type of a GCC
16599
   builtin and then its argument prototype would still apply.  */
16600
#ifdef __cplusplus
16601
extern "C"
16602
#endif
16603
char acos ();
16604
int
16605
main ()
16606
{
16607
return acos ();
16608
  ;
16609
  return 0;
16610
}
16611
_ACEOF
16612
if ac_fn_c_try_link "$LINENO"; then :
16613
  ac_cv_lib_m_acos=yes
16614
else
16615
  ac_cv_lib_m_acos=no
16616
fi
16617
rm -f core conftest.err conftest.$ac_objext \
16618
    conftest$ac_exeext conftest.$ac_ext
16619
LIBS=$ac_check_lib_save_LIBS
16620
fi
16621
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
16622
$as_echo "$ac_cv_lib_m_acos" >&6; }
16623
if test "x$ac_cv_lib_m_acos" = x""yes; then :
16624
 
16625
$as_echo "#define HAVE_ACOS 1" >>confdefs.h
16626
 
16627
fi
16628
 
16629
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
16630
$as_echo_n "checking for acosl in -lm... " >&6; }
16631
if test "${ac_cv_lib_m_acosl+set}" = set; then :
16632
  $as_echo_n "(cached) " >&6
16633
else
16634
  ac_check_lib_save_LIBS=$LIBS
16635
LIBS="-lm  $LIBS"
16636
if test x$gcc_no_link = xyes; then
16637
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16638
fi
16639
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16640
/* end confdefs.h.  */
16641
 
16642
/* Override any GCC internal prototype to avoid an error.
16643
   Use char because int might match the return type of a GCC
16644
   builtin and then its argument prototype would still apply.  */
16645
#ifdef __cplusplus
16646
extern "C"
16647
#endif
16648
char acosl ();
16649
int
16650
main ()
16651
{
16652
return acosl ();
16653
  ;
16654
  return 0;
16655
}
16656
_ACEOF
16657
if ac_fn_c_try_link "$LINENO"; then :
16658
  ac_cv_lib_m_acosl=yes
16659
else
16660
  ac_cv_lib_m_acosl=no
16661
fi
16662
rm -f core conftest.err conftest.$ac_objext \
16663
    conftest$ac_exeext conftest.$ac_ext
16664
LIBS=$ac_check_lib_save_LIBS
16665
fi
16666
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosl" >&5
16667
$as_echo "$ac_cv_lib_m_acosl" >&6; }
16668
if test "x$ac_cv_lib_m_acosl" = x""yes; then :
16669
 
16670
$as_echo "#define HAVE_ACOSL 1" >>confdefs.h
16671
 
16672
fi
16673
 
16674
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
16675
$as_echo_n "checking for acoshf in -lm... " >&6; }
16676
if test "${ac_cv_lib_m_acoshf+set}" = set; then :
16677
  $as_echo_n "(cached) " >&6
16678
else
16679
  ac_check_lib_save_LIBS=$LIBS
16680
LIBS="-lm  $LIBS"
16681
if test x$gcc_no_link = xyes; then
16682
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16683
fi
16684
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16685
/* end confdefs.h.  */
16686
 
16687
/* Override any GCC internal prototype to avoid an error.
16688
   Use char because int might match the return type of a GCC
16689
   builtin and then its argument prototype would still apply.  */
16690
#ifdef __cplusplus
16691
extern "C"
16692
#endif
16693
char acoshf ();
16694
int
16695
main ()
16696
{
16697
return acoshf ();
16698
  ;
16699
  return 0;
16700
}
16701
_ACEOF
16702
if ac_fn_c_try_link "$LINENO"; then :
16703
  ac_cv_lib_m_acoshf=yes
16704
else
16705
  ac_cv_lib_m_acoshf=no
16706
fi
16707
rm -f core conftest.err conftest.$ac_objext \
16708
    conftest$ac_exeext conftest.$ac_ext
16709
LIBS=$ac_check_lib_save_LIBS
16710
fi
16711
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshf" >&5
16712
$as_echo "$ac_cv_lib_m_acoshf" >&6; }
16713
if test "x$ac_cv_lib_m_acoshf" = x""yes; then :
16714
 
16715
$as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16716
 
16717
fi
16718
 
16719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16720
$as_echo_n "checking for acosh in -lm... " >&6; }
16721
if test "${ac_cv_lib_m_acosh+set}" = set; then :
16722
  $as_echo_n "(cached) " >&6
16723
else
16724
  ac_check_lib_save_LIBS=$LIBS
16725
LIBS="-lm  $LIBS"
16726
if test x$gcc_no_link = xyes; then
16727
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16728
fi
16729
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16730
/* end confdefs.h.  */
16731
 
16732
/* Override any GCC internal prototype to avoid an error.
16733
   Use char because int might match the return type of a GCC
16734
   builtin and then its argument prototype would still apply.  */
16735
#ifdef __cplusplus
16736
extern "C"
16737
#endif
16738
char acosh ();
16739
int
16740
main ()
16741
{
16742
return acosh ();
16743
  ;
16744
  return 0;
16745
}
16746
_ACEOF
16747
if ac_fn_c_try_link "$LINENO"; then :
16748
  ac_cv_lib_m_acosh=yes
16749
else
16750
  ac_cv_lib_m_acosh=no
16751
fi
16752
rm -f core conftest.err conftest.$ac_objext \
16753
    conftest$ac_exeext conftest.$ac_ext
16754
LIBS=$ac_check_lib_save_LIBS
16755
fi
16756
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosh" >&5
16757
$as_echo "$ac_cv_lib_m_acosh" >&6; }
16758
if test "x$ac_cv_lib_m_acosh" = x""yes; then :
16759
 
16760
$as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16761
 
16762
fi
16763
 
16764
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16765
$as_echo_n "checking for acoshl in -lm... " >&6; }
16766
if test "${ac_cv_lib_m_acoshl+set}" = set; then :
16767
  $as_echo_n "(cached) " >&6
16768
else
16769
  ac_check_lib_save_LIBS=$LIBS
16770
LIBS="-lm  $LIBS"
16771
if test x$gcc_no_link = xyes; then
16772
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16773
fi
16774
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16775
/* end confdefs.h.  */
16776
 
16777
/* Override any GCC internal prototype to avoid an error.
16778
   Use char because int might match the return type of a GCC
16779
   builtin and then its argument prototype would still apply.  */
16780
#ifdef __cplusplus
16781
extern "C"
16782
#endif
16783
char acoshl ();
16784
int
16785
main ()
16786
{
16787
return acoshl ();
16788
  ;
16789
  return 0;
16790
}
16791
_ACEOF
16792
if ac_fn_c_try_link "$LINENO"; then :
16793
  ac_cv_lib_m_acoshl=yes
16794
else
16795
  ac_cv_lib_m_acoshl=no
16796
fi
16797
rm -f core conftest.err conftest.$ac_objext \
16798
    conftest$ac_exeext conftest.$ac_ext
16799
LIBS=$ac_check_lib_save_LIBS
16800
fi
16801
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshl" >&5
16802
$as_echo "$ac_cv_lib_m_acoshl" >&6; }
16803
if test "x$ac_cv_lib_m_acoshl" = x""yes; then :
16804
 
16805
$as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16806
 
16807
fi
16808
 
16809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16810
$as_echo_n "checking for asinf in -lm... " >&6; }
16811
if test "${ac_cv_lib_m_asinf+set}" = set; then :
16812
  $as_echo_n "(cached) " >&6
16813
else
16814
  ac_check_lib_save_LIBS=$LIBS
16815
LIBS="-lm  $LIBS"
16816
if test x$gcc_no_link = xyes; then
16817
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16818
fi
16819
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16820
/* end confdefs.h.  */
16821
 
16822
/* Override any GCC internal prototype to avoid an error.
16823
   Use char because int might match the return type of a GCC
16824
   builtin and then its argument prototype would still apply.  */
16825
#ifdef __cplusplus
16826
extern "C"
16827
#endif
16828
char asinf ();
16829
int
16830
main ()
16831
{
16832
return asinf ();
16833
  ;
16834
  return 0;
16835
}
16836
_ACEOF
16837
if ac_fn_c_try_link "$LINENO"; then :
16838
  ac_cv_lib_m_asinf=yes
16839
else
16840
  ac_cv_lib_m_asinf=no
16841
fi
16842
rm -f core conftest.err conftest.$ac_objext \
16843
    conftest$ac_exeext conftest.$ac_ext
16844
LIBS=$ac_check_lib_save_LIBS
16845
fi
16846
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinf" >&5
16847
$as_echo "$ac_cv_lib_m_asinf" >&6; }
16848
if test "x$ac_cv_lib_m_asinf" = x""yes; then :
16849
 
16850
$as_echo "#define HAVE_ASINF 1" >>confdefs.h
16851
 
16852
fi
16853
 
16854
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16855
$as_echo_n "checking for asin in -lm... " >&6; }
16856
if test "${ac_cv_lib_m_asin+set}" = set; then :
16857
  $as_echo_n "(cached) " >&6
16858
else
16859
  ac_check_lib_save_LIBS=$LIBS
16860
LIBS="-lm  $LIBS"
16861
if test x$gcc_no_link = xyes; then
16862
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16863
fi
16864
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16865
/* end confdefs.h.  */
16866
 
16867
/* Override any GCC internal prototype to avoid an error.
16868
   Use char because int might match the return type of a GCC
16869
   builtin and then its argument prototype would still apply.  */
16870
#ifdef __cplusplus
16871
extern "C"
16872
#endif
16873
char asin ();
16874
int
16875
main ()
16876
{
16877
return asin ();
16878
  ;
16879
  return 0;
16880
}
16881
_ACEOF
16882
if ac_fn_c_try_link "$LINENO"; then :
16883
  ac_cv_lib_m_asin=yes
16884
else
16885
  ac_cv_lib_m_asin=no
16886
fi
16887
rm -f core conftest.err conftest.$ac_objext \
16888
    conftest$ac_exeext conftest.$ac_ext
16889
LIBS=$ac_check_lib_save_LIBS
16890
fi
16891
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5
16892
$as_echo "$ac_cv_lib_m_asin" >&6; }
16893
if test "x$ac_cv_lib_m_asin" = x""yes; then :
16894
 
16895
$as_echo "#define HAVE_ASIN 1" >>confdefs.h
16896
 
16897
fi
16898
 
16899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
16900
$as_echo_n "checking for asinl in -lm... " >&6; }
16901
if test "${ac_cv_lib_m_asinl+set}" = set; then :
16902
  $as_echo_n "(cached) " >&6
16903
else
16904
  ac_check_lib_save_LIBS=$LIBS
16905
LIBS="-lm  $LIBS"
16906
if test x$gcc_no_link = xyes; then
16907
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16908
fi
16909
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16910
/* end confdefs.h.  */
16911
 
16912
/* Override any GCC internal prototype to avoid an error.
16913
   Use char because int might match the return type of a GCC
16914
   builtin and then its argument prototype would still apply.  */
16915
#ifdef __cplusplus
16916
extern "C"
16917
#endif
16918
char asinl ();
16919
int
16920
main ()
16921
{
16922
return asinl ();
16923
  ;
16924
  return 0;
16925
}
16926
_ACEOF
16927
if ac_fn_c_try_link "$LINENO"; then :
16928
  ac_cv_lib_m_asinl=yes
16929
else
16930
  ac_cv_lib_m_asinl=no
16931
fi
16932
rm -f core conftest.err conftest.$ac_objext \
16933
    conftest$ac_exeext conftest.$ac_ext
16934
LIBS=$ac_check_lib_save_LIBS
16935
fi
16936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinl" >&5
16937
$as_echo "$ac_cv_lib_m_asinl" >&6; }
16938
if test "x$ac_cv_lib_m_asinl" = x""yes; then :
16939
 
16940
$as_echo "#define HAVE_ASINL 1" >>confdefs.h
16941
 
16942
fi
16943
 
16944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
16945
$as_echo_n "checking for asinhf in -lm... " >&6; }
16946
if test "${ac_cv_lib_m_asinhf+set}" = set; then :
16947
  $as_echo_n "(cached) " >&6
16948
else
16949
  ac_check_lib_save_LIBS=$LIBS
16950
LIBS="-lm  $LIBS"
16951
if test x$gcc_no_link = xyes; then
16952
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16953
fi
16954
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16955
/* end confdefs.h.  */
16956
 
16957
/* Override any GCC internal prototype to avoid an error.
16958
   Use char because int might match the return type of a GCC
16959
   builtin and then its argument prototype would still apply.  */
16960
#ifdef __cplusplus
16961
extern "C"
16962
#endif
16963
char asinhf ();
16964
int
16965
main ()
16966
{
16967
return asinhf ();
16968
  ;
16969
  return 0;
16970
}
16971
_ACEOF
16972
if ac_fn_c_try_link "$LINENO"; then :
16973
  ac_cv_lib_m_asinhf=yes
16974
else
16975
  ac_cv_lib_m_asinhf=no
16976
fi
16977
rm -f core conftest.err conftest.$ac_objext \
16978
    conftest$ac_exeext conftest.$ac_ext
16979
LIBS=$ac_check_lib_save_LIBS
16980
fi
16981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhf" >&5
16982
$as_echo "$ac_cv_lib_m_asinhf" >&6; }
16983
if test "x$ac_cv_lib_m_asinhf" = x""yes; then :
16984
 
16985
$as_echo "#define HAVE_ASINHF 1" >>confdefs.h
16986
 
16987
fi
16988
 
16989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
16990
$as_echo_n "checking for asinh in -lm... " >&6; }
16991
if test "${ac_cv_lib_m_asinh+set}" = set; then :
16992
  $as_echo_n "(cached) " >&6
16993
else
16994
  ac_check_lib_save_LIBS=$LIBS
16995
LIBS="-lm  $LIBS"
16996
if test x$gcc_no_link = xyes; then
16997
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16998
fi
16999
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17000
/* end confdefs.h.  */
17001
 
17002
/* Override any GCC internal prototype to avoid an error.
17003
   Use char because int might match the return type of a GCC
17004
   builtin and then its argument prototype would still apply.  */
17005
#ifdef __cplusplus
17006
extern "C"
17007
#endif
17008
char asinh ();
17009
int
17010
main ()
17011
{
17012
return asinh ();
17013
  ;
17014
  return 0;
17015
}
17016
_ACEOF
17017
if ac_fn_c_try_link "$LINENO"; then :
17018
  ac_cv_lib_m_asinh=yes
17019
else
17020
  ac_cv_lib_m_asinh=no
17021
fi
17022
rm -f core conftest.err conftest.$ac_objext \
17023
    conftest$ac_exeext conftest.$ac_ext
17024
LIBS=$ac_check_lib_save_LIBS
17025
fi
17026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinh" >&5
17027
$as_echo "$ac_cv_lib_m_asinh" >&6; }
17028
if test "x$ac_cv_lib_m_asinh" = x""yes; then :
17029
 
17030
$as_echo "#define HAVE_ASINH 1" >>confdefs.h
17031
 
17032
fi
17033
 
17034
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
17035
$as_echo_n "checking for asinhl in -lm... " >&6; }
17036
if test "${ac_cv_lib_m_asinhl+set}" = set; then :
17037
  $as_echo_n "(cached) " >&6
17038
else
17039
  ac_check_lib_save_LIBS=$LIBS
17040
LIBS="-lm  $LIBS"
17041
if test x$gcc_no_link = xyes; then
17042
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17043
fi
17044
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17045
/* end confdefs.h.  */
17046
 
17047
/* Override any GCC internal prototype to avoid an error.
17048
   Use char because int might match the return type of a GCC
17049
   builtin and then its argument prototype would still apply.  */
17050
#ifdef __cplusplus
17051
extern "C"
17052
#endif
17053
char asinhl ();
17054
int
17055
main ()
17056
{
17057
return asinhl ();
17058
  ;
17059
  return 0;
17060
}
17061
_ACEOF
17062
if ac_fn_c_try_link "$LINENO"; then :
17063
  ac_cv_lib_m_asinhl=yes
17064
else
17065
  ac_cv_lib_m_asinhl=no
17066
fi
17067
rm -f core conftest.err conftest.$ac_objext \
17068
    conftest$ac_exeext conftest.$ac_ext
17069
LIBS=$ac_check_lib_save_LIBS
17070
fi
17071
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhl" >&5
17072
$as_echo "$ac_cv_lib_m_asinhl" >&6; }
17073
if test "x$ac_cv_lib_m_asinhl" = x""yes; then :
17074
 
17075
$as_echo "#define HAVE_ASINHL 1" >>confdefs.h
17076
 
17077
fi
17078
 
17079
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
17080
$as_echo_n "checking for atan2f in -lm... " >&6; }
17081
if test "${ac_cv_lib_m_atan2f+set}" = set; then :
17082
  $as_echo_n "(cached) " >&6
17083
else
17084
  ac_check_lib_save_LIBS=$LIBS
17085
LIBS="-lm  $LIBS"
17086
if test x$gcc_no_link = xyes; then
17087
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17088
fi
17089
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17090
/* end confdefs.h.  */
17091
 
17092
/* Override any GCC internal prototype to avoid an error.
17093
   Use char because int might match the return type of a GCC
17094
   builtin and then its argument prototype would still apply.  */
17095
#ifdef __cplusplus
17096
extern "C"
17097
#endif
17098
char atan2f ();
17099
int
17100
main ()
17101
{
17102
return atan2f ();
17103
  ;
17104
  return 0;
17105
}
17106
_ACEOF
17107
if ac_fn_c_try_link "$LINENO"; then :
17108
  ac_cv_lib_m_atan2f=yes
17109
else
17110
  ac_cv_lib_m_atan2f=no
17111
fi
17112
rm -f core conftest.err conftest.$ac_objext \
17113
    conftest$ac_exeext conftest.$ac_ext
17114
LIBS=$ac_check_lib_save_LIBS
17115
fi
17116
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2f" >&5
17117
$as_echo "$ac_cv_lib_m_atan2f" >&6; }
17118
if test "x$ac_cv_lib_m_atan2f" = x""yes; then :
17119
 
17120
$as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
17121
 
17122
fi
17123
 
17124
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
17125
$as_echo_n "checking for atan2 in -lm... " >&6; }
17126
if test "${ac_cv_lib_m_atan2+set}" = set; then :
17127
  $as_echo_n "(cached) " >&6
17128
else
17129
  ac_check_lib_save_LIBS=$LIBS
17130
LIBS="-lm  $LIBS"
17131
if test x$gcc_no_link = xyes; then
17132
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17133
fi
17134
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17135
/* end confdefs.h.  */
17136
 
17137
/* Override any GCC internal prototype to avoid an error.
17138
   Use char because int might match the return type of a GCC
17139
   builtin and then its argument prototype would still apply.  */
17140
#ifdef __cplusplus
17141
extern "C"
17142
#endif
17143
char atan2 ();
17144
int
17145
main ()
17146
{
17147
return atan2 ();
17148
  ;
17149
  return 0;
17150
}
17151
_ACEOF
17152
if ac_fn_c_try_link "$LINENO"; then :
17153
  ac_cv_lib_m_atan2=yes
17154
else
17155
  ac_cv_lib_m_atan2=no
17156
fi
17157
rm -f core conftest.err conftest.$ac_objext \
17158
    conftest$ac_exeext conftest.$ac_ext
17159
LIBS=$ac_check_lib_save_LIBS
17160
fi
17161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
17162
$as_echo "$ac_cv_lib_m_atan2" >&6; }
17163
if test "x$ac_cv_lib_m_atan2" = x""yes; then :
17164
 
17165
$as_echo "#define HAVE_ATAN2 1" >>confdefs.h
17166
 
17167
fi
17168
 
17169
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
17170
$as_echo_n "checking for atan2l in -lm... " >&6; }
17171
if test "${ac_cv_lib_m_atan2l+set}" = set; then :
17172
  $as_echo_n "(cached) " >&6
17173
else
17174
  ac_check_lib_save_LIBS=$LIBS
17175
LIBS="-lm  $LIBS"
17176
if test x$gcc_no_link = xyes; then
17177
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17178
fi
17179
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17180
/* end confdefs.h.  */
17181
 
17182
/* Override any GCC internal prototype to avoid an error.
17183
   Use char because int might match the return type of a GCC
17184
   builtin and then its argument prototype would still apply.  */
17185
#ifdef __cplusplus
17186
extern "C"
17187
#endif
17188
char atan2l ();
17189
int
17190
main ()
17191
{
17192
return atan2l ();
17193
  ;
17194
  return 0;
17195
}
17196
_ACEOF
17197
if ac_fn_c_try_link "$LINENO"; then :
17198
  ac_cv_lib_m_atan2l=yes
17199
else
17200
  ac_cv_lib_m_atan2l=no
17201
fi
17202
rm -f core conftest.err conftest.$ac_objext \
17203
    conftest$ac_exeext conftest.$ac_ext
17204
LIBS=$ac_check_lib_save_LIBS
17205
fi
17206
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2l" >&5
17207
$as_echo "$ac_cv_lib_m_atan2l" >&6; }
17208
if test "x$ac_cv_lib_m_atan2l" = x""yes; then :
17209
 
17210
$as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
17211
 
17212
fi
17213
 
17214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
17215
$as_echo_n "checking for atanf in -lm... " >&6; }
17216
if test "${ac_cv_lib_m_atanf+set}" = set; then :
17217
  $as_echo_n "(cached) " >&6
17218
else
17219
  ac_check_lib_save_LIBS=$LIBS
17220
LIBS="-lm  $LIBS"
17221
if test x$gcc_no_link = xyes; then
17222
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17223
fi
17224
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17225
/* end confdefs.h.  */
17226
 
17227
/* Override any GCC internal prototype to avoid an error.
17228
   Use char because int might match the return type of a GCC
17229
   builtin and then its argument prototype would still apply.  */
17230
#ifdef __cplusplus
17231
extern "C"
17232
#endif
17233
char atanf ();
17234
int
17235
main ()
17236
{
17237
return atanf ();
17238
  ;
17239
  return 0;
17240
}
17241
_ACEOF
17242
if ac_fn_c_try_link "$LINENO"; then :
17243
  ac_cv_lib_m_atanf=yes
17244
else
17245
  ac_cv_lib_m_atanf=no
17246
fi
17247
rm -f core conftest.err conftest.$ac_objext \
17248
    conftest$ac_exeext conftest.$ac_ext
17249
LIBS=$ac_check_lib_save_LIBS
17250
fi
17251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanf" >&5
17252
$as_echo "$ac_cv_lib_m_atanf" >&6; }
17253
if test "x$ac_cv_lib_m_atanf" = x""yes; then :
17254
 
17255
$as_echo "#define HAVE_ATANF 1" >>confdefs.h
17256
 
17257
fi
17258
 
17259
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
17260
$as_echo_n "checking for atan in -lm... " >&6; }
17261
if test "${ac_cv_lib_m_atan+set}" = set; then :
17262
  $as_echo_n "(cached) " >&6
17263
else
17264
  ac_check_lib_save_LIBS=$LIBS
17265
LIBS="-lm  $LIBS"
17266
if test x$gcc_no_link = xyes; then
17267
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17268
fi
17269
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17270
/* end confdefs.h.  */
17271
 
17272
/* Override any GCC internal prototype to avoid an error.
17273
   Use char because int might match the return type of a GCC
17274
   builtin and then its argument prototype would still apply.  */
17275
#ifdef __cplusplus
17276
extern "C"
17277
#endif
17278
char atan ();
17279
int
17280
main ()
17281
{
17282
return atan ();
17283
  ;
17284
  return 0;
17285
}
17286
_ACEOF
17287
if ac_fn_c_try_link "$LINENO"; then :
17288
  ac_cv_lib_m_atan=yes
17289
else
17290
  ac_cv_lib_m_atan=no
17291
fi
17292
rm -f core conftest.err conftest.$ac_objext \
17293
    conftest$ac_exeext conftest.$ac_ext
17294
LIBS=$ac_check_lib_save_LIBS
17295
fi
17296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5
17297
$as_echo "$ac_cv_lib_m_atan" >&6; }
17298
if test "x$ac_cv_lib_m_atan" = x""yes; then :
17299
 
17300
$as_echo "#define HAVE_ATAN 1" >>confdefs.h
17301
 
17302
fi
17303
 
17304
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
17305
$as_echo_n "checking for atanl in -lm... " >&6; }
17306
if test "${ac_cv_lib_m_atanl+set}" = set; then :
17307
  $as_echo_n "(cached) " >&6
17308
else
17309
  ac_check_lib_save_LIBS=$LIBS
17310
LIBS="-lm  $LIBS"
17311
if test x$gcc_no_link = xyes; then
17312
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17313
fi
17314
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17315
/* end confdefs.h.  */
17316
 
17317
/* Override any GCC internal prototype to avoid an error.
17318
   Use char because int might match the return type of a GCC
17319
   builtin and then its argument prototype would still apply.  */
17320
#ifdef __cplusplus
17321
extern "C"
17322
#endif
17323
char atanl ();
17324
int
17325
main ()
17326
{
17327
return atanl ();
17328
  ;
17329
  return 0;
17330
}
17331
_ACEOF
17332
if ac_fn_c_try_link "$LINENO"; then :
17333
  ac_cv_lib_m_atanl=yes
17334
else
17335
  ac_cv_lib_m_atanl=no
17336
fi
17337
rm -f core conftest.err conftest.$ac_objext \
17338
    conftest$ac_exeext conftest.$ac_ext
17339
LIBS=$ac_check_lib_save_LIBS
17340
fi
17341
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanl" >&5
17342
$as_echo "$ac_cv_lib_m_atanl" >&6; }
17343
if test "x$ac_cv_lib_m_atanl" = x""yes; then :
17344
 
17345
$as_echo "#define HAVE_ATANL 1" >>confdefs.h
17346
 
17347
fi
17348
 
17349
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
17350
$as_echo_n "checking for atanhf in -lm... " >&6; }
17351
if test "${ac_cv_lib_m_atanhf+set}" = set; then :
17352
  $as_echo_n "(cached) " >&6
17353
else
17354
  ac_check_lib_save_LIBS=$LIBS
17355
LIBS="-lm  $LIBS"
17356
if test x$gcc_no_link = xyes; then
17357
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17358
fi
17359
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17360
/* end confdefs.h.  */
17361
 
17362
/* Override any GCC internal prototype to avoid an error.
17363
   Use char because int might match the return type of a GCC
17364
   builtin and then its argument prototype would still apply.  */
17365
#ifdef __cplusplus
17366
extern "C"
17367
#endif
17368
char atanhf ();
17369
int
17370
main ()
17371
{
17372
return atanhf ();
17373
  ;
17374
  return 0;
17375
}
17376
_ACEOF
17377
if ac_fn_c_try_link "$LINENO"; then :
17378
  ac_cv_lib_m_atanhf=yes
17379
else
17380
  ac_cv_lib_m_atanhf=no
17381
fi
17382
rm -f core conftest.err conftest.$ac_objext \
17383
    conftest$ac_exeext conftest.$ac_ext
17384
LIBS=$ac_check_lib_save_LIBS
17385
fi
17386
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhf" >&5
17387
$as_echo "$ac_cv_lib_m_atanhf" >&6; }
17388
if test "x$ac_cv_lib_m_atanhf" = x""yes; then :
17389
 
17390
$as_echo "#define HAVE_ATANHF 1" >>confdefs.h
17391
 
17392
fi
17393
 
17394
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
17395
$as_echo_n "checking for atanh in -lm... " >&6; }
17396
if test "${ac_cv_lib_m_atanh+set}" = set; then :
17397
  $as_echo_n "(cached) " >&6
17398
else
17399
  ac_check_lib_save_LIBS=$LIBS
17400
LIBS="-lm  $LIBS"
17401
if test x$gcc_no_link = xyes; then
17402
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17403
fi
17404
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17405
/* end confdefs.h.  */
17406
 
17407
/* Override any GCC internal prototype to avoid an error.
17408
   Use char because int might match the return type of a GCC
17409
   builtin and then its argument prototype would still apply.  */
17410
#ifdef __cplusplus
17411
extern "C"
17412
#endif
17413
char atanh ();
17414
int
17415
main ()
17416
{
17417
return atanh ();
17418
  ;
17419
  return 0;
17420
}
17421
_ACEOF
17422
if ac_fn_c_try_link "$LINENO"; then :
17423
  ac_cv_lib_m_atanh=yes
17424
else
17425
  ac_cv_lib_m_atanh=no
17426
fi
17427
rm -f core conftest.err conftest.$ac_objext \
17428
    conftest$ac_exeext conftest.$ac_ext
17429
LIBS=$ac_check_lib_save_LIBS
17430
fi
17431
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanh" >&5
17432
$as_echo "$ac_cv_lib_m_atanh" >&6; }
17433
if test "x$ac_cv_lib_m_atanh" = x""yes; then :
17434
 
17435
$as_echo "#define HAVE_ATANH 1" >>confdefs.h
17436
 
17437
fi
17438
 
17439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
17440
$as_echo_n "checking for atanhl in -lm... " >&6; }
17441
if test "${ac_cv_lib_m_atanhl+set}" = set; then :
17442
  $as_echo_n "(cached) " >&6
17443
else
17444
  ac_check_lib_save_LIBS=$LIBS
17445
LIBS="-lm  $LIBS"
17446
if test x$gcc_no_link = xyes; then
17447
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17448
fi
17449
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17450
/* end confdefs.h.  */
17451
 
17452
/* Override any GCC internal prototype to avoid an error.
17453
   Use char because int might match the return type of a GCC
17454
   builtin and then its argument prototype would still apply.  */
17455
#ifdef __cplusplus
17456
extern "C"
17457
#endif
17458
char atanhl ();
17459
int
17460
main ()
17461
{
17462
return atanhl ();
17463
  ;
17464
  return 0;
17465
}
17466
_ACEOF
17467
if ac_fn_c_try_link "$LINENO"; then :
17468
  ac_cv_lib_m_atanhl=yes
17469
else
17470
  ac_cv_lib_m_atanhl=no
17471
fi
17472
rm -f core conftest.err conftest.$ac_objext \
17473
    conftest$ac_exeext conftest.$ac_ext
17474
LIBS=$ac_check_lib_save_LIBS
17475
fi
17476
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhl" >&5
17477
$as_echo "$ac_cv_lib_m_atanhl" >&6; }
17478
if test "x$ac_cv_lib_m_atanhl" = x""yes; then :
17479
 
17480
$as_echo "#define HAVE_ATANHL 1" >>confdefs.h
17481
 
17482
fi
17483
 
17484
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
17485
$as_echo_n "checking for cargf in -lm... " >&6; }
17486
if test "${ac_cv_lib_m_cargf+set}" = set; then :
17487
  $as_echo_n "(cached) " >&6
17488
else
17489
  ac_check_lib_save_LIBS=$LIBS
17490
LIBS="-lm  $LIBS"
17491
if test x$gcc_no_link = xyes; then
17492
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17493
fi
17494
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17495
/* end confdefs.h.  */
17496
 
17497
/* Override any GCC internal prototype to avoid an error.
17498
   Use char because int might match the return type of a GCC
17499
   builtin and then its argument prototype would still apply.  */
17500
#ifdef __cplusplus
17501
extern "C"
17502
#endif
17503
char cargf ();
17504
int
17505
main ()
17506
{
17507
return cargf ();
17508
  ;
17509
  return 0;
17510
}
17511
_ACEOF
17512
if ac_fn_c_try_link "$LINENO"; then :
17513
  ac_cv_lib_m_cargf=yes
17514
else
17515
  ac_cv_lib_m_cargf=no
17516
fi
17517
rm -f core conftest.err conftest.$ac_objext \
17518
    conftest$ac_exeext conftest.$ac_ext
17519
LIBS=$ac_check_lib_save_LIBS
17520
fi
17521
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargf" >&5
17522
$as_echo "$ac_cv_lib_m_cargf" >&6; }
17523
if test "x$ac_cv_lib_m_cargf" = x""yes; then :
17524
 
17525
$as_echo "#define HAVE_CARGF 1" >>confdefs.h
17526
 
17527
fi
17528
 
17529
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
17530
$as_echo_n "checking for carg in -lm... " >&6; }
17531
if test "${ac_cv_lib_m_carg+set}" = set; then :
17532
  $as_echo_n "(cached) " >&6
17533
else
17534
  ac_check_lib_save_LIBS=$LIBS
17535
LIBS="-lm  $LIBS"
17536
if test x$gcc_no_link = xyes; then
17537
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17538
fi
17539
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17540
/* end confdefs.h.  */
17541
 
17542
/* Override any GCC internal prototype to avoid an error.
17543
   Use char because int might match the return type of a GCC
17544
   builtin and then its argument prototype would still apply.  */
17545
#ifdef __cplusplus
17546
extern "C"
17547
#endif
17548
char carg ();
17549
int
17550
main ()
17551
{
17552
return carg ();
17553
  ;
17554
  return 0;
17555
}
17556
_ACEOF
17557
if ac_fn_c_try_link "$LINENO"; then :
17558
  ac_cv_lib_m_carg=yes
17559
else
17560
  ac_cv_lib_m_carg=no
17561
fi
17562
rm -f core conftest.err conftest.$ac_objext \
17563
    conftest$ac_exeext conftest.$ac_ext
17564
LIBS=$ac_check_lib_save_LIBS
17565
fi
17566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_carg" >&5
17567
$as_echo "$ac_cv_lib_m_carg" >&6; }
17568
if test "x$ac_cv_lib_m_carg" = x""yes; then :
17569
 
17570
$as_echo "#define HAVE_CARG 1" >>confdefs.h
17571
 
17572
fi
17573
 
17574
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
17575
$as_echo_n "checking for cargl in -lm... " >&6; }
17576
if test "${ac_cv_lib_m_cargl+set}" = set; then :
17577
  $as_echo_n "(cached) " >&6
17578
else
17579
  ac_check_lib_save_LIBS=$LIBS
17580
LIBS="-lm  $LIBS"
17581
if test x$gcc_no_link = xyes; then
17582
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17583
fi
17584
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17585
/* end confdefs.h.  */
17586
 
17587
/* Override any GCC internal prototype to avoid an error.
17588
   Use char because int might match the return type of a GCC
17589
   builtin and then its argument prototype would still apply.  */
17590
#ifdef __cplusplus
17591
extern "C"
17592
#endif
17593
char cargl ();
17594
int
17595
main ()
17596
{
17597
return cargl ();
17598
  ;
17599
  return 0;
17600
}
17601
_ACEOF
17602
if ac_fn_c_try_link "$LINENO"; then :
17603
  ac_cv_lib_m_cargl=yes
17604
else
17605
  ac_cv_lib_m_cargl=no
17606
fi
17607
rm -f core conftest.err conftest.$ac_objext \
17608
    conftest$ac_exeext conftest.$ac_ext
17609
LIBS=$ac_check_lib_save_LIBS
17610
fi
17611
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargl" >&5
17612
$as_echo "$ac_cv_lib_m_cargl" >&6; }
17613
if test "x$ac_cv_lib_m_cargl" = x""yes; then :
17614
 
17615
$as_echo "#define HAVE_CARGL 1" >>confdefs.h
17616
 
17617
fi
17618
 
17619
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
17620
$as_echo_n "checking for ceilf in -lm... " >&6; }
17621
if test "${ac_cv_lib_m_ceilf+set}" = set; then :
17622
  $as_echo_n "(cached) " >&6
17623
else
17624
  ac_check_lib_save_LIBS=$LIBS
17625
LIBS="-lm  $LIBS"
17626
if test x$gcc_no_link = xyes; then
17627
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17628
fi
17629
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17630
/* end confdefs.h.  */
17631
 
17632
/* Override any GCC internal prototype to avoid an error.
17633
   Use char because int might match the return type of a GCC
17634
   builtin and then its argument prototype would still apply.  */
17635
#ifdef __cplusplus
17636
extern "C"
17637
#endif
17638
char ceilf ();
17639
int
17640
main ()
17641
{
17642
return ceilf ();
17643
  ;
17644
  return 0;
17645
}
17646
_ACEOF
17647
if ac_fn_c_try_link "$LINENO"; then :
17648
  ac_cv_lib_m_ceilf=yes
17649
else
17650
  ac_cv_lib_m_ceilf=no
17651
fi
17652
rm -f core conftest.err conftest.$ac_objext \
17653
    conftest$ac_exeext conftest.$ac_ext
17654
LIBS=$ac_check_lib_save_LIBS
17655
fi
17656
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5
17657
$as_echo "$ac_cv_lib_m_ceilf" >&6; }
17658
if test "x$ac_cv_lib_m_ceilf" = x""yes; then :
17659
 
17660
$as_echo "#define HAVE_CEILF 1" >>confdefs.h
17661
 
17662
fi
17663
 
17664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
17665
$as_echo_n "checking for ceil in -lm... " >&6; }
17666
if test "${ac_cv_lib_m_ceil+set}" = set; then :
17667
  $as_echo_n "(cached) " >&6
17668
else
17669
  ac_check_lib_save_LIBS=$LIBS
17670
LIBS="-lm  $LIBS"
17671
if test x$gcc_no_link = xyes; then
17672
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17673
fi
17674
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17675
/* end confdefs.h.  */
17676
 
17677
/* Override any GCC internal prototype to avoid an error.
17678
   Use char because int might match the return type of a GCC
17679
   builtin and then its argument prototype would still apply.  */
17680
#ifdef __cplusplus
17681
extern "C"
17682
#endif
17683
char ceil ();
17684
int
17685
main ()
17686
{
17687
return ceil ();
17688
  ;
17689
  return 0;
17690
}
17691
_ACEOF
17692
if ac_fn_c_try_link "$LINENO"; then :
17693
  ac_cv_lib_m_ceil=yes
17694
else
17695
  ac_cv_lib_m_ceil=no
17696
fi
17697
rm -f core conftest.err conftest.$ac_objext \
17698
    conftest$ac_exeext conftest.$ac_ext
17699
LIBS=$ac_check_lib_save_LIBS
17700
fi
17701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
17702
$as_echo "$ac_cv_lib_m_ceil" >&6; }
17703
if test "x$ac_cv_lib_m_ceil" = x""yes; then :
17704
 
17705
$as_echo "#define HAVE_CEIL 1" >>confdefs.h
17706
 
17707
fi
17708
 
17709
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
17710
$as_echo_n "checking for ceill in -lm... " >&6; }
17711
if test "${ac_cv_lib_m_ceill+set}" = set; then :
17712
  $as_echo_n "(cached) " >&6
17713
else
17714
  ac_check_lib_save_LIBS=$LIBS
17715
LIBS="-lm  $LIBS"
17716
if test x$gcc_no_link = xyes; then
17717
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17718
fi
17719
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17720
/* end confdefs.h.  */
17721
 
17722
/* Override any GCC internal prototype to avoid an error.
17723
   Use char because int might match the return type of a GCC
17724
   builtin and then its argument prototype would still apply.  */
17725
#ifdef __cplusplus
17726
extern "C"
17727
#endif
17728
char ceill ();
17729
int
17730
main ()
17731
{
17732
return ceill ();
17733
  ;
17734
  return 0;
17735
}
17736
_ACEOF
17737
if ac_fn_c_try_link "$LINENO"; then :
17738
  ac_cv_lib_m_ceill=yes
17739
else
17740
  ac_cv_lib_m_ceill=no
17741
fi
17742
rm -f core conftest.err conftest.$ac_objext \
17743
    conftest$ac_exeext conftest.$ac_ext
17744
LIBS=$ac_check_lib_save_LIBS
17745
fi
17746
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceill" >&5
17747
$as_echo "$ac_cv_lib_m_ceill" >&6; }
17748
if test "x$ac_cv_lib_m_ceill" = x""yes; then :
17749
 
17750
$as_echo "#define HAVE_CEILL 1" >>confdefs.h
17751
 
17752
fi
17753
 
17754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17755
$as_echo_n "checking for copysignf in -lm... " >&6; }
17756
if test "${ac_cv_lib_m_copysignf+set}" = set; then :
17757
  $as_echo_n "(cached) " >&6
17758
else
17759
  ac_check_lib_save_LIBS=$LIBS
17760
LIBS="-lm  $LIBS"
17761
if test x$gcc_no_link = xyes; then
17762
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17763
fi
17764
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17765
/* end confdefs.h.  */
17766
 
17767
/* Override any GCC internal prototype to avoid an error.
17768
   Use char because int might match the return type of a GCC
17769
   builtin and then its argument prototype would still apply.  */
17770
#ifdef __cplusplus
17771
extern "C"
17772
#endif
17773
char copysignf ();
17774
int
17775
main ()
17776
{
17777
return copysignf ();
17778
  ;
17779
  return 0;
17780
}
17781
_ACEOF
17782
if ac_fn_c_try_link "$LINENO"; then :
17783
  ac_cv_lib_m_copysignf=yes
17784
else
17785
  ac_cv_lib_m_copysignf=no
17786
fi
17787
rm -f core conftest.err conftest.$ac_objext \
17788
    conftest$ac_exeext conftest.$ac_ext
17789
LIBS=$ac_check_lib_save_LIBS
17790
fi
17791
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignf" >&5
17792
$as_echo "$ac_cv_lib_m_copysignf" >&6; }
17793
if test "x$ac_cv_lib_m_copysignf" = x""yes; then :
17794
 
17795
$as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17796
 
17797
fi
17798
 
17799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17800
$as_echo_n "checking for copysign in -lm... " >&6; }
17801
if test "${ac_cv_lib_m_copysign+set}" = set; then :
17802
  $as_echo_n "(cached) " >&6
17803
else
17804
  ac_check_lib_save_LIBS=$LIBS
17805
LIBS="-lm  $LIBS"
17806
if test x$gcc_no_link = xyes; then
17807
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17808
fi
17809
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17810
/* end confdefs.h.  */
17811
 
17812
/* Override any GCC internal prototype to avoid an error.
17813
   Use char because int might match the return type of a GCC
17814
   builtin and then its argument prototype would still apply.  */
17815
#ifdef __cplusplus
17816
extern "C"
17817
#endif
17818
char copysign ();
17819
int
17820
main ()
17821
{
17822
return copysign ();
17823
  ;
17824
  return 0;
17825
}
17826
_ACEOF
17827
if ac_fn_c_try_link "$LINENO"; then :
17828
  ac_cv_lib_m_copysign=yes
17829
else
17830
  ac_cv_lib_m_copysign=no
17831
fi
17832
rm -f core conftest.err conftest.$ac_objext \
17833
    conftest$ac_exeext conftest.$ac_ext
17834
LIBS=$ac_check_lib_save_LIBS
17835
fi
17836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysign" >&5
17837
$as_echo "$ac_cv_lib_m_copysign" >&6; }
17838
if test "x$ac_cv_lib_m_copysign" = x""yes; then :
17839
 
17840
$as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17841
 
17842
fi
17843
 
17844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17845
$as_echo_n "checking for copysignl in -lm... " >&6; }
17846
if test "${ac_cv_lib_m_copysignl+set}" = set; then :
17847
  $as_echo_n "(cached) " >&6
17848
else
17849
  ac_check_lib_save_LIBS=$LIBS
17850
LIBS="-lm  $LIBS"
17851
if test x$gcc_no_link = xyes; then
17852
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17853
fi
17854
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17855
/* end confdefs.h.  */
17856
 
17857
/* Override any GCC internal prototype to avoid an error.
17858
   Use char because int might match the return type of a GCC
17859
   builtin and then its argument prototype would still apply.  */
17860
#ifdef __cplusplus
17861
extern "C"
17862
#endif
17863
char copysignl ();
17864
int
17865
main ()
17866
{
17867
return copysignl ();
17868
  ;
17869
  return 0;
17870
}
17871
_ACEOF
17872
if ac_fn_c_try_link "$LINENO"; then :
17873
  ac_cv_lib_m_copysignl=yes
17874
else
17875
  ac_cv_lib_m_copysignl=no
17876
fi
17877
rm -f core conftest.err conftest.$ac_objext \
17878
    conftest$ac_exeext conftest.$ac_ext
17879
LIBS=$ac_check_lib_save_LIBS
17880
fi
17881
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignl" >&5
17882
$as_echo "$ac_cv_lib_m_copysignl" >&6; }
17883
if test "x$ac_cv_lib_m_copysignl" = x""yes; then :
17884
 
17885
$as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
17886
 
17887
fi
17888
 
17889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
17890
$as_echo_n "checking for cosf in -lm... " >&6; }
17891
if test "${ac_cv_lib_m_cosf+set}" = set; then :
17892
  $as_echo_n "(cached) " >&6
17893
else
17894
  ac_check_lib_save_LIBS=$LIBS
17895
LIBS="-lm  $LIBS"
17896
if test x$gcc_no_link = xyes; then
17897
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17898
fi
17899
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17900
/* end confdefs.h.  */
17901
 
17902
/* Override any GCC internal prototype to avoid an error.
17903
   Use char because int might match the return type of a GCC
17904
   builtin and then its argument prototype would still apply.  */
17905
#ifdef __cplusplus
17906
extern "C"
17907
#endif
17908
char cosf ();
17909
int
17910
main ()
17911
{
17912
return cosf ();
17913
  ;
17914
  return 0;
17915
}
17916
_ACEOF
17917
if ac_fn_c_try_link "$LINENO"; then :
17918
  ac_cv_lib_m_cosf=yes
17919
else
17920
  ac_cv_lib_m_cosf=no
17921
fi
17922
rm -f core conftest.err conftest.$ac_objext \
17923
    conftest$ac_exeext conftest.$ac_ext
17924
LIBS=$ac_check_lib_save_LIBS
17925
fi
17926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
17927
$as_echo "$ac_cv_lib_m_cosf" >&6; }
17928
if test "x$ac_cv_lib_m_cosf" = x""yes; then :
17929
 
17930
$as_echo "#define HAVE_COSF 1" >>confdefs.h
17931
 
17932
fi
17933
 
17934
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
17935
$as_echo_n "checking for cos in -lm... " >&6; }
17936
if test "${ac_cv_lib_m_cos+set}" = set; then :
17937
  $as_echo_n "(cached) " >&6
17938
else
17939
  ac_check_lib_save_LIBS=$LIBS
17940
LIBS="-lm  $LIBS"
17941
if test x$gcc_no_link = xyes; then
17942
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17943
fi
17944
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17945
/* end confdefs.h.  */
17946
 
17947
/* Override any GCC internal prototype to avoid an error.
17948
   Use char because int might match the return type of a GCC
17949
   builtin and then its argument prototype would still apply.  */
17950
#ifdef __cplusplus
17951
extern "C"
17952
#endif
17953
char cos ();
17954
int
17955
main ()
17956
{
17957
return cos ();
17958
  ;
17959
  return 0;
17960
}
17961
_ACEOF
17962
if ac_fn_c_try_link "$LINENO"; then :
17963
  ac_cv_lib_m_cos=yes
17964
else
17965
  ac_cv_lib_m_cos=no
17966
fi
17967
rm -f core conftest.err conftest.$ac_objext \
17968
    conftest$ac_exeext conftest.$ac_ext
17969
LIBS=$ac_check_lib_save_LIBS
17970
fi
17971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
17972
$as_echo "$ac_cv_lib_m_cos" >&6; }
17973
if test "x$ac_cv_lib_m_cos" = x""yes; then :
17974
 
17975
$as_echo "#define HAVE_COS 1" >>confdefs.h
17976
 
17977
fi
17978
 
17979
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
17980
$as_echo_n "checking for cosl in -lm... " >&6; }
17981
if test "${ac_cv_lib_m_cosl+set}" = set; then :
17982
  $as_echo_n "(cached) " >&6
17983
else
17984
  ac_check_lib_save_LIBS=$LIBS
17985
LIBS="-lm  $LIBS"
17986
if test x$gcc_no_link = xyes; then
17987
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17988
fi
17989
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17990
/* end confdefs.h.  */
17991
 
17992
/* Override any GCC internal prototype to avoid an error.
17993
   Use char because int might match the return type of a GCC
17994
   builtin and then its argument prototype would still apply.  */
17995
#ifdef __cplusplus
17996
extern "C"
17997
#endif
17998
char cosl ();
17999
int
18000
main ()
18001
{
18002
return cosl ();
18003
  ;
18004
  return 0;
18005
}
18006
_ACEOF
18007
if ac_fn_c_try_link "$LINENO"; then :
18008
  ac_cv_lib_m_cosl=yes
18009
else
18010
  ac_cv_lib_m_cosl=no
18011
fi
18012
rm -f core conftest.err conftest.$ac_objext \
18013
    conftest$ac_exeext conftest.$ac_ext
18014
LIBS=$ac_check_lib_save_LIBS
18015
fi
18016
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosl" >&5
18017
$as_echo "$ac_cv_lib_m_cosl" >&6; }
18018
if test "x$ac_cv_lib_m_cosl" = x""yes; then :
18019
 
18020
$as_echo "#define HAVE_COSL 1" >>confdefs.h
18021
 
18022
fi
18023
 
18024
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
18025
$as_echo_n "checking for ccosf in -lm... " >&6; }
18026
if test "${ac_cv_lib_m_ccosf+set}" = set; then :
18027
  $as_echo_n "(cached) " >&6
18028
else
18029
  ac_check_lib_save_LIBS=$LIBS
18030
LIBS="-lm  $LIBS"
18031
if test x$gcc_no_link = xyes; then
18032
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18033
fi
18034
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18035
/* end confdefs.h.  */
18036
 
18037
/* Override any GCC internal prototype to avoid an error.
18038
   Use char because int might match the return type of a GCC
18039
   builtin and then its argument prototype would still apply.  */
18040
#ifdef __cplusplus
18041
extern "C"
18042
#endif
18043
char ccosf ();
18044
int
18045
main ()
18046
{
18047
return ccosf ();
18048
  ;
18049
  return 0;
18050
}
18051
_ACEOF
18052
if ac_fn_c_try_link "$LINENO"; then :
18053
  ac_cv_lib_m_ccosf=yes
18054
else
18055
  ac_cv_lib_m_ccosf=no
18056
fi
18057
rm -f core conftest.err conftest.$ac_objext \
18058
    conftest$ac_exeext conftest.$ac_ext
18059
LIBS=$ac_check_lib_save_LIBS
18060
fi
18061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosf" >&5
18062
$as_echo "$ac_cv_lib_m_ccosf" >&6; }
18063
if test "x$ac_cv_lib_m_ccosf" = x""yes; then :
18064
 
18065
$as_echo "#define HAVE_CCOSF 1" >>confdefs.h
18066
 
18067
fi
18068
 
18069
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
18070
$as_echo_n "checking for ccos in -lm... " >&6; }
18071
if test "${ac_cv_lib_m_ccos+set}" = set; then :
18072
  $as_echo_n "(cached) " >&6
18073
else
18074
  ac_check_lib_save_LIBS=$LIBS
18075
LIBS="-lm  $LIBS"
18076
if test x$gcc_no_link = xyes; then
18077
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18078
fi
18079
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18080
/* end confdefs.h.  */
18081
 
18082
/* Override any GCC internal prototype to avoid an error.
18083
   Use char because int might match the return type of a GCC
18084
   builtin and then its argument prototype would still apply.  */
18085
#ifdef __cplusplus
18086
extern "C"
18087
#endif
18088
char ccos ();
18089
int
18090
main ()
18091
{
18092
return ccos ();
18093
  ;
18094
  return 0;
18095
}
18096
_ACEOF
18097
if ac_fn_c_try_link "$LINENO"; then :
18098
  ac_cv_lib_m_ccos=yes
18099
else
18100
  ac_cv_lib_m_ccos=no
18101
fi
18102
rm -f core conftest.err conftest.$ac_objext \
18103
    conftest$ac_exeext conftest.$ac_ext
18104
LIBS=$ac_check_lib_save_LIBS
18105
fi
18106
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccos" >&5
18107
$as_echo "$ac_cv_lib_m_ccos" >&6; }
18108
if test "x$ac_cv_lib_m_ccos" = x""yes; then :
18109
 
18110
$as_echo "#define HAVE_CCOS 1" >>confdefs.h
18111
 
18112
fi
18113
 
18114
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
18115
$as_echo_n "checking for ccosl in -lm... " >&6; }
18116
if test "${ac_cv_lib_m_ccosl+set}" = set; then :
18117
  $as_echo_n "(cached) " >&6
18118
else
18119
  ac_check_lib_save_LIBS=$LIBS
18120
LIBS="-lm  $LIBS"
18121
if test x$gcc_no_link = xyes; then
18122
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18123
fi
18124
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18125
/* end confdefs.h.  */
18126
 
18127
/* Override any GCC internal prototype to avoid an error.
18128
   Use char because int might match the return type of a GCC
18129
   builtin and then its argument prototype would still apply.  */
18130
#ifdef __cplusplus
18131
extern "C"
18132
#endif
18133
char ccosl ();
18134
int
18135
main ()
18136
{
18137
return ccosl ();
18138
  ;
18139
  return 0;
18140
}
18141
_ACEOF
18142
if ac_fn_c_try_link "$LINENO"; then :
18143
  ac_cv_lib_m_ccosl=yes
18144
else
18145
  ac_cv_lib_m_ccosl=no
18146
fi
18147
rm -f core conftest.err conftest.$ac_objext \
18148
    conftest$ac_exeext conftest.$ac_ext
18149
LIBS=$ac_check_lib_save_LIBS
18150
fi
18151
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosl" >&5
18152
$as_echo "$ac_cv_lib_m_ccosl" >&6; }
18153
if test "x$ac_cv_lib_m_ccosl" = x""yes; then :
18154
 
18155
$as_echo "#define HAVE_CCOSL 1" >>confdefs.h
18156
 
18157
fi
18158
 
18159
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
18160
$as_echo_n "checking for coshf in -lm... " >&6; }
18161
if test "${ac_cv_lib_m_coshf+set}" = set; then :
18162
  $as_echo_n "(cached) " >&6
18163
else
18164
  ac_check_lib_save_LIBS=$LIBS
18165
LIBS="-lm  $LIBS"
18166
if test x$gcc_no_link = xyes; then
18167
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18168
fi
18169
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18170
/* end confdefs.h.  */
18171
 
18172
/* Override any GCC internal prototype to avoid an error.
18173
   Use char because int might match the return type of a GCC
18174
   builtin and then its argument prototype would still apply.  */
18175
#ifdef __cplusplus
18176
extern "C"
18177
#endif
18178
char coshf ();
18179
int
18180
main ()
18181
{
18182
return coshf ();
18183
  ;
18184
  return 0;
18185
}
18186
_ACEOF
18187
if ac_fn_c_try_link "$LINENO"; then :
18188
  ac_cv_lib_m_coshf=yes
18189
else
18190
  ac_cv_lib_m_coshf=no
18191
fi
18192
rm -f core conftest.err conftest.$ac_objext \
18193
    conftest$ac_exeext conftest.$ac_ext
18194
LIBS=$ac_check_lib_save_LIBS
18195
fi
18196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshf" >&5
18197
$as_echo "$ac_cv_lib_m_coshf" >&6; }
18198
if test "x$ac_cv_lib_m_coshf" = x""yes; then :
18199
 
18200
$as_echo "#define HAVE_COSHF 1" >>confdefs.h
18201
 
18202
fi
18203
 
18204
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
18205
$as_echo_n "checking for cosh in -lm... " >&6; }
18206
if test "${ac_cv_lib_m_cosh+set}" = set; then :
18207
  $as_echo_n "(cached) " >&6
18208
else
18209
  ac_check_lib_save_LIBS=$LIBS
18210
LIBS="-lm  $LIBS"
18211
if test x$gcc_no_link = xyes; then
18212
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18213
fi
18214
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18215
/* end confdefs.h.  */
18216
 
18217
/* Override any GCC internal prototype to avoid an error.
18218
   Use char because int might match the return type of a GCC
18219
   builtin and then its argument prototype would still apply.  */
18220
#ifdef __cplusplus
18221
extern "C"
18222
#endif
18223
char cosh ();
18224
int
18225
main ()
18226
{
18227
return cosh ();
18228
  ;
18229
  return 0;
18230
}
18231
_ACEOF
18232
if ac_fn_c_try_link "$LINENO"; then :
18233
  ac_cv_lib_m_cosh=yes
18234
else
18235
  ac_cv_lib_m_cosh=no
18236
fi
18237
rm -f core conftest.err conftest.$ac_objext \
18238
    conftest$ac_exeext conftest.$ac_ext
18239
LIBS=$ac_check_lib_save_LIBS
18240
fi
18241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosh" >&5
18242
$as_echo "$ac_cv_lib_m_cosh" >&6; }
18243
if test "x$ac_cv_lib_m_cosh" = x""yes; then :
18244
 
18245
$as_echo "#define HAVE_COSH 1" >>confdefs.h
18246
 
18247
fi
18248
 
18249
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
18250
$as_echo_n "checking for coshl in -lm... " >&6; }
18251
if test "${ac_cv_lib_m_coshl+set}" = set; then :
18252
  $as_echo_n "(cached) " >&6
18253
else
18254
  ac_check_lib_save_LIBS=$LIBS
18255
LIBS="-lm  $LIBS"
18256
if test x$gcc_no_link = xyes; then
18257
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18258
fi
18259
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18260
/* end confdefs.h.  */
18261
 
18262
/* Override any GCC internal prototype to avoid an error.
18263
   Use char because int might match the return type of a GCC
18264
   builtin and then its argument prototype would still apply.  */
18265
#ifdef __cplusplus
18266
extern "C"
18267
#endif
18268
char coshl ();
18269
int
18270
main ()
18271
{
18272
return coshl ();
18273
  ;
18274
  return 0;
18275
}
18276
_ACEOF
18277
if ac_fn_c_try_link "$LINENO"; then :
18278
  ac_cv_lib_m_coshl=yes
18279
else
18280
  ac_cv_lib_m_coshl=no
18281
fi
18282
rm -f core conftest.err conftest.$ac_objext \
18283
    conftest$ac_exeext conftest.$ac_ext
18284
LIBS=$ac_check_lib_save_LIBS
18285
fi
18286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshl" >&5
18287
$as_echo "$ac_cv_lib_m_coshl" >&6; }
18288
if test "x$ac_cv_lib_m_coshl" = x""yes; then :
18289
 
18290
$as_echo "#define HAVE_COSHL 1" >>confdefs.h
18291
 
18292
fi
18293
 
18294
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
18295
$as_echo_n "checking for ccoshf in -lm... " >&6; }
18296
if test "${ac_cv_lib_m_ccoshf+set}" = set; then :
18297
  $as_echo_n "(cached) " >&6
18298
else
18299
  ac_check_lib_save_LIBS=$LIBS
18300
LIBS="-lm  $LIBS"
18301
if test x$gcc_no_link = xyes; then
18302
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18303
fi
18304
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18305
/* end confdefs.h.  */
18306
 
18307
/* Override any GCC internal prototype to avoid an error.
18308
   Use char because int might match the return type of a GCC
18309
   builtin and then its argument prototype would still apply.  */
18310
#ifdef __cplusplus
18311
extern "C"
18312
#endif
18313
char ccoshf ();
18314
int
18315
main ()
18316
{
18317
return ccoshf ();
18318
  ;
18319
  return 0;
18320
}
18321
_ACEOF
18322
if ac_fn_c_try_link "$LINENO"; then :
18323
  ac_cv_lib_m_ccoshf=yes
18324
else
18325
  ac_cv_lib_m_ccoshf=no
18326
fi
18327
rm -f core conftest.err conftest.$ac_objext \
18328
    conftest$ac_exeext conftest.$ac_ext
18329
LIBS=$ac_check_lib_save_LIBS
18330
fi
18331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshf" >&5
18332
$as_echo "$ac_cv_lib_m_ccoshf" >&6; }
18333
if test "x$ac_cv_lib_m_ccoshf" = x""yes; then :
18334
 
18335
$as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
18336
 
18337
fi
18338
 
18339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
18340
$as_echo_n "checking for ccosh in -lm... " >&6; }
18341
if test "${ac_cv_lib_m_ccosh+set}" = set; then :
18342
  $as_echo_n "(cached) " >&6
18343
else
18344
  ac_check_lib_save_LIBS=$LIBS
18345
LIBS="-lm  $LIBS"
18346
if test x$gcc_no_link = xyes; then
18347
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18348
fi
18349
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18350
/* end confdefs.h.  */
18351
 
18352
/* Override any GCC internal prototype to avoid an error.
18353
   Use char because int might match the return type of a GCC
18354
   builtin and then its argument prototype would still apply.  */
18355
#ifdef __cplusplus
18356
extern "C"
18357
#endif
18358
char ccosh ();
18359
int
18360
main ()
18361
{
18362
return ccosh ();
18363
  ;
18364
  return 0;
18365
}
18366
_ACEOF
18367
if ac_fn_c_try_link "$LINENO"; then :
18368
  ac_cv_lib_m_ccosh=yes
18369
else
18370
  ac_cv_lib_m_ccosh=no
18371
fi
18372
rm -f core conftest.err conftest.$ac_objext \
18373
    conftest$ac_exeext conftest.$ac_ext
18374
LIBS=$ac_check_lib_save_LIBS
18375
fi
18376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosh" >&5
18377
$as_echo "$ac_cv_lib_m_ccosh" >&6; }
18378
if test "x$ac_cv_lib_m_ccosh" = x""yes; then :
18379
 
18380
$as_echo "#define HAVE_CCOSH 1" >>confdefs.h
18381
 
18382
fi
18383
 
18384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
18385
$as_echo_n "checking for ccoshl in -lm... " >&6; }
18386
if test "${ac_cv_lib_m_ccoshl+set}" = set; then :
18387
  $as_echo_n "(cached) " >&6
18388
else
18389
  ac_check_lib_save_LIBS=$LIBS
18390
LIBS="-lm  $LIBS"
18391
if test x$gcc_no_link = xyes; then
18392
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18393
fi
18394
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18395
/* end confdefs.h.  */
18396
 
18397
/* Override any GCC internal prototype to avoid an error.
18398
   Use char because int might match the return type of a GCC
18399
   builtin and then its argument prototype would still apply.  */
18400
#ifdef __cplusplus
18401
extern "C"
18402
#endif
18403
char ccoshl ();
18404
int
18405
main ()
18406
{
18407
return ccoshl ();
18408
  ;
18409
  return 0;
18410
}
18411
_ACEOF
18412
if ac_fn_c_try_link "$LINENO"; then :
18413
  ac_cv_lib_m_ccoshl=yes
18414
else
18415
  ac_cv_lib_m_ccoshl=no
18416
fi
18417
rm -f core conftest.err conftest.$ac_objext \
18418
    conftest$ac_exeext conftest.$ac_ext
18419
LIBS=$ac_check_lib_save_LIBS
18420
fi
18421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshl" >&5
18422
$as_echo "$ac_cv_lib_m_ccoshl" >&6; }
18423
if test "x$ac_cv_lib_m_ccoshl" = x""yes; then :
18424
 
18425
$as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
18426
 
18427
fi
18428
 
18429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
18430
$as_echo_n "checking for expf in -lm... " >&6; }
18431
if test "${ac_cv_lib_m_expf+set}" = set; then :
18432
  $as_echo_n "(cached) " >&6
18433
else
18434
  ac_check_lib_save_LIBS=$LIBS
18435
LIBS="-lm  $LIBS"
18436
if test x$gcc_no_link = xyes; then
18437
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18438
fi
18439
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18440
/* end confdefs.h.  */
18441
 
18442
/* Override any GCC internal prototype to avoid an error.
18443
   Use char because int might match the return type of a GCC
18444
   builtin and then its argument prototype would still apply.  */
18445
#ifdef __cplusplus
18446
extern "C"
18447
#endif
18448
char expf ();
18449
int
18450
main ()
18451
{
18452
return expf ();
18453
  ;
18454
  return 0;
18455
}
18456
_ACEOF
18457
if ac_fn_c_try_link "$LINENO"; then :
18458
  ac_cv_lib_m_expf=yes
18459
else
18460
  ac_cv_lib_m_expf=no
18461
fi
18462
rm -f core conftest.err conftest.$ac_objext \
18463
    conftest$ac_exeext conftest.$ac_ext
18464
LIBS=$ac_check_lib_save_LIBS
18465
fi
18466
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expf" >&5
18467
$as_echo "$ac_cv_lib_m_expf" >&6; }
18468
if test "x$ac_cv_lib_m_expf" = x""yes; then :
18469
 
18470
$as_echo "#define HAVE_EXPF 1" >>confdefs.h
18471
 
18472
fi
18473
 
18474
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
18475
$as_echo_n "checking for exp in -lm... " >&6; }
18476
if test "${ac_cv_lib_m_exp+set}" = set; then :
18477
  $as_echo_n "(cached) " >&6
18478
else
18479
  ac_check_lib_save_LIBS=$LIBS
18480
LIBS="-lm  $LIBS"
18481
if test x$gcc_no_link = xyes; then
18482
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18483
fi
18484
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18485
/* end confdefs.h.  */
18486
 
18487
/* Override any GCC internal prototype to avoid an error.
18488
   Use char because int might match the return type of a GCC
18489
   builtin and then its argument prototype would still apply.  */
18490
#ifdef __cplusplus
18491
extern "C"
18492
#endif
18493
char exp ();
18494
int
18495
main ()
18496
{
18497
return exp ();
18498
  ;
18499
  return 0;
18500
}
18501
_ACEOF
18502
if ac_fn_c_try_link "$LINENO"; then :
18503
  ac_cv_lib_m_exp=yes
18504
else
18505
  ac_cv_lib_m_exp=no
18506
fi
18507
rm -f core conftest.err conftest.$ac_objext \
18508
    conftest$ac_exeext conftest.$ac_ext
18509
LIBS=$ac_check_lib_save_LIBS
18510
fi
18511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
18512
$as_echo "$ac_cv_lib_m_exp" >&6; }
18513
if test "x$ac_cv_lib_m_exp" = x""yes; then :
18514
 
18515
$as_echo "#define HAVE_EXP 1" >>confdefs.h
18516
 
18517
fi
18518
 
18519
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
18520
$as_echo_n "checking for expl in -lm... " >&6; }
18521
if test "${ac_cv_lib_m_expl+set}" = set; then :
18522
  $as_echo_n "(cached) " >&6
18523
else
18524
  ac_check_lib_save_LIBS=$LIBS
18525
LIBS="-lm  $LIBS"
18526
if test x$gcc_no_link = xyes; then
18527
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18528
fi
18529
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18530
/* end confdefs.h.  */
18531
 
18532
/* Override any GCC internal prototype to avoid an error.
18533
   Use char because int might match the return type of a GCC
18534
   builtin and then its argument prototype would still apply.  */
18535
#ifdef __cplusplus
18536
extern "C"
18537
#endif
18538
char expl ();
18539
int
18540
main ()
18541
{
18542
return expl ();
18543
  ;
18544
  return 0;
18545
}
18546
_ACEOF
18547
if ac_fn_c_try_link "$LINENO"; then :
18548
  ac_cv_lib_m_expl=yes
18549
else
18550
  ac_cv_lib_m_expl=no
18551
fi
18552
rm -f core conftest.err conftest.$ac_objext \
18553
    conftest$ac_exeext conftest.$ac_ext
18554
LIBS=$ac_check_lib_save_LIBS
18555
fi
18556
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expl" >&5
18557
$as_echo "$ac_cv_lib_m_expl" >&6; }
18558
if test "x$ac_cv_lib_m_expl" = x""yes; then :
18559
 
18560
$as_echo "#define HAVE_EXPL 1" >>confdefs.h
18561
 
18562
fi
18563
 
18564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
18565
$as_echo_n "checking for cexpf in -lm... " >&6; }
18566
if test "${ac_cv_lib_m_cexpf+set}" = set; then :
18567
  $as_echo_n "(cached) " >&6
18568
else
18569
  ac_check_lib_save_LIBS=$LIBS
18570
LIBS="-lm  $LIBS"
18571
if test x$gcc_no_link = xyes; then
18572
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18573
fi
18574
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18575
/* end confdefs.h.  */
18576
 
18577
/* Override any GCC internal prototype to avoid an error.
18578
   Use char because int might match the return type of a GCC
18579
   builtin and then its argument prototype would still apply.  */
18580
#ifdef __cplusplus
18581
extern "C"
18582
#endif
18583
char cexpf ();
18584
int
18585
main ()
18586
{
18587
return cexpf ();
18588
  ;
18589
  return 0;
18590
}
18591
_ACEOF
18592
if ac_fn_c_try_link "$LINENO"; then :
18593
  ac_cv_lib_m_cexpf=yes
18594
else
18595
  ac_cv_lib_m_cexpf=no
18596
fi
18597
rm -f core conftest.err conftest.$ac_objext \
18598
    conftest$ac_exeext conftest.$ac_ext
18599
LIBS=$ac_check_lib_save_LIBS
18600
fi
18601
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpf" >&5
18602
$as_echo "$ac_cv_lib_m_cexpf" >&6; }
18603
if test "x$ac_cv_lib_m_cexpf" = x""yes; then :
18604
 
18605
$as_echo "#define HAVE_CEXPF 1" >>confdefs.h
18606
 
18607
fi
18608
 
18609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
18610
$as_echo_n "checking for cexp in -lm... " >&6; }
18611
if test "${ac_cv_lib_m_cexp+set}" = set; then :
18612
  $as_echo_n "(cached) " >&6
18613
else
18614
  ac_check_lib_save_LIBS=$LIBS
18615
LIBS="-lm  $LIBS"
18616
if test x$gcc_no_link = xyes; then
18617
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18618
fi
18619
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18620
/* end confdefs.h.  */
18621
 
18622
/* Override any GCC internal prototype to avoid an error.
18623
   Use char because int might match the return type of a GCC
18624
   builtin and then its argument prototype would still apply.  */
18625
#ifdef __cplusplus
18626
extern "C"
18627
#endif
18628
char cexp ();
18629
int
18630
main ()
18631
{
18632
return cexp ();
18633
  ;
18634
  return 0;
18635
}
18636
_ACEOF
18637
if ac_fn_c_try_link "$LINENO"; then :
18638
  ac_cv_lib_m_cexp=yes
18639
else
18640
  ac_cv_lib_m_cexp=no
18641
fi
18642
rm -f core conftest.err conftest.$ac_objext \
18643
    conftest$ac_exeext conftest.$ac_ext
18644
LIBS=$ac_check_lib_save_LIBS
18645
fi
18646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexp" >&5
18647
$as_echo "$ac_cv_lib_m_cexp" >&6; }
18648
if test "x$ac_cv_lib_m_cexp" = x""yes; then :
18649
 
18650
$as_echo "#define HAVE_CEXP 1" >>confdefs.h
18651
 
18652
fi
18653
 
18654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
18655
$as_echo_n "checking for cexpl in -lm... " >&6; }
18656
if test "${ac_cv_lib_m_cexpl+set}" = set; then :
18657
  $as_echo_n "(cached) " >&6
18658
else
18659
  ac_check_lib_save_LIBS=$LIBS
18660
LIBS="-lm  $LIBS"
18661
if test x$gcc_no_link = xyes; then
18662
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18663
fi
18664
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18665
/* end confdefs.h.  */
18666
 
18667
/* Override any GCC internal prototype to avoid an error.
18668
   Use char because int might match the return type of a GCC
18669
   builtin and then its argument prototype would still apply.  */
18670
#ifdef __cplusplus
18671
extern "C"
18672
#endif
18673
char cexpl ();
18674
int
18675
main ()
18676
{
18677
return cexpl ();
18678
  ;
18679
  return 0;
18680
}
18681
_ACEOF
18682
if ac_fn_c_try_link "$LINENO"; then :
18683
  ac_cv_lib_m_cexpl=yes
18684
else
18685
  ac_cv_lib_m_cexpl=no
18686
fi
18687
rm -f core conftest.err conftest.$ac_objext \
18688
    conftest$ac_exeext conftest.$ac_ext
18689
LIBS=$ac_check_lib_save_LIBS
18690
fi
18691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpl" >&5
18692
$as_echo "$ac_cv_lib_m_cexpl" >&6; }
18693
if test "x$ac_cv_lib_m_cexpl" = x""yes; then :
18694
 
18695
$as_echo "#define HAVE_CEXPL 1" >>confdefs.h
18696
 
18697
fi
18698
 
18699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
18700
$as_echo_n "checking for fabsf in -lm... " >&6; }
18701
if test "${ac_cv_lib_m_fabsf+set}" = set; then :
18702
  $as_echo_n "(cached) " >&6
18703
else
18704
  ac_check_lib_save_LIBS=$LIBS
18705
LIBS="-lm  $LIBS"
18706
if test x$gcc_no_link = xyes; then
18707
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18708
fi
18709
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18710
/* end confdefs.h.  */
18711
 
18712
/* Override any GCC internal prototype to avoid an error.
18713
   Use char because int might match the return type of a GCC
18714
   builtin and then its argument prototype would still apply.  */
18715
#ifdef __cplusplus
18716
extern "C"
18717
#endif
18718
char fabsf ();
18719
int
18720
main ()
18721
{
18722
return fabsf ();
18723
  ;
18724
  return 0;
18725
}
18726
_ACEOF
18727
if ac_fn_c_try_link "$LINENO"; then :
18728
  ac_cv_lib_m_fabsf=yes
18729
else
18730
  ac_cv_lib_m_fabsf=no
18731
fi
18732
rm -f core conftest.err conftest.$ac_objext \
18733
    conftest$ac_exeext conftest.$ac_ext
18734
LIBS=$ac_check_lib_save_LIBS
18735
fi
18736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
18737
$as_echo "$ac_cv_lib_m_fabsf" >&6; }
18738
if test "x$ac_cv_lib_m_fabsf" = x""yes; then :
18739
 
18740
$as_echo "#define HAVE_FABSF 1" >>confdefs.h
18741
 
18742
fi
18743
 
18744
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18745
$as_echo_n "checking for fabs in -lm... " >&6; }
18746
if test "${ac_cv_lib_m_fabs+set}" = set; then :
18747
  $as_echo_n "(cached) " >&6
18748
else
18749
  ac_check_lib_save_LIBS=$LIBS
18750
LIBS="-lm  $LIBS"
18751
if test x$gcc_no_link = xyes; then
18752
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18753
fi
18754
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18755
/* end confdefs.h.  */
18756
 
18757
/* Override any GCC internal prototype to avoid an error.
18758
   Use char because int might match the return type of a GCC
18759
   builtin and then its argument prototype would still apply.  */
18760
#ifdef __cplusplus
18761
extern "C"
18762
#endif
18763
char fabs ();
18764
int
18765
main ()
18766
{
18767
return fabs ();
18768
  ;
18769
  return 0;
18770
}
18771
_ACEOF
18772
if ac_fn_c_try_link "$LINENO"; then :
18773
  ac_cv_lib_m_fabs=yes
18774
else
18775
  ac_cv_lib_m_fabs=no
18776
fi
18777
rm -f core conftest.err conftest.$ac_objext \
18778
    conftest$ac_exeext conftest.$ac_ext
18779
LIBS=$ac_check_lib_save_LIBS
18780
fi
18781
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
18782
$as_echo "$ac_cv_lib_m_fabs" >&6; }
18783
if test "x$ac_cv_lib_m_fabs" = x""yes; then :
18784
 
18785
$as_echo "#define HAVE_FABS 1" >>confdefs.h
18786
 
18787
fi
18788
 
18789
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18790
$as_echo_n "checking for fabsl in -lm... " >&6; }
18791
if test "${ac_cv_lib_m_fabsl+set}" = set; then :
18792
  $as_echo_n "(cached) " >&6
18793
else
18794
  ac_check_lib_save_LIBS=$LIBS
18795
LIBS="-lm  $LIBS"
18796
if test x$gcc_no_link = xyes; then
18797
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18798
fi
18799
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18800
/* end confdefs.h.  */
18801
 
18802
/* Override any GCC internal prototype to avoid an error.
18803
   Use char because int might match the return type of a GCC
18804
   builtin and then its argument prototype would still apply.  */
18805
#ifdef __cplusplus
18806
extern "C"
18807
#endif
18808
char fabsl ();
18809
int
18810
main ()
18811
{
18812
return fabsl ();
18813
  ;
18814
  return 0;
18815
}
18816
_ACEOF
18817
if ac_fn_c_try_link "$LINENO"; then :
18818
  ac_cv_lib_m_fabsl=yes
18819
else
18820
  ac_cv_lib_m_fabsl=no
18821
fi
18822
rm -f core conftest.err conftest.$ac_objext \
18823
    conftest$ac_exeext conftest.$ac_ext
18824
LIBS=$ac_check_lib_save_LIBS
18825
fi
18826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsl" >&5
18827
$as_echo "$ac_cv_lib_m_fabsl" >&6; }
18828
if test "x$ac_cv_lib_m_fabsl" = x""yes; then :
18829
 
18830
$as_echo "#define HAVE_FABSL 1" >>confdefs.h
18831
 
18832
fi
18833
 
18834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18835
$as_echo_n "checking for cabsf in -lm... " >&6; }
18836
if test "${ac_cv_lib_m_cabsf+set}" = set; then :
18837
  $as_echo_n "(cached) " >&6
18838
else
18839
  ac_check_lib_save_LIBS=$LIBS
18840
LIBS="-lm  $LIBS"
18841
if test x$gcc_no_link = xyes; then
18842
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18843
fi
18844
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18845
/* end confdefs.h.  */
18846
 
18847
/* Override any GCC internal prototype to avoid an error.
18848
   Use char because int might match the return type of a GCC
18849
   builtin and then its argument prototype would still apply.  */
18850
#ifdef __cplusplus
18851
extern "C"
18852
#endif
18853
char cabsf ();
18854
int
18855
main ()
18856
{
18857
return cabsf ();
18858
  ;
18859
  return 0;
18860
}
18861
_ACEOF
18862
if ac_fn_c_try_link "$LINENO"; then :
18863
  ac_cv_lib_m_cabsf=yes
18864
else
18865
  ac_cv_lib_m_cabsf=no
18866
fi
18867
rm -f core conftest.err conftest.$ac_objext \
18868
    conftest$ac_exeext conftest.$ac_ext
18869
LIBS=$ac_check_lib_save_LIBS
18870
fi
18871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsf" >&5
18872
$as_echo "$ac_cv_lib_m_cabsf" >&6; }
18873
if test "x$ac_cv_lib_m_cabsf" = x""yes; then :
18874
 
18875
$as_echo "#define HAVE_CABSF 1" >>confdefs.h
18876
 
18877
fi
18878
 
18879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
18880
$as_echo_n "checking for cabs in -lm... " >&6; }
18881
if test "${ac_cv_lib_m_cabs+set}" = set; then :
18882
  $as_echo_n "(cached) " >&6
18883
else
18884
  ac_check_lib_save_LIBS=$LIBS
18885
LIBS="-lm  $LIBS"
18886
if test x$gcc_no_link = xyes; then
18887
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18888
fi
18889
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18890
/* end confdefs.h.  */
18891
 
18892
/* Override any GCC internal prototype to avoid an error.
18893
   Use char because int might match the return type of a GCC
18894
   builtin and then its argument prototype would still apply.  */
18895
#ifdef __cplusplus
18896
extern "C"
18897
#endif
18898
char cabs ();
18899
int
18900
main ()
18901
{
18902
return cabs ();
18903
  ;
18904
  return 0;
18905
}
18906
_ACEOF
18907
if ac_fn_c_try_link "$LINENO"; then :
18908
  ac_cv_lib_m_cabs=yes
18909
else
18910
  ac_cv_lib_m_cabs=no
18911
fi
18912
rm -f core conftest.err conftest.$ac_objext \
18913
    conftest$ac_exeext conftest.$ac_ext
18914
LIBS=$ac_check_lib_save_LIBS
18915
fi
18916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabs" >&5
18917
$as_echo "$ac_cv_lib_m_cabs" >&6; }
18918
if test "x$ac_cv_lib_m_cabs" = x""yes; then :
18919
 
18920
$as_echo "#define HAVE_CABS 1" >>confdefs.h
18921
 
18922
fi
18923
 
18924
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
18925
$as_echo_n "checking for cabsl in -lm... " >&6; }
18926
if test "${ac_cv_lib_m_cabsl+set}" = set; then :
18927
  $as_echo_n "(cached) " >&6
18928
else
18929
  ac_check_lib_save_LIBS=$LIBS
18930
LIBS="-lm  $LIBS"
18931
if test x$gcc_no_link = xyes; then
18932
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18933
fi
18934
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18935
/* end confdefs.h.  */
18936
 
18937
/* Override any GCC internal prototype to avoid an error.
18938
   Use char because int might match the return type of a GCC
18939
   builtin and then its argument prototype would still apply.  */
18940
#ifdef __cplusplus
18941
extern "C"
18942
#endif
18943
char cabsl ();
18944
int
18945
main ()
18946
{
18947
return cabsl ();
18948
  ;
18949
  return 0;
18950
}
18951
_ACEOF
18952
if ac_fn_c_try_link "$LINENO"; then :
18953
  ac_cv_lib_m_cabsl=yes
18954
else
18955
  ac_cv_lib_m_cabsl=no
18956
fi
18957
rm -f core conftest.err conftest.$ac_objext \
18958
    conftest$ac_exeext conftest.$ac_ext
18959
LIBS=$ac_check_lib_save_LIBS
18960
fi
18961
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsl" >&5
18962
$as_echo "$ac_cv_lib_m_cabsl" >&6; }
18963
if test "x$ac_cv_lib_m_cabsl" = x""yes; then :
18964
 
18965
$as_echo "#define HAVE_CABSL 1" >>confdefs.h
18966
 
18967
fi
18968
 
18969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
18970
$as_echo_n "checking for floorf in -lm... " >&6; }
18971
if test "${ac_cv_lib_m_floorf+set}" = set; then :
18972
  $as_echo_n "(cached) " >&6
18973
else
18974
  ac_check_lib_save_LIBS=$LIBS
18975
LIBS="-lm  $LIBS"
18976
if test x$gcc_no_link = xyes; then
18977
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18978
fi
18979
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18980
/* end confdefs.h.  */
18981
 
18982
/* Override any GCC internal prototype to avoid an error.
18983
   Use char because int might match the return type of a GCC
18984
   builtin and then its argument prototype would still apply.  */
18985
#ifdef __cplusplus
18986
extern "C"
18987
#endif
18988
char floorf ();
18989
int
18990
main ()
18991
{
18992
return floorf ();
18993
  ;
18994
  return 0;
18995
}
18996
_ACEOF
18997
if ac_fn_c_try_link "$LINENO"; then :
18998
  ac_cv_lib_m_floorf=yes
18999
else
19000
  ac_cv_lib_m_floorf=no
19001
fi
19002
rm -f core conftest.err conftest.$ac_objext \
19003
    conftest$ac_exeext conftest.$ac_ext
19004
LIBS=$ac_check_lib_save_LIBS
19005
fi
19006
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorf" >&5
19007
$as_echo "$ac_cv_lib_m_floorf" >&6; }
19008
if test "x$ac_cv_lib_m_floorf" = x""yes; then :
19009
 
19010
$as_echo "#define HAVE_FLOORF 1" >>confdefs.h
19011
 
19012
fi
19013
 
19014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
19015
$as_echo_n "checking for floor in -lm... " >&6; }
19016
if test "${ac_cv_lib_m_floor+set}" = set; then :
19017
  $as_echo_n "(cached) " >&6
19018
else
19019
  ac_check_lib_save_LIBS=$LIBS
19020
LIBS="-lm  $LIBS"
19021
if test x$gcc_no_link = xyes; then
19022
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19023
fi
19024
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19025
/* end confdefs.h.  */
19026
 
19027
/* Override any GCC internal prototype to avoid an error.
19028
   Use char because int might match the return type of a GCC
19029
   builtin and then its argument prototype would still apply.  */
19030
#ifdef __cplusplus
19031
extern "C"
19032
#endif
19033
char floor ();
19034
int
19035
main ()
19036
{
19037
return floor ();
19038
  ;
19039
  return 0;
19040
}
19041
_ACEOF
19042
if ac_fn_c_try_link "$LINENO"; then :
19043
  ac_cv_lib_m_floor=yes
19044
else
19045
  ac_cv_lib_m_floor=no
19046
fi
19047
rm -f core conftest.err conftest.$ac_objext \
19048
    conftest$ac_exeext conftest.$ac_ext
19049
LIBS=$ac_check_lib_save_LIBS
19050
fi
19051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
19052
$as_echo "$ac_cv_lib_m_floor" >&6; }
19053
if test "x$ac_cv_lib_m_floor" = x""yes; then :
19054
 
19055
$as_echo "#define HAVE_FLOOR 1" >>confdefs.h
19056
 
19057
fi
19058
 
19059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
19060
$as_echo_n "checking for floorl in -lm... " >&6; }
19061
if test "${ac_cv_lib_m_floorl+set}" = set; then :
19062
  $as_echo_n "(cached) " >&6
19063
else
19064
  ac_check_lib_save_LIBS=$LIBS
19065
LIBS="-lm  $LIBS"
19066
if test x$gcc_no_link = xyes; then
19067
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19068
fi
19069
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19070
/* end confdefs.h.  */
19071
 
19072
/* Override any GCC internal prototype to avoid an error.
19073
   Use char because int might match the return type of a GCC
19074
   builtin and then its argument prototype would still apply.  */
19075
#ifdef __cplusplus
19076
extern "C"
19077
#endif
19078
char floorl ();
19079
int
19080
main ()
19081
{
19082
return floorl ();
19083
  ;
19084
  return 0;
19085
}
19086
_ACEOF
19087
if ac_fn_c_try_link "$LINENO"; then :
19088
  ac_cv_lib_m_floorl=yes
19089
else
19090
  ac_cv_lib_m_floorl=no
19091
fi
19092
rm -f core conftest.err conftest.$ac_objext \
19093
    conftest$ac_exeext conftest.$ac_ext
19094
LIBS=$ac_check_lib_save_LIBS
19095
fi
19096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorl" >&5
19097
$as_echo "$ac_cv_lib_m_floorl" >&6; }
19098
if test "x$ac_cv_lib_m_floorl" = x""yes; then :
19099
 
19100
$as_echo "#define HAVE_FLOORL 1" >>confdefs.h
19101
 
19102
fi
19103
 
19104
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
19105
$as_echo_n "checking for fmodf in -lm... " >&6; }
19106
if test "${ac_cv_lib_m_fmodf+set}" = set; then :
19107
  $as_echo_n "(cached) " >&6
19108
else
19109
  ac_check_lib_save_LIBS=$LIBS
19110
LIBS="-lm  $LIBS"
19111
if test x$gcc_no_link = xyes; then
19112
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19113
fi
19114
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19115
/* end confdefs.h.  */
19116
 
19117
/* Override any GCC internal prototype to avoid an error.
19118
   Use char because int might match the return type of a GCC
19119
   builtin and then its argument prototype would still apply.  */
19120
#ifdef __cplusplus
19121
extern "C"
19122
#endif
19123
char fmodf ();
19124
int
19125
main ()
19126
{
19127
return fmodf ();
19128
  ;
19129
  return 0;
19130
}
19131
_ACEOF
19132
if ac_fn_c_try_link "$LINENO"; then :
19133
  ac_cv_lib_m_fmodf=yes
19134
else
19135
  ac_cv_lib_m_fmodf=no
19136
fi
19137
rm -f core conftest.err conftest.$ac_objext \
19138
    conftest$ac_exeext conftest.$ac_ext
19139
LIBS=$ac_check_lib_save_LIBS
19140
fi
19141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodf" >&5
19142
$as_echo "$ac_cv_lib_m_fmodf" >&6; }
19143
if test "x$ac_cv_lib_m_fmodf" = x""yes; then :
19144
 
19145
$as_echo "#define HAVE_FMODF 1" >>confdefs.h
19146
 
19147
fi
19148
 
19149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
19150
$as_echo_n "checking for fmod in -lm... " >&6; }
19151
if test "${ac_cv_lib_m_fmod+set}" = set; then :
19152
  $as_echo_n "(cached) " >&6
19153
else
19154
  ac_check_lib_save_LIBS=$LIBS
19155
LIBS="-lm  $LIBS"
19156
if test x$gcc_no_link = xyes; then
19157
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19158
fi
19159
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19160
/* end confdefs.h.  */
19161
 
19162
/* Override any GCC internal prototype to avoid an error.
19163
   Use char because int might match the return type of a GCC
19164
   builtin and then its argument prototype would still apply.  */
19165
#ifdef __cplusplus
19166
extern "C"
19167
#endif
19168
char fmod ();
19169
int
19170
main ()
19171
{
19172
return fmod ();
19173
  ;
19174
  return 0;
19175
}
19176
_ACEOF
19177
if ac_fn_c_try_link "$LINENO"; then :
19178
  ac_cv_lib_m_fmod=yes
19179
else
19180
  ac_cv_lib_m_fmod=no
19181
fi
19182
rm -f core conftest.err conftest.$ac_objext \
19183
    conftest$ac_exeext conftest.$ac_ext
19184
LIBS=$ac_check_lib_save_LIBS
19185
fi
19186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5
19187
$as_echo "$ac_cv_lib_m_fmod" >&6; }
19188
if test "x$ac_cv_lib_m_fmod" = x""yes; then :
19189
 
19190
$as_echo "#define HAVE_FMOD 1" >>confdefs.h
19191
 
19192
fi
19193
 
19194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
19195
$as_echo_n "checking for fmodl in -lm... " >&6; }
19196
if test "${ac_cv_lib_m_fmodl+set}" = set; then :
19197
  $as_echo_n "(cached) " >&6
19198
else
19199
  ac_check_lib_save_LIBS=$LIBS
19200
LIBS="-lm  $LIBS"
19201
if test x$gcc_no_link = xyes; then
19202
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19203
fi
19204
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19205
/* end confdefs.h.  */
19206
 
19207
/* Override any GCC internal prototype to avoid an error.
19208
   Use char because int might match the return type of a GCC
19209
   builtin and then its argument prototype would still apply.  */
19210
#ifdef __cplusplus
19211
extern "C"
19212
#endif
19213
char fmodl ();
19214
int
19215
main ()
19216
{
19217
return fmodl ();
19218
  ;
19219
  return 0;
19220
}
19221
_ACEOF
19222
if ac_fn_c_try_link "$LINENO"; then :
19223
  ac_cv_lib_m_fmodl=yes
19224
else
19225
  ac_cv_lib_m_fmodl=no
19226
fi
19227
rm -f core conftest.err conftest.$ac_objext \
19228
    conftest$ac_exeext conftest.$ac_ext
19229
LIBS=$ac_check_lib_save_LIBS
19230
fi
19231
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodl" >&5
19232
$as_echo "$ac_cv_lib_m_fmodl" >&6; }
19233
if test "x$ac_cv_lib_m_fmodl" = x""yes; then :
19234
 
19235
$as_echo "#define HAVE_FMODL 1" >>confdefs.h
19236
 
19237
fi
19238
 
19239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
19240
$as_echo_n "checking for frexpf in -lm... " >&6; }
19241
if test "${ac_cv_lib_m_frexpf+set}" = set; then :
19242
  $as_echo_n "(cached) " >&6
19243
else
19244
  ac_check_lib_save_LIBS=$LIBS
19245
LIBS="-lm  $LIBS"
19246
if test x$gcc_no_link = xyes; then
19247
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19248
fi
19249
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19250
/* end confdefs.h.  */
19251
 
19252
/* Override any GCC internal prototype to avoid an error.
19253
   Use char because int might match the return type of a GCC
19254
   builtin and then its argument prototype would still apply.  */
19255
#ifdef __cplusplus
19256
extern "C"
19257
#endif
19258
char frexpf ();
19259
int
19260
main ()
19261
{
19262
return frexpf ();
19263
  ;
19264
  return 0;
19265
}
19266
_ACEOF
19267
if ac_fn_c_try_link "$LINENO"; then :
19268
  ac_cv_lib_m_frexpf=yes
19269
else
19270
  ac_cv_lib_m_frexpf=no
19271
fi
19272
rm -f core conftest.err conftest.$ac_objext \
19273
    conftest$ac_exeext conftest.$ac_ext
19274
LIBS=$ac_check_lib_save_LIBS
19275
fi
19276
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpf" >&5
19277
$as_echo "$ac_cv_lib_m_frexpf" >&6; }
19278
if test "x$ac_cv_lib_m_frexpf" = x""yes; then :
19279
 
19280
$as_echo "#define HAVE_FREXPF 1" >>confdefs.h
19281
 
19282
fi
19283
 
19284
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
19285
$as_echo_n "checking for frexp in -lm... " >&6; }
19286
if test "${ac_cv_lib_m_frexp+set}" = set; then :
19287
  $as_echo_n "(cached) " >&6
19288
else
19289
  ac_check_lib_save_LIBS=$LIBS
19290
LIBS="-lm  $LIBS"
19291
if test x$gcc_no_link = xyes; then
19292
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19293
fi
19294
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19295
/* end confdefs.h.  */
19296
 
19297
/* Override any GCC internal prototype to avoid an error.
19298
   Use char because int might match the return type of a GCC
19299
   builtin and then its argument prototype would still apply.  */
19300
#ifdef __cplusplus
19301
extern "C"
19302
#endif
19303
char frexp ();
19304
int
19305
main ()
19306
{
19307
return frexp ();
19308
  ;
19309
  return 0;
19310
}
19311
_ACEOF
19312
if ac_fn_c_try_link "$LINENO"; then :
19313
  ac_cv_lib_m_frexp=yes
19314
else
19315
  ac_cv_lib_m_frexp=no
19316
fi
19317
rm -f core conftest.err conftest.$ac_objext \
19318
    conftest$ac_exeext conftest.$ac_ext
19319
LIBS=$ac_check_lib_save_LIBS
19320
fi
19321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexp" >&5
19322
$as_echo "$ac_cv_lib_m_frexp" >&6; }
19323
if test "x$ac_cv_lib_m_frexp" = x""yes; then :
19324
 
19325
$as_echo "#define HAVE_FREXP 1" >>confdefs.h
19326
 
19327
fi
19328
 
19329
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
19330
$as_echo_n "checking for frexpl in -lm... " >&6; }
19331
if test "${ac_cv_lib_m_frexpl+set}" = set; then :
19332
  $as_echo_n "(cached) " >&6
19333
else
19334
  ac_check_lib_save_LIBS=$LIBS
19335
LIBS="-lm  $LIBS"
19336
if test x$gcc_no_link = xyes; then
19337
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19338
fi
19339
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19340
/* end confdefs.h.  */
19341
 
19342
/* Override any GCC internal prototype to avoid an error.
19343
   Use char because int might match the return type of a GCC
19344
   builtin and then its argument prototype would still apply.  */
19345
#ifdef __cplusplus
19346
extern "C"
19347
#endif
19348
char frexpl ();
19349
int
19350
main ()
19351
{
19352
return frexpl ();
19353
  ;
19354
  return 0;
19355
}
19356
_ACEOF
19357
if ac_fn_c_try_link "$LINENO"; then :
19358
  ac_cv_lib_m_frexpl=yes
19359
else
19360
  ac_cv_lib_m_frexpl=no
19361
fi
19362
rm -f core conftest.err conftest.$ac_objext \
19363
    conftest$ac_exeext conftest.$ac_ext
19364
LIBS=$ac_check_lib_save_LIBS
19365
fi
19366
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpl" >&5
19367
$as_echo "$ac_cv_lib_m_frexpl" >&6; }
19368
if test "x$ac_cv_lib_m_frexpl" = x""yes; then :
19369
 
19370
$as_echo "#define HAVE_FREXPL 1" >>confdefs.h
19371
 
19372
fi
19373
 
19374
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
19375
$as_echo_n "checking for hypotf in -lm... " >&6; }
19376
if test "${ac_cv_lib_m_hypotf+set}" = set; then :
19377
  $as_echo_n "(cached) " >&6
19378
else
19379
  ac_check_lib_save_LIBS=$LIBS
19380
LIBS="-lm  $LIBS"
19381
if test x$gcc_no_link = xyes; then
19382
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19383
fi
19384
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19385
/* end confdefs.h.  */
19386
 
19387
/* Override any GCC internal prototype to avoid an error.
19388
   Use char because int might match the return type of a GCC
19389
   builtin and then its argument prototype would still apply.  */
19390
#ifdef __cplusplus
19391
extern "C"
19392
#endif
19393
char hypotf ();
19394
int
19395
main ()
19396
{
19397
return hypotf ();
19398
  ;
19399
  return 0;
19400
}
19401
_ACEOF
19402
if ac_fn_c_try_link "$LINENO"; then :
19403
  ac_cv_lib_m_hypotf=yes
19404
else
19405
  ac_cv_lib_m_hypotf=no
19406
fi
19407
rm -f core conftest.err conftest.$ac_objext \
19408
    conftest$ac_exeext conftest.$ac_ext
19409
LIBS=$ac_check_lib_save_LIBS
19410
fi
19411
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotf" >&5
19412
$as_echo "$ac_cv_lib_m_hypotf" >&6; }
19413
if test "x$ac_cv_lib_m_hypotf" = x""yes; then :
19414
 
19415
$as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
19416
 
19417
fi
19418
 
19419
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
19420
$as_echo_n "checking for hypot in -lm... " >&6; }
19421
if test "${ac_cv_lib_m_hypot+set}" = set; then :
19422
  $as_echo_n "(cached) " >&6
19423
else
19424
  ac_check_lib_save_LIBS=$LIBS
19425
LIBS="-lm  $LIBS"
19426
if test x$gcc_no_link = xyes; then
19427
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19428
fi
19429
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19430
/* end confdefs.h.  */
19431
 
19432
/* Override any GCC internal prototype to avoid an error.
19433
   Use char because int might match the return type of a GCC
19434
   builtin and then its argument prototype would still apply.  */
19435
#ifdef __cplusplus
19436
extern "C"
19437
#endif
19438
char hypot ();
19439
int
19440
main ()
19441
{
19442
return hypot ();
19443
  ;
19444
  return 0;
19445
}
19446
_ACEOF
19447
if ac_fn_c_try_link "$LINENO"; then :
19448
  ac_cv_lib_m_hypot=yes
19449
else
19450
  ac_cv_lib_m_hypot=no
19451
fi
19452
rm -f core conftest.err conftest.$ac_objext \
19453
    conftest$ac_exeext conftest.$ac_ext
19454
LIBS=$ac_check_lib_save_LIBS
19455
fi
19456
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
19457
$as_echo "$ac_cv_lib_m_hypot" >&6; }
19458
if test "x$ac_cv_lib_m_hypot" = x""yes; then :
19459
 
19460
$as_echo "#define HAVE_HYPOT 1" >>confdefs.h
19461
 
19462
fi
19463
 
19464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
19465
$as_echo_n "checking for hypotl in -lm... " >&6; }
19466
if test "${ac_cv_lib_m_hypotl+set}" = set; then :
19467
  $as_echo_n "(cached) " >&6
19468
else
19469
  ac_check_lib_save_LIBS=$LIBS
19470
LIBS="-lm  $LIBS"
19471
if test x$gcc_no_link = xyes; then
19472
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19473
fi
19474
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19475
/* end confdefs.h.  */
19476
 
19477
/* Override any GCC internal prototype to avoid an error.
19478
   Use char because int might match the return type of a GCC
19479
   builtin and then its argument prototype would still apply.  */
19480
#ifdef __cplusplus
19481
extern "C"
19482
#endif
19483
char hypotl ();
19484
int
19485
main ()
19486
{
19487
return hypotl ();
19488
  ;
19489
  return 0;
19490
}
19491
_ACEOF
19492
if ac_fn_c_try_link "$LINENO"; then :
19493
  ac_cv_lib_m_hypotl=yes
19494
else
19495
  ac_cv_lib_m_hypotl=no
19496
fi
19497
rm -f core conftest.err conftest.$ac_objext \
19498
    conftest$ac_exeext conftest.$ac_ext
19499
LIBS=$ac_check_lib_save_LIBS
19500
fi
19501
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotl" >&5
19502
$as_echo "$ac_cv_lib_m_hypotl" >&6; }
19503
if test "x$ac_cv_lib_m_hypotl" = x""yes; then :
19504
 
19505
$as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
19506
 
19507
fi
19508
 
19509
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
19510
$as_echo_n "checking for ldexpf in -lm... " >&6; }
19511
if test "${ac_cv_lib_m_ldexpf+set}" = set; then :
19512
  $as_echo_n "(cached) " >&6
19513
else
19514
  ac_check_lib_save_LIBS=$LIBS
19515
LIBS="-lm  $LIBS"
19516
if test x$gcc_no_link = xyes; then
19517
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19518
fi
19519
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19520
/* end confdefs.h.  */
19521
 
19522
/* Override any GCC internal prototype to avoid an error.
19523
   Use char because int might match the return type of a GCC
19524
   builtin and then its argument prototype would still apply.  */
19525
#ifdef __cplusplus
19526
extern "C"
19527
#endif
19528
char ldexpf ();
19529
int
19530
main ()
19531
{
19532
return ldexpf ();
19533
  ;
19534
  return 0;
19535
}
19536
_ACEOF
19537
if ac_fn_c_try_link "$LINENO"; then :
19538
  ac_cv_lib_m_ldexpf=yes
19539
else
19540
  ac_cv_lib_m_ldexpf=no
19541
fi
19542
rm -f core conftest.err conftest.$ac_objext \
19543
    conftest$ac_exeext conftest.$ac_ext
19544
LIBS=$ac_check_lib_save_LIBS
19545
fi
19546
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpf" >&5
19547
$as_echo "$ac_cv_lib_m_ldexpf" >&6; }
19548
if test "x$ac_cv_lib_m_ldexpf" = x""yes; then :
19549
 
19550
$as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
19551
 
19552
fi
19553
 
19554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
19555
$as_echo_n "checking for ldexp in -lm... " >&6; }
19556
if test "${ac_cv_lib_m_ldexp+set}" = set; then :
19557
  $as_echo_n "(cached) " >&6
19558
else
19559
  ac_check_lib_save_LIBS=$LIBS
19560
LIBS="-lm  $LIBS"
19561
if test x$gcc_no_link = xyes; then
19562
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19563
fi
19564
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19565
/* end confdefs.h.  */
19566
 
19567
/* Override any GCC internal prototype to avoid an error.
19568
   Use char because int might match the return type of a GCC
19569
   builtin and then its argument prototype would still apply.  */
19570
#ifdef __cplusplus
19571
extern "C"
19572
#endif
19573
char ldexp ();
19574
int
19575
main ()
19576
{
19577
return ldexp ();
19578
  ;
19579
  return 0;
19580
}
19581
_ACEOF
19582
if ac_fn_c_try_link "$LINENO"; then :
19583
  ac_cv_lib_m_ldexp=yes
19584
else
19585
  ac_cv_lib_m_ldexp=no
19586
fi
19587
rm -f core conftest.err conftest.$ac_objext \
19588
    conftest$ac_exeext conftest.$ac_ext
19589
LIBS=$ac_check_lib_save_LIBS
19590
fi
19591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexp" >&5
19592
$as_echo "$ac_cv_lib_m_ldexp" >&6; }
19593
if test "x$ac_cv_lib_m_ldexp" = x""yes; then :
19594
 
19595
$as_echo "#define HAVE_LDEXP 1" >>confdefs.h
19596
 
19597
fi
19598
 
19599
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
19600
$as_echo_n "checking for ldexpl in -lm... " >&6; }
19601
if test "${ac_cv_lib_m_ldexpl+set}" = set; then :
19602
  $as_echo_n "(cached) " >&6
19603
else
19604
  ac_check_lib_save_LIBS=$LIBS
19605
LIBS="-lm  $LIBS"
19606
if test x$gcc_no_link = xyes; then
19607
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19608
fi
19609
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19610
/* end confdefs.h.  */
19611
 
19612
/* Override any GCC internal prototype to avoid an error.
19613
   Use char because int might match the return type of a GCC
19614
   builtin and then its argument prototype would still apply.  */
19615
#ifdef __cplusplus
19616
extern "C"
19617
#endif
19618
char ldexpl ();
19619
int
19620
main ()
19621
{
19622
return ldexpl ();
19623
  ;
19624
  return 0;
19625
}
19626
_ACEOF
19627
if ac_fn_c_try_link "$LINENO"; then :
19628
  ac_cv_lib_m_ldexpl=yes
19629
else
19630
  ac_cv_lib_m_ldexpl=no
19631
fi
19632
rm -f core conftest.err conftest.$ac_objext \
19633
    conftest$ac_exeext conftest.$ac_ext
19634
LIBS=$ac_check_lib_save_LIBS
19635
fi
19636
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpl" >&5
19637
$as_echo "$ac_cv_lib_m_ldexpl" >&6; }
19638
if test "x$ac_cv_lib_m_ldexpl" = x""yes; then :
19639
 
19640
$as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
19641
 
19642
fi
19643
 
19644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
19645
$as_echo_n "checking for logf in -lm... " >&6; }
19646
if test "${ac_cv_lib_m_logf+set}" = set; then :
19647
  $as_echo_n "(cached) " >&6
19648
else
19649
  ac_check_lib_save_LIBS=$LIBS
19650
LIBS="-lm  $LIBS"
19651
if test x$gcc_no_link = xyes; then
19652
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19653
fi
19654
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19655
/* end confdefs.h.  */
19656
 
19657
/* Override any GCC internal prototype to avoid an error.
19658
   Use char because int might match the return type of a GCC
19659
   builtin and then its argument prototype would still apply.  */
19660
#ifdef __cplusplus
19661
extern "C"
19662
#endif
19663
char logf ();
19664
int
19665
main ()
19666
{
19667
return logf ();
19668
  ;
19669
  return 0;
19670
}
19671
_ACEOF
19672
if ac_fn_c_try_link "$LINENO"; then :
19673
  ac_cv_lib_m_logf=yes
19674
else
19675
  ac_cv_lib_m_logf=no
19676
fi
19677
rm -f core conftest.err conftest.$ac_objext \
19678
    conftest$ac_exeext conftest.$ac_ext
19679
LIBS=$ac_check_lib_save_LIBS
19680
fi
19681
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logf" >&5
19682
$as_echo "$ac_cv_lib_m_logf" >&6; }
19683
if test "x$ac_cv_lib_m_logf" = x""yes; then :
19684
 
19685
$as_echo "#define HAVE_LOGF 1" >>confdefs.h
19686
 
19687
fi
19688
 
19689
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
19690
$as_echo_n "checking for log in -lm... " >&6; }
19691
if test "${ac_cv_lib_m_log+set}" = set; then :
19692
  $as_echo_n "(cached) " >&6
19693
else
19694
  ac_check_lib_save_LIBS=$LIBS
19695
LIBS="-lm  $LIBS"
19696
if test x$gcc_no_link = xyes; then
19697
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19698
fi
19699
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19700
/* end confdefs.h.  */
19701
 
19702
/* Override any GCC internal prototype to avoid an error.
19703
   Use char because int might match the return type of a GCC
19704
   builtin and then its argument prototype would still apply.  */
19705
#ifdef __cplusplus
19706
extern "C"
19707
#endif
19708
char log ();
19709
int
19710
main ()
19711
{
19712
return log ();
19713
  ;
19714
  return 0;
19715
}
19716
_ACEOF
19717
if ac_fn_c_try_link "$LINENO"; then :
19718
  ac_cv_lib_m_log=yes
19719
else
19720
  ac_cv_lib_m_log=no
19721
fi
19722
rm -f core conftest.err conftest.$ac_objext \
19723
    conftest$ac_exeext conftest.$ac_ext
19724
LIBS=$ac_check_lib_save_LIBS
19725
fi
19726
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
19727
$as_echo "$ac_cv_lib_m_log" >&6; }
19728
if test "x$ac_cv_lib_m_log" = x""yes; then :
19729
 
19730
$as_echo "#define HAVE_LOG 1" >>confdefs.h
19731
 
19732
fi
19733
 
19734
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19735
$as_echo_n "checking for logl in -lm... " >&6; }
19736
if test "${ac_cv_lib_m_logl+set}" = set; then :
19737
  $as_echo_n "(cached) " >&6
19738
else
19739
  ac_check_lib_save_LIBS=$LIBS
19740
LIBS="-lm  $LIBS"
19741
if test x$gcc_no_link = xyes; then
19742
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19743
fi
19744
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19745
/* end confdefs.h.  */
19746
 
19747
/* Override any GCC internal prototype to avoid an error.
19748
   Use char because int might match the return type of a GCC
19749
   builtin and then its argument prototype would still apply.  */
19750
#ifdef __cplusplus
19751
extern "C"
19752
#endif
19753
char logl ();
19754
int
19755
main ()
19756
{
19757
return logl ();
19758
  ;
19759
  return 0;
19760
}
19761
_ACEOF
19762
if ac_fn_c_try_link "$LINENO"; then :
19763
  ac_cv_lib_m_logl=yes
19764
else
19765
  ac_cv_lib_m_logl=no
19766
fi
19767
rm -f core conftest.err conftest.$ac_objext \
19768
    conftest$ac_exeext conftest.$ac_ext
19769
LIBS=$ac_check_lib_save_LIBS
19770
fi
19771
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logl" >&5
19772
$as_echo "$ac_cv_lib_m_logl" >&6; }
19773
if test "x$ac_cv_lib_m_logl" = x""yes; then :
19774
 
19775
$as_echo "#define HAVE_LOGL 1" >>confdefs.h
19776
 
19777
fi
19778
 
19779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19780
$as_echo_n "checking for clogf in -lm... " >&6; }
19781
if test "${ac_cv_lib_m_clogf+set}" = set; then :
19782
  $as_echo_n "(cached) " >&6
19783
else
19784
  ac_check_lib_save_LIBS=$LIBS
19785
LIBS="-lm  $LIBS"
19786
if test x$gcc_no_link = xyes; then
19787
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19788
fi
19789
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19790
/* end confdefs.h.  */
19791
 
19792
/* Override any GCC internal prototype to avoid an error.
19793
   Use char because int might match the return type of a GCC
19794
   builtin and then its argument prototype would still apply.  */
19795
#ifdef __cplusplus
19796
extern "C"
19797
#endif
19798
char clogf ();
19799
int
19800
main ()
19801
{
19802
return clogf ();
19803
  ;
19804
  return 0;
19805
}
19806
_ACEOF
19807
if ac_fn_c_try_link "$LINENO"; then :
19808
  ac_cv_lib_m_clogf=yes
19809
else
19810
  ac_cv_lib_m_clogf=no
19811
fi
19812
rm -f core conftest.err conftest.$ac_objext \
19813
    conftest$ac_exeext conftest.$ac_ext
19814
LIBS=$ac_check_lib_save_LIBS
19815
fi
19816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogf" >&5
19817
$as_echo "$ac_cv_lib_m_clogf" >&6; }
19818
if test "x$ac_cv_lib_m_clogf" = x""yes; then :
19819
 
19820
$as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19821
 
19822
fi
19823
 
19824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19825
$as_echo_n "checking for clog in -lm... " >&6; }
19826
if test "${ac_cv_lib_m_clog+set}" = set; then :
19827
  $as_echo_n "(cached) " >&6
19828
else
19829
  ac_check_lib_save_LIBS=$LIBS
19830
LIBS="-lm  $LIBS"
19831
if test x$gcc_no_link = xyes; then
19832
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19833
fi
19834
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19835
/* end confdefs.h.  */
19836
 
19837
/* Override any GCC internal prototype to avoid an error.
19838
   Use char because int might match the return type of a GCC
19839
   builtin and then its argument prototype would still apply.  */
19840
#ifdef __cplusplus
19841
extern "C"
19842
#endif
19843
char clog ();
19844
int
19845
main ()
19846
{
19847
return clog ();
19848
  ;
19849
  return 0;
19850
}
19851
_ACEOF
19852
if ac_fn_c_try_link "$LINENO"; then :
19853
  ac_cv_lib_m_clog=yes
19854
else
19855
  ac_cv_lib_m_clog=no
19856
fi
19857
rm -f core conftest.err conftest.$ac_objext \
19858
    conftest$ac_exeext conftest.$ac_ext
19859
LIBS=$ac_check_lib_save_LIBS
19860
fi
19861
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog" >&5
19862
$as_echo "$ac_cv_lib_m_clog" >&6; }
19863
if test "x$ac_cv_lib_m_clog" = x""yes; then :
19864
 
19865
$as_echo "#define HAVE_CLOG 1" >>confdefs.h
19866
 
19867
fi
19868
 
19869
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19870
$as_echo_n "checking for clogl in -lm... " >&6; }
19871
if test "${ac_cv_lib_m_clogl+set}" = set; then :
19872
  $as_echo_n "(cached) " >&6
19873
else
19874
  ac_check_lib_save_LIBS=$LIBS
19875
LIBS="-lm  $LIBS"
19876
if test x$gcc_no_link = xyes; then
19877
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19878
fi
19879
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19880
/* end confdefs.h.  */
19881
 
19882
/* Override any GCC internal prototype to avoid an error.
19883
   Use char because int might match the return type of a GCC
19884
   builtin and then its argument prototype would still apply.  */
19885
#ifdef __cplusplus
19886
extern "C"
19887
#endif
19888
char clogl ();
19889
int
19890
main ()
19891
{
19892
return clogl ();
19893
  ;
19894
  return 0;
19895
}
19896
_ACEOF
19897
if ac_fn_c_try_link "$LINENO"; then :
19898
  ac_cv_lib_m_clogl=yes
19899
else
19900
  ac_cv_lib_m_clogl=no
19901
fi
19902
rm -f core conftest.err conftest.$ac_objext \
19903
    conftest$ac_exeext conftest.$ac_ext
19904
LIBS=$ac_check_lib_save_LIBS
19905
fi
19906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogl" >&5
19907
$as_echo "$ac_cv_lib_m_clogl" >&6; }
19908
if test "x$ac_cv_lib_m_clogl" = x""yes; then :
19909
 
19910
$as_echo "#define HAVE_CLOGL 1" >>confdefs.h
19911
 
19912
fi
19913
 
19914
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
19915
$as_echo_n "checking for log10f in -lm... " >&6; }
19916
if test "${ac_cv_lib_m_log10f+set}" = set; then :
19917
  $as_echo_n "(cached) " >&6
19918
else
19919
  ac_check_lib_save_LIBS=$LIBS
19920
LIBS="-lm  $LIBS"
19921
if test x$gcc_no_link = xyes; then
19922
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19923
fi
19924
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19925
/* end confdefs.h.  */
19926
 
19927
/* Override any GCC internal prototype to avoid an error.
19928
   Use char because int might match the return type of a GCC
19929
   builtin and then its argument prototype would still apply.  */
19930
#ifdef __cplusplus
19931
extern "C"
19932
#endif
19933
char log10f ();
19934
int
19935
main ()
19936
{
19937
return log10f ();
19938
  ;
19939
  return 0;
19940
}
19941
_ACEOF
19942
if ac_fn_c_try_link "$LINENO"; then :
19943
  ac_cv_lib_m_log10f=yes
19944
else
19945
  ac_cv_lib_m_log10f=no
19946
fi
19947
rm -f core conftest.err conftest.$ac_objext \
19948
    conftest$ac_exeext conftest.$ac_ext
19949
LIBS=$ac_check_lib_save_LIBS
19950
fi
19951
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10f" >&5
19952
$as_echo "$ac_cv_lib_m_log10f" >&6; }
19953
if test "x$ac_cv_lib_m_log10f" = x""yes; then :
19954
 
19955
$as_echo "#define HAVE_LOG10F 1" >>confdefs.h
19956
 
19957
fi
19958
 
19959
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
19960
$as_echo_n "checking for log10 in -lm... " >&6; }
19961
if test "${ac_cv_lib_m_log10+set}" = set; then :
19962
  $as_echo_n "(cached) " >&6
19963
else
19964
  ac_check_lib_save_LIBS=$LIBS
19965
LIBS="-lm  $LIBS"
19966
if test x$gcc_no_link = xyes; then
19967
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19968
fi
19969
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19970
/* end confdefs.h.  */
19971
 
19972
/* Override any GCC internal prototype to avoid an error.
19973
   Use char because int might match the return type of a GCC
19974
   builtin and then its argument prototype would still apply.  */
19975
#ifdef __cplusplus
19976
extern "C"
19977
#endif
19978
char log10 ();
19979
int
19980
main ()
19981
{
19982
return log10 ();
19983
  ;
19984
  return 0;
19985
}
19986
_ACEOF
19987
if ac_fn_c_try_link "$LINENO"; then :
19988
  ac_cv_lib_m_log10=yes
19989
else
19990
  ac_cv_lib_m_log10=no
19991
fi
19992
rm -f core conftest.err conftest.$ac_objext \
19993
    conftest$ac_exeext conftest.$ac_ext
19994
LIBS=$ac_check_lib_save_LIBS
19995
fi
19996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
19997
$as_echo "$ac_cv_lib_m_log10" >&6; }
19998
if test "x$ac_cv_lib_m_log10" = x""yes; then :
19999
 
20000
$as_echo "#define HAVE_LOG10 1" >>confdefs.h
20001
 
20002
fi
20003
 
20004
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
20005
$as_echo_n "checking for log10l in -lm... " >&6; }
20006
if test "${ac_cv_lib_m_log10l+set}" = set; then :
20007
  $as_echo_n "(cached) " >&6
20008
else
20009
  ac_check_lib_save_LIBS=$LIBS
20010
LIBS="-lm  $LIBS"
20011
if test x$gcc_no_link = xyes; then
20012
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20013
fi
20014
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20015
/* end confdefs.h.  */
20016
 
20017
/* Override any GCC internal prototype to avoid an error.
20018
   Use char because int might match the return type of a GCC
20019
   builtin and then its argument prototype would still apply.  */
20020
#ifdef __cplusplus
20021
extern "C"
20022
#endif
20023
char log10l ();
20024
int
20025
main ()
20026
{
20027
return log10l ();
20028
  ;
20029
  return 0;
20030
}
20031
_ACEOF
20032
if ac_fn_c_try_link "$LINENO"; then :
20033
  ac_cv_lib_m_log10l=yes
20034
else
20035
  ac_cv_lib_m_log10l=no
20036
fi
20037
rm -f core conftest.err conftest.$ac_objext \
20038
    conftest$ac_exeext conftest.$ac_ext
20039
LIBS=$ac_check_lib_save_LIBS
20040
fi
20041
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10l" >&5
20042
$as_echo "$ac_cv_lib_m_log10l" >&6; }
20043
if test "x$ac_cv_lib_m_log10l" = x""yes; then :
20044
 
20045
$as_echo "#define HAVE_LOG10L 1" >>confdefs.h
20046
 
20047
fi
20048
 
20049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
20050
$as_echo_n "checking for clog10f in -lm... " >&6; }
20051
if test "${ac_cv_lib_m_clog10f+set}" = set; then :
20052
  $as_echo_n "(cached) " >&6
20053
else
20054
  ac_check_lib_save_LIBS=$LIBS
20055
LIBS="-lm  $LIBS"
20056
if test x$gcc_no_link = xyes; then
20057
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20058
fi
20059
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20060
/* end confdefs.h.  */
20061
 
20062
/* Override any GCC internal prototype to avoid an error.
20063
   Use char because int might match the return type of a GCC
20064
   builtin and then its argument prototype would still apply.  */
20065
#ifdef __cplusplus
20066
extern "C"
20067
#endif
20068
char clog10f ();
20069
int
20070
main ()
20071
{
20072
return clog10f ();
20073
  ;
20074
  return 0;
20075
}
20076
_ACEOF
20077
if ac_fn_c_try_link "$LINENO"; then :
20078
  ac_cv_lib_m_clog10f=yes
20079
else
20080
  ac_cv_lib_m_clog10f=no
20081
fi
20082
rm -f core conftest.err conftest.$ac_objext \
20083
    conftest$ac_exeext conftest.$ac_ext
20084
LIBS=$ac_check_lib_save_LIBS
20085
fi
20086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10f" >&5
20087
$as_echo "$ac_cv_lib_m_clog10f" >&6; }
20088
if test "x$ac_cv_lib_m_clog10f" = x""yes; then :
20089
 
20090
$as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
20091
 
20092
fi
20093
 
20094
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
20095
$as_echo_n "checking for clog10 in -lm... " >&6; }
20096
if test "${ac_cv_lib_m_clog10+set}" = set; then :
20097
  $as_echo_n "(cached) " >&6
20098
else
20099
  ac_check_lib_save_LIBS=$LIBS
20100
LIBS="-lm  $LIBS"
20101
if test x$gcc_no_link = xyes; then
20102
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20103
fi
20104
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20105
/* end confdefs.h.  */
20106
 
20107
/* Override any GCC internal prototype to avoid an error.
20108
   Use char because int might match the return type of a GCC
20109
   builtin and then its argument prototype would still apply.  */
20110
#ifdef __cplusplus
20111
extern "C"
20112
#endif
20113
char clog10 ();
20114
int
20115
main ()
20116
{
20117
return clog10 ();
20118
  ;
20119
  return 0;
20120
}
20121
_ACEOF
20122
if ac_fn_c_try_link "$LINENO"; then :
20123
  ac_cv_lib_m_clog10=yes
20124
else
20125
  ac_cv_lib_m_clog10=no
20126
fi
20127
rm -f core conftest.err conftest.$ac_objext \
20128
    conftest$ac_exeext conftest.$ac_ext
20129
LIBS=$ac_check_lib_save_LIBS
20130
fi
20131
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10" >&5
20132
$as_echo "$ac_cv_lib_m_clog10" >&6; }
20133
if test "x$ac_cv_lib_m_clog10" = x""yes; then :
20134
 
20135
$as_echo "#define HAVE_CLOG10 1" >>confdefs.h
20136
 
20137
fi
20138
 
20139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
20140
$as_echo_n "checking for clog10l in -lm... " >&6; }
20141
if test "${ac_cv_lib_m_clog10l+set}" = set; then :
20142
  $as_echo_n "(cached) " >&6
20143
else
20144
  ac_check_lib_save_LIBS=$LIBS
20145
LIBS="-lm  $LIBS"
20146
if test x$gcc_no_link = xyes; then
20147
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20148
fi
20149
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20150
/* end confdefs.h.  */
20151
 
20152
/* Override any GCC internal prototype to avoid an error.
20153
   Use char because int might match the return type of a GCC
20154
   builtin and then its argument prototype would still apply.  */
20155
#ifdef __cplusplus
20156
extern "C"
20157
#endif
20158
char clog10l ();
20159
int
20160
main ()
20161
{
20162
return clog10l ();
20163
  ;
20164
  return 0;
20165
}
20166
_ACEOF
20167
if ac_fn_c_try_link "$LINENO"; then :
20168
  ac_cv_lib_m_clog10l=yes
20169
else
20170
  ac_cv_lib_m_clog10l=no
20171
fi
20172
rm -f core conftest.err conftest.$ac_objext \
20173
    conftest$ac_exeext conftest.$ac_ext
20174
LIBS=$ac_check_lib_save_LIBS
20175
fi
20176
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10l" >&5
20177
$as_echo "$ac_cv_lib_m_clog10l" >&6; }
20178
if test "x$ac_cv_lib_m_clog10l" = x""yes; then :
20179
 
20180
$as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
20181
 
20182
fi
20183
 
20184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
20185
$as_echo_n "checking for nextafterf in -lm... " >&6; }
20186
if test "${ac_cv_lib_m_nextafterf+set}" = set; then :
20187
  $as_echo_n "(cached) " >&6
20188
else
20189
  ac_check_lib_save_LIBS=$LIBS
20190
LIBS="-lm  $LIBS"
20191
if test x$gcc_no_link = xyes; then
20192
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20193
fi
20194
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20195
/* end confdefs.h.  */
20196
 
20197
/* Override any GCC internal prototype to avoid an error.
20198
   Use char because int might match the return type of a GCC
20199
   builtin and then its argument prototype would still apply.  */
20200
#ifdef __cplusplus
20201
extern "C"
20202
#endif
20203
char nextafterf ();
20204
int
20205
main ()
20206
{
20207
return nextafterf ();
20208
  ;
20209
  return 0;
20210
}
20211
_ACEOF
20212
if ac_fn_c_try_link "$LINENO"; then :
20213
  ac_cv_lib_m_nextafterf=yes
20214
else
20215
  ac_cv_lib_m_nextafterf=no
20216
fi
20217
rm -f core conftest.err conftest.$ac_objext \
20218
    conftest$ac_exeext conftest.$ac_ext
20219
LIBS=$ac_check_lib_save_LIBS
20220
fi
20221
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterf" >&5
20222
$as_echo "$ac_cv_lib_m_nextafterf" >&6; }
20223
if test "x$ac_cv_lib_m_nextafterf" = x""yes; then :
20224
 
20225
$as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
20226
 
20227
fi
20228
 
20229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
20230
$as_echo_n "checking for nextafter in -lm... " >&6; }
20231
if test "${ac_cv_lib_m_nextafter+set}" = set; then :
20232
  $as_echo_n "(cached) " >&6
20233
else
20234
  ac_check_lib_save_LIBS=$LIBS
20235
LIBS="-lm  $LIBS"
20236
if test x$gcc_no_link = xyes; then
20237
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20238
fi
20239
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20240
/* end confdefs.h.  */
20241
 
20242
/* Override any GCC internal prototype to avoid an error.
20243
   Use char because int might match the return type of a GCC
20244
   builtin and then its argument prototype would still apply.  */
20245
#ifdef __cplusplus
20246
extern "C"
20247
#endif
20248
char nextafter ();
20249
int
20250
main ()
20251
{
20252
return nextafter ();
20253
  ;
20254
  return 0;
20255
}
20256
_ACEOF
20257
if ac_fn_c_try_link "$LINENO"; then :
20258
  ac_cv_lib_m_nextafter=yes
20259
else
20260
  ac_cv_lib_m_nextafter=no
20261
fi
20262
rm -f core conftest.err conftest.$ac_objext \
20263
    conftest$ac_exeext conftest.$ac_ext
20264
LIBS=$ac_check_lib_save_LIBS
20265
fi
20266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafter" >&5
20267
$as_echo "$ac_cv_lib_m_nextafter" >&6; }
20268
if test "x$ac_cv_lib_m_nextafter" = x""yes; then :
20269
 
20270
$as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
20271
 
20272
fi
20273
 
20274
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
20275
$as_echo_n "checking for nextafterl in -lm... " >&6; }
20276
if test "${ac_cv_lib_m_nextafterl+set}" = set; then :
20277
  $as_echo_n "(cached) " >&6
20278
else
20279
  ac_check_lib_save_LIBS=$LIBS
20280
LIBS="-lm  $LIBS"
20281
if test x$gcc_no_link = xyes; then
20282
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20283
fi
20284
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20285
/* end confdefs.h.  */
20286
 
20287
/* Override any GCC internal prototype to avoid an error.
20288
   Use char because int might match the return type of a GCC
20289
   builtin and then its argument prototype would still apply.  */
20290
#ifdef __cplusplus
20291
extern "C"
20292
#endif
20293
char nextafterl ();
20294
int
20295
main ()
20296
{
20297
return nextafterl ();
20298
  ;
20299
  return 0;
20300
}
20301
_ACEOF
20302
if ac_fn_c_try_link "$LINENO"; then :
20303
  ac_cv_lib_m_nextafterl=yes
20304
else
20305
  ac_cv_lib_m_nextafterl=no
20306
fi
20307
rm -f core conftest.err conftest.$ac_objext \
20308
    conftest$ac_exeext conftest.$ac_ext
20309
LIBS=$ac_check_lib_save_LIBS
20310
fi
20311
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterl" >&5
20312
$as_echo "$ac_cv_lib_m_nextafterl" >&6; }
20313
if test "x$ac_cv_lib_m_nextafterl" = x""yes; then :
20314
 
20315
$as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
20316
 
20317
fi
20318
 
20319
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
20320
$as_echo_n "checking for powf in -lm... " >&6; }
20321
if test "${ac_cv_lib_m_powf+set}" = set; then :
20322
  $as_echo_n "(cached) " >&6
20323
else
20324
  ac_check_lib_save_LIBS=$LIBS
20325
LIBS="-lm  $LIBS"
20326
if test x$gcc_no_link = xyes; then
20327
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20328
fi
20329
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20330
/* end confdefs.h.  */
20331
 
20332
/* Override any GCC internal prototype to avoid an error.
20333
   Use char because int might match the return type of a GCC
20334
   builtin and then its argument prototype would still apply.  */
20335
#ifdef __cplusplus
20336
extern "C"
20337
#endif
20338
char powf ();
20339
int
20340
main ()
20341
{
20342
return powf ();
20343
  ;
20344
  return 0;
20345
}
20346
_ACEOF
20347
if ac_fn_c_try_link "$LINENO"; then :
20348
  ac_cv_lib_m_powf=yes
20349
else
20350
  ac_cv_lib_m_powf=no
20351
fi
20352
rm -f core conftest.err conftest.$ac_objext \
20353
    conftest$ac_exeext conftest.$ac_ext
20354
LIBS=$ac_check_lib_save_LIBS
20355
fi
20356
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powf" >&5
20357
$as_echo "$ac_cv_lib_m_powf" >&6; }
20358
if test "x$ac_cv_lib_m_powf" = x""yes; then :
20359
 
20360
$as_echo "#define HAVE_POWF 1" >>confdefs.h
20361
 
20362
fi
20363
 
20364
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
20365
$as_echo_n "checking for pow in -lm... " >&6; }
20366
if test "${ac_cv_lib_m_pow+set}" = set; then :
20367
  $as_echo_n "(cached) " >&6
20368
else
20369
  ac_check_lib_save_LIBS=$LIBS
20370
LIBS="-lm  $LIBS"
20371
if test x$gcc_no_link = xyes; then
20372
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20373
fi
20374
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20375
/* end confdefs.h.  */
20376
 
20377
/* Override any GCC internal prototype to avoid an error.
20378
   Use char because int might match the return type of a GCC
20379
   builtin and then its argument prototype would still apply.  */
20380
#ifdef __cplusplus
20381
extern "C"
20382
#endif
20383
char pow ();
20384
int
20385
main ()
20386
{
20387
return pow ();
20388
  ;
20389
  return 0;
20390
}
20391
_ACEOF
20392
if ac_fn_c_try_link "$LINENO"; then :
20393
  ac_cv_lib_m_pow=yes
20394
else
20395
  ac_cv_lib_m_pow=no
20396
fi
20397
rm -f core conftest.err conftest.$ac_objext \
20398
    conftest$ac_exeext conftest.$ac_ext
20399
LIBS=$ac_check_lib_save_LIBS
20400
fi
20401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
20402
$as_echo "$ac_cv_lib_m_pow" >&6; }
20403
if test "x$ac_cv_lib_m_pow" = x""yes; then :
20404
 
20405
$as_echo "#define HAVE_POW 1" >>confdefs.h
20406
 
20407
fi
20408
 
20409
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
20410
$as_echo_n "checking for powl in -lm... " >&6; }
20411
if test "${ac_cv_lib_m_powl+set}" = set; then :
20412
  $as_echo_n "(cached) " >&6
20413
else
20414
  ac_check_lib_save_LIBS=$LIBS
20415
LIBS="-lm  $LIBS"
20416
if test x$gcc_no_link = xyes; then
20417
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20418
fi
20419
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20420
/* end confdefs.h.  */
20421
 
20422
/* Override any GCC internal prototype to avoid an error.
20423
   Use char because int might match the return type of a GCC
20424
   builtin and then its argument prototype would still apply.  */
20425
#ifdef __cplusplus
20426
extern "C"
20427
#endif
20428
char powl ();
20429
int
20430
main ()
20431
{
20432
return powl ();
20433
  ;
20434
  return 0;
20435
}
20436
_ACEOF
20437
if ac_fn_c_try_link "$LINENO"; then :
20438
  ac_cv_lib_m_powl=yes
20439
else
20440
  ac_cv_lib_m_powl=no
20441
fi
20442
rm -f core conftest.err conftest.$ac_objext \
20443
    conftest$ac_exeext conftest.$ac_ext
20444
LIBS=$ac_check_lib_save_LIBS
20445
fi
20446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powl" >&5
20447
$as_echo "$ac_cv_lib_m_powl" >&6; }
20448
if test "x$ac_cv_lib_m_powl" = x""yes; then :
20449
 
20450
$as_echo "#define HAVE_POWL 1" >>confdefs.h
20451
 
20452
fi
20453
 
20454
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
20455
$as_echo_n "checking for cpowf in -lm... " >&6; }
20456
if test "${ac_cv_lib_m_cpowf+set}" = set; then :
20457
  $as_echo_n "(cached) " >&6
20458
else
20459
  ac_check_lib_save_LIBS=$LIBS
20460
LIBS="-lm  $LIBS"
20461
if test x$gcc_no_link = xyes; then
20462
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20463
fi
20464
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20465
/* end confdefs.h.  */
20466
 
20467
/* Override any GCC internal prototype to avoid an error.
20468
   Use char because int might match the return type of a GCC
20469
   builtin and then its argument prototype would still apply.  */
20470
#ifdef __cplusplus
20471
extern "C"
20472
#endif
20473
char cpowf ();
20474
int
20475
main ()
20476
{
20477
return cpowf ();
20478
  ;
20479
  return 0;
20480
}
20481
_ACEOF
20482
if ac_fn_c_try_link "$LINENO"; then :
20483
  ac_cv_lib_m_cpowf=yes
20484
else
20485
  ac_cv_lib_m_cpowf=no
20486
fi
20487
rm -f core conftest.err conftest.$ac_objext \
20488
    conftest$ac_exeext conftest.$ac_ext
20489
LIBS=$ac_check_lib_save_LIBS
20490
fi
20491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowf" >&5
20492
$as_echo "$ac_cv_lib_m_cpowf" >&6; }
20493
if test "x$ac_cv_lib_m_cpowf" = x""yes; then :
20494
 
20495
$as_echo "#define HAVE_CPOWF 1" >>confdefs.h
20496
 
20497
fi
20498
 
20499
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
20500
$as_echo_n "checking for cpow in -lm... " >&6; }
20501
if test "${ac_cv_lib_m_cpow+set}" = set; then :
20502
  $as_echo_n "(cached) " >&6
20503
else
20504
  ac_check_lib_save_LIBS=$LIBS
20505
LIBS="-lm  $LIBS"
20506
if test x$gcc_no_link = xyes; then
20507
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20508
fi
20509
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20510
/* end confdefs.h.  */
20511
 
20512
/* Override any GCC internal prototype to avoid an error.
20513
   Use char because int might match the return type of a GCC
20514
   builtin and then its argument prototype would still apply.  */
20515
#ifdef __cplusplus
20516
extern "C"
20517
#endif
20518
char cpow ();
20519
int
20520
main ()
20521
{
20522
return cpow ();
20523
  ;
20524
  return 0;
20525
}
20526
_ACEOF
20527
if ac_fn_c_try_link "$LINENO"; then :
20528
  ac_cv_lib_m_cpow=yes
20529
else
20530
  ac_cv_lib_m_cpow=no
20531
fi
20532
rm -f core conftest.err conftest.$ac_objext \
20533
    conftest$ac_exeext conftest.$ac_ext
20534
LIBS=$ac_check_lib_save_LIBS
20535
fi
20536
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpow" >&5
20537
$as_echo "$ac_cv_lib_m_cpow" >&6; }
20538
if test "x$ac_cv_lib_m_cpow" = x""yes; then :
20539
 
20540
$as_echo "#define HAVE_CPOW 1" >>confdefs.h
20541
 
20542
fi
20543
 
20544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
20545
$as_echo_n "checking for cpowl in -lm... " >&6; }
20546
if test "${ac_cv_lib_m_cpowl+set}" = set; then :
20547
  $as_echo_n "(cached) " >&6
20548
else
20549
  ac_check_lib_save_LIBS=$LIBS
20550
LIBS="-lm  $LIBS"
20551
if test x$gcc_no_link = xyes; then
20552
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20553
fi
20554
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20555
/* end confdefs.h.  */
20556
 
20557
/* Override any GCC internal prototype to avoid an error.
20558
   Use char because int might match the return type of a GCC
20559
   builtin and then its argument prototype would still apply.  */
20560
#ifdef __cplusplus
20561
extern "C"
20562
#endif
20563
char cpowl ();
20564
int
20565
main ()
20566
{
20567
return cpowl ();
20568
  ;
20569
  return 0;
20570
}
20571
_ACEOF
20572
if ac_fn_c_try_link "$LINENO"; then :
20573
  ac_cv_lib_m_cpowl=yes
20574
else
20575
  ac_cv_lib_m_cpowl=no
20576
fi
20577
rm -f core conftest.err conftest.$ac_objext \
20578
    conftest$ac_exeext conftest.$ac_ext
20579
LIBS=$ac_check_lib_save_LIBS
20580
fi
20581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowl" >&5
20582
$as_echo "$ac_cv_lib_m_cpowl" >&6; }
20583
if test "x$ac_cv_lib_m_cpowl" = x""yes; then :
20584
 
20585
$as_echo "#define HAVE_CPOWL 1" >>confdefs.h
20586
 
20587
fi
20588
 
20589
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
20590
$as_echo_n "checking for roundf in -lm... " >&6; }
20591
if test "${ac_cv_lib_m_roundf+set}" = set; then :
20592
  $as_echo_n "(cached) " >&6
20593
else
20594
  ac_check_lib_save_LIBS=$LIBS
20595
LIBS="-lm  $LIBS"
20596
if test x$gcc_no_link = xyes; then
20597
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20598
fi
20599
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20600
/* end confdefs.h.  */
20601
 
20602
/* Override any GCC internal prototype to avoid an error.
20603
   Use char because int might match the return type of a GCC
20604
   builtin and then its argument prototype would still apply.  */
20605
#ifdef __cplusplus
20606
extern "C"
20607
#endif
20608
char roundf ();
20609
int
20610
main ()
20611
{
20612
return roundf ();
20613
  ;
20614
  return 0;
20615
}
20616
_ACEOF
20617
if ac_fn_c_try_link "$LINENO"; then :
20618
  ac_cv_lib_m_roundf=yes
20619
else
20620
  ac_cv_lib_m_roundf=no
20621
fi
20622
rm -f core conftest.err conftest.$ac_objext \
20623
    conftest$ac_exeext conftest.$ac_ext
20624
LIBS=$ac_check_lib_save_LIBS
20625
fi
20626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
20627
$as_echo "$ac_cv_lib_m_roundf" >&6; }
20628
if test "x$ac_cv_lib_m_roundf" = x""yes; then :
20629
 
20630
$as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
20631
 
20632
fi
20633
 
20634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
20635
$as_echo_n "checking for round in -lm... " >&6; }
20636
if test "${ac_cv_lib_m_round+set}" = set; then :
20637
  $as_echo_n "(cached) " >&6
20638
else
20639
  ac_check_lib_save_LIBS=$LIBS
20640
LIBS="-lm  $LIBS"
20641
if test x$gcc_no_link = xyes; then
20642
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20643
fi
20644
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20645
/* end confdefs.h.  */
20646
 
20647
/* Override any GCC internal prototype to avoid an error.
20648
   Use char because int might match the return type of a GCC
20649
   builtin and then its argument prototype would still apply.  */
20650
#ifdef __cplusplus
20651
extern "C"
20652
#endif
20653
char round ();
20654
int
20655
main ()
20656
{
20657
return round ();
20658
  ;
20659
  return 0;
20660
}
20661
_ACEOF
20662
if ac_fn_c_try_link "$LINENO"; then :
20663
  ac_cv_lib_m_round=yes
20664
else
20665
  ac_cv_lib_m_round=no
20666
fi
20667
rm -f core conftest.err conftest.$ac_objext \
20668
    conftest$ac_exeext conftest.$ac_ext
20669
LIBS=$ac_check_lib_save_LIBS
20670
fi
20671
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
20672
$as_echo "$ac_cv_lib_m_round" >&6; }
20673
if test "x$ac_cv_lib_m_round" = x""yes; then :
20674
 
20675
$as_echo "#define HAVE_ROUND 1" >>confdefs.h
20676
 
20677
fi
20678
 
20679
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
20680
$as_echo_n "checking for roundl in -lm... " >&6; }
20681
if test "${ac_cv_lib_m_roundl+set}" = set; then :
20682
  $as_echo_n "(cached) " >&6
20683
else
20684
  ac_check_lib_save_LIBS=$LIBS
20685
LIBS="-lm  $LIBS"
20686
if test x$gcc_no_link = xyes; then
20687
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20688
fi
20689
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20690
/* end confdefs.h.  */
20691
 
20692
/* Override any GCC internal prototype to avoid an error.
20693
   Use char because int might match the return type of a GCC
20694
   builtin and then its argument prototype would still apply.  */
20695
#ifdef __cplusplus
20696
extern "C"
20697
#endif
20698
char roundl ();
20699
int
20700
main ()
20701
{
20702
return roundl ();
20703
  ;
20704
  return 0;
20705
}
20706
_ACEOF
20707
if ac_fn_c_try_link "$LINENO"; then :
20708
  ac_cv_lib_m_roundl=yes
20709
else
20710
  ac_cv_lib_m_roundl=no
20711
fi
20712
rm -f core conftest.err conftest.$ac_objext \
20713
    conftest$ac_exeext conftest.$ac_ext
20714
LIBS=$ac_check_lib_save_LIBS
20715
fi
20716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundl" >&5
20717
$as_echo "$ac_cv_lib_m_roundl" >&6; }
20718
if test "x$ac_cv_lib_m_roundl" = x""yes; then :
20719
 
20720
$as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20721
 
20722
fi
20723
 
20724
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20725
$as_echo_n "checking for lroundf in -lm... " >&6; }
20726
if test "${ac_cv_lib_m_lroundf+set}" = set; then :
20727
  $as_echo_n "(cached) " >&6
20728
else
20729
  ac_check_lib_save_LIBS=$LIBS
20730
LIBS="-lm  $LIBS"
20731
if test x$gcc_no_link = xyes; then
20732
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20733
fi
20734
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20735
/* end confdefs.h.  */
20736
 
20737
/* Override any GCC internal prototype to avoid an error.
20738
   Use char because int might match the return type of a GCC
20739
   builtin and then its argument prototype would still apply.  */
20740
#ifdef __cplusplus
20741
extern "C"
20742
#endif
20743
char lroundf ();
20744
int
20745
main ()
20746
{
20747
return lroundf ();
20748
  ;
20749
  return 0;
20750
}
20751
_ACEOF
20752
if ac_fn_c_try_link "$LINENO"; then :
20753
  ac_cv_lib_m_lroundf=yes
20754
else
20755
  ac_cv_lib_m_lroundf=no
20756
fi
20757
rm -f core conftest.err conftest.$ac_objext \
20758
    conftest$ac_exeext conftest.$ac_ext
20759
LIBS=$ac_check_lib_save_LIBS
20760
fi
20761
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5
20762
$as_echo "$ac_cv_lib_m_lroundf" >&6; }
20763
if test "x$ac_cv_lib_m_lroundf" = x""yes; then :
20764
 
20765
$as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20766
 
20767
fi
20768
 
20769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20770
$as_echo_n "checking for lround in -lm... " >&6; }
20771
if test "${ac_cv_lib_m_lround+set}" = set; then :
20772
  $as_echo_n "(cached) " >&6
20773
else
20774
  ac_check_lib_save_LIBS=$LIBS
20775
LIBS="-lm  $LIBS"
20776
if test x$gcc_no_link = xyes; then
20777
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20778
fi
20779
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20780
/* end confdefs.h.  */
20781
 
20782
/* Override any GCC internal prototype to avoid an error.
20783
   Use char because int might match the return type of a GCC
20784
   builtin and then its argument prototype would still apply.  */
20785
#ifdef __cplusplus
20786
extern "C"
20787
#endif
20788
char lround ();
20789
int
20790
main ()
20791
{
20792
return lround ();
20793
  ;
20794
  return 0;
20795
}
20796
_ACEOF
20797
if ac_fn_c_try_link "$LINENO"; then :
20798
  ac_cv_lib_m_lround=yes
20799
else
20800
  ac_cv_lib_m_lround=no
20801
fi
20802
rm -f core conftest.err conftest.$ac_objext \
20803
    conftest$ac_exeext conftest.$ac_ext
20804
LIBS=$ac_check_lib_save_LIBS
20805
fi
20806
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20807
$as_echo "$ac_cv_lib_m_lround" >&6; }
20808
if test "x$ac_cv_lib_m_lround" = x""yes; then :
20809
 
20810
$as_echo "#define HAVE_LROUND 1" >>confdefs.h
20811
 
20812
fi
20813
 
20814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20815
$as_echo_n "checking for lroundl in -lm... " >&6; }
20816
if test "${ac_cv_lib_m_lroundl+set}" = set; then :
20817
  $as_echo_n "(cached) " >&6
20818
else
20819
  ac_check_lib_save_LIBS=$LIBS
20820
LIBS="-lm  $LIBS"
20821
if test x$gcc_no_link = xyes; then
20822
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20823
fi
20824
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20825
/* end confdefs.h.  */
20826
 
20827
/* Override any GCC internal prototype to avoid an error.
20828
   Use char because int might match the return type of a GCC
20829
   builtin and then its argument prototype would still apply.  */
20830
#ifdef __cplusplus
20831
extern "C"
20832
#endif
20833
char lroundl ();
20834
int
20835
main ()
20836
{
20837
return lroundl ();
20838
  ;
20839
  return 0;
20840
}
20841
_ACEOF
20842
if ac_fn_c_try_link "$LINENO"; then :
20843
  ac_cv_lib_m_lroundl=yes
20844
else
20845
  ac_cv_lib_m_lroundl=no
20846
fi
20847
rm -f core conftest.err conftest.$ac_objext \
20848
    conftest$ac_exeext conftest.$ac_ext
20849
LIBS=$ac_check_lib_save_LIBS
20850
fi
20851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundl" >&5
20852
$as_echo "$ac_cv_lib_m_lroundl" >&6; }
20853
if test "x$ac_cv_lib_m_lroundl" = x""yes; then :
20854
 
20855
$as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20856
 
20857
fi
20858
 
20859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20860
$as_echo_n "checking for llroundf in -lm... " >&6; }
20861
if test "${ac_cv_lib_m_llroundf+set}" = set; then :
20862
  $as_echo_n "(cached) " >&6
20863
else
20864
  ac_check_lib_save_LIBS=$LIBS
20865
LIBS="-lm  $LIBS"
20866
if test x$gcc_no_link = xyes; then
20867
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20868
fi
20869
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20870
/* end confdefs.h.  */
20871
 
20872
/* Override any GCC internal prototype to avoid an error.
20873
   Use char because int might match the return type of a GCC
20874
   builtin and then its argument prototype would still apply.  */
20875
#ifdef __cplusplus
20876
extern "C"
20877
#endif
20878
char llroundf ();
20879
int
20880
main ()
20881
{
20882
return llroundf ();
20883
  ;
20884
  return 0;
20885
}
20886
_ACEOF
20887
if ac_fn_c_try_link "$LINENO"; then :
20888
  ac_cv_lib_m_llroundf=yes
20889
else
20890
  ac_cv_lib_m_llroundf=no
20891
fi
20892
rm -f core conftest.err conftest.$ac_objext \
20893
    conftest$ac_exeext conftest.$ac_ext
20894
LIBS=$ac_check_lib_save_LIBS
20895
fi
20896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundf" >&5
20897
$as_echo "$ac_cv_lib_m_llroundf" >&6; }
20898
if test "x$ac_cv_lib_m_llroundf" = x""yes; then :
20899
 
20900
$as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
20901
 
20902
fi
20903
 
20904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
20905
$as_echo_n "checking for llround in -lm... " >&6; }
20906
if test "${ac_cv_lib_m_llround+set}" = set; then :
20907
  $as_echo_n "(cached) " >&6
20908
else
20909
  ac_check_lib_save_LIBS=$LIBS
20910
LIBS="-lm  $LIBS"
20911
if test x$gcc_no_link = xyes; then
20912
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20913
fi
20914
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20915
/* end confdefs.h.  */
20916
 
20917
/* Override any GCC internal prototype to avoid an error.
20918
   Use char because int might match the return type of a GCC
20919
   builtin and then its argument prototype would still apply.  */
20920
#ifdef __cplusplus
20921
extern "C"
20922
#endif
20923
char llround ();
20924
int
20925
main ()
20926
{
20927
return llround ();
20928
  ;
20929
  return 0;
20930
}
20931
_ACEOF
20932
if ac_fn_c_try_link "$LINENO"; then :
20933
  ac_cv_lib_m_llround=yes
20934
else
20935
  ac_cv_lib_m_llround=no
20936
fi
20937
rm -f core conftest.err conftest.$ac_objext \
20938
    conftest$ac_exeext conftest.$ac_ext
20939
LIBS=$ac_check_lib_save_LIBS
20940
fi
20941
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llround" >&5
20942
$as_echo "$ac_cv_lib_m_llround" >&6; }
20943
if test "x$ac_cv_lib_m_llround" = x""yes; then :
20944
 
20945
$as_echo "#define HAVE_LLROUND 1" >>confdefs.h
20946
 
20947
fi
20948
 
20949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
20950
$as_echo_n "checking for llroundl in -lm... " >&6; }
20951
if test "${ac_cv_lib_m_llroundl+set}" = set; then :
20952
  $as_echo_n "(cached) " >&6
20953
else
20954
  ac_check_lib_save_LIBS=$LIBS
20955
LIBS="-lm  $LIBS"
20956
if test x$gcc_no_link = xyes; then
20957
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20958
fi
20959
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20960
/* end confdefs.h.  */
20961
 
20962
/* Override any GCC internal prototype to avoid an error.
20963
   Use char because int might match the return type of a GCC
20964
   builtin and then its argument prototype would still apply.  */
20965
#ifdef __cplusplus
20966
extern "C"
20967
#endif
20968
char llroundl ();
20969
int
20970
main ()
20971
{
20972
return llroundl ();
20973
  ;
20974
  return 0;
20975
}
20976
_ACEOF
20977
if ac_fn_c_try_link "$LINENO"; then :
20978
  ac_cv_lib_m_llroundl=yes
20979
else
20980
  ac_cv_lib_m_llroundl=no
20981
fi
20982
rm -f core conftest.err conftest.$ac_objext \
20983
    conftest$ac_exeext conftest.$ac_ext
20984
LIBS=$ac_check_lib_save_LIBS
20985
fi
20986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundl" >&5
20987
$as_echo "$ac_cv_lib_m_llroundl" >&6; }
20988
if test "x$ac_cv_lib_m_llroundl" = x""yes; then :
20989
 
20990
$as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
20991
 
20992
fi
20993
 
20994
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
20995
$as_echo_n "checking for scalbnf in -lm... " >&6; }
20996
if test "${ac_cv_lib_m_scalbnf+set}" = set; then :
20997
  $as_echo_n "(cached) " >&6
20998
else
20999
  ac_check_lib_save_LIBS=$LIBS
21000
LIBS="-lm  $LIBS"
21001
if test x$gcc_no_link = xyes; then
21002
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21003
fi
21004
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21005
/* end confdefs.h.  */
21006
 
21007
/* Override any GCC internal prototype to avoid an error.
21008
   Use char because int might match the return type of a GCC
21009
   builtin and then its argument prototype would still apply.  */
21010
#ifdef __cplusplus
21011
extern "C"
21012
#endif
21013
char scalbnf ();
21014
int
21015
main ()
21016
{
21017
return scalbnf ();
21018
  ;
21019
  return 0;
21020
}
21021
_ACEOF
21022
if ac_fn_c_try_link "$LINENO"; then :
21023
  ac_cv_lib_m_scalbnf=yes
21024
else
21025
  ac_cv_lib_m_scalbnf=no
21026
fi
21027
rm -f core conftest.err conftest.$ac_objext \
21028
    conftest$ac_exeext conftest.$ac_ext
21029
LIBS=$ac_check_lib_save_LIBS
21030
fi
21031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnf" >&5
21032
$as_echo "$ac_cv_lib_m_scalbnf" >&6; }
21033
if test "x$ac_cv_lib_m_scalbnf" = x""yes; then :
21034
 
21035
$as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
21036
 
21037
fi
21038
 
21039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
21040
$as_echo_n "checking for scalbn in -lm... " >&6; }
21041
if test "${ac_cv_lib_m_scalbn+set}" = set; then :
21042
  $as_echo_n "(cached) " >&6
21043
else
21044
  ac_check_lib_save_LIBS=$LIBS
21045
LIBS="-lm  $LIBS"
21046
if test x$gcc_no_link = xyes; then
21047
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21048
fi
21049
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21050
/* end confdefs.h.  */
21051
 
21052
/* Override any GCC internal prototype to avoid an error.
21053
   Use char because int might match the return type of a GCC
21054
   builtin and then its argument prototype would still apply.  */
21055
#ifdef __cplusplus
21056
extern "C"
21057
#endif
21058
char scalbn ();
21059
int
21060
main ()
21061
{
21062
return scalbn ();
21063
  ;
21064
  return 0;
21065
}
21066
_ACEOF
21067
if ac_fn_c_try_link "$LINENO"; then :
21068
  ac_cv_lib_m_scalbn=yes
21069
else
21070
  ac_cv_lib_m_scalbn=no
21071
fi
21072
rm -f core conftest.err conftest.$ac_objext \
21073
    conftest$ac_exeext conftest.$ac_ext
21074
LIBS=$ac_check_lib_save_LIBS
21075
fi
21076
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbn" >&5
21077
$as_echo "$ac_cv_lib_m_scalbn" >&6; }
21078
if test "x$ac_cv_lib_m_scalbn" = x""yes; then :
21079
 
21080
$as_echo "#define HAVE_SCALBN 1" >>confdefs.h
21081
 
21082
fi
21083
 
21084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
21085
$as_echo_n "checking for scalbnl in -lm... " >&6; }
21086
if test "${ac_cv_lib_m_scalbnl+set}" = set; then :
21087
  $as_echo_n "(cached) " >&6
21088
else
21089
  ac_check_lib_save_LIBS=$LIBS
21090
LIBS="-lm  $LIBS"
21091
if test x$gcc_no_link = xyes; then
21092
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21093
fi
21094
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21095
/* end confdefs.h.  */
21096
 
21097
/* Override any GCC internal prototype to avoid an error.
21098
   Use char because int might match the return type of a GCC
21099
   builtin and then its argument prototype would still apply.  */
21100
#ifdef __cplusplus
21101
extern "C"
21102
#endif
21103
char scalbnl ();
21104
int
21105
main ()
21106
{
21107
return scalbnl ();
21108
  ;
21109
  return 0;
21110
}
21111
_ACEOF
21112
if ac_fn_c_try_link "$LINENO"; then :
21113
  ac_cv_lib_m_scalbnl=yes
21114
else
21115
  ac_cv_lib_m_scalbnl=no
21116
fi
21117
rm -f core conftest.err conftest.$ac_objext \
21118
    conftest$ac_exeext conftest.$ac_ext
21119
LIBS=$ac_check_lib_save_LIBS
21120
fi
21121
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnl" >&5
21122
$as_echo "$ac_cv_lib_m_scalbnl" >&6; }
21123
if test "x$ac_cv_lib_m_scalbnl" = x""yes; then :
21124
 
21125
$as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
21126
 
21127
fi
21128
 
21129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
21130
$as_echo_n "checking for sinf in -lm... " >&6; }
21131
if test "${ac_cv_lib_m_sinf+set}" = set; then :
21132
  $as_echo_n "(cached) " >&6
21133
else
21134
  ac_check_lib_save_LIBS=$LIBS
21135
LIBS="-lm  $LIBS"
21136
if test x$gcc_no_link = xyes; then
21137
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21138
fi
21139
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21140
/* end confdefs.h.  */
21141
 
21142
/* Override any GCC internal prototype to avoid an error.
21143
   Use char because int might match the return type of a GCC
21144
   builtin and then its argument prototype would still apply.  */
21145
#ifdef __cplusplus
21146
extern "C"
21147
#endif
21148
char sinf ();
21149
int
21150
main ()
21151
{
21152
return sinf ();
21153
  ;
21154
  return 0;
21155
}
21156
_ACEOF
21157
if ac_fn_c_try_link "$LINENO"; then :
21158
  ac_cv_lib_m_sinf=yes
21159
else
21160
  ac_cv_lib_m_sinf=no
21161
fi
21162
rm -f core conftest.err conftest.$ac_objext \
21163
    conftest$ac_exeext conftest.$ac_ext
21164
LIBS=$ac_check_lib_save_LIBS
21165
fi
21166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
21167
$as_echo "$ac_cv_lib_m_sinf" >&6; }
21168
if test "x$ac_cv_lib_m_sinf" = x""yes; then :
21169
 
21170
$as_echo "#define HAVE_SINF 1" >>confdefs.h
21171
 
21172
fi
21173
 
21174
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21175
$as_echo_n "checking for sin in -lm... " >&6; }
21176
if test "${ac_cv_lib_m_sin+set}" = set; then :
21177
  $as_echo_n "(cached) " >&6
21178
else
21179
  ac_check_lib_save_LIBS=$LIBS
21180
LIBS="-lm  $LIBS"
21181
if test x$gcc_no_link = xyes; then
21182
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21183
fi
21184
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21185
/* end confdefs.h.  */
21186
 
21187
/* Override any GCC internal prototype to avoid an error.
21188
   Use char because int might match the return type of a GCC
21189
   builtin and then its argument prototype would still apply.  */
21190
#ifdef __cplusplus
21191
extern "C"
21192
#endif
21193
char sin ();
21194
int
21195
main ()
21196
{
21197
return sin ();
21198
  ;
21199
  return 0;
21200
}
21201
_ACEOF
21202
if ac_fn_c_try_link "$LINENO"; then :
21203
  ac_cv_lib_m_sin=yes
21204
else
21205
  ac_cv_lib_m_sin=no
21206
fi
21207
rm -f core conftest.err conftest.$ac_objext \
21208
    conftest$ac_exeext conftest.$ac_ext
21209
LIBS=$ac_check_lib_save_LIBS
21210
fi
21211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21212
$as_echo "$ac_cv_lib_m_sin" >&6; }
21213
if test "x$ac_cv_lib_m_sin" = x""yes; then :
21214
 
21215
$as_echo "#define HAVE_SIN 1" >>confdefs.h
21216
 
21217
fi
21218
 
21219
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
21220
$as_echo_n "checking for sinl in -lm... " >&6; }
21221
if test "${ac_cv_lib_m_sinl+set}" = set; then :
21222
  $as_echo_n "(cached) " >&6
21223
else
21224
  ac_check_lib_save_LIBS=$LIBS
21225
LIBS="-lm  $LIBS"
21226
if test x$gcc_no_link = xyes; then
21227
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21228
fi
21229
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21230
/* end confdefs.h.  */
21231
 
21232
/* Override any GCC internal prototype to avoid an error.
21233
   Use char because int might match the return type of a GCC
21234
   builtin and then its argument prototype would still apply.  */
21235
#ifdef __cplusplus
21236
extern "C"
21237
#endif
21238
char sinl ();
21239
int
21240
main ()
21241
{
21242
return sinl ();
21243
  ;
21244
  return 0;
21245
}
21246
_ACEOF
21247
if ac_fn_c_try_link "$LINENO"; then :
21248
  ac_cv_lib_m_sinl=yes
21249
else
21250
  ac_cv_lib_m_sinl=no
21251
fi
21252
rm -f core conftest.err conftest.$ac_objext \
21253
    conftest$ac_exeext conftest.$ac_ext
21254
LIBS=$ac_check_lib_save_LIBS
21255
fi
21256
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinl" >&5
21257
$as_echo "$ac_cv_lib_m_sinl" >&6; }
21258
if test "x$ac_cv_lib_m_sinl" = x""yes; then :
21259
 
21260
$as_echo "#define HAVE_SINL 1" >>confdefs.h
21261
 
21262
fi
21263
 
21264
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
21265
$as_echo_n "checking for csinf in -lm... " >&6; }
21266
if test "${ac_cv_lib_m_csinf+set}" = set; then :
21267
  $as_echo_n "(cached) " >&6
21268
else
21269
  ac_check_lib_save_LIBS=$LIBS
21270
LIBS="-lm  $LIBS"
21271
if test x$gcc_no_link = xyes; then
21272
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21273
fi
21274
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21275
/* end confdefs.h.  */
21276
 
21277
/* Override any GCC internal prototype to avoid an error.
21278
   Use char because int might match the return type of a GCC
21279
   builtin and then its argument prototype would still apply.  */
21280
#ifdef __cplusplus
21281
extern "C"
21282
#endif
21283
char csinf ();
21284
int
21285
main ()
21286
{
21287
return csinf ();
21288
  ;
21289
  return 0;
21290
}
21291
_ACEOF
21292
if ac_fn_c_try_link "$LINENO"; then :
21293
  ac_cv_lib_m_csinf=yes
21294
else
21295
  ac_cv_lib_m_csinf=no
21296
fi
21297
rm -f core conftest.err conftest.$ac_objext \
21298
    conftest$ac_exeext conftest.$ac_ext
21299
LIBS=$ac_check_lib_save_LIBS
21300
fi
21301
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinf" >&5
21302
$as_echo "$ac_cv_lib_m_csinf" >&6; }
21303
if test "x$ac_cv_lib_m_csinf" = x""yes; then :
21304
 
21305
$as_echo "#define HAVE_CSINF 1" >>confdefs.h
21306
 
21307
fi
21308
 
21309
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
21310
$as_echo_n "checking for csin in -lm... " >&6; }
21311
if test "${ac_cv_lib_m_csin+set}" = set; then :
21312
  $as_echo_n "(cached) " >&6
21313
else
21314
  ac_check_lib_save_LIBS=$LIBS
21315
LIBS="-lm  $LIBS"
21316
if test x$gcc_no_link = xyes; then
21317
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21318
fi
21319
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21320
/* end confdefs.h.  */
21321
 
21322
/* Override any GCC internal prototype to avoid an error.
21323
   Use char because int might match the return type of a GCC
21324
   builtin and then its argument prototype would still apply.  */
21325
#ifdef __cplusplus
21326
extern "C"
21327
#endif
21328
char csin ();
21329
int
21330
main ()
21331
{
21332
return csin ();
21333
  ;
21334
  return 0;
21335
}
21336
_ACEOF
21337
if ac_fn_c_try_link "$LINENO"; then :
21338
  ac_cv_lib_m_csin=yes
21339
else
21340
  ac_cv_lib_m_csin=no
21341
fi
21342
rm -f core conftest.err conftest.$ac_objext \
21343
    conftest$ac_exeext conftest.$ac_ext
21344
LIBS=$ac_check_lib_save_LIBS
21345
fi
21346
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csin" >&5
21347
$as_echo "$ac_cv_lib_m_csin" >&6; }
21348
if test "x$ac_cv_lib_m_csin" = x""yes; then :
21349
 
21350
$as_echo "#define HAVE_CSIN 1" >>confdefs.h
21351
 
21352
fi
21353
 
21354
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
21355
$as_echo_n "checking for csinl in -lm... " >&6; }
21356
if test "${ac_cv_lib_m_csinl+set}" = set; then :
21357
  $as_echo_n "(cached) " >&6
21358
else
21359
  ac_check_lib_save_LIBS=$LIBS
21360
LIBS="-lm  $LIBS"
21361
if test x$gcc_no_link = xyes; then
21362
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21363
fi
21364
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21365
/* end confdefs.h.  */
21366
 
21367
/* Override any GCC internal prototype to avoid an error.
21368
   Use char because int might match the return type of a GCC
21369
   builtin and then its argument prototype would still apply.  */
21370
#ifdef __cplusplus
21371
extern "C"
21372
#endif
21373
char csinl ();
21374
int
21375
main ()
21376
{
21377
return csinl ();
21378
  ;
21379
  return 0;
21380
}
21381
_ACEOF
21382
if ac_fn_c_try_link "$LINENO"; then :
21383
  ac_cv_lib_m_csinl=yes
21384
else
21385
  ac_cv_lib_m_csinl=no
21386
fi
21387
rm -f core conftest.err conftest.$ac_objext \
21388
    conftest$ac_exeext conftest.$ac_ext
21389
LIBS=$ac_check_lib_save_LIBS
21390
fi
21391
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinl" >&5
21392
$as_echo "$ac_cv_lib_m_csinl" >&6; }
21393
if test "x$ac_cv_lib_m_csinl" = x""yes; then :
21394
 
21395
$as_echo "#define HAVE_CSINL 1" >>confdefs.h
21396
 
21397
fi
21398
 
21399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
21400
$as_echo_n "checking for sinhf in -lm... " >&6; }
21401
if test "${ac_cv_lib_m_sinhf+set}" = set; then :
21402
  $as_echo_n "(cached) " >&6
21403
else
21404
  ac_check_lib_save_LIBS=$LIBS
21405
LIBS="-lm  $LIBS"
21406
if test x$gcc_no_link = xyes; then
21407
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21408
fi
21409
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21410
/* end confdefs.h.  */
21411
 
21412
/* Override any GCC internal prototype to avoid an error.
21413
   Use char because int might match the return type of a GCC
21414
   builtin and then its argument prototype would still apply.  */
21415
#ifdef __cplusplus
21416
extern "C"
21417
#endif
21418
char sinhf ();
21419
int
21420
main ()
21421
{
21422
return sinhf ();
21423
  ;
21424
  return 0;
21425
}
21426
_ACEOF
21427
if ac_fn_c_try_link "$LINENO"; then :
21428
  ac_cv_lib_m_sinhf=yes
21429
else
21430
  ac_cv_lib_m_sinhf=no
21431
fi
21432
rm -f core conftest.err conftest.$ac_objext \
21433
    conftest$ac_exeext conftest.$ac_ext
21434
LIBS=$ac_check_lib_save_LIBS
21435
fi
21436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhf" >&5
21437
$as_echo "$ac_cv_lib_m_sinhf" >&6; }
21438
if test "x$ac_cv_lib_m_sinhf" = x""yes; then :
21439
 
21440
$as_echo "#define HAVE_SINHF 1" >>confdefs.h
21441
 
21442
fi
21443
 
21444
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
21445
$as_echo_n "checking for sinh in -lm... " >&6; }
21446
if test "${ac_cv_lib_m_sinh+set}" = set; then :
21447
  $as_echo_n "(cached) " >&6
21448
else
21449
  ac_check_lib_save_LIBS=$LIBS
21450
LIBS="-lm  $LIBS"
21451
if test x$gcc_no_link = xyes; then
21452
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21453
fi
21454
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21455
/* end confdefs.h.  */
21456
 
21457
/* Override any GCC internal prototype to avoid an error.
21458
   Use char because int might match the return type of a GCC
21459
   builtin and then its argument prototype would still apply.  */
21460
#ifdef __cplusplus
21461
extern "C"
21462
#endif
21463
char sinh ();
21464
int
21465
main ()
21466
{
21467
return sinh ();
21468
  ;
21469
  return 0;
21470
}
21471
_ACEOF
21472
if ac_fn_c_try_link "$LINENO"; then :
21473
  ac_cv_lib_m_sinh=yes
21474
else
21475
  ac_cv_lib_m_sinh=no
21476
fi
21477
rm -f core conftest.err conftest.$ac_objext \
21478
    conftest$ac_exeext conftest.$ac_ext
21479
LIBS=$ac_check_lib_save_LIBS
21480
fi
21481
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinh" >&5
21482
$as_echo "$ac_cv_lib_m_sinh" >&6; }
21483
if test "x$ac_cv_lib_m_sinh" = x""yes; then :
21484
 
21485
$as_echo "#define HAVE_SINH 1" >>confdefs.h
21486
 
21487
fi
21488
 
21489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
21490
$as_echo_n "checking for sinhl in -lm... " >&6; }
21491
if test "${ac_cv_lib_m_sinhl+set}" = set; then :
21492
  $as_echo_n "(cached) " >&6
21493
else
21494
  ac_check_lib_save_LIBS=$LIBS
21495
LIBS="-lm  $LIBS"
21496
if test x$gcc_no_link = xyes; then
21497
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21498
fi
21499
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21500
/* end confdefs.h.  */
21501
 
21502
/* Override any GCC internal prototype to avoid an error.
21503
   Use char because int might match the return type of a GCC
21504
   builtin and then its argument prototype would still apply.  */
21505
#ifdef __cplusplus
21506
extern "C"
21507
#endif
21508
char sinhl ();
21509
int
21510
main ()
21511
{
21512
return sinhl ();
21513
  ;
21514
  return 0;
21515
}
21516
_ACEOF
21517
if ac_fn_c_try_link "$LINENO"; then :
21518
  ac_cv_lib_m_sinhl=yes
21519
else
21520
  ac_cv_lib_m_sinhl=no
21521
fi
21522
rm -f core conftest.err conftest.$ac_objext \
21523
    conftest$ac_exeext conftest.$ac_ext
21524
LIBS=$ac_check_lib_save_LIBS
21525
fi
21526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhl" >&5
21527
$as_echo "$ac_cv_lib_m_sinhl" >&6; }
21528
if test "x$ac_cv_lib_m_sinhl" = x""yes; then :
21529
 
21530
$as_echo "#define HAVE_SINHL 1" >>confdefs.h
21531
 
21532
fi
21533
 
21534
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
21535
$as_echo_n "checking for csinhf in -lm... " >&6; }
21536
if test "${ac_cv_lib_m_csinhf+set}" = set; then :
21537
  $as_echo_n "(cached) " >&6
21538
else
21539
  ac_check_lib_save_LIBS=$LIBS
21540
LIBS="-lm  $LIBS"
21541
if test x$gcc_no_link = xyes; then
21542
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21543
fi
21544
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21545
/* end confdefs.h.  */
21546
 
21547
/* Override any GCC internal prototype to avoid an error.
21548
   Use char because int might match the return type of a GCC
21549
   builtin and then its argument prototype would still apply.  */
21550
#ifdef __cplusplus
21551
extern "C"
21552
#endif
21553
char csinhf ();
21554
int
21555
main ()
21556
{
21557
return csinhf ();
21558
  ;
21559
  return 0;
21560
}
21561
_ACEOF
21562
if ac_fn_c_try_link "$LINENO"; then :
21563
  ac_cv_lib_m_csinhf=yes
21564
else
21565
  ac_cv_lib_m_csinhf=no
21566
fi
21567
rm -f core conftest.err conftest.$ac_objext \
21568
    conftest$ac_exeext conftest.$ac_ext
21569
LIBS=$ac_check_lib_save_LIBS
21570
fi
21571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhf" >&5
21572
$as_echo "$ac_cv_lib_m_csinhf" >&6; }
21573
if test "x$ac_cv_lib_m_csinhf" = x""yes; then :
21574
 
21575
$as_echo "#define HAVE_CSINHF 1" >>confdefs.h
21576
 
21577
fi
21578
 
21579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
21580
$as_echo_n "checking for csinh in -lm... " >&6; }
21581
if test "${ac_cv_lib_m_csinh+set}" = set; then :
21582
  $as_echo_n "(cached) " >&6
21583
else
21584
  ac_check_lib_save_LIBS=$LIBS
21585
LIBS="-lm  $LIBS"
21586
if test x$gcc_no_link = xyes; then
21587
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21588
fi
21589
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21590
/* end confdefs.h.  */
21591
 
21592
/* Override any GCC internal prototype to avoid an error.
21593
   Use char because int might match the return type of a GCC
21594
   builtin and then its argument prototype would still apply.  */
21595
#ifdef __cplusplus
21596
extern "C"
21597
#endif
21598
char csinh ();
21599
int
21600
main ()
21601
{
21602
return csinh ();
21603
  ;
21604
  return 0;
21605
}
21606
_ACEOF
21607
if ac_fn_c_try_link "$LINENO"; then :
21608
  ac_cv_lib_m_csinh=yes
21609
else
21610
  ac_cv_lib_m_csinh=no
21611
fi
21612
rm -f core conftest.err conftest.$ac_objext \
21613
    conftest$ac_exeext conftest.$ac_ext
21614
LIBS=$ac_check_lib_save_LIBS
21615
fi
21616
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinh" >&5
21617
$as_echo "$ac_cv_lib_m_csinh" >&6; }
21618
if test "x$ac_cv_lib_m_csinh" = x""yes; then :
21619
 
21620
$as_echo "#define HAVE_CSINH 1" >>confdefs.h
21621
 
21622
fi
21623
 
21624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
21625
$as_echo_n "checking for csinhl in -lm... " >&6; }
21626
if test "${ac_cv_lib_m_csinhl+set}" = set; then :
21627
  $as_echo_n "(cached) " >&6
21628
else
21629
  ac_check_lib_save_LIBS=$LIBS
21630
LIBS="-lm  $LIBS"
21631
if test x$gcc_no_link = xyes; then
21632
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21633
fi
21634
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21635
/* end confdefs.h.  */
21636
 
21637
/* Override any GCC internal prototype to avoid an error.
21638
   Use char because int might match the return type of a GCC
21639
   builtin and then its argument prototype would still apply.  */
21640
#ifdef __cplusplus
21641
extern "C"
21642
#endif
21643
char csinhl ();
21644
int
21645
main ()
21646
{
21647
return csinhl ();
21648
  ;
21649
  return 0;
21650
}
21651
_ACEOF
21652
if ac_fn_c_try_link "$LINENO"; then :
21653
  ac_cv_lib_m_csinhl=yes
21654
else
21655
  ac_cv_lib_m_csinhl=no
21656
fi
21657
rm -f core conftest.err conftest.$ac_objext \
21658
    conftest$ac_exeext conftest.$ac_ext
21659
LIBS=$ac_check_lib_save_LIBS
21660
fi
21661
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhl" >&5
21662
$as_echo "$ac_cv_lib_m_csinhl" >&6; }
21663
if test "x$ac_cv_lib_m_csinhl" = x""yes; then :
21664
 
21665
$as_echo "#define HAVE_CSINHL 1" >>confdefs.h
21666
 
21667
fi
21668
 
21669
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
21670
$as_echo_n "checking for sqrtf in -lm... " >&6; }
21671
if test "${ac_cv_lib_m_sqrtf+set}" = set; then :
21672
  $as_echo_n "(cached) " >&6
21673
else
21674
  ac_check_lib_save_LIBS=$LIBS
21675
LIBS="-lm  $LIBS"
21676
if test x$gcc_no_link = xyes; then
21677
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21678
fi
21679
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21680
/* end confdefs.h.  */
21681
 
21682
/* Override any GCC internal prototype to avoid an error.
21683
   Use char because int might match the return type of a GCC
21684
   builtin and then its argument prototype would still apply.  */
21685
#ifdef __cplusplus
21686
extern "C"
21687
#endif
21688
char sqrtf ();
21689
int
21690
main ()
21691
{
21692
return sqrtf ();
21693
  ;
21694
  return 0;
21695
}
21696
_ACEOF
21697
if ac_fn_c_try_link "$LINENO"; then :
21698
  ac_cv_lib_m_sqrtf=yes
21699
else
21700
  ac_cv_lib_m_sqrtf=no
21701
fi
21702
rm -f core conftest.err conftest.$ac_objext \
21703
    conftest$ac_exeext conftest.$ac_ext
21704
LIBS=$ac_check_lib_save_LIBS
21705
fi
21706
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
21707
$as_echo "$ac_cv_lib_m_sqrtf" >&6; }
21708
if test "x$ac_cv_lib_m_sqrtf" = x""yes; then :
21709
 
21710
$as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21711
 
21712
fi
21713
 
21714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21715
$as_echo_n "checking for sqrt in -lm... " >&6; }
21716
if test "${ac_cv_lib_m_sqrt+set}" = set; then :
21717
  $as_echo_n "(cached) " >&6
21718
else
21719
  ac_check_lib_save_LIBS=$LIBS
21720
LIBS="-lm  $LIBS"
21721
if test x$gcc_no_link = xyes; then
21722
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21723
fi
21724
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21725
/* end confdefs.h.  */
21726
 
21727
/* Override any GCC internal prototype to avoid an error.
21728
   Use char because int might match the return type of a GCC
21729
   builtin and then its argument prototype would still apply.  */
21730
#ifdef __cplusplus
21731
extern "C"
21732
#endif
21733
char sqrt ();
21734
int
21735
main ()
21736
{
21737
return sqrt ();
21738
  ;
21739
  return 0;
21740
}
21741
_ACEOF
21742
if ac_fn_c_try_link "$LINENO"; then :
21743
  ac_cv_lib_m_sqrt=yes
21744
else
21745
  ac_cv_lib_m_sqrt=no
21746
fi
21747
rm -f core conftest.err conftest.$ac_objext \
21748
    conftest$ac_exeext conftest.$ac_ext
21749
LIBS=$ac_check_lib_save_LIBS
21750
fi
21751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
21752
$as_echo "$ac_cv_lib_m_sqrt" >&6; }
21753
if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
21754
 
21755
$as_echo "#define HAVE_SQRT 1" >>confdefs.h
21756
 
21757
fi
21758
 
21759
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21760
$as_echo_n "checking for sqrtl in -lm... " >&6; }
21761
if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
21762
  $as_echo_n "(cached) " >&6
21763
else
21764
  ac_check_lib_save_LIBS=$LIBS
21765
LIBS="-lm  $LIBS"
21766
if test x$gcc_no_link = xyes; then
21767
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21768
fi
21769
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21770
/* end confdefs.h.  */
21771
 
21772
/* Override any GCC internal prototype to avoid an error.
21773
   Use char because int might match the return type of a GCC
21774
   builtin and then its argument prototype would still apply.  */
21775
#ifdef __cplusplus
21776
extern "C"
21777
#endif
21778
char sqrtl ();
21779
int
21780
main ()
21781
{
21782
return sqrtl ();
21783
  ;
21784
  return 0;
21785
}
21786
_ACEOF
21787
if ac_fn_c_try_link "$LINENO"; then :
21788
  ac_cv_lib_m_sqrtl=yes
21789
else
21790
  ac_cv_lib_m_sqrtl=no
21791
fi
21792
rm -f core conftest.err conftest.$ac_objext \
21793
    conftest$ac_exeext conftest.$ac_ext
21794
LIBS=$ac_check_lib_save_LIBS
21795
fi
21796
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
21797
$as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21798
if test "x$ac_cv_lib_m_sqrtl" = x""yes; then :
21799
 
21800
$as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21801
 
21802
fi
21803
 
21804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21805
$as_echo_n "checking for csqrtf in -lm... " >&6; }
21806
if test "${ac_cv_lib_m_csqrtf+set}" = set; then :
21807
  $as_echo_n "(cached) " >&6
21808
else
21809
  ac_check_lib_save_LIBS=$LIBS
21810
LIBS="-lm  $LIBS"
21811
if test x$gcc_no_link = xyes; then
21812
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21813
fi
21814
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21815
/* end confdefs.h.  */
21816
 
21817
/* Override any GCC internal prototype to avoid an error.
21818
   Use char because int might match the return type of a GCC
21819
   builtin and then its argument prototype would still apply.  */
21820
#ifdef __cplusplus
21821
extern "C"
21822
#endif
21823
char csqrtf ();
21824
int
21825
main ()
21826
{
21827
return csqrtf ();
21828
  ;
21829
  return 0;
21830
}
21831
_ACEOF
21832
if ac_fn_c_try_link "$LINENO"; then :
21833
  ac_cv_lib_m_csqrtf=yes
21834
else
21835
  ac_cv_lib_m_csqrtf=no
21836
fi
21837
rm -f core conftest.err conftest.$ac_objext \
21838
    conftest$ac_exeext conftest.$ac_ext
21839
LIBS=$ac_check_lib_save_LIBS
21840
fi
21841
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtf" >&5
21842
$as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21843
if test "x$ac_cv_lib_m_csqrtf" = x""yes; then :
21844
 
21845
$as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21846
 
21847
fi
21848
 
21849
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21850
$as_echo_n "checking for csqrt in -lm... " >&6; }
21851
if test "${ac_cv_lib_m_csqrt+set}" = set; then :
21852
  $as_echo_n "(cached) " >&6
21853
else
21854
  ac_check_lib_save_LIBS=$LIBS
21855
LIBS="-lm  $LIBS"
21856
if test x$gcc_no_link = xyes; then
21857
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21858
fi
21859
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21860
/* end confdefs.h.  */
21861
 
21862
/* Override any GCC internal prototype to avoid an error.
21863
   Use char because int might match the return type of a GCC
21864
   builtin and then its argument prototype would still apply.  */
21865
#ifdef __cplusplus
21866
extern "C"
21867
#endif
21868
char csqrt ();
21869
int
21870
main ()
21871
{
21872
return csqrt ();
21873
  ;
21874
  return 0;
21875
}
21876
_ACEOF
21877
if ac_fn_c_try_link "$LINENO"; then :
21878
  ac_cv_lib_m_csqrt=yes
21879
else
21880
  ac_cv_lib_m_csqrt=no
21881
fi
21882
rm -f core conftest.err conftest.$ac_objext \
21883
    conftest$ac_exeext conftest.$ac_ext
21884
LIBS=$ac_check_lib_save_LIBS
21885
fi
21886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrt" >&5
21887
$as_echo "$ac_cv_lib_m_csqrt" >&6; }
21888
if test "x$ac_cv_lib_m_csqrt" = x""yes; then :
21889
 
21890
$as_echo "#define HAVE_CSQRT 1" >>confdefs.h
21891
 
21892
fi
21893
 
21894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
21895
$as_echo_n "checking for csqrtl in -lm... " >&6; }
21896
if test "${ac_cv_lib_m_csqrtl+set}" = set; then :
21897
  $as_echo_n "(cached) " >&6
21898
else
21899
  ac_check_lib_save_LIBS=$LIBS
21900
LIBS="-lm  $LIBS"
21901
if test x$gcc_no_link = xyes; then
21902
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21903
fi
21904
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21905
/* end confdefs.h.  */
21906
 
21907
/* Override any GCC internal prototype to avoid an error.
21908
   Use char because int might match the return type of a GCC
21909
   builtin and then its argument prototype would still apply.  */
21910
#ifdef __cplusplus
21911
extern "C"
21912
#endif
21913
char csqrtl ();
21914
int
21915
main ()
21916
{
21917
return csqrtl ();
21918
  ;
21919
  return 0;
21920
}
21921
_ACEOF
21922
if ac_fn_c_try_link "$LINENO"; then :
21923
  ac_cv_lib_m_csqrtl=yes
21924
else
21925
  ac_cv_lib_m_csqrtl=no
21926
fi
21927
rm -f core conftest.err conftest.$ac_objext \
21928
    conftest$ac_exeext conftest.$ac_ext
21929
LIBS=$ac_check_lib_save_LIBS
21930
fi
21931
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtl" >&5
21932
$as_echo "$ac_cv_lib_m_csqrtl" >&6; }
21933
if test "x$ac_cv_lib_m_csqrtl" = x""yes; then :
21934
 
21935
$as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
21936
 
21937
fi
21938
 
21939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
21940
$as_echo_n "checking for tanf in -lm... " >&6; }
21941
if test "${ac_cv_lib_m_tanf+set}" = set; then :
21942
  $as_echo_n "(cached) " >&6
21943
else
21944
  ac_check_lib_save_LIBS=$LIBS
21945
LIBS="-lm  $LIBS"
21946
if test x$gcc_no_link = xyes; then
21947
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21948
fi
21949
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21950
/* end confdefs.h.  */
21951
 
21952
/* Override any GCC internal prototype to avoid an error.
21953
   Use char because int might match the return type of a GCC
21954
   builtin and then its argument prototype would still apply.  */
21955
#ifdef __cplusplus
21956
extern "C"
21957
#endif
21958
char tanf ();
21959
int
21960
main ()
21961
{
21962
return tanf ();
21963
  ;
21964
  return 0;
21965
}
21966
_ACEOF
21967
if ac_fn_c_try_link "$LINENO"; then :
21968
  ac_cv_lib_m_tanf=yes
21969
else
21970
  ac_cv_lib_m_tanf=no
21971
fi
21972
rm -f core conftest.err conftest.$ac_objext \
21973
    conftest$ac_exeext conftest.$ac_ext
21974
LIBS=$ac_check_lib_save_LIBS
21975
fi
21976
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanf" >&5
21977
$as_echo "$ac_cv_lib_m_tanf" >&6; }
21978
if test "x$ac_cv_lib_m_tanf" = x""yes; then :
21979
 
21980
$as_echo "#define HAVE_TANF 1" >>confdefs.h
21981
 
21982
fi
21983
 
21984
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
21985
$as_echo_n "checking for tan in -lm... " >&6; }
21986
if test "${ac_cv_lib_m_tan+set}" = set; then :
21987
  $as_echo_n "(cached) " >&6
21988
else
21989
  ac_check_lib_save_LIBS=$LIBS
21990
LIBS="-lm  $LIBS"
21991
if test x$gcc_no_link = xyes; then
21992
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21993
fi
21994
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21995
/* end confdefs.h.  */
21996
 
21997
/* Override any GCC internal prototype to avoid an error.
21998
   Use char because int might match the return type of a GCC
21999
   builtin and then its argument prototype would still apply.  */
22000
#ifdef __cplusplus
22001
extern "C"
22002
#endif
22003
char tan ();
22004
int
22005
main ()
22006
{
22007
return tan ();
22008
  ;
22009
  return 0;
22010
}
22011
_ACEOF
22012
if ac_fn_c_try_link "$LINENO"; then :
22013
  ac_cv_lib_m_tan=yes
22014
else
22015
  ac_cv_lib_m_tan=no
22016
fi
22017
rm -f core conftest.err conftest.$ac_objext \
22018
    conftest$ac_exeext conftest.$ac_ext
22019
LIBS=$ac_check_lib_save_LIBS
22020
fi
22021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5
22022
$as_echo "$ac_cv_lib_m_tan" >&6; }
22023
if test "x$ac_cv_lib_m_tan" = x""yes; then :
22024
 
22025
$as_echo "#define HAVE_TAN 1" >>confdefs.h
22026
 
22027
fi
22028
 
22029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
22030
$as_echo_n "checking for tanl in -lm... " >&6; }
22031
if test "${ac_cv_lib_m_tanl+set}" = set; then :
22032
  $as_echo_n "(cached) " >&6
22033
else
22034
  ac_check_lib_save_LIBS=$LIBS
22035
LIBS="-lm  $LIBS"
22036
if test x$gcc_no_link = xyes; then
22037
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22038
fi
22039
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22040
/* end confdefs.h.  */
22041
 
22042
/* Override any GCC internal prototype to avoid an error.
22043
   Use char because int might match the return type of a GCC
22044
   builtin and then its argument prototype would still apply.  */
22045
#ifdef __cplusplus
22046
extern "C"
22047
#endif
22048
char tanl ();
22049
int
22050
main ()
22051
{
22052
return tanl ();
22053
  ;
22054
  return 0;
22055
}
22056
_ACEOF
22057
if ac_fn_c_try_link "$LINENO"; then :
22058
  ac_cv_lib_m_tanl=yes
22059
else
22060
  ac_cv_lib_m_tanl=no
22061
fi
22062
rm -f core conftest.err conftest.$ac_objext \
22063
    conftest$ac_exeext conftest.$ac_ext
22064
LIBS=$ac_check_lib_save_LIBS
22065
fi
22066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanl" >&5
22067
$as_echo "$ac_cv_lib_m_tanl" >&6; }
22068
if test "x$ac_cv_lib_m_tanl" = x""yes; then :
22069
 
22070
$as_echo "#define HAVE_TANL 1" >>confdefs.h
22071
 
22072
fi
22073
 
22074
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
22075
$as_echo_n "checking for ctanf in -lm... " >&6; }
22076
if test "${ac_cv_lib_m_ctanf+set}" = set; then :
22077
  $as_echo_n "(cached) " >&6
22078
else
22079
  ac_check_lib_save_LIBS=$LIBS
22080
LIBS="-lm  $LIBS"
22081
if test x$gcc_no_link = xyes; then
22082
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22083
fi
22084
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22085
/* end confdefs.h.  */
22086
 
22087
/* Override any GCC internal prototype to avoid an error.
22088
   Use char because int might match the return type of a GCC
22089
   builtin and then its argument prototype would still apply.  */
22090
#ifdef __cplusplus
22091
extern "C"
22092
#endif
22093
char ctanf ();
22094
int
22095
main ()
22096
{
22097
return ctanf ();
22098
  ;
22099
  return 0;
22100
}
22101
_ACEOF
22102
if ac_fn_c_try_link "$LINENO"; then :
22103
  ac_cv_lib_m_ctanf=yes
22104
else
22105
  ac_cv_lib_m_ctanf=no
22106
fi
22107
rm -f core conftest.err conftest.$ac_objext \
22108
    conftest$ac_exeext conftest.$ac_ext
22109
LIBS=$ac_check_lib_save_LIBS
22110
fi
22111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanf" >&5
22112
$as_echo "$ac_cv_lib_m_ctanf" >&6; }
22113
if test "x$ac_cv_lib_m_ctanf" = x""yes; then :
22114
 
22115
$as_echo "#define HAVE_CTANF 1" >>confdefs.h
22116
 
22117
fi
22118
 
22119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
22120
$as_echo_n "checking for ctan in -lm... " >&6; }
22121
if test "${ac_cv_lib_m_ctan+set}" = set; then :
22122
  $as_echo_n "(cached) " >&6
22123
else
22124
  ac_check_lib_save_LIBS=$LIBS
22125
LIBS="-lm  $LIBS"
22126
if test x$gcc_no_link = xyes; then
22127
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22128
fi
22129
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22130
/* end confdefs.h.  */
22131
 
22132
/* Override any GCC internal prototype to avoid an error.
22133
   Use char because int might match the return type of a GCC
22134
   builtin and then its argument prototype would still apply.  */
22135
#ifdef __cplusplus
22136
extern "C"
22137
#endif
22138
char ctan ();
22139
int
22140
main ()
22141
{
22142
return ctan ();
22143
  ;
22144
  return 0;
22145
}
22146
_ACEOF
22147
if ac_fn_c_try_link "$LINENO"; then :
22148
  ac_cv_lib_m_ctan=yes
22149
else
22150
  ac_cv_lib_m_ctan=no
22151
fi
22152
rm -f core conftest.err conftest.$ac_objext \
22153
    conftest$ac_exeext conftest.$ac_ext
22154
LIBS=$ac_check_lib_save_LIBS
22155
fi
22156
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctan" >&5
22157
$as_echo "$ac_cv_lib_m_ctan" >&6; }
22158
if test "x$ac_cv_lib_m_ctan" = x""yes; then :
22159
 
22160
$as_echo "#define HAVE_CTAN 1" >>confdefs.h
22161
 
22162
fi
22163
 
22164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
22165
$as_echo_n "checking for ctanl in -lm... " >&6; }
22166
if test "${ac_cv_lib_m_ctanl+set}" = set; then :
22167
  $as_echo_n "(cached) " >&6
22168
else
22169
  ac_check_lib_save_LIBS=$LIBS
22170
LIBS="-lm  $LIBS"
22171
if test x$gcc_no_link = xyes; then
22172
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22173
fi
22174
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22175
/* end confdefs.h.  */
22176
 
22177
/* Override any GCC internal prototype to avoid an error.
22178
   Use char because int might match the return type of a GCC
22179
   builtin and then its argument prototype would still apply.  */
22180
#ifdef __cplusplus
22181
extern "C"
22182
#endif
22183
char ctanl ();
22184
int
22185
main ()
22186
{
22187
return ctanl ();
22188
  ;
22189
  return 0;
22190
}
22191
_ACEOF
22192
if ac_fn_c_try_link "$LINENO"; then :
22193
  ac_cv_lib_m_ctanl=yes
22194
else
22195
  ac_cv_lib_m_ctanl=no
22196
fi
22197
rm -f core conftest.err conftest.$ac_objext \
22198
    conftest$ac_exeext conftest.$ac_ext
22199
LIBS=$ac_check_lib_save_LIBS
22200
fi
22201
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanl" >&5
22202
$as_echo "$ac_cv_lib_m_ctanl" >&6; }
22203
if test "x$ac_cv_lib_m_ctanl" = x""yes; then :
22204
 
22205
$as_echo "#define HAVE_CTANL 1" >>confdefs.h
22206
 
22207
fi
22208
 
22209
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
22210
$as_echo_n "checking for tanhf in -lm... " >&6; }
22211
if test "${ac_cv_lib_m_tanhf+set}" = set; then :
22212
  $as_echo_n "(cached) " >&6
22213
else
22214
  ac_check_lib_save_LIBS=$LIBS
22215
LIBS="-lm  $LIBS"
22216
if test x$gcc_no_link = xyes; then
22217
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22218
fi
22219
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22220
/* end confdefs.h.  */
22221
 
22222
/* Override any GCC internal prototype to avoid an error.
22223
   Use char because int might match the return type of a GCC
22224
   builtin and then its argument prototype would still apply.  */
22225
#ifdef __cplusplus
22226
extern "C"
22227
#endif
22228
char tanhf ();
22229
int
22230
main ()
22231
{
22232
return tanhf ();
22233
  ;
22234
  return 0;
22235
}
22236
_ACEOF
22237
if ac_fn_c_try_link "$LINENO"; then :
22238
  ac_cv_lib_m_tanhf=yes
22239
else
22240
  ac_cv_lib_m_tanhf=no
22241
fi
22242
rm -f core conftest.err conftest.$ac_objext \
22243
    conftest$ac_exeext conftest.$ac_ext
22244
LIBS=$ac_check_lib_save_LIBS
22245
fi
22246
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhf" >&5
22247
$as_echo "$ac_cv_lib_m_tanhf" >&6; }
22248
if test "x$ac_cv_lib_m_tanhf" = x""yes; then :
22249
 
22250
$as_echo "#define HAVE_TANHF 1" >>confdefs.h
22251
 
22252
fi
22253
 
22254
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
22255
$as_echo_n "checking for tanh in -lm... " >&6; }
22256
if test "${ac_cv_lib_m_tanh+set}" = set; then :
22257
  $as_echo_n "(cached) " >&6
22258
else
22259
  ac_check_lib_save_LIBS=$LIBS
22260
LIBS="-lm  $LIBS"
22261
if test x$gcc_no_link = xyes; then
22262
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22263
fi
22264
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22265
/* end confdefs.h.  */
22266
 
22267
/* Override any GCC internal prototype to avoid an error.
22268
   Use char because int might match the return type of a GCC
22269
   builtin and then its argument prototype would still apply.  */
22270
#ifdef __cplusplus
22271
extern "C"
22272
#endif
22273
char tanh ();
22274
int
22275
main ()
22276
{
22277
return tanh ();
22278
  ;
22279
  return 0;
22280
}
22281
_ACEOF
22282
if ac_fn_c_try_link "$LINENO"; then :
22283
  ac_cv_lib_m_tanh=yes
22284
else
22285
  ac_cv_lib_m_tanh=no
22286
fi
22287
rm -f core conftest.err conftest.$ac_objext \
22288
    conftest$ac_exeext conftest.$ac_ext
22289
LIBS=$ac_check_lib_save_LIBS
22290
fi
22291
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanh" >&5
22292
$as_echo "$ac_cv_lib_m_tanh" >&6; }
22293
if test "x$ac_cv_lib_m_tanh" = x""yes; then :
22294
 
22295
$as_echo "#define HAVE_TANH 1" >>confdefs.h
22296
 
22297
fi
22298
 
22299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
22300
$as_echo_n "checking for tanhl in -lm... " >&6; }
22301
if test "${ac_cv_lib_m_tanhl+set}" = set; then :
22302
  $as_echo_n "(cached) " >&6
22303
else
22304
  ac_check_lib_save_LIBS=$LIBS
22305
LIBS="-lm  $LIBS"
22306
if test x$gcc_no_link = xyes; then
22307
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22308
fi
22309
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22310
/* end confdefs.h.  */
22311
 
22312
/* Override any GCC internal prototype to avoid an error.
22313
   Use char because int might match the return type of a GCC
22314
   builtin and then its argument prototype would still apply.  */
22315
#ifdef __cplusplus
22316
extern "C"
22317
#endif
22318
char tanhl ();
22319
int
22320
main ()
22321
{
22322
return tanhl ();
22323
  ;
22324
  return 0;
22325
}
22326
_ACEOF
22327
if ac_fn_c_try_link "$LINENO"; then :
22328
  ac_cv_lib_m_tanhl=yes
22329
else
22330
  ac_cv_lib_m_tanhl=no
22331
fi
22332
rm -f core conftest.err conftest.$ac_objext \
22333
    conftest$ac_exeext conftest.$ac_ext
22334
LIBS=$ac_check_lib_save_LIBS
22335
fi
22336
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhl" >&5
22337
$as_echo "$ac_cv_lib_m_tanhl" >&6; }
22338
if test "x$ac_cv_lib_m_tanhl" = x""yes; then :
22339
 
22340
$as_echo "#define HAVE_TANHL 1" >>confdefs.h
22341
 
22342
fi
22343
 
22344
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
22345
$as_echo_n "checking for ctanhf in -lm... " >&6; }
22346
if test "${ac_cv_lib_m_ctanhf+set}" = set; then :
22347
  $as_echo_n "(cached) " >&6
22348
else
22349
  ac_check_lib_save_LIBS=$LIBS
22350
LIBS="-lm  $LIBS"
22351
if test x$gcc_no_link = xyes; then
22352
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22353
fi
22354
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22355
/* end confdefs.h.  */
22356
 
22357
/* Override any GCC internal prototype to avoid an error.
22358
   Use char because int might match the return type of a GCC
22359
   builtin and then its argument prototype would still apply.  */
22360
#ifdef __cplusplus
22361
extern "C"
22362
#endif
22363
char ctanhf ();
22364
int
22365
main ()
22366
{
22367
return ctanhf ();
22368
  ;
22369
  return 0;
22370
}
22371
_ACEOF
22372
if ac_fn_c_try_link "$LINENO"; then :
22373
  ac_cv_lib_m_ctanhf=yes
22374
else
22375
  ac_cv_lib_m_ctanhf=no
22376
fi
22377
rm -f core conftest.err conftest.$ac_objext \
22378
    conftest$ac_exeext conftest.$ac_ext
22379
LIBS=$ac_check_lib_save_LIBS
22380
fi
22381
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhf" >&5
22382
$as_echo "$ac_cv_lib_m_ctanhf" >&6; }
22383
if test "x$ac_cv_lib_m_ctanhf" = x""yes; then :
22384
 
22385
$as_echo "#define HAVE_CTANHF 1" >>confdefs.h
22386
 
22387
fi
22388
 
22389
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
22390
$as_echo_n "checking for ctanh in -lm... " >&6; }
22391
if test "${ac_cv_lib_m_ctanh+set}" = set; then :
22392
  $as_echo_n "(cached) " >&6
22393
else
22394
  ac_check_lib_save_LIBS=$LIBS
22395
LIBS="-lm  $LIBS"
22396
if test x$gcc_no_link = xyes; then
22397
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22398
fi
22399
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22400
/* end confdefs.h.  */
22401
 
22402
/* Override any GCC internal prototype to avoid an error.
22403
   Use char because int might match the return type of a GCC
22404
   builtin and then its argument prototype would still apply.  */
22405
#ifdef __cplusplus
22406
extern "C"
22407
#endif
22408
char ctanh ();
22409
int
22410
main ()
22411
{
22412
return ctanh ();
22413
  ;
22414
  return 0;
22415
}
22416
_ACEOF
22417
if ac_fn_c_try_link "$LINENO"; then :
22418
  ac_cv_lib_m_ctanh=yes
22419
else
22420
  ac_cv_lib_m_ctanh=no
22421
fi
22422
rm -f core conftest.err conftest.$ac_objext \
22423
    conftest$ac_exeext conftest.$ac_ext
22424
LIBS=$ac_check_lib_save_LIBS
22425
fi
22426
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanh" >&5
22427
$as_echo "$ac_cv_lib_m_ctanh" >&6; }
22428
if test "x$ac_cv_lib_m_ctanh" = x""yes; then :
22429
 
22430
$as_echo "#define HAVE_CTANH 1" >>confdefs.h
22431
 
22432
fi
22433
 
22434
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
22435
$as_echo_n "checking for ctanhl in -lm... " >&6; }
22436
if test "${ac_cv_lib_m_ctanhl+set}" = set; then :
22437
  $as_echo_n "(cached) " >&6
22438
else
22439
  ac_check_lib_save_LIBS=$LIBS
22440
LIBS="-lm  $LIBS"
22441
if test x$gcc_no_link = xyes; then
22442
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22443
fi
22444
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22445
/* end confdefs.h.  */
22446
 
22447
/* Override any GCC internal prototype to avoid an error.
22448
   Use char because int might match the return type of a GCC
22449
   builtin and then its argument prototype would still apply.  */
22450
#ifdef __cplusplus
22451
extern "C"
22452
#endif
22453
char ctanhl ();
22454
int
22455
main ()
22456
{
22457
return ctanhl ();
22458
  ;
22459
  return 0;
22460
}
22461
_ACEOF
22462
if ac_fn_c_try_link "$LINENO"; then :
22463
  ac_cv_lib_m_ctanhl=yes
22464
else
22465
  ac_cv_lib_m_ctanhl=no
22466
fi
22467
rm -f core conftest.err conftest.$ac_objext \
22468
    conftest$ac_exeext conftest.$ac_ext
22469
LIBS=$ac_check_lib_save_LIBS
22470
fi
22471
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhl" >&5
22472
$as_echo "$ac_cv_lib_m_ctanhl" >&6; }
22473
if test "x$ac_cv_lib_m_ctanhl" = x""yes; then :
22474
 
22475
$as_echo "#define HAVE_CTANHL 1" >>confdefs.h
22476
 
22477
fi
22478
 
22479
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
22480
$as_echo_n "checking for truncf in -lm... " >&6; }
22481
if test "${ac_cv_lib_m_truncf+set}" = set; then :
22482
  $as_echo_n "(cached) " >&6
22483
else
22484
  ac_check_lib_save_LIBS=$LIBS
22485
LIBS="-lm  $LIBS"
22486
if test x$gcc_no_link = xyes; then
22487
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22488
fi
22489
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22490
/* end confdefs.h.  */
22491
 
22492
/* Override any GCC internal prototype to avoid an error.
22493
   Use char because int might match the return type of a GCC
22494
   builtin and then its argument prototype would still apply.  */
22495
#ifdef __cplusplus
22496
extern "C"
22497
#endif
22498
char truncf ();
22499
int
22500
main ()
22501
{
22502
return truncf ();
22503
  ;
22504
  return 0;
22505
}
22506
_ACEOF
22507
if ac_fn_c_try_link "$LINENO"; then :
22508
  ac_cv_lib_m_truncf=yes
22509
else
22510
  ac_cv_lib_m_truncf=no
22511
fi
22512
rm -f core conftest.err conftest.$ac_objext \
22513
    conftest$ac_exeext conftest.$ac_ext
22514
LIBS=$ac_check_lib_save_LIBS
22515
fi
22516
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncf" >&5
22517
$as_echo "$ac_cv_lib_m_truncf" >&6; }
22518
if test "x$ac_cv_lib_m_truncf" = x""yes; then :
22519
 
22520
$as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
22521
 
22522
fi
22523
 
22524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
22525
$as_echo_n "checking for trunc in -lm... " >&6; }
22526
if test "${ac_cv_lib_m_trunc+set}" = set; then :
22527
  $as_echo_n "(cached) " >&6
22528
else
22529
  ac_check_lib_save_LIBS=$LIBS
22530
LIBS="-lm  $LIBS"
22531
if test x$gcc_no_link = xyes; then
22532
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22533
fi
22534
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22535
/* end confdefs.h.  */
22536
 
22537
/* Override any GCC internal prototype to avoid an error.
22538
   Use char because int might match the return type of a GCC
22539
   builtin and then its argument prototype would still apply.  */
22540
#ifdef __cplusplus
22541
extern "C"
22542
#endif
22543
char trunc ();
22544
int
22545
main ()
22546
{
22547
return trunc ();
22548
  ;
22549
  return 0;
22550
}
22551
_ACEOF
22552
if ac_fn_c_try_link "$LINENO"; then :
22553
  ac_cv_lib_m_trunc=yes
22554
else
22555
  ac_cv_lib_m_trunc=no
22556
fi
22557
rm -f core conftest.err conftest.$ac_objext \
22558
    conftest$ac_exeext conftest.$ac_ext
22559
LIBS=$ac_check_lib_save_LIBS
22560
fi
22561
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
22562
$as_echo "$ac_cv_lib_m_trunc" >&6; }
22563
if test "x$ac_cv_lib_m_trunc" = x""yes; then :
22564
 
22565
$as_echo "#define HAVE_TRUNC 1" >>confdefs.h
22566
 
22567
fi
22568
 
22569
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
22570
$as_echo_n "checking for truncl in -lm... " >&6; }
22571
if test "${ac_cv_lib_m_truncl+set}" = set; then :
22572
  $as_echo_n "(cached) " >&6
22573
else
22574
  ac_check_lib_save_LIBS=$LIBS
22575
LIBS="-lm  $LIBS"
22576
if test x$gcc_no_link = xyes; then
22577
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22578
fi
22579
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22580
/* end confdefs.h.  */
22581
 
22582
/* Override any GCC internal prototype to avoid an error.
22583
   Use char because int might match the return type of a GCC
22584
   builtin and then its argument prototype would still apply.  */
22585
#ifdef __cplusplus
22586
extern "C"
22587
#endif
22588
char truncl ();
22589
int
22590
main ()
22591
{
22592
return truncl ();
22593
  ;
22594
  return 0;
22595
}
22596
_ACEOF
22597
if ac_fn_c_try_link "$LINENO"; then :
22598
  ac_cv_lib_m_truncl=yes
22599
else
22600
  ac_cv_lib_m_truncl=no
22601
fi
22602
rm -f core conftest.err conftest.$ac_objext \
22603
    conftest$ac_exeext conftest.$ac_ext
22604
LIBS=$ac_check_lib_save_LIBS
22605
fi
22606
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncl" >&5
22607
$as_echo "$ac_cv_lib_m_truncl" >&6; }
22608
if test "x$ac_cv_lib_m_truncl" = x""yes; then :
22609
 
22610
$as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
22611
 
22612
fi
22613
 
22614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
22615
$as_echo_n "checking for erff in -lm... " >&6; }
22616
if test "${ac_cv_lib_m_erff+set}" = set; then :
22617
  $as_echo_n "(cached) " >&6
22618
else
22619
  ac_check_lib_save_LIBS=$LIBS
22620
LIBS="-lm  $LIBS"
22621
if test x$gcc_no_link = xyes; then
22622
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22623
fi
22624
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22625
/* end confdefs.h.  */
22626
 
22627
/* Override any GCC internal prototype to avoid an error.
22628
   Use char because int might match the return type of a GCC
22629
   builtin and then its argument prototype would still apply.  */
22630
#ifdef __cplusplus
22631
extern "C"
22632
#endif
22633
char erff ();
22634
int
22635
main ()
22636
{
22637
return erff ();
22638
  ;
22639
  return 0;
22640
}
22641
_ACEOF
22642
if ac_fn_c_try_link "$LINENO"; then :
22643
  ac_cv_lib_m_erff=yes
22644
else
22645
  ac_cv_lib_m_erff=no
22646
fi
22647
rm -f core conftest.err conftest.$ac_objext \
22648
    conftest$ac_exeext conftest.$ac_ext
22649
LIBS=$ac_check_lib_save_LIBS
22650
fi
22651
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erff" >&5
22652
$as_echo "$ac_cv_lib_m_erff" >&6; }
22653
if test "x$ac_cv_lib_m_erff" = x""yes; then :
22654
 
22655
$as_echo "#define HAVE_ERFF 1" >>confdefs.h
22656
 
22657
fi
22658
 
22659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
22660
$as_echo_n "checking for erf in -lm... " >&6; }
22661
if test "${ac_cv_lib_m_erf+set}" = set; then :
22662
  $as_echo_n "(cached) " >&6
22663
else
22664
  ac_check_lib_save_LIBS=$LIBS
22665
LIBS="-lm  $LIBS"
22666
if test x$gcc_no_link = xyes; then
22667
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22668
fi
22669
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22670
/* end confdefs.h.  */
22671
 
22672
/* Override any GCC internal prototype to avoid an error.
22673
   Use char because int might match the return type of a GCC
22674
   builtin and then its argument prototype would still apply.  */
22675
#ifdef __cplusplus
22676
extern "C"
22677
#endif
22678
char erf ();
22679
int
22680
main ()
22681
{
22682
return erf ();
22683
  ;
22684
  return 0;
22685
}
22686
_ACEOF
22687
if ac_fn_c_try_link "$LINENO"; then :
22688
  ac_cv_lib_m_erf=yes
22689
else
22690
  ac_cv_lib_m_erf=no
22691
fi
22692
rm -f core conftest.err conftest.$ac_objext \
22693
    conftest$ac_exeext conftest.$ac_ext
22694
LIBS=$ac_check_lib_save_LIBS
22695
fi
22696
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erf" >&5
22697
$as_echo "$ac_cv_lib_m_erf" >&6; }
22698
if test "x$ac_cv_lib_m_erf" = x""yes; then :
22699
 
22700
$as_echo "#define HAVE_ERF 1" >>confdefs.h
22701
 
22702
fi
22703
 
22704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
22705
$as_echo_n "checking for erfl in -lm... " >&6; }
22706
if test "${ac_cv_lib_m_erfl+set}" = set; then :
22707
  $as_echo_n "(cached) " >&6
22708
else
22709
  ac_check_lib_save_LIBS=$LIBS
22710
LIBS="-lm  $LIBS"
22711
if test x$gcc_no_link = xyes; then
22712
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22713
fi
22714
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22715
/* end confdefs.h.  */
22716
 
22717
/* Override any GCC internal prototype to avoid an error.
22718
   Use char because int might match the return type of a GCC
22719
   builtin and then its argument prototype would still apply.  */
22720
#ifdef __cplusplus
22721
extern "C"
22722
#endif
22723
char erfl ();
22724
int
22725
main ()
22726
{
22727
return erfl ();
22728
  ;
22729
  return 0;
22730
}
22731
_ACEOF
22732
if ac_fn_c_try_link "$LINENO"; then :
22733
  ac_cv_lib_m_erfl=yes
22734
else
22735
  ac_cv_lib_m_erfl=no
22736
fi
22737
rm -f core conftest.err conftest.$ac_objext \
22738
    conftest$ac_exeext conftest.$ac_ext
22739
LIBS=$ac_check_lib_save_LIBS
22740
fi
22741
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfl" >&5
22742
$as_echo "$ac_cv_lib_m_erfl" >&6; }
22743
if test "x$ac_cv_lib_m_erfl" = x""yes; then :
22744
 
22745
$as_echo "#define HAVE_ERFL 1" >>confdefs.h
22746
 
22747
fi
22748
 
22749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22750
$as_echo_n "checking for erfcf in -lm... " >&6; }
22751
if test "${ac_cv_lib_m_erfcf+set}" = set; then :
22752
  $as_echo_n "(cached) " >&6
22753
else
22754
  ac_check_lib_save_LIBS=$LIBS
22755
LIBS="-lm  $LIBS"
22756
if test x$gcc_no_link = xyes; then
22757
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22758
fi
22759
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22760
/* end confdefs.h.  */
22761
 
22762
/* Override any GCC internal prototype to avoid an error.
22763
   Use char because int might match the return type of a GCC
22764
   builtin and then its argument prototype would still apply.  */
22765
#ifdef __cplusplus
22766
extern "C"
22767
#endif
22768
char erfcf ();
22769
int
22770
main ()
22771
{
22772
return erfcf ();
22773
  ;
22774
  return 0;
22775
}
22776
_ACEOF
22777
if ac_fn_c_try_link "$LINENO"; then :
22778
  ac_cv_lib_m_erfcf=yes
22779
else
22780
  ac_cv_lib_m_erfcf=no
22781
fi
22782
rm -f core conftest.err conftest.$ac_objext \
22783
    conftest$ac_exeext conftest.$ac_ext
22784
LIBS=$ac_check_lib_save_LIBS
22785
fi
22786
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcf" >&5
22787
$as_echo "$ac_cv_lib_m_erfcf" >&6; }
22788
if test "x$ac_cv_lib_m_erfcf" = x""yes; then :
22789
 
22790
$as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22791
 
22792
fi
22793
 
22794
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22795
$as_echo_n "checking for erfc in -lm... " >&6; }
22796
if test "${ac_cv_lib_m_erfc+set}" = set; then :
22797
  $as_echo_n "(cached) " >&6
22798
else
22799
  ac_check_lib_save_LIBS=$LIBS
22800
LIBS="-lm  $LIBS"
22801
if test x$gcc_no_link = xyes; then
22802
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22803
fi
22804
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22805
/* end confdefs.h.  */
22806
 
22807
/* Override any GCC internal prototype to avoid an error.
22808
   Use char because int might match the return type of a GCC
22809
   builtin and then its argument prototype would still apply.  */
22810
#ifdef __cplusplus
22811
extern "C"
22812
#endif
22813
char erfc ();
22814
int
22815
main ()
22816
{
22817
return erfc ();
22818
  ;
22819
  return 0;
22820
}
22821
_ACEOF
22822
if ac_fn_c_try_link "$LINENO"; then :
22823
  ac_cv_lib_m_erfc=yes
22824
else
22825
  ac_cv_lib_m_erfc=no
22826
fi
22827
rm -f core conftest.err conftest.$ac_objext \
22828
    conftest$ac_exeext conftest.$ac_ext
22829
LIBS=$ac_check_lib_save_LIBS
22830
fi
22831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfc" >&5
22832
$as_echo "$ac_cv_lib_m_erfc" >&6; }
22833
if test "x$ac_cv_lib_m_erfc" = x""yes; then :
22834
 
22835
$as_echo "#define HAVE_ERFC 1" >>confdefs.h
22836
 
22837
fi
22838
 
22839
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22840
$as_echo_n "checking for erfcl in -lm... " >&6; }
22841
if test "${ac_cv_lib_m_erfcl+set}" = set; then :
22842
  $as_echo_n "(cached) " >&6
22843
else
22844
  ac_check_lib_save_LIBS=$LIBS
22845
LIBS="-lm  $LIBS"
22846
if test x$gcc_no_link = xyes; then
22847
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22848
fi
22849
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22850
/* end confdefs.h.  */
22851
 
22852
/* Override any GCC internal prototype to avoid an error.
22853
   Use char because int might match the return type of a GCC
22854
   builtin and then its argument prototype would still apply.  */
22855
#ifdef __cplusplus
22856
extern "C"
22857
#endif
22858
char erfcl ();
22859
int
22860
main ()
22861
{
22862
return erfcl ();
22863
  ;
22864
  return 0;
22865
}
22866
_ACEOF
22867
if ac_fn_c_try_link "$LINENO"; then :
22868
  ac_cv_lib_m_erfcl=yes
22869
else
22870
  ac_cv_lib_m_erfcl=no
22871
fi
22872
rm -f core conftest.err conftest.$ac_objext \
22873
    conftest$ac_exeext conftest.$ac_ext
22874
LIBS=$ac_check_lib_save_LIBS
22875
fi
22876
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcl" >&5
22877
$as_echo "$ac_cv_lib_m_erfcl" >&6; }
22878
if test "x$ac_cv_lib_m_erfcl" = x""yes; then :
22879
 
22880
$as_echo "#define HAVE_ERFCL 1" >>confdefs.h
22881
 
22882
fi
22883
 
22884
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
22885
$as_echo_n "checking for j0f in -lm... " >&6; }
22886
if test "${ac_cv_lib_m_j0f+set}" = set; then :
22887
  $as_echo_n "(cached) " >&6
22888
else
22889
  ac_check_lib_save_LIBS=$LIBS
22890
LIBS="-lm  $LIBS"
22891
if test x$gcc_no_link = xyes; then
22892
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22893
fi
22894
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22895
/* end confdefs.h.  */
22896
 
22897
/* Override any GCC internal prototype to avoid an error.
22898
   Use char because int might match the return type of a GCC
22899
   builtin and then its argument prototype would still apply.  */
22900
#ifdef __cplusplus
22901
extern "C"
22902
#endif
22903
char j0f ();
22904
int
22905
main ()
22906
{
22907
return j0f ();
22908
  ;
22909
  return 0;
22910
}
22911
_ACEOF
22912
if ac_fn_c_try_link "$LINENO"; then :
22913
  ac_cv_lib_m_j0f=yes
22914
else
22915
  ac_cv_lib_m_j0f=no
22916
fi
22917
rm -f core conftest.err conftest.$ac_objext \
22918
    conftest$ac_exeext conftest.$ac_ext
22919
LIBS=$ac_check_lib_save_LIBS
22920
fi
22921
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0f" >&5
22922
$as_echo "$ac_cv_lib_m_j0f" >&6; }
22923
if test "x$ac_cv_lib_m_j0f" = x""yes; then :
22924
 
22925
$as_echo "#define HAVE_J0F 1" >>confdefs.h
22926
 
22927
fi
22928
 
22929
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
22930
$as_echo_n "checking for j0 in -lm... " >&6; }
22931
if test "${ac_cv_lib_m_j0+set}" = set; then :
22932
  $as_echo_n "(cached) " >&6
22933
else
22934
  ac_check_lib_save_LIBS=$LIBS
22935
LIBS="-lm  $LIBS"
22936
if test x$gcc_no_link = xyes; then
22937
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22938
fi
22939
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22940
/* end confdefs.h.  */
22941
 
22942
/* Override any GCC internal prototype to avoid an error.
22943
   Use char because int might match the return type of a GCC
22944
   builtin and then its argument prototype would still apply.  */
22945
#ifdef __cplusplus
22946
extern "C"
22947
#endif
22948
char j0 ();
22949
int
22950
main ()
22951
{
22952
return j0 ();
22953
  ;
22954
  return 0;
22955
}
22956
_ACEOF
22957
if ac_fn_c_try_link "$LINENO"; then :
22958
  ac_cv_lib_m_j0=yes
22959
else
22960
  ac_cv_lib_m_j0=no
22961
fi
22962
rm -f core conftest.err conftest.$ac_objext \
22963
    conftest$ac_exeext conftest.$ac_ext
22964
LIBS=$ac_check_lib_save_LIBS
22965
fi
22966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0" >&5
22967
$as_echo "$ac_cv_lib_m_j0" >&6; }
22968
if test "x$ac_cv_lib_m_j0" = x""yes; then :
22969
 
22970
$as_echo "#define HAVE_J0 1" >>confdefs.h
22971
 
22972
fi
22973
 
22974
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
22975
$as_echo_n "checking for j0l in -lm... " >&6; }
22976
if test "${ac_cv_lib_m_j0l+set}" = set; then :
22977
  $as_echo_n "(cached) " >&6
22978
else
22979
  ac_check_lib_save_LIBS=$LIBS
22980
LIBS="-lm  $LIBS"
22981
if test x$gcc_no_link = xyes; then
22982
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22983
fi
22984
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22985
/* end confdefs.h.  */
22986
 
22987
/* Override any GCC internal prototype to avoid an error.
22988
   Use char because int might match the return type of a GCC
22989
   builtin and then its argument prototype would still apply.  */
22990
#ifdef __cplusplus
22991
extern "C"
22992
#endif
22993
char j0l ();
22994
int
22995
main ()
22996
{
22997
return j0l ();
22998
  ;
22999
  return 0;
23000
}
23001
_ACEOF
23002
if ac_fn_c_try_link "$LINENO"; then :
23003
  ac_cv_lib_m_j0l=yes
23004
else
23005
  ac_cv_lib_m_j0l=no
23006
fi
23007
rm -f core conftest.err conftest.$ac_objext \
23008
    conftest$ac_exeext conftest.$ac_ext
23009
LIBS=$ac_check_lib_save_LIBS
23010
fi
23011
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0l" >&5
23012
$as_echo "$ac_cv_lib_m_j0l" >&6; }
23013
if test "x$ac_cv_lib_m_j0l" = x""yes; then :
23014
 
23015
$as_echo "#define HAVE_J0L 1" >>confdefs.h
23016
 
23017
fi
23018
 
23019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
23020
$as_echo_n "checking for j1f in -lm... " >&6; }
23021
if test "${ac_cv_lib_m_j1f+set}" = set; then :
23022
  $as_echo_n "(cached) " >&6
23023
else
23024
  ac_check_lib_save_LIBS=$LIBS
23025
LIBS="-lm  $LIBS"
23026
if test x$gcc_no_link = xyes; then
23027
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23028
fi
23029
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23030
/* end confdefs.h.  */
23031
 
23032
/* Override any GCC internal prototype to avoid an error.
23033
   Use char because int might match the return type of a GCC
23034
   builtin and then its argument prototype would still apply.  */
23035
#ifdef __cplusplus
23036
extern "C"
23037
#endif
23038
char j1f ();
23039
int
23040
main ()
23041
{
23042
return j1f ();
23043
  ;
23044
  return 0;
23045
}
23046
_ACEOF
23047
if ac_fn_c_try_link "$LINENO"; then :
23048
  ac_cv_lib_m_j1f=yes
23049
else
23050
  ac_cv_lib_m_j1f=no
23051
fi
23052
rm -f core conftest.err conftest.$ac_objext \
23053
    conftest$ac_exeext conftest.$ac_ext
23054
LIBS=$ac_check_lib_save_LIBS
23055
fi
23056
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1f" >&5
23057
$as_echo "$ac_cv_lib_m_j1f" >&6; }
23058
if test "x$ac_cv_lib_m_j1f" = x""yes; then :
23059
 
23060
$as_echo "#define HAVE_J1F 1" >>confdefs.h
23061
 
23062
fi
23063
 
23064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
23065
$as_echo_n "checking for j1 in -lm... " >&6; }
23066
if test "${ac_cv_lib_m_j1+set}" = set; then :
23067
  $as_echo_n "(cached) " >&6
23068
else
23069
  ac_check_lib_save_LIBS=$LIBS
23070
LIBS="-lm  $LIBS"
23071
if test x$gcc_no_link = xyes; then
23072
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23073
fi
23074
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23075
/* end confdefs.h.  */
23076
 
23077
/* Override any GCC internal prototype to avoid an error.
23078
   Use char because int might match the return type of a GCC
23079
   builtin and then its argument prototype would still apply.  */
23080
#ifdef __cplusplus
23081
extern "C"
23082
#endif
23083
char j1 ();
23084
int
23085
main ()
23086
{
23087
return j1 ();
23088
  ;
23089
  return 0;
23090
}
23091
_ACEOF
23092
if ac_fn_c_try_link "$LINENO"; then :
23093
  ac_cv_lib_m_j1=yes
23094
else
23095
  ac_cv_lib_m_j1=no
23096
fi
23097
rm -f core conftest.err conftest.$ac_objext \
23098
    conftest$ac_exeext conftest.$ac_ext
23099
LIBS=$ac_check_lib_save_LIBS
23100
fi
23101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1" >&5
23102
$as_echo "$ac_cv_lib_m_j1" >&6; }
23103
if test "x$ac_cv_lib_m_j1" = x""yes; then :
23104
 
23105
$as_echo "#define HAVE_J1 1" >>confdefs.h
23106
 
23107
fi
23108
 
23109
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
23110
$as_echo_n "checking for j1l in -lm... " >&6; }
23111
if test "${ac_cv_lib_m_j1l+set}" = set; then :
23112
  $as_echo_n "(cached) " >&6
23113
else
23114
  ac_check_lib_save_LIBS=$LIBS
23115
LIBS="-lm  $LIBS"
23116
if test x$gcc_no_link = xyes; then
23117
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23118
fi
23119
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23120
/* end confdefs.h.  */
23121
 
23122
/* Override any GCC internal prototype to avoid an error.
23123
   Use char because int might match the return type of a GCC
23124
   builtin and then its argument prototype would still apply.  */
23125
#ifdef __cplusplus
23126
extern "C"
23127
#endif
23128
char j1l ();
23129
int
23130
main ()
23131
{
23132
return j1l ();
23133
  ;
23134
  return 0;
23135
}
23136
_ACEOF
23137
if ac_fn_c_try_link "$LINENO"; then :
23138
  ac_cv_lib_m_j1l=yes
23139
else
23140
  ac_cv_lib_m_j1l=no
23141
fi
23142
rm -f core conftest.err conftest.$ac_objext \
23143
    conftest$ac_exeext conftest.$ac_ext
23144
LIBS=$ac_check_lib_save_LIBS
23145
fi
23146
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1l" >&5
23147
$as_echo "$ac_cv_lib_m_j1l" >&6; }
23148
if test "x$ac_cv_lib_m_j1l" = x""yes; then :
23149
 
23150
$as_echo "#define HAVE_J1L 1" >>confdefs.h
23151
 
23152
fi
23153
 
23154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
23155
$as_echo_n "checking for jnf in -lm... " >&6; }
23156
if test "${ac_cv_lib_m_jnf+set}" = set; then :
23157
  $as_echo_n "(cached) " >&6
23158
else
23159
  ac_check_lib_save_LIBS=$LIBS
23160
LIBS="-lm  $LIBS"
23161
if test x$gcc_no_link = xyes; then
23162
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23163
fi
23164
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23165
/* end confdefs.h.  */
23166
 
23167
/* Override any GCC internal prototype to avoid an error.
23168
   Use char because int might match the return type of a GCC
23169
   builtin and then its argument prototype would still apply.  */
23170
#ifdef __cplusplus
23171
extern "C"
23172
#endif
23173
char jnf ();
23174
int
23175
main ()
23176
{
23177
return jnf ();
23178
  ;
23179
  return 0;
23180
}
23181
_ACEOF
23182
if ac_fn_c_try_link "$LINENO"; then :
23183
  ac_cv_lib_m_jnf=yes
23184
else
23185
  ac_cv_lib_m_jnf=no
23186
fi
23187
rm -f core conftest.err conftest.$ac_objext \
23188
    conftest$ac_exeext conftest.$ac_ext
23189
LIBS=$ac_check_lib_save_LIBS
23190
fi
23191
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnf" >&5
23192
$as_echo "$ac_cv_lib_m_jnf" >&6; }
23193
if test "x$ac_cv_lib_m_jnf" = x""yes; then :
23194
 
23195
$as_echo "#define HAVE_JNF 1" >>confdefs.h
23196
 
23197
fi
23198
 
23199
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
23200
$as_echo_n "checking for jn in -lm... " >&6; }
23201
if test "${ac_cv_lib_m_jn+set}" = set; then :
23202
  $as_echo_n "(cached) " >&6
23203
else
23204
  ac_check_lib_save_LIBS=$LIBS
23205
LIBS="-lm  $LIBS"
23206
if test x$gcc_no_link = xyes; then
23207
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23208
fi
23209
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23210
/* end confdefs.h.  */
23211
 
23212
/* Override any GCC internal prototype to avoid an error.
23213
   Use char because int might match the return type of a GCC
23214
   builtin and then its argument prototype would still apply.  */
23215
#ifdef __cplusplus
23216
extern "C"
23217
#endif
23218
char jn ();
23219
int
23220
main ()
23221
{
23222
return jn ();
23223
  ;
23224
  return 0;
23225
}
23226
_ACEOF
23227
if ac_fn_c_try_link "$LINENO"; then :
23228
  ac_cv_lib_m_jn=yes
23229
else
23230
  ac_cv_lib_m_jn=no
23231
fi
23232
rm -f core conftest.err conftest.$ac_objext \
23233
    conftest$ac_exeext conftest.$ac_ext
23234
LIBS=$ac_check_lib_save_LIBS
23235
fi
23236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jn" >&5
23237
$as_echo "$ac_cv_lib_m_jn" >&6; }
23238
if test "x$ac_cv_lib_m_jn" = x""yes; then :
23239
 
23240
$as_echo "#define HAVE_JN 1" >>confdefs.h
23241
 
23242
fi
23243
 
23244
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
23245
$as_echo_n "checking for jnl in -lm... " >&6; }
23246
if test "${ac_cv_lib_m_jnl+set}" = set; then :
23247
  $as_echo_n "(cached) " >&6
23248
else
23249
  ac_check_lib_save_LIBS=$LIBS
23250
LIBS="-lm  $LIBS"
23251
if test x$gcc_no_link = xyes; then
23252
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23253
fi
23254
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23255
/* end confdefs.h.  */
23256
 
23257
/* Override any GCC internal prototype to avoid an error.
23258
   Use char because int might match the return type of a GCC
23259
   builtin and then its argument prototype would still apply.  */
23260
#ifdef __cplusplus
23261
extern "C"
23262
#endif
23263
char jnl ();
23264
int
23265
main ()
23266
{
23267
return jnl ();
23268
  ;
23269
  return 0;
23270
}
23271
_ACEOF
23272
if ac_fn_c_try_link "$LINENO"; then :
23273
  ac_cv_lib_m_jnl=yes
23274
else
23275
  ac_cv_lib_m_jnl=no
23276
fi
23277
rm -f core conftest.err conftest.$ac_objext \
23278
    conftest$ac_exeext conftest.$ac_ext
23279
LIBS=$ac_check_lib_save_LIBS
23280
fi
23281
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnl" >&5
23282
$as_echo "$ac_cv_lib_m_jnl" >&6; }
23283
if test "x$ac_cv_lib_m_jnl" = x""yes; then :
23284
 
23285
$as_echo "#define HAVE_JNL 1" >>confdefs.h
23286
 
23287
fi
23288
 
23289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
23290
$as_echo_n "checking for y0f in -lm... " >&6; }
23291
if test "${ac_cv_lib_m_y0f+set}" = set; then :
23292
  $as_echo_n "(cached) " >&6
23293
else
23294
  ac_check_lib_save_LIBS=$LIBS
23295
LIBS="-lm  $LIBS"
23296
if test x$gcc_no_link = xyes; then
23297
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23298
fi
23299
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23300
/* end confdefs.h.  */
23301
 
23302
/* Override any GCC internal prototype to avoid an error.
23303
   Use char because int might match the return type of a GCC
23304
   builtin and then its argument prototype would still apply.  */
23305
#ifdef __cplusplus
23306
extern "C"
23307
#endif
23308
char y0f ();
23309
int
23310
main ()
23311
{
23312
return y0f ();
23313
  ;
23314
  return 0;
23315
}
23316
_ACEOF
23317
if ac_fn_c_try_link "$LINENO"; then :
23318
  ac_cv_lib_m_y0f=yes
23319
else
23320
  ac_cv_lib_m_y0f=no
23321
fi
23322
rm -f core conftest.err conftest.$ac_objext \
23323
    conftest$ac_exeext conftest.$ac_ext
23324
LIBS=$ac_check_lib_save_LIBS
23325
fi
23326
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0f" >&5
23327
$as_echo "$ac_cv_lib_m_y0f" >&6; }
23328
if test "x$ac_cv_lib_m_y0f" = x""yes; then :
23329
 
23330
$as_echo "#define HAVE_Y0F 1" >>confdefs.h
23331
 
23332
fi
23333
 
23334
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
23335
$as_echo_n "checking for y0 in -lm... " >&6; }
23336
if test "${ac_cv_lib_m_y0+set}" = set; then :
23337
  $as_echo_n "(cached) " >&6
23338
else
23339
  ac_check_lib_save_LIBS=$LIBS
23340
LIBS="-lm  $LIBS"
23341
if test x$gcc_no_link = xyes; then
23342
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23343
fi
23344
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23345
/* end confdefs.h.  */
23346
 
23347
/* Override any GCC internal prototype to avoid an error.
23348
   Use char because int might match the return type of a GCC
23349
   builtin and then its argument prototype would still apply.  */
23350
#ifdef __cplusplus
23351
extern "C"
23352
#endif
23353
char y0 ();
23354
int
23355
main ()
23356
{
23357
return y0 ();
23358
  ;
23359
  return 0;
23360
}
23361
_ACEOF
23362
if ac_fn_c_try_link "$LINENO"; then :
23363
  ac_cv_lib_m_y0=yes
23364
else
23365
  ac_cv_lib_m_y0=no
23366
fi
23367
rm -f core conftest.err conftest.$ac_objext \
23368
    conftest$ac_exeext conftest.$ac_ext
23369
LIBS=$ac_check_lib_save_LIBS
23370
fi
23371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0" >&5
23372
$as_echo "$ac_cv_lib_m_y0" >&6; }
23373
if test "x$ac_cv_lib_m_y0" = x""yes; then :
23374
 
23375
$as_echo "#define HAVE_Y0 1" >>confdefs.h
23376
 
23377
fi
23378
 
23379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
23380
$as_echo_n "checking for y0l in -lm... " >&6; }
23381
if test "${ac_cv_lib_m_y0l+set}" = set; then :
23382
  $as_echo_n "(cached) " >&6
23383
else
23384
  ac_check_lib_save_LIBS=$LIBS
23385
LIBS="-lm  $LIBS"
23386
if test x$gcc_no_link = xyes; then
23387
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23388
fi
23389
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23390
/* end confdefs.h.  */
23391
 
23392
/* Override any GCC internal prototype to avoid an error.
23393
   Use char because int might match the return type of a GCC
23394
   builtin and then its argument prototype would still apply.  */
23395
#ifdef __cplusplus
23396
extern "C"
23397
#endif
23398
char y0l ();
23399
int
23400
main ()
23401
{
23402
return y0l ();
23403
  ;
23404
  return 0;
23405
}
23406
_ACEOF
23407
if ac_fn_c_try_link "$LINENO"; then :
23408
  ac_cv_lib_m_y0l=yes
23409
else
23410
  ac_cv_lib_m_y0l=no
23411
fi
23412
rm -f core conftest.err conftest.$ac_objext \
23413
    conftest$ac_exeext conftest.$ac_ext
23414
LIBS=$ac_check_lib_save_LIBS
23415
fi
23416
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0l" >&5
23417
$as_echo "$ac_cv_lib_m_y0l" >&6; }
23418
if test "x$ac_cv_lib_m_y0l" = x""yes; then :
23419
 
23420
$as_echo "#define HAVE_Y0L 1" >>confdefs.h
23421
 
23422
fi
23423
 
23424
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
23425
$as_echo_n "checking for y1f in -lm... " >&6; }
23426
if test "${ac_cv_lib_m_y1f+set}" = set; then :
23427
  $as_echo_n "(cached) " >&6
23428
else
23429
  ac_check_lib_save_LIBS=$LIBS
23430
LIBS="-lm  $LIBS"
23431
if test x$gcc_no_link = xyes; then
23432
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23433
fi
23434
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23435
/* end confdefs.h.  */
23436
 
23437
/* Override any GCC internal prototype to avoid an error.
23438
   Use char because int might match the return type of a GCC
23439
   builtin and then its argument prototype would still apply.  */
23440
#ifdef __cplusplus
23441
extern "C"
23442
#endif
23443
char y1f ();
23444
int
23445
main ()
23446
{
23447
return y1f ();
23448
  ;
23449
  return 0;
23450
}
23451
_ACEOF
23452
if ac_fn_c_try_link "$LINENO"; then :
23453
  ac_cv_lib_m_y1f=yes
23454
else
23455
  ac_cv_lib_m_y1f=no
23456
fi
23457
rm -f core conftest.err conftest.$ac_objext \
23458
    conftest$ac_exeext conftest.$ac_ext
23459
LIBS=$ac_check_lib_save_LIBS
23460
fi
23461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1f" >&5
23462
$as_echo "$ac_cv_lib_m_y1f" >&6; }
23463
if test "x$ac_cv_lib_m_y1f" = x""yes; then :
23464
 
23465
$as_echo "#define HAVE_Y1F 1" >>confdefs.h
23466
 
23467
fi
23468
 
23469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
23470
$as_echo_n "checking for y1 in -lm... " >&6; }
23471
if test "${ac_cv_lib_m_y1+set}" = set; then :
23472
  $as_echo_n "(cached) " >&6
23473
else
23474
  ac_check_lib_save_LIBS=$LIBS
23475
LIBS="-lm  $LIBS"
23476
if test x$gcc_no_link = xyes; then
23477
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23478
fi
23479
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23480
/* end confdefs.h.  */
23481
 
23482
/* Override any GCC internal prototype to avoid an error.
23483
   Use char because int might match the return type of a GCC
23484
   builtin and then its argument prototype would still apply.  */
23485
#ifdef __cplusplus
23486
extern "C"
23487
#endif
23488
char y1 ();
23489
int
23490
main ()
23491
{
23492
return y1 ();
23493
  ;
23494
  return 0;
23495
}
23496
_ACEOF
23497
if ac_fn_c_try_link "$LINENO"; then :
23498
  ac_cv_lib_m_y1=yes
23499
else
23500
  ac_cv_lib_m_y1=no
23501
fi
23502
rm -f core conftest.err conftest.$ac_objext \
23503
    conftest$ac_exeext conftest.$ac_ext
23504
LIBS=$ac_check_lib_save_LIBS
23505
fi
23506
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1" >&5
23507
$as_echo "$ac_cv_lib_m_y1" >&6; }
23508
if test "x$ac_cv_lib_m_y1" = x""yes; then :
23509
 
23510
$as_echo "#define HAVE_Y1 1" >>confdefs.h
23511
 
23512
fi
23513
 
23514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
23515
$as_echo_n "checking for y1l in -lm... " >&6; }
23516
if test "${ac_cv_lib_m_y1l+set}" = set; then :
23517
  $as_echo_n "(cached) " >&6
23518
else
23519
  ac_check_lib_save_LIBS=$LIBS
23520
LIBS="-lm  $LIBS"
23521
if test x$gcc_no_link = xyes; then
23522
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23523
fi
23524
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23525
/* end confdefs.h.  */
23526
 
23527
/* Override any GCC internal prototype to avoid an error.
23528
   Use char because int might match the return type of a GCC
23529
   builtin and then its argument prototype would still apply.  */
23530
#ifdef __cplusplus
23531
extern "C"
23532
#endif
23533
char y1l ();
23534
int
23535
main ()
23536
{
23537
return y1l ();
23538
  ;
23539
  return 0;
23540
}
23541
_ACEOF
23542
if ac_fn_c_try_link "$LINENO"; then :
23543
  ac_cv_lib_m_y1l=yes
23544
else
23545
  ac_cv_lib_m_y1l=no
23546
fi
23547
rm -f core conftest.err conftest.$ac_objext \
23548
    conftest$ac_exeext conftest.$ac_ext
23549
LIBS=$ac_check_lib_save_LIBS
23550
fi
23551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1l" >&5
23552
$as_echo "$ac_cv_lib_m_y1l" >&6; }
23553
if test "x$ac_cv_lib_m_y1l" = x""yes; then :
23554
 
23555
$as_echo "#define HAVE_Y1L 1" >>confdefs.h
23556
 
23557
fi
23558
 
23559
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
23560
$as_echo_n "checking for ynf in -lm... " >&6; }
23561
if test "${ac_cv_lib_m_ynf+set}" = set; then :
23562
  $as_echo_n "(cached) " >&6
23563
else
23564
  ac_check_lib_save_LIBS=$LIBS
23565
LIBS="-lm  $LIBS"
23566
if test x$gcc_no_link = xyes; then
23567
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23568
fi
23569
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23570
/* end confdefs.h.  */
23571
 
23572
/* Override any GCC internal prototype to avoid an error.
23573
   Use char because int might match the return type of a GCC
23574
   builtin and then its argument prototype would still apply.  */
23575
#ifdef __cplusplus
23576
extern "C"
23577
#endif
23578
char ynf ();
23579
int
23580
main ()
23581
{
23582
return ynf ();
23583
  ;
23584
  return 0;
23585
}
23586
_ACEOF
23587
if ac_fn_c_try_link "$LINENO"; then :
23588
  ac_cv_lib_m_ynf=yes
23589
else
23590
  ac_cv_lib_m_ynf=no
23591
fi
23592
rm -f core conftest.err conftest.$ac_objext \
23593
    conftest$ac_exeext conftest.$ac_ext
23594
LIBS=$ac_check_lib_save_LIBS
23595
fi
23596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynf" >&5
23597
$as_echo "$ac_cv_lib_m_ynf" >&6; }
23598
if test "x$ac_cv_lib_m_ynf" = x""yes; then :
23599
 
23600
$as_echo "#define HAVE_YNF 1" >>confdefs.h
23601
 
23602
fi
23603
 
23604
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
23605
$as_echo_n "checking for yn in -lm... " >&6; }
23606
if test "${ac_cv_lib_m_yn+set}" = set; then :
23607
  $as_echo_n "(cached) " >&6
23608
else
23609
  ac_check_lib_save_LIBS=$LIBS
23610
LIBS="-lm  $LIBS"
23611
if test x$gcc_no_link = xyes; then
23612
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23613
fi
23614
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23615
/* end confdefs.h.  */
23616
 
23617
/* Override any GCC internal prototype to avoid an error.
23618
   Use char because int might match the return type of a GCC
23619
   builtin and then its argument prototype would still apply.  */
23620
#ifdef __cplusplus
23621
extern "C"
23622
#endif
23623
char yn ();
23624
int
23625
main ()
23626
{
23627
return yn ();
23628
  ;
23629
  return 0;
23630
}
23631
_ACEOF
23632
if ac_fn_c_try_link "$LINENO"; then :
23633
  ac_cv_lib_m_yn=yes
23634
else
23635
  ac_cv_lib_m_yn=no
23636
fi
23637
rm -f core conftest.err conftest.$ac_objext \
23638
    conftest$ac_exeext conftest.$ac_ext
23639
LIBS=$ac_check_lib_save_LIBS
23640
fi
23641
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_yn" >&5
23642
$as_echo "$ac_cv_lib_m_yn" >&6; }
23643
if test "x$ac_cv_lib_m_yn" = x""yes; then :
23644
 
23645
$as_echo "#define HAVE_YN 1" >>confdefs.h
23646
 
23647
fi
23648
 
23649
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
23650
$as_echo_n "checking for ynl in -lm... " >&6; }
23651
if test "${ac_cv_lib_m_ynl+set}" = set; then :
23652
  $as_echo_n "(cached) " >&6
23653
else
23654
  ac_check_lib_save_LIBS=$LIBS
23655
LIBS="-lm  $LIBS"
23656
if test x$gcc_no_link = xyes; then
23657
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23658
fi
23659
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23660
/* end confdefs.h.  */
23661
 
23662
/* Override any GCC internal prototype to avoid an error.
23663
   Use char because int might match the return type of a GCC
23664
   builtin and then its argument prototype would still apply.  */
23665
#ifdef __cplusplus
23666
extern "C"
23667
#endif
23668
char ynl ();
23669
int
23670
main ()
23671
{
23672
return ynl ();
23673
  ;
23674
  return 0;
23675
}
23676
_ACEOF
23677
if ac_fn_c_try_link "$LINENO"; then :
23678
  ac_cv_lib_m_ynl=yes
23679
else
23680
  ac_cv_lib_m_ynl=no
23681
fi
23682
rm -f core conftest.err conftest.$ac_objext \
23683
    conftest$ac_exeext conftest.$ac_ext
23684
LIBS=$ac_check_lib_save_LIBS
23685
fi
23686
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynl" >&5
23687
$as_echo "$ac_cv_lib_m_ynl" >&6; }
23688
if test "x$ac_cv_lib_m_ynl" = x""yes; then :
23689
 
23690
$as_echo "#define HAVE_YNL 1" >>confdefs.h
23691
 
23692
fi
23693
 
23694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
23695
$as_echo_n "checking for tgamma in -lm... " >&6; }
23696
if test "${ac_cv_lib_m_tgamma+set}" = set; then :
23697
  $as_echo_n "(cached) " >&6
23698
else
23699
  ac_check_lib_save_LIBS=$LIBS
23700
LIBS="-lm  $LIBS"
23701
if test x$gcc_no_link = xyes; then
23702
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23703
fi
23704
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23705
/* end confdefs.h.  */
23706
 
23707
/* Override any GCC internal prototype to avoid an error.
23708
   Use char because int might match the return type of a GCC
23709
   builtin and then its argument prototype would still apply.  */
23710
#ifdef __cplusplus
23711
extern "C"
23712
#endif
23713
char tgamma ();
23714
int
23715
main ()
23716
{
23717
return tgamma ();
23718
  ;
23719
  return 0;
23720
}
23721
_ACEOF
23722
if ac_fn_c_try_link "$LINENO"; then :
23723
  ac_cv_lib_m_tgamma=yes
23724
else
23725
  ac_cv_lib_m_tgamma=no
23726
fi
23727
rm -f core conftest.err conftest.$ac_objext \
23728
    conftest$ac_exeext conftest.$ac_ext
23729
LIBS=$ac_check_lib_save_LIBS
23730
fi
23731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgamma" >&5
23732
$as_echo "$ac_cv_lib_m_tgamma" >&6; }
23733
if test "x$ac_cv_lib_m_tgamma" = x""yes; then :
23734
 
23735
$as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23736
 
23737
fi
23738
 
23739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23740
$as_echo_n "checking for tgammaf in -lm... " >&6; }
23741
if test "${ac_cv_lib_m_tgammaf+set}" = set; then :
23742
  $as_echo_n "(cached) " >&6
23743
else
23744
  ac_check_lib_save_LIBS=$LIBS
23745
LIBS="-lm  $LIBS"
23746
if test x$gcc_no_link = xyes; then
23747
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23748
fi
23749
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23750
/* end confdefs.h.  */
23751
 
23752
/* Override any GCC internal prototype to avoid an error.
23753
   Use char because int might match the return type of a GCC
23754
   builtin and then its argument prototype would still apply.  */
23755
#ifdef __cplusplus
23756
extern "C"
23757
#endif
23758
char tgammaf ();
23759
int
23760
main ()
23761
{
23762
return tgammaf ();
23763
  ;
23764
  return 0;
23765
}
23766
_ACEOF
23767
if ac_fn_c_try_link "$LINENO"; then :
23768
  ac_cv_lib_m_tgammaf=yes
23769
else
23770
  ac_cv_lib_m_tgammaf=no
23771
fi
23772
rm -f core conftest.err conftest.$ac_objext \
23773
    conftest$ac_exeext conftest.$ac_ext
23774
LIBS=$ac_check_lib_save_LIBS
23775
fi
23776
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammaf" >&5
23777
$as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23778
if test "x$ac_cv_lib_m_tgammaf" = x""yes; then :
23779
 
23780
$as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23781
 
23782
fi
23783
 
23784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23785
$as_echo_n "checking for tgammal in -lm... " >&6; }
23786
if test "${ac_cv_lib_m_tgammal+set}" = set; then :
23787
  $as_echo_n "(cached) " >&6
23788
else
23789
  ac_check_lib_save_LIBS=$LIBS
23790
LIBS="-lm  $LIBS"
23791
if test x$gcc_no_link = xyes; then
23792
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23793
fi
23794
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23795
/* end confdefs.h.  */
23796
 
23797
/* Override any GCC internal prototype to avoid an error.
23798
   Use char because int might match the return type of a GCC
23799
   builtin and then its argument prototype would still apply.  */
23800
#ifdef __cplusplus
23801
extern "C"
23802
#endif
23803
char tgammal ();
23804
int
23805
main ()
23806
{
23807
return tgammal ();
23808
  ;
23809
  return 0;
23810
}
23811
_ACEOF
23812
if ac_fn_c_try_link "$LINENO"; then :
23813
  ac_cv_lib_m_tgammal=yes
23814
else
23815
  ac_cv_lib_m_tgammal=no
23816
fi
23817
rm -f core conftest.err conftest.$ac_objext \
23818
    conftest$ac_exeext conftest.$ac_ext
23819
LIBS=$ac_check_lib_save_LIBS
23820
fi
23821
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammal" >&5
23822
$as_echo "$ac_cv_lib_m_tgammal" >&6; }
23823
if test "x$ac_cv_lib_m_tgammal" = x""yes; then :
23824
 
23825
$as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23826
 
23827
fi
23828
 
23829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23830
$as_echo_n "checking for lgamma in -lm... " >&6; }
23831
if test "${ac_cv_lib_m_lgamma+set}" = set; then :
23832
  $as_echo_n "(cached) " >&6
23833
else
23834
  ac_check_lib_save_LIBS=$LIBS
23835
LIBS="-lm  $LIBS"
23836
if test x$gcc_no_link = xyes; then
23837
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23838
fi
23839
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23840
/* end confdefs.h.  */
23841
 
23842
/* Override any GCC internal prototype to avoid an error.
23843
   Use char because int might match the return type of a GCC
23844
   builtin and then its argument prototype would still apply.  */
23845
#ifdef __cplusplus
23846
extern "C"
23847
#endif
23848
char lgamma ();
23849
int
23850
main ()
23851
{
23852
return lgamma ();
23853
  ;
23854
  return 0;
23855
}
23856
_ACEOF
23857
if ac_fn_c_try_link "$LINENO"; then :
23858
  ac_cv_lib_m_lgamma=yes
23859
else
23860
  ac_cv_lib_m_lgamma=no
23861
fi
23862
rm -f core conftest.err conftest.$ac_objext \
23863
    conftest$ac_exeext conftest.$ac_ext
23864
LIBS=$ac_check_lib_save_LIBS
23865
fi
23866
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgamma" >&5
23867
$as_echo "$ac_cv_lib_m_lgamma" >&6; }
23868
if test "x$ac_cv_lib_m_lgamma" = x""yes; then :
23869
 
23870
$as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23871
 
23872
fi
23873
 
23874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23875
$as_echo_n "checking for lgammaf in -lm... " >&6; }
23876
if test "${ac_cv_lib_m_lgammaf+set}" = set; then :
23877
  $as_echo_n "(cached) " >&6
23878
else
23879
  ac_check_lib_save_LIBS=$LIBS
23880
LIBS="-lm  $LIBS"
23881
if test x$gcc_no_link = xyes; then
23882
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23883
fi
23884
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23885
/* end confdefs.h.  */
23886
 
23887
/* Override any GCC internal prototype to avoid an error.
23888
   Use char because int might match the return type of a GCC
23889
   builtin and then its argument prototype would still apply.  */
23890
#ifdef __cplusplus
23891
extern "C"
23892
#endif
23893
char lgammaf ();
23894
int
23895
main ()
23896
{
23897
return lgammaf ();
23898
  ;
23899
  return 0;
23900
}
23901
_ACEOF
23902
if ac_fn_c_try_link "$LINENO"; then :
23903
  ac_cv_lib_m_lgammaf=yes
23904
else
23905
  ac_cv_lib_m_lgammaf=no
23906
fi
23907
rm -f core conftest.err conftest.$ac_objext \
23908
    conftest$ac_exeext conftest.$ac_ext
23909
LIBS=$ac_check_lib_save_LIBS
23910
fi
23911
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammaf" >&5
23912
$as_echo "$ac_cv_lib_m_lgammaf" >&6; }
23913
if test "x$ac_cv_lib_m_lgammaf" = x""yes; then :
23914
 
23915
$as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
23916
 
23917
fi
23918
 
23919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
23920
$as_echo_n "checking for lgammal in -lm... " >&6; }
23921
if test "${ac_cv_lib_m_lgammal+set}" = set; then :
23922
  $as_echo_n "(cached) " >&6
23923
else
23924
  ac_check_lib_save_LIBS=$LIBS
23925
LIBS="-lm  $LIBS"
23926
if test x$gcc_no_link = xyes; then
23927
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23928
fi
23929
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23930
/* end confdefs.h.  */
23931
 
23932
/* Override any GCC internal prototype to avoid an error.
23933
   Use char because int might match the return type of a GCC
23934
   builtin and then its argument prototype would still apply.  */
23935
#ifdef __cplusplus
23936
extern "C"
23937
#endif
23938
char lgammal ();
23939
int
23940
main ()
23941
{
23942
return lgammal ();
23943
  ;
23944
  return 0;
23945
}
23946
_ACEOF
23947
if ac_fn_c_try_link "$LINENO"; then :
23948
  ac_cv_lib_m_lgammal=yes
23949
else
23950
  ac_cv_lib_m_lgammal=no
23951
fi
23952
rm -f core conftest.err conftest.$ac_objext \
23953
    conftest$ac_exeext conftest.$ac_ext
23954
LIBS=$ac_check_lib_save_LIBS
23955
fi
23956
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammal" >&5
23957
$as_echo "$ac_cv_lib_m_lgammal" >&6; }
23958
if test "x$ac_cv_lib_m_lgammal" = x""yes; then :
23959
 
23960
$as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
23961
 
23962
fi
23963
 
23964
 
23965
# Check for GFORTRAN_C99_1.1 funcs
23966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos in -lm" >&5
23967
$as_echo_n "checking for cacos in -lm... " >&6; }
23968
if test "${ac_cv_lib_m_cacos+set}" = set; then :
23969
  $as_echo_n "(cached) " >&6
23970
else
23971
  ac_check_lib_save_LIBS=$LIBS
23972
LIBS="-lm  $LIBS"
23973
if test x$gcc_no_link = xyes; then
23974
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23975
fi
23976
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23977
/* end confdefs.h.  */
23978
 
23979
/* Override any GCC internal prototype to avoid an error.
23980
   Use char because int might match the return type of a GCC
23981
   builtin and then its argument prototype would still apply.  */
23982
#ifdef __cplusplus
23983
extern "C"
23984
#endif
23985
char cacos ();
23986
int
23987
main ()
23988
{
23989
return cacos ();
23990
  ;
23991
  return 0;
23992
}
23993
_ACEOF
23994
if ac_fn_c_try_link "$LINENO"; then :
23995
  ac_cv_lib_m_cacos=yes
23996
else
23997
  ac_cv_lib_m_cacos=no
23998
fi
23999
rm -f core conftest.err conftest.$ac_objext \
24000
    conftest$ac_exeext conftest.$ac_ext
24001
LIBS=$ac_check_lib_save_LIBS
24002
fi
24003
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacos" >&5
24004
$as_echo "$ac_cv_lib_m_cacos" >&6; }
24005
if test "x$ac_cv_lib_m_cacos" = x""yes; then :
24006
 
24007
$as_echo "#define HAVE_CACOS 1" >>confdefs.h
24008
 
24009
fi
24010
 
24011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf in -lm" >&5
24012
$as_echo_n "checking for cacosf in -lm... " >&6; }
24013
if test "${ac_cv_lib_m_cacosf+set}" = set; then :
24014
  $as_echo_n "(cached) " >&6
24015
else
24016
  ac_check_lib_save_LIBS=$LIBS
24017
LIBS="-lm  $LIBS"
24018
if test x$gcc_no_link = xyes; then
24019
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24020
fi
24021
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24022
/* end confdefs.h.  */
24023
 
24024
/* Override any GCC internal prototype to avoid an error.
24025
   Use char because int might match the return type of a GCC
24026
   builtin and then its argument prototype would still apply.  */
24027
#ifdef __cplusplus
24028
extern "C"
24029
#endif
24030
char cacosf ();
24031
int
24032
main ()
24033
{
24034
return cacosf ();
24035
  ;
24036
  return 0;
24037
}
24038
_ACEOF
24039
if ac_fn_c_try_link "$LINENO"; then :
24040
  ac_cv_lib_m_cacosf=yes
24041
else
24042
  ac_cv_lib_m_cacosf=no
24043
fi
24044
rm -f core conftest.err conftest.$ac_objext \
24045
    conftest$ac_exeext conftest.$ac_ext
24046
LIBS=$ac_check_lib_save_LIBS
24047
fi
24048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosf" >&5
24049
$as_echo "$ac_cv_lib_m_cacosf" >&6; }
24050
if test "x$ac_cv_lib_m_cacosf" = x""yes; then :
24051
 
24052
$as_echo "#define HAVE_CACOSF 1" >>confdefs.h
24053
 
24054
fi
24055
 
24056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh in -lm" >&5
24057
$as_echo_n "checking for cacosh in -lm... " >&6; }
24058
if test "${ac_cv_lib_m_cacosh+set}" = set; then :
24059
  $as_echo_n "(cached) " >&6
24060
else
24061
  ac_check_lib_save_LIBS=$LIBS
24062
LIBS="-lm  $LIBS"
24063
if test x$gcc_no_link = xyes; then
24064
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24065
fi
24066
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24067
/* end confdefs.h.  */
24068
 
24069
/* Override any GCC internal prototype to avoid an error.
24070
   Use char because int might match the return type of a GCC
24071
   builtin and then its argument prototype would still apply.  */
24072
#ifdef __cplusplus
24073
extern "C"
24074
#endif
24075
char cacosh ();
24076
int
24077
main ()
24078
{
24079
return cacosh ();
24080
  ;
24081
  return 0;
24082
}
24083
_ACEOF
24084
if ac_fn_c_try_link "$LINENO"; then :
24085
  ac_cv_lib_m_cacosh=yes
24086
else
24087
  ac_cv_lib_m_cacosh=no
24088
fi
24089
rm -f core conftest.err conftest.$ac_objext \
24090
    conftest$ac_exeext conftest.$ac_ext
24091
LIBS=$ac_check_lib_save_LIBS
24092
fi
24093
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosh" >&5
24094
$as_echo "$ac_cv_lib_m_cacosh" >&6; }
24095
if test "x$ac_cv_lib_m_cacosh" = x""yes; then :
24096
 
24097
$as_echo "#define HAVE_CACOSH 1" >>confdefs.h
24098
 
24099
fi
24100
 
24101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf in -lm" >&5
24102
$as_echo_n "checking for cacoshf in -lm... " >&6; }
24103
if test "${ac_cv_lib_m_cacoshf+set}" = set; then :
24104
  $as_echo_n "(cached) " >&6
24105
else
24106
  ac_check_lib_save_LIBS=$LIBS
24107
LIBS="-lm  $LIBS"
24108
if test x$gcc_no_link = xyes; then
24109
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24110
fi
24111
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24112
/* end confdefs.h.  */
24113
 
24114
/* Override any GCC internal prototype to avoid an error.
24115
   Use char because int might match the return type of a GCC
24116
   builtin and then its argument prototype would still apply.  */
24117
#ifdef __cplusplus
24118
extern "C"
24119
#endif
24120
char cacoshf ();
24121
int
24122
main ()
24123
{
24124
return cacoshf ();
24125
  ;
24126
  return 0;
24127
}
24128
_ACEOF
24129
if ac_fn_c_try_link "$LINENO"; then :
24130
  ac_cv_lib_m_cacoshf=yes
24131
else
24132
  ac_cv_lib_m_cacoshf=no
24133
fi
24134
rm -f core conftest.err conftest.$ac_objext \
24135
    conftest$ac_exeext conftest.$ac_ext
24136
LIBS=$ac_check_lib_save_LIBS
24137
fi
24138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshf" >&5
24139
$as_echo "$ac_cv_lib_m_cacoshf" >&6; }
24140
if test "x$ac_cv_lib_m_cacoshf" = x""yes; then :
24141
 
24142
$as_echo "#define HAVE_CACOSHF 1" >>confdefs.h
24143
 
24144
fi
24145
 
24146
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl in -lm" >&5
24147
$as_echo_n "checking for cacoshl in -lm... " >&6; }
24148
if test "${ac_cv_lib_m_cacoshl+set}" = set; then :
24149
  $as_echo_n "(cached) " >&6
24150
else
24151
  ac_check_lib_save_LIBS=$LIBS
24152
LIBS="-lm  $LIBS"
24153
if test x$gcc_no_link = xyes; then
24154
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24155
fi
24156
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24157
/* end confdefs.h.  */
24158
 
24159
/* Override any GCC internal prototype to avoid an error.
24160
   Use char because int might match the return type of a GCC
24161
   builtin and then its argument prototype would still apply.  */
24162
#ifdef __cplusplus
24163
extern "C"
24164
#endif
24165
char cacoshl ();
24166
int
24167
main ()
24168
{
24169
return cacoshl ();
24170
  ;
24171
  return 0;
24172
}
24173
_ACEOF
24174
if ac_fn_c_try_link "$LINENO"; then :
24175
  ac_cv_lib_m_cacoshl=yes
24176
else
24177
  ac_cv_lib_m_cacoshl=no
24178
fi
24179
rm -f core conftest.err conftest.$ac_objext \
24180
    conftest$ac_exeext conftest.$ac_ext
24181
LIBS=$ac_check_lib_save_LIBS
24182
fi
24183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshl" >&5
24184
$as_echo "$ac_cv_lib_m_cacoshl" >&6; }
24185
if test "x$ac_cv_lib_m_cacoshl" = x""yes; then :
24186
 
24187
$as_echo "#define HAVE_CACOSHL 1" >>confdefs.h
24188
 
24189
fi
24190
 
24191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl in -lm" >&5
24192
$as_echo_n "checking for cacosl in -lm... " >&6; }
24193
if test "${ac_cv_lib_m_cacosl+set}" = set; then :
24194
  $as_echo_n "(cached) " >&6
24195
else
24196
  ac_check_lib_save_LIBS=$LIBS
24197
LIBS="-lm  $LIBS"
24198
if test x$gcc_no_link = xyes; then
24199
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24200
fi
24201
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24202
/* end confdefs.h.  */
24203
 
24204
/* Override any GCC internal prototype to avoid an error.
24205
   Use char because int might match the return type of a GCC
24206
   builtin and then its argument prototype would still apply.  */
24207
#ifdef __cplusplus
24208
extern "C"
24209
#endif
24210
char cacosl ();
24211
int
24212
main ()
24213
{
24214
return cacosl ();
24215
  ;
24216
  return 0;
24217
}
24218
_ACEOF
24219
if ac_fn_c_try_link "$LINENO"; then :
24220
  ac_cv_lib_m_cacosl=yes
24221
else
24222
  ac_cv_lib_m_cacosl=no
24223
fi
24224
rm -f core conftest.err conftest.$ac_objext \
24225
    conftest$ac_exeext conftest.$ac_ext
24226
LIBS=$ac_check_lib_save_LIBS
24227
fi
24228
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosl" >&5
24229
$as_echo "$ac_cv_lib_m_cacosl" >&6; }
24230
if test "x$ac_cv_lib_m_cacosl" = x""yes; then :
24231
 
24232
$as_echo "#define HAVE_CACOSL 1" >>confdefs.h
24233
 
24234
fi
24235
 
24236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin in -lm" >&5
24237
$as_echo_n "checking for casin in -lm... " >&6; }
24238
if test "${ac_cv_lib_m_casin+set}" = set; then :
24239
  $as_echo_n "(cached) " >&6
24240
else
24241
  ac_check_lib_save_LIBS=$LIBS
24242
LIBS="-lm  $LIBS"
24243
if test x$gcc_no_link = xyes; then
24244
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24245
fi
24246
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24247
/* end confdefs.h.  */
24248
 
24249
/* Override any GCC internal prototype to avoid an error.
24250
   Use char because int might match the return type of a GCC
24251
   builtin and then its argument prototype would still apply.  */
24252
#ifdef __cplusplus
24253
extern "C"
24254
#endif
24255
char casin ();
24256
int
24257
main ()
24258
{
24259
return casin ();
24260
  ;
24261
  return 0;
24262
}
24263
_ACEOF
24264
if ac_fn_c_try_link "$LINENO"; then :
24265
  ac_cv_lib_m_casin=yes
24266
else
24267
  ac_cv_lib_m_casin=no
24268
fi
24269
rm -f core conftest.err conftest.$ac_objext \
24270
    conftest$ac_exeext conftest.$ac_ext
24271
LIBS=$ac_check_lib_save_LIBS
24272
fi
24273
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casin" >&5
24274
$as_echo "$ac_cv_lib_m_casin" >&6; }
24275
if test "x$ac_cv_lib_m_casin" = x""yes; then :
24276
 
24277
$as_echo "#define HAVE_CASIN 1" >>confdefs.h
24278
 
24279
fi
24280
 
24281
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf in -lm" >&5
24282
$as_echo_n "checking for casinf in -lm... " >&6; }
24283
if test "${ac_cv_lib_m_casinf+set}" = set; then :
24284
  $as_echo_n "(cached) " >&6
24285
else
24286
  ac_check_lib_save_LIBS=$LIBS
24287
LIBS="-lm  $LIBS"
24288
if test x$gcc_no_link = xyes; then
24289
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24290
fi
24291
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24292
/* end confdefs.h.  */
24293
 
24294
/* Override any GCC internal prototype to avoid an error.
24295
   Use char because int might match the return type of a GCC
24296
   builtin and then its argument prototype would still apply.  */
24297
#ifdef __cplusplus
24298
extern "C"
24299
#endif
24300
char casinf ();
24301
int
24302
main ()
24303
{
24304
return casinf ();
24305
  ;
24306
  return 0;
24307
}
24308
_ACEOF
24309
if ac_fn_c_try_link "$LINENO"; then :
24310
  ac_cv_lib_m_casinf=yes
24311
else
24312
  ac_cv_lib_m_casinf=no
24313
fi
24314
rm -f core conftest.err conftest.$ac_objext \
24315
    conftest$ac_exeext conftest.$ac_ext
24316
LIBS=$ac_check_lib_save_LIBS
24317
fi
24318
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinf" >&5
24319
$as_echo "$ac_cv_lib_m_casinf" >&6; }
24320
if test "x$ac_cv_lib_m_casinf" = x""yes; then :
24321
 
24322
$as_echo "#define HAVE_CASINF 1" >>confdefs.h
24323
 
24324
fi
24325
 
24326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh in -lm" >&5
24327
$as_echo_n "checking for casinh in -lm... " >&6; }
24328
if test "${ac_cv_lib_m_casinh+set}" = set; then :
24329
  $as_echo_n "(cached) " >&6
24330
else
24331
  ac_check_lib_save_LIBS=$LIBS
24332
LIBS="-lm  $LIBS"
24333
if test x$gcc_no_link = xyes; then
24334
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24335
fi
24336
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24337
/* end confdefs.h.  */
24338
 
24339
/* Override any GCC internal prototype to avoid an error.
24340
   Use char because int might match the return type of a GCC
24341
   builtin and then its argument prototype would still apply.  */
24342
#ifdef __cplusplus
24343
extern "C"
24344
#endif
24345
char casinh ();
24346
int
24347
main ()
24348
{
24349
return casinh ();
24350
  ;
24351
  return 0;
24352
}
24353
_ACEOF
24354
if ac_fn_c_try_link "$LINENO"; then :
24355
  ac_cv_lib_m_casinh=yes
24356
else
24357
  ac_cv_lib_m_casinh=no
24358
fi
24359
rm -f core conftest.err conftest.$ac_objext \
24360
    conftest$ac_exeext conftest.$ac_ext
24361
LIBS=$ac_check_lib_save_LIBS
24362
fi
24363
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinh" >&5
24364
$as_echo "$ac_cv_lib_m_casinh" >&6; }
24365
if test "x$ac_cv_lib_m_casinh" = x""yes; then :
24366
 
24367
$as_echo "#define HAVE_CASINH 1" >>confdefs.h
24368
 
24369
fi
24370
 
24371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf in -lm" >&5
24372
$as_echo_n "checking for casinhf in -lm... " >&6; }
24373
if test "${ac_cv_lib_m_casinhf+set}" = set; then :
24374
  $as_echo_n "(cached) " >&6
24375
else
24376
  ac_check_lib_save_LIBS=$LIBS
24377
LIBS="-lm  $LIBS"
24378
if test x$gcc_no_link = xyes; then
24379
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24380
fi
24381
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24382
/* end confdefs.h.  */
24383
 
24384
/* Override any GCC internal prototype to avoid an error.
24385
   Use char because int might match the return type of a GCC
24386
   builtin and then its argument prototype would still apply.  */
24387
#ifdef __cplusplus
24388
extern "C"
24389
#endif
24390
char casinhf ();
24391
int
24392
main ()
24393
{
24394
return casinhf ();
24395
  ;
24396
  return 0;
24397
}
24398
_ACEOF
24399
if ac_fn_c_try_link "$LINENO"; then :
24400
  ac_cv_lib_m_casinhf=yes
24401
else
24402
  ac_cv_lib_m_casinhf=no
24403
fi
24404
rm -f core conftest.err conftest.$ac_objext \
24405
    conftest$ac_exeext conftest.$ac_ext
24406
LIBS=$ac_check_lib_save_LIBS
24407
fi
24408
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhf" >&5
24409
$as_echo "$ac_cv_lib_m_casinhf" >&6; }
24410
if test "x$ac_cv_lib_m_casinhf" = x""yes; then :
24411
 
24412
$as_echo "#define HAVE_CASINHF 1" >>confdefs.h
24413
 
24414
fi
24415
 
24416
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl in -lm" >&5
24417
$as_echo_n "checking for casinhl in -lm... " >&6; }
24418
if test "${ac_cv_lib_m_casinhl+set}" = set; then :
24419
  $as_echo_n "(cached) " >&6
24420
else
24421
  ac_check_lib_save_LIBS=$LIBS
24422
LIBS="-lm  $LIBS"
24423
if test x$gcc_no_link = xyes; then
24424
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24425
fi
24426
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24427
/* end confdefs.h.  */
24428
 
24429
/* Override any GCC internal prototype to avoid an error.
24430
   Use char because int might match the return type of a GCC
24431
   builtin and then its argument prototype would still apply.  */
24432
#ifdef __cplusplus
24433
extern "C"
24434
#endif
24435
char casinhl ();
24436
int
24437
main ()
24438
{
24439
return casinhl ();
24440
  ;
24441
  return 0;
24442
}
24443
_ACEOF
24444
if ac_fn_c_try_link "$LINENO"; then :
24445
  ac_cv_lib_m_casinhl=yes
24446
else
24447
  ac_cv_lib_m_casinhl=no
24448
fi
24449
rm -f core conftest.err conftest.$ac_objext \
24450
    conftest$ac_exeext conftest.$ac_ext
24451
LIBS=$ac_check_lib_save_LIBS
24452
fi
24453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhl" >&5
24454
$as_echo "$ac_cv_lib_m_casinhl" >&6; }
24455
if test "x$ac_cv_lib_m_casinhl" = x""yes; then :
24456
 
24457
$as_echo "#define HAVE_CASINHL 1" >>confdefs.h
24458
 
24459
fi
24460
 
24461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl in -lm" >&5
24462
$as_echo_n "checking for casinl in -lm... " >&6; }
24463
if test "${ac_cv_lib_m_casinl+set}" = set; then :
24464
  $as_echo_n "(cached) " >&6
24465
else
24466
  ac_check_lib_save_LIBS=$LIBS
24467
LIBS="-lm  $LIBS"
24468
if test x$gcc_no_link = xyes; then
24469
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24470
fi
24471
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24472
/* end confdefs.h.  */
24473
 
24474
/* Override any GCC internal prototype to avoid an error.
24475
   Use char because int might match the return type of a GCC
24476
   builtin and then its argument prototype would still apply.  */
24477
#ifdef __cplusplus
24478
extern "C"
24479
#endif
24480
char casinl ();
24481
int
24482
main ()
24483
{
24484
return casinl ();
24485
  ;
24486
  return 0;
24487
}
24488
_ACEOF
24489
if ac_fn_c_try_link "$LINENO"; then :
24490
  ac_cv_lib_m_casinl=yes
24491
else
24492
  ac_cv_lib_m_casinl=no
24493
fi
24494
rm -f core conftest.err conftest.$ac_objext \
24495
    conftest$ac_exeext conftest.$ac_ext
24496
LIBS=$ac_check_lib_save_LIBS
24497
fi
24498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinl" >&5
24499
$as_echo "$ac_cv_lib_m_casinl" >&6; }
24500
if test "x$ac_cv_lib_m_casinl" = x""yes; then :
24501
 
24502
$as_echo "#define HAVE_CASINL 1" >>confdefs.h
24503
 
24504
fi
24505
 
24506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan in -lm" >&5
24507
$as_echo_n "checking for catan in -lm... " >&6; }
24508
if test "${ac_cv_lib_m_catan+set}" = set; then :
24509
  $as_echo_n "(cached) " >&6
24510
else
24511
  ac_check_lib_save_LIBS=$LIBS
24512
LIBS="-lm  $LIBS"
24513
if test x$gcc_no_link = xyes; then
24514
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24515
fi
24516
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24517
/* end confdefs.h.  */
24518
 
24519
/* Override any GCC internal prototype to avoid an error.
24520
   Use char because int might match the return type of a GCC
24521
   builtin and then its argument prototype would still apply.  */
24522
#ifdef __cplusplus
24523
extern "C"
24524
#endif
24525
char catan ();
24526
int
24527
main ()
24528
{
24529
return catan ();
24530
  ;
24531
  return 0;
24532
}
24533
_ACEOF
24534
if ac_fn_c_try_link "$LINENO"; then :
24535
  ac_cv_lib_m_catan=yes
24536
else
24537
  ac_cv_lib_m_catan=no
24538
fi
24539
rm -f core conftest.err conftest.$ac_objext \
24540
    conftest$ac_exeext conftest.$ac_ext
24541
LIBS=$ac_check_lib_save_LIBS
24542
fi
24543
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catan" >&5
24544
$as_echo "$ac_cv_lib_m_catan" >&6; }
24545
if test "x$ac_cv_lib_m_catan" = x""yes; then :
24546
 
24547
$as_echo "#define HAVE_CATAN 1" >>confdefs.h
24548
 
24549
fi
24550
 
24551
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf in -lm" >&5
24552
$as_echo_n "checking for catanf in -lm... " >&6; }
24553
if test "${ac_cv_lib_m_catanf+set}" = set; then :
24554
  $as_echo_n "(cached) " >&6
24555
else
24556
  ac_check_lib_save_LIBS=$LIBS
24557
LIBS="-lm  $LIBS"
24558
if test x$gcc_no_link = xyes; then
24559
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24560
fi
24561
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24562
/* end confdefs.h.  */
24563
 
24564
/* Override any GCC internal prototype to avoid an error.
24565
   Use char because int might match the return type of a GCC
24566
   builtin and then its argument prototype would still apply.  */
24567
#ifdef __cplusplus
24568
extern "C"
24569
#endif
24570
char catanf ();
24571
int
24572
main ()
24573
{
24574
return catanf ();
24575
  ;
24576
  return 0;
24577
}
24578
_ACEOF
24579
if ac_fn_c_try_link "$LINENO"; then :
24580
  ac_cv_lib_m_catanf=yes
24581
else
24582
  ac_cv_lib_m_catanf=no
24583
fi
24584
rm -f core conftest.err conftest.$ac_objext \
24585
    conftest$ac_exeext conftest.$ac_ext
24586
LIBS=$ac_check_lib_save_LIBS
24587
fi
24588
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanf" >&5
24589
$as_echo "$ac_cv_lib_m_catanf" >&6; }
24590
if test "x$ac_cv_lib_m_catanf" = x""yes; then :
24591
 
24592
$as_echo "#define HAVE_CATANF 1" >>confdefs.h
24593
 
24594
fi
24595
 
24596
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh in -lm" >&5
24597
$as_echo_n "checking for catanh in -lm... " >&6; }
24598
if test "${ac_cv_lib_m_catanh+set}" = set; then :
24599
  $as_echo_n "(cached) " >&6
24600
else
24601
  ac_check_lib_save_LIBS=$LIBS
24602
LIBS="-lm  $LIBS"
24603
if test x$gcc_no_link = xyes; then
24604
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24605
fi
24606
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24607
/* end confdefs.h.  */
24608
 
24609
/* Override any GCC internal prototype to avoid an error.
24610
   Use char because int might match the return type of a GCC
24611
   builtin and then its argument prototype would still apply.  */
24612
#ifdef __cplusplus
24613
extern "C"
24614
#endif
24615
char catanh ();
24616
int
24617
main ()
24618
{
24619
return catanh ();
24620
  ;
24621
  return 0;
24622
}
24623
_ACEOF
24624
if ac_fn_c_try_link "$LINENO"; then :
24625
  ac_cv_lib_m_catanh=yes
24626
else
24627
  ac_cv_lib_m_catanh=no
24628
fi
24629
rm -f core conftest.err conftest.$ac_objext \
24630
    conftest$ac_exeext conftest.$ac_ext
24631
LIBS=$ac_check_lib_save_LIBS
24632
fi
24633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanh" >&5
24634
$as_echo "$ac_cv_lib_m_catanh" >&6; }
24635
if test "x$ac_cv_lib_m_catanh" = x""yes; then :
24636
 
24637
$as_echo "#define HAVE_CATANH 1" >>confdefs.h
24638
 
24639
fi
24640
 
24641
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf in -lm" >&5
24642
$as_echo_n "checking for catanhf in -lm... " >&6; }
24643
if test "${ac_cv_lib_m_catanhf+set}" = set; then :
24644
  $as_echo_n "(cached) " >&6
24645
else
24646
  ac_check_lib_save_LIBS=$LIBS
24647
LIBS="-lm  $LIBS"
24648
if test x$gcc_no_link = xyes; then
24649
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24650
fi
24651
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24652
/* end confdefs.h.  */
24653
 
24654
/* Override any GCC internal prototype to avoid an error.
24655
   Use char because int might match the return type of a GCC
24656
   builtin and then its argument prototype would still apply.  */
24657
#ifdef __cplusplus
24658
extern "C"
24659
#endif
24660
char catanhf ();
24661
int
24662
main ()
24663
{
24664
return catanhf ();
24665
  ;
24666
  return 0;
24667
}
24668
_ACEOF
24669
if ac_fn_c_try_link "$LINENO"; then :
24670
  ac_cv_lib_m_catanhf=yes
24671
else
24672
  ac_cv_lib_m_catanhf=no
24673
fi
24674
rm -f core conftest.err conftest.$ac_objext \
24675
    conftest$ac_exeext conftest.$ac_ext
24676
LIBS=$ac_check_lib_save_LIBS
24677
fi
24678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhf" >&5
24679
$as_echo "$ac_cv_lib_m_catanhf" >&6; }
24680
if test "x$ac_cv_lib_m_catanhf" = x""yes; then :
24681
 
24682
$as_echo "#define HAVE_CATANHF 1" >>confdefs.h
24683
 
24684
fi
24685
 
24686
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl in -lm" >&5
24687
$as_echo_n "checking for catanhl in -lm... " >&6; }
24688
if test "${ac_cv_lib_m_catanhl+set}" = set; then :
24689
  $as_echo_n "(cached) " >&6
24690
else
24691
  ac_check_lib_save_LIBS=$LIBS
24692
LIBS="-lm  $LIBS"
24693
if test x$gcc_no_link = xyes; then
24694
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24695
fi
24696
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24697
/* end confdefs.h.  */
24698
 
24699
/* Override any GCC internal prototype to avoid an error.
24700
   Use char because int might match the return type of a GCC
24701
   builtin and then its argument prototype would still apply.  */
24702
#ifdef __cplusplus
24703
extern "C"
24704
#endif
24705
char catanhl ();
24706
int
24707
main ()
24708
{
24709
return catanhl ();
24710
  ;
24711
  return 0;
24712
}
24713
_ACEOF
24714
if ac_fn_c_try_link "$LINENO"; then :
24715
  ac_cv_lib_m_catanhl=yes
24716
else
24717
  ac_cv_lib_m_catanhl=no
24718
fi
24719
rm -f core conftest.err conftest.$ac_objext \
24720
    conftest$ac_exeext conftest.$ac_ext
24721
LIBS=$ac_check_lib_save_LIBS
24722
fi
24723
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhl" >&5
24724
$as_echo "$ac_cv_lib_m_catanhl" >&6; }
24725
if test "x$ac_cv_lib_m_catanhl" = x""yes; then :
24726
 
24727
$as_echo "#define HAVE_CATANHL 1" >>confdefs.h
24728
 
24729
fi
24730
 
24731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl in -lm" >&5
24732
$as_echo_n "checking for catanl in -lm... " >&6; }
24733
if test "${ac_cv_lib_m_catanl+set}" = set; then :
24734
  $as_echo_n "(cached) " >&6
24735
else
24736
  ac_check_lib_save_LIBS=$LIBS
24737
LIBS="-lm  $LIBS"
24738
if test x$gcc_no_link = xyes; then
24739
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24740
fi
24741
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24742
/* end confdefs.h.  */
24743
 
24744
/* Override any GCC internal prototype to avoid an error.
24745
   Use char because int might match the return type of a GCC
24746
   builtin and then its argument prototype would still apply.  */
24747
#ifdef __cplusplus
24748
extern "C"
24749
#endif
24750
char catanl ();
24751
int
24752
main ()
24753
{
24754
return catanl ();
24755
  ;
24756
  return 0;
24757
}
24758
_ACEOF
24759
if ac_fn_c_try_link "$LINENO"; then :
24760
  ac_cv_lib_m_catanl=yes
24761
else
24762
  ac_cv_lib_m_catanl=no
24763
fi
24764
rm -f core conftest.err conftest.$ac_objext \
24765
    conftest$ac_exeext conftest.$ac_ext
24766
LIBS=$ac_check_lib_save_LIBS
24767
fi
24768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanl" >&5
24769
$as_echo "$ac_cv_lib_m_catanl" >&6; }
24770
if test "x$ac_cv_lib_m_catanl" = x""yes; then :
24771
 
24772
$as_echo "#define HAVE_CATANL 1" >>confdefs.h
24773
 
24774
fi
24775
 
24776
 
24777
# On AIX, clog is present in libm as __clog
24778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
24779
$as_echo_n "checking for __clog in -lm... " >&6; }
24780
if test "${ac_cv_lib_m___clog+set}" = set; then :
24781
  $as_echo_n "(cached) " >&6
24782
else
24783
  ac_check_lib_save_LIBS=$LIBS
24784
LIBS="-lm  $LIBS"
24785
if test x$gcc_no_link = xyes; then
24786
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24787
fi
24788
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24789
/* end confdefs.h.  */
24790
 
24791
/* Override any GCC internal prototype to avoid an error.
24792
   Use char because int might match the return type of a GCC
24793
   builtin and then its argument prototype would still apply.  */
24794
#ifdef __cplusplus
24795
extern "C"
24796
#endif
24797
char __clog ();
24798
int
24799
main ()
24800
{
24801
return __clog ();
24802
  ;
24803
  return 0;
24804
}
24805
_ACEOF
24806
if ac_fn_c_try_link "$LINENO"; then :
24807
  ac_cv_lib_m___clog=yes
24808
else
24809
  ac_cv_lib_m___clog=no
24810
fi
24811
rm -f core conftest.err conftest.$ac_objext \
24812
    conftest$ac_exeext conftest.$ac_ext
24813
LIBS=$ac_check_lib_save_LIBS
24814
fi
24815
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
24816
$as_echo "$ac_cv_lib_m___clog" >&6; }
24817
if test "x$ac_cv_lib_m___clog" = x""yes; then :
24818
 
24819
$as_echo "#define HAVE_CLOG 1" >>confdefs.h
24820
 
24821
fi
24822
 
24823
 
24824
# Check whether the system has a working stat()
24825
 
24826
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
24827
$as_echo_n "checking whether the target stat is reliable... " >&6; }
24828
if test "${libgfor_cv_have_working_stat+set}" = set; then :
24829
  $as_echo_n "(cached) " >&6
24830
else
24831
 
24832
  if test "$cross_compiling" = yes; then :
24833
 
24834
case "${target}" in
24835
  *mingw*) libgfor_cv_have_working_stat=no ;;
24836
  *) libgfor_cv_have_working_stat=yes;;
24837
esac
24838
else
24839
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24840
/* end confdefs.h.  */
24841
 
24842
#include 
24843
#include 
24844
#include 
24845
#include 
24846
 
24847
int main ()
24848
{
24849
  FILE *f, *g;
24850
  struct stat st1, st2;
24851
 
24852
  f = fopen ("foo", "w");
24853
  g = fopen ("bar", "w");
24854
  if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
24855
    return 1;
24856
  if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
24857
    return 1;
24858
  fclose(f);
24859
  fclose(g);
24860
  return 0;
24861
}
24862
_ACEOF
24863
if ac_fn_c_try_run "$LINENO"; then :
24864
  libgfor_cv_have_working_stat=yes
24865
else
24866
  libgfor_cv_have_working_stat=no
24867
fi
24868
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24869
  conftest.$ac_objext conftest.beam conftest.$ac_ext
24870
fi
24871
 
24872
fi
24873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
24874
$as_echo "$libgfor_cv_have_working_stat" >&6; }
24875
if test x"$libgfor_cv_have_working_stat" = xyes; then
24876
 
24877
$as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
24878
 
24879
fi
24880
 
24881
# Check whether __mingw_snprintf() is present
24882
 
24883
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
24884
$as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
24885
if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
24886
  $as_echo_n "(cached) " >&6
24887
else
24888
 
24889
    if test x$gcc_no_link = xyes; then
24890
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24891
fi
24892
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24893
/* end confdefs.h.  */
24894
 
24895
#include 
24896
extern int __mingw_snprintf (char *, size_t, const char *, ...);
24897
 
24898
int
24899
main ()
24900
{
24901
 
24902
__mingw_snprintf (NULL, 0, "%d\n", 1);
24903
 
24904
  ;
24905
  return 0;
24906
}
24907
_ACEOF
24908
if ac_fn_c_try_link "$LINENO"; then :
24909
  eval "libgfor_cv_have_mingw_snprintf=yes"
24910
else
24911
  eval "libgfor_cv_have_mingw_snprintf=no"
24912
fi
24913
rm -f core conftest.err conftest.$ac_objext \
24914
    conftest$ac_exeext conftest.$ac_ext
24915
 
24916
fi
24917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
24918
$as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
24919
  if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
24920
 
24921
$as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
24922
 
24923
  fi
24924
 
24925
 
24926
# Check for a broken powf implementation
24927
 
24928
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
24929
$as_echo_n "checking whether powf is broken... " >&6; }
24930
if test "${libgfor_cv_have_broken_powf+set}" = set; then :
24931
  $as_echo_n "(cached) " >&6
24932
else
24933
 
24934
case "${target}" in
24935
  hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
24936
  *) libgfor_cv_have_broken_powf=no;;
24937
esac
24938
fi
24939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
24940
$as_echo "$libgfor_cv_have_broken_powf" >&6; }
24941
  if test x"$libgfor_cv_have_broken_powf" = xyes; then
24942
 
24943
$as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
24944
 
24945
  fi
24946
 
24947
 
24948
# Check whether libquadmath should be used
24949
# Check whether --enable-libquadmath-support was given.
24950
if test "${enable_libquadmath_support+set}" = set; then :
24951
  enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
24952
else
24953
  ENABLE_LIBQUADMATH_SUPPORT=yes
24954
fi
24955
 
24956
enable_libquadmath_support=
24957
if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
24958
  enable_libquadmath_support=no
24959
fi
24960
 
24961
# Check whether we have a __float128 type, depends on enable_libquadmath_support
24962
 
24963
  LIBQUADSPEC=
24964
 
24965
  if test "x$enable_libquadmath_support" != xno; then
24966
 
24967
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
24968
$as_echo_n "checking whether we have a usable __float128 type... " >&6; }
24969
if test "${libgfor_cv_have_float128+set}" = set; then :
24970
  $as_echo_n "(cached) " >&6
24971
else
24972
 
24973
   if test x$gcc_no_link = xyes; then
24974
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24975
/* end confdefs.h.  */
24976
 
24977
    typedef _Complex float __attribute__((mode(TC))) __complex128;
24978
 
24979
    __float128 foo (__float128 x)
24980
    {
24981
 
24982
     __complex128 z1, z2;
24983
 
24984
     z1 = x;
24985
     z2 = x / 7.Q;
24986
     z2 /= z1;
24987
 
24988
     return (__float128) z2;
24989
    }
24990
 
24991
    __float128 bar (__float128 x)
24992
    {
24993
      return x * __builtin_huge_valq ();
24994
    }
24995
 
24996
int
24997
main ()
24998
{
24999
 
25000
    foo (1.2Q);
25001
    bar (1.2Q);
25002
 
25003
  ;
25004
  return 0;
25005
}
25006
_ACEOF
25007
if ac_fn_c_try_compile "$LINENO"; then :
25008
 
25009
    libgfor_cv_have_float128=yes
25010
 
25011
else
25012
 
25013
    libgfor_cv_have_float128=no
25014
 
25015
fi
25016
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25017
else
25018
  if test x$gcc_no_link = xyes; then
25019
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25020
fi
25021
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25022
/* end confdefs.h.  */
25023
 
25024
    typedef _Complex float __attribute__((mode(TC))) __complex128;
25025
 
25026
    __float128 foo (__float128 x)
25027
    {
25028
 
25029
     __complex128 z1, z2;
25030
 
25031
     z1 = x;
25032
     z2 = x / 7.Q;
25033
     z2 /= z1;
25034
 
25035
     return (__float128) z2;
25036
    }
25037
 
25038
    __float128 bar (__float128 x)
25039
    {
25040
      return x * __builtin_huge_valq ();
25041
    }
25042
 
25043
int
25044
main ()
25045
{
25046
 
25047
    foo (1.2Q);
25048
    bar (1.2Q);
25049
 
25050
  ;
25051
  return 0;
25052
}
25053
_ACEOF
25054
if ac_fn_c_try_link "$LINENO"; then :
25055
 
25056
    libgfor_cv_have_float128=yes
25057
 
25058
else
25059
 
25060
    libgfor_cv_have_float128=no
25061
 
25062
fi
25063
rm -f core conftest.err conftest.$ac_objext \
25064
    conftest$ac_exeext conftest.$ac_ext
25065
fi
25066
fi
25067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25068
$as_echo "$libgfor_cv_have_float128" >&6; }
25069
 
25070
  if test "x$libgfor_cv_have_float128" = xyes; then
25071
 
25072
$as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25073
 
25074
 
25075
                                ac_xsave_c_werror_flag=$ac_c_werror_flag
25076
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed works" >&5
25077
$as_echo_n "checking whether --as-needed works... " >&6; }
25078
if test "${libgfor_cv_have_as_needed+set}" = set; then :
25079
  $as_echo_n "(cached) " >&6
25080
else
25081
 
25082
      save_LDFLAGS="$LDFLAGS"
25083
      LDFLAGS="$LDFLAGS -Wl,--as-needed -lm -Wl,--no-as-needed"
25084
      libgfor_cv_have_as_needed=no
25085
 
25086
ac_c_werror_flag=yes
25087
      if test x$gcc_no_link = xyes; then
25088
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25089
fi
25090
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25091
/* end confdefs.h.  */
25092
 
25093
int
25094
main ()
25095
{
25096
 
25097
  ;
25098
  return 0;
25099
}
25100
_ACEOF
25101
if ac_fn_c_try_link "$LINENO"; then :
25102
  libgfor_cv_have_as_needed=yes
25103
else
25104
  libgfor_cv_have_as_needed=no
25105
fi
25106
rm -f core conftest.err conftest.$ac_objext \
25107
    conftest$ac_exeext conftest.$ac_ext
25108
      LDFLAGS="$save_LDFLAGS"
25109
      ac_c_werror_flag=$ac_xsave_c_werror_flag
25110
 
25111
fi
25112
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25113
$as_echo "$libgfor_cv_have_as_needed" >&6; }
25114
 
25115
        if test "x$libgfor_cv_have_as_needed" = xyes; then
25116
      LIBQUADSPEC="%{static-libgfortran:--as-needed} -lquadmath %{static-libgfortran:--no-as-needed}"
25117
    else
25118
      LIBQUADSPEC="-lquadmath"
25119
    fi
25120
    if test -f ../libquadmath/libquadmath.la; then
25121
      LIBQUADLIB=../libquadmath/libquadmath.la
25122
      LIBQUADLIB_DEP=../libquadmath/libquadmath.la
25123
      LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
25124
    else
25125
      LIBQUADLIB="-lquadmath"
25126
      LIBQUADLIB_DEP=
25127
      LIBQUADINCLUDE=
25128
    fi
25129
  fi
25130
  else
25131
    # for --disable-quadmath
25132
    LIBQUADLIB=
25133
    LIBQUADLIB_DEP=
25134
    LIBQUADINCLUDE=
25135
  fi
25136
 
25137
 
25138
 
25139
 
25140
 
25141
 
25142
     if test "x$libgfor_cv_have_float128" = xyes; then
25143
  LIBGFOR_BUILD_QUAD_TRUE=
25144
  LIBGFOR_BUILD_QUAD_FALSE='#'
25145
else
25146
  LIBGFOR_BUILD_QUAD_TRUE='#'
25147
  LIBGFOR_BUILD_QUAD_FALSE=
25148
fi
25149
 
25150
 
25151
 
25152
# Check for GNU libc feenableexcept
25153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25154
$as_echo_n "checking for feenableexcept in -lm... " >&6; }
25155
if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25156
  $as_echo_n "(cached) " >&6
25157
else
25158
  ac_check_lib_save_LIBS=$LIBS
25159
LIBS="-lm  $LIBS"
25160
if test x$gcc_no_link = xyes; then
25161
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25162
fi
25163
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25164
/* end confdefs.h.  */
25165
 
25166
/* Override any GCC internal prototype to avoid an error.
25167
   Use char because int might match the return type of a GCC
25168
   builtin and then its argument prototype would still apply.  */
25169
#ifdef __cplusplus
25170
extern "C"
25171
#endif
25172
char feenableexcept ();
25173
int
25174
main ()
25175
{
25176
return feenableexcept ();
25177
  ;
25178
  return 0;
25179
}
25180
_ACEOF
25181
if ac_fn_c_try_link "$LINENO"; then :
25182
  ac_cv_lib_m_feenableexcept=yes
25183
else
25184
  ac_cv_lib_m_feenableexcept=no
25185
fi
25186
rm -f core conftest.err conftest.$ac_objext \
25187
    conftest$ac_exeext conftest.$ac_ext
25188
LIBS=$ac_check_lib_save_LIBS
25189
fi
25190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25191
$as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25192
if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
25193
  have_feenableexcept=yes
25194
$as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25195
 
25196
fi
25197
 
25198
 
25199
# At least for glibc and Tru64, clock_gettime is in librt.  But don't
25200
# pull that in if it still doesn't give us the function we want.  This
25201
# test is copied from libgomp, and modified to not link in -lrt as
25202
# libgfortran calls clock_gettime via a weak reference if it's found
25203
# in librt.
25204
if test $ac_cv_func_clock_gettime = no; then
25205
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25206
$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25207
if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25208
  $as_echo_n "(cached) " >&6
25209
else
25210
  ac_check_lib_save_LIBS=$LIBS
25211
LIBS="-lrt  $LIBS"
25212
if test x$gcc_no_link = xyes; then
25213
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25214
fi
25215
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25216
/* end confdefs.h.  */
25217
 
25218
/* Override any GCC internal prototype to avoid an error.
25219
   Use char because int might match the return type of a GCC
25220
   builtin and then its argument prototype would still apply.  */
25221
#ifdef __cplusplus
25222
extern "C"
25223
#endif
25224
char clock_gettime ();
25225
int
25226
main ()
25227
{
25228
return clock_gettime ();
25229
  ;
25230
  return 0;
25231
}
25232
_ACEOF
25233
if ac_fn_c_try_link "$LINENO"; then :
25234
  ac_cv_lib_rt_clock_gettime=yes
25235
else
25236
  ac_cv_lib_rt_clock_gettime=no
25237
fi
25238
rm -f core conftest.err conftest.$ac_objext \
25239
    conftest$ac_exeext conftest.$ac_ext
25240
LIBS=$ac_check_lib_save_LIBS
25241
fi
25242
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25243
$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25244
if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
25245
 
25246
$as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25247
 
25248
fi
25249
 
25250
fi
25251
 
25252
# Check for SysV fpsetmask
25253
 
25254
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25255
$as_echo_n "checking whether fpsetmask is present... " >&6; }
25256
if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25257
  $as_echo_n "(cached) " >&6
25258
else
25259
 
25260
    if test x$gcc_no_link = xyes; then
25261
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25262
fi
25263
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25264
/* end confdefs.h.  */
25265
 
25266
#if HAVE_FLOATINGPOINT_H
25267
# include 
25268
#endif /* HAVE_FLOATINGPOINT_H */
25269
#if HAVE_IEEEFP_H
25270
# include 
25271
#endif /* HAVE_IEEEFP_H */
25272
int
25273
main ()
25274
{
25275
fpsetmask(0);
25276
  ;
25277
  return 0;
25278
}
25279
_ACEOF
25280
if ac_fn_c_try_link "$LINENO"; then :
25281
  eval "libgfor_cv_have_fpsetmask=yes"
25282
else
25283
  eval "libgfor_cv_have_fpsetmask=no"
25284
fi
25285
rm -f core conftest.err conftest.$ac_objext \
25286
    conftest$ac_exeext conftest.$ac_ext
25287
 
25288
fi
25289
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25290
$as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25291
  if test x"$libgfor_cv_have_fpsetmask" = xyes; then
25292
    have_fpsetmask=yes
25293
 
25294
$as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
25295
 
25296
  fi
25297
 
25298
 
25299
# Check for AIX fp_trap and fp_enable
25300
ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
25301
if test "x$ac_cv_func_fp_trap" = x""yes; then :
25302
  have_fp_trap=yes
25303
$as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
25304
 
25305
fi
25306
 
25307
ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
25308
if test "x$ac_cv_func_fp_enable" = x""yes; then :
25309
  have_fp_enable=yes
25310
$as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
25311
 
25312
fi
25313
 
25314
 
25315
# Runs configure.host to set up necessary host-dependent shell variables.
25316
# We then display a message about it, and propagate them through the
25317
# build chain.
25318
. ${srcdir}/configure.host
25319
{ $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
25320
$as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
25321
FPU_HOST_HEADER=config/${fpu_host}.h
25322
 
25323
 
25324
# Some targets require additional compiler options for IEEE compatibility.
25325
IEEE_FLAGS="${ieee_flags}"
25326
 
25327
 
25328
 
25329
# Check for POSIX getpwuid_r
25330
#
25331
# There are two versions of getpwuid_r, the POSIX one with 5
25332
# arguments, and another one with 4 arguments used by at least HP-UX
25333
# 10.2.
25334
if test "$ac_cv_func_getpwuid_r" = "yes"; then
25335
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
25336
$as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
25337
if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
25338
  $as_echo_n "(cached) " >&6
25339
else
25340
 
25341
   if test x$gcc_no_link = xyes; then
25342
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25343
fi
25344
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25345
/* end confdefs.h.  */
25346
 
25347
#include 
25348
#include 
25349
#include 
25350
int
25351
main ()
25352
{
25353
 
25354
    getpwuid_r(0, NULL, NULL, 0, NULL);
25355
 
25356
  ;
25357
  return 0;
25358
}
25359
_ACEOF
25360
if ac_fn_c_try_link "$LINENO"; then :
25361
  libgfor_cv_posix_getpwuid_r="yes"
25362
else
25363
  libgfor_cv_posix_getpwuid_r="no"
25364
fi
25365
rm -f core conftest.err conftest.$ac_objext \
25366
    conftest$ac_exeext conftest.$ac_ext
25367
fi
25368
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
25369
$as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
25370
fi
25371
if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
25372
 
25373
$as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
25374
 
25375
fi
25376
 
25377
 
25378
# Check out attribute support.
25379
 
25380
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
25381
$as_echo_n "checking whether the target supports hidden visibility... " >&6; }
25382
if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
25383
  $as_echo_n "(cached) " >&6
25384
else
25385
 
25386
  save_CFLAGS="$CFLAGS"
25387
  CFLAGS="$CFLAGS -Werror"
25388
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25389
/* end confdefs.h.  */
25390
void __attribute__((visibility("hidden"))) foo(void) { }
25391
int
25392
main ()
25393
{
25394
 
25395
  ;
25396
  return 0;
25397
}
25398
_ACEOF
25399
if ac_fn_c_try_compile "$LINENO"; then :
25400
  libgfor_cv_have_attribute_visibility=yes
25401
else
25402
  libgfor_cv_have_attribute_visibility=no
25403
fi
25404
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25405
  CFLAGS="$save_CFLAGS"
25406
fi
25407
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
25408
$as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
25409
  if test $libgfor_cv_have_attribute_visibility = yes; then
25410
 
25411
$as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
25412
 
25413
  fi
25414
 
25415
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
25416
$as_echo_n "checking whether the target supports dllexport... " >&6; }
25417
if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
25418
  $as_echo_n "(cached) " >&6
25419
else
25420
 
25421
  save_CFLAGS="$CFLAGS"
25422
  CFLAGS="$CFLAGS -Werror"
25423
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25424
/* end confdefs.h.  */
25425
void __attribute__((dllexport)) foo(void) { }
25426
int
25427
main ()
25428
{
25429
 
25430
  ;
25431
  return 0;
25432
}
25433
_ACEOF
25434
if ac_fn_c_try_compile "$LINENO"; then :
25435
  libgfor_cv_have_attribute_dllexport=yes
25436
else
25437
  libgfor_cv_have_attribute_dllexport=no
25438
fi
25439
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25440
  CFLAGS="$save_CFLAGS"
25441
fi
25442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
25443
$as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
25444
  if test $libgfor_cv_have_attribute_dllexport = yes; then
25445
 
25446
$as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
25447
 
25448
  fi
25449
 
25450
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
25451
$as_echo_n "checking whether the target supports symbol aliases... " >&6; }
25452
if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
25453
  $as_echo_n "(cached) " >&6
25454
else
25455
 
25456
  if test x$gcc_no_link = xyes; then
25457
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25458
fi
25459
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25460
/* end confdefs.h.  */
25461
 
25462
void foo(void) { }
25463
extern void bar(void) __attribute__((alias("foo")));
25464
int
25465
main ()
25466
{
25467
bar();
25468
  ;
25469
  return 0;
25470
}
25471
_ACEOF
25472
if ac_fn_c_try_link "$LINENO"; then :
25473
  libgfor_cv_have_attribute_alias=yes
25474
else
25475
  libgfor_cv_have_attribute_alias=no
25476
fi
25477
rm -f core conftest.err conftest.$ac_objext \
25478
    conftest$ac_exeext conftest.$ac_ext
25479
fi
25480
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
25481
$as_echo "$libgfor_cv_have_attribute_alias" >&6; }
25482
  if test $libgfor_cv_have_attribute_alias = yes; then
25483
 
25484
$as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
25485
 
25486
  fi
25487
 
25488
# Check out sync builtins support.
25489
 
25490
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
25491
$as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
25492
if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
25493
  $as_echo_n "(cached) " >&6
25494
else
25495
 
25496
  if test x$gcc_no_link = xyes; then
25497
  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25498
fi
25499
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25500
/* end confdefs.h.  */
25501
int foovar = 0;
25502
int
25503
main ()
25504
{
25505
 
25506
if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
25507
if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
25508
  ;
25509
  return 0;
25510
}
25511
_ACEOF
25512
if ac_fn_c_try_link "$LINENO"; then :
25513
  libgfor_cv_have_sync_fetch_and_add=yes
25514
else
25515
  libgfor_cv_have_sync_fetch_and_add=no
25516
fi
25517
rm -f core conftest.err conftest.$ac_objext \
25518
    conftest$ac_exeext conftest.$ac_ext
25519
fi
25520
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
25521
$as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
25522
  if test $libgfor_cv_have_sync_fetch_and_add = yes; then
25523
 
25524
$as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
25525
 
25526
  fi
25527
 
25528
# Check out #pragma weak.
25529
 
25530
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
25531
$as_echo_n "checking whether pragma weak works... " >&6; }
25532
if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
25533
  $as_echo_n "(cached) " >&6
25534
else
25535
 
25536
  gfor_save_CFLAGS="$CFLAGS"
25537
  CFLAGS="$CFLAGS -Wunknown-pragmas"
25538
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25539
/* end confdefs.h.  */
25540
 
25541
void foo (void);
25542
#pragma weak foo
25543
 
25544
int
25545
main ()
25546
{
25547
if (foo) foo ();
25548
  ;
25549
  return 0;
25550
}
25551
_ACEOF
25552
if ac_fn_c_try_compile "$LINENO"; then :
25553
  libgfor_cv_have_pragma_weak=yes
25554
else
25555
  libgfor_cv_have_pragma_weak=no
25556
fi
25557
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25558
fi
25559
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
25560
$as_echo "$libgfor_cv_have_pragma_weak" >&6; }
25561
  if test $libgfor_cv_have_pragma_weak = yes; then
25562
 
25563
$as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
25564
 
25565
  fi
25566
  case "$host" in
25567
    *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | alpha*-dec-osf* )
25568
 
25569
$as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
25570
 
25571
      ;;
25572
  esac
25573
 
25574
# Various other checks on target
25575
 
25576
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
25577
$as_echo_n "checking whether the target can unlink an open file... " >&6; }
25578
if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
25579
  $as_echo_n "(cached) " >&6
25580
else
25581
 
25582
  if test "$cross_compiling" = yes; then :
25583
 
25584
case "${target}" in
25585
  *mingw*) libgfor_cv_have_unlink_open_file=no ;;
25586
  *) libgfor_cv_have_unlink_open_file=yes;;
25587
esac
25588
else
25589
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25590
/* end confdefs.h.  */
25591
 
25592
#include 
25593
#include 
25594
#include 
25595
#include 
25596
 
25597
int main ()
25598
{
25599
  int fd;
25600
 
25601
  fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
25602
  if (fd <= 0)
25603
    return 0;
25604
  if (unlink ("testfile") == -1)
25605
    return 1;
25606
  write (fd, "This is a test\n", 15);
25607
  close (fd);
25608
 
25609
  if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
25610
    return 0;
25611
  else
25612
    return 1;
25613
}
25614
_ACEOF
25615
if ac_fn_c_try_run "$LINENO"; then :
25616
  libgfor_cv_have_unlink_open_file=yes
25617
else
25618
  libgfor_cv_have_unlink_open_file=no
25619
fi
25620
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25621
  conftest.$ac_objext conftest.beam conftest.$ac_ext
25622
fi
25623
 
25624
fi
25625
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
25626
$as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
25627
if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
25628
 
25629
$as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
25630
 
25631
fi
25632
 
25633
# Check whether line terminator is LF or CRLF
25634
 
25635
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
25636
$as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
25637
if test "${libgfor_cv_have_crlf+set}" = set; then :
25638
  $as_echo_n "(cached) " >&6
25639
else
25640
 
25641
  if test "$cross_compiling" = yes; then :
25642
 
25643
case "${target}" in
25644
  *mingw*) libgfor_cv_have_crlf=yes ;;
25645
  *) libgfor_cv_have_crlf=no;;
25646
esac
25647
else
25648
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25649
/* end confdefs.h.  */
25650
 
25651
/* This test program should exit with status 0 if system uses a CRLF as
25652
   line terminator, and status 1 otherwise.
25653
   Since it is used to check for mingw systems, and should return 0 in any
25654
   other case, in case of a failure we will not use CRLF.  */
25655
#include 
25656
#include 
25657
#include 
25658
#include 
25659
 
25660
int main ()
25661
{
25662
#ifndef O_BINARY
25663
  exit(1);
25664
#else
25665
  int fd, bytes;
25666
  char buff[5];
25667
 
25668
  fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
25669
  if (fd < 0)
25670
    exit(1);
25671
  if (write (fd, "\n", 1) < 0)
25672
    perror ("write");
25673
 
25674
  close (fd);
25675
 
25676
  if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
25677
    exit(1);
25678
  bytes = read (fd, buff, 5);
25679
  if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
25680
    exit(0);
25681
  else
25682
    exit(1);
25683
#endif
25684
}
25685
_ACEOF
25686
if ac_fn_c_try_run "$LINENO"; then :
25687
  libgfor_cv_have_crlf=yes
25688
else
25689
  libgfor_cv_have_crlf=no
25690
fi
25691
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25692
  conftest.$ac_objext conftest.beam conftest.$ac_ext
25693
fi
25694
 
25695
fi
25696
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
25697
$as_echo "$libgfor_cv_have_crlf" >&6; }
25698
if test x"$libgfor_cv_have_crlf" = xyes; then
25699
 
25700
$as_echo "#define HAVE_CRLF 1" >>confdefs.h
25701
 
25702
fi
25703
 
25704
# Check whether we have _Unwind_GetIPInfo for backtrace
25705
 
25706
 
25707
# Check whether --with-system-libunwind was given.
25708
if test "${with_system_libunwind+set}" = set; then :
25709
  withval=$with_system_libunwind;
25710
fi
25711
 
25712
  # If system-libunwind was not specifically set, pick a default setting.
25713
  if test x$with_system_libunwind = x; then
25714
    case ${target} in
25715
      ia64-*-hpux*) with_system_libunwind=yes ;;
25716
      *) with_system_libunwind=no ;;
25717
    esac
25718
  fi
25719
  # Based on system-libunwind and target, do we have ipinfo?
25720
  if  test x$with_system_libunwind = xyes; then
25721
    case ${target} in
25722
      ia64-*-*) have_unwind_getipinfo=no ;;
25723
      *) have_unwind_getipinfo=yes ;;
25724
    esac
25725
  else
25726
    # Darwin before version 9 does not have _Unwind_GetIPInfo.
25727
 
25728
    case ${target} in
25729
      *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
25730
      *) have_unwind_getipinfo=yes ;;
25731
    esac
25732
 
25733
  fi
25734
 
25735
  if test x$have_unwind_getipinfo = xyes; then
25736
 
25737
$as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
25738
 
25739
  fi
25740
 
25741
 
25742
cat >confcache <<\_ACEOF
25743
# This file is a shell script that caches the results of configure
25744
# tests run on this system so they can be shared between configure
25745
# scripts and configure runs, see configure's option --config-cache.
25746
# It is not useful on other systems.  If it contains results you don't
25747
# want to keep, you may remove or edit it.
25748
#
25749
# config.status only pays attention to the cache file if you give it
25750
# the --recheck option to rerun configure.
25751
#
25752
# `ac_cv_env_foo' variables (set or unset) will be overridden when
25753
# loading this file, other *unset* `ac_cv_foo' will be assigned the
25754
# following values.
25755
 
25756
_ACEOF
25757
 
25758
# The following way of writing the cache mishandles newlines in values,
25759
# but we know of no workaround that is simple, portable, and efficient.
25760
# So, we kill variables containing newlines.
25761
# Ultrix sh set writes to stderr and can't be redirected directly,
25762
# and sets the high bit in the cache file unless we assign to the vars.
25763
(
25764
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25765
    eval ac_val=\$$ac_var
25766
    case $ac_val in #(
25767
    *${as_nl}*)
25768
      case $ac_var in #(
25769
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25770
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25771
      esac
25772
      case $ac_var in #(
25773
      _ | IFS | as_nl) ;; #(
25774
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25775
      *) { eval $ac_var=; unset $ac_var;} ;;
25776
      esac ;;
25777
    esac
25778
  done
25779
 
25780
  (set) 2>&1 |
25781
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
25782
    *${as_nl}ac_space=\ *)
25783
      # `set' does not quote correctly, so add quotes: double-quote
25784
      # substitution turns \\\\ into \\, and sed turns \\ into \.
25785
      sed -n \
25786
        "s/'/'\\\\''/g;
25787
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25788
      ;; #(
25789
    *)
25790
      # `set' quotes correctly as required by POSIX, so do not add quotes.
25791
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25792
      ;;
25793
    esac |
25794
    sort
25795
) |
25796
  sed '
25797
     /^ac_cv_env_/b end
25798
     t clear
25799
     :clear
25800
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25801
     t end
25802
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25803
     :end' >>confcache
25804
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25805
  if test -w "$cache_file"; then
25806
    test "x$cache_file" != "x/dev/null" &&
25807
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25808
$as_echo "$as_me: updating cache $cache_file" >&6;}
25809
    cat confcache >$cache_file
25810
  else
25811
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25812
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25813
  fi
25814
fi
25815
rm -f confcache
25816
 
25817
if test ${multilib} = yes; then
25818
  multilib_arg="--enable-multilib"
25819
else
25820
  multilib_arg=
25821
fi
25822
 
25823
# Write our Makefile and spec file.
25824
ac_config_files="$ac_config_files Makefile libgfortran.spec"
25825
 
25826
cat >confcache <<\_ACEOF
25827
# This file is a shell script that caches the results of configure
25828
# tests run on this system so they can be shared between configure
25829
# scripts and configure runs, see configure's option --config-cache.
25830
# It is not useful on other systems.  If it contains results you don't
25831
# want to keep, you may remove or edit it.
25832
#
25833
# config.status only pays attention to the cache file if you give it
25834
# the --recheck option to rerun configure.
25835
#
25836
# `ac_cv_env_foo' variables (set or unset) will be overridden when
25837
# loading this file, other *unset* `ac_cv_foo' will be assigned the
25838
# following values.
25839
 
25840
_ACEOF
25841
 
25842
# The following way of writing the cache mishandles newlines in values,
25843
# but we know of no workaround that is simple, portable, and efficient.
25844
# So, we kill variables containing newlines.
25845
# Ultrix sh set writes to stderr and can't be redirected directly,
25846
# and sets the high bit in the cache file unless we assign to the vars.
25847
(
25848
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25849
    eval ac_val=\$$ac_var
25850
    case $ac_val in #(
25851
    *${as_nl}*)
25852
      case $ac_var in #(
25853
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25854
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25855
      esac
25856
      case $ac_var in #(
25857
      _ | IFS | as_nl) ;; #(
25858
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25859
      *) { eval $ac_var=; unset $ac_var;} ;;
25860
      esac ;;
25861
    esac
25862
  done
25863
 
25864
  (set) 2>&1 |
25865
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
25866
    *${as_nl}ac_space=\ *)
25867
      # `set' does not quote correctly, so add quotes: double-quote
25868
      # substitution turns \\\\ into \\, and sed turns \\ into \.
25869
      sed -n \
25870
        "s/'/'\\\\''/g;
25871
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25872
      ;; #(
25873
    *)
25874
      # `set' quotes correctly as required by POSIX, so do not add quotes.
25875
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25876
      ;;
25877
    esac |
25878
    sort
25879
) |
25880
  sed '
25881
     /^ac_cv_env_/b end
25882
     t clear
25883
     :clear
25884
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25885
     t end
25886
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25887
     :end' >>confcache
25888
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25889
  if test -w "$cache_file"; then
25890
    test "x$cache_file" != "x/dev/null" &&
25891
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25892
$as_echo "$as_me: updating cache $cache_file" >&6;}
25893
    cat confcache >$cache_file
25894
  else
25895
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25896
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25897
  fi
25898
fi
25899
rm -f confcache
25900
 
25901
test "x$prefix" = xNONE && prefix=$ac_default_prefix
25902
# Let make expand exec_prefix.
25903
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25904
 
25905
DEFS=-DHAVE_CONFIG_H
25906
 
25907
ac_libobjs=
25908
ac_ltlibobjs=
25909
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25910
  # 1. Remove the extension, and $U if already installed.
25911
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25912
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25913
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
25914
  #    will be set to the directory where LIBOBJS objects are built.
25915
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25916
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25917
done
25918
LIBOBJS=$ac_libobjs
25919
 
25920
LTLIBOBJS=$ac_ltlibobjs
25921
 
25922
 
25923
if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
25924
  as_fn_error "conditional \"onestep\" was never defined.
25925
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25926
fi
25927
 if test -n "$EXEEXT"; then
25928
  am__EXEEXT_TRUE=
25929
  am__EXEEXT_FALSE='#'
25930
else
25931
  am__EXEEXT_TRUE='#'
25932
  am__EXEEXT_FALSE=
25933
fi
25934
 
25935
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25936
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
25937
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25938
fi
25939
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25940
  as_fn_error "conditional \"AMDEP\" was never defined.
25941
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25942
fi
25943
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25944
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
25945
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25946
fi
25947
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25948
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
25949
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25950
fi
25951
if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
25952
  as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
25953
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25954
fi
25955
if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
25956
  as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
25957
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25958
fi
25959
if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
25960
  as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
25961
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25962
fi
25963
if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
25964
  as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
25965
Usually this means the macro was only invoked conditionally." "$LINENO" 5
25966
fi
25967
 
25968
: ${CONFIG_STATUS=./config.status}
25969
ac_write_fail=0
25970
ac_clean_files_save=$ac_clean_files
25971
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25972
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25973
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25974
as_write_fail=0
25975
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25976
#! $SHELL
25977
# Generated by $as_me.
25978
# Run this file to recreate the current configuration.
25979
# Compiler output produced by configure, useful for debugging
25980
# configure, is in config.log if it exists.
25981
 
25982
debug=false
25983
ac_cs_recheck=false
25984
ac_cs_silent=false
25985
 
25986
SHELL=\${CONFIG_SHELL-$SHELL}
25987
export SHELL
25988
_ASEOF
25989
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25990
## -------------------- ##
25991
## M4sh Initialization. ##
25992
## -------------------- ##
25993
 
25994
# Be more Bourne compatible
25995
DUALCASE=1; export DUALCASE # for MKS sh
25996
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25997
  emulate sh
25998
  NULLCMD=:
25999
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26000
  # is contrary to our usage.  Disable this feature.
26001
  alias -g '${1+"$@"}'='"$@"'
26002
  setopt NO_GLOB_SUBST
26003
else
26004
  case `(set -o) 2>/dev/null` in #(
26005
  *posix*) :
26006
    set -o posix ;; #(
26007
  *) :
26008
     ;;
26009
esac
26010
fi
26011
 
26012
 
26013
as_nl='
26014
'
26015
export as_nl
26016
# Printing a long string crashes Solaris 7 /usr/bin/printf.
26017
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26018
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26019
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26020
# Prefer a ksh shell builtin over an external printf program on Solaris,
26021
# but without wasting forks for bash or zsh.
26022
if test -z "$BASH_VERSION$ZSH_VERSION" \
26023
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26024
  as_echo='print -r --'
26025
  as_echo_n='print -rn --'
26026
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26027
  as_echo='printf %s\n'
26028
  as_echo_n='printf %s'
26029
else
26030
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26031
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26032
    as_echo_n='/usr/ucb/echo -n'
26033
  else
26034
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26035
    as_echo_n_body='eval
26036
      arg=$1;
26037
      case $arg in #(
26038
      *"$as_nl"*)
26039
        expr "X$arg" : "X\\(.*\\)$as_nl";
26040
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26041
      esac;
26042
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26043
    '
26044
    export as_echo_n_body
26045
    as_echo_n='sh -c $as_echo_n_body as_echo'
26046
  fi
26047
  export as_echo_body
26048
  as_echo='sh -c $as_echo_body as_echo'
26049
fi
26050
 
26051
# The user is always right.
26052
if test "${PATH_SEPARATOR+set}" != set; then
26053
  PATH_SEPARATOR=:
26054
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26055
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26056
      PATH_SEPARATOR=';'
26057
  }
26058
fi
26059
 
26060
 
26061
# IFS
26062
# We need space, tab and new line, in precisely that order.  Quoting is
26063
# there to prevent editors from complaining about space-tab.
26064
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
26065
# splitting by setting IFS to empty value.)
26066
IFS=" ""        $as_nl"
26067
 
26068
# Find who we are.  Look in the path if we contain no directory separator.
26069
case $0 in #((
26070
  *[\\/]* ) as_myself=$0 ;;
26071
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26072
for as_dir in $PATH
26073
do
26074
  IFS=$as_save_IFS
26075
  test -z "$as_dir" && as_dir=.
26076
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26077
  done
26078
IFS=$as_save_IFS
26079
 
26080
     ;;
26081
esac
26082
# We did not find ourselves, most probably we were run as `sh COMMAND'
26083
# in which case we are not to be found in the path.
26084
if test "x$as_myself" = x; then
26085
  as_myself=$0
26086
fi
26087
if test ! -f "$as_myself"; then
26088
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26089
  exit 1
26090
fi
26091
 
26092
# Unset variables that we do not need and which cause bugs (e.g. in
26093
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
26094
# suppresses any "Segmentation fault" message there.  '((' could
26095
# trigger a bug in pdksh 5.2.14.
26096
for as_var in BASH_ENV ENV MAIL MAILPATH
26097
do eval test x\${$as_var+set} = xset \
26098
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26099
done
26100
PS1='$ '
26101
PS2='> '
26102
PS4='+ '
26103
 
26104
# NLS nuisances.
26105
LC_ALL=C
26106
export LC_ALL
26107
LANGUAGE=C
26108
export LANGUAGE
26109
 
26110
# CDPATH.
26111
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26112
 
26113
 
26114
# as_fn_error ERROR [LINENO LOG_FD]
26115
# ---------------------------------
26116
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26117
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26118
# script with status $?, using 1 if that was 0.
26119
as_fn_error ()
26120
{
26121
  as_status=$?; test $as_status -eq 0 && as_status=1
26122
  if test "$3"; then
26123
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26124
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26125
  fi
26126
  $as_echo "$as_me: error: $1" >&2
26127
  as_fn_exit $as_status
26128
} # as_fn_error
26129
 
26130
 
26131
# as_fn_set_status STATUS
26132
# -----------------------
26133
# Set $? to STATUS, without forking.
26134
as_fn_set_status ()
26135
{
26136
  return $1
26137
} # as_fn_set_status
26138
 
26139
# as_fn_exit STATUS
26140
# -----------------
26141
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26142
as_fn_exit ()
26143
{
26144
  set +e
26145
  as_fn_set_status $1
26146
  exit $1
26147
} # as_fn_exit
26148
 
26149
# as_fn_unset VAR
26150
# ---------------
26151
# Portably unset VAR.
26152
as_fn_unset ()
26153
{
26154
  { eval $1=; unset $1;}
26155
}
26156
as_unset=as_fn_unset
26157
# as_fn_append VAR VALUE
26158
# ----------------------
26159
# Append the text in VALUE to the end of the definition contained in VAR. Take
26160
# advantage of any shell optimizations that allow amortized linear growth over
26161
# repeated appends, instead of the typical quadratic growth present in naive
26162
# implementations.
26163
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26164
  eval 'as_fn_append ()
26165
  {
26166
    eval $1+=\$2
26167
  }'
26168
else
26169
  as_fn_append ()
26170
  {
26171
    eval $1=\$$1\$2
26172
  }
26173
fi # as_fn_append
26174
 
26175
# as_fn_arith ARG...
26176
# ------------------
26177
# Perform arithmetic evaluation on the ARGs, and store the result in the
26178
# global $as_val. Take advantage of shells that can avoid forks. The arguments
26179
# must be portable across $(()) and expr.
26180
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26181
  eval 'as_fn_arith ()
26182
  {
26183
    as_val=$(( $* ))
26184
  }'
26185
else
26186
  as_fn_arith ()
26187
  {
26188
    as_val=`expr "$@" || test $? -eq 1`
26189
  }
26190
fi # as_fn_arith
26191
 
26192
 
26193
if expr a : '\(a\)' >/dev/null 2>&1 &&
26194
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
26195
  as_expr=expr
26196
else
26197
  as_expr=false
26198
fi
26199
 
26200
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26201
  as_basename=basename
26202
else
26203
  as_basename=false
26204
fi
26205
 
26206
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26207
  as_dirname=dirname
26208
else
26209
  as_dirname=false
26210
fi
26211
 
26212
as_me=`$as_basename -- "$0" ||
26213
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26214
         X"$0" : 'X\(//\)$' \| \
26215
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26216
$as_echo X/"$0" |
26217
    sed '/^.*\/\([^/][^/]*\)\/*$/{
26218
            s//\1/
26219
            q
26220
          }
26221
          /^X\/\(\/\/\)$/{
26222
            s//\1/
26223
            q
26224
          }
26225
          /^X\/\(\/\).*/{
26226
            s//\1/
26227
            q
26228
          }
26229
          s/.*/./; q'`
26230
 
26231
# Avoid depending upon Character Ranges.
26232
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26233
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26234
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26235
as_cr_digits='0123456789'
26236
as_cr_alnum=$as_cr_Letters$as_cr_digits
26237
 
26238
ECHO_C= ECHO_N= ECHO_T=
26239
case `echo -n x` in #(((((
26240
-n*)
26241
  case `echo 'xy\c'` in
26242
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
26243
  xy)  ECHO_C='\c';;
26244
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
26245
       ECHO_T=' ';;
26246
  esac;;
26247
*)
26248
  ECHO_N='-n';;
26249
esac
26250
 
26251
rm -f conf$$ conf$$.exe conf$$.file
26252
if test -d conf$$.dir; then
26253
  rm -f conf$$.dir/conf$$.file
26254
else
26255
  rm -f conf$$.dir
26256
  mkdir conf$$.dir 2>/dev/null
26257
fi
26258
if (echo >conf$$.file) 2>/dev/null; then
26259
  if ln -s conf$$.file conf$$ 2>/dev/null; then
26260
    as_ln_s='ln -s'
26261
    # ... but there are two gotchas:
26262
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26263
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26264
    # In both cases, we have to default to `cp -p'.
26265
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26266
      as_ln_s='cp -p'
26267
  elif ln conf$$.file conf$$ 2>/dev/null; then
26268
    as_ln_s=ln
26269
  else
26270
    as_ln_s='cp -p'
26271
  fi
26272
else
26273
  as_ln_s='cp -p'
26274
fi
26275
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26276
rmdir conf$$.dir 2>/dev/null
26277
 
26278
 
26279
# as_fn_mkdir_p
26280
# -------------
26281
# Create "$as_dir" as a directory, including parents if necessary.
26282
as_fn_mkdir_p ()
26283
{
26284
 
26285
  case $as_dir in #(
26286
  -*) as_dir=./$as_dir;;
26287
  esac
26288
  test -d "$as_dir" || eval $as_mkdir_p || {
26289
    as_dirs=
26290
    while :; do
26291
      case $as_dir in #(
26292
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26293
      *) as_qdir=$as_dir;;
26294
      esac
26295
      as_dirs="'$as_qdir' $as_dirs"
26296
      as_dir=`$as_dirname -- "$as_dir" ||
26297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26298
         X"$as_dir" : 'X\(//\)[^/]' \| \
26299
         X"$as_dir" : 'X\(//\)$' \| \
26300
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26301
$as_echo X"$as_dir" |
26302
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26303
            s//\1/
26304
            q
26305
          }
26306
          /^X\(\/\/\)[^/].*/{
26307
            s//\1/
26308
            q
26309
          }
26310
          /^X\(\/\/\)$/{
26311
            s//\1/
26312
            q
26313
          }
26314
          /^X\(\/\).*/{
26315
            s//\1/
26316
            q
26317
          }
26318
          s/.*/./; q'`
26319
      test -d "$as_dir" && break
26320
    done
26321
    test -z "$as_dirs" || eval "mkdir $as_dirs"
26322
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
26323
 
26324
 
26325
} # as_fn_mkdir_p
26326
if mkdir -p . 2>/dev/null; then
26327
  as_mkdir_p='mkdir -p "$as_dir"'
26328
else
26329
  test -d ./-p && rmdir ./-p
26330
  as_mkdir_p=false
26331
fi
26332
 
26333
if test -x / >/dev/null 2>&1; then
26334
  as_test_x='test -x'
26335
else
26336
  if ls -dL / >/dev/null 2>&1; then
26337
    as_ls_L_option=L
26338
  else
26339
    as_ls_L_option=
26340
  fi
26341
  as_test_x='
26342
    eval sh -c '\''
26343
      if test -d "$1"; then
26344
        test -d "$1/.";
26345
      else
26346
        case $1 in #(
26347
        -*)set "./$1";;
26348
        esac;
26349
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
26350
        ???[sx]*):;;*)false;;esac;fi
26351
    '\'' sh
26352
  '
26353
fi
26354
as_executable_p=$as_test_x
26355
 
26356
# Sed expression to map a string onto a valid CPP name.
26357
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26358
 
26359
# Sed expression to map a string onto a valid variable name.
26360
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26361
 
26362
 
26363
exec 6>&1
26364
## ----------------------------------- ##
26365
## Main body of $CONFIG_STATUS script. ##
26366
## ----------------------------------- ##
26367
_ASEOF
26368
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26369
 
26370
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26371
# Save the log message, to keep $0 and so on meaningful, and to
26372
# report actual input values of CONFIG_FILES etc. instead of their
26373
# values after options handling.
26374
ac_log="
26375
This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
26376
generated by GNU Autoconf 2.64.  Invocation command line was
26377
 
26378
  CONFIG_FILES    = $CONFIG_FILES
26379
  CONFIG_HEADERS  = $CONFIG_HEADERS
26380
  CONFIG_LINKS    = $CONFIG_LINKS
26381
  CONFIG_COMMANDS = $CONFIG_COMMANDS
26382
  $ $0 $@
26383
 
26384
on `(hostname || uname -n) 2>/dev/null | sed 1q`
26385
"
26386
 
26387
_ACEOF
26388
 
26389
case $ac_config_files in *"
26390
"*) set x $ac_config_files; shift; ac_config_files=$*;;
26391
esac
26392
 
26393
case $ac_config_headers in *"
26394
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
26395
esac
26396
 
26397
 
26398
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26399
# Files that config.status was made for.
26400
config_files="$ac_config_files"
26401
config_headers="$ac_config_headers"
26402
config_commands="$ac_config_commands"
26403
 
26404
_ACEOF
26405
 
26406
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26407
ac_cs_usage="\
26408
\`$as_me' instantiates files and other configuration actions
26409
from templates according to the current configuration.  Unless the files
26410
and actions are specified as TAGs, all are instantiated by default.
26411
 
26412
Usage: $0 [OPTION]... [TAG]...
26413
 
26414
  -h, --help       print this help, then exit
26415
  -V, --version    print version number and configuration settings, then exit
26416
  -q, --quiet, --silent
26417
                   do not print progress messages
26418
  -d, --debug      don't remove temporary files
26419
      --recheck    update $as_me by reconfiguring in the same conditions
26420
      --file=FILE[:TEMPLATE]
26421
                   instantiate the configuration file FILE
26422
      --header=FILE[:TEMPLATE]
26423
                   instantiate the configuration header FILE
26424
 
26425
Configuration files:
26426
$config_files
26427
 
26428
Configuration headers:
26429
$config_headers
26430
 
26431
Configuration commands:
26432
$config_commands
26433
 
26434
Report bugs to the package provider.
26435
GNU Fortran Runtime Library home page: .
26436
General help using GNU software: ."
26437
 
26438
_ACEOF
26439
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26440
ac_cs_version="\\
26441
GNU Fortran Runtime Library config.status 0.3
26442
configured by $0, generated by GNU Autoconf 2.64,
26443
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26444
 
26445
Copyright (C) 2009 Free Software Foundation, Inc.
26446
This config.status script is free software; the Free Software Foundation
26447
gives unlimited permission to copy, distribute and modify it."
26448
 
26449
ac_pwd='$ac_pwd'
26450
srcdir='$srcdir'
26451
INSTALL='$INSTALL'
26452
MKDIR_P='$MKDIR_P'
26453
AWK='$AWK'
26454
test -n "\$AWK" || AWK=awk
26455
_ACEOF
26456
 
26457
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26458
# The default lists apply if the user does not specify any file.
26459
ac_need_defaults=:
26460
while test $# != 0
26461
do
26462
  case $1 in
26463
  --*=*)
26464
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
26465
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26466
    ac_shift=:
26467
    ;;
26468
  *)
26469
    ac_option=$1
26470
    ac_optarg=$2
26471
    ac_shift=shift
26472
    ;;
26473
  esac
26474
 
26475
  case $ac_option in
26476
  # Handling of the options.
26477
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26478
    ac_cs_recheck=: ;;
26479
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26480
    $as_echo "$ac_cs_version"; exit ;;
26481
  --debug | --debu | --deb | --de | --d | -d )
26482
    debug=: ;;
26483
  --file | --fil | --fi | --f )
26484
    $ac_shift
26485
    case $ac_optarg in
26486
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26487
    esac
26488
    as_fn_append CONFIG_FILES " '$ac_optarg'"
26489
    ac_need_defaults=false;;
26490
  --header | --heade | --head | --hea )
26491
    $ac_shift
26492
    case $ac_optarg in
26493
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26494
    esac
26495
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
26496
    ac_need_defaults=false;;
26497
  --he | --h)
26498
    # Conflict between --help and --header
26499
    as_fn_error "ambiguous option: \`$1'
26500
Try \`$0 --help' for more information.";;
26501
  --help | --hel | -h )
26502
    $as_echo "$ac_cs_usage"; exit ;;
26503
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26504
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
26505
    ac_cs_silent=: ;;
26506
 
26507
  # This is an error.
26508
  -*) as_fn_error "unrecognized option: \`$1'
26509
Try \`$0 --help' for more information." ;;
26510
 
26511
  *) as_fn_append ac_config_targets " $1"
26512
     ac_need_defaults=false ;;
26513
 
26514
  esac
26515
  shift
26516
done
26517
 
26518
ac_configure_extra_args=
26519
 
26520
if $ac_cs_silent; then
26521
  exec 6>/dev/null
26522
  ac_configure_extra_args="$ac_configure_extra_args --silent"
26523
fi
26524
 
26525
_ACEOF
26526
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26527
if \$ac_cs_recheck; then
26528
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26529
  shift
26530
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26531
  CONFIG_SHELL='$SHELL'
26532
  export CONFIG_SHELL
26533
  exec "\$@"
26534
fi
26535
 
26536
_ACEOF
26537
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26538
exec 5>>config.log
26539
{
26540
  echo
26541
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26542
## Running $as_me. ##
26543
_ASBOX
26544
  $as_echo "$ac_log"
26545
} >&5
26546
 
26547
_ACEOF
26548
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26549
#
26550
# INIT-COMMANDS
26551
#
26552
 
26553
srcdir="$srcdir"
26554
host="$host"
26555
target="$target"
26556
with_multisubdir="$with_multisubdir"
26557
with_multisrctop="$with_multisrctop"
26558
with_target_subdir="$with_target_subdir"
26559
ac_configure_args="${multilib_arg} ${ac_configure_args}"
26560
multi_basedir="$multi_basedir"
26561
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
26562
CC="$CC"
26563
CXX="$CXX"
26564
GFORTRAN="$GFORTRAN"
26565
GCJ="$GCJ"
26566
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26567
 
26568
 
26569
# The HP-UX ksh and POSIX shell print the target directory to stdout
26570
# if CDPATH is set.
26571
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26572
 
26573
sed_quote_subst='$sed_quote_subst'
26574
double_quote_subst='$double_quote_subst'
26575
delay_variable_subst='$delay_variable_subst'
26576
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
26577
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
26578
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
26579
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
26580
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
26581
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
26582
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26583
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26584
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
26585
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
26586
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
26587
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
26588
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
26589
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
26590
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
26591
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
26592
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
26593
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
26594
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
26595
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
26596
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
26597
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
26598
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
26599
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
26600
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
26601
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
26602
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
26603
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
26604
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
26605
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
26606
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
26607
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
26608
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
26609
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
26610
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
26611
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
26612
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
26613
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26614
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26615
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
26616
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
26617
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
26618
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
26619
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
26620
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
26621
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
26622
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
26623
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
26624
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
26625
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
26626
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
26627
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
26628
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
26629
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
26630
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
26631
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
26632
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
26633
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
26634
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
26635
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
26636
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
26637
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
26638
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
26639
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
26640
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26641
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
26642
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
26643
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
26644
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
26645
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
26646
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
26647
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26648
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
26649
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26650
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
26651
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26652
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
26653
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
26654
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
26655
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
26656
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
26657
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
26658
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
26659
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
26660
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
26661
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
26662
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
26663
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
26664
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
26665
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
26666
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
26667
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
26668
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
26669
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
26670
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
26671
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
26672
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
26673
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
26674
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
26675
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
26676
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
26677
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
26678
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
26679
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
26680
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
26681
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
26682
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
26683
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26684
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26685
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
26686
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
26687
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
26688
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
26689
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
26690
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
26691
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
26692
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
26693
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
26694
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
26695
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
26696
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
26697
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
26698
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
26699
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
26700
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
26701
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
26702
LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
26703
reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
26704
reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
26705
old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
26706
compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
26707
GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
26708
lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
26709
lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
26710
lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
26711
lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
26712
lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
26713
archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
26714
enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
26715
export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
26716
whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
26717
compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
26718
old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
26719
old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
26720
archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
26721
archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
26722
module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
26723
module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
26724
with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
26725
allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
26726
no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
26727
hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
26728
hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
26729
hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
26730
hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
26731
hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
26732
hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
26733
hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
26734
hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
26735
inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
26736
link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
26737
fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
26738
always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
26739
export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
26740
exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
26741
include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
26742
prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
26743
file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
26744
hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
26745
compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
26746
predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
26747
postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
26748
predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
26749
postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
26750
compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
26751
 
26752
LTCC='$LTCC'
26753
LTCFLAGS='$LTCFLAGS'
26754
compiler='$compiler_DEFAULT'
26755
 
26756
# A function that is used when there is no print builtin or printf.
26757
func_fallback_echo ()
26758
{
26759
  eval 'cat <<_LTECHO_EOF
26760
\$1
26761
_LTECHO_EOF'
26762
}
26763
 
26764
# Quote evaled strings.
26765
for var in SHELL \
26766
ECHO \
26767
SED \
26768
GREP \
26769
EGREP \
26770
FGREP \
26771
LD \
26772
NM \
26773
LN_S \
26774
lt_SP2NL \
26775
lt_NL2SP \
26776
reload_flag \
26777
OBJDUMP \
26778
deplibs_check_method \
26779
file_magic_cmd \
26780
AR \
26781
AR_FLAGS \
26782
STRIP \
26783
RANLIB \
26784
CC \
26785
CFLAGS \
26786
compiler \
26787
lt_cv_sys_global_symbol_pipe \
26788
lt_cv_sys_global_symbol_to_cdecl \
26789
lt_cv_sys_global_symbol_to_c_name_address \
26790
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26791
lt_prog_compiler_no_builtin_flag \
26792
lt_prog_compiler_wl \
26793
lt_prog_compiler_pic \
26794
lt_prog_compiler_static \
26795
lt_cv_prog_compiler_c_o \
26796
need_locks \
26797
DSYMUTIL \
26798
NMEDIT \
26799
LIPO \
26800
OTOOL \
26801
OTOOL64 \
26802
shrext_cmds \
26803
export_dynamic_flag_spec \
26804
whole_archive_flag_spec \
26805
compiler_needs_object \
26806
with_gnu_ld \
26807
allow_undefined_flag \
26808
no_undefined_flag \
26809
hardcode_libdir_flag_spec \
26810
hardcode_libdir_flag_spec_ld \
26811
hardcode_libdir_separator \
26812
fix_srcfile_path \
26813
exclude_expsyms \
26814
include_expsyms \
26815
file_list_spec \
26816
variables_saved_for_relink \
26817
libname_spec \
26818
library_names_spec \
26819
soname_spec \
26820
install_override_mode \
26821
finish_eval \
26822
old_striplib \
26823
striplib \
26824
compiler_lib_search_dirs \
26825
predep_objects \
26826
postdep_objects \
26827
predeps \
26828
postdeps \
26829
compiler_lib_search_path \
26830
LD_FC \
26831
reload_flag_FC \
26832
compiler_FC \
26833
lt_prog_compiler_no_builtin_flag_FC \
26834
lt_prog_compiler_wl_FC \
26835
lt_prog_compiler_pic_FC \
26836
lt_prog_compiler_static_FC \
26837
lt_cv_prog_compiler_c_o_FC \
26838
export_dynamic_flag_spec_FC \
26839
whole_archive_flag_spec_FC \
26840
compiler_needs_object_FC \
26841
with_gnu_ld_FC \
26842
allow_undefined_flag_FC \
26843
no_undefined_flag_FC \
26844
hardcode_libdir_flag_spec_FC \
26845
hardcode_libdir_flag_spec_ld_FC \
26846
hardcode_libdir_separator_FC \
26847
fix_srcfile_path_FC \
26848
exclude_expsyms_FC \
26849
include_expsyms_FC \
26850
file_list_spec_FC \
26851
compiler_lib_search_dirs_FC \
26852
predep_objects_FC \
26853
postdep_objects_FC \
26854
predeps_FC \
26855
postdeps_FC \
26856
compiler_lib_search_path_FC; do
26857
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26858
    *[\\\\\\\`\\"\\\$]*)
26859
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26860
      ;;
26861
    *)
26862
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26863
      ;;
26864
    esac
26865
done
26866
 
26867
# Double-quote double-evaled strings.
26868
for var in reload_cmds \
26869
old_postinstall_cmds \
26870
old_postuninstall_cmds \
26871
old_archive_cmds \
26872
extract_expsyms_cmds \
26873
old_archive_from_new_cmds \
26874
old_archive_from_expsyms_cmds \
26875
archive_cmds \
26876
archive_expsym_cmds \
26877
module_cmds \
26878
module_expsym_cmds \
26879
export_symbols_cmds \
26880
prelink_cmds \
26881
postinstall_cmds \
26882
postuninstall_cmds \
26883
finish_cmds \
26884
sys_lib_search_path_spec \
26885
sys_lib_dlsearch_path_spec \
26886
reload_cmds_FC \
26887
old_archive_cmds_FC \
26888
old_archive_from_new_cmds_FC \
26889
old_archive_from_expsyms_cmds_FC \
26890
archive_cmds_FC \
26891
archive_expsym_cmds_FC \
26892
module_cmds_FC \
26893
module_expsym_cmds_FC \
26894
export_symbols_cmds_FC \
26895
prelink_cmds_FC; do
26896
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26897
    *[\\\\\\\`\\"\\\$]*)
26898
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26899
      ;;
26900
    *)
26901
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26902
      ;;
26903
    esac
26904
done
26905
 
26906
ac_aux_dir='$ac_aux_dir'
26907
xsi_shell='$xsi_shell'
26908
lt_shell_append='$lt_shell_append'
26909
 
26910
# See if we are running on zsh, and set the options which allow our
26911
# commands through without removal of \ escapes INIT.
26912
if test -n "\${ZSH_VERSION+set}" ; then
26913
   setopt NO_GLOB_SUBST
26914
fi
26915
 
26916
 
26917
    PACKAGE='$PACKAGE'
26918
    VERSION='$VERSION'
26919
    TIMESTAMP='$TIMESTAMP'
26920
    RM='$RM'
26921
    ofile='$ofile'
26922
 
26923
 
26924
 
26925
 
26926
 
26927
 
26928
GCC="$GCC"
26929
CC="$CC"
26930
acx_cv_header_stdint="$acx_cv_header_stdint"
26931
acx_cv_type_int8_t="$acx_cv_type_int8_t"
26932
acx_cv_type_int16_t="$acx_cv_type_int16_t"
26933
acx_cv_type_int32_t="$acx_cv_type_int32_t"
26934
acx_cv_type_int64_t="$acx_cv_type_int64_t"
26935
acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
26936
ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
26937
ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
26938
ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
26939
ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
26940
ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
26941
ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
26942
ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
26943
ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
26944
 
26945
 
26946
_ACEOF
26947
 
26948
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26949
 
26950
# Handling of arguments.
26951
for ac_config_target in $ac_config_targets
26952
do
26953
  case $ac_config_target in
26954
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26955
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26956
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26957
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26958
    "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
26959
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26960
    "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
26961
 
26962
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26963
  esac
26964
done
26965
 
26966
 
26967
# If the user did not use the arguments to specify the items to instantiate,
26968
# then the envvar interface is used.  Set only those that are not.
26969
# We use the long form for the default assignment because of an extremely
26970
# bizarre bug on SunOS 4.1.3.
26971
if $ac_need_defaults; then
26972
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26973
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26974
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26975
fi
26976
 
26977
# Have a temporary directory for convenience.  Make it in the build tree
26978
# simply because there is no reason against having it here, and in addition,
26979
# creating and moving files from /tmp can sometimes cause problems.
26980
# Hook for its removal unless debugging.
26981
# Note that there is a small window in which the directory will not be cleaned:
26982
# after its creation but before its name has been assigned to `$tmp'.
26983
$debug ||
26984
{
26985
  tmp=
26986
  trap 'exit_status=$?
26987
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26988
' 0
26989
  trap 'as_fn_exit 1' 1 2 13 15
26990
}
26991
# Create a (secure) tmp directory for tmp files.
26992
 
26993
{
26994
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26995
  test -n "$tmp" && test -d "$tmp"
26996
}  ||
26997
{
26998
  tmp=./conf$$-$RANDOM
26999
  (umask 077 && mkdir "$tmp")
27000
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
27001
 
27002
# Set up the scripts for CONFIG_FILES section.
27003
# No need to generate them if there are no CONFIG_FILES.
27004
# This happens for instance with `./config.status config.h'.
27005
if test -n "$CONFIG_FILES"; then
27006
 
27007
 
27008
ac_cr=`echo X | tr X '\015'`
27009
# On cygwin, bash can eat \r inside `` if the user requested igncr.
27010
# But we know of no other shell where ac_cr would be empty at this
27011
# point, so we can use a bashism as a fallback.
27012
if test "x$ac_cr" = x; then
27013
  eval ac_cr=\$\'\\r\'
27014
fi
27015
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
27016
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27017
  ac_cs_awk_cr='\r'
27018
else
27019
  ac_cs_awk_cr=$ac_cr
27020
fi
27021
 
27022
echo 'BEGIN {' >"$tmp/subs1.awk" &&
27023
_ACEOF
27024
 
27025
 
27026
{
27027
  echo "cat >conf$$subs.awk <<_ACEOF" &&
27028
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27029
  echo "_ACEOF"
27030
} >conf$$subs.sh ||
27031
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27032
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27033
ac_delim='%!_!# '
27034
for ac_last_try in false false false false false :; do
27035
  . ./conf$$subs.sh ||
27036
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27037
 
27038
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27039
  if test $ac_delim_n = $ac_delim_num; then
27040
    break
27041
  elif $ac_last_try; then
27042
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27043
  else
27044
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27045
  fi
27046
done
27047
rm -f conf$$subs.sh
27048
 
27049
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27050
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
27051
_ACEOF
27052
sed -n '
27053
h
27054
s/^/S["/; s/!.*/"]=/
27055
p
27056
g
27057
s/^[^!]*!//
27058
:repl
27059
t repl
27060
s/'"$ac_delim"'$//
27061
t delim
27062
:nl
27063
h
27064
s/\(.\{148\}\).*/\1/
27065
t more1
27066
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27067
p
27068
n
27069
b repl
27070
:more1
27071
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27072
p
27073
g
27074
s/.\{148\}//
27075
t nl
27076
:delim
27077
h
27078
s/\(.\{148\}\).*/\1/
27079
t more2
27080
s/["\\]/\\&/g; s/^/"/; s/$/"/
27081
p
27082
b
27083
:more2
27084
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27085
p
27086
g
27087
s/.\{148\}//
27088
t delim
27089
' 
27090
/^[^""]/{
27091
  N
27092
  s/\n//
27093
}
27094
' >>$CONFIG_STATUS || ac_write_fail=1
27095
rm -f conf$$subs.awk
27096
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27097
_ACAWK
27098
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
27099
  for (key in S) S_is_set[key] = 1
27100
  FS = ""
27101
 
27102
}
27103
{
27104
  line = $ 0
27105
  nfields = split(line, field, "@")
27106
  substed = 0
27107
  len = length(field[1])
27108
  for (i = 2; i < nfields; i++) {
27109
    key = field[i]
27110
    keylen = length(key)
27111
    if (S_is_set[key]) {
27112
      value = S[key]
27113
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27114
      len += length(value) + length(field[++i])
27115
      substed = 1
27116
    } else
27117
      len += 1 + keylen
27118
  }
27119
 
27120
  print line
27121
}
27122
 
27123
_ACAWK
27124
_ACEOF
27125
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27126
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27127
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27128
else
27129
  cat
27130
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
27131
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
27132
_ACEOF
27133
 
27134
# VPATH may cause trouble with some makes, so we remove $(srcdir),
27135
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27136
# trailing colons and then remove the whole line if VPATH becomes empty
27137
# (actually we leave an empty line to preserve line numbers).
27138
if test "x$srcdir" = x.; then
27139
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
27140
s/:*\$(srcdir):*/:/
27141
s/:*\${srcdir}:*/:/
27142
s/:*@srcdir@:*/:/
27143
s/^\([^=]*=[     ]*\):*/\1/
27144
s/:*$//
27145
s/^[^=]*=[       ]*$//
27146
}'
27147
fi
27148
 
27149
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27150
fi # test -n "$CONFIG_FILES"
27151
 
27152
# Set up the scripts for CONFIG_HEADERS section.
27153
# No need to generate them if there are no CONFIG_HEADERS.
27154
# This happens for instance with `./config.status Makefile'.
27155
if test -n "$CONFIG_HEADERS"; then
27156
cat >"$tmp/defines.awk" <<\_ACAWK ||
27157
BEGIN {
27158
_ACEOF
27159
 
27160
# Transform confdefs.h into an awk script `defines.awk', embedded as
27161
# here-document in config.status, that substitutes the proper values into
27162
# config.h.in to produce config.h.
27163
 
27164
# Create a delimiter string that does not exist in confdefs.h, to ease
27165
# handling of long lines.
27166
ac_delim='%!_!# '
27167
for ac_last_try in false false :; do
27168
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
27169
  if test -z "$ac_t"; then
27170
    break
27171
  elif $ac_last_try; then
27172
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
27173
  else
27174
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27175
  fi
27176
done
27177
 
27178
# For the awk script, D is an array of macro values keyed by name,
27179
# likewise P contains macro parameters if any.  Preserve backslash
27180
# newline sequences.
27181
 
27182
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27183
sed -n '
27184
s/.\{148\}/&'"$ac_delim"'/g
27185
t rset
27186
:rset
27187
s/^[     ]*#[    ]*define[       ][      ]*/ /
27188
t def
27189
d
27190
:def
27191
s/\\$//
27192
t bsnl
27193
s/["\\]/\\&/g
27194
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
27195
D["\1"]=" \3"/p
27196
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
27197
d
27198
:bsnl
27199
s/["\\]/\\&/g
27200
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
27201
D["\1"]=" \3\\\\\\n"\\/p
27202
t cont
27203
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27204
t cont
27205
d
27206
:cont
27207
n
27208
s/.\{148\}/&'"$ac_delim"'/g
27209
t clear
27210
:clear
27211
s/\\$//
27212
t bsnlc
27213
s/["\\]/\\&/g; s/^/"/; s/$/"/p
27214
d
27215
:bsnlc
27216
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27217
b cont
27218
' 
27219
s/'"$ac_delim"'/"\\\
27220
"/g' >>$CONFIG_STATUS || ac_write_fail=1
27221
 
27222
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27223
  for (key in D) D_is_set[key] = 1
27224
  FS = ""
27225
}
27226
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27227
  line = \$ 0
27228
  split(line, arg, " ")
27229
  if (arg[1] == "#") {
27230
    defundef = arg[2]
27231
    mac1 = arg[3]
27232
  } else {
27233
    defundef = substr(arg[1], 2)
27234
    mac1 = arg[2]
27235
  }
27236
  split(mac1, mac2, "(") #)
27237
  macro = mac2[1]
27238
  prefix = substr(line, 1, index(line, defundef) - 1)
27239
  if (D_is_set[macro]) {
27240
    # Preserve the white space surrounding the "#".
27241
    print prefix "define", macro P[macro] D[macro]
27242
    next
27243
  } else {
27244
    # Replace #undef with comments.  This is necessary, for example,
27245
    # in the case of _POSIX_SOURCE, which is predefined and required
27246
    # on some systems where configure will not decide to define it.
27247
    if (defundef == "undef") {
27248
      print "/*", prefix defundef, macro, "*/"
27249
      next
27250
    }
27251
  }
27252
}
27253
{ print }
27254
_ACAWK
27255
_ACEOF
27256
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27257
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
27258
fi # test -n "$CONFIG_HEADERS"
27259
 
27260
 
27261
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
27262
shift
27263
for ac_tag
27264
do
27265
  case $ac_tag in
27266
  :[FHLC]) ac_mode=$ac_tag; continue;;
27267
  esac
27268
  case $ac_mode$ac_tag in
27269
  :[FHL]*:*);;
27270
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
27271
  :[FH]-) ac_tag=-:-;;
27272
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27273
  esac
27274
  ac_save_IFS=$IFS
27275
  IFS=:
27276
  set x $ac_tag
27277
  IFS=$ac_save_IFS
27278
  shift
27279
  ac_file=$1
27280
  shift
27281
 
27282
  case $ac_mode in
27283
  :L) ac_source=$1;;
27284
  :[FH])
27285
    ac_file_inputs=
27286
    for ac_f
27287
    do
27288
      case $ac_f in
27289
      -) ac_f="$tmp/stdin";;
27290
      *) # Look for the file first in the build tree, then in the source tree
27291
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
27292
         # because $ac_f cannot contain `:'.
27293
         test -f "$ac_f" ||
27294
           case $ac_f in
27295
           [\\/$]*) false;;
27296
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27297
           esac ||
27298
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27299
      esac
27300
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27301
      as_fn_append ac_file_inputs " '$ac_f'"
27302
    done
27303
 
27304
    # Let's still pretend it is `configure' which instantiates (i.e., don't
27305
    # use $as_me), people would be surprised to read:
27306
    #    /* config.h.  Generated by config.status.  */
27307
    configure_input='Generated from '`
27308
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27309
        `' by configure.'
27310
    if test x"$ac_file" != x-; then
27311
      configure_input="$ac_file.  $configure_input"
27312
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27313
$as_echo "$as_me: creating $ac_file" >&6;}
27314
    fi
27315
    # Neutralize special characters interpreted by sed in replacement strings.
27316
    case $configure_input in #(
27317
    *\&* | *\|* | *\\* )
27318
       ac_sed_conf_input=`$as_echo "$configure_input" |
27319
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
27320
    *) ac_sed_conf_input=$configure_input;;
27321
    esac
27322
 
27323
    case $ac_tag in
27324
    *:-:* | *:-) cat >"$tmp/stdin" \
27325
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
27326
    esac
27327
    ;;
27328
  esac
27329
 
27330
  ac_dir=`$as_dirname -- "$ac_file" ||
27331
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27332
         X"$ac_file" : 'X\(//\)[^/]' \| \
27333
         X"$ac_file" : 'X\(//\)$' \| \
27334
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27335
$as_echo X"$ac_file" |
27336
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27337
            s//\1/
27338
            q
27339
          }
27340
          /^X\(\/\/\)[^/].*/{
27341
            s//\1/
27342
            q
27343
          }
27344
          /^X\(\/\/\)$/{
27345
            s//\1/
27346
            q
27347
          }
27348
          /^X\(\/\).*/{
27349
            s//\1/
27350
            q
27351
          }
27352
          s/.*/./; q'`
27353
  as_dir="$ac_dir"; as_fn_mkdir_p
27354
  ac_builddir=.
27355
 
27356
case "$ac_dir" in
27357
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27358
*)
27359
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27360
  # A ".." for each directory in $ac_dir_suffix.
27361
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27362
  case $ac_top_builddir_sub in
27363
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27364
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27365
  esac ;;
27366
esac
27367
ac_abs_top_builddir=$ac_pwd
27368
ac_abs_builddir=$ac_pwd$ac_dir_suffix
27369
# for backward compatibility:
27370
ac_top_builddir=$ac_top_build_prefix
27371
 
27372
case $srcdir in
27373
  .)  # We are building in place.
27374
    ac_srcdir=.
27375
    ac_top_srcdir=$ac_top_builddir_sub
27376
    ac_abs_top_srcdir=$ac_pwd ;;
27377
  [\\/]* | ?:[\\/]* )  # Absolute name.
27378
    ac_srcdir=$srcdir$ac_dir_suffix;
27379
    ac_top_srcdir=$srcdir
27380
    ac_abs_top_srcdir=$srcdir ;;
27381
  *) # Relative name.
27382
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27383
    ac_top_srcdir=$ac_top_build_prefix$srcdir
27384
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27385
esac
27386
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27387
 
27388
 
27389
  case $ac_mode in
27390
  :F)
27391
  #
27392
  # CONFIG_FILE
27393
  #
27394
 
27395
  case $INSTALL in
27396
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27397
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27398
  esac
27399
  ac_MKDIR_P=$MKDIR_P
27400
  case $MKDIR_P in
27401
  [\\/$]* | ?:[\\/]* ) ;;
27402
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
27403
  esac
27404
_ACEOF
27405
 
27406
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27407
# If the template does not know about datarootdir, expand it.
27408
# FIXME: This hack should be removed a few years after 2.60.
27409
ac_datarootdir_hack=; ac_datarootdir_seen=
27410
ac_sed_dataroot='
27411
/datarootdir/ {
27412
  p
27413
  q
27414
}
27415
/@datadir@/p
27416
/@docdir@/p
27417
/@infodir@/p
27418
/@localedir@/p
27419
/@mandir@/p'
27420
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27421
*datarootdir*) ac_datarootdir_seen=yes;;
27422
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27423
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27424
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27425
_ACEOF
27426
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27427
  ac_datarootdir_hack='
27428
  s&@datadir@&$datadir&g
27429
  s&@docdir@&$docdir&g
27430
  s&@infodir@&$infodir&g
27431
  s&@localedir@&$localedir&g
27432
  s&@mandir@&$mandir&g
27433
  s&\\\${datarootdir}&$datarootdir&g' ;;
27434
esac
27435
_ACEOF
27436
 
27437
# Neutralize VPATH when `$srcdir' = `.'.
27438
# Shell code in configure.ac might set extrasub.
27439
# FIXME: do we really want to maintain this feature?
27440
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27441
ac_sed_extra="$ac_vpsub
27442
$extrasub
27443
_ACEOF
27444
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27445
:t
27446
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27447
s|@configure_input@|$ac_sed_conf_input|;t t
27448
s&@top_builddir@&$ac_top_builddir_sub&;t t
27449
s&@top_build_prefix@&$ac_top_build_prefix&;t t
27450
s&@srcdir@&$ac_srcdir&;t t
27451
s&@abs_srcdir@&$ac_abs_srcdir&;t t
27452
s&@top_srcdir@&$ac_top_srcdir&;t t
27453
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27454
s&@builddir@&$ac_builddir&;t t
27455
s&@abs_builddir@&$ac_abs_builddir&;t t
27456
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27457
s&@INSTALL@&$ac_INSTALL&;t t
27458
s&@MKDIR_P@&$ac_MKDIR_P&;t t
27459
$ac_datarootdir_hack
27460
"
27461
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
27462
  || as_fn_error "could not create $ac_file" "$LINENO" 5
27463
 
27464
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27465
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27466
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27467
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27468
which seems to be undefined.  Please make sure it is defined." >&5
27469
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27470
which seems to be undefined.  Please make sure it is defined." >&2;}
27471
 
27472
  rm -f "$tmp/stdin"
27473
  case $ac_file in
27474
  -) cat "$tmp/out" && rm -f "$tmp/out";;
27475
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
27476
  esac \
27477
  || as_fn_error "could not create $ac_file" "$LINENO" 5
27478
 ;;
27479
  :H)
27480
  #
27481
  # CONFIG_HEADER
27482
  #
27483
  if test x"$ac_file" != x-; then
27484
    {
27485
      $as_echo "/* $configure_input  */" \
27486
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
27487
    } >"$tmp/config.h" \
27488
      || as_fn_error "could not create $ac_file" "$LINENO" 5
27489
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
27490
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27491
$as_echo "$as_me: $ac_file is unchanged" >&6;}
27492
    else
27493
      rm -f "$ac_file"
27494
      mv "$tmp/config.h" "$ac_file" \
27495
        || as_fn_error "could not create $ac_file" "$LINENO" 5
27496
    fi
27497
  else
27498
    $as_echo "/* $configure_input  */" \
27499
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
27500
      || as_fn_error "could not create -" "$LINENO" 5
27501
  fi
27502
# Compute "$ac_file"'s index in $config_headers.
27503
_am_arg="$ac_file"
27504
_am_stamp_count=1
27505
for _am_header in $config_headers :; do
27506
  case $_am_header in
27507
    $_am_arg | $_am_arg:* )
27508
      break ;;
27509
    * )
27510
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27511
  esac
27512
done
27513
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27514
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27515
         X"$_am_arg" : 'X\(//\)[^/]' \| \
27516
         X"$_am_arg" : 'X\(//\)$' \| \
27517
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27518
$as_echo X"$_am_arg" |
27519
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27520
            s//\1/
27521
            q
27522
          }
27523
          /^X\(\/\/\)[^/].*/{
27524
            s//\1/
27525
            q
27526
          }
27527
          /^X\(\/\/\)$/{
27528
            s//\1/
27529
            q
27530
          }
27531
          /^X\(\/\).*/{
27532
            s//\1/
27533
            q
27534
          }
27535
          s/.*/./; q'`/stamp-h$_am_stamp_count
27536
 ;;
27537
 
27538
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27539
$as_echo "$as_me: executing $ac_file commands" >&6;}
27540
 ;;
27541
  esac
27542
 
27543
 
27544
  case $ac_file$ac_mode in
27545
    "default-1":C)
27546
# Only add multilib support code if we just rebuilt the top-level
27547
# Makefile.
27548
case " $CONFIG_FILES " in
27549
 *" Makefile "*)
27550
   ac_file=Makefile . ${multi_basedir}/config-ml.in
27551
   ;;
27552
esac ;;
27553
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
27554
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
27555
  # are listed without --file.  Let's play safe and only enable the eval
27556
  # if we detect the quoting.
27557
  case $CONFIG_FILES in
27558
  *\'*) eval set x "$CONFIG_FILES" ;;
27559
  *)   set x $CONFIG_FILES ;;
27560
  esac
27561
  shift
27562
  for mf
27563
  do
27564
    # Strip MF so we end up with the name of the file.
27565
    mf=`echo "$mf" | sed -e 's/:.*$//'`
27566
    # Check whether this is an Automake generated Makefile or not.
27567
    # We used to match only the files named `Makefile.in', but
27568
    # some people rename them; so instead we look at the file content.
27569
    # Grep'ing the first line is not enough: some people post-process
27570
    # each Makefile.in and add a new line on top of each file to say so.
27571
    # Grep'ing the whole file is not good either: AIX grep has a line
27572
    # limit of 2048, but all sed's we know have understand at least 4000.
27573
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
27574
      dirpart=`$as_dirname -- "$mf" ||
27575
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27576
         X"$mf" : 'X\(//\)[^/]' \| \
27577
         X"$mf" : 'X\(//\)$' \| \
27578
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27579
$as_echo X"$mf" |
27580
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27581
            s//\1/
27582
            q
27583
          }
27584
          /^X\(\/\/\)[^/].*/{
27585
            s//\1/
27586
            q
27587
          }
27588
          /^X\(\/\/\)$/{
27589
            s//\1/
27590
            q
27591
          }
27592
          /^X\(\/\).*/{
27593
            s//\1/
27594
            q
27595
          }
27596
          s/.*/./; q'`
27597
    else
27598
      continue
27599
    fi
27600
    # Extract the definition of DEPDIR, am__include, and am__quote
27601
    # from the Makefile without running `make'.
27602
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27603
    test -z "$DEPDIR" && continue
27604
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
27605
    test -z "am__include" && continue
27606
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27607
    # When using ansi2knr, U may be empty or an underscore; expand it
27608
    U=`sed -n 's/^U = //p' < "$mf"`
27609
    # Find all dependency output files, they are included files with
27610
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
27611
    # simplest approach to changing $(DEPDIR) to its actual value in the
27612
    # expansion.
27613
    for file in `sed -n "
27614
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27615
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27616
      # Make sure the directory exists.
27617
      test -f "$dirpart/$file" && continue
27618
      fdir=`$as_dirname -- "$file" ||
27619
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27620
         X"$file" : 'X\(//\)[^/]' \| \
27621
         X"$file" : 'X\(//\)$' \| \
27622
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27623
$as_echo X"$file" |
27624
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27625
            s//\1/
27626
            q
27627
          }
27628
          /^X\(\/\/\)[^/].*/{
27629
            s//\1/
27630
            q
27631
          }
27632
          /^X\(\/\/\)$/{
27633
            s//\1/
27634
            q
27635
          }
27636
          /^X\(\/\).*/{
27637
            s//\1/
27638
            q
27639
          }
27640
          s/.*/./; q'`
27641
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
27642
      # echo "creating $dirpart/$file"
27643
      echo '# dummy' > "$dirpart/$file"
27644
    done
27645
  done
27646
}
27647
 ;;
27648
    "libtool":C)
27649
 
27650
    # See if we are running on zsh, and set the options which allow our
27651
    # commands through without removal of \ escapes.
27652
    if test -n "${ZSH_VERSION+set}" ; then
27653
      setopt NO_GLOB_SUBST
27654
    fi
27655
 
27656
    cfgfile="${ofile}T"
27657
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27658
    $RM "$cfgfile"
27659
 
27660
    cat <<_LT_EOF >> "$cfgfile"
27661
#! $SHELL
27662
 
27663
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27664
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
27665
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27666
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
27667
#
27668
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27669
#                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
27670
#   Written by Gordon Matzigkeit, 1996
27671
#
27672
#   This file is part of GNU Libtool.
27673
#
27674
# GNU Libtool is free software; you can redistribute it and/or
27675
# modify it under the terms of the GNU General Public License as
27676
# published by the Free Software Foundation; either version 2 of
27677
# the License, or (at your option) any later version.
27678
#
27679
# As a special exception to the GNU General Public License,
27680
# if you distribute this file as part of a program or library that
27681
# is built using GNU Libtool, you may include this file under the
27682
# same distribution terms that you use for the rest of that program.
27683
#
27684
# GNU Libtool is distributed in the hope that it will be useful,
27685
# but WITHOUT ANY WARRANTY; without even the implied warranty of
27686
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27687
# GNU General Public License for more details.
27688
#
27689
# You should have received a copy of the GNU General Public License
27690
# along with GNU Libtool; see the file COPYING.  If not, a copy
27691
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27692
# obtained by writing to the Free Software Foundation, Inc.,
27693
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27694
 
27695
 
27696
# The names of the tagged configurations supported by this script.
27697
available_tags="FC "
27698
 
27699
# ### BEGIN LIBTOOL CONFIG
27700
 
27701
# Which release of libtool.m4 was used?
27702
macro_version=$macro_version
27703
macro_revision=$macro_revision
27704
 
27705
# Whether or not to build shared libraries.
27706
build_libtool_libs=$enable_shared
27707
 
27708
# Whether or not to build static libraries.
27709
build_old_libs=$enable_static
27710
 
27711
# What type of objects to build.
27712
pic_mode=$pic_mode
27713
 
27714
# Whether or not to optimize for fast installation.
27715
fast_install=$enable_fast_install
27716
 
27717
# Shell to use when invoking shell scripts.
27718
SHELL=$lt_SHELL
27719
 
27720
# An echo program that protects backslashes.
27721
ECHO=$lt_ECHO
27722
 
27723
# The host system.
27724
host_alias=$host_alias
27725
host=$host
27726
host_os=$host_os
27727
 
27728
# The build system.
27729
build_alias=$build_alias
27730
build=$build
27731
build_os=$build_os
27732
 
27733
# A sed program that does not truncate output.
27734
SED=$lt_SED
27735
 
27736
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
27737
Xsed="\$SED -e 1s/^X//"
27738
 
27739
# A grep program that handles long lines.
27740
GREP=$lt_GREP
27741
 
27742
# An ERE matcher.
27743
EGREP=$lt_EGREP
27744
 
27745
# A literal string matcher.
27746
FGREP=$lt_FGREP
27747
 
27748
# A BSD- or MS-compatible name lister.
27749
NM=$lt_NM
27750
 
27751
# Whether we need soft or hard links.
27752
LN_S=$lt_LN_S
27753
 
27754
# What is the maximum length of a command?
27755
max_cmd_len=$max_cmd_len
27756
 
27757
# Object file suffix (normally "o").
27758
objext=$ac_objext
27759
 
27760
# Executable file suffix (normally "").
27761
exeext=$exeext
27762
 
27763
# whether the shell understands "unset".
27764
lt_unset=$lt_unset
27765
 
27766
# turn spaces into newlines.
27767
SP2NL=$lt_lt_SP2NL
27768
 
27769
# turn newlines into spaces.
27770
NL2SP=$lt_lt_NL2SP
27771
 
27772
# An object symbol dumper.
27773
OBJDUMP=$lt_OBJDUMP
27774
 
27775
# Method to check whether dependent libraries are shared objects.
27776
deplibs_check_method=$lt_deplibs_check_method
27777
 
27778
# Command to use when deplibs_check_method == "file_magic".
27779
file_magic_cmd=$lt_file_magic_cmd
27780
 
27781
# The archiver.
27782
AR=$lt_AR
27783
AR_FLAGS=$lt_AR_FLAGS
27784
 
27785
# A symbol stripping program.
27786
STRIP=$lt_STRIP
27787
 
27788
# Commands used to install an old-style archive.
27789
RANLIB=$lt_RANLIB
27790
old_postinstall_cmds=$lt_old_postinstall_cmds
27791
old_postuninstall_cmds=$lt_old_postuninstall_cmds
27792
 
27793
# Whether to use a lock for old archive extraction.
27794
lock_old_archive_extraction=$lock_old_archive_extraction
27795
 
27796
# A C compiler.
27797
LTCC=$lt_CC
27798
 
27799
# LTCC compiler flags.
27800
LTCFLAGS=$lt_CFLAGS
27801
 
27802
# Take the output of nm and produce a listing of raw symbols and C names.
27803
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27804
 
27805
# Transform the output of nm in a proper C declaration.
27806
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27807
 
27808
# Transform the output of nm in a C name address pair.
27809
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27810
 
27811
# Transform the output of nm in a C name address pair when lib prefix is needed.
27812
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27813
 
27814
# The name of the directory that contains temporary libtool files.
27815
objdir=$objdir
27816
 
27817
# Used to examine libraries when file_magic_cmd begins with "file".
27818
MAGIC_CMD=$MAGIC_CMD
27819
 
27820
# Must we lock files when doing compilation?
27821
need_locks=$lt_need_locks
27822
 
27823
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27824
DSYMUTIL=$lt_DSYMUTIL
27825
 
27826
# Tool to change global to local symbols on Mac OS X.
27827
NMEDIT=$lt_NMEDIT
27828
 
27829
# Tool to manipulate fat objects and archives on Mac OS X.
27830
LIPO=$lt_LIPO
27831
 
27832
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
27833
OTOOL=$lt_OTOOL
27834
 
27835
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27836
OTOOL64=$lt_OTOOL64
27837
 
27838
# Old archive suffix (normally "a").
27839
libext=$libext
27840
 
27841
# Shared library suffix (normally ".so").
27842
shrext_cmds=$lt_shrext_cmds
27843
 
27844
# The commands to extract the exported symbol list from a shared archive.
27845
extract_expsyms_cmds=$lt_extract_expsyms_cmds
27846
 
27847
# Variables whose values should be saved in libtool wrapper scripts and
27848
# restored at link time.
27849
variables_saved_for_relink=$lt_variables_saved_for_relink
27850
 
27851
# Do we need the "lib" prefix for modules?
27852
need_lib_prefix=$need_lib_prefix
27853
 
27854
# Do we need a version for libraries?
27855
need_version=$need_version
27856
 
27857
# Library versioning type.
27858
version_type=$version_type
27859
 
27860
# Shared library runtime path variable.
27861
runpath_var=$runpath_var
27862
 
27863
# Shared library path variable.
27864
shlibpath_var=$shlibpath_var
27865
 
27866
# Is shlibpath searched before the hard-coded library search path?
27867
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27868
 
27869
# Format of library name prefix.
27870
libname_spec=$lt_libname_spec
27871
 
27872
# List of archive names.  First name is the real one, the rest are links.
27873
# The last name is the one that the linker finds with -lNAME
27874
library_names_spec=$lt_library_names_spec
27875
 
27876
# The coded name of the library, if different from the real name.
27877
soname_spec=$lt_soname_spec
27878
 
27879
# Permission mode override for installation of shared libraries.
27880
install_override_mode=$lt_install_override_mode
27881
 
27882
# Command to use after installation of a shared archive.
27883
postinstall_cmds=$lt_postinstall_cmds
27884
 
27885
# Command to use after uninstallation of a shared archive.
27886
postuninstall_cmds=$lt_postuninstall_cmds
27887
 
27888
# Commands used to finish a libtool library installation in a directory.
27889
finish_cmds=$lt_finish_cmds
27890
 
27891
# As "finish_cmds", except a single script fragment to be evaled but
27892
# not shown.
27893
finish_eval=$lt_finish_eval
27894
 
27895
# Whether we should hardcode library paths into libraries.
27896
hardcode_into_libs=$hardcode_into_libs
27897
 
27898
# Compile-time system search path for libraries.
27899
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27900
 
27901
# Run-time system search path for libraries.
27902
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27903
 
27904
# Whether dlopen is supported.
27905
dlopen_support=$enable_dlopen
27906
 
27907
# Whether dlopen of programs is supported.
27908
dlopen_self=$enable_dlopen_self
27909
 
27910
# Whether dlopen of statically linked programs is supported.
27911
dlopen_self_static=$enable_dlopen_self_static
27912
 
27913
# Commands to strip libraries.
27914
old_striplib=$lt_old_striplib
27915
striplib=$lt_striplib
27916
 
27917
 
27918
# The linker used to build libraries.
27919
LD=$lt_LD
27920
 
27921
# How to create reloadable object files.
27922
reload_flag=$lt_reload_flag
27923
reload_cmds=$lt_reload_cmds
27924
 
27925
# Commands used to build an old-style archive.
27926
old_archive_cmds=$lt_old_archive_cmds
27927
 
27928
# A language specific compiler.
27929
CC=$lt_compiler
27930
 
27931
# Is the compiler the GNU compiler?
27932
with_gcc=$GCC
27933
 
27934
# Compiler flag to turn off builtin functions.
27935
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27936
 
27937
# How to pass a linker flag through the compiler.
27938
wl=$lt_lt_prog_compiler_wl
27939
 
27940
# Additional compiler flags for building library objects.
27941
pic_flag=$lt_lt_prog_compiler_pic
27942
 
27943
# Compiler flag to prevent dynamic linking.
27944
link_static_flag=$lt_lt_prog_compiler_static
27945
 
27946
# Does compiler simultaneously support -c and -o options?
27947
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27948
 
27949
# Whether or not to add -lc for building shared libraries.
27950
build_libtool_need_lc=$archive_cmds_need_lc
27951
 
27952
# Whether or not to disallow shared libs when runtime libs are static.
27953
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27954
 
27955
# Compiler flag to allow reflexive dlopens.
27956
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27957
 
27958
# Compiler flag to generate shared objects directly from archives.
27959
whole_archive_flag_spec=$lt_whole_archive_flag_spec
27960
 
27961
# Whether the compiler copes with passing no objects directly.
27962
compiler_needs_object=$lt_compiler_needs_object
27963
 
27964
# Create an old-style archive from a shared archive.
27965
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27966
 
27967
# Create a temporary old-style archive to link instead of a shared archive.
27968
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27969
 
27970
# Commands used to build a shared archive.
27971
archive_cmds=$lt_archive_cmds
27972
archive_expsym_cmds=$lt_archive_expsym_cmds
27973
 
27974
# Commands used to build a loadable module if different from building
27975
# a shared archive.
27976
module_cmds=$lt_module_cmds
27977
module_expsym_cmds=$lt_module_expsym_cmds
27978
 
27979
# Whether we are building with GNU ld or not.
27980
with_gnu_ld=$lt_with_gnu_ld
27981
 
27982
# Flag that allows shared libraries with undefined symbols to be built.
27983
allow_undefined_flag=$lt_allow_undefined_flag
27984
 
27985
# Flag that enforces no undefined symbols.
27986
no_undefined_flag=$lt_no_undefined_flag
27987
 
27988
# Flag to hardcode \$libdir into a binary during linking.
27989
# This must work even if \$libdir does not exist
27990
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27991
 
27992
# If ld is used when linking, flag to hardcode \$libdir into a binary
27993
# during linking.  This must work even if \$libdir does not exist.
27994
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27995
 
27996
# Whether we need a single "-rpath" flag with a separated argument.
27997
hardcode_libdir_separator=$lt_hardcode_libdir_separator
27998
 
27999
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28000
# DIR into the resulting binary.
28001
hardcode_direct=$hardcode_direct
28002
 
28003
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28004
# DIR into the resulting binary and the resulting library dependency is
28005
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28006
# library is relocated.
28007
hardcode_direct_absolute=$hardcode_direct_absolute
28008
 
28009
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28010
# into the resulting binary.
28011
hardcode_minus_L=$hardcode_minus_L
28012
 
28013
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28014
# into the resulting binary.
28015
hardcode_shlibpath_var=$hardcode_shlibpath_var
28016
 
28017
# Set to "yes" if building a shared library automatically hardcodes DIR
28018
# into the library and all subsequent libraries and executables linked
28019
# against it.
28020
hardcode_automatic=$hardcode_automatic
28021
 
28022
# Set to yes if linker adds runtime paths of dependent libraries
28023
# to runtime path list.
28024
inherit_rpath=$inherit_rpath
28025
 
28026
# Whether libtool must link a program against all its dependency libraries.
28027
link_all_deplibs=$link_all_deplibs
28028
 
28029
# Fix the shell variable \$srcfile for the compiler.
28030
fix_srcfile_path=$lt_fix_srcfile_path
28031
 
28032
# Set to "yes" if exported symbols are required.
28033
always_export_symbols=$always_export_symbols
28034
 
28035
# The commands to list exported symbols.
28036
export_symbols_cmds=$lt_export_symbols_cmds
28037
 
28038
# Symbols that should not be listed in the preloaded symbols.
28039
exclude_expsyms=$lt_exclude_expsyms
28040
 
28041
# Symbols that must always be exported.
28042
include_expsyms=$lt_include_expsyms
28043
 
28044
# Commands necessary for linking programs (against libraries) with templates.
28045
prelink_cmds=$lt_prelink_cmds
28046
 
28047
# Specify filename containing input files.
28048
file_list_spec=$lt_file_list_spec
28049
 
28050
# How to hardcode a shared library path into an executable.
28051
hardcode_action=$hardcode_action
28052
 
28053
# The directories searched by this compiler when creating a shared library.
28054
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28055
 
28056
# Dependencies to place before and after the objects being linked to
28057
# create a shared library.
28058
predep_objects=$lt_predep_objects
28059
postdep_objects=$lt_postdep_objects
28060
predeps=$lt_predeps
28061
postdeps=$lt_postdeps
28062
 
28063
# The library search path used internally by the compiler when linking
28064
# a shared library.
28065
compiler_lib_search_path=$lt_compiler_lib_search_path
28066
 
28067
# ### END LIBTOOL CONFIG
28068
 
28069
_LT_EOF
28070
 
28071
  case $host_os in
28072
  aix3*)
28073
    cat <<\_LT_EOF >> "$cfgfile"
28074
# AIX sometimes has problems with the GCC collect2 program.  For some
28075
# reason, if we set the COLLECT_NAMES environment variable, the problems
28076
# vanish in a puff of smoke.
28077
if test "X${COLLECT_NAMES+set}" != Xset; then
28078
  COLLECT_NAMES=
28079
  export COLLECT_NAMES
28080
fi
28081
_LT_EOF
28082
    ;;
28083
  esac
28084
 
28085
 
28086
ltmain="$ac_aux_dir/ltmain.sh"
28087
 
28088
 
28089
  # We use sed instead of cat because bash on DJGPP gets confused if
28090
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
28091
  # text mode, it properly converts lines to CR/LF.  This bash problem
28092
  # is reportedly fixed, but why not run on old versions too?
28093
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28094
    || (rm -f "$cfgfile"; exit 1)
28095
 
28096
  case $xsi_shell in
28097
  yes)
28098
    cat << \_LT_EOF >> "$cfgfile"
28099
 
28100
# func_dirname file append nondir_replacement
28101
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
28102
# otherwise set result to NONDIR_REPLACEMENT.
28103
func_dirname ()
28104
{
28105
  case ${1} in
28106
    */*) func_dirname_result="${1%/*}${2}" ;;
28107
    *  ) func_dirname_result="${3}" ;;
28108
  esac
28109
}
28110
 
28111
# func_basename file
28112
func_basename ()
28113
{
28114
  func_basename_result="${1##*/}"
28115
}
28116
 
28117
# func_dirname_and_basename file append nondir_replacement
28118
# perform func_basename and func_dirname in a single function
28119
# call:
28120
#   dirname:  Compute the dirname of FILE.  If nonempty,
28121
#             add APPEND to the result, otherwise set result
28122
#             to NONDIR_REPLACEMENT.
28123
#             value returned in "$func_dirname_result"
28124
#   basename: Compute filename of FILE.
28125
#             value retuned in "$func_basename_result"
28126
# Implementation must be kept synchronized with func_dirname
28127
# and func_basename. For efficiency, we do not delegate to
28128
# those functions but instead duplicate the functionality here.
28129
func_dirname_and_basename ()
28130
{
28131
  case ${1} in
28132
    */*) func_dirname_result="${1%/*}${2}" ;;
28133
    *  ) func_dirname_result="${3}" ;;
28134
  esac
28135
  func_basename_result="${1##*/}"
28136
}
28137
 
28138
# func_stripname prefix suffix name
28139
# strip PREFIX and SUFFIX off of NAME.
28140
# PREFIX and SUFFIX must not contain globbing or regex special
28141
# characters, hashes, percent signs, but SUFFIX may contain a leading
28142
# dot (in which case that matches only a dot).
28143
func_stripname ()
28144
{
28145
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28146
  # positional parameters, so assign one to ordinary parameter first.
28147
  func_stripname_result=${3}
28148
  func_stripname_result=${func_stripname_result#"${1}"}
28149
  func_stripname_result=${func_stripname_result%"${2}"}
28150
}
28151
 
28152
# func_opt_split
28153
func_opt_split ()
28154
{
28155
  func_opt_split_opt=${1%%=*}
28156
  func_opt_split_arg=${1#*=}
28157
}
28158
 
28159
# func_lo2o object
28160
func_lo2o ()
28161
{
28162
  case ${1} in
28163
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
28164
    *)    func_lo2o_result=${1} ;;
28165
  esac
28166
}
28167
 
28168
# func_xform libobj-or-source
28169
func_xform ()
28170
{
28171
  func_xform_result=${1%.*}.lo
28172
}
28173
 
28174
# func_arith arithmetic-term...
28175
func_arith ()
28176
{
28177
  func_arith_result=$(( $* ))
28178
}
28179
 
28180
# func_len string
28181
# STRING may not start with a hyphen.
28182
func_len ()
28183
{
28184
  func_len_result=${#1}
28185
}
28186
 
28187
_LT_EOF
28188
    ;;
28189
  *) # Bourne compatible functions.
28190
    cat << \_LT_EOF >> "$cfgfile"
28191
 
28192
# func_dirname file append nondir_replacement
28193
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
28194
# otherwise set result to NONDIR_REPLACEMENT.
28195
func_dirname ()
28196
{
28197
  # Extract subdirectory from the argument.
28198
  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
28199
  if test "X$func_dirname_result" = "X${1}"; then
28200
    func_dirname_result="${3}"
28201
  else
28202
    func_dirname_result="$func_dirname_result${2}"
28203
  fi
28204
}
28205
 
28206
# func_basename file
28207
func_basename ()
28208
{
28209
  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
28210
}
28211
 
28212
 
28213
# func_stripname prefix suffix name
28214
# strip PREFIX and SUFFIX off of NAME.
28215
# PREFIX and SUFFIX must not contain globbing or regex special
28216
# characters, hashes, percent signs, but SUFFIX may contain a leading
28217
# dot (in which case that matches only a dot).
28218
# func_strip_suffix prefix name
28219
func_stripname ()
28220
{
28221
  case ${2} in
28222
    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28223
    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28224
  esac
28225
}
28226
 
28227
# sed scripts:
28228
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
28229
my_sed_long_arg='1s/^-[^=]*=//'
28230
 
28231
# func_opt_split
28232
func_opt_split ()
28233
{
28234
  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28235
  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
28236
}
28237
 
28238
# func_lo2o object
28239
func_lo2o ()
28240
{
28241
  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
28242
}
28243
 
28244
# func_xform libobj-or-source
28245
func_xform ()
28246
{
28247
  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
28248
}
28249
 
28250
# func_arith arithmetic-term...
28251
func_arith ()
28252
{
28253
  func_arith_result=`expr "$@"`
28254
}
28255
 
28256
# func_len string
28257
# STRING may not start with a hyphen.
28258
func_len ()
28259
{
28260
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
28261
}
28262
 
28263
_LT_EOF
28264
esac
28265
 
28266
case $lt_shell_append in
28267
  yes)
28268
    cat << \_LT_EOF >> "$cfgfile"
28269
 
28270
# func_append var value
28271
# Append VALUE to the end of shell variable VAR.
28272
func_append ()
28273
{
28274
  eval "$1+=\$2"
28275
}
28276
_LT_EOF
28277
    ;;
28278
  *)
28279
    cat << \_LT_EOF >> "$cfgfile"
28280
 
28281
# func_append var value
28282
# Append VALUE to the end of shell variable VAR.
28283
func_append ()
28284
{
28285
  eval "$1=\$$1\$2"
28286
}
28287
 
28288
_LT_EOF
28289
    ;;
28290
  esac
28291
 
28292
 
28293
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
28294
    || (rm -f "$cfgfile"; exit 1)
28295
 
28296
  mv -f "$cfgfile" "$ofile" ||
28297
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28298
  chmod +x "$ofile"
28299
 
28300
 
28301
    cat <<_LT_EOF >> "$ofile"
28302
 
28303
# ### BEGIN LIBTOOL TAG CONFIG: FC
28304
 
28305
# The linker used to build libraries.
28306
LD=$lt_LD_FC
28307
 
28308
# How to create reloadable object files.
28309
reload_flag=$lt_reload_flag_FC
28310
reload_cmds=$lt_reload_cmds_FC
28311
 
28312
# Commands used to build an old-style archive.
28313
old_archive_cmds=$lt_old_archive_cmds_FC
28314
 
28315
# A language specific compiler.
28316
CC=$lt_compiler_FC
28317
 
28318
# Is the compiler the GNU compiler?
28319
with_gcc=$GCC_FC
28320
 
28321
# Compiler flag to turn off builtin functions.
28322
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
28323
 
28324
# How to pass a linker flag through the compiler.
28325
wl=$lt_lt_prog_compiler_wl_FC
28326
 
28327
# Additional compiler flags for building library objects.
28328
pic_flag=$lt_lt_prog_compiler_pic_FC
28329
 
28330
# Compiler flag to prevent dynamic linking.
28331
link_static_flag=$lt_lt_prog_compiler_static_FC
28332
 
28333
# Does compiler simultaneously support -c and -o options?
28334
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
28335
 
28336
# Whether or not to add -lc for building shared libraries.
28337
build_libtool_need_lc=$archive_cmds_need_lc_FC
28338
 
28339
# Whether or not to disallow shared libs when runtime libs are static.
28340
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
28341
 
28342
# Compiler flag to allow reflexive dlopens.
28343
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
28344
 
28345
# Compiler flag to generate shared objects directly from archives.
28346
whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
28347
 
28348
# Whether the compiler copes with passing no objects directly.
28349
compiler_needs_object=$lt_compiler_needs_object_FC
28350
 
28351
# Create an old-style archive from a shared archive.
28352
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
28353
 
28354
# Create a temporary old-style archive to link instead of a shared archive.
28355
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
28356
 
28357
# Commands used to build a shared archive.
28358
archive_cmds=$lt_archive_cmds_FC
28359
archive_expsym_cmds=$lt_archive_expsym_cmds_FC
28360
 
28361
# Commands used to build a loadable module if different from building
28362
# a shared archive.
28363
module_cmds=$lt_module_cmds_FC
28364
module_expsym_cmds=$lt_module_expsym_cmds_FC
28365
 
28366
# Whether we are building with GNU ld or not.
28367
with_gnu_ld=$lt_with_gnu_ld_FC
28368
 
28369
# Flag that allows shared libraries with undefined symbols to be built.
28370
allow_undefined_flag=$lt_allow_undefined_flag_FC
28371
 
28372
# Flag that enforces no undefined symbols.
28373
no_undefined_flag=$lt_no_undefined_flag_FC
28374
 
28375
# Flag to hardcode \$libdir into a binary during linking.
28376
# This must work even if \$libdir does not exist
28377
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
28378
 
28379
# If ld is used when linking, flag to hardcode \$libdir into a binary
28380
# during linking.  This must work even if \$libdir does not exist.
28381
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
28382
 
28383
# Whether we need a single "-rpath" flag with a separated argument.
28384
hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
28385
 
28386
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28387
# DIR into the resulting binary.
28388
hardcode_direct=$hardcode_direct_FC
28389
 
28390
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28391
# DIR into the resulting binary and the resulting library dependency is
28392
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28393
# library is relocated.
28394
hardcode_direct_absolute=$hardcode_direct_absolute_FC
28395
 
28396
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28397
# into the resulting binary.
28398
hardcode_minus_L=$hardcode_minus_L_FC
28399
 
28400
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28401
# into the resulting binary.
28402
hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
28403
 
28404
# Set to "yes" if building a shared library automatically hardcodes DIR
28405
# into the library and all subsequent libraries and executables linked
28406
# against it.
28407
hardcode_automatic=$hardcode_automatic_FC
28408
 
28409
# Set to yes if linker adds runtime paths of dependent libraries
28410
# to runtime path list.
28411
inherit_rpath=$inherit_rpath_FC
28412
 
28413
# Whether libtool must link a program against all its dependency libraries.
28414
link_all_deplibs=$link_all_deplibs_FC
28415
 
28416
# Fix the shell variable \$srcfile for the compiler.
28417
fix_srcfile_path=$lt_fix_srcfile_path_FC
28418
 
28419
# Set to "yes" if exported symbols are required.
28420
always_export_symbols=$always_export_symbols_FC
28421
 
28422
# The commands to list exported symbols.
28423
export_symbols_cmds=$lt_export_symbols_cmds_FC
28424
 
28425
# Symbols that should not be listed in the preloaded symbols.
28426
exclude_expsyms=$lt_exclude_expsyms_FC
28427
 
28428
# Symbols that must always be exported.
28429
include_expsyms=$lt_include_expsyms_FC
28430
 
28431
# Commands necessary for linking programs (against libraries) with templates.
28432
prelink_cmds=$lt_prelink_cmds_FC
28433
 
28434
# Specify filename containing input files.
28435
file_list_spec=$lt_file_list_spec_FC
28436
 
28437
# How to hardcode a shared library path into an executable.
28438
hardcode_action=$hardcode_action_FC
28439
 
28440
# The directories searched by this compiler when creating a shared library.
28441
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
28442
 
28443
# Dependencies to place before and after the objects being linked to
28444
# create a shared library.
28445
predep_objects=$lt_predep_objects_FC
28446
postdep_objects=$lt_postdep_objects_FC
28447
predeps=$lt_predeps_FC
28448
postdeps=$lt_postdeps_FC
28449
 
28450
# The library search path used internally by the compiler when linking
28451
# a shared library.
28452
compiler_lib_search_path=$lt_compiler_lib_search_path_FC
28453
 
28454
# ### END LIBTOOL TAG CONFIG: FC
28455
_LT_EOF
28456
 
28457
 ;;
28458
    "gstdint.h":C)
28459
if test "$GCC" = yes; then
28460
  echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
28461
else
28462
  echo "/* generated for $CC */" > tmp-stdint.h
28463
fi
28464
 
28465
sed 's/^ *//' >> tmp-stdint.h <
28466
 
28467
  #ifndef GCC_GENERATED_STDINT_H
28468
  #define GCC_GENERATED_STDINT_H 1
28469
 
28470
  #include 
28471
EOF
28472
 
28473
if test "$acx_cv_header_stdint" != stdint.h; then
28474
  echo "#include " >> tmp-stdint.h
28475
fi
28476
if test "$acx_cv_header_stdint" != stddef.h; then
28477
  echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
28478
fi
28479
 
28480
sed 's/^ *//' >> tmp-stdint.h <
28481
  /* glibc uses these symbols as guards to prevent redefinitions.  */
28482
  #ifdef __int8_t_defined
28483
  #define _INT8_T
28484
  #define _INT16_T
28485
  #define _INT32_T
28486
  #endif
28487
  #ifdef __uint32_t_defined
28488
  #define _UINT32_T
28489
  #endif
28490
 
28491
EOF
28492
 
28493
# ----------------- done header, emit basic int types -------------
28494
if test "$acx_cv_header_stdint" = stddef.h; then
28495
  sed 's/^ *//' >> tmp-stdint.h <
28496
 
28497
    #ifndef _UINT8_T
28498
    #define _UINT8_T
28499
    #ifndef __uint8_t_defined
28500
    #define __uint8_t_defined
28501
    #ifndef uint8_t
28502
    typedef unsigned $acx_cv_type_int8_t uint8_t;
28503
    #endif
28504
    #endif
28505
    #endif
28506
 
28507
    #ifndef _UINT16_T
28508
    #define _UINT16_T
28509
    #ifndef __uint16_t_defined
28510
    #define __uint16_t_defined
28511
    #ifndef uint16_t
28512
    typedef unsigned $acx_cv_type_int16_t uint16_t;
28513
    #endif
28514
    #endif
28515
    #endif
28516
 
28517
    #ifndef _UINT32_T
28518
    #define _UINT32_T
28519
    #ifndef __uint32_t_defined
28520
    #define __uint32_t_defined
28521
    #ifndef uint32_t
28522
    typedef unsigned $acx_cv_type_int32_t uint32_t;
28523
    #endif
28524
    #endif
28525
    #endif
28526
 
28527
    #ifndef _INT8_T
28528
    #define _INT8_T
28529
    #ifndef __int8_t_defined
28530
    #define __int8_t_defined
28531
    #ifndef int8_t
28532
    typedef $acx_cv_type_int8_t int8_t;
28533
    #endif
28534
    #endif
28535
    #endif
28536
 
28537
    #ifndef _INT16_T
28538
    #define _INT16_T
28539
    #ifndef __int16_t_defined
28540
    #define __int16_t_defined
28541
    #ifndef int16_t
28542
    typedef $acx_cv_type_int16_t int16_t;
28543
    #endif
28544
    #endif
28545
    #endif
28546
 
28547
    #ifndef _INT32_T
28548
    #define _INT32_T
28549
    #ifndef __int32_t_defined
28550
    #define __int32_t_defined
28551
    #ifndef int32_t
28552
    typedef $acx_cv_type_int32_t int32_t;
28553
    #endif
28554
    #endif
28555
    #endif
28556
EOF
28557
elif test "$ac_cv_type_u_int32_t" = yes; then
28558
  sed 's/^ *//' >> tmp-stdint.h <
28559
 
28560
    /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
28561
    #ifndef _INT8_T
28562
    #define _INT8_T
28563
    #endif
28564
    #ifndef _INT16_T
28565
    #define _INT16_T
28566
    #endif
28567
    #ifndef _INT32_T
28568
    #define _INT32_T
28569
    #endif
28570
 
28571
    #ifndef _UINT8_T
28572
    #define _UINT8_T
28573
    #ifndef __uint8_t_defined
28574
    #define __uint8_t_defined
28575
    #ifndef uint8_t
28576
    typedef u_int8_t uint8_t;
28577
    #endif
28578
    #endif
28579
    #endif
28580
 
28581
    #ifndef _UINT16_T
28582
    #define _UINT16_T
28583
    #ifndef __uint16_t_defined
28584
    #define __uint16_t_defined
28585
    #ifndef uint16_t
28586
    typedef u_int16_t uint16_t;
28587
    #endif
28588
    #endif
28589
    #endif
28590
 
28591
    #ifndef _UINT32_T
28592
    #define _UINT32_T
28593
    #ifndef __uint32_t_defined
28594
    #define __uint32_t_defined
28595
    #ifndef uint32_t
28596
    typedef u_int32_t uint32_t;
28597
    #endif
28598
    #endif
28599
    #endif
28600
EOF
28601
else
28602
  sed 's/^ *//' >> tmp-stdint.h <
28603
 
28604
    /* Some systems have guard macros to prevent redefinitions, define them.  */
28605
    #ifndef _INT8_T
28606
    #define _INT8_T
28607
    #endif
28608
    #ifndef _INT16_T
28609
    #define _INT16_T
28610
    #endif
28611
    #ifndef _INT32_T
28612
    #define _INT32_T
28613
    #endif
28614
    #ifndef _UINT8_T
28615
    #define _UINT8_T
28616
    #endif
28617
    #ifndef _UINT16_T
28618
    #define _UINT16_T
28619
    #endif
28620
    #ifndef _UINT32_T
28621
    #define _UINT32_T
28622
    #endif
28623
EOF
28624
fi
28625
 
28626
# ------------- done basic int types, emit int64_t types ------------
28627
if test "$ac_cv_type_uint64_t" = yes; then
28628
  sed 's/^ *//' >> tmp-stdint.h <
28629
 
28630
    /* system headers have good uint64_t and int64_t */
28631
    #ifndef _INT64_T
28632
    #define _INT64_T
28633
    #endif
28634
    #ifndef _UINT64_T
28635
    #define _UINT64_T
28636
    #endif
28637
EOF
28638
elif test "$ac_cv_type_u_int64_t" = yes; then
28639
  sed 's/^ *//' >> tmp-stdint.h <
28640
 
28641
    /* system headers have an u_int64_t (and int64_t) */
28642
    #ifndef _INT64_T
28643
    #define _INT64_T
28644
    #endif
28645
    #ifndef _UINT64_T
28646
    #define _UINT64_T
28647
    #ifndef __uint64_t_defined
28648
    #define __uint64_t_defined
28649
    #ifndef uint64_t
28650
    typedef u_int64_t uint64_t;
28651
    #endif
28652
    #endif
28653
    #endif
28654
EOF
28655
elif test -n "$acx_cv_type_int64_t"; then
28656
  sed 's/^ *//' >> tmp-stdint.h <
28657
 
28658
    /* architecture has a 64-bit type, $acx_cv_type_int64_t */
28659
    #ifndef _INT64_T
28660
    #define _INT64_T
28661
    #ifndef int64_t
28662
    typedef $acx_cv_type_int64_t int64_t;
28663
    #endif
28664
    #endif
28665
    #ifndef _UINT64_T
28666
    #define _UINT64_T
28667
    #ifndef __uint64_t_defined
28668
    #define __uint64_t_defined
28669
    #ifndef uint64_t
28670
    typedef unsigned $acx_cv_type_int64_t uint64_t;
28671
    #endif
28672
    #endif
28673
    #endif
28674
EOF
28675
else
28676
  sed 's/^ *//' >> tmp-stdint.h <
28677
 
28678
    /* some common heuristics for int64_t, using compiler-specific tests */
28679
    #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
28680
    #ifndef _INT64_T
28681
    #define _INT64_T
28682
    #ifndef __int64_t_defined
28683
    #ifndef int64_t
28684
    typedef long long int64_t;
28685
    #endif
28686
    #endif
28687
    #endif
28688
    #ifndef _UINT64_T
28689
    #define _UINT64_T
28690
    #ifndef uint64_t
28691
    typedef unsigned long long uint64_t;
28692
    #endif
28693
    #endif
28694
 
28695
    #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
28696
    /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
28697
       does not implement __extension__.  But that compiler doesn't define
28698
       __GNUC_MINOR__.  */
28699
    # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
28700
    # define __extension__
28701
    # endif
28702
 
28703
    # ifndef _INT64_T
28704
    # define _INT64_T
28705
    # ifndef int64_t
28706
    __extension__ typedef long long int64_t;
28707
    # endif
28708
    # endif
28709
    # ifndef _UINT64_T
28710
    # define _UINT64_T
28711
    # ifndef uint64_t
28712
    __extension__ typedef unsigned long long uint64_t;
28713
    # endif
28714
    # endif
28715
 
28716
    #elif !defined __STRICT_ANSI__
28717
    # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
28718
 
28719
    #  ifndef _INT64_T
28720
    #  define _INT64_T
28721
    #  ifndef int64_t
28722
    typedef __int64 int64_t;
28723
    #  endif
28724
    #  endif
28725
    #  ifndef _UINT64_T
28726
    #  define _UINT64_T
28727
    #  ifndef uint64_t
28728
    typedef unsigned __int64 uint64_t;
28729
    #  endif
28730
    #  endif
28731
    # endif /* compiler */
28732
 
28733
    #endif /* ANSI version */
28734
EOF
28735
fi
28736
 
28737
# ------------- done int64_t types, emit intptr types ------------
28738
if test "$ac_cv_type_uintptr_t" != yes; then
28739
  sed 's/^ *//' >> tmp-stdint.h <
28740
 
28741
    /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
28742
    #ifndef __uintptr_t_defined
28743
    #ifndef uintptr_t
28744
    typedef u$acx_cv_type_intptr_t uintptr_t;
28745
    #endif
28746
    #endif
28747
    #ifndef __intptr_t_defined
28748
    #ifndef intptr_t
28749
    typedef $acx_cv_type_intptr_t  intptr_t;
28750
    #endif
28751
    #endif
28752
EOF
28753
fi
28754
 
28755
# ------------- done intptr types, emit int_least types ------------
28756
if test "$ac_cv_type_int_least32_t" != yes; then
28757
  sed 's/^ *//' >> tmp-stdint.h <
28758
 
28759
    /* Define int_least types */
28760
    typedef int8_t     int_least8_t;
28761
    typedef int16_t    int_least16_t;
28762
    typedef int32_t    int_least32_t;
28763
    #ifdef _INT64_T
28764
    typedef int64_t    int_least64_t;
28765
    #endif
28766
 
28767
    typedef uint8_t    uint_least8_t;
28768
    typedef uint16_t   uint_least16_t;
28769
    typedef uint32_t   uint_least32_t;
28770
    #ifdef _UINT64_T
28771
    typedef uint64_t   uint_least64_t;
28772
    #endif
28773
EOF
28774
fi
28775
 
28776
# ------------- done intptr types, emit int_fast types ------------
28777
if test "$ac_cv_type_int_fast32_t" != yes; then
28778
      sed 's/^ *//' >> tmp-stdint.h <
28779
 
28780
    /* Define int_fast types.  short is often slow */
28781
    typedef int8_t       int_fast8_t;
28782
    typedef int          int_fast16_t;
28783
    typedef int32_t      int_fast32_t;
28784
    #ifdef _INT64_T
28785
    typedef int64_t      int_fast64_t;
28786
    #endif
28787
 
28788
    typedef uint8_t      uint_fast8_t;
28789
    typedef unsigned int uint_fast16_t;
28790
    typedef uint32_t     uint_fast32_t;
28791
    #ifdef _UINT64_T
28792
    typedef uint64_t     uint_fast64_t;
28793
    #endif
28794
EOF
28795
fi
28796
 
28797
if test "$ac_cv_type_uintmax_t" != yes; then
28798
  sed 's/^ *//' >> tmp-stdint.h <
28799
 
28800
    /* Define intmax based on what we found */
28801
    #ifndef intmax_t
28802
    #ifdef _INT64_T
28803
    typedef int64_t       intmax_t;
28804
    #else
28805
    typedef long          intmax_t;
28806
    #endif
28807
    #endif
28808
    #ifndef uintmax_t
28809
    #ifdef _UINT64_T
28810
    typedef uint64_t      uintmax_t;
28811
    #else
28812
    typedef unsigned long uintmax_t;
28813
    #endif
28814
    #endif
28815
EOF
28816
fi
28817
 
28818
sed 's/^ *//' >> tmp-stdint.h <
28819
 
28820
  #endif /* GCC_GENERATED_STDINT_H */
28821
EOF
28822
 
28823
if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
28824
  rm -f tmp-stdint.h
28825
else
28826
  mv -f tmp-stdint.h gstdint.h
28827
fi
28828
 
28829
 ;;
28830
 
28831
  esac
28832
done # for ac_tag
28833
 
28834
 
28835
as_fn_exit 0
28836
_ACEOF
28837
ac_clean_files=$ac_clean_files_save
28838
 
28839
test $ac_write_fail = 0 ||
28840
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
28841
 
28842
 
28843
# configure is writing to config.log, and then calls config.status.
28844
# config.status does its own redirection, appending to config.log.
28845
# Unfortunately, on DOS this fails, as config.log is still kept open
28846
# by configure, so config.status won't be able to write to it; its
28847
# output is simply discarded.  So we exec the FD to /dev/null,
28848
# effectively closing config.log, so it can be properly (re)opened and
28849
# appended to by config.status.  When coming back to configure, we
28850
# need to make the FD available again.
28851
if test "$no_create" != yes; then
28852
  ac_cs_success=:
28853
  ac_config_status_args=
28854
  test "$silent" = yes &&
28855
    ac_config_status_args="$ac_config_status_args --quiet"
28856
  exec 5>/dev/null
28857
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28858
  exec 5>>config.log
28859
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28860
  # would make configure fail if this is the last instruction.
28861
  $ac_cs_success || as_fn_exit $?
28862
fi
28863
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28864
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28865
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28866
fi
28867
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.