~ubuntu-branches/debian/sid/arpack/sid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-10-12 09:33:05 UTC
  • mfrom: (1.3.5)
  • Revision ID: package-import@ubuntu.com-20151012093305-w41sv3g9nzbaodfz
Tags: 3.3.0-1
* New upstream release
* Update of the homepage (moved to github)
* libparpack links against libarpack (instead of static build)
* Update the symbol files. No need to change of SONAME:
  - About the parpack change: https://github.com/opencollab/arpack-ng/pull/21
  - Transfer the call to the library:
    https://github.com/opencollab/arpack-ng/pull/19
* Standards-Version updated to version 3.9.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.69 for arpack-ng 3.1.5.
4
 
#
5
 
# Report bugs to <http://forge.scilab.org/index.php/p/arpack-ng/issues/>.
6
 
#
7
 
#
8
 
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9
 
#
10
 
#
11
 
# This configure script is free software; the Free Software Foundation
12
 
# gives unlimited permission to copy, distribute and modify it.
13
 
## -------------------- ##
14
 
## M4sh Initialization. ##
15
 
## -------------------- ##
16
 
 
17
 
# Be more Bourne compatible
18
 
DUALCASE=1; export DUALCASE # for MKS sh
19
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
 
  emulate sh
21
 
  NULLCMD=:
22
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
 
  # is contrary to our usage.  Disable this feature.
24
 
  alias -g '${1+"$@"}'='"$@"'
25
 
  setopt NO_GLOB_SUBST
26
 
else
27
 
  case `(set -o) 2>/dev/null` in #(
28
 
  *posix*) :
29
 
    set -o posix ;; #(
30
 
  *) :
31
 
     ;;
32
 
esac
33
 
fi
34
 
 
35
 
 
36
 
as_nl='
37
 
'
38
 
export as_nl
39
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
 
# but without wasting forks for bash or zsh.
45
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47
 
  as_echo='print -r --'
48
 
  as_echo_n='print -rn --'
49
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
 
  as_echo='printf %s\n'
51
 
  as_echo_n='printf %s'
52
 
else
53
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
 
    as_echo_n='/usr/ucb/echo -n'
56
 
  else
57
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
 
    as_echo_n_body='eval
59
 
      arg=$1;
60
 
      case $arg in #(
61
 
      *"$as_nl"*)
62
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
 
      esac;
65
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
 
    '
67
 
    export as_echo_n_body
68
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
69
 
  fi
70
 
  export as_echo_body
71
 
  as_echo='sh -c $as_echo_body as_echo'
72
 
fi
73
 
 
74
 
# The user is always right.
75
 
if test "${PATH_SEPARATOR+set}" != set; then
76
 
  PATH_SEPARATOR=:
77
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79
 
      PATH_SEPARATOR=';'
80
 
  }
81
 
fi
82
 
 
83
 
 
84
 
# IFS
85
 
# We need space, tab and new line, in precisely that order.  Quoting is
86
 
# there to prevent editors from complaining about space-tab.
87
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
 
# splitting by setting IFS to empty value.)
89
 
IFS=" ""        $as_nl"
90
 
 
91
 
# Find who we are.  Look in the path if we contain no directory separator.
92
 
as_myself=
93
 
case $0 in #((
94
 
  *[\\/]* ) as_myself=$0 ;;
95
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96
 
for as_dir in $PATH
97
 
do
98
 
  IFS=$as_save_IFS
99
 
  test -z "$as_dir" && as_dir=.
100
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101
 
  done
102
 
IFS=$as_save_IFS
103
 
 
104
 
     ;;
105
 
esac
106
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
107
 
# in which case we are not to be found in the path.
108
 
if test "x$as_myself" = x; then
109
 
  as_myself=$0
110
 
fi
111
 
if test ! -f "$as_myself"; then
112
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113
 
  exit 1
114
 
fi
115
 
 
116
 
# Unset variables that we do not need and which cause bugs (e.g. in
117
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118
 
# suppresses any "Segmentation fault" message there.  '((' could
119
 
# trigger a bug in pdksh 5.2.14.
120
 
for as_var in BASH_ENV ENV MAIL MAILPATH
121
 
do eval test x\${$as_var+set} = xset \
122
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123
 
done
124
 
PS1='$ '
125
 
PS2='> '
126
 
PS4='+ '
127
 
 
128
 
# NLS nuisances.
129
 
LC_ALL=C
130
 
export LC_ALL
131
 
LANGUAGE=C
132
 
export LANGUAGE
133
 
 
134
 
# CDPATH.
135
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
 
 
137
 
# Use a proper internal environment variable to ensure we don't fall
138
 
  # into an infinite loop, continuously re-executing ourselves.
139
 
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140
 
    _as_can_reexec=no; export _as_can_reexec;
141
 
    # We cannot yet assume a decent shell, so we have to provide a
142
 
# neutralization value for shells without unset; and this also
143
 
# works around shells that cannot unset nonexistent variables.
144
 
# Preserve -v and -x to the replacement shell.
145
 
BASH_ENV=/dev/null
146
 
ENV=/dev/null
147
 
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148
 
case $- in # ((((
149
 
  *v*x* | *x*v* ) as_opts=-vx ;;
150
 
  *v* ) as_opts=-v ;;
151
 
  *x* ) as_opts=-x ;;
152
 
  * ) as_opts= ;;
153
 
esac
154
 
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155
 
# Admittedly, this is quite paranoid, since all the known shells bail
156
 
# out after a failed `exec'.
157
 
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158
 
as_fn_exit 255
159
 
  fi
160
 
  # We don't want this to propagate to other subprocesses.
161
 
          { _as_can_reexec=; unset _as_can_reexec;}
162
 
if test "x$CONFIG_SHELL" = x; then
163
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164
 
  emulate sh
165
 
  NULLCMD=:
166
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167
 
  # is contrary to our usage.  Disable this feature.
168
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169
 
  setopt NO_GLOB_SUBST
170
 
else
171
 
  case \`(set -o) 2>/dev/null\` in #(
172
 
  *posix*) :
173
 
    set -o posix ;; #(
174
 
  *) :
175
 
     ;;
176
 
esac
177
 
fi
178
 
"
179
 
  as_required="as_fn_return () { (exit \$1); }
180
 
as_fn_success () { as_fn_return 0; }
181
 
as_fn_failure () { as_fn_return 1; }
182
 
as_fn_ret_success () { return 0; }
183
 
as_fn_ret_failure () { return 1; }
184
 
 
185
 
exitcode=0
186
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
 
 
192
 
else
193
 
  exitcode=1; echo positional parameters were not saved.
194
 
fi
195
 
test x\$exitcode = x0 || exit 1
196
 
test -x / || exit 1"
197
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
 
 
202
 
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203
 
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206
 
    PATH=/empty FPATH=/empty; export PATH FPATH
207
 
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208
 
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209
 
test \$(( 1 + 1 )) = 2 || exit 1"
210
 
  if (eval "$as_required") 2>/dev/null; then :
211
 
  as_have_required=yes
212
 
else
213
 
  as_have_required=no
214
 
fi
215
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
 
 
217
 
else
218
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219
 
as_found=false
220
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221
 
do
222
 
  IFS=$as_save_IFS
223
 
  test -z "$as_dir" && as_dir=.
224
 
  as_found=:
225
 
  case $as_dir in #(
226
 
         /*)
227
 
           for as_base in sh bash ksh sh5; do
228
 
             # Try only shells that exist, to save several forks.
229
 
             as_shell=$as_dir/$as_base
230
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232
 
  CONFIG_SHELL=$as_shell as_have_required=yes
233
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234
 
  break 2
235
 
fi
236
 
fi
237
 
           done;;
238
 
       esac
239
 
  as_found=false
240
 
done
241
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243
 
  CONFIG_SHELL=$SHELL as_have_required=yes
244
 
fi; }
245
 
IFS=$as_save_IFS
246
 
 
247
 
 
248
 
      if test "x$CONFIG_SHELL" != x; then :
249
 
  export CONFIG_SHELL
250
 
             # We cannot yet assume a decent shell, so we have to provide a
251
 
# neutralization value for shells without unset; and this also
252
 
# works around shells that cannot unset nonexistent variables.
253
 
# Preserve -v and -x to the replacement shell.
254
 
BASH_ENV=/dev/null
255
 
ENV=/dev/null
256
 
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257
 
case $- in # ((((
258
 
  *v*x* | *x*v* ) as_opts=-vx ;;
259
 
  *v* ) as_opts=-v ;;
260
 
  *x* ) as_opts=-x ;;
261
 
  * ) as_opts= ;;
262
 
esac
263
 
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264
 
# Admittedly, this is quite paranoid, since all the known shells bail
265
 
# out after a failed `exec'.
266
 
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267
 
exit 255
268
 
fi
269
 
 
270
 
    if test x$as_have_required = xno; then :
271
 
  $as_echo "$0: This script requires a shell more modern than all"
272
 
  $as_echo "$0: the shells that I found on your system."
273
 
  if test x${ZSH_VERSION+set} = xset ; then
274
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276
 
  else
277
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
278
 
$0: http://forge.scilab.org/index.php/p/arpack-ng/issues/
279
 
$0: about your system, including any error possibly output
280
 
$0: before this message. Then install a modern shell, or
281
 
$0: manually run the script under such a shell if you do
282
 
$0: have one."
283
 
  fi
284
 
  exit 1
285
 
fi
286
 
fi
287
 
fi
288
 
SHELL=${CONFIG_SHELL-/bin/sh}
289
 
export SHELL
290
 
# Unset more variables known to interfere with behavior of common tools.
291
 
CLICOLOR_FORCE= GREP_OPTIONS=
292
 
unset CLICOLOR_FORCE GREP_OPTIONS
293
 
 
294
 
## --------------------- ##
295
 
## M4sh Shell Functions. ##
296
 
## --------------------- ##
297
 
# as_fn_unset VAR
298
 
# ---------------
299
 
# Portably unset VAR.
300
 
as_fn_unset ()
301
 
{
302
 
  { eval $1=; unset $1;}
303
 
}
304
 
as_unset=as_fn_unset
305
 
 
306
 
# as_fn_set_status STATUS
307
 
# -----------------------
308
 
# Set $? to STATUS, without forking.
309
 
as_fn_set_status ()
310
 
{
311
 
  return $1
312
 
} # as_fn_set_status
313
 
 
314
 
# as_fn_exit STATUS
315
 
# -----------------
316
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317
 
as_fn_exit ()
318
 
{
319
 
  set +e
320
 
  as_fn_set_status $1
321
 
  exit $1
322
 
} # as_fn_exit
323
 
 
324
 
# as_fn_mkdir_p
325
 
# -------------
326
 
# Create "$as_dir" as a directory, including parents if necessary.
327
 
as_fn_mkdir_p ()
328
 
{
329
 
 
330
 
  case $as_dir in #(
331
 
  -*) as_dir=./$as_dir;;
332
 
  esac
333
 
  test -d "$as_dir" || eval $as_mkdir_p || {
334
 
    as_dirs=
335
 
    while :; do
336
 
      case $as_dir in #(
337
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338
 
      *) as_qdir=$as_dir;;
339
 
      esac
340
 
      as_dirs="'$as_qdir' $as_dirs"
341
 
      as_dir=`$as_dirname -- "$as_dir" ||
342
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
344
 
         X"$as_dir" : 'X\(//\)$' \| \
345
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346
 
$as_echo X"$as_dir" |
347
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348
 
            s//\1/
349
 
            q
350
 
          }
351
 
          /^X\(\/\/\)[^/].*/{
352
 
            s//\1/
353
 
            q
354
 
          }
355
 
          /^X\(\/\/\)$/{
356
 
            s//\1/
357
 
            q
358
 
          }
359
 
          /^X\(\/\).*/{
360
 
            s//\1/
361
 
            q
362
 
          }
363
 
          s/.*/./; q'`
364
 
      test -d "$as_dir" && break
365
 
    done
366
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
367
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
 
 
369
 
 
370
 
} # as_fn_mkdir_p
371
 
 
372
 
# as_fn_executable_p FILE
373
 
# -----------------------
374
 
# Test if FILE is an executable regular file.
375
 
as_fn_executable_p ()
376
 
{
377
 
  test -f "$1" && test -x "$1"
378
 
} # as_fn_executable_p
379
 
# as_fn_append VAR VALUE
380
 
# ----------------------
381
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
382
 
# advantage of any shell optimizations that allow amortized linear growth over
383
 
# repeated appends, instead of the typical quadratic growth present in naive
384
 
# implementations.
385
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386
 
  eval 'as_fn_append ()
387
 
  {
388
 
    eval $1+=\$2
389
 
  }'
390
 
else
391
 
  as_fn_append ()
392
 
  {
393
 
    eval $1=\$$1\$2
394
 
  }
395
 
fi # as_fn_append
396
 
 
397
 
# as_fn_arith ARG...
398
 
# ------------------
399
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
400
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
401
 
# must be portable across $(()) and expr.
402
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403
 
  eval 'as_fn_arith ()
404
 
  {
405
 
    as_val=$(( $* ))
406
 
  }'
407
 
else
408
 
  as_fn_arith ()
409
 
  {
410
 
    as_val=`expr "$@" || test $? -eq 1`
411
 
  }
412
 
fi # as_fn_arith
413
 
 
414
 
 
415
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
416
 
# ----------------------------------------
417
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419
 
# script with STATUS, using 1 if that was 0.
420
 
as_fn_error ()
421
 
{
422
 
  as_status=$1; test $as_status -eq 0 && as_status=1
423
 
  if test "$4"; then
424
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426
 
  fi
427
 
  $as_echo "$as_me: error: $2" >&2
428
 
  as_fn_exit $as_status
429
 
} # as_fn_error
430
 
 
431
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
432
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
433
 
  as_expr=expr
434
 
else
435
 
  as_expr=false
436
 
fi
437
 
 
438
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439
 
  as_basename=basename
440
 
else
441
 
  as_basename=false
442
 
fi
443
 
 
444
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445
 
  as_dirname=dirname
446
 
else
447
 
  as_dirname=false
448
 
fi
449
 
 
450
 
as_me=`$as_basename -- "$0" ||
451
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452
 
         X"$0" : 'X\(//\)$' \| \
453
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454
 
$as_echo X/"$0" |
455
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
456
 
            s//\1/
457
 
            q
458
 
          }
459
 
          /^X\/\(\/\/\)$/{
460
 
            s//\1/
461
 
            q
462
 
          }
463
 
          /^X\/\(\/\).*/{
464
 
            s//\1/
465
 
            q
466
 
          }
467
 
          s/.*/./; q'`
468
 
 
469
 
# Avoid depending upon Character Ranges.
470
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473
 
as_cr_digits='0123456789'
474
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
475
 
 
476
 
 
477
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
478
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
479
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
482
 
  sed -n '
483
 
    p
484
 
    /[$]LINENO/=
485
 
  ' <$as_myself |
486
 
    sed '
487
 
      s/[$]LINENO.*/&-/
488
 
      t lineno
489
 
      b
490
 
      :lineno
491
 
      N
492
 
      :loop
493
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494
 
      t loop
495
 
      s/-\n.*//
496
 
    ' >$as_me.lineno &&
497
 
  chmod +x "$as_me.lineno" ||
498
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
 
 
500
 
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501
 
  # already done that, so ensure we don't try to do so again and fall
502
 
  # in an infinite loop.  This has already happened in practice.
503
 
  _as_can_reexec=no; export _as_can_reexec
504
 
  # Don't try to exec as it changes $[0], causing all sort of problems
505
 
  # (the dirname of $[0] is not the place where we might find the
506
 
  # original and so on.  Autoconf is especially sensitive to this).
507
 
  . "./$as_me.lineno"
508
 
  # Exit status is that of the last command.
509
 
  exit
510
 
}
511
 
 
512
 
ECHO_C= ECHO_N= ECHO_T=
513
 
case `echo -n x` in #(((((
514
 
-n*)
515
 
  case `echo 'xy\c'` in
516
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
517
 
  xy)  ECHO_C='\c';;
518
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
519
 
       ECHO_T=' ';;
520
 
  esac;;
521
 
*)
522
 
  ECHO_N='-n';;
523
 
esac
524
 
 
525
 
rm -f conf$$ conf$$.exe conf$$.file
526
 
if test -d conf$$.dir; then
527
 
  rm -f conf$$.dir/conf$$.file
528
 
else
529
 
  rm -f conf$$.dir
530
 
  mkdir conf$$.dir 2>/dev/null
531
 
fi
532
 
if (echo >conf$$.file) 2>/dev/null; then
533
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
534
 
    as_ln_s='ln -s'
535
 
    # ... but there are two gotchas:
536
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538
 
    # In both cases, we have to default to `cp -pR'.
539
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540
 
      as_ln_s='cp -pR'
541
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
542
 
    as_ln_s=ln
543
 
  else
544
 
    as_ln_s='cp -pR'
545
 
  fi
546
 
else
547
 
  as_ln_s='cp -pR'
548
 
fi
549
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550
 
rmdir conf$$.dir 2>/dev/null
551
 
 
552
 
if mkdir -p . 2>/dev/null; then
553
 
  as_mkdir_p='mkdir -p "$as_dir"'
554
 
else
555
 
  test -d ./-p && rmdir ./-p
556
 
  as_mkdir_p=false
557
 
fi
558
 
 
559
 
as_test_x='test -x'
560
 
as_executable_p=as_fn_executable_p
561
 
 
562
 
# Sed expression to map a string onto a valid CPP name.
563
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
 
 
565
 
# Sed expression to map a string onto a valid variable name.
566
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
 
 
568
 
SHELL=${CONFIG_SHELL-/bin/sh}
569
 
 
570
 
 
571
 
test -n "$DJDIR" || exec 7<&0 </dev/null
572
 
exec 6>&1
573
 
 
574
 
# Name of the host.
575
 
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576
 
# so uname gets run too.
577
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
 
 
579
 
#
580
 
# Initializations.
581
 
#
582
 
ac_default_prefix=/usr/local
583
 
ac_clean_files=
584
 
ac_config_libobj_dir=.
585
 
LIBOBJS=
586
 
cross_compiling=no
587
 
subdirs=
588
 
MFLAGS=
589
 
MAKEFLAGS=
590
 
 
591
 
# Identity of this package.
592
 
PACKAGE_NAME='arpack-ng'
593
 
PACKAGE_TARNAME='arpack-ng'
594
 
PACKAGE_VERSION='3.1.5'
595
 
PACKAGE_STRING='arpack-ng 3.1.5'
596
 
PACKAGE_BUGREPORT='http://forge.scilab.org/index.php/p/arpack-ng/issues/'
597
 
PACKAGE_URL=''
598
 
 
599
 
# Factoring default headers for most tests.
600
 
ac_includes_default="\
601
 
#include <stdio.h>
602
 
#ifdef HAVE_SYS_TYPES_H
603
 
# include <sys/types.h>
604
 
#endif
605
 
#ifdef HAVE_SYS_STAT_H
606
 
# include <sys/stat.h>
607
 
#endif
608
 
#ifdef STDC_HEADERS
609
 
# include <stdlib.h>
610
 
# include <stddef.h>
611
 
#else
612
 
# ifdef HAVE_STDLIB_H
613
 
#  include <stdlib.h>
614
 
# endif
615
 
#endif
616
 
#ifdef HAVE_STRING_H
617
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618
 
#  include <memory.h>
619
 
# endif
620
 
# include <string.h>
621
 
#endif
622
 
#ifdef HAVE_STRINGS_H
623
 
# include <strings.h>
624
 
#endif
625
 
#ifdef HAVE_INTTYPES_H
626
 
# include <inttypes.h>
627
 
#endif
628
 
#ifdef HAVE_STDINT_H
629
 
# include <stdint.h>
630
 
#endif
631
 
#ifdef HAVE_UNISTD_H
632
 
# include <unistd.h>
633
 
#endif"
634
 
 
635
 
ac_subst_vars='am__EXEEXT_FALSE
636
 
am__EXEEXT_TRUE
637
 
LTLIBOBJS
638
 
LIBOBJS
639
 
MPI_FALSE
640
 
MPI_TRUE
641
 
MPILIBS
642
 
MPIF77
643
 
LAPACK_LIBS
644
 
BLAS_LIBS
645
 
FLIBS
646
 
CPP
647
 
OTOOL64
648
 
OTOOL
649
 
LIPO
650
 
NMEDIT
651
 
DSYMUTIL
652
 
MANIFEST_TOOL
653
 
RANLIB
654
 
ac_ct_AR
655
 
AR
656
 
LN_S
657
 
NM
658
 
ac_ct_DUMPBIN
659
 
DUMPBIN
660
 
LD
661
 
FGREP
662
 
EGREP
663
 
GREP
664
 
SED
665
 
am__fastdepCC_FALSE
666
 
am__fastdepCC_TRUE
667
 
CCDEPMODE
668
 
am__nodep
669
 
AMDEPBACKSLASH
670
 
AMDEP_FALSE
671
 
AMDEP_TRUE
672
 
am__quote
673
 
am__include
674
 
DEPDIR
675
 
ac_ct_CC
676
 
CPPFLAGS
677
 
CFLAGS
678
 
CC
679
 
host_os
680
 
host_vendor
681
 
host_cpu
682
 
host
683
 
build_os
684
 
build_vendor
685
 
build_cpu
686
 
build
687
 
LIBTOOL
688
 
OBJDUMP
689
 
DLLTOOL
690
 
AS
691
 
OBJEXT
692
 
EXEEXT
693
 
ac_ct_F77
694
 
LDFLAGS
695
 
FFLAGS
696
 
F77
697
 
MAINT
698
 
MAINTAINER_MODE_FALSE
699
 
MAINTAINER_MODE_TRUE
700
 
AM_BACKSLASH
701
 
AM_DEFAULT_VERBOSITY
702
 
AM_DEFAULT_V
703
 
AM_V
704
 
am__untar
705
 
am__tar
706
 
AMTAR
707
 
am__leading_dot
708
 
SET_MAKE
709
 
AWK
710
 
mkdir_p
711
 
MKDIR_P
712
 
INSTALL_STRIP_PROGRAM
713
 
STRIP
714
 
install_sh
715
 
MAKEINFO
716
 
AUTOHEADER
717
 
AUTOMAKE
718
 
AUTOCONF
719
 
ACLOCAL
720
 
VERSION
721
 
PACKAGE
722
 
CYGPATH_W
723
 
am__isrc
724
 
INSTALL_DATA
725
 
INSTALL_SCRIPT
726
 
INSTALL_PROGRAM
727
 
target_alias
728
 
host_alias
729
 
build_alias
730
 
LIBS
731
 
ECHO_T
732
 
ECHO_N
733
 
ECHO_C
734
 
DEFS
735
 
mandir
736
 
localedir
737
 
libdir
738
 
psdir
739
 
pdfdir
740
 
dvidir
741
 
htmldir
742
 
infodir
743
 
docdir
744
 
oldincludedir
745
 
includedir
746
 
localstatedir
747
 
sharedstatedir
748
 
sysconfdir
749
 
datadir
750
 
datarootdir
751
 
libexecdir
752
 
sbindir
753
 
bindir
754
 
program_transform_name
755
 
prefix
756
 
exec_prefix
757
 
PACKAGE_URL
758
 
PACKAGE_BUGREPORT
759
 
PACKAGE_STRING
760
 
PACKAGE_VERSION
761
 
PACKAGE_TARNAME
762
 
PACKAGE_NAME
763
 
PATH_SEPARATOR
764
 
SHELL'
765
 
ac_subst_files=''
766
 
ac_user_opts='
767
 
enable_option_checking
768
 
enable_silent_rules
769
 
enable_maintainer_mode
770
 
enable_shared
771
 
enable_static
772
 
with_pic
773
 
enable_fast_install
774
 
enable_dependency_tracking
775
 
with_gnu_ld
776
 
with_sysroot
777
 
enable_libtool_lock
778
 
with_blas
779
 
with_lapack
780
 
enable_mpi
781
 
'
782
 
      ac_precious_vars='build_alias
783
 
host_alias
784
 
target_alias
785
 
F77
786
 
FFLAGS
787
 
LDFLAGS
788
 
LIBS
789
 
CC
790
 
CFLAGS
791
 
CPPFLAGS
792
 
CPP
793
 
MPIF77'
794
 
 
795
 
 
796
 
# Initialize some variables set by options.
797
 
ac_init_help=
798
 
ac_init_version=false
799
 
ac_unrecognized_opts=
800
 
ac_unrecognized_sep=
801
 
# The variables have the same names as the options, with
802
 
# dashes changed to underlines.
803
 
cache_file=/dev/null
804
 
exec_prefix=NONE
805
 
no_create=
806
 
no_recursion=
807
 
prefix=NONE
808
 
program_prefix=NONE
809
 
program_suffix=NONE
810
 
program_transform_name=s,x,x,
811
 
silent=
812
 
site=
813
 
srcdir=
814
 
verbose=
815
 
x_includes=NONE
816
 
x_libraries=NONE
817
 
 
818
 
# Installation directory options.
819
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
820
 
# and all the variables that are supposed to be based on exec_prefix
821
 
# by default will actually change.
822
 
# Use braces instead of parens because sh, perl, etc. also accept them.
823
 
# (The list follows the same order as the GNU Coding Standards.)
824
 
bindir='${exec_prefix}/bin'
825
 
sbindir='${exec_prefix}/sbin'
826
 
libexecdir='${exec_prefix}/libexec'
827
 
datarootdir='${prefix}/share'
828
 
datadir='${datarootdir}'
829
 
sysconfdir='${prefix}/etc'
830
 
sharedstatedir='${prefix}/com'
831
 
localstatedir='${prefix}/var'
832
 
includedir='${prefix}/include'
833
 
oldincludedir='/usr/include'
834
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
835
 
infodir='${datarootdir}/info'
836
 
htmldir='${docdir}'
837
 
dvidir='${docdir}'
838
 
pdfdir='${docdir}'
839
 
psdir='${docdir}'
840
 
libdir='${exec_prefix}/lib'
841
 
localedir='${datarootdir}/locale'
842
 
mandir='${datarootdir}/man'
843
 
 
844
 
ac_prev=
845
 
ac_dashdash=
846
 
for ac_option
847
 
do
848
 
  # If the previous option needs an argument, assign it.
849
 
  if test -n "$ac_prev"; then
850
 
    eval $ac_prev=\$ac_option
851
 
    ac_prev=
852
 
    continue
853
 
  fi
854
 
 
855
 
  case $ac_option in
856
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857
 
  *=)   ac_optarg= ;;
858
 
  *)    ac_optarg=yes ;;
859
 
  esac
860
 
 
861
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
862
 
 
863
 
  case $ac_dashdash$ac_option in
864
 
  --)
865
 
    ac_dashdash=yes ;;
866
 
 
867
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
868
 
    ac_prev=bindir ;;
869
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
870
 
    bindir=$ac_optarg ;;
871
 
 
872
 
  -build | --build | --buil | --bui | --bu)
873
 
    ac_prev=build_alias ;;
874
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
875
 
    build_alias=$ac_optarg ;;
876
 
 
877
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
878
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
879
 
    ac_prev=cache_file ;;
880
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
881
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
882
 
    cache_file=$ac_optarg ;;
883
 
 
884
 
  --config-cache | -C)
885
 
    cache_file=config.cache ;;
886
 
 
887
 
  -datadir | --datadir | --datadi | --datad)
888
 
    ac_prev=datadir ;;
889
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
890
 
    datadir=$ac_optarg ;;
891
 
 
892
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
893
 
  | --dataroo | --dataro | --datar)
894
 
    ac_prev=datarootdir ;;
895
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
896
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
897
 
    datarootdir=$ac_optarg ;;
898
 
 
899
 
  -disable-* | --disable-*)
900
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
901
 
    # Reject names that are not valid shell variable names.
902
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
903
 
      as_fn_error $? "invalid feature name: $ac_useropt"
904
 
    ac_useropt_orig=$ac_useropt
905
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
906
 
    case $ac_user_opts in
907
 
      *"
908
 
"enable_$ac_useropt"
909
 
"*) ;;
910
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
911
 
         ac_unrecognized_sep=', ';;
912
 
    esac
913
 
    eval enable_$ac_useropt=no ;;
914
 
 
915
 
  -docdir | --docdir | --docdi | --doc | --do)
916
 
    ac_prev=docdir ;;
917
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
918
 
    docdir=$ac_optarg ;;
919
 
 
920
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
921
 
    ac_prev=dvidir ;;
922
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
923
 
    dvidir=$ac_optarg ;;
924
 
 
925
 
  -enable-* | --enable-*)
926
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
927
 
    # Reject names that are not valid shell variable names.
928
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
929
 
      as_fn_error $? "invalid feature name: $ac_useropt"
930
 
    ac_useropt_orig=$ac_useropt
931
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
932
 
    case $ac_user_opts in
933
 
      *"
934
 
"enable_$ac_useropt"
935
 
"*) ;;
936
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
937
 
         ac_unrecognized_sep=', ';;
938
 
    esac
939
 
    eval enable_$ac_useropt=\$ac_optarg ;;
940
 
 
941
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
942
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
943
 
  | --exec | --exe | --ex)
944
 
    ac_prev=exec_prefix ;;
945
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
946
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
947
 
  | --exec=* | --exe=* | --ex=*)
948
 
    exec_prefix=$ac_optarg ;;
949
 
 
950
 
  -gas | --gas | --ga | --g)
951
 
    # Obsolete; use --with-gas.
952
 
    with_gas=yes ;;
953
 
 
954
 
  -help | --help | --hel | --he | -h)
955
 
    ac_init_help=long ;;
956
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
957
 
    ac_init_help=recursive ;;
958
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
959
 
    ac_init_help=short ;;
960
 
 
961
 
  -host | --host | --hos | --ho)
962
 
    ac_prev=host_alias ;;
963
 
  -host=* | --host=* | --hos=* | --ho=*)
964
 
    host_alias=$ac_optarg ;;
965
 
 
966
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
967
 
    ac_prev=htmldir ;;
968
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
969
 
  | --ht=*)
970
 
    htmldir=$ac_optarg ;;
971
 
 
972
 
  -includedir | --includedir | --includedi | --included | --include \
973
 
  | --includ | --inclu | --incl | --inc)
974
 
    ac_prev=includedir ;;
975
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
976
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
977
 
    includedir=$ac_optarg ;;
978
 
 
979
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
980
 
    ac_prev=infodir ;;
981
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
982
 
    infodir=$ac_optarg ;;
983
 
 
984
 
  -libdir | --libdir | --libdi | --libd)
985
 
    ac_prev=libdir ;;
986
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
987
 
    libdir=$ac_optarg ;;
988
 
 
989
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
990
 
  | --libexe | --libex | --libe)
991
 
    ac_prev=libexecdir ;;
992
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
993
 
  | --libexe=* | --libex=* | --libe=*)
994
 
    libexecdir=$ac_optarg ;;
995
 
 
996
 
  -localedir | --localedir | --localedi | --localed | --locale)
997
 
    ac_prev=localedir ;;
998
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
999
 
    localedir=$ac_optarg ;;
1000
 
 
1001
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1002
 
  | --localstate | --localstat | --localsta | --localst | --locals)
1003
 
    ac_prev=localstatedir ;;
1004
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1005
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1006
 
    localstatedir=$ac_optarg ;;
1007
 
 
1008
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1009
 
    ac_prev=mandir ;;
1010
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1011
 
    mandir=$ac_optarg ;;
1012
 
 
1013
 
  -nfp | --nfp | --nf)
1014
 
    # Obsolete; use --without-fp.
1015
 
    with_fp=no ;;
1016
 
 
1017
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1018
 
  | --no-cr | --no-c | -n)
1019
 
    no_create=yes ;;
1020
 
 
1021
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1022
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1023
 
    no_recursion=yes ;;
1024
 
 
1025
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1026
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1027
 
  | --oldin | --oldi | --old | --ol | --o)
1028
 
    ac_prev=oldincludedir ;;
1029
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1030
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1031
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1032
 
    oldincludedir=$ac_optarg ;;
1033
 
 
1034
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1035
 
    ac_prev=prefix ;;
1036
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1037
 
    prefix=$ac_optarg ;;
1038
 
 
1039
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1040
 
  | --program-pre | --program-pr | --program-p)
1041
 
    ac_prev=program_prefix ;;
1042
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1043
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1044
 
    program_prefix=$ac_optarg ;;
1045
 
 
1046
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1047
 
  | --program-suf | --program-su | --program-s)
1048
 
    ac_prev=program_suffix ;;
1049
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1050
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1051
 
    program_suffix=$ac_optarg ;;
1052
 
 
1053
 
  -program-transform-name | --program-transform-name \
1054
 
  | --program-transform-nam | --program-transform-na \
1055
 
  | --program-transform-n | --program-transform- \
1056
 
  | --program-transform | --program-transfor \
1057
 
  | --program-transfo | --program-transf \
1058
 
  | --program-trans | --program-tran \
1059
 
  | --progr-tra | --program-tr | --program-t)
1060
 
    ac_prev=program_transform_name ;;
1061
 
  -program-transform-name=* | --program-transform-name=* \
1062
 
  | --program-transform-nam=* | --program-transform-na=* \
1063
 
  | --program-transform-n=* | --program-transform-=* \
1064
 
  | --program-transform=* | --program-transfor=* \
1065
 
  | --program-transfo=* | --program-transf=* \
1066
 
  | --program-trans=* | --program-tran=* \
1067
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1068
 
    program_transform_name=$ac_optarg ;;
1069
 
 
1070
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1071
 
    ac_prev=pdfdir ;;
1072
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1073
 
    pdfdir=$ac_optarg ;;
1074
 
 
1075
 
  -psdir | --psdir | --psdi | --psd | --ps)
1076
 
    ac_prev=psdir ;;
1077
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1078
 
    psdir=$ac_optarg ;;
1079
 
 
1080
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1081
 
  | -silent | --silent | --silen | --sile | --sil)
1082
 
    silent=yes ;;
1083
 
 
1084
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1085
 
    ac_prev=sbindir ;;
1086
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1087
 
  | --sbi=* | --sb=*)
1088
 
    sbindir=$ac_optarg ;;
1089
 
 
1090
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1091
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1092
 
  | --sharedst | --shareds | --shared | --share | --shar \
1093
 
  | --sha | --sh)
1094
 
    ac_prev=sharedstatedir ;;
1095
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1096
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1097
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1098
 
  | --sha=* | --sh=*)
1099
 
    sharedstatedir=$ac_optarg ;;
1100
 
 
1101
 
  -site | --site | --sit)
1102
 
    ac_prev=site ;;
1103
 
  -site=* | --site=* | --sit=*)
1104
 
    site=$ac_optarg ;;
1105
 
 
1106
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1107
 
    ac_prev=srcdir ;;
1108
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1109
 
    srcdir=$ac_optarg ;;
1110
 
 
1111
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1112
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1113
 
    ac_prev=sysconfdir ;;
1114
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1115
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1116
 
    sysconfdir=$ac_optarg ;;
1117
 
 
1118
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1119
 
    ac_prev=target_alias ;;
1120
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1121
 
    target_alias=$ac_optarg ;;
1122
 
 
1123
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1124
 
    verbose=yes ;;
1125
 
 
1126
 
  -version | --version | --versio | --versi | --vers | -V)
1127
 
    ac_init_version=: ;;
1128
 
 
1129
 
  -with-* | --with-*)
1130
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1131
 
    # Reject names that are not valid shell variable names.
1132
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1133
 
      as_fn_error $? "invalid package name: $ac_useropt"
1134
 
    ac_useropt_orig=$ac_useropt
1135
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1136
 
    case $ac_user_opts in
1137
 
      *"
1138
 
"with_$ac_useropt"
1139
 
"*) ;;
1140
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1141
 
         ac_unrecognized_sep=', ';;
1142
 
    esac
1143
 
    eval with_$ac_useropt=\$ac_optarg ;;
1144
 
 
1145
 
  -without-* | --without-*)
1146
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1147
 
    # Reject names that are not valid shell variable names.
1148
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1149
 
      as_fn_error $? "invalid package name: $ac_useropt"
1150
 
    ac_useropt_orig=$ac_useropt
1151
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1152
 
    case $ac_user_opts in
1153
 
      *"
1154
 
"with_$ac_useropt"
1155
 
"*) ;;
1156
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1157
 
         ac_unrecognized_sep=', ';;
1158
 
    esac
1159
 
    eval with_$ac_useropt=no ;;
1160
 
 
1161
 
  --x)
1162
 
    # Obsolete; use --with-x.
1163
 
    with_x=yes ;;
1164
 
 
1165
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1166
 
  | --x-incl | --x-inc | --x-in | --x-i)
1167
 
    ac_prev=x_includes ;;
1168
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1169
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1170
 
    x_includes=$ac_optarg ;;
1171
 
 
1172
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1173
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1174
 
    ac_prev=x_libraries ;;
1175
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1176
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1177
 
    x_libraries=$ac_optarg ;;
1178
 
 
1179
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1180
 
Try \`$0 --help' for more information"
1181
 
    ;;
1182
 
 
1183
 
  *=*)
1184
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1185
 
    # Reject names that are not valid shell variable names.
1186
 
    case $ac_envvar in #(
1187
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1188
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1189
 
    esac
1190
 
    eval $ac_envvar=\$ac_optarg
1191
 
    export $ac_envvar ;;
1192
 
 
1193
 
  *)
1194
 
    # FIXME: should be removed in autoconf 3.0.
1195
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1196
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1197
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1198
 
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1199
 
    ;;
1200
 
 
1201
 
  esac
1202
 
done
1203
 
 
1204
 
if test -n "$ac_prev"; then
1205
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1206
 
  as_fn_error $? "missing argument to $ac_option"
1207
 
fi
1208
 
 
1209
 
if test -n "$ac_unrecognized_opts"; then
1210
 
  case $enable_option_checking in
1211
 
    no) ;;
1212
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1213
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1214
 
  esac
1215
 
fi
1216
 
 
1217
 
# Check all directory arguments for consistency.
1218
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1219
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1220
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1221
 
                libdir localedir mandir
1222
 
do
1223
 
  eval ac_val=\$$ac_var
1224
 
  # Remove trailing slashes.
1225
 
  case $ac_val in
1226
 
    */ )
1227
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1228
 
      eval $ac_var=\$ac_val;;
1229
 
  esac
1230
 
  # Be sure to have absolute directory names.
1231
 
  case $ac_val in
1232
 
    [\\/$]* | ?:[\\/]* )  continue;;
1233
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1234
 
  esac
1235
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1236
 
done
1237
 
 
1238
 
# There might be people who depend on the old broken behavior: `$host'
1239
 
# used to hold the argument of --host etc.
1240
 
# FIXME: To remove some day.
1241
 
build=$build_alias
1242
 
host=$host_alias
1243
 
target=$target_alias
1244
 
 
1245
 
# FIXME: To remove some day.
1246
 
if test "x$host_alias" != x; then
1247
 
  if test "x$build_alias" = x; then
1248
 
    cross_compiling=maybe
1249
 
  elif test "x$build_alias" != "x$host_alias"; then
1250
 
    cross_compiling=yes
1251
 
  fi
1252
 
fi
1253
 
 
1254
 
ac_tool_prefix=
1255
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1256
 
 
1257
 
test "$silent" = yes && exec 6>/dev/null
1258
 
 
1259
 
 
1260
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1261
 
ac_ls_di=`ls -di .` &&
1262
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1263
 
  as_fn_error $? "working directory cannot be determined"
1264
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1265
 
  as_fn_error $? "pwd does not report name of working directory"
1266
 
 
1267
 
 
1268
 
# Find the source files, if location was not specified.
1269
 
if test -z "$srcdir"; then
1270
 
  ac_srcdir_defaulted=yes
1271
 
  # Try the directory containing this script, then the parent directory.
1272
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1273
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1274
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1275
 
         X"$as_myself" : 'X\(//\)$' \| \
1276
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1277
 
$as_echo X"$as_myself" |
1278
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1279
 
            s//\1/
1280
 
            q
1281
 
          }
1282
 
          /^X\(\/\/\)[^/].*/{
1283
 
            s//\1/
1284
 
            q
1285
 
          }
1286
 
          /^X\(\/\/\)$/{
1287
 
            s//\1/
1288
 
            q
1289
 
          }
1290
 
          /^X\(\/\).*/{
1291
 
            s//\1/
1292
 
            q
1293
 
          }
1294
 
          s/.*/./; q'`
1295
 
  srcdir=$ac_confdir
1296
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1297
 
    srcdir=..
1298
 
  fi
1299
 
else
1300
 
  ac_srcdir_defaulted=no
1301
 
fi
1302
 
if test ! -r "$srcdir/$ac_unique_file"; then
1303
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1304
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1305
 
fi
1306
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1307
 
ac_abs_confdir=`(
1308
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1309
 
        pwd)`
1310
 
# When building in place, set srcdir=.
1311
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1312
 
  srcdir=.
1313
 
fi
1314
 
# Remove unnecessary trailing slashes from srcdir.
1315
 
# Double slashes in file names in object file debugging info
1316
 
# mess up M-x gdb in Emacs.
1317
 
case $srcdir in
1318
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1319
 
esac
1320
 
for ac_var in $ac_precious_vars; do
1321
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1322
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1323
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1324
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1325
 
done
1326
 
 
1327
 
#
1328
 
# Report the --help message.
1329
 
#
1330
 
if test "$ac_init_help" = "long"; then
1331
 
  # Omit some internal or obsolete options to make the list less imposing.
1332
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1333
 
  cat <<_ACEOF
1334
 
\`configure' configures arpack-ng 3.1.5 to adapt to many kinds of systems.
1335
 
 
1336
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1337
 
 
1338
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1339
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1340
 
 
1341
 
Defaults for the options are specified in brackets.
1342
 
 
1343
 
Configuration:
1344
 
  -h, --help              display this help and exit
1345
 
      --help=short        display options specific to this package
1346
 
      --help=recursive    display the short help of all the included packages
1347
 
  -V, --version           display version information and exit
1348
 
  -q, --quiet, --silent   do not print \`checking ...' messages
1349
 
      --cache-file=FILE   cache test results in FILE [disabled]
1350
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1351
 
  -n, --no-create         do not create output files
1352
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1353
 
 
1354
 
Installation directories:
1355
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1356
 
                          [$ac_default_prefix]
1357
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1358
 
                          [PREFIX]
1359
 
 
1360
 
By default, \`make install' will install all the files in
1361
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1362
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1363
 
for instance \`--prefix=\$HOME'.
1364
 
 
1365
 
For better control, use the options below.
1366
 
 
1367
 
Fine tuning of the installation directories:
1368
 
  --bindir=DIR            user executables [EPREFIX/bin]
1369
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1370
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1371
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1372
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1373
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1374
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1375
 
  --includedir=DIR        C header files [PREFIX/include]
1376
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1377
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1378
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1379
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1380
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1381
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1382
 
  --docdir=DIR            documentation root [DATAROOTDIR/doc/arpack-ng]
1383
 
  --htmldir=DIR           html documentation [DOCDIR]
1384
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1385
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1386
 
  --psdir=DIR             ps documentation [DOCDIR]
1387
 
_ACEOF
1388
 
 
1389
 
  cat <<\_ACEOF
1390
 
 
1391
 
Program names:
1392
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1393
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1394
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1395
 
 
1396
 
System types:
1397
 
  --build=BUILD     configure for building on BUILD [guessed]
1398
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1399
 
_ACEOF
1400
 
fi
1401
 
 
1402
 
if test -n "$ac_init_help"; then
1403
 
  case $ac_init_help in
1404
 
     short | recursive ) echo "Configuration of arpack-ng 3.1.5:";;
1405
 
   esac
1406
 
  cat <<\_ACEOF
1407
 
 
1408
 
Optional Features:
1409
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1410
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1411
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1412
 
  --enable-silent-rules   less verbose build output (undo: "make V=1")
1413
 
  --disable-silent-rules  verbose build output (undo: "make V=0")
1414
 
  --enable-maintainer-mode
1415
 
                          enable make rules and dependencies not useful (and
1416
 
                          sometimes confusing) to the casual installer
1417
 
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1418
 
  --enable-static[=PKGS]  build static libraries [default=yes]
1419
 
  --enable-fast-install[=PKGS]
1420
 
                          optimize for fast installation [default=yes]
1421
 
  --enable-dependency-tracking
1422
 
                          do not reject slow dependency extractors
1423
 
  --disable-dependency-tracking
1424
 
                          speeds up one-time build
1425
 
  --disable-libtool-lock  avoid locking (might break parallel builds)
1426
 
  --enable-mpi            build parallel version of arpack with MPI
1427
 
 
1428
 
Optional Packages:
1429
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1430
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1431
 
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1432
 
                          both]
1433
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1434
 
  --with-sysroot=DIR Search for dependent libraries within DIR
1435
 
                        (or the compiler's sysroot if not specified).
1436
 
  --with-blas=<lib>       use BLAS library <lib>
1437
 
  --with-lapack=<lib>     use LAPACK library <lib>
1438
 
 
1439
 
Some influential environment variables:
1440
 
  F77         Fortran 77 compiler command
1441
 
  FFLAGS      Fortran 77 compiler flags
1442
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1443
 
              nonstandard directory <lib dir>
1444
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1445
 
  CC          C compiler command
1446
 
  CFLAGS      C compiler flags
1447
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1448
 
              you have headers in a nonstandard directory <include dir>
1449
 
  CPP         C preprocessor
1450
 
  MPIF77      MPI Fortran 77 compiler command
1451
 
 
1452
 
Use these variables to override the choices made by `configure' or to help
1453
 
it to find libraries and programs with nonstandard names/locations.
1454
 
 
1455
 
Report bugs to <http://forge.scilab.org/index.php/p/arpack-ng/issues/>.
1456
 
_ACEOF
1457
 
ac_status=$?
1458
 
fi
1459
 
 
1460
 
if test "$ac_init_help" = "recursive"; then
1461
 
  # If there are subdirs, report their specific --help.
1462
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1463
 
    test -d "$ac_dir" ||
1464
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1465
 
      continue
1466
 
    ac_builddir=.
1467
 
 
1468
 
case "$ac_dir" in
1469
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1470
 
*)
1471
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1472
 
  # A ".." for each directory in $ac_dir_suffix.
1473
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1474
 
  case $ac_top_builddir_sub in
1475
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1476
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1477
 
  esac ;;
1478
 
esac
1479
 
ac_abs_top_builddir=$ac_pwd
1480
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1481
 
# for backward compatibility:
1482
 
ac_top_builddir=$ac_top_build_prefix
1483
 
 
1484
 
case $srcdir in
1485
 
  .)  # We are building in place.
1486
 
    ac_srcdir=.
1487
 
    ac_top_srcdir=$ac_top_builddir_sub
1488
 
    ac_abs_top_srcdir=$ac_pwd ;;
1489
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1490
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1491
 
    ac_top_srcdir=$srcdir
1492
 
    ac_abs_top_srcdir=$srcdir ;;
1493
 
  *) # Relative name.
1494
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1495
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1496
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1497
 
esac
1498
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1499
 
 
1500
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1501
 
    # Check for guested configure.
1502
 
    if test -f "$ac_srcdir/configure.gnu"; then
1503
 
      echo &&
1504
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1505
 
    elif test -f "$ac_srcdir/configure"; then
1506
 
      echo &&
1507
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1508
 
    else
1509
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1510
 
    fi || ac_status=$?
1511
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1512
 
  done
1513
 
fi
1514
 
 
1515
 
test -n "$ac_init_help" && exit $ac_status
1516
 
if $ac_init_version; then
1517
 
  cat <<\_ACEOF
1518
 
arpack-ng configure 3.1.5
1519
 
generated by GNU Autoconf 2.69
1520
 
 
1521
 
Copyright (C) 2012 Free Software Foundation, Inc.
1522
 
This configure script is free software; the Free Software Foundation
1523
 
gives unlimited permission to copy, distribute and modify it.
1524
 
_ACEOF
1525
 
  exit
1526
 
fi
1527
 
 
1528
 
## ------------------------ ##
1529
 
## Autoconf initialization. ##
1530
 
## ------------------------ ##
1531
 
 
1532
 
# ac_fn_f77_try_compile LINENO
1533
 
# ----------------------------
1534
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1535
 
ac_fn_f77_try_compile ()
1536
 
{
1537
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1538
 
  rm -f conftest.$ac_objext
1539
 
  if { { ac_try="$ac_compile"
1540
 
case "(($ac_try" in
1541
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1542
 
  *) ac_try_echo=$ac_try;;
1543
 
esac
1544
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1545
 
$as_echo "$ac_try_echo"; } >&5
1546
 
  (eval "$ac_compile") 2>conftest.err
1547
 
  ac_status=$?
1548
 
  if test -s conftest.err; then
1549
 
    grep -v '^ *+' conftest.err >conftest.er1
1550
 
    cat conftest.er1 >&5
1551
 
    mv -f conftest.er1 conftest.err
1552
 
  fi
1553
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1554
 
  test $ac_status = 0; } && {
1555
 
         test -z "$ac_f77_werror_flag" ||
1556
 
         test ! -s conftest.err
1557
 
       } && test -s conftest.$ac_objext; then :
1558
 
  ac_retval=0
1559
 
else
1560
 
  $as_echo "$as_me: failed program was:" >&5
1561
 
sed 's/^/| /' conftest.$ac_ext >&5
1562
 
 
1563
 
        ac_retval=1
1564
 
fi
1565
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1566
 
  as_fn_set_status $ac_retval
1567
 
 
1568
 
} # ac_fn_f77_try_compile
1569
 
 
1570
 
# ac_fn_c_try_compile LINENO
1571
 
# --------------------------
1572
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1573
 
ac_fn_c_try_compile ()
1574
 
{
1575
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1576
 
  rm -f conftest.$ac_objext
1577
 
  if { { ac_try="$ac_compile"
1578
 
case "(($ac_try" in
1579
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1580
 
  *) ac_try_echo=$ac_try;;
1581
 
esac
1582
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1583
 
$as_echo "$ac_try_echo"; } >&5
1584
 
  (eval "$ac_compile") 2>conftest.err
1585
 
  ac_status=$?
1586
 
  if test -s conftest.err; then
1587
 
    grep -v '^ *+' conftest.err >conftest.er1
1588
 
    cat conftest.er1 >&5
1589
 
    mv -f conftest.er1 conftest.err
1590
 
  fi
1591
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1592
 
  test $ac_status = 0; } && {
1593
 
         test -z "$ac_c_werror_flag" ||
1594
 
         test ! -s conftest.err
1595
 
       } && test -s conftest.$ac_objext; then :
1596
 
  ac_retval=0
1597
 
else
1598
 
  $as_echo "$as_me: failed program was:" >&5
1599
 
sed 's/^/| /' conftest.$ac_ext >&5
1600
 
 
1601
 
        ac_retval=1
1602
 
fi
1603
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1604
 
  as_fn_set_status $ac_retval
1605
 
 
1606
 
} # ac_fn_c_try_compile
1607
 
 
1608
 
# ac_fn_c_try_link LINENO
1609
 
# -----------------------
1610
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1611
 
ac_fn_c_try_link ()
1612
 
{
1613
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1615
 
  if { { ac_try="$ac_link"
1616
 
case "(($ac_try" in
1617
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1618
 
  *) ac_try_echo=$ac_try;;
1619
 
esac
1620
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1621
 
$as_echo "$ac_try_echo"; } >&5
1622
 
  (eval "$ac_link") 2>conftest.err
1623
 
  ac_status=$?
1624
 
  if test -s conftest.err; then
1625
 
    grep -v '^ *+' conftest.err >conftest.er1
1626
 
    cat conftest.er1 >&5
1627
 
    mv -f conftest.er1 conftest.err
1628
 
  fi
1629
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1630
 
  test $ac_status = 0; } && {
1631
 
         test -z "$ac_c_werror_flag" ||
1632
 
         test ! -s conftest.err
1633
 
       } && test -s conftest$ac_exeext && {
1634
 
         test "$cross_compiling" = yes ||
1635
 
         test -x conftest$ac_exeext
1636
 
       }; then :
1637
 
  ac_retval=0
1638
 
else
1639
 
  $as_echo "$as_me: failed program was:" >&5
1640
 
sed 's/^/| /' conftest.$ac_ext >&5
1641
 
 
1642
 
        ac_retval=1
1643
 
fi
1644
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1645
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1646
 
  # interfere with the next link command; also delete a directory that is
1647
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1648
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1649
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650
 
  as_fn_set_status $ac_retval
1651
 
 
1652
 
} # ac_fn_c_try_link
1653
 
 
1654
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1655
 
# -------------------------------------------------------
1656
 
# Tests whether HEADER exists and can be compiled using the include files in
1657
 
# INCLUDES, setting the cache variable VAR accordingly.
1658
 
ac_fn_c_check_header_compile ()
1659
 
{
1660
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1662
 
$as_echo_n "checking for $2... " >&6; }
1663
 
if eval \${$3+:} false; then :
1664
 
  $as_echo_n "(cached) " >&6
1665
 
else
1666
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1667
 
/* end confdefs.h.  */
1668
 
$4
1669
 
#include <$2>
1670
 
_ACEOF
1671
 
if ac_fn_c_try_compile "$LINENO"; then :
1672
 
  eval "$3=yes"
1673
 
else
1674
 
  eval "$3=no"
1675
 
fi
1676
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1677
 
fi
1678
 
eval ac_res=\$$3
1679
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1680
 
$as_echo "$ac_res" >&6; }
1681
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682
 
 
1683
 
} # ac_fn_c_check_header_compile
1684
 
 
1685
 
# ac_fn_c_try_cpp LINENO
1686
 
# ----------------------
1687
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1688
 
ac_fn_c_try_cpp ()
1689
 
{
1690
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1692
 
case "(($ac_try" in
1693
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1694
 
  *) ac_try_echo=$ac_try;;
1695
 
esac
1696
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697
 
$as_echo "$ac_try_echo"; } >&5
1698
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1699
 
  ac_status=$?
1700
 
  if test -s conftest.err; then
1701
 
    grep -v '^ *+' conftest.err >conftest.er1
1702
 
    cat conftest.er1 >&5
1703
 
    mv -f conftest.er1 conftest.err
1704
 
  fi
1705
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706
 
  test $ac_status = 0; } > conftest.i && {
1707
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1708
 
         test ! -s conftest.err
1709
 
       }; then :
1710
 
  ac_retval=0
1711
 
else
1712
 
  $as_echo "$as_me: failed program was:" >&5
1713
 
sed 's/^/| /' conftest.$ac_ext >&5
1714
 
 
1715
 
    ac_retval=1
1716
 
fi
1717
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718
 
  as_fn_set_status $ac_retval
1719
 
 
1720
 
} # ac_fn_c_try_cpp
1721
 
 
1722
 
# ac_fn_c_try_run LINENO
1723
 
# ----------------------
1724
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1725
 
# that executables *can* be run.
1726
 
ac_fn_c_try_run ()
1727
 
{
1728
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729
 
  if { { ac_try="$ac_link"
1730
 
case "(($ac_try" in
1731
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1732
 
  *) ac_try_echo=$ac_try;;
1733
 
esac
1734
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735
 
$as_echo "$ac_try_echo"; } >&5
1736
 
  (eval "$ac_link") 2>&5
1737
 
  ac_status=$?
1738
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1740
 
  { { case "(($ac_try" in
1741
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1742
 
  *) ac_try_echo=$ac_try;;
1743
 
esac
1744
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745
 
$as_echo "$ac_try_echo"; } >&5
1746
 
  (eval "$ac_try") 2>&5
1747
 
  ac_status=$?
1748
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749
 
  test $ac_status = 0; }; }; then :
1750
 
  ac_retval=0
1751
 
else
1752
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1753
 
       $as_echo "$as_me: failed program was:" >&5
1754
 
sed 's/^/| /' conftest.$ac_ext >&5
1755
 
 
1756
 
       ac_retval=$ac_status
1757
 
fi
1758
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1759
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1760
 
  as_fn_set_status $ac_retval
1761
 
 
1762
 
} # ac_fn_c_try_run
1763
 
 
1764
 
# ac_fn_c_check_func LINENO FUNC VAR
1765
 
# ----------------------------------
1766
 
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1767
 
ac_fn_c_check_func ()
1768
 
{
1769
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1771
 
$as_echo_n "checking for $2... " >&6; }
1772
 
if eval \${$3+:} false; then :
1773
 
  $as_echo_n "(cached) " >&6
1774
 
else
1775
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1776
 
/* end confdefs.h.  */
1777
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1778
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1779
 
#define $2 innocuous_$2
1780
 
 
1781
 
/* System header to define __stub macros and hopefully few prototypes,
1782
 
    which can conflict with char $2 (); below.
1783
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1784
 
    <limits.h> exists even on freestanding compilers.  */
1785
 
 
1786
 
#ifdef __STDC__
1787
 
# include <limits.h>
1788
 
#else
1789
 
# include <assert.h>
1790
 
#endif
1791
 
 
1792
 
#undef $2
1793
 
 
1794
 
/* Override any GCC internal prototype to avoid an error.
1795
 
   Use char because int might match the return type of a GCC
1796
 
   builtin and then its argument prototype would still apply.  */
1797
 
#ifdef __cplusplus
1798
 
extern "C"
1799
 
#endif
1800
 
char $2 ();
1801
 
/* The GNU C library defines this for functions which it implements
1802
 
    to always fail with ENOSYS.  Some functions are actually named
1803
 
    something starting with __ and the normal name is an alias.  */
1804
 
#if defined __stub_$2 || defined __stub___$2
1805
 
choke me
1806
 
#endif
1807
 
 
1808
 
int
1809
 
main ()
1810
 
{
1811
 
return $2 ();
1812
 
  ;
1813
 
  return 0;
1814
 
}
1815
 
_ACEOF
1816
 
if ac_fn_c_try_link "$LINENO"; then :
1817
 
  eval "$3=yes"
1818
 
else
1819
 
  eval "$3=no"
1820
 
fi
1821
 
rm -f core conftest.err conftest.$ac_objext \
1822
 
    conftest$ac_exeext conftest.$ac_ext
1823
 
fi
1824
 
eval ac_res=\$$3
1825
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1826
 
$as_echo "$ac_res" >&6; }
1827
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828
 
 
1829
 
} # ac_fn_c_check_func
1830
 
 
1831
 
# ac_fn_f77_try_link LINENO
1832
 
# -------------------------
1833
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1834
 
ac_fn_f77_try_link ()
1835
 
{
1836
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1838
 
  if { { ac_try="$ac_link"
1839
 
case "(($ac_try" in
1840
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1841
 
  *) ac_try_echo=$ac_try;;
1842
 
esac
1843
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1844
 
$as_echo "$ac_try_echo"; } >&5
1845
 
  (eval "$ac_link") 2>conftest.err
1846
 
  ac_status=$?
1847
 
  if test -s conftest.err; then
1848
 
    grep -v '^ *+' conftest.err >conftest.er1
1849
 
    cat conftest.er1 >&5
1850
 
    mv -f conftest.er1 conftest.err
1851
 
  fi
1852
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1853
 
  test $ac_status = 0; } && {
1854
 
         test -z "$ac_f77_werror_flag" ||
1855
 
         test ! -s conftest.err
1856
 
       } && test -s conftest$ac_exeext && {
1857
 
         test "$cross_compiling" = yes ||
1858
 
         test -x conftest$ac_exeext
1859
 
       }; then :
1860
 
  ac_retval=0
1861
 
else
1862
 
  $as_echo "$as_me: failed program was:" >&5
1863
 
sed 's/^/| /' conftest.$ac_ext >&5
1864
 
 
1865
 
        ac_retval=1
1866
 
fi
1867
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1868
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1869
 
  # interfere with the next link command; also delete a directory that is
1870
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1871
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1872
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1873
 
  as_fn_set_status $ac_retval
1874
 
 
1875
 
} # ac_fn_f77_try_link
1876
 
cat >config.log <<_ACEOF
1877
 
This file contains any messages produced by compilers while
1878
 
running configure, to aid debugging if configure makes a mistake.
1879
 
 
1880
 
It was created by arpack-ng $as_me 3.1.5, which was
1881
 
generated by GNU Autoconf 2.69.  Invocation command line was
1882
 
 
1883
 
  $ $0 $@
1884
 
 
1885
 
_ACEOF
1886
 
exec 5>>config.log
1887
 
{
1888
 
cat <<_ASUNAME
1889
 
## --------- ##
1890
 
## Platform. ##
1891
 
## --------- ##
1892
 
 
1893
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1894
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1895
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1896
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1897
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1898
 
 
1899
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1900
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1901
 
 
1902
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1903
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1904
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1905
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1906
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1907
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1908
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1909
 
 
1910
 
_ASUNAME
1911
 
 
1912
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1913
 
for as_dir in $PATH
1914
 
do
1915
 
  IFS=$as_save_IFS
1916
 
  test -z "$as_dir" && as_dir=.
1917
 
    $as_echo "PATH: $as_dir"
1918
 
  done
1919
 
IFS=$as_save_IFS
1920
 
 
1921
 
} >&5
1922
 
 
1923
 
cat >&5 <<_ACEOF
1924
 
 
1925
 
 
1926
 
## ----------- ##
1927
 
## Core tests. ##
1928
 
## ----------- ##
1929
 
 
1930
 
_ACEOF
1931
 
 
1932
 
 
1933
 
# Keep a trace of the command line.
1934
 
# Strip out --no-create and --no-recursion so they do not pile up.
1935
 
# Strip out --silent because we don't want to record it for future runs.
1936
 
# Also quote any args containing shell meta-characters.
1937
 
# Make two passes to allow for proper duplicate-argument suppression.
1938
 
ac_configure_args=
1939
 
ac_configure_args0=
1940
 
ac_configure_args1=
1941
 
ac_must_keep_next=false
1942
 
for ac_pass in 1 2
1943
 
do
1944
 
  for ac_arg
1945
 
  do
1946
 
    case $ac_arg in
1947
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1948
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1949
 
    | -silent | --silent | --silen | --sile | --sil)
1950
 
      continue ;;
1951
 
    *\'*)
1952
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1953
 
    esac
1954
 
    case $ac_pass in
1955
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1956
 
    2)
1957
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
1958
 
      if test $ac_must_keep_next = true; then
1959
 
        ac_must_keep_next=false # Got value, back to normal.
1960
 
      else
1961
 
        case $ac_arg in
1962
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1963
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1964
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1965
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1966
 
            case "$ac_configure_args0 " in
1967
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1968
 
            esac
1969
 
            ;;
1970
 
          -* ) ac_must_keep_next=true ;;
1971
 
        esac
1972
 
      fi
1973
 
      as_fn_append ac_configure_args " '$ac_arg'"
1974
 
      ;;
1975
 
    esac
1976
 
  done
1977
 
done
1978
 
{ ac_configure_args0=; unset ac_configure_args0;}
1979
 
{ ac_configure_args1=; unset ac_configure_args1;}
1980
 
 
1981
 
# When interrupted or exit'd, cleanup temporary files, and complete
1982
 
# config.log.  We remove comments because anyway the quotes in there
1983
 
# would cause problems or look ugly.
1984
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
1985
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1986
 
trap 'exit_status=$?
1987
 
  # Save into config.log some information that might help in debugging.
1988
 
  {
1989
 
    echo
1990
 
 
1991
 
    $as_echo "## ---------------- ##
1992
 
## Cache variables. ##
1993
 
## ---------------- ##"
1994
 
    echo
1995
 
    # The following way of writing the cache mishandles newlines in values,
1996
 
(
1997
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1998
 
    eval ac_val=\$$ac_var
1999
 
    case $ac_val in #(
2000
 
    *${as_nl}*)
2001
 
      case $ac_var in #(
2002
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2003
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2004
 
      esac
2005
 
      case $ac_var in #(
2006
 
      _ | IFS | as_nl) ;; #(
2007
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2008
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2009
 
      esac ;;
2010
 
    esac
2011
 
  done
2012
 
  (set) 2>&1 |
2013
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2014
 
    *${as_nl}ac_space=\ *)
2015
 
      sed -n \
2016
 
        "s/'\''/'\''\\\\'\'''\''/g;
2017
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2018
 
      ;; #(
2019
 
    *)
2020
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2021
 
      ;;
2022
 
    esac |
2023
 
    sort
2024
 
)
2025
 
    echo
2026
 
 
2027
 
    $as_echo "## ----------------- ##
2028
 
## Output variables. ##
2029
 
## ----------------- ##"
2030
 
    echo
2031
 
    for ac_var in $ac_subst_vars
2032
 
    do
2033
 
      eval ac_val=\$$ac_var
2034
 
      case $ac_val in
2035
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2036
 
      esac
2037
 
      $as_echo "$ac_var='\''$ac_val'\''"
2038
 
    done | sort
2039
 
    echo
2040
 
 
2041
 
    if test -n "$ac_subst_files"; then
2042
 
      $as_echo "## ------------------- ##
2043
 
## File substitutions. ##
2044
 
## ------------------- ##"
2045
 
      echo
2046
 
      for ac_var in $ac_subst_files
2047
 
      do
2048
 
        eval ac_val=\$$ac_var
2049
 
        case $ac_val in
2050
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2051
 
        esac
2052
 
        $as_echo "$ac_var='\''$ac_val'\''"
2053
 
      done | sort
2054
 
      echo
2055
 
    fi
2056
 
 
2057
 
    if test -s confdefs.h; then
2058
 
      $as_echo "## ----------- ##
2059
 
## confdefs.h. ##
2060
 
## ----------- ##"
2061
 
      echo
2062
 
      cat confdefs.h
2063
 
      echo
2064
 
    fi
2065
 
    test "$ac_signal" != 0 &&
2066
 
      $as_echo "$as_me: caught signal $ac_signal"
2067
 
    $as_echo "$as_me: exit $exit_status"
2068
 
  } >&5
2069
 
  rm -f core *.core core.conftest.* &&
2070
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2071
 
    exit $exit_status
2072
 
' 0
2073
 
for ac_signal in 1 2 13 15; do
2074
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2075
 
done
2076
 
ac_signal=0
2077
 
 
2078
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2079
 
rm -f -r conftest* confdefs.h
2080
 
 
2081
 
$as_echo "/* confdefs.h */" > confdefs.h
2082
 
 
2083
 
# Predefined preprocessor variables.
2084
 
 
2085
 
cat >>confdefs.h <<_ACEOF
2086
 
#define PACKAGE_NAME "$PACKAGE_NAME"
2087
 
_ACEOF
2088
 
 
2089
 
cat >>confdefs.h <<_ACEOF
2090
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2091
 
_ACEOF
2092
 
 
2093
 
cat >>confdefs.h <<_ACEOF
2094
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2095
 
_ACEOF
2096
 
 
2097
 
cat >>confdefs.h <<_ACEOF
2098
 
#define PACKAGE_STRING "$PACKAGE_STRING"
2099
 
_ACEOF
2100
 
 
2101
 
cat >>confdefs.h <<_ACEOF
2102
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2103
 
_ACEOF
2104
 
 
2105
 
cat >>confdefs.h <<_ACEOF
2106
 
#define PACKAGE_URL "$PACKAGE_URL"
2107
 
_ACEOF
2108
 
 
2109
 
 
2110
 
# Let the site file select an alternate cache file if it wants to.
2111
 
# Prefer an explicitly selected file to automatically selected ones.
2112
 
ac_site_file1=NONE
2113
 
ac_site_file2=NONE
2114
 
if test -n "$CONFIG_SITE"; then
2115
 
  # We do not want a PATH search for config.site.
2116
 
  case $CONFIG_SITE in #((
2117
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
2118
 
    */*) ac_site_file1=$CONFIG_SITE;;
2119
 
    *)   ac_site_file1=./$CONFIG_SITE;;
2120
 
  esac
2121
 
elif test "x$prefix" != xNONE; then
2122
 
  ac_site_file1=$prefix/share/config.site
2123
 
  ac_site_file2=$prefix/etc/config.site
2124
 
else
2125
 
  ac_site_file1=$ac_default_prefix/share/config.site
2126
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2127
 
fi
2128
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2129
 
do
2130
 
  test "x$ac_site_file" = xNONE && continue
2131
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2132
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2133
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2134
 
    sed 's/^/| /' "$ac_site_file" >&5
2135
 
    . "$ac_site_file" \
2136
 
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2137
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2138
 
as_fn_error $? "failed to load site script $ac_site_file
2139
 
See \`config.log' for more details" "$LINENO" 5; }
2140
 
  fi
2141
 
done
2142
 
 
2143
 
if test -r "$cache_file"; then
2144
 
  # Some versions of bash will fail to source /dev/null (special files
2145
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2146
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2147
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2148
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2149
 
    case $cache_file in
2150
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2151
 
      *)                      . "./$cache_file";;
2152
 
    esac
2153
 
  fi
2154
 
else
2155
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2156
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2157
 
  >$cache_file
2158
 
fi
2159
 
 
2160
 
# Check that the precious variables saved in the cache have kept the same
2161
 
# value.
2162
 
ac_cache_corrupted=false
2163
 
for ac_var in $ac_precious_vars; do
2164
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2165
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2166
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2167
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2168
 
  case $ac_old_set,$ac_new_set in
2169
 
    set,)
2170
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2171
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2172
 
      ac_cache_corrupted=: ;;
2173
 
    ,set)
2174
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2175
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2176
 
      ac_cache_corrupted=: ;;
2177
 
    ,);;
2178
 
    *)
2179
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2180
 
        # differences in whitespace do not lead to failure.
2181
 
        ac_old_val_w=`echo x $ac_old_val`
2182
 
        ac_new_val_w=`echo x $ac_new_val`
2183
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2184
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2185
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2186
 
          ac_cache_corrupted=:
2187
 
        else
2188
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2189
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2190
 
          eval $ac_var=\$ac_old_val
2191
 
        fi
2192
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2193
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2194
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2195
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2196
 
      fi;;
2197
 
  esac
2198
 
  # Pass precious variables to config.status.
2199
 
  if test "$ac_new_set" = set; then
2200
 
    case $ac_new_val in
2201
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2202
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2203
 
    esac
2204
 
    case " $ac_configure_args " in
2205
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2206
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2207
 
    esac
2208
 
  fi
2209
 
done
2210
 
if $ac_cache_corrupted; then
2211
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2212
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2213
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2214
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2215
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2216
 
fi
2217
 
## -------------------- ##
2218
 
## Main body of script. ##
2219
 
## -------------------- ##
2220
 
 
2221
 
ac_ext=c
2222
 
ac_cpp='$CPP $CPPFLAGS'
2223
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2224
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2225
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2226
 
 
2227
 
 
2228
 
am__api_version='1.14'
2229
 
 
2230
 
ac_aux_dir=
2231
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2232
 
  if test -f "$ac_dir/install-sh"; then
2233
 
    ac_aux_dir=$ac_dir
2234
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2235
 
    break
2236
 
  elif test -f "$ac_dir/install.sh"; then
2237
 
    ac_aux_dir=$ac_dir
2238
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2239
 
    break
2240
 
  elif test -f "$ac_dir/shtool"; then
2241
 
    ac_aux_dir=$ac_dir
2242
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2243
 
    break
2244
 
  fi
2245
 
done
2246
 
if test -z "$ac_aux_dir"; then
2247
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2248
 
fi
2249
 
 
2250
 
# These three variables are undocumented and unsupported,
2251
 
# and are intended to be withdrawn in a future Autoconf release.
2252
 
# They can cause serious problems if a builder's source tree is in a directory
2253
 
# whose full name contains unusual characters.
2254
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2255
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2256
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2257
 
 
2258
 
 
2259
 
# Find a good install program.  We prefer a C program (faster),
2260
 
# so one script is as good as another.  But avoid the broken or
2261
 
# incompatible versions:
2262
 
# SysV /etc/install, /usr/sbin/install
2263
 
# SunOS /usr/etc/install
2264
 
# IRIX /sbin/install
2265
 
# AIX /bin/install
2266
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2267
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2268
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2269
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2270
 
# OS/2's system install, which has a completely different semantic
2271
 
# ./install, which can be erroneously created by make from ./install.sh.
2272
 
# Reject install programs that cannot install multiple files.
2273
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2274
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2275
 
if test -z "$INSTALL"; then
2276
 
if ${ac_cv_path_install+:} false; then :
2277
 
  $as_echo_n "(cached) " >&6
2278
 
else
2279
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280
 
for as_dir in $PATH
2281
 
do
2282
 
  IFS=$as_save_IFS
2283
 
  test -z "$as_dir" && as_dir=.
2284
 
    # Account for people who put trailing slashes in PATH elements.
2285
 
case $as_dir/ in #((
2286
 
  ./ | .// | /[cC]/* | \
2287
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2288
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2289
 
  /usr/ucb/* ) ;;
2290
 
  *)
2291
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2292
 
    # Don't use installbsd from OSF since it installs stuff as root
2293
 
    # by default.
2294
 
    for ac_prog in ginstall scoinst install; do
2295
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2296
 
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2297
 
          if test $ac_prog = install &&
2298
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2299
 
            # AIX install.  It has an incompatible calling convention.
2300
 
            :
2301
 
          elif test $ac_prog = install &&
2302
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2303
 
            # program-specific install script used by HP pwplus--don't use.
2304
 
            :
2305
 
          else
2306
 
            rm -rf conftest.one conftest.two conftest.dir
2307
 
            echo one > conftest.one
2308
 
            echo two > conftest.two
2309
 
            mkdir conftest.dir
2310
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2311
 
              test -s conftest.one && test -s conftest.two &&
2312
 
              test -s conftest.dir/conftest.one &&
2313
 
              test -s conftest.dir/conftest.two
2314
 
            then
2315
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2316
 
              break 3
2317
 
            fi
2318
 
          fi
2319
 
        fi
2320
 
      done
2321
 
    done
2322
 
    ;;
2323
 
esac
2324
 
 
2325
 
  done
2326
 
IFS=$as_save_IFS
2327
 
 
2328
 
rm -rf conftest.one conftest.two conftest.dir
2329
 
 
2330
 
fi
2331
 
  if test "${ac_cv_path_install+set}" = set; then
2332
 
    INSTALL=$ac_cv_path_install
2333
 
  else
2334
 
    # As a last resort, use the slow shell script.  Don't cache a
2335
 
    # value for INSTALL within a source directory, because that will
2336
 
    # break other packages using the cache if that directory is
2337
 
    # removed, or if the value is a relative name.
2338
 
    INSTALL=$ac_install_sh
2339
 
  fi
2340
 
fi
2341
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2342
 
$as_echo "$INSTALL" >&6; }
2343
 
 
2344
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2345
 
# It thinks the first close brace ends the variable substitution.
2346
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2347
 
 
2348
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2349
 
 
2350
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2351
 
 
2352
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2353
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2354
 
# Reject unsafe characters in $srcdir or the absolute working directory
2355
 
# name.  Accept space and tab only in the latter.
2356
 
am_lf='
2357
 
'
2358
 
case `pwd` in
2359
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2360
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2361
 
esac
2362
 
case $srcdir in
2363
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2364
 
    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2365
 
esac
2366
 
 
2367
 
# Do 'set' in a subshell so we don't clobber the current shell's
2368
 
# arguments.  Must try -L first in case configure is actually a
2369
 
# symlink; some systems play weird games with the mod time of symlinks
2370
 
# (eg FreeBSD returns the mod time of the symlink's containing
2371
 
# directory).
2372
 
if (
2373
 
   am_has_slept=no
2374
 
   for am_try in 1 2; do
2375
 
     echo "timestamp, slept: $am_has_slept" > conftest.file
2376
 
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2377
 
     if test "$*" = "X"; then
2378
 
        # -L didn't work.
2379
 
        set X `ls -t "$srcdir/configure" conftest.file`
2380
 
     fi
2381
 
     if test "$*" != "X $srcdir/configure conftest.file" \
2382
 
        && test "$*" != "X conftest.file $srcdir/configure"; then
2383
 
 
2384
 
        # If neither matched, then we have a broken ls.  This can happen
2385
 
        # if, for instance, CONFIG_SHELL is bash and it inherits a
2386
 
        # broken ls alias from the environment.  This has actually
2387
 
        # happened.  Such a system could not be considered "sane".
2388
 
        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2389
 
  alias in your environment" "$LINENO" 5
2390
 
     fi
2391
 
     if test "$2" = conftest.file || test $am_try -eq 2; then
2392
 
       break
2393
 
     fi
2394
 
     # Just in case.
2395
 
     sleep 1
2396
 
     am_has_slept=yes
2397
 
   done
2398
 
   test "$2" = conftest.file
2399
 
   )
2400
 
then
2401
 
   # Ok.
2402
 
   :
2403
 
else
2404
 
   as_fn_error $? "newly created file is older than distributed files!
2405
 
Check your system clock" "$LINENO" 5
2406
 
fi
2407
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2408
 
$as_echo "yes" >&6; }
2409
 
# If we didn't sleep, we still need to ensure time stamps of config.status and
2410
 
# generated files are strictly newer.
2411
 
am_sleep_pid=
2412
 
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2413
 
  ( sleep 1 ) &
2414
 
  am_sleep_pid=$!
2415
 
fi
2416
 
 
2417
 
rm -f conftest.file
2418
 
 
2419
 
test "$program_prefix" != NONE &&
2420
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2421
 
# Use a double $ so make ignores it.
2422
 
test "$program_suffix" != NONE &&
2423
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2424
 
# Double any \ or $.
2425
 
# By default was `s,x,x', remove it if useless.
2426
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2427
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2428
 
 
2429
 
# expand $ac_aux_dir to an absolute path
2430
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2431
 
 
2432
 
if test x"${MISSING+set}" != xset; then
2433
 
  case $am_aux_dir in
2434
 
  *\ * | *\     *)
2435
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2436
 
  *)
2437
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2438
 
  esac
2439
 
fi
2440
 
# Use eval to expand $SHELL
2441
 
if eval "$MISSING --is-lightweight"; then
2442
 
  am_missing_run="$MISSING "
2443
 
else
2444
 
  am_missing_run=
2445
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2446
 
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2447
 
fi
2448
 
 
2449
 
if test x"${install_sh}" != xset; then
2450
 
  case $am_aux_dir in
2451
 
  *\ * | *\     *)
2452
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2453
 
  *)
2454
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2455
 
  esac
2456
 
fi
2457
 
 
2458
 
# Installed binaries are usually stripped using 'strip' when the user
2459
 
# run "make install-strip".  However 'strip' might not be the right
2460
 
# tool to use in cross-compilation environments, therefore Automake
2461
 
# will honor the 'STRIP' environment variable to overrule this program.
2462
 
if test "$cross_compiling" != no; then
2463
 
  if test -n "$ac_tool_prefix"; then
2464
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2465
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2466
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2467
 
$as_echo_n "checking for $ac_word... " >&6; }
2468
 
if ${ac_cv_prog_STRIP+:} false; then :
2469
 
  $as_echo_n "(cached) " >&6
2470
 
else
2471
 
  if test -n "$STRIP"; then
2472
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2473
 
else
2474
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2475
 
for as_dir in $PATH
2476
 
do
2477
 
  IFS=$as_save_IFS
2478
 
  test -z "$as_dir" && as_dir=.
2479
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2480
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2481
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2482
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2483
 
    break 2
2484
 
  fi
2485
 
done
2486
 
  done
2487
 
IFS=$as_save_IFS
2488
 
 
2489
 
fi
2490
 
fi
2491
 
STRIP=$ac_cv_prog_STRIP
2492
 
if test -n "$STRIP"; then
2493
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2494
 
$as_echo "$STRIP" >&6; }
2495
 
else
2496
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2497
 
$as_echo "no" >&6; }
2498
 
fi
2499
 
 
2500
 
 
2501
 
fi
2502
 
if test -z "$ac_cv_prog_STRIP"; then
2503
 
  ac_ct_STRIP=$STRIP
2504
 
  # Extract the first word of "strip", so it can be a program name with args.
2505
 
set dummy strip; ac_word=$2
2506
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2507
 
$as_echo_n "checking for $ac_word... " >&6; }
2508
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2509
 
  $as_echo_n "(cached) " >&6
2510
 
else
2511
 
  if test -n "$ac_ct_STRIP"; then
2512
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2513
 
else
2514
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2515
 
for as_dir in $PATH
2516
 
do
2517
 
  IFS=$as_save_IFS
2518
 
  test -z "$as_dir" && as_dir=.
2519
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2520
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2521
 
    ac_cv_prog_ac_ct_STRIP="strip"
2522
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2523
 
    break 2
2524
 
  fi
2525
 
done
2526
 
  done
2527
 
IFS=$as_save_IFS
2528
 
 
2529
 
fi
2530
 
fi
2531
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2532
 
if test -n "$ac_ct_STRIP"; then
2533
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2534
 
$as_echo "$ac_ct_STRIP" >&6; }
2535
 
else
2536
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2537
 
$as_echo "no" >&6; }
2538
 
fi
2539
 
 
2540
 
  if test "x$ac_ct_STRIP" = x; then
2541
 
    STRIP=":"
2542
 
  else
2543
 
    case $cross_compiling:$ac_tool_warned in
2544
 
yes:)
2545
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2546
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2547
 
ac_tool_warned=yes ;;
2548
 
esac
2549
 
    STRIP=$ac_ct_STRIP
2550
 
  fi
2551
 
else
2552
 
  STRIP="$ac_cv_prog_STRIP"
2553
 
fi
2554
 
 
2555
 
fi
2556
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2557
 
 
2558
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2559
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2560
 
if test -z "$MKDIR_P"; then
2561
 
  if ${ac_cv_path_mkdir+:} false; then :
2562
 
  $as_echo_n "(cached) " >&6
2563
 
else
2564
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2565
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2566
 
do
2567
 
  IFS=$as_save_IFS
2568
 
  test -z "$as_dir" && as_dir=.
2569
 
    for ac_prog in mkdir gmkdir; do
2570
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2571
 
           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2572
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2573
 
             'mkdir (GNU coreutils) '* | \
2574
 
             'mkdir (coreutils) '* | \
2575
 
             'mkdir (fileutils) '4.1*)
2576
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2577
 
               break 3;;
2578
 
           esac
2579
 
         done
2580
 
       done
2581
 
  done
2582
 
IFS=$as_save_IFS
2583
 
 
2584
 
fi
2585
 
 
2586
 
  test -d ./--version && rmdir ./--version
2587
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2588
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2589
 
  else
2590
 
    # As a last resort, use the slow shell script.  Don't cache a
2591
 
    # value for MKDIR_P within a source directory, because that will
2592
 
    # break other packages using the cache if that directory is
2593
 
    # removed, or if the value is a relative name.
2594
 
    MKDIR_P="$ac_install_sh -d"
2595
 
  fi
2596
 
fi
2597
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2598
 
$as_echo "$MKDIR_P" >&6; }
2599
 
 
2600
 
for ac_prog in gawk mawk nawk awk
2601
 
do
2602
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2603
 
set dummy $ac_prog; ac_word=$2
2604
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2605
 
$as_echo_n "checking for $ac_word... " >&6; }
2606
 
if ${ac_cv_prog_AWK+:} false; then :
2607
 
  $as_echo_n "(cached) " >&6
2608
 
else
2609
 
  if test -n "$AWK"; then
2610
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2611
 
else
2612
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613
 
for as_dir in $PATH
2614
 
do
2615
 
  IFS=$as_save_IFS
2616
 
  test -z "$as_dir" && as_dir=.
2617
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2618
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2619
 
    ac_cv_prog_AWK="$ac_prog"
2620
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2621
 
    break 2
2622
 
  fi
2623
 
done
2624
 
  done
2625
 
IFS=$as_save_IFS
2626
 
 
2627
 
fi
2628
 
fi
2629
 
AWK=$ac_cv_prog_AWK
2630
 
if test -n "$AWK"; then
2631
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2632
 
$as_echo "$AWK" >&6; }
2633
 
else
2634
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2635
 
$as_echo "no" >&6; }
2636
 
fi
2637
 
 
2638
 
 
2639
 
  test -n "$AWK" && break
2640
 
done
2641
 
 
2642
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2643
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2644
 
set x ${MAKE-make}
2645
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2646
 
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2647
 
  $as_echo_n "(cached) " >&6
2648
 
else
2649
 
  cat >conftest.make <<\_ACEOF
2650
 
SHELL = /bin/sh
2651
 
all:
2652
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2653
 
_ACEOF
2654
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2655
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2656
 
  *@@@%%%=?*=@@@%%%*)
2657
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2658
 
  *)
2659
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2660
 
esac
2661
 
rm -f conftest.make
2662
 
fi
2663
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2664
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2665
 
$as_echo "yes" >&6; }
2666
 
  SET_MAKE=
2667
 
else
2668
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2669
 
$as_echo "no" >&6; }
2670
 
  SET_MAKE="MAKE=${MAKE-make}"
2671
 
fi
2672
 
 
2673
 
rm -rf .tst 2>/dev/null
2674
 
mkdir .tst 2>/dev/null
2675
 
if test -d .tst; then
2676
 
  am__leading_dot=.
2677
 
else
2678
 
  am__leading_dot=_
2679
 
fi
2680
 
rmdir .tst 2>/dev/null
2681
 
 
2682
 
# Check whether --enable-silent-rules was given.
2683
 
if test "${enable_silent_rules+set}" = set; then :
2684
 
  enableval=$enable_silent_rules;
2685
 
fi
2686
 
 
2687
 
case $enable_silent_rules in # (((
2688
 
  yes) AM_DEFAULT_VERBOSITY=0;;
2689
 
   no) AM_DEFAULT_VERBOSITY=1;;
2690
 
    *) AM_DEFAULT_VERBOSITY=1;;
2691
 
esac
2692
 
am_make=${MAKE-make}
2693
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2694
 
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2695
 
if ${am_cv_make_support_nested_variables+:} false; then :
2696
 
  $as_echo_n "(cached) " >&6
2697
 
else
2698
 
  if $as_echo 'TRUE=$(BAR$(V))
2699
 
BAR0=false
2700
 
BAR1=true
2701
 
V=1
2702
 
am__doit:
2703
 
        @$(TRUE)
2704
 
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2705
 
  am_cv_make_support_nested_variables=yes
2706
 
else
2707
 
  am_cv_make_support_nested_variables=no
2708
 
fi
2709
 
fi
2710
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2711
 
$as_echo "$am_cv_make_support_nested_variables" >&6; }
2712
 
if test $am_cv_make_support_nested_variables = yes; then
2713
 
    AM_V='$(V)'
2714
 
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2715
 
else
2716
 
  AM_V=$AM_DEFAULT_VERBOSITY
2717
 
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2718
 
fi
2719
 
AM_BACKSLASH='\'
2720
 
 
2721
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2722
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2723
 
  # is not polluted with repeated "-I."
2724
 
  am__isrc=' -I$(srcdir)'
2725
 
  # test to see if srcdir already configured
2726
 
  if test -f $srcdir/config.status; then
2727
 
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2728
 
  fi
2729
 
fi
2730
 
 
2731
 
# test whether we have cygpath
2732
 
if test -z "$CYGPATH_W"; then
2733
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2734
 
    CYGPATH_W='cygpath -w'
2735
 
  else
2736
 
    CYGPATH_W=echo
2737
 
  fi
2738
 
fi
2739
 
 
2740
 
 
2741
 
# Define the identity of the package.
2742
 
 PACKAGE='arpack-ng'
2743
 
 VERSION='3.1.5'
2744
 
 
2745
 
 
2746
 
cat >>confdefs.h <<_ACEOF
2747
 
#define PACKAGE "$PACKAGE"
2748
 
_ACEOF
2749
 
 
2750
 
 
2751
 
cat >>confdefs.h <<_ACEOF
2752
 
#define VERSION "$VERSION"
2753
 
_ACEOF
2754
 
 
2755
 
# Some tools Automake needs.
2756
 
 
2757
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2758
 
 
2759
 
 
2760
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2761
 
 
2762
 
 
2763
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2764
 
 
2765
 
 
2766
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2767
 
 
2768
 
 
2769
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2770
 
 
2771
 
# For better backward compatibility.  To be removed once Automake 1.9.x
2772
 
# dies out for good.  For more background, see:
2773
 
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2774
 
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2775
 
mkdir_p='$(MKDIR_P)'
2776
 
 
2777
 
# We need awk for the "check" target.  The system "awk" is bad on
2778
 
# some platforms.
2779
 
# Always define AMTAR for backward compatibility.  Yes, it's still used
2780
 
# in the wild :-(  We should find a proper way to deprecate it ...
2781
 
AMTAR='$${TAR-tar}'
2782
 
 
2783
 
 
2784
 
# We'll loop over all known methods to create a tar archive until one works.
2785
 
_am_tools='gnutar  pax cpio none'
2786
 
 
2787
 
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2788
 
 
2789
 
 
2790
 
 
2791
 
 
2792
 
 
2793
 
 
2794
 
# POSIX will say in a future version that running "rm -f" with no argument
2795
 
# is OK; and we want to be able to make that assumption in our Makefile
2796
 
# recipes.  So use an aggressive probe to check that the usage we want is
2797
 
# actually supported "in the wild" to an acceptable degree.
2798
 
# See automake bug#10828.
2799
 
# To make any issue more visible, cause the running configure to be aborted
2800
 
# by default if the 'rm' program in use doesn't match our expectations; the
2801
 
# user can still override this though.
2802
 
if rm -f && rm -fr && rm -rf; then : OK; else
2803
 
  cat >&2 <<'END'
2804
 
Oops!
2805
 
 
2806
 
Your 'rm' program seems unable to run without file operands specified
2807
 
on the command line, even when the '-f' option is present.  This is contrary
2808
 
to the behaviour of most rm programs out there, and not conforming with
2809
 
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2810
 
 
2811
 
Please tell bug-automake@gnu.org about your system, including the value
2812
 
of your $PATH and any error possibly output before this message.  This
2813
 
can help us improve future automake versions.
2814
 
 
2815
 
END
2816
 
  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2817
 
    echo 'Configuration will proceed anyway, since you have set the' >&2
2818
 
    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2819
 
    echo >&2
2820
 
  else
2821
 
    cat >&2 <<'END'
2822
 
Aborting the configuration process, to ensure you take notice of the issue.
2823
 
 
2824
 
You can download and install GNU coreutils to get an 'rm' implementation
2825
 
that behaves properly: <http://www.gnu.org/software/coreutils/>.
2826
 
 
2827
 
If you want to complete the configuration process using your problematic
2828
 
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2829
 
to "yes", and re-run configure.
2830
 
 
2831
 
END
2832
 
    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2833
 
  fi
2834
 
fi
2835
 
 
2836
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2837
 
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2838
 
    # Check whether --enable-maintainer-mode was given.
2839
 
if test "${enable_maintainer_mode+set}" = set; then :
2840
 
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2841
 
else
2842
 
  USE_MAINTAINER_MODE=no
2843
 
fi
2844
 
 
2845
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2846
 
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2847
 
   if test $USE_MAINTAINER_MODE = yes; then
2848
 
  MAINTAINER_MODE_TRUE=
2849
 
  MAINTAINER_MODE_FALSE='#'
2850
 
else
2851
 
  MAINTAINER_MODE_TRUE='#'
2852
 
  MAINTAINER_MODE_FALSE=
2853
 
fi
2854
 
 
2855
 
  MAINT=$MAINTAINER_MODE_TRUE
2856
 
 
2857
 
 
2858
 
 
2859
 
 
2860
 
 
2861
 
ac_ext=f
2862
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
2863
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2864
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
2865
 
if test -n "$ac_tool_prefix"; then
2866
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor
2867
 
  do
2868
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2869
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2870
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2871
 
$as_echo_n "checking for $ac_word... " >&6; }
2872
 
if ${ac_cv_prog_F77+:} false; then :
2873
 
  $as_echo_n "(cached) " >&6
2874
 
else
2875
 
  if test -n "$F77"; then
2876
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
2877
 
else
2878
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2879
 
for as_dir in $PATH
2880
 
do
2881
 
  IFS=$as_save_IFS
2882
 
  test -z "$as_dir" && as_dir=.
2883
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2884
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2885
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
2886
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2887
 
    break 2
2888
 
  fi
2889
 
done
2890
 
  done
2891
 
IFS=$as_save_IFS
2892
 
 
2893
 
fi
2894
 
fi
2895
 
F77=$ac_cv_prog_F77
2896
 
if test -n "$F77"; then
2897
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
2898
 
$as_echo "$F77" >&6; }
2899
 
else
2900
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2901
 
$as_echo "no" >&6; }
2902
 
fi
2903
 
 
2904
 
 
2905
 
    test -n "$F77" && break
2906
 
  done
2907
 
fi
2908
 
if test -z "$F77"; then
2909
 
  ac_ct_F77=$F77
2910
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor
2911
 
do
2912
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2913
 
set dummy $ac_prog; ac_word=$2
2914
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2915
 
$as_echo_n "checking for $ac_word... " >&6; }
2916
 
if ${ac_cv_prog_ac_ct_F77+:} false; then :
2917
 
  $as_echo_n "(cached) " >&6
2918
 
else
2919
 
  if test -n "$ac_ct_F77"; then
2920
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
2921
 
else
2922
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2923
 
for as_dir in $PATH
2924
 
do
2925
 
  IFS=$as_save_IFS
2926
 
  test -z "$as_dir" && as_dir=.
2927
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2928
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2929
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
2930
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2931
 
    break 2
2932
 
  fi
2933
 
done
2934
 
  done
2935
 
IFS=$as_save_IFS
2936
 
 
2937
 
fi
2938
 
fi
2939
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
2940
 
if test -n "$ac_ct_F77"; then
2941
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
2942
 
$as_echo "$ac_ct_F77" >&6; }
2943
 
else
2944
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2945
 
$as_echo "no" >&6; }
2946
 
fi
2947
 
 
2948
 
 
2949
 
  test -n "$ac_ct_F77" && break
2950
 
done
2951
 
 
2952
 
  if test "x$ac_ct_F77" = x; then
2953
 
    F77=""
2954
 
  else
2955
 
    case $cross_compiling:$ac_tool_warned in
2956
 
yes:)
2957
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2958
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2959
 
ac_tool_warned=yes ;;
2960
 
esac
2961
 
    F77=$ac_ct_F77
2962
 
  fi
2963
 
fi
2964
 
 
2965
 
 
2966
 
# Provide some information about the compiler.
2967
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
2968
 
set X $ac_compile
2969
 
ac_compiler=$2
2970
 
for ac_option in --version -v -V -qversion; do
2971
 
  { { ac_try="$ac_compiler $ac_option >&5"
2972
 
case "(($ac_try" in
2973
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2974
 
  *) ac_try_echo=$ac_try;;
2975
 
esac
2976
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2977
 
$as_echo "$ac_try_echo"; } >&5
2978
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2979
 
  ac_status=$?
2980
 
  if test -s conftest.err; then
2981
 
    sed '10a\
2982
 
... rest of stderr output deleted ...
2983
 
         10q' conftest.err >conftest.er1
2984
 
    cat conftest.er1 >&5
2985
 
  fi
2986
 
  rm -f conftest.er1 conftest.err
2987
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2988
 
  test $ac_status = 0; }
2989
 
done
2990
 
rm -f a.out
2991
 
 
2992
 
cat > conftest.$ac_ext <<_ACEOF
2993
 
      program main
2994
 
 
2995
 
      end
2996
 
_ACEOF
2997
 
ac_clean_files_save=$ac_clean_files
2998
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2999
 
# Try to create an executable without -o first, disregard a.out.
3000
 
# It will help us diagnose broken compilers, and finding out an intuition
3001
 
# of exeext.
3002
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Fortran 77 compiler works" >&5
3003
 
$as_echo_n "checking whether the Fortran 77 compiler works... " >&6; }
3004
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3005
 
 
3006
 
# The possible output files:
3007
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3008
 
 
3009
 
ac_rmfiles=
3010
 
for ac_file in $ac_files
3011
 
do
3012
 
  case $ac_file in
3013
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3014
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3015
 
  esac
3016
 
done
3017
 
rm -f $ac_rmfiles
3018
 
 
3019
 
if { { ac_try="$ac_link_default"
3020
 
case "(($ac_try" in
3021
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3022
 
  *) ac_try_echo=$ac_try;;
3023
 
esac
3024
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3025
 
$as_echo "$ac_try_echo"; } >&5
3026
 
  (eval "$ac_link_default") 2>&5
3027
 
  ac_status=$?
3028
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3029
 
  test $ac_status = 0; }; then :
3030
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3031
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3032
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3033
 
# so that the user can short-circuit this test for compilers unknown to
3034
 
# Autoconf.
3035
 
for ac_file in $ac_files ''
3036
 
do
3037
 
  test -f "$ac_file" || continue
3038
 
  case $ac_file in
3039
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3040
 
        ;;
3041
 
    [ab].out )
3042
 
        # We found the default executable, but exeext='' is most
3043
 
        # certainly right.
3044
 
        break;;
3045
 
    *.* )
3046
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3047
 
        then :; else
3048
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3049
 
        fi
3050
 
        # We set ac_cv_exeext here because the later test for it is not
3051
 
        # safe: cross compilers may not add the suffix if given an `-o'
3052
 
        # argument, so we may need to know it at that point already.
3053
 
        # Even if this section looks crufty: it has the advantage of
3054
 
        # actually working.
3055
 
        break;;
3056
 
    * )
3057
 
        break;;
3058
 
  esac
3059
 
done
3060
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3061
 
 
3062
 
else
3063
 
  ac_file=''
3064
 
fi
3065
 
if test -z "$ac_file"; then :
3066
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3067
 
$as_echo "no" >&6; }
3068
 
$as_echo "$as_me: failed program was:" >&5
3069
 
sed 's/^/| /' conftest.$ac_ext >&5
3070
 
 
3071
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3072
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3073
 
as_fn_error 77 "Fortran 77 compiler cannot create executables
3074
 
See \`config.log' for more details" "$LINENO" 5; }
3075
 
else
3076
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3077
 
$as_echo "yes" >&6; }
3078
 
fi
3079
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler default output file name" >&5
3080
 
$as_echo_n "checking for Fortran 77 compiler default output file name... " >&6; }
3081
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3082
 
$as_echo "$ac_file" >&6; }
3083
 
ac_exeext=$ac_cv_exeext
3084
 
 
3085
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3086
 
ac_clean_files=$ac_clean_files_save
3087
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3088
 
$as_echo_n "checking for suffix of executables... " >&6; }
3089
 
if { { ac_try="$ac_link"
3090
 
case "(($ac_try" in
3091
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3092
 
  *) ac_try_echo=$ac_try;;
3093
 
esac
3094
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3095
 
$as_echo "$ac_try_echo"; } >&5
3096
 
  (eval "$ac_link") 2>&5
3097
 
  ac_status=$?
3098
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3099
 
  test $ac_status = 0; }; then :
3100
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3101
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3102
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3103
 
# `rm'.
3104
 
for ac_file in conftest.exe conftest conftest.*; do
3105
 
  test -f "$ac_file" || continue
3106
 
  case $ac_file in
3107
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3108
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3109
 
          break;;
3110
 
    * ) break;;
3111
 
  esac
3112
 
done
3113
 
else
3114
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3115
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3116
 
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3117
 
See \`config.log' for more details" "$LINENO" 5; }
3118
 
fi
3119
 
rm -f conftest conftest$ac_cv_exeext
3120
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3121
 
$as_echo "$ac_cv_exeext" >&6; }
3122
 
 
3123
 
rm -f conftest.$ac_ext
3124
 
EXEEXT=$ac_cv_exeext
3125
 
ac_exeext=$EXEEXT
3126
 
cat > conftest.$ac_ext <<_ACEOF
3127
 
      program main
3128
 
      open(unit=9,file='conftest.out')
3129
 
      close(unit=9)
3130
 
 
3131
 
      end
3132
 
_ACEOF
3133
 
ac_clean_files="$ac_clean_files conftest.out"
3134
 
# Check that the compiler produces executables we can run.  If not, either
3135
 
# the compiler is broken, or we cross compile.
3136
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3137
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3138
 
if test "$cross_compiling" != yes; then
3139
 
  { { ac_try="$ac_link"
3140
 
case "(($ac_try" in
3141
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3142
 
  *) ac_try_echo=$ac_try;;
3143
 
esac
3144
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3145
 
$as_echo "$ac_try_echo"; } >&5
3146
 
  (eval "$ac_link") 2>&5
3147
 
  ac_status=$?
3148
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3149
 
  test $ac_status = 0; }
3150
 
  if { ac_try='./conftest$ac_cv_exeext'
3151
 
  { { case "(($ac_try" in
3152
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153
 
  *) ac_try_echo=$ac_try;;
3154
 
esac
3155
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3156
 
$as_echo "$ac_try_echo"; } >&5
3157
 
  (eval "$ac_try") 2>&5
3158
 
  ac_status=$?
3159
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3160
 
  test $ac_status = 0; }; }; then
3161
 
    cross_compiling=no
3162
 
  else
3163
 
    if test "$cross_compiling" = maybe; then
3164
 
        cross_compiling=yes
3165
 
    else
3166
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3167
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3168
 
as_fn_error $? "cannot run Fortran 77 compiled programs.
3169
 
If you meant to cross compile, use \`--host'.
3170
 
See \`config.log' for more details" "$LINENO" 5; }
3171
 
    fi
3172
 
  fi
3173
 
fi
3174
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3175
 
$as_echo "$cross_compiling" >&6; }
3176
 
 
3177
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3178
 
ac_clean_files=$ac_clean_files_save
3179
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3180
 
$as_echo_n "checking for suffix of object files... " >&6; }
3181
 
if ${ac_cv_objext+:} false; then :
3182
 
  $as_echo_n "(cached) " >&6
3183
 
else
3184
 
  cat > conftest.$ac_ext <<_ACEOF
3185
 
      program main
3186
 
 
3187
 
      end
3188
 
_ACEOF
3189
 
rm -f conftest.o conftest.obj
3190
 
if { { ac_try="$ac_compile"
3191
 
case "(($ac_try" in
3192
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193
 
  *) ac_try_echo=$ac_try;;
3194
 
esac
3195
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3196
 
$as_echo "$ac_try_echo"; } >&5
3197
 
  (eval "$ac_compile") 2>&5
3198
 
  ac_status=$?
3199
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3200
 
  test $ac_status = 0; }; then :
3201
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3202
 
  test -f "$ac_file" || continue;
3203
 
  case $ac_file in
3204
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3205
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3206
 
       break;;
3207
 
  esac
3208
 
done
3209
 
else
3210
 
  $as_echo "$as_me: failed program was:" >&5
3211
 
sed 's/^/| /' conftest.$ac_ext >&5
3212
 
 
3213
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3214
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3215
 
as_fn_error $? "cannot compute suffix of object files: cannot compile
3216
 
See \`config.log' for more details" "$LINENO" 5; }
3217
 
fi
3218
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3219
 
fi
3220
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3221
 
$as_echo "$ac_cv_objext" >&6; }
3222
 
OBJEXT=$ac_cv_objext
3223
 
ac_objext=$OBJEXT
3224
 
# If we don't use `.F' as extension, the preprocessor is not run on the
3225
 
# input file.  (Note that this only needs to work for GNU compilers.)
3226
 
ac_save_ext=$ac_ext
3227
 
ac_ext=F
3228
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
3229
 
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
3230
 
if ${ac_cv_f77_compiler_gnu+:} false; then :
3231
 
  $as_echo_n "(cached) " >&6
3232
 
else
3233
 
  cat > conftest.$ac_ext <<_ACEOF
3234
 
      program main
3235
 
#ifndef __GNUC__
3236
 
       choke me
3237
 
#endif
3238
 
 
3239
 
      end
3240
 
_ACEOF
3241
 
if ac_fn_f77_try_compile "$LINENO"; then :
3242
 
  ac_compiler_gnu=yes
3243
 
else
3244
 
  ac_compiler_gnu=no
3245
 
fi
3246
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3247
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
3248
 
 
3249
 
fi
3250
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
3251
 
$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
3252
 
ac_ext=$ac_save_ext
3253
 
ac_test_FFLAGS=${FFLAGS+set}
3254
 
ac_save_FFLAGS=$FFLAGS
3255
 
FFLAGS=
3256
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
3257
 
$as_echo_n "checking whether $F77 accepts -g... " >&6; }
3258
 
if ${ac_cv_prog_f77_g+:} false; then :
3259
 
  $as_echo_n "(cached) " >&6
3260
 
else
3261
 
  FFLAGS=-g
3262
 
cat > conftest.$ac_ext <<_ACEOF
3263
 
      program main
3264
 
 
3265
 
      end
3266
 
_ACEOF
3267
 
if ac_fn_f77_try_compile "$LINENO"; then :
3268
 
  ac_cv_prog_f77_g=yes
3269
 
else
3270
 
  ac_cv_prog_f77_g=no
3271
 
fi
3272
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3273
 
 
3274
 
fi
3275
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
3276
 
$as_echo "$ac_cv_prog_f77_g" >&6; }
3277
 
if test "$ac_test_FFLAGS" = set; then
3278
 
  FFLAGS=$ac_save_FFLAGS
3279
 
elif test $ac_cv_prog_f77_g = yes; then
3280
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
3281
 
    FFLAGS="-g -O2"
3282
 
  else
3283
 
    FFLAGS="-g"
3284
 
  fi
3285
 
else
3286
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
3287
 
    FFLAGS="-O2"
3288
 
  else
3289
 
    FFLAGS=
3290
 
  fi
3291
 
fi
3292
 
 
3293
 
if test $ac_compiler_gnu = yes; then
3294
 
  G77=yes
3295
 
else
3296
 
  G77=
3297
 
fi
3298
 
ac_ext=c
3299
 
ac_cpp='$CPP $CPPFLAGS'
3300
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3301
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3302
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3303
 
 
3304
 
 
3305
 
 
3306
 
 
3307
 
 
3308
 
case `pwd` in
3309
 
  *\ * | *\     *)
3310
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3311
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3312
 
esac
3313
 
 
3314
 
 
3315
 
 
3316
 
macro_version='2.4.2'
3317
 
macro_revision='1.3337'
3318
 
 
3319
 
 
3320
 
 
3321
 
 
3322
 
 
3323
 
 
3324
 
 
3325
 
 
3326
 
 
3327
 
 
3328
 
 
3329
 
 
3330
 
 
3331
 
ltmain="$ac_aux_dir/ltmain.sh"
3332
 
 
3333
 
# Make sure we can run config.sub.
3334
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3335
 
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3336
 
 
3337
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3338
 
$as_echo_n "checking build system type... " >&6; }
3339
 
if ${ac_cv_build+:} false; then :
3340
 
  $as_echo_n "(cached) " >&6
3341
 
else
3342
 
  ac_build_alias=$build_alias
3343
 
test "x$ac_build_alias" = x &&
3344
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3345
 
test "x$ac_build_alias" = x &&
3346
 
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3347
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3348
 
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3349
 
 
3350
 
fi
3351
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3352
 
$as_echo "$ac_cv_build" >&6; }
3353
 
case $ac_cv_build in
3354
 
*-*-*) ;;
3355
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3356
 
esac
3357
 
build=$ac_cv_build
3358
 
ac_save_IFS=$IFS; IFS='-'
3359
 
set x $ac_cv_build
3360
 
shift
3361
 
build_cpu=$1
3362
 
build_vendor=$2
3363
 
shift; shift
3364
 
# Remember, the first character of IFS is used to create $*,
3365
 
# except with old shells:
3366
 
build_os=$*
3367
 
IFS=$ac_save_IFS
3368
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3369
 
 
3370
 
 
3371
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3372
 
$as_echo_n "checking host system type... " >&6; }
3373
 
if ${ac_cv_host+:} false; then :
3374
 
  $as_echo_n "(cached) " >&6
3375
 
else
3376
 
  if test "x$host_alias" = x; then
3377
 
  ac_cv_host=$ac_cv_build
3378
 
else
3379
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3380
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3381
 
fi
3382
 
 
3383
 
fi
3384
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3385
 
$as_echo "$ac_cv_host" >&6; }
3386
 
case $ac_cv_host in
3387
 
*-*-*) ;;
3388
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3389
 
esac
3390
 
host=$ac_cv_host
3391
 
ac_save_IFS=$IFS; IFS='-'
3392
 
set x $ac_cv_host
3393
 
shift
3394
 
host_cpu=$1
3395
 
host_vendor=$2
3396
 
shift; shift
3397
 
# Remember, the first character of IFS is used to create $*,
3398
 
# except with old shells:
3399
 
host_os=$*
3400
 
IFS=$ac_save_IFS
3401
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3402
 
 
3403
 
 
3404
 
# Backslashify metacharacters that are still active within
3405
 
# double-quoted strings.
3406
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3407
 
 
3408
 
# Same as above, but do not quote variable references.
3409
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
3410
 
 
3411
 
# Sed substitution to delay expansion of an escaped shell variable in a
3412
 
# double_quote_subst'ed string.
3413
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3414
 
 
3415
 
# Sed substitution to delay expansion of an escaped single quote.
3416
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3417
 
 
3418
 
# Sed substitution to avoid accidental globbing in evaled expressions
3419
 
no_glob_subst='s/\*/\\\*/g'
3420
 
 
3421
 
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3422
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3423
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3424
 
 
3425
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3426
 
$as_echo_n "checking how to print strings... " >&6; }
3427
 
# Test print first, because it will be a builtin if present.
3428
 
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3429
 
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3430
 
  ECHO='print -r --'
3431
 
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3432
 
  ECHO='printf %s\n'
3433
 
else
3434
 
  # Use this function as a fallback that always works.
3435
 
  func_fallback_echo ()
3436
 
  {
3437
 
    eval 'cat <<_LTECHO_EOF
3438
 
$1
3439
 
_LTECHO_EOF'
3440
 
  }
3441
 
  ECHO='func_fallback_echo'
3442
 
fi
3443
 
 
3444
 
# func_echo_all arg...
3445
 
# Invoke $ECHO with all args, space-separated.
3446
 
func_echo_all ()
3447
 
{
3448
 
    $ECHO ""
3449
 
}
3450
 
 
3451
 
case "$ECHO" in
3452
 
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3453
 
$as_echo "printf" >&6; } ;;
3454
 
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3455
 
$as_echo "print -r" >&6; } ;;
3456
 
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3457
 
$as_echo "cat" >&6; } ;;
3458
 
esac
3459
 
 
3460
 
 
3461
 
 
3462
 
 
3463
 
 
3464
 
 
3465
 
 
3466
 
 
3467
 
 
3468
 
 
3469
 
 
3470
 
 
3471
 
 
3472
 
 
3473
 
DEPDIR="${am__leading_dot}deps"
3474
 
 
3475
 
ac_config_commands="$ac_config_commands depfiles"
3476
 
 
3477
 
 
3478
 
am_make=${MAKE-make}
3479
 
cat > confinc << 'END'
3480
 
am__doit:
3481
 
        @echo this is the am__doit target
3482
 
.PHONY: am__doit
3483
 
END
3484
 
# If we don't find an include directive, just comment out the code.
3485
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3486
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3487
 
am__include="#"
3488
 
am__quote=
3489
 
_am_result=none
3490
 
# First try GNU make style include.
3491
 
echo "include confinc" > confmf
3492
 
# Ignore all kinds of additional output from 'make'.
3493
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3494
 
*the\ am__doit\ target*)
3495
 
  am__include=include
3496
 
  am__quote=
3497
 
  _am_result=GNU
3498
 
  ;;
3499
 
esac
3500
 
# Now try BSD make style include.
3501
 
if test "$am__include" = "#"; then
3502
 
   echo '.include "confinc"' > confmf
3503
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3504
 
   *the\ am__doit\ target*)
3505
 
     am__include=.include
3506
 
     am__quote="\""
3507
 
     _am_result=BSD
3508
 
     ;;
3509
 
   esac
3510
 
fi
3511
 
 
3512
 
 
3513
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3514
 
$as_echo "$_am_result" >&6; }
3515
 
rm -f confinc confmf
3516
 
 
3517
 
# Check whether --enable-dependency-tracking was given.
3518
 
if test "${enable_dependency_tracking+set}" = set; then :
3519
 
  enableval=$enable_dependency_tracking;
3520
 
fi
3521
 
 
3522
 
if test "x$enable_dependency_tracking" != xno; then
3523
 
  am_depcomp="$ac_aux_dir/depcomp"
3524
 
  AMDEPBACKSLASH='\'
3525
 
  am__nodep='_no'
3526
 
fi
3527
 
 if test "x$enable_dependency_tracking" != xno; then
3528
 
  AMDEP_TRUE=
3529
 
  AMDEP_FALSE='#'
3530
 
else
3531
 
  AMDEP_TRUE='#'
3532
 
  AMDEP_FALSE=
3533
 
fi
3534
 
 
3535
 
 
3536
 
ac_ext=c
3537
 
ac_cpp='$CPP $CPPFLAGS'
3538
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3539
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3540
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3541
 
if test -n "$ac_tool_prefix"; then
3542
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3543
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3544
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3545
 
$as_echo_n "checking for $ac_word... " >&6; }
3546
 
if ${ac_cv_prog_CC+:} false; then :
3547
 
  $as_echo_n "(cached) " >&6
3548
 
else
3549
 
  if test -n "$CC"; then
3550
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3551
 
else
3552
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3553
 
for as_dir in $PATH
3554
 
do
3555
 
  IFS=$as_save_IFS
3556
 
  test -z "$as_dir" && as_dir=.
3557
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3558
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3559
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3560
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3561
 
    break 2
3562
 
  fi
3563
 
done
3564
 
  done
3565
 
IFS=$as_save_IFS
3566
 
 
3567
 
fi
3568
 
fi
3569
 
CC=$ac_cv_prog_CC
3570
 
if test -n "$CC"; then
3571
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3572
 
$as_echo "$CC" >&6; }
3573
 
else
3574
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575
 
$as_echo "no" >&6; }
3576
 
fi
3577
 
 
3578
 
 
3579
 
fi
3580
 
if test -z "$ac_cv_prog_CC"; then
3581
 
  ac_ct_CC=$CC
3582
 
  # Extract the first word of "gcc", so it can be a program name with args.
3583
 
set dummy gcc; ac_word=$2
3584
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3585
 
$as_echo_n "checking for $ac_word... " >&6; }
3586
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3587
 
  $as_echo_n "(cached) " >&6
3588
 
else
3589
 
  if test -n "$ac_ct_CC"; then
3590
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3591
 
else
3592
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593
 
for as_dir in $PATH
3594
 
do
3595
 
  IFS=$as_save_IFS
3596
 
  test -z "$as_dir" && as_dir=.
3597
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3598
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3599
 
    ac_cv_prog_ac_ct_CC="gcc"
3600
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3601
 
    break 2
3602
 
  fi
3603
 
done
3604
 
  done
3605
 
IFS=$as_save_IFS
3606
 
 
3607
 
fi
3608
 
fi
3609
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3610
 
if test -n "$ac_ct_CC"; then
3611
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3612
 
$as_echo "$ac_ct_CC" >&6; }
3613
 
else
3614
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615
 
$as_echo "no" >&6; }
3616
 
fi
3617
 
 
3618
 
  if test "x$ac_ct_CC" = x; then
3619
 
    CC=""
3620
 
  else
3621
 
    case $cross_compiling:$ac_tool_warned in
3622
 
yes:)
3623
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3624
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3625
 
ac_tool_warned=yes ;;
3626
 
esac
3627
 
    CC=$ac_ct_CC
3628
 
  fi
3629
 
else
3630
 
  CC="$ac_cv_prog_CC"
3631
 
fi
3632
 
 
3633
 
if test -z "$CC"; then
3634
 
          if test -n "$ac_tool_prefix"; then
3635
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3636
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3637
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638
 
$as_echo_n "checking for $ac_word... " >&6; }
3639
 
if ${ac_cv_prog_CC+:} false; then :
3640
 
  $as_echo_n "(cached) " >&6
3641
 
else
3642
 
  if test -n "$CC"; then
3643
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3644
 
else
3645
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3646
 
for as_dir in $PATH
3647
 
do
3648
 
  IFS=$as_save_IFS
3649
 
  test -z "$as_dir" && as_dir=.
3650
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3651
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3652
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3653
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3654
 
    break 2
3655
 
  fi
3656
 
done
3657
 
  done
3658
 
IFS=$as_save_IFS
3659
 
 
3660
 
fi
3661
 
fi
3662
 
CC=$ac_cv_prog_CC
3663
 
if test -n "$CC"; then
3664
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3665
 
$as_echo "$CC" >&6; }
3666
 
else
3667
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668
 
$as_echo "no" >&6; }
3669
 
fi
3670
 
 
3671
 
 
3672
 
  fi
3673
 
fi
3674
 
if test -z "$CC"; then
3675
 
  # Extract the first word of "cc", so it can be a program name with args.
3676
 
set dummy cc; ac_word=$2
3677
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3678
 
$as_echo_n "checking for $ac_word... " >&6; }
3679
 
if ${ac_cv_prog_CC+:} false; then :
3680
 
  $as_echo_n "(cached) " >&6
3681
 
else
3682
 
  if test -n "$CC"; then
3683
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3684
 
else
3685
 
  ac_prog_rejected=no
3686
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3687
 
for as_dir in $PATH
3688
 
do
3689
 
  IFS=$as_save_IFS
3690
 
  test -z "$as_dir" && as_dir=.
3691
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3692
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3693
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3694
 
       ac_prog_rejected=yes
3695
 
       continue
3696
 
     fi
3697
 
    ac_cv_prog_CC="cc"
3698
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3699
 
    break 2
3700
 
  fi
3701
 
done
3702
 
  done
3703
 
IFS=$as_save_IFS
3704
 
 
3705
 
if test $ac_prog_rejected = yes; then
3706
 
  # We found a bogon in the path, so make sure we never use it.
3707
 
  set dummy $ac_cv_prog_CC
3708
 
  shift
3709
 
  if test $# != 0; then
3710
 
    # We chose a different compiler from the bogus one.
3711
 
    # However, it has the same basename, so the bogon will be chosen
3712
 
    # first if we set CC to just the basename; use the full file name.
3713
 
    shift
3714
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3715
 
  fi
3716
 
fi
3717
 
fi
3718
 
fi
3719
 
CC=$ac_cv_prog_CC
3720
 
if test -n "$CC"; then
3721
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3722
 
$as_echo "$CC" >&6; }
3723
 
else
3724
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3725
 
$as_echo "no" >&6; }
3726
 
fi
3727
 
 
3728
 
 
3729
 
fi
3730
 
if test -z "$CC"; then
3731
 
  if test -n "$ac_tool_prefix"; then
3732
 
  for ac_prog in cl.exe
3733
 
  do
3734
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3735
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3736
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3737
 
$as_echo_n "checking for $ac_word... " >&6; }
3738
 
if ${ac_cv_prog_CC+:} false; then :
3739
 
  $as_echo_n "(cached) " >&6
3740
 
else
3741
 
  if test -n "$CC"; then
3742
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3743
 
else
3744
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3745
 
for as_dir in $PATH
3746
 
do
3747
 
  IFS=$as_save_IFS
3748
 
  test -z "$as_dir" && as_dir=.
3749
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3750
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3751
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3752
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3753
 
    break 2
3754
 
  fi
3755
 
done
3756
 
  done
3757
 
IFS=$as_save_IFS
3758
 
 
3759
 
fi
3760
 
fi
3761
 
CC=$ac_cv_prog_CC
3762
 
if test -n "$CC"; then
3763
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3764
 
$as_echo "$CC" >&6; }
3765
 
else
3766
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3767
 
$as_echo "no" >&6; }
3768
 
fi
3769
 
 
3770
 
 
3771
 
    test -n "$CC" && break
3772
 
  done
3773
 
fi
3774
 
if test -z "$CC"; then
3775
 
  ac_ct_CC=$CC
3776
 
  for ac_prog in cl.exe
3777
 
do
3778
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3779
 
set dummy $ac_prog; ac_word=$2
3780
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781
 
$as_echo_n "checking for $ac_word... " >&6; }
3782
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3783
 
  $as_echo_n "(cached) " >&6
3784
 
else
3785
 
  if test -n "$ac_ct_CC"; then
3786
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3787
 
else
3788
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3789
 
for as_dir in $PATH
3790
 
do
3791
 
  IFS=$as_save_IFS
3792
 
  test -z "$as_dir" && as_dir=.
3793
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3794
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3795
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3796
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3797
 
    break 2
3798
 
  fi
3799
 
done
3800
 
  done
3801
 
IFS=$as_save_IFS
3802
 
 
3803
 
fi
3804
 
fi
3805
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3806
 
if test -n "$ac_ct_CC"; then
3807
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3808
 
$as_echo "$ac_ct_CC" >&6; }
3809
 
else
3810
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3811
 
$as_echo "no" >&6; }
3812
 
fi
3813
 
 
3814
 
 
3815
 
  test -n "$ac_ct_CC" && break
3816
 
done
3817
 
 
3818
 
  if test "x$ac_ct_CC" = x; then
3819
 
    CC=""
3820
 
  else
3821
 
    case $cross_compiling:$ac_tool_warned in
3822
 
yes:)
3823
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3824
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3825
 
ac_tool_warned=yes ;;
3826
 
esac
3827
 
    CC=$ac_ct_CC
3828
 
  fi
3829
 
fi
3830
 
 
3831
 
fi
3832
 
 
3833
 
 
3834
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3835
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3836
 
as_fn_error $? "no acceptable C compiler found in \$PATH
3837
 
See \`config.log' for more details" "$LINENO" 5; }
3838
 
 
3839
 
# Provide some information about the compiler.
3840
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3841
 
set X $ac_compile
3842
 
ac_compiler=$2
3843
 
for ac_option in --version -v -V -qversion; do
3844
 
  { { ac_try="$ac_compiler $ac_option >&5"
3845
 
case "(($ac_try" in
3846
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3847
 
  *) ac_try_echo=$ac_try;;
3848
 
esac
3849
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3850
 
$as_echo "$ac_try_echo"; } >&5
3851
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3852
 
  ac_status=$?
3853
 
  if test -s conftest.err; then
3854
 
    sed '10a\
3855
 
... rest of stderr output deleted ...
3856
 
         10q' conftest.err >conftest.er1
3857
 
    cat conftest.er1 >&5
3858
 
  fi
3859
 
  rm -f conftest.er1 conftest.err
3860
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3861
 
  test $ac_status = 0; }
3862
 
done
3863
 
 
3864
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3865
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3866
 
if ${ac_cv_c_compiler_gnu+:} false; then :
3867
 
  $as_echo_n "(cached) " >&6
3868
 
else
3869
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870
 
/* end confdefs.h.  */
3871
 
 
3872
 
int
3873
 
main ()
3874
 
{
3875
 
#ifndef __GNUC__
3876
 
       choke me
3877
 
#endif
3878
 
 
3879
 
  ;
3880
 
  return 0;
3881
 
}
3882
 
_ACEOF
3883
 
if ac_fn_c_try_compile "$LINENO"; then :
3884
 
  ac_compiler_gnu=yes
3885
 
else
3886
 
  ac_compiler_gnu=no
3887
 
fi
3888
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3889
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3890
 
 
3891
 
fi
3892
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3893
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3894
 
if test $ac_compiler_gnu = yes; then
3895
 
  GCC=yes
3896
 
else
3897
 
  GCC=
3898
 
fi
3899
 
ac_test_CFLAGS=${CFLAGS+set}
3900
 
ac_save_CFLAGS=$CFLAGS
3901
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3902
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3903
 
if ${ac_cv_prog_cc_g+:} false; then :
3904
 
  $as_echo_n "(cached) " >&6
3905
 
else
3906
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3907
 
   ac_c_werror_flag=yes
3908
 
   ac_cv_prog_cc_g=no
3909
 
   CFLAGS="-g"
3910
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3911
 
/* end confdefs.h.  */
3912
 
 
3913
 
int
3914
 
main ()
3915
 
{
3916
 
 
3917
 
  ;
3918
 
  return 0;
3919
 
}
3920
 
_ACEOF
3921
 
if ac_fn_c_try_compile "$LINENO"; then :
3922
 
  ac_cv_prog_cc_g=yes
3923
 
else
3924
 
  CFLAGS=""
3925
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926
 
/* end confdefs.h.  */
3927
 
 
3928
 
int
3929
 
main ()
3930
 
{
3931
 
 
3932
 
  ;
3933
 
  return 0;
3934
 
}
3935
 
_ACEOF
3936
 
if ac_fn_c_try_compile "$LINENO"; then :
3937
 
 
3938
 
else
3939
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3940
 
         CFLAGS="-g"
3941
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3942
 
/* end confdefs.h.  */
3943
 
 
3944
 
int
3945
 
main ()
3946
 
{
3947
 
 
3948
 
  ;
3949
 
  return 0;
3950
 
}
3951
 
_ACEOF
3952
 
if ac_fn_c_try_compile "$LINENO"; then :
3953
 
  ac_cv_prog_cc_g=yes
3954
 
fi
3955
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3956
 
fi
3957
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3958
 
fi
3959
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3960
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3961
 
fi
3962
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3963
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3964
 
if test "$ac_test_CFLAGS" = set; then
3965
 
  CFLAGS=$ac_save_CFLAGS
3966
 
elif test $ac_cv_prog_cc_g = yes; then
3967
 
  if test "$GCC" = yes; then
3968
 
    CFLAGS="-g -O2"
3969
 
  else
3970
 
    CFLAGS="-g"
3971
 
  fi
3972
 
else
3973
 
  if test "$GCC" = yes; then
3974
 
    CFLAGS="-O2"
3975
 
  else
3976
 
    CFLAGS=
3977
 
  fi
3978
 
fi
3979
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3980
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3981
 
if ${ac_cv_prog_cc_c89+:} false; then :
3982
 
  $as_echo_n "(cached) " >&6
3983
 
else
3984
 
  ac_cv_prog_cc_c89=no
3985
 
ac_save_CC=$CC
3986
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3987
 
/* end confdefs.h.  */
3988
 
#include <stdarg.h>
3989
 
#include <stdio.h>
3990
 
struct stat;
3991
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3992
 
struct buf { int x; };
3993
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3994
 
static char *e (p, i)
3995
 
     char **p;
3996
 
     int i;
3997
 
{
3998
 
  return p[i];
3999
 
}
4000
 
static char *f (char * (*g) (char **, int), char **p, ...)
4001
 
{
4002
 
  char *s;
4003
 
  va_list v;
4004
 
  va_start (v,p);
4005
 
  s = g (p, va_arg (v,int));
4006
 
  va_end (v);
4007
 
  return s;
4008
 
}
4009
 
 
4010
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4011
 
   function prototypes and stuff, but not '\xHH' hex character constants.
4012
 
   These don't provoke an error unfortunately, instead are silently treated
4013
 
   as 'x'.  The following induces an error, until -std is added to get
4014
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4015
 
   array size at least.  It's necessary to write '\x00'==0 to get something
4016
 
   that's true only with -std.  */
4017
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4018
 
 
4019
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4020
 
   inside strings and character constants.  */
4021
 
#define FOO(x) 'x'
4022
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4023
 
 
4024
 
int test (int i, double x);
4025
 
struct s1 {int (*f) (int a);};
4026
 
struct s2 {int (*f) (double a);};
4027
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4028
 
int argc;
4029
 
char **argv;
4030
 
int
4031
 
main ()
4032
 
{
4033
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4034
 
  ;
4035
 
  return 0;
4036
 
}
4037
 
_ACEOF
4038
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4039
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4040
 
do
4041
 
  CC="$ac_save_CC $ac_arg"
4042
 
  if ac_fn_c_try_compile "$LINENO"; then :
4043
 
  ac_cv_prog_cc_c89=$ac_arg
4044
 
fi
4045
 
rm -f core conftest.err conftest.$ac_objext
4046
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4047
 
done
4048
 
rm -f conftest.$ac_ext
4049
 
CC=$ac_save_CC
4050
 
 
4051
 
fi
4052
 
# AC_CACHE_VAL
4053
 
case "x$ac_cv_prog_cc_c89" in
4054
 
  x)
4055
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4056
 
$as_echo "none needed" >&6; } ;;
4057
 
  xno)
4058
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4059
 
$as_echo "unsupported" >&6; } ;;
4060
 
  *)
4061
 
    CC="$CC $ac_cv_prog_cc_c89"
4062
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4063
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4064
 
esac
4065
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
4066
 
 
4067
 
fi
4068
 
 
4069
 
ac_ext=c
4070
 
ac_cpp='$CPP $CPPFLAGS'
4071
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4072
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4073
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4074
 
 
4075
 
ac_ext=c
4076
 
ac_cpp='$CPP $CPPFLAGS'
4077
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4078
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4079
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4080
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4081
 
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4082
 
if ${am_cv_prog_cc_c_o+:} false; then :
4083
 
  $as_echo_n "(cached) " >&6
4084
 
else
4085
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086
 
/* end confdefs.h.  */
4087
 
 
4088
 
int
4089
 
main ()
4090
 
{
4091
 
 
4092
 
  ;
4093
 
  return 0;
4094
 
}
4095
 
_ACEOF
4096
 
  # Make sure it works both with $CC and with simple cc.
4097
 
  # Following AC_PROG_CC_C_O, we do the test twice because some
4098
 
  # compilers refuse to overwrite an existing .o file with -o,
4099
 
  # though they will create one.
4100
 
  am_cv_prog_cc_c_o=yes
4101
 
  for am_i in 1 2; do
4102
 
    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4103
 
   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4104
 
   ac_status=$?
4105
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106
 
   (exit $ac_status); } \
4107
 
         && test -f conftest2.$ac_objext; then
4108
 
      : OK
4109
 
    else
4110
 
      am_cv_prog_cc_c_o=no
4111
 
      break
4112
 
    fi
4113
 
  done
4114
 
  rm -f core conftest*
4115
 
  unset am_i
4116
 
fi
4117
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4118
 
$as_echo "$am_cv_prog_cc_c_o" >&6; }
4119
 
if test "$am_cv_prog_cc_c_o" != yes; then
4120
 
   # Losing compiler, so override with the script.
4121
 
   # FIXME: It is wrong to rewrite CC.
4122
 
   # But if we don't then we get into trouble of one sort or another.
4123
 
   # A longer-term fix would be to have automake use am__CC in this case,
4124
 
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4125
 
   CC="$am_aux_dir/compile $CC"
4126
 
fi
4127
 
ac_ext=c
4128
 
ac_cpp='$CPP $CPPFLAGS'
4129
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4130
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4131
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4132
 
 
4133
 
 
4134
 
depcc="$CC"   am_compiler_list=
4135
 
 
4136
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4137
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
4138
 
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4139
 
  $as_echo_n "(cached) " >&6
4140
 
else
4141
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4142
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4143
 
  # making bogus files that we don't know about and never remove.  For
4144
 
  # instance it was reported that on HP-UX the gcc test will end up
4145
 
  # making a dummy file named 'D' -- because '-MD' means "put the output
4146
 
  # in D".
4147
 
  rm -rf conftest.dir
4148
 
  mkdir conftest.dir
4149
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4150
 
  # using a relative directory.
4151
 
  cp "$am_depcomp" conftest.dir
4152
 
  cd conftest.dir
4153
 
  # We will build objects and dependencies in a subdirectory because
4154
 
  # it helps to detect inapplicable dependency modes.  For instance
4155
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4156
 
  # side effect of compilation, but ICC will put the dependencies in
4157
 
  # the current directory while Tru64 will put them in the object
4158
 
  # directory.
4159
 
  mkdir sub
4160
 
 
4161
 
  am_cv_CC_dependencies_compiler_type=none
4162
 
  if test "$am_compiler_list" = ""; then
4163
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4164
 
  fi
4165
 
  am__universal=false
4166
 
  case " $depcc " in #(
4167
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4168
 
     esac
4169
 
 
4170
 
  for depmode in $am_compiler_list; do
4171
 
    # Setup a source with many dependencies, because some compilers
4172
 
    # like to wrap large dependency lists on column 80 (with \), and
4173
 
    # we should not choose a depcomp mode which is confused by this.
4174
 
    #
4175
 
    # We need to recreate these files for each test, as the compiler may
4176
 
    # overwrite some of them when testing with obscure command lines.
4177
 
    # This happens at least with the AIX C compiler.
4178
 
    : > sub/conftest.c
4179
 
    for i in 1 2 3 4 5 6; do
4180
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4181
 
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4182
 
      # Solaris 10 /bin/sh.
4183
 
      echo '/* dummy */' > sub/conftst$i.h
4184
 
    done
4185
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4186
 
 
4187
 
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4188
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4189
 
    # handle '-M -o', and we need to detect this.  Also, some Intel
4190
 
    # versions had trouble with output in subdirs.
4191
 
    am__obj=sub/conftest.${OBJEXT-o}
4192
 
    am__minus_obj="-o $am__obj"
4193
 
    case $depmode in
4194
 
    gcc)
4195
 
      # This depmode causes a compiler race in universal mode.
4196
 
      test "$am__universal" = false || continue
4197
 
      ;;
4198
 
    nosideeffect)
4199
 
      # After this tag, mechanisms are not by side-effect, so they'll
4200
 
      # only be used when explicitly requested.
4201
 
      if test "x$enable_dependency_tracking" = xyes; then
4202
 
        continue
4203
 
      else
4204
 
        break
4205
 
      fi
4206
 
      ;;
4207
 
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4208
 
      # This compiler won't grok '-c -o', but also, the minuso test has
4209
 
      # not run yet.  These depmodes are late enough in the game, and
4210
 
      # so weak that their functioning should not be impacted.
4211
 
      am__obj=conftest.${OBJEXT-o}
4212
 
      am__minus_obj=
4213
 
      ;;
4214
 
    none) break ;;
4215
 
    esac
4216
 
    if depmode=$depmode \
4217
 
       source=sub/conftest.c object=$am__obj \
4218
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4219
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4220
 
         >/dev/null 2>conftest.err &&
4221
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4222
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4223
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4224
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4225
 
      # icc doesn't choke on unknown options, it will just issue warnings
4226
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4227
 
      # that says an option was ignored or not supported.
4228
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4229
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4230
 
      # The diagnosis changed in icc 8.0:
4231
 
      #   icc: Command line remark: option '-MP' not supported
4232
 
      if (grep 'ignoring option' conftest.err ||
4233
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4234
 
        am_cv_CC_dependencies_compiler_type=$depmode
4235
 
        break
4236
 
      fi
4237
 
    fi
4238
 
  done
4239
 
 
4240
 
  cd ..
4241
 
  rm -rf conftest.dir
4242
 
else
4243
 
  am_cv_CC_dependencies_compiler_type=none
4244
 
fi
4245
 
 
4246
 
fi
4247
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4248
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4249
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4250
 
 
4251
 
 if
4252
 
  test "x$enable_dependency_tracking" != xno \
4253
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4254
 
  am__fastdepCC_TRUE=
4255
 
  am__fastdepCC_FALSE='#'
4256
 
else
4257
 
  am__fastdepCC_TRUE='#'
4258
 
  am__fastdepCC_FALSE=
4259
 
fi
4260
 
 
4261
 
 
4262
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4263
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4264
 
if ${ac_cv_path_SED+:} false; then :
4265
 
  $as_echo_n "(cached) " >&6
4266
 
else
4267
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4268
 
     for ac_i in 1 2 3 4 5 6 7; do
4269
 
       ac_script="$ac_script$as_nl$ac_script"
4270
 
     done
4271
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4272
 
     { ac_script=; unset ac_script;}
4273
 
     if test -z "$SED"; then
4274
 
  ac_path_SED_found=false
4275
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4276
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4277
 
for as_dir in $PATH
4278
 
do
4279
 
  IFS=$as_save_IFS
4280
 
  test -z "$as_dir" && as_dir=.
4281
 
    for ac_prog in sed gsed; do
4282
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4283
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4284
 
      as_fn_executable_p "$ac_path_SED" || continue
4285
 
# Check for GNU ac_path_SED and select it if it is found.
4286
 
  # Check for GNU $ac_path_SED
4287
 
case `"$ac_path_SED" --version 2>&1` in
4288
 
*GNU*)
4289
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4290
 
*)
4291
 
  ac_count=0
4292
 
  $as_echo_n 0123456789 >"conftest.in"
4293
 
  while :
4294
 
  do
4295
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4296
 
    mv "conftest.tmp" "conftest.in"
4297
 
    cp "conftest.in" "conftest.nl"
4298
 
    $as_echo '' >> "conftest.nl"
4299
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4300
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4301
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4302
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4303
 
      # Best one so far, save it but keep looking for a better one
4304
 
      ac_cv_path_SED="$ac_path_SED"
4305
 
      ac_path_SED_max=$ac_count
4306
 
    fi
4307
 
    # 10*(2^10) chars as input seems more than enough
4308
 
    test $ac_count -gt 10 && break
4309
 
  done
4310
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4311
 
esac
4312
 
 
4313
 
      $ac_path_SED_found && break 3
4314
 
    done
4315
 
  done
4316
 
  done
4317
 
IFS=$as_save_IFS
4318
 
  if test -z "$ac_cv_path_SED"; then
4319
 
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4320
 
  fi
4321
 
else
4322
 
  ac_cv_path_SED=$SED
4323
 
fi
4324
 
 
4325
 
fi
4326
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4327
 
$as_echo "$ac_cv_path_SED" >&6; }
4328
 
 SED="$ac_cv_path_SED"
4329
 
  rm -f conftest.sed
4330
 
 
4331
 
test -z "$SED" && SED=sed
4332
 
Xsed="$SED -e 1s/^X//"
4333
 
 
4334
 
 
4335
 
 
4336
 
 
4337
 
 
4338
 
 
4339
 
 
4340
 
 
4341
 
 
4342
 
 
4343
 
 
4344
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4345
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4346
 
if ${ac_cv_path_GREP+:} false; then :
4347
 
  $as_echo_n "(cached) " >&6
4348
 
else
4349
 
  if test -z "$GREP"; then
4350
 
  ac_path_GREP_found=false
4351
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4352
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4353
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4354
 
do
4355
 
  IFS=$as_save_IFS
4356
 
  test -z "$as_dir" && as_dir=.
4357
 
    for ac_prog in grep ggrep; do
4358
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4359
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4360
 
      as_fn_executable_p "$ac_path_GREP" || continue
4361
 
# Check for GNU ac_path_GREP and select it if it is found.
4362
 
  # Check for GNU $ac_path_GREP
4363
 
case `"$ac_path_GREP" --version 2>&1` in
4364
 
*GNU*)
4365
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4366
 
*)
4367
 
  ac_count=0
4368
 
  $as_echo_n 0123456789 >"conftest.in"
4369
 
  while :
4370
 
  do
4371
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4372
 
    mv "conftest.tmp" "conftest.in"
4373
 
    cp "conftest.in" "conftest.nl"
4374
 
    $as_echo 'GREP' >> "conftest.nl"
4375
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4376
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4377
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4378
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4379
 
      # Best one so far, save it but keep looking for a better one
4380
 
      ac_cv_path_GREP="$ac_path_GREP"
4381
 
      ac_path_GREP_max=$ac_count
4382
 
    fi
4383
 
    # 10*(2^10) chars as input seems more than enough
4384
 
    test $ac_count -gt 10 && break
4385
 
  done
4386
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4387
 
esac
4388
 
 
4389
 
      $ac_path_GREP_found && break 3
4390
 
    done
4391
 
  done
4392
 
  done
4393
 
IFS=$as_save_IFS
4394
 
  if test -z "$ac_cv_path_GREP"; then
4395
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4396
 
  fi
4397
 
else
4398
 
  ac_cv_path_GREP=$GREP
4399
 
fi
4400
 
 
4401
 
fi
4402
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4403
 
$as_echo "$ac_cv_path_GREP" >&6; }
4404
 
 GREP="$ac_cv_path_GREP"
4405
 
 
4406
 
 
4407
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4408
 
$as_echo_n "checking for egrep... " >&6; }
4409
 
if ${ac_cv_path_EGREP+:} false; then :
4410
 
  $as_echo_n "(cached) " >&6
4411
 
else
4412
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4413
 
   then ac_cv_path_EGREP="$GREP -E"
4414
 
   else
4415
 
     if test -z "$EGREP"; then
4416
 
  ac_path_EGREP_found=false
4417
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4418
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4420
 
do
4421
 
  IFS=$as_save_IFS
4422
 
  test -z "$as_dir" && as_dir=.
4423
 
    for ac_prog in egrep; do
4424
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4425
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4426
 
      as_fn_executable_p "$ac_path_EGREP" || continue
4427
 
# Check for GNU ac_path_EGREP and select it if it is found.
4428
 
  # Check for GNU $ac_path_EGREP
4429
 
case `"$ac_path_EGREP" --version 2>&1` in
4430
 
*GNU*)
4431
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4432
 
*)
4433
 
  ac_count=0
4434
 
  $as_echo_n 0123456789 >"conftest.in"
4435
 
  while :
4436
 
  do
4437
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4438
 
    mv "conftest.tmp" "conftest.in"
4439
 
    cp "conftest.in" "conftest.nl"
4440
 
    $as_echo 'EGREP' >> "conftest.nl"
4441
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4442
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4443
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4444
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4445
 
      # Best one so far, save it but keep looking for a better one
4446
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4447
 
      ac_path_EGREP_max=$ac_count
4448
 
    fi
4449
 
    # 10*(2^10) chars as input seems more than enough
4450
 
    test $ac_count -gt 10 && break
4451
 
  done
4452
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4453
 
esac
4454
 
 
4455
 
      $ac_path_EGREP_found && break 3
4456
 
    done
4457
 
  done
4458
 
  done
4459
 
IFS=$as_save_IFS
4460
 
  if test -z "$ac_cv_path_EGREP"; then
4461
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4462
 
  fi
4463
 
else
4464
 
  ac_cv_path_EGREP=$EGREP
4465
 
fi
4466
 
 
4467
 
   fi
4468
 
fi
4469
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4470
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4471
 
 EGREP="$ac_cv_path_EGREP"
4472
 
 
4473
 
 
4474
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4475
 
$as_echo_n "checking for fgrep... " >&6; }
4476
 
if ${ac_cv_path_FGREP+:} false; then :
4477
 
  $as_echo_n "(cached) " >&6
4478
 
else
4479
 
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4480
 
   then ac_cv_path_FGREP="$GREP -F"
4481
 
   else
4482
 
     if test -z "$FGREP"; then
4483
 
  ac_path_FGREP_found=false
4484
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4485
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4486
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4487
 
do
4488
 
  IFS=$as_save_IFS
4489
 
  test -z "$as_dir" && as_dir=.
4490
 
    for ac_prog in fgrep; do
4491
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4492
 
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4493
 
      as_fn_executable_p "$ac_path_FGREP" || continue
4494
 
# Check for GNU ac_path_FGREP and select it if it is found.
4495
 
  # Check for GNU $ac_path_FGREP
4496
 
case `"$ac_path_FGREP" --version 2>&1` in
4497
 
*GNU*)
4498
 
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4499
 
*)
4500
 
  ac_count=0
4501
 
  $as_echo_n 0123456789 >"conftest.in"
4502
 
  while :
4503
 
  do
4504
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4505
 
    mv "conftest.tmp" "conftest.in"
4506
 
    cp "conftest.in" "conftest.nl"
4507
 
    $as_echo 'FGREP' >> "conftest.nl"
4508
 
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4509
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4510
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4511
 
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4512
 
      # Best one so far, save it but keep looking for a better one
4513
 
      ac_cv_path_FGREP="$ac_path_FGREP"
4514
 
      ac_path_FGREP_max=$ac_count
4515
 
    fi
4516
 
    # 10*(2^10) chars as input seems more than enough
4517
 
    test $ac_count -gt 10 && break
4518
 
  done
4519
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4520
 
esac
4521
 
 
4522
 
      $ac_path_FGREP_found && break 3
4523
 
    done
4524
 
  done
4525
 
  done
4526
 
IFS=$as_save_IFS
4527
 
  if test -z "$ac_cv_path_FGREP"; then
4528
 
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4529
 
  fi
4530
 
else
4531
 
  ac_cv_path_FGREP=$FGREP
4532
 
fi
4533
 
 
4534
 
   fi
4535
 
fi
4536
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4537
 
$as_echo "$ac_cv_path_FGREP" >&6; }
4538
 
 FGREP="$ac_cv_path_FGREP"
4539
 
 
4540
 
 
4541
 
test -z "$GREP" && GREP=grep
4542
 
 
4543
 
 
4544
 
 
4545
 
 
4546
 
 
4547
 
 
4548
 
 
4549
 
 
4550
 
 
4551
 
 
4552
 
 
4553
 
 
4554
 
 
4555
 
 
4556
 
 
4557
 
 
4558
 
 
4559
 
 
4560
 
 
4561
 
# Check whether --with-gnu-ld was given.
4562
 
if test "${with_gnu_ld+set}" = set; then :
4563
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4564
 
else
4565
 
  with_gnu_ld=no
4566
 
fi
4567
 
 
4568
 
ac_prog=ld
4569
 
if test "$GCC" = yes; then
4570
 
  # Check if gcc -print-prog-name=ld gives a path.
4571
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4572
 
$as_echo_n "checking for ld used by $CC... " >&6; }
4573
 
  case $host in
4574
 
  *-*-mingw*)
4575
 
    # gcc leaves a trailing carriage return which upsets mingw
4576
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4577
 
  *)
4578
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4579
 
  esac
4580
 
  case $ac_prog in
4581
 
    # Accept absolute paths.
4582
 
    [\\/]* | ?:[\\/]*)
4583
 
      re_direlt='/[^/][^/]*/\.\./'
4584
 
      # Canonicalize the pathname of ld
4585
 
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4586
 
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4587
 
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4588
 
      done
4589
 
      test -z "$LD" && LD="$ac_prog"
4590
 
      ;;
4591
 
  "")
4592
 
    # If it fails, then pretend we aren't using GCC.
4593
 
    ac_prog=ld
4594
 
    ;;
4595
 
  *)
4596
 
    # If it is relative, then search for the first ld in PATH.
4597
 
    with_gnu_ld=unknown
4598
 
    ;;
4599
 
  esac
4600
 
elif test "$with_gnu_ld" = yes; then
4601
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4602
 
$as_echo_n "checking for GNU ld... " >&6; }
4603
 
else
4604
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4605
 
$as_echo_n "checking for non-GNU ld... " >&6; }
4606
 
fi
4607
 
if ${lt_cv_path_LD+:} false; then :
4608
 
  $as_echo_n "(cached) " >&6
4609
 
else
4610
 
  if test -z "$LD"; then
4611
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4612
 
  for ac_dir in $PATH; do
4613
 
    IFS="$lt_save_ifs"
4614
 
    test -z "$ac_dir" && ac_dir=.
4615
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4616
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
4617
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
4618
 
      # but apparently some variants of GNU ld only accept -v.
4619
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
4620
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4621
 
      *GNU* | *'with BFD'*)
4622
 
        test "$with_gnu_ld" != no && break
4623
 
        ;;
4624
 
      *)
4625
 
        test "$with_gnu_ld" != yes && break
4626
 
        ;;
4627
 
      esac
4628
 
    fi
4629
 
  done
4630
 
  IFS="$lt_save_ifs"
4631
 
else
4632
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4633
 
fi
4634
 
fi
4635
 
 
4636
 
LD="$lt_cv_path_LD"
4637
 
if test -n "$LD"; then
4638
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4639
 
$as_echo "$LD" >&6; }
4640
 
else
4641
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4642
 
$as_echo "no" >&6; }
4643
 
fi
4644
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4645
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4646
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4647
 
if ${lt_cv_prog_gnu_ld+:} false; then :
4648
 
  $as_echo_n "(cached) " >&6
4649
 
else
4650
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4651
 
case `$LD -v 2>&1 </dev/null` in
4652
 
*GNU* | *'with BFD'*)
4653
 
  lt_cv_prog_gnu_ld=yes
4654
 
  ;;
4655
 
*)
4656
 
  lt_cv_prog_gnu_ld=no
4657
 
  ;;
4658
 
esac
4659
 
fi
4660
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4661
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4662
 
with_gnu_ld=$lt_cv_prog_gnu_ld
4663
 
 
4664
 
 
4665
 
 
4666
 
 
4667
 
 
4668
 
 
4669
 
 
4670
 
 
4671
 
 
4672
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4673
 
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4674
 
if ${lt_cv_path_NM+:} false; then :
4675
 
  $as_echo_n "(cached) " >&6
4676
 
else
4677
 
  if test -n "$NM"; then
4678
 
  # Let the user override the test.
4679
 
  lt_cv_path_NM="$NM"
4680
 
else
4681
 
  lt_nm_to_check="${ac_tool_prefix}nm"
4682
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4683
 
    lt_nm_to_check="$lt_nm_to_check nm"
4684
 
  fi
4685
 
  for lt_tmp_nm in $lt_nm_to_check; do
4686
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4687
 
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4688
 
      IFS="$lt_save_ifs"
4689
 
      test -z "$ac_dir" && ac_dir=.
4690
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
4691
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4692
 
        # Check to see if the nm accepts a BSD-compat flag.
4693
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4694
 
        #   nm: unknown option "B" ignored
4695
 
        # Tru64's nm complains that /dev/null is an invalid object file
4696
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4697
 
        */dev/null* | *'Invalid file or object type'*)
4698
 
          lt_cv_path_NM="$tmp_nm -B"
4699
 
          break
4700
 
          ;;
4701
 
        *)
4702
 
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4703
 
          */dev/null*)
4704
 
            lt_cv_path_NM="$tmp_nm -p"
4705
 
            break
4706
 
            ;;
4707
 
          *)
4708
 
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4709
 
            continue # so that we can try to find one that supports BSD flags
4710
 
            ;;
4711
 
          esac
4712
 
          ;;
4713
 
        esac
4714
 
      fi
4715
 
    done
4716
 
    IFS="$lt_save_ifs"
4717
 
  done
4718
 
  : ${lt_cv_path_NM=no}
4719
 
fi
4720
 
fi
4721
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4722
 
$as_echo "$lt_cv_path_NM" >&6; }
4723
 
if test "$lt_cv_path_NM" != "no"; then
4724
 
  NM="$lt_cv_path_NM"
4725
 
else
4726
 
  # Didn't find any BSD compatible name lister, look for dumpbin.
4727
 
  if test -n "$DUMPBIN"; then :
4728
 
    # Let the user override the test.
4729
 
  else
4730
 
    if test -n "$ac_tool_prefix"; then
4731
 
  for ac_prog in dumpbin "link -dump"
4732
 
  do
4733
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4734
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4735
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4736
 
$as_echo_n "checking for $ac_word... " >&6; }
4737
 
if ${ac_cv_prog_DUMPBIN+:} false; then :
4738
 
  $as_echo_n "(cached) " >&6
4739
 
else
4740
 
  if test -n "$DUMPBIN"; then
4741
 
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4742
 
else
4743
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4744
 
for as_dir in $PATH
4745
 
do
4746
 
  IFS=$as_save_IFS
4747
 
  test -z "$as_dir" && as_dir=.
4748
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4749
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4750
 
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4751
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4752
 
    break 2
4753
 
  fi
4754
 
done
4755
 
  done
4756
 
IFS=$as_save_IFS
4757
 
 
4758
 
fi
4759
 
fi
4760
 
DUMPBIN=$ac_cv_prog_DUMPBIN
4761
 
if test -n "$DUMPBIN"; then
4762
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4763
 
$as_echo "$DUMPBIN" >&6; }
4764
 
else
4765
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4766
 
$as_echo "no" >&6; }
4767
 
fi
4768
 
 
4769
 
 
4770
 
    test -n "$DUMPBIN" && break
4771
 
  done
4772
 
fi
4773
 
if test -z "$DUMPBIN"; then
4774
 
  ac_ct_DUMPBIN=$DUMPBIN
4775
 
  for ac_prog in dumpbin "link -dump"
4776
 
do
4777
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4778
 
set dummy $ac_prog; ac_word=$2
4779
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4780
 
$as_echo_n "checking for $ac_word... " >&6; }
4781
 
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4782
 
  $as_echo_n "(cached) " >&6
4783
 
else
4784
 
  if test -n "$ac_ct_DUMPBIN"; then
4785
 
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4786
 
else
4787
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4788
 
for as_dir in $PATH
4789
 
do
4790
 
  IFS=$as_save_IFS
4791
 
  test -z "$as_dir" && as_dir=.
4792
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4793
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4794
 
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4795
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4796
 
    break 2
4797
 
  fi
4798
 
done
4799
 
  done
4800
 
IFS=$as_save_IFS
4801
 
 
4802
 
fi
4803
 
fi
4804
 
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4805
 
if test -n "$ac_ct_DUMPBIN"; then
4806
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4807
 
$as_echo "$ac_ct_DUMPBIN" >&6; }
4808
 
else
4809
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4810
 
$as_echo "no" >&6; }
4811
 
fi
4812
 
 
4813
 
 
4814
 
  test -n "$ac_ct_DUMPBIN" && break
4815
 
done
4816
 
 
4817
 
  if test "x$ac_ct_DUMPBIN" = x; then
4818
 
    DUMPBIN=":"
4819
 
  else
4820
 
    case $cross_compiling:$ac_tool_warned in
4821
 
yes:)
4822
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4823
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4824
 
ac_tool_warned=yes ;;
4825
 
esac
4826
 
    DUMPBIN=$ac_ct_DUMPBIN
4827
 
  fi
4828
 
fi
4829
 
 
4830
 
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4831
 
    *COFF*)
4832
 
      DUMPBIN="$DUMPBIN -symbols"
4833
 
      ;;
4834
 
    *)
4835
 
      DUMPBIN=:
4836
 
      ;;
4837
 
    esac
4838
 
  fi
4839
 
 
4840
 
  if test "$DUMPBIN" != ":"; then
4841
 
    NM="$DUMPBIN"
4842
 
  fi
4843
 
fi
4844
 
test -z "$NM" && NM=nm
4845
 
 
4846
 
 
4847
 
 
4848
 
 
4849
 
 
4850
 
 
4851
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4852
 
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4853
 
if ${lt_cv_nm_interface+:} false; then :
4854
 
  $as_echo_n "(cached) " >&6
4855
 
else
4856
 
  lt_cv_nm_interface="BSD nm"
4857
 
  echo "int some_variable = 0;" > conftest.$ac_ext
4858
 
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4859
 
  (eval "$ac_compile" 2>conftest.err)
4860
 
  cat conftest.err >&5
4861
 
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4862
 
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4863
 
  cat conftest.err >&5
4864
 
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4865
 
  cat conftest.out >&5
4866
 
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4867
 
    lt_cv_nm_interface="MS dumpbin"
4868
 
  fi
4869
 
  rm -f conftest*
4870
 
fi
4871
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4872
 
$as_echo "$lt_cv_nm_interface" >&6; }
4873
 
 
4874
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4875
 
$as_echo_n "checking whether ln -s works... " >&6; }
4876
 
LN_S=$as_ln_s
4877
 
if test "$LN_S" = "ln -s"; then
4878
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4879
 
$as_echo "yes" >&6; }
4880
 
else
4881
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4882
 
$as_echo "no, using $LN_S" >&6; }
4883
 
fi
4884
 
 
4885
 
# find the maximum length of command line arguments
4886
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4887
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4888
 
if ${lt_cv_sys_max_cmd_len+:} false; then :
4889
 
  $as_echo_n "(cached) " >&6
4890
 
else
4891
 
    i=0
4892
 
  teststring="ABCD"
4893
 
 
4894
 
  case $build_os in
4895
 
  msdosdjgpp*)
4896
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
4897
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
4898
 
    # during glob expansion).  Even if it were fixed, the result of this
4899
 
    # check would be larger than it should be.
4900
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4901
 
    ;;
4902
 
 
4903
 
  gnu*)
4904
 
    # Under GNU Hurd, this test is not required because there is
4905
 
    # no limit to the length of command line arguments.
4906
 
    # Libtool will interpret -1 as no limit whatsoever
4907
 
    lt_cv_sys_max_cmd_len=-1;
4908
 
    ;;
4909
 
 
4910
 
  cygwin* | mingw* | cegcc*)
4911
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
4912
 
    # about 5 minutes as the teststring grows exponentially.
4913
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
4914
 
    # you end up with a "frozen" computer, even though with patience
4915
 
    # the test eventually succeeds (with a max line length of 256k).
4916
 
    # Instead, let's just punt: use the minimum linelength reported by
4917
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
4918
 
    lt_cv_sys_max_cmd_len=8192;
4919
 
    ;;
4920
 
 
4921
 
  mint*)
4922
 
    # On MiNT this can take a long time and run out of memory.
4923
 
    lt_cv_sys_max_cmd_len=8192;
4924
 
    ;;
4925
 
 
4926
 
  amigaos*)
4927
 
    # On AmigaOS with pdksh, this test takes hours, literally.
4928
 
    # So we just punt and use a minimum line length of 8192.
4929
 
    lt_cv_sys_max_cmd_len=8192;
4930
 
    ;;
4931
 
 
4932
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4933
 
    # This has been around since 386BSD, at least.  Likely further.
4934
 
    if test -x /sbin/sysctl; then
4935
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4936
 
    elif test -x /usr/sbin/sysctl; then
4937
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4938
 
    else
4939
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4940
 
    fi
4941
 
    # And add a safety zone
4942
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4943
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4944
 
    ;;
4945
 
 
4946
 
  interix*)
4947
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4948
 
    lt_cv_sys_max_cmd_len=196608
4949
 
    ;;
4950
 
 
4951
 
  os2*)
4952
 
    # The test takes a long time on OS/2.
4953
 
    lt_cv_sys_max_cmd_len=8192
4954
 
    ;;
4955
 
 
4956
 
  osf*)
4957
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4958
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4959
 
    # nice to cause kernel panics so lets avoid the loop below.
4960
 
    # First set a reasonable default.
4961
 
    lt_cv_sys_max_cmd_len=16384
4962
 
    #
4963
 
    if test -x /sbin/sysconfig; then
4964
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4965
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4966
 
      esac
4967
 
    fi
4968
 
    ;;
4969
 
  sco3.2v5*)
4970
 
    lt_cv_sys_max_cmd_len=102400
4971
 
    ;;
4972
 
  sysv5* | sco5v6* | sysv4.2uw2*)
4973
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4974
 
    if test -n "$kargmax"; then
4975
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4976
 
    else
4977
 
      lt_cv_sys_max_cmd_len=32768
4978
 
    fi
4979
 
    ;;
4980
 
  *)
4981
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4982
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
4983
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4984
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4985
 
    else
4986
 
      # Make teststring a little bigger before we do anything with it.
4987
 
      # a 1K string should be a reasonable start.
4988
 
      for i in 1 2 3 4 5 6 7 8 ; do
4989
 
        teststring=$teststring$teststring
4990
 
      done
4991
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4992
 
      # If test is not a shell built-in, we'll probably end up computing a
4993
 
      # maximum length that is only half of the actual maximum length, but
4994
 
      # we can't tell.
4995
 
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4996
 
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4997
 
              test $i != 17 # 1/2 MB should be enough
4998
 
      do
4999
 
        i=`expr $i + 1`
5000
 
        teststring=$teststring$teststring
5001
 
      done
5002
 
      # Only check the string length outside the loop.
5003
 
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5004
 
      teststring=
5005
 
      # Add a significant safety factor because C++ compilers can tack on
5006
 
      # massive amounts of additional arguments before passing them to the
5007
 
      # linker.  It appears as though 1/2 is a usable value.
5008
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5009
 
    fi
5010
 
    ;;
5011
 
  esac
5012
 
 
5013
 
fi
5014
 
 
5015
 
if test -n $lt_cv_sys_max_cmd_len ; then
5016
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5017
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5018
 
else
5019
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5020
 
$as_echo "none" >&6; }
5021
 
fi
5022
 
max_cmd_len=$lt_cv_sys_max_cmd_len
5023
 
 
5024
 
 
5025
 
 
5026
 
 
5027
 
 
5028
 
 
5029
 
: ${CP="cp -f"}
5030
 
: ${MV="mv -f"}
5031
 
: ${RM="rm -f"}
5032
 
 
5033
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5034
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5035
 
# Try some XSI features
5036
 
xsi_shell=no
5037
 
( _lt_dummy="a/b/c"
5038
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5039
 
      = c,a/b,b/c, \
5040
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
5041
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5042
 
  && xsi_shell=yes
5043
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5044
 
$as_echo "$xsi_shell" >&6; }
5045
 
 
5046
 
 
5047
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5048
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5049
 
lt_shell_append=no
5050
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5051
 
    >/dev/null 2>&1 \
5052
 
  && lt_shell_append=yes
5053
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5054
 
$as_echo "$lt_shell_append" >&6; }
5055
 
 
5056
 
 
5057
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5058
 
  lt_unset=unset
5059
 
else
5060
 
  lt_unset=false
5061
 
fi
5062
 
 
5063
 
 
5064
 
 
5065
 
 
5066
 
 
5067
 
# test EBCDIC or ASCII
5068
 
case `echo X|tr X '\101'` in
5069
 
 A) # ASCII based system
5070
 
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5071
 
  lt_SP2NL='tr \040 \012'
5072
 
  lt_NL2SP='tr \015\012 \040\040'
5073
 
  ;;
5074
 
 *) # EBCDIC based system
5075
 
  lt_SP2NL='tr \100 \n'
5076
 
  lt_NL2SP='tr \r\n \100\100'
5077
 
  ;;
5078
 
esac
5079
 
 
5080
 
 
5081
 
 
5082
 
 
5083
 
 
5084
 
 
5085
 
 
5086
 
 
5087
 
 
5088
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5089
 
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5090
 
if ${lt_cv_to_host_file_cmd+:} false; then :
5091
 
  $as_echo_n "(cached) " >&6
5092
 
else
5093
 
  case $host in
5094
 
  *-*-mingw* )
5095
 
    case $build in
5096
 
      *-*-mingw* ) # actually msys
5097
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5098
 
        ;;
5099
 
      *-*-cygwin* )
5100
 
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5101
 
        ;;
5102
 
      * ) # otherwise, assume *nix
5103
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5104
 
        ;;
5105
 
    esac
5106
 
    ;;
5107
 
  *-*-cygwin* )
5108
 
    case $build in
5109
 
      *-*-mingw* ) # actually msys
5110
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5111
 
        ;;
5112
 
      *-*-cygwin* )
5113
 
        lt_cv_to_host_file_cmd=func_convert_file_noop
5114
 
        ;;
5115
 
      * ) # otherwise, assume *nix
5116
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5117
 
        ;;
5118
 
    esac
5119
 
    ;;
5120
 
  * ) # unhandled hosts (and "normal" native builds)
5121
 
    lt_cv_to_host_file_cmd=func_convert_file_noop
5122
 
    ;;
5123
 
esac
5124
 
 
5125
 
fi
5126
 
 
5127
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
5128
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5129
 
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5130
 
 
5131
 
 
5132
 
 
5133
 
 
5134
 
 
5135
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5136
 
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5137
 
if ${lt_cv_to_tool_file_cmd+:} false; then :
5138
 
  $as_echo_n "(cached) " >&6
5139
 
else
5140
 
  #assume ordinary cross tools, or native build.
5141
 
lt_cv_to_tool_file_cmd=func_convert_file_noop
5142
 
case $host in
5143
 
  *-*-mingw* )
5144
 
    case $build in
5145
 
      *-*-mingw* ) # actually msys
5146
 
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5147
 
        ;;
5148
 
    esac
5149
 
    ;;
5150
 
esac
5151
 
 
5152
 
fi
5153
 
 
5154
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5155
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5156
 
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5157
 
 
5158
 
 
5159
 
 
5160
 
 
5161
 
 
5162
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5163
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5164
 
if ${lt_cv_ld_reload_flag+:} false; then :
5165
 
  $as_echo_n "(cached) " >&6
5166
 
else
5167
 
  lt_cv_ld_reload_flag='-r'
5168
 
fi
5169
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5170
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5171
 
reload_flag=$lt_cv_ld_reload_flag
5172
 
case $reload_flag in
5173
 
"" | " "*) ;;
5174
 
*) reload_flag=" $reload_flag" ;;
5175
 
esac
5176
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5177
 
case $host_os in
5178
 
  cygwin* | mingw* | pw32* | cegcc*)
5179
 
    if test "$GCC" != yes; then
5180
 
      reload_cmds=false
5181
 
    fi
5182
 
    ;;
5183
 
  darwin*)
5184
 
    if test "$GCC" = yes; then
5185
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5186
 
    else
5187
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5188
 
    fi
5189
 
    ;;
5190
 
esac
5191
 
 
5192
 
 
5193
 
 
5194
 
 
5195
 
 
5196
 
 
5197
 
 
5198
 
 
5199
 
 
5200
 
if test -n "$ac_tool_prefix"; then
5201
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5202
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5203
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5204
 
$as_echo_n "checking for $ac_word... " >&6; }
5205
 
if ${ac_cv_prog_OBJDUMP+:} false; then :
5206
 
  $as_echo_n "(cached) " >&6
5207
 
else
5208
 
  if test -n "$OBJDUMP"; then
5209
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5210
 
else
5211
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5212
 
for as_dir in $PATH
5213
 
do
5214
 
  IFS=$as_save_IFS
5215
 
  test -z "$as_dir" && as_dir=.
5216
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5217
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5218
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5219
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5220
 
    break 2
5221
 
  fi
5222
 
done
5223
 
  done
5224
 
IFS=$as_save_IFS
5225
 
 
5226
 
fi
5227
 
fi
5228
 
OBJDUMP=$ac_cv_prog_OBJDUMP
5229
 
if test -n "$OBJDUMP"; then
5230
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5231
 
$as_echo "$OBJDUMP" >&6; }
5232
 
else
5233
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5234
 
$as_echo "no" >&6; }
5235
 
fi
5236
 
 
5237
 
 
5238
 
fi
5239
 
if test -z "$ac_cv_prog_OBJDUMP"; then
5240
 
  ac_ct_OBJDUMP=$OBJDUMP
5241
 
  # Extract the first word of "objdump", so it can be a program name with args.
5242
 
set dummy objdump; ac_word=$2
5243
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5244
 
$as_echo_n "checking for $ac_word... " >&6; }
5245
 
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5246
 
  $as_echo_n "(cached) " >&6
5247
 
else
5248
 
  if test -n "$ac_ct_OBJDUMP"; then
5249
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5250
 
else
5251
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5252
 
for as_dir in $PATH
5253
 
do
5254
 
  IFS=$as_save_IFS
5255
 
  test -z "$as_dir" && as_dir=.
5256
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5257
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5258
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5259
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5260
 
    break 2
5261
 
  fi
5262
 
done
5263
 
  done
5264
 
IFS=$as_save_IFS
5265
 
 
5266
 
fi
5267
 
fi
5268
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5269
 
if test -n "$ac_ct_OBJDUMP"; then
5270
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5271
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
5272
 
else
5273
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274
 
$as_echo "no" >&6; }
5275
 
fi
5276
 
 
5277
 
  if test "x$ac_ct_OBJDUMP" = x; then
5278
 
    OBJDUMP="false"
5279
 
  else
5280
 
    case $cross_compiling:$ac_tool_warned in
5281
 
yes:)
5282
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5283
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5284
 
ac_tool_warned=yes ;;
5285
 
esac
5286
 
    OBJDUMP=$ac_ct_OBJDUMP
5287
 
  fi
5288
 
else
5289
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
5290
 
fi
5291
 
 
5292
 
test -z "$OBJDUMP" && OBJDUMP=objdump
5293
 
 
5294
 
 
5295
 
 
5296
 
 
5297
 
 
5298
 
 
5299
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5300
 
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5301
 
if ${lt_cv_deplibs_check_method+:} false; then :
5302
 
  $as_echo_n "(cached) " >&6
5303
 
else
5304
 
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5305
 
lt_cv_file_magic_test_file=
5306
 
lt_cv_deplibs_check_method='unknown'
5307
 
# Need to set the preceding variable on all platforms that support
5308
 
# interlibrary dependencies.
5309
 
# 'none' -- dependencies not supported.
5310
 
# `unknown' -- same as none, but documents that we really don't know.
5311
 
# 'pass_all' -- all dependencies passed with no checks.
5312
 
# 'test_compile' -- check by making test program.
5313
 
# 'file_magic [[regex]]' -- check by looking for files in library path
5314
 
# which responds to the $file_magic_cmd with a given extended regex.
5315
 
# If you have `file' or equivalent on your system and you're not sure
5316
 
# whether `pass_all' will *always* work, you probably want this one.
5317
 
 
5318
 
case $host_os in
5319
 
aix[4-9]*)
5320
 
  lt_cv_deplibs_check_method=pass_all
5321
 
  ;;
5322
 
 
5323
 
beos*)
5324
 
  lt_cv_deplibs_check_method=pass_all
5325
 
  ;;
5326
 
 
5327
 
bsdi[45]*)
5328
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5329
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
5330
 
  lt_cv_file_magic_test_file=/shlib/libc.so
5331
 
  ;;
5332
 
 
5333
 
cygwin*)
5334
 
  # func_win32_libid is a shell function defined in ltmain.sh
5335
 
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5336
 
  lt_cv_file_magic_cmd='func_win32_libid'
5337
 
  ;;
5338
 
 
5339
 
mingw* | pw32*)
5340
 
  # Base MSYS/MinGW do not provide the 'file' command needed by
5341
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5342
 
  # unless we find 'file', for example because we are cross-compiling.
5343
 
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5344
 
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5345
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5346
 
    lt_cv_file_magic_cmd='func_win32_libid'
5347
 
  else
5348
 
    # Keep this pattern in sync with the one in func_win32_libid.
5349
 
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5350
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5351
 
  fi
5352
 
  ;;
5353
 
 
5354
 
cegcc*)
5355
 
  # use the weaker test based on 'objdump'. See mingw*.
5356
 
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5357
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5358
 
  ;;
5359
 
 
5360
 
darwin* | rhapsody*)
5361
 
  lt_cv_deplibs_check_method=pass_all
5362
 
  ;;
5363
 
 
5364
 
freebsd* | dragonfly*)
5365
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5366
 
    case $host_cpu in
5367
 
    i*86 )
5368
 
      # Not sure whether the presence of OpenBSD here was a mistake.
5369
 
      # Let's accept both of them until this is cleared up.
5370
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5371
 
      lt_cv_file_magic_cmd=/usr/bin/file
5372
 
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5373
 
      ;;
5374
 
    esac
5375
 
  else
5376
 
    lt_cv_deplibs_check_method=pass_all
5377
 
  fi
5378
 
  ;;
5379
 
 
5380
 
gnu*)
5381
 
  lt_cv_deplibs_check_method=pass_all
5382
 
  ;;
5383
 
 
5384
 
haiku*)
5385
 
  lt_cv_deplibs_check_method=pass_all
5386
 
  ;;
5387
 
 
5388
 
hpux10.20* | hpux11*)
5389
 
  lt_cv_file_magic_cmd=/usr/bin/file
5390
 
  case $host_cpu in
5391
 
  ia64*)
5392
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5393
 
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5394
 
    ;;
5395
 
  hppa*64*)
5396
 
    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]'
5397
 
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5398
 
    ;;
5399
 
  *)
5400
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5401
 
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5402
 
    ;;
5403
 
  esac
5404
 
  ;;
5405
 
 
5406
 
interix[3-9]*)
5407
 
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5408
 
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5409
 
  ;;
5410
 
 
5411
 
irix5* | irix6* | nonstopux*)
5412
 
  case $LD in
5413
 
  *-32|*"-32 ") libmagic=32-bit;;
5414
 
  *-n32|*"-n32 ") libmagic=N32;;
5415
 
  *-64|*"-64 ") libmagic=64-bit;;
5416
 
  *) libmagic=never-match;;
5417
 
  esac
5418
 
  lt_cv_deplibs_check_method=pass_all
5419
 
  ;;
5420
 
 
5421
 
# This must be glibc/ELF.
5422
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5423
 
  lt_cv_deplibs_check_method=pass_all
5424
 
  ;;
5425
 
 
5426
 
netbsd*)
5427
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5428
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5429
 
  else
5430
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5431
 
  fi
5432
 
  ;;
5433
 
 
5434
 
newos6*)
5435
 
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5436
 
  lt_cv_file_magic_cmd=/usr/bin/file
5437
 
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5438
 
  ;;
5439
 
 
5440
 
*nto* | *qnx*)
5441
 
  lt_cv_deplibs_check_method=pass_all
5442
 
  ;;
5443
 
 
5444
 
openbsd*)
5445
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5446
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5447
 
  else
5448
 
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5449
 
  fi
5450
 
  ;;
5451
 
 
5452
 
osf3* | osf4* | osf5*)
5453
 
  lt_cv_deplibs_check_method=pass_all
5454
 
  ;;
5455
 
 
5456
 
rdos*)
5457
 
  lt_cv_deplibs_check_method=pass_all
5458
 
  ;;
5459
 
 
5460
 
solaris*)
5461
 
  lt_cv_deplibs_check_method=pass_all
5462
 
  ;;
5463
 
 
5464
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5465
 
  lt_cv_deplibs_check_method=pass_all
5466
 
  ;;
5467
 
 
5468
 
sysv4 | sysv4.3*)
5469
 
  case $host_vendor in
5470
 
  motorola)
5471
 
    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]'
5472
 
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5473
 
    ;;
5474
 
  ncr)
5475
 
    lt_cv_deplibs_check_method=pass_all
5476
 
    ;;
5477
 
  sequent)
5478
 
    lt_cv_file_magic_cmd='/bin/file'
5479
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5480
 
    ;;
5481
 
  sni)
5482
 
    lt_cv_file_magic_cmd='/bin/file'
5483
 
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5484
 
    lt_cv_file_magic_test_file=/lib/libc.so
5485
 
    ;;
5486
 
  siemens)
5487
 
    lt_cv_deplibs_check_method=pass_all
5488
 
    ;;
5489
 
  pc)
5490
 
    lt_cv_deplibs_check_method=pass_all
5491
 
    ;;
5492
 
  esac
5493
 
  ;;
5494
 
 
5495
 
tpf*)
5496
 
  lt_cv_deplibs_check_method=pass_all
5497
 
  ;;
5498
 
esac
5499
 
 
5500
 
fi
5501
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5502
 
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5503
 
 
5504
 
file_magic_glob=
5505
 
want_nocaseglob=no
5506
 
if test "$build" = "$host"; then
5507
 
  case $host_os in
5508
 
  mingw* | pw32*)
5509
 
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5510
 
      want_nocaseglob=yes
5511
 
    else
5512
 
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5513
 
    fi
5514
 
    ;;
5515
 
  esac
5516
 
fi
5517
 
 
5518
 
file_magic_cmd=$lt_cv_file_magic_cmd
5519
 
deplibs_check_method=$lt_cv_deplibs_check_method
5520
 
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5521
 
 
5522
 
 
5523
 
 
5524
 
 
5525
 
 
5526
 
 
5527
 
 
5528
 
 
5529
 
 
5530
 
 
5531
 
 
5532
 
 
5533
 
 
5534
 
 
5535
 
 
5536
 
 
5537
 
 
5538
 
 
5539
 
 
5540
 
 
5541
 
 
5542
 
 
5543
 
if test -n "$ac_tool_prefix"; then
5544
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5545
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5546
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5547
 
$as_echo_n "checking for $ac_word... " >&6; }
5548
 
if ${ac_cv_prog_DLLTOOL+:} false; then :
5549
 
  $as_echo_n "(cached) " >&6
5550
 
else
5551
 
  if test -n "$DLLTOOL"; then
5552
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5553
 
else
5554
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5555
 
for as_dir in $PATH
5556
 
do
5557
 
  IFS=$as_save_IFS
5558
 
  test -z "$as_dir" && as_dir=.
5559
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5560
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5561
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5562
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5563
 
    break 2
5564
 
  fi
5565
 
done
5566
 
  done
5567
 
IFS=$as_save_IFS
5568
 
 
5569
 
fi
5570
 
fi
5571
 
DLLTOOL=$ac_cv_prog_DLLTOOL
5572
 
if test -n "$DLLTOOL"; then
5573
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5574
 
$as_echo "$DLLTOOL" >&6; }
5575
 
else
5576
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5577
 
$as_echo "no" >&6; }
5578
 
fi
5579
 
 
5580
 
 
5581
 
fi
5582
 
if test -z "$ac_cv_prog_DLLTOOL"; then
5583
 
  ac_ct_DLLTOOL=$DLLTOOL
5584
 
  # Extract the first word of "dlltool", so it can be a program name with args.
5585
 
set dummy dlltool; ac_word=$2
5586
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5587
 
$as_echo_n "checking for $ac_word... " >&6; }
5588
 
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5589
 
  $as_echo_n "(cached) " >&6
5590
 
else
5591
 
  if test -n "$ac_ct_DLLTOOL"; then
5592
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5593
 
else
5594
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5595
 
for as_dir in $PATH
5596
 
do
5597
 
  IFS=$as_save_IFS
5598
 
  test -z "$as_dir" && as_dir=.
5599
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5600
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5601
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5602
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5603
 
    break 2
5604
 
  fi
5605
 
done
5606
 
  done
5607
 
IFS=$as_save_IFS
5608
 
 
5609
 
fi
5610
 
fi
5611
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5612
 
if test -n "$ac_ct_DLLTOOL"; then
5613
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5614
 
$as_echo "$ac_ct_DLLTOOL" >&6; }
5615
 
else
5616
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5617
 
$as_echo "no" >&6; }
5618
 
fi
5619
 
 
5620
 
  if test "x$ac_ct_DLLTOOL" = x; then
5621
 
    DLLTOOL="false"
5622
 
  else
5623
 
    case $cross_compiling:$ac_tool_warned in
5624
 
yes:)
5625
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5626
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5627
 
ac_tool_warned=yes ;;
5628
 
esac
5629
 
    DLLTOOL=$ac_ct_DLLTOOL
5630
 
  fi
5631
 
else
5632
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
5633
 
fi
5634
 
 
5635
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
5636
 
 
5637
 
 
5638
 
 
5639
 
 
5640
 
 
5641
 
 
5642
 
 
5643
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5644
 
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5645
 
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5646
 
  $as_echo_n "(cached) " >&6
5647
 
else
5648
 
  lt_cv_sharedlib_from_linklib_cmd='unknown'
5649
 
 
5650
 
case $host_os in
5651
 
cygwin* | mingw* | pw32* | cegcc*)
5652
 
  # two different shell functions defined in ltmain.sh
5653
 
  # decide which to use based on capabilities of $DLLTOOL
5654
 
  case `$DLLTOOL --help 2>&1` in
5655
 
  *--identify-strict*)
5656
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5657
 
    ;;
5658
 
  *)
5659
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5660
 
    ;;
5661
 
  esac
5662
 
  ;;
5663
 
*)
5664
 
  # fallback: assume linklib IS sharedlib
5665
 
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5666
 
  ;;
5667
 
esac
5668
 
 
5669
 
fi
5670
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5671
 
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5672
 
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5673
 
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5674
 
 
5675
 
 
5676
 
 
5677
 
 
5678
 
 
5679
 
 
5680
 
 
5681
 
 
5682
 
if test -n "$ac_tool_prefix"; then
5683
 
  for ac_prog in ar
5684
 
  do
5685
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5686
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5687
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5688
 
$as_echo_n "checking for $ac_word... " >&6; }
5689
 
if ${ac_cv_prog_AR+:} false; then :
5690
 
  $as_echo_n "(cached) " >&6
5691
 
else
5692
 
  if test -n "$AR"; then
5693
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
5694
 
else
5695
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5696
 
for as_dir in $PATH
5697
 
do
5698
 
  IFS=$as_save_IFS
5699
 
  test -z "$as_dir" && as_dir=.
5700
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5701
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5702
 
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5703
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5704
 
    break 2
5705
 
  fi
5706
 
done
5707
 
  done
5708
 
IFS=$as_save_IFS
5709
 
 
5710
 
fi
5711
 
fi
5712
 
AR=$ac_cv_prog_AR
5713
 
if test -n "$AR"; then
5714
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5715
 
$as_echo "$AR" >&6; }
5716
 
else
5717
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718
 
$as_echo "no" >&6; }
5719
 
fi
5720
 
 
5721
 
 
5722
 
    test -n "$AR" && break
5723
 
  done
5724
 
fi
5725
 
if test -z "$AR"; then
5726
 
  ac_ct_AR=$AR
5727
 
  for ac_prog in ar
5728
 
do
5729
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5730
 
set dummy $ac_prog; ac_word=$2
5731
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5732
 
$as_echo_n "checking for $ac_word... " >&6; }
5733
 
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5734
 
  $as_echo_n "(cached) " >&6
5735
 
else
5736
 
  if test -n "$ac_ct_AR"; then
5737
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5738
 
else
5739
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740
 
for as_dir in $PATH
5741
 
do
5742
 
  IFS=$as_save_IFS
5743
 
  test -z "$as_dir" && as_dir=.
5744
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5745
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5746
 
    ac_cv_prog_ac_ct_AR="$ac_prog"
5747
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5748
 
    break 2
5749
 
  fi
5750
 
done
5751
 
  done
5752
 
IFS=$as_save_IFS
5753
 
 
5754
 
fi
5755
 
fi
5756
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5757
 
if test -n "$ac_ct_AR"; then
5758
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5759
 
$as_echo "$ac_ct_AR" >&6; }
5760
 
else
5761
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762
 
$as_echo "no" >&6; }
5763
 
fi
5764
 
 
5765
 
 
5766
 
  test -n "$ac_ct_AR" && break
5767
 
done
5768
 
 
5769
 
  if test "x$ac_ct_AR" = x; then
5770
 
    AR="false"
5771
 
  else
5772
 
    case $cross_compiling:$ac_tool_warned in
5773
 
yes:)
5774
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5775
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5776
 
ac_tool_warned=yes ;;
5777
 
esac
5778
 
    AR=$ac_ct_AR
5779
 
  fi
5780
 
fi
5781
 
 
5782
 
: ${AR=ar}
5783
 
: ${AR_FLAGS=cru}
5784
 
 
5785
 
 
5786
 
 
5787
 
 
5788
 
 
5789
 
 
5790
 
 
5791
 
 
5792
 
 
5793
 
 
5794
 
 
5795
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5796
 
$as_echo_n "checking for archiver @FILE support... " >&6; }
5797
 
if ${lt_cv_ar_at_file+:} false; then :
5798
 
  $as_echo_n "(cached) " >&6
5799
 
else
5800
 
  lt_cv_ar_at_file=no
5801
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5802
 
/* end confdefs.h.  */
5803
 
 
5804
 
int
5805
 
main ()
5806
 
{
5807
 
 
5808
 
  ;
5809
 
  return 0;
5810
 
}
5811
 
_ACEOF
5812
 
if ac_fn_c_try_compile "$LINENO"; then :
5813
 
  echo conftest.$ac_objext > conftest.lst
5814
 
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5815
 
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5816
 
  (eval $lt_ar_try) 2>&5
5817
 
  ac_status=$?
5818
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5819
 
  test $ac_status = 0; }
5820
 
      if test "$ac_status" -eq 0; then
5821
 
        # Ensure the archiver fails upon bogus file names.
5822
 
        rm -f conftest.$ac_objext libconftest.a
5823
 
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5824
 
  (eval $lt_ar_try) 2>&5
5825
 
  ac_status=$?
5826
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5827
 
  test $ac_status = 0; }
5828
 
        if test "$ac_status" -ne 0; then
5829
 
          lt_cv_ar_at_file=@
5830
 
        fi
5831
 
      fi
5832
 
      rm -f conftest.* libconftest.a
5833
 
 
5834
 
fi
5835
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5836
 
 
5837
 
fi
5838
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5839
 
$as_echo "$lt_cv_ar_at_file" >&6; }
5840
 
 
5841
 
if test "x$lt_cv_ar_at_file" = xno; then
5842
 
  archiver_list_spec=
5843
 
else
5844
 
  archiver_list_spec=$lt_cv_ar_at_file
5845
 
fi
5846
 
 
5847
 
 
5848
 
 
5849
 
 
5850
 
 
5851
 
 
5852
 
 
5853
 
if test -n "$ac_tool_prefix"; then
5854
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5855
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
5856
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5857
 
$as_echo_n "checking for $ac_word... " >&6; }
5858
 
if ${ac_cv_prog_STRIP+:} false; then :
5859
 
  $as_echo_n "(cached) " >&6
5860
 
else
5861
 
  if test -n "$STRIP"; then
5862
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5863
 
else
5864
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865
 
for as_dir in $PATH
5866
 
do
5867
 
  IFS=$as_save_IFS
5868
 
  test -z "$as_dir" && as_dir=.
5869
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5870
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5871
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5872
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5873
 
    break 2
5874
 
  fi
5875
 
done
5876
 
  done
5877
 
IFS=$as_save_IFS
5878
 
 
5879
 
fi
5880
 
fi
5881
 
STRIP=$ac_cv_prog_STRIP
5882
 
if test -n "$STRIP"; then
5883
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5884
 
$as_echo "$STRIP" >&6; }
5885
 
else
5886
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887
 
$as_echo "no" >&6; }
5888
 
fi
5889
 
 
5890
 
 
5891
 
fi
5892
 
if test -z "$ac_cv_prog_STRIP"; then
5893
 
  ac_ct_STRIP=$STRIP
5894
 
  # Extract the first word of "strip", so it can be a program name with args.
5895
 
set dummy strip; ac_word=$2
5896
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5897
 
$as_echo_n "checking for $ac_word... " >&6; }
5898
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5899
 
  $as_echo_n "(cached) " >&6
5900
 
else
5901
 
  if test -n "$ac_ct_STRIP"; then
5902
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5903
 
else
5904
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5905
 
for as_dir in $PATH
5906
 
do
5907
 
  IFS=$as_save_IFS
5908
 
  test -z "$as_dir" && as_dir=.
5909
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5910
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5911
 
    ac_cv_prog_ac_ct_STRIP="strip"
5912
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5913
 
    break 2
5914
 
  fi
5915
 
done
5916
 
  done
5917
 
IFS=$as_save_IFS
5918
 
 
5919
 
fi
5920
 
fi
5921
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5922
 
if test -n "$ac_ct_STRIP"; then
5923
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5924
 
$as_echo "$ac_ct_STRIP" >&6; }
5925
 
else
5926
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5927
 
$as_echo "no" >&6; }
5928
 
fi
5929
 
 
5930
 
  if test "x$ac_ct_STRIP" = x; then
5931
 
    STRIP=":"
5932
 
  else
5933
 
    case $cross_compiling:$ac_tool_warned in
5934
 
yes:)
5935
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5936
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5937
 
ac_tool_warned=yes ;;
5938
 
esac
5939
 
    STRIP=$ac_ct_STRIP
5940
 
  fi
5941
 
else
5942
 
  STRIP="$ac_cv_prog_STRIP"
5943
 
fi
5944
 
 
5945
 
test -z "$STRIP" && STRIP=:
5946
 
 
5947
 
 
5948
 
 
5949
 
 
5950
 
 
5951
 
 
5952
 
if test -n "$ac_tool_prefix"; then
5953
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5954
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5955
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5956
 
$as_echo_n "checking for $ac_word... " >&6; }
5957
 
if ${ac_cv_prog_RANLIB+:} false; then :
5958
 
  $as_echo_n "(cached) " >&6
5959
 
else
5960
 
  if test -n "$RANLIB"; then
5961
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5962
 
else
5963
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5964
 
for as_dir in $PATH
5965
 
do
5966
 
  IFS=$as_save_IFS
5967
 
  test -z "$as_dir" && as_dir=.
5968
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5969
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5970
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5971
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5972
 
    break 2
5973
 
  fi
5974
 
done
5975
 
  done
5976
 
IFS=$as_save_IFS
5977
 
 
5978
 
fi
5979
 
fi
5980
 
RANLIB=$ac_cv_prog_RANLIB
5981
 
if test -n "$RANLIB"; then
5982
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5983
 
$as_echo "$RANLIB" >&6; }
5984
 
else
5985
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986
 
$as_echo "no" >&6; }
5987
 
fi
5988
 
 
5989
 
 
5990
 
fi
5991
 
if test -z "$ac_cv_prog_RANLIB"; then
5992
 
  ac_ct_RANLIB=$RANLIB
5993
 
  # Extract the first word of "ranlib", so it can be a program name with args.
5994
 
set dummy ranlib; ac_word=$2
5995
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996
 
$as_echo_n "checking for $ac_word... " >&6; }
5997
 
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5998
 
  $as_echo_n "(cached) " >&6
5999
 
else
6000
 
  if test -n "$ac_ct_RANLIB"; then
6001
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6002
 
else
6003
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004
 
for as_dir in $PATH
6005
 
do
6006
 
  IFS=$as_save_IFS
6007
 
  test -z "$as_dir" && as_dir=.
6008
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6009
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6010
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6011
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6012
 
    break 2
6013
 
  fi
6014
 
done
6015
 
  done
6016
 
IFS=$as_save_IFS
6017
 
 
6018
 
fi
6019
 
fi
6020
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6021
 
if test -n "$ac_ct_RANLIB"; then
6022
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6023
 
$as_echo "$ac_ct_RANLIB" >&6; }
6024
 
else
6025
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026
 
$as_echo "no" >&6; }
6027
 
fi
6028
 
 
6029
 
  if test "x$ac_ct_RANLIB" = x; then
6030
 
    RANLIB=":"
6031
 
  else
6032
 
    case $cross_compiling:$ac_tool_warned in
6033
 
yes:)
6034
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6035
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6036
 
ac_tool_warned=yes ;;
6037
 
esac
6038
 
    RANLIB=$ac_ct_RANLIB
6039
 
  fi
6040
 
else
6041
 
  RANLIB="$ac_cv_prog_RANLIB"
6042
 
fi
6043
 
 
6044
 
test -z "$RANLIB" && RANLIB=:
6045
 
 
6046
 
 
6047
 
 
6048
 
 
6049
 
 
6050
 
 
6051
 
# Determine commands to create old-style static archives.
6052
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6053
 
old_postinstall_cmds='chmod 644 $oldlib'
6054
 
old_postuninstall_cmds=
6055
 
 
6056
 
if test -n "$RANLIB"; then
6057
 
  case $host_os in
6058
 
  openbsd*)
6059
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6060
 
    ;;
6061
 
  *)
6062
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6063
 
    ;;
6064
 
  esac
6065
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6066
 
fi
6067
 
 
6068
 
case $host_os in
6069
 
  darwin*)
6070
 
    lock_old_archive_extraction=yes ;;
6071
 
  *)
6072
 
    lock_old_archive_extraction=no ;;
6073
 
esac
6074
 
 
6075
 
 
6076
 
 
6077
 
 
6078
 
 
6079
 
 
6080
 
 
6081
 
 
6082
 
 
6083
 
 
6084
 
 
6085
 
 
6086
 
 
6087
 
 
6088
 
 
6089
 
 
6090
 
 
6091
 
 
6092
 
 
6093
 
 
6094
 
 
6095
 
 
6096
 
 
6097
 
 
6098
 
 
6099
 
 
6100
 
 
6101
 
 
6102
 
 
6103
 
 
6104
 
 
6105
 
 
6106
 
 
6107
 
 
6108
 
 
6109
 
 
6110
 
 
6111
 
 
6112
 
 
6113
 
# If no C compiler was specified, use CC.
6114
 
LTCC=${LTCC-"$CC"}
6115
 
 
6116
 
# If no C compiler flags were specified, use CFLAGS.
6117
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6118
 
 
6119
 
# Allow CC to be a program name with arguments.
6120
 
compiler=$CC
6121
 
 
6122
 
 
6123
 
# Check for command to grab the raw symbol name followed by C symbol from nm.
6124
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6125
 
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6126
 
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6127
 
  $as_echo_n "(cached) " >&6
6128
 
else
6129
 
 
6130
 
# These are sane defaults that work on at least a few old systems.
6131
 
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6132
 
 
6133
 
# Character class describing NM global symbol codes.
6134
 
symcode='[BCDEGRST]'
6135
 
 
6136
 
# Regexp to match symbols that can be accessed directly from C.
6137
 
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6138
 
 
6139
 
# Define system-specific variables.
6140
 
case $host_os in
6141
 
aix*)
6142
 
  symcode='[BCDT]'
6143
 
  ;;
6144
 
cygwin* | mingw* | pw32* | cegcc*)
6145
 
  symcode='[ABCDGISTW]'
6146
 
  ;;
6147
 
hpux*)
6148
 
  if test "$host_cpu" = ia64; then
6149
 
    symcode='[ABCDEGRST]'
6150
 
  fi
6151
 
  ;;
6152
 
irix* | nonstopux*)
6153
 
  symcode='[BCDEGRST]'
6154
 
  ;;
6155
 
osf*)
6156
 
  symcode='[BCDEGQRST]'
6157
 
  ;;
6158
 
solaris*)
6159
 
  symcode='[BDRT]'
6160
 
  ;;
6161
 
sco3.2v5*)
6162
 
  symcode='[DT]'
6163
 
  ;;
6164
 
sysv4.2uw2*)
6165
 
  symcode='[DT]'
6166
 
  ;;
6167
 
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6168
 
  symcode='[ABDT]'
6169
 
  ;;
6170
 
sysv4)
6171
 
  symcode='[DFNSTU]'
6172
 
  ;;
6173
 
esac
6174
 
 
6175
 
# If we're using GNU nm, then use its standard symbol codes.
6176
 
case `$NM -V 2>&1` in
6177
 
*GNU* | *'with BFD'*)
6178
 
  symcode='[ABCDGIRSTW]' ;;
6179
 
esac
6180
 
 
6181
 
# Transform an extracted symbol line into a proper C declaration.
6182
 
# Some systems (esp. on ia64) link data and code symbols differently,
6183
 
# so use this general approach.
6184
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6185
 
 
6186
 
# Transform an extracted symbol line into symbol name and symbol address
6187
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6188
 
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'"
6189
 
 
6190
 
# Handle CRLF in mingw tool chain
6191
 
opt_cr=
6192
 
case $build_os in
6193
 
mingw*)
6194
 
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6195
 
  ;;
6196
 
esac
6197
 
 
6198
 
# Try without a prefix underscore, then with it.
6199
 
for ac_symprfx in "" "_"; do
6200
 
 
6201
 
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6202
 
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6203
 
 
6204
 
  # Write the raw and C identifiers.
6205
 
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6206
 
    # Fake it for dumpbin and say T for any non-static function
6207
 
    # and D for any global variable.
6208
 
    # Also find C++ and __fastcall symbols from MSVC++,
6209
 
    # which start with @ or ?.
6210
 
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6211
 
"     {last_section=section; section=\$ 3};"\
6212
 
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6213
 
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6214
 
"     \$ 0!~/External *\|/{next};"\
6215
 
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6216
 
"     {if(hide[section]) next};"\
6217
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6218
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6219
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6220
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6221
 
"     ' prfx=^$ac_symprfx"
6222
 
  else
6223
 
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6224
 
  fi
6225
 
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6226
 
 
6227
 
  # Check to see that the pipe works correctly.
6228
 
  pipe_works=no
6229
 
 
6230
 
  rm -f conftest*
6231
 
  cat > conftest.$ac_ext <<_LT_EOF
6232
 
#ifdef __cplusplus
6233
 
extern "C" {
6234
 
#endif
6235
 
char nm_test_var;
6236
 
void nm_test_func(void);
6237
 
void nm_test_func(void){}
6238
 
#ifdef __cplusplus
6239
 
}
6240
 
#endif
6241
 
int main(){nm_test_var='a';nm_test_func();return(0);}
6242
 
_LT_EOF
6243
 
 
6244
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6245
 
  (eval $ac_compile) 2>&5
6246
 
  ac_status=$?
6247
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6248
 
  test $ac_status = 0; }; then
6249
 
    # Now try to grab the symbols.
6250
 
    nlist=conftest.nm
6251
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6252
 
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6253
 
  ac_status=$?
6254
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6255
 
  test $ac_status = 0; } && test -s "$nlist"; then
6256
 
      # Try sorting and uniquifying the output.
6257
 
      if sort "$nlist" | uniq > "$nlist"T; then
6258
 
        mv -f "$nlist"T "$nlist"
6259
 
      else
6260
 
        rm -f "$nlist"T
6261
 
      fi
6262
 
 
6263
 
      # Make sure that we snagged all the symbols we need.
6264
 
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6265
 
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6266
 
          cat <<_LT_EOF > conftest.$ac_ext
6267
 
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6268
 
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6269
 
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6270
 
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6271
 
# define LT_DLSYM_CONST
6272
 
#elif defined(__osf__)
6273
 
/* This system does not cope well with relocations in const data.  */
6274
 
# define LT_DLSYM_CONST
6275
 
#else
6276
 
# define LT_DLSYM_CONST const
6277
 
#endif
6278
 
 
6279
 
#ifdef __cplusplus
6280
 
extern "C" {
6281
 
#endif
6282
 
 
6283
 
_LT_EOF
6284
 
          # Now generate the symbol file.
6285
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6286
 
 
6287
 
          cat <<_LT_EOF >> conftest.$ac_ext
6288
 
 
6289
 
/* The mapping between symbol names and symbols.  */
6290
 
LT_DLSYM_CONST struct {
6291
 
  const char *name;
6292
 
  void       *address;
6293
 
}
6294
 
lt__PROGRAM__LTX_preloaded_symbols[] =
6295
 
{
6296
 
  { "@PROGRAM@", (void *) 0 },
6297
 
_LT_EOF
6298
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6299
 
          cat <<\_LT_EOF >> conftest.$ac_ext
6300
 
  {0, (void *) 0}
6301
 
};
6302
 
 
6303
 
/* This works around a problem in FreeBSD linker */
6304
 
#ifdef FREEBSD_WORKAROUND
6305
 
static const void *lt_preloaded_setup() {
6306
 
  return lt__PROGRAM__LTX_preloaded_symbols;
6307
 
}
6308
 
#endif
6309
 
 
6310
 
#ifdef __cplusplus
6311
 
}
6312
 
#endif
6313
 
_LT_EOF
6314
 
          # Now try linking the two files.
6315
 
          mv conftest.$ac_objext conftstm.$ac_objext
6316
 
          lt_globsym_save_LIBS=$LIBS
6317
 
          lt_globsym_save_CFLAGS=$CFLAGS
6318
 
          LIBS="conftstm.$ac_objext"
6319
 
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6320
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6321
 
  (eval $ac_link) 2>&5
6322
 
  ac_status=$?
6323
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6324
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6325
 
            pipe_works=yes
6326
 
          fi
6327
 
          LIBS=$lt_globsym_save_LIBS
6328
 
          CFLAGS=$lt_globsym_save_CFLAGS
6329
 
        else
6330
 
          echo "cannot find nm_test_func in $nlist" >&5
6331
 
        fi
6332
 
      else
6333
 
        echo "cannot find nm_test_var in $nlist" >&5
6334
 
      fi
6335
 
    else
6336
 
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6337
 
    fi
6338
 
  else
6339
 
    echo "$progname: failed program was:" >&5
6340
 
    cat conftest.$ac_ext >&5
6341
 
  fi
6342
 
  rm -rf conftest* conftst*
6343
 
 
6344
 
  # Do not use the global_symbol_pipe unless it works.
6345
 
  if test "$pipe_works" = yes; then
6346
 
    break
6347
 
  else
6348
 
    lt_cv_sys_global_symbol_pipe=
6349
 
  fi
6350
 
done
6351
 
 
6352
 
fi
6353
 
 
6354
 
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6355
 
  lt_cv_sys_global_symbol_to_cdecl=
6356
 
fi
6357
 
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6358
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6359
 
$as_echo "failed" >&6; }
6360
 
else
6361
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6362
 
$as_echo "ok" >&6; }
6363
 
fi
6364
 
 
6365
 
# Response file support.
6366
 
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6367
 
  nm_file_list_spec='@'
6368
 
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6369
 
  nm_file_list_spec='@'
6370
 
fi
6371
 
 
6372
 
 
6373
 
 
6374
 
 
6375
 
 
6376
 
 
6377
 
 
6378
 
 
6379
 
 
6380
 
 
6381
 
 
6382
 
 
6383
 
 
6384
 
 
6385
 
 
6386
 
 
6387
 
 
6388
 
 
6389
 
 
6390
 
 
6391
 
 
6392
 
 
6393
 
 
6394
 
 
6395
 
 
6396
 
 
6397
 
 
6398
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6399
 
$as_echo_n "checking for sysroot... " >&6; }
6400
 
 
6401
 
# Check whether --with-sysroot was given.
6402
 
if test "${with_sysroot+set}" = set; then :
6403
 
  withval=$with_sysroot;
6404
 
else
6405
 
  with_sysroot=no
6406
 
fi
6407
 
 
6408
 
 
6409
 
lt_sysroot=
6410
 
case ${with_sysroot} in #(
6411
 
 yes)
6412
 
   if test "$GCC" = yes; then
6413
 
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6414
 
   fi
6415
 
   ;; #(
6416
 
 /*)
6417
 
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6418
 
   ;; #(
6419
 
 no|'')
6420
 
   ;; #(
6421
 
 *)
6422
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6423
 
$as_echo "${with_sysroot}" >&6; }
6424
 
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6425
 
   ;;
6426
 
esac
6427
 
 
6428
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6429
 
$as_echo "${lt_sysroot:-no}" >&6; }
6430
 
 
6431
 
 
6432
 
 
6433
 
 
6434
 
 
6435
 
# Check whether --enable-libtool-lock was given.
6436
 
if test "${enable_libtool_lock+set}" = set; then :
6437
 
  enableval=$enable_libtool_lock;
6438
 
fi
6439
 
 
6440
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6441
 
 
6442
 
# Some flags need to be propagated to the compiler or linker for good
6443
 
# libtool support.
6444
 
case $host in
6445
 
ia64-*-hpux*)
6446
 
  # Find out which ABI we are using.
6447
 
  echo 'int i;' > conftest.$ac_ext
6448
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6449
 
  (eval $ac_compile) 2>&5
6450
 
  ac_status=$?
6451
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6452
 
  test $ac_status = 0; }; then
6453
 
    case `/usr/bin/file conftest.$ac_objext` in
6454
 
      *ELF-32*)
6455
 
        HPUX_IA64_MODE="32"
6456
 
        ;;
6457
 
      *ELF-64*)
6458
 
        HPUX_IA64_MODE="64"
6459
 
        ;;
6460
 
    esac
6461
 
  fi
6462
 
  rm -rf conftest*
6463
 
  ;;
6464
 
*-*-irix6*)
6465
 
  # Find out which ABI we are using.
6466
 
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6467
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6468
 
  (eval $ac_compile) 2>&5
6469
 
  ac_status=$?
6470
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6471
 
  test $ac_status = 0; }; then
6472
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
6473
 
      case `/usr/bin/file conftest.$ac_objext` in
6474
 
        *32-bit*)
6475
 
          LD="${LD-ld} -melf32bsmip"
6476
 
          ;;
6477
 
        *N32*)
6478
 
          LD="${LD-ld} -melf32bmipn32"
6479
 
          ;;
6480
 
        *64-bit*)
6481
 
          LD="${LD-ld} -melf64bmip"
6482
 
        ;;
6483
 
      esac
6484
 
    else
6485
 
      case `/usr/bin/file conftest.$ac_objext` in
6486
 
        *32-bit*)
6487
 
          LD="${LD-ld} -32"
6488
 
          ;;
6489
 
        *N32*)
6490
 
          LD="${LD-ld} -n32"
6491
 
          ;;
6492
 
        *64-bit*)
6493
 
          LD="${LD-ld} -64"
6494
 
          ;;
6495
 
      esac
6496
 
    fi
6497
 
  fi
6498
 
  rm -rf conftest*
6499
 
  ;;
6500
 
 
6501
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6502
 
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6503
 
  # Find out which ABI we are using.
6504
 
  echo 'int i;' > conftest.$ac_ext
6505
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6506
 
  (eval $ac_compile) 2>&5
6507
 
  ac_status=$?
6508
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6509
 
  test $ac_status = 0; }; then
6510
 
    case `/usr/bin/file conftest.o` in
6511
 
      *32-bit*)
6512
 
        case $host in
6513
 
          x86_64-*kfreebsd*-gnu)
6514
 
            LD="${LD-ld} -m elf_i386_fbsd"
6515
 
            ;;
6516
 
          x86_64-*linux*)
6517
 
            LD="${LD-ld} -m elf_i386"
6518
 
            ;;
6519
 
          ppc64-*linux*|powerpc64-*linux*)
6520
 
            LD="${LD-ld} -m elf32ppclinux"
6521
 
            ;;
6522
 
          s390x-*linux*)
6523
 
            LD="${LD-ld} -m elf_s390"
6524
 
            ;;
6525
 
          sparc64-*linux*)
6526
 
            LD="${LD-ld} -m elf32_sparc"
6527
 
            ;;
6528
 
        esac
6529
 
        ;;
6530
 
      *64-bit*)
6531
 
        case $host in
6532
 
          x86_64-*kfreebsd*-gnu)
6533
 
            LD="${LD-ld} -m elf_x86_64_fbsd"
6534
 
            ;;
6535
 
          x86_64-*linux*)
6536
 
            LD="${LD-ld} -m elf_x86_64"
6537
 
            ;;
6538
 
          ppc*-*linux*|powerpc*-*linux*)
6539
 
            LD="${LD-ld} -m elf64ppc"
6540
 
            ;;
6541
 
          s390*-*linux*|s390*-*tpf*)
6542
 
            LD="${LD-ld} -m elf64_s390"
6543
 
            ;;
6544
 
          sparc*-*linux*)
6545
 
            LD="${LD-ld} -m elf64_sparc"
6546
 
            ;;
6547
 
        esac
6548
 
        ;;
6549
 
    esac
6550
 
  fi
6551
 
  rm -rf conftest*
6552
 
  ;;
6553
 
 
6554
 
*-*-sco3.2v5*)
6555
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6556
 
  SAVE_CFLAGS="$CFLAGS"
6557
 
  CFLAGS="$CFLAGS -belf"
6558
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6559
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6560
 
if ${lt_cv_cc_needs_belf+:} false; then :
6561
 
  $as_echo_n "(cached) " >&6
6562
 
else
6563
 
  ac_ext=c
6564
 
ac_cpp='$CPP $CPPFLAGS'
6565
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6566
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6567
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6568
 
 
6569
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6570
 
/* end confdefs.h.  */
6571
 
 
6572
 
int
6573
 
main ()
6574
 
{
6575
 
 
6576
 
  ;
6577
 
  return 0;
6578
 
}
6579
 
_ACEOF
6580
 
if ac_fn_c_try_link "$LINENO"; then :
6581
 
  lt_cv_cc_needs_belf=yes
6582
 
else
6583
 
  lt_cv_cc_needs_belf=no
6584
 
fi
6585
 
rm -f core conftest.err conftest.$ac_objext \
6586
 
    conftest$ac_exeext conftest.$ac_ext
6587
 
     ac_ext=c
6588
 
ac_cpp='$CPP $CPPFLAGS'
6589
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6590
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6591
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6592
 
 
6593
 
fi
6594
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6595
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6596
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6597
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6598
 
    CFLAGS="$SAVE_CFLAGS"
6599
 
  fi
6600
 
  ;;
6601
 
*-*solaris*)
6602
 
  # Find out which ABI we are using.
6603
 
  echo 'int i;' > conftest.$ac_ext
6604
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6605
 
  (eval $ac_compile) 2>&5
6606
 
  ac_status=$?
6607
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6608
 
  test $ac_status = 0; }; then
6609
 
    case `/usr/bin/file conftest.o` in
6610
 
    *64-bit*)
6611
 
      case $lt_cv_prog_gnu_ld in
6612
 
      yes*)
6613
 
        case $host in
6614
 
        i?86-*-solaris*)
6615
 
          LD="${LD-ld} -m elf_x86_64"
6616
 
          ;;
6617
 
        sparc*-*-solaris*)
6618
 
          LD="${LD-ld} -m elf64_sparc"
6619
 
          ;;
6620
 
        esac
6621
 
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6622
 
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6623
 
          LD="${LD-ld}_sol2"
6624
 
        fi
6625
 
        ;;
6626
 
      *)
6627
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6628
 
          LD="${LD-ld} -64"
6629
 
        fi
6630
 
        ;;
6631
 
      esac
6632
 
      ;;
6633
 
    esac
6634
 
  fi
6635
 
  rm -rf conftest*
6636
 
  ;;
6637
 
esac
6638
 
 
6639
 
need_locks="$enable_libtool_lock"
6640
 
 
6641
 
if test -n "$ac_tool_prefix"; then
6642
 
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6643
 
set dummy ${ac_tool_prefix}mt; ac_word=$2
6644
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6645
 
$as_echo_n "checking for $ac_word... " >&6; }
6646
 
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6647
 
  $as_echo_n "(cached) " >&6
6648
 
else
6649
 
  if test -n "$MANIFEST_TOOL"; then
6650
 
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6651
 
else
6652
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6653
 
for as_dir in $PATH
6654
 
do
6655
 
  IFS=$as_save_IFS
6656
 
  test -z "$as_dir" && as_dir=.
6657
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6658
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6659
 
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6660
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6661
 
    break 2
6662
 
  fi
6663
 
done
6664
 
  done
6665
 
IFS=$as_save_IFS
6666
 
 
6667
 
fi
6668
 
fi
6669
 
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6670
 
if test -n "$MANIFEST_TOOL"; then
6671
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6672
 
$as_echo "$MANIFEST_TOOL" >&6; }
6673
 
else
6674
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6675
 
$as_echo "no" >&6; }
6676
 
fi
6677
 
 
6678
 
 
6679
 
fi
6680
 
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6681
 
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6682
 
  # Extract the first word of "mt", so it can be a program name with args.
6683
 
set dummy mt; ac_word=$2
6684
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685
 
$as_echo_n "checking for $ac_word... " >&6; }
6686
 
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6687
 
  $as_echo_n "(cached) " >&6
6688
 
else
6689
 
  if test -n "$ac_ct_MANIFEST_TOOL"; then
6690
 
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6691
 
else
6692
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6693
 
for as_dir in $PATH
6694
 
do
6695
 
  IFS=$as_save_IFS
6696
 
  test -z "$as_dir" && as_dir=.
6697
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6698
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6699
 
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6700
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6701
 
    break 2
6702
 
  fi
6703
 
done
6704
 
  done
6705
 
IFS=$as_save_IFS
6706
 
 
6707
 
fi
6708
 
fi
6709
 
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6710
 
if test -n "$ac_ct_MANIFEST_TOOL"; then
6711
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6712
 
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6713
 
else
6714
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715
 
$as_echo "no" >&6; }
6716
 
fi
6717
 
 
6718
 
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6719
 
    MANIFEST_TOOL=":"
6720
 
  else
6721
 
    case $cross_compiling:$ac_tool_warned in
6722
 
yes:)
6723
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6724
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6725
 
ac_tool_warned=yes ;;
6726
 
esac
6727
 
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6728
 
  fi
6729
 
else
6730
 
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6731
 
fi
6732
 
 
6733
 
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6734
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6735
 
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6736
 
if ${lt_cv_path_mainfest_tool+:} false; then :
6737
 
  $as_echo_n "(cached) " >&6
6738
 
else
6739
 
  lt_cv_path_mainfest_tool=no
6740
 
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6741
 
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6742
 
  cat conftest.err >&5
6743
 
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6744
 
    lt_cv_path_mainfest_tool=yes
6745
 
  fi
6746
 
  rm -f conftest*
6747
 
fi
6748
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6749
 
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6750
 
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6751
 
  MANIFEST_TOOL=:
6752
 
fi
6753
 
 
6754
 
 
6755
 
 
6756
 
 
6757
 
 
6758
 
 
6759
 
  case $host_os in
6760
 
    rhapsody* | darwin*)
6761
 
    if test -n "$ac_tool_prefix"; then
6762
 
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6763
 
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6764
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6765
 
$as_echo_n "checking for $ac_word... " >&6; }
6766
 
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6767
 
  $as_echo_n "(cached) " >&6
6768
 
else
6769
 
  if test -n "$DSYMUTIL"; then
6770
 
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6771
 
else
6772
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6773
 
for as_dir in $PATH
6774
 
do
6775
 
  IFS=$as_save_IFS
6776
 
  test -z "$as_dir" && as_dir=.
6777
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6778
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6779
 
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6780
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6781
 
    break 2
6782
 
  fi
6783
 
done
6784
 
  done
6785
 
IFS=$as_save_IFS
6786
 
 
6787
 
fi
6788
 
fi
6789
 
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6790
 
if test -n "$DSYMUTIL"; then
6791
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6792
 
$as_echo "$DSYMUTIL" >&6; }
6793
 
else
6794
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6795
 
$as_echo "no" >&6; }
6796
 
fi
6797
 
 
6798
 
 
6799
 
fi
6800
 
if test -z "$ac_cv_prog_DSYMUTIL"; then
6801
 
  ac_ct_DSYMUTIL=$DSYMUTIL
6802
 
  # Extract the first word of "dsymutil", so it can be a program name with args.
6803
 
set dummy dsymutil; ac_word=$2
6804
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805
 
$as_echo_n "checking for $ac_word... " >&6; }
6806
 
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6807
 
  $as_echo_n "(cached) " >&6
6808
 
else
6809
 
  if test -n "$ac_ct_DSYMUTIL"; then
6810
 
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6811
 
else
6812
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6813
 
for as_dir in $PATH
6814
 
do
6815
 
  IFS=$as_save_IFS
6816
 
  test -z "$as_dir" && as_dir=.
6817
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6818
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6819
 
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6820
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6821
 
    break 2
6822
 
  fi
6823
 
done
6824
 
  done
6825
 
IFS=$as_save_IFS
6826
 
 
6827
 
fi
6828
 
fi
6829
 
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6830
 
if test -n "$ac_ct_DSYMUTIL"; then
6831
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6832
 
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6833
 
else
6834
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835
 
$as_echo "no" >&6; }
6836
 
fi
6837
 
 
6838
 
  if test "x$ac_ct_DSYMUTIL" = x; then
6839
 
    DSYMUTIL=":"
6840
 
  else
6841
 
    case $cross_compiling:$ac_tool_warned in
6842
 
yes:)
6843
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6844
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6845
 
ac_tool_warned=yes ;;
6846
 
esac
6847
 
    DSYMUTIL=$ac_ct_DSYMUTIL
6848
 
  fi
6849
 
else
6850
 
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6851
 
fi
6852
 
 
6853
 
    if test -n "$ac_tool_prefix"; then
6854
 
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6855
 
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6856
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6857
 
$as_echo_n "checking for $ac_word... " >&6; }
6858
 
if ${ac_cv_prog_NMEDIT+:} false; then :
6859
 
  $as_echo_n "(cached) " >&6
6860
 
else
6861
 
  if test -n "$NMEDIT"; then
6862
 
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6863
 
else
6864
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6865
 
for as_dir in $PATH
6866
 
do
6867
 
  IFS=$as_save_IFS
6868
 
  test -z "$as_dir" && as_dir=.
6869
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6870
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6871
 
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6872
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6873
 
    break 2
6874
 
  fi
6875
 
done
6876
 
  done
6877
 
IFS=$as_save_IFS
6878
 
 
6879
 
fi
6880
 
fi
6881
 
NMEDIT=$ac_cv_prog_NMEDIT
6882
 
if test -n "$NMEDIT"; then
6883
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6884
 
$as_echo "$NMEDIT" >&6; }
6885
 
else
6886
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6887
 
$as_echo "no" >&6; }
6888
 
fi
6889
 
 
6890
 
 
6891
 
fi
6892
 
if test -z "$ac_cv_prog_NMEDIT"; then
6893
 
  ac_ct_NMEDIT=$NMEDIT
6894
 
  # Extract the first word of "nmedit", so it can be a program name with args.
6895
 
set dummy nmedit; ac_word=$2
6896
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6897
 
$as_echo_n "checking for $ac_word... " >&6; }
6898
 
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6899
 
  $as_echo_n "(cached) " >&6
6900
 
else
6901
 
  if test -n "$ac_ct_NMEDIT"; then
6902
 
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6903
 
else
6904
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6905
 
for as_dir in $PATH
6906
 
do
6907
 
  IFS=$as_save_IFS
6908
 
  test -z "$as_dir" && as_dir=.
6909
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6910
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6911
 
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6912
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6913
 
    break 2
6914
 
  fi
6915
 
done
6916
 
  done
6917
 
IFS=$as_save_IFS
6918
 
 
6919
 
fi
6920
 
fi
6921
 
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6922
 
if test -n "$ac_ct_NMEDIT"; then
6923
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6924
 
$as_echo "$ac_ct_NMEDIT" >&6; }
6925
 
else
6926
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6927
 
$as_echo "no" >&6; }
6928
 
fi
6929
 
 
6930
 
  if test "x$ac_ct_NMEDIT" = x; then
6931
 
    NMEDIT=":"
6932
 
  else
6933
 
    case $cross_compiling:$ac_tool_warned in
6934
 
yes:)
6935
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6936
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6937
 
ac_tool_warned=yes ;;
6938
 
esac
6939
 
    NMEDIT=$ac_ct_NMEDIT
6940
 
  fi
6941
 
else
6942
 
  NMEDIT="$ac_cv_prog_NMEDIT"
6943
 
fi
6944
 
 
6945
 
    if test -n "$ac_tool_prefix"; then
6946
 
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6947
 
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6948
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6949
 
$as_echo_n "checking for $ac_word... " >&6; }
6950
 
if ${ac_cv_prog_LIPO+:} false; then :
6951
 
  $as_echo_n "(cached) " >&6
6952
 
else
6953
 
  if test -n "$LIPO"; then
6954
 
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6955
 
else
6956
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6957
 
for as_dir in $PATH
6958
 
do
6959
 
  IFS=$as_save_IFS
6960
 
  test -z "$as_dir" && as_dir=.
6961
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6962
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6963
 
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6964
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6965
 
    break 2
6966
 
  fi
6967
 
done
6968
 
  done
6969
 
IFS=$as_save_IFS
6970
 
 
6971
 
fi
6972
 
fi
6973
 
LIPO=$ac_cv_prog_LIPO
6974
 
if test -n "$LIPO"; then
6975
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6976
 
$as_echo "$LIPO" >&6; }
6977
 
else
6978
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6979
 
$as_echo "no" >&6; }
6980
 
fi
6981
 
 
6982
 
 
6983
 
fi
6984
 
if test -z "$ac_cv_prog_LIPO"; then
6985
 
  ac_ct_LIPO=$LIPO
6986
 
  # Extract the first word of "lipo", so it can be a program name with args.
6987
 
set dummy lipo; ac_word=$2
6988
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6989
 
$as_echo_n "checking for $ac_word... " >&6; }
6990
 
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6991
 
  $as_echo_n "(cached) " >&6
6992
 
else
6993
 
  if test -n "$ac_ct_LIPO"; then
6994
 
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6995
 
else
6996
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6997
 
for as_dir in $PATH
6998
 
do
6999
 
  IFS=$as_save_IFS
7000
 
  test -z "$as_dir" && as_dir=.
7001
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7002
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7003
 
    ac_cv_prog_ac_ct_LIPO="lipo"
7004
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7005
 
    break 2
7006
 
  fi
7007
 
done
7008
 
  done
7009
 
IFS=$as_save_IFS
7010
 
 
7011
 
fi
7012
 
fi
7013
 
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7014
 
if test -n "$ac_ct_LIPO"; then
7015
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7016
 
$as_echo "$ac_ct_LIPO" >&6; }
7017
 
else
7018
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7019
 
$as_echo "no" >&6; }
7020
 
fi
7021
 
 
7022
 
  if test "x$ac_ct_LIPO" = x; then
7023
 
    LIPO=":"
7024
 
  else
7025
 
    case $cross_compiling:$ac_tool_warned in
7026
 
yes:)
7027
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7028
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7029
 
ac_tool_warned=yes ;;
7030
 
esac
7031
 
    LIPO=$ac_ct_LIPO
7032
 
  fi
7033
 
else
7034
 
  LIPO="$ac_cv_prog_LIPO"
7035
 
fi
7036
 
 
7037
 
    if test -n "$ac_tool_prefix"; then
7038
 
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7039
 
set dummy ${ac_tool_prefix}otool; ac_word=$2
7040
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7041
 
$as_echo_n "checking for $ac_word... " >&6; }
7042
 
if ${ac_cv_prog_OTOOL+:} false; then :
7043
 
  $as_echo_n "(cached) " >&6
7044
 
else
7045
 
  if test -n "$OTOOL"; then
7046
 
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7047
 
else
7048
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7049
 
for as_dir in $PATH
7050
 
do
7051
 
  IFS=$as_save_IFS
7052
 
  test -z "$as_dir" && as_dir=.
7053
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7054
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7055
 
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7056
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7057
 
    break 2
7058
 
  fi
7059
 
done
7060
 
  done
7061
 
IFS=$as_save_IFS
7062
 
 
7063
 
fi
7064
 
fi
7065
 
OTOOL=$ac_cv_prog_OTOOL
7066
 
if test -n "$OTOOL"; then
7067
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7068
 
$as_echo "$OTOOL" >&6; }
7069
 
else
7070
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7071
 
$as_echo "no" >&6; }
7072
 
fi
7073
 
 
7074
 
 
7075
 
fi
7076
 
if test -z "$ac_cv_prog_OTOOL"; then
7077
 
  ac_ct_OTOOL=$OTOOL
7078
 
  # Extract the first word of "otool", so it can be a program name with args.
7079
 
set dummy otool; ac_word=$2
7080
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7081
 
$as_echo_n "checking for $ac_word... " >&6; }
7082
 
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7083
 
  $as_echo_n "(cached) " >&6
7084
 
else
7085
 
  if test -n "$ac_ct_OTOOL"; then
7086
 
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7087
 
else
7088
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7089
 
for as_dir in $PATH
7090
 
do
7091
 
  IFS=$as_save_IFS
7092
 
  test -z "$as_dir" && as_dir=.
7093
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7094
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7095
 
    ac_cv_prog_ac_ct_OTOOL="otool"
7096
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7097
 
    break 2
7098
 
  fi
7099
 
done
7100
 
  done
7101
 
IFS=$as_save_IFS
7102
 
 
7103
 
fi
7104
 
fi
7105
 
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7106
 
if test -n "$ac_ct_OTOOL"; then
7107
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7108
 
$as_echo "$ac_ct_OTOOL" >&6; }
7109
 
else
7110
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7111
 
$as_echo "no" >&6; }
7112
 
fi
7113
 
 
7114
 
  if test "x$ac_ct_OTOOL" = x; then
7115
 
    OTOOL=":"
7116
 
  else
7117
 
    case $cross_compiling:$ac_tool_warned in
7118
 
yes:)
7119
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7120
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7121
 
ac_tool_warned=yes ;;
7122
 
esac
7123
 
    OTOOL=$ac_ct_OTOOL
7124
 
  fi
7125
 
else
7126
 
  OTOOL="$ac_cv_prog_OTOOL"
7127
 
fi
7128
 
 
7129
 
    if test -n "$ac_tool_prefix"; then
7130
 
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7131
 
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7132
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7133
 
$as_echo_n "checking for $ac_word... " >&6; }
7134
 
if ${ac_cv_prog_OTOOL64+:} false; then :
7135
 
  $as_echo_n "(cached) " >&6
7136
 
else
7137
 
  if test -n "$OTOOL64"; then
7138
 
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7139
 
else
7140
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7141
 
for as_dir in $PATH
7142
 
do
7143
 
  IFS=$as_save_IFS
7144
 
  test -z "$as_dir" && as_dir=.
7145
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7146
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7147
 
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7148
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7149
 
    break 2
7150
 
  fi
7151
 
done
7152
 
  done
7153
 
IFS=$as_save_IFS
7154
 
 
7155
 
fi
7156
 
fi
7157
 
OTOOL64=$ac_cv_prog_OTOOL64
7158
 
if test -n "$OTOOL64"; then
7159
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7160
 
$as_echo "$OTOOL64" >&6; }
7161
 
else
7162
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7163
 
$as_echo "no" >&6; }
7164
 
fi
7165
 
 
7166
 
 
7167
 
fi
7168
 
if test -z "$ac_cv_prog_OTOOL64"; then
7169
 
  ac_ct_OTOOL64=$OTOOL64
7170
 
  # Extract the first word of "otool64", so it can be a program name with args.
7171
 
set dummy otool64; ac_word=$2
7172
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7173
 
$as_echo_n "checking for $ac_word... " >&6; }
7174
 
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7175
 
  $as_echo_n "(cached) " >&6
7176
 
else
7177
 
  if test -n "$ac_ct_OTOOL64"; then
7178
 
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7179
 
else
7180
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7181
 
for as_dir in $PATH
7182
 
do
7183
 
  IFS=$as_save_IFS
7184
 
  test -z "$as_dir" && as_dir=.
7185
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7186
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7187
 
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7188
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7189
 
    break 2
7190
 
  fi
7191
 
done
7192
 
  done
7193
 
IFS=$as_save_IFS
7194
 
 
7195
 
fi
7196
 
fi
7197
 
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7198
 
if test -n "$ac_ct_OTOOL64"; then
7199
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7200
 
$as_echo "$ac_ct_OTOOL64" >&6; }
7201
 
else
7202
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7203
 
$as_echo "no" >&6; }
7204
 
fi
7205
 
 
7206
 
  if test "x$ac_ct_OTOOL64" = x; then
7207
 
    OTOOL64=":"
7208
 
  else
7209
 
    case $cross_compiling:$ac_tool_warned in
7210
 
yes:)
7211
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7212
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7213
 
ac_tool_warned=yes ;;
7214
 
esac
7215
 
    OTOOL64=$ac_ct_OTOOL64
7216
 
  fi
7217
 
else
7218
 
  OTOOL64="$ac_cv_prog_OTOOL64"
7219
 
fi
7220
 
 
7221
 
 
7222
 
 
7223
 
 
7224
 
 
7225
 
 
7226
 
 
7227
 
 
7228
 
 
7229
 
 
7230
 
 
7231
 
 
7232
 
 
7233
 
 
7234
 
 
7235
 
 
7236
 
 
7237
 
 
7238
 
 
7239
 
 
7240
 
 
7241
 
 
7242
 
 
7243
 
 
7244
 
 
7245
 
 
7246
 
 
7247
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7248
 
$as_echo_n "checking for -single_module linker flag... " >&6; }
7249
 
if ${lt_cv_apple_cc_single_mod+:} false; then :
7250
 
  $as_echo_n "(cached) " >&6
7251
 
else
7252
 
  lt_cv_apple_cc_single_mod=no
7253
 
      if test -z "${LT_MULTI_MODULE}"; then
7254
 
        # By default we will add the -single_module flag. You can override
7255
 
        # by either setting the environment variable LT_MULTI_MODULE
7256
 
        # non-empty at configure time, or by adding -multi_module to the
7257
 
        # link flags.
7258
 
        rm -rf libconftest.dylib*
7259
 
        echo "int foo(void){return 1;}" > conftest.c
7260
 
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7261
 
-dynamiclib -Wl,-single_module conftest.c" >&5
7262
 
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7263
 
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7264
 
        _lt_result=$?
7265
 
        # If there is a non-empty error log, and "single_module"
7266
 
        # appears in it, assume the flag caused a linker warning
7267
 
        if test -s conftest.err && $GREP single_module conftest.err; then
7268
 
          cat conftest.err >&5
7269
 
        # Otherwise, if the output was created with a 0 exit code from
7270
 
        # the compiler, it worked.
7271
 
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7272
 
          lt_cv_apple_cc_single_mod=yes
7273
 
        else
7274
 
          cat conftest.err >&5
7275
 
        fi
7276
 
        rm -rf libconftest.dylib*
7277
 
        rm -f conftest.*
7278
 
      fi
7279
 
fi
7280
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7281
 
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7282
 
 
7283
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7284
 
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7285
 
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7286
 
  $as_echo_n "(cached) " >&6
7287
 
else
7288
 
  lt_cv_ld_exported_symbols_list=no
7289
 
      save_LDFLAGS=$LDFLAGS
7290
 
      echo "_main" > conftest.sym
7291
 
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7292
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7293
 
/* end confdefs.h.  */
7294
 
 
7295
 
int
7296
 
main ()
7297
 
{
7298
 
 
7299
 
  ;
7300
 
  return 0;
7301
 
}
7302
 
_ACEOF
7303
 
if ac_fn_c_try_link "$LINENO"; then :
7304
 
  lt_cv_ld_exported_symbols_list=yes
7305
 
else
7306
 
  lt_cv_ld_exported_symbols_list=no
7307
 
fi
7308
 
rm -f core conftest.err conftest.$ac_objext \
7309
 
    conftest$ac_exeext conftest.$ac_ext
7310
 
        LDFLAGS="$save_LDFLAGS"
7311
 
 
7312
 
fi
7313
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7314
 
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7315
 
 
7316
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7317
 
$as_echo_n "checking for -force_load linker flag... " >&6; }
7318
 
if ${lt_cv_ld_force_load+:} false; then :
7319
 
  $as_echo_n "(cached) " >&6
7320
 
else
7321
 
  lt_cv_ld_force_load=no
7322
 
      cat > conftest.c << _LT_EOF
7323
 
int forced_loaded() { return 2;}
7324
 
_LT_EOF
7325
 
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7326
 
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7327
 
      echo "$AR cru libconftest.a conftest.o" >&5
7328
 
      $AR cru libconftest.a conftest.o 2>&5
7329
 
      echo "$RANLIB libconftest.a" >&5
7330
 
      $RANLIB libconftest.a 2>&5
7331
 
      cat > conftest.c << _LT_EOF
7332
 
int main() { return 0;}
7333
 
_LT_EOF
7334
 
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7335
 
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7336
 
      _lt_result=$?
7337
 
      if test -s conftest.err && $GREP force_load conftest.err; then
7338
 
        cat conftest.err >&5
7339
 
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7340
 
        lt_cv_ld_force_load=yes
7341
 
      else
7342
 
        cat conftest.err >&5
7343
 
      fi
7344
 
        rm -f conftest.err libconftest.a conftest conftest.c
7345
 
        rm -rf conftest.dSYM
7346
 
 
7347
 
fi
7348
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7349
 
$as_echo "$lt_cv_ld_force_load" >&6; }
7350
 
    case $host_os in
7351
 
    rhapsody* | darwin1.[012])
7352
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7353
 
    darwin1.*)
7354
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7355
 
    darwin*) # darwin 5.x on
7356
 
      # if running on 10.5 or later, the deployment target defaults
7357
 
      # to the OS version, if on x86, and 10.4, the deployment
7358
 
      # target defaults to 10.4. Don't you love it?
7359
 
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7360
 
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7361
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7362
 
        10.[012]*)
7363
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7364
 
        10.*)
7365
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7366
 
      esac
7367
 
    ;;
7368
 
  esac
7369
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7370
 
      _lt_dar_single_mod='$single_module'
7371
 
    fi
7372
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7373
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7374
 
    else
7375
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7376
 
    fi
7377
 
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7378
 
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7379
 
    else
7380
 
      _lt_dsymutil=
7381
 
    fi
7382
 
    ;;
7383
 
  esac
7384
 
 
7385
 
ac_ext=c
7386
 
ac_cpp='$CPP $CPPFLAGS'
7387
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7388
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7389
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7390
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7391
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7392
 
# On Suns, sometimes $CPP names a directory.
7393
 
if test -n "$CPP" && test -d "$CPP"; then
7394
 
  CPP=
7395
 
fi
7396
 
if test -z "$CPP"; then
7397
 
  if ${ac_cv_prog_CPP+:} false; then :
7398
 
  $as_echo_n "(cached) " >&6
7399
 
else
7400
 
      # Double quotes because CPP needs to be expanded
7401
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7402
 
    do
7403
 
      ac_preproc_ok=false
7404
 
for ac_c_preproc_warn_flag in '' yes
7405
 
do
7406
 
  # Use a header file that comes with gcc, so configuring glibc
7407
 
  # with a fresh cross-compiler works.
7408
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7409
 
  # <limits.h> exists even on freestanding compilers.
7410
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7411
 
  # not just through cpp. "Syntax error" is here to catch this case.
7412
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7413
 
/* end confdefs.h.  */
7414
 
#ifdef __STDC__
7415
 
# include <limits.h>
7416
 
#else
7417
 
# include <assert.h>
7418
 
#endif
7419
 
                     Syntax error
7420
 
_ACEOF
7421
 
if ac_fn_c_try_cpp "$LINENO"; then :
7422
 
 
7423
 
else
7424
 
  # Broken: fails on valid input.
7425
 
continue
7426
 
fi
7427
 
rm -f conftest.err conftest.i conftest.$ac_ext
7428
 
 
7429
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7430
 
  # can be detected and how.
7431
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7432
 
/* end confdefs.h.  */
7433
 
#include <ac_nonexistent.h>
7434
 
_ACEOF
7435
 
if ac_fn_c_try_cpp "$LINENO"; then :
7436
 
  # Broken: success on invalid input.
7437
 
continue
7438
 
else
7439
 
  # Passes both tests.
7440
 
ac_preproc_ok=:
7441
 
break
7442
 
fi
7443
 
rm -f conftest.err conftest.i conftest.$ac_ext
7444
 
 
7445
 
done
7446
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7447
 
rm -f conftest.i conftest.err conftest.$ac_ext
7448
 
if $ac_preproc_ok; then :
7449
 
  break
7450
 
fi
7451
 
 
7452
 
    done
7453
 
    ac_cv_prog_CPP=$CPP
7454
 
 
7455
 
fi
7456
 
  CPP=$ac_cv_prog_CPP
7457
 
else
7458
 
  ac_cv_prog_CPP=$CPP
7459
 
fi
7460
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7461
 
$as_echo "$CPP" >&6; }
7462
 
ac_preproc_ok=false
7463
 
for ac_c_preproc_warn_flag in '' yes
7464
 
do
7465
 
  # Use a header file that comes with gcc, so configuring glibc
7466
 
  # with a fresh cross-compiler works.
7467
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7468
 
  # <limits.h> exists even on freestanding compilers.
7469
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7470
 
  # not just through cpp. "Syntax error" is here to catch this case.
7471
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7472
 
/* end confdefs.h.  */
7473
 
#ifdef __STDC__
7474
 
# include <limits.h>
7475
 
#else
7476
 
# include <assert.h>
7477
 
#endif
7478
 
                     Syntax error
7479
 
_ACEOF
7480
 
if ac_fn_c_try_cpp "$LINENO"; then :
7481
 
 
7482
 
else
7483
 
  # Broken: fails on valid input.
7484
 
continue
7485
 
fi
7486
 
rm -f conftest.err conftest.i conftest.$ac_ext
7487
 
 
7488
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7489
 
  # can be detected and how.
7490
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7491
 
/* end confdefs.h.  */
7492
 
#include <ac_nonexistent.h>
7493
 
_ACEOF
7494
 
if ac_fn_c_try_cpp "$LINENO"; then :
7495
 
  # Broken: success on invalid input.
7496
 
continue
7497
 
else
7498
 
  # Passes both tests.
7499
 
ac_preproc_ok=:
7500
 
break
7501
 
fi
7502
 
rm -f conftest.err conftest.i conftest.$ac_ext
7503
 
 
7504
 
done
7505
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7506
 
rm -f conftest.i conftest.err conftest.$ac_ext
7507
 
if $ac_preproc_ok; then :
7508
 
 
7509
 
else
7510
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7511
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7512
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7513
 
See \`config.log' for more details" "$LINENO" 5; }
7514
 
fi
7515
 
 
7516
 
ac_ext=c
7517
 
ac_cpp='$CPP $CPPFLAGS'
7518
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7519
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7520
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7521
 
 
7522
 
 
7523
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7524
 
$as_echo_n "checking for ANSI C header files... " >&6; }
7525
 
if ${ac_cv_header_stdc+:} false; then :
7526
 
  $as_echo_n "(cached) " >&6
7527
 
else
7528
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7529
 
/* end confdefs.h.  */
7530
 
#include <stdlib.h>
7531
 
#include <stdarg.h>
7532
 
#include <string.h>
7533
 
#include <float.h>
7534
 
 
7535
 
int
7536
 
main ()
7537
 
{
7538
 
 
7539
 
  ;
7540
 
  return 0;
7541
 
}
7542
 
_ACEOF
7543
 
if ac_fn_c_try_compile "$LINENO"; then :
7544
 
  ac_cv_header_stdc=yes
7545
 
else
7546
 
  ac_cv_header_stdc=no
7547
 
fi
7548
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7549
 
 
7550
 
if test $ac_cv_header_stdc = yes; then
7551
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7552
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7553
 
/* end confdefs.h.  */
7554
 
#include <string.h>
7555
 
 
7556
 
_ACEOF
7557
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7558
 
  $EGREP "memchr" >/dev/null 2>&1; then :
7559
 
 
7560
 
else
7561
 
  ac_cv_header_stdc=no
7562
 
fi
7563
 
rm -f conftest*
7564
 
 
7565
 
fi
7566
 
 
7567
 
if test $ac_cv_header_stdc = yes; then
7568
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7569
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7570
 
/* end confdefs.h.  */
7571
 
#include <stdlib.h>
7572
 
 
7573
 
_ACEOF
7574
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7575
 
  $EGREP "free" >/dev/null 2>&1; then :
7576
 
 
7577
 
else
7578
 
  ac_cv_header_stdc=no
7579
 
fi
7580
 
rm -f conftest*
7581
 
 
7582
 
fi
7583
 
 
7584
 
if test $ac_cv_header_stdc = yes; then
7585
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7586
 
  if test "$cross_compiling" = yes; then :
7587
 
  :
7588
 
else
7589
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7590
 
/* end confdefs.h.  */
7591
 
#include <ctype.h>
7592
 
#include <stdlib.h>
7593
 
#if ((' ' & 0x0FF) == 0x020)
7594
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7595
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7596
 
#else
7597
 
# define ISLOWER(c) \
7598
 
                   (('a' <= (c) && (c) <= 'i') \
7599
 
                     || ('j' <= (c) && (c) <= 'r') \
7600
 
                     || ('s' <= (c) && (c) <= 'z'))
7601
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7602
 
#endif
7603
 
 
7604
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7605
 
int
7606
 
main ()
7607
 
{
7608
 
  int i;
7609
 
  for (i = 0; i < 256; i++)
7610
 
    if (XOR (islower (i), ISLOWER (i))
7611
 
        || toupper (i) != TOUPPER (i))
7612
 
      return 2;
7613
 
  return 0;
7614
 
}
7615
 
_ACEOF
7616
 
if ac_fn_c_try_run "$LINENO"; then :
7617
 
 
7618
 
else
7619
 
  ac_cv_header_stdc=no
7620
 
fi
7621
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7622
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
7623
 
fi
7624
 
 
7625
 
fi
7626
 
fi
7627
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7628
 
$as_echo "$ac_cv_header_stdc" >&6; }
7629
 
if test $ac_cv_header_stdc = yes; then
7630
 
 
7631
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7632
 
 
7633
 
fi
7634
 
 
7635
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7636
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7637
 
                  inttypes.h stdint.h unistd.h
7638
 
do :
7639
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7640
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7641
 
"
7642
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7643
 
  cat >>confdefs.h <<_ACEOF
7644
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7645
 
_ACEOF
7646
 
 
7647
 
fi
7648
 
 
7649
 
done
7650
 
 
7651
 
 
7652
 
for ac_header in dlfcn.h
7653
 
do :
7654
 
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7655
 
"
7656
 
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7657
 
  cat >>confdefs.h <<_ACEOF
7658
 
#define HAVE_DLFCN_H 1
7659
 
_ACEOF
7660
 
 
7661
 
fi
7662
 
 
7663
 
done
7664
 
 
7665
 
 
7666
 
 
7667
 
 
7668
 
 
7669
 
 
7670
 
# Set options
7671
 
enable_win32_dll=yes
7672
 
 
7673
 
case $host in
7674
 
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7675
 
  if test -n "$ac_tool_prefix"; then
7676
 
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7677
 
set dummy ${ac_tool_prefix}as; ac_word=$2
7678
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7679
 
$as_echo_n "checking for $ac_word... " >&6; }
7680
 
if ${ac_cv_prog_AS+:} false; then :
7681
 
  $as_echo_n "(cached) " >&6
7682
 
else
7683
 
  if test -n "$AS"; then
7684
 
  ac_cv_prog_AS="$AS" # Let the user override the test.
7685
 
else
7686
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7687
 
for as_dir in $PATH
7688
 
do
7689
 
  IFS=$as_save_IFS
7690
 
  test -z "$as_dir" && as_dir=.
7691
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7692
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7693
 
    ac_cv_prog_AS="${ac_tool_prefix}as"
7694
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7695
 
    break 2
7696
 
  fi
7697
 
done
7698
 
  done
7699
 
IFS=$as_save_IFS
7700
 
 
7701
 
fi
7702
 
fi
7703
 
AS=$ac_cv_prog_AS
7704
 
if test -n "$AS"; then
7705
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7706
 
$as_echo "$AS" >&6; }
7707
 
else
7708
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7709
 
$as_echo "no" >&6; }
7710
 
fi
7711
 
 
7712
 
 
7713
 
fi
7714
 
if test -z "$ac_cv_prog_AS"; then
7715
 
  ac_ct_AS=$AS
7716
 
  # Extract the first word of "as", so it can be a program name with args.
7717
 
set dummy as; ac_word=$2
7718
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7719
 
$as_echo_n "checking for $ac_word... " >&6; }
7720
 
if ${ac_cv_prog_ac_ct_AS+:} false; then :
7721
 
  $as_echo_n "(cached) " >&6
7722
 
else
7723
 
  if test -n "$ac_ct_AS"; then
7724
 
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7725
 
else
7726
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7727
 
for as_dir in $PATH
7728
 
do
7729
 
  IFS=$as_save_IFS
7730
 
  test -z "$as_dir" && as_dir=.
7731
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7732
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7733
 
    ac_cv_prog_ac_ct_AS="as"
7734
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7735
 
    break 2
7736
 
  fi
7737
 
done
7738
 
  done
7739
 
IFS=$as_save_IFS
7740
 
 
7741
 
fi
7742
 
fi
7743
 
ac_ct_AS=$ac_cv_prog_ac_ct_AS
7744
 
if test -n "$ac_ct_AS"; then
7745
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7746
 
$as_echo "$ac_ct_AS" >&6; }
7747
 
else
7748
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7749
 
$as_echo "no" >&6; }
7750
 
fi
7751
 
 
7752
 
  if test "x$ac_ct_AS" = x; then
7753
 
    AS="false"
7754
 
  else
7755
 
    case $cross_compiling:$ac_tool_warned in
7756
 
yes:)
7757
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7758
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7759
 
ac_tool_warned=yes ;;
7760
 
esac
7761
 
    AS=$ac_ct_AS
7762
 
  fi
7763
 
else
7764
 
  AS="$ac_cv_prog_AS"
7765
 
fi
7766
 
 
7767
 
  if test -n "$ac_tool_prefix"; then
7768
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7769
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7770
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7771
 
$as_echo_n "checking for $ac_word... " >&6; }
7772
 
if ${ac_cv_prog_DLLTOOL+:} false; then :
7773
 
  $as_echo_n "(cached) " >&6
7774
 
else
7775
 
  if test -n "$DLLTOOL"; then
7776
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7777
 
else
7778
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7779
 
for as_dir in $PATH
7780
 
do
7781
 
  IFS=$as_save_IFS
7782
 
  test -z "$as_dir" && as_dir=.
7783
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7784
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7785
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7786
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7787
 
    break 2
7788
 
  fi
7789
 
done
7790
 
  done
7791
 
IFS=$as_save_IFS
7792
 
 
7793
 
fi
7794
 
fi
7795
 
DLLTOOL=$ac_cv_prog_DLLTOOL
7796
 
if test -n "$DLLTOOL"; then
7797
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7798
 
$as_echo "$DLLTOOL" >&6; }
7799
 
else
7800
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7801
 
$as_echo "no" >&6; }
7802
 
fi
7803
 
 
7804
 
 
7805
 
fi
7806
 
if test -z "$ac_cv_prog_DLLTOOL"; then
7807
 
  ac_ct_DLLTOOL=$DLLTOOL
7808
 
  # Extract the first word of "dlltool", so it can be a program name with args.
7809
 
set dummy dlltool; ac_word=$2
7810
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7811
 
$as_echo_n "checking for $ac_word... " >&6; }
7812
 
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7813
 
  $as_echo_n "(cached) " >&6
7814
 
else
7815
 
  if test -n "$ac_ct_DLLTOOL"; then
7816
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7817
 
else
7818
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7819
 
for as_dir in $PATH
7820
 
do
7821
 
  IFS=$as_save_IFS
7822
 
  test -z "$as_dir" && as_dir=.
7823
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7824
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7825
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7826
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7827
 
    break 2
7828
 
  fi
7829
 
done
7830
 
  done
7831
 
IFS=$as_save_IFS
7832
 
 
7833
 
fi
7834
 
fi
7835
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7836
 
if test -n "$ac_ct_DLLTOOL"; then
7837
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7838
 
$as_echo "$ac_ct_DLLTOOL" >&6; }
7839
 
else
7840
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7841
 
$as_echo "no" >&6; }
7842
 
fi
7843
 
 
7844
 
  if test "x$ac_ct_DLLTOOL" = x; then
7845
 
    DLLTOOL="false"
7846
 
  else
7847
 
    case $cross_compiling:$ac_tool_warned in
7848
 
yes:)
7849
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7850
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7851
 
ac_tool_warned=yes ;;
7852
 
esac
7853
 
    DLLTOOL=$ac_ct_DLLTOOL
7854
 
  fi
7855
 
else
7856
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
7857
 
fi
7858
 
 
7859
 
  if test -n "$ac_tool_prefix"; then
7860
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7861
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
7862
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7863
 
$as_echo_n "checking for $ac_word... " >&6; }
7864
 
if ${ac_cv_prog_OBJDUMP+:} false; then :
7865
 
  $as_echo_n "(cached) " >&6
7866
 
else
7867
 
  if test -n "$OBJDUMP"; then
7868
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7869
 
else
7870
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7871
 
for as_dir in $PATH
7872
 
do
7873
 
  IFS=$as_save_IFS
7874
 
  test -z "$as_dir" && as_dir=.
7875
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7876
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7877
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7878
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7879
 
    break 2
7880
 
  fi
7881
 
done
7882
 
  done
7883
 
IFS=$as_save_IFS
7884
 
 
7885
 
fi
7886
 
fi
7887
 
OBJDUMP=$ac_cv_prog_OBJDUMP
7888
 
if test -n "$OBJDUMP"; then
7889
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7890
 
$as_echo "$OBJDUMP" >&6; }
7891
 
else
7892
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7893
 
$as_echo "no" >&6; }
7894
 
fi
7895
 
 
7896
 
 
7897
 
fi
7898
 
if test -z "$ac_cv_prog_OBJDUMP"; then
7899
 
  ac_ct_OBJDUMP=$OBJDUMP
7900
 
  # Extract the first word of "objdump", so it can be a program name with args.
7901
 
set dummy objdump; ac_word=$2
7902
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7903
 
$as_echo_n "checking for $ac_word... " >&6; }
7904
 
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7905
 
  $as_echo_n "(cached) " >&6
7906
 
else
7907
 
  if test -n "$ac_ct_OBJDUMP"; then
7908
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7909
 
else
7910
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7911
 
for as_dir in $PATH
7912
 
do
7913
 
  IFS=$as_save_IFS
7914
 
  test -z "$as_dir" && as_dir=.
7915
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7916
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7917
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7918
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7919
 
    break 2
7920
 
  fi
7921
 
done
7922
 
  done
7923
 
IFS=$as_save_IFS
7924
 
 
7925
 
fi
7926
 
fi
7927
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7928
 
if test -n "$ac_ct_OBJDUMP"; then
7929
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7930
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
7931
 
else
7932
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7933
 
$as_echo "no" >&6; }
7934
 
fi
7935
 
 
7936
 
  if test "x$ac_ct_OBJDUMP" = x; then
7937
 
    OBJDUMP="false"
7938
 
  else
7939
 
    case $cross_compiling:$ac_tool_warned in
7940
 
yes:)
7941
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7942
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7943
 
ac_tool_warned=yes ;;
7944
 
esac
7945
 
    OBJDUMP=$ac_ct_OBJDUMP
7946
 
  fi
7947
 
else
7948
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
7949
 
fi
7950
 
 
7951
 
  ;;
7952
 
esac
7953
 
 
7954
 
test -z "$AS" && AS=as
7955
 
 
7956
 
 
7957
 
 
7958
 
 
7959
 
 
7960
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
7961
 
 
7962
 
 
7963
 
 
7964
 
 
7965
 
 
7966
 
test -z "$OBJDUMP" && OBJDUMP=objdump
7967
 
 
7968
 
 
7969
 
 
7970
 
 
7971
 
 
7972
 
 
7973
 
 
7974
 
        enable_dlopen=no
7975
 
 
7976
 
 
7977
 
 
7978
 
            # Check whether --enable-shared was given.
7979
 
if test "${enable_shared+set}" = set; then :
7980
 
  enableval=$enable_shared; p=${PACKAGE-default}
7981
 
    case $enableval in
7982
 
    yes) enable_shared=yes ;;
7983
 
    no) enable_shared=no ;;
7984
 
    *)
7985
 
      enable_shared=no
7986
 
      # Look at the argument we got.  We use all the common list separators.
7987
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7988
 
      for pkg in $enableval; do
7989
 
        IFS="$lt_save_ifs"
7990
 
        if test "X$pkg" = "X$p"; then
7991
 
          enable_shared=yes
7992
 
        fi
7993
 
      done
7994
 
      IFS="$lt_save_ifs"
7995
 
      ;;
7996
 
    esac
7997
 
else
7998
 
  enable_shared=yes
7999
 
fi
8000
 
 
8001
 
 
8002
 
 
8003
 
 
8004
 
 
8005
 
 
8006
 
 
8007
 
 
8008
 
 
8009
 
  # Check whether --enable-static was given.
8010
 
if test "${enable_static+set}" = set; then :
8011
 
  enableval=$enable_static; p=${PACKAGE-default}
8012
 
    case $enableval in
8013
 
    yes) enable_static=yes ;;
8014
 
    no) enable_static=no ;;
8015
 
    *)
8016
 
     enable_static=no
8017
 
      # Look at the argument we got.  We use all the common list separators.
8018
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8019
 
      for pkg in $enableval; do
8020
 
        IFS="$lt_save_ifs"
8021
 
        if test "X$pkg" = "X$p"; then
8022
 
          enable_static=yes
8023
 
        fi
8024
 
      done
8025
 
      IFS="$lt_save_ifs"
8026
 
      ;;
8027
 
    esac
8028
 
else
8029
 
  enable_static=yes
8030
 
fi
8031
 
 
8032
 
 
8033
 
 
8034
 
 
8035
 
 
8036
 
 
8037
 
 
8038
 
 
8039
 
 
8040
 
 
8041
 
# Check whether --with-pic was given.
8042
 
if test "${with_pic+set}" = set; then :
8043
 
  withval=$with_pic; lt_p=${PACKAGE-default}
8044
 
    case $withval in
8045
 
    yes|no) pic_mode=$withval ;;
8046
 
    *)
8047
 
      pic_mode=default
8048
 
      # Look at the argument we got.  We use all the common list separators.
8049
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8050
 
      for lt_pkg in $withval; do
8051
 
        IFS="$lt_save_ifs"
8052
 
        if test "X$lt_pkg" = "X$lt_p"; then
8053
 
          pic_mode=yes
8054
 
        fi
8055
 
      done
8056
 
      IFS="$lt_save_ifs"
8057
 
      ;;
8058
 
    esac
8059
 
else
8060
 
  pic_mode=default
8061
 
fi
8062
 
 
8063
 
 
8064
 
test -z "$pic_mode" && pic_mode=default
8065
 
 
8066
 
 
8067
 
 
8068
 
 
8069
 
 
8070
 
 
8071
 
 
8072
 
  # Check whether --enable-fast-install was given.
8073
 
if test "${enable_fast_install+set}" = set; then :
8074
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
8075
 
    case $enableval in
8076
 
    yes) enable_fast_install=yes ;;
8077
 
    no) enable_fast_install=no ;;
8078
 
    *)
8079
 
      enable_fast_install=no
8080
 
      # Look at the argument we got.  We use all the common list separators.
8081
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8082
 
      for pkg in $enableval; do
8083
 
        IFS="$lt_save_ifs"
8084
 
        if test "X$pkg" = "X$p"; then
8085
 
          enable_fast_install=yes
8086
 
        fi
8087
 
      done
8088
 
      IFS="$lt_save_ifs"
8089
 
      ;;
8090
 
    esac
8091
 
else
8092
 
  enable_fast_install=yes
8093
 
fi
8094
 
 
8095
 
 
8096
 
 
8097
 
 
8098
 
 
8099
 
 
8100
 
 
8101
 
 
8102
 
 
8103
 
 
8104
 
 
8105
 
# This can be used to rebuild libtool when needed
8106
 
LIBTOOL_DEPS="$ltmain"
8107
 
 
8108
 
# Always use our own libtool.
8109
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8110
 
 
8111
 
 
8112
 
 
8113
 
 
8114
 
 
8115
 
 
8116
 
 
8117
 
 
8118
 
 
8119
 
 
8120
 
 
8121
 
 
8122
 
 
8123
 
 
8124
 
 
8125
 
 
8126
 
 
8127
 
 
8128
 
 
8129
 
 
8130
 
 
8131
 
 
8132
 
 
8133
 
 
8134
 
 
8135
 
 
8136
 
 
8137
 
 
8138
 
 
8139
 
 
8140
 
test -z "$LN_S" && LN_S="ln -s"
8141
 
 
8142
 
 
8143
 
 
8144
 
 
8145
 
 
8146
 
 
8147
 
 
8148
 
 
8149
 
 
8150
 
 
8151
 
 
8152
 
 
8153
 
 
8154
 
 
8155
 
if test -n "${ZSH_VERSION+set}" ; then
8156
 
   setopt NO_GLOB_SUBST
8157
 
fi
8158
 
 
8159
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8160
 
$as_echo_n "checking for objdir... " >&6; }
8161
 
if ${lt_cv_objdir+:} false; then :
8162
 
  $as_echo_n "(cached) " >&6
8163
 
else
8164
 
  rm -f .libs 2>/dev/null
8165
 
mkdir .libs 2>/dev/null
8166
 
if test -d .libs; then
8167
 
  lt_cv_objdir=.libs
8168
 
else
8169
 
  # MS-DOS does not allow filenames that begin with a dot.
8170
 
  lt_cv_objdir=_libs
8171
 
fi
8172
 
rmdir .libs 2>/dev/null
8173
 
fi
8174
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8175
 
$as_echo "$lt_cv_objdir" >&6; }
8176
 
objdir=$lt_cv_objdir
8177
 
 
8178
 
 
8179
 
 
8180
 
 
8181
 
 
8182
 
cat >>confdefs.h <<_ACEOF
8183
 
#define LT_OBJDIR "$lt_cv_objdir/"
8184
 
_ACEOF
8185
 
 
8186
 
 
8187
 
 
8188
 
 
8189
 
case $host_os in
8190
 
aix3*)
8191
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
8192
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
8193
 
  # vanish in a puff of smoke.
8194
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
8195
 
    COLLECT_NAMES=
8196
 
    export COLLECT_NAMES
8197
 
  fi
8198
 
  ;;
8199
 
esac
8200
 
 
8201
 
# Global variables:
8202
 
ofile=libtool
8203
 
can_build_shared=yes
8204
 
 
8205
 
# All known linkers require a `.a' archive for static linking (except MSVC,
8206
 
# which needs '.lib').
8207
 
libext=a
8208
 
 
8209
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
8210
 
 
8211
 
old_CC="$CC"
8212
 
old_CFLAGS="$CFLAGS"
8213
 
 
8214
 
# Set sane defaults for various variables
8215
 
test -z "$CC" && CC=cc
8216
 
test -z "$LTCC" && LTCC=$CC
8217
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8218
 
test -z "$LD" && LD=ld
8219
 
test -z "$ac_objext" && ac_objext=o
8220
 
 
8221
 
for cc_temp in $compiler""; do
8222
 
  case $cc_temp in
8223
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8224
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8225
 
    \-*) ;;
8226
 
    *) break;;
8227
 
  esac
8228
 
done
8229
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8230
 
 
8231
 
 
8232
 
# Only perform the check for file, if the check method requires it
8233
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8234
 
case $deplibs_check_method in
8235
 
file_magic*)
8236
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8237
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8238
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8239
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8240
 
  $as_echo_n "(cached) " >&6
8241
 
else
8242
 
  case $MAGIC_CMD in
8243
 
[\\/*] |  ?:[\\/]*)
8244
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8245
 
  ;;
8246
 
*)
8247
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8248
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8249
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8250
 
  for ac_dir in $ac_dummy; do
8251
 
    IFS="$lt_save_ifs"
8252
 
    test -z "$ac_dir" && ac_dir=.
8253
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
8254
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8255
 
      if test -n "$file_magic_test_file"; then
8256
 
        case $deplibs_check_method in
8257
 
        "file_magic "*)
8258
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8259
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8260
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8261
 
            $EGREP "$file_magic_regex" > /dev/null; then
8262
 
            :
8263
 
          else
8264
 
            cat <<_LT_EOF 1>&2
8265
 
 
8266
 
*** Warning: the command libtool uses to detect shared libraries,
8267
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8268
 
*** The result is that libtool may fail to recognize shared libraries
8269
 
*** as such.  This will affect the creation of libtool libraries that
8270
 
*** depend on shared libraries, but programs linked with such libtool
8271
 
*** libraries will work regardless of this problem.  Nevertheless, you
8272
 
*** may want to report the problem to your system manager and/or to
8273
 
*** bug-libtool@gnu.org
8274
 
 
8275
 
_LT_EOF
8276
 
          fi ;;
8277
 
        esac
8278
 
      fi
8279
 
      break
8280
 
    fi
8281
 
  done
8282
 
  IFS="$lt_save_ifs"
8283
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8284
 
  ;;
8285
 
esac
8286
 
fi
8287
 
 
8288
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8289
 
if test -n "$MAGIC_CMD"; then
8290
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8291
 
$as_echo "$MAGIC_CMD" >&6; }
8292
 
else
8293
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8294
 
$as_echo "no" >&6; }
8295
 
fi
8296
 
 
8297
 
 
8298
 
 
8299
 
 
8300
 
 
8301
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
8302
 
  if test -n "$ac_tool_prefix"; then
8303
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8304
 
$as_echo_n "checking for file... " >&6; }
8305
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8306
 
  $as_echo_n "(cached) " >&6
8307
 
else
8308
 
  case $MAGIC_CMD in
8309
 
[\\/*] |  ?:[\\/]*)
8310
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8311
 
  ;;
8312
 
*)
8313
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8314
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8315
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8316
 
  for ac_dir in $ac_dummy; do
8317
 
    IFS="$lt_save_ifs"
8318
 
    test -z "$ac_dir" && ac_dir=.
8319
 
    if test -f $ac_dir/file; then
8320
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8321
 
      if test -n "$file_magic_test_file"; then
8322
 
        case $deplibs_check_method in
8323
 
        "file_magic "*)
8324
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8325
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8326
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8327
 
            $EGREP "$file_magic_regex" > /dev/null; then
8328
 
            :
8329
 
          else
8330
 
            cat <<_LT_EOF 1>&2
8331
 
 
8332
 
*** Warning: the command libtool uses to detect shared libraries,
8333
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8334
 
*** The result is that libtool may fail to recognize shared libraries
8335
 
*** as such.  This will affect the creation of libtool libraries that
8336
 
*** depend on shared libraries, but programs linked with such libtool
8337
 
*** libraries will work regardless of this problem.  Nevertheless, you
8338
 
*** may want to report the problem to your system manager and/or to
8339
 
*** bug-libtool@gnu.org
8340
 
 
8341
 
_LT_EOF
8342
 
          fi ;;
8343
 
        esac
8344
 
      fi
8345
 
      break
8346
 
    fi
8347
 
  done
8348
 
  IFS="$lt_save_ifs"
8349
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8350
 
  ;;
8351
 
esac
8352
 
fi
8353
 
 
8354
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8355
 
if test -n "$MAGIC_CMD"; then
8356
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8357
 
$as_echo "$MAGIC_CMD" >&6; }
8358
 
else
8359
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8360
 
$as_echo "no" >&6; }
8361
 
fi
8362
 
 
8363
 
 
8364
 
  else
8365
 
    MAGIC_CMD=:
8366
 
  fi
8367
 
fi
8368
 
 
8369
 
  fi
8370
 
  ;;
8371
 
esac
8372
 
 
8373
 
# Use C for the default configuration in the libtool script
8374
 
 
8375
 
lt_save_CC="$CC"
8376
 
ac_ext=c
8377
 
ac_cpp='$CPP $CPPFLAGS'
8378
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8379
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8380
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8381
 
 
8382
 
 
8383
 
# Source file extension for C test sources.
8384
 
ac_ext=c
8385
 
 
8386
 
# Object file extension for compiled C test sources.
8387
 
objext=o
8388
 
objext=$objext
8389
 
 
8390
 
# Code to be used in simple compile tests
8391
 
lt_simple_compile_test_code="int some_variable = 0;"
8392
 
 
8393
 
# Code to be used in simple link tests
8394
 
lt_simple_link_test_code='int main(){return(0);}'
8395
 
 
8396
 
 
8397
 
 
8398
 
 
8399
 
 
8400
 
 
8401
 
 
8402
 
# If no C compiler was specified, use CC.
8403
 
LTCC=${LTCC-"$CC"}
8404
 
 
8405
 
# If no C compiler flags were specified, use CFLAGS.
8406
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8407
 
 
8408
 
# Allow CC to be a program name with arguments.
8409
 
compiler=$CC
8410
 
 
8411
 
# Save the default compiler, since it gets overwritten when the other
8412
 
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8413
 
compiler_DEFAULT=$CC
8414
 
 
8415
 
# save warnings/boilerplate of simple test code
8416
 
ac_outfile=conftest.$ac_objext
8417
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8418
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8419
 
_lt_compiler_boilerplate=`cat conftest.err`
8420
 
$RM conftest*
8421
 
 
8422
 
ac_outfile=conftest.$ac_objext
8423
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8424
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8425
 
_lt_linker_boilerplate=`cat conftest.err`
8426
 
$RM -r conftest*
8427
 
 
8428
 
 
8429
 
## CAVEAT EMPTOR:
8430
 
## There is no encapsulation within the following macros, do not change
8431
 
## the running order or otherwise move them around unless you know exactly
8432
 
## what you are doing...
8433
 
if test -n "$compiler"; then
8434
 
 
8435
 
lt_prog_compiler_no_builtin_flag=
8436
 
 
8437
 
if test "$GCC" = yes; then
8438
 
  case $cc_basename in
8439
 
  nvcc*)
8440
 
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8441
 
  *)
8442
 
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8443
 
  esac
8444
 
 
8445
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8446
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8447
 
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8448
 
  $as_echo_n "(cached) " >&6
8449
 
else
8450
 
  lt_cv_prog_compiler_rtti_exceptions=no
8451
 
   ac_outfile=conftest.$ac_objext
8452
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8453
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8454
 
   # Insert the option either (1) after the last *FLAGS variable, or
8455
 
   # (2) before a word containing "conftest.", or (3) at the end.
8456
 
   # Note that $ac_compile itself does not contain backslashes and begins
8457
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8458
 
   # The option is referenced via a variable to avoid confusing sed.
8459
 
   lt_compile=`echo "$ac_compile" | $SED \
8460
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8461
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8462
 
   -e 's:$: $lt_compiler_flag:'`
8463
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8464
 
   (eval "$lt_compile" 2>conftest.err)
8465
 
   ac_status=$?
8466
 
   cat conftest.err >&5
8467
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8468
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8469
 
     # The compiler can only warn and ignore the option if not recognized
8470
 
     # So say no if there are warnings other than the usual output.
8471
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8472
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8473
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8474
 
       lt_cv_prog_compiler_rtti_exceptions=yes
8475
 
     fi
8476
 
   fi
8477
 
   $RM conftest*
8478
 
 
8479
 
fi
8480
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8481
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8482
 
 
8483
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8484
 
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8485
 
else
8486
 
    :
8487
 
fi
8488
 
 
8489
 
fi
8490
 
 
8491
 
 
8492
 
 
8493
 
 
8494
 
 
8495
 
 
8496
 
  lt_prog_compiler_wl=
8497
 
lt_prog_compiler_pic=
8498
 
lt_prog_compiler_static=
8499
 
 
8500
 
 
8501
 
  if test "$GCC" = yes; then
8502
 
    lt_prog_compiler_wl='-Wl,'
8503
 
    lt_prog_compiler_static='-static'
8504
 
 
8505
 
    case $host_os in
8506
 
      aix*)
8507
 
      # All AIX code is PIC.
8508
 
      if test "$host_cpu" = ia64; then
8509
 
        # AIX 5 now supports IA64 processor
8510
 
        lt_prog_compiler_static='-Bstatic'
8511
 
      fi
8512
 
      ;;
8513
 
 
8514
 
    amigaos*)
8515
 
      case $host_cpu in
8516
 
      powerpc)
8517
 
            # see comment about AmigaOS4 .so support
8518
 
            lt_prog_compiler_pic='-fPIC'
8519
 
        ;;
8520
 
      m68k)
8521
 
            # FIXME: we need at least 68020 code to build shared libraries, but
8522
 
            # adding the `-m68020' flag to GCC prevents building anything better,
8523
 
            # like `-m68040'.
8524
 
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8525
 
        ;;
8526
 
      esac
8527
 
      ;;
8528
 
 
8529
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8530
 
      # PIC is the default for these OSes.
8531
 
      ;;
8532
 
 
8533
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8534
 
      # This hack is so that the source file can tell whether it is being
8535
 
      # built for inclusion in a dll (and should export symbols for example).
8536
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8537
 
      # (--disable-auto-import) libraries
8538
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8539
 
      ;;
8540
 
 
8541
 
    darwin* | rhapsody*)
8542
 
      # PIC is the default on this platform
8543
 
      # Common symbols not allowed in MH_DYLIB files
8544
 
      lt_prog_compiler_pic='-fno-common'
8545
 
      ;;
8546
 
 
8547
 
    haiku*)
8548
 
      # PIC is the default for Haiku.
8549
 
      # The "-static" flag exists, but is broken.
8550
 
      lt_prog_compiler_static=
8551
 
      ;;
8552
 
 
8553
 
    hpux*)
8554
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8555
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8556
 
      # sets the default TLS model and affects inlining.
8557
 
      case $host_cpu in
8558
 
      hppa*64*)
8559
 
        # +Z the default
8560
 
        ;;
8561
 
      *)
8562
 
        lt_prog_compiler_pic='-fPIC'
8563
 
        ;;
8564
 
      esac
8565
 
      ;;
8566
 
 
8567
 
    interix[3-9]*)
8568
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8569
 
      # Instead, we relocate shared libraries at runtime.
8570
 
      ;;
8571
 
 
8572
 
    msdosdjgpp*)
8573
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
8574
 
      # on systems that don't support them.
8575
 
      lt_prog_compiler_can_build_shared=no
8576
 
      enable_shared=no
8577
 
      ;;
8578
 
 
8579
 
    *nto* | *qnx*)
8580
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8581
 
      # it will coredump.
8582
 
      lt_prog_compiler_pic='-fPIC -shared'
8583
 
      ;;
8584
 
 
8585
 
    sysv4*MP*)
8586
 
      if test -d /usr/nec; then
8587
 
        lt_prog_compiler_pic=-Kconform_pic
8588
 
      fi
8589
 
      ;;
8590
 
 
8591
 
    *)
8592
 
      lt_prog_compiler_pic='-fPIC'
8593
 
      ;;
8594
 
    esac
8595
 
 
8596
 
    case $cc_basename in
8597
 
    nvcc*) # Cuda Compiler Driver 2.2
8598
 
      lt_prog_compiler_wl='-Xlinker '
8599
 
      if test -n "$lt_prog_compiler_pic"; then
8600
 
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8601
 
      fi
8602
 
      ;;
8603
 
    esac
8604
 
  else
8605
 
    # PORTME Check for flag to pass linker flags through the system compiler.
8606
 
    case $host_os in
8607
 
    aix*)
8608
 
      lt_prog_compiler_wl='-Wl,'
8609
 
      if test "$host_cpu" = ia64; then
8610
 
        # AIX 5 now supports IA64 processor
8611
 
        lt_prog_compiler_static='-Bstatic'
8612
 
      else
8613
 
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8614
 
      fi
8615
 
      ;;
8616
 
 
8617
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8618
 
      # This hack is so that the source file can tell whether it is being
8619
 
      # built for inclusion in a dll (and should export symbols for example).
8620
 
      lt_prog_compiler_pic='-DDLL_EXPORT'
8621
 
      ;;
8622
 
 
8623
 
    hpux9* | hpux10* | hpux11*)
8624
 
      lt_prog_compiler_wl='-Wl,'
8625
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8626
 
      # not for PA HP-UX.
8627
 
      case $host_cpu in
8628
 
      hppa*64*|ia64*)
8629
 
        # +Z the default
8630
 
        ;;
8631
 
      *)
8632
 
        lt_prog_compiler_pic='+Z'
8633
 
        ;;
8634
 
      esac
8635
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8636
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
8637
 
      ;;
8638
 
 
8639
 
    irix5* | irix6* | nonstopux*)
8640
 
      lt_prog_compiler_wl='-Wl,'
8641
 
      # PIC (with -KPIC) is the default.
8642
 
      lt_prog_compiler_static='-non_shared'
8643
 
      ;;
8644
 
 
8645
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8646
 
      case $cc_basename in
8647
 
      # old Intel for x86_64 which still supported -KPIC.
8648
 
      ecc*)
8649
 
        lt_prog_compiler_wl='-Wl,'
8650
 
        lt_prog_compiler_pic='-KPIC'
8651
 
        lt_prog_compiler_static='-static'
8652
 
        ;;
8653
 
      # icc used to be incompatible with GCC.
8654
 
      # ICC 10 doesn't accept -KPIC any more.
8655
 
      icc* | ifort*)
8656
 
        lt_prog_compiler_wl='-Wl,'
8657
 
        lt_prog_compiler_pic='-fPIC'
8658
 
        lt_prog_compiler_static='-static'
8659
 
        ;;
8660
 
      # Lahey Fortran 8.1.
8661
 
      lf95*)
8662
 
        lt_prog_compiler_wl='-Wl,'
8663
 
        lt_prog_compiler_pic='--shared'
8664
 
        lt_prog_compiler_static='--static'
8665
 
        ;;
8666
 
      nagfor*)
8667
 
        # NAG Fortran compiler
8668
 
        lt_prog_compiler_wl='-Wl,-Wl,,'
8669
 
        lt_prog_compiler_pic='-PIC'
8670
 
        lt_prog_compiler_static='-Bstatic'
8671
 
        ;;
8672
 
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8673
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
8674
 
        # which looks to be a dead project)
8675
 
        lt_prog_compiler_wl='-Wl,'
8676
 
        lt_prog_compiler_pic='-fpic'
8677
 
        lt_prog_compiler_static='-Bstatic'
8678
 
        ;;
8679
 
      ccc*)
8680
 
        lt_prog_compiler_wl='-Wl,'
8681
 
        # All Alpha code is PIC.
8682
 
        lt_prog_compiler_static='-non_shared'
8683
 
        ;;
8684
 
      xl* | bgxl* | bgf* | mpixl*)
8685
 
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8686
 
        lt_prog_compiler_wl='-Wl,'
8687
 
        lt_prog_compiler_pic='-qpic'
8688
 
        lt_prog_compiler_static='-qstaticlink'
8689
 
        ;;
8690
 
      *)
8691
 
        case `$CC -V 2>&1 | sed 5q` in
8692
 
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8693
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8694
 
          lt_prog_compiler_pic='-KPIC'
8695
 
          lt_prog_compiler_static='-Bstatic'
8696
 
          lt_prog_compiler_wl=''
8697
 
          ;;
8698
 
        *Sun\ F* | *Sun*Fortran*)
8699
 
          lt_prog_compiler_pic='-KPIC'
8700
 
          lt_prog_compiler_static='-Bstatic'
8701
 
          lt_prog_compiler_wl='-Qoption ld '
8702
 
          ;;
8703
 
        *Sun\ C*)
8704
 
          # Sun C 5.9
8705
 
          lt_prog_compiler_pic='-KPIC'
8706
 
          lt_prog_compiler_static='-Bstatic'
8707
 
          lt_prog_compiler_wl='-Wl,'
8708
 
          ;;
8709
 
        *Intel*\ [CF]*Compiler*)
8710
 
          lt_prog_compiler_wl='-Wl,'
8711
 
          lt_prog_compiler_pic='-fPIC'
8712
 
          lt_prog_compiler_static='-static'
8713
 
          ;;
8714
 
        *Portland\ Group*)
8715
 
          lt_prog_compiler_wl='-Wl,'
8716
 
          lt_prog_compiler_pic='-fpic'
8717
 
          lt_prog_compiler_static='-Bstatic'
8718
 
          ;;
8719
 
        esac
8720
 
        ;;
8721
 
      esac
8722
 
      ;;
8723
 
 
8724
 
    newsos6)
8725
 
      lt_prog_compiler_pic='-KPIC'
8726
 
      lt_prog_compiler_static='-Bstatic'
8727
 
      ;;
8728
 
 
8729
 
    *nto* | *qnx*)
8730
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8731
 
      # it will coredump.
8732
 
      lt_prog_compiler_pic='-fPIC -shared'
8733
 
      ;;
8734
 
 
8735
 
    osf3* | osf4* | osf5*)
8736
 
      lt_prog_compiler_wl='-Wl,'
8737
 
      # All OSF/1 code is PIC.
8738
 
      lt_prog_compiler_static='-non_shared'
8739
 
      ;;
8740
 
 
8741
 
    rdos*)
8742
 
      lt_prog_compiler_static='-non_shared'
8743
 
      ;;
8744
 
 
8745
 
    solaris*)
8746
 
      lt_prog_compiler_pic='-KPIC'
8747
 
      lt_prog_compiler_static='-Bstatic'
8748
 
      case $cc_basename in
8749
 
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8750
 
        lt_prog_compiler_wl='-Qoption ld ';;
8751
 
      *)
8752
 
        lt_prog_compiler_wl='-Wl,';;
8753
 
      esac
8754
 
      ;;
8755
 
 
8756
 
    sunos4*)
8757
 
      lt_prog_compiler_wl='-Qoption ld '
8758
 
      lt_prog_compiler_pic='-PIC'
8759
 
      lt_prog_compiler_static='-Bstatic'
8760
 
      ;;
8761
 
 
8762
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
8763
 
      lt_prog_compiler_wl='-Wl,'
8764
 
      lt_prog_compiler_pic='-KPIC'
8765
 
      lt_prog_compiler_static='-Bstatic'
8766
 
      ;;
8767
 
 
8768
 
    sysv4*MP*)
8769
 
      if test -d /usr/nec ;then
8770
 
        lt_prog_compiler_pic='-Kconform_pic'
8771
 
        lt_prog_compiler_static='-Bstatic'
8772
 
      fi
8773
 
      ;;
8774
 
 
8775
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8776
 
      lt_prog_compiler_wl='-Wl,'
8777
 
      lt_prog_compiler_pic='-KPIC'
8778
 
      lt_prog_compiler_static='-Bstatic'
8779
 
      ;;
8780
 
 
8781
 
    unicos*)
8782
 
      lt_prog_compiler_wl='-Wl,'
8783
 
      lt_prog_compiler_can_build_shared=no
8784
 
      ;;
8785
 
 
8786
 
    uts4*)
8787
 
      lt_prog_compiler_pic='-pic'
8788
 
      lt_prog_compiler_static='-Bstatic'
8789
 
      ;;
8790
 
 
8791
 
    *)
8792
 
      lt_prog_compiler_can_build_shared=no
8793
 
      ;;
8794
 
    esac
8795
 
  fi
8796
 
 
8797
 
case $host_os in
8798
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8799
 
  *djgpp*)
8800
 
    lt_prog_compiler_pic=
8801
 
    ;;
8802
 
  *)
8803
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8804
 
    ;;
8805
 
esac
8806
 
 
8807
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8808
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8809
 
if ${lt_cv_prog_compiler_pic+:} false; then :
8810
 
  $as_echo_n "(cached) " >&6
8811
 
else
8812
 
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8813
 
fi
8814
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8815
 
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8816
 
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8817
 
 
8818
 
#
8819
 
# Check to make sure the PIC flag actually works.
8820
 
#
8821
 
if test -n "$lt_prog_compiler_pic"; then
8822
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8823
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8824
 
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8825
 
  $as_echo_n "(cached) " >&6
8826
 
else
8827
 
  lt_cv_prog_compiler_pic_works=no
8828
 
   ac_outfile=conftest.$ac_objext
8829
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8830
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8831
 
   # Insert the option either (1) after the last *FLAGS variable, or
8832
 
   # (2) before a word containing "conftest.", or (3) at the end.
8833
 
   # Note that $ac_compile itself does not contain backslashes and begins
8834
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8835
 
   # The option is referenced via a variable to avoid confusing sed.
8836
 
   lt_compile=`echo "$ac_compile" | $SED \
8837
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8838
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8839
 
   -e 's:$: $lt_compiler_flag:'`
8840
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8841
 
   (eval "$lt_compile" 2>conftest.err)
8842
 
   ac_status=$?
8843
 
   cat conftest.err >&5
8844
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8845
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
8846
 
     # The compiler can only warn and ignore the option if not recognized
8847
 
     # So say no if there are warnings other than the usual output.
8848
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8849
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8850
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8851
 
       lt_cv_prog_compiler_pic_works=yes
8852
 
     fi
8853
 
   fi
8854
 
   $RM conftest*
8855
 
 
8856
 
fi
8857
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8858
 
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8859
 
 
8860
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8861
 
    case $lt_prog_compiler_pic in
8862
 
     "" | " "*) ;;
8863
 
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8864
 
     esac
8865
 
else
8866
 
    lt_prog_compiler_pic=
8867
 
     lt_prog_compiler_can_build_shared=no
8868
 
fi
8869
 
 
8870
 
fi
8871
 
 
8872
 
 
8873
 
 
8874
 
 
8875
 
 
8876
 
 
8877
 
 
8878
 
 
8879
 
 
8880
 
 
8881
 
 
8882
 
#
8883
 
# Check to make sure the static flag actually works.
8884
 
#
8885
 
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8886
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8887
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8888
 
if ${lt_cv_prog_compiler_static_works+:} false; then :
8889
 
  $as_echo_n "(cached) " >&6
8890
 
else
8891
 
  lt_cv_prog_compiler_static_works=no
8892
 
   save_LDFLAGS="$LDFLAGS"
8893
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8894
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8895
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8896
 
     # The linker can only warn and ignore the option if not recognized
8897
 
     # So say no if there are warnings
8898
 
     if test -s conftest.err; then
8899
 
       # Append any errors to the config.log.
8900
 
       cat conftest.err 1>&5
8901
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8902
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8903
 
       if diff conftest.exp conftest.er2 >/dev/null; then
8904
 
         lt_cv_prog_compiler_static_works=yes
8905
 
       fi
8906
 
     else
8907
 
       lt_cv_prog_compiler_static_works=yes
8908
 
     fi
8909
 
   fi
8910
 
   $RM -r conftest*
8911
 
   LDFLAGS="$save_LDFLAGS"
8912
 
 
8913
 
fi
8914
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8915
 
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8916
 
 
8917
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8918
 
    :
8919
 
else
8920
 
    lt_prog_compiler_static=
8921
 
fi
8922
 
 
8923
 
 
8924
 
 
8925
 
 
8926
 
 
8927
 
 
8928
 
 
8929
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8930
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8931
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
8932
 
  $as_echo_n "(cached) " >&6
8933
 
else
8934
 
  lt_cv_prog_compiler_c_o=no
8935
 
   $RM -r conftest 2>/dev/null
8936
 
   mkdir conftest
8937
 
   cd conftest
8938
 
   mkdir out
8939
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8940
 
 
8941
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8942
 
   # Insert the option either (1) after the last *FLAGS variable, or
8943
 
   # (2) before a word containing "conftest.", or (3) at the end.
8944
 
   # Note that $ac_compile itself does not contain backslashes and begins
8945
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8946
 
   lt_compile=`echo "$ac_compile" | $SED \
8947
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8948
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8949
 
   -e 's:$: $lt_compiler_flag:'`
8950
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8951
 
   (eval "$lt_compile" 2>out/conftest.err)
8952
 
   ac_status=$?
8953
 
   cat out/conftest.err >&5
8954
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8955
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8956
 
   then
8957
 
     # The compiler can only warn and ignore the option if not recognized
8958
 
     # So say no if there are warnings
8959
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8960
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8961
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8962
 
       lt_cv_prog_compiler_c_o=yes
8963
 
     fi
8964
 
   fi
8965
 
   chmod u+w . 2>&5
8966
 
   $RM conftest*
8967
 
   # SGI C++ compiler will create directory out/ii_files/ for
8968
 
   # template instantiation
8969
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8970
 
   $RM out/* && rmdir out
8971
 
   cd ..
8972
 
   $RM -r conftest
8973
 
   $RM conftest*
8974
 
 
8975
 
fi
8976
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8977
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8978
 
 
8979
 
 
8980
 
 
8981
 
 
8982
 
 
8983
 
 
8984
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8985
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8986
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
8987
 
  $as_echo_n "(cached) " >&6
8988
 
else
8989
 
  lt_cv_prog_compiler_c_o=no
8990
 
   $RM -r conftest 2>/dev/null
8991
 
   mkdir conftest
8992
 
   cd conftest
8993
 
   mkdir out
8994
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8995
 
 
8996
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8997
 
   # Insert the option either (1) after the last *FLAGS variable, or
8998
 
   # (2) before a word containing "conftest.", or (3) at the end.
8999
 
   # Note that $ac_compile itself does not contain backslashes and begins
9000
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9001
 
   lt_compile=`echo "$ac_compile" | $SED \
9002
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9003
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9004
 
   -e 's:$: $lt_compiler_flag:'`
9005
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9006
 
   (eval "$lt_compile" 2>out/conftest.err)
9007
 
   ac_status=$?
9008
 
   cat out/conftest.err >&5
9009
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9010
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9011
 
   then
9012
 
     # The compiler can only warn and ignore the option if not recognized
9013
 
     # So say no if there are warnings
9014
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9015
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9016
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9017
 
       lt_cv_prog_compiler_c_o=yes
9018
 
     fi
9019
 
   fi
9020
 
   chmod u+w . 2>&5
9021
 
   $RM conftest*
9022
 
   # SGI C++ compiler will create directory out/ii_files/ for
9023
 
   # template instantiation
9024
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9025
 
   $RM out/* && rmdir out
9026
 
   cd ..
9027
 
   $RM -r conftest
9028
 
   $RM conftest*
9029
 
 
9030
 
fi
9031
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9032
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9033
 
 
9034
 
 
9035
 
 
9036
 
 
9037
 
hard_links="nottested"
9038
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9039
 
  # do not overwrite the value of need_locks provided by the user
9040
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9041
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
9042
 
  hard_links=yes
9043
 
  $RM conftest*
9044
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9045
 
  touch conftest.a
9046
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
9047
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9048
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9049
 
$as_echo "$hard_links" >&6; }
9050
 
  if test "$hard_links" = no; then
9051
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9052
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9053
 
    need_locks=warn
9054
 
  fi
9055
 
else
9056
 
  need_locks=no
9057
 
fi
9058
 
 
9059
 
 
9060
 
 
9061
 
 
9062
 
 
9063
 
 
9064
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9065
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9066
 
 
9067
 
  runpath_var=
9068
 
  allow_undefined_flag=
9069
 
  always_export_symbols=no
9070
 
  archive_cmds=
9071
 
  archive_expsym_cmds=
9072
 
  compiler_needs_object=no
9073
 
  enable_shared_with_static_runtimes=no
9074
 
  export_dynamic_flag_spec=
9075
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9076
 
  hardcode_automatic=no
9077
 
  hardcode_direct=no
9078
 
  hardcode_direct_absolute=no
9079
 
  hardcode_libdir_flag_spec=
9080
 
  hardcode_libdir_separator=
9081
 
  hardcode_minus_L=no
9082
 
  hardcode_shlibpath_var=unsupported
9083
 
  inherit_rpath=no
9084
 
  link_all_deplibs=unknown
9085
 
  module_cmds=
9086
 
  module_expsym_cmds=
9087
 
  old_archive_from_new_cmds=
9088
 
  old_archive_from_expsyms_cmds=
9089
 
  thread_safe_flag_spec=
9090
 
  whole_archive_flag_spec=
9091
 
  # include_expsyms should be a list of space-separated symbols to be *always*
9092
 
  # included in the symbol list
9093
 
  include_expsyms=
9094
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
9095
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9096
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9097
 
  # as well as any symbol that contains `d'.
9098
 
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9099
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9100
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
9101
 
  # the symbol is explicitly referenced.  Since portable code cannot
9102
 
  # rely on this symbol name, it's probably fine to never include it in
9103
 
  # preloaded symbol tables.
9104
 
  # Exclude shared library initialization/finalization symbols.
9105
 
  extract_expsyms_cmds=
9106
 
 
9107
 
  case $host_os in
9108
 
  cygwin* | mingw* | pw32* | cegcc*)
9109
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9110
 
    # When not using gcc, we currently assume that we are using
9111
 
    # Microsoft Visual C++.
9112
 
    if test "$GCC" != yes; then
9113
 
      with_gnu_ld=no
9114
 
    fi
9115
 
    ;;
9116
 
  interix*)
9117
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
9118
 
    with_gnu_ld=yes
9119
 
    ;;
9120
 
  openbsd*)
9121
 
    with_gnu_ld=no
9122
 
    ;;
9123
 
  esac
9124
 
 
9125
 
  ld_shlibs=yes
9126
 
 
9127
 
  # On some targets, GNU ld is compatible enough with the native linker
9128
 
  # that we're better off using the native interface for both.
9129
 
  lt_use_gnu_ld_interface=no
9130
 
  if test "$with_gnu_ld" = yes; then
9131
 
    case $host_os in
9132
 
      aix*)
9133
 
        # The AIX port of GNU ld has always aspired to compatibility
9134
 
        # with the native linker.  However, as the warning in the GNU ld
9135
 
        # block says, versions before 2.19.5* couldn't really create working
9136
 
        # shared libraries, regardless of the interface used.
9137
 
        case `$LD -v 2>&1` in
9138
 
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9139
 
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9140
 
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9141
 
          *)
9142
 
            lt_use_gnu_ld_interface=yes
9143
 
            ;;
9144
 
        esac
9145
 
        ;;
9146
 
      *)
9147
 
        lt_use_gnu_ld_interface=yes
9148
 
        ;;
9149
 
    esac
9150
 
  fi
9151
 
 
9152
 
  if test "$lt_use_gnu_ld_interface" = yes; then
9153
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
9154
 
    wlarc='${wl}'
9155
 
 
9156
 
    # Set some defaults for GNU ld with shared library support. These
9157
 
    # are reset later if shared libraries are not supported. Putting them
9158
 
    # here allows them to be overridden if necessary.
9159
 
    runpath_var=LD_RUN_PATH
9160
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9161
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
9162
 
    # ancient GNU ld didn't support --whole-archive et. al.
9163
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9164
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9165
 
    else
9166
 
      whole_archive_flag_spec=
9167
 
    fi
9168
 
    supports_anon_versioning=no
9169
 
    case `$LD -v 2>&1` in
9170
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
9171
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9172
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9173
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9174
 
      *\ 2.11.*) ;; # other 2.11 versions
9175
 
      *) supports_anon_versioning=yes ;;
9176
 
    esac
9177
 
 
9178
 
    # See if GNU ld supports shared libraries.
9179
 
    case $host_os in
9180
 
    aix[3-9]*)
9181
 
      # On AIX/PPC, the GNU linker is very broken
9182
 
      if test "$host_cpu" != ia64; then
9183
 
        ld_shlibs=no
9184
 
        cat <<_LT_EOF 1>&2
9185
 
 
9186
 
*** Warning: the GNU linker, at least up to release 2.19, is reported
9187
 
*** to be unable to reliably create shared libraries on AIX.
9188
 
*** Therefore, libtool is disabling shared libraries support.  If you
9189
 
*** really care for shared libraries, you may want to install binutils
9190
 
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9191
 
*** You will then need to restart the configuration process.
9192
 
 
9193
 
_LT_EOF
9194
 
      fi
9195
 
      ;;
9196
 
 
9197
 
    amigaos*)
9198
 
      case $host_cpu in
9199
 
      powerpc)
9200
 
            # see comment about AmigaOS4 .so support
9201
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202
 
            archive_expsym_cmds=''
9203
 
        ;;
9204
 
      m68k)
9205
 
            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)'
9206
 
            hardcode_libdir_flag_spec='-L$libdir'
9207
 
            hardcode_minus_L=yes
9208
 
        ;;
9209
 
      esac
9210
 
      ;;
9211
 
 
9212
 
    beos*)
9213
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9214
 
        allow_undefined_flag=unsupported
9215
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9216
 
        # support --undefined.  This deserves some investigation.  FIXME
9217
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9218
 
      else
9219
 
        ld_shlibs=no
9220
 
      fi
9221
 
      ;;
9222
 
 
9223
 
    cygwin* | mingw* | pw32* | cegcc*)
9224
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9225
 
      # as there is no search path for DLLs.
9226
 
      hardcode_libdir_flag_spec='-L$libdir'
9227
 
      export_dynamic_flag_spec='${wl}--export-all-symbols'
9228
 
      allow_undefined_flag=unsupported
9229
 
      always_export_symbols=no
9230
 
      enable_shared_with_static_runtimes=yes
9231
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9232
 
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9233
 
 
9234
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9235
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9236
 
        # If the export-symbols file already is a .def file (1st line
9237
 
        # is EXPORTS), use it as is; otherwise, prepend...
9238
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9239
 
          cp $export_symbols $output_objdir/$soname.def;
9240
 
        else
9241
 
          echo EXPORTS > $output_objdir/$soname.def;
9242
 
          cat $export_symbols >> $output_objdir/$soname.def;
9243
 
        fi~
9244
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9245
 
      else
9246
 
        ld_shlibs=no
9247
 
      fi
9248
 
      ;;
9249
 
 
9250
 
    haiku*)
9251
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9252
 
      link_all_deplibs=yes
9253
 
      ;;
9254
 
 
9255
 
    interix[3-9]*)
9256
 
      hardcode_direct=no
9257
 
      hardcode_shlibpath_var=no
9258
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9259
 
      export_dynamic_flag_spec='${wl}-E'
9260
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9261
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
9262
 
      # default) and relocated if they conflict, which is a slow very memory
9263
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
9264
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9265
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9266
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9267
 
      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'
9268
 
      ;;
9269
 
 
9270
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9271
 
      tmp_diet=no
9272
 
      if test "$host_os" = linux-dietlibc; then
9273
 
        case $cc_basename in
9274
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9275
 
        esac
9276
 
      fi
9277
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9278
 
         && test "$tmp_diet" = no
9279
 
      then
9280
 
        tmp_addflag=' $pic_flag'
9281
 
        tmp_sharedflag='-shared'
9282
 
        case $cc_basename,$host_cpu in
9283
 
        pgcc*)                          # Portland Group C compiler
9284
 
          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'
9285
 
          tmp_addflag=' $pic_flag'
9286
 
          ;;
9287
 
        pgf77* | pgf90* | pgf95* | pgfortran*)
9288
 
                                        # Portland Group f77 and f90 compilers
9289
 
          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'
9290
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
9291
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9292
 
          tmp_addflag=' -i_dynamic' ;;
9293
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9294
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9295
 
        ifc* | ifort*)                  # Intel Fortran compiler
9296
 
          tmp_addflag=' -nofor_main' ;;
9297
 
        lf95*)                          # Lahey Fortran 8.1
9298
 
          whole_archive_flag_spec=
9299
 
          tmp_sharedflag='--shared' ;;
9300
 
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9301
 
          tmp_sharedflag='-qmkshrobj'
9302
 
          tmp_addflag= ;;
9303
 
        nvcc*)  # Cuda Compiler Driver 2.2
9304
 
          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'
9305
 
          compiler_needs_object=yes
9306
 
          ;;
9307
 
        esac
9308
 
        case `$CC -V 2>&1 | sed 5q` in
9309
 
        *Sun\ C*)                       # Sun C 5.9
9310
 
          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'
9311
 
          compiler_needs_object=yes
9312
 
          tmp_sharedflag='-G' ;;
9313
 
        *Sun\ F*)                       # Sun Fortran 8.3
9314
 
          tmp_sharedflag='-G' ;;
9315
 
        esac
9316
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9317
 
 
9318
 
        if test "x$supports_anon_versioning" = xyes; then
9319
 
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9320
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9321
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
9322
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9323
 
        fi
9324
 
 
9325
 
        case $cc_basename in
9326
 
        xlf* | bgf* | bgxlf* | mpixlf*)
9327
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9328
 
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9329
 
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9330
 
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9331
 
          if test "x$supports_anon_versioning" = xyes; then
9332
 
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9333
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9334
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
9335
 
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9336
 
          fi
9337
 
          ;;
9338
 
        esac
9339
 
      else
9340
 
        ld_shlibs=no
9341
 
      fi
9342
 
      ;;
9343
 
 
9344
 
    netbsd*)
9345
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9346
 
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9347
 
        wlarc=
9348
 
      else
9349
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9350
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9351
 
      fi
9352
 
      ;;
9353
 
 
9354
 
    solaris*)
9355
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9356
 
        ld_shlibs=no
9357
 
        cat <<_LT_EOF 1>&2
9358
 
 
9359
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9360
 
*** create shared libraries on Solaris systems.  Therefore, libtool
9361
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9362
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
9363
 
*** your PATH or compiler configuration so that the native linker is
9364
 
*** used, and then restart.
9365
 
 
9366
 
_LT_EOF
9367
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9368
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9369
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9370
 
      else
9371
 
        ld_shlibs=no
9372
 
      fi
9373
 
      ;;
9374
 
 
9375
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9376
 
      case `$LD -v 2>&1` in
9377
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9378
 
        ld_shlibs=no
9379
 
        cat <<_LT_EOF 1>&2
9380
 
 
9381
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9382
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
9383
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
9384
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9385
 
*** your PATH or compiler configuration so that the native linker is
9386
 
*** used, and then restart.
9387
 
 
9388
 
_LT_EOF
9389
 
        ;;
9390
 
        *)
9391
 
          # For security reasons, it is highly recommended that you always
9392
 
          # use absolute paths for naming shared libraries, and exclude the
9393
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
9394
 
          # requires that you compile everything twice, which is a pain.
9395
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9396
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9397
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9399
 
          else
9400
 
            ld_shlibs=no
9401
 
          fi
9402
 
        ;;
9403
 
      esac
9404
 
      ;;
9405
 
 
9406
 
    sunos4*)
9407
 
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9408
 
      wlarc=
9409
 
      hardcode_direct=yes
9410
 
      hardcode_shlibpath_var=no
9411
 
      ;;
9412
 
 
9413
 
    *)
9414
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9415
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417
 
      else
9418
 
        ld_shlibs=no
9419
 
      fi
9420
 
      ;;
9421
 
    esac
9422
 
 
9423
 
    if test "$ld_shlibs" = no; then
9424
 
      runpath_var=
9425
 
      hardcode_libdir_flag_spec=
9426
 
      export_dynamic_flag_spec=
9427
 
      whole_archive_flag_spec=
9428
 
    fi
9429
 
  else
9430
 
    # PORTME fill in a description of your system's linker (not GNU ld)
9431
 
    case $host_os in
9432
 
    aix3*)
9433
 
      allow_undefined_flag=unsupported
9434
 
      always_export_symbols=yes
9435
 
      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'
9436
 
      # Note: this linker hardcodes the directories in LIBPATH if there
9437
 
      # are no directories specified by -L.
9438
 
      hardcode_minus_L=yes
9439
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9440
 
        # Neither direct hardcoding nor static linking is supported with a
9441
 
        # broken collect2.
9442
 
        hardcode_direct=unsupported
9443
 
      fi
9444
 
      ;;
9445
 
 
9446
 
    aix[4-9]*)
9447
 
      if test "$host_cpu" = ia64; then
9448
 
        # On IA64, the linker does run time linking by default, so we don't
9449
 
        # have to do anything special.
9450
 
        aix_use_runtimelinking=no
9451
 
        exp_sym_flag='-Bexport'
9452
 
        no_entry_flag=""
9453
 
      else
9454
 
        # If we're using GNU nm, then we don't want the "-C" option.
9455
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9456
 
        # Also, AIX nm treats weak defined symbols like other global
9457
 
        # defined symbols, whereas GNU nm marks them as "W".
9458
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9459
 
          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'
9460
 
        else
9461
 
          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'
9462
 
        fi
9463
 
        aix_use_runtimelinking=no
9464
 
 
9465
 
        # Test if we are trying to use run time linking or normal
9466
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9467
 
        # need to do runtime linking.
9468
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9469
 
          for ld_flag in $LDFLAGS; do
9470
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9471
 
            aix_use_runtimelinking=yes
9472
 
            break
9473
 
          fi
9474
 
          done
9475
 
          ;;
9476
 
        esac
9477
 
 
9478
 
        exp_sym_flag='-bexport'
9479
 
        no_entry_flag='-bnoentry'
9480
 
      fi
9481
 
 
9482
 
      # When large executables or shared objects are built, AIX ld can
9483
 
      # have problems creating the table of contents.  If linking a library
9484
 
      # or program results in "error TOC overflow" add -mminimal-toc to
9485
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9486
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9487
 
 
9488
 
      archive_cmds=''
9489
 
      hardcode_direct=yes
9490
 
      hardcode_direct_absolute=yes
9491
 
      hardcode_libdir_separator=':'
9492
 
      link_all_deplibs=yes
9493
 
      file_list_spec='${wl}-f,'
9494
 
 
9495
 
      if test "$GCC" = yes; then
9496
 
        case $host_os in aix4.[012]|aix4.[012].*)
9497
 
        # We only want to do this on AIX 4.2 and lower, the check
9498
 
        # below for broken collect2 doesn't work under 4.3+
9499
 
          collect2name=`${CC} -print-prog-name=collect2`
9500
 
          if test -f "$collect2name" &&
9501
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9502
 
          then
9503
 
          # We have reworked collect2
9504
 
          :
9505
 
          else
9506
 
          # We have old collect2
9507
 
          hardcode_direct=unsupported
9508
 
          # It fails to find uninstalled libraries when the uninstalled
9509
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
9510
 
          # to unsupported forces relinking
9511
 
          hardcode_minus_L=yes
9512
 
          hardcode_libdir_flag_spec='-L$libdir'
9513
 
          hardcode_libdir_separator=
9514
 
          fi
9515
 
          ;;
9516
 
        esac
9517
 
        shared_flag='-shared'
9518
 
        if test "$aix_use_runtimelinking" = yes; then
9519
 
          shared_flag="$shared_flag "'${wl}-G'
9520
 
        fi
9521
 
      else
9522
 
        # not using gcc
9523
 
        if test "$host_cpu" = ia64; then
9524
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9525
 
        # chokes on -Wl,-G. The following line is correct:
9526
 
          shared_flag='-G'
9527
 
        else
9528
 
          if test "$aix_use_runtimelinking" = yes; then
9529
 
            shared_flag='${wl}-G'
9530
 
          else
9531
 
            shared_flag='${wl}-bM:SRE'
9532
 
          fi
9533
 
        fi
9534
 
      fi
9535
 
 
9536
 
      export_dynamic_flag_spec='${wl}-bexpall'
9537
 
      # It seems that -bexpall does not export symbols beginning with
9538
 
      # underscore (_), so it is better to generate a list of symbols to export.
9539
 
      always_export_symbols=yes
9540
 
      if test "$aix_use_runtimelinking" = yes; then
9541
 
        # Warning - without using the other runtime loading flags (-brtl),
9542
 
        # -berok will link without error, but may produce a broken library.
9543
 
        allow_undefined_flag='-berok'
9544
 
        # Determine the default libpath from the value encoded in an
9545
 
        # empty executable.
9546
 
        if test "${lt_cv_aix_libpath+set}" = set; then
9547
 
  aix_libpath=$lt_cv_aix_libpath
9548
 
else
9549
 
  if ${lt_cv_aix_libpath_+:} false; then :
9550
 
  $as_echo_n "(cached) " >&6
9551
 
else
9552
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9553
 
/* end confdefs.h.  */
9554
 
 
9555
 
int
9556
 
main ()
9557
 
{
9558
 
 
9559
 
  ;
9560
 
  return 0;
9561
 
}
9562
 
_ACEOF
9563
 
if ac_fn_c_try_link "$LINENO"; then :
9564
 
 
9565
 
  lt_aix_libpath_sed='
9566
 
      /Import File Strings/,/^$/ {
9567
 
          /^0/ {
9568
 
              s/^0  *\([^ ]*\) *$/\1/
9569
 
              p
9570
 
          }
9571
 
      }'
9572
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9573
 
  # Check for a 64-bit object if we didn't find anything.
9574
 
  if test -z "$lt_cv_aix_libpath_"; then
9575
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9576
 
  fi
9577
 
fi
9578
 
rm -f core conftest.err conftest.$ac_objext \
9579
 
    conftest$ac_exeext conftest.$ac_ext
9580
 
  if test -z "$lt_cv_aix_libpath_"; then
9581
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
9582
 
  fi
9583
 
 
9584
 
fi
9585
 
 
9586
 
  aix_libpath=$lt_cv_aix_libpath_
9587
 
fi
9588
 
 
9589
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9590
 
        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"
9591
 
      else
9592
 
        if test "$host_cpu" = ia64; then
9593
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9594
 
          allow_undefined_flag="-z nodefs"
9595
 
          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"
9596
 
        else
9597
 
         # Determine the default libpath from the value encoded in an
9598
 
         # empty executable.
9599
 
         if test "${lt_cv_aix_libpath+set}" = set; then
9600
 
  aix_libpath=$lt_cv_aix_libpath
9601
 
else
9602
 
  if ${lt_cv_aix_libpath_+:} false; then :
9603
 
  $as_echo_n "(cached) " >&6
9604
 
else
9605
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9606
 
/* end confdefs.h.  */
9607
 
 
9608
 
int
9609
 
main ()
9610
 
{
9611
 
 
9612
 
  ;
9613
 
  return 0;
9614
 
}
9615
 
_ACEOF
9616
 
if ac_fn_c_try_link "$LINENO"; then :
9617
 
 
9618
 
  lt_aix_libpath_sed='
9619
 
      /Import File Strings/,/^$/ {
9620
 
          /^0/ {
9621
 
              s/^0  *\([^ ]*\) *$/\1/
9622
 
              p
9623
 
          }
9624
 
      }'
9625
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9626
 
  # Check for a 64-bit object if we didn't find anything.
9627
 
  if test -z "$lt_cv_aix_libpath_"; then
9628
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9629
 
  fi
9630
 
fi
9631
 
rm -f core conftest.err conftest.$ac_objext \
9632
 
    conftest$ac_exeext conftest.$ac_ext
9633
 
  if test -z "$lt_cv_aix_libpath_"; then
9634
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
9635
 
  fi
9636
 
 
9637
 
fi
9638
 
 
9639
 
  aix_libpath=$lt_cv_aix_libpath_
9640
 
fi
9641
 
 
9642
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9643
 
          # Warning - without using the other run time loading flags,
9644
 
          # -berok will link without error, but may produce a broken library.
9645
 
          no_undefined_flag=' ${wl}-bernotok'
9646
 
          allow_undefined_flag=' ${wl}-berok'
9647
 
          if test "$with_gnu_ld" = yes; then
9648
 
            # We only use this code for GNU lds that support --whole-archive.
9649
 
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9650
 
          else
9651
 
            # Exported symbols can be pulled into shared objects from archives
9652
 
            whole_archive_flag_spec='$convenience'
9653
 
          fi
9654
 
          archive_cmds_need_lc=yes
9655
 
          # This is similar to how AIX traditionally builds its shared libraries.
9656
 
          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'
9657
 
        fi
9658
 
      fi
9659
 
      ;;
9660
 
 
9661
 
    amigaos*)
9662
 
      case $host_cpu in
9663
 
      powerpc)
9664
 
            # see comment about AmigaOS4 .so support
9665
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9666
 
            archive_expsym_cmds=''
9667
 
        ;;
9668
 
      m68k)
9669
 
            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)'
9670
 
            hardcode_libdir_flag_spec='-L$libdir'
9671
 
            hardcode_minus_L=yes
9672
 
        ;;
9673
 
      esac
9674
 
      ;;
9675
 
 
9676
 
    bsdi[45]*)
9677
 
      export_dynamic_flag_spec=-rdynamic
9678
 
      ;;
9679
 
 
9680
 
    cygwin* | mingw* | pw32* | cegcc*)
9681
 
      # When not using gcc, we currently assume that we are using
9682
 
      # Microsoft Visual C++.
9683
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9684
 
      # no search path for DLLs.
9685
 
      case $cc_basename in
9686
 
      cl*)
9687
 
        # Native MSVC
9688
 
        hardcode_libdir_flag_spec=' '
9689
 
        allow_undefined_flag=unsupported
9690
 
        always_export_symbols=yes
9691
 
        file_list_spec='@'
9692
 
        # Tell ltmain to make .lib files, not .a files.
9693
 
        libext=lib
9694
 
        # Tell ltmain to make .dll files, not .so files.
9695
 
        shrext_cmds=".dll"
9696
 
        # FIXME: Setting linknames here is a bad hack.
9697
 
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9698
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9699
 
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9700
 
          else
9701
 
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9702
 
          fi~
9703
 
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9704
 
          linknames='
9705
 
        # The linker will not automatically build a static lib if we build a DLL.
9706
 
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9707
 
        enable_shared_with_static_runtimes=yes
9708
 
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9709
 
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9710
 
        # Don't use ranlib
9711
 
        old_postinstall_cmds='chmod 644 $oldlib'
9712
 
        postlink_cmds='lt_outputfile="@OUTPUT@"~
9713
 
          lt_tool_outputfile="@TOOL_OUTPUT@"~
9714
 
          case $lt_outputfile in
9715
 
            *.exe|*.EXE) ;;
9716
 
            *)
9717
 
              lt_outputfile="$lt_outputfile.exe"
9718
 
              lt_tool_outputfile="$lt_tool_outputfile.exe"
9719
 
              ;;
9720
 
          esac~
9721
 
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9722
 
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9723
 
            $RM "$lt_outputfile.manifest";
9724
 
          fi'
9725
 
        ;;
9726
 
      *)
9727
 
        # Assume MSVC wrapper
9728
 
        hardcode_libdir_flag_spec=' '
9729
 
        allow_undefined_flag=unsupported
9730
 
        # Tell ltmain to make .lib files, not .a files.
9731
 
        libext=lib
9732
 
        # Tell ltmain to make .dll files, not .so files.
9733
 
        shrext_cmds=".dll"
9734
 
        # FIXME: Setting linknames here is a bad hack.
9735
 
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9736
 
        # The linker will automatically build a .lib file if we build a DLL.
9737
 
        old_archive_from_new_cmds='true'
9738
 
        # FIXME: Should let the user specify the lib program.
9739
 
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9740
 
        enable_shared_with_static_runtimes=yes
9741
 
        ;;
9742
 
      esac
9743
 
      ;;
9744
 
 
9745
 
    darwin* | rhapsody*)
9746
 
 
9747
 
 
9748
 
  archive_cmds_need_lc=no
9749
 
  hardcode_direct=no
9750
 
  hardcode_automatic=yes
9751
 
  hardcode_shlibpath_var=unsupported
9752
 
  if test "$lt_cv_ld_force_load" = "yes"; then
9753
 
    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\"`'
9754
 
 
9755
 
  else
9756
 
    whole_archive_flag_spec=''
9757
 
  fi
9758
 
  link_all_deplibs=yes
9759
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
9760
 
  case $cc_basename in
9761
 
     ifort*) _lt_dar_can_shared=yes ;;
9762
 
     *) _lt_dar_can_shared=$GCC ;;
9763
 
  esac
9764
 
  if test "$_lt_dar_can_shared" = "yes"; then
9765
 
    output_verbose_link_cmd=func_echo_all
9766
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9767
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9768
 
    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}"
9769
 
    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}"
9770
 
 
9771
 
  else
9772
 
  ld_shlibs=no
9773
 
  fi
9774
 
 
9775
 
      ;;
9776
 
 
9777
 
    dgux*)
9778
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9779
 
      hardcode_libdir_flag_spec='-L$libdir'
9780
 
      hardcode_shlibpath_var=no
9781
 
      ;;
9782
 
 
9783
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9784
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9785
 
    # does not break anything, and helps significantly (at the cost of a little
9786
 
    # extra space).
9787
 
    freebsd2.2*)
9788
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9789
 
      hardcode_libdir_flag_spec='-R$libdir'
9790
 
      hardcode_direct=yes
9791
 
      hardcode_shlibpath_var=no
9792
 
      ;;
9793
 
 
9794
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9795
 
    freebsd2.*)
9796
 
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9797
 
      hardcode_direct=yes
9798
 
      hardcode_minus_L=yes
9799
 
      hardcode_shlibpath_var=no
9800
 
      ;;
9801
 
 
9802
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9803
 
    freebsd* | dragonfly*)
9804
 
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9805
 
      hardcode_libdir_flag_spec='-R$libdir'
9806
 
      hardcode_direct=yes
9807
 
      hardcode_shlibpath_var=no
9808
 
      ;;
9809
 
 
9810
 
    hpux9*)
9811
 
      if test "$GCC" = yes; then
9812
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9813
 
      else
9814
 
        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'
9815
 
      fi
9816
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9817
 
      hardcode_libdir_separator=:
9818
 
      hardcode_direct=yes
9819
 
 
9820
 
      # hardcode_minus_L: Not really in the search PATH,
9821
 
      # but as the default location of the library.
9822
 
      hardcode_minus_L=yes
9823
 
      export_dynamic_flag_spec='${wl}-E'
9824
 
      ;;
9825
 
 
9826
 
    hpux10*)
9827
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9828
 
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9829
 
      else
9830
 
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9831
 
      fi
9832
 
      if test "$with_gnu_ld" = no; then
9833
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9834
 
        hardcode_libdir_separator=:
9835
 
        hardcode_direct=yes
9836
 
        hardcode_direct_absolute=yes
9837
 
        export_dynamic_flag_spec='${wl}-E'
9838
 
        # hardcode_minus_L: Not really in the search PATH,
9839
 
        # but as the default location of the library.
9840
 
        hardcode_minus_L=yes
9841
 
      fi
9842
 
      ;;
9843
 
 
9844
 
    hpux11*)
9845
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9846
 
        case $host_cpu in
9847
 
        hppa*64*)
9848
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9849
 
          ;;
9850
 
        ia64*)
9851
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9852
 
          ;;
9853
 
        *)
9854
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9855
 
          ;;
9856
 
        esac
9857
 
      else
9858
 
        case $host_cpu in
9859
 
        hppa*64*)
9860
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9861
 
          ;;
9862
 
        ia64*)
9863
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9864
 
          ;;
9865
 
        *)
9866
 
 
9867
 
          # Older versions of the 11.00 compiler do not understand -b yet
9868
 
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9869
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9870
 
$as_echo_n "checking if $CC understands -b... " >&6; }
9871
 
if ${lt_cv_prog_compiler__b+:} false; then :
9872
 
  $as_echo_n "(cached) " >&6
9873
 
else
9874
 
  lt_cv_prog_compiler__b=no
9875
 
   save_LDFLAGS="$LDFLAGS"
9876
 
   LDFLAGS="$LDFLAGS -b"
9877
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9878
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9879
 
     # The linker can only warn and ignore the option if not recognized
9880
 
     # So say no if there are warnings
9881
 
     if test -s conftest.err; then
9882
 
       # Append any errors to the config.log.
9883
 
       cat conftest.err 1>&5
9884
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9885
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9886
 
       if diff conftest.exp conftest.er2 >/dev/null; then
9887
 
         lt_cv_prog_compiler__b=yes
9888
 
       fi
9889
 
     else
9890
 
       lt_cv_prog_compiler__b=yes
9891
 
     fi
9892
 
   fi
9893
 
   $RM -r conftest*
9894
 
   LDFLAGS="$save_LDFLAGS"
9895
 
 
9896
 
fi
9897
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9898
 
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9899
 
 
9900
 
if test x"$lt_cv_prog_compiler__b" = xyes; then
9901
 
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9902
 
else
9903
 
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9904
 
fi
9905
 
 
9906
 
          ;;
9907
 
        esac
9908
 
      fi
9909
 
      if test "$with_gnu_ld" = no; then
9910
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9911
 
        hardcode_libdir_separator=:
9912
 
 
9913
 
        case $host_cpu in
9914
 
        hppa*64*|ia64*)
9915
 
          hardcode_direct=no
9916
 
          hardcode_shlibpath_var=no
9917
 
          ;;
9918
 
        *)
9919
 
          hardcode_direct=yes
9920
 
          hardcode_direct_absolute=yes
9921
 
          export_dynamic_flag_spec='${wl}-E'
9922
 
 
9923
 
          # hardcode_minus_L: Not really in the search PATH,
9924
 
          # but as the default location of the library.
9925
 
          hardcode_minus_L=yes
9926
 
          ;;
9927
 
        esac
9928
 
      fi
9929
 
      ;;
9930
 
 
9931
 
    irix5* | irix6* | nonstopux*)
9932
 
      if test "$GCC" = yes; then
9933
 
        archive_cmds='$CC -shared $pic_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'
9934
 
        # Try to use the -exported_symbol ld option, if it does not
9935
 
        # work, assume that -exports_file does not work either and
9936
 
        # implicitly export all symbols.
9937
 
        # This should be the same for all languages, so no per-tag cache variable.
9938
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9939
 
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9940
 
if ${lt_cv_irix_exported_symbol+:} false; then :
9941
 
  $as_echo_n "(cached) " >&6
9942
 
else
9943
 
  save_LDFLAGS="$LDFLAGS"
9944
 
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9945
 
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9946
 
/* end confdefs.h.  */
9947
 
int foo (void) { return 0; }
9948
 
_ACEOF
9949
 
if ac_fn_c_try_link "$LINENO"; then :
9950
 
  lt_cv_irix_exported_symbol=yes
9951
 
else
9952
 
  lt_cv_irix_exported_symbol=no
9953
 
fi
9954
 
rm -f core conftest.err conftest.$ac_objext \
9955
 
    conftest$ac_exeext conftest.$ac_ext
9956
 
           LDFLAGS="$save_LDFLAGS"
9957
 
fi
9958
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9959
 
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9960
 
        if test "$lt_cv_irix_exported_symbol" = yes; then
9961
 
          archive_expsym_cmds='$CC -shared $pic_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 ${wl}-exports_file ${wl}$export_symbols -o $lib'
9962
 
        fi
9963
 
      else
9964
 
        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'
9965
 
        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'
9966
 
      fi
9967
 
      archive_cmds_need_lc='no'
9968
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9969
 
      hardcode_libdir_separator=:
9970
 
      inherit_rpath=yes
9971
 
      link_all_deplibs=yes
9972
 
      ;;
9973
 
 
9974
 
    netbsd*)
9975
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9976
 
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9977
 
      else
9978
 
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9979
 
      fi
9980
 
      hardcode_libdir_flag_spec='-R$libdir'
9981
 
      hardcode_direct=yes
9982
 
      hardcode_shlibpath_var=no
9983
 
      ;;
9984
 
 
9985
 
    newsos6)
9986
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9987
 
      hardcode_direct=yes
9988
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9989
 
      hardcode_libdir_separator=:
9990
 
      hardcode_shlibpath_var=no
9991
 
      ;;
9992
 
 
9993
 
    *nto* | *qnx*)
9994
 
      ;;
9995
 
 
9996
 
    openbsd*)
9997
 
      if test -f /usr/libexec/ld.so; then
9998
 
        hardcode_direct=yes
9999
 
        hardcode_shlibpath_var=no
10000
 
        hardcode_direct_absolute=yes
10001
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10002
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10003
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10004
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10005
 
          export_dynamic_flag_spec='${wl}-E'
10006
 
        else
10007
 
          case $host_os in
10008
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10009
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10010
 
             hardcode_libdir_flag_spec='-R$libdir'
10011
 
             ;;
10012
 
           *)
10013
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10014
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10015
 
             ;;
10016
 
          esac
10017
 
        fi
10018
 
      else
10019
 
        ld_shlibs=no
10020
 
      fi
10021
 
      ;;
10022
 
 
10023
 
    os2*)
10024
 
      hardcode_libdir_flag_spec='-L$libdir'
10025
 
      hardcode_minus_L=yes
10026
 
      allow_undefined_flag=unsupported
10027
 
      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'
10028
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10029
 
      ;;
10030
 
 
10031
 
    osf3*)
10032
 
      if test "$GCC" = yes; then
10033
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10034
 
        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'
10035
 
      else
10036
 
        allow_undefined_flag=' -expect_unresolved \*'
10037
 
        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'
10038
 
      fi
10039
 
      archive_cmds_need_lc='no'
10040
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10041
 
      hardcode_libdir_separator=:
10042
 
      ;;
10043
 
 
10044
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10045
 
      if test "$GCC" = yes; then
10046
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10047
 
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_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'
10048
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10049
 
      else
10050
 
        allow_undefined_flag=' -expect_unresolved \*'
10051
 
        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'
10052
 
        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~
10053
 
        $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'
10054
 
 
10055
 
        # Both c and cxx compiler support -rpath directly
10056
 
        hardcode_libdir_flag_spec='-rpath $libdir'
10057
 
      fi
10058
 
      archive_cmds_need_lc='no'
10059
 
      hardcode_libdir_separator=:
10060
 
      ;;
10061
 
 
10062
 
    solaris*)
10063
 
      no_undefined_flag=' -z defs'
10064
 
      if test "$GCC" = yes; then
10065
 
        wlarc='${wl}'
10066
 
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10067
 
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10068
 
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10069
 
      else
10070
 
        case `$CC -V 2>&1` in
10071
 
        *"Compilers 5.0"*)
10072
 
          wlarc=''
10073
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10074
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10075
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10076
 
          ;;
10077
 
        *)
10078
 
          wlarc='${wl}'
10079
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10080
 
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10081
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10082
 
          ;;
10083
 
        esac
10084
 
      fi
10085
 
      hardcode_libdir_flag_spec='-R$libdir'
10086
 
      hardcode_shlibpath_var=no
10087
 
      case $host_os in
10088
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
10089
 
      *)
10090
 
        # The compiler driver will combine and reorder linker options,
10091
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10092
 
        # but is careful enough not to reorder.
10093
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10094
 
        if test "$GCC" = yes; then
10095
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10096
 
        else
10097
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10098
 
        fi
10099
 
        ;;
10100
 
      esac
10101
 
      link_all_deplibs=yes
10102
 
      ;;
10103
 
 
10104
 
    sunos4*)
10105
 
      if test "x$host_vendor" = xsequent; then
10106
 
        # Use $CC to link under sequent, because it throws in some extra .o
10107
 
        # files that make .init and .fini sections work.
10108
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10109
 
      else
10110
 
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10111
 
      fi
10112
 
      hardcode_libdir_flag_spec='-L$libdir'
10113
 
      hardcode_direct=yes
10114
 
      hardcode_minus_L=yes
10115
 
      hardcode_shlibpath_var=no
10116
 
      ;;
10117
 
 
10118
 
    sysv4)
10119
 
      case $host_vendor in
10120
 
        sni)
10121
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10122
 
          hardcode_direct=yes # is this really true???
10123
 
        ;;
10124
 
        siemens)
10125
 
          ## LD is ld it makes a PLAMLIB
10126
 
          ## CC just makes a GrossModule.
10127
 
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10128
 
          reload_cmds='$CC -r -o $output$reload_objs'
10129
 
          hardcode_direct=no
10130
 
        ;;
10131
 
        motorola)
10132
 
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10133
 
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10134
 
        ;;
10135
 
      esac
10136
 
      runpath_var='LD_RUN_PATH'
10137
 
      hardcode_shlibpath_var=no
10138
 
      ;;
10139
 
 
10140
 
    sysv4.3*)
10141
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10142
 
      hardcode_shlibpath_var=no
10143
 
      export_dynamic_flag_spec='-Bexport'
10144
 
      ;;
10145
 
 
10146
 
    sysv4*MP*)
10147
 
      if test -d /usr/nec; then
10148
 
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10149
 
        hardcode_shlibpath_var=no
10150
 
        runpath_var=LD_RUN_PATH
10151
 
        hardcode_runpath_var=yes
10152
 
        ld_shlibs=yes
10153
 
      fi
10154
 
      ;;
10155
 
 
10156
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10157
 
      no_undefined_flag='${wl}-z,text'
10158
 
      archive_cmds_need_lc=no
10159
 
      hardcode_shlibpath_var=no
10160
 
      runpath_var='LD_RUN_PATH'
10161
 
 
10162
 
      if test "$GCC" = yes; then
10163
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10164
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10165
 
      else
10166
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10167
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10168
 
      fi
10169
 
      ;;
10170
 
 
10171
 
    sysv5* | sco3.2v5* | sco5v6*)
10172
 
      # Note: We can NOT use -z defs as we might desire, because we do not
10173
 
      # link with -lc, and that would cause any symbols used from libc to
10174
 
      # always be unresolved, which means just about no library would
10175
 
      # ever link correctly.  If we're not using GNU ld we use -z text
10176
 
      # though, which does catch some bad symbols but isn't as heavy-handed
10177
 
      # as -z defs.
10178
 
      no_undefined_flag='${wl}-z,text'
10179
 
      allow_undefined_flag='${wl}-z,nodefs'
10180
 
      archive_cmds_need_lc=no
10181
 
      hardcode_shlibpath_var=no
10182
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10183
 
      hardcode_libdir_separator=':'
10184
 
      link_all_deplibs=yes
10185
 
      export_dynamic_flag_spec='${wl}-Bexport'
10186
 
      runpath_var='LD_RUN_PATH'
10187
 
 
10188
 
      if test "$GCC" = yes; then
10189
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10190
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10191
 
      else
10192
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10193
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10194
 
      fi
10195
 
      ;;
10196
 
 
10197
 
    uts4*)
10198
 
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10199
 
      hardcode_libdir_flag_spec='-L$libdir'
10200
 
      hardcode_shlibpath_var=no
10201
 
      ;;
10202
 
 
10203
 
    *)
10204
 
      ld_shlibs=no
10205
 
      ;;
10206
 
    esac
10207
 
 
10208
 
    if test x$host_vendor = xsni; then
10209
 
      case $host in
10210
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10211
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
10212
 
        ;;
10213
 
      esac
10214
 
    fi
10215
 
  fi
10216
 
 
10217
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10218
 
$as_echo "$ld_shlibs" >&6; }
10219
 
test "$ld_shlibs" = no && can_build_shared=no
10220
 
 
10221
 
with_gnu_ld=$with_gnu_ld
10222
 
 
10223
 
 
10224
 
 
10225
 
 
10226
 
 
10227
 
 
10228
 
 
10229
 
 
10230
 
 
10231
 
 
10232
 
 
10233
 
 
10234
 
 
10235
 
 
10236
 
 
10237
 
#
10238
 
# Do we need to explicitly link libc?
10239
 
#
10240
 
case "x$archive_cmds_need_lc" in
10241
 
x|xyes)
10242
 
  # Assume -lc should be added
10243
 
  archive_cmds_need_lc=yes
10244
 
 
10245
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
10246
 
    case $archive_cmds in
10247
 
    *'~'*)
10248
 
      # FIXME: we may have to deal with multi-command sequences.
10249
 
      ;;
10250
 
    '$CC '*)
10251
 
      # Test whether the compiler implicitly links with -lc since on some
10252
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10253
 
      # to ld, don't add -lc before -lgcc.
10254
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10255
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10256
 
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10257
 
  $as_echo_n "(cached) " >&6
10258
 
else
10259
 
  $RM conftest*
10260
 
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10261
 
 
10262
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10263
 
  (eval $ac_compile) 2>&5
10264
 
  ac_status=$?
10265
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10266
 
  test $ac_status = 0; } 2>conftest.err; then
10267
 
          soname=conftest
10268
 
          lib=conftest
10269
 
          libobjs=conftest.$ac_objext
10270
 
          deplibs=
10271
 
          wl=$lt_prog_compiler_wl
10272
 
          pic_flag=$lt_prog_compiler_pic
10273
 
          compiler_flags=-v
10274
 
          linker_flags=-v
10275
 
          verstring=
10276
 
          output_objdir=.
10277
 
          libname=conftest
10278
 
          lt_save_allow_undefined_flag=$allow_undefined_flag
10279
 
          allow_undefined_flag=
10280
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10281
 
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10282
 
  ac_status=$?
10283
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10284
 
  test $ac_status = 0; }
10285
 
          then
10286
 
            lt_cv_archive_cmds_need_lc=no
10287
 
          else
10288
 
            lt_cv_archive_cmds_need_lc=yes
10289
 
          fi
10290
 
          allow_undefined_flag=$lt_save_allow_undefined_flag
10291
 
        else
10292
 
          cat conftest.err 1>&5
10293
 
        fi
10294
 
        $RM conftest*
10295
 
 
10296
 
fi
10297
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10298
 
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10299
 
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10300
 
      ;;
10301
 
    esac
10302
 
  fi
10303
 
  ;;
10304
 
esac
10305
 
 
10306
 
 
10307
 
 
10308
 
 
10309
 
 
10310
 
 
10311
 
 
10312
 
 
10313
 
 
10314
 
 
10315
 
 
10316
 
 
10317
 
 
10318
 
 
10319
 
 
10320
 
 
10321
 
 
10322
 
 
10323
 
 
10324
 
 
10325
 
 
10326
 
 
10327
 
 
10328
 
 
10329
 
 
10330
 
 
10331
 
 
10332
 
 
10333
 
 
10334
 
 
10335
 
 
10336
 
 
10337
 
 
10338
 
 
10339
 
 
10340
 
 
10341
 
 
10342
 
 
10343
 
 
10344
 
 
10345
 
 
10346
 
 
10347
 
 
10348
 
 
10349
 
 
10350
 
 
10351
 
 
10352
 
 
10353
 
 
10354
 
 
10355
 
 
10356
 
 
10357
 
 
10358
 
 
10359
 
 
10360
 
 
10361
 
 
10362
 
 
10363
 
 
10364
 
 
10365
 
 
10366
 
 
10367
 
 
10368
 
 
10369
 
 
10370
 
 
10371
 
 
10372
 
 
10373
 
 
10374
 
 
10375
 
 
10376
 
 
10377
 
 
10378
 
 
10379
 
 
10380
 
 
10381
 
 
10382
 
 
10383
 
 
10384
 
 
10385
 
 
10386
 
 
10387
 
 
10388
 
 
10389
 
 
10390
 
 
10391
 
 
10392
 
 
10393
 
 
10394
 
 
10395
 
 
10396
 
 
10397
 
 
10398
 
 
10399
 
 
10400
 
 
10401
 
 
10402
 
 
10403
 
 
10404
 
 
10405
 
 
10406
 
 
10407
 
 
10408
 
 
10409
 
 
10410
 
 
10411
 
 
10412
 
 
10413
 
 
10414
 
 
10415
 
 
10416
 
 
10417
 
 
10418
 
 
10419
 
 
10420
 
 
10421
 
 
10422
 
 
10423
 
 
10424
 
 
10425
 
 
10426
 
 
10427
 
 
10428
 
 
10429
 
 
10430
 
 
10431
 
 
10432
 
 
10433
 
 
10434
 
 
10435
 
 
10436
 
 
10437
 
 
10438
 
 
10439
 
 
10440
 
 
10441
 
 
10442
 
 
10443
 
 
10444
 
 
10445
 
 
10446
 
 
10447
 
 
10448
 
 
10449
 
 
10450
 
 
10451
 
 
10452
 
 
10453
 
 
10454
 
 
10455
 
 
10456
 
 
10457
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10458
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10459
 
 
10460
 
if test "$GCC" = yes; then
10461
 
  case $host_os in
10462
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10463
 
    *) lt_awk_arg="/^libraries:/" ;;
10464
 
  esac
10465
 
  case $host_os in
10466
 
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10467
 
    *) lt_sed_strip_eq="s,=/,/,g" ;;
10468
 
  esac
10469
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10470
 
  case $lt_search_path_spec in
10471
 
  *\;*)
10472
 
    # if the path contains ";" then we assume it to be the separator
10473
 
    # otherwise default to the standard path separator (i.e. ":") - it is
10474
 
    # assumed that no part of a normal pathname contains ";" but that should
10475
 
    # okay in the real world where ";" in dirpaths is itself problematic.
10476
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10477
 
    ;;
10478
 
  *)
10479
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10480
 
    ;;
10481
 
  esac
10482
 
  # Ok, now we have the path, separated by spaces, we can step through it
10483
 
  # and add multilib dir if necessary.
10484
 
  lt_tmp_lt_search_path_spec=
10485
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10486
 
  for lt_sys_path in $lt_search_path_spec; do
10487
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10488
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10489
 
    else
10490
 
      test -d "$lt_sys_path" && \
10491
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10492
 
    fi
10493
 
  done
10494
 
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10495
 
BEGIN {RS=" "; FS="/|\n";} {
10496
 
  lt_foo="";
10497
 
  lt_count=0;
10498
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
10499
 
    if ($lt_i != "" && $lt_i != ".") {
10500
 
      if ($lt_i == "..") {
10501
 
        lt_count++;
10502
 
      } else {
10503
 
        if (lt_count == 0) {
10504
 
          lt_foo="/" $lt_i lt_foo;
10505
 
        } else {
10506
 
          lt_count--;
10507
 
        }
10508
 
      }
10509
 
    }
10510
 
  }
10511
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10512
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10513
 
}'`
10514
 
  # AWK program above erroneously prepends '/' to C:/dos/paths
10515
 
  # for these hosts.
10516
 
  case $host_os in
10517
 
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10518
 
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10519
 
  esac
10520
 
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10521
 
else
10522
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10523
 
fi
10524
 
library_names_spec=
10525
 
libname_spec='lib$name'
10526
 
soname_spec=
10527
 
shrext_cmds=".so"
10528
 
postinstall_cmds=
10529
 
postuninstall_cmds=
10530
 
finish_cmds=
10531
 
finish_eval=
10532
 
shlibpath_var=
10533
 
shlibpath_overrides_runpath=unknown
10534
 
version_type=none
10535
 
dynamic_linker="$host_os ld.so"
10536
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10537
 
need_lib_prefix=unknown
10538
 
hardcode_into_libs=no
10539
 
 
10540
 
# when you set need_version to no, make sure it does not cause -set_version
10541
 
# flags to be left without arguments
10542
 
need_version=unknown
10543
 
 
10544
 
case $host_os in
10545
 
aix3*)
10546
 
  version_type=linux # correct to gnu/linux during the next big refactor
10547
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10548
 
  shlibpath_var=LIBPATH
10549
 
 
10550
 
  # AIX 3 has no versioning support, so we append a major version to the name.
10551
 
  soname_spec='${libname}${release}${shared_ext}$major'
10552
 
  ;;
10553
 
 
10554
 
aix[4-9]*)
10555
 
  version_type=linux # correct to gnu/linux during the next big refactor
10556
 
  need_lib_prefix=no
10557
 
  need_version=no
10558
 
  hardcode_into_libs=yes
10559
 
  if test "$host_cpu" = ia64; then
10560
 
    # AIX 5 supports IA64
10561
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10562
 
    shlibpath_var=LD_LIBRARY_PATH
10563
 
  else
10564
 
    # With GCC up to 2.95.x, collect2 would create an import file
10565
 
    # for dependence libraries.  The import file would start with
10566
 
    # the line `#! .'.  This would cause the generated library to
10567
 
    # depend on `.', always an invalid library.  This was fixed in
10568
 
    # development snapshots of GCC prior to 3.0.
10569
 
    case $host_os in
10570
 
      aix4 | aix4.[01] | aix4.[01].*)
10571
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10572
 
           echo ' yes '
10573
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10574
 
        :
10575
 
      else
10576
 
        can_build_shared=no
10577
 
      fi
10578
 
      ;;
10579
 
    esac
10580
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10581
 
    # soname into executable. Probably we can add versioning support to
10582
 
    # collect2, so additional links can be useful in future.
10583
 
    if test "$aix_use_runtimelinking" = yes; then
10584
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10585
 
      # instead of lib<name>.a to let people know that these are not
10586
 
      # typical AIX shared libraries.
10587
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10588
 
    else
10589
 
      # We preserve .a as extension for shared libraries through AIX4.2
10590
 
      # and later when we are not doing run time linking.
10591
 
      library_names_spec='${libname}${release}.a $libname.a'
10592
 
      soname_spec='${libname}${release}${shared_ext}$major'
10593
 
    fi
10594
 
    shlibpath_var=LIBPATH
10595
 
  fi
10596
 
  ;;
10597
 
 
10598
 
amigaos*)
10599
 
  case $host_cpu in
10600
 
  powerpc)
10601
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
10602
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10603
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10604
 
    ;;
10605
 
  m68k)
10606
 
    library_names_spec='$libname.ixlibrary $libname.a'
10607
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10608
 
    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'
10609
 
    ;;
10610
 
  esac
10611
 
  ;;
10612
 
 
10613
 
beos*)
10614
 
  library_names_spec='${libname}${shared_ext}'
10615
 
  dynamic_linker="$host_os ld.so"
10616
 
  shlibpath_var=LIBRARY_PATH
10617
 
  ;;
10618
 
 
10619
 
bsdi[45]*)
10620
 
  version_type=linux # correct to gnu/linux during the next big refactor
10621
 
  need_version=no
10622
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10623
 
  soname_spec='${libname}${release}${shared_ext}$major'
10624
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10625
 
  shlibpath_var=LD_LIBRARY_PATH
10626
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10627
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10628
 
  # the default ld.so.conf also contains /usr/contrib/lib and
10629
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10630
 
  # libtool to hard-code these into programs
10631
 
  ;;
10632
 
 
10633
 
cygwin* | mingw* | pw32* | cegcc*)
10634
 
  version_type=windows
10635
 
  shrext_cmds=".dll"
10636
 
  need_version=no
10637
 
  need_lib_prefix=no
10638
 
 
10639
 
  case $GCC,$cc_basename in
10640
 
  yes,*)
10641
 
    # gcc
10642
 
    library_names_spec='$libname.dll.a'
10643
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10644
 
    postinstall_cmds='base_file=`basename \${file}`~
10645
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10646
 
      dldir=$destdir/`dirname \$dlpath`~
10647
 
      test -d \$dldir || mkdir -p \$dldir~
10648
 
      $install_prog $dir/$dlname \$dldir/$dlname~
10649
 
      chmod a+x \$dldir/$dlname~
10650
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10651
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10652
 
      fi'
10653
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10654
 
      dlpath=$dir/\$dldll~
10655
 
       $RM \$dlpath'
10656
 
    shlibpath_overrides_runpath=yes
10657
 
 
10658
 
    case $host_os in
10659
 
    cygwin*)
10660
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10661
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10662
 
 
10663
 
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10664
 
      ;;
10665
 
    mingw* | cegcc*)
10666
 
      # MinGW DLLs use traditional 'lib' prefix
10667
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10668
 
      ;;
10669
 
    pw32*)
10670
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10671
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10672
 
      ;;
10673
 
    esac
10674
 
    dynamic_linker='Win32 ld.exe'
10675
 
    ;;
10676
 
 
10677
 
  *,cl*)
10678
 
    # Native MSVC
10679
 
    libname_spec='$name'
10680
 
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10681
 
    library_names_spec='${libname}.dll.lib'
10682
 
 
10683
 
    case $build_os in
10684
 
    mingw*)
10685
 
      sys_lib_search_path_spec=
10686
 
      lt_save_ifs=$IFS
10687
 
      IFS=';'
10688
 
      for lt_path in $LIB
10689
 
      do
10690
 
        IFS=$lt_save_ifs
10691
 
        # Let DOS variable expansion print the short 8.3 style file name.
10692
 
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10693
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10694
 
      done
10695
 
      IFS=$lt_save_ifs
10696
 
      # Convert to MSYS style.
10697
 
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10698
 
      ;;
10699
 
    cygwin*)
10700
 
      # Convert to unix form, then to dos form, then back to unix form
10701
 
      # but this time dos style (no spaces!) so that the unix form looks
10702
 
      # like /cygdrive/c/PROGRA~1:/cygdr...
10703
 
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10704
 
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10705
 
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10706
 
      ;;
10707
 
    *)
10708
 
      sys_lib_search_path_spec="$LIB"
10709
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10710
 
        # It is most probably a Windows format PATH.
10711
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10712
 
      else
10713
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10714
 
      fi
10715
 
      # FIXME: find the short name or the path components, as spaces are
10716
 
      # common. (e.g. "Program Files" -> "PROGRA~1")
10717
 
      ;;
10718
 
    esac
10719
 
 
10720
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10721
 
    postinstall_cmds='base_file=`basename \${file}`~
10722
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10723
 
      dldir=$destdir/`dirname \$dlpath`~
10724
 
      test -d \$dldir || mkdir -p \$dldir~
10725
 
      $install_prog $dir/$dlname \$dldir/$dlname'
10726
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10727
 
      dlpath=$dir/\$dldll~
10728
 
       $RM \$dlpath'
10729
 
    shlibpath_overrides_runpath=yes
10730
 
    dynamic_linker='Win32 link.exe'
10731
 
    ;;
10732
 
 
10733
 
  *)
10734
 
    # Assume MSVC wrapper
10735
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10736
 
    dynamic_linker='Win32 ld.exe'
10737
 
    ;;
10738
 
  esac
10739
 
  # FIXME: first we should search . and the directory the executable is in
10740
 
  shlibpath_var=PATH
10741
 
  ;;
10742
 
 
10743
 
darwin* | rhapsody*)
10744
 
  dynamic_linker="$host_os dyld"
10745
 
  version_type=darwin
10746
 
  need_lib_prefix=no
10747
 
  need_version=no
10748
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10749
 
  soname_spec='${libname}${release}${major}$shared_ext'
10750
 
  shlibpath_overrides_runpath=yes
10751
 
  shlibpath_var=DYLD_LIBRARY_PATH
10752
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10753
 
 
10754
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10755
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10756
 
  ;;
10757
 
 
10758
 
dgux*)
10759
 
  version_type=linux # correct to gnu/linux during the next big refactor
10760
 
  need_lib_prefix=no
10761
 
  need_version=no
10762
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10763
 
  soname_spec='${libname}${release}${shared_ext}$major'
10764
 
  shlibpath_var=LD_LIBRARY_PATH
10765
 
  ;;
10766
 
 
10767
 
freebsd* | dragonfly*)
10768
 
  # DragonFly does not have aout.  When/if they implement a new
10769
 
  # versioning mechanism, adjust this.
10770
 
  if test -x /usr/bin/objformat; then
10771
 
    objformat=`/usr/bin/objformat`
10772
 
  else
10773
 
    case $host_os in
10774
 
    freebsd[23].*) objformat=aout ;;
10775
 
    *) objformat=elf ;;
10776
 
    esac
10777
 
  fi
10778
 
  version_type=freebsd-$objformat
10779
 
  case $version_type in
10780
 
    freebsd-elf*)
10781
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10782
 
      need_version=no
10783
 
      need_lib_prefix=no
10784
 
      ;;
10785
 
    freebsd-*)
10786
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10787
 
      need_version=yes
10788
 
      ;;
10789
 
  esac
10790
 
  shlibpath_var=LD_LIBRARY_PATH
10791
 
  case $host_os in
10792
 
  freebsd2.*)
10793
 
    shlibpath_overrides_runpath=yes
10794
 
    ;;
10795
 
  freebsd3.[01]* | freebsdelf3.[01]*)
10796
 
    shlibpath_overrides_runpath=yes
10797
 
    hardcode_into_libs=yes
10798
 
    ;;
10799
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10800
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10801
 
    shlibpath_overrides_runpath=no
10802
 
    hardcode_into_libs=yes
10803
 
    ;;
10804
 
  *) # from 4.6 on, and DragonFly
10805
 
    shlibpath_overrides_runpath=yes
10806
 
    hardcode_into_libs=yes
10807
 
    ;;
10808
 
  esac
10809
 
  ;;
10810
 
 
10811
 
gnu*)
10812
 
  version_type=linux # correct to gnu/linux during the next big refactor
10813
 
  need_lib_prefix=no
10814
 
  need_version=no
10815
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10816
 
  soname_spec='${libname}${release}${shared_ext}$major'
10817
 
  shlibpath_var=LD_LIBRARY_PATH
10818
 
  shlibpath_overrides_runpath=no
10819
 
  hardcode_into_libs=yes
10820
 
  ;;
10821
 
 
10822
 
haiku*)
10823
 
  version_type=linux # correct to gnu/linux during the next big refactor
10824
 
  need_lib_prefix=no
10825
 
  need_version=no
10826
 
  dynamic_linker="$host_os runtime_loader"
10827
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10828
 
  soname_spec='${libname}${release}${shared_ext}$major'
10829
 
  shlibpath_var=LIBRARY_PATH
10830
 
  shlibpath_overrides_runpath=yes
10831
 
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10832
 
  hardcode_into_libs=yes
10833
 
  ;;
10834
 
 
10835
 
hpux9* | hpux10* | hpux11*)
10836
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
10837
 
  # link against other versions.
10838
 
  version_type=sunos
10839
 
  need_lib_prefix=no
10840
 
  need_version=no
10841
 
  case $host_cpu in
10842
 
  ia64*)
10843
 
    shrext_cmds='.so'
10844
 
    hardcode_into_libs=yes
10845
 
    dynamic_linker="$host_os dld.so"
10846
 
    shlibpath_var=LD_LIBRARY_PATH
10847
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10848
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10849
 
    soname_spec='${libname}${release}${shared_ext}$major'
10850
 
    if test "X$HPUX_IA64_MODE" = X32; then
10851
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10852
 
    else
10853
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10854
 
    fi
10855
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10856
 
    ;;
10857
 
  hppa*64*)
10858
 
    shrext_cmds='.sl'
10859
 
    hardcode_into_libs=yes
10860
 
    dynamic_linker="$host_os dld.sl"
10861
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10862
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10863
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10864
 
    soname_spec='${libname}${release}${shared_ext}$major'
10865
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10866
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10867
 
    ;;
10868
 
  *)
10869
 
    shrext_cmds='.sl'
10870
 
    dynamic_linker="$host_os dld.sl"
10871
 
    shlibpath_var=SHLIB_PATH
10872
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10873
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10874
 
    soname_spec='${libname}${release}${shared_ext}$major'
10875
 
    ;;
10876
 
  esac
10877
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10878
 
  postinstall_cmds='chmod 555 $lib'
10879
 
  # or fails outright, so override atomically:
10880
 
  install_override_mode=555
10881
 
  ;;
10882
 
 
10883
 
interix[3-9]*)
10884
 
  version_type=linux # correct to gnu/linux during the next big refactor
10885
 
  need_lib_prefix=no
10886
 
  need_version=no
10887
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10888
 
  soname_spec='${libname}${release}${shared_ext}$major'
10889
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10890
 
  shlibpath_var=LD_LIBRARY_PATH
10891
 
  shlibpath_overrides_runpath=no
10892
 
  hardcode_into_libs=yes
10893
 
  ;;
10894
 
 
10895
 
irix5* | irix6* | nonstopux*)
10896
 
  case $host_os in
10897
 
    nonstopux*) version_type=nonstopux ;;
10898
 
    *)
10899
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
10900
 
                version_type=linux # correct to gnu/linux during the next big refactor
10901
 
        else
10902
 
                version_type=irix
10903
 
        fi ;;
10904
 
  esac
10905
 
  need_lib_prefix=no
10906
 
  need_version=no
10907
 
  soname_spec='${libname}${release}${shared_ext}$major'
10908
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10909
 
  case $host_os in
10910
 
  irix5* | nonstopux*)
10911
 
    libsuff= shlibsuff=
10912
 
    ;;
10913
 
  *)
10914
 
    case $LD in # libtool.m4 will add one of these switches to LD
10915
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10916
 
      libsuff= shlibsuff= libmagic=32-bit;;
10917
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10918
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
10919
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10920
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10921
 
    *) libsuff= shlibsuff= libmagic=never-match;;
10922
 
    esac
10923
 
    ;;
10924
 
  esac
10925
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10926
 
  shlibpath_overrides_runpath=no
10927
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10928
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10929
 
  hardcode_into_libs=yes
10930
 
  ;;
10931
 
 
10932
 
# No shared lib support for Linux oldld, aout, or coff.
10933
 
linux*oldld* | linux*aout* | linux*coff*)
10934
 
  dynamic_linker=no
10935
 
  ;;
10936
 
 
10937
 
# This must be glibc/ELF.
10938
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10939
 
  version_type=linux # correct to gnu/linux during the next big refactor
10940
 
  need_lib_prefix=no
10941
 
  need_version=no
10942
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10943
 
  soname_spec='${libname}${release}${shared_ext}$major'
10944
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10945
 
  shlibpath_var=LD_LIBRARY_PATH
10946
 
  shlibpath_overrides_runpath=no
10947
 
 
10948
 
  # Some binutils ld are patched to set DT_RUNPATH
10949
 
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10950
 
  $as_echo_n "(cached) " >&6
10951
 
else
10952
 
  lt_cv_shlibpath_overrides_runpath=no
10953
 
    save_LDFLAGS=$LDFLAGS
10954
 
    save_libdir=$libdir
10955
 
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10956
 
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10957
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10958
 
/* end confdefs.h.  */
10959
 
 
10960
 
int
10961
 
main ()
10962
 
{
10963
 
 
10964
 
  ;
10965
 
  return 0;
10966
 
}
10967
 
_ACEOF
10968
 
if ac_fn_c_try_link "$LINENO"; then :
10969
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10970
 
  lt_cv_shlibpath_overrides_runpath=yes
10971
 
fi
10972
 
fi
10973
 
rm -f core conftest.err conftest.$ac_objext \
10974
 
    conftest$ac_exeext conftest.$ac_ext
10975
 
    LDFLAGS=$save_LDFLAGS
10976
 
    libdir=$save_libdir
10977
 
 
10978
 
fi
10979
 
 
10980
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10981
 
 
10982
 
  # This implies no fast_install, which is unacceptable.
10983
 
  # Some rework will be needed to allow for fast_install
10984
 
  # before this can be enabled.
10985
 
  hardcode_into_libs=yes
10986
 
 
10987
 
  # Add ABI-specific directories to the system library path.
10988
 
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10989
 
 
10990
 
  # Append ld.so.conf contents to the search path
10991
 
  if test -f /etc/ld.so.conf; then
10992
 
    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' ' '`
10993
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10994
 
 
10995
 
  fi
10996
 
 
10997
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10998
 
  # powerpc, because MkLinux only supported shared libraries with the
10999
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
11000
 
  # most powerpc-linux boxes support dynamic linking these days and
11001
 
  # people can always --disable-shared, the test was removed, and we
11002
 
  # assume the GNU/Linux dynamic linker is in use.
11003
 
  dynamic_linker='GNU/Linux ld.so'
11004
 
  ;;
11005
 
 
11006
 
netbsd*)
11007
 
  version_type=sunos
11008
 
  need_lib_prefix=no
11009
 
  need_version=no
11010
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11011
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11012
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11013
 
    dynamic_linker='NetBSD (a.out) ld.so'
11014
 
  else
11015
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11016
 
    soname_spec='${libname}${release}${shared_ext}$major'
11017
 
    dynamic_linker='NetBSD ld.elf_so'
11018
 
  fi
11019
 
  shlibpath_var=LD_LIBRARY_PATH
11020
 
  shlibpath_overrides_runpath=yes
11021
 
  hardcode_into_libs=yes
11022
 
  ;;
11023
 
 
11024
 
newsos6)
11025
 
  version_type=linux # correct to gnu/linux during the next big refactor
11026
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11027
 
  shlibpath_var=LD_LIBRARY_PATH
11028
 
  shlibpath_overrides_runpath=yes
11029
 
  ;;
11030
 
 
11031
 
*nto* | *qnx*)
11032
 
  version_type=qnx
11033
 
  need_lib_prefix=no
11034
 
  need_version=no
11035
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11036
 
  soname_spec='${libname}${release}${shared_ext}$major'
11037
 
  shlibpath_var=LD_LIBRARY_PATH
11038
 
  shlibpath_overrides_runpath=no
11039
 
  hardcode_into_libs=yes
11040
 
  dynamic_linker='ldqnx.so'
11041
 
  ;;
11042
 
 
11043
 
openbsd*)
11044
 
  version_type=sunos
11045
 
  sys_lib_dlsearch_path_spec="/usr/lib"
11046
 
  need_lib_prefix=no
11047
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11048
 
  case $host_os in
11049
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11050
 
    *)                          need_version=no  ;;
11051
 
  esac
11052
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11053
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11054
 
  shlibpath_var=LD_LIBRARY_PATH
11055
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11056
 
    case $host_os in
11057
 
      openbsd2.[89] | openbsd2.[89].*)
11058
 
        shlibpath_overrides_runpath=no
11059
 
        ;;
11060
 
      *)
11061
 
        shlibpath_overrides_runpath=yes
11062
 
        ;;
11063
 
      esac
11064
 
  else
11065
 
    shlibpath_overrides_runpath=yes
11066
 
  fi
11067
 
  ;;
11068
 
 
11069
 
os2*)
11070
 
  libname_spec='$name'
11071
 
  shrext_cmds=".dll"
11072
 
  need_lib_prefix=no
11073
 
  library_names_spec='$libname${shared_ext} $libname.a'
11074
 
  dynamic_linker='OS/2 ld.exe'
11075
 
  shlibpath_var=LIBPATH
11076
 
  ;;
11077
 
 
11078
 
osf3* | osf4* | osf5*)
11079
 
  version_type=osf
11080
 
  need_lib_prefix=no
11081
 
  need_version=no
11082
 
  soname_spec='${libname}${release}${shared_ext}$major'
11083
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11084
 
  shlibpath_var=LD_LIBRARY_PATH
11085
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11086
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11087
 
  ;;
11088
 
 
11089
 
rdos*)
11090
 
  dynamic_linker=no
11091
 
  ;;
11092
 
 
11093
 
solaris*)
11094
 
  version_type=linux # correct to gnu/linux during the next big refactor
11095
 
  need_lib_prefix=no
11096
 
  need_version=no
11097
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11098
 
  soname_spec='${libname}${release}${shared_ext}$major'
11099
 
  shlibpath_var=LD_LIBRARY_PATH
11100
 
  shlibpath_overrides_runpath=yes
11101
 
  hardcode_into_libs=yes
11102
 
  # ldd complains unless libraries are executable
11103
 
  postinstall_cmds='chmod +x $lib'
11104
 
  ;;
11105
 
 
11106
 
sunos4*)
11107
 
  version_type=sunos
11108
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11109
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11110
 
  shlibpath_var=LD_LIBRARY_PATH
11111
 
  shlibpath_overrides_runpath=yes
11112
 
  if test "$with_gnu_ld" = yes; then
11113
 
    need_lib_prefix=no
11114
 
  fi
11115
 
  need_version=yes
11116
 
  ;;
11117
 
 
11118
 
sysv4 | sysv4.3*)
11119
 
  version_type=linux # correct to gnu/linux during the next big refactor
11120
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11121
 
  soname_spec='${libname}${release}${shared_ext}$major'
11122
 
  shlibpath_var=LD_LIBRARY_PATH
11123
 
  case $host_vendor in
11124
 
    sni)
11125
 
      shlibpath_overrides_runpath=no
11126
 
      need_lib_prefix=no
11127
 
      runpath_var=LD_RUN_PATH
11128
 
      ;;
11129
 
    siemens)
11130
 
      need_lib_prefix=no
11131
 
      ;;
11132
 
    motorola)
11133
 
      need_lib_prefix=no
11134
 
      need_version=no
11135
 
      shlibpath_overrides_runpath=no
11136
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11137
 
      ;;
11138
 
  esac
11139
 
  ;;
11140
 
 
11141
 
sysv4*MP*)
11142
 
  if test -d /usr/nec ;then
11143
 
    version_type=linux # correct to gnu/linux during the next big refactor
11144
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11145
 
    soname_spec='$libname${shared_ext}.$major'
11146
 
    shlibpath_var=LD_LIBRARY_PATH
11147
 
  fi
11148
 
  ;;
11149
 
 
11150
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11151
 
  version_type=freebsd-elf
11152
 
  need_lib_prefix=no
11153
 
  need_version=no
11154
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11155
 
  soname_spec='${libname}${release}${shared_ext}$major'
11156
 
  shlibpath_var=LD_LIBRARY_PATH
11157
 
  shlibpath_overrides_runpath=yes
11158
 
  hardcode_into_libs=yes
11159
 
  if test "$with_gnu_ld" = yes; then
11160
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11161
 
  else
11162
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11163
 
    case $host_os in
11164
 
      sco3.2v5*)
11165
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11166
 
        ;;
11167
 
    esac
11168
 
  fi
11169
 
  sys_lib_dlsearch_path_spec='/usr/lib'
11170
 
  ;;
11171
 
 
11172
 
tpf*)
11173
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11174
 
  version_type=linux # correct to gnu/linux during the next big refactor
11175
 
  need_lib_prefix=no
11176
 
  need_version=no
11177
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11178
 
  shlibpath_var=LD_LIBRARY_PATH
11179
 
  shlibpath_overrides_runpath=no
11180
 
  hardcode_into_libs=yes
11181
 
  ;;
11182
 
 
11183
 
uts4*)
11184
 
  version_type=linux # correct to gnu/linux during the next big refactor
11185
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11186
 
  soname_spec='${libname}${release}${shared_ext}$major'
11187
 
  shlibpath_var=LD_LIBRARY_PATH
11188
 
  ;;
11189
 
 
11190
 
*)
11191
 
  dynamic_linker=no
11192
 
  ;;
11193
 
esac
11194
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11195
 
$as_echo "$dynamic_linker" >&6; }
11196
 
test "$dynamic_linker" = no && can_build_shared=no
11197
 
 
11198
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11199
 
if test "$GCC" = yes; then
11200
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11201
 
fi
11202
 
 
11203
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11204
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11205
 
fi
11206
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11207
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11208
 
fi
11209
 
 
11210
 
 
11211
 
 
11212
 
 
11213
 
 
11214
 
 
11215
 
 
11216
 
 
11217
 
 
11218
 
 
11219
 
 
11220
 
 
11221
 
 
11222
 
 
11223
 
 
11224
 
 
11225
 
 
11226
 
 
11227
 
 
11228
 
 
11229
 
 
11230
 
 
11231
 
 
11232
 
 
11233
 
 
11234
 
 
11235
 
 
11236
 
 
11237
 
 
11238
 
 
11239
 
 
11240
 
 
11241
 
 
11242
 
 
11243
 
 
11244
 
 
11245
 
 
11246
 
 
11247
 
 
11248
 
 
11249
 
 
11250
 
 
11251
 
 
11252
 
 
11253
 
 
11254
 
 
11255
 
 
11256
 
 
11257
 
 
11258
 
 
11259
 
 
11260
 
 
11261
 
 
11262
 
 
11263
 
 
11264
 
 
11265
 
 
11266
 
 
11267
 
 
11268
 
 
11269
 
 
11270
 
 
11271
 
 
11272
 
 
11273
 
 
11274
 
 
11275
 
 
11276
 
 
11277
 
 
11278
 
 
11279
 
 
11280
 
 
11281
 
 
11282
 
 
11283
 
 
11284
 
 
11285
 
 
11286
 
 
11287
 
 
11288
 
 
11289
 
 
11290
 
 
11291
 
 
11292
 
 
11293
 
 
11294
 
 
11295
 
 
11296
 
 
11297
 
 
11298
 
 
11299
 
 
11300
 
 
11301
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11302
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11303
 
hardcode_action=
11304
 
if test -n "$hardcode_libdir_flag_spec" ||
11305
 
   test -n "$runpath_var" ||
11306
 
   test "X$hardcode_automatic" = "Xyes" ; then
11307
 
 
11308
 
  # We can hardcode non-existent directories.
11309
 
  if test "$hardcode_direct" != no &&
11310
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11311
 
     # have to relink, otherwise we might link with an installed library
11312
 
     # when we should be linking with a yet-to-be-installed one
11313
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11314
 
     test "$hardcode_minus_L" != no; then
11315
 
    # Linking always hardcodes the temporary library directory.
11316
 
    hardcode_action=relink
11317
 
  else
11318
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11319
 
    hardcode_action=immediate
11320
 
  fi
11321
 
else
11322
 
  # We cannot hardcode anything, or else we can only hardcode existing
11323
 
  # directories.
11324
 
  hardcode_action=unsupported
11325
 
fi
11326
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11327
 
$as_echo "$hardcode_action" >&6; }
11328
 
 
11329
 
if test "$hardcode_action" = relink ||
11330
 
   test "$inherit_rpath" = yes; then
11331
 
  # Fast installation is not supported
11332
 
  enable_fast_install=no
11333
 
elif test "$shlibpath_overrides_runpath" = yes ||
11334
 
     test "$enable_shared" = no; then
11335
 
  # Fast installation is not necessary
11336
 
  enable_fast_install=needless
11337
 
fi
11338
 
 
11339
 
 
11340
 
 
11341
 
 
11342
 
 
11343
 
 
11344
 
  if test "x$enable_dlopen" != xyes; then
11345
 
  enable_dlopen=unknown
11346
 
  enable_dlopen_self=unknown
11347
 
  enable_dlopen_self_static=unknown
11348
 
else
11349
 
  lt_cv_dlopen=no
11350
 
  lt_cv_dlopen_libs=
11351
 
 
11352
 
  case $host_os in
11353
 
  beos*)
11354
 
    lt_cv_dlopen="load_add_on"
11355
 
    lt_cv_dlopen_libs=
11356
 
    lt_cv_dlopen_self=yes
11357
 
    ;;
11358
 
 
11359
 
  mingw* | pw32* | cegcc*)
11360
 
    lt_cv_dlopen="LoadLibrary"
11361
 
    lt_cv_dlopen_libs=
11362
 
    ;;
11363
 
 
11364
 
  cygwin*)
11365
 
    lt_cv_dlopen="dlopen"
11366
 
    lt_cv_dlopen_libs=
11367
 
    ;;
11368
 
 
11369
 
  darwin*)
11370
 
  # if libdl is installed we need to link against it
11371
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11372
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11373
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
11374
 
  $as_echo_n "(cached) " >&6
11375
 
else
11376
 
  ac_check_lib_save_LIBS=$LIBS
11377
 
LIBS="-ldl  $LIBS"
11378
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11379
 
/* end confdefs.h.  */
11380
 
 
11381
 
/* Override any GCC internal prototype to avoid an error.
11382
 
   Use char because int might match the return type of a GCC
11383
 
   builtin and then its argument prototype would still apply.  */
11384
 
#ifdef __cplusplus
11385
 
extern "C"
11386
 
#endif
11387
 
char dlopen ();
11388
 
int
11389
 
main ()
11390
 
{
11391
 
return dlopen ();
11392
 
  ;
11393
 
  return 0;
11394
 
}
11395
 
_ACEOF
11396
 
if ac_fn_c_try_link "$LINENO"; then :
11397
 
  ac_cv_lib_dl_dlopen=yes
11398
 
else
11399
 
  ac_cv_lib_dl_dlopen=no
11400
 
fi
11401
 
rm -f core conftest.err conftest.$ac_objext \
11402
 
    conftest$ac_exeext conftest.$ac_ext
11403
 
LIBS=$ac_check_lib_save_LIBS
11404
 
fi
11405
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11406
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11407
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11408
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11409
 
else
11410
 
 
11411
 
    lt_cv_dlopen="dyld"
11412
 
    lt_cv_dlopen_libs=
11413
 
    lt_cv_dlopen_self=yes
11414
 
 
11415
 
fi
11416
 
 
11417
 
    ;;
11418
 
 
11419
 
  *)
11420
 
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11421
 
if test "x$ac_cv_func_shl_load" = xyes; then :
11422
 
  lt_cv_dlopen="shl_load"
11423
 
else
11424
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11425
 
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11426
 
if ${ac_cv_lib_dld_shl_load+:} false; then :
11427
 
  $as_echo_n "(cached) " >&6
11428
 
else
11429
 
  ac_check_lib_save_LIBS=$LIBS
11430
 
LIBS="-ldld  $LIBS"
11431
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11432
 
/* end confdefs.h.  */
11433
 
 
11434
 
/* Override any GCC internal prototype to avoid an error.
11435
 
   Use char because int might match the return type of a GCC
11436
 
   builtin and then its argument prototype would still apply.  */
11437
 
#ifdef __cplusplus
11438
 
extern "C"
11439
 
#endif
11440
 
char shl_load ();
11441
 
int
11442
 
main ()
11443
 
{
11444
 
return shl_load ();
11445
 
  ;
11446
 
  return 0;
11447
 
}
11448
 
_ACEOF
11449
 
if ac_fn_c_try_link "$LINENO"; then :
11450
 
  ac_cv_lib_dld_shl_load=yes
11451
 
else
11452
 
  ac_cv_lib_dld_shl_load=no
11453
 
fi
11454
 
rm -f core conftest.err conftest.$ac_objext \
11455
 
    conftest$ac_exeext conftest.$ac_ext
11456
 
LIBS=$ac_check_lib_save_LIBS
11457
 
fi
11458
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11459
 
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11460
 
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11461
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11462
 
else
11463
 
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11464
 
if test "x$ac_cv_func_dlopen" = xyes; then :
11465
 
  lt_cv_dlopen="dlopen"
11466
 
else
11467
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11468
 
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11469
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
11470
 
  $as_echo_n "(cached) " >&6
11471
 
else
11472
 
  ac_check_lib_save_LIBS=$LIBS
11473
 
LIBS="-ldl  $LIBS"
11474
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11475
 
/* end confdefs.h.  */
11476
 
 
11477
 
/* Override any GCC internal prototype to avoid an error.
11478
 
   Use char because int might match the return type of a GCC
11479
 
   builtin and then its argument prototype would still apply.  */
11480
 
#ifdef __cplusplus
11481
 
extern "C"
11482
 
#endif
11483
 
char dlopen ();
11484
 
int
11485
 
main ()
11486
 
{
11487
 
return dlopen ();
11488
 
  ;
11489
 
  return 0;
11490
 
}
11491
 
_ACEOF
11492
 
if ac_fn_c_try_link "$LINENO"; then :
11493
 
  ac_cv_lib_dl_dlopen=yes
11494
 
else
11495
 
  ac_cv_lib_dl_dlopen=no
11496
 
fi
11497
 
rm -f core conftest.err conftest.$ac_objext \
11498
 
    conftest$ac_exeext conftest.$ac_ext
11499
 
LIBS=$ac_check_lib_save_LIBS
11500
 
fi
11501
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11502
 
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11503
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11504
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11505
 
else
11506
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11507
 
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11508
 
if ${ac_cv_lib_svld_dlopen+:} false; then :
11509
 
  $as_echo_n "(cached) " >&6
11510
 
else
11511
 
  ac_check_lib_save_LIBS=$LIBS
11512
 
LIBS="-lsvld  $LIBS"
11513
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11514
 
/* end confdefs.h.  */
11515
 
 
11516
 
/* Override any GCC internal prototype to avoid an error.
11517
 
   Use char because int might match the return type of a GCC
11518
 
   builtin and then its argument prototype would still apply.  */
11519
 
#ifdef __cplusplus
11520
 
extern "C"
11521
 
#endif
11522
 
char dlopen ();
11523
 
int
11524
 
main ()
11525
 
{
11526
 
return dlopen ();
11527
 
  ;
11528
 
  return 0;
11529
 
}
11530
 
_ACEOF
11531
 
if ac_fn_c_try_link "$LINENO"; then :
11532
 
  ac_cv_lib_svld_dlopen=yes
11533
 
else
11534
 
  ac_cv_lib_svld_dlopen=no
11535
 
fi
11536
 
rm -f core conftest.err conftest.$ac_objext \
11537
 
    conftest$ac_exeext conftest.$ac_ext
11538
 
LIBS=$ac_check_lib_save_LIBS
11539
 
fi
11540
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11541
 
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11542
 
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11543
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11544
 
else
11545
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11546
 
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11547
 
if ${ac_cv_lib_dld_dld_link+:} false; then :
11548
 
  $as_echo_n "(cached) " >&6
11549
 
else
11550
 
  ac_check_lib_save_LIBS=$LIBS
11551
 
LIBS="-ldld  $LIBS"
11552
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11553
 
/* end confdefs.h.  */
11554
 
 
11555
 
/* Override any GCC internal prototype to avoid an error.
11556
 
   Use char because int might match the return type of a GCC
11557
 
   builtin and then its argument prototype would still apply.  */
11558
 
#ifdef __cplusplus
11559
 
extern "C"
11560
 
#endif
11561
 
char dld_link ();
11562
 
int
11563
 
main ()
11564
 
{
11565
 
return dld_link ();
11566
 
  ;
11567
 
  return 0;
11568
 
}
11569
 
_ACEOF
11570
 
if ac_fn_c_try_link "$LINENO"; then :
11571
 
  ac_cv_lib_dld_dld_link=yes
11572
 
else
11573
 
  ac_cv_lib_dld_dld_link=no
11574
 
fi
11575
 
rm -f core conftest.err conftest.$ac_objext \
11576
 
    conftest$ac_exeext conftest.$ac_ext
11577
 
LIBS=$ac_check_lib_save_LIBS
11578
 
fi
11579
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11580
 
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11581
 
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11582
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11583
 
fi
11584
 
 
11585
 
 
11586
 
fi
11587
 
 
11588
 
 
11589
 
fi
11590
 
 
11591
 
 
11592
 
fi
11593
 
 
11594
 
 
11595
 
fi
11596
 
 
11597
 
 
11598
 
fi
11599
 
 
11600
 
    ;;
11601
 
  esac
11602
 
 
11603
 
  if test "x$lt_cv_dlopen" != xno; then
11604
 
    enable_dlopen=yes
11605
 
  else
11606
 
    enable_dlopen=no
11607
 
  fi
11608
 
 
11609
 
  case $lt_cv_dlopen in
11610
 
  dlopen)
11611
 
    save_CPPFLAGS="$CPPFLAGS"
11612
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11613
 
 
11614
 
    save_LDFLAGS="$LDFLAGS"
11615
 
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11616
 
 
11617
 
    save_LIBS="$LIBS"
11618
 
    LIBS="$lt_cv_dlopen_libs $LIBS"
11619
 
 
11620
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11621
 
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11622
 
if ${lt_cv_dlopen_self+:} false; then :
11623
 
  $as_echo_n "(cached) " >&6
11624
 
else
11625
 
          if test "$cross_compiling" = yes; then :
11626
 
  lt_cv_dlopen_self=cross
11627
 
else
11628
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11629
 
  lt_status=$lt_dlunknown
11630
 
  cat > conftest.$ac_ext <<_LT_EOF
11631
 
#line $LINENO "configure"
11632
 
#include "confdefs.h"
11633
 
 
11634
 
#if HAVE_DLFCN_H
11635
 
#include <dlfcn.h>
11636
 
#endif
11637
 
 
11638
 
#include <stdio.h>
11639
 
 
11640
 
#ifdef RTLD_GLOBAL
11641
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11642
 
#else
11643
 
#  ifdef DL_GLOBAL
11644
 
#    define LT_DLGLOBAL         DL_GLOBAL
11645
 
#  else
11646
 
#    define LT_DLGLOBAL         0
11647
 
#  endif
11648
 
#endif
11649
 
 
11650
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11651
 
   find out it does not work in some platform. */
11652
 
#ifndef LT_DLLAZY_OR_NOW
11653
 
#  ifdef RTLD_LAZY
11654
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11655
 
#  else
11656
 
#    ifdef DL_LAZY
11657
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11658
 
#    else
11659
 
#      ifdef RTLD_NOW
11660
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11661
 
#      else
11662
 
#        ifdef DL_NOW
11663
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11664
 
#        else
11665
 
#          define LT_DLLAZY_OR_NOW      0
11666
 
#        endif
11667
 
#      endif
11668
 
#    endif
11669
 
#  endif
11670
 
#endif
11671
 
 
11672
 
/* When -fvisbility=hidden is used, assume the code has been annotated
11673
 
   correspondingly for the symbols needed.  */
11674
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11675
 
int fnord () __attribute__((visibility("default")));
11676
 
#endif
11677
 
 
11678
 
int fnord () { return 42; }
11679
 
int main ()
11680
 
{
11681
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11682
 
  int status = $lt_dlunknown;
11683
 
 
11684
 
  if (self)
11685
 
    {
11686
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11687
 
      else
11688
 
        {
11689
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11690
 
          else puts (dlerror ());
11691
 
        }
11692
 
      /* dlclose (self); */
11693
 
    }
11694
 
  else
11695
 
    puts (dlerror ());
11696
 
 
11697
 
  return status;
11698
 
}
11699
 
_LT_EOF
11700
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11701
 
  (eval $ac_link) 2>&5
11702
 
  ac_status=$?
11703
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11704
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11705
 
    (./conftest; exit; ) >&5 2>/dev/null
11706
 
    lt_status=$?
11707
 
    case x$lt_status in
11708
 
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11709
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11710
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11711
 
    esac
11712
 
  else :
11713
 
    # compilation failed
11714
 
    lt_cv_dlopen_self=no
11715
 
  fi
11716
 
fi
11717
 
rm -fr conftest*
11718
 
 
11719
 
 
11720
 
fi
11721
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11722
 
$as_echo "$lt_cv_dlopen_self" >&6; }
11723
 
 
11724
 
    if test "x$lt_cv_dlopen_self" = xyes; then
11725
 
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11726
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11727
 
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11728
 
if ${lt_cv_dlopen_self_static+:} false; then :
11729
 
  $as_echo_n "(cached) " >&6
11730
 
else
11731
 
          if test "$cross_compiling" = yes; then :
11732
 
  lt_cv_dlopen_self_static=cross
11733
 
else
11734
 
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11735
 
  lt_status=$lt_dlunknown
11736
 
  cat > conftest.$ac_ext <<_LT_EOF
11737
 
#line $LINENO "configure"
11738
 
#include "confdefs.h"
11739
 
 
11740
 
#if HAVE_DLFCN_H
11741
 
#include <dlfcn.h>
11742
 
#endif
11743
 
 
11744
 
#include <stdio.h>
11745
 
 
11746
 
#ifdef RTLD_GLOBAL
11747
 
#  define LT_DLGLOBAL           RTLD_GLOBAL
11748
 
#else
11749
 
#  ifdef DL_GLOBAL
11750
 
#    define LT_DLGLOBAL         DL_GLOBAL
11751
 
#  else
11752
 
#    define LT_DLGLOBAL         0
11753
 
#  endif
11754
 
#endif
11755
 
 
11756
 
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11757
 
   find out it does not work in some platform. */
11758
 
#ifndef LT_DLLAZY_OR_NOW
11759
 
#  ifdef RTLD_LAZY
11760
 
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11761
 
#  else
11762
 
#    ifdef DL_LAZY
11763
 
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11764
 
#    else
11765
 
#      ifdef RTLD_NOW
11766
 
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11767
 
#      else
11768
 
#        ifdef DL_NOW
11769
 
#          define LT_DLLAZY_OR_NOW      DL_NOW
11770
 
#        else
11771
 
#          define LT_DLLAZY_OR_NOW      0
11772
 
#        endif
11773
 
#      endif
11774
 
#    endif
11775
 
#  endif
11776
 
#endif
11777
 
 
11778
 
/* When -fvisbility=hidden is used, assume the code has been annotated
11779
 
   correspondingly for the symbols needed.  */
11780
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11781
 
int fnord () __attribute__((visibility("default")));
11782
 
#endif
11783
 
 
11784
 
int fnord () { return 42; }
11785
 
int main ()
11786
 
{
11787
 
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11788
 
  int status = $lt_dlunknown;
11789
 
 
11790
 
  if (self)
11791
 
    {
11792
 
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11793
 
      else
11794
 
        {
11795
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11796
 
          else puts (dlerror ());
11797
 
        }
11798
 
      /* dlclose (self); */
11799
 
    }
11800
 
  else
11801
 
    puts (dlerror ());
11802
 
 
11803
 
  return status;
11804
 
}
11805
 
_LT_EOF
11806
 
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11807
 
  (eval $ac_link) 2>&5
11808
 
  ac_status=$?
11809
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11810
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11811
 
    (./conftest; exit; ) >&5 2>/dev/null
11812
 
    lt_status=$?
11813
 
    case x$lt_status in
11814
 
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11815
 
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11816
 
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11817
 
    esac
11818
 
  else :
11819
 
    # compilation failed
11820
 
    lt_cv_dlopen_self_static=no
11821
 
  fi
11822
 
fi
11823
 
rm -fr conftest*
11824
 
 
11825
 
 
11826
 
fi
11827
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11828
 
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11829
 
    fi
11830
 
 
11831
 
    CPPFLAGS="$save_CPPFLAGS"
11832
 
    LDFLAGS="$save_LDFLAGS"
11833
 
    LIBS="$save_LIBS"
11834
 
    ;;
11835
 
  esac
11836
 
 
11837
 
  case $lt_cv_dlopen_self in
11838
 
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11839
 
  *) enable_dlopen_self=unknown ;;
11840
 
  esac
11841
 
 
11842
 
  case $lt_cv_dlopen_self_static in
11843
 
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11844
 
  *) enable_dlopen_self_static=unknown ;;
11845
 
  esac
11846
 
fi
11847
 
 
11848
 
 
11849
 
 
11850
 
 
11851
 
 
11852
 
 
11853
 
 
11854
 
 
11855
 
 
11856
 
 
11857
 
 
11858
 
 
11859
 
 
11860
 
 
11861
 
 
11862
 
 
11863
 
 
11864
 
striplib=
11865
 
old_striplib=
11866
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11867
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11868
 
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11869
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11870
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11871
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11872
 
$as_echo "yes" >&6; }
11873
 
else
11874
 
# FIXME - insert some real tests, host_os isn't really good enough
11875
 
  case $host_os in
11876
 
  darwin*)
11877
 
    if test -n "$STRIP" ; then
11878
 
      striplib="$STRIP -x"
11879
 
      old_striplib="$STRIP -S"
11880
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11881
 
$as_echo "yes" >&6; }
11882
 
    else
11883
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11884
 
$as_echo "no" >&6; }
11885
 
    fi
11886
 
    ;;
11887
 
  *)
11888
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11889
 
$as_echo "no" >&6; }
11890
 
    ;;
11891
 
  esac
11892
 
fi
11893
 
 
11894
 
 
11895
 
 
11896
 
 
11897
 
 
11898
 
 
11899
 
 
11900
 
 
11901
 
 
11902
 
 
11903
 
 
11904
 
 
11905
 
  # Report which library types will actually be built
11906
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11907
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11908
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11909
 
$as_echo "$can_build_shared" >&6; }
11910
 
 
11911
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11912
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
11913
 
  test "$can_build_shared" = "no" && enable_shared=no
11914
 
 
11915
 
  # On AIX, shared libraries and static libraries use the same namespace, and
11916
 
  # are all built from PIC.
11917
 
  case $host_os in
11918
 
  aix3*)
11919
 
    test "$enable_shared" = yes && enable_static=no
11920
 
    if test -n "$RANLIB"; then
11921
 
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11922
 
      postinstall_cmds='$RANLIB $lib'
11923
 
    fi
11924
 
    ;;
11925
 
 
11926
 
  aix[4-9]*)
11927
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11928
 
      test "$enable_shared" = yes && enable_static=no
11929
 
    fi
11930
 
    ;;
11931
 
  esac
11932
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11933
 
$as_echo "$enable_shared" >&6; }
11934
 
 
11935
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11936
 
$as_echo_n "checking whether to build static libraries... " >&6; }
11937
 
  # Make sure either enable_shared or enable_static is yes.
11938
 
  test "$enable_shared" = yes || enable_static=yes
11939
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11940
 
$as_echo "$enable_static" >&6; }
11941
 
 
11942
 
 
11943
 
 
11944
 
 
11945
 
fi
11946
 
ac_ext=c
11947
 
ac_cpp='$CPP $CPPFLAGS'
11948
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11949
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11950
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11951
 
 
11952
 
CC="$lt_save_CC"
11953
 
 
11954
 
 
11955
 
 
11956
 
      ac_ext=f
11957
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
11958
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11959
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
11960
 
 
11961
 
if test -z "$F77" || test "X$F77" = "Xno"; then
11962
 
  _lt_disable_F77=yes
11963
 
fi
11964
 
 
11965
 
archive_cmds_need_lc_F77=no
11966
 
allow_undefined_flag_F77=
11967
 
always_export_symbols_F77=no
11968
 
archive_expsym_cmds_F77=
11969
 
export_dynamic_flag_spec_F77=
11970
 
hardcode_direct_F77=no
11971
 
hardcode_direct_absolute_F77=no
11972
 
hardcode_libdir_flag_spec_F77=
11973
 
hardcode_libdir_separator_F77=
11974
 
hardcode_minus_L_F77=no
11975
 
hardcode_automatic_F77=no
11976
 
inherit_rpath_F77=no
11977
 
module_cmds_F77=
11978
 
module_expsym_cmds_F77=
11979
 
link_all_deplibs_F77=unknown
11980
 
old_archive_cmds_F77=$old_archive_cmds
11981
 
reload_flag_F77=$reload_flag
11982
 
reload_cmds_F77=$reload_cmds
11983
 
no_undefined_flag_F77=
11984
 
whole_archive_flag_spec_F77=
11985
 
enable_shared_with_static_runtimes_F77=no
11986
 
 
11987
 
# Source file extension for f77 test sources.
11988
 
ac_ext=f
11989
 
 
11990
 
# Object file extension for compiled f77 test sources.
11991
 
objext=o
11992
 
objext_F77=$objext
11993
 
 
11994
 
# No sense in running all these tests if we already determined that
11995
 
# the F77 compiler isn't working.  Some variables (like enable_shared)
11996
 
# are currently assumed to apply to all compilers on this platform,
11997
 
# and will be corrupted by setting them based on a non-working compiler.
11998
 
if test "$_lt_disable_F77" != yes; then
11999
 
  # Code to be used in simple compile tests
12000
 
  lt_simple_compile_test_code="\
12001
 
      subroutine t
12002
 
      return
12003
 
      end
12004
 
"
12005
 
 
12006
 
  # Code to be used in simple link tests
12007
 
  lt_simple_link_test_code="\
12008
 
      program t
12009
 
      end
12010
 
"
12011
 
 
12012
 
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12013
 
 
12014
 
 
12015
 
 
12016
 
 
12017
 
 
12018
 
 
12019
 
# If no C compiler was specified, use CC.
12020
 
LTCC=${LTCC-"$CC"}
12021
 
 
12022
 
# If no C compiler flags were specified, use CFLAGS.
12023
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12024
 
 
12025
 
# Allow CC to be a program name with arguments.
12026
 
compiler=$CC
12027
 
 
12028
 
 
12029
 
  # save warnings/boilerplate of simple test code
12030
 
  ac_outfile=conftest.$ac_objext
12031
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12032
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12033
 
_lt_compiler_boilerplate=`cat conftest.err`
12034
 
$RM conftest*
12035
 
 
12036
 
  ac_outfile=conftest.$ac_objext
12037
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12038
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12039
 
_lt_linker_boilerplate=`cat conftest.err`
12040
 
$RM -r conftest*
12041
 
 
12042
 
 
12043
 
  # Allow CC to be a program name with arguments.
12044
 
  lt_save_CC="$CC"
12045
 
  lt_save_GCC=$GCC
12046
 
  lt_save_CFLAGS=$CFLAGS
12047
 
  CC=${F77-"f77"}
12048
 
  CFLAGS=$FFLAGS
12049
 
  compiler=$CC
12050
 
  compiler_F77=$CC
12051
 
  for cc_temp in $compiler""; do
12052
 
  case $cc_temp in
12053
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12054
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12055
 
    \-*) ;;
12056
 
    *) break;;
12057
 
  esac
12058
 
done
12059
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12060
 
 
12061
 
  GCC=$G77
12062
 
  if test -n "$compiler"; then
12063
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12064
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12065
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12066
 
$as_echo "$can_build_shared" >&6; }
12067
 
 
12068
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12069
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
12070
 
    test "$can_build_shared" = "no" && enable_shared=no
12071
 
 
12072
 
    # On AIX, shared libraries and static libraries use the same namespace, and
12073
 
    # are all built from PIC.
12074
 
    case $host_os in
12075
 
      aix3*)
12076
 
        test "$enable_shared" = yes && enable_static=no
12077
 
        if test -n "$RANLIB"; then
12078
 
          archive_cmds="$archive_cmds~\$RANLIB \$lib"
12079
 
          postinstall_cmds='$RANLIB $lib'
12080
 
        fi
12081
 
        ;;
12082
 
      aix[4-9]*)
12083
 
        if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12084
 
          test "$enable_shared" = yes && enable_static=no
12085
 
        fi
12086
 
        ;;
12087
 
    esac
12088
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12089
 
$as_echo "$enable_shared" >&6; }
12090
 
 
12091
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12092
 
$as_echo_n "checking whether to build static libraries... " >&6; }
12093
 
    # Make sure either enable_shared or enable_static is yes.
12094
 
    test "$enable_shared" = yes || enable_static=yes
12095
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12096
 
$as_echo "$enable_static" >&6; }
12097
 
 
12098
 
    GCC_F77="$G77"
12099
 
    LD_F77="$LD"
12100
 
 
12101
 
    ## CAVEAT EMPTOR:
12102
 
    ## There is no encapsulation within the following macros, do not change
12103
 
    ## the running order or otherwise move them around unless you know exactly
12104
 
    ## what you are doing...
12105
 
    lt_prog_compiler_wl_F77=
12106
 
lt_prog_compiler_pic_F77=
12107
 
lt_prog_compiler_static_F77=
12108
 
 
12109
 
 
12110
 
  if test "$GCC" = yes; then
12111
 
    lt_prog_compiler_wl_F77='-Wl,'
12112
 
    lt_prog_compiler_static_F77='-static'
12113
 
 
12114
 
    case $host_os in
12115
 
      aix*)
12116
 
      # All AIX code is PIC.
12117
 
      if test "$host_cpu" = ia64; then
12118
 
        # AIX 5 now supports IA64 processor
12119
 
        lt_prog_compiler_static_F77='-Bstatic'
12120
 
      fi
12121
 
      ;;
12122
 
 
12123
 
    amigaos*)
12124
 
      case $host_cpu in
12125
 
      powerpc)
12126
 
            # see comment about AmigaOS4 .so support
12127
 
            lt_prog_compiler_pic_F77='-fPIC'
12128
 
        ;;
12129
 
      m68k)
12130
 
            # FIXME: we need at least 68020 code to build shared libraries, but
12131
 
            # adding the `-m68020' flag to GCC prevents building anything better,
12132
 
            # like `-m68040'.
12133
 
            lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12134
 
        ;;
12135
 
      esac
12136
 
      ;;
12137
 
 
12138
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12139
 
      # PIC is the default for these OSes.
12140
 
      ;;
12141
 
 
12142
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
12143
 
      # This hack is so that the source file can tell whether it is being
12144
 
      # built for inclusion in a dll (and should export symbols for example).
12145
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
12146
 
      # (--disable-auto-import) libraries
12147
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12148
 
      ;;
12149
 
 
12150
 
    darwin* | rhapsody*)
12151
 
      # PIC is the default on this platform
12152
 
      # Common symbols not allowed in MH_DYLIB files
12153
 
      lt_prog_compiler_pic_F77='-fno-common'
12154
 
      ;;
12155
 
 
12156
 
    haiku*)
12157
 
      # PIC is the default for Haiku.
12158
 
      # The "-static" flag exists, but is broken.
12159
 
      lt_prog_compiler_static_F77=
12160
 
      ;;
12161
 
 
12162
 
    hpux*)
12163
 
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12164
 
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
12165
 
      # sets the default TLS model and affects inlining.
12166
 
      case $host_cpu in
12167
 
      hppa*64*)
12168
 
        # +Z the default
12169
 
        ;;
12170
 
      *)
12171
 
        lt_prog_compiler_pic_F77='-fPIC'
12172
 
        ;;
12173
 
      esac
12174
 
      ;;
12175
 
 
12176
 
    interix[3-9]*)
12177
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12178
 
      # Instead, we relocate shared libraries at runtime.
12179
 
      ;;
12180
 
 
12181
 
    msdosdjgpp*)
12182
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
12183
 
      # on systems that don't support them.
12184
 
      lt_prog_compiler_can_build_shared_F77=no
12185
 
      enable_shared=no
12186
 
      ;;
12187
 
 
12188
 
    *nto* | *qnx*)
12189
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
12190
 
      # it will coredump.
12191
 
      lt_prog_compiler_pic_F77='-fPIC -shared'
12192
 
      ;;
12193
 
 
12194
 
    sysv4*MP*)
12195
 
      if test -d /usr/nec; then
12196
 
        lt_prog_compiler_pic_F77=-Kconform_pic
12197
 
      fi
12198
 
      ;;
12199
 
 
12200
 
    *)
12201
 
      lt_prog_compiler_pic_F77='-fPIC'
12202
 
      ;;
12203
 
    esac
12204
 
 
12205
 
    case $cc_basename in
12206
 
    nvcc*) # Cuda Compiler Driver 2.2
12207
 
      lt_prog_compiler_wl_F77='-Xlinker '
12208
 
      if test -n "$lt_prog_compiler_pic_F77"; then
12209
 
        lt_prog_compiler_pic_F77="-Xcompiler $lt_prog_compiler_pic_F77"
12210
 
      fi
12211
 
      ;;
12212
 
    esac
12213
 
  else
12214
 
    # PORTME Check for flag to pass linker flags through the system compiler.
12215
 
    case $host_os in
12216
 
    aix*)
12217
 
      lt_prog_compiler_wl_F77='-Wl,'
12218
 
      if test "$host_cpu" = ia64; then
12219
 
        # AIX 5 now supports IA64 processor
12220
 
        lt_prog_compiler_static_F77='-Bstatic'
12221
 
      else
12222
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12223
 
      fi
12224
 
      ;;
12225
 
 
12226
 
    mingw* | cygwin* | pw32* | os2* | cegcc*)
12227
 
      # This hack is so that the source file can tell whether it is being
12228
 
      # built for inclusion in a dll (and should export symbols for example).
12229
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12230
 
      ;;
12231
 
 
12232
 
    hpux9* | hpux10* | hpux11*)
12233
 
      lt_prog_compiler_wl_F77='-Wl,'
12234
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12235
 
      # not for PA HP-UX.
12236
 
      case $host_cpu in
12237
 
      hppa*64*|ia64*)
12238
 
        # +Z the default
12239
 
        ;;
12240
 
      *)
12241
 
        lt_prog_compiler_pic_F77='+Z'
12242
 
        ;;
12243
 
      esac
12244
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
12245
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12246
 
      ;;
12247
 
 
12248
 
    irix5* | irix6* | nonstopux*)
12249
 
      lt_prog_compiler_wl_F77='-Wl,'
12250
 
      # PIC (with -KPIC) is the default.
12251
 
      lt_prog_compiler_static_F77='-non_shared'
12252
 
      ;;
12253
 
 
12254
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
12255
 
      case $cc_basename in
12256
 
      # old Intel for x86_64 which still supported -KPIC.
12257
 
      ecc*)
12258
 
        lt_prog_compiler_wl_F77='-Wl,'
12259
 
        lt_prog_compiler_pic_F77='-KPIC'
12260
 
        lt_prog_compiler_static_F77='-static'
12261
 
        ;;
12262
 
      # icc used to be incompatible with GCC.
12263
 
      # ICC 10 doesn't accept -KPIC any more.
12264
 
      icc* | ifort*)
12265
 
        lt_prog_compiler_wl_F77='-Wl,'
12266
 
        lt_prog_compiler_pic_F77='-fPIC'
12267
 
        lt_prog_compiler_static_F77='-static'
12268
 
        ;;
12269
 
      # Lahey Fortran 8.1.
12270
 
      lf95*)
12271
 
        lt_prog_compiler_wl_F77='-Wl,'
12272
 
        lt_prog_compiler_pic_F77='--shared'
12273
 
        lt_prog_compiler_static_F77='--static'
12274
 
        ;;
12275
 
      nagfor*)
12276
 
        # NAG Fortran compiler
12277
 
        lt_prog_compiler_wl_F77='-Wl,-Wl,,'
12278
 
        lt_prog_compiler_pic_F77='-PIC'
12279
 
        lt_prog_compiler_static_F77='-Bstatic'
12280
 
        ;;
12281
 
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
12282
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
12283
 
        # which looks to be a dead project)
12284
 
        lt_prog_compiler_wl_F77='-Wl,'
12285
 
        lt_prog_compiler_pic_F77='-fpic'
12286
 
        lt_prog_compiler_static_F77='-Bstatic'
12287
 
        ;;
12288
 
      ccc*)
12289
 
        lt_prog_compiler_wl_F77='-Wl,'
12290
 
        # All Alpha code is PIC.
12291
 
        lt_prog_compiler_static_F77='-non_shared'
12292
 
        ;;
12293
 
      xl* | bgxl* | bgf* | mpixl*)
12294
 
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12295
 
        lt_prog_compiler_wl_F77='-Wl,'
12296
 
        lt_prog_compiler_pic_F77='-qpic'
12297
 
        lt_prog_compiler_static_F77='-qstaticlink'
12298
 
        ;;
12299
 
      *)
12300
 
        case `$CC -V 2>&1 | sed 5q` in
12301
 
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
12302
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
12303
 
          lt_prog_compiler_pic_F77='-KPIC'
12304
 
          lt_prog_compiler_static_F77='-Bstatic'
12305
 
          lt_prog_compiler_wl_F77=''
12306
 
          ;;
12307
 
        *Sun\ F* | *Sun*Fortran*)
12308
 
          lt_prog_compiler_pic_F77='-KPIC'
12309
 
          lt_prog_compiler_static_F77='-Bstatic'
12310
 
          lt_prog_compiler_wl_F77='-Qoption ld '
12311
 
          ;;
12312
 
        *Sun\ C*)
12313
 
          # Sun C 5.9
12314
 
          lt_prog_compiler_pic_F77='-KPIC'
12315
 
          lt_prog_compiler_static_F77='-Bstatic'
12316
 
          lt_prog_compiler_wl_F77='-Wl,'
12317
 
          ;;
12318
 
        *Intel*\ [CF]*Compiler*)
12319
 
          lt_prog_compiler_wl_F77='-Wl,'
12320
 
          lt_prog_compiler_pic_F77='-fPIC'
12321
 
          lt_prog_compiler_static_F77='-static'
12322
 
          ;;
12323
 
        *Portland\ Group*)
12324
 
          lt_prog_compiler_wl_F77='-Wl,'
12325
 
          lt_prog_compiler_pic_F77='-fpic'
12326
 
          lt_prog_compiler_static_F77='-Bstatic'
12327
 
          ;;
12328
 
        esac
12329
 
        ;;
12330
 
      esac
12331
 
      ;;
12332
 
 
12333
 
    newsos6)
12334
 
      lt_prog_compiler_pic_F77='-KPIC'
12335
 
      lt_prog_compiler_static_F77='-Bstatic'
12336
 
      ;;
12337
 
 
12338
 
    *nto* | *qnx*)
12339
 
      # QNX uses GNU C++, but need to define -shared option too, otherwise
12340
 
      # it will coredump.
12341
 
      lt_prog_compiler_pic_F77='-fPIC -shared'
12342
 
      ;;
12343
 
 
12344
 
    osf3* | osf4* | osf5*)
12345
 
      lt_prog_compiler_wl_F77='-Wl,'
12346
 
      # All OSF/1 code is PIC.
12347
 
      lt_prog_compiler_static_F77='-non_shared'
12348
 
      ;;
12349
 
 
12350
 
    rdos*)
12351
 
      lt_prog_compiler_static_F77='-non_shared'
12352
 
      ;;
12353
 
 
12354
 
    solaris*)
12355
 
      lt_prog_compiler_pic_F77='-KPIC'
12356
 
      lt_prog_compiler_static_F77='-Bstatic'
12357
 
      case $cc_basename in
12358
 
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
12359
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
12360
 
      *)
12361
 
        lt_prog_compiler_wl_F77='-Wl,';;
12362
 
      esac
12363
 
      ;;
12364
 
 
12365
 
    sunos4*)
12366
 
      lt_prog_compiler_wl_F77='-Qoption ld '
12367
 
      lt_prog_compiler_pic_F77='-PIC'
12368
 
      lt_prog_compiler_static_F77='-Bstatic'
12369
 
      ;;
12370
 
 
12371
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
12372
 
      lt_prog_compiler_wl_F77='-Wl,'
12373
 
      lt_prog_compiler_pic_F77='-KPIC'
12374
 
      lt_prog_compiler_static_F77='-Bstatic'
12375
 
      ;;
12376
 
 
12377
 
    sysv4*MP*)
12378
 
      if test -d /usr/nec ;then
12379
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
12380
 
        lt_prog_compiler_static_F77='-Bstatic'
12381
 
      fi
12382
 
      ;;
12383
 
 
12384
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12385
 
      lt_prog_compiler_wl_F77='-Wl,'
12386
 
      lt_prog_compiler_pic_F77='-KPIC'
12387
 
      lt_prog_compiler_static_F77='-Bstatic'
12388
 
      ;;
12389
 
 
12390
 
    unicos*)
12391
 
      lt_prog_compiler_wl_F77='-Wl,'
12392
 
      lt_prog_compiler_can_build_shared_F77=no
12393
 
      ;;
12394
 
 
12395
 
    uts4*)
12396
 
      lt_prog_compiler_pic_F77='-pic'
12397
 
      lt_prog_compiler_static_F77='-Bstatic'
12398
 
      ;;
12399
 
 
12400
 
    *)
12401
 
      lt_prog_compiler_can_build_shared_F77=no
12402
 
      ;;
12403
 
    esac
12404
 
  fi
12405
 
 
12406
 
case $host_os in
12407
 
  # For platforms which do not support PIC, -DPIC is meaningless:
12408
 
  *djgpp*)
12409
 
    lt_prog_compiler_pic_F77=
12410
 
    ;;
12411
 
  *)
12412
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
12413
 
    ;;
12414
 
esac
12415
 
 
12416
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12417
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12418
 
if ${lt_cv_prog_compiler_pic_F77+:} false; then :
12419
 
  $as_echo_n "(cached) " >&6
12420
 
else
12421
 
  lt_cv_prog_compiler_pic_F77=$lt_prog_compiler_pic_F77
12422
 
fi
12423
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_F77" >&5
12424
 
$as_echo "$lt_cv_prog_compiler_pic_F77" >&6; }
12425
 
lt_prog_compiler_pic_F77=$lt_cv_prog_compiler_pic_F77
12426
 
 
12427
 
#
12428
 
# Check to make sure the PIC flag actually works.
12429
 
#
12430
 
if test -n "$lt_prog_compiler_pic_F77"; then
12431
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
12432
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
12433
 
if ${lt_cv_prog_compiler_pic_works_F77+:} false; then :
12434
 
  $as_echo_n "(cached) " >&6
12435
 
else
12436
 
  lt_cv_prog_compiler_pic_works_F77=no
12437
 
   ac_outfile=conftest.$ac_objext
12438
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12439
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
12440
 
   # Insert the option either (1) after the last *FLAGS variable, or
12441
 
   # (2) before a word containing "conftest.", or (3) at the end.
12442
 
   # Note that $ac_compile itself does not contain backslashes and begins
12443
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12444
 
   # The option is referenced via a variable to avoid confusing sed.
12445
 
   lt_compile=`echo "$ac_compile" | $SED \
12446
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12447
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12448
 
   -e 's:$: $lt_compiler_flag:'`
12449
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12450
 
   (eval "$lt_compile" 2>conftest.err)
12451
 
   ac_status=$?
12452
 
   cat conftest.err >&5
12453
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
12455
 
     # The compiler can only warn and ignore the option if not recognized
12456
 
     # So say no if there are warnings other than the usual output.
12457
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
12458
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12459
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12460
 
       lt_cv_prog_compiler_pic_works_F77=yes
12461
 
     fi
12462
 
   fi
12463
 
   $RM conftest*
12464
 
 
12465
 
fi
12466
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_F77" >&5
12467
 
$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
12468
 
 
12469
 
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
12470
 
    case $lt_prog_compiler_pic_F77 in
12471
 
     "" | " "*) ;;
12472
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
12473
 
     esac
12474
 
else
12475
 
    lt_prog_compiler_pic_F77=
12476
 
     lt_prog_compiler_can_build_shared_F77=no
12477
 
fi
12478
 
 
12479
 
fi
12480
 
 
12481
 
 
12482
 
 
12483
 
 
12484
 
 
12485
 
#
12486
 
# Check to make sure the static flag actually works.
12487
 
#
12488
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
12489
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12490
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12491
 
if ${lt_cv_prog_compiler_static_works_F77+:} false; then :
12492
 
  $as_echo_n "(cached) " >&6
12493
 
else
12494
 
  lt_cv_prog_compiler_static_works_F77=no
12495
 
   save_LDFLAGS="$LDFLAGS"
12496
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12497
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
12498
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12499
 
     # The linker can only warn and ignore the option if not recognized
12500
 
     # So say no if there are warnings
12501
 
     if test -s conftest.err; then
12502
 
       # Append any errors to the config.log.
12503
 
       cat conftest.err 1>&5
12504
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12505
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12506
 
       if diff conftest.exp conftest.er2 >/dev/null; then
12507
 
         lt_cv_prog_compiler_static_works_F77=yes
12508
 
       fi
12509
 
     else
12510
 
       lt_cv_prog_compiler_static_works_F77=yes
12511
 
     fi
12512
 
   fi
12513
 
   $RM -r conftest*
12514
 
   LDFLAGS="$save_LDFLAGS"
12515
 
 
12516
 
fi
12517
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_F77" >&5
12518
 
$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
12519
 
 
12520
 
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
12521
 
    :
12522
 
else
12523
 
    lt_prog_compiler_static_F77=
12524
 
fi
12525
 
 
12526
 
 
12527
 
 
12528
 
 
12529
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12530
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12531
 
if ${lt_cv_prog_compiler_c_o_F77+:} false; then :
12532
 
  $as_echo_n "(cached) " >&6
12533
 
else
12534
 
  lt_cv_prog_compiler_c_o_F77=no
12535
 
   $RM -r conftest 2>/dev/null
12536
 
   mkdir conftest
12537
 
   cd conftest
12538
 
   mkdir out
12539
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12540
 
 
12541
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12542
 
   # Insert the option either (1) after the last *FLAGS variable, or
12543
 
   # (2) before a word containing "conftest.", or (3) at the end.
12544
 
   # Note that $ac_compile itself does not contain backslashes and begins
12545
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12546
 
   lt_compile=`echo "$ac_compile" | $SED \
12547
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12548
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12549
 
   -e 's:$: $lt_compiler_flag:'`
12550
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12551
 
   (eval "$lt_compile" 2>out/conftest.err)
12552
 
   ac_status=$?
12553
 
   cat out/conftest.err >&5
12554
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12556
 
   then
12557
 
     # The compiler can only warn and ignore the option if not recognized
12558
 
     # So say no if there are warnings
12559
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12560
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12561
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12562
 
       lt_cv_prog_compiler_c_o_F77=yes
12563
 
     fi
12564
 
   fi
12565
 
   chmod u+w . 2>&5
12566
 
   $RM conftest*
12567
 
   # SGI C++ compiler will create directory out/ii_files/ for
12568
 
   # template instantiation
12569
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12570
 
   $RM out/* && rmdir out
12571
 
   cd ..
12572
 
   $RM -r conftest
12573
 
   $RM conftest*
12574
 
 
12575
 
fi
12576
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
12577
 
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
12578
 
 
12579
 
 
12580
 
 
12581
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12582
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12583
 
if ${lt_cv_prog_compiler_c_o_F77+:} false; then :
12584
 
  $as_echo_n "(cached) " >&6
12585
 
else
12586
 
  lt_cv_prog_compiler_c_o_F77=no
12587
 
   $RM -r conftest 2>/dev/null
12588
 
   mkdir conftest
12589
 
   cd conftest
12590
 
   mkdir out
12591
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12592
 
 
12593
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12594
 
   # Insert the option either (1) after the last *FLAGS variable, or
12595
 
   # (2) before a word containing "conftest.", or (3) at the end.
12596
 
   # Note that $ac_compile itself does not contain backslashes and begins
12597
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12598
 
   lt_compile=`echo "$ac_compile" | $SED \
12599
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12600
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12601
 
   -e 's:$: $lt_compiler_flag:'`
12602
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12603
 
   (eval "$lt_compile" 2>out/conftest.err)
12604
 
   ac_status=$?
12605
 
   cat out/conftest.err >&5
12606
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12608
 
   then
12609
 
     # The compiler can only warn and ignore the option if not recognized
12610
 
     # So say no if there are warnings
12611
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12612
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12613
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12614
 
       lt_cv_prog_compiler_c_o_F77=yes
12615
 
     fi
12616
 
   fi
12617
 
   chmod u+w . 2>&5
12618
 
   $RM conftest*
12619
 
   # SGI C++ compiler will create directory out/ii_files/ for
12620
 
   # template instantiation
12621
 
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12622
 
   $RM out/* && rmdir out
12623
 
   cd ..
12624
 
   $RM -r conftest
12625
 
   $RM conftest*
12626
 
 
12627
 
fi
12628
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
12629
 
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
12630
 
 
12631
 
 
12632
 
 
12633
 
 
12634
 
hard_links="nottested"
12635
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
12636
 
  # do not overwrite the value of need_locks provided by the user
12637
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12638
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
12639
 
  hard_links=yes
12640
 
  $RM conftest*
12641
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12642
 
  touch conftest.a
12643
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
12644
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12645
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12646
 
$as_echo "$hard_links" >&6; }
12647
 
  if test "$hard_links" = no; then
12648
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12649
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12650
 
    need_locks=warn
12651
 
  fi
12652
 
else
12653
 
  need_locks=no
12654
 
fi
12655
 
 
12656
 
 
12657
 
 
12658
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12659
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12660
 
 
12661
 
  runpath_var=
12662
 
  allow_undefined_flag_F77=
12663
 
  always_export_symbols_F77=no
12664
 
  archive_cmds_F77=
12665
 
  archive_expsym_cmds_F77=
12666
 
  compiler_needs_object_F77=no
12667
 
  enable_shared_with_static_runtimes_F77=no
12668
 
  export_dynamic_flag_spec_F77=
12669
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12670
 
  hardcode_automatic_F77=no
12671
 
  hardcode_direct_F77=no
12672
 
  hardcode_direct_absolute_F77=no
12673
 
  hardcode_libdir_flag_spec_F77=
12674
 
  hardcode_libdir_separator_F77=
12675
 
  hardcode_minus_L_F77=no
12676
 
  hardcode_shlibpath_var_F77=unsupported
12677
 
  inherit_rpath_F77=no
12678
 
  link_all_deplibs_F77=unknown
12679
 
  module_cmds_F77=
12680
 
  module_expsym_cmds_F77=
12681
 
  old_archive_from_new_cmds_F77=
12682
 
  old_archive_from_expsyms_cmds_F77=
12683
 
  thread_safe_flag_spec_F77=
12684
 
  whole_archive_flag_spec_F77=
12685
 
  # include_expsyms should be a list of space-separated symbols to be *always*
12686
 
  # included in the symbol list
12687
 
  include_expsyms_F77=
12688
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
12689
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
12690
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12691
 
  # as well as any symbol that contains `d'.
12692
 
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12693
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12694
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
12695
 
  # the symbol is explicitly referenced.  Since portable code cannot
12696
 
  # rely on this symbol name, it's probably fine to never include it in
12697
 
  # preloaded symbol tables.
12698
 
  # Exclude shared library initialization/finalization symbols.
12699
 
  extract_expsyms_cmds=
12700
 
 
12701
 
  case $host_os in
12702
 
  cygwin* | mingw* | pw32* | cegcc*)
12703
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
12704
 
    # When not using gcc, we currently assume that we are using
12705
 
    # Microsoft Visual C++.
12706
 
    if test "$GCC" != yes; then
12707
 
      with_gnu_ld=no
12708
 
    fi
12709
 
    ;;
12710
 
  interix*)
12711
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
12712
 
    with_gnu_ld=yes
12713
 
    ;;
12714
 
  openbsd*)
12715
 
    with_gnu_ld=no
12716
 
    ;;
12717
 
  esac
12718
 
 
12719
 
  ld_shlibs_F77=yes
12720
 
 
12721
 
  # On some targets, GNU ld is compatible enough with the native linker
12722
 
  # that we're better off using the native interface for both.
12723
 
  lt_use_gnu_ld_interface=no
12724
 
  if test "$with_gnu_ld" = yes; then
12725
 
    case $host_os in
12726
 
      aix*)
12727
 
        # The AIX port of GNU ld has always aspired to compatibility
12728
 
        # with the native linker.  However, as the warning in the GNU ld
12729
 
        # block says, versions before 2.19.5* couldn't really create working
12730
 
        # shared libraries, regardless of the interface used.
12731
 
        case `$LD -v 2>&1` in
12732
 
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12733
 
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12734
 
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12735
 
          *)
12736
 
            lt_use_gnu_ld_interface=yes
12737
 
            ;;
12738
 
        esac
12739
 
        ;;
12740
 
      *)
12741
 
        lt_use_gnu_ld_interface=yes
12742
 
        ;;
12743
 
    esac
12744
 
  fi
12745
 
 
12746
 
  if test "$lt_use_gnu_ld_interface" = yes; then
12747
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
12748
 
    wlarc='${wl}'
12749
 
 
12750
 
    # Set some defaults for GNU ld with shared library support. These
12751
 
    # are reset later if shared libraries are not supported. Putting them
12752
 
    # here allows them to be overridden if necessary.
12753
 
    runpath_var=LD_RUN_PATH
12754
 
    hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
12755
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
12756
 
    # ancient GNU ld didn't support --whole-archive et. al.
12757
 
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12758
 
      whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12759
 
    else
12760
 
      whole_archive_flag_spec_F77=
12761
 
    fi
12762
 
    supports_anon_versioning=no
12763
 
    case `$LD -v 2>&1` in
12764
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
12765
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12766
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12767
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12768
 
      *\ 2.11.*) ;; # other 2.11 versions
12769
 
      *) supports_anon_versioning=yes ;;
12770
 
    esac
12771
 
 
12772
 
    # See if GNU ld supports shared libraries.
12773
 
    case $host_os in
12774
 
    aix[3-9]*)
12775
 
      # On AIX/PPC, the GNU linker is very broken
12776
 
      if test "$host_cpu" != ia64; then
12777
 
        ld_shlibs_F77=no
12778
 
        cat <<_LT_EOF 1>&2
12779
 
 
12780
 
*** Warning: the GNU linker, at least up to release 2.19, is reported
12781
 
*** to be unable to reliably create shared libraries on AIX.
12782
 
*** Therefore, libtool is disabling shared libraries support.  If you
12783
 
*** really care for shared libraries, you may want to install binutils
12784
 
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12785
 
*** You will then need to restart the configuration process.
12786
 
 
12787
 
_LT_EOF
12788
 
      fi
12789
 
      ;;
12790
 
 
12791
 
    amigaos*)
12792
 
      case $host_cpu in
12793
 
      powerpc)
12794
 
            # see comment about AmigaOS4 .so support
12795
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12796
 
            archive_expsym_cmds_F77=''
12797
 
        ;;
12798
 
      m68k)
12799
 
            archive_cmds_F77='$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)'
12800
 
            hardcode_libdir_flag_spec_F77='-L$libdir'
12801
 
            hardcode_minus_L_F77=yes
12802
 
        ;;
12803
 
      esac
12804
 
      ;;
12805
 
 
12806
 
    beos*)
12807
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12808
 
        allow_undefined_flag_F77=unsupported
12809
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12810
 
        # support --undefined.  This deserves some investigation.  FIXME
12811
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12812
 
      else
12813
 
        ld_shlibs_F77=no
12814
 
      fi
12815
 
      ;;
12816
 
 
12817
 
    cygwin* | mingw* | pw32* | cegcc*)
12818
 
      # _LT_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
12819
 
      # as there is no search path for DLLs.
12820
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
12821
 
      export_dynamic_flag_spec_F77='${wl}--export-all-symbols'
12822
 
      allow_undefined_flag_F77=unsupported
12823
 
      always_export_symbols_F77=no
12824
 
      enable_shared_with_static_runtimes_F77=yes
12825
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
12826
 
      exclude_expsyms_F77='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
12827
 
 
12828
 
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12829
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12830
 
        # If the export-symbols file already is a .def file (1st line
12831
 
        # is EXPORTS), use it as is; otherwise, prepend...
12832
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12833
 
          cp $export_symbols $output_objdir/$soname.def;
12834
 
        else
12835
 
          echo EXPORTS > $output_objdir/$soname.def;
12836
 
          cat $export_symbols >> $output_objdir/$soname.def;
12837
 
        fi~
12838
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12839
 
      else
12840
 
        ld_shlibs_F77=no
12841
 
      fi
12842
 
      ;;
12843
 
 
12844
 
    haiku*)
12845
 
      archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12846
 
      link_all_deplibs_F77=yes
12847
 
      ;;
12848
 
 
12849
 
    interix[3-9]*)
12850
 
      hardcode_direct_F77=no
12851
 
      hardcode_shlibpath_var_F77=no
12852
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
12853
 
      export_dynamic_flag_spec_F77='${wl}-E'
12854
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12855
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
12856
 
      # default) and relocated if they conflict, which is a slow very memory
12857
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
12858
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12859
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12860
 
      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12861
 
      archive_expsym_cmds_F77='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'
12862
 
      ;;
12863
 
 
12864
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12865
 
      tmp_diet=no
12866
 
      if test "$host_os" = linux-dietlibc; then
12867
 
        case $cc_basename in
12868
 
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
12869
 
        esac
12870
 
      fi
12871
 
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12872
 
         && test "$tmp_diet" = no
12873
 
      then
12874
 
        tmp_addflag=' $pic_flag'
12875
 
        tmp_sharedflag='-shared'
12876
 
        case $cc_basename,$host_cpu in
12877
 
        pgcc*)                          # Portland Group C compiler
12878
 
          whole_archive_flag_spec_F77='${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'
12879
 
          tmp_addflag=' $pic_flag'
12880
 
          ;;
12881
 
        pgf77* | pgf90* | pgf95* | pgfortran*)
12882
 
                                        # Portland Group f77 and f90 compilers
12883
 
          whole_archive_flag_spec_F77='${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'
12884
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
12885
 
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
12886
 
          tmp_addflag=' -i_dynamic' ;;
12887
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
12888
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
12889
 
        ifc* | ifort*)                  # Intel Fortran compiler
12890
 
          tmp_addflag=' -nofor_main' ;;
12891
 
        lf95*)                          # Lahey Fortran 8.1
12892
 
          whole_archive_flag_spec_F77=
12893
 
          tmp_sharedflag='--shared' ;;
12894
 
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12895
 
          tmp_sharedflag='-qmkshrobj'
12896
 
          tmp_addflag= ;;
12897
 
        nvcc*)  # Cuda Compiler Driver 2.2
12898
 
          whole_archive_flag_spec_F77='${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'
12899
 
          compiler_needs_object_F77=yes
12900
 
          ;;
12901
 
        esac
12902
 
        case `$CC -V 2>&1 | sed 5q` in
12903
 
        *Sun\ C*)                       # Sun C 5.9
12904
 
          whole_archive_flag_spec_F77='${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'
12905
 
          compiler_needs_object_F77=yes
12906
 
          tmp_sharedflag='-G' ;;
12907
 
        *Sun\ F*)                       # Sun Fortran 8.3
12908
 
          tmp_sharedflag='-G' ;;
12909
 
        esac
12910
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12911
 
 
12912
 
        if test "x$supports_anon_versioning" = xyes; then
12913
 
          archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~
12914
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12915
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
12916
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12917
 
        fi
12918
 
 
12919
 
        case $cc_basename in
12920
 
        xlf* | bgf* | bgxlf* | mpixlf*)
12921
 
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12922
 
          whole_archive_flag_spec_F77='--whole-archive$convenience --no-whole-archive'
12923
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
12924
 
          archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12925
 
          if test "x$supports_anon_versioning" = xyes; then
12926
 
            archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~
12927
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12928
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
12929
 
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12930
 
          fi
12931
 
          ;;
12932
 
        esac
12933
 
      else
12934
 
        ld_shlibs_F77=no
12935
 
      fi
12936
 
      ;;
12937
 
 
12938
 
    netbsd*)
12939
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12940
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12941
 
        wlarc=
12942
 
      else
12943
 
        archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12944
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12945
 
      fi
12946
 
      ;;
12947
 
 
12948
 
    solaris*)
12949
 
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12950
 
        ld_shlibs_F77=no
12951
 
        cat <<_LT_EOF 1>&2
12952
 
 
12953
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
12954
 
*** create shared libraries on Solaris systems.  Therefore, libtool
12955
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
12956
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
12957
 
*** your PATH or compiler configuration so that the native linker is
12958
 
*** used, and then restart.
12959
 
 
12960
 
_LT_EOF
12961
 
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12962
 
        archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12963
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12964
 
      else
12965
 
        ld_shlibs_F77=no
12966
 
      fi
12967
 
      ;;
12968
 
 
12969
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12970
 
      case `$LD -v 2>&1` in
12971
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12972
 
        ld_shlibs_F77=no
12973
 
        cat <<_LT_EOF 1>&2
12974
 
 
12975
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12976
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
12977
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
12978
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
12979
 
*** your PATH or compiler configuration so that the native linker is
12980
 
*** used, and then restart.
12981
 
 
12982
 
_LT_EOF
12983
 
        ;;
12984
 
        *)
12985
 
          # For security reasons, it is highly recommended that you always
12986
 
          # use absolute paths for naming shared libraries, and exclude the
12987
 
          # DT_RUNPATH tag from executables and libraries.  But doing so
12988
 
          # requires that you compile everything twice, which is a pain.
12989
 
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12990
 
            hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
12991
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12992
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12993
 
          else
12994
 
            ld_shlibs_F77=no
12995
 
          fi
12996
 
        ;;
12997
 
      esac
12998
 
      ;;
12999
 
 
13000
 
    sunos4*)
13001
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13002
 
      wlarc=
13003
 
      hardcode_direct_F77=yes
13004
 
      hardcode_shlibpath_var_F77=no
13005
 
      ;;
13006
 
 
13007
 
    *)
13008
 
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13009
 
        archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13010
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13011
 
      else
13012
 
        ld_shlibs_F77=no
13013
 
      fi
13014
 
      ;;
13015
 
    esac
13016
 
 
13017
 
    if test "$ld_shlibs_F77" = no; then
13018
 
      runpath_var=
13019
 
      hardcode_libdir_flag_spec_F77=
13020
 
      export_dynamic_flag_spec_F77=
13021
 
      whole_archive_flag_spec_F77=
13022
 
    fi
13023
 
  else
13024
 
    # PORTME fill in a description of your system's linker (not GNU ld)
13025
 
    case $host_os in
13026
 
    aix3*)
13027
 
      allow_undefined_flag_F77=unsupported
13028
 
      always_export_symbols_F77=yes
13029
 
      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
13030
 
      # Note: this linker hardcodes the directories in LIBPATH if there
13031
 
      # are no directories specified by -L.
13032
 
      hardcode_minus_L_F77=yes
13033
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13034
 
        # Neither direct hardcoding nor static linking is supported with a
13035
 
        # broken collect2.
13036
 
        hardcode_direct_F77=unsupported
13037
 
      fi
13038
 
      ;;
13039
 
 
13040
 
    aix[4-9]*)
13041
 
      if test "$host_cpu" = ia64; then
13042
 
        # On IA64, the linker does run time linking by default, so we don't
13043
 
        # have to do anything special.
13044
 
        aix_use_runtimelinking=no
13045
 
        exp_sym_flag='-Bexport'
13046
 
        no_entry_flag=""
13047
 
      else
13048
 
        # If we're using GNU nm, then we don't want the "-C" option.
13049
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
13050
 
        # Also, AIX nm treats weak defined symbols like other global
13051
 
        # defined symbols, whereas GNU nm marks them as "W".
13052
 
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13053
 
          export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13054
 
        else
13055
 
          export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13056
 
        fi
13057
 
        aix_use_runtimelinking=no
13058
 
 
13059
 
        # Test if we are trying to use run time linking or normal
13060
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13061
 
        # need to do runtime linking.
13062
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13063
 
          for ld_flag in $LDFLAGS; do
13064
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13065
 
            aix_use_runtimelinking=yes
13066
 
            break
13067
 
          fi
13068
 
          done
13069
 
          ;;
13070
 
        esac
13071
 
 
13072
 
        exp_sym_flag='-bexport'
13073
 
        no_entry_flag='-bnoentry'
13074
 
      fi
13075
 
 
13076
 
      # When large executables or shared objects are built, AIX ld can
13077
 
      # have problems creating the table of contents.  If linking a library
13078
 
      # or program results in "error TOC overflow" add -mminimal-toc to
13079
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13080
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13081
 
 
13082
 
      archive_cmds_F77=''
13083
 
      hardcode_direct_F77=yes
13084
 
      hardcode_direct_absolute_F77=yes
13085
 
      hardcode_libdir_separator_F77=':'
13086
 
      link_all_deplibs_F77=yes
13087
 
      file_list_spec_F77='${wl}-f,'
13088
 
 
13089
 
      if test "$GCC" = yes; then
13090
 
        case $host_os in aix4.[012]|aix4.[012].*)
13091
 
        # We only want to do this on AIX 4.2 and lower, the check
13092
 
        # below for broken collect2 doesn't work under 4.3+
13093
 
          collect2name=`${CC} -print-prog-name=collect2`
13094
 
          if test -f "$collect2name" &&
13095
 
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13096
 
          then
13097
 
          # We have reworked collect2
13098
 
          :
13099
 
          else
13100
 
          # We have old collect2
13101
 
          hardcode_direct_F77=unsupported
13102
 
          # It fails to find uninstalled libraries when the uninstalled
13103
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
13104
 
          # to unsupported forces relinking
13105
 
          hardcode_minus_L_F77=yes
13106
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
13107
 
          hardcode_libdir_separator_F77=
13108
 
          fi
13109
 
          ;;
13110
 
        esac
13111
 
        shared_flag='-shared'
13112
 
        if test "$aix_use_runtimelinking" = yes; then
13113
 
          shared_flag="$shared_flag "'${wl}-G'
13114
 
        fi
13115
 
      else
13116
 
        # not using gcc
13117
 
        if test "$host_cpu" = ia64; then
13118
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13119
 
        # chokes on -Wl,-G. The following line is correct:
13120
 
          shared_flag='-G'
13121
 
        else
13122
 
          if test "$aix_use_runtimelinking" = yes; then
13123
 
            shared_flag='${wl}-G'
13124
 
          else
13125
 
            shared_flag='${wl}-bM:SRE'
13126
 
          fi
13127
 
        fi
13128
 
      fi
13129
 
 
13130
 
      export_dynamic_flag_spec_F77='${wl}-bexpall'
13131
 
      # It seems that -bexpall does not export symbols beginning with
13132
 
      # underscore (_), so it is better to generate a list of symbols to export.
13133
 
      always_export_symbols_F77=yes
13134
 
      if test "$aix_use_runtimelinking" = yes; then
13135
 
        # Warning - without using the other runtime loading flags (-brtl),
13136
 
        # -berok will link without error, but may produce a broken library.
13137
 
        allow_undefined_flag_F77='-berok'
13138
 
        # Determine the default libpath from the value encoded in an
13139
 
        # empty executable.
13140
 
        if test "${lt_cv_aix_libpath+set}" = set; then
13141
 
  aix_libpath=$lt_cv_aix_libpath
13142
 
else
13143
 
  if ${lt_cv_aix_libpath__F77+:} false; then :
13144
 
  $as_echo_n "(cached) " >&6
13145
 
else
13146
 
  cat > conftest.$ac_ext <<_ACEOF
13147
 
      program main
13148
 
 
13149
 
      end
13150
 
_ACEOF
13151
 
if ac_fn_f77_try_link "$LINENO"; then :
13152
 
 
13153
 
  lt_aix_libpath_sed='
13154
 
      /Import File Strings/,/^$/ {
13155
 
          /^0/ {
13156
 
              s/^0  *\([^ ]*\) *$/\1/
13157
 
              p
13158
 
          }
13159
 
      }'
13160
 
  lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13161
 
  # Check for a 64-bit object if we didn't find anything.
13162
 
  if test -z "$lt_cv_aix_libpath__F77"; then
13163
 
    lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13164
 
  fi
13165
 
fi
13166
 
rm -f core conftest.err conftest.$ac_objext \
13167
 
    conftest$ac_exeext conftest.$ac_ext
13168
 
  if test -z "$lt_cv_aix_libpath__F77"; then
13169
 
    lt_cv_aix_libpath__F77="/usr/lib:/lib"
13170
 
  fi
13171
 
 
13172
 
fi
13173
 
 
13174
 
  aix_libpath=$lt_cv_aix_libpath__F77
13175
 
fi
13176
 
 
13177
 
        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13178
 
        archive_expsym_cmds_F77='$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"
13179
 
      else
13180
 
        if test "$host_cpu" = ia64; then
13181
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13182
 
          allow_undefined_flag_F77="-z nodefs"
13183
 
          archive_expsym_cmds_F77="\$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"
13184
 
        else
13185
 
         # Determine the default libpath from the value encoded in an
13186
 
         # empty executable.
13187
 
         if test "${lt_cv_aix_libpath+set}" = set; then
13188
 
  aix_libpath=$lt_cv_aix_libpath
13189
 
else
13190
 
  if ${lt_cv_aix_libpath__F77+:} false; then :
13191
 
  $as_echo_n "(cached) " >&6
13192
 
else
13193
 
  cat > conftest.$ac_ext <<_ACEOF
13194
 
      program main
13195
 
 
13196
 
      end
13197
 
_ACEOF
13198
 
if ac_fn_f77_try_link "$LINENO"; then :
13199
 
 
13200
 
  lt_aix_libpath_sed='
13201
 
      /Import File Strings/,/^$/ {
13202
 
          /^0/ {
13203
 
              s/^0  *\([^ ]*\) *$/\1/
13204
 
              p
13205
 
          }
13206
 
      }'
13207
 
  lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13208
 
  # Check for a 64-bit object if we didn't find anything.
13209
 
  if test -z "$lt_cv_aix_libpath__F77"; then
13210
 
    lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13211
 
  fi
13212
 
fi
13213
 
rm -f core conftest.err conftest.$ac_objext \
13214
 
    conftest$ac_exeext conftest.$ac_ext
13215
 
  if test -z "$lt_cv_aix_libpath__F77"; then
13216
 
    lt_cv_aix_libpath__F77="/usr/lib:/lib"
13217
 
  fi
13218
 
 
13219
 
fi
13220
 
 
13221
 
  aix_libpath=$lt_cv_aix_libpath__F77
13222
 
fi
13223
 
 
13224
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13225
 
          # Warning - without using the other run time loading flags,
13226
 
          # -berok will link without error, but may produce a broken library.
13227
 
          no_undefined_flag_F77=' ${wl}-bernotok'
13228
 
          allow_undefined_flag_F77=' ${wl}-berok'
13229
 
          if test "$with_gnu_ld" = yes; then
13230
 
            # We only use this code for GNU lds that support --whole-archive.
13231
 
            whole_archive_flag_spec_F77='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13232
 
          else
13233
 
            # Exported symbols can be pulled into shared objects from archives
13234
 
            whole_archive_flag_spec_F77='$convenience'
13235
 
          fi
13236
 
          archive_cmds_need_lc_F77=yes
13237
 
          # This is similar to how AIX traditionally builds its shared libraries.
13238
 
          archive_expsym_cmds_F77="\$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'
13239
 
        fi
13240
 
      fi
13241
 
      ;;
13242
 
 
13243
 
    amigaos*)
13244
 
      case $host_cpu in
13245
 
      powerpc)
13246
 
            # see comment about AmigaOS4 .so support
13247
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13248
 
            archive_expsym_cmds_F77=''
13249
 
        ;;
13250
 
      m68k)
13251
 
            archive_cmds_F77='$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)'
13252
 
            hardcode_libdir_flag_spec_F77='-L$libdir'
13253
 
            hardcode_minus_L_F77=yes
13254
 
        ;;
13255
 
      esac
13256
 
      ;;
13257
 
 
13258
 
    bsdi[45]*)
13259
 
      export_dynamic_flag_spec_F77=-rdynamic
13260
 
      ;;
13261
 
 
13262
 
    cygwin* | mingw* | pw32* | cegcc*)
13263
 
      # When not using gcc, we currently assume that we are using
13264
 
      # Microsoft Visual C++.
13265
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
13266
 
      # no search path for DLLs.
13267
 
      case $cc_basename in
13268
 
      cl*)
13269
 
        # Native MSVC
13270
 
        hardcode_libdir_flag_spec_F77=' '
13271
 
        allow_undefined_flag_F77=unsupported
13272
 
        always_export_symbols_F77=yes
13273
 
        file_list_spec_F77='@'
13274
 
        # Tell ltmain to make .lib files, not .a files.
13275
 
        libext=lib
13276
 
        # Tell ltmain to make .dll files, not .so files.
13277
 
        shrext_cmds=".dll"
13278
 
        # FIXME: Setting linknames here is a bad hack.
13279
 
        archive_cmds_F77='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13280
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13281
 
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13282
 
          else
13283
 
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13284
 
          fi~
13285
 
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13286
 
          linknames='
13287
 
        # The linker will not automatically build a static lib if we build a DLL.
13288
 
        # _LT_TAGVAR(old_archive_from_new_cmds, F77)='true'
13289
 
        enable_shared_with_static_runtimes_F77=yes
13290
 
        exclude_expsyms_F77='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
13291
 
        export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13292
 
        # Don't use ranlib
13293
 
        old_postinstall_cmds_F77='chmod 644 $oldlib'
13294
 
        postlink_cmds_F77='lt_outputfile="@OUTPUT@"~
13295
 
          lt_tool_outputfile="@TOOL_OUTPUT@"~
13296
 
          case $lt_outputfile in
13297
 
            *.exe|*.EXE) ;;
13298
 
            *)
13299
 
              lt_outputfile="$lt_outputfile.exe"
13300
 
              lt_tool_outputfile="$lt_tool_outputfile.exe"
13301
 
              ;;
13302
 
          esac~
13303
 
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13304
 
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13305
 
            $RM "$lt_outputfile.manifest";
13306
 
          fi'
13307
 
        ;;
13308
 
      *)
13309
 
        # Assume MSVC wrapper
13310
 
        hardcode_libdir_flag_spec_F77=' '
13311
 
        allow_undefined_flag_F77=unsupported
13312
 
        # Tell ltmain to make .lib files, not .a files.
13313
 
        libext=lib
13314
 
        # Tell ltmain to make .dll files, not .so files.
13315
 
        shrext_cmds=".dll"
13316
 
        # FIXME: Setting linknames here is a bad hack.
13317
 
        archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13318
 
        # The linker will automatically build a .lib file if we build a DLL.
13319
 
        old_archive_from_new_cmds_F77='true'
13320
 
        # FIXME: Should let the user specify the lib program.
13321
 
        old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
13322
 
        enable_shared_with_static_runtimes_F77=yes
13323
 
        ;;
13324
 
      esac
13325
 
      ;;
13326
 
 
13327
 
    darwin* | rhapsody*)
13328
 
 
13329
 
 
13330
 
  archive_cmds_need_lc_F77=no
13331
 
  hardcode_direct_F77=no
13332
 
  hardcode_automatic_F77=yes
13333
 
  hardcode_shlibpath_var_F77=unsupported
13334
 
  if test "$lt_cv_ld_force_load" = "yes"; then
13335
 
    whole_archive_flag_spec_F77='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13336
 
    compiler_needs_object_F77=yes
13337
 
  else
13338
 
    whole_archive_flag_spec_F77=''
13339
 
  fi
13340
 
  link_all_deplibs_F77=yes
13341
 
  allow_undefined_flag_F77="$_lt_dar_allow_undefined"
13342
 
  case $cc_basename in
13343
 
     ifort*) _lt_dar_can_shared=yes ;;
13344
 
     *) _lt_dar_can_shared=$GCC ;;
13345
 
  esac
13346
 
  if test "$_lt_dar_can_shared" = "yes"; then
13347
 
    output_verbose_link_cmd=func_echo_all
13348
 
    archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13349
 
    module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13350
 
    archive_expsym_cmds_F77="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}"
13351
 
    module_expsym_cmds_F77="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}"
13352
 
 
13353
 
  else
13354
 
  ld_shlibs_F77=no
13355
 
  fi
13356
 
 
13357
 
      ;;
13358
 
 
13359
 
    dgux*)
13360
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13361
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
13362
 
      hardcode_shlibpath_var_F77=no
13363
 
      ;;
13364
 
 
13365
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13366
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
13367
 
    # does not break anything, and helps significantly (at the cost of a little
13368
 
    # extra space).
13369
 
    freebsd2.2*)
13370
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13371
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
13372
 
      hardcode_direct_F77=yes
13373
 
      hardcode_shlibpath_var_F77=no
13374
 
      ;;
13375
 
 
13376
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13377
 
    freebsd2.*)
13378
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13379
 
      hardcode_direct_F77=yes
13380
 
      hardcode_minus_L_F77=yes
13381
 
      hardcode_shlibpath_var_F77=no
13382
 
      ;;
13383
 
 
13384
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13385
 
    freebsd* | dragonfly*)
13386
 
      archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13387
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
13388
 
      hardcode_direct_F77=yes
13389
 
      hardcode_shlibpath_var_F77=no
13390
 
      ;;
13391
 
 
13392
 
    hpux9*)
13393
 
      if test "$GCC" = yes; then
13394
 
        archive_cmds_F77='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13395
 
      else
13396
 
        archive_cmds_F77='$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'
13397
 
      fi
13398
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13399
 
      hardcode_libdir_separator_F77=:
13400
 
      hardcode_direct_F77=yes
13401
 
 
13402
 
      # hardcode_minus_L: Not really in the search PATH,
13403
 
      # but as the default location of the library.
13404
 
      hardcode_minus_L_F77=yes
13405
 
      export_dynamic_flag_spec_F77='${wl}-E'
13406
 
      ;;
13407
 
 
13408
 
    hpux10*)
13409
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13410
 
        archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13411
 
      else
13412
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13413
 
      fi
13414
 
      if test "$with_gnu_ld" = no; then
13415
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13416
 
        hardcode_libdir_separator_F77=:
13417
 
        hardcode_direct_F77=yes
13418
 
        hardcode_direct_absolute_F77=yes
13419
 
        export_dynamic_flag_spec_F77='${wl}-E'
13420
 
        # hardcode_minus_L: Not really in the search PATH,
13421
 
        # but as the default location of the library.
13422
 
        hardcode_minus_L_F77=yes
13423
 
      fi
13424
 
      ;;
13425
 
 
13426
 
    hpux11*)
13427
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13428
 
        case $host_cpu in
13429
 
        hppa*64*)
13430
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13431
 
          ;;
13432
 
        ia64*)
13433
 
          archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13434
 
          ;;
13435
 
        *)
13436
 
          archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13437
 
          ;;
13438
 
        esac
13439
 
      else
13440
 
        case $host_cpu in
13441
 
        hppa*64*)
13442
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13443
 
          ;;
13444
 
        ia64*)
13445
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13446
 
          ;;
13447
 
        *)
13448
 
        archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13449
 
          ;;
13450
 
        esac
13451
 
      fi
13452
 
      if test "$with_gnu_ld" = no; then
13453
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13454
 
        hardcode_libdir_separator_F77=:
13455
 
 
13456
 
        case $host_cpu in
13457
 
        hppa*64*|ia64*)
13458
 
          hardcode_direct_F77=no
13459
 
          hardcode_shlibpath_var_F77=no
13460
 
          ;;
13461
 
        *)
13462
 
          hardcode_direct_F77=yes
13463
 
          hardcode_direct_absolute_F77=yes
13464
 
          export_dynamic_flag_spec_F77='${wl}-E'
13465
 
 
13466
 
          # hardcode_minus_L: Not really in the search PATH,
13467
 
          # but as the default location of the library.
13468
 
          hardcode_minus_L_F77=yes
13469
 
          ;;
13470
 
        esac
13471
 
      fi
13472
 
      ;;
13473
 
 
13474
 
    irix5* | irix6* | nonstopux*)
13475
 
      if test "$GCC" = yes; then
13476
 
        archive_cmds_F77='$CC -shared $pic_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'
13477
 
        # Try to use the -exported_symbol ld option, if it does not
13478
 
        # work, assume that -exports_file does not work either and
13479
 
        # implicitly export all symbols.
13480
 
        # This should be the same for all languages, so no per-tag cache variable.
13481
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
13482
 
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
13483
 
if ${lt_cv_irix_exported_symbol+:} false; then :
13484
 
  $as_echo_n "(cached) " >&6
13485
 
else
13486
 
  save_LDFLAGS="$LDFLAGS"
13487
 
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13488
 
           cat > conftest.$ac_ext <<_ACEOF
13489
 
 
13490
 
      subroutine foo
13491
 
      end
13492
 
_ACEOF
13493
 
if ac_fn_f77_try_link "$LINENO"; then :
13494
 
  lt_cv_irix_exported_symbol=yes
13495
 
else
13496
 
  lt_cv_irix_exported_symbol=no
13497
 
fi
13498
 
rm -f core conftest.err conftest.$ac_objext \
13499
 
    conftest$ac_exeext conftest.$ac_ext
13500
 
           LDFLAGS="$save_LDFLAGS"
13501
 
fi
13502
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
13503
 
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
13504
 
        if test "$lt_cv_irix_exported_symbol" = yes; then
13505
 
          archive_expsym_cmds_F77='$CC -shared $pic_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 ${wl}-exports_file ${wl}$export_symbols -o $lib'
13506
 
        fi
13507
 
      else
13508
 
        archive_cmds_F77='$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'
13509
 
        archive_expsym_cmds_F77='$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'
13510
 
      fi
13511
 
      archive_cmds_need_lc_F77='no'
13512
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13513
 
      hardcode_libdir_separator_F77=:
13514
 
      inherit_rpath_F77=yes
13515
 
      link_all_deplibs_F77=yes
13516
 
      ;;
13517
 
 
13518
 
    netbsd*)
13519
 
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13520
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
13521
 
      else
13522
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
13523
 
      fi
13524
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
13525
 
      hardcode_direct_F77=yes
13526
 
      hardcode_shlibpath_var_F77=no
13527
 
      ;;
13528
 
 
13529
 
    newsos6)
13530
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13531
 
      hardcode_direct_F77=yes
13532
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13533
 
      hardcode_libdir_separator_F77=:
13534
 
      hardcode_shlibpath_var_F77=no
13535
 
      ;;
13536
 
 
13537
 
    *nto* | *qnx*)
13538
 
      ;;
13539
 
 
13540
 
    openbsd*)
13541
 
      if test -f /usr/libexec/ld.so; then
13542
 
        hardcode_direct_F77=yes
13543
 
        hardcode_shlibpath_var_F77=no
13544
 
        hardcode_direct_absolute_F77=yes
13545
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13546
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13547
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13548
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13549
 
          export_dynamic_flag_spec_F77='${wl}-E'
13550
 
        else
13551
 
          case $host_os in
13552
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13553
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13554
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
13555
 
             ;;
13556
 
           *)
13557
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13558
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13559
 
             ;;
13560
 
          esac
13561
 
        fi
13562
 
      else
13563
 
        ld_shlibs_F77=no
13564
 
      fi
13565
 
      ;;
13566
 
 
13567
 
    os2*)
13568
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
13569
 
      hardcode_minus_L_F77=yes
13570
 
      allow_undefined_flag_F77=unsupported
13571
 
      archive_cmds_F77='$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'
13572
 
      old_archive_from_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13573
 
      ;;
13574
 
 
13575
 
    osf3*)
13576
 
      if test "$GCC" = yes; then
13577
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13578
 
        archive_cmds_F77='$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'
13579
 
      else
13580
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
13581
 
        archive_cmds_F77='$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'
13582
 
      fi
13583
 
      archive_cmds_need_lc_F77='no'
13584
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13585
 
      hardcode_libdir_separator_F77=:
13586
 
      ;;
13587
 
 
13588
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
13589
 
      if test "$GCC" = yes; then
13590
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13591
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $pic_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'
13592
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13593
 
      else
13594
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
13595
 
        archive_cmds_F77='$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'
13596
 
        archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
13597
 
        $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'
13598
 
 
13599
 
        # Both c and cxx compiler support -rpath directly
13600
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
13601
 
      fi
13602
 
      archive_cmds_need_lc_F77='no'
13603
 
      hardcode_libdir_separator_F77=:
13604
 
      ;;
13605
 
 
13606
 
    solaris*)
13607
 
      no_undefined_flag_F77=' -z defs'
13608
 
      if test "$GCC" = yes; then
13609
 
        wlarc='${wl}'
13610
 
        archive_cmds_F77='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13611
 
        archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13612
 
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13613
 
      else
13614
 
        case `$CC -V 2>&1` in
13615
 
        *"Compilers 5.0"*)
13616
 
          wlarc=''
13617
 
          archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13618
 
          archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13619
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13620
 
          ;;
13621
 
        *)
13622
 
          wlarc='${wl}'
13623
 
          archive_cmds_F77='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13624
 
          archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13625
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13626
 
          ;;
13627
 
        esac
13628
 
      fi
13629
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
13630
 
      hardcode_shlibpath_var_F77=no
13631
 
      case $host_os in
13632
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
13633
 
      *)
13634
 
        # The compiler driver will combine and reorder linker options,
13635
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
13636
 
        # but is careful enough not to reorder.
13637
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
13638
 
        if test "$GCC" = yes; then
13639
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13640
 
        else
13641
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
13642
 
        fi
13643
 
        ;;
13644
 
      esac
13645
 
      link_all_deplibs_F77=yes
13646
 
      ;;
13647
 
 
13648
 
    sunos4*)
13649
 
      if test "x$host_vendor" = xsequent; then
13650
 
        # Use $CC to link under sequent, because it throws in some extra .o
13651
 
        # files that make .init and .fini sections work.
13652
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13653
 
      else
13654
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13655
 
      fi
13656
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
13657
 
      hardcode_direct_F77=yes
13658
 
      hardcode_minus_L_F77=yes
13659
 
      hardcode_shlibpath_var_F77=no
13660
 
      ;;
13661
 
 
13662
 
    sysv4)
13663
 
      case $host_vendor in
13664
 
        sni)
13665
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13666
 
          hardcode_direct_F77=yes # is this really true???
13667
 
        ;;
13668
 
        siemens)
13669
 
          ## LD is ld it makes a PLAMLIB
13670
 
          ## CC just makes a GrossModule.
13671
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13672
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
13673
 
          hardcode_direct_F77=no
13674
 
        ;;
13675
 
        motorola)
13676
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13677
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13678
 
        ;;
13679
 
      esac
13680
 
      runpath_var='LD_RUN_PATH'
13681
 
      hardcode_shlibpath_var_F77=no
13682
 
      ;;
13683
 
 
13684
 
    sysv4.3*)
13685
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13686
 
      hardcode_shlibpath_var_F77=no
13687
 
      export_dynamic_flag_spec_F77='-Bexport'
13688
 
      ;;
13689
 
 
13690
 
    sysv4*MP*)
13691
 
      if test -d /usr/nec; then
13692
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13693
 
        hardcode_shlibpath_var_F77=no
13694
 
        runpath_var=LD_RUN_PATH
13695
 
        hardcode_runpath_var=yes
13696
 
        ld_shlibs_F77=yes
13697
 
      fi
13698
 
      ;;
13699
 
 
13700
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13701
 
      no_undefined_flag_F77='${wl}-z,text'
13702
 
      archive_cmds_need_lc_F77=no
13703
 
      hardcode_shlibpath_var_F77=no
13704
 
      runpath_var='LD_RUN_PATH'
13705
 
 
13706
 
      if test "$GCC" = yes; then
13707
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13708
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13709
 
      else
13710
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13711
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13712
 
      fi
13713
 
      ;;
13714
 
 
13715
 
    sysv5* | sco3.2v5* | sco5v6*)
13716
 
      # Note: We can NOT use -z defs as we might desire, because we do not
13717
 
      # link with -lc, and that would cause any symbols used from libc to
13718
 
      # always be unresolved, which means just about no library would
13719
 
      # ever link correctly.  If we're not using GNU ld we use -z text
13720
 
      # though, which does catch some bad symbols but isn't as heavy-handed
13721
 
      # as -z defs.
13722
 
      no_undefined_flag_F77='${wl}-z,text'
13723
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
13724
 
      archive_cmds_need_lc_F77=no
13725
 
      hardcode_shlibpath_var_F77=no
13726
 
      hardcode_libdir_flag_spec_F77='${wl}-R,$libdir'
13727
 
      hardcode_libdir_separator_F77=':'
13728
 
      link_all_deplibs_F77=yes
13729
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
13730
 
      runpath_var='LD_RUN_PATH'
13731
 
 
13732
 
      if test "$GCC" = yes; then
13733
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13734
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13735
 
      else
13736
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13737
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13738
 
      fi
13739
 
      ;;
13740
 
 
13741
 
    uts4*)
13742
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13743
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
13744
 
      hardcode_shlibpath_var_F77=no
13745
 
      ;;
13746
 
 
13747
 
    *)
13748
 
      ld_shlibs_F77=no
13749
 
      ;;
13750
 
    esac
13751
 
 
13752
 
    if test x$host_vendor = xsni; then
13753
 
      case $host in
13754
 
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13755
 
        export_dynamic_flag_spec_F77='${wl}-Blargedynsym'
13756
 
        ;;
13757
 
      esac
13758
 
    fi
13759
 
  fi
13760
 
 
13761
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_F77" >&5
13762
 
$as_echo "$ld_shlibs_F77" >&6; }
13763
 
test "$ld_shlibs_F77" = no && can_build_shared=no
13764
 
 
13765
 
with_gnu_ld_F77=$with_gnu_ld
13766
 
 
13767
 
 
13768
 
 
13769
 
 
13770
 
 
13771
 
 
13772
 
#
13773
 
# Do we need to explicitly link libc?
13774
 
#
13775
 
case "x$archive_cmds_need_lc_F77" in
13776
 
x|xyes)
13777
 
  # Assume -lc should be added
13778
 
  archive_cmds_need_lc_F77=yes
13779
 
 
13780
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
13781
 
    case $archive_cmds_F77 in
13782
 
    *'~'*)
13783
 
      # FIXME: we may have to deal with multi-command sequences.
13784
 
      ;;
13785
 
    '$CC '*)
13786
 
      # Test whether the compiler implicitly links with -lc since on some
13787
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13788
 
      # to ld, don't add -lc before -lgcc.
13789
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13790
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13791
 
if ${lt_cv_archive_cmds_need_lc_F77+:} false; then :
13792
 
  $as_echo_n "(cached) " >&6
13793
 
else
13794
 
  $RM conftest*
13795
 
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13796
 
 
13797
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13798
 
  (eval $ac_compile) 2>&5
13799
 
  ac_status=$?
13800
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13801
 
  test $ac_status = 0; } 2>conftest.err; then
13802
 
          soname=conftest
13803
 
          lib=conftest
13804
 
          libobjs=conftest.$ac_objext
13805
 
          deplibs=
13806
 
          wl=$lt_prog_compiler_wl_F77
13807
 
          pic_flag=$lt_prog_compiler_pic_F77
13808
 
          compiler_flags=-v
13809
 
          linker_flags=-v
13810
 
          verstring=
13811
 
          output_objdir=.
13812
 
          libname=conftest
13813
 
          lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13814
 
          allow_undefined_flag_F77=
13815
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13816
 
  (eval $archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13817
 
  ac_status=$?
13818
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13819
 
  test $ac_status = 0; }
13820
 
          then
13821
 
            lt_cv_archive_cmds_need_lc_F77=no
13822
 
          else
13823
 
            lt_cv_archive_cmds_need_lc_F77=yes
13824
 
          fi
13825
 
          allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13826
 
        else
13827
 
          cat conftest.err 1>&5
13828
 
        fi
13829
 
        $RM conftest*
13830
 
 
13831
 
fi
13832
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_F77" >&5
13833
 
$as_echo "$lt_cv_archive_cmds_need_lc_F77" >&6; }
13834
 
      archive_cmds_need_lc_F77=$lt_cv_archive_cmds_need_lc_F77
13835
 
      ;;
13836
 
    esac
13837
 
  fi
13838
 
  ;;
13839
 
esac
13840
 
 
13841
 
 
13842
 
 
13843
 
 
13844
 
 
13845
 
 
13846
 
 
13847
 
 
13848
 
 
13849
 
 
13850
 
 
13851
 
 
13852
 
 
13853
 
 
13854
 
 
13855
 
 
13856
 
 
13857
 
 
13858
 
 
13859
 
 
13860
 
 
13861
 
 
13862
 
 
13863
 
 
13864
 
 
13865
 
 
13866
 
 
13867
 
 
13868
 
 
13869
 
 
13870
 
 
13871
 
 
13872
 
 
13873
 
 
13874
 
 
13875
 
 
13876
 
 
13877
 
 
13878
 
 
13879
 
 
13880
 
 
13881
 
 
13882
 
 
13883
 
 
13884
 
 
13885
 
 
13886
 
 
13887
 
 
13888
 
 
13889
 
 
13890
 
 
13891
 
 
13892
 
 
13893
 
 
13894
 
 
13895
 
 
13896
 
 
13897
 
 
13898
 
 
13899
 
 
13900
 
 
13901
 
 
13902
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13903
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
13904
 
 
13905
 
library_names_spec=
13906
 
libname_spec='lib$name'
13907
 
soname_spec=
13908
 
shrext_cmds=".so"
13909
 
postinstall_cmds=
13910
 
postuninstall_cmds=
13911
 
finish_cmds=
13912
 
finish_eval=
13913
 
shlibpath_var=
13914
 
shlibpath_overrides_runpath=unknown
13915
 
version_type=none
13916
 
dynamic_linker="$host_os ld.so"
13917
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13918
 
need_lib_prefix=unknown
13919
 
hardcode_into_libs=no
13920
 
 
13921
 
# when you set need_version to no, make sure it does not cause -set_version
13922
 
# flags to be left without arguments
13923
 
need_version=unknown
13924
 
 
13925
 
case $host_os in
13926
 
aix3*)
13927
 
  version_type=linux # correct to gnu/linux during the next big refactor
13928
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13929
 
  shlibpath_var=LIBPATH
13930
 
 
13931
 
  # AIX 3 has no versioning support, so we append a major version to the name.
13932
 
  soname_spec='${libname}${release}${shared_ext}$major'
13933
 
  ;;
13934
 
 
13935
 
aix[4-9]*)
13936
 
  version_type=linux # correct to gnu/linux during the next big refactor
13937
 
  need_lib_prefix=no
13938
 
  need_version=no
13939
 
  hardcode_into_libs=yes
13940
 
  if test "$host_cpu" = ia64; then
13941
 
    # AIX 5 supports IA64
13942
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13943
 
    shlibpath_var=LD_LIBRARY_PATH
13944
 
  else
13945
 
    # With GCC up to 2.95.x, collect2 would create an import file
13946
 
    # for dependence libraries.  The import file would start with
13947
 
    # the line `#! .'.  This would cause the generated library to
13948
 
    # depend on `.', always an invalid library.  This was fixed in
13949
 
    # development snapshots of GCC prior to 3.0.
13950
 
    case $host_os in
13951
 
      aix4 | aix4.[01] | aix4.[01].*)
13952
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13953
 
           echo ' yes '
13954
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13955
 
        :
13956
 
      else
13957
 
        can_build_shared=no
13958
 
      fi
13959
 
      ;;
13960
 
    esac
13961
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13962
 
    # soname into executable. Probably we can add versioning support to
13963
 
    # collect2, so additional links can be useful in future.
13964
 
    if test "$aix_use_runtimelinking" = yes; then
13965
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13966
 
      # instead of lib<name>.a to let people know that these are not
13967
 
      # typical AIX shared libraries.
13968
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13969
 
    else
13970
 
      # We preserve .a as extension for shared libraries through AIX4.2
13971
 
      # and later when we are not doing run time linking.
13972
 
      library_names_spec='${libname}${release}.a $libname.a'
13973
 
      soname_spec='${libname}${release}${shared_ext}$major'
13974
 
    fi
13975
 
    shlibpath_var=LIBPATH
13976
 
  fi
13977
 
  ;;
13978
 
 
13979
 
amigaos*)
13980
 
  case $host_cpu in
13981
 
  powerpc)
13982
 
    # Since July 2007 AmigaOS4 officially supports .so libraries.
13983
 
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13984
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13985
 
    ;;
13986
 
  m68k)
13987
 
    library_names_spec='$libname.ixlibrary $libname.a'
13988
 
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
13989
 
    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'
13990
 
    ;;
13991
 
  esac
13992
 
  ;;
13993
 
 
13994
 
beos*)
13995
 
  library_names_spec='${libname}${shared_ext}'
13996
 
  dynamic_linker="$host_os ld.so"
13997
 
  shlibpath_var=LIBRARY_PATH
13998
 
  ;;
13999
 
 
14000
 
bsdi[45]*)
14001
 
  version_type=linux # correct to gnu/linux during the next big refactor
14002
 
  need_version=no
14003
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14004
 
  soname_spec='${libname}${release}${shared_ext}$major'
14005
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14006
 
  shlibpath_var=LD_LIBRARY_PATH
14007
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14008
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14009
 
  # the default ld.so.conf also contains /usr/contrib/lib and
14010
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14011
 
  # libtool to hard-code these into programs
14012
 
  ;;
14013
 
 
14014
 
cygwin* | mingw* | pw32* | cegcc*)
14015
 
  version_type=windows
14016
 
  shrext_cmds=".dll"
14017
 
  need_version=no
14018
 
  need_lib_prefix=no
14019
 
 
14020
 
  case $GCC,$cc_basename in
14021
 
  yes,*)
14022
 
    # gcc
14023
 
    library_names_spec='$libname.dll.a'
14024
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14025
 
    postinstall_cmds='base_file=`basename \${file}`~
14026
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14027
 
      dldir=$destdir/`dirname \$dlpath`~
14028
 
      test -d \$dldir || mkdir -p \$dldir~
14029
 
      $install_prog $dir/$dlname \$dldir/$dlname~
14030
 
      chmod a+x \$dldir/$dlname~
14031
 
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14032
 
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14033
 
      fi'
14034
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14035
 
      dlpath=$dir/\$dldll~
14036
 
       $RM \$dlpath'
14037
 
    shlibpath_overrides_runpath=yes
14038
 
 
14039
 
    case $host_os in
14040
 
    cygwin*)
14041
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14042
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14043
 
 
14044
 
      ;;
14045
 
    mingw* | cegcc*)
14046
 
      # MinGW DLLs use traditional 'lib' prefix
14047
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14048
 
      ;;
14049
 
    pw32*)
14050
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14051
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14052
 
      ;;
14053
 
    esac
14054
 
    dynamic_linker='Win32 ld.exe'
14055
 
    ;;
14056
 
 
14057
 
  *,cl*)
14058
 
    # Native MSVC
14059
 
    libname_spec='$name'
14060
 
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14061
 
    library_names_spec='${libname}.dll.lib'
14062
 
 
14063
 
    case $build_os in
14064
 
    mingw*)
14065
 
      sys_lib_search_path_spec=
14066
 
      lt_save_ifs=$IFS
14067
 
      IFS=';'
14068
 
      for lt_path in $LIB
14069
 
      do
14070
 
        IFS=$lt_save_ifs
14071
 
        # Let DOS variable expansion print the short 8.3 style file name.
14072
 
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14073
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14074
 
      done
14075
 
      IFS=$lt_save_ifs
14076
 
      # Convert to MSYS style.
14077
 
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14078
 
      ;;
14079
 
    cygwin*)
14080
 
      # Convert to unix form, then to dos form, then back to unix form
14081
 
      # but this time dos style (no spaces!) so that the unix form looks
14082
 
      # like /cygdrive/c/PROGRA~1:/cygdr...
14083
 
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14084
 
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14085
 
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14086
 
      ;;
14087
 
    *)
14088
 
      sys_lib_search_path_spec="$LIB"
14089
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14090
 
        # It is most probably a Windows format PATH.
14091
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14092
 
      else
14093
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14094
 
      fi
14095
 
      # FIXME: find the short name or the path components, as spaces are
14096
 
      # common. (e.g. "Program Files" -> "PROGRA~1")
14097
 
      ;;
14098
 
    esac
14099
 
 
14100
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14101
 
    postinstall_cmds='base_file=`basename \${file}`~
14102
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14103
 
      dldir=$destdir/`dirname \$dlpath`~
14104
 
      test -d \$dldir || mkdir -p \$dldir~
14105
 
      $install_prog $dir/$dlname \$dldir/$dlname'
14106
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14107
 
      dlpath=$dir/\$dldll~
14108
 
       $RM \$dlpath'
14109
 
    shlibpath_overrides_runpath=yes
14110
 
    dynamic_linker='Win32 link.exe'
14111
 
    ;;
14112
 
 
14113
 
  *)
14114
 
    # Assume MSVC wrapper
14115
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14116
 
    dynamic_linker='Win32 ld.exe'
14117
 
    ;;
14118
 
  esac
14119
 
  # FIXME: first we should search . and the directory the executable is in
14120
 
  shlibpath_var=PATH
14121
 
  ;;
14122
 
 
14123
 
darwin* | rhapsody*)
14124
 
  dynamic_linker="$host_os dyld"
14125
 
  version_type=darwin
14126
 
  need_lib_prefix=no
14127
 
  need_version=no
14128
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14129
 
  soname_spec='${libname}${release}${major}$shared_ext'
14130
 
  shlibpath_overrides_runpath=yes
14131
 
  shlibpath_var=DYLD_LIBRARY_PATH
14132
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14133
 
 
14134
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14135
 
  ;;
14136
 
 
14137
 
dgux*)
14138
 
  version_type=linux # correct to gnu/linux during the next big refactor
14139
 
  need_lib_prefix=no
14140
 
  need_version=no
14141
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14142
 
  soname_spec='${libname}${release}${shared_ext}$major'
14143
 
  shlibpath_var=LD_LIBRARY_PATH
14144
 
  ;;
14145
 
 
14146
 
freebsd* | dragonfly*)
14147
 
  # DragonFly does not have aout.  When/if they implement a new
14148
 
  # versioning mechanism, adjust this.
14149
 
  if test -x /usr/bin/objformat; then
14150
 
    objformat=`/usr/bin/objformat`
14151
 
  else
14152
 
    case $host_os in
14153
 
    freebsd[23].*) objformat=aout ;;
14154
 
    *) objformat=elf ;;
14155
 
    esac
14156
 
  fi
14157
 
  version_type=freebsd-$objformat
14158
 
  case $version_type in
14159
 
    freebsd-elf*)
14160
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14161
 
      need_version=no
14162
 
      need_lib_prefix=no
14163
 
      ;;
14164
 
    freebsd-*)
14165
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14166
 
      need_version=yes
14167
 
      ;;
14168
 
  esac
14169
 
  shlibpath_var=LD_LIBRARY_PATH
14170
 
  case $host_os in
14171
 
  freebsd2.*)
14172
 
    shlibpath_overrides_runpath=yes
14173
 
    ;;
14174
 
  freebsd3.[01]* | freebsdelf3.[01]*)
14175
 
    shlibpath_overrides_runpath=yes
14176
 
    hardcode_into_libs=yes
14177
 
    ;;
14178
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14179
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14180
 
    shlibpath_overrides_runpath=no
14181
 
    hardcode_into_libs=yes
14182
 
    ;;
14183
 
  *) # from 4.6 on, and DragonFly
14184
 
    shlibpath_overrides_runpath=yes
14185
 
    hardcode_into_libs=yes
14186
 
    ;;
14187
 
  esac
14188
 
  ;;
14189
 
 
14190
 
gnu*)
14191
 
  version_type=linux # correct to gnu/linux during the next big refactor
14192
 
  need_lib_prefix=no
14193
 
  need_version=no
14194
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14195
 
  soname_spec='${libname}${release}${shared_ext}$major'
14196
 
  shlibpath_var=LD_LIBRARY_PATH
14197
 
  shlibpath_overrides_runpath=no
14198
 
  hardcode_into_libs=yes
14199
 
  ;;
14200
 
 
14201
 
haiku*)
14202
 
  version_type=linux # correct to gnu/linux during the next big refactor
14203
 
  need_lib_prefix=no
14204
 
  need_version=no
14205
 
  dynamic_linker="$host_os runtime_loader"
14206
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14207
 
  soname_spec='${libname}${release}${shared_ext}$major'
14208
 
  shlibpath_var=LIBRARY_PATH
14209
 
  shlibpath_overrides_runpath=yes
14210
 
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14211
 
  hardcode_into_libs=yes
14212
 
  ;;
14213
 
 
14214
 
hpux9* | hpux10* | hpux11*)
14215
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
14216
 
  # link against other versions.
14217
 
  version_type=sunos
14218
 
  need_lib_prefix=no
14219
 
  need_version=no
14220
 
  case $host_cpu in
14221
 
  ia64*)
14222
 
    shrext_cmds='.so'
14223
 
    hardcode_into_libs=yes
14224
 
    dynamic_linker="$host_os dld.so"
14225
 
    shlibpath_var=LD_LIBRARY_PATH
14226
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14227
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14228
 
    soname_spec='${libname}${release}${shared_ext}$major'
14229
 
    if test "X$HPUX_IA64_MODE" = X32; then
14230
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14231
 
    else
14232
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14233
 
    fi
14234
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14235
 
    ;;
14236
 
  hppa*64*)
14237
 
    shrext_cmds='.sl'
14238
 
    hardcode_into_libs=yes
14239
 
    dynamic_linker="$host_os dld.sl"
14240
 
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14241
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14242
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14243
 
    soname_spec='${libname}${release}${shared_ext}$major'
14244
 
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14245
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14246
 
    ;;
14247
 
  *)
14248
 
    shrext_cmds='.sl'
14249
 
    dynamic_linker="$host_os dld.sl"
14250
 
    shlibpath_var=SHLIB_PATH
14251
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14252
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14253
 
    soname_spec='${libname}${release}${shared_ext}$major'
14254
 
    ;;
14255
 
  esac
14256
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14257
 
  postinstall_cmds='chmod 555 $lib'
14258
 
  # or fails outright, so override atomically:
14259
 
  install_override_mode=555
14260
 
  ;;
14261
 
 
14262
 
interix[3-9]*)
14263
 
  version_type=linux # correct to gnu/linux during the next big refactor
14264
 
  need_lib_prefix=no
14265
 
  need_version=no
14266
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14267
 
  soname_spec='${libname}${release}${shared_ext}$major'
14268
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14269
 
  shlibpath_var=LD_LIBRARY_PATH
14270
 
  shlibpath_overrides_runpath=no
14271
 
  hardcode_into_libs=yes
14272
 
  ;;
14273
 
 
14274
 
irix5* | irix6* | nonstopux*)
14275
 
  case $host_os in
14276
 
    nonstopux*) version_type=nonstopux ;;
14277
 
    *)
14278
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
14279
 
                version_type=linux # correct to gnu/linux during the next big refactor
14280
 
        else
14281
 
                version_type=irix
14282
 
        fi ;;
14283
 
  esac
14284
 
  need_lib_prefix=no
14285
 
  need_version=no
14286
 
  soname_spec='${libname}${release}${shared_ext}$major'
14287
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14288
 
  case $host_os in
14289
 
  irix5* | nonstopux*)
14290
 
    libsuff= shlibsuff=
14291
 
    ;;
14292
 
  *)
14293
 
    case $LD in # libtool.m4 will add one of these switches to LD
14294
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14295
 
      libsuff= shlibsuff= libmagic=32-bit;;
14296
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14297
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
14298
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14299
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
14300
 
    *) libsuff= shlibsuff= libmagic=never-match;;
14301
 
    esac
14302
 
    ;;
14303
 
  esac
14304
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14305
 
  shlibpath_overrides_runpath=no
14306
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14307
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14308
 
  hardcode_into_libs=yes
14309
 
  ;;
14310
 
 
14311
 
# No shared lib support for Linux oldld, aout, or coff.
14312
 
linux*oldld* | linux*aout* | linux*coff*)
14313
 
  dynamic_linker=no
14314
 
  ;;
14315
 
 
14316
 
# This must be glibc/ELF.
14317
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
14318
 
  version_type=linux # correct to gnu/linux during the next big refactor
14319
 
  need_lib_prefix=no
14320
 
  need_version=no
14321
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14322
 
  soname_spec='${libname}${release}${shared_ext}$major'
14323
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14324
 
  shlibpath_var=LD_LIBRARY_PATH
14325
 
  shlibpath_overrides_runpath=no
14326
 
 
14327
 
  # Some binutils ld are patched to set DT_RUNPATH
14328
 
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14329
 
  $as_echo_n "(cached) " >&6
14330
 
else
14331
 
  lt_cv_shlibpath_overrides_runpath=no
14332
 
    save_LDFLAGS=$LDFLAGS
14333
 
    save_libdir=$libdir
14334
 
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_F77\"; \
14335
 
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_F77\""
14336
 
    cat > conftest.$ac_ext <<_ACEOF
14337
 
      program main
14338
 
 
14339
 
      end
14340
 
_ACEOF
14341
 
if ac_fn_f77_try_link "$LINENO"; then :
14342
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14343
 
  lt_cv_shlibpath_overrides_runpath=yes
14344
 
fi
14345
 
fi
14346
 
rm -f core conftest.err conftest.$ac_objext \
14347
 
    conftest$ac_exeext conftest.$ac_ext
14348
 
    LDFLAGS=$save_LDFLAGS
14349
 
    libdir=$save_libdir
14350
 
 
14351
 
fi
14352
 
 
14353
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14354
 
 
14355
 
  # This implies no fast_install, which is unacceptable.
14356
 
  # Some rework will be needed to allow for fast_install
14357
 
  # before this can be enabled.
14358
 
  hardcode_into_libs=yes
14359
 
 
14360
 
  # Add ABI-specific directories to the system library path.
14361
 
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
14362
 
 
14363
 
  # Append ld.so.conf contents to the search path
14364
 
  if test -f /etc/ld.so.conf; then
14365
 
    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' ' '`
14366
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
14367
 
 
14368
 
  fi
14369
 
 
14370
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14371
 
  # powerpc, because MkLinux only supported shared libraries with the
14372
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
14373
 
  # most powerpc-linux boxes support dynamic linking these days and
14374
 
  # people can always --disable-shared, the test was removed, and we
14375
 
  # assume the GNU/Linux dynamic linker is in use.
14376
 
  dynamic_linker='GNU/Linux ld.so'
14377
 
  ;;
14378
 
 
14379
 
netbsd*)
14380
 
  version_type=sunos
14381
 
  need_lib_prefix=no
14382
 
  need_version=no
14383
 
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14384
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14385
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14386
 
    dynamic_linker='NetBSD (a.out) ld.so'
14387
 
  else
14388
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14389
 
    soname_spec='${libname}${release}${shared_ext}$major'
14390
 
    dynamic_linker='NetBSD ld.elf_so'
14391
 
  fi
14392
 
  shlibpath_var=LD_LIBRARY_PATH
14393
 
  shlibpath_overrides_runpath=yes
14394
 
  hardcode_into_libs=yes
14395
 
  ;;
14396
 
 
14397
 
newsos6)
14398
 
  version_type=linux # correct to gnu/linux during the next big refactor
14399
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14400
 
  shlibpath_var=LD_LIBRARY_PATH
14401
 
  shlibpath_overrides_runpath=yes
14402
 
  ;;
14403
 
 
14404
 
*nto* | *qnx*)
14405
 
  version_type=qnx
14406
 
  need_lib_prefix=no
14407
 
  need_version=no
14408
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14409
 
  soname_spec='${libname}${release}${shared_ext}$major'
14410
 
  shlibpath_var=LD_LIBRARY_PATH
14411
 
  shlibpath_overrides_runpath=no
14412
 
  hardcode_into_libs=yes
14413
 
  dynamic_linker='ldqnx.so'
14414
 
  ;;
14415
 
 
14416
 
openbsd*)
14417
 
  version_type=sunos
14418
 
  sys_lib_dlsearch_path_spec="/usr/lib"
14419
 
  need_lib_prefix=no
14420
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14421
 
  case $host_os in
14422
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14423
 
    *)                          need_version=no  ;;
14424
 
  esac
14425
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14426
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14427
 
  shlibpath_var=LD_LIBRARY_PATH
14428
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14429
 
    case $host_os in
14430
 
      openbsd2.[89] | openbsd2.[89].*)
14431
 
        shlibpath_overrides_runpath=no
14432
 
        ;;
14433
 
      *)
14434
 
        shlibpath_overrides_runpath=yes
14435
 
        ;;
14436
 
      esac
14437
 
  else
14438
 
    shlibpath_overrides_runpath=yes
14439
 
  fi
14440
 
  ;;
14441
 
 
14442
 
os2*)
14443
 
  libname_spec='$name'
14444
 
  shrext_cmds=".dll"
14445
 
  need_lib_prefix=no
14446
 
  library_names_spec='$libname${shared_ext} $libname.a'
14447
 
  dynamic_linker='OS/2 ld.exe'
14448
 
  shlibpath_var=LIBPATH
14449
 
  ;;
14450
 
 
14451
 
osf3* | osf4* | osf5*)
14452
 
  version_type=osf
14453
 
  need_lib_prefix=no
14454
 
  need_version=no
14455
 
  soname_spec='${libname}${release}${shared_ext}$major'
14456
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14457
 
  shlibpath_var=LD_LIBRARY_PATH
14458
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14459
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14460
 
  ;;
14461
 
 
14462
 
rdos*)
14463
 
  dynamic_linker=no
14464
 
  ;;
14465
 
 
14466
 
solaris*)
14467
 
  version_type=linux # correct to gnu/linux during the next big refactor
14468
 
  need_lib_prefix=no
14469
 
  need_version=no
14470
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14471
 
  soname_spec='${libname}${release}${shared_ext}$major'
14472
 
  shlibpath_var=LD_LIBRARY_PATH
14473
 
  shlibpath_overrides_runpath=yes
14474
 
  hardcode_into_libs=yes
14475
 
  # ldd complains unless libraries are executable
14476
 
  postinstall_cmds='chmod +x $lib'
14477
 
  ;;
14478
 
 
14479
 
sunos4*)
14480
 
  version_type=sunos
14481
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14482
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14483
 
  shlibpath_var=LD_LIBRARY_PATH
14484
 
  shlibpath_overrides_runpath=yes
14485
 
  if test "$with_gnu_ld" = yes; then
14486
 
    need_lib_prefix=no
14487
 
  fi
14488
 
  need_version=yes
14489
 
  ;;
14490
 
 
14491
 
sysv4 | sysv4.3*)
14492
 
  version_type=linux # correct to gnu/linux during the next big refactor
14493
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14494
 
  soname_spec='${libname}${release}${shared_ext}$major'
14495
 
  shlibpath_var=LD_LIBRARY_PATH
14496
 
  case $host_vendor in
14497
 
    sni)
14498
 
      shlibpath_overrides_runpath=no
14499
 
      need_lib_prefix=no
14500
 
      runpath_var=LD_RUN_PATH
14501
 
      ;;
14502
 
    siemens)
14503
 
      need_lib_prefix=no
14504
 
      ;;
14505
 
    motorola)
14506
 
      need_lib_prefix=no
14507
 
      need_version=no
14508
 
      shlibpath_overrides_runpath=no
14509
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14510
 
      ;;
14511
 
  esac
14512
 
  ;;
14513
 
 
14514
 
sysv4*MP*)
14515
 
  if test -d /usr/nec ;then
14516
 
    version_type=linux # correct to gnu/linux during the next big refactor
14517
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14518
 
    soname_spec='$libname${shared_ext}.$major'
14519
 
    shlibpath_var=LD_LIBRARY_PATH
14520
 
  fi
14521
 
  ;;
14522
 
 
14523
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14524
 
  version_type=freebsd-elf
14525
 
  need_lib_prefix=no
14526
 
  need_version=no
14527
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14528
 
  soname_spec='${libname}${release}${shared_ext}$major'
14529
 
  shlibpath_var=LD_LIBRARY_PATH
14530
 
  shlibpath_overrides_runpath=yes
14531
 
  hardcode_into_libs=yes
14532
 
  if test "$with_gnu_ld" = yes; then
14533
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14534
 
  else
14535
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14536
 
    case $host_os in
14537
 
      sco3.2v5*)
14538
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14539
 
        ;;
14540
 
    esac
14541
 
  fi
14542
 
  sys_lib_dlsearch_path_spec='/usr/lib'
14543
 
  ;;
14544
 
 
14545
 
tpf*)
14546
 
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14547
 
  version_type=linux # correct to gnu/linux during the next big refactor
14548
 
  need_lib_prefix=no
14549
 
  need_version=no
14550
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14551
 
  shlibpath_var=LD_LIBRARY_PATH
14552
 
  shlibpath_overrides_runpath=no
14553
 
  hardcode_into_libs=yes
14554
 
  ;;
14555
 
 
14556
 
uts4*)
14557
 
  version_type=linux # correct to gnu/linux during the next big refactor
14558
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14559
 
  soname_spec='${libname}${release}${shared_ext}$major'
14560
 
  shlibpath_var=LD_LIBRARY_PATH
14561
 
  ;;
14562
 
 
14563
 
*)
14564
 
  dynamic_linker=no
14565
 
  ;;
14566
 
esac
14567
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14568
 
$as_echo "$dynamic_linker" >&6; }
14569
 
test "$dynamic_linker" = no && can_build_shared=no
14570
 
 
14571
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14572
 
if test "$GCC" = yes; then
14573
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14574
 
fi
14575
 
 
14576
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14577
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14578
 
fi
14579
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14580
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14581
 
fi
14582
 
 
14583
 
 
14584
 
 
14585
 
 
14586
 
 
14587
 
 
14588
 
 
14589
 
 
14590
 
 
14591
 
 
14592
 
 
14593
 
 
14594
 
 
14595
 
 
14596
 
 
14597
 
 
14598
 
 
14599
 
 
14600
 
 
14601
 
 
14602
 
 
14603
 
 
14604
 
 
14605
 
 
14606
 
 
14607
 
 
14608
 
 
14609
 
 
14610
 
 
14611
 
 
14612
 
 
14613
 
 
14614
 
 
14615
 
 
14616
 
 
14617
 
 
14618
 
 
14619
 
 
14620
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14621
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14622
 
hardcode_action_F77=
14623
 
if test -n "$hardcode_libdir_flag_spec_F77" ||
14624
 
   test -n "$runpath_var_F77" ||
14625
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
14626
 
 
14627
 
  # We can hardcode non-existent directories.
14628
 
  if test "$hardcode_direct_F77" != no &&
14629
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14630
 
     # have to relink, otherwise we might link with an installed library
14631
 
     # when we should be linking with a yet-to-be-installed one
14632
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14633
 
     test "$hardcode_minus_L_F77" != no; then
14634
 
    # Linking always hardcodes the temporary library directory.
14635
 
    hardcode_action_F77=relink
14636
 
  else
14637
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
14638
 
    hardcode_action_F77=immediate
14639
 
  fi
14640
 
else
14641
 
  # We cannot hardcode anything, or else we can only hardcode existing
14642
 
  # directories.
14643
 
  hardcode_action_F77=unsupported
14644
 
fi
14645
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_F77" >&5
14646
 
$as_echo "$hardcode_action_F77" >&6; }
14647
 
 
14648
 
if test "$hardcode_action_F77" = relink ||
14649
 
   test "$inherit_rpath_F77" = yes; then
14650
 
  # Fast installation is not supported
14651
 
  enable_fast_install=no
14652
 
elif test "$shlibpath_overrides_runpath" = yes ||
14653
 
     test "$enable_shared" = no; then
14654
 
  # Fast installation is not necessary
14655
 
  enable_fast_install=needless
14656
 
fi
14657
 
 
14658
 
 
14659
 
 
14660
 
 
14661
 
 
14662
 
 
14663
 
 
14664
 
  fi # test -n "$compiler"
14665
 
 
14666
 
  GCC=$lt_save_GCC
14667
 
  CC="$lt_save_CC"
14668
 
  CFLAGS="$lt_save_CFLAGS"
14669
 
fi # test "$_lt_disable_F77" != yes
14670
 
 
14671
 
ac_ext=c
14672
 
ac_cpp='$CPP $CPPFLAGS'
14673
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14674
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14675
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14676
 
 
14677
 
 
14678
 
 
14679
 
 
14680
 
 
14681
 
 
14682
 
 
14683
 
 
14684
 
 
14685
 
 
14686
 
 
14687
 
 
14688
 
 
14689
 
        ac_config_commands="$ac_config_commands libtool"
14690
 
 
14691
 
 
14692
 
 
14693
 
 
14694
 
# Only expand once:
14695
 
 
14696
 
 
14697
 
 
14698
 
 
14699
 
ac_ext=f
14700
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14701
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14702
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14703
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $F77" >&5
14704
 
$as_echo_n "checking how to get verbose linking output from $F77... " >&6; }
14705
 
if ${ac_cv_prog_f77_v+:} false; then :
14706
 
  $as_echo_n "(cached) " >&6
14707
 
else
14708
 
  cat > conftest.$ac_ext <<_ACEOF
14709
 
      program main
14710
 
 
14711
 
      end
14712
 
_ACEOF
14713
 
if ac_fn_f77_try_compile "$LINENO"; then :
14714
 
  ac_cv_prog_f77_v=
14715
 
# Try some options frequently used verbose output
14716
 
for ac_verb in -v -verbose --verbose -V -\#\#\#; do
14717
 
  cat > conftest.$ac_ext <<_ACEOF
14718
 
      program main
14719
 
 
14720
 
      end
14721
 
_ACEOF
14722
 
 
14723
 
# Compile and link our simple test program by passing a flag (argument
14724
 
# 1 to this macro) to the Fortran compiler in order to get
14725
 
# "verbose" output that we can then parse for the Fortran linker
14726
 
# flags.
14727
 
ac_save_FFLAGS=$FFLAGS
14728
 
FFLAGS="$FFLAGS $ac_verb"
14729
 
eval "set x $ac_link"
14730
 
shift
14731
 
$as_echo "$as_me:${as_lineno-$LINENO}: $*" >&5
14732
 
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
14733
 
# LIBRARY_PATH; skip all such settings.
14734
 
ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
14735
 
  sed '/^Driving:/d; /^Configured with:/d;
14736
 
      '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
14737
 
$as_echo "$ac_f77_v_output" >&5
14738
 
FFLAGS=$ac_save_FFLAGS
14739
 
 
14740
 
rm -rf conftest*
14741
 
 
14742
 
# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
14743
 
# /foo, /bar, and /baz are search directories for the Fortran linker.
14744
 
# Here, we change these into -L/foo -L/bar -L/baz (and put it first):
14745
 
ac_f77_v_output="`echo $ac_f77_v_output |
14746
 
        grep 'LPATH is:' |
14747
 
        sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_f77_v_output"
14748
 
 
14749
 
# FIXME: we keep getting bitten by quoted arguments; a more general fix
14750
 
#        that detects unbalanced quotes in FLIBS should be implemented
14751
 
#        and (ugh) tested at some point.
14752
 
case $ac_f77_v_output in
14753
 
  # With xlf replace commas with spaces,
14754
 
  # and remove "-link" and closing parenthesis.
14755
 
  *xlfentry*)
14756
 
    ac_f77_v_output=`echo $ac_f77_v_output |
14757
 
      sed '
14758
 
        s/,/ /g
14759
 
        s/ -link / /g
14760
 
        s/) *$//
14761
 
      '
14762
 
    ` ;;
14763
 
 
14764
 
  # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
14765
 
  # $LIBS confuse us, and the libraries appear later in the output anyway).
14766
 
  *mGLOB_options_string*)
14767
 
    ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;;
14768
 
 
14769
 
  # Portland Group compiler has singly- or doubly-quoted -cmdline argument
14770
 
  # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
14771
 
  # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
14772
 
  *-cmdline\ * | *-ignore\ * | *-def\ *)
14773
 
    ac_f77_v_output=`echo $ac_f77_v_output | sed "\
14774
 
        s/-cmdline  *'[^']*'/ /g; s/-cmdline  *\"[^\"]*\"/ /g
14775
 
        s/-ignore  *'[^']*'/ /g; s/-ignore  *\"[^\"]*\"/ /g
14776
 
        s/-def  *'[^']*'/ /g; s/-def  *\"[^\"]*\"/ /g"` ;;
14777
 
 
14778
 
  # If we are using fort77 (the f2c wrapper) then filter output and delete quotes.
14779
 
  *fort77*f2c*gcc*)
14780
 
    ac_f77_v_output=`echo "$ac_f77_v_output" | sed -n '
14781
 
        /:[      ]\+Running[     ]\{1,\}"gcc"/{
14782
 
          /"-c"/d
14783
 
          /[.]c"*/d
14784
 
          s/^.*"gcc"/"gcc"/
14785
 
          s/"//gp
14786
 
        }'` ;;
14787
 
 
14788
 
  # If we are using Cray Fortran then delete quotes.
14789
 
  *cft90*)
14790
 
    ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"//g'` ;;
14791
 
esac
14792
 
 
14793
 
 
14794
 
  # look for -l* and *.a constructs in the output
14795
 
  for ac_arg in $ac_f77_v_output; do
14796
 
     case $ac_arg in
14797
 
        [\\/]*.a | ?:[\\/]*.a | -[lLRu]*)
14798
 
          ac_cv_prog_f77_v=$ac_verb
14799
 
          break 2 ;;
14800
 
     esac
14801
 
  done
14802
 
done
14803
 
if test -z "$ac_cv_prog_f77_v"; then
14804
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine how to obtain linking information from $F77" >&5
14805
 
$as_echo "$as_me: WARNING: cannot determine how to obtain linking information from $F77" >&2;}
14806
 
fi
14807
 
else
14808
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compilation failed" >&5
14809
 
$as_echo "$as_me: WARNING: compilation failed" >&2;}
14810
 
fi
14811
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14812
 
 
14813
 
fi
14814
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_v" >&5
14815
 
$as_echo "$ac_cv_prog_f77_v" >&6; }
14816
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 libraries of $F77" >&5
14817
 
$as_echo_n "checking for Fortran 77 libraries of $F77... " >&6; }
14818
 
if ${ac_cv_f77_libs+:} false; then :
14819
 
  $as_echo_n "(cached) " >&6
14820
 
else
14821
 
  if test "x$FLIBS" != "x"; then
14822
 
  ac_cv_f77_libs="$FLIBS" # Let the user override the test.
14823
 
else
14824
 
 
14825
 
cat > conftest.$ac_ext <<_ACEOF
14826
 
      program main
14827
 
 
14828
 
      end
14829
 
_ACEOF
14830
 
 
14831
 
# Compile and link our simple test program by passing a flag (argument
14832
 
# 1 to this macro) to the Fortran compiler in order to get
14833
 
# "verbose" output that we can then parse for the Fortran linker
14834
 
# flags.
14835
 
ac_save_FFLAGS=$FFLAGS
14836
 
FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
14837
 
eval "set x $ac_link"
14838
 
shift
14839
 
$as_echo "$as_me:${as_lineno-$LINENO}: $*" >&5
14840
 
# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
14841
 
# LIBRARY_PATH; skip all such settings.
14842
 
ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
14843
 
  sed '/^Driving:/d; /^Configured with:/d;
14844
 
      '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
14845
 
$as_echo "$ac_f77_v_output" >&5
14846
 
FFLAGS=$ac_save_FFLAGS
14847
 
 
14848
 
rm -rf conftest*
14849
 
 
14850
 
# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
14851
 
# /foo, /bar, and /baz are search directories for the Fortran linker.
14852
 
# Here, we change these into -L/foo -L/bar -L/baz (and put it first):
14853
 
ac_f77_v_output="`echo $ac_f77_v_output |
14854
 
        grep 'LPATH is:' |
14855
 
        sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_f77_v_output"
14856
 
 
14857
 
# FIXME: we keep getting bitten by quoted arguments; a more general fix
14858
 
#        that detects unbalanced quotes in FLIBS should be implemented
14859
 
#        and (ugh) tested at some point.
14860
 
case $ac_f77_v_output in
14861
 
  # With xlf replace commas with spaces,
14862
 
  # and remove "-link" and closing parenthesis.
14863
 
  *xlfentry*)
14864
 
    ac_f77_v_output=`echo $ac_f77_v_output |
14865
 
      sed '
14866
 
        s/,/ /g
14867
 
        s/ -link / /g
14868
 
        s/) *$//
14869
 
      '
14870
 
    ` ;;
14871
 
 
14872
 
  # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
14873
 
  # $LIBS confuse us, and the libraries appear later in the output anyway).
14874
 
  *mGLOB_options_string*)
14875
 
    ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;;
14876
 
 
14877
 
  # Portland Group compiler has singly- or doubly-quoted -cmdline argument
14878
 
  # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
14879
 
  # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
14880
 
  *-cmdline\ * | *-ignore\ * | *-def\ *)
14881
 
    ac_f77_v_output=`echo $ac_f77_v_output | sed "\
14882
 
        s/-cmdline  *'[^']*'/ /g; s/-cmdline  *\"[^\"]*\"/ /g
14883
 
        s/-ignore  *'[^']*'/ /g; s/-ignore  *\"[^\"]*\"/ /g
14884
 
        s/-def  *'[^']*'/ /g; s/-def  *\"[^\"]*\"/ /g"` ;;
14885
 
 
14886
 
  # If we are using fort77 (the f2c wrapper) then filter output and delete quotes.
14887
 
  *fort77*f2c*gcc*)
14888
 
    ac_f77_v_output=`echo "$ac_f77_v_output" | sed -n '
14889
 
        /:[      ]\+Running[     ]\{1,\}"gcc"/{
14890
 
          /"-c"/d
14891
 
          /[.]c"*/d
14892
 
          s/^.*"gcc"/"gcc"/
14893
 
          s/"//gp
14894
 
        }'` ;;
14895
 
 
14896
 
  # If we are using Cray Fortran then delete quotes.
14897
 
  *cft90*)
14898
 
    ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"//g'` ;;
14899
 
esac
14900
 
 
14901
 
 
14902
 
 
14903
 
ac_cv_f77_libs=
14904
 
 
14905
 
# Save positional arguments (if any)
14906
 
ac_save_positional="$@"
14907
 
 
14908
 
set X $ac_f77_v_output
14909
 
while test $# != 1; do
14910
 
  shift
14911
 
  ac_arg=$1
14912
 
  case $ac_arg in
14913
 
        [\\/]*.a | ?:[\\/]*.a)
14914
 
            ac_exists=false
14915
 
  for ac_i in $ac_cv_f77_libs; do
14916
 
    if test x"$ac_arg" = x"$ac_i"; then
14917
 
      ac_exists=true
14918
 
      break
14919
 
    fi
14920
 
  done
14921
 
 
14922
 
  if test x"$ac_exists" = xtrue; then :
14923
 
 
14924
 
else
14925
 
  ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
14926
 
fi
14927
 
          ;;
14928
 
        -bI:*)
14929
 
            ac_exists=false
14930
 
  for ac_i in $ac_cv_f77_libs; do
14931
 
    if test x"$ac_arg" = x"$ac_i"; then
14932
 
      ac_exists=true
14933
 
      break
14934
 
    fi
14935
 
  done
14936
 
 
14937
 
  if test x"$ac_exists" = xtrue; then :
14938
 
 
14939
 
else
14940
 
  if test "$ac_compiler_gnu" = yes; then
14941
 
  for ac_link_opt in $ac_arg; do
14942
 
    ac_cv_f77_libs="$ac_cv_f77_libs -Xlinker $ac_link_opt"
14943
 
  done
14944
 
else
14945
 
  ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
14946
 
fi
14947
 
fi
14948
 
          ;;
14949
 
          # Ignore these flags.
14950
 
        -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \
14951
 
          |-LANG:=* | -LIST:* | -LNO:* | -link)
14952
 
          ;;
14953
 
        -lkernel32)
14954
 
          case $host_os in
14955
 
          *cygwin*) ;;
14956
 
          *) ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
14957
 
            ;;
14958
 
          esac
14959
 
          ;;
14960
 
        -[LRuYz])
14961
 
          # These flags, when seen by themselves, take an argument.
14962
 
          # We remove the space between option and argument and re-iterate
14963
 
          # unless we find an empty arg or a new option (starting with -)
14964
 
          case $2 in
14965
 
             "" | -*);;
14966
 
             *)
14967
 
                ac_arg="$ac_arg$2"
14968
 
                shift; shift
14969
 
                set X $ac_arg "$@"
14970
 
                ;;
14971
 
          esac
14972
 
          ;;
14973
 
        -YP,*)
14974
 
          for ac_j in `$as_echo "$ac_arg" | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do
14975
 
              ac_exists=false
14976
 
  for ac_i in $ac_cv_f77_libs; do
14977
 
    if test x"$ac_j" = x"$ac_i"; then
14978
 
      ac_exists=true
14979
 
      break
14980
 
    fi
14981
 
  done
14982
 
 
14983
 
  if test x"$ac_exists" = xtrue; then :
14984
 
 
14985
 
else
14986
 
  ac_arg="$ac_arg $ac_j"
14987
 
                               ac_cv_f77_libs="$ac_cv_f77_libs $ac_j"
14988
 
fi
14989
 
          done
14990
 
          ;;
14991
 
        -[lLR]*)
14992
 
            ac_exists=false
14993
 
  for ac_i in $ac_cv_f77_libs; do
14994
 
    if test x"$ac_arg" = x"$ac_i"; then
14995
 
      ac_exists=true
14996
 
      break
14997
 
    fi
14998
 
  done
14999
 
 
15000
 
  if test x"$ac_exists" = xtrue; then :
15001
 
 
15002
 
else
15003
 
  ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
15004
 
fi
15005
 
          ;;
15006
 
        -zallextract*| -zdefaultextract)
15007
 
          ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
15008
 
          ;;
15009
 
          # Ignore everything else.
15010
 
  esac
15011
 
done
15012
 
# restore positional arguments
15013
 
set X $ac_save_positional; shift
15014
 
 
15015
 
# We only consider "LD_RUN_PATH" on Solaris systems.  If this is seen,
15016
 
# then we insist that the "run path" must be an absolute path (i.e. it
15017
 
# must begin with a "/").
15018
 
case `(uname -sr) 2>/dev/null` in
15019
 
   "SunOS 5"*)
15020
 
      ac_ld_run_path=`$as_echo "$ac_f77_v_output" |
15021
 
                        sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'`
15022
 
      test "x$ac_ld_run_path" != x &&
15023
 
        if test "$ac_compiler_gnu" = yes; then
15024
 
  for ac_link_opt in $ac_ld_run_path; do
15025
 
    ac_cv_f77_libs="$ac_cv_f77_libs -Xlinker $ac_link_opt"
15026
 
  done
15027
 
else
15028
 
  ac_cv_f77_libs="$ac_cv_f77_libs $ac_ld_run_path"
15029
 
fi
15030
 
      ;;
15031
 
esac
15032
 
fi # test "x$[]_AC_LANG_PREFIX[]LIBS" = "x"
15033
 
 
15034
 
fi
15035
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_libs" >&5
15036
 
$as_echo "$ac_cv_f77_libs" >&6; }
15037
 
FLIBS="$ac_cv_f77_libs"
15038
 
 
15039
 
 
15040
 
ac_ext=c
15041
 
ac_cpp='$CPP $CPPFLAGS'
15042
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15043
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15044
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15045
 
 
15046
 
ac_ext=f
15047
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15048
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15049
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15050
 
 
15051
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dummy main to link with Fortran 77 libraries" >&5
15052
 
$as_echo_n "checking for dummy main to link with Fortran 77 libraries... " >&6; }
15053
 
if ${ac_cv_f77_dummy_main+:} false; then :
15054
 
  $as_echo_n "(cached) " >&6
15055
 
else
15056
 
  ac_f77_dm_save_LIBS=$LIBS
15057
 
 LIBS="$LIBS $FLIBS"
15058
 
 ac_fortran_dm_var=F77_DUMMY_MAIN
15059
 
 ac_ext=c
15060
 
ac_cpp='$CPP $CPPFLAGS'
15061
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15062
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15063
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15064
 
 
15065
 
 # First, try linking without a dummy main:
15066
 
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15067
 
/* end confdefs.h.  */
15068
 
 
15069
 
#ifdef F77_DUMMY_MAIN
15070
 
 
15071
 
#  ifdef __cplusplus
15072
 
     extern "C"
15073
 
#  endif
15074
 
   int F77_DUMMY_MAIN() { return 1; }
15075
 
 
15076
 
#endif
15077
 
int
15078
 
main ()
15079
 
{
15080
 
 
15081
 
  ;
15082
 
  return 0;
15083
 
}
15084
 
_ACEOF
15085
 
if ac_fn_c_try_link "$LINENO"; then :
15086
 
  ac_cv_fortran_dummy_main=none
15087
 
else
15088
 
  ac_cv_fortran_dummy_main=unknown
15089
 
fi
15090
 
rm -f core conftest.err conftest.$ac_objext \
15091
 
    conftest$ac_exeext conftest.$ac_ext
15092
 
 
15093
 
 if test $ac_cv_fortran_dummy_main = unknown; then
15094
 
   for ac_func in MAIN__ MAIN_ __main MAIN _MAIN __MAIN main_ main__ _main; do
15095
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15096
 
/* end confdefs.h.  */
15097
 
#define $ac_fortran_dm_var $ac_func
15098
 
#ifdef F77_DUMMY_MAIN
15099
 
 
15100
 
#  ifdef __cplusplus
15101
 
     extern "C"
15102
 
#  endif
15103
 
   int F77_DUMMY_MAIN() { return 1; }
15104
 
 
15105
 
#endif
15106
 
int
15107
 
main ()
15108
 
{
15109
 
 
15110
 
  ;
15111
 
  return 0;
15112
 
}
15113
 
_ACEOF
15114
 
if ac_fn_c_try_link "$LINENO"; then :
15115
 
  ac_cv_fortran_dummy_main=$ac_func; break
15116
 
fi
15117
 
rm -f core conftest.err conftest.$ac_objext \
15118
 
    conftest$ac_exeext conftest.$ac_ext
15119
 
   done
15120
 
 fi
15121
 
 ac_ext=f
15122
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15123
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15124
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15125
 
 ac_cv_f77_dummy_main=$ac_cv_fortran_dummy_main
15126
 
 rm -rf conftest*
15127
 
 LIBS=$ac_f77_dm_save_LIBS
15128
 
 
15129
 
fi
15130
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_dummy_main" >&5
15131
 
$as_echo "$ac_cv_f77_dummy_main" >&6; }
15132
 
F77_DUMMY_MAIN=$ac_cv_f77_dummy_main
15133
 
if test "$F77_DUMMY_MAIN" != unknown; then :
15134
 
  if test $F77_DUMMY_MAIN != none; then
15135
 
 
15136
 
cat >>confdefs.h <<_ACEOF
15137
 
#define F77_DUMMY_MAIN $F77_DUMMY_MAIN
15138
 
_ACEOF
15139
 
 
15140
 
  if test "x$ac_cv_fc_dummy_main" = "x$ac_cv_f77_dummy_main"; then
15141
 
 
15142
 
$as_echo "#define FC_DUMMY_MAIN_EQ_F77 1" >>confdefs.h
15143
 
 
15144
 
  fi
15145
 
fi
15146
 
else
15147
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15148
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15149
 
as_fn_error $? "linking to Fortran libraries from C fails
15150
 
See \`config.log' for more details" "$LINENO" 5; }
15151
 
fi
15152
 
 
15153
 
ac_ext=c
15154
 
ac_cpp='$CPP $CPPFLAGS'
15155
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15156
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15157
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15158
 
 
15159
 
ac_ext=f
15160
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15161
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15162
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15163
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 name-mangling scheme" >&5
15164
 
$as_echo_n "checking for Fortran 77 name-mangling scheme... " >&6; }
15165
 
if ${ac_cv_f77_mangling+:} false; then :
15166
 
  $as_echo_n "(cached) " >&6
15167
 
else
15168
 
  cat > conftest.$ac_ext <<_ACEOF
15169
 
      subroutine foobar()
15170
 
      return
15171
 
      end
15172
 
      subroutine foo_bar()
15173
 
      return
15174
 
      end
15175
 
_ACEOF
15176
 
if ac_fn_f77_try_compile "$LINENO"; then :
15177
 
  mv conftest.$ac_objext cfortran_test.$ac_objext
15178
 
 
15179
 
  ac_save_LIBS=$LIBS
15180
 
  LIBS="cfortran_test.$ac_objext $LIBS $FLIBS"
15181
 
 
15182
 
  ac_ext=c
15183
 
ac_cpp='$CPP $CPPFLAGS'
15184
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15185
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15186
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15187
 
  ac_success=no
15188
 
  for ac_foobar in foobar FOOBAR; do
15189
 
    for ac_underscore in "" "_"; do
15190
 
      ac_func="$ac_foobar$ac_underscore"
15191
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15192
 
/* end confdefs.h.  */
15193
 
 
15194
 
/* Override any GCC internal prototype to avoid an error.
15195
 
   Use char because int might match the return type of a GCC
15196
 
   builtin and then its argument prototype would still apply.  */
15197
 
#ifdef __cplusplus
15198
 
extern "C"
15199
 
#endif
15200
 
char $ac_func ();
15201
 
#ifdef F77_DUMMY_MAIN
15202
 
 
15203
 
#  ifdef __cplusplus
15204
 
     extern "C"
15205
 
#  endif
15206
 
   int F77_DUMMY_MAIN() { return 1; }
15207
 
 
15208
 
#endif
15209
 
int
15210
 
main ()
15211
 
{
15212
 
return $ac_func ();
15213
 
  ;
15214
 
  return 0;
15215
 
}
15216
 
_ACEOF
15217
 
if ac_fn_c_try_link "$LINENO"; then :
15218
 
  ac_success=yes; break 2
15219
 
fi
15220
 
rm -f core conftest.err conftest.$ac_objext \
15221
 
    conftest$ac_exeext conftest.$ac_ext
15222
 
    done
15223
 
  done
15224
 
  ac_ext=f
15225
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15226
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15227
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15228
 
 
15229
 
  if test "$ac_success" = "yes"; then
15230
 
     case $ac_foobar in
15231
 
        foobar)
15232
 
           ac_case=lower
15233
 
           ac_foo_bar=foo_bar
15234
 
           ;;
15235
 
        FOOBAR)
15236
 
           ac_case=upper
15237
 
           ac_foo_bar=FOO_BAR
15238
 
           ;;
15239
 
     esac
15240
 
 
15241
 
     ac_ext=c
15242
 
ac_cpp='$CPP $CPPFLAGS'
15243
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15244
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15245
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15246
 
     ac_success_extra=no
15247
 
     for ac_extra in "" "_"; do
15248
 
        ac_func="$ac_foo_bar$ac_underscore$ac_extra"
15249
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15250
 
/* end confdefs.h.  */
15251
 
 
15252
 
/* Override any GCC internal prototype to avoid an error.
15253
 
   Use char because int might match the return type of a GCC
15254
 
   builtin and then its argument prototype would still apply.  */
15255
 
#ifdef __cplusplus
15256
 
extern "C"
15257
 
#endif
15258
 
char $ac_func ();
15259
 
#ifdef F77_DUMMY_MAIN
15260
 
 
15261
 
#  ifdef __cplusplus
15262
 
     extern "C"
15263
 
#  endif
15264
 
   int F77_DUMMY_MAIN() { return 1; }
15265
 
 
15266
 
#endif
15267
 
int
15268
 
main ()
15269
 
{
15270
 
return $ac_func ();
15271
 
  ;
15272
 
  return 0;
15273
 
}
15274
 
_ACEOF
15275
 
if ac_fn_c_try_link "$LINENO"; then :
15276
 
  ac_success_extra=yes; break
15277
 
fi
15278
 
rm -f core conftest.err conftest.$ac_objext \
15279
 
    conftest$ac_exeext conftest.$ac_ext
15280
 
     done
15281
 
     ac_ext=f
15282
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15283
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15284
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15285
 
 
15286
 
     if test "$ac_success_extra" = "yes"; then
15287
 
        ac_cv_f77_mangling="$ac_case case"
15288
 
        if test -z "$ac_underscore"; then
15289
 
           ac_cv_f77_mangling="$ac_cv_f77_mangling, no underscore"
15290
 
        else
15291
 
           ac_cv_f77_mangling="$ac_cv_f77_mangling, underscore"
15292
 
        fi
15293
 
        if test -z "$ac_extra"; then
15294
 
           ac_cv_f77_mangling="$ac_cv_f77_mangling, no extra underscore"
15295
 
        else
15296
 
           ac_cv_f77_mangling="$ac_cv_f77_mangling, extra underscore"
15297
 
        fi
15298
 
      else
15299
 
        ac_cv_f77_mangling="unknown"
15300
 
      fi
15301
 
  else
15302
 
     ac_cv_f77_mangling="unknown"
15303
 
  fi
15304
 
 
15305
 
  LIBS=$ac_save_LIBS
15306
 
  rm -rf conftest*
15307
 
  rm -f cfortran_test*
15308
 
else
15309
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15310
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15311
 
as_fn_error $? "cannot compile a simple Fortran program
15312
 
See \`config.log' for more details" "$LINENO" 5; }
15313
 
fi
15314
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15315
 
 
15316
 
fi
15317
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_mangling" >&5
15318
 
$as_echo "$ac_cv_f77_mangling" >&6; }
15319
 
 
15320
 
ac_ext=c
15321
 
ac_cpp='$CPP $CPPFLAGS'
15322
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15323
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15324
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15325
 
 
15326
 
 
15327
 
 
15328
 
 
15329
 
ax_blas_ok=no
15330
 
 
15331
 
 
15332
 
# Check whether --with-blas was given.
15333
 
if test "${with_blas+set}" = set; then :
15334
 
  withval=$with_blas;
15335
 
fi
15336
 
 
15337
 
case $with_blas in
15338
 
        yes | "") ;;
15339
 
        no) ax_blas_ok=disable ;;
15340
 
        -* | */* | *.a | *.so | *.so.* | *.o) BLAS_LIBS="$with_blas" ;;
15341
 
        *) BLAS_LIBS="-l$with_blas" ;;
15342
 
esac
15343
 
 
15344
 
# Get fortran linker names of BLAS functions to check for.
15345
 
ac_ext=f
15346
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15347
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15348
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15349
 
case $ac_cv_f77_mangling in
15350
 
  upper*) ac_val="SGEMM" ;;
15351
 
  lower*) ac_val="sgemm" ;;
15352
 
  *)      ac_val="unknown" ;;
15353
 
esac
15354
 
case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
15355
 
 
15356
 
sgemm="$ac_val"
15357
 
 
15358
 
ac_ext=c
15359
 
ac_cpp='$CPP $CPPFLAGS'
15360
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15361
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15362
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15363
 
 
15364
 
ac_ext=f
15365
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15366
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15367
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15368
 
case $ac_cv_f77_mangling in
15369
 
  upper*) ac_val="DGEMM" ;;
15370
 
  lower*) ac_val="dgemm" ;;
15371
 
  *)      ac_val="unknown" ;;
15372
 
esac
15373
 
case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
15374
 
 
15375
 
dgemm="$ac_val"
15376
 
 
15377
 
ac_ext=c
15378
 
ac_cpp='$CPP $CPPFLAGS'
15379
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15380
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15381
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15382
 
 
15383
 
 
15384
 
ax_blas_save_LIBS="$LIBS"
15385
 
LIBS="$LIBS $FLIBS"
15386
 
 
15387
 
# First, check BLAS_LIBS environment variable
15388
 
if test $ax_blas_ok = no; then
15389
 
if test "x$BLAS_LIBS" != x; then
15390
 
        save_LIBS="$LIBS"; LIBS="$BLAS_LIBS $LIBS"
15391
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in $BLAS_LIBS" >&5
15392
 
$as_echo_n "checking for $sgemm in $BLAS_LIBS... " >&6; }
15393
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15394
 
/* end confdefs.h.  */
15395
 
 
15396
 
/* Override any GCC internal prototype to avoid an error.
15397
 
   Use char because int might match the return type of a GCC
15398
 
   builtin and then its argument prototype would still apply.  */
15399
 
#ifdef __cplusplus
15400
 
extern "C"
15401
 
#endif
15402
 
char $sgemm ();
15403
 
#ifdef F77_DUMMY_MAIN
15404
 
 
15405
 
#  ifdef __cplusplus
15406
 
     extern "C"
15407
 
#  endif
15408
 
   int F77_DUMMY_MAIN() { return 1; }
15409
 
 
15410
 
#endif
15411
 
int
15412
 
main ()
15413
 
{
15414
 
return $sgemm ();
15415
 
  ;
15416
 
  return 0;
15417
 
}
15418
 
_ACEOF
15419
 
if ac_fn_c_try_link "$LINENO"; then :
15420
 
  ax_blas_ok=yes
15421
 
else
15422
 
  BLAS_LIBS=""
15423
 
fi
15424
 
rm -f core conftest.err conftest.$ac_objext \
15425
 
    conftest$ac_exeext conftest.$ac_ext
15426
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_blas_ok" >&5
15427
 
$as_echo "$ax_blas_ok" >&6; }
15428
 
        LIBS="$save_LIBS"
15429
 
fi
15430
 
fi
15431
 
 
15432
 
# BLAS linked to by default?  (happens on some supercomputers)
15433
 
if test $ax_blas_ok = no; then
15434
 
        save_LIBS="$LIBS"; LIBS="$LIBS"
15435
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $sgemm is being linked in already" >&5
15436
 
$as_echo_n "checking if $sgemm is being linked in already... " >&6; }
15437
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15438
 
/* end confdefs.h.  */
15439
 
 
15440
 
/* Override any GCC internal prototype to avoid an error.
15441
 
   Use char because int might match the return type of a GCC
15442
 
   builtin and then its argument prototype would still apply.  */
15443
 
#ifdef __cplusplus
15444
 
extern "C"
15445
 
#endif
15446
 
char $sgemm ();
15447
 
#ifdef F77_DUMMY_MAIN
15448
 
 
15449
 
#  ifdef __cplusplus
15450
 
     extern "C"
15451
 
#  endif
15452
 
   int F77_DUMMY_MAIN() { return 1; }
15453
 
 
15454
 
#endif
15455
 
int
15456
 
main ()
15457
 
{
15458
 
return $sgemm ();
15459
 
  ;
15460
 
  return 0;
15461
 
}
15462
 
_ACEOF
15463
 
if ac_fn_c_try_link "$LINENO"; then :
15464
 
  ax_blas_ok=yes
15465
 
fi
15466
 
rm -f core conftest.err conftest.$ac_objext \
15467
 
    conftest$ac_exeext conftest.$ac_ext
15468
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_blas_ok" >&5
15469
 
$as_echo "$ax_blas_ok" >&6; }
15470
 
        LIBS="$save_LIBS"
15471
 
fi
15472
 
 
15473
 
# BLAS in ATLAS library? (http://math-atlas.sourceforge.net/)
15474
 
if test $ax_blas_ok = no; then
15475
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATL_xerbla in -latlas" >&5
15476
 
$as_echo_n "checking for ATL_xerbla in -latlas... " >&6; }
15477
 
if ${ac_cv_lib_atlas_ATL_xerbla+:} false; then :
15478
 
  $as_echo_n "(cached) " >&6
15479
 
else
15480
 
  ac_check_lib_save_LIBS=$LIBS
15481
 
LIBS="-latlas  $LIBS"
15482
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15483
 
/* end confdefs.h.  */
15484
 
 
15485
 
/* Override any GCC internal prototype to avoid an error.
15486
 
   Use char because int might match the return type of a GCC
15487
 
   builtin and then its argument prototype would still apply.  */
15488
 
#ifdef __cplusplus
15489
 
extern "C"
15490
 
#endif
15491
 
char ATL_xerbla ();
15492
 
#ifdef F77_DUMMY_MAIN
15493
 
 
15494
 
#  ifdef __cplusplus
15495
 
     extern "C"
15496
 
#  endif
15497
 
   int F77_DUMMY_MAIN() { return 1; }
15498
 
 
15499
 
#endif
15500
 
int
15501
 
main ()
15502
 
{
15503
 
return ATL_xerbla ();
15504
 
  ;
15505
 
  return 0;
15506
 
}
15507
 
_ACEOF
15508
 
if ac_fn_c_try_link "$LINENO"; then :
15509
 
  ac_cv_lib_atlas_ATL_xerbla=yes
15510
 
else
15511
 
  ac_cv_lib_atlas_ATL_xerbla=no
15512
 
fi
15513
 
rm -f core conftest.err conftest.$ac_objext \
15514
 
    conftest$ac_exeext conftest.$ac_ext
15515
 
LIBS=$ac_check_lib_save_LIBS
15516
 
fi
15517
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atlas_ATL_xerbla" >&5
15518
 
$as_echo "$ac_cv_lib_atlas_ATL_xerbla" >&6; }
15519
 
if test "x$ac_cv_lib_atlas_ATL_xerbla" = xyes; then :
15520
 
  as_ac_Lib=`$as_echo "ac_cv_lib_f77blas_$sgemm" | $as_tr_sh`
15521
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lf77blas" >&5
15522
 
$as_echo_n "checking for $sgemm in -lf77blas... " >&6; }
15523
 
if eval \${$as_ac_Lib+:} false; then :
15524
 
  $as_echo_n "(cached) " >&6
15525
 
else
15526
 
  ac_check_lib_save_LIBS=$LIBS
15527
 
LIBS="-lf77blas -latlas $LIBS"
15528
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15529
 
/* end confdefs.h.  */
15530
 
 
15531
 
/* Override any GCC internal prototype to avoid an error.
15532
 
   Use char because int might match the return type of a GCC
15533
 
   builtin and then its argument prototype would still apply.  */
15534
 
#ifdef __cplusplus
15535
 
extern "C"
15536
 
#endif
15537
 
char $sgemm ();
15538
 
#ifdef F77_DUMMY_MAIN
15539
 
 
15540
 
#  ifdef __cplusplus
15541
 
     extern "C"
15542
 
#  endif
15543
 
   int F77_DUMMY_MAIN() { return 1; }
15544
 
 
15545
 
#endif
15546
 
int
15547
 
main ()
15548
 
{
15549
 
return $sgemm ();
15550
 
  ;
15551
 
  return 0;
15552
 
}
15553
 
_ACEOF
15554
 
if ac_fn_c_try_link "$LINENO"; then :
15555
 
  eval "$as_ac_Lib=yes"
15556
 
else
15557
 
  eval "$as_ac_Lib=no"
15558
 
fi
15559
 
rm -f core conftest.err conftest.$ac_objext \
15560
 
    conftest$ac_exeext conftest.$ac_ext
15561
 
LIBS=$ac_check_lib_save_LIBS
15562
 
fi
15563
 
eval ac_res=\$$as_ac_Lib
15564
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15565
 
$as_echo "$ac_res" >&6; }
15566
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
15567
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_dgemm in -lcblas" >&5
15568
 
$as_echo_n "checking for cblas_dgemm in -lcblas... " >&6; }
15569
 
if ${ac_cv_lib_cblas_cblas_dgemm+:} false; then :
15570
 
  $as_echo_n "(cached) " >&6
15571
 
else
15572
 
  ac_check_lib_save_LIBS=$LIBS
15573
 
LIBS="-lcblas -lf77blas -latlas $LIBS"
15574
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15575
 
/* end confdefs.h.  */
15576
 
 
15577
 
/* Override any GCC internal prototype to avoid an error.
15578
 
   Use char because int might match the return type of a GCC
15579
 
   builtin and then its argument prototype would still apply.  */
15580
 
#ifdef __cplusplus
15581
 
extern "C"
15582
 
#endif
15583
 
char cblas_dgemm ();
15584
 
#ifdef F77_DUMMY_MAIN
15585
 
 
15586
 
#  ifdef __cplusplus
15587
 
     extern "C"
15588
 
#  endif
15589
 
   int F77_DUMMY_MAIN() { return 1; }
15590
 
 
15591
 
#endif
15592
 
int
15593
 
main ()
15594
 
{
15595
 
return cblas_dgemm ();
15596
 
  ;
15597
 
  return 0;
15598
 
}
15599
 
_ACEOF
15600
 
if ac_fn_c_try_link "$LINENO"; then :
15601
 
  ac_cv_lib_cblas_cblas_dgemm=yes
15602
 
else
15603
 
  ac_cv_lib_cblas_cblas_dgemm=no
15604
 
fi
15605
 
rm -f core conftest.err conftest.$ac_objext \
15606
 
    conftest$ac_exeext conftest.$ac_ext
15607
 
LIBS=$ac_check_lib_save_LIBS
15608
 
fi
15609
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cblas_cblas_dgemm" >&5
15610
 
$as_echo "$ac_cv_lib_cblas_cblas_dgemm" >&6; }
15611
 
if test "x$ac_cv_lib_cblas_cblas_dgemm" = xyes; then :
15612
 
  ax_blas_ok=yes
15613
 
                         BLAS_LIBS="-lcblas -lf77blas -latlas"
15614
 
fi
15615
 
 
15616
 
fi
15617
 
 
15618
 
fi
15619
 
 
15620
 
fi
15621
 
 
15622
 
# BLAS in PhiPACK libraries? (requires generic BLAS lib, too)
15623
 
if test $ax_blas_ok = no; then
15624
 
        as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`
15625
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&5
15626
 
$as_echo_n "checking for $sgemm in -lblas... " >&6; }
15627
 
if eval \${$as_ac_Lib+:} false; then :
15628
 
  $as_echo_n "(cached) " >&6
15629
 
else
15630
 
  ac_check_lib_save_LIBS=$LIBS
15631
 
LIBS="-lblas  $LIBS"
15632
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15633
 
/* end confdefs.h.  */
15634
 
 
15635
 
/* Override any GCC internal prototype to avoid an error.
15636
 
   Use char because int might match the return type of a GCC
15637
 
   builtin and then its argument prototype would still apply.  */
15638
 
#ifdef __cplusplus
15639
 
extern "C"
15640
 
#endif
15641
 
char $sgemm ();
15642
 
#ifdef F77_DUMMY_MAIN
15643
 
 
15644
 
#  ifdef __cplusplus
15645
 
     extern "C"
15646
 
#  endif
15647
 
   int F77_DUMMY_MAIN() { return 1; }
15648
 
 
15649
 
#endif
15650
 
int
15651
 
main ()
15652
 
{
15653
 
return $sgemm ();
15654
 
  ;
15655
 
  return 0;
15656
 
}
15657
 
_ACEOF
15658
 
if ac_fn_c_try_link "$LINENO"; then :
15659
 
  eval "$as_ac_Lib=yes"
15660
 
else
15661
 
  eval "$as_ac_Lib=no"
15662
 
fi
15663
 
rm -f core conftest.err conftest.$ac_objext \
15664
 
    conftest$ac_exeext conftest.$ac_ext
15665
 
LIBS=$ac_check_lib_save_LIBS
15666
 
fi
15667
 
eval ac_res=\$$as_ac_Lib
15668
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15669
 
$as_echo "$ac_res" >&6; }
15670
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
15671
 
  as_ac_Lib=`$as_echo "ac_cv_lib_dgemm_$dgemm" | $as_tr_sh`
15672
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dgemm in -ldgemm" >&5
15673
 
$as_echo_n "checking for $dgemm in -ldgemm... " >&6; }
15674
 
if eval \${$as_ac_Lib+:} false; then :
15675
 
  $as_echo_n "(cached) " >&6
15676
 
else
15677
 
  ac_check_lib_save_LIBS=$LIBS
15678
 
LIBS="-ldgemm -lblas $LIBS"
15679
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15680
 
/* end confdefs.h.  */
15681
 
 
15682
 
/* Override any GCC internal prototype to avoid an error.
15683
 
   Use char because int might match the return type of a GCC
15684
 
   builtin and then its argument prototype would still apply.  */
15685
 
#ifdef __cplusplus
15686
 
extern "C"
15687
 
#endif
15688
 
char $dgemm ();
15689
 
#ifdef F77_DUMMY_MAIN
15690
 
 
15691
 
#  ifdef __cplusplus
15692
 
     extern "C"
15693
 
#  endif
15694
 
   int F77_DUMMY_MAIN() { return 1; }
15695
 
 
15696
 
#endif
15697
 
int
15698
 
main ()
15699
 
{
15700
 
return $dgemm ();
15701
 
  ;
15702
 
  return 0;
15703
 
}
15704
 
_ACEOF
15705
 
if ac_fn_c_try_link "$LINENO"; then :
15706
 
  eval "$as_ac_Lib=yes"
15707
 
else
15708
 
  eval "$as_ac_Lib=no"
15709
 
fi
15710
 
rm -f core conftest.err conftest.$ac_objext \
15711
 
    conftest$ac_exeext conftest.$ac_ext
15712
 
LIBS=$ac_check_lib_save_LIBS
15713
 
fi
15714
 
eval ac_res=\$$as_ac_Lib
15715
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15716
 
$as_echo "$ac_res" >&6; }
15717
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
15718
 
  as_ac_Lib=`$as_echo "ac_cv_lib_sgemm_$sgemm" | $as_tr_sh`
15719
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lsgemm" >&5
15720
 
$as_echo_n "checking for $sgemm in -lsgemm... " >&6; }
15721
 
if eval \${$as_ac_Lib+:} false; then :
15722
 
  $as_echo_n "(cached) " >&6
15723
 
else
15724
 
  ac_check_lib_save_LIBS=$LIBS
15725
 
LIBS="-lsgemm -lblas $LIBS"
15726
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15727
 
/* end confdefs.h.  */
15728
 
 
15729
 
/* Override any GCC internal prototype to avoid an error.
15730
 
   Use char because int might match the return type of a GCC
15731
 
   builtin and then its argument prototype would still apply.  */
15732
 
#ifdef __cplusplus
15733
 
extern "C"
15734
 
#endif
15735
 
char $sgemm ();
15736
 
#ifdef F77_DUMMY_MAIN
15737
 
 
15738
 
#  ifdef __cplusplus
15739
 
     extern "C"
15740
 
#  endif
15741
 
   int F77_DUMMY_MAIN() { return 1; }
15742
 
 
15743
 
#endif
15744
 
int
15745
 
main ()
15746
 
{
15747
 
return $sgemm ();
15748
 
  ;
15749
 
  return 0;
15750
 
}
15751
 
_ACEOF
15752
 
if ac_fn_c_try_link "$LINENO"; then :
15753
 
  eval "$as_ac_Lib=yes"
15754
 
else
15755
 
  eval "$as_ac_Lib=no"
15756
 
fi
15757
 
rm -f core conftest.err conftest.$ac_objext \
15758
 
    conftest$ac_exeext conftest.$ac_ext
15759
 
LIBS=$ac_check_lib_save_LIBS
15760
 
fi
15761
 
eval ac_res=\$$as_ac_Lib
15762
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15763
 
$as_echo "$ac_res" >&6; }
15764
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
15765
 
  ax_blas_ok=yes; BLAS_LIBS="-lsgemm -ldgemm -lblas"
15766
 
fi
15767
 
 
15768
 
fi
15769
 
 
15770
 
fi
15771
 
 
15772
 
fi
15773
 
 
15774
 
# BLAS in Intel MKL library?
15775
 
if test $ax_blas_ok = no; then
15776
 
        as_ac_Lib=`$as_echo "ac_cv_lib_mkl_$sgemm" | $as_tr_sh`
15777
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lmkl" >&5
15778
 
$as_echo_n "checking for $sgemm in -lmkl... " >&6; }
15779
 
if eval \${$as_ac_Lib+:} false; then :
15780
 
  $as_echo_n "(cached) " >&6
15781
 
else
15782
 
  ac_check_lib_save_LIBS=$LIBS
15783
 
LIBS="-lmkl  $LIBS"
15784
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15785
 
/* end confdefs.h.  */
15786
 
 
15787
 
/* Override any GCC internal prototype to avoid an error.
15788
 
   Use char because int might match the return type of a GCC
15789
 
   builtin and then its argument prototype would still apply.  */
15790
 
#ifdef __cplusplus
15791
 
extern "C"
15792
 
#endif
15793
 
char $sgemm ();
15794
 
#ifdef F77_DUMMY_MAIN
15795
 
 
15796
 
#  ifdef __cplusplus
15797
 
     extern "C"
15798
 
#  endif
15799
 
   int F77_DUMMY_MAIN() { return 1; }
15800
 
 
15801
 
#endif
15802
 
int
15803
 
main ()
15804
 
{
15805
 
return $sgemm ();
15806
 
  ;
15807
 
  return 0;
15808
 
}
15809
 
_ACEOF
15810
 
if ac_fn_c_try_link "$LINENO"; then :
15811
 
  eval "$as_ac_Lib=yes"
15812
 
else
15813
 
  eval "$as_ac_Lib=no"
15814
 
fi
15815
 
rm -f core conftest.err conftest.$ac_objext \
15816
 
    conftest$ac_exeext conftest.$ac_ext
15817
 
LIBS=$ac_check_lib_save_LIBS
15818
 
fi
15819
 
eval ac_res=\$$as_ac_Lib
15820
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15821
 
$as_echo "$ac_res" >&6; }
15822
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
15823
 
  ax_blas_ok=yes;BLAS_LIBS="-lmkl"
15824
 
fi
15825
 
 
15826
 
fi
15827
 
 
15828
 
# BLAS in Apple vecLib library?
15829
 
if test $ax_blas_ok = no; then
15830
 
        save_LIBS="$LIBS"; LIBS="-framework vecLib $LIBS"
15831
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -framework vecLib" >&5
15832
 
$as_echo_n "checking for $sgemm in -framework vecLib... " >&6; }
15833
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15834
 
/* end confdefs.h.  */
15835
 
 
15836
 
/* Override any GCC internal prototype to avoid an error.
15837
 
   Use char because int might match the return type of a GCC
15838
 
   builtin and then its argument prototype would still apply.  */
15839
 
#ifdef __cplusplus
15840
 
extern "C"
15841
 
#endif
15842
 
char $sgemm ();
15843
 
#ifdef F77_DUMMY_MAIN
15844
 
 
15845
 
#  ifdef __cplusplus
15846
 
     extern "C"
15847
 
#  endif
15848
 
   int F77_DUMMY_MAIN() { return 1; }
15849
 
 
15850
 
#endif
15851
 
int
15852
 
main ()
15853
 
{
15854
 
return $sgemm ();
15855
 
  ;
15856
 
  return 0;
15857
 
}
15858
 
_ACEOF
15859
 
if ac_fn_c_try_link "$LINENO"; then :
15860
 
  ax_blas_ok=yes;BLAS_LIBS="-framework vecLib"
15861
 
fi
15862
 
rm -f core conftest.err conftest.$ac_objext \
15863
 
    conftest$ac_exeext conftest.$ac_ext
15864
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_blas_ok" >&5
15865
 
$as_echo "$ax_blas_ok" >&6; }
15866
 
        LIBS="$save_LIBS"
15867
 
fi
15868
 
 
15869
 
# BLAS in Alpha CXML library?
15870
 
if test $ax_blas_ok = no; then
15871
 
        as_ac_Lib=`$as_echo "ac_cv_lib_cxml_$sgemm" | $as_tr_sh`
15872
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lcxml" >&5
15873
 
$as_echo_n "checking for $sgemm in -lcxml... " >&6; }
15874
 
if eval \${$as_ac_Lib+:} false; then :
15875
 
  $as_echo_n "(cached) " >&6
15876
 
else
15877
 
  ac_check_lib_save_LIBS=$LIBS
15878
 
LIBS="-lcxml  $LIBS"
15879
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15880
 
/* end confdefs.h.  */
15881
 
 
15882
 
/* Override any GCC internal prototype to avoid an error.
15883
 
   Use char because int might match the return type of a GCC
15884
 
   builtin and then its argument prototype would still apply.  */
15885
 
#ifdef __cplusplus
15886
 
extern "C"
15887
 
#endif
15888
 
char $sgemm ();
15889
 
#ifdef F77_DUMMY_MAIN
15890
 
 
15891
 
#  ifdef __cplusplus
15892
 
     extern "C"
15893
 
#  endif
15894
 
   int F77_DUMMY_MAIN() { return 1; }
15895
 
 
15896
 
#endif
15897
 
int
15898
 
main ()
15899
 
{
15900
 
return $sgemm ();
15901
 
  ;
15902
 
  return 0;
15903
 
}
15904
 
_ACEOF
15905
 
if ac_fn_c_try_link "$LINENO"; then :
15906
 
  eval "$as_ac_Lib=yes"
15907
 
else
15908
 
  eval "$as_ac_Lib=no"
15909
 
fi
15910
 
rm -f core conftest.err conftest.$ac_objext \
15911
 
    conftest$ac_exeext conftest.$ac_ext
15912
 
LIBS=$ac_check_lib_save_LIBS
15913
 
fi
15914
 
eval ac_res=\$$as_ac_Lib
15915
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15916
 
$as_echo "$ac_res" >&6; }
15917
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
15918
 
  ax_blas_ok=yes;BLAS_LIBS="-lcxml"
15919
 
fi
15920
 
 
15921
 
fi
15922
 
 
15923
 
# BLAS in Alpha DXML library? (now called CXML, see above)
15924
 
if test $ax_blas_ok = no; then
15925
 
        as_ac_Lib=`$as_echo "ac_cv_lib_dxml_$sgemm" | $as_tr_sh`
15926
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -ldxml" >&5
15927
 
$as_echo_n "checking for $sgemm in -ldxml... " >&6; }
15928
 
if eval \${$as_ac_Lib+:} false; then :
15929
 
  $as_echo_n "(cached) " >&6
15930
 
else
15931
 
  ac_check_lib_save_LIBS=$LIBS
15932
 
LIBS="-ldxml  $LIBS"
15933
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15934
 
/* end confdefs.h.  */
15935
 
 
15936
 
/* Override any GCC internal prototype to avoid an error.
15937
 
   Use char because int might match the return type of a GCC
15938
 
   builtin and then its argument prototype would still apply.  */
15939
 
#ifdef __cplusplus
15940
 
extern "C"
15941
 
#endif
15942
 
char $sgemm ();
15943
 
#ifdef F77_DUMMY_MAIN
15944
 
 
15945
 
#  ifdef __cplusplus
15946
 
     extern "C"
15947
 
#  endif
15948
 
   int F77_DUMMY_MAIN() { return 1; }
15949
 
 
15950
 
#endif
15951
 
int
15952
 
main ()
15953
 
{
15954
 
return $sgemm ();
15955
 
  ;
15956
 
  return 0;
15957
 
}
15958
 
_ACEOF
15959
 
if ac_fn_c_try_link "$LINENO"; then :
15960
 
  eval "$as_ac_Lib=yes"
15961
 
else
15962
 
  eval "$as_ac_Lib=no"
15963
 
fi
15964
 
rm -f core conftest.err conftest.$ac_objext \
15965
 
    conftest$ac_exeext conftest.$ac_ext
15966
 
LIBS=$ac_check_lib_save_LIBS
15967
 
fi
15968
 
eval ac_res=\$$as_ac_Lib
15969
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15970
 
$as_echo "$ac_res" >&6; }
15971
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
15972
 
  ax_blas_ok=yes;BLAS_LIBS="-ldxml"
15973
 
fi
15974
 
 
15975
 
fi
15976
 
 
15977
 
# BLAS in Sun Performance library?
15978
 
if test $ax_blas_ok = no; then
15979
 
        if test "x$GCC" != xyes; then # only works with Sun CC
15980
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosp in -lsunmath" >&5
15981
 
$as_echo_n "checking for acosp in -lsunmath... " >&6; }
15982
 
if ${ac_cv_lib_sunmath_acosp+:} false; then :
15983
 
  $as_echo_n "(cached) " >&6
15984
 
else
15985
 
  ac_check_lib_save_LIBS=$LIBS
15986
 
LIBS="-lsunmath  $LIBS"
15987
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15988
 
/* end confdefs.h.  */
15989
 
 
15990
 
/* Override any GCC internal prototype to avoid an error.
15991
 
   Use char because int might match the return type of a GCC
15992
 
   builtin and then its argument prototype would still apply.  */
15993
 
#ifdef __cplusplus
15994
 
extern "C"
15995
 
#endif
15996
 
char acosp ();
15997
 
#ifdef F77_DUMMY_MAIN
15998
 
 
15999
 
#  ifdef __cplusplus
16000
 
     extern "C"
16001
 
#  endif
16002
 
   int F77_DUMMY_MAIN() { return 1; }
16003
 
 
16004
 
#endif
16005
 
int
16006
 
main ()
16007
 
{
16008
 
return acosp ();
16009
 
  ;
16010
 
  return 0;
16011
 
}
16012
 
_ACEOF
16013
 
if ac_fn_c_try_link "$LINENO"; then :
16014
 
  ac_cv_lib_sunmath_acosp=yes
16015
 
else
16016
 
  ac_cv_lib_sunmath_acosp=no
16017
 
fi
16018
 
rm -f core conftest.err conftest.$ac_objext \
16019
 
    conftest$ac_exeext conftest.$ac_ext
16020
 
LIBS=$ac_check_lib_save_LIBS
16021
 
fi
16022
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sunmath_acosp" >&5
16023
 
$as_echo "$ac_cv_lib_sunmath_acosp" >&6; }
16024
 
if test "x$ac_cv_lib_sunmath_acosp" = xyes; then :
16025
 
  as_ac_Lib=`$as_echo "ac_cv_lib_sunperf_$sgemm" | $as_tr_sh`
16026
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lsunperf" >&5
16027
 
$as_echo_n "checking for $sgemm in -lsunperf... " >&6; }
16028
 
if eval \${$as_ac_Lib+:} false; then :
16029
 
  $as_echo_n "(cached) " >&6
16030
 
else
16031
 
  ac_check_lib_save_LIBS=$LIBS
16032
 
LIBS="-lsunperf -lsunmath $LIBS"
16033
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16034
 
/* end confdefs.h.  */
16035
 
 
16036
 
/* Override any GCC internal prototype to avoid an error.
16037
 
   Use char because int might match the return type of a GCC
16038
 
   builtin and then its argument prototype would still apply.  */
16039
 
#ifdef __cplusplus
16040
 
extern "C"
16041
 
#endif
16042
 
char $sgemm ();
16043
 
#ifdef F77_DUMMY_MAIN
16044
 
 
16045
 
#  ifdef __cplusplus
16046
 
     extern "C"
16047
 
#  endif
16048
 
   int F77_DUMMY_MAIN() { return 1; }
16049
 
 
16050
 
#endif
16051
 
int
16052
 
main ()
16053
 
{
16054
 
return $sgemm ();
16055
 
  ;
16056
 
  return 0;
16057
 
}
16058
 
_ACEOF
16059
 
if ac_fn_c_try_link "$LINENO"; then :
16060
 
  eval "$as_ac_Lib=yes"
16061
 
else
16062
 
  eval "$as_ac_Lib=no"
16063
 
fi
16064
 
rm -f core conftest.err conftest.$ac_objext \
16065
 
    conftest$ac_exeext conftest.$ac_ext
16066
 
LIBS=$ac_check_lib_save_LIBS
16067
 
fi
16068
 
eval ac_res=\$$as_ac_Lib
16069
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16070
 
$as_echo "$ac_res" >&6; }
16071
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
16072
 
  BLAS_LIBS="-xlic_lib=sunperf -lsunmath"
16073
 
                                 ax_blas_ok=yes
16074
 
fi
16075
 
 
16076
 
fi
16077
 
 
16078
 
        fi
16079
 
fi
16080
 
 
16081
 
# BLAS in SCSL library?  (SGI/Cray Scientific Library)
16082
 
if test $ax_blas_ok = no; then
16083
 
        as_ac_Lib=`$as_echo "ac_cv_lib_scs_$sgemm" | $as_tr_sh`
16084
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lscs" >&5
16085
 
$as_echo_n "checking for $sgemm in -lscs... " >&6; }
16086
 
if eval \${$as_ac_Lib+:} false; then :
16087
 
  $as_echo_n "(cached) " >&6
16088
 
else
16089
 
  ac_check_lib_save_LIBS=$LIBS
16090
 
LIBS="-lscs  $LIBS"
16091
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16092
 
/* end confdefs.h.  */
16093
 
 
16094
 
/* Override any GCC internal prototype to avoid an error.
16095
 
   Use char because int might match the return type of a GCC
16096
 
   builtin and then its argument prototype would still apply.  */
16097
 
#ifdef __cplusplus
16098
 
extern "C"
16099
 
#endif
16100
 
char $sgemm ();
16101
 
#ifdef F77_DUMMY_MAIN
16102
 
 
16103
 
#  ifdef __cplusplus
16104
 
     extern "C"
16105
 
#  endif
16106
 
   int F77_DUMMY_MAIN() { return 1; }
16107
 
 
16108
 
#endif
16109
 
int
16110
 
main ()
16111
 
{
16112
 
return $sgemm ();
16113
 
  ;
16114
 
  return 0;
16115
 
}
16116
 
_ACEOF
16117
 
if ac_fn_c_try_link "$LINENO"; then :
16118
 
  eval "$as_ac_Lib=yes"
16119
 
else
16120
 
  eval "$as_ac_Lib=no"
16121
 
fi
16122
 
rm -f core conftest.err conftest.$ac_objext \
16123
 
    conftest$ac_exeext conftest.$ac_ext
16124
 
LIBS=$ac_check_lib_save_LIBS
16125
 
fi
16126
 
eval ac_res=\$$as_ac_Lib
16127
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16128
 
$as_echo "$ac_res" >&6; }
16129
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
16130
 
  ax_blas_ok=yes; BLAS_LIBS="-lscs"
16131
 
fi
16132
 
 
16133
 
fi
16134
 
 
16135
 
# BLAS in SGIMATH library?
16136
 
if test $ax_blas_ok = no; then
16137
 
        as_ac_Lib=`$as_echo "ac_cv_lib_complib.sgimath_$sgemm" | $as_tr_sh`
16138
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lcomplib.sgimath" >&5
16139
 
$as_echo_n "checking for $sgemm in -lcomplib.sgimath... " >&6; }
16140
 
if eval \${$as_ac_Lib+:} false; then :
16141
 
  $as_echo_n "(cached) " >&6
16142
 
else
16143
 
  ac_check_lib_save_LIBS=$LIBS
16144
 
LIBS="-lcomplib.sgimath  $LIBS"
16145
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16146
 
/* end confdefs.h.  */
16147
 
 
16148
 
/* Override any GCC internal prototype to avoid an error.
16149
 
   Use char because int might match the return type of a GCC
16150
 
   builtin and then its argument prototype would still apply.  */
16151
 
#ifdef __cplusplus
16152
 
extern "C"
16153
 
#endif
16154
 
char $sgemm ();
16155
 
#ifdef F77_DUMMY_MAIN
16156
 
 
16157
 
#  ifdef __cplusplus
16158
 
     extern "C"
16159
 
#  endif
16160
 
   int F77_DUMMY_MAIN() { return 1; }
16161
 
 
16162
 
#endif
16163
 
int
16164
 
main ()
16165
 
{
16166
 
return $sgemm ();
16167
 
  ;
16168
 
  return 0;
16169
 
}
16170
 
_ACEOF
16171
 
if ac_fn_c_try_link "$LINENO"; then :
16172
 
  eval "$as_ac_Lib=yes"
16173
 
else
16174
 
  eval "$as_ac_Lib=no"
16175
 
fi
16176
 
rm -f core conftest.err conftest.$ac_objext \
16177
 
    conftest$ac_exeext conftest.$ac_ext
16178
 
LIBS=$ac_check_lib_save_LIBS
16179
 
fi
16180
 
eval ac_res=\$$as_ac_Lib
16181
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16182
 
$as_echo "$ac_res" >&6; }
16183
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
16184
 
  ax_blas_ok=yes; BLAS_LIBS="-lcomplib.sgimath"
16185
 
fi
16186
 
 
16187
 
fi
16188
 
 
16189
 
# BLAS in IBM ESSL library? (requires generic BLAS lib, too)
16190
 
if test $ax_blas_ok = no; then
16191
 
        as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`
16192
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&5
16193
 
$as_echo_n "checking for $sgemm in -lblas... " >&6; }
16194
 
if eval \${$as_ac_Lib+:} false; then :
16195
 
  $as_echo_n "(cached) " >&6
16196
 
else
16197
 
  ac_check_lib_save_LIBS=$LIBS
16198
 
LIBS="-lblas  $LIBS"
16199
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16200
 
/* end confdefs.h.  */
16201
 
 
16202
 
/* Override any GCC internal prototype to avoid an error.
16203
 
   Use char because int might match the return type of a GCC
16204
 
   builtin and then its argument prototype would still apply.  */
16205
 
#ifdef __cplusplus
16206
 
extern "C"
16207
 
#endif
16208
 
char $sgemm ();
16209
 
#ifdef F77_DUMMY_MAIN
16210
 
 
16211
 
#  ifdef __cplusplus
16212
 
     extern "C"
16213
 
#  endif
16214
 
   int F77_DUMMY_MAIN() { return 1; }
16215
 
 
16216
 
#endif
16217
 
int
16218
 
main ()
16219
 
{
16220
 
return $sgemm ();
16221
 
  ;
16222
 
  return 0;
16223
 
}
16224
 
_ACEOF
16225
 
if ac_fn_c_try_link "$LINENO"; then :
16226
 
  eval "$as_ac_Lib=yes"
16227
 
else
16228
 
  eval "$as_ac_Lib=no"
16229
 
fi
16230
 
rm -f core conftest.err conftest.$ac_objext \
16231
 
    conftest$ac_exeext conftest.$ac_ext
16232
 
LIBS=$ac_check_lib_save_LIBS
16233
 
fi
16234
 
eval ac_res=\$$as_ac_Lib
16235
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16236
 
$as_echo "$ac_res" >&6; }
16237
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
16238
 
  as_ac_Lib=`$as_echo "ac_cv_lib_essl_$sgemm" | $as_tr_sh`
16239
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lessl" >&5
16240
 
$as_echo_n "checking for $sgemm in -lessl... " >&6; }
16241
 
if eval \${$as_ac_Lib+:} false; then :
16242
 
  $as_echo_n "(cached) " >&6
16243
 
else
16244
 
  ac_check_lib_save_LIBS=$LIBS
16245
 
LIBS="-lessl -lblas $FLIBS $LIBS"
16246
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16247
 
/* end confdefs.h.  */
16248
 
 
16249
 
/* Override any GCC internal prototype to avoid an error.
16250
 
   Use char because int might match the return type of a GCC
16251
 
   builtin and then its argument prototype would still apply.  */
16252
 
#ifdef __cplusplus
16253
 
extern "C"
16254
 
#endif
16255
 
char $sgemm ();
16256
 
#ifdef F77_DUMMY_MAIN
16257
 
 
16258
 
#  ifdef __cplusplus
16259
 
     extern "C"
16260
 
#  endif
16261
 
   int F77_DUMMY_MAIN() { return 1; }
16262
 
 
16263
 
#endif
16264
 
int
16265
 
main ()
16266
 
{
16267
 
return $sgemm ();
16268
 
  ;
16269
 
  return 0;
16270
 
}
16271
 
_ACEOF
16272
 
if ac_fn_c_try_link "$LINENO"; then :
16273
 
  eval "$as_ac_Lib=yes"
16274
 
else
16275
 
  eval "$as_ac_Lib=no"
16276
 
fi
16277
 
rm -f core conftest.err conftest.$ac_objext \
16278
 
    conftest$ac_exeext conftest.$ac_ext
16279
 
LIBS=$ac_check_lib_save_LIBS
16280
 
fi
16281
 
eval ac_res=\$$as_ac_Lib
16282
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16283
 
$as_echo "$ac_res" >&6; }
16284
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
16285
 
  ax_blas_ok=yes; BLAS_LIBS="-lessl -lblas"
16286
 
fi
16287
 
 
16288
 
fi
16289
 
 
16290
 
fi
16291
 
 
16292
 
# Generic BLAS library?
16293
 
if test $ax_blas_ok = no; then
16294
 
        as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`
16295
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&5
16296
 
$as_echo_n "checking for $sgemm in -lblas... " >&6; }
16297
 
if eval \${$as_ac_Lib+:} false; then :
16298
 
  $as_echo_n "(cached) " >&6
16299
 
else
16300
 
  ac_check_lib_save_LIBS=$LIBS
16301
 
LIBS="-lblas  $LIBS"
16302
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16303
 
/* end confdefs.h.  */
16304
 
 
16305
 
/* Override any GCC internal prototype to avoid an error.
16306
 
   Use char because int might match the return type of a GCC
16307
 
   builtin and then its argument prototype would still apply.  */
16308
 
#ifdef __cplusplus
16309
 
extern "C"
16310
 
#endif
16311
 
char $sgemm ();
16312
 
#ifdef F77_DUMMY_MAIN
16313
 
 
16314
 
#  ifdef __cplusplus
16315
 
     extern "C"
16316
 
#  endif
16317
 
   int F77_DUMMY_MAIN() { return 1; }
16318
 
 
16319
 
#endif
16320
 
int
16321
 
main ()
16322
 
{
16323
 
return $sgemm ();
16324
 
  ;
16325
 
  return 0;
16326
 
}
16327
 
_ACEOF
16328
 
if ac_fn_c_try_link "$LINENO"; then :
16329
 
  eval "$as_ac_Lib=yes"
16330
 
else
16331
 
  eval "$as_ac_Lib=no"
16332
 
fi
16333
 
rm -f core conftest.err conftest.$ac_objext \
16334
 
    conftest$ac_exeext conftest.$ac_ext
16335
 
LIBS=$ac_check_lib_save_LIBS
16336
 
fi
16337
 
eval ac_res=\$$as_ac_Lib
16338
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16339
 
$as_echo "$ac_res" >&6; }
16340
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
16341
 
  ax_blas_ok=yes; BLAS_LIBS="-lblas"
16342
 
fi
16343
 
 
16344
 
fi
16345
 
 
16346
 
 
16347
 
 
16348
 
LIBS="$ax_blas_save_LIBS"
16349
 
 
16350
 
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
16351
 
if test x"$ax_blas_ok" = xyes; then
16352
 
 
16353
 
$as_echo "#define HAVE_BLAS 1" >>confdefs.h
16354
 
 
16355
 
        :
16356
 
else
16357
 
        ax_blas_ok=no
16358
 
 
16359
 
fi
16360
 
 
16361
 
if test "$ax_blas_ok" = "no"; then
16362
 
   as_fn_error $? "Cannot find BLAS libraries" "$LINENO" 5
16363
 
fi
16364
 
 
16365
 
 
16366
 
 
16367
 
 
16368
 
ax_lapack_ok=no
16369
 
 
16370
 
 
16371
 
# Check whether --with-lapack was given.
16372
 
if test "${with_lapack+set}" = set; then :
16373
 
  withval=$with_lapack;
16374
 
fi
16375
 
 
16376
 
case $with_lapack in
16377
 
        yes | "") ;;
16378
 
        no) ax_lapack_ok=disable ;;
16379
 
        -* | */* | *.a | *.so | *.so.* | *.o) LAPACK_LIBS="$with_lapack" ;;
16380
 
        *) LAPACK_LIBS="-l$with_lapack" ;;
16381
 
esac
16382
 
 
16383
 
# Get fortran linker name of LAPACK function to check for.
16384
 
ac_ext=f
16385
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16386
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16387
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16388
 
case $ac_cv_f77_mangling in
16389
 
  upper*) ac_val="CHEEV" ;;
16390
 
  lower*) ac_val="cheev" ;;
16391
 
  *)      ac_val="unknown" ;;
16392
 
esac
16393
 
case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
16394
 
 
16395
 
cheev="$ac_val"
16396
 
 
16397
 
ac_ext=c
16398
 
ac_cpp='$CPP $CPPFLAGS'
16399
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16400
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16401
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16402
 
 
16403
 
 
16404
 
# We cannot use LAPACK if BLAS is not found
16405
 
if test "x$ax_blas_ok" != xyes; then
16406
 
        ax_lapack_ok=noblas
16407
 
        LAPACK_LIBS=""
16408
 
fi
16409
 
 
16410
 
# First, check LAPACK_LIBS environment variable
16411
 
if test "x$LAPACK_LIBS" != x; then
16412
 
        save_LIBS="$LIBS"; LIBS="$LAPACK_LIBS $BLAS_LIBS $LIBS $FLIBS"
16413
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $cheev in $LAPACK_LIBS" >&5
16414
 
$as_echo_n "checking for $cheev in $LAPACK_LIBS... " >&6; }
16415
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16416
 
/* end confdefs.h.  */
16417
 
 
16418
 
/* Override any GCC internal prototype to avoid an error.
16419
 
   Use char because int might match the return type of a GCC
16420
 
   builtin and then its argument prototype would still apply.  */
16421
 
#ifdef __cplusplus
16422
 
extern "C"
16423
 
#endif
16424
 
char $cheev ();
16425
 
#ifdef F77_DUMMY_MAIN
16426
 
 
16427
 
#  ifdef __cplusplus
16428
 
     extern "C"
16429
 
#  endif
16430
 
   int F77_DUMMY_MAIN() { return 1; }
16431
 
 
16432
 
#endif
16433
 
int
16434
 
main ()
16435
 
{
16436
 
return $cheev ();
16437
 
  ;
16438
 
  return 0;
16439
 
}
16440
 
_ACEOF
16441
 
if ac_fn_c_try_link "$LINENO"; then :
16442
 
  ax_lapack_ok=yes
16443
 
else
16444
 
  LAPACK_LIBS=""
16445
 
fi
16446
 
rm -f core conftest.err conftest.$ac_objext \
16447
 
    conftest$ac_exeext conftest.$ac_ext
16448
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_lapack_ok" >&5
16449
 
$as_echo "$ax_lapack_ok" >&6; }
16450
 
        LIBS="$save_LIBS"
16451
 
        if test $ax_lapack_ok = no; then
16452
 
                LAPACK_LIBS=""
16453
 
        fi
16454
 
fi
16455
 
 
16456
 
# LAPACK linked to by default?  (is sometimes included in BLAS lib)
16457
 
if test $ax_lapack_ok = no; then
16458
 
        save_LIBS="$LIBS"; LIBS="$LIBS $BLAS_LIBS $FLIBS"
16459
 
        as_ac_var=`$as_echo "ac_cv_func_$cheev" | $as_tr_sh`
16460
 
ac_fn_c_check_func "$LINENO" "$cheev" "$as_ac_var"
16461
 
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16462
 
  ax_lapack_ok=yes
16463
 
fi
16464
 
 
16465
 
        LIBS="$save_LIBS"
16466
 
fi
16467
 
 
16468
 
# Generic LAPACK library?
16469
 
for lapack in lapack lapack_rs6k; do
16470
 
        if test $ax_lapack_ok = no; then
16471
 
                save_LIBS="$LIBS"; LIBS="$BLAS_LIBS $LIBS"
16472
 
                as_ac_Lib=`$as_echo "ac_cv_lib_$lapack''_$cheev" | $as_tr_sh`
16473
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $cheev in -l$lapack" >&5
16474
 
$as_echo_n "checking for $cheev in -l$lapack... " >&6; }
16475
 
if eval \${$as_ac_Lib+:} false; then :
16476
 
  $as_echo_n "(cached) " >&6
16477
 
else
16478
 
  ac_check_lib_save_LIBS=$LIBS
16479
 
LIBS="-l$lapack $FLIBS $LIBS"
16480
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16481
 
/* end confdefs.h.  */
16482
 
 
16483
 
/* Override any GCC internal prototype to avoid an error.
16484
 
   Use char because int might match the return type of a GCC
16485
 
   builtin and then its argument prototype would still apply.  */
16486
 
#ifdef __cplusplus
16487
 
extern "C"
16488
 
#endif
16489
 
char $cheev ();
16490
 
#ifdef F77_DUMMY_MAIN
16491
 
 
16492
 
#  ifdef __cplusplus
16493
 
     extern "C"
16494
 
#  endif
16495
 
   int F77_DUMMY_MAIN() { return 1; }
16496
 
 
16497
 
#endif
16498
 
int
16499
 
main ()
16500
 
{
16501
 
return $cheev ();
16502
 
  ;
16503
 
  return 0;
16504
 
}
16505
 
_ACEOF
16506
 
if ac_fn_c_try_link "$LINENO"; then :
16507
 
  eval "$as_ac_Lib=yes"
16508
 
else
16509
 
  eval "$as_ac_Lib=no"
16510
 
fi
16511
 
rm -f core conftest.err conftest.$ac_objext \
16512
 
    conftest$ac_exeext conftest.$ac_ext
16513
 
LIBS=$ac_check_lib_save_LIBS
16514
 
fi
16515
 
eval ac_res=\$$as_ac_Lib
16516
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16517
 
$as_echo "$ac_res" >&6; }
16518
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
16519
 
  ax_lapack_ok=yes; LAPACK_LIBS="-l$lapack"
16520
 
fi
16521
 
 
16522
 
                LIBS="$save_LIBS"
16523
 
        fi
16524
 
done
16525
 
 
16526
 
 
16527
 
 
16528
 
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
16529
 
if test x"$ax_lapack_ok" = xyes; then
16530
 
 
16531
 
$as_echo "#define HAVE_LAPACK 1" >>confdefs.h
16532
 
 
16533
 
        :
16534
 
else
16535
 
        ax_lapack_ok=no
16536
 
 
16537
 
fi
16538
 
 
16539
 
if test "$ax_lapack_ok" = "no"; then
16540
 
   as_fn_error $? "Cannot find LAPACK libraries" "$LINENO" 5
16541
 
fi
16542
 
 
16543
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI mode" >&5
16544
 
$as_echo_n "checking for MPI mode... " >&6; }
16545
 
# Check whether --enable-mpi was given.
16546
 
if test "${enable_mpi+set}" = set; then :
16547
 
  enableval=$enable_mpi; enable_mpi=$enableval
16548
 
else
16549
 
  enable_mpi=no
16550
 
fi
16551
 
 
16552
 
if test x"$enable_mpi" != x"no"; then
16553
 
  ac_ext=f
16554
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16555
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16556
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16557
 
 
16558
 
 
16559
 
 
16560
 
 
16561
 
 
16562
 
 
16563
 
        for ac_prog in mpif77 hf77 mpxlf_r mpxlf mpf77 cmpifc
16564
 
do
16565
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
16566
 
set dummy $ac_prog; ac_word=$2
16567
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16568
 
$as_echo_n "checking for $ac_word... " >&6; }
16569
 
if ${ac_cv_prog_MPIF77+:} false; then :
16570
 
  $as_echo_n "(cached) " >&6
16571
 
else
16572
 
  if test -n "$MPIF77"; then
16573
 
  ac_cv_prog_MPIF77="$MPIF77" # Let the user override the test.
16574
 
else
16575
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16576
 
for as_dir in $PATH
16577
 
do
16578
 
  IFS=$as_save_IFS
16579
 
  test -z "$as_dir" && as_dir=.
16580
 
    for ac_exec_ext in '' $ac_executable_extensions; do
16581
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16582
 
    ac_cv_prog_MPIF77="$ac_prog"
16583
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16584
 
    break 2
16585
 
  fi
16586
 
done
16587
 
  done
16588
 
IFS=$as_save_IFS
16589
 
 
16590
 
fi
16591
 
fi
16592
 
MPIF77=$ac_cv_prog_MPIF77
16593
 
if test -n "$MPIF77"; then
16594
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MPIF77" >&5
16595
 
$as_echo "$MPIF77" >&6; }
16596
 
else
16597
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16598
 
$as_echo "no" >&6; }
16599
 
fi
16600
 
 
16601
 
 
16602
 
  test -n "$MPIF77" && break
16603
 
done
16604
 
test -n "$MPIF77" || MPIF77="$F77"
16605
 
 
16606
 
        ax_mpi_save_F77="$F77"
16607
 
        F77="$MPIF77"
16608
 
 
16609
 
 
16610
 
 
16611
 
if test x = x"$MPILIBS"; then
16612
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init" >&5
16613
 
$as_echo_n "checking for MPI_Init... " >&6; }
16614
 
                        cat > conftest.$ac_ext <<_ACEOF
16615
 
      program main
16616
 
      call MPI_Init
16617
 
      end
16618
 
_ACEOF
16619
 
if ac_fn_f77_try_link "$LINENO"; then :
16620
 
  MPILIBS=""
16621
 
                                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16622
 
$as_echo "yes" >&6; }
16623
 
else
16624
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16625
 
$as_echo "no" >&6; }
16626
 
fi
16627
 
rm -f core conftest.err conftest.$ac_objext \
16628
 
    conftest$ac_exeext conftest.$ac_ext
16629
 
fi
16630
 
 
16631
 
        if test x = x"$MPILIBS"; then
16632
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lfmpi" >&5
16633
 
$as_echo_n "checking for MPI_Init in -lfmpi... " >&6; }
16634
 
if ${ac_cv_lib_fmpi_MPI_Init+:} false; then :
16635
 
  $as_echo_n "(cached) " >&6
16636
 
else
16637
 
  ac_check_lib_save_LIBS=$LIBS
16638
 
LIBS="-lfmpi  $LIBS"
16639
 
cat > conftest.$ac_ext <<_ACEOF
16640
 
      program main
16641
 
      call MPI_Init
16642
 
      end
16643
 
_ACEOF
16644
 
if ac_fn_f77_try_link "$LINENO"; then :
16645
 
  ac_cv_lib_fmpi_MPI_Init=yes
16646
 
else
16647
 
  ac_cv_lib_fmpi_MPI_Init=no
16648
 
fi
16649
 
rm -f core conftest.err conftest.$ac_objext \
16650
 
    conftest$ac_exeext conftest.$ac_ext
16651
 
LIBS=$ac_check_lib_save_LIBS
16652
 
fi
16653
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fmpi_MPI_Init" >&5
16654
 
$as_echo "$ac_cv_lib_fmpi_MPI_Init" >&6; }
16655
 
if test "x$ac_cv_lib_fmpi_MPI_Init" = xyes; then :
16656
 
  MPILIBS="-lfmpi"
16657
 
fi
16658
 
 
16659
 
        fi
16660
 
        if test x = x"$MPILIBS"; then
16661
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lfmpich" >&5
16662
 
$as_echo_n "checking for MPI_Init in -lfmpich... " >&6; }
16663
 
if ${ac_cv_lib_fmpich_MPI_Init+:} false; then :
16664
 
  $as_echo_n "(cached) " >&6
16665
 
else
16666
 
  ac_check_lib_save_LIBS=$LIBS
16667
 
LIBS="-lfmpich  $LIBS"
16668
 
cat > conftest.$ac_ext <<_ACEOF
16669
 
      program main
16670
 
      call MPI_Init
16671
 
      end
16672
 
_ACEOF
16673
 
if ac_fn_f77_try_link "$LINENO"; then :
16674
 
  ac_cv_lib_fmpich_MPI_Init=yes
16675
 
else
16676
 
  ac_cv_lib_fmpich_MPI_Init=no
16677
 
fi
16678
 
rm -f core conftest.err conftest.$ac_objext \
16679
 
    conftest$ac_exeext conftest.$ac_ext
16680
 
LIBS=$ac_check_lib_save_LIBS
16681
 
fi
16682
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fmpich_MPI_Init" >&5
16683
 
$as_echo "$ac_cv_lib_fmpich_MPI_Init" >&6; }
16684
 
if test "x$ac_cv_lib_fmpich_MPI_Init" = xyes; then :
16685
 
  MPILIBS="-lfmpich"
16686
 
fi
16687
 
 
16688
 
        fi
16689
 
        if test x = x"$MPILIBS"; then
16690
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpif77" >&5
16691
 
$as_echo_n "checking for MPI_Init in -lmpif77... " >&6; }
16692
 
if ${ac_cv_lib_mpif77_MPI_Init+:} false; then :
16693
 
  $as_echo_n "(cached) " >&6
16694
 
else
16695
 
  ac_check_lib_save_LIBS=$LIBS
16696
 
LIBS="-lmpif77  $LIBS"
16697
 
cat > conftest.$ac_ext <<_ACEOF
16698
 
      program main
16699
 
      call MPI_Init
16700
 
      end
16701
 
_ACEOF
16702
 
if ac_fn_f77_try_link "$LINENO"; then :
16703
 
  ac_cv_lib_mpif77_MPI_Init=yes
16704
 
else
16705
 
  ac_cv_lib_mpif77_MPI_Init=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_mpif77_MPI_Init" >&5
16712
 
$as_echo "$ac_cv_lib_mpif77_MPI_Init" >&6; }
16713
 
if test "x$ac_cv_lib_mpif77_MPI_Init" = xyes; then :
16714
 
  MPILIBS="-lmpif77"
16715
 
fi
16716
 
 
16717
 
        fi
16718
 
 
16719
 
if test x = x"$MPILIBS"; then
16720
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpi" >&5
16721
 
$as_echo_n "checking for MPI_Init in -lmpi... " >&6; }
16722
 
if ${ac_cv_lib_mpi_MPI_Init+:} false; then :
16723
 
  $as_echo_n "(cached) " >&6
16724
 
else
16725
 
  ac_check_lib_save_LIBS=$LIBS
16726
 
LIBS="-lmpi  $LIBS"
16727
 
cat > conftest.$ac_ext <<_ACEOF
16728
 
      program main
16729
 
      call MPI_Init
16730
 
      end
16731
 
_ACEOF
16732
 
if ac_fn_f77_try_link "$LINENO"; then :
16733
 
  ac_cv_lib_mpi_MPI_Init=yes
16734
 
else
16735
 
  ac_cv_lib_mpi_MPI_Init=no
16736
 
fi
16737
 
rm -f core conftest.err conftest.$ac_objext \
16738
 
    conftest$ac_exeext conftest.$ac_ext
16739
 
LIBS=$ac_check_lib_save_LIBS
16740
 
fi
16741
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpi_MPI_Init" >&5
16742
 
$as_echo "$ac_cv_lib_mpi_MPI_Init" >&6; }
16743
 
if test "x$ac_cv_lib_mpi_MPI_Init" = xyes; then :
16744
 
  MPILIBS="-lmpi"
16745
 
fi
16746
 
 
16747
 
fi
16748
 
if test x = x"$MPILIBS"; then
16749
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpich" >&5
16750
 
$as_echo_n "checking for MPI_Init in -lmpich... " >&6; }
16751
 
if ${ac_cv_lib_mpich_MPI_Init+:} false; then :
16752
 
  $as_echo_n "(cached) " >&6
16753
 
else
16754
 
  ac_check_lib_save_LIBS=$LIBS
16755
 
LIBS="-lmpich  $LIBS"
16756
 
cat > conftest.$ac_ext <<_ACEOF
16757
 
      program main
16758
 
      call MPI_Init
16759
 
      end
16760
 
_ACEOF
16761
 
if ac_fn_f77_try_link "$LINENO"; then :
16762
 
  ac_cv_lib_mpich_MPI_Init=yes
16763
 
else
16764
 
  ac_cv_lib_mpich_MPI_Init=no
16765
 
fi
16766
 
rm -f core conftest.err conftest.$ac_objext \
16767
 
    conftest$ac_exeext conftest.$ac_ext
16768
 
LIBS=$ac_check_lib_save_LIBS
16769
 
fi
16770
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpich_MPI_Init" >&5
16771
 
$as_echo "$ac_cv_lib_mpich_MPI_Init" >&6; }
16772
 
if test "x$ac_cv_lib_mpich_MPI_Init" = xyes; then :
16773
 
  MPILIBS="-lmpich"
16774
 
fi
16775
 
 
16776
 
fi
16777
 
 
16778
 
if test x != x"$MPILIBS"; then
16779
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpif.h" >&5
16780
 
$as_echo_n "checking for mpif.h... " >&6; }
16781
 
        cat > conftest.$ac_ext <<_ACEOF
16782
 
      program main
16783
 
      include 'mpif.h'
16784
 
      end
16785
 
_ACEOF
16786
 
if ac_fn_f77_try_compile "$LINENO"; then :
16787
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16788
 
$as_echo "yes" >&6; }
16789
 
else
16790
 
  MPILIBS=""
16791
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16792
 
$as_echo "no" >&6; }
16793
 
fi
16794
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16795
 
fi
16796
 
 
16797
 
F77="$ax_mpi_save_F77"
16798
 
 
16799
 
 
16800
 
 
16801
 
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
16802
 
if test x = x"$MPILIBS"; then
16803
 
        as_fn_error $? "could not compile a MPI test program" "$LINENO" 5
16804
 
        :
16805
 
else
16806
 
 
16807
 
$as_echo "#define HAVE_MPI 1" >>confdefs.h
16808
 
 
16809
 
        :
16810
 
fi
16811
 
 
16812
 
  ac_ext=c
16813
 
ac_cpp='$CPP $CPPFLAGS'
16814
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16815
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16816
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16817
 
 
16818
 
fi
16819
 
 
16820
 
 if test x"$enable_mpi" = x"yes"; then
16821
 
  MPI_TRUE=
16822
 
  MPI_FALSE='#'
16823
 
else
16824
 
  MPI_TRUE='#'
16825
 
  MPI_FALSE=
16826
 
fi
16827
 
 
16828
 
 
16829
 
 
16830
 
#       LAPACK/Makefile
16831
 
 
16832
 
ac_config_files="$ac_config_files arpack.pc Makefile SRC/Makefile UTIL/Makefile TESTS/Makefile EXAMPLES/Makefile EXAMPLES/BAND/Makefile EXAMPLES/COMPLEX/Makefile EXAMPLES/NONSYM/Makefile EXAMPLES/SIMPLE/Makefile EXAMPLES/SVD/Makefile EXAMPLES/SYM/Makefile PARPACK/Makefile PARPACK/SRC/Makefile PARPACK/SRC/MPI/Makefile PARPACK/UTIL/Makefile PARPACK/UTIL/MPI/Makefile PARPACK/UTIL/BLACS/Makefile PARPACK/EXAMPLES/MPI/Makefile PARPACK/EXAMPLES/BLACS/Makefile PARPACK/SRC/BLACS/Makefile"
16833
 
 
16834
 
cat >confcache <<\_ACEOF
16835
 
# This file is a shell script that caches the results of configure
16836
 
# tests run on this system so they can be shared between configure
16837
 
# scripts and configure runs, see configure's option --config-cache.
16838
 
# It is not useful on other systems.  If it contains results you don't
16839
 
# want to keep, you may remove or edit it.
16840
 
#
16841
 
# config.status only pays attention to the cache file if you give it
16842
 
# the --recheck option to rerun configure.
16843
 
#
16844
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
16845
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
16846
 
# following values.
16847
 
 
16848
 
_ACEOF
16849
 
 
16850
 
# The following way of writing the cache mishandles newlines in values,
16851
 
# but we know of no workaround that is simple, portable, and efficient.
16852
 
# So, we kill variables containing newlines.
16853
 
# Ultrix sh set writes to stderr and can't be redirected directly,
16854
 
# and sets the high bit in the cache file unless we assign to the vars.
16855
 
(
16856
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16857
 
    eval ac_val=\$$ac_var
16858
 
    case $ac_val in #(
16859
 
    *${as_nl}*)
16860
 
      case $ac_var in #(
16861
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16862
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16863
 
      esac
16864
 
      case $ac_var in #(
16865
 
      _ | IFS | as_nl) ;; #(
16866
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16867
 
      *) { eval $ac_var=; unset $ac_var;} ;;
16868
 
      esac ;;
16869
 
    esac
16870
 
  done
16871
 
 
16872
 
  (set) 2>&1 |
16873
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
16874
 
    *${as_nl}ac_space=\ *)
16875
 
      # `set' does not quote correctly, so add quotes: double-quote
16876
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
16877
 
      sed -n \
16878
 
        "s/'/'\\\\''/g;
16879
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16880
 
      ;; #(
16881
 
    *)
16882
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
16883
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16884
 
      ;;
16885
 
    esac |
16886
 
    sort
16887
 
) |
16888
 
  sed '
16889
 
     /^ac_cv_env_/b end
16890
 
     t clear
16891
 
     :clear
16892
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16893
 
     t end
16894
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16895
 
     :end' >>confcache
16896
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16897
 
  if test -w "$cache_file"; then
16898
 
    if test "x$cache_file" != "x/dev/null"; then
16899
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16900
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
16901
 
      if test ! -f "$cache_file" || test -h "$cache_file"; then
16902
 
        cat confcache >"$cache_file"
16903
 
      else
16904
 
        case $cache_file in #(
16905
 
        */* | ?:*)
16906
 
          mv -f confcache "$cache_file"$$ &&
16907
 
          mv -f "$cache_file"$$ "$cache_file" ;; #(
16908
 
        *)
16909
 
          mv -f confcache "$cache_file" ;;
16910
 
        esac
16911
 
      fi
16912
 
    fi
16913
 
  else
16914
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16915
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16916
 
  fi
16917
 
fi
16918
 
rm -f confcache
16919
 
 
16920
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
16921
 
# Let make expand exec_prefix.
16922
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16923
 
 
16924
 
# Transform confdefs.h into DEFS.
16925
 
# Protect against shell expansion while executing Makefile rules.
16926
 
# Protect against Makefile macro expansion.
16927
 
#
16928
 
# If the first sed substitution is executed (which looks for macros that
16929
 
# take arguments), then branch to the quote section.  Otherwise,
16930
 
# look for a macro that doesn't take arguments.
16931
 
ac_script='
16932
 
:mline
16933
 
/\\$/{
16934
 
 N
16935
 
 s,\\\n,,
16936
 
 b mline
16937
 
}
16938
 
t clear
16939
 
:clear
16940
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
16941
 
t quote
16942
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
16943
 
t quote
16944
 
b any
16945
 
:quote
16946
 
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
16947
 
s/\[/\\&/g
16948
 
s/\]/\\&/g
16949
 
s/\$/$$/g
16950
 
H
16951
 
:any
16952
 
${
16953
 
        g
16954
 
        s/^\n//
16955
 
        s/\n/ /g
16956
 
        p
16957
 
}
16958
 
'
16959
 
DEFS=`sed -n "$ac_script" confdefs.h`
16960
 
 
16961
 
 
16962
 
ac_libobjs=
16963
 
ac_ltlibobjs=
16964
 
U=
16965
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16966
 
  # 1. Remove the extension, and $U if already installed.
16967
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16968
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16969
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16970
 
  #    will be set to the directory where LIBOBJS objects are built.
16971
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16972
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16973
 
done
16974
 
LIBOBJS=$ac_libobjs
16975
 
 
16976
 
LTLIBOBJS=$ac_ltlibobjs
16977
 
 
16978
 
 
16979
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16980
 
$as_echo_n "checking that generated files are newer than configure... " >&6; }
16981
 
   if test -n "$am_sleep_pid"; then
16982
 
     # Hide warnings about reused PIDs.
16983
 
     wait $am_sleep_pid 2>/dev/null
16984
 
   fi
16985
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16986
 
$as_echo "done" >&6; }
16987
 
 if test -n "$EXEEXT"; then
16988
 
  am__EXEEXT_TRUE=
16989
 
  am__EXEEXT_FALSE='#'
16990
 
else
16991
 
  am__EXEEXT_TRUE='#'
16992
 
  am__EXEEXT_FALSE=
16993
 
fi
16994
 
 
16995
 
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16996
 
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16997
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16998
 
fi
16999
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17000
 
  as_fn_error $? "conditional \"AMDEP\" was never defined.
17001
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17002
 
fi
17003
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17004
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17005
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17006
 
fi
17007
 
if test -z "${MPI_TRUE}" && test -z "${MPI_FALSE}"; then
17008
 
  as_fn_error $? "conditional \"MPI\" was never defined.
17009
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17010
 
fi
17011
 
 
17012
 
: "${CONFIG_STATUS=./config.status}"
17013
 
ac_write_fail=0
17014
 
ac_clean_files_save=$ac_clean_files
17015
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17016
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17017
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17018
 
as_write_fail=0
17019
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17020
 
#! $SHELL
17021
 
# Generated by $as_me.
17022
 
# Run this file to recreate the current configuration.
17023
 
# Compiler output produced by configure, useful for debugging
17024
 
# configure, is in config.log if it exists.
17025
 
 
17026
 
debug=false
17027
 
ac_cs_recheck=false
17028
 
ac_cs_silent=false
17029
 
 
17030
 
SHELL=\${CONFIG_SHELL-$SHELL}
17031
 
export SHELL
17032
 
_ASEOF
17033
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17034
 
## -------------------- ##
17035
 
## M4sh Initialization. ##
17036
 
## -------------------- ##
17037
 
 
17038
 
# Be more Bourne compatible
17039
 
DUALCASE=1; export DUALCASE # for MKS sh
17040
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17041
 
  emulate sh
17042
 
  NULLCMD=:
17043
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17044
 
  # is contrary to our usage.  Disable this feature.
17045
 
  alias -g '${1+"$@"}'='"$@"'
17046
 
  setopt NO_GLOB_SUBST
17047
 
else
17048
 
  case `(set -o) 2>/dev/null` in #(
17049
 
  *posix*) :
17050
 
    set -o posix ;; #(
17051
 
  *) :
17052
 
     ;;
17053
 
esac
17054
 
fi
17055
 
 
17056
 
 
17057
 
as_nl='
17058
 
'
17059
 
export as_nl
17060
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
17061
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17062
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17063
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17064
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
17065
 
# but without wasting forks for bash or zsh.
17066
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
17067
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17068
 
  as_echo='print -r --'
17069
 
  as_echo_n='print -rn --'
17070
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17071
 
  as_echo='printf %s\n'
17072
 
  as_echo_n='printf %s'
17073
 
else
17074
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17075
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17076
 
    as_echo_n='/usr/ucb/echo -n'
17077
 
  else
17078
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17079
 
    as_echo_n_body='eval
17080
 
      arg=$1;
17081
 
      case $arg in #(
17082
 
      *"$as_nl"*)
17083
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
17084
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17085
 
      esac;
17086
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17087
 
    '
17088
 
    export as_echo_n_body
17089
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
17090
 
  fi
17091
 
  export as_echo_body
17092
 
  as_echo='sh -c $as_echo_body as_echo'
17093
 
fi
17094
 
 
17095
 
# The user is always right.
17096
 
if test "${PATH_SEPARATOR+set}" != set; then
17097
 
  PATH_SEPARATOR=:
17098
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17099
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17100
 
      PATH_SEPARATOR=';'
17101
 
  }
17102
 
fi
17103
 
 
17104
 
 
17105
 
# IFS
17106
 
# We need space, tab and new line, in precisely that order.  Quoting is
17107
 
# there to prevent editors from complaining about space-tab.
17108
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
17109
 
# splitting by setting IFS to empty value.)
17110
 
IFS=" ""        $as_nl"
17111
 
 
17112
 
# Find who we are.  Look in the path if we contain no directory separator.
17113
 
as_myself=
17114
 
case $0 in #((
17115
 
  *[\\/]* ) as_myself=$0 ;;
17116
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17117
 
for as_dir in $PATH
17118
 
do
17119
 
  IFS=$as_save_IFS
17120
 
  test -z "$as_dir" && as_dir=.
17121
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17122
 
  done
17123
 
IFS=$as_save_IFS
17124
 
 
17125
 
     ;;
17126
 
esac
17127
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
17128
 
# in which case we are not to be found in the path.
17129
 
if test "x$as_myself" = x; then
17130
 
  as_myself=$0
17131
 
fi
17132
 
if test ! -f "$as_myself"; then
17133
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17134
 
  exit 1
17135
 
fi
17136
 
 
17137
 
# Unset variables that we do not need and which cause bugs (e.g. in
17138
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17139
 
# suppresses any "Segmentation fault" message there.  '((' could
17140
 
# trigger a bug in pdksh 5.2.14.
17141
 
for as_var in BASH_ENV ENV MAIL MAILPATH
17142
 
do eval test x\${$as_var+set} = xset \
17143
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17144
 
done
17145
 
PS1='$ '
17146
 
PS2='> '
17147
 
PS4='+ '
17148
 
 
17149
 
# NLS nuisances.
17150
 
LC_ALL=C
17151
 
export LC_ALL
17152
 
LANGUAGE=C
17153
 
export LANGUAGE
17154
 
 
17155
 
# CDPATH.
17156
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17157
 
 
17158
 
 
17159
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
17160
 
# ----------------------------------------
17161
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17162
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17163
 
# script with STATUS, using 1 if that was 0.
17164
 
as_fn_error ()
17165
 
{
17166
 
  as_status=$1; test $as_status -eq 0 && as_status=1
17167
 
  if test "$4"; then
17168
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17169
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17170
 
  fi
17171
 
  $as_echo "$as_me: error: $2" >&2
17172
 
  as_fn_exit $as_status
17173
 
} # as_fn_error
17174
 
 
17175
 
 
17176
 
# as_fn_set_status STATUS
17177
 
# -----------------------
17178
 
# Set $? to STATUS, without forking.
17179
 
as_fn_set_status ()
17180
 
{
17181
 
  return $1
17182
 
} # as_fn_set_status
17183
 
 
17184
 
# as_fn_exit STATUS
17185
 
# -----------------
17186
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17187
 
as_fn_exit ()
17188
 
{
17189
 
  set +e
17190
 
  as_fn_set_status $1
17191
 
  exit $1
17192
 
} # as_fn_exit
17193
 
 
17194
 
# as_fn_unset VAR
17195
 
# ---------------
17196
 
# Portably unset VAR.
17197
 
as_fn_unset ()
17198
 
{
17199
 
  { eval $1=; unset $1;}
17200
 
}
17201
 
as_unset=as_fn_unset
17202
 
# as_fn_append VAR VALUE
17203
 
# ----------------------
17204
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
17205
 
# advantage of any shell optimizations that allow amortized linear growth over
17206
 
# repeated appends, instead of the typical quadratic growth present in naive
17207
 
# implementations.
17208
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17209
 
  eval 'as_fn_append ()
17210
 
  {
17211
 
    eval $1+=\$2
17212
 
  }'
17213
 
else
17214
 
  as_fn_append ()
17215
 
  {
17216
 
    eval $1=\$$1\$2
17217
 
  }
17218
 
fi # as_fn_append
17219
 
 
17220
 
# as_fn_arith ARG...
17221
 
# ------------------
17222
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
17223
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
17224
 
# must be portable across $(()) and expr.
17225
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17226
 
  eval 'as_fn_arith ()
17227
 
  {
17228
 
    as_val=$(( $* ))
17229
 
  }'
17230
 
else
17231
 
  as_fn_arith ()
17232
 
  {
17233
 
    as_val=`expr "$@" || test $? -eq 1`
17234
 
  }
17235
 
fi # as_fn_arith
17236
 
 
17237
 
 
17238
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
17239
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17240
 
  as_expr=expr
17241
 
else
17242
 
  as_expr=false
17243
 
fi
17244
 
 
17245
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17246
 
  as_basename=basename
17247
 
else
17248
 
  as_basename=false
17249
 
fi
17250
 
 
17251
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17252
 
  as_dirname=dirname
17253
 
else
17254
 
  as_dirname=false
17255
 
fi
17256
 
 
17257
 
as_me=`$as_basename -- "$0" ||
17258
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17259
 
         X"$0" : 'X\(//\)$' \| \
17260
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17261
 
$as_echo X/"$0" |
17262
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
17263
 
            s//\1/
17264
 
            q
17265
 
          }
17266
 
          /^X\/\(\/\/\)$/{
17267
 
            s//\1/
17268
 
            q
17269
 
          }
17270
 
          /^X\/\(\/\).*/{
17271
 
            s//\1/
17272
 
            q
17273
 
          }
17274
 
          s/.*/./; q'`
17275
 
 
17276
 
# Avoid depending upon Character Ranges.
17277
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17278
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17279
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17280
 
as_cr_digits='0123456789'
17281
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
17282
 
 
17283
 
ECHO_C= ECHO_N= ECHO_T=
17284
 
case `echo -n x` in #(((((
17285
 
-n*)
17286
 
  case `echo 'xy\c'` in
17287
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
17288
 
  xy)  ECHO_C='\c';;
17289
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17290
 
       ECHO_T=' ';;
17291
 
  esac;;
17292
 
*)
17293
 
  ECHO_N='-n';;
17294
 
esac
17295
 
 
17296
 
rm -f conf$$ conf$$.exe conf$$.file
17297
 
if test -d conf$$.dir; then
17298
 
  rm -f conf$$.dir/conf$$.file
17299
 
else
17300
 
  rm -f conf$$.dir
17301
 
  mkdir conf$$.dir 2>/dev/null
17302
 
fi
17303
 
if (echo >conf$$.file) 2>/dev/null; then
17304
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
17305
 
    as_ln_s='ln -s'
17306
 
    # ... but there are two gotchas:
17307
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17308
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17309
 
    # In both cases, we have to default to `cp -pR'.
17310
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17311
 
      as_ln_s='cp -pR'
17312
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
17313
 
    as_ln_s=ln
17314
 
  else
17315
 
    as_ln_s='cp -pR'
17316
 
  fi
17317
 
else
17318
 
  as_ln_s='cp -pR'
17319
 
fi
17320
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17321
 
rmdir conf$$.dir 2>/dev/null
17322
 
 
17323
 
 
17324
 
# as_fn_mkdir_p
17325
 
# -------------
17326
 
# Create "$as_dir" as a directory, including parents if necessary.
17327
 
as_fn_mkdir_p ()
17328
 
{
17329
 
 
17330
 
  case $as_dir in #(
17331
 
  -*) as_dir=./$as_dir;;
17332
 
  esac
17333
 
  test -d "$as_dir" || eval $as_mkdir_p || {
17334
 
    as_dirs=
17335
 
    while :; do
17336
 
      case $as_dir in #(
17337
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17338
 
      *) as_qdir=$as_dir;;
17339
 
      esac
17340
 
      as_dirs="'$as_qdir' $as_dirs"
17341
 
      as_dir=`$as_dirname -- "$as_dir" ||
17342
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17343
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
17344
 
         X"$as_dir" : 'X\(//\)$' \| \
17345
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17346
 
$as_echo X"$as_dir" |
17347
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17348
 
            s//\1/
17349
 
            q
17350
 
          }
17351
 
          /^X\(\/\/\)[^/].*/{
17352
 
            s//\1/
17353
 
            q
17354
 
          }
17355
 
          /^X\(\/\/\)$/{
17356
 
            s//\1/
17357
 
            q
17358
 
          }
17359
 
          /^X\(\/\).*/{
17360
 
            s//\1/
17361
 
            q
17362
 
          }
17363
 
          s/.*/./; q'`
17364
 
      test -d "$as_dir" && break
17365
 
    done
17366
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
17367
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17368
 
 
17369
 
 
17370
 
} # as_fn_mkdir_p
17371
 
if mkdir -p . 2>/dev/null; then
17372
 
  as_mkdir_p='mkdir -p "$as_dir"'
17373
 
else
17374
 
  test -d ./-p && rmdir ./-p
17375
 
  as_mkdir_p=false
17376
 
fi
17377
 
 
17378
 
 
17379
 
# as_fn_executable_p FILE
17380
 
# -----------------------
17381
 
# Test if FILE is an executable regular file.
17382
 
as_fn_executable_p ()
17383
 
{
17384
 
  test -f "$1" && test -x "$1"
17385
 
} # as_fn_executable_p
17386
 
as_test_x='test -x'
17387
 
as_executable_p=as_fn_executable_p
17388
 
 
17389
 
# Sed expression to map a string onto a valid CPP name.
17390
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17391
 
 
17392
 
# Sed expression to map a string onto a valid variable name.
17393
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17394
 
 
17395
 
 
17396
 
exec 6>&1
17397
 
## ----------------------------------- ##
17398
 
## Main body of $CONFIG_STATUS script. ##
17399
 
## ----------------------------------- ##
17400
 
_ASEOF
17401
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17402
 
 
17403
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17404
 
# Save the log message, to keep $0 and so on meaningful, and to
17405
 
# report actual input values of CONFIG_FILES etc. instead of their
17406
 
# values after options handling.
17407
 
ac_log="
17408
 
This file was extended by arpack-ng $as_me 3.1.5, which was
17409
 
generated by GNU Autoconf 2.69.  Invocation command line was
17410
 
 
17411
 
  CONFIG_FILES    = $CONFIG_FILES
17412
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
17413
 
  CONFIG_LINKS    = $CONFIG_LINKS
17414
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
17415
 
  $ $0 $@
17416
 
 
17417
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
17418
 
"
17419
 
 
17420
 
_ACEOF
17421
 
 
17422
 
case $ac_config_files in *"
17423
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
17424
 
esac
17425
 
 
17426
 
 
17427
 
 
17428
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17429
 
# Files that config.status was made for.
17430
 
config_files="$ac_config_files"
17431
 
config_commands="$ac_config_commands"
17432
 
 
17433
 
_ACEOF
17434
 
 
17435
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17436
 
ac_cs_usage="\
17437
 
\`$as_me' instantiates files and other configuration actions
17438
 
from templates according to the current configuration.  Unless the files
17439
 
and actions are specified as TAGs, all are instantiated by default.
17440
 
 
17441
 
Usage: $0 [OPTION]... [TAG]...
17442
 
 
17443
 
  -h, --help       print this help, then exit
17444
 
  -V, --version    print version number and configuration settings, then exit
17445
 
      --config     print configuration, then exit
17446
 
  -q, --quiet, --silent
17447
 
                   do not print progress messages
17448
 
  -d, --debug      don't remove temporary files
17449
 
      --recheck    update $as_me by reconfiguring in the same conditions
17450
 
      --file=FILE[:TEMPLATE]
17451
 
                   instantiate the configuration file FILE
17452
 
 
17453
 
Configuration files:
17454
 
$config_files
17455
 
 
17456
 
Configuration commands:
17457
 
$config_commands
17458
 
 
17459
 
Report bugs to <http://forge.scilab.org/index.php/p/arpack-ng/issues/>."
17460
 
 
17461
 
_ACEOF
17462
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17463
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17464
 
ac_cs_version="\\
17465
 
arpack-ng config.status 3.1.5
17466
 
configured by $0, generated by GNU Autoconf 2.69,
17467
 
  with options \\"\$ac_cs_config\\"
17468
 
 
17469
 
Copyright (C) 2012 Free Software Foundation, Inc.
17470
 
This config.status script is free software; the Free Software Foundation
17471
 
gives unlimited permission to copy, distribute and modify it."
17472
 
 
17473
 
ac_pwd='$ac_pwd'
17474
 
srcdir='$srcdir'
17475
 
INSTALL='$INSTALL'
17476
 
MKDIR_P='$MKDIR_P'
17477
 
AWK='$AWK'
17478
 
test -n "\$AWK" || AWK=awk
17479
 
_ACEOF
17480
 
 
17481
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17482
 
# The default lists apply if the user does not specify any file.
17483
 
ac_need_defaults=:
17484
 
while test $# != 0
17485
 
do
17486
 
  case $1 in
17487
 
  --*=?*)
17488
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17489
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17490
 
    ac_shift=:
17491
 
    ;;
17492
 
  --*=)
17493
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17494
 
    ac_optarg=
17495
 
    ac_shift=:
17496
 
    ;;
17497
 
  *)
17498
 
    ac_option=$1
17499
 
    ac_optarg=$2
17500
 
    ac_shift=shift
17501
 
    ;;
17502
 
  esac
17503
 
 
17504
 
  case $ac_option in
17505
 
  # Handling of the options.
17506
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17507
 
    ac_cs_recheck=: ;;
17508
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17509
 
    $as_echo "$ac_cs_version"; exit ;;
17510
 
  --config | --confi | --conf | --con | --co | --c )
17511
 
    $as_echo "$ac_cs_config"; exit ;;
17512
 
  --debug | --debu | --deb | --de | --d | -d )
17513
 
    debug=: ;;
17514
 
  --file | --fil | --fi | --f )
17515
 
    $ac_shift
17516
 
    case $ac_optarg in
17517
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17518
 
    '') as_fn_error $? "missing file argument" ;;
17519
 
    esac
17520
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
17521
 
    ac_need_defaults=false;;
17522
 
  --he | --h |  --help | --hel | -h )
17523
 
    $as_echo "$ac_cs_usage"; exit ;;
17524
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17525
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
17526
 
    ac_cs_silent=: ;;
17527
 
 
17528
 
  # This is an error.
17529
 
  -*) as_fn_error $? "unrecognized option: \`$1'
17530
 
Try \`$0 --help' for more information." ;;
17531
 
 
17532
 
  *) as_fn_append ac_config_targets " $1"
17533
 
     ac_need_defaults=false ;;
17534
 
 
17535
 
  esac
17536
 
  shift
17537
 
done
17538
 
 
17539
 
ac_configure_extra_args=
17540
 
 
17541
 
if $ac_cs_silent; then
17542
 
  exec 6>/dev/null
17543
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
17544
 
fi
17545
 
 
17546
 
_ACEOF
17547
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17548
 
if \$ac_cs_recheck; then
17549
 
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17550
 
  shift
17551
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17552
 
  CONFIG_SHELL='$SHELL'
17553
 
  export CONFIG_SHELL
17554
 
  exec "\$@"
17555
 
fi
17556
 
 
17557
 
_ACEOF
17558
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17559
 
exec 5>>config.log
17560
 
{
17561
 
  echo
17562
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17563
 
## Running $as_me. ##
17564
 
_ASBOX
17565
 
  $as_echo "$ac_log"
17566
 
} >&5
17567
 
 
17568
 
_ACEOF
17569
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17570
 
#
17571
 
# INIT-COMMANDS
17572
 
#
17573
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17574
 
 
17575
 
 
17576
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
17577
 
# if CDPATH is set.
17578
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17579
 
 
17580
 
sed_quote_subst='$sed_quote_subst'
17581
 
double_quote_subst='$double_quote_subst'
17582
 
delay_variable_subst='$delay_variable_subst'
17583
 
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17584
 
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17585
 
AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17586
 
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17587
 
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17588
 
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17589
 
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17590
 
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17591
 
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17592
 
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17593
 
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17594
 
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17595
 
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17596
 
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17597
 
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17598
 
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17599
 
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17600
 
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17601
 
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17602
 
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17603
 
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17604
 
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17605
 
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17606
 
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17607
 
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17608
 
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17609
 
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17610
 
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17611
 
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17612
 
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17613
 
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17614
 
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17615
 
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17616
 
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17617
 
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17618
 
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17619
 
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17620
 
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17621
 
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17622
 
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17623
 
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17624
 
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17625
 
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17626
 
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17627
 
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17628
 
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17629
 
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17630
 
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17631
 
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17632
 
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17633
 
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17634
 
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17635
 
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17636
 
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17637
 
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17638
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17639
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17640
 
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"`'
17641
 
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17642
 
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17643
 
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17644
 
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17645
 
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17646
 
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17647
 
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17648
 
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17649
 
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17650
 
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17651
 
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17652
 
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17653
 
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17654
 
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17655
 
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17656
 
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17657
 
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17658
 
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17659
 
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17660
 
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17661
 
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17662
 
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17663
 
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17664
 
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17665
 
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17666
 
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17667
 
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17668
 
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17669
 
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17670
 
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17671
 
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17672
 
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17673
 
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17674
 
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17675
 
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17676
 
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17677
 
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17678
 
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17679
 
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17680
 
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17681
 
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17682
 
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17683
 
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17684
 
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17685
 
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17686
 
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17687
 
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17688
 
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17689
 
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17690
 
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17691
 
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17692
 
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17693
 
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17694
 
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17695
 
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17696
 
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17697
 
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17698
 
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17699
 
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17700
 
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17701
 
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17702
 
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17703
 
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17704
 
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17705
 
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17706
 
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17707
 
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17708
 
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17709
 
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17710
 
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17711
 
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17712
 
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17713
 
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17714
 
LD_F77='`$ECHO "$LD_F77" | $SED "$delay_single_quote_subst"`'
17715
 
reload_flag_F77='`$ECHO "$reload_flag_F77" | $SED "$delay_single_quote_subst"`'
17716
 
reload_cmds_F77='`$ECHO "$reload_cmds_F77" | $SED "$delay_single_quote_subst"`'
17717
 
old_archive_cmds_F77='`$ECHO "$old_archive_cmds_F77" | $SED "$delay_single_quote_subst"`'
17718
 
compiler_F77='`$ECHO "$compiler_F77" | $SED "$delay_single_quote_subst"`'
17719
 
GCC_F77='`$ECHO "$GCC_F77" | $SED "$delay_single_quote_subst"`'
17720
 
lt_prog_compiler_no_builtin_flag_F77='`$ECHO "$lt_prog_compiler_no_builtin_flag_F77" | $SED "$delay_single_quote_subst"`'
17721
 
lt_prog_compiler_pic_F77='`$ECHO "$lt_prog_compiler_pic_F77" | $SED "$delay_single_quote_subst"`'
17722
 
lt_prog_compiler_wl_F77='`$ECHO "$lt_prog_compiler_wl_F77" | $SED "$delay_single_quote_subst"`'
17723
 
lt_prog_compiler_static_F77='`$ECHO "$lt_prog_compiler_static_F77" | $SED "$delay_single_quote_subst"`'
17724
 
lt_cv_prog_compiler_c_o_F77='`$ECHO "$lt_cv_prog_compiler_c_o_F77" | $SED "$delay_single_quote_subst"`'
17725
 
archive_cmds_need_lc_F77='`$ECHO "$archive_cmds_need_lc_F77" | $SED "$delay_single_quote_subst"`'
17726
 
enable_shared_with_static_runtimes_F77='`$ECHO "$enable_shared_with_static_runtimes_F77" | $SED "$delay_single_quote_subst"`'
17727
 
export_dynamic_flag_spec_F77='`$ECHO "$export_dynamic_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
17728
 
whole_archive_flag_spec_F77='`$ECHO "$whole_archive_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
17729
 
compiler_needs_object_F77='`$ECHO "$compiler_needs_object_F77" | $SED "$delay_single_quote_subst"`'
17730
 
old_archive_from_new_cmds_F77='`$ECHO "$old_archive_from_new_cmds_F77" | $SED "$delay_single_quote_subst"`'
17731
 
old_archive_from_expsyms_cmds_F77='`$ECHO "$old_archive_from_expsyms_cmds_F77" | $SED "$delay_single_quote_subst"`'
17732
 
archive_cmds_F77='`$ECHO "$archive_cmds_F77" | $SED "$delay_single_quote_subst"`'
17733
 
archive_expsym_cmds_F77='`$ECHO "$archive_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`'
17734
 
module_cmds_F77='`$ECHO "$module_cmds_F77" | $SED "$delay_single_quote_subst"`'
17735
 
module_expsym_cmds_F77='`$ECHO "$module_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`'
17736
 
with_gnu_ld_F77='`$ECHO "$with_gnu_ld_F77" | $SED "$delay_single_quote_subst"`'
17737
 
allow_undefined_flag_F77='`$ECHO "$allow_undefined_flag_F77" | $SED "$delay_single_quote_subst"`'
17738
 
no_undefined_flag_F77='`$ECHO "$no_undefined_flag_F77" | $SED "$delay_single_quote_subst"`'
17739
 
hardcode_libdir_flag_spec_F77='`$ECHO "$hardcode_libdir_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
17740
 
hardcode_libdir_separator_F77='`$ECHO "$hardcode_libdir_separator_F77" | $SED "$delay_single_quote_subst"`'
17741
 
hardcode_direct_F77='`$ECHO "$hardcode_direct_F77" | $SED "$delay_single_quote_subst"`'
17742
 
hardcode_direct_absolute_F77='`$ECHO "$hardcode_direct_absolute_F77" | $SED "$delay_single_quote_subst"`'
17743
 
hardcode_minus_L_F77='`$ECHO "$hardcode_minus_L_F77" | $SED "$delay_single_quote_subst"`'
17744
 
hardcode_shlibpath_var_F77='`$ECHO "$hardcode_shlibpath_var_F77" | $SED "$delay_single_quote_subst"`'
17745
 
hardcode_automatic_F77='`$ECHO "$hardcode_automatic_F77" | $SED "$delay_single_quote_subst"`'
17746
 
inherit_rpath_F77='`$ECHO "$inherit_rpath_F77" | $SED "$delay_single_quote_subst"`'
17747
 
link_all_deplibs_F77='`$ECHO "$link_all_deplibs_F77" | $SED "$delay_single_quote_subst"`'
17748
 
always_export_symbols_F77='`$ECHO "$always_export_symbols_F77" | $SED "$delay_single_quote_subst"`'
17749
 
export_symbols_cmds_F77='`$ECHO "$export_symbols_cmds_F77" | $SED "$delay_single_quote_subst"`'
17750
 
exclude_expsyms_F77='`$ECHO "$exclude_expsyms_F77" | $SED "$delay_single_quote_subst"`'
17751
 
include_expsyms_F77='`$ECHO "$include_expsyms_F77" | $SED "$delay_single_quote_subst"`'
17752
 
prelink_cmds_F77='`$ECHO "$prelink_cmds_F77" | $SED "$delay_single_quote_subst"`'
17753
 
postlink_cmds_F77='`$ECHO "$postlink_cmds_F77" | $SED "$delay_single_quote_subst"`'
17754
 
file_list_spec_F77='`$ECHO "$file_list_spec_F77" | $SED "$delay_single_quote_subst"`'
17755
 
hardcode_action_F77='`$ECHO "$hardcode_action_F77" | $SED "$delay_single_quote_subst"`'
17756
 
 
17757
 
LTCC='$LTCC'
17758
 
LTCFLAGS='$LTCFLAGS'
17759
 
compiler='$compiler_DEFAULT'
17760
 
 
17761
 
# A function that is used when there is no print builtin or printf.
17762
 
func_fallback_echo ()
17763
 
{
17764
 
  eval 'cat <<_LTECHO_EOF
17765
 
\$1
17766
 
_LTECHO_EOF'
17767
 
}
17768
 
 
17769
 
# Quote evaled strings.
17770
 
for var in AS \
17771
 
DLLTOOL \
17772
 
OBJDUMP \
17773
 
SHELL \
17774
 
ECHO \
17775
 
PATH_SEPARATOR \
17776
 
SED \
17777
 
GREP \
17778
 
EGREP \
17779
 
FGREP \
17780
 
LD \
17781
 
NM \
17782
 
LN_S \
17783
 
lt_SP2NL \
17784
 
lt_NL2SP \
17785
 
reload_flag \
17786
 
deplibs_check_method \
17787
 
file_magic_cmd \
17788
 
file_magic_glob \
17789
 
want_nocaseglob \
17790
 
sharedlib_from_linklib_cmd \
17791
 
AR \
17792
 
AR_FLAGS \
17793
 
archiver_list_spec \
17794
 
STRIP \
17795
 
RANLIB \
17796
 
CC \
17797
 
CFLAGS \
17798
 
compiler \
17799
 
lt_cv_sys_global_symbol_pipe \
17800
 
lt_cv_sys_global_symbol_to_cdecl \
17801
 
lt_cv_sys_global_symbol_to_c_name_address \
17802
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17803
 
nm_file_list_spec \
17804
 
lt_prog_compiler_no_builtin_flag \
17805
 
lt_prog_compiler_pic \
17806
 
lt_prog_compiler_wl \
17807
 
lt_prog_compiler_static \
17808
 
lt_cv_prog_compiler_c_o \
17809
 
need_locks \
17810
 
MANIFEST_TOOL \
17811
 
DSYMUTIL \
17812
 
NMEDIT \
17813
 
LIPO \
17814
 
OTOOL \
17815
 
OTOOL64 \
17816
 
shrext_cmds \
17817
 
export_dynamic_flag_spec \
17818
 
whole_archive_flag_spec \
17819
 
compiler_needs_object \
17820
 
with_gnu_ld \
17821
 
allow_undefined_flag \
17822
 
no_undefined_flag \
17823
 
hardcode_libdir_flag_spec \
17824
 
hardcode_libdir_separator \
17825
 
exclude_expsyms \
17826
 
include_expsyms \
17827
 
file_list_spec \
17828
 
variables_saved_for_relink \
17829
 
libname_spec \
17830
 
library_names_spec \
17831
 
soname_spec \
17832
 
install_override_mode \
17833
 
finish_eval \
17834
 
old_striplib \
17835
 
striplib \
17836
 
LD_F77 \
17837
 
reload_flag_F77 \
17838
 
compiler_F77 \
17839
 
lt_prog_compiler_no_builtin_flag_F77 \
17840
 
lt_prog_compiler_pic_F77 \
17841
 
lt_prog_compiler_wl_F77 \
17842
 
lt_prog_compiler_static_F77 \
17843
 
lt_cv_prog_compiler_c_o_F77 \
17844
 
export_dynamic_flag_spec_F77 \
17845
 
whole_archive_flag_spec_F77 \
17846
 
compiler_needs_object_F77 \
17847
 
with_gnu_ld_F77 \
17848
 
allow_undefined_flag_F77 \
17849
 
no_undefined_flag_F77 \
17850
 
hardcode_libdir_flag_spec_F77 \
17851
 
hardcode_libdir_separator_F77 \
17852
 
exclude_expsyms_F77 \
17853
 
include_expsyms_F77 \
17854
 
file_list_spec_F77; do
17855
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17856
 
    *[\\\\\\\`\\"\\\$]*)
17857
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17858
 
      ;;
17859
 
    *)
17860
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17861
 
      ;;
17862
 
    esac
17863
 
done
17864
 
 
17865
 
# Double-quote double-evaled strings.
17866
 
for var in reload_cmds \
17867
 
old_postinstall_cmds \
17868
 
old_postuninstall_cmds \
17869
 
old_archive_cmds \
17870
 
extract_expsyms_cmds \
17871
 
old_archive_from_new_cmds \
17872
 
old_archive_from_expsyms_cmds \
17873
 
archive_cmds \
17874
 
archive_expsym_cmds \
17875
 
module_cmds \
17876
 
module_expsym_cmds \
17877
 
export_symbols_cmds \
17878
 
prelink_cmds \
17879
 
postlink_cmds \
17880
 
postinstall_cmds \
17881
 
postuninstall_cmds \
17882
 
finish_cmds \
17883
 
sys_lib_search_path_spec \
17884
 
sys_lib_dlsearch_path_spec \
17885
 
reload_cmds_F77 \
17886
 
old_archive_cmds_F77 \
17887
 
old_archive_from_new_cmds_F77 \
17888
 
old_archive_from_expsyms_cmds_F77 \
17889
 
archive_cmds_F77 \
17890
 
archive_expsym_cmds_F77 \
17891
 
module_cmds_F77 \
17892
 
module_expsym_cmds_F77 \
17893
 
export_symbols_cmds_F77 \
17894
 
prelink_cmds_F77 \
17895
 
postlink_cmds_F77; do
17896
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17897
 
    *[\\\\\\\`\\"\\\$]*)
17898
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17899
 
      ;;
17900
 
    *)
17901
 
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17902
 
      ;;
17903
 
    esac
17904
 
done
17905
 
 
17906
 
ac_aux_dir='$ac_aux_dir'
17907
 
xsi_shell='$xsi_shell'
17908
 
lt_shell_append='$lt_shell_append'
17909
 
 
17910
 
# See if we are running on zsh, and set the options which allow our
17911
 
# commands through without removal of \ escapes INIT.
17912
 
if test -n "\${ZSH_VERSION+set}" ; then
17913
 
   setopt NO_GLOB_SUBST
17914
 
fi
17915
 
 
17916
 
 
17917
 
    PACKAGE='$PACKAGE'
17918
 
    VERSION='$VERSION'
17919
 
    TIMESTAMP='$TIMESTAMP'
17920
 
    RM='$RM'
17921
 
    ofile='$ofile'
17922
 
 
17923
 
 
17924
 
 
17925
 
 
17926
 
 
17927
 
 
17928
 
_ACEOF
17929
 
 
17930
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17931
 
 
17932
 
# Handling of arguments.
17933
 
for ac_config_target in $ac_config_targets
17934
 
do
17935
 
  case $ac_config_target in
17936
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17937
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17938
 
    "arpack.pc") CONFIG_FILES="$CONFIG_FILES arpack.pc" ;;
17939
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17940
 
    "SRC/Makefile") CONFIG_FILES="$CONFIG_FILES SRC/Makefile" ;;
17941
 
    "UTIL/Makefile") CONFIG_FILES="$CONFIG_FILES UTIL/Makefile" ;;
17942
 
    "TESTS/Makefile") CONFIG_FILES="$CONFIG_FILES TESTS/Makefile" ;;
17943
 
    "EXAMPLES/Makefile") CONFIG_FILES="$CONFIG_FILES EXAMPLES/Makefile" ;;
17944
 
    "EXAMPLES/BAND/Makefile") CONFIG_FILES="$CONFIG_FILES EXAMPLES/BAND/Makefile" ;;
17945
 
    "EXAMPLES/COMPLEX/Makefile") CONFIG_FILES="$CONFIG_FILES EXAMPLES/COMPLEX/Makefile" ;;
17946
 
    "EXAMPLES/NONSYM/Makefile") CONFIG_FILES="$CONFIG_FILES EXAMPLES/NONSYM/Makefile" ;;
17947
 
    "EXAMPLES/SIMPLE/Makefile") CONFIG_FILES="$CONFIG_FILES EXAMPLES/SIMPLE/Makefile" ;;
17948
 
    "EXAMPLES/SVD/Makefile") CONFIG_FILES="$CONFIG_FILES EXAMPLES/SVD/Makefile" ;;
17949
 
    "EXAMPLES/SYM/Makefile") CONFIG_FILES="$CONFIG_FILES EXAMPLES/SYM/Makefile" ;;
17950
 
    "PARPACK/Makefile") CONFIG_FILES="$CONFIG_FILES PARPACK/Makefile" ;;
17951
 
    "PARPACK/SRC/Makefile") CONFIG_FILES="$CONFIG_FILES PARPACK/SRC/Makefile" ;;
17952
 
    "PARPACK/SRC/MPI/Makefile") CONFIG_FILES="$CONFIG_FILES PARPACK/SRC/MPI/Makefile" ;;
17953
 
    "PARPACK/UTIL/Makefile") CONFIG_FILES="$CONFIG_FILES PARPACK/UTIL/Makefile" ;;
17954
 
    "PARPACK/UTIL/MPI/Makefile") CONFIG_FILES="$CONFIG_FILES PARPACK/UTIL/MPI/Makefile" ;;
17955
 
    "PARPACK/UTIL/BLACS/Makefile") CONFIG_FILES="$CONFIG_FILES PARPACK/UTIL/BLACS/Makefile" ;;
17956
 
    "PARPACK/EXAMPLES/MPI/Makefile") CONFIG_FILES="$CONFIG_FILES PARPACK/EXAMPLES/MPI/Makefile" ;;
17957
 
    "PARPACK/EXAMPLES/BLACS/Makefile") CONFIG_FILES="$CONFIG_FILES PARPACK/EXAMPLES/BLACS/Makefile" ;;
17958
 
    "PARPACK/SRC/BLACS/Makefile") CONFIG_FILES="$CONFIG_FILES PARPACK/SRC/BLACS/Makefile" ;;
17959
 
 
17960
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17961
 
  esac
17962
 
done
17963
 
 
17964
 
 
17965
 
# If the user did not use the arguments to specify the items to instantiate,
17966
 
# then the envvar interface is used.  Set only those that are not.
17967
 
# We use the long form for the default assignment because of an extremely
17968
 
# bizarre bug on SunOS 4.1.3.
17969
 
if $ac_need_defaults; then
17970
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17971
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17972
 
fi
17973
 
 
17974
 
# Have a temporary directory for convenience.  Make it in the build tree
17975
 
# simply because there is no reason against having it here, and in addition,
17976
 
# creating and moving files from /tmp can sometimes cause problems.
17977
 
# Hook for its removal unless debugging.
17978
 
# Note that there is a small window in which the directory will not be cleaned:
17979
 
# after its creation but before its name has been assigned to `$tmp'.
17980
 
$debug ||
17981
 
{
17982
 
  tmp= ac_tmp=
17983
 
  trap 'exit_status=$?
17984
 
  : "${ac_tmp:=$tmp}"
17985
 
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17986
 
' 0
17987
 
  trap 'as_fn_exit 1' 1 2 13 15
17988
 
}
17989
 
# Create a (secure) tmp directory for tmp files.
17990
 
 
17991
 
{
17992
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17993
 
  test -d "$tmp"
17994
 
}  ||
17995
 
{
17996
 
  tmp=./conf$$-$RANDOM
17997
 
  (umask 077 && mkdir "$tmp")
17998
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17999
 
ac_tmp=$tmp
18000
 
 
18001
 
# Set up the scripts for CONFIG_FILES section.
18002
 
# No need to generate them if there are no CONFIG_FILES.
18003
 
# This happens for instance with `./config.status config.h'.
18004
 
if test -n "$CONFIG_FILES"; then
18005
 
 
18006
 
 
18007
 
ac_cr=`echo X | tr X '\015'`
18008
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
18009
 
# But we know of no other shell where ac_cr would be empty at this
18010
 
# point, so we can use a bashism as a fallback.
18011
 
if test "x$ac_cr" = x; then
18012
 
  eval ac_cr=\$\'\\r\'
18013
 
fi
18014
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18015
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18016
 
  ac_cs_awk_cr='\\r'
18017
 
else
18018
 
  ac_cs_awk_cr=$ac_cr
18019
 
fi
18020
 
 
18021
 
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18022
 
_ACEOF
18023
 
 
18024
 
 
18025
 
{
18026
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
18027
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18028
 
  echo "_ACEOF"
18029
 
} >conf$$subs.sh ||
18030
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18031
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18032
 
ac_delim='%!_!# '
18033
 
for ac_last_try in false false false false false :; do
18034
 
  . ./conf$$subs.sh ||
18035
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18036
 
 
18037
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18038
 
  if test $ac_delim_n = $ac_delim_num; then
18039
 
    break
18040
 
  elif $ac_last_try; then
18041
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18042
 
  else
18043
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18044
 
  fi
18045
 
done
18046
 
rm -f conf$$subs.sh
18047
 
 
18048
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18049
 
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18050
 
_ACEOF
18051
 
sed -n '
18052
 
h
18053
 
s/^/S["/; s/!.*/"]=/
18054
 
p
18055
 
g
18056
 
s/^[^!]*!//
18057
 
:repl
18058
 
t repl
18059
 
s/'"$ac_delim"'$//
18060
 
t delim
18061
 
:nl
18062
 
h
18063
 
s/\(.\{148\}\)..*/\1/
18064
 
t more1
18065
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18066
 
p
18067
 
n
18068
 
b repl
18069
 
:more1
18070
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18071
 
p
18072
 
g
18073
 
s/.\{148\}//
18074
 
t nl
18075
 
:delim
18076
 
h
18077
 
s/\(.\{148\}\)..*/\1/
18078
 
t more2
18079
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
18080
 
p
18081
 
b
18082
 
:more2
18083
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18084
 
p
18085
 
g
18086
 
s/.\{148\}//
18087
 
t delim
18088
 
' <conf$$subs.awk | sed '
18089
 
/^[^""]/{
18090
 
  N
18091
 
  s/\n//
18092
 
}
18093
 
' >>$CONFIG_STATUS || ac_write_fail=1
18094
 
rm -f conf$$subs.awk
18095
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18096
 
_ACAWK
18097
 
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18098
 
  for (key in S) S_is_set[key] = 1
18099
 
  FS = ""
18100
 
 
18101
 
}
18102
 
{
18103
 
  line = $ 0
18104
 
  nfields = split(line, field, "@")
18105
 
  substed = 0
18106
 
  len = length(field[1])
18107
 
  for (i = 2; i < nfields; i++) {
18108
 
    key = field[i]
18109
 
    keylen = length(key)
18110
 
    if (S_is_set[key]) {
18111
 
      value = S[key]
18112
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18113
 
      len += length(value) + length(field[++i])
18114
 
      substed = 1
18115
 
    } else
18116
 
      len += 1 + keylen
18117
 
  }
18118
 
 
18119
 
  print line
18120
 
}
18121
 
 
18122
 
_ACAWK
18123
 
_ACEOF
18124
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18125
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18126
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18127
 
else
18128
 
  cat
18129
 
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18130
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18131
 
_ACEOF
18132
 
 
18133
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18134
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18135
 
# trailing colons and then remove the whole line if VPATH becomes empty
18136
 
# (actually we leave an empty line to preserve line numbers).
18137
 
if test "x$srcdir" = x.; then
18138
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
18139
 
h
18140
 
s///
18141
 
s/^/:/
18142
 
s/[      ]*$/:/
18143
 
s/:\$(srcdir):/:/g
18144
 
s/:\${srcdir}:/:/g
18145
 
s/:@srcdir@:/:/g
18146
 
s/^:*//
18147
 
s/:*$//
18148
 
x
18149
 
s/\(=[   ]*\).*/\1/
18150
 
G
18151
 
s/\n//
18152
 
s/^[^=]*=[       ]*$//
18153
 
}'
18154
 
fi
18155
 
 
18156
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18157
 
fi # test -n "$CONFIG_FILES"
18158
 
 
18159
 
 
18160
 
eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
18161
 
shift
18162
 
for ac_tag
18163
 
do
18164
 
  case $ac_tag in
18165
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
18166
 
  esac
18167
 
  case $ac_mode$ac_tag in
18168
 
  :[FHL]*:*);;
18169
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18170
 
  :[FH]-) ac_tag=-:-;;
18171
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18172
 
  esac
18173
 
  ac_save_IFS=$IFS
18174
 
  IFS=:
18175
 
  set x $ac_tag
18176
 
  IFS=$ac_save_IFS
18177
 
  shift
18178
 
  ac_file=$1
18179
 
  shift
18180
 
 
18181
 
  case $ac_mode in
18182
 
  :L) ac_source=$1;;
18183
 
  :[FH])
18184
 
    ac_file_inputs=
18185
 
    for ac_f
18186
 
    do
18187
 
      case $ac_f in
18188
 
      -) ac_f="$ac_tmp/stdin";;
18189
 
      *) # Look for the file first in the build tree, then in the source tree
18190
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
18191
 
         # because $ac_f cannot contain `:'.
18192
 
         test -f "$ac_f" ||
18193
 
           case $ac_f in
18194
 
           [\\/$]*) false;;
18195
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18196
 
           esac ||
18197
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18198
 
      esac
18199
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18200
 
      as_fn_append ac_file_inputs " '$ac_f'"
18201
 
    done
18202
 
 
18203
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
18204
 
    # use $as_me), people would be surprised to read:
18205
 
    #    /* config.h.  Generated by config.status.  */
18206
 
    configure_input='Generated from '`
18207
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18208
 
        `' by configure.'
18209
 
    if test x"$ac_file" != x-; then
18210
 
      configure_input="$ac_file.  $configure_input"
18211
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18212
 
$as_echo "$as_me: creating $ac_file" >&6;}
18213
 
    fi
18214
 
    # Neutralize special characters interpreted by sed in replacement strings.
18215
 
    case $configure_input in #(
18216
 
    *\&* | *\|* | *\\* )
18217
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
18218
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
18219
 
    *) ac_sed_conf_input=$configure_input;;
18220
 
    esac
18221
 
 
18222
 
    case $ac_tag in
18223
 
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
18224
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18225
 
    esac
18226
 
    ;;
18227
 
  esac
18228
 
 
18229
 
  ac_dir=`$as_dirname -- "$ac_file" ||
18230
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18231
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
18232
 
         X"$ac_file" : 'X\(//\)$' \| \
18233
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18234
 
$as_echo X"$ac_file" |
18235
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18236
 
            s//\1/
18237
 
            q
18238
 
          }
18239
 
          /^X\(\/\/\)[^/].*/{
18240
 
            s//\1/
18241
 
            q
18242
 
          }
18243
 
          /^X\(\/\/\)$/{
18244
 
            s//\1/
18245
 
            q
18246
 
          }
18247
 
          /^X\(\/\).*/{
18248
 
            s//\1/
18249
 
            q
18250
 
          }
18251
 
          s/.*/./; q'`
18252
 
  as_dir="$ac_dir"; as_fn_mkdir_p
18253
 
  ac_builddir=.
18254
 
 
18255
 
case "$ac_dir" in
18256
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18257
 
*)
18258
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18259
 
  # A ".." for each directory in $ac_dir_suffix.
18260
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18261
 
  case $ac_top_builddir_sub in
18262
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18263
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18264
 
  esac ;;
18265
 
esac
18266
 
ac_abs_top_builddir=$ac_pwd
18267
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
18268
 
# for backward compatibility:
18269
 
ac_top_builddir=$ac_top_build_prefix
18270
 
 
18271
 
case $srcdir in
18272
 
  .)  # We are building in place.
18273
 
    ac_srcdir=.
18274
 
    ac_top_srcdir=$ac_top_builddir_sub
18275
 
    ac_abs_top_srcdir=$ac_pwd ;;
18276
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
18277
 
    ac_srcdir=$srcdir$ac_dir_suffix;
18278
 
    ac_top_srcdir=$srcdir
18279
 
    ac_abs_top_srcdir=$srcdir ;;
18280
 
  *) # Relative name.
18281
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18282
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
18283
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18284
 
esac
18285
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18286
 
 
18287
 
 
18288
 
  case $ac_mode in
18289
 
  :F)
18290
 
  #
18291
 
  # CONFIG_FILE
18292
 
  #
18293
 
 
18294
 
  case $INSTALL in
18295
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18296
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18297
 
  esac
18298
 
  ac_MKDIR_P=$MKDIR_P
18299
 
  case $MKDIR_P in
18300
 
  [\\/$]* | ?:[\\/]* ) ;;
18301
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18302
 
  esac
18303
 
_ACEOF
18304
 
 
18305
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18306
 
# If the template does not know about datarootdir, expand it.
18307
 
# FIXME: This hack should be removed a few years after 2.60.
18308
 
ac_datarootdir_hack=; ac_datarootdir_seen=
18309
 
ac_sed_dataroot='
18310
 
/datarootdir/ {
18311
 
  p
18312
 
  q
18313
 
}
18314
 
/@datadir@/p
18315
 
/@docdir@/p
18316
 
/@infodir@/p
18317
 
/@localedir@/p
18318
 
/@mandir@/p'
18319
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18320
 
*datarootdir*) ac_datarootdir_seen=yes;;
18321
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18322
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18323
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18324
 
_ACEOF
18325
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18326
 
  ac_datarootdir_hack='
18327
 
  s&@datadir@&$datadir&g
18328
 
  s&@docdir@&$docdir&g
18329
 
  s&@infodir@&$infodir&g
18330
 
  s&@localedir@&$localedir&g
18331
 
  s&@mandir@&$mandir&g
18332
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
18333
 
esac
18334
 
_ACEOF
18335
 
 
18336
 
# Neutralize VPATH when `$srcdir' = `.'.
18337
 
# Shell code in configure.ac might set extrasub.
18338
 
# FIXME: do we really want to maintain this feature?
18339
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18340
 
ac_sed_extra="$ac_vpsub
18341
 
$extrasub
18342
 
_ACEOF
18343
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18344
 
:t
18345
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18346
 
s|@configure_input@|$ac_sed_conf_input|;t t
18347
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
18348
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
18349
 
s&@srcdir@&$ac_srcdir&;t t
18350
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
18351
 
s&@top_srcdir@&$ac_top_srcdir&;t t
18352
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18353
 
s&@builddir@&$ac_builddir&;t t
18354
 
s&@abs_builddir@&$ac_abs_builddir&;t t
18355
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18356
 
s&@INSTALL@&$ac_INSTALL&;t t
18357
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
18358
 
$ac_datarootdir_hack
18359
 
"
18360
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18361
 
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18362
 
 
18363
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18364
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18365
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
18366
 
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
18367
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18368
 
which seems to be undefined.  Please make sure it is defined" >&5
18369
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18370
 
which seems to be undefined.  Please make sure it is defined" >&2;}
18371
 
 
18372
 
  rm -f "$ac_tmp/stdin"
18373
 
  case $ac_file in
18374
 
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18375
 
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18376
 
  esac \
18377
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18378
 
 ;;
18379
 
 
18380
 
 
18381
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18382
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
18383
 
 ;;
18384
 
  esac
18385
 
 
18386
 
 
18387
 
  case $ac_file$ac_mode in
18388
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18389
 
  # Older Autoconf quotes --file arguments for eval, but not when files
18390
 
  # are listed without --file.  Let's play safe and only enable the eval
18391
 
  # if we detect the quoting.
18392
 
  case $CONFIG_FILES in
18393
 
  *\'*) eval set x "$CONFIG_FILES" ;;
18394
 
  *)   set x $CONFIG_FILES ;;
18395
 
  esac
18396
 
  shift
18397
 
  for mf
18398
 
  do
18399
 
    # Strip MF so we end up with the name of the file.
18400
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
18401
 
    # Check whether this is an Automake generated Makefile or not.
18402
 
    # We used to match only the files named 'Makefile.in', but
18403
 
    # some people rename them; so instead we look at the file content.
18404
 
    # Grep'ing the first line is not enough: some people post-process
18405
 
    # each Makefile.in and add a new line on top of each file to say so.
18406
 
    # Grep'ing the whole file is not good either: AIX grep has a line
18407
 
    # limit of 2048, but all sed's we know have understand at least 4000.
18408
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18409
 
      dirpart=`$as_dirname -- "$mf" ||
18410
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18411
 
         X"$mf" : 'X\(//\)[^/]' \| \
18412
 
         X"$mf" : 'X\(//\)$' \| \
18413
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18414
 
$as_echo X"$mf" |
18415
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18416
 
            s//\1/
18417
 
            q
18418
 
          }
18419
 
          /^X\(\/\/\)[^/].*/{
18420
 
            s//\1/
18421
 
            q
18422
 
          }
18423
 
          /^X\(\/\/\)$/{
18424
 
            s//\1/
18425
 
            q
18426
 
          }
18427
 
          /^X\(\/\).*/{
18428
 
            s//\1/
18429
 
            q
18430
 
          }
18431
 
          s/.*/./; q'`
18432
 
    else
18433
 
      continue
18434
 
    fi
18435
 
    # Extract the definition of DEPDIR, am__include, and am__quote
18436
 
    # from the Makefile without running 'make'.
18437
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18438
 
    test -z "$DEPDIR" && continue
18439
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
18440
 
    test -z "$am__include" && continue
18441
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18442
 
    # Find all dependency output files, they are included files with
18443
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
18444
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
18445
 
    # expansion.
18446
 
    for file in `sed -n "
18447
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18448
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18449
 
      # Make sure the directory exists.
18450
 
      test -f "$dirpart/$file" && continue
18451
 
      fdir=`$as_dirname -- "$file" ||
18452
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18453
 
         X"$file" : 'X\(//\)[^/]' \| \
18454
 
         X"$file" : 'X\(//\)$' \| \
18455
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18456
 
$as_echo X"$file" |
18457
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18458
 
            s//\1/
18459
 
            q
18460
 
          }
18461
 
          /^X\(\/\/\)[^/].*/{
18462
 
            s//\1/
18463
 
            q
18464
 
          }
18465
 
          /^X\(\/\/\)$/{
18466
 
            s//\1/
18467
 
            q
18468
 
          }
18469
 
          /^X\(\/\).*/{
18470
 
            s//\1/
18471
 
            q
18472
 
          }
18473
 
          s/.*/./; q'`
18474
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
18475
 
      # echo "creating $dirpart/$file"
18476
 
      echo '# dummy' > "$dirpart/$file"
18477
 
    done
18478
 
  done
18479
 
}
18480
 
 ;;
18481
 
    "libtool":C)
18482
 
 
18483
 
    # See if we are running on zsh, and set the options which allow our
18484
 
    # commands through without removal of \ escapes.
18485
 
    if test -n "${ZSH_VERSION+set}" ; then
18486
 
      setopt NO_GLOB_SUBST
18487
 
    fi
18488
 
 
18489
 
    cfgfile="${ofile}T"
18490
 
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18491
 
    $RM "$cfgfile"
18492
 
 
18493
 
    cat <<_LT_EOF >> "$cfgfile"
18494
 
#! $SHELL
18495
 
 
18496
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18497
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18498
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18499
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18500
 
#
18501
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18502
 
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18503
 
#                 Foundation, Inc.
18504
 
#   Written by Gordon Matzigkeit, 1996
18505
 
#
18506
 
#   This file is part of GNU Libtool.
18507
 
#
18508
 
# GNU Libtool is free software; you can redistribute it and/or
18509
 
# modify it under the terms of the GNU General Public License as
18510
 
# published by the Free Software Foundation; either version 2 of
18511
 
# the License, or (at your option) any later version.
18512
 
#
18513
 
# As a special exception to the GNU General Public License,
18514
 
# if you distribute this file as part of a program or library that
18515
 
# is built using GNU Libtool, you may include this file under the
18516
 
# same distribution terms that you use for the rest of that program.
18517
 
#
18518
 
# GNU Libtool is distributed in the hope that it will be useful,
18519
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18520
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18521
 
# GNU General Public License for more details.
18522
 
#
18523
 
# You should have received a copy of the GNU General Public License
18524
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
18525
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18526
 
# obtained by writing to the Free Software Foundation, Inc.,
18527
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18528
 
 
18529
 
 
18530
 
# The names of the tagged configurations supported by this script.
18531
 
available_tags="F77 "
18532
 
 
18533
 
# ### BEGIN LIBTOOL CONFIG
18534
 
 
18535
 
# Which release of libtool.m4 was used?
18536
 
macro_version=$macro_version
18537
 
macro_revision=$macro_revision
18538
 
 
18539
 
# Assembler program.
18540
 
AS=$lt_AS
18541
 
 
18542
 
# DLL creation program.
18543
 
DLLTOOL=$lt_DLLTOOL
18544
 
 
18545
 
# Object dumper program.
18546
 
OBJDUMP=$lt_OBJDUMP
18547
 
 
18548
 
# Whether or not to build shared libraries.
18549
 
build_libtool_libs=$enable_shared
18550
 
 
18551
 
# Whether or not to build static libraries.
18552
 
build_old_libs=$enable_static
18553
 
 
18554
 
# What type of objects to build.
18555
 
pic_mode=$pic_mode
18556
 
 
18557
 
# Whether or not to optimize for fast installation.
18558
 
fast_install=$enable_fast_install
18559
 
 
18560
 
# Shell to use when invoking shell scripts.
18561
 
SHELL=$lt_SHELL
18562
 
 
18563
 
# An echo program that protects backslashes.
18564
 
ECHO=$lt_ECHO
18565
 
 
18566
 
# The PATH separator for the build system.
18567
 
PATH_SEPARATOR=$lt_PATH_SEPARATOR
18568
 
 
18569
 
# The host system.
18570
 
host_alias=$host_alias
18571
 
host=$host
18572
 
host_os=$host_os
18573
 
 
18574
 
# The build system.
18575
 
build_alias=$build_alias
18576
 
build=$build
18577
 
build_os=$build_os
18578
 
 
18579
 
# A sed program that does not truncate output.
18580
 
SED=$lt_SED
18581
 
 
18582
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
18583
 
Xsed="\$SED -e 1s/^X//"
18584
 
 
18585
 
# A grep program that handles long lines.
18586
 
GREP=$lt_GREP
18587
 
 
18588
 
# An ERE matcher.
18589
 
EGREP=$lt_EGREP
18590
 
 
18591
 
# A literal string matcher.
18592
 
FGREP=$lt_FGREP
18593
 
 
18594
 
# A BSD- or MS-compatible name lister.
18595
 
NM=$lt_NM
18596
 
 
18597
 
# Whether we need soft or hard links.
18598
 
LN_S=$lt_LN_S
18599
 
 
18600
 
# What is the maximum length of a command?
18601
 
max_cmd_len=$max_cmd_len
18602
 
 
18603
 
# Object file suffix (normally "o").
18604
 
objext=$ac_objext
18605
 
 
18606
 
# Executable file suffix (normally "").
18607
 
exeext=$exeext
18608
 
 
18609
 
# whether the shell understands "unset".
18610
 
lt_unset=$lt_unset
18611
 
 
18612
 
# turn spaces into newlines.
18613
 
SP2NL=$lt_lt_SP2NL
18614
 
 
18615
 
# turn newlines into spaces.
18616
 
NL2SP=$lt_lt_NL2SP
18617
 
 
18618
 
# convert \$build file names to \$host format.
18619
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
18620
 
 
18621
 
# convert \$build files to toolchain format.
18622
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18623
 
 
18624
 
# Method to check whether dependent libraries are shared objects.
18625
 
deplibs_check_method=$lt_deplibs_check_method
18626
 
 
18627
 
# Command to use when deplibs_check_method = "file_magic".
18628
 
file_magic_cmd=$lt_file_magic_cmd
18629
 
 
18630
 
# How to find potential files when deplibs_check_method = "file_magic".
18631
 
file_magic_glob=$lt_file_magic_glob
18632
 
 
18633
 
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18634
 
want_nocaseglob=$lt_want_nocaseglob
18635
 
 
18636
 
# Command to associate shared and link libraries.
18637
 
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18638
 
 
18639
 
# The archiver.
18640
 
AR=$lt_AR
18641
 
 
18642
 
# Flags to create an archive.
18643
 
AR_FLAGS=$lt_AR_FLAGS
18644
 
 
18645
 
# How to feed a file listing to the archiver.
18646
 
archiver_list_spec=$lt_archiver_list_spec
18647
 
 
18648
 
# A symbol stripping program.
18649
 
STRIP=$lt_STRIP
18650
 
 
18651
 
# Commands used to install an old-style archive.
18652
 
RANLIB=$lt_RANLIB
18653
 
old_postinstall_cmds=$lt_old_postinstall_cmds
18654
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18655
 
 
18656
 
# Whether to use a lock for old archive extraction.
18657
 
lock_old_archive_extraction=$lock_old_archive_extraction
18658
 
 
18659
 
# A C compiler.
18660
 
LTCC=$lt_CC
18661
 
 
18662
 
# LTCC compiler flags.
18663
 
LTCFLAGS=$lt_CFLAGS
18664
 
 
18665
 
# Take the output of nm and produce a listing of raw symbols and C names.
18666
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18667
 
 
18668
 
# Transform the output of nm in a proper C declaration.
18669
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18670
 
 
18671
 
# Transform the output of nm in a C name address pair.
18672
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18673
 
 
18674
 
# Transform the output of nm in a C name address pair when lib prefix is needed.
18675
 
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18676
 
 
18677
 
# Specify filename containing input files for \$NM.
18678
 
nm_file_list_spec=$lt_nm_file_list_spec
18679
 
 
18680
 
# The root where to search for dependent libraries,and in which our libraries should be installed.
18681
 
lt_sysroot=$lt_sysroot
18682
 
 
18683
 
# The name of the directory that contains temporary libtool files.
18684
 
objdir=$objdir
18685
 
 
18686
 
# Used to examine libraries when file_magic_cmd begins with "file".
18687
 
MAGIC_CMD=$MAGIC_CMD
18688
 
 
18689
 
# Must we lock files when doing compilation?
18690
 
need_locks=$lt_need_locks
18691
 
 
18692
 
# Manifest tool.
18693
 
MANIFEST_TOOL=$lt_MANIFEST_TOOL
18694
 
 
18695
 
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18696
 
DSYMUTIL=$lt_DSYMUTIL
18697
 
 
18698
 
# Tool to change global to local symbols on Mac OS X.
18699
 
NMEDIT=$lt_NMEDIT
18700
 
 
18701
 
# Tool to manipulate fat objects and archives on Mac OS X.
18702
 
LIPO=$lt_LIPO
18703
 
 
18704
 
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
18705
 
OTOOL=$lt_OTOOL
18706
 
 
18707
 
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18708
 
OTOOL64=$lt_OTOOL64
18709
 
 
18710
 
# Old archive suffix (normally "a").
18711
 
libext=$libext
18712
 
 
18713
 
# Shared library suffix (normally ".so").
18714
 
shrext_cmds=$lt_shrext_cmds
18715
 
 
18716
 
# The commands to extract the exported symbol list from a shared archive.
18717
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18718
 
 
18719
 
# Variables whose values should be saved in libtool wrapper scripts and
18720
 
# restored at link time.
18721
 
variables_saved_for_relink=$lt_variables_saved_for_relink
18722
 
 
18723
 
# Do we need the "lib" prefix for modules?
18724
 
need_lib_prefix=$need_lib_prefix
18725
 
 
18726
 
# Do we need a version for libraries?
18727
 
need_version=$need_version
18728
 
 
18729
 
# Library versioning type.
18730
 
version_type=$version_type
18731
 
 
18732
 
# Shared library runtime path variable.
18733
 
runpath_var=$runpath_var
18734
 
 
18735
 
# Shared library path variable.
18736
 
shlibpath_var=$shlibpath_var
18737
 
 
18738
 
# Is shlibpath searched before the hard-coded library search path?
18739
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18740
 
 
18741
 
# Format of library name prefix.
18742
 
libname_spec=$lt_libname_spec
18743
 
 
18744
 
# List of archive names.  First name is the real one, the rest are links.
18745
 
# The last name is the one that the linker finds with -lNAME
18746
 
library_names_spec=$lt_library_names_spec
18747
 
 
18748
 
# The coded name of the library, if different from the real name.
18749
 
soname_spec=$lt_soname_spec
18750
 
 
18751
 
# Permission mode override for installation of shared libraries.
18752
 
install_override_mode=$lt_install_override_mode
18753
 
 
18754
 
# Command to use after installation of a shared archive.
18755
 
postinstall_cmds=$lt_postinstall_cmds
18756
 
 
18757
 
# Command to use after uninstallation of a shared archive.
18758
 
postuninstall_cmds=$lt_postuninstall_cmds
18759
 
 
18760
 
# Commands used to finish a libtool library installation in a directory.
18761
 
finish_cmds=$lt_finish_cmds
18762
 
 
18763
 
# As "finish_cmds", except a single script fragment to be evaled but
18764
 
# not shown.
18765
 
finish_eval=$lt_finish_eval
18766
 
 
18767
 
# Whether we should hardcode library paths into libraries.
18768
 
hardcode_into_libs=$hardcode_into_libs
18769
 
 
18770
 
# Compile-time system search path for libraries.
18771
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18772
 
 
18773
 
# Run-time system search path for libraries.
18774
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18775
 
 
18776
 
# Whether dlopen is supported.
18777
 
dlopen_support=$enable_dlopen
18778
 
 
18779
 
# Whether dlopen of programs is supported.
18780
 
dlopen_self=$enable_dlopen_self
18781
 
 
18782
 
# Whether dlopen of statically linked programs is supported.
18783
 
dlopen_self_static=$enable_dlopen_self_static
18784
 
 
18785
 
# Commands to strip libraries.
18786
 
old_striplib=$lt_old_striplib
18787
 
striplib=$lt_striplib
18788
 
 
18789
 
 
18790
 
# The linker used to build libraries.
18791
 
LD=$lt_LD
18792
 
 
18793
 
# How to create reloadable object files.
18794
 
reload_flag=$lt_reload_flag
18795
 
reload_cmds=$lt_reload_cmds
18796
 
 
18797
 
# Commands used to build an old-style archive.
18798
 
old_archive_cmds=$lt_old_archive_cmds
18799
 
 
18800
 
# A language specific compiler.
18801
 
CC=$lt_compiler
18802
 
 
18803
 
# Is the compiler the GNU compiler?
18804
 
with_gcc=$GCC
18805
 
 
18806
 
# Compiler flag to turn off builtin functions.
18807
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18808
 
 
18809
 
# Additional compiler flags for building library objects.
18810
 
pic_flag=$lt_lt_prog_compiler_pic
18811
 
 
18812
 
# How to pass a linker flag through the compiler.
18813
 
wl=$lt_lt_prog_compiler_wl
18814
 
 
18815
 
# Compiler flag to prevent dynamic linking.
18816
 
link_static_flag=$lt_lt_prog_compiler_static
18817
 
 
18818
 
# Does compiler simultaneously support -c and -o options?
18819
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18820
 
 
18821
 
# Whether or not to add -lc for building shared libraries.
18822
 
build_libtool_need_lc=$archive_cmds_need_lc
18823
 
 
18824
 
# Whether or not to disallow shared libs when runtime libs are static.
18825
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18826
 
 
18827
 
# Compiler flag to allow reflexive dlopens.
18828
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18829
 
 
18830
 
# Compiler flag to generate shared objects directly from archives.
18831
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
18832
 
 
18833
 
# Whether the compiler copes with passing no objects directly.
18834
 
compiler_needs_object=$lt_compiler_needs_object
18835
 
 
18836
 
# Create an old-style archive from a shared archive.
18837
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18838
 
 
18839
 
# Create a temporary old-style archive to link instead of a shared archive.
18840
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18841
 
 
18842
 
# Commands used to build a shared archive.
18843
 
archive_cmds=$lt_archive_cmds
18844
 
archive_expsym_cmds=$lt_archive_expsym_cmds
18845
 
 
18846
 
# Commands used to build a loadable module if different from building
18847
 
# a shared archive.
18848
 
module_cmds=$lt_module_cmds
18849
 
module_expsym_cmds=$lt_module_expsym_cmds
18850
 
 
18851
 
# Whether we are building with GNU ld or not.
18852
 
with_gnu_ld=$lt_with_gnu_ld
18853
 
 
18854
 
# Flag that allows shared libraries with undefined symbols to be built.
18855
 
allow_undefined_flag=$lt_allow_undefined_flag
18856
 
 
18857
 
# Flag that enforces no undefined symbols.
18858
 
no_undefined_flag=$lt_no_undefined_flag
18859
 
 
18860
 
# Flag to hardcode \$libdir into a binary during linking.
18861
 
# This must work even if \$libdir does not exist
18862
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18863
 
 
18864
 
# Whether we need a single "-rpath" flag with a separated argument.
18865
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
18866
 
 
18867
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18868
 
# DIR into the resulting binary.
18869
 
hardcode_direct=$hardcode_direct
18870
 
 
18871
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18872
 
# DIR into the resulting binary and the resulting library dependency is
18873
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18874
 
# library is relocated.
18875
 
hardcode_direct_absolute=$hardcode_direct_absolute
18876
 
 
18877
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18878
 
# into the resulting binary.
18879
 
hardcode_minus_L=$hardcode_minus_L
18880
 
 
18881
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18882
 
# into the resulting binary.
18883
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
18884
 
 
18885
 
# Set to "yes" if building a shared library automatically hardcodes DIR
18886
 
# into the library and all subsequent libraries and executables linked
18887
 
# against it.
18888
 
hardcode_automatic=$hardcode_automatic
18889
 
 
18890
 
# Set to yes if linker adds runtime paths of dependent libraries
18891
 
# to runtime path list.
18892
 
inherit_rpath=$inherit_rpath
18893
 
 
18894
 
# Whether libtool must link a program against all its dependency libraries.
18895
 
link_all_deplibs=$link_all_deplibs
18896
 
 
18897
 
# Set to "yes" if exported symbols are required.
18898
 
always_export_symbols=$always_export_symbols
18899
 
 
18900
 
# The commands to list exported symbols.
18901
 
export_symbols_cmds=$lt_export_symbols_cmds
18902
 
 
18903
 
# Symbols that should not be listed in the preloaded symbols.
18904
 
exclude_expsyms=$lt_exclude_expsyms
18905
 
 
18906
 
# Symbols that must always be exported.
18907
 
include_expsyms=$lt_include_expsyms
18908
 
 
18909
 
# Commands necessary for linking programs (against libraries) with templates.
18910
 
prelink_cmds=$lt_prelink_cmds
18911
 
 
18912
 
# Commands necessary for finishing linking programs.
18913
 
postlink_cmds=$lt_postlink_cmds
18914
 
 
18915
 
# Specify filename containing input files.
18916
 
file_list_spec=$lt_file_list_spec
18917
 
 
18918
 
# How to hardcode a shared library path into an executable.
18919
 
hardcode_action=$hardcode_action
18920
 
 
18921
 
# ### END LIBTOOL CONFIG
18922
 
 
18923
 
_LT_EOF
18924
 
 
18925
 
  case $host_os in
18926
 
  aix3*)
18927
 
    cat <<\_LT_EOF >> "$cfgfile"
18928
 
# AIX sometimes has problems with the GCC collect2 program.  For some
18929
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
18930
 
# vanish in a puff of smoke.
18931
 
if test "X${COLLECT_NAMES+set}" != Xset; then
18932
 
  COLLECT_NAMES=
18933
 
  export COLLECT_NAMES
18934
 
fi
18935
 
_LT_EOF
18936
 
    ;;
18937
 
  esac
18938
 
 
18939
 
 
18940
 
ltmain="$ac_aux_dir/ltmain.sh"
18941
 
 
18942
 
 
18943
 
  # We use sed instead of cat because bash on DJGPP gets confused if
18944
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18945
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
18946
 
  # is reportedly fixed, but why not run on old versions too?
18947
 
  sed '$q' "$ltmain" >> "$cfgfile" \
18948
 
     || (rm -f "$cfgfile"; exit 1)
18949
 
 
18950
 
  if test x"$xsi_shell" = xyes; then
18951
 
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18952
 
func_dirname ()\
18953
 
{\
18954
 
\    case ${1} in\
18955
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
18956
 
\      *  ) func_dirname_result="${3}" ;;\
18957
 
\    esac\
18958
 
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18959
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18960
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18961
 
test 0 -eq $? || _lt_function_replace_fail=:
18962
 
 
18963
 
 
18964
 
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
18965
 
func_basename ()\
18966
 
{\
18967
 
\    func_basename_result="${1##*/}"\
18968
 
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18969
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18970
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18971
 
test 0 -eq $? || _lt_function_replace_fail=:
18972
 
 
18973
 
 
18974
 
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18975
 
func_dirname_and_basename ()\
18976
 
{\
18977
 
\    case ${1} in\
18978
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
18979
 
\      *  ) func_dirname_result="${3}" ;;\
18980
 
\    esac\
18981
 
\    func_basename_result="${1##*/}"\
18982
 
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18983
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18984
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18985
 
test 0 -eq $? || _lt_function_replace_fail=:
18986
 
 
18987
 
 
18988
 
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18989
 
func_stripname ()\
18990
 
{\
18991
 
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18992
 
\    # positional parameters, so assign one to ordinary parameter first.\
18993
 
\    func_stripname_result=${3}\
18994
 
\    func_stripname_result=${func_stripname_result#"${1}"}\
18995
 
\    func_stripname_result=${func_stripname_result%"${2}"}\
18996
 
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18997
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
18998
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18999
 
test 0 -eq $? || _lt_function_replace_fail=:
19000
 
 
19001
 
 
19002
 
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19003
 
func_split_long_opt ()\
19004
 
{\
19005
 
\    func_split_long_opt_name=${1%%=*}\
19006
 
\    func_split_long_opt_arg=${1#*=}\
19007
 
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19008
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
19009
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19010
 
test 0 -eq $? || _lt_function_replace_fail=:
19011
 
 
19012
 
 
19013
 
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19014
 
func_split_short_opt ()\
19015
 
{\
19016
 
\    func_split_short_opt_arg=${1#??}\
19017
 
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19018
 
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19019
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
19020
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19021
 
test 0 -eq $? || _lt_function_replace_fail=:
19022
 
 
19023
 
 
19024
 
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19025
 
func_lo2o ()\
19026
 
{\
19027
 
\    case ${1} in\
19028
 
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19029
 
\      *)    func_lo2o_result=${1} ;;\
19030
 
\    esac\
19031
 
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19032
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
19033
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19034
 
test 0 -eq $? || _lt_function_replace_fail=:
19035
 
 
19036
 
 
19037
 
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
19038
 
func_xform ()\
19039
 
{\
19040
 
    func_xform_result=${1%.*}.lo\
19041
 
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19042
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
19043
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19044
 
test 0 -eq $? || _lt_function_replace_fail=:
19045
 
 
19046
 
 
19047
 
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
19048
 
func_arith ()\
19049
 
{\
19050
 
    func_arith_result=$(( $* ))\
19051
 
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19052
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
19053
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19054
 
test 0 -eq $? || _lt_function_replace_fail=:
19055
 
 
19056
 
 
19057
 
  sed -e '/^func_len ()$/,/^} # func_len /c\
19058
 
func_len ()\
19059
 
{\
19060
 
    func_len_result=${#1}\
19061
 
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19062
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
19063
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19064
 
test 0 -eq $? || _lt_function_replace_fail=:
19065
 
 
19066
 
fi
19067
 
 
19068
 
if test x"$lt_shell_append" = xyes; then
19069
 
  sed -e '/^func_append ()$/,/^} # func_append /c\
19070
 
func_append ()\
19071
 
{\
19072
 
    eval "${1}+=\\${2}"\
19073
 
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19074
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
19075
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19076
 
test 0 -eq $? || _lt_function_replace_fail=:
19077
 
 
19078
 
 
19079
 
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19080
 
func_append_quoted ()\
19081
 
{\
19082
 
\    func_quote_for_eval "${2}"\
19083
 
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19084
 
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19085
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
19086
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19087
 
test 0 -eq $? || _lt_function_replace_fail=:
19088
 
 
19089
 
 
19090
 
  # Save a `func_append' function call where possible by direct use of '+='
19091
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19092
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
19093
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19094
 
  test 0 -eq $? || _lt_function_replace_fail=:
19095
 
else
19096
 
  # Save a `func_append' function call even when '+=' is not available
19097
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19098
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
19099
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19100
 
  test 0 -eq $? || _lt_function_replace_fail=:
19101
 
fi
19102
 
 
19103
 
if test x"$_lt_function_replace_fail" = x":"; then
19104
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19105
 
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19106
 
fi
19107
 
 
19108
 
 
19109
 
   mv -f "$cfgfile" "$ofile" ||
19110
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19111
 
  chmod +x "$ofile"
19112
 
 
19113
 
 
19114
 
    cat <<_LT_EOF >> "$ofile"
19115
 
 
19116
 
# ### BEGIN LIBTOOL TAG CONFIG: F77
19117
 
 
19118
 
# The linker used to build libraries.
19119
 
LD=$lt_LD_F77
19120
 
 
19121
 
# How to create reloadable object files.
19122
 
reload_flag=$lt_reload_flag_F77
19123
 
reload_cmds=$lt_reload_cmds_F77
19124
 
 
19125
 
# Commands used to build an old-style archive.
19126
 
old_archive_cmds=$lt_old_archive_cmds_F77
19127
 
 
19128
 
# A language specific compiler.
19129
 
CC=$lt_compiler_F77
19130
 
 
19131
 
# Is the compiler the GNU compiler?
19132
 
with_gcc=$GCC_F77
19133
 
 
19134
 
# Compiler flag to turn off builtin functions.
19135
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
19136
 
 
19137
 
# Additional compiler flags for building library objects.
19138
 
pic_flag=$lt_lt_prog_compiler_pic_F77
19139
 
 
19140
 
# How to pass a linker flag through the compiler.
19141
 
wl=$lt_lt_prog_compiler_wl_F77
19142
 
 
19143
 
# Compiler flag to prevent dynamic linking.
19144
 
link_static_flag=$lt_lt_prog_compiler_static_F77
19145
 
 
19146
 
# Does compiler simultaneously support -c and -o options?
19147
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
19148
 
 
19149
 
# Whether or not to add -lc for building shared libraries.
19150
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
19151
 
 
19152
 
# Whether or not to disallow shared libs when runtime libs are static.
19153
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
19154
 
 
19155
 
# Compiler flag to allow reflexive dlopens.
19156
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
19157
 
 
19158
 
# Compiler flag to generate shared objects directly from archives.
19159
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
19160
 
 
19161
 
# Whether the compiler copes with passing no objects directly.
19162
 
compiler_needs_object=$lt_compiler_needs_object_F77
19163
 
 
19164
 
# Create an old-style archive from a shared archive.
19165
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
19166
 
 
19167
 
# Create a temporary old-style archive to link instead of a shared archive.
19168
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
19169
 
 
19170
 
# Commands used to build a shared archive.
19171
 
archive_cmds=$lt_archive_cmds_F77
19172
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
19173
 
 
19174
 
# Commands used to build a loadable module if different from building
19175
 
# a shared archive.
19176
 
module_cmds=$lt_module_cmds_F77
19177
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
19178
 
 
19179
 
# Whether we are building with GNU ld or not.
19180
 
with_gnu_ld=$lt_with_gnu_ld_F77
19181
 
 
19182
 
# Flag that allows shared libraries with undefined symbols to be built.
19183
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
19184
 
 
19185
 
# Flag that enforces no undefined symbols.
19186
 
no_undefined_flag=$lt_no_undefined_flag_F77
19187
 
 
19188
 
# Flag to hardcode \$libdir into a binary during linking.
19189
 
# This must work even if \$libdir does not exist
19190
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
19191
 
 
19192
 
# Whether we need a single "-rpath" flag with a separated argument.
19193
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
19194
 
 
19195
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19196
 
# DIR into the resulting binary.
19197
 
hardcode_direct=$hardcode_direct_F77
19198
 
 
19199
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19200
 
# DIR into the resulting binary and the resulting library dependency is
19201
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19202
 
# library is relocated.
19203
 
hardcode_direct_absolute=$hardcode_direct_absolute_F77
19204
 
 
19205
 
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19206
 
# into the resulting binary.
19207
 
hardcode_minus_L=$hardcode_minus_L_F77
19208
 
 
19209
 
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19210
 
# into the resulting binary.
19211
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
19212
 
 
19213
 
# Set to "yes" if building a shared library automatically hardcodes DIR
19214
 
# into the library and all subsequent libraries and executables linked
19215
 
# against it.
19216
 
hardcode_automatic=$hardcode_automatic_F77
19217
 
 
19218
 
# Set to yes if linker adds runtime paths of dependent libraries
19219
 
# to runtime path list.
19220
 
inherit_rpath=$inherit_rpath_F77
19221
 
 
19222
 
# Whether libtool must link a program against all its dependency libraries.
19223
 
link_all_deplibs=$link_all_deplibs_F77
19224
 
 
19225
 
# Set to "yes" if exported symbols are required.
19226
 
always_export_symbols=$always_export_symbols_F77
19227
 
 
19228
 
# The commands to list exported symbols.
19229
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
19230
 
 
19231
 
# Symbols that should not be listed in the preloaded symbols.
19232
 
exclude_expsyms=$lt_exclude_expsyms_F77
19233
 
 
19234
 
# Symbols that must always be exported.
19235
 
include_expsyms=$lt_include_expsyms_F77
19236
 
 
19237
 
# Commands necessary for linking programs (against libraries) with templates.
19238
 
prelink_cmds=$lt_prelink_cmds_F77
19239
 
 
19240
 
# Commands necessary for finishing linking programs.
19241
 
postlink_cmds=$lt_postlink_cmds_F77
19242
 
 
19243
 
# Specify filename containing input files.
19244
 
file_list_spec=$lt_file_list_spec_F77
19245
 
 
19246
 
# How to hardcode a shared library path into an executable.
19247
 
hardcode_action=$hardcode_action_F77
19248
 
 
19249
 
# ### END LIBTOOL TAG CONFIG: F77
19250
 
_LT_EOF
19251
 
 
19252
 
 ;;
19253
 
 
19254
 
  esac
19255
 
done # for ac_tag
19256
 
 
19257
 
 
19258
 
as_fn_exit 0
19259
 
_ACEOF
19260
 
ac_clean_files=$ac_clean_files_save
19261
 
 
19262
 
test $ac_write_fail = 0 ||
19263
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19264
 
 
19265
 
 
19266
 
# configure is writing to config.log, and then calls config.status.
19267
 
# config.status does its own redirection, appending to config.log.
19268
 
# Unfortunately, on DOS this fails, as config.log is still kept open
19269
 
# by configure, so config.status won't be able to write to it; its
19270
 
# output is simply discarded.  So we exec the FD to /dev/null,
19271
 
# effectively closing config.log, so it can be properly (re)opened and
19272
 
# appended to by config.status.  When coming back to configure, we
19273
 
# need to make the FD available again.
19274
 
if test "$no_create" != yes; then
19275
 
  ac_cs_success=:
19276
 
  ac_config_status_args=
19277
 
  test "$silent" = yes &&
19278
 
    ac_config_status_args="$ac_config_status_args --quiet"
19279
 
  exec 5>/dev/null
19280
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19281
 
  exec 5>>config.log
19282
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19283
 
  # would make configure fail if this is the last instruction.
19284
 
  $ac_cs_success || as_fn_exit 1
19285
 
fi
19286
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19287
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19288
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19289
 
fi
19290